/* Homepage extends the shared graphite / ivory / brass theme. */
.home-page .home-disabled,.home-page [hidden]{display:none!important}
html[data-theme] .home-page .home-hero{margin:0;background:var(--panel);border:0;border-bottom:1px solid var(--line)}
html[data-theme] .home-page .home-hero-inner{display:grid;grid-template-columns:minmax(0,1fr) minmax(190px,.65fr);align-items:center;min-height:260px;padding-block:32px;gap:24px}
html[data-theme] .home-page .home-hero-copy h1{font-size:clamp(32px,4vw,54px);line-height:1.08;max-width:14ch;margin:0 0 16px;letter-spacing:-.025em}
html[data-theme] .home-page .home-hero-copy p{font-size:16px;margin:0 0 20px;max-width:44ch}
.home-page .home-hero-art{width:100%;max-height:210px;opacity:.55;position:static}
.home-page .league-banner:not(.site-uploaded-banner){display:none}
.home-page .section{padding-block:30px}
.home-page .section-heading{display:flex;align-items:baseline;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:18px}
.home-page .section-heading h2{margin:0;font-size:28px}
.home-page .section-heading a{font-size:14px;min-height:44px;display:inline-flex;align-items:center}
.home-tournament-rail{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x proximity;padding:4px 3px 12px;scrollbar-color:var(--accent) var(--panel2)}
html[data-theme] .home-tournament-choice{display:flex;align-items:center;gap:12px;flex:0 0 280px;max-width:85vw;min-height:88px;padding:16px;border:1px solid var(--line);background:var(--panel);color:var(--text);text-align:left;border-radius:12px;scroll-snap-align:start;font:inherit;cursor:pointer;box-shadow:none}
html[data-theme] .home-tournament-choice[aria-pressed=true]{background:var(--panel2);border-color:var(--accent)}
.home-tournament-choice img,.home-tournament-choice svg{width:40px;height:40px;object-fit:contain;flex-shrink:0}
.home-tournament-choice strong{font-size:15px;line-height:1.35;display:block}.home-tournament-choice small{font-size:12px;color:var(--muted);display:block;margin-top:6px}
.home-selection{display:flex;align-items:end;gap:16px;margin:10px 0;flex-wrap:wrap}.home-selection label{display:grid;gap:6px;font-size:13px;flex:1 1 230px;min-width:0;max-width:440px}.home-selection select{width:100%;min-height:44px}
#home-tournament-links{display:flex;gap:12px;flex-wrap:wrap}#home-tournament-links a{display:inline-flex;align-items:center;min-height:44px;font-size:14px;padding:4px 8px;text-underline-offset:4px}
html[data-theme] .home-page .home-match-layout{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(320px,1fr);gap:24px;align-items:start;margin-bottom:8px}
html[data-theme] .home-page .home-box{min-width:0;padding:24px;border:1px solid var(--line);border-radius:12px;background:var(--panel);box-shadow:none}
.home-match-tabs{display:flex;gap:6px;flex-wrap:wrap}.home-match-tabs button{min-height:44px;padding:8px 12px;font:inherit;font-size:13px;cursor:pointer}
html[data-theme] .home-match-tabs button[aria-pressed=true]{background:var(--accent);color:var(--lux-on-accent);border-color:transparent}
html[data-theme] .home-page .results-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 18px}
html[data-theme] .home-page .result-card{display:block;border:0;border-top:1px solid var(--line);border-radius:0;padding:16px 0 44px;background:transparent;box-shadow:none;color:var(--text)}
.home-match-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;font-size:12px}.home-match-status{font-size:12px;font-weight:700;display:inline-flex;align-items:center;gap:6px}.home-match-status:before{content:'';width:7px;height:7px;border-radius:50%;background:#fff;border:1px solid #68706b}
.home-match-status[data-state=live]:before{background:#dd343b;border-color:#dd343b}.home-match-status[data-state=finished]:before{background:#168447;border-color:#168447}
html[data-theme] .home-page .home-scoreline{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:8px;margin:16px 0}
html[data-theme] .home-page .home-scoreline>span{display:flex;align-items:center;flex-direction:column;gap:8px;min-width:0;text-align:center}.home-page .home-scoreline img{width:36px;height:36px;object-fit:contain}
html[data-theme] .home-page .home-scoreline strong{font:600 13px/1.35 'Golos Text',sans-serif;color:var(--text);overflow-wrap:anywhere}.home-page .home-scoreline>b{font-size:23px;white-space:nowrap}
.home-page .match-tournament,.home-page .venue{display:block;font-size:12px;color:var(--muted);margin-top:8px}
.home-page #standings-table{overflow:auto}.home-page #standings-table table{width:100%;min-width:0;font-size:13px}.home-page #standings-table th,.home-page #standings-table td{padding:10px 5px}.home-page #standings-table th[scope=row]{font-weight:500;text-align:left}.home-page #standings-table a{display:flex;align-items:center;gap:7px}.home-page #standings-table img{width:24px;height:24px;object-fit:contain}.home-page #standings-table .rlf-favorite-controls{display:none}
html[data-theme] .home-page .home-news-layout{display:block}.home-page #news-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:18px 24px}.home-page #news-grid .news-card{display:grid;grid-template-columns:110px 1fr;background:transparent;border:0;border-radius:0;box-shadow:none;gap:16px;color:var(--text);border-bottom:1px solid var(--line);padding-bottom:16px}
.home-page #news-grid .news-card:not(:has(.news-art)){grid-template-columns:1fr}.home-page #news-grid .home-main-news{grid-row:span 4;display:block;border-bottom:0}.home-page #news-grid .news-art{height:90px;min-height:0;border-radius:8px;overflow:hidden;background:var(--panel2)}.home-page #news-grid .home-main-news .news-art{height:auto;aspect-ratio:16/9;margin-bottom:16px}.home-page #news-grid .news-art img{width:100%;height:100%;object-fit:cover}.home-page #news-grid .news-copy{padding:0}.home-page #news-grid h3{font-size:19px;line-height:1.3;margin:7px 0}.home-page #news-grid .home-main-news h3{font-size:28px}.home-page #news-grid time{font-size:12px;color:var(--muted)}
.home-feature-layout,.home-feature-panel{display:grid;grid-template-columns:1fr 1fr;gap:28px}.home-feature-panel{padding:28px;background:var(--panel2);border-radius:12px}.home-feature-panel h2{margin-top:0}.home-feature-panel ol{padding-left:22px}.home-feature-panel li{padding:12px 0;border-bottom:1px solid var(--line)}.home-feature-panel li strong{float:right;margin-left:10px}.home-round-people{display:flex;gap:8px 18px;flex-wrap:wrap;margin-bottom:20px}.home-round-people a{min-height:44px;display:flex;align-items:center}.home-featured-player{display:flex;align-items:center;gap:24px}.home-featured-player img{object-fit:cover;border-radius:8px;max-width:35%}.home-history-story{display:flex;gap:28px;align-items:center}.home-history-story img{object-fit:cover;border-radius:8px;width:150px;height:180px}.home-history-story p{max-width:65ch}
.home-page :is(button,a,select):focus-visible{outline:3px solid var(--accent);outline-offset:3px}.home-page .tournament-status-dot{display:inline-block;width:7px;height:7px;border-radius:50%;margin-right:5px}.home-page [data-status=active] .tournament-status-dot{background:#168447}.home-page [data-status=completed] .tournament-status-dot{background:#dd343b}.home-page [data-status=scheduled] .tournament-status-dot{background:#fff;border:1px solid #68706b}
@media(max-width:1000px){html[data-theme] .home-page .home-match-layout{grid-template-columns:1fr}.home-page #standings-table table{font-size:14px}}
@media(max-width:600px){html[data-theme] .home-page .home-hero-inner{min-height:0;padding-block:24px;grid-template-columns:1fr}.home-page .home-hero-art{display:none}html[data-theme] .home-page .home-hero-copy h1{font-size:34px;max-width:17ch}.home-page .section{padding-block:24px}.home-page .section-heading h2{font-size:25px}html[data-theme] .home-page .home-box{padding:16px}html[data-theme] .home-page .results-grid{grid-template-columns:1fr}.home-page .home-selection{gap:10px}.home-page #news-grid{grid-template-columns:1fr}.home-page #news-grid .home-main-news{grid-row:auto}.home-feature-layout,.home-feature-panel{grid-template-columns:1fr}.home-feature-panel{padding:20px}.home-history-story{align-items:flex-start;gap:16px}.home-history-story img{width:90px;height:120px}.home-page .home-scoreline>b{font-size:28px}.home-page .site-footer nav{display:flex;flex-wrap:wrap;gap:16px}.home-page .site-footer nav a{min-height:44px;display:flex;align-items:center}}

html:root[data-theme] body.home-page button.home-tournament-choice{background:var(--panel);color:var(--text);border:1px solid var(--line)}
html:root[data-theme] body.home-page button.home-tournament-choice[aria-pressed=true]{background:var(--panel2);color:var(--text);border-color:var(--accent);box-shadow:inset 0 3px var(--accent)}
.home-round-person{display:inline-flex;align-items:center;gap:4px;max-width:100%}.home-round-person a{overflow-wrap:anywhere}
.home-featured-player{align-items:flex-start;justify-content:flex-start;min-height:0}.home-featured-player .rlf-favorite-controls{display:inline-flex;vertical-align:middle}

.home-page #news-grid .news-card{min-height:0;align-content:start}
html[data-theme] .home-page .section{margin-block:16px}

.home-page #news-grid .home-main-news:not(:has(.news-art)){grid-row:auto;grid-column:1/-1;padding-bottom:20px;border-bottom:1px solid var(--line)}
