:root{--ink:#14313b;--navy:#0a202d;--night:#071923;--teal:#72b2ac;--teal-light:#a8d4ca;--copper:#dcac77;--copper-dark:#9c6d44;--paper:#f2ebdc;--paper-dark:#d9ceb9;--white:#f7f4eb;--serif:Georgia,'Times New Roman',serif;--sans:'Segoe UI',Tahoma,Arial,sans-serif;--ease:cubic-bezier(.2,.65,.3,1);--safe-top:env(safe-area-inset-top,0px);--safe-bottom:env(safe-area-inset-bottom,0px);--safe-left:env(safe-area-inset-left,0px);--safe-right:env(safe-area-inset-right,0px)}
*{box-sizing:border-box}html,body{width:100%;height:100%;margin:0;overflow:hidden;background:var(--navy);color:var(--white);font-family:var(--sans);-webkit-font-smoothing:antialiased}body{overscroll-behavior:none}button,input,a{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{font:inherit;color:inherit;cursor:pointer}button{border:0}button:disabled{cursor:not-allowed}button,a,input{outline:none}button:focus-visible,a:focus-visible,input:focus-visible+.toggle-track{outline:3px solid var(--teal-light);outline-offset:5px}button:disabled:focus-visible{outline:none}button svg{pointer-events:none}button>*{pointer-events:none}a{color:inherit}h1,h2,h3,p{margin:0}em{font-weight:400}svg{display:block}svg.icon{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;flex:0 0 auto}.icon-definitions{position:absolute;width:0;height:0;overflow:hidden}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}#app{position:relative;width:100%;height:100%;isolation:isolate}#game{position:absolute;inset:0;width:100%;height:100%;display:block;touch-action:none;background:#153d48;outline:none}.game-vignette{position:absolute;inset:0;pointer-events:none;z-index:2;box-shadow:inset 0 0 130px #02141d35}.screen{position:absolute;inset:0;z-index:20;overflow:auto;overscroll-behavior:contain}.eyebrow{font-size:10px;font-weight:700;line-height:1.6;letter-spacing:.18em;text-transform:uppercase}.button{min-height:54px;padding:14px 25px;border-radius:5px;display:inline-flex;align-items:center;justify-content:center;gap:16px;font-size:14px;font-weight:650;line-height:1.4;letter-spacing:.015em;transition:background .2s,transform .2s,box-shadow .2s;text-decoration:none}.button:hover{transform:translateY(-2px)}.button:active{transform:translateY(0)}.button-primary{color:#152d32;background:var(--copper);border:1px solid #edc699;box-shadow:0 5px 20px #0002,inset 0 1px #fff4}.button-primary:hover{background:#edc18e;box-shadow:0 8px 26px #0003}.button-primary .icon{width:20px;height:20px}.button-outline{color:var(--ink);background:transparent;border:1px solid #18384138}.button-outline:hover{background:#fff6}.button-glass{background:#102c3870;border:1px solid #f4ead349;backdrop-filter:blur(10px)}.button-glass:hover{background:#183e4caa}.icon-button,.quiet-button{display:inline-flex;align-items:center;justify-content:center;gap:10px;background:transparent;min-height:44px;min-width:44px;border-radius:4px}.icon-button:hover,.quiet-button:hover{background:#e6ecd713}.quiet-button{padding:9px 12px;font-size:12px}.text-button{min-height:44px;background:transparent;padding:10px 12px;display:inline-flex;justify-content:center;align-items:center;gap:9px;font-size:12px;text-decoration:underline;text-underline-offset:4px;text-decoration-color:#14313b55;color:var(--ink)}.text-button:hover{text-decoration-color:currentColor}.back-button{display:flex;align-items:center;gap:10px;min-height:44px;padding:5px 0;background:transparent;color:var(--ink);font-size:12px;font-weight:600}.back-button .icon{width:18px}.paper-grain{position:absolute;inset:0;pointer-events:none;opacity:.09;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.83' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23fff' filter='url(%23n)' opacity='.8' d='M0 0h160v160H0z'/%3E%3C/svg%3E");mix-blend-mode:soft-light}
/* The cover is a place, with the type laid over it like a book jacket. */
.menu-screen{display:flex;flex-direction:column;min-height:100%;background:#173b49}.menu-art{position:absolute;inset:0;background:linear-gradient(125deg,#183f4b,#1d4e58 42%,#0b2331 80%);background-image:linear-gradient(90deg,rgba(6,25,35,.97) 0%,rgba(9,30,41,.9) 26%,rgba(10,31,41,.45) 55%,rgba(10,31,41,.08) 90%),linear-gradient(0deg,rgba(6,22,31,.83),transparent 38%,rgba(6,22,31,.28)),url('../assets/harbor.png');background-size:cover;background-position:center,center,65% 48%}.menu-topbar,.menu-content,.menu-footer{position:relative;z-index:1}.menu-topbar{padding:calc(23px + var(--safe-top)) calc(4.7vw + var(--safe-right)) 0 calc(4.7vw + var(--safe-left));display:flex;align-items:center;justify-content:space-between;gap:20px}.wordmark{display:flex;align-items:center;gap:13px;min-height:44px;text-decoration:none;font-size:9px;font-weight:700;letter-spacing:.22em;color:#e5dccb}.wordmark .icon{width:31px;height:31px;stroke-width:1.15;color:var(--copper)}.top-actions{display:flex;gap:6px;align-items:center;color:#f2ebdccc}.menu-content{flex:1;display:flex;align-items:center;justify-content:space-between;width:100%;padding:28px calc(5vw + var(--safe-right)) 32px calc(7.5vw + var(--safe-left));min-height:0}.hero-copy{max-width:680px;animation:cover-enter .8s var(--ease) both}.hero-kicker{display:flex;align-items:center;gap:12px;font-size:10px;font-weight:700;letter-spacing:.3em;color:var(--copper);margin-bottom:12px}.hero-kicker>span{width:34px;height:1px;background:var(--copper);opacity:.8}.hero-copy h1{font-family:var(--serif);font-size:clamp(70px,8.4vw,137px);font-weight:400;line-height:1.07;letter-spacing:-.045em;color:#f5eedf;margin-left:-5px;text-shadow:0 3px 40px #091d2870}.hero-subtitle{font-family:var(--serif);font-size:clamp(21px,2.15vw,32px);line-height:1.38;margin-top:18px;color:#f2ecdf}.hero-subtitle em{color:var(--teal-light)}.hero-description{margin-top:17px;color:#c8d0cb;font-size:13px;line-height:1.7;font-weight:350}.voyage-options{margin-top:26px;width:360px;max-width:100%}.voyage-options>.eyebrow{display:block;color:#c1c7bd;font-size:8px;letter-spacing:.18em;margin-bottom:10px}.mode-selector{display:flex;gap:8px}.mode-option{display:flex;align-items:center;gap:11px;min-height:62px;padding:10px 12px;border-radius:4px;background:#102c3a80;border:1px solid #d7e0d62b;color:#cdd8d2;flex:1;text-align:left;transition:background .2s,border-color .2s,box-shadow .2s}.mode-option>.icon{width:21px;height:21px;color:var(--teal)}.mode-option>span:not(.mode-check){font-size:12px;font-weight:600;line-height:1.4}.mode-option small{display:block;font-size:9px;font-weight:400;color:#9db5b6;margin-top:3px;white-space:nowrap}.mode-option.is-selected{border-color:var(--copper);background:#b18c5320;box-shadow:inset 0 0 0 1px #dcac7710;color:var(--white)}.mode-option.is-selected>.icon{color:var(--copper)}.mode-option:hover{background:#b6d1c71b}.mode-check{display:none}.gentle-option{position:relative;display:flex;align-items:center;gap:10px;min-height:49px;width:max-content;cursor:pointer;margin:3px 0 1px;padding:6px 0}.gentle-option input{position:absolute;left:4px;top:15px;opacity:0;width:30px;height:20px}.toggle-track{display:block;width:31px;height:18px;border:1px solid #92a7a080;border-radius:20px;background:#10303c;transition:background .2s,border-color .2s}.toggle-track>span{display:block;width:10px;height:10px;border-radius:50%;background:#92a7a0;margin:3px;transition:transform .2s,background .2s}.gentle-option input:checked+.toggle-track{background:#456f68;border-color:#77a99b}.gentle-option input:checked+.toggle-track>span{transform:translateX(12px);background:#d3e5d6}.gentle-option>span:last-child{font-size:11px;color:#d7ddd4;line-height:1.4}.gentle-option small{font-size:9px;display:block;color:#9eb2af;margin-top:1px}.start-actions{display:flex;align-items:stretch;gap:12px;margin-top:9px}.start-actions>.button-primary{justify-content:space-between;min-width:240px}.button-continue{background:#0d2938a8;border:1px solid #a4c4bb60;color:var(--white);gap:10px;text-align:left;padding:10px 18px;min-width:130px;font-size:12px;backdrop-filter:blur(8px)}.button-continue:hover{background:#204853c9}.button-continue .icon{width:16px;height:16px}.button-continue small{display:block;font-size:9px;color:#b8cbc3;font-weight:400;margin-top:3px}.menu-links{display:flex;align-items:center;gap:14px;margin-top:13px;color:#9fb4b4}.menu-links button{display:flex;align-items:center;gap:7px;background:transparent;min-height:44px;padding:4px 0;font-size:11px;color:#c3cec8}.menu-links button:hover{color:var(--copper)}.menu-links .icon{width:15px;height:15px}.menu-links>span{font-size:11px;opacity:.5}.hero-caption{align-self:flex-end;display:flex;flex-direction:column;gap:16px;align-items:flex-end;text-align:right;color:#eadfc8bd;font-family:var(--serif);font-style:italic;font-size:15px;line-height:1.5;margin-bottom:50px;padding-right:3vw;text-shadow:0 1px 9px #071d2b}.caption-line{width:45px;height:1px;background:#e8c49888}.hero-caption .icon{width:35px;height:35px;color:#cedbd1;opacity:.75}.menu-footer{display:flex;justify-content:space-between;gap:20px;align-items:flex-end;padding:0 calc(4.7vw + var(--safe-right)) calc(22px + var(--safe-bottom)) calc(4.7vw + var(--safe-left));color:#e6dfcd;font-size:11px;letter-spacing:.025em}.menu-footer p>span{display:block;font-size:7px;letter-spacing:.2em;font-weight:650;color:#97aaa5;margin-bottom:6px}.menu-footer i{font-family:var(--serif);color:var(--copper);padding:0 7px}.menu-footer .footer-note{font-size:9px;color:#a6b8b2}
/* In-game information deliberately stays at the edges of the world. */
.hud{position:absolute;inset:0;z-index:8;pointer-events:none;padding:calc(21px + var(--safe-top)) calc(27px + var(--safe-right)) calc(20px + var(--safe-bottom)) calc(27px + var(--safe-left));text-shadow:0 2px 10px #041823}.hud-heading{position:absolute;left:calc(27px + var(--safe-left));top:calc(21px + var(--safe-top));display:flex;align-items:center;gap:13px}.hud-emblem{display:flex;align-items:center;justify-content:center;width:43px;height:43px;border:1px solid #cddacc40;border-radius:50%;background:#0b283a60;backdrop-filter:blur(8px);color:var(--copper)}.hud-emblem .icon{width:26px;height:26px;stroke-width:1.1}.hud-heading .eyebrow{font-size:8px;color:#c4d6cd;letter-spacing:.16em}.hud-heading h1{font-family:var(--serif);font-weight:400;font-size:22px;margin-top:2px;line-height:1.15}.hud-status{position:absolute;right:calc(22px + var(--safe-right));top:calc(20px + var(--safe-top));display:flex;align-items:center;gap:19px;background:#08263686;padding:3px 5px 3px 16px;border:1px solid #adcbc724;border-radius:4px;backdrop-filter:blur(9px)}.health-wrap{display:flex;align-items:center;gap:9px}.health-icon{width:17px!important;height:17px!important;color:#adcbb4}.health-meter{width:82px;height:5px;background:#091b27;border-radius:10px;overflow:hidden;border:1px solid #c5dfc719}.health-meter>span{display:block;width:100%;height:100%;border-radius:10px;background:#a1cdb3;transition:width .2s,background .2s}.health-meter.is-low>span{background:#e2a175}.biscuit-count{display:flex;align-items:center;gap:7px;color:#e4c69d;font-size:14px;font-weight:650}.biscuit-count .icon{width:19px;height:19px}.hud-pause{pointer-events:auto;border-left:1px solid #acc1bd2c;border-radius:0;min-width:43px}.hud-pause .icon{width:19px;height:19px}.objective-panel{position:absolute;left:calc(27px + var(--safe-left));top:calc(83px + var(--safe-top));display:flex;align-items:flex-start;gap:10px;padding:12px 14px;background:#09293891;border-left:2px solid #cbaa74;border-radius:0 4px 4px 0;max-width:min(390px,50vw);backdrop-filter:blur(8px)}.objective-dot{width:5px;height:5px;flex:0 0 auto;border:1px solid var(--copper);transform:rotate(45deg);margin-top:5px}.objective-panel p{font-size:12px;line-height:1.5;color:#f0eee1;max-width:330px}.objective-panel>div{flex:1;min-width:0}.objective-progress{height:2px;background:#afc8be25;margin-top:9px;min-width:140px;overflow:hidden}.objective-progress>span{display:block;height:100%;width:0;background:var(--copper);transition:width .3s}.hud-hint{position:absolute;bottom:calc(21px + var(--safe-bottom));left:50%;transform:translateX(-50%);max-width:min(600px,75vw);background:#082535b5;backdrop-filter:blur(8px);padding:9px 16px;border:1px solid #a9c7bc26;border-radius:4px;font-size:11px;line-height:1.6;text-align:center;color:#dce8da;white-space:normal}.hud-hint:empty{display:none}.hud-mode{position:absolute;bottom:calc(25px + var(--safe-bottom));left:calc(27px + var(--safe-left));font-size:7px;font-weight:650;letter-spacing:.15em;color:#c3d0c2a8}
/* Story panels feel like a page turned over the living scene. */
.story-screen{display:flex;align-items:flex-end;justify-content:center;padding:30px;overflow:auto;background:linear-gradient(0deg,#041a2b66,transparent 70%)}.story-shade{position:absolute;inset:0;background:linear-gradient(0deg,#061a2de0,transparent 85%);pointer-events:none}.story-panel{position:relative;width:min(960px,100%);padding:26px 34px 24px;background:linear-gradient(130deg,#f3eddf,#e9dfcc);color:var(--ink);border:1px solid #ead9b8;border-radius:4px;box-shadow:0 12px 80px #020f1c80;animation:page-enter .38s var(--ease)}.story-panel:before,.parchment-panel:before{content:'';position:absolute;inset:7px;border:1px solid #a68d642e;pointer-events:none;border-radius:1px}.story-context{display:flex;align-items:center;gap:15px;border-bottom:1px solid #9d8b702e;padding-bottom:15px}.story-context .eyebrow{font-size:8px;white-space:nowrap;color:#86694e}.story-context h2{font-family:var(--serif);font-size:17px;font-weight:400;line-height:1.3}.story-context>.icon{margin-left:auto;color:#a17a54;width:23px;height:23px;stroke-width:1.2}.story-dialogue{display:flex;gap:20px;margin-top:22px}.story-avatar{background:#284d55;color:#f2dfbe;flex:0 0 52px;height:58px;display:flex;align-items:center;justify-content:center;font-size:26px;font-family:var(--serif);border:1px solid #56766f;border-radius:25px 25px 5px 5px;box-shadow:inset 0 0 0 4px #ffffff09}.story-words{flex:1;min-width:0}.story-speaker{font-size:10px;font-weight:750;letter-spacing:.11em;text-transform:uppercase;color:#936b42;margin-bottom:8px}.story-text{font-family:var(--serif);font-size:clamp(18px,2vw,25px);line-height:1.5;max-width:790px;white-space:pre-line}.story-bottom{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:23px}.story-page-mark{font-size:7px;letter-spacing:.15em;color:#9c8a70;font-weight:650}.story-page-mark>span{padding:0 8px}.story-bottom .button{min-height:46px;padding:10px 20px;font-size:12px;min-width:145px}
/* Shared chapter, pause and journal surfaces. */
.modal-screen{display:flex;align-items:center;justify-content:center;padding:35px}.modal-backdrop{position:fixed;inset:0;background:#041a29bd;backdrop-filter:blur(12px);pointer-events:none}.parchment-panel{position:relative;background:linear-gradient(135deg,#f5f0e5,#e9dfcb);border:1px solid #f4e2bc;color:var(--ink);box-shadow:0 18px 100px #020f1a75;border-radius:4px;padding:40px;animation:page-enter .28s var(--ease)}.parchment-panel>.eyebrow{font-size:8px;color:#94704a}.parchment-panel h2{font-family:var(--serif);font-size:36px;font-weight:400;letter-spacing:-.025em;line-height:1.15;margin-top:10px}.panel-lede{font-size:12px;line-height:1.7;color:#647775;margin-top:12px}.pause-panel{width:430px;text-align:center;padding:38px 42px 26px}.panel-emblem{margin:0 auto 19px;width:37px!important;height:37px!important;color:#9b8057;stroke-width:1.15!important}.pause-panel h2{font-size:33px}.pause-actions{display:flex;flex-direction:column;gap:9px;margin-top:27px}.pause-actions .button{min-height:47px;font-size:12px;padding:12px}.pause-settings{display:flex;justify-content:center;gap:8px;margin:18px 0 7px;padding-bottom:15px;border-bottom:1px solid #ae9b7c33}.pause-settings .quiet-button{font-size:11px;padding:7px 9px}.pause-settings .quiet-button:hover{background:#234c4310}.pause-settings .icon{width:17px;height:17px}.pause-panel>.text-button{font-size:11px}.result-panel{width:570px;text-align:center;padding:37px 42px 27px}.result-seal{width:100px;height:100px;border:1px solid #b394685c;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;margin:0 auto 25px;outline:1px solid #b394682b;outline-offset:5px;transform:rotate(-8deg);color:#8d7049}.result-seal .icon{width:38px;height:38px;stroke-width:1.1}.result-seal span{font-size:5px;letter-spacing:.15em;font-weight:700}.result-panel h2{font-size:34px}.journey-stats{display:grid;grid-template-columns:repeat(3,1fr);margin:27px 0 31px;border-top:1px solid #a592742e;border-bottom:1px solid #a592742e;padding:20px 0;gap:10px}.journey-stats>div{display:flex;flex-direction:column;align-items:center;gap:6px}.journey-stats>div+div{border-left:1px solid #a592742e}.journey-stats .icon{width:20px;height:20px;color:#9e8055}.journey-stats strong{font-family:var(--serif);font-size:29px;font-weight:400;color:#27474b;line-height:1.1}.journey-stats span{font-size:9px;line-height:1.4;color:#6f7c74}.result-panel>.button{min-width:255px}.result-panel>.text-button{display:flex;margin:10px auto 0;font-size:10px}.help-screen,.chapters-screen{align-items:flex-start}.help-panel{width:min(850px,100%);margin:auto;padding:26px 42px 31px}.help-panel>.back-button,.chapters-panel>.back-button{margin-bottom:16px}.help-panel h2{font-size:37px}.help-columns{display:grid;grid-template-columns:1fr 1fr;gap:30px;margin-top:28px}.help-group+.help-group{border-left:1px solid #ad967438;padding-left:30px}.help-group h3{display:flex;align-items:center;gap:10px;font-size:12px;font-weight:700;margin-bottom:16px}.help-group h3 .icon{width:20px;height:20px;color:#a47e50}.controls-list{margin:0}.controls-list>div{display:flex;flex-direction:column;gap:6px;margin-bottom:15px}.controls-list dt{font-size:10px;color:#687c78}.controls-list dd{margin:0;display:flex;align-items:center;gap:4px;flex-wrap:wrap}.controls-list dd>span{font-size:9px;padding:0 2px;color:#809087}kbd{display:inline-flex;align-items:center;justify-content:center;min-width:25px;height:26px;padding:3px 7px;border:1px solid #b3a48a55;border-bottom:2px solid #9c8b6d72;background:#faf7efaa;border-radius:4px;font-family:var(--sans);font-size:10px;color:#34514f;white-space:nowrap}.help-note{font-size:11px;line-height:1.7;color:#607772;margin-top:14px}.help-note kbd{font-size:10px;height:21px;min-width:20px;padding:1px 3px}.help-tips{margin-top:23px;border-top:1px solid #ad967438;padding-top:19px;display:flex;flex-direction:column;gap:13px}.help-tips>div{display:flex;gap:12px;align-items:flex-start}.help-tips .icon{width:18px;height:18px;color:#a38152;margin-top:2px}.help-tips p{font-size:11px;line-height:1.65;color:#607772}.help-tips strong{color:#34534e;font-weight:650}.touch-help{font-size:10px;line-height:1.6;color:#748179;margin-top:18px;padding-top:15px;border-top:1px solid #ad967429}.touch-help strong{color:#49665e}.chapters-panel{width:min(590px,100%);margin:auto;padding:26px 42px 34px}.chapters-panel h2{font-size:38px}.chapters-panel h2 em{color:#8b7154}.chapter-list{list-style:none;margin:24px 0 0;padding:0;border-top:1px solid #aa957233}.chapter-list>li{border-bottom:1px solid #aa957233}.chapter-button{display:flex;align-items:center;gap:16px;width:100%;min-height:73px;padding:12px 0;text-align:left;background:transparent;transition:background .2s}.chapter-button:hover:not(:disabled){background:#fff5}.chapter-number{font-family:var(--serif);font-size:24px;line-height:1;width:36px;color:#9b7d53}.chapter-words{flex:1;min-width:0}.chapter-name{display:block;font-family:var(--serif);font-size:19px;font-weight:400;line-height:1.3;color:#21424a}.chapter-subtitle{display:block;font-size:9px;line-height:1.4;color:#71857e;margin-top:4px}.chapter-button>.icon{width:19px;height:19px;color:#9b7d53}.chapter-button:disabled{opacity:.43}.chapter-button.is-current .chapter-number{color:#24776d}.chapter-button.is-current .chapter-name{color:#226960}
/* A warm, quiet last page. */
.ending-screen{display:flex;align-items:center;justify-content:center;text-align:center;padding:calc(35px + var(--safe-top)) 25px calc(35px + var(--safe-bottom));background:#332f27}.ending-art{position:fixed;inset:0;background-image:linear-gradient(0deg,#0b202bfa 0%,#102d38d1 48%,#0a2434ba 100%),url('../assets/harbor.png');background-size:cover;background-position:50% 55%;filter:saturate(.8)}.ending-content{position:relative;max-width:750px;margin:auto;animation:cover-enter 1s var(--ease)}.ending-emblem{width:48px!important;height:48px!important;color:var(--copper);margin:0 auto 20px;stroke-width:1.1!important}.ending-content>.eyebrow{color:var(--copper);font-size:8px;letter-spacing:.22em}.ending-content h2{font-family:var(--serif);font-size:clamp(40px,5.2vw,70px);font-weight:400;line-height:1.15;letter-spacing:-.03em;margin-top:18px;color:#f7efdf}.ending-content h2 em{color:var(--teal-light)}.ending-text{font-size:13px;line-height:1.8;color:#c6d1c5;margin-top:23px}.ending-stats{display:flex;align-items:center;justify-content:center;gap:24px;flex-wrap:wrap;margin-top:24px;color:#d4dccc;font-size:11px}.ending-stats>span{display:flex;align-items:center;gap:7px}.ending-stats strong{font-weight:600;color:#efe4ce}.ending-stats .icon{width:17px;height:17px;color:var(--copper)}.dedication{margin:29px auto 26px}.dedication-rule{display:block;width:60px;height:1px;margin:0 auto;background:#c2ab7a6b}.dedication p{font-size:11px;line-height:1.7;color:#a9bab0;margin-top:15px}.dedication h3{font-family:var(--serif);font-size:22px;font-weight:400;color:#f1e4cb;margin-top:5px}.dedication h3 i{color:var(--copper);padding:0 7px}.dedication h3+p{margin-top:9px}.dedication p+.dedication-rule{margin-top:18px}.ending-actions{display:flex;align-items:center;justify-content:center;gap:12px}.ending-actions .button{font-size:12px;min-height:49px}
/* Large touch targets; these never receive keyboard navigation. */
.touch-controls{position:absolute;inset:auto 0 0;z-index:10;pointer-events:none;display:none;align-items:flex-end;justify-content:space-between;padding:0 calc(20px + var(--safe-right)) calc(20px + var(--safe-bottom)) calc(20px + var(--safe-left));user-select:none;-webkit-user-select:none;touch-action:none}.touch-controls button{pointer-events:auto;touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none;outline:none}.touch-dpad{display:grid;grid-template-columns:repeat(3,45px);grid-template-rows:repeat(3,42px);gap:4px}.touch-key{width:45px;height:42px;border-radius:6px;background:#0b3043ad;border:1px solid #bed9ca55;color:#dce9da;font-size:14px;backdrop-filter:blur(6px);box-shadow:0 2px 10px #00121a30}.touch-key:active,.touch-key.is-active,.touch-key.pressed{background:#8db9a5b5;color:#0b2633;border-color:#e1e9c6}.touch-up{grid-column:2;grid-row:1}.touch-left{grid-column:1;grid-row:2}.touch-right{grid-column:3;grid-row:2}.touch-down{grid-column:2;grid-row:3}.touch-center{grid-column:2;grid-row:2;display:flex;align-items:center;justify-content:center;color:#d7debe66}.touch-center .icon{width:24px;height:24px;stroke-width:1.1}.touch-actions{display:flex;gap:10px;align-items:flex-end;padding-bottom:5px}.touch-action{width:68px;height:68px;border-radius:50%;background:#0c3043bf;border:1px solid #d7bc7c99;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;color:#f3dfba;backdrop-filter:blur(6px);box-shadow:0 2px 10px #00121a30}.touch-action .icon{width:23px;height:23px}.touch-action span{font-size:9px;line-height:1.2}.touch-interact{background:#c09862dd;color:#132e35;border-color:#e5c69f}.touch-action:active,.touch-action.is-active,.touch-action.pressed{background:#e0bb84;transform:scale(.96);color:#17383c}.touch-brake{width:58px;height:58px;color:#cfdbd0;border-color:#adc9c14a}.touch-brake .icon{width:21px;height:21px}.touch-brake span{font-size:8px}.touch-controls.is-cave .touch-brake{display:none}.touch-controls.is-duo:after{content:'2. oyuncu: ok tuşları';position:absolute;right:20px;bottom:0;font-size:8px;color:#b9cabd;opacity:.75}
.toast-stack{position:absolute;z-index:40;top:calc(25px + var(--safe-top));left:50%;transform:translateX(-50%);display:flex;flex-direction:column;align-items:center;gap:8px;pointer-events:none;width:min(500px,70vw)}.toast{display:flex;align-items:center;gap:10px;background:#eee5d2f2;color:#24454b;padding:12px 18px;border:1px solid #e2c99b;border-radius:4px;font-size:12px;line-height:1.5;box-shadow:0 6px 35px #001a2e55;animation:toast-enter .3s var(--ease)}.toast:before{content:'✦';color:#a17e45;font-size:15px}.toast.is-leaving{opacity:0;transform:translateY(-8px);transition:opacity .22s,transform .22s}.noscript-note{position:fixed;inset:20%;z-index:100;background:var(--paper);color:var(--ink);padding:40px;text-align:center;font-size:20px;line-height:1.6}
@keyframes cover-enter{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}@keyframes page-enter{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}@keyframes toast-enter{from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:none}}
@media(min-width:1500px){.menu-content{padding-left:10vw}.hero-copy h1{font-size:145px}.hero-subtitle{font-size:33px}.voyage-options{margin-top:31px}.hero-description{font-size:14px}.hero-kicker{font-size:11px}.menu-topbar{padding-top:30px}.menu-footer{padding-bottom:27px}}
@media(max-height:820px) and (min-width:801px){.menu-topbar{padding-top:16px}.menu-content{padding-top:18px;padding-bottom:16px}.hero-copy h1{font-size:clamp(68px,7.3vw,114px)}.hero-subtitle{font-size:24px;line-height:1.3;margin-top:11px}.hero-description{margin-top:10px;font-size:12px}.voyage-options{margin-top:18px}.hero-kicker{margin-bottom:6px}.mode-option{min-height:56px}.gentle-option{min-height:43px}.start-actions{margin-top:5px}.menu-links{margin-top:5px}.menu-footer{padding-bottom:16px}.hero-caption{margin-bottom:35px}.ending-content h2{font-size:51px}.ending-emblem{margin-bottom:14px}.ending-text{margin-top:16px}.ending-stats{margin-top:16px}.dedication{margin:22px auto 19px}}
@media(max-width:1000px){.hero-caption{display:none}.menu-content{padding-left:6vw}.hero-copy h1{font-size:clamp(72px,10.5vw,112px)}.hero-subtitle{font-size:27px}.menu-art{background-position:center,center,62% 50%;background-image:linear-gradient(90deg,rgba(6,25,35,.96) 0%,rgba(9,30,41,.8) 42%,rgba(10,31,41,.26) 100%),linear-gradient(0deg,rgba(6,22,31,.8),transparent 40%),url('../assets/harbor.png')}.hud-heading h1{font-size:19px}.hud-status{gap:13px}.hud-mode{display:none}.help-panel{padding:24px 32px}.help-columns{gap:24px}.help-group+.help-group{padding-left:24px}}
@media(pointer:coarse),(max-width:800px),(max-height:560px) and (max-width:1000px){.touch-controls:not([hidden]){display:flex}.hud-hint{bottom:calc(167px + var(--safe-bottom));max-width:min(440px,85vw);font-size:10px;padding:7px 12px}.toast-stack{top:calc(151px + var(--safe-top));width:min(440px,84vw)}.touch-key{min-height:44px}.touch-dpad{grid-template-rows:repeat(3,44px)}}
@media(max-width:600px){.menu-topbar{padding:calc(14px + var(--safe-top)) calc(18px + var(--safe-right)) 0 calc(22px + var(--safe-left));gap:10px}.wordmark{gap:9px;font-size:7px;letter-spacing:.15em}.wordmark .icon{width:26px;height:26px}.top-actions{gap:0}.top-actions .quiet-button{padding:8px;min-width:42px}.top-actions .quiet-button>span{display:none}.top-actions .icon{width:19px;height:19px}.menu-content{align-items:center;padding:20px calc(26px + var(--safe-right)) 20px calc(28px + var(--safe-left))}.hero-copy{max-width:100%;width:100%}.hero-kicker{font-size:8px;letter-spacing:.23em;gap:10px;margin-bottom:10px}.hero-kicker>span{width:22px}.hero-copy h1{font-size:clamp(58px,16.8vw,95px);letter-spacing:-.055em;margin-left:-3px}.hero-subtitle{font-size:23px;line-height:1.32;margin-top:15px}.hero-description{font-size:11px;line-height:1.6;margin-top:12px}.voyage-options{margin-top:24px;width:100%;max-width:360px}.voyage-options>.eyebrow{font-size:7px}.mode-option{padding:9px 10px;gap:9px;min-height:59px}.mode-option>span:not(.mode-check){font-size:11px}.mode-option small{font-size:8px}.mode-option>.icon{width:19px;height:19px}.gentle-option{margin:4px 0;min-height:46px}.start-actions{margin-top:7px;gap:8px}.start-actions>.button-primary{min-width:0;flex:1;max-width:360px;padding:14px 19px;font-size:12px}.button-continue{min-width:97px;padding:10px 11px;font-size:10px;gap:6px}.button-continue small{font-size:8px}.button-continue .icon{width:13px;height:13px}.menu-links{gap:14px;margin-top:9px}.menu-links button{font-size:10px}.menu-footer{padding:0 calc(22px + var(--safe-right)) calc(18px + var(--safe-bottom)) calc(28px + var(--safe-left));font-size:10px}.menu-footer p>span{font-size:6px;letter-spacing:.17em}.menu-footer .footer-note{display:none}.menu-art{background-position:center,center,60% 50%;background-image:linear-gradient(90deg,rgba(5,23,33,.95),rgba(8,27,38,.77) 60%,rgba(8,27,38,.51)),linear-gradient(0deg,#071d2cea,transparent 55%),url('../assets/harbor.png')}.hud-heading{top:calc(14px + var(--safe-top));left:calc(14px + var(--safe-left));gap:8px;max-width:55vw}.hud-emblem{width:34px;height:34px}.hud-emblem .icon{width:22px;height:22px}.hud-heading h1{font-size:16px}.hud-heading .eyebrow{font-size:6px;letter-spacing:.12em}.hud-status{top:calc(12px + var(--safe-top));right:calc(9px + var(--safe-right));padding:0 0 0 9px;gap:9px}.health-wrap{gap:5px}.health-icon{width:13px!important;height:13px!important}.health-meter{width:40px;height:4px}.biscuit-count{font-size:11px;gap:4px}.biscuit-count .icon{width:15px;height:15px}.hud-pause{min-width:36px;min-height:42px}.hud-pause .icon{width:16px;height:16px}.objective-panel{left:calc(14px + var(--safe-left));top:calc(67px + var(--safe-top));max-width:calc(100vw - 28px - var(--safe-left) - var(--safe-right));padding:9px 11px;gap:8px}.objective-panel p{font-size:10px;max-width:none}.objective-progress{margin-top:6px;min-width:100px}.objective-dot{margin-top:4px}.hud-hint{max-width:calc(100vw - 40px);bottom:calc(164px + var(--safe-bottom));font-size:9px;line-height:1.5}.touch-controls{padding:0 calc(15px + var(--safe-right)) calc(17px + var(--safe-bottom)) calc(15px + var(--safe-left))}.touch-dpad{grid-template-columns:repeat(3,44px);grid-template-rows:repeat(3,44px);gap:3px}.touch-key{width:44px;height:44px;font-size:12px}.touch-action{width:63px;height:63px}.touch-brake{width:54px;height:54px}.touch-actions{gap:8px}.story-screen{padding:15px 12px calc(18px + var(--safe-bottom))}.story-panel{padding:19px 19px 17px;border-radius:3px}.story-context{gap:10px;padding-bottom:12px}.story-context .eyebrow{font-size:7px}.story-context h2{font-size:14px}.story-context>.icon{width:19px;height:19px}.story-dialogue{gap:12px;margin-top:18px}.story-avatar{flex-basis:35px;height:42px;font-size:21px;border-radius:18px 18px 4px 4px}.story-speaker{font-size:8px;margin-bottom:7px}.story-text{font-size:18px;line-height:1.5}.story-bottom{margin-top:20px;justify-content:flex-end}.story-page-mark{display:none}.story-bottom .button{min-height:46px;min-width:145px}.modal-screen{padding:18px 14px;align-items:center}.parchment-panel{padding:29px 24px 22px}.pause-panel{width:min(390px,100%)}.pause-panel h2{font-size:31px}.panel-emblem{margin-bottom:16px}.pause-actions{margin-top:24px}.pause-settings{margin-top:16px}.result-panel{width:100%;padding:30px 23px 22px}.result-panel h2{font-size:29px}.result-seal{width:82px;height:82px;margin-bottom:22px}.result-seal .icon{width:31px;height:31px}.result-seal span{font-size:4px}.journey-stats{margin:23px 0 26px;gap:6px}.journey-stats strong{font-size:26px}.journey-stats span{font-size:8px}.journey-stats .icon{width:18px;height:18px}.result-panel>.button{width:100%;min-width:0;font-size:12px}.help-screen,.chapters-screen{align-items:flex-start}.help-panel,.chapters-panel{padding:19px 26px 25px}.help-panel h2,.chapters-panel h2{font-size:32px}.help-panel>.back-button,.chapters-panel>.back-button{margin-bottom:12px}.help-columns{grid-template-columns:1fr;gap:24px;margin-top:24px}.help-group+.help-group{border-left:0;padding-left:0;border-top:1px solid #ad967438;padding-top:22px}.controls-list>div{flex-direction:row;justify-content:space-between;gap:10px;align-items:center;margin-bottom:11px;min-height:28px}.controls-list dt{font-size:10px}.controls-list dd{justify-content:flex-end;max-width:61%;gap:3px}kbd{min-width:23px;padding:3px 6px;font-size:9px}.help-note{font-size:10px}.help-tips p{font-size:10px}.help-tips{margin-top:22px}.help-tips .icon{width:17px;height:17px}.touch-help{font-size:9px}.chapters-panel>.panel-lede{font-size:11px}.chapter-list{margin-top:21px}.chapter-button{gap:11px;min-height:68px}.chapter-number{font-size:22px;width:30px}.chapter-name{font-size:18px}.chapter-subtitle{font-size:8px}.ending-screen{padding:calc(30px + var(--safe-top)) 23px calc(25px + var(--safe-bottom))}.ending-emblem{width:39px!important;height:39px!important;margin-bottom:19px}.ending-content>.eyebrow{font-size:6px;letter-spacing:.17em}.ending-content h2{font-size:42px;margin-top:17px}.ending-text{font-size:11px;line-height:1.8;margin-top:20px}.ending-stats{gap:15px;margin-top:21px;font-size:9px}.ending-stats .icon{width:15px;height:15px}.dedication{margin:25px auto 23px}.dedication p{font-size:10px}.dedication h3{font-size:20px}.ending-actions{flex-direction:column;gap:10px;max-width:290px;margin:auto}.ending-actions .button{width:100%;min-height:48px;font-size:11px}.ending-actions .button-glass{min-height:43px}.toast-stack{top:calc(137px + var(--safe-top));width:calc(100vw - 36px)}.toast{font-size:10px;padding:10px 13px;max-width:100%}}
@media(max-height:730px) and (max-width:600px){.menu-topbar{padding-top:calc(8px + var(--safe-top))}.menu-content{padding-top:12px;padding-bottom:10px}.hero-copy h1{font-size:clamp(57px,15.8vw,82px)}.hero-subtitle{font-size:21px;line-height:1.24;margin-top:10px}.hero-description{font-size:10px;margin-top:9px}.hero-kicker{margin-bottom:6px}.voyage-options{margin-top:17px}.mode-option{min-height:53px}.gentle-option{min-height:42px;margin:2px 0}.start-actions .button{min-height:48px}.menu-links{margin-top:3px}.menu-footer{padding-bottom:calc(11px + var(--safe-bottom))}.menu-footer p>span{margin-bottom:4px}.ending-screen{padding-top:22px;padding-bottom:22px}.ending-emblem{width:30px!important;height:30px!important;margin-bottom:13px}.ending-content h2{font-size:35px;margin-top:13px}.ending-text{margin-top:15px}.ending-stats{margin-top:17px}.dedication{margin:19px auto 18px}.dedication p{margin-top:12px}.dedication p+.dedication-rule{margin-top:13px}}
@media(max-height:560px){.menu-screen{overflow:auto}.menu-topbar{padding-top:8px}.menu-content{min-height:500px;flex:none;padding-top:15px;padding-bottom:15px}.hero-copy h1{font-size:78px}.hero-subtitle{font-size:23px}.menu-footer{padding-top:10px}.modal-screen{align-items:flex-start;padding-top:18px;padding-bottom:18px}.parchment-panel{margin:auto}.story-panel{max-height:calc(100dvh - 28px);overflow:auto}.story-screen{padding:14px}.story-dialogue{margin-top:14px}.story-text{font-size:18px}.story-bottom{margin-top:15px}.hud-hint{bottom:13px;max-width:43vw;font-size:9px}.hud-heading h1{font-size:17px}.hud-heading{top:12px;left:16px}.hud-status{top:10px;right:12px}.objective-panel{top:64px;left:16px;padding:8px 10px;max-width:42vw}.objective-panel p{font-size:10px}.objective-progress{margin-top:5px}.touch-controls{padding-bottom:12px}.touch-dpad{grid-template-columns:repeat(3,44px);grid-template-rows:repeat(3,44px);gap:2px}.touch-key{width:44px;height:44px}.toast-stack{top:11px;width:45vw}.ending-content{padding:5px 0}.ending-screen{align-items:flex-start}.ending-content h2{font-size:40px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.001ms!important;transition-duration:.001ms!important;scroll-behavior:auto!important}.button:hover{transform:none}}

.duo-keyboard-note{display:none;color:#c9d3c4;font-size:10px;line-height:1.5;margin:10px 0 5px;max-width:350px}
@media(pointer:coarse),(max-width:800px),(max-height:560px) and (max-width:1000px){.duo-keyboard-note:not([hidden]){display:block}}

/* Readable type at every viewport. These overrides keep the book-like hierarchy
   while making the instructions and supporting labels comfortable to read. */
.eyebrow{font-size:12px}
.button{font-size:16px;min-height:54px}
.quiet-button,.text-button,.back-button{font-size:14px}
.menu-content{flex:1 0 auto;min-height:min-content;padding-top:30px;padding-bottom:28px}
.wordmark{font-size:12px;letter-spacing:.13em}
.hero-kicker{font-size:12px;letter-spacing:.23em}
.hero-description{font-size:16px;line-height:1.65;margin-top:18px}
.hero-caption{font-size:17px}
.voyage-options{width:432px;margin-top:26px}
.voyage-options>.eyebrow{font-size:12px;letter-spacing:.12em;margin-bottom:11px}
.mode-option{min-height:72px;padding:12px 13px;gap:11px}
.mode-option>span:not(.mode-check){font-size:16px}
.mode-option small{font-size:12px;white-space:normal;line-height:1.35}
.gentle-option{min-height:62px;gap:12px;margin:3px 0}
.gentle-option>span:last-child{font-size:14px}
.gentle-option small{font-size:12px;line-height:1.4;margin-top:3px}
.start-actions>.button-primary{justify-content:center;min-width:252px}
.button-continue{min-width:169px;font-size:14px;padding:10px 15px}
.button-continue small{font-size:12px;line-height:1.35}
.menu-links{margin-top:11px}
.menu-links button{font-size:14px;min-height:48px;gap:9px}
.menu-links .icon{width:18px;height:18px}
.menu-footer{font-size:14px;line-height:1.5;gap:26px}
.menu-footer p>span{font-size:12px;letter-spacing:.12em;margin-bottom:4px}
.menu-footer .footer-note{font-size:12px}
.duo-keyboard-note{font-size:14px;line-height:1.5;max-width:430px}
.hud-heading .eyebrow{font-size:12px;letter-spacing:.12em}
.hud-heading h1{font-size:23px;margin-top:3px}
.hud-pause{min-width:44px;min-height:44px}
.objective-panel{top:calc(87px + var(--safe-top));max-width:min(470px,55vw)}
.objective-panel p{font-size:16px;line-height:1.45;max-width:410px}
.objective-dot{margin-top:8px}
.hud-hint{font-size:14px;line-height:1.5;max-width:min(680px,80vw)}
.hud-mode{font-size:12px;letter-spacing:.08em}
.story-context .eyebrow{font-size:12px}
.story-context h2{font-size:20px}
.story-speaker{font-size:12px}
.story-page-mark{font-size:12px;letter-spacing:.08em}
.story-bottom .button{font-size:16px;min-height:50px}
.parchment-panel>.eyebrow{font-size:12px;letter-spacing:.12em}
.panel-lede{font-size:16px;line-height:1.6}
.pause-actions .button{font-size:16px;min-height:50px}
.pause-settings .quiet-button,.pause-panel>.text-button{font-size:14px}
.journey-stats span{font-size:12px;line-height:1.45}
.result-seal span{font-size:8px;letter-spacing:.05em}
.result-panel>.text-button{font-size:14px}
.help-group h3{font-size:18px}
.controls-list dt{font-size:14px;line-height:1.4}
.controls-list dd>span{font-size:12px}
.controls-list>div{gap:8px;margin-bottom:17px}
.help-note,.help-tips p{font-size:16px;line-height:1.6}
.help-note kbd{font-size:12px;min-width:23px;height:24px}
.touch-help{font-size:14px;line-height:1.6}
.help-tips .icon{width:21px;height:21px}
.help-tips{gap:16px}
.controls-list kbd{min-width:30px;height:30px;font-size:12px}
.chapter-button{min-height:83px}
.chapter-name{font-size:21px}
.chapter-subtitle{font-size:12px}
.ending-content>.eyebrow{font-size:12px;letter-spacing:.13em}
.ending-text{font-size:16px;line-height:1.7}
.ending-stats{font-size:14px}
.dedication p{font-size:14px;line-height:1.6}
.dedication h3{font-size:25px}
.ending-actions .button{font-size:16px;min-height:52px}
.touch-action span,.touch-brake span{font-size:12px}
.touch-action{width:74px;height:74px}
.touch-brake{width:66px;height:66px}
.touch-controls.is-duo:after{font-size:12px}
.toast{font-size:14px;line-height:1.5}
@media(min-width:801px) and (max-height:820px){
 .menu-content{padding-top:22px;padding-bottom:22px}
 .hero-copy h1{font-size:clamp(70px,7vw,108px)}
 .hero-subtitle{font-size:24px;line-height:1.3}
 .hero-description{font-size:16px;line-height:1.5;margin-top:12px}
 .voyage-options{margin-top:20px}
 .mode-option{min-height:68px}
 .menu-footer{padding-top:5px}
}
@media(max-width:800px){
 .hud-hint{font-size:14px;max-width:min(600px,86vw)}
 .toast-stack{top:calc(165px + var(--safe-top))}
}
@media(max-width:600px){
 .menu-topbar{padding-top:calc(12px + var(--safe-top))}
 .wordmark{font-size:12px;letter-spacing:.05em;line-height:1.35}
 .wordmark>span{max-width:135px}
 .menu-content{padding-top:26px;padding-bottom:25px;min-height:min-content}
 .hero-kicker{font-size:12px;letter-spacing:.15em;gap:9px}
 .hero-copy h1{font-size:clamp(58px,16.8vw,95px)}
 .hero-subtitle{font-size:25px;line-height:1.3;margin-top:16px}
 .hero-description{font-size:16px;line-height:1.6;margin-top:17px}
 .voyage-options{margin-top:25px;width:100%;max-width:none}
 .voyage-options>.eyebrow{font-size:12px;letter-spacing:.07em}
 .mode-selector{gap:8px}
 .mode-option{gap:8px;padding:11px 10px;min-height:76px}
 .mode-option>span:not(.mode-check){font-size:14px}
 .mode-option small{font-size:12px;line-height:1.35}
 .mode-option>.icon{width:18px;height:18px}
 .gentle-option{min-height:62px;margin:4px 0}
 .gentle-option>span:last-child{font-size:14px}
 .gentle-option small{font-size:12px}
 .start-actions{flex-direction:column;gap:9px;margin-top:9px}
 .start-actions>.button-primary,.button-continue{width:100%;max-width:none;min-width:0;font-size:16px;min-height:53px}
 .button-continue>span{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:center}
 .button-continue small{display:inline;font-size:12px;margin:0}
 .menu-links{gap:17px;margin-top:10px}
 .menu-links button{font-size:14px;min-height:48px}
 .menu-footer{font-size:14px;padding-bottom:calc(20px + var(--safe-bottom));padding-top:5px}
 .menu-footer p>span{font-size:12px;letter-spacing:.08em}
 .hud-heading{top:calc(13px + var(--safe-top));max-width:54vw}
 .hud-heading .eyebrow{font-size:12px;letter-spacing:.02em}
 .hud-heading h1{font-size:18px;line-height:1.2}
 .hud-heading .hud-emblem{display:none}
 .hud-status{top:calc(13px + var(--safe-top));right:calc(9px + var(--safe-right));gap:8px}
 .hud-pause{min-width:44px;min-height:44px}
 .objective-panel{top:calc(77px + var(--safe-top));max-width:calc(100vw - 28px - var(--safe-left) - var(--safe-right));padding:10px 12px}
 .objective-panel p{font-size:14px;line-height:1.45;max-width:none}
 .objective-dot{margin-top:6px}
 .hud-hint{font-size:14px;line-height:1.45;bottom:calc(168px + var(--safe-bottom));max-width:calc(100vw - 32px);padding:8px 12px}
 .story-context .eyebrow{font-size:12px;letter-spacing:.04em}
 .story-context h2{font-size:16px}
 .story-context>.icon{display:none}
 .story-speaker{font-size:12px;letter-spacing:.08em}
 .story-text{font-size:19px;line-height:1.5}
 .story-bottom .button{font-size:16px;min-height:50px}
 .story-dialogue{gap:12px}
 .parchment-panel>.eyebrow{font-size:12px;letter-spacing:.07em}
 .panel-lede{font-size:16px;line-height:1.55}
 .pause-actions .button{font-size:16px;min-height:50px}
 .pause-settings .quiet-button,.pause-panel>.text-button{font-size:14px}
 .result-panel>.button{font-size:16px}
 .result-panel>.text-button{font-size:14px}
 .journey-stats span{font-size:12px}
 .result-seal span{font-size:7px}
 .help-group h3{font-size:18px}
 .controls-list>div{flex-direction:column;align-items:flex-start;gap:7px}
 .controls-list dt{font-size:14px}
 .controls-list dd{max-width:none;justify-content:flex-start;gap:5px}
 .controls-list dd>span{font-size:12px}
 .controls-list kbd{font-size:12px;min-width:30px;height:30px}
 .help-note,.help-tips p{font-size:16px;line-height:1.6}
 .help-note kbd{font-size:12px}
 .touch-help{font-size:14px}
 .help-tips .icon{width:21px;height:21px}
 .chapters-panel>.panel-lede{font-size:16px}
 .chapter-name{font-size:21px}
 .chapter-subtitle{font-size:12px;line-height:1.4}
 .chapter-button{min-height:84px}
 .ending-content>.eyebrow{font-size:12px;line-height:1.5;letter-spacing:.08em}
 .ending-text{font-size:16px;line-height:1.65}
 .ending-stats{font-size:14px;gap:14px}
 .dedication p{font-size:14px;line-height:1.6}
 .dedication h3{font-size:24px}
 .ending-actions .button{font-size:16px;min-height:52px}
 .touch-action{width:72px;height:72px}
 .touch-brake{width:62px;height:62px}
 .touch-action span,.touch-brake span{font-size:12px}
 .touch-actions{gap:8px}
 .toast-stack{top:calc(165px + var(--safe-top))}
 .toast{font-size:14px;padding:11px 14px}
}
@media(max-height:560px){
 .menu-content{min-height:650px}
 .hud-heading h1{font-size:18px}
 .hud-heading .eyebrow{font-size:12px}
 .objective-panel{top:74px}
 .objective-panel p{font-size:14px}
 .hud-hint{font-size:12px;bottom:12px;max-width:42vw}
 .toast-stack{top:12px}
 .story-context h2{font-size:18px}
 .story-text{font-size:19px}
}

/* Keep mobile hints clear of the player and touch controls. */
@media (max-width:700px){.hud-hint{width:calc(100vw - 32px);max-width:calc(100vw - 32px);text-align:center;}}
