:root{color-scheme:dark;--ink:#f4ecd0;--muted:#bed2ba;--gold:#edc879;--green:#153e32;--dark:#102b26;font-family:Arial,Helvetica,sans-serif;font-size:16px;background:#153e32;color:var(--ink)}*{box-sizing:border-box}body{margin:0;overflow:hidden}button,a,select,input{-webkit-tap-highlight-color:transparent}button,select{font:inherit}button{cursor:pointer;border:1px solid #b5cfb94a;background:#173c32e8;color:var(--ink);border-radius:5px;padding:.65rem .9rem;font-size:.875rem;transition:background .15s,transform .15s}button:hover{background:#315746}button:active{transform:translateY(1px)}button:disabled{cursor:default;opacity:.45}button:focus-visible,a:focus-visible,select:focus-visible{outline:3px solid #edc879;outline-offset:3px}[hidden]{display:none!important}.primary{background:var(--gold);color:#18352c;border-color:var(--gold);font-weight:800}.primary:hover{background:#ffe0a1}.big{width:100%;padding:1.05rem 1.25rem;display:flex;justify-content:space-between;align-items:center}.quiet{border:0;background:transparent;color:var(--muted);padding:.8rem .1rem;text-decoration:underline;text-underline-offset:4px}.quiet:hover{background:transparent;color:var(--ink)}kbd{font-family:Arial,sans-serif;font-size:.75rem;border:1px solid #e2dcb76b;border-radius:3px;padding:3px 5px;display:inline-block;font-weight:500}em{color:var(--gold);font-style:italic}h1,h2,h3,p{margin-top:0}h1,h2,h3{font-family:Georgia,'Times New Roman',serif;font-weight:500}h2{font-size:2.7rem;line-height:1.04;margin-bottom:1rem}p{line-height:1.65}a{color:inherit}#expedition{position:relative;height:100svh;min-height:480px;isolation:isolate;overflow:hidden}#viewport{position:absolute;inset:0;background:#638d6d}#game{display:block;width:100%;height:100%;outline:none;touch-action:none}.vignette{position:absolute;inset:0;pointer-events:none;background:linear-gradient(#08282070,transparent 24%,transparent 68%,#082820a0),radial-gradient(ellipse at center,transparent 40%,#092b2540)}#expedition[data-mode=menu] .vignette{background:linear-gradient(90deg,#102e26fb,#102e26dc 24%,#102e2640 58%,transparent 75%),linear-gradient(0deg,#102e26aa,transparent 30%)}.topbar{position:absolute;top:0;left:0;right:0;display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1.1rem 2rem;z-index:8;min-height:80px}.brand{display:flex;align-items:center;gap:.7rem;text-decoration:none;flex-shrink:0}.brand img{width:40px;height:40px}.brand>span{font-family:Georgia,serif;letter-spacing:.15em;font-size:1.4rem;font-weight:bold}.brand small{display:block;font:10px Arial,sans-serif;letter-spacing:.15em;margin-top:5px;color:var(--gold)}nav{display:flex;align-items:center;gap:.5rem}nav button{background:#12382a65;border-color:#e0e4c32b;padding:.55rem .65rem}nav kbd{font-size:10px;margin-left:5px}.location{text-align:center;flex:1}.location span{display:block;color:#cfdec8;font-size:.75rem;letter-spacing:.15em;margin-bottom:.3rem}.location strong{font-family:Georgia,serif;font-size:1.2rem;font-weight:500}.menu-panel{position:absolute;left:clamp(2rem,6.5vw,7rem);top:50%;transform:translateY(-45%);width:min(470px,40vw);z-index:3}.eyebrow{font-size:.75rem;font-weight:800;letter-spacing:.17em;color:var(--gold);margin-bottom:1rem}.compass{font-size:1.25rem;margin-right:8px}.menu-panel h1{font-size:clamp(3.3rem,5.5vw,5.7rem);line-height:.99;letter-spacing:-.05em;margin-bottom:1.2rem}.tagline{font-family:Georgia,serif;font-size:1.45rem;color:#e2e8d0;margin-bottom:.85rem}.menu-copy{font-size:1rem;color:var(--muted);max-width:440px}.menu-facts{display:flex;gap:1rem;font-size:.75rem;color:#dce4cd;border-top:1px solid #e7e4b72b;border-bottom:1px solid #e7e4b72b;padding:.9rem 0;margin:1.3rem 0}.difficulty-label{display:block;font-size:.75rem;letter-spacing:.12em;color:var(--muted);margin-bottom:.6rem}select{appearance:none;width:100%;background:#1d4537;color:var(--ink);border:1px solid #c8d5ae6b;border-radius:4px;padding:.8rem 2rem .8rem .8rem;font-size:.875rem;margin-bottom:.65rem;background-image:linear-gradient(45deg,transparent 50%,#edc879 50%),linear-gradient(135deg,#edc879 50%,transparent 50%);background-position:calc(100% - 19px) 50%,calc(100% - 14px) 50%;background-size:5px 5px;background-repeat:no-repeat}.menu-note{font-size:.75rem;color:#a8c3ad;margin-bottom:0}.menu-panel .quiet{display:block}.player-card{position:absolute;top:105px;left:2rem;z-index:4;pointer-events:none}.player-name{font-size:.75rem;letter-spacing:.13em;font-weight:700}.player-name span{color:var(--muted);font-size:.75rem;margin-left:1rem}#hearts{font-size:1.65rem;letter-spacing:.1em;color:#efc47a;margin:.3rem 0 .35rem;text-shadow:0 2px 9px #102b26}#hearts .empty{color:#42624b}.supplies{font-size:.8rem;color:#d0dfc2}.coin-icon{color:var(--gold);font-size:1rem}.supplies strong{font-size:1rem;color:var(--ink);margin:0 .3rem}.separator{color:#8aa78f;margin:0 .65rem}.objectives{position:absolute;right:2rem;top:107px;text-align:right;max-width:330px;z-index:4;pointer-events:none;text-shadow:0 1px 5px #173729}.objectives .eyebrow{margin-bottom:.55rem}.objective{font-size:.875rem;margin:.3rem 0;color:#f3f1d8}.objective .done{color:#bdd2ad;text-decoration:line-through;opacity:.75}.objective i{font-style:normal;color:var(--gold);margin-left:.5rem}.message{position:absolute;top:220px;left:50%;transform:translateX(-50%);max-width:min(600px,85vw);padding:.75rem 1.1rem;background:#102f25eb;border:1px solid #b5cfb96b;border-radius:5px;text-align:center;font-size:.875rem;pointer-events:none;z-index:6}.interaction{position:absolute;left:50%;bottom:110px;transform:translateX(-50%);display:flex;gap:.7rem;align-items:center;padding:.65rem .9rem;background:#123b2eed;border:1px solid #ebd69d8c;border-radius:5px;z-index:5;white-space:nowrap;font-size:.9rem}.interaction kbd{font-size:.9rem;color:var(--gold);font-weight:bold}.pad-key{font-size:.75rem;border:1px solid #9dba9f;border-radius:50%;width:19px;height:19px;display:inline-grid;place-items:center;color:#bcd5ac}.controls{position:absolute;bottom:36px;left:2rem;right:2rem;z-index:7;pointer-events:none}.keyboard-guide{font-size:.8rem;color:#d4dfc4;margin:0}.keyboard-guide kbd{font-size:.75rem;background:#123c2b99}.touch-controls{display:none;justify-content:space-between;align-items:end;gap:1rem;pointer-events:none}.touch-move,.touch-actions{display:flex;align-items:end;gap:8px;pointer-events:none}.touch-controls button{pointer-events:auto;touch-action:none;width:60px;height:60px;padding:0;border-radius:50%;background:#164534d9;border:1px solid #b6cba67d;font-size:.875rem;font-weight:bold;box-shadow:0 3px 10px #102f2540}.touch-controls button.held{background:#b5ce8f;color:#17382c;transform:scale(.94)}.touch-controls small{font-size:.75rem;font-weight:normal}.touch-controls .small-touch{width:43px;height:43px;font-size:.75rem}.touch-controls .jump-button{background:#edc879e8;color:#173c2c;width:68px;height:68px}.touch-controls .whip-button{background:#dbe3b4dd;color:#173c2c}.boss{position:absolute;top:210px;left:50%;transform:translateX(-50%);width:min(320px,60vw);text-align:center;z-index:5}.boss strong{font-size:.75rem;letter-spacing:.1em}.boss>div{height:7px;background:#183b30;margin-top:8px;border:1px solid #e2d7a470}.boss i{display:block;height:100%;width:100%;background:var(--gold)}#world-labels{position:absolute;inset:0;pointer-events:none}.npc-label{position:absolute;background:#15372bde;border:1px solid #9fbf8d7d;padding:4px 8px;font-size:.75rem;white-space:nowrap;transform:translate(-50%,-100%);color:#f6e6b5;border-radius:3px}.story-panel{position:absolute;inset:0;z-index:10;pointer-events:none}.letterbox{position:absolute;left:0;right:0;height:11%;background:#081d17ed}.letterbox.top{top:0}.letterbox.bottom{bottom:0}.story-heading{position:absolute;left:2rem;right:2rem;top:3%;display:flex;justify-content:space-between;align-items:center;font-size:.75rem;letter-spacing:.15em;color:var(--gold)}.story-panel button{pointer-events:auto}.story-heading button{font-size:.75rem;background:transparent}.story-copy{position:absolute;left:50%;bottom:13%;transform:translateX(-50%);width:min(770px,85vw);background:#0f3028eb;border:1px solid #b5c59a60;padding:1.4rem 1.8rem;border-radius:5px}.story-copy>.eyebrow{margin-bottom:.55rem}.story-copy>#story-text{font:1.3rem/1.6 Georgia,serif;margin-bottom:1rem;color:#f1ebcc}.story-bottom,.conversation-bottom{display:flex;align-items:center;justify-content:space-between;gap:1rem}.story-bottom>span,.conversation-bottom>span{font-size:.75rem;color:var(--muted)}.conversation{position:absolute;z-index:10;bottom:8%;left:50%;transform:translateX(-50%);width:min(850px,90vw);display:grid;grid-template-columns:90px 1fr;gap:1.25rem;padding:1.5rem 1.8rem;background:#102f26f5;border:1px solid #d9d8a97a;border-radius:6px}.portrait{width:82px;height:100px;display:grid;place-items:center;font:3rem Georgia,serif;background:#356047;color:#edc879;border:1px solid #bed1a780;border-radius:40px 40px 8px 8px}.conversation .eyebrow{margin-bottom:.35rem}.conversation h2{font-size:1.8rem;margin-bottom:.5rem}#npc-text{font-size:1rem;line-height:1.6;color:#e0e8ce;margin-bottom:1rem}.finish-card{position:absolute;z-index:12;left:50%;top:50%;transform:translate(-50%,-50%);background:#102f27f5;padding:2.5rem;width:min(500px,90vw);border:1px solid #b0c58c80;border-radius:6px;text-align:center}.finish-card h2{font-size:3rem}.finish-card>p:not(.eyebrow){color:var(--muted)}dialog{background:#14392e;color:var(--ink);border:1px solid #aec0917a;border-radius:8px;padding:2rem;width:min(540px,92vw);max-height:90svh;box-shadow:0 30px 100px #071d17aa}dialog::backdrop{background:#071d17a8;backdrop-filter:blur(4px)}dialog p{color:var(--muted);font-size:.95rem}.dialog-row{display:flex;gap:.5rem;margin-top:1rem;flex-wrap:wrap}.fine-print{font-size:.75rem!important;line-height:1.6;margin:1.25rem 0 0;color:#a6c0ab}.section-heading{display:flex;justify-content:space-between;gap:1rem}.close{border:0;background:transparent;font-size:1.8rem;padding:0 8px;align-self:start}.journal-dialog{width:min(900px,94vw)}.journal-tabs{display:flex;gap:.5rem;border-bottom:1px solid #b3c39d4a;padding-bottom:.9rem;margin-bottom:1.5rem}.journal-tabs .selected{background:#d4dca8;color:#153c2d}.chapter-list{display:grid;grid-template-columns:1fr 1fr;gap:.75rem}.chapter-entry{padding:1rem;border:1px solid #a8c3934a;background:#1b4334;border-radius:4px;text-align:left}.chapter-entry strong{font-family:Georgia,serif;font-size:1.2rem;display:block;margin-bottom:.4rem}.chapter-entry span{font-size:.75rem;color:var(--muted)}.guide-grid{display:grid;grid-template-columns:1fr 1fr;gap:.9rem}.guide-entry{border:1px solid #aec3913d;padding:1rem;border-radius:4px}.guide-entry h3{font-size:1.3rem;color:#edc879;margin-bottom:.5rem}.guide-entry p{font-size:.875rem;margin:0}.controls-copy h3{font-size:1.5rem;color:var(--gold);margin:1.5rem 0 .5rem}.shop-upgrade{display:grid;grid-template-columns:1fr auto;gap:.75rem;align-items:center;padding:1rem 0;border-top:1px solid #bed0a54a}.shop-upgrade h3{font-size:1.3rem;margin:0 0 .4rem;color:var(--gold)}.shop-upgrade p{font-size:.875rem;margin:0}.error-panel{position:absolute;inset:0;z-index:100;background:#15392df8;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:2rem}.error-panel h1{font-size:3rem}.error-panel p{max-width:600px}#footnote{position:absolute;bottom:0;left:0;right:0;display:flex;justify-content:space-between;padding:7px 2rem;color:#c0cfb1b0;font-size:.75rem;z-index:8;pointer-events:none}#expedition[data-scene=true] .topbar,#expedition[data-scene=true] #hud,#expedition[data-scene=true] #controls,#expedition[data-scene=true] #interaction,#expedition[data-scene=true] #world-labels,#expedition[data-scene=true] #message{display:none!important}
@media(pointer:coarse),(max-width:950px){.touch-controls{display:flex}.keyboard-guide{display:none}.controls{left:1rem;right:1rem;bottom:32px}.interaction{bottom:128px}.topbar{padding:.8rem 1rem;gap:.5rem}.topbar nav{gap:4px}.topbar nav button{font-size:.75rem;padding:.5rem}.topbar nav kbd{display:none}.location{display:none}.player-card{left:1rem;top:90px}.objectives{right:1rem;top:90px;max-width:250px}.message{top:205px}.brand>span{font-size:1.1rem}.brand img{width:33px;height:33px}.menu-panel{left:2rem;width:45vw}.menu-panel h1{font-size:4rem}.menu-facts{gap:.75rem;flex-wrap:wrap}.menu-copy{font-size:.9rem}}
@media(max-width:600px){.topbar{flex-wrap:wrap;min-height:85px;align-content:start}.topbar nav{justify-content:end;gap:4px}.topbar nav button{font-size:.75rem;padding:.4rem}.topbar nav #save,.topbar nav #open-save{display:none}.brand>span{font-size:1rem}.brand small{font-size:8px}.brand img{width:28px;height:28px}.menu-panel{left:1.25rem;right:1.25rem;width:auto;top:auto;bottom:40px;transform:none;background:linear-gradient(90deg,#102e26c9,#102e2690);border-radius:6px;padding:1rem}.menu-panel h1{font-size:3.1rem;line-height:.98;margin-bottom:.7rem}.menu-panel>.eyebrow{font-size:.75rem;margin-bottom:.7rem}.tagline{font-size:1.1rem;margin-bottom:.5rem}.menu-copy{font-size:.875rem;line-height:1.5;max-width:330px;margin-bottom:.5rem}.menu-facts{font-size:.75rem;padding:.6rem 0;margin:.7rem 0}.difficulty-label{font-size:.75rem;margin-bottom:.4rem}select{font-size:.8rem;padding:.7rem 2rem .7rem .7rem}.menu-note{font-size:.75rem}.menu-panel .quiet{font-size:.8rem;padding:.65rem 0}.menu-panel .big{padding:.85rem 1rem}.player-card{top:88px}.player-name{font-size:.75rem}.player-name span{display:none}#hearts{font-size:1.3rem;letter-spacing:.03em}.supplies{font-size:.75rem}.supplies .separator{margin:0 .3rem}.objectives{top:163px;left:1rem;right:1rem;max-width:none;text-align:left;pointer-events:none}.objectives>.eyebrow{display:none}.objective{font-size:.75rem;margin:.2rem 0}.message{top:245px;font-size:.8rem;padding:.6rem .8rem;width:90vw}.boss{top:225px}.touch-move,.touch-actions{gap:5px}.touch-controls button{width:47px;height:47px;font-size:.75rem}.touch-controls .jump-button{width:55px;height:55px}.touch-controls .small-touch{width:34px;height:34px;font-size:.65rem}.touch-controls small{font-size:.65rem}.controls{left:.5rem;right:.5rem}.interaction{bottom:102px;font-size:.75rem;padding:.5rem .65rem}.interaction kbd{font-size:.75rem}.interaction .pad-key{display:none}#footnote{padding:7px .75rem;font-size:10px}#footnote>span{display:none}.story-heading{left:1rem;right:1rem;font-size:.75rem}.story-heading button{font-size:.75rem;padding:.4rem}.story-copy{padding:1rem;width:92vw;bottom:14%}.story-copy>#story-text{font-size:1.05rem}.story-copy>.eyebrow{font-size:.75rem}.story-bottom button{font-size:.75rem}.conversation{grid-template-columns:45px 1fr;gap:.75rem;padding:1rem;bottom:10%;width:94vw}.portrait{width:42px;height:65px;font-size:1.8rem}.conversation h2{font-size:1.4rem}.conversation .eyebrow{font-size:.75rem}#npc-text{font-size:.875rem}.conversation-bottom button{font-size:.75rem}.finish-card{padding:1.5rem}.finish-card h2{font-size:2.6rem}dialog{padding:1.25rem}dialog h2{font-size:2.3rem}.chapter-list,.guide-grid{grid-template-columns:1fr}.journal-tabs button{font-size:.75rem}.journal-tabs{gap:5px}.shop-upgrade{grid-template-columns:1fr}.shop-upgrade button{justify-self:start}}
@media(max-height:700px) and (min-width:601px){.menu-panel{top:53%;transform:translateY(-45%);width:410px}.menu-panel h1{font-size:3.5rem;margin-bottom:.6rem}.menu-panel .eyebrow{margin-bottom:.6rem}.tagline{font-size:1.2rem;margin-bottom:.5rem}.menu-copy{font-size:.875rem;line-height:1.5;margin-bottom:.5rem}.menu-facts{margin:.7rem 0;padding:.6rem 0}.big{padding:.8rem 1rem}.menu-note{display:none}.menu-panel .quiet{font-size:.8rem;padding:.55rem 0}.player-card{top:90px}.objectives{top:90px}.message{top:185px}.interaction{bottom:110px}.story-copy{bottom:12%;padding:1rem 1.3rem}.story-copy>#story-text{font-size:1.1rem}.conversation{bottom:9%;padding:1rem 1.3rem}}

@media(max-width:600px){.menu-panel{max-height:calc(100svh - 130px);overflow-y:auto}}
@media(max-width:360px){.controls{left:.25rem;right:.25rem}.touch-controls{gap:4px}.touch-move,.touch-actions{gap:3px}.touch-controls button{width:40px;height:44px;font-size:.7rem}.touch-controls .small-touch{width:30px;height:34px;font-size:.6rem}.touch-controls .jump-button{width:48px;height:52px}}

.journal-tabs{flex-wrap:wrap}.story-entry{padding:1.2rem 0;border-top:1px solid #b3c39d50}.story-entry h3{font-size:1.5rem;color:var(--gold)}.story-entry>p:last-child{white-space:pre-line;font-size:.95rem;line-height:1.75}
