/* Champions-inspired presentation. No changes to records, storage or actions. */
:root{--background:#050b20;--foreground:#f1f5ff;--card:#0d1735;--card-foreground:#f1f5ff;--surface:#0d1735;--surface-soft:#08112a;--surface-raised:#15244a;--primary:#acc8ff;--primary-foreground:#071331;--accent:#acc8ff;--accent-foreground:#071331;--secondary:#17284f;--secondary-foreground:#f1f5ff;--popover:#101c3c;--popover-foreground:#f1f5ff;--border:#263960;--input:#2d426d;--ring:#97bcff;--muted:#142341;--muted-foreground:#a5b6d6;--text-secondary:#a5b6d6;--panel-shadow:0 12px 32px #01051630}
html[data-theme="light"]{--background:#eef2fa;--foreground:#101f43;--card:#fff;--card-foreground:#101f43;--surface:#fff;--surface-soft:#e9effa;--surface-raised:#e0e9fa;--primary:#244eb5;--primary-foreground:#fff;--accent:#244eb5;--accent-foreground:#fff;--secondary:#dce6fa;--secondary-foreground:#101f43;--popover:#fff;--popover-foreground:#101f43;--border:#c9d5eb;--input:#becde7;--ring:#315fcb;--muted:#e0e9fa;--muted-foreground:#526383;--text-secondary:#526383;--panel-shadow:0 8px 28px #1024580a}
html[data-theme] body{background:radial-gradient(ellipse at 85% 5%,#2446d51a,transparent 45%),var(--background);background-attachment:fixed}
html[data-theme] body:before{opacity:0}
html[data-theme] .topbar{background:var(--surface-soft);border-bottom:1px solid var(--border);box-shadow:0 4px 24px #0001}
html[data-theme] .brand-kick{border-radius:50%;background:linear-gradient(135deg,#eef5ff,#85adff);color:#11234e;border:1px solid #c8d9ff;box-shadow:0 0 20px #6395ff20}
.brand-word{letter-spacing:.04em}
html[data-theme] .arena-heading{position:relative;isolation:isolate;min-height:330px;overflow:hidden;padding:42px;margin-bottom:20px;border:1px solid #3557a0;border-radius:18px;background:linear-gradient(115deg,#0c1941 5%,#102764 62%,#071536);box-shadow:0 20px 60px #01061d30;align-items:center}
.arena-heading:before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#0b1943 20%,#0b194300 72%),url('/champions-arena.svg') right center / auto 120% no-repeat;pointer-events:none}
.arena-heading:after{content:"";position:absolute;left:42px;top:0;width:68px;height:3px;background:#c7dcff;box-shadow:0 0 24px #9cc7ff;pointer-events:none}
.arena-heading>div{max-width:65%;min-width:0}
html[data-theme] .arena-heading .eyebrow{color:#b4cdff;font-size:.62rem;letter-spacing:.17em}
html[data-theme] .arena-heading h1{color:#fff;font-size:clamp(2.5rem,4.4vw,4.8rem);line-height:1.06;letter-spacing:-.055em;text-shadow:none;margin:20px 0}
html[data-theme] .arena-heading h1 em{color:#bed6ff}
html[data-theme] .arena-heading p{color:#b7c9e9;max-width:40ch;font-size:.9rem}
html[data-theme] .arena-heading .arena-season{position:absolute;right:26px;bottom:22px;padding:9px 14px;gap:10px;background:#0815339c;border:1px solid #88b3ff30;border-radius:8px;backdrop-filter:blur(8px)}
html[data-theme] .arena-season span{color:#b5c9ec}.arena-heading .arena-season strong{color:#f0f5ff;font-size:.85rem}.arena-heading .arena-season>svg{color:#dce8ff;width:20px}
html[data-theme] .championship-dashboards .competition-card{min-height:126px;padding:24px 28px;border-color:var(--border);background:linear-gradient(115deg,var(--surface-raised),var(--card));border-radius:14px;--competition-accent:var(--primary)}
.competition-card:before{height:2px;background:linear-gradient(90deg,#6095ff,#c7dfff,transparent)}
html[data-theme] .competition-card:after{width:180px;height:180px;right:28px;top:-75px;border:1px solid var(--border);box-shadow:0 0 0 22px #719cff08,0 0 0 44px #719cff05}
html[data-theme] .competition-card strong{font-size:1.6rem;letter-spacing:.04em}.competition-card-action{margin-top:10px}
html[data-theme] .overview-strip{gap:0;border:1px solid var(--border);border-radius:12px;overflow:hidden;margin-bottom:20px;background:var(--card)}
html[data-theme] .overview-strip>article{border:0;border-radius:0;box-shadow:none;background:transparent;padding:20px 24px}
html[data-theme] .overview-strip>article+article{border-left:1px solid var(--border)}.overview-strip>article:after{display:none}
html[data-theme] .overview-strip strong{font-variant-numeric:tabular-nums;font-weight:750}.overview-strip>article:first-child strong{font-size:1.7rem;line-height:1.15}
.arena-shortcuts{gap:12px;margin-bottom:38px}.arena-shortcuts button{border-radius:12px;padding:19px 16px}.arena-shortcuts .shortcut-icon{border-radius:50%;border:1px solid var(--border);background:var(--surface-soft);width:40px;height:40px}
.home-section-heading{padding-top:8px}.home-section-heading h2{font-size:clamp(1.5rem,2.7vw,2.1rem);letter-spacing:-.035em}
html[data-theme] .section-head{padding-top:12px;border-bottom-color:var(--border)}.section-head h1{text-shadow:none;letter-spacing:-.04em}.section-head .eyebrow{letter-spacing:.17em}
html[data-theme] :is(.team-card,.match-card,.stats-table-section,.public-player-card,.admin-panel,.team-form,.player-upload-panel,.twitch-mini-player){border-radius:12px;border-color:var(--border);box-shadow:var(--panel-shadow)}
html[data-theme] .registration-hero{border-radius:16px;background:linear-gradient(120deg,var(--surface-raised),var(--surface-soft));border-color:var(--border)}
html[data-theme] .hero-actions button:first-child{background:linear-gradient(120deg,#c8dcff,#93b9ff);color:#071638;border-color:#accaff}
html[data-theme] :is(.standings-table,.stats-table) thead{background:var(--surface-raised)}
html[data-theme] :is(.standings-table,.stats-table) th{color:var(--text-secondary);font-size:.67rem;letter-spacing:.07em}
html[data-theme] :is(.standings-table,.stats-table) tbody tr:hover{background:var(--surface-raised)}
html[data-theme] footer{border-color:var(--border);color:var(--text-secondary)}
@media(max-width:1100px){html[data-theme] .arena-heading{padding:32px;min-height:315px}.arena-heading:after{left:32px}.arena-heading:before{background-position:center,right -110px center}.arena-heading>div{max-width:72%}}
@media(max-width:680px){html[data-theme] .arena-heading{min-height:360px;padding:27px 23px;align-items:flex-start;border-radius:14px}.arena-heading>div{max-width:100%}.arena-heading:before{background:linear-gradient(90deg,#0b1943e8,#0b194350),url('/champions-arena.svg') right -170px bottom -55px / auto 95% no-repeat}.arena-heading:after{left:23px}html[data-theme] .arena-heading h1{font-size:clamp(2.4rem,10vw,3.4rem);max-width:9ch;margin:20px 0 16px}html[data-theme] .arena-heading p{font-size:.82rem;max-width:30ch}html[data-theme] .arena-heading .arena-season{right:18px;bottom:18px}.arena-heading .arena-season strong{font-size:.75rem}html[data-theme] .championship-dashboards .competition-card{min-height:130px;padding:22px}.arena-shortcuts{margin-bottom:28px}html[data-theme] .overview-strip>article{padding:18px 16px}html[data-theme] .overview-strip>article:last-child{border-top:1px solid var(--border)}.section-head{flex-wrap:wrap}}

/* Broadcast graphics inspired by the supplied football scoreboard. */
:root{--broadcast-blue:linear-gradient(180deg,#248df3 0%,#0563c6 13%,#06468f 45%,#02234e 52%,#031935 88%,#0c3865 100%);--broadcast-silver:linear-gradient(180deg,#bdc9d8 0%,#fff 24%,#f6f9ff 62%,#b6c5d7 100%);--broadcast-edge:#528fca;--background:#050f21;--card:#0a1e3b;--surface:#0a1e3b;--surface-soft:#07172e;--surface-raised:#12345a;--border:#284c76;--primary:#b8d9ff;--text-secondary:#a9bfdc;--muted-foreground:#a9bfdc}
html[data-theme="light"]{--background:#edf3fa;--card:#fff;--surface:#fff;--surface-soft:#e7eff9;--surface-raised:#dbe8f8;--border:#bfd0e5;--primary:#17529a;--text-secondary:#49617e;--muted-foreground:#49617e}
html[data-theme] .topbar{background:linear-gradient(180deg,#1262ad,#07356b 45%,#051c3e 48%,#06172e);border-bottom:2px solid #5689bc;color:#fff}
html[data-theme] .topbar :is(.brand,.brand-word,.season b){color:#fff}html[data-theme] .topbar .season span{color:#c0d7f1}.brand em{color:#b7ddff}
html[data-theme] .brand-kick{background:var(--broadcast-silver);border-color:#d3e3f3;color:#092953;box-shadow:0 2px 8px #0005;border-radius:8px}
html[data-theme] .arena-heading{border:1px solid #6097c6;border-radius:10px;background:linear-gradient(125deg,#083c78,#062656 58%,#03132f);box-shadow:inset 0 2px #94caff77,0 12px 32px #0003}
.arena-heading:before{background:linear-gradient(90deg,#062957 8%,#05245120 80%),url('/champions-arena.svg') right center / auto 125% no-repeat}
.arena-heading:after{left:0;right:0;width:auto;height:6px;background:linear-gradient(90deg,#124c8d,#49b1ff,#d3e9ff,#2985d2,#0c346a);box-shadow:0 3px 20px #2d9fff44}
html[data-theme] .arena-heading h1{font-weight:800;letter-spacing:-.035em}.arena-heading h1 em{color:#c8e5ff}
html[data-theme] .arena-heading .arena-season{background:var(--broadcast-blue);border:1px solid #4f91c9;border-radius:5px;box-shadow:inset 0 1px #96d0ff88,0 3px 8px #0003}
html[data-theme] .championship-dashboards .competition-card{border-radius:8px;background:var(--broadcast-blue);border:1px solid var(--broadcast-edge);box-shadow:inset 0 2px #8cccff66,0 6px 18px #0003;color:#fff}
html[data-theme] .championship-dashboards .competition-card :is(strong,small,.competition-format,.competition-card-action){color:#f0f7ff}
html[data-theme] .championship-dashboards .competition-card>svg:first-child{background:var(--broadcast-silver);color:#0b3971;box-shadow:0 2px 8px #0004;border-radius:7px}
.competition-card:before{height:3px;background:linear-gradient(90deg,transparent,#a8dfff,transparent)}
html[data-theme] .overview-strip{border-radius:7px;border-color:var(--border)}
html[data-theme] .arena-shortcuts button{border-radius:7px;border-top:2px solid #3c78b2;box-shadow:inset 0 1px #a9d5ff17;background:linear-gradient(160deg,var(--surface-raised),var(--card))}
html[data-theme] .arena-shortcuts .shortcut-icon{border-radius:7px;background:var(--broadcast-blue);color:#d5eaff;border-color:#487eaf}
html[data-theme] .section-head{border-bottom:2px solid #32699d;padding-bottom:20px}.section-head h1{letter-spacing:-.025em}
html[data-theme] :is(.team-card,.stats-table-section,.admin-panel,.team-form,.player-upload-panel,.twitch-mini-player){border-radius:8px}
html[data-theme] :is(.standings-table,.stats-table) thead{background:var(--broadcast-blue);color:#fff}
html[data-theme] :is(.standings-table,.stats-table) th{color:#e6f2ff}
html[data-theme] .match-card{border-radius:7px;border-color:#4079ab;background:var(--surface-soft);box-shadow:inset 0 1px #8dc8ff33,0 5px 15px #0002}
html[data-theme] .match-card .versus{padding:5px 12px;gap:0;border:1px solid #578fbd;border-radius:5px;background:var(--broadcast-blue);min-height:70px;color:white}
html[data-theme] .match-card .team{color:#fff;text-transform:uppercase;line-height:1.35;text-shadow:0 2px 3px #0007}
html[data-theme] .match-card .score{display:grid;place-items:center;min-height:52px;background:var(--broadcast-silver);color:#092345;border-color:#c6d6e7;border-radius:3px;font-size:1.25rem;font-weight:850;box-shadow:0 0 17px #a4dcff66}
@media(max-width:680px){.arena-heading:before{background:linear-gradient(90deg,#062957ed,#05245166),url('/champions-arena.svg') right -170px bottom -55px / auto 95% no-repeat}html[data-theme] .match-card .versus{padding:5px 8px}.section-head h1{font-size:1.8rem}}

/* Football TV scoreboard: crests outside, silver result in the middle. */
html[data-theme] ._group_d8lou_1{border-radius:8px;border-color:var(--border)}
html[data-theme] ._group_d8lou_1>header{background:var(--broadcast-blue);border-bottom:1px solid #548ec0;color:#fff;padding:18px 22px;box-shadow:inset 0 2px #8bc9ff55}
html[data-theme] ._group_d8lou_1>header>span{color:#c5e3ff}html[data-theme] ._group_d8lou_1 h2{letter-spacing:.04em;font-size:1.05rem;text-transform:uppercase}
html[data-theme] ._match_d8lou_1{border-radius:8px;background:var(--surface-soft);padding:18px 14px;border-color:var(--border)}
html[data-theme] ._versus_d8lou_1{position:relative;grid-template-columns:minmax(0,1fr) 72px minmax(0,1fr);gap:0;min-height:76px;padding:6px 8px;border:1px solid #548fc2;border-radius:5px;background:var(--broadcast-blue);box-shadow:inset 0 2px #87c9ff88,0 4px 12px #0004}
html[data-theme] ._versus_d8lou_1:before{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(57deg,transparent 40%,#8bcaff24 46%,transparent 47%),linear-gradient(-57deg,transparent 40%,#8bcaff24 46%,transparent 47%);border-radius:inherit}
html[data-theme] ._versus_d8lou_1>._team_d8lou_1{position:relative;z-index:1;gap:9px;padding-right:9px;min-width:0;color:#fff}
html[data-theme] ._versus_d8lou_1>._team_d8lou_1:last-child{flex-direction:row-reverse;text-align:right;justify-content:flex-start;padding:0 0 0 9px}
html[data-theme] ._versus_d8lou_1 ._team_d8lou_1 strong{font-size:clamp(.67rem,1vw,.85rem);line-height:1.35;text-transform:uppercase;letter-spacing:.015em;text-shadow:0 2px 3px #0008;overflow-wrap:anywhere}
html[data-theme] ._versus_d8lou_1 ._team_d8lou_1 img{width:38px;height:44px;border-radius:0;filter:drop-shadow(0 2px 3px #0007)}
html[data-theme] ._versus_d8lou_1 ._logo_d8lou_1{width:36px;min-width:36px;height:42px;clip-path:polygon(0 0,100% 0,95% 72%,50% 100%,5% 72%);border-radius:0;background:var(--broadcast-silver);color:#103965;border:1px solid #c5d9e9}
html[data-theme] ._versus_d8lou_1>b{position:relative;z-index:1;align-self:stretch;display:flex;align-items:center;justify-content:center;min-height:58px;padding:8px 4px;border:1px solid #c0d3e7;border-radius:2px;background:var(--broadcast-silver);color:#101d34;font-size:1.25rem;letter-spacing:.04em;box-shadow:0 0 18px #97d0ff66;font-weight:850}
html[data-theme] ._date_d8lou_1{width:fit-content;max-width:100%;margin:14px auto 4px;padding:7px 15px;border:1px solid #4784bb;border-radius:4px;background:var(--broadcast-blue);color:#e0eeff;font-size:.7rem;font-weight:700;box-shadow:inset 0 1px #a2d8ff44}
html[data-theme] ._fixtureTitle_d8lou_1{letter-spacing:.1em;font-size:.65rem;text-transform:uppercase;color:var(--text-secondary)}
html[data-theme] ._round_d8lou_1 h3{background:var(--broadcast-blue);color:#e6f2ff;border:1px solid #477fad;border-radius:5px;padding:10px 14px;text-align:center;font-size:.75rem;letter-spacing:.05em;text-transform:uppercase}
html[data-theme] ._bracketTeam_d8lou_1{padding:9px 10px;border:1px solid #3a6b9a;background:var(--broadcast-blue);color:#fff;min-height:53px}
html[data-theme] ._bracketTeam_d8lou_1+._bracketTeam_d8lou_1{border-top-color:#5989b2}html[data-theme] ._bracketTeam_d8lou_1>b{display:grid;place-items:center;align-self:stretch;width:34px;flex-shrink:0;border-radius:2px;background:var(--broadcast-silver);color:#132444;font-size:1rem;font-variant-numeric:tabular-nums}
html[data-theme] ._bracketTeam_d8lou_1 ._team_d8lou_1{min-width:0}html[data-theme] ._bracketTeam_d8lou_1 ._team_d8lou_1 strong{font-size:.76rem}html[data-theme] ._winner_d8lou_1{box-shadow:inset 3px 0 #b9e2ff}html[data-theme] ._winner_d8lou_1 ._team_d8lou_1 strong{color:#d0e9ff}
@media(max-width:600px){html[data-theme] ._groupMatches_d8lou_1{padding:10px}html[data-theme] ._match_d8lou_1{padding:14px 9px}html[data-theme] ._versus_d8lou_1{grid-template-columns:minmax(0,1fr) 54px minmax(0,1fr);padding:5px 6px;min-height:72px}html[data-theme] ._versus_d8lou_1>._team_d8lou_1{gap:6px;padding-right:6px}html[data-theme] ._versus_d8lou_1>._team_d8lou_1:last-child{padding-left:6px}html[data-theme] ._versus_d8lou_1 ._team_d8lou_1 strong{font-size:.65rem}html[data-theme] ._versus_d8lou_1 ._team_d8lou_1 img{width:28px;height:35px}html[data-theme] ._versus_d8lou_1 ._logo_d8lou_1{width:28px;min-width:28px;height:34px;font-size:.48rem}html[data-theme] ._versus_d8lou_1>b{min-height:54px;font-size:1rem}html[data-theme] ._date_d8lou_1{font-size:.65rem;padding:6px 10px}}

/* Consistent television-style tournament graphics. */
html[data-theme] ._group_1t784_2>header,html[data-theme] ._round_1t784_2>header{background:var(--broadcast-blue);color:#f4f8ff;border-bottom:1px solid #548ec0;padding:15px;box-shadow:inset 0 2px #8bc9ff44}
html[data-theme] ._group_1t784_2>header span,html[data-theme] ._round_1t784_2>header span{color:#c9e2ff}
html[data-theme] ._group_1t784_2,html[data-theme] ._match_1t784_2{border-radius:8px}html[data-theme] ._teamButton_1t784_2{border-radius:4px}
html[data-theme] ._teamButton_1t784_2._selected_1t784_2{background:var(--broadcast-blue);border-color:#87bded;color:#fff;box-shadow:inset 3px 0 #c8e6ff}

html[data-theme] .main-nav button[data-state=active]{background:var(--broadcast-blue)!important;color:#fff;border-color:#548fc2;box-shadow:inset 3px 0 #d0e8ff!important}
