:root{--ground: #F2F5F9;--panel: #FFFFFF;--ink: #0E1420;--ink-soft: #4B5868;--rule: #D3DCE8;--accent: #2F6FD0;--accent-soft: #E3ECF9;--sand: #A9652B;--sand-soft: #F5ECE1}@media(prefers-color-scheme:dark){:root:not([data-theme=light]){--ground: #0B1018;--panel: #141C28;--ink: #E8EEF6;--ink-soft: #93A2B5;--rule: #243141;--accent: #6CA4F0;--accent-soft: #1A2838;--sand: #D9955A;--sand-soft: #2A2016}}:root[data-theme=dark]{--ground: #0B1018;--panel: #141C28;--ink: #E8EEF6;--ink-soft: #93A2B5;--rule: #243141;--accent: #6CA4F0;--accent-soft: #1A2838;--sand: #D9955A;--sand-soft: #2A2016}*{box-sizing:border-box}body{background:var(--ground);color:var(--ink);font-family:IBM Plex Sans,system-ui,sans-serif;line-height:1.55;margin:0;padding-inline:20px;padding-block:0 64px}code{font-family:IBM Plex Mono,monospace;font-size:.92em}.wrap{max-width:960px;margin:0 auto}header.bar{display:flex;flex-wrap:wrap;gap:12px;align-items:baseline;justify-content:space-between;padding-block:32px 18px;border-bottom:1px solid var(--rule)}.mark{font-family:Silkscreen,monospace;font-size:22px;letter-spacing:.02em;color:var(--ink);text-decoration:none}.mark b{color:var(--accent)}.tag{font-family:IBM Plex Mono,monospace;font-size:12px;color:var(--ink-soft);text-decoration:none}h2{font-family:Silkscreen,monospace;font-size:13px;letter-spacing:.12em;text-transform:uppercase;color:var(--ink-soft);margin:40px 0 4px}.sub{font-size:13px;color:var(--ink-soft);margin:0 0 18px;max-width:62ch}.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:18px}.card{background:var(--panel);border:1px solid var(--rule);text-decoration:none;color:inherit;display:flex;flex-direction:column;overflow:hidden}.card:hover,.card:focus-visible{border-color:var(--accent);outline:none}.card .body{padding:12px 14px;display:flex;flex-direction:column;gap:4px}.card h3{margin:0;font-size:16px;font-weight:600}.card p{margin:0;font-size:13px;color:var(--ink-soft)}.meta{font-family:IBM Plex Mono,monospace;font-size:11px;color:var(--ink-soft);margin-top:6px;display:flex;gap:10px;flex-wrap:wrap}.empty{border:1px dashed var(--rule);padding:22px;font-size:13px;color:var(--ink-soft);background:var(--panel);margin-top:18px}ul.list{list-style:none;margin:0;padding:0;border-top:1px solid var(--rule)}ul.list li{border-bottom:1px solid var(--rule);display:grid;grid-template-columns:14px 1fr auto;gap:12px;align-items:center;padding:11px 2px}ul.list a{color:inherit;text-decoration:none;font-weight:500}ul.list a:hover,ul.list a:focus-visible{color:var(--accent)}.dot{width:8px;height:8px;background:var(--sand)}.dot.idea{background:transparent;border:1px solid var(--ink-soft)}.row-meta{font-family:IBM Plex Mono,monospace;font-size:11px;color:var(--ink-soft);display:flex;gap:12px;align-items:center;flex-wrap:wrap}.state{font-family:Silkscreen,monospace;font-size:9px;letter-spacing:.08em;text-transform:uppercase;padding:3px 6px;background:var(--sand-soft);color:var(--sand);border:1px solid var(--rule)}.state.idea{background:transparent;color:var(--ink-soft)}.screen{margin-top:14px;background:var(--panel);border:1px solid var(--rule);padding:14px}.hud{display:flex;flex-wrap:wrap;gap:14px;justify-content:space-between;margin-top:10px;font-family:IBM Plex Mono,monospace;font-size:11px;color:var(--ink-soft)}.hud-toggle{font-family:inherit;font-size:inherit;color:var(--ink-soft);background:transparent;border:1px solid var(--rule);padding:2px 8px;cursor:pointer}.hud-toggle:hover{color:var(--sand)}kbd{font-family:IBM Plex Mono,monospace;border:1px solid var(--rule);padding:1px 5px;font-size:11px}.crash{color:#b4231c;font-family:IBM Plex Mono,monospace;font-size:12px;white-space:pre-wrap}@media(max-width:430px){ul.list li{grid-template-columns:14px 1fr}.row-meta{grid-column:2}}.gate{min-height:100vh;display:grid;place-items:center;padding:24px}.gate-card{display:flex;flex-direction:column;gap:10px;width:100%;max-width:320px;padding:28px 24px;background:var(--panel);border:1px solid var(--rule);border-radius:10px}.gate-title{margin:0;font-size:24px;letter-spacing:.02em;color:var(--ink)}.gate-blurb{margin:0 0 6px;font-size:14px;color:var(--ink-soft)}.gate-label{font-size:12px;text-transform:uppercase;letter-spacing:.08em;color:var(--ink-soft)}.gate-input{padding:10px 12px;font:inherit;font-size:16px;color:var(--ink);background:var(--ground);border:1px solid var(--rule);border-radius:6px}.gate-input:focus-visible{outline:2px solid var(--accent);outline-offset:1px}.gate-button{padding:10px 12px;font:inherit;font-weight:600;color:#fff;background:var(--accent);border:none;border-radius:6px;cursor:pointer}.gate-button:disabled{opacity:.55;cursor:default}.gate-error{margin:0;min-height:1.2em;font-size:13px;color:var(--sand)}.stage-frame{position:relative;display:inline-block}.stage-canvas{cursor:pointer;display:block}.stage-full{display:flex;align-items:center;justify-content:center;width:100vw;height:100vh;background:#05070c;overflow:hidden}.stage-full .hud{display:none}.stage-turned{transform:rotate(90deg);transform-origin:center}.pad{display:none}@media(hover:none)and (pointer:coarse){.pad{display:flex;justify-content:space-between;align-items:flex-end;position:absolute;inset:0;padding:12px;gap:12px;pointer-events:none}.pad-key{pointer-events:auto;touch-action:none;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;display:flex;align-items:center;justify-content:center;width:76px;height:76px;font-size:30px;line-height:1;color:#f4f7fb;background:#0a0e186b;border:2px solid rgba(244,247,251,.5);border-radius:50%;cursor:pointer}.pad-key:active{background:#f4f7fb4d}}.pad-exit{position:absolute;top:10px;right:10px;width:34px;height:34px;display:flex;align-items:center;justify-content:center;font-size:15px;line-height:1;color:#f4f7fb;background:#0a0e186b;border:1px solid rgba(244,247,251,.45);border-radius:50%;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent}.pad-exit:hover{background:#f4f7fb40}.hud-controls{display:flex;gap:10px;align-items:center}.hud-help{flex:1 1 16ch;min-width:0}.outpost-stage{position:relative;line-height:0}.outpost-hud{position:absolute;top:8px;left:8px;right:8px;z-index:2;display:flex;justify-content:space-between;align-items:flex-start;gap:8px;line-height:1;font-family:Silkscreen,IBM Plex Mono,monospace;pointer-events:none}.outpost-chips{display:flex;gap:4px;flex-wrap:wrap}.outpost-chip{display:flex;align-items:center;gap:4px;color:#fff;font-size:12px}.outpost-chip img{width:24px;height:24px;margin:-8px 0;image-rendering:pixelated}.outpost-open,.outpost-title button{pointer-events:auto;background:none;cursor:pointer;color:#4e2914;font-family:inherit;font-size:12px;line-height:1;padding:0 2px;display:flex;gap:8px;align-items:center}.outpost-open small{color:#7a4f12;font-size:10px}.outpost-scrim{position:absolute;inset:0;z-index:3;background:#141a2699;display:flex;align-items:center;justify-content:center;padding:12px;line-height:1.2;font-family:Silkscreen,IBM Plex Mono,monospace}.outpost-panel{width:100%;max-width:880px;max-height:100%;overflow:auto;box-sizing:border-box;background:#efd9b0 padding-box;padding:4px 8px 8px;color:#4e2914;display:flex;flex-direction:column;gap:12px}.outpost-title{display:flex;justify-content:space-between;align-items:center;font-size:18px;font-weight:700}.outpost-title small{font-size:11px;font-weight:400;color:#7d5634;margin-left:8px}.outpost-businesses{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:16px}.outpost-businesses h3{display:flex;align-items:center;gap:8px;margin:0;font-size:15px}.outpost-businesses h3 span{width:24px;height:24px;display:flex;align-items:center;justify-content:center}.outpost-businesses img,.outpost-node img{width:24px;height:24px;object-fit:contain;image-rendering:pixelated}.outpost-tracks{margin-left:18px;border-left:4px solid #ad7e4c;display:flex;flex-direction:column;gap:10px;padding-top:10px}.outpost-track-head{display:flex;gap:6px;align-items:center;font-size:11px;padding-left:4px;flex-wrap:wrap}.outpost-track-head small{color:#7d5634;font-size:10px}.outpost-track-head b{background:#4e2914;color:#f2c14e;padding:2px 4px;font-size:8px;font-weight:400}.outpost-nodes{display:flex;align-items:flex-start;margin-left:-4px}.outpost-node{display:flex;align-items:flex-start}.outpost-node u{width:8px;height:4px;margin-top:22px;background:#8a96a8}.outpost-node u.lit{background:#cf9330}.outpost-node-body{display:flex;flex-direction:column;align-items:center;gap:3px;width:56px}.outpost-node-body>span{width:24px;height:24px;display:flex;align-items:center;justify-content:center}.outpost-node-body em{font-style:normal;font-size:8px;text-align:center}.outpost-node-body.locked em{color:#7d5634}.outpost-bar{width:40px;height:6px;background:#4e2914;padding:1px;box-sizing:border-box}.outpost-bar div{height:100%;background:#f2c14e}.outpost-legend{display:flex;gap:12px;font-size:10px;border-top:2px solid #cf9f68;padding-top:8px}.outpost-legend span{display:flex;gap:4px;align-items:center}.outpost-legend i{width:4px;height:4px}.outpost-victory-scrim{background:#141a26b8;z-index:4}.outpost-victory{width:100%;max-width:760px;max-height:100%;overflow:auto;box-sizing:border-box;background:#efd9b0 padding-box;padding:2px 10px 8px;color:#4e2914;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(260px,100%),1fr));gap:10px;align-items:stretch}.outpost-victory-side{display:flex;flex-direction:column;gap:8px;min-width:0}.outpost-victory-head{display:flex;align-items:center;gap:10px}.outpost-victory-head img{width:40px;height:40px;flex:none;object-fit:contain;image-rendering:pixelated}.outpost-victory-head div{display:flex;flex-direction:column;gap:2px}.outpost-victory-head small{font-size:10px;color:#7d5634}.outpost-victory-head b{font-size:22px}.outpost-victory-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.outpost-victory-stats div{display:flex;flex-direction:column;gap:3px;padding:6px 8px;background:#e6c18f;border:2px solid #ad7e4c;min-width:0}.outpost-victory-stats small{font-size:10px;color:#7d5634}.outpost-victory-stats span{font-size:16px}.outpost-victory-score{display:flex;flex-direction:column;gap:5px;padding:8px 10px;background:#2f3746;border:2px solid #1b2333;color:#fff;flex:1}.outpost-victory-total{display:flex;justify-content:space-between;align-items:baseline;gap:10px;font-size:12px}.outpost-victory-total b{font-size:24px;color:#f2c14e;font-weight:400}.outpost-victory-line{display:flex;justify-content:space-between;gap:10px;font-size:10px;color:#c3ccd8}.outpost-victory .outpost-open{align-self:center;font-size:16px}.outpost-victory-log{grid-column:1 / -1;display:flex;flex-direction:column;gap:6px;min-width:0}.outpost-victory-log>small{font-size:11px;color:#7d5634}.outpost-victory-log>div{display:flex;flex-wrap:wrap;gap:4px;max-height:84px;overflow-y:auto}.outpost-victory-entry{display:flex;align-items:center;gap:4px;padding:2px 6px 2px 3px;background:#e6c18f;border:2px solid #ad7e4c;font-size:10px;line-height:1}.outpost-victory-entry small{color:#7d5634}.outpost-victory-entry img{width:16px;height:16px;object-fit:contain;image-rendering:pixelated}.outpost-cutscene{position:fixed;inset:0;z-index:50;background:#000;overflow:hidden}.outpost-cutscene-stage{position:absolute;left:50%;top:50%;overflow:hidden;background:#000;transform-origin:50% 50%}.outpost-cutscene-skip{position:absolute;right:48px;top:40px;display:flex;align-items:center;gap:12px;padding:14px 24px;font-family:Silkscreen,monospace;font-size:30px;color:#4a2d1a;background:#efd9b0;border:none;box-shadow:0 0 0 4px #4e2914,0 6px 0 4px #4e2914;cursor:pointer}.outpost-attract .outpost-stage{position:fixed;inset:0;z-index:40;background:#7fbf5c}.outpost-attract .outpost-stage canvas{position:absolute;inset:0;width:100%!important;height:100%!important;max-width:none;object-fit:cover;image-rendering:pixelated}.outpost-intro-title{position:fixed;inset:0;z-index:45;font-family:Silkscreen,monospace}.outpost-intro-vignette{position:absolute;inset:0;background:radial-gradient(ellipse at 50% 50%,#1b233340,#1b2333b3)}.outpost-intro-content{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:28px;padding:24px;box-sizing:border-box}.outpost-intro-content h1{margin:0;font-weight:700;font-size:clamp(40px,8vw,84px);line-height:.95;letter-spacing:2px;color:#f2c14e;text-align:center;text-shadow:4px 0 #4e2914,-4px 0 #4e2914,0 4px #4e2914,0 -4px #4e2914,4px 4px #4e2914,-4px 4px #4e2914,4px -4px #4e2914,-4px -4px #4e2914,0 10px #1b2333}.outpost-intro-panel{width:100%;max-width:360px;box-sizing:border-box;background:#efd9b0 padding-box;padding:8px 6px;display:flex;flex-direction:column;gap:14px}.outpost-intro-button{display:flex;align-items:center;justify-content:center;gap:12px;width:100%;box-sizing:border-box;background:none;cursor:pointer;font-family:inherit;font-size:26px;line-height:1;color:#4e2914;padding:4px 0}.outpost-intro-button:hover{filter:brightness(1.08)}.outpost-intro-button:active{transform:translateY(2px)}.outpost-intro-arrow{font-size:18px;color:#7a4f12}.outpost-intro-locked{position:relative;cursor:not-allowed}.outpost-intro-locked .outpost-intro-button{cursor:not-allowed}.outpost-intro-locked .outpost-intro-button:hover{filter:none}.outpost-intro-locked img{width:24px;height:24px;image-rendering:pixelated}.outpost-intro-soon{position:absolute;top:50%;right:-18px;transform:translateY(-50%) rotate(6deg);padding:5px 8px;background:#d84a3e;color:#fff;font-size:12px;line-height:1;white-space:nowrap;box-shadow:0 0 0 2px #5e1c2a,0 3px 0 2px #5e1c2a}.outpost-fullscreen{position:absolute;right:8px;bottom:8px;z-index:2;padding:6px 8px;cursor:pointer;font-family:Silkscreen,IBM Plex Mono,monospace;font-size:10px;line-height:1;color:#fff;background:#1b233399;border:2px solid rgba(255,255,255,.35)}.outpost-fullscreen:hover{background:#1b2333d9}.outpost-shell:fullscreen{background:#000;display:flex;align-items:center;justify-content:center}.outpost-shell:-webkit-full-screen{background:#000;display:flex;align-items:center;justify-content:center}.outpost-stick,.outpost-rotate{display:none}@media(hover:none)and (pointer:coarse){.outpost-stick{display:block;position:absolute;left:14px;bottom:14px;z-index:2;width:96px;height:96px;border-radius:50%;background:#0a0e1859;border:2px solid rgba(244,247,251,.5);touch-action:none;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}.outpost-stick-knob{position:absolute;left:50%;top:50%;width:40px;height:40px;margin:-20px 0 0 -20px;border-radius:50%;background:#f4f7fb8c;pointer-events:none}.outpost-shell .outpost-stage{touch-action:none}}@media(hover:none)and (pointer:coarse)and (orientation:portrait){.outpost-rotate{display:block;margin:0 0 8px;font-family:Silkscreen,monospace;font-size:11px;line-height:1.4;color:#f2c14e}}
