:root {
  --bg: #070806;
  --bg-deep: #030403;
  --surface: #0e100d;
  --surface-2: #15170f;
  --surface-3: #1c1c14;
  --gold: #f5c400;
  --gold-2: #ffe072;
  --gold-soft: rgba(245, 196, 0, 0.14);
  --gold-line: rgba(245, 196, 0, 0.42);
  --text: #f4efe2;
  --muted: #bdb5a2;
  --dim: #817a6c;
  --line: rgba(244, 239, 226, 0.14);
  --line-strong: rgba(244, 239, 226, 0.24);
  --live: #ff5348;
  --success: #65d990;
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.46);
  --radius: 8px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 44px;
  --font-display: "Sora", "Aptos Display", "Segoe UI Variable Display", ui-sans-serif, sans-serif;
  --font-body: "Manrope", "Aptos", "Segoe UI Variable Text", ui-sans-serif, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  width: 100%;
  max-width: 100%;
  color-scheme: dark;
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  width: 100%;
  max-width: 100%;
  margin: 0;
  background:
    linear-gradient(180deg, rgba(245, 196, 0, 0.05) 0, transparent 210px),
    linear-gradient(90deg, rgba(245, 196, 0, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(245, 196, 0, 0.028) 1px, transparent 1px),
    var(--bg-deep);
  background-size: auto, 96px 96px, 96px 96px, auto;
  color: var(--text);
  font-family: var(--font-body);
  text-rendering: geometricPrecision;
  overflow-x: clip;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
.locale-option:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

h1,
h2,
p {
  margin: 0;
}

.frame {
  width: calc(100% - 48px);
  max-width: 1180px;
  margin-inline: auto;
}

.topbar,
.topbar-inner,
.page-stack,
.hero-card,
.broadcast-panel,
.broadcast-copy,
.broadcast-board,
.schedule-layout,
.match-column,
.match-list,
.news-panel,
.news-viewport,
.news-grid,
.ad-slot {
  max-width: 100%;
  min-width: 0;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(245, 196, 0, 0.18);
  background: rgba(3, 4, 3, 0.9);
  backdrop-filter: blur(18px);
}

.topbar::after {
  content: "";
  display: block;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(245, 196, 0, 0.82), transparent);
}

.topbar-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  min-height: 78px;
  align-items: center;
  gap: var(--space-5);
}

.brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  justify-self: start;
}

.brand-mark,
.brand-mark img {
  display: block;
  width: 70px;
  height: 70px;
}

.brand-mark {
  overflow: hidden;
  border-radius: 7px;
  filter: drop-shadow(0 0 18px rgba(245, 196, 0, 0.38));
}

.brand-mark img {
  object-fit: cover;
  object-position: center 42%;
  transform: scale(1.42);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(244, 239, 226, 0.04);
  padding: 5px;
}

.nav a {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  padding: 0 14px;
  text-transform: uppercase;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--text);
}

.nav a.active {
  background: var(--gold);
  color: #090907;
}

.locale {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-self: end;
  gap: 7px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(244, 239, 226, 0.055);
  color: var(--text);
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
  padding: 0 13px;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.locale:hover {
  border-color: var(--gold-line);
  background: rgba(245, 196, 0, 0.1);
}

.locale-picker {
  position: relative;
  display: inline-flex;
  justify-self: end;
  width: max-content;
}

.locale-menu {
  position: absolute;
  top: calc(100% + 9px);
  right: 0;
  z-index: 40;
  display: grid;
  min-width: 158px;
  gap: 4px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(10, 11, 9, 0.98);
  box-shadow: var(--shadow);
  padding: 6px;
}

.locale-menu[hidden] {
  display: none !important;
}

html[dir="rtl"] .locale-menu {
  right: auto;
  left: 0;
}

.locale-option {
  display: inline-flex;
  width: 100%;
  align-items: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  padding: 9px 10px;
  text-transform: uppercase;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.locale-option:hover {
  border-color: var(--gold-line);
  color: var(--text);
}

.locale-option.active {
  border-color: var(--gold-line);
  background: rgba(245, 196, 0, 0.13);
  color: var(--gold);
}

.page-stack {
  display: grid;
  gap: var(--space-5);
  padding: 24px 0 72px;
}

.section-kicker,
.ad-slot span,
.board-label {
  color: var(--gold);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.ad-slot {
  display: grid;
  place-items: center;
  width: 100%;
  overflow: hidden;
  border: 1px solid rgba(245, 196, 0, 0.3);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(245, 196, 0, 0.12), rgba(20, 19, 12, 0.9) 42%, rgba(245, 196, 0, 0.06)),
    repeating-linear-gradient(45deg, rgba(245, 196, 0, 0.05) 0 1px, transparent 1px 12px);
  color: var(--muted);
  text-align: center;
}

.ad-slot strong {
  display: block;
  margin-top: 5px;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 950;
}

.banner-link,
.banner-link img {
  display: block;
  width: 100%;
  height: 100%;
}

.banner-link img {
  object-fit: cover;
}

.ad-top {
  width: 100%;
  aspect-ratio: 970 / 90;
  max-width: 100%;
  min-height: 0;
  justify-self: center;
}

.ad-top .banner-link img {
  object-fit: contain;
}

.sponsor-slot {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(245, 196, 0, 0.34);
  border-radius: var(--radius);
  background: rgba(7, 8, 6, 0.78);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.28);
}

.sponsor-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.sponsor-slot picture,
.sponsor-slot img {
  display: block;
  width: 100%;
  max-width: 100%;
}

.sponsor-slot img {
  height: auto;
  object-fit: contain;
}

.sponsor-footer {
  aspect-ratio: 1423 / 76;
}

.sponsor-footer img {
  height: 100%;
}

.match-sponsor {
  aspect-ratio: 1870 / 245;
  scroll-margin-top: 96px;
}

.match-sponsor img {
  height: 100%;
}

.schedule-sponsor {
  margin-bottom: var(--space-4);
}

.hero-mobile-sponsor-link {
  display: none;
}

.hero-mobile-sponsor {
  aspect-ratio: 1870 / 245;
}

.hero-mobile-sponsor img {
  height: 100%;
}

.hero-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-5);
  align-items: stretch;
  min-width: 0;
}

.broadcast-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 310px);
  gap: var(--space-4);
  min-width: 0;
  min-height: 350px;
  overflow: hidden;
  border: 1px solid rgba(245, 196, 0, 0.28);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(5, 6, 5, 0.98) 0%, rgba(5, 6, 5, 0.86) 48%, rgba(5, 6, 5, 0.42) 100%),
    url("./assets/world-cup-hero.png") center / cover;
  box-shadow: var(--shadow);
}

