@import "https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=DM+Sans:wght@400;500;600;700;800&display=swap";:root{color:#e8eef7;font-synthesis:none;text-rendering:optimizelegibility;background:#080e18;font-family:DM Sans,system-ui,sans-serif;font-weight:400}*{box-sizing:border-box}body{background:radial-gradient(at 50% -20%,#172943 0%,#080e18 55%);min-width:320px;min-height:100vh;margin:0}button,input,select{font:inherit}button{cursor:pointer}.landing{flex-direction:column;max-width:1100px;min-height:100vh;margin:0 auto;padding:10vh 28px 30px;display:flex}.brand{align-items:center;gap:16px;display:flex}.brandmark{color:#72aef8;background:#10243a;border:1px solid #335478;border-radius:15px;place-items:center;width:54px;height:54px;display:grid}.brandmark svg{width:27px;height:27px}.eyebrow{letter-spacing:1.5px;color:#8296ae;font:500 10px DM Mono,monospace}.brand h1{letter-spacing:1.5px;margin:2px 0 0;font-size:30px}.brand h1 span,.brand b span{color:#7bb4ff}.intro{color:#a6b5c8;margin:28px 0 44px;font-size:18px}.entry-grid{grid-template-columns:1fr 1fr;gap:18px;display:grid}.panel{background:linear-gradient(145deg,#142133f5,#0c1522f5);border:1px solid #25364c;border-radius:12px;box-shadow:0 12px 30px #0002}.entry{padding:27px}.entry h2{margin:9px 0 25px;font-size:21px}.entry label{color:#9badc1;margin-bottom:8px;font-size:12px;display:block}.entry input,.treaty-compose input,.treaty-compose select,.chat-compose input{color:#edf4ff;background:#0b1523;border:1px solid #33475f;border-radius:7px;outline:none;width:100%;padding:12px}.entry input:focus,.chat-compose input:focus,.treaty-compose input:focus{border-color:#6ca9f5}.primary,.secondary{border:0;border-radius:7px;justify-content:center;align-items:center;gap:9px;padding:11px 15px;font-size:12px;font-weight:700;display:inline-flex}.primary{color:#fff;background:#397fd3}.primary:hover{background:#4b91e6}.secondary{color:#c5dcf7;background:#203b58;border:1px solid #3c5a7b}.secondary:hover{background:#294b70}.primary:disabled,.secondary:disabled,button:disabled{opacity:.38;cursor:not-allowed}.wide{width:100%;margin-top:15px}.landing-foot{color:#71849c;justify-content:space-between;margin-top:auto;padding-top:70px;font:11px DM Mono,monospace;display:flex}.landing-foot span:first-child{align-items:center;gap:8px;display:flex}.live-dot,.pulse-dot{background:#48c69a;border-radius:50%;width:7px;height:7px;display:inline-block;box-shadow:0 0 10px #48c69a88}.toast{color:#ffd9df;z-index:10;background:#472a31;border:1px solid #9a4a56;border-radius:8px;padding:12px 16px;font-size:12px;position:fixed;bottom:24px;right:24px;box-shadow:0 8px 25px #0007}.app-shell{min-height:100vh;padding-bottom:70px}.topbar{z-index:5;background:#0b1421;border-bottom:1px solid #26384d;justify-content:space-between;align-items:center;height:66px;padding:0 25px;display:flex;position:sticky;top:0}.brand.compact{gap:10px}.brand.compact .brandmark{border-radius:10px;width:38px;height:38px}.brand.compact .brandmark svg{width:20px}.brand.compact b{letter-spacing:1px;font-size:14px}.brand.compact small{color:#71849c;letter-spacing:1px;margin-top:3px;font:9px DM Mono,monospace;display:block}.top-status{letter-spacing:.8px;color:#a8b8cb;align-items:center;gap:11px;font:10px DM Mono,monospace;display:flex}.top-status i{background:#61758e;border-radius:50%;width:3px;height:3px}.user-chip{align-items:center;gap:9px;font-size:11px;font-weight:700;display:flex}.user-chip small{color:#8195ad;margin-top:3px;font:10px DM Mono,monospace;display:block}.avatar{color:#9dc9ff;background:#1d3857;border-radius:50%;place-items:center;width:32px;height:32px;display:grid}.main-grid{grid-template-columns:minmax(0,1.8fr) minmax(340px,.82fr);gap:18px;max-width:1600px;margin:0 auto;padding:22px;display:grid}.map-column{min-width:0}.section-head{justify-content:space-between;align-items:end;margin:3px 0 15px;display:flex}.section-head h2{margin:5px 0;font-size:22px}.section-head p{color:#8194aa;margin:0;font-size:11px}.map-key{color:#879ab0;gap:13px;font-size:10px;display:flex}.map-key span{align-items:center;gap:6px;display:flex}.solid-line{background:#8294a8;width:18px;height:2px}.dash-line{border-top:2px dashed #8294a8;width:18px}.map-wrap{background:radial-gradient(#14243a 0%,#0b1421 72%);border:1px solid #263a52;border-radius:12px;position:relative;overflow:hidden}.map-wrap svg{width:100%;height:auto;min-height:500px;display:block}.regional-edge{stroke:#8293a8;stroke-width:2px;opacity:.65}.cross-edge{stroke:#9aa8b8;stroke-width:3px;stroke-dasharray:12 9;opacity:.75}.region-label{letter-spacing:.4px;font-size:19px;font-weight:800}.territory-node{cursor:pointer}.territory-node rect{filter:drop-shadow(0 3px 4px #0006);transition:stroke-width .15s,fill .15s}.territory-node:hover rect{fill:#1b2b40}.territory-node .node-selected{fill:#1b304a;filter:drop-shadow(0 0 8px #74b2ff66)}.node-name{fill:#eef4fc;pointer-events:none;font-size:13px;font-weight:700}.node-id{fill:#9eb1c8;pointer-events:none;font-family:DM Mono,monospace;font-size:10px}.map-caption{color:#8296ae;letter-spacing:1px;border-top:1px solid #263a52;justify-content:space-between;padding:11px 15px;font:9px DM Mono,monospace;display:flex}.map-caption span:first-child{align-items:center;gap:7px;display:flex}.territory-strip{grid-template-columns:repeat(4,1fr);gap:8px;margin-top:10px;display:grid}.region-stat{background:#111d2d;border:1px solid #24364b;border-radius:8px;align-items:center;gap:7px;padding:11px;font-size:10px;display:flex}.region-stat span:last-child{color:#8da0b7;margin-left:auto;font:9px DM Mono,monospace}.team-dot{border-radius:50%;flex:none;width:8px;height:8px}.sidebar{flex-direction:column;gap:12px;display:flex}.sidebar .panel{padding:15px}.panel-title{color:#8ca4bf;justify-content:space-between;align-items:center;display:flex}.panel-title h3{color:#eef4fc;margin:4px 0 0;font-size:16px}.panel-title svg{color:#7fa8d4}.muted{color:#8da0b6;font-size:11px;line-height:1.6}.team-list{grid-template-columns:1fr 1fr;gap:7px;margin:13px 0;display:grid}.team-option{color:#e8eef7;text-align:left;background:#101c2c;border:1px solid #30445c;border-radius:7px;align-items:center;gap:8px;min-width:0;padding:9px;display:flex}.team-option.chosen{background:#172b43;border-color:#72adf6}.team-option span:nth-child(2){min-width:0}.team-option b{font:11px DM Mono,monospace;display:block}.team-option small{color:#8ea2ba;white-space:nowrap;text-overflow:ellipsis;margin-top:3px;font-size:9px;display:block;overflow:hidden}.team-option svg{color:#82b5f7;flex:none;margin-left:auto}.team-metrics{grid-template-columns:repeat(3,1fr);gap:8px;margin-top:15px;display:grid}.team-metrics div{background:#0d1928;border:1px solid #24364b;border-radius:7px;padding:10px}.team-metrics small{color:#8499b2;font:9px DM Mono,monospace;display:block}.team-metrics b{margin-top:5px;font-size:19px;display:block}.territory-meta{color:#8da1b9;justify-content:space-between;margin:15px 0;font:10px DM Mono,monospace;display:flex}.meter{margin:11px 0}.meter>div:first-child{color:#a8b8ca;justify-content:space-between;margin-bottom:5px;font-size:10px;display:flex}.meter b{font:10px DM Mono,monospace}.meter-track{background:#26384d;border-radius:5px;height:5px;overflow:hidden}.meter-track i{background:#55a5e8;border-radius:5px;height:100%;display:block}.meter-track i.danger-fill{background:#e16a70}.action-grid{grid-template-columns:1fr 1fr;gap:6px;margin-top:14px;display:grid}.action-grid button{color:#c8d8e9;background:#17283d;border:1px solid #30465f;border-radius:6px;justify-content:center;align-items:center;gap:6px;padding:8px 4px;font-size:10px;display:flex}.action-grid button:hover:not(:disabled){background:#23415f}.treaty-compose{gap:7px;margin-top:13px;display:grid}.treaty-compose select{font-size:11px}.treaty-compose input{font-size:10px}.treaty-list{margin-top:10px}.treaty-row{border-top:1px solid #25364a;justify-content:space-between;align-items:center;padding:8px 0;display:flex}.treaty-row b{font:10px DM Mono,monospace;display:block}.treaty-row small{color:#8398b1;margin-top:3px;font-size:9px;display:block}.treaty-buttons{gap:5px;display:flex}.treaty-buttons button{color:#a9d8c4;background:#172a40;border:1px solid #38526d;border-radius:5px;padding:5px}.chat-feed{height:130px;margin:10px 0;overflow:auto}.chat-message{border-bottom:1px solid #223247;padding:5px 0}.chat-message b{color:#b8cce1;font:10px DM Mono,monospace}.chat-message em{color:#7795b8;margin-left:5px;font-size:9px;font-style:normal}.chat-message p{color:#d4deea;margin:3px 0;font-size:11px}.chat-compose{gap:6px;display:flex}.chat-compose input{padding:9px;font-size:10px}.chat-compose button{color:#fff;background:#2c6db6;border:0;border-radius:6px;place-items:center;width:36px;display:grid}.event-row{border-bottom:1px solid #24364b;gap:9px;padding:8px 0;display:flex}.event-row span{color:#75a9e8;padding-top:2px;font:9px DM Mono,monospace}.event-row p{color:#b5c3d3;margin:0;font-size:10px;line-height:1.5}.bottom-bar{z-index:4;background:#0b1421;border-top:1px solid #293d55;justify-content:space-between;align-items:center;gap:12px;min-height:58px;padding:8px 22px;display:flex;position:fixed;bottom:0;left:0;right:0}.player-list{color:#8da3bc;align-items:center;gap:7px;min-width:0;display:flex;overflow:hidden}.player-pill{white-space:nowrap;color:#b9c9dc;border:1px solid #2a3e55;border-radius:20px;padding:5px 8px;font:9px DM Mono,monospace}.player-pill i{background:#7c8794;border-radius:50%;width:6px;height:6px;margin-right:5px;display:inline-block}.player-pill i.connected{background:#4bc69a}.footer-actions{white-space:nowrap;align-items:center;gap:13px;display:flex}.footer-actions .muted{font:10px DM Mono,monospace}.winner{color:#80d2b1;font-size:12px}@media (width<=1050px){.main-grid{grid-template-columns:1fr}.sidebar{grid-template-columns:1fr 1fr;display:grid}.map-wrap svg{min-height:0}.top-status{font-size:9px}.bottom-bar{flex-wrap:wrap;position:static}.app-shell{padding-bottom:0}.player-list{flex-wrap:wrap}.map-column{min-width:0}}@media (width<=650px){.topbar{padding:0 12px}.top-status{display:none}.main-grid{padding:12px}.sidebar{display:flex}.section-head{flex-direction:column;align-items:start;gap:8px}.map-key{margin-top:8px}.territory-strip{grid-template-columns:1fr 1fr}.region-stat span:last-child{font-size:8px}.map-wrap svg{min-height:0}.node-name{font-size:14px}.entry-grid{grid-template-columns:1fr}.landing{padding:8vh 18px 24px}.intro{margin:22px 0 28px}.brand h1{font-size:25px}.landing-foot{padding-top:45px}.bottom-bar{padding:12px}.footer-actions{justify-content:space-between;width:100%}.player-list{max-height:70px;overflow:auto}.team-list{grid-template-columns:1fr 1fr}}
