:root{font-family:system-ui,sans-serif;color:#f5edd9;background:#192f29;font-synthesis:none}*{box-sizing:border-box}body{margin:0}header,footer,.dashboard{padding:1rem 2rem}header{background:#233e35}h1{font-family:Georgia,serif;font-weight:400;font-size:2.5rem;margin:.3rem 0}p{margin:.4rem 0}.eyebrow{letter-spacing:.18em;font-size:.67rem;color:#e5bc76}.muted{color:#c3c9b8;font-size:.85rem}#viewport{height:58vh;min-height:260px}canvas{display:block;width:100%;height:100%}.dashboard{display:flex;justify-content:space-between;gap:1rem;align-items:center}output{font-size:2rem}button,.file-label{background:#efd9ac;color:#233e35;border:0;border-radius:5px;padding:.8rem 1rem;font:inherit;cursor:pointer;touch-action:none}button:active{background:#e5bc76}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #edbd72;outline-offset:4px}.controls{display:flex;gap:.5rem;flex-wrap:wrap}a{color:#efd9ac}footer{font-size:.8rem;border-top:1px solid #536052}#error{color:#ffbd9d}.inspector{display:grid;grid-template-columns:minmax(250px,330px) 1fr;height:100vh}.inspector aside{padding:1.3rem;overflow:auto}.inspector #viewport{height:100vh}.inspector h1{font-size:1.8rem}.inspector label{display:block;margin:1rem 0}.inspector input[type=number]{width:5rem}pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:.75rem;color:#d8dfcf}input{max-width:100%}@media(max-width:700px){header,footer,.dashboard{padding:1rem}.dashboard{display:block}.controls{margin-top:1rem}.inspector{display:flex;flex-direction:column;height:auto}.inspector #viewport{height:55vh}.inspector aside{max-height:45vh}}.game-header{display:flex;justify-content:space-between;align-items:center;gap:1rem;padding:.8rem 1.7rem}.game-header h1{font-size:1.9rem}.trip-meta{display:flex;gap:1.2rem;font-variant-numeric:tabular-nums;font-size:.9rem}.dashboard{background:#28372f;border-top:5px solid #bcb298;align-items:center;padding:.6rem 1.5rem;gap:2rem}#instruments{display:flex;gap:.9rem;align-items:center}.instrument{position:relative;text-align:center;width:140px;height:129px;flex-shrink:0;border-radius:48% 48% 15% 15%;background:#ece3c9;color:#26362f;border:5px solid #a9aea0;box-shadow:0 3px 8px #0007}.instrument svg{width:100%;height:96px}.instrument>span{font-weight:700;font-size:.63rem;letter-spacing:.18em;position:absolute;bottom:8px;left:0;right:0}.dial-arc,.dial-ticks{fill:none;stroke:#445348;stroke-width:2}.dial-danger{fill:none;stroke:#ae583d;stroke-width:3}.needle{transform-origin:80px 84px}.needle path{stroke:#a9472f;stroke-width:3}.needle circle{fill:#445348}.instrument text{font:10px system-ui;fill:#405046;text-anchor:middle}.speed-readout{position:absolute;left:0;right:0;top:68px;font-size:.85rem;font-variant-numeric:tabular-nums}.drive-controls{flex:1}.drive-controls .muted{font-size:.75rem}.drive-controls button{font-size:.8rem;padding:.7rem .85rem}button:disabled{opacity:.4;cursor:default}button:hover:not(:disabled){background:#e8c98e}#roadside{padding:1.5rem 2rem;background:#34483b;border-top:2px solid #b7a47a}#roadside h2{font-family:Georgia,serif;font-weight:400;font-size:1.7rem;margin:.3rem 0}#repair-actions{margin:1rem 0}#repair-status{max-width:60rem}#inventory{font-size:.85rem;color:#294536;background:#dce0ca;border-left:3px solid #627a55;padding:.65rem .8rem;margin:.6rem 0 1rem}#developer{padding:1.5rem 2rem;border-top:1px solid #b5a67f;background:#11241e}#developer label{display:inline-block;margin:.8rem}#developer input{width:6rem}#developer pre{max-height:380px;overflow:auto}#events{font-size:.8rem;line-height:1.7}[hidden]{display:none!important}#app>#viewport{height:54vh;min-height:300px}footer a{display:inline-block;margin:.3rem 0}@media(max-width:950px){.dashboard{display:block}#instruments{justify-content:center}.drive-controls{text-align:center;margin-top:.8rem}.controls{justify-content:center}.trip-meta{flex-direction:column;gap:.3rem;text-align:right}.instrument{width:110px;height:110px}.instrument svg{height:83px}.speed-readout{top:58px}.game-header{padding:.7rem 1rem}.game-header h1{font-size:1.4rem}.trip-meta{font-size:.75rem}#app>#viewport{height:46vh;min-height:260px}}@media(prefers-reduced-motion:reduce){.needle{transition:none}}.stage-card,.game-panel{padding:1.5rem 2rem;background:#e9e1c8;color:#243e32;border-top:4px solid #b9a477}.stage-card h2,.game-panel h2{font:2rem Georgia,serif;margin:.3rem 0 .8rem}.stage-card p,.game-panel p{line-height:1.6;max-width:70rem}.stage-card button,.game-panel button{background:#315a43;color:#fff0cc;margin:.3rem}.stage-card button:hover:not(:disabled),.game-panel button:hover:not(:disabled){background:#436d50}.stage-card label{display:block;margin:1rem 0}.stage-card input{width:8rem;padding:.5rem}.game-panel{scroll-margin-top:1rem}.panel-heading{display:flex;justify-content:space-between;align-items:center;gap:1rem}.panel-heading .eyebrow{color:#77562e}.game-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:.5rem;padding:.7rem;background:#263e32}.game-actions button{font-size:.85rem}.travel-strip{display:flex;justify-content:space-between;gap:1rem;padding:.7rem 1.5rem;background:#304d3d;font-size:.85rem}#notification{padding:.8rem 1.5rem;min-height:3.5rem;line-height:1.5;margin:0;color:#f4ddb1;background:#203d30}.fault-card{border-top:1px solid #aab097;padding:.6rem 0}.fault-card h3{margin:.3rem}.recovery{padding:1rem;border:2px solid #a36a3f;margin-top:1rem;line-height:1.6}.shop-grid{display:flex;flex-wrap:wrap;gap:.3rem;margin:.7rem 0}.summary-grid{display:grid;grid-template-columns:1fr 1fr;gap:.7rem;max-width:40rem}.summary-grid dt{color:#4c6250}.summary-grid dd{margin:0;font-weight:700}.unreliable{border-color:#c58c4b}.unreliable:after{content:"?";position:absolute;right:5px;top:3px;color:#a75730;font-weight:700}#app>#viewport{height:44vh;min-height:240px}.dashboard{padding:.5rem 1rem}.instrument{width:120px;height:116px}.instrument svg{height:87px}.speed-readout{top:61px}#developer button{margin:.3rem}@media(max-width:700px){.stage-card,.game-panel{padding:1rem}.travel-strip{flex-direction:column;gap:.4rem}.game-actions{gap:.25rem}.game-actions button{font-size:.75rem;padding:.65rem}.panel-heading{align-items:flex-start}.instrument{width:105px;height:106px}.instrument svg{height:78px}.speed-readout{top:55px}#app>#viewport{height:38vh;min-height:220px}.summary-grid{font-size:.9rem}.stage-card h2,.game-panel h2{font-size:1.6rem}}#app>#viewport{position:relative;height:52vh;min-height:310px}#journey-news{position:absolute;top:12px;left:14px;width:min(440px,calc(100% - 28px));z-index:2;pointer-events:none;padding:.8rem 1rem;background:#17382deb;border:1px solid #bdceac77;border-left:4px solid #edbd72;border-radius:8px;box-shadow:0 4px 18px #0004}#journey-news #notification{background:none;padding:.4rem 0;min-height:0;font-size:1rem;font-weight:600;line-height:1.4}#recent-news{margin:.4rem 0;padding-left:1rem;font-size:.78rem;line-height:1.4;color:#d9dfcb}#recent-news li+li{margin-top:.3rem}#journey-news .travel-strip{padding:.45rem 0 0;background:none;border-top:1px solid #aac4a655;display:flex;flex-direction:column;gap:.3rem;font-size:.76rem;color:#f1cc87}@media(max-width:700px){#app>#viewport{height:52vh;min-height:350px}#journey-news{top:8px;left:8px;width:calc(100% - 16px);padding:.5rem .7rem}#journey-news #notification{font-size:.85rem}#recent-news{font-size:.68rem}#recent-news li:nth-child(n+2){display:none}}#talk-choices{pointer-events:auto;display:flex;flex-wrap:wrap;gap:.35rem;margin:.5rem 0}#talk-choices button{font-size:.78rem;padding:.5rem .6rem}#journey-news:has(#talk-choices:not([hidden])) #recent-news{display:none}.volume-control{display:flex;align-items:center;gap:.5rem;font-size:.8rem;padding:.4rem}.volume-control input{width:85px;accent-color:#edbd72}body.attraction-visit #app>#viewport{height:76vh;min-height:490px}body.attraction-visit #hud,body.attraction-visit #panel{display:none!important}#attraction-visit-ui{position:absolute;inset:0;z-index:3;pointer-events:none}.visit-heading{position:absolute;top:12px;left:16px;right:16px;padding:.65rem 1rem;background:#17382de8;border-radius:8px;color:#f5e8c7}.visit-heading h2{margin:0;font:1.5rem Georgia,serif}.visit-heading p{font-size:.8rem;color:#d4d9bd}#attraction-visit-ui button{pointer-events:auto}.orbit-left,.orbit-right{position:absolute;top:45%;font-size:1.7rem;background:#efd9aceb;width:58px;height:64px}.orbit-left{left:16px}.orbit-right{right:16px}.visit-actions{pointer-events:auto;position:absolute;bottom:12px;left:16px;right:16px;padding:.7rem 1rem;border-radius:8px;background:#17382df2;color:#f6e6c4}.visit-actions p{font-size:.85rem;line-height:1.4;margin:0 0 .5rem}.visit-actions>div{display:flex;gap:.5rem;flex-wrap:wrap}.visit-actions button{padding:.65rem .8rem;font-size:.85rem}@media(max-width:700px){body.attraction-visit #app>#viewport{height:74vh;min-height:490px}.visit-heading{top:8px;left:8px;right:8px;padding:.5rem .7rem}.visit-heading h2{font-size:1.15rem}.visit-heading p{font-size:.7rem}.orbit-left,.orbit-right{width:44px;height:52px;padding:.4rem}.orbit-left{left:8px}.orbit-right{right:8px}.visit-actions{left:8px;right:8px;bottom:8px;padding:.6rem}.visit-actions p{font-size:.72rem}.visit-actions button{font-size:.72rem;padding:.55rem}.visit-actions>div{gap:.3rem}}body.destination-view #app>#viewport{height:68vh;min-height:460px}body.destination-view #hud{display:none}@media(max-width:600px){body.destination-view #app>#viewport{height:65vh;min-height:460px}}#visit-photo{inline-size:17em;max-inline-size:100%}.visit-actions button{touch-action:manipulation}.game-audio{display:flex;justify-content:flex-end;align-items:center;gap:.6rem;padding:.25rem 1.7rem;background:#233e35;border-bottom:1px solid #536052}.game-audio button{font-size:.8rem;padding:.4rem .7rem;touch-action:manipulation}.game-audio .volume-control{padding:.2rem}.coolant-finding{padding:.6rem .8rem;background:#dce0ca;color:#294536;border-left:3px solid #627a55}@media(max-width:600px){.game-audio{padding:.3rem 1rem;justify-content:space-between}}
