@font-face{font-family:"Barlow Condensed";font-weight:600;font-style:normal;src:url(fonts/barlow-condensed-latin-600.woff2) format("woff2");font-display:swap}
:root{color-scheme:dark;--ink:#11140f;--panel:#20241e;--border:#40453c;--paper:#f8f3dd;--muted:#b6bbae;--yellow:#ffd03d;--display:"Barlow Condensed","Arial Narrow",sans-serif;--mono:ui-monospace,"SFMono-Regular",Consolas,monospace;--sans:"Helvetica Neue",Arial,sans-serif}
*{box-sizing:border-box}body{margin:0;background:var(--ink);color:var(--paper);font:16px var(--sans);-webkit-font-smoothing:antialiased}button{font:inherit;color:inherit;cursor:pointer;background:none;border:0;touch-action:manipulation}button:focus-visible{outline:3px solid #fff58b;outline-offset:3px}button:disabled{cursor:wait;opacity:.78}[hidden]{display:none!important}[data-icon]{display:inline-flex;width:17px;height:17px;align-items:center;justify-content:center;flex-shrink:0}[data-icon] svg{width:100%;height:100%;display:block}.wide{width:min(1560px,93%);margin:auto}.mast{border-bottom:1px solid #35392e}.mast-inner{display:flex;align-items:center;justify-content:space-between;height:67px}.brand{display:flex;align-items:center;gap:10px;font:italic 600 25px var(--display);letter-spacing:.4px}.brand i{width:30px;height:17px;transform:skew(-27deg);background:repeating-linear-gradient(90deg,var(--yellow) 0 7px,transparent 7px 11px)}.brand small{font:600 10px var(--mono);letter-spacing:2px;color:#b7bdae;border-left:1px solid #596050;padding-left:13px}.top-actions,.game-actions{display:flex;align-items:center;gap:10px}.top-actions button,.square{display:inline-flex;align-items:center;justify-content:center;gap:8px;font-size:12px;font-weight:600;background:#1a1d17;border:1px solid var(--border);border-radius:3px;height:35px;padding:0 11px}.top-actions button:hover,.square:hover,.secondary:hover{background:#30352c;border-color:#9a9e8f}.top-actions [data-icon]{width:15px;height:15px}.sound-toggle[aria-pressed=true]{color:var(--yellow)}
.cover{position:relative;isolation:isolate;display:flex;align-items:center;overflow:hidden;margin:22px 0 0;min-height:460px;height:clamp(460px,calc(100svh - 224px),760px);border:1px solid #494c3e;border-radius:4px;background:#161c18}.cover-art,.cover::after{position:absolute;inset:0;z-index:-1}.cover-art{background:url(teton.webp) 58% center/cover no-repeat}.cover::after{content:"";background:linear-gradient(90deg,#101711e6,#131911be 25%,#11170f54 46%,transparent 67%),linear-gradient(0deg,#10160f57,transparent 42%)}.cover-copy{position:relative;padding:40px clamp(28px,4.4vw,75px);max-width:690px}.eyebrow,.micro,.brief small,.legend,.place .micro,#mode,#gear small,#gearSub,#hints,#mini>span,footer{font:600 10px var(--mono);letter-spacing:1.5px}.eyebrow{display:flex;align-items:center;gap:10px;color:var(--yellow);font-size:10px}.eyebrow i{display:inline-block;background:var(--yellow);width:21px;height:2px}.cover h1{font:600 clamp(78px,8vw,135px)/.84 var(--display);letter-spacing:-.04em;margin:22px 0;text-shadow:0 3px 19px #0c100c3d}.cover em{color:var(--yellow);font-style:normal}.cover p{margin:0 0 25px;max-width:355px;font-size:16px;line-height:1.5;color:#efeddf}.primary,.secondary{display:inline-flex;align-items:center;justify-content:center;gap:10px;border:1px solid transparent;border-radius:3px;height:46px;padding:0 18px;font-size:14px;font-weight:700}.primary{background:var(--yellow);color:#181a14}.primary:hover{background:#ffde6c}.primary [data-icon]{width:14px}.secondary{background:#20251edb;border-color:#797f6c;color:#eeeede}.cover .secondary{margin-left:6px}#loadError{font-size:13px;line-height:1.5;color:#fff5c2;margin-top:13px;padding:8px 10px;max-width:370px;background:#251e13}.brief{border:1px solid #383d33;background:#1b1e18;display:grid;grid-template-columns:1fr 1fr 1fr;border-radius:3px;margin-top:12px}.brief>div{display:flex;gap:15px;align-items:center;margin:14px 0;padding:0 24px}.brief>div+div{border-left:1px solid #3d4336}.brief>div>[data-icon]{width:24px;height:24px;color:#c6cfad}.brief small{display:block;color:#abae9f;font-size:9px;letter-spacing:1.3px}.brief strong{display:block;font:600 22px var(--display);margin-top:2px}footer{display:flex;gap:13px;align-items:center;padding:20px 0;color:#a6ab9c;font:500 10px var(--mono);letter-spacing:.4px}footer b{font:600 12px var(--display);letter-spacing:1.1px}footer i{flex:1;height:1px;background:#33392c}
dialog{padding:23px;background:#1a201a;color:var(--paper);border:1px solid #5b6352;border-top:3px solid var(--yellow);border-radius:5px;max-width:min(480px,calc(100% - 26px));width:455px;max-height:92svh;overflow:auto;box-shadow:0 20px 80px #0008}dialog::backdrop{background:#080d0bc9;backdrop-filter:blur(3px)}.dialog-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.square{width:36px;height:36px;padding:0}h2{font:600 44px/.97 var(--display);margin:11px 0 17px}dialog p{font-size:14px;line-height:1.5;color:#c5cbbb}dl{margin:18px 0}dl div{display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--border);min-height:35px;gap:8px;font-size:13px}dd{margin:0;font-size:12px;color:#c8ccbf}kbd{font:600 11px var(--mono);padding:3px 5px;border:1px solid #646b58;border-bottom-width:2px;border-radius:3px;color:#f6f4dc;background:#252b22}#atlas{width:560px;max-width:min(560px,calc(100% - 24px))}#fullMap{border:1px solid var(--border);display:block;width:100%;height:auto;max-height:58svh;object-fit:contain;background:#202820}.legend{display:flex;gap:16px;align-items:center;margin-top:13px;font-size:9px;letter-spacing:.7px}.legend span{display:flex;align-items:center;gap:5px}.legend i{width:8px;height:8px;background:var(--yellow);border-radius:50%}.legend .car-dot{background:#a7cfde}.legend .plaza-dot{background:#789e73;border-radius:1px}#pauseMenu{width:340px}#pauseMenu>.primary{width:100%}.pause-grid{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:8px}
#game{position:fixed;inset:0;background:#25271f;overflow:hidden;outline:none;touch-action:none;user-select:none;-webkit-user-select:none}#viewport,#viewport canvas{position:absolute;inset:0;width:100%;height:100%;display:block}#viewport{cursor:grab}#viewport:active{cursor:grabbing}.hud-top{position:absolute;top:max(15px,env(safe-area-inset-top));left:max(17px,env(safe-area-inset-left));right:max(17px,env(safe-area-inset-right));display:flex;align-items:flex-start;justify-content:space-between;pointer-events:none}.place{background:#101711d9;border-left:3px solid var(--yellow);padding:9px 13px;border-radius:2px}.place .micro{font-size:8px;color:#d7d7bb}.place strong{font:600 24px/1 var(--display);display:block;margin-top:4px}.game-actions{pointer-events:auto;gap:7px}#mode,.game-actions .square{background:#151d16df;border:1px solid #8f988a88;border-radius:3px;height:34px}#mode{padding:0 9px;font-size:9px;cursor:default;pointer-events:none}.game-actions .square{width:34px}#notice{position:absolute;left:50%;top:13%;transform:translateX(-50%);color:#fff2b5;background:#172017e3;text-align:center;border:1px solid #b3b69c62;padding:7px 12px;border-radius:4px;font-weight:600;font-size:13px;pointer-events:none}#notice:empty{display:none}#mini{position:absolute;bottom:max(18px,env(safe-area-inset-bottom));left:max(17px,env(safe-area-inset-left));width:170px;height:109px;border:2px solid #d2d3b999;border-radius:5px;padding:0;overflow:hidden;box-shadow:0 3px 17px #0005;background:#252b24}#radar{display:block;width:100%;height:100%}#mini>span{position:absolute;top:5px;right:5px;color:#faf6d9;background:#10150fbf;padding:3px;font-size:9px}#gear{position:absolute;right:max(17px,env(safe-area-inset-right));bottom:max(18px,env(safe-area-inset-bottom));background:#121b14e3;border-right:3px solid var(--yellow);border-radius:2px;padding:9px 13px;text-align:right;min-width:115px}#gear small{display:block;color:#d9d9bc;font-size:8px}#gear strong{font:600 27px/1.1 var(--display);display:block;margin:2px 0}#gearSub{display:block;color:var(--yellow);font-size:9px;letter-spacing:.8px}#hints{position:absolute;bottom:20px;left:50%;transform:translateX(-50%);background:#171e17dc;border-radius:3px;padding:8px 12px;line-height:1.6;text-align:center;letter-spacing:.15px;color:#e2e3d7;font-size:11px;white-space:nowrap}#hints kbd{margin:0 4px 0 8px}#hints kbd:first-child{margin-left:0}#touch{display:none}
@media(pointer:coarse),(max-width:760px){#hints{display:none}#touch{position:absolute;left:max(12px,env(safe-area-inset-left));right:max(12px,env(safe-area-inset-right));bottom:max(13px,env(safe-area-inset-bottom));display:flex;align-items:flex-end;justify-content:space-between;pointer-events:none}#stick,#touchKeys{pointer-events:auto}#stick{position:relative;width:96px;height:96px;border-radius:50%;border:1px solid #c3c9b383;background:#18221980;touch-action:none}#stick i{position:absolute;width:37px;height:37px;top:50%;left:50%;transform:translate(-50%,-50%);background:#dce4c879;border:1px solid #f4f5c787;border-radius:50%}#touchKeys{display:grid;grid-template-columns:1fr 1fr;gap:5px}#touchKeys button{height:41px;min-width:49px;padding:0 8px;font-size:12px;background:#17211be8;border:1px solid #9cae8a88;border-radius:5px;touch-action:none}#touchKeys button:active,#touchKeys button.held{color:var(--ink);background:var(--yellow)}#touchKeys #fire{color:var(--yellow)}#mini{width:116px;height:72px;left:11px;bottom:calc(119px + env(safe-area-inset-bottom))}#gear{bottom:calc(111px + env(safe-area-inset-bottom));right:11px;padding:6px 8px;min-width:88px}#gear strong{font-size:22px}}
@media(max-width:750px){.wide{width:calc(100% - 28px)}.cover-copy{padding:28px}.cover{min-height:410px;height:clamp(410px,60vh,580px)}.cover h1{font-size:72px}.cover p{font-size:14px;max-width:270px}.brief>div{padding:0 12px;gap:9px}.brief strong{font-size:18px}.brief>div>[data-icon]{width:17px}.brief small{font-size:8px;letter-spacing:.65px}}
@media(max-width:520px){.wide{width:calc(100% - 22px)}.mast-inner{height:54px}.brand{font-size:21px;gap:7px}.brand i{width:23px;height:14px;background:repeating-linear-gradient(90deg,var(--yellow) 0 5px,transparent 5px 8px)}.brand small{display:none}.top-actions{gap:6px}.top-actions button{font-size:11px;padding:0 8px}.top-actions .sound-toggle .label{display:none}.cover{margin-top:11px;height:clamp(490px,71svh,600px);min-height:0;align-items:flex-end}.cover-art{background-size:auto 67%;background-position:68% top}.cover::after{background:linear-gradient(0deg,#161c18 17%,#161c18fa 35%,#161c1899 53%,transparent 76%)}.cover-copy{padding:20px 21px 24px}.cover h1{font-size:clamp(59px,15vw,78px);margin:12px 0 10px}.cover p{max-width:355px;font-size:14px;margin-bottom:15px}.eyebrow{font-size:9px}.brief{grid-template-columns:1fr 1.3fr}.brief>div{margin:10px 0}.brief>div:last-child{display:none}.brief strong{font-size:17px}.brief small{font-size:7px}.primary,.secondary{height:43px;padding:0 12px}.hud-top{top:9px;left:9px;right:9px}.place strong{font-size:19px}.place{padding:6px 9px}#notice{max-width:82%;width:max-content;top:18%;font-size:12px}dl div{font-size:12px}.square{height:32px;width:32px}footer{font-size:8px}.legend{gap:9px}}
@media(max-height:500px) and (orientation:landscape){#stick{width:72px;height:72px}#mini{bottom:95px;width:100px;height:60px}#gear{bottom:102px}.cover{min-height:360px}.cover h1{font-size:66px}.cover-copy{padding:18px 32px}}

#mode{display:inline-flex;align-items:center;justify-content:center}
