:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#10121b;--surface-1:#191c28;--surface-2:#222635;--surface-3:#2c3143;--surface-hover:#34334a;--surface-raised:#242838;--text:#eef0f8;--muted:#b0b7ce;--subtle:#96a1b9;--border:#343b50;--border-strong:#59637b;--accent:#bba1f5;--accent-hover:#cfb9ff;--accent-soft:#302642;--on-accent:#211332;--play:#ff922e;--play-end:#ffca63;--on-play:#301500;--danger:#ff9eb0;--danger-soft:#3b2433;--success:#7dddb0;--success-soft:#19382e;--warning:#efc67d;--warning-soft:#3c3023;--info:#99c6ff;--info-soft:#1e304b;--self:var(--info);--opponent:#f6b489;--overlay:#060912b8;--shadow-color:#0006;--shadow-sm:0 2px 8px var(--shadow-color);--shadow-md:0 10px 32px var(--shadow-color);--shadow-lg:0 24px 72px var(--shadow-color);--focus-ring:var(--accent);--radius-sm:8px;--radius-md:12px;--radius-lg:18px;--panel:var(--surface-1);--panel-solid:var(--surface-1);--primary:var(--accent);--ok:var(--success);--hud-bg:#101523d9;--hud-text:#f6f8ff;--hud-muted:#c0cbe0;--hud-border:#b5c6e540;--chart-1:var(--accent);--chart-2:var(--info);--chart-3:var(--success);--chart-4:var(--warning);--chart-5:var(--opponent);--chart-6:var(--danger)}:root[data-theme=light]{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--bg:#f4f5f9;--surface-1:#fff;--surface-2:#eef0f6;--surface-3:#e3e6ef;--surface-hover:#e9e6f5;--surface-raised:#fff;--text:#202337;--muted:#565e75;--subtle:#5c657b;--border:#d9dce7;--border-strong:#a9b1c5;--accent:#6a43c3;--accent-hover:#5731ab;--accent-soft:#eee7fb;--on-accent:#fff;--play:#ff8a24;--play-end:#ffc14d;--on-play:#301500;--danger:#bc344d;--danger-soft:#ffe9ee;--success:#16764e;--success-soft:#e1f5ec;--warning:#8e5c12;--warning-soft:#fff0d7;--info:#2762ab;--info-soft:#e7f0ff;--opponent:#b7531c;--overlay:#22283b66;--shadow-color:#2c345c1c}:root[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}@media (prefers-color-scheme:light){:root:not([data-theme]){--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--bg:#f4f5f9;--surface-1:#fff;--surface-2:#eef0f6;--surface-3:#e3e6ef;--surface-hover:#e9e6f5;--surface-raised:#fff;--text:#202337;--muted:#565e75;--subtle:#5c657b;--border:#d9dce7;--border-strong:#a9b1c5;--accent:#6a43c3;--accent-hover:#5731ab;--accent-soft:#eee7fb;--on-accent:#fff;--play:#ff8a24;--play-end:#ffc14d;--on-play:#301500;--danger:#bc344d;--danger-soft:#ffe9ee;--success:#16764e;--success-soft:#e1f5ec;--warning:#8e5c12;--warning-soft:#fff0d7;--info:#2762ab;--info-soft:#e7f0ff;--opponent:#b7531c;--overlay:#22283b66;--shadow-color:#2c345c1c}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}:root{--scrollbar-thumb:color-mix(in srgb, var(--muted) 38%, transparent);--scrollbar-hover:color-mix(in srgb, var(--muted) 65%, transparent);--scrollbar-active:var(--accent)}*{scrollbar-width:thin;scrollbar-color:var(--scrollbar-thumb) transparent}@supports selector(::-webkit-scrollbar){*{scrollbar-width:auto;scrollbar-color:auto}::-webkit-scrollbar{width:10px;height:10px}::-webkit-scrollbar-track{background:0 0}::-webkit-scrollbar-thumb{background:var(--scrollbar-thumb) padding-box;border:3px solid #0000;border-radius:999px}::-webkit-scrollbar-thumb:hover{background-color:var(--scrollbar-hover)}::-webkit-scrollbar-thumb:active{background-color:var(--scrollbar-active)}::-webkit-scrollbar-button{width:0;height:0;display:none}::-webkit-scrollbar-corner{background:0 0}}@media (forced-colors:active){*{scrollbar-color:auto}::-webkit-scrollbar-thumb{background-color:canvastext}}:root{--fab-size:44px;--fab-gap:12px;--fab-top:max(var(--fab-gap), env(safe-area-inset-top));--fab-left:max(var(--fab-gap), env(safe-area-inset-left));--fab-right:max(var(--fab-gap), env(safe-area-inset-right));--safe-top:env(safe-area-inset-top,0px);--safe-bottom:env(safe-area-inset-bottom,0px);--safe-height:calc(100dvh - var(--safe-top) - var(--safe-bottom));color:var(--text);font-family:Inter,system-ui,sans-serif}*{box-sizing:border-box}body{background:var(--bg);height:100vh;margin:0;overflow:hidden}#scene{width:100%;height:100%;display:block;position:fixed;inset:0}html{touch-action:manipulation}#scene,#hud{-webkit-user-select:none;user-select:none}#scene iframe{pointer-events:none;border:0;width:100%;height:100%;position:absolute;inset:0}[hidden]{display:none!important}.panel{top:calc(50% + (var(--safe-top) - var(--safe-bottom)) / 2);background:var(--surface-raised);border:1px solid var(--border);width:min(360px,100vw - 32px);box-shadow:var(--shadow-lg);border-radius:20px;flex-direction:column;gap:12px;padding:28px;display:flex;position:fixed;left:50%;transform:translate(-50%,-50%)}h1,h2{text-align:center;margin:0 0 4px}h1{letter-spacing:.08em;font-size:40px}#menu{background:var(--panel-solid)}#scene{z-index:0;isolation:isolate}#result{z-index:30;background:var(--panel-solid);opacity:1;cursor:auto}#match-menu{opacity:1;cursor:auto}#match-menu *{cursor:auto}#match-menu button{cursor:pointer}.match-menu-actions{flex-direction:column;gap:10px;display:flex}#match-menu{border:1px solid var(--border);background:var(--surface-raised);width:min(420px,100vw - 32px);box-shadow:var(--shadow-lg);max-height:calc(var(--safe-height) - 32px);border-radius:22px;padding:28px;overflow-y:auto}#match-menu::backdrop{background:var(--overlay);-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px)}#match-menu .match-menu-heading{justify-content:space-between;align-items:center;margin:0 0 26px;display:flex}.match-menu-brand{letter-spacing:-.03em;font-size:16px;font-weight:800}.match-menu-brand>span{color:var(--accent)}.match-menu-heading kbd{border:1px solid var(--border-strong);color:var(--muted);letter-spacing:.08em;border-bottom-width:3px;border-radius:7px;padding:5px 8px;font:600 10px Inter,system-ui,sans-serif}#match-menu h2{text-align:left;letter-spacing:-.035em;margin:0 0 8px;font-size:28px;font-weight:750}#match-menu .match-menu-live{color:var(--muted);align-items:center;gap:7px;margin:0 0 24px;font-size:12px;display:flex}.match-menu-live>span{background:var(--warning);width:6px;height:6px;box-shadow:0 0 0 3px color-mix(in srgb, var(--warning) 6%, transparent);border-radius:50%}#match-menu .match-menu-players{border:1px solid var(--border-strong);background:var(--surface-1);border-radius:14px;margin:0 0 24px;overflow:hidden}.match-menu-player{justify-content:space-between;align-items:center;gap:12px;padding:16px;display:flex}.match-menu-player+.match-menu-player{border-top:1px solid var(--border-strong)}.match-menu-player>div{flex-direction:column;gap:5px;min-width:0;display:flex}.match-menu-role{color:var(--self);text-transform:uppercase;letter-spacing:.12em;font-size:10px;font-weight:700}.match-menu-player.opponent .match-menu-role{color:var(--opponent)}.match-menu-player strong{overflow-wrap:anywhere;font-size:15px;font-weight:650}.match-menu-rating{color:var(--accent);background:var(--surface-2);border:1px solid var(--border-strong);font-variant-numeric:tabular-nums;border-radius:7px;flex-shrink:0;padding:5px 7px;font-size:11px;font-weight:600}#match-menu .match-menu-actions{margin:0}.match-menu-actions button{border-radius:11px;justify-content:center;align-items:center;gap:8px;min-height:46px;font-size:14px;font-weight:650;display:flex}.match-menu-actions svg{flex-shrink:0;width:19px;height:19px}.match-menu-actions [data-testid=match-resume]{background:var(--accent);border-color:color-mix(in srgb, var(--accent) 55%, transparent);box-shadow:var(--shadow-sm);color:var(--on-accent)}.match-menu-actions [data-testid=match-leave]{color:var(--danger);background:var(--danger-soft);border-color:color-mix(in srgb, var(--danger) 25%, var(--border))}.match-menu-actions button:focus-visible{outline:2px solid var(--focus-ring);outline-offset:3px}@media (max-width:380px){#match-menu{background:var(--surface-raised);box-shadow:var(--shadow-lg);border:1px solid var(--border);padding:22px 18px}.match-menu-player{padding:14px 12px}}.field{color:var(--muted);flex-direction:column;gap:6px;font-size:13px;display:flex}input,select,textarea,button{font:inherit}input,select,textarea{border:1px solid var(--border);background:var(--surface-1);color:var(--text);border-radius:8px;padding:10px 12px}button{border:1px solid var(--border);background:var(--surface-2);color:var(--text);cursor:pointer;border-radius:8px;padding:10px 16px;transition:background-color .15s,border-color .15s,box-shadow .15s}button:hover:not(:disabled){filter:none;border-color:var(--border-strong)}button:disabled{opacity:.5;cursor:not-allowed}button.primary{background:var(--accent);color:var(--on-accent);border-color:#0000;font-weight:600}button:focus-visible{outline:2px solid var(--focus-ring);outline-offset:3px}button.primary:hover:not(:disabled){background:var(--accent-hover)}button.link{color:var(--muted);background:0 0;border:none;text-decoration:underline}.join-row,.code-row{gap:8px;display:flex}.join-row input{text-transform:uppercase;letter-spacing:.2em;flex:1;min-width:0}.error{color:var(--danger);text-align:center;margin:0;font-size:14px}.muted{color:var(--muted)}.label{color:var(--muted);text-align:center;margin:0;font-size:13px}.winner{text-align:center;margin:0;font-size:18px}#result p{text-align:center;margin:0}.code-row{justify-content:center;align-items:center}#lobby{border-color:var(--border);background:var(--surface-raised);width:min(440px,100vw - 32px);box-shadow:var(--shadow-lg);max-height:calc(var(--safe-height) - 32px);border-radius:22px;gap:0;padding:28px;overflow-y:auto}.lobby-heading{text-align:center}.lobby-kicker{color:var(--accent);letter-spacing:.14em;text-transform:uppercase;align-items:center;gap:8px;font-size:11px;font-weight:800;display:inline-flex}.lobby-status-dot{background:var(--accent);width:8px;height:8px;box-shadow:0 0 0 4px color-mix(in srgb, var(--accent) 13%, transparent), 0 0 14px color-mix(in srgb, var(--accent) 30%, transparent);border-radius:50%;animation:1.8s ease-in-out infinite lobby-pulse}.lobby-ranked-label{display:none}#lobby h2{letter-spacing:-.04em;margin:14px 0 8px;font-size:clamp(23px,6vw,29px);font-weight:800}.waiting,.lobby-ranked{color:var(--muted);margin:0;font-size:13px;line-height:1.5}.lobby-invite{border:1px solid var(--border-strong);background:var(--surface-1);border-radius:15px;margin-top:26px;padding:17px}.lobby-invite-heading{align-items:center;gap:11px;margin-bottom:16px;display:flex}.lobby-invite-icon{border:1px solid var(--border-strong);background:var(--surface-3);width:36px;height:36px;color:var(--accent);border-radius:10px;flex:none;place-items:center;font-size:22px;line-height:1;display:grid}.lobby-invite-heading>div{flex-direction:column;gap:3px;display:flex}.lobby-invite-heading strong{font-size:14px}.lobby-invite-heading span:last-child{color:var(--muted);font-size:12px;line-height:1.35}#lobby .code-row{gap:9px}#lobby .room-code{border:1px dashed var(--border-strong);background:var(--surface-1);min-width:0;min-height:48px;color:var(--text);letter-spacing:.13em;overflow-wrap:anywhere;border-radius:10px;flex:1;place-items:center;padding:7px;font-family:ui-monospace,Cascadia Code,monospace;font-size:clamp(18px,5vw,24px);font-weight:750;display:grid}#lobby .code-row button{border-color:color-mix(in srgb, var(--accent) 55%, transparent);background:var(--accent);min-height:48px;color:var(--on-accent);border-radius:10px;flex:none;padding:0 15px;font-size:12px;font-weight:750}#lobby .lobby-leave{color:var(--muted);background:0 0;border:none;align-self:center;margin-top:22px;padding:7px 14px;font-size:13px;font-weight:650}#lobby .lobby-leave:hover{color:var(--text);background:var(--surface-hover)}#lobby button:focus-visible{outline:2px solid var(--focus-ring);outline-offset:3px}@keyframes lobby-pulse{50%{box-shadow:0 0 0 7px color-mix(in srgb, var(--accent) 5%, transparent), 0 0 20px color-mix(in srgb, var(--accent) 30%, transparent)}}@media (prefers-reduced-motion:reduce){.lobby-status-dot{animation:none}}@media (max-width:380px){#lobby{background:var(--surface-raised);border-color:var(--border);box-shadow:var(--shadow-lg);padding:23px 18px}.lobby-invite{padding:14px}}#hud{pointer-events:none;color:var(--hud-text);position:fixed;inset:0}.bars{padding:max(16px, var(--safe-top)) calc(var(--fab-right) + var(--fab-size) + var(--fab-gap)) 16px calc(var(--fab-left) + var(--fab-size) + var(--fab-gap));justify-content:space-between;gap:24px;display:flex}.bar{width:min(360px, calc(50vw - var(--fab-size) - var(--fab-gap) * 2 - 64px));grid-template-columns:1fr auto;grid-template-areas:"name value""track track";gap:4px 8px;display:grid}.bar.opponent{grid-template-columns:auto 1fr;grid-template-areas:"value name""track track"}.bar-name{text-shadow:0 1px 3px var(--hud-bg);grid-area:name;font-weight:600}.bar-value{font-variant-numeric:tabular-nums;text-shadow:0 1px 3px var(--hud-bg);grid-area:value}.bar.opponent .bar-name{text-align:right}.bar-track{background:var(--hud-bg);border:1px solid var(--border);border-color:var(--hud-border);border-radius:8px;grid-area:track;height:16px;overflow:hidden}.bar-fill{width:100%;height:100%;transition:width .15s ease-out}.bar.self .bar-fill{background:color-mix(in srgb, var(--self) 70%, var(--hud-text))}.bar.opponent .bar-track{direction:rtl}.bar.opponent .bar-fill{background:color-mix(in srgb, var(--opponent) 70%, var(--hud-text))}@media (max-width:700px){.bars{padding:calc(var(--fab-top) + var(--fab-size) + var(--fab-gap)) 12px 12px;gap:12px}.bar{width:calc(50vw - 18px)}}.countdown{text-align:center;width:100%;text-shadow:0 4px 16px var(--hud-bg);color:var(--hud-text);font-size:96px;font-weight:800;position:absolute;top:38%}.banner{background:var(--hud-bg);color:var(--hud-text);border:1px solid var(--hud-border);border-radius:8px;padding:8px 14px;position:absolute;top:72px;left:50%;transform:translate(-50%)}.controls-hint{text-align:center;width:100%;color:var(--hud-muted);text-shadow:0 1px 2px var(--hud-bg);font-size:13px;position:absolute;bottom:14px}kbd{border:1px solid var(--border);background:var(--surface-2);border-radius:4px;padding:1px 5px;font-family:inherit}#hud kbd{background:var(--hud-bg);border-color:var(--hud-border);color:var(--hud-text)}dialog{border:1px solid var(--border);background:var(--panel-solid);width:min(440px,100vw - 32px);color:var(--text);box-shadow:var(--shadow-lg);border-radius:20px;padding:24px}dialog:modal{inset-block:var(--safe-top) var(--safe-bottom);max-height:calc(var(--safe-height) - 32px)}dialog::backdrop{background:var(--overlay)}.view-bar,.view-title{display:none}@media (max-width:600px),(max-height:500px),(hover:none) and (pointer:coarse){.view-bar{align-items:center;margin:-8px 0 8px -8px;display:flex}#change-progress>.view-bar{top:max(12px, env(safe-area-inset-top));left:max(12px, env(safe-area-inset-left));z-index:2;margin:0;position:fixed}}@media (hover:none) and (pointer:coarse){.match-menu-heading kbd,.keyboard-only{display:none}}@media (max-width:600px),(max-height:500px){:is(dialog,#match-menu):modal:has(>.view-bar){--sheet-bg:var(--surface-1);width:100%;max-width:none;height:100%;max-height:none;padding:0 max(20px, env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left));background:var(--sheet-bg);box-shadow:none;overscroll-behavior:contain;border:0;border-radius:0;margin:0;animation:.2s ease-out view-in;inset:0;overflow-y:auto}dialog .view-bar,#change-progress>.view-bar{z-index:3;min-height:calc(52px + env(safe-area-inset-top));margin:0 calc(-1 * max(20px, env(safe-area-inset-right))) 20px calc(-1 * max(20px, env(safe-area-inset-left)));padding:env(safe-area-inset-top) max(8px, env(safe-area-inset-right)) 0 max(8px, env(safe-area-inset-left));border-bottom:1px solid var(--border);background:var(--surface-1);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);grid-template-columns:minmax(84px,1fr) auto minmax(84px,1fr);align-items:center;display:grid;position:sticky;top:0}.view-back{justify-self:start}.view-title{min-width:0;max-width:60vw;color:var(--text);text-align:center;text-overflow:ellipsis;white-space:nowrap;font-size:17px;font-weight:700;display:block;overflow:hidden}#change-progress>.view-bar{background:var(--surface-1);margin:0;position:fixed;top:0;left:0;right:0}dialog .view-heading,dialog>.view-eyebrow,#match-menu .match-menu-heading,.change-dialog .change-head{display:none}:is(dialog,#match-menu):modal :is(.season-month,.season-line,.view-intro,.hall-intro){text-align:left}:is([data-testid=player-report-close],[data-testid=feedback-cancel],[data-testid=season-close],[data-testid=prize-pool-close],[data-testid=charities-close],[data-testid=hall-close],[data-testid=patch-notes-close],[data-testid=leaderboard-close],[data-testid=history-close],[data-testid=key-close],[data-testid=notifications-close]){display:none}dialog .dialog-actions:not(:has(>:not([hidden],[data-testid$=-close]:not([data-testid=checkout-close])))){display:none}dialog .dialog-actions{margin-top:20px}dialog .dialog-actions>:is(button,a){flex:1 1 0;min-height:48px}dialog .board-scroll{max-height:none;overflow:visible}dialog :is(.notes-season h3,.board th){top:calc(52px + env(safe-area-inset-top));background:var(--sheet-bg)}}@keyframes view-in{0%{opacity:0;transform:translateY(12px)}}@media (prefers-reduced-motion:reduce){dialog:modal{animation:none!important}}dialog form{flex-direction:column;gap:12px;display:flex}textarea{resize:vertical}.counter{font-variant-numeric:tabular-nums;font-size:12px}.md-label{color:var(--muted);margin:0;font-size:13px}.md-editor{border:1px solid var(--border);background:var(--surface-1);border-radius:12px;flex-direction:column;transition:border-color .15s,box-shadow .15s;display:flex;position:relative;overflow:hidden}.md-editor:focus-within{border-color:color-mix(in srgb, var(--accent) 55%, transparent);box-shadow:0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent)}.md-tools{border-bottom:1px solid var(--border);background:var(--surface-1);flex-wrap:wrap;gap:2px;padding:4px 6px;display:flex}.md-tools button{width:30px;height:28px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:6px;place-items:center;padding:0;display:grid}.md-tools button:hover{background:var(--surface-hover);color:var(--text)}.md-tools svg,.md-foot svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:16px;height:16px}.md-tools circle{fill:currentColor;stroke:none}.md-foot{border-top:1px solid var(--border);color:var(--muted);justify-content:space-between;align-items:center;gap:8px;padding:6px 12px;font-size:12px;display:flex}.md-foot>span:first-child{align-items:center;gap:6px;display:inline-flex}@media (max-width:480px){.md-foot>span:first-child{font-size:11px}}.md-live{min-height:120px}.md-live .cm-editor{max-height:45vh;color:var(--text);background:0 0;font-size:15px}.md-live .cm-editor.cm-focused{outline:none}.md-live .cm-scroller{min-height:120px;font-family:inherit;line-height:1.6}.md-live .cm-content{min-height:inherit;box-sizing:border-box;caret-color:var(--accent);padding:12px 0}.md-live .cm-line{padding:0 14px}.md-live .cm-cursor{border-left:2px solid color-mix(in srgb, var(--accent) 55%, transparent)}.md-live .cm-selectionBackground,.md-live .cm-focused .cm-selectionBackground{background:color-mix(in srgb, var(--accent) 35%, transparent)!important}.md-live .cm-line{position:relative}.md-live .cm-placeholder{color:var(--muted);pointer-events:none;position:absolute;top:0;left:14px;right:14px}.md-live .cm-md-strong{color:var(--text);font-weight:700}.md-live .cm-md-mark,.md-live .cm-md-mark *{font-style:normal;font-weight:400;color:var(--muted)!important}.md-live .cm-md-em{font-style:italic}.md-live .cm-md-strike{color:var(--muted);text-decoration:line-through}.md-live .cm-md-code{background:var(--surface-hover);border-radius:5px;padding:1px 4px;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.88em}.md-live .cm-md-link{color:var(--info);text-decoration:underline;-webkit-text-decoration-color:color-mix(in srgb, var(--info) 40%, transparent);text-decoration-color:color-mix(in srgb, var(--info) 40%, transparent)}.md-live .cm-md-h1,.md-live .cm-md-h2,.md-live .cm-md-h3,.md-live .cm-md-h4,.md-live .cm-md-h5,.md-live .cm-md-h6{color:var(--text);font-weight:700}.md-live .cm-md-h1{font-size:1.55em}.md-live .cm-md-h2{font-size:1.32em}.md-live .cm-md-h3{font-size:1.15em}.md-live .cm-md-quote{border-left:3px solid color-mix(in srgb, var(--accent) 55%, transparent);color:var(--text);margin-left:14px;padding-left:12px}.md-live .cm-md-codeblock{background:var(--surface-1);font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.88em}.md-live .cm-md-bullet{color:var(--accent);font-weight:700}.md-live .cm-md-rule{border-top:1px solid var(--border);vertical-align:middle;width:100%;height:0;display:inline-block}.markdown>:first-child{margin-top:0}.markdown>:last-child{margin-bottom:0}.markdown p,.markdown ul,.markdown ol,.markdown pre,.markdown blockquote,.markdown table{margin:0 0 .6em}.markdown h1,.markdown h2,.markdown h3,.markdown h4,.markdown h5,.markdown h6{margin:.4em 0;font-size:1.05em}.markdown h1{font-size:1.25em}.markdown h2{font-size:1.15em}.markdown ul,.markdown ol{padding-left:1.3em}.markdown a{color:var(--info)}.markdown code{background:var(--surface-hover);border-radius:5px;padding:1px 5px;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.9em}.markdown pre{background:var(--surface-1);border-radius:8px;padding:10px 12px;overflow-x:auto}.markdown pre code{background:0 0;padding:0}.markdown blockquote{border-left:3px solid color-mix(in srgb, var(--accent) 55%, transparent);color:var(--text);padding-left:10px}.markdown table{border-collapse:collapse}.markdown th,.markdown td{border:1px solid var(--border);padding:4px 8px}.markdown hr{border:0;border-top:1px solid var(--border)}.feedback-status{text-align:center;margin:0}a.button{color:var(--on-accent);cursor:pointer;border-radius:10px;justify-content:center;align-items:center;padding:10px 18px;font-weight:600;text-decoration:none;display:inline-flex}a.button.primary{background:var(--primary)}a.button[hidden]{display:none}.feedback-status.ok{color:var(--ok)}.feedback-status.failed{color:var(--danger)}.dialog-actions{justify-content:flex-end;gap:8px;display:flex}dialog>.dialog-actions{margin-top:16px}dialog h2,dialog>p,dialog>div{margin:0 0 12px}.small{font-size:13px}button.danger{background:var(--danger);color:var(--on-accent);border-color:#0000;font-weight:600}.player-summary{text-align:center;margin:0;font-size:13px}.fab{top:var(--fab-top);z-index:20;width:var(--fab-size);height:var(--fab-size);border:1px solid var(--border);background:var(--panel-solid);color:var(--text);box-shadow:var(--shadow-md);cursor:pointer;border-radius:50%;place-items:center;padding:0;display:grid;position:fixed}.fab:hover{background:var(--surface-2)}.fab:focus-visible{outline:2px solid var(--primary);outline-offset:2px}.fab svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;width:22px;height:22px}.fab-left{left:var(--fab-left)}.nav{top:var(--fab-top);z-index:20;position:fixed}.nav .fab{position:relative;top:0;left:0}.nav-button[aria-expanded=true]{background:var(--surface-2);border-color:color-mix(in srgb, var(--accent) 55%, transparent)}.nav-list{top:calc(var(--fab-size) + 8px);border:1px solid var(--border);background:var(--surface-raised);min-width:210px;box-shadow:var(--shadow-lg);transform-origin:0 0;border-radius:14px;flex-direction:column;padding:6px;animation:.14s ease-out nav-open;display:flex;position:absolute;left:0}.nav-list[hidden]{display:none}.nav-list button{color:var(--text);text-align:left;cursor:pointer;background:0 0;border:0;border-radius:10px;align-items:center;gap:12px;padding:10px 12px;font-size:15px;display:flex;position:relative}:is(.nav-list button:hover,.nav-list button:focus-visible){background:var(--surface-hover);outline:none}.nav-list button:has(>.nav-dot:not([hidden])){padding-right:30px}.nav-list>a{color:var(--text);border-radius:10px;align-items:center;gap:12px;padding:10px 12px;font-size:15px;text-decoration:none;display:flex}:is(.nav-list>a:hover,.nav-list>a:focus-visible){background:var(--surface-hover)}.menu-terms{color:var(--muted);text-align:center;margin:3px 0 0;font-size:11px;line-height:1.6}.menu-terms a,.legal-note a{color:var(--accent);text-underline-offset:3px}.nav-list svg{fill:none;width:20px;height:20px;stroke:var(--accent);stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;flex:none}.nav-list span{flex-direction:column;display:flex}.nav-list small{color:var(--muted);font-size:12px}.nav-list small:empty{display:none}.nav-dot{background:var(--accent);width:8px;height:8px;box-shadow:0 0 8px color-mix(in srgb, var(--accent) 30%, transparent);border-radius:50%;margin-top:-4px;position:absolute;top:50%;right:12px}.nav-dot[hidden]{display:none}@keyframes nav-open{0%{opacity:0;transform:scale(.96)translateY(-4px)}}@media (prefers-reduced-motion:reduce){.nav-list{box-shadow:var(--shadow-lg);background:var(--surface-raised);animation:none}}.season-dialog h2{margin-bottom:0}.season-month{text-align:center;margin:2px 0 14px}.season-progress{flex-direction:column;gap:8px;display:flex}.season-bar{gap:3px;height:16px;display:flex}.season-bar span{background:var(--surface-hover);border-radius:4px;flex:1;position:relative;overflow:hidden}.season-bar span.past{background:var(--accent)}.season-bar span.today{background:var(--surface-hover);box-shadow:0 0 0 2px var(--info)}.season-bar span.today:before{content:"";width:var(--done,50%);background:var(--info);position:absolute;inset:0 auto 0 0}.season-bar-labels{justify-content:space-between;font-size:14px;display:flex}.season-bar-labels span{color:var(--muted)}.season-note{margin:12px 0 14px;font-size:13px}.season-cards{grid-template-columns:1fr 1fr;display:grid}@media (max-width:560px){.season-cards{grid-template-columns:1fr}}.season-card{border:1px solid var(--border);border-radius:14px;flex-direction:column;min-width:0;display:flex}.season-card h3{text-transform:uppercase;color:var(--accent);margin:0}.season-card ol{flex-direction:column;flex:1;gap:6px;margin:0;padding:0;list-style:none;display:flex}.season-card li{align-items:center;min-width:0;font-size:14px;display:flex}.season-card li.empty{font-size:13px}.season-top .rank{background:var(--surface-hover);flex:none;place-items:center;font-size:12px;font-weight:700;display:grid}.season-top li:first-child .rank{background:var(--warning-soft);color:var(--warning)}.season-top .name{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;font-weight:600;overflow:hidden}.season-top .rating{font-variant-numeric:tabular-nums;color:var(--muted)}.season-top li.you .name{color:var(--info)}.season-patches .note-badge{text-align:center;text-transform:uppercase;border-radius:999px;flex:none;min-width:56px;padding:2px 6px;font-size:10px;font-weight:700}.season-patches .title{text-overflow:ellipsis;min-width:0;overflow:hidden}.season-patches .undone .title{color:var(--muted);text-decoration:line-through}.season-patches .score{font-variant-numeric:tabular-nums;color:var(--success);flex:none;font-size:12px;font-weight:700}.link-button{color:var(--info);cursor:pointer;background:0 0;border:0;align-self:flex-start;padding:0;font-size:13px}.link-button:hover{text-decoration:underline}.season-pill{top:max(12px, env(safe-area-inset-top));z-index:5;max-width:calc(100vw - 2 * (var(--fab-size) + var(--fab-gap) * 3));border:1px solid color-mix(in srgb, var(--accent) 35%, transparent);background:linear-gradient(110deg, var(--surface-2), var(--surface-1));box-shadow:0 6px 24px color-mix(in srgb, var(--shadow-color) 25%, transparent);text-align:left;border-radius:999px;display:flex;position:fixed;left:50%;transform:translate(-50%)}.season-pill-pool,.season-pill-charity{flex-direction:column;gap:2px;min-width:0;display:flex}.season-pill-pool{flex-shrink:0}.season-pill-pool>span,.season-pill-charity>span{color:var(--text);font-size:11px}.season-pill-pool strong{color:var(--success);font-variant-numeric:tabular-nums;font-size:20px}.season-pill-time{color:var(--accent);white-space:nowrap;flex-shrink:0;padding:6px 12px;font-size:13px}.season-pill-charity strong{text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.season-pill-charity>span:last-child{overflow-wrap:anywhere}.season-pill:focus-visible{outline:2px solid var(--focus-ring);outline-offset:3px}@media (max-width:700px){.season-pill{top:calc(var(--fab-top) + var(--fab-size) + var(--fab-gap));border-radius:22px;gap:10px;width:calc(100vw - 24px);max-width:none;padding:9px 14px}.season-pill-time{padding-inline:8px;font-size:12px}.season-pill-charity{flex:1}}body:has(.season-pill:not([hidden])) #menu{max-height:calc(100dvh - 116px);top:max(104px,50% - 240px);overflow-y:auto;transform:translate(-50%)}.panel>*{flex-shrink:0}@media (max-width:700px){body:has(.season-pill:not([hidden])) #menu{top:max(calc(var(--fab-top) + 144px), calc(50% - 200px));max-height:calc(100dvh - var(--fab-top) - var(--safe-bottom) - 156px)}#menu h1{font-size:clamp(28px,10vw,40px)}}.charities-pool{text-align:center;margin:0;font-size:16px}.charities-pool strong{color:var(--success)}.charities-split{text-align:center}.charities-rule{text-align:center;margin:0 0 10px;font-size:13px}.charities-list{flex-direction:column;margin:0;list-style:none;display:flex;overflow-y:auto}.charity{border:1px solid var(--border);display:flex}.charity.yours{box-shadow:inset 3px 0 0 color-mix(in srgb, var(--accent) 30%, transparent)}.charity-info{flex-direction:column;flex:1;min-width:0;display:flex}.charity-name{color:var(--text);margin:0;font-size:16px;font-weight:700;line-height:1.4;text-decoration:none}.charity-info p{color:var(--muted);margin:0;font-size:13px}.charity-leading{background:var(--success-soft);color:var(--success);text-transform:uppercase;letter-spacing:.04em;border-radius:999px;align-self:flex-start;font-size:10px;font-weight:700}.charity-bar{background:var(--surface-hover);border-radius:999px;overflow:hidden}.charity-bar span{border-radius:inherit;background:var(--success);height:100%;display:block}.charity-side{flex-direction:column;flex:none;align-items:flex-end;display:flex}.charity-votes{color:var(--muted);font-variant-numeric:tabular-nums;font-size:12px}.charity-side button{padding:6px 12px;font-size:13px}.season-prize{border:1px solid color-mix(in srgb, var(--success) 35%, transparent);align-items:center;margin-bottom:12px;display:grid}.season-prize[hidden]{display:none}.season-prize div{flex-direction:column;min-width:0;display:flex}.season-prize small{letter-spacing:.06em;text-transform:uppercase;color:var(--muted);font-size:11px}.season-prize strong{text-overflow:ellipsis;font-size:18px;overflow:hidden}.season-prize div:first-child strong{color:var(--success)}.season-prize span{font-size:12px}@media (max-width:520px){.season-prize{grid-template-columns:1fr 1fr}.season-prize .link-button{grid-column:1/-1}}.season-top .prize{text-align:right;color:var(--success);font-variant-numeric:tabular-nums;flex:none;font-weight:700}.hall-dialog{width:min(640px,100vw - 32px)}.hall-intro{text-align:center;margin:-4px 0 14px;font-size:13px}.hall-body{max-height:min(62vh,620px);padding-right:4px;overflow-y:auto}.hall-empty{text-align:center}.hall-list{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.hall-item{border:1px solid var(--border);background:var(--surface-1);border-radius:12px;transition:border-color .15s;overflow:hidden}.hall-item:hover{border-color:color-mix(in srgb, var(--warning) 45%, transparent)}.hall-item.yours{border-color:color-mix(in srgb, var(--warning) 55%, transparent);box-shadow:0 0 18px -6px color-mix(in srgb, var(--warning) 30%, transparent)}.hall-item.hall-current{border-color:color-mix(in srgb, var(--info) 45%, transparent);background:linear-gradient(135deg, var(--info-soft), var(--surface-1))}.hall-row{width:100%;color:var(--text);text-align:left;cursor:pointer;background:0 0;border:0;border-radius:0;grid-template-columns:minmax(100px,auto) 1fr auto 14px;align-items:center;gap:12px;padding:12px 14px;display:grid}.hall-row:hover{background:var(--surface-hover)}.hall-row:focus-visible{outline:2px solid var(--primary);outline-offset:-2px}.hall-item.open .hall-row{border-bottom:1px solid var(--border)}.hall-chevron{border-right:2px solid var(--muted);border-bottom:2px solid var(--muted);justify-self:center;width:8px;height:8px;margin-top:-4px;transition:transform .15s;transform:rotate(45deg)}.hall-item.open .hall-chevron{margin-top:4px;transform:rotate(-135deg)}.hall-item-body{padding:12px 14px 2px}.hall-item-body[hidden]{display:none}.hall-current-note{margin:0 0 10px}.hall-status.status-current{color:var(--info)}.hall-season{flex-direction:column;display:flex}.hall-season small,.hall-champion small{color:var(--muted);font-size:12px}.hall-champion{align-items:baseline;gap:8px;min-width:0;display:flex}.hall-champion .name{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-weight:700;overflow:hidden}.crown{color:var(--warning)}.hall-status{color:var(--muted);text-align:right;font-size:12px}.hall-status.status-picking,.hall-status.status-building{color:var(--warning)}.hall-status.status-done{color:var(--success)}@media (max-width:520px){.hall-row{grid-template-columns:1fr auto 14px}.hall-status{text-align:left;grid-area:2/1/auto/-1}}.hall-crown{border:1px solid color-mix(in srgb, var(--warning) 40%, transparent);background:linear-gradient(135deg, var(--warning-soft), var(--accent-soft));border-radius:14px;justify-content:center;align-items:center;gap:12px;margin-bottom:14px;padding:12px;display:flex}.hall-crown .crown{font-size:30px}.hall-crown div{flex-direction:column;display:flex}.hall-crown strong{font-size:18px}.hall-crown small{color:var(--muted)}.hall-section{margin-bottom:14px}.hall-section h4{letter-spacing:.04em;text-transform:uppercase;color:var(--accent);margin:0 0 8px;font-size:13px}.hall-section>p{margin:0 0 8px}.hall-picks,.hall-nominations{flex-direction:column;gap:6px;margin:0;padding:0;list-style:none;display:flex}.hall-picks li,.hall-nominations label{border:1px solid var(--border);background:var(--surface-1);border-radius:10px;align-items:center;gap:8px;padding:8px 10px;font-size:14px;display:flex}.hall-picks .note-badge,.hall-nominations .note-badge{text-align:center;text-transform:uppercase;border-radius:999px;flex:none;min-width:56px;padding:2px 6px;font-size:10px;font-weight:700}.hall-picks .title,.hall-nominations .title{overflow-wrap:anywhere;flex:1;min-width:0}.pick-result{color:var(--success);flex:none;font-size:12px}.result-pending .pick-result{color:var(--warning)}.result-failed .pick-result{color:var(--danger)}.result-failed .title{color:var(--muted)}.hall-nominations label{cursor:pointer}.hall-nominations label:has(input:checked){border-color:color-mix(in srgb, var(--warning) 55%, transparent);background:var(--warning-soft)}.hall-nominations input{width:18px;height:18px;accent-color:var(--warning)}.hall-nominations .rank{width:18px;color:var(--muted);text-align:center;font-size:12px}.hall-nominations .score{color:var(--success);font-size:12px;font-weight:700}.hall-picker>button{width:100%;margin-top:10px}.hall-prizes{flex-direction:column;gap:6px;margin:0;padding:0;list-style:none;display:flex}.hall-prizes li{border:1px solid var(--border);background:var(--surface-1);border-radius:10px;grid-template-columns:32px 1fr auto auto;align-items:center;gap:10px;padding:8px 10px;font-size:14px;display:grid}.hall-prizes li.charity{border-color:color-mix(in srgb, var(--success) 45%, transparent)}.hall-prizes .place{color:var(--warning);text-align:center;font-weight:700}.hall-prizes .charity .place{color:var(--accent)}.hall-prizes .name{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.hall-prizes .amount{color:var(--success);font-variant-numeric:tabular-nums;font-weight:700}.hall-prizes .state{color:var(--muted);font-size:12px}.hall-prizes .prize-paid .state{color:var(--success)}.hall-your-prize{border:1px solid color-mix(in srgb, var(--success) 55%, transparent);background:linear-gradient(135deg, var(--success-soft), var(--warning-soft));border-radius:14px;margin-bottom:14px;padding:12px 14px}.hall-your-prize strong{color:var(--success);font-size:16px}.hall-your-prize p{margin:6px 0 4px;font-size:14px}.hall-your-prize small{color:var(--muted)}.claim-code{background:var(--surface-1);letter-spacing:.12em;color:var(--text);-webkit-user-select:all;user-select:all;border-radius:6px;padding:2px 8px;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:15px}.prize-claim{border:1px solid var(--border);background:var(--surface-1);border-radius:12px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px 16px;margin:16px 0 12px;padding:14px 16px;display:grid}.claim-label{letter-spacing:.09em;text-transform:uppercase;color:var(--muted);grid-column:1/-1;font-size:10px}.prize-claim .claim-code{min-width:0;color:var(--accent);overflow-wrap:anywhere;background:0 0;padding:0;line-height:1.6}.prize-claim:not(.revealed) .claim-code{-webkit-user-select:none;user-select:none;color:var(--muted)}.prize-claim .claim-reveal{white-space:nowrap;background:var(--surface-2);min-height:38px;color:var(--accent);border-radius:8px;margin:0;padding:8px 12px;font-size:12px}.claim-reveal:focus-visible{outline:2px solid var(--focus-ring);outline-offset:3px}.note .rating{flex-direction:column;flex:none;align-items:center;gap:0;margin-left:auto;display:flex}.rating button{width:28px;height:22px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:6px;place-items:center;padding:0;display:grid}.rating button:hover:not(:disabled){background:var(--surface-hover);color:var(--text)}.rating button:disabled{opacity:.4;cursor:default}.rating svg{fill:none;stroke:currentColor;stroke-width:2.4px;stroke-linecap:round;stroke-linejoin:round;width:18px;height:18px}.rating-score{font-variant-numeric:tabular-nums;color:var(--text);font-size:13px;font-weight:700}.rating[data-yours="1"] .rating-up,.rating[data-yours="1"] .rating-score{color:var(--success)}.rating[data-yours="-1"] .rating-down,.rating[data-yours="-1"] .rating-score{color:var(--danger)}.fab-right{right:var(--fab-right)}.user-nav .nav-list{transform-origin:100% 0;width:max-content;min-width:0;max-width:calc(100vw - 24px);left:auto;right:0}.nav-list .discord-connect svg{fill:var(--accent);stroke:none}.nav-list .discord-connect:hover{background:var(--accent-soft)}.discord-dialog{border-color:color-mix(in srgb, var(--accent) 45%, transparent);width:min(460px,100vw - 32px)}.activity-party{border:1px solid color-mix(in srgb, var(--accent) 55%, transparent);background:var(--accent-soft);border-radius:12px;margin-bottom:12px;padding:12px}.activity-party [data-testid=activity-play]{background:var(--accent);width:100%;color:var(--on-accent)}.menu.searching .activity-party{display:none}.discord-actions{flex-wrap:wrap;gap:8px;display:flex}.discord-actions button:first-child{background:var(--accent);color:var(--on-accent)}.history-dialog{width:min(620px,100vw - 32px)}.notifications-dialog{width:min(520px,100vw - 32px)}.notice-list{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.notice-row{border:1px solid var(--border);background:var(--surface-2);width:100%;color:var(--text);font:inherit;text-align:left;border-radius:12px;align-items:center;gap:12px;margin:0;padding:12px;display:flex}button.notice-row{cursor:pointer}@media (hover:hover){button.notice-row:hover{border-color:color-mix(in srgb, var(--accent) 45%, transparent);background:var(--surface-3)}}.notice.unread .notice-row{border-color:color-mix(in srgb, var(--accent) 55%, transparent);box-shadow:inset 3px 0 0 color-mix(in srgb, var(--accent) 30%, transparent)}.notice-icon{background:var(--accent);width:28px;height:28px;color:var(--on-accent);border-radius:50%;flex:none;place-items:center;font-size:13px;font-weight:800;display:grid}.notice[data-kind=error] .notice-icon{background:var(--danger);color:var(--on-accent)}.notice[data-kind=change] .notice-icon{background:var(--accent-soft);color:var(--accent)}.notice-body{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.notice-message{overflow-wrap:anywhere;font-size:14px;line-height:1.4}.notice-time{color:var(--muted);font-size:12px}.notice-open{color:var(--accent);flex:none;font-size:22px;line-height:1}.notice-empty{text-align:center;margin:8px 0 0}.history-list{gap:12px;display:grid}.history-match{border:1px solid var(--border);background:var(--surface-1);border-radius:12px;padding:14px}.history-meta{color:var(--muted);margin:0 0 10px;font-size:12px}.history-player{grid-template-columns:minmax(0,1fr) auto 68px;align-items:center;gap:10px;padding:7px 0;display:grid}.player-history-link{overflow-wrap:anywhere;text-align:left;min-width:0;font-weight:600}button.player-history-link{color:var(--accent);text-underline-offset:3px;background:0 0;border:0;border-radius:3px;padding:3px 0;text-decoration:underline}button.player-history-link:hover{color:var(--accent)}button.player-history-link:focus-visible{outline:2px solid var(--primary);outline-offset:3px}.history-health{font-variant-numeric:tabular-nums;color:var(--muted);white-space:nowrap;font-size:12px}.history-result{text-align:right;font-size:12px;font-weight:700}.history-result.win{color:var(--success)}.history-result.loss{color:var(--danger)}.history-result.draw,.history-result.cancelled{color:var(--muted)}.result-players{border-block:1px solid var(--border);padding:5px 0}.result-players:empty{display:none}.result-history-hint{font-size:12px}#result{max-height:calc(var(--safe-height) - 100px);overflow-y:auto}@media (max-width:420px){.history-player{grid-template-columns:minmax(0,1fr) auto 58px;gap:6px}.history-match{padding:10px}}dialog h3{margin:16px 0 8px;font-size:15px}.profile-name{font-size:18px;font-weight:600}.profile-stats{grid-template-columns:repeat(3,1fr);margin:0 0 4px;display:grid}.profile-stats div{border:1px solid var(--border);text-align:center}.profile-stats dt{color:var(--muted);font-size:12px}.profile-stats dd{font-variant-numeric:tabular-nums;margin:4px 0 0;font-weight:700}.rating-change{text-align:center;margin:0;font-weight:600}.rating-change.up{color:var(--ok)}.rating-change.down{color:var(--danger)}.rating-change.none{color:var(--muted);font-size:13px;font-weight:400}#leaderboard{width:min(520px,100vw - 32px)}.board-scroll{max-height:min(50vh,420px);overflow-y:auto}.board{border-collapse:collapse;font-variant-numeric:tabular-nums;width:100%;font-size:14px}.board th{background:var(--panel);color:var(--muted);text-align:left;border-bottom:1px solid var(--border);padding:6px 8px;font-weight:500;position:sticky;top:0}.board td{border-bottom:1px solid var(--border);padding:6px 8px}.board td:first-child,.board th:first-child{width:2.5em;color:var(--muted)}.board td.name{text-overflow:ellipsis;white-space:nowrap;max-width:180px;overflow:hidden}.board tr.you td{background:var(--info-soft)}.key-row{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.key{border:1px solid var(--border);background:var(--surface-1);letter-spacing:.06em;overflow-wrap:anywhere;border-radius:8px;flex:auto;min-width:0;padding:8px 10px;font-size:15px}.key-use{border-top:1px solid var(--border);padding-top:12px}.key-use input{letter-spacing:.04em;text-transform:uppercase;font-family:ui-monospace,monospace}.key-change .confirm{flex-wrap:wrap;align-items:center;gap:8px;margin-top:8px;display:flex}.key-change .confirm p{flex-basis:100%;margin:0}.timer{top:var(--fab-top);background:var(--hud-bg);border:1px solid var(--border);font-variant-numeric:tabular-nums;color:var(--hud-text);border-color:var(--hud-border);border-radius:8px;padding:4px 14px;font-size:24px;font-weight:700;position:absolute;left:50%;transform:translate(-50%)}.game-info{background:var(--hud-bg);white-space:pre-line;text-align:center;color:var(--hud-text);border:1px solid var(--hud-border);border-radius:8px;padding:6px 12px;font-size:14px;position:absolute;bottom:44px;left:50%;transform:translate(-50%)}@media (max-width:700px){.banner{background:var(--hud-bg);color:var(--hud-text);border:1px solid var(--hud-border);top:124px}}@property --hero-angle{syntax:"<angle>";inherits:false;initial-value:0deg}@keyframes hero-spin{to{--hero-angle:360deg}}@keyframes pulse{0%{box-shadow:0 0 0 0 color-mix(in srgb, var(--accent) 30%, transparent)}to{box-shadow:0 0 0 12px #0000}}.hero-change{isolation:isolate;border:1px solid color-mix(in srgb, var(--accent) 30%, var(--border));background:linear-gradient(120deg, var(--accent-soft), var(--surface-1));width:100%;color:var(--text);text-align:left;box-shadow:var(--shadow-sm);border-radius:14px;align-items:center;gap:14px;padding:14px 16px;transition:background-color .15s,border-color .15s;display:flex;position:relative;overflow:hidden}.hero-change:hover:not(:disabled){filter:none;box-shadow:var(--shadow-md);border-color:var(--accent);transform:none}.hero-change:focus-visible{outline:2px solid var(--focus-ring);outline-offset:3px}.hero-text{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.hero-text strong{color:var(--text);background:0 0;font-size:17px}.hero-icon{background:var(--accent-soft);width:38px;height:38px;box-shadow:none;border-radius:10px;flex:none;place-items:center;display:grid}.hero-icon svg{fill:none;width:24px;height:24px;color:var(--accent);animation:none}.hero-arrow{color:var(--accent);font-size:18px;transition:transform .2s}.hero-change:hover .hero-arrow{transform:translate(3px)}.hero-change.compact{padding:10px 14px}.find-match{background:linear-gradient(120deg, var(--play), var(--play-end));width:100%;color:var(--on-play);text-align:left;isolation:isolate;box-shadow:var(--shadow-sm), 0 5px 22px color-mix(in srgb, var(--play) 28%, transparent);border:0;border-radius:16px;align-items:center;gap:14px;padding:16px 18px;transition:transform .18s,box-shadow .18s;display:flex;position:relative;overflow:hidden}.find-match:after{content:"";z-index:-1;pointer-events:none;background:linear-gradient(110deg, transparent 25%, color-mix(in srgb, var(--on-play) 10%, transparent) 50%, transparent 75%);animation:8s ease-in-out infinite find-match-sheen;position:absolute;inset:0;transform:translate(-100%)}.find-match:hover:not(:disabled){box-shadow:var(--shadow-md), 0 7px 28px color-mix(in srgb, var(--play) 40%, transparent);filter:none;transform:translateY(-1px)}.find-match:active:not(:disabled){box-shadow:var(--shadow-sm);transform:translateY(0)}.find-match:focus-visible{outline:2px solid var(--focus-ring);outline-offset:3px}.find-match:disabled{filter:grayscale(.6)brightness(.8);box-shadow:none;animation:none}.find-match:disabled:after{animation:none}@keyframes find-match-sheen{0%,65%{transform:translate(-100%)}90%,to{transform:translate(100%)}}.find-icon{background:color-mix(in srgb, var(--on-play) 14%, transparent);border-radius:12px;flex:none;place-items:center;width:44px;height:44px;display:grid}.find-icon img{object-fit:contain;width:44px;height:44px;display:block}.find-text{flex-direction:column;gap:1px;display:flex}.find-text strong{letter-spacing:-.02em;text-shadow:none;font-size:21px}.find-text small{color:var(--on-play);font-size:12px;font-weight:600}.play-friend{text-align:center;margin:2px 0 -4px}#menu.searching>:not(h1):not(.search){display:none!important}.search{text-align:center;flex-direction:column;align-items:center;gap:6px;padding:6px 0 2px;display:flex}.search[hidden]{display:none}.search h2{margin:6px 0 0;font-size:20px}.search-time{font-variant-numeric:tabular-nums;color:var(--text);background:0 0;margin:0;font-size:34px;font-weight:800}.search-range{color:var(--warning);margin:2px 0 0;font-size:14px;font-weight:600}.search p{margin:0}.search button{min-width:140px;margin-top:8px}.search-bar{background:var(--surface-hover);border-radius:999px;width:100%;height:10px;margin-top:6px;position:relative}.search-window{background:linear-gradient(90deg, color-mix(in srgb, var(--danger) 50%, transparent), color-mix(in srgb, var(--warning) 90%, transparent), color-mix(in srgb, var(--danger) 50%, transparent));border-radius:999px;width:10%;transition:width .6s cubic-bezier(.2,.8,.2,1);position:absolute;top:0;bottom:0;left:50%;transform:translate(-50%)}.search-you{background:var(--text);width:3px;box-shadow:none;border-radius:2px;margin-left:-1.5px;position:absolute;top:-4px;bottom:-4px;left:50%}.radar{place-items:center;width:110px;height:110px;display:grid;position:relative}.radar span{border:2px solid color-mix(in srgb, var(--accent) 55%, transparent);opacity:0;border-radius:50%;animation:2.4s ease-out infinite radar-ping;position:absolute;inset:0}.radar span:nth-child(2){animation-delay:.8s}.radar span:nth-child(3){animation-delay:1.6s}.radar-core{width:64px;height:64px;filter:drop-shadow(0 0 12px color-mix(in srgb, var(--accent) 30%, transparent));animation:1.2s ease-in-out infinite radar-beat}.radar-core img{width:100%;height:100%;display:block}.search[data-state=found] .radar span{opacity:0;animation:none}.search[data-state=found] .radar-core{filter:drop-shadow(0 0 16px color-mix(in srgb, var(--warning) 30%, transparent));animation:none;transform:scale(1.12)}.search[data-state=found] h2{color:var(--warning)}@keyframes radar-ping{0%{opacity:.9;transform:scale(.45)}to{opacity:0;transform:scale(1.35)}}@keyframes radar-beat{50%{transform:scale(1.07)}}@media (prefers-reduced-motion:reduce){.find-match,.find-match:after,.radar span,.radar-core{animation:none!important}}.lobby-ranked{display:none}#lobby.ranked .lobby-ranked{display:block}#lobby.ranked .lobby-private-label,#lobby.ranked .waiting,#lobby.ranked .lobby-invite{display:none}#lobby.ranked .lobby-ranked-label{display:inline}#lobby.ranked .lobby-heading{padding:15px 0 8px}.change-dialog{border-color:var(--border);width:min(520px,100vw - 32px);box-shadow:var(--shadow-lg)}.change-head{align-items:center;gap:14px;display:flex}.change-head h2{text-align:left;margin:0 0 4px}.change-head p{margin:0}button.make-it{background:var(--accent);box-shadow:var(--shadow-sm);color:var(--on-accent)}@keyframes aurora{0%{transform:translate(-4%,-3%)rotate(0)}to{transform:translate(4%,3%)rotate(10deg)}}@keyframes seg-flow{0%{background-position:0 0}to{background-position:200% 0}}@keyframes shimmer{0%{transform:translate(-100%)}to{transform:translate(100%)}}@keyframes confetti{0%{opacity:1;transform:translate(-50%)rotate(0)}40%{transform:translate(calc(-50% + var(--x) * .6), var(--y)) rotate(calc(var(--r) * .5));opacity:1}to{transform:translate(calc(-50% + var(--x)), 70vh) rotate(var(--r));opacity:0}}#change-progress{z-index:40;padding:max(24px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));background:var(--surface-1);place-items:center;display:grid;position:fixed;inset:0;overflow:hidden auto}.cp-aurora{pointer-events:none;background:radial-gradient(40% 35% at 20% 25%, var(--info-soft), transparent 70%), radial-gradient(45% 40% at 80% 30%, var(--accent-soft), transparent 70%), radial-gradient(50% 45% at 50% 90%, var(--warning-soft), transparent 70%);filter:blur(12px);animation:16s ease-in-out infinite alternate aurora;position:fixed;inset:-20%}.cp-content{text-align:center;flex-direction:column;align-items:center;gap:14px;width:min(760px,100%);display:flex;position:relative}.cp-eyebrow{letter-spacing:.18em;text-transform:uppercase;color:var(--accent);margin:0;font-size:12px}.cp-quote{border-left:3px solid color-mix(in srgb, var(--accent) 55%, transparent);background:var(--surface-1);width:min(600px,100%);max-height:9.5em;color:var(--text);text-align:left;overflow-wrap:anywhere;border-radius:0 10px 10px 0;margin:0;padding:10px 14px;font-size:16px;line-height:1.45;overflow-y:auto}.cp-orb{width:190px;height:190px;margin:4px 0;position:relative}.cp-orb:before{content:"";background:conic-gradient(from var(--hero-angle), transparent, color-mix(in srgb, var(--accent) 45%, transparent), color-mix(in srgb, var(--info) 35%, transparent), transparent);filter:blur(14px);border-radius:50%;animation:3s linear infinite hero-spin;position:absolute;inset:12px}.cp-orb svg{width:100%;height:100%;position:relative;overflow:visible;transform:rotate(-90deg)}.cp-ring-track{fill:none;stroke:var(--muted);stroke-width:8px}.cp-ring{fill:none;stroke:url(#cp-gradient);stroke-width:8px;stroke-linecap:round;stroke-dasharray:100;stroke-dashoffset:100px;filter:drop-shadow(0 0 8px color-mix(in srgb, var(--accent) 30%, transparent));transition:stroke-dashoffset .6s}.cp-orb-center{flex-direction:column;justify-content:center;align-items:center;gap:2px;display:flex;position:absolute;inset:0}.cp-percent{font-variant-numeric:tabular-nums;color:var(--text);background:0 0;font-size:44px;font-weight:800}.cp-orb-label{color:var(--muted);font-variant-numeric:tabular-nums;font-size:13px}.cp-title{margin:0;font-size:30px}.cp-detail{max-width:560px;color:var(--text);overflow-wrap:anywhere;margin:0}.cp-track{gap:6px;width:100%;margin:8px 0 0;padding:0;list-style:none;display:flex}.cp-track li{flex-direction:column;flex:1;gap:6px;min-width:0;display:flex}.cp-seg{background:var(--surface-hover);border-radius:999px;height:10px;position:relative;overflow:hidden}.cp-seg-fill{border-radius:inherit;background:linear-gradient(90deg, var(--info), var(--accent));width:0;height:100%;transition:width .4s linear}.cp-track li.done .cp-seg-fill{box-shadow:0 0 10px color-mix(in srgb, var(--accent) 30%, transparent)}.cp-track li.active .cp-seg-fill{background:linear-gradient(90deg, var(--info), var(--accent), var(--warning), var(--info));background-size:200% 100%;animation:1.4s linear infinite seg-flow}.cp-track li.active .cp-seg:after{content:"";background:linear-gradient(90deg, transparent, color-mix(in srgb, var(--on-accent) 25%, transparent), transparent);animation:1.6s ease-in-out infinite shimmer;position:absolute;inset:0}.cp-track li.stopped .cp-seg{background:var(--surface-hover)}#change-progress[data-stage=failed] .cp-content>.cp-track li.stopped .cp-seg,#change-progress[data-stage=reverted] .cp-content>.cp-track li.stopped .cp-seg{background:color-mix(in srgb, var(--danger) 40%, transparent)}.cp-seg-label{color:var(--muted);white-space:nowrap;text-overflow:ellipsis;font-size:12px;font-weight:600;overflow:hidden}.cp-track li.done .cp-seg-label,.cp-track li.active .cp-seg-label{color:var(--text)}.cp-seg-time{color:var(--muted);font-variant-numeric:tabular-nums;font-size:11px}.cp-items{text-align:left;flex-direction:column;gap:14px;width:100%;margin:0;padding:0;list-style:none;display:flex}.cp-item{border:1px solid var(--border);background:var(--surface-1);border-radius:12px;padding:10px 12px}.cp-item-head{align-items:center;gap:16px;display:flex}.cp-item-heading{min-width:0}.cp-item .cp-item-orb{flex:none;width:88px;height:88px;margin:0}.cp-item .cp-percent{font-size:23px}.cp-item .cp-ring{stroke:var(--accent)}.cp-item-title{margin:0 0 6px;font-size:16px}.cp-item-timing{color:var(--muted);margin:12px 0 0;font-size:12px}.cp-item[data-stage=failed] .cp-ring,.cp-item[data-stage=reverted] .cp-ring{stroke:var(--danger)}.cp-item[data-stage=live] .cp-ring{stroke:var(--ok)}.cp-item[data-stage=failed] .cp-track li.stopped .cp-seg,.cp-item[data-stage=reverted] .cp-track li.stopped .cp-seg{background:color-mix(in srgb, var(--danger) 40%, transparent)}.cp-item-title{overflow-wrap:anywhere;min-width:0;font-weight:600}.cp-item-stage{color:var(--muted);font-variant-numeric:tabular-nums;flex:none;font-size:12px}.cp-item-summary{color:var(--muted);overflow-wrap:anywhere;margin:6px 0 0;font-size:12px}.cp-item-summary:empty{display:none}.cp-item[data-stage=live]{border-color:color-mix(in srgb, var(--success) 40%, transparent)}.cp-item[data-stage=live] .cp-item-stage{color:var(--ok)}.cp-times{justify-content:center;gap:10px;width:100%;display:flex}.cp-times span{border:1px solid var(--border);background:var(--surface-1);border-radius:12px;flex-direction:column;flex:1;gap:2px;max-width:180px;padding:10px;display:flex}.cp-times small{letter-spacing:.1em;text-transform:uppercase;color:var(--muted);font-size:11px}.cp-times strong{font-variant-numeric:tabular-nums;font-size:20px}#change-progress[data-stage=awaiting_payment] :is(.cp-track,.cp-times),#change-progress[data-stage=not_paid] :is(.cp-track,.cp-times,.cp-basis){display:none}.cp-basis{max-width:520px;color:var(--muted);margin:0;font-size:12px}.cp-actions button{min-width:180px}#change-progress[data-stage=live] .cp-title{background:linear-gradient(90deg, var(--info), var(--accent), var(--warning));color:#0000;background-clip:text}#change-progress[data-stage=live] .cp-content>.cp-orb .cp-ring{filter:drop-shadow(0 0 14px color-mix(in srgb, var(--warning) 30%, transparent))}#change-progress[data-stage=failed] .cp-content>.cp-orb .cp-ring,#change-progress[data-stage=reverted] .cp-content>.cp-orb .cp-ring{stroke:var(--danger);filter:none}#change-progress[data-stage=no_change] .cp-content>.cp-orb .cp-ring,#change-progress[data-stage=duplicate] .cp-content>.cp-orb .cp-ring{stroke:var(--muted);filter:none}#change-progress[data-offline=true] .cp-ring{opacity:.35}#change-progress[data-offline=true] .cp-orb:before{opacity:.3;animation:none}.cp-confetti{pointer-events:none;position:fixed;inset:0;overflow:hidden}.cp-confetti span{width:8px;height:12px;animation:confetti var(--d) cubic-bezier(.15, .7, .3, 1) forwards;border-radius:2px;position:absolute;top:42%;left:50%}@media (max-width:600px){#change-progress{padding-bottom:0}.cp-content{gap:12px}.cp-quote{max-height:calc(7.25em + 20px);font-size:15px}.cp-orb{width:128px;height:128px}.cp-percent{color:var(--text);background:0 0;font-size:30px}.cp-title{font-size:22px}.cp-detail{font-size:15px}.cp-track{flex-direction:column;gap:8px;margin-top:4px}.cp-track li{grid-template-columns:92px 1fr 48px;align-items:center;column-gap:10px;display:grid}.cp-track li .cp-seg{grid-area:1/2;height:8px}.cp-track li .cp-seg-label{text-align:left;grid-area:1/1}.cp-track li .cp-seg-time{text-align:right;grid-area:1/3}.cp-times{gap:8px}.cp-times span{padding:8px}.cp-times strong{font-size:17px}.cp-actions{z-index:1;width:100%;padding:16px 0 max(16px, env(safe-area-inset-bottom));background:linear-gradient(transparent, var(--surface-1) 18px);position:sticky;bottom:0}.cp-actions>:is(button,a){flex:140px;min-width:0}.cp-actions>[data-testid=change-progress-pay]{flex-basis:100%;order:-1}}@media (max-width:600px),(max-height:500px){#change-progress{padding-top:calc(env(safe-area-inset-top) + 68px)}}@media (prefers-reduced-motion:reduce){.hero-change:before,.hero-icon svg,.cp-aurora,.cp-orb:before,.cp-track li.active .cp-seg-fill,.cp-track li.active .cp-seg:after{animation:none!important}}.fab-dot{border:2px solid var(--panel-solid);background:var(--accent);width:10px;height:10px;box-shadow:0 0 8px color-mix(in srgb, var(--accent) 30%, transparent);border-radius:50%;position:absolute;top:6px;right:6px}.season-line{color:var(--accent);margin:0 0 12px;font-size:13px}.last-season{border:1px solid color-mix(in srgb, var(--warning) 30%, transparent);background:var(--warning-soft);border-radius:12px;margin-top:12px;padding:10px 12px}.last-season h3{color:var(--warning);margin:0 0 6px;font-size:13px}.last-season ol{flex-direction:column;gap:4px;margin:0;padding-left:22px;font-size:14px;display:flex}.last-season li span.name{margin-right:8px;font-weight:600}.notes-scroll{padding-right:4px;overflow-y:auto}.notes-season h3{z-index:1;background:var(--panel-solid);margin:0;padding:8px 0;font-size:15px;position:sticky;top:0}.notes-season h3 small{color:var(--muted);margin-left:6px;font-weight:400}.notes-season ol{flex-direction:column;list-style:none;display:flex}.note{border:1px solid var(--border);background:var(--surface-1);border-radius:10px;align-items:flex-start;gap:10px;padding:10px 12px;display:flex}.note-badge{letter-spacing:.04em;text-align:center;text-transform:uppercase;border-radius:999px;flex:none;min-width:64px;padding:3px 8px;font-size:11px;font-weight:700}.note-body{flex:1;min-width:0}.note-body p{overflow-wrap:anywhere;margin:0}.note-tuning{font-variant-numeric:tabular-nums;color:var(--info);font-size:13px;margin-top:2px!important}.note-meta{color:var(--muted)}.kind-feature .note-badge{background:var(--accent-soft);color:var(--accent)}.kind-balance .note-badge{background:var(--info-soft);color:var(--info)}.kind-fix .note-badge{background:var(--success-soft);color:var(--success)}.kind-undo .note-badge,.note.undone .note-badge{background:var(--danger-soft);color:var(--danger)}.note.undone .note-title{color:var(--muted);text-decoration:line-through}.kind-season{border-color:color-mix(in srgb, var(--warning) 45%, transparent);background:linear-gradient(135deg, var(--warning-soft), var(--accent-soft))}.kind-season .note-badge{background:var(--warning-soft);color:var(--warning)}.kind-permanent{border-color:color-mix(in srgb, var(--success) 45%, transparent)}.kind-permanent .note-badge{background:var(--success-soft);color:var(--success)}.vote-rule{color:var(--muted);margin:-6px 0 12px;font-size:12px}.vote{border:1px solid var(--border)}.vote p{margin:0}.vote-bar{background:var(--surface-hover);border-radius:999px;overflow:hidden}.vote-bar span{border-radius:inherit;background:linear-gradient(90deg, var(--warning), var(--danger));height:100%;transition:width .4s;display:block}.vote-row{flex-wrap:wrap;justify-content:space-between;align-items:center;display:flex}.vote-text{color:var(--muted);font-variant-numeric:tabular-nums;font-size:12px}.vote-text strong{color:var(--text);font-weight:600}.vote-button{border:1px solid color-mix(in srgb, var(--danger) 50%, transparent);color:var(--danger);cursor:pointer;background:0 0;font-size:12px;font-weight:600}.vote-button:hover:not(:disabled){background:var(--danger-soft)}.vote-button[aria-pressed=true]{background:var(--danger-soft);color:var(--text);border-color:#0000}.vote-button:disabled{opacity:.5;cursor:default}.vote-hint{color:var(--muted);font-size:11px;display:block}.vote-hint:empty{display:none}.vote-undoing .vote-bar span{background:linear-gradient(90deg, var(--danger), var(--warning), var(--danger));background-size:200% 100%;animation:1.2s linear infinite vote-undoing;width:100%!important}.vote-undone{border-color:color-mix(in srgb, var(--danger) 35%, transparent)}.vote-undone .vote-text{color:var(--danger)}@keyframes vote-undoing{to{background-position:-200% 0}}@media (prefers-reduced-motion:reduce){.vote-undoing .vote-bar span{animation:none}}.cp-actions{flex-wrap:wrap;justify-content:center;gap:10px;display:flex}#player-report{width:min(520px,100vw - 32px)}#player-report label{margin:18px 0 8px;display:block}#player-report select,#player-report textarea{width:100%}#player-report textarea{resize:vertical}#player-report p{line-height:1.5}[data-testid=profile-key-details]{margin-top:24px}[data-testid=profile-key-details]>summary{cursor:pointer;font-weight:600}.name-editor-label{color:var(--muted);align-items:center;gap:8px;margin-bottom:8px;font-size:13px;display:flex}.name-rule-info{position:relative}.info-button{width:22px;height:22px;color:var(--accent);border-radius:50%;place-items:center;padding:0;font-size:12px;font-weight:600;display:grid}.name-rule-tooltip{z-index:1;border:1px solid color-mix(in srgb, var(--accent) 35%, transparent);background:var(--surface-2);width:min(260px,100vw - 96px);color:var(--text);box-shadow:0 8px 24px color-mix(in srgb, var(--shadow-color) 40%, transparent);visibility:hidden;opacity:0;border-radius:10px;padding:10px 12px;font-size:12px;line-height:1.5;position:absolute;bottom:calc(100% + 8px);left:-100px}.name-rule-info:hover .name-rule-tooltip,.name-rule-info:focus-within .name-rule-tooltip{visibility:visible;opacity:1}.name-editor-input{position:relative}.name-editor-input input{width:100%;min-height:46px;padding-right:82px}.name-editor-input button{color:var(--accent);background:var(--accent-soft);border-color:color-mix(in srgb, var(--accent) 28%, transparent);padding:6px 12px;font-size:13px;position:absolute;top:50%;right:6px;transform:translateY(-50%)}.view-eyebrow{text-align:center;color:var(--accent);letter-spacing:.16em;text-transform:uppercase;margin:0 0 6px;font-size:10px;font-weight:700}.view-intro{color:var(--muted);text-align:center;margin:0 0 18px;font-size:14px;line-height:1.6}.view-details{border:1px solid var(--border);color:var(--muted);border-radius:12px;margin:12px 0 16px;padding:12px 14px;font-size:13px;line-height:1.6}.view-details summary{cursor:pointer;color:var(--text);font-weight:600}.view-details p{margin:10px 0}.view-details a,.charity-details a{color:var(--accent)}.result-terms{width:100%;margin:14px 0 0}.change-dialog.paying{background:var(--surface-raised);border-color:var(--border);width:min(620px,100vw - 24px);box-shadow:var(--shadow-lg);border-radius:22px}[data-testid=checkout-panel]>.view-eyebrow{color:var(--accent);margin-bottom:10px}[data-testid=checkout-panel] h2{letter-spacing:-.035em;font-size:clamp(23px,5vw,28px)}[data-testid=checkout-panel] .dialog-actions{justify-content:center;gap:10px;padding-top:6px;display:flex}[data-testid=checkout-panel] .legal-note{color:var(--muted);margin:16px 0 10px;line-height:1.65}[data-testid=checkout-panel] .legal-note a{color:var(--accent)}.checkout-request{border-left:3px solid color-mix(in srgb, var(--accent) 55%, transparent);background:var(--surface-2);color:var(--text);white-space:pre-wrap;overflow-wrap:anywhere;border-radius:0 10px 10px 0;max-height:120px;padding:12px 16px;font-size:14px;overflow:auto}.checkout-status{text-align:center;color:var(--muted);font-size:13px}.checkout-mount{border:1px solid var(--border-strong);background:var(--surface-1);border-radius:16px;min-width:0;padding:16px;overflow:hidden}.checkout-mount:empty{display:none}.checkout-provider{text-align:center;color:var(--muted);margin:12px 0;font-size:12px}.checkout-provider a{color:var(--accent);font-weight:700;text-decoration:none}.checkout-provider a:hover{text-decoration:underline}.charities-dialog{width:min(680px,100vw - 24px)}.charities-impact{border:1px solid var(--border-strong);background:linear-gradient(115deg, var(--surface-1), var(--surface-2));border-radius:16px;padding:18px}.charities-pool{flex-direction:column;gap:4px;display:flex}.charities-pool>span{color:var(--success);font-size:12px}.charities-pool strong{letter-spacing:-.04em;font-variant-numeric:tabular-nums;font-size:34px}.charities-split{color:var(--muted);margin:6px 0 0;font-size:12px}.charities-rule{color:var(--accent);background:var(--surface-2);border-radius:10px;padding:10px 12px;line-height:1.5}.charities-list{gap:12px;max-height:none;padding:0;overflow:visible}.charity{background:var(--surface-1);border-radius:16px;align-items:flex-start;gap:18px;padding:18px}.charity.leading{background:var(--surface-1);border-color:var(--border-strong)}.charity-info{gap:7px}.charity-info p{line-height:1.55}.charity-side{gap:12px;padding-top:3px}.charity-side button{border-radius:10px;min-width:92px;min-height:40px}.charity-details{color:var(--muted);font-size:12px}.charity-details summary{cursor:pointer;width:fit-content;color:var(--accent);padding:4px 0}.charity-details[open] p{padding:4px 0 10px}.charity-details a{padding:4px 0;display:inline-block}.charity-leading{padding:3px 9px}.charity-bar{height:4px;margin-top:6px}.season-dialog{width:min(760px,100vw - 24px)}.season-note{color:var(--muted);margin-block:18px;line-height:1.6}.season-prize{background:linear-gradient(110deg, var(--surface-1), var(--surface-2));border-radius:16px;grid-template-columns:140px 1fr;gap:16px 24px;padding:20px}.season-prize strong{white-space:normal;overflow-wrap:anywhere;line-height:1.4}.season-prize div:first-child strong{letter-spacing:-.035em;font-size:28px}.season-prize small{margin-bottom:6px}.charity-cta{min-height:44px;color:var(--success);border-color:color-mix(in srgb, var(--success) 25%, var(--border));background:var(--success-soft);grid-column:1/-1;justify-content:center;align-items:center;gap:16px;font-weight:650;display:flex}.charity-cta:hover{background:color-mix(in srgb, var(--success) 18%, var(--surface-1))}.season-cards{gap:16px}.season-card{background:var(--surface-1);gap:14px;padding:18px}.season-card h3{letter-spacing:.08em;font-size:12px}.season-card li{border-bottom:1px solid var(--border);gap:8px;padding-block:9px}.season-card li:last-child{border-bottom:0}.season-top .rank{border-radius:8px;width:26px;height:26px}.season-top .rating{white-space:nowrap;font-size:10px}.season-top .prize{min-width:auto;font-size:11px}.season-patches li{flex-wrap:wrap}.season-patches .title{white-space:normal;flex:1 0 100%;order:3;font-size:13px;line-height:1.5}.season-patches .score{margin-left:auto}.section-action{color:var(--accent);background:var(--surface-2);border-color:var(--border-strong);justify-content:space-between;padding:10px 12px;font-size:12px;display:flex}.notes-dialog{width:min(720px,100vw - 24px)}.notes-dialog .season-line{text-align:center;color:var(--accent)}.notes-scroll{max-height:none;padding:0;overflow:visible}.notes-season{border:1px solid var(--border);background:var(--surface-1);border-radius:16px;margin-top:14px;overflow:clip}.notes-season-heading{cursor:pointer;align-items:center;gap:12px;padding:18px;list-style:none;display:flex}.notes-season-heading::-webkit-details-marker{display:none}.notes-season-heading:hover{background:var(--accent-soft)}.notes-season-heading:focus-visible{outline:2px solid var(--focus-ring);outline-offset:-3px;border-radius:14px}.notes-season-identity{flex-direction:column;flex:1;gap:5px;min-width:0;display:flex}.notes-season-identity strong{color:var(--text);font-size:15px}.notes-season-identity small,.notes-season-count{color:var(--muted);font-size:11px}.notes-season-count{white-space:nowrap}.notes-season-state{color:var(--muted);background:var(--surface-hover);border-radius:6px;padding:4px 8px;font-size:10px}.notes-season-state.current{color:var(--accent);background:var(--accent-soft)}.notes-season-chevron{color:var(--muted);flex:0 0 16px;display:flex}.notes-season-chevron svg{width:16px;height:16px}.notes-season[open]>summary .notes-season-chevron{transform:rotate(90deg)}.notes-season ol{gap:0;margin:0;padding:0 18px 8px}.notes-season-empty{color:var(--muted);margin:0;padding:6px 18px 24px;font-size:13px;line-height:1.6}.notes-season .note{border:0;border-top:1px solid var(--border);background:0 0;border-radius:0;padding:18px 0}.note-heading{flex-direction:column;align-items:flex-start;gap:8px;display:flex}.notes-season .note-badge{letter-spacing:.06em;border-radius:5px;min-width:0;padding:3px 7px;font-size:9px}.note-title{font-size:15px;font-weight:600;line-height:1.55}.notes-season .note-tuning{color:var(--muted);font-size:12px;line-height:1.6;margin-top:8px!important}.notes-season .note-summary .disclosure-chevron{background:0 0;border:0;width:28px;height:28px}.note-meta{font-size:11px;margin-top:8px!important}.note-disclosure{width:100%;min-width:0}.note-summary{cursor:pointer;border-radius:8px;align-items:center;gap:16px;list-style:none;display:flex}.note-summary::-webkit-details-marker{display:none}.note-summary:focus-visible{outline:2px solid var(--focus-ring);outline-offset:6px}.note-summary:hover .disclosure-chevron{background:var(--surface-3)}.note-disclosure[open]>.note-summary .disclosure-chevron svg{transform:rotate(180deg)}.note-expanded{border-top:1px solid var(--border);margin-top:16px;padding-top:12px}.note .note-expanded>.patch-rating{border-top:0;margin-top:0;padding-top:0}.note-expanded>.vote:first-child{margin-top:0}.note .patch-rating{border-top:1px solid var(--border);flex-flow:wrap;align-items:center;gap:8px;width:auto;margin-top:16px;padding-top:12px;display:flex}.patch-rating .rating-label{color:var(--muted);margin-right:auto;font-size:12px}.patch-rating button{background:var(--surface-2);border-radius:8px;width:34px;height:34px;padding:6px}.patch-rating .rating-score{text-align:center;min-width:24px;font-size:14px}.rating-notice{color:var(--danger);flex-basis:100%;font-size:12px}.rating-notice:empty{display:none}.vote{background:var(--surface-2);border-radius:12px;margin-top:14px;padding:14px}.vote-row{gap:12px}.vote-text{flex-direction:column;gap:3px;line-height:1.5;display:flex}.vote-button{border-radius:8px;min-height:36px;padding:7px 12px}.vote-bar{height:4px;margin-bottom:12px}.vote-hint{margin-top:10px;line-height:1.5}#profile{width:min(560px,100vw - 24px)}.profile-identity{border:1px solid var(--border-strong);background:var(--surface-2);border-radius:16px;align-items:center;gap:16px;margin:12px 0 16px;padding:20px;display:flex}.profile-monogram{width:56px;height:56px;color:var(--accent);background:var(--accent-soft);border:1px solid var(--border-strong);border-color:color-mix(in srgb, var(--accent) 25%, var(--border));border-radius:16px;flex:none;place-items:center;font-size:26px;font-weight:750;display:grid}.profile-caption{color:var(--muted);text-transform:uppercase;letter-spacing:.12em;font-size:11px}.profile-identity .profile-name{overflow-wrap:anywhere;margin:4px 0 0;font-size:24px;line-height:1.25}.profile-stats{gap:10px;margin-bottom:18px}.profile-stats div{background:var(--surface-1);border-radius:12px;padding:14px 8px}.profile-stats dd{color:var(--text);font-size:20px}.account-section{border:1px solid var(--border);background:var(--surface-1);border-radius:14px;margin-top:16px;padding:16px}.discord-account-heading{align-items:center;gap:12px;display:flex}.discord-avatar-wrap{background:var(--accent-soft);width:48px;height:48px;color:var(--accent);border-radius:14px;flex:none;place-items:center;font-size:26px;display:grid;overflow:hidden}.discord-avatar-wrap>*{grid-area:1/1}.discord-avatar-wrap img{object-fit:cover;width:48px;height:48px;display:block}.discord-avatar-wrap>span{place-items:center;width:48px;height:48px;line-height:0;display:grid}.discord-account-info{flex:1;min-width:0}.discord-account-info h3{margin:0;font-size:15px}.discord-account-info p{color:var(--muted);overflow-wrap:anywhere;margin:4px 0 0;font-size:13px}.connection-badge{color:var(--success);background:var(--success-soft);border-radius:999px;padding:4px 8px;font-size:10px}.discord-account-actions{flex-wrap:wrap;gap:10px;display:flex}.discord-connect{background:var(--accent);color:var(--on-accent);border-color:color-mix(in srgb, var(--accent) 55%, transparent);min-height:40px;font-size:13px}.disconnect-button{min-height:38px;color:var(--danger);background:var(--surface-2);border-color:var(--border-strong);font-size:12px}.disconnect-confirm{border-top:1px solid var(--border-strong);color:var(--text);margin-top:14px;padding-top:10px;font-size:12px;line-height:1.6}.save-key-check{align-items:center;gap:10px;margin-top:14px;display:flex}.save-key-check input{width:18px;height:18px}.name-history{padding:0;overflow:hidden}.name-history-toggle{text-align:left;background:0 0;border:0;border-radius:0;justify-content:space-between;align-items:center;gap:16px;width:100%;padding:16px;display:flex}.name-history-toggle>span:first-child{min-width:0}.name-history-toggle strong{color:var(--text);font-size:13px;display:block}.name-history-toggle small{color:var(--muted);margin-top:5px;font-size:11px;font-weight:400;display:block}.disclosure-chevron{background:var(--surface-2);width:32px;height:32px;color:var(--accent);border-radius:10px;flex:0 0 32px;place-items:center;display:grid}.disclosure-chevron svg{width:20px;height:20px;transition:transform .18s;display:block}.name-history-toggle[aria-expanded=true] .disclosure-chevron svg{transform:rotate(180deg)}#profile-name-history{color:var(--muted);padding:0 18px 18px;font-size:12px}.name-history-empty{border:1px solid var(--border-strong);background:var(--surface-2);border-radius:12px;align-items:center;gap:14px;padding:18px 16px;display:flex}.name-history-empty>svg{width:28px;height:28px;color:var(--accent);flex:0 0 28px}.name-history-empty strong{color:var(--text);font-size:13px;line-height:1.5;display:block}.name-history-empty p{color:var(--muted);margin:5px 0 0;font-size:12px;line-height:1.6}@media (prefers-reduced-motion:reduce){.disclosure-chevron svg{transition:none}}.name-timeline{border-left:1px solid var(--border-strong);margin:4px 0 0 5px;padding:0 0 0 20px;list-style:none}.name-timeline li{flex-direction:column;gap:5px;padding:8px 0 16px;display:flex;position:relative}.name-timeline li:last-child{padding-bottom:0}.name-timeline li:before{content:"";background:var(--accent);border-radius:50%;width:7px;height:7px;position:absolute;top:14px;left:-24px}.name-timeline strong{color:var(--text);overflow-wrap:anywhere;font-size:14px}.name-timeline time{font-size:11px}@media (max-width:480px){.notes-season-heading{flex-wrap:wrap;gap:8px;padding:14px}.notes-season-identity{flex-basis:calc(100% - 100px)}.notes-season-count{flex-basis:100%;order:3}.notes-season-state{margin-left:auto}.notes-season ol{padding-inline:14px}.prize-claim{gap:8px;padding:12px}.prize-claim .claim-code{letter-spacing:.06em;font-size:13px}.charity{flex-wrap:wrap;gap:10px;padding:14px}.charity-info{flex-basis:100%}.charity-side{flex-direction:row;flex:1;justify-content:space-between;align-items:center}.season-prize{grid-template-columns:1fr;gap:18px}.note{padding:15px}.profile-identity{padding:16px}.profile-identity .profile-name{font-size:21px}.profile-stats dd{font-size:16px}.connection-badge{display:none}}.discord-avatar-wrap svg{fill:currentColor;width:28px;height:28px;display:block}.charity.yours button:disabled{opacity:1}.season-pill{align-items:stretch;gap:0;padding:0;overflow:hidden}.season-pill>button{text-align:left;background:0 0;border:0;border-radius:0;flex-direction:column;justify-content:center;gap:2px;margin:0;padding:10px 20px;transition:background .15s;display:flex}.season-pill>button+button{border-left:1px solid color-mix(in srgb, var(--accent) 20%, transparent)}.season-pill>button:hover{background:var(--accent-soft)}.season-pill>button:focus-visible{outline:2px solid var(--focus-ring);outline-offset:-4px;background:var(--accent-soft)}.season-pill-time{border-inline:0;align-items:center}.season-pill-time>span{color:var(--text);font-size:11px}.season-pill-time strong{font-size:13px;font-weight:600}.season-pill-charity{flex:1;max-width:240px}.prize-amount-link{text-align:left;color:var(--success);background:0 0;border:0;align-items:center;gap:10px;padding:0;display:inline-flex}.prize-amount-link>span{opacity:.7;font-size:16px}.prize-amount-link:hover{color:var(--success);background:0 0}.prize-pool-inline{color:var(--success);font:inherit;text-decoration:underline;-webkit-text-decoration-color:var(--muted);text-decoration-color:var(--muted);text-underline-offset:3px;background:0 0;border:0;padding:0;display:inline}.prize-pool-inline:hover{color:var(--success);background:0 0}.prize-pool-dialog{background:var(--surface-1);width:min(720px,100vw - 24px)}.prize-pool-dialog h2{margin-bottom:20px}.prize-pool-dialog h3{color:var(--text);margin:0 0 10px;font-size:18px}.prize-pool-dialog p{line-height:1.6}.prize-pool-hero{border:1px solid var(--border-strong);text-align:center;background:radial-gradient(ellipse at top, var(--success-soft), var(--surface-1) 80%);border-radius:20px;padding:26px 20px 20px}.prize-pool-season{color:var(--muted);margin:0;font-size:12px}.prize-pool-total{letter-spacing:-.045em;color:var(--success);font-variant-numeric:tabular-nums;overflow-wrap:anywhere;margin:10px 0;font-size:clamp(36px,7vw,54px);line-height:1.2;display:block}.prize-pool-hero p:not(.prize-pool-season){color:var(--muted);margin:8px 0 0;font-size:12px}.prize-pool-status:empty{display:none}.prize-pool-split{grid-template-columns:1fr 1fr;gap:12px;margin:14px 0 26px;display:grid}.prize-pool-split section{border:1px solid var(--border-strong);background:var(--surface-2);border-radius:16px;flex-direction:column;padding:18px;display:flex}.prize-pool-split section+section{background:var(--surface-2);border-color:var(--border-strong)}.prize-split-label{color:var(--muted);font-size:12px}.prize-pool-split section+section .prize-split-label{color:var(--accent)}.prize-pool-split strong{font-variant-numeric:tabular-nums;overflow-wrap:anywhere;margin-top:8px;font-size:28px}.prize-pool-split p{color:var(--muted);flex:1;font-size:13px}.prize-funding,.prize-earn{border-top:1px solid var(--border);padding:22px 0}.prize-funding>p,.prize-earn>p{color:var(--muted);font-size:13px}.prize-funding-bar{gap:4px;height:8px;margin:20px 0 12px;display:flex}.prize-funding-bar span:first-child{background:linear-gradient(90deg, var(--success), var(--accent));border-radius:8px 0 0 8px;width:80%}.prize-funding-bar span:last-child{background:var(--subtle);border-radius:0 8px 8px 0;width:20%}.prize-funding-labels{grid-template-columns:1fr 1fr;gap:18px;display:grid}.prize-funding-labels p{margin:0;font-size:12px}.prize-funding-labels strong,.prize-funding-labels span{display:block}.prize-funding-labels span{color:var(--muted);margin-top:4px}.prize-places{border-collapse:collapse;font-variant-numeric:tabular-nums;width:100%;margin-top:18px;font-size:13px}.prize-places caption{text-align:left;color:var(--accent);padding-bottom:10px;font-size:12px}.prize-places th,.prize-places td{border-bottom:1px solid var(--border);text-align:left;padding:12px}.prize-places thead th{color:var(--muted);font-size:11px;font-weight:500}.prize-places th:last-child,.prize-places td:last-child{text-align:right}.prize-places tbody tr:first-child{background:var(--surface-2);color:var(--warning)}.prize-champion{border:1px solid var(--border-strong);background:var(--surface-2);border-radius:18px;align-items:flex-start;gap:18px;padding:22px;display:flex}.prize-champion .view-eyebrow{text-align:left;color:var(--warning);margin-top:0}.prize-champion p:not(.view-eyebrow){color:var(--muted);font-size:13px}.champion-mark{color:var(--warning);font-size:38px;line-height:1}.prize-champion .section-action{width:100%}.prize-rules{margin-top:20px}.prize-rules a{color:var(--accent)}@media (max-width:700px){.season-pill{gap:0;padding:0}.season-pill>button{text-align:center;flex:1 1 0;align-items:center;min-width:0;padding:10px 8px}.season-pill-charity{max-width:none}.season-pill>button>*{text-overflow:ellipsis;white-space:nowrap;max-width:100%;overflow:hidden}.season-pill-pool strong{font-size:18px}.season-pill-time strong{font-size:12px}}@media (max-width:480px){.season-pill>button{padding-inline:6px}.season-pill-pool strong{font-size:16px}.season-pill-charity strong{font-size:12px}.season-pill-charity>span:last-child{font-size:10px}.prize-pool-split{grid-template-columns:1fr}.prize-pool-split section{padding:16px}.prize-funding-labels{gap:12px}.prize-champion{gap:10px;padding:18px}.champion-mark{font-size:28px}.prize-places th,.prize-places td{padding:10px 6px}}.touch-controls{z-index:12;pointer-events:none;-webkit-user-select:none;user-select:none;--touch-size:56px;position:fixed;inset:0}.touch-controls button,.touch-stick{pointer-events:auto;touch-action:none;-webkit-touch-callout:none}.touch-actions{right:max(18px, env(safe-area-inset-right));bottom:max(22px, env(safe-area-inset-bottom));grid-template-columns:repeat(3, minmax(44px, var(--touch-size)));pointer-events:auto;gap:8px;max-width:55vw;max-height:65dvh;display:grid;position:absolute;overflow-y:auto}.touch-action{min-width:44px;min-height:44px;height:var(--touch-size);border:1px solid color-mix(in srgb, var(--accent) 55%, transparent);background:var(--hud-bg);color:var(--hud-text);overflow-wrap:anywhere;box-shadow:0 4px 18px color-mix(in srgb, var(--hud-bg) 40%, transparent);border-color:var(--hud-border);border-radius:18px;padding:4px;font-family:inherit;font-size:11px;font-weight:600;line-height:1.2}.touch-action.pressed{background:color-mix(in srgb, var(--hud-bg) 65%, var(--accent));border-color:var(--hud-text);transform:scale(.96)}.touch-axis{background:var(--hud-bg);grid-column:span 2}.touch-stick{left:max(22px, env(safe-area-inset-left));bottom:max(28px, env(safe-area-inset-bottom));aspect-ratio:1;border:1px solid color-mix(in srgb, var(--accent) 55%, transparent);background:var(--hud-bg);border-color:var(--hud-border);border-radius:50%;place-items:center;width:clamp(96px,25vw,132px);display:grid;position:absolute}.touch-stick-knob{background:color-mix(in srgb, var(--hud-text) 30%, var(--hud-bg));border:1px solid color-mix(in srgb, var(--accent) 55%, transparent);pointer-events:none;border-color:var(--hud-muted);border-radius:50%;width:40%;height:40%}.touch-menu{top:max(70px, env(safe-area-inset-top));right:max(14px, env(safe-area-inset-right));border:1px solid color-mix(in srgb, var(--accent) 50%, transparent);background:var(--hud-bg);min-width:70px;min-height:44px;color:var(--hud-text);border-color:var(--hud-border);border-radius:14px;position:absolute}.touch-controls .inactive{opacity:.45}.touch-controls.left-handed .touch-actions{left:max(18px, env(safe-area-inset-left));right:auto}.touch-controls.left-handed .touch-stick{right:max(22px, env(safe-area-inset-right));left:auto}.control-settings{border-top:1px solid var(--border);text-align:left;margin-top:18px;padding-top:14px}.control-settings summary{cursor:pointer;color:var(--accent);padding:6px 0;font-weight:600}.control-settings select{width:100%;margin-top:12px}.control-setting{justify-content:space-between;align-items:center;gap:12px;margin:14px 0;font-size:13px;display:flex}.control-setting input[type=checkbox]{width:20px;height:20px}.control-setting input[type=range]{width:45%;accent-color:var(--accent)}.control-key-row{align-items:center;gap:6px;margin:6px 0;font-size:13px;display:flex}.control-key-row>span{flex:1}.control-key{background:var(--surface-2);border:1px solid var(--border-strong);min-width:42px;min-height:36px;color:var(--accent);border-radius:8px;padding:6px 10px}.control-status{color:var(--accent);min-height:1em;font-size:12px}.touch-game [data-testid=controls-hint]{max-width:70vw;margin:auto;font-size:10px}@media (max-height:480px){.touch-menu{background:var(--hud-bg);color:var(--hud-text);border-color:var(--hud-border);top:62px}.touch-actions{bottom:max(10px, env(safe-area-inset-bottom));gap:5px}.touch-stick{background:var(--hud-bg);border-color:var(--hud-border);width:104px;bottom:14px}}@media (max-width:430px){.touch-actions{grid-template-columns:repeat(2, minmax(44px, var(--touch-size)));max-width:48vw}}@media (max-width:700px){.touch-menu{top:var(--fab-top);background:var(--hud-bg);color:var(--hud-text);border-color:var(--hud-border)}}@media (max-width:600px){.touch-game [data-testid=controls-hint]{top:calc(var(--fab-top) + 108px);text-align:center;width:85vw;max-width:85vw;position:fixed;bottom:auto;left:50%;transform:translate(-50%)}}.ui-popover{align-content:start;height:max-content;min-height:0;max-height:calc(100dvh - 16px);margin:0;position:fixed;inset:auto}.catalog-search-toggle.ui-button{min-width:0;max-width:230px;box-shadow:none;border:0;border-radius:24px;gap:7px;display:inline-flex}.catalog-search-toggle>span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.catalog-search-toggle.is-filtered,.catalog-search-toggle[aria-expanded=true]{background:var(--accent-soft);color:var(--accent)}:is(.catalog-search-toggle.ui-button:focus,.catalog-search-toggle.ui-button:focus-visible){box-shadow:none;outline:none}.catalog-search-toggle.ui-button:focus-visible{background:var(--surface-hover);text-underline-offset:3px;text-decoration:underline}.round-setup{isolation:isolate;border:1px solid var(--border);background:var(--surface-1);border-radius:18px;flex:none;min-width:0;height:540px;display:flex;position:relative;overflow:hidden}.round-section{border-right:1px solid var(--border);background:var(--surface-1);flex-direction:column;flex:0 0 148px;min-width:0;display:flex;position:relative}.round-section:last-of-type{border-right:0}.round-section.is-expanded{flex:1 1 0}.round-section>.round-section-toggle.ui-button{isolation:isolate;text-align:left;white-space:normal;width:100%;min-height:0;color:var(--text);background:linear-gradient(160deg,var(--accent-soft),transparent 78%);border:0;border-radius:0;flex-direction:column;flex:1;justify-content:center;align-items:flex-start;gap:20px;padding:24px 18px;display:flex;position:relative;overflow:hidden}.round-duel>.round-section-toggle.ui-button{background:linear-gradient(160deg,var(--info-soft),transparent 78%)}.round-mods>.round-section-toggle.ui-button{background:linear-gradient(160deg,var(--success-soft),transparent 78%)}.round-section-toggle:before{content:"";z-index:-1;border:1px solid var(--border);width:200px;height:200px;box-shadow:0 0 0 24px color-mix(in srgb,var(--border) 30%,transparent),0 0 0 48px color-mix(in srgb,var(--border) 15%,transparent);pointer-events:none;border-radius:50%;position:absolute;top:-60px;right:-115px}.round-section>.round-section-toggle.ui-button:hover{background-color:var(--surface-hover)}.round-section-toggle>.ui-icon{width:32px;height:32px;color:var(--accent);flex:none}.round-duel .round-section-toggle>.ui-icon{color:var(--info)}.round-mods .round-section-toggle>.ui-icon{color:var(--success)}.round-section-heading{gap:10px;min-width:0;display:grid}.round-section-label{text-transform:uppercase;letter-spacing:.13em;color:var(--muted);font-size:9px;line-height:1.5}.round-section-heading>strong{letter-spacing:-.035em;overflow-wrap:anywhere;font-size:22px;font-weight:700;line-height:1.15}.round-section-summary{max-width:100%;max-height:190px;color:var(--muted);flex-direction:column;gap:6px;font-size:11px;font-weight:400;line-height:1.5;display:flex;overflow:auto}.round-section:not(.is-expanded) .round-section-heading:after{content:"Choose →";color:var(--accent);margin-top:8px;font-size:11px;font-weight:500}.round-section.is-expanded>.round-section-toggle.ui-button{border-bottom:1px solid var(--border);background:0 0;flex-direction:row;flex:none;justify-content:flex-start;align-items:center;gap:12px;min-height:76px;padding:16px 20px}.round-section.is-expanded .round-section-toggle:before{display:none}.round-section.is-expanded .round-section-heading{gap:3px}.round-section.is-expanded .round-section-heading>strong{font-size:18px}.round-section.is-expanded .round-section-summary{display:none}.round-section-content{flex-direction:column;flex:1;gap:12px;min-width:0;min-height:0;padding:16px 20px;display:flex}.round-section-content[hidden]{display:none}.round-season-list{overscroll-behavior:contain;flex-direction:column;gap:6px;min-height:0;display:flex;overflow:auto}.round-season-option.ui-button{text-align:left;flex:none;justify-content:flex-start;gap:12px;min-height:58px;display:flex}.round-season-option>span:last-child{margin-left:auto;font-size:11px;font-weight:400}.round-season-option>strong{font-size:14px}.round-vanilla.ui-button{text-align:left;white-space:normal;border:1px solid var(--border);flex:none;justify-content:flex-start;gap:12px;padding:12px;display:flex}.round-vanilla>strong{font-size:14px}.round-vanilla>span{margin-left:auto;font-size:11px;font-weight:400}.round-vanilla[aria-pressed=true]{border-color:var(--accent);background:var(--accent-soft)}.round-duel>.round-section-content{overflow:auto}.round-duel .duel-browser{flex-direction:column;flex:1;gap:10px;min-height:0;display:flex}.round-duel .duel-library-grid{overscroll-behavior:contain;flex:1;grid-template-columns:repeat(auto-fill,minmax(min(190px,100%),1fr));grid-auto-rows:max-content;align-content:start;gap:10px;min-height:100px;margin:0;overflow:auto}.round-duel .duel-library-art{height:64px}.round-duel .duel-library-card-info{padding:12px}.round-duel .duel-library-card h3{font-size:14px}.round-duel .duel-library-date{margin-bottom:8px}.round-duel .my-games-note:empty{display:none}.round-selected{flex:none;min-width:0}.round-selected-heading{justify-content:space-between;align-items:center;gap:8px;margin-bottom:8px;font-size:11px;display:flex}.round-selected-heading>strong{color:var(--accent);font-weight:600}.round-selected-heading>span{color:var(--subtle);font-size:10px}.round-selected-list{flex-wrap:wrap;gap:6px;max-height:100px;margin:0;padding:0;list-style:none;display:flex;overflow:auto}.round-selected-list>li{border:1px solid var(--border);background:var(--surface-2);border-radius:8px;align-items:center;gap:8px;min-width:0;max-width:100%;padding:4px 6px 4px 10px;font-size:11px;display:flex}.round-selected-list>li>span{white-space:nowrap;text-overflow:ellipsis;max-width:180px;overflow:hidden}.round-selected-list small{color:var(--muted);white-space:nowrap}.round-selected-actions{gap:1px;display:flex}.round-selected-actions>.ui-button{min-width:24px;min-height:28px;padding:3px;font-size:10px}.round-selected-list>.round-selected-empty{color:var(--muted);background:0 0;border:0;padding:0;font-size:12px}.round-active-mod{border:1px solid var(--border);background:var(--surface-1);color:var(--text);overflow-wrap:anywhere;border-radius:6px;padding:6px 8px;font-size:11px;display:block}.round-mods .mod-browser-inline{flex-direction:column;flex:1;gap:8px;min-height:0;display:flex}.round-mods .mod-browser-inline>.public-pack-grid{flex:1;grid-template-columns:repeat(auto-fill,minmax(145px,1fr));min-height:80px;max-height:none;margin:0}.round-mods .mod-code{margin:0;font-size:10px}.round-mods .mod-code>summary{padding:0}.round-mods .mod-browser-inline>.my-games-note{margin:0}.round-mods .browser-pagination{margin:0;padding:0}.round-mods .mod-browser .mod-search{gap:8px}.round-setup-status:empty{display:none}.round-setup-status:not(:empty){z-index:2;background:var(--surface-2);border-top:1px solid var(--border);color:var(--text);padding:10px 16px;font-size:12px;position:absolute;bottom:0;left:0;right:0}@media (max-width:900px) and (min-width:701px){.round-section{flex-basis:120px}.round-section>.round-section-toggle.ui-button{padding:20px 12px}.round-section-heading>strong{font-size:19px}.round-section-content{padding:12px}.round-mods .mod-browser-inline>.public-pack-grid{grid-template-columns:repeat(auto-fill,minmax(125px,1fr))}}@media (max-width:700px){.round-setup{border-radius:14px;flex-direction:column;height:auto;min-height:0}.round-section{border-right:0;border-bottom:1px solid var(--border);flex:none}.round-section:last-of-type{border-bottom:0}.round-section.is-expanded{flex:none}.round-section>.round-section-toggle.ui-button{flex-direction:row;align-items:center;gap:12px;min-height:80px;padding:14px 16px}.round-section-heading{flex:1;gap:4px}.round-section-heading>strong{font-size:18px}.round-section-toggle>.ui-icon{width:25px;height:25px}.round-section:not(.is-expanded) .round-section-heading:after{display:none}.round-section-toggle:before{width:140px;height:140px;right:-60px}.round-section-summary{max-width:115px;max-height:64px;font-size:10px}.round-active-mod{padding:2px 5px;font-size:10px}.round-section.is-expanded>.round-section-toggle.ui-button{min-height:68px;padding:12px 16px}.round-section-content{max-height:510px;padding:12px}.round-mods>.round-section-content{height:510px}.round-season-list{max-height:290px}.round-duel>.round-section-content{max-height:560px}.round-duel .duel-library-grid{flex:none;max-height:300px}.round-mods .mod-browser-inline>.public-pack-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.round-selected-list{max-height:82px}.round-selected-list>li>span{max-width:115px}.round-selected-heading>span{display:none}.round-mods .mod-browser .mod-search{grid-template-columns:minmax(0,1fr) 100px}.round-mods .mod-browser .ui-dropdown{width:100px}.mod-browser-inline .public-pack-card.is-expanded>.pack-tile-button{flex-wrap:wrap;gap:8px}.mod-browser-inline .is-expanded .pack-tile-badge{margin-left:0}.round-vanilla{flex-wrap:wrap}.round-vanilla>span{flex-basis:100%}.round-setup-status:not(:empty){position:static}}.mod-browser-inline .pack-version-info{flex-wrap:wrap;align-items:center;gap:5px 10px;display:flex}.mod-browser-inline .pack-version-info>strong{font-size:12px}.round-setup.is-transitioning>.round-section{min-height:0;overflow:hidden}.round-setup[data-expanded=none]{height:180px}.round-setup[data-expanded=none]>.round-section{flex:1 1 0}.round-setup[data-expanded=none] .round-section-toggle{gap:10px}.round-setup[data-expanded=none] .round-section-toggle>.ui-icon{width:22px;height:22px}.round-setup[data-expanded=none] .round-section-heading:after{display:none}.round-setup[data-expanded=none] .round-section-summary{flex-flow:wrap;max-height:44px}.round-section-controls{z-index:3;align-items:center;gap:4px;display:none;position:absolute;top:18px;right:12px}.round-section.is-expanded>.round-section-controls{display:flex}.round-section-controls>.ui-button{min-height:36px;font-size:12px}.round-section-controls>.ui-button:last-child{width:36px;padding:8px}.round-section-controls>[aria-expanded=true]{color:var(--accent);background:var(--accent-soft)}.round-section-content{position:relative;overflow:hidden}.round-section-content[hidden],.catalog-search[hidden],.round-selected[hidden]{display:none!important}.round-setup .mod-browser .mod-search,.round-setup .duel-browser>form.pack-install{flex:none;margin:0;display:block}.round-setup .ui-search-dropdowns>.ui-dropdown{width:auto;max-width:150px}.round-mods .mod-browser-inline,.round-duel .duel-browser-inline{flex-direction:column;flex:1;gap:10px;min-height:0;padding-bottom:0;display:flex;position:relative}.round-mods .mod-browser-inline>.public-pack-grid,.round-duel .duel-browser-inline>.duel-library-grid{overscroll-behavior:contain;flex:1;grid-template-columns:repeat(auto-fill,minmax(145px,1fr));grid-auto-rows:max-content;align-content:start;gap:10px;min-height:60px;max-height:none;margin:0;padding:2px;display:grid;overflow:auto}.round-duel .duel-browser-inline>.my-games-note{flex:none;margin:0}.round-duel .duel-browser-inline>.my-games-note:empty{display:none}.round-mods .browser-pagination.catalog-pager,.round-duel .browser-pagination.catalog-pager{margin:0;padding:4px;bottom:0}.round-selected-fab.ui-button{z-index:3;min-height:42px;box-shadow:var(--shadow-md);border-radius:24px;gap:7px;padding:10px 14px;display:flex;position:absolute;bottom:16px;right:20px}.round-selected{z-index:4;box-sizing:border-box;border:1px solid var(--border-strong);background:var(--surface-raised);width:min(420px,100% - 32px);max-height:calc(100% - 86px);box-shadow:var(--shadow-md);border-radius:16px;padding:14px;position:absolute;bottom:68px;right:16px;overflow:auto}.round-selected-heading{margin-bottom:4px;font-size:13px}.round-selected-heading>.ui-button{width:32px;min-height:32px;padding:4px}.round-selected>p{margin-bottom:12px;font-size:11px}.round-selected-list{flex-flow:column;gap:8px;max-height:none;display:flex}.round-selected-list>li{flex:none;gap:8px;padding:8px;display:flex}.round-selected-list>li>span:not(.round-selected-grip){flex:1;min-width:0;max-width:none}.round-selected-actions{margin-left:auto}.round-selected-actions>.ui-button{min-width:26px;min-height:32px}.round-selected-grip{cursor:grab;color:var(--subtle);flex:none;font-size:22px}.round-selected-list>li.is-dragging{opacity:.4}.round-selected-list>li.is-drop-target{border-color:var(--accent);box-shadow:0 -2px var(--accent)}.has-catalog-detail>.round-selected,.has-catalog-detail>.round-selected-fab{display:none}.round-section-content>.catalog-detail{border-radius:0}@media (max-width:700px){.round-setup[data-expanded=none]{height:auto}.round-setup[data-expanded=none]>.round-section{flex:none}.round-setup[data-expanded=none] .round-section-summary{max-height:44px}.round-section-controls{top:15px;right:8px}.round-section-controls>.ui-button{font-size:11px}.round-section.is-expanded>.round-section-toggle.ui-button{padding-right:130px}.round-season.is-expanded>.round-section-toggle.ui-button{padding-right:50px}.round-duel>.round-section-content,.round-mods>.round-section-content{box-sizing:border-box;flex:none;height:490px;max-height:490px}.round-mods .mod-browser-inline>.public-pack-grid,.round-duel .duel-browser-inline>.duel-library-grid{flex:1;grid-template-columns:repeat(2,minmax(0,1fr));max-height:none}.round-selected-fab.ui-button{padding:10px 12px;bottom:12px;right:12px}.round-selected{width:calc(100% - 16px);padding:10px;right:8px}.round-selected-list>li{gap:5px}.round-selected-list>li>span:not(.round-selected-grip){max-width:none}.round-selected-heading>span{display:block}.round-section-content>.catalog-detail{height:100%}}@media (prefers-reduced-motion:reduce){.round-setup{transition:none}}.round-mods .mod-browser-inline>.public-pack-grid,.round-duel .duel-browser-inline>.duel-library-grid{scrollbar-gutter:stable}.round-selected:not([hidden]){transform-origin:100% 100%;animation:.16s ease-out round-selected-open}@keyframes round-selected-open{0%{opacity:0;transform:translateY(8px)scale(.97)}to{opacity:1;transform:none}}@media (prefers-reduced-motion:reduce){.round-selected:not([hidden]){animation:none}}.round-mods .mod-browser-inline>.public-pack-grid,.round-duel .duel-browser-inline>.duel-library-grid{padding-bottom:58px;scroll-padding-bottom:58px}.round-search-control{border:1px solid #0000;border-radius:24px;align-items:center;min-width:0;max-width:230px;display:flex}.round-search-control>.ui-button{min-width:0;min-height:34px;font-size:12px}.round-search-control>.ui-button:first-child{gap:7px}.round-search-control>.ui-button:first-child>span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.round-search-control>.ui-button:last-child:not(:first-child){flex:none;width:30px;padding:5px}.round-search-control>[hidden]{display:none!important}.round-search-control.is-filtered{background:var(--accent-soft);border-color:var(--border-strong)}.round-search-control.is-filtered>.ui-button{color:var(--accent);border-radius:24px}.round-search-control.is-filtered>.ui-button:first-child{padding-right:4px}.round-section-controls{max-width:48%}.round-section.is-expanded>.round-section-toggle.ui-button{padding-right:calc(48% + 16px)}@media (max-width:700px){.round-search-control>.ui-button{font-size:11px}.round-section-controls{max-width:55%}.round-section.is-expanded>.round-section-toggle.ui-button{padding-right:calc(55% + 8px)}.round-season.is-expanded>.round-section-toggle.ui-button{padding-right:50px}}.round-search-control>[aria-expanded=true]{color:var(--accent);background:var(--accent-soft)}.round-section.is-expanded>.round-section-toggle.ui-button{gap:10px;min-height:54px;padding-top:9px;padding-bottom:9px}.round-section.is-expanded .round-section-heading>strong{display:none}.round-section.is-expanded .round-section-label{letter-spacing:.08em;color:var(--text);font-size:11px}.round-section.is-expanded .round-section-toggle>.ui-icon{width:20px;height:20px}.round-section-controls{top:8px}.round-search-control,.round-search-control.is-filtered{border:0}:is(.round-search-control>.ui-button:focus,.round-search-control>.ui-button:focus-visible){box-shadow:none;outline:none}.round-search-control>.ui-button:focus-visible{background:var(--surface-hover);text-underline-offset:3px;text-decoration:underline}.round-mods>.round-section-content,.round-duel>.round-section-content{padding:0}.round-mods .mod-browser-inline,.round-duel .duel-browser-inline{gap:0}.round-setup :is(.mod-browser-inline,.duel-browser-inline)>.catalog-search:not(.mod-code){flex:none;margin:12px 16px 0}.round-mods .mod-code{margin:8px 16px 0}.round-mods .mod-browser-inline>.my-games-note:not(:empty),.round-duel .duel-browser-inline>.my-games-note:not(:empty){margin:10px 16px}.round-mods .mod-browser-inline>.public-pack-grid,.round-duel .duel-browser-inline>.duel-library-grid{padding:14px 12px 64px 16px}.round-mods .browser-pagination.catalog-pager,.round-duel .browser-pagination.catalog-pager{bottom:12px}.round-section.has-catalog-detail>.round-section-controls,.round-section.has-catalog-detail .round-selected,.round-section.has-catalog-detail .round-selected-fab{visibility:hidden}@media (max-width:700px){.round-section.is-expanded>.round-section-toggle.ui-button{min-height:52px}.round-section-controls{top:7px}.round-section.is-expanded .round-section-label{letter-spacing:.04em;font-size:10px}.round-mods .mod-browser-inline>.public-pack-grid,.round-duel .duel-browser-inline>.duel-library-grid{padding-left:12px;padding-right:8px}.round-setup :is(.mod-browser-inline,.duel-browser-inline)>.catalog-search:not(.mod-code){margin-left:12px;margin-right:12px}}.round-season>.round-section-content{gap:0;padding:0}.round-season>.round-section-content>.ui-search{flex:none;margin:12px 16px 0}.round-season-list{scrollbar-gutter:stable;flex:1;padding:14px 12px 16px 16px}.round-season.is-expanded>.round-section-toggle.ui-button{padding-right:calc(48% + 16px)}@media (max-width:700px){.round-season.is-expanded>.round-section-toggle.ui-button{padding-right:calc(55% + 8px)}.round-season-list{padding-left:12px;padding-right:8px}.round-season>.round-section-content>.ui-search{margin-left:12px;margin-right:12px}}.round-setup[data-collapsed-height=fill][data-expanded=none]{flex:1 0 auto;height:100%;min-height:180px}.round-setup[data-collapsed-height=fill][data-expanded=none]>.round-section{flex:1 1 0;container:catalog-summary/size}@container catalog-summary (width>=240px) and (height>=220px){.round-setup[data-expanded=none] .round-section-toggle.ui-button{flex-direction:column;justify-content:center;align-items:flex-start;gap:clamp(18px,5cqmin,32px);padding:clamp(24px,7cqmin,56px)}.round-setup[data-expanded=none] .round-section-toggle>.ui-icon{width:clamp(38px,10cqmin,64px);height:clamp(38px,10cqmin,64px)}.round-setup[data-expanded=none] .round-section-heading{flex:none;gap:10px}.round-setup[data-expanded=none] .round-section-label{letter-spacing:.16em;font-size:clamp(10px,2.5cqmin,12px)}.round-setup[data-expanded=none] .round-section-heading>strong{letter-spacing:-.045em;font-size:clamp(30px,9cqmin,56px);line-height:1.05}.round-setup[data-expanded=none] .round-section-summary{max-width:32ch;max-height:none;font-size:clamp(12px,3cqmin,15px);line-height:1.65}.round-setup[data-expanded=none] .round-section-toggle:before{width:clamp(200px,70cqmin,460px);height:clamp(200px,70cqmin,460px);top:-20%;right:-25%}}.round-section-controls>.catalog-sort-control{flex:none;position:static}.catalog-sort-control>.community-safety-trigger.ui-button{opacity:1;background:0 0;width:36px;height:36px;min-height:36px;padding:8px}.catalog-sort-control>.community-safety-trigger.ui-button:hover,.catalog-sort-control>[aria-expanded=true]{background:var(--surface-hover);color:var(--accent)}.catalog-sort-control .community-safety-menu [aria-checked=true]{background:var(--accent-soft);color:var(--accent)}.catalog-sort-control .community-safety-menu [role=menuitemradio]:after{content:"";background:0 0;border-radius:50%;width:6px;height:6px;margin-left:auto}.catalog-sort-control .community-safety-menu [aria-checked=true]:after{background:currentColor}.catalog-sort-control .community-safety-menu{width:max-content;min-width:170px;max-width:calc(100vw - 24px)}.catalog-sort-control>.community-safety-trigger .ui-icon{stroke-width:1.75px;width:16px;height:16px}.catalog-sort-control .community-safety-menu{border-radius:12px;width:184px;min-width:0;padding:4px}.catalog-sort-control .community-safety-menu>.catalog-sort-option{gap:8px;min-height:44px;padding:8px 10px;font-size:12px}.catalog-sort-control .catalog-sort-option>.ui-icon{stroke-width:1.75px;flex:none;width:16px;height:16px}.catalog-sort-control .catalog-sort-direction{color:var(--muted);margin-left:auto;font-size:11px}.catalog-sort-control .catalog-sort-option[aria-checked=true] .catalog-sort-direction{color:inherit}.catalog-sort-control .community-safety-menu [role=menuitemradio]:after{display:none}.catalog-sort-control .catalog-sort-arrow{transition:transform .16s}.catalog-sort-control .catalog-sort-arrow.is-reversed{transform:rotate(180deg)}@media (prefers-reduced-motion:reduce){.catalog-sort-control .catalog-sort-arrow{transition:none}}.round-section[data-controls=false]>.round-section-controls{display:none}.round-section[data-controls=false].is-expanded>.round-section-toggle.ui-button{padding-right:16px}.round-setup[data-layout=stacked]{flex-direction:column}.round-setup[data-layout=stacked]>.round-section{border-right:0;border-bottom:1px solid var(--border);flex:none;min-height:0}.round-setup[data-layout=stacked]>.round-section:last-of-type{border-bottom:0}.round-setup[data-layout=stacked]>.round-section.is-expanded{flex:1 1 0}.round-setup[data-layout=stacked] .round-section-toggle.ui-button{flex-direction:row;flex:none;justify-content:flex-start;align-items:center;gap:12px;min-height:68px;padding:12px 16px}.round-setup[data-layout=stacked] .round-section-heading{flex:1;gap:3px;min-width:max-content}.round-setup[data-layout=stacked] .round-section-heading>strong{white-space:nowrap;overflow-wrap:normal;font-size:18px}.round-setup[data-layout=stacked] .round-section-heading:after{display:none}.round-setup[data-layout=stacked] .round-section-toggle>.ui-icon{width:24px;height:24px}.round-setup[data-layout=stacked] .round-section-summary{flex:0 110px;min-width:0;max-width:110px;font-size:11px}.round-setup[data-layout=stacked] .is-expanded>.round-section-toggle.ui-button{min-height:48px}.round-setup[data-layout=stacked] .round-section-content{flex:1;height:auto;min-height:0;max-height:none;padding:0;overflow:hidden}.round-setup[data-layout=stacked][data-collapsed-height=fill][data-expanded=none]>.round-section{flex:1 1 0;container-type:normal}.round-setup[data-layout=stacked][data-expanded=none] .round-section-toggle.ui-button{flex:1}.round-section[data-controls=false][data-header-actions=true].is-expanded>.round-section-controls{max-width:none;display:flex;top:2px;right:4px}.round-section[data-controls=false][data-header-actions=true].is-expanded>.round-section-toggle.ui-button{padding-right:var(--round-action-width)}.round-section-controls>.round-header-action.ui-button{background:0 0;width:40px;height:44px;min-height:44px;padding:10px}.round-section-controls>.round-header-action.ui-button:hover{background:var(--surface-hover)}.round-header-action>.ui-icon{width:18px;height:18px}.round-section-controls>.catalog-search-toggle.ui-button:only-child{width:auto;max-width:100%;padding:8px 10px}.round-section.is-expanded .round-section-heading:not(:has(.round-section-label))>strong{letter-spacing:0;font-size:14px;font-weight:600;display:block}.round-section[data-header-actions=true].is-expanded>.round-section-controls{max-width:calc(100% - 100px);top:2px;right:4px}.round-section[data-header-actions=true].is-expanded>.round-section-toggle.ui-button{padding-right:var(--round-action-width)}.round-section[data-header-actions=true]>.round-section-controls>.catalog-search-toggle{min-width:0}.ui-context-menu{box-sizing:border-box;border:1px solid color-mix(in srgb,var(--border-strong) 65%,transparent);background:var(--panel-solid);width:max-content;max-width:calc(100vw - 16px);color:var(--text);box-shadow:var(--shadow-lg);text-align:left;border-radius:12px;padding:6px;overflow:auto}.ui-context-menu:popover-open{flex-direction:column;justify-content:flex-start;align-items:stretch;gap:2px;display:flex}.ui-context-menu>.ui-context-group{flex-direction:column;align-items:stretch;gap:2px;display:flex}:is(.ui-context-menu,.ui-context-menu>.ui-context-group)>.ui-button{letter-spacing:normal;white-space:nowrap;background:0 0;border:0;border-radius:7px;flex:none;justify-content:flex-start;gap:10px;width:100%;height:auto;min-height:40px;padding:9px 10px;font-size:12px;font-weight:550}:is(.ui-context-menu,.ui-context-menu>.ui-context-group)>.ui-button:hover:not(:disabled){background:var(--surface-hover)}:is(.ui-context-menu,.ui-context-menu>.ui-context-group)>.ui-button:focus-visible{outline:2px solid var(--focus-ring);outline-offset:-2px}:is(.ui-context-menu,.ui-context-menu>.ui-context-group)>.ui-button>.ui-icon{width:18px;height:18px;color:var(--muted)}:is(.ui-context-menu,.ui-context-menu>.ui-context-group)>.ui-button>.ui-versus{width:18px;height:18px;font-size:7px}:is(.ui-context-menu,.ui-context-menu>.ui-context-group)>.ui-button[data-variant=danger]{color:var(--danger)}:is(.ui-context-menu,.ui-context-menu>.ui-context-group)>.ui-button[data-variant=danger]>.ui-icon{color:inherit}:is(.ui-context-menu,.ui-context-menu>.ui-context-group)>.ui-button[data-variant=danger]:hover:not(:disabled){background:var(--danger-soft)}.catalog-info-pill{z-index:2;border:1px solid var(--border-strong);background:var(--panel-solid);max-width:calc(100% - 28px);max-height:calc(100% - 90px);box-shadow:var(--shadow-lg);border-radius:24px;flex-direction:column;display:flex;position:absolute;bottom:14px;right:14px;overflow:hidden}.catalog-info-pill.is-open{border-radius:18px;width:max-content}.catalog-info-content{overscroll-behavior:contain;min-height:0;padding:12px;overflow:auto}.catalog-info-content[hidden]{display:none}.catalog-info-heading{justify-content:space-between;align-items:flex-start;gap:16px;padding:0 2px 10px;display:flex}.catalog-info-author{overflow-wrap:anywhere;gap:4px;min-width:0;display:grid}.catalog-info-heading>.catalog-info-favorite.ui-button{width:30px;min-width:30px;height:30px;min-height:30px;color:var(--muted);border:0;border-radius:9px;flex:none;padding:6px}.catalog-info-heading>.catalog-info-favorite[aria-pressed=true]{color:var(--accent);background:var(--accent-soft)}.catalog-info-favorite[aria-pressed=true]>.ui-icon{fill:var(--accent)}.catalog-info-author>strong{font-size:14px}.catalog-info-content small{color:var(--muted);font-size:10px}.catalog-info-stats{border-top:1px solid var(--border);justify-content:space-between;align-items:center;gap:20px;padding:10px 2px;display:flex}.catalog-info-stats strong{color:var(--text);font-size:15px}.catalog-info-content .community-action-list{border-top:1px solid var(--border);gap:2px;padding-top:4px;display:grid}.catalog-info-content .community-action-list>.ui-button{border:0;border-radius:10px;justify-content:flex-start;width:100%;min-height:38px;padding:8px 10px;font-size:12px;font-weight:500}.catalog-info-content .community-safety-block{color:var(--danger)}.catalog-info-content .community-safety-block:hover{background:var(--danger-soft)}.catalog-info-pill>.catalog-info-toggle.ui-button{border:0;border-radius:24px;flex:none;align-self:flex-end;gap:8px;min-height:42px;padding:10px 14px;font-size:12px}.catalog-info-pill>.catalog-info-toggle[hidden]{display:none}@media (max-width:520px){.catalog-info-pill{max-width:calc(100% - 20px);bottom:10px;right:10px}}.catalog-info-stats>strong{overflow-wrap:anywhere;text-align:right;max-width:26ch}.catalog-info-content>.owned-duel-actions{padding-top:10px}.catalog-info-content>.owned-duel-actions>.ui-button{min-height:38px;padding:8px 10px;font-size:12px}.catalog-info-content:focus{outline:none}.catalog-tile{border:1px solid var(--border);background:var(--surface-1);border-radius:12px;align-self:start;min-width:0;position:relative;overflow:visible}.catalog-tile:hover{border-color:var(--border-strong)}.catalog-tile.is-selected{border-color:var(--accent);box-shadow:inset 0 0 0 1px var(--accent);background:var(--accent-soft)}.catalog-tile>.catalog-tile-button.ui-button{text-align:left;white-space:normal;width:100%;min-height:126px;color:var(--text);background:0 0;border:0;border-radius:11px;flex-direction:column;justify-content:flex-start;align-items:flex-start;gap:10px;padding:14px;display:flex}.catalog-tile-button>strong{overflow-wrap:anywhere;padding-right:12px;font-size:13px;line-height:1.4}.catalog-tile-button>span:last-child{color:var(--muted);font-size:11px;font-weight:400}.catalog-tile.is-selected .catalog-tile-button>span:last-child{color:var(--accent)}.catalog-tile-icon{background:var(--accent-soft);width:32px;height:32px;color:var(--accent);border-radius:9px;place-items:center;display:grid}.catalog-tile-icon>.ui-icon{width:20px;height:20px}.catalog-tile>.community-safety-options{position:absolute;top:5px;right:5px}.catalog-detail{z-index:5;background:var(--surface-1);transform-origin:0 0;isolation:isolate;flex-direction:column;min-width:0;min-height:0;display:flex;position:absolute;inset:0}.catalog-detail>header{border-bottom:1px solid var(--border);flex:none;justify-content:space-between;align-items:center;gap:12px;padding:12px 18px;display:flex}.catalog-detail h3{overflow-wrap:anywhere;margin:0;font-size:18px;line-height:1.3}.catalog-detail>header>.ui-button{flex:none}.catalog-detail-body{overscroll-behavior:contain;flex:1;min-height:0;padding:18px;overflow:auto}.catalog-detail-body>.mod-inspection{border:0;padding:0}.catalog-detail-body .pack-version-info{flex-wrap:wrap;align-items:center;gap:6px 12px;display:flex}.catalog-detail-facts{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:20px 0;display:grid}.catalog-detail-facts>div{border:1px solid var(--border);background:var(--surface-2);border-radius:10px;gap:6px;padding:16px;display:grid}.catalog-detail-facts small{color:var(--muted);font-size:11px}.catalog-detail-facts strong{font-size:15px}.catalog-detail-actions{justify-content:space-between;align-items:center;gap:10px;display:flex}.catalog-detail-body p{color:var(--muted);font-size:12px;line-height:1.6;margin:16px 0!important}.catalog-pager.browser-pagination{border:1px solid var(--border-strong);background:var(--surface-raised);width:max-content;max-width:calc(100% - 24px);box-shadow:var(--shadow-md);z-index:2;border-radius:24px;gap:6px;padding:4px;position:absolute;bottom:10px;left:50%;transform:translate(-50%)}.catalog-pager>.ui-button{background:0 0;border:0;border-radius:50%;width:32px;min-height:32px;padding:6px}.catalog-pager>.ui-button:first-child>.ui-icon{transform:rotate(90deg)}.catalog-pager>.ui-button:last-child>.ui-icon{transform:rotate(-90deg)}.catalog-pager>.browser-page-label{min-width:50px;font-size:11px}.catalog-pager[hidden]{display:none}@media (prefers-reduced-motion:reduce){.catalog-tile{transition:none}}@media (max-width:520px){.catalog-tile>.catalog-tile-button.ui-button{min-height:122px;padding:12px}.catalog-tile-button>strong{font-size:12px}.catalog-detail-body{padding:12px}.catalog-detail>header{padding:8px 12px}.catalog-detail h3{font-size:16px}.catalog-detail-facts{gap:8px}.catalog-detail-facts>div{padding:12px}}.catalog-detail>header{background:linear-gradient(120deg,var(--accent-soft),transparent);border-bottom:1px solid var(--border);justify-content:flex-start;gap:14px;padding:22px 24px}.catalog-detail-heading{flex:1;gap:6px;min-width:0;display:grid}.catalog-detail-label{text-transform:uppercase;letter-spacing:.12em;color:var(--muted);font-size:9px}.catalog-detail h3{letter-spacing:-.03em;font-size:24px;line-height:1.2}.catalog-detail-mark{border:1px solid var(--border);background:var(--accent-soft);width:46px;height:46px;color:var(--accent);border-radius:14px;flex:none;place-items:center;display:grid}.catalog-detail-mark>.ui-icon{width:25px;height:25px}.catalog-detail-body{padding:20px 24px}.catalog-detail-body .pack-detail-info{gap:8px;display:grid}.catalog-detail-body .pack-detail-info>.ui-button{justify-self:start;min-height:24px;padding:0}.catalog-detail-tools{align-items:center;gap:6px;display:flex}.catalog-detail-body .pack-versions-heading{align-items:baseline;margin:26px 0 12px}.catalog-detail-body .pack-versions-heading strong,.catalog-choice-heading{color:var(--text);font-size:13px;font-weight:600}.catalog-choice-heading{margin:24px 0 12px}.catalog-detail-body .pack-version-list{gap:10px}.catalog-version-row{list-style:none}.catalog-choice.ui-button{border:1px solid var(--border);background:var(--surface-2);text-align:left;white-space:normal;width:100%;min-height:82px;color:var(--text);border-radius:12px;justify-content:flex-start;align-items:center;gap:14px;padding:14px 16px;display:flex}.catalog-choice.ui-button:hover:not(:disabled){border-color:var(--accent);background:var(--accent-soft)}.catalog-choice.ui-button[aria-pressed=true]{opacity:1;border-color:color-mix(in srgb,var(--accent) 55%,var(--border));background:var(--accent-soft)}.catalog-choice-mark{box-sizing:border-box;background:var(--surface-hover);min-width:42px;height:42px;color:var(--accent);border-radius:10px;flex:none;place-items:center;padding:6px;font-size:14px;font-weight:650;display:grid}.catalog-choice-info{overflow-wrap:anywhere;flex:1;gap:6px;min-width:0;display:grid}.catalog-choice-info>strong{font-size:14px;font-weight:600}.catalog-choice-info>span,.catalog-choice-info>small{color:var(--muted);font-size:11px;font-weight:400;line-height:1.4}.catalog-choice-state{color:var(--accent);flex:none;font-size:11px}.catalog-choice-state:empty{display:none}.catalog-choice-arrow{color:var(--subtle);width:16px;height:16px;transform:rotate(-90deg)}.catalog-detail-facts{gap:10px;margin:20px 0}.catalog-detail-facts>div{background:0 0;padding:14px 16px}.catalog-detail-body p:empty{display:none}@media (max-width:520px){.catalog-detail>header{gap:10px;padding:16px}.catalog-detail h3{font-size:20px}.catalog-detail-mark{border-radius:11px;width:38px;height:38px}.catalog-detail-body{padding:16px}.catalog-choice.ui-button{gap:10px;min-height:80px;padding:12px}.catalog-choice-info>strong{font-size:13px}.catalog-choice-mark{min-width:36px;height:36px;font-size:12px}.catalog-choice-state{font-size:10px}.catalog-detail-body .pack-detail-meta{align-items:flex-start}}.catalog-tile>.catalog-tile-button.ui-button{aspect-ratio:1;justify-content:center}.catalog-detail>.catalog-detail-body{padding-bottom:76px}.round-setup .catalog-results{container:catalog-tiles/size}.round-setup .catalog-tile>.catalog-tile-button.ui-button{max-height:max(126px,100cqh)}.catalog-tile.has-thumbnail>.catalog-tile-button{isolation:isolate;color:var(--hud-text);position:relative;overflow:hidden}.catalog-tile-thumbnail{object-fit:cover;z-index:-2;width:100%;height:100%;position:absolute;inset:0}.catalog-tile.has-thumbnail>.catalog-tile-button:after{content:"";background:linear-gradient(transparent 15%,var(--hud-bg));z-index:-1;pointer-events:none;position:absolute;inset:0}.catalog-tile.has-thumbnail .catalog-tile-icon{visibility:hidden}.catalog-tile.has-thumbnail>.catalog-tile-button.ui-button{color:var(--hud-text);justify-content:flex-end}.catalog-tile.has-thumbnail .catalog-tile-button>span:last-child{color:var(--hud-text)}.catalog-tile.has-thumbnail>.community-safety-options .community-safety-trigger{background:var(--hud-bg);color:var(--hud-text)}.browser-pagination{flex:none;justify-content:center;align-items:center;gap:12px;padding:8px 0;display:flex}.browser-page-label{color:var(--muted);text-align:center;min-width:60px;font-size:12px}.browser-pagination>button{min-height:36px;padding:8px 12px;font-size:12px}.duel-browser>form.pack-install{grid-template-columns:minmax(0,1fr) auto auto;gap:8px;max-width:none;margin:0 0 12px;display:grid}.duel-browser>form.pack-install>.ui-dropdown{max-width:160px;font-size:12px}@media (max-width:700px){.duel-browser>form.pack-install{grid-template-columns:1fr 1fr}.duel-browser>form.pack-install>.ui-search{grid-column:1/-1}.duel-browser>form.pack-install>.ui-dropdown{width:100%;max-width:none}}.duel-browser>form.pack-install{display:block}.ui-search{box-sizing:border-box;border:1px solid var(--border-strong);background:var(--surface-1);min-width:0;box-shadow:var(--shadow-sm);border-radius:12px;flex:1;transition:border-color .15s,box-shadow .15s}.ui-search:hover:not(.is-disabled){border-color:var(--muted)}.ui-search:focus-within{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft)}.ui-search-line{align-items:center;gap:10px;min-height:48px;padding:0 6px 0 14px;display:flex}.ui-search-symbol{width:18px;height:18px;color:var(--subtle)}.ui-search:focus-within .ui-search-symbol{color:var(--accent)}.ui-search .ui-search-line>.ui-input{width:0;min-width:0;height:46px;min-height:46px;box-shadow:none;background:0 0;border:0;border-radius:0;outline:none;flex:1;padding:10px 0;font-size:14px}.ui-search .ui-input::-webkit-search-cancel-button{-webkit-appearance:none;appearance:none}.ui-search .ui-input::-webkit-search-decoration{-webkit-appearance:none;appearance:none}.ui-search-actions{flex:none;align-items:center;gap:4px;display:flex}.ui-search .ui-search-clear,.ui-search .ui-search-remove{width:36px;height:36px;min-height:36px;color:var(--muted);border:0;border-radius:8px;flex:none;padding:0}.ui-search [hidden]{display:none!important}.ui-search-filters{flex-wrap:wrap;gap:6px;padding:0 10px 10px;display:flex}.ui-search-pill{border:1px solid color-mix(in srgb,var(--accent) 35%,var(--border));min-width:0;max-width:100%;min-height:30px;color:var(--accent);background:var(--accent-soft);border-radius:8px;align-items:center;gap:6px;padding:0 2px 0 10px;font-size:12px;line-height:1.4;display:inline-flex}.ui-search-pill>span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.ui-search-pill>.ui-icon{width:14px;height:14px}.ui-search-pill .ui-search-remove{width:28px;height:28px;min-height:28px;color:inherit}.ui-search-pill:not(:has(button)){padding:5px 10px}.ui-search.is-disabled{opacity:.5;box-shadow:none}.ui-search.is-disabled .ui-input:disabled{opacity:1}.ui-search-symbol.is-loading{border:2px solid var(--border);border-top-color:var(--accent);box-sizing:border-box;border-radius:50%;animation:.8s linear infinite ui-search-spin}.ui-search-symbol.is-loading path{visibility:hidden}@keyframes ui-search-spin{to{transform:rotate(360deg)}}@media (pointer:coarse){.ui-search .ui-search-clear,.ui-search-pill .ui-search-remove{width:44px;height:44px;min-height:44px}.ui-search .ui-search-line>.ui-input{font-size:16px}}@media (prefers-reduced-motion:reduce){.ui-search{transition:none}.ui-search-symbol.is-loading{animation:none}}@media (forced-colors:active){.ui-search:focus-within{outline:2px solid highlight}.ui-search-pill{border-color:buttontext}}.ui-search-footer{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:6px;padding:0 8px 8px;display:flex}.ui-search-footer>.ui-search-filters,.ui-search-footer>.ui-search-dropdowns{display:contents}.ui-search .ui-search-dropdowns>.ui-search-dropdown{box-sizing:border-box;border:1px solid color-mix(in srgb,var(--accent) 30%,var(--border));background-position:right 10px center;background-size:14px 14px;background-color:var(--accent-soft);width:auto;max-width:155px;height:30px;min-height:30px;color:var(--text);box-shadow:none;border-radius:20px;padding:4px 36px 4px 11px;font-size:11px}@media (max-width:520px){.ui-search .ui-search-dropdowns>.ui-search-dropdown{max-width:145px;height:34px;min-height:34px}}.mod-browser{color:var(--text);--editor-muted:var(--muted);--editor-line:var(--border);margin:0;font-size:14px}.mod-browser .mod-search{grid-template-columns:minmax(0,1fr) auto;gap:10px;margin:0;display:grid}.mod-browser .ui-dropdown{max-width:160px}.mod-code{color:var(--muted);margin:14px 0;font-size:12px}.mod-code>summary{cursor:pointer;width:fit-content;padding:4px 0}.mod-code>summary:hover{color:var(--text)}.mod-code form{margin:10px 0 0}.mod-browser .pack-code-lookup{align-items:stretch;gap:8px;width:100%;display:flex}.mod-browser .pack-code-lookup input{flex:1;width:auto;min-width:0}.mod-browser .pack-code-lookup button{flex:none;margin:0}.mod-browser .my-games-note{color:var(--muted);overflow-wrap:anywhere;margin:12px 0;font-size:13px;line-height:1.5}.mod-browser .my-games-note:empty{display:none}.mod-browser>.public-pack-grid{flex-direction:column;gap:10px;margin:18px 0;display:flex}.mod-browser .public-pack-card{background:var(--surface-1);border:1px solid var(--border);border-radius:12px;min-width:0;padding:0;transition:border-color .15s;display:block;overflow:hidden}.mod-browser .public-pack-summary{cursor:pointer;align-items:center;gap:12px;padding:16px;list-style:none;display:flex}.mod-browser .public-pack-summary::-webkit-details-marker{display:none}.mod-browser .public-pack-summary:hover{background:var(--surface-hover)}.mod-browser .public-pack-card[open]{border-color:var(--accent)}.mod-browser .public-pack-title{overflow-wrap:anywhere;flex:1;gap:5px;min-width:0;display:grid}.mod-browser .public-pack-title strong{font-size:14px;font-weight:650;line-height:1.45}.mod-browser .pack-author,.mod-browser small{color:var(--muted);font-size:11px;line-height:1.5}.mod-browser .public-pack-summary>small{white-space:nowrap}.mod-browser .public-pack-icon{background:var(--accent-soft);width:38px;height:38px;color:var(--accent);border-radius:11px;flex:none;place-items:center;font-size:24px;display:grid}.mod-browser .pack-favorite{width:36px;min-height:36px;color:var(--muted);background:0 0;border:0;flex:none;place-items:center;padding:0;font-size:22px;display:grid}.mod-browser .pack-favorite[aria-pressed=true]{color:var(--warning)}.mod-browser .pack-favorite[aria-pressed=true] svg{fill:currentColor}.mod-browser .pack-favorite:hover:not(:disabled){background:var(--warning-soft);color:var(--warning)}.mod-browser .pack-disclosure{fill:none;width:16px;height:16px;stroke:var(--muted);stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;flex:none;transition:transform .15s}.mod-browser details[open]>.public-pack-summary .pack-disclosure{transform:rotate(180deg)}.mod-browser .public-pack-details{border-top:1px solid var(--border);background:var(--surface-2);padding:16px}.mod-browser .pack-detail-meta,.mod-browser .pack-versions-heading{color:var(--muted);flex-wrap:wrap;justify-content:space-between;gap:8px;font-size:11px;display:flex}.mod-browser .pack-detail-meta{flex-wrap:nowrap;align-items:center}.mod-browser .pack-detail-info{flex-wrap:wrap;gap:6px 16px;min-width:0;display:flex}.mod-browser .pack-detail-meta .community-safety-options{margin-right:-6px}.mod-browser .pack-versions-heading{margin:18px 0 8px}.mod-browser .pack-versions-heading strong{color:var(--text);font-size:12px}.mod-browser .pack-version-list{gap:8px;margin:0;padding:0;list-style:none;display:grid}.mod-browser .pack-version{background:var(--surface-1);border:1px solid var(--border);border-radius:9px;flex-wrap:wrap;align-items:center;gap:12px;padding:12px;display:flex}.mod-browser .pack-version-info{overflow-wrap:anywhere;flex:1;gap:4px;min-width:0;font-size:12px;display:grid}.mod-browser .pack-version-info span{color:var(--muted);font-size:11px}.mod-browser .pack-version-actions{flex-wrap:wrap;gap:6px;display:flex}.mod-browser .pack-version-linked{border-color:var(--accent);box-shadow:inset 2px 0 var(--accent)}.mod-browser .pack-game-picker{flex-wrap:wrap;align-items:stretch;gap:8px;width:100%;margin:0;display:flex}.mod-browser .pack-game-picker select{flex:1;min-width:120px;max-width:100%}.mod-browser .public-pack-card>p:not(:empty){padding:0 16px}.mod-browser .public-pack-summary:focus-visible{outline:2px solid var(--focus-ring);outline-offset:-3px}.mod-code>summary:focus-visible{outline:2px solid var(--focus-ring);outline-offset:-3px}@media (max-width:520px){.mod-browser .mod-search{grid-template-columns:minmax(0,1fr) 120px;gap:8px}.mod-browser .ui-input{max-width:100%}.mod-browser .public-pack-summary{flex-wrap:wrap;gap:8px;padding:12px}.mod-browser .public-pack-icon{display:none}.mod-browser .public-pack-summary>small{order:5;width:100%}.mod-browser .public-pack-title{flex-basis:calc(100% - 80px)}.mod-browser .public-pack-details{padding:12px}.mod-browser .pack-version-actions{width:100%}.mod-browser .pack-version-actions>button{flex:1}.mod-browser .pack-version{gap:10px}}@media (prefers-reduced-motion:reduce){.mod-browser button,.mod-browser .public-pack-card,.mod-browser .pack-disclosure{transition:none}}@media (max-width:400px){.mod-browser .mod-search{grid-template-columns:minmax(0,1fr)}.mod-browser .mod-search>.ui-dropdown{width:100%;max-width:none}}.mod-browser>.public-pack-grid{overscroll-behavior:contain;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));grid-auto-rows:max-content;align-content:start;gap:10px;max-height:60dvh;margin:12px 0;padding:2px;display:grid;overflow:auto}.mod-browser .public-pack-card{background:var(--surface-1);flex-direction:column;gap:8px;padding:12px;display:flex;position:relative}.mod-browser .public-pack-card:hover{border-color:var(--border-strong)}.mod-browser .public-pack-card.is-selected{border-color:var(--accent);background:color-mix(in srgb,var(--accent-soft) 40%,var(--surface-1));box-shadow:inset 0 0 0 1px var(--accent)}.pack-tile-top{justify-content:space-between;align-items:center;display:flex}.mod-browser .public-pack-icon{border-radius:9px;width:32px;height:32px}.mod-browser .pack-tile-inspect{text-align:left;white-space:normal;overflow-wrap:anywhere;min-height:40px;color:var(--text);justify-content:flex-start;align-items:flex-start;padding:0;font-size:14px;font-weight:650;line-height:1.4}.mod-browser .pack-tile-author{text-align:left;white-space:normal;overflow-wrap:anywhere;min-height:24px;color:var(--muted);justify-content:flex-start;padding:0;font-size:11px;font-weight:400}.mod-browser .pack-tile-select{width:100%;min-height:38px;margin-top:auto;padding:8px;font-size:12px}.pack-tile-select[aria-pressed=true]{color:var(--accent);border-color:var(--accent);background:var(--accent-soft)}.pack-tile-hint{color:var(--subtle);font-size:10px}dialog.ui-modal.mod-browser-modal{width:min(1120px,100vw - 24px);max-width:1120px;height:min(860px,92dvh)}.mod-browser-modal>.ui-modal-body{flex-direction:column;flex:1;gap:8px;min-height:0;padding:16px;display:flex;overflow:hidden}.mod-browser-modal .ui-modal-body>.mod-browser{flex-direction:column;flex:1;min-height:0;display:flex}.mod-browser-modal .public-pack-grid{flex:1;min-height:80px;max-height:none;margin:0}.mod-browser-modal .mod-code{margin:6px 0}.mod-browser-modal .my-games-note{margin:4px 0}.mod-selection-footer{border-top:1px solid var(--border);flex:none;align-items:center;gap:8px;padding-top:10px;display:flex}.mod-selection-footer>strong{color:var(--muted);margin-right:auto;font-size:12px}.mod-selection-tray{flex-wrap:wrap;flex:none;gap:6px;max-height:72px;display:flex;overflow:auto}.mod-selection-tray:empty{display:none}.mod-selection-tray>button{border:1px solid var(--border);min-height:28px;color:var(--accent);padding:4px 8px;font-size:10px}.mod-selection-tray .ui-icon{width:12px;height:12px}.mod-multiselect-modal>.ui-modal-body>p:empty{display:none}dialog.ui-modal.mod-inspect-modal{width:min(640px,100vw - 24px);max-width:640px}.mod-inspection{padding:0}@media (max-width:520px){.mod-browser>.public-pack-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.mod-browser .public-pack-card{gap:6px;padding:10px}.mod-browser .public-pack-icon{display:grid}.mod-browser .pack-tile-inspect{font-size:12px}.mod-browser .pack-favorite{width:32px;min-height:32px}.mod-selection-footer{flex-wrap:wrap}.mod-selection-footer>strong{flex-basis:100%}.mod-selection-footer>button{flex:1}.mod-browser-modal>.ui-modal-body{padding:12px}.mod-selection-tray{flex-wrap:nowrap;max-height:38px}.mod-selection-tray>button{flex:none}.mod-browser .mod-search{grid-template-columns:minmax(0,1fr) 110px}.mod-browser .mod-search>.ui-dropdown{width:110px;font-size:12px}}.mod-browser .mod-search{display:block}.mod-browser .catalog-search[hidden]{display:none!important}.round-mods .mod-versions-detail>header{--accent:var(--success);--accent-soft:var(--success-soft)}.mod-versions-detail>header{gap:10px;padding:12px 16px}.mod-versions-detail .catalog-detail-mark{border-radius:10px;width:34px;height:34px}.mod-versions-detail .catalog-detail-mark>.ui-icon{width:20px;height:20px}.mod-versions-detail h3{font-size:18px}.mod-versions-detail .catalog-detail-heading{gap:3px}.mod-versions-detail>.catalog-detail-body{padding:12px 16px 76px}.mod-versions-detail .pack-versions-heading{margin:0 0 12px}.mod-inspection>.owned-duel-actions{margin-bottom:20px}@media (max-width:520px){.mod-versions-detail>.catalog-detail-body{padding:12px 12px 72px}}.agent-panel{text-align:left;min-width:0;color:var(--text);font-size:13px;line-height:1.6}.agent-settings{text-align:left;gap:16px;font-size:13px;line-height:1.6;display:grid}.agent-settings p,.agent-settings h3,.agent-panel p{margin:0}.agent-settings label,.agent-panel label{gap:6px;display:grid}.agent-settings input,.agent-panel input{box-sizing:border-box;width:100%;min-width:0}.agent-panel button:not(.ui-button):not(.ui-tab){font:inherit;cursor:pointer;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface-2);color:var(--text);justify-self:start;padding:8px 12px}.agent-panel button:not(.ui-button):not(.ui-tab):hover:not(:disabled){background:var(--surface-hover);border-color:var(--border-strong)}.agent-panel button:not(.ui-button):not(.ui-tab):disabled{opacity:.5;cursor:default}.agent-panel button:not(.ui-button):not(.ui-tab):focus-visible{outline:2px solid var(--focus-ring);outline-offset:2px}.agent-settings small,.agent-panel small{color:var(--muted);display:block}.agent-panel summary{cursor:pointer}.agent-panel details>:not(summary){margin-top:10px}.agent-actions{flex-wrap:wrap;gap:8px;display:flex}.agent-pairing-form{gap:10px;display:grid}.agent-pairing-form input{font-variant-numeric:tabular-nums;letter-spacing:.08em;text-transform:uppercase}.agent-settings>button{justify-self:start}.agent-usage,.agent-notice{color:var(--accent)}.agent-notice{margin:12px 0 0}.agent-notice:empty{display:none}.agent-endpoint,.agent-key{border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface-2);gap:10px;padding:14px;display:grid}.agent-endpoint code{overflow-wrap:anywhere;white-space:normal}.agent-endpoint>button{justify-self:start}.agent-connection{border-top:1px solid var(--border);justify-content:space-between;align-items:center;gap:12px;padding:14px 0;display:flex}.agent-connection>div{overflow-wrap:anywhere;min-width:0}.agent-connections{gap:8px;display:grid}.ai-provider-connected{color:var(--success)}.website-ai-setup,.website-ai-instructions{white-space:normal;gap:12px;min-width:0;display:grid}.website-ai-instructions:empty,.website-ai-instructions small:empty{display:none}.website-ai-choices{flex-wrap:wrap;gap:6px;display:flex}.website-ai-choices>button{flex:1}.agent-panel .website-ai-choices>button[aria-pressed=true]{background:var(--accent-soft);color:var(--accent);border-color:var(--accent)}.website-ai-actions{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.website-ai-setup a{color:var(--accent);text-underline-offset:3px}.website-ai-steps{margin:0;padding-left:20px}.website-ai-steps>li{padding-left:3px}.website-ai-steps>li+li{margin-top:7px}.website-ai-routes{grid-template-columns:minmax(0,1fr);gap:8px;min-width:0;display:grid}.website-ai-setup .website-ai-route{border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface-2);min-width:0;color:var(--text);align-items:center;gap:12px;padding:14px;text-decoration:none;transition:background .15s,border-color .15s;display:flex}.website-ai-route:hover{background:var(--surface-hover);border-color:var(--border-strong)}.website-ai-route:focus-visible{outline:2px solid var(--focus-ring);outline-offset:2px}.website-ai-route>.ui-icon{width:20px;height:20px;color:var(--accent);flex:0 0 20px}.website-ai-route-copy{white-space:normal;overflow-wrap:anywhere;flex:1;min-width:0}.website-ai-route-copy strong{font-size:14px;display:block}.website-ai-route-copy small{margin-top:2px;line-height:1.45}.website-ai-route>.website-ai-route-arrow{width:16px;height:16px;color:var(--muted);flex-basis:16px;transform:rotate(-90deg)}.website-ai-route[aria-disabled=true]{opacity:.5;pointer-events:none}.website-ai-setup button.website-ai-route{text-align:left;width:100%;font:inherit;cursor:pointer}.ai-account-switch textarea{box-sizing:border-box;resize:vertical;width:100%;color:var(--text);background:var(--surface-2);border:1px solid var(--border);border-radius:var(--radius-sm);font:inherit;padding:10px;font-size:13px}.ai-account-switch p{overflow-wrap:anywhere}.editor-account-controls{align-items:center;gap:7px;min-width:0;display:flex}.editor-account-controls>button[hidden]{display:none}.my-games .editor-build-balance{font-variant-numeric:tabular-nums;color:var(--muted);background:0 0;border-color:#0000;padding:6px 2px}.agent-dropdown{box-sizing:border-box;border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface-raised);width:min(380px,100vw - 16px);max-width:calc(100vw - 16px);max-height:calc(100dvh - 32px);color:var(--text);box-shadow:var(--shadow-lg);white-space:normal;margin:0;padding:18px;font-size:13px;line-height:1.6;position:fixed;inset:auto;overflow:auto}.agent-dropdown>strong{margin-bottom:12px;display:block}.editor-log{text-align:left;flex:1;min-height:0;padding:14px 16px;font-size:12px;line-height:1.6;overflow:auto}.editor-log-entry{border-bottom:1px solid var(--border);padding:12px 0}.editor-log-entry strong{color:var(--text);font-size:12px}.editor-log-entry[data-state=failed] strong{color:var(--danger)}.editor-log-entry[data-state=complete] strong{color:var(--success)}.editor-log-entry p{color:var(--muted);overflow-wrap:anywhere;margin:4px 0}.editor-log-entry summary{cursor:pointer;color:var(--muted)}.editor-log-entry pre{white-space:pre-wrap;overflow-wrap:anywhere;border-radius:var(--radius-sm);background:var(--surface-2);padding:10px;font-size:11px}.editor-log-empty,.editor-log-connection{color:var(--muted);margin:0 0 10px}.editor-log-heading{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:12px;display:flex}.editor-log-heading time{color:var(--muted);font-variant-numeric:tabular-nums;white-space:nowrap;font-size:11px}@media (max-width:600px){.editor-account-controls{gap:5px}.editor-account-controls>.editor-build-balance{font-size:11px}.agent-dropdown{padding:14px}}.my-games{--editor-line:var(--border);--editor-muted:var(--muted);background:var(--bg);color:var(--text);padding:0;font-size:13px}.my-games,.my-games.is-editor{width:100%;height:100dvh;max-height:none;box-shadow:none;z-index:100;border:0;border-radius:0;outline:none;margin:0;position:fixed;inset:0;overflow:hidden}.my-games:not([hidden]){flex-direction:column;display:flex}.my-games[hidden]{display:none}.my-games>.view-bar{display:none!important}body.workspace-active>:not(.my-games):not(.ui-modal){visibility:hidden}.my-games:not(.is-editor) .my-games-content{overflow:auto}.my-games:not(.is-editor) .my-games-grid{grid-template-columns:repeat(auto-fill,minmax(240px,360px))}.my-games .editor-header{background:var(--surface-1);border-bottom:1px solid var(--editor-line);flex-shrink:0;align-items:center;gap:12px;padding:14px 18px;display:flex}.my-games .editor-header>.editor-back{flex:none;margin:0}.my-games h1{letter-spacing:-.025em;margin:3px 0 0;font-size:18px;font-weight:650}.my-games h2{margin:12px 0;font-size:20px}.my-games-eyebrow{letter-spacing:.12em;color:var(--muted);margin:0;font-size:9px;font-weight:700}.my-games-intro{margin:8px 0 26px;font-size:22px;font-weight:500}.my-games :where(button:not(.ui-button):not(.ui-tab),input:not(.ui-input),textarea:not(.ui-input)){font:inherit;border:1px solid var(--border);border-radius:var(--radius-sm);color:inherit;background:var(--surface-2);box-sizing:border-box;padding:8px 12px}.my-games button:not(.ui-button):not(.ui-tab){cursor:pointer;white-space:nowrap;font-weight:550}.my-games button:not(.ui-button):not(.ui-tab):hover:not(:disabled){background:var(--surface-hover);border-color:var(--accent)}.my-games button:not(.ui-button):not(.ui-tab):disabled{opacity:.4;cursor:default}.my-games button:not(.ui-button):not(.ui-tab).my-games-primary{background:var(--accent);color:var(--on-accent);border-color:var(--accent)}.my-games button:not(.ui-button):not(.ui-tab).my-games-primary:hover:not(:disabled){background:var(--accent-hover);border-color:var(--accent-hover)}.my-games button:not(.ui-button):not(.ui-tab):focus-visible{outline:2px solid var(--focus-ring);outline-offset:2px}.my-games-content{flex:1;min-height:0;padding:26px}.is-editor .my-games-content{flex-direction:column;padding:0;display:flex;overflow:hidden}.my-games-create{gap:10px;display:flex}.my-games-create input{flex:1;min-width:80px}.my-games-grid{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:18px;margin-top:26px;display:grid}.my-game-card{border:1px solid var(--editor-line);background:var(--surface-3);border-radius:8px;padding:18px}.my-game-art{height:90px;color:var(--accent);background:radial-gradient(ellipse at center,var(--accent-soft),transparent);place-items:center;margin-bottom:16px;font-size:48px;display:grid}.my-game-card p{color:var(--editor-muted)}.my-game-card button{margin:8px 6px 0 0}.editor-save-state{color:var(--success);white-space:nowrap;margin-left:auto;font-size:11px}.editor-save-state[data-state=error]{color:var(--danger)}.editor-save-state[data-state=pending],.editor-save-state[data-state=saving]{color:var(--warning)}.editor-toolbar{background:var(--surface-2);border-bottom:1px solid var(--editor-line);flex-shrink:0;align-items:center;gap:8px;padding:9px 14px;display:flex}.editor-toolbar-spacer{flex:1}.editor-toolbar button:not(.view-back){font-size:12px}.editor-mobile-tabs{display:none}.editor-workspace{flex:1;min-height:0;display:grid}.editor-viewport{background:var(--surface-1);flex-direction:column;min-width:0;min-height:0;display:flex;position:relative}.editor-panel-bar{box-sizing:border-box;background:var(--surface-2);border-bottom:1px solid var(--editor-line);flex-shrink:0;align-items:center;min-height:37px;padding:5px 12px;display:flex}.editor-panel-bar strong{white-space:nowrap;font-size:12px;font-weight:600}.editor-panel-bar button{background:var(--surface-3);padding:4px 8px;font-size:11px}.editor-preview-badge{color:var(--muted);letter-spacing:.05em;margin-right:auto;font-size:9px}.editor-scene{background:radial-gradient(ellipse at center,var(--surface-3),var(--bg));touch-action:none;outline:none;flex:1;min-height:0;position:relative;overflow:hidden}.editor-scene:focus-visible{outline:1px solid var(--focus-ring);outline-offset:-2px}.editor-scene iframe{pointer-events:none;border:0;width:100%;height:100%;position:absolute;inset:0}.editor-camera-hint{color:var(--muted);background:var(--surface-1);box-sizing:border-box;min-height:27px;padding:7px 12px;font-size:10px}.editor-chat{background:var(--surface-1);flex-direction:column;min-width:0;min-height:0;display:flex}.editor-chat>.editor-panel-bar{justify-content:space-between;min-height:42px}.editor-messages{flex:1;padding:16px;overflow:auto}.editor-message{color:var(--muted);overflow-wrap:anywhere;margin:0 0 20px;font-size:12px;line-height:1.65}.editor-message>p{margin:8px 0}.editor-message>p:first-of-type{color:var(--text)}.editor-message.is-user{background:var(--accent-soft);border:1px solid var(--accent-soft);border-radius:8px;padding:12px}.editor-message[data-state=failed]{border-left:2px solid var(--danger);padding-left:12px}.editor-message pre{white-space:pre-wrap}.editor-message .my-games-eyebrow{color:var(--accent)}.editor-chat-feed{flex:1;min-height:0;position:relative;container-type:size}.editor-chat-feed>.editor-messages{box-sizing:border-box;padding:16px 18px calc(var(--composer-height,220px) + 12px) 16px;scroll-padding-bottom:calc(var(--composer-height,220px) + 12px);-webkit-mask-image:linear-gradient(to bottom,transparent,var(--text) 14px);mask-image:linear-gradient(to bottom,transparent,var(--text) 14px);position:absolute;inset:0}.editor-composer{background:linear-gradient(to bottom,transparent,var(--surface-1) 24px);box-sizing:border-box;border:0;padding:24px 12px 12px;position:absolute;inset:auto 10px 0 0}.editor-composer-label{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;padding:0;position:absolute;overflow:hidden}.editor-composer .md-editor{background:var(--surface-2);border-color:var(--border);border-radius:12px}.editor-composer .md-tools{background:0 0;border:0;padding:6px}.editor-composer .md-tools button{background:0 0;border:0;width:27px;height:25px;padding:0;font-size:12px}.editor-composer .md-live{min-height:0;overflow:hidden}.editor-composer .cm-scroller{min-height:min(105px,max(36px,100cqh - 160px))}.editor-composer .cm-editor{max-height:min(24dvh,max(36px,100cqh - 160px));font-size:12px}.editor-composer-foot{flex-shrink:0;justify-content:flex-end;align-items:center;min-height:32px;padding:4px 8px 8px;display:flex}.my-games .editor-composer .editor-send{background:var(--accent);width:32px;min-width:32px;height:32px;color:var(--on-accent);border:0;border-radius:50%;place-items:center;padding:0;display:grid}.my-games .editor-composer .editor-send:hover:not(:disabled){background:var(--accent-hover)}.editor-send svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:19px;height:19px}.my-games .editor-icon-button{place-items:center;width:36px;min-width:36px;height:36px;padding:0;display:inline-grid}.editor-icon-button svg{fill:none;stroke:currentColor;stroke-width:1.7px;stroke-linecap:round;stroke-linejoin:round;width:18px;height:18px}.my-games .editor-more{font-size:24px;line-height:1}.editor-options-menu{box-sizing:border-box;border:1px solid var(--border);background:var(--surface-2);width:max-content;min-width:0;max-width:calc(100vw - 16px);height:auto;max-height:calc(100dvh - 16px);color:var(--text);box-shadow:0 12px 30px color-mix(in srgb,var(--shadow-color) 33%,transparent);border-radius:8px;margin:0;padding:5px;position:fixed;inset:auto;overflow:auto}.editor-options-menu:popover-open{flex-direction:column;gap:2px;display:flex}.my-games .editor-options-menu button:not(.view-back){text-align:left;white-space:normal;overflow-wrap:anywhere;background:0 0;border:0;flex:none;justify-content:flex-start;align-items:center;gap:10px;width:100%;height:auto;min-height:38px;margin:0;padding:8px 10px;font-size:12px;line-height:1.4;display:flex}.editor-menu-icon{display:none}.editor-options-menu .editor-menu-icon{fill:none;stroke:currentColor;stroke-width:1.7px;stroke-linecap:round;stroke-linejoin:round;opacity:.8;flex:0 0 16px;width:16px;height:16px;display:block}.editor-options-menu .editor-toolbar-symbol{display:none!important}.my-games .editor-options-menu button:hover{background:var(--surface-hover)}.editor-base-picker{align-content:start;gap:14px;display:grid}.editor-base-picker>label{gap:8px;font-size:12px;display:grid}.editor-base-picker select{box-sizing:border-box;width:100%;min-width:0}.editor-base-picker>p{margin:0}.editor-base-picker details{font-size:12px}.editor-base-picker details p{overflow-wrap:anywhere}.editor-base-picker .editor-modal-actions{margin-top:4px}.my-games-note{color:var(--editor-muted);font-size:10px;line-height:1.5}.editor-files{background:var(--bg);flex-direction:column;min-width:0;min-height:0;display:flex}.editor-file-body{flex:1;min-height:0;display:grid}.editor-file-list{background:var(--surface-2);border-right:1px solid var(--editor-line);padding:8px;overflow:auto}.editor-file-list button{text-align:left;background:0 0;border:0;align-items:center;gap:8px;width:100%;padding:7px 8px;font-size:11px;font-weight:400;display:flex}.editor-file-list button>span:last-child{text-overflow:ellipsis;overflow:hidden}.editor-file-list button[aria-current=true]{background:var(--accent-soft);color:var(--accent)}.editor-file-icon{color:var(--accent);flex-shrink:0;width:20px;font:9px ui-monospace,monospace}.editor-source{flex-direction:column;min-width:0;min-height:0;display:flex}.editor-file-path{color:var(--muted);background:var(--surface-1);border-bottom:1px solid var(--border);text-overflow:ellipsis;white-space:nowrap;padding:8px 12px;font:10px ui-monospace,Consolas,monospace;overflow:hidden}.my-games textarea.my-games-code{resize:none;white-space:pre;tab-size:2;width:100%;min-height:0;color:var(--text);background:var(--bg);border:0;border-radius:0;outline:none;flex:1;padding:10px 14px;font:12px/1.7 ui-monospace,Consolas,monospace}.my-games textarea.my-games-code:focus{box-shadow:none}.editor-history{margin-left:auto;font-size:11px;position:relative}.editor-history summary{cursor:pointer;color:var(--muted)}.editor-history-list{z-index:3;background:var(--surface-2);border:1px solid var(--border-strong);width:280px;max-height:260px;box-shadow:0 10px 30px color-mix(in srgb,var(--shadow-color) 53%,transparent);border-radius:6px;padding:12px;position:absolute;bottom:24px;right:0;overflow:auto}.my-games-revision{justify-content:space-between;align-items:center;gap:12px;margin:8px 0;font-size:11px;display:flex}.my-games-empty{color:var(--editor-muted);padding:24px}@media (min-width:1500px){.editor-workspace{grid-template-rows:minmax(200px,1fr) 290px;grid-template-columns:minmax(0,1fr) 390px}}@media (max-width:1000px){.editor-workspace{grid-template-rows:minmax(150px,1fr) 220px;grid-template-columns:minmax(0,1fr) 300px}.editor-file-body{grid-template-columns:150px minmax(0,1fr)}.editor-preview-badge{z-index:1;background:color-mix(in srgb,var(--surface-1) 90%,transparent);pointer-events:none;border-radius:4px;padding:5px 8px;position:absolute;top:46px;left:12px}.editor-panel-bar{gap:8px}}@media (max-width:760px),(max-width:1000px) and (max-height:500px){.my-games.is-editor{border:0;border-radius:0;width:100vw;height:100dvh;margin:0}.my-games .editor-header{gap:9px;padding:10px}.my-games h1{text-overflow:ellipsis;white-space:nowrap;max-width:40vw;font-size:15px;overflow:hidden}.editor-brand{width:29px;height:29px;font-size:12px}.editor-header .my-games-eyebrow{font-size:8px}.editor-save-state{white-space:normal;text-align:right;max-width:90px;font-size:9px}.editor-header button:not(.view-back){padding:6px 9px;font-size:11px}.editor-toolbar{gap:6px;padding:8px;overflow:auto}.editor-toolbar button:not(.view-back){padding:7px 9px;font-size:11px}.editor-toolbar-spacer{display:none}.editor-mobile-tabs.ui-tabs{background:var(--surface-2);gap:0;padding:0 8px;display:flex}.editor-mobile-tabs>.ui-tab{flex:1;min-width:0;padding:11px 6px;font-size:12px}.editor-workspace{flex-direction:column;display:flex}.editor-workspace>section,.editor-workspace>aside{flex:1;min-height:0;display:none}.editor-workspace[data-pane=viewport]>.editor-viewport,.editor-workspace[data-pane=files]>.editor-files,.editor-workspace[data-pane=chat]>.editor-chat{display:flex}.editor-file-body{grid-template-columns:125px minmax(0,1fr)}.editor-file-list{padding:5px}.editor-file-list button{padding:7px 3px;font-size:10px}.editor-camera-hint{font-size:9px}.editor-composer .cm-editor{max-height:30dvh}.editor-composer .md-live,.editor-composer .cm-scroller{min-height:140px}.my-games-content{padding:18px}.my-games-intro{font-size:18px}}.editor-workspace{grid-template-columns:minmax(0,1fr) 6px var(--sidebar-width,340px);grid-template-rows:var(--viewport-height,65%) 6px var(--files-row,minmax(0,1fr));background:var(--surface-2);gap:0}.editor-viewport{grid-area:1/1;overflow:hidden}.editor-files{grid-area:3/1;align-self:start;position:relative}.editor-chat{grid-area:1/3/4;align-self:start;position:relative;overflow:hidden}.editor-file-body{grid-template-columns:var(--file-list-width,200px) 6px minmax(0,1fr)}.editor-file-list{border:0}.editor-panel-bar{gap:8px;min-width:0;position:relative}.editor-panel-bar>strong{text-overflow:ellipsis;overflow:hidden}.editor-panel-bar .editor-panel-toggle{background:0 0;border-color:#0000;width:24px;min-width:24px;margin-left:auto;padding:2px;font-size:17px;line-height:20px}.editor-panel-toggle:hover{background:var(--surface-hover)!important}.editor-chat>.editor-panel-bar .my-games-eyebrow{margin-left:auto;font-size:8px}.editor-chat>.editor-panel-bar .editor-panel-toggle{margin-left:0}.editor-resizer{background:var(--surface-2);touch-action:none;-webkit-user-select:none;user-select:none;z-index:4;outline:none;flex-shrink:0;position:relative}.editor-resizer[aria-orientation=vertical]{cursor:col-resize;min-width:6px}.editor-resizer[aria-orientation=horizontal]{cursor:row-resize;min-height:6px}.editor-resizer:after{content:"";transition:background .12s;position:absolute;inset:0}.editor-resizer:hover:after,.editor-resizer.is-dragging:after{background:var(--focus-ring)}.editor-resizer:focus-visible:after{background:var(--focus-ring)}.editor-column-divider{grid-area:1/2/4}.editor-row-divider{grid-area:2/1}.editor-file-divider{grid-area:1/2}.editor-files,.editor-chat{box-sizing:border-box}.is-chat-collapsed .editor-chat>:not(.editor-panel-bar){display:none!important}.is-viewport-collapsed .editor-viewport .editor-panel-bar>:not(strong):not(.editor-panel-toggle),.is-files-collapsed .editor-files .editor-panel-bar>:not(strong):not(.editor-panel-toggle),.is-chat-collapsed .editor-chat .editor-panel-bar>:not(strong):not(.editor-panel-toggle){display:none}.is-files-collapsed .editor-files{padding:0;width:100%!important}.is-chat-collapsed .editor-chat{padding:0}.is-chat-collapsed .editor-chat>.editor-panel-bar{flex-direction:column;justify-content:flex-start;gap:14px;height:100%;padding:7px 5px}.is-chat-collapsed .editor-chat .editor-panel-toggle{order:-1}.is-chat-collapsed .editor-chat strong{writing-mode:vertical-rl;overflow:visible}.editor-offline{color:var(--warning);cursor:help;outline-offset:2px;border-radius:4px;flex-shrink:0;place-items:center;width:24px;font-size:18px;display:inline-grid;position:relative}.editor-offline-tooltip{z-index:10;border:1px solid var(--warning-soft);background:var(--warning-soft);width:220px;color:var(--warning);box-shadow:0 5px 20px color-mix(in srgb,var(--shadow-color) 53%,transparent);border-radius:5px;padding:10px 12px;font:11px/1.5 system-ui;display:none;position:absolute;top:30px;right:0}.editor-offline:hover .editor-offline-tooltip,.editor-offline:focus .editor-offline-tooltip{display:block}@media (max-width:760px),(max-width:1000px) and (max-height:500px){.editor-workspace{display:flex}.editor-column-divider,.editor-row-divider{display:none}.editor-file-body{grid-template-columns:var(--file-list-width,125px) 8px minmax(0,1fr)}.editor-workspace>.editor-viewport,.editor-workspace>.editor-files,.editor-workspace>.editor-chat{width:100%;height:100%;padding-right:0}.is-chat-collapsed .editor-chat>.editor-panel-bar{flex-direction:row;justify-content:space-between;height:38px}.is-chat-collapsed .editor-chat strong{writing-mode:horizontal-tb}.is-chat-collapsed .editor-chat .editor-panel-toggle{order:0}.editor-panel-bar,.editor-chat>.editor-panel-bar{min-height:38px}.editor-offline-tooltip{right:0}.editor-files .editor-history-list{top:25px;bottom:auto}}.editor-messages{min-height:0}.editor-viewport .editor-panel-bar{flex-wrap:wrap}.editor-files{container-type:inline-size}@container (width<=350px){.editor-files>.editor-panel-bar>.my-games-note{display:none}}@container (width<=280px){.editor-files .editor-history{display:none}}.editor-history-button{margin-left:auto}.editor-history-button[aria-pressed=true]{color:var(--text);background:var(--surface-hover)!important}.editor-file-path{box-sizing:border-box;flex-shrink:0;align-items:center;gap:10px;min-height:35px;display:flex}.editor-file-path>span{text-overflow:ellipsis;min-width:0;overflow:hidden}.editor-json-toggle{cursor:pointer;flex-shrink:0;align-items:center;gap:7px;margin-left:auto;font:10px system-ui;display:flex}.my-games .editor-json-toggle input{-webkit-appearance:none;appearance:none;border:1px solid var(--border-strong);background:var(--surface-3);cursor:pointer;border-radius:12px;width:30px;height:17px;margin:0;padding:0;position:relative}.editor-json-toggle input:after{content:"";background:var(--muted);border-radius:50%;width:11px;height:11px;transition:transform .15s;position:absolute;top:2px;left:2px}.my-games .editor-json-toggle input:checked{background:var(--accent)}.editor-json-toggle input:checked:after{background:var(--on-accent);transform:translate(13px)}.editor-json-form{background:var(--bg);border:0;flex:1;min-width:0;min-height:0;margin:0;padding:14px;overflow:auto}.editor-json-group{border-left:1px solid var(--border);margin:0 0 10px;padding:0 0 5px}.editor-json-group>summary{cursor:pointer;color:var(--accent);padding:7px 10px;font-size:11px}.editor-json-group>.editor-json-group{margin-left:12px}.editor-json-field{flex-wrap:wrap;align-items:center;gap:12px;padding:7px 10px;font-size:12px;display:flex}.editor-json-field>span{text-transform:capitalize;min-width:100px;color:var(--text);flex:1}.my-games .editor-json-field input:not([type=checkbox]),.my-games .editor-json-field textarea{width:45%;min-width:90px;max-width:100%}.editor-json-field textarea{resize:vertical}.editor-json-field input[type=checkbox]{accent-color:var(--accent);width:17px;height:17px}.editor-json-field [aria-invalid=true]{outline:1px solid var(--danger)}.editor-json-error{color:var(--danger);white-space:normal;font-size:11px;line-height:1.5}.editor-json-error:empty{display:none}.editor-json-group>button,.editor-json-remove{margin:5px 10px;padding:4px 8px!important;font-size:10px!important}.editor-commits{flex:1;min-height:0;padding:14px;overflow:auto}.editor-commits h3{margin:0 0 5px;font-size:14px}.editor-commits>.my-games-note{margin-top:0}.editor-commit{border:1px solid var(--border);background:var(--surface-2)}.editor-commit>summary,.editor-commit-change>summary{cursor:pointer;overflow-wrap:anywhere;padding:10px;font-size:12px}.editor-commit summary small{color:var(--muted);margin-top:5px;font-size:9px;display:block}.editor-commit-children{border-left:2px solid var(--accent)}.editor-commit-change{border-top:1px solid var(--border)}.editor-commit-change>summary{font:11px ui-monospace,monospace}.editor-change-content>button{padding:5px 8px;font-size:10px}.editor-change-diff{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:10px;display:grid}.editor-change-diff strong{color:var(--accent);font-size:10px}.editor-change-diff pre{background:var(--surface-1);tab-size:2;max-height:220px;padding:8px;font:10px/1.5 ui-monospace,monospace;overflow:auto}.editor-snapshots{margin-top:15px;font-size:11px}.editor-snapshots>summary{cursor:pointer;color:var(--muted)}.editor-snapshots .my-games-revision{font-size:10px}.editor-snapshots button{padding:4px 8px;font-size:10px}@media (max-width:760px),(max-width:1000px) and (max-height:500px){.editor-json-field{gap:6px;padding:7px 2px}.editor-json-field>span{min-width:80px}.editor-json-form,.editor-commits{padding:8px}.editor-file-path{flex-wrap:wrap;padding:7px}.editor-change-diff{grid-template-columns:1fr}}.editor-setting-help,.editor-json-field>.editor-json-error{flex-basis:100%;font-size:11px;line-height:1.4}.editor-setting-help{color:var(--muted)}.editor-settings-errors{white-space:pre-line;padding:0 14px}.pack-install,.pack-actions{flex-wrap:wrap;align-items:center;gap:8px;margin:10px 0;display:flex}.pack-install input{flex:1;min-width:120px}.editor-pack{border:1px solid var(--border);border-radius:8px;margin:10px 0;padding:12px}.pack-actions strong{flex:1;min-width:140px}.editor-pack pre,.pack-reports p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:11px}.editor-pack small{color:var(--muted);overflow-wrap:anywhere}.pack-reports{border-left:2px solid var(--accent);padding-left:12px}.editor-sidebar{grid-area:1/3/4;grid-template-rows:minmax(0,1fr);min-width:0;min-height:0;display:grid;overflow:hidden}.editor-sidebar>.editor-chat{grid-area:3/1;align-self:stretch;height:auto;min-height:0}.editor-changes{background:var(--surface-1);flex-direction:column;grid-area:1/1;min-width:0;min-height:0;display:flex;overflow:hidden;container-type:inline-size}.editor-sidebar-divider{grid-area:2/1}.editor-changes-content{flex:1;min-width:0;min-height:0;display:flex;overflow:hidden}.editor-changes>.editor-panel-bar>button:not(.editor-panel-toggle){margin-left:auto}.editor-changes>.editor-panel-bar .editor-panel-toggle{margin-left:0}.is-changes-collapsed .editor-changes>.editor-panel-bar .editor-panel-toggle{margin-left:auto}.is-changes-collapsed .editor-changes .editor-panel-bar>:not(strong):not(.editor-panel-toggle){display:none}.editor-sidebar .editor-panel-bar{height:38px;min-height:38px}.is-chat-collapsed .editor-sidebar .editor-chat>.editor-panel-bar{flex-direction:row;justify-content:space-between;gap:8px;height:38px;padding:5px 12px}.is-chat-collapsed .editor-sidebar .editor-chat strong{writing-mode:horizontal-tb;overflow:hidden}.is-chat-collapsed .editor-sidebar .editor-chat .editor-panel-toggle{order:0;margin-left:auto}.is-sidebar-collapsed .editor-sidebar .editor-panel-bar>strong{display:none}.is-sidebar-collapsed .editor-sidebar .editor-panel-bar{padding:5px}.editor-changes .editor-commits{box-sizing:border-box;min-width:0;padding:16px}.editor-commit{border-radius:8px;margin:14px 0;overflow:hidden}.editor-commit>summary{padding:14px;line-height:1.5}.editor-commit-children{margin:0 12px 14px;padding-left:8px}.editor-commit-empty{padding:8px;line-height:1.5}.editor-commit-publish{border-top:1px solid var(--border);background:var(--surface-2);padding:12px 14px}.editor-commit-publish>summary{cursor:pointer;color:var(--accent);font-size:11px;line-height:1.5}.editor-commit-publish .pack-install{margin:12px 0}.editor-commit-publish .pack-install input{flex-basis:100%;width:100%;min-width:0}.editor-commit-publish .my-games-note{overflow-wrap:anywhere;margin:10px 0 0}.editor-commit-publish .my-games-note input{width:100%;min-width:0;margin-top:8px}.editor-change-content{min-width:0;padding:4px 10px 12px}.editor-change-diff>div{min-width:0}.editor-snapshots{border:1px solid var(--border);border-radius:8px;margin:16px 0;padding:14px}.editor-snapshots>summary{line-height:1.5}.editor-snapshots .my-games-revision{border-top:1px solid var(--border);flex-wrap:wrap;margin:0;padding:10px 0;line-height:1.5}.editor-snapshots .my-games-revision>span{overflow-wrap:anywhere;flex:160px;min-width:0}.editor-changes .pack-install input{min-width:0;max-width:100%}@container (width<=420px){.editor-change-diff{grid-template-columns:1fr}.editor-changes .pack-actions strong{flex-basis:100%}}@media (max-width:760px),(max-width:1000px) and (max-height:500px){.editor-workspace>.editor-sidebar{flex:1;width:100%;height:100%;min-height:0;display:none}.editor-workspace[data-pane=chat]>.editor-sidebar{display:grid}.editor-changes .editor-commits{padding:12px}.editor-sidebar .editor-composer .md-live{min-height:0}.editor-sidebar .editor-composer .cm-scroller{min-height:min(75px,max(36px,100cqh - 160px))}.editor-sidebar .editor-composer .cm-editor{max-height:min(18dvh,max(36px,100cqh - 160px))}}.editor-changes-content{background:var(--surface-1)}.history-actions{flex-wrap:wrap;gap:8px;margin:0 0 14px;display:flex}.history-actions button{flex:1;font-size:11px}.editor-commits>.editor-json-error:empty{display:none}.history-timeline{flex-direction:column;gap:12px;display:flex}.history-timeline>.editor-commit{margin:0}.history-version{border:1px solid var(--accent);background:var(--accent-soft);border-radius:8px;flex-direction:column;gap:7px;padding:14px;display:flex}.history-version strong{overflow-wrap:anywhere}.history-version>small{color:var(--muted);font-size:10px}.history-version .pack-actions{margin:0}.history-group-actions{flex-wrap:wrap;gap:7px;padding:0 12px 12px;display:flex}.history-group-actions button{padding:5px 8px;font-size:10px}.pack-heading{overflow-wrap:anywhere;flex-direction:column;gap:6px;display:flex}.pack-tab h3{color:var(--muted);margin:22px 0 8px;font-size:12px}.pack-tab .pack-actions button{padding:5px 7px;font-size:10px}dialog.ui-modal.editor-modal{width:min(1050px,94vw);height:min(790px,90dvh);max-height:none;overflow:hidden}.editor-modal-body{flex:1}.editor-modal-body>.editor-json-error:empty{display:none}.pack-code-piece{border:1px solid var(--border);border-radius:5px;flex-shrink:0;align-items:flex-start;gap:10px;padding:9px;display:flex}.pack-code-piece input{accent-color:var(--accent);flex-shrink:0;margin-top:3px}.pack-code-piece>div{flex:1;min-width:0}.pack-code-piece small{color:var(--muted);font:9px ui-monospace,monospace}.pack-code-piece pre{white-space:pre-wrap;overflow-wrap:anywhere;margin:5px 0 0;padding:6px;font:11px/1.55 ui-monospace,monospace}.code-removed{background:var(--danger-soft);color:var(--danger)}.code-added{background:var(--success-soft);color:var(--success)}@media (max-width:600px){dialog.ui-modal.editor-modal{width:96vw;height:94dvh}.pack-code-piece{gap:4px;padding:5px}}.editor-modal form.pack-install{flex-direction:row;justify-content:flex-start;align-items:center;width:100%;max-width:650px}.editor-modal .pack-install input{flex:1;width:auto;min-width:120px}dialog.ui-modal.editor-modal-compact{width:min(520px,94vw);height:max-content;max-height:min(90dvh,calc(100dvh - 32px - env(safe-area-inset-top) - env(safe-area-inset-bottom)))}.editor-modal-compact>.ui-modal-body{flex:0 auto}.editor-file-folder{min-width:0;padding-left:10px}.editor-file-list>.editor-file-folder{padding-left:0}.editor-file-folder>summary{cursor:pointer;color:var(--muted);-webkit-user-select:none;user-select:none;padding:7px 4px;font-size:11px}.editor-file-folder>summary:hover{color:var(--text)}.editor-file-name{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.editor-file-list .editor-file-dirty{background:var(--warning);border-radius:50%;flex:0 0 7px;width:7px;height:7px;margin-left:auto}.editor-file-dirty[hidden]{display:none}.editor-modal-actions{justify-content:flex-end;gap:8px;margin-top:18px;display:flex}.editor-new-file{gap:12px;display:grid}.editor-new-file label{gap:8px;display:grid}.editor-new-file input{box-sizing:border-box;width:100%}.editor-new-file p{margin:0}.editor-new-file button{justify-self:end}.my-games .editor-file-tree-toggle{display:none}@media (max-width:760px),(max-width:1000px) and (max-height:500px){.my-games{padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);box-sizing:border-box}.my-games .editor-header{gap:8px;padding:8px 10px}.editor-header>div:not(.editor-brand){min-width:0}.editor-brand{flex-shrink:0}.my-games h1{max-width:36vw}.editor-header .my-games-eyebrow{letter-spacing:.06em;font-size:7px}.editor-toolbar{gap:6px;min-width:0;padding:6px 10px;overflow:visible}.editor-toolbar>button:not(.view-back),.editor-toolbar .editor-connect-ai{flex-shrink:0;min-height:36px;padding:6px 10px;font-size:12px}.editor-toolbar-spacer{min-width:0;display:block}.editor-workspace .editor-resizer,.editor-workspace .editor-panel-toggle{display:none}.editor-workspace[data-pane=chat]>.editor-sidebar,.editor-workspace[data-pane=changes]>.editor-sidebar{flex-direction:column;display:flex}.editor-workspace .editor-sidebar>.editor-chat,.editor-workspace .editor-sidebar>.editor-changes{display:none}.editor-workspace[data-pane=chat] .editor-sidebar>.editor-chat,.editor-workspace[data-pane=changes] .editor-sidebar>.editor-changes{flex:1;width:100%;min-height:0;display:flex}.editor-panel-bar{min-height:42px;padding:6px 10px}.editor-sidebar .editor-panel-bar{height:42px}.editor-panel-bar>button{min-height:30px}.editor-preview-badge{top:50px}.editor-camera-hint{display:none}.editor-files>.editor-panel-bar{flex-wrap:wrap;gap:6px}.editor-files>.editor-panel-bar>strong{margin-right:auto;font-size:11px}.editor-files>.editor-panel-bar>.my-games-note{display:none}.my-games .editor-file-tree-toggle{display:block}.editor-files .editor-file-body{grid-template-rows:minmax(90px,24%) minmax(0,1fr);grid-template-columns:minmax(0,1fr)}.editor-files.is-tree-hidden .editor-file-body{grid-template-rows:minmax(0,1fr)}.editor-files.is-tree-hidden .editor-file-list{display:none}.editor-file-list{border-bottom:1px solid var(--editor-line);overscroll-behavior:contain;padding:4px 10px}.editor-file-list button{min-height:34px;padding:7px 8px;font-size:12px}.editor-file-folder>summary{box-sizing:border-box;min-height:32px;padding:7px 4px;font-size:12px}.editor-file-path{flex-wrap:nowrap;padding:8px 10px;font-size:11px}.editor-json-form{padding:12px}.my-games .editor-json-field input:not([type=checkbox]),.my-games .editor-json-field textarea,.my-games .editor-json-field select{font-size:16px}.editor-sidebar .editor-composer .cm-editor{max-height:min(30dvh,max(36px,100cqh - 130px));font-size:16px}.editor-sidebar .editor-composer .cm-scroller{min-height:min(85px,max(36px,100cqh - 130px))}.editor-composer .md-tools button{width:34px;height:30px}.my-games .editor-composer .editor-send{width:36px;height:36px;color:var(--on-accent)}.editor-changes-tabs button:not(.ui-tab){min-height:42px;font-size:12px}.my-games:not(.is-editor) .my-games-grid{grid-template-columns:minmax(0,1fr)}.my-games-create{flex-wrap:wrap}.my-games-create input{font-size:16px}dialog.editor-modal>header{gap:10px;padding:12px}dialog.editor-modal>header h2{font-size:16px}dialog.editor-modal>header button{flex:none;width:36px;height:36px;padding:0}.editor-modal input:not([type=checkbox]),.editor-modal select{font-size:16px}}@media (max-width:420px){.editor-toolbar{gap:4px;padding-inline:8px}.editor-toolbar>button:not(.view-back),.editor-toolbar .editor-connect-ai{padding-inline:8px}.editor-header .editor-save-state{max-width:76px;font-size:9px}.editor-header .editor-brand{display:none}.my-games h1{max-width:44vw}}@media (min-width:761px) and (max-width:1000px) and (max-height:500px){.editor-files .editor-file-body{grid-template-rows:minmax(0,1fr);grid-template-columns:190px minmax(0,1fr)}.editor-files.is-tree-hidden .editor-file-body{grid-template-columns:minmax(0,1fr)}.editor-file-list{border-bottom:0;border-right:1px solid var(--editor-line)}.editor-sidebar .editor-composer .cm-scroller{min-height:36px}.editor-composer .md-tools{padding:2px 6px}.editor-composer-foot{padding-bottom:4px}}.patcher-subscription{color:var(--muted);text-align:left;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:5px 12px;padding:8px 4px;font-size:12px;display:grid}.patcher-subscription>span,.patcher-subscription>small,.patcher-subscription>p,.patcher-subscription>progress{grid-column:1}.patcher-subscription p{margin:0;line-height:1.5}.patcher-subscription small{color:var(--editor-muted);font-size:10px}.patcher-subscription-actions{flex-wrap:wrap;grid-area:1/2/5;align-items:center;gap:4px;display:flex}.my-games .patcher-subscription-actions button{min-height:32px;color:var(--accent);background:0 0;border-color:#0000;padding:6px 8px;font-size:11px}.my-games .patcher-subscription-actions button:hover{background:var(--surface-3);border-color:var(--border)}.patcher-subscription progress{width:100%;height:3px;accent-color:var(--accent)}.editor-composer:has(.patcher-subscription){max-height:calc(100% - 16px);overflow-y:auto}.editor-composer>.patcher-subscription{margin-bottom:8px}.my-games .editor-toolbar{flex-wrap:nowrap;min-width:0;overflow:visible}.editor-toolbar>button,.editor-toolbar>.editor-account-controls{white-space:nowrap;flex-shrink:0}.editor-toolbar>.editor-toolbar-spacer{flex:1;min-width:0;display:block}.editor-overflow-label{display:none}.editor-toolbar-overflow{border-bottom:1px solid var(--editor-line);flex-direction:column;gap:2px;margin-bottom:4px;padding-bottom:4px;display:flex}.editor-toolbar-overflow[hidden]{display:none}.editor-toolbar-overflow .editor-overflow-label,.editor-toolbar-overflow .editor-library-button>span{display:inline}.my-games .editor-toolbar-overflow .editor-library-button{justify-content:flex-start;width:100%}.editor-toolbar-overflow .editor-icon-button{justify-content:flex-start;align-items:center;gap:8px;display:flex}.editor-toolbar-overflow .editor-account-controls{width:100%}.editor-ai-connect{box-sizing:border-box;flex:1;place-items:center;min-height:0;padding:20px;display:grid}.my-games .editor-ai-connect>button{background:color-mix(in srgb,var(--accent) 10%,transparent);border:1px solid color-mix(in srgb,var(--accent) 22%,transparent);min-height:40px;color:var(--accent);border-radius:8px;padding:10px 18px;font-size:13px}.my-games .editor-ai-connect>button:hover{background:color-mix(in srgb,var(--accent) 19%,transparent);border-color:color-mix(in srgb,var(--accent) 47%,transparent)}dialog.ui-modal.agent-modal{width:min(560px,94vw);height:fit-content;max-height:90dvh}.session-pack-picker[hidden]{display:none}.session-pack-picker{flex-direction:column;flex:1;min-height:0;display:flex;overflow:hidden}.session-pack-picker>.ui-search{box-sizing:border-box;flex:none;width:auto;margin:12px 18px}.session-pack-picker>.session-pack-list{overscroll-behavior:contain;flex:1;min-height:0;padding:0 18px;overflow:auto;container-type:normal}.session-pack-picker>p,.session-pack-picker>.ui-button{flex:none;margin:8px 18px}.session-pack-picker>p:empty{display:none}.session-pack-item{border-bottom:1px solid var(--border);padding:6px 0}.session-pack-item summary{cursor:pointer;align-items:center;gap:10px;padding:12px 4px;list-style:none;display:flex}.mod-builder summary>.mod-builder-chevron.ui-icon{stroke-width:2px;width:22px;height:22px;color:var(--muted);flex:0 0 22px;transition:transform .16s,color .16s;transform:rotate(-90deg)}.mod-builder details[open]>summary>.mod-builder-chevron{color:var(--text);transform:rotate(0)}.mod-builder summary:hover>.mod-builder-chevron{color:var(--accent)}.mod-builder summary:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}@media (prefers-reduced-motion:reduce){.mod-builder summary>.mod-builder-chevron.ui-icon{transition:none}}.session-pack-item summary::-webkit-details-marker{display:none}.session-pack-item summary input{accent-color:var(--accent);flex:none;width:16px;height:16px;margin:0}.session-pack-item summary span{overflow-wrap:anywhere;flex:1;min-width:0}.session-pack-item summary small{color:var(--muted);font-size:10px}.session-pack-files{padding:0 8px 8px 20px;font-size:12px}@media (max-width:600px){.session-pack-picker>.ui-search{margin:12px}.session-pack-picker>.session-pack-list{padding:0 12px}.session-pack-item>summary{flex-wrap:wrap}.session-pack-item>summary>small{flex-basis:100%;padding-left:52px}.session-pack-files{padding-left:8px}}.editor-json-field .ui-dropdown{width:45%;min-width:90px;max-width:100%}.editor-changes>.editor-changes-browser.round-setup{border:0;border-radius:0;flex:1;height:auto;min-height:0}.editor-changes-browser .editor-commits,.editor-changes-browser .editor-log{box-sizing:border-box;overscroll-behavior:contain;scrollbar-gutter:stable;width:100%;min-width:0}.editor-changes{position:relative}.editor-workspace .editor-changes>.editor-changes-toggle.ui-button{z-index:4;width:32px;height:32px;min-height:32px;color:var(--muted);background:0 0;border:0;border-radius:8px;justify-content:center;align-items:center;padding:6px;display:none;position:absolute;top:6px;right:4px}@media (min-width:761px) and (min-height:501px),(min-width:1001px){.editor-workspace:not(.is-changes-collapsed) .editor-changes:has(>.editor-changes-browser[data-expanded=none])>.editor-changes-toggle.ui-button{display:flex}}.editor-changes-toggle>.ui-icon{flex:none;width:18px;height:18px}.editor-changes-browser[data-expanded=none]>.round-section:first-child>.round-section-toggle.ui-button{padding-right:44px}.is-changes-collapsed .editor-changes-browser.round-setup[data-layout=stacked]>.round-section{flex:1 1 0;min-height:0}.is-changes-collapsed .editor-changes-browser.round-setup[data-layout=stacked] .round-section-toggle.ui-button{flex-direction:column;flex:1;justify-content:center;gap:12px;min-height:44px;padding:12px 4px}.is-changes-collapsed .editor-changes-browser .round-section-summary,.is-changes-collapsed .editor-changes-browser .round-section-label{display:none}.is-changes-collapsed .editor-changes-browser.round-setup[data-layout=stacked] .round-section-heading{flex:none}.is-changes-collapsed .editor-changes-browser.round-setup[data-layout=stacked] .round-section-heading>strong{writing-mode:vertical-rl;letter-spacing:.03em;font-size:12px}.is-changes-collapsed .editor-changes-browser.round-setup[data-layout=stacked] .round-section-toggle>.ui-icon{width:18px;height:18px}@media (max-width:760px),(max-width:1000px) and (max-height:500px){.editor-workspace .editor-changes>.editor-changes-toggle.ui-button{background:0 0;width:44px;height:44px;min-height:44px;padding:13px;top:2px;right:2px}.editor-workspace.is-sidebar-collapsed[data-pane=changes]>.editor-sidebar{flex:0 0 44px;height:44px}.is-changes-collapsed .editor-changes-browser.round-setup[data-layout=stacked]{flex-direction:row}.is-changes-collapsed .editor-changes-browser.round-setup[data-layout=stacked]>.round-section{border-bottom:0;border-right:1px solid var(--border)}.is-changes-collapsed .editor-changes-browser.round-setup[data-layout=stacked]>.round-section:last-child{border-right:0}.is-changes-collapsed .editor-changes-browser.round-setup[data-layout=stacked] .round-section-toggle.ui-button{flex-direction:row;gap:8px;padding:8px}.is-changes-collapsed .editor-changes-browser.round-setup[data-layout=stacked] .round-section-heading>strong{writing-mode:horizontal-tb}}.editor-single-browser.round-setup{border:0;border-radius:0;flex:1;height:100%;min-height:0}.editor-single-browser.round-setup[data-expanded=none]{flex:1;min-height:0}.editor-single-browser.round-setup[data-layout=stacked] .round-section-toggle.ui-button{flex:none;height:48px;min-height:48px;padding-top:8px;padding-bottom:8px}.editor-single-browser.round-setup[data-layout=stacked] .round-section-heading{min-width:0}.editor-single-browser.round-setup[data-layout=stacked] .round-section-heading>strong{text-overflow:ellipsis;font-size:14px;overflow:hidden}.editor-single-browser.round-setup[data-expanded=none] .round-section-toggle:before,.editor-single-browser .round-section-summary{display:none}.editor-single-browser .round-section-content{flex-direction:column;display:flex;position:relative}.editor-single-browser .round-section-content[hidden]{display:none}.editor-single-browser .editor-preview-badge{background:var(--surface-1);pointer-events:none;border-radius:0;flex:none;margin:0;padding:5px 16px;position:static}.editor-single-browser .round-section-controls>.editor-file-tree-toggle{display:none}.editor-files .editor-single-browser .round-section.is-expanded>.round-section-toggle{padding-right:60px}@media (max-width:760px),(max-width:1000px) and (max-height:500px){.editor-single-browser .round-section-controls>.editor-file-tree-toggle{display:flex}.editor-files .editor-single-browser .round-section.is-expanded>.round-section-toggle{padding-right:104px}.editor-workspace.is-viewport-collapsed .editor-viewport,.editor-workspace.is-files-collapsed .editor-files{flex:0 0 48px;height:48px!important}}.editor-header-actions{display:none}.is-editor>.editor-header>.editor-heading{text-align:left;flex:1;min-width:0}.is-editor>.editor-header .editor-heading h1{text-align:inherit;text-overflow:ellipsis;white-space:nowrap;max-width:none;overflow:hidden}.is-editor>.editor-header>.editor-header-actions{flex:none;align-items:center;gap:8px;margin-left:auto;display:flex}.editor-header-actions>.ui-button,.editor-header-actions .editor-account-controls>.ui-button{white-space:nowrap;gap:7px;height:40px;min-height:40px;font-size:12px}.editor-header-actions>.ui-icon-button,.editor-header-actions>.editor-icon-button{width:40px;padding:10px}.editor-header-actions>.ui-button>.ui-icon{flex:none;width:18px;height:18px}.editor-header-actions .editor-account-controls{display:flex}.editor-header-actions>.ui-context-menu{font-size:12px}.editor-header-actions>.editor-icon-button .editor-save-label{display:none}.editor-settings-menu .editor-save-label{display:inline}.editor-settings-divider{border:0;border-top:1px solid var(--border);width:100%;height:0;margin:4px 0}.editor-viewport{container-type:inline-size}@container (width<=360px){.editor-viewport .editor-single-browser .round-section.is-expanded>.round-section-toggle.ui-button{align-items:flex-start;height:92px;padding-top:12px;padding-right:16px}.editor-viewport .editor-single-browser .round-section.is-expanded>.round-section-controls{top:46px;right:4px}}@media (max-width:650px){.is-editor>.editor-header{grid-template-columns:auto minmax(0,1fr);gap:8px 12px;padding:10px 12px;display:grid}.is-editor>.editor-header>.editor-header-actions{grid-column:1/-1;justify-content:flex-end;width:100%}.is-editor>.editor-header .editor-heading{text-align:right}.is-editor>.editor-header .editor-heading h1{font-size:14px}.editor-header-actions>.ui-button,.editor-header-actions .editor-account-controls>.ui-button{min-height:40px}}@media (max-width:760px),(max-width:1000px) and (max-height:500px){.is-editor>.editor-header{grid-template-columns:auto minmax(0,1fr) 40px;align-items:center;gap:10px;padding:10px 12px;display:grid}.is-editor>.editor-header>.editor-header-actions{grid-area:1/3;justify-content:flex-end;width:auto;margin:0}.is-editor>.editor-header>.editor-heading{text-align:right;grid-area:1/2;min-width:0}.editor-header-actions .editor-account-controls.ui-context-group{flex-direction:column;display:flex}.editor-settings-menu>.editor-icon-button{justify-content:flex-start;align-items:center;width:100%;height:auto;padding:9px 10px;display:flex}.editor-settings-menu .editor-menu-icon{width:18px;height:18px;color:var(--muted);flex:none;display:block}.editor-header-actions .ui-context-group>.ui-button{justify-content:flex-start;gap:10px;height:auto;min-height:44px}}.editor-scene{container-type:size}.editor-thumbnail-crop{z-index:3;pointer-events:none;box-sizing:border-box;border:2px solid var(--hud-text);width:min(100cqw,100cqh);height:min(100cqw,100cqh);box-shadow:0 0 0 100vmax var(--overlay);position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.editor-thumbnail-crop[hidden]{display:none}.editor-thumbnail-crop:after{content:"Click the camera again to capture";background:var(--hud-bg);color:var(--hud-text);white-space:nowrap;border-radius:6px;padding:7px 10px;font-size:11px;position:absolute;bottom:12px;left:50%;transform:translate(-50%)}.editor-thumbnail-preview{aspect-ratio:1;object-fit:cover;border-radius:12px;width:min(100%,320px);margin:0 auto 16px;display:block}.editor-thumbnail-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}@container (width<=420px){.editor-viewport .editor-single-browser .round-section.is-expanded>.round-section-toggle.ui-button{align-items:flex-start;height:92px;padding-top:12px;padding-right:16px}.editor-viewport .editor-single-browser .round-section.is-expanded>.round-section-controls{top:46px;right:4px}}dialog.ui-modal.editor-thumbnail-dialog{width:min(460px,100vw - 24px);height:fit-content;max-height:calc(100dvh - 24px)}.editor-thumbnail-dialog>.ui-modal-body{flex:0 auto}.editor-workspace.is-unified>.editor-viewport,.editor-workspace.is-unified>.editor-files{display:none}.editor-workspace.is-unified>.editor-sidebar{flex-direction:column;flex:1;width:100%;height:100%;min-height:0;display:flex}.editor-workspace.is-unified .editor-sidebar>.editor-changes{flex:1;width:100%;min-height:0;display:flex}.editor-workspace.is-unified .editor-changes>.editor-changes-toggle.ui-button{display:none}.editor-unified-browser.round-setup[data-layout=stacked] .round-section-toggle.ui-button{gap:10px;height:44px;min-height:44px;padding:8px 12px}.editor-unified-browser.round-setup[data-layout=stacked] .round-section-heading{min-width:0}.editor-unified-browser.round-setup[data-layout=stacked] .round-section-heading>strong{font-size:14px}.editor-unified-browser .round-section-summary,.editor-unified-browser .round-section-toggle:before{display:none}.editor-unified-browser .round-section-content{flex-direction:column;display:flex;position:relative}.editor-unified-browser .round-section-content[hidden]{display:none}.editor-unified-browser .editor-preview-badge{background:var(--surface-1);flex:none;margin:0;padding:5px 12px;position:static}.editor-unified-browser .editor-file-body{grid-template-rows:minmax(70px,24%) minmax(0,1fr);grid-template-columns:minmax(0,1fr)}.editor-unified-browser .is-tree-hidden .editor-file-body{grid-template-rows:minmax(0,1fr)}.editor-unified-browser .is-tree-hidden .editor-file-list{display:none}.editor-unified-browser .round-section-controls>.editor-file-tree-toggle{display:flex}.editor-unified-browser[data-expanded=none]>.round-section:first-child>.round-section-toggle.ui-button{padding-right:12px}@media (max-width:420px){.editor-unified-browser .round-section:has(.editor-scene).is-expanded>.round-section-toggle.ui-button{align-items:flex-start;height:92px;padding-top:14px}.editor-unified-browser .round-section:has(.editor-scene).is-expanded>.round-section-controls{top:46px;left:4px;right:auto}}.mod-builder .editor-modal-body{flex-direction:column;min-height:0;padding:0;display:flex;overflow:hidden}.mod-builder .round-setup{border-left:0;border-right:0;border-radius:0;flex:1;height:auto;min-height:0;margin:0}.mod-builder .round-setup[data-expanded=none]{flex:1 1 0;min-height:0}.mod-builder .round-section-content{flex-direction:column;display:flex}.mod-builder .round-section-content[hidden]{display:none}.mod-builder .round-section-summary{flex-basis:180px;max-width:180px}.mod-builder .editor-json-error{flex:none;margin:0;padding:8px 18px;font-size:12px}.mod-builder-footer{color:var(--muted);flex:none;justify-content:space-between;align-items:center;gap:12px;padding:12px 18px;font-size:11px;display:flex}.mod-builder-footer .ui-button{flex:none}.mod-builder-tree{overscroll-behavior:contain;flex:1;min-height:0;padding:10px 14px 18px;overflow:auto}.mod-feature-list{overscroll-behavior:contain;flex-direction:column;gap:8px;min-height:0;padding:12px 16px 18px;display:flex;overflow:auto}.mod-feature-item{border:1px solid var(--border);cursor:pointer;background:var(--surface-1);border-radius:12px;align-items:center;gap:12px;padding:14px;transition:background .15s,border-color .15s;display:flex}.mod-feature-item:hover,.mod-feature-item:focus-within{background:var(--surface-hover)}.mod-feature-item.has-selection{border-color:var(--accent);background:var(--accent-soft)}.mod-feature-item>input{width:18px;height:18px;accent-color:var(--accent);flex:none;margin:0}.mod-feature-item>.ui-icon{width:22px;height:22px;color:var(--accent);flex:none}.mod-feature-item>span{overflow-wrap:anywhere;flex-direction:column;gap:5px;min-width:0;display:flex}.mod-feature-item strong{font-size:13px}.mod-feature-item small{color:var(--muted);font-size:11px;line-height:1.5}.mod-builder [inert]{opacity:.45}.mod-builder-tree summary{box-sizing:border-box;cursor:pointer;border-radius:9px;align-items:center;gap:9px;min-height:46px;padding:8px;font-size:12px;list-style:none;transition:background .15s;display:flex}.mod-builder-tree summary::-webkit-details-marker{display:none}.mod-builder-tree summary:hover{background:var(--surface-hover)}.mod-builder-tree summary>.ui-icon{width:18px;height:18px;color:var(--muted);flex:none}.mod-builder-tree summary>span{overflow-wrap:anywhere;min-width:0;line-height:1.5}.mod-builder-tree summary>small{white-space:nowrap;color:var(--muted);background:var(--surface-2);font-variant-numeric:tabular-nums;border-radius:6px;margin-left:auto;padding:3px 7px;font-size:10px;line-height:1.5}.mod-builder-tree input{width:18px;height:18px;accent-color:var(--accent);cursor:pointer;flex:none;margin:0}.mod-builder-folder>summary{color:var(--muted);font-weight:600}.mod-builder-folder[open]>summary>.ui-icon:not(.mod-builder-chevron){color:var(--accent)}.mod-builder-folder>div{border-left:1px solid var(--border);margin:2px 0 6px 19px;padding-left:12px}.mod-builder-file{border:1px solid #0000;border-radius:10px;margin:4px 0}.mod-builder-file[open]{border-color:var(--border);background:var(--surface-1);padding-bottom:4px}.mod-builder-file.has-selection>summary{background:var(--accent-soft)}.mod-builder-file.has-selection>summary>small{color:var(--accent)}.mod-builder-file>.pack-code-piece{cursor:pointer;border-radius:7px;margin:6px 8px 8px 38px;padding:10px}.mod-builder-file>.pack-code-piece:has(input:checked){border-color:var(--accent)}.mod-builder-file>.pack-code-piece small{font-size:10px}.mod-builder .session-pack-picker{overscroll-behavior:contain}@media (max-width:600px){.mod-builder-footer{gap:8px;padding:10px 12px}.mod-builder-footer .ui-button{padding:10px;font-size:12px}.mod-builder-tree{padding:8px 6px}.mod-builder-tree summary{gap:7px;padding:8px 5px}.mod-builder-file>summary>.ui-icon:not(.mod-builder-chevron){display:none}.mod-builder-folder>div{margin-left:12px;padding-left:6px}.mod-builder-file>.pack-code-piece{margin-left:8px;padding:8px}.mod-builder .round-section-summary{flex-basis:100px}}.editor-mod-detail.catalog-detail>header{box-sizing:border-box;background:var(--surface-1);gap:8px;min-height:48px;padding:6px 12px}.editor-mod-detail>header .catalog-detail-label,.editor-mod-detail>header .catalog-detail-mark{display:none}.editor-mod-detail>header h3{letter-spacing:0;font-size:15px}.editor-mod-detail>header>.ui-button{width:36px;min-height:36px;padding:8px}.editor-mod-detail>header>.catalog-search-toggle{gap:5px;width:auto;max-width:45%;font-size:11px}.editor-mod-detail>.catalog-detail-body{flex-direction:column;padding:0;display:flex;overflow:hidden}.editor-mod-detail .mod-builder-footer{flex-wrap:wrap;gap:8px;padding:10px 12px}.editor-mod-detail .mod-builder-footer .ui-button{margin-left:auto;padding:9px 12px;font-size:12px}.editor-mod-detail .round-section:not(.is-expanded)>.round-section-toggle>.round-section-summary{display:flex}.editor-add-mod>.catalog-detail-body>.mod-browser-inline{flex-direction:column;flex:1;min-height:0;display:flex;position:relative}.editor-add-mod .public-pack-grid{grid-template-columns:repeat(auto-fill,minmax(min(140px,100%),1fr))!important}.editor-mod-detail>.editor-mod-conflicts{gap:10px;padding:12px;overflow:auto}.editor-mod-conflict{border:1px solid var(--border);background:var(--surface-2);overflow-wrap:anywhere;border-radius:10px;padding:12px}.editor-mod-conflict strong{font:11px/1.6 ui-monospace,monospace}.editor-mod-conflict p{color:var(--muted);font-size:12px;line-height:1.6}.round-header-action.has-conflicts{color:var(--warning,var(--accent))}.mod-publish-form{flex-direction:column;gap:14px;display:flex}.mod-publish-form>label{color:var(--muted);gap:8px;font-size:12px;display:grid}.mod-publish-form .ui-input{box-sizing:border-box;width:100%}.mod-publish-form>.editor-json-error:empty{display:none}.mod-publish-form>.editor-modal-actions{justify-content:flex-end;gap:8px;margin:0;display:flex}.editor-changes-browser .editor-commits.pack-tab{scrollbar-gutter:auto;flex-direction:column;padding:0;display:flex;overflow:hidden}.editor-installed-mods{flex:1;min-width:0;min-height:0;display:flex;overflow:hidden;container-type:inline-size}.editor-installed-mods>.my-games-note{padding:12px 16px}.round-mods .editor-installed-browser.mod-browser-inline{flex:1;min-width:0}.round-mods .editor-installed-browser.mod-browser-inline>.public-pack-grid{grid-template-columns:minmax(0,1fr);padding:12px 8px 12px 12px;scroll-padding-bottom:12px}.mod-priority{box-sizing:border-box;border-right:1px solid var(--border);background:var(--surface-1);flex-direction:column;flex:0 0 152px;min-width:0;padding:14px 8px;display:flex}.mod-priority>h4{letter-spacing:.1em;text-transform:uppercase;color:var(--muted);margin:0 4px;font-size:10px}.mod-priority>small{color:var(--muted);margin:5px 4px 12px;font-size:9px}.mod-priority>ol{flex-direction:column;gap:6px;min-height:0;margin:0;padding:0;list-style:none;display:flex;overflow:auto}.mod-priority li{border:1px solid var(--border);background:var(--surface-2);border-radius:8px;transition:background .15s,border-color .15s,opacity .15s}.mod-priority li>.ui-button{text-align:left;white-space:normal;overflow-wrap:anywhere;cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none;justify-content:flex-start;gap:5px;width:100%;min-height:44px;padding:9px 5px;font-size:11px;line-height:1.4}.mod-priority li.is-dragging{opacity:.5}.mod-priority li.is-dragging>.ui-button{cursor:grabbing}.mod-priority li.is-drop-target{border-color:var(--accent);background:var(--surface-2)}.mod-priority-status:empty{display:none}.mod-priority-status{color:var(--muted);margin-top:8px;font-size:10px}@container (width>=580px){.mod-priority{flex-basis:200px}.mod-priority li>.ui-button{font-size:12px}}.mod-priority-grip.ui-icon{stroke-width:3px;width:14px;height:20px;color:var(--muted);flex:0 0 14px;transition:color .15s}.mod-priority-name{min-width:0}.mod-priority li:hover{border-color:var(--accent)}.mod-priority li:hover .mod-priority-grip{color:var(--accent)}.my-games .editor-file-list{box-sizing:border-box;background:color-mix(in srgb,var(--surface-1) 78%,var(--bg));overscroll-behavior:contain;scrollbar-width:thin;min-width:0;min-height:0;padding:10px 8px;overflow:auto}.editor-file-list .editor-file-folder{min-width:0;margin:0;padding:0}.editor-file-list>.editor-file-folder+.editor-file-folder{margin-top:14px}.editor-file-list .editor-file-folder-row,.editor-file-list .editor-file-row.ui-button{box-sizing:border-box;width:100%;min-width:0;min-height:32px;color:var(--muted);text-align:left;cursor:pointer;-webkit-user-select:none;user-select:none;box-shadow:none;background:0 0;border:0;border-radius:6px;justify-content:flex-start;align-items:center;gap:8px;margin:2px 0;padding:6px 8px;font-family:inherit;font-size:12px;font-weight:500;line-height:1.4;transition:background .14s,color .14s;display:flex;position:relative}.editor-file-list .editor-file-folder-row{color:var(--text);list-style:none}.editor-file-folder-row::-webkit-details-marker{display:none}.editor-file-folder-row::marker{content:""}.editor-file-list .editor-file-folder-row:hover,.editor-file-list .editor-file-row.ui-button:hover{background:var(--surface-hover);color:var(--text)}.editor-file-list .editor-file-folder-row:focus-visible{outline:2px solid var(--focus-ring);outline-offset:-2px}.editor-file-list .editor-file-row.ui-button:focus-visible{outline:2px solid var(--focus-ring);outline-offset:-2px}.editor-file-list .editor-file-chevron{width:14px;height:14px;color:var(--muted);flex:none;transition:transform .16s;transform:rotate(-90deg)}.editor-file-folder[open]>.editor-file-folder-row>.editor-file-chevron{transform:rotate(0)}.editor-file-list .editor-file-folder-icon{width:17px;height:17px;color:color-mix(in srgb,var(--accent) 65%,var(--muted));flex:none}.editor-file-list .is-root>.editor-file-folder-row{letter-spacing:.035em;font-size:11px;font-weight:650}.editor-file-list .editor-file-name{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.editor-file-count{text-align:center;min-width:18px;color:var(--muted);font-variant-numeric:tabular-nums;opacity:.65;flex:none;font-size:10px;font-weight:500}.editor-file-children{border-left:1px solid color-mix(in srgb,var(--border) 65%,transparent);min-width:0;margin-left:14px;padding-left:7px}.editor-file-folder:focus-within>.editor-file-children{border-left-color:color-mix(in srgb,var(--accent) 30%,var(--border))}.editor-file-list .editor-file-icon{width:18px;height:20px;color:var(--info,var(--accent));letter-spacing:-.06em;flex:0 0 18px;place-items:center;font:600 9px/1 ui-monospace,Consolas,monospace;display:grid}.editor-file-list [data-kind=json]>.editor-file-icon{color:var(--warning);font-size:13px;font-weight:500}.editor-file-list .editor-file-row.ui-button[aria-current=true]{background:var(--accent-soft);color:var(--text);font-weight:600}.editor-file-row[aria-current=true]:before{content:"";background:var(--accent);border-radius:2px;width:2px;position:absolute;top:8px;bottom:8px;left:0}.editor-file-list .editor-file-dirty{background:var(--warning);flex:0 0 5px;width:5px;height:5px;margin-left:0}.editor-file-status{color:var(--muted);flex:none;font-size:9px;font-weight:400}.editor-file-row.is-removed>.editor-file-name{opacity:.7;text-decoration:line-through}.editor-file-empty{color:var(--muted);margin:0;padding:12px 8px;font-size:12px}@media (pointer:coarse){.editor-file-list .editor-file-folder-row,.editor-file-list .editor-file-row.ui-button{min-height:40px}}@media (prefers-reduced-motion:reduce){.editor-file-list .editor-file-folder-row,.editor-file-list .editor-file-row.ui-button,.editor-file-list .editor-file-chevron{transition:none}}.my-games:not(.is-editor){background:var(--panel-solid);--editor-line:var(--border);--editor-muted:var(--muted)}.my-games:not(.is-editor)>.editor-header{background:var(--panel-solid);border-color:var(--border);gap:12px;min-height:64px;padding:0 20px;display:flex}.my-games:not(.is-editor)>.editor-header>.editor-brand,.my-games:not(.is-editor)>.editor-header .my-games-eyebrow{display:none}.my-games:not(.is-editor)>.editor-header>div{grid-area:1/2;min-width:0}.my-games:not(.is-editor)>.editor-header h1{text-align:center;letter-spacing:0;max-width:none;margin:0;font-size:20px}.my-games:not(.is-editor)>.editor-header>.view-back{grid-area:1/1;justify-self:start;margin:0}.my-games:not(.is-editor)>.my-games-content{overscroll-behavior:contain;padding:0 28px 48px}.duel-library :where(button:not(.ui-button):not(.ui-tab)){border-color:var(--border);background:var(--surface-2);color:var(--text);border-radius:9px}.my-games:not(.is-editor) button:not(.ui-button):not(.ui-tab):hover:not(:disabled){background:var(--surface-hover);border-color:var(--accent)}.my-games:not(.is-editor) button:not(.ui-button):not(.ui-tab).my-games-primary{background:var(--accent);border-color:var(--accent);color:var(--on-accent)}.my-games:not(.is-editor) button:not(.ui-button):not(.ui-tab).my-games-primary:hover:not(:disabled){background:var(--accent-hover)}.duel-library{min-width:0;max-width:1120px;margin:0 auto}.duel-library-nav{border-bottom:1px solid var(--border);align-items:stretch;gap:0;margin:0 0 34px;display:flex}.my-games:not(.is-editor) .duel-library-nav>button:not(.ui-tab){box-sizing:border-box;min-width:112px;min-height:54px;color:var(--muted);background:0 0;border:0;border-bottom:2px solid #0000;border-radius:0;justify-content:center;align-items:center;margin:0;padding:14px 22px;font-size:13px;font-weight:550;display:inline-flex}.my-games:not(.is-editor) .duel-library-nav>button:not(.ui-tab):hover:not(:disabled){background:var(--surface-3);color:var(--text);border-bottom-color:var(--accent)}.my-games:not(.is-editor) .duel-library-nav>button:not(.ui-tab)[aria-current=page]{border-bottom-color:var(--accent);color:var(--text)}.duel-library-heading{justify-content:space-between;align-items:center;gap:24px;margin:0 0 30px;display:flex}.my-games .duel-library-heading h2{letter-spacing:-.04em;text-align:left;color:var(--text);margin:0;font-size:clamp(24px,3vw,34px);font-weight:650;line-height:1.2}.duel-library-heading p{color:var(--muted);margin:10px 0 0;font-size:14px;line-height:1.5}.duel-library-heading>button{flex:none;min-height:44px;padding:10px 18px;font-size:13px}.duel-library-tools{justify-content:space-between;align-items:center;gap:16px;display:flex}.duel-library-filters{border:1px solid var(--border);background:var(--bg);border-radius:11px;gap:4px;padding:4px;display:flex}.my-games .duel-library-filters button:not(.ui-tab){min-height:34px;color:var(--muted);background:0 0;border:0;border-radius:7px;padding:7px 12px;font-size:12px}.my-games .duel-library-filters button:not(.ui-tab)[aria-pressed=true]{background:var(--surface-raised);color:var(--text);box-shadow:var(--shadow-sm)}.my-games .duel-library-tools>.ui-search{width:250px;min-width:0}.duel-library-count{color:var(--muted);margin:22px 0 12px;font-size:12px}.duel-library-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));align-items:stretch;gap:20px;display:grid}.duel-library-card{--duel-accent:var(--accent);--duel-glow:color-mix(in srgb,var(--accent) 12%,transparent);border:1px solid var(--border);background:var(--surface-1);min-width:0;box-shadow:var(--shadow-sm);border-radius:16px;transition:border-color .15s;overflow:hidden}.duel-library-card[data-tone="1"]{--duel-accent:var(--info);--duel-glow:color-mix(in srgb,var(--info) 11%,transparent)}.duel-library-card[data-tone="2"]{--duel-accent:var(--success);--duel-glow:color-mix(in srgb,var(--success) 12%,transparent)}.duel-library-card[data-tone="3"]{--duel-accent:var(--opponent);--duel-glow:color-mix(in srgb,var(--opponent) 12%,transparent)}.duel-library-card:hover{border-color:var(--border-strong)}.duel-library-art{background:radial-gradient(ellipse at 50% 110%,var(--duel-glow),transparent 75%),var(--bg);border-bottom:1px solid var(--border);height:148px;color:var(--duel-accent);display:block;position:relative;overflow:hidden}.duel-library-art:after{content:"";background:linear-gradient(90deg,transparent 49.8%,color-mix(in srgb,var(--accent) 3%,transparent) 50%,transparent 50.2%);pointer-events:none;position:absolute;inset:0}.duel-library-arena{width:180px;height:94px;box-shadow:0 10px 0 -1px var(--bg),0 11px 0 0 color-mix(in srgb,var(--accent) 14%,transparent),0 22px 30px color-mix(in srgb,var(--shadow-color) 20%,transparent);border:1px solid;border-radius:50%;position:absolute;top:57%;left:50%;transform:translate(-50%,-50%)rotate(-12deg)}.duel-library-arena:before{content:"";opacity:.23;border:1px dashed;border-radius:50%;position:absolute;inset:12px}.duel-library-arena:after{content:"";opacity:.14;border-left:1px solid;height:100%;position:absolute;top:0;left:50%}.duel-library-fighter{border:4px solid var(--bg);width:17px;height:17px;box-shadow:0 0 0 1px currentColor,0 5px 8px color-mix(in srgb,var(--shadow-color) 53%,transparent);background:currentColor;border-radius:50%;position:absolute;top:39%;left:23%}.duel-library-fighter+span{color:var(--opponent);left:auto;right:23%}.duel-library-badge{border:1px solid var(--border);background:var(--surface-2);color:var(--muted);border-radius:6px;align-items:center;gap:6px;padding:4px 8px;font-size:10px;font-weight:600;line-height:1.4;display:inline-flex;position:absolute;top:14px;left:14px}.duel-library-badge[data-published=true]{color:var(--success);background:var(--success-soft);border-color:var(--success)}.duel-library-badge[data-published=true]:before{content:"";background:currentColor;border-radius:50%;width:5px;height:5px}.duel-library-card-info{padding:20px}.duel-library-card-heading{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.duel-library-card-heading h3{flex:1;min-width:0;padding-top:8px}.duel-library-card-heading .community-safety-options{margin-top:-4px;margin-right:-8px}.duel-library-card h3{letter-spacing:-.02em;overflow-wrap:anywhere;color:var(--text);margin:0;font-size:18px;font-weight:650;line-height:1.4}.duel-library-card h3 a{color:inherit;text-decoration:none}.duel-library-card a:focus-visible{outline:2px solid var(--focus-ring);outline-offset:-3px}.duel-library-card .duel-library-date{color:var(--muted);overflow-wrap:anywhere;margin:7px 0 20px;font-size:12px;line-height:1.5}.duel-library-actions{border-top:1px solid var(--border);flex-wrap:wrap;align-items:center;gap:10px;padding-top:16px;display:flex}.duel-library-actions button{min-height:40px;padding:9px 14px;font-size:12px}.duel-library-draft-note{color:var(--muted);font-size:11px}.duel-library-actions .duel-library-archive,.duel-library-actions .duel-library-delete{color:var(--muted);flex:none;margin-left:auto}.duel-library-actions .duel-library-delete:hover{color:var(--danger)}.duel-library-empty{border:1px dashed var(--border);background:var(--surface-1);text-align:center;border-radius:16px;flex-direction:column;grid-column:1/-1;justify-content:center;align-items:center;gap:12px;min-height:240px;padding:32px 20px;display:flex}.duel-library-empty-icon{border:1px solid var(--border-strong);background:var(--surface-3);width:52px;height:52px;color:var(--accent);border-radius:16px;place-items:center;font-size:32px;display:grid}.duel-library-empty h3{color:var(--text);margin:0;font-size:19px}.duel-library-empty p{max-width:330px;color:var(--muted);margin:0;font-size:13px;line-height:1.6}.duel-library-create label{color:var(--muted);gap:10px;font-size:13px;display:grid}.duel-library-create input{width:100%}.duel-library-create .editor-json-error:empty{display:none}.duel-browser>.pack-install{flex-wrap:nowrap;align-items:stretch;gap:8px;max-width:none;margin:0 0 20px;display:flex}.duel-browser>.pack-install>button{min-height:44px}.duel-browser>.my-games-note:empty{display:none}.duel-browser>button:last-child{margin-top:20px}@media (max-width:600px){.my-games:not(.is-editor){background:var(--surface-1)}.my-games:not(.is-editor)>.editor-header{background:var(--surface-1);border-color:color-mix(in srgb,var(--accent) 12%,transparent);gap:12px;min-height:54px;padding:0 8px;display:flex}.my-games:not(.is-editor)>.editor-header>.editor-brand,.my-games:not(.is-editor)>.editor-header .my-games-eyebrow{display:none}.my-games:not(.is-editor)>.editor-header>div{grid-area:1/2;min-width:0}.my-games:not(.is-editor)>.editor-header h1{text-align:center;letter-spacing:0;max-width:none;margin:0;font-size:17px}.my-games:not(.is-editor)>.my-games-content{padding:0 20px 28px}.duel-library-nav{gap:0;margin-bottom:24px}.my-games:not(.is-editor) .duel-library-nav>button:not(.ui-tab){flex:1;min-width:0;min-height:50px;padding:14px 12px;font-size:13px}.duel-library-heading{flex-direction:column;align-items:flex-start;gap:18px;margin-bottom:24px}.my-games .duel-library-heading h2{font-size:26px;line-height:1.25}.duel-library-heading p{margin-top:8px;font-size:13px}.duel-library-heading>button{width:100%;min-height:44px}.duel-library-tools{flex-direction:column;align-items:stretch;gap:12px}.duel-library-filters{align-self:flex-start;max-width:100%}.my-games .duel-library-filters button:not(.ui-tab){padding:7px 11px}.my-games .duel-library-tools>.ui-search{width:100%;font-size:16px}.duel-library-grid{grid-template-columns:minmax(0,1fr);gap:16px}.duel-library-art{height:130px}.duel-library-card-info{padding:18px}.duel-library-actions button{flex:1;min-height:44px}.duel-library-count{margin-top:18px}}@media (prefers-reduced-motion:reduce){.duel-library-card{box-shadow:var(--shadow-sm);transition:none}}.collection-view{flex-direction:column;gap:18px;max-width:1600px;height:100%;min-height:0;margin:auto;display:flex}.collection-view>.round-setup:not([data-expanded=none]){flex:1;height:auto;min-height:420px}.collection-view .round-section:not(.is-expanded) .round-section-heading:after{content:"Browse →"}.collection-create.ui-button{z-index:3;box-shadow:var(--shadow-md);border-radius:24px;font-size:12px;position:absolute;bottom:12px;right:16px}.collection-view :is(.duel-browser,.mod-browser):has(>.collection-create:not([hidden]))>.catalog-pager{left:16px;transform:none}.owned-duel-actions{flex-direction:column;gap:10px;display:flex}@media (max-width:700px){.collection-view{gap:12px}.collection-view>.round-setup:not([data-expanded=none]){flex:1;min-height:320px}.collection-view .round-section.is-expanded{flex:1 1 0;min-height:0}.collection-view .round-section.is-expanded>.round-section-content{flex:1;height:auto;min-height:0;max-height:none}.collection-create.ui-button{min-height:36px;padding:8px 12px;right:10px}}.my-games:not(.is-editor)>.editor-header{background:0 0;border-bottom:0;min-height:76px;padding:0 28px}.my-games:not(.is-editor)>.my-games-content{padding:8px 28px 28px}.my-games:not(.is-editor) .editor-heading,.my-games.is-editor .creations-mine-toggle{display:none}.my-games .editor-header>.creations-mine-toggle{isolation:isolate;width:auto;min-height:44px;color:var(--muted);letter-spacing:.01em;box-shadow:none;background:0 0;border:0;border-radius:14px;flex:none;align-items:center;margin-left:auto;padding:10px 14px;font-size:12px;font-weight:650;transition:background .2s,color .2s;display:inline-flex;position:relative;overflow:hidden}.my-games .editor-header>.creations-mine-toggle:hover{color:var(--text);background:var(--surface-2)}.my-games .editor-header>.creations-mine-toggle[aria-pressed=true]{color:var(--accent);background:0 0}.creations-mine-toggle:before{content:"";z-index:-1;pointer-events:none;background:linear-gradient(0deg,var(--accent-soft),color-mix(in srgb,var(--accent) 20%,var(--surface-1)));transform-origin:0 100%;transition:transform .48s cubic-bezier(.2,.75,.25,1);position:absolute;inset:0;transform:translateY(calc(100% + 24px))skewY(-8deg)}.creations-mine-toggle[aria-pressed=true]:before{transform:translateY(0)skewY(0)}.my-games .editor-header>.creations-mine-toggle:focus-visible{outline:2px solid var(--focus-ring);outline-offset:3px}.my-games.is-editor .editor-header>.creations-mine-toggle{display:none}@media (max-width:759px){.my-games:not(.is-editor)>.editor-header{min-height:68px;padding:8px max(12px,env(safe-area-inset-right)) 8px max(12px,env(safe-area-inset-left));padding-top:max(8px,env(safe-area-inset-top));border-bottom:1px solid var(--border);background:var(--bg)}.my-games:not(.is-editor)>.my-games-content{padding:16px 12px max(16px,env(safe-area-inset-bottom))}}@media (max-width:700px){.collection-view{height:100%;min-height:0}}@media (prefers-reduced-motion:reduce){.creations-mine-toggle,.creations-mine-toggle:before{transition:none!important}}.change-dialog:not(.paying){box-sizing:border-box;width:min(1000px,100vw - 40px)}.change-dialog .change-head{gap:10px}.change-dialog .change-head h2{margin:0;font-size:23px}.change-dialog .change-head .hero-icon{width:30px;height:30px}.patch-intro{color:var(--muted);text-align:left;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:6px 18px;font-size:12px;display:flex}.patch-intro p,.patch-purchase-note p{margin:0}.patch-intro nav{gap:16px;display:flex}.patch-intro a,.patch-purchase-note a{color:var(--muted);text-underline-offset:3px}.patch-intro a:hover,.patch-purchase-note a:hover{color:var(--text)}.patch-methods.round-setup{border-radius:16px;height:clamp(340px,52dvh,480px);margin:4px 0}.patch-methods>.round-section{flex-basis:134px}.patch-methods>.round-section.is-expanded{flex:1 1 0}.patch-methods .round-section-content{flex:1;gap:14px;height:auto;max-height:none;padding:16px;overflow:auto}.patch-methods .round-mods>.round-section-content{padding:0;overflow:hidden}.patch-methods .round-section-toggle.ui-button{white-space:normal}.patch-methods .round-section-heading>strong{white-space:nowrap;font-size:20px}.patch-methods[data-expanded=none]{height:220px}.patch-methods[data-expanded=none]>.round-section{flex:1 1 0}.patch-description{flex-direction:column;flex:1 0 200px;gap:10px;min-width:0;display:flex}.patch-description .md-editor{flex:1;min-height:180px}.patch-description .md-live,.patch-description .cm-editor{flex-direction:column;flex:1;min-height:0;display:flex}.patch-description .md-live .cm-editor{height:100%;max-height:none}.patch-description .md-live .cm-scroller{flex:1;min-height:120px;overflow:auto}.patch-description .md-foot{padding:7px 10px;font-size:10px}.patch-description .counter{white-space:nowrap;font-size:10px}.patch-method-hint{color:var(--muted);margin:0;font-size:12px;line-height:1.5}.patch-ai-connection{border-top:1px solid var(--border);flex:none;padding-top:12px;font-size:12px}.patch-ai-connection>summary{cursor:pointer;min-height:30px;color:var(--info);align-content:center}.patch-own-ai{padding:12px 0 4px}.patch-mod-selection{color:var(--success);text-align:left;overflow-wrap:anywhere;margin:0;font-size:12px}.patch-mod-selection[hidden]{display:none}.patch-footer{text-align:left;justify-content:space-between;align-items:center;gap:12px 24px;display:flex}.patch-purchase-note{color:var(--muted);gap:5px;font-size:11px;line-height:1.5;display:grid}.patch-purchase-note [data-testid=change-average]{color:var(--subtle);font-size:10px}.patch-footer .dialog-actions{flex:none;gap:8px;margin:0}.patch-footer .dialog-actions>button{min-height:42px;padding:10px 14px;font-size:12px}@media (max-width:700px){.patch-methods.round-setup{height:auto}.patch-methods>.round-section,.patch-methods>.round-section.is-expanded{flex:none}.patch-methods .round-section-content{flex:none;min-height:0;max-height:none}.patch-methods .round-section:not(.round-mods)>.round-section-content{overflow:visible}.patch-methods .round-section-heading>strong{font-size:17px}.patch-methods .round-section-toggle.ui-button{min-height:66px;padding:12px 16px}.patch-methods .round-section.is-expanded>.round-section-toggle.ui-button{min-height:48px}.patch-methods .round-mods>.round-section-content{height:360px}.patch-methods .round-mods .mod-browser-inline>.public-pack-grid{flex:1;max-height:none}.patch-description{flex:none;height:220px}.patch-methods[data-expanded=none]{height:auto}.patch-methods[data-expanded=none]>.round-section{flex:none}.patch-footer{flex-direction:column;align-items:stretch;gap:12px}.patch-footer .dialog-actions{margin:0}.patch-footer .dialog-actions>.make-it{flex:1}}#leaderboard{background:radial-gradient(ellipse at 0 0, var(--accent-soft), transparent 55%), var(--surface-1);border-color:color-mix(in srgb, var(--accent) 19%, transparent);border-radius:22px;width:min(900px,100vw - 48px);max-height:calc(100dvh - 48px);padding:32px;overflow-y:auto}#leaderboard>h2{text-align:left;letter-spacing:-.04em;margin:8px 0;font-size:34px}#leaderboard .lb-eyebrow{letter-spacing:.16em;color:var(--accent);font-size:10px;font-weight:800}#leaderboard>.lb-eyebrow{text-align:left;margin:0}#leaderboard .lb-intro{text-align:left;color:var(--muted);margin:0 0 16px;font-size:14px}#leaderboard .lb-season{text-align:left;border:1px solid color-mix(in srgb, var(--accent) 14%, transparent);background:var(--accent-soft);color:var(--accent);border-radius:8px;margin:0 0 24px;padding:8px 12px;font-size:12px;display:inline-block}#leaderboard .lb-season:empty,.lb-status:empty{display:none}.lb-status{color:var(--muted);padding:22px 0}.lb-you{border:1px solid color-mix(in srgb, var(--accent) 31%, transparent);background:linear-gradient(110deg, var(--accent-soft), var(--surface-1));border-radius:16px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:20px;margin-bottom:24px;padding:22px 24px;display:flex}.lb-your-position{gap:6px;min-width:0;display:grid}.lb-your-position>strong{letter-spacing:-.035em;font-size:30px}.lb-your-position>.muted{overflow-wrap:anywhere;font-size:12px}.lb-your-stats{gap:32px;display:flex}.lb-your-stats>div{gap:5px;display:grid}.lb-your-stats strong{font-variant-numeric:tabular-nums;font-size:22px}.lb-your-stats span{font-size:11px}.lb-you progress{background:var(--surface-hover);width:100%;height:5px;accent-color:var(--accent);border:0;border-radius:5px;flex-basis:100%}.lb-you progress::-webkit-progress-bar{background:var(--surface-hover);border-radius:5px}.lb-you progress::-webkit-progress-value{background:var(--accent);border-radius:5px}.lb-podium{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:28px;display:grid}.lb-leader{border:1px solid var(--border);background:var(--surface-hover);border-radius:14px;min-width:0;padding:20px 18px;position:relative}.lb-leader.place-1{border-color:color-mix(in srgb, var(--warning) 33%, transparent);background:linear-gradient(140deg, var(--warning-soft), var(--surface-hover))}.lb-leader.place-1 .lb-eyebrow,.lb-leader.place-1 .lb-leader-rank{color:var(--warning)}.lb-leader-rank{letter-spacing:-.04em;color:var(--muted);margin:16px 0 12px;font-size:32px;font-weight:750;display:block}#leaderboard .lb-leader h3{overflow-wrap:anywhere;margin:0 0 6px;font-size:16px}.lb-leader-rating{font-variant-numeric:tabular-nums;margin:0 0 6px;font-size:14px;font-weight:650}.lb-leader>small{font-size:11px}.lb-leader>.lb-you-tag{position:absolute;top:44px;right:12px}.lb-table-heading{justify-content:space-between;align-items:baseline;gap:12px;margin-bottom:12px;display:flex}#leaderboard .lb-table-heading h3{margin:0;font-size:16px}.lb-table-heading>span{font-size:12px}#leaderboard .lb-standings{border:1px solid var(--border);border-radius:12px;max-height:390px}#leaderboard .board{table-layout:fixed}#leaderboard .board thead th{background:var(--surface-1);text-transform:uppercase;letter-spacing:.09em;z-index:1;padding:12px 16px;font-size:10px}#leaderboard .board td,#leaderboard .board tbody th{border-bottom:1px solid var(--border);padding:14px 16px;font-size:13px}#leaderboard .board th:first-child,#leaderboard .board td:first-child{width:76px}#leaderboard .board th:nth-child(3),#leaderboard .board th:nth-child(4){text-align:right;width:110px}#leaderboard .board tbody th{color:var(--text);text-align:left;overflow-wrap:anywhere;background:0 0;font-weight:600;position:static}#leaderboard .board tbody tr:last-child>*{border-bottom:0}#leaderboard .board tr:hover>*,#leaderboard .board tr.you>*{background:var(--accent-soft)}#leaderboard .board tr.you .lb-rank{box-shadow:inset 3px 0 color-mix(in srgb, var(--accent) 30%, transparent)}.lb-rating{color:var(--text);text-align:right;font-weight:700}.lb-record{color:var(--muted);text-align:right;white-space:nowrap}.lb-you-tag{color:var(--accent);background:var(--accent-soft);vertical-align:middle;border-radius:5px;margin-left:8px;padding:3px 6px;font-size:9px;font-weight:750;display:inline-block}.lb-medal{font-weight:750}.lb-medal.place-1{color:var(--warning)}.lb-medal.place-2{color:var(--text)}.lb-medal.place-3{color:var(--warning)}.lb-empty{text-align:center;border:1px dashed var(--border);background:var(--surface-hover);border-radius:14px;padding:34px 20px}.lb-empty>span{color:var(--accent);font-size:32px;display:inline-block}#leaderboard .lb-empty h3{margin:12px 0 8px;font-size:18px}.lb-empty p{color:var(--muted);max-width:330px;margin:auto;font-size:13px;line-height:1.6}.lb-last-season{border:1px solid var(--border);border-radius:12px;margin-top:24px;padding:20px}#leaderboard .lb-last-season h3{margin:0 0 14px;font-size:14px}.lb-last-season ol{margin:0;padding-left:22px}.lb-last-season li{padding:7px 0 7px 5px;font-size:13px}.lb-last-season .name{overflow-wrap:anywhere;margin-right:12px;display:inline-block}.lb-rules{border-top:1px solid var(--border);color:var(--muted);margin-top:24px;padding-top:18px;font-size:13px}.lb-rules summary{cursor:pointer}.lb-rules p{line-height:1.7}@media (max-width:600px),(max-height:500px){#leaderboard:modal:has(>.view-bar){border-radius:0}#leaderboard .lb-standings{max-height:none;overflow:visible}#leaderboard .board thead th{top:calc(52px + env(safe-area-inset-top))}}@media (max-width:600px){.lb-you{gap:18px;padding:18px}.lb-your-stats{gap:24px}.lb-podium{grid-template-columns:1fr;gap:8px}.lb-leader{grid-template-columns:42px minmax(0,1fr) auto;align-items:center;column-gap:12px;padding:14px;display:grid}.lb-leader>.lb-eyebrow{grid-column:2/-1;margin-bottom:6px}.lb-leader-rank{grid-area:1/1/4;margin:0;font-size:26px}#leaderboard .lb-leader h3{grid-column:2;margin:0;font-size:14px}.lb-leader-rating{grid-column:3;margin:0;font-size:12px}.lb-leader>small{grid-column:2/-1;margin-top:6px}.lb-leader>.lb-you-tag{grid-area:1/3;justify-self:end;position:static}#leaderboard .board thead th,#leaderboard .board td,#leaderboard .board tbody th{padding:12px 8px;font-size:11px}#leaderboard .board th:first-child,#leaderboard .board td:first-child{width:46px}#leaderboard .board th:nth-child(3),#leaderboard .board th:nth-child(4){width:65px}}.patchgames-wordmark{letter-spacing:.045em;color:var(--text);white-space:nowrap;font-weight:800;text-decoration:none}.patchgames-wordmark>span{color:var(--accent)}.ui-versus{box-sizing:border-box;width:24px;height:24px;color:var(--muted);background:var(--surface-3);letter-spacing:-.04em;border-radius:50%;flex:none;place-items:center;font-size:8px;font-weight:800;line-height:1;display:inline-grid}.discord-activity{background:var(--bg)}.discord-activity [data-testid=menu],.discord-activity [data-testid=nav],.discord-activity [data-testid=user-nav]{display:none}.discord-lobby{z-index:12;padding:max(24px,env(safe-area-inset-top)) max(24px,calc((100vw - 1120px)/2)) max(18px,env(safe-area-inset-bottom));box-sizing:border-box;color:var(--text);background:radial-gradient(ellipse at 20% 0%,var(--accent-soft),transparent 55%),var(--bg);flex-direction:column;gap:24px;font-size:14px;display:flex;position:fixed;inset:0;overflow-y:auto}.discord-lobby[hidden]{display:none}.discord-lobby h1,.discord-lobby h2,.discord-lobby p{text-align:left;margin:0}.discord-lobby-header{flex:none;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:24px;display:grid}.discord-lobby-header>div{min-width:0}.discord-lobby-header>.view-back{grid-column:1/-1;justify-self:start}.discord-lobby h1{letter-spacing:-.04em;margin:7px 0 5px;font-size:clamp(26px,3vw,34px);line-height:1.1}.discord-eyebrow{letter-spacing:.14em;color:var(--muted);font-size:10px;font-weight:750}.discord-subtitle,.discord-muted{color:var(--muted);font-size:12px;line-height:1.4}.discord-lobby button:not(.ui-button):not(.ui-tab){border:1px solid var(--border);background:var(--surface-2);min-height:44px;color:var(--text);cursor:pointer;font:inherit;border-radius:10px;padding:10px 16px;font-size:13px;font-weight:650;transition:background .15s,border-color .15s}.discord-lobby button:not(.ui-button):not(.ui-tab):hover:not(:disabled){background:var(--surface-hover);border-color:var(--border)}.discord-lobby button:focus-visible{outline:2px solid var(--focus-ring);outline-offset:3px}.discord-roster:focus-visible{outline:2px solid var(--focus-ring);outline-offset:3px}.discord-lobby button:not(.ui-button):not(.ui-tab):disabled{opacity:.4;cursor:default}.discord-lobby .discord-primary:not(.ui-button):not(.ui-tab){background:var(--accent);color:var(--on-accent);border-color:var(--accent);box-shadow:var(--shadow-sm)}.discord-lobby .discord-primary:not(.ui-button):not(.ui-tab):hover:not(:disabled){background:var(--accent-hover);border-color:var(--accent-hover)}.discord-lobby .discord-quiet{color:var(--muted);background:0 0;border-color:#0000}.discord-invite{white-space:nowrap}.discord-lobby-body{flex:none;grid-template-columns:minmax(0,2fr) minmax(235px,1fr);align-items:start;gap:20px;min-height:0;display:grid}.discord-lobby-side{flex-direction:column;flex:none;gap:14px;min-width:0;display:flex}.discord-lobby-side>.discord-audience{flex:none}.lobby-packs{flex-direction:column;gap:12px;padding:16px;display:flex}.lobby-season{min-width:0;color:var(--muted);gap:6px;font-size:11px;display:grid}.lobby-season select{width:100%;min-width:130px}.lobby-pack-list{flex-direction:column;gap:7px;max-height:240px;margin:0;padding:0;list-style:none;display:flex;overflow:auto}.lobby-pack-list li{border-bottom:1px solid var(--border);align-items:center;gap:7px;min-width:0;padding:9px 0;display:flex}.lobby-pack-list strong{overflow-wrap:anywhere;font-size:12px;display:block}.lobby-pack-list small{color:var(--muted);font-size:10px}.lobby-pack-grip{cursor:grab;color:var(--muted);font-size:22px}.lobby-pack-actions{flex-wrap:wrap;justify-content:flex-end;gap:3px;margin-left:auto;display:flex}.lobby-pack-actions button{padding:4px 6px;font-size:10px}.lobby-pack-list li:has(.lobby-pack-actions){grid-template-columns:20px minmax(0,1fr);gap:6px 8px;display:grid}.lobby-pack-list .lobby-pack-actions{grid-column:2;justify-content:flex-start;margin:0}.lobby-pack-actions button{min-width:34px;min-height:34px}.discord-duel{border:1px solid var(--border);background:var(--surface-1);border-radius:20px;flex-direction:column;gap:14px;min-width:0;padding:18px;display:flex}.discord-match-heading,.discord-seat-header,.discord-audience-heading{justify-content:space-between;align-items:center;gap:8px;display:flex}.discord-match-tag{color:var(--subtle);letter-spacing:.09em;font-size:9px}.discord-seats{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px;display:grid;position:relative}.discord-seat{border:1px solid var(--border);background:linear-gradient(145deg,var(--info-soft),var(--surface-1));border-radius:14px;min-width:0;padding:14px}.discord-seat-1{background:linear-gradient(215deg,color-mix(in srgb,var(--opponent) 10%,var(--surface-1)),var(--surface-1))}.discord-seat.is-ready{border-color:var(--success)}.discord-seat-header .discord-eyebrow{color:var(--self);letter-spacing:.09em;font-size:9px}.discord-seat-1 .discord-eyebrow{color:var(--opponent)}.discord-seat-status{color:var(--muted);align-items:center;gap:5px;font-size:10px;display:flex}.discord-seat-status:before{content:"";background:currentColor;border-radius:50%;width:5px;height:5px}.discord-seat-status.is-ready{color:var(--success)}.discord-identity{flex-direction:column;justify-content:center;align-items:center;gap:10px;min-height:164px;padding-top:12px;display:flex}.discord-seat h2{letter-spacing:-.02em;text-align:center;overflow-wrap:anywhere;-webkit-line-clamp:2;-webkit-box-orient:vertical;max-width:100%;font-size:21px;line-height:1.2;display:-webkit-box;overflow:hidden}.discord-player-tag{color:var(--muted);letter-spacing:.18em;font-size:8px;font-weight:700}.discord-versus{border:5px solid var(--surface-1);width:34px;height:34px;font-size:9px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.discord-avatar{border:1px solid color-mix(in srgb,var(--self) 25%,var(--border));background:var(--info-soft);width:64px;height:64px;color:var(--self);border-radius:20px;flex:none;place-items:center;font-size:21px;font-weight:750;display:grid;position:relative;overflow:hidden}.discord-seat-1 .discord-avatar{background:color-mix(in srgb,var(--opponent) 12%,var(--surface-1));border-color:color-mix(in srgb,var(--opponent) 25%,var(--border));color:var(--opponent)}.discord-avatar img{object-fit:cover;width:100%;height:100%;position:absolute}.discord-empty{color:var(--subtle);font-size:24px;background:var(--surface-hover)!important;border:1px dashed color-mix(in srgb,var(--info) 31%,transparent)!important}.discord-seat.is-empty{background:var(--surface-hover);border-style:dashed}.discord-seat.is-empty h2{color:var(--muted);font-size:16px}.discord-seat.is-empty button{min-height:36px;padding:8px 10px;font-size:11px}.discord-start-bar{border:1px solid var(--border);background:var(--bg);border-radius:12px;align-items:center;gap:12px;padding:12px;display:flex}.discord-start-number{border:1px solid var(--border);width:38px;height:38px;color:var(--muted);border-radius:50%;flex:none;place-items:center;font-size:10px;font-weight:750;display:grid}.discord-start-info{flex-direction:column;flex:1;gap:4px;min-width:0;display:flex}.discord-start-info strong{font-size:14px;font-weight:650}.discord-start-info .discord-muted{font-size:11px}.discord-start-bar button{flex:none;min-width:115px}.discord-lobby .discord-cancel-start{color:var(--warning);border-color:color-mix(in srgb,var(--warning) 33%,transparent);background:var(--warning-soft)}.is-starting .discord-start-bar{border-color:color-mix(in srgb,var(--warning) 30%,transparent);background:var(--warning-soft)}.is-starting .discord-start-number{border-color:var(--warning);color:var(--warning);font-size:22px}.discord-watching-tag{color:var(--muted);letter-spacing:.08em;font-size:9px}.discord-status{color:var(--muted);font-size:12px;line-height:1.4}.discord-last-result{border-left:2px solid var(--accent);background:var(--accent-soft);color:var(--muted);padding:8px 10px;font-size:12px}.discord-audience{border:1px solid var(--border);background:var(--surface-1);border-radius:20px;flex-direction:column;align-self:stretch;min-width:0;min-height:0;padding:18px;display:flex}.discord-audience-heading{flex:none;padding-bottom:14px}.discord-audience>.discord-audience-heading .discord-count{margin-right:auto}.discord-audience-join{flex:none}.discord-audience-actions{flex:none;margin-top:auto;padding-top:14px}.discord-audience-actions>button{width:100%}.discord-audience h2{letter-spacing:-.01em;font-size:14px;font-weight:650}.discord-count{box-sizing:border-box;background:var(--surface-hover);min-width:24px;color:var(--muted);text-align:center;border-radius:6px;padding:3px 6px;font-size:11px}.discord-roster{overscroll-behavior:contain;grid-template-columns:minmax(0,1fr);align-content:start;gap:3px;min-height:0;display:grid;overflow-y:auto}.discord-person{border-bottom:1px solid var(--border);align-items:center;gap:10px;min-width:0;padding:8px 0;display:flex}.discord-person>div:nth-child(2){flex:1;min-width:0}.discord-person .discord-avatar{background:var(--surface-3);border-color:var(--border);width:32px;height:32px;color:var(--text);border-radius:10px;font-size:11px}.discord-person strong{text-overflow:ellipsis;white-space:nowrap;color:var(--text);font-size:12px;font-weight:550;display:block;overflow:hidden}.discord-person .discord-muted{font-size:10px}.discord-presence{background:var(--success);border-radius:50%;flex:none;width:5px;height:5px}.discord-presence.is-offline{background:var(--subtle)}.discord-audience-empty{flex-direction:column;gap:8px;padding:24px 0;display:flex}.discord-audience-empty .discord-eyebrow{color:var(--subtle);font-size:9px}.discord-audience-empty strong{color:var(--muted);font-size:13px;font-weight:550}.discord-audience-empty p{color:var(--subtle);font-size:12px;line-height:1.6}.discord-lobby-footer{border:0;flex-wrap:wrap;flex:none;align-items:center;gap:8px;padding:8px 0 0;display:flex}.discord-lobby-footer>span{color:var(--subtle);flex:1;font-size:11px}.discord-lobby .discord-lobby-footer button{background:var(--surface-2);border-color:var(--border);min-height:32px;color:var(--text);white-space:normal;overflow-wrap:anywhere;padding:6px 12px;font-size:11px;line-height:1.4}.discord-lobby .discord-lobby-footer button:disabled{opacity:1;color:var(--muted);background:var(--surface-1);border-color:var(--border)}.friends-code{text-align:center;align-items:center;gap:0;display:grid}.friends-code .discord-eyebrow{font-size:8px}.discord-lobby .friends-code button{min-height:44px;color:var(--accent);letter-spacing:.12em;-webkit-user-select:text;user-select:text;box-shadow:none;background:0 0;border:0;border-radius:4px;padding:4px 0;font-size:17px}.discord-lobby.is-live{border:1px solid var(--border);background:color-mix(in srgb,var(--surface-raised) 94%,transparent);border-radius:16px;flex-flow:wrap;justify-content:center;align-items:center;gap:12px;width:fit-content;max-width:calc(100vw - 32px);margin:auto;padding:12px 18px;display:flex;inset:auto 16px 18px}.discord-cameras{flex-wrap:wrap;gap:8px;display:flex}.discord-cameras button{padding:8px 14px;font-size:12px}.discord-cameras button[aria-pressed=true]{background:var(--accent);border-color:var(--accent);color:var(--on-accent)}.spectator-scene{z-index:2;cursor:grab;touch-action:none;outline:none;position:fixed;inset:0}.spectator-scene[hidden]{display:none}.discord-lobby:not(.is-live){scrollbar-gutter:stable;overflow-x:hidden}@media (max-width:759px){.discord-lobby:not(.is-live){padding:max(12px,env(safe-area-inset-top)) max(12px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left));gap:12px}.discord-lobby .discord-lobby-header{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;display:grid}.discord-lobby .discord-lobby-header h1{overflow-wrap:anywhere;margin:5px 0;font-size:21px}.discord-lobby-header .discord-eyebrow{letter-spacing:.08em;font-size:8px}.discord-lobby .discord-lobby-header .discord-subtitle{font-size:11px;display:block}.discord-lobby .friends-code{text-align:center;grid-template-columns:1fr;gap:3px}.discord-lobby .friends-code button{letter-spacing:.09em;grid-area:2/1;font-size:14px}.discord-lobby .discord-invite{padding:8px 10px;font-size:12px}.discord-lobby .discord-duel{border-radius:14px;gap:10px;padding:10px}.discord-lobby .discord-seat{border-radius:10px;padding:10px 8px}.discord-lobby .discord-identity{gap:7px;min-height:115px;padding-top:8px}.discord-lobby .discord-seat .discord-avatar{border-radius:13px;width:42px;height:42px;font-size:16px}.discord-lobby .discord-seat h2{font-size:16px}.discord-lobby .discord-seat-header{flex-wrap:wrap;gap:4px}.discord-lobby .discord-seat-header .discord-eyebrow{font-size:8px}.discord-lobby .discord-seat-status{font-size:9px}.discord-lobby .discord-start-bar{gap:8px;padding:8px}.discord-lobby .discord-start-number{width:28px;height:28px}.discord-lobby .discord-start-info strong{font-size:13px}.discord-lobby .discord-start-bar button{min-width:86px;padding:8px 10px;font-size:12px}.discord-lobby .discord-lobby-side{gap:12px}.discord-lobby .discord-audience{border-radius:14px;min-height:0;padding:12px}.discord-lobby .discord-audience-heading{padding-bottom:8px}.discord-lobby .discord-audience-empty{grid-column:1/-1;gap:4px;padding:2px 0}.discord-lobby .discord-audience-empty p{font-size:11px;line-height:1.4}.discord-lobby .discord-roster{max-height:180px}.discord-lobby .lobby-packs{gap:8px}.discord-lobby .lobby-packs .discord-audience-heading{padding:0}.discord-lobby .lobby-packs .discord-audience-heading button{min-height:36px;padding:6px 10px;font-size:12px}.discord-lobby .lobby-pack-list{max-height:220px}.discord-lobby .lobby-pack-list li{padding:6px 0;font-size:11px}.discord-lobby .lobby-pack-actions button{min-width:36px;min-height:36px;font-size:12px}.discord-lobby .discord-lobby-footer{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.discord-lobby .discord-lobby-footer button{white-space:normal;min-width:0;min-height:36px;margin:0}}.spectator-scene:active{cursor:grabbing}.spectator-hint{color:var(--muted);flex-basis:100%;font-size:12px}@media (max-width:759px){.discord-lobby:not(.is-live){padding:max(14px,env(safe-area-inset-top)) max(14px,env(safe-area-inset-right)) max(10px,env(safe-area-inset-bottom)) max(14px,env(safe-area-inset-left));gap:14px}.discord-lobby-header{flex-wrap:wrap;gap:12px}.discord-lobby h1{font-size:26px}.discord-lobby-header button:not(.view-back){padding:8px 12px;font-size:11px}.discord-lobby-body{display:contents}.discord-duel{border-radius:16px;flex:none;gap:12px;padding:12px}.discord-seat{background:linear-gradient(145deg,var(--info-soft),var(--surface-1));border-radius:10px;padding:10px}.discord-seat-header{gap:3px}.discord-seat-header .discord-eyebrow,.discord-seat-status{font-size:8px}.discord-identity{gap:8px;min-height:134px;padding-top:10px}.discord-seat h2{font-size:16px}.discord-avatar{background:var(--info-soft);width:50px;height:50px;color:var(--self);border:1px solid color-mix(in srgb,var(--self) 25%,var(--border));border-radius:16px;font-size:18px}.discord-start-bar{gap:8px;padding:10px}.discord-start-number{width:30px;height:30px}.discord-start-info strong{font-size:12px}.discord-start-info .discord-muted{font-size:10px}.discord-start-bar button{min-width:90px;padding:8px 10px;font-size:11px}.discord-audience{border-radius:16px;flex:1;min-height:110px;padding:14px}.discord-audience-heading{padding-bottom:8px}.discord-audience-empty{grid-column:1/-1;padding:8px 0}.discord-audience-empty .discord-eyebrow{display:none}.discord-lobby-footer{gap:4px 8px}.discord-lobby-footer>span{display:none}.discord-lobby-footer button:last-child{margin-left:auto}.friends-code{gap:4px 8px}}@media (max-width:380px){.discord-lobby:not(.is-live){gap:8px;padding-left:10px;padding-right:10px}.discord-lobby h1{font-size:22px}.discord-lobby-header .discord-subtitle{display:none}.discord-lobby-header .discord-eyebrow{font-size:8px}.discord-identity{min-height:120px}.discord-seat h2{font-size:14px}.discord-avatar{background:var(--info-soft);width:42px;height:42px;color:var(--self);border:1px solid color-mix(in srgb,var(--self) 25%,var(--border))}.discord-seat-header{flex-wrap:wrap}.discord-start-number{display:none}.discord-duel{gap:10px;padding:10px}.discord-person{gap:6px}.discord-person .discord-avatar{width:26px;height:26px;color:var(--text)}.discord-person strong{font-size:11px}.discord-audience{min-height:100px;padding:10px}.friends-code{grid-template-columns:auto;gap:2px}.friends-code .discord-eyebrow{display:none}.friends-code button{grid-area:auto/1}}@media (max-height:550px) and (min-width:760px){.discord-lobby:not(.is-live){gap:14px;padding-top:14px;padding-bottom:10px}.discord-lobby-header .discord-subtitle{display:none}.discord-lobby-body{min-height:0}.discord-duel{gap:10px;padding:12px}.discord-identity{gap:6px;min-height:115px;padding-top:8px}.discord-seat h2{font-size:18px}.discord-seat .discord-avatar{border-radius:14px;width:44px;height:44px;font-size:16px}.discord-start-bar{padding:8px}}@media (max-width:759px){.discord-lobby:not(.is-live){padding:0 max(12px,env(safe-area-inset-right)) max(16px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left));scrollbar-gutter:auto;gap:14px}.discord-lobby .discord-lobby-header{z-index:2;padding:max(12px,env(safe-area-inset-top)) 0 12px;background:var(--bg);border-bottom:1px solid var(--border);gap:12px 16px;position:sticky;top:0}.discord-lobby .discord-lobby-footer{gap:6px;padding-top:6px}.discord-lobby .discord-lobby-footer button{width:100%;min-height:36px;margin:0;padding:6px 8px;font-size:11px}}@media (max-height:550px) and (min-width:760px){.discord-lobby:not(.is-live){padding-top:max(14px,env(safe-area-inset-top));padding-left:max(24px,env(safe-area-inset-left));padding-right:max(24px,env(safe-area-inset-right));padding-bottom:max(14px,env(safe-area-inset-bottom))}}@media (min-width:760px){.discord-lobby-body{align-items:stretch}.discord-lobby-side{min-height:0}.discord-lobby-side>.discord-audience{contain:size;flex:1}.discord-lobby-side .discord-roster{flex:1}}.lobby-powered-by{color:var(--muted);white-space:nowrap;align-items:center;gap:5px;margin-right:auto;font-size:10px;display:flex}.lobby-powered-by img{object-fit:contain;flex:none;width:50px;height:16px;display:block}:root[data-theme=light] .lobby-powered-by img{filter:brightness(.6)}@media (max-width:759px){.discord-lobby-footer>.lobby-powered-by{grid-column:1/-1;justify-content:center;justify-self:center;margin-inline:0}}.discord-lobby:has(>.discord-lobby-scroll){--lobby-inset-left:max(24px,env(safe-area-inset-left),calc((100vw - 1120px)/2));--lobby-inset-right:max(24px,env(safe-area-inset-right),calc((100vw - 1120px)/2));scrollbar-gutter:auto;--lobby-scroll-top:max(24px,env(safe-area-inset-top));--lobby-scroll-bottom:20px;--lobby-footer-bottom:max(10px,env(safe-area-inset-bottom));gap:0;padding:0;overflow:hidden}.discord-lobby-scroll{scrollbar-gutter:stable;min-height:0;padding:var(--lobby-scroll-top) var(--lobby-inset-right) calc(var(--lobby-scroll-bottom) + var(--lobby-footer-height,0px)) var(--lobby-inset-left);flex-direction:column;flex:1;gap:24px;display:flex;position:absolute;inset:0;overflow:hidden auto}.lobby-footer-dock{bottom:0;left:0;right:var(--lobby-scrollbar-width,0px);z-index:3;padding:0 var(--lobby-inset-right) var(--lobby-footer-bottom) var(--lobby-inset-left);background:var(--bg);position:absolute}.lobby-footer-dock:before{content:"";background:linear-gradient(to bottom,transparent,color-mix(in srgb,var(--bg) 65%,transparent) 60%,var(--bg));pointer-events:none;height:24px;position:absolute;bottom:100%;left:0;right:0}@media (max-width:759px){.discord-lobby-scroll{scrollbar-gutter:auto;gap:14px}.discord-lobby:has(>.discord-lobby-scroll){--lobby-inset-left:max(12px,env(safe-area-inset-left));--lobby-inset-right:max(12px,env(safe-area-inset-right));--lobby-scroll-top:0px;--lobby-scroll-bottom:14px;--lobby-footer-bottom:max(8px,env(safe-area-inset-bottom))}}@media (max-height:550px) and (min-width:760px){.discord-lobby-scroll{gap:14px}.discord-lobby:has(>.discord-lobby-scroll){--lobby-inset-left:max(24px,env(safe-area-inset-left));--lobby-inset-right:max(24px,env(safe-area-inset-right));--lobby-scroll-top:max(14px,env(safe-area-inset-top));--lobby-footer-bottom:max(8px,env(safe-area-inset-bottom))}}.discord-lobby .lobby-footer-terms{text-align:right;color:var(--muted);margin-left:auto;font-size:10px;line-height:1.4}.lobby-footer-terms a{color:var(--accent);text-underline-offset:3px}.lobby-footer-terms a:focus-visible{outline:2px solid var(--focus-ring);outline-offset:3px;border-radius:2px}@media (max-width:759px){.discord-lobby .discord-lobby-footer>.lobby-footer-terms{text-align:center;grid-column:1/-1;justify-self:center;width:100%;margin:0}}.discord-lobby .private-lobby-header{grid-template-columns:auto minmax(0,1fr);align-items:start}.private-lobby-header>.view-back{grid-area:1/1}.private-lobby-header>div{text-align:right;grid-area:1/2;justify-self:end}.discord-lobby .private-lobby-header h1,.discord-lobby .private-lobby-header p{text-align:right}.discord-lobby .private-lobby-header .friends-code{text-align:right;justify-content:flex-end;align-items:center;gap:8px;margin-top:8px;display:flex}.discord-lobby .private-lobby-header .friends-code .discord-eyebrow{display:inline}.discord-lobby .private-lobby-header .friends-code button{letter-spacing:.1em;min-height:24px;padding:2px 0;font-size:13px}.room-code-control{flex:none;justify-content:center;align-items:center;width:64px;height:24px;display:flex;position:relative}.room-code-control>.discord-eyebrow{pointer-events:none;transition:opacity .12s}.discord-lobby .private-lobby-header .friends-code .room-code-value{letter-spacing:.1em;white-space:nowrap;flex:none;min-width:0;height:24px;font-family:monospace}.discord-lobby .private-lobby-header .friends-code .room-code-reveal{width:100%;min-width:0;height:24px;min-height:24px;color:var(--muted);opacity:0;pointer-events:none;border-radius:8px;padding:3px;transition:opacity .12s;position:absolute;inset:0}.friends-code:is(:hover,:has(:focus-visible)) .room-code-control>.discord-eyebrow{opacity:0}.discord-lobby .private-lobby-header .friends-code:is(:hover,:has(:focus-visible)) .room-code-reveal{opacity:1;pointer-events:auto}@media (prefers-reduced-motion:reduce){.room-code-control>.discord-eyebrow,.discord-lobby .private-lobby-header .friends-code .room-code-reveal{transition:none}}.discord-lobby .private-lobby-header .friends-code .room-code-reveal:hover{color:var(--accent);background:var(--accent-soft)}.room-code-value{-webkit-touch-callout:none;touch-action:pan-y}@media (hover:none){.discord-lobby .private-lobby-header .friends-code .room-code-value{-webkit-user-select:none;user-select:none}.friends-code:is(:hover,:has(:focus-visible)) .room-code-control>.discord-eyebrow{opacity:1}.discord-lobby .private-lobby-header .friends-code .room-code-reveal{display:none}}.discord-lobby .room-code-menu{box-sizing:border-box;border:1px solid var(--border-strong);background:var(--panel-solid);width:190px;color:var(--text);box-shadow:var(--shadow-lg);border-radius:12px;padding:6px}.discord-lobby .room-code-menu>.ui-button{letter-spacing:normal;border-radius:8px;justify-content:flex-start;width:100%;min-height:44px;padding:10px 12px;font-size:13px}.lobby-identity-line{justify-content:flex-end;align-items:center;gap:10px;min-height:24px;display:flex}.lobby-settings{flex:none;display:flex}.discord-lobby .lobby-settings>.ui-icon-button{width:24px;min-width:24px;height:24px;min-height:24px;color:var(--muted);border-radius:7px;padding:3px}.lobby-settings>.ui-icon-button .ui-icon{stroke-width:1.7px;width:18px;height:18px}.discord-lobby .lobby-settings>.ui-icon-button:is(:hover,[aria-expanded=true]){color:var(--text);background:var(--surface-hover)}.lobby-menu-divider{background:var(--border);flex:none;height:1px;margin:4px 8px}.lobby-control-switch{background:var(--surface-hover);width:28px;height:16px;box-shadow:inset 0 0 0 1px var(--border-strong);border-radius:999px;flex:none;margin-left:auto;transition:background .15s;position:relative}.lobby-control-switch:after{content:"";background:var(--muted);border-radius:50%;width:10px;height:10px;transition:transform .15s;position:absolute;top:3px;left:3px}[aria-checked=true]>.lobby-control-switch{background:var(--accent);box-shadow:none}[aria-checked=true]>.lobby-control-switch:after{background:var(--on-accent);transform:translate(12px)}@media (prefers-reduced-motion:reduce){.lobby-control-switch,.lobby-control-switch:after{transition:none}}.lobby-member-controls{flex:none;margin-left:auto}.discord-lobby .lobby-member-controls>.ui-icon-button{width:28px;min-width:28px;height:28px;min-height:28px;color:var(--text);background:var(--surface-hover);border-radius:8px;padding:4px}.discord-seat-header>.lobby-member-controls{order:3}.lobby-member-controls>.ui-icon-button .ui-icon{stroke-width:3.5px;width:20px;height:20px}.discord-lobby-body:not(.has-spectators){grid-template-columns:minmax(0,1fr) 0;column-gap:0}.discord-lobby-side{overflow:hidden}.discord-lobby .discord-start-bar>.discord-spectate-icon{width:32px;min-width:32px;height:32px;min-height:32px;color:var(--muted);background:0 0;border:0;border-radius:8px;padding:6px}.discord-lobby .discord-start-bar>.discord-spectate-icon:hover:not(:disabled){background:var(--surface-hover);color:var(--text)}@media (max-width:759px){.discord-lobby-body,.discord-lobby-body:not(.has-spectators){grid-template-columns:minmax(0,1fr);gap:14px;display:grid}.discord-lobby-body:not(.has-spectators){grid-template-rows:auto 0;row-gap:0}.discord-lobby-side{min-height:0}}.discord-lobby .activity-lobby-header{grid-template-columns:auto minmax(0,1fr)}.activity-lobby-header>.patchgames-wordmark{font-size:23px}.activity-lobby-tools{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:16px;display:flex}.discord-lobby-body:not(.has-spectators) .discord-seat{flex-direction:column;display:flex}.discord-lobby-body:not(.has-spectators) .discord-seat-header{flex:none}.discord-lobby-body:not(.has-spectators) .discord-identity{flex:1}@media (max-width:759px){.activity-lobby-header>.patchgames-wordmark{font-size:19px}.activity-lobby-tools{gap:5px 10px}.discord-lobby-scroll>.discord-lobby-header{margin-left:calc(-1 * var(--lobby-inset-left));margin-right:calc(-1 * var(--lobby-inset-right));padding-left:var(--lobby-inset-left);padding-right:var(--lobby-inset-right)}.discord-lobby-scroll>.activity-lobby-header{padding-left:calc(var(--lobby-inset-left) + 8px);padding-right:calc(var(--lobby-inset-right) + 8px)}}.battle-royale-seats{grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:10px;max-height:48vh;display:grid;overflow:auto}.battle-royale-seats .discord-seat{min-width:0;min-height:100px;padding:12px}.battle-royale-seats .discord-identity{gap:8px}.battle-royale-seats .discord-identity h2{font-size:1rem}.battle-royale-seats .discord-avatar{width:32px;height:32px;font-size:1rem}.game-mode-picker{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;min-width:0;display:grid}.game-mode-label{color:var(--muted);grid-column:1/-1;font-size:11px;font-weight:600}.game-mode-choice.ui-button{border:1px solid var(--border);text-align:left;white-space:normal;flex-direction:column;justify-content:center;align-items:flex-start;gap:5px;min-width:0;min-height:68px;padding:12px 14px;display:flex}.game-mode-choice.ui-button[aria-pressed=true]{color:var(--accent);background:var(--accent-soft);border-color:var(--accent)}.game-mode-choice>strong{font-size:14px}.game-mode-choice>span{color:var(--muted);font-size:11px;font-weight:400}.host-game-dialog .ui-modal-body{flex-direction:column;gap:16px;display:flex}.host-game-dialog .ui-modal-body>p{color:var(--muted);margin:0;font-size:13px}.lobby-round-setup{flex-direction:column;flex:none;gap:8px;min-width:0;display:flex}.lobby-setup-actions{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.lobby-setup-actions[hidden]{display:none}.lobby-setup-actions>span{font-size:12px}.lobby-setup-actions>.ui-button{margin-left:auto}.lobby-setup-status{color:var(--text);margin:0;font-size:12px}.lobby-setup-status:empty{display:none}#menu.main-menu{width:min(1040px,100vw - 64px);max-height:calc(100dvh - 110px - var(--safe-bottom));box-shadow:none;background:0 0;border:0;border-radius:0;gap:20px;padding:0 0 8px;top:max(94px,50dvh - 270px);overflow-y:auto;transform:translate(-50%)}body:has(.season-pill:not([hidden])) #menu.main-menu{max-height:calc(100dvh - 120px - var(--safe-bottom));top:max(104px,50dvh - 270px)}#menu.main-menu>h1{margin:0;font-size:clamp(32px,4vw,44px)}#menu.main-menu>.field{width:min(320px,100%);margin:0 auto;font-size:12px}#menu.main-menu .main-menu-sections{width:100%;height:430px;min-height:430px;box-shadow:var(--shadow-lg);flex:none}#menu.main-menu .main-menu-sections>.round-section:not(.is-expanded){flex-basis:190px}#menu.main-menu .main-menu-sections[data-expanded=none]>.round-section{flex:1 1 0}#menu.main-menu .round-section>.round-section-content{gap:16px;height:auto;max-height:none;padding:26px;overflow-y:auto}#menu.main-menu .round-section-content>*{flex-shrink:0}#menu.main-menu .round-section-heading>strong{overflow-wrap:normal}.main-menu-intro{flex-direction:column;gap:8px;margin:0 0 6px;display:flex}.main-menu-eyebrow{color:var(--muted);letter-spacing:.14em;font-size:10px;font-weight:600}.main-menu-intro h2{text-align:left;letter-spacing:-.035em;margin:0;font-size:clamp(24px,3vw,32px);line-height:1.15}.main-menu-intro p{text-align:left;color:var(--muted);margin:0;font-size:13px;line-height:1.6}#menu.main-menu .find-match{min-height:88px;box-shadow:var(--shadow-sm)}#menu.main-menu .hero-change{min-height:72px;margin:0}#menu.main-menu .round-section>.tournament-content{grid-template-rows:auto minmax(160px,1fr) auto;gap:20px;padding:24px 26px;display:grid}.tournament-intro{align-items:center;gap:16px;min-width:0;display:flex}.tournament-intro>div{min-width:0}.tournament-intro h2{letter-spacing:-.045em;text-align:left;margin:0;font-size:clamp(26px,2.7vw,34px);line-height:1.1}.tournament-intro p{color:var(--muted);margin:7px 0 0;font-size:12px;line-height:1.5}.tournament-emblem{isolation:isolate;border:1px solid color-mix(in srgb, var(--warning) 30%, var(--border));width:62px;height:62px;color:var(--warning);background:linear-gradient(145deg, var(--warning-soft), var(--surface-1));border-radius:20px;flex:none;place-items:center;display:grid;position:relative}.tournament-emblem:before{content:"";border:1px solid color-mix(in srgb, var(--warning) 12%, transparent);pointer-events:none;border-radius:15px;position:absolute;inset:5px}.tournament-emblem>.ui-icon{width:30px;height:30px}.tournament-actions{grid-template-columns:1.1fr 1fr;gap:14px;min-width:0;display:grid}#menu.main-menu .tournament-action{min-height:0;box-shadow:none;border-radius:18px;grid-template-rows:1fr auto;grid-template-columns:1fr auto;align-items:start;gap:18px 10px;margin:0;padding:20px;transition:transform .18s,border-color .18s,background-color .18s;display:grid}#menu.main-menu .tournament-action:hover:not(:disabled){box-shadow:none;transform:translateY(-2px)}#menu.main-menu .tournament-action:active:not(:disabled){transform:none}#menu.main-menu .tournament-play:after{display:none}#menu.main-menu .tournament-play{border:1px solid color-mix(in srgb, var(--play-end) 70%, var(--play));background:linear-gradient(135deg, var(--play-end), var(--play))}#menu.main-menu .tournament-patch{border-color:color-mix(in srgb, var(--accent) 26%, var(--border));background:linear-gradient(145deg, var(--accent-soft), var(--surface-1) 85%)}#menu.main-menu .tournament-patch:hover:not(:disabled){border-color:var(--accent)}.tournament-action>:is(.find-icon,.hero-icon){border-radius:12px;grid-area:1/1;width:42px;height:42px}.tournament-action>.find-icon{background:color-mix(in srgb, var(--on-play) 10%, transparent)}.tournament-action>.find-icon img{width:40px;height:40px}.tournament-action>.hero-icon{background:color-mix(in srgb, var(--accent) 12%, transparent)}.tournament-action>.hero-icon svg{width:26px;height:26px}.tournament-action>:is(.find-text,.hero-text){flex-direction:column;grid-area:2/1/auto/-1;align-self:end;gap:7px;display:flex}.tournament-action :is(.find-text,.hero-text) strong{letter-spacing:-.035em;font-size:clamp(20px,2.1vw,27px);font-weight:750;line-height:1.1}.tournament-action :is(.find-text,.hero-text) small{font-size:11px;font-weight:500;line-height:1.5}.tournament-patch .hero-text small{color:var(--muted)}.tournament-action>.tournament-action-arrow{opacity:.65;border:1px solid;border-radius:50%;grid-area:1/2;width:28px;height:28px;padding:5px;transform:rotate(180deg)}.tournament-patch>.tournament-action-arrow{color:var(--accent)}.tournament-standing{color:var(--muted);align-items:center;gap:9px;min-width:0;font-size:11px;line-height:1.5;display:flex}.tournament-standing>.ui-icon{width:15px;height:15px;color:var(--accent);flex:none}#menu.main-menu .main-menu-host{gap:12px;min-height:72px;font-size:18px}#menu.main-menu .main-menu-host>.ui-icon{width:24px;height:24px}.main-menu-join-label{color:var(--muted);margin-top:8px;margin-bottom:-8px;font-size:12px}#menu.main-menu .join-row{gap:10px}#menu.main-menu .join-row>.ui-input{letter-spacing:.12em;flex:1;width:0;min-width:0}#menu.main-menu .join-row>.ui-button{flex:none}.main-menu-identity{align-items:center;gap:14px;margin-bottom:6px;display:flex}.main-menu-avatar{border:1px solid var(--border);background:var(--success-soft);width:52px;height:52px;color:var(--success);border-radius:16px;flex:none;place-items:center;display:grid}.main-menu-avatar>.ui-icon{width:26px;height:26px}.main-menu-identity>div{min-width:0}.main-menu-identity strong{overflow-wrap:anywhere;letter-spacing:-.02em;font-size:20px;display:block}#menu.main-menu .player-summary{text-align:left;margin-top:5px;font-size:12px;line-height:1.6}.main-menu-account-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}#menu.main-menu .main-menu-account-action{border:1px solid var(--border);text-align:left;white-space:normal;border-radius:12px;justify-content:flex-start;gap:10px;min-height:62px;padding:12px;font-size:13px}.main-menu-account-action>.ui-icon{color:var(--muted);flex:none}.main-menu-account-action>span{flex:1}.main-menu-account-action>.main-menu-action-arrow{width:14px;height:14px;transform:rotate(180deg)}#menu.main-menu>.menu-terms{font-size:10px}#menu.main-menu.searching{background:var(--panel-solid);border:1px solid var(--border);width:min(440px,100vw - 32px);box-shadow:var(--shadow-lg);border-radius:20px;padding:28px}@media (min-width:701px) and (max-width:900px){#menu.main-menu .main-menu-sections>.round-section:not(.is-expanded){flex-basis:148px}#menu.main-menu .round-section>.round-section-content{padding:20px}.main-menu-account-actions{grid-template-columns:1fr}}@media (max-width:700px){#menu.main-menu{top:calc(var(--fab-top) + var(--fab-size) + 20px);width:calc(100vw - 24px);max-height:calc(100dvh - var(--fab-top) - var(--fab-size) - 32px - var(--safe-bottom));gap:16px}body:has(.season-pill:not([hidden])) #menu.main-menu{top:calc(var(--fab-top) + 144px);max-height:calc(100dvh - var(--fab-top) - 156px - var(--safe-bottom))}#menu.main-menu .main-menu-sections{height:auto;min-height:0}#menu.main-menu .main-menu-sections>.round-section:not(.is-expanded),#menu.main-menu .main-menu-sections[data-expanded=none]>.round-section{flex:none}#menu.main-menu .round-section>.round-section-content{flex:none;gap:14px;padding:20px;overflow:visible}#menu.main-menu .main-menu-sections[data-expanded=none]>.round-section{container-type:normal}#menu.main-menu .round-section:not(.is-expanded)>.round-section-toggle{min-height:96px}#menu.main-menu .main-menu-sections[data-expanded=none] .round-section-heading>strong{font-size:20px}#menu.main-menu .find-match{min-height:76px}#menu.main-menu .hero-change{min-height:64px}#menu.main-menu .main-menu-host{min-height:62px}#menu.main-menu .main-menu-account-action{gap:8px;padding:10px;font-size:12px}}@media (max-width:900px){#menu.main-menu .round-section>.tournament-content{grid-template-rows:auto auto auto;gap:16px;padding:20px}.tournament-intro{gap:12px}.tournament-emblem{border-radius:15px;width:48px;height:48px}.tournament-emblem:before{border-radius:10px}.tournament-emblem>.ui-icon{width:25px;height:25px}.tournament-intro h2{font-size:26px}.tournament-intro p{margin-top:6px;font-size:11px}.tournament-actions{grid-template-columns:1fr;gap:10px}#menu.main-menu .tournament-action{border-radius:15px;grid-template-rows:auto;grid-template-columns:40px minmax(0,1fr) 24px;align-items:center;gap:12px;min-height:80px;padding:15px}.tournament-action>:is(.find-icon,.hero-icon){width:40px;height:40px}.tournament-action>:is(.find-text,.hero-text){grid-area:1/2;align-self:center;gap:4px}.tournament-action :is(.find-text,.hero-text) strong{font-size:20px}.tournament-action>.tournament-action-arrow{grid-column:3;width:24px;height:24px;padding:4px}}@media (max-width:360px){#menu.main-menu .round-section>.tournament-content{padding:16px}.tournament-intro h2{font-size:24px}#menu.main-menu .tournament-action{gap:9px;padding:12px}.tournament-action :is(.find-text,.hero-text) strong{font-size:18px}}
