/* Applied only inside a saved club theme; the platform's default palette is untouched. */
html.club-themed{color:var(--club-ink);background:var(--club-faint);--line:var(--club-border);--muted:#636870}
.club-themed #cloud-root{background:var(--club-faint)}
.club-themed .sidebar,.club-themed .live-header,.club-themed .account-logo{background:var(--club-primary);color:var(--club-on-primary)}
.club-themed .sidebar .brand,.club-themed .live-header a{color:var(--club-on-primary)}
.club-themed .sidebar .brand-logo,.club-themed .live-header .brand-logo,.club-themed .account-logo .brand-logo{filter:var(--club-logo-filter)}
.club-themed .sidebar .brand-sub,.club-themed .sidebar .nav-label,.club-themed .sidebar nav button,.club-themed .sidebar-bottom,.club-themed .sidebar-bottom p{color:var(--club-muted-primary)}
.club-themed .sidebar nav button:hover,.club-themed .side-button,.club-themed .side-button:hover{background:var(--club-hover);color:var(--club-on-primary);border-color:var(--club-muted-primary)}
.club-themed .sidebar nav button.active,.club-themed .status-dot,.club-themed .badge:not(.foundation){background:var(--club-secondary);color:var(--club-on-secondary)}
.club-themed button.primary,.club-themed .button.primary,.club-themed .primary,.club-themed .tabs button[aria-pressed=true]{background:var(--club-primary);color:var(--club-on-primary);border-color:var(--club-primary)}
.club-themed button.primary:hover,.club-themed .button.primary:hover{background:var(--club-hover)}
.club-themed button:not(.primary):not(.danger):not(.side-button):not(nav button):not(.tabs button[aria-pressed=true]){color:var(--club-ink)}
.club-themed input,.club-themed select,.club-themed dialog,.club-themed .breadcrumb b,.club-themed .account-brand{color:var(--club-ink)}
.club-themed button:focus-visible,.club-themed a:focus-visible,.club-themed input:focus,.club-themed select:focus{outline-color:var(--club-ink)}
.club-themed header:not(.live-header),.club-themed .stat,.club-themed .duties,.club-themed .team-draft{background:var(--club-faint)}
.club-themed .segmented,.club-themed .ring-number,.club-themed .daily-officials,.club-themed th,.club-themed .block-standings thead .block-team,.club-themed .race-sheet thead th,.club-themed #app .notice:not(.warning){background:var(--club-tint);color:var(--club-ink);border-color:var(--club-border)}
.club-themed .stat .label,.club-themed .stat small,.club-themed .stat .stat-icon,.club-themed .eyebrow,.club-themed .daily-officials span,.club-themed .duty-row .duty-label,.club-themed .team-line .club,.club-themed .team-line .seed,.club-themed .team-line .number,.club-themed .block-label,.club-themed .block-label strong,.club-themed .legend,.club-themed .help,.club-themed td small,.club-themed footer,.club-themed .event-meta,.club-themed .muted,.club-themed dialog p{color:var(--club-ink)}
.club-themed .segmented button.selected{background:white;color:var(--club-ink)}
.club-themed .block-standings .block-end{border-right-color:var(--club-primary)}
.club-themed .block-standings .block-total,.club-themed .block-standings .block-rank,.club-themed .block-standings .block-result,.club-themed td.total{background:var(--club-faint)}
.club-themed .block-standings .medal-gold{background:#f4d56a}.club-themed .block-standings .medal-silver{background:#d9dfe5}.club-themed .block-standings .medal-bronze{background:#d9a477}
.club-themed .race-card.followed{border-color:var(--club-primary);background:var(--club-faint)}
.club-themed .now-card{border-left-color:var(--club-secondary)}
.club-themed a:not(.brand):not(.live-header a):not(.button){color:var(--club-ink)}
.club-themed #toast{background:var(--club-primary);color:var(--club-on-primary)}
.colour-fields{display:grid;grid-template-columns:1fr 1fr;gap:20px}.colour-fields input[type=color]{width:100%;height:54px;padding:5px;cursor:pointer}.colour-fields small{font-weight:400;line-height:1.4}
.account-card #club-colour-form{max-width:100%}.colour-preview{display:grid;grid-template-columns:150px 1fr;border:1px solid #d8dce0;border-radius:8px;overflow:hidden;min-width:0}.colour-preview-side{display:flex;flex-direction:column;gap:14px;padding:18px 12px;background:var(--club-primary);color:var(--club-on-primary)}.colour-preview-side img{filter:var(--club-logo-filter);align-self:center;height:auto}.colour-preview-side span{font-size:14px;padding:9px}.colour-preview-selected{background:var(--club-secondary);color:var(--club-on-secondary);border-radius:5px}.colour-preview-main{background:white;color:var(--club-ink);padding:20px;min-width:0}.colour-preview-main h2{font-size:18px}.colour-preview-tint{background:var(--club-tint);padding:14px;margin:18px 0;border-radius:5px}.colour-preview-main button{pointer-events:none}.colour-preview-main p{font-size:14px}
@media(max-width:500px){.colour-preview{grid-template-columns:112px 1fr}.colour-preview-main{padding:12px}.colour-preview-side{padding:12px 6px}.colour-preview-main button{padding:8px;font-size:13px}.colour-fields{gap:12px}}

.colour-preview-side img+strong{margin-top:-10px;line-height:1.1}
