/* A shared transparent brand master; grading changes colour, never geometry. */
:root{--brand-grade:saturate(.82) contrast(.96)}
html[data-visual-style=classy]{--brand-grade:saturate(.48) sepia(.12) contrast(.94)}
html[data-visual-style=noir]{--brand-grade:saturate(.24) sepia(.2) contrast(.96)}
html[data-appearance=dark]{--brand-grade:saturate(.72) brightness(1.07)}
html[data-visual-style=classy][data-appearance=dark]{--brand-grade:saturate(.45) sepia(.1) brightness(1.1)}
html[data-visual-style=noir][data-appearance=dark]{--brand-grade:saturate(.2) sepia(.18) brightness(1.12)}
html .topbar .brand,html .club-header .brand{flex:0 0 auto;gap:6px;letter-spacing:normal}
html .topbar .brand-logo,html .club-header .brand-logo{display:block;width:88px;height:88px;object-fit:contain;flex:none;filter:var(--brand-grade);background:none;border:0;border-radius:0}
html .club-header .brand-logo{width:64px;height:64px}
html .brand-icon{display:block;width:36px;height:36px;object-fit:contain;filter:var(--brand-grade);background:none;border:0;border-radius:0;flex:none}
html .compact-game-toolbar .compact-club-link{display:flex;align-items:center;justify-content:center;flex:0 0 40px;width:40px;padding:0}
html .wordmark{display:flex;align-items:center;gap:6px;min-width:0}
html .wordmark .brand-icon{width:32px;height:32px}
@media(max-width:760px){
 html .topbar .brand-logo,html .club-header .brand-logo{width:48px;height:48px}
 html .club-header .brand>.club-brand-suffix{display:none}
 html .topbar .top-right,html .club-header .header-tools{min-width:0}
}
@media(max-width:360px){
 html .topbar .brand-logo,html .club-header .brand-logo{width:44px;height:44px}
 html .topbar .brand,html .club-header .brand{gap:0}
}
