@font-face{font-family:Inter;font-weight:400 700;font-display:swap;src:url(/assets/inter-Dx4kXJAl.woff2)format("woff2")}@font-face{font-family:Space Grotesk;font-weight:500 700;font-display:swap;src:url(/assets/space-grotesk-BhU9QXUp.woff2)format("woff2")}@font-face{font-family:JetBrains Mono;font-weight:500 600;font-display:swap;src:url(/assets/jetbrains-mono-6fWv1k7M.woff2)format("woff2")}:root{--bg:#0b0b0c;--surface:#131315;--surface-2:#1b1b1e;--line:#26262a;--line-strong:#2f2f34;--text:#f2f2f3;--muted:#8b8b92;--gold:#f65a1a;--red:#f65a1a;--red-strong:#ff7a38;--on-accent:#0b0b0c;--crest:#ef4136;--good:#4fb477;--bad:#e2403a;--mid:#d9a441;--stale:#e3b341;--radius:4px;--tabbar-h:62px;--safe-b:env(safe-area-inset-bottom,0px);--safe-t:env(safe-area-inset-top,0px);--p0:#7d1f1a;--p1:#23405f;--cmp-a:#b8862a;--cmp-b:#4583c8;--pie-1:#3987e5;--pie-2:#d95926;--pie-3:#199e70;--pie-4:#c98500;--pie-5:#d55181;--pie-6:#008300;--pie-7:#9085e9;--pie-8:#e66767;--pie-rest:#4a4a50;--pie-rest-2:#3a3a40;--rank-tirone:#9a9aa2;--rank-legionario:#c08a5b;--rank-decano:#a9bccb;--rank-optio:#5fbf85;--rank-centurione:#5a9bea;--rank-primipilo:#d9a93a;--rank-imperatore:#f0c75e;--rank-legato:#d0d5dd;--rank-tribuno:#d08d5c;--W:#f4ecd2;--U:#4f8fd6;--B:#4a3f4f;--R:#d9533e;--G:#3f9a5b;--C:#b9b2aa;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--font-display:"Space Grotesk", system-ui, sans-serif;--font-mono:"JetBrains Mono", ui-monospace, monospace;-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:transparent;font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,sans-serif;font-size:15px;line-height:1.4}@media (prefers-color-scheme:light){:root:not([data-theme=dark]){--bg:#f4f4f1;--surface:#fff;--surface-2:#eeeeea;--line:#e2e2dd;--line-strong:#d3d3cd;--text:#17171a;--muted:#67676e;--gold:#c2410c;--good:#1f8a4c;--bad:#c62e28;--mid:#8a6100;--stale:#a87b00;--B:#2f2833;--cmp-a:#a8781c;--cmp-b:#2f6fb8;--pie-1:#2a78d6;--pie-2:#eb6834;--pie-3:#1baf7a;--pie-4:#eda100;--pie-5:#e87ba4;--pie-6:#008300;--pie-7:#6250d6;--pie-8:#e34948;--pie-rest:#b4b4ae;--pie-rest-2:#cfcfc9;--rank-tirone:#5f5f67;--rank-legionario:#8a5a2e;--rank-decano:#4f6a80;--rank-optio:#2f7f4f;--rank-centurione:#2b63b8;--rank-primipilo:#94690f;--rank-imperatore:#94690f;--rank-legato:#5f6670;--rank-tribuno:#9a5a2e;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}}:root[data-theme=light]{--bg:#f4f4f1;--surface:#fff;--surface-2:#eeeeea;--line:#e2e2dd;--line-strong:#d3d3cd;--text:#17171a;--muted:#67676e;--gold:#c2410c;--good:#1f8a4c;--bad:#c62e28;--mid:#8a6100;--stale:#a87b00;--B:#2f2833;--cmp-a:#a8781c;--cmp-b:#2f6fb8;--pie-1:#2a78d6;--pie-2:#eb6834;--pie-3:#1baf7a;--pie-4:#eda100;--pie-5:#e87ba4;--pie-6:#008300;--pie-7:#6250d6;--pie-8:#e34948;--pie-rest:#b4b4ae;--pie-rest-2:#cfcfc9;--rank-tirone:#5f5f67;--rank-legionario:#8a5a2e;--rank-decano:#4f6a80;--rank-optio:#2f7f4f;--rank-centurione:#2b63b8;--rank-primipilo:#94690f;--rank-imperatore:#94690f;--rank-legato:#5f6670;--rank-tribuno:#9a5a2e;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}*{box-sizing:border-box}html,body{background:var(--bg);color:var(--text);overscroll-behavior-y:none;margin:0}button,input,select,textarea{font:inherit;color:inherit}button{cursor:pointer;background:0 0;border:0;padding:0}h1{font-family:var(--font-display);letter-spacing:-.01em;margin:0;font-size:1.6rem}.muted{color:var(--muted)}.small{font-size:.8rem}.strong{font-weight:600}.ellipsis{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.grow{flex:1}.warn-text{color:var(--bad)}.app main{padding-bottom:calc(var(--tabbar-h) + var(--safe-b) + 16px)}.page{max-width:640px;padding:calc(var(--safe-t) + 14px) 16px 0;flex-direction:column;gap:12px;margin:0 auto;display:flex}.page-head{justify-content:space-between;align-items:center;gap:12px;min-height:44px;display:flex}.brand-kicker{color:var(--muted);font-size:.75rem;font-weight:500}:is(div:has(>.brand-kicker+h1),div:has(>.brand-kicker+.sidenav-name),div:has(>.brand-kicker+.tp-title)){flex-direction:column-reverse;display:flex}.brand h1{font-family:var(--font-display);font-weight:700}.brand-mark{align-items:center;gap:12px;display:flex}.logo{flex:none;width:auto}.logo-metal{fill:var(--text)}.logo-cut{fill:var(--bg)}.logo-crest{fill:var(--crest)}.tabbar{height:calc(var(--tabbar-h) + var(--safe-b));padding-bottom:var(--safe-b);background:color-mix(in srgb, var(--surface) 92%, transparent);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-top:1px solid var(--line);z-index:20;grid-template-columns:repeat(5,1fr);display:grid;position:fixed;inset:auto 0 0}.tabbar button{color:var(--muted);flex-direction:column;justify-content:center;align-items:center;gap:2px;font-size:.7rem;font-weight:600;display:flex}.tabbar button.on{color:var(--text)}.tabbar button.on:not(.center){box-shadow:inset 0 2px 0 var(--gold)}.tabbar button.center{justify-content:flex-end;padding-bottom:8px}.tabbar .fab{background:var(--red);width:56px;height:56px;color:var(--on-accent);border:4px solid var(--bg);border-radius:50%;place-items:center;margin-top:-30px;transition:transform .15s;display:grid}.tabbar button.center:active .fab{transform:scale(.94)}.tabbar button.center.on .fab{box-shadow:0 0 0 2px color-mix(in srgb, var(--gold) 40%, transparent)}.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);flex-direction:column;gap:10px;padding:14px;display:flex}.card-title{justify-content:space-between;align-items:baseline;font-size:.95rem;font-weight:700;display:flex}.icon-legend svg{vertical-align:-2px;margin-right:3px}.row-icon{display:flex}.link{color:var(--gold);font-size:.8rem;font-weight:600}.btn{border-radius:var(--radius);letter-spacing:.06em;text-transform:uppercase;white-space:nowrap;border:1px solid var(--line);background:0 0;justify-content:center;align-items:center;gap:6px;min-height:44px;padding:0 16px;font-size:.78rem;font-weight:600;display:inline-flex}.btn.small{min-height:36px;padding:0 12px;font-size:.85rem}.btn.primary{background:var(--red);border-color:var(--red);color:var(--on-accent)}.btn.tonal{background:color-mix(in srgb, var(--red) 12%, transparent);border-color:color-mix(in srgb, var(--red) 45%, transparent);color:var(--gold)}.btn.ghost{background:0 0}.btn.danger{color:var(--bad);border-color:color-mix(in srgb, var(--bad) 40%, transparent);background:0 0}.btn:disabled{opacity:.5}.icon-btn{border-radius:var(--radius);width:40px;height:40px;color:var(--text);place-items:center;display:grid}.icon-btn:disabled{opacity:.35}.notice{background:color-mix(in srgb, var(--gold) 14%, transparent);border:1px solid color-mix(in srgb, var(--gold) 35%, transparent);color:var(--text);border-radius:var(--radius);padding:8px 12px;font-size:.8rem}.notice.warn{background:color-mix(in srgb, var(--bad) 14%, transparent);border-color:color-mix(in srgb, var(--bad) 40%, transparent)}.seg{border:1px solid var(--line);border-radius:var(--radius);display:inline-flex;overflow:hidden}.seg button{letter-spacing:.06em;text-transform:uppercase;color:var(--muted);padding:8px 10px;font-size:.72rem;font-weight:600}.seg button+button{border-left:1px solid var(--line)}.seg button.on{background:var(--line-strong);color:var(--text)}.search{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);color:var(--muted);align-items:center;gap:8px;padding:0 12px;display:flex}.search input{height:42px;color:var(--text);background:0 0;border:0;outline:none;flex:1;min-width:0}.chips{scrollbar-width:none;gap:6px;display:flex;overflow-x:auto}.chip{border-radius:var(--radius);background:var(--surface);border:1px solid var(--line);flex:none;padding:6px 12px;font-size:.8rem;font-weight:600}.chips.two{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.chips.two .chip{justify-content:space-between}.chip.on{background:var(--line-strong);border-color:var(--line-strong);color:var(--text)}.tag{background:var(--surface-2);color:var(--muted);border-radius:2px;padding:1px 6px;font-size:.68rem}.empty,.empty-state{text-align:center;color:var(--muted);padding:24px 8px;list-style:none}.empty-state{flex-direction:column;align-items:center;gap:8px;display:flex}.empty-inline{flex-direction:column;align-items:flex-start;gap:8px;display:flex}.empty-inline p{margin:0}.pips{flex:none;gap:2px;display:inline-flex}.pip-W{background:var(--W)}.pip-U{background:var(--U)}.pip-B{background:var(--B)}.pip-R{background:var(--R)}.pip-G{background:var(--G)}.pip-C{background:var(--C)}.color-pick{align-items:center;gap:8px;display:flex}.color-pick>span{margin-right:2px}.color-pick button{padding:4px;display:flex}.color-pick img,.color-pick svg{opacity:.45;border-radius:50%;width:26px;height:26px;transition:opacity .15s,box-shadow .15s}.color-pick button.on img,.color-pick button.on svg{opacity:1;box-shadow:0 0 0 2px var(--bg), 0 0 0 4px var(--gold)}.wr{font-variant-numeric:tabular-nums;font-weight:700}.wr-good{color:var(--good)}.wr-bad{color:var(--bad)}.wr-mid{color:var(--mid)}.small-wr{font-size:.85rem}.nowrap{white-space:nowrap}.hero-btn{border-radius:var(--radius);background:var(--red);color:var(--on-accent);text-align:left;align-items:center;gap:14px;padding:16px;display:flex}.hero-icon{border-radius:var(--radius);background:#00000024;place-items:center;width:46px;height:46px;display:grid}.hero-text{flex-direction:column;flex:1;display:flex}.hero-text strong{font-family:var(--font-display);font-size:1.1rem}.hero-text span{opacity:.8;font-size:.82rem}.demo-tag{letter-spacing:.15em;margin-top:-6px;font-size:.65rem;font-weight:700}.stats3{grid-template-columns:repeat(3,1fr);gap:8px;display:grid}.stats3>div{background:var(--surface-2);border-radius:var(--radius);padding:8px 10px}.stat-num{font-family:var(--font-display);font-variant-numeric:tabular-nums;font-size:1.25rem;font-weight:700}.stats3>div{container-type:inline-size}.stat-num.rec{white-space:nowrap;font-size:min(1.25rem, calc(140cqi / var(--n)))}.stat-label{color:var(--muted);font-size:.72rem}.mini-list{flex-direction:column;margin:0;padding:0;list-style:none;display:flex}.mini-list li{border-top:1px solid var(--line);align-items:center;gap:8px;padding:7px 0;font-size:.88rem;display:flex}.rank{text-align:center;width:20px;color:var(--muted);font-variant-numeric:tabular-nums;flex:none;font-size:.78rem;font-weight:700}.summary-text{color:var(--muted);margin:0;font-size:.88rem}.filters{justify-content:space-between;align-items:center;gap:8px;display:flex}.min-games{align-items:center;gap:6px;display:flex}.min-games select{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:4px 6px}.meta-list{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);margin:0;padding:0;list-style:none;overflow:clip}.meta-row{border-top:1px solid var(--line);cursor:pointer;padding:10px 12px}.meta-row:first-child{border-top:0}.meta-row.open{background:var(--surface-2)}.meta-main{align-items:center;gap:8px;display:flex}.meta-name{flex-direction:column;flex:1;gap:3px;min-width:0;display:flex}.name-line{min-width:0;font-size:.92rem;font-weight:600;display:flex}.sub-line{flex-wrap:wrap;align-items:center;gap:6px;min-width:0;display:flex}.share-bar{background:var(--surface-2);border-radius:2px;height:3px;overflow:hidden}.meta-row.open .share-bar{background:var(--line)}.share-bar span{background:var(--muted);opacity:.7;height:100%;display:block}.meta-val{font-variant-numeric:tabular-nums;flex-direction:column;flex:none;align-items:flex-end;display:flex}.meta-val b{font-size:.95rem}.meta-val span{font-size:.72rem}.rec-inline{color:var(--text);font-variant-numeric:tabular-nums;flex:none;font-size:.82rem;font-weight:600}.event-row.more{color:var(--gold);justify-content:center;font-size:.82rem;font-weight:600}a.event-row{color:inherit;text-decoration:none}.mini-list li.clickable,.stat-row.clickable{cursor:pointer}button.kv.clickable{text-align:left;width:100%}button.kv.clickable b{align-items:center;gap:4px;display:inline-flex}.cmd-link{white-space:nowrap;align-items:center;gap:4px;min-width:0;display:flex}.cmd-link .rec-tail{flex:none}.tag.warn{background:color-mix(in srgb, var(--gold) 18%, transparent);color:var(--text)}.meta-detail{flex-direction:column;gap:4px;margin:10px 0 2px 28px;display:flex}.kv{justify-content:space-between;font-size:.85rem;display:flex}.kv span{color:var(--muted)}.ci-bar{background:var(--line);border-radius:var(--radius);height:10px;margin:6px 0 2px;position:relative}.ci-range{background:color-mix(in srgb, var(--gold) 45%, transparent);border-radius:var(--radius);position:absolute;top:0;bottom:0}.ci-mid{background:var(--muted);width:1px;position:absolute;top:-3px;bottom:-3px;left:50%}.ci-dot{background:var(--text);border-radius:50%;width:10px;height:10px;margin:-5px 0 0 -5px;position:absolute;top:50%}.spin{animation:.8s linear infinite spin;display:inline-grid}@keyframes spin{to{transform:rotate(360deg)}}.deck-list{flex-direction:column;gap:8px;display:flex}.deck-tile{--tile-bg:var(--surface);isolation:isolate;background:var(--tile-bg);border:1px solid var(--line);border-radius:var(--radius);text-align:right;min-height:84px;color:var(--muted);align-items:center;gap:12px;padding:12px;display:flex;position:relative;overflow:hidden}.deck-list.flush .deck-tile{--tile-bg:var(--surface-2);border-color:#0000}.deck-art{z-index:-1;background:top/cover no-repeat;width:70%;position:absolute;inset:0 auto 0 0;-webkit-mask-image:linear-gradient(90deg,#000 30%,#0000);mask-image:linear-gradient(90deg,#000 30%,#0000)}.deck-art:not([style]){display:none}.deck-info{min-width:0;color:var(--text);text-shadow:0 0 4px var(--tile-bg), 0 0 8px var(--tile-bg);flex-direction:column;flex:1;align-items:flex-end;gap:4px;display:flex}.deck-info .name-line{max-width:100%;font-size:1rem}.deck-info .sub-line{justify-content:flex-end}.deck-hero{background:var(--surface-2) center 25% / cover;color:#fff;flex-direction:column;justify-content:flex-end;height:150px;margin:0 -16px;padding:10px 16px 14px;display:flex;position:relative}.deck-hero.slim{height:96px}.deck-hero-shade{background:linear-gradient(#0000 35%,#0b0b0ceb 100%);position:absolute;inset:0}.deck-hero-body{flex-direction:column;gap:4px;display:flex;position:relative}.deck-author{align-items:center;gap:8px;max-width:100%;font-size:.9rem;display:flex}.deck-author>img,.deck-author>.avatar{border-radius:50%;flex:none;width:24px;height:24px;font-size:.75rem}.deck-author:disabled,.edition-row:disabled{cursor:default}.check{border-radius:var(--radius);align-items:flex-start;gap:8px;padding:8px 10px;font-size:.85rem;display:flex}.check svg{flex:none;margin-top:2px}.check.ok{background:color-mix(in srgb, var(--good) 14%, transparent);color:var(--good)}.check.bad{background:color-mix(in srgb, var(--bad) 12%, transparent);color:var(--bad)}.curve-head{justify-content:space-between;align-items:center;gap:8px;margin-bottom:-4px;display:flex}.legend{color:var(--muted);align-items:center;gap:5px;display:inline-flex}.legend .key{border-radius:3px;width:10px;height:10px;margin-left:6px}.key.perm,.seg-perm{background:var(--gold)}.key.spell,.seg-spell{background:color-mix(in srgb, var(--muted) 55%, var(--surface-2))}.curve{grid-template-columns:repeat(8,1fr);gap:6px;height:108px;display:grid}.curve-col{flex-direction:column;justify-content:flex-end;align-items:center;gap:2px;min-width:0;padding:0;transition:opacity .15s;display:flex}.curve.has-sel .curve-col:not(.sel){opacity:.4}.curve-stack{border-radius:4px 4px 0 0;flex-direction:column;gap:2px;width:100%;min-height:2px;display:flex;overflow:hidden}.curve-stack>span{flex-basis:0;min-height:0}.curve-col.sel .curve-stack{outline:2px solid var(--text);outline-offset:1px}.curve-v,.curve-x{color:var(--muted);font-variant-numeric:tabular-nums;font-size:.68rem}.curve-col.sel .curve-v,.curve-col.sel .curve-x{color:var(--text);font-weight:700}.curve-detail{background:var(--surface-2);border-radius:var(--radius);flex-direction:column;gap:8px;padding:10px 12px;display:flex}.odds{border-collapse:collapse;font-variant-numeric:tabular-nums;width:100%}.odds th{color:var(--muted);text-align:right;padding-bottom:2px;font-weight:600}.odds td{padding:3px 0}.odds td+td{text-align:right;width:52px;font-weight:700}.curve-group{flex-direction:column;display:flex}.curve-card{text-align:left;align-items:center;gap:8px;min-width:0;padding:5px 0;font-size:.9rem;display:flex}.curve-card .qty{color:var(--muted);min-width:14px}.color-stats{flex-direction:column;gap:12px;display:flex}.color-stat{align-items:flex-start;gap:10px;display:flex}.color-bars{flex-direction:column;flex:1;gap:3px;min-width:0;display:flex}.color-line{grid-template-columns:56px 1fr 38px;align-items:center;gap:8px;display:grid}.color-line b{text-align:right;font-variant-numeric:tabular-nums}.meter{background:var(--surface-2);border-radius:4px;height:8px;overflow:hidden}.meter .fill{border-radius:4px;height:100%;display:block}.group-title{text-transform:uppercase;letter-spacing:.06em;margin:4px 2px 6px;font-size:.82rem;font-weight:700}.pub-head{justify-content:space-between;align-items:baseline;display:flex}.pub-head .link{text-transform:none;letter-spacing:0}.pub-cover{border-radius:var(--radius);background:var(--surface-2) center top / cover no-repeat;flex:none;width:56px;height:42px}.pub-by{align-items:center;gap:6px;min-width:0;display:flex}.pub-by>img,.pub-by>.avatar{border-radius:50%;flex:none;width:16px;height:16px;font-size:.6rem}.pub-by .link-plain{min-width:0;color:inherit;font:inherit;background:0 0;border:0;padding:0}.pub-when{flex:none}.pub-tags{flex-wrap:wrap;gap:4px;display:flex}.group-note{margin:6px 2px 0}.group-title+.group-note{margin:-2px 2px 8px}.card-list{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);margin:0;padding:0;list-style:none;overflow:clip}.card-row{border-top:1px solid var(--line);align-items:center;display:flex}.card-row:first-child{border-top:0}.card-row-main{text-align:left;flex:1;align-items:center;gap:10px;min-width:0;padding:9px 12px;font-size:.9rem;display:flex}.card-row-main .ellipsis{flex:1}.qty{width:16px;color:var(--muted);font-variant-numeric:tabular-nums;flex:none;font-size:.82rem}.mana{flex:none;align-self:center;align-items:center;gap:2px;display:inline-flex}.qty-ctrl{gap:4px;padding-right:8px;display:flex}.qty-ctrl button{border-radius:var(--radius);background:var(--surface-2);place-items:center;width:30px;height:30px;display:grid}.ac-list{background:var(--surface-2);border-radius:var(--radius);border:1px solid var(--line);margin:0;padding:4px;list-style:none}.ac-list button{text-align:left;border-radius:var(--radius);width:100%;color:var(--text);justify-content:space-between;gap:12px;padding:9px 10px;display:flex}.ac-head{letter-spacing:.08em;text-transform:uppercase;color:var(--muted);padding:8px 10px 2px;font-size:.7rem;font-weight:700}.deck-field{flex-direction:column;gap:6px;display:flex}.ac-list button:active{background:var(--line)}.card-preview{flex-direction:column;align-items:center;gap:10px;display:flex}.card-preview img{border-radius:4.5%/3.2%;width:min(72vw,300px);box-shadow:0 8px 24px #0006}.btn-row{flex-direction:column;gap:8px;width:100%;display:flex}.toast{left:50%;bottom:calc(var(--tabbar-h) + var(--safe-b) + 16px);background:var(--text);color:var(--bg);border-radius:var(--radius);z-index:40;padding:8px 16px;font-size:.85rem;font-weight:600;position:fixed;transform:translate(-50%)}.toast-action{align-items:center;gap:12px;max-width:calc(100vw - 32px);display:flex}.toast-action .link{color:var(--bg);text-decoration:underline}.row-actions{align-items:center;gap:8px;display:flex}.row-actions>.event-row{flex:1;min-width:0}.row-actions>.btn{flex:none;margin-right:12px}.form{flex-direction:column;gap:12px;display:flex}.form label{color:var(--muted);flex-direction:column;gap:4px;font-size:.8rem;font-weight:600;display:flex}.form input,.form textarea{background:var(--surface-2);border:1px solid var(--line);border-radius:var(--radius);color:var(--text);resize:vertical;padding:10px 12px;font-size:16px;font-weight:400}.form input:disabled{color:var(--muted)}.form textarea{font-family:var(--font-mono);font-size:13px}.sheet-backdrop{z-index:30;background:#0000008c;justify-content:center;align-items:flex-end;animation:.15s fade;display:flex;position:fixed;inset:0}.sheet{background:var(--surface);width:100%;max-width:640px;max-height:92dvh;padding:0 16px calc(var(--safe-b) + 20px);border-radius:8px 8px 0 0;animation:.2s up;overflow-y:auto}.sheet-head{background:var(--surface);z-index:1;justify-content:space-between;align-items:center;gap:8px;padding:12px 0 8px;display:flex;position:sticky;top:0}@keyframes fade{0%{opacity:0}}@keyframes up{0%{opacity:.6;transform:translateY(30px)}}.life-root:has(.sheet-backdrop,.roll-overlay,.timer-banner){z-index:25}.life-root{inset:0 0 calc(var(--tabbar-h) + var(--safe-b) + 14px) 0;z-index:15;color:#fff;-webkit-user-select:none;user-select:none;touch-action:manipulation;padding-top:var(--safe-t);background:#0b0b0c;grid-template-rows:1fr auto 1fr;display:grid;position:fixed}.player{border-radius:var(--radius);flex-direction:column;margin:6px;transition:background .3s;display:flex;position:relative;overflow:hidden}.player.p0{background:var(--p0);transform:rotate(180deg)}.player.p1{background:var(--p1)}.player.dead{filter:grayscale(.85)brightness(.7)}.player-art{pointer-events:none;background:50% 30%/cover no-repeat;position:absolute;inset:0 0 22%;-webkit-mask-image:linear-gradient(#000 35%,#0000);mask-image:linear-gradient(#000 35%,#0000)}.player>:not(.player-art){position:relative}.player>.art-btns{z-index:1;gap:6px;display:flex;position:absolute;top:8px;left:50%;transform:translate(-50%)}.art-btns button{border-radius:var(--radius);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);color:#fff;letter-spacing:.06em;text-transform:uppercase;background:#00000073;border:1px solid #ffffff47;justify-content:center;align-items:center;gap:6px;height:34px;padding:0 12px;font-size:.72rem;font-weight:700;line-height:1;display:inline-flex}.art-btns .x{width:34px;padding:0}.art-btns button:active{background:#000000a6}.player:has(.player-art) .life-num{text-shadow:0 2px 14px #0009}.art-row{text-align:left;align-items:center;gap:10px;font-size:.88rem;font-weight:600;display:flex}.art-row>:first-child{object-fit:cover;border-radius:2px;flex:none;width:56px;height:40px}.art-row>.p0{background:var(--p0)}.art-row>.p1{background:var(--p1)}.reset-card .search{color:#8b8b92;background:#1b1b1e;border-color:#26262a}.reset-card .search input{color:#fff}.life-zone{flex:1;grid-template-columns:1fr 1fr;display:grid;position:relative}.life-tap{color:#ffffff73;touch-action:none;align-items:center;padding:0 22px;font-size:2.2rem;font-weight:300;display:flex}.life-tap.plus{justify-content:flex-end}.life-tap:active{background:#ffffff0f}.life-center{pointer-events:none;place-items:center;display:grid;position:absolute;inset:0}.life-num{font-variant-numeric:tabular-nums;letter-spacing:-.04em;font-size:clamp(5rem,24vw,9rem);font-weight:800;line-height:1}.life-delta{opacity:0;font-size:1.3rem;font-weight:700;transition:opacity .2s;position:absolute;top:14%}.life-delta.show{opacity:.85}.life-dead{text-transform:uppercase;letter-spacing:.2em;font-size:.8rem;font-weight:800;position:absolute;bottom:12%}.life-center.ended{flex-direction:column;justify-content:center;align-items:center;gap:10px;display:flex}.life-center.ended .life-num{font-size:clamp(3.5rem,16vw,6.5rem)}.life-center.ended .life-delta{display:none}.game-end{pointer-events:auto;flex-direction:column;align-items:center;gap:8px;display:flex}.game-end-title{text-transform:uppercase;letter-spacing:.2em;font-size:.8rem;font-weight:800}.game-end-btn{border-radius:var(--radius);color:#1b150f;background:#f2f2f3;padding:0 22px}.game-end-skip{color:#ffffffbf;min-height:32px;font-size:.85rem;font-weight:600;text-decoration:underline}.counters{grid-template-columns:1fr 1fr;gap:8px 84px;padding:0 8px 8px;display:grid}.counter{border-radius:var(--radius);background:#00000040;justify-content:space-between;align-items:center;height:44px;display:flex}.mana-pool{gap:4px;padding:0 8px 8px;display:flex}.mana-slot{flex-direction:column;flex:1;display:flex}.mana-pool button{border-radius:var(--radius);color:#fff;font-variant-numeric:tabular-nums;background:#00000040;flex:1;justify-content:center;align-items:center;gap:4px;height:36px;display:flex}.mana-pool .mana:not(.on){opacity:.55}.mana-pool .mana,.mana-pool .mana-minus{flex:none;width:100%}.mana-pool .mana.on{border-radius:var(--radius) var(--radius) 0 0}.mana-pool .mana-minus{border-radius:0 0 var(--radius) var(--radius);color:#fffc;background:#0006;height:22px;font-size:1.1rem}.mana-pool .mana-minus[hidden]{visibility:hidden;display:flex}.mana-pool .mana-clear{color:#ffffffb3;flex:0 0 32px;height:36px}.mana-pool .mana-clear:disabled{opacity:.3}.counter.lethal{box-shadow:inset 0 0 0 2px var(--gold);background:#0009}.counter button{color:#ffffffb3;width:34px;height:100%;font-size:1.2rem}.counter-val{align-items:center;gap:6px;line-height:1.1;display:flex}.counter-val svg{opacity:.75}.counter-num{font-variant-numeric:tabular-nums;font-size:1.1rem;font-weight:800}.life-bar{justify-content:center;gap:10px;padding:2px 0;display:flex}.bar-btn{border-radius:var(--radius);color:#e9e0d6;background:#221d1a;place-items:center;width:44px;height:36px;display:grid}.bar-btn.accent{color:var(--gold)}.coin-glyph{font-size:1.1rem;font-weight:800}.roll-overlay{z-index:50;background:#000000b3;grid-template-rows:1fr 1fr;animation:.15s fade;display:grid;position:fixed;inset:0}.roll-overlay.dim{grid-template-rows:none;place-items:center;display:grid}.roll-half{flex-direction:column;justify-content:center;align-items:center;display:flex}.roll-half.p0{grid-row:1;transform:rotate(180deg)}.roll-half.p1{grid-row:2}.roll-half.winner{color:var(--gold)}.roll-center{grid-row:1/span 2;place-items:center;display:grid}.roll-big{font-size:4rem;font-weight:800}.roll-sub{opacity:.7;text-transform:uppercase;letter-spacing:.12em;font-size:.8rem;font-weight:600}.reset-card{border-radius:var(--radius);text-align:center;background:#131315;flex-direction:column;gap:12px;width:min(88vw,340px);padding:20px;display:flex}.reset-card .seg{background:#1b1b1e;align-self:center}.reset-card .seg button.on{color:#fff;background:#26262a}.reset-card .btn.ghost{border-color:#26262a}.reset-card{--gold:#f65a1a}.reset-card .chip:not(.on){color:#fff;background:0 0;border-color:#26262a}@media (width>=700px){.page{padding-top:24px}.deck-hero{border-radius:0 0 var(--radius) var(--radius);margin:0}}.life-bar{align-items:center}.timer-pill{border-radius:var(--radius);color:#e9e0d6;font-variant-numeric:tabular-nums;touch-action:manipulation;background:#221d1a;justify-content:center;align-items:center;gap:6px;min-width:104px;height:44px;padding:0 14px;display:flex}.timer-time{letter-spacing:-.01em;font-size:1.35rem;font-weight:800}.timer-label{letter-spacing:.1em;opacity:.8;font-size:.62rem;font-weight:800}.timer-label:empty{display:none}.timer-pill.running{color:var(--gold);background:#2c2418;box-shadow:inset 0 0 0 1.5px #f65a1a8c}.timer-pill.paused .timer-time{opacity:.75}.timer-pill.turns{color:#1b150f;background:#f65a1a}.bar-btn.attn{animation:1.2s ease-in-out infinite pulse}@keyframes pulse{50%{background:#4a3a1c}}.timer-banner{z-index:45;pointer-events:auto;background:#0a0807e0;grid-template-rows:1fr 1fr;animation:.2s fade;display:grid;position:fixed;inset:0}.timer-banner>div{text-align:center;color:var(--gold);place-items:center;padding:24px;font-size:1.5rem;font-weight:800;display:grid}.timer-banner>.p0{transform:rotate(180deg)}.extra-chips{grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;display:grid}.extra-chips .chip{border-radius:var(--radius);letter-spacing:0;flex-direction:column;justify-content:center;align-items:center;gap:4px;min-width:0;padding:8px 1px;font-size:.58rem;display:flex}.tokens{justify-content:center;gap:8px;padding:0 8px 8px;display:flex}.token{border-radius:var(--radius);letter-spacing:.04em;text-transform:uppercase;color:#ffffff73;background:#00000038;align-items:center;gap:6px;height:30px;padding:0 12px;font-size:.72rem;font-weight:700;display:inline-flex}.token.on{background:var(--gold);color:#1b150f;box-shadow:0 0 0 2px #00000040}.dungeon-card{gap:9px;width:min(94vw,370px);max-height:94dvh;padding:14px;overflow-y:auto}.dg-chips{grid-template-columns:repeat(4,1fr);gap:5px;display:grid}.dg-chips .chip{border-radius:var(--radius);justify-content:center;align-items:center;padding:7px 2px;font-size:.7rem;display:flex}.dg-chips .chip:disabled{opacity:.35}.dg-map{border-radius:4.5%/3.2%;position:relative;overflow:hidden}.dg-map img{aspect-ratio:672/936;width:100%;display:block}.dg-room{border-radius:4px;position:absolute}.dg-room.next{outline:3px dashed var(--gold);outline-offset:-3px;background:color-mix(in srgb, var(--gold) 16%, transparent)}.dungeon-card .seg .log-dot{vertical-align:-1px;display:inline-block}.dg-marker{width:14px;height:14px;position:absolute;top:5px;box-shadow:0 0 0 2px #fff,0 1px 4px #0009}.token.dg{color:#fff;text-transform:none;letter-spacing:0;background:#00000059}.menu-section{text-align:left;text-transform:uppercase;letter-spacing:.08em;color:#8b8b92;margin-top:4px;font-size:.72rem;font-weight:800}.reset-card{text-align:left;max-height:90dvh;overflow-y:auto}.reset-card>strong{text-align:center}.reset-card.up{transform:rotate(180deg)}.keypad{flex-direction:column;gap:5px;display:flex}.keypad div{justify-content:center;gap:4px;display:flex}.keypad button{border-radius:var(--radius);color:#fff;max-width:34px;height:40px;font:inherit;background:#1b1b1e;border:1px solid #26262a;flex:1;place-items:center;padding:0;font-weight:600;display:grid}.keypad button.wide{max-width:none}.reset-card>*{flex-shrink:0}.menu-head{grid-template-columns:40px 1fr 40px;align-items:center;margin:-10px -10px 0;display:grid}.menu-head .icon-btn{color:#fff}.menu-head strong{text-align:center}.stepper{justify-content:space-between;align-items:center;gap:8px;font-size:.9rem;display:flex}.stepper-ctrl{align-items:center;gap:4px;display:flex}.stepper-ctrl b{text-align:center;font-variant-numeric:tabular-nums;min-width:34px}.stepper-ctrl button{border-radius:var(--radius);background:#1b1b1e;width:36px;height:36px;font-size:1.1rem}.btn-pair{grid-template-columns:1fr 1fr;gap:8px;display:grid}.btn-split{border-radius:var(--radius);border:1px solid #26262a;grid-auto-columns:1fr;grid-auto-flow:column;display:grid;overflow:hidden}.btn-split .btn{white-space:normal;border:0;border-radius:0;padding:0 6px}.btn-split .btn+.btn{border-left:1px solid #26262a}.life-sheet-host{color:var(--text)}.no-margin{margin:0}.head-left{align-items:center;gap:4px;margin-left:-8px;display:flex}.seg.wide{scrollbar-width:none;display:flex;overflow-x:auto}.mode-tabs{border-bottom:1px solid var(--line);display:flex}.mode-tabs button{color:var(--muted);border-bottom:2.5px solid #0000;flex:1;justify-content:center;align-items:center;gap:8px;margin-bottom:-1px;padding:10px 0;font-size:.95rem;font-weight:600;display:flex}.mode-tabs button.on{color:var(--text);border-bottom-color:var(--gold)}.mode-tabs button.on svg{color:var(--gold)}.seg.wide button{flex:1;padding:8px 10px}.form .field{color:var(--muted);flex-direction:column;gap:4px;font-size:.8rem;font-weight:600;display:flex}.photo-row{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface-2);color:var(--text);align-items:center;gap:10px;padding:10px 12px;font-size:.95rem;display:flex}.photo-row svg{color:var(--gold);flex:none}.form select{background:var(--surface-2);border:1px solid var(--line);border-radius:var(--radius);color:var(--text);padding:10px 12px;font-size:16px}.result-pick{grid-template-columns:repeat(3,1fr);gap:8px;display:grid}.bo3{flex-direction:column;gap:10px;display:flex}.bo3 .off{opacity:.35}.bo3 .field:not(:first-child)>span{text-align:center}.game-seg button.on{color:#fff}.game-seg button.on.res-W{background:var(--good)}.game-seg button.on.res-L{background:var(--bad)}.game-seg button.on.res-D{background:var(--mid);color:#1b150f}.bo3-score{font-variant-numeric:tabular-nums}.res-text-W{color:var(--good)}.res-text-L{color:var(--bad)}.res-text-D{color:var(--mid)}.res{border-radius:var(--radius);border:1px solid var(--line);background:var(--surface-2);height:52px;font-weight:700}.res-W.on{background:var(--good);border-color:var(--good);color:#fff}.res-L.on{background:var(--bad);border-color:var(--bad);color:#fff}.res-D.on{background:var(--mid);border-color:var(--mid);color:#1b150f}.res-dots{gap:4px;display:inline-flex}.res-dot{border-radius:50%;width:10px;height:10px}.res-dot.res-W,.res-badge.res-W{background:var(--good)}.res-dot.res-L,.res-badge.res-L{background:var(--bad)}.res-dot.res-D,.res-badge.res-D{background:var(--mid)}.res-badge{font-variant-numeric:tabular-nums;border-radius:var(--radius);color:#fff;flex:none;place-items:center;min-width:26px;height:26px;padding:0 5px;font-size:.8rem;font-weight:800;display:grid}.stat-row{border-top:1px solid var(--line);align-items:center;gap:10px;min-width:0;padding:10px 12px;font-size:.9rem;display:flex}.stat-row:first-child{border-top:0}.stat-row.history{padding:8px 4px 8px 12px}.stat-row .rec{font-variant-numeric:tabular-nums}.hist-main{flex-direction:column;min-width:0;display:flex}.head-right{align-items:center;gap:8px;display:flex}.account-btn{background:var(--surface-2);width:38px;height:38px;color:var(--text);border-radius:50%;place-items:center;display:grid;overflow:hidden}.account-btn img,.profile img{object-fit:cover;width:100%;height:100%}.avatar{background:var(--gold);color:#1b150f;border-radius:50%;place-items:center;width:100%;height:100%;font-weight:800;display:grid}.profile{align-items:center;gap:12px;display:flex}.profile>img,.profile>.avatar{border-radius:50%;flex:none;width:48px;height:48px}.profile-text{flex-direction:column;min-width:0;display:flex}.btn.google{color:#1f1f1f;background:#fff;border-color:#dadce0}.divider{color:var(--muted);align-items:center;gap:10px;font-size:.78rem;display:flex}.divider:before,.divider:after{content:"";background:var(--line);flex:1;height:1px}.auth-links{flex-wrap:wrap;justify-content:space-between;gap:8px;display:flex}.color-row{flex-direction:column;gap:6px;display:flex}.color-label{font-size:.85rem}.swatches{flex-wrap:wrap;gap:8px;display:flex}.swatch{border:2px solid var(--line);border-radius:50%;width:30px;height:30px;position:relative}.swatch.on{box-shadow:0 0 0 2px var(--bg), 0 0 0 4px var(--text)}.swatch.custom{cursor:pointer;background-image:conic-gradient(red,#ff0,#0f0,#0ff,#00f,#f0f,red)!important}.swatch.custom input{opacity:0;cursor:pointer;width:100%;height:100%;position:absolute;inset:0}.theme-preview{border-radius:var(--radius);background:var(--surface-2);flex-wrap:wrap;align-items:center;gap:10px;padding:10px;display:flex}.tp-brand{border-bottom:1px solid var(--line);flex-basis:100%;align-items:center;gap:10px;padding-bottom:10px;display:flex}.tp-brand .logo-cut{fill:var(--surface-2)}.tp-title{font-family:var(--font-display);font-size:1.3rem;font-weight:700;line-height:1.1}.tp-btn{background:var(--red);color:var(--on-accent);border-radius:var(--radius);padding:6px 10px;font-size:.8rem;font-weight:700}.tp-link{color:var(--gold);flex:1;font-size:.8rem;font-weight:700}.tp-p{border-radius:var(--radius);width:28px;height:28px}.tp-p.p0{background:var(--p0)}.tp-p.p1{background:var(--p1)}.link:disabled{opacity:.5}.center{text-align:center}.pad{padding:16px 0}.hero-actions{gap:8px;display:flex}.deck-toolbar{z-index:5;padding:calc(var(--safe-t) + 8px) 0 8px;background:var(--bg);justify-content:space-between;align-items:center;gap:8px;margin-top:-8px;display:flex;position:sticky;top:0}.deck-bar{box-sizing:border-box;bottom:calc(var(--tabbar-h) + var(--safe-b));background:var(--surface);border-top:1px solid var(--line);z-index:5;align-items:center;height:52px;margin:0 -16px -16px;padding-bottom:12px;font-size:.8rem;display:flex;position:sticky}.deck-bar-page{flex:1;min-width:0;display:flex}.deck-bar-page.left{--from:-24px;animation:.2s ease-out deck-bar-in}.deck-bar-page.right{--from:24px;animation:.2s ease-out deck-bar-in}@keyframes deck-bar-in{0%{transform:translateX(var(--from));opacity:0}}@media (prefers-reduced-motion:reduce){.deck-bar-page{animation:none!important}}.deck-bar>.icon-btn{width:40px;height:40px;color:var(--muted);flex:none}.deck-bar-info{flex:1;justify-content:center;align-items:center;gap:10px;display:flex}.deck-bar-price{color:var(--text);font-family:var(--font-mono);font-size:inherit;background:0 0;border:0;padding:8px 4px;font-weight:600}.deck-bar-types{font-family:var(--font-mono);flex:1;justify-content:space-around;display:flex}.deck-bar-types span{align-items:center;gap:4px;display:flex}.deck-bar-types svg{color:var(--muted)}.deck-page .toast{bottom:calc(var(--tabbar-h) + var(--safe-b) + 82px)}.mono{font-family:var(--font-mono);font-variant-numeric:tabular-nums}.price-row{align-items:center;gap:10px;padding:10px 2px;display:flex}.price-rank{width:1.4em}.price-main{flex-direction:column;flex:1;gap:4px;min-width:0;display:flex}.price-bar{background:var(--red);border-radius:2px;height:4px}.price-box{background:var(--surface-2);border-radius:var(--radius);flex-direction:column;align-self:stretch;gap:8px;padding:12px;display:flex}.price-box .kv{gap:12px}.set-code{color:var(--muted);letter-spacing:.04em;flex:none;font-size:.65rem;font-weight:700}.card-img{aspect-ratio:63/88;background:var(--surface-2);border-radius:4.75%/3.4%;width:100%;display:block;position:relative;overflow:hidden;box-shadow:0 1px 3px #00000059}.card-img img,.result img{object-fit:cover;width:100%;height:100%;display:block}.card-ph{border:2px solid var(--line);border-radius:inherit;color:var(--text);text-align:left;padding:8px;font-size:.72rem;font-weight:700;position:absolute;inset:0}.qty-badge{color:#fff;border-radius:var(--radius);background:#000000c7;padding:2px 7px;font-size:.75rem;font-weight:800;position:absolute;top:14%;right:6%}.card-grid{grid-template-columns:repeat(3,1fr);gap:8px;display:grid}@media (width>=560px){.card-grid{grid-template-columns:repeat(4,1fr)}}.piles{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:16px 10px;display:grid}@media (width>=560px){.piles{grid-template-columns:repeat(3,minmax(0,1fr))}}.pile-col{min-width:0}.pile .card-img{margin-bottom:-118%}.pile .card-img:last-child{margin-bottom:0}.pile .card-img:active,.pile .card-img:focus-visible{z-index:2}.pile .qty-badge{top:3%}.sticky-search{z-index:2;margin-bottom:10px;position:sticky;top:60px}.result-grid{grid-template-columns:repeat(3,1fr);gap:8px;display:grid}.result{aspect-ratio:63/88;background:var(--surface-2);border-radius:4.75%/3.4%;position:relative;overflow:hidden}.result.on{box-shadow:0 0 0 3px var(--gold)}.add-badge,.qty-badge.added{border-radius:var(--radius);background:var(--red);min-width:28px;height:28px;color:var(--on-accent);place-items:center;font-weight:800;display:grid;position:absolute;top:auto;bottom:6px;right:6px;box-shadow:0 2px 6px #0006}.qty-badge.added{background:var(--good);padding:0 8px}.prints .result{aspect-ratio:auto;background:0 0;flex-direction:column;display:flex}.prints .result img{aspect-ratio:63/88;border-radius:4.75%/3.4%;height:auto}.print-label{color:var(--muted);padding-top:3px;font-size:.7rem;font-weight:700}.btn.full{width:100%;margin-bottom:10px}.edition-row{border-radius:var(--radius);background:var(--surface-2);text-align:left;align-items:center;gap:10px;width:100%;padding:10px 12px;font-size:.88rem;display:flex}.qty-line{justify-content:space-between;align-items:center;width:100%;padding:0 4px;display:flex}.qty-line .stepper-ctrl button{background:var(--surface-2)}.cover-grid{grid-template-columns:repeat(2,1fr);gap:10px;margin-top:10px;display:grid}.cover-opt{text-align:left;flex-direction:column;gap:4px;min-width:0;font-size:.75rem;display:flex}.cover-opt img{aspect-ratio:4/3;object-fit:cover;border-radius:var(--radius);width:100%}.cover-opt.on img{box-shadow:0 0 0 3px var(--gold)}body{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}input,textarea{-webkit-user-select:text;user-select:text;-webkit-touch-callout:default}.filters.wrap{flex-wrap:wrap;justify-content:flex-start}.select-pill{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);color:var(--text);max-width:100%;padding:6px 10px;font-size:.8rem;font-weight:600}.range-pill{align-items:center;gap:4px;display:inline-flex}.range-pill>span:first-child{color:var(--muted)}.range-pill select{font:inherit;color:inherit;background:0 0;border:none;padding:0}.range-pill.on{border-color:var(--gold)}.chip{align-items:center;gap:4px;display:inline-flex}.rank.wide{width:28px}.player-row.me,.event-row.me{background:color-mix(in srgb, var(--gold) 12%, transparent)}.star-on{color:var(--gold);align-items:center;margin-left:4px;display:inline-flex}.icon-btn.star-on svg,.star-on svg{fill:currentColor}.tag.me-tag{background:var(--gold);color:#1b150f;margin-left:6px;font-weight:700}.sub-line .tag.me-tag{margin-left:0}.tag.poty{background:color-mix(in srgb, var(--gold) 22%, transparent);color:var(--gold);font-weight:700}.tag.poty svg{stroke-width:3px;vertical-align:-1px;margin-right:3px}.tag.poty-zone{border:1px solid color-mix(in srgb, var(--gold) 50%, transparent);color:var(--gold);background:0 0}.pts{flex-direction:column;flex:none;align-items:flex-end;line-height:1.1;display:flex}.pts b{font-variant-numeric:tabular-nums;font-size:1rem}.pts small{color:var(--muted);font-size:.65rem}.poty-line{text-align:center;letter-spacing:.06em;text-transform:uppercase;color:var(--gold);border-top:2px dashed color-mix(in srgb, var(--gold) 60%, transparent);padding:4px 0;font-size:.7rem;font-weight:700;list-style:none}.event-row{border-top:1px solid var(--line);cursor:pointer;min-width:0;color:var(--muted);align-items:center;gap:10px;padding:10px 12px;display:flex}.event-row:first-child{border-top:0}.event-row>.ellipsis,.event-main{color:var(--text)}.event-main{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.winner{color:var(--text);align-items:center;gap:4px;display:flex}.winner svg{color:var(--gold)}.place-badge{border-radius:var(--radius);background:var(--surface-2);min-width:34px;height:26px;color:var(--muted);font-variant-numeric:tabular-nums;flex:none;place-items:center;padding:0 4px;font-size:.78rem;font-weight:800;display:grid}.place-badge.top4{background:var(--gold);color:#1b150f}.place-badge.top8{background:color-mix(in srgb, var(--gold) 25%, transparent);color:var(--text)}.pts-inline{color:var(--text);font-variant-numeric:tabular-nums;flex:none}.to-clock{justify-content:space-between;align-items:baseline;gap:8px;display:flex}.to-clock b{font-variant-numeric:tabular-nums;font-size:2rem}.to-score{font-variant-numeric:tabular-nums;flex:none;font-weight:700}.to-step .stepper-ctrl button{background:var(--surface-2);color:var(--text)}.btn-col{flex-direction:column;gap:8px;display:flex}.to-code{align-items:center;gap:6px;display:flex}.to-code>div{flex-direction:column;flex:1;gap:2px;display:flex}.to-code b{font-family:var(--font-mono);letter-spacing:.15em;font-variant-numeric:tabular-nums;font-size:1.6rem}.to-new-code{align-self:flex-start}.qr-screen{z-index:40;background:var(--bg);padding:calc(var(--safe-t) + 10px) 24px calc(var(--safe-b) + 24px);text-align:center;flex-direction:column;align-items:center;gap:12px;display:flex;position:fixed;inset:0;overflow-y:auto}.qr-head{justify-content:space-between;align-self:stretch;align-items:center;display:flex}.qr-status{font-family:var(--font-mono);letter-spacing:.08em;text-transform:uppercase;color:var(--muted);font-size:.75rem}.qr-screen h2{font-family:var(--font-display);letter-spacing:-.02em;margin:0;font-size:1.75rem}.qr-code{aspect-ratio:1;box-sizing:border-box;background:#fff;border-radius:8px;width:min(306px,80vw,45dvh);margin:6px 0;padding:18px}.qr-code svg{fill:#0b0b0c;width:100%;height:100%;display:block}.qr-text{font-family:var(--font-mono);letter-spacing:.18em;padding-left:.18em;font-size:2.5rem}.qr-count{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);font-family:var(--font-mono);align-items:center;gap:8px;padding:8px 12px;font-size:.85rem;display:flex}.qr-share{width:100%;max-width:480px;margin:auto auto 0}.to-screen{align-items:center;gap:10px;display:flex}.to-screen>span{flex:1}.rs{background:var(--bg);color:var(--text);position:fixed;inset:0;overflow:hidden}.rs-stage{box-sizing:border-box;flex-direction:column;gap:28px;width:1920px;height:1080px;padding:40px 56px;display:flex;position:absolute;top:50%;left:50%}.rs-head{justify-content:space-between;align-items:center;gap:40px;display:flex}.rs-title{flex-direction:column;gap:6px;min-width:0;display:flex}.rs-kicker{font-family:var(--font-mono);letter-spacing:.1em;text-transform:uppercase;color:var(--red);font-size:20px}.rs h1{font-family:var(--font-display);letter-spacing:-.02em;margin:0;font-size:56px}.rs h2{margin:0;font-size:26px}.rs-sub,.rs-note,.rs-muted,.rs-clock span{color:var(--muted)}.rs-sub{font-size:22px}.rs-note{font-size:18px}.rs-clock{flex-direction:column;flex:none;align-items:flex-end;gap:8px;font-size:20px;display:flex}.rs-clock b{font-family:var(--font-mono);letter-spacing:-.02em;font-variant-numeric:tabular-nums;font-size:168px;line-height:.9}.rs-clock.small b{font-size:120px}.rs-empty{color:var(--muted);margin:auto;font-size:48px}.rs-body{flex:1;gap:28px;min-height:0;display:grid}.rs-swiss{grid-template-columns:minmax(0,2fr) minmax(0,1fr)}.rs-open{grid-template-columns:640px minmax(0,1fr)}.rs-panel{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);flex-direction:column;gap:16px;min-height:0;padding:24px;display:flex}.rs-panel-head{justify-content:space-between;align-items:baseline;display:flex}.rs-cell{background:var(--surface-2);border-radius:var(--radius);white-space:nowrap;text-overflow:ellipsis;padding:0 14px;font-size:22px;font-weight:600;overflow:hidden}.rs-grid{flex:1;grid-template-rows:repeat(8,minmax(0,1fr));grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-flow:column;gap:8px 20px;min-height:0;display:grid}.rs-row{align-items:center;gap:14px;display:flex}.rs-row.first{box-shadow:inset 0 0 0 2px var(--red)}.rs-num{text-align:center;width:44px;font-family:var(--font-mono);color:var(--muted);flex:none;font-size:24px;font-weight:700}.rs-two{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.rs-two>span,.rs-name{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.rs-row b,.rs-line b,.rs-side b{font-family:var(--font-mono);font-variant-numeric:tabular-nums;flex:none;font-size:24px}.rs-rec{font-family:var(--font-mono);color:var(--muted);flex:none;font-size:20px}.rs-list{flex-direction:column;flex:1;min-height:0;display:flex}.rs-line{border-top:1px solid var(--line);align-items:center;gap:14px;padding:9px 4px;font-size:22px;font-weight:600;display:flex}.rs-line .rs-num{text-align:left;width:40px}.rs-name{flex:1;min-width:0}.rs-line b{text-align:right;width:44px}.rs-join{justify-content:center;align-items:center;gap:22px}.rs-join .rs-qr{width:440px;height:440px;padding:26px}.rs-code{font-family:var(--font-mono);letter-spacing:.18em;padding-left:.18em;font-size:72px}.rs-count{font-family:var(--font-mono);font-size:40px}.rs-names{grid-template-columns:repeat(3,minmax(0,1fr));align-content:start;gap:10px 20px;display:grid}.rs-names .rs-cell{padding:14px 16px;font-size:24px}.rs-foot{margin-top:auto}.rs-bracket{gap:40px}.rs-col{flex-direction:column;gap:12px;min-width:0;display:flex}.rs-col-title{letter-spacing:.06em;text-transform:uppercase;color:var(--muted);font-size:20px;font-weight:700}.rs-col-title.on{color:var(--red)}.rs-col-list{flex-direction:column;flex:1;justify-content:space-around;display:flex}.rs-match{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius)}.rs-match.on{border-color:var(--red)}.rs-match.later{color:var(--muted);border-style:dashed}.rs-side{align-items:center;gap:12px;padding:14px 16px;font-size:26px;font-weight:600;display:flex}.rs-side+.rs-side{border-top:1px solid var(--line)}.rs-side.out{color:var(--muted)}.rs-side .rs-num{font-size:20px;font-weight:500}.rs-footer{align-items:center;gap:20px;font-size:24px;font-weight:600;display:flex}.rs-footer .rs-muted{font-size:20px;font-weight:400}.rs-footer .rs-qr{width:96px;height:96px;padding:8px}.rs-qr{box-sizing:border-box;background:#fff;border-radius:8px;flex:none}.rs-qr svg{fill:#0b0b0c;width:100%;height:100%;display:block}.rs-brand{font-family:var(--font-display);color:var(--muted);margin-left:auto;font-size:28px;font-weight:700}.rs-full{position:fixed;top:12px;left:50%;transform:translate(-50%)}.join-row{gap:10px;min-height:46px}.join-row input{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface-2);min-width:0;height:34px;color:var(--text);font:inherit;text-transform:uppercase;letter-spacing:.15em;flex:1;padding:0 10px}.my-tour{border-color:var(--gold)}.event-row.mine{box-shadow:inset 3px 0 0 var(--gold);color:var(--text)}.card details summary{cursor:pointer;padding:8px 0;font-weight:600}.card-list.log li{padding:8px 12px;font-size:.85rem}.card-list.log li+li{border-top:1px solid var(--line)}.kv.total{border-top:1px solid var(--line);margin-top:2px;padding-top:6px}.kv.total span{color:var(--text);font-weight:700}.chips.static{flex-wrap:wrap}.tag.big{padding:3px 8px;font-size:.78rem}.page-head .head-left{min-width:0}.page-head.sticky-head{z-index:10;margin:calc(-14px - var(--safe-t)) -16px 0;padding:calc(var(--safe-t) + 14px) 16px 8px;background:var(--bg);position:sticky;top:0}.art-name{display:none}@media (width<=699px){.page-head.sticky-head.on-art{margin-bottom:calc(-74px - var(--safe-t));transition:background-color .2s}.page-head.sticky-head.clear{background:0 0}.page-head.clear .icon-btn{color:#fff;filter:drop-shadow(0 1px 2px #000c)}.page-head.clear .sub-title{visibility:hidden}.page-head.on-art .sub-title{-webkit-line-clamp:1}.deck-hero.art-hero{height:calc(var(--safe-t) + 230px)}.art-hero .deck-hero-shade{background:linear-gradient(180deg, #0009 0, #0000 calc(var(--safe-t) + 90px), #0000 45%, #0b0b0ceb 100%)}.deck-hero.art-hero.player-hero{height:calc(var(--safe-t) + 170px)}.player-hero .deck-hero-shade{background:linear-gradient(180deg, #0009 0, #0000 calc(var(--safe-t) + 90px), #0000 50%, var(--bg) 100%)}.art-name{-webkit-line-clamp:3;font-family:var(--font-display);letter-spacing:-.02em;text-shadow:0 1px 6px #00000080;-webkit-box-orient:vertical;font-size:1.6rem;font-weight:700;line-height:1.15;display:-webkit-box;overflow:hidden}}.chart svg{width:100%;height:auto;display:block;overflow:visible}.chart .grid{stroke:var(--line);stroke-width:1px}.chart .axis{fill:var(--muted);font-size:9px}.chart .line{fill:none;stroke:var(--gold);stroke-width:2px;stroke-linejoin:round}.chart .dot{fill:var(--gold);stroke:var(--surface);stroke-width:2px}.chart .hit{fill:#0000;cursor:pointer}.chart .cross{stroke:var(--muted);stroke-width:1px;stroke-dasharray:3 3}.chart-tip{min-height:1.4em;margin-top:4px}.sub-title{-webkit-line-clamp:2;overflow-wrap:anywhere;-webkit-box-orient:vertical;font-size:1.3rem;line-height:1.2;display:-webkit-box;overflow:hidden}.live-status{color:var(--muted);align-items:center;gap:8px;font-size:.8rem;display:flex}.live-status.stale{color:var(--mid)}.live-status.none{color:var(--bad)}.live-row{justify-content:space-between;align-items:center;gap:8px;display:flex}.info-link{color:var(--gold);white-space:nowrap;align-items:center;gap:5px;font-size:.8rem;font-weight:700;display:inline-flex}.poty-note{align-items:center}.poty-note .info-btn{margin:-6px -6px -6px 0}.title-live{align-items:center;gap:8px;display:inline-flex}.live-dot{background:var(--good);border-radius:50%;flex:none;width:8px;height:8px;position:relative}.live-dot.stale{background:var(--stale)}.live-dot.none{background:var(--bad)}.live-dot.live:after{content:"";background:var(--good);border-radius:50%;animation:1.8s ease-out infinite live-pulse;position:absolute;inset:0}@keyframes live-pulse{0%{opacity:.7;transform:scale(1)}to{opacity:0;transform:scale(2.8)}}@media (prefers-reduced-motion:reduce){.live-dot.live:after{animation:none}}.circuit-views button{padding-left:4px;padding-right:4px}.podium{color:var(--text);flex-wrap:wrap;gap:2px 10px;display:flex}.league-row .share-bar{margin-top:4px}.record .mini-list li{cursor:pointer}.mini-list li.me{background:color-mix(in srgb, var(--gold) 12%, transparent)}.mini-list li.mine-row{border-top:1px dashed var(--line)}.month-bars{flex-direction:column;gap:6px;margin:0;padding:0;list-style:none;display:flex}.month-bars li{grid-template-columns:36px 1fr auto;align-items:center;gap:8px;display:grid}.month-name{color:var(--muted);text-transform:capitalize;font-size:.78rem}.month-bar{background:var(--surface-2);border-radius:var(--radius);height:10px;overflow:hidden}.month-bar span{background:var(--gold);border-radius:0 4px 4px 0;height:100%;display:block}.month-val{text-align:right;min-width:78px}.compare-picker .mini-list li{cursor:pointer}.side-a{--side:var(--cmp-a)}.side-b{--side:var(--cmp-b)}.h2h-swatch{background:var(--side);vertical-align:middle;border-radius:3px;width:10px;height:10px;display:inline-block}.h2h-head{grid-template-columns:1fr 1fr;gap:8px;display:grid}.h2h-player{background:var(--surface);border:1px solid var(--line);border-top:3px solid var(--side);border-radius:var(--radius);text-align:left;flex-direction:column;align-items:flex-start;gap:2px;min-width:0;padding:10px 12px;display:flex}.h2h-player strong{max-width:100%}.h2h-table{gap:0}.h2h-row{border-top:1px solid var(--line);font-variant-numeric:tabular-nums;grid-template-columns:1fr auto 1fr;align-items:center;gap:8px;padding:7px 0;display:grid}.h2h-row:first-child{border-top:0}.h2h-row>b:last-child{text-align:right}.h2h-row>span{text-align:center}.h2h-row b.win{color:var(--side)}.h2h-row b.win:after,.h2h-row b.win:before{font-size:.7em}.h2h-row>b.win:first-child:after{content:" ◀"}.h2h-row>b.win:last-child:before{content:"▶ "}.h2h-tally{justify-content:center;align-items:baseline;gap:12px;margin-bottom:8px;display:flex}.h2h-tally>.side-a,.h2h-tally>.side-b{color:var(--side);font-variant-numeric:tabular-nums;font-size:1.6rem;font-weight:800}.place-badge.win-a{background:var(--cmp-a);color:#fff}.place-badge.win-b{background:var(--cmp-b);color:#fff}.legend{flex-wrap:wrap;gap:4px 14px;margin-bottom:4px;display:flex}.chart .series .line{stroke:var(--side)}.chart .series .dot{fill:var(--side)}.notice-card{border-color:color-mix(in srgb, var(--gold) 45%, var(--line))}.notice-card.up{border-color:color-mix(in srgb, var(--good) 55%, var(--line))}.notice-card.down{border-color:color-mix(in srgb, var(--bad) 55%, var(--line))}.ban-notice li{flex-wrap:wrap;align-items:baseline;gap:2px 6px}.ban-notice li>span:first-child:not(.grow){font-size:.8rem;font-weight:700}.ban-notice li.ban-deck{flex-wrap:nowrap;align-items:center}.link-inline{color:inherit;text-decoration:underline;-webkit-text-decoration-color:var(--line);text-decoration-color:var(--line);text-underline-offset:2px}.notice-me{text-align:left;align-items:center;gap:10px;font-size:.95rem;font-weight:700;display:flex}.notice-arrow{color:var(--muted);flex:none;font-size:.8rem}.notice-me.up .notice-arrow,.notice-arrow.up{color:var(--good)}.notice-me.down .notice-arrow,.notice-arrow.down{color:var(--bad)}.notice-card .mini-list li{cursor:pointer}.claim-box{flex-direction:column;align-items:center;gap:8px;display:flex}.claim-box .btn{align-self:stretch}.claim-avatar{background:var(--surface-2);border:2px dashed var(--line);width:76px;height:76px;color:var(--muted);border-radius:50%;place-items:center;display:grid;overflow:hidden}.claim-row{align-items:flex-end;gap:12px;min-width:0;margin-top:-44px;display:flex;position:relative}.claim-row:first-child,.page-head+.claim-row{margin-top:0}.claim-row .claim-avatar{flex:none}.claim-who{flex-direction:column;align-items:flex-start;gap:4px;min-width:0;display:flex}.claim-name{overflow-wrap:anywhere;margin:0;font-size:1.35rem;line-height:1.15}.claim-who .btn{min-height:0;padding:6px 10px;font-size:.72rem}.claim-avatar.claimed{border:2px solid var(--good);color:var(--text);font-size:1.8rem;font-weight:800}.claim-avatar img{object-fit:cover;width:100%;height:100%}.verified{border-radius:var(--radius);color:var(--good);background:color-mix(in srgb, var(--good) 14%, transparent);align-items:center;gap:3px;padding:1px 8px 1px 5px;font-size:.72rem;font-weight:700;display:inline-flex}.verified svg{stroke-width:3px}.verify-btn.on{color:var(--good)}.verified.linked{color:var(--muted);background:var(--surface-2)}.verified.linked svg{stroke-width:2px}.dialog-backdrop{z-index:60;background:#0000008c;place-items:center;padding:24px 16px;animation:.12s ease-out fade-in;display:grid;position:fixed;inset:0}.dialog{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);flex-direction:column;gap:10px;width:min(100%,380px);padding:18px 18px 14px;display:flex;box-shadow:0 12px 40px #0006}.dialog-head{font-family:var(--font-display);color:var(--gold);align-items:center;gap:8px;font-size:1.05rem;font-weight:700;display:flex}.dialog-head img{border-radius:var(--radius);width:22px;height:22px}.dialog p{white-space:pre-line;margin:0;font-size:.95rem;line-height:1.45}.dialog-actions{justify-content:flex-end;gap:8px;margin-top:4px;display:flex}.btn.danger.solid{background:var(--bad);border-color:var(--bad);color:#fff}@keyframes fade-in{0%{opacity:0}}.verified-tick{vertical-align:-1px;width:14px;height:14px;color:color-mix(in srgb, var(--gold) 80%, var(--muted));opacity:.85;border:1.5px solid;border-radius:50%;flex:none;place-items:center;margin-left:5px;display:inline-grid}.verified-tick svg{stroke-width:4px;width:8px;height:8px}.player-row.me,.event-row.me{top:calc(var(--safe-t) + 8px);bottom:calc(var(--tabbar-h) + var(--safe-b) + 34px);z-index:3;background:color-mix(in srgb, var(--gold) 14%, var(--surface));box-shadow:inset 3px 0 0 var(--gold), 0 2px 12px #00000040;position:sticky}.pref-group{letter-spacing:.06em;text-transform:uppercase;color:var(--gold);margin-top:4px;font-size:.72rem;font-weight:700}.pref-choice{flex-direction:column;gap:6px;font-size:.9rem;display:flex}.toggle-row{text-align:left;justify-content:space-between;align-items:center;gap:12px;width:100%;padding:2px 0;font-size:.9rem;display:flex}.toggle-text{flex-direction:column;gap:2px;min-width:0;display:flex}.switch{background:var(--surface-2);border:1px solid var(--line);border-radius:999px;flex:none;width:44px;height:26px;transition:background .15s;position:relative}.switch:after{content:"";background:var(--muted);border-radius:50%;width:20px;height:20px;transition:transform .15s,background .15s;position:absolute;top:2px;left:2px}.switch.on{background:var(--gold);border-color:var(--gold)}.switch.on:after{background:var(--on-accent);transform:translate(18px)}.stat-num.good{color:var(--good)}.linked-player{text-align:left;width:100%;color:var(--muted);justify-content:space-between;align-items:center;gap:8px;display:flex}.linked-name{min-width:0;color:var(--text);align-items:center;gap:8px;font-size:1.05rem;display:flex}.follow-list{flex-direction:column;display:flex}.follow-row{border-top:1px solid var(--line);align-items:center;gap:4px;display:flex}.follow-row:first-child{border-top:0}.follow-main{text-align:left;flex:1;align-items:center;gap:10px;min-width:0;padding:8px 0;display:flex}.follow-rank{min-width:34px;color:var(--muted);font-variant-numeric:tabular-nums;font-size:.85rem}.follow-name{flex:1;min-width:0;font-weight:600}.admin-avatar{object-fit:cover;background:var(--surface-2);border-radius:50%;flex:none;place-items:center;width:32px;height:32px;font-size:.85rem;font-weight:700;display:grid}.admin-text{flex-direction:column;flex:1;min-width:0;display:flex}.admin-row .icon-btn{flex:none}.icon-btn.danger,.bad-text{color:var(--bad)}.good-text{color:var(--good)}.ban-changes .muted{font-size:.75rem}.admin-notes{color:var(--muted);overflow-wrap:anywhere;flex-direction:column;gap:4px;margin:0;padding-left:18px;font-size:.8rem;display:flex}.admin-notes.bad{color:var(--bad)}.form .field-hint{font-weight:400}.admin-row>.admin-text{padding:8px 0}.perm-list{flex-direction:column;gap:6px;margin:0;padding-left:18px;font-size:.9rem;display:flex}.fb-kinds{grid-template-columns:repeat(3,1fr);gap:6px;display:grid}.fb-kinds .chip{border-radius:var(--radius);padding:10px 4px}.fb-about{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface-2);align-items:center;gap:8px;padding:4px 4px 4px 10px;font-size:.85rem;display:flex}.fb-about>svg{color:var(--gold);flex:none}.fb-about .grow{flex-direction:column;flex:1;min-width:0;display:flex}.form textarea.fb-text{font-family:inherit;font-size:16px}.fb-item{border-top:1px solid var(--line);flex-direction:column;gap:4px;padding:12px 0 4px;display:flex}.fb-top{align-items:center;gap:8px;display:flex}.fb-msg{white-space:pre-wrap;overflow-wrap:anywhere;font-size:.9rem}.fb-item .link{align-self:flex-start;align-items:center;gap:4px;display:inline-flex}.fb-actions{justify-content:flex-end;align-items:center;gap:6px;display:flex}.fb-count{border-radius:var(--radius);background:var(--red);min-width:18px;height:18px;color:var(--on-accent);place-items:center;margin-left:4px;padding:0 5px;font-size:.68rem;display:inline-grid}.tag.bug{background:color-mix(in srgb, var(--bad) 18%, transparent);color:var(--bad)}.tag.data,.tag.new{background:color-mix(in srgb, var(--gold) 18%, transparent);color:var(--gold)}.tag.idea{background:color-mix(in srgb, var(--good) 18%, transparent);color:var(--good)}.link-row{border-top:1px solid var(--line);flex-direction:column;gap:6px;padding:8px 0;display:flex}.link-row:first-child{border-top:0}.link-actions{flex-wrap:wrap;align-items:center;gap:6px 12px;display:flex}.link-actions .btn.primary{text-overflow:ellipsis;white-space:nowrap;max-width:100%;display:inline-block;overflow:hidden}.alias-row{text-align:left;justify-content:space-between;width:100%;padding:8px 0}.chips.wrap-chips{flex-wrap:wrap;overflow:visible}.sync-line{align-items:flex-start;gap:10px;font-size:.9rem;display:flex}.sync-dot{background:var(--good);border-radius:50%;flex:none;width:9px;height:9px;margin-top:6px}.sync-line.saving .sync-dot,.sync-line.offline .sync-dot{background:var(--stale)}.sync-line.error .sync-dot{background:var(--bad)}.data-actions{flex-direction:column;gap:8px;display:flex}.data-actions .btn,.card>.btn.danger{justify-content:flex-start}.release ul{flex-direction:column;gap:3px;margin:4px 0 0;padding-left:18px;font-size:.88rem;display:flex}.menu-card{gap:0;padding:0 14px}.menu-row{text-align:left;border-top:1px solid var(--line);width:100%;min-height:52px;color:var(--muted);align-items:center;gap:12px;display:flex}.menu-row:first-child{border-top:0}.menu-row>svg:first-child{color:var(--gold);flex:none}.menu-label{color:var(--text);flex:1;font-size:.98rem}.menu-note{max-width:45%}.menu-row.danger,.menu-row.danger>svg:first-child,.menu-row.danger .menu-label{color:var(--bad)}.profile-card .profile>.avatar.empty{background:var(--surface-2);color:var(--muted);border:2px dashed var(--line)}.profile-link{text-align:left;width:100%;color:inherit}.profile-link:disabled{opacity:1}.profile-link .profile-text{flex:1;min-width:0}.profile-link .chev{color:var(--muted);display:inline-flex}.profile-card .profile-text{align-items:flex-start;gap:3px}.version-line{text-align:center;margin-top:4px}.bar-btn:disabled{opacity:.35}.history-card{max-height:80dvh}.life-log{flex-direction:column;max-height:52dvh;margin:0;padding:0;list-style:none;display:flex;overflow-y:auto}.life-log li{border-top:1px solid var(--line);align-items:center;gap:10px;padding:8px 0;font-size:.9rem;display:flex}.life-log li:first-child{border-top:0}.log-dot{border-radius:50%;flex:none;width:10px;height:10px}.log-dot.p0{background:var(--p0)}.log-dot.p1{background:var(--p1)}.log-what{flex:1;min-width:0}.log-after{font-variant-numeric:tabular-nums;font-weight:800}.log-after small{color:var(--muted);font-weight:600}.log-time{text-align:right;min-width:40px}.vs-list{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.vs-list li{align-items:center;gap:10px;font-size:.9rem;display:flex}.opp-linked{color:var(--good);font-weight:600}.filter-row{flex-wrap:wrap;gap:8px;display:flex}.play-draw{grid-template-columns:1fr 1fr;gap:8px;display:grid}.play-draw>div{background:var(--surface-2);border-radius:var(--radius);flex-direction:column;gap:1px;padding:8px 10px;display:flex}.play-draw b{font-size:1.15rem}.card-list>li>button.stat-row,.card-list>li>div.stat-row{text-align:left;width:100%}.card-list>li+li>.stat-row{border-top:1px solid var(--line)}.stat-row .chev{color:var(--muted);transition:transform .15s;display:inline-flex}.matchup.open .chev{transform:rotate(90deg)}.matchup-decks{background:var(--surface-2);margin:0;padding:0 0 4px;list-style:none}.stat-row.sub{padding-left:22px;font-size:.85rem}.stats-page .cmd-tabs{top:var(--safe-t);box-shadow:0 calc(-1 * var(--safe-t)) 0 10px var(--bg)}.wr-bar{background:var(--line);border-radius:3px;flex:0 0 36px;height:5px;overflow:hidden}.wr-bar i{background:currentColor;height:100%;display:block}.stats-hl{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.stats-hl .card{text-align:left;color:var(--text);gap:2px;min-width:0;padding:10px 12px}.hl-label{text-transform:uppercase;letter-spacing:.06em;color:var(--muted);font-size:.68rem;font-weight:600}.hl-name{font-weight:600}.month-row{background:var(--surface-2);border-top:1px solid var(--line);color:var(--muted);text-transform:uppercase;letter-spacing:.06em;font-variant-numeric:tabular-nums;justify-content:space-between;padding:6px 12px;font-size:.72rem;font-weight:600;display:flex}.month-row:first-child{border-top:0}.chart .grid.mid{stroke-dasharray:3 3}.hand-info{flex-wrap:wrap;gap:4px 12px;display:flex}.hand-grid{grid-template-columns:repeat(4,1fr);gap:6px;display:grid}.hand-grid .card-img.drawn{outline:2px solid var(--gold);outline-offset:1px;border-radius:var(--radius)}.hand-zoom{z-index:60;background:#000000bf;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.hand-zoom img{border-radius:var(--radius);width:min(88vw,380px)}.tag.ban-tag{background:color-mix(in srgb, var(--bad) 22%, transparent);color:var(--bad);font-weight:700}.app-banner{border-radius:var(--radius);background:var(--surface);border:1px solid color-mix(in srgb, var(--gold) 45%, var(--line));align-items:center;gap:10px;padding:10px 8px 10px 12px;font-size:.88rem;display:flex}.app-banner>span{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.app-banner>svg{color:var(--gold);flex:none}.app-banner img{border-radius:var(--radius);flex:none;width:36px;height:36px}.app-banner .icon-btn{flex:none;width:32px;height:32px}.app-banner.update{z-index:70;left:12px;right:12px;top:calc(var(--safe-t) + 10px);max-width:616px;margin:0 auto;position:fixed;box-shadow:0 6px 24px #00000059}a.menu-row{text-decoration:none}.home-card-search{text-align:left;width:100%;min-height:46px}.page>.sticky-search{top:var(--safe-t);box-shadow:0 -12px 0 var(--bg)}.chips.wrap{flex-wrap:wrap}.recent-cards{flex-direction:column;gap:8px;display:flex}.card-view{flex-direction:column;gap:12px;display:flex}.card-view-img{flex-direction:column;align-items:center;gap:8px;display:flex}.card-view-img img{aspect-ratio:63/88;background:var(--surface-2);border-radius:4.75%/3.4%;width:min(100%,300px);display:block}.card-view-body{flex-direction:column;gap:12px;min-width:0;display:flex}.tag.ok-tag{background:color-mix(in srgb, var(--good) 20%, transparent);color:var(--good);font-weight:700}.card-face+.card-face{border-top:1px solid var(--line);padding-top:10px}.face-head{justify-content:space-between;align-items:center;gap:8px;display:flex}.face-cost{flex:none}.oracle-text{white-space:pre-line;margin:6px 0 0;font-size:.92rem;line-height:1.5}.face-stats{text-align:right;margin-top:6px;font-weight:700}.card-sym{vertical-align:-.17em;width:1.1em;height:1.1em;margin:0 1px}a.btn{color:inherit;text-decoration:none}.errata-card .collapse-head .card-title{flex:0 auto;min-width:0}.errata-pair{flex-direction:column;gap:10px;display:flex}.errata-block{background:var(--surface-2);border-radius:var(--radius);padding:10px 12px}.errata-block .oracle-text{margin:4px 0 0}mark.diff-old,mark.diff-new{color:inherit;border-radius:3px;padding:0 1px}mark.diff-old{background:color-mix(in srgb, var(--bad) 28%, transparent);text-decoration:line-through;-webkit-text-decoration-color:color-mix(in srgb, var(--bad) 70%, transparent);text-decoration-color:color-mix(in srgb, var(--bad) 70%, transparent)}mark.diff-new{background:color-mix(in srgb, var(--good) 28%, transparent)}.ruling-list{flex-direction:column;gap:10px;margin:0;padding:0;list-style:none;display:flex}.ruling-list li+li{border-top:1px solid var(--line);padding-top:10px}.ruling-list p{margin:2px 0 0;font-size:.88rem;line-height:1.45}.collapse-head{text-align:left;align-items:center;gap:10px;width:100%;min-height:28px;display:flex}.collapse-head .card-title{flex:none}.collapse-sum{flex:1;min-width:0}.deck-change{border-top:1px solid var(--line);overflow-wrap:anywhere;flex-direction:column;gap:2px;padding:8px 0;font-size:.88rem;display:flex}.deck-change.tour-mark{border-radius:var(--radius);background:color-mix(in srgb, var(--gold) 12%, transparent);border-top:0;flex-direction:row;align-items:center;gap:8px;margin:4px 0;padding:8px 10px}.tour-mark svg{color:var(--gold);flex:none}.collapse-head .chev{color:var(--muted);margin-left:auto;transition:transform .15s;display:inline-flex}.collapsible.open .collapse-head .chev{transform:rotate(90deg)}.card.collapsible:not(.open){padding-top:9px;padding-bottom:9px}.card.collapsible:not(.open) .collapse-head{min-height:24px}.player-cover{align-self:stretch;place-items:end center;height:190px;margin:0 -16px 28px;display:grid;position:relative}.player-cover-art{opacity:.9;background:top/cover no-repeat;position:absolute;inset:0;-webkit-mask-image:linear-gradient(#000 70%,#0000);mask-image:linear-gradient(#000 70%,#0000)}.player-cover .claim-avatar{background:var(--surface-2);width:96px;height:96px;position:relative;transform:translateY(28px);box-shadow:0 4px 16px #00000080}.player-cover .claim-avatar:not(.claimed){border-style:solid}.signature{text-align:left;width:100%;color:var(--muted);flex-direction:row;align-items:center;gap:12px;padding:10px 12px 10px 10px;display:flex}.signature.plain{padding:0}.signature-art{border-radius:var(--radius);background:var(--surface-2) center top / cover no-repeat;flex:none;width:56px;height:42px}.signature-text{min-width:0;color:var(--text);flex-direction:column;flex:1;gap:2px;display:flex}.badges-box{flex-direction:column;gap:8px;margin-bottom:12px;display:flex}.badges-box>p{margin:0}.badges{flex-wrap:wrap;gap:6px;display:flex}.badge.on{border-color:var(--text)}.badge.gold.on{border-color:var(--gold);box-shadow:0 0 0 1px var(--gold)}.badge-info{border-radius:var(--radius);background:var(--surface);border:1px solid var(--line);padding:10px 12px;font-size:.82rem}.badge-info p{margin:0}.badge-info ul{flex-direction:column;gap:2px;margin:6px 0 0;padding-left:18px;display:flex}.badge{border-radius:var(--radius);background:var(--surface);border:1px solid var(--line);color:var(--text);align-items:center;gap:4px;padding:4px 10px;font-size:.75rem;font-weight:600;display:inline-flex}.badge.gold{background:color-mix(in srgb, var(--gold) 18%, transparent);border-color:color-mix(in srgb, var(--gold) 45%, transparent);color:var(--gold)}.color-bar{border-radius:var(--radius);gap:2px;height:12px;margin:4px 0 10px;display:flex;overflow:hidden}.color-bar span{flex-basis:0}.color-legend{flex-wrap:wrap;gap:6px 14px;font-size:.8rem;font-weight:600;display:flex}.color-legend span{align-items:center;gap:5px;display:inline-flex}.cover-preview{border-radius:var(--radius);background:var(--surface-2) center top / cover no-repeat;height:110px}.art-grid{grid-template-columns:repeat(2,1fr);gap:8px;display:grid}.art-pick{aspect-ratio:4/3;border-radius:var(--radius);background:var(--surface-2) center / cover no-repeat;align-items:flex-end;padding:0;display:flex;position:relative;overflow:hidden}.art-pick span{color:#fff;text-align:left;background:linear-gradient(#0000,#000000bf);width:100%;padding:14px 6px 4px;font-size:.7rem;font-weight:700}.art-pick.on{box-shadow:0 0 0 3px var(--gold)}.event-row.on{border-color:var(--gold)}.home-compact{gap:10px}.home-compact .page-head.brand{min-height:40px}.home-compact .brand .logo{height:40px}.home-compact .brand h1{font-size:1.35rem;line-height:1.1}.home-compact .hero-btn{padding:10px 14px}.home-compact .hero-icon{width:38px;height:38px}.home-compact .card{gap:6px;padding:10px 12px}.home-row{text-align:left;width:100%;min-height:52px;color:var(--text);flex-direction:row;justify-content:space-between;align-items:center}.welcome{border-color:var(--gold);gap:4px}.welcome .brand-kicker{margin-bottom:4px}.welcome-row{text-align:left;min-height:40px;color:var(--text);align-items:center;gap:10px;font-size:.9rem;display:flex}.welcome-row svg:first-child{color:var(--gold)}.welcome-row svg:last-child{color:var(--muted)}.welcome .btn{align-self:flex-end}.home-row .title-live{white-space:nowrap;font-size:.92rem;font-weight:700}.home-row-link{color:var(--text);background:0 0;border:none;align-items:center;gap:8px;padding:0;display:inline-flex}.home-row-link b{font-size:1.1rem}div.home-row>.home-row-link:first-child{flex:1;justify-content:space-between;min-height:44px}div.home-row>.home-row-link.link{border-left:1px solid var(--line);min-height:44px;color:var(--gold);gap:6px;margin-left:12px;padding-left:12px}.cal-date{border:1px solid var(--line-strong);border-radius:var(--radius);background:var(--surface-2);flex-direction:column;flex:none;align-items:center;width:46px;padding:5px 0;display:flex}.cal-date small{font-family:var(--font-mono);letter-spacing:.08em;color:var(--muted);font-size:.62rem}.cal-date b{font-family:var(--font-display);color:var(--text);font-size:1.25rem;line-height:1.1}.event-main>.tag{font-family:var(--font-mono);align-self:flex-start}.cal-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.cal-line{align-items:flex-start;gap:12px;display:flex}.cal-line>svg{color:var(--muted);flex:none;margin-top:2px}.title-actions{align-items:center;gap:10px;display:inline-flex}.seg.icon-seg button{place-items:center;padding:3px 8px;display:grid}.strip{scrollbar-width:none;gap:8px;margin:0 -12px;padding:0 12px;display:flex;overflow-x:auto}.strip-tile{border-radius:var(--radius);background:var(--surface-2) center top / cover no-repeat;text-align:left;flex:1 0 100px;align-items:flex-end;max-width:160px;height:78px;padding:0;display:flex;position:relative;overflow:hidden}.strip-text{color:#fff;background:linear-gradient(#0000,#000c);flex-direction:column;width:100%;padding:16px 7px 5px;font-size:.72rem;font-weight:700;display:flex}.strip-text b{font-size:.75rem}.strip-rank{border-radius:var(--radius);color:#fff;background:#0009;place-items:center;min-width:20px;height:20px;font-size:.7rem;font-weight:800;display:grid;position:absolute;top:4px;left:4px}.icon-btn.info-btn{width:28px;min-width:0;height:28px;color:var(--muted);background:0 0;padding:0}.card.with-info{position:relative}.card.with-info>.info-btn{position:absolute;top:4px;right:4px}.info-sheet{flex-direction:column;gap:14px;padding-bottom:8px;display:flex}.info-sheet h3{margin:0 0 4px;font-size:.92rem}.info-sheet p{color:var(--muted);margin:0;font-size:.85rem;line-height:1.45}.pie{align-items:flex-start;gap:14px;display:flex}.pie-chart{flex:none;position:relative}.pie-chart svg{width:100%;height:100%;display:block}.pie-chart circle{fill:none;stroke-width:18px;cursor:pointer;transition:opacity .15s}.pie-chart circle.dim{opacity:.3}.pie-center{text-align:center;pointer-events:none;flex-direction:column;justify-content:center;align-items:center;padding:0 22%;display:flex;position:absolute;inset:0}.pie-center b{font-size:1.25rem;line-height:1.1}.pie-center span{color:var(--muted);-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:.65rem;line-height:1.2;display:-webkit-box;overflow:hidden}.pie-legend{flex-direction:column;flex:1;min-width:0;margin:0;padding:0;list-style:none;display:flex}.pie-legend button{border-radius:var(--radius);text-align:left;align-items:center;gap:7px;width:100%;padding:4px 6px;font-size:.8rem;display:flex}.pie-legend button.on{background:var(--surface-2)}.pie-legend b{font-variant-numeric:tabular-nums;flex:none}.pie-legend .swatch{border-radius:3px;flex:none;width:10px;height:10px}.pie-legend .chev{color:var(--muted);transition:transform .15s;display:inline-grid;transform:rotate(90deg)}.pie-legend .chev.up{transform:rotate(-90deg)}.pie-note{padding:6px 6px 2px;line-height:1.35}.home-pair,.home-cols,.deck-groups,.stats-filters,.stats-cols,.stats-side,.to-cols,.to-side,.home-tours{display:contents}.rank-tirone{color:var(--rank-tirone)}.rank-legionario{color:var(--rank-legionario)}.rank-decano{color:var(--rank-decano)}.rank-optio{color:var(--rank-optio)}.rank-centurione{color:var(--rank-centurione)}.rank-primipilo{color:var(--rank-primipilo)}.rank-imperatore{color:var(--rank-imperatore)}.rank-legato{color:var(--rank-legato)}.rank-tribuno{color:var(--rank-tribuno)}.rank-icon.grey,.rank-tag.grey,.elo-change.grey{color:var(--muted)}.rank-icon{vertical-align:-2px;flex:none}.rank-tag{letter-spacing:.06em;text-transform:uppercase;white-space:nowrap;align-items:center;gap:4px;font-size:.7rem;font-weight:600;display:inline-flex}.rank-medal{flex:none;display:block}.link-btn{color:var(--gold);font:inherit;cursor:pointer;background:0 0;border:0;align-items:center;gap:5px;padding:6px 0;font-weight:600;display:inline-flex}.elo-head{flex-direction:column;align-items:flex-start;gap:2px;display:flex}.elo-head p{margin:0}.elo-pts small{white-space:nowrap}.elo-delta{font-family:var(--font-mono);font-weight:600}.armoured{flex:none;place-items:center;width:214px;height:214px;margin:-60px 0 -50px;display:grid;position:relative}.armoured>.rank-medal{position:absolute;inset:0}.armoured>.claim-avatar{position:relative}.player-cover .armoured{transform:translateY(28px)}.player-cover:has(.armoured){margin-bottom:72px}.player-cover .armoured>.claim-avatar{width:76px;height:76px;transform:none}.claim-row.armoured-row{text-align:center;flex-direction:column;align-items:center;margin-top:-110px}.claim-row.armoured-row .claim-who{z-index:1;align-items:center;position:relative}.claim-row.armoured-row .claim-name{text-shadow:0 1px 3px var(--bg), 0 0 8px var(--bg)}.elo-big{align-items:baseline;gap:10px;display:flex}.elo-big>b{font:700 2.5rem/1 var(--font-display);letter-spacing:-.02em}.elo-rank-line{width:100%;color:inherit;text-align:left;cursor:pointer;background:0 0;border:0;margin:12px 0 4px;padding:0;display:block}.elo-rank-row{justify-content:space-between;align-items:center;gap:10px;display:flex}.elo-rank-line .rank-tag{font-size:.82rem}.elo-bar{background:var(--line);border-radius:999px;height:4px;margin-top:8px;display:block;overflow:hidden}.elo-bar>span{background:currentColor;border-radius:999px;height:100%;display:block}.rank-bg-tirone{color:var(--rank-tirone)}.rank-bg-legionario{color:var(--rank-legionario)}.rank-bg-decano{color:var(--rank-decano)}.rank-bg-optio{color:var(--rank-optio)}.rank-bg-centurione{color:var(--rank-centurione)}.rank-bg-primipilo{color:var(--rank-primipilo)}.elo-chart{width:100%;margin-top:12px;display:block}.elo-chart .grid{stroke:var(--line)}.elo-chart .axis{fill:var(--muted);font:9px var(--font-mono)}.elo-chart .area{fill:color-mix(in srgb, var(--gold) 12%, transparent)}.elo-chart .line{fill:none;stroke:var(--gold);stroke-width:2px;stroke-linejoin:round}.elo-chart .dot{fill:var(--gold);stroke:var(--surface);stroke-width:2px}.elo-steps{margin:0;padding:0;list-style:none}.elo-steps>li+li{border-top:1px solid var(--line)}.elo-step{width:100%;color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;grid-template-columns:minmax(0,1fr) auto 3.2em;align-items:center;gap:10px;padding:10px 0;display:grid}.elo-step>.mono{text-align:right;font-weight:600}.elo-step-main{flex-wrap:wrap;align-items:center;gap:2px 6px;min-width:0;display:flex}.elo-step-main>.small,.elo-step-main>.elo-change{flex-basis:100%}.castra-tag{color:var(--gold);border-color:color-mix(in srgb, var(--gold) 45%, transparent)}.elo-change{letter-spacing:.06em;text-transform:uppercase;align-items:center;gap:5px;font-size:.72rem;font-weight:600;display:flex}.elo-matches{border-radius:var(--radius);background:var(--surface-2);margin:0 0 10px;padding:4px 10px;list-style:none}.elo-matches>li{grid-template-columns:2em minmax(0,1fr) auto 3.5em;align-items:center;gap:8px;padding:6px 0;display:grid}.elo-matches>li:last-child{display:block}.elo-matches>li>.mono:last-child{text-align:right}.elo-info-item{grid-template-columns:22px minmax(0,1fr);gap:8px;margin:10px 0;line-height:1.45;display:grid}.elo-info-item>svg{color:var(--gold);margin-top:2px}.rank-podium{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.rank-podium-card{min-width:0;font:inherit;text-align:center;cursor:pointer;border-top:3px solid;flex-direction:column;align-items:center;margin:0;padding:4px 4px 10px;display:flex}.rank-podium-card>.rank-medal{margin:-6px 0 -12px}.rank-podium-card>b{width:100%;color:var(--text);margin-top:4px}.rank-ladder>li{grid-template-columns:84px minmax(0,1fr) auto;align-items:center;gap:8px;padding:2px 14px 2px 2px;display:grid}.rank-ladder>li.me{background:color-mix(in srgb, var(--gold) 10%, transparent)}.rank-ladder-text{flex-direction:column;min-width:0;display:flex}.elo-odds{justify-content:space-between;margin-top:8px;font-size:1.4rem;font-weight:600;display:flex}.elo-odds .cmp-a{color:var(--cmp-a)}.elo-odds .cmp-b{color:var(--cmp-b)}.elo-odds-bar{gap:2px;height:10px;margin-top:6px;display:flex}.elo-odds-bar>span{background:var(--cmp-a);border-radius:4px 0 0 4px}.elo-odds-bar>span+span{background:var(--cmp-b);border-radius:0 4px 4px 0;flex-grow:1}.elo-moves{border-radius:var(--radius);background:var(--surface-2);grid-template-columns:minmax(0,1fr) auto auto;gap:8px 14px;margin-top:10px;padding:8px 10px;display:grid}.promotion{text-align:center;flex-direction:column;align-items:center;gap:8px;padding:4px 0 8px;display:flex}.promotion h2{font:700 1.6rem var(--font-display);letter-spacing:-.02em;color:var(--text);margin:-16px 0 0}.promotion p{color:var(--text);margin:0}.promotion .card{text-align:left;align-self:stretch}.promotion .btn{align-self:stretch}@media (width>=1024px){:root{--tabbar-h:0px;--side-w:248px}.app{align-items:flex-start;display:flex}.app main{flex:1;min-width:0;padding:0 24px 32px}.sidenav{width:var(--side-w);background:var(--surface);border-right:1px solid var(--line);flex-direction:column;flex:none;gap:20px;height:100vh;padding:24px 16px;display:flex;position:sticky;top:0;overflow-y:auto}.sidenav .brand-mark{padding:0 6px}.sidenav .brand-kicker{white-space:nowrap;font-size:.7rem}.sidenav-name{font-family:var(--font-display);font-size:1.5rem;font-weight:700;line-height:1.1}.sidenav .hero-btn{gap:12px;padding:10px 12px}.sidenav .hero-icon{border-radius:var(--radius);flex:none;width:36px;height:36px}.sidenav .hero-text strong{font-size:1rem}.sidenav .hero-btn.on{box-shadow:0 0 0 2px var(--gold), 0 6px 18px color-mix(in srgb, var(--red) 25%, transparent)}.sidenav-links{flex-direction:column;flex:1;gap:4px;display:flex}.sidenav-links button,.sidenav-account{border-radius:var(--radius);color:var(--muted);text-align:left;align-items:center;gap:12px;padding:10px 12px;font-weight:600;display:flex}.sidenav-links button:hover,.sidenav-account:hover{background:var(--surface-2);color:var(--text)}.sidenav-links button.on{background:var(--surface-2);color:var(--gold)}.sidenav-account{border:1px solid var(--line);border-radius:var(--radius);color:var(--text);padding:8px 10px;font-size:.9rem}.sidenav-account.on{border-color:var(--gold)}.sidenav-who{flex-direction:column;line-height:1.25;display:flex}.sidenav-who small{color:var(--muted);font-size:.78rem;font-weight:500}.sidenav-account img,.sidenav-account .avatar{object-fit:cover;border-radius:50%;flex:none;width:32px;height:32px}.sidenav-account .avatar:has(svg){background:var(--surface-2);color:var(--muted)}.sheet-backdrop{align-items:center;padding:24px}.sheet{border-radius:var(--radius);max-height:88vh;animation:.15s fade}.life-root{inset:0 0 0 var(--side-w)}.page.home-compact,.page.stats-page{max-width:1120px}.home-compact{gap:14px}.home-pair{grid-auto-columns:minmax(0,1fr);grid-auto-flow:column;gap:14px;display:grid}.home-compact .home-pair .card{padding:16px 20px}.home-pair .home-row{min-height:84px}.home-pair .home-row .title-live{font-size:1rem}.home-pair .home-row-link b{font-size:1.7rem}.home-cols{grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:14px;display:grid}.home-compact .home-cols .card{gap:12px;padding:16px 18px}.home-meta .strip-tile{flex:1 1 0;max-width:none;height:160px}.home-meta .strip-text{padding:28px 10px 8px;font-size:.8rem}.home-meta .mini-list li{padding-top:9px;padding-bottom:9px}.home-decks .strip{grid-template-columns:repeat(2,minmax(0,1fr));display:grid;overflow:visible}.home-decks .strip-tile{max-width:none;height:100px}.wr-bar{display:none}.stats-filters{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.stats-filters .seg.wide{flex:360px;max-width:520px}.stats-filters .filter-row{margin:0}.stats-summary{grid-template-columns:minmax(0,3fr) minmax(0,2fr);align-items:start;gap:12px 16px;display:grid}.stats-summary .play-draw{grid-area:1/2;margin:0}.stats-summary .kv{grid-column:1/-1}.stats-summary:not(:has(.play-draw)) .stats3{grid-column:1/-1}.stats-cols{grid-template-columns:minmax(0,2fr) minmax(0,1fr);align-items:start;gap:16px;display:grid}.stats-cols>.group{grid-area:1/1}.stats-side{flex-direction:column;grid-area:1/2;gap:12px;display:flex}.icon-btn.more-btn{border-radius:var(--radius);width:32px;height:32px;color:var(--muted);flex:none}.icon-btn.more-btn:hover{background:var(--surface-2);color:var(--text)}.split{align-items:flex-start;gap:24px;max-width:1440px;margin:0 auto -32px;display:flex}.split-list{flex:0 420px;min-width:340px;padding-bottom:32px}.split-page{overscroll-behavior:contain;border-left:1px solid var(--line);flex:1;min-width:0;height:100vh;padding-left:8px;position:sticky;top:0;overflow-y:auto}.split-page .page{max-width:960px}.split-page .deck-hero{border-radius:var(--radius)}.split-page .piles{grid-template-columns:repeat(4,minmax(0,1fr))}.split-page .deck-groups.list{columns:2;column-gap:16px;display:block}.split-page .deck-groups.list>.group{break-inside:avoid;margin-bottom:14px}.split-page .card-grid{grid-template-columns:repeat(5,1fr)}.split-empty{min-height:70vh;color:var(--muted);text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:12px;padding:24px;display:flex}.split-empty p{max-width:320px;margin:0}.meta-row:hover{background:color-mix(in srgb, var(--surface-2) 60%, var(--surface))}.meta-row.on{background:var(--surface-2);box-shadow:inset 3px 0 0 var(--gold)}.deck-tile.on{--tile-bg:var(--surface-2);border-color:var(--gold)}.split-page .card-view{grid-template-columns:300px 1fr;align-items:start;gap:24px;display:grid}.split-page .card-view-img{position:sticky;top:72px}.page:has(>.to-cols>.to-side){max-width:1180px}.to-cols:has(>.to-side){grid-template-rows:repeat(10,auto) 1fr;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);align-items:start;column-gap:16px;display:grid}.to-cols.even:has(>.to-side){grid-template-columns:repeat(2,minmax(0,1fr))}.to-cols:has(>.to-side)>*{grid-column:1;margin-bottom:12px}.to-cols>.to-side{flex-direction:column;grid-area:1/2/-1;gap:12px;display:flex}.to-clock b{font-size:3rem}.home-tours{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:14px;display:grid}.home-tours>.playing{order:-1}.home-tours>.home-row{order:1}.home-tours:not(:has(>.home-row:not(.join-row))):not(:has(>section:last-of-type:nth-of-type(odd)))>.join-row{grid-column:1/-1}.home-tours:has(>section:last-of-type:nth-of-type(odd))>.home-row:not(.join-row){grid-column:1/-1}}@media (width>=1360px){.to-tables .card-list{background:0 0;border:0;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid;overflow:visible}.to-tables .event-row{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface)}}@media (width>=1024px){.page.account-page{max-width:1180px}.account-page .profile-card{padding:16px 20px}.account-page .profile-card .profile>img,.account-page .profile-card .profile>.avatar{width:64px;height:64px;font-size:1.6rem}.account-page .profile-card .profile-text strong{font-size:1.2rem}.account-page .profile-card:has(>.btn){flex-direction:row;align-items:center;gap:20px}.account-page .profile-card>.profile{flex:1}.account-page .profile-card>.btn{padding-inline:32px}.profile-stats{text-align:center;flex:0 380px}.profile-stats>span{background:var(--surface-2);border-radius:var(--radius);flex-direction:column;padding:8px 10px;display:flex}.account-cols{grid-template-columns:minmax(300px,380px) minmax(0,1fr);align-items:start;gap:24px;display:grid}.account-menu,.account-body{flex-direction:column;gap:12px;min-width:0;display:flex}.account-menu .menu-card{overflow:hidden}.account-menu .menu-row{width:auto;margin:0 -14px;padding:0 14px}.account-menu .menu-row:hover{background:color-mix(in srgb, var(--surface-2) 60%, var(--surface))}.account-menu .menu-row.on{background:var(--surface-2);box-shadow:inset 3px 0 0 var(--gold)}.account-menu .menu-row.on .menu-label{color:var(--gold)}.account-body{border-left:1px solid var(--line);min-height:60vh;padding-left:24px}.account-body h2{margin:0;font-size:1.3rem}.account-body:not(.admin,.circuit)>:not(h2){max-width:720px}.account-body.circuit{grid-template-columns:repeat(auto-fit,minmax(300px,1fr));align-content:start;align-items:start;gap:16px;display:grid}.account-body.circuit>h2{grid-column:1/-1}}.btn-pair:has(>:nth-child(3)){grid-template-columns:repeat(3,minmax(0,1fr))}.btn-pair:has(>:nth-child(3))>.btn{padding-inline:6px}.btn-pair:has(>:nth-child(3))>.btn svg{display:none}.cmp-top,.cmd-tabs{top:calc(var(--safe-t) + 62px);z-index:9;background:var(--bg);flex-direction:column;gap:12px;margin:0 -16px;padding:0 16px 8px;display:flex;position:sticky}.cmp-decks{align-items:center;gap:4px;display:flex}.cmp-deck{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);flex:1;align-items:center;gap:8px;min-width:0;padding:8px;display:flex}.cmp-deck .pub-cover{width:40px;height:30px;display:none}.cmp-badge{box-sizing:border-box;border-radius:var(--radius);flex:none;place-items:center;width:22px;height:22px;font-size:.75rem;font-weight:700;display:grid}.cmp-badge.a{background:var(--gold);color:var(--on-accent)}.cmp-badge.b{border:1px solid var(--text)}.cmp-sum{justify-content:space-between;padding:0 2px;display:flex}.cmp-group,.cmp-col-head{align-items:center;gap:8px;display:flex}.cmp-group svg{color:var(--muted)}.cmp-col-head{text-transform:uppercase;letter-spacing:.06em;font-size:.82rem;font-weight:700}.cmp-to{color:var(--text)}.cmp-bar{gap:24px}.cmp-bar .mono{margin-left:6px}@media (width>=1024px){.deck-bar{gap:28px;height:44px;margin:0 -16px -32px;padding:0 32px}.deck-bar-info{flex:none}.deck-bar-types{flex:none;gap:22px;margin-left:auto}.cmp-deck .pub-cover{display:block}.cmp-cols{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:24px;display:grid}.cmp-col{flex-direction:column;gap:12px;display:flex}.cmp-bar{flex:1;justify-content:flex-start}}