.broadcast-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(245, 196, 0, 0.18), transparent 1px) 0 0 / 52px 52px,
    linear-gradient(180deg, rgba(245, 196, 0, 0.12), transparent 1px) 0 0 / 52px 52px;
  mask-image: linear-gradient(90deg, black, transparent 68%);
  opacity: 0.34;
  pointer-events: none;
}

.broadcast-panel::after {
  content: "";
  position: absolute;
  right: 28px;
  bottom: 28px;
  width: 210px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.9;
}

.broadcast-copy {
  position: relative;
  z-index: 1;
  min-width: 0;
  max-width: 540px;
  padding: 34px;
}

.hero-card h1 {
  margin-top: 15px;
  font-family: var(--font-display);
  font-size: clamp(40px, 4.8vw, 58px);
  font-weight: 950;
  line-height: 0.9;
  text-transform: uppercase;
  text-wrap: balance;
}

.hero-card h1 .hero-line,
.hero-card h1 .hero-highlight {
  display: block;
}

.hero-highlight,
.section-heading h2 span,
.follow-band h2 span {
  color: var(--gold);
}

.hero-text {
  max-width: 460px;
  margin-top: 18px;
  color: rgba(244, 239, 226, 0.82);
  font-size: 15px;
  font-weight: 760;
  line-height: 1.5;
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.button,
.stream-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  font-weight: 950;
  padding: 0 18px;
  text-transform: uppercase;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.button.primary,
.stream-button {
  border-color: var(--gold);
  background: var(--gold);
  box-shadow: 0 16px 34px rgba(245, 196, 0, 0.18);
  color: #090907;
}

.button.primary:hover,
.stream-button:hover {
  background: var(--gold-2);
  border-color: var(--gold-2);
}

.button.secondary {
  background: rgba(244, 239, 226, 0.055);
  color: var(--text);
}

.button.secondary:hover {
  border-color: var(--gold-line);
  background: rgba(245, 196, 0, 0.1);
}

.refresh-button {
  min-height: 38px;
  padding: 0 14px;
}

.broadcast-board {
  position: relative;
  align-self: end;
  justify-self: end;
  z-index: 1;
  min-width: 0;
  width: min(100%, 310px);
  margin: 0 28px 28px 0;
  border: 1px solid rgba(245, 196, 0, 0.35);
  border-radius: var(--radius);
  background: rgba(7, 8, 6, 0.82);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
  padding: 18px;
}

.board-brand {
  margin-top: 8px;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.next-match-live {
  display: grid;
  width: 100%;
  gap: 7px;
  margin-top: 16px;
  padding: 13px;
  border: 1px solid rgba(245, 196, 0, 0.28);
  border-radius: 7px;
  background: rgba(245, 196, 0, 0.08);
  box-shadow: 0 0 28px rgba(245, 196, 0, 0.1);
  cursor: pointer;
  text-align: left;
  transition: border-color var(--transition), background var(--transition), transform var(--transition);
}

.next-match-live:hover,
.next-match-live:focus-visible {
  border-color: rgba(245, 196, 0, 0.72);
  background: rgba(245, 196, 0, 0.13);
  transform: translateY(-1px);
  outline: none;
}

.next-match-live:disabled {
  cursor: default;
  transform: none;
}

[dir="rtl"] .next-match-live {
  text-align: right;
}

.next-match-list {
  display: grid;
  gap: 8px;
  margin-top: 9px;
}

.next-match-row {
  display: grid;
  width: 100%;
  gap: 4px;
  padding: 10px 11px;
  border: 1px solid rgba(245, 196, 0, 0.22);
  border-radius: 7px;
  background: rgba(5, 6, 5, 0.48);
  color: var(--text);
  cursor: pointer;
  text-align: left;
  transition: border-color var(--transition), background var(--transition);
}

.next-match-row:hover,
.next-match-row:focus-visible {
  border-color: rgba(245, 196, 0, 0.62);
  background: rgba(245, 196, 0, 0.1);
  outline: none;
}

.next-match-row strong {
  font-size: 12px;
  font-weight: 950;
  line-height: 1.2;
  text-transform: uppercase;
}

.next-match-row span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 850;
  line-height: 1.25;
  text-transform: uppercase;
}

[dir="rtl"] .next-match-row {
  text-align: right;
}

.next-match-live span {
  color: var(--gold);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.next-match-live strong {
  color: var(--text);
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
}

.next-match-meta {
  margin-top: 11px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  line-height: 1.35;
  text-transform: uppercase;
}

.board-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin-top: 16px;
}

.board-strip span {
  display: grid;
  min-width: 0;
  min-height: 28px;
  place-items: center;
  border: 1px solid rgba(245, 196, 0, 0.22);
  border-radius: 5px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 950;
  text-transform: uppercase;
}

.tournament-pill {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 16px;
  text-transform: uppercase;
}

.pill-mark {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border: 2px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 950;
}

.tournament-pill strong {
  display: block;
  color: var(--text);
  font-size: 11px;
  font-weight: 950;
}

.tournament-pill em {
  display: block;
  margin-top: 4px;
  color: var(--gold);
  font-size: 10px;
  font-style: normal;
  font-weight: 950;
}

.ad-hero {
  display: none;
  aspect-ratio: 300 / 250;
  align-self: start;
  max-width: 300px;
  min-height: 0;
  justify-self: end;
}

.ad-hero-mobile {
  display: none;
}

.schedule-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-5);
  align-items: start;
}

.match-column {
  min-width: 0;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
}

.section-heading.compact {
  align-items: center;
  margin-bottom: var(--space-3);
}

.section-heading h2,
.follow-band h2 {
  color: var(--text);
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 950;
  line-height: 0.94;
  text-transform: uppercase;
  text-wrap: balance;
}

.section-heading h2 span {
  display: inline;
}

.heading-line,
.kicker-line {
  width: 66px;
  height: 2px;
  margin-top: 12px;
  background: var(--gold);
}

.match-list {
  display: grid;
  gap: 10px;
}

.empty-card,
.match-card,
.news-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(14, 16, 13, 0.86);
}

