:root {
  --green-900: #123f28;
  --green-800: #1f6f43;
  --green-700: #287a49;
  --green-100: #e8f5ec;
  --yellow: #f6c945;
  --yellow-soft: #fff4c9;
  --ink: #15231a;
  --muted: #69786e;
  --line: #dfe8e2;
  --panel: #ffffff;
  --page: #f4f8f5;
  --shadow: 0 18px 50px rgba(18, 63, 40, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--page);
  font-family: Inter, Arial, sans-serif;
}

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

button {
  font: inherit;
}

.top-match-strip {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  min-height: 42px;
  color: #fff;
  background: linear-gradient(90deg, #0f3a25 0%, #1f6f43 34%, #143f56 58%, #6a571b 78%, #3f173a 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.top-match-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 100%;
  padding: 0 18px;
  color: var(--yellow);
  background: rgba(15, 58, 37, 0.72);
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.top-match-label img {
  width: 24px;
  height: 28px;
  object-fit: contain;
  flex: 0 0 auto;
}

.top-match-window {
  min-width: 0;
  overflow: hidden;
}

.top-match-track {
  display: flex;
  width: max-content;
  gap: 8px;
  padding: 6px 10px;
  animation: matchTicker 32s linear infinite;
}

.top-match-track:hover {
  animation-play-state: paused;
}

.top-match-card {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 30px;
  padding: 0 12px;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  white-space: nowrap;
}

.top-match-card span {
  color: var(--yellow);
  font-size: 12px;
  font-weight: 900;
}

.top-match-card strong {
  font-size: 13px;
}

.top-match-card small {
  color: rgba(255, 255, 255, 0.66);
  font-size: 12px;
  font-weight: 900;
}

.top-match-card em {
  font-style: normal;
  font-size: 13px;
  font-weight: 800;
}

@keyframes matchTicker {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: block;
  min-height: 90px;
  padding: 10px clamp(18px, 4vw, 56px);
  background:
    linear-gradient(90deg, var(--green-900), var(--green-800) 52%, #17462e),
    var(--green-900);
  border-bottom: 1px solid rgba(246, 201, 69, 0.3);
  backdrop-filter: blur(14px);
}

.header-actions {
  position: absolute;
  top: 50%;
  right: clamp(18px, 4vw, 56px);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transform: translateY(-50%);
}

.header-actions span,
.header-actions a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 11px;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.header-actions a {
  color: var(--green-900);
  background: var(--yellow);
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
}

.brand img {
  width: 146px;
  height: 58px;
  object-fit: contain;
  overflow: hidden;
  background: transparent;
  border: 0;
  border-radius: 999px;
  box-shadow: none;
  flex: 0 0 auto;
}

.site-footer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.main-nav {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  width: min(850px, calc(100% - 260px));
  max-width: 850px;
  min-height: 68px;
  margin: 0 auto;
  padding: 5px 30px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 14px 34px rgba(9, 50, 31, 0.16);
}

.nav-side {
  display: flex;
  align-items: center;
  gap: 14px;
  width: fit-content;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 999px;
}

.nav-left {
  justify-content: flex-end;
  justify-self: end;
}

.nav-right {
  justify-content: flex-start;
  justify-self: start;
}

.main-nav a {
  position: relative;
  padding: 10px 14px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: none;
  border-radius: 999px;
  white-space: nowrap;
}

.main-nav .nav-emphasis {
  font-size: 15.6px;
}

.main-nav a:not(.brand)::after {
  display: none;
}

.main-nav a:hover {
  background: var(--yellow);
  color: var(--green-900);
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  padding: 9px;
  background: var(--green-900);
  border: 0;
  border-radius: 8px;
}

.menu-button span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: #fff;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 520px);
  gap: clamp(18px, 4vw, 50px);
  align-items: center;
  min-height: 35vh;
  padding: clamp(18px, 3vw, 34px) clamp(18px, 5vw, 72px);
  color: #fff;
  background:
    linear-gradient(125deg, rgba(18, 63, 40, 0.96), rgba(31, 111, 67, 0.88)),
    url("assets/logo-90plus.png") center / cover;
}

.hero h1 {
  margin: 0 0 10px;
  font-size: clamp(58px, 7.2vw, 96px);
  line-height: 0.85;
  letter-spacing: 0;
}

.hero p {
  max-width: 660px;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(15px, 1.45vw, 19px);
  line-height: 1.5;
}

.hero p br {
  display: block;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--green-700);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--yellow);
}

.hero-actions,
.store-buttons,
.score-filters,
.date-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

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

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  font-weight: 800;
  border-radius: 8px;
}

.primary-action {
  color: var(--green-900);
  background: var(--yellow);
}

.secondary-action {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.32);
}

.hero-slider,
.sidebar,
.scores-panel,
.standings-panel,
.lead-news,
.news-card,
.app-section {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-slider {
  position: relative;
  overflow: hidden;
  height: 350px;
  min-height: 0;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(18, 63, 40, 0.98), rgba(31, 111, 67, 0.95)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0 56px, rgba(255, 255, 255, 0.02) 56px 112px);
}

.slide-track {
  display: flex;
  width: calc(var(--slide-count, 3) * 100%);
  height: 100%;
  animation: heroSlide var(--slide-duration, 36s) linear infinite;
}

.hero-slide {
  display: grid;
  align-content: center;
  flex: 0 0 calc(100% / var(--slide-count, 3));
  height: 100%;
  min-height: 0;
  padding: clamp(16px, 2.4vw, 26px);
  background:
    linear-gradient(120deg, rgba(18, 63, 40, 0.98), rgba(31, 111, 67, 0.88)),
    radial-gradient(circle at 85% 24%, rgba(246, 201, 69, 0.24), transparent 30%);
}

.hero-news-slide {
  position: relative;
  align-content: end;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  text-decoration: none;
  background-size: cover;
  background-position: center;
  background-blend-mode: multiply;
}

.hero-news-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(8, 46, 29, 0.98) 0%, rgba(12, 61, 38, 0.94) 52%, rgba(22, 91, 52, 0.86) 100%),
    radial-gradient(circle at 92% 18%, rgba(246, 201, 69, 0.18), transparent 34%);
}

.hero-news-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(8, 38, 24, 0.94), rgba(8, 38, 24, 0.78) 58%, rgba(8, 38, 24, 0.32)),
    linear-gradient(180deg, rgba(8, 38, 24, 0.18), rgba(8, 38, 24, 0.86));
}

.hero-news-slide p {
  max-width: 88%;
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
  line-height: 1.45;
}

.hero-news-slide h2 {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
}

.hero-ad-slide {
  position: relative;
  align-content: center;
  justify-items: start;
  gap: 12px;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  text-decoration: none;
}

.hero-ad-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 84% 18%, rgba(246, 201, 69, 0.3), transparent 28%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.11), transparent 48%);
}

