@import url('https://fonts.googleapis.com/css2?family=Gowun+Batang:wght@400;700&family=Noto+Sans+KR:wght@400;500;600;700&display=swap');
:root{--bg:#f4f0e7;--ink:#45483e;--green:#62745d;--soft:#8c8e7f;--line:#dfded2;--butter:#f3dfa4;--rose:#e9c6be;--sage:#d5dfbb;--lavender:#d8cee4}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:'Noto Sans KR',sans-serif;font-size:13px}button,a,select,input,textarea{-webkit-tap-highlight-color:transparent}button,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.4;cursor:default}button:focus-visible,a:focus-visible,canvas:focus-visible{outline:2px solid #a4895d;outline-offset:4px}header{max-width:1540px;margin:auto;padding:25px 4vw;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:var(--ink);font-family:'Gowun Batang',serif;font-size:20px;font-weight:bold}.brand-icon{font-size:33px;color:#a58c56;line-height:1}.brand small{display:block;font-family:'Noto Sans KR',sans-serif;font-weight:400;font-size:8px;letter-spacing:2.1px;color:#99998b;margin-top:5px}.header-right{display:flex;align-items:center;gap:24px}.open{font-size:11px;color:#8c9282}.open i,.room-label i{display:inline-block;width:5px;height:5px;background:#9ca984;border-radius:100%;margin-right:7px}.icon-btn{border:0;background:transparent;color:#7e8475;font-size:11px;padding:7px}.icon-btn:last-child{border:1px solid #cfd3c4;border-radius:100%;width:26px;height:26px;padding:0}main{max-width:1540px;margin:auto;padding:0 4vw}.intro{padding:38px 0 29px;display:flex;justify-content:space-between;align-items:center}.eyebrow{letter-spacing:1.9px;font-size:9px;color:#95957e;font-weight:500}.intro .eyebrow{letter-spacing:2px;font-size:10px}.intro h1{font:700 34px/1.5 'Gowun Batang',serif;letter-spacing:-1.1px;margin:9px 0 10px}.intro p:not(.eyebrow){line-height:1.9;font-size:12px;color:#8b8b7c;margin:0}.intro-right{display:flex;gap:18px;align-items:center;padding-right:20px}.moon{color:#b39a67;font-size:33px}.intro-right p{font-family:'Gowun Batang',serif!important;font-size:14px!important}.mobile{display:none}.experience{display:grid;grid-template-columns:minmax(0,1fr) 315px;border:1px solid #ddd8c9;border-radius:20px;overflow:hidden;background:#eeece1;box-shadow:0 10px 35px #38332209}.scene-shell{position:relative;min-width:0;height:590px;background:#2e3028}#world{display:block;width:100%;height:100%;touch-action:none;outline-offset:-4px}.scene-header{position:absolute;inset:20px 20px auto;display:flex;align-items:center;justify-content:space-between;gap:10px;pointer-events:none}.scene-header>*{pointer-events:auto}.room-label{color:#e1ddc6;letter-spacing:.3px;font-size:10px;background:#22281dc4;padding:10px 12px;border:1px solid #d3cba123;border-radius:8px}.room-label small{color:#aaa88b;font-size:7px;letter-spacing:1.5px;margin-left:8px}.glass{background:#282d24b8;border:1px solid #d6d3ae33;color:#e1dfcc;padding:9px 11px;border-radius:8px;font-size:10px;backdrop-filter:blur(10px)}.scene-bottom{position:absolute;bottom:20px;left:20px;right:20px;display:flex;align-items:center;justify-content:space-between;gap:10px;pointer-events:none}.scene-bottom span{font-size:10px;color:#ded7bc;text-shadow:0 2px 5px #000;line-height:1.7}.scene-bottom button{pointer-events:auto}.scene-loading{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:20px;color:#dccca5;background:#292e27;font-family:'Gowun Batang',serif;font-size:15px;z-index:2}.scene-loading span{font-size:45px}.scene-loading[hidden]{display:none}.avatar-label{position:absolute;bottom:65px;left:20px;color:#c2c3aa;font-size:8px;letter-spacing:1px;pointer-events:none}.wall-panel{padding:26px 23px 18px;background:#f7f4eb;border-left:1px solid #e2ded0;display:flex;flex-direction:column;min-height:0}.panel-heading{display:flex;justify-content:space-between;align-items:center}.panel-heading h2{font:700 22px 'Gowun Batang',serif;margin:8px 0}.tiny-star{font-size:26px;color:#baab7c}.panel-sub{color:#999889;font-size:11px;margin:3px 0 19px}.filters{display:flex;gap:5px;flex-wrap:wrap}.filters button{border:0;background:none;color:#969986;padding:7px 9px;border-radius:20px;font-size:10px}.filters .selected{background:#6b7c62;color:#fff}.panel-status{font-size:9px;color:#a49e89;margin:16px 0 10px;min-height:15px}.note-list{display:flex;flex-direction:column;gap:8px;flex:1;min-height:245px}.note-card{width:100%;text-align:left;border:1px solid #e4decf;background:#fffdf6;border-radius:8px;padding:12px 13px;color:var(--ink);transition:transform .2s,background .2s}.note-card:hover{transform:translateY(-2px);background:#fff}.note-card .note-cat{font-size:8px;color:#aaa080;display:flex;justify-content:space-between}.note-card p{font-family:'Gowun Batang',serif;font-size:13px;line-height:1.65;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin:6px 0 0}.note-card .mini{color:#baae91;font-size:8px}.pagination{display:flex;align-items:center;justify-content:center;gap:16px;font-size:9px;color:#949580;margin:12px 0}.pagination button{border:none;background:transparent;color:#7e876f;padding:3px 9px}.write-button{display:block;width:100%;background:#63765b;border:1px solid #63765b;color:#fff8e8;border-radius:9px;padding:13px 15px;font-size:12px;transition:background .2s}.write-button:hover{background:#4f6447}.write-button span{margin-right:8px}.anonymous{font-size:8px;color:#a4a18e;text-align:center;margin:10px 0 0}.below{display:flex;justify-content:space-between;align-items:center;padding:26px 5px 30px;gap:18px}.below>div:first-child{display:flex;align-items:center;gap:17px}.below>div:first-child>span{font-size:26px;color:#b7aa82}.below p{font:12px/1.9 'Gowun Batang',serif;color:#9a9986;margin:0}.below b{font-weight:400;color:#737d68}.guest-controls{display:flex;align-items:center;gap:15px;font-size:10px;color:#999b87}.guest-controls>div{display:flex;gap:8px}.guest-controls button{width:23px;height:23px;background:var(--swatch);border-radius:50%;border:3px solid var(--bg);outline:1px solid transparent}.guest-controls .chosen{outline-color:#839375}.text-button{border:0;background:transparent;color:#89917a;font-size:10px}footer{max-width:1540px;margin:auto;padding:20px 4vw 25px;border-top:1px solid var(--line);display:flex;justify-content:space-between;font-size:9px;color:#a5a38f}footer i{margin:0 10px}dialog{background:#f8f4e9;border:1px solid #e1d8c1;border-radius:18px;max-width:470px;width:calc(100% - 32px);padding:36px;color:var(--ink);box-shadow:0 25px 100px #1119}dialog::backdrop{background:#151d19a8;backdrop-filter:blur(5px)}dialog h2{font:700 24px/1.5 'Gowun Batang',serif;margin:12px 0}.close{position:absolute;top:12px;right:15px;background:none;border:0;font-size:25px;color:#8a907b;line-height:1}.muted{font-size:11px;line-height:1.9;color:#959584}form>label{display:block;font-size:10px;color:#868c77;margin:22px 0 9px}select,textarea{border:1px solid #dbdacb;background:#fffdf7;width:100%;border-radius:8px;padding:11px;color:#59624e;font-size:12px}textarea{height:155px;resize:vertical;line-height:1.9}textarea::placeholder{color:#aaa993}.form-meta{display:flex;justify-content:space-between;align-items:center;margin-top:11px;color:#9b9b88;font-size:9px}.paper-colors{display:flex;gap:9px}.paper-colors button{width:24px;height:24px;border:3px solid #f8f4e9;border-radius:50%;outline:1px solid transparent}.paper-colors .selected{outline-color:#909b79}[data-paper=butter]{background:var(--butter)}[data-paper=rose]{background:var(--rose)}[data-paper=sage]{background:var(--sage)}[data-paper=lavender]{background:var(--lavender)}.privacy{font-size:10px;line-height:1.9;color:#9b9886;margin:18px 0}.form-meta+ .privacy{margin-bottom:9px}#formError{color:#9e6256;font-size:11px}#read{padding:38px 34px}#readBody{font:19px/2 'Gowun Batang',serif;white-space:pre-wrap;overflow-wrap:anywhere;margin:25px 0 32px;max-height:45vh;overflow:auto}.read-meta{display:flex;justify-content:space-between;font-size:9px;color:#a09b85;border-bottom:1px solid #dfd8c4;padding-bottom:17px}.reactions{display:flex;gap:7px;margin-top:20px}.reactions button{flex:1;border:1px solid #dcd8c5;background:#fffaf0;border-radius:9px;color:#80876d;padding:12px 4px;font-size:10px}.reactions button.active{border-color:#8f9b76;background:#e8eddb}.response-copy{text-align:center;color:#aaa38a;font-size:9px}.read-actions{display:flex;justify-content:center;gap:15px;margin-top:20px}.read-actions button{border:0;background:transparent;color:#a39d88;font-size:9px;padding:3px}#about p{font-size:12px;line-height:1.9;margin:18px 0}#windowView{max-width:680px;padding:0;overflow:hidden}#windowView img{width:100%;display:block}#windowView>div{padding:25px 32px}#windowView h2{font-size:22px}#windowView p{font:14px/1.9 'Gowun Batang',serif;color:#8a8f79}#windowView .close{background:#f9f2dfd9;border-radius:50%;width:26px;z-index:1}#toast{position:fixed;bottom:28px;left:50%;transform:translate(-50%,20px);opacity:0;pointer-events:none;background:#343e2f;color:#fff7e4;border:1px solid #a4ae8f66;padding:13px 22px;border-radius:30px;font-size:12px;z-index:20;transition:opacity .2s,transform .2s;max-width:90vw;text-align:center}#toast.show{opacity:1;transform:translate(-50%,0)}.empty{font:14px/1.9 'Gowun Batang',serif;color:#999b83;text-align:center;padding:30px 0}.error-message{color:#beaaa0!important}
@media(min-width:1550px){.scene-shell{height:660px}}@media(max-width:1100px){.experience{grid-template-columns:minmax(0,1fr) 285px}.wall-panel{padding:23px 18px}.scene-header{inset:15px 12px auto}.room-label small{display:none}.scene-shell{height:570px}.scene-bottom{left:12px;right:12px;bottom:15px}.scene-bottom span{max-width:65%;font-size:9px}.intro-right{padding-right:0}.intro h1{font-size:30px}}@media(max-width:800px){header{padding:19px 5vw}.open{display:none}.header-right{gap:12px}.brand{font-size:17px}.brand small{font-size:6px}.brand-icon{font-size:28px}main{padding:0 4vw}.intro{padding:27px 3px 24px}.intro h1{font-size:27px}.intro-right{display:none}.experience{grid-template-columns:1fr}.scene-shell{height:460px}.wall-panel{border-left:0;border-top:1px solid #e1dacc;padding:23px}.note-list{display:grid;grid-template-columns:1fr 1fr;min-height:0;gap:10px}.note-card{min-height:95px}.panel-heading h2{font-size:22px}.panel-sub{margin-bottom:13px}.panel-status{margin-top:12px}.pagination{margin:15px 0}.below{flex-wrap:wrap;padding:22px 4px}.below>div:first-child{width:100%}.below .text-button{margin-left:auto}footer{font-size:8px;padding:20px 5vw;gap:20px}footer>span:last-child{display:none}.scene-header{inset:16px 14px auto}.scene-bottom{left:15px;right:15px}.avatar-label{left:15px}.room-label small{display:inline}.mobile{display:block}.intro p:not(.eyebrow){font-size:11px}.intro h1 .mobile{display:none}}@media(max-width:420px){.scene-shell{height:390px}.room-label{font-size:9px}.room-label small{display:none}.glass{font-size:9px;padding:8px}.intro h1{font-size:25px}.wall-panel{padding:21px 18px}.note-list{gap:8px}.note-card{padding:10px}.note-card p{font-size:12px}.scene-bottom span{font-size:8px}dialog{padding:30px 24px}#read{padding:33px 25px}.reactions button{font-size:9px}.header-right{gap:6px}.icon-btn{font-size:10px;padding:5px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;animation:none!important}}
.draw-button{width:100%;background:#e9e1cf;border:1px solid #d6cbb5;border-radius:9px;color:#887250;padding:11px;margin:0 0 8px;font-size:11px}.drawing-gallery-button{text-align:left;padding:0 0 10px;font-size:10px;color:#9a8768}#doodle{max-width:680px}#drawCanvas{display:block;width:100%;height:auto;background:#bbab8e;border:1px solid #a89a81;border-radius:8px;touch-action:none;margin:20px 0 12px;box-shadow:inset 0 0 20px #4c3e2510}.draw-tools{display:flex;gap:12px;align-items:center;margin-bottom:20px}.draw-tools>button{font-size:10px;border:0;background:none;color:#8c8b75;padding:4px}.draw-tools>button:first-of-type{margin-left:auto}#inks{display:flex;gap:8px}#inks button{width:25px;height:25px;border:3px solid #f8f4e9;border-radius:50%;outline:1px solid transparent}#inks .selected{outline-color:#8c8c72}#doodle label{font-size:10px;color:#8a8d77;display:block;margin-bottom:8px}#doodleText{width:100%;padding:12px;border:1px solid #d8d5c5;border-radius:8px;font:12px 'Noto Sans KR',sans-serif;background:#fffdf7;color:#625b4a}#drawError{font-size:11px;color:#a2695b}#drawingGallery{max-width:700px}#drawingGrid{display:grid;grid-template-columns:1fr 1fr;gap:18px;max-height:60vh;overflow:auto;margin-top:22px}#drawingGrid canvas{width:100%;height:auto;border-radius:5px}#drawingGrid button{padding:8px 0}.crowd-label{position:absolute;bottom:65px;right:20px;font-size:9px;color:#d4d3b9;background:#293025b0;border:1px solid #b8bd9740;padding:6px 9px;border-radius:20px;pointer-events:none}.scene-header{flex-wrap:wrap;justify-content:flex-start}.scene-header .room-label{margin-right:auto}.scene-shell{height:660px}header,main,footer{max-width:1760px}.intro{padding-top:30px;padding-bottom:25px}.experience{grid-template-columns:minmax(0,1fr) 315px}
@media(max-width:1100px){.experience{grid-template-columns:minmax(0,1fr) 285px}.scene-shell{height:630px}.crowd-label{right:12px;font-size:8px}.scene-header{gap:5px}.scene-header .room-label{width:100%;margin-bottom:3px}}
@media(max-width:800px){.experience{grid-template-columns:1fr}.scene-shell{height:520px}.crowd-label{right:15px}.scene-header .room-label{width:auto}.intro{padding-top:25px}.wall-panel{padding:23px}}
@media(max-width:420px){.scene-shell{height:460px}.scene-header .room-label{width:100%}#drawingGrid{grid-template-columns:1fr}.crowd-label{bottom:65px}.avatar-label{bottom:90px}}
.camera-tools{position:absolute;left:15px;right:15px;top:76px;display:flex;gap:7px;align-items:center;flex-wrap:wrap;pointer-events:none}.camera-tools span{color:#e4dfca;font-size:9px;text-shadow:0 1px 3px #000;background:#20282080;padding:6px 9px;border-radius:6px}.camera-tools button{pointer-events:auto;font-size:9px;padding:6px 9px}.experience.expanded{display:block}.experience.expanded .scene-shell{height:82vh;min-height:500px}.experience.expanded .wall-panel{display:none}@media(max-width:420px){.camera-tools{top:112px}.camera-tools span{width:100%}}

/* Reading a note should feel like holding a small piece of paper. */
#read{border:0;border-radius:3px 7px 4px 2px;background:#f4e3b4;background-image:repeating-linear-gradient(0deg,transparent,transparent 31px,#8d785a10 32px);box-shadow:3px 5px 0 #c3b38c,0 25px 90px #1118;padding:42px 35px 28px;transform:rotate(-.6deg)}#read[data-paper=rose]{background-color:#efd3ca}#read[data-paper=sage]{background-color:#dce3c6}#read[data-paper=lavender]{background-color:#e1d8eb}#read::before{content:'';display:block;position:absolute;top:7px;left:36%;width:28%;height:25px;background:#f5efcf90;transform:rotate(3deg);border:1px dashed #c4b88d55}#readBody{font-family:'Gowun Batang',serif;font-size:21px;line-height:2.1}#read .read-meta{border-bottom:1px dashed #a28e6566}#read .reactions button{background:#fff8df80}#read .close{color:#9c885f}#wallWrite{margin:24px 0 12px}.camera-tools{max-width:calc(100% - 30px)}.camera-tools button{background:#263028c9}#noteWall,#drawWallSide{margin:9px 0 4px}#noteWall+ p{margin-top:13px}

.note-hover{position:absolute;z-index:5;max-width:215px;max-height:190px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;background:#fff3cf;color:#19140e;padding:15px;border:1px solid #bba878;box-shadow:0 5px 20px #0004;border-radius:3px;font-size:14px;font-weight:600;line-height:1.65;pointer-events:none}.note-hover[hidden]{display:none}

.guest-name{position:absolute;transform:translate(-50%,-100%);pointer-events:none;font-size:10px;color:#fff9df;background:#344032b3;padding:4px 8px;border:1px solid #e0dab533;border-radius:12px;white-space:nowrap;text-shadow:0 1px 2px #0005}.guest-name.self{background:#fff4d9df;color:#586149;text-shadow:none}.guest-name[hidden]{display:none}#readBody{font-size:26px!important;font-weight:600;color:#21180e!important}.note-hover{font-size:17px!important;max-width:260px!important;}.scene-shell{overflow:hidden}

.pet-picker{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-left:16px}.pet-picker span{font-size:12px;color:#827e6c}.pet-picker button{border:1px solid #c9cebd;background:#f4f2e9;border-radius:20px;padding:8px 14px;color:#455344;cursor:pointer}.pet-picker button[aria-pressed=true]{background:#455c4a;color:#fff}.moon-credit{font-size:10px;opacity:.6}

.pet-picker button{width:auto;height:auto;min-width:88px}

.rest-pose-label{position:absolute;left:18px;bottom:56px;width:168px;text-align:center;font-size:11px;color:#f8f3e7;background:#344843b8;padding:5px;border-radius:0 0 8px 8px;pointer-events:none}

.social-tools{position:absolute;bottom:64px;right:20px;display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end;max-width:360px}.social-tools button{border:1px solid #d9decc55;border-radius:18px;background:#34473ce0;color:#f4f0df;padding:8px 13px;cursor:pointer;font-size:12px}.emote-bubble{position:absolute;transform:translate(-50%,-100%);padding:5px 14px;background:#fff0f2;color:#d7849d;font-size:29px;border-radius:18px;pointer-events:none;box-shadow:0 4px 15px #273b2b15}.emote-bubble:after{content:"";position:absolute;bottom:-7px;left:50%;border:7px solid transparent;border-top-color:#fff0f2;border-bottom:0}

.social-tools{left:50%;right:auto;transform:translateX(-50%);justify-content:center;max-width:none;width:max-content}.coffee-control{position:absolute;right:20px;bottom:64px;border:1px solid #d9decc55;border-radius:18px;background:#34473ce0;color:#f4f0df;padding:8px 13px;font-size:12px;cursor:pointer}.emote-bubble{background:rgba(72,77,82,.48);color:#f1a0bb;backdrop-filter:blur(5px);border:1px solid #ffffff24}.emote-bubble:after{border-top-color:rgba(72,77,82,.48)}.server-picker{font-size:12px;color:#727c69}.server-picker select{border:1px solid #d4d8ca;background:#f4f2e9;color:#455344;border-radius:12px;padding:7px 10px}@media(max-width:650px){.coffee-control{bottom:108px}}

.emote-bubble{font-size:21px;padding:3px 9px;border-radius:12px;color:#d93e70;background:rgba(72,77,82,.42);text-shadow:0 1px 0 #ffc3d6,0 2px 2px #6d143c77;box-shadow:inset 0 1px 2px #ffffff40,0 3px 8px #15241d35}.emote-bubble:after{bottom:-5px;border-width:5px;border-bottom:0}.standup-button{position:absolute;left:50%;bottom:108px;transform:translateX(-50%);border:1px solid #e8e5d7aa;border-radius:18px;background:#f0ead9e8;color:#405443;padding:8px 24px;font-size:13px;cursor:pointer}.standup-button[hidden]{display:none}@media(max-width:650px){.standup-button{bottom:148px}}

/* The room is the primary screen; social actions live inside it. */
header{height:48px;padding:6px 16px;max-width:none;border:0}.brand{font-size:16px;gap:7px}.brand-icon{font-size:26px}.brand small,.open{display:none}.header-right{gap:8px}main{max-width:none;padding:0 8px}.intro,.below,.wall-panel{display:none!important}.experience,.experience.expanded{display:block;border:0;border-radius:12px;box-shadow:none}.experience .scene-shell,.experience.expanded .scene-shell{height:calc(100dvh - 84px);min-height:540px}.scene-header{inset:14px 14px auto;flex-wrap:nowrap;gap:8px}.room-label{padding:8px 10px}.server-picker{display:flex;gap:5px;align-items:center;color:#f5efd9;background:#263028cf;padding:4px 7px;border:1px solid #d6d3ae33;border-radius:8px;white-space:nowrap;font-size:11px}.server-picker select{width:auto;font-size:11px;padding:4px 7px;color:#f5efd9;background:#465448;border:0;border-radius:5px}.server-picker option{background:#465448}.camera-tools{top:66px;gap:5px;left:14px;right:14px}.camera-tools button{padding:7px 9px;font-size:10px}.camera-tools button[hidden]{display:none}.wall-actions{position:absolute;left:14px;bottom:68px;display:flex;flex-direction:column;gap:6px;width:145px}.wall-actions button{width:auto;margin:0;padding:8px 10px;font-size:11px;text-align:left;border:1px solid #d6d3ae33;background:#263028cf;color:#eee9d7;border-radius:8px;backdrop-filter:blur(10px)}.wall-actions button[hidden]{display:none}.wall-actions .drawing-gallery-button{font-size:10px}.animal-options{position:absolute;right:14px;top:108px;color:#f5efd9;background:#263028cf;border:1px solid #d6d3ae33;border-radius:8px;padding:9px 11px;font-size:11px;max-width:250px}.animal-options summary{cursor:pointer}.animal-options .guest-controls{display:flex;flex-direction:column;align-items:flex-start;margin-top:12px;color:#e0dfce;gap:10px}.animal-options .pet-picker{margin:0;display:flex}.animal-options .pet-picker span{display:none}.animal-options .pet-picker button{min-width:80px;font-size:11px;padding:7px}.animal-options .guest-controls button{border-color:transparent}.animal-options .pet-picker button{border:1px solid #c9cebd}.scene-bottom{bottom:13px;left:14px;right:14px}.avatar-label{display:none}.social-tools{bottom:64px}.standup-button{bottom:108px}.coffee-control{bottom:64px;right:14px}.guest-name{font-size:11px}footer{max-width:none;border:0;padding:7px 16px;font-size:8px;gap:12px;justify-content:flex-end}footer>span{display:none}footer .moon-credit{font-size:8px}.header-right #sound{display:none}
@media(max-width:650px){header{height:44px}.experience .scene-shell,.experience.expanded .scene-shell{height:calc(100dvh - 76px);min-height:600px}.scene-header{flex-wrap:wrap}.room-label{font-size:9px;max-width:44%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.scene-header .glass{font-size:9px;padding:7px}.scene-header .server-picker{margin-left:auto}.camera-tools{top:100px;max-width:calc(100% - 28px)}.camera-tools button{font-size:9px}.animal-options{top:174px}.wall-actions{bottom:112px;width:133px}.wall-actions button{font-size:10px}.coffee-control{bottom:112px;font-size:11px}.social-tools{bottom:62px}.standup-button{bottom:104px}.scene-bottom span{max-width:60%}footer{flex-wrap:wrap;padding:5px 10px;gap:5px}.moon-credit{font-size:7px!important}}

/* A small, centered social dock and two sound switches. */
.wall-actions{left:50%;bottom:52px;transform:translateX(-50%);width:auto;flex-direction:row;gap:7px;white-space:nowrap}.wall-actions button{padding:8px 13px;text-align:center;border-radius:18px;font-size:11px}.social-tools{bottom:98px;flex-wrap:nowrap;gap:7px}.social-tools #coffeeAction{position:static;font-size:11px}.standup-button{bottom:144px}.audio-tools{position:absolute;right:14px;top:66px;display:flex;flex-direction:column;gap:6px}.audio-tools button{font-size:10px;padding:7px 10px}.camera-tools{right:120px;max-width:calc(100% - 150px)}.animal-options{display:none}.scene-bottom span{max-width:38%}#browseHearts{max-width:700px}#browseHearts .note-list{margin-top:14px;min-height:0;max-height:44vh;overflow:auto}#browseHearts .pagination{margin-bottom:0}#browseDrawings{max-height:52vh;overflow:auto;grid-template-columns:1fr 1fr;gap:16px;display:grid}#browseDrawings[hidden],#browseNotes[hidden]{display:none}#browseDrawings canvas{width:100%;height:auto}#browseDrawings button{font-size:11px}.browse-tabs{display:flex;gap:8px;margin-bottom:18px}.browse-tabs button{padding:8px 20px;background:#e3e6d8;border:0;border-radius:20px;color:#57664f}.browse-tabs button[aria-pressed=true]{background:#63765b;color:#fff8e8}.nearby-person{display:block;width:100%;padding:13px 16px;margin-top:10px;background:#e5e9dc;border:1px solid #cbd4c1;border-radius:12px;color:#485b43;text-align:left}#nearbyPeople{max-height:45vh;overflow:auto}
@media(max-width:650px){.wall-actions{bottom:54px;left:50%;width:auto;gap:6px}.wall-actions button{font-size:10px;padding:8px 11px}.social-tools{bottom:99px;max-width:calc(100% - 24px);gap:5px}.social-tools button{font-size:11px;padding:8px 10px}.standup-button{bottom:144px}.audio-tools{top:100px;right:14px}.camera-tools{top:100px;max-width:calc(100% - 130px)}.scene-bottom span{font-size:8px;max-width:60%}#browseDrawings{grid-template-columns:1fr}}

.server-picker select{max-width:175px}#wishTreeMenu .text-button{display:block;margin:17px auto 0}body[data-server='2'] .scene-shell{background:#080d18}body[data-server='3'] #drawCanvas{background:#244f43}@media(max-width:650px){.server-picker select{max-width:132px}.scene-header .room-label{max-width:37%}}

#compose[data-wish=true] #noteWall,#compose[data-wish=true] label[for=noteWall],#compose[data-wish=true] #category,#compose[data-wish=true] label[for=category]{display:none}

.room-label[hidden]{display:none!important}

#category,#noteWall,#drawWallSide,label[for=category],label[for=noteWall],label[for=drawWallSide]{display:none!important}
.nearby-rest-button{position:absolute;z-index:12;left:50%;bottom:146px;transform:translateX(-50%);padding:12px 23px;border:1px solid #e3d7b1;border-radius:24px;color:#405246;background:#fff6dfed;box-shadow:0 4px 18px #17261b24;cursor:pointer;white-space:nowrap}
.nearby-rest-button[hidden]{display:none}.nearby-rest-button:disabled{opacity:.7;cursor:default}

/* The game fills the viewport at every size, including short mobile screens. */
html,body{width:100%;height:100%;overflow:hidden;background:#101923}
body>header,body>footer{display:none}
body>main{position:fixed;inset:0;width:100%;height:100%;margin:0;padding:0;max-width:none}
.experience,.experience.expanded{width:100%;height:100%;border:0;border-radius:0}
.experience .scene-shell,.experience.expanded .scene-shell{width:100%;height:100vh;height:100dvh;min-height:0;border-radius:0}
.scene-header{top:max(14px,env(safe-area-inset-top));left:max(14px,env(safe-area-inset-left));right:max(14px,env(safe-area-inset-right))}
.audio-tools{right:max(14px,env(safe-area-inset-right))}
.audio-tools #help{width:auto;height:auto;border-radius:8px}
.scene-bottom{bottom:max(13px,env(safe-area-inset-bottom))}
.game-credits{display:flex;flex-wrap:wrap;gap:8px 14px;margin:20px 0;color:#868c77;font-size:10px}
.game-credits a{color:inherit}
dialog{max-height:calc(100dvh - 24px);overflow:auto}
@media(max-height:480px){.social-tools{bottom:62px}.wall-actions{bottom:18px}.standup-button,.nearby-rest-button{bottom:108px}.scene-bottom{bottom:10px}.scene-bottom span{display:none}.audio-tools{top:58px}.camera-tools{top:58px}.scene-header{flex-wrap:nowrap}.room-label{max-width:35%}}

#emotionBin{max-width:510px;background:#e9e6db;padding:32px;overflow:hidden}
#emotionBin h2{font-size:25px;color:#41594d}
.crumpled-paper{position:relative;margin:23px 0 18px;padding:23px 23px 15px;background:linear-gradient(28deg,transparent 48.8%,#bcae8e29 49.5%,#fff9e9a6 50.2%,transparent 51%),linear-gradient(143deg,#fff7e4,#e3d7b9 43%,#fbf0d6 44%,#f1e6cc 72%,#fff8e4);clip-path:polygon(1% 3%,28% 0,62% 2%,98% 0,100% 35%,98% 66%,100% 98%,67% 100%,30% 97%,0 100%,2% 61%,0 26%);box-shadow:inset 0 0 30px #a9966433;transform:rotate(-1deg);transform-origin:50% 70%}
.crumpled-paper label{position:relative;z-index:1;font-family:'Gowun Batang',serif;font-size:12px;color:#7a735d}
.crumpled-paper textarea{position:relative;z-index:1;background:transparent;border:0;border-radius:0;padding:12px 0;font:16px/1.9 'Gowun Batang',serif;color:#423e31;height:210px;resize:none;outline-offset:1px}
.paper-crease{position:absolute;inset:0;pointer-events:none;background:linear-gradient(84deg,transparent 30%,#9a89601a 31%,#fff9e477 32%,transparent 34%),linear-gradient(170deg,transparent 58%,#9a896025 59%,#fff9e488 60%,transparent 62%)}
.discard-privacy{font-size:10px;color:#7b8173;text-align:center;line-height:1.7}
#emotionBin.discarding .crumpled-paper{animation:crumple-away .65s ease-in both}
@keyframes crumple-away{0%{transform:rotate(-1deg) scale(1)}45%{transform:rotate(12deg) scale(.55,.7);filter:contrast(1.2)}100%{transform:translateY(30px) rotate(-32deg) scale(.05);opacity:0}}
@media(prefers-reduced-motion:reduce){#emotionBin.discarding .crumpled-paper{animation-duration:.1s}}
@media(max-height:600px){#emotionBin{padding:20px}#emotionBin h2{margin:4px 0}.crumpled-paper{margin:10px 0;padding:15px}.crumpled-paper textarea{height:100px}}

/* Enter and leave share a reserved slot, independent of the room label. */
.scene-header{display:grid;grid-template-columns:minmax(0,1fr) auto 152px;align-items:start}
.scene-header .room-label{grid-column:1;grid-row:1;justify-self:start;margin-right:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.scene-header .server-picker{grid-column:2;grid-row:1;margin-left:0}
.scene-header #enterCafe{grid-column:3;grid-row:1;width:152px;white-space:nowrap;text-align:center}
.scene-header:has(#enterCafe[hidden]){grid-template-columns:minmax(0,1fr) auto}
.midnight-message{position:absolute;top:125px;left:50%;transform:translateX(-50%);max-width:90%;padding:12px 22px;border:1px solid #ffe7a459;border-radius:24px;background:#263d47bd;color:#fff2c6;box-shadow:0 0 30px #ffd57633;font:16px 'Gowun Batang',serif;text-align:center;pointer-events:none;z-index:13;animation:midnight-message-in 1.2s ease-out}
.midnight-message[hidden]{display:none}
@keyframes midnight-message-in{from{opacity:0;transform:translate(-50%,10px)}to{opacity:1;transform:translate(-50%,0)}}
@media(max-width:650px){.scene-header{grid-template-columns:minmax(0,1fr) 124px;gap:6px}.scene-header .room-label{display:none}.scene-header .server-picker{grid-column:1;max-width:100%;min-width:0;justify-self:start}.scene-header .server-picker select{min-width:0;max-width:calc(100% - 28px)}.scene-header #enterCafe{grid-column:2;width:124px;font-size:10px;padding:8px 6px}.scene-header:has(#enterCafe[hidden]){grid-template-columns:1fr}.midnight-message{font-size:13px;top:150px}}

.ritual-preview .wall-actions,.ritual-preview .social-tools,.ritual-preview .standup-button,.ritual-preview .nearby-rest-button,.ritual-preview .audio-tools,.ritual-preview .scene-bottom,.ritual-preview .camera-tools{display:none!important}
.ritual-preview-panel{position:absolute;bottom:20px;left:50%;transform:translateX(-50%);width:min(560px,calc(100% - 28px));padding:17px 20px;border-radius:16px;border:1px solid #ecdfb94d;background:#23352de8;color:#f2ecd9;backdrop-filter:blur(12px);text-align:center;z-index:14}
.ritual-preview-panel strong{font:18px 'Gowun Batang',serif}.ritual-preview-panel p{font-size:11px;line-height:1.6;color:#d4d4bc;margin:7px 0 13px}.ritual-preview-panel>div{display:flex;justify-content:center;gap:8px;align-items:center;flex-wrap:wrap}.ritual-preview-panel button{background:#ebe3cd;color:#405145;border:0;border-radius:16px;padding:8px 15px;font-size:11px}.ritual-preview-panel a{color:#d4d6bd;font-size:10px}.ritual-preview-panel output{display:block;margin-top:10px;font-size:12px;color:#ffe4a6}.ritual-preview-panel small{display:block;margin-top:5px;font-size:9px;color:#aab8a6}
