.entry-hub{--ink:#f3ead2;--muted:#b8c8ca;--line:#3a515b;--gold:#e0b664;--mugen:#68d8d0;width:min(100%,1060px);color:var(--ink,#f3ead2);background:#051219f7;border:1px solid #3a515b;margin:0 auto;padding:24px;box-shadow:0 12px 40px #0005}.entry-hub-intro{text-align:center;margin-bottom:26px}.entry-hub-brand{width:min(440px,85%);height:auto;margin:0 auto 10px;display:block}.entry-hub-intro h1{letter-spacing:-.025em;margin:0;font:500 clamp(28px,4vw,40px)/1.15 Georgia,serif}.entry-hub-intro>p{color:var(--muted,#aab5b7);margin:8px 0 0;font-size:16px}.entry-hub button{cursor:pointer}.entry-hub button:disabled{cursor:wait;opacity:.55}.entry-hub-preparing{border:1px solid var(--line,#2d4652);color:var(--ink,#f3ead2);text-align:center;padding:12px}.entry-hub-saved{margin-bottom:26px}.entry-hub-save{justify-content:space-between;align-items:center;gap:18px;padding:17px 20px;display:flex}.entry-hub-save-primary{border:1px solid var(--gold,#d7ab55);background:linear-gradient(115deg,#172b31,#101b25);border-left-width:4px;box-shadow:0 7px 24px #0003}.entry-hub-save-copy{min-width:0}.entry-hub-eyebrow{color:var(--gold,#d7ab55);letter-spacing:.09em;text-transform:uppercase;margin:0 0 7px;font-size:11px;font-weight:700}.entry-hub-save h2{margin:0;font-size:19px;font-weight:700}.entry-hub-save-opponent{overflow-wrap:anywhere;margin:5px 0 8px;font-size:16px}.entry-hub-save-meta{color:#c5d1d1;flex-wrap:wrap;gap:4px 16px;margin:0;font-size:13px;line-height:1.5;display:flex}.entry-hub-save-date{color:var(--muted,#aab5b7);margin:6px 0 0;font-size:12px;line-height:1.5}.entry-hub-resume{border:1px solid var(--gold,#d7ab55);color:#101b25;background:#d7ab55;border-radius:3px;flex-shrink:0;justify-content:space-between;align-items:center;gap:18px;min-height:48px;padding:12px 18px;font-weight:800;display:flex}.entry-hub-resume:hover{background:#e7bd6c}.entry-hub-other-saves{border:1px solid var(--line,#2d4652);background:#0d1720;border-top:0}.entry-hub-other-saves>summary{color:#c5d1d1;cursor:pointer;min-height:46px;padding:13px 20px;font-size:14px}.entry-hub-other-saves>summary span{text-align:center;background:#263c46;border-radius:3px;min-width:23px;margin-left:6px;padding:1px 6px;font-size:12px;display:inline-block}.entry-hub-save-list{max-height:420px;overflow-y:auto}.entry-hub-save-list>.entry-hub-save{border-top:1px solid var(--line,#2d4652)}.entry-hub-save-list .entry-hub-save h2{font-size:16px}.entry-hub-save-list .entry-hub-resume{color:var(--ink,#f3ead2);background:0 0;border-color:#5a7e85}.entry-hub-rules{border:0;min-width:0;margin:0 0 26px;padding:0}.entry-hub-rules>legend{margin-bottom:11px;padding:0;font-size:17px;font-weight:700}.entry-hub-rule-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.entry-hub-rule{text-align:left;background:#101b25;border:1px solid #35515f;border-radius:4px;grid-template-columns:62px minmax(0,1fr) 21px;align-items:center;gap:12px;min-height:99px;padding:12px 15px;display:grid}.entry-hub-rule-selected{border-color:var(--mugen,#68d8d0);background:#102c34;box-shadow:inset 0 0 0 1px #68d8d059}.entry-hub-rule>img{object-fit:contain;width:62px;height:62px;display:block}.entry-hub-rule>span:not(.entry-hub-selection){gap:5px;display:grid}.entry-hub-rule strong{font-size:17px}.entry-hub-rule>span>span{color:#b9c8ca;font-size:13px;line-height:1.45}.entry-hub-selection{color:#091a20;border:1px solid #647d83;border-radius:50%;place-items:center;width:21px;height:21px;font-size:14px;font-weight:900;display:grid}.entry-hub-rule-selected .entry-hub-selection{background:#68d8d0;border-color:#68d8d0}.entry-hub-section{margin-top:25px}.entry-hub-section-heading{justify-content:space-between;align-items:baseline;gap:12px;margin-bottom:11px;display:flex}.entry-hub-section-heading h2{margin:0;font-size:19px}.entry-hub-section-heading>span{color:var(--muted,#aab5b7);font-size:12px}.entry-hub-card-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.entry-hub-card{text-align:left;background:linear-gradient(120deg,#112530,#101b25);border:1px solid #35515f;border-radius:4px;grid-template-columns:88px minmax(0,1fr) 18px;align-items:center;gap:15px;min-height:132px;padding:18px;transition:border-color .15s,background .15s;display:grid}.entry-hub-card:hover:not(:disabled),.entry-hub-rule:hover:not(:disabled){border-color:var(--mugen,#68d8d0);background:#14323c}.entry-hub-card-primary{background:linear-gradient(120deg,#15414a,#112c36);border-color:#68d8d0}.entry-hub-art{object-fit:contain;filter:drop-shadow(0 5px 9px #0005);width:88px;height:88px;display:block}.entry-hub-card-copy{gap:8px;display:grid}.entry-hub-card-copy>strong{font-size:19px;line-height:1.25}.entry-hub-card-copy>span{color:#c0ced0;font-size:14px;line-height:1.5}.entry-hub-card-arrow{color:var(--mugen,#68d8d0);font-size:22px}.entry-hub-challenge-grid .entry-hub-card{grid-template-columns:70px minmax(0,1fr) 18px;min-height:114px;padding:15px 18px}.entry-hub-challenge-grid .entry-hub-art{width:70px;height:70px}.entry-hub-challenge-grid .entry-hub-card-copy>strong{font-size:17px}.entry-hub-challenge-grid .entry-hub-card-copy>span{font-size:13px}.entry-hub-tournaments{background:#0e1c26;border:1px solid #35515f;border-radius:4px;margin-top:12px}.entry-hub-tournaments>summary{cursor:pointer;justify-content:space-between;align-items:center;gap:15px;min-height:69px;padding:15px 20px;list-style:none;display:flex}.entry-hub-tournaments>summary::-webkit-details-marker{display:none}.entry-hub-tournaments>summary>span:first-child{gap:5px;display:grid}.entry-hub-tournaments>summary strong{font-size:16px}.entry-hub-tournaments>summary>span>span{color:#b9c8ca;font-size:13px}.entry-hub-details-mark{color:#68d8d0;font-size:24px;line-height:1}.entry-hub-tournaments[open] .entry-hub-details-mark{transform:rotate(45deg)}.entry-hub-tournament-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:0 12px 12px;display:grid}.entry-hub-tournament{background:#101f2a;border:1px solid #2d4652;border-radius:3px;flex-direction:column;padding:15px;display:flex}.entry-hub-tournament-heading{align-items:center;gap:12px;display:flex}.entry-hub-tournament-heading>img{object-fit:contain;flex-shrink:0;width:62px;height:62px}.entry-hub-tournament h3{margin:0 0 5px;font-size:17px}.entry-hub-tournament-heading p{color:#d7ab55;margin:0;font-size:12px;line-height:1.5}.entry-hub-tournament>p{color:#c0ced0;margin:10px 0 17px;font-size:13px;line-height:1.55}.entry-hub-tournament>button{text-align:left;background:#18313b;border:1px solid #526d77;border-radius:3px;justify-content:space-between;align-items:center;gap:10px;min-height:46px;margin-top:auto;padding:10px 12px;font-size:13px;font-weight:700;display:flex}.entry-hub-tournament>button:hover{background:#20404a;border-color:#68d8d0}.entry-hub-tournaments-preparing{opacity:.6;padding:15px 20px}.entry-hub-tournaments-preparing>span{margin-top:5px;font-size:13px;display:block}.entry-hub-progress{border-top:1px solid var(--line,#2d4652);margin-top:27px;padding-top:21px}.entry-hub-progress>h2{margin:0 0 10px;font-size:16px}.entry-hub-progress>h2>span{color:var(--muted,#aab5b7);margin-left:8px;font-size:12px;font-weight:400}.entry-hub-progress>div{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.entry-hub-progress button{border:1px solid var(--line,#2d4652);text-align:left;background:#101b25;border-radius:3px;justify-content:space-between;align-items:center;gap:10px;min-height:46px;padding:10px 14px;font-size:14px;display:flex}.entry-hub-progress button:hover:not(:disabled){border-color:#68d8d0}.entry-hub-progress button>span{color:#a9bfc2}.entry-hub-help{flex-wrap:wrap;justify-content:center;gap:8px 20px;margin-top:14px;display:flex}.entry-hub-help button{color:#b9c8ca;text-underline-offset:3px;background:0 0;border:0;min-height:44px;padding:10px 6px;font-size:13px;text-decoration:underline}.entry-hub-help button:hover:not(:disabled){color:#f3ead2}@media (width<=680px){.entry-hub{padding:16px 12px}.entry-hub-intro{margin-bottom:20px}.entry-hub-brand{width:min(360px,92%);margin-bottom:8px}.entry-hub-intro h1{font-size:28px}.entry-hub-save{padding:15px}.entry-hub-save-primary{flex-direction:column;align-items:stretch;gap:13px}.entry-hub-save-primary .entry-hub-resume{justify-content:center}.entry-hub-save-list>.entry-hub-save{flex-direction:column;align-items:flex-start;gap:10px}.entry-hub-save-list .entry-hub-resume{min-height:44px;padding:9px 14px}.entry-hub-rule{grid-template-columns:42px minmax(0,1fr);align-content:start;gap:8px;min-height:127px;padding:12px;position:relative}.entry-hub-rule>img{width:42px;height:42px}.entry-hub-rule>span:not(.entry-hub-selection){grid-column:1/-1;gap:4px}.entry-hub-rule strong{font-size:15px}.entry-hub-rule>span>span{font-size:12px}.entry-hub-selection{position:absolute;top:14px;right:12px}.entry-hub-rules{margin-bottom:22px}.entry-hub-section-heading>span{font-size:11px}.entry-hub-card-grid{grid-template-columns:minmax(0,1fr);gap:10px}.entry-hub-card{grid-template-columns:68px minmax(0,1fr) 18px;gap:12px;min-height:110px;padding:15px}.entry-hub-art{width:68px;height:68px}.entry-hub-card-copy>strong{font-size:18px}.entry-hub-card-copy>span{font-size:13px}.entry-hub-challenge-grid .entry-hub-card{grid-template-columns:58px minmax(0,1fr) 18px;min-height:96px;padding:13px 15px}.entry-hub-challenge-grid .entry-hub-art{width:58px;height:58px}.entry-hub-tournaments>summary{padding:15px}.entry-hub-tournaments>summary>span>span{font-size:12px}.entry-hub-tournament-grid{grid-template-columns:minmax(0,1fr)}.entry-hub-progress>div{gap:7px}.entry-hub-progress button{gap:5px;padding:11px 9px;font-size:12px}}@media (prefers-reduced-motion:reduce){.entry-hub-card{transition:none}}.opponent-chooser{min-width:0;color:var(--ink);border:0;margin:0 0 20px;padding:0}.opponent-chooser>legend{letter-spacing:.08em;text-transform:uppercase;margin-bottom:10px;padding:0;font-size:13px;font-weight:800}.opponent-chooser-current{border:1px solid var(--line);border-left:3px solid var(--mugen);background:var(--panel);padding:14px 16px}.opponent-chooser-current-title{flex-wrap:wrap;align-items:baseline;gap:5px 12px;display:flex}.opponent-chooser-current-title>span{color:var(--muted);font-size:11px}.opponent-chooser-current-title>strong{font-size:19px;line-height:1.25}.opponent-chooser-current dl{flex-wrap:wrap;gap:8px 24px;margin:10px 0 0;display:flex}.opponent-chooser-current dl>div{flex-wrap:wrap;align-items:baseline;gap:4px 8px;display:flex}.opponent-chooser-current dt{color:var(--muted);font-size:13px}.opponent-chooser-current dd{color:var(--ink);margin:0;font-size:14px;font-weight:700}.opponent-chooser-quick-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:10px;display:grid}.opponent-chooser button{color:var(--ink);font:inherit;cursor:pointer}.opponent-chooser-quick-options>button{border:1px solid var(--line);text-align:left;background:0 0;min-height:60px;padding:10px 12px}.opponent-chooser-quick-options strong,.opponent-chooser-quick-options span{display:block}.opponent-chooser-quick-options strong{font-size:15px}.opponent-chooser-quick-options span{color:var(--muted);margin-top:4px;font-size:13px;line-height:1.4}.opponent-chooser button.is-selected{border-color:var(--mugen);box-shadow:inset 0 0 0 1px var(--mugen);background:color-mix(in srgb, var(--mugen) 9%, transparent)}.opponent-chooser button:focus-visible,.opponent-chooser input:focus-visible,.opponent-chooser select:focus-visible,.opponent-chooser summary:focus-visible{outline:2px solid var(--mugen);outline-offset:3px}.opponent-chooser-style{border:0;min-width:0;margin:14px 0;padding:0}.opponent-chooser-style legend{padding:0;font-size:14px;font-weight:800}.opponent-chooser-style p,.opponent-chooser-fixed-style{color:var(--muted);margin:7px 0;font-size:14px;line-height:1.5}.opponent-chooser-style>div{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-top:9px;display:grid}.opponent-chooser-style button{border:1px solid var(--line);background:0 0;min-height:44px;padding:8px;font-size:14px;font-weight:700}.opponent-chooser-catalogue{border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin-top:12px}.opponent-chooser summary{min-height:44px;color:var(--ink);cursor:pointer;align-content:center;padding:10px 2px;font-size:13px}.opponent-chooser-catalogue>summary{font-weight:800}.opponent-chooser-catalogue>summary>span{color:var(--muted);margin-left:9px;font-size:11px;font-weight:400}.opponent-chooser-catalogue-body{padding:3px 0 12px}.opponent-chooser-search-row{grid-template-columns:minmax(0,1fr) minmax(140px,.55fr);gap:10px;display:grid}.opponent-chooser label{flex-direction:column;gap:6px;min-width:0;display:flex}.opponent-chooser label>span{color:var(--muted);font-size:11px;font-weight:700}.opponent-chooser input,.opponent-chooser select{border:1px solid var(--line);background:var(--panel);width:100%;min-width:0;min-height:44px;color:var(--ink);font:inherit;border-radius:0;padding:9px 10px;font-size:13px}.opponent-chooser-extra-filters>summary{color:var(--muted);font-size:12px}.opponent-chooser-extra-filters>div{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding-bottom:10px;display:grid}.opponent-chooser-result-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:5px 10px;margin:8px 0;display:flex}.opponent-chooser-result-heading p{color:var(--muted);margin:0;font-size:11px}.opponent-chooser-result-heading button{min-height:40px;color:var(--mugen);background:0 0;border:0;padding:6px 0 6px 12px;font-size:12px;text-decoration:underline}.opponent-chooser-results{overscroll-behavior:contain;scrollbar-gutter:stable;max-height:22rem;margin:0;padding:0 4px 0 0;list-style:none;overflow:auto}.opponent-chooser-results li+li{margin-top:6px}.opponent-chooser-results button{border:1px solid var(--line);text-align:left;background:0 0;justify-content:space-between;align-items:center;gap:10px;width:100%;min-height:66px;padding:10px 12px;display:flex}.opponent-chooser-results strong{font-size:13px;line-height:1.3;display:block}.opponent-chooser-results small{color:var(--muted);margin-top:4px;font-size:11px;line-height:1.35;display:block}.opponent-chooser-result-style{text-align:right;flex-shrink:0;font-size:11px}.opponent-chooser-empty{color:var(--muted);margin:8px 0;padding:12px;font-size:12px;line-height:1.5}.opponent-chooser-character>summary{color:var(--muted);font-size:12px}.opponent-chooser-character>p{color:var(--muted);margin:0;padding-bottom:5px;font-size:12px}@media (width<=420px){.opponent-chooser-style>div{grid-template-columns:repeat(2,minmax(0,1fr))}.opponent-chooser-style button:last-child{grid-column:1/-1}}@media (width<=480px){.opponent-chooser-current{padding:12px}.opponent-chooser-current-title>strong{font-size:17px}.opponent-chooser-current dl{gap:6px 12px}.opponent-chooser-search-row,.opponent-chooser-extra-filters>div{grid-template-columns:1fr}.opponent-chooser-results button{flex-wrap:wrap;gap:5px}.opponent-chooser-result-style{text-align:left;width:100%}.opponent-chooser-result-style small{margin-left:8px;display:inline}}.setup-page.entry-hub-screen{padding-top:18px}.setup-page.entry-hub-screen>.build-stamp{margin:24px auto}.setup-page.entry-setup-surface:not(.mode-screen)>.setup-card:not(.board-condition-setup){width:min(920px,100%);margin:18px auto 32px;padding:28px}.setup-page.entry-setup-surface:not(.mode-screen)>.setup-card:not(.board-condition-setup)>.setup-intro{margin-bottom:22px;padding-bottom:18px;display:block}.setup-page.entry-setup-surface .setup-intro h1{margin:7px 0 10px;line-height:1.16;font-size:clamp(27px,3vw,36px)!important}.setup-page.entry-setup-surface .setup-intro>p:last-child{max-width:72ch;font-size:15px;line-height:1.55}.setup-page.entry-setup-surface .choice-group{min-width:0;margin:0 0 18px;padding:10px}.setup-page.entry-setup-surface .choice-group legend{letter-spacing:0;text-transform:none;font-size:15px}.setup-page.entry-setup-surface .side-options{grid-template-columns:repeat(2,minmax(0,1fr))}.setup-page.entry-setup-surface .side-card{gap:10px;min-height:66px;padding:10px 14px}.setup-page.entry-setup-surface .side-piece{width:40px;height:40px}.setup-page.entry-setup-surface .side-card strong{font-size:17px}.setup-page.entry-setup-surface .side-card small{font-size:13px}.setup-page.entry-setup-surface .classic-clock-options{grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.setup-page.entry-setup-surface .classic-clock-options button{flex-direction:column;justify-content:center;align-items:flex-start;gap:3px;min-height:68px;padding:9px 10px;display:flex}.setup-page.entry-setup-surface .classic-clock-options .clock-icon,.setup-page.entry-setup-surface .classic-clock-options .infinity-icon{display:none}.setup-page.entry-setup-surface .classic-clock-options strong{font-size:15px}.setup-page.entry-setup-surface .classic-clock-options small{font-size:12px;line-height:1.4}.setup-page.entry-setup-surface .setup-board-options,.setup-page.entry-setup-surface .setup-study-options{border:1px solid var(--line);background:#081a24;margin:0 0 18px}.setup-page.entry-setup-surface details>summary{cursor:pointer}.setup-page.entry-setup-surface .setup-board-options>summary,.setup-page.entry-setup-surface .setup-study-options>summary{min-height:48px;color:var(--ink);padding:14px 16px;font-size:15px;line-height:1.45}.setup-page.entry-setup-surface .setup-board-options>summary>span:last-child,.setup-page.entry-setup-surface .setup-study-options>summary>span{color:var(--muted);margin-left:12px;font-size:13px}.setup-page.entry-setup-surface .setup-board-options>p{color:var(--muted);margin:0;padding:4px 16px 14px;font-size:14px;line-height:1.55}.setup-page.entry-setup-surface .setup-board-options .board-condition-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:0 12px 12px}.setup-page.entry-setup-surface .board-condition-option{grid-template-columns:42px minmax(0,1fr);gap:10px;min-width:0;min-height:100px;padding:10px}.setup-page.entry-setup-surface .board-condition-mark{width:42px;height:42px}.setup-page.entry-setup-surface .board-condition-mark img{object-fit:contain;width:100%;height:100%}.setup-page.entry-setup-surface .board-condition-option strong{font-size:16px}.setup-page.entry-setup-surface .board-condition-option p{font-size:13px;line-height:1.5}.setup-page.entry-setup-surface .study-mode-entry{background:0 0;border:0;margin:0;padding:8px 16px 16px}.setup-page.entry-setup-surface .study-mode-entry .kicker{display:none}.setup-page.entry-setup-surface .study-mode-entry h2{font-size:20px}.setup-page.entry-setup-surface .setup-footer,.setup-page.entry-setup-surface .wizard-footer{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:14px;margin:22px 0 0;padding:16px;display:flex;position:static}.setup-page.entry-setup-surface .setup-footer>.primary-button{margin-left:auto}.setup-page.entry-setup-surface .setup-choice-summary{flex:0 0 100%;width:100%;min-width:0}.setup-page.entry-setup-surface .setup-choice-summary dl{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 20px;margin:0;display:grid}.setup-page.entry-setup-surface .setup-choice-summary dl>div{min-width:0}.setup-page.entry-setup-surface .setup-choice-summary dt{color:var(--muted);margin-bottom:4px;font-size:12px}.setup-page.entry-setup-surface .setup-choice-summary dd{color:var(--ink);overflow-wrap:anywhere;margin:0;font-size:15px;line-height:1.45}.setup-page.entry-setup-surface .setup-choice-summary>p{border-top:1px solid var(--line);color:var(--muted);margin:13px 0 0;padding-top:12px;font-size:13px;line-height:1.55}.setup-page.entry-setup-surface .global-rules-note{border-left:3px solid var(--mugen);color:#d5e9e7;background:#0d2831;margin:14px 0 20px;padding:10px 14px;font-size:15px;line-height:1.55}.setup-page.entry-setup-surface .setup-progress{margin-bottom:22px}.setup-page.entry-setup-surface .setup-progress>span{letter-spacing:0;text-transform:none;font-size:14px}.setup-page.entry-setup-surface .modifier-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.setup-page.entry-setup-surface .modifier-grid>button{grid-template-columns:44px minmax(0,1fr);gap:3px 11px;min-height:110px;padding:13px}.setup-page.entry-setup-surface .modifier-art{background:#b0b9b2;grid-row:1/span 3;align-self:start;place-items:center;width:44px;height:54px;min-height:54px;display:grid}.setup-page.entry-setup-surface .modifier-art:after{display:none}.setup-page.entry-setup-surface .modifier-art .piece-sprite.modifier-art-piece{width:36px;height:44px;position:static}.setup-page.entry-setup-surface .modifier-sign{background:0 0;border:0;grid-column:2;padding:0;font-size:13px;position:static}.setup-page.entry-setup-surface .modifier-grid strong{letter-spacing:0;text-transform:none;grid-column:2;font-size:17px}.setup-page.entry-setup-surface .modifier-grid p{grid-column:2;margin:4px 0 0;font-size:14px;line-height:1.5}.setup-page.entry-setup-surface .modifier-grid small{grid-column:2;font-size:12px}.setup-page.entry-setup-surface .local-decree-heading h2{font-size:23px}.setup-page.entry-setup-surface button,.setup-page.entry-setup-surface summary,.setup-page.entry-setup-surface select,.setup-page.entry-setup-surface input{scroll-margin-block:24px}.setup-page.entry-setup-surface :is(button,summary,select,input):focus-visible{outline:3px solid var(--mugen);outline-offset:3px}.setup-page.entry-setup-surface.classic-theme .setup-board-options,.setup-page.entry-setup-surface.classic-theme .setup-study-options{background:#fffbec0d}@media (width<=650px){.setup-page.entry-setup-surface:not(.mode-screen)>.setup-card:not(.board-condition-setup){padding:18px 14px}.setup-page.entry-setup-surface .classic-clock-options{grid-template-columns:repeat(2,minmax(0,1fr))}.setup-page.entry-setup-surface .classic-clock-options button:last-child{grid-column:1/-1}.setup-page.entry-setup-surface .setup-choice-summary dl{grid-template-columns:1fr;gap:10px}.setup-page.entry-setup-surface .setup-choice-summary dl>div{grid-template-columns:74px minmax(0,1fr);gap:8px;display:grid}.setup-page.entry-setup-surface .setup-choice-summary dt{padding-top:2px}.setup-page.entry-setup-surface .setup-board-options .board-condition-grid,.setup-page.entry-setup-surface .modifier-grid{grid-template-columns:1fr}.setup-page.entry-setup-surface .setup-footer,.setup-page.entry-setup-surface .wizard-footer{padding:13px}.setup-page.entry-setup-surface .setup-footer>.primary-button{width:100%;margin:0}.setup-page.entry-setup-surface .wizard-footer>.primary-button{flex:170px}}.nemesis-setup .nemesis-specialties{border:1px solid var(--line);margin:14px 0}.nemesis-setup .nemesis-specialties>summary{cursor:pointer;min-height:44px;padding:12px}.nemesis-setup .nemesis-hunt{padding:14px 0}.nemesis-setup .nemesis-hunt button{min-height:48px}.nemesis-setup .nemesis-hunt p,.nemesis-setup .nemesis-filter-status{color:var(--muted);font-size:14px;line-height:1.5}.nemesis-setup .nemesis-filters{flex-wrap:wrap;align-items:end;gap:12px;display:flex}.nemesis-setup .nemesis-filters>label{flex:200px;min-width:0}.nemesis-setup .nemesis-filters input[type=search]{border:1px solid var(--line);background:var(--panel);width:100%;min-height:44px;color:var(--ink);font:inherit;margin-top:8px;padding:10px}.nemesis-setup .nemesis-filters .nemesis-filter-check{align-items:center;gap:10px;min-height:44px;font-size:15px;display:flex}.nemesis-setup .nemesis-filter-check input{width:20px;height:20px;accent-color:var(--mugen)}.nemesis-setup .nemesis-clear-badge{border:1px solid var(--line);color:var(--ink);margin:12px 0 0;padding:10px 12px;font-size:16px;font-weight:700}.nemesis-setup .nemesis-clear-badge.is-cleared{border-left:4px solid var(--mugen)}.nemesis-setup .nemesis-clear-badge.is-undefeated{border-left:4px solid var(--gold)}.game-page.detailed-game.match-screen{--match-board-column:clamp(380px, calc(100dvh - 380px), 760px);--evaluation-gauge-space:38px;--workspace-portrait-space:0px;--workspace-table:100%;--workspace-height:auto;max-width:1400px;margin-inline:auto;padding:12px 20px 28px}.game-page.detailed-game.match-screen .game-header{gap:16px;width:100%;max-width:1240px;min-height:48px;margin:0 auto;padding:6px 0}.game-page.detailed-game.match-screen .game-header .masthead-brand{width:160px;max-width:40%}.game-page.detailed-game.match-screen .game-actions{flex-wrap:wrap;justify-content:flex-end;gap:5px;display:flex}.game-page.detailed-game.match-screen .game-actions button{letter-spacing:0;text-transform:none;min-height:44px;padding:8px 10px;font-size:13px}.game-page.detailed-game.match-screen .match-turn-status,.game-page.detailed-game.match-screen .match-result{width:min(1240px,100%);margin:8px auto 12px}.game-page.detailed-game.match-screen .status-banner{flex-wrap:wrap;grid-template-rows:none;align-items:center;gap:4px 14px;width:100%;height:auto;min-height:48px;margin:0;padding:9px 14px;display:flex}.game-page.detailed-game.match-screen .status-banner h1{min-height:0;margin:0;font-size:24px;line-height:1.2;display:block;overflow:visible}.game-page.detailed-game.match-screen .status-banner p{font-size:12px}.game-page.detailed-game.match-screen .game-layout,.game-page.detailed-game.match-screen .game-layout.has-opponent{grid-template-columns:minmax(0, var(--match-board-column)) minmax(260px, 340px);width:min(calc(var(--match-board-column) + 362px), 100%);align-items:start;gap:22px;max-width:none;margin:0 auto;display:grid}.game-page.detailed-game.match-screen .game-layout .table-area{width:100%;min-width:0;max-width:760px;margin:0 auto;display:block}.game-page.detailed-game.match-screen .game-layout .board-stage,.game-page.detailed-game.match-screen .game-layout .board-stage.has-opponent.has-evaluation{grid-template-rows:auto;grid-template-columns:38px minmax(0,1fr);gap:6px;width:100%;max-width:none;margin:6px 0;padding:0;display:grid}.game-page.detailed-game.match-screen .game-layout .board-frame{border-width:5px;grid-area:1/2;width:100%;max-width:none;height:auto;padding:0}.game-page.detailed-game.match-screen .game-layout .chess-board{aspect-ratio:1;width:100%;max-width:none;height:auto}.game-page.detailed-game.match-screen .board-row{display:contents}.game-page.detailed-game.match-screen .board-square:focus-visible{outline-offset:-4px;z-index:2;outline:3px solid #19d9ed;box-shadow:inset 0 0 0 6px #062b39}.game-page.detailed-game.match-screen .board-square[aria-disabled=true]{cursor:default}.game-page.detailed-game.match-screen .player-row,.game-page.detailed-game.match-screen .game-layout.has-opponent .player-row{grid-template:"avatar identity clock""losses losses losses"/30px minmax(0,1fr) auto;gap:2px 8px;width:100%;max-width:none;min-height:47px;margin-inline:0;padding:6px 10px}.game-page.detailed-game.match-screen .player-avatar{width:28px;height:32px}.game-page.detailed-game.match-screen .player-copy strong{font-size:16px}.game-page.detailed-game.match-screen .player-copy b{font-size:12px}.game-page.detailed-game.match-screen .player-copy span{font-size:11px}.game-page.detailed-game.match-screen .player-clock{min-width:64px;padding:5px 8px;font-size:24px}.game-page.detailed-game.match-screen .evaluation-gauge{background:var(--panel);grid-area:1/1;align-self:stretch;width:38px;height:100%;min-height:0;margin:0}.game-page.detailed-game.match-screen .evaluation-gauge .evaluation-side{font-size:9px}.game-page.detailed-game.match-screen .evaluation-gauge :is(.evaluation-zero,.evaluation-tick) b{background:var(--panel);color:var(--ink)}.game-page.detailed-game.match-screen .evaluation-perspective{background:var(--panel);color:var(--ink);text-align:center;margin:8px 0 12px;padding:6px 8px;font-size:13px;line-height:1.5}.game-page.detailed-game.match-screen .evaluation-perspective strong{font-weight:800}.game-page.detailed-game.match-screen .match-options{border:1px solid var(--line);background:var(--panel);color:var(--ink);margin-top:8px}.game-page.detailed-game.match-screen .match-options>summary{cursor:pointer;min-height:44px;padding:12px 14px;font-size:14px}.game-page.detailed-game.match-screen .match-options>label{align-items:center;gap:10px;min-height:44px;padding:8px 14px;font-size:15px;display:flex}.game-page.detailed-game.match-screen .match-options input{width:20px;height:20px;accent-color:var(--mugen)}.game-page.detailed-game.match-screen .match-options>p{color:var(--muted);margin:5px 14px 14px;font-size:14px;line-height:1.5}.game-page.detailed-game.match-screen .match-context-panel{border:1px solid var(--line);background:var(--panel);width:100%;max-width:none;color:var(--ink);grid-template-columns:minmax(0,1fr) auto;gap:0 12px;margin:0 0 8px;padding:8px 12px 0;display:grid}.game-page.detailed-game.match-screen .match-context-panel.is-warning{border-color:#db7b32;border-left-width:4px}.game-page.detailed-game.match-screen .match-context-terrain{grid-area:1/1;align-items:center;gap:10px;display:flex}.game-page.detailed-game.match-screen .match-context-terrain>img{object-fit:contain;width:32px;height:32px}.game-page.detailed-game.match-screen .match-context-terrain strong{font-size:15px}.game-page.detailed-game.match-screen .match-context-terrain-status{color:var(--muted);margin:3px 0 0;font-size:13px;line-height:1.45}.game-page.detailed-game.match-screen .match-context-rules.active-modifiers{background:0 0;border:0;flex-wrap:wrap;grid-area:1/2;align-self:center;align-items:center;gap:6px;margin:0;padding:0;display:flex}.game-page.detailed-game.match-screen .match-context-rule.modifier-pill{border:1px solid var(--line);background:0 0;align-items:baseline;gap:6px;min-height:0;padding:5px 7px;font-size:13px;display:flex}.game-page.detailed-game.match-screen .match-context-rule strong{white-space:nowrap;font-size:13px}.game-page.detailed-game.match-screen .match-context-rule>span{color:var(--muted)}.game-page.detailed-game.match-screen .match-context-details{grid-area:2/1/auto/-1}.game-page.detailed-game.match-screen .match-context-details>summary{min-height:36px;color:var(--ink);cursor:pointer;padding:9px 0;font-size:13px}.game-page.detailed-game.match-screen .match-context-details-body{border-top:1px solid var(--line);padding-block:10px}.game-page.detailed-game.match-screen .match-context-details-body :is(p,dd){color:var(--muted);font-size:14px;line-height:1.5}.game-page.detailed-game.match-screen .match-context-details-body h3{margin:0;font-size:17px}.game-page.detailed-game.match-screen .match-context-details-body dt{font-size:15px;font-weight:700}.game-page.detailed-game.match-screen .match-context-details-body dd{margin:5px 0 14px}.game-page.detailed-game.match-screen .game-layout .move-panel{width:100%;max-width:none;height:auto;max-height:none;margin:0;overflow:visible}.game-page.detailed-game.match-screen .opponent-portrait:not(.portrait-intro){background:0 0;border:0;flex-direction:row;align-items:center;width:100%;height:auto;max-height:none;margin:0;padding:12px;display:flex;position:static;inset:auto;transform:none}.game-page.detailed-game.match-screen .opponent-portrait:not(.portrait-intro) .portrait-frame{flex-shrink:0;width:70px;height:90px}.game-page.detailed-game.match-screen .opponent-portrait:not(.portrait-intro) figcaption{flex:1;align-items:center;gap:8px;width:auto;padding:8px;display:flex}.game-page.detailed-game.match-screen .opponent-portrait:not(.portrait-intro) figcaption strong{white-space:normal;font-size:17px}.game-page.detailed-game.match-screen .opponent-portrait:not(.portrait-intro) figcaption button{min-height:44px;padding:8px}.game-page.detailed-game.match-screen .opponent-quote-overlay{border:1px solid var(--line);background:var(--panel);width:auto;color:var(--ink);box-shadow:none;margin:8px 12px;padding:14px;animation:none;position:static;inset:auto;transform:none}.game-page.detailed-game.match-screen .opponent-quote-overlay blockquote,.game-page.detailed-game.match-screen .opponent-speech blockquote{font-size:15px;line-height:1.5}.game-page.detailed-game.match-screen .opponent-quote-overlay button{min-height:44px;padding:8px}.game-page.detailed-game.match-screen .match-result{border:1px solid var(--line);background:var(--panel);padding:12px}.game-page.detailed-game.match-screen .match-result .match-conclusion-actions{flex-wrap:wrap;gap:8px;margin:12px 0;display:flex;position:static}.game-page.detailed-game.match-screen .match-result .match-conclusion-actions button{flex:150px;min-height:44px}.game-page.detailed-game.match-screen .match-result .match-export{margin-top:8px;padding:10px}.game-page.detailed-game.match-screen .match-result .run-result{margin:0}.game-page.detailed-game.match-screen .board-warning{pointer-events:none}.game-page.detailed-game.match-screen :is(button,summary,input):focus-visible{outline-offset:3px}@media (width<=900px){.game-page.detailed-game.match-screen{padding:8px 10px 24px}.game-page.detailed-game.match-screen .game-layout,.game-page.detailed-game.match-screen .game-layout.has-opponent{grid-template-columns:minmax(0,1fr);gap:16px;width:min(620px,100%)}.game-page.detailed-game.match-screen .match-context-panel{grid-template-columns:minmax(0,1fr)}.game-page.detailed-game.match-screen .match-context-rules.active-modifiers{grid-area:2/1;margin-top:6px}.game-page.detailed-game.match-screen .match-context-details{grid-row:3}.game-page.detailed-game.match-screen .game-header{flex-wrap:wrap;gap:4px}.game-page.detailed-game.match-screen .game-header .masthead-brand{width:130px;max-width:100%}.game-page.detailed-game.match-screen .game-header .masthead-brand small{max-width:40ch;font-size:11px}.game-page.detailed-game.match-screen .game-actions{justify-content:flex-start}.game-page.detailed-game.match-screen .game-actions button{padding:6px 8px;font-size:12px}.game-page.detailed-game.match-screen .status-banner h1{font-size:21px}.game-page.detailed-game.match-screen .game-layout .board-stage,.game-page.detailed-game.match-screen .game-layout .board-stage.has-opponent.has-evaluation{grid-template-columns:38px minmax(0,1fr);gap:3px}.game-page.detailed-game.match-screen .evaluation-gauge{width:38px}.game-page.detailed-game.match-screen .evaluation-gauge .evaluation-tick b{font-size:9px}.game-page.detailed-game.match-screen .game-layout .board-frame{border-width:3px}.game-page.detailed-game.match-screen .game-layout .move-panel{margin:0}}@media (prefers-reduced-motion:reduce){.game-page.detailed-game.match-screen *,.game-page.detailed-game.match-screen :before,.game-page.detailed-game.match-screen :after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}body:has(.match-screen) .project-utility-dock{justify-content:flex-end;width:min(1122px,100% - 32px);margin:0 auto 20px;display:flex;position:static;inset:auto}.game-page.detailed-game.match-screen .player-avatar{grid-area:avatar}.game-page.detailed-game.match-screen .player-copy{grid-area:identity}.game-page.detailed-game.match-screen .player-clock{grid-area:clock}.game-page.detailed-game.match-screen .captured-piece-ledger{grid-area:losses;align-items:center;gap:8px;width:100%;display:flex}.game-page.detailed-game.match-screen .captured-piece-ledger:not(.has-losses){display:none}.game-page.detailed-game.match-screen .captured-piece-ledger.has-losses>span{flex-wrap:wrap;justify-content:flex-start;width:auto;max-width:none;display:flex;overflow:visible}.game-page.detailed-game.match-screen .match-options{width:100%}.game-page.detailed-game.match-screen .match-options>button{min-height:44px;margin:0 14px 14px}.game-page.detailed-game.match-screen .evaluation-value{display:none}.study-setup-shell.study-setup-refined{width:min(1080px,100%);margin:18px auto 30px;padding:24px}.study-setup-refined .study-setup-heading{align-items:start;gap:20px;padding-bottom:16px}.study-setup-refined .study-setup-heading h1{text-transform:none;font-size:clamp(27px,3vw,38px);line-height:1.15}.study-setup-refined .study-setup-heading p{font-size:15px;line-height:1.5}.study-setup-refined .study-rules-summary{min-width:0;max-width:220px;padding:10px}.study-setup-refined .study-rules-summary span{letter-spacing:0;text-transform:none;font-size:12px}.study-setup-refined .study-help-launch{letter-spacing:0;text-transform:none;min-height:44px;margin-top:4px;padding:8px 10px;font-family:inherit;font-size:14px;font-weight:600;line-height:1.4;text-decoration:underline}.study-setup-refined .study-setup-grid{margin-top:16px;display:block}.study-setup-refined .study-library,.study-setup-refined .study-practice-settings,.study-setup-refined .study-editor-options{border:1px solid var(--line);min-width:0;margin:0 0 18px;display:block}.study-setup-refined .study-practice-settings{margin-top:14px}.study-setup-refined :is(.study-library,.study-practice-settings,.study-editor-options)>summary{cursor:pointer;min-height:48px;padding:13px 14px;font-size:15px;line-height:1.4}.study-setup-refined .study-library>summary>strong{font-size:15px}.study-setup-refined .study-library>summary>span{color:var(--muted);margin-left:14px;font-size:14px}.study-setup-refined .study-practice-settings>div{padding:0 14px 14px}.study-setup-refined .study-section-title{letter-spacing:0;text-transform:none;padding:8px 14px;font-family:inherit;font-size:13px}.study-setup-refined .study-library-tools{background:0 0;margin:0 10px 12px;padding:12px}.study-setup-refined .study-library-tools span{letter-spacing:0;text-transform:none;font-family:inherit;font-size:13px}.study-setup-refined .study-library-tools :is(input,select){min-height:44px;color:var(--ink);background:var(--panel);padding:10px;font-size:14px;font-weight:400}.study-setup-refined .study-library-groups{overscroll-behavior:contain;scrollbar-gutter:stable;max-height:min(42dvh,360px);padding:0 12px 12px;overflow-y:auto}.study-setup-refined .study-library-group{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.study-setup-refined .study-library-group h3{letter-spacing:0;text-transform:none;grid-column:1/-1;padding:7px 2px;font-family:inherit;font-size:14px}.study-setup-refined .study-library-card{min-height:100px;padding:12px}.study-setup-refined .study-library-card :is(small,em){letter-spacing:0;text-transform:none;font-size:11px}.study-setup-refined .study-library-card p{font-size:13px;line-height:1.45}.study-setup-refined .study-position-meta{gap:12px;margin-bottom:14px}.study-setup-refined .study-position-meta h2{font-size:clamp(22px,2.4vw,29px);line-height:1.2}.study-setup-refined .study-position-meta :is(span,.study-entry-taxonomy){letter-spacing:0;text-transform:none;font-size:12px}.study-setup-refined .study-position-meta code{overflow-wrap:anywhere;white-space:normal;font-size:13px;line-height:1.5;display:block}.study-setup-refined .study-position-meta p{font-size:14px;line-height:1.5}.study-setup-refined .study-status{letter-spacing:0;text-transform:none;font-size:12px}.study-setup-refined .study-reference-note{border-left:3px solid var(--gold);color:var(--ink);margin:0 0 14px;padding:12px;font-size:14px;line-height:1.5}.study-setup-refined .study-editor-layout{grid-template-columns:minmax(0,1.5fr) minmax(230px,1fr);gap:20px}.study-setup-refined .study-editor-board{border-width:5px;grid-template-rows:repeat(8,minmax(0,1fr));width:100%;max-width:600px}.study-setup-refined .study-board-row{display:contents}.study-setup-refined .study-editor-square{aspect-ratio:1}.study-setup-refined .study-editor-board[aria-readonly=true] .study-editor-square{cursor:default}.study-setup-refined .study-editor-square:focus-visible{outline-offset:-4px;z-index:2;outline:3px solid #19d9ed;box-shadow:inset 0 0 0 6px #062b39}.study-setup-refined .study-editor-controls{gap:14px;min-width:0}.study-setup-refined .study-editor-controls fieldset{min-width:0;padding:12px}.study-setup-refined .study-editor-controls legend{letter-spacing:0;text-transform:none;font-family:inherit;font-size:15px}.study-setup-refined .study-editor-controls p,.study-setup-refined .study-editor-controls small{color:var(--muted);font-size:13px;line-height:1.5}.study-setup-refined :is(.study-side-choice,.study-turn-choice) button{min-height:44px;padding:9px;font-size:14px}.study-setup-refined .study-side-choice .piece-sprite{width:24px;height:28px}.study-setup-refined .study-editor-options>p{margin:0;padding:0 12px 12px;font-size:13px;line-height:1.5}.study-setup-refined .study-editor-options>fieldset{margin:0 8px 12px}.study-setup-refined .study-piece-palette>div{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-top:8px;display:grid}.study-setup-refined .study-piece-palette>div>span{grid-column:1/-1;font-size:13px}.study-setup-refined .study-piece-palette button{width:100%;min-width:0;min-height:44px;padding:5px}.study-setup-refined .study-piece-palette .piece-sprite{width:30px;height:32px}.study-setup-refined .study-piece-palette .erase-tool{margin-top:8px}.study-setup-refined .study-position-state{margin:0 12px 12px}.study-setup-refined .study-position-state>summary{cursor:pointer;min-height:44px;padding:12px 0;font-size:14px}.study-setup-refined .study-position-state :is(label,select){min-width:0;font-size:13px}.study-setup-refined .study-position-state select{width:100%;min-height:44px}.study-setup-refined .study-castling-rights label{min-height:36px}.study-setup-refined .study-editor-actions{gap:8px;padding:0 12px 12px}.study-setup-refined .study-editor-actions button{min-width:0;min-height:44px;font-size:13px}.study-setup-refined .study-board-help{color:var(--muted);margin:12px 0;font-size:12px;line-height:1.5}.study-setup-refined .study-validation{margin-top:14px;padding:14px}.study-setup-refined .study-validation :is(p,li){font-size:14px;line-height:1.5}.study-setup-refined .study-setup-actions{flex-wrap:wrap;gap:12px;margin-top:16px;padding:14px 0 0;display:flex;position:static}.study-setup-refined .study-setup-actions p{flex:220px;min-width:0;font-size:14px;line-height:1.5}.study-setup-refined .study-setup-actions button{letter-spacing:0;text-transform:none;min-width:0;min-height:46px;font-family:inherit;font-size:14px}.study-setup-refined :is(button,summary,input,select){scroll-margin-block:20px}.study-setup-refined :is(button,summary,input,select):focus-visible{outline:3px solid var(--mugen);outline-offset:3px}body:has(.study-setup-refined) .project-utility-dock{justify-content:flex-end;width:min(1080px,100% - 32px);margin:0 auto 20px;display:flex;position:static;inset:auto}@media (width<=700px){.study-setup-shell.study-setup-refined{margin-top:12px;padding:16px 12px}.study-setup-refined .study-setup-heading{padding-bottom:12px;display:block}.study-setup-refined .study-setup-heading h1{font-size:27px}.study-setup-refined .study-rules-summary{text-align:left;flex-wrap:wrap;gap:4px 14px;max-width:none;margin-top:10px;padding:9px 10px;display:flex}.study-setup-refined .study-rules-summary strong{margin:0}.study-setup-refined .study-library>summary>span{margin:4px 0 0;display:block}.study-setup-refined .study-library-group{grid-template-columns:minmax(0,1fr)}.study-setup-refined .study-library-groups{max-height:min(40dvh,300px)}.study-setup-refined .study-editor-layout{grid-template-columns:minmax(0,1fr);gap:16px}.study-setup-refined .study-editor-board{border-width:3px;max-width:520px;margin-inline:auto}.study-setup-refined .study-editor-controls{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.study-setup-refined .study-editor-controls>fieldset{margin:0;padding:9px}.study-setup-refined .study-editor-controls>.study-editor-options{grid-column:1/-1;margin:0}.study-setup-refined .study-position-meta{flex-wrap:wrap}.study-setup-refined .study-status{padding:5px 8px}.study-setup-refined .study-section-title{flex-wrap:wrap}.study-setup-refined .study-library-tools>div{grid-template-columns:minmax(0,1fr)}.study-setup-refined .study-piece-palette>div{grid-template-columns:repeat(6,minmax(0,1fr))}}@media (width<=360px){.study-setup-refined .study-editor-controls{grid-template-columns:minmax(0,1fr)}.study-setup-refined .study-piece-palette>div{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (prefers-reduced-motion:reduce){.study-setup-refined *,.study-setup-refined :before,.study-setup-refined :after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}.practice-settings{font-size:15px;line-height:1.5}.practice-settings>p{margin:8px 0 14px}.practice-settings-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:14px;display:grid}.practice-settings label{color:var(--ink);gap:6px;font-weight:700;display:grid}.practice-settings select{background:var(--panel);width:100%;min-height:44px;color:var(--ink);border:1px solid var(--line);font:inherit;padding:8px 10px}.practice-settings .text-button{text-transform:none;min-height:44px;margin-block:8px;font-size:14px}.practice-settings .practice-rule-description{color:var(--muted);font-size:14px;line-height:1.5}.learning-help-overlay{z-index:12000;background:#00080de0;place-items:center;padding:14px;display:grid;position:fixed;inset:0}.learning-help-dialog{overscroll-behavior:contain;color:#ecdfc2;background:#071923;border:1px solid #75979a;width:min(1100px,100%);max-height:calc(100dvh - 28px);overflow:auto}.learning-help-header{z-index:4;background:#071923;border-bottom:1px solid #75979a;justify-content:space-between;align-items:center;gap:12px;padding:12px 18px;display:flex;position:sticky;top:0}.learning-help-header h2{margin:0;font-size:22px}.learning-help-header p{margin:4px 0 0;font-size:14px;line-height:1.4}.learning-help-header button{flex-shrink:0;min-height:44px;font-size:14px}.game-page.detailed-game.match-screen .match-context-panel .match-help-links{flex-wrap:wrap;grid-column:1/-1;gap:8px;padding-bottom:10px;display:flex}.game-page.detailed-game.match-screen .match-help-links button{min-height:44px;padding:8px;font-size:14px}@media (width<=600px){.learning-help-overlay{padding:4px}.learning-help-dialog{max-height:calc(100dvh - 8px)}.learning-help-header{flex-wrap:wrap;padding:10px 12px}.learning-help-header h2{font-size:19px}}.entry-hub .entry-hub-card.entry-hub-practice{grid-template-columns:minmax(0,1fr) auto;width:100%;min-height:90px}.encyclopedia-shell .encyclopedia-mobile-contents{display:none}.encyclopedia-shell .encyclopedia-open-entry,.encyclopedia-shell .encyclopedia-entry-back{color:#d5f6ef;text-align:left;cursor:pointer;background:#102c35;border:1px solid #557c82;border-radius:3px;min-height:44px;padding:8px 10px;font-family:inherit;font-size:13px;font-weight:600;line-height:1.4}.encyclopedia-shell .encyclopedia-open-entry{margin-top:12px}.encyclopedia-shell :is(button,input,select):focus-visible{outline-offset:3px;outline:3px solid #83e4d8}.encyclopedia-shell h2[tabindex="-1"]{scroll-margin-top:24px}.learning-help-overlay .encyclopedia-shell h2[tabindex="-1"]{scroll-margin-top:160px}.encyclopedia-shell h2[tabindex="-1"]:focus{outline-offset:7px;outline:2px solid #83e4d8}.encyclopedia-shell .encyclopedia-exact-entry{min-width:0}.encyclopedia-shell .encyclopedia-breadcrumb{color:#a9bfc2;overflow-wrap:anywhere;margin:24px 0 12px;font-size:13px;line-height:1.6}.encyclopedia-shell .encyclopedia-exact-entry>h2{color:#f4e7cb;margin:0 0 12px;font:500 clamp(27px,4vw,38px)/1.2 Georgia,serif}.encyclopedia-shell .encyclopedia-entry-kind{color:#9de2d6;font-size:13px;line-height:1.6}.encyclopedia-shell .encyclopedia-entry-description,.encyclopedia-shell .encyclopedia-practical-note{color:#cfdddf;max-width:72ch;font-size:16px;line-height:1.75}.encyclopedia-shell .encyclopedia-exact-entry .encyclopedia-opponent-identity{margin-top:24px}.encyclopedia-shell .encyclopedia-exact-entry .opponent-dossier{margin-top:20px}.encyclopedia-shell .encyclopedia-exact-entry .encyclopedia-battlefields{margin-top:24px}.encyclopedia-shell .encyclopedia-exact-entry .encyclopedia-battlefield{grid-template-columns:1fr}.encyclopedia-shell .encyclopedia-battlefield>.encyclopedia-rule-note{grid-column:1/-1;margin-top:0}.encyclopedia-shell .encyclopedia-exact-entry .decree-reference{margin-top:20px}.encyclopedia-shell .encyclopedia-search-results button :is(small,span){color:#b5cbce}.encyclopedia-shell .encyclopedia-index button>span small{color:#aac0c4}.encyclopedia-shell .encyclopedia-index{position:static}.encyclopedia-shell{container-type:inline-size}@container (width<=1100px){.encyclopedia-shell .encyclopedia-battlefield{grid-template-columns:1fr}.encyclopedia-shell .encyclopedia-hero{grid-template-columns:1fr;align-items:start}}@container (width<=850px){.encyclopedia-shell .encyclopedia-layout{display:block}.encyclopedia-shell .encyclopedia-index{display:none}.encyclopedia-shell .encyclopedia-mobile-contents{color:#c5dadc;gap:8px;margin-bottom:26px;font-size:13px;display:grid}.encyclopedia-shell .encyclopedia-mobile-contents select{color:#f5ead0;width:100%;min-height:46px;font:inherit;background:#102c35;border:1px solid #6b8c91;border-radius:3px;padding:10px}.encyclopedia-shell .encyclopedia-content{min-height:0;padding:28px 20px}.encyclopedia-shell .encyclopedia-search-results>div:not(.encyclopedia-empty),.encyclopedia-shell .encyclopedia-battlefield{grid-template-columns:1fr}.encyclopedia-shell .encyclopedia-hero{grid-template-columns:1fr;gap:20px;padding:28px 20px}}@media (width<=850px){.encyclopedia-shell .encyclopedia-index{display:none}.encyclopedia-shell .encyclopedia-mobile-contents{color:#c5dadc;gap:8px;margin-bottom:26px;font-size:13px;display:grid}.encyclopedia-shell .encyclopedia-mobile-contents select{color:#f5ead0;width:100%;min-height:46px;font:inherit;background:#102c35;border:1px solid #6b8c91;border-radius:3px;padding:10px}}.progress-storage-status{border:1px solid var(--line);background:var(--panel);width:min(1120px,100%);color:var(--ink);margin:20px auto;padding:0}.setup-page[hidden]{display:none!important}.progress-storage-status summary{cursor:pointer;flex-wrap:wrap;align-items:center;gap:8px 20px;min-height:48px;padding:14px 18px;font-size:15px;display:flex}.progress-storage-status summary:before{content:"▸"}.progress-storage-status[open] summary:before{content:"▾"}.progress-storage-status summary span{color:var(--muted);font-size:14px}.progress-storage-status>div{padding:0 18px 18px}.progress-storage-status p{font-size:14px;line-height:1.6}.progress-storage-status dl{gap:10px;display:grid}.progress-storage-status dl>div{border-top:1px solid var(--line);flex-wrap:wrap;justify-content:space-between;gap:8px 18px;padding:10px 0;display:flex}.progress-storage-status dt{font-weight:700}.progress-storage-status dd{margin:0;font-size:14px}.progress-storage-status dd small{color:var(--muted);margin-top:5px;display:block}.progress-storage-status summary:focus-visible{outline:3px solid var(--mugen);outline-offset:3px}body:has(.entry-hub,.progress-storage-status,.recap-page) .project-utility-dock{justify-content:flex-end;width:min(1120px,100% - 32px);margin:0 auto 20px;display:flex;position:static;inset:auto}.recap-page .recap-controls{flex-wrap:wrap;gap:10px}.recap-page .recap-controls button{text-transform:none;letter-spacing:0;min-height:44px;font-size:14px}.recap-page .recap-seek{border:1px solid var(--line);background:var(--panel);width:100%;color:var(--ink);grid-template-columns:1fr;gap:8px;margin-top:10px;padding:12px;font-size:14px;display:grid}.recap-page .recap-seek input{width:100%;min-height:44px;accent-color:var(--mugen)}.recap-page .recap-move-panel .move-row button{min-width:0;min-height:44px;color:var(--ink);text-align:left;cursor:pointer;background:0 0;border:1px solid #0000;padding:8px;font-size:14px}.recap-page .recap-move-panel .move-row button[aria-current=step]{border-color:var(--mugen);background:var(--panel)}.recap-page .recap-move-panel .move-row button:disabled{opacity:.5;cursor:default}.recap-page .recap-reconstruction-note{border:1px solid var(--gold);background:var(--panel);color:var(--ink);padding:14px;font-size:14px;line-height:1.6}.recap-page .recap-performance-note{color:var(--ink);font-size:14px;line-height:1.5}.recap-page :is(button,input):focus-visible{outline:3px solid var(--mugen);outline-offset:2px}.recap-page .board-square:focus-visible{outline-offset:-4px;z-index:2;outline:3px solid #19d9ed;box-shadow:inset 0 0 0 6px #062b39}@media (width<=700px){.recap-page .recap-controls{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.recap-page .recap-controls>span{grid-area:1/1/auto/-1}}.setup-page .progress-panel,.progress-panel.progress-statistics{width:min(1040px,100%);max-width:100%;color:var(--ink);margin:18px auto 30px;padding:24px}.progress-panel .progress-heading{border-bottom:1px solid var(--line);margin-bottom:18px;padding-bottom:14px}.progress-panel .progress-heading h1,.progress-panel .progress-heading h2{text-transform:none;margin:4px 0 9px;font-size:clamp(28px,3vw,38px);line-height:1.2}.progress-panel .progress-heading>p:first-child{color:var(--gold);font-size:13px}.classic-theme .progress-panel .progress-heading>p:first-child{color:#855205}.progress-panel p{color:var(--muted);margin:8px 0 12px;font-size:14px;line-height:1.55}.progress-panel h2{margin:18px 0 10px;font-size:23px;line-height:1.3}.progress-panel h3{margin:3px 0 7px;font-size:18px;line-height:1.3}.progress-panel .progress-retention-note{border-left:3px solid var(--gold);background:#78787812;margin:0 0 18px;padding:13px 15px}.progress-panel .progress-retention-note strong{color:var(--ink)}.progress-panel .progress-category-choice{width:min(420px,100%);color:var(--ink);gap:7px;margin:0 0 18px;font-size:15px;font-weight:700;display:grid}.progress-panel .progress-category-choice select{border:1px solid var(--line);background:var(--panel);width:100%;min-height:46px;color:var(--ink);font:inherit;padding:10px 12px}.progress-panel .progress-results>header{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:8px;display:flex}.progress-panel .progress-results>header>span{color:var(--muted);font-size:13px}.progress-panel .progress-results>p{max-width:80ch}.progress-panel .progress-record-list,.progress-panel .progress-highlight-list{gap:12px;margin:16px 0;padding:0;list-style:none;display:grid}.progress-panel .progress-record-card,.progress-panel .progress-highlight-list>li{border:1px solid var(--line);background:#7878780a;padding:16px}.progress-panel .progress-record-heading{align-items:start;gap:12px;display:flex}.progress-panel .progress-record-heading>div{flex:1;min-width:0}.progress-panel .progress-record-heading p{margin:3px 0}.progress-panel .progress-rank{color:var(--gold);flex-shrink:0;font-size:20px;font-weight:800}.progress-panel .record-victory-badge{border:1px solid var(--gold);min-height:28px;color:var(--ink);flex-shrink:0;align-items:center;padding:4px 8px;font-size:12px;display:inline-flex}.progress-panel .progress-record-meta{font-size:13px}.progress-panel .progress-match-list{border-top:1px solid var(--line);gap:10px;margin:12px 0 0;padding:12px 0 0;list-style:none;display:grid}.progress-panel .progress-match-list>li{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;padding:10px 0;display:flex}.progress-panel .progress-match-list>li>div{flex:240px;min-width:0}.progress-panel .progress-match-list strong{font-size:15px}.progress-panel .progress-match-list p{margin:4px 0;font-size:13px}.progress-panel .progress-disclosure{border:1px solid var(--line);margin:16px 0 0;padding:0 14px 14px}.progress-panel .progress-disclosure:not([open]){padding-bottom:0}.progress-panel .progress-disclosure>summary{min-height:48px;color:var(--ink);cursor:pointer;padding:13px 0;font-size:15px;font-weight:700}.progress-panel .progress-highlight-list>li>header{flex-wrap:wrap;justify-content:space-between;gap:10px;display:flex}.progress-panel .progress-highlight-list>li>header>span{color:var(--muted);font-size:13px}.progress-panel .progress-highlight-list dl{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.progress-panel .progress-highlight-list dt{color:var(--muted);font-size:13px}.progress-panel .progress-highlight-list dd{margin:5px 0;font-weight:700}.progress-panel .progress-score strong{color:var(--ink);font-size:26px}.progress-panel .progress-empty{border:1px dashed var(--line);margin-block:14px;padding:18px}.progress-statistics-page{width:min(1040px,100%);max-width:100%;margin:0 auto}.progress-panel.progress-statistics{border:1px solid var(--line);background:var(--panel)}.progress-panel .progress-summary-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:14px 0 20px;display:grid}.progress-panel .progress-summary-grid>div{border:1px solid var(--line);min-width:0;padding:14px}.progress-panel .progress-summary-grid dt{color:var(--muted);font-size:13px;line-height:1.45}.progress-panel .progress-summary-grid dd{margin:8px 0 0;font-size:27px;font-weight:700}.progress-panel .progress-mode-grid,.progress-panel .progress-insight-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:0;list-style:none;display:grid}.progress-panel .progress-mode-grid>li,.progress-panel .progress-insight-grid>section{border:1px solid var(--line);min-width:0;padding:14px}.progress-panel .progress-insight-grid ol{gap:10px;padding:0;list-style:none;display:grid}.progress-panel .progress-insight-grid li{border-top:1px solid var(--line);flex-wrap:wrap;align-items:center;gap:10px;padding-top:8px;display:flex}.progress-panel .progress-insight-grid .piece-sprite{flex-shrink:0;width:32px;height:38px}.progress-panel .progress-insight-grid li>div{flex:1;min-width:70px}.progress-panel .progress-insight-grid li :is(strong,small,div>span){display:block}.progress-panel .progress-insight-grid li :is(small,div>span){color:var(--muted);margin-top:3px;font-size:12px}.progress-panel .progress-insight-grid li>span{text-align:right;font-size:16px}.progress-panel .progress-insight-grid li>span>small{max-width:120px;line-height:1.4}.progress-panel .progress-opening-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:0;list-style:none;display:grid}.progress-panel .progress-opening-list>li{border:1px solid var(--line);min-width:0;padding:14px}.progress-panel .progress-opening-position{margin:10px 0 0}.progress-panel .progress-opening-board{aspect-ratio:1;border:2px solid var(--line);grid-template-columns:repeat(8,minmax(0,1fr));width:min(240px,100%);display:grid}.progress-panel .progress-opening-board>span{place-items:center;min-width:0;display:grid}.progress-panel .progress-opening-board>.dark{background:var(--dark-square)}.progress-panel .progress-opening-board>.light{background:var(--light-square)}.progress-panel .progress-opening-board .piece-sprite{width:88%;height:88%}.progress-panel .progress-opening-position figcaption{color:var(--muted);margin-top:7px;font-size:13px}.progress-panel .progress-confirmation{border:1px solid var(--line);padding:14px}.progress-panel .progress-confirmation>div{flex-wrap:wrap;gap:10px;margin-top:18px;display:flex}.progress-panel button{letter-spacing:0;text-transform:none;min-width:0;min-height:44px;padding:10px 14px;font-size:14px;line-height:1.4}.progress-panel :is(button,select,summary):focus-visible{outline:3px solid var(--mugen);outline-offset:3px}.progress-panel :is(button,select,summary){scroll-margin-block:20px}@media (width<=700px){.setup-page .progress-panel,.progress-panel.progress-statistics{margin-top:12px;padding:16px 12px}.progress-panel .progress-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.progress-panel .progress-summary-grid>div{padding:12px}.progress-panel .progress-summary-grid dd{font-size:24px}.progress-panel .progress-mode-grid,.progress-panel .progress-insight-grid,.progress-panel .progress-opening-list{grid-template-columns:minmax(0,1fr)}.progress-panel .progress-record-card,.progress-panel .progress-highlight-list>li{padding:12px}.progress-panel .progress-record-heading{flex-wrap:wrap}.progress-panel .progress-highlight-list dl{grid-template-columns:minmax(0,1fr);gap:8px}.progress-panel .progress-highlight-list dl>div{justify-content:space-between;gap:12px;display:flex}.progress-panel .progress-highlight-list dd{margin:0}}.trophy-overview{--progress-border:#567e87;--progress-text:#cbdde0;--progress-panel:#0b242e;--progress-accent:#98e2d5}.classic-theme .trophy-overview{--progress-border:#8b855e;--progress-text:#354f4b;--progress-panel:#fff0c9;--progress-accent:#116664}.trophy-overview .hub-detail-heading p,.trophy-overview :is(.piece-appearance-chooser,.trophy-progress-list)>header p{max-width:76ch;color:var(--progress-text);margin:8px 0;font-size:15px;line-height:1.6}.trophy-overview :is(.piece-appearance-chooser,.trophy-progress-list){min-width:0;margin-top:22px}.trophy-overview :is(.piece-appearance-chooser,.trophy-progress-list) h2{margin:0;font-size:24px;line-height:1.25}.trophy-overview .piece-appearance-chooser{border:1px solid var(--progress-border);background:var(--progress-panel);padding:16px}.trophy-overview .piece-appearance-chooser>p{color:var(--progress-text);font-size:14px;line-height:1.6}.trophy-overview .appearance-current strong{color:var(--progress-accent)}.trophy-overview .appearance-unavailable{border-left:3px solid var(--gold);padding:12px}.trophy-overview .appearance-choice-disclosure>summary{min-height:48px;color:var(--progress-accent);cursor:pointer;padding:12px 0;font-size:15px;font-weight:600;line-height:1.5}.trophy-overview .appearance-choice-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:12px;display:grid}.trophy-overview .appearance-choice{border:1px solid var(--progress-border);min-width:0;padding:10px}.trophy-overview .appearance-choice.is-active{border-color:var(--progress-accent);box-shadow:inset 0 3px var(--progress-accent)}.trophy-overview .appearance-choice>button{white-space:normal;width:100%;min-height:44px;margin-top:10px;padding:8px;font-size:14px}.trophy-overview .piece-set-preview>header :is(span,b){letter-spacing:0;text-transform:none;font-size:11px;line-height:1.3}.trophy-overview .piece-set-preview>header strong{letter-spacing:0;text-transform:none;font-size:17px;line-height:1.3}.classic-theme .trophy-overview .piece-set-preview{background:#fff2cf;border-color:#8b855e}.classic-theme .trophy-overview .piece-set-preview>header{border-color:#8b855e}.classic-theme .trophy-overview .piece-set-preview>header strong{color:#153f42}.classic-theme .trophy-overview .piece-set-preview>header span{color:#74500c}.classic-theme .trophy-overview .piece-set-preview>header b{color:#116664}.classic-theme .trophy-overview .piece-set-armies{background:#8b855e}.classic-theme .trophy-overview .piece-set-armies>div{background:#fff5da}.trophy-overview .trophy-category-choice{max-width:460px;color:var(--progress-text);gap:8px;margin:20px 0;font-size:14px;display:grid}.trophy-overview .trophy-category-choice select{border:1px solid var(--progress-border);background:var(--progress-panel);width:100%;min-height:46px;color:var(--ink);font:inherit;padding:10px}.trophy-overview .trophy-progress-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:0;list-style:none;display:grid}.trophy-overview .trophy-progress-card{border:1px solid var(--progress-border);background:var(--progress-panel);grid-template-columns:76px minmax(0,1fr);gap:14px;min-width:0;padding:16px;display:grid}.trophy-overview .trophy-progress-art{object-fit:contain;width:76px;height:92px}.trophy-overview .is-locked .trophy-progress-art{filter:grayscale(.7);opacity:.55}.trophy-overview .trophy-progress-copy{min-width:0}.trophy-overview .trophy-status{color:var(--progress-accent);margin-bottom:8px;font-size:12px;line-height:1.4;display:block}.trophy-overview .trophy-progress-copy h3{margin:0 0 7px;font-size:20px;line-height:1.25}.trophy-overview .trophy-progress-copy p,.trophy-overview .trophy-progress-copy :is(time,small){color:var(--progress-text);margin:6px 0;font-size:14px;line-height:1.55;display:block}.trophy-overview .trophy-measured-progress{gap:7px;margin-top:12px;display:grid}.trophy-overview .trophy-measured-progress label{color:var(--progress-text);font-size:14px;line-height:1.5}.trophy-overview progress{width:100%;height:12px;accent-color:var(--progress-accent)}.trophy-overview .trophy-card-actions{flex-wrap:wrap;gap:8px;margin-top:14px;display:flex}.trophy-overview .trophy-card-actions button{white-space:normal;min-width:0;min-height:44px;padding:8px 10px;font-size:14px}.trophy-overview :is(.appearance-choice,.trophy-card-actions)>button{text-transform:none;letter-spacing:0}.trophy-overview :is(button,select,summary):focus-visible,.trophy-reward-refined :is(button):focus-visible{outline:3px solid var(--mugen);outline-offset:3px}.trophy-reward-refined .piece-set-reward-dialog>header p{font-size:15px;line-height:1.6}.trophy-reward-refined .piece-set-reward-dialog>header{padding-right:50px}.trophy-reward-refined .piece-set-reward-close{width:44px;height:44px;min-height:44px}.trophy-reward-refined .piece-set-preview>header :is(span,b){text-transform:none;letter-spacing:0;font-size:11px;line-height:1.4}.trophy-reward-refined .piece-set-reward-dialog>footer button{min-height:44px;font-size:14px}@media (width<=800px){.trophy-overview .trophy-progress-grid{grid-template-columns:minmax(0,1fr)}}@media (width<=560px){.trophy-overview .appearance-choice-grid{grid-template-columns:minmax(0,1fr)}.trophy-overview .trophy-progress-card{grid-template-columns:58px minmax(0,1fr);gap:10px;padding:12px}.trophy-overview .trophy-progress-art{width:58px;height:78px}.trophy-overview .trophy-card-actions{flex-direction:column}.trophy-overview .trophy-card-actions button{width:100%}.trophy-overview .piece-appearance-chooser{padding:12px}}:root{--ui-control-size:44px;--ui-control-text:14px;--ui-focus:#98e2d5}.classic-theme{--ui-focus:#00676e}html body :is(.primary-button,.secondary-button,.text-button){min-height:var(--ui-control-size);min-width:var(--ui-control-size);font-size:var(--ui-control-text);letter-spacing:0;text-transform:none;white-space:normal;overflow-wrap:anywhere;line-height:1.4}:where(button,a[href],input,select,textarea,summary,[tabindex]):focus-visible{outline:3px solid var(--ui-focus);outline-offset:3px}.recap-page .board-row{display:contents}.promotion-panel .cancel-promotion{min-width:var(--ui-control-size);min-height:var(--ui-control-size);padding-inline:12px}body:has(.setup-page) .project-utility-dock{justify-content:flex-end;width:min(1120px,100% - 32px);margin:0 auto 20px;display:flex;position:static;inset:auto}
