.risk-root{--shell-header:56px;--bg:var(--surface-panel);--text:var(--ink-secondary);--text-h:var(--ink-primary);--border:var(--hairline-strong);--code-bg:var(--surface-panel-raised);--accent:var(--seq-300);--accent-bg:#6da7ec24;--accent-border:#6da7ec73;--social-bg:var(--surface-panel-raised);--shadow:#00000073 0 10px 15px -3px, #0000004d 0 4px 6px -2px;--sans:var(--font-ui);--heading:var(--font-ui);--mono:ui-monospace, Consolas, monospace;font:16px/145% var(--sans);letter-spacing:.18px;color:var(--text);background:var(--surface-page);font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;min-height:100vh}html,body{background:var(--surface-page);margin:0}h1,h2{font-family:var(--heading);color:var(--text-h);font-weight:500}h2{letter-spacing:-.24px;margin:0 0 8px;font-size:24px;line-height:118%}@media (width<=1024px){h2{font-size:20px}}p{margin:0}code,.counter{font-family:var(--mono);color:var(--text-h);border-radius:4px;display:inline-flex}code{background:var(--code-bg);padding:4px 8px;font-size:15px;line-height:135%}.shell{flex-direction:column;min-height:100vh;display:flex}.shell-header{height:var(--shell-header);border-bottom:1px solid var(--border);background:var(--bg);z-index:10;align-items:center;gap:24px;padding:0 20px;display:flex;position:sticky;top:0}.shell-title{font-family:var(--heading);color:var(--text-h);letter-spacing:.2px;white-space:nowrap;font-size:15px;font-weight:600}.shell-nav{flex:1;gap:4px;display:flex}.nav-item{color:var(--text);border:1px solid #0000;border-radius:6px;padding:6px 12px;font-size:14px;text-decoration:none}.nav-item:hover{background:var(--accent-bg);color:var(--text-h)}.nav-item.active{color:var(--text-h);background:var(--accent-bg);border-color:var(--accent-border)}.shell-main{flex:1;padding:20px}button.ghost{font:inherit;color:var(--text-h);background:var(--bg);border:1px solid var(--border);cursor:pointer;border-radius:6px;padding:5px 12px;font-size:13px}button.ghost:hover{background:var(--accent-bg);border-color:var(--accent-border)}.theater{grid-template-rows:auto auto auto;gap:12px;display:grid}.theater-bar{color:var(--text);align-items:center;gap:14px;font-size:13px;display:flex}.theater-bar .spacer{flex:1}.theater-bar strong{color:var(--text-h);font-size:14px}.theater-bar .speed{align-items:center;gap:6px;display:flex}.theater-body{grid-template-columns:minmax(0,1fr) 320px;align-items:start;gap:16px;min-height:0;display:grid}.board-panel{border-radius:var(--map-panel-radius,12px);background:var(--surface-map);aspect-ratio:2000/1073;width:100%;overflow:hidden}.board{width:100%;height:100%;display:block}.board-error{color:var(--status-critical,#d03b3b);border:1px solid var(--status-critical,#d03b3b);border-radius:8px;padding:12px 16px;font-size:14px}.seat-rail{border-collapse:collapse;width:100%;font-size:13px}.seat-rail th{text-align:right;color:var(--text);border-bottom:1px solid var(--border);padding:4px 6px;font-weight:600}.seat-rail th:first-child,.seat-rail td:first-child{text-align:left}.seat-rail td{text-align:right;color:var(--text-h);padding:5px 6px}.seat-rail tr.dead td{opacity:.45}.seat-rail .muted{color:var(--text);font-size:11px}.seat-rail .chip{vertical-align:middle;border-radius:2px;width:9px;height:9px;margin-right:6px;display:inline-block}.mode-switch{gap:4px;display:flex}button.ghost.active{background:var(--accent-bg);border-color:var(--accent-border);color:var(--text-h)}.scrubber{color:var(--text);border:1px solid var(--border);border-radius:8px;align-items:center;gap:8px;padding:8px 10px;font-size:13px;display:flex}.scrub-range{flex:1;min-width:160px}.scrub-pos{color:var(--text-h);text-align:right;min-width:72px}.scrubber .speed{align-items:center;gap:6px;display:flex}.theater-bar select{font:inherit;color:var(--text-h);background:var(--bg);border:1px solid var(--border);border-radius:6px;padding:4px 8px;font-size:13px}.play{flex-direction:column;gap:12px;display:flex}.play-bar{color:var(--text);flex-wrap:wrap;align-items:center;gap:14px;font-size:13px;display:flex}.play-bar .spacer{flex:1}.play-bar label{align-items:center;gap:6px;display:flex}.play-bar input[type=number]{width:72px}.play-bar input[type=text]{width:240px}.play-bar input,.play-bar select{font:inherit;color:var(--text-h);background:var(--bg);border:1px solid var(--border);border-radius:6px;padding:4px 8px;font-size:13px}.theater-rail{flex-direction:column;gap:14px;min-width:0;display:flex}.muted{color:var(--text)}.training{flex-direction:column;gap:14px;display:flex}.training-head{flex-wrap:wrap;align-items:center;gap:16px;display:flex}.training-head h3{color:var(--text-h);margin:0;font-size:16px;font-weight:600}.training-head select{font:inherit;color:var(--text-h);background:var(--bg);border:1px solid var(--border);border-radius:6px;padding:4px 8px;font-size:13px}.charts-pane{border-top:1px solid var(--border);margin-top:4px;padding-top:14px}.charts-head{flex-wrap:wrap;align-items:baseline;gap:18px;margin-bottom:10px;display:flex}.charts-head h3{color:var(--text-h);margin:0;font-size:15px;font-weight:600}.panel{background:var(--surface-panel);border:1px solid var(--panel-stroke);border-radius:var(--panel-radius,10px);padding:12px 14px}.rail-head{justify-content:space-between;align-items:baseline;gap:12px;margin-bottom:8px;display:flex}.rail-head h3{letter-spacing:1px;text-transform:uppercase;color:var(--ink-secondary);margin:0;font-size:12px;font-weight:700}.rail-note{color:var(--ink-muted);font-size:11px}.rail-foot{border-top:1px solid var(--hairline);color:var(--ink-muted);margin-top:10px;padding-top:8px;font-size:12px}.thinking-indicator{align-items:center;gap:var(--space-2,8px);padding:var(--space-2,8px) var(--space-3,12px);border:1px solid var(--border-subtle,#22303c);border-radius:var(--radius-sm,4px);background:var(--surface-raised,#101a24);color:var(--text-secondary,#9fb0c0);font-size:var(--font-size-sm,12px);display:flex}.thinking-dot{border-radius:50%;width:10px;height:10px;animation:1.1s ease-in-out infinite thinking-pulse}@keyframes thinking-pulse{0%,to{opacity:.35}50%{opacity:1}}html,body,#root{height:100%}.charts-head .tiles{flex:1;grid-template-columns:repeat(4,minmax(0,1fr));margin:0}.charts-row{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.charts-row .chart{margin:0}.hint{color:var(--ink-muted);font-size:12px}.panel{border:1px solid var(--border);background:var(--panel);border-radius:8px;margin-bottom:10px;padding:10px}.panel button{margin:3px 3px 3px 0}.log{max-height:300px;font-size:13px;overflow-y:auto}.log-empty{color:var(--ink-muted);font-style:italic}.log-line{align-items:baseline;gap:6px;padding:1px 0;line-height:1.35;display:flex}.log-battle{color:var(--danger)}.log-elimination{font-weight:700}.log-over{margin-top:4px;font-weight:700}.seat-chip{color:#fff;border-radius:4px;flex:none;justify-content:center;align-items:center;min-width:15px;height:15px;font-size:10px;font-weight:700;display:inline-flex}.seats{border-collapse:collapse;width:100%;font-size:13px}.seats th{text-align:right;color:var(--ink-muted);padding:0 4px;font-weight:600}.seats th:nth-child(2){text-align:left}.seats td{text-align:right;color:var(--ink);padding:2px 4px}.seats td:nth-child(2){text-align:left}.seats tr.you{font-weight:700}.seats tr.dead{opacity:.45;text-decoration:line-through}.cont-flag{color:#c8931f;margin-left:2px;font-size:10px}.hand{margin:0;padding:0;font-size:13px;list-style:none}.hand li{align-items:baseline;gap:8px;padding:2px 0;display:flex}.hand li.owned{font-weight:700}.design{text-align:center;color:#fff;border-radius:4px;min-width:62px;padding:1px 5px;font-size:11px;display:inline-block}.design-infantry{background:#6b7a8f}.design-cavalry{background:#7d6b8f}.design-artillery{background:#8f7a6b}.design-wild{background:#b8860b}.match{color:var(--good);font-size:11px;font-weight:700}.stepper{align-items:center;gap:4px;display:inline-flex}.stepper button{min-width:28px;padding:2px 6px}.stepper-value{text-align:center;min-width:28px;font-size:16px;font-weight:700}.stage-row{flex-wrap:wrap;align-items:center;gap:8px;margin:6px 0;display:flex}.cost{color:var(--ink-muted);margin:4px 0 0;font-size:12px}.end h2{margin-top:0}.end-headline{margin:6px 0 10px;font-size:17px}.standings{margin:0;padding:0;list-style:none}.standings li{align-items:center;gap:8px;padding:2px 0;display:flex}.standings li.you{font-weight:700}.tiles{grid-template-columns:repeat(2,1fr);gap:8px;margin:8px 0 14px;display:grid}.tile{border:1px solid var(--border);background:var(--panel-2);border-radius:8px;padding:7px 9px}.tile-k{text-transform:uppercase;letter-spacing:.04em;color:var(--ink-muted);font-size:11px}.tile-v{color:var(--ink);font-size:21px;font-weight:700;line-height:1.25}.tile-sub{color:var(--ink-muted);font-size:11px}.chart{margin:0 0 16px}.chart figcaption{color:var(--ink);margin-bottom:4px;font-size:12px;font-weight:600}.chart-sub{color:var(--ink-muted);margin-top:2px;font-size:11px;font-weight:400;display:block}.chart-svg{background:var(--chart-surface);border:1px solid var(--border);border-radius:6px;width:100%;height:auto}.chart-readout{color:var(--ink);margin:2px 0 10px;font-size:12px;line-height:1.6}.chart-readout .rd{white-space:nowrap;margin-left:10px}.metrics-table{border-collapse:collapse;width:100%;margin-top:8px;font-size:11px}.metrics-table th{text-align:right;color:var(--ink-muted);border-bottom:1px solid var(--border);padding:2px 4px;font-weight:600}.metrics-table td{text-align:right;color:var(--ink);padding:2px 4px}.risk-root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--surface-page:#04070b;--surface-panel:#080e15;--surface-panel-raised:#0d1826;--surface-map:#0a1017;--surface-halo:#16283c;--surface-land:#1b2735;--ink-primary:#eef4fb;--ink-secondary:#9fb0c4;--ink-muted:#657789;--hairline:#ffffff14;--hairline-strong:#ffffff1f;--panel-stroke:#ffffff12;--status-good:#0ca30c;--status-warning:#fab219;--status-serious:#ec835a;--status-critical:#d03b3b;--seat-0:#d30e01;--seat-1:#199bf3;--seat-2:#007c59;--seat-3:#bb8d0a;--seat-4:#7a3bd5;--seat-5:#e84ebc;--seq-100:#cde2fb;--seq-200:#9ec5f4;--seq-300:#6da7ec;--seq-400:#3987e5;--seq-500:#256abf;--seq-600:#184f95;--seq-700:#0d366b;--font-ui:Inter, system-ui, -apple-system, "Segoe UI", sans-serif;--gutter:30px;--panel-radius:10px;--map-panel-radius:12px;--rail-width:604px;--rail-gap:20px;--header-height:74px;background:var(--surface-page);color:var(--ink-secondary);font-family:var(--font-ui)}.risk-num{font-variant-numeric:tabular-nums}@media (forced-colors:active),print{.risk-root{--risk-texture:on}}.pub{max-width:1400px;color:var(--text);flex-direction:column;gap:14px;min-width:0;margin:0 auto;padding:16px;display:flex}.pub h1{color:var(--text-h);margin:0;font-size:24px}.pub p{margin:0}.pub button,.pub input,.pub select{font:inherit;color:var(--text-h);background:var(--bg);border:1px solid var(--border);border-radius:6px;padding:7px 12px;font-size:14px}.pub button{cursor:pointer}.pub button:not(.ghost){background:var(--accent-bg);border-color:var(--accent-border)}.pub button:hover:not(:disabled){border-color:var(--accent-border)}.pub button:disabled{opacity:.45;cursor:not-allowed}.pub input[type=checkbox]{accent-color:var(--accent-border);padding:0}.pub-card{flex-direction:column;gap:12px;max-width:520px;display:flex}.pub-card label{flex-direction:column;gap:4px;display:flex}.pub-consent{color:var(--ink-muted);align-items:flex-start;font-size:13px}.pub-row{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.pub-code{letter-spacing:4px;font-family:ui-monospace,SF Mono,Menlo,monospace;font-size:28px}.pub-seats{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.pub-seats button{text-align:left;overflow-wrap:anywhere;padding:12px 8px}.pub-clock{font-variant-numeric:tabular-nums;color:var(--text-h)}.pub-banner{background:var(--surface-panel-raised);color:var(--text-h);border-radius:8px;padding:8px 12px}.pub .board-panel{min-width:0}@media (width<=899px){.pub .theater-body{grid-template-columns:minmax(0,1fr)}}.pub.pub-game{max-width:none}.pub-board-col{justify-content:center;align-items:flex-start;min-width:0;display:flex}.pub-board-col>.board-panel{flex:none}@supports (width:1cqw){@media (width>=900px) and (height>=520px){.pub.pub-game{box-sizing:border-box;height:100dvh}.pub-game .theater-body{flex:1 1 0;grid-template-rows:minmax(0,1fr);min-height:0}.pub-game .pub-board-col{align-self:stretch;container-type:size}.pub-game .pub-board-col>.board-panel{width:min(100cqw,186.393cqh)}.pub-game .pub-board-col>.pub-board-table{box-sizing:border-box;max-height:100cqh}.pub-game .theater-rail{align-self:stretch;min-height:0;overflow-y:auto}.pub-game .theater-rail>*{flex-shrink:0}}}@media (width<=560px){.pub-seats{grid-template-columns:repeat(2,minmax(0,1fr))}}#root.risk-root{height:auto}.pub-consent.pub-row{flex-wrap:nowrap}.pub-stack{grid-template-columns:minmax(0,1fr);gap:14px;display:grid}.pub-panel{background:var(--surface-panel);border:1px solid var(--hairline-strong);border-radius:8px;flex-direction:column;gap:12px;min-width:0;padding:14px 16px;display:flex}.pub-panel.pub-card{box-sizing:border-box;max-width:560px}.pub-panel h2{color:var(--text-h);margin:0;font-size:18px}.pub-panel h3{color:var(--text-h);margin:4px 0 0;font-size:15px}.pub-sub{background:var(--surface-panel-raised);border:1px solid var(--hairline-strong);box-sizing:border-box;border-radius:8px;max-width:560px;padding:12px 14px}.pub-sub>button{align-self:flex-start}.pub-card label.pub-check{flex-direction:row;align-items:flex-start;gap:10px}.pub-check input[type=checkbox]{flex:none;width:22px;height:22px;margin:1px 0 0}.pub-link{color:var(--accent);padding:8px 4px;text-decoration:none}.pub-link:hover{text-decoration:underline}.pub-mono{font-family:var(--mono)}.pub-secret input{font-family:var(--mono);letter-spacing:.5px;font-size:18px}.pub-confirm{border-color:var(--accent-border)}.pub-scroll{max-width:100%;overflow-x:auto}.pub-table{border-collapse:collapse;width:100%;font-size:13px}.pub-table th,.pub-table td{text-align:left;border-bottom:1px solid var(--hairline);vertical-align:middle;white-space:nowrap;padding:6px 8px}.pub-table th{color:var(--ink-muted);font-weight:500}.pub-table .num{text-align:right;font-variant-numeric:tabular-nums}.pub-table tr.selected td{background:var(--surface-panel-raised)}.pub-table button{padding:4px 10px}.pub-off{color:var(--status-critical)}.pub-panel input:not([type=checkbox]),.pub-panel select{box-sizing:border-box;width:100%}@media (pointer:coarse){.pub-panel button,.pub-panel input:not([type=checkbox]),.pub-panel select,.dash-watch button,.pub-confirm button{min-height:44px}}@media (width<=600px){.pub-panel button,.pub-panel input:not([type=checkbox]),.pub-panel select{min-height:44px;font-size:16px}.pub-table button{min-height:36px;font-size:14px}.pub-panel{padding:12px}}.pub-cols{grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:14px;display:grid}.pub-col{flex-direction:column;gap:6px;min-width:0;max-width:none;display:flex}.pub-col h4{letter-spacing:1px;text-transform:uppercase;color:var(--ink-muted);margin:10px 0 0;font-size:12px;font-weight:700}.pub-fact{border-bottom:1px solid var(--hairline);justify-content:space-between;gap:12px;padding:2px 0;font-size:13px;display:flex}.pub-fact-label{color:var(--ink-secondary)}.pub-fact-value{color:var(--text-h);text-align:right}.pub-rate strong{color:var(--text-h);font-weight:600}.pub-chart{flex-direction:column;gap:4px;margin:0;display:flex}.pub-chart svg{width:100%;max-width:420px;height:auto;display:block}.pub-chart .pub-grid{stroke:var(--hairline);stroke-width:1px}.pub-chart .pub-axisline{stroke:var(--hairline-strong);stroke-width:1px}.pub-chart .pub-axis{fill:var(--ink-muted);font-size:10.5px;font-family:var(--font-ui)}.pub-chart .pub-ref{stroke:var(--ink-muted);stroke-width:1px;stroke-dasharray:4 3}.pub-chart .pub-bar{fill:var(--seq-400)}.pub-chart .pub-line{fill:none;stroke:var(--seq-400);stroke-width:2px;stroke-linejoin:round;stroke-linecap:round}.pub-chart .pub-dot{fill:var(--seq-400)}.pub-tableview summary{cursor:pointer}.pub-swatch{vertical-align:middle;border-radius:2px;width:10px;height:10px;margin-right:6px;display:inline-block}.pub-pick{flex-direction:column;gap:4px;max-width:420px;display:flex}.pub .pub-linkbtn{color:var(--accent);text-align:left;background:0 0;border:none;padding:2px 4px}.pub .pub-linkbtn:hover{text-decoration:underline}.pub-col .pub-table td{white-space:normal}.pub-table .pub-rate{min-width:9em;display:inline-block}.pub.pub-game.pub-phone{box-sizing:border-box;grid-template:"strip""notes"minmax(0,auto)"seats"minmax(0,auto)"hand""main"minmax(0,1fr)"bar"/minmax(0,1fr);gap:0;height:100dvh;padding:0;display:grid;overflow:hidden}.pub.pub-phone{-webkit-tap-highlight-color:transparent}.pub-phone button,.pub-phone label{box-sizing:border-box;min-height:44px}.pub-phone button{min-width:44px}.phone-strip{background:var(--surface-panel);border-bottom:1px solid var(--hairline-strong);flex-direction:column;grid-area:strip;gap:2px;min-width:0;padding:4px 8px;display:flex}.phone-strip-status{min-width:0;color:var(--ink-secondary);flex-wrap:wrap;align-items:center;gap:2px 10px;font-size:13px;line-height:20px;display:flex}.phone-strip-turn{color:var(--text-h);font-variant-numeric:tabular-nums;align-items:center;gap:6px;display:inline-flex}.phone-strip-turn .pub-seat-badge{width:18px;height:18px}.phone-strip-status .board-error{flex-basis:100%;font-size:13px}.phone-strip-controls{flex-wrap:wrap;align-items:center;gap:4px 6px;min-width:0;display:flex}.pub-phone .phone-strip-controls button{padding:4px 10px;font-size:14px}.pub-phone .phone-strip-controls label{color:var(--text-h);cursor:pointer;border:1px solid var(--hairline-strong);border-radius:6px;align-items:center;gap:6px;padding:0 6px;font-size:14px;display:inline-flex}.pub-phone .phone-strip-controls input[type=checkbox]{width:20px;height:20px;margin:0}.pub-phone .phone-strip-controls .phone-info-btn[aria-pressed=true]{background:var(--surface-panel-raised)}.pub-phone .phone-strip-controls .pub-leave{margin-left:auto}.phone-notes{flex-direction:column;grid-area:notes;gap:4px;min-width:0;min-height:0;max-height:40dvh;padding:4px 8px;display:flex;overflow-y:auto}.pub-phone .pub-banner{padding:6px 10px;font-size:13px}.pub-phone .pub-leave-confirm>span#pub-leave-body{flex-basis:100%}.phone-seats{background:var(--surface-panel);border-bottom:1px solid var(--hairline-strong);grid-area:seats;align-items:stretch;gap:4px;min-width:0;min-height:0;padding:2px 4px 3px 8px;display:flex;overflow-y:auto}.phone-seats-body{flex:auto;align-self:flex-start;min-width:0}.phone-seats-note{color:var(--ink-secondary);margin:1px 0 0 5px;font-size:11px;line-height:14px}.pub-phone .phone-seats-toggle{width:44px;min-height:44px;color:var(--ink-secondary);flex:none;padding:0;font-size:14px}.phone-seats .pub-hud-table{font-size:12px;line-height:16px}.phone-seats .pub-hud-table th{padding:0 5px 1px;font-size:11px;line-height:14px}.phone-seats .pub-hud-table td{padding:1px 5px}.phone-seats .pub-hud-table .pub-col-badge{width:18px;padding:0 2px}.phone-seats .pub-hud-table .pub-col-name{width:100%;max-width:0}.phone-seats .pub-seat-badge{width:16px;height:16px;display:block}.phone-seats .cont-flag{color:var(--ink-primary);margin-left:2px;font-size:10px;line-height:0}.phone-hand{background:var(--surface-panel);border-bottom:1px solid var(--hairline-strong);grid-area:hand;align-items:center;gap:8px;min-width:0;padding:3px 0 3px 8px;font-size:12px;line-height:16px;display:flex}.phone-hand-title{color:var(--ink-secondary);flex:none;margin:0;font-size:11px;font-weight:600}.phone-hand-empty{color:var(--ink-muted);margin:0}.phone-hand-scroller{flex:1 1 0;align-items:center;min-width:0;display:flex}.phone-hand-cards{scrollbar-width:none;flex:1 1 0;gap:6px;min-width:0;margin:0;padding:0 8px 0 0;list-style:none;display:flex;overflow-x:auto}.phone-hand-scroller[data-more-right] .phone-hand-cards{-webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 28px),#0000);mask-image:linear-gradient(90deg,#000 calc(100% - 28px),#0000)}.phone-hand-scroller[data-more-left] .phone-hand-cards{-webkit-mask-image:linear-gradient(270deg,#000 calc(100% - 28px),#0000);mask-image:linear-gradient(270deg,#000 calc(100% - 28px),#0000)}.phone-hand-scroller[data-more-left][data-more-right] .phone-hand-cards{-webkit-mask-image:linear-gradient(90deg,#0000,#000 28px calc(100% - 28px),#0000);mask-image:linear-gradient(90deg,#0000,#000 28px calc(100% - 28px),#0000)}.phone-hand-more{color:var(--ink-primary);flex:none;padding:0 8px 0 2px;font-size:16px;line-height:16px}.phone-hand-card{white-space:nowrap;background:var(--surface-panel-raised);border:1px solid var(--hairline-strong);border-radius:6px;flex:none;align-items:baseline;gap:5px;padding:1px 7px;display:inline-flex}.phone-hand-card .pub-card-territory{color:var(--ink-primary);font-size:12px}.phone-hand-card .pub-card-held{font-size:11px}.phone-hand-card .pub-card-match{padding:0 5px;font-size:11px}.phone-map{background:var(--surface-map);grid-area:main;min-width:0;min-height:0;display:flex}.phone-map>.board-panel{aspect-ratio:auto;border-radius:0;flex:1 1 0;width:auto;min-width:0;height:auto;min-height:0}.phone-board{touch-action:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}.phone-board-view{transform-origin:0 0;width:100%;height:100%}.phone-board-view>svg{width:100%;height:100%;display:block}.pub-command .phone-board-view [data-layer=interaction] path[data-hit][data-selected]{stroke-width:calc(2.5px / var(--phone-z,1))}.pub-command .phone-board-view [data-layer=interaction] path[data-hit][data-highlight]:not([data-selected]){stroke-width:calc(1.5px / var(--phone-z,1))}.pub-command .phone-board-view [data-layer=interaction] [data-route] path{stroke-width:calc(2px / var(--phone-z,1));stroke-dasharray:calc(6px / var(--phone-z,1)) calc(4px / var(--phone-z,1))}.phone-actionbar{box-sizing:border-box;min-width:0;min-height:0;max-height:50dvh;padding:6px 8px calc(6px + env(safe-area-inset-bottom,0px));background:var(--surface-panel);border-top:1px solid var(--hairline-strong);flex-direction:column;grid-area:bar;gap:6px;display:flex;overflow:hidden}.phone-actionbar p{margin:0}.phone-bar-head{color:var(--ink-primary);font-size:14px;line-height:1.35}.phone-bar-step{color:var(--text-h);margin-right:8px;font-weight:700}.phone-bar-guide .hint{color:var(--ink-secondary)}.phone-bar-inspect{flex-wrap:wrap;align-items:center;gap:2px 10px;font-size:13px;display:flex}.phone-bar-inspect .phone-sel-name{color:var(--text-h)}.phone-bar-inspect .phone-sel-owner,.phone-bar-inspect .phone-sel-armies{color:var(--ink-secondary)}.phone-bar-body{flex-direction:column;flex:0 auto;gap:6px;min-width:0;min-height:0;display:flex;overflow-y:auto}.phone-bar-head,.phone-bar-inspect,.phone-bar-actions{flex:none}.phone-bar-row{flex-wrap:wrap;align-items:center;gap:6px 10px;display:flex}.phone-bar-note{color:var(--ink-secondary);font-size:13px}.phone-bar-note strong{color:var(--ink-primary)}.pub-trade-ahead{color:var(--ink-primary);margin:0;font-size:13px}.pub-ca-battle-line .hint{color:var(--ink-secondary)}.phone-bar-actions{flex-wrap:wrap;gap:6px;display:flex}.pub-phone .phone-bar-actions button{white-space:nowrap;flex:auto;padding:4px 12px;font-size:15px}.pub-phone .phone-bar-actions .phone-back{flex:none}.phone-actionbar[data-kind=wait] .phone-bar-head{white-space:nowrap;align-items:baseline;min-width:0;display:flex}.phone-actionbar[data-kind=wait] .phone-bar-guide{text-overflow:ellipsis;min-width:0;overflow:hidden}.phone-bar-thinking .thinking-dot{width:8px;height:8px;margin-right:6px;display:inline-block}.phone-actionbar .stepper{flex-wrap:wrap}.pub-phone .phone-actionbar .stepper button{min-width:44px;padding:4px 8px}.pub-phone .phone-deploy-amount .stepper{flex-wrap:nowrap;gap:6px}.pub-phone .phone-deploy-amount .stepper button{min-width:44px;font-size:15px}.pub-phone .phone-deploy-amount .stepper-value{min-width:36px}.pub-phone .phone-bar-actions .phone-deploy-place{white-space:normal;flex:1 1 0;min-width:0}.phone-actionbar[data-kind=deploy] .phone-bar-body{flex:none;overflow:visible}.phone-actionbar .phone-cards{grid-template-columns:repeat(auto-fill,minmax(100px,1fr));gap:6px}.pub .phone-cards .pub-ca-card{padding:6px 8px}.phone-actionbar .panel{margin:0}.phone-actionbar .panel.end{padding:8px 10px}.phone-info{flex-direction:column;grid-area:main;gap:6px;min-width:0;min-height:0;padding:6px 8px;display:flex;overflow:hidden}.phone-info-head{flex-wrap:wrap;align-items:center;gap:4px 10px;font-size:13px;display:flex}.phone-info-head .phone-info-back{margin-right:auto}.phone-tabs{flex-direction:column;flex:1 1 0;gap:4px;min-height:0;display:flex;overflow:hidden}.phone-tabpanel .panel>h3{display:none}.phone-tablist{grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;display:grid}.pub-phone .phone-tablist button{white-space:nowrap;text-overflow:ellipsis;padding:4px 2px;font-size:13px;overflow:hidden}.phone-tablist .tab-short{display:none}.phone-tablist button.active{background:var(--accent-bg);border-color:var(--accent-border)}.phone-tabpanel{flex:1 1 0;min-height:0;overflow:auto}.phone-tabpanel .panel{margin:0}.phone-tabpanel .log{max-height:none}.phone-tabpanel .seats td:nth-child(2){white-space:nowrap}@media (hover:none){.pub-phone button.ghost:hover:not(:disabled){background:var(--bg);border-color:var(--border)}.pub-command .pub-phone button:not(.ghost):hover:not(:disabled){background:var(--accent-bg)}.pub-phone button.ghost:is([aria-pressed=true],[aria-expanded=true]),.pub-phone button.ghost:is([aria-pressed=true],[aria-expanded=true]):hover{color:var(--ink-primary);background:var(--surface-panel-raised)}.pub-phone .phone-tablist button.active,.pub-phone .phone-tablist button.active:hover{background:var(--accent-bg);border-color:var(--accent-border)}}@media (orientation:landscape) and (height<=600px){.pub.pub-game.pub-phone{grid-template:"main strip""main notes"minmax(0,auto)"main seats"minmax(0,auto)"main hand""main bar"minmax(112px,1fr)/minmax(0,1fr) clamp(232px,34vw,300px)}.phone-strip{border-bottom:1px solid var(--hairline-strong);border-left:1px solid var(--hairline-strong)}.pub.pub-game.pub-phone[data-notes]{grid-template-rows:auto minmax(0,auto) auto minmax(112px,1fr);grid-template-areas:"notes strip""main seats""main hand""main bar"}.phone-seats,.phone-hand{border-left:1px solid var(--hairline-strong)}.phone-seats .pub-col-name{display:none}.phone-seats{gap:2px;padding-left:6px}.phone-seats .pub-hud-table th{font-size:10px}.phone-seats .pub-hud-table th,.phone-seats .pub-hud-table td{padding-left:2px;padding-right:3px}.phone-notes{border-bottom:1px solid var(--hairline-strong);max-height:none}.phone-actionbar{border-top:none;border-left:1px solid var(--hairline-strong);max-height:none;padding-right:calc(8px + env(safe-area-inset-right,0px))}.phone-bar-actions{margin-top:auto}.pub-phone .phone-deploy-amount .stepper{gap:3px}.pub-phone .phone-deploy-amount .stepper-value{min-width:24px}.phone-actionbar[data-kind=deploy]{overflow-y:auto}.phone-actionbar[data-kind=deploy] .phone-bar-head{font-size:13px;line-height:1.3}.phone-tablist .tab-full{display:none}.phone-tablist .tab-short{display:inline}}.dash-tabs{border-bottom:1px solid var(--hairline-strong);flex-wrap:wrap;gap:4px;padding-bottom:6px;display:flex}.dash-tab{color:var(--ink-secondary);border:1px solid #0000;border-radius:6px;padding:8px 12px;font-size:14px;text-decoration:none}.dash-tab:hover{color:var(--text-h);border-color:var(--hairline-strong)}.dash-tab.active{color:var(--text-h);background:var(--accent-bg);border-color:var(--accent-border)}.dash-tiles{grid-template-columns:repeat(auto-fill,minmax(min(100%,190px),1fr));gap:14px;display:grid}.dash-tile{gap:6px}.pub-panel h2.dash-tile-label{letter-spacing:.6px;text-transform:uppercase;color:var(--ink-muted);font-size:12px;font-weight:600}.dash-big{color:var(--text-h);margin:0;font-size:28px;font-weight:600;line-height:1.1}.dash-rate{flex-wrap:wrap;align-items:baseline;gap:4px 8px;display:flex}.dash-tile .pub-link{margin-top:auto;padding:4px 0}.dash-grid{grid-template-columns:minmax(0,1fr);gap:14px;display:grid}@media (width>=1100px){.dash-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}}.dash-status{color:var(--ink-secondary);align-items:center;gap:8px;font-size:13px;display:flex}.dash-dot{background:var(--ink-muted);border-radius:50%;flex:none;width:9px;height:9px}.dash-status-good .dash-dot{background:var(--status-good)}.dash-status-warning .dash-dot{background:var(--status-warning)}.dash-status-critical .dash-dot{background:var(--status-critical)}.dash-status-warning,.dash-status-critical{color:var(--text-h)}.dash-stale td,.dash-stale td *{color:var(--ink-muted)}.dash-seats{white-space:normal;min-width:220px}.pub-table td.dash-seats{white-space:normal}.dash-seat{white-space:nowrap;align-items:center;margin-right:10px;display:inline-flex}.dash-ai{color:var(--ink-secondary)}.dash-out{color:var(--ink-muted);text-decoration:line-through}.dash-kind{white-space:nowrap}.dash-kind-games{color:var(--text-h)}.dash-filters{grid-template-columns:repeat(auto-fill,minmax(min(100%,180px),1fr));align-items:end;gap:10px;display:grid}.dash-filters label{color:var(--ink-secondary);flex-direction:column;gap:4px;font-size:13px;display:flex}.dash-filters label.dash-check{flex-direction:row;align-items:center;gap:8px;min-height:36px}.dash-filters button{justify-self:start}.pub-table.dash-activity td:last-child,.pub-table.dash-history td:nth-child(2){white-space:normal;min-width:180px}@media (width<=600px){.dash-tab{padding:8px 10px;font-size:13px}.dash-big{font-size:24px}}@media (width<=700px){.pub-table.dash-cards thead{display:none}.pub-table.dash-cards,.pub-table.dash-cards tbody{display:block}.pub-table.dash-cards tr{border-bottom:1px solid var(--hairline);grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:6px 12px;padding:10px 0;display:grid}.pub-table.dash-cards td{white-space:normal;text-align:left;overflow-wrap:anywhere;border:none;min-width:0;padding:0;display:block}.pub-table.dash-cards td:before{content:attr(data-label);color:var(--ink-muted);margin-bottom:2px;font-size:11px;display:block}.pub-table.dash-cards td.dash-wide{grid-column:1/-1}}.pub-table.dash-cards-always thead{display:none}.pub-table.dash-cards-always,.pub-table.dash-cards-always tbody{display:block}.pub-table.dash-cards-always tr{border-bottom:1px solid var(--hairline);grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:6px 12px;padding:10px 0;display:grid}.pub-table.dash-cards-always td{white-space:normal;text-align:left;overflow-wrap:anywhere;border:none;min-width:0;padding:0;display:block}.pub-table.dash-cards-always td:before{content:attr(data-label);color:var(--ink-muted);margin-bottom:2px;font-size:11px;display:block}.pub-table.dash-cards-always td.dash-wide{grid-column:1/-1}.dash-watch{flex-direction:column;gap:14px;min-width:0;display:flex}.dash-watch-title{color:var(--text-h);margin:0;font-size:18px}.dash-watch.dash-stale .theater-body{opacity:.6}.dash-watch-seats{flex-direction:column;gap:10px;margin:0;padding:0;list-style:none;display:flex}.dash-watch-seat{border-bottom:1px solid var(--hairline);flex-direction:column;gap:6px;min-width:0;padding-bottom:10px;display:flex}.dash-watch-seat:last-child{border-bottom:0;padding-bottom:0}.dash-watch-seat>button{align-self:flex-start}.dash-watch-seat-head{flex-wrap:wrap;align-items:center;gap:6px 8px;display:flex}.dash-out-seat .dash-watch-seat-head>strong,.dash-out-seat .dash-watch-seat-head>span:not(.pub-swatch){color:var(--ink-muted)}.dash-tag{border:1px solid var(--hairline-strong);color:var(--ink-secondary);white-space:nowrap;border-radius:4px;padding:1px 6px;font-size:11px}.dash-pfirst{white-space:nowrap;font-variant-numeric:tabular-nums;color:var(--text-h)}.dash-watch-log{flex-direction:column;gap:2px;max-height:420px;margin:0;padding:0;font-size:13px;list-style:none;display:flex;overflow-y:auto}.dash-watch-log li{border-left:3px solid #0000;border-radius:4px;grid-template-columns:auto minmax(0,1fr) auto;align-items:baseline;gap:6px;padding:3px 6px;display:grid}.dash-actor{color:var(--ink-muted);white-space:nowrap;font-size:11px}.dash-watch-log li.dash-log-cover{background:var(--surface-panel-raised);border-left-color:var(--accent-border)}.dash-log-cover .dash-actor{color:var(--text-h);font-weight:600}@media (width<=600px){.dash-watch-log li{grid-template-columns:auto minmax(0,1fr)}.dash-watch-log .dash-actor{grid-column:2}}.pub-table tr.me-you td{background:var(--surface-panel-raised);color:var(--text-h)}.pub-table tr.me-you td:first-child{box-shadow:inset 3px 0 0 var(--accent-border)}@media (width<=700px){.pub-table.dash-cards tr.me-you{background:var(--surface-panel-raised);box-shadow:inset 3px 0 0 var(--accent-border);padding-left:10px}.pub-table.dash-cards tr.me-you td{box-shadow:none;background:0 0}}.replay-wrap{flex-direction:column;gap:12px;min-width:0;display:flex}.replay{grid-template-columns:minmax(0,1fr) minmax(260px,340px);grid-template-areas:"controls controls""board rail""chart rail";align-items:start;gap:12px;min-width:0;display:grid}.replay-controls{grid-area:controls}.replay-board{grid-area:board;min-width:0}.replay-chart{grid-area:chart;min-width:0}.replay-rail{flex-direction:column;grid-area:rail;gap:12px;min-width:0;display:flex}.replay-rail .panel{margin:0}@media (width<=900px){.replay{grid-template-columns:minmax(0,1fr);grid-template-areas:"controls""board""chart""rail"}}.replay-loading .replay-board{opacity:.55}.replay-buttons{gap:6px 8px}.replay-speeds{gap:4px;display:inline-flex}.pub .replay-speeds button.active{background:var(--accent-bg);border-color:var(--accent-border);color:var(--text-h)}.replay-scrub{box-sizing:border-box;width:100%;accent-color:var(--accent-border);margin:4px 0}.pub-panel input.replay-scrub{min-height:44px;padding:0}.replay-pos{color:var(--ink-secondary);font-variant-numeric:tabular-nums;font-size:13px}.replay-round label{color:var(--ink-secondary);flex-direction:row;gap:6px;font-size:13px}.pub-panel .replay-round input{width:5.5em}.replay-decision p,.replay-hands li{overflow-wrap:anywhere;font-size:13px}.replay-lines{color:var(--ink-secondary);flex-direction:column;gap:4px;margin:0;padding:0;font-size:13px;list-style:none;display:flex}.replay-chart-box{min-width:0}.replay-chart-svg{cursor:crosshair;max-width:100%;display:block}.replay-chart-svg .pub-grid{stroke:var(--hairline);stroke-width:1px}.replay-chart-svg .pub-axisline{stroke:var(--hairline-strong);stroke-width:1px}.replay-chart-svg .pub-axis{fill:var(--ink-muted);font-size:11px;font-family:var(--font-ui)}.replay-chart-svg .pub-ref{stroke:var(--ink-muted);stroke-width:1px;stroke-dasharray:4 3}.replay-series{fill:none;stroke-width:1.75px;stroke-linejoin:round;stroke-linecap:round}.replay-cursor{stroke:var(--ink-primary);stroke-width:1.25px}.replay-decisive{stroke:var(--ink-secondary);stroke-width:1px;stroke-dasharray:2 3}.replay-key{color:var(--ink-secondary);flex-wrap:wrap;gap:4px 14px;margin:6px 0;padding:0;font-size:13px;list-style:none;display:flex}.replay-key strong{color:var(--text-h);font-weight:600}@media (width<=600px),(pointer:coarse){.replay-controls button{min-height:44px}.replay-speeds button{min-width:44px;padding:4px 8px}}.pub-hud-header{box-sizing:border-box;border-bottom:1px solid var(--hairline-strong);flex:none;align-items:center;gap:14px;height:56px;display:flex}.pub-wordmark{letter-spacing:.04em;color:var(--ink-primary);white-space:nowrap;font-size:24px;font-weight:800}.pub-round{border-left:1px solid var(--hairline-strong);letter-spacing:.06em;text-transform:uppercase;color:var(--ink-secondary);font-variant-numeric:tabular-nums;white-space:nowrap;padding-left:14px;font-size:14px}.pub-hud-notices{flex:auto;justify-content:center;gap:12px;min-width:0;font-size:13px;display:flex}.pub .pub-icon-btn{border-color:var(--hairline-strong);width:36px;height:36px;color:var(--ink-secondary);background:0 0;flex:none;justify-content:center;align-items:center;padding:0;display:inline-flex}.pub-icon-btn svg{fill:none;stroke:currentColor;stroke-width:1.6px;stroke-linecap:round;stroke-linejoin:round;width:20px;height:20px}.pub .pub-icon-btn[aria-pressed=true]{color:var(--ink-primary);background:var(--surface-panel-raised)}.pub-seat-chip{color:var(--ink-primary);white-space:nowrap;align-items:center;gap:8px;font-size:15px;display:inline-flex}.pub-seat-chip .pub-seat-badge{width:26px;height:26px}.pub .pub-signout{border-color:var(--hairline-strong);color:var(--ink-secondary);background:0 0}.pub-hud-toggles{color:var(--ink-primary);white-space:nowrap;flex:none;align-items:center;gap:12px;font-size:13px;display:inline-flex}.pub-hud-toggles label{align-items:center;gap:6px;display:inline-flex}.pub .pub-leave[aria-expanded=true]{color:var(--ink-primary);background:var(--surface-panel-raised)}.pub-leave-confirm{border:1px solid var(--hairline-strong);flex-wrap:wrap;align-items:center;gap:6px 14px;font-size:14px;display:flex}.pub-leave-confirm>span#pub-leave-body{color:var(--ink-secondary);flex:320px}.pub-leave-actions{gap:8px;display:inline-flex}@media (width<=1279px){.pub-hud-header{gap:10px}.pub-wordmark{font-size:20px}}.pub-game .pub-hud-body{grid-template-columns:minmax(0,1fr) 340px}@media (width>=1280px){.pub-game .pub-hud-body{grid-template-columns:minmax(0,1fr) clamp(400px,30vw,440px)}}.pub-game .pub-rail{gap:12px}.pub-game .pub-rail>.panel,.pub-game .pub-drawer{background:var(--surface-panel);border:1px solid var(--panel-stroke);border-radius:10px;margin:0;padding:12px 14px}.pub-game .pub-rail .panel>h3,.pub-drawer h3{color:var(--ink-primary);align-items:center;gap:8px;margin:0 0 8px;font-size:17px;font-weight:600;display:flex}.pub-hud-panel{font-variant-numeric:tabular-nums}.pub-action>.panel{background:0 0;border:0;margin:0;padding:0}.pub-action{flex-direction:column;gap:8px;display:flex}.pub-game .pub-rail .pub-action .panel>h3{margin:4px 0 6px;font-size:20px}.pub-action-errors{flex-direction:column;gap:4px;font-size:13px;display:flex}.pub-phase-steps{border-bottom:1px solid var(--hairline);color:var(--ink-secondary);gap:6px;margin:0;padding:0 0 10px;font-size:14px;list-style:none;display:flex}.pub-phase-steps li{flex:1 1 0;align-items:center;gap:8px;min-width:0;display:flex}.pub-phase-dot{border:1.5px solid var(--hairline-strong);box-sizing:border-box;border-radius:50%;flex:none;width:14px;height:14px}.pub-phase-steps li.current{color:var(--ink-primary);font-weight:600}.pub-phase-steps li.current .pub-phase-dot{background:var(--accent-border);border-color:var(--accent-border)}.pub-phase-single{align-items:center;gap:8px}.pub-phase-single[data-turn=defend]{color:var(--ink-primary);font-weight:600}.pub-phase-single[data-turn=defend] .pub-phase-dot{background:var(--accent-border);border-color:var(--accent-border)}.pub-seat-badge{vertical-align:middle;flex:none;width:22px;height:22px}.pub-hud-table{border-collapse:collapse;font-variant-numeric:tabular-nums;width:100%;font-size:14px}.pub-hud-table th{color:var(--ink-secondary);text-align:right;border-bottom:1px solid var(--hairline-strong);padding:0 6px 4px;font-size:13px;font-weight:600}.pub-hud-table td{text-align:right;border-bottom:1px solid var(--hairline);color:var(--ink-primary);white-space:nowrap;padding:5px 6px}.pub-hud-table .pub-col-badge{text-align:center;width:26px;padding-left:2px}.pub-hud-table .pub-col-name{text-align:left;text-overflow:ellipsis;max-width:9em;overflow:hidden}.pub-hud-table tr.you td{background:var(--surface-panel-raised);border-top:1px solid var(--hairline-strong);border-bottom:1px solid var(--hairline-strong);font-weight:700}.pub-hud-table tr.you td:first-child{border-left:1px solid var(--hairline-strong);border-radius:6px 0 0 6px}.pub-hud-table tr.you td:last-child{border-right:1px solid var(--hairline-strong);border-radius:0 6px 6px 0}.pub-hud-table tr.dead td{opacity:.45}.pub-hud-table tr.dead .pub-col-name{text-decoration:line-through}.pub-hud-panel .cont-flag{color:var(--ink-primary);margin-left:3px;font-size:11px}.pub-star-caption{text-align:right;color:var(--ink-secondary);margin:6px 0 0;font-size:12px}.pub-continents{flex-direction:column;gap:6px;display:flex}.pub-game .pub-rail .pub-continents>h3{margin:0}.pub-continent-table{border-collapse:collapse;width:100%;font-size:14px}.pub-continent-table th{text-align:left;color:var(--ink-secondary);border-bottom:1px solid var(--hairline-strong);padding:0 6px 4px;font-size:13px;font-weight:600}.pub-continent-table td{border-bottom:1px solid var(--hairline);color:var(--ink-primary);padding:4px 6px;line-height:1.35}.pub-continent-table th:nth-child(2),.pub-continent-table td:nth-child(2){text-align:right;font-variant-numeric:tabular-nums;padding-right:18px}.pub-owner,.pub-no-owner{white-space:nowrap;align-items:center;gap:8px;display:inline-flex}.pub-owner{color:var(--ink-primary)}.pub-no-owner{color:var(--ink-muted)}.pub-continents>.hint{color:var(--ink-secondary);font-size:12px}.pub-ca{color:var(--ink-primary);flex-direction:column;gap:8px;font-size:14px;display:flex}.pub-ca p{margin:0}.pub-ca .hint,.pub-ca-wait{color:var(--ink-secondary);font-size:13px}.pub-ca-headline{font-size:16px}.pub-ca-row{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.pub-ca-label{color:var(--ink-secondary);font-size:13px}.pub-ca-actions{flex-wrap:wrap;gap:8px;display:flex}.pub-ca-end{border-top:1px solid var(--hairline);padding-top:8px}.pub-ca-placing{font-size:14px}.pub .pub-deploy-amount .stepper button{min-width:40px;min-height:32px}.pub .pub-deploy-amount .stepper-value{min-width:36px}.pub .pub-seg{gap:0;display:inline-flex}.pub .pub-seg>button{background:var(--surface-panel-raised);border-color:var(--hairline-strong);border-radius:0;min-width:44px}.pub .pub-seg>button:first-child{border-radius:6px 0 0 6px}.pub .pub-seg>button:last-child{border-radius:0 6px 6px 0}.pub .pub-seg>button+button{margin-left:-1px}.pub .pub-seg>button[aria-pressed=true]{background:var(--accent-bg);border-color:var(--accent-border);font-weight:700}.pub .pub-seg.pub-seg-neutral>button{background:0 0}.pub .pub-seg.pub-seg-neutral>button[aria-pressed=true]{background:var(--surface-panel-raised);border-color:var(--ink-secondary);color:var(--ink-primary);position:relative}.pub-command .pub .pub-seg.pub-seg-neutral>button:hover:not(:disabled){background:var(--surface-panel-raised);border-color:var(--hairline-strong)}.pub-ca-odds strong,.pub-ca-value strong{font-size:16px}.pub-ca-targets{flex-direction:column;gap:2px;margin:0;padding:0;list-style:none;display:flex}.pub .pub-ca-targets button{text-align:left;justify-content:space-between;gap:8px;width:100%;padding:4px 6px;display:flex}.pub-ca-p{font-weight:700}.pub-ca-battle{background:var(--surface-panel-raised);border-radius:6px;flex-direction:column;gap:2px;padding:6px 8px;display:flex}.pub-ca-cards{grid-template-columns:repeat(auto-fill,minmax(112px,1fr));gap:8px;margin:0;padding:0;list-style:none;display:grid}.pub .pub-ca-card{text-align:left;background:var(--surface-panel-raised);border:1px solid var(--hairline-strong);border-radius:8px;flex-direction:column;align-items:flex-start;gap:2px;width:100%;padding:8px 10px;display:flex}.pub .pub-ca-card[aria-pressed=true]{background:var(--accent-bg);border-color:var(--accent-border)}.pub .pub-ca-card[data-picked]{opacity:1}.pub-ca-tag{color:var(--ink-secondary);font-size:12px}.pub-ca-clock strong{color:var(--ink-primary)}.pub-settings-pace{flex-direction:column;gap:6px;display:flex}@media (prefers-reduced-motion:reduce){.pub .thinking-dot{animation:none}}.pub-hud-cards{grid-template-columns:repeat(auto-fill,minmax(112px,1fr));gap:8px;margin:0;padding:0;list-style:none;display:grid}.pub-hud-card{background:var(--surface-panel-raised);border:1px solid var(--hairline-strong);border-radius:8px;grid-template-rows:auto auto auto;grid-template-columns:minmax(0,1fr) auto;column-gap:6px;padding:8px 10px;display:grid}.pub-card-design{color:var(--ink-primary);text-transform:capitalize;grid-column:1;font-weight:600}.pub-card-territory{color:var(--ink-secondary);text-overflow:ellipsis;white-space:nowrap;grid-column:1;font-size:13px;overflow:hidden}.pub-card-match{color:var(--ink-primary);background:var(--surface-halo);border:1px solid var(--hairline-strong);border-radius:6px;grid-area:1/2/span 3;align-self:center;padding:2px 7px;font-size:13px;font-weight:700}.pub-card-held{grid-column:1;font-size:12px}.pub-card-held[data-held=true]{color:var(--ink-primary);font-weight:700}.pub-card-held[data-held=false]{color:var(--ink-muted)}.pub-trade{color:var(--ink-secondary);margin:8px 0 0;font-size:12px}.pub-trade strong{color:var(--ink-primary)}.pub .pub-collapse{font:inherit;color:inherit;cursor:pointer;background:0 0;border:0;align-items:center;gap:6px;padding:0;display:inline-flex}.pub .pub-collapse:hover{background:0 0}.pub-collapse-mark{width:12px;color:var(--ink-secondary);font-size:12px}.pub-hud-panel[data-open=false]>h3{margin:0}.pub-activity{flex-direction:column;display:flex}.pub-activity-scroll{min-height:0;max-height:320px;overflow-y:auto}.pub-activity-list{margin:0;padding:0;font-size:14px;list-style:none}.pub-activity-item{border-bottom:1px solid var(--hairline);color:var(--ink-primary);grid-template-columns:28px minmax(0,1fr);align-items:center;gap:8px;padding:6px 0;display:grid}.pub-activity-badge{justify-content:center;display:flex}.pub-activity-text{flex-direction:column;min-width:0;display:flex}.pub-activity-title{overflow-wrap:anywhere}.pub-activity-detail{color:var(--ink-secondary);font-size:12px}.pub .pub-history-link{color:var(--ink-primary);background:0 0;border-color:#0000;justify-content:space-between;align-self:stretch;margin:8px 0 0;padding:6px 2px;display:flex}.pub .pub-history-link:hover{border-color:var(--hairline-strong)}.pub-drawer{flex-direction:column;min-width:0;min-height:0;display:flex}.pub-drawer-head{justify-content:space-between;align-items:center;gap:8px;display:flex}.pub-drawer-head h3{margin:0}.pub-drawer-body{flex-direction:column;gap:8px;min-height:0;padding-top:8px;display:flex;overflow-y:auto}.pub-help p{color:var(--ink-secondary);margin:0 0 10px;font-size:14px;line-height:1.45}.pub-help strong{color:var(--ink-primary)}.pub-settings,.pub-settings-toggles{flex-direction:column;gap:10px;display:flex}.pub-settings-toggles label{color:var(--ink-primary);align-items:center;gap:8px;font-size:14px;display:flex}.pub-settings-room{color:var(--ink-secondary);font-size:13px}@supports (width:1cqw){@media (width>=900px) and (height>=520px){.pub-game .pub-drawer{align-self:stretch}.pub-game .pub-rail>.pub-activity[data-open=true]{flex:1 1 0;min-height:200px}.pub-game .pub-rail>.pub-activity[data-open=true] .pub-activity-scroll{flex:1 1 0;max-height:none}}}.phone-tabpanel .pub-hud-panel{background:0 0;border:0;margin:0;padding:0}.phone-tabpanel .pub-hud-panel>h3{margin:0 0 6px;font-size:15px}.pub-board-table{flex:auto;min-width:0;padding:8px 12px;overflow:auto}.pub-board-table table{border-collapse:collapse;width:100%;font-size:13px}.pub-board-table caption{text-align:left;padding:4px 0 8px}.pub-board-table th,.pub-board-table td{text-align:left;vertical-align:top;border-bottom:1px solid var(--hairline);padding:4px 8px}.pub-board-table thead th{background:var(--surface-panel);position:sticky;top:0}.pub-board-table td .pub-seat-badge{vertical-align:-3px;width:16px;height:16px;margin-right:6px}.pub-board-table .pub-num{font-variant-numeric:tabular-nums;text-align:right}.pub-board-table tr[data-mark] th,.pub-board-table tr[data-mark] td:nth-child(5){color:var(--ink-primary);font-weight:600}.pub-board-table .pub-table-neighbours{color:var(--ink-secondary)}.pub-board-table .pub-table-pick{font-weight:inherit;padding:0 4px}.risk-root.pub-command{--surface-page:#000f20;--surface-panel:#001528;--surface-panel-raised:#042239;--surface-map:#011a2e;--surface-halo:#05273f;--surface-land:#0b263b;--ink-muted:#778a9c;--hairline:#78beff1a;--hairline-strong:#78beff2b;--panel-stroke:#78beff1a;--seat-0:#d30e01;--seat-1:#199bf3;--seat-2:#007c59;--seat-3:#bb8d0a;--seat-4:#7b40d8;--seat-5:#e84ebc;--accent:#00d8ff;--accent-bg:#00d8ff24;--accent-border:#00d8ff8c;--accent-bg-hover:#00d8ff38;--select:#00d8ff;--select-target:#00d8ff}html:has(.pub-command){background:#000f20}html:has(.pub-command) body{background:#000f20}.pub-command [data-layer=interaction] path[data-hit][data-selected]{vector-effect:non-scaling-stroke;stroke-width:2.5px}.pub-command [data-layer=interaction] path[data-hit][data-highlight]:not([data-selected]){vector-effect:non-scaling-stroke;stroke-width:1.5px;stroke-dasharray:none}.pub-command [data-layer=interaction] [data-route] path{vector-effect:non-scaling-stroke;stroke-width:2px;stroke-dasharray:6 4}.pub-command [data-layer=interaction] path[data-hit]:focus{outline:none}.pub-command [data-layer=interaction] path[data-hit]:not([data-selected]):not([data-highlight]):focus-visible{stroke:var(--ink-primary);vector-effect:non-scaling-stroke;stroke-width:2px;stroke-dasharray:2 2}.pub-command [data-layer=interaction] path[data-hit]:is([data-selected],[data-highlight]):focus-visible{outline:2px dotted var(--ink-primary);outline-offset:3px}.pub-command .pub button:not(.ghost):not(:disabled){color:var(--ink-primary)}.pub-command .pub button:not(.ghost):hover:not(:disabled){background:var(--accent-bg-hover)}.pub-command :is(button,a,input,select,textarea,[tabindex]):focus-visible{outline:2px solid var(--accent);outline-offset:2px}
