:root{color:#f5f0de;font-synthesis:none;--ink:#314c43;--paper:#f3efdf;--line:#f6f0da30;font-family:Malgun Gothic,Apple SD Gothic Neo,Noto Sans KR,system-ui,sans-serif}*{box-sizing:border-box}body{background:#34402d;margin:0;overflow:hidden}button{font:inherit;cursor:pointer;border:0}button:disabled{cursor:default}button:focus-visible,a:focus-visible{outline-offset:4px;outline:2px solid #f1c374}button svg{flex-shrink:0;width:22px;height:22px}button{touch-action:manipulation}button:active:not(:disabled){transform:translateY(1px)}[hidden]{display:none!important}#world,#canvas-host,#world-labels,.vignette{position:absolute;inset:0}#world{height:100dvh;min-height:400px;overflow:hidden}#canvas-host canvas{touch-action:none;outline:none;width:100%;height:100%;display:block}#world-labels{pointer-events:none;overflow:hidden}.vignette{pointer-events:none;background:linear-gradient(#1c1d1152 0%,#0000 26% 62%,#1f180e80 100%)}.topbar{z-index:5;pointer-events:none;justify-content:space-between;align-items:center;padding:30px 36px;display:flex;position:absolute;top:0;left:0;right:0}.brand{text-shadow:0 1px 8px #25444155;align-items:center;gap:12px;display:flex}.brand-mark{color:#efc787;width:38px;height:47px}.brand-mark svg{stroke-width:1.1px;width:100%;height:100%}.brand h1{letter-spacing:-.6px;margin:0 0 6px;font-family:Georgia,Batang,serif;font-size:21px;font-weight:400}.brand p{letter-spacing:1.3px;opacity:.65;margin:0;font-size:10px}.brand-dot{margin:0 4px}.tools{pointer-events:auto;gap:9px;display:flex}.tool{min-width:42px;height:42px;color:var(--paper);border:1px solid var(--line);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#183c3659;border-radius:50%;justify-content:center;align-items:center;gap:8px;font-size:13px;display:flex}.tool:not(.icon-only){border-radius:24px;padding:0 15px}.tool svg{width:18px;height:18px}.tool:hover{background:#284d42b0}#people-button{display:none}.entered #people-button{display:flex}#help-button{font-family:Georgia,serif;font-size:19px}#welcome{z-index:4;background:linear-gradient(90deg,#242a1eda 0%,#2c312180 37%,#2c312104 78%);align-items:center;padding:75px 9vw 30px;display:flex;position:absolute;inset:0}.welcome-copy{width:320px}.eyebrow{color:#d2c7a8;letter-spacing:3.2px;margin:0 0 24px;font-size:9px}.welcome-copy h2{letter-spacing:-2px;margin:0 0 20px;font-family:Batang,Georgia,serif;font-size:52px;font-weight:400;line-height:1.5}.welcome-description{color:#d0d5c4;margin:0 0 30px;font-size:14px;line-height:2}.nickname-row{background:#e6e8d509;border:1px solid #e2dbc72e;border-radius:12px;justify-content:space-between;align-items:center;margin-bottom:12px;padding:14px 16px;display:flex}.field-label{letter-spacing:.8px;color:#adbeb0;margin-bottom:7px;font-size:10px;display:block}#suggested-name{color:#f4ecd8;font-size:15px;font-weight:400}#new-name{color:#c2cdb7;background:0 0;place-items:center;width:34px;height:34px;display:grid}#new-name svg{width:17px}.enter-button{color:#344e41;letter-spacing:.6px;background:#e9d8b4;border-radius:11px;justify-content:space-between;align-items:center;width:100%;padding:17px 21px;font-size:14px;display:flex;box-shadow:0 8px 30px #10251e25}.enter-button:hover{background:#f2e3c4}.entry-note{text-align:center;color:#afbead;letter-spacing:.5px;margin-top:16px;font-size:10px}.welcome-caption{letter-spacing:1px;color:#e9e6d5b3;align-items:center;gap:12px;font-size:10px;display:flex;position:absolute;bottom:43px;right:43px}.welcome-caption span{background:#e9e6d575;width:24px;height:1px}.bottom{bottom:max(24px,env(safe-area-inset-bottom));z-index:5;flex-direction:column;align-items:center;width:max-content;max-width:calc(100% - 24px);display:flex;position:absolute;left:50%;transform:translate(-50%)}.action-bar{-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#f5f0e5ed;border:1px solid #fff4;border-radius:22px;align-items:center;padding:7px 9px;display:flex;box-shadow:0 7px 30px #182d2525}.action-bar button{color:#485a48;background:0 0;border-radius:14px;justify-content:center;align-items:center;gap:9px;min-width:102px;padding:12px 13px;font-size:13px;display:flex}.action-bar button:hover{background:#dbdfcf}.action-bar button:disabled{opacity:.4}.action-bar button svg{width:19px;height:19px}.divider{background:#bfc3b24d;width:1px;height:24px}.move-hint{color:#e8e8d3a6;letter-spacing:.4px;margin:14px 0 0;font-size:10px}.candle-status{color:#eee9d3dc;text-shadow:0 1px 5px #162d29;align-items:center;gap:8px;margin-bottom:16px;font-size:11px;display:flex}#context-wrap{margin-bottom:13px}.context-button{color:#3b4934;background:#e6c087;border-radius:30px;justify-content:center;align-items:center;gap:8px;min-height:45px;padding:11px 19px;font-size:12px;display:flex;box-shadow:0 3px 24px #ebbf6c35}.context-button:hover{background:#f1d39f}.context-button svg{width:17px;height:17px}.world-hint,.name-label,.speech-bubble{will-change:transform;pointer-events:auto;position:absolute;top:0;left:0}.world-hint{color:#f1e9d0;white-space:nowrap;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#334d3b8c;border:1px solid #e8dfbd3b;border-radius:14px;padding:5px 10px;font-size:10px}.fire-label{letter-spacing:.8px;background:#6d523b40;border-color:#efd0a555;font-size:9px}.seat-hint{opacity:.75}.seat-hint:hover{opacity:1;background:#506b4b}.name-label{color:#ebe7d3;white-space:nowrap;text-shadow:0 1px 2px #18362b;background:#233f33b3;border:1px solid #c9d7b31a;border-radius:12px;padding:5px 9px;font-size:10px;font-weight:400}.name-label[data-lit=true]:before{content:"";background:#f4c476;border-radius:50% 50% 40% 40%;width:4px;height:6px;margin-right:5px;display:inline-block;box-shadow:0 0 6px #ffce75}.speech-bubble{pointer-events:none;color:#44574a;text-align:center;background:#f3eddf;border-radius:16px 16px 16px 4px;width:max-content;max-width:220px;padding:10px 15px;font-size:12px;line-height:1.6;box-shadow:0 4px 18px #14372c22}.activity{z-index:4;color:#efe9d2cc;pointer-events:auto;width:290px;position:absolute;bottom:35px;left:32px}.activity>button{color:#eee9d1aa;letter-spacing:.6px;background:0 0;align-items:center;gap:7px;padding:0 0 10px;font-size:10px;display:flex}.live-dot{background:#ccd2a3;border-radius:50%;width:4px;height:4px}.activity-chevron{margin-left:4px;transition:transform .2s}.expanded .activity-chevron{transform:rotate(180deg)}.activity ol{scrollbar-width:thin;flex-direction:column;gap:8px;max-height:190px;margin:0;padding:0;list-style:none;display:flex;overflow:auto}.activity li{text-shadow:0 1px 6px #173d2b;align-items:flex-start;gap:7px;font-size:10px;line-height:1.8;display:flex}.activity-mark{color:#d6c18e;padding-top:2px;display:flex}.activity-mark svg{width:12px;height:12px}.activity.expanded{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#243e33df;border:1px solid #e8dfbd22;border-radius:14px;padding:16px}.expanded li{opacity:1!important}#connection{z-index:8;color:#e9dfbe;white-space:nowrap;background:#314b41e8;border:1px solid #d9cca53b;border-radius:20px;padding:9px 15px;font-size:11px;position:absolute;top:98px;left:50%;transform:translate(-50%)}#toast{z-index:20;color:#415444;text-align:center;pointer-events:none;background:#f2ecdcf5;border-radius:13px;width:max-content;max-width:calc(100% - 32px);padding:13px 20px;font-size:12px;line-height:1.8;position:absolute;top:110px;left:50%;transform:translate(-50%);box-shadow:0 8px 30px #152f252b}.panel{color:#405346;background:#f3f0e3;border:1px solid #d8d9c5;border-radius:20px;width:min(400px,100% - 32px);max-height:80dvh;padding:25px;box-shadow:0 24px 100px #172d2a66}.panel::backdrop{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#102d286b}.panel-heading{justify-content:space-between;align-items:center;display:flex}.panel h2{margin:0;font-size:18px;font-weight:500}.close-panel{color:#6c7968;background:0 0;padding:0 0 0 15px;font-size:25px;line-height:1}.panel-subtitle{opacity:.65;margin:12px 0 22px;font-size:11px}.panel-note{color:#788574;margin:20px 0 0;font-size:11px;line-height:1.9}.prototype-note{color:#8a917f;border-top:1px solid #d8ddcb;margin-top:20px;padding-top:14px;font-size:10px;line-height:1.8}.help-steps{margin-top:24px;padding-left:18px;font-size:12px;line-height:2.3}#people-list{flex-direction:column;gap:16px;margin:0;padding:0;list-style:none;display:flex}#people-list li{flex-direction:column;gap:5px;font-size:13px;display:flex}.lit-state,.unlit-state{color:#989b87;font-size:10px}.lit-state{color:#a57842}.render-error{max-width:350px}.render-error h2{font-size:20px}@media (width>=900px){.activity{max-width:calc(50vw - 260px)}}@media (width<=700px){.topbar{padding:23px 20px}.brand{gap:8px}.brand-mark{width:28px;height:35px}.brand h1{margin-bottom:5px;font-size:17px}.brand p{letter-spacing:.5px;font-size:8px}.tools{gap:6px}.tool{min-width:35px;height:35px}.tool:not(.icon-only){gap:5px;padding:0 11px}.tool svg{width:15px;height:15px}#help-button{display:none}#welcome{background:linear-gradient(90deg,#242a1eba,#2c312170 67%,#2c312110);align-items:center;padding:85px 28px 35px}.welcome-copy{width:min(300px,100%);margin-top:40px}.welcome-copy h2{margin-bottom:15px;font-size:42px;line-height:1.5}.eyebrow{letter-spacing:2.4px;margin-bottom:18px;font-size:8px}.welcome-description{margin-bottom:24px;font-size:12px}.welcome-caption{font-size:8px;bottom:24px;right:22px}.bottom{bottom:max(23px,env(safe-area-inset-bottom))}.action-bar{border-radius:20px;padding:5px 6px}.action-bar button{gap:8px;min-width:90px;padding:12px;font-size:12px}.action-bar button svg{width:18px;height:18px}.move-hint{margin-top:12px;font-size:9px}.candle-status{text-align:center;max-width:calc(100vw - 24px);margin-bottom:14px;font-size:10px}.context-button{max-width:calc(100vw - 28px);padding:10px 14px;font-size:11px}.activity{pointer-events:none;width:225px;bottom:190px;left:20px}.activity>button{pointer-events:auto;padding-bottom:7px;font-size:9px}.activity li{font-size:9px;line-height:1.7}.activity li:nth-child(2){display:none}.activity.expanded{pointer-events:auto;width:calc(100% - 40px)}.activity.expanded li:nth-child(2){display:flex}.activity ol{max-height:150px}.activity-mark svg{width:10px;height:10px}.name-label{padding:4px 7px;font-size:9px}.world-hint{padding:4px 8px;font-size:9px}.speech-bubble{max-width:180px;padding:8px 12px;font-size:11px}#toast{font-size:11px;top:90px}#connection{font-size:10px;top:80px}.desktop-hint{display:none}}@media (height<=600px){.welcome-copy{margin:0}.welcome-copy h2{font-size:30px;line-height:1.3}.welcome-description{margin-bottom:15px}.eyebrow,.welcome-caption,.entry-note{display:none}.topbar{padding:16px 24px}.bottom{bottom:15px}.move-hint{display:none}.activity{bottom:25px}.candle-status{margin-bottom:10px}}@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}.candle-status:before{content:"";width:7px;height:10px;box-shadow:none;background:#b7ad94;border-radius:60% 60% 45% 45%;flex-shrink:0}.candle-status[data-lit=true]{color:#ffe1a6}.candle-status[data-lit=true]:before{background:#ffc460;box-shadow:0 0 10px #ffa53b99}.context-button:disabled{color:#4a4533;opacity:.86;background:#c4aa7c}.action-bar button{min-width:88px}.candle-row{justify-content:center;align-items:center;gap:12px;margin-bottom:15px;display:flex}.candle-row .candle-status{margin-bottom:0}#candle-off{color:#e6d8b5;white-space:nowrap;background:#29332199;border:1px solid #e8cf973d;border-radius:14px;padding:5px 10px;font-size:10px}#candle-off:hover{background:#4d4d31}#hud.gazing .bottom,#hud.gazing .activity{display:none}#gaze-hud{z-index:6;bottom:max(32px,env(safe-area-inset-bottom));text-align:center;width:max-content;max-width:calc(100% - 32px);position:absolute;left:50%;transform:translate(-50%)}#gaze-hud p{color:#f1dfba;letter-spacing:1px;text-shadow:0 2px 12px #2c1d10;margin:0 0 21px;font-family:Georgia,Batang,serif;font-size:18px}#gaze-hud>div{justify-content:center;gap:10px;display:flex}#gaze-hud button{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);color:#f5e4bf;background:#2d3425bf;border:1px solid #ead8ae3d;border-radius:22px;padding:11px 18px;font-size:12px}#gaze-hud button:last-child{color:#3f4c36;background:#ead5aa}#world[data-view=gazing] .vignette{background:linear-gradient(#13201555,#0000 35% 65%,#1b2014a8)}#hud[data-action]:not([data-action=""]) .action-bar{opacity:.32;pointer-events:none}#hud[data-action]:not([data-action=""]) .activity{opacity:.25}.sound-choices{flex-direction:column;gap:9px;margin:23px 0;display:flex}.sound-choices button{text-align:left;color:#485b40;background:#e9eadc;border:1px solid #d8d9c5;border-radius:12px;padding:14px 15px}.sound-choices strong{margin-bottom:5px;font-size:13px;font-weight:500;display:block}.sound-choices span{color:#7f8971;font-size:10px}.sound-choices [aria-pressed=true]{background:#e6d7b2;border-color:#b8a77d}.volume-label{color:#6d795e;justify-content:space-between;font-size:11px;display:flex}#sound-volume{accent-color:#73805b;width:100%;margin:15px 0 20px}.sound-master{color:#f7f1df;background:#657952;border:1px solid #b9c1a6;border-radius:12px;width:100%;padding:12px;font-size:12px}.sound-master[aria-pressed=true]{color:#5a6c4a;background:#dce1ce}.sound-credit{color:#889377;margin-top:15px;font-size:10px;display:inline-block}@media (width<=700px){.action-bar button{flex-direction:column;gap:5px;min-width:68px;padding:8px 12px;font-size:10px}.action-bar button svg{width:18px;height:18px}.candle-row{gap:8px;margin-bottom:13px}.candle-row .candle-status{font-size:9px}#candle-off{padding:5px 8px;font-size:9px}#gaze-hud p{font-size:16px}}#toast.system-guide{text-align:left;color:#e7eedb;pointer-events:auto;background:#233322f2;border:1px solid #b8c69b55;border-left:3px solid #c7d9a6;border-radius:12px;width:340px;max-width:calc(100% - 32px);padding:14px 35px 14px 17px;top:94px;left:auto;right:30px;transform:none;box-shadow:0 8px 25px #08150e66}.guide-label{letter-spacing:.6px;color:#c7d9a6;margin-bottom:5px;font-size:10px;font-weight:600;display:block}#guide-text{margin:0;font-size:12px;line-height:1.8}#guide-close{color:#a7b996;background:0 0;padding:0;font-size:19px;line-height:1;position:absolute;top:11px;right:11px}.name-label{color:#dbe2cb;background:#17291fe8;border:1px solid #9aa98b44;font-size:10px;box-shadow:0 1px 5px #0b1d1355}.name-label.self{color:#ffe4ab;text-shadow:none;background:#24311ee8;border-color:#e6c17b99}.speech-bubble{color:#34482f;background:#eef0df;border:1px solid #c7d2b8;border-radius:15px;padding:10px 14px;box-shadow:0 5px 20px #11291655}.speech-bubble:after{content:"";border-top:6px solid #eef0df;border-left:6px solid #0000;border-right:6px solid #0000;position:absolute;bottom:-6px;left:calc(50% - 6px)}.speech-bubble.own{color:#4b4d32;background:#f4e4be;border-color:#d6b774}.speech-bubble.own:after{border-top-color:#f4e4be}.bubble-tag{color:#798a68;letter-spacing:.6px;margin-bottom:5px;font-size:9px;line-height:1.4;display:block}.own .bubble-tag{color:#8a7549;font-weight:600}.bubble-text{font-size:12px;line-height:1.7;display:block}.activity{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#17291dbd;border:1px solid #b4c19922;border-radius:12px;padding:11px 12px}.activity>button{color:#b9c8a4;letter-spacing:.6px;font-size:10px}.activity li{color:#c7d0b9;font-size:10px}.activity li:first-child{opacity:.6}.activity li:nth-child(2){opacity:1}.activity strong{color:#edf0dc;font-weight:500}@media (width<=700px){#toast.system-guide{width:auto;padding:12px 33px 12px 14px;top:84px;left:16px;right:16px}#guide-text{font-size:11px}.guide-label,.name-label{font-size:9px}.activity{width:230px;padding:9px 10px;bottom:202px;left:16px}.activity li{font-size:9px}.activity li:first-child,.activity.expanded li:first-child{opacity:1}.speech-bubble{max-width:190px}.bubble-text{font-size:11px}.activity:not(.expanded) li{display:none}.activity:not(.expanded) li:last-child{display:flex}}#world[data-view=gazing] .vignette{background:radial-gradient(at 50% 46%,#0000 22%,#060e0b38 65%,#060d0bc9 100%),linear-gradient(#0000 75%,#08100bc7);transition:background 1.5s}#world[data-view=gazing] .brand{opacity:.55}#world[data-view=gazing] .brand p,#world[data-view=gazing] #people-button,#world[data-view=gazing] #share-button,#world[data-view=gazing] #help-button{display:none}#gaze-hud p{opacity:.8;margin-bottom:16px;font-size:15px}#gaze-hud button{min-height:44px}#gaze-powder{color:#c5e5db!important;background:linear-gradient(130deg,#29473bd9,#33364ed9)!important;border-color:#a2dfd447!important}#gaze-powder:disabled{opacity:.6}@media (width<=700px){#gaze-hud{width:calc(100% - 24px);max-width:380px}#gaze-hud>div{gap:6px}#gaze-hud button{padding:9px 13px;font-size:11px}#gaze-hud p{margin-bottom:12px;font-size:13px}}.companion-label{color:#e8dbc2;background:#3b392cc9;border-color:#c6b99644;font-size:9px}.companion-bubble{background:#eee4d0;border-color:#c9b997}.companion-bubble .bubble-tag{color:#76674e}.campfire-status{z-index:4;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);color:#d9d4b8;white-space:nowrap;pointer-events:none;background:#232d20b8;border:1px solid #cdb98b30;border-radius:18px;max-width:calc(100% - 32px);padding:7px 13px;font-size:10px;line-height:1.4;position:absolute;top:90px;left:50%;transform:translate(-50%)}#procession-button{color:#eadbc0;white-space:nowrap;background:#3b4031b5;border:1px solid #e8cf9744;border-radius:14px;min-height:28px;padding:5px 11px;font-size:10px}#procession-button:hover{background:#53523b}#procession-button:disabled{opacity:.45}#hud[data-procession=true] .candle-row{opacity:.75}.visually-hidden{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;position:absolute!important}#hud[data-procession=true] #context-button{background:#e9dcc2;box-shadow:0 3px 18px #15261833}#hud[data-procession=true][data-action]:not([data-action=""]) .candle-row{display:flex}#hud[data-procession=true] .context-button{min-height:44px}.ritual-sound-controls{border-bottom:1px solid #cbd2bd8a;margin:20px 0 0;padding-bottom:15px}.ritual-sound-controls h3{color:#5a6c4b;margin:0 0 10px;font-size:12px;font-weight:500}.ritual-sound-choices{grid-template-columns:1fr 1fr;gap:8px;display:grid}.ritual-sound-choices button{color:#4a5e42;background:#e8ebdf;border:1px solid #c8cebb;border-radius:10px;min-height:44px;padding:10px 12px;font-size:12px}.ritual-sound-choices button[aria-pressed=true]{color:#354f2d;background:#dce4ce;border-color:#8d9d77;box-shadow:inset 0 0 0 1px #8d9d7733}.ritual-voice-note,.ritual-voice-status{color:#79866d;margin:9px 0 0;font-size:10px;line-height:1.7}.ritual-voice-status{color:#69785a}.voice-caption{z-index:5;width:calc(100% - 40px);max-width:520px;box-shadow:none;pointer-events:none;text-align:center;white-space:pre;word-break:normal;overflow-wrap:normal;color:#f3eddf;letter-spacing:.025em;text-shadow:0 2px 8px #07130cdd,0 0 18px #07130c99;opacity:0;background:0 0;border:0;margin:0;padding:0;font-size:18px;font-weight:400;line-height:1.9;transition:opacity 1.2s;position:absolute;top:148px;left:50%;transform:translate(-50%)}.voice-caption.is-visible{opacity:1;transition-duration:.9s}@media (prefers-reduced-motion:reduce){.voice-caption{transition:none}}.nickname-field{flex:1;min-width:0}.nickname-row #new-name{flex:0 0 34px}.nickname-row{gap:12px;margin-bottom:6px}.nickname-row:focus-within{border-color:#d9c58b99;box-shadow:0 0 0 2px #d9c58b14}#entry-name{box-sizing:border-box;color:#f4ecd8;background:0 0;border:0;border-radius:3px;outline:none;width:100%;min-width:0;padding:1px 0;font:400 16px/1.5 system-ui,sans-serif;display:block}#entry-name:focus-visible{outline-offset:4px;outline:1px solid #ddcfaa77}.nickname-help{color:#b6c2ac;letter-spacing:0;margin:0 0 12px;font-size:10px;line-height:1.5}#welcome{overscroll-behavior:contain;align-items:safe center;overflow-y:auto}.welcome-copy{flex-shrink:0}.animal-card{pointer-events:auto;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#1c3328cc;border:1px solid #ced3b22e;border-radius:14px;width:248px;max-width:100%;padding:0 10px 8px;box-shadow:0 4px 16px #071c1726}.animal-card-heading{justify-content:space-between;align-items:center;gap:6px;min-height:44px;display:flex}.animal-card h2{color:#eae5ce;overflow-wrap:anywhere;min-width:0;margin:0;font-size:12px;font-weight:500;line-height:1.35}.animal-card-heading button{color:#c9cdb6;background:0 0;border-radius:10px;flex:0 0 44px;width:44px;height:44px;margin-right:-8px;padding:0;font-size:18px;line-height:1}.animal-card-actions{gap:6px;display:flex}.animal-card-actions button{isolation:isolate;color:#e4dfc7;white-space:nowrap;background:0 0;border:0;border-radius:11px;flex:1;justify-content:center;align-items:center;min-width:44px;min-height:44px;padding:8px 5px;font-size:11px;font-weight:400;line-height:1.3;display:flex;position:relative}.animal-card-actions button:before{content:"";z-index:-1;pointer-events:none;background:#a4b28616;border:1px solid #cad4b137;border-radius:9px;position:absolute;inset:6px 0}.animal-card-actions button:disabled{color:#c5cdb5a6;cursor:default;background:0 0}.animal-card-actions button:disabled:before{background:#9aae7b08;border-color:#c6d0af1c}.animal-card [data-animal-status]{color:#cbd3bc;white-space:normal;overflow-wrap:anywhere;min-height:14.5px;margin:4px 0 0;font-size:10px;line-height:1.45}.animal-card button:focus-visible{outline-offset:1px;outline:2px solid #e7d092}@media (hover:hover){.animal-card-actions button:hover:not(:disabled):before{background:#bbc89f2e;border-color:#dbe3bf5e}.animal-card-heading button:hover{color:#eee6cc;background:#a6b68d0c}}.animal-card-actions [data-animal-portrait]{white-space:normal}.animal-card-actions [data-animal-portrait][aria-pressed=true]:before{background:#ebcb862a;border-color:#ebcb8680}.animal-portrait-status{color:#e9d5a6;margin:4px 0 0;font-size:10px;line-height:1.45}.animal-portrait-dialog{width:min(440px,100% - 24px);max-height:92dvh;padding:clamp(12px,4vw,22px)}.animal-portrait-dialog .close-panel{min-width:44px;min-height:44px;padding:0}.animal-portrait-dialog img{object-fit:contain;-webkit-touch-callout:default;background:#24392d;border-radius:12px;width:100%;height:auto;max-height:calc(92dvh - 160px);margin:10px auto 14px;display:block}.animal-portrait-actions{flex-wrap:wrap;gap:8px;display:flex}.animal-portrait-actions a,.animal-portrait-actions button{color:#405346;min-height:44px;font:inherit;background:#f3f0e3;border:1px solid #acb49a;border-radius:9px;flex:1;place-items:center;padding:8px 10px;font-size:13px;text-decoration:none;display:grid}.animal-portrait-actions a{color:#fff9e6;background:#405346;border-color:#405346}.animal-portrait-actions [hidden]{display:none}.animal-portrait-dialog[data-photo-mobile-save] [data-portrait-share]{color:#fff9e6;background:#405346;border-color:#405346;order:-1}.animal-portrait-dialog [data-portrait-save-hint]{margin:8px 0 0;font-size:12px;line-height:1.45}.animal-portrait-dialog[data-photo-expanded]{width:min(620px,100%);max-height:100dvh;padding:8px}.animal-portrait-dialog[data-photo-expanded] img{max-height:calc(100dvh - 135px);margin:4px auto 8px}.animal-portrait-dialog [data-portrait-share-status]{margin:8px 0 0;font-size:12px}.animal-portrait-dialog [data-portrait-share-status]:empty,#hud[data-animal-open=true] .candle-row,#hud[data-animal-open=true] #context-wrap,#hud[data-animal-open=true] .move-hint,#hud[data-animal-open=true] .action-bar{display:none}button.companion-label{pointer-events:auto;cursor:pointer;isolation:isolate;background:0 0;border-color:#0000;min-width:44px;min-height:44px;padding:12px 9px;line-height:1.3}button.companion-label:before{content:"";z-index:-1;background:#233f33b3;border:1px solid #c9d7b31a;border-radius:12px;position:absolute;inset:11px 3px}button.companion-label:focus-visible{outline-offset:2px;outline:2px solid #e6d293}.animal-warmth{pointer-events:none;z-index:1;color:#ffe1a0;text-shadow:0 0 7px #e9aa67,0 0 12px #e5be7d;transform-origin:50%;will-change:transform,opacity;font-size:19px;line-height:1;position:absolute;top:0;left:0}.animal-warmth:before,.animal-warmth:after{content:"";opacity:.7;background:#f3d699;border-radius:50%;width:4px;height:4px;position:absolute}.animal-warmth:before{top:8px;left:-8px}.animal-warmth:after{top:0;right:-7px}.speech-bubble.animal-reaction{border:1px solid #e8c88b5c}.speech-bubble.animal-reaction .bubble-tag{color:#83714c}@media (prefers-reduced-motion:reduce){.animal-warmth{will-change:auto;text-shadow:0 0 5px #e9aa6755}}.warmth-caption{z-index:5;pointer-events:none;text-align:center;white-space:pre-line;word-break:keep-all;overflow-wrap:normal;color:#f0ead9;letter-spacing:.015em;text-shadow:0 2px 8px #07130cdd,0 0 18px #07130c99;opacity:0;width:calc(100% - 40px);max-width:520px;margin:0;padding:0;font-size:17px;font-weight:400;line-height:1.85;position:absolute;top:145px;left:50%;transform:translate(-50%)}@media (width<=700px){.warmth-caption{width:calc(100% - 32px);font-size:clamp(12px,3.56vw,14px);line-height:1.9;top:106px}}@media (height<=500px){.warmth-caption{font-size:13px;line-height:1.7;top:96px}}@media (width<=700px){#world{min-height:0}.topbar{gap:8px;padding:12px}.brand{gap:6px;min-width:0}.brand-mark{flex-shrink:0;width:22px;height:28px}.brand h1{white-space:nowrap;margin:0;font-size:15px;line-height:1.3}.brand p{display:none}.tools{flex-shrink:0;gap:5px}.tool{min-width:32px;height:32px}.tool:not(.icon-only){gap:4px;padding:0 9px}.tool svg{width:14px;height:14px}.bottom{bottom:calc(10px + env(safe-area-inset-bottom,0px));gap:6px;width:calc(100% - 24px);max-width:340px}.move-hint{display:none}.action-bar{background:#ece3cfed;border-radius:18px;width:min(304px,100%);padding:3px 4px;box-shadow:0 4px 20px #17271933}.action-bar button{border-radius:13px;flex-direction:row;flex:1;gap:5px;min-width:0;min-height:44px;padding:8px 4px;font-size:10px}.action-bar button svg{width:16px;height:16px}.divider{height:18px}.candle-row{gap:8px;min-height:28px;margin-bottom:0}.candle-row .candle-status{gap:6px;max-width:none;font-size:10px;line-height:1.3}#candle-off{min-height:28px;padding:4px 9px;font-size:9px}#context-wrap{max-width:100%;margin:0}.context-button{max-width:100%;min-height:38px;padding:8px 13px;font-size:11px;line-height:1.4}.context-button svg{width:15px;height:15px}#hud[data-action]:not([data-action=""]) .candle-row{display:none}.activity,.activity.expanded{left:12px;bottom:calc(var(--mobile-controls-height,90px) + 20px + env(safe-area-inset-bottom,0px));pointer-events:auto;max-width:calc(100% - 24px);top:auto}.activity:not(.expanded){-webkit-backdrop-filter:none;backdrop-filter:none;width:max-content;box-shadow:none;background:0 0;border:0;padding:0}.activity:not(.expanded)>button{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#1c2c20c9;border:1px solid #bac5a33d;border-radius:16px;gap:6px;min-height:30px;margin:0;padding:6px 10px;font-size:10px;line-height:1.3}.activity:not(.expanded) ol{display:none}.activity.expanded{border-radius:12px;width:min(310px,100% - 24px);max-height:min(35dvh,230px);padding:11px 12px}.activity.expanded>button{min-height:25px;margin:0;padding:0 0 8px}.activity.expanded ol{overscroll-behavior:contain;max-height:min(25dvh,165px);overflow:auto}.activity.expanded li{font-size:10px;line-height:1.7;display:flex}#toast.system-guide{border-left-width:2px;border-radius:10px;align-items:baseline;gap:8px;width:auto;max-width:none;padding:9px 30px 9px 11px;display:flex;top:58px;left:12px;right:12px;box-shadow:0 4px 18px #07170b33}.guide-label{letter-spacing:0;flex-shrink:0;margin:0;font-size:9px}#guide-text{-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:11px;line-height:1.5;display:-webkit-box;overflow:hidden}#guide-close{font-size:17px;top:9px;right:10px}#connection{white-space:normal;text-align:center;max-width:calc(100% - 24px);padding:7px 11px;font-size:10px;top:58px}.name-label{padding:4px 7px;font-size:9px}.speech-bubble{max-width:180px;padding:8px 11px}.bubble-tag{margin-bottom:3px;font-size:8px}.bubble-text{font-size:11px}#gaze-hud{bottom:calc(16px + env(safe-area-inset-bottom,0px))}#gaze-hud p{margin-bottom:12px;font-size:14px}#gaze-hud button{padding:10px 16px;font-size:11px}.campfire-status{text-overflow:ellipsis;max-width:calc(100% - 24px);padding:6px 10px;font-size:9px;line-height:1.3;top:58px;overflow:hidden}#procession-button{min-height:28px;padding:4px 9px;font-size:9px}.candle-row{flex-wrap:wrap;row-gap:4px}}.move-joystick{display:none}@media (width<=700px),(any-pointer:coarse){.move-joystick{--stick-x:0px;--stick-y:0px;z-index:7;left:max(14px,env(safe-area-inset-left,0px));bottom:calc(var(--mobile-controls-height,90px) + 24px + env(safe-area-inset-bottom,0px));color:#e4dfc8;touch-action:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent;cursor:grab;background:0 0;border:0;width:96px;height:112px;padding:0;display:block;position:absolute}.move-joystick[hidden]{display:none!important}.move-joystick:disabled{opacity:.35;cursor:default}.move-joystick:focus-visible{outline-offset:4px;border-radius:50%;outline:2px solid #e5cc93}.joystick-base{pointer-events:none;box-sizing:border-box;background:radial-gradient(circle,#b5bf9340 0 2px,#0000 3px),#1e302477;border:1px solid #d1d5ad45;border-radius:50%;width:96px;height:96px;position:absolute;top:0;left:0;box-shadow:inset 0 0 18px #091a1b38,0 3px 13px #07170b22}.joystick-directions{opacity:.28;pointer-events:none;width:74px;height:74px;position:absolute;inset:10px}.joystick-knob{width:38px;height:38px;transform:translate3d(var(--stick-x),var(--stick-y),0);pointer-events:none;box-sizing:border-box;background:radial-gradient(circle at 36% 28%,#e4dec3d9,#a6b08ca8);border:1px solid #f1e5c775;border-radius:50%;position:absolute;top:28px;left:28px;box-shadow:0 3px 8px #081c1255}.joystick-caption{letter-spacing:1px;opacity:.62;pointer-events:none;font-size:9px;position:absolute;bottom:0;left:0;right:0}.move-joystick.active{cursor:grabbing}.move-joystick.active .joystick-base{background-color:#23392b99;border-color:#dddbb477}.move-joystick.active .joystick-knob{background:radial-gradient(circle at 36% 28%,#fff0cc,#c7c6a9);border-color:#fff1ca}#hud .activity{left:auto;right:max(12px,env(safe-area-inset-right,0px));max-width:calc(100% - 136px);bottom:calc(var(--mobile-controls-height,90px) + 24px + env(safe-area-inset-bottom,0px))}#hud .activity.expanded{width:min(270px,100% - 136px)}#hud .activity:not(.expanded)>button{white-space:nowrap}}@media (height<=500px) and (width<=700px),(height<=500px) and (any-pointer:coarse){.move-joystick{width:80px;height:96px}.joystick-base{width:80px;height:80px}.joystick-knob{width:32px;height:32px;top:23px;left:23px}.joystick-directions{width:62px;height:62px;inset:8px}}@media (width<=700px){.ritual-sound-controls{margin-top:17px;padding-bottom:12px}.ritual-sound-choices button{padding:9px 8px;font-size:11px}.ritual-voice-note,.ritual-voice-status{font-size:10px}.voice-caption{letter-spacing:0;width:calc(100% - 32px);max-width:calc(100% - 32px);font-size:clamp(12px,3.56vw,14px);line-height:1.9;top:104px}}@media (height<=500px){.voice-caption{font-size:13px;line-height:1.7;top:96px}}@media (width<=700px){.animal-card{border-radius:14px;width:min(248px,100%);padding:0 9px 7px}.animal-card-heading{min-height:44px}.animal-card h2{font-size:12px}.animal-card-actions{gap:6px}.animal-card-actions button{min-height:44px;font-size:11px}.animal-card [data-animal-status]{margin-top:4px;font-size:10px;line-height:1.45}.animal-card-heading button{min-height:44px}button.companion-label{min-width:44px;min-height:44px;padding:13px 8px;font-size:9px}#hud[data-animal-open=true] .activity:not(.expanded){display:none}}.animal-show-status{color:#dcdac2;text-align:center;pointer-events:none;text-shadow:0 1px 5px #132719;margin:0 0 7px;font-size:10px;line-height:1.4}#animal-show-button[aria-pressed=true]{background:#d7ddc7}#hud[data-animal-open=true] .animal-show-status,#hud.gazing .animal-show-status{display:none}@media (width<=700px){.animal-show-status{margin:0 0 2px;font-size:10px}.action-bar #animal-show-button{white-space:nowrap}}#context-wrap{flex-wrap:wrap;justify-content:center;align-items:center;gap:6px;max-width:100%;display:flex}#context-wrap>.context-button{min-width:0}.fire-feed-wrap{flex:none;display:inline-flex}.fire-feed-button{isolation:isolate;color:#ead8b1;white-space:nowrap;background:0 0;border:0;border-radius:17px;justify-content:center;align-items:center;gap:5px;min-height:44px;padding:8px 11px;font-size:11px;line-height:1.3;display:inline-flex;position:relative}.fire-feed-button:before{content:"";z-index:-1;pointer-events:none;background:#493e2cce;border:1px solid #dcc29555;border-radius:16px;position:absolute;inset:5px 0}.fire-feed-button svg{width:16px;height:16px}.fire-feed-button:disabled{opacity:.52}#hud[data-animal-open=true] .fire-feed-wrap{display:none}@media (width<=700px){.action-bar #animal-show-button{white-space:normal;gap:4px}.action-bar #animal-show-button>span{white-space:normal;word-break:keep-all;text-align:left;max-width:32px;line-height:1.2}.action-bar #animal-show-button[aria-pressed=true]>span{max-width:none;font-size:10px}.fire-feed-button{padding:8px 10px;font-size:10px}#gaze-hud>div{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;display:grid}#gaze-hud button{white-space:nowrap;min-width:0;min-height:44px;padding:9px 8px;font-size:11px}}.animal-show-status{white-space:pre-line}#context-wrap>.ritual-host-button{isolation:isolate;color:#e5ddc4;white-space:nowrap;background:0 0;border:0;border-radius:16px;flex:none;min-width:0;min-height:44px;padding:8px 11px;font-size:11px;line-height:1.3;position:relative}#context-wrap>.ritual-host-button:before{content:"";z-index:-1;pointer-events:none;background:#273a2bd9;border:1px solid #c3c7a54d;border-radius:15px;position:absolute;inset:5px 0}#context-wrap>.ritual-host-button:hover:before{background:#3a4d35}#context-wrap>.ritual-host-button:focus-visible{outline-offset:2px;outline:2px solid #e5cc93}#context-wrap>.ritual-host-button:disabled{opacity:.58;cursor:default}@media (width<=700px){#context-wrap>.ritual-host-button{padding:8px 10px;font-size:10px}}#rest-menu{inset:auto 0 max(94px, calc(env(safe-area-inset-bottom) + 76px));color:#eee9d9;background:#24392f;border:1px solid #74816a;border-radius:19px;width:min(355px,100% - 28px);padding:14px;position:fixed;box-shadow:0 9px 26px #0d161680}#rest-menu::backdrop{background:#101c1844}.rest-heading{justify-content:space-between;gap:10px;margin:0 2px 11px;display:flex}.rest-heading h2{margin:0;font-size:17px}.rest-heading p{color:#c2c9b9;margin:3px 0 0;font-size:12px}#rest-menu .close-panel{color:#eee9d9;border-radius:50%;width:44px;min-height:44px;padding:0}.rest-choice{color:#344334;text-align:left;background:#efe5cd;border-radius:12px;grid-template-columns:38px 1fr 16px;align-items:center;gap:10px;width:100%;min-height:60px;margin-top:7px;padding:9px;display:grid}#rest-wax{background:#e1e6d2}.rest-choice strong,.rest-choice small{display:block}.rest-choice small{color:#465646;margin-top:2px;font-size:11px}.rest-choice svg{width:16px;height:16px}.rest-icon{color:#654d26;background:#e4d2a9;border-radius:11px;place-items:center;height:38px;display:grid}.rest-icon svg{width:22px;height:22px}#rest-wax .rest-icon{color:#3e5836;background:#cad7b9}#wax-dialog{box-sizing:border-box;color:#eee9d9;background:#16271ed9;border:1px solid #b9be9e54;border-radius:22px;width:min(460px,100% - 22px);max-height:calc(100dvh - 22px);padding:8px}#wax-dialog::backdrop{background:#111c1857}#wax-dialog .close-panel{color:#f1dfba;min-height:44px;margin-left:auto;padding:0 13px;font-size:13px;display:block}#wax-frame-host iframe{border:0;width:100%;height:min(480px,100dvh - 94px);display:block}
