:root {
  color-scheme: dark;
  --bg: #101114;
  --surface: #191b20;
  --ink: #f3f4f6;
  --muted: #a9aeb9;
  --line: #323640;
  --blue: #9ac7ff;
  --green: #83dbc0;
}

.site-header { background: #131519; }
.header-inner, .site-footer, .page { max-width: 1360px; }
.header-inner { min-height: 70px; justify-content: flex-start; gap: 36px; }
.brand-logo { width: 122px; filter: brightness(0) invert(1); }
.main-nav { gap: 24px; }
.main-nav a { padding: 25px 0; }
.main-nav a[aria-current="page"] { box-shadow: inset 0 -2px var(--blue); }
.header-telegram { margin-left: auto; }
.header-telegram, .player-telegram {
  width: auto;
  min-height: 44px;
  padding: 9px 13px;
  background: #172739;
  color: #d9edff;
  border: 1px solid #344f6b;
  border-radius: 9px;
  box-shadow: none;
}
.header-telegram:hover, .player-telegram:hover { background: #223952; color: white; }
.header-telegram .telegram-icon { width: 20px; height: 20px; }
.page { padding-top: 48px; }
.page:has(#videoSection) { max-width: 1136px; }
.intro.compact { margin-bottom: 28px; }
.intro.compact h1 {
  margin-bottom: 10px;
  font-size: clamp(32px, 4.8vw, 54px);
  line-height: 1.08;
  letter-spacing: -.046em;
  text-wrap: balance;
}
.intro p:not(.eyebrow) { font-size: 15px; max-width: none; }
.match-details { display: grid; gap: 12px; }
.match-league { font-size: 15px; font-weight: 650; }
.match-schedule { display: flex; flex-wrap: wrap; gap: 10px 28px; }
.match-schedule .schedule-zone { font-size: 14px; }
.match-schedule .schedule-country { font-size: 12px; }
.section-heading h2 { font-size: 23px; font-weight: 650; }
.toolbar { gap: 12px; margin-bottom: 30px; }
.search, .toolbar select {
  min-height: 46px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 9px;
}
.search input::placeholder { color: var(--muted); }
.toolbar select { min-width: 0; color: var(--ink); }
.agenda-day + .agenda-day { margin-top: 32px; }
.agenda-date {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 550;
  text-transform: capitalize;
}

.fixture-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.fixture {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  overflow: hidden;
}
.fixture:hover { border-color: #78889f; background: #20232a; }
.fixture-art {
  --team-home: #233c59;
  --team-away: #3d2c51;
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 2 / 1;
  background:
    radial-gradient(ellipse at 50% 105%, #0e141edb, transparent 80%),
    linear-gradient(115deg, var(--team-home) 49.75%, #ffffff29 50%, var(--team-away) 50.25%);
}
.fixture:nth-child(3n+2) .fixture-art { --team-home: #274643; --team-away: #52374c; }
.fixture:nth-child(3n+3) .fixture-art { --team-home: #453b52; --team-away: #2b455a; }
.fixture-info .event-live { margin: 0; }
.live-pill { background: #45262e; color: #ffb8be; }
.fixture-art .match-badges { width: 86%; justify-content: space-evenly; }
.fixture-art .team-badge { width: 34%; height: auto; aspect-ratio: 1; }
.fixture-art .team-badge img,
.fixture-art .team-badge.country-badge .country-flag {
  width: 66%;
  height: 66%;
  filter: drop-shadow(0 3px 8px #08090e80);
}
.team-initials { background: #ffffff20; color: var(--ink); }
.fixture-art .team-initials { width: 66%; height: auto; aspect-ratio: 1; font-size: 13px; }
.fixture-art .badge-versus { color: #d1d9e6; }
.fixture-competition { padding: 12px; font-size: 13px; text-align: center; font-weight: 650; }
.fixture-info { display: flex; flex: 1; flex-direction: column; gap: 8px; padding: 13px; }
.fixture-league { font-size: 11px; color: var(--muted); }
.fixture-info h4 { margin: 0; font-size: 15px; line-height: 1.35; overflow-wrap: anywhere; }
.fixture-time { display: flex; gap: 6px 12px; flex-wrap: wrap; margin-top: auto; }
.fixture-time .schedule-zone { font-size: 11px; }
.fixture-meta { display: flex; gap: 4px 9px; justify-content: space-between; flex-wrap: wrap; }
.fixture-meta, .fixture-meta .viewer-count { margin: 0; font-size: 11px; }
.fixture-meta { color: var(--muted); }

.channel-card { background: var(--surface); border-radius: 10px; }
.channel-card:hover { background: #21252e; }
.channel-card h3 { margin: 0; font-size: 15px; overflow-wrap: anywhere; }
.match-channels .channel-grid { margin-top: 12px; }
.status-actions { gap: 10px; margin-bottom: 14px; }
.status-actions button, .primary-button, .share-actions button, .share-actions button:first-child {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--surface);
  color: var(--ink);
}
.status-actions button:hover, .primary-button:hover, .share-actions button:hover, .share-actions button:first-child:hover { background: #252a34; }
.share-manual input, .stats-login input { background: var(--surface); color: var(--ink); }
.video-wrap { border-radius: 14px; }
.site-footer { background: transparent; }
.skip-link { background: var(--surface); color: var(--ink); }
a:focus-visible, button:focus-visible, select:focus-visible, .search:focus-within {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

@media (max-width: 1000px) {
  .fixture-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .header-inner { min-height: 60px; padding-inline: 16px; gap: 14px; }
  .brand-logo { width: 84px; }
  .main-nav { gap: 12px; }
  .main-nav a { padding-block: 21px; }
  .page { padding: 32px 16px 48px; }
  .fixture-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .fixture { border-radius: 10px; }
  .fixture-info { padding: 10px; }
  .fixture-info h4 { font-size: 14px; }
  .header-telegram { padding-inline: 8px; gap: 5px; }
}
@media (max-width: 355px) {
  .header-telegram span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
}
