:root{font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;color:#efe7d6;background:#0e0c0a;font-synthesis:none;color-scheme:dark}*{box-sizing:border-box}body{margin:0;min-width:320px;background:radial-gradient(ellipse at 25% 0,#2a1f16,#0e0c0a 56%)}main{max-width:1400px;margin:auto;padding:16px}header{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;border-bottom:1px solid #6b5738;padding-bottom:12px}.header-controls{display:flex;align-items:center;gap:8px;flex-wrap:wrap}#view-tabs,#lang-switcher{display:inline-flex;gap:3px;background:#14120f;border:1px solid #4d402c;border-radius:6px;padding:3px;flex-wrap:wrap}.view-btn,.lang-btn{background:transparent;color:#beb39e;border:1px solid transparent;padding:5px 9px;font:600 11px system-ui;border-radius:4px;cursor:pointer}.view-btn:hover,.lang-btn:hover{background:#2c251c;color:#fff3d5}.view-btn.active,.lang-btn.active{background:#8b602d;color:#fff3d5;border-color:#ba8c4d}.eyebrow{color:#d3a150;letter-spacing:.16em;font:700 10px system-ui;margin:0}h1{font-size:24px;letter-spacing:.14em;margin:3px 0 0;font-family:Georgia,Times New Roman,serif}h2{font-size:15px;color:#e6c072;margin:0}h3{font-size:13px;color:#e6c072}.ribbon-panel{margin-top:12px;background:#171411;border:1px solid #4c3e2b;border-radius:8px;padding:9px 12px;display:grid;gap:8px}.model-war-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.war-title{font:800 11px system-ui;letter-spacing:.08em;color:#f0b858;white-space:nowrap}.model-war-bar{flex:1;min-width:220px;height:18px;border-radius:999px;overflow:hidden;display:flex;background:#090807;border:1px solid #3c3224}.war-seg{display:flex;align-items:center;justify-content:center;font:800 10px system-ui;color:#0e0c0a;white-space:nowrap;overflow:hidden;transition:width .4s ease}.ticker-bar{display:flex;align-items:center;gap:10px;padding-top:6px;border-top:1px solid #2e271e;overflow:hidden}.ticker-text{font:600 12px system-ui;color:#f5dea9;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pill{display:inline-flex;align-items:center;padding:3px 8px;border-radius:999px;font:700 11px system-ui;background:#262018;border:1px solid #5e503c;color:#e6c072;white-space:nowrap}.pill-live{background:#3a1b18;border-color:#c8523e;color:#ffc0b3}.pill-lod{background:#182b23;border-color:#44916c;color:#93ebb9}.muted{color:#afa38f;font:12px system-ui;margin:0}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}main[data-view=play] #command-center{display:none}main[data-view=spectator] #play-deck{display:none}main[data-view=dev] #play-deck,main[data-view=dev] .theater-grid,main[data-view=dev] #benchmarks-panel,main[data-view=dev] .cc-grid-mid{display:none}#command-center{display:grid;gap:14px;margin-top:14px}.theater-grid{display:grid;grid-template-columns:minmax(0,68fr) minmax(300px,32fr);gap:14px;align-items:start}.fan-rail{display:grid;gap:12px}.cc-grid-mid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.cc-grid-bot{display:grid;grid-template-columns:1fr 1.15fr;gap:14px}.panel{background:#1a1714;border:1px solid #493e2e;border-radius:9px;padding:13px;box-shadow:0 8px 26px #0004}.panel-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:9px;flex-wrap:wrap}.stage-controls{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px;flex-wrap:wrap}select{background:#12100d;border:1px solid #635642;color:#efe7d6;padding:5px 8px;border-radius:5px;font:12px system-ui}.eval-wrap{display:grid;gap:4px;margin-bottom:8px}.eval-labels{display:flex;justify-content:space-between;font:700 11px system-ui;color:#d6cbb6}.eval-bar{height:9px;border-radius:999px;overflow:hidden;display:flex;background:#3a1616;border:1px solid #403425}.eval-raid{background:linear-gradient(90deg,#2d6a4f,#52b788);transition:width .35s ease}.eval-boss{flex:1;background:linear-gradient(90deg,#b82a2a,#f26b6b)}#tactical-canvas{display:block;width:100%;height:auto;background:#0a0908;border:1px solid #59472e;border-radius:7px}.stage-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:8px;flex-wrap:wrap}.stage-legend{display:flex;gap:12px;flex-wrap:wrap;font:11px system-ui;color:#b9ad98}.dot{display:inline-block;width:8px;height:8px;border-radius:50%;margin-right:4px;vertical-align:middle}.dot-claude{background:#e5894b}.dot-deepseek{background:#4ea8de}.dot-gpt{background:#52b788}.dot-qwen{background:#f4c430}.dot-human{background:#4be08a}.dot-enemy{background:#eb5747}.caster-strip{margin-top:8px;padding:7px 10px;background:#12100d;border:1px solid #3c3224;border-radius:6px;display:flex;align-items:center;gap:8px;overflow:hidden}#caster-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.predict-title{font:700 13px system-ui;color:#f5dea9;margin:6px 0}.predict-options{display:grid;gap:6px;margin-bottom:6px}.pred-option{display:flex;justify-content:space-between;align-items:center;background:#12100d;border:1px solid #4c402f;border-radius:6px;padding:7px 10px;color:#efe7d6;font:600 12px system-ui;cursor:pointer;text-align:left}.pred-option.active,.pred-option:hover{border-color:#f0b858;background:#f0b85824}.pred-mult{color:#9de8bf;font:700 12px ui-monospace,monospace}.bench-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.bench-card{background:#12100d;border:1px solid #3c3224;border-radius:7px;padding:9px;display:grid;gap:4px}.bench-axis{font:700 10px system-ui;color:#b9ad98;text-transform:uppercase;letter-spacing:.05em}.bench-leader{font:700 13px system-ui;color:#f4c873}.bench-metric{font:11px ui-monospace,monospace;color:#9de8bf}.earth-wrap{background:#101216;border:1px solid #3f3628;border-radius:6px;overflow:hidden}#earth-map-svg{display:block;width:100%;height:auto}.earth-grid line{stroke:#222830;stroke-width:1}.earth-continents path{fill:#23292f;stroke:#3b424c;stroke-width:1.1}.village-dot{cursor:pointer}.village-dot text{fill:#e8dfcc;font:10px system-ui;pointer-events:none}.map-meta-row{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:8px;flex-wrap:wrap}.cta-row{display:flex;gap:7px;flex-wrap:wrap;align-items:center}.scroll-list{margin:8px 0 0;padding-left:18px;max-height:195px;overflow:auto;font:12px/1.55 system-ui;color:#d6cbb6}.scroll-list li{padding:4px 0;border-bottom:1px solid #2b251e}.compact-list{max-height:142px}.badge-tag{display:inline-block;padding:1px 6px;border-radius:4px;font:700 10px system-ui;margin-right:6px}.badge-safe{background:#1a3629;color:#8be8b3}.badge-danger{background:#421c18;color:#ff9e92}.badge-cat{background:#1a2b36;color:#78dcf5}.chip-row{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px}.chip,.chip-link{background:#13110e;border:1px solid #4e4230;color:#d6cbb6;padding:4px 9px;border-radius:999px;font:600 11px system-ui;cursor:pointer;text-decoration:none}.chip.active,.chip:hover,.chip-link:hover{background:#8b602d;color:#fff3d5;border-color:#ba8c4d}.kpi-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-bottom:7px}.kpi{background:#13110e;border:1px solid #3a3225;border-radius:6px;padding:7px 9px}.kpi span{display:block;font:11px system-ui;color:#b9ad98}.kpi strong{font:700 14px system-ui;color:#f0c76e;font-variant-numeric:tabular-nums}.skill-box{display:flex;align-items:center;gap:8px;background:#12100d;border:1px solid #4c4132;border-radius:6px;padding:7px 10px}.skill-box code{flex:1;font:12px ui-monospace,monospace;color:#9de8bf;overflow:auto;white-space:nowrap}.layout{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(280px,.8fr);gap:14px;margin-top:14px}.side{display:grid;gap:14px;align-content:start}.map-panel{order:-1}button{background:#8b602d;color:#fff3d5;border:1px solid #ba8c4d;border-radius:5px;padding:7px 12px;cursor:pointer;font:600 12px system-ui}button:hover{background:#a77539}button:disabled{opacity:.5}.btn-sm{padding:5px 9px;font-size:11px}.btn-ghost{background:#211e19;border-color:#5f523e;color:#e8dfcc}.btn-ghost:hover{background:#2f2922}#journal{height:300px;overflow:auto;padding-left:22px;color:#d6cbb6;line-height:1.55}#journal li{padding:0 0 7px}form{border-top:1px solid #4e4230;padding-top:12px}label{display:block;font:12px system-ui;color:#b9ad98;margin-bottom:5px}.command-row{display:flex;gap:8px}input{min-width:0;flex:1;background:#12100d;border:1px solid #5f523e;color:#fff;padding:9px;border-radius:5px}.quick{display:flex;flex-wrap:wrap;gap:6px;margin-top:9px}.quick button{font-size:11px;padding:5px 8px}dl{display:grid;grid-template-columns:1fr auto;gap:7px;margin:10px 0}dt{color:#b9ad98}dd{margin:0;color:#ebc875;font-variant-numeric:tabular-nums}#inventory{padding-left:20px;min-height:22px}#map{display:block;width:100%;height:auto}.road{fill:none;stroke:#6d5c40;stroke-width:4;stroke-dasharray:4 4}.node{cursor:pointer;fill:#d7b66f}.node circle{stroke:#171512;stroke-width:4}.node text{fill:#d7cdbb;text-anchor:middle;font:12px system-ui}.node.active circle{fill:#ee9e4d;stroke:#fff0c1}#clock{font:12px system-ui;color:#b9ad98;text-align:center}footer{text-align:center;color:#827866;font:11px system-ui;margin:16px}#identity{color:#beb39e;font:13px system-ui}#portal-status{font:12px system-ui;color:#b9ad98;margin:0 0 7px}#portal-feed{padding-left:18px;margin:0 0 7px;font:12px system-ui;color:#d6cbb6}.portal-links{font:12px system-ui;margin:0}.portal-links a{color:#ebc875;text-decoration:none}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#080706d6;display:none;align-items:center;justify-content:center;padding:16px;z-index:60}.modal-backdrop.open{display:flex}.modal-card{width:100%;max-width:540px;background:#1a1714;border:1px solid #8b602d;border-radius:10px;padding:16px;box-shadow:0 20px 60px #0009}.acct-pane{display:none;margin-top:10px}.acct-pane.active{display:block}.acct-form{border-top:none;padding-top:8px;display:grid;gap:8px}.acct-form label{margin:4px 0 0}.auth-status{margin-top:9px;padding:8px 10px;background:#12100d;border:1px solid #3a3225;border-radius:6px}.slot-item{display:flex;align-items:center;justify-content:space-between;gap:8px}.view-hidden{display:none!important}.patron-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-top:8px}.patron-pack{background:#13110e;border:1px solid #4e4230;color:#d6cbb6;padding:8px 6px;border-radius:6px;font:600 11px system-ui;cursor:pointer}.patron-pack.active{background:#8b602d;color:#fff3d5;border-color:#ffd98a}.warn-note{margin:8px 0 4px;padding:7px 9px;background:#d9381e24;border:1px solid rgba(217,56,30,.5);border-radius:6px;font:11px/1.45 system-ui;color:#ffd0c8}@media(max-width:1024px){.theater-grid,.cc-grid-mid,.cc-grid-bot{grid-template-columns:1fr}.bench-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:760px){main{padding:10px}.layout{grid-template-columns:1fr}#journal{height:230px}.patron-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