.empty-card {
  display: grid;
  min-height: 104px;
  place-items: center;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.match-card {
  position: relative;
  display: grid;
  grid-template-columns: 138px minmax(0, 1fr) auto;
  gap: var(--space-4);
  align-items: center;
  min-height: 92px;
  width: 100%;
  overflow: hidden;
  padding: 16px 18px;
  color: inherit;
  cursor: pointer;
  font: inherit;
  text-align: left;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.match-card.has-streams {
  grid-template-columns: 138px minmax(0, 1fr) 92px;
  align-items: stretch;
  gap: 14px var(--space-4);
  min-height: 148px;
  padding-bottom: 14px;
}

.match-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: transparent;
  transition: background 0.2s ease;
}

.match-card:hover,
.match-card:focus-visible {
  border-color: var(--gold-line);
  background: rgba(18, 20, 15, 0.98);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.28);
}

.match-card:hover::before,
.match-card:focus-visible::before {
  background: var(--gold);
}

.match-time {
  display: grid;
  gap: 5px;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

.match-time small {
  display: block;
  min-width: 0;
  overflow: hidden;
  color: var(--dim);
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.match-main {
  display: grid;
  justify-items: stretch;
  min-width: 0;
}

.match-teams {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 950;
  line-height: 1.1;
  text-transform: uppercase;
}

.team-side {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 9px;
}

.team-side:last-child {
  justify-content: flex-end;
  text-align: right;
}

.team-side span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.match-vs {
  color: var(--gold);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0.12em;
}

.match-score {
  display: inline-flex;
  min-width: 54px;
  min-height: 30px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gold-line);
  border-radius: 999px;
  background: rgba(245, 196, 0, 0.12);
  color: var(--text);
  font-size: 13px;
  letter-spacing: 0.03em;
}

.match-title {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.team-logo {
  display: block;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  object-fit: contain;
}

.team-logo.empty {
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(244, 239, 226, 0.04);
}

.match-meta {
  margin-top: 7px;
  color: var(--dim);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.match-stats {
  min-height: 15px;
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.match-actions {
  display: grid;
  justify-items: end;
  gap: 8px;
}

.match-stream-buttons,
.detail-streams {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.stream-entry.match-stream-buttons {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: 138px minmax(0, 1fr) 92px;
  column-gap: var(--space-4);
  width: 100%;
  justify-content: stretch;
  justify-self: center;
  justify-items: center;
  gap: 10px;
  margin-top: 2px;
  margin-inline: auto;
  padding: 14px 16px 16px;
  border: 1px solid rgba(245, 196, 0, 0.16);
  border-radius: 7px;
  background:
    radial-gradient(circle at 50% 0%, rgba(245, 196, 0, 0.13), transparent 38%),
    rgba(245, 196, 0, 0.055);
  text-align: center;
}

.stream-entry.detail-streams {
  display: grid;
  justify-self: center;
  justify-items: center;
  gap: 8px;
  text-align: center;
}

.stream-entry-label {
  display: inline-flex;
  justify-self: center;
  min-height: 22px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.stream-entry-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--red);
  box-shadow: 0 0 0 5px rgba(255, 87, 87, 0.14);
}

.stream-entry-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.match-stream-buttons .stream-entry-actions {
  display: grid;
  grid-column: 2;
  grid-template-columns: repeat(3, minmax(0, 180px));
  width: min(100%, 572px);
  justify-content: center;
}

.match-stream-buttons .stream-entry-label {
  display: grid;
  grid-column: 2;
  grid-template-columns: 8px auto 8px;
  column-gap: 7px;
  width: min(100%, 572px);
}

.match-stream-buttons .stream-entry-label::after {
  content: "";
  width: 8px;
  height: 8px;
}

.match-stream-button {
  min-height: 40px;
  width: 100%;
  min-width: 0;
  padding: 0 18px;
  position: relative;
  z-index: 1;
  font-size: 11px;
}

.match-status {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(245, 196, 0, 0.32);
  border-radius: 999px;
  background: rgba(245, 196, 0, 0.1);
  color: #ffe69a;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.04em;
  padding: 0 11px;
  text-transform: uppercase;
  white-space: nowrap;
}

.match-status.live {
  border-color: rgba(255, 83, 72, 0.58);
  background: rgba(255, 83, 72, 0.16);
  color: #ffe0de;
}

.match-status.half {
  border-color: rgba(255, 184, 0, 0.55);
  background: rgba(255, 184, 0, 0.18);
  color: #fff0bd;
}

.match-status.finished {
  border-color: rgba(101, 217, 144, 0.42);
  background: rgba(101, 217, 144, 0.14);
  color: #d7f9e3;
}

.match-status.postponed {
  border-color: rgba(190, 190, 190, 0.36);
  background: rgba(160, 160, 160, 0.12);
  color: #e5e2da;
}

.ad-rail {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 300px));
  align-content: start;
  justify-content: center;
  gap: var(--space-4);
  margin-top: 0;
}

.ad-rect {
  aspect-ratio: 300 / 250;
  max-width: 300px;
  min-height: 0;
  justify-self: center;
}

.ad-tall {
  aspect-ratio: 300 / 600;
  max-width: 300px;
  min-height: 0;
  justify-self: center;
}

.ad-hero .banner-link img,
.ad-rect .banner-link img,
.ad-tall .banner-link img {
  object-fit: contain;
}

.news-panel {
  margin-top: 0;
  border-top: 1px solid var(--line);
  padding-top: var(--space-5);
}

.carousel-controls {
  display: flex;
  gap: 8px;
}

.carousel-button {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--gold-line);
  border-radius: 50%;
  background: rgba(245, 196, 0, 0.08);
  color: var(--gold);
  cursor: pointer;
  font: inherit;
  font-size: 25px;
  font-weight: 950;
  line-height: 1;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.carousel-button:hover,
.carousel-button:focus-visible {
  border-color: var(--gold);
  background: var(--gold);
  color: #090907;
}

.news-viewport {
  min-width: 0;
  overflow: hidden;
}

.news-grid {
  display: grid;
  grid-auto-columns: minmax(320px, 38%);
  grid-auto-flow: column;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 10px;
  scroll-snap-type: x mandatory;
  scrollbar-color: rgba(245, 196, 0, 0.46) rgba(244, 239, 226, 0.08);
  scrollbar-width: thin;
}

.news-card {
  display: grid;
  grid-template-rows: 142px minmax(0, 1fr);
  gap: 12px;
  min-height: 292px;
  overflow: hidden;
  color: inherit;
  cursor: pointer;
  font: inherit;
  padding: 12px;
  scroll-snap-align: start;
  text-align: left;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.news-card:hover,
.news-card:focus-visible {
  border-color: var(--gold-line);
  background: rgba(18, 20, 15, 0.98);
}

.news-image {
  display: block;
  min-height: 142px;
  overflow: hidden;
  border-radius: 6px;
  background: rgba(244, 239, 226, 0.055);
}

.news-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-image.empty {
  border: 1px solid var(--line);
}

.news-football-fallback {
  position: relative;
  display: grid;
  width: 100%;
  height: 100%;
  min-height: 142px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(245, 196, 0, 0.22);
  background:
    linear-gradient(rgba(244, 239, 226, 0.12), rgba(244, 239, 226, 0.12)) 50% 50% / 100% 1px no-repeat,
    radial-gradient(circle at 50% 50%, transparent 0 31px, rgba(244, 239, 226, 0.13) 32px 33px, transparent 34px),
    repeating-linear-gradient(90deg, rgba(19, 78, 51, 0.96) 0 13%, rgba(14, 64, 43, 0.96) 13% 26%);
}

.news-football-fallback b {
  position: relative;
  z-index: 1;
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border: 2px solid rgba(245, 196, 0, 0.68);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.42);
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 950;
}

.news-football-fallback span {
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(244, 239, 226, 0.13);
  border-radius: 5px;
}

.news-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  color: var(--gold);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.news-meta span {
  max-width: 100%;
  overflow: hidden;
  border: 1px solid rgba(245, 196, 0, 0.18);
  border-radius: 999px;
  padding: 2px 6px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.news-card h3 {
  margin: 8px 0 0;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 950;
  line-height: 1.12;
  text-transform: uppercase;
  text-wrap: pretty;
}

.news-card p {
  display: -webkit-box;
  margin-top: 8px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  color: var(--muted);
  font-size: 13px;
  font-weight: 760;
  line-height: 1.42;
}

.sponsor-news-card {
  grid-template-rows: 1fr;
  min-height: 0;
  aspect-ratio: 358 / 213;
  padding: 0;
}

.sponsor-news-card picture,
.sponsor-news-card img {
  display: block;
  width: 100%;
  height: 100%;
}

.sponsor-news-card img {
  object-fit: cover;
}

.ad-bottom {
  aspect-ratio: 970 / 250;
  max-width: 970px;
  min-height: 0;
  justify-self: center;
}

.follow-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  overflow: hidden;
  border: 1px solid rgba(245, 196, 0, 0.28);
  border-radius: var(--radius);
  background:
    linear-gradient(105deg, rgba(14, 16, 13, 0.98), rgba(14, 16, 13, 0.92) 58%, rgba(245, 196, 0, 0.16)),
    repeating-linear-gradient(90deg, rgba(245, 196, 0, 0.045) 0 1px, transparent 1px 34px);
  padding: 28px 34px;
}

.follow-partner-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: 22px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(245, 196, 0, 0.2);
}

.follow-partner-cta[hidden] {
  display: none;
}

.follow-partner-cta p {
  max-width: 680px;
  color: var(--text);
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
}

.follow-partner-button {
  flex: 0 0 auto;
}

.follow-note {
  max-width: 760px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 760;
  line-height: 1.45;
}

.quiz-floating-button {
  position: fixed;
  left: 22px;
  bottom: 22px;
  z-index: 75;
  display: inline-flex;
  max-width: min(260px, calc(100vw - 44px));
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(245, 196, 0, 0.62);
  border-radius: 8px;
  background: var(--gold);
  color: #111;
  padding: 0 16px;
  font-size: 13px;
  font-weight: 950;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.34);
}

