:root{color-scheme:dark;--ink:#f7e8c6;--dim:#b8b9d1;--bg:#101824;--hot:#ffd684}*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at top,#27324a,#101824 48%,#090e17);color:var(--ink);font:1rem/1.45 system-ui,sans-serif}main{width:min(100% - 1.25rem,760px);margin:auto;padding:.6rem 0 2rem}nav,.hud,.controls,.switches{display:flex;align-items:center;gap:.45rem;flex-wrap:wrap}nav{justify-content:space-between;font-weight:700;font-size:.79rem;text-transform:uppercase;letter-spacing:.08em;border-bottom:1px solid #59617b;padding:.55rem 0}a{color:var(--hot)}header p{max-width:44ch;margin:.25rem 0 .75rem}h1{font:bold clamp(3rem,11vw,6rem)/.92 Georgia,serif;margin:.2rem 0 .6rem;letter-spacing:-.06em}.eyebrow{font-weight:750;letter-spacing:.13em;color:var(--hot);text-transform:uppercase;font-size:.75rem;margin:1rem 0 .3rem}.hud{justify-content:space-between;font-weight:700;font-size:.84rem;padding:.38rem 0}.hud #next{color:var(--hot)}#map{width:100%;display:block;border:1px solid #59617b;border-radius:.45rem;background:var(--bg);margin-bottom:.55rem}.tracks{fill:none;stroke:#7886a1;stroke-width:10}.ties{fill:none;stroke:#182333;stroke-width:8;stroke-dasharray:2 6}#selected{fill:none;stroke:#e3ac5e;stroke-width:3;stroke-dasharray:8 6}#junction{fill:var(--hot)}.stations{fill:var(--ink);font:700 20px system-ui,sans-serif}#train rect{fill:var(--hot);stroke:#1d2633;stroke-width:2}#train text{fill:#182333;font:bold 20px system-ui,sans-serif}.switches>*{flex:1 1 auto}button{font:700 .9rem/1.2 system-ui,sans-serif;border:1px solid #7e88a6;border-radius:.35rem;background:#202d43;color:var(--ink);min-height:44px;padding:.55rem .65rem;cursor:pointer;touch-action:manipulation}button[aria-pressed=true],#play{background:var(--hot);color:#182333;border-color:var(--hot)}button:focus-visible,a:focus-visible{outline:3px solid #fff;outline-offset:3px}kbd{font:.72em system-ui;opacity:.8}.controls{margin:.45rem 0}#report{min-height:2.8em;margin:.45rem 0;color:var(--dim)}footer{border-top:1px solid #59617b;padding:.6rem 0}
.wayfinding{fill:#a9b5cc;font:650 12px system-ui,sans-serif;letter-spacing:.12em}.wayfinding path{stroke:#7c89a5;stroke-width:1.5;fill:none}.signal rect{fill:#09121e;stroke:#7886a1}.signal circle{fill:#bfe9bc}.is-locked .signal circle{fill:#ffad82}.is-locked #selected{stroke-dasharray:none}
