:root{color-scheme:dark;font-family:system-ui,sans-serif;background:#101a24;color:#edf2ef;--panel:#172631;--line:#334b55;--muted:#acbfc3;--accent:#e7c27d;--ink:#1a231d;--teal:#86c1b4}*{box-sizing:border-box}body{margin:0}a{color:var(--accent)}button,input,select{font:inherit}.button,button{cursor:pointer;border:1px solid var(--line);border-radius:5px;padding:.66rem 1rem;background:#20333f;color:inherit;text-decoration:none}.button:hover,button:hover{border-color:var(--accent)}button:disabled{opacity:.55;cursor:default}.button.primary,button.primary{background:var(--accent);color:var(--ink);border-color:var(--accent);font-weight:700}:focus-visible{outline:2px solid var(--teal);outline-offset:4px}input:not([type=range]),select{border:1px solid var(--line);background:#0f1c27;color:inherit;padding:.65rem .75rem;border-radius:5px;width:100%;min-width:0}label{display:grid;gap:.38rem}form{display:grid;gap:.9rem}h1,h2,p{margin-top:0}h2{font-size:1.12rem}.topbar{min-height:68px;display:flex;justify-content:space-between;align-items:center;padding:.7rem max(5vw,1rem);border-bottom:1px solid var(--line);gap:1rem}.brand{display:inline-flex;gap:.6rem;align-items:center;color:inherit;text-decoration:none;font-weight:750}.brand-mark{color:var(--accent);font-size:1.5rem;line-height:1}.toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:.55rem}.hero{position:relative;isolation:isolate;min-height:calc(100vh - 68px);display:grid;grid-template-columns:minmax(0,1.35fr) minmax(285px,405px);gap:clamp(2rem,6vw,7rem);align-items:center;padding:clamp(2rem,6vw,8rem) max(5vw,1rem);background:radial-gradient(ellipse at 27% 48%,#243b3e 0,#14232f 43%,#101a24 76%)}.hero-copy{max-width:660px}.hero h1{font:600 clamp(3.3rem, 7.3vw, 7.8rem)/.92 Georgia,serif;letter-spacing:-.065em;margin-bottom:1.6rem;text-wrap:balance}.hero-copy p{max-width:34ch;color:#c3d2d0;font-size:clamp(1rem, 1.7vw, 1.32rem);line-height:1.55}.preview{display:grid;width:min(24rem,90%);height:160px;align-content:center;margin-top:1.6rem}.preview-row{display:flex;gap:4px;margin-top:-10px}.preview-row:nth-child(2){margin-left:27px}.preview-row:nth-child(3){margin-left:54px}.preview-hex{background:#355c61;clip-path:polygon(50% 0,100% 25%,100% 75%,50% 100%,0 75%,0 25%);width:50px;height:57px;display:grid;place-items:center;color:var(--accent);font-size:1.15rem}.preview-hex.relay{background:#496458}.preview-hex.unit{color:var(--teal);background:#466872}.panel{padding:1.25rem;background:var(--panel);border:1px solid var(--line);border-radius:9px;min-width:0}.auth-panel{padding:clamp(1.25rem,3vw,2.05rem);box-shadow:0 16px 50px #0a11194d}.tabs{display:flex;gap:.55rem;margin-bottom:1.4rem}.tabs button{flex:1}.selected,.tabs [aria-pressed=true]{border-color:var(--accent);color:var(--accent)}.muted{color:var(--muted)}.error{color:#ffc1ab}.page{width:min(1200px,92vw);margin:2rem auto}.game-grid,.lobby-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(240px,1fr);gap:1rem;align-items:start}.stack{display:grid;gap:1rem}.entries{list-style:none;padding:0;margin:0}.entries li{border-top:1px solid var(--line);padding:.65rem 0;overflow-wrap:anywhere}.entries li:first-child{border-top:0}.chat-log{max-height:22rem;overflow:auto}.board{width:100%;aspect-ratio:720/600;background:#101c27;min-width:0;overflow:hidden;border-radius:7px}.board canvas{display:block}.game-actions{max-height:13rem;overflow:auto;display:grid;gap:.4rem}.status{min-height:1.3rem}.replay-slider{width:100%}@media (max-width:760px){.game-grid,.hero,.lobby-grid{grid-template-columns:minmax(0,1fr)}.hero{align-content:start}.preview{height:112px}}.match-entry{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1rem}.match-entry small{display:block;margin-top:.3rem}.chat-form{margin-top:1rem}.page-heading{display:flex;align-items:baseline;flex-wrap:wrap;gap:1rem}.page-heading h1{flex:1 1 350px}.scoreboard{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem}.score{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:.25rem .5rem;border:1px solid var(--line);border-radius:8px;padding:.7rem;background:var(--panel)}.score strong{overflow-wrap:anywhere}.score small{grid-column:1/-1}.score-value{font-size:1.45rem}.seat-one{border-top:3px solid var(--teal)}.seat-two{border-top:3px solid #e4ad78}.game-actions button{text-align:left}.clear-selection,.replay-control{margin-top:.75rem}.board-key,.turn-log{font-size:.9rem}.turn-log{max-height:24rem;overflow:auto}[aria-pressed=true]{border-color:var(--accent);color:var(--accent)}.game-icon{display:inline-block;flex:none;vertical-align:middle;background-repeat:no-repeat}.toolbar .game-icon{margin-right:.35rem}.unit-cards{display:grid;gap:.65rem}.unit-card{border:1px solid var(--line);border-radius:6px;padding:.75rem}.unit-card-heading{display:flex;gap:.75rem;align-items:center;margin-bottom:.5rem}.unit-card h3{margin:0}.unit-card p{font-size:.9rem;margin-bottom:.6rem}.unit-card dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr) auto);column-gap:.5rem;margin:0;font-size:.85rem}.unit-card dd{margin:0;font-weight:700;color:var(--accent)}.lobby-grid{grid-template-columns:minmax(0,1fr) minmax(280px,1.3fr)}.chat-panel{display:flex;flex-direction:column;height:min(75vh,760px);min-height:420px}.chat-panel h2{margin-bottom:.25rem}.chat-panel>.chat-log{flex:1;min-height:0;max-height:none;overflow-y:auto}.chat-message-heading{display:flex;align-items:baseline;gap:.65rem}.chat-message-heading time{font-size:.75rem;white-space:nowrap}.chat-message-text{white-space:pre-wrap}.chat-panel .chat-form{flex-shrink:0;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.6rem;align-items:end}.chat-panel .chat-form label{margin:0}@media (max-width:760px){.lobby-grid{grid-template-columns:minmax(0,1fr)}.chat-panel{height:65vh}}.avatar-portrait{border-radius:50%;object-fit:cover;flex-shrink:0}.chat-message{display:flex;gap:.65rem;align-items:flex-start}.chat-avatar{width:36px;height:36px}.chat-avatar-placeholder{display:grid;place-items:center;background:var(--line);color:var(--accent);font-weight:700}.chat-message-body{flex:1;min-width:0}.topbar-context{display:flex;align-items:center;flex-wrap:wrap;gap:.3rem 1rem;margin-right:auto;min-width:0}.topbar-context h1{font-size:1.25rem;line-height:1.3;margin:0}.topbar-context span{overflow-wrap:anywhere}.topbar{flex-wrap:wrap;gap:1rem}.topbar>.toolbar{align-items:center}.topbar>.toolbar>.button,.topbar>.toolbar>button{display:inline-flex;align-items:center;justify-content:center;gap:.6rem;min-height:44px;line-height:1.25}.topbar .avatar-portrait{display:block;width:28px;height:28px}.topbar .brand,.topbar-context{min-height:44px}.match-players{display:flex;flex-wrap:wrap;gap:.6rem 1rem}.match-player{display:inline-flex;align-items:center;gap:.6rem;min-width:0}.match-player>span:last-child{overflow-wrap:anywhere}.page-heading>.toolbar{margin-left:auto;align-self:center}.page-heading{margin-bottom:1rem}.game-page{margin-top:.75rem}.game-page .page-heading{align-items:center;gap:.5rem 1rem;margin-bottom:.65rem}.game-page .page-heading h1{font-size:1.5rem;line-height:1.2;margin:0}.game-page .page-heading button{padding:.5rem .8rem}.game-page .score{padding:.45rem .65rem;gap:.1rem .5rem}.game-page .score small{line-height:1.25}.game-page .game-grid>.stack{gap:.65rem}.board{position:relative;aspect-ratio:840/600;background:#fbf5e6}.board-canvas{width:100%;height:100%}.board-keyboard{position:absolute;bottom:0;left:0;width:100%;display:flex;flex-wrap:wrap;pointer-events:none}.board-keyboard button{position:absolute;opacity:0;pointer-events:none}.board-keyboard button:focus{position:static;opacity:1;pointer-events:auto;background:#172631;z-index:2}.hand-coins{display:flex;flex-wrap:wrap;gap:.6rem}.hand-coin{width:82px;padding:.35rem;touch-action:none;user-select:none;cursor:grab}.hand-coin small{display:block;font-size:.7rem;overflow-wrap:anywhere}.coin-image,.royal-coin{width:62px;height:62px;border-radius:50%;object-fit:cover;display:inline-grid;place-items:center;vertical-align:middle}.royal-coin{background:#26353e;color:#e7c27d;border:4px solid #8d8580;font-size:2rem}.drag-coin{position:fixed;transform:translate(-50%,-50%);pointer-events:none;z-index:10000;opacity:.9}.discard-zone{width:100%;min-height:100px;border:2px dashed #87baac;margin:.5rem 0}.discard-zone:disabled{opacity:1;cursor:default}.discard-zone strong{display:block;margin-bottom:.5rem}.discard-coins,.supply-coins{display:flex;flex-wrap:wrap;gap:.4rem}.small-coin{display:inline-flex;align-items:center;gap:.15rem}.small-coin .coin-image,.small-coin .royal-coin{width:33px;height:33px;font-size:1rem}.supply-coins{grid-column:1/-1}.discard-choices fieldset{border:1px solid var(--line);margin:.5rem 0;padding:.5rem;display:flex;flex-wrap:wrap;gap:.3rem}.discard-choices button{font-size:.8rem;padding:.35rem .5rem}.discard-choices button small{display:block;font-size:.65rem;max-width:130px}.unit-card-image{max-width:100%;height:auto}.effect-status{color:var(--accent)}.hand-panel .game-actions{margin-top:.5rem}.selected-hand-card{margin:1rem 0 0;text-align:center}.selected-hand-card>img{display:block;width:min(100%,220px);height:auto;margin:0 auto .5rem;border-radius:6px}.selected-hand-card figcaption p{margin:.4rem 0 0;font-size:.9rem;text-align:left}.selected-hand-card>.royal-coin{display:inline-grid;width:64px;height:64px;margin-bottom:.5rem}.unit-inventory{gap:.35rem;margin-right:.5rem}.unit-counts{display:grid;gap:.1rem;font-size:.8rem}.topbar.topbar-game{min-height:48px;padding-top:.25rem;padding-bottom:.25rem;gap:.5rem .85rem;font-size:.875rem}.topbar-game .brand,.topbar-game .topbar-context{min-height:36px}.topbar-game .brand-mark{font-size:1.25rem}.topbar-game>.toolbar{gap:.4rem}.topbar-game>.toolbar>.button,.topbar-game>.toolbar>button{min-height:36px;padding:.35rem .65rem;gap:.4rem}.topbar-game .avatar-portrait{width:24px;height:24px}@media (pointer:coarse){.topbar-game .brand,.topbar-game .topbar-context,.topbar-game>.toolbar>.button,.topbar-game>.toolbar>button{min-height:44px}}.topbar-game-status{font-size:1rem;line-height:1.25;margin:0 auto 0 0;overflow-wrap:anywhere}.topbar-game:has(.topbar-game-status)>.topbar-context{margin-right:0}.game-page .page-heading:empty{display:none}.score.active-player{outline:2px solid var(--accent);outline-offset:2px;background:#243a43;box-shadow:0 0 0 5px #e7c27d18}.turn-badge{justify-self:start;border-radius:4px;padding:.15rem .45rem;background:var(--accent);color:var(--ink);font-weight:700}.action-icon{width:2rem;height:2rem;flex:0 0 2rem;filter:drop-shadow(0 1px 2px #0004)}.context-actions button,.discard-choices button,.game-actions button{display:flex;align-items:center;gap:.6rem}.context-actions{display:grid;gap:.4rem}.context-actions,.game-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:.35rem}.game-actions{padding:.2rem;scroll-padding:.2rem}.context-actions button,.game-actions button{min-width:0;min-height:44px;padding:.4rem .5rem;gap:.4rem;font-size:.85rem;line-height:1.25;text-align:left}.context-actions button>span,.game-actions button>span{min-width:0;overflow-wrap:anywhere}.context-actions .action-icon,.game-actions .action-icon{width:1.5rem;height:1.5rem;flex-basis:1.5rem}@media (max-width:360px){.context-actions,.game-actions{grid-template-columns:minmax(0,1fr)}}.topbar-game .game-management:empty{display:none}.topbar-game .game-management button{min-height:36px;padding:.35rem .65rem;font-size:inherit;line-height:1.25}@media (pointer:coarse){.topbar-game .game-management button{min-height:44px}}.supply-coins{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.35rem;min-width:0;container-type:inline-size}.supply-coins .unit-inventory{min-width:0;margin:0;gap:.25rem}.supply-coins .coin-image{width:clamp(20px,8cqi,33px);height:auto;aspect-ratio:1;flex-shrink:0}.supply-coins .unit-counts{min-width:0;font-size:clamp(.6rem, 3cqi, .8rem)}.supply-coins .unit-counts b,.supply-coins .unit-counts small{white-space:nowrap}@container (max-width:310px){.supply-coins .unit-inventory{flex-direction:column;align-items:center;text-align:center}}.army-card-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.5rem}.army-card{min-width:0;margin:0;text-align:center}.army-card img{display:block;width:100%;height:auto;border-radius:5px}.army-card figcaption{font-size:.8rem;margin-top:.25rem;overflow-wrap:anywhere}.action-unit-coin{border-radius:50%;object-fit:contain}.avatar-menu-trigger{padding:.2rem;width:40px;height:40px;border-radius:50%;display:inline-grid;place-items:center;flex-shrink:0}.topbar .avatar-menu-trigger .avatar-portrait{width:32px;height:32px}.avatar-initial{font-weight:700;color:var(--accent)}.player-menu[popover]{display:none;position:fixed;margin:0;left:auto;bottom:auto;padding:.5rem;border:1px solid var(--line);border-radius:8px;background:var(--panel);color:inherit;box-shadow:0 6px 24px #0008;max-width:calc(100vw - 16px)}.player-menu[popover]:popover-open{display:grid;gap:.4rem}.player-menu>.button,.player-menu>button{width:100%;justify-content:flex-start!important;min-height:40px}.discard-help{display:block;font-size:.85rem;line-height:1.35;font-weight:400}.discard-zone .discard-coins:not(:empty){margin-top:.5rem}.player-heading{display:flex;align-items:center;flex-wrap:wrap;gap:.3rem .5rem}.initiative-label{display:inline-flex;align-items:center;gap:.25rem}.initiative-icon{display:block;width:1.4rem;height:1.4rem;flex-shrink:0}.hand-coin.drawn-coin{outline:3px solid var(--accent);outline-offset:2px;background:#345047}.hand-coin .drawn-coin-label{color:var(--accent);font-weight:700}.unit-counts .unit-removed{color:var(--accent);white-space:normal}.player-discard{grid-column:1/-1;display:grid;gap:.25rem;margin-top:.25rem;padding:.35rem .5rem;border:1px dashed #87baac;border-radius:5px}.victory-dialog{width:min(440px,calc(100vw - 2rem));padding:1.5rem;border:2px solid var(--accent);border-radius:12px;background:var(--panel);color:inherit;box-shadow:0 12px 48px #0008}.victory-dialog::backdrop{background:#071019b8}.victory-winner{font-size:1.4rem;font-weight:700;color:var(--accent);overflow-wrap:anywhere}.victory-options{display:grid;gap:.6rem}.victory-options .button{text-align:center}.hand-panel button:is([data-action=control],[data-choice=control]){background:linear-gradient(135deg,#f2d69b,var(--accent));color:var(--ink);border-color:#f5dca9;font-weight:750;box-shadow:0 0 0 1px #e7c27d55,0 3px 10px #0003}.hand-panel button:is([data-action=control],[data-choice=control]):hover:not(:disabled){background:#f7dfa9;border-color:#fff0cc;box-shadow:0 0 0 2px #e7c27d66,0 3px 12px #0004}.hand-panel button:is([data-action=control],[data-choice=control]):focus-visible{outline:3px solid #fff0cc;outline-offset:3px}.mobile-game-tools{display:none}@media (pointer:coarse) and (hover:none) and (orientation:landscape) and (max-width:1366px){body:has(.game-page){overflow:hidden}body:has(.game-page) .topbar{height:44px;min-height:44px;padding:0 .5rem;flex-wrap:nowrap}body:has(.game-page) .game-management,body:has(.game-page) .topbar .brand{display:none}.game-page{margin:0;padding:0;width:100%;max-width:none;height:calc(100dvh - 44px);padding-bottom:env(safe-area-inset-bottom)}.game-page .game-grid{display:block;height:100%}.game-page .game-grid>.stack:first-child{height:100%;display:flex;align-items:center;justify-content:center}.game-page .game-grid>.stack:first-child>:not(.board){display:none}.game-page .board{width:min(100%,calc((100dvh - 44px) * 1.4));height:100%;aspect-ratio:840/600;border-radius:0;touch-action:none}.board-canvas{transform-origin:center}.game-page .game-grid>:nth-child(2){display:none;position:fixed;z-index:20;right:env(safe-area-inset-right);top:88px;bottom:env(safe-area-inset-bottom);width:min(360px,85vw);overflow-y:auto;background:var(--panel);padding:.5rem}.game-page.drawer-open .game-grid>:nth-child(2){display:block}.mobile-game-tools{display:flex;position:fixed;z-index:25;top:44px;right:env(safe-area-inset-right);gap:.25rem}.mobile-game-tools button{min-height:44px;padding:.3rem .5rem;font-size:.8rem}.game-page button{min-height:44px}.hand-coin{touch-action:none}.game-page .panel{padding:.5rem}.game-page .game-actions{max-height:none}}@media (pointer:coarse) and (hover:none) and (orientation:landscape) and (max-width:1366px){.game-page.drawer-dragging .game-grid>:nth-child(2){opacity:0;pointer-events:none}}.mobile-inventories{display:none}@media (pointer:coarse) and (hover:none) and (orientation:landscape) and (max-width:1366px){.mobile-inventories{display:block}.mobile-inventories .scoreboard{display:block}}.player-name{display:inline-flex;align-items:baseline;gap:.4rem}.ai-token-count{font-size:.6em;font-weight:400;color:var(--muted,#afc2cc);white-space:nowrap}.localized-card{display:block;position:relative;width:100%}.localized-card>img{display:block;width:100%;height:auto}.localized-card>.card-text-overlay{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.localized-card>.card-text-overlay[src$="-fr-overlay.png"]{mask-image:radial-gradient(ellipse 17.5% 13.5% at 21% 15.5%,transparent 99%,#000 100%)}.match-list-heading{display:flex;align-items:center;gap:.65rem;margin-bottom:.9rem}.match-list-heading h2{margin:0}.button-icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;width:2.75rem;height:2.75rem;padding:.6rem}.button-icon svg{width:1.2rem;height:1.2rem}.match-details{flex:1 1 14rem;min-width:0}.match-entry>.button,.match-entry>button{flex-shrink:0;white-space:nowrap;overflow-wrap:normal}.match-list-period{margin-left:auto;white-space:nowrap}.history-entry{display:flex;align-items:center;gap:.6rem}.history-coin{flex:0 0 2rem;width:2rem;height:2rem;display:inline-flex;align-items:center;justify-content:center}.history-coin>span{display:contents}.history-coin .coin-image{display:block;width:2rem;height:2rem;object-fit:contain;border-radius:50%}.history-action{min-width:0}.game-player-sidebar{display:contents}@media (min-width:1440px){.game-page:has(.live-game-grid){width:min(1800px,96vw)}.live-game-grid{grid-template-columns:minmax(260px,.9fr) minmax(0,2fr) minmax(280px,1fr);column-gap:1rem;row-gap:.65rem}.live-game-grid>.game-board-stack{display:contents}.live-game-grid .game-player-sidebar{display:grid;gap:.8rem;align-content:start;align-self:start;grid-column:1;grid-row:1/span 3;min-width:0;min-height:0;max-height:calc(100dvh - 6rem);overflow-y:auto;overscroll-behavior-y:contain;scrollbar-gutter:stable;padding:.35rem;position:sticky;top:1rem}.live-game-grid .game-player-sidebar>.scoreboard{grid-template-columns:minmax(0,1fr);gap:.8rem}.live-game-grid>.game-board-stack>.board{grid-column:2;grid-row:1;min-width:0}.live-game-grid>.game-board-stack>.board-key{grid-column:2;grid-row:2;margin:0}.live-game-grid>.game-board-stack>.army-card-row{grid-column:2;grid-row:3}.live-game-grid>.game-controls-stack{grid-column:3;grid-row:1/span 3;min-width:0}.live-game-grid .scoreboard .score{align-content:start}}@media (min-width:1440px){body:has(.live-game-grid){height:100dvh;overflow:hidden}#app:has(.live-game-grid){height:100dvh;display:grid;grid-template-rows:auto minmax(0,1fr)}.game-page:has(.live-game-grid){display:flex;flex-direction:column;min-height:0;margin:.5rem auto}.live-game-grid{flex:1;min-height:0;grid-template-rows:minmax(0,1fr) auto clamp(90px,16dvh,155px);gap:.5rem .8rem}.live-game-grid .game-player-sidebar{position:static;height:100%;max-height:100%;min-height:0;gap:.5rem}.live-game-grid>.game-board-stack>.board{height:100%;aspect-ratio:auto}.live-game-grid>.game-board-stack>.board-key{font-size:.75rem;line-height:1.25}.live-game-grid>.game-board-stack>.army-card-row{min-height:0;height:100%}.live-game-grid .army-card{display:flex;flex-direction:column;align-items:center;min-height:0}.live-game-grid .army-card .localized-card{flex:1;min-height:0;width:auto;max-width:100%}.live-game-grid .army-card .localized-card>img:not(.card-text-overlay){width:auto;height:100%;max-width:100%;object-fit:contain}.live-game-grid .army-card figcaption{font-size:.7rem;line-height:1.1}.live-game-grid>.game-controls-stack{height:100%;min-height:0;overflow-y:auto;overscroll-behavior-y:contain;scrollbar-gutter:stable;align-content:start}.live-game-grid .panel{padding:.75rem}.live-game-grid .game-player-sidebar .unit-card{padding:.5rem}.live-game-grid .game-player-sidebar .unit-card .localized-card{display:block;width:min(100%,150px);margin:.4rem auto}.live-game-grid .game-player-sidebar .unit-card h3{font-size:.95rem}.live-game-grid .game-player-sidebar .unit-card p{font-size:.8rem}}.card-hover-preview{position:fixed;z-index:1000;pointer-events:none;border-radius:7px;overflow:hidden;background:var(--panel);box-shadow:0 8px 32px #000b;outline:2px solid var(--accent)}.unit-card[data-selected-card]{border-color:var(--accent)}.unit-card-reference>.unit-cards{max-height:60dvh;overflow-y:auto;overscroll-behavior-y:contain;scrollbar-gutter:stable}@media (min-width:1440px){.live-game-grid .game-player-sidebar{grid-template-rows:auto minmax(0,1fr);overflow:hidden;scrollbar-gutter:auto}.live-game-grid .unit-card-reference{min-height:0;align-self:start}.live-game-grid .unit-card-reference[open]{display:flex;flex-direction:column;height:100%;overflow:hidden}.live-game-grid .unit-card-reference[open]::details-content{display:flex;flex-direction:column;flex:1;min-height:0;overflow:hidden}.live-game-grid .unit-card-reference>summary{flex-shrink:0}.live-game-grid .unit-card-reference>.unit-cards{min-height:0;max-height:none;flex:1;overflow-y:auto;padding-right:.25rem}}@media (min-width:1440px){.live-game-grid>.game-controls-stack{display:flex;flex-direction:column;overflow:hidden;scrollbar-gutter:auto}.live-game-grid>.game-controls-stack>fieldset{flex:0 1 auto;min-height:0;max-height:65%;overflow-y:auto;overscroll-behavior-y:contain}.live-game-grid .turn-history-panel{display:flex;flex-direction:column;flex:1;min-height:0;overflow:hidden}.live-game-grid .turn-history-panel>h2{flex-shrink:0}.live-game-grid .turn-log{flex:1;min-height:0;max-height:none;overflow-y:auto;overscroll-behavior-y:contain}}