:root{--text:#6b6375;--text-h:#08060d;--bg:#fff;--border:#e5e4e7;--code-bg:#f4f3ec;--accent:#edaa00;--accent-bg:#edaa001f;--accent-border:#edaa0080;--social-bg:#f4f3ec80;--shadow:#0000001a 0 10px 15px -3px, #0000000d 0 4px 6px -2px;--sans:system-ui, "Segoe UI", Roboto, sans-serif;--heading:system-ui, "Segoe UI", Roboto, sans-serif;--mono:ui-monospace, Consolas, monospace;font:18px/145% var(--sans);letter-spacing:.18px;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark;color:var(--text);background:var(--bg);font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial}}@media (width<=1024px){:root{font-size:16px}}@media (prefers-color-scheme:dark){:root{--text:#9ca3af;--text-h:#f3f4f6;--bg:#16171d;--border:#2e303a;--code-bg:#1f2028;--accent:#edaa00;--accent-bg:#edaa002e;--accent-border:#edaa008c;--social-bg:#2f303a80;--shadow:#0006 0 10px 15px -3px, #00000040 0 4px 6px -2px}#social .button-icon{filter:invert()brightness(2)}}#root{text-align:center;box-sizing:border-box;flex-direction:column;width:100%;min-height:100svh;display:flex}body{margin:0}h1,h2{font-family:var(--heading);color:var(--text-h);font-weight:500}h1{letter-spacing:-1.68px;margin:32px 0;font-size:56px}@media (width<=1024px){h1{margin:20px 0;font-size:36px}}h2{letter-spacing:-.24px;margin:0 0 8px;font-size:24px;line-height:118%}@media (width<=1024px){h2{font-size:20px}}p{margin:0}code,.counter{font-family:var(--mono);color:var(--text-h);border-radius:4px;display:inline-flex}code{background:var(--code-bg);padding:4px 8px;font-size:15px;line-height:135%}.counter{color:var(--accent);border:2px solid var(--accent);cursor:pointer;background:#0000008c;border-radius:5px;margin-bottom:24px;padding:5px 10px;font-size:16px;transition:background-color .3s,border-color .3s}.counter:hover{background:var(--accent-bg);border-color:var(--accent-border)}.counter:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.counter:disabled{cursor:not-allowed;opacity:.5}#center{box-sizing:border-box;--court-line:var(--accent);--court-text:#f3f4f6;background-position:50%;background-repeat:no-repeat;background-size:cover;flex-direction:column;flex-grow:1;align-items:center;gap:4px;height:100svh;padding:68px 14px 4px;display:flex}.top-bar{z-index:10;box-sizing:border-box;pointer-events:none;justify-content:space-between;align-items:center;padding:10px 24px;display:flex;position:fixed;top:0;left:0;right:0}.top-bar h1{margin:0}.logo-button{cursor:pointer;pointer-events:auto;background:0 0;border:none;padding:0;display:block}.logo{width:110px;height:auto;display:block}.role-banner{font-family:var(--heading);border-radius:999px;margin:0;padding:5px 18px;font-size:20px;font-weight:600}.role-banner.role-attacker{color:#c2410c;background:#ea580c24}.role-banner.role-defender{color:#1d4ed8;background:#2563eb24}.turn-panel{font-family:var(--heading);pointer-events:auto;align-items:center;gap:12px;font-size:14px;font-weight:600;display:flex}.turn-panel .counter{margin-bottom:0}.card-visual{width:100%;position:relative;container-type:inline-size}.card-art,.card-art-placeholder{aspect-ratio:670/908}.card-art{object-fit:cover;box-sizing:border-box;border-radius:8px;width:100%;display:block}.card-art-placeholder{text-align:left;background:var(--border);color:var(--text);white-space:pre-wrap;font-size:10px;line-height:130%;font-family:var(--mono);flex-direction:column;justify-content:flex-start;align-items:flex-start;margin:0;padding:8px;display:flex;overflow:hidden}.card-art-shimmer{background:var(--border);pointer-events:none;border-radius:8px;position:absolute;inset:0;overflow:hidden}.card-art-shimmer:after{content:"";background:linear-gradient(90deg, transparent, var(--accent-bg), transparent);background-size:200% 100%;animation:1.4s ease-in-out infinite card-art-shimmer-sweep;position:absolute;inset:0}@keyframes card-art-shimmer-sweep{0%{background-position:200% 0}to{background-position:-200% 0}}.card-stat-overlay{pointer-events:none;position:absolute;inset:0}.stat-badge{font-family:var(--mono);color:#fff;text-shadow:0 1px 3px #000000e6,0 0 4px #0009;font-size:13cqw;font-weight:700;line-height:1;position:absolute;top:90.69%;transform:translate(-50%,-50%)}.card-stat-overlay .stat-badge:first-child{left:12.46%}.card-stat-overlay .stat-badge:last-child{left:87.39%}.stat-badge-buffed{color:#4ade80}.stat-badge-debuffed{color:#f87171}.card-cost-badge{font-family:var(--mono);color:#fff;text-shadow:0 1px 3px #000000e6,0 0 4px #0009;pointer-events:none;font-size:13cqw;font-weight:700;line-height:1;position:absolute;top:9.22%;left:12.46%;transform:translate(-50%,-50%)}.card-cost-badge-discounted{color:#4ade80}.card-cost-badge-surcharged{color:#f87171}.card-position-badge{font-family:var(--mono);color:#fff;text-shadow:0 1px 3px #000000e6,0 0 4px #0009;pointer-events:none;font-size:13cqw;font-weight:700;line-height:1;position:absolute;top:9.22%;left:87.39%;transform:translate(-50%,-50%)}.card-ability-cost-badge-discounted{color:#4ade80}.card-ability-cost-badge-surcharged{color:#f87171}.card-ability-cost-badge{font-family:var(--mono);color:#fff;text-shadow:0 1px 3px #000000e6,0 0 4px #0009;pointer-events:none;font-size:4.5cqw;font-weight:700;line-height:1;position:absolute;top:82.98%;left:49.78%;transform:translate(-50%,-50%)}.card-badge-highlight{pointer-events:none;border:max(3px,2.2cqw) solid #4ade80;border-radius:50%;width:24cqw;height:24cqw;animation:1.2s ease-in-out infinite badge-highlight-pulse;position:absolute;transform:translate(-50%,-50%);box-shadow:0 0 12px 4px #4ade80d9,0 0 0 2px #0006}@keyframes badge-highlight-pulse{0%,to{opacity:.8}50%{opacity:1}}.card-badge-highlight-cost{top:9.22%;left:12.46%}.card-badge-highlight-position{top:9.22%;left:87.39%}.card-badge-highlight-attack{top:90.69%;left:12.46%}.card-badge-highlight-defense{top:90.69%;left:87.39%}.card-tap-button{font-family:var(--mono);color:var(--accent);border:1.5px solid var(--accent);cursor:pointer;white-space:nowrap;background:#000000a6;border-radius:999px;padding:3px 6px;font-size:9cqw;font-weight:700;line-height:1;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.card-tap-button:disabled{cursor:default;opacity:.6}.hand{width:100%;max-width:1600px}.hand-header{text-align:center;margin:0 0 4px}.hand-header h2{margin:0}.hand-row{align-items:center;gap:20px;display:flex}.hand-deck{flex:none;width:200px}.deck-display{width:100%;position:relative}.deck-art{aspect-ratio:3/2;object-fit:contain;box-sizing:border-box;border-radius:8px;width:100%;display:block}.deck-art-placeholder{background:var(--code-bg);border:1px solid var(--border)}.deck-tooltip{color:#cea454;font-family:var(--mono);white-space:nowrap;opacity:0;pointer-events:none;z-index:5;background:#000000d9;border-radius:6px;margin-bottom:10px;padding:6px 12px;font-size:13px;transition:opacity .15s;position:absolute;bottom:100%;left:0}.deck-display:hover .deck-tooltip{opacity:1}.deck-display.deck-empty{aspect-ratio:3/2;border:1px dashed var(--court-line);box-sizing:border-box;text-align:center;width:100%;font-family:var(--mono);color:var(--text);border-radius:8px;justify-content:center;align-items:center;padding:8px;font-size:13px;display:flex}.hand-cards{--hand-card-w:min(128px, calc((100cqw - (4px * 7)) / 8));flex-wrap:wrap;flex:1;justify-content:center;gap:4px;display:flex;container-type:inline-size}.hand-card{width:var(--hand-card-w);cursor:grab;transform-origin:bottom;flex-direction:column;flex:none;gap:8px;transition:transform .15s;display:flex;position:relative}.hand-card:hover{z-index:20;transform:scale(1.2)}.hand-card:active{cursor:grabbing}.hand-card-ghost{aspect-ratio:670/908;border:1px dashed var(--court-line);box-sizing:border-box;border-radius:8px;width:100%}.locations{box-sizing:border-box;flex:1;width:100%;min-height:0;padding-top:54px}.locations-row{box-sizing:border-box;--courts-width-budget:calc(100cqw - (40px * 2));--slot-width-from-width:calc(((var(--courts-width-budget) / 3) - 140px) / 2);--slot-height-from-height:calc((100cqh - 90px) / 4);--slot-width-from-height:calc(var(--slot-height-from-height) * 670 / 908);--slot-w-fitted:min(var(--slot-width-from-width), var(--slot-width-from-height));--slot-w:calc(var(--slot-w-fitted) * .97);--slot-h:calc(var(--slot-w) * 908 / 670);--court-h:calc((var(--slot-h) * 4) + 90px);--court-w:calc((var(--slot-w) * 2) + 140px);flex-wrap:nowrap;justify-content:center;gap:40px;width:100%;height:100%;display:flex;position:relative;container-type:size}.location{width:var(--court-w);height:var(--court-h);border:1px solid var(--court-line);box-sizing:border-box;background-position:50%;background-size:cover;border-radius:12px;flex-direction:column;flex:none;gap:4px;padding:32px 64px 42px;transition:border-color .2s,box-shadow .2s,background .2s;display:flex;position:relative}.location-decided-attacker{background-color:#ea580c1a;border:3px solid #ea580c;box-shadow:0 0 0 3px #ea580c4d,0 0 16px #ea580c73}.location-decided-defender{background-color:#2563eb1a;border:3px solid #2563eb;box-shadow:0 0 0 3px #2563eb4d,0 0 16px #2563eb73}.location-decided-draw{border:3px solid var(--text);background-color:#6b63751a;box-shadow:0 0 0 3px #6b637533}.location-closed{opacity:.35;filter:grayscale();border-style:dashed}.location-closed .location-slot{pointer-events:none}.location-header{z-index:20;pointer-events:none;flex-direction:column;align-items:center;gap:3px;margin-bottom:6px;display:flex;position:absolute;bottom:100%;left:0;right:0}.location-header-name-wrap{max-width:100%;display:inline-block;position:relative}.location-header-name{text-overflow:ellipsis;white-space:nowrap;max-width:100%;color:var(--court-text);font-family:var(--heading);font-size:clamp(9px, calc(var(--slot-w) * .18), 12px);box-sizing:border-box;background:#000000a6;border-radius:999px;padding:2px 10px;font-weight:700;line-height:1.3;display:block;overflow:hidden}.location-header-name-hoverable{pointer-events:auto;cursor:help}.location-header-tooltip{color:#f3f4f6;width:220px;font-family:var(--sans);text-align:left;white-space:normal;text-transform:none;letter-spacing:normal;opacity:0;pointer-events:none;background:#000000eb;border-radius:8px;margin-bottom:8px;padding:8px 10px;font-size:12px;font-weight:400;line-height:1.4;transition:opacity .15s;position:absolute;bottom:100%;left:50%;transform:translate(-50%)}.location-header-tooltip strong{color:var(--accent);margin-bottom:4px;display:block}.location-header-name-hoverable:hover .location-header-tooltip{opacity:1}.location-header-totals{align-items:baseline;gap:clamp(4px, calc(var(--slot-w) * .14), 10px);color:var(--court-text);font-family:var(--mono);font-size:clamp(6px, calc(var(--slot-w) * .16), 11px);white-space:nowrap;background:#000000a6;border-radius:999px;padding:1px 10px;line-height:1.3;display:flex}.location-header-total-leading{color:var(--accent);font-weight:700}.location-header-total-bonus{color:var(--accent);margin-left:3px;font-weight:700}.location-header-decided{font-family:var(--heading);text-transform:uppercase;letter-spacing:.03em;font-weight:700}.location-decided-attacker .location-header-decided{color:#ea580c}.location-decided-defender .location-header-decided{color:#2563eb}.location-decided-draw .location-header-decided{color:var(--text)}.match-status-panel{box-sizing:border-box;background:#0009;border-radius:12px;flex-direction:column;flex:none;gap:clamp(6px,.9vh,10px);min-width:220px;padding:clamp(10px,1.8vh,20px) clamp(14px,2.2vh,24px);display:flex}.match-status-timer{border-bottom:1px solid #ffffff2e;align-items:center;padding-bottom:clamp(4px,.7vh,8px)}.match-status-timer .match-status-value{transform-origin:100%;font-size:clamp(22px,3vh,32px);line-height:1.1;transition:color .3s;display:inline-block}.match-status-timer-low .match-status-value{color:#ef4444;animation:1s ease-in-out infinite turn-urgent-pulse}.turn-urgent-glow{z-index:50;pointer-events:none;animation:1s ease-in-out infinite turn-urgent-glow-pulse;position:fixed;inset:0;box-shadow:inset 0 0 clamp(80px,14vh,200px) #dc2626b3,inset 0 0 clamp(20px,3vh,40px) #ef444480}@keyframes turn-urgent-pulse{0%,to{opacity:1;transform:scale(1)}50%{opacity:.75;transform:scale(1.06)}}@keyframes turn-urgent-glow-pulse{0%,to{opacity:.55}50%{opacity:1}}@media (prefers-reduced-motion:reduce){.match-status-timer-low .match-status-value,.turn-urgent-glow{animation:none}}.match-status-row{font-family:var(--heading);color:#fff;white-space:nowrap;justify-content:space-between;align-items:baseline;gap:clamp(12px,2vh,24px);font-size:clamp(13px,1.6vh,17px);line-height:1.3;display:flex}.match-status-label{font-weight:600}.match-status-value{font-variant-numeric:tabular-nums;font-weight:800}.locations.tactic-drag-target{outline:2px dashed var(--accent);outline-offset:-2px;background:var(--accent-bg);border-radius:12px;transition:background .15s}.turn-summary{width:180px;height:var(--court-h);border:1px solid var(--court-line);box-sizing:border-box;border-radius:12px;flex-direction:column;gap:8px;padding:14px;display:flex;position:absolute;top:0;right:0}.turn-summary h2{margin:0;font-size:15px}.turn-summary-empty{font-family:var(--mono);color:var(--text);margin:0;font-size:11px}.turn-summary-thumbs{flex-wrap:wrap;gap:4px;max-height:35%;display:flex;overflow-y:auto}.turn-summary-thumb{flex:none;width:36px}.turn-summary-list{font-family:var(--mono);color:var(--text);flex:1;min-height:0;margin:0;padding-left:16px;font-size:10px;overflow-y:auto}.turn-cancel{color:#fff;background:#dc2626;border-color:#0000;margin-top:auto;margin-bottom:0;font-weight:700}.turn-cancel:hover{border-color:#fca5a5}.location-net-divider{border-top:1px dashed var(--court-line)}.location-sides{grid-template-rows:1fr;grid-template-columns:1fr 1fr;gap:10px;display:grid}.location-sides-opponent .location-slot{opacity:.85}.location-side{flex-direction:column;display:flex;position:relative}.location-slots{flex-direction:column;gap:4px;display:flex}.location-sides-opponent .location-slots{flex-direction:column-reverse}.location-slot{width:var(--slot-w);aspect-ratio:670/908;border:1px dashed var(--court-line);box-sizing:border-box;border-radius:8px;flex-direction:column;flex:none;gap:6px;transition:border-color .15s,background .15s;display:flex;overflow:hidden}.location-slot .card-visual{width:100%}.location-slot.drag-over{border-color:var(--accent);background:var(--accent-bg);border-style:solid}.location-slot.blocked{background:#f871711f;border-style:solid;border-color:#f87171}.location-slot-cross{color:#f87171;flex:1;justify-content:center;align-items:center;font-size:28px;line-height:1;display:flex}.location-card-click{cursor:pointer;width:100%;position:relative;container-type:inline-size}.location-card-click-relocatable{cursor:grab}.card-preview-backdrop{box-sizing:border-box;z-index:1000;cursor:pointer;background:#0009;flex-wrap:wrap;justify-content:center;align-items:center;gap:20px;padding:20px;animation:.15s ease-out card-preview-fade-in;display:flex;position:fixed;inset:0}.card-preview-card{cursor:default;width:min(70vw,380px);animation:.15s ease-out card-preview-pop-in}.card-preview-hint{cursor:default;box-sizing:border-box;background:#0009;border-radius:12px;width:min(30vw,220px);max-height:80vh;padding:16px;animation:.15s ease-out card-preview-pop-in;overflow-y:auto}.card-preview-hint-title{font-family:var(--heading);color:#fff;margin:0 0 8px;font-size:15px;font-weight:700}.card-preview-hint-generic{font-family:var(--sans);color:var(--accent);margin:0 0 10px;font-size:12px;font-style:italic;line-height:140%}.card-preview-hint-text{font-family:var(--sans);color:#fff;margin:0;font-size:14px;line-height:145%}.card-preview-card{position:relative}.card-badge-hints{pointer-events:none;position:absolute;inset:0}.card-badge-hint{aspect-ratio:1;pointer-events:auto;cursor:help;border-radius:50%;outline:none;width:22%;transition:box-shadow .15s;position:absolute;transform:translate(-50%,-50%)}.card-badge-hint:hover,.card-badge-hint:focus-visible{box-shadow:0 0 0 2px #edaa00d9,0 0 10px 2px #edaa0073}.card-badge-hint-cost{top:9.22%;left:12.46%}.card-badge-hint-position{top:9.22%;left:87.39%}.card-badge-hint-attack{top:90.69%;left:12.46%}.card-badge-hint-defense{top:90.69%;left:87.39%}.card-badge-hint-tooltip{color:#f3f4f6;width:200px;font-family:var(--sans);text-align:left;opacity:0;pointer-events:none;z-index:1;background:#000000eb;border-radius:8px;padding:8px 10px;font-size:12px;font-weight:400;line-height:1.4;transition:opacity .15s;position:absolute}.card-badge-hint-tooltip strong{color:var(--accent);margin-bottom:4px;display:block}.card-badge-hint-value{font-family:var(--mono);color:#4ade80;margin-top:4px;font-weight:700;display:block}.card-badge-hint-cost .card-badge-hint-tooltip,.card-badge-hint-position .card-badge-hint-tooltip{margin-top:4px;top:100%}.card-badge-hint-attack .card-badge-hint-tooltip,.card-badge-hint-defense .card-badge-hint-tooltip{margin-bottom:4px;bottom:100%}.card-badge-hint-cost .card-badge-hint-tooltip,.card-badge-hint-attack .card-badge-hint-tooltip{left:0}.card-badge-hint-position .card-badge-hint-tooltip,.card-badge-hint-defense .card-badge-hint-tooltip{right:0}.card-badge-hint:hover .card-badge-hint-tooltip,.card-badge-hint:focus-visible .card-badge-hint-tooltip{opacity:1}.card-breakdown{cursor:default;box-sizing:border-box;background:#0009;border-radius:12px;width:min(30vw,240px);max-height:80vh;padding:16px;animation:.15s ease-out card-preview-pop-in;overflow-y:auto}.card-breakdown-title{font-family:var(--heading);color:#fff;margin:0 0 8px;font-size:15px;font-weight:700}.card-breakdown-list+.card-breakdown-title{margin-top:14px}.card-breakdown-list{margin:0;padding:0;list-style:none}.card-breakdown-row{font-family:var(--sans);color:#fff;justify-content:space-between;align-items:baseline;gap:10px;font-size:13px;line-height:150%;display:flex}.card-breakdown-source{color:var(--accent)}.card-breakdown-count{color:#fff;opacity:.75;margin-left:5px}.card-breakdown-change{white-space:nowrap;font-variant-numeric:tabular-nums}.card-breakdown-row.blocked{opacity:.5;text-decoration:line-through}.replay-slot-card,.replay-viewer .hand-card,.replay-opponent-hand-card{cursor:pointer}@keyframes card-preview-fade-in{0%{opacity:0}to{opacity:1}}@keyframes card-preview-pop-in{0%{opacity:0;transform:scale(.85)}to{opacity:1;transform:scale(1)}}.turn-reveal-corner{z-index:500;box-sizing:border-box;border:1px solid var(--accent-border);cursor:pointer;background:#000000a6;border-radius:12px;flex-direction:column;align-items:center;gap:8px;width:180px;padding:10px;animation:.15s ease-out card-preview-pop-in;display:flex;position:fixed;top:76px;right:24px}.turn-reveal-corner-card{width:100%}.turn-reveal-owner-badge{font-family:var(--heading);white-space:nowrap;border-radius:999px;justify-content:center;align-items:center;gap:8px;padding:4px 12px;font-size:13px;font-weight:700;display:flex}.turn-reveal-owner-badge-human{color:var(--accent);border:1px solid var(--accent-border);background:#edaa002e}.turn-reveal-owner-badge-opponent{color:#e2e8f0;background:#94a3b82e;border:1px solid #94a3b880}.turn-reveal-progress{font-variant-numeric:tabular-nums;opacity:.75;font-weight:600}.turn-reveal-description{font-family:var(--sans);color:#fff;text-align:center;margin:0;font-size:12px;font-weight:600;line-height:130%}.target-picker{cursor:default;border:1px solid var(--border);box-sizing:border-box;background:var(--accent-bg);border-radius:16px;flex-direction:column;gap:12px;width:min(80vw,520px);max-height:80vh;padding:20px;animation:.15s ease-out card-preview-pop-in;display:flex;overflow-y:auto}.target-picker-section-title{text-transform:uppercase;letter-spacing:.04em;color:var(--text);opacity:.7;margin:0 0 8px;font-size:12px;font-weight:700}.target-picker h2{margin:0;font-size:16px}.target-picker-grid{grid-template-columns:repeat(auto-fill,minmax(104px,1fr));gap:10px;display:grid;overflow-y:auto}.target-picker-option{cursor:pointer;background:0 0;border:2px solid #0000;border-radius:8px;flex-direction:column;align-items:center;gap:4px;padding:6px;transition:border-color .15s;display:flex}.target-picker-option:hover,.target-picker-option:focus-visible{border-color:var(--accent-border)}.target-picker-label{color:var(--text);text-align:center;font-size:10px}.court-slot-picker{flex-wrap:wrap;justify-content:center;gap:16px;display:flex}.court-slot-picker-court{border:1px solid var(--border);border-radius:10px;flex-direction:column;align-items:center;gap:6px;padding:10px;display:flex}.court-slot-picker-court-label{color:var(--text);font-size:11px;font-weight:700}.court-slot-picker-row{grid-template-columns:1fr 1fr;gap:6px;display:grid}.court-slot-picker-side{flex-direction:column;gap:4px;display:flex}.court-slot-picker-row-opponent .court-slot-picker-side{flex-direction:column-reverse}.court-slot-picker-row-opponent{opacity:.85}.court-slot-picker-row-human{border-top:1px dashed var(--border);margin-top:4px;padding-top:8px}.court-slot-picker-slot{border:1px solid var(--border);background:var(--accent-bg);cursor:not-allowed;border-radius:4px;justify-content:center;align-items:center;width:22px;height:22px;padding:0;display:flex}.court-slot-picker-slot.occupied{background:#ffffff0d}.court-slot-picker-cross{color:#f87171;font-size:12px;line-height:1}.court-slot-picker-slot.selectable{cursor:pointer;border-color:var(--accent-border);background:var(--accent-bg);transition:transform .1s,border-color .1s}.court-slot-picker-slot.selectable:hover,.court-slot-picker-slot.selectable:focus-visible{border-color:var(--accent);transform:scale(1.15)}.match-end-headline-human{color:#15803d;background:#15803d24}.match-end-headline-opponent{color:#b91c1c;background:#b91c1c24}.match-end-headline-draw{color:var(--text-h);background:var(--accent-bg)}.match-end-note{color:#f3f4f6;background:#0a0e1abf;border-radius:999px;padding:4px 12px;font-size:14px}.match-end-note.opponent-away{color:#ffd08a}.counter.forfeit-button{color:#ff8a8d;border-color:#e5484db3}.match-reward-backdrop{cursor:default}.match-reward-modal{cursor:default;border:1px solid var(--border);box-sizing:border-box;text-align:center;background:#0a0e1af0;border-radius:16px;flex-direction:column;gap:16px;width:min(90vw,360px);padding:24px;animation:.15s ease-out card-preview-pop-in;display:flex;box-shadow:0 8px 32px #00000080}.match-reward-title{font-family:var(--heading);color:var(--accent);margin:0;font-size:24px;font-weight:700}.match-reward-court-list{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.match-reward-court-row{font-family:var(--sans);color:#f3f4f6;justify-content:space-between;align-items:center;gap:8px;display:flex}.match-reward-court-coins{font-size:14px}.match-reward-total{font-family:var(--heading);color:var(--accent);justify-content:center;align-items:center;gap:8px;margin:0;font-size:18px;font-weight:700;display:flex}.match-reward-balance-figure,.match-reward-total-figure{font-size:20px}.match-reward-balance-figure{font-size:15px}.match-reward-balance{font-family:var(--sans);color:#f3f4f6;justify-content:center;align-items:center;gap:8px;margin:0;display:flex}.match-reward-modal .counter{align-self:center;margin-bottom:0}.match-reward-error{text-align:center;font-family:var(--sans);color:#f3f4f6;margin:0}.match-reward-actions{justify-content:center;gap:12px;display:flex}.start-screen{box-sizing:border-box;background-position:50%;background-repeat:no-repeat;background-size:cover;flex-direction:column;justify-content:center;align-items:center;gap:40px;width:100%;min-height:100svh;padding:24px;display:flex;position:relative}.coin-amount{font-family:var(--mono);color:var(--accent);white-space:nowrap;align-items:center;gap:.45em;font-weight:700;line-height:1;display:inline-flex}.coin-icon{background:radial-gradient(circle at 34% 28%,#ffeeb4 0%,#f7cd63 38%,#dda32f 70%,#a96f16 100%);border-radius:50%;flex:none;width:1.15em;height:1.15em;position:relative;box-shadow:inset 0 0 0 .07em #fff8d68c,inset 0 -.11em .16em #7a480a8c,0 .06em .16em #00000073}.coin-icon:after{content:"";border:.06em solid #814f0c80;border-radius:50%;position:absolute;inset:.24em}.coin-amount-chip{background:#00000073;border-radius:999px;padding:.3em .75em;box-shadow:0 1px 6px #0000004d}.coin-balance{cursor:default;background:#0000008c;border-radius:20px;align-items:center;padding:8px 16px;display:inline-flex;position:relative;box-shadow:0 2px 10px #00000059}.coin-balance-amount{font-size:15px}.coin-balance-tooltip{color:#fff;width:220px;font-family:var(--sans);opacity:0;pointer-events:none;z-index:5;background:#000000d9;border-radius:6px;margin-top:10px;padding:8px 12px;font-size:12px;line-height:140%;transition:opacity .15s;position:absolute;top:100%;right:0}.coin-balance:hover .coin-balance-tooltip{opacity:1}.start-screen-balance{position:absolute;top:24px;right:24px}.start-screen-social-links{gap:12px;display:flex;position:absolute;bottom:24px;right:24px}.start-screen-version{line-height:44px;font-family:var(--mono);color:#fff9;margin:0;font-size:13px}.start-screen-social-link{width:44px;height:44px;color:var(--text-h);background:#0000008c;border-radius:50%;justify-content:center;align-items:center;font-size:16px;font-weight:700;text-decoration:none;transition:transform .15s ease-out,background .15s ease-out;display:flex;box-shadow:0 2px 10px #00000059}.start-screen-social-link:hover{background:#000000bf;transform:scale(1.08)}.start-screen-social-link img{object-fit:contain;width:60%;height:60%}.start-screen-logo{width:min(320px,60vw);height:auto;display:block}.start-screen-actions{flex-direction:column;align-items:stretch;gap:14px;width:min(260px,80vw);display:flex}.start-screen-actions .counter{box-sizing:border-box;width:100%;margin-bottom:0;padding:12px 10px;font-size:20px;font-weight:700;box-shadow:0 2px 10px #00000059}.start-screen-dialog{cursor:default;border:1px solid var(--accent-border);box-sizing:border-box;text-align:center;background:#0a0e1af0;border-radius:16px;flex-direction:column;gap:16px;width:min(90vw,360px);padding:24px;animation:.15s ease-out card-preview-pop-in;display:flex}.start-screen-dialog p{color:#f3f4f6;margin:0}.start-screen-dialog-actions{justify-content:center;gap:12px;display:flex}.start-screen-dialog-actions .counter{margin-bottom:0}.deck-builder{box-sizing:border-box;--text:#d8d6dd;--text-h:#f7f7f8;background-position:50%;background-repeat:no-repeat;background-size:cover;flex-direction:column;gap:16px;width:100%;height:100svh;padding:20px 28px;display:flex}.deck-builder-header{flex:none;justify-content:space-between;align-items:center;display:flex}.deck-builder-header h1{margin:0;font-size:22px}.deck-builder-header-actions{gap:12px;display:flex}.deck-builder-header-actions .counter{margin-bottom:0}.deck-builder-body{flex:1;grid-template-columns:1.3fr 1fr;gap:24px;min-height:0;display:grid}.deck-builder-album,.deck-builder-deck{border:1px solid var(--accent);box-sizing:border-box;border-radius:12px;flex-direction:column;gap:8px;min-height:0;padding:14px;transition:border-color .2s,box-shadow .2s;display:flex;overflow-y:auto}.deck-builder-deck-complete{border-color:#15803d;box-shadow:0 0 0 2px #15803d40}.deck-builder-section-title{text-transform:uppercase;letter-spacing:.04em;color:var(--text);opacity:.8;margin:4px 0;font-size:13px;font-weight:700}.deck-builder-filters-trigger-row{justify-content:flex-end;display:flex}.deck-builder-filters-trigger{margin-bottom:0;padding:4px 12px;font-size:13px}.deck-builder-filters-trigger-active{background:var(--accent-bg);border-color:var(--accent)}.deck-builder-filters-overlay{cursor:default;border:1px solid var(--accent-border);box-sizing:border-box;background:#000000bf;border-radius:16px;flex-direction:column;gap:10px;width:min(90vw,560px);max-height:80vh;padding:20px;animation:.15s ease-out card-preview-pop-in;display:flex;overflow-y:auto}.deck-builder-filters-overlay-header{justify-content:space-between;align-items:center;gap:10px;display:flex}.deck-builder-filters-overlay-header .deck-builder-section-title{margin:0;font-size:18px}.deck-builder-filters-overlay-header .counter{margin-bottom:0;padding:4px 12px;font-size:13px}.deck-builder-filter-group{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.deck-builder-filter-label{text-transform:uppercase;letter-spacing:.04em;width:90px;color:var(--text);opacity:.7;flex:none;font-size:11px;font-weight:700}.deck-builder-filter-chips{flex-wrap:wrap;gap:4px;display:flex}.deck-builder-filter-chip{margin-bottom:0;padding:2px 8px;font-size:11px}.deck-builder-filter-chip-active{background:var(--accent-bg);border-color:var(--accent)}.deck-builder-filters-reset{align-self:flex-start;margin:2px 0 0;padding:2px 10px;font-size:11px}.album-pagination{justify-content:space-between;align-items:center;gap:10px;display:flex}.album-pagination .counter{flex:none;margin-bottom:0}.album-pagination .deck-builder-section-title{text-align:center;flex:1;margin:0}.album-grid{flex:1;min-height:0}.album-grid-inner{box-sizing:border-box;--album-card-w:min(calc((100cqw - (16px * 2)) / 3), calc(((100cqh - 16px) / 2) * 670 / 908));grid-template-columns:repeat(3,1fr);place-items:center;gap:16px;width:100%;height:100%;display:grid;container-type:size}.deck-slot-grid{grid-template-columns:repeat(auto-fill,minmax(76px,1fr));gap:10px;display:grid}.album-card,.deck-slot{cursor:pointer;box-sizing:border-box;background:0 0;border:2px solid #0000;border-radius:8px;padding:0;transition:border-color .15s,transform .1s}:is(.album-card,.deck-slot):hover,:is(.album-card,.deck-slot):focus-visible{border-color:var(--accent-border)}.album-card{width:var(--album-card-w)}.album-card-disabled{cursor:not-allowed;opacity:.35}.deck-slot-empty{aspect-ratio:670/908;border:1px dashed var(--accent);box-sizing:border-box;cursor:default;border-radius:8px}.deck-slot-locked{cursor:default;border-color:#daa520}.deck-slot-locked:hover,.deck-slot-locked:focus-visible{border-color:#daa520}.deck-builder-play{align-self:stretch;margin-top:auto;margin-bottom:0;font-weight:700}.deck-builder-play-disabled{opacity:.5}.deck-builder-code-row{gap:8px;display:flex}.deck-builder-code-row .counter{flex:none;margin-bottom:0}.deck-builder-code-input,.deck-builder-code-output{min-width:0;font-family:var(--mono);color:var(--text-h);border:1px solid var(--accent);box-sizing:border-box;background:#00000040;border-radius:6px;flex:1;padding:6px 10px;font-size:13px}.deck-builder-code-input:focus,.deck-builder-code-output:focus{outline:2px solid var(--accent);outline-offset:1px}.deck-builder-code-output{text-align:center;cursor:pointer;width:100%}.preset-deck{border:1px solid var(--accent);border-radius:8px;flex-shrink:0;transition:border-color .15s;overflow:hidden}.preset-deck-open{border-color:var(--accent-border)}.preset-deck-header{cursor:pointer;width:100%;font-family:var(--heading);color:var(--text-h);background:0 0;border:none;justify-content:space-between;align-items:center;gap:8px;padding:10px 12px;display:flex}.preset-deck-name{font-size:14px;font-weight:700}.preset-deck-chevron{color:var(--text);font-size:10px}.preset-deck-body{flex-direction:column;gap:6px;padding:0 12px 12px;display:flex}.preset-deck-requirement{font-family:var(--mono);color:var(--text);margin:0 0 4px;font-size:11px}.preset-deck-requirement-met{color:#15803d}.preset-deck-select{margin-top:4px;font-weight:700}.court-library-album{flex:1;min-height:0}.court-library-card{position:relative}.court-library-card-caption{text-align:center;background:#000000b8;border-radius:0 0 6px 6px;flex-direction:column;gap:2px;padding:6px 8px;display:flex;position:absolute;bottom:0;left:0;right:0}.court-library-card-name{font-family:var(--heading);font-weight:700;font-size:clamp(10px, calc(var(--album-card-w) * .09), 14px);color:#fff}.court-library-card-rarity{font-family:var(--sans);font-size:clamp(8px, calc(var(--album-card-w) * .07), 11px);color:var(--accent)}.affordability-toast{color:#fecaca;font-family:var(--heading);z-index:1000;pointer-events:none;text-align:center;background:#1f2937;border-radius:999px;max-width:min(600px,90vw);padding:10px 20px;font-size:14px;font-weight:600;animation:.15s ease-out card-preview-fade-in;position:fixed;bottom:24px;left:50%;transform:translate(-50%);box-shadow:0 8px 24px #00000040}.delayed-twist-toast{color:var(--accent);font-family:var(--heading);z-index:1000;pointer-events:none;text-align:center;background:#1f2937;border-radius:999px;max-width:min(600px,90vw);padding:10px 20px;font-size:14px;font-weight:600;animation:.15s ease-out card-preview-fade-in;position:fixed;bottom:24px;left:50%;transform:translate(-50%);box-shadow:0 8px 24px #00000040}.court-picker{box-sizing:border-box;text-align:center;--text:#d8d6dd;--text-h:#f7f7f8;height:100svh;color:var(--text-h);--cp-candidate-w:clamp(96px, (100svh - 256px) * .3176, 175px);background-position:50%;background-repeat:no-repeat;background-size:cover;flex-direction:column;justify-content:flex-start;align-items:center;gap:16px;padding:24px;display:flex;overflow:hidden}.court-picker h1{margin:16px 0 0}.court-picker-subtitle{color:var(--text);margin:0 0 10px}.court-picker-candidates{flex-wrap:wrap;justify-content:center;gap:20px;max-width:1400px;display:flex}.court-picker-candidate{width:var(--cp-candidate-w);flex-direction:column;align-items:center;gap:6px;display:flex;container-type:inline-size}.court-picker-candidate-card{border:2px solid var(--court-line,var(--accent));box-sizing:border-box;cursor:pointer;width:100%;color:inherit;font:inherit;background:0 0;border-radius:12px;flex-direction:column;align-items:center;gap:6px;padding:10px;transition:border-color .15s,background .15s;display:flex}.court-picker-candidate-selected .court-picker-candidate-card{border-color:var(--accent);background:var(--accent-bg)}.court-picker-candidate-card:disabled{cursor:not-allowed;opacity:.5}.court-picker-candidate-name{font-family:var(--heading);justify-content:center;align-items:center;min-height:2.5em;font-size:8cqw;font-weight:700;line-height:1.25;display:flex}.court-picker-candidate-description{min-height:3.9em;color:var(--text);font-size:6.857cqw;line-height:1.3}.court-picker-tray{justify-content:center;gap:24px;display:flex}.court-picker-tray-slot{width:calc(var(--cp-candidate-w) * .742857);border:2px dashed var(--court-line,var(--accent));box-sizing:border-box;border-radius:10px;flex-direction:column;align-items:center;gap:4px;padding:8px;transition:border-color .15s,background .15s;display:flex;container-type:inline-size}.court-picker-tray-slot-filled{cursor:grab;border-style:solid}.court-picker-tray-slot-filled:active{cursor:grabbing}.court-picker-tray-slot-drag-over{border-color:var(--accent);background:var(--accent-bg)}.court-picker-tray-slot-label{font-family:var(--heading);color:var(--text);font-size:9.231cqw;font-weight:700}.court-picker-tray-slot-name{justify-content:center;align-items:center;min-height:2.5em;font-size:9.231cqw;font-weight:700;line-height:1.25;display:flex}.court-picker-tray-slot-empty{color:var(--text);flex:1;justify-content:center;align-items:center;font-size:9.231cqw;display:flex}.tournament-briefing-tray .court-picker-tray-slot,.court-picker-tray-preview .court-picker-tray-slot{width:175px}.tournament-briefing-tray .court-picker-tray-slot-label,.tournament-briefing-tray .court-picker-tray-slot-name,.tournament-briefing-tray .court-picker-tray-slot-empty,.court-picker-tray-preview .court-picker-tray-slot-label,.court-picker-tray-preview .court-picker-tray-slot-name,.court-picker-tray-preview .court-picker-tray-slot-empty{font-size:6.857cqw}.court-picker-header{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:start;gap:16px;width:min(100%,1100px);display:grid}.court-picker-header-title{flex-direction:column;align-items:center;gap:12px;width:520px;display:flex}.court-picker-header h1{letter-spacing:-.5px;margin:0;font-size:36px;line-height:1.1}.court-picker-header h1:after{content:"";background:var(--accent);border-radius:1px;width:48px;height:2px;margin:12px auto 0;display:block}.court-picker-header .court-picker-subtitle{color:var(--text-h);margin:0;font-size:16px;font-weight:500;line-height:1.4}.court-picker-header .court-picker-notice{color:var(--accent);font-variant-numeric:tabular-nums;margin:4px 0 0;font-size:15px;font-weight:600}.court-picker-candidate-readonly{cursor:default}.court-picker-coach{box-sizing:border-box;border:1px solid var(--accent);text-align:left;color:#f3f4f6;background:#0a1228eb;border-radius:12px;flex-direction:column;justify-self:end;gap:6px;max-width:300px;padding:12px 14px;font-size:13px;line-height:1.4;display:flex}.court-picker-coach p{margin:0}.court-picker-role{box-sizing:border-box;text-align:left;background:#00000073;border-radius:12px;flex-direction:column;justify-self:start;align-items:flex-start;gap:8px;max-width:300px;padding:14px;display:flex}.court-picker-role .role-banner{white-space:nowrap;padding:4px 14px;font-size:16px}.court-picker .role-banner.role-attacker{color:#fdba74;background:#ea580c47}.court-picker .role-banner.role-defender{color:#93c5fd;background:#2563eb52}.court-picker-role-description{color:var(--text-h);margin:0;font-size:13px;line-height:1.45}.court-picker-tray-slot-description{min-height:3.9em;color:var(--text);font-size:6.857cqw;line-height:1.3}.court-picker-tray-slot-readonly{cursor:default}.court-picker-confirm{z-index:10;margin:0;padding:14px 40px;font-size:22px;font-weight:700;position:fixed;bottom:24px;right:28px}.tournament-bracket{box-sizing:border-box;text-align:center;--text:#d8d6dd;--text-h:#f7f7f8;min-height:100svh;color:var(--text-h);background-position:50%;background-repeat:no-repeat;background-size:cover;flex-direction:column;align-items:center;gap:16px;padding:32px 24px;display:flex}.tournament-bracket-message{max-width:480px;color:var(--text)}.tournament-bracket-message-won{color:#daa520;font-weight:700}.tournament-bracket-message-lost{color:#e26b6b}.tournament-bracket-stages{flex-direction:column;gap:10px;width:100%;max-width:360px;margin:0;padding:0;list-style:none;display:flex}.tournament-bracket-stage{border:2px solid var(--court-line,var(--accent));font-family:var(--heading);border-radius:10px;justify-content:space-between;align-items:center;padding:12px 16px;display:flex}.tournament-bracket-stage-current{border-color:var(--accent);background:var(--accent-bg)}.tournament-bracket-stage-won{border-color:#daa520}.tournament-bracket-stage-lost{border-color:#e26b6b}.tournament-bracket-stage-locked{opacity:.5}.tournament-bracket-stage-name{font-weight:700}.tournament-bracket-stage-badge{color:var(--text);font-size:12px}.tournament-bracket-actions{gap:12px;margin-top:8px;display:flex}.screen-back-corner{z-index:10;position:fixed;top:20px;right:28px}.screen-back-corner .counter{margin-bottom:0}.road-to-pro-skip{z-index:10;margin:0;position:fixed;bottom:24px;right:28px}.tournament-bracket-stage-cta{margin-bottom:0;padding:12px 32px;font-size:20px}.tournament-reward-unlock-banner{z-index:1001;font-family:var(--heading);color:#daa520;text-shadow:0 2px 10px #000000d9;pointer-events:none;text-align:center;padding:0 16px;font-size:22px;font-weight:700;position:fixed;top:8%;left:50%;transform:translate(-50%)}.tournament-reward-unlock-coins{margin-top:4px;font-size:20px;display:block}.tournament-list-stages{max-width:420px}.play-menu-options{max-width:680px}.play-menu .tournament-bracket-stage{gap:24px;padding:18px 24px}.play-menu .tournament-bracket-stage-name{font-size:24px}.play-menu .tournament-bracket-stage-badge{font-size:16px;line-height:1.35}.play-menu .tournament-list-entry .counter{padding:8px 20px;font-size:18px}.play-menu-icon{object-fit:contain;flex:none;width:56px;height:56px}.play-menu .tournament-list-entry-info{flex:auto}.tournament-list-entry{gap:16px}.tournament-list-entry-info{text-align:left;flex-direction:column;align-items:flex-start;gap:4px;display:flex}.tournament-list-entry .counter{flex:none;margin-bottom:0}.tournament-list-entry-actions{flex:none;gap:8px;display:flex}.tournament-rules{justify-content:center;gap:clamp(8px,2vh,16px);height:100svh;padding:clamp(16px,3vh,32px) 24px;overflow:hidden}.tournament-rules-header{flex:none}.tournament-rules h1{margin:0}.tournament-rules-subtitle{color:var(--text);margin:4px 0 0;font-size:15px}.tournament-rules-body{flex:0 auto;justify-content:center;align-items:center;gap:clamp(16px,3vw,40px);max-width:1000px;min-height:0;display:flex}.tournament-rules-list{text-align:left;flex-direction:column;gap:clamp(6px,1.4vh,14px);max-width:560px;margin:0;padding:0;list-style:none;display:flex}.tournament-rules-rule{border-left:3px solid var(--accent);background:#00000073;border-radius:0 8px 8px 0;flex-direction:column;gap:2px;padding:clamp(6px,1.2vh,12px) 16px;display:flex}.tournament-rules-rule-title{font-family:var(--heading);color:var(--text-h);font-size:clamp(14px,1.9vh,17px);font-weight:700}.tournament-rules-rule-detail{color:var(--text);font-size:clamp(12px,1.6vh,14px);line-height:1.35}.tournament-rules-cards{flex:none;gap:clamp(10px,1.5vw,20px);display:flex}.tournament-rules-card{flex-direction:column;align-items:center;gap:6px;width:clamp(96px,19vh,150px);margin:0;display:flex}.tournament-rules-card-art{cursor:pointer;background:0 0;border:none;width:100%;padding:0}.tournament-rules-card figcaption{flex-direction:column;align-items:center;gap:2px;display:flex}.tournament-rules-card-label{letter-spacing:.06em;text-transform:uppercase;color:var(--text);font-size:11px}.tournament-rules-card-name{font-family:var(--heading);color:var(--text-h);font-size:13px;font-weight:700;line-height:1.2}.tournament-rules-card-coins{color:#daa520;font-size:14px}.tournament-rules-actions{flex:none;margin-top:0}.shop-body{flex:1;justify-content:center;align-items:center;min-height:0;display:flex}.shop-shelf{gap:24px;display:flex}.shop-pack-tile{border:1px solid var(--accent);box-sizing:border-box;cursor:pointer;background:#00000059;border-radius:12px;flex-direction:column;align-items:center;gap:8px;width:min(260px,28vw);padding:16px 16px 20px;display:flex}.shop-pack-name{text-align:center;color:var(--text-h);margin:0;font-size:20px;font-weight:700;line-height:1.15}.shop-pack-art{aspect-ratio:2/3;object-fit:cover;pointer-events:none;border-radius:8px;width:100%;display:block}.shop-pack-hint{font-family:var(--sans);color:var(--text);opacity:.75;margin:0;font-size:11px;font-style:italic}.shop-pack-price{margin:0;font-size:15px}.shop-pack-buy{width:100%;margin-bottom:0}.shop-pack-tile-upcoming{opacity:.5;cursor:default}.shop-pack-status{font-family:var(--sans);letter-spacing:.04em;text-transform:uppercase;color:var(--text-h);margin:0;font-size:14px;font-weight:700}.shop-reveal-panel{cursor:default;box-sizing:border-box;background:#000000b3;border-radius:12px;flex-direction:column;align-items:center;gap:10px;padding:24px;animation:.15s ease-out card-preview-pop-in;display:flex}.shop-reveal-title{color:var(--text-h);margin:0;font-size:18px}.shop-reveal-card{width:min(50vw,220px)}.shop-reveal-name{color:var(--text-h);margin:0;font-size:16px;font-weight:700}.shop-contents-panel{cursor:default;box-sizing:border-box;background:#000000b3;border-radius:12px;flex-direction:column;align-items:center;gap:16px;max-width:90vw;max-height:85vh;padding:24px;animation:.15s ease-out card-preview-pop-in;display:flex;overflow:auto}.shop-contents-title{color:var(--text-h);text-align:center;margin:0;font-size:18px}.shop-contents-row{flex-wrap:wrap;justify-content:center;gap:12px;display:flex}.shop-contents-card{cursor:pointer;box-sizing:border-box;background:0 0;border:2px solid #0000;border-radius:8px;flex:none;width:min(15vw,130px);padding:0;transition:border-color .15s,transform .1s;position:relative}.shop-contents-card:hover,.shop-contents-card:focus-visible{border-color:var(--accent-border)}.shop-contents-card-owned{color:#06240f;background:#4ade80;border-radius:50%;justify-content:center;align-items:center;width:20px;height:20px;font-size:12px;font-weight:700;line-height:1;display:flex;position:absolute;top:-6px;right:-6px;box-shadow:0 0 0 2px #0006}.replay-browser-load{align-items:center;gap:12px;display:flex}.replay-file-input{display:none}.replay-load-error{color:#f87171;margin:0;font-size:13px}.replay-browser-section-title{margin:0}.replay-browser-empty{color:var(--text);font-size:14px}.replay-viewer{box-sizing:border-box;background-position:50%;background-repeat:no-repeat;background-size:cover;flex-direction:column;gap:10px;height:100svh;padding:16px 20px;display:flex;overflow:hidden}.replay-viewer-header{flex-wrap:wrap;flex:none;justify-content:space-between;align-items:center;gap:16px;display:flex}.replay-viewer-title{font-family:var(--heading);color:var(--text-h);font-weight:700}.replay-viewer-controls{align-items:center;gap:10px;display:flex}.replay-viewer-controls .counter{margin-bottom:0}.replay-viewer-turn-counter{font-family:var(--mono);color:var(--text-h);white-space:nowrap;font-size:13px}.replay-viewer-body{flex:1;gap:16px;min-height:0;display:flex}.replay-board{flex-direction:column;flex:1;gap:4px;min-width:0;display:flex}.replay-opponent-hand{flex:none;justify-content:center;gap:4px;height:64px;display:flex}.replay-opponent-hand-card{flex:none;width:46px}.replay-side-label{z-index:2;color:var(--court-text);font-family:var(--mono);font-size:clamp(7px, calc(var(--slot-w) * .13), 10px);white-space:nowrap;background:#000000a6;border-radius:999px;padding:1px 8px;line-height:1.4;position:absolute;top:-6px;left:6px}.replay-event-panel{box-sizing:border-box;border:1px solid var(--border);min-height:0;color:var(--text-h);background:#0000008c;border-radius:12px;flex-direction:column;flex:0 0 260px;gap:8px;padding:14px 16px;display:flex;overflow-y:auto}.replay-event-panel h2{flex:none;margin:0;font-size:15px}.replay-event-panel ul{flex-direction:column;gap:6px;margin:0;padding-left:18px;font-size:13px;line-height:1.4;display:flex}.replay-event-panel-empty{color:var(--text);margin:0;font-size:13px;font-style:italic}.start-screen-footer-left{align-items:center;gap:16px;display:flex;position:absolute;bottom:24px;left:24px}.start-screen-legal-link{color:#fff9;cursor:pointer;background:0 0;border:0;padding:0;font-family:inherit;font-size:13px;line-height:44px;text-decoration:underline}.start-screen-legal-link:hover{color:var(--text-h)}.legal-screen{justify-content:center;gap:clamp(8px,2vh,16px);height:100svh;padding:clamp(16px,3vh,32px) 24px;overflow:hidden}.legal-screen-header{flex:none}.legal-screen h1{margin:0;line-height:1.15}.legal-screen-subtitle{color:var(--text);margin:clamp(4px,.9vh,10px) 0 0;font-size:clamp(12px,1.6vh,15px)}.legal-screen-body{flex:0 auto;justify-content:center;align-items:flex-start;gap:clamp(16px,3vw,40px);width:100%;max-width:1080px;min-height:0;display:flex}.legal-screen-column{text-align:left;flex-direction:column;flex:1 1 0;gap:clamp(6px,1.4vh,14px);min-width:0;display:flex}.legal-screen-column-title{font-family:var(--heading);letter-spacing:.04em;text-transform:uppercase;color:var(--accent);margin:0;font-size:clamp(14px,2vh,18px)}.legal-screen-note{border-left:3px solid var(--accent);background:#00000073;border-radius:0 8px 8px 0;flex-direction:column;gap:2px;padding:clamp(6px,1.2vh,12px) 16px;display:flex}.legal-screen-note-title{font-family:var(--heading);color:var(--text-h);font-size:clamp(13px,1.8vh,16px);font-weight:700}.legal-screen-note-detail{color:var(--text);font-size:clamp(11px,1.5vh,13.5px);line-height:1.4}.legal-screen-subtitle a,.legal-screen-note-detail a{color:var(--accent)}.legal-screen-note-contact{background:#000000a6}.coach-panel{width:180px;max-height:var(--court-h);box-sizing:border-box;z-index:5;border:1px solid var(--accent);color:#f3f4f6;text-align:left;background:#0a1228eb;border-radius:12px;flex-direction:column;gap:8px;padding:12px;font-size:14px;line-height:1.4;display:flex;position:absolute;top:0;left:0;overflow:hidden;box-shadow:0 8px 24px #00000059}.coach-panel-title{font-family:var(--heading);letter-spacing:.08em;text-transform:uppercase;color:var(--accent);font-size:12px;font-weight:700}.coach-panel p{margin:0}.coach-panel-instruction{background:#22c55e24;border:1px solid #22c55e8c;border-radius:8px;padding:8px 10px}.coach-panel-loss{background:#e26b6b24;border-color:#e26b6b99}.coach-panel-loss .coach-panel-instruction-label{color:#f19a9a}.coach-panel-tip{background:#edaa0024;border-color:#edaa0099}.coach-panel-tip .coach-panel-instruction-label{color:#f5c542}.coach-panel-instruction-label{font-family:var(--heading);letter-spacing:.06em;text-transform:uppercase;color:#4ade80;margin-bottom:2px;font-size:11px;font-weight:700;display:block}@keyframes forced-move-pulse{0%,to{box-shadow:0 0 0 2px #4ade80e6,0 0 10px #4ade8080}50%{box-shadow:0 0 0 4px #4ade808c,0 0 18px #4ade80bf}}.hand-card.forced-move-card,.location-slot.forced-move-target,.counter.forced-move-button,.card-tap-button.forced-move-button{border-radius:8px;animation:1.4s ease-in-out infinite forced-move-pulse}.location-slot.forced-move-target{border-color:#4ade80}.road-to-pro{gap:clamp(8px,2vh,16px);height:100svh;padding:clamp(16px,4vh,32px) 24px;overflow:hidden}.road-to-pro h1{margin:0}.road-to-pro .tournament-bracket-message{max-width:560px;margin:0}.road-to-pro .tournament-bracket-actions{margin-top:0}.road-to-pro-path{justify-content:center;align-items:stretch;gap:16px;width:100%;max-width:1200px;margin:auto 0;padding:0;list-style:none;display:flex}.road-to-pro-node{text-align:center;background:#0a1228bf;flex-direction:column;flex:0 220px;justify-content:flex-start;gap:8px;min-width:0;padding:16px}.road-to-pro-node .tournament-bracket-stage-name{font-size:20px}.road-to-pro-node .tournament-bracket-stage-badge{flex:auto;font-size:13px;line-height:1.4}.road-to-pro-node .counter{margin-bottom:0}.road-to-pro-node-number{letter-spacing:.08em;text-transform:uppercase;color:var(--accent);font-size:12px}.road-to-pro-reward-card{all:unset;cursor:pointer;width:min(120px,18vh)}.tournament-path-opponents{flex:auto;justify-content:center;gap:6px;display:flex}.tournament-path-opponent{all:unset;cursor:pointer;width:min(96px,15vh)}.tournament-path .road-to-pro-path:has(+.tournament-bracket-actions){margin-bottom:0}.tournament-path .road-to-pro-path+.tournament-bracket-actions{margin-bottom:auto}.tournament-path .tournament-bracket-stage-cta{padding:8px 24px;font-size:16px}.counter.mode-locked{opacity:.55}.coach-step{z-index:20;box-sizing:border-box;border:2px solid var(--accent);color:#f3f4f6;text-align:left;background:#0a1228f5;border-radius:16px;align-items:center;gap:20px;width:min(620px,100% - 420px);max-height:calc(100% - 32px);padding:20px 24px;display:flex;position:absolute;top:24px;left:50%;overflow:hidden;transform:translate(-50%);box-shadow:0 16px 48px #0000008c}.coach-step-visual{flex:none;justify-content:center;display:flex}.coach-step-body{flex-direction:column;flex:auto;gap:10px;min-width:0;display:flex}.coach-step-eyebrow{font-family:var(--heading);letter-spacing:.08em;text-transform:uppercase;color:var(--accent);font-size:13px;font-weight:700}.coach-step-title{color:#fff;margin:0;font-size:26px;line-height:1.15}.coach-step-text{margin:0;font-size:18px;line-height:1.45}.coach-step-next{align-self:flex-end;margin:4px 0 0;padding:8px 22px;font-size:16px}.coach-step-cards{gap:10px;display:flex}.coach-step-card{width:min(150px,22vh)}.coach-step-cards-2 .coach-step-card{width:min(118px,18vh)}.coach-step-cards-3 .coach-step-card{width:min(96px,15vh)}.coach-step-court-effect{text-align:center;flex-direction:column;align-items:center;gap:8px;max-width:170px;margin:0;font-size:13px;line-height:1.35;display:flex}.coach-step-court-effect .coach-step-card{width:min(120px,18vh)}.coach-step-court-effect figcaption strong{color:var(--accent);display:block}@keyframes coach-highlight-pulse{0%,to{box-shadow:0 0 0 2px #edaa00f2,0 0 12px #edaa008c}50%{box-shadow:0 0 0 5px #edaa0099,0 0 22px #edaa00cc}}.coach-highlight{animation:1.4s ease-in-out infinite coach-highlight-pulse}.match-status-row.coach-highlight{border-radius:6px}.road-to-pro-signings{gap:clamp(6px,1.5vh,14px);height:100svh;padding:clamp(14px,3vh,28px) 24px;overflow:hidden}.road-to-pro-signings h1{margin:0;font-size:clamp(32px,6vh,48px)}.road-to-pro-signings .tournament-bracket-message{max-width:640px;margin:0}.road-to-pro-signings .tournament-bracket-actions{margin-top:0}.road-to-pro-signings-new{justify-content:center;gap:14px;width:100%;max-width:1100px;margin:0;padding:0;list-style:none;display:flex}.road-to-pro-signings-new li{flex-direction:column;flex:0 150px;align-items:center;gap:4px;min-width:0;font-size:12.5px;line-height:1.3;display:flex}.road-to-pro-signings-new .road-to-pro-signings-card{width:min(120px,19vh)}.road-to-pro-signings-type{font-family:var(--heading);letter-spacing:.06em;text-transform:uppercase;color:var(--accent);font-size:12px;font-weight:700}.road-to-pro-signings-text{color:var(--text)}.road-to-pro-signings-card{all:unset;cursor:pointer;display:block}.road-to-pro-signings-recap{max-width:1100px;color:var(--text);background:#0a1228bf;border-radius:10px;flex-wrap:wrap;justify-content:center;gap:6px 20px;margin:0;padding:8px 16px;font-size:13px;list-style:none;display:flex}.road-to-pro-signings-recap strong{color:var(--accent);margin-right:4px}.road-to-pro-signings-familiar{flex-direction:column;align-items:center;gap:4px;display:flex}.road-to-pro-signings-familiar-row{gap:8px;display:flex}.road-to-pro-signings-familiar .road-to-pro-signings-card{width:min(64px,10vh)}.role-banner.coach-highlight{border-radius:999px}.deck-builder-coach-backdrop{z-index:30;background:#0408149e;position:fixed;inset:0}.deck-builder-coach-target{z-index:31;position:relative}.deck-builder-album.deck-builder-coach-target,.deck-builder-deck.deck-builder-coach-target{background:#0a1228eb}.deck-builder-coach{z-index:32;box-sizing:border-box;border:2px solid var(--accent);color:#f3f4f6;text-align:left;background:#0a1228f7;border-radius:16px;flex-direction:column;gap:12px;width:min(460px,36vw);padding:22px 26px;display:flex;position:fixed;top:50%;transform:translateY(-50%);box-shadow:0 16px 48px #0000008c}.deck-builder-coach-right{right:48px}.deck-builder-coach-left{left:72px}.deck-builder-coach-actions{justify-content:flex-end;gap:10px;display:flex}.deck-builder-coach-actions .counter{margin:4px 0 0}.deck-builder-coach-skip{background:0 0;padding:8px 18px;font-size:16px}.boot-screen{height:100svh;min-height:0;overflow:hidden}.boot-screen-status{color:#f3f4f6;margin:0;font-size:1.1rem}.boot-screen-message{text-align:center;max-width:440px}.boot-screen-message h1{color:var(--accent);margin:0 0 12px;font-size:2rem;line-height:1.2}.boot-screen-message p{color:#f3f4f6;margin:0 0 20px;line-height:1.5}.boot-screen-message .counter{margin-bottom:0}.boot-screen-message .boot-screen-error-detail{opacity:.8;overflow-wrap:anywhere;-webkit-user-select:text;user-select:text;font-family:ui-monospace,SF Mono,Menlo,monospace;font-size:.75rem}.account-screen{box-sizing:border-box;color:#f3f4f6;background-position:50%;background-size:cover;flex-direction:column;justify-content:center;align-items:center;gap:clamp(12px,2.5vh,24px);height:100svh;padding:clamp(16px,4vh,40px) 24px;display:flex;overflow:hidden}.account-screen h1{color:var(--accent);margin:0;line-height:1.15}.account-columns{grid-template-columns:repeat(2,minmax(0,380px));align-items:start;gap:24px;display:grid}.account-form{box-sizing:border-box;border:1px solid var(--accent-border);text-align:left;background:#0a0e1ad1;border-radius:14px;flex-direction:column;gap:12px;width:min(90vw,380px);padding:20px;display:flex}.account-columns .account-form{width:auto}.account-form h2{color:var(--accent);margin:0;font-size:1.25rem}.account-form p{margin:0;font-size:.95rem;line-height:1.45}.account-form .counter{margin-bottom:0}.account-inline-form{flex-direction:column;gap:10px;display:flex}.account-label{flex-direction:column;gap:4px;font-size:.85rem;display:flex}.account-input{font:inherit;color:#f3f4f6;border:1px solid var(--accent);background:#00000059;border-radius:6px;padding:8px 10px;font-size:.95rem}.account-warning,.account-fine-print{opacity:.8;font-size:.85rem}.account-message{border:1px solid var(--accent);background:#0a0e1ae6;border-radius:8px;margin:0;padding:8px 14px}.account-handle{border:1px solid var(--accent-border);background:#0a0e1ad1;border-radius:10px;flex-wrap:wrap;justify-content:center;align-items:center;gap:8px 12px;max-width:min(90vw,784px);padding:8px 16px;display:flex}.account-handle .counter{margin-bottom:0;padding:6px 14px}.account-handle-label{align-items:center;gap:8px;font-size:.9rem;display:flex}.account-handle-label .account-input{width:16ch}.account-handle-note{text-align:center;opacity:.85;flex-basis:100%;margin:0;font-size:.85rem}.account-handle>.account-handle-note:not([role]){flex-basis:auto}.account-delete-link{color:#fff9;cursor:pointer;background:0 0;border:0;padding:0;font-family:inherit;font-size:13px;line-height:44px;text-decoration:underline;position:absolute;bottom:24px;left:24px}.account-delete-link:hover{color:#f3f4f6}.account-form .account-danger{color:#ff8a8d;border-color:#e5484d}.start-screen-account{position:absolute;top:24px;left:24px}.start-screen-account .counter{margin-bottom:0}.friend-lobby{box-sizing:border-box;color:#f3f4f6;background-position:50%;background-size:cover;flex-direction:column;justify-content:center;align-items:center;gap:clamp(12px,3vh,28px);height:100svh;padding:clamp(16px,4vh,40px) 24px;display:flex;overflow:hidden}.friend-lobby h1{color:var(--accent);margin:0;line-height:1.15}.friend-lobby-columns{grid-template-columns:repeat(2,minmax(0,380px));align-items:stretch;gap:24px;display:grid}.friend-lobby-panel{box-sizing:border-box;border:1px solid var(--accent-border);text-align:center;background:#0a0e1ad1;border-radius:14px;flex-direction:column;align-items:center;gap:14px;padding:24px;display:flex}.friend-lobby-panel h2{color:var(--accent);margin:0;font-size:1.35rem}.friend-lobby-panel p{margin:0;font-size:.95rem;line-height:1.45}.friend-lobby-panel .counter{min-width:180px;margin-bottom:0}.friend-lobby-panel .friend-lobby-code{letter-spacing:.25em;color:#fff;padding-left:.25em;font-family:ui-monospace,SF Mono,Menlo,monospace;font-size:clamp(2.2rem,7vh,3.4rem)}.friend-lobby-panel .friend-lobby-wait{opacity:.85;font-variant-numeric:tabular-nums}.friend-lobby-input{width:9ch;font:inherit;letter-spacing:.2em;text-align:center;text-transform:uppercase;color:#f3f4f6;border:1px solid var(--accent);background:#00000059;border-radius:8px;padding:8px 10px;font-family:ui-monospace,SF Mono,Menlo,monospace;font-size:1.6rem}.friend-lobby-input::placeholder{letter-spacing:normal;text-transform:none;opacity:.5}.friend-lobby-panel .friend-lobby-error{color:#ff8a8d}.friend-lobby-matched{width:min(90vw,560px)}.friend-lobby-panel .friend-lobby-versus{justify-content:center;align-items:baseline;gap:16px;font-size:1.6rem;font-weight:700;display:flex}.friend-lobby-vs{opacity:.7;font-size:1rem;font-weight:400}.friend-lobby-panel .friend-lobby-facts{opacity:.85}.pvp-intro{box-sizing:border-box;color:#f3f4f6;background-position:50%;background-size:cover;flex-direction:column;justify-content:center;align-items:center;gap:clamp(16px,4vh,40px);height:100svh;padding:clamp(16px,4vh,40px) 24px;display:flex;overflow:hidden}.pvp-intro h1{color:var(--accent);margin:0}.pvp-intro-players{grid-template-columns:minmax(0,340px) auto minmax(0,340px);align-items:center;gap:clamp(16px,4vw,48px);display:grid}.pvp-intro-player{border:1px solid var(--accent-border);background:#0a0e1ad9;border-radius:14px;flex-direction:column;align-items:center;gap:10px;padding:24px;animation:.6s ease-out both pvp-intro-in;display:flex}.pvp-intro-player:last-child{animation-delay:.25s}.pvp-intro-handle{overflow-wrap:anywhere;margin:0;font-size:clamp(1.4rem,3.5vh,2rem);font-weight:700}.pvp-intro-player p{opacity:.9;margin:0}.pvp-intro-trophies{opacity:.8;font-size:.9rem}.pvp-intro-vs{color:var(--accent);font-size:clamp(2rem,6vh,3.2rem);font-weight:800;animation:.6s ease-out .45s both pvp-intro-vs}.pvp-intro-countdown{opacity:.8;font-variant-numeric:tabular-nums;margin:0}@keyframes pvp-intro-in{0%{opacity:0;transform:translateY(16px)}}@keyframes pvp-intro-vs{0%{opacity:0;transform:scale(2)}}@media (prefers-reduced-motion:reduce){.pvp-intro-player,.pvp-intro-vs{animation:none}}.pvp-intro-record{margin:0;font-size:1.1rem;font-weight:600}.pvp-results{box-sizing:border-box;color:#f3f4f6;background-position:50%;background-size:cover;flex-direction:column;justify-content:center;align-items:center;gap:clamp(10px,2.6vh,28px);height:100svh;padding:clamp(12px,3vh,32px) 24px;display:flex;overflow:hidden}.pvp-results-header{flex-direction:column;align-items:center;gap:6px;display:flex}.pvp-results-headline{margin:0;font-size:clamp(1.6rem,4.5vh,2.4rem)}.pvp-outcome-win{color:#4ade80;background:#15803d4d}.pvp-outcome-loss{color:#f87171;background:#b91c1c4d}.pvp-outcome-draw,.pvp-outcome-no-contest{color:#f3f4f6;background:#0a0e1ab3}.pvp-results-reason{opacity:.9;margin:0}.pvp-results-players{grid-template-columns:minmax(0,300px) auto minmax(0,300px);align-items:center;gap:clamp(12px,3vw,32px);display:grid}.pvp-results-player,.pvp-results-record,.pvp-results-court{border:1px solid var(--accent-border);background:#0a0e1ad9;border-radius:12px;flex-direction:column;align-items:center;gap:4px;padding:10px 18px;display:flex}.pvp-results-handle{overflow-wrap:anywhere;font-size:1.25rem;font-weight:700}.pvp-results-wins,.pvp-results-record-label{opacity:.8;font-size:.85rem}.pvp-results-record{border-color:var(--accent)}.pvp-results-record-score{color:var(--accent);font-variant-numeric:tabular-nums;font-size:1.4rem;font-weight:800}.pvp-results-courts{grid-template-columns:repeat(3,minmax(0,220px));gap:16px;display:grid}.pvp-results-court-name{opacity:.85;text-align:center;font-size:.85rem}.pvp-results-court-score{font-variant-numeric:tabular-nums;font-size:1.3rem;font-weight:700}.pvp-results-court-winner{text-transform:uppercase;letter-spacing:.06em;font-size:.8rem}.pvp-court-you .pvp-results-court-winner{color:#4ade80}.pvp-court-opponent .pvp-results-court-winner{color:#f87171}.pvp-results-deck{flex-direction:column;align-items:center;gap:8px;display:flex}.pvp-results-deck h2{color:var(--accent);margin:0;font-size:1rem}.pvp-results-deck-cards{gap:8px;display:flex}.pvp-results-deck-card{cursor:zoom-in;background:0 0;border:0;width:min(7.14286vw - 10.8571px,14vh,120px);padding:0}.pvp-results-actions{flex-direction:column;align-items:center;gap:10px;display:flex}.pvp-results-rematch-note{font-variant-numeric:tabular-nums;margin:0}.pvp-results-buttons{gap:16px;display:flex}.pvp-results-buttons .counter{min-width:180px;margin-bottom:0}.friend-lobby-history{box-sizing:border-box;border:1px solid var(--accent-border);background:#0a0e1ad9;border-radius:14px;width:min(90vw,784px);padding:12px 20px}.friend-lobby-history h2{color:var(--accent);margin:0 0 6px;font-size:1rem}.friend-lobby-history ol{flex-direction:column;gap:4px;margin:0;padding:0;list-style:none;display:flex}.friend-lobby-history li{grid-template-columns:96px minmax(0,1fr) auto;align-items:center;gap:12px;font-size:.9rem;display:grid}.friend-lobby-history-outcome{text-align:center;border-radius:999px;padding:1px 8px;font-size:.8rem;font-weight:600}.friend-lobby-history-opponent{text-align:left;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.friend-lobby-history-reason{text-align:right;opacity:.75;font-size:.85rem}
