:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;color:#e2e8f0;--space-xs:.35rem;--space-sm:.5rem;--space-md:.75rem;--space-lg:1rem;--space-xl:1.25rem;--radius-sm:8px;--radius-md:12px;--touch-min:44px;--modal-leaderboard-rem-cap:42rem;--modal-leaderboard-vw-cap:94vw;--modal-leaderboard-min-inline:0px;background:#070b18;font-family:system-ui,Segoe UI,Roboto,sans-serif}*,:before,:after{box-sizing:border-box}html{height:100%}body{min-height:100dvh;margin:0;overflow-x:hidden}#app-root{width:100%;max-width:100%;padding:var(--space-lg) var(--space-md) calc(var(--space-xl) + env(safe-area-inset-bottom,0px));padding-left:calc(var(--space-md) + env(safe-area-inset-left,0px));padding-right:calc(var(--space-md) + env(safe-area-inset-right,0px));margin:0 auto}.app-header h1{margin:0 0 var(--space-xs);font-size:1.35rem;line-height:1.2}.tagline{color:#94a3b8;margin:0;font-size:.8125rem;line-height:1.45}.layout{gap:var(--space-md);margin-top:var(--space-md);flex-direction:column;align-items:stretch;display:flex}.canvas-wrap{border-radius:var(--radius-md);touch-action:manipulation;background:#0b1020;border:1px solid #94a3b840;width:100%;min-width:0;position:relative;overflow:hidden}#arenaStage{visibility:hidden;pointer-events:none;image-rendering:pixelated;display:block;position:absolute;bottom:0;left:0}#gameCanvas{z-index:1;vertical-align:middle;touch-action:none;width:100%;height:auto;display:block;position:relative}.game-bottom-bar{justify-content:flex-start;align-items:center;gap:var(--space-xs);padding:var(--space-sm) var(--space-sm) calc(var(--space-sm) + env(safe-area-inset-bottom,0px));color:#cbd5e1;pointer-events:auto;-webkit-backdrop-filter:blur(6px);z-index:20;background:linear-gradient(#0000 0%,#020617a6 40%,#020617eb 100%);border-top:1px solid #94a3b826;flex-wrap:nowrap;font-size:.8125rem;display:flex;position:absolute;bottom:0;left:0;right:0}.bottom-bar-spacer{flex:auto}.btn-bottom-bar{border-radius:var(--radius-sm);color:#e2e8f0;cursor:pointer;touch-action:manipulation;background:#0f172ad9;border:1px solid #94a3b859;flex-direction:column;justify-content:center;align-items:center;gap:.15rem;min-width:3.25rem;min-height:3.25rem;margin:0;padding:.35rem .5rem;transition:background-color .15s,border-color .15s,transform .1s;display:inline-flex}.btn-bottom-bar:hover{background:#1e293bf2;border-color:#94a3b88c}.btn-bottom-bar:active{background:#334155f2;transform:scale(.95)}.btn-bottom-bar:focus-visible{outline-offset:2px;outline:2px solid #60a5fabf}.btn-bottom-bar__label{letter-spacing:.04em;text-transform:uppercase;color:#94a3b8;font-size:.65rem;font-weight:600;line-height:1}.btn-cycle-value{background:#1e3a8a57;border-color:#60a5fa3d}.btn-cycle-value:hover{background:#2563eb4d;border-color:#60a5fa5c}.btn-cycle-value__number{font-variant-numeric:tabular-nums;color:#60a5fa8c;text-align:center;min-width:1.5rem;font-size:1.25rem;font-weight:800;line-height:1}.btn-delete-command-path{background:#5c2d1452;border-color:#fcd34d38}.btn-delete-command-path:hover{background:#7c2d126b;border-color:#fcd34d4d}.btn-destroy-barrack{background:#7f1d1d59;border-color:#ef44444d}.btn-destroy-barrack:hover:not(:disabled){background:#991b1b8c;border-color:#f8717180}.btn-destroy-barrack:disabled{opacity:.35;cursor:default}.btn-destroy-barrack[data-countdown-active=true]{background:#b4343480;border-color:#f8717199;animation:.8s ease-in-out infinite destroy-pulse}@keyframes destroy-pulse{0%,to{border-color:#f8717199}50%{border-color:#fca5a5e6}}.hud-help{text-shadow:0 1px 2px #00000073;flex:auto;min-width:0;line-height:1.45}.desktop-keys-hint{display:none}.ingame-hud-strip{--ingame-hud-h:36px;z-index:25;box-sizing:border-box;height:var(--ingame-hud-h);padding:0 clamp(8px,2.2vw,18px);padding-right:max(clamp(8px, 2.2vw, 18px), env(safe-area-inset-right,0px));-webkit-backdrop-filter:blur(8px);font-family:ui-sans-serif,system-ui,sans-serif;font-weight:700;font-size:clamp(13px, calc(var(--ingame-hud-h) * .48), 21px);color:#e2e8f0;pointer-events:none;text-shadow:0 1px 2px #00000059;background:#0206179e;border-bottom:1px solid #94a3b838;grid-template-columns:auto minmax(0,1fr);align-items:center;column-gap:clamp(.35rem,1.8vw,.85rem);line-height:1.05;display:none;position:absolute;top:0;left:0;right:0}body[data-shell-state=playing] .ingame-hud-strip{display:grid}.turn-callout{z-index:23;pointer-events:none;justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.turn-callout__text{color:#fff;text-align:center;text-shadow:0 0 22px #00000080,0 2px 14px #00000073;opacity:0;max-width:min(92vw,22rem);margin:0;padding:.35em .85em;font-family:ui-sans-serif,system-ui,sans-serif;font-size:clamp(1.1rem,4vw,1.85rem);font-weight:800;line-height:1.2}@keyframes turn-callout-dissolve{0%{opacity:1}to{opacity:0}}.turn-callout__text--animate{animation:2s ease-out forwards turn-callout-dissolve}.toast-stack{top:max(.75rem, env(safe-area-inset-top));z-index:12000;pointer-events:none;flex-direction:column;align-items:center;gap:.45rem;max-width:min(92vw,22rem);display:flex;position:fixed;left:50%;transform:translate(-50%)}.toast-stack__item{text-align:center;color:#f8fafc;background:#1e293bf0;border:1px solid #94a3b859;border-radius:.5rem;padding:.45rem .85rem;font-family:ui-sans-serif,system-ui,sans-serif;font-size:clamp(13px,2.8vw,15px);font-weight:600;line-height:1.35;animation:.22s ease-out toast-stack-in;box-shadow:0 4px 16px #00000059,0 0 1px #00000080}.toast-stack__item--warning{border-color:#fbbf2473}.toast-stack__item--error{background:#450a0aeb;border-color:#f871718c}.toast-stack__item--info{border-color:#38bdf873}.toast-stack__item--out{opacity:0;transition:opacity .24s,transform .24s;transform:translateY(-6px)}@keyframes toast-stack-in{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}.ingame-hud-strip__leading{flex-flow:row;align-items:center;column-gap:clamp(.35rem,1.6vw,.65rem);min-width:0;display:flex}.hud-room-id-cluster{pointer-events:auto;min-width:0;max-width:min(42vw,14rem);font-size:clamp(10px, calc(var(--ingame-hud-h) * .34), 13px);color:#e2e8f0e0;flex-flow:row;align-items:center;gap:.35em;font-weight:600;display:flex}.hud-room-id-cluster.is-hidden{display:none}.hud-room-id-cluster__label{opacity:.72;text-transform:uppercase;letter-spacing:.04em;flex:none;font-size:.92em;font-weight:700}.hud-room-id-cluster__id{text-overflow:ellipsis;white-space:nowrap;color:#bae6fd;background:#0f172a8c;border:1px solid #38bdf847;border-radius:.25rem;flex:auto;min-width:0;padding:.08em .35em;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:1em;font-weight:600;overflow:hidden}.btn-copy-room-id{pointer-events:auto;cursor:pointer;touch-action:manipulation;color:#e2e8f0f2;background:#0f172aa6;border:1px solid #94a3b859;border-radius:.3rem;flex:none;margin:0;padding:.12em .45em;font-family:inherit;font-size:.92em;font-weight:700}.btn-copy-room-id:hover{background:#1e293bd9;border-color:#94a3b880}.btn-copy-room-id:focus-visible{outline-offset:2px;outline:2px solid #60a5fabf}.ingame-hud-strip__arena{justify-content:center;min-width:0;display:flex}.ingame-hud-line{width:100%;max-width:min(100%,58rem);font-weight:600;font-size:clamp(11px, calc(var(--ingame-hud-h) * .44), 16px);flex-flow:row;justify-content:center;align-items:center;gap:clamp(.12rem,.65vw,.42rem);margin-inline:auto;display:flex}.ingame-hud-line__divider{opacity:.38;-webkit-user-select:none;user-select:none;flex:none;font-weight:500}.ingame-hud-line__segment{flex-direction:row;align-items:center;gap:clamp(.08rem,.45vw,.26rem);min-width:0;display:inline-flex}.ingame-hud-line__segment.ingame-hud-seat--empty .ingame-hud-line__name{opacity:.65}.ingame-hud-line__mark{font-weight:800;font-size:clamp(12px, calc(var(--ingame-hud-h) * .52), 20px);flex:none;line-height:1}.ingame-hud-line__mark--host{color:#60a5fa}.ingame-hud-line__mark--guest{color:#f87171}.ingame-hud-line__name{text-overflow:ellipsis;white-space:nowrap;min-width:0;max-width:min(14rem,18vw);overflow:hidden}@media (width<=520px){.ingame-hud-line__name{max-width:min(6.5rem,22vw)}}.ingame-hud-line__role{text-align:center;min-width:1.35em;font-size:clamp(13px, calc(var(--ingame-hud-h) * .52), 20px);flex:none;line-height:1}.ingame-hud-seat--self .ingame-hud-line__mark{text-underline-offset:.08em;text-decoration:underline}.ingame-hud-seat--self .ingame-hud-line__name{font-weight:700}.ingame-hud-strip[data-hud-seat-role=host] #hud-pack-host .ingame-hud-line__mark--host,.ingame-hud-strip[data-hud-seat-role=host] #hud-seat-host-name{color:#93c5fd}.ingame-hud-strip[data-hud-seat-role=guest] #hud-pack-guest .ingame-hud-line__mark--guest,.ingame-hud-strip[data-hud-seat-role=guest] #hud-seat-guest-name{color:#fca5a5}.ingame-hud-line--no-roster .ingame-hud-line__segment,.ingame-hud-line--no-roster .ingame-hud-line__divider,.ingame-hud-line--no-roster .ingame-hud-line__role{display:none}.ingame-hud-line--no-roster .ingame-hud-line__pill{max-width:min(100%,22rem)}.ingame-hud-line__pill{box-sizing:border-box;background:#0f172abf;border:1px solid #94a3b84d;border-radius:999px;flex:auto;min-width:min(40%,7.75rem);max-width:min(100%,15rem);padding:.12em .52em;box-shadow:inset 0 1px #ffffff0a}.ingame-hud-line__pill-text{width:100%;display:block}.ingame-hud-strip[data-hud-strip-hint=host-turn] .ingame-hud-line:not(.ingame-hud-line--no-roster) .ingame-hud-line__pill,.ingame-hud-strip[data-hud-strip-hint=guest-turn] .ingame-hud-line:not(.ingame-hud-line--no-roster) .ingame-hud-line__pill{max-width:min(100%,16.25rem)}.ingame-hud-strip__lives{text-overflow:ellipsis;white-space:nowrap;font-variant-numeric:tabular-nums;text-align:center;width:100%;font-weight:600;display:block;overflow:hidden}.ingame-hud-strip[data-hud-strip-hint=your-turn] .ingame-hud-strip__lives{color:#86efac}.ingame-hud-strip[data-hud-strip-hint=opponent-turn] .ingame-hud-strip__lives{color:#fde68a}.ingame-hud-strip[data-hud-strip-hint=host-turn] .ingame-hud-line__pill{background:#1e40af6b;border-color:#60a5fa85;box-shadow:inset 0 1px #93c5fd1a,0 0 0 1px #2563eb33}.ingame-hud-strip[data-hud-strip-hint=host-turn] .ingame-hud-strip__lives{color:#93c5fd}.ingame-hud-strip[data-hud-strip-hint=guest-turn] .ingame-hud-line__pill{background:#7f1d1d61;border-color:#f8717185;box-shadow:inset 0 1px #fecaca14,0 0 0 1px #dc262638}.ingame-hud-strip[data-hud-strip-hint=guest-turn] .ingame-hud-strip__lives{color:#fca5a5}.ingame-hud-strip[data-hud-strip-hint=waiting] .ingame-hud-strip__lives,.ingame-hud-strip[data-hud-strip-hint=connecting] .ingame-hud-strip__lives,.ingame-hud-strip[data-hud-strip-hint=sync-seat] .ingame-hud-strip__lives{color:#93c5fd}.ingame-hud-strip[data-hud-strip-hint=offline] .ingame-hud-strip__lives{color:#fca5a5}.ingame-hud-strip[data-hud-strip-hint=outcome-draw] .ingame-hud-strip__lives{color:#facc15}.ingame-hud-strip[data-hud-strip-hint=outcome-win] .ingame-hud-strip__lives{color:#4ade80}.ingame-hud-strip[data-hud-strip-hint=outcome-loss] .ingame-hud-strip__lives{color:#fb923c}.btn-pause-game{pointer-events:auto;box-sizing:border-box;width:calc(var(--ingame-hud-h) * .62);min-width:1.625rem;max-width:2rem;height:calc(var(--ingame-hud-h) * .66);color:#e2e8f0f2;cursor:pointer;touch-action:manipulation;background:#0f172a80;border:1px solid #94a3b840;border-radius:.3rem;flex:none;justify-content:center;align-items:center;min-height:1.375rem;max-height:2rem;margin:0;padding:0;display:inline-flex}.btn-pause-game:hover{background:#0f172aad;border-color:#94a3b866}.btn-pause-game:focus-visible{outline-offset:2px;outline:2px solid #60a5fabf}.btn-pause-game:active{transform:scale(.96)}.btn-pause-game__glyph{width:.4rem;height:calc(var(--ingame-hud-h) * .28);background:linear-gradient(90deg,currentColor 0 32%,#0000 32% 68%,currentColor 68% 100%);border-radius:1px;min-height:.52rem;max-height:.62rem;display:block}.side-panel{width:100%;min-width:0}.muted{color:#94a3b8}.small{font-size:.85rem}.modal{z-index:20;padding:var(--space-lg);padding-bottom:calc(var(--space-lg) + env(safe-area-inset-bottom,0px));padding-left:calc(var(--space-lg) + env(safe-area-inset-left,0px));padding-right:calc(var(--space-lg) + env(safe-area-inset-right,0px));-webkit-overflow-scrolling:touch;background:#070b18b8;justify-content:center;align-items:center;display:none;position:fixed;inset:0;overflow-y:auto}.modal.screen{display:none}.modal--arcade{background:#000000f2}.modal.modal--stack{z-index:35;background:#000000d1}.is-hidden{display:none!important}.main-menu-brand{margin-bottom:1.5rem}.main-menu-title-line1{color:#60a5fa;letter-spacing:.06em;margin:0;font-family:ui-monospace,Cascadia Code,Courier New,monospace;font-size:clamp(2rem,8vw,3rem);font-weight:700;line-height:1.1}.main-menu-title-line2{color:#fbbf24;letter-spacing:.08em;margin:.2rem 0 .85rem;font-family:ui-monospace,Cascadia Code,Courier New,monospace;font-size:clamp(1.45rem,5vw,1.9rem);font-weight:700;line-height:1.1}.main-menu-tagline{color:#d1d5db;margin:0;padding:0 .2rem;font-family:ui-monospace,Cascadia Code,Courier New,monospace;font-size:clamp(.875rem,2.6vw,1.05rem);line-height:1.5}.main-menu-actions{flex-direction:column;gap:1rem;display:flex}.modal-card.modal-card--main-menu .btn-menu-play,.modal-card.modal-card--main-menu .btn-menu-neutral,.modal-card.modal-card--main-menu .btn-menu-accent{letter-spacing:.04em;border:none;border-radius:.75rem;width:100%;min-height:3rem;padding:.85rem 1.25rem;font-size:1.05rem;font-weight:700;transition:background-color .2s,transform .15s;box-shadow:0 10px 15px -3px #00000047}.modal-card.modal-card--main-menu .btn-menu-play:active,.modal-card.modal-card--main-menu .btn-menu-neutral:active,.modal-card.modal-card--main-menu .btn-menu-accent:active{transform:scale(.98)}.modal-card.modal-card--main-menu .btn-menu-play{color:#fff;background:#16a34a}.modal-card.modal-card--main-menu .btn-menu-play:hover{background:#15803d}.modal-card.modal-card--main-menu .btn-menu-neutral{color:#fff;background:#4b5563}.modal-card.modal-card--main-menu .btn-menu-neutral:hover{background:#374151}.modal-card.modal-card--main-menu .btn-menu-accent{color:#fff;background:#9333ea}.modal-card.modal-card--main-menu .btn-menu-accent:hover{background:#7e22ce}.main-menu-footnote{color:#64748b;border-top:1px solid #334155d9;margin:1.5rem 0 0;padding-top:1rem;font-family:ui-monospace,Cascadia Code,Courier New,monospace;font-size:.625rem;line-height:1.55}.main-menu-footnote span{display:block}.modal-card{border-radius:var(--radius-md);width:100%;max-width:100%;padding:var(--space-xl) var(--space-lg);gap:var(--space-md);background:#0f172a;border:1px solid #94a3b859;flex-direction:column;display:flex}.modal-card.modal-card--main-menu{text-align:center;background:linear-gradient(to bottom right,#111827,#1f2937);border:1px solid #374151;border-radius:1rem;gap:0;max-width:28rem;margin-inline:auto;padding:2rem 1.75rem;box-shadow:0 25px 50px -12px #0000008c,inset 0 1px #94a3b80f}.modal-card.modal-card--game-over{max-width:min(56rem,100%)}.modal-card--game-over .game-over-side{display:contents}.modal-card.modal-card--arcade-panel{text-align:center;background:linear-gradient(to bottom right,#111827,#1f2937);border:1px solid #374151;border-radius:1rem;max-width:min(36rem,100%);margin-inline:auto;padding:2rem 1.75rem;box-shadow:0 25px 50px -12px #0000008c,inset 0 1px #94a3b80f}.modal-card--settings{max-width:28rem}.modal-card--settings .settings-fields{text-align:left;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;min-height:0;max-height:min(26rem,100dvh - 13rem);overflow:hidden auto}.game-over-heading{letter-spacing:.06em;margin:0 0 .35rem;font-family:ui-monospace,Cascadia Code,Courier New,monospace;font-size:clamp(2rem,7vw,3.5rem);font-weight:700;line-height:1.05}.game-over-heading[data-outcome=lose]{color:#ef4444}.game-over-heading[data-outcome=win]{color:#4ade80}.game-over-heading[data-outcome=draw]{color:#facc15}.game-over-fixture-banner{width:100%;max-width:min(26rem,100%);margin:0 auto .85rem}.game-over-fixture-banner .match-fixture{box-sizing:border-box;background:#1e293bf7;border:1px solid #475569b3;border-radius:.55rem;padding:.65rem .55rem}.game-over-fixture-banner[data-outcome=win] .match-fixture__status{color:#86efac}.game-over-fixture-banner[data-outcome=lose] .match-fixture__status{color:#fca5a5}.game-over-fixture-banner[data-outcome=draw] .match-fixture__status{color:#fde047}.game-over-score-label{color:#d1d5db;margin:.5rem 0 0;font-family:ui-monospace,Cascadia Code,Courier New,monospace;font-size:.9375rem}.game-over-score-main{font-variant-numeric:tabular-nums;color:#facc15;margin:.25rem 0 .75rem;font-family:ui-monospace,Cascadia Code,Courier New,monospace;font-size:clamp(2rem,6vw,2.75rem);font-weight:700}.game-over-session-block .game-over-score-label{margin-top:.15rem}.game-over-session-score{font-variant-numeric:tabular-nums;color:#e2e8f0;margin:.2rem 0 .65rem;font-family:ui-monospace,Cascadia Code,Courier New,monospace;font-size:clamp(1.2rem,3.6vw,1.5rem);font-weight:600}.game-over-run-stats{color:#cbd5e1;max-width:26rem;min-height:1rem;margin:.35rem auto .75rem;padding:0 .35rem;font-family:ui-monospace,Cascadia Code,Courier New,monospace;font-size:.8125rem;line-height:1.5}.modal-card.modal-card--arcade-panel.modal-card--game-over .arcade-btn-stack{border-top:1px solid #47556980;gap:.65rem;margin-top:.15rem;padding-top:1.15rem}.go-rematch-row{border-top:1px solid #4755696b;margin-top:.65rem;padding-top:.85rem}.go-rematch-hint{margin:0 0 .65rem;max-width:26rem;margin-inline:auto;font-size:.8125rem;line-height:1.5}.go-rematch-buttons{flex-direction:column;align-items:stretch;gap:.6rem;display:flex}@media (width>=420px){.go-rematch-buttons{flex-flow:wrap;justify-content:center;gap:.65rem}}.modal-card--game-over .btn-rematch-split{letter-spacing:.02em;color:#fff;border:none;border-radius:.75rem;width:100%;min-height:2.85rem;padding:.65rem 1rem;font-size:.98rem;font-weight:700;box-shadow:0 10px 15px -3px #00000047}@media (width>=420px){.modal-card--game-over .btn-rematch-split{flex:auto;width:auto;min-width:min(14rem,100%)}}.modal-card--game-over .btn-rematch-split:disabled{opacity:.52;cursor:not-allowed;transform:none}.modal-card--game-over #btn-rematch-challenge:is(:hover,:active):not(:disabled),.modal-card--game-over #btn-rematch-accept:is(:hover,:active):not(:disabled){filter:brightness(1.06)}.game-over-lb-shell{text-align:left;background:#0003;border:1px solid #374151f2;border-radius:.5rem;flex-direction:column;min-width:0;height:min(20rem,max(12rem,36dvh));min-height:0;margin-bottom:1rem;display:flex;overflow:hidden}.go-lb-header{border-bottom:1px solid #374151cc;flex-shrink:0;padding:.5rem .5rem .35rem}.go-lb-scroll{-webkit-overflow-scrolling:touch;overscroll-behavior:contain;flex:auto;min-width:0;min-height:0;padding:.35rem .5rem .5rem;overflow:auto}.go-lb-list{flex-direction:column;gap:.35rem;font-size:.75rem;display:flex}.go-lb-grid{text-transform:uppercase;letter-spacing:.06em;color:#6b7280;grid-template-columns:1.5rem minmax(0,1fr) minmax(0,1fr) minmax(3.5rem,auto) minmax(4.5rem,auto);align-items:center;gap:.2rem .32rem;font-family:ui-monospace,Cascadia Code,Courier New,monospace;font-size:.625rem;display:grid}.go-lb-grid--rounds{grid-template-columns:2rem minmax(0,1.1fr) minmax(0,1.2fr) minmax(3.25rem,auto)}.go-lb-grid--rounds-with-kills{grid-template-columns:2rem minmax(0,1.05fr) minmax(4.5rem,auto) minmax(0,1.15fr) minmax(3.25rem,auto)}.go-lb-row--round{grid-template-columns:2rem minmax(0,1.1fr) minmax(0,1.2fr) minmax(3.25rem,auto)}.go-lb-row--round-with-kills{grid-template-columns:2rem minmax(0,1.05fr) minmax(4.5rem,auto) minmax(0,1.15fr) minmax(3.25rem,auto)}.go-lb-kills{font-variant-numeric:tabular-nums;text-align:center;color:#e5e7eb;letter-spacing:.02em}.go-lb-col-kills{text-align:center}.go-lb-grid--head .go-lb-num{text-align:right}.go-lb-row{background:#1f2937d9;border:1px solid #0000;border-radius:.35rem;grid-template-columns:1.5rem minmax(0,1fr) minmax(0,1fr) minmax(3.5rem,auto) minmax(4.5rem,auto);align-items:center;gap:.2rem .32rem;padding:.4rem .3rem;font-family:ui-monospace,Cascadia Code,Courier New,monospace;display:grid}@media (width>=480px){.go-lb-grid,.go-lb-row{grid-template-columns:1.75rem minmax(0,1fr) minmax(0,1fr) minmax(4rem,auto) minmax(5rem,auto);gap:.25rem .4rem}.go-lb-row{padding:.45rem .35rem}.go-lb-grid--rounds:not(.go-lb-grid--rounds-with-kills),.go-lb-row--round:not(.go-lb-row--round-with-kills){grid-template-columns:2rem minmax(0,1.1fr) minmax(0,1.2fr) minmax(3.25rem,auto)}.go-lb-grid--rounds-with-kills,.go-lb-row--round-with-kills{grid-template-columns:2rem minmax(0,1.05fr) minmax(4.5rem,auto) minmax(0,1.15fr) minmax(3.25rem,auto)}}.go-lb-row--current{background:#172554a6;border-color:#3b82f68c}.go-lb-rank{color:#facc15;font-weight:700}.go-lb-name-wrap{min-width:0}.go-lb-name-line{align-items:center;gap:.25rem;min-width:0;display:flex}.go-lb-date{color:#9ca3af;white-space:nowrap;text-overflow:ellipsis;margin-top:.15rem;font-size:.65rem;overflow:hidden}.go-lb-player-plain{color:#f9fafb;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.go-lb-current-label{color:#67e8f9;font-weight:600}.go-lb-name-saved{color:#86efac;font-weight:600}.go-lb-num{text-align:right;font-variant-numeric:tabular-nums}.go-lb-cell-lvl{color:#67e8f9;font-size:.8rem}.go-lb-cell-time{color:#86eface6;font-size:.8rem}.go-lb-cell-score{color:#4ade80;font-size:.8rem;font-weight:700}.go-lb-loading,.go-lb-empty,.go-lb-error{text-align:center;color:#9ca3af;margin:0;padding:1.25rem .5rem;font-family:ui-monospace,Cascadia Code,Courier New,monospace}.go-lb-error{color:#fca5a5}.btn-go-name-chip{color:#fff;cursor:pointer;text-overflow:ellipsis;white-space:nowrap;background:#16a34a;border:none;border-radius:.25rem;max-width:100%;padding:.2rem .45rem;font-family:inherit;font-size:.7rem;font-weight:700;overflow:hidden}.btn-go-name-chip:hover{background:#15803d}.btn-go-retry-gameover{width:100%;min-height:2.75rem;margin-bottom:.75rem}.game-over-name-modal-title{color:#e2e8f0;margin:0 0 .75rem;font-family:ui-monospace,Cascadia Code,Courier New,monospace;font-size:1.15rem}.game-over-input--modal{text-align:left}.game-over-name-modal-error{color:#fca5a5;min-height:1.1rem;margin:.35rem 0 0;font-size:.8rem}.game-over-name-modal-actions{flex-direction:column;gap:.5rem;margin-top:1rem;display:flex}.modal-card--go-name{text-align:left;max-width:22rem}.modal-card.modal-card--arcade-panel.modal-card--lobby-passcode{text-align:center;width:min(100%,22.5rem);max-width:min(100%,22.5rem);margin-inline:auto}.modal-card--lobby-passcode .game-over-name-modal-actions{text-align:center}.lobby-passcode-otp-hint{text-align:center;margin:0 0 .65rem;line-height:1.45;font-size:.74rem!important}.lobby-passcode-otp{flex-wrap:nowrap;justify-content:center;gap:.4rem;width:100%;margin:0 0 .95rem;display:flex}.game-over-label{color:#cbd5e1;font-family:ui-monospace,Cascadia Code,Courier New,monospace;font-size:.8125rem;font-weight:600}.game-over-input{width:100%;min-height:var(--touch-min);border-radius:var(--radius-sm);color:#f8fafc;text-align:center;background:#020617;border:1px solid #475569;padding:.55rem .75rem;font-size:1rem}.lobby-passcode-otp .lobby-passcode-otp-slot.game-over-input{--lobby-otp-cell:clamp(2.35rem, 10.5vw, 3rem);width:var(--lobby-otp-cell);min-width:var(--lobby-otp-cell);max-width:var(--lobby-otp-cell);flex:0 0 var(--lobby-otp-cell);box-sizing:border-box;min-height:var(--lobby-otp-cell);font-variant-numeric:tabular-nums;padding:.25rem .1rem;font-size:clamp(1.1rem,4.2vw,1.45rem);font-weight:700;line-height:1.1}.btn-go-submit{color:#fff;letter-spacing:.04em;background:#16a34a;border:none;border-radius:.75rem;width:100%;min-height:3rem;font-weight:700;box-shadow:0 10px 15px -3px #00000047}.btn-go-submit:hover{background:#15803d}.game-over-submit-status{color:#94a3b8;min-height:1.25rem;margin:0;font-size:.8125rem}.arcade-btn-stack{flex-direction:column;gap:.75rem;display:flex}.modal-card--arcade-panel .arcade-btn-stack .btn-go-blue,.modal-card--arcade-panel .arcade-btn-stack .btn-go-purple,.modal-card--arcade-panel .arcade-btn-stack .btn-go-gray{letter-spacing:.04em;color:#fff;border:none;border-radius:.75rem;width:100%;min-height:3rem;padding:.85rem 1.25rem;font-size:1.05rem;font-weight:700;transition:background-color .2s,transform .15s;box-shadow:0 10px 15px -3px #00000047}.modal-card--arcade-panel .arcade-btn-stack .btn-go-blue:active,.modal-card--arcade-panel .arcade-btn-stack .btn-go-purple:active,.modal-card--arcade-panel .arcade-btn-stack .btn-go-gray:active{transform:scale(.98)}.modal-card--arcade-panel .btn-go-blue{background:#2563eb}.modal-card--arcade-panel .btn-go-blue:hover{background:#1d4ed8}.modal-card--arcade-panel .btn-go-purple{background:#9333ea}.modal-card--arcade-panel .btn-go-purple:hover{background:#7e22ce}.modal-card--arcade-panel .btn-go-gray{background:#4b5563}.modal-card--arcade-panel .btn-go-gray:hover{background:#374151}.arcade-btn-stack .btn-go-green,.arcade-btn-stack .btn-go-red{letter-spacing:.04em;color:#fff;border:none;border-radius:.75rem;width:100%;min-height:3rem;padding:.85rem 1.25rem;font-size:1.05rem;font-weight:700;transition:background-color .2s,transform .15s;box-shadow:0 10px 15px -3px #00000047}.arcade-btn-stack .btn-go-green{background:#16a34a}.arcade-btn-stack .btn-go-green:hover{background:#15803d}.arcade-btn-stack .btn-go-red{background:#dc2626}.arcade-btn-stack .btn-go-red:hover{background:#b91c1c}.arcade-btn-stack .btn-go-green:active,.arcade-btn-stack .btn-go-red:active{transform:scale(.98)}.modal-card--pause{max-width:26rem}.pause-title{margin-bottom:1.25rem}.pause-quit-confirm-heading{letter-spacing:.04em;text-align:center;color:#f8fafc;margin:0 0 .65rem;font-size:1.125rem;font-weight:700}.pause-quit-confirm-copy{text-align:center;margin:0 0 1.1rem;line-height:1.55}.modal-card--lobby{flex-direction:column;align-items:stretch;max-width:min(40rem,100%);min-height:min(72vh,32rem);display:flex;position:relative}.modal-card--lobby:has(.lobby-room-list-shell--solo-wait){min-height:min(88dvh,40rem)}.modal-card--lobby .lobby-screen-head,.modal-card--lobby .lobby-server-hint,.modal-card--lobby .lobby-match-stats{flex-shrink:0}.lobby-screen-head{box-sizing:border-box;justify-content:center;align-items:center;width:100%;min-height:2.75rem;padding-inline:0 2.85rem;display:flex;position:relative}.lobby-screen-head .lobby-screen-title{margin:0}.btn-lobby-player-name{color:#e2e8f0;cursor:pointer;max-width:min(42%,11.5rem);min-height:2.25rem;font:inherit;box-sizing:border-box;background:#1e293be6;border:1px solid #94a3b880;border-radius:999px;justify-content:center;align-items:center;gap:.28rem;margin:0;padding:.2rem .45rem;display:inline-flex;position:absolute;top:50%;right:0;transform:translateY(-50%)}.btn-lobby-player-name:hover{background:#334155f5;border-color:#60a5fa73}.btn-lobby-player-name:focus-visible{outline-offset:2px;outline:2px solid #60a5fa}.btn-lobby-player-name__glyph{flex-shrink:0;font-size:1.15rem;line-height:1}.btn-lobby-player-name__preview{letter-spacing:.03em;text-transform:uppercase;text-overflow:ellipsis;white-space:nowrap;color:#bae6fd;min-width:0;font-size:.72rem;font-weight:700;overflow:hidden}.btn-lobby-player-name__preview:empty{display:none}.btn-lobby-player-name__preview[hidden]{display:none!important}.btn-lobby-info{color:#fde68a;cursor:pointer;box-sizing:border-box;background:#1e293bd9;border:1px solid #94a3b88c;border-radius:999px;flex-shrink:0;justify-content:center;align-items:center;width:2rem;height:2rem;margin:0;padding:0;font-family:Georgia,Times New Roman,serif;font-size:.95rem;font-style:italic;font-weight:700;line-height:1;display:inline-flex}.btn-lobby-info:hover{background:#334155f2;border-color:#fde04773}.btn-lobby-info:focus-visible{outline-offset:2px;outline:2px solid #fde68a}.btn-lobby-info__glyph{position:relative;top:.04em}.lobby-info-layer{z-index:8;border-radius:inherit;box-sizing:border-box;background:#0f172ae0;justify-content:center;align-items:center;padding:1rem;display:flex;position:absolute;inset:0}.lobby-info-layer.is-hidden{display:none!important}.lobby-info-panel{border-radius:var(--radius-sm);text-align:left;box-sizing:border-box;background:linear-gradient(to bottom right,#0f172a,#1e293b);border:1px solid #64748b8c;width:100%;max-width:26rem;max-height:min(78vh,100%);padding:1.2rem 1.35rem;overflow:auto;box-shadow:0 16px 40px -12px #0000008c}.lobby-info-heading{letter-spacing:.06em;text-transform:uppercase;color:#fde68a;margin:0 0 .75rem;font-family:ui-monospace,Cascadia Code,Courier New,monospace;font-size:.95rem;font-weight:700}.lobby-info-body{color:#e2e8f0;margin:0 0 1rem;font-size:.9375rem;line-height:1.55}.lobby-info-body p{margin:0}.btn-lobby-info-close{width:100%;min-height:2.5rem}.modal-card--lobby .arcade-btn-stack{flex-shrink:0;align-items:stretch;width:100%;min-width:0}.lobby-server-hint{word-break:break-word;margin:0 0 .5rem}.lobby-room-list-shell{border-radius:var(--radius-sm);background:#00000038;border:1px solid #4755698c;flex-direction:column;flex:auto;min-height:0;margin-bottom:1rem;padding:.75rem .85rem;display:flex}.lobby-room-list-head{grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:.4rem .5rem;display:grid}.lobby-subtitle{letter-spacing:.08em;text-transform:uppercase;color:#fde68a;text-align:center;justify-self:center;min-width:0;margin:0;font-family:ui-monospace,Cascadia Code,Courier New,monospace;font-size:.8rem;font-weight:700}.btn-lobby-refresh{color:#cbd5e1;cursor:pointer;box-sizing:border-box;background:#1e293bd9;border:1px solid #94a3b88c;border-radius:999px;flex-shrink:0;justify-content:center;align-items:center;width:2rem;height:2rem;margin:0;padding:0;font-family:inherit;line-height:1;display:inline-flex}.btn-lobby-refresh__glyph{font-size:1.05rem;line-height:1;display:block;transform:translateY(.02em)}.btn-lobby-refresh:hover{color:#f1f5f9;background:#334155f2;border-color:#94a3b8a6}.btn-lobby-refresh:focus-visible{outline-offset:2px;outline:2px solid #94a3b8}.lobby-match-stats{flex-wrap:wrap;justify-content:center;align-items:baseline;gap:.3rem .55rem;margin:.35rem 0 0;font-family:ui-monospace,Cascadia Code,Courier New,monospace;font-size:.72rem;line-height:1.35;display:flex}.lobby-stat{align-items:baseline;gap:.3rem;display:inline-flex}.lobby-stat__label{color:#64748b;text-transform:uppercase;letter-spacing:.06em;font-size:.62rem}.lobby-stat__value{color:#fde68a;font-variant-numeric:tabular-nums;font-weight:700}.lobby-stat__sep{color:#475569;-webkit-user-select:none;user-select:none}.lobby-list-status{min-height:1.25em;margin:.45rem 0 0}ul.lobby-room-list{flex-flow:column;flex:auto;justify-content:flex-start;align-items:stretch;gap:.45rem;min-height:11rem;margin:.5rem 0 0;padding:0;list-style:none;display:flex;overflow:auto}.lobby-room-item{background:#0f172a9e;border:1px solid #64748b73;border-radius:.45rem;flex:none;margin:0;padding:0;display:block}.lobby-room-item__main{flex-flow:row;align-items:stretch;gap:.55rem;min-width:0;min-height:0;padding:.5rem .6rem;display:flex;overflow-x:auto}.lobby-room-item--empty .lobby-room-item__meta{padding:.55rem .65rem;display:block}.lobby-room-item__pills{flex-flow:row;flex:1 1 0;align-items:center;gap:.45rem;min-width:0;display:flex}.lobby-room-item__players{flex-flow:row;flex:1 1 0;justify-content:center;align-items:stretch;gap:.35rem .45rem;min-width:0;display:flex}.lobby-room-item__player-slot{flex-flow:row;flex:1 1 0;justify-content:center;align-items:stretch;gap:.25rem;min-width:0;display:flex}.lobby-room-item__player-slot .lobby-pill--seat,.lobby-room-item__player-slot .btn.btn-lobby-join--seat-slot{width:100%;max-width:100%}.lobby-room-item__player-slot .lobby-pill--seat{display:flex}.lobby-room-item__player-slot .lobby-pill--seat .lobby-pill__text{flex:auto;min-width:0;max-width:none}.lobby-room-item__vs{letter-spacing:.14em;color:#64748b;-webkit-user-select:none;user-select:none;flex-shrink:0;align-self:center;font-family:ui-monospace,Cascadia Code,Courier New,monospace;font-size:.62rem;font-weight:800;line-height:1}.lobby-pill{box-sizing:border-box;background:#1e293be0;border:1px solid #64748b8c;border-radius:999px;flex:none;align-items:stretch;min-height:2.35rem;display:inline-flex;overflow:hidden}.lobby-pill--seat .lobby-pill__glyph{background:#0f172aeb;justify-content:center;align-self:stretch;align-items:center;width:2.45rem;min-width:2.45rem;font-size:1.1rem;line-height:1;display:flex}.lobby-pill--seat .lobby-pill__text{color:#f1f5f9;white-space:nowrap;text-overflow:ellipsis;align-items:center;min-width:0;max-width:min(10.5rem,38vw);padding:0 .65rem 0 .45rem;font-size:.8125rem;font-weight:600;display:flex;overflow:hidden}.lobby-pill__text--fallback{color:#cbd5e1;font-style:italic;font-weight:500}.lobby-pill--empty .lobby-pill__glyph{color:#64748b;font-size:.95rem}.lobby-pill--empty .lobby-pill__text{color:#94a3b8;font-style:italic;font-weight:500}.btn-lobby-join__lock{margin-right:.2rem;font-size:.85rem;line-height:1}.lobby-room-item__meta{color:#f1f5f9;overflow-wrap:break-word;word-break:normal;min-width:0;font-family:ui-monospace,Cascadia Code,Courier New,monospace;font-size:.875rem;line-height:1.4}.lobby-room-item--solo-wait .lobby-room-item__main--solo-wait{width:100%}.lobby-room-list-shell--solo-wait ul.lobby-room-list{flex:auto;justify-content:stretch;min-height:0}.lobby-room-list-shell--solo-wait .lobby-room-item--solo-wait{flex-direction:column;flex:auto;min-height:0;display:flex}.lobby-room-list-shell--solo-wait .lobby-room-item__main--solo-wait{flex-direction:column;flex:auto;justify-content:center;gap:clamp(.65rem,2dvh,1.25rem);min-height:min(52dvh,22rem);padding:clamp(.65rem,3dvh,1.25rem) .65rem;overflow-x:hidden}.lobby-room-item__pills--solo-wait{flex-shrink:0;justify-content:center;align-self:stretch;width:100%}.lobby-fixture-board{box-sizing:border-box;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:.5rem clamp(.75rem,4vw,1.75rem);width:100%;max-width:26rem;margin:0 auto;padding:.2rem 0;display:grid}.lobby-fixture-side{flex-direction:column;align-items:center;gap:.45rem;width:100%;min-width:0;display:flex}.lobby-fixture-crest{background:radial-gradient(circle at 30% 25%,#33415580,#0f172ae6);border:1px solid #64748b73;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:3.2rem;height:3.2rem;display:flex;box-shadow:inset 0 1px #94a3b81f}.lobby-fixture-crest--open{opacity:.92;border-style:dashed}.lobby-fixture-crest__emoji{font-size:1.55rem;line-height:1}.lobby-fixture-crest--open .lobby-fixture-crest__emoji{color:#64748b;font-size:1.35rem}.lobby-fixture-name{color:#f8fafc;text-align:center;white-space:nowrap;text-overflow:ellipsis;max-width:100%;font-size:.8125rem;font-weight:600;line-height:1.3;overflow:hidden}.lobby-fixture-name--open{color:#94a3b8;font-style:italic;font-weight:500}.lobby-fixture-middle{text-align:center;flex-direction:column;flex-shrink:0;justify-content:center;align-items:center;gap:.35rem;display:flex}.lobby-fixture-vs{letter-spacing:.2em;color:#e2e8f0;font-family:ui-monospace,Cascadia Code,Courier New,monospace;font-size:clamp(.72rem,2.8vw,.92rem);font-weight:800;line-height:1}.lobby-fixture-status{letter-spacing:.06em;text-transform:uppercase;margin:0;padding:0;font-weight:600;font-size:.68rem!important}.lobby-solo-wait-private{box-sizing:border-box;flex-direction:column;flex:0 auto;align-items:center;gap:.55rem;width:100%;display:flex}.lobby-solo-wait-badge{color:#e9d5ff;letter-spacing:.08em;text-transform:uppercase;background:#581c8747;border:1px solid #a855f780;border-radius:999px;align-items:center;gap:.35rem;padding:.28rem .65rem;font-family:ui-monospace,Cascadia Code,Courier New,monospace;font-size:.68rem;font-weight:800;display:inline-flex}.lobby-solo-wait-badge__icon{font-size:.95rem;line-height:1}.lobby-solo-wait-passcode-line{flex-wrap:wrap;justify-content:center;align-items:center;gap:.45rem .5rem;width:100%;max-width:26rem;margin:0 auto;display:flex}.lobby-solo-wait-passcode-label{letter-spacing:.06em;text-transform:uppercase;color:#94a3b8;font-family:ui-monospace,Cascadia Code,Courier New,monospace;font-size:.65rem;font-weight:700}.lobby-solo-wait-passcode-otp{flex-wrap:nowrap;flex:auto;justify-content:center;align-items:center;gap:.3rem;min-width:0;display:inline-flex}.lobby-solo-wait-passcode-digit{color:#f8fafc;background:#0f172ad1;border:1px solid #94a3b873;border-radius:.38rem;justify-content:center;align-items:center;min-width:1.85rem;padding:.22rem .42rem;font-family:ui-monospace,Cascadia Code,Courier New,monospace;font-size:.88rem;font-weight:700;line-height:1.2;display:inline-flex}.lobby-solo-wait-hint{text-align:center;max-width:22rem;margin:0;line-height:1.45;font-size:.74rem!important}.lobby-solo-wait-copy-feedback{color:#86efac;min-height:1.15em;margin:0;font-family:ui-monospace,Cascadia Code,Courier New,monospace;font-size:.72rem}.btn-lobby-copy-passcode{color:#f5f3ff;cursor:pointer;box-sizing:border-box;background:#581c8773;border:1px solid #9333ea8c;border-radius:.45rem;flex-shrink:0;justify-content:center;align-items:center;width:2.35rem;height:2.35rem;margin:0;padding:0;display:inline-flex}.btn-lobby-copy-passcode:hover{background:#6b21a899}.btn-lobby-copy-passcode:focus-visible{outline-offset:2px;outline:2px solid #c084fc}.btn-lobby-copy-passcode__glyph{font-size:1rem;line-height:1}.lobby-room-item .btn.btn-lobby-join{letter-spacing:.08em;color:#fff;box-sizing:border-box;border:none;border-radius:999px;flex-flow:row;justify-content:center;align-self:stretch;align-items:stretch;min-width:0;min-height:2.35rem;font-size:.8rem;font-weight:800;display:inline-flex}.lobby-room-item .btn.btn-lobby-join.btn-go-blue{box-shadow:0 4px 12px -2px #2563eb6b}.lobby-room-item .btn.btn-lobby-join.btn-go-purple{box-shadow:0 4px 12px -2px #581c8773}.lobby-room-item .btn.btn-lobby-join:not(.btn-lobby-join--seat-slot){flex:0 auto;width:auto;padding:0 1rem}.lobby-room-item__player-slot .btn.btn-lobby-join--seat-slot{letter-spacing:.06em;text-transform:none;border-radius:999px;flex:auto;justify-content:center;align-items:center;width:100%;max-width:100%;min-height:100%;padding:0 .75rem;font-size:.8125rem;font-weight:800;overflow:hidden}.lobby-room-item__blocked{letter-spacing:.07em;text-transform:uppercase;color:#94a3b8;-webkit-user-select:none;user-select:none;pointer-events:none;background:#1e293bbf;border:1px solid #94a3b873;border-radius:999px;flex-shrink:0;justify-content:center;align-self:stretch;align-items:center;min-height:2.35rem;margin-left:auto;padding:0 .85rem;font-size:.65rem;font-weight:700;display:inline-flex}.modal-card--arcade-panel .btn-go-green{letter-spacing:.04em;color:#fff;background:#16a34a;border:none;border-radius:.75rem;width:100%;min-height:3rem;margin-top:.25rem;font-size:1.05rem;font-weight:700;transition:background-color .2s,transform .15s;box-shadow:0 10px 15px -3px #00000047}.modal-card--arcade-panel .btn-go-green:hover{background:#15803d}.modal-card--arcade-panel .btn-go-green:active{transform:scale(.98)}.arcade-screen-title{color:#facc15;letter-spacing:.1em;margin:0;font-family:ui-monospace,Cascadia Code,Courier New,monospace;font-size:clamp(1.75rem,5vw,2.25rem);font-weight:700}.arcade-screen-sub{color:#94a3b8;margin:.35rem 0 1.25rem;font-family:ui-monospace,Cascadia Code,Courier New,monospace;font-size:.875rem}.settings-fields{border-radius:var(--radius-sm);background:#00000038;border:1px solid #4755698c;flex-direction:column;gap:.65rem;margin-bottom:1.25rem;padding:1rem;display:flex}.settings-row{justify-content:space-between;align-items:center;gap:var(--space-md);min-height:var(--touch-min);color:#e2e8f0;cursor:pointer;font-family:ui-monospace,Cascadia Code,Courier New,monospace;font-size:.9375rem;display:flex}.settings-row-label{font-weight:600}.settings-check{accent-color:#22c55e;cursor:pointer;flex-shrink:0;width:1.25rem;height:1.25rem}.modal-card.modal-card--leaderboard{max-width:min(100%, var(--modal-leaderboard-rem-cap), var(--modal-leaderboard-vw-cap));min-width:var(--modal-leaderboard-min-inline);border-radius:1rem;margin-inline:auto;box-shadow:0 25px 50px #00000073,inset 0 1px #94a3b814}.modal-card:not(.modal-card--main-menu):not(.modal-card--arcade-panel) h2{margin:0 0 var(--space-xs);font-size:1.15rem}.leaderboard-head{align-items:stretch;gap:var(--space-sm);flex-direction:column;display:flex}@media (width>=480px){.leaderboard-head{justify-content:space-between;align-items:flex-start;gap:var(--space-md);flex-direction:row}}.leaderboard-head-text{min-width:0}.leaderboard-title{color:#facc15;letter-spacing:.02em;margin:0;font-size:1.15rem;line-height:1.2}@media (width>=480px){.leaderboard-title{font-size:1.35rem}}.leaderboard-subtitle{margin:var(--space-xs) 0 0;color:#94a3b8;font-size:.8125rem;line-height:1.4}.leaderboard-status:not([hidden]){margin:calc(var(--space-xs) * -1) 0 0}.leaderboard-panel{border-radius:var(--radius-sm);background:#00000038;border:1px solid #4755698c;flex-direction:column;height:min(34rem,max(13rem,58dvh));min-height:0;display:flex;overflow:hidden}.leaderboard-grid-header{padding:var(--space-sm) var(--space-sm) var(--space-xs);text-transform:uppercase;letter-spacing:.08em;color:#64748b;gap:var(--space-xs) .4rem;border-bottom:1px solid #475569bf;flex-shrink:0;grid-template-columns:1.5rem minmax(0,1fr) minmax(0,1fr) minmax(3.5rem,auto) minmax(4.5rem,auto);align-items:center;font-family:ui-monospace,Cascadia Code,Courier New,monospace;font-size:.625rem;display:grid}.leaderboard-grid-header.is-hidden{display:none}.leaderboard-th-num{text-align:right}.leaderboard-scroll{-webkit-overflow-scrolling:touch;min-height:0;padding:var(--space-sm);flex:1;overflow:auto}.leaderboard-rows{gap:var(--space-sm);flex-direction:column;display:flex}.leaderboard-row{gap:var(--space-xs) .4rem;padding:var(--space-sm) var(--space-xs);border-radius:var(--radius-sm);background:#1e293b;border:1px solid #0000;grid-template-columns:1.5rem minmax(0,1fr) minmax(0,1fr) minmax(3.5rem,auto) minmax(4.5rem,auto);align-items:center;font-family:ui-monospace,Cascadia Code,Courier New,monospace;font-size:.8125rem;display:grid}@media (width>=480px){.leaderboard-grid-header,.leaderboard-row:not(.leaderboard-row--match-session){grid-template-columns:1.75rem minmax(0,1fr) minmax(0,1fr) minmax(4rem,auto) minmax(5rem,auto)}.leaderboard-row:not(.leaderboard-row--match-session){padding:var(--space-sm)}}.leaderboard-row.leaderboard-row--match-session.leaderboard-row--fixture{padding:.65rem .5rem;font-family:system-ui,Segoe UI,Roboto,sans-serif;display:block}.match-fixture{grid-template-columns:minmax(0,1.1fr) minmax(2rem,auto) minmax(4.75rem,auto) minmax(2rem,auto) minmax(0,1.1fr);align-items:center;gap:.35rem .45rem;width:100%;display:grid}.match-fixture__side{text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:.35rem;min-width:0;display:flex}.match-fixture__side--away{grid-column:5}.match-fixture__crest{background:#0f172ae6;border:1px solid #475569a6;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:2.5rem;height:2.5rem;font-size:1.35rem;line-height:1;display:flex}.match-fixture__name{color:#f1f5f9;-webkit-line-clamp:2;word-break:break-word;-webkit-box-orient:vertical;width:100%;font-size:.6875rem;font-weight:600;line-height:1.25;display:-webkit-box;overflow:hidden}.match-fixture__score{font-variant-numeric:tabular-nums;color:#f8fafc;justify-self:center;font-size:clamp(1.35rem,4.8vw,1.95rem);font-weight:800;line-height:1}.match-fixture__score--home{grid-column:2}.match-fixture__score--away{grid-column:4}.match-fixture__meta{text-align:center;flex-direction:column;grid-column:3;justify-content:center;align-items:center;gap:.12rem;padding:0 .15rem;display:flex}.match-fixture__status{letter-spacing:.06em;text-transform:uppercase;color:#94a3b8;font-size:.5625rem;font-weight:700;line-height:1.2}.match-fixture__when{font-variant-numeric:tabular-nums;color:#cbd5e1;font-family:ui-monospace,Cascadia Code,Courier New,monospace;font-size:.59375rem;line-height:1.25}.match-fixture__draws{color:#64748b;font-size:.5rem;font-weight:600;line-height:1.2}@media (width<=340px){.match-fixture{grid-template-columns:minmax(0,1fr) minmax(1.75rem,auto) minmax(4.25rem,auto) minmax(1.75rem,auto) minmax(0,1fr);gap:.25rem .3rem}.leaderboard-row.leaderboard-row--match-session.leaderboard-row--fixture{padding:.5rem .35rem}.match-fixture__crest{width:2.1rem;height:2.1rem;font-size:1.15rem}.match-fixture__name{-webkit-line-clamp:3;font-size:.5625rem}.match-fixture__score{font-size:clamp(1.1rem,6vw,1.45rem)}.match-fixture__when{font-size:.53125rem}}.leaderboard-rank{color:#facc15;font-size:.9rem;font-weight:700}@media (width>=480px){.leaderboard-rank{font-size:1.05rem}}.leaderboard-player-block{min-width:0}.leaderboard-player-line{align-items:center;gap:.25rem;min-width:0;display:flex}.lb-flag{vertical-align:middle;flex-shrink:0;line-height:0;display:inline-flex}.lb-flag img{object-fit:cover;border-radius:2px;display:block}.leaderboard-player-name{color:#f1f5f9;text-overflow:ellipsis;white-space:nowrap;font-weight:600;overflow:hidden}.leaderboard-player-date{color:#64748b;white-space:nowrap;text-overflow:ellipsis;margin-top:.2rem;font-family:system-ui,Segoe UI,Roboto,sans-serif;font-size:.6875rem;overflow:hidden}.leaderboard-row .leaderboard-player-date{grid-column:2/-1;margin-top:0}.leaderboard-cell-num{text-align:right;font-variant-numeric:tabular-nums;color:#67e8f9;font-size:.8125rem}.leaderboard-cell-time{text-align:right;font-variant-numeric:tabular-nums;color:#86efac;font-size:.8125rem}.leaderboard-cell-score{text-align:right;font-variant-numeric:tabular-nums;color:#4ade80;font-size:1rem;font-weight:700;line-height:1.2}.leaderboard-empty{text-align:center;padding:2rem var(--space-md);color:#94a3b8;font-size:.9375rem}.leaderboard-empty--warn{color:#fcd34d}.leaderboard-empty--error{color:#fca5a5}.btn--secondary{background:#334155;border-color:#94a3b866}.btn--secondary:hover:not(:disabled){background:#475569}.btn--secondary:disabled{opacity:.45;cursor:not-allowed}.btn--compact{flex-shrink:0;align-self:flex-start;width:auto;min-height:2.5rem;padding:.4rem .85rem;font-size:.8125rem;font-weight:700}@keyframes modalCardEnter{0%{opacity:0;transform:scale(.96)translateY(-12px)}to{opacity:1;transform:scale(1)translateY(0)}}.modal-card-enter{animation:.3s ease-out forwards modalCardEnter}.leaderboard-row--highlight{box-shadow:0 0 0 1px #4ade8059,inset 0 1px #bbf7d01f;background:#14532d8c!important;border-color:#4ade80a6!important}.detail{color:#cbd5e1;margin:0}.btn{min-height:var(--touch-min);border-radius:var(--radius-sm);color:#f8fafc;cursor:pointer;touch-action:manipulation;background:#1e293b;border:1px solid #94a3b873;justify-content:center;align-items:center;width:100%;padding:.55rem 1rem;font-size:.9375rem;display:inline-flex}.btn:hover{background:#334155}.btn.primary{background:#2563eb;border-color:#3b82f6}.btn.primary:hover{background:#1d4ed8}.btn-row{gap:var(--space-sm);flex-direction:column;display:flex}.btn-row .btn{width:100%}.label{color:#94a3b8;font-size:.85rem}.row{justify-content:space-between;align-items:center;gap:var(--space-md);flex-wrap:wrap;font-size:.9375rem;display:flex}.fps-overlay{top:calc(3.5rem + env(safe-area-inset-top,0px));right:calc(var(--space-md) + env(safe-area-inset-right,0px));z-index:30;color:#e2e8f0;padding:var(--space-xs) var(--space-sm);background:#0000008c;border-radius:6px;font-family:ui-monospace,monospace;font-size:.75rem;position:fixed}@media (orientation:landscape) and (height<=500px),(orientation:landscape) and (height>=501px) and (height<=1200px) and (width>=700px) and (width<=1400px){:root{--modal-leaderboard-vw-cap:92vw}.modal{padding:var(--space-sm);padding-bottom:calc(var(--space-sm) + env(safe-area-inset-bottom,0px));padding-left:calc(var(--space-sm) + env(safe-area-inset-left,0px));padding-right:calc(var(--space-sm) + env(safe-area-inset-right,0px));overflow:hidden}.modal-card.modal-card--main-menu{grid-template-columns:1.1fr 1fr;grid-template-areas:"brand actions""foot foot";align-items:center;gap:.5rem 1.25rem;max-width:min(44rem,100%);padding:.85rem 1.1rem;display:grid}.modal-card.modal-card--main-menu .main-menu-brand{text-align:left;grid-area:brand;margin-bottom:0}.modal-card.modal-card--main-menu .main-menu-actions{grid-area:actions;gap:.45rem}.modal-card.modal-card--main-menu .main-menu-footnote{grid-area:foot;margin:.25rem 0 0;padding-top:.4rem;font-size:.55rem;line-height:1.35}.modal-card.modal-card--main-menu .main-menu-footnote span{display:inline}.modal-card.modal-card--main-menu .main-menu-footnote span+span:before{content:" · ";color:#475569}.main-menu-title-line1{font-size:clamp(1.4rem,5.5vw,2rem)}.main-menu-title-line2{margin:.1rem 0 .4rem;font-size:clamp(1rem,3.6vw,1.4rem)}.main-menu-tagline{font-size:clamp(.7rem,1.9vw,.85rem);line-height:1.35}.modal-card.modal-card--main-menu .btn-menu-play,.modal-card.modal-card--main-menu .btn-menu-neutral,.modal-card.modal-card--main-menu .btn-menu-accent{border-radius:.55rem;min-height:2.4rem;padding:.45rem 1rem;font-size:.9rem;box-shadow:0 6px 10px -4px #00000059}.modal-card.modal-card--arcade-panel{gap:var(--space-sm);max-height:100%;padding:.85rem 1.1rem;overflow-y:auto}.arcade-screen-title{font-size:clamp(1.25rem,4vw,1.65rem)}.arcade-screen-sub{margin:.2rem 0 .6rem;font-size:.75rem}.modal-card--pause{max-width:30rem}.pause-title{margin-bottom:.5rem}.modal-card--pause .arcade-btn-stack{grid-template-columns:1fr 1fr;gap:.5rem;display:grid}.modal-card--pause .arcade-btn-stack .btn{border-radius:.55rem;min-height:2.4rem;padding:.45rem .85rem;font-size:.85rem}.modal-card.modal-card--arcade-panel.modal-card--lobby{text-align:left;box-sizing:border-box;grid-template-rows:auto auto auto minmax(0,1fr);grid-template-columns:minmax(0,2fr) minmax(8.25rem,.78fr);align-items:stretch;gap:.3rem .65rem;width:100%;max-width:min(48rem,100%);height:100%;min-height:0;max-height:100%;display:grid;overflow:hidden}.modal-card--lobby .lobby-screen-head{grid-area:1/2;justify-content:flex-start;min-height:2.25rem}.modal-card--lobby .lobby-screen-head .lobby-screen-title{text-align:left;font-size:clamp(1.15rem,3.5vw,1.5rem)}.modal-card--lobby .lobby-server-hint{grid-area:2/2;margin:0;font-size:.68rem;line-height:1.35}.modal-card--lobby .lobby-match-stats{grid-area:3/2;justify-content:flex-start;margin:.15rem 0 0;font-size:.65rem}.modal-card--lobby .lobby-room-list-shell{grid-area:1/1/-1;min-height:0;margin-bottom:0;padding:.55rem .65rem}.modal-card--lobby .lobby-subtitle{font-size:.72rem}.modal-card--lobby .lobby-stat__label{font-size:.58rem}.modal-card--lobby .lobby-list-status{min-height:1em;margin-top:.3rem;font-size:.65rem}.modal-card--lobby .lobby-room-list{min-height:0;margin-top:.35rem}.modal-card--lobby .lobby-room-list-shell--solo-wait ul.lobby-room-list{flex:auto;justify-content:stretch;min-height:0}.modal-card--lobby .lobby-room-list-shell--solo-wait .lobby-room-item__main--solo-wait{min-height:min(40dvh,18rem)}.modal-card--lobby .arcade-btn-stack{grid-area:4/2;justify-content:flex-end;align-self:stretch;align-items:stretch;gap:.4rem;width:100%;min-width:0;margin-top:.35rem}.modal-card--lobby .arcade-btn-stack .btn{box-sizing:border-box;border-radius:.55rem;width:100%;min-width:0;max-width:100%;min-height:2.35rem;margin-top:0;padding:.4rem .6rem;font-size:.78rem}.modal-card--lobby .lobby-room-item .btn.btn-lobby-join--seat-slot{min-height:2.15rem;padding:0 .55rem;font-size:.71rem}.modal-card--lobby .lobby-info-panel{max-height:min(88dvh,100%);padding:.85rem 1rem}.modal-card--lobby .lobby-info-body{font-size:.8rem;line-height:1.45}.modal-card--game-over{text-align:left;grid-template-rows:minmax(0,1fr) auto auto;grid-template-columns:minmax(0,.95fr) minmax(0,1.5fr);gap:.35rem 1rem;max-width:min(58rem,100%);height:100%;max-height:100%;display:grid;overflow:hidden}.modal-card--game-over .game-over-side{text-align:left;flex-direction:column;grid-area:1/1;gap:.15rem;min-width:0;min-height:0;display:flex;overflow:hidden}.modal-card--game-over .game-over-lb-shell{grid-area:1/2/-1;align-self:stretch;height:auto;min-height:0;max-height:100%;margin-bottom:0}.modal-card--game-over .btn-go-retry-gameover{grid-area:2/1}.modal-card--game-over .arcade-btn-stack{grid-area:3/1}.modal-card--game-over:has(#go-fixture-banner:not(.is-hidden)){grid-template-rows:auto minmax(0,1fr) auto auto auto;row-gap:.5rem}.modal-card--game-over:has(#go-fixture-banner:not(.is-hidden)) #go-fixture-banner{box-sizing:border-box;grid-area:1/1/auto/-1;place-self:stretch stretch;width:100%;max-width:none;margin-bottom:0;margin-left:0;margin-right:0}.modal-card--game-over:has(#go-fixture-banner:not(.is-hidden)) .game-over-side{grid-row:2}.modal-card--game-over:has(#go-fixture-banner:not(.is-hidden)) .game-over-lb-shell{grid-row:2/-1}.modal-card--game-over:has(#go-fixture-banner:not(.is-hidden)) .btn-go-retry-gameover{grid-row:3}.modal-card--game-over:has(#go-fixture-banner:not(.is-hidden)) #go-rematch-row{grid-area:4/1;margin-top:0}.modal-card--game-over:has(#go-fixture-banner:not(.is-hidden)) .arcade-btn-stack{grid-row:5}.modal-card--game-over:not(:has(.game-over-lb-shell:not(.is-hidden))){text-align:center;grid-template-columns:minmax(0,1fr)}.modal-card--game-over:not(:has(.game-over-lb-shell:not(.is-hidden))) .game-over-side{text-align:center;align-items:center}.game-over-heading{margin:0;font-size:clamp(1.3rem,4.5vw,1.85rem)}.game-over-fixture-banner{margin-bottom:.45rem}.game-over-fixture-banner .match-fixture{padding:.5rem .4rem}.game-over-fixture-banner .match-fixture__score{font-size:clamp(1.15rem,5vw,1.55rem)}.game-over-score-label{margin:.05rem 0 0;font-size:.75rem}.game-over-score-main{margin:0;font-size:clamp(1.4rem,4.5vw,2rem);line-height:1.05}.game-over-session-score{margin:.1rem 0 .35rem;font-size:clamp(1rem,3.2vw,1.25rem)}.game-over-run-stats{min-height:0;margin:.1rem 0 .25rem;font-size:.7rem}.modal-card--game-over .arcade-btn-stack{flex-direction:column;align-self:stretch;gap:.4rem;margin-top:.2rem;display:flex}.modal-card--game-over .arcade-btn-stack .btn{letter-spacing:.02em;white-space:nowrap;border-radius:.5rem;width:100%;min-height:2.2rem;padding:.35rem .5rem;font-size:.78rem}.modal-card--game-over .go-lb-grid--rounds:not(.go-lb-grid--rounds-with-kills),.modal-card--game-over .go-lb-row--round:not(.go-lb-row--round-with-kills){grid-template-columns:1.2rem minmax(0,1fr) minmax(0,1fr) minmax(2.8rem,auto);gap:.1rem .24rem;padding:.3rem .25rem;font-size:.6rem}.modal-card--game-over .go-lb-grid--rounds-with-kills,.modal-card--game-over .go-lb-row--round-with-kills{grid-template-columns:1.2rem minmax(0,1fr) minmax(3.75rem,auto) minmax(0,1fr) minmax(2.75rem,auto);gap:.1rem .28rem;padding:.3rem .28rem;font-size:.62rem}.modal-card--game-over .go-lb-num{font-size:.65rem}.modal-card--game-over .go-lb-date{font-size:.55rem}.modal-card--game-over .go-lb-kills{font-size:.62rem}.modal-card--arcade-panel .arcade-btn-stack .btn-go-blue,.modal-card--arcade-panel .arcade-btn-stack .btn-go-purple,.modal-card--arcade-panel .arcade-btn-stack .btn-go-gray{border-radius:.55rem;min-height:2.4rem;padding:.45rem .85rem;font-size:.85rem}.btn-go-retry-gameover{min-height:2.4rem;margin-bottom:.4rem;font-size:.85rem}.modal-card.modal-card--arcade-panel.modal-card--settings{text-align:left;grid-template-rows:auto auto minmax(0,1fr);grid-template-columns:minmax(8.25rem,10.75rem) minmax(0,1fr);align-items:start;gap:.3rem .75rem;width:100%;max-width:min(42rem,100%);display:grid}.modal-card--settings .arcade-screen-title{grid-area:1/1;justify-self:start;margin:0}.modal-card--settings .arcade-screen-sub{grid-area:2/1;justify-self:start;margin:0}.modal-card--settings .settings-fields{grid-area:1/2/-1;align-self:stretch;gap:.35rem;min-height:0;max-height:none;margin-bottom:0;padding:.55rem .75rem;overflow:hidden auto}.modal-card--settings .settings-row,.settings-row{min-height:2.25rem;font-size:.85rem}.modal-card--arcade-panel:not(.modal-card--settings) .btn-go-green{border-radius:.55rem;min-height:2.4rem;margin-top:.15rem;font-size:.9rem}.modal-card--settings>.btn.btn-go-green{border-radius:.55rem;grid-area:3/1;place-self:end stretch;width:100%;min-height:2.4rem;margin-top:0;font-size:.85rem}.modal-card--go-name{max-width:26rem}.game-over-name-modal-actions{flex-direction:row;margin-top:.5rem}.modal-card.modal-card--leaderboard{box-sizing:border-box;text-align:left;grid-template-rows:auto auto minmax(0,1fr);grid-template-columns:minmax(8.25rem,10.75rem) minmax(0,1fr);align-self:stretch;gap:.35rem .65rem;width:100%;height:100%;min-height:0;max-height:100%;padding:.85rem .95rem;display:grid;overflow:hidden}.modal-card--leaderboard .leaderboard-head{flex-direction:column;grid-area:1/1;justify-content:flex-start;align-items:flex-start;gap:.35rem;margin-bottom:0}.modal-card--leaderboard .leaderboard-title{font-size:clamp(1.1rem,3.5vw,1.45rem)}.modal-card--leaderboard .leaderboard-subtitle{margin:.1rem 0 0;font-size:.7rem;line-height:1.35}.modal-card--leaderboard .btn--compact{min-height:2.2rem;padding:.3rem .65rem;font-size:.78rem}.modal-card--leaderboard .leaderboard-status:not([hidden]){grid-area:2/1;margin:0;font-size:.72rem}.modal-card--leaderboard .leaderboard-panel{flex:none;grid-area:1/2/-1;align-self:stretch;height:100%;min-height:0;max-height:none}.modal-card--leaderboard .leaderboard-scroll{padding-left:.35rem;padding-right:.35rem}.modal-card--leaderboard>.btn.primary{box-sizing:border-box;border-radius:.5rem;grid-area:3/1;align-self:end;width:100%;min-height:2.2rem;margin-top:.25rem;padding:.35rem .5rem;font-size:.85rem}.modal-card--leaderboard .leaderboard-grid-header,.modal-card--leaderboard .leaderboard-row:not(.leaderboard-row--match-session){grid-template-columns:1.1rem minmax(0,.9fr) minmax(0,.9fr) minmax(2.6rem,auto) minmax(3rem,auto);gap:.09rem .2rem;padding:.3rem .25rem;font-size:.62rem}.modal-card--leaderboard .leaderboard-row.leaderboard-row--fixture{padding:.42rem .32rem}.modal-card--leaderboard .leaderboard-row.leaderboard-row--fixture .match-fixture{grid-template-columns:minmax(0,1fr) minmax(1.65rem,auto) minmax(4rem,auto) minmax(1.65rem,auto) minmax(0,1fr);gap:.28rem .32rem}.modal-card--leaderboard .match-fixture__crest{width:2.15rem;height:2.15rem;font-size:1.1rem}.modal-card--leaderboard .match-fixture__name{font-size:.58rem}.modal-card--leaderboard .match-fixture__score{font-size:clamp(1.05rem,5.2vw,1.5rem)}.modal-card--leaderboard .match-fixture__status{font-size:.5rem}.modal-card--leaderboard .match-fixture__when{font-size:.53rem}.modal-card--leaderboard .match-fixture__draws{font-size:.47rem}.modal-card--leaderboard .leaderboard-rank{font-size:.8rem}.modal-card--leaderboard .leaderboard-cell-num,.modal-card--leaderboard .leaderboard-cell-time,.modal-card--leaderboard .leaderboard-cell-score,.modal-card--leaderboard .leaderboard-player-name{font-size:.72rem}.modal-card--leaderboard .leaderboard-player-date{font-size:.58rem}.modal-card--leaderboard .leaderboard-rows{gap:.35rem}}@media (width>=480px){.btn-row{flex-flow:wrap}.btn-row .btn{flex:auto;width:auto;min-width:min(100%,140px)}.modal-card:not(.modal-card--main-menu):not(.modal-card--arcade-panel) .btn:not(.btn-row .btn){align-self:flex-start;width:auto}}@media (width>=768px){.desktop-keys-hint{display:inline}:root{--space-lg:1.125rem;--space-xl:1.5rem;--modal-leaderboard-vw-cap:92vw;--modal-leaderboard-min-inline:min(380px, 100%)}#app-root{max-width:1100px;padding:var(--space-lg) var(--space-xl) 2rem;padding-left:calc(var(--space-xl) + env(safe-area-inset-left,0px));padding-right:calc(var(--space-xl) + env(safe-area-inset-right,0px))}.app-header h1{font-size:1.75rem}.tagline{font-size:.95rem}.layout{align-items:flex-start;gap:var(--space-lg);margin-top:var(--space-lg);flex-flow:wrap}.canvas-wrap{flex:640px;min-width:280px}.side-panel{flex:0 0 220px;width:auto}.modal-card:not(.modal-card--main-menu):not(.modal-card--arcade-panel):not(.modal-card--leaderboard){min-width:min(320px,100%);max-width:480px;padding:var(--space-xl) 1.5rem}.modal-card.modal-card--main-menu{max-width:28rem;padding:2rem 1.75rem}.modal-card.modal-card--arcade-panel{padding:2rem 1.75rem}.modal-card:not(.modal-card--main-menu):not(.modal-card--arcade-panel) h2{font-size:1.25rem}.modal-card:not(.modal-card--main-menu):not(.modal-card--arcade-panel) .btn{width:auto;min-height:auto}.game-bottom-bar{padding:var(--space-sm) var(--space-md);font-size:.8rem}}body[data-shell-state=playing],body[data-shell-state=paused],body[data-shell-state=gameOver]{touch-action:manipulation;min-height:100%;overflow:hidden}:is(html:has(body[data-shell-state=playing]),html:has(body[data-shell-state=paused]),html:has(body[data-shell-state=gameOver])){height:100dvh;max-height:100dvh;overflow:hidden}body[data-shell-state=playing],body[data-shell-state=paused],body[data-shell-state=gameOver]{height:100dvh;max-height:100dvh}body[data-shell-state=playing] #app-root,body[data-shell-state=paused] #app-root,body[data-shell-state=gameOver] #app-root{width:100%;max-width:none;height:var(--app-vh,100dvh);max-height:var(--app-vh,100dvh);box-sizing:border-box;padding-top:calc(var(--space-xs) + env(safe-area-inset-top,0px));padding-bottom:calc(var(--space-xs) + env(safe-area-inset-bottom,0px));padding-left:calc(var(--space-md) + env(safe-area-inset-left,0px));padding-right:calc(var(--space-md) + env(safe-area-inset-right,0px));flex-direction:column;margin-left:0;margin-right:0;display:flex;overflow:hidden}@media (orientation:portrait) and (width<=767px){body[data-shell-state=playing] #app-root,body[data-shell-state=paused] #app-root,body[data-shell-state=gameOver] #app-root{padding-left:env(safe-area-inset-left,0px);padding-right:env(safe-area-inset-right,0px)}body[data-shell-state=playing] .canvas-wrap,body[data-shell-state=paused] .canvas-wrap,body[data-shell-state=gameOver] .canvas-wrap{border-left:none;border-right:none;border-radius:0}}@media (orientation:landscape) and (height<=500px),(orientation:landscape) and (height>=501px) and (height<=1200px) and (width>=700px) and (width<=1400px){body[data-shell-state=playing] #app-root,body[data-shell-state=paused] #app-root,body[data-shell-state=gameOver] #app-root{padding-top:env(safe-area-inset-top,0px);padding-bottom:env(safe-area-inset-bottom,0px);padding-left:calc(var(--space-xs) + env(safe-area-inset-left,0px));padding-right:calc(var(--space-xs) + env(safe-area-inset-right,0px))}body[data-shell-state=playing] .canvas-wrap,body[data-shell-state=paused] .canvas-wrap,body[data-shell-state=gameOver] .canvas-wrap{border-left:none;border-right:none;border-radius:0}body[data-shell-state=playing] .fps-overlay,body[data-shell-state=paused] .fps-overlay,body[data-shell-state=gameOver] .fps-overlay{top:calc(var(--space-xs) + env(safe-area-inset-top,0px))}}body[data-shell-state=playing] .app-header,body[data-shell-state=paused] .app-header,body[data-shell-state=gameOver] .app-header,body[data-shell-state=playing] .side-panel,body[data-shell-state=paused] .side-panel,body[data-shell-state=gameOver] .side-panel{display:none}body[data-shell-state=playing] .layout,body[data-shell-state=paused] .layout,body[data-shell-state=gameOver] .layout{flex-direction:column;flex:auto;gap:0;min-height:0;margin-top:0}body[data-shell-state=playing] .canvas-wrap,body[data-shell-state=paused] .canvas-wrap,body[data-shell-state=gameOver] .canvas-wrap{flex-direction:column;flex:auto;min-height:0;max-height:100%;display:flex;overflow:hidden}body[data-shell-state=playing] #gameCanvas,body[data-shell-state=paused] #gameCanvas,body[data-shell-state=gameOver] #gameCanvas{flex:auto;width:100%;height:100%;min-height:0}body[data-shell-state=playing] .ingame-hud-strip,body[data-shell-state=paused] .ingame-hud-strip,body[data-shell-state=gameOver] .ingame-hud-strip{flex-shrink:0;order:-1;position:relative;top:auto;left:auto;right:auto}body[data-shell-state=playing] .game-bottom-bar,body[data-shell-state=paused] .game-bottom-bar,body[data-shell-state=gameOver] .game-bottom-bar{background:#020617eb;flex-shrink:0;position:relative;bottom:auto;left:auto;right:auto}body[data-shell-state=playing] .fps-overlay,body[data-shell-state=paused] .fps-overlay,body[data-shell-state=gameOver] .fps-overlay{top:calc(var(--space-sm) + env(safe-area-inset-top,0px))}html:not([data-colyseus-debug-panel=on]) #colyseus-debug-shadow-host{display:none!important}#warScene,#modalMenu,#modalLobby,#modalLobbyPasscode,#modalGameOver,#modalGameOverName,#pauseOverlay,#modalSettings,#modalHighScores,.arena-muster{--wc-ink:#3b2716;--wc-ink-soft:#6b4f33;--wc-parchment:#efe0bd;--wc-gold:#f7c948;--wc-gold-deep:#b9851f;--wc-blue:#3f7fd6;--wc-red:#d1463c;--wc-sea:#47aba9;--wc-sea-deep:#2e7f86;--wc-font-title:"Jacquard 12", "Pixelify Sans", Georgia, serif;--wc-font:"Pixelify Sans", ui-rounded, system-ui, sans-serif}body[data-shell-state=mainMenu],body[data-shell-state=lobby],body[data-shell-parent=mainMenu]{overflow:hidden}html:has(body[data-shell-state=mainMenu]){overflow:hidden}html:has(body[data-shell-state=lobby]){overflow:hidden}html:has(body[data-shell-parent=mainMenu]){overflow:hidden}.war-scene{pointer-events:none;z-index:19;background:var(--wc-sea);display:none;position:fixed;inset:0;overflow:hidden}body[data-shell-state=mainMenu] .war-scene,body[data-shell-state=lobby] .war-scene,body[data-shell-parent=mainMenu] .war-scene{display:block}#modalMenu,#modalLobby{background:0 0;overflow:hidden}.war-scene *,.war-aftermath *,#pauseOverlay .modal-card,#modalSettings .modal-card,#modalHighScores .modal-card,#modalMenu .modal-card--main-menu,#modalLobby .modal-card--lobby,#modalGameOver .modal-card--game-over{image-rendering:pixelated}.war-scene__sea{background:radial-gradient(ellipse at 50% 55%, transparent 40%, #1646548c 100%), repeating-linear-gradient(115deg, transparent 0 46px, #ffffff12 46px 50px, transparent 50px 96px), repeating-linear-gradient(65deg, transparent 0 70px, #ffffff0d 70px 73px, transparent 73px 140px), var(--wc-sea);animation:26s linear infinite wc-sea-drift;position:absolute;inset:-20%}@keyframes wc-sea-drift{to{transform:translate(96px,40px)}}.war-scene__cloud{filter:blur(6px);background:#ffffff8c;border-radius:50%;width:220px;height:70px;animation:90s linear infinite wc-cloud;position:absolute;box-shadow:60px -22px 0 6px #ffffff80,120px 6px 0 -4px #ffffff73,40px 150px 30px -10px #143c462e}.war-scene__cloud--a{animation-delay:-20s;top:6%}.war-scene__cloud--b{animation-duration:120s;animation-delay:-75s;top:42%;transform:scale(.7)}.war-scene__cloud--c{animation-duration:105s;animation-delay:-40s;top:74%;transform:scale(.85)}@keyframes wc-cloud{0%{left:-320px}to{left:110%}}.war-scene .war-unit,.war-scene .war-tree,.war-scene .war-sheep,.war-scene .war-pawn,.war-scene .war-rocks{width:var(--fw);height:var(--fh);background-image:var(--sheet);background-repeat:no-repeat;background-size:calc(var(--fw) * var(--frames)) var(--fh);animation:wc-frames var(--dur,.9s) steps(var(--frames)) infinite;position:absolute}@keyframes wc-frames{0%{background-position-x:0}to{background-position-x:calc(var(--fw) * var(--frames) * -1)}}.war-scene .war-rocks{--sheet:url(../assets/props/water/WaterRocks_01.png);--fw:40px;--fh:40px;--frames:16;--dur:2.4s}.war-scene .war-rocks--a{top:12%;left:30%}.war-scene .war-rocks--b{--sheet:url(../assets/props/water/WaterRocks_03.png);animation-delay:-1.1s;bottom:9%;right:27%}.war-scene .war-rocks--c{animation-delay:-.5s;top:58%;left:18%}.war-scene .war-isle{width:300px;height:230px;position:absolute;bottom:5vh}.war-scene .war-isle--blue{left:max(0px,50% - 24rem - 330px)}.war-scene .war-isle--red{right:max(0px,50% - 24rem - 330px)}.war-scene .war-isle__body{position:absolute;inset:0}.war-scene .war-isle--red .war-isle__body{transform:scaleX(-1)}.war-scene .war-isle__land{filter:drop-shadow(0 10px #14465059);border-style:solid;border-width:32px 32px 64px;border-image:url(../assets/ui/lobby/plateau.png) 64 64 128 fill/32px 32px 64px round;position:absolute;inset:0}.war-scene .war-castle{background:50%/contain no-repeat;width:224px;height:179px;position:absolute;top:-84px;left:30px}.war-scene .war-castle--blue{background-image:url(../assets/buildings/blue/Castle.png)}.war-scene .war-castle--red{background-image:url(../assets/buildings/red/Castle.png)}.war-scene .war-flag{background:#3b2716;border-radius:2px;width:4px;height:58px;position:absolute;top:-128px;left:140px}.war-scene .war-flag:after{content:"";clip-path:polygon(0 0,100% 12%,82% 50%,100% 88%,0 100%);transform-origin:0;width:34px;height:22px;animation:1.1s ease-in-out infinite alternate wc-flag;position:absolute;top:2px;left:4px}.war-scene .war-flag--blue:after{background:linear-gradient(90deg,#2f5fb0,#4f8fe8)}.war-scene .war-flag--red:after{background:linear-gradient(90deg,#a8322b,#e0524a)}@keyframes wc-flag{0%{transform:skewY(-6deg)scaleX(1)}to{transform:skewY(5deg)scaleX(.86)}}.war-scene .war-tree{--sheet:url(../assets/props/trees/Tree1.png);--fw:128px;--fh:128px;--frames:6;--dur:1.2s;top:-70px;left:196px}.war-scene .war-unit--warrior-blue{--sheet:url(../assets/units/blue/Warrior_Idle.png);--fw:96px;--fh:96px;--frames:8;top:78px;left:150px}.war-scene .war-unit--archer-blue{--sheet:url(../assets/units/blue/Archer_Idle.png);--fw:96px;--fh:96px;--frames:6;animation-delay:-.3s;top:70px;left:70px}.war-scene .war-unit--lancer-blue{--sheet:url(../assets/units/blue/Lancer_Idle.png);--fw:150px;--fh:150px;--frames:12;--dur:1.4s;animation-delay:-.6s;top:38px;left:165px}.war-scene .war-unit--warrior-red{--sheet:url(../assets/units/red/Warrior_Idle.png);--fw:96px;--fh:96px;--frames:8;animation-delay:-.4s;top:78px;left:150px}.war-scene .war-unit--archer-red{--sheet:url(../assets/units/red/Archer_Idle.png);--fw:96px;--fh:96px;--frames:6;top:70px;left:70px}.war-scene .war-unit--lancer-red{--sheet:url(../assets/units/red/Lancer_Idle.png);--fw:150px;--fh:150px;--frames:12;--dur:1.4s;animation-delay:-.2s;top:38px;left:165px}.war-scene .war-islet{width:190px;height:120px;position:absolute}.war-scene .war-islet__land{filter:drop-shadow(0 6px #1446504d);border-style:solid;border-width:32px;border-image:url(../assets/ui/lobby/island.png) 64 fill/32px round;position:absolute;inset:0}.war-scene .war-islet--pasture{top:7vh;left:max(2vw,50% - 22rem - 250px)}.war-scene .war-islet--gold{top:9vh;right:max(2vw,50% - 22rem - 250px)}.war-scene .war-sheep{--sheet:url(../assets/props/nature/Sheep_Grass.png);--fw:64px;--fh:64px;--frames:12;--dur:2.2s;top:22px;left:30px}.war-scene .war-sheep--b{--sheet:url(../assets/props/nature/HappySheep_Idle.png);--frames:8;--dur:1.3s;top:34px;left:100px;transform:scaleX(-1)}.war-scene .war-mine{background:url(../assets/props/nature/GoldMine_Active.png) 50%/contain no-repeat;width:115px;height:77px;position:absolute;top:-10px;left:40px}.war-scene .war-pawn{--sheet:url(../assets/units/blue/Pawn_Run_Gold.png);--fw:72px;--fh:72px;--frames:6;--dur:.6s;animation:wc-frames var(--dur) steps(var(--frames)) infinite, wc-pawn-trip 6s ease-in-out infinite;top:36px;left:20px}@keyframes wc-pawn-trip{0%,8%{left:12px;transform:scaleX(1)}46%{left:110px;transform:scaleX(1)}54%{left:110px;transform:scaleX(-1)}92%,to{left:12px;transform:scaleX(-1)}}.war-embers span{opacity:0;background:#ffcf6b;border-radius:50%;width:5px;height:5px;animation:9s linear infinite wc-ember;position:absolute;bottom:-12px;box-shadow:0 0 8px 2px #ffaa3cbf}.war-embers span:first-child{animation-delay:-1s;left:6%}.war-embers span:nth-child(2){animation-duration:11s;animation-delay:-4s;left:11%}.war-embers span:nth-child(3){animation-delay:-7s;left:17%}.war-embers span:nth-child(4){animation-duration:12s;animation-delay:-2.5s;left:23%}.war-embers span:nth-child(5){animation-delay:-6s;left:31%}.war-embers span:nth-child(6){animation-duration:13s;animation-delay:-9s;left:42%}.war-embers span:nth-child(7){animation-duration:12s;animation-delay:-3s;left:58%}.war-embers span:nth-child(8){animation-delay:-8s;left:69%}.war-embers span:nth-child(9){animation-duration:11s;animation-delay:-5s;left:77%}.war-embers span:nth-child(10){animation-delay:-1.5s;left:83%}.war-embers span:nth-child(11){animation-duration:12s;animation-delay:-6.5s;left:89%}.war-embers span:nth-child(12){animation-delay:-3.5s;left:95%}@keyframes wc-ember{0%{opacity:0;transform:translate(0)scale(1)}10%{opacity:.9}60%{opacity:.6;transform:translate(28px,-55vh)scale(.8)}to{opacity:0;transform:translate(-18px,-100vh)scale(.4)}}#modalLobby .modal-card--lobby{z-index:2;text-align:center;width:min(46rem,100%);max-width:min(46rem,100%);height:auto;min-height:0;max-height:min(92dvh,46rem);color:var(--wc-ink);font-family:var(--wc-font);box-shadow:none;filter:drop-shadow(0 22px 26px #0a1e2880);background:0 0;border-style:solid;border-width:26px 26px 58px 40px;border-image:url(../assets/ui/Banner.png) 22 30 70 40 fill/26px 26px 58px 40px;border-radius:0;flex-direction:column;gap:.6rem;margin:auto;padding:.35rem .9rem .2rem;animation:.7s cubic-bezier(.2,.9,.3,1.15) both wc-unroll;display:flex;position:relative;overflow:visible}@keyframes wc-unroll{0%{opacity:0;transform:translateY(26px)scaleY(.6)}to{opacity:1;transform:none}}#modalLobby .lobby-screen-head{flex-direction:column;align-items:center;gap:.15rem;min-height:0;padding:0;display:flex;position:relative}#modalLobby .lobby-screen-title{font-family:var(--wc-font-title);letter-spacing:.04em;white-space:nowrap;color:#fff6d8;text-transform:none;text-shadow:0 3px #6a4a12,0 0 14px #ffd6668c;border-style:solid;border-width:0 64px;border-image:url(../assets/ui/lobby/ribbon_yellow.png) 0 110 fill/0 64px;margin:-2.4rem auto 0;padding:.35rem 3.8rem 1.2rem;font-size:clamp(2rem,4.2vw,2.8rem);font-weight:400;line-height:1;animation:3.6s ease-in-out infinite wc-title-glow}@keyframes wc-title-glow{50%{text-shadow:0 3px #6a4a12,0 0 22px #ffd666e6}}.war-scene .war-council-tagline{letter-spacing:.08em;text-transform:uppercase;color:var(--wc-ink-soft);margin:0;font-size:.82rem;font-weight:600}#modalLobby .btn-lobby-player-name{max-width:11rem;height:2.6rem;font-family:var(--wc-font);color:#fff;text-shadow:0 2px #00000073;cursor:pointer;background:0 0;border-style:solid;border-width:0 34px;border-image:url(../assets/ui/lobby/ribbon_blue.png) 0 110 fill/0 34px;border-radius:0;align-items:center;gap:.35rem;padding:0 .4rem;font-size:.85rem;font-weight:700;transition:transform .15s;display:inline-flex;position:absolute;top:-1.9rem;right:-.4rem;transform:none}#modalLobby .btn-lobby-player-name:hover,#modalLobby .btn-lobby-player-name[data-hover-hold]{transform:translateY(-2px)rotate(-2deg)}#modalLobby .btn-lobby-player-name__glyph{background:url(../assets/units/blue/Pawn_Idle.png) 0 0/176px 22px no-repeat;width:22px;height:22px;font-size:0;transform:scale(1.8)}#modalLobby .btn-lobby-player-name__preview{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}#modalLobby .btn-lobby-player-name__preview:empty:after{content:"Name your lord";font-style:italic}#modalLobby .lobby-match-stats{color:var(--wc-ink-soft);justify-content:center;align-items:center;gap:1.4rem;margin:.1rem 0 0;font-size:.72rem;display:flex}#modalLobby .lobby-stat__sep{display:none}#modalLobby .lobby-stat{flex-direction:column;align-items:center;gap:.2rem;display:inline-flex}#modalLobby .lobby-stat__value{width:2.7rem;height:3.1rem;font-family:var(--wc-font);color:#fff;text-shadow:0 2px #00000073;clip-path:polygon(0 0,100% 0,100% 58%,50% 100%,0 58%);background:linear-gradient(135deg, #ffffff59, transparent 45%), var(--wc-blue);place-items:center;font-size:1.35rem;font-weight:700;display:grid;box-shadow:inset 0 0 0 3px #00000040}#modalLobby .lobby-stat:last-child .lobby-stat__value{background:linear-gradient(135deg, #ffffff59, transparent 45%), var(--wc-red)}#modalLobby .lobby-stat__label{letter-spacing:.08em;text-transform:uppercase;font-size:.7rem;font-weight:700}#modalLobby .btn-lobby-sign-in{font-family:var(--wc-font);color:var(--wc-ink);cursor:pointer;background:#fffaf0;border:2px solid #3b271673;border-radius:6px;align-self:center;margin:.35rem 0 0;padding:.3rem .75rem;font-size:.74rem;font-weight:700;box-shadow:0 2px #3b271640}#modalLobby .btn-lobby-sign-in:hover,#modalLobby .btn-lobby-sign-in:focus-visible{outline:2px solid var(--wc-gold);outline-offset:1px;background:#fff}#modalLobby .btn-lobby-sign-in[hidden],#modalLobby .lobby-account-status[hidden]{display:none}#modalLobby .lobby-account-status{color:#3b2716bf;margin:.25rem 0 0;font-size:.7rem}#modalLobby .lobby-pill__mark{color:#f2c14e;text-shadow:0 1px #00000073;margin-right:.25rem}#modalLobby .lobby-server-hint{color:#3b27168c;order:99;margin:0;font-size:.68rem}#modalLobby .lobby-server-hint .lobby-server-hint--mismatch{color:#a3261c;font-weight:700}#modalLobby .lobby-room-list-shell{background:radial-gradient(circle at 20% 30%,#6b4f331a,#0000 55%),radial-gradient(circle at 80% 70%,#6b4f331a,#0000 55%),#6b4f331a;border:2px dashed #6b4f3373;border-radius:10px;flex:auto;min-height:0;margin:0;padding:.55rem .6rem .7rem;box-shadow:inset 0 2px 10px #3b27162e}#modalLobby .lobby-room-list-head{justify-content:space-between;align-items:center;gap:.5rem;display:flex}#modalLobby .lobby-subtitle{font-family:var(--wc-font-title);letter-spacing:.03em;color:var(--wc-ink);text-transform:none;margin:0;font-size:1.7rem;font-weight:400;line-height:1}#modalLobby .btn-lobby-info,#modalLobby .btn-lobby-refresh,#modalLobby .btn-lobby-copy-passcode{color:#fff;width:2.3rem;height:2.3rem;font-family:var(--wc-font);text-shadow:0 2px #00000059;cursor:pointer;background:0 0;border-style:solid;border-width:7px 7px 10px;border-image:url(../assets/ui/BigBlueButton_Regular.png) 16 16 22 fill/7px 7px 10px;border-radius:0;place-items:center;padding:0;font-size:1rem;font-weight:700;display:grid}#modalLobby .btn-lobby-info:active,#modalLobby .btn-lobby-refresh:active,#modalLobby .btn-lobby-copy-passcode:active{border-image-source:url(../assets/ui/BigBlueButton_Pressed.png);transform:translateY(2px)}#modalLobby .btn-lobby-refresh:hover .btn-lobby-refresh__glyph{animation:.7s ease-in-out wc-spin;display:inline-block}@keyframes wc-spin{to{transform:rotate(360deg)}}#modalLobby .lobby-list-status{min-height:1.1em;color:var(--wc-ink-soft);margin:.25rem 0 0;font-size:.78rem;font-style:italic}#modalLobby ul.lobby-room-list{scrollbar-width:thin;scrollbar-color:#6b4f338c transparent;gap:.55rem;min-height:9rem;margin:.4rem 0 0;padding:.2rem .3rem .4rem;overflow-x:hidden}#modalLobby .lobby-room-item{box-shadow:none;filter:drop-shadow(0 4px #3b271638);background:0 0;border-style:solid;border-width:10px;border-image:url(../assets/ui/Paper.png) 14 fill/10px round;border-radius:0;padding:.45rem .55rem;transition:transform .18s;animation:.45s cubic-bezier(.2,.9,.3,1.3) both wc-pin;position:relative}#modalLobby .lobby-room-item:nth-child(2){animation-delay:60ms}#modalLobby .lobby-room-item:nth-child(3){animation-delay:.12s}#modalLobby .lobby-room-item:nth-child(4){animation-delay:.18s}@keyframes wc-pin{0%{opacity:0;transform:translateY(-10px)rotate(-2deg)}to{opacity:1;transform:none}}#modalLobby .lobby-room-item:not(.lobby-room-item--empty):not(.lobby-room-item--solo-wait):hover,#modalLobby .lobby-room-item:not(.lobby-room-item--empty):not(.lobby-room-item--solo-wait)[data-hover-hold]{transform:translateY(-2px)rotate(-.4deg)}#modalLobby .lobby-room-item:before{content:"";background:radial-gradient(circle at 35% 35%,#ff9b8f,#b3261e 60%,#6b120d);border-radius:50%;width:10px;height:10px;margin-left:-5px;position:absolute;top:-8px;left:50%;box-shadow:0 2px 2px #00000059}#modalLobby .lobby-room-item__main{align-items:center;gap:.5rem;padding:.35rem .2rem;display:flex;position:relative;overflow:visible}#modalLobby .lobby-room-item__pills{flex:auto;min-width:0;overflow:visible}#modalLobby .lobby-room-item__players{justify-content:center;align-items:center;gap:.7rem;display:flex}#modalLobby .lobby-room-item__player-slot{flex:0 auto;align-items:center;gap:.35rem;min-width:0;display:flex}#modalLobby .lobby-room-item__player-slot .lobby-pill{flex:0 auto;min-width:0}#modalLobby .lobby-room-item__player-slot--a{justify-content:flex-end}#modalLobby .lobby-room-item__player-slot--b{justify-content:flex-start}#modalLobby .lobby-room-item__player-slot--a:before,#modalLobby .lobby-room-item__player-slot--b:after{content:"";background-repeat:no-repeat;background-size:384px 48px;flex:none;width:48px;height:48px;margin:-10px -6px;animation:.9s steps(8,end) infinite wc-lord}#modalLobby .lobby-room-item__player-slot--a:before{background-image:url(../assets/units/blue/Warrior_Idle.png)}#modalLobby .lobby-room-item__player-slot--b:after{background-image:url(../assets/units/red/Warrior_Idle.png);animation-delay:-.45s;transform:scaleX(-1)}#modalLobby .lobby-room-item__player-slot--b:not(:has(.lobby-pill--human,.lobby-pill--bot)):after{filter:brightness(0);opacity:.28;animation:.9s steps(8,end) infinite wc-lord,2.2s ease-in-out infinite wc-ghost}@keyframes wc-lord{to{background-position-x:-384px}}@keyframes wc-ghost{50%{opacity:.12}}#modalLobby .lobby-pill{min-width:0;max-width:100%;height:2.35rem;font-family:var(--wc-font);color:#fff;text-shadow:0 2px #00000073;box-shadow:none;background:0 0;border-style:solid;border-width:0 18px;border-image:url(../assets/ui/lobby/ribbon_gray.png) 0 110 fill/0 18px;border-radius:0;justify-content:center;align-items:center;padding:0 .15rem .35rem;font-size:.84rem;font-weight:700;display:inline-flex}#modalLobby .lobby-room-item__player-slot--a .lobby-pill--human,#modalLobby .lobby-fixture-side--home .lobby-fixture-name{border-image-source:url(../assets/ui/lobby/ribbon_blue.png)}#modalLobby .lobby-room-item__player-slot--b .lobby-pill--human,#modalLobby .lobby-room-item__player-slot--b .lobby-pill--bot{border-image-source:url(../assets/ui/lobby/ribbon_red.png)}#modalLobby .lobby-pill__glyph{display:none}#modalLobby .lobby-pill__text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}#modalLobby .lobby-pill--empty .lobby-pill__text{font-size:0}#modalLobby .lobby-pill--empty .lobby-pill__text:after,#modalLobby .lobby-fixture-name--open:after{content:"Awaiting challenger";font-size:.78rem;font-style:italic;font-weight:600}#modalLobby .lobby-room-item__vs,#modalLobby .lobby-fixture-vs{background:radial-gradient(circle at 35% 30%, #ffe89a, var(--wc-gold) 45%, var(--wc-gold-deep));border-radius:50%;place-items:center;width:2rem;height:2rem;font-size:0;display:grid;box-shadow:inset 0 -3px #0003,0 0 0 3px #3b27168c,0 3px 0 3px #3b271640}#modalLobby .lobby-room-item__vs:after,#modalLobby .lobby-fixture-vs:after{content:"⚔";color:#4a2f10;text-shadow:0 1px #ffffff80;font-size:1.25rem;line-height:1}#modalLobby .btn.btn-lobby-join,#modalLobby .modal-card--lobby .lobby-room-item .btn.btn-lobby-join--seat-slot{width:3.4rem;min-width:3.4rem;max-width:3.4rem;height:3.4rem;min-height:3.4rem;font-family:var(--wc-font-title);letter-spacing:.03em;color:#ffe3dc;text-shadow:0 2px #3c000099;background:radial-gradient(circle at 36% 32%, #f0766a, var(--wc-red) 45%, #7d1812);cursor:pointer;border:0;border-radius:46% 54% 50% 50%/52% 46% 54% 48%;flex:none;place-items:center;margin:-.5rem 0;padding:0;font-size:1.15rem;font-weight:400;animation:1.8s ease-in-out infinite wc-seal;display:inline-grid;position:relative;transform:rotate(-9deg);box-shadow:inset 0 0 0 4px #5a0a0573,inset 0 -4px #0003,0 4px #3b271659}#modalLobby .modal-card--lobby .lobby-room-item .btn.btn-lobby-join[data-lobby-private="1"]{background:radial-gradient(circle at 36% 32%,#c29af0,#7a4fc4 45%,#3b1f6b)}#modalLobby .btn.btn-lobby-join:hover{filter:brightness(1.12);animation-play-state:paused;transform:rotate(-9deg)scale(1.12)}#modalLobby .btn.btn-lobby-join:active{transform:rotate(-9deg)scale(.94)}#modalLobby .btn-lobby-join__lock{font-size:.85rem;position:absolute;top:-.35rem;right:-.3rem}@keyframes wc-seal{0%,to{transform:rotate(-9deg)scale(1)}50%{transform:rotate(-6deg)scale(1.07)}}#modalLobby .lobby-room-item__level{z-index:1;font-family:var(--wc-font);color:#fff;background:#3f8f3a;border:1px solid #24562a;border-radius:4px;padding:0 .4rem;font-size:.7rem;font-weight:700;line-height:1.35;position:absolute;top:-12px;left:.3rem;box-shadow:0 2px #0003}#modalLobby .lobby-room-item__blocked{pointer-events:none;font-family:var(--wc-font-title);color:#b1261ed9;mix-blend-mode:multiply;background:0 0;border:3px solid #b1261ebf;border-radius:6px;margin-top:-1rem;padding:.1rem .45rem;font-size:1.2rem;position:absolute;top:50%;right:.2rem;transform:rotate(-12deg)}#modalLobby .lobby-room-item--empty{text-align:left;align-items:center;gap:.6rem;display:flex}#modalLobby .lobby-room-item--empty:after{content:"";background:url(../assets/props/nature/HappySheep_Idle.png) 0 0/512px 64px no-repeat;flex:none;order:-1;width:64px;height:64px;margin:-8px 0;animation:1.3s steps(8,end) infinite wc-sheep}@keyframes wc-sheep{to{background-position-x:-512px}}#modalLobby .lobby-room-item__meta{color:var(--wc-ink-soft);font-size:.85rem;font-style:italic}#modalLobby .lobby-room-item--solo-wait{padding:.8rem .6rem}#modalLobby .lobby-fixture-board{background:0 0;border:0;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:end;gap:.5rem;display:grid}#modalLobby .lobby-fixture-side{flex-direction:column;align-items:center;gap:.2rem;min-width:0;display:flex}#modalLobby .lobby-fixture-crest{width:110px;height:110px;box-shadow:none;background:0 0/880px 110px no-repeat;border:0;margin-bottom:-14px;animation:.9s steps(8,end) infinite wc-crest}#modalLobby .lobby-fixture-crest__emoji{display:none}#modalLobby .lobby-fixture-crest--human{background-image:url(../assets/units/blue/Warrior_Idle.png)}#modalLobby .lobby-fixture-crest--open{filter:brightness(0);opacity:.3;background-image:url(../assets/units/red/Warrior_Idle.png);animation:.9s steps(8,end) infinite wc-crest,2.2s ease-in-out infinite wc-ghost;transform:scaleX(-1)}@keyframes wc-crest{to{background-position-x:-880px}}#modalLobby .lobby-fixture-name{text-overflow:ellipsis;white-space:nowrap;max-width:100%;height:2.4rem;font-family:var(--wc-font);color:#fff;text-shadow:0 2px #00000073;border-style:solid;border-width:0 20px;border-image:url(../assets/ui/lobby/ribbon_gray.png) 0 110 fill/0 20px;justify-content:center;align-items:center;padding:0 .2rem .35rem;font-size:.9rem;font-weight:700;display:inline-flex;overflow:hidden}#modalLobby .lobby-fixture-name--open{font-size:0}#modalLobby .lobby-fixture-name--open:after{content:"A challenger?"}#modalLobby .lobby-fixture-middle{flex-direction:column;align-items:center;gap:.35rem;padding-bottom:.4rem;display:flex}#modalLobby .lobby-fixture-status{letter-spacing:.08em;text-transform:uppercase;color:var(--wc-ink-soft);margin:0;font-size:.8rem;font-weight:700}#modalLobby .lobby-fixture-status:after{content:"";text-align:left;width:1.2em;animation:1.4s steps(4,end) infinite wc-dots;display:inline-block}@keyframes wc-dots{0%{content:""}25%{content:"."}50%{content:".."}75%{content:"..."}}#modalLobby .lobby-solo-wait-private{flex-direction:column;align-items:center;gap:.35rem;margin-top:.7rem;display:flex}#modalLobby .lobby-solo-wait-badge{color:#5b3a8f;background:0 0;border:0;font-weight:700}#modalLobby .lobby-solo-wait-passcode-line{align-items:center;gap:.5rem;display:flex}#modalLobby .lobby-solo-wait-passcode-label{font-family:var(--wc-font-title);color:var(--wc-ink);font-size:1.2rem}#modalLobby .lobby-solo-wait-passcode-otp{gap:.3rem;display:flex}#modalLobby .lobby-solo-wait-passcode-digit{width:1.9rem;height:2.3rem;font-family:var(--wc-font);color:#fff;background:radial-gradient(circle at 35% 30%,#b58be8,#6a41b2 60%,#3b1f6b);border-radius:6px;place-items:center;font-size:1.25rem;font-weight:700;display:grid;box-shadow:inset 0 -3px #00000040,0 2px #3b27164d}#modalLobby .lobby-solo-wait-hint,#modalLobby .lobby-solo-wait-copy-feedback{color:var(--wc-ink-soft);margin:0;font-size:.75rem}#modalLobby .arcade-btn-stack{flex-flow:wrap;justify-content:center;align-items:center;gap:.6rem;margin:.15rem 0 0;display:flex}#modalLobby .arcade-btn-stack .btn{width:auto;max-width:17rem;min-height:3.1rem;font-family:var(--wc-font);letter-spacing:.06em;color:#fff;text-shadow:0 2px #0006;box-shadow:none;background:0 0;border-style:solid;border-width:10px 10px 14px;border-image:url(../assets/ui/BigBlueButton_Regular.png) 16 16 22 fill/10px 10px 14px;border-radius:0;flex:11rem;margin:0;padding:.2rem .8rem .45rem;font-size:.98rem;font-weight:700;transition:transform .12s,filter .12s;position:relative}#modalLobby .arcade-btn-stack .btn:hover,#modalLobby .arcade-btn-stack .btn[data-hover-hold]{filter:brightness(1.1);transform:translateY(-2px)}#modalLobby .arcade-btn-stack .btn:active{border-image-source:url(../assets/ui/BigBlueButton_Pressed.png);transform:translateY(2px)}#modalLobby #btn-lobby-quick{flex-basis:100%;max-width:22rem;min-height:3.6rem;font-size:1.2rem}#modalLobby #btn-lobby-quick:before{content:"📯" / "";margin-right:.5rem;animation:2.4s ease-in-out infinite wc-horn;display:inline-block}@keyframes wc-horn{0%,70%,to{transform:rotate(0)}78%{transform:rotate(-14deg)scale(1.15)}86%{transform:rotate(8deg)scale(1.1)}}#modalLobby #btn-lobby-create-private{border-image-source:url(../assets/ui/BigRedButton_Regular.png)}#modalLobby #btn-lobby-create-private:before{content:"🔒" / "";margin-right:.4rem}#modalLobby #btn-lobby-create-private:active{border-image-source:url(../assets/ui/BigRedButton_Pressed.png)}#modalLobby #btn-lobby-back{min-height:0;color:var(--wc-ink-soft);text-shadow:none;text-underline-offset:4px;border:0;border-image:;flex:none;padding:.2rem .6rem;font-size:.85rem;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}#modalLobby #btn-lobby-back:before{content:"← " / ""}#modalLobby .lobby-info-layer{-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#142d378c}#modalLobby .lobby-info-panel{color:var(--wc-ink);font-family:var(--wc-font);text-align:left;box-shadow:none;filter:drop-shadow(0 12px 18px #0006);background:0 0;border-style:solid;border-width:12px;border-image:url(../assets/ui/Paper.png) 14 fill/12px round;border-radius:0}#modalLobby .lobby-info-heading{font-family:var(--wc-font-title);color:var(--wc-ink);margin-top:0;font-size:1.8rem;font-weight:400}#modalLobby .lobby-info-body{color:var(--wc-ink)}#modalLobby .lobby-info-body strong{color:#7d1812}#modalLobby .lobby-info-body .muted{color:var(--wc-ink-soft)}#modalLobby .btn-lobby-info-close{font-family:var(--wc-font);color:#fff;background:0 0;border-style:solid;border-width:10px 10px 14px;border-image:url(../assets/ui/BigBlueButton_Regular.png) 16 16 22 fill/10px 10px 14px;border-radius:0;font-weight:700}#modalLobbyPasscode .modal-card--lobby-passcode{color:var(--wc-ink);font-family:var(--wc-font);box-shadow:none;filter:drop-shadow(0 16px 24px #00000073);background:0 0;border-style:solid;border-width:14px;border-image:url(../assets/ui/Paper.png) 14 fill/14px round;border-radius:0}#modalLobbyPasscode .game-over-name-modal-title{font-family:var(--wc-font-title);color:var(--wc-ink);font-size:2rem;font-weight:400}#modalLobbyPasscode .lobby-passcode-otp-hint{color:var(--wc-ink-soft)}#modalLobbyPasscode .lobby-passcode-otp-slot{font-family:var(--wc-font);color:#fff;caret-color:var(--wc-gold);background:radial-gradient(circle at 35% 30%,#b58be8,#6a41b2 60%,#3b1f6b);border:0;border-radius:6px;font-weight:700;box-shadow:inset 0 -3px #00000040}#modalLobbyPasscode .lobby-passcode-otp-slot:focus{outline:3px solid var(--wc-gold);outline-offset:1px}#modalLobbyPasscode .lobby-level-toggle:not([hidden]){justify-content:center;gap:.5rem;margin:.2rem 0 .35rem;display:flex}#modalLobbyPasscode .lobby-level-toggle__opt{min-width:6.5rem;font-family:var(--wc-font);color:var(--wc-ink-soft);cursor:pointer;background:#3b27160f;border:2px dashed #3b271659;border-radius:6px;flex-direction:column;align-items:center;padding:.3rem .7rem;display:flex}#modalLobbyPasscode .lobby-level-toggle__opt[aria-checked=true]{color:#fff;background:radial-gradient(circle at 35% 30%,#7fcf6a,#3f8f3a 60%,#24562a);border:2px solid #24562a;box-shadow:inset 0 -3px #00000040}#modalLobbyPasscode .lobby-level-toggle__opt:focus-visible{outline:3px solid var(--wc-gold);outline-offset:1px}#modalLobbyPasscode .lobby-level-toggle__name{font-size:1rem;font-weight:700}#modalLobbyPasscode .lobby-level-toggle__sub{font-size:.8rem}#modalLobbyPasscode .lobby-level-toggle__hint{max-width:20rem;color:var(--wc-ink-soft);margin:0 auto .4rem}@media (orientation:landscape) and (width>=820px){#modalLobby .modal-card--lobby{text-align:center;grid-template:"table head""table stats""table actions"minmax(0,1fr)"table hint"/minmax(0,1.9fr) minmax(12.5rem,1fr);gap:.5rem 1.1rem;width:min(48rem,100%);max-width:min(48rem,100%);height:min(88dvh,34rem);max-height:min(88dvh,34rem);padding-top:1.9rem;display:grid;overflow:visible}#modalLobby .lobby-screen-head{grid-area:head;justify-content:flex-start;position:static}#modalLobby .lobby-screen-title{z-index:3;margin:0;position:absolute;top:calc(-26px - 1.55rem);left:50%;transform:translate(-50%)}#modalLobby .btn-lobby-player-name{margin-top:.4rem;position:static}#modalLobby .lobby-match-stats{grid-area:stats;justify-content:center;font-size:.72rem}#modalLobby .lobby-stat__label{font-size:.66rem}#modalLobby .lobby-room-list-shell{grid-area:table;min-height:0;padding:.55rem .6rem .7rem}#modalLobby .lobby-subtitle{font-size:1.7rem}#modalLobby .lobby-list-status{font-size:.78rem}#modalLobby .arcade-btn-stack{flex-flow:column;grid-area:actions;align-self:end;align-items:stretch;gap:.5rem;margin:0}#modalLobby .arcade-btn-stack .btn{letter-spacing:.03em;white-space:nowrap;border-radius:0;flex:none;width:100%;max-width:none;min-height:3rem;padding:.2rem .6rem .45rem;font-size:.82rem}#modalLobby #btn-lobby-quick{max-width:none;min-height:3.5rem;font-size:1.1rem}#modalLobby #btn-lobby-back{align-self:center;width:auto;min-height:0}#modalLobby .lobby-server-hint{grid-area:hint}#modalLobby .modal-card--lobby .lobby-room-list-shell--solo-wait .lobby-room-item__main--solo-wait{min-height:0}}@media (orientation:landscape) and (height<=520px){#modalLobby .modal-card--lobby{border-width:18px 18px 40px 28px;border-image-width:18px 18px 40px 28px;height:calc(100dvh - 1rem);max-height:calc(100dvh - 1rem)}#modalLobby .lobby-screen-title{border-width:0 40px;border-image-width:0 40px;margin-top:-.6rem;padding:.25rem 1.8rem .9rem;font-size:1.6rem}.war-scene .war-council-tagline,#modalLobby .lobby-server-hint{display:none}#modalLobby .lobby-stat__value{width:2.1rem;height:2.4rem;font-size:1rem}#modalLobby .arcade-btn-stack .btn,#modalLobby #btn-lobby-quick{min-height:2.5rem;font-size:.82rem}.war-scene .war-isle,.war-scene .war-islet{display:none}}@media (orientation:landscape) and (width>=820px) and (height<=520px){#modalLobby .modal-card--lobby{padding-top:1.6rem}#modalLobby .lobby-screen-title{margin:0;top:calc(-18px - .3rem)}}@media (width<=1440px){.war-scene .war-isle{transform-origin:0 100%;transform:scale(.82)}.war-scene .war-isle--red{transform-origin:100% 100%}}@media (width<=1180px){.war-scene .war-isle{transform-origin:0 100%;opacity:.9;transform:scale(.72)}.war-scene .war-isle--red{transform-origin:100% 100%}.war-scene .war-islet{transform:scale(.75)}}@media (width<=700px){#modalLobby .modal-card--lobby{border-width:20px 18px 44px 30px;border-image-width:20px 18px 44px 30px;padding-inline:.35rem}.war-scene .war-isle{opacity:.85;bottom:0;transform:scale(.5)}.war-scene .war-isle--red{transform-origin:100% 100%}.war-scene .war-islet{display:none}#modalLobby .btn-lobby-player-name{margin-top:.3rem;position:static}#modalLobby .lobby-screen-title{border-width:0 40px;border-image-width:0 40px;margin-top:-1.9rem;padding:.3rem 1.6rem 1rem;font-size:1.75rem}.war-scene .war-council-tagline{font-size:.7rem}#modalLobby .lobby-room-item__players{gap:.35rem}#modalLobby .lobby-pill{border-width:0 13px;border-image-width:0 13px;font-size:.76rem}#modalLobby .lobby-room-item__player-slot--a:before,#modalLobby .lobby-room-item__player-slot--b:after{display:none}#modalLobby .lobby-fixture-crest{background-size:640px 80px;width:80px;height:80px;animation-name:wc-crest-sm}#modalLobby .lobby-fixture-crest--open{animation:.9s steps(8,end) infinite wc-crest-sm,2.2s ease-in-out infinite wc-ghost}@keyframes wc-crest-sm{to{background-position-x:-640px}}}#modalMenu .modal-card--main-menu{z-index:2;color:#fff;width:min(36rem,100%);max-width:min(36rem,100%);font-family:var(--wc-font);text-align:center;box-shadow:none;background:0 0;border:0;border-radius:0;flex-direction:column;align-items:center;gap:0;margin:auto;padding:0;display:flex;position:relative}#modalMenu .main-menu-brand{text-align:center;flex-direction:column;align-items:center;margin:0;animation:.9s cubic-bezier(.2,.9,.3,1.25) both wc-title-drop;display:flex}@keyframes wc-title-drop{0%{opacity:0;transform:translateY(-40px)scale(1.15)}to{opacity:1;transform:none}}#modalMenu .main-menu-title-line1{font-family:var(--wc-font-title);letter-spacing:.02em;color:#0000;background:linear-gradient(100deg,#0000 42%,#fffffff2 50%,#0000 58%) 150% 0/250% 100% no-repeat,linear-gradient(#fff8d6 12%,#f7c948 55%,#c47f16 92%) 0 0/100% 100%;filter:drop-shadow(0 4px #5a3a0e)drop-shadow(0 0 2px #3b2716)drop-shadow(0 12px 18px #0a1e2899);-webkit-background-clip:text;background-clip:text;flex-direction:column;align-items:center;margin:0;padding:0 .3em .08em;font-size:clamp(3.4rem,13vw,6.8rem);font-weight:400;line-height:.88;animation:6s ease-in-out 1.2s infinite wc-glint;display:flex}#modalMenu .main-menu-title-word{display:block}@keyframes wc-glint{0%,62%{background-position:150% 0,0 0}82%,to{background-position:-50% 0,0 0}}#modalMenu .main-menu-title-line2{font-family:var(--wc-font);letter-spacing:.16em;white-space:nowrap;text-transform:uppercase;color:#fff;text-shadow:0 2px #00000059;border-style:solid;border-width:0 44px;border-image:url(../assets/ui/lobby/ribbon_red.png) 0 110 fill/0 44px;margin:.55rem 0 0;padding:.3rem 1.2rem 1rem;font-size:clamp(.9rem,2.6vw,1.15rem);font-weight:700;line-height:1.1}#modalMenu .main-menu-tagline{font-family:var(--wc-font);color:#fdf6e3;text-shadow:0 2px #14323cbf,0 0 10px #14323cb3;margin:.2rem 0 0;padding:0 .5rem;font-size:clamp(.78rem,2.2vw,.95rem)}#modalMenu .main-menu-actions{filter:drop-shadow(0 18px 22px #0a1e2880);border-style:solid;border-width:24px 24px 52px 36px;border-image:url(../assets/ui/Banner.png) 22 30 70 40 fill/24px 24px 52px 36px;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:.45rem;width:min(25rem,100%);margin:.9rem 0 0;padding:.25rem .35rem 0;animation:.7s cubic-bezier(.2,.9,.3,1.15) .3s both wc-unroll;display:grid}#modalMenu .main-menu-actions .btn{width:100%;min-height:2.9rem;font-family:var(--wc-font);letter-spacing:.04em;white-space:nowrap;color:var(--wc-ink);text-shadow:none;box-shadow:none;background:0 0;border-style:solid;border-width:10px;border-image:url(../assets/ui/Paper.png) 14 fill/10px round;border-radius:0;margin:0;padding:.15rem .25rem .35rem;font-size:.86rem;font-weight:700;transition:transform .12s,filter .12s;position:relative}#modalMenu .main-menu-actions .btn:hover,#modalMenu .main-menu-actions .btn[data-hover-hold]{filter:brightness(1.06)drop-shadow(0 3px #3b271640);background:0 0;transform:translateY(-2px)}#modalMenu .main-menu-actions .btn:active{transform:translateY(1px)}#modalMenu #btn-play{letter-spacing:.14em;color:#fff;text-shadow:0 2px #0006;border-width:10px 10px 14px;border-image:url(../assets/ui/BigBlueButton_Regular.png) 16 16 22 fill/10px 10px 14px;grid-column:1/-1;min-height:3.7rem;font-size:1.45rem;animation:2.8s ease-in-out 1.4s infinite wc-call}#modalMenu #btn-play:active{border-image-source:url(../assets/ui/BigBlueButton_Pressed.png)}#modalMenu #btn-play:before,#modalMenu #btn-play:after{content:"⚔" / "";vertical-align:.12em;margin:0 .55rem;font-size:1.1rem;display:inline-block}#modalMenu #btn-play:after{transform:scaleX(-1)}@keyframes wc-call{0%,78%,to{filter:none}86%{filter:brightness(1.18)drop-shadow(0 0 10px #ffdc78d9)}}#modalMenu #btn-settings-menu:before{content:"⚙" / "";margin-right:.35rem}#modalMenu #btn-highscores-menu:before{content:"📜" / "";margin-right:.35rem}#modalMenu .main-menu-footnote{width:max-content;max-width:calc(100vw - 2rem);font-family:var(--wc-font);color:#ffffffc7;text-shadow:0 1px #14323ccc;border:0;margin:.7rem 0 0;padding:0;font-size:.62rem;line-height:1.5}#modalMenu .main-menu-footnote span{display:inline}#modalMenu .main-menu-footnote span+span:before{content:" · "}@media (width<=420px){#modalMenu .main-menu-actions .btn{letter-spacing:.02em;padding-inline:.2rem;font-size:.72rem}#modalMenu #btn-play{font-size:1.3rem}}@media (orientation:landscape) and (height<=520px){#modalMenu .modal-card--main-menu{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);grid-template-areas:"brand actions""foot foot";align-items:center;column-gap:1.2rem;width:min(46rem,100%);max-width:min(46rem,100%);display:grid}#modalMenu .main-menu-brand{grid-area:brand}#modalMenu .main-menu-title-line1{font-size:clamp(2.6rem,8.5vw,4.4rem)}#modalMenu .main-menu-actions{grid-area:actions;margin:0}#modalMenu .main-menu-footnote{grid-area:foot;margin-top:.3rem}#modalMenu .main-menu-actions{grid-template-columns:minmax(0,1fr);gap:.3rem}#modalMenu .main-menu-actions .btn{min-height:2.5rem}#modalMenu #btn-play{min-height:3.2rem}}#modalGameOver{background:radial-gradient(at 50% 45%,#3c2a0a4d 0%,#1a1004db 78%)}#modalGameOver:has([data-outcome=lose]:not(.is-hidden)){background:radial-gradient(at 50% 45%,#460c0659 0%,#1a0402e6 78%)}#modalGameOver:has([data-outcome=draw]:not(.is-hidden)){background:radial-gradient(at 50% 45%,#282c3059 0%,#0c0e10e0 78%)}#modalGameOver .war-aftermath{pointer-events:none;z-index:0;position:absolute;inset:0;overflow:hidden}#modalGameOver:has([data-outcome=win]:not(.is-hidden)) .war-embers span{background:#fff3b0;box-shadow:0 0 10px 3px #ffd65ad9}#modalGameOver:has([data-outcome=lose]:not(.is-hidden)) .war-embers span{background:#ff9a5a;box-shadow:0 0 10px 3px #e6461ecc}#modalGameOver .modal-card--game-over{z-index:1;text-align:center;width:min(38rem,100%);max-width:min(38rem,100%);height:auto;max-height:none;color:var(--wc-ink);font-family:var(--wc-font);box-shadow:none;filter:drop-shadow(0 22px 26px #0000008c);background:0 0;border-style:solid;border-width:26px 26px 58px 40px;border-image:url(../assets/ui/Banner.png) 22 30 70 40 fill/26px 26px 58px 40px;border-radius:0;flex-direction:column;align-items:stretch;gap:.45rem;margin:auto;padding:.35rem .9rem .2rem;animation:.7s cubic-bezier(.2,.9,.3,1.15) .15s both wc-unroll;display:flex;position:relative;overflow:visible}#modalGameOver .game-over-side{text-align:center;flex-direction:column;align-items:center;gap:.15rem;display:flex;overflow:visible}#modalGameOver .game-over-heading,#modalGameOver .game-over-fixture-banner:before{width:max-content;max-width:100%;font-family:var(--wc-font-title);letter-spacing:.04em;white-space:nowrap;text-transform:none;color:#fff6d8;text-shadow:0 3px #6a4a12,0 0 16px #ffd66699;border-style:solid;border-width:0 64px;border-image:url(../assets/ui/lobby/ribbon_yellow.png) 0 110 fill/0 64px;align-self:center;margin:-2.7rem auto .1rem;padding:.35rem 1.4rem 1.2rem;font-size:clamp(2.3rem,6vw,3.2rem);font-weight:400;line-height:1;animation:.7s cubic-bezier(.2,1.6,.4,1) .55s both wc-verdict;display:block}@keyframes wc-verdict{0%{opacity:0;transform:scale(2.2)rotate(-4deg)}to{opacity:1;transform:none}}#modalGameOver .game-over-fixture-banner[data-outcome=win]:before{content:"Victory!"}#modalGameOver .game-over-fixture-banner[data-outcome=lose]:before{content:"Defeat"}#modalGameOver .game-over-fixture-banner[data-outcome=draw]:before{content:"Truce"}#modalGameOver .game-over-heading[data-outcome=lose],#modalGameOver .game-over-fixture-banner[data-outcome=lose]:before{color:#ffe9e3;text-shadow:0 3px #5e1510,0 0 16px #ff6e5080;border-image-source:url(../assets/ui/lobby/ribbon_red.png)}#modalGameOver .game-over-heading[data-outcome=draw],#modalGameOver .game-over-fixture-banner[data-outcome=draw]:before{color:#f4f4f0;text-shadow:0 3px #3c3f44;border-image-source:url(../assets/ui/lobby/ribbon_gray.png)}#modalGameOver .game-over-score-label{font-family:var(--wc-font);letter-spacing:.08em;text-transform:uppercase;color:var(--wc-ink-soft);margin:0;font-size:.72rem;font-weight:700}#modalGameOver .game-over-score-main{font-family:var(--wc-font-title);color:var(--wc-ink);margin:0;font-size:clamp(2rem,6vw,2.6rem);font-weight:400}#modalGameOver .game-over-run-stats{font-family:var(--wc-font);color:var(--wc-ink-soft);margin:0;font-size:.78rem}.canvas-wrap .economy-charts{z-index:3;pointer-events:none;background:#0d1117bf;border:1px solid #30363de6;border-radius:10px;padding:6px 4px 0;position:absolute;top:48px;right:12px;box-shadow:0 8px 24px #00000059}.canvas-wrap .economy-charts.hidden{display:none}.canvas-wrap .economy-charts canvas{display:block}#modalGameOver .game-over-match-stats{border-collapse:collapse;width:100%;font-family:var(--wc-font);font-variant-numeric:tabular-nums;color:var(--wc-ink);margin:.4rem 0 0;font-size:.8rem}#modalGameOver .game-over-match-stats.is-hidden{display:none}#modalGameOver .game-over-match-stats th,#modalGameOver .game-over-match-stats td{border-bottom:1px solid #2a1d1238;padding:.25rem .45rem}#modalGameOver .game-over-match-stats tbody tr:last-child th,#modalGameOver .game-over-match-stats tbody tr:last-child td{border-bottom:none}#modalGameOver .game-over-match-stats tfoot th,#modalGameOver .game-over-match-stats tfoot td{border-top:1px solid #2a1d1259;border-bottom:none;font-weight:700}#modalGameOver .game-over-match-stats th[scope=row]{text-align:left;font-weight:600}#modalGameOver .game-over-match-stats thead th{font-family:var(--wc-font-title);letter-spacing:.04em;font-weight:400}#modalGameOver .game-over-match-stats thead th:nth-child(2){color:#1f5fa8}#modalGameOver .game-over-match-stats thead th:nth-child(3){color:#a8321f}#modalGameOver .game-over-match-stats td{text-align:center;white-space:nowrap}#modalGameOver .modal-card--game-over:has(#go-fixture-banner:not(.is-hidden)) .game-over-run-stats{display:none}#modalGameOver .game-over-fixture-banner{flex-direction:column;align-items:stretch;width:100%;max-width:none;margin:0;display:flex}#modalGameOver .game-over-fixture-banner .match-fixture{background:0 0;border:0;border-radius:0;grid-template-columns:minmax(0,1fr) auto minmax(4.5rem,auto) auto minmax(0,1fr);gap:.3rem .5rem;padding:0}#modalGameOver .match-fixture__side{gap:0}#modalGameOver .match-fixture__crest{--fw:112px;--fh:112px;color:#0000;background:0 0;border:0;border-radius:0;width:112px;height:104px;margin-bottom:-6px;font-size:0;position:relative;overflow:visible}#modalGameOver .match-fixture__crest:before,#modalGameOver .match-fixture__crest:after{content:"";pointer-events:none;position:absolute}#modalGameOver .game-over-fixture-banner[data-winner=host] .match-fixture__side--home .match-fixture__crest,#modalGameOver .game-over-fixture-banner[data-winner=guest] .match-fixture__side--away .match-fixture__crest,#modalGameOver .game-over-fixture-banner[data-winner=draw] .match-fixture__crest{--frames:4;background:var(--sheet) no-repeat 0 0 / calc(var(--fw) * var(--frames)) var(--fh);animation:.55s steps(4,end) infinite wc-frames}#modalGameOver .match-fixture__side--home .match-fixture__crest{--sheet:url(../assets/units/blue/Warrior_Attack1.png)}#modalGameOver .match-fixture__side--away .match-fixture__crest{--sheet:url(../assets/units/red/Warrior_Attack1.png)}#modalGameOver .game-over-fixture-banner[data-winner=guest] .match-fixture__side--away .match-fixture__crest,#modalGameOver .game-over-fixture-banner[data-winner=draw] .match-fixture__side--away .match-fixture__crest{transform:scaleX(-1)}#modalGameOver .game-over-fixture-banner[data-winner=draw] .match-fixture__crest{--frames:6;--sheet:url(../assets/units/blue/Warrior_Guard.png);animation:.9s steps(6,end) infinite wc-frames}#modalGameOver .game-over-fixture-banner[data-winner=draw] .match-fixture__side--away .match-fixture__crest{--sheet:url(../assets/units/red/Warrior_Guard.png)}#modalGameOver .game-over-fixture-banner[data-winner=host] .match-fixture__side--home .match-fixture__crest:after,#modalGameOver .game-over-fixture-banner[data-winner=guest] .match-fixture__side--away .match-fixture__crest:after{content:"👑";color:initial;font-size:1.5rem;line-height:1;animation:1.6s ease-in-out infinite wc-crown;top:12px;left:50%;transform:translate(-50%)}@keyframes wc-crown{50%{transform:translate(-50%,-5px)rotate(-6deg)}}#modalGameOver .game-over-fixture-banner[data-winner=host] .match-fixture__side--away .match-fixture__crest:before,#modalGameOver .game-over-fixture-banner[data-winner=guest] .match-fixture__side--home .match-fixture__crest:before{filter:grayscale(.55)brightness(.62)sepia(.35);background:url(../assets/buildings/blue/Castle.png) bottom/contain no-repeat;inset:12px 0 0}#modalGameOver .game-over-fixture-banner[data-winner=host] .match-fixture__side--away .match-fixture__crest:before{background-image:url(../assets/buildings/red/Castle.png)}#modalGameOver .game-over-fixture-banner[data-winner=host] .match-fixture__side--away .match-fixture__crest:after,#modalGameOver .game-over-fixture-banner[data-winner=guest] .match-fixture__side--home .match-fixture__crest:after{--fw:56px;--fh:56px;--frames:7;filter:drop-shadow(0 0 8px #ff7828cc);background:url(../assets/fx/Fire.png) 0 0/392px 56px no-repeat;width:56px;height:56px;animation:.7s steps(7,end) infinite wc-frames;top:18px;left:30px}#modalGameOver .match-fixture__name{text-overflow:ellipsis;white-space:nowrap;width:auto;max-width:100%;font-family:var(--wc-font);color:#fff;text-shadow:0 2px #00000059;-webkit-line-clamp:unset;border-style:solid;border-width:0 16px;border-image:url(../assets/ui/lobby/ribbon_blue.png) 0 110 fill/0 16px;padding:.2rem .4rem .65rem;font-size:.84rem;font-weight:700;display:block;overflow:hidden}#modalGameOver .match-fixture__side--away .match-fixture__name{border-image-source:url(../assets/ui/lobby/ribbon_red.png)}#modalGameOver .match-fixture__score{width:2.9rem;height:3.3rem;font-family:var(--wc-font);color:#fff;text-shadow:0 2px #00000073;clip-path:polygon(0 0,100% 0,100% 58%,50% 100%,0 58%);background:linear-gradient(135deg, #ffffff59, transparent 45%), var(--wc-blue);place-items:center;font-size:1.5rem;font-weight:700;display:grid;box-shadow:inset 0 0 0 3px #00000040}#modalGameOver .match-fixture__score--away{background:linear-gradient(135deg, #ffffff59, transparent 45%), var(--wc-red)}#modalGameOver .match-fixture__meta{gap:.2rem}#modalGameOver .game-over-fixture-banner .match-fixture__status{font-family:var(--wc-font);letter-spacing:.1em;color:var(--wc-ink);font-size:.72rem;font-weight:700}#modalGameOver .match-fixture__when{font-family:var(--wc-font);color:var(--wc-ink-soft);font-size:.8rem}#modalGameOver .match-fixture__when:before{content:"⌛ "}#modalGameOver .match-fixture__capital{font-family:var(--wc-font);color:var(--wc-ink-soft);margin:0;font-size:.66rem;line-height:1.25}#modalGameOver .game-over-lb-shell{text-align:left;height:auto;max-height:8.5rem;color:var(--wc-ink);background:#fff4d673;border:2px dashed #6b4f3373;border-radius:6px;margin:0}#modalGameOver .go-lb-header{border-bottom:1px solid #6b4f3359;padding:.3rem .5rem .2rem}#modalGameOver .go-lb-grid{font-family:var(--wc-font);color:var(--wc-ink-soft);font-size:.62rem;font-weight:700}#modalGameOver .go-lb-scroll{padding:.25rem .4rem .35rem}#modalGameOver .go-lb-row{font-family:var(--wc-font);color:var(--wc-ink);background:#fff6;border-radius:4px;font-size:.72rem}#modalGameOver .go-lb-date,#modalGameOver .go-lb-kills{color:var(--wc-ink-soft)}#modalGameOver .go-rematch-row{border:0;margin:0;padding:0}#modalGameOver .go-rematch-hint{font-family:var(--wc-font);color:var(--wc-ink-soft);margin:0 auto .4rem;font-size:.8rem;font-style:italic}#modalGameOver .go-rematch-buttons{flex-flow:wrap;justify-content:center;gap:.5rem}#modalGameOver .modal-card--game-over .btn-rematch-split,#modalGameOver .modal-card--game-over .arcade-btn-stack .btn{width:auto;min-width:0;max-width:18rem;min-height:3rem;font-family:var(--wc-font);letter-spacing:.05em;white-space:nowrap;color:#fff;text-shadow:0 2px #0006;box-shadow:none;background:0 0;border-style:solid;border-width:10px 10px 14px;border-image:url(../assets/ui/BigBlueButton_Regular.png) 16 16 22 fill/10px 10px 14px;border-radius:0;flex:11rem;margin:0;padding:.15rem .7rem .4rem;font-size:.95rem;font-weight:700;transition:transform .12s,filter .12s}#modalGameOver .modal-card--game-over .btn-rematch-split:hover:not(:disabled),#modalGameOver .modal-card--game-over .btn-rematch-split[data-hover-hold]:not(:disabled),#modalGameOver .modal-card--game-over .arcade-btn-stack .btn:hover,#modalGameOver .modal-card--game-over .arcade-btn-stack .btn[data-hover-hold]{filter:brightness(1.1);transform:translateY(-2px)}#modalGameOver .modal-card--game-over .btn-rematch-split:active:not(:disabled),#modalGameOver .modal-card--game-over .arcade-btn-stack .btn:active{border-image-source:url(../assets/ui/BigBlueButton_Pressed.png);transform:translateY(2px)}#modalGameOver .modal-card--game-over .btn-rematch-split:disabled{filter:grayscale(.8);opacity:.6}#modalGameOver #btn-rematch-challenge:before{content:"⚔" / "";margin-right:.45rem}#modalGameOver .modal-card--game-over #btn-rematch-accept{border-image-source:url(../assets/ui/BigRedButton_Regular.png);animation:1.8s ease-in-out infinite wc-call}#modalGameOver .modal-card--game-over #btn-rematch-accept:active{border-image-source:url(../assets/ui/BigRedButton_Pressed.png)}#modalGameOver #btn-rematch-accept:before{content:"🤝" / "";margin-right:.45rem}#modalGameOver .modal-card--game-over .arcade-btn-stack{border:0;flex-flow:wrap;justify-content:center;align-items:center;gap:.5rem;margin:0;padding:0;display:flex}#modalGameOver .modal-card--game-over .arcade-btn-stack #btn-gameover-menu{min-height:0;color:var(--wc-ink-soft);text-shadow:none;text-underline-offset:4px;border:0;border-image:;flex:none;padding:.2rem .6rem;font-size:.85rem;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}#modalGameOver #btn-gameover-menu:before{content:"← " / ""}#modalGameOverName .modal-card--go-name{color:var(--wc-ink);font-family:var(--wc-font);box-shadow:none;filter:drop-shadow(0 16px 24px #00000073);background:0 0;border-style:solid;border-width:14px;border-image:url(../assets/ui/Paper.png) 14 fill/14px round;border-radius:0}#modalGameOverName .game-over-name-modal-title{font-family:var(--wc-font-title);color:var(--wc-ink);font-size:2rem;font-weight:400}#modalGameOverName .game-over-input--modal{font-family:var(--wc-font);color:var(--wc-ink);background:#fffaebd9;border:2px solid #6b4f3380;border-radius:4px}#modalGameOverName .game-over-input--modal:focus{outline:3px solid var(--wc-gold);outline-offset:1px}#modalGameOverName .game-over-name-modal-error{color:#9b1c14}@media (width<=560px){#modalGameOver .modal-card--game-over{border-width:20px 18px 44px 30px;border-image-width:20px 18px 44px 30px;padding-inline:.3rem}#modalGameOver .game-over-heading,#modalGameOver .game-over-fixture-banner:before{border-width:0 44px;border-image-width:0 44px;margin-top:-2.2rem;padding:.3rem 1rem 1rem;font-size:2.1rem}#modalGameOver .game-over-fixture-banner .match-fixture{grid-template-columns:minmax(0,1fr) auto auto minmax(0,1fr);gap:.25rem}#modalGameOver .match-fixture__side--home{grid-area:1/1}#modalGameOver .match-fixture__score--home{grid-area:1/2}#modalGameOver .match-fixture__score--away{grid-area:1/3}#modalGameOver .match-fixture__side--away{grid-area:1/4}#modalGameOver .match-fixture__meta{grid-area:2/1/auto/-1}#modalGameOver .match-fixture__crest{--fw:84px;--fh:84px;width:84px;height:80px}#modalGameOver .match-fixture__score{width:2.2rem;height:2.6rem;font-size:1.15rem}#modalGameOver .match-fixture__name{border-width:0 13px;border-image-width:0 13px;font-size:.74rem}}@media (orientation:landscape) and (height<=520px){#modalGameOver .modal-card--game-over{border-width:18px 18px 40px 28px;border-image-width:18px 18px 40px 28px;gap:.3rem;width:min(40rem,100%);max-width:min(40rem,100%)}#modalGameOver .game-over-heading,#modalGameOver .game-over-fixture-banner:before{border-width:0 40px;border-image-width:0 40px;margin-top:-1rem;padding:.2rem 1rem .85rem;font-size:1.9rem}#modalGameOver .match-fixture__crest{--fw:76px;--fh:76px;width:76px;height:70px}#modalGameOver .game-over-lb-shell{display:none}#modalGameOver .modal-card--game-over .btn-rematch-split,#modalGameOver .modal-card--game-over .arcade-btn-stack .btn{min-height:2.5rem;font-size:.82rem}}#pauseOverlay,#modalSettings,#modalHighScores{background:radial-gradient(at 50% 45%,#10243859 0%,#060e1adb 78%)}body[data-shell-parent=mainMenu] #modalSettings,body[data-shell-parent=mainMenu] #modalHighScores{background:#143c4647}#pauseOverlay .modal-card--pause,#modalSettings .modal-card--settings,#modalHighScores .modal-card--leaderboard{z-index:1;text-align:center;width:min(26rem,100%);max-width:min(26rem,100%);height:auto;max-height:none;color:var(--wc-ink);font-family:var(--wc-font);box-shadow:none;filter:drop-shadow(0 22px 26px #00000080);background:0 0;border-style:solid;border-width:26px 26px 58px 40px;border-image:url(../assets/ui/Banner.png) 22 30 70 40 fill/26px 26px 58px 40px;border-radius:0;flex-direction:column;align-items:stretch;gap:.5rem;margin:auto;padding:.35rem .8rem .2rem;animation:.5s cubic-bezier(.2,.9,.3,1.15) both wc-unroll;display:flex;position:relative;overflow:visible}#modalHighScores .modal-card--leaderboard{width:min(44rem,100%);max-width:min(44rem,100%)}#pauseOverlay .pause-title,#modalSettings .arcade-screen-title,#modalHighScores .leaderboard-title{width:max-content;max-width:100%;font-family:var(--wc-font-title);letter-spacing:.04em;white-space:nowrap;text-transform:none;color:#fff6d8;text-shadow:0 3px #6a4a12,0 0 14px #ffd6668c;border-style:solid;border-width:0 56px;border-image:url(../assets/ui/lobby/ribbon_yellow.png) 0 110 fill/0 56px;align-self:center;margin:-2.5rem auto 0;padding:.35rem 1.2rem 1.15rem;font-size:clamp(2rem,5vw,2.6rem);font-weight:400;line-height:1}#pauseOverlay .pause-tagline,#modalSettings .arcade-screen-sub,#modalHighScores .leaderboard-subtitle{font-family:var(--wc-font);color:var(--wc-ink-soft);margin:0;font-size:.8rem;line-height:1.35}#pauseOverlay .arcade-btn-stack .btn,#modalSettings #btn-settings-back,#modalHighScores #btn-highscores-back,#modalHighScores #btn-highscores-refresh{width:100%;max-width:none;min-height:2.9rem;font-family:var(--wc-font);letter-spacing:.06em;white-space:nowrap;color:var(--wc-ink);text-shadow:none;box-shadow:none;background:0 0;border-style:solid;border-width:10px;border-image:url(../assets/ui/Paper.png) 14 fill/10px round;border-radius:0;margin:0;padding:.15rem .5rem .35rem;font-size:.86rem;font-weight:700;transition:transform .12s,filter .12s;position:relative}#pauseOverlay .arcade-btn-stack .btn:hover,#pauseOverlay .arcade-btn-stack .btn[data-hover-hold],#modalSettings #btn-settings-back:hover,#modalSettings #btn-settings-back[data-hover-hold],#modalHighScores #btn-highscores-back:hover,#modalHighScores #btn-highscores-back[data-hover-hold],#modalHighScores #btn-highscores-refresh:hover:not(:disabled),#modalHighScores #btn-highscores-refresh[data-hover-hold]:not(:disabled){filter:brightness(1.08);background:0 0;transform:translateY(-2px)}#pauseOverlay .arcade-btn-stack .btn:active,#modalSettings #btn-settings-back:active,#modalHighScores #btn-highscores-back:active{transform:translateY(1px)}#pauseOverlay #btn-resume,#pauseOverlay #btn-pause-retreat-cancel,#modalSettings #btn-settings-back,#modalHighScores #btn-highscores-back{color:#fff;text-shadow:0 2px #0006;border-width:10px 10px 14px;border-image:url(../assets/ui/BigBlueButton_Regular.png) 16 16 22 fill/10px 10px 14px}#pauseOverlay #btn-resume:active,#pauseOverlay #btn-pause-retreat-cancel:active,#modalSettings #btn-settings-back:active,#modalHighScores #btn-highscores-back:active{border-image-source:url(../assets/ui/BigBlueButton_Pressed.png)}#pauseOverlay #btn-pause-retreat,#pauseOverlay #btn-pause-retreat-confirm{color:#fff;text-shadow:0 2px #0006;border-width:10px 10px 14px;border-image:url(../assets/ui/BigRedButton_Regular.png) 16 16 22 fill/10px 10px 14px}#pauseOverlay #btn-pause-retreat:active,#pauseOverlay #btn-pause-retreat-confirm:active{border-image-source:url(../assets/ui/BigRedButton_Pressed.png)}#modalSettings #btn-settings-back:before,#modalHighScores #btn-highscores-back:before{content:"← " / ""}#pauseOverlay .modal-card--pause>*{order:2}#pauseOverlay .pause-title{order:0}#pauseOverlay .pause-tagline{order:1}#pauseOverlay .war-tent-duel{width:172px;height:90px;margin:-.6rem auto -1rem;position:relative}#pauseOverlay .war-tent-duel__lord{--fw:124px;--fh:124px;--frames:4;background:var(--sheet) no-repeat 0 0 / calc(var(--fw) * var(--frames)) var(--fh);width:124px;height:124px;animation:.6s steps(4,end) infinite wc-frames;position:absolute;top:-14px}#pauseOverlay .war-tent-duel__lord--blue{--sheet:url(../assets/units/blue/Warrior_Attack1.png);left:0}#pauseOverlay .war-tent-duel__lord--red{--sheet:url(../assets/units/red/Warrior_Attack1.png);animation-delay:-.3s;right:0;transform:scaleX(-1)}#pauseOverlay .arcade-btn-stack{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:.45rem;margin:0;display:grid}#pauseOverlay #btn-resume{letter-spacing:.12em;grid-column:1/-1;min-height:3.6rem;font-size:1.3rem}#pauseOverlay #btn-resume:before{content:"⚔" / "";margin-right:.5rem}#pauseOverlay #btn-pause-settings:before{content:"⚙" / "";margin-right:.35rem}#pauseOverlay #btn-pause-retreat:before,#pauseOverlay #btn-pause-retreat-confirm:before{content:"🏳️" / "";margin-right:.4rem}#pauseOverlay .pause-quit-confirm-heading{font-family:var(--wc-font-title);letter-spacing:.02em;color:#7d1812;margin:.2rem 0 .1rem;font-size:2rem;font-weight:400}#pauseOverlay .pause-quit-confirm-copy{font-family:var(--wc-font);color:var(--wc-ink-soft);margin:0 0 .6rem;font-size:.85rem}#pauseOverlay #pause-retreat-confirm .arcade-btn-stack>.btn{min-height:3.1rem;font-size:1rem}#modalSettings .settings-fields{background:0 0;border:0;border-radius:0;gap:.35rem;margin:0;padding:.1rem}#modalSettings .settings-row{min-height:2.8rem;font-family:var(--wc-font);color:var(--wc-ink);border-style:solid;border-width:10px;border-image:url(../assets/ui/Paper.png) 14 fill/10px round;padding:.1rem .4rem;font-size:.92rem}#modalSettings .settings-row-label{font-weight:700}#modalSettings .settings-row-label:before{content:"•" / "";width:1.5rem;display:inline-block}#modalSettings .settings-row:has(#checkbox-sound) .settings-row-label:before{content:"🔔" / ""}#modalSettings .settings-row:has(#checkbox-fps) .settings-row-label:before{content:"⏱" / ""}#modalSettings .settings-row:has(#checkbox-particles) .settings-row-label:before{content:"✨" / ""}#modalSettings .settings-row:has(#checkbox-colyseus-debug) .settings-row-label:before{content:"🛠" / ""}#modalSettings .settings-check{appearance:none;border:3px solid var(--wc-ink);cursor:pointer;background:#b9a57f;border-radius:4px;flex-shrink:0;width:3.1rem;height:1.6rem;margin:0;transition:background-color .15s;position:relative;box-shadow:inset 0 3px #0000002e}#modalSettings .settings-check:before{content:"";background:var(--wc-red);border-radius:2px;width:1.05rem;height:calc(100% - 4px);transition:left .15s;position:absolute;top:2px;left:2px;box-shadow:inset 0 -3px #00000040}#modalSettings .settings-check:checked{background:#9cc7ea}#modalSettings .settings-check:checked:before{background:var(--wc-blue);left:calc(100% - 1.05rem - 2px)}#modalSettings .settings-check:focus-visible{outline:3px solid var(--wc-gold);outline-offset:2px}#modalSettings #btn-settings-back{margin-top:.15rem}#modalHighScores .leaderboard-head{flex-direction:column;align-items:center;gap:.25rem}#modalHighScores .leaderboard-head,#modalHighScores .leaderboard-head-text{width:100%;min-width:0}#modalHighScores .leaderboard-head-text{flex-direction:column;align-items:center;display:flex}#modalHighScores .leaderboard-subtitle{box-sizing:border-box;text-align:center;max-width:100%;margin-top:.25rem;padding-inline:2.8rem}#modalHighScores #btn-highscores-refresh{width:2.6rem;height:2.6rem;min-height:2.6rem;padding:0;font-size:0;position:absolute;top:.3rem;right:.3rem}#modalHighScores #btn-highscores-refresh:before{content:"↻" / "";font-size:1.2rem;line-height:1}#modalHighScores #btn-highscores-refresh:disabled{opacity:.45}#modalHighScores .leaderboard-status{color:var(--wc-ink-soft)}#modalHighScores .leaderboard-panel{background:#fff4d673;border:2px dashed #6b4f3373;border-radius:6px;height:min(20rem,max(10rem,46dvh))}#modalHighScores .leaderboard-scroll{padding:.4rem}#modalHighScores .leaderboard-rows{gap:.45rem}#modalHighScores .leaderboard-empty{font-family:var(--wc-font);color:var(--wc-ink-soft);margin:auto 0;padding:2.2rem .8rem 1rem;font-size:.88rem;line-height:1.45}#modalHighScores .leaderboard-empty:before{content:"✒";margin-bottom:.4rem;font-size:1.8rem;animation:2.6s ease-in-out infinite wc-quill;display:block}@keyframes wc-quill{50%{transform:translate(6px,-3px)rotate(10deg)}}#modalHighScores .leaderboard-empty--warn,#modalHighScores .leaderboard-empty--error{color:#7d1812}#modalHighScores .leaderboard-row.leaderboard-row--fixture{color:var(--wc-ink);font-family:var(--wc-font);background:0 0;border-style:solid;border-width:10px;border-image:url(../assets/ui/Paper.png) 14 fill/10px round;border-radius:0;padding:.25rem .3rem}#modalHighScores .match-fixture{grid-template-columns:minmax(0,1fr) auto minmax(4.5rem,auto) auto minmax(0,1fr);gap:.2rem .4rem}#modalHighScores .match-fixture__side{flex-direction:row;gap:.1rem}#modalHighScores .match-fixture__side--away{flex-direction:row-reverse}#modalHighScores .match-fixture__crest{--fw:48px;--fh:48px;--frames:8;color:#0000;background:url(../assets/units/blue/Warrior_Idle.png) 0 0/384px 48px no-repeat;border:0;border-radius:0;flex-shrink:0;width:48px;height:42px;font-size:0;animation:.9s steps(8,end) infinite wc-frames}#modalHighScores .match-fixture__side--away .match-fixture__crest{background-image:url(../assets/units/red/Warrior_Idle.png);transform:scaleX(-1)}#modalHighScores .match-fixture__name{text-overflow:ellipsis;white-space:nowrap;color:#fff;text-shadow:0 2px #00000059;-webkit-line-clamp:unset;border-style:solid;border-width:0 12px;border-image:url(../assets/ui/lobby/ribbon_blue.png) 0 110 fill/0 12px;min-width:0;padding:.15rem .2rem .5rem;font-size:.74rem;font-weight:700;display:block;overflow:hidden}#modalHighScores .match-fixture__side--away .match-fixture__name{border-image-source:url(../assets/ui/lobby/ribbon_red.png)}#modalHighScores .match-fixture__score{color:#fff;text-shadow:0 2px #00000073;clip-path:polygon(0 0,100% 0,100% 58%,50% 100%,0 58%);background:linear-gradient(135deg, #ffffff59, transparent 45%), var(--wc-blue);place-items:center;width:2.1rem;height:2.4rem;font-size:1.05rem;font-weight:700;display:grid}#modalHighScores .match-fixture__score--away{background:linear-gradient(135deg, #ffffff59, transparent 45%), var(--wc-red)}#modalHighScores .match-fixture__status,#modalHighScores .match-fixture__when,#modalHighScores .match-fixture__draws{font-family:var(--wc-font);color:var(--wc-ink-soft)}#modalHighScores .match-fixture__status{color:var(--wc-ink);font-size:.66rem}#modalHighScores .match-fixture__when{font-size:.66rem}@media (width<=560px){#pauseOverlay .modal-card--pause,#modalSettings .modal-card--settings,#modalHighScores .modal-card--leaderboard{border-width:20px 18px 44px 30px;border-image-width:20px 18px 44px 30px;padding-inline:.3rem}#pauseOverlay .pause-title,#modalSettings .arcade-screen-title,#modalHighScores .leaderboard-title{border-width:0 40px;border-image-width:0 40px;margin-top:-2.1rem;padding:.3rem .9rem 1rem;font-size:1.75rem}#pauseOverlay .arcade-btn-stack .btn{letter-spacing:.02em;padding-inline:.2rem;font-size:.74rem}#pauseOverlay #btn-resume{font-size:1.15rem}#modalHighScores .match-fixture{grid-template-columns:2.2rem minmax(0,1fr) minmax(0,1fr) 2.2rem}#modalHighScores .match-fixture__side,#modalHighScores .match-fixture__side--away{flex-direction:column}#modalHighScores .match-fixture__side--home{grid-area:1/1/auto/3}#modalHighScores .match-fixture__side--away{grid-area:1/3/auto/5}#modalHighScores .match-fixture__score--home{grid-area:2/1}#modalHighScores .match-fixture__meta{grid-area:2/2/auto/4}#modalHighScores .match-fixture__score--away{grid-area:2/4}#modalHighScores .modal-card--leaderboard .leaderboard-subtitle{padding-inline:0 2.6rem}}@media (orientation:landscape) and (height<=520px){#pauseOverlay .modal-card--pause,#modalSettings .modal-card--settings,#modalHighScores .modal-card--leaderboard{border-width:18px 18px 40px 28px;border-image-width:18px 18px 40px 28px;gap:.3rem}#pauseOverlay .modal-card--pause,#modalSettings .modal-card--settings{width:min(30rem,100%);max-width:min(30rem,100%)}#pauseOverlay .pause-title,#modalSettings .arcade-screen-title,#modalHighScores .leaderboard-title{border-width:0 40px;border-image-width:0 40px;margin-top:-1rem;padding:.2rem 1rem .85rem;font-size:1.7rem}#pauseOverlay .war-tent-duel,#pauseOverlay .pause-tagline,#modalSettings .arcade-screen-sub,#modalHighScores .leaderboard-subtitle{display:none}#pauseOverlay .arcade-btn-stack .btn,#modalSettings #btn-settings-back,#modalHighScores #btn-highscores-back{min-height:2.4rem;font-size:.8rem}#pauseOverlay #btn-resume{min-height:2.8rem;font-size:1.05rem}#modalSettings .settings-fields{grid-template-columns:1fr 1fr;max-height:none;display:grid}#modalSettings .settings-row{min-height:2.4rem;font-size:.82rem}#modalHighScores .leaderboard-panel{height:calc(100dvh - 12.5rem)}#modalHighScores #btn-highscores-refresh{top:-.9rem;right:-.2rem}}.arena-muster{top:var(--ingame-hud-h,0px);z-index:3;pointer-events:none;font-family:var(--wc-font);text-align:center;image-rendering:pixelated;justify-content:center;align-items:center;padding:16px;display:flex;position:absolute;bottom:0;left:0;right:0;overflow:hidden}.arena-muster[hidden],.arena-muster__card,.arena-muster__call{display:none}.arena-muster[data-mode=muster] .arena-muster__card,.arena-muster:not([data-mode=muster]) .arena-muster__call{display:flex}.arena-muster[data-mode=muster],.arena-muster[data-mode=waiting],.arena-muster[data-mode=status],.arena-muster[data-mode=countdown]{background:radial-gradient(#0000 35%,#060e1a9e 100%)}.arena-muster[data-mode=verdict]{background:radial-gradient(#281c0833 20%,#140c04b3 100%)}.arena-muster[data-mode=verdict][data-outcome=lose]{background:radial-gradient(#3c0a0640 20%,#1a0402bf 100%)}.arena-muster__card{width:min(32rem,100%);color:var(--wc-ink);pointer-events:auto;filter:drop-shadow(0 22px 26px #00000080);border-style:solid;border-width:26px 26px 58px 40px;border-image:url(../assets/ui/Banner.png) 22 30 70 40 fill/26px 26px 58px 40px;flex-direction:column;align-items:stretch;gap:.45rem;padding:.35rem .8rem .2rem;animation:.6s cubic-bezier(.2,.9,.3,1.15) both wc-unroll}.arena-muster__title{width:max-content;max-width:100%;font-family:var(--wc-font-title);letter-spacing:.04em;white-space:nowrap;color:#fff6d8;text-shadow:0 3px #6a4a12,0 0 14px #ffd6668c;border-style:solid;border-width:0 60px;border-image:url(../assets/ui/lobby/ribbon_yellow.png) 0 110 fill/0 60px;align-self:center;margin:-2.6rem auto 0;padding:.35rem 1.4rem 1.2rem;font-size:clamp(2.2rem,5vw,2.9rem);font-weight:400;line-height:1;animation:3.6s ease-in-out infinite wc-title-glow}.arena-muster__motto{color:var(--wc-ink-soft);margin:0;font-size:.82rem}.arena-muster__rules{color:#2f6e2b;margin:.15rem 0 0;font-size:.78rem;font-weight:700}.arena-muster__lords{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:.3rem;display:grid}.arena-muster__lord{flex-direction:column;align-items:center;min-width:0;transition:opacity .3s,filter .3s;display:flex;position:relative}.arena-muster__you{visibility:hidden;letter-spacing:.12em;text-transform:uppercase;color:#5a3a0e;background:var(--wc-gold);box-shadow:0 2px 0 var(--wc-gold-deep);border-radius:3px;padding:.05rem .5rem;font-size:.66rem;font-weight:700}.arena-muster__lord[data-you] .arena-muster__you{visibility:visible}.arena-muster__warrior{--fw:128px;--fh:128px;--frames:8;--sheet:url(../assets/units/blue/Warrior_Idle.png);background:var(--sheet) no-repeat 0 0 / calc(var(--fw) * var(--frames)) var(--fh);width:128px;height:112px;animation:wc-frames .9s steps(var(--frames)) infinite;margin:-8px 0 -14px;display:block}.arena-muster__lord[data-seat="1"] .arena-muster__warrior{--sheet:url(../assets/units/red/Warrior_Idle.png);transform:scaleX(-1)}.arena-muster__lord[data-state=ready] .arena-muster__warrior{--frames:6;--sheet:url(../assets/units/blue/Warrior_Guard.png);background-image:var(--sheet), radial-gradient(ellipse at 50% 78%, #ffd65abf, transparent 45%);background-size:calc(var(--fw) * var(--frames)) var(--fh), 100% 100%;background-repeat:no-repeat;animation:.9s steps(6,end) infinite wc-frames}.arena-muster__lord[data-seat="1"][data-state=ready] .arena-muster__warrior{--sheet:url(../assets/units/red/Warrior_Guard.png)}.arena-muster__lord[data-state=away],.arena-muster__lord[data-state=empty]{opacity:.5;filter:grayscale(.8)}.arena-muster__name{text-overflow:ellipsis;white-space:nowrap;color:#fff;text-shadow:0 2px #00000059;border-style:solid;border-width:0 18px;border-image:url(../assets/ui/lobby/ribbon_blue.png) 0 110 fill/0 18px;max-width:100%;padding:.2rem .4rem .65rem;font-size:.9rem;font-weight:700;overflow:hidden}.arena-muster__lord[data-seat="1"] .arena-muster__name{border-image-source:url(../assets/ui/lobby/ribbon_red.png)}.arena-muster__state{letter-spacing:.08em;text-transform:uppercase;color:var(--wc-ink-soft);margin-top:.1rem;font-size:.74rem;font-weight:700}.arena-muster__lord[data-state=ready] .arena-muster__state{color:#fff;text-shadow:0 1px #00000059;background:#3f9a4a;border-radius:3px;padding:.05rem .55rem;animation:.45s cubic-bezier(.2,1.6,.4,1) both wc-sealed;box-shadow:0 2px #276b30}.arena-muster__lord[data-state=ready] .arena-muster__state:before{content:"✓ "}.arena-muster__lord[data-state=away] .arena-muster__state{color:#9b1c14}@keyframes wc-sealed{0%{opacity:0;transform:scale(1.8)}to{opacity:1;transform:none}}.arena-muster__vs{width:3rem;height:3rem;font-family:var(--wc-font-title);color:#5a3a0e;background:radial-gradient(circle at 35% 30%, #fff1b8, var(--wc-gold) 55%, var(--wc-gold-deep));border-radius:50%;place-items:center;margin-top:-1.2rem;font-size:1.4rem;display:grid;box-shadow:0 3px #7a5410,0 0 0 3px #5a3a0e59}.arena-muster__ready{width:100%;min-height:3.6rem;font-family:var(--wc-font);letter-spacing:.1em;text-transform:uppercase;color:#fff;text-shadow:0 2px #0006;cursor:pointer;background:0 0;border-style:solid;border-width:10px 10px 14px;border-image:url(../assets/ui/BigBlueButton_Regular.png) 16 16 22 fill/10px 10px 14px;margin:.2rem 0 0;padding:.15rem .7rem .4rem;font-size:1.25rem;font-weight:700;transition:transform .12s;animation:1.8s ease-in-out infinite wc-call}.arena-muster__ready:before,.arena-muster__ready:after{content:"⚔" / "";vertical-align:.1em;margin:0 .5rem;font-size:1rem;display:inline-block}.arena-muster__ready:after{transform:scaleX(-1)}.arena-muster__ready:hover,.arena-muster__ready[data-hover-hold]{transform:translateY(-2px)}.arena-muster__ready:active{border-image-source:url(../assets/ui/BigBlueButton_Pressed.png);transform:translateY(2px)}.arena-muster__ready:focus-visible{outline:3px solid var(--wc-gold);outline-offset:3px}.arena-muster__ready:disabled{cursor:default;filter:grayscale(.5);animation:none}.arena-muster__ready[hidden],.arena-muster__wait[hidden]{display:none}.arena-muster__wait{color:var(--wc-ink-soft);margin:.3rem 0 .2rem;font-size:.92rem;font-style:italic}.arena-muster__wait:after{content:"";text-align:left;width:1.2em;animation:1.4s steps(4,end) infinite wc-dots;display:inline-block}.arena-muster__call{flex-direction:column;align-items:center;gap:.3rem}.arena-muster__call-text{font-family:var(--wc-font-title);white-space:nowrap;margin:0;font-weight:400;line-height:1}.arena-muster__call-sub{color:#fdf6e3;text-shadow:0 2px #0a141ecc,0 0 10px #0a141eb3;margin:0;font-size:.95rem}.arena-muster__call-sub[hidden]{display:none}.arena-muster[data-mode=waiting] .arena-muster__call-text,.arena-muster[data-mode=status] .arena-muster__call-text{color:#fff;text-shadow:0 3px #00000059;filter:drop-shadow(0 10px 14px #00000073);border-style:solid;border-width:0 56px;border-image:url(../assets/ui/lobby/ribbon_blue.png) 0 110 fill/0 56px;padding:.3rem 1.2rem 1.05rem;font-size:clamp(1.8rem,4.5vw,2.4rem)}.arena-muster[data-mode=waiting] .arena-muster__call-text:after{content:"";text-align:left;width:1.1em;animation:1.4s steps(4,end) infinite wc-dots;display:inline-block}.arena-muster[data-mode=countdown] .arena-muster__call-text,.arena-muster[data-mode=fight] .arena-muster__call-text{color:#0000;background:linear-gradient(#fff8d6 12%,#f7c948 55%,#c47f16 92%);filter:drop-shadow(0 5px #5a3a0e)drop-shadow(0 0 3px #3b2716)drop-shadow(0 14px 22px #0009);-webkit-background-clip:text;background-clip:text;padding:0 .2em;font-size:clamp(7rem,30vmin,13rem)}.arena-muster[data-mode=countdown] .arena-muster__call-text{font-size:clamp(11rem,50vmin,24rem);line-height:.72}.arena-muster[data-mode=fight] .arena-muster__call-text{background:linear-gradient(#fff1d0 10%,#ff9a4a 50%,#c2261c 92%);-webkit-background-clip:text;background-clip:text;font-size:clamp(5rem,22vmin,10rem)}.arena-muster[data-mode=countdown] .arena-muster__call-text.is-beat{animation:1s cubic-bezier(.2,1.3,.4,1) both wc-drum}.arena-muster[data-mode=fight] .arena-muster__call-text.is-beat{animation:.9s cubic-bezier(.2,1.3,.4,1) both wc-fight}@keyframes wc-drum{0%{opacity:0;transform:scale(2.4)}20%{opacity:1;transform:scale(.92)}32%{transform:scale(1)}78%{opacity:1}to{opacity:.25;transform:scale(.94)}}@keyframes wc-fight{0%{opacity:0;transform:scale(2.6)rotate(-6deg)}22%{opacity:1;transform:scale(.95)rotate(-3deg)}60%{opacity:1;transform:scale(1.02)rotate(-3deg)}to{opacity:0;transform:scale(1.25)rotate(-3deg)}}.arena-muster[data-mode=verdict] .arena-muster__call-text{color:#fff6d8;text-shadow:0 3px #6a4a12,0 0 16px #ffd66699;filter:drop-shadow(0 12px 16px #00000080);border-style:solid;border-width:0 70px;border-image:url(../assets/ui/lobby/ribbon_yellow.png) 0 110 fill/0 70px;padding:.35rem 1.4rem 1.25rem;font-size:clamp(2.6rem,7vw,3.8rem);animation:.7s cubic-bezier(.2,1.6,.4,1) both wc-verdict}.arena-muster[data-mode=verdict][data-outcome=lose] .arena-muster__call-text{color:#ffe9e3;text-shadow:0 3px #5e1510,0 0 16px #ff6e5080;border-image-source:url(../assets/ui/lobby/ribbon_red.png)}.arena-muster[data-mode=verdict][data-outcome=draw] .arena-muster__call-text{color:#f4f4f0;text-shadow:0 3px #3c3f44;border-image-source:url(../assets/ui/lobby/ribbon_gray.png)}.arena-muster[data-mode=verdict] .arena-muster__call-sub{font-size:1.1rem;animation:.5s .5s both wc-unroll}@media (width<=560px){.arena-muster{padding:10px}.arena-muster__card{border-width:20px 18px 44px 30px;border-image-width:20px 18px 44px 30px;padding-inline:.3rem}.arena-muster__title{border-width:0 44px;border-image-width:0 44px;margin-top:-2.1rem;padding:.3rem 1rem 1rem;font-size:1.9rem}.arena-muster__warrior{--fw:96px;--fh:96px;width:96px;height:84px}.arena-muster__name{border-width:0 13px;border-image-width:0 13px;font-size:.78rem}.arena-muster__ready{letter-spacing:.05em;font-size:1rem}.arena-muster[data-mode=verdict] .arena-muster__call-text{border-width:0 48px;border-image-width:0 48px}}@media (orientation:landscape) and (height<=520px){.arena-muster__card{border-width:18px 18px 40px 28px;border-image-width:18px 18px 40px 28px;gap:.25rem}.arena-muster__title{border-width:0 40px;border-image-width:0 40px;margin-top:-1rem;padding:.2rem 1rem .85rem;font-size:1.7rem}.arena-muster__motto{display:none}.arena-muster__warrior{--fw:88px;--fh:88px;width:88px;height:74px}.arena-muster__ready{min-height:2.8rem;font-size:1rem}}.canvas-wrap .minimap{--tabs-h:30px;right:12px;bottom:calc(12px + var(--tabs-h) + 6px);z-index:4;aspect-ratio:1;filter:drop-shadow(0 8px 12px #00000073);width:clamp(128px,17vw,208px);image-rendering:pixelated;background:#2e7f86;border-style:solid;border-width:8px;border-image:url(../assets/ui/Paper.png) 14/8px round;position:absolute}.canvas-wrap .minimap.hidden{display:none}.canvas-wrap .minimap-canvas{cursor:crosshair;touch-action:none;width:100%;height:100%;image-rendering:pixelated;display:block}.arena-command-bar{--wc-ink:#3b2716;--wc-ink-soft:#6b4f33;--wc-font:"Pixelify Sans", ui-rounded, system-ui, sans-serif;z-index:4;max-width:calc(100% - clamp(128px,17vw,208px) - 40px);font-family:var(--wc-font);color:var(--wc-ink);filter:drop-shadow(0 8px 12px #00000073);-webkit-user-select:none;user-select:none;border-style:solid;border-width:10px;border-image:url(../assets/ui/Paper.png) 14 fill/10px round;flex-direction:column;gap:.25rem;padding:.15rem .2rem .2rem;display:flex;position:absolute;bottom:12px;left:12px}.arena-command-bar[hidden],.arena-command-bar__btn[hidden]{display:none}.arena-command-bar__target{letter-spacing:.1em;text-transform:uppercase;color:var(--wc-ink-soft);margin:0 0 .05rem;font-size:.66rem;font-weight:700}.arena-command-bar__head{justify-content:space-between;align-items:center;gap:.4rem;min-height:1.1rem;display:flex}.arena-command-bar__btn.arena-command-bar__btn--remove{color:#fff;background:#b3261e;border-color:#6b120d;padding-top:.05rem;padding-bottom:.05rem;font-size:.7rem}.arena-command-bar__btn--remove[hidden]{display:none}.arena-command-bar[data-target=selected] .arena-command-bar__target{color:#9a6a10}.arena-command-bar__row{flex-wrap:wrap;align-items:center;gap:.25rem;display:flex}.arena-command-bar__sep{background:#6b4f3359;align-self:stretch;width:1px;margin:0 .1rem}.arena-command-bar__btn{min-height:1.75rem;font-family:var(--wc-font);color:var(--wc-ink-soft);cursor:pointer;background:#fffaeb8c;border:2px solid #6b4f3359;border-radius:4px;align-items:center;gap:.25rem;padding:.1rem .4rem;font-size:.74rem;font-weight:700;line-height:1;transition:background-color .12s,transform .12s;display:inline-flex}.arena-command-bar__btn:hover,.arena-command-bar__btn[data-hover-hold]{background:#fffaebf2;transform:translateY(-1px)}.arena-command-bar__btn:active{transform:translateY(1px)}.arena-command-bar__btn kbd{min-width:1.05rem;height:1.05rem;font-family:var(--wc-font);color:#fff;background:var(--wc-ink-soft);border-radius:3px;place-items:center;padding:0 .15rem;font-size:.62rem;display:inline-grid}.arena-command-bar__btn[aria-pressed=true]{--on:#e3b341;color:var(--wc-ink);background:color-mix(in srgb, var(--on) 38%, #fffaf0);border-color:var(--on);box-shadow:inset 0 -2px 0 color-mix(in srgb, var(--on) 70%, #000)}.arena-command-bar__btn[aria-pressed=true] kbd{background:color-mix(in srgb, var(--on) 60%, #3b2716)}.arena-command-bar__btn[data-directive=move]{--on:#79c0ff}.arena-command-bar__btn[data-directive=engage]{--on:#ff7b72}.arena-command-bar__btn[data-role=warrior]{--on:#f0883e}.arena-command-bar__btn[data-role=lancer]{--on:#58a6ff}.arena-command-bar__btn[data-role=archer]{--on:#7ee787}.arena-command-bar__btn[data-role=monk]{--on:#d2a8ff}.arena-command-bar__btn[data-role=spy]{--on:#e3b341}.arena-command-bar__btn[data-cmd=allRoles]{--on:#c9b089}.arena-command-bar__role[aria-pressed=false]{opacity:.7;text-decoration:line-through}.arena-command-bar__role:has(.arena-command-bar__avatar){padding:.1rem .25rem;position:relative}.arena-command-bar__avatar{background:var(--avatar) center / contain no-repeat;width:1.9rem;height:1.9rem;transition:filter .12s}.arena-command-bar__role:has(.arena-command-bar__avatar) kbd{min-width:.85rem;height:.85rem;font-size:.55rem;position:absolute;bottom:1px;right:1px}.arena-command-bar__role[aria-pressed=false] .arena-command-bar__avatar{filter:grayscale()brightness(.9);opacity:.55}.arena-command-bar__btn[data-role=warrior]{--avatar:url(../assets/ui/avatars/blue-warrior.png)}.arena-command-bar__btn[data-role=lancer]{--avatar:url(../assets/ui/avatars/blue-lancer.png)}.arena-command-bar__btn[data-role=archer]{--avatar:url(../assets/ui/avatars/blue-archer.png)}.arena-command-bar__btn[data-role=monk]{--avatar:url(../assets/ui/avatars/blue-monk.png)}.arena-command-bar__btn[data-role=spy]{--avatar:url(../assets/ui/avatars/blue-spy.png)}[data-side=red] .arena-command-bar__btn[data-role=warrior]{--avatar:url(../assets/ui/avatars/red-warrior.png)}[data-side=red] .arena-command-bar__btn[data-role=lancer]{--avatar:url(../assets/ui/avatars/red-lancer.png)}[data-side=red] .arena-command-bar__btn[data-role=archer]{--avatar:url(../assets/ui/avatars/red-archer.png)}[data-side=red] .arena-command-bar__btn[data-role=monk]{--avatar:url(../assets/ui/avatars/red-monk.png)}[data-side=red] .arena-command-bar__btn[data-role=spy]{--avatar:url(../assets/ui/avatars/red-spy.png)}.arena-command-bar__btn--lanes{--on:#c9b089}.arena-bar-tabs{z-index:4;gap:4px;width:clamp(128px,17vw,208px);height:30px;font-family:Pixelify Sans,ui-rounded,system-ui,sans-serif;display:flex;position:absolute;bottom:12px;right:12px}.arena-bar-tabs[hidden]{display:none}.arena-bar-tabs__btn{color:#6b4f33;cursor:pointer;filter:drop-shadow(0 4px 6px #00000059);background:#fffaebe0;border:2px solid #6b4f3373;border-radius:4px;flex:1 1 0;justify-content:center;align-items:center;gap:.3rem;min-width:0;padding:0 .3rem;font-family:inherit;font-size:.72rem;font-weight:700;display:inline-flex}.arena-bar-tabs__btn kbd{color:#fff;background:#6b4f33;border-radius:3px;place-items:center;padding:0 .2rem;font-family:inherit;font-size:.6rem;display:inline-grid}.arena-bar-tabs__btn[aria-pressed=true]{color:#3b2716;background:#f4dfae;border-color:#e3b341;box-shadow:inset 0 -2px #9f7d2e}.arena-build-bar__btn{flex-direction:column;gap:.05rem;padding:.2rem .35rem .15rem;position:relative}.arena-build-bar__icon{background:var(--icon) center bottom / contain no-repeat;width:2.3rem;height:2.1rem}.arena-build-bar__cost{font-size:.66rem}.arena-build-bar__cost:after{content:" g" / "";color:#9a6a10}.arena-build-bar__btn kbd{min-width:.9rem;height:.9rem;font-size:.55rem;position:absolute;top:2px;right:2px}.arena-build-bar__btn.is-instant{border-color:#3fb950;box-shadow:inset 0 0 0 1px #3fb950}.arena-build-bar__btn:disabled{cursor:not-allowed;opacity:.45;filter:grayscale(.8);transform:none}.arena-build-bar__btn[aria-pressed=true]{--on:#79c0ff}.arena-build-bar__btn[data-build=barracks]{--icon:url(../assets/buildings/blue/Barracks.png)}.arena-build-bar__btn[data-build=archery]{--icon:url(../assets/buildings/blue/Archery.png)}.arena-build-bar__btn[data-build=monastery]{--icon:url(../assets/buildings/blue/Monastery.png)}.arena-build-bar__btn[data-build=house]{--icon:url(../assets/buildings/blue/House1.png)}.arena-build-bar__btn[data-build=tower]{--icon:url(../assets/buildings/blue/Tower.png)}[data-side=red] .arena-build-bar__btn[data-build=barracks]{--icon:url(../assets/buildings/red/Barracks.png)}[data-side=red] .arena-build-bar__btn[data-build=archery]{--icon:url(../assets/buildings/red/Archery.png)}[data-side=red] .arena-build-bar__btn[data-build=monastery]{--icon:url(../assets/buildings/red/Monastery.png)}[data-side=red] .arena-build-bar__btn[data-build=house]{--icon:url(../assets/buildings/red/House1.png)}[data-side=red] .arena-build-bar__btn[data-build=tower]{--icon:url(../assets/buildings/red/Tower.png)}.arena-build-bar__btn[data-build=cannon] .arena-build-bar__icon{background:url(../assets/buildings/cannon/Cannon_DownRight.png) top/1.4rem no-repeat,url(../assets/buildings/Pirate_Tower.png) bottom/contain no-repeat}.arena-building-panel__fire:not(:disabled){border-color:#f85149;box-shadow:inset 0 0 0 1px #f85149,0 0 8px #f851498c}.arena-building-panel{--wc-ink:#3b2716;--wc-ink-soft:#6b4f33;z-index:4;width:clamp(200px,22vw,260px);max-height:calc(100% + -102px - clamp(128px,17vw,208px));color:var(--wc-ink);filter:drop-shadow(0 8px 12px #00000073);-webkit-user-select:none;user-select:none;border-style:solid;border-width:10px;border-image:url(../assets/ui/Paper.png) 14 fill/10px round;flex-direction:column;gap:.3rem;padding:.2rem .3rem .25rem;font-family:Pixelify Sans,ui-rounded,system-ui,sans-serif;display:flex;position:absolute;bottom:calc(58px + clamp(128px,17vw,208px));right:12px;overflow-y:auto}.arena-building-panel[hidden]{display:none}.arena-building-panel__title{margin:0;font-size:.95rem;font-weight:700}.arena-building-panel__hp{background:#6b4f3340;border-radius:3px;height:6px;overflow:hidden}.arena-building-panel__hp:before{content:"" / "";width:calc(var(--hp,1) * 100%);background:#3fb950;height:100%;display:block}.arena-building-panel__status{color:var(--wc-ink-soft);margin:0;font-size:.72rem}.arena-building-panel__row{flex-wrap:wrap;gap:.25rem;display:flex}.arena-building-panel__role{flex-direction:column;gap:.1rem;padding:.15rem .3rem}.arena-building-panel__price{white-space:nowrap;font-size:.58rem;font-weight:600}.arena-building-panel__demolish{--on:#ff7b72;color:#8a2a1e}.arena-building-panel__hint{color:var(--wc-ink-soft);margin:0;font-size:.6rem;line-height:1.35}.arena-economy-hud{z-index:4;color:#e8eef5;text-shadow:0 1px #0009;background:#080c18a8;border-left:4px solid #4f8fe8;border-radius:8px;flex-direction:column;gap:.1rem;min-width:220px;max-width:calc(50% - 24px);padding:.35rem .7rem .4rem .8rem;font-family:Pixelify Sans,ui-rounded,system-ui,sans-serif;font-size:.82rem;display:flex;position:absolute;top:48px;left:12px}.arena-economy-hud[data-seat="1"]{border-left-color:#e0524a}.arena-economy-hud[hidden]{display:none}.arena-economy-hud__line{white-space:nowrap;margin:0;line-height:1.35}.arena-economy-hud__clock{color:#fde68a;font-weight:700}.arena-economy-hud__income,.arena-economy-hud__army{cursor:help;text-underline-offset:3px;-webkit-text-decoration:underline dotted #e8eef573;text-decoration:underline dotted #e8eef573}.arena-economy-hud__income.is-cut,.arena-economy-hud__army.is-full{color:#fbbf24}.arena-economy-hud__capital{color:#7ee787}@media (width<=700px){.canvas-wrap .minimap{--tabs-h:26px;right:8px;bottom:calc(8px + var(--tabs-h) + 6px);width:112px}.arena-bar-tabs{width:112px;height:26px;bottom:8px;right:8px}.arena-bar-tabs__btn{font-size:.62rem}.arena-bar-tabs__btn kbd{display:none}.arena-building-panel{border-width:8px;border-image-width:8px;width:180px;max-height:calc(100% - 204px);bottom:160px;right:8px}.arena-building-panel__hint{display:none}.arena-economy-hud{min-width:0;font-size:.7rem;top:44px;left:8px}.arena-build-bar__icon{width:1.8rem;height:1.6rem}.arena-command-bar{border-width:8px;border-image-width:8px;max-width:calc(100% - 140px);bottom:8px;left:8px}.arena-command-bar__btn{min-height:1.6rem;padding:.08rem .3rem;font-size:.64rem}.arena-command-bar__btn kbd{display:none}}@media (prefers-reduced-motion:reduce){.war-scene *,.war-aftermath *,#modalMenu *,#modalMenu :before,#modalMenu :after,#modalLobby *,#modalLobby :before,#modalLobby :after,#modalGameOver *,#modalGameOver :before,#modalGameOver :after,#pauseOverlay *,#pauseOverlay :before,#pauseOverlay :after,#modalSettings *,#modalSettings :before,#modalSettings :after,#modalHighScores *,#modalHighScores :before,#modalHighScores :after,.arena-muster *,.arena-muster :before,.arena-muster :after{transition:none!important;animation:none!important}}#modalSettings .settings-account{flex-wrap:wrap;justify-content:center;align-items:center;gap:.4rem .6rem;margin:0 0 .6rem;display:flex}#modalSettings .settings-account[hidden],#modalSettings .settings-account__btn[hidden]{display:none}#modalSettings .settings-account__btn{font-family:var(--wc-font);color:var(--wc-ink);cursor:pointer;background:#fffaf0;border:2px solid #3b271673;border-radius:6px;padding:.3rem .75rem;font-size:.78rem;font-weight:700;box-shadow:0 2px #3b271640}#modalSettings .settings-account__btn:hover,#modalSettings .settings-account__btn:focus-visible{outline:2px solid var(--wc-gold);outline-offset:1px;background:#fff}#modalSettings .settings-account__status{text-align:center;flex-basis:100%;margin:0;font-weight:700}#modalSettings .settings-account__btn:disabled{cursor:wait;opacity:.6}#modalSettings .settings-account__btn--danger{color:#a3261c;border-color:#a3261c8c}#modalSettings .settings-account__confirm{background:#a3261c14;border:1px dashed #a3261c80;border-radius:6px;flex-wrap:wrap;flex-basis:100%;justify-content:center;gap:.4rem .6rem;padding:.5rem .6rem;display:flex}#modalSettings .settings-account__confirm[hidden]{display:none}#modalSettings .settings-account__confirm-copy{text-align:center;flex-basis:100%;margin:0;font-size:.74rem}#modalSettings .settings-links{text-align:center;color:#3b271699;margin:.5rem 0 .4rem;font-size:.7rem}#modalSettings .settings-links a,#modalLobby .lobby-server-hint a{color:inherit;text-underline-offset:2px;text-decoration:underline}#modalSettings .settings-links a:hover,#modalLobby .lobby-server-hint a:hover{color:var(--wc-ink)}
