.journey-body{--ink:#33281f;--umber:#4b3627;--paper:#f2dfb5;--paper-soft:#ddc796;--gold:#c29b54;--gold-bright:#e4c476;color:var(--paper);background:#202a24;margin:0;font-family:Georgia,Times New Roman,serif;overflow:hidden}.journey-body *,.journey-body :before,.journey-body :after{box-sizing:border-box}.journey-page{background:radial-gradient(circle at 48% 8%,#76815c,#4a5746 42%,#202a24 100%);place-items:center;height:100dvh;padding:clamp(.35rem,1.5vw,1rem);display:grid;overflow:hidden}.journey-shell{flex-direction:column;width:min(1500px,100%);min-width:0;height:100%;min-height:0;display:flex}.journey-page{grid-template-rows:minmax(0,1fr)}.journey-heading{justify-content:space-between;align-items:center;gap:1rem;margin:0 auto .45rem;padding:0 .25rem;display:flex}.journey-heading h1{color:#f7e6b9;letter-spacing:.015em;text-shadow:2px 2px #2a211b;margin:0;font:800 clamp(1.25rem,2.4vw,2rem)/1 Georgia,serif}.journey-heading p{color:#dbc895;letter-spacing:.16em;text-transform:uppercase;margin:.18rem 0 0;font-size:.68rem}.journey-actions{gap:.35rem;display:flex}.journey-actions button,.journey-map-buttons button,.journey-dialog button,.journey-touch button{border:1px solid var(--gold);min-width:44px;min-height:44px;color:var(--paper);cursor:pointer;background:#332820e8;border-radius:.25rem;padding:.35rem .65rem;font:700 .76rem/1 system-ui,sans-serif}.journey-actions button:hover,.journey-actions button:focus-visible,.journey-map-buttons button:hover,.journey-map-buttons button:focus-visible{background:#5b4a37}.journey-body button:focus-visible{outline:3px solid var(--gold-bright);outline-offset:2px}.journey-stage{border:2px solid var(--gold);background:#46573b;border-radius:.3rem;flex:1;min-height:0;position:relative;overflow:hidden;box-shadow:0 18px 50px #111710cc,inset 0 0 0 1px #f4dc9955}#journey-world{width:100%;height:100%;min-height:0}#journey-world canvas{image-rendering:pixelated;filter:saturate(1.08)brightness(1.025);display:block;width:100%!important;height:100%!important}.journey-hud{pointer-events:none;color:#fff1ce;text-shadow:1px 1px 0 var(--ink);grid-template-columns:1fr auto 1fr;align-items:start;gap:.7rem;font:800 .76rem/1.1 system-ui,sans-serif;display:grid;position:absolute;inset:.62rem .75rem auto}.journey-hud>div{align-items:center;gap:.48rem;min-width:0;display:flex}.journey-label{color:var(--gold-bright);letter-spacing:.15em;font-size:.6rem}.journey-health{color:#70433f;gap:.1rem;font-size:1.02rem;line-height:1;display:inline-flex}.journey-amber{color:#f0cf7a;white-space:nowrap;border-left:1px solid #ead39388;padding-left:.42rem}.journey-heart.is-full{color:#bd625e}.journey-area{text-align:center;color:#fff0c9;flex-direction:column;gap:.15rem!important}.journey-area span:first-child{font:800 .85rem/1 Georgia,serif}.journey-area span:last-child{color:#eed49a;font-size:.6rem}.journey-objective{flex-direction:column;justify-content:flex-end;align-items:flex-end!important;gap:.16rem!important}.journey-objective span:last-child{color:#f0dba8;font-size:.7rem;font-weight:500}.journey-panel,.journey-dialog,.journey-map-overlay{z-index:10;border:1px solid var(--gold);color:var(--paper);text-align:center;background:#30261eea;border-radius:.25rem;margin:0;padding:.7rem .95rem;font:700 .88rem/1.35 system-ui,sans-serif;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.journey-body [hidden]{display:none!important}.journey-error{color:#ffd0a7;border-color:#c87355}.journey-toast{z-index:8;border:1px solid var(--gold);color:var(--paper);opacity:0;pointer-events:none;background:#30261eea;border-radius:.25rem;margin:0;padding:.5rem .8rem;font:700 .78rem/1.25 system-ui,sans-serif;transition:opacity .16s;position:absolute;bottom:3.25rem;left:50%;transform:translate(-50%)}.journey-toast.is-visible{opacity:1}.journey-toast[data-tone=good]{color:#dceabf;border-color:#9ab978}.journey-toast[data-tone=warning]{color:#ffd2a5;border-color:#c77d58}.journey-dialog{text-align:left;width:min(330px,100% - 1.2rem);padding:.8rem 1rem .7rem;top:auto;bottom:3.4rem}.journey-dialog button{background:0 0;border:0;min-width:32px;min-height:32px;padding:0;font-size:1.25rem;position:absolute;top:.3rem;right:.3rem}.journey-dialog strong{color:#f4d48f;font-size:.98rem;display:block}.journey-dialog span{color:#d7bd87;letter-spacing:.08em;text-transform:uppercase;margin-top:.1rem;font:600 .67rem/1 system-ui,sans-serif;display:block}.journey-dialog p{color:#f4e4c1;margin:.5rem 0 .4rem;font:500 .8rem/1.35 system-ui,sans-serif}.journey-dialog small{color:#c7ae7d;font:600 .64rem/1 system-ui,sans-serif}.journey-status{z-index:7;border:1px solid var(--gold);width:max-content;max-width:calc(100% - 1rem);color:var(--paper);background:#30261eea;border-radius:.25rem;align-items:center;gap:.55rem;padding:.5rem .65rem;font:700 .74rem/1.2 system-ui,sans-serif;display:flex;position:absolute;bottom:3.2rem;left:50%;transform:translate(-50%)}.journey-status strong{color:#f4d48f}.journey-status span{color:#f4e4c1;font-weight:500}.journey-status button{border:1px solid var(--gold);min-height:34px;color:var(--paper);background:#6b4631;border-radius:.2rem;padding:.25rem .5rem;font:700 .68rem/1 system-ui,sans-serif}.journey-map-overlay{background:#211c18aa;border:0;border-radius:0;place-items:center;width:100%;height:100%;padding:1rem;display:grid;inset:0;transform:none}.journey-map-card{border:1px solid var(--gold);background:#30261ef2;border-radius:.3rem;width:min(700px,100%);padding:1rem;box-shadow:0 12px 30px #11171099}.journey-map-top{justify-content:space-between;align-items:start;display:flex}.journey-map-top h2{color:#f4d48f;margin:.2rem 0 0;font:800 1.2rem/1 Georgia,serif}.journey-map-top button{min-width:40px;min-height:40px;color:var(--paper);background:0 0;border:0;font-size:1.4rem}.journey-minimap{color:#e4c476;letter-spacing:.06em;white-space:nowrap;align-items:center;gap:.45rem;margin:1rem 0;font:700 .63rem/1 system-ui,sans-serif;display:flex}.journey-minimap span{text-align:center;background:#5e7048;border:1px solid #b8914e;border-radius:.2rem;flex:1;padding:.7rem .4rem}.journey-minimap span:nth-of-type(2){background:#756449}.journey-minimap span:nth-of-type(3){background:#40583a}.journey-minimap i{background:#d0ae70;width:24px;height:1px}.journey-map-buttons{gap:.4rem;display:flex}.journey-map-buttons button{flex:1}.journey-map-buttons button:disabled{cursor:not-allowed;opacity:.4}.journey-map-card small{color:#c7ae7d;margin-top:.65rem;font:600 .66rem/1.3 system-ui,sans-serif;display:block}.journey-controls{color:#f1dfb8cc;text-align:center;letter-spacing:.03em;pointer-events:none;margin:0;font:500 .65rem/1.2 system-ui,sans-serif;position:absolute;bottom:.35rem;left:0;right:0}.mobile-controls,.journey-touch{display:none}.prototype-intro{z-index:30;background:#17281bd9;place-items:center;padding:1rem;display:grid;position:absolute;inset:0;overflow:auto}.prototype-card{text-align:center;background:#28382a;border:1px solid #c29b54;width:min(470px,100%);padding:clamp(1.15rem,3vw,2rem);box-shadow:0 16px 48px #101b16aa,inset 0 0 0 5px #354532}.prototype-eyebrow{letter-spacing:.2em;color:#e4c476;margin:0 0 .65rem;font:700 .62rem/1.5 system-ui,sans-serif}.prototype-card h2{color:#f7e6b9;margin:0 0 1rem;font:700 clamp(1.7rem,4vw,2.4rem)/1.05 Georgia,serif}.prototype-card>p:not(.prototype-eyebrow){color:#e1dbc3;font:400 .9rem/1.5 system-ui,sans-serif}.prototype-keys{text-align:left;grid-template-columns:1fr 1fr;gap:.6rem;padding:1rem 0;font:500 .7rem/1.4 system-ui,sans-serif;display:grid}.prototype-keys span{align-items:center;gap:.5rem;display:flex}.prototype-keys kbd{color:#f7e6b9;background:#17281b;border:1px solid #8b956b;border-bottom-width:3px;border-radius:3px;padding:.35rem;font:700 .65rem/1 monospace}.prototype-card .prototype-hint{color:#bfc9a4!important;font-size:.77rem!important}.prototype-card button{color:#263227;cursor:pointer;background:#d6b774;border:1px solid #e4c476;border-radius:3px;width:100%;min-height:48px;margin:1.2rem 0 .65rem;font:800 .92rem/1 system-ui,sans-serif;display:block}.prototype-card button:hover{background:#ead093}.prototype-card small{color:#bfc9a4;font:500 .65rem/1.3 system-ui,sans-serif}.channel-prototype .journey-hud{background:#263627df;border:1px solid #bda56866;border-radius:4px;padding:.5rem .65rem}.channel-prototype .journey-controls{color:#fff2cf;background:#263627dd;padding:.45rem;bottom:0}@media (height<=530px){.prototype-card{padding:1rem}.prototype-card h2{margin-bottom:.5rem;font-size:1.5rem}.prototype-card>p:not(.prototype-eyebrow){margin:.5rem 0;font-size:.76rem}.prototype-keys{gap:.3rem;padding:.3rem 0}.prototype-card button{min-height:44px;margin:.6rem 0}}@media (width<=700px){.journey-page{place-items:start center;height:100dvh;padding:.3rem}.journey-shell{flex-direction:column;height:100%;display:flex}.journey-stage{flex:1;min-height:0}#journey-world{height:100%;min-height:0}.journey-heading{margin-bottom:.3rem}.journey-heading h1{font-size:1.15rem}.journey-heading p{letter-spacing:.1em;font-size:.58rem}.journey-hud{gap:.35rem;font-size:.66rem;inset:.5rem .45rem auto}.journey-area span:first-child{font-size:.72rem}.journey-area span:last-child{font-size:.54rem}.journey-objective span:last-child{text-align:right;max-width:100px;font-size:.6rem}.desktop-controls{display:none}.mobile-controls{display:inline}.journey-touch{pointer-events:none;justify-content:space-between;align-items:end;display:flex;position:absolute;inset:auto .55rem .85rem}.journey-dpad{pointer-events:auto;grid-template-rows:repeat(2,44px);grid-template-columns:repeat(3,44px);gap:3px;display:grid}.journey-dpad button{width:44px;height:44px;padding:0}.journey-dpad button[data-dir=up]{grid-column:2}.journey-dpad button[data-dir=left]{grid-area:2/1}.journey-dpad button[data-dir=down]{grid-area:2/2}.journey-dpad button[data-dir=right]{grid-area:2/3}.journey-touch-actions{pointer-events:auto;align-items:end;gap:.35rem;display:flex}.journey-touch-actions button{min-width:44px;min-height:44px;padding:.2rem .42rem}.journey-touch-actions button:last-child{color:#ffebaf;background:#744135ee;border-width:2px;border-radius:50%;width:58px;min-width:58px;height:58px;font-size:1.4rem}.journey-run.is-active{color:#fff1bd;background:#765d32}.journey-map-card{padding:.8rem}.journey-minimap{gap:.18rem}.journey-minimap span{padding:.55rem .15rem;font-size:.48rem}.journey-minimap i{width:10px}.journey-map-buttons{flex-direction:column}}@media (prefers-reduced-motion:reduce){.journey-toast{transition:none}}.journey-heading{flex-shrink:0;width:100%}.journey-map-top button,.journey-dialog button{min-width:44px;min-height:44px}@media (width<=700px){.journey-hud{grid-template-columns:1fr auto}.journey-hud>div:first-child{flex-wrap:wrap;gap:.25rem}.journey-area{white-space:nowrap;position:absolute;top:2rem;left:50%;transform:translate(-50%)}.journey-dialog{bottom:7.5rem;transform:translate(-50%)}.journey-status{width:calc(100% - 1.2rem);bottom:7.5rem}}
