:root{--wb-ink:#f4f1dc;--wb-ink-muted:#b8b6aa;--wb-canvas:#090b15;--wb-panel:#111522;--wb-panel-raised:#181d2d;--wb-panel-soft:#20263a;--wb-border:#59637d;--wb-border-bright:#9aa7c6;--wb-gold:#f3cc72;--wb-gold-dark:#9b6e32;--wb-blue:#71c7d4;--wb-danger:#f08a86;--wb-success:#82d49b;--wb-focus:#fff2a8;--wb-shadow:0 18px 60px #00000073;--wb-pixel-shadow:4px 4px 0 #05060c;--wb-radius:6px;--wb-safe-bottom:env(safe-area-inset-bottom,0px);--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;color:var(--wb-ink);background:var(--wb-canvas);text-rendering:optimizelegibility;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:17px;line-height:1.5}*{box-sizing:border-box}html{background:var(--wb-canvas);min-width:320px;min-height:100%;scroll-padding-block:5rem}body{min-width:320px;min-height:100vh;background:radial-gradient(circle at 16% -10%, #3e4a7552, transparent 38rem), linear-gradient(180deg, #0c0f1b, var(--wb-canvas));min-height:100dvh;color:var(--wb-ink);margin:0;overflow-x:hidden}#root{width:100%;max-width:none;min-height:100vh;min-height:100dvh;text-align:initial;border:0;margin:0}button,input,select,textarea{font:inherit}button{color:inherit;touch-action:manipulation}button:not(:disabled),summary{cursor:pointer}button:disabled,input:disabled,input[readonly]{cursor:not-allowed}:focus-visible{outline:3px solid var(--wb-focus);outline-offset:3px}::selection{color:#0b0c12;background:var(--wb-gold)}.sr-only{clip:rect(0, 0, 0, 0)!important;white-space:nowrap!important;border:0!important;width:1px!important;height:1px!important;margin:-1px!important;padding:0!important;position:absolute!important;overflow:hidden!important}.eyebrow{color:var(--wb-gold);letter-spacing:.13em;text-transform:uppercase;margin:0 0 .2rem;font-family:ui-monospace,Cascadia Mono,Consolas,monospace;font-size:.72rem;font-weight:800;line-height:1.2}:root[data-contrast=high]{--wb-ink:#fff;--wb-ink-muted:#e7e7e7;--wb-border:#cbd5e1;--wb-border-bright:#fff}@media (prefers-contrast:more){:root{--wb-ink:#fff;--wb-ink-muted:#e7e7e7;--wb-border:#cbd5e1;--wb-border-bright:#fff}}@media (forced-colors:active){:root{--wb-pixel-shadow:none;--wb-shadow:none}*{forced-color-adjust:auto}}.game-shell{min-height:100vh;min-height:100dvh;padding:clamp(.75rem,2vw,1.5rem);padding-bottom:calc(clamp(.75rem, 2vw, 1.5rem) + var(--wb-safe-bottom))}.game-shell__frame{width:min(100%,92rem);margin-inline:auto}.game-shell__main{grid-template-columns:minmax(0,1fr) minmax(19rem,25rem);align-items:start;gap:1rem;margin-top:1rem;display:grid}.game-shell__stack{gap:1rem;min-width:0;display:grid}.title-screen{isolation:isolate;min-height:100vh;color:#fff8dc;background:#0b0c17;min-height:100dvh;display:grid;position:relative;overflow:hidden}.title-screen:before{z-index:4;content:"";pointer-events:none;border:2px solid #f7d68085;position:absolute;inset:clamp(.5rem,1.5vw,1rem);box-shadow:inset 0 0 0 4px #06070dad}.title-screen__art,.title-screen__shade{width:100%;height:100%;position:absolute;inset:0}.title-screen__picture{z-index:-3;width:100%;height:100%;position:absolute;inset:0}.title-screen__art{z-index:auto;object-fit:cover;object-position:58% center;filter:saturate(.94)contrast(1.04)}.title-screen__shade{z-index:-2;background:linear-gradient(90deg,#070810eb 0%,#080a14ba 38%,#08091124 72%),linear-gradient(#0000 58%,#04050ae0),radial-gradient(circle at 22% 45%,#0000 0 18rem,#07080f4d 43rem)}.title-screen__content{text-shadow:0 3px #090a12,0 10px 28px #000000bf;align-self:center;width:min(39rem,100% - 3rem);min-width:0;margin-inline:clamp(1.5rem,9vw,9rem) auto;padding-block:5rem 7rem}.title-screen__kicker{color:#f5d27b;letter-spacing:.18em;text-transform:uppercase;margin:0 0 .55rem;font-family:ui-monospace,Cascadia Mono,Consolas,monospace;font-size:clamp(.72rem,1.3vw,.9rem);font-weight:900}.title-screen h1{color:#fff8dc;letter-spacing:-.055em;text-wrap:balance;margin:0;font-family:Georgia,Times New Roman,serif;font-size:clamp(3.4rem,9vw,7.8rem);font-weight:700;line-height:.82}.title-screen__tagline{color:#eeead8;text-wrap:pretty;max-width:35rem;margin:clamp(1.25rem,3vw,2rem) 0 0;font-size:clamp(1rem,1.7vw,1.24rem);line-height:1.65}.title-screen__primer{color:#f2eedc;text-shadow:0 2px 5px #000;background:#0a0c16b8;border-left:3px solid #e8c96f;max-width:35rem;margin-top:1rem;padding:.75rem .9rem;font-size:.95rem;line-height:1.5}.title-screen__primer strong{color:#f5d27b;letter-spacing:.08em;text-transform:uppercase;font-family:ui-monospace,Cascadia Mono,Consolas,monospace;font-size:.78rem}.title-screen__primer p{margin:.25rem 0 0}.title-screen__launch{-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px);max-width:35rem;text-shadow:none;background:linear-gradient(135deg,#f7d27814,#0000 42%),#070a14c9;border:1px solid #f5d27b85;border-radius:3px;margin-top:2rem;padding:1.35rem 1.35rem 1rem;position:relative;box-shadow:0 18px 45px #00000052,inset 0 0 0 1px #fff6d512}.title-screen__ornament{color:#f5d27b;align-items:center;gap:.7rem;font-size:.72rem;display:flex;position:absolute;top:0;left:1.2rem;right:1.2rem;transform:translateY(-50%)}.title-screen__ornament:before,.title-screen__ornament:after{content:"";background:linear-gradient(90deg,#0000,#f5d27bad);flex:1;height:1px}.title-screen__ornament:after{background:linear-gradient(90deg,#f5d27bad,#0000)}.title-screen__ornament span{text-shadow:0 2px 5px #000;padding:.15rem .4rem}.title-screen__actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem;display:grid}.title-screen__actions--single{grid-template-columns:1fr}.title-screen__button{color:#f7f3df;text-align:left;background:linear-gradient(#1e2438f5,#0f1322f5);border:1px solid #707a94;border-radius:2px;gap:.1rem;min-height:4.35rem;padding:.75rem 1rem;transition:border-color .14s,background .14s,box-shadow .14s,transform .14s;display:grid;position:relative;box-shadow:3px 3px #020308c2,inset 0 1px #ffffff0f}.title-screen__button span{letter-spacing:.08em;text-transform:uppercase;font-family:ui-monospace,Cascadia Mono,Consolas,monospace;font-size:.94rem;font-weight:900}.title-screen__button small{color:#bfc5d2;font-size:.72rem}.title-screen__button--primary{color:#17130d;background:linear-gradient(#f8d779,#dfae4d);border-color:#ffdf8c;box-shadow:3px 3px #2c1d08d1,inset 0 1px #fffadca6}.title-screen__button--primary small{color:#5b4522}.title-screen__utility{border-top:1px solid #f5d27b2e;justify-content:space-between;align-items:center;gap:1rem;margin-top:.9rem;padding-top:.8rem;display:flex}.title-screen__help{min-height:2.25rem;box-shadow:none;color:#e7d69f;letter-spacing:.025em;background:0 0;border:0;border-bottom:1px solid #f5d27b7a;border-radius:0;flex:none;padding:.35rem 0;font-size:.75rem;transition:border-color .14s,color .14s,transform .14s}.title-screen__button:not(:disabled):hover{background:linear-gradient(#343c59,#1d243b);border-color:#fff0ad;transform:translateY(-2px);box-shadow:4px 5px #020308b8,inset 0 1px #ffffff14}.title-screen__button--primary:not(:disabled):hover{color:#14131a;background:linear-gradient(#ffe69e,#edc15f)}.title-screen__help:not(:disabled):hover{color:#fff2b7;border-color:#fff0ad;transform:translateY(-1px)}.title-screen__button:disabled,.title-screen__help:disabled{opacity:.62}.title-screen__status{color:#c8c7bc;letter-spacing:.04em;min-height:0;margin:0;font-size:.7rem;line-height:1.4}.title-screen__status:before{color:#d8b85e;content:"◆";margin-right:.55rem;font-size:.52rem}.title-screen__footer{z-index:2;right:clamp(1.5rem,3vw,3rem);bottom:calc(1.25rem + var(--wb-safe-bottom));color:#f5f1dcb8;letter-spacing:.08em;text-transform:uppercase;text-shadow:0 2px 4px #000;justify-content:flex-end;gap:.7rem;font-family:ui-monospace,Cascadia Mono,Consolas,monospace;font-size:.68rem;display:flex;position:absolute;left:clamp(1.5rem,3vw,3rem)}.game-scene{min-width:0;margin:0}.game-scene__viewport{aspect-ratio:16/9;border:3px solid var(--wb-border-bright);border-radius:var(--wb-radius);box-shadow:var(--wb-pixel-shadow), var(--wb-shadow);background:#151927;position:relative;overflow:hidden}.game-scene__viewport:after{content:"";pointer-events:none;border:3px solid #03050a8a;position:absolute;inset:0}.game-scene--phase-overlay .game-scene__viewport:after{background:linear-gradient(#4e366c0a,#1b0e3217)}.game-scene__art{width:100%;height:100%;image-rendering:pixelated;isolation:isolate;display:block;position:relative}.game-scene__navigation{z-index:4;pointer-events:none;position:absolute;inset:0}.game-scene__primary-action{z-index:1;color:#fff9e3;text-align:left;cursor:pointer;background:0 0;border:0;justify-content:flex-end;align-items:flex-end;padding:1rem;display:flex;position:absolute;inset:0}.game-scene__primary-action>span{background:#080a13eb;border:2px solid #efe1b5e6;border-radius:4px;min-height:2.75rem;padding:.65rem .8rem;font-family:ui-monospace,Cascadia Mono,Consolas,monospace;font-size:.85rem;font-weight:850;box-shadow:3px 3px #000000b8}.game-scene__primary-action:not(:disabled):hover>span,.game-scene__primary-action:focus-visible>span{border-color:var(--wb-gold);background:#23293ef5}.game-scene__primary-action:focus-visible{outline:4px solid var(--wb-focus);outline-offset:-6px}.game-scene__primary-action:disabled{cursor:wait;opacity:.65}.game-scene__primary-action b{color:var(--wb-gold);font-size:1.1rem}.game-scene__exit{color:#ffffffd1;opacity:.72;pointer-events:auto;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#1212123d;border:0;border-radius:50%;place-items:center;width:2rem;height:2rem;padding:0;font-family:Arial,sans-serif;font-size:1.65rem;font-weight:300;line-height:1;transition:color .14s,background-color .14s,box-shadow .14s,opacity .14s;display:grid;position:absolute;box-shadow:0 1px 5px #00000024}.game-scene__exit>span{transform:translate(.03em,-.08em)}.game-scene__exit:not(:disabled):hover{color:#fff;opacity:1;background:#12121270;box-shadow:0 2px 8px #0003}.game-scene__exit:not(:disabled):active{background:#1212128f;box-shadow:0 1px 4px #0003}.game-scene__exit:disabled{cursor:wait;opacity:.45}.game-scene__exit[data-kind=risk]{color:#ffecd0e0}.game-scene__exit-risk{color:#ffd299d1;background:0 0;place-items:center;width:auto;height:auto;font-family:ui-monospace,Cascadia Mono,Consolas,monospace;font-size:.5rem;font-weight:800;display:grid;position:absolute;top:.08rem;right:.12rem}.game-scene__exit--north{top:.5rem;left:50%;transform:translate(-50%)}.game-scene__exit--east{top:52%;right:.5rem;transform:translateY(-50%)}.game-scene__exit--south{bottom:1rem;left:50%;transform:translate(-50%)}.game-scene__exit--west{top:52%;left:.5rem;transform:translateY(-50%)}.game-scene__exit--north>span{transform:rotate(-90deg)}.game-scene__exit--south>span{transform:rotate(90deg)}.game-scene__exit--west>span{transform:rotate(180deg)}.game-scene__label{z-index:2;color:#fff9e3;background:#080a13e0;border:2px solid #efe1b5d6;gap:.08rem;max-width:calc(100% - 1.7rem);padding:.55rem .75rem;font-family:ui-monospace,Cascadia Mono,Consolas,monospace;line-height:1.15;display:grid;position:absolute;top:.85rem;left:.85rem;box-shadow:3px 3px #000000b8}.game-scene__label span{color:var(--scene-accent);letter-spacing:.12em;text-transform:uppercase;font-size:clamp(.55rem,1.2vw,.7rem);font-weight:800}.game-scene__label strong{text-overflow:ellipsis;white-space:nowrap;font-size:clamp(.72rem,1.65vw,1rem);overflow:hidden}.game-scene__hero{--hero-step-x:0px;--hero-step-y:-5px;transform-box:fill-box;transform-origin:bottom}.game-scene__hero-sprite{image-rendering:pixelated;pointer-events:none}.game-scene__hero--north{--hero-step-y:-6px}.game-scene__hero-marker{z-index:3;color:#fffbe9;letter-spacing:.08em;text-transform:uppercase;background:#080a13db;border:1px solid #fff5cfc7;border-radius:3px;padding:.12rem .32rem;font-family:ui-monospace,Cascadia Mono,Consolas,monospace;font-size:.52rem;font-weight:900;position:absolute;top:-1.15rem;left:50%;transform:translate(-50%)}.game-scene__hero--south{--hero-step-y:6px}.game-scene__hero--east{--hero-step-x:6px;--hero-step-y:0px}.game-scene__hero--west{--hero-step-x:-6px;--hero-step-y:0px}.game-scene__hero--walking{animation:.36s steps(2,end) infinite hero-step}.game-scene__ambient{transform-origin:bottom;animation:3.8s steps(3,end) infinite ambient-sway}.game-scene__clouds{animation:7s steps(7,end) infinite alternate cloud-drift}.game-scene__fog{animation:5s linear infinite alternate fog-drift}.game-scene__smoke{transform-box:fill-box;transform-origin:bottom;animation:2.8s steps(4,end) infinite smoke-drift}.game-scene__water-glint{animation:2.4s steps(3,end) infinite alternate water-glint}@keyframes hero-step{0%,to{transform:translate(0)}50%{transform:translate(var(--hero-step-x), var(--hero-step-y))}}@keyframes hero-bump{0%,to{transform:translate(0)}50%{transform:translate(var(--hero-step-x), var(--hero-step-y))}}@keyframes ambient-sway{50%{transform:skew(1deg)}}@keyframes cloud-drift{to{transform:translate(8px)}}@keyframes fog-drift{to{transform:translate(18px)}}@keyframes smoke-drift{50%{opacity:.72;transform:translate(-3px,-5px)}}@keyframes water-glint{to{opacity:.58;transform:translate(5px)}}@media (max-width:760px){.game-shell{padding:.6rem;padding-bottom:calc(.6rem + var(--wb-safe-bottom))}.game-shell__main{grid-template-columns:1fr}.title-screen__art{object-position:66% center}.title-screen__shade{background:linear-gradient(#07080f3b 0%,#07080fbf 46%,#05060cf5 100%),linear-gradient(90deg,#07080f70,#0000)}.title-screen__content{width:calc(100% - 2rem);padding-block:9rem calc(5.5rem + var(--wb-safe-bottom));align-self:end;margin-inline:auto}.title-screen h1{font-size:clamp(2.75rem,14.5vw,5.4rem)}.title-screen__tagline{font-size:.95rem;line-height:1.5}.title-screen__actions{grid-template-columns:1fr}.title-screen__launch{width:100%;max-width:100%;margin-top:1.3rem;padding:1.15rem 1rem .85rem}.title-screen__utility{align-items:flex-start}.title-screen__footer{justify-content:center}.game-scene__viewport{border-width:2px;box-shadow:2px 2px #05060c}}@media (max-height:520px) and (orientation:landscape){.title-screen__content{align-self:center;width:min(32rem,100% - 5rem);margin-left:3rem;padding-block:2rem 3rem}.title-screen h1{font-size:clamp(3rem,12vh,4.6rem)}.title-screen__tagline{margin-top:.7rem;font-size:.82rem;line-height:1.4}.title-screen__actions{gap:.55rem}.title-screen__launch{margin-top:.8rem;padding:.85rem .85rem .65rem}.title-screen__button{min-height:3.55rem;padding-block:.5rem}.title-screen__utility{margin-top:.55rem;padding-top:.45rem}.title-screen__footer,.title-screen__status{display:none}}.world-map,.command-deck,.transcript-panel{border:2px solid var(--wb-border);border-radius:var(--wb-radius);min-width:0;box-shadow:var(--wb-pixel-shadow);background:linear-gradient(180deg, var(--wb-panel-raised), var(--wb-panel))}.world-map__header,.command-deck__header,.transcript-panel__header{border-bottom:1px solid var(--wb-border);justify-content:space-between;align-items:center;gap:1rem;padding:.9rem 1rem;display:flex}.world-map h2,.command-deck h2,.transcript-panel h2,.overlay-panel h2{color:var(--wb-ink);letter-spacing:.02em;margin:0;font-family:ui-monospace,Cascadia Mono,Consolas,monospace;font-size:1rem;font-weight:900;line-height:1.2}.world-map{padding-bottom:.8rem}.world-map__layer{border:1px solid var(--wb-border);color:var(--wb-ink-muted);letter-spacing:.08em;text-transform:uppercase;border-radius:999px;padding:.25rem .55rem;font-family:ui-monospace,Cascadia Mono,Consolas,monospace;font-size:.68rem}.world-map__instructions{color:var(--wb-ink-muted);margin:0;padding:.7rem 1rem;font-size:.8rem;line-height:1.45}.world-map__viewport{background:#bca777;border:2px solid #725e45;border-radius:3px;min-height:23rem;margin:0 .8rem;position:relative;overflow:hidden}.world-map__routes,.world-map__texture{width:100%;height:100%;position:absolute;inset:0}.world-map__shore{fill:#d8c28b;stroke:#675a42;stroke-width:1.2px}.world-map__river{fill:none;stroke:#567f8a;stroke-width:4px}.world-map__route{stroke:#765f42;stroke-width:1.2px;stroke-dasharray:2 1.2}.world-map__texture{opacity:.17;pointer-events:none;background:repeating-linear-gradient(16deg,#0000 0 7px,#5f4b35 8px 9px),repeating-linear-gradient(103deg,#0000 0 11px,#fff4c8 12px 13px)}.world-map__node{z-index:2;left:var(--map-x);top:var(--map-y);color:#27221d;background:0 0;border:0;justify-items:center;min-width:2.75rem;min-height:2.75rem;padding:.25rem;display:grid;position:absolute;transform:translate(-50%,-50%)}button.world-map__node:hover .world-map__node-dot{background:#6a2d3f;border-color:#fff1ac;transform:rotate(45deg)scale(1.16)}.world-map__node-dot{background:#e1c669;border:2px solid #2c2630;width:.9rem;height:.9rem;transition:transform .12s,background-color .12s;transform:rotate(45deg);box-shadow:2px 2px #271f1959}.world-map__node[data-current=true] .world-map__node-dot{background:#9c3651;border-color:#351628;animation:1.6s steps(2,end) infinite map-current}.world-map__node-label{color:#211c19;text-align:center;background:#e6d3a5e0;border:1px solid #47392b75;max-width:7.5rem;margin-top:.28rem;padding:.12rem .28rem;font-family:ui-monospace,Cascadia Mono,Consolas,monospace;font-size:.6rem;font-weight:900;line-height:1.1}.world-map__empty{color:#4b4033;text-align:center;width:min(80%,20rem);margin:0;position:absolute;inset:50% auto auto 50%;transform:translate(-50%,-50%)}.world-map__legend{color:var(--wb-ink-muted);flex-wrap:wrap;gap:.8rem 1rem;padding:.7rem 1rem 0;font-size:.7rem;display:flex}.world-map__legend span{align-items:center;gap:.35rem;display:inline-flex}.world-map__legend-dot{border:1px solid var(--wb-ink-muted);background:#e1c669;width:.65rem;height:.65rem;transform:rotate(45deg)}.world-map__legend-dot.is-current{background:#bd4c65}.world-map__legend-route{border-top:2px dashed var(--wb-ink-muted);width:1rem}.world-map__places{grid-template-columns:repeat(auto-fit,minmax(10rem,1fr));gap:.45rem;margin:.8rem .8rem 0;padding:0;list-style:none;display:grid}.world-map__places li{background:#151a28;border:1px solid #363e54;padding:.5rem .6rem;display:grid}.world-map__places li[aria-current=location]{border-color:var(--wb-gold)}.world-map__places strong{color:var(--wb-ink);font-size:.76rem}.world-map__places span{color:var(--wb-ink-muted);font-size:.68rem}@keyframes map-current{50%{box-shadow:0 0 0 5px #9c365147}}.command-deck__state,.transcript-panel__activity{color:var(--wb-success);white-space:nowrap;align-items:center;gap:.4rem;font-size:.7rem;display:inline-flex}.command-deck__state[data-busy=true],.transcript-panel__activity[data-busy=true]{color:var(--wb-gold)}.command-deck__suggestions{border-bottom:1px solid #343c52;gap:.9rem;padding:1rem;display:grid}.command-deck__suggestion-group{min-width:0}.command-deck__suggestion-group h3{color:var(--wb-ink-muted);letter-spacing:.08em;text-transform:uppercase;margin:0 0 .45rem;font-family:ui-monospace,Cascadia Mono,Consolas,monospace;font-size:.66rem;font-weight:850}.command-deck__actions{grid-template-columns:repeat(auto-fit,minmax(8.75rem,1fr));gap:.45rem;display:grid}.command-deck__routes{flex-wrap:wrap;gap:.45rem;display:flex}.quick-command,.route-command{border:1px solid var(--wb-border);min-height:2.75rem;color:var(--wb-ink);background:#20263a;border-radius:4px;padding:.55rem .7rem;font-family:ui-monospace,Cascadia Mono,Consolas,monospace;font-size:.84rem;font-weight:800}.quick-command{text-align:left;justify-content:space-between;align-items:center;gap:.45rem;display:flex}.route-command{justify-content:center;align-items:center;gap:.45rem;min-width:6rem;display:inline-flex}.quick-command kbd{color:var(--wb-ink-muted);font-size:.6rem}.quick-command small,.route-command small{color:#ffe4af;letter-spacing:.05em;text-transform:uppercase;border:1px solid #f0a56d;border-radius:999px;padding:.12rem .32rem;font-size:.58rem}.quick-command[data-tone=risk],.route-command[data-tone=risk]{background:#43272f;border-color:#a96054}.quick-command:not(:disabled):hover,.route-command:not(:disabled):hover{border-color:var(--wb-gold);background:#313a55}.quick-command:disabled,.route-command:disabled{cursor:wait;opacity:.45}.command-deck__suggestion-note{color:var(--wb-muted);margin:.55rem 0 0;font-size:.78rem;line-height:1.45}.risk-recovery{border-radius:var(--wb-radius);color:#ffe8c7;background:#43272f;border:1px solid #a96054;justify-content:space-between;align-items:center;gap:.75rem;margin-top:.55rem;padding:.55rem .7rem;font-size:.78rem;display:flex}.risk-recovery button{color:#fff8e8;background:#6e3043;border-color:#d08b70;flex:none;min-height:2.25rem}.command-entry{padding:1rem 1rem 0}.command-entry>label{color:var(--wb-ink-muted);margin-bottom:.35rem;font-size:.76rem;font-weight:700;display:block}.command-entry__row{background:#080b14;border:2px solid #697794;border-radius:5px;grid-template-columns:auto 1fr auto;align-items:center;display:grid;overflow:hidden}.command-entry__row:focus-within{border-color:var(--wb-gold)}.command-entry__prompt{color:var(--wb-gold);padding-left:.7rem;font-family:ui-monospace,Cascadia Mono,Consolas,monospace;font-size:1.4rem}.command-entry input{color:#fffbe8;background:0 0;border:0;outline:0;min-width:0;min-height:3rem;padding:.65rem;font-family:ui-monospace,Cascadia Mono,Consolas,monospace;font-size:1rem}.command-entry input::placeholder{color:#777e91}.command-entry__row>button{color:#16141a;background:var(--wb-gold);text-transform:uppercase;border:0;border-left:1px solid #697794;align-self:stretch;min-width:4.5rem;font-family:ui-monospace,Cascadia Mono,Consolas,monospace;font-size:.75rem;font-weight:900}.command-entry__row>button:disabled{color:#777b83;background:#292d37}.command-entry__help{color:var(--wb-ink-muted);margin:.45rem 0 0;font-size:.76rem;line-height:1.4}.status-ribbon{border:2px solid var(--wb-border-bright);border-radius:var(--wb-radius);min-height:4.25rem;box-shadow:var(--wb-pixel-shadow);background:linear-gradient(90deg,#171c2d,#101522);grid-template-columns:minmax(12rem,1.4fr) auto auto auto;align-items:center;gap:.8rem 1rem;padding:.55rem .75rem;display:grid}.status-ribbon[data-phase=witchville]{background:linear-gradient(90deg,#251b35,#121321);border-color:#957caf}.status-ribbon__identity{align-items:center;gap:.7rem;min-width:0;display:flex}.status-ribbon__sigil{border:1px solid var(--wb-gold-dark);width:2.35rem;height:2.35rem;color:var(--wb-gold);background:#090c16;flex:none;place-items:center;display:grid;transform:rotate(45deg)}.status-ribbon__sigil:first-letter{transform:rotate(-45deg)}.status-ribbon__identity>div{min-width:0;display:grid}.status-ribbon__world{color:var(--wb-gold);letter-spacing:.12em;text-transform:uppercase;font-size:.62rem;font-weight:900}.status-ribbon__location{color:var(--wb-ink);text-overflow:ellipsis;white-space:nowrap;font-family:ui-monospace,Cascadia Mono,Consolas,monospace;font-size:.88rem;overflow:hidden}.status-ribbon__values{gap:.8rem;margin:0;display:flex}.status-ribbon__values>div{min-width:3.2rem;display:grid}.status-ribbon__values dt{color:var(--wb-ink-muted);letter-spacing:.09em;text-transform:uppercase;font-size:.58rem;font-weight:800}.status-ribbon__values dd{color:var(--wb-ink);margin:0;font-family:ui-monospace,Cascadia Mono,Consolas,monospace;font-size:.78rem;font-weight:800}.status-ribbon__wishes dd>span{gap:.15rem;display:flex}.status-ribbon__wishes i{background:#202637;border:1px solid #777e93;width:.42rem;height:.42rem;transform:rotate(45deg)}.status-ribbon__wishes i[data-used=true]{background:#f0cf72;border-color:#f0cf72}.status-ribbon__wishes small{color:var(--wb-ink-muted);font-size:.55rem}.status-ribbon__state{color:var(--wb-ink-muted);white-space:nowrap;align-items:center;gap:.4rem;font-size:.68rem;display:flex}.status-ribbon__state i,.transcript-panel__activity i{background:var(--wb-success);border-radius:50%;width:.55rem;height:.55rem}.status-ribbon__state i[data-state=starting],.status-ribbon__state i[data-state=waiting],.status-ribbon__state i[data-state=saving],.status-ribbon__state i[data-state=restoring],.transcript-panel__activity[data-busy=true] i{background:var(--wb-gold);animation:.9s steps(2,end) infinite status-pulse}.status-ribbon__state i[data-state=error]{background:var(--wb-danger)}.status-ribbon__tools{gap:.35rem;display:flex}.status-ribbon__tools button{min-width:3.1rem;min-height:2.75rem;color:var(--wb-ink);background:#20263a;border:1px solid #5f6984;border-radius:4px;place-items:center;padding:.25rem .4rem;font-size:.6rem;display:grid}.status-ribbon__tools button span:first-child{color:var(--wb-gold);font-size:1rem;line-height:1}.status-ribbon__tools button:hover{border-color:var(--wb-gold);background:#303953}@keyframes status-pulse{50%{opacity:.35}}.transcript-panel{grid-template-rows:auto minmax(12rem,1fr);min-height:20rem;display:grid;position:relative;overflow:hidden}.transcript-panel__viewport{overscroll-behavior:contain;color:#ebe8d8;scrollbar-color:#59647f #0d111c;-webkit-user-select:text;user-select:text;background:linear-gradient(#0f131ff5,#090c14fa),repeating-linear-gradient(0deg,#0000 0 23px,#ffffff05 24px);min-height:14rem;max-height:min(44vh,31rem);padding:1rem;overflow:auto}.transcript-panel__entries{gap:.85rem;max-width:76ch;margin:0 auto;padding:0;list-style:none;display:grid}.transcript-panel__entries li{border-left:2px solid #0000;padding-left:.85rem;position:relative}.transcript-panel__entries li[data-kind=command]{border:1px solid #38425a;border-left:3px solid var(--wb-gold);background:#151a29;align-items:baseline;gap:.45rem;padding:.45rem .65rem;display:flex}.transcript-panel__entries li[data-kind=system]{border-left-color:var(--wb-blue);color:#aebed1;font-size:.8rem}.transcript-panel__entries p{color:inherit;overflow-wrap:anywhere;white-space:pre-wrap;margin:0;font-family:ui-monospace,Cascadia Mono,Consolas,monospace;font-size:clamp(1rem,1.3vw,1.1rem);line-height:1.68}.transcript-panel__entries li[data-kind=command] p{color:#fff5ca;font-weight:700}.transcript-panel__prompt{color:var(--wb-gold);font-size:1.15rem}.transcript-panel__empty{place-content:center;justify-items:center;max-width:26rem;min-height:12rem;margin:auto;padding:2rem;display:grid}.transcript-panel__empty .transcript-panel__bookplate{color:var(--wb-ink-muted);text-align:center}.transcript-panel__empty{color:#5a4737;background:#fffae8bd;border:1px solid #7b57393d;border-left:3px solid #8d3b51;margin:0 0 1rem;padding:.7rem .8rem}.transcript-panel__bookplate strong{color:#703246;letter-spacing:.08em;text-transform:uppercase;font-family:ui-monospace,Cascadia Mono,Consolas,monospace;font-size:.78rem}.transcript-panel__bookplate p{margin:.2rem 0 0;font-size:.94rem;line-height:1.5}.transcript-panel__empty>span{color:var(--wb-gold);margin-bottom:.55rem;font-size:1.6rem}.transcript-panel__empty p{margin:.35rem 0 0;font-size:.8rem}.transcript-panel__end{height:1px}.transcript-panel__jump{border:1px solid var(--wb-gold);color:#1c1720;background:var(--wb-gold);border-radius:999px;min-height:2.75rem;padding:.5rem .75rem;font-size:.72rem;font-weight:800;position:absolute;bottom:1rem;right:1rem;box-shadow:0 6px 18px #00000073}.overlay-backdrop{z-index:1000;padding:max(1rem, env(safe-area-inset-top)) max(1rem, env(safe-area-inset-right)) max(1rem, env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left));-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#02040ac7;justify-content:center;align-items:center;animation:.14s ease-out both overlay-fade;display:flex;position:fixed;inset:0}.overlay-panel{width:min(100%,38rem);max-height:min(90vh,50rem);border:2px solid var(--wb-border-bright);border-radius:var(--wb-radius);max-height:min(90dvh,50rem);box-shadow:var(--wb-pixel-shadow), var(--wb-shadow);color:var(--wb-ink);background:var(--wb-panel-raised);grid-template-rows:auto minmax(0,1fr);animation:.18s ease-out both overlay-rise;display:grid;overflow:hidden}.modal--small{width:min(100%,28rem)}.modal--large{width:min(100%,68rem)}.overlay-panel__header{border-bottom:1px solid var(--wb-border);background:#111625;justify-content:space-between;align-items:flex-start;gap:1rem;padding:1rem;display:flex}.overlay-panel__header p{color:var(--wb-ink-muted);margin:.3rem 0 0;font-size:.78rem}.overlay-panel__close{border:1px solid var(--wb-border);width:2.75rem;height:2.75rem;color:var(--wb-ink);background:#232a3e;border-radius:4px;flex:none;font-size:1.5rem;line-height:1}.overlay-panel__close:hover{border-color:var(--wb-gold);background:#343d58}.overlay-panel__body{overscroll-behavior:contain;min-height:0;padding:1rem;overflow:auto}.overlay-backdrop--drawer{padding:0}.drawer{border-radius:0;width:min(92vw,29rem);height:100%;max-height:none;position:absolute}.drawer--right{border-block:0;border-right:0;animation-name:drawer-from-right;right:0}.drawer--left{border-block:0;border-left:0;animation-name:drawer-from-left;left:0}.drawer--bottom{width:100%;height:min(82vh,38rem);border-inline:0;border-bottom:0;height:min(82dvh,38rem);animation-name:drawer-from-bottom;bottom:0;left:0;right:0}@keyframes overlay-fade{0%{opacity:0}}@keyframes overlay-rise{0%{opacity:0;transform:translateY(12px)scale(.985)}}@keyframes drawer-from-right{0%{transform:translate(100%)}}@keyframes drawer-from-left{0%{transform:translate(-100%)}}@keyframes drawer-from-bottom{0%{transform:translateY(100%)}}@media (max-width:1050px){.status-ribbon{grid-template-columns:minmax(12rem,1fr) auto auto}.status-ribbon__state{display:none}}@media (max-width:680px){.world-map__viewport{min-height:19rem}.world-map__node-label{max-width:5.4rem;font-size:.52rem}.world-map__places{grid-template-columns:1fr}.command-deck__actions{grid-template-columns:repeat(2,minmax(0,1fr))}.command-deck__suggestion-note{color:var(--wb-muted);margin:.55rem 0 0;font-size:.72rem;line-height:1.45}.risk-recovery{border-radius:var(--wb-radius);color:#ffe8c7;background:#43272f;border:1px solid #a96054;justify-content:space-between;align-items:center;gap:.75rem;margin-top:.55rem;padding:.55rem .7rem;font-size:.78rem;display:flex}.risk-recovery button{color:#fff8e8;background:#6e3043;border-color:#d08b70;flex:none;min-height:2.25rem}.command-entry{padding-inline:.7rem}.command-entry__row{grid-template-columns:auto minmax(0,1fr)}.game-scene__primary-action{padding:.65rem}.game-scene__primary-action>span{font-size:.78rem}.command-entry__row>button{border-top:1px solid #697794;border-left:0;grid-column:1/-1;min-height:2.75rem}.status-ribbon{grid-template-columns:minmax(0,1fr) auto;gap:.55rem}.status-ribbon__values{border-top:1px solid #353e54;grid-area:3/1/auto/-1;justify-content:space-around;padding-top:.45rem}.status-ribbon__tools{grid-area:2/1/auto/-1;grid-template-columns:repeat(5,minmax(0,1fr));display:grid}.status-ribbon__tools button{width:auto;min-width:0;padding-inline:.25rem}.risk-recovery{flex-direction:column;align-items:stretch}.transcript-panel__header{align-items:flex-start}.transcript-panel__activity{font-size:0}.transcript-panel__activity i{width:.7rem;height:.7rem}.transcript-panel__viewport{max-height:42vh;padding:.75rem}.overlay-backdrop{align-items:flex-end;padding:0}.modal{width:100%;max-height:92vh;border-radius:var(--wb-radius) var(--wb-radius) 0 0;border-bottom:0;border-left:0;border-right:0;max-height:92dvh}}:root[data-motion=reduce] .title-screen__button,:root[data-motion=reduce] .title-screen__help,:root[data-motion=reduce] .world-map__node-dot{transition:none}:root[data-motion=reduce] .game-scene__hero,:root[data-motion=reduce] .game-scene__ambient,:root[data-motion=reduce] .game-scene__clouds,:root[data-motion=reduce] .game-scene__fog,:root[data-motion=reduce] .game-scene__smoke,:root[data-motion=reduce] .game-scene__water-glint,:root[data-motion=reduce] .world-map__node-dot,:root[data-motion=reduce] .status-ribbon__state i,:root[data-motion=reduce] .transcript-panel__activity i,:root[data-motion=reduce] .overlay-backdrop,:root[data-motion=reduce] .overlay-panel{animation:none!important}:root[data-motion=reduce] .title-screen__button:not(:disabled):hover,:root[data-motion=reduce] .title-screen__help:not(:disabled):hover{transform:none}@media (prefers-reduced-motion:reduce){.title-screen__button,.title-screen__help,.world-map__node-dot{transition:none}.game-scene__hero,.game-scene__ambient,.game-scene__clouds,.game-scene__fog,.game-scene__smoke,.game-scene__water-glint,.world-map__node-dot,.status-ribbon__state i,.transcript-panel__activity i,.overlay-backdrop,.overlay-panel{animation:none!important}.title-screen__button:not(:disabled):hover,.title-screen__help:not(:disabled):hover{transform:none}}@media (forced-colors:active){.game-scene__viewport,.world-map,.command-deck,.transcript-panel,.status-ribbon,.overlay-panel{border:2px solid canvastext}.world-map__node-dot,.status-ribbon__state i,.transcript-panel__activity i{background:highlight}}.game-scene__art{isolation:isolate;background:#081323;width:100%;height:100%;position:relative;overflow:hidden}.game-scene__backdrop{z-index:0;object-fit:cover;width:100%;height:100%;image-rendering:pixelated;pointer-events:none;display:block;position:absolute;inset:0}.game-scene__hero{--hero-step-x:0px;--hero-step-y:0px;z-index:2;transform-origin:bottom;pointer-events:none;height:20%;animation:none;position:absolute;bottom:17%;left:50%;transform:translate(-50%)}.game-scene__hero-sprite{z-index:1;width:auto;height:100%;image-rendering:pixelated;transform-origin:bottom;display:block;position:relative}.game-scene__hero-shadow{z-index:0;filter:blur(1px);background:#0000006b;border-radius:50%;height:8%;position:absolute;bottom:5%;left:20%;right:20%}.game-scene__hero--west .game-scene__hero-sprite{transform:scaleX(-1)}.game-scene__hero--walking .game-scene__hero-sprite{animation:.36s steps(2,end) infinite hero-side-step}.game-scene__hero--blocked{animation:.24s steps(2,end) 2 hero-side-bump}.game-scene__darkness{z-index:3;pointer-events:none;background:#02040ead;position:absolute;inset:0}@keyframes hero-side-step{0%,to{translate:0}50%{translate:0 -4px}}@keyframes hero-side-bump{0%,to{transform:translate(-50%)}50%{transform:translate(calc(5px - 50%))}}:root[data-motion=reduce] .game-scene__hero-sprite,:root[data-motion=reduce] .game-scene__hero{animation:none!important}@media (prefers-reduced-motion:reduce){.game-scene__hero-sprite,.game-scene__hero{animation:none!important}}.game-shell__side{gap:1rem;min-width:0;display:grid}.scene-stage{min-width:0}.encounter-box{z-index:2;border:3px double var(--wb-border-bright);border-radius:var(--wb-radius);width:calc(100% - clamp(1rem,5vw,3.25rem));min-height:5.25rem;box-shadow:var(--wb-pixel-shadow), var(--wb-shadow);background:#0a0d18f5;grid-template-columns:auto minmax(0,1fr);gap:.85rem;margin:-1.25rem auto 0;padding:.9rem 1rem;display:grid;position:relative}.encounter-box__sigil{border:1px solid var(--wb-gold-dark);width:2.4rem;height:2.4rem;color:var(--wb-gold);background:#20263a;border-radius:50%;place-items:center;display:grid}.encounter-box span:not(.encounter-box__sigil){color:var(--wb-gold);letter-spacing:.1em;text-transform:uppercase;font-family:ui-monospace,Cascadia Mono,Consolas,monospace;font-size:.7rem;font-weight:900}.encounter-box p{color:var(--wb-ink);-webkit-line-clamp:4;-webkit-box-orient:vertical;margin:.2rem 0 0;line-height:1.55;display:-webkit-box;overflow:hidden}.inventory-card,.engine-alert,.map-inspector{border:1px solid var(--wb-border);border-radius:var(--wb-radius);box-shadow:var(--wb-pixel-shadow);background:linear-gradient(180deg, var(--wb-panel-raised), var(--wb-panel))}.inventory-card{padding:1rem}.inventory-card header{justify-content:space-between;align-items:center;gap:1rem;display:flex}.inventory-card h2,.map-inspector h3,.help-content h3{color:var(--wb-ink);margin:0}.inventory-card header button,.engine-alert button,.map-layer-tabs button,.save-panel button,.file-button,.settings-panel button,.settings-panel select{border:1px solid var(--wb-border-bright);min-height:2.75rem;color:var(--wb-ink);background:var(--wb-panel-soft);border-radius:4px}.inventory-card header button,.engine-alert button,.map-layer-tabs button,.save-panel button,.file-button,.settings-panel button{padding:.55rem .8rem;font-weight:750}.inventory-card>p{color:var(--wb-ink-muted);margin:.85rem 0 0}.inventory-card ul{flex-wrap:wrap;gap:.45rem;margin:.85rem 0 0;padding:0;list-style:none;display:flex}.inventory-card li{color:#e9e5ce;background:#222a40;border:1px solid #4b5873;border-radius:999px;padding:.32rem .55rem}.engine-alert{border-color:var(--wb-danger);justify-content:space-between;align-items:center;gap:1rem;margin-top:1rem;padding:.85rem 1rem;display:flex}.engine-alert div{gap:.15rem;display:grid}.engine-alert span{color:var(--wb-ink-muted)}.help-content{grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;display:grid}.help-content section{background:#121725;border:1px solid #3f4960;border-radius:4px;padding:1rem}.help-content p{color:var(--wb-ink-muted);margin:.55rem 0 0}.help-content code{color:var(--wb-gold);background:#090d18;border:1px solid #4f5b75;border-radius:3px;padding:.08rem .25rem}.map-layer-tabs{grid-template-columns:repeat(4,minmax(0,1fr));gap:.45rem;margin-bottom:1rem;display:grid}.map-layer-tabs button{text-transform:capitalize}.map-layer-tabs button[aria-pressed=true]{border-color:var(--wb-gold);color:#16140d;background:var(--wb-gold)}.map-inspector{margin-top:1rem;padding:1rem}.map-inspector p{color:var(--wb-ink-muted);margin:.45rem 0 0}.map-inspector small{color:#9ba7bc;margin-top:.65rem;display:block}.save-panel,.settings-panel{gap:1rem;display:grid}.save-panel__actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem;display:grid}.save-panel__actions button:first-child{border-color:var(--wb-gold);color:#16140d;background:var(--wb-gold)}.save-panel__status{border-left:3px solid var(--wb-blue);min-height:3rem;color:var(--wb-ink-muted);background:#0c111d;margin:0;padding:.75rem}.save-panel__confirm{border:1px solid var(--wb-danger);flex-wrap:wrap;align-items:center;gap:.6rem;padding:.75rem;display:flex}.save-panel__confirm p{flex:100%;margin:0}.file-button{cursor:pointer;place-items:center;display:grid;position:relative}.file-button:focus-within{outline:3px solid var(--wb-focus);outline-offset:3px}.file-button input{clip:rect(0, 0, 0, 0);width:1px;height:1px;position:absolute;overflow:hidden}.text-button--danger{justify-self:start;color:var(--wb-danger)!important;background:0 0!important;border-color:#0000!important}.settings-panel>label{grid-template-columns:minmax(7rem,1fr) minmax(10rem,1.2fr);align-items:center;gap:1rem;display:grid}.settings-panel>label>span{font-weight:750}.settings-panel select{width:100%;padding:.5rem 2rem .5rem .65rem}.settings-panel__buttons{border-top:1px solid #394258;flex-wrap:wrap;gap:.65rem;padding-top:.5rem;display:flex}[data-text-scale=large]{font-size:18px}@media (min-width:1101px) and (min-height:620px){.game-shell{width:100%;height:100vh;height:100dvh;min-height:0;position:fixed;inset:0;overflow:hidden}.game-shell__frame{grid-template-rows:auto auto minmax(0,1fr);height:100%;min-height:0;display:grid}.game-shell__main{grid-row:3;grid-template-rows:minmax(0,1fr);align-items:stretch;min-height:0;overflow:hidden}.game-shell__stack{grid-template-rows:minmax(0,1fr) auto;min-height:0;overflow:hidden}.scene-stage{grid-template-rows:minmax(0,1fr) auto;min-height:0;display:grid}.game-scene{justify-content:center;align-items:center;width:100%;height:100%;min-height:0;display:flex;overflow:hidden}.game-scene__viewport{flex:0 auto;width:auto;max-width:100%;height:100%;max-height:100%}.encounter-box p{-webkit-line-clamp:2}.game-shell__side{grid-template-rows:auto minmax(0,1fr);min-height:0;overflow:hidden}.transcript-panel{grid-template-rows:auto minmax(0,1fr);min-height:0}.transcript-panel__viewport{height:100%;min-height:0;max-height:none;overflow:auto}.command-deck{grid-template-columns:9rem minmax(0,2fr) minmax(18rem,1fr);align-items:stretch;padding-bottom:0;display:grid}.command-deck:not(:has(.command-deck__suggestions)){grid-template-columns:9rem minmax(18rem,1fr)}.command-deck__header{border-right:1px solid var(--wb-border);border-bottom:0;align-content:center;align-items:start;padding:.7rem .75rem;display:grid}.command-deck__suggestions{border-bottom:0;border-right:1px solid #343c52;align-content:center;gap:.55rem;padding:.65rem .75rem}.command-deck__suggestion-group h3{margin-bottom:.3rem}.command-deck__actions{grid-template-columns:repeat(auto-fit,minmax(7.5rem,1fr));gap:.35rem}.command-deck__routes{gap:.35rem}.quick-command,.route-command{min-height:2.35rem;padding:.4rem .55rem}.command-entry{align-content:center;min-width:0;padding:.65rem .75rem;display:grid}.command-entry input{min-height:2.5rem;padding-block:.45rem}.command-entry__help{-webkit-line-clamp:2;-webkit-box-orient:vertical;margin-top:.3rem;display:-webkit-box;overflow:hidden}}@media (max-width:1100px),(max-height:619px){.game-shell{width:auto;height:auto;min-height:100vh;min-height:100dvh;position:static;overflow:visible}.game-shell__main{grid-template-columns:minmax(0,1fr);align-items:start;overflow:visible}}@media (min-width:1101px) and (min-height:620px) and (max-height:800px){.game-shell{padding:.6rem;padding-bottom:calc(.6rem + var(--wb-safe-bottom))}.game-shell__main{gap:.6rem;margin-top:.6rem}.game-shell__stack,.game-shell__side{gap:.6rem}.status-ribbon{min-height:3.5rem;padding-block:.35rem}.status-ribbon__sigil{width:2rem;height:2rem}.status-ribbon__tools button{min-height:2.25rem}.inventory-card{padding:.7rem}.inventory-card header button{min-height:2.25rem;padding-block:.35rem}.inventory-card>p,.inventory-card ul{margin-top:.5rem}.encounter-box{min-height:4rem;margin-top:-.85rem;padding:.55rem .75rem}.encounter-box__sigil{width:2rem;height:2rem}.encounter-box p{margin-top:.1rem;line-height:1.4}.command-deck__header,.command-deck__suggestions,.command-entry{padding-block:.5rem}.transcript-panel__header{padding:.6rem .75rem}.transcript-panel__viewport{padding:.75rem}.transcript-panel__entries{gap:.55rem}.transcript-panel__entries p{line-height:1.45}}@media (min-width:1101px) and (min-height:620px){.game-shell{width:auto;height:auto;min-height:100vh;min-height:100dvh;position:static;overflow:visible}.game-shell__frame{height:auto;display:block}.game-shell__main{grid-row:auto;align-items:start;min-height:auto;overflow:visible}.game-shell__stack,.game-shell__side{min-height:auto;overflow:visible}.game-shell__stack,.game-shell__side,.scene-stage,.transcript-panel{grid-template-rows:none}.scene-stage{display:block}.game-scene{width:auto;height:auto;display:block;overflow:visible}.game-scene__viewport{width:100%;max-width:none;height:auto;max-height:none}.transcript-panel__viewport{height:auto;min-height:20rem;max-height:min(56vh,38rem)}:is(.command-deck,.command-deck:not(:has(.command-deck__suggestions))){display:block}}.game-shell__frame{width:min(100%,100rem)}.game-shell__main{margin-top:.7rem;display:block}.game-shell__stack{gap:.7rem}.command-deck{padding-bottom:0}.command-deck__header{justify-content:space-between;align-items:center;gap:.75rem 1rem;min-height:4.25rem;padding:.65rem .8rem;display:flex}.command-deck__heading{align-items:baseline;gap:.65rem;min-width:0;display:flex}.command-deck__heading .eyebrow{color:var(--wb-gold);flex:none;margin:0}.command-deck__heading .eyebrow:after{color:var(--wb-border-bright);content:"/";margin-left:.65rem}.command-deck__tools{align-items:center;gap:.45rem;display:flex}.command-deck__tools button{border:1px solid var(--wb-border-bright);min-height:2.6rem;color:var(--wb-ink);background:#252d43;border-radius:4px;padding:.5rem .7rem;font-size:.78rem;font-weight:800}.command-deck__tools button:hover,.command-deck__tools button[aria-expanded=true]{border-color:var(--wb-gold);background:#343d58}.command-deck__suggestions{gap:.55rem;padding:.65rem .8rem}.command-deck__actions{grid-template-columns:repeat(auto-fit,minmax(10.5rem,1fr))}.quick-command,.route-command{min-height:2.8rem;font-size:.82rem}.command-entry{border-top:1px solid var(--wb-border);padding:.75rem .8rem}.command-entry__help{margin-bottom:0}.game-scene__dialogue{z-index:3;color:#fff7d6;scrollbar-color:#8c7850 #090b12;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#05070de8;border:2px solid #f1da97e0;border-radius:2px;grid-template-columns:auto minmax(0,1fr);align-items:start;gap:.65rem;max-height:clamp(4.75rem,23%,9.5rem);padding:clamp(.65rem,1.2vw,.9rem);font-family:ui-monospace,Cascadia Mono,Consolas,monospace;font-size:clamp(.78rem,1.05vw,1rem);line-height:1.5;display:grid;position:absolute;bottom:clamp(.7rem,2%,1.15rem);left:clamp(.7rem,2%,1.15rem);right:clamp(.7rem,2%,1.15rem);overflow:auto;box-shadow:4px 4px #000000ad,inset 0 0 0 1px #fffadc14}.game-scene__dialogue:focus-visible{outline:3px solid var(--wb-focus);outline-offset:2px}.game-scene__dialogue[data-with-primary=true]{right:clamp(11.5rem,19%,14rem)}.game-scene__dialogue>span{color:var(--wb-gold);font-size:1.15em;font-weight:900;line-height:1.3}.game-scene__dialogue p{white-space:pre-wrap;margin:0}.game-scene__exit{color:#fffbe8e0;opacity:.86;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#080a139e;border:1px solid #fff4d161;border-radius:999px;justify-content:center;gap:.35rem;width:auto;min-width:5.25rem;height:2.75rem;padding:.4rem .65rem;display:flex;box-shadow:0 4px 16px #0000003d}.game-scene__exit:not(:disabled):hover,.game-scene__exit:focus-visible{border-color:var(--wb-gold);color:#fff;opacity:1;background:#181d2de6;box-shadow:0 6px 20px #00000057}.game-scene__exit-glyph{font-family:Arial,sans-serif;font-size:1.4rem;line-height:1}.game-scene__exit-label{letter-spacing:.08em;text-transform:uppercase;font-family:ui-monospace,Cascadia Mono,Consolas,monospace;font-size:.68rem;font-weight:900;transform:none!important}.game-scene__primary-action{z-index:5;padding:0;display:block;inset:auto 1rem 1rem auto}.game-scene__primary-action>span{-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#080a13c7;border-width:1px;border-radius:999px;align-items:center;gap:.55rem;min-height:3rem;padding:.65rem .9rem;display:inline-flex;box-shadow:0 6px 20px #0000005c}.game-scene__exit--north .game-scene__exit-glyph{transform:rotate(-90deg)}.game-scene__exit--south .game-scene__exit-glyph{transform:rotate(90deg)}.game-scene__exit--west .game-scene__exit-glyph{transform:rotate(180deg)}.game-scene__exit--north{top:.65rem}.game-scene__exit--east{right:.65rem}.game-scene__exit--south{bottom:clamp(5.5rem,25%,10rem)}.game-scene__exit--west{left:.65rem}.story-drawer{width:min(96vw,40rem)}@media (min-width:761px) and (min-height:620px){.game-shell__frame{width:min(100%,100rem)}}.story-drawer>.overlay-panel__body{background:#0c101c;padding:.8rem}.story-drawer__content{gap:.8rem;display:grid}.story-drawer .transcript-panel__viewport{min-height:24rem;max-height:calc(100dvh - 18rem)}.game-shell{width:100%;height:100vh;height:100dvh;min-height:0;padding:clamp(.6rem,1vw,1rem);padding-bottom:calc(clamp(.6rem, 1vw, 1rem) + var(--wb-safe-bottom));position:fixed;inset:0;overflow:hidden}.game-shell__frame{flex-direction:column;width:min(100%,100rem);height:100%;min-height:0;display:flex}.game-shell__main{flex:auto;align-items:stretch;min-height:0;margin-top:0;padding-top:.7rem;display:flex;overflow:hidden}.game-shell__stack{flex-direction:column;flex:auto;gap:.7rem;min-width:0;min-height:0;display:flex;overflow:hidden}.scene-stage{flex-direction:column;flex:auto;min-width:0;min-height:0;display:flex;overflow:hidden}.game-scene{flex:auto;justify-content:center;align-items:center;width:100%;min-height:0;display:flex;overflow:hidden}.game-scene__viewport{flex:0 auto;width:auto;max-width:100%;height:100%;max-height:100%}.command-deck{overscroll-behavior:contain;flex:none;max-height:min(44dvh,22rem);overflow:auto}@media (min-width:761px){.command-deck{grid-template-columns:minmax(19rem,.8fr) minmax(0,1.2fr);align-items:stretch;display:grid}.command-deck:not(:has(.command-deck__suggestions)){grid-template-columns:1fr}.command-deck__header{border-right:1px solid var(--wb-border);border-bottom:0;min-height:3.5rem;padding:.4rem .65rem}.command-deck__suggestions{border-bottom:0;align-content:center;padding:.4rem .65rem}.command-deck__actions{grid-template-columns:repeat(auto-fit,minmax(9rem,1fr))}.quick-command,.route-command{min-height:2.4rem;padding:.35rem .5rem;font-size:.76rem}.command-entry{grid-column:1/-1}}@media (max-width:760px){.command-deck__header{align-items:flex-start}.command-deck__tools{flex-wrap:wrap;justify-content:flex-end}.game-scene__dialogue{gap:.45rem;max-height:43%;padding:.55rem .6rem;font-size:clamp(.67rem,3vw,.78rem);line-height:1.4;bottom:.55rem;left:.55rem;right:.55rem}.game-scene__dialogue[data-with-primary=true]{bottom:3.8rem;right:.55rem}.game-scene__exit{min-width:4.65rem;height:2.6rem;padding:.35rem .5rem}.game-scene__exit--south{bottom:clamp(4.8rem,43%,7rem)}.game-scene__exit-label{font-size:.62rem}.game-scene__primary-action{bottom:.65rem;right:.65rem}.game-scene__primary-action>span{min-height:2.7rem;padding:.55rem .7rem}}@media (max-height:520px){.game-shell{padding:.35rem;padding-bottom:calc(.35rem + var(--wb-safe-bottom))}.game-shell__main{padding-top:.35rem}.game-shell__stack{gap:.35rem}.status-ribbon{min-height:3rem;padding-block:.25rem}.status-ribbon__values,.status-ribbon__state{display:none}.status-ribbon__tools button,.command-deck__tools button,.quick-command,.route-command{min-height:2.2rem}.command-deck{max-height:40dvh}.command-deck__header,.command-deck__suggestions,.command-entry{padding-block:.35rem}}.title-screen__utility{flex-wrap:wrap}.title-screen__status{margin-right:auto}.status-ribbon__stone{background:#151519;border:1px solid #b9a479;border-radius:48% 52% 45% 55%;flex:none;place-items:center;width:2.6rem;height:2.6rem;padding:0;display:grid;position:relative;overflow:hidden;transform:rotate(-3deg);box-shadow:inset 0 0 0 2px #ffffff17,0 3px #05060c}.status-ribbon__stone img{object-fit:cover;width:100%;height:100%;display:block}.status-ribbon__stone[data-glowing=true]{border-color:#efd0ff;animation:1.8s ease-in-out infinite feelie-stone-glow;box-shadow:0 0 0 2px #de96ff38,0 0 18px #cd6bff94}@keyframes feelie-stone-glow{50%{filter:brightness(1.14)saturate(1.12);transform:rotate(2deg)scale(1.04)}}.map-modal{width:min(100%,76rem)}.map-modal .overlay-panel__body{background:linear-gradient(#110d0ae0,#110d0ae0),repeating-linear-gradient(90deg,#3b281c 0 3px,#2d1e16 3px 8px);padding:clamp(.65rem,1.4vw,1rem)}.world-map__zoom{justify-content:flex-end;align-items:center;gap:.45rem;padding:0 .8rem .7rem;display:flex}.world-map__zoom button{color:#f7e7c2;background:#33261e;border:1px solid #8f7659;border-radius:3px;min-height:2.5rem;padding:.4rem .75rem;font-family:ui-monospace,Cascadia Mono,Consolas,monospace;font-size:.72rem;font-weight:850}.world-map__zoom button:not(:disabled):hover{background:#523928;border-color:#f0cc7a}.world-map__zoom button:disabled{opacity:.42}.world-map__zoom-button{width:2.5rem;padding-inline:0!important;font-size:1.1rem!important}.world-map__zoom-level{color:#d9c59e;text-align:center;min-width:3.2rem;font-family:ui-monospace,Cascadia Mono,Consolas,monospace;font-size:.72rem}.world-map__viewport{scrollbar-color:#96764d #241a12;overscroll-behavior:contain;background:#211811;border-color:#9e7c52;min-height:0;max-height:min(64vh,52rem);overflow:auto}.world-map__canvas{aspect-ratio:2801/3306;background:#e8c990;min-width:100%;margin-inline:auto;position:relative}.world-map__art{z-index:0;object-fit:fill;-webkit-user-select:none;user-select:none;-webkit-user-drag:none;width:100%;height:100%;display:block;position:absolute;inset:0}.world-map__routes{z-index:1;pointer-events:none}.world-map__route{stroke:#8d2944;stroke-width:.72px;stroke-dasharray:1.3 1;filter:drop-shadow(0 .25px #fff6d8)}.world-map__node{z-index:3}.world-map__node-label{background:#f2deb1eb;border-color:#4a2d2294;box-shadow:1px 1px #fff8da8c}.world-map__empty{z-index:4;background:#efdaaeed;border:1px solid #755b41;padding:.8rem}.world-map__legend-route{border-color:#a8495c}.feelies-modal{background:#2d2018;border-color:#a48764;width:min(100%,74rem)}.feelies-modal>.overlay-panel__header{background:linear-gradient(90deg,#49212cf5,#341a22fa),repeating-linear-gradient(90deg,#0000 0 7px,#ffffff08 8px 9px);border-color:#7f624a}.feelies-modal>.overlay-panel__body{background:linear-gradient(#1b120db3,#1b120db3),repeating-linear-gradient(93deg,#51331f 0 4px,#3c281a 4px 10px);padding:clamp(.65rem,1.6vw,1.2rem)}.feelies-case{color:#31271f;background:radial-gradient(circle at 12% 8%,#7f4e310f 0 1px,#0000 1.5px) 0 0/13px 17px,radial-gradient(circle at 88% 27%,#7f4e310d 0 1px,#0000 1.5px) 0 0/19px 23px,linear-gradient(96deg,#f2e8ce,#fffaf0 52%,#eadbbd);border:1px solid #7b6249;border-radius:2px;overflow:hidden;box-shadow:.45rem .55rem #0c08068a,inset 0 0 2.5rem #744a2c29}.feelies-case__header,.feelies-case__section-header{justify-content:space-between;align-items:flex-start;gap:1rem;display:flex}.feelies-case__header{background:#fffcf194;border-bottom:1px solid #bca889;padding:1rem clamp(1rem,3vw,2rem)}.feelies-case__header h2,.feelies-case__section h3,.feelies-case__section h4{color:#31271f;margin:0;font-family:Georgia,Times New Roman,serif}.feelies-case__header h2{font-size:clamp(1.3rem,3vw,2rem)}.feelies-case .eyebrow{color:#774050}.feelies-case__stamp{color:#96394e;letter-spacing:.1em;text-transform:uppercase;border:2px solid #9c4254;flex:none;margin-top:.35rem;padding:.28rem .55rem;font-family:ui-monospace,Cascadia Mono,Consolas,monospace;font-size:.7rem;font-weight:900;transform:rotate(4deg)}.feelies-case__tabs{background:#d6c49e;border-bottom:1px solid #9f8969;grid-template-columns:repeat(3,minmax(0,1fr));display:grid}.feelies-case__tabs button,.feelies-case__page-controls button,.feelies-case__letter-controls button{color:#4c3b2d;background:#ddcba5;border:0;border-right:1px solid #a38f6c;min-height:2.75rem;padding:.52rem .8rem;font-family:ui-monospace,Cascadia Mono,Consolas,monospace;font-size:.72rem;font-weight:850}.feelies-case__tabs button:last-child,.feelies-case__letter-controls button:last-child{border-right:0}.feelies-case__tabs button[aria-pressed=true],.feelies-case__letter-controls button[aria-pressed=true]{color:#fff8e9;background:#78394c}.feelies-case__tabs button:not(:disabled):hover,.feelies-case__page-controls button:not(:disabled):hover,.feelies-case__letter-controls button:not(:disabled):hover{color:#2b1f18;background:#f2dfb3}.feelies-case__section{padding:clamp(.85rem,2vw,1.5rem)}.feelies-case__section[hidden]{display:none}.feelies-case__section-header{max-width:64rem;margin:0 auto .9rem}.feelies-case__section-header h3{font-size:clamp(1.2rem,2.4vw,1.7rem)}.feelies-case__page-count,.feelies-case__seal-status,.feelies-case__stone-status{color:#5e4d3a;background:#e8d8b8;border:1px solid #a78e6a;margin:0;padding:.28rem .5rem;font-family:ui-monospace,Cascadia Mono,Consolas,monospace;font-size:.68rem;font-weight:800}.feelies-case__booklet,.feelies-case__letter-art{justify-items:center;max-width:64rem;margin:0 auto;display:grid}.feelies-case__booklet img{object-fit:contain;background:#fff;border:1px solid #a89370;width:auto;max-width:100%;max-height:min(62vh,46rem);display:block;box-shadow:0 0 0 .4rem #e4d5b6,.65rem .75rem 1rem #412b1b57}.feelies-case__booklet[data-enlarged=true]{justify-items:stretch}.feelies-case__booklet[data-enlarged=true] img{width:100%;max-height:none}.feelies-case__booklet figcaption,.feelies-case__letter-art figcaption,.feelies-case__stone figcaption{color:#65513d;text-align:center;margin-top:.8rem;font-family:ui-monospace,Cascadia Mono,Consolas,monospace;font-size:.68rem}.feelies-case__page-controls{border:1px solid #a38f6c;grid-template-columns:repeat(3,minmax(0,1fr));max-width:44rem;margin:1.25rem auto 0;display:grid}.feelies-case__page-controls button:disabled{color:#8c7d68;background:#d3c5aa}.feelies-case__letter-guidance{color:#4c3a2d;background:#e2cea79e;border-left:4px solid #8f4052;max-width:54rem;margin:0 auto 1rem;padding:.7rem .85rem}.feelies-case__section--letter[data-sealed=true] .feelies-case__seal-status{color:#8d3045;border-color:#9d3c4f;transform:rotate(-3deg)}.feelies-case__letter-controls{border:1px solid #a38f6c;flex-wrap:wrap;max-width:54rem;margin:0 auto 1rem;display:flex}.feelies-case__letter-controls button{flex:9rem}.feelies-case__letter-art{background:radial-gradient(circle at 30% 20%,#ffe8ae33,#0000 20rem),#33231a;border:1px solid #8c6e4e;place-content:center;min-height:18rem;padding:clamp(.75rem,2vw,1.5rem);box-shadow:inset 0 0 3rem #27180e4d}.feelies-case__letter-art img{object-fit:contain;width:auto;max-width:100%;max-height:min(55vh,42rem);display:block;box-shadow:.65rem .75rem 1rem #00000061}.feelies-case__letter-art[data-view^=envelope] img{width:min(100%,52rem)}.feelies-case__letter-art figcaption{color:#e3cfaa}.feelies-case__transcript{color:#382a20;background:linear-gradient(100deg,#eadbbd,#fff8e5 52%,#ead8b7);border:1px solid #baa17c;max-width:52rem;margin:1rem auto 0;padding:1rem clamp(1rem,3vw,2rem)}.feelies-case__transcript blockquote{margin:.65rem 0 0;font-family:Segoe Print,Bradley Hand,cursive;font-size:1.04rem;line-height:1.68}.feelies-case__transcript p{margin:0 0 .8rem}.feelies-case__transcript footer{text-align:right}.feelies-case__stone{background:#141416;border:1px solid #7a634e;place-content:center;justify-items:center;max-width:34rem;min-height:24rem;margin:1rem auto;display:grid;position:relative;overflow:hidden;box-shadow:inset 0 0 5rem #000,.7rem .8rem 1rem #37251947}.feelies-case__stone:before{content:"";border:1px solid #e7d2ad33;border-radius:50%;position:absolute;inset:8%;box-shadow:inset 0 0 4rem #fff4d314}.feelies-case__stone[data-glowing=true]{box-shadow:inset 0 0 6rem #050206,0 0 2.5rem #c670e759}.feelies-case__stone img{z-index:1;filter:drop-shadow(0 1.2rem 1rem #000000bf);border-radius:45%;width:min(70%,24rem);display:block;position:relative}.feelies-case__stone figcaption{z-index:1;color:#e8d9bf;position:relative}.feelies-case__wish-meter{background:#e4d2af;border:1px solid #a88e68;gap:.7rem;max-width:34rem;margin:0 auto;padding:.9rem;display:grid}.feelies-case__wish-meter label{color:#4a392b;grid-template-columns:auto minmax(8rem,1fr) auto;align-items:center;gap:.7rem;font-size:.78rem;font-weight:800;display:grid}.feelies-case__wish-meter meter{accent-color:#9a4664;width:100%}.feelies-case__wish-marks{justify-content:center;gap:.4rem;display:flex}.feelies-case__wish-marks i{background:#f0e3c7;border:1px solid #6e5e4b;width:.7rem;height:.7rem;transform:rotate(45deg)}.feelies-case__wish-marks i[data-used=true]{background:#9a4664;border-color:#6e2844}.feelies-case__locked-message{color:#6a5540;text-align:center;background:#ddcba57a;border:1px dashed #9e8664;place-content:center;justify-items:center;max-width:34rem;min-height:20rem;margin:1rem auto;display:grid}.feelies-case__locked-message span{color:#8f4052;font-size:2rem}.feelies-case__locked-message p{max-width:24rem;margin:.7rem}.transcript-panel{background:#432c26;border-color:#8d6a50;box-shadow:4px 4px #05060c,inset 0 0 0 3px #f4deb812}.transcript-panel__header{background:linear-gradient(90deg,#6e3043,#4f2634),repeating-linear-gradient(90deg,#0000 0 8px,#ffffff0a 9px 10px);border-color:#9c6f62}.transcript-panel__header .eyebrow{color:#f0cf9e}.transcript-panel__header h2{color:#fff4dd;font-family:Georgia,Times New Roman,serif;font-size:1.16rem}.transcript-panel__activity{color:#f1dfbd}.transcript-panel__viewport{color:#31271f;scrollbar-color:#9c7653 #e5d1ae;background:radial-gradient(circle at 12% 7%,#6e4b2d0a 0 1px,#0000 1.5px) 0 0/17px 19px,linear-gradient(100deg,#eadbbd,#fff8e5 52%,#ead8b7)}.transcript-panel__entries{max-width:70ch}.transcript-panel__entries li{color:#32271f}.transcript-panel__entries li[data-kind=command]{color:#3d2b22;background:#e0ca9eb8;border-color:#b89a72 #b89a72 #b89a72 #8d3b51;transform:rotate(-.15deg)}.transcript-panel__entries li[data-kind=system]{color:#536368;border-left-color:#617a7f}.transcript-panel__entries p{color:inherit;font-family:Georgia,Times New Roman,serif;font-size:clamp(1rem,1.35vw,1.1rem);line-height:1.68}.transcript-panel__entries li[data-kind=command] p{color:#4d2e29;text-transform:uppercase;font-family:ui-monospace,Cascadia Mono,Consolas,monospace;font-size:.9rem}.transcript-panel__prompt{color:#8d3b51}.transcript-panel__empty{color:#695642}.transcript-panel__empty>span{color:#8d3b51}.transcript-panel__empty strong{color:#3a2c22}.transcript-panel__jump{color:#fff8e8;background:#6e3043;border-color:#7f3a4d}@media (max-width:680px){.title-screen__utility{gap:.55rem .8rem}.title-screen__status{flex-basis:100%}.status-ribbon__stone{width:2.3rem;height:2.3rem}.status-ribbon__tools{gap:.2rem}.status-ribbon__tools button{width:auto;min-width:0;padding-inline:.25rem}.map-modal{width:100%}.map-modal .overlay-panel__body{padding:.5rem}.map-layer-tabs{gap:.25rem}.map-layer-tabs button{min-height:2.45rem;padding-inline:.3rem;font-size:.68rem}.world-map__zoom{justify-content:center;padding-inline:.4rem}.world-map__viewport{max-height:58vh;margin-inline:.35rem}.feelies-modal>.overlay-panel__body{padding:.45rem}.feelies-case__header{padding:.8rem}.feelies-case__header h2{font-size:1.2rem}.feelies-case__stamp{font-size:.58rem}.feelies-case__tabs button{padding-inline:.3rem;font-size:.62rem}.feelies-case__page-controls{grid-template-columns:1fr}.feelies-case__page-controls button{border-bottom:1px solid #a38f6c;border-right:0}.feelies-case__page-controls button:last-child{border-bottom:0}.feelies-case__letter-art{min-height:13rem;padding:.5rem}.feelies-case__letter-art img{max-height:52vh}.feelies-case__stone{min-height:18rem}.feelies-case__wish-meter label{grid-template-columns:1fr auto}.feelies-case__wish-meter meter{grid-area:2/1/auto/-1}.transcript-panel__viewport{background:linear-gradient(100deg,#eadbbd,#fff8e5 52%,#ead8b7);padding-left:.85rem}}:root[data-motion=reduce] .status-ribbon__stone,:root[data-motion=reduce] .feelies-case__stamp{transform:none;animation:none!important}@media (prefers-reduced-motion:reduce){.status-ribbon__stone,.feelies-case__stamp{transform:none;animation:none!important}}@media (forced-colors:active){.feelies-case,.feelies-case__booklet img,.feelies-case__letter-art,.feelies-case__stone,.world-map__viewport{border:2px solid canvastext}}