html[dir="rtl"] .quiz-floating-button {
  right: 22px;
  left: auto;
}

.__fq-trigger {
  position: fixed !important;
  left: 22px !important;
  bottom: 22px !important;
  z-index: 75 !important;
  max-width: min(260px, calc(100vw - 44px)) !important;
  min-height: 48px !important;
  border: 1px solid rgba(245, 196, 0, 0.62) !important;
  border-radius: 8px !important;
  padding: 0 16px !important;
  font-size: 13px !important;
  line-height: 1.1 !important;
  text-align: center !important;
  text-transform: uppercase !important;
}

html[dir="rtl"] .__fq-trigger {
  right: 22px !important;
  left: auto !important;
}

body:has(.__fq-overlay.--open) {
  overflow: auto !important;
}

.__fq-overlay {
  inset: auto auto 84px 22px !important;
  width: min(440px, calc(100vw - 44px)) !important;
  height: min(620px, calc(100svh - 124px)) !important;
  z-index: 76 !important;
  align-items: stretch !important;
  justify-content: stretch !important;
  background: transparent !important;
  padding: 0 !important;
  pointer-events: none !important;
}

html[dir="rtl"] .__fq-overlay {
  right: 22px !important;
  left: auto !important;
}

.__fq-modal {
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  max-height: none !important;
  border: 1px solid rgba(245, 196, 0, 0.36) !important;
  border-radius: 8px !important;
  background: rgba(3, 4, 3, 0.98) !important;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.5) !important;
  pointer-events: auto !important;
}

.__fq-iframe {
  border-radius: 8px !important;
}

.__fq-close {
  top: 8px !important;
  right: 8px !important;
  position: absolute !important;
}

.social-dock {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 70;
  display: grid;
  justify-items: end;
  gap: 10px;
  pointer-events: none;
}

html[dir="rtl"] .social-dock {
  right: auto;
  left: 22px;
  justify-items: start;
}

.social-dock-toggle {
  display: none;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(245, 196, 0, 0.44);
  border-radius: 999px;
  background: var(--gold);
  color: #111;
  font-size: 24px;
  font-weight: 950;
  pointer-events: auto;
}

.social-dock-panel {
  display: grid;
  gap: 8px;
  pointer-events: auto;
}

.social-link {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  min-width: 152px;
  min-height: 42px;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(245, 196, 0, 0.24);
  border-radius: 8px;
  background: rgba(12, 14, 12, 0.9);
  color: var(--text);
  padding: 4px 11px 4px 4px;
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.social-link.disabled {
  color: rgba(244, 239, 226, 0.56);
}

.social-mark {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #1d9bf0;
  color: #fff;
}

.social-mark svg {
  display: block;
  width: 21px;
  height: 21px;
  fill: currentColor;
}

.social-mark.telegram svg {
  width: 22px;
  height: 22px;
}

.social-mark.youtube {
  background: #ff0033;
}

.social-mark.youtube svg {
  width: 23px;
  height: 23px;
}

.social-mark.tiktok {
  background: #111;
  box-shadow: inset 2px 0 #25f4ee, inset -2px 0 #fe2c55;
}

.social-mark.tiktok svg {
  width: 20px;
  height: 20px;
}

.social-mark.facebook {
  background: #1877f2;
}

.social-mark.facebook svg {
  width: 24px;
  height: 24px;
}

.social-mark.instagram {
  background: linear-gradient(135deg, #feda75, #fa7e1e 28%, #d62976 58%, #962fbf 78%, #4f5bd5);
}

.match-modal[hidden] {
  display: none;
}

.match-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 14px;
}

.match-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.76);
  backdrop-filter: blur(12px);
}

