:root{--inset-top:env(safe-area-inset-top,0px);--inset-bottom:env(safe-area-inset-bottom,0px);--nav-height:0px;--kb:0px;--night:#0b1430;--panel:#0d1630c7;--panel-solid:#121c3c;--line:#bed2ff29;--text:#eef2ff;--muted:#a9b5d6;--warm:#ffd9a3;--warm-ink:#3a2710;--paper:#fbf2dc;--paper-ink:#3b3226;--danger:#ff9d8f;--radius:18px;--ease:cubic-bezier(.22, 1, .36, 1);color:var(--text);-webkit-text-size-adjust:100%;font-family:Pretendard Variable,Pretendard,-apple-system,BlinkMacSystemFont,Apple SD Gothic Neo,Noto Sans KR,Malgun Gothic,sans-serif}*,:before,:after{box-sizing:border-box}html,body{background:var(--night);overscroll-behavior:none;-webkit-tap-highlight-color:transparent;-webkit-user-select:none;user-select:none;touch-action:none;height:100%;margin:0;overflow:hidden}[hidden]{display:none!important}button{font:inherit;color:inherit;cursor:pointer;touch-action:manipulation;background:0 0;border:0;padding:0}button:focus-visible{outline:2px solid var(--warm);outline-offset:2px}input:focus-visible{outline:2px solid var(--warm);outline-offset:2px}textarea:focus-visible{outline:2px solid var(--warm);outline-offset:2px}svg{fill:none;stroke:currentColor;stroke-width:1.7px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:22px;height:22px}#scene{touch-action:none;width:100%;height:100%;display:block;position:fixed;top:0;bottom:0;left:0;right:0}#hud{pointer-events:none;transition:opacity .5s var(--ease);position:fixed;top:0;bottom:0;left:0;right:0}#hud>*{pointer-events:auto}body.relaxing #hud{opacity:0;pointer-events:none}body.relaxing #hud>*{pointer-events:none}.top{top:calc(var(--inset-top) + var(--nav-height) + 12px);justify-content:space-between;align-items:flex-start;gap:8px;display:flex;position:absolute;left:12px;right:12px;pointer-events:none!important}.top>*{pointer-events:auto}.top-left{flex-direction:column;align-items:flex-start;gap:6px;min-width:0;display:flex}.chip.people{gap:6px;min-height:36px;padding:4px 12px 4px 10px;font-weight:600}.chip.people svg{width:18px;height:18px}.top-right{align-items:center;gap:8px;min-width:0;display:flex}.chip{background:var(--panel);border:1px solid var(--line);-webkit-backdrop-filter:blur(14px);white-space:nowrap;border-radius:999px;align-items:center;gap:8px;min-height:44px;padding:6px 14px 6px 8px;font-size:13px;display:flex}.chip.me{text-align:left;min-width:0}.swatch{border:2px solid #ffffffd9;border-radius:50%;flex:none;width:30px;height:30px}.me-text{flex-direction:column;min-width:0;line-height:1.25;display:flex}.me-text strong{text-overflow:ellipsis;font-size:14px;font-weight:650;overflow:hidden}.me-text small{color:var(--muted);font-size:11.5px}.chip.event{color:var(--warm);padding-left:12px;transition:background .4s,color .4s}.chip.event svg{width:18px;height:18px}.chip.event.live{color:var(--warm-ink);background:#ffd9a3f0;border-color:#0000}.icon-btn{background:var(--panel);border:1px solid var(--line);-webkit-backdrop-filter:blur(14px);border-radius:50%;flex:none;place-items:center;width:44px;height:44px;display:grid}.icon-btn .off,.icon-btn[aria-pressed=true] .on{display:none}.icon-btn[aria-pressed=true] .off{display:block}.hint{left:50%;bottom:calc(var(--inset-bottom) + 140px);color:var(--text);white-space:nowrap;background:#080e208c;border-radius:999px;margin:0;padding:8px 14px;font-size:13px;transition:opacity .6s;position:absolute;transform:translate(-50%);pointer-events:none!important}.hint.gone{opacity:0}.dock{left:50%;bottom:calc(var(--inset-bottom) + 14px);background:var(--panel);border:1px solid var(--line);-webkit-backdrop-filter:blur(16px);border-radius:26px;align-items:stretch;gap:4px;max-width:calc(100vw - 20px);padding:6px;display:flex;position:absolute;transform:translate(-50%)}.dock button{white-space:nowrap;min-width:68px;min-height:58px;color:var(--text);transition:background .2s, transform .15s var(--ease);border-radius:20px;flex-direction:column;justify-content:center;align-items:center;gap:4px;padding:6px 10px;font-size:12px;font-weight:550;display:flex;position:relative}.dock button:active{transform:scale(.95)}.dock button[aria-expanded=true]{background:#bed2ff24}.dock button.primary{background:var(--warm);color:var(--warm-ink);min-width:92px;font-weight:700}.badge{background:var(--warm);min-width:18px;height:18px;color:var(--warm-ink);text-align:center;border-radius:9px;padding:0 5px;font-size:11px;font-style:normal;font-weight:700;line-height:18px;position:absolute;top:4px;right:10px}.emote-pop{width:max-content;max-width:calc(100vw - 20px);left:50%;bottom:calc(var(--inset-bottom) + 96px);background:var(--panel);border:1px solid var(--line);-webkit-backdrop-filter:blur(16px);animation:rise .25s var(--ease);border-radius:20px;flex-wrap:wrap;justify-content:center;gap:6px;padding:6px;display:flex;position:absolute;transform:translate(-50%)}.emote-pop button{white-space:nowrap;border-radius:14px;min-height:44px;padding:0 16px;font-size:14px;font-weight:550}.emote-pop button:active{background:#bed2ff29}.context-row{left:50%;bottom:max(calc(var(--inset-bottom) + 90px), calc(var(--kb) + 8px));flex-direction:column;gap:6px;width:min(100vw - 20px,380px);display:flex;position:absolute;transform:translate(-50%)}.emote-pop:not([hidden])~.context-row .context,.player-pop:not([hidden])~.context-row .context{display:none}.context{min-height:40px;color:var(--warm-ink);white-space:nowrap;background:#ffd9a3f0;border-radius:999px;align-self:center;padding:0 16px;font-size:14px;font-weight:650;animation:.3s fade}.player-pop{left:50%;bottom:calc(var(--inset-bottom) + 96px);background:var(--panel);border:1px solid var(--line);-webkit-backdrop-filter:blur(16px);width:min(100vw - 20px,360px);animation:rise .25s var(--ease);border-radius:22px;flex-direction:column;gap:8px;padding:12px;display:flex;position:absolute;transform:translate(-50%)}.player-head{justify-content:space-between;align-items:center;gap:8px;padding-left:4px;display:flex}.player-head strong{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:15px;font-weight:650;overflow:hidden}.player-head .mini{min-height:32px;color:var(--muted);text-underline-offset:3px;white-space:nowrap;flex:none;padding:0 10px;font-size:12.5px;text-decoration:underline}.player-acts{grid-template-columns:repeat(2,1fr);gap:6px;display:grid}.player-acts button{white-space:nowrap;min-height:46px;transition:background .2s, transform .15s var(--ease);background:#bed2ff1f;border-radius:14px;font-size:14.5px;font-weight:600}.player-acts button:active{background:#bed2ff38;transform:scale(.97)}.player-acts button[data-act=five],.player-acts button[data-act=hug]{color:var(--warm);background:#ffd9a32e}.news{left:50%;top:calc(var(--inset-top) + var(--nav-height) + 112px);width:min(100vw - 20px,340px);color:var(--warm-ink);text-align:left;animation:drop .35s var(--ease);background:#ffd9a3f5;border-radius:20px;align-items:center;gap:12px;padding:14px 16px;display:flex;position:absolute;transform:translate(-50%);box-shadow:0 16px 40px #00000059}.news svg{width:28px;height:28px}.news span{flex-direction:column;gap:2px;min-width:0;display:flex}.news strong{font-size:14px;font-weight:700}.news small{word-break:keep-all;font-size:13.5px;line-height:1.45}.ask:not([hidden])~.news{display:none}.ask{left:50%;top:calc(var(--inset-top) + var(--nav-height) + 112px);background:var(--panel-solid);width:min(100vw - 20px,340px);animation:drop .3s var(--ease);border:1px solid #ffd9a366;border-radius:20px;padding:16px;position:absolute;transform:translate(-50%);box-shadow:0 16px 40px #0006}.ask p{text-align:center;word-break:keep-all;margin:0 0 12px;font-size:15px;line-height:1.5}.ask-actions{gap:8px;display:flex}.ask-actions button{flex:1;min-height:46px}@keyframes drop{0%{opacity:0;transform:translate(-50%,-10px)}}.dock button.primary.nudge{animation:2.4s ease-in-out infinite nudge}@keyframes nudge{50%{box-shadow:0 0 0 6px #ffd9a347}}.backs{gap:6px;display:flex}.backs button{border:1px solid var(--line);min-height:40px;color:var(--muted);border-radius:999px;padding:0 14px;font-size:14px}.backs button[aria-checked=true]{background:var(--text);border-color:var(--text);color:var(--night);font-weight:650}.veil{opacity:0;pointer-events:none;background:#02040b;position:fixed;top:0;bottom:0;left:0;right:0}.relax-ui{padding:0 16px calc(var(--inset-bottom) + 24px);flex-direction:column;justify-content:flex-end;align-items:center;display:flex;position:fixed;top:0;bottom:0;left:0;right:0}.relax-panel{background:var(--panel);border:1px solid var(--line);-webkit-backdrop-filter:blur(16px);opacity:0;pointer-events:none;width:min(100%,400px);transition:opacity .35s, transform .35s var(--ease);border-radius:22px;flex-direction:column;gap:12px;padding:16px;display:flex;transform:translateY(12px)}.relax-ui.show .relax-panel{opacity:1;pointer-events:auto;transform:none}.relax-row{white-space:nowrap;justify-content:space-between;align-items:center;gap:10px;font-size:14px;display:flex}.sleep-left{min-height:1.2em;color:var(--muted);text-align:center;margin:0;font-size:13px}.relax-tip{bottom:calc(var(--inset-bottom) + 30px);color:#eef2ff99;pointer-events:none;margin:0;font-size:13px;animation:1.2s .6s both fade,1.2s 6s forwards tipout;position:absolute}.relax-ui.show .relax-tip{display:none}@keyframes tipout{to{opacity:0}}.sleep-screen{color:#eef2ff80;opacity:0;background:#010208;flex-direction:column;justify-content:center;align-items:center;gap:10px;transition:opacity 20s linear;display:flex;position:fixed;top:0;bottom:0;left:0;right:0}.sleep-screen.on{opacity:1}.sleep-screen p{letter-spacing:.05em;margin:0;font-size:18px}.sleep-screen small{font-size:12.5px}body.relaxing .toast{opacity:0!important}.backdrop{touch-action:manipulation;padding-bottom:var(--kb);background:#04081480;justify-content:center;align-items:flex-end;animation:.25s fade;display:flex;position:fixed;top:0;bottom:0;left:0;right:0}.backdrop.clear{background:0 0}.sheet.scroll{touch-action:pan-y;-webkit-overflow-scrolling:touch;max-height:min(60%,560px);overflow-y:auto}.row{justify-content:space-between;align-items:center;gap:16px;min-height:48px;font-size:15px;display:flex}.row>span{flex:none}.switch{-webkit-appearance:none;appearance:none;cursor:pointer;background:#bed2ff33;border-radius:999px;flex:none;width:50px;height:30px;margin:0;transition:background .2s;position:relative}.switch:after{content:"";background:var(--text);width:24px;height:24px;transition:transform .2s var(--ease);border-radius:50%;position:absolute;top:3px;left:3px}.switch:checked{background:var(--warm)}.switch:checked:after{background:var(--warm-ink);transform:translate(20px)}.row input[type=range]{max-width:200px;min-height:30px;accent-color:var(--warm);touch-action:pan-x;flex:1}.row input:disabled{opacity:.4}.segment{background:#bed2ff1a;border-radius:999px;padding:3px;display:flex}.segment button{min-height:36px;color:var(--muted);white-space:nowrap;border-radius:999px;padding:0 13px;font-size:13.5px}.segment button[aria-checked=true]{background:var(--text);color:var(--night);font-weight:650}.list.people li{align-items:center;gap:12px;padding:10px 12px;display:flex}.list.people .dot{border:2px solid #fffc;border-radius:50%;flex:none;width:28px;height:28px}.list.people strong{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;font-size:15px;font-weight:600;overflow:hidden}.list.people em{color:var(--warm);font-size:12px;font-style:normal}.list.people button{border:1px solid var(--line);min-height:36px;color:var(--muted);white-space:nowrap;border-radius:999px;padding:0 12px;font-size:13px}.intro-name{width:min(100%,260px);color:var(--muted);text-align:left;flex-direction:column;gap:6px;font-size:12.5px;display:flex}.intro-name-row{gap:6px;display:flex}.intro-name input{border:1px solid var(--line);min-width:0;min-height:48px;font:inherit;color:var(--text);-webkit-user-select:text;user-select:text;background:#bed2ff14;border-radius:14px;flex:1;padding:0 14px;font-size:16px}.intro-name button{border:1px solid var(--line);width:48px;height:48px;color:var(--muted);border-radius:14px;flex:none;place-items:center;display:grid}.intro-inner .intro-error{color:var(--danger)}.looks,.backs{flex-wrap:wrap}.backdrop.center{align-items:center;padding:20px}.sheet{width:min(100%,520px);max-height:calc(100% - var(--inset-top) - var(--nav-height) - 24px);padding:18px 18px calc(var(--inset-bottom) + 18px);background:var(--panel-solid);border:1px solid var(--line);animation:sheet .34s var(--ease);-webkit-user-select:text;user-select:text;border-bottom:0;border-radius:24px 24px 0 0;flex-direction:column;gap:14px;display:flex}.sheet.tall{height:min(72%,620px)}.sheet header{justify-content:space-between;align-items:center;display:flex}h2{letter-spacing:-.01em;margin:0;font-size:18px;font-weight:700}.close{width:44px;height:44px;color:var(--muted);border-radius:50%;place-items:center;margin:-8px -10px -8px 0;display:grid}.moods,.tabs{gap:6px;display:flex}.moods button,.tabs button{border:1px solid var(--line);min-height:40px;color:var(--muted);border-radius:999px;padding:0 14px;font-size:14px;transition:background .2s,color .2s}.moods button[aria-checked=true],.tabs button[aria-selected=true]{background:var(--text);border-color:var(--text);color:var(--night);font-weight:650}.prompt{word-break:keep-all;flex-direction:column;gap:3px;margin:0;font-size:14.5px;line-height:1.5;display:flex}.prompt span{color:var(--warm);font-size:12px;font-weight:650}.prompt em{color:var(--text);font-style:normal}.tabs{scrollbar-width:none;touch-action:pan-x;overflow-x:auto}.tabs button{white-space:nowrap;flex:none}.list.shells{grid-template-columns:repeat(2,1fr);align-content:start;display:grid}.list.shells li{flex-direction:column;gap:6px;display:flex}.list.shells li.summary{color:var(--muted);background:0 0;border:0;grid-column:1/-1;padding:0 2px;font-size:13px}.list.shells .dot{border-radius:50%;width:30px;height:30px}.list.shells li.unknown .dot{background:#bed2ff1f!important}.list.shells strong{font-size:15px;font-weight:650}.list.shells small{color:var(--muted);word-break:keep-all;font-size:12.5px;line-height:1.45}.paper{background:var(--paper);border-radius:14px;position:relative}.paper textarea{resize:none;width:100%;min-height:132px;font:inherit;color:var(--paper-ink);-webkit-user-select:text;user-select:text;touch-action:pan-y;background:0 0;border:0;border-radius:14px;padding:16px 16px 30px;font-size:16px;line-height:1.65;display:block}.paper textarea::placeholder{color:#9b8d76}.count{color:#8a7c66;font-variant-numeric:tabular-nums;font-size:12px;position:absolute;bottom:9px;right:14px}.note{color:var(--muted);margin:0;font-size:13px;line-height:1.5}.note.error{color:var(--danger)}.cta{background:var(--warm);min-height:52px;color:var(--warm-ink);transition:transform .15s var(--ease), opacity .2s;border-radius:16px;padding:0 22px;font-size:16px;font-weight:700}.cta:active{transform:scale(.98)}.cta:disabled{opacity:.55;cursor:default}.ghost{min-height:48px;color:var(--paper-ink);border:1px solid #3b322638;border-radius:14px;padding:0 16px;font-size:15px;font-weight:600}.quote{color:var(--muted);white-space:pre-wrap;-webkit-line-clamp:3;background:#ffd9a31a;border-radius:10px;-webkit-box-orient:vertical;margin:0;padding:10px 12px;font-size:13px;line-height:1.55;display:-webkit-box;overflow:hidden}.letter{background:var(--paper);width:min(100%,420px);max-height:100%;color:var(--paper-ink);animation:unfold .42s var(--ease);-webkit-user-select:text;user-select:text;touch-action:pan-y;border-radius:20px;flex-direction:column;gap:14px;padding:26px 22px 18px;display:flex;position:relative;overflow-y:auto;box-shadow:0 24px 60px #00000073}.letter .close{color:#8a7c66;margin:0;position:absolute;top:8px;right:8px}.kind{background:#3b322617;border-radius:999px;align-self:flex-start;padding:4px 10px;font-size:12px;font-weight:650}.letter .quote{color:#6f6352;background:#3b32260f}.body{white-space:pre-wrap;overflow-wrap:anywhere;min-height:96px;margin:0;font-family:Nanum Myeongjo,AppleMyungjo,Noto Serif KR,Batang,serif;font-size:17px;line-height:1.85}.actions{flex-wrap:wrap;gap:8px;display:flex}.actions .cta{color:var(--paper);background:#3b3226;flex:100%}.actions .ghost{flex:1 1 0}.report{color:#8a7c66;text-underline-offset:3px;align-self:center;min-height:40px;padding:0 12px;font-size:12.5px;text-decoration:underline}.list{touch-action:pan-y;-webkit-overflow-scrolling:touch;flex-direction:column;flex:1;gap:10px;margin:0;padding:0;list-style:none;display:flex;overflow-y:auto}.list li{border:1px solid var(--line);background:#bed2ff12;border-radius:14px;padding:14px}.list li p{white-space:pre-wrap;overflow-wrap:anywhere;margin:0 0 8px;font-size:15px;line-height:1.65}.list .meta{color:var(--muted);justify-content:space-between;align-items:center;font-size:12px;display:flex}.list .meta button{min-height:32px;color:var(--muted);text-underline-offset:3px;padding:0 6px;text-decoration:underline}.list .empty{text-align:center;color:var(--muted);background:0 0;border:0;margin:auto;padding:24px;font-size:14px;line-height:1.6}.field{color:var(--muted);flex-direction:column;gap:8px;font-size:13px;display:flex}.field input{border:1px solid var(--line);min-height:50px;font:inherit;color:var(--text);-webkit-user-select:text;user-select:text;background:#bed2ff12;border-radius:14px;padding:0 14px;font-size:16px}.looks{gap:10px;display:flex}.looks button{width:44px;height:44px;transition:transform .15s var(--ease);background-clip:padding-box;border:3px solid #0000;border-radius:50%}.looks button[aria-checked=true]{border-color:var(--text);transform:scale(1.08)}.photo{width:min(100%,440px);max-height:100%;animation:unfold .42s var(--ease);flex-direction:column;gap:12px;display:flex}.text-link{min-height:44px;color:var(--muted);text-underline-offset:3px;align-self:center;padding:0 12px;font-size:13px;text-decoration:underline}.policy{touch-action:pan-y;-webkit-overflow-scrolling:touch;color:var(--muted);word-break:keep-all;flex:1;font-size:14px;line-height:1.7;overflow-y:auto}.policy h3{color:var(--text);margin:18px 0 4px;font-size:15px;font-weight:650}.policy h3:first-child{margin-top:0}.policy p{white-space:pre-line;margin:0}.policy .cta{width:100%;margin-top:18px}.policy .cta.danger{border:1px solid var(--danger);color:var(--danger);background:0 0}.photo img{width:100%;max-height:calc(100vh - var(--inset-top) - var(--nav-height) - var(--inset-bottom) - 170px);object-fit:contain;background:#0b1430;border:5px solid #fbf2dc;border-radius:16px;display:block;box-shadow:0 24px 60px #00000080}.photo-actions{gap:8px;display:flex}.photo-actions .cta{flex:1}.ghost.light{border-color:var(--line);color:var(--text);background:var(--panel);border-radius:16px;min-height:52px}.flash{opacity:0;pointer-events:none;background:#fff;position:fixed;top:0;bottom:0;left:0;right:0}.flash.on{animation:.45s ease-out flash}@keyframes flash{0%{opacity:.85}to{opacity:0}}.toast{left:50%;top:calc(var(--inset-top) + var(--nav-height) + 68px);word-break:keep-all;width:max-content;max-width:min(90vw,420px);color:var(--night);text-align:center;opacity:0;pointer-events:none;transition:opacity .3s, transform .3s var(--ease);background:#eef2fff5;border-radius:14px;padding:11px 16px;font-size:14px;font-weight:550;line-height:1.45;position:fixed;transform:translate(-50%,-8px)}.toast.show{opacity:1;transform:translate(-50%)}#intro{transition:opacity .9s var(--ease), visibility .9s;background:radial-gradient(120% 90% at 50% 40%,#16264f 0%,#0b1430 55%,#060b1c 100%);place-items:center;padding:24px;display:grid;position:fixed;top:0;bottom:0;left:0;right:0}#intro.leaving{opacity:0;visibility:hidden}.intro-inner{text-align:center;flex-direction:column;align-items:center;gap:14px;display:flex}.mark{width:64px;height:64px;stroke:var(--warm);stroke-width:2.2px;animation:4s ease-in-out infinite bob}.mark .line{stroke-width:2px;opacity:.8}h1{letter-spacing:.04em;margin:4px 0 0;font-size:34px;font-weight:750}.intro-inner p{color:var(--muted);margin:0 0 10px;font-size:15px;line-height:1.65}.intro-inner .cta{min-width:220px}.intro-inner small{color:#7f8cb0;font-size:12.5px}@keyframes fade{0%{opacity:0}}@keyframes rise{0%{opacity:0;transform:translate(-50%,8px)}}@keyframes sheet{0%{opacity:0;transform:translateY(40px)}}@keyframes unfold{0%{opacity:0;transform:translateY(18px)scale(.94)}}@keyframes bob{50%{transform:translateY(-6px)rotate(-4deg)}}@media (max-width:420px){.chip.event span{display:none}.chip.event{padding:6px 12px}.dock button{min-width:62px;padding:6px 8px}.dock button.primary{min-width:84px}}@media (min-width:720px){.backdrop{align-items:center}.sheet{border-bottom:1px solid var(--line);border-radius:24px;padding-bottom:18px}}@media (prefers-reduced-motion:reduce){*,:before,:after{transition-duration:.01ms!important;animation-duration:.01ms!important}}.backdrop.clear{justify-content:center;align-items:flex-end}.backdrop.clear .sheet{max-height:50%;box-shadow:0 -12px 40px #00000059}@media (min-width:720px){.backdrop.clear{justify-content:flex-start;align-items:flex-end;padding:0 0 16px 16px}.backdrop.clear .sheet{width:360px;max-height:calc(100% - var(--inset-top) - var(--nav-height) - 96px)}}body.sheet-open .dock,body.sheet-open .context-row,body.sheet-open .ask,body.sheet-open .news,body.sheet-open .hint,body.sheet-open .emote-pop,body.sheet-open .player-pop{opacity:0;pointer-events:none}#hud:has(.player-pop:not([hidden])) .hint{opacity:0}#hud:has(.emote-pop:not([hidden])) .hint{opacity:0}
