/* Interface dimensions increased by 10% for the default browser scale. */
/* Shared visual tokens keep both terminal themes readable. */
:root{color-scheme:dark;--bg:#080e12;--panel:#101a20;--surface:#14232a;--line:#2b4249;--text:#e0ede9;--muted:#9aafb1;--accent:#5ef5ad;--ink:#06271b;--danger:#ff9a9f;--cyan:#74d6ed;--grid:#5ef5ad08;--glow:#5ef5ad20;--field:#0b151b;--left:#10232e;--left-head:#193442;--right:#112920;--right-head:#1b3a2c;--warning-bg:#332a18;--warning-text:#f6d58c;--danger-bg:#361e25;--mono:'Cascadia Code',Consolas,'Courier New',monospace}
:root[data-theme=light]{color-scheme:light;--bg:#eef4f2;--panel:#fcfffe;--surface:#e3eeea;--line:#b6ccc4;--text:#172e2a;--muted:#4c6961;--accent:#087647;--ink:#fff;--danger:#a72b3b;--cyan:#086d86;--grid:#08764709;--glow:#08764714;--field:#f6faf8;--left:#f1f8fb;--left-head:#dceef5;--right:#f1f9f2;--right-head:#dcefe0;--warning-bg:#fff2d4;--warning-text:#74510b;--danger-bg:#ffe8ec}
body{background:var(--bg);background-image:linear-gradient(var(--grid) 1.1px,transparent 1.1px),linear-gradient(90deg,var(--grid) 1.1px,transparent 1.1px);background-size:37.4px 37.4px}
::selection{background:var(--accent);color:var(--ink)}
body::before{content:'';position:fixed;inset:0;pointer-events:none;z-index:-1;background:radial-gradient(ellipse at 80% 0,var(--glow),transparent 60%)}
h1,h2,h3,.brand,.eyebrow,.side-label,.nav-label,.board-score,.board-date strong,.stat strong,.theme-switch{font-family:var(--mono)}
h1{letter-spacing:-1.1px}.page-heading h1::before{content:'> ';color:var(--accent)}
.heading-dot{display:inline-block;animation:terminal-cursor 1.6s steps(2,end) infinite}
.brand{color:var(--accent);text-shadow:0 0 26.4px var(--glow)}
.brand-sub,.nav-label,.today,.topbar,.site-footer,.stat>span,.team-heading p,.player-info>span,.player-info>small,.player dt,.audit-list time,.audit-list span,.match-meta,.match-team small,.score small,.footnote,.source-note,.rank,td small,.team-selectors label,.auth-title p,.auth-story footer,.auth-notice,.auth-switch,.desk-team-meta small{color:var(--muted)}
.sidebar{background:var(--bg);border-color:var(--line)}
.topbar{background:var(--bg);border-color:var(--line);position:relative;padding-right:203.5px}
.topbar::after{content:'';position:absolute;bottom:-1.1px;left:0;width:100%;height:1.1px;background:linear-gradient(90deg,transparent,var(--accent),transparent);opacity:.5}
.topbar strong,.league-chip,.player dd,.player details,.extra-notes summary,.score.scheduled strong{color:var(--text)}
.nav-item{color:var(--muted);border-radius:3.3px;border:1.1px solid transparent}
.nav-item.active{color:var(--accent);background:var(--surface);border-color:var(--line);box-shadow:inset 3.3px 0 var(--accent)}
.nav-item:hover,.outline:hover,.icon-button:hover,.date-tab:hover,.daily-rates button:hover,.board-game-main button:hover{background:var(--surface);color:var(--accent)}
.theme-switch{position:fixed;z-index:25;right:26.4px;top:24.2px;min-height:37.4px;padding:8.8px 13.2px;border:1.1px solid var(--accent);border-radius:3.3px;background:var(--panel);color:var(--accent);font-size:12.1px;box-shadow:0 0 22px var(--glow)}
.theme-switch:hover{background:var(--accent);color:var(--ink)}
.panel,.board-panel,.stat,.match-card,.desk-team,.draft-banner,.board-date{border-radius:4.4px;border-color:var(--line);box-shadow:0 5.5px 26.4px #00000008}
.panel,.board-panel,.stat,.match-card,.sync-control,.focus-panel{background:var(--panel)}
.board-header,.desk-sets-heading{border-bottom:1.1px solid var(--line)}
.board-header .eyebrow,.page-heading .eyebrow,.auth-form>.eyebrow{color:var(--accent)}
.panel,.board-panel,.desk-team{transition:border-color .2s,box-shadow .2s}
.panel:hover,.board-panel:hover,.desk-team:hover,.desk-team.right:hover{border-color:var(--muted);box-shadow:0 0 24.2px var(--glow)}
.desk-team,.desk-team.right{background:var(--left);border-color:var(--line)}
.desk-team.right{background:var(--right)}
.desk-team-header,.desk-accounts th,.desk-sets th{background:var(--left-head);border-color:var(--line);color:var(--text)}
.right .desk-team-header,.right .desk-accounts th,.right .desk-sets th{background:var(--right-head);border-color:var(--line);color:var(--text)}
.side-label{color:var(--cyan)}.right .side-label{color:var(--accent)}
.desk-sets-heading,.right .desk-sets-heading{background:transparent}
input,select,textarea,.desk-selector select,.right .desk-selector select,.team-selectors select,.account-fields input,.credential-field input{background:var(--field);color:var(--text);border-color:var(--line);border-radius:3.3px}
.desk-accounts input{background:transparent;color:var(--text);border-radius:2.2px}
.desk-accounts input:hover{background:var(--field)}
input:focus,select:focus,.desk-accounts input:focus,.right .desk-accounts input:focus{border-color:var(--accent);box-shadow:0 0 0 2.2px var(--glow)}
.desk-accounts td,.right .desk-accounts td,.desk-sets td,.right .desk-sets td,td,.player,.audit-list>div,.site-footer,.match-meta,.auth-story,.roster-head{border-color:var(--line)}
th{background:var(--surface);color:var(--muted)}
tbody tr:hover,tbody tr[data-match]:hover{background:var(--glow)}
.desk-team .position,.right .position,.position{border-color:var(--line);color:var(--accent);background:var(--field);border-radius:3.3px}
.team-logo,.avatar{background:var(--surface);color:var(--accent)}
.desk-team:not(.right) .team-logo{color:var(--cyan)}
.board-totals,.stat.accent{background:var(--accent);border-color:var(--accent);color:var(--ink)}
.stat.accent>span,.stat.accent i{color:var(--ink)}
.draft-banner{background:var(--surface);border-color:var(--line);position:relative;overflow:hidden}
.draft-banner::before{content:'';position:absolute;top:0;bottom:0;width:35%;left:-40%;background:linear-gradient(90deg,transparent,var(--glow),transparent);animation:terminal-scan 9s ease-in-out infinite;pointer-events:none}
.draft-banner strong{color:var(--accent)}.draft-banner>span,.draft-banner small{color:var(--muted)}
.board-date{background:var(--panel);border-color:var(--line)}.board-date strong{color:var(--cyan);font-variant-numeric:tabular-nums;font-size:37.4px}.board-date>span,.board-date small{color:var(--muted)}
.primary{background:var(--accent);color:var(--ink);border-radius:3.3px}.primary:hover{background:var(--accent);box-shadow:0 0 22px var(--glow);filter:brightness(1.08)}
.outline,.icon-button{border-color:var(--line);border-radius:3.3px}
.danger{background:var(--danger-bg);border-color:var(--danger);color:var(--danger);border-radius:3.3px}
.notice,.pill,.count,.account-index a,.segmented,.segmented .selected{background:var(--surface);color:var(--text);border-color:var(--line)}
.pill.live{color:var(--accent)}.pill.finished{color:var(--cyan)}.pill.scheduled,.warning,.local-tag{background:var(--warning-bg);color:var(--warning-text)!important;border-color:var(--line)}
.score-cell,.account-sets,.focus-panel .eyebrow,.focus-panel p{color:var(--text)}
.empty{border-color:var(--line);color:var(--muted)}
.pulse{background:var(--accent);box-shadow:0 0 8.8px var(--glow);animation:terminal-pulse 3s ease-in-out infinite}
.auth-story{background:linear-gradient(145deg,var(--surface),var(--bg));position:relative;overflow:hidden}
.auth-story::before{content:attr(data-decoration);position:absolute;bottom:110px;left:66px;right:22px;font:12.1px var(--mono);letter-spacing:4.4px;color:var(--accent);opacity:.35;pointer-events:none}
.auth-title h1 em{color:var(--accent);font-style:normal;text-shadow:0 0 33px var(--glow)}
.auth-pills span{background:var(--panel);border-color:var(--line);color:var(--text);border-radius:3.3px}
.auth-notice{border-color:var(--line)}.auth-form-wrap{background:transparent}
dialog{background:var(--panel);color:var(--text);border-color:var(--line);border-radius:5.5px;box-shadow:0 0 66px var(--glow)}
dialog::backdrop{background:#020a10bb;backdrop-filter:blur(5.5px)}
.modal-head,.credential-field{border-color:var(--line)}
#toast{background:var(--surface);color:var(--text);border-color:var(--accent)}#toast.error{background:var(--danger-bg);color:var(--danger)}
@keyframes terminal-cursor{50%{opacity:.2}}
@keyframes terminal-pulse{50%{box-shadow:0 0 0 4.4px var(--glow),0 0 15.4px var(--glow)}}
@keyframes terminal-scan{0%,30%{transform:translateX(0)}70%,100%{transform:translateX(450%)}}
@media(max-width:1100px){.topbar{padding-right:182.6px}.theme-switch{right:17.6px}.topbar>span{display:none}.top-right{width:100%;justify-content:flex-end}}
@media(max-width:660px){.topbar{padding-right:162.8px;gap:8.8px}.top-right{gap:8.8px}.theme-switch{right:13.2px;font-size:11px;padding:8.8px;top:12.1px}.connection{display:none}.auth-form-wrap{padding-top:93.5px}.auth-story::before{left:27.5px;letter-spacing:1.1px}.board-date strong{font-size:33px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation:none!important;transition:none!important}}

.publish-box{background:var(--warning-bg);border-color:var(--line);color:var(--warning-text)}.publish-box small{color:var(--warning-text)}.modal-close{color:var(--muted)}#result-form{border-color:var(--line)}

.game-day-note{display:grid;gap:7.7px;padding:11px 15.4px;border-bottom:1.1px solid var(--line);font-size:11px;line-height:1.5;color:var(--muted)}.game-day-note button{text-align:left;font-size:11px}

/* Shared mail cache below the standard page heading. */
.guard-panel{width:100%;margin-bottom:26.4px;min-width:0;padding:13.2px 15.4px;border:1.1px solid var(--line);background:var(--panel);border-radius:4.4px}.guard-controls{display:flex;justify-content:space-between;align-items:center;gap:11px;margin-bottom:11px}.guard-controls>div{display:flex;align-items:center;gap:15.4px;flex-wrap:wrap}.guard-controls .eyebrow{margin:0!important;color:var(--accent)}.guard-status,.guard-footnote{font-size:9.9px;color:var(--muted)}.guard-cards{display:flex;gap:9.9px;overflow-x:auto;padding-bottom:7.7px;scrollbar-width:thin;scrollbar-color:var(--line) transparent}.guard-card{flex:0 0 182.6px;min-width:0;padding:11px 13.2px;border:1.1px solid var(--line);background:var(--field);border-radius:3.3px}.guard-account{display:block;font:12.1px var(--mono);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--text)}.guard-card>div{display:flex;justify-content:space-between;align-items:center;gap:7.7px;margin:7.7px 0}.guard-code{font:700 27.5px var(--mono);letter-spacing:2.2px;color:var(--accent);user-select:all}.guard-card .icon-button{width:30.8px;height:30.8px;font-size:19.8px;flex-shrink:0}.guard-card time{font:9.9px var(--mono);color:var(--muted)}.guard-empty{font-size:12.1px;color:var(--muted);margin:5.5px 0}.guard-error{font-size:12.1px;color:var(--danger);margin-bottom:8.8px}.guard-footnote{display:block;line-height:1.5}
@media(max-width:660px){.guard-controls{align-items:flex-start;flex-wrap:wrap}.guard-controls .small{font-size:11px}.guard-card{flex-basis:176px}}

.role-controls{display:flex;align-items:center;gap:8.8px;flex-wrap:wrap;min-width:330px}.role-controls select{width:203.5px;padding:8.8px;font-size:12.1px}.pagination{display:flex;align-items:center;justify-content:center;gap:8.8px;margin-top:22px;flex-wrap:wrap}.pagination .small{min-width:37.4px}.pagination span{color:var(--muted)}
.session-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17.6px}.session-card{min-width:0;border:1.1px solid var(--line);background:var(--field);padding:19.8px;border-radius:4.4px}.session-card>div{display:flex;align-items:center;justify-content:space-between;gap:13.2px}.session-card>div>strong{font-size:14.3px}.session-card dl{font-size:12.1px}.session-card dl>div{display:flex;gap:16.5px;justify-content:space-between;padding:7.7px 0;border-bottom:1.1px solid var(--line)}.session-card dt{color:var(--muted)}.session-card dd{margin:0;text-align:right;overflow-wrap:anywhere}.session-card details{font-size:12.1px;color:var(--muted);margin-bottom:16.5px}.session-card summary{cursor:pointer}.session-card details p{overflow-wrap:anywhere;margin-top:11px}
.rest-day{padding:35.2px 19.8px;text-align:center;background:radial-gradient(ellipse at center,var(--glow),transparent)}.rest-day h3{font-size:24.2px;color:var(--accent);margin:17.6px 0 9.9px}.rest-day p{font-size:12.1px;line-height:1.8;color:var(--muted);margin:0}.rest-orbit{position:relative;width:82.5px;height:82.5px;border:1.1px dashed var(--line);border-radius:50%;margin:auto;display:grid;place-items:center;font:49.5px var(--mono);color:var(--cyan);animation:rest-float 5s ease-in-out infinite}.rest-orbit span{position:absolute;right:0;top:0;font:17.6px var(--mono);color:var(--accent);animation:rest-float 3s ease-in-out infinite}.rest-orbit i{position:absolute;left:-11px;bottom:5.5px;font-style:normal;font-size:19.8px;color:var(--accent)}
@keyframes rest-float{50%{transform:translateY(-6.6px)}}
@media(max-width:935px){.session-list{grid-template-columns:minmax(0,1fr)}.audit-list>div{grid-template-columns:1fr;gap:6.6px}.session-card{padding:15.4px}.session-card dl>div{flex-wrap:wrap}.session-card dd{text-align:left}}
@media(prefers-reduced-motion:reduce){.rest-orbit,.rest-orbit span{animation:none}}

.verification-pulse{font-size:77px;color:var(--accent);animation:rest-float 2s ease-in-out infinite}.draft-dice{margin-top:17.6px}.draft-case{text-align:center}.case-window{height:187px;overflow:hidden;position:relative;margin:27.5px 0;border:1.1px solid var(--line);background:var(--field)}.case-strip{display:flex;gap:8.8px;padding-top:22px;will-change:transform}.case-card{flex:0 0 110px;height:143px;display:flex;flex-direction:column;justify-content:center;align-items:center;border-bottom:4.4px solid var(--cyan);background:var(--panel);box-sizing:border-box}.case-card small{font-size:9.9px;color:var(--muted)}.case-card b{font:59.4px var(--mono);color:var(--cyan)}.case-card.rarity-1,.case-card.rarity-3{border-color:#b987ff}.case-card.rarity-2,.case-card.rarity-4{border-color:var(--accent)}.case-card.winner{background:var(--glow);box-shadow:inset 0 0 0 2.2px var(--accent)}.case-pointer{position:absolute;left:50%;top:0;transform:translateX(-50%);color:var(--accent);font-size:24.2px}.case-result{font:700 29.7px var(--mono);color:var(--accent);margin-bottom:19.8px}.draft-case .button-row{justify-content:center;flex-wrap:wrap}.pagination{flex-wrap:wrap}

/* Preserve the full artwork in both themes. */
.team-logo.has-image{clip-path:none;background:transparent}.team-logo.has-image img{display:block;width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 1.1px 2.2px #0003)}

.result-actions{display:grid;grid-template-columns:1fr 1fr;gap:13.2px}.result-actions button{white-space:normal;line-height:1.5;padding:13.2px}@media(max-width:616px){.result-actions{grid-template-columns:1fr}}

.session-rows{display:flex;flex-direction:column}.session-row{display:grid;grid-template-columns:minmax(176px,1fr) minmax(242px,2fr) auto;gap:17.6px;padding:13.2px 0;border-bottom:1.1px solid var(--line);align-items:center}.session-device,.session-times{display:flex;flex-direction:column;gap:5.5px;font-size:13.2px}.session-device .pill{align-self:flex-start}.session-device small,.session-times{color:var(--muted)}.session-times details p{overflow-wrap:anywhere;margin:8.8px 0}.session-times summary{cursor:pointer}@media(max-width:704px){.session-row{grid-template-columns:1fr auto}.session-times{grid-column:1/-1;grid-row:2}}

.pill.live,.pill.finished{background:var(--surface)}
:root[data-theme=light] .pill.live{background:#d9f4e5;color:#075e37}
:root[data-theme=light] .pill.finished{background:#e0f0f6;color:#07566b}
.account-editor{display:grid;gap:17.6px}.account-editor form{border-top:1.1px solid var(--line);padding-top:19.8px}.account-editor h3{margin:0 0 15.4px}.account-editor .form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:13.2px}.account-editor label{min-width:0}.account-editor textarea{width:100%;min-height:93.5px;background:var(--field);color:var(--text);border:1.1px solid var(--line);padding:11px;font:inherit;resize:vertical}.account-editor .editor-wide{grid-column:1/-1}.account-editor input{min-width:0;width:100%}@media(max-width:660px){.account-editor .form-grid{grid-template-columns:minmax(0,1fr)}}

.password-field{position:relative;display:block}.password-field input{padding-right:52.8px}.password-eye{position:absolute;right:4.4px;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:39.6px;height:39.6px;background:transparent;border:0;color:var(--text);padding:7.7px}.password-eye svg{width:24.2px;height:24.2px;fill:none;stroke:currentColor;stroke-width:1.7}.password-eye[aria-pressed=true]{color:var(--accent);background:var(--surface)}.editor-logo-preview{width:82.5px;height:82.5px;object-fit:contain}#team-logo-preview{display:block;margin-top:11px}.inactive-team{display:flex;gap:22px;align-items:center}.inactive-team small,.table-team small{display:block;font-size:12.1px;color:var(--muted);margin-top:5.5px}.inactive-team .text-button{font-size:22px}.inactivity-panel{margin-top:22px}.table-team>span{text-align:left}

/* Highlight mail refresh when it is available. */
[data-action="guard-refresh"]:not(:disabled){animation:guard-refresh-pulse 2s ease-in-out infinite}
@keyframes guard-refresh-pulse{0%,100%{border-color:var(--line);box-shadow:0 0 0 transparent}50%{border-color:var(--accent);box-shadow:0 0 13.2px var(--glow),inset 0 0 8.8px var(--glow)}}

.audit-list.session-history>.session-history-row{grid-template-columns:170.5px minmax(132px,1fr) minmax(121px,1fr) 110px 99px 66px;align-items:center;gap:13.2px;padding:13.2px 0;font-size:12.1px}
.session-history .session-ip{overflow-wrap:anywhere;min-width:0}.session-history .pill{justify-self:start}.session-history-action{text-align:right}.session-history-action button{padding:6.6px 9.9px}.session-history-details{min-width:0;color:var(--muted)}.session-history-details summary{cursor:pointer}.session-history-details[open]{grid-column:1/-1}.session-history-details p{overflow-wrap:anywhere;margin:7.7px 0}.session-history-details[open]>div{border-left:2.2px solid var(--line);padding-left:13.2px;margin-top:11px}
@media(max-width:1210px){.audit-list.session-history>.session-history-row{grid-template-columns:159.5px minmax(110px,1fr) minmax(104.5px,1fr) 110px;gap:11px}.session-history-action{text-align:left}.session-history-details{grid-column:2/-1}}
@media(max-width:660px){.audit-list.session-history>.session-history-row{grid-template-columns:minmax(0,1fr) auto;gap:8.8px}.audit-list.session-history>.session-history-row>span{grid-column:auto}.session-history-details{grid-column:2;text-align:right}.session-history-details[open]{grid-column:1/-1;text-align:left}.session-history time{font-size:11px}}

.nav-item>.nav-title{font-size:inherit;width:auto;min-width:0}.sidebar-toggle{display:none}
@media(min-width:837.1px){
 .layout .sidebar,.layout:has(.command-page) .sidebar{width:253px;padding-left:19.8px;padding-right:19.8px}
 .layout .workspace,.layout:has(.command-page) .workspace{margin-left:253px}
 .sidebar-toggle{display:flex;align-items:center;justify-content:center;gap:11px;align-self:flex-end;margin-bottom:22px;min-height:37.4px}
 .layout .sidebar .brand{margin:0 5.5px 33px}
 .layout.sidebar-collapsed .sidebar,.layout.sidebar-collapsed:has(.command-page) .sidebar{width:79.2px;padding-left:11px;padding-right:11px}
 .layout.sidebar-collapsed .workspace,.layout.sidebar-collapsed:has(.command-page) .workspace{margin-left:79.2px}
 .sidebar-collapsed .sidebar-toggle{align-self:center;width:39.6px;padding:5.5px}
 .sidebar-collapsed .sidebar-toggle-label,.sidebar-collapsed .brand>span,.sidebar-collapsed .nav-label,.sidebar-collapsed .nav-title,.sidebar-collapsed .nav-item i,.sidebar-collapsed .league-chip,.sidebar-collapsed .user-chip>span:not(.avatar){display:none}
 .sidebar-collapsed .sidebar .brand{display:flex;justify-content:center;margin-left:0;margin-right:0}
 .sidebar-collapsed .nav-item{justify-content:center;padding:13.2px 6.6px;gap:0}
 .sidebar-collapsed .nav-icon{text-align:center}
 .sidebar-collapsed .user-chip{justify-content:center;padding:11px 0;gap:0}
}

@media(min-width:837.1px){
 .layout .sidebar-toggle,.layout.sidebar-collapsed .sidebar-toggle{position:absolute;right:-13.2px;top:50%;transform:translateY(-50%);width:26.4px;min-height:52.8px;padding:0;margin:0;display:grid;place-items:center;background:var(--panel);border:1.1px solid var(--line);border-radius:5.5px;z-index:1;color:var(--accent)}
 .layout .sidebar-toggle:hover{border-color:var(--accent);background:var(--surface)}
 .layout .sidebar-toggle:focus-visible{outline:2.2px solid var(--accent);outline-offset:3.3px}
}

.account-value{cursor:copy}.credential-copy-target{position:relative}.copy-feedback{position:absolute;right:9.9px;top:50%;transform:translateY(-50%);padding:4.4px 7.7px;background:var(--field);color:var(--accent);border:1.1px solid var(--accent);border-radius:3.3px;font:12.1px var(--mono);pointer-events:none;white-space:nowrap;z-index:1;animation:copy-feedback-in .18s ease-out}.account-value.account-copied{border-color:var(--accent);animation:account-copy-flash 1.5s ease-out}.credential-copy-target>label{position:relative}
@keyframes account-copy-flash{0%,35%{background:var(--surface);box-shadow:0 0 9.9px var(--glow)}100%{box-shadow:none}}@keyframes copy-feedback-in{from{opacity:0}to{opacity:1}}

/* Keep the summary in its column while expanding the content below the row. */
.session-history-details[open]{display:contents}
.session-history-details[open]>summary{grid-column:6;grid-row:1;align-self:center}
.session-history-details[open]>div{grid-column:1/-1;grid-row:2;margin-top:0;text-align:left}
@media(max-width:1210px){.session-history-details[open]>summary{grid-column:2/-1;grid-row:2}.session-history-details[open]>div{grid-row:3}}
@media(max-width:660px){.session-history-details[open]>summary{grid-column:2;grid-row:3;text-align:right}.session-history-details[open]>div{grid-row:4}}

/* Mail codes occupy the team column; the schedule starts alongside them. */
.command-teams>.guard-panel{margin-bottom:0;max-width:100%}
.command-teams>.command-intro{margin:0;min-width:0;gap:13.2px;flex-wrap:wrap}
.guard-carousel{display:flex;align-items:center;gap:8.8px;min-width:0}
.guard-carousel .guard-cards{flex:1;min-width:0;scroll-behavior:smooth}
.guard-scroll{flex:0 0 30.8px;width:30.8px;height:37.4px;margin-bottom:14.3px;padding:0;line-height:1;display:grid;place-items:center}
.guard-carousel .guard-cards::-webkit-scrollbar{height:6.6px}
.guard-scroll>svg{display:block;width:17.6px;height:17.6px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.daily-rates-actions{display:flex;align-items:center;gap:8.8px;flex-shrink:0}.daily-rates-copy{width:30.8px;height:30.8px;padding:0}.daily-rates-copy svg{width:16.5px;height:16.5px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.daily-rates button:has(.daily-rate-vs){grid-template-columns:minmax(0,1fr) 52.8px 19.8px 52.8px minmax(0,1fr);gap:3.3px}.daily-rate-vs{font-style:normal;font-size:9.9px;text-align:center;color:var(--muted)}
.board-totals>span{font-weight:700}.draft-banner>.draft-dice{margin-inline-start:13.2px}
@media(min-width:837.1px){.layout:not(.sidebar-collapsed) .sidebar .nav-item{gap:11px;padding-left:13.2px;padding-right:26.4px}.layout:not(.sidebar-collapsed) .sidebar .nav-icon{flex:0 0 19.8px}.layout:not(.sidebar-collapsed) .sidebar .nav-title{white-space:nowrap}.layout:not(.sidebar-collapsed) .sidebar .nav-item i{position:absolute;right:13.2px;margin-left:0}}

/* Equal team columns keep VS centered regardless of the names. */
.pair-names{display:grid;grid-template-columns:minmax(0,1fr) 37.4px minmax(0,1fr);gap:11px;padding:15.4px 16.5px 0;align-items:center}
.pair-names>span{max-width:none;min-width:0;font-size:15.4px;font-weight:700;line-height:1.4;color:var(--text);overflow-wrap:anywhere}
.pair-names>b{display:grid;place-items:center;justify-self:center;width:37.4px;height:30.8px;border:1.1px solid var(--line);border-radius:4.4px;background:var(--surface);font:700 11px var(--mono);color:var(--accent)}

.new-team-player{border-top:1.1px solid var(--line);padding-top:22px}.account-editor .section-head{flex-wrap:wrap}

/* Local hero cards are fixed to the viewport, outside scrolling tables. */
.hero-name{background:none;border:0;border-bottom:1.1px dotted var(--muted);border-radius:0;color:inherit;padding:0;margin:0;font:inherit;line-height:inherit;text-align:left;cursor:help;white-space:normal}
.hero-name:hover,.hero-name:focus-visible{color:var(--accent);border-bottom-color:var(--accent)}
.hero-tooltip{position:fixed;z-index:1000;width:303.6px;max-width:calc(100vw - 17.6px);padding:11px;background:var(--panel);color:var(--text);border:1.1px solid var(--accent);border-radius:5.5px;box-shadow:0 8.8px 30.8px #0005;pointer-events:none;animation:hero-tooltip-in .12s ease-out}
.hero-tooltip[hidden]{display:none}.hero-portrait{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;border-radius:3.3px}
.hero-tooltip-name{display:flex;align-items:center;gap:9.9px;padding:11px 0 6.6px}.hero-tooltip-name>img{flex-shrink:0;object-fit:contain}.hero-tooltip-name>strong{font:700 19.8px var(--mono);line-height:1.2;overflow-wrap:anywhere}
.hero-tooltip-attribute{display:flex;justify-content:space-between;gap:11px;font-size:12.1px;color:var(--muted)}.hero-tooltip-attribute>span{font-size:9.9px}
@keyframes hero-tooltip-in{from{opacity:0}to{opacity:1}}

.h2h-switch{display:flex;gap:6.6px;padding:13.2px 13.2px 4.4px}.h2h-switch button{flex:1;padding:8.8px 6.6px;font-size:11px}.h2h-switch [aria-pressed="true"]{border-color:var(--accent)}

.site-tooltip{position:fixed;z-index:10000;max-width:min(330px,calc(100vw - 17.6px));padding:9.9px 13.2px;border:1.1px solid var(--line);border-left:2.2px solid var(--accent);border-radius:5.5px;background:var(--panel);color:var(--text);box-shadow:0 6.6px 24.2px #0003;font-family:inherit;font-size:12.1px;line-height:1.5;overflow-wrap:anywhere;pointer-events:none;animation:site-hint-in .12s ease-out}.site-tooltip[hidden]{display:none}@keyframes site-hint-in{from{opacity:0;transform:translateY(-3.3px)}to{opacity:1;transform:translateY(0)}}@media(prefers-reduced-motion:reduce){.site-tooltip{animation:none}}

.team-winrates{display:grid;gap:19.8px;margin-bottom:28.6px}.team-winrate{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:11px 13.2px;align-items:center;margin:0}.team-winrate>strong{margin:0;font-size:14.3px}.team-winrate>span{text-align:center}.team-winrate>span b{display:block;color:var(--text);font-size:12.1px;font-weight:600}.team-winrate>span small{display:block;font-size:9.9px;margin-top:4.4px;line-height:1.4}.team-winrate>.winrate-track{grid-column:1/-1}.team-winrate>.empty{background:var(--line)}

.site-date-field{position:relative}.board-header .site-date-field input{padding-right:35.2px}.site-date-field input::-webkit-calendar-picker-indicator{display:none}.site-date-open{position:absolute;right:7.7px;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:26.4px;height:26.4px;padding:4.4px;border:0;background:transparent;color:var(--muted)}.site-date-open:hover{color:var(--accent)}.site-date-open svg{width:15.4px;height:15.4px;fill:none;stroke:currentColor;stroke-width:1.6}

.tournament-settings{display:flex;align-items:end;flex-wrap:wrap;gap:19.8px;margin-top:19.8px}.tournament-settings>label:first-child{width:198px}.tournament-checkbox{display:flex;flex-direction:row;align-items:center;flex:1;min-width:231px;padding-bottom:11px;line-height:1.5}.tournament-checkbox input{width:17.6px;height:17.6px;accent-color:var(--accent)}.tournament-league-picker{max-width:286px}.tournament-status{margin:24.2px 0}.tournament-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(341px,396px);gap:24.2px;align-items:start}.tournament-grid .panel{min-width:0}.tournament-grid td,.tournament-grid th{padding:13.2px 9.9px;font-size:12.1px}.tournament-matches a{white-space:nowrap;color:var(--accent)}.tournament-previous{color:#d8b960}.tournament-negative{color:var(--danger)}.tournament-zero{color:var(--cyan)}.tournament-copy{display:grid;gap:8.8px;margin-top:19.8px}.tournament-progress{display:grid;gap:9.9px;color:var(--muted);font-size:13.2px}.tournament-progress progress{width:100%;accent-color:var(--accent);height:8.8px}.tournament-summary{position:sticky;top:19.8px}@media(max-width:1320px){.tournament-grid{grid-template-columns:1fr}.tournament-summary{position:static}}@media(max-width:660px){.tournament-status .section-head{align-items:start;flex-direction:column}.tournament-settings>label:first-child,.tournament-settings>button{width:100%}}

.tournament-delta-icon{display:inline-block;width:15.4px;height:15.4px;vertical-align:middle;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linejoin:round;flex-shrink:0}.tournament-copy button{gap:6.6px}.tournament-copy .tournament-delta-icon{color:var(--accent)}

.tournament-league-picker{display:flex;flex-direction:column;gap:8.8px}.tournament-league-picker select{width:100%}.tournament-source-setting{margin-top:19.8px;padding-bottom:0}.tournament-settings>label:first-child{width:264px}.tournament-settings>span{font-size:12.1px;align-self:center}.tournament-league-settings{display:grid;gap:11px;max-height:50vh;overflow:auto;margin:19.8px 0}.tournament-league-settings label{display:flex;align-items:center;justify-content:space-between;gap:17.6px;padding:13.2px;border:1.1px solid var(--line);border-radius:3.3px}.tournament-league-settings input{width:19.8px;height:19.8px;accent-color:var(--accent)}.tournament-value{display:inline-flex;padding:3.3px 5.5px;margin:-3.3px -5.5px;min-height:0;background:transparent;border:1.1px solid transparent;border-radius:3.3px;color:var(--accent);font:inherit;cursor:copy}.tournament-value:hover,.tournament-value:focus-visible{border-color:var(--accent);background:var(--surface)}

.tournament-history-panel{margin-top:24.2px;min-width:0}.tournament-leagues-table{width:100%;min-width:638px}.tournament-league-link{background:transparent;border:0;padding:4.4px 0;color:var(--accent);font:700 14.3px var(--mono)}.tournament-visible-checkbox{width:19.8px;height:19.8px;accent-color:var(--accent)}.tournament-report-list{display:grid;gap:11px;margin-top:19.8px}.tournament-report{border:1.1px solid var(--line);border-radius:4.4px;min-width:0;background:var(--field)}.tournament-report>summary{display:flex;align-items:center;gap:22px;justify-content:space-between;list-style:none;padding:17.6px 19.8px;cursor:pointer}.tournament-report>summary::-webkit-details-marker{display:none}.tournament-report>summary:hover{background:var(--surface)}.tournament-report[open]{border-color:var(--accent)}.tournament-report-title{font-weight:700;flex:1;min-width:0}.tournament-report small{display:block;color:var(--muted);font-size:11px;font-weight:400;line-height:1.5;margin-top:5.5px}.tournament-report-preview{text-align:right;color:var(--accent);font-size:13.2px}.tournament-report>summary svg{width:17.6px;height:17.6px;flex-shrink:0;fill:none;stroke:var(--accent);stroke-width:1.7}.tournament-report[open]>summary svg{transform:rotate(180deg)}.tournament-report-detail{padding:0 17.6px 17.6px;min-width:0}.tournament-report-detail:empty{padding:0}.tournament-report-detail .tournament-summary{position:static}.tournament-report-detail .panel{padding:19.8px}.tournament-match-result{min-width:220px;line-height:1.5}.tournament-match-result b{color:var(--accent);white-space:nowrap}.tournament-match-result small{display:block;color:var(--muted);font-size:9.9px;margin-top:4.4px}.tournament-report-pagination{margin-bottom:0}#tournament-settings .button-row{flex-wrap:wrap}@media(max-width:660px){.tournament-report>summary{flex-wrap:wrap;gap:11px;padding:15.4px}.tournament-report-title{flex-basis:calc(100% - 33px)}.tournament-report-preview{order:3;flex-basis:100%;text-align:left}.tournament-report-detail{padding:0 8.8px 8.8px}.tournament-report-detail .panel{padding:13.2px}.tournament-history-panel{padding:17.6px}.tournament-status .section-head,.tournament-history-panel+.section-head{flex-wrap:wrap}}

.tournament-controls .section-head{flex-wrap:wrap;gap:15.4px}.tournament-controls .button-row{flex-wrap:wrap}

.tournament-match-links{display:flex;align-items:center;gap:6.6px;white-space:nowrap}.tournament-match-id{font-family:var(--mono);color:var(--text);margin-right:3.3px}.tournament-matches .tournament-provider-link{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:28.6px;height:28.6px;border:1.1px solid var(--line);border-radius:4.4px;background:var(--field);color:var(--muted)}.tournament-matches .tournament-provider-link:hover,.tournament-matches .tournament-provider-link:focus-visible{color:var(--accent);border-color:var(--accent);background:var(--surface)}.tournament-provider-link svg{width:18.7px;height:18.7px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.tournament-provider-link .provider-point{fill:currentColor;stroke:none}.tournament-summary{padding:22px}.tournament-summary td,.tournament-summary th{padding:13.2px 6.6px;font-size:11px}.tournament-copy button{white-space:normal;line-height:1.5}

.tournament-result-team{display:inline-flex;align-items:center;gap:5.5px;vertical-align:middle}.tournament-winner-icon{width:16.5px;height:16.5px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;color:#e6bc58;vertical-align:middle}:root[data-theme=light] .tournament-winner-icon{color:#956609}

.tournament-grid th,.tournament-grid td{text-align:center;vertical-align:middle}.tournament-match-links{justify-content:center}

.tournament-result-line{display:grid;grid-template-columns:minmax(0,1fr) 63.8px minmax(0,1fr);align-items:center;gap:7.7px;min-width:352px;width:100%}.tournament-result-left{justify-content:flex-end;text-align:right}.tournament-result-right{justify-content:flex-start;text-align:left}.tournament-result-team>span{min-width:0;overflow-wrap:anywhere}.tournament-result-score{text-align:center;font-variant-numeric:tabular-nums}

.daily-rates{height:171.6px;overflow-y:auto;scrollbar-width:thin;scrollbar-color:var(--line) transparent}.daily-rates>button{min-height:39.6px}.daily-rates-empty{min-height:158.4px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6.6px;padding:8.8px;text-align:center;background:radial-gradient(ellipse at center,var(--glow),transparent 70%)}.daily-rates-empty>strong{color:var(--accent);font-size:12.1px;line-height:1.5}.daily-rates-empty>p{margin:0;color:var(--muted);font-size:11px;line-height:1.5}.daily-rates-rest-icon{width:52.8px;height:52.8px;flex-shrink:0;animation:daily-rest-float 4s ease-in-out infinite}.daily-rest-orbit{fill:none;stroke:var(--line);stroke-width:1;stroke-dasharray:2 4}.daily-rest-moon{fill:none;stroke:var(--cyan);stroke-width:1.7;stroke-linejoin:round}.daily-rest-star{fill:var(--accent);animation:daily-rest-twinkle 3s ease-in-out infinite}.daily-rest-dot{animation-delay:1.5s}@keyframes daily-rest-float{50%{transform:translateY(-3.3px)}}@keyframes daily-rest-twinkle{50%{opacity:.35}}@media(prefers-reduced-motion:reduce){.daily-rates-rest-icon,.daily-rest-star{animation:none}}

.board-games{height:334.4px;overflow-y:auto;scrollbar-width:thin;scrollbar-color:var(--line) transparent}.board-games>.board-game{min-height:83.6px}.board-games>.rest-day{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center}.board-games>.rest-day .rest-orbit{margin:0}

/* Privileged connection settings */
.integration-panel{padding:26.4px}.integration-panel fieldset{border:0;padding:0;margin:0;min-width:0}.integration-panel fieldset:disabled{opacity:.65}.integration-fields,.integration-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:19.8px;margin:22px 0}.integration-columns{grid-template-columns:repeat(3,minmax(0,1fr))}.integration-panel label{display:flex;flex-direction:column;gap:8.8px;min-width:0}.integration-panel .integration-toggle{flex-direction:row;align-items:center;white-space:nowrap}.integration-toggle input{width:19.8px;height:19.8px;accent-color:var(--accent,#50f3b0)}.integration-panel textarea{width:100%;resize:vertical;box-sizing:border-box}.integration-panel input{min-width:0}.integration-panel h3{margin-top:26.4px}.integration-panel p{line-height:1.6;overflow-wrap:anywhere}.integration-panel .notice{margin:22px 0}.integration-panel .primary{margin-top:13.2px}@media(max-width:770px){.integration-fields,.integration-columns{grid-template-columns:1fr}.integration-panel .section-head{align-items:flex-start;flex-direction:column;gap:17.6px}.integration-panel{padding:19.8px}}

/* Google setup guides: gently pulse the border and glow without fading the text. */
.integration-panel .integration-guide{display:inline-block;max-width:100%;box-sizing:border-box;white-space:normal;line-height:1.6;color:var(--accent,#50f3b0);border-color:var(--accent,#50f3b0);animation:integration-guide-glow 3.2s ease-in-out infinite}
@keyframes integration-guide-glow{0%,100%{box-shadow:0 0 0 0 rgba(80,243,176,0);background-color:rgba(80,243,176,.03)}50%{box-shadow:0 0 15.4px 1.1px rgba(80,243,176,.22);background-color:rgba(80,243,176,.12)}}
.integration-panel .integration-guide:hover,.integration-panel .integration-guide:focus-visible{animation:none;box-shadow:0 0 17.6px 2.2px rgba(80,243,176,.3);background-color:rgba(80,243,176,.16);outline:2.2px solid var(--accent,#50f3b0);outline-offset:3.3px}
@media(prefers-reduced-motion:reduce){.integration-panel .integration-guide{animation:none;background-color:rgba(80,243,176,.08)}}

.integration-guides{display:flex;flex-wrap:wrap;align-items:center;gap:13.2px;margin:15.4px 0}

.integration-start-guide{padding:26.4px;margin-bottom:24.2px;border-color:var(--accent,#50f3b0);border-left:3.3px solid var(--accent,#50f3b0);background:linear-gradient(120deg,rgba(80,243,176,.08),transparent 75%),var(--panel,#0d1a20)}
.integration-start-guide h2{margin:11px 0 17.6px}.integration-start-guide ol{margin:0;padding-left:24.2px;line-height:1.8}.integration-start-guide li{padding-left:4.4px}.integration-start-guide li::marker{color:var(--accent,#50f3b0);font-weight:700}.integration-start-guide .muted{margin:13.2px 0 0;line-height:1.6}
.integration-start-guide .integration-guide{display:inline-block;max-width:100%;box-sizing:border-box;white-space:normal;line-height:1.6;color:var(--accent,#50f3b0);border-color:var(--accent,#50f3b0);animation:integration-guide-glow 3.2s ease-in-out infinite}
.integration-start-guide .integration-guide:hover,.integration-start-guide .integration-guide:focus-visible{animation:none;box-shadow:0 0 17.6px 2.2px rgba(80,243,176,.3);background-color:rgba(80,243,176,.16);outline:2.2px solid var(--accent,#50f3b0);outline-offset:3.3px}
@media(max-width:770px){.integration-start-guide{padding:19.8px}}
@media(prefers-reduced-motion:reduce){.integration-start-guide .integration-guide{animation:none;background-color:rgba(80,243,176,.08)}}

.integration-field-hint{color:var(--muted);font-size:12.1px;font-weight:400;line-height:1.6}.integration-mail-defaults{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13.2px;margin:15.4px 0 22px}.integration-mail-defaults>div{min-width:0;border:1.1px solid var(--line);background:var(--field);padding:13.2px}.integration-mail-defaults dt{color:var(--muted);font-size:12.1px;margin-bottom:8.8px}.integration-mail-defaults dd{margin:0;overflow-wrap:anywhere}.integration-mail-defaults code{color:var(--accent);font-family:var(--mono)}@media(max-width:990px){.integration-mail-defaults{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:528px){.integration-mail-defaults{grid-template-columns:1fr}}

.tournament-grid .tournament-summary th:first-child,.tournament-grid .tournament-summary td:first-child{text-align:left}

/* Root-managed league identities and paired visual presets. */
:root[data-style=ocean]{--bg:#09121e;--panel:#111f30;--surface:#192d42;--line:#355168;--text:#e1effa;--muted:#a0b7cb;--accent:#74caff;--ink:#08253b;--cyan:#83e5eb;--grid:transparent;--glow:#74caff1b;--field:#0c1928;--left:#11283a;--left-head:#19374d;--right:#132a36;--right-head:#1c3b45}
:root[data-theme=light][data-style=ocean]{--bg:#eef5fc;--panel:#ffffff;--surface:#e2effa;--line:#b1cadf;--text:#19354d;--muted:#506d85;--accent:#075f9a;--ink:#fff;--cyan:#087c8a;--grid:transparent;--glow:#167cb015;--field:#f4f9fe;--left:#f0f7fd;--left-head:#dfedf9;--right:#f0f9fa;--right-head:#deeff0}
:root[data-style=amethyst]{--bg:#100d1b;--panel:#1b162b;--surface:#2a213e;--line:#51436a;--text:#f0eafa;--muted:#bbaccd;--accent:#d3abff;--ink:#2c1642;--cyan:#a7c6ff;--grid:#d3abff07;--glow:#b67aff24;--field:#151022;--left:#221931;--left-head:#302242;--right:#1c2037;--right-head:#292e49}
:root[data-theme=light][data-style=amethyst]{--bg:#f5f0fb;--panel:#fffcff;--surface:#eee3f8;--line:#cebcdf;--text:#372346;--muted:#746081;--accent:#7040a4;--ink:#fff;--cyan:#365ba2;--grid:#7040a407;--glow:#7040a414;--field:#faf5ff;--left:#f6effc;--left-head:#ebddf6;--right:#f0f2fc;--right-head:#e1e6f8}
:root[data-style=minimal]{--bg:#111315;--panel:#1a1d20;--surface:#252a2f;--line:#444b52;--text:#edf0f2;--muted:#adb5bc;--accent:#b5d6ce;--ink:#162c26;--cyan:#bbcfe3;--grid:transparent;--glow:transparent;--field:#14171a;--left:#1c252b;--left-head:#29363d;--right:#202924;--right-head:#2b3a31}
:root[data-theme=light][data-style=minimal]{--bg:#f3f4f5;--panel:#fff;--surface:#e9edef;--line:#c7cdd2;--text:#242c32;--muted:#5b6871;--accent:#315f54;--ink:#fff;--cyan:#365e83;--grid:transparent;--glow:transparent;--field:#f8f9fa;--left:#f5f8fa;--left-head:#e8eef2;--right:#f4f8f5;--right-head:#e7efe9}
:root[data-style=ocean] .panel,:root[data-style=ocean] .board-panel,:root[data-style=ocean] .stat{border-radius:11px}
:root[data-style=minimal] .panel,:root[data-style=minimal] .board-panel,:root[data-style=minimal] .stat{border-radius:15.4px;box-shadow:none}
:root[data-style=minimal] h1,:root[data-style=minimal] h2,:root[data-style=minimal] h3,:root[data-style=minimal] .brand,:root[data-style=ocean] h1,:root[data-style=ocean] h2,:root[data-style=ocean] h3{font-family:Arial,sans-serif;letter-spacing:normal}
:root[data-style=minimal] .page-heading h1::before{content:none}:root[data-style=minimal] .heading-dot{animation:none}
.brand-mark{display:inline-flex;align-items:center;justify-content:center;width:41.8px;height:41.8px;flex-shrink:0;border:1.1px solid var(--accent);border-radius:8.8px;background:var(--surface);color:var(--accent);font:700 19.8px var(--mono)}.brand>span{min-width:0;overflow-wrap:anywhere}.league-chip>div{min-width:0;overflow-wrap:anywhere}.topbar>span{overflow-wrap:anywhere}
.appearance-panel{padding:26.4px}.appearance-panel label{display:flex;flex-direction:column;gap:8.8px;min-width:0}.appearance-panel p{line-height:1.7}.appearance-panel input,.appearance-panel select{min-width:0;width:100%;box-sizing:border-box}.appearance-style-group{border:1.1px solid var(--line);padding:19.8px;margin:22px 0;min-width:0}.appearance-style-group legend{padding:0 8.8px;font-weight:700;color:var(--accent)}.appearance-styles{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15.4px}.appearance-style-choice{position:relative;padding:15.4px;border:1.1px solid var(--line);border-radius:8.8px;cursor:pointer;background:var(--field)}.appearance-style-choice:has(input:checked){border-color:var(--accent);box-shadow:0 0 0 1.1px var(--accent)}.appearance-style-choice input{width:19.8px;height:19.8px;accent-color:var(--accent)}.appearance-style-choice small{color:var(--muted);line-height:1.6}.appearance-swatch{display:flex;gap:6.6px;align-items:center;height:60.5px;border-radius:6.6px;padding:11px;background:#0d1519}.appearance-swatch i{height:26.4px;width:26.4px;border-radius:50%;background:#5ef5ad}.appearance-swatch i:nth-child(2){background:#14232a}.appearance-swatch i:nth-child(3){background:#74d6ed}.swatch-light{background:#eef4f2}.swatch-light i{background:#087647}.swatch-light i:nth-child(2){background:#b6ccc4}.swatch-light i:nth-child(3){background:#086d86}.swatch-ocean i{background:#74caff}.swatch-ocean i:nth-child(2){background:#355168}.swatch-ocean i:nth-child(3){background:#83e5eb}.swatch-ocean.swatch-light{background:#eef5fc}.swatch-ocean.swatch-light i:first-child{background:#075f9a}.swatch-amethyst i{background:#d3abff}.swatch-amethyst i:nth-child(2){background:#51436a}.swatch-amethyst i:nth-child(3){background:#a7c6ff}.swatch-amethyst.swatch-light{background:#f5f0fb}.swatch-amethyst.swatch-light i:first-child{background:#7040a4}.swatch-minimal i{background:#b5d6ce}.swatch-minimal i:nth-child(2){background:#444b52}.swatch-minimal i:nth-child(3){background:#bbcfe3}.swatch-minimal.swatch-light{background:#f3f4f5}.swatch-minimal.swatch-light i:first-child{background:#315f54}.appearance-preview{border:1.1px solid var(--accent);background:var(--surface);padding:22px;border-radius:8.8px;margin:26.4px 0}.appearance-preview h3{margin:11px 0}.appearance-preview p{overflow-wrap:anywhere}
@media(max-width:1100px){.appearance-styles{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:660px){.appearance-panel{padding:19.8px}.appearance-styles{grid-template-columns:1fr}.appearance-style-group{padding:13.2px}}

.swatch-ocean.swatch-light i:nth-child(2){background:#b1cadf}.swatch-ocean.swatch-light i:nth-child(3){background:#087c8a}.swatch-amethyst.swatch-light i:nth-child(2){background:#cebcdf}.swatch-amethyst.swatch-light i:nth-child(3){background:#365ba2}.swatch-minimal.swatch-light i:nth-child(2){background:#c7cdd2}.swatch-minimal.swatch-light i:nth-child(3){background:#365e83}

:root[data-custom-palette=true] .panel,:root[data-custom-palette=true] .board-panel,:root[data-custom-palette=true] .stat{border-radius:var(--custom-radius,8.8px)}
.appearance-catalog{max-height:363px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:var(--accent) var(--field);padding:3.3px 8.8px 3.3px 3.3px;scrollbar-gutter:stable}
.appearance-catalog-head{display:flex;justify-content:space-between;align-items:center;gap:13.2px;margin-bottom:15.4px}.appearance-catalog-head small{color:var(--muted)}
.appearance-style-card{display:flex;flex-direction:column;min-width:0}.appearance-style-card .appearance-style-choice{flex:1;padding:13.2px;gap:6.6px}.appearance-style-choice strong{overflow-wrap:anywhere}.appearance-style-choice input{position:absolute;top:13.2px;right:13.2px}
.appearance-kind{display:flex;align-items:center;gap:6.6px;color:var(--muted);font-size:11px;padding-right:24.2px}.appearance-kind svg{width:17.6px;height:17.6px;fill:none;stroke:currentColor;stroke-width:1.6}.appearance-swatch{height:44px}.appearance-card-actions{display:flex;gap:6.6px;margin-top:6.6px;flex-wrap:wrap}.appearance-card-actions button{flex:1;padding:7.7px;font-size:11px}
.appearance-color-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15.4px;margin:19.8px 0}#appearance-custom-form label{display:flex;flex-direction:column;gap:8.8px;min-width:0}#appearance-custom-form input{width:100%;box-sizing:border-box}#appearance-custom-form input[type=color]{height:46.2px;padding:3.3px;cursor:pointer}#appearance-custom-form .appearance-grid-toggle{flex-direction:row;align-items:center}#appearance-custom-form input[type=checkbox]{width:19.8px;height:19.8px;accent-color:var(--accent)}
@media(max-width:660px){.appearance-catalog-head{align-items:start;flex-direction:column}.appearance-catalog{max-height:374px}.appearance-styles{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.appearance-style-choice small{font-size:11px}.appearance-color-fields{gap:11px}.appearance-catalog-head button{white-space:normal}}

/* Component colors are shared by the real pages and the appearance editor samples. */
[data-custom-palette=true] .desk-team.left{--text:var(--left-text);--muted:var(--left-muted);--accent:var(--left-accent);--line:var(--left-line);--field:var(--left-field);color:var(--text)}
[data-custom-palette=true] .desk-team.right{--text:var(--right-text);--muted:var(--right-muted);--accent:var(--right-accent);--line:var(--right-line);--field:var(--right-field);color:var(--text)}
[data-custom-palette=true] .desk-team .side-label{color:var(--accent)}
[data-custom-palette=true] .sidebar,[data-custom-palette=true] .appearance-sample-nav{--text:var(--nav-text);--muted:var(--nav-muted);--accent:var(--nav-accent);background:var(--nav-bg);color:var(--text)}
[data-custom-palette=true] .topbar,[data-custom-palette=true] .appearance-sample-topbar{background:var(--topbar-bg)}
[data-custom-palette=true] .schedule-panel{--text:var(--schedule-text);--muted:var(--schedule-muted);--accent:var(--schedule-accent);--line:var(--schedule-line);background:var(--schedule-bg);color:var(--text)}
[data-custom-palette=true] .schedule-panel .board-header{background:var(--schedule-head)}
[data-custom-palette=true] .schedule-panel .board-totals{background:var(--schedule-bar);color:var(--schedule-bar-text);border-color:var(--schedule-line)}
[data-custom-palette=true] .rates-panel{--text:var(--rates-text);--accent:var(--rates-accent);background:var(--rates-bg);color:var(--text)}
[data-custom-palette=true] .rates-panel .board-header{background:var(--rates-head)}
[data-custom-palette=true] .draft-banner{background:var(--draft-bg)}[data-custom-palette=true] .draft-banner strong{color:var(--draft-text)}
[data-custom-palette=true] .board-date{background:var(--date-bg)}[data-custom-palette=true] .board-date strong{color:var(--date-text)}
[data-custom-palette=true] .guard-panel{background:var(--guard-bg)}[data-custom-palette=true] .guard-card{background:var(--guard-card)}[data-custom-palette=true] .guard-code{color:var(--guard-code)}
[data-custom-palette=true] :is(.tournament-grid,.tournament-report-detail) .panel,[data-custom-palette=true] .appearance-sample-stats,[data-custom-palette=true] .stat:not(.accent),[data-custom-palette=true] .panel:has(.standings){--text:var(--stats-text);--accent:var(--stats-accent);background:var(--stats-bg);color:var(--text)}
[data-custom-palette=true] .profile-theme .panel{--text:var(--profile-text);background:var(--profile-bg);color:var(--text)}
[data-custom-palette=true] th{background:var(--table-head)}
[data-custom-palette=true] .desk-team.left :is(.desk-team-header,th){background:var(--left-head)}[data-custom-palette=true] .desk-team.right :is(.desk-team-header,th){background:var(--right-head)}
[data-custom-palette=true] tbody tr:hover{background:var(--table-hover)}
[data-custom-palette=true] .primary{background:var(--button-bg);color:var(--button-text)}[data-custom-palette=true] :is(.outline,.icon-button){background:var(--outline-bg);color:var(--outline-text)}[data-custom-palette=true] :is(.outline,.icon-button):hover{background:var(--surface);color:var(--accent)}
[data-custom-palette=true] :is(.panel,.board-panel,.stat,.desk-team,.draft-banner,.board-date,.guard-panel){border-radius:var(--custom-radius,8.8px)}
.appearance-editor-intro{padding:22px;margin-bottom:22px}.appearance-editor-intro .section-head{margin:0}.appearance-editor-intro p{margin-bottom:0;line-height:1.6}.appearance-editor-layout{display:grid;grid-template-columns:minmax(319px,374px) minmax(0,1fr);gap:22px;align-items:start}.appearance-editor-controls{padding:19.8px;position:sticky;top:17.6px;max-height:calc(100vh - 35.2px);overflow:auto;scrollbar-width:thin;scrollbar-color:var(--line) transparent}.appearance-editor-controls label{display:flex;flex-direction:column;gap:8.8px;min-width:0;font-size:12.1px;line-height:1.5}.appearance-editor-controls input,.appearance-editor-controls select{width:100%;min-width:0;box-sizing:border-box}.appearance-editor-controls>form>label{margin-bottom:17.6px}.appearance-editor-controls p{font-size:12.1px;line-height:1.7}.appearance-editor-controls .button-row{flex-wrap:wrap}.appearance-editor-controls .button-row button{white-space:normal;flex:1;line-height:1.5}
.appearance-color-group{border-top:1.1px solid var(--line);padding:13.2px 0}.appearance-color-group>summary{display:flex;justify-content:space-between;align-items:center;gap:8.8px;cursor:pointer;color:var(--text);font-size:13.2px;font-weight:600;list-style:none}.appearance-color-group>summary::before{content:'+';color:var(--accent)}.appearance-color-group[open]>summary::before{content:'−'}.appearance-color-group>summary span{margin-left:auto;color:var(--muted);font-size:11px}.appearance-color-group .appearance-color-fields{margin:15.4px 0 0;gap:13.2px}.appearance-editor-controls .appearance-grid-toggle{flex-direction:row;align-items:center}.appearance-editor-controls input[type=checkbox]{width:19.8px;height:19.8px;accent-color:var(--accent)}.appearance-color-control{display:flex;align-items:center;gap:6.6px}.appearance-color-control input[type=color]{width:37.4px;height:33px;padding:2.2px;flex-shrink:0;cursor:pointer}.appearance-color-control output{font:11px var(--mono);color:var(--muted)}
.appearance-editor-examples{min-width:0}.appearance-examples-heading{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:11px;margin-bottom:15.4px}.appearance-examples-heading h2{margin:0}.appearance-editor-preview{padding:19.8px;border:1.1px solid var(--line);border-radius:8.8px;background:var(--bg);background-image:linear-gradient(var(--grid) 1.1px,transparent 1.1px),linear-gradient(90deg,var(--grid) 1.1px,transparent 1.1px);background-size:37.4px 37.4px;color:var(--text);min-width:0}.appearance-sample-columns{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:17.6px}.appearance-sample-stack{display:flex;flex-direction:column;gap:17.6px;min-width:0}.appearance-sample-stack>*{margin:0!important;min-width:0}.appearance-sample-stack .panel{padding:17.6px}.appearance-sample-stack .tournament-summary{position:static}.appearance-sample-stack .desk-team-header{flex-wrap:wrap;padding:13.2px;gap:8.8px}.appearance-sample-stack .desk-team-header select{max-width:198px}.appearance-sample-stack .desk-accounts{min-width:429px}.appearance-sample-stack .desk-sets{min-width:352px}.appearance-sample-stack .desk-sets-heading{padding:13.2px;gap:8.8px;flex-wrap:wrap}.appearance-sample-stack .desk-accounts td,.appearance-sample-stack .desk-sets td{padding:9.9px 7.7px}.appearance-sample-stack .desk-accounts input{width:100%;min-width:99px;padding:4.4px}.appearance-sample-stack h2{font-size:17.6px}.appearance-sample-stack .profile-theme .panel{margin-bottom:17.6px}.appearance-sample-stack .profile-theme .panel:last-child{margin-bottom:0}.appearance-sample-stack .profile-theme label{display:grid;gap:8.8px;margin:17.6px 0}.appearance-sample-stack .profile-theme input{width:100%;min-width:0}.appearance-sample-stack .profile-theme .button-row{flex-wrap:wrap}.appearance-sample-stack .board-header{padding:13.2px}.appearance-sample-stack .board-header h3{font-size:13.2px}.appearance-sample-stack .board-date strong{font-size:28.6px}.appearance-sample-stack .board-game-main{font-size:11px;grid-template-columns:minmax(0,1fr) 63.8px minmax(0,1fr)}.appearance-sample-stack .board-game-main button{white-space:normal;overflow-wrap:anywhere}.appearance-sample-stack .board-game-main .board-score{font-size:18.7px}.appearance-sample-nav{display:flex;align-items:center;flex-wrap:wrap;gap:13.2px;padding:15.4px;border:1.1px solid var(--line);font-size:12.1px}.appearance-sample-nav strong{color:var(--accent)}.appearance-sample-nav>span{color:var(--muted)}.appearance-sample-nav .selected{color:var(--accent);background:var(--surface);padding:8.8px;border-left:2.2px solid var(--accent)}.appearance-sample-nav small{color:var(--muted);margin-left:auto}.appearance-sample-topbar{display:flex;justify-content:space-between;gap:11px;flex-wrap:wrap;border:1.1px solid var(--line);padding:13.2px;margin-bottom:17.6px;font-size:12.1px}.appearance-sample-error{color:var(--danger);background:var(--danger-bg)}
@media(max-width:1485px){.appearance-sample-columns{grid-template-columns:minmax(0,1fr)}}
@media(max-width:1045px){.appearance-editor-layout{grid-template-columns:minmax(0,1fr)}.appearance-editor-controls{position:static;max-height:572px}.appearance-sample-columns{grid-template-columns:repeat(2,minmax(0,1fr))}.appearance-editor-intro .section-head{flex-wrap:wrap}}
@media(max-width:715px){.appearance-sample-columns{grid-template-columns:minmax(0,1fr)}.appearance-editor-preview{padding:11px}.appearance-editor-intro{padding:17.6px}.appearance-editor-controls{padding:17.6px}.appearance-editor-controls .appearance-color-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.appearance-sample-stack .profile-theme input{box-sizing:border-box}}

#appearance-custom-form .appearance-color-control input[type=color]{width:37.4px;height:33px;padding:2.2px;flex:0 0 37.4px}.appearance-color-control output{white-space:nowrap}
[data-custom-palette=true] .tournament-previous{color:var(--previous)}

[data-custom-palette=true] :is(input,select,textarea){color:var(--field-text)}
[data-custom-palette=true] .desk-team.left{--field-text:var(--left-field-text)}[data-custom-palette=true] .desk-team.right{--field-text:var(--right-field-text)}
[data-custom-palette=true] .desk-team .position{color:var(--field-text)}[data-custom-palette=true] .desk-team .desk-accounts input{color:var(--text)}[data-custom-palette=true] .desk-team .desk-accounts input:hover,[data-custom-palette=true] .desk-team .desk-accounts input:focus{color:var(--field-text)}
[data-custom-palette=true] .desk-team.left :is(.desk-team-header,th){color:var(--left-head-text)}[data-custom-palette=true] .desk-team.right :is(.desk-team-header,th){color:var(--right-head-text)}
[data-custom-palette=true] .schedule-panel .board-header,[data-custom-palette=true] .schedule-panel .board-header .eyebrow{color:var(--schedule-head-text)}
[data-custom-palette=true] .rates-panel .board-header{color:var(--rates-head-text)}
[data-custom-palette=true] .notice:not(.warning),[data-custom-palette=true] .pill:not(.live):not(.finished):not(.scheduled),[data-custom-palette=true] .avatar{color:var(--surface-text)}

[data-custom-palette=true] .desk-team .desk-selector select,[data-custom-palette=true] :is(.account-fields,.credential-field) input{color:var(--field-text)}

.appearance-visibility-panel{padding:26.4px}.appearance-visibility-panel p{line-height:1.7}.appearance-visibility-panel .section-head{flex-wrap:wrap;align-items:start;gap:17.6px}.appearance-visibility-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;max-height:462px;overflow:auto;scrollbar-width:thin;padding:3.3px}.appearance-visibility-row{display:flex;flex-direction:row;text-align:left;align-items:center;gap:13.2px;padding:14.3px;border:1.1px solid var(--line);border-radius:6.6px;background:var(--field);cursor:pointer;min-width:0}.appearance-visibility-row svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.6;color:var(--muted);flex-shrink:0}.appearance-visibility-row>span:first-of-type{flex:1;min-width:0;overflow-wrap:anywhere}.appearance-visibility-row strong{font-size:13.2px}.appearance-visibility-row small{display:block;font-size:11px;color:var(--muted);margin-top:5.5px}.appearance-visible-state{font-size:11px;color:var(--muted)}.appearance-visibility-row input{width:19.8px;height:19.8px;accent-color:var(--accent);flex-shrink:0}.appearance-visibility-row:has(input:checked){border-color:var(--accent)}@media(max-width:715px){.appearance-visibility-panel{padding:17.6px}.appearance-visibility-list{grid-template-columns:minmax(0,1fr)}.appearance-visibility-row{gap:8.8px}}

/* Compact live preview of the public welcome block. */
.appearance-welcome-preview{position:relative;display:flex;flex-direction:column;gap:39.6px;min-height:0;padding:30.8px;margin:26.4px 0;border:1.1px solid var(--line);border-radius:var(--radius,4.4px);overflow:hidden}.appearance-welcome-preview .auth-title{margin:0}.appearance-welcome-preview .auth-title h1{font-size:clamp(26.4px,3vw,46.2px);line-height:1.25;overflow-wrap:anywhere}.appearance-welcome-preview .auth-title p{margin:19.8px 0}.appearance-welcome-preview footer{position:static;margin-top:39.6px;display:flex;justify-content:space-between;gap:17.6px;flex-wrap:wrap}.appearance-welcome-preview::before{bottom:63.8px;left:30.8px;font-size:9.9px;letter-spacing:2.2px;overflow-wrap:anywhere}.auth-title h1,.auth-story footer{overflow-wrap:anywhere}.auth-pills{flex-wrap:wrap}

.appearance-welcome-preview .auth-title .eyebrow,.appearance-welcome-preview .auth-title p{display:block}.appearance-welcome-preview .auth-pills{display:flex}.appearance-welcome-preview .auth-title{flex:initial;padding:0}.appearance-welcome-preview .auth-title h1 br{display:initial}

.appearance-panel.appearance-sections{display:flex;flex-direction:column;gap:26.4px;padding:0;margin:0}.appearance-section{padding:26.4px;min-width:0}.appearance-section>.section-head:first-child{margin-top:0}.appearance-section>.appearance-welcome-preview:last-child{margin-bottom:0}@media(max-width:660px){.appearance-panel.appearance-sections{gap:19.8px}.appearance-section{padding:19.8px}}



.site-footer,.auth-story .brand-footer{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:17.6px}.site-footer>span:last-child,.brand-footer>span:last-child{text-align:right}.developer-credit{color:var(--accent);font:700 12.1px var(--mono);letter-spacing:0;text-align:center;line-height:1.6;white-space:nowrap}.developer-credit:hover{text-decoration:underline;text-underline-offset:4.4px}.developer-credit:focus-visible{outline:2.2px solid var(--accent);outline-offset:5.5px;border-radius:2.2px}
@media(max-width:1100px){.auth-story .brand-footer{grid-template-columns:1fr;gap:11px}.brand-footer>span:last-child{text-align:left}.brand-footer .developer-credit{text-align:left}}@media(max-width:836px){.site-footer{grid-template-columns:1fr;text-align:center;gap:11px}.site-footer>span:last-child{text-align:center}.auth-story .brand-footer{display:block;margin-top:24.2px}.auth-story .brand-footer>span{display:none}.brand-footer .developer-credit{display:block;text-align:center}.appearance-welcome-preview .brand-footer{display:grid}.appearance-welcome-preview .brand-footer>span{display:block}}

/* A brief glitch at the end of each five-second cycle; layout stays fixed. */
.developer-credit{position:relative;display:inline-block;animation:developer-glitch 5s steps(1,end) infinite}.developer-credit::before,.developer-credit::after{content:'Developed by PIG DATA';position:absolute;inset:0;pointer-events:none;opacity:0;text-align:inherit;animation:developer-glitch-slice 5s steps(1,end) infinite}.developer-credit::before{color:var(--cyan);clip-path:inset(12% 0 54% 0)}.developer-credit::after{color:var(--danger);clip-path:inset(54% 0 12% 0);animation-direction:normal;animation-name:developer-glitch-slice-bottom}
@keyframes developer-glitch{0%,91%,99%,100%{transform:translate(0);text-shadow:none}92%{transform:translate(-1.1px,0);text-shadow:2.2px 0 var(--cyan),-2.2px 0 var(--danger)}94%{transform:translate(1.1px,0);text-shadow:-2.2px 0 var(--cyan),2.2px 0 var(--danger)}96%{transform:translate(0);text-shadow:1.1px 0 var(--cyan),-1.1px 0 var(--danger)}98%{transform:translate(-1.1px,0);text-shadow:none}}
@keyframes developer-glitch-slice{0%,91%,99%,100%{opacity:0;transform:translate(0)}92%{opacity:.9;transform:translate(3.3px,-1.1px)}94%{opacity:.7;transform:translate(-3.3px,1.1px)}96%{opacity:.9;transform:translate(2.2px,0)}98%{opacity:0;transform:translate(0)}}
@media(prefers-reduced-motion:reduce){.developer-credit,.developer-credit::before,.developer-credit::after{animation:none}}

@keyframes developer-glitch-slice-bottom{0%,91%,99%,100%{opacity:0;transform:translate(0)}92%{opacity:.9;transform:translate(-3.3px,1.1px)}94%{opacity:.7;transform:translate(3.3px,-1.1px)}96%{opacity:.9;transform:translate(-2.2px,0)}98%{opacity:0;transform:translate(0)}}

.language-panel{margin:26.4px 0}.language-panel form{display:flex;align-items:flex-end;flex-wrap:wrap;gap:17.6px}.language-panel label{flex:1;min-width:198px;max-width:396px}.language-panel select{width:100%}
.profile-theme>.profile-grid{max-width:none;grid-template-columns:minmax(0,1fr) minmax(0,1.3fr) minmax(0,1fr);align-items:start}.profile-grid>.language-panel{margin:0}.profile-grid>.language-panel form{display:grid}.profile-grid>.language-panel label{max-width:none;min-width:0}.appearance-language-switch{margin-bottom:24.2px;padding:17.6px;border:1.1px solid var(--line);background:var(--surface);display:flex;align-items:center;gap:22px;flex-wrap:wrap}.appearance-language-switch label{min-width:220px}.appearance-language-switch p{margin:0;flex:1;min-width:242px;color:var(--muted);font-size:13.2px}
@media(max-width:1375px){.profile-theme>.profile-grid{grid-template-columns:minmax(0,1fr) minmax(0,1.3fr)}.profile-grid>.language-panel{grid-column:1/-1}.profile-grid>.language-panel form{display:flex}}
@media(max-width:836px){.profile-theme>.profile-grid{grid-template-columns:minmax(0,1fr)}.profile-grid>.language-panel{grid-column:auto}.appearance-language-switch label{width:100%}}
.profile-theme>.profile-grid{grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch}.profile-grid>.panel{display:flex;flex-direction:column;min-width:0}.profile-grid>.profile-card>.primary{margin-top:auto}.profile-grid>#profile-security form{flex:1;align-content:space-between}.profile-preference-details{margin-top:auto;padding-top:26.4px}.profile-preference-note{display:flex;gap:13.2px;border-top:1.1px solid var(--line);padding:19.8px 0}.profile-preference-note>svg{width:24.2px;height:24.2px;flex:none;fill:none;stroke:var(--accent);stroke-width:1.5}.profile-preference-note strong{font-size:13.2px;display:block;margin-bottom:7.7px}.profile-preference-note p{font-size:12.1px;color:var(--muted);margin:0;line-height:1.6}.profile-theme-button{width:100%}
.profile-card>.pill{align-self:flex-start}.profile-account-details{margin:0 0 22px;font-size:12.1px}.profile-account-details>div{display:flex;justify-content:space-between;gap:17.6px;padding:13.2px 0;border-top:1.1px solid var(--line)}.profile-account-details dt{color:var(--muted)}.profile-account-details dd{margin:0;text-align:right}
@media(max-width:1375px){.profile-theme>.profile-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.profile-preference-details{padding-top:19.8px}}
@media(max-width:836px){.profile-theme>.profile-grid{grid-template-columns:minmax(0,1fr)}.profile-grid>#profile-security form{gap:22px}.profile-preference-details{margin-top:0}}

.draft-sound-toggle{display:inline-grid;place-items:center;width:46.2px;height:46.2px;padding:0;flex-shrink:0}.draft-sound-toggle svg{width:23.1px;height:23.1px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}

.management-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17.6px}.management-metrics>div{padding:19.8px;border:1.1px solid var(--line);background:var(--field);border-radius:var(--radius,4.4px)}.management-metrics span{display:block;color:var(--muted);font-size:13.2px;margin-bottom:13.2px}.management-metrics strong{font:700 28.6px var(--mono);color:var(--accent)}.management-summary>.muted{font-size:13.2px;margin-bottom:0}@media(max-width:1210px){.management-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:594px){.management-metrics{grid-template-columns:1fr}.management-summary .section-head{gap:13.2px;flex-wrap:wrap}}

#auth-form .registration-agreement{display:flex;flex-direction:row;align-items:flex-start;gap:11px;cursor:pointer;font-size:13.2px;line-height:1.6;font-weight:400}#auth-form .registration-agreement input{width:19.8px;height:19.8px;flex:0 0 19.8px;margin:1.1px 0 0;padding:0;accent-color:var(--accent)}#auth-form .registration-agreement span{flex:1;min-width:0}
.desk-sets tbody td:first-child{vertical-align:middle}

.account-editor-cards{display:grid;gap:22px}.account-editor-cards form{padding-top:24px;gap:18px}.account-editor-cards .section-head{margin-bottom:18px}.account-editor-cards .section-head p{max-width:820px;margin-bottom:0}.account-editor-toolbar>label{max-width:520px}.account-player-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;align-items:start}.account-player-card{min-width:0;display:grid;gap:18px;margin:0}.account-card-heading{display:flex;align-items:center;gap:14px;border-bottom:1px solid var(--line);padding-bottom:16px}.account-card-heading .position{width:42px;height:42px;font-size:18px}.account-card-heading .eyebrow{font-size:10px;margin-bottom:5px}.account-card-heading h3{margin:0;font-size:18px;overflow-wrap:anywhere}.account-card-group{min-width:0;margin:0;padding:14px;border:1px solid var(--line);border-radius:var(--radius,5px);display:grid;gap:14px;background:var(--field)}.account-card-group legend{color:var(--accent);font-size:12px;font-weight:650;padding:0 7px}.account-card-group .form-grid{gap:12px}.account-access-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.account-editor-cards label{font-size:12px;gap:7px}.account-editor-cards input{padding:11px 12px;font-size:13px}.account-editor-cards .password-field input{padding-right:46px}.account-editor-cards .password-eye{width:34px;height:34px}.account-heroes-group{border:1px solid var(--line);border-radius:var(--radius,5px);min-width:0}.account-heroes-group summary{display:flex;justify-content:space-between;gap:10px;padding:13px 14px;cursor:pointer;font-weight:600;font-size:13px;list-style:none}.account-heroes-group summary::-webkit-details-marker{display:none}.account-heroes-group summary span{color:var(--accent)}.account-heroes-group[open] summary{border-bottom:1px solid var(--line)}.account-heroes-group[open] summary span{transform:rotate(180deg)}.account-heroes-group>div{display:grid;gap:14px;padding:14px}.account-card-footer{display:flex;gap:18px;align-items:center;justify-content:space-between;border-top:1px solid var(--line);padding-top:16px}.account-player-card .account-card-footer{justify-content:flex-end}.account-card-footer p{font-size:12px;margin:0;max-width:700px}.account-card-footer button{flex-shrink:0}.team-identity-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,.55fr);gap:24px;align-items:start}.team-identity-logo{display:grid;gap:12px;padding:16px;border:1px dashed var(--line);border-radius:var(--radius,5px);min-width:0;background:var(--field)}.team-identity-logo #team-logo-preview{margin:0;min-height:72px;display:flex;align-items:center;justify-content:center}.team-identity-logo .team-logo,.team-identity-logo .editor-logo-preview{width:72px;height:72px;object-fit:contain}.team-identity-logo input[type=file]{font-size:11px;padding:8px}.account-editor-cards #team-create-form{padding:0;border:0;gap:22px}.account-create-footer{display:flex;justify-content:space-between;gap:18px;align-items:center}.account-create-footer .muted{font-size:13px}@media(max-width:1250px){.account-player-grid{grid-template-columns:1fr}}@media(max-width:700px){.team-identity-grid{grid-template-columns:1fr}.account-access-groups{grid-template-columns:1fr}.account-editor-cards .form-grid{grid-template-columns:1fr}.account-editor-cards .editor-wide{grid-column:auto}.account-card-footer,.account-create-footer{flex-direction:column;align-items:stretch}.account-card-footer button{width:100%}.account-editor-cards .panel{padding:18px}.account-editor-cards .section-head{gap:14px}.account-editor-toolbar>label{max-width:none}}

.account-save-position{gap:12px;padding:9px 12px 9px 18px}.account-save-position .position{display:grid;place-items:center;width:32px;height:32px;font:500 16px var(--mono);border:1px solid var(--line);background:var(--field);color:var(--accent);border-radius:3.3px;flex-shrink:0}

.stats-quick-help>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.stats-quick-help h2{font-size:18px;margin-bottom:18px}.stats-quick-help h3{font-size:14px;color:var(--accent);margin-bottom:8px}.stats-quick-help p{font-size:13px;color:var(--muted);margin:0}@media(max-width:700px){.stats-quick-help>div{grid-template-columns:1fr;gap:18px}}

.stats-details{margin-top:24px}.stats-details>summary{display:flex;justify-content:space-between;align-items:center;gap:16px;cursor:pointer;list-style:none;font:600 16px var(--mono)}.stats-details>summary::-webkit-details-marker{display:none}.stats-details>summary>span{color:var(--accent);transition:transform .2s}.stats-details[open]>summary>span{transform:rotate(180deg)}.stats-details-content{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:24px;border-top:1px solid var(--line);margin-top:18px;padding-top:18px}.stats-details h3{font-size:14px;color:var(--accent);margin-bottom:8px}.stats-details p{font-size:13px;color:var(--muted);margin:0;line-height:1.7}.stats-account-heroes{display:flex;flex-wrap:wrap;gap:8px;max-height:220px;overflow:auto;margin-top:14px;padding:2px;scrollbar-width:thin;scrollbar-color:var(--accent) var(--field)}.stats-hero-chip{display:inline-flex;align-items:center;min-height:30px;padding:5px 9px;background:var(--field);border:1px solid var(--line);border-radius:var(--radius,4px);font-size:12px}@media(max-width:700px){.stats-details-content{grid-template-columns:1fr;gap:20px}.stats-details>summary{font-size:14px}}

.user-filters{display:grid;grid-template-columns:minmax(180px,1.5fr) minmax(150px,1fr) minmax(170px,1fr) auto;align-items:end;gap:14px;margin:0 0 22px;padding:18px;border:1px solid var(--line);border-radius:var(--radius,4px);background:var(--field)}.user-filters label{min-width:0;font-size:12px}.user-filters .button-row{gap:8px;flex-wrap:wrap}.users-empty{padding:20px 0;text-align:center}@media(max-width:1200px){.user-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.user-filters{grid-template-columns:1fr}.user-filters .button-row>button{flex:1}}

.management-summary{margin-top:24px}.management-summary+#audit-all{margin-top:24px}

.role-confirmation{gap:18px}.role-confirmation>.eyebrow,.role-confirmation>h2,.role-confirmation>p{margin:0}.role-confirmation>p{font-size:15px;line-height:1.8;overflow-wrap:anywhere;color:var(--muted)}.role-confirmation>p strong{color:var(--text)}.role-confirmation .button-row{justify-content:flex-end;flex-wrap:wrap;margin-top:8px}@media(max-width:600px){.role-confirmation .button-row>button{flex:1}}

/* Compact team badges in the daily schedule. */
.board-game-main{grid-template-columns:minmax(0,1fr) 63.8px minmax(0,1fr)}.board-game-main button[data-pair]{display:flex;align-items:center;gap:7px;min-width:0}.board-game-main button[data-pair]:last-child{justify-content:flex-end}.board-game-main button[data-pair] .team-logo{width:24px;height:26px;flex:0 0 24px;font-size:9px}.board-team-name{min-width:0;overflow-wrap:anywhere}

/* Logo menus are portalled outside clipped team cards. */
.desk-selector>.team-menu-control{display:block}
.team-menu-control{display:block;width:100%;min-width:0}.team-menu-control select[hidden]{display:none!important}.team-menu-trigger{display:flex;align-items:center;gap:9px;width:100%;min-width:0;text-align:left;padding:11px 13px;border:1px solid var(--line);border-radius:3.3px;background:var(--field);color:var(--text);font:inherit;font-size:13px;font-weight:600}.team-menu-trigger>span:nth-child(2){min-width:0;overflow-wrap:anywhere}.team-menu-trigger>svg{width:16px;height:16px;flex:0 0 16px;margin-left:auto;fill:none;stroke:currentColor;stroke-width:1.8}.team-menu-trigger:focus-visible,.team-menu-trigger[aria-expanded=true]{border-color:var(--accent);outline:1px solid var(--accent)}.team-menu-control .team-logo,.team-menu-options .team-logo{width:23px;height:25px;flex-shrink:0;font-size:9px}.team-menu-trigger>span:first-child,.team-menu-options button>span:first-child{display:flex;flex-shrink:0}.team-menu-options{position:fixed;z-index:1000;overflow:auto;overscroll-behavior:contain;padding:4px;border:1px solid var(--line);border-radius:4px;background:var(--field);color:var(--text);box-shadow:0 8px 26px #0005}.team-menu-options button{display:flex;align-items:center;gap:10px;width:100%;padding:7px 10px;text-align:left;background:transparent;border:0;color:var(--text);font:inherit;font-size:13px}.team-menu-options button[aria-selected=true],.team-menu-options button:hover,.team-menu-options button:focus{background:var(--surface);color:var(--accent);outline:0}.team-menu-options button>span:last-child{min-width:0;overflow-wrap:anywhere}

/* Compact roster with optional player details. */
.roster-player{border-bottom:1px solid var(--line)}.roster-player>summary{display:grid;grid-template-columns:31px minmax(0,1fr) auto;align-items:center;gap:16px;padding:20px 0;cursor:pointer;list-style:none}.roster-player>summary::-webkit-details-marker{display:none}.roster-player>summary:focus-visible{outline:1px solid var(--accent);outline-offset:3px}.roster-player-main{min-width:0}.roster-player-main strong{display:block;font-size:14px;overflow-wrap:anywhere}.roster-player-main>span{display:block;color:var(--muted);font-size:11px;line-height:1.8;margin-top:4px}.roster-player-toggle{display:flex;align-items:center;gap:8px;padding:8px 10px;border:1px solid var(--line);border-radius:3px;font-size:11px;color:var(--text)}.roster-player-toggle svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.6}.roster-player>summary:hover .roster-player-toggle{border-color:var(--accent);color:var(--accent);background:var(--surface)}.roster-player[open] .roster-player-toggle svg{transform:rotate(180deg)}.roster-player-details{display:grid;grid-template-columns:minmax(100px,150px) minmax(0,1fr);gap:12px 18px;margin:0 0 20px 47px;padding:16px;border:1px solid var(--line);border-radius:4px;background:var(--field);font-size:12px;line-height:1.6}.roster-player-details dt{color:var(--muted)}.roster-player-details dd{margin:0;overflow-wrap:anywhere}@media(max-width:650px){.roster-player>summary{grid-template-columns:28px minmax(0,1fr) auto;gap:10px}.roster-player-toggle{max-width:130px;font-size:10px;padding:7px}.roster-player-details{margin-left:0;grid-template-columns:minmax(85px,110px) minmax(0,1fr);gap:10px;padding:12px}}

.statistics-heading{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:22px}.statistics-heading>.inline-label{justify-self:end}.statistics-overall-link{justify-self:center}@media(max-width:800px){.statistics-heading{grid-template-columns:1fr auto}.statistics-heading>div{grid-column:1/-1}.statistics-heading>.statistics-overall-link{justify-self:start}.statistics-heading>span:empty{display:none}}

/* Keep native select chevrons inset consistently with the team menus. */
:root{--select-chevron:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23e0ede9' stroke-width='1.8'%3E%3Cpath d='m5 8 5 5 5-5'/%3E%3C/svg%3E")}
:root[data-theme=light]{--select-chevron:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23172e2a' stroke-width='1.8'%3E%3Cpath d='m5 8 5 5 5-5'/%3E%3C/svg%3E")}
select:not([multiple]):not([size]){appearance:none;-webkit-appearance:none;background-image:var(--select-chevron);background-repeat:no-repeat;background-position:right 13px center;background-size:16px 16px;padding-right:42px}
@media(forced-colors:active){select:not([multiple]):not([size]){appearance:auto;background-image:none}}

.h2h-no-history{display:flex;align-items:center;gap:16px;padding:18px 20px;border:1px solid var(--line);border-radius:4px;background:var(--field);color:var(--text)}.h2h-no-history>svg{width:32px;height:32px;flex:0 0 32px;fill:none;stroke:var(--muted);stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.h2h-no-history strong{display:block;font-size:14px;line-height:1.5}.h2h-no-history p{margin:5px 0 0;color:var(--muted);font-size:12px;line-height:1.6}@media(max-width:600px){.h2h-no-history{align-items:flex-start;gap:12px;padding:16px}.h2h-no-history strong{font-size:13px}}

.tournament-proxy-panel{margin-top:24px}.tournament-proxy-panel form{border:0;padding:0;display:grid;gap:16px}.tournament-proxy-panel textarea{font-family:var(--mono);font-size:12px;line-height:1.65;min-height:240px;resize:vertical}.tournament-proxy-panel p{margin:0;line-height:1.6}.proxy-enabled{display:flex;flex-direction:row;align-items:center;gap:10px}.proxy-enabled input{width:18px;height:18px;accent-color:var(--accent)}.proxy-form-actions{display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-end}@media(max-width:660px){.proxy-form-actions{flex-direction:column}.proxy-form-actions button{width:100%}}

.security-search{display:flex;align-items:end;gap:12px;border:0;padding:16px 0}.security-search label{flex:1;max-width:520px}.security-user-row{border-bottom:1px solid var(--line)}.security-user-row>summary{display:grid;grid-template-columns:38px minmax(120px,1fr) minmax(100px,180px) minmax(100px,160px) 16px;align-items:center;gap:16px;padding:16px 0;list-style:none;cursor:pointer}.security-user-row>summary::-webkit-details-marker{display:none}.security-user-row>summary svg{width:16px;height:16px;fill:none;stroke:var(--muted);stroke-width:1.6}.security-user-row[open]>summary svg{transform:rotate(180deg)}.security-user-row>summary strong{overflow-wrap:anywhere}.security-user-preview{padding:18px;margin-bottom:18px;border:1px solid var(--line);border-radius:4px;background:var(--field)}.security-user-preview p{margin:6px 0;font-size:13px}.security-fields{display:grid;grid-template-columns:minmax(120px,210px) minmax(0,1fr);gap:12px 20px;font-size:13px;line-height:1.6}.security-fields dt{color:var(--muted)}.security-fields dd{margin:0;overflow-wrap:anywhere;white-space:pre-wrap}.security-location{padding-top:12px;font-size:13px}.security-location small{display:block;color:var(--muted);margin-top:5px}.security-session,.security-events>details{padding:16px 0;border-bottom:1px solid var(--line)}.security-session>summary,.security-events summary{display:flex;flex-wrap:wrap;gap:16px;cursor:pointer;font-size:13px}.security-events pre{overflow:auto;max-height:260px;white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;padding:12px;background:var(--field)}@media(max-width:700px){.security-user-row>summary{grid-template-columns:32px minmax(0,1fr) 16px;gap:8px 12px}.security-user-row>summary>span:nth-of-type(2){grid-column:2;font-size:11px}.security-user-row>summary>span:nth-of-type(3){grid-column:2;font-size:11px}.security-user-row>summary svg{grid-column:3;grid-row:1/4}.security-fields{grid-template-columns:1fr;gap:5px}.security-fields dd{margin-bottom:9px}.security-user-preview{padding:14px}.security-user-preview .section-head{align-items:start;gap:12px;flex-direction:column}.security-search{align-items:stretch;flex-direction:column}}

.standings-team-links{display:flex;flex-wrap:wrap;gap:6px 14px;margin:7px 0 0 45px;font-size:11px;line-height:1.5}.standings-team-links a{color:var(--accent);white-space:nowrap}.standings-team-links a:hover{text-decoration:underline}.standings-team-links a:focus-visible{outline:1px solid var(--accent);outline-offset:3px}

.statistics-heading>.statistics-admin-links{grid-column:auto;justify-self:center;display:flex;gap:10px;flex-wrap:wrap;justify-content:center}.period-statistics-form{display:grid;grid-template-columns:1fr 1fr auto;gap:18px;align-items:end;border:0;padding:0;margin:0 0 18px}.period-statistics-form label{min-width:0}.period-result-heading{margin-top:26px}.period-statistics-form~p{font-size:12px;line-height:1.65}@media(max-width:800px){.statistics-heading>.statistics-admin-links{grid-column:1/-1;justify-self:stretch;justify-content:flex-start}.period-statistics-form{grid-template-columns:1fr 1fr}.period-statistics-form button{grid-column:1/-1}}@media(max-width:480px){.period-statistics-form{grid-template-columns:1fr}}

.tournament-skipped{margin-bottom:20px;line-height:1.6;overflow-wrap:anywhere}.tournament-skipped strong{display:block}.tournament-skipped p{margin:6px 0}.tournament-skipped a{color:inherit;text-decoration:underline}
/* Holiday showcases: leave the heading intact on phones and tablets. */
.holiday-heading-slot{display:none;min-width:0;pointer-events:none}
.halloween-decoration{display:block;width:min(300px,100%);height:100px;object-fit:contain}
.holiday-management-link{display:flex;justify-content:flex-end;margin-bottom:22px}
.holiday-card{display:grid;grid-template-columns:minmax(220px,360px) minmax(0,1fr);gap:30px;align-items:center;max-width:1000px}
.holiday-preview{display:flex;justify-content:center;align-items:center;min-height:170px;background:radial-gradient(ellipse,#c86c1518,transparent 75%);border:1px solid var(--line);border-radius:6px;overflow:hidden}
.holiday-preview img{display:block;width:100%;height:auto}
.holiday-card-info .section-head{margin-bottom:12px}
.holiday-card-info h2{margin:0}
.holiday-scene{display:flex;align-items:center;justify-content:center;gap:5px;min-width:0;max-width:100%}
.holiday-scene .halloween-decoration{width:240px;min-width:100px;flex-shrink:1}
.holiday-greeting{position:relative;flex:0 1 220px;min-width:85px;max-width:220px;padding:12px 14px;border:1px solid #f4a33c66;border-radius:9px;background:#f4a33c0b;color:var(--text);font-size:13px;line-height:1.5;white-space:pre-line;overflow-wrap:anywhere}
.holiday-greeting::before{content:'';position:absolute;left:-5px;top:calc(50% - 4px);width:8px;height:8px;border-left:1px solid #f4a33c66;border-bottom:1px solid #f4a33c66;background:var(--bg);transform:rotate(45deg)}
.holiday-text-form{grid-column:1/-1;border-top:1px solid var(--line);padding-top:24px;gap:16px}
.holiday-text-form h3{margin-bottom:8px}.holiday-text-form p{margin-bottom:0}
.holiday-text-form textarea{width:100%;min-height:75px;resize:vertical;padding:12px;background:var(--bg);color:var(--text);border:1px solid var(--line);border-radius:4px;font:inherit}
.holiday-text-form textarea:focus{outline:1px solid var(--accent)}
.holiday-catalog{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;align-items:start}
.holiday-catalog .holiday-card{display:flex;flex-direction:column;align-items:stretch;gap:20px;max-width:none;margin:0;min-width:0}
.holiday-catalog .holiday-preview{min-height:150px}.holiday-catalog .holiday-preview img{max-width:360px;height:130px}
.holiday-catalog .holiday-card-info .section-head{align-items:flex-start;gap:14px}.holiday-catalog h2{font-size:20px;line-height:1.4}
.holiday-catalog .pill{white-space:nowrap;flex-shrink:0}
.holiday-text-editor{border-top:1px solid var(--line);padding-top:16px}.holiday-text-editor summary{cursor:pointer;color:var(--accent);font-weight:600}
.holiday-text-editor .holiday-text-form{border:0;padding-top:20px}
.holiday-date-note{margin-top:16px;padding:12px 14px;border:1px solid var(--line);border-left:3px solid var(--accent);border-radius:4px;background:var(--bg);font-size:13px;line-height:1.6}
.holiday-date-note small{display:block;color:var(--muted);font-size:11px;line-height:1.6}
.holiday-date-actions{display:flex;flex-wrap:wrap;gap:4px 18px;margin:8px 0}.holiday-date-actions>span{display:flex;flex-wrap:wrap;gap:5px}
.holiday-date-actions b{color:var(--accent);font-weight:600}
.holiday-card-toggle{display:flex;align-items:flex-start;flex-wrap:wrap;gap:16px;margin-top:14px}
.holiday-card-toggle>button{flex:0 0 auto}.holiday-card-toggle .holiday-date-note{margin-top:0;flex:1 1 300px}
.personal-design-intro,.personal-design-share,#personal-design-form{margin-bottom:24px}
.personal-design-share{display:grid;gap:16px}.personal-design-share h2,.personal-design-share p{margin:0}
.personal-design-share>button{justify-self:start}.personal-design-share input[readonly]{font-family:monospace;font-size:13px}
#personal-design-import{border-top:1px solid var(--line);padding-top:20px;margin-top:8px;max-width:720px}
#personal-design-form>label{max-width:320px}#personal-design-form .appearance-style-group{min-width:0}
@media(max-width:1100px){.holiday-catalog{grid-template-columns:1fr}}
@media(min-width:1100px) and (hover:hover) and (pointer:fine){.holiday-heading-slot{display:flex;flex:1;align-items:center;justify-content:center;margin:0 24px}.page-heading>.today{flex-shrink:0}}
@media(max-width:700px){.holiday-card{grid-template-columns:1fr;gap:20px}.holiday-management-link{justify-content:flex-start}.holiday-preview{min-height:140px}}