.adblock-modal[hidden] {
  display: none;
}

.adblock-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 16px;
}

.adblock-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(10px);
}

.adblock-dialog {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(92vw, 420px);
  gap: 14px;
  border: 1px solid rgba(245, 196, 0, 0.34);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.62);
  padding: 22px;
}

.adblock-dialog h2,
.adblock-dialog p {
  margin: 0;
}

.adblock-dialog h2 {
  color: var(--gold);
  font-size: 22px;
  font-weight: 950;
}

.adblock-dialog p {
  color: var(--muted);
  font-size: 14px;
  font-weight: 760;
  line-height: 1.45;
}

.match-detail {
  position: relative;
  z-index: 1;
  width: min(980px, calc(100vw - 28px));
  max-height: min(760px, calc(100svh - 28px));
  overflow: auto;
  border: 1px solid rgba(245, 196, 0, 0.3);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(245, 196, 0, 0.08), transparent 190px),
    var(--surface);
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.68);
  padding: 24px;
}

.detail-panel {
  display: grid;
  gap: 10px;
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(244, 239, 226, 0.035);
  padding: 14px;
}

.detail-panel h4 {
  margin: 0;
  color: var(--gold);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.live-status-bar {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  border: 1px solid rgba(255, 83, 72, 0.34);
  border-radius: 8px;
  background: rgba(255, 83, 72, 0.1);
  color: var(--text);
  padding: 10px 12px;
}

.live-status-bar strong {
  color: #ffe0de;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0;
}

.live-status-bar span {
  min-width: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  text-align: right;
}

.live-status-bar.finished {
  border-color: rgba(101, 217, 144, 0.34);
  background: rgba(101, 217, 144, 0.1);
}

.live-status-bar.finished strong {
  color: #d7f9e3;
}

.prematch-panel {
  display: grid;
  gap: 12px;
  margin-top: 12px;
  border: 1px solid rgba(245, 196, 0, 0.24);
  border-radius: 8px;
  background: rgba(245, 196, 0, 0.06);
  padding: 14px;
}

.prematch-countdown,
.prematch-grid {
  display: grid;
  gap: 8px;
}

.prematch-countdown span,
.prematch-grid span {
  color: var(--dim);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.prematch-countdown strong {
  color: var(--gold);
  font-size: 20px;
  font-weight: 950;
}

.prematch-grid {
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}

.prematch-grid div {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.prematch-grid strong,
.prematch-panel p {
  margin: 0;
  color: var(--text);
  font-size: 12px;
  font-weight: 850;
}

.detail-accordion {
  margin-top: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(244, 239, 226, 0.035);
}

.detail-accordion summary {
  display: flex;
  min-height: 46px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  color: var(--gold);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.13em;
  list-style: none;
  padding: 14px;
  text-transform: uppercase;
}

.detail-accordion summary::-webkit-details-marker {
  display: none;
}

.detail-accordion-icon {
  display: grid;
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(245, 196, 0, 0.24);
  border-radius: 50%;
  color: var(--text);
  font-size: 13px;
  line-height: 1;
  transition: transform 0.18s ease;
}

.detail-accordion[open] .detail-accordion-icon {
  transform: rotate(180deg);
}

.detail-accordion-body {
  display: grid;
  gap: 10px;
  padding: 0 14px 14px;
}

.detail-empty {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.event-list,
.event-timeline,
.stat-list,
.fact-list {
  display: grid;
  gap: 8px;
}

.event-timeline {
  position: relative;
  gap: 10px;
  padding-left: 10px;
}

.event-timeline::before {
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 58px;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(245, 196, 0, 0.5), transparent);
  content: "";
}

.lineup-collapse {
  padding: 0;
}

.lineup-collapse summary {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  color: var(--gold);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.13em;
  list-style: none;
  padding: 14px;
  text-transform: uppercase;
}

.lineup-collapse summary::-webkit-details-marker {
  display: none;
}

.lineup-collapse-icon {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border: 1px solid rgba(245, 196, 0, 0.24);
  border-radius: 50%;
  color: var(--text);
  font-size: 13px;
  line-height: 1;
  transition: transform 0.18s ease;
}

.lineup-collapse[open] .lineup-collapse-icon {
  transform: rotate(180deg);
}

.lineup-collapse .formation-grid {
  padding: 0 14px 14px;
}

.fact-collapse .fact-list {
  padding: 0 14px 14px;
}

.fact-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
}

.fact-card {
  display: grid;
  gap: 7px;
  min-width: 0;
  border: 1px solid rgba(244, 239, 226, 0.1);
  border-radius: 7px;
  background: rgba(0, 0, 0, 0.22);
  padding: 12px;
}

.fact-card span {
  width: max-content;
  max-width: 100%;
  border: 1px solid rgba(245, 196, 0, 0.24);
  border-radius: 999px;
  color: var(--gold);
  font-size: 9px;
  font-weight: 950;
  letter-spacing: 0.08em;
  padding: 3px 7px;
  text-transform: uppercase;
}

.fact-card strong {
  min-width: 0;
  overflow: hidden;
  color: var(--text);
  font-size: 13px;
  font-weight: 950;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fact-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.38;
}

.fact-card.h2h,
.fact-card.first-score {
  background: linear-gradient(135deg, rgba(245, 196, 0, 0.11), rgba(0, 0, 0, 0.22));
}

.formation-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.formation-team {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.formation-title {
  min-width: 0;
  overflow: hidden;
  color: var(--text);
  font-size: 12px;
  font-weight: 950;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.formation-pitch {
  position: relative;
  justify-self: center;
  width: min(100%, 620px);
  aspect-ratio: 5 / 7;
  min-height: 0;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(244, 239, 226, 0.16);
  background:
    linear-gradient(rgba(244, 239, 226, 0.13), rgba(244, 239, 226, 0.13)) 50% 50% / 100% 1px no-repeat,
    radial-gradient(circle at 50% 50%, transparent 0 38px, rgba(244, 239, 226, 0.12) 39px 40px, transparent 41px),
    repeating-linear-gradient(90deg, rgba(22, 92, 58, 0.98) 0 13%, rgba(19, 78, 51, 0.98) 13% 26%);
  box-shadow: inset 0 0 0 2px rgba(244, 239, 226, 0.05);
}

.formation-pitch::before,
.formation-pitch::after {
  position: absolute;
  left: 26%;
  width: 48%;
  height: 13%;
  border: 1px solid rgba(244, 239, 226, 0.16);
  content: "";
  pointer-events: none;
}

.formation-pitch::before {
  top: -1px;
  border-top: 0;
}

.formation-pitch::after {
  bottom: -1px;
  border-bottom: 0;
}

.formation-player {
  position: absolute;
  display: grid;
  width: 132px;
  justify-items: center;
  gap: 4px;
  transform: translate(-50%, -50%);
}

.formation-slot-1,
.formation-fallback-1 {
  left: 50%;
  top: 88%;
}

.formation-slot-2,
.formation-fallback-2 {
  left: 82%;
  top: 72%;
}

.formation-slot-3,
.formation-fallback-3 {
  left: 61%;
  top: 77%;
}

.formation-slot-4,
.formation-fallback-4 {
  left: 39%;
  top: 77%;
}

.formation-slot-5,
.formation-fallback-5 {
  left: 18%;
  top: 72%;
}

.formation-slot-6,
.formation-fallback-6 {
  left: 50%;
  top: 58%;
}

.formation-slot-7,
.formation-fallback-7 {
  left: 72%;
  top: 45%;
}

.formation-slot-8,
.formation-fallback-8 {
  left: 28%;
  top: 45%;
}

.formation-slot-9,
.formation-fallback-9 {
  left: 50%;
  top: 12%;
}

.formation-slot-10,
.formation-fallback-10 {
  left: 32%;
  top: 31%;
}

.formation-slot-11,
.formation-fallback-11 {
  left: 68%;
  top: 31%;
}

.formation-photo {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  overflow: hidden;
  border: 2px solid rgba(245, 196, 0, 0.82);
  border-radius: 50%;
  background:
    linear-gradient(180deg, rgba(245, 196, 0, 0.18), rgba(245, 196, 0, 0.04)),
    rgba(0, 0, 0, 0.42);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.42);
}

.formation-number,
.formation-avatar {
  width: 100%;
  height: 100%;
  color: var(--gold);
  font-size: 18px;
  font-weight: 950;
}

.formation-number {
  display: grid;
  place-items: center;
}

.formation-avatar {
  display: block;
  object-fit: cover;
}

.formation-caption {
  display: flex;
  align-items: center;
  width: 132px;
  min-height: 32px;
  border: 1px solid rgba(244, 239, 226, 0.16);
  border-radius: 5px;
  background: rgba(0, 0, 0, 0.64);
  color: var(--text);
  font-size: 10px;
  font-weight: 900;
  line-height: 1.05;
}

.formation-caption span {
  min-width: 0;
  padding-right: 4px;
  overflow-wrap: anywhere;
}

.formation-caption b {
  flex: 0 0 auto;
  width: 19px;
  margin-right: 4px;
  border-right: 1px solid rgba(244, 239, 226, 0.16);
  color: var(--gold);
  font-size: 10px;
  text-align: center;
}

.event-row,
.stat-row,
.fact-row {
  border: 1px solid rgba(244, 239, 226, 0.08);
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.18);
}

.event-row {
  display: grid;
  grid-template-columns: 42px 34px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  padding: 9px 10px;
}

.timeline-event {
  position: relative;
  display: grid;
  grid-template-columns: 42px 34px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(244, 239, 226, 0.08);
  border-radius: 6px;
  background: linear-gradient(90deg, rgba(245, 196, 0, 0.08), rgba(0, 0, 0, 0.2));
  padding: 10px;
}

.timeline-event.away {
  background: linear-gradient(90deg, rgba(244, 239, 226, 0.035), rgba(0, 0, 0, 0.2));
}

.event-minute,
.event-icon,
.timeline-minute,
.timeline-marker {
  color: var(--gold);
  font-size: 12px;
  font-weight: 950;
}

.event-icon,
.timeline-marker {
  display: grid;
  min-width: 28px;
  min-height: 28px;
  place-items: center;
  border: 1px solid var(--gold-line);
  border-radius: 50%;
  background: rgba(245, 196, 0, 0.1);
  font-size: 11px;
}

.event-body {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.event-body strong,
.fact-row strong {
  min-width: 0;
  overflow: hidden;
  color: var(--text);
  font-size: 13px;
  font-weight: 950;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.event-body em,
.fact-row span {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
  line-height: 1.35;
}

.stat-row {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) 54px;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  text-align: center;
}

.stat-row strong {
  color: var(--text);
  font-size: 13px;
  font-weight: 950;
}

.stat-row span {
  min-width: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.fact-row {
  display: grid;
  gap: 4px;
  padding: 10px;
}

.detail-close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(244, 239, 226, 0.055);
  color: var(--text);
  cursor: pointer;
  font: inherit;
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
}

.detail-close:hover,
.detail-close:focus-visible {
  border-color: var(--gold-line);
  background: rgba(245, 196, 0, 0.1);
}

.detail-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: var(--space-4);
  margin-top: var(--space-3);
  padding-right: 46px;
}

.detail-head h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 9px 0 0;
  color: var(--text);
  font-family: var(--font-display);
  font-size: clamp(22px, 4vw, 34px);
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
}

.detail-scoreboard-shell {
  display: grid;
  gap: 13px;
  margin-top: 14px;
  border: 1px solid rgba(245, 196, 0, 0.26);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(245, 196, 0, 0.12), transparent 46%),
    rgba(3, 4, 3, 0.48);
  padding: 18px;
}

