/* RLF Premium LUX. Shared across the four services; user RGB overrides stay authoritative. */
@font-face{font-family:'Golos Text';src:url('/assets/lux-fonts/golos-text.ttf') format('truetype');font-weight:400 900;font-display:swap}
html:root[data-theme=light]{--bg:#f4f1eb;--panel:#fffdfa;--panel2:#eae5dc;--text:#252722;--muted:#63645d;--accent:#765b2f;--accent2:#765b2f;--line:#d6d0c5;--danger:#ad283d;--warning:#755900;--success:#186640;--field:#dbe5d7;--stripe:#cfddca;--field-line:#65805f;--lux-on-accent:#fffdfa;--lux-soft:#f9f6f0;--lux-shadow:0 12px 36px #2427221a}
html:root[data-theme=dark]{--bg:#111513;--panel:#1a201d;--panel2:#242c27;--text:#f5f1e8;--muted:#b5b7ac;--accent:#d1b276;--accent2:#d1b276;--line:#3e473e;--danger:#ff99a5;--warning:#ead392;--success:#78d9a5;--field:#203b2c;--stripe:#294833;--field-line:#7eaa88;--lux-on-accent:#1a201d;--lux-soft:#161c18;--lux-shadow:0 12px 36px #0005}
html[data-theme]{--radius:12px;--shadow:none;--brand-gradient:var(--accent);--arena-button:var(--accent);--arena-hero:var(--panel2);--arena-glass:var(--panel);--arena-glow:transparent;--arena-stripe:transparent;--lux-duration:160ms;scroll-padding-top:32px}
html[data-theme] body{background-image:none;color:var(--text);font-family:'Golos Text',sans-serif;font-size:16px;line-height:1.6;-webkit-font-smoothing:antialiased}
html[data-theme] body::before{display:none}
html[data-theme] :is(h1,h2,h3,h4,.brand-name,.rlf-brand b,.score,.match-score){font-family:'RLF Arena','Golos Text',sans-serif;letter-spacing:-.015em;text-shadow:none}
html[data-theme] :is(h1,h2,h3){text-wrap:balance}
html[data-theme] h1{line-height:1.1}html[data-theme] :is(p,li){text-wrap:pretty}
html[data-theme] :is(button,input,select,textarea,.action,.btn,.button){font-family:'Golos Text',sans-serif;letter-spacing:normal}
html[data-theme] :is(a,button,input,select,textarea,summary):focus-visible{outline:3px solid var(--accent);outline-offset:3px}
html[data-theme] a{text-underline-offset:4px;text-decoration-thickness:1px}
html[data-theme] ::selection{background:var(--accent);color:var(--lux-on-accent)}
html[data-theme] :is(.panel,.panel-card,.card,.stat-card,.metric-card,.result-card,.news-card,.team-card,.standings-card,.admin-card,.home-box,.form-card,.profile-hero,.match-hero,.a047-card,.account-card,.rlf-id-card,.weather-card,.birthday-card){background:var(--panel);border-color:var(--line);border-radius:12px;box-shadow:none;color:var(--text)}
html[data-theme] :is(.panel,.card,.stat-card)::before{background:none;box-shadow:none}
html[data-theme] :is(.panel,.card,.stat-card,.result-card,.news-card,.team-card)::after{box-shadow:none}
html[data-theme] :is(.eyebrow,.kicker,.tor-eyebrow,.section-kicker,.home-kicker){display:none}
html[data-theme] :is(.muted,.note,.hint,.subtitle,.help,.section-copy,.form-hint,.stat-label,.meta-row,.competition,.news-copy p,.news-copy time,.brand-caption){color:var(--muted)}
/* Functional controls use one material; semantic destructive and match controls retain theirs. */
html[data-theme] :is(button,.btn,.button,a.action,input[type=submit]):not(.squad-circle):not([data-card]){min-height:44px;border-radius:10px;text-shadow:none;box-shadow:none;transition:background-color var(--lux-duration),border-color var(--lux-duration),color var(--lux-duration)}
html[data-theme] :is(.btn,.button,.action,button){background-image:none}
html[data-theme] :is(.btn.primary,.btn-primary,.button.primary,.button.primary-button,.primary-button,.action.primary,.rlf-cookie-primary){background:var(--accent);color:var(--lux-on-accent);border-color:var(--accent)}
html[data-theme] :is(.btn.secondary,.button.secondary,.secondary-button,.btn.ghost,.button.ghost){background:var(--panel);color:var(--text);border:1px solid var(--line)}
html[data-theme] :is(button,.btn,.button,.action):disabled{opacity:.55;cursor:not-allowed;box-shadow:none}
html[data-theme] :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]),select,textarea){background:var(--lux-soft);color:var(--text);border:1px solid var(--line);border-radius:10px;min-height:44px;line-height:1.4;box-shadow:none}
html[data-theme] :is(input,textarea)::placeholder{color:var(--muted);opacity:1}
html[data-theme] :is(input,select,textarea)[aria-invalid=true]{border-color:var(--danger)}
html[data-theme] :is(input[type=checkbox],input[type=radio]){accent-color:var(--accent)}
html[data-theme] :is(input[type=checkbox],input[type=radio]):focus-visible{outline-offset:5px}
html[data-theme] label{color:var(--text)}
html[data-theme] :is(fieldset,.form-section,.form-details,.editor-section){border-color:var(--line)}
html[data-theme] :is(summary,th){color:var(--text)}
html[data-theme] :is(.table-wrap,.table-scroll,.rlf-table-scroll){border-color:var(--line);border-radius:10px}
html[data-theme] table{font-variant-numeric:tabular-nums}
html[data-theme] :is(th,td){border-color:var(--line)}
html[data-theme] thead th{background:var(--panel2);color:var(--muted);font-weight:700}
html[data-theme] :is(.standings-card,.table-wrap) tbody tr:first-child{background:color-mix(in srgb,var(--accent) 8%,var(--panel))}
html[data-theme] tbody tr:hover{background:color-mix(in srgb,var(--accent) 6%,var(--panel))}
html[data-theme] :is(.score,.score-num,.match-score,.scoreline,.stat-value){font-variant-numeric:tabular-nums}
/* Header, public dropdowns and administrative navigation share the same vocabulary. */
html[data-theme] body :is(.rlf-site-header,.topbar,.rlf-header,.site-header,.rlf-theme-toolbar,.site-footer){background:var(--panel);border-color:var(--line);box-shadow:none;backdrop-filter:none}
html[data-theme] .rlf-site-header .rlf-site-bar{padding-block:18px}
html[data-theme] .rlf-site-header .rlf-site-brand{gap:14px}
html[data-theme] .rlf-site-header .rlf-site-brand strong{font-family:'RLF Arena','Golos Text',sans-serif;font-size:17px;line-height:1.25;letter-spacing:.01em}
html[data-theme] .rlf-site-header :is(a.rlf-site-action,button.rlf-site-action){background:transparent;border:1px solid var(--line);color:var(--text);border-radius:10px;box-shadow:none;font-weight:600}
html[data-theme] .rlf-site-header a.rlf-site-register{background:var(--accent);color:var(--lux-on-accent);border-color:var(--accent)}
html[data-theme] .rlf-site-header :is(.rlf-site-action,.rlf-site-nav a,.rlf-site-nav summary):hover{background:var(--panel2);color:var(--text)}
html[data-theme] .rlf-site-header .rlf-site-nav{gap:8px 32px}
html[data-theme] .rlf-site-header :is(.rlf-site-nav>a,.rlf-site-nav summary){font-weight:600;border-bottom-width:1px}
html[data-theme] .rlf-site-header .rlf-site-submenu{border:1px solid var(--line);background:var(--panel);border-radius:12px;box-shadow:var(--lux-shadow);padding:8px;gap:2px}
html[data-theme] .rlf-site-header .rlf-site-submenu a{gap:12px}
html[data-theme] :is(.sidebar,.rlf-admin-sidebar){background:var(--panel);border:1px solid var(--line);border-radius:12px;box-shadow:none}
html[data-theme] :is(.side-link,.rlf-admin-sidebar a){color:var(--muted);background:transparent;border:1px solid transparent;border-radius:8px;box-shadow:none;gap:12px}
html[data-theme] :is(.side-link.active,.rlf-admin-sidebar a.active,.rlf-admin-sidebar a[aria-current=page]){background:var(--panel2);color:var(--text);border-color:var(--line);box-shadow:none}
html[data-theme] :is(.side-link,.rlf-admin-sidebar a):hover{color:var(--text);background:var(--panel2)}
.rlf-lux-icon{display:inline-block;width:22px;height:22px;flex:0 0 22px;vertical-align:middle;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}
[data-lux-icon]{gap:9px}
html[data-theme] :is(.side-link,.rlf-admin-sidebar a) .rlf-lux-icon{color:var(--accent)}
html[data-theme] .rlf-lux-old-icon{display:none!important}
html[data-theme] :is(.rlf-mobile-dock,.mobile-dock,.bottom-nav,.mobile-bottom-nav,#matches-mobile-nav){background:var(--panel);border-color:var(--line);box-shadow:none;backdrop-filter:none}
html[data-theme] :is(.rlf-mobile-dock,.mobile-dock,.bottom-nav,.mobile-bottom-nav,#matches-mobile-nav) a{color:var(--muted);font-size:12px}
html[data-theme] :is(.rlf-mobile-dock,.mobile-dock,.bottom-nav,.mobile-bottom-nav,#matches-mobile-nav) a.active{color:var(--accent)}
/* Existing banners keep meaningful Donetsk/pitch geometry and custom uploaded artwork. */
html[data-theme] body [data-site-banner]:not([data-site-banner=existing]){background:var(--panel);border:1px solid var(--line);border-radius:12px;min-height:160px;padding-block:30px;box-shadow:none}
html[data-theme] body [data-site-banner]:not([data-site-banner=existing])::after{background-color:var(--accent);opacity:.55}
html[data-theme] body [data-site-banner]:not([data-site-banner=existing]) h1{font-size:clamp(32px,3.6vw,48px);letter-spacing:-.02em}
html[data-theme] body [data-site-banner=compact]{min-height:120px}
html[data-theme] .home-page .home-hero{background:var(--panel);border-bottom:1px solid var(--line)}
html[data-theme] .home-page .home-hero-inner{grid-template-columns:minmax(0,1fr) minmax(0,1fr);padding-block:clamp(40px,5.5vw,76px);gap:64px}
html[data-theme] .home-page .home-hero h1{font-size:clamp(72px,7.5vw,104px);letter-spacing:-.03em;margin-bottom:16px;color:var(--text)}
html[data-theme] .home-page .home-hero h2{max-width:22ch;font-size:clamp(26px,2.7vw,36px);font-weight:700;line-height:1.16}
html[data-theme] .home-page .home-hero p{max-width:36ch;font-size:16px;line-height:1.7}
html[data-theme] .home-page .home-hero .button{background:var(--accent)!important;color:var(--lux-on-accent)!important;border-color:var(--accent);border-radius:10px;font-size:15px;min-height:48px}
html[data-theme] .home-page .home-banner-art{color:var(--accent)}
html[data-theme] .home-page .home-banner-horizon{opacity:.7}
html[data-theme] .home-page .home-banner-field{opacity:.85}
html[data-theme] .home-page .section{margin-block:40px}
html[data-theme] .home-page .section-heading{border-bottom:1px solid var(--line);padding-bottom:16px;margin-bottom:20px;align-items:center}
html[data-theme] .home-page .section-heading h2{font-size:clamp(26px,2.5vw,32px);letter-spacing:-.015em}
html[data-theme] .home-page :is(.home-box,.standings-card){padding:24px;border:1px solid var(--line);border-radius:12px;background:var(--panel)}
html[data-theme] .home-page .result-card{border:1px solid var(--line);border-radius:10px;background:var(--lux-soft);box-shadow:none}
html[data-theme] .home-page .home-scoreline strong{font-size:14px;line-height:1.35;color:var(--text)}
html[data-theme] .home-page .home-scoreline>b{color:var(--text);font-family:'RLF Arena',sans-serif}
html[data-theme] .home-page .tournament-tile{background:var(--panel);border:1px solid var(--line);border-radius:12px;box-shadow:none;padding:20px}
html[data-theme] .home-page .tournament-tile::before{display:none}
html[data-theme] .home-page .tournament-tile strong{color:var(--text)}
html[data-theme] .home-page .team-card{background:transparent;border:0;border-bottom:1px solid var(--line);border-radius:0;padding:18px 4px;gap:14px}
html[data-theme] .home-page .team-card strong{font-size:16px;color:var(--text)}
html[data-theme] .home-page .team-card small{font-size:13px;color:var(--muted)}
html[data-theme] .home-page .team-logo{background:var(--panel);border-radius:8px}
html[data-theme] .home-page .news-card{background:var(--panel);border:1px solid var(--line);border-radius:12px;box-shadow:none}
html[data-theme] .home-page .news-copy h3{font-size:23px;line-height:1.25}
html[data-theme] .home-page .news-copy p{font-size:15px}
html[data-theme] .home-page .news-copy time{font-size:13px}
html[data-theme] .home-page .league-banner{background:var(--panel2);border-color:var(--line)}
html[data-theme] .home-page .league-banner>.shell{padding-block:48px}
html[data-theme] .home-page .site-footer{padding-block:32px}
/* Matches, filters and working screens: clear hierarchy without changing status semantics. */
html[data-theme] :is(.match-tabs,.tabs,.filter-tabs,.profile-tabs){border-color:var(--line);gap:8px}
html[data-theme] :is(.match-tabs,.tabs,.filter-tabs,.profile-tabs) :is(a,button){min-height:44px;border-radius:8px;box-shadow:none;text-shadow:none}
html[data-theme] :is(.match-tabs,.tabs,.filter-tabs,.profile-tabs) :is(.active,[aria-selected=true]){background:var(--panel2);color:var(--text);border-color:var(--accent)}
html[data-theme] :is(.match-hero,.profile-hero){background-image:none;border-color:var(--line);box-shadow:none}
html[data-theme] :is(.match-teams,.scoreline) a{color:var(--text)}
html[data-theme] .admin-ui{font-size:15px}
html[data-theme] .admin-ui :is(.panel,.form-card,.admin-card){padding:22px}
html[data-theme] .admin-ui .rlf-header :is(button,a.action){font-family:'Golos Text',sans-serif}
html[data-theme] .admin-ui :is(.side-link,.rlf-admin-sidebar a){font-size:14px;line-height:1.4;min-height:46px}
html[data-theme] .admin-ui :is(.stat-card,.metric-card){border:0;border-bottom:1px solid var(--line);border-radius:0;background:transparent}
html[data-theme] :is(.protocol-savebar,.sticky-actions){background:var(--panel);border-color:var(--line);box-shadow:none;backdrop-filter:none}
html[data-theme] :is(dialog,.modal-content,.modal-card,.rlf-cookie-dialog){background:var(--panel);color:var(--text);border:1px solid var(--line);border-radius:12px;box-shadow:var(--lux-shadow)}
html[data-theme] dialog::backdrop{background:#111513aa;backdrop-filter:none}
html[data-theme] .rlf-cookie-banner{background:var(--panel);border:1px solid var(--line);border-radius:12px;box-shadow:var(--lux-shadow);backdrop-filter:none;font-family:'Golos Text',sans-serif}
html[data-theme] .rlf-cookie-actions button{font-family:'Golos Text',sans-serif;font-weight:600}
html[data-theme] :is(.empty,.loading){background:var(--panel2);color:var(--muted);border:1px solid var(--line);border-radius:12px;padding:24px}
html[data-theme] :is(.error,[role=alert]){color:var(--danger)}
@media(max-width:760px){
 html[data-theme] .rlf-site-header .rlf-site-bar{padding-block:14px;gap:12px}
 html[data-theme] .rlf-site-header .rlf-site-brand strong{font-size:16px}
 html[data-theme] .rlf-site-header .rlf-site-nav{gap:0}
 html[data-theme] .rlf-site-header .rlf-site-nav summary{justify-content:flex-start;gap:12px}
 html[data-theme] .rlf-site-header .rlf-site-nav summary::after{margin-left:auto}
 html[data-theme] .rlf-site-header .rlf-site-submenu{border:0;box-shadow:none;padding:0 0 12px 12px;background:transparent}
 html[data-theme] .rlf-site-header :is(.rlf-site-action,.rlf-site-nav a){font-size:14px}
 html[data-theme] .rlf-site-header :is([data-theme-toggle],[data-site-menu])>.rlf-lux-icon{width:18px;height:18px;flex-basis:18px}
 html[data-theme] .home-page .home-hero-inner{grid-template-columns:1fr;gap:28px;padding-block:32px}
 html[data-theme] .home-page .home-hero h1{font-size:72px}
 html[data-theme] .home-page .home-hero h2{font-size:28px;max-width:22ch}
 html[data-theme] .home-page .home-hero-art{width:min(100%,380px)}
 html[data-theme] .home-page .home-hero p{margin-bottom:22px}
 html[data-theme] .home-page .section{margin-block:28px}
 html[data-theme] .home-page :is(.home-box,.standings-card){padding:16px}
 html[data-theme] .home-page .team-card{padding:16px 0;gap:10px;align-items:flex-start}
 html[data-theme] .home-page .team-card strong{font-size:15px}
 html[data-theme] .home-page .team-card small{font-size:12px;line-height:1.5}
 html[data-theme] .home-page .league-banner>.shell{padding-block:28px}
 html[data-theme] body [data-site-banner]:not([data-site-banner=existing]){padding:24px 20px;min-height:144px}
 html[data-theme] body [data-site-banner]:not([data-site-banner=existing]) h1{font-size:32px;max-width:100%}
 html[data-theme] body [data-site-banner]:not([data-site-banner=existing])::after{opacity:.17}
 html[data-theme] body [data-site-banner=compact]{min-height:110px}
 html[data-theme] .admin-ui :is(.panel,.form-card,.admin-card){padding:16px}
 html[data-theme] :is(input:not([type=checkbox]):not([type=radio]),select,textarea){font-size:16px}
}
@media(prefers-reduced-motion:reduce){html[data-theme]{--lux-duration:0s}html[data-theme] *{scroll-behavior:auto!important}}
@media(forced-colors:active){.rlf-lux-icon{stroke:CanvasText}html[data-theme] :is(button,.btn,.button){border:1px solid ButtonText}}
@media print{html[data-theme]{--bg:#fff;--panel:#fff;--panel2:#fff;--text:#000;--muted:#333;--line:#888;--accent:#333}html[data-theme] body{background:#fff!important;color:#000}.rlf-lux-icon{stroke:currentColor}}
/* Broadcast canvases must remain transparent. Only the on-air plates receive the identity. */
html[data-lux-overlay],html[data-lux-overlay] body{background:transparent!important;font-family:'Golos Text',sans-serif}
html[data-lux-overlay] :is(#scoreboard,#event-card,#overlay){background:#1a201df5;border:1px solid #b49b6b;border-radius:12px;box-shadow:none;color:#f5f1e8}
html[data-lux-overlay] :is(#event-kind,.overlay-heading){background:#d1b276;color:#1a201d;border-radius:8px;font-weight:700}
html[data-lux-overlay] :is(.match-meta,.event-copy strong,.sponsor-card small,.score-separator){color:#d1b276;text-shadow:none}
html[data-lux-overlay] :is(.sponsor-card.general,#event-minute){box-shadow:none;border-color:#b49b6b;text-shadow:none}
html[data-lux-overlay] .score small{background:#f5f1e8;color:#1a201d}
html[data-lux-overlay] .score small.live{background:#b52035;color:#fff;box-shadow:none}

html[data-theme] :is(.rlf-site-header a.rlf-site-action,.rlf-site-header button.rlf-site-action,.rlf-site-header .rlf-site-nav a,.rlf-site-header .rlf-site-nav summary,.rlf-header button,.rlf-header a.action){font-family:'Golos Text',sans-serif}
html[data-theme] #matches-mobile-nav a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-height:56px}html[data-theme] #matches-mobile-nav a[aria-current]{color:var(--accent)}

/* Older dynamically loaded page styles must inherit the shared palette as well. */
html:root[data-theme] body[class],html:root[data-theme] body.match-detail-page .match-detail-design{--bg:inherit;--panel:inherit;--panel2:inherit;--text:inherit;--muted:inherit;--accent:inherit;--accent2:inherit;--line:inherit}
html:root[data-theme] body:not([data-lux-overlay]){background-color:var(--bg)!important;background-image:none!important}
html:root[data-theme] body.match-detail-page :is(.panel,.match-cover,.match-detail-tabs){background:var(--panel);border:1px solid var(--line);border-radius:12px;box-shadow:none}
html:root[data-theme] body.match-detail-page .match-detail-tabs{gap:8px;justify-content:flex-start;overflow-x:auto;flex-wrap:nowrap;padding:4px}
html:root[data-theme] body.match-detail-page .match-detail-tabs a{flex:0 0 auto;padding:12px 16px;min-height:46px;color:var(--muted);font-size:14px;line-height:1.4}
html:root[data-theme] body.match-detail-page .match-detail-tabs a:first-child{background:var(--panel2);border-radius:8px;color:var(--text)}
html:root[data-theme] body.match-detail-page .match-detail-tabs a:after{background:var(--accent)}
html:root[data-theme] body.match-detail-page .view-switch button[aria-pressed=true]{background:var(--accent);color:var(--lux-on-accent);box-shadow:none}
html:root[data-theme] body.match-detail-page .view-switch button{border-radius:8px;min-height:44px}
html:root[data-theme] body.match-detail-page .view-switch{border-radius:10px;box-shadow:none}
html:root[data-theme] body.match-detail-page .timeline-event{border-left:0;border-right:0;border-bottom:1px solid var(--line)}
html:root[data-theme] body.match-detail-page .lineup-number{background:var(--panel2);color:var(--text)}
html:root[data-theme] body.match-detail-page .match-state:not(.live){background:var(--panel2);color:var(--text);border:1px solid var(--line)}
html:root[data-theme] body.match-detail-page .match-state.live{background:#b52035;color:#fff}
html:root[data-theme] body.match-detail-page .panel h2{font-size:23px}
html:root[data-theme] body.match-detail-page .lineup-player-data>a{font:600 14px/1.45 'Golos Text',sans-serif;color:var(--text)}
html:root[data-theme] body.match-detail-page .lineup-player-data small{font-size:12px}
html:root[data-theme] body.match-detail-page :is(.match-stat,.timeline-event,.timeline-event p){font-size:14px}
html:root[data-theme] body.unified-admin :is(.rlf-header-actions button,.rlf-header-actions a,.media-refresh,#media-back,#export-png){background:var(--panel2)!important;color:var(--text)!important;border:1px solid var(--line)!important;font-family:'Golos Text',sans-serif}
html:root[data-theme] .queue-primary{background:var(--accent);color:var(--lux-on-accent);border-color:var(--accent)}
html:root[data-theme] :is(.queue-card,#queue-summary a){border-color:var(--line);border-radius:12px}
html:root[data-theme] #queue-summary{gap:12px}
html:root[data-theme] :is(.calendar-page,.statistics-page){--cal-blue:var(--accent);--cal-glow:var(--accent)}
html:root[data-theme] :is(.calendar-board,.calendar-filters,.statistics-filters,.standings-filters,.calendar-tabs){background:var(--panel);border-color:var(--line);box-shadow:none;border-radius:12px}
html:root[data-theme] :is(.calendar-tabs a,.calendar-month-nav button){background:var(--panel2);color:var(--text);box-shadow:none;border-color:var(--line)}
html:root[data-theme] .calendar-tabs a.active{background:var(--accent);color:var(--lux-on-accent)}
html:root[data-theme] :is(.calendar-hero,.calendar-feature)[data-site-banner] h1{color:var(--text)!important}
html:root[data-theme] .home-page .news-card{display:block}
html:root[data-theme] .home-page .news-art{width:100%;aspect-ratio:16/9;height:auto;background:var(--panel2)}
html:root[data-theme] .home-page .news-art img{width:100%;height:100%;object-fit:cover}
html:root[data-theme] .home-page .home-box{box-shadow:none}
/* Page-local aliases must resolve to the same editable palette. */
html:root[data-theme] body:has(.competition-statistics){--stats-panel:var(--panel);--stats-soft:var(--panel2);--stats-line:var(--line);--stats-ink:var(--text);--stats-muted:var(--muted)}
html:root[data-theme] body.calendar-design{--cal-ui-panel:var(--panel);--cal-ui-soft:var(--panel2);--cal-ui-line:var(--line);--cal-ui-text:var(--text);--cal-ui-muted:var(--muted);--cal-ui-shadow:none}
html:root[data-theme] body.calendar-design .calendar-page{--cal-blue:var(--accent);--cal-glow:var(--accent)}
html:root[data-theme] body.calendar-design .calendar-page .calendar-tab.active{background:var(--accent);color:var(--lux-on-accent)}
html:root[data-theme] body.calendar-design .calendar-page .calendar-tab.active::after{display:none}
html:root[data-theme] body.calendar-design .calendar-page .calendar-day.has-matches{border-color:var(--accent)}
html:root[data-theme] body.calendar-design .calendar-page .calendar-day.is-today{box-shadow:inset 0 0 0 1px var(--accent)}
html:root[data-theme] body.calendar-design .calendar-page .calendar-day[aria-pressed=true]{background:var(--accent);color:var(--lux-on-accent);box-shadow:none}
html:root[data-theme] body.calendar-design .calendar-day[aria-pressed=true] .cal-dots i{background:var(--lux-on-accent)}
html:root[data-theme] body.calendar-design .cal-fixture:hover{background:var(--panel2)}
html:root[data-theme] body.calendar-design .calendar-page :is(a,button,select,summary):focus-visible{outline-color:var(--accent)}
html:root[data-theme] body.calendar-design .calendar-kicker{display:none}
html:root[data-theme] .a047-page .a047-main :is(form>button,.btn-primary),
html:root[data-theme] #appearance-content>form>button:not([type=button]){background:var(--accent);color:var(--lux-on-accent);border-color:var(--accent)}
/* Legacy :is() groups include IDs; match their specificity for every primary action. */
html:root[data-theme] :is(.btn-primary,.button.primary,button[type=submit],.protocol-savebar>button,#round-publish,#save-protocol,#approve-protocol,#round-export):not(:disabled){background:var(--accent);color:var(--lux-on-accent);border-color:var(--accent);box-shadow:none}
html:root[data-theme] body.match-detail-page .timeline-icon:not(.chip-yellow_card,.chip-red_card,.chip-second_yellow_red,.chip-mvp,.chip-penalty_goal,.chip-penalty_scored,.chip-missed_penalty,.chip-penalty_missed,.chip-penalty_awarded){background:var(--panel2);color:var(--text)}
html:root[data-theme] body .competition-statistics .competition-table td.competition-primary{color:var(--accent)}
html:root[data-theme] body .rlf-admin-sidebar :is(a,button):is(.active,[aria-current=page]){background:var(--panel2)!important;color:var(--text)!important;border:1px solid var(--accent)!important;box-shadow:inset 3px 0 var(--accent)}
html:root[data-theme] .home-page .home-box:has(.result-card){padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}
html:root[data-theme] body.media-admin #media-home{padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}
@media(min-width:901px){html:root[data-theme] .home-page #results-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){
 html:root[data-theme] body [data-site-banner]:not([data-site-banner=existing]):not([data-site-banner=brand]):not([data-site-banner=feature]){min-height:0;padding:20px 18px}
 html:root[data-theme] body [data-site-banner]:not([data-site-banner=existing]):not([data-site-banner=brand]):not([data-site-banner=feature])::after{display:none}
 html:root[data-theme] body.match-detail-page .lineups{grid-template-columns:minmax(0,1fr);gap:24px}
 html:root[data-theme] body.match-detail-page .lineup-player{display:flex;flex-wrap:nowrap;padding:10px 4px;gap:10px}
 html:root[data-theme] body.match-detail-page .lineup-player-data{flex:1 1 auto}
 html:root[data-theme] body.match-detail-page .lineup-player .player-avatar{width:32px;height:36px;flex-basis:32px}
 html:root[data-theme] body.match-detail-page .lineup-team h3{font-size:18px;gap:10px}
 html:root[data-theme] .home-page .result-card .home-scoreline{grid-template-columns:minmax(0,1fr) 66px minmax(0,1fr);gap:8px}
 html:root[data-theme] .home-page .result-card .home-scoreline>span{display:flex;flex-direction:column;align-items:center;text-align:center;gap:10px}
 html:root[data-theme] .home-page .result-card .home-scoreline strong{font:600 14px/1.4 'Golos Text',sans-serif;overflow-wrap:break-word}
 html:root[data-theme] .home-page .result-card .home-scoreline img{width:52px;height:56px}
 html:root[data-theme] .home-page .result-card .home-scoreline>b{font-size:25px}
 html:root[data-theme] .home-page .tournament-tile{padding:16px 12px}
 html:root[data-theme] .home-page .team-grid{gap:12px}
 html:root[data-theme] .rlf-site-header .rlf-site-action{gap:6px;padding-inline:10px}
}
