
:root {--bg:#0b171a;--bg2:#112226;--canvas:#102127;--panel:#14282d;--panel2:#1c3338;--panel3:#254048;--line:#30474a;--line2:#4a6262;--txt:#f0efe4;--dim:#a5b9b7;--amber:#ddbd7f;--vio:#78bbb7;}
#topbar {background:#0c1e21;border-bottom:1px solid #796343;height:58px;}
.brand-mini b {font-family:serif;letter-spacing:3px;font-size:19px;color:#ead5a4;}
#map-view {background:linear-gradient(120deg,rgba(9,25,28,.95),rgba(10,27,30,.87)),url('enamel.webp') center/cover;}
.map-head {padding-top:12px;}.map-head h2 {font-size:28px;color:#efdbb3;}
.source-note {font-size:12px;line-height:1.9;max-width:1200px;margin:12px auto 24px;color:var(--dim);}
a {color:#e2c98b;}
#map-canvas {background-color:#102127;border-color:#5d5543;box-shadow:0 14px 45px #0005;}
#game-toolbar,#palette-rail,#drawer,#bottom-bar {background:#112329;}
.node.io {background-image:linear-gradient(#10212733,#10212755),url('enamel.webp');background-size:cover;box-shadow:0 4px 12px #0005;border-color:#ac8b53;}
.node.gate .bd {stroke:#d9b77b;stroke-width:1.7;}
.node.selected .bd {stroke:#fff1b9;stroke-width:2.5;}
.nhead {background:#153138;color:#f4dfb0;}
button,select,textarea {font-family:inherit;}
button:focus-visible,a:focus-visible {outline:2px solid #f5d28c;outline-offset:3px;}
button {min-height:34px;}
@media(max-width:700px){#topbar{height:52px}.brand-mini b{font-size:15px;letter-spacing:1px}.map-head h2{font-size:22px}.map-head{align-items:flex-start}.map-head .legend{flex-wrap:wrap;gap:7px}.source-note{font-size:11px}#map-view{padding:16px 12px 40px;}#game-toolbar{max-height:150px;overflow:auto;}button{min-height:38px}}

[hidden]{display:none!important}
#start-game{padding:10px 24px;background:#d7bb80;color:#102127;border:1px solid #e5cb91;font-weight:700;font-size:15px;cursor:pointer;margin:8px 0;}