.hero-ad-partner {
  background: linear-gradient(135deg, #245f48, #347b50);
}

.hero-ad-matchday {
  background: linear-gradient(135deg, #064f45, #0b7559);
}

.hero-ad-showcase {
  background: linear-gradient(135deg, #0c713c, #159451);
}

.hero-ad-label {
  width: fit-content;
  padding: 7px 10px;
  color: var(--green-900);
  background: var(--yellow);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-ad-slide h2 {
  max-width: 92%;
  margin: 0;
  color: #fff;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.02;
}

.hero-ad-slide p {
  max-width: 82%;
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(14px, 1.5vw, 17px);
  font-weight: 700;
  line-height: 1.4;
}

.hero-ad-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  margin-top: 4px;
  padding: 0 18px;
  color: var(--green-900);
  background: #dff4e7;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 900;
}

.hero-slider:hover .slide-track {
  animation-play-state: paused;
}

.agenda-slide {
  align-content: center;
}

.agenda-kicker {
  width: fit-content;
  padding: 6px 8px;
  color: var(--green-900);
  background: var(--yellow);
  border-radius: 8px;
  font-size: 11px;
  font-weight: 900;
}

.agenda-slide h2 {
  max-width: 92%;
  margin: 12px 0 14px;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.24);
  font-size: clamp(24px, 2.5vw, 34px);
  line-height: 1.12;
}

.agenda-list {
  display: grid;
  gap: 9px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.agenda-list li {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  position: relative;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
}

.agenda-list li::before {
  content: "";
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 0;
  width: 3px;
  background: var(--yellow);
  border-radius: 0 6px 6px 0;
}

.agenda-list strong {
  color: var(--yellow);
  font-size: 13px;
}

.agenda-list span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  line-height: 1.35;
}

.slide-dots {
  position: absolute;
  right: 18px;
  bottom: 16px;
  display: flex;
  gap: 7px;
}

.slide-dots span {
  width: 9px;
  height: 9px;
  background: var(--yellow);
  border-radius: 999px;
  opacity: 0.35;
}

.slide-dots span:first-child {
  opacity: 1;
}

@keyframes heroSlide {
  0%,
  28% {
    transform: translateX(0);
  }

  33%,
  61% {
    transform: translateX(-33.333333%);
  }

  66%,
  94% {
    transform: translateX(-66.666667%);
  }

  100% {
    transform: translateX(0);
  }
}

.api-note {
  padding: 9px 10px;
  color: var(--green-900);
  background: var(--yellow-soft);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
}

.news-ticker {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  color: #fff;
  background: linear-gradient(90deg, var(--green-900), var(--green-800), #155f3c);
  overflow: hidden;
}

.news-ticker {
  padding: 10px clamp(18px, 5vw, 72px);
}

.news-ticker strong {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  color: var(--yellow);
  background: rgba(18, 63, 40, 0.58);
  border: 1px solid rgba(246, 201, 69, 0.22);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

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

.news-ticker-track {
  display: flex;
  width: max-content;
  gap: 10px;
  animation: newsTicker 34s linear infinite;
}

.news-ticker-track:hover {
  animation-play-state: paused;
}

.news-ticker-track a {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.news-ticker-track a:hover {
  color: var(--green-900);
  background: var(--yellow);
  border-color: var(--yellow);
}

@keyframes newsTicker {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.layout-shell {
  display: grid;
  grid-template-columns: 275px minmax(0, 1fr) 350px;
  gap: 18px;
  padding: clamp(20px, 4vw, 44px) clamp(18px, 5vw, 72px);
}

.center-stack {
  display: grid;
  align-self: start;
  gap: 14px;
  min-width: 0;
}

.sidebar,
.scores-panel,
.standings-panel {
  align-self: start;
  padding: 16px;
}

.panel-title,
.panel-heading,
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

h2,
h3 {
  margin: 0;
}

.panel-title h2,
.panel-heading h2,
.section-heading h2 {
  font-size: 22px;
}

.panel-title span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.league {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 42px;
  margin-top: 9px;
  padding: 8px 10px;
  color: #314338;
  background: linear-gradient(135deg, #ffffff, #f3faf5);
  border: 1px solid #dbe9df;
  border-radius: 8px;
  box-shadow: 0 8px 18px rgba(18, 63, 40, 0.05);
  cursor: pointer;
  font-weight: 800;
  text-align: left;
}

.league .league-logo {
  display: grid;
  place-items: center;
  width: 38px;
  height: 34px;
  min-width: 38px;
  max-width: 38px;
  color: var(--green-900);
  background: var(--green-100);
  border: 1px solid #d8e7dd;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 900;
  flex: 0 0 auto;
}

.league .league-logo img {
  display: block;
  width: auto;
  height: auto;
  max-width: 28px;
  max-height: 26px;
  object-fit: contain;
}

.league .league-logo-large img {
  max-width: 34px;
  max-height: 31px;
}

.league .league-logo-text {
  background: var(--yellow-soft);
  font-size: 9.5px;
}

.league.active,
.league:hover {
  color: var(--green-900);
  background: linear-gradient(135deg, #e6f5eb, #f8fff9);
  border-color: #c7ddce;
  box-shadow: 0 10px 22px rgba(18, 63, 40, 0.1);
}

.sidebar-ads {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.sidebar-ad {
  position: relative;
  overflow: hidden;
  min-height: 220px;
  padding: 18px 16px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  box-shadow: 0 18px 38px rgba(18, 63, 40, 0.12);
}

.sidebar-ad::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 82% 18%, rgba(246, 201, 69, 0.32), transparent 28%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.14), transparent 50%);
  pointer-events: none;
}

.sidebar-ad span,
.sidebar-ad h3,
.sidebar-ad p,
.sidebar-ad a {
  position: relative;
  z-index: 1;
}

.sidebar-ad span {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--yellow);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.sidebar-ad h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.05;
}

.sidebar-ad p {
  margin: 0;
  max-width: 190px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 13px;
  line-height: 1.35;
  font-weight: 700;
}

.sidebar-ad a {
  position: absolute;
  right: 14px;
  bottom: 14px;
  left: 14px;
  display: grid;
  height: 38px;
  place-items: center;
  color: #073321;
  background: #d8f0e1;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.sidebar-ad-primary {
  background: linear-gradient(150deg, #0f4c34, #227044);
}

.sidebar-ad-secondary {
  background: linear-gradient(150deg, #07493e, #0f7a53);
}

.mobile-league-filter {
  display: none;
}

.panel-heading {
  margin-bottom: 16px;
}

.date-tabs button,
.score-filters button {
  min-height: 38px;
  padding: 0 10px;
  color: #405245;
  background: #f6faf7;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
}

.date-tabs {
  flex-wrap: nowrap;
  gap: 7px;
}

.date-tabs .active,
.score-filters .active {
  color: var(--green-900);
  background: var(--yellow);
  border-color: var(--yellow);
}

.api-note {
  margin: 14px 0;
}

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

.empty-state,
.standings-empty {
  position: relative;
  overflow: hidden;
  padding: 16px;
  color: var(--green-900);
  background:
    radial-gradient(circle at 92% 8%, rgba(250, 203, 61, 0.22), transparent 32%),
    linear-gradient(135deg, #ffffff, #f2faf5);
  border: 1px dashed #bfd4c7;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 800;
  text-align: center;
}

.empty-state::before,
.standings-empty::before {
  content: "";
  display: block;
  width: 34px;
  height: 4px;
  margin: 0 auto 10px;
  background: var(--yellow);
  border-radius: 999px;
}

.standings-empty {
  display: block;
  list-style: none;
}

.league-group {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.league-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  color: #fff;
  background: linear-gradient(135deg, var(--green-900), var(--green-700));
  border-bottom: 1px solid rgba(18, 63, 40, 0.18);
  font-size: 13px;
  font-weight: 900;
}

.league-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.league-title img {
  width: 22px;
  height: 16px;
  object-fit: contain;
  flex: 0 0 auto;
  background: rgba(255, 255, 255, 0.16);
  border-radius: 3px;
}

.league-header span:last-child {
  color: var(--yellow);
  text-align: right;
}

.match-row {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) 76px minmax(0, 1fr) 92px;
  column-gap: 10px;
  align-items: center;
  min-height: 56px;
  padding: 8px 12px;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
}

.match-row:hover,
.match-row:focus-visible {
  background: #f7fbf8;
  outline: 0;
}

.match-row:last-child {
  border-bottom: 0;
}

.match-minute {
  color: var(--green-800);
  font-size: 13px;
  font-weight: 900;
}

.match-team {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.match-team-home {
  justify-self: end;
  flex-direction: row;
  text-align: right;
}

.match-team-away {
  justify-self: start;
  text-align: left;
}

.match-team img {
  width: 24px;
  height: 24px;
  max-width: 24px;
  max-height: 24px;
  object-fit: contain;
  flex: 0 0 auto;
}

.match-score {
  justify-self: center;
  min-width: 76px;
  padding: 8px;
  text-align: center;
  color: var(--green-900);
  background: var(--green-100);
  border-radius: 8px;
  font-weight: 900;
}

.score-mobile {
  display: none;
}

.match-status {
  justify-self: end;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.ad-boxes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.44);
  border: 1px solid rgba(205, 221, 211, 0.9);
  border-radius: 8px;
  box-shadow: 0 16px 36px rgba(18, 63, 40, 0.08);
}

.ad-card {
  position: relative;
  display: grid;
  align-content: space-between;
  min-height: 132px;
  padding: 16px 14px 12px;
  overflow: hidden;
  border-radius: 8px;
}

.ad-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 86% 18%, rgba(246, 201, 69, 0.28), transparent 30%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.16), transparent 48%);
  pointer-events: none;
}

.ad-toggle {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 18px;
  height: 18px;
  margin: 0;
}

.ad-toggle::before,
.ad-toggle::after {
  content: "";
  position: absolute;
  top: 8px;
  right: 3px;
  width: 10px;
  height: 1.5px;
  background: currentColor;
}

.ad-toggle::before {
  transform: rotate(45deg);
}

.ad-toggle::after {
  transform: rotate(-45deg);
}

.ad-card span:not(.ad-toggle),
.ad-card h3,
.ad-card p,
.ad-card a {
  position: relative;
  z-index: 1;
}

.ad-card span:not(.ad-toggle) {
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.ad-card h3 {
  margin: 0 20px 8px 0;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.02;
}

.ad-card p {
  margin: 0 0 12px;
  color: inherit;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  opacity: 0.86;
}

.ad-card a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 32px;
  padding: 0 14px;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 900;
}

.ad-card-light {
  color: #fff;
  background: linear-gradient(135deg, #266f5d, #3b8a63);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.ad-card-light span:not(.ad-toggle),
.ad-card-light h3 {
  color: #fff;
}

.ad-card-light a {
  color: #fff;
  background: #064f45;
}

.ad-card-dark {
  color: #fff;
  background: linear-gradient(135deg, #064f45, #0b6a54);
}

.ad-card-dark span:not(.ad-toggle),
.ad-card-dark h3 {
  color: var(--yellow);
}

.ad-card-dark a {
  color: var(--green-900);
  background: var(--yellow);
}

.ad-card-green {
  color: #fff;
  background: linear-gradient(135deg, #0c7d3d, #15924d);
}

.ad-card-green span:not(.ad-toggle),
.ad-card-green h3 {
  color: #fff;
}

.ad-card-green a {
  color: var(--green-900);
  background: #fff;
}

.standings-list {
  display: grid;
  gap: 7px;
  padding: 0;
  margin: 16px 0 0;
  list-style: none;
}

.standings-list li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) 42px;
  gap: 8px;
  align-items: center;
  min-height: 42px;
  padding: 5px 6px;
  background: #f7faf8;
  border: 1px solid #e0ebe4;
  border-radius: 8px;
}

.standings-list span {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  color: var(--green-900);
  background: var(--yellow-soft);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 900;
}

.standings-list strong {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  overflow-wrap: anywhere;
  line-height: 1.15;
}

.standings-list strong img {
  width: 24px;
  height: 24px;
  max-width: 24px;
  max-height: 24px;
  object-fit: contain;
  flex: 0 0 auto;
}

.standings-list em {
  display: grid;
  place-items: center;
  min-width: 34px;
  min-height: 28px;
  color: var(--green-900);
  background: var(--yellow);
  border-radius: 8px;
  font-style: normal;
  font-weight: 900;
  text-align: center;
}

.standings-list .standings-empty {
  display: block;
  grid-template-columns: none;
  text-align: center;
}

.standings-group {
  display: block;
  grid-template-columns: none;
  min-height: auto;
  margin-top: 10px;
  padding: 10px 12px;
  color: #fff;
  background: linear-gradient(135deg, var(--green-900), var(--green-700));
  border-radius: 8px;
  font-size: 13px;
  font-weight: 900;
}

.world-cup-panel {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.world-cup-panel .team-week {
  display: none;
}

.world-cup-panel .player-tabs {
  order: 2;
  display: grid;
}

.world-cup-fixtures {
  order: 1;
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.wc-fixture-hero {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  color: #fff;
  background:
    radial-gradient(circle at 86% 18%, rgba(246, 201, 69, 0.34), transparent 28%),
    linear-gradient(135deg, var(--green-900), var(--green-700));
  border-radius: 8px;
}

.wc-fixture-hero img {
  width: 42px;
  height: 46px;
  object-fit: contain;
  flex: 0 0 auto;
}

.wc-fixture-hero span {
  display: block;
  color: var(--yellow);
  font-size: 12px;
  font-weight: 900;
}

.wc-fixture-hero strong {
  display: block;
  margin-top: 2px;
  font-size: 18px;
  line-height: 1.1;
}

.wc-fixture-list {
  display: grid;
  gap: 8px;
}

.wc-fixture-card {
  display: grid;
  gap: 8px;
  padding: 10px;
  background: #f7fbf8;
  border: 1px solid #dfeae3;
  border-radius: 8px;
}

.wc-fixture-meta,
.wc-fixture-teams {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.wc-fixture-meta span {
  color: var(--green-900);
  background: var(--yellow-soft);
  border-radius: 999px;
  padding: 4px 7px;
  font-size: 11px;
  font-weight: 900;
}

.wc-fixture-meta strong {
  color: var(--muted);
  text-align: right;
  font-size: 11px;
}

.wc-fixture-teams span {
  display: grid;
  justify-items: center;
  gap: 4px;
  min-width: 0;
  flex: 1 1 0;
  color: var(--green-900);
  font-size: 12px;
  font-weight: 900;
  text-align: center;
  line-height: 1.15;
}

.wc-fixture-teams img {
  width: 24px;
  height: 18px;
  object-fit: contain;
}

.wc-fixture-teams b {
  display: grid;
  place-items: center;
  min-width: 58px;
  min-height: 34px;
  color: var(--green-900);
  background: var(--green-100);
  border-radius: 8px;
  font-size: 14px;
  white-space: nowrap;
}

.team-week {
  margin-top: 16px;
}

.team-week-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.team-week-head span {
  color: var(--green-900);
  font-size: 14px;
  font-weight: 900;
}

.team-week-head strong {
  padding: 6px 8px;
  color: var(--green-900);
  background: var(--yellow);
  border-radius: 8px;
  font-size: 12px;
}

.pitch-board {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 48%, rgba(255, 255, 255, 0.09), transparent 26%),
    linear-gradient(rgba(10, 88, 52, 0.86), rgba(12, 69, 47, 0.9)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.1) 0 42px, rgba(255, 255, 255, 0.03) 42px 84px);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  box-shadow: inset 0 0 34px rgba(0, 0, 0, 0.18);
}

.pitch-board::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 8px;
}

.pitch-player {
  position: absolute;
  display: grid;
  justify-items: center;
  gap: 3px;
  width: 72px;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  text-align: center;
  line-height: 1.05;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
  transform: translate(-50%, -50%);
}

.pitch-player img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  background: #fff;
  border: 2px solid #ffd54d;
  border-radius: 50%;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.24), 0 0 0 2px rgba(255, 255, 255, 0.72);
}

.pitch-player em {
  padding: 3px 7px;
  color: #fff;
  background: linear-gradient(135deg, #11c95c, #078c43);
  border-radius: 5px;
  font-style: normal;
  font-size: 11px;
  box-shadow: 0 5px 10px rgba(4, 70, 36, 0.24);
}

.goalkeeper {
  left: 50%;
  top: 91%;
}

.defender.left {
  left: 18%;
  top: 72%;
}

.defender.center {
  left: 50%;
  top: 73%;
}

.defender.right {
  left: 82%;
  top: 72%;
}

.midfielder.left {
  left: 21%;
  top: 48%;
}

.midfielder.center {
  left: 50%;
  top: 43%;
}

.midfielder.right {
  left: 79%;
  top: 48%;
}

.forward.left {
  left: 22%;
  top: 20%;
}

.forward.center {
  left: 50%;
  top: 16%;
}

.forward.right {
  left: 78%;
  top: 20%;
}

.player-tabs {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}

.player-tabs h3 {
  margin: 0 0 8px;
  color: var(--green-900);
  font-size: 16px;
}

.player-list {
  display: grid;
  gap: 7px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.player-list li {
  display: grid;
  grid-template-columns: 22px 36px minmax(0, 1fr) 38px;
  gap: 8px;
  align-items: center;
  padding: 8px;
  background: #f7faf8;
  border: 1px solid #e0ebe4;
  border-radius: 8px;
}

.player-list > li > span {
  color: var(--green-800);
  font-size: 12px;
  font-weight: 900;
}

.player-list img {
  width: 34px;
  height: 34px;
  object-fit: cover;
  background: #fff;
  border-radius: 50%;
}

.player-avatar {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--green-800), var(--green-600));
  border: 2px solid var(--yellow);
  border-radius: 50%;
  font-style: normal;
  font-size: 14px;
  font-weight: 900;
}

.player-list strong {
  display: grid;
  min-width: 0;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.15;
}

.player-list small {
  color: var(--muted);
  font-size: 11px;
}

.player-list em {
  display: grid;
  place-items: center;
  min-height: 28px;
  color: var(--green-900);
  background: var(--yellow);
  border-radius: 8px;
  font-style: normal;
  font-weight: 900;
}

.player-empty {
  display: block;
  grid-template-columns: none;
  color: var(--muted);
  text-align: center;
}

.wc-standing-group {
  display: grid;
  gap: 6px;
  padding: 8px;
  background: #f7fbf8;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.wc-standing-group > strong {
  color: var(--green-900);
  font-size: 13px;
}

.wc-standing-group button,
.wc-team-cloud button {
  display: grid;
  align-items: center;
  color: var(--ink);
  background: #fff;
  border: 1px solid #dceae1;
  cursor: pointer;
  font-weight: 900;
}

.wc-standing-group button {
  grid-template-columns: 22px 26px minmax(0, 1fr) 30px;
  gap: 6px;
  min-height: 34px;
  padding: 5px 7px;
  border-radius: 7px;
  text-align: left;
}

.wc-standing-group img,
.wc-team-cloud img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.wc-standing-group span,
.wc-standing-group em {
  color: var(--green-800);
  font-style: normal;
  font-size: 12px;
  font-weight: 900;
}

.wc-team-cloud {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}

.wc-team-cloud button {
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 7px;
  min-height: 38px;
  padding: 6px 7px;
  border-radius: 8px;
  text-align: left;
  font-size: 12px;
}

.wc-summary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}

.wc-summary-grid article {
  display: grid;
  gap: 4px;
  padding: 9px;
  background: #f7fbf8;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.wc-summary-grid span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.wc-summary-grid strong {
  color: var(--green-900);
  font-size: 18px;
}

.news-section {
  padding: 8px clamp(18px, 5vw, 72px) clamp(22px, 4vw, 52px);
}

.section-heading {
  margin-bottom: 18px;
}

.section-heading a {
  color: var(--green-800);
  font-weight: 900;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.lead-news,
.news-card {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
}

.news-image,
.news-thumb {
  width: 100%;
  aspect-ratio: 16 / 7;
  min-height: 0;
}

.pitch-image,
.news-thumb {
  background:
    linear-gradient(135deg, rgba(18, 63, 40, 0.55), rgba(246, 201, 69, 0.18)),
    repeating-linear-gradient(90deg, #1f6f43 0 70px, #287a49 70px 140px);
}

.twitter-avatar-image {
  background-color: #155b38;
  background-position: center;
  background-repeat: no-repeat;
  background-size: auto 84%;
}

.thumb-yellow {
  background:
    linear-gradient(135deg, rgba(246, 201, 69, 0.8), rgba(18, 63, 40, 0.18)),
    repeating-linear-gradient(90deg, #f6c945 0 62px, #ffe083 62px 124px);
}

.thumb-green {
  background:
    linear-gradient(135deg, rgba(18, 63, 40, 0.7), rgba(255, 255, 255, 0.12)),
    radial-gradient(circle at 30% 35%, #f6c945 0 8px, transparent 9px),
    #287a49;
}

.news-content {
  padding: 16px;
}

.news-card > span,
.news-card > h3,
.news-card > p {
  margin-right: 16px;
  margin-left: 16px;
}

.news-card > span {
  margin-top: 16px;
}

.news-card > p {
  margin-bottom: 16px;
}

.news-content span,
.news-card span {
  color: var(--green-800);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.news-content h3,
.news-card h3 {
  margin-top: 8px;
  font-size: 22px;
  line-height: 1.25;
}

.news-card h3 {
  font-size: 18px;
}

.news-content p,
.news-card p,
.app-section p,
.site-footer p {
  color: var(--muted);
  line-height: 1.6;
}

.news-card-link {
  display: grid;
  grid-template-rows: auto 1fr;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.news-card-link:hover h3 {
  color: var(--green-700);
}

.news-card-link .news-image,
.news-card-link .news-thumb {
  background-size: cover;
  background-position: center;
}

.news-card-link .twitter-avatar-image {
  background-color: #eef5f0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

main.show-article > section:not(.article-page) {
  display: none;
}

.article-page {
  width: min(980px, calc(100% - 32px));
  margin: 28px auto 56px;
}

.article-back {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  margin-bottom: 14px;
  color: var(--green-900);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-weight: 900;
  text-decoration: none;
}

.article-detail {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.article-image-wrap {
  position: relative;
  background: var(--surface);
}

.article-hero-image {
  display: block;
  width: 100%;
  max-height: 440px;
  object-fit: cover;
  background: var(--surface);
}

.twitter-avatar-article-wrap {
  background: #eef5f0;
}

.article-hero-image.twitter-avatar-hero-image {
  height: clamp(240px, 45vw, 440px);
  object-fit: contain;
}

.article-watermark {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 7px 14px 7px 9px;
  color: #fff;
  background: rgba(12, 57, 35, 0.88);
  border: 1px solid rgba(246, 201, 69, 0.35);
  border-radius: 999px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.24);
  font-size: 13px;
  font-weight: 900;
}

.article-watermark img {
  width: 58px;
  height: 28px;
  object-fit: contain;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.article-meta,
.article-detail h1,
.article-detail h2,
.article-detail p,
.article-detail .source-link {
  margin-right: clamp(18px, 5vw, 54px);
  margin-left: clamp(18px, 5vw, 54px);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.article-meta span {
  color: var(--green-900);
  background: var(--yellow);
  border-radius: 999px;
  padding: 4px 10px;
}

.article-detail h1 {
  max-width: 760px;
  margin-top: 14px;
  color: var(--green-950);
  font-size: clamp(30px, 5vw, 52px);
  line-height: 1.05;
}

.article-detail h2 {
  max-width: 760px;
  margin-top: 28px;
  margin-bottom: 8px;
  color: var(--green-900);
  font-size: clamp(20px, 3vw, 28px);
  line-height: 1.2;
}

.article-detail p {
  max-width: 760px;
  color: var(--green-950);
  font-size: 18px;
  line-height: 1.75;
}

.article-detail .article-lead {
  color: var(--muted);
  font-size: 20px;
}

.article-footer-note {
  margin-top: 28px;
  color: var(--muted) !important;
}

.article-source-note {
  margin-top: 24px;
  padding: 12px 14px;
  color: var(--green-900) !important;
  background: var(--surface);
  border-left: 4px solid var(--yellow);
  border-radius: 7px;
  font-size: 15px !important;
}

.article-x-embed {
  display: flex;
  justify-content: center;
  width: min(550px, calc(100% - 36px));
  margin: 26px auto;
}

.article-x-embed .twitter-tweet,
.article-x-embed iframe {
  width: 100% !important;
  max-width: 550px !important;
  margin: 0 !important;
}

.article-source-note a {
  color: var(--green-800);
  font-weight: 900;
  text-decoration: none;
}

.article-source-note a:hover {
  text-decoration: underline;
}

.article-footer-note a {
  color: var(--green-900);
  text-decoration: none;
}

.article-footer-note a:hover {
  text-decoration: underline;
}

.article-note {
  padding: 14px 16px;
  color: var(--green-900) !important;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 16px !important;
}

.source-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  margin-top: 14px;
  margin-bottom: 34px;
  color: var(--green-950);
  background: var(--yellow);
  border-radius: 999px;
  font-weight: 900;
  text-decoration: none;
}

.app-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 0 clamp(18px, 5vw, 72px) 36px;
  padding: clamp(20px, 4vw, 34px);
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.96), rgba(232, 245, 236, 0.96)),
    var(--panel);
}

.app-section h2 {
  font-size: clamp(24px, 3vw, 36px);
}

.app-section p {
  max-width: 600px;
  margin-bottom: 0;
}

.store-button {
  display: grid;
  align-content: center;
  min-width: 150px;
  min-height: 58px;
  padding: 9px 14px;
  color: #fff;
  background: var(--green-900);
  border-radius: 8px;
}

.store-button span {
  font-size: 11px;
  font-weight: 700;
  opacity: 0.78;
}

.store-button strong {
  font-size: 17px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 26px 18px;
  background: #fff;
  border-top: 1px solid var(--line);
}

.site-footer img {
  width: 92px;
  height: 38px;
  background: var(--green-800);
  border-radius: 8px;
}

.detail-open {
  overflow: hidden;
}

.match-detail-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
}

.match-detail-modal[aria-hidden="false"] {
  display: block;
}

.match-detail-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 23, 14, 0.58);
}

.match-detail-panel {
  position: relative;
  width: min(920px, calc(100% - 28px));
  max-height: calc(100vh - 36px);
  margin: 18px auto;
  overflow: auto;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.28);
}

.detail-close {
  position: sticky;
  top: 10px;
  float: right;
  z-index: 2;
  width: 34px;
  height: 34px;
  margin: 10px 10px 0 0;
  color: #fff;
  background: rgba(18, 63, 40, 0.84);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  font-size: 22px;
  font-weight: 900;
}

.detail-content {
  clear: both;
}

.detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  padding: 22px;
  color: #fff;
  background: linear-gradient(135deg, var(--green-900), var(--green-700));
}

.detail-team {
  display: grid;
  justify-items: center;
  gap: 8px;
  min-width: 0;
  text-align: center;
  font-weight: 900;
}

.detail-team button {
  display: grid;
  place-items: center;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.detail-team img {
  width: 62px;
  height: 62px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 8px;
}

.detail-score {
  min-width: 132px;
  text-align: center;
}

.detail-score h2 {
  margin: 0;
  color: var(--yellow);
  font-size: clamp(34px, 6vw, 58px);
  line-height: 1;
}

.detail-score span,
.detail-score small {
  display: block;
  margin-top: 5px;
  font-weight: 900;
}

.detail-body {
  padding: 14px;
}

.detail-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.detail-tabs button {
  min-height: 42px;
  padding: 0 16px;
  color: var(--green-900);
  background: #f0f5f2;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0;
  font-variant: normal;
  text-transform: none !important;
}

.detail-tabs .active {
  color: #fff;
  background: var(--green-800);
}

.detail-tab-panel {
  display: none;
}

.detail-tab-panel.active {
  display: block;
  animation: detailPanelIn 0.18s ease;
}

@keyframes detailPanelIn {
  from {
    opacity: 0.65;
    transform: translateY(4px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.event-list {
  display: grid;
  gap: 8px;
}

.prematch-grid,
.prediction-panel {
  display: grid;
  gap: 10px;
}

.prematch-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.prematch-card,
.prediction-winner,
.prediction-percent article,
.comparison-list,
.injury-list article,
.h2h-list article {
  position: relative;
  overflow: hidden;
  padding: 12px;
  background: linear-gradient(135deg, #ffffff 0%, #f2faf5 100%);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(5, 48, 29, 0.06);
}

.prematch-card::before,
.prediction-winner::before,
.comparison-list::before,
.h2h-list article::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--yellow);
  opacity: 0.9;
}

.prematch-main,
.prematch-wide {
  grid-column: 1 / -1;
}

.prematch-card span,
.prediction-winner span,
.prediction-percent span,
.comparison-list span {
  display: block;
  margin-bottom: 5px;
  color: var(--green-800);
  font-size: 11px;
  font-weight: 900;
}

.prematch-card h3,
.prematch-card strong,
.prediction-winner strong,
.prediction-percent strong {
  color: var(--green-900);
  font-size: 17px;
  font-weight: 1000;
}

.prematch-card p,
.prediction-winner p {
  margin: 6px 0 0;
  color: #52665a;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
}

.prematch-wide p strong {
  color: inherit;
  font-size: 17px;
  font-weight: 1000;
}

.prematch-main,
.prediction-winner {
  background:
    radial-gradient(circle at 86% 10%, rgba(250, 203, 61, 0.22), transparent 34%),
    linear-gradient(135deg, var(--green-900), #197342);
  border-color: rgba(255, 255, 255, 0.18);
}

.prematch-main::before,
.prediction-winner::before {
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--yellow), rgba(255, 255, 255, 0));
}

.prematch-main span,
.prediction-winner span {
  display: inline-flex;
  width: fit-content;
  padding: 5px 10px;
  color: var(--green-900);
  background: var(--yellow);
  border-radius: 999px;
}

.prematch-main h3,
.prematch-main p,
.prediction-winner strong,
.prediction-winner p {
  color: #fff;
}

.prediction-percent {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.prediction-percent article {
  display: grid;
  place-items: center;
  min-height: 82px;
  text-align: center;
}

.prediction-percent article:nth-child(2) {
  background: linear-gradient(135deg, #fff8d7, #ffffff);
  border-color: rgba(250, 203, 61, 0.65);
}

.prediction-percent strong {
  display: inline-grid;
  place-items: center;
  min-width: 66px;
  min-height: 40px;
  padding: 5px 12px;
  color: var(--green-900);
  background: var(--yellow);
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(250, 203, 61, 0.22);
}

.comparison-list {
  display: grid;
  gap: 8px;
  padding-left: 14px;
}

.comparison-list p {
  display: grid;
  grid-template-columns: 1fr 72px 72px;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 8px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(210, 226, 216, 0.9);
  border-radius: 7px;
}

.comparison-heading {
  display: grid;
  grid-template-columns: 1fr 72px 72px;
  align-items: end;
  gap: 8px;
  padding: 0 8px 2px;
}

.comparison-heading span,
.comparison-heading strong,
.comparison-heading em {
  margin: 0;
  color: var(--green-800);
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
  text-align: center;
}

.comparison-heading span {
  text-align: left;
}

.comparison-heading small {
  display: block;
  overflow: hidden;
  margin-top: 2px;
  color: var(--muted);
  font-size: 10.5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.comparison-list strong,
.comparison-list em {
  display: inline-flex;
  justify-content: center;
  padding: 5px 8px;
  color: var(--green-900);
  background: var(--green-100);
  border-radius: 999px;
  font-style: normal;
  font-weight: 900;
  text-align: center;
}

.comparison-list em {
  background: #fff3bd;
}

.comparison-list .comparison-heading strong,
.comparison-list .comparison-heading em {
  display: block;
  padding: 0;
  color: var(--green-800);
  background: transparent;
  border-radius: 0;
}

.injury-list,
.h2h-list {
  display: grid;
  gap: 8px;
}

.injury-list article {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
}

.injury-list img,
.injury-list article > span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  object-fit: cover;
  color: var(--green-900);
  background: var(--green-100);
  border-radius: 50%;
  font-size: 13px;
  font-weight: 1000;
}

.injury-list strong {
  display: grid;
  color: var(--green-900);
  font-size: 13px;
}

.injury-list small,
.h2h-list em {
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
}

.injury-list em {
  color: var(--green-800);
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
  text-align: right;
}

.h2h-list article {
  display: grid;
  grid-template-columns: 78px minmax(110px, 150px) minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding-left: 16px;
}

.h2h-list article > span {
  grid-column: 1;
  grid-row: 1;
  display: inline-grid;
  place-items: center;
  min-height: 34px;
  color: var(--green-900);
  background: #fff3bd;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.h2h-list strong {
  color: var(--green-900);
  font-size: 13px;
}

.h2h-list .h2h-teams {
  display: grid;
  grid-column: 3;
  grid-row: 1;
  grid-template-columns: auto auto auto;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.h2h-list article > em {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  margin: 0;
  line-height: 1.25;
}

.h2h-list .h2h-team {
  display: flex;
  grid-row: auto;
  align-items: center;
  gap: 7px;
  min-width: 0;
  margin: 0;
  color: var(--green-900);
  background: transparent;
  border-radius: 0;
  font-size: 13px;
  font-weight: 900;
}

.h2h-list .h2h-team:first-child {
  justify-content: flex-end;
}

.h2h-list .h2h-team-away {
  justify-content: flex-start;
}

.h2h-team img {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  object-fit: contain;
}

.h2h-list b {
  display: inline-flex;
  margin: 0 5px;
  padding: 4px 9px;
  background: var(--green-100);
  border-radius: 7px;
}

.team-form-grid,
.odds-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.team-form-card,
.odds-market {
  position: relative;
  overflow: hidden;
  padding: 12px;
  background: linear-gradient(135deg, #ffffff, #f4faf6);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(5, 48, 29, 0.06);
}

.team-form-wide {
  grid-column: 1 / -1;
}

.team-form-card h3,
.odds-market h3 {
  margin: -12px -12px 10px;
  padding: 10px 12px;
  color: #fff;
  background: linear-gradient(90deg, var(--green-900), var(--green-700));
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 15px;
}

.team-form-wide h3 {
  margin-bottom: 10px;
  color: var(--green-900);
  background: transparent;
  border: 0;
  font-size: 15px;
}

.odds-market h3 small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
}

.form-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 0.8fr)) minmax(112px, 1.25fr);
  gap: 6px;
  margin-bottom: 10px;
}

.form-summary span,
.form-summary strong {
  display: grid;
  place-items: center;
  min-height: 30px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--green-900);
  font-size: 12px;
  font-weight: 900;
}

.form-summary > div {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  min-height: 34px;
  padding: 4px 7px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 7px;
}

.form-summary > div span,
.form-summary > div strong {
  min-height: 0;
  padding: 0;
  background: transparent;
  border: 0;
}

.form-summary > div span {
  display: block;
  text-align: left;
}

.form-summary > div strong {
  padding-left: 5px;
  font-size: 13px;
}

.form-summary small {
  display: block;
  margin-top: 1px;
  color: var(--muted);
  font-size: 8px;
  line-height: 1.1;
}

.form-summary .form-summary-win {
  color: #0b7c49;
  background: #e7f6ee;
}

.form-summary .form-summary-win span,
.form-summary .form-summary-win strong {
  color: #0b7c49;
}

.form-summary .form-summary-draw {
  color: #8a6a00;
  background: #fff5cc;
}

.form-summary .form-summary-draw span,
.form-summary .form-summary-draw strong {
  color: #8a6a00;
}

.form-summary .form-summary-loss {
  color: #9a2f24;
  background: #fdebe8;
}

.form-summary .form-summary-loss span,
.form-summary .form-summary-loss strong {
  color: #9a2f24;
}

.form-summary .form-summary-goals {
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 2px;
  padding: 4px 6px;
  color: #fff;
  background: var(--green-800);
}

.form-summary .form-summary-goals span,
.form-summary .form-summary-goals strong,
.form-summary .form-summary-goals small {
  color: #fff;
  text-align: center;
}

.form-summary .form-summary-goals strong {
  padding-left: 0;
  font-size: 12px;
  line-height: 1.1;
  white-space: nowrap;
}

.form-summary .form-summary-goals small {
  font-size: 8.5px;
}

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

.form-match-list article {
  display: grid;
  grid-template-columns: 42px 48px minmax(0, 1fr);
  align-items: center;
  gap: 7px;
  padding: 6px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(210, 226, 216, 0.85);
  border-radius: 7px;
  font-size: 12px;
}

.form-match-list em {
  display: grid;
  place-items: center;
  min-width: 42px;
  min-height: 24px;
  padding: 2px 6px;
  color: #fff;
  background: var(--muted);
  border-radius: 999px;
  font-style: normal;
  font-size: 9px;
  font-weight: 1000;
}

.form-match-list em.win {
  background: #0f8d54;
}

.form-match-list em.draw {
  background: #d4a500;
}

.form-match-list em.loss {
  background: #c94a3d;
}

.form-match-list span {
  color: var(--muted);
  font-weight: 800;
}

.form-match-list strong {
  min-width: 0;
  color: var(--green-900);
}

.form-match-list strong img {
  width: 16px;
  height: 16px;
  margin: 0 5px;
  object-fit: contain;
  vertical-align: middle;
}

.form-match-list strong img:first-child {
  margin-left: 0;
}

.form-match-list b {
  display: inline-flex;
  margin: 0 4px;
  padding: 2px 6px;
  background: var(--green-100);
  border-radius: 6px;
}

.odds-market > div {
  display: grid;
  gap: 7px;
}

.odds-market article {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 9px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 7px;
}

.odds-market span {
  color: var(--green-900);
  font-size: 12px;
  font-weight: 900;
}

.odds-market strong {
  display: inline-grid;
  place-items: center;
  min-width: 48px;
  padding: 5px 8px;
  color: var(--green-900);
  background: var(--yellow);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 1000;
}

.event-item {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 74px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  min-height: 61px;
  padding: 10px 12px;
  background: #f8fbf9;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.event-minute {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  min-height: 24px;
  color: var(--green-800);
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
  pointer-events: none;
}

.event-minute-goal {
  min-width: 76px;
}

.goal-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 68px;
  min-height: 24px;
  padding: 0 10px;
  color: #fff;
  background: var(--green-700);
  border: 1px solid rgba(246, 201, 69, 0.72);
  border-radius: 999px;
  box-shadow: 0 6px 13px rgba(12, 77, 43, 0.2);
  font-size: 12px;
  font-weight: 1000;
}

.event-side {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  align-items: center;
  gap: 7px;
  min-width: 0;
}

.event-home .event-side {
  grid-column: 1;
}

.event-away .event-side {
  grid-column: 3;
  grid-template-columns: minmax(0, 1fr) 32px;
  text-align: right;
}

.event-item b {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  overflow: hidden;
  background: transparent;
  border: 0;
  border-radius: 0;
  font-size: 12px;
}

.event-item b img {
  width: 30px;
  height: 30px;
  object-fit: cover;
  border-radius: 50%;
}

.event-symbol {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: var(--green-800);
  font-size: 15px;
  font-weight: 900;
}

.event-symbol-goal {
  font-size: 17px;
}

.event-symbol-yellow-card,
.event-symbol-red-card {
  width: 14px;
  height: 19px;
  border-radius: 3px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.14);
}

.event-symbol-yellow-card {
  background: #ffd33d;
  border: 1px solid #d9b10c;
}

.event-symbol-red-card {
  background: #e93030;
  border: 1px solid #b81f1f;
}

.event-symbol-sub {
  color: #0f7b48;
  font-size: 18px;
}

.event-symbol-var {
  color: var(--green-800);
  font-size: 9px;
  letter-spacing: 0;
}

.event-away b {
  grid-column: 2;
}

.event-away strong {
  grid-column: 1;
  grid-row: 1;
}

.event-item strong {
  display: grid;
  gap: 2px;
  min-width: 0;
  font-size: 13px;
  line-height: 1.2;
}

.event-item small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.event-item em {
  grid-column: 2;
  color: var(--muted);
  font-style: normal;
  font-size: 11px;
  font-weight: 800;
}

.event-away em {
  grid-column: 1;
}

.stats-board {
  display: grid;
  gap: 13px;
}

.stat-row {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) 70px;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 900;
}

.stat-row strong {
  text-align: center;
}

.stat-row span:last-of-type {
  text-align: right;
}

.stat-row i {
  grid-column: 1 / -1;
  position: relative;
  height: 8px;
  overflow: hidden;
  background: #e8eee9;
  border-radius: 999px;
}

.stat-row i::before,
.stat-row i::after {
  content: "";
  position: absolute;
  top: 0;
  height: 100%;
}

.stat-row i::before {
  right: 50%;
  width: var(--home);
  background: var(--green-800);
}

.stat-row i::after {
  left: 50%;
  width: var(--away);
  background: #052f2b;
}

.team-stat-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.team-stat-grid article,
.team-detail-grid section {
  background: #f8fbf9;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.team-stat-grid article {
  display: grid;
  gap: 4px;
  min-height: 72px;
  padding: 12px;
}

.team-stat-grid span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.team-stat-grid strong {
  color: var(--green-900);
  font-size: 24px;
}

.team-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.team-detail-grid section {
  padding: 12px;
}

.team-detail-grid h3 {
  margin: 0 0 10px;
  color: var(--green-900);
  font-size: 16px;
}

.team-mini-list {
  display: grid;
  gap: 7px;
}

.team-mini-list p {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin: 0;
  padding: 7px 9px;
  background: #fff;
  border: 1px solid #e1ece5;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 800;
}

.team-mini-list strong {
  color: var(--green-900);
  text-align: right;
}

.team-mini-list em {
  color: var(--muted);
  font-style: normal;
  font-size: 11px;
}

.lineup-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.lineup-grid section {
  padding: 12px;
  background: #f8fbf9;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.lineup-grid h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
}

.lineup-grid h3 img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.lineup-grid h3 span {
  margin-left: auto;
  color: var(--green-800);
  font-size: 12px;
}

.lineup-grid h4 {
  margin: 12px 0 7px;
  color: var(--green-900);
  font-size: 12px;
  text-transform: uppercase;
}

.lineup-grid ol {
  display: grid;
  gap: 6px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.lineup-grid li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) 42px;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 800;
}

