*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden;background:#050b10;color:#fff1d3;font-family:Georgia,'Times New Roman',serif}#game{position:absolute;width:min(100vw,177.7778vh);height:min(100vh,56.25vw);left:50%;top:50%;transform:translate(-50%,-50%);overflow:hidden;container-type:size}canvas,section,#loading,#fade{position:absolute;inset:0}canvas{width:100%;height:100%;display:block}button{font:inherit;color:inherit;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent}button:focus-visible{outline:1px solid #ffe3a1;outline-offset:5px}section[hidden],#loading[hidden]{display:none}#loading{z-index:10;display:grid;place-content:center;text-align:center;background:#091719;font-size:40px;letter-spacing:8px}#loading span{display:block;font-size:14px;letter-spacing:2px;margin-top:24px}#start{position:absolute;left:37.5%;top:61%;width:25%;height:16%;background:none;border:0;border-radius:40%}header{text-align:center;position:absolute;top:7%;width:100%}h1{font-size:clamp(16px,4cqh,38px);font-weight:normal;margin:0;text-shadow:0 2px 10px #000}.choices{position:absolute;top:27%;left:18%;width:64%;height:43%;display:flex;gap:7%}.choices button{position:relative;width:50%;background:transparent;border:0}.choices button[aria-pressed=true]::after{content:'';position:absolute;left:46%;bottom:0;width:8%;height:2px;background:#efd29b;box-shadow:0 0 9px #e8bf71}footer{position:absolute;top:74%;width:100%;text-align:center}.primary,.text{border:0;background:transparent;text-shadow:0 2px 8px #000;min-height:36px;padding:4px 20px}.primary{font-size:clamp(13px,3cqh,25px)}.primary:hover,.text:hover{color:#ffdc94}.text{display:block;margin:0 auto;font-size:clamp(11px,2.2cqh,18px);color:#d1c8b7}small{display:block;font:clamp(7px,1.4cqh,11px) Arial;letter-spacing:1px;color:#b2b9ac;margin-top:1cqh}#chosen{text-align:center;padding-top:68%}#chosen h1{position:absolute;top:66%;width:100%;font-size:3cqh}#chosen .primary{position:absolute;top:76%;left:25%;width:50%}#chosen .text{position:absolute;top:85%;left:25%;width:50%}#fade{pointer-events:none;background:#061010;opacity:0;z-index:5;transition:opacity .28s}#fade.active{opacity:1}#notice{position:absolute;bottom:1%;left:3%;font:11px Arial;color:#e9cc9b}@media(prefers-reduced-motion:reduce){*{transition:none!important}}
.choices button:focus-visible{outline:none}.choices button:focus-visible::after{box-shadow:0 0 12px #ffe3a1}

/* The scene supplies permanent character panels; keyboard focus adds no frame. */
.choices button,.choices button:focus,.choices button:focus-visible,.choices button:active{outline:none!important;border:0!important;box-shadow:none!important}
.choices button::after,.choices button[aria-pressed=true]::after{display:none!important}

#level-ui{pointer-events:none;font-family:Georgia,serif;touch-action:none;user-select:none;-webkit-user-select:none}#level-ui button{pointer-events:auto;touch-action:none;user-select:none;-webkit-user-select:none} .level-top{position:absolute;top:3%;left:3%;right:3%;display:flex;align-items:center;gap:18px;text-shadow:0 2px 5px #000}.level-top>span:first-child{color:#f3a19b;font-size:clamp(16px,3.6cqh,28px);letter-spacing:4px}.level-top>span:nth-child(2){font-size:clamp(11px,2.1cqh,18px);color:#eee1c3}.level-top button{margin-left:auto;background:#10282be0;border:1px solid #a8b5a46b;border-radius:6px;font-size:18px;width:42px;height:36px}#level-message{position:absolute;top:13%;left:20%;width:60%;text-align:center;color:#f1e6cd;font-size:clamp(10px,2cqh,17px);text-shadow:0 2px 5px #000}.level-help{position:absolute;bottom:3%;width:100%;text-align:center;font:clamp(7px,1.4cqh,11px) Arial;letter-spacing:1px;color:#e2dcc5;text-shadow:0 2px 3px #000}.touch-pad{position:absolute;left:3%;bottom:7%;width:clamp(96px,20cqh,152px);height:clamp(96px,20cqh,152px);display:grid;grid-template:repeat(3,1fr)/repeat(3,1fr);gap:3px}.touch-pad button,.touch-actions button{border:1px solid #cfc9ac70;border-radius:10px;background:#10282b99;color:#eee1c3;text-shadow:0 1px 3px #000;min-width:0;font:clamp(12px,2cqh,16px) Georgia}.touch-pad button:active,.touch-actions button:active{background:#5b716bcf}.touch-pad [data-move=up]{grid-area:1/2}.touch-pad [data-move=left]{grid-area:2/1}.touch-pad [data-move=down]{grid-area:3/2}.touch-pad [data-move=right]{grid-area:2/3}.touch-actions{position:absolute;right:3%;bottom:10%;display:flex;gap:12px}.touch-actions button{width:clamp(53px,10cqh,78px);height:clamp(48px,9cqh,70px);border-radius:50%}#level-menu{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;background:#05131be8;pointer-events:auto}#level-menu[hidden]{display:none}#level-menu h2{font-size:clamp(20px,4cqh,32px);font-weight:normal}#level-menu button{background:transparent;border:0;padding:9px 20px;font-size:clamp(12px,2.5cqh,20px)}#level-menu button:hover{color:#f7d99b}@media(pointer:fine){.touch-pad,.touch-actions{opacity:.55}.touch-pad:hover,.touch-actions:hover{opacity:1}}@media(max-height:480px){.level-help{display:none}}

#company-intro{z-index:30;background:#11171c;display:grid;place-items:center;touch-action:manipulation}#company-intro canvas{position:static;inset:auto;width:38%;height:auto;max-height:15%;object-fit:contain;opacity:0}#company-intro button{position:absolute;bottom:17%;left:10%;width:80%;padding:18px 8px;background:none;border:0;font:clamp(9px,1.8cqh,14px) Arial;letter-spacing:2px;color:#d2cec5}#company-intro button[hidden]{display:none}
.forest-hud{position:absolute;top:3%;left:3%;right:3%;display:flex;align-items:flex-start;gap:12px}.forest-hud #level-health{display:flex;gap:3px;padding-top:4px}.forest-hud #level-health img{width:clamp(17px,4.2cqh,34px);height:auto;object-fit:contain}.forest-hud .forest-score{position:relative;margin-left:auto;width:clamp(112px,27cqh,200px)}.forest-score>img{width:100%;display:block}.forest-score>span{position:absolute;left:36%;top:31%;width:58%;text-align:center;color:#65452d;font:bold clamp(11px,2.7cqh,21px) Georgia}.forest-hud #level-pause{background:#0e293bb0;border:1px solid #78959d70;border-radius:5px;width:clamp(30px,7cqh,44px);height:clamp(28px,6.5cqh,42px);font-size:18px}#lantern-prompt{position:absolute;transform:translate(-50%,-100%);width:clamp(35px,10cqh,70px);padding:0;background:none;border:0;filter:drop-shadow(0 2px 5px #05202c)}#lantern-prompt>img{width:100%;display:block}#lantern-prompt>span{display:block;font:bold clamp(7px,1.55cqh,11px) Arial;color:#fff1c9;white-space:nowrap;text-shadow:0 1px 3px #000;margin-top:2px}#lantern-prompt[hidden],#forest-dialogue[hidden]{display:none}#forest-dialogue{position:absolute;bottom:6%;left:25%;width:50%;padding:0;background:none;border:0;color:#65452d;text-align:left}#forest-dialogue>img{display:block;width:100%}#dialogue-name{position:absolute;left:8%;top:7%;font:bold clamp(8px,1.6cqh,13px) Georgia;max-width:30%;overflow:hidden;white-space:nowrap}#dialogue-text{position:absolute;left:8%;right:8%;top:35%;font:clamp(9px,2cqh,16px)/1.35 Georgia}.level-help{font-size:clamp(6px,1.25cqh,10px)}

/* Pause uses the supplied illustrated paper panel, like in-world dialogue. */
#level-menu{background:#061b2a92;backdrop-filter:blur(3px);gap:0}#level-menu .pause-sheet{position:relative;width:min(78%,680px);height:66%;color:#6a482e}#level-menu .pause-paper{position:absolute;inset:0;width:100%;height:100%;object-fit:fill;pointer-events:none;filter:drop-shadow(0 8px 14px #06162170)}#level-menu h2{position:absolute;left:8%;top:5%;margin:0;width:22%;text-align:center;font:bold clamp(13px,3.4cqh,28px) Georgia;color:#785033;text-shadow:0 1px #ffe7bf}#level-menu .pause-options{position:absolute;left:9%;right:9%;top:32%;bottom:17%;display:grid;grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr;gap:7px 16px}#level-menu button{border:0;border-bottom:1px solid #ac774d50;border-radius:8px;padding:6px 9px;min-height:32px;color:#6b472c;background:transparent;font:bold clamp(10px,2.5cqh,20px) Georgia;transition:background .15s,color .15s}#level-menu button:hover,#level-menu button:focus-visible{color:#8b431e;background:#edba7360;outline:2px solid #ce93584d;outline-offset:1px}#level-menu button:active{background:#e4a85f80}
/* Title and selection share the same animated forest as gameplay. */
#start{left:35%;top:62%;width:30%;height:17%;background-color:transparent;background-repeat:no-repeat;background-position:center;background-size:contain;border:0;border-radius:0;filter:drop-shadow(0 5px 8px #071c2670);transition:filter .18s,transform .18s}#start span{display:block;margin-left:31%;margin-right:8%;font:bold clamp(11px,2.6cqh,22px) Georgia;color:#754c2d;text-shadow:0 1px #fff3d2}#start:hover{filter:drop-shadow(0 0 12px #efc87270) brightness(1.06)}#start:active{transform:scale(.97)}#start:focus-visible{outline:none;filter:drop-shadow(0 0 12px #efc872a0)}#selection header{top:7%}#selection h1{color:#fff0ce;font-size:clamp(17px,3.8cqh,34px)}#level-menu .pause-sheet{height:58%;width:min(72%,620px)}#level-menu .pause-options{grid-template-columns:1fr;grid-template-rows:1fr 1fr;left:18%;right:18%;top:29%;bottom:15%;gap:6px}#level-menu button{font-size:clamp(12px,2.8cqh,22px)}

#start{left:40%;top:69%;width:20%;height:12%;filter:drop-shadow(0 3px 8px #051526b0)}#start .visually-hidden{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
/* Character selection: two paper actors on a quiet theatrical stage. */
#selection .selection-heading{top:6%;pointer-events:none}.selection-eyebrow{font:clamp(8px,1.6cqh,13px) Baskerville,Georgia,serif;letter-spacing:.4em;color:#c9b88f}#selection h1{font-family:Baskerville,'Palatino Linotype',Georgia,serif;font-weight:normal;font-size:clamp(24px,5.2cqh,44px);letter-spacing:.02em;margin:1.2cqh 0 .5cqh}#selection header p{font:clamp(10px,2cqh,16px) Baskerville,Georgia,serif;letter-spacing:.08em;color:#b8c9c5;margin:0}.choices{top:21%;left:13%;width:74%;height:61%;gap:10%}.choices button{width:45%;padding:0}.choice-nameplate{position:absolute;bottom:0;left:3%;width:94%;height:25%;display:block;transition:filter .2s,transform .2s;opacity:.8}.choice-paper{position:absolute;inset:0;width:100%;height:100%;object-fit:fill}.choice-index{position:absolute;left:6%;top:3%;width:24%;height:22%;display:grid;place-items:center;font:clamp(8px,1.5cqh,13px) Georgia;color:#926340}.choice-nameplate strong{position:absolute;left:14%;right:14%;top:35%;font:normal clamp(15px,3.3cqh,28px) Baskerville,Georgia,serif;color:#68462d}.choice-status{position:absolute;top:72%;left:10%;right:10%;font:clamp(7px,1.4cqh,11px) Georgia;letter-spacing:.12em;text-transform:uppercase;color:#a17b50}.choices button[aria-pressed=true] .choice-nameplate{opacity:1;filter:drop-shadow(0 0 9px #d0b47745);transform:translateY(-2px)}.choices button:focus-visible .choice-nameplate{filter:drop-shadow(0 0 12px #e0c38b90)}.selection-footer{top:85%;height:14%;display:block}.selection-footer #back{position:absolute;left:10%;top:15%;margin:0;font:clamp(11px,2.3cqh,18px) Baskerville,Georgia,serif;color:#cfdbd1}.selection-confirm{position:absolute;left:36%;top:0;width:28%;height:78%;border:0;background:transparent center/100% 100% no-repeat;padding:8px 20px 0;font:bold clamp(12px,2.6cqh,22px) Baskerville,Georgia,serif;color:#714c2e;text-shadow:0 1px #fff0d2}.selection-confirm span{margin-left:12px;color:#bb8044}.selection-confirm:hover{filter:brightness(1.06) drop-shadow(0 2px 8px #c69e5940)}.selection-footer p{position:absolute;bottom:0;width:100%;margin:0;font:clamp(7px,1.5cqh,12px) Baskerville,Georgia,serif;color:#9fb6b1}.selection-confirm:focus-visible{outline:none;filter:drop-shadow(0 0 8px #dec08b70)}
/* Gameplay counters and controls use a shared ink / brass / warm-paper palette. */
.forest-hud{align-items:center;gap:1.4cqw}.hud-counters{margin-left:auto;display:flex;gap:1.2cqw}.hud-pill{height:clamp(32px,8cqh,58px);min-width:clamp(86px,21cqh,155px);display:flex;align-items:center;gap:9px;padding:4px 13px 4px 9px;background:#071e2bdc;border:1px solid #bda77c78;border-radius:8px;box-shadow:inset 0 0 0 2px #e7d3a409,0 3px 10px #03101d40;color:#f1dfb9}.hud-pill .hud-lantern{height:110%;width:clamp(22px,5cqh,38px);object-fit:contain;filter:drop-shadow(0 0 5px #efc77630)}.hud-pill svg{width:clamp(20px,4.5cqh,32px);height:auto;color:#d3b77f}.hud-pill div{display:flex;flex-direction:column}.hud-pill small{font:clamp(6px,1.25cqh,10px) Baskerville,Georgia,serif;letter-spacing:.16em;margin:0;color:#bca985;text-transform:uppercase}.hud-pill span{font:bold clamp(13px,3.2cqh,24px) Baskerville,Georgia,serif;font-variant-numeric:tabular-nums;line-height:1.05}.forest-hud .hud-round{height:clamp(30px,7cqh,46px);width:clamp(30px,7cqh,46px);border:1px solid #a48e6270;border-radius:50%;background:#0a2330d0;color:#e2cfab;padding:7px;display:grid;place-items:center}.hud-round svg{height:100%;width:100%}.hud-round[aria-pressed=true]{opacity:.5}.forest-hud #level-pause{margin:0;border-radius:50%;width:clamp(30px,7cqh,46px);height:clamp(30px,7cqh,46px);background:#0a2330d0;border-color:#a48e6270;padding:7px}.touch-stick{position:absolute;left:4%;bottom:8%;width:clamp(100px,24cqh,166px);height:clamp(100px,24cqh,166px);border-radius:50%;border:1px solid #bea47265;background:radial-gradient(circle,#092b37b0,#071c2ba8 65%,#0b1a2690);box-shadow:inset 0 0 0 5px #ddc69c0b,inset 0 0 20px #08101c80,0 5px 14px #03132130;pointer-events:auto;touch-action:none}.stick-mark{position:absolute;inset:12%;border:1px solid #a6b3a229;border-radius:50%}.stick-mark:before,.stick-mark:after{content:'';position:absolute;background:#cbb68a26}.stick-mark:before{width:1px;height:100%;left:50%}.stick-mark:after{height:1px;width:100%;top:50%}.stick-thumb{position:absolute;left:32%;top:32%;width:36%;height:36%;border-radius:50%;background:radial-gradient(circle at 35% 25%,#eddfbb,#bba77c);border:2px solid #e3d2a69c;box-shadow:0 4px 10px #03101c70,inset 0 0 0 3px #745c3740;pointer-events:none;will-change:transform}.touch-actions{right:4%;bottom:9%;gap:12px;align-items:flex-end}.touch-actions .action-button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;width:clamp(63px,15cqh,98px);height:clamp(63px,15cqh,98px);border:1px solid #d4bb8a9c;background:radial-gradient(circle at 35% 20%,#eddcbaed,#bea67feb);box-shadow:inset 0 0 0 4px #785c3830,0 5px 15px #04111b70;color:#57462f;border-radius:50%;font:clamp(9px,1.8cqh,14px) Baskerville,Georgia,serif;letter-spacing:.04em;text-shadow:none}.touch-actions .action-button svg{width:39%;height:39%;color:#6d5533}.touch-actions [data-action=jump]{width:clamp(55px,12.5cqh,84px);height:clamp(55px,12.5cqh,84px);margin-bottom:28px}.action-button:active{filter:brightness(1.12);transform:translateY(2px)}#level-menu h2{left:4.5%;top:.5%;width:24%;height:22%;display:grid;place-items:center;line-height:1;padding:0;font: bold clamp(14px,3.2cqh,28px) Baskerville,Georgia,serif}#level-menu button{font-family:Baskerville,Georgia,serif}.score-burst{position:absolute;pointer-events:none;color:#f9dda0;font:bold clamp(16px,4cqh,28px) Baskerville,Georgia,serif;text-shadow:0 2px 5px #04121b;transform:translate(-50%,-50%)}#respawn-shade{position:absolute;inset:0;pointer-events:none;background:#000;opacity:0;z-index:8}#respawn-shade.flash{animation:respawn .9s ease-out}@keyframes respawn{0%,15%{opacity:1}100%{opacity:0}}#level-ui.cinematic .forest-hud,#level-ui.cinematic .touch-stick,#level-ui.cinematic .touch-actions,#level-ui.cinematic #lantern-prompt,#level-ui.cinematic #forest-dialogue{display:none}.level-help{display:none!important}@media(pointer:fine){.touch-stick,.touch-actions{opacity:.72}.touch-stick:hover,.touch-actions:hover{opacity:1}}@media(max-width:600px){.selection-footer p{display:none}.hud-pill{gap:5px;padding-right:8px}.forest-hud{gap:8px}.hud-counters{gap:6px}.hud-pill small{font-size:6px}}
/* Choose by touching the actors themselves. No visible selection UI. */
#selection .choices{top:12%;left:16%;width:68%;height:80%;gap:18%}#selection .choices button{width:41%;background:none;border:0;padding:0;outline:none}#selection .choices button:focus-visible{outline:none}#selection .choices button:after{display:none!important}
/* Supplied illustrated paper, shared with dialogue and pause. */
.hud-pill{position:relative;width:clamp(100px,25cqh,185px);height:clamp(42px,11.2cqh,80px);min-width:0;background:none;border:0;border-radius:0;box-shadow:none;padding:0;display:block;color:#704b30;filter:drop-shadow(0 3px 4px #06131e50)}.hud-pill .hud-paper{position:absolute;inset:0;width:100%;height:100%;object-fit:fill}.hud-pill .hud-lantern,.hud-pill .hud-coin{position:absolute;left:10%;top:29%;width:24%;height:62%;object-fit:contain;filter:none}.hud-pill div{position:absolute;inset:0;display:block}.hud-pill small{position:absolute;top:6%;left:5%;width:24%;height:18%;display:grid;place-items:center;font:bold clamp(5px,1.25cqh,10px) Baskerville,Georgia,serif;letter-spacing:0;text-transform:none;color:#795130}.hud-pill span{position:absolute;left:37%;right:14%;top:41%;font:bold clamp(13px,3.4cqh,26px) Baskerville,Georgia,serif;text-align:center;line-height:1.1;color:#704b30}.hud-counters{gap:.7cqw}.forest-hud{top:2%}.forest-hud .hud-round{margin-top:1.5cqh}#forest-dialogue:focus-visible{outline:none;filter:drop-shadow(0 0 5px #dec59666)}
#start{left:42.5%;top:70%;width:15%;height:9%}#selection .choices{top:20%;height:65%;left:17%;width:66%;gap:18%}
#lantern-question[hidden]{display:none}#lantern-question{position:absolute;inset:0;z-index:10;display:grid;place-items:center;background:#061722b0;backdrop-filter:blur(3px);pointer-events:auto;color:#68482f}.question-sheet{position:relative;width:88%;height:85%;max-width:1050px}.question-paper{position:absolute;width:100%;height:100%;object-fit:fill;pointer-events:none}#question-number{position:absolute;left:5%;top:2%;width:25%;height:17%;display:grid;place-items:center;font:bold clamp(12px,2.7cqh,23px) Baskerville,Georgia,serif}#question-close{position:absolute;right:8%;top:17%;width:clamp(28px,6cqh,43px);height:clamp(28px,6cqh,43px);border:0;background:transparent;color:#98633f;font:clamp(22px,4cqh,32px) Georgia}#question-statement{position:absolute;left:8%;right:12%;top:22%;height:17%;display:flex;align-items:center;margin:0;font:clamp(12px,2.8cqh,23px)/1.3 Baskerville,Georgia,serif;text-align:left}.response-options{position:absolute;left:8%;right:8%;top:43%;height:31%;display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(2,1fr);gap:1.5cqh 1cqw}.response-option{position:relative;display:flex;align-items:center;gap:.7cqw;text-align:left;border:1px solid #ad805758;border-radius:8px;background:#fff7e755;color:#765336;padding:1cqh .9cqw;font:clamp(9px,1.9cqh,16px)/1.15 Baskerville,Georgia,serif;transition:background .15s,box-shadow .15s}.response-option b{flex-shrink:0;display:grid;place-items:center;border:1px solid #b7895f;border-radius:50%;width:3.8cqh;height:3.8cqh;font:bold clamp(10px,2.3cqh,19px) Georgia}.response-option[aria-pressed=true]{background:#ebc88edb;border-color:#9c6336;box-shadow:inset 0 0 0 1px #9c6336}.response-option[aria-pressed=true] b{background:#a16a38;color:#fff1d3;border-color:#a16a38}.response-option:focus-visible{outline:2px solid #bb8854;outline-offset:2px}.question-footer{position:absolute;left:8%;right:12%;top:79%;height:10%;display:flex;align-items:center;justify-content:space-between;gap:8px}.question-footer>span{font:clamp(7px,1.5cqh,12px) Baskerville,Georgia,serif;color:#96714e}#question-confirm{border:1px solid #ad794f;border-radius:22px;padding:1cqh 2.5cqw;font:bold clamp(11px,2.5cqh,21px) Baskerville,Georgia,serif;color:#71482a;background:#e9c994}#question-confirm:disabled{opacity:.35;cursor:default}#level-ui:has(#lantern-question:not([hidden])) .touch-stick,#level-ui:has(#lantern-question:not([hidden])) .touch-actions{visibility:hidden}
#lantern-question:focus{outline:none}.response-option{font-size:clamp(10px,2.4cqh,18px)}
/* A focused reading surface with one-tap answers and an ordered six-point scale. */
#lantern-question{background:#06151cb8;backdrop-filter:blur(4px);padding:4cqh 0;color:#543b29}#lantern-question .question-sheet{width:min(88%,940px);height:auto;max-height:92cqh;overflow:auto;overscroll-behavior:contain;padding:2.3cqh 2.8cqw 2.5cqh;border:1px solid #bc956b;border-radius:clamp(16px,3cqh,26px);background:#fff0d3 var(--paper-texture) repeat;background-size:220px 150px;box-shadow:0 18px 70px #0008,inset 0 0 0 3px #fff4dcaa}.question-top{display:flex;justify-content:space-between;align-items:center;gap:16px}#question-number{position:static;display:block;width:auto;height:auto;font:clamp(11px,2cqh,15px) Georgia,serif;letter-spacing:.14em;font-variant-numeric:tabular-nums;color:#92724f}#question-close{position:static;display:grid;place-items:center;flex-shrink:0;width:clamp(32px,6cqh,44px);height:clamp(32px,6cqh,44px);padding:0;border:0;border-radius:50%;font:28px/1 Georgia;color:#816044;background:transparent}#question-close:hover{background:#b7884f18}#question-statement{position:static;display:block;height:auto;margin:2cqh 0 3.5cqh;font:clamp(15px,3.4cqh,27px)/1.35 Baskerville,Georgia,serif;letter-spacing:0;text-align:left;color:#553a26}.response-options{position:static;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));grid-template-rows:auto;height:auto;gap:.8cqw}.response-option{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:1.5cqh;min-height:clamp(100px,21cqh,150px);padding:1.8cqh .7cqw;border:1px solid #a77e4f55;border-radius:12px;background:#fff9e875;box-shadow:0 2px 0 #b5906120;color:#67462b;text-align:center;transition:background .12s,border-color .12s,transform .12s}.response-option b{width:clamp(29px,6cqh,42px);height:clamp(29px,6cqh,42px);font:bold clamp(18px,3.5cqh,25px)/1 Georgia;border:1px solid #ad8655;border-radius:50%;background:#f5e4c1;color:#75522f}.response-option span{font:clamp(11px,2cqh,15px)/1.3 Baskerville,Georgia,serif;overflow-wrap:normal}.response-option:hover{border-color:#a4773f;background:#f6e1b6}.response-option[aria-pressed=true]{background:#ead09c;border-color:#8f642f;box-shadow:inset 0 0 0 1px #8f642f}.response-option[aria-pressed=true] b{background:#8b6336;border-color:#8b6336;color:#fff4d7}.response-option:focus-visible{outline:2px solid #825a2e;outline-offset:3px}.response-option:active{transform:translateY(1px)}.question-footer{position:static;display:block;height:auto;margin-top:2.5cqh;text-align:right}.question-footer>span{font:clamp(8px,1.6cqh,12px)/1.3 Baskerville,Georgia,serif;letter-spacing:.02em;color:#947754}
@container (max-width:899px){#lantern-question .question-sheet{width:91%;padding:1.8cqh 3cqw 2cqh}.response-options{grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(2,1fr);gap:1.8cqh 1.4cqw}.response-option{flex-direction:row;text-align:left;justify-content:flex-start;gap:1.1cqw;min-height:max(44px,13.5cqh);padding:1cqh 1.1cqw;border-radius:9px}.response-option b{width:clamp(23px,5.5cqh,30px);height:clamp(23px,5.5cqh,30px);font-size:clamp(14px,3cqh,20px)}.response-option span{font-size:clamp(10px,2.6cqh,15px)}#question-statement{font-size:clamp(12px,3.4cqh,21px);margin:1.3cqh 0 2.7cqh}.question-footer{margin-top:2cqh}}
@media(pointer:coarse){.question-footer{display:none}}
/* Compact illustrated counters: only the supplied icons and values. */
.hud-pill{width:clamp(82px,20cqh,145px);height:clamp(33px,7.5cqh,55px);border:1px solid #bf9665;border-radius:50px;background:#f7e5c2 var(--paper-texture) repeat;background-size:180px 120px;box-shadow:inset 0 0 0 2px #fff6df80,0 3px 8px #05131b40;filter:none}.hud-pill .hud-lantern{left:8%;top:5%;width:27%;height:90%;object-fit:contain}.hud-pill .hud-coin{left:9%;top:17%;width:25%;height:66%;object-fit:contain}.hud-pill span{top:50%;left:38%;right:10%;transform:translateY(-50%);font-size:clamp(14px,3.2cqh,24px);line-height:1;color:#66452b}.forest-hud{align-items:center}.forest-hud .hud-round{margin-top:0}.forest-hud #level-health{padding-top:0}.touch-stick:after{content:'';position:absolute;inset:5%;border:1px dashed #ddc48c50;border-radius:50%;pointer-events:none}.touch-stick.sprinting{border-color:#e3cb8abf;box-shadow:inset 0 0 0 5px #ddc69c18,inset 0 0 20px #08101c80,0 0 15px #dcc28a20}.touch-stick.sprinting:after{border-style:solid;border-color:#ddc48c90}.touch-stick.sprinting .stick-thumb{background:radial-gradient(circle at 35% 25%,#fff0c8,#d9b875)}
/* Native language names stay available from the title, outside character selection. */
#language-picker{position:absolute;right:3%;bottom:4%;display:flex;align-items:center;gap:3px;padding:4px;border:1px solid #c8b18370;border-radius:24px;background:#0a202cc9;box-shadow:0 3px 12px #03121d40}#language-picker button{border:0;border-radius:20px;padding:7px 12px;background:transparent;color:#e6d9be;font:clamp(10px,1.9cqh,15px)/1.25 Baskerville,Georgia,serif;white-space:nowrap}#language-picker button[aria-pressed=true]{background:#f6e3bf var(--paper-texture,none);color:#61452c;box-shadow:inset 0 0 0 1px #d6b782}#language-picker button:hover{color:#ffe4aa}#language-picker button[aria-pressed=true]:hover{color:#61452c}#language-picker button:focus-visible{outline:2px solid #f4d796;outline-offset:2px}#language-picker [lang=ja]{font-family:'Hiragino Kaku Gothic ProN','Yu Gothic',Meiryo,sans-serif}
#start{display:grid;place-items:center;background:#f5ddb0 var(--paper-texture,none) center/180px 120px repeat;border:2px solid #a16c37;border-radius:50px;box-shadow:inset 0 0 0 2px #fff1d3,0 4px 10px #06182270;padding:0 8px;color:#6a4325;font:bold clamp(11px,2.5cqh,20px)/1.15 Baskerville,Georgia,serif;filter:none}#start span{display:block;margin:0;font:inherit;color:inherit;text-shadow:0 1px #fff1d0}
html[lang=ja] #start,html[lang=ja] #level-ui,html[lang=ja] #level-menu button,html[lang=ja] #level-menu h2,html[lang=ja] #question-statement,html[lang=ja] .response-option span,html[lang=ja] .question-footer>span,html[lang=ja] .touch-actions .action-button{font-family:'Hiragino Kaku Gothic ProN','Yu Gothic',Meiryo,sans-serif}html[lang=ja] #question-statement{font-size:clamp(15px,3.1cqh,24px);line-height:1.65;line-break:strict}html[lang=ja] .response-option span{line-height:1.55;line-break:strict;font-size:clamp(11px,1.85cqh,14px)}html[lang=ja] .question-footer>span{font-size:clamp(8px,1.4cqh,11px)}@container(max-width:899px){#language-picker button{padding:6px 9px}html[lang=ja] #question-statement{font-size:clamp(12px,3.1cqh,20px)}html[lang=ja] .response-option span{font-size:clamp(10px,2.5cqh,14px)}}
.response-option span{text-wrap:balance}html[lang=ja] .response-option span{word-break:normal;text-wrap:balance}
/* Three travelers, then a quiet pre-game profile screen. */
#selection .choices{left:9%;width:82%;top:19%;height:62%;gap:0;justify-content:space-between}#selection .choices button{width:31%;background:none}
#profile-form{position:absolute;left:44%;right:6%;top:10%;max-height:82%;overflow:auto;padding:3.2cqh 2.5cqw;border:1px solid #bb9569;border-radius:clamp(14px,2.6cqh,24px);background:#f9e9c9 var(--paper-texture,none) repeat;background-size:220px 150px;box-shadow:0 10px 35px #04131b60,inset 0 0 0 3px #fff6df80;color:#60432c}#profile .profile-heading{position:static;width:auto;text-align:left;margin:0 0 3cqh}#profile h1{margin:0;font:normal clamp(15px,3.8cqh,29px)/1.25 Baskerville,Georgia,serif;color:#5a3e28;text-shadow:none}#profile-title:focus{outline:none}.profile-fields{display:grid;grid-template-columns:.34fr 1fr;gap:1.5cqw;align-items:start}.profile-age-field{display:flex;flex-direction:column;gap:1.3cqh}.profile-age-field>span,.profile-label,.profile-gender legend{font:clamp(11px,2.3cqh,18px)/1.2 Baskerville,Georgia,serif;color:#735438}.profile-gender{margin:0;padding:0;border:0;min-width:0}.profile-gender legend{margin:0 0 1.3cqh;padding:0}.gender-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.6cqw}.gender-options label{position:relative;cursor:pointer;min-width:0}.gender-options input{position:absolute;opacity:0;width:1px;height:1px}.gender-options span{display:grid;place-items:center;min-height:clamp(34px,7cqh,48px);padding:4px;border:1px solid #b7956b70;border-radius:8px;background:#fff5dd70;font:clamp(10px,2.2cqh,17px)/1.2 Baskerville,Georgia,serif;color:#7c5c3d}.gender-options input:checked+span{border-color:#9c713f;background:#e9cc98;color:#5b3c24;box-shadow:inset 0 0 0 1px #9c713f}.gender-options input:focus-visible+span{outline:2px solid #8a653a;outline-offset:2px}#profile-age{width:100%;min-height:clamp(34px,7cqh,48px);padding:4px 8px;border:1px solid #b7956b70;border-radius:8px;background:#fff8e6b0;color:#65452c;font:clamp(16px,2.7cqh,22px) Baskerville,Georgia,serif}#profile-age:focus{outline:2px solid #a27641;outline-offset:1px}#profile-age::placeholder{font-size:clamp(10px,1.6cqh,13px);color:#a18a6a}.profile-language{margin-top:3cqh}.profile-label{display:block;margin-bottom:1.3cqh}#profile #language-picker{position:static;display:flex;width:100%;padding:3px;gap:3px;border:1px solid #b7956b70;border-radius:10px;box-shadow:none;background:#d6b88020}#profile #language-picker button{flex:1;min-width:0;padding:6px 4px;border-radius:7px;color:#896542;font-size:clamp(10px,2cqh,16px)}#profile #language-picker button[aria-pressed=true]{background:#fffae9;color:#62442c;box-shadow:inset 0 0 0 1px #ac8455}#profile #language-picker button:hover{color:#5a3c25}#profile #language-picker button:focus-visible{outline-color:#8b6337}.profile-actions{display:flex;align-items:center;justify-content:space-between;gap:1cqw;margin-top:3cqh}.profile-actions button{border:0;background:transparent;color:#846345;font:clamp(10px,2.1cqh,16px)/1.25 Baskerville,Georgia,serif;padding:7px 0}#profile-begin{flex-shrink:0;border:1px solid #a27744;border-radius:22px;background:#e9ca93;color:#604020;padding:1.4cqh 1.7cqw;font-weight:bold;min-height:32px}#profile-begin:disabled{opacity:.38;cursor:default}#profile-error{font:clamp(9px,1.8cqh,13px)/1.3 Baskerville,Georgia,serif;color:#985b37;margin:1.4cqh 0 0}#profile-error[hidden]{display:none}html[lang=ja] #profile-form,html[lang=ja] #profile-form h1,html[lang=ja] #profile-form span,html[lang=ja] #profile-form legend,html[lang=ja] #profile-form button{font-family:'Hiragino Kaku Gothic ProN','Yu Gothic',Meiryo,sans-serif}
@container(max-width:600px){#profile-form{left:40%;right:3%;top:5%;max-height:90%;padding:2cqh 2cqw}.profile-fields{gap:1.2cqw}#profile .profile-heading{margin-bottom:2cqh}.profile-language,.profile-actions{margin-top:2cqh}.profile-actions{gap:4px}.profile-actions button{font-size:9px}#profile-begin{padding:6px 8px}.gender-options span{font-size:10px;padding:3px}.profile-age-field>span,.profile-label,.profile-gender legend{font-size:11px}}
/* Spoken passages are separated from gameplay; paper and ink stay consistent. */
.story-screen{position:absolute;inset:0;background:#000;z-index:18;display:flex;align-items:flex-end;justify-content:center;padding:0 9% 12%;touch-action:manipulation}.story-screen[hidden],#ending-scene[hidden]{display:none}.story-box{position:relative;display:block;width:100%;min-height:16cqh;padding:3.6cqh 3cqw 4.2cqh;border:1px solid #b7976e;border-radius:18px;background:#f4e5c8 var(--paper-texture,none) repeat;background-size:220px 150px;color:#5c402a;text-align:left;box-shadow:inset 0 0 0 3px #fff8e370,0 8px 30px #0008;cursor:pointer}.story-box:focus{outline:none}.story-box:focus-visible{box-shadow:inset 0 0 0 3px #fff8e370,0 0 0 2px #d5b57970}.story-text{white-space:pre-wrap;font:clamp(14px,3.4cqh,27px)/1.6 Baskerville,Georgia,serif}.story-next{position:absolute;right:3%;bottom:9%;font-size:18px;color:#a7814e}.story-next[hidden]{display:none}#ending-scene{position:absolute;inset:0;z-index:19;pointer-events:auto;touch-action:manipulation}.ending-black{position:absolute;inset:0;background:#000}.ending-word{position:absolute;left:28%;top:40%;width:44%;min-height:0;text-align:center;padding:3cqh 3cqw}.ending-word .story-text{font:normal clamp(27px,7cqh,54px)/1.2 Baskerville,Georgia,serif;letter-spacing:.08em}.ending-word[hidden],.credits-sheet[hidden],.credits-exit[hidden]{display:none}.credits-sheet{position:absolute;inset:5% 10%;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#efdfbb;text-align:center}.credits-logo{width:20%;max-height:12%;object-fit:contain;margin-bottom:3cqh;flex-shrink:0}.credits-body{width:100%;overflow:auto;max-height:73%;scrollbar-width:thin;scrollbar-color:#80683e #000;touch-action:pan-y}.credit-group{margin:0 auto 2.4cqh;max-width:850px;min-height:3cqh}.credit-group strong{display:block;font:normal clamp(10px,2cqh,16px)/1.45 Baskerville,Georgia,serif;color:#b7a17b;letter-spacing:.05em}.credit-group span{display:block;font:normal clamp(12px,2.6cqh,21px)/1.45 Baskerville,Georgia,serif;color:#f0dfb8;margin-top:.5cqh}.credit-group:nth-child(4) span,.credit-group:last-child span{font-size:clamp(10px,2cqh,16px);max-width:760px;margin:.5cqh auto 0}.credits-exit{margin-top:1.4cqh;padding:8px 22px;border:1px solid #bda37675;border-radius:22px;background:transparent;color:#d7c29a;font:clamp(10px,2cqh,16px) Baskerville,Georgia,serif}.credits-exit:hover{background:#cfb58118}html[lang=ja] .story-text,html[lang=ja] .credit-group strong,html[lang=ja] .credit-group span{font-family:'Hiragino Kaku Gothic ProN','Yu Gothic',Meiryo,sans-serif;line-height:1.7}.question-sheet{touch-action:pan-y}.question-sheet button{touch-action:manipulation}
.story-layout{display:grid}.story-layout>span{grid-area:1/1;white-space:pre-wrap;font:clamp(14px,3.4cqh,27px)/1.6 Baskerville,Georgia,serif}.story-reserve{visibility:hidden}#question-statement{display:grid}#question-statement>span{grid-area:1/1}.question-reserve{visibility:hidden}.credits-sheet{justify-content:flex-start;padding-top:3cqh}.credits-body{flex:1;min-height:0;max-height:72%}.credit-group{min-height:6.2cqh}.credit-group:nth-child(4){min-height:11cqh}.credit-group:last-child{min-height:3cqh}.credit-group strong{font-weight:600}html[lang=ja] .story-layout>span{font-family:'Hiragino Kaku Gothic ProN','Yu Gothic',Meiryo,sans-serif;line-height:1.7}

/* Country remains alongside the existing pre-game profile. */
.profile-country-field{display:flex;flex-direction:column;gap:1cqh;margin-top:2cqh}.profile-country-field>span{font:clamp(12px,2.3cqh,18px)/1.25 Baskerville,Georgia,serif}#profile-country{width:100%;min-height:40px;padding:8px;border:1px solid #ae8c60;border-radius:8px;background:#fff7e3;color:#60432c;font:clamp(12px,2.2cqh,17px)/1.3 Baskerville,Georgia,serif}#profile-country:focus-visible{outline:2px solid #825a2e;outline-offset:3px}html[lang=ja] #profile-country{font-family:'Hiragino Kaku Gothic ProN','Yu Gothic',Meiryo,sans-serif}
