:root{color:#17313a;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--rush-water:#7cadb5;--rush-water-deep:#4d8292;--rush-land:#cdd0aa;--rush-land-edge:#b9a77b;--rush-player-teal:#569789;--rush-player-terracotta:#bd8066;--rush-player-indigo:#8795b6;--rush-player-ochre:#c0a36a;--rush-action-bg:#1c736f;--rush-shore-top:#c8b48b;--rush-shore-side:#a17c57;--rush-shore-dark:#765c47;--rush-shore-waterline:#c1ddd5;--rush-neutral:#958f84;--rush-glyph:#17313a;--rush-glyph-muted:#51666d;--rush-surface:#f7f3e9;--rush-surface-raised:#fffdf7;--rush-border:#b8c7c2;--rush-selection:#174f62;--rush-danger:#a2453a;--rush-shadow:#17313a38;--rush-water-glow:#f7f3e961;--rush-board-ink:#14253d;--rush-board-ink-halo:#f4f0dc;--rush-grid:#273d2e45;--rush-focus:#174f62;background:#dce9ea;font-family:Inter,ui-sans-serif,system-ui,sans-serif}:root[data-theme=dark]{color:#f6f0df;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--rush-water:#12354f;--rush-water-deep:#0c263f;--rush-land:#6e8b7b;--rush-land-edge:#99af95;--rush-player-teal:#4d9b90;--rush-player-terracotta:#bd796b;--rush-player-indigo:#8797bd;--rush-player-ochre:#b8a06b;--rush-action-bg:#72b2a5;--rush-shore-top:#9c9976;--rush-shore-side:#596d66;--rush-shore-dark:#384f52;--rush-shore-waterline:#6eaaa8;--rush-neutral:#a9a69d;--rush-glyph:#f6f0df;--rush-glyph-muted:#c7d5d8;--rush-surface:#18334b;--rush-surface-raised:#23445b;--rush-border:#5e7c8a;--rush-selection:#d8eee5;--rush-danger:#ffab91;--rush-shadow:#000d1973;--rush-water-glow:#83b3c926;--rush-action-glyph:#102a43;--rush-board-ink:#14253d;--rush-board-ink-halo:#f4f0dc;--rush-grid:#162d2d52;--rush-focus:#14253d;background:#102a43}*{box-sizing:border-box}html,body,#app{overscroll-behavior:none;width:100%;height:100%;margin:0;overflow:hidden}#app{flex-direction:column;display:flex}#app>div:has(>.game-shell){flex:auto;min-height:0;display:flex}#app>div:has(>.game-shell) .game-shell{flex:auto;width:100%;min-width:0;height:100%;min-height:0;max-height:100%}body{background:radial-gradient(circle at 18% 12%, var(--rush-water-glow), transparent 33rem), linear-gradient(145deg, var(--rush-water), var(--rush-water-deep));min-width:320px;color:var(--rush-glyph)}button,input,select{font:inherit}button,select{border:1px solid var(--rush-border);border-radius:.6rem;min-height:44px}button{background:var(--rush-surface-raised);color:var(--rush-glyph);box-shadow:0 .1rem .3rem var(--rush-shadow);padding:.55rem .8rem;font-weight:650}button:disabled{cursor:wait;opacity:.58}button:focus-visible,select:focus-visible,[role=switch]:focus-visible{outline:3px solid var(--rush-selection);outline-offset:2px}label{margin:.75rem 0;display:block}.visually-hidden{clip:rect(0 0 0 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.diagnostic-label{color:#312810;background:#fff2bf;margin:0;padding:.5rem 1rem}.startup-status:not([hidden]){width:min(28rem,100% - 2rem);margin:max(2rem, env(safe-area-inset-top)) auto;border:1px solid var(--rush-border);background:var(--rush-surface);box-shadow:0 .35rem 1.2rem var(--rush-shadow);border-radius:1rem;gap:1rem;padding:1.25rem;line-height:1.45;display:grid}.startup-status p{margin:0}.game-shell{background:radial-gradient(circle at 84% 18%, var(--rush-water-glow), transparent 28rem), linear-gradient(145deg, var(--rush-water), var(--rush-water-deep));grid-template:auto 1fr/minmax(0,1fr) minmax(17rem,23rem);height:100dvh;min-height:100dvh;max-height:100dvh;display:grid;position:relative;overflow:hidden}[data-rush-native-input-guard],[data-rush-native-input-guard] *{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent;-webkit-user-drag:none}[data-rush-native-input-guard] input,[data-rush-native-input-guard] textarea,[data-rush-native-input-guard] [contenteditable]:not([contenteditable=false]),[data-rush-native-input-guard] [contenteditable]:not([contenteditable=false]) *{-webkit-user-select:text;user-select:text;-webkit-touch-callout:default}.game-header{z-index:3;touch-action:none;min-width:0;padding:.65rem max(1rem, env(safe-area-inset-right)) .65rem max(1rem, env(safe-area-inset-left));background:color-mix(in srgb, var(--rush-surface) 92%, transparent);border-bottom:1px solid var(--rush-border);box-shadow:0 .18rem .5rem var(--rush-shadow);grid-column:1/-1;align-items:center;gap:.5rem;display:flex}.game-shell[data-status=match]{grid-template-rows:auto minmax(0,1fr);height:100dvh;min-height:0;overflow:hidden}.game-shell[data-status=match] .board-host{min-height:0}.game-shell[data-status=match] .game-sidebar{min-height:0;overflow-y:auto}.game-header h1,.game-header p,.game-sidebar h2,.game-sidebar p,.game-context-card p,.game-exit-dialog p{margin:0}.game-header h1{letter-spacing:.04em;margin-right:auto;font-size:1.2rem}.game-header-title{letter-spacing:.04em;margin-right:auto;font-size:1.15rem}.board-host{background-color:var(--rush-water);background-blend-mode:soft-light;-webkit-tap-highlight-color:transparent;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;background-image:url(/assets/water-texture-BMDcXt4O.webp);background-repeat:repeat;background-size:256px 256px;min-width:0;min-height:22rem;overflow:hidden}[data-rush-camera-surface]{touch-action:none;overscroll-behavior:contain}[data-rush-board],[data-rush-board] *{-webkit-user-drag:none;-webkit-user-select:none;user-select:none}.game-sidebar{background:var(--rush-surface);border-left:1px solid var(--rush-border);flex-direction:column;gap:.75rem;padding:1rem;display:flex}.game-shell:not([data-status=match]) .game-sidebar{width:min(36rem,100% - 2rem);max-height:calc(100dvh - 6rem - max(var(--rush-inset-top,0px), env(safe-area-inset-top,0px)));overscroll-behavior:contain;border:1px solid var(--rush-border);background:color-mix(in srgb, var(--rush-surface) 94%, transparent);box-shadow:0 1rem 3rem var(--rush-shadow);border-radius:1.1rem;grid-column:1/-1;place-self:center;padding:clamp(1.25rem,4vw,2.5rem);overflow:auto}.game-selected-map{width:100%;min-height:48px;color:var(--rush-glyph);text-align:left;text-overflow:ellipsis;white-space:nowrap;grid-template-columns:2.5rem minmax(0,1fr) auto;align-items:center;gap:.5rem;display:grid;overflow:hidden}.game-selected-map-chevron{font-size:1.4rem;line-height:1}.game-selected-map .game-map-preview{width:2.35rem;height:2.35rem}.game-selected-map-label{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.game-map-selection{gap:.5rem;display:grid}.game-map-selection h2{margin:0;font-size:1rem}.game-map-quick-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:.35rem;display:grid}.game-map-quick-card{min-width:0;min-height:5.6rem;box-shadow:none;grid-template-rows:minmax(0,1fr) auto auto;place-items:center;gap:.05rem;padding:.25rem;display:grid}.game-map-quick-card .game-map-preview{width:min(100%,5.25rem);height:3.25rem}.game-map-quick-name,.game-map-quick-count{text-overflow:ellipsis;white-space:nowrap;max-width:100%;overflow:hidden}.game-map-quick-name{font-size:.72rem}.game-map-quick-count{color:var(--rush-glyph-muted);font-size:.62rem}.game-map-quick-card.is-selected{border-color:var(--rush-action-bg);box-shadow:inset 0 0 0 2px color-mix(in srgb, var(--rush-action-bg) 45%, transparent)}.game-map-show-all{min-height:44px;color:var(--rush-glyph-muted);box-shadow:none;justify-self:start;padding-inline:.65rem;font-size:.86rem}.game-home-title{color:var(--rush-player-teal);letter-spacing:.03em;margin:0;font-size:clamp(2.35rem,8vw,4.25rem);line-height:.95}.game-home-hero{justify-content:space-between;align-items:center;gap:.75rem;display:flex}.game-home-words{min-width:0}.game-home-lead{max-width:30rem;color:var(--rush-glyph-muted);margin:-.15rem 0 .65rem;font-size:1.03rem;line-height:1.45}.game-home-scene{background:radial-gradient(circle at 50% 55%, var(--rush-land) 0 34%, transparent 35%), linear-gradient(145deg, var(--rush-water), var(--rush-water-deep));border:1px solid var(--rush-border);width:7rem;height:4.8rem;box-shadow:inset 0 -.35rem .8rem var(--rush-shadow);border-radius:1rem;flex:0 0 7rem;position:relative;overflow:hidden}.game-home-scene span{filter:drop-shadow(0 .15rem .12rem #17313a4d);background:50%/contain no-repeat;width:3.2rem;height:3.2rem;display:block;position:absolute}.game-home-scene-pine{top:.2rem;left:.2rem}.game-home-scene-capital{bottom:-.3rem;right:.1rem}.game-home-scene-unit{bottom:-.15rem;right:1.7rem}.game-create-form{gap:.9rem;display:grid}.game-create-submit{min-height:48px;color:var(--rush-action-glyph,#fffdf7);background:var(--rush-action-bg);border-color:var(--rush-action-bg);font-size:1rem}.game-home-actions{grid-template-columns:minmax(0,1fr) 48px;align-items:stretch;gap:.5rem;display:grid;position:relative}.game-home-actions .game-help{border:0;width:48px;margin:0}.game-home-actions .game-help summary{background:var(--rush-surface-raised);border:1px solid var(--rush-border);width:48px;min-height:48px;box-shadow:0 .2rem .75rem var(--rush-shadow);border-radius:.6rem;place-items:center;padding:0;display:grid}.game-home-actions .game-help[open] .game-help-content{z-index:6;background:var(--rush-surface-raised);border:1px solid var(--rush-border);width:min(28rem,100vw - 1.5rem);max-height:min(24rem,48dvh);box-shadow:0 .4rem 1.2rem var(--rush-shadow);border-radius:.75rem;padding:.75rem;position:absolute;bottom:calc(100% + .55rem);right:0;overflow:auto}.game-segmented-choice{border:0;gap:.4rem;min-width:0;margin:0;padding:0;display:grid}.game-segmented-choice legend{padding:0;font-weight:700}.game-segmented-controls{grid-template-columns:repeat(3,minmax(0,1fr));gap:.35rem;display:grid}.game-segmented-option{min-width:0;min-height:44px;box-shadow:none;padding-inline:.45rem;font-size:.9rem}.game-segmented-option.is-selected{color:var(--rush-action-glyph,#fffdf7);background:var(--rush-action-bg);border-color:var(--rush-action-bg)}.game-map-picker{background:color-mix(in srgb, var(--rush-surface-raised) 88%, transparent);border:1px solid var(--rush-border);border-radius:.8rem;gap:.45rem;min-width:0;padding:.8rem;display:grid}.game-map-picker-dialog{z-index:10;background:var(--rush-surface-raised);border:1px solid var(--rush-border);width:min(34rem,100vw - 1.5rem);max-height:min(42rem,100dvh - 1.5rem);box-shadow:0 .75rem 2rem var(--rush-shadow);border-radius:.85rem;grid-template-rows:auto minmax(0,1fr) auto;gap:.65rem;padding:.8rem;display:grid;position:fixed;inset:50% auto auto 50%;overflow:hidden;transform:translate(-50%,-50%)}.game-map-picker-dialog h2{margin:0;font-size:1.05rem}.game-map-picker-dialog .game-map-picker{background:0 0;border:0;grid-template-rows:auto auto minmax(0,1fr) auto;min-height:0;padding:0;overflow:hidden}.game-map-picker-dialog .game-map-grid{overscroll-behavior:contain;min-height:0;max-height:none;padding:.4rem;overflow-y:auto}.game-map-picker-close{min-height:44px;color:var(--rush-action-glyph,#fffdf7);background:var(--rush-action-bg);border-color:var(--rush-action-bg)}.game-map-picker h3,.game-map-selected-info{margin:0}.game-map-picker h3{font-size:1rem}.game-map-size-filter{grid-template-columns:repeat(3,minmax(0,1fr));gap:.3rem;display:grid}.game-map-size-option{min-width:0;min-height:44px;box-shadow:none;padding-inline:.25rem;font-size:.72rem}.game-map-size-option.is-selected,.game-map-card.is-selected{border-color:var(--rush-action-bg);box-shadow:inset 0 0 0 2px color-mix(in srgb, var(--rush-action-bg) 45%, transparent)}.game-map-picker-dialog .game-map-size-option:focus-visible{outline-offset:-3px}.game-map-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.35rem;display:grid}.game-map-card{text-align:left;min-width:0;min-height:70px;box-shadow:none;grid-template-rows:auto auto;grid-template-columns:2.4rem minmax(0,1fr);align-items:center;column-gap:.4rem;padding:.3rem .4rem;display:grid}.game-map-card[hidden]{display:none}.game-map-preview{width:100%;height:3rem;display:block;overflow:visible}.game-map-card .game-map-preview{grid-row:1/3;width:2.4rem;height:2.4rem}.game-map-preview circle{fill:var(--rush-land);stroke:var(--rush-land-edge);stroke-width:.13px}.game-map-card-label{max-width:100%;color:var(--rush-glyph-muted);font-variant-numeric:tabular-nums;text-overflow:ellipsis;white-space:nowrap;grid-column:2;font-size:.68rem;overflow:hidden}.game-map-card.is-locked .game-map-preview{opacity:.42;filter:brightness(.82)}.game-map-card.is-locked{background:color-mix(in srgb, var(--rush-surface-raised) 86%, var(--rush-glyph) 14%)}.game-map-card.is-locked .game-map-card-label{color:var(--rush-glyph)}.game-map-lock{max-width:100%;color:var(--rush-glyph);text-align:left;grid-column:2;align-items:center;gap:.2rem;font-size:.58rem;display:flex}.game-map-lock svg{flex:none;width:.8rem;height:.8rem}.game-full-access-entry{align-self:start;min-height:44px;margin-top:.6rem}.game-map-selected-info{min-height:1.4em;color:var(--rush-glyph-muted);font-size:.78rem;line-height:1.35}.game-sidebar small,.game-sidebar strong,.game-context-card strong{display:block}.game-message{color:var(--rush-danger)}.game-overlay{display:contents}.game-recovery-actions{z-index:6;left:50%;bottom:max(calc(var(--rush-inset-bottom,0px) + 5.5rem), calc(env(safe-area-inset-bottom) + 5.5rem));pointer-events:auto;flex-direction:column;justify-content:center;align-items:center;gap:.5rem;max-width:calc(100vw - 2rem);display:flex;position:fixed;transform:translate(-50%)}.game-recovery-status{background:var(--rush-surface-raised);color:var(--rush-glyph);text-align:center;border-radius:.7rem;margin:0;padding:.65rem .9rem;box-shadow:0 .3rem 1rem #0003}.game-result-panel{text-align:center;background:color-mix(in srgb, var(--rush-surface-raised) 94%, transparent);border:1px solid var(--rush-border);box-shadow:0 .35rem 1rem var(--rush-shadow);border-radius:.9rem;gap:.8rem;padding:1rem;display:grid}.game-result-overlay{display:none}.game-result-panel h2{margin:0}.game-result-laurel{color:#b78929;letter-spacing:.18em;text-shadow:0 .1rem .2rem var(--rush-shadow);margin:0;font-size:1.55rem}.game-result-stats{font-variant-numeric:tabular-nums;text-align:left;grid-template-columns:minmax(0,1fr) auto;gap:.4rem .75rem;margin:0;display:grid}.game-result-stats dt{color:var(--rush-glyph-muted)}.game-result-stats dd{text-align:right;margin:0;font-weight:750}.game-result-note{color:var(--rush-glyph-muted);grid-column:1/-1;margin:-.15rem 0 .15rem;font-size:.75rem;line-height:1.35}.game-result-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem;display:grid}.game-help{color:var(--rush-glyph-muted);border-top:1px solid var(--rush-border);margin-top:.45rem}.game-help summary{min-height:44px;color:var(--rush-glyph);cursor:pointer;padding:.65rem 0 .4rem;font-weight:700}.game-help-content{gap:.45rem;padding:.15rem 0 .7rem;font-size:.9rem;line-height:1.4;display:grid}.game-help-content p{margin:0}.game-help-compact{margin:0;font-size:.87rem}.game-help-floating{display:none}.game-context-card{border:1px solid var(--rush-border);background:var(--rush-surface-raised);box-shadow:0 .2rem .75rem var(--rush-shadow);border-radius:.75rem;gap:.5rem;padding:.75rem;display:grid}.game-action-row{flex-wrap:wrap;gap:.45rem;display:flex}.game-action-row button{flex:9rem}.game-context-overlay{display:none}.game-purchase-panel{width:100%;color:var(--rush-glyph);background:color-mix(in srgb, var(--rush-surface-raised) 94%, transparent);border:1px solid var(--rush-border);box-shadow:0 .2rem .75rem var(--rush-shadow);border-radius:.75rem;gap:.45rem;padding:.65rem;display:grid}.game-purchase-economy{color:var(--rush-glyph-muted);font-variant-numeric:tabular-nums;gap:.1rem;font-size:.8rem;line-height:1.3;display:grid}.game-purchase-panel[data-preview] .game-purchase-economy{color:var(--rush-glyph)}.game-economy-line{justify-content:space-between;align-items:baseline;gap:.45rem;min-width:0;display:flex}.game-economy-treasury,.game-economy-projection,.game-purchase-label{white-space:nowrap;align-items:center;gap:.22rem;display:inline-flex}.game-economy-treasury{color:var(--rush-glyph);font-size:1.05rem;font-weight:750}.game-economy-income{white-space:nowrap}.game-economy-net{white-space:nowrap;display:none}.game-economy-forecast{flex-wrap:wrap;row-gap:.1rem;font-size:.74rem}.game-economy-upkeep{white-space:nowrap}.game-economy-projection{color:var(--rush-glyph);flex:none;font-weight:650}.game-economy-estimate{color:var(--rush-glyph-muted);font-size:.65rem;font-weight:500}.game-coin{border:.13em solid color-mix(in srgb, #9a6f19 78%, var(--rush-glyph));background:#efc55b;border-radius:50%;flex:none;width:.72em;height:.72em;display:inline-block;box-shadow:inset 0 0 0 .12em #ffe69a}.game-purchase-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:.4rem;display:grid}.game-purchase-source{text-align:left;touch-action:none;cursor:grab;grid-template-columns:1.85rem minmax(0,1fr);align-items:center;gap:.2rem;min-width:0;min-height:44px;padding:.3rem .4rem;display:grid}.game-purchase-source:active{cursor:grabbing}.game-purchase-source[aria-pressed=true]{border-color:var(--rush-selection);box-shadow:0 0 0 2px color-mix(in srgb, var(--rush-selection) 44%, transparent)}.game-purchase-source:disabled{cursor:default}.game-purchase-sprite{filter:drop-shadow(0 .1rem .1rem #17313a33);background:50%/contain no-repeat;width:2rem;height:2rem;display:block}.game-purchase-source[data-purchase=unit] .game-purchase-sprite{background-image:url(/assets/unit-1-c3GaCUbZ.webp)}.game-purchase-source[data-purchase=fort] .game-purchase-sprite{background-image:url(/assets/fort-BkP1ctQo.webp)}.game-purchase-label{font-variant-numeric:tabular-nums;min-width:0;font-size:.9rem;line-height:1.12}.game-purchase-ghost{z-index:8;pointer-events:none;opacity:.88;place-items:center;width:3rem;height:3rem;margin:-2.4rem 0 0 -1.5rem;display:grid;position:fixed;top:0;left:0}.game-purchase-ghost .game-purchase-sprite{width:3rem;height:3rem}.game-exit{min-width:44px;padding-inline:.75rem}.game-turn-line{color:var(--rush-glyph-muted);font-size:.95rem;font-weight:650}.game-end-turn{z-index:4;bottom:max(1.25rem, calc(var(--rush-inset-bottom,0px) + 1.25rem), calc(env(safe-area-inset-bottom) + 1.25rem));right:max(1.25rem, calc(var(--rush-inset-right,0px) + 1.25rem), calc(env(safe-area-inset-right) + 1.25rem));background:var(--rush-action-bg);border-color:var(--rush-action-bg);color:var(--rush-action-glyph,#fffdf7);white-space:nowrap;place-items:center;min-width:10.8rem;display:inline-grid;position:fixed}.game-end-turn-wait{align-items:center;gap:.45rem;display:inline-flex}.game-theme-control,.game-settings-control{background:var(--rush-surface-raised);width:44px;min-width:44px;min-height:44px;color:var(--rush-glyph);place-items:center;padding:.2rem;display:grid}.game-ai-spinner{border:2px solid var(--rush-border);border-top-color:var(--rush-player-teal);border-radius:50%;width:.75rem;height:.75rem;animation:.85s linear infinite rush-spin}@keyframes rush-spin{to{transform:rotate(1turn)}}.game-exit-dialog{z-index:10;background:var(--rush-surface-raised);border:1px solid var(--rush-border);width:min(24rem,100vw - 2rem);box-shadow:0 .75rem 2rem var(--rush-shadow);border-radius:.85rem;gap:.75rem;padding:1rem;display:grid;position:fixed;inset:50% auto auto 50%;transform:translate(-50%,-50%)}.game-settings-dialog{--settings-inset-top:max(var(--rush-inset-top,0px), env(safe-area-inset-top,0px));--settings-inset-bottom:max(var(--rush-inset-bottom,0px), env(safe-area-inset-bottom,0px));z-index:10;inset:50% auto auto 50%;top:calc((100dvh + var(--settings-inset-top) - var(--settings-inset-bottom)) / 2);width:min(24rem,100vw - 2rem);max-height:calc(100dvh - 2rem - var(--settings-inset-top) - var(--settings-inset-bottom));overscroll-behavior:contain;background:var(--rush-surface-raised);border:1px solid var(--rush-border);box-shadow:0 .75rem 2rem var(--rush-shadow);border-radius:.85rem;gap:.75rem;padding:1rem;display:grid;position:fixed;overflow-y:auto;transform:translate(-50%,-50%)}.game-settings-dialog:has(>.game-settings-content){flex-direction:column;display:flex}.game-settings-dialog>h2,.game-settings-footer{flex-shrink:0}.game-settings-content{overscroll-behavior:contain;gap:.65rem;min-height:0;display:grid;overflow-y:auto}.game-settings-footer{gap:.4rem;display:grid}.game-settings-footer>.game-telemetry-actions{margin-top:0;display:flex}.game-settings-footer>.game-telemetry-actions>button{flex:auto;min-width:min-content;padding-inline:.5rem}@media (height<=540px){.game-settings-dialog{gap:.5rem;padding:.75rem}.game-settings-dialog h2{font-size:1.25rem}.game-settings-content{gap:.4rem}.game-settings-footer{gap:.25rem}.game-settings-footer>.game-settings-privacy{padding:.15rem 0}}.game-full-access-dialog{z-index:10;overscroll-behavior:contain;background:var(--rush-surface-raised);border:1px solid var(--rush-border);width:min(27rem,100vw - 1.5rem);max-height:calc(100dvh - 1.5rem);box-shadow:0 .75rem 2rem var(--rush-shadow);border-radius:.85rem;gap:.75rem;padding:1rem;display:grid;position:fixed;inset:50% auto auto 50%;overflow-y:auto;transform:translate(-50%,-50%)}.game-full-access-dialog h2,.game-full-access-dialog p{margin:0}.game-full-access-dialog ul{gap:.4rem;margin:0;padding-left:1.35rem;display:grid}.game-full-access-actions{gap:.45rem;display:grid}.game-full-access-buy{min-height:48px;color:var(--rush-action-glyph,#fffdf7);background:var(--rush-action-bg);border-color:var(--rush-action-bg)}.game-full-access-close{min-height:44px}.game-settings-dialog h2,.game-settings-dialog p{margin:0}.game-settings-lead{color:var(--rush-glyph-muted);line-height:1.4}.game-sound-hint{color:var(--rush-glyph-muted);font-size:.8rem;line-height:1.35;margin-top:-.35rem!important}.game-setting-row{border-top:1px solid var(--rush-border);justify-content:space-between;align-items:center;gap:.75rem;min-height:44px;padding-top:.2rem;display:flex}.game-setting-switch{min-width:5.25rem}.game-settings-close{background:var(--rush-action-bg);border-color:var(--rush-action-bg);color:var(--rush-action-glyph,#fffdf7)}.game-modal-backdrop{z-index:9;background:#04141e73;position:fixed;inset:0}@media (width<=720px){.game-shell:not([data-status=match]){flex-direction:column;min-width:0;height:100dvh;min-height:0;max-height:100dvh;display:flex}.game-shell:not([data-status=match]) .game-header{flex:none;position:static}.game-shell:not([data-status=match]) .game-sidebar{width:100%;min-height:0;max-height:none;padding:.75rem .75rem calc(1rem + env(safe-area-inset-bottom));box-shadow:none;overscroll-behavior:contain;border:0;border-radius:0;flex:auto;overflow-y:auto}.game-shell:not([data-status=match]) .game-sidebar input,.game-shell:not([data-status=match]) .game-sidebar select{width:100%}.game-map-picker-dialog{width:calc(100vw - 1rem);max-height:calc(100dvh - 1rem)}.game-map-picker-dialog .game-map-grid{max-height:45dvh}@media (height<=600px){.game-shell:not([data-status=match]) .game-sidebar{gap:.5rem;padding-top:.5rem}.game-create-form{gap:.55rem}.game-map-selection{gap:.35rem}.game-map-selection h2{display:none}.game-map-quick-card{min-height:4.35rem}.game-map-quick-card .game-map-preview{height:2.15rem}}.game-shell[data-status=match]{height:100dvh;min-height:0;display:block;overflow:hidden}.game-shell[data-status=match] .board-host{min-height:0;position:absolute;inset:0}.game-shell[data-status=match] .game-sidebar{display:contents}.game-shell[data-status=match] .game-sidebar>:not(.game-purchase-panel){display:none}.game-shell[data-status=match] .game-header{top:max(var(--rush-inset-top,0px), env(safe-area-inset-top));right:max(var(--rush-inset-right,0px), env(safe-area-inset-right));left:max(var(--rush-inset-left,0px), env(safe-area-inset-left));border:0;border-radius:0 0 .7rem .7rem;padding:.35rem;position:absolute}.game-shell[data-status=match] .game-header h1{display:none}.game-turn-line{text-overflow:ellipsis;white-space:nowrap;flex:auto;min-width:0;max-width:none;font-size:.9rem;overflow:hidden}.game-theme-control{width:44px;min-width:44px;margin-left:auto}.game-end-turn{white-space:nowrap;padding-inline:.6rem;font-size:.85rem;position:fixed}.game-overlay{z-index:2;pointer-events:none;display:block;position:absolute;inset:0}.game-overlay.has-recovery-action{z-index:5}.game-overlay:has(.game-help-floating[open]){z-index:5}.game-overlay>*{pointer-events:auto}.game-help-floating{z-index:3;left:max(1.25rem, calc(var(--rush-inset-left,0px) + 1.25rem), calc(env(safe-area-inset-left) + 1.25rem));bottom:max(1.25rem, calc(var(--rush-inset-bottom,0px) + 1.25rem), calc(env(safe-area-inset-bottom) + 1.25rem));border:0;margin:0;display:block;position:fixed}.game-help-floating summary{background:var(--rush-surface-raised);border:1px solid var(--rush-border);width:44px;min-height:44px;box-shadow:0 .2rem .75rem var(--rush-shadow);border-radius:50%;place-items:center;padding:0;display:grid}.game-help-floating[open] .game-help-content{background:var(--rush-surface-raised);border:1px solid var(--rush-border);width:min(17.5rem,100vw - 2.5rem);max-height:35dvh;box-shadow:0 .4rem 1.2rem var(--rush-shadow);border-radius:.75rem;padding:.75rem;position:absolute;bottom:calc(100% + .55rem);left:0;overflow:auto}.game-context-overlay{top:max(5rem, calc(max(var(--rush-inset-top,0px), env(safe-area-inset-top)) + 3.75rem));right:max(1.25rem, calc(var(--rush-inset-right,0px) + 1.25rem), calc(env(safe-area-inset-right) + 1.25rem));width:min(15.5rem,100% - 2.5rem);padding:.65rem;font-size:.82rem;display:grid;position:absolute}.game-context-overlay .game-action-row{flex-wrap:nowrap}.game-context-overlay .game-action-row button{flex:1 1 0;min-width:0;padding-inline:.35rem;font-size:.76rem}.game-purchase-panel{z-index:3;top:max(5rem, calc(max(var(--rush-inset-top,0px), env(safe-area-inset-top)) + 3.75rem));right:max(1.25rem, calc(var(--rush-inset-right,0px) + 1.25rem), calc(env(safe-area-inset-right) + 1.25rem));width:min(15.5rem,100vw - 2.5rem);max-height:calc(100dvh - max(5rem, calc(max(var(--rush-inset-top,0px), env(safe-area-inset-top)) + 3.75rem)) - .75rem);overscroll-behavior:contain;position:fixed;overflow-y:auto}.game-shell[data-status=match] .game-purchase-row{min-width:0}.game-shell[data-status=match] .game-purchase-source{text-align:center;grid-template-rows:2rem auto;grid-template-columns:minmax(0,1fr);align-content:center;justify-items:center;gap:.1rem;min-width:3.5rem;min-height:4.4rem;padding:.25rem}.game-shell[data-status=match] .game-purchase-label{justify-content:center;font-size:.9rem;line-height:1.15}.game-shell[data-status=match] .game-economy-current{flex-wrap:wrap;justify-content:flex-start;column-gap:.5rem}.game-shell[data-status=match] .game-economy-upkeep{white-space:normal;overflow-wrap:anywhere;flex:5rem;min-width:0}.game-shell[data-status=match] .game-purchase-panel[data-compact]{top:auto;right:max(.5rem, calc(var(--rush-inset-right,0px) + .5rem), calc(env(safe-area-inset-right) + .5rem));bottom:calc(max(var(--rush-inset-bottom,0px), env(safe-area-inset-bottom)) + 1.25rem + max(44px, 2.75rem) + .75rem);gap:.3rem;width:min(12rem,100vw - 1rem);max-height:none;padding:.4rem;overflow:visible}.game-purchase-panel[data-compact] .game-purchase-row{gap:.3rem}.game-shell[data-status=match] .game-purchase-panel[data-compact] .game-purchase-source{grid-template-rows:auto;grid-template-columns:1.85rem auto;gap:.3rem;min-height:44px;padding:.3rem}.game-purchase-panel[data-compact] .game-economy-income,.game-purchase-panel[data-compact] .game-economy-forecast,.game-purchase-panel[data-compact] .game-economy-status:not([data-risk=shortfall]),.game-purchase-panel[data-compact] .game-economy-purchase-preview:not([data-action-preview]):not([data-financial-warning]){display:none}.game-purchase-panel[data-compact] .game-economy-net{display:inline}.game-purchase-panel[data-compact] .game-economy-purchase-preview:is([data-action-preview],[data-financial-warning]){width:min(17rem,100vw - 1rem);block-size:auto;background:var(--rush-surface-raised);border:1px solid var(--rush-border);pointer-events:none;border-radius:.5rem;max-height:7rem;padding:.4rem;position:absolute;bottom:calc(100% + .4rem);right:0;overflow:auto}.game-result-overlay{background:var(--rush-surface-raised);border-radius:.7rem;max-height:calc(100% - 4.8rem);padding:.75rem;display:grid;position:absolute;top:4.3rem;left:.5rem;right:.5rem;overflow:auto}.game-result-overlay h2{margin-top:0}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}.startup-status.startup-loading:not([hidden]){width:100%;height:100dvh;box-shadow:none;background:0 0;border:0;border-radius:0;place-items:center;margin:0;padding:0;display:grid}.startup-brand{color:var(--rush-glyph);font-size:1.8rem;font-weight:700}.game-shell:not([data-status=match]) .game-header{padding-top:calc(.65rem + max(var(--rush-inset-top,0px), env(safe-area-inset-top,0px)))}.game-control-icon{flex-shrink:0;margin:auto;display:block}.game-commerce-dialog{z-index:10;background:var(--rush-surface-raised);border:1px solid var(--rush-border);width:min(25rem,100vw - 1rem);max-height:calc(100dvh - 1rem);box-shadow:0 .75rem 2rem var(--rush-shadow);border-radius:.85rem;gap:.7rem;padding:1rem;display:grid;position:fixed;inset:50% auto auto 50%;overflow-y:auto;transform:translate(-50%,-50%)}.game-commerce-dialog h2,.game-commerce-dialog p{margin:0}.game-commerce-actions{gap:.45rem;display:grid}.game-commerce-actions button{min-height:44px}.game-commerce-actions [data-commerce-action=purchase]{color:var(--rush-action-glyph,#fffdf7);background:var(--rush-action-bg);border-color:var(--rush-action-bg)}.game-telemetry-actions{flex-wrap:wrap;gap:.5rem;margin-top:.55rem;display:flex}.game-telemetry-actions>button{flex:8rem;min-width:0}.game-telemetry-first-dialog .game-settings-footer>.game-consent-choices{grid-template-columns:minmax(0,1fr);gap:.25rem;display:grid}.game-telemetry-first-dialog .game-consent-primary{width:100%;min-height:44px}.game-telemetry-first-dialog .game-consent-decline{min-height:44px;box-shadow:none;color:var(--rush-glyph);text-underline-offset:.2em;background:0 0;border-color:#0000;justify-self:center;padding:.5rem 1rem;font-weight:400;text-decoration:underline}.game-telemetry-confirm{gap:.5rem;margin-top:.55rem;display:grid}.game-telemetry-confirm h3{margin:0;font-size:1rem;line-height:1.35}.game-telemetry-settings{gap:.5rem;min-width:0;display:grid}.game-telemetry-actions[hidden],.game-telemetry-confirm[hidden],.game-setting-row[hidden]{display:none}.game-settings-privacy{color:var(--rush-glyph-muted);text-underline-offset:.2em;overflow-wrap:anywhere;padding:.5rem 0;line-height:1.4;display:block}.game-update-card{border:1px solid var(--rush-border,#57676d);background:var(--rush-surface-raised,#182b33);color:var(--rush-glyph,#f4f1e6);border-radius:.7rem;justify-content:space-between;align-items:center;gap:.5rem;min-width:0;margin:0 0 .7rem;padding:.65rem;display:flex}.game-update-card .game-update-copy{min-width:0}.game-update-card h3{margin:0;font-size:.9rem;line-height:1.25}.game-update-card p{overflow-wrap:anywhere;margin:.2rem 0 0;font-size:.75rem;line-height:1.2}.game-update-actions{flex-wrap:wrap;flex-shrink:0;justify-content:flex-end;gap:.35rem;display:flex}.game-update-actions button{min-height:44px;padding:.35rem .55rem;font-size:.8rem}.game-update-actions .game-update-primary{font-weight:700}@media (width<=380px){.game-update-card{flex-direction:column;align-items:flex-start}.game-update-actions{justify-content:flex-start;width:100%}}.tutorial-card{width:min(100%,38rem);min-height:5.5rem;padding:.65rem max(.75rem, env(safe-area-inset-right)) .65rem max(.75rem, env(safe-area-inset-left));color:var(--rush-glyph);background:color-mix(in srgb, var(--rush-surface-raised) 94%, transparent);border:1px solid var(--rush-border);box-shadow:0 .2rem .75rem var(--rush-shadow);border-radius:.75rem;gap:.35rem;margin:0 auto;font-size:.86rem;line-height:1.35;display:grid}.tutorial-card__title,.tutorial-card__body,.tutorial-card__detail,.tutorial-card__progress{margin:0}.tutorial-card__details{min-width:0;color:var(--rush-glyph-muted);font-size:.8rem}.tutorial-card__header{align-items:center;gap:.5rem;min-width:0;display:flex}.tutorial-card__header .tutorial-card__title{flex:auto;min-width:0}.tutorial-card__header :is(.tutorial-card__details,.tutorial-card__action){flex:none}.tutorial-card__details summary{cursor:pointer;white-space:nowrap;min-height:40px;padding:.6rem .4rem}.tutorial-card__reading{width:min(38rem,100vw - 2rem);max-height:calc(100dvh - 2rem - var(--rush-inset-top,0px) - var(--rush-inset-bottom,0px));inset:max(1rem, calc(var(--rush-inset-top,0px) + 1rem)) 1rem max(1rem, calc(var(--rush-inset-bottom,0px) + 1rem));border:1px solid var(--rush-border);color:var(--rush-glyph);background:var(--rush-surface-raised);box-shadow:0 .4rem 1.2rem var(--rush-shadow);overscroll-behavior:contain;border-radius:.75rem;margin:auto;padding:1rem;overflow:auto}.tutorial-card__reading[open]{gap:.75rem;display:grid}.tutorial-card__reading::backdrop{background:#00000073}.tutorial-card__reading h2{margin:0;font-size:1rem}.tutorial-card__reading-close{width:100%;min-height:44px}.tutorial-card__title{font-size:1rem;line-height:1.2}.tutorial-card__body{color:var(--rush-glyph)}.tutorial-card__detail,.tutorial-card__progress{color:var(--rush-glyph-muted);font-size:.8rem}.tutorial-card__progress{font-variant-numeric:tabular-nums}.tutorial-card__actions{flex-wrap:wrap;gap:.4rem;margin-top:.1rem;display:flex}.tutorial-card__action{flex:8rem;min-height:40px;padding:.45rem .65rem;font-size:.84rem}.tutorial-card__action--primary{background:var(--rush-action-bg);border-color:var(--rush-action-bg);color:var(--rush-action-glyph,#fffdf7)}.tutorial-card__action--secondary,.tutorial-card__action--help{background:var(--rush-surface)}.tutorial-card--welcome{border-color:color-mix(in srgb, var(--rush-selection) 55%, var(--rush-border))}.tutorial-card--completed{border-color:color-mix(in srgb, var(--rush-player-teal) 60%, var(--rush-border))}.tutorial-card--context{min-height:0;font-size:.8rem}.game-tutorial-host[hidden]{display:none}.game-tutorial-host{z-index:2;min-width:0;padding:.4rem}.game-shell[data-status=match]:not([data-tutorial]) .game-tutorial-host{z-index:4;top:max(4.5rem, calc(var(--rush-inset-top,0px) + 4.5rem));left:max(.5rem, var(--rush-inset-left,0px));pointer-events:none;width:min(22rem,100% - 1rem);max-height:calc(100dvh - 9rem);position:absolute;overflow-y:auto}.game-shell[data-status=match]:not([data-tutorial]) .game-tutorial-host :is(.tutorial-card__actions,.tutorial-card__details){pointer-events:auto}.game-shell[data-tutorial][data-status=match]{grid-template-rows:auto auto minmax(0,1fr)}.game-shell[data-tutorial] .game-tutorial-host{grid-area:2/1}.game-shell[data-tutorial] .board-host{grid-area:3/1}.game-shell[data-tutorial] .game-sidebar{grid-area:2/2/4}.game-shell[data-tutorial][data-status=match][data-tutorial-terminal] :is(.game-sidebar,.game-end-turn,.game-help-floating){display:none}.game-shell[data-guidance]:not([data-status=match]){grid-template-rows:auto 1fr}.game-shell[data-guidance]:not([data-status=match]) .game-tutorial-host{grid-column:1/-1;align-self:center}.game-economy-status,.game-economy-purchase-preview{font-size:.72rem;line-height:1.25;display:block}.game-economy-purchase-preview[data-preview-slot]{overflow-wrap:anywhere;scrollbar-width:thin;block-size:4.6rem;overflow:auto}.game-economy-status[data-risk=shortfall],.game-economy-purchase-preview[data-risk=shortfall],.game-other-risk{color:var(--rush-danger)}.game-other-risk{min-height:32px;padding:.3rem;font-size:.72rem}@media (width<=760px){.game-shell[data-tutorial][data-status=match]{display:block}.game-shell[data-tutorial][data-status=match] .game-header{position:absolute}.game-shell[data-tutorial][data-status=match] .game-tutorial-host{z-index:4;top:max(4.5rem, calc(var(--rush-inset-top,0px) + 4.5rem));left:max(.5rem, var(--rush-inset-left,0px));right:max(.5rem, var(--rush-inset-right,0px));padding:0;position:absolute}.game-shell[data-tutorial][data-status=match] .tutorial-card{gap:.2rem;padding:.35rem .5rem;font-size:.8rem;line-height:1.25}.game-shell[data-tutorial][data-status=match] .tutorial-card__title{font-size:.95rem}.game-shell[data-tutorial][data-status=match] .board-host{min-height:0;position:absolute;inset:0}.game-shell[data-tutorial][data-status=match] .game-sidebar{display:contents}}@media (width<=360px){.tutorial-card{gap:.3rem;padding-block:.55rem}.tutorial-card__actions{flex-wrap:nowrap}.tutorial-card__action{flex:1 1 0;min-width:0;padding-inline:.4rem;font-size:.76rem}}