.lineup-grid li span {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  color: var(--green-900);
  background: var(--green-100);
  border-radius: 50%;
  font-size: 11px;
}

.lineup-grid li em {
  color: var(--muted);
  text-align: right;
  font-style: normal;
  font-size: 11px;
}

.player-stat-table {
  overflow-x: auto;
}

.player-stat-table table {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
  font-size: 12px;
}

.player-stat-table th,
.player-stat-table td {
  padding: 9px;
  text-align: center;
  border-bottom: 1px solid var(--line);
}

.player-stat-table th {
  color: var(--green-900);
  background: #f0f5f2;
}

.player-stat-table td:first-child {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  text-align: left;
  font-weight: 900;
}

.player-stat-table img {
  width: 32px;
  height: 32px;
  object-fit: cover;
  border-radius: 50%;
}

.player-stat-table small {
  display: block;
  color: var(--muted);
  font-weight: 700;
}

.player-stat-table b {
  display: inline-grid;
  place-items: center;
  min-width: 30px;
  min-height: 24px;
  color: #fff;
  background: #0b9f4b;
  border-radius: 6px;
}

@media (max-width: 1100px) {
  .layout-shell {
    grid-template-columns: 238px minmax(0, 1fr);
  }

  .standings-panel {
    grid-column: 1 / -1;
  }

  .ad-boxes {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .lead-news {
    grid-column: 1 / -1;
  }
}

@media (max-width: 820px) {
  .top-match-strip {
    grid-template-columns: 1fr;
  }

  .top-match-label {
    justify-content: center;
    min-height: 34px;
  }

  .top-match-track {
    animation-duration: 24s;
  }

  .topbar {
    position: sticky;
    display: grid;
    align-items: center;
    min-height: auto;
    padding: 10px 8px;
  }

  .brand img {
    width: 104px;
    height: 38px;
  }

  .menu-button {
    display: none;
  }

  .header-actions {
    display: none;
  }

  .main-nav {
    position: static;
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    align-items: center;
    justify-content: stretch;
    gap: 8px;
    width: 100%;
    max-width: none;
    min-height: 72px;
    margin: 0;
    padding: 8px;
    background:
      linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04)),
      rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 22px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  }

  .main-nav.open {
    display: grid;
  }

  .nav-side {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 5px;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
  }

  .nav-left,
  .nav-right {
    justify-content: center;
  }

  .nav-left {
    grid-column: 2;
    grid-row: 1;
  }

  .nav-right {
    grid-column: 2;
    grid-row: 2;
  }

  .main-nav .brand {
    display: inline-flex;
    grid-column: 1;
    grid-row: 1 / 3;
    justify-self: center;
    align-self: center;
  }

  .main-nav a:not(.brand) {
    flex: 1 1 0;
    min-height: 30px;
    padding: 0 8px;
    color: rgba(255, 255, 255, 0.92);
    text-align: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 13.5px;
  }

  .main-nav .nav-emphasis {
    font-size: 16.2px;
  }

  .main-nav a:not(.brand)::after {
    display: none;
  }

  .hero,
  .layout-shell,
  .news-grid {
    grid-template-columns: 1fr;
  }

  .ad-boxes {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-slider,
  .hero-slide {
    height: 242px;
    min-height: 0;
  }

  .hero-slide {
    padding: 12px 14px;
  }

  .hero-ad-slide {
    gap: 7px;
    padding: 14px 16px;
  }

  .hero-ad-label {
    padding: 5px 7px;
    font-size: 10px;
  }

  .hero-ad-slide h2 {
    max-width: 100%;
    font-size: 26px;
  }

  .hero-ad-slide p {
    max-width: 94%;
    font-size: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .hero-ad-action {
    min-height: 32px;
    padding: 0 13px;
    font-size: 11px;
  }

  .agenda-kicker {
    padding: 5px 7px;
    font-size: 10px;
  }

  .agenda-slide h2 {
    margin: 7px 0 8px;
    font-size: 22px;
  }

  .hero-news-slide p {
    max-width: 100%;
    font-size: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .agenda-list {
    gap: 6px;
  }

  .agenda-list li {
    grid-template-columns: 1fr;
    gap: 2px;
    padding: 7px 9px;
  }

  .agenda-list li::before {
    top: 7px;
    bottom: 7px;
  }

  .agenda-list strong,
  .agenda-list span {
    font-size: 11.5px;
    line-height: 1.22;
  }

  .slide-dots {
    right: 14px;
    bottom: 10px;
  }

  .news-ticker {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .news-ticker strong {
    width: fit-content;
  }

  .match-row {
    grid-template-columns: 48px minmax(0, 1fr) 58px minmax(0, 1fr);
  }

  .match-score {
    min-width: 58px;
  }

  .match-status {
    grid-column: 2 / -1;
    justify-self: start;
  }

  .app-section {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer img {
    width: 92px;
    height: 38px;
  }
}

@media (max-width: 560px) {
  .topbar {
    padding: 9px 6px;
  }

  .main-nav {
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 6px;
    min-height: 70px;
    padding: 7px;
  }

  .nav-side {
    gap: 4px;
  }

  .main-nav a:not(.brand) {
    min-height: 29px;
    padding: 0 5px;
    font-size: clamp(11.2px, 3.1vw, 12.8px);
  }

  .main-nav .nav-emphasis {
    font-size: clamp(13.4px, 3.72vw, 15.3px);
  }

  .brand img {
    width: 82px;
    height: 32px;
  }

  .hero {
    padding-top: 16px;
  }

  .hero-copy {
    display: none;
  }

  .hero .eyebrow {
    color: var(--yellow);
  }

  .hero p {
    color: rgba(255, 255, 255, 0.92);
  }

  .panel-heading,
  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .sidebar,
  .scores-panel,
  .standings-panel {
    padding: 12px;
  }

  .sidebar {
    display: none;
  }

  .mobile-league-filter {
    display: flex;
    align-items: center;
    gap: 5px;
    width: 100%;
    flex-wrap: wrap;
    padding: 6px;
    background: #eef7f1;
    border: 1px solid #d5e7dc;
    border-radius: 12px;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }

  .mobile-league-filter::-webkit-scrollbar {
    display: none;
  }

  .mobile-league-filter button {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    flex: 0 0 auto;
    min-height: 32px;
    padding: 4px 8px 4px 5px;
    color: var(--green-900);
    background: #fff;
    border: 1px solid #dcebe1;
    border-radius: 999px;
    box-shadow: none;
    cursor: pointer;
    font-size: 12px;
    font-weight: 900;
    white-space: nowrap;
    scroll-snap-align: start;
  }

  .mobile-league-filter .league-picker-button {
    min-width: 92px;
  }

  .mobile-league-filter .quick-league {
    max-width: calc((100% - 102px) / 2);
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .mobile-league-list {
    display: none;
    grid-template-columns: 1fr;
    gap: 5px;
    width: 100%;
    max-height: 220px;
    overflow-y: auto;
    padding-top: 4px;
  }

  .mobile-league-filter.is-open .mobile-league-list {
    display: grid;
  }

  .mobile-league-list button {
    justify-content: flex-start;
    width: 100%;
    border-radius: 8px;
  }

  .mobile-league-filter button.active {
    background: var(--yellow);
    border-color: rgba(18, 63, 40, 0.08);
    box-shadow: 0 8px 16px rgba(246, 201, 69, 0.2);
  }

  .mobile-league-filter img,
  .mobile-league-filter span {
    display: grid;
    place-items: center;
    width: 25px;
    height: 24px;
    object-fit: contain;
    background: var(--green-100);
    border: 1px solid #d8e7dd;
    border-radius: 999px;
    font-size: 7.5px;
    font-weight: 900;
    flex: 0 0 auto;
  }

  .date-tabs,
  .score-filters {
    display: grid;
    gap: 7px;
    width: 100%;
    padding: 5px;
    background: #eef7f1;
    border: 1px solid #d5e7dc;
    border-radius: 12px;
  }

  .date-tabs {
    grid-template-columns: repeat(7, minmax(42px, 1fr));
  }

  .date-tabs button,
  .score-filters button {
    min-height: 38px;
    padding: 0 4px;
    color: var(--green-900);
    background: #fff;
    border: 1px solid transparent;
    border-radius: 9px;
    box-shadow: none;
    font-size: 12px;
    font-weight: 900;
  }

  .date-tabs button {
    font-size: 0;
  }

  .date-tabs button::after {
    content: attr(data-mobile-label);
    font-size: 12px;
  }

  .date-tabs .active,
  .score-filters .active {
    color: var(--green-900);
    background: var(--yellow);
    border-color: rgba(18, 63, 40, 0.08);
    box-shadow: 0 8px 16px rgba(246, 201, 69, 0.26);
  }

  .score-filters {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .score-filters [data-filter="upcoming"] {
    display: none;
  }

  .match-row {
    grid-template-columns: 38px minmax(0, 1fr) 25px;
    grid-template-areas:
      "minute home score"
      "minute away score";
    row-gap: 1px;
    column-gap: 6px;
    min-height: 48px;
    padding: 5px 8px;
  }

  .match-row:not(:last-child) {
    border-bottom-color: #e7eee9;
  }

  .match-row.match-finished {
    grid-template-areas:
      "minute home score"
      "minute away score";
  }

  .match-minute {
    grid-area: minute;
    align-self: center;
  }

  .match-team {
    max-width: 100%;
    font-size: 12.5px;
    font-weight: 850;
    gap: 4px;
  }

  .match-team img {
    width: 17px;
    height: 17px;
    max-width: 17px;
    max-height: 17px;
  }

  .match-team-home {
    grid-area: home;
    justify-self: start;
    text-align: left;
  }

  .match-row .match-team-away {
    grid-area: away;
    justify-self: start;
    flex-direction: row-reverse;
    padding-left: 0;
  }

  .match-score {
    grid-area: score;
    align-self: stretch;
    display: grid;
    min-width: 28px;
    padding: 0;
    background: transparent;
  }

  .score-desktop {
    display: none;
  }

  .score-mobile {
    display: grid;
    grid-template-rows: 1fr 1fr;
    align-items: center;
    gap: 3px;
    color: var(--green-900);
    font-size: 13px;
    line-height: 1;
  }

  .team-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .team-detail-grid,
  .lineup-grid {
    grid-template-columns: 1fr;
  }

  .wc-team-cloud {
    grid-template-columns: 1fr;
  }

  .score-mobile span {
    display: grid;
    place-items: center;
    min-width: 23px;
    min-height: 23px;
    background: var(--green-100);
    border-radius: 7px;
  }

  .match-status {
    display: none;
  }

  .match-list.is-collapsed .mobile-extra-group,
  .match-list.is-collapsed .mobile-extra-match {
    display: none;
  }

  .match-list-toggle {
    width: 100%;
    min-height: 42px;
    color: var(--green-900);
    background: linear-gradient(135deg, var(--yellow), #ffe07a);
    border: 1px solid rgba(18, 63, 40, 0.08);
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(246, 201, 69, 0.22);
    cursor: pointer;
    font-size: 13px;
    font-weight: 900;
  }

  .league-header {
    gap: 8px;
    padding: 5px 8px;
    font-size: 11.5px;
  }

  .league-header span:last-child {
    max-width: 120px;
    font-size: 10px;
    line-height: 1.15;
  }

  .pitch-board {
    min-height: 440px;
  }

  .pitch-board::before {
    inset: 10px;
  }

  .pitch-player {
    width: 72px;
    font-size: 10.6px;
    line-height: 1.1;
  }

  .pitch-player img {
    width: 48px;
    height: 48px;
  }

  .pitch-player em {
    padding: 3px 6px;
    font-size: 10.8px;
  }

  .store-buttons {
    width: 100%;
  }

  .store-button {
    flex: 1 1 100%;
  }

  .match-detail-panel {
    width: 100%;
    max-height: 100vh;
    min-height: 100vh;
    margin: 0;
    border-radius: 0;
  }

  .detail-close {
    position: absolute;
    top: 8px;
    right: 8px;
    margin: 0;
  }

  .detail-content {
    clear: none;
  }

  .detail-hero {
    grid-template-columns: 1fr auto 1fr;
    gap: 10px;
    padding: 16px 12px;
  }

  .detail-team img {
    width: 50px;
    height: 50px;
  }

  .detail-team strong {
    font-size: 12px;
  }

  .detail-score {
    min-width: 86px;
  }

  .detail-score h2 {
    font-size: 38px;
  }

  .detail-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .detail-tabs button {
    flex: 0 0 auto;
    min-height: 39px;
    padding: 0 14px;
    font-size: 13px;
  }

  .event-item {
    grid-template-columns: minmax(0, 1fr) 58px minmax(0, 1fr);
    gap: 6px;
    min-height: 60px;
    padding: 9px 9px;
  }

  .event-side {
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 6px;
  }

  .event-away .event-side {
    grid-template-columns: minmax(0, 1fr) 30px;
  }

  .event-item b {
    width: 30px;
    height: 30px;
    font-size: 11px;
  }

  .event-item strong {
    font-size: 12px;
  }

  .event-item em {
    font-size: 10.5px;
  }

  .prematch-grid,
  .prediction-percent,
  .team-form-grid,
  .odds-board {
    grid-template-columns: 1fr;
  }

  .prematch-card,
  .prediction-winner,
  .prediction-percent article,
  .comparison-list,
  .team-form-card,
  .odds-market,
  .h2h-list article {
    padding: 10px;
  }

  .prematch-main span,
  .prediction-winner span {
    padding: 4px 9px;
    font-size: 10.5px;
  }

  .prematch-card h3,
  .prematch-card strong,
  .prediction-winner strong {
    font-size: 15px;
  }

  .prematch-wide p strong {
    font-size: 15px;
  }

  .prediction-percent article {
    min-height: 68px;
  }

  .prediction-percent strong {
    min-width: 58px;
    min-height: 34px;
    font-size: 15px;
  }

  .comparison-list p {
    grid-template-columns: 1fr 54px 54px;
    gap: 6px;
    padding: 7px;
  }

  .comparison-heading {
    grid-template-columns: minmax(0, 1fr) 70px 70px;
    gap: 6px;
    padding-right: 7px;
    padding-left: 7px;
  }

  .h2h-list article {
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 8px 10px;
  }

  .h2h-list article > em {
    grid-column: 2;
    grid-row: 1;
  }

  .h2h-list .h2h-teams {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: center;
  }

  .team-form-card h3,
  .odds-market h3 {
    margin: -10px -10px 9px;
    padding: 9px 10px;
  }

  .team-form-wide h3 {
    margin-bottom: 9px;
    padding: 0;
  }

  .form-match-list article {
    grid-template-columns: 42px 42px minmax(0, 1fr);
    gap: 6px;
  }

  .odds-market article {
    padding: 7px 8px;
  }

  .injury-list article {
    grid-template-columns: 34px minmax(0, 1fr);
  }

  .injury-list em {
    grid-column: 2;
    text-align: left;
  }

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

  .player-stat-table {
    overflow: visible;
  }

  .player-stat-table table,
  .player-stat-table tbody,
  .player-stat-table tr,
  .player-stat-table td {
    display: block;
    width: 100%;
    min-width: 0;
  }

  .player-stat-table table {
    min-width: 0;
    border-collapse: separate;
    border-spacing: 0;
  }

  .player-stat-table thead {
    display: none;
  }

  .player-stat-table tr {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 10px;
    padding: 10px;
    background: #f8fbf9;
    border: 1px solid var(--line);
    border-radius: 8px;
  }

  .player-stat-table td {
    padding: 0;
    border-bottom: 0;
  }

  .player-stat-table td:first-child {
    grid-column: 1 / -1;
    grid-template-columns: 34px minmax(0, 1fr);
    padding-bottom: 2px;
  }

  .player-stat-table td:not(:first-child) {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 30px;
    padding: 5px 8px;
    color: var(--green-900);
    background: #eef6f1;
    border-radius: 7px;
    font-size: 12px;
    font-weight: 900;
  }

  .player-stat-table td:not(:first-child)::before {
    content: attr(data-label);
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
  }

  .player-stat-table b {
    min-width: 28px;
    min-height: 23px;
  }

  .stat-row {
    grid-template-columns: 54px minmax(0, 1fr) 54px;
    font-size: 12px;
  }

  .article-watermark {
    right: 10px;
    bottom: 10px;
    min-height: 34px;
    padding: 5px 10px 5px 7px;
    font-size: 11px;
  }

  .article-watermark img {
    width: 46px;
    height: 22px;
  }
}