.detail-scorebar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(138px, auto) minmax(0, 1fr);
  align-items: center;
  gap: 18px;
}

.detail-score-team {
  display: grid;
  min-width: 0;
  justify-items: center;
  gap: 9px;
  color: var(--text);
  font-family: var(--font-display);
  font-size: clamp(16px, 2.8vw, 26px);
  font-weight: 950;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

.detail-score-team .team-logo {
  width: 58px;
  height: 58px;
}

.detail-score-team strong {
  max-width: 100%;
  overflow-wrap: anywhere;
}

.detail-score-center {
  display: grid;
  justify-items: center;
  gap: 7px;
}

.detail-score-status {
  width: max-content;
}

.detail-score-time {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  text-align: center;
}

.detail-score-venue {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  justify-content: center;
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
}

.detail-score-venue span {
  min-width: 0;
  border: 1px solid rgba(244, 239, 226, 0.09);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.22);
  padding: 5px 8px;
}

.detail-scoreboard {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  margin-top: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(3, 4, 3, 0.4);
  padding: 18px;
}

.detail-team {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 950;
  text-transform: uppercase;
}

.detail-team.away {
  justify-content: flex-end;
  text-align: right;
}

.detail-team span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.detail-score {
  color: var(--gold);
  font-family: var(--font-display);
  font-size: clamp(42px, 8vw, 68px);
  font-weight: 950;
  line-height: 0.9;
  white-space: nowrap;
}

