/* Homepage banners: monochrome geometry follows the site's active theme. */
html[data-theme] .home-page .home-hero{
  display:block;min-height:0;aspect-ratio:auto;background:var(--panel);color:var(--text);
  border:0;border-bottom:1px solid var(--line);box-shadow:none;
}
html[data-theme] .home-page .home-hero::after{display:none}
html[data-theme] .home-page .home-hero-inner{
  display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);align-items:center;
  gap:clamp(28px,5vw,72px);padding:48px 0;color:var(--text);
}
.home-hero-copy{min-width:0}
html[data-theme] .home-page .home-hero h1{
  margin:0 0 12px;font-family:'RLF Arena',sans-serif;font-size:clamp(64px,6.5vw,88px);
  line-height:1;font-style:normal;letter-spacing:-.025em;color:var(--text);text-shadow:none;
}
html[data-theme] .home-page .home-hero h2{
  max-width:25ch;margin:0 0 18px;font-size:clamp(24px,2.4vw,32px);line-height:1.2;
  color:var(--text);text-wrap:balance;
}
html[data-theme] .home-page .home-hero p{
  max-width:38ch;margin:0 0 24px;font-size:16px;line-height:1.6;
  color:var(--muted);text-shadow:none;
}
html[data-theme] .home-page .home-hero .button{
  display:inline-flex;align-items:center;gap:20px;min-height:48px;padding:12px 20px;
  background:var(--text)!important;color:var(--panel)!important;border:1px solid var(--text);
  border-radius:8px;box-shadow:none!important;font-size:15px;font-weight:700;
}
html[data-theme] .home-page .home-hero .button:hover{opacity:.88}
html[data-theme] .home-page .home-hero .button:focus-visible{
  outline:3px solid var(--accent);outline-offset:4px;
}
.home-page .home-banner-art{display:block;max-width:100%;height:auto;color:var(--muted)}
.home-page .home-hero-art{width:100%}
.home-page .home-banner-horizon{opacity:.65}
.home-page .home-banner-field{opacity:.9}
html[data-theme] .home-page .league-banner{
  position:relative;padding:0;background:var(--panel2);color:var(--text);
  border-top:1px solid var(--line);border-bottom:1px solid var(--line);box-shadow:none;
}
html[data-theme] .home-page .league-banner>.shell{
  position:static;inset:auto;transform:none;width:min(1320px,calc(100% - 40px));
  display:grid;grid-template-columns:minmax(220px,.8fr) minmax(0,1.2fr);align-items:center;
  gap:clamp(24px,5vw,72px);padding:36px 0;text-align:left;text-shadow:none;
}
.home-page .league-banner-art{width:330px;justify-self:center}
.home-page .league-banner-copy{min-width:0}
html[data-theme] .home-page .league-banner strong{
  display:block;margin:0 0 12px;font-family:'RLF Arena',sans-serif;font-style:normal;
  font-size:clamp(24px,3vw,36px);line-height:1.15;letter-spacing:-.015em;color:var(--text);text-wrap:balance;
}
html[data-theme] .home-page .league-banner span{
  display:block;font-size:16px;line-height:1.6;color:var(--muted);
}
html[data-theme] .home-page :is(.home-hero,.league-banner)::selection,
html[data-theme] .home-page :is(.home-hero,.league-banner) ::selection{background:var(--text);color:var(--panel)}
.home-page .tournament-status{display:inline-flex;align-items:center;gap:6px;max-width:100%;line-height:1.4}
.home-page .tournament-status-dot{display:inline-block;width:8px;height:8px;border-radius:50%;flex:0 0 8px}
.home-page .tournament-status[data-status=active] .tournament-status-dot{background:#15803d}
.home-page .tournament-status[data-status=completed] .tournament-status-dot{background:#b91c1c}
html[data-theme=dark] .home-page .tournament-status[data-status=active] .tournament-status-dot{background:#4ade80}
html[data-theme=dark] .home-page .tournament-status[data-status=completed] .tournament-status-dot{background:#f87171}
.home-page .tournament-status[data-status=scheduled] .tournament-status-dot{background:#fff;border:1px solid #64748b}
html[data-theme=dark] .home-page .tournament-status[data-status=scheduled] .tournament-status-dot{border-color:#cbd5e1}
.home-page .tournament-status[data-status=neutral] .tournament-status-dot{display:none}
@media(max-width:740px){
  html[data-theme] .home-page .home-hero-inner{grid-template-columns:1fr;gap:24px;padding:28px 0 24px}
  html[data-theme] .home-page .home-hero h1{font-size:60px;margin-bottom:10px}
  html[data-theme] .home-page .home-hero h2{max-width:24ch;font-size:25px;margin-bottom:14px}
  html[data-theme] .home-page .home-hero p{font-size:16px;margin-bottom:20px}
  .home-page .home-hero-art{width:min(100%,440px);justify-self:center}
  html[data-theme] .home-page .league-banner>.shell{
    width:calc(100% - 28px);grid-template-columns:1fr;gap:20px;padding:28px 0;
  }
  .home-page .league-banner-art{width:230px;justify-self:start;grid-row:2}
  html[data-theme] .home-page .league-banner strong{font-size:26px;margin-bottom:12px}
}
@media(prefers-reduced-motion:reduce){.home-page .home-hero .button{transition:none}}