.melbet-odds {
  display: grid;
  gap: 10px;
  margin-top: 12px;
  border: 1px solid rgba(245, 196, 0, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(245, 196, 0, 0.12), rgba(245, 196, 0, 0.025)),
    rgba(0, 0, 0, 0.22);
  padding: 12px;
}

.melbet-odds-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.melbet-odds-head strong {
  color: var(--gold);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.melbet-odds-market {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
}

.melbet-odds-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 8px;
}

.melbet-odd {
  display: grid;
  gap: 5px;
  min-width: 0;
  border: 1px solid rgba(244, 239, 226, 0.1);
  border-radius: 7px;
  background: rgba(0, 0, 0, 0.28);
  padding: 9px 10px;
  text-align: center;
  text-decoration: none;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.melbet-odd:hover,
.melbet-odd:focus-visible {
  border-color: rgba(245, 196, 0, 0.48);
  background: rgba(245, 196, 0, 0.09);
  transform: translateY(-1px);
}

.melbet-odd span {
  min-width: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.melbet-odd strong {
  color: var(--text);
  font-size: 19px;
  font-weight: 950;
}

.detail-meta-lines {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px 16px;
  margin-top: 16px;
}

.detail-statline {
  min-height: 48px;
  margin-top: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(244, 239, 226, 0.045);
  color: var(--text);
  font-size: 14px;
  font-weight: 820;
  line-height: 1.45;
  padding: 14px;
}

.detail-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  margin-top: 16px;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.detail-actions-top {
  display: grid;
  justify-items: center;
  justify-content: center;
  margin-top: 14px;
  margin-bottom: 14px;
  text-align: center;
}

.detail-actions-top .detail-streams {
  width: min(100%, 620px);
  margin-inline: auto;
}

.detail-actions-top .stream-entry-actions {
  width: 100%;
  justify-content: center;
}

.detail-stream {
  margin-top: 0;
  min-height: 46px;
  padding-inline: 18px;
}

.detail-sponsor {
  width: min(100%, 335px);
  aspect-ratio: 335 / 46;
  margin: 16px auto 0;
  border-radius: 6px;
}

.detail-sponsor img {
  height: 100%;
}

.skeleton-card {
  pointer-events: none;
}

.skeleton-block,
.skeleton-inline,
.skeleton-pill {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  background: rgba(244, 239, 226, 0.08);
}

.skeleton-block::after,
.skeleton-inline::after,
.skeleton-pill::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 18%, rgba(244, 239, 226, 0.25) 48%, transparent 78%);
  transform: translateX(-100%);
  animation: skeleton-shimmer 1.4s ease-in-out infinite;
}

.skeleton-inline {
  display: block;
  height: 10px;
}

.skeleton-pill {
  width: 76px;
  height: 24px;
  border-radius: 999px;
}

.skeleton-text {
  margin-top: 8px;
}

.skeleton-meta {
  display: block;
}

.w-36 {
  width: 36%;
}

.w-40 {
  width: 40%;
}

.w-52 {
  width: 52%;
}

.w-84 {
  width: 84%;
}

.w-88 {
  width: 88%;
}

.w-92 {
  width: 92%;
}

@keyframes skeleton-shimmer {
  100% {
    transform: translateX(100%);
  }
}

.news-empty {
  min-height: 90px;
}

.news-detail-image {
  display: block;
  width: min(100%, 720px);
  max-height: 260px;
  margin-top: 16px;
  border-radius: 6px;
  background: rgba(244, 239, 226, 0.055);
  object-fit: contain;
}

.news-detail-meta {
  margin-top: 16px;
}

.news-detail h3 {
  margin: 10px 0 0;
  color: var(--text);
  font-family: var(--font-display);
  font-size: clamp(24px, 4vw, 38px);
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
}

.news-detail p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 760;
  line-height: 1.55;
}

.story-page {
  min-height: 70svh;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(245, 196, 0, 0.1), transparent 250px),
    var(--surface);
  padding: clamp(22px, 5vw, 54px);
}

.story-back {
  display: inline-flex;
  margin-bottom: 24px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.story-page h1 {
  max-width: 820px;
  margin-top: 14px;
  color: var(--text);
  font-family: var(--font-display);
  font-size: clamp(34px, 6vw, 64px);
  font-weight: 950;
  line-height: 0.98;
  text-transform: uppercase;
}

.story-meta {
  margin-top: 18px;
}

.story-image {
  display: block;
  width: min(100%, 760px);
  max-height: 340px;
  margin-top: 28px;
  border-radius: var(--radius);
  background: rgba(244, 239, 226, 0.055);
  object-fit: contain;
}

.story-lead {
  max-width: 760px;
  margin-top: 28px;
  color: var(--text);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 850;
  line-height: 1.45;
}

.story-paragraph {
  max-width: 760px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 17px;
  font-weight: 720;
  line-height: 1.62;
}

.story-note {
  max-width: 680px;
  margin-top: 18px;
  color: var(--dim);
  font-size: 13px;
  font-weight: 760;
  line-height: 1.5;
}

.story-page .button {
  margin-top: 28px;
}

@media (max-width: 1540px) {
  .hero-card {
    grid-template-columns: 1fr;
  }

  .ad-hero {
    display: none;
  }

  .ad-hero-mobile {
    display: grid;
    aspect-ratio: 336 / 280;
    max-width: 336px;
    min-height: 0;
    justify-self: center;
  }

  .schedule-layout {
    grid-template-columns: 1fr;
  }

  .ad-rail {
    display: none;
    margin-top: 0;
  }
}

@media (max-width: 1100px) {
  .match-sponsor {
    aspect-ratio: 1870 / 245;
  }

  .sponsor-footer {
    aspect-ratio: 1194 / 66;
  }

  .sponsor-news-card {
    aspect-ratio: 349 / 178;
  }
}

@media (max-width: 760px) {
  .frame {
    width: calc(100% - 24px);
    max-width: 560px;
  }

  .topbar-inner {
    display: flex;
    min-height: 72px;
    justify-content: space-between;
  }

  .brand-mark,
  .brand-mark img {
    width: 54px;
    height: 54px;
  }

  .nav {
    display: none;
  }

  .locale {
    min-height: 38px;
    padding: 0 12px;
  }

  .page-stack {
    gap: 18px;
    padding-top: 12px;
  }

  .ad-top {
    min-height: 70px;
  }

  .match-sponsor {
    aspect-ratio: 1870 / 245;
  }

  .match-sponsor-link {
    display: none;
  }

  .hero-mobile-sponsor-link {
    display: block;
    margin-top: 18px;
  }

  .hero-mobile-sponsor {
    border-radius: 7px;
  }

  .sponsor-footer {
    aspect-ratio: 557 / 96;
  }

  .broadcast-panel {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .broadcast-copy {
    padding: 22px 18px 14px;
  }

  .hero-card h1 {
    margin-top: 11px;
    font-size: clamp(28px, 8.6vw, 34px);
    max-width: 100%;
  }

  .hero-text {
    max-width: 285px;
    margin-top: 14px;
    font-size: 14px;
    overflow-wrap: break-word;
  }

  .hero-actions {
    margin-top: 17px;
  }

  .broadcast-board {
    justify-self: stretch;
    width: auto;
    margin: 0 18px 18px;
  }

  .board-brand {
    font-size: 24px;
  }

  .next-match-live {
    margin-top: 13px;
    padding: 12px;
  }

  .next-match-live strong {
    font-size: 30px;
  }

  .board-strip span {
    font-size: 9px;
  }

  .board-strip {
    grid-template-columns: 1fr;
  }

  .section-heading,
  .follow-band,
  .detail-footer {
    display: grid;
    gap: var(--space-3);
  }

  .follow-partner-cta {
    display: grid;
    gap: var(--space-3);
  }

  .refresh-button,
  .follow-band .button,
  .follow-partner-button {
    width: 100%;
  }

  .match-card {
    grid-template-columns: 1fr;
    gap: 12px;
    min-height: 136px;
    padding: 15px;
  }

  .match-card.has-streams {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-bottom: 15px;
  }

  .match-time {
    grid-template-columns: 1fr;
  }

  .match-teams {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .match-vs:not(.match-score) {
    display: none;
  }

  .match-score {
    justify-self: start;
  }

  .team-side:last-child {
    justify-content: flex-start;
    text-align: left;
  }

  html[dir="rtl"] .team-side:last-child {
    justify-content: flex-end;
    text-align: right;
  }

  .match-actions {
    justify-items: start;
  }

  .stream-entry.match-stream-buttons {
    grid-column: 1 / -1;
    width: 100%;
    margin-top: 0;
    padding: 12px;
  }

  .news-grid {
    grid-auto-columns: minmax(246px, 84%);
  }

  .sponsor-news-card {
    aspect-ratio: 310 / 134;
  }

  .detail-sponsor {
    width: min(100%, 299px);
    aspect-ratio: 299 / 46;
  }

  .ad-bottom {
    max-width: 100%;
  }

  .quiz-floating-button {
    right: auto;
    left: 12px;
    bottom: 12px;
    max-width: calc(100vw - 86px);
    min-height: 44px;
    padding: 0 12px;
    font-size: 11px;
  }

  html[dir="rtl"] .quiz-floating-button {
    right: 12px;
    left: auto;
  }

  .__fq-trigger {
    right: auto !important;
    left: 12px !important;
    bottom: 12px !important;
    max-width: calc(100vw - 86px) !important;
    min-height: 44px !important;
    padding: 0 12px !important;
    font-size: 11px !important;
  }

  html[dir="rtl"] .__fq-trigger {
    right: 12px !important;
    left: auto !important;
  }

  .__fq-overlay {
    inset: auto auto 68px 12px !important;
    width: min(420px, calc(100vw - 24px)) !important;
    height: min(560px, calc(100svh - 92px)) !important;
  }

  html[dir="rtl"] .__fq-overlay {
    right: 12px !important;
    left: auto !important;
  }

  .social-dock {
    right: 12px;
    bottom: 12px;
    z-index: 95;
  }

  html[dir="rtl"] .social-dock {
    right: auto;
    left: 12px;
  }

  .social-dock-toggle {
    display: inline-flex;
  }

  .social-dock-panel {
    display: none;
    max-width: min(220px, calc(100vw - 24px));
  }

  .social-dock.open .social-dock-panel {
    display: grid;
  }

  .match-detail {
    padding: 20px;
  }

  .detail-head {
    display: grid;
    padding-right: 42px;
  }

  .detail-scorebar {
    grid-template-areas:
      "home away"
      "score score";
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 10px 12px;
  }

  .detail-score-team {
    display: flex;
    align-items: center;
    justify-items: start;
    gap: 6px;
    font-size: clamp(12px, 3.6vw, 15px);
    text-align: left;
    white-space: nowrap;
  }

  .detail-score-team.home {
    grid-area: home;
  }

  .detail-score-center {
    grid-area: score;
  }

  .detail-score-team.away {
    grid-area: away;
    justify-content: flex-end;
    text-align: right;
  }

  .detail-score-team.away .team-logo {
    order: 2;
  }

  .detail-score-team.away strong {
    order: 1;
    text-align: right;
  }

  .detail-score-team strong {
    min-width: 0;
    overflow: hidden;
    line-height: 1.05;
    text-align: left;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .detail-score-team .team-logo {
    width: 34px;
    height: 34px;
  }

  .detail-scoreboard {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .detail-team.away {
    justify-content: flex-start;
    text-align: left;
  }

  .detail-score {
    font-size: clamp(34px, 10vw, 46px);
  }

  .detail-meta-lines {
    grid-template-columns: 1fr;
  }

  .stream-entry.match-stream-buttons,
  .stream-entry.detail-streams,
  .stream-entry-actions,
  .stream-button {
    width: 100%;
  }

  .stream-entry.match-stream-buttons,
  .stream-entry.detail-streams {
    grid-template-columns: 1fr;
    justify-items: stretch;
  }

  .match-stream-buttons .stream-entry-label,
  .match-stream-buttons .stream-entry-actions {
    grid-column: 1;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .formation-grid {
    grid-template-columns: 1fr;
  }

  .formation-pitch {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    aspect-ratio: auto;
    gap: 8px;
    min-height: 0;
    padding: 10px;
  }

  .formation-player {
    position: static;
    display: flex;
    width: auto;
    min-width: 0;
    align-items: center;
    justify-items: stretch;
    gap: 7px;
    transform: none;
  }

  .formation-photo {
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
  }

  .formation-caption {
    width: auto;
    max-width: none;
    min-height: 42px;
    flex: 1 1 auto;
  }

  .detail-actions {
    justify-content: stretch;
  }

  .detail-actions .button,
  .detail-actions .stream-button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
