/* BeSoccer.biz — cobalt night wire */

:root {
  --bg: #0B1220;
  --bg-2: #0F1828;
  --surface: #151E2E;
  --surface-2: #1A2538;
  --line: #2A3A52;
  --text: #E7EEF8;
  --muted: #8B9BB0;
  --brand: #5B8CFF;
  --brand-bright: #7AA2FF;
  --brand-soft: rgba(91, 140, 255, 0.14);
  --live: #FF4D6D;
  --live-dim: rgba(255, 77, 109, 0.14);
  --ok: #3DDC97;
  --accent: #5B8CFF;
  --warn: #F0B429;
  --shadow: 0 1px 0 rgba(255,255,255,0.03) inset, 0 12px 32px rgba(0,0,0,0.35);
  --radius: 4px;
  --radius-sm: 2px;
  --font-ui: "Sora", system-ui, sans-serif;
  --font-score: "Chakra Petch", "Arial Narrow", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
  --header-h: 56px;
  --bottom-h: 60px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --fav: #F0B429;
  --fav-dim: rgba(240, 180, 41, 0.16);
  --ink: #E7EEF8;
  --font-display: "Chakra Petch", "Arial Narrow", sans-serif;
  --ice: #F5F9FF;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body,
.app-shell {
  margin: 0;
  min-height: 100dvh;
  background-color: var(--bg);
  background-image:
    repeating-linear-gradient(
      -32deg,
      transparent,
      transparent 11px,
      rgba(91, 140, 255, 0.035) 11px,
      rgba(91, 140, 255, 0.035) 12px
    ),
    radial-gradient(900px 420px at 8% -10%, rgba(91, 140, 255, 0.10), transparent 55%),
    radial-gradient(700px 380px at 100% 0%, rgba(255, 77, 109, 0.05), transparent 50%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  color: var(--text);
  font-family: var(--font-ui);
  font-size: 14px;
  line-height: 1.45;
  padding-bottom: calc(var(--bottom-h) + var(--safe-b));
  -webkit-font-smoothing: antialiased;
}
a { color: var(--text); text-decoration: none; }
a:hover { color: var(--brand-bright); }
img { max-width: 100%; height: auto; display: block; }
button, input, select { font: inherit; color: inherit; background: transparent; border: 0; }

:focus-visible {
  outline: 2px solid var(--brand-bright);
  outline-offset: 2px;
}

.sr-only, .skip-link:not(:focus) {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}
.skip-link:focus {
  position: fixed; left: 8px; top: 8px; z-index: 100;
  background: var(--brand); color: #fff; padding: .5rem .75rem;
  border-radius: var(--radius-sm);
  outline: 2px solid var(--brand-bright);
  outline-offset: 2px;
}
.font-mono { font-family: var(--font-mono); }
.muted { color: var(--muted); }
.desktop-only { display: none; }
.mobile-only { display: block; }

.is-rtl { direction: rtl; }
.is-rtl .league-group { border-left: 0; border-right: 2px solid var(--brand); }
.is-rtl .fixture-row.is-fav { box-shadow: inset -3px 0 0 var(--fav); }
.is-rtl .lineups-note,
.is-rtl .legal-watch__note { border-left: 0; border-right: 3px solid var(--accent); }

/* Live score LED ticker */
.led-ticker {
  display: flex;
  align-items: center;
  height: 30px;
  overflow: hidden;
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  letter-spacing: 0.03em;
  color: var(--muted);
  box-shadow: none;
}
.led-ticker__track {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  white-space: nowrap;
  animation: ticker 55s linear infinite;
  padding-inline: 1rem;
  will-change: transform;
}
.led-ticker__track--idle {
  text-transform: uppercase;
  letter-spacing: 0.06em;
  animation-duration: 40s;
}
.led-ticker:hover .led-ticker__track {
  animation-play-state: paused;
}
.led-ticker__item {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: var(--text);
  text-decoration: none;
  flex-shrink: 0;
}
.led-ticker__item:hover,
.led-ticker__item:focus-visible {
  color: var(--brand-bright);
}
.led-ticker__live {
  color: var(--live);
  font-family: var(--font-score);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  min-width: 2.2em;
}
.led-ticker__score {
  font-family: var(--font-score);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  text-transform: none;
  letter-spacing: 0.02em;
  color: var(--ice);
}
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (max-width: 959px) {
  .led-ticker { height: 28px; font-size: 10px; }
  .led-ticker__track { gap: 1.1rem; animation-duration: 48s; }
}

/* Topbar */
.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: .65rem;
  align-items: center;
  min-height: var(--header-h);
  padding: 0 .85rem;
  background: rgba(11, 18, 32, 0.82);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: 0 1px 0 rgba(255,255,255,0.03) inset;
}
.topbar__nav {
  display: none;
  align-items: center;
  gap: .2rem;
}
.topbar__nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 .7rem;
  color: var(--muted);
  font-family: var(--font-score);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  white-space: nowrap;
  border-radius: var(--radius-sm);
}
.topbar__nav a:hover,
.topbar__nav a:focus-visible {
  color: var(--brand);
  background: var(--brand-soft);
}
.topbar__nav a.is-active {
  color: var(--brand-bright);
  box-shadow: inset 0 -2px 0 var(--brand);
  background: transparent;
  border-radius: 0;
}
.brand { display: flex; align-items: center; gap: .55rem; min-width: 0; }
.brand__mark {
  display: grid; place-items: center;
  width: 36px; height: 36px;
  background: var(--brand);
  color: #fff;
  font-family: var(--font-score);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.06em;
  border-radius: var(--radius-sm);
  transform: skewX(-8deg);
  box-shadow: 0 0 0 1px rgba(122, 162, 255, 0.35), 0 8px 20px rgba(0, 0, 0, 0.35);
}
.brand__mark > span {
  display: block;
  transform: skewX(8deg);
}
.brand__name {
  font-family: var(--font-score);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
}
.brand__accent { color: var(--brand-bright); }
.topbar__search {
  position: relative;
  min-width: 0;
}
.topbar__search input,
.topbar__locale select {
  width: 100%;
  min-height: 44px;
  padding: .4rem .7rem;
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: var(--radius-sm);
}
.topbar__search input:focus-visible,
.topbar__locale select:focus-visible {
  outline: 2px solid var(--brand-bright);
  outline-offset: 1px;
  border-color: var(--brand-bright);
  background: var(--surface);
}
.topbar__search input::placeholder { color: var(--muted); }
.topbar__locale select { min-width: 64px; }

/* Typeahead suggest */
.search-suggest {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  z-index: 80;
  max-height: min(70vh, 420px);
  overflow: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.search-suggest[hidden] { display: none !important; }
.search-suggest__section { border-bottom: 1px solid var(--line); }
.search-suggest__section:last-of-type { border-bottom: 0; }
.search-suggest__label {
  padding: .5rem .75rem .3rem;
  font-family: var(--font-score);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.search-suggest__item {
  display: flex;
  align-items: center;
  gap: .55rem;
  min-height: 44px;
  padding: .45rem .75rem;
  color: var(--text);
  border-top: 1px solid var(--line);
}
.search-suggest__item:hover,
.search-suggest__item.is-active,
.search-suggest__item:focus-visible {
  background: var(--brand-soft);
  outline: none;
}
.search-suggest__item img,
.search-suggest__ph {
  width: 22px;
  height: 22px;
  object-fit: contain;
  flex-shrink: 0;
  background: var(--surface-2);
  border-radius: 4px;
}
.search-suggest__ph { display: inline-block; }
.search-suggest__meta {
  display: flex;
  flex-direction: column;
  gap: .1rem;
  min-width: 0;
}
.search-suggest__meta strong {
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.search-suggest__meta span,
.search-suggest__sub {
  font-size: 11px;
  color: var(--muted);
}
.search-suggest__item--match {
  flex-wrap: wrap;
  align-items: flex-start;
}
.search-suggest__status {
  flex: 0 0 2.5rem;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
}
.search-suggest__status.is-live { color: var(--live); font-weight: 600; }
.search-suggest__match {
  flex: 1 1 12rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: .35rem;
  align-items: center;
  min-width: 0;
}
.search-suggest__side {
  display: flex;
  align-items: center;
  gap: .35rem;
  min-width: 0;
}
.search-suggest__side span {
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.search-suggest__score {
  font-family: var(--font-score);
  font-size: 13px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  text-align: center;
  min-width: 2.5rem;
  color: var(--ice);
}
.search-suggest__empty {
  padding: .85rem .75rem;
  color: var(--muted);
  font-size: 13px;
}
.search-suggest__all {
  display: block;
  padding: .75rem;
  text-align: center;
  border-top: 1px solid var(--line);
  color: var(--brand);
  font-family: var(--font-score);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
}
.search-suggest__all:hover,
.search-suggest__all.is-active {
  background: var(--brand-soft);
  color: var(--brand-bright);
}

/* Grid */
.app-grid {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 0;
}
.main-panel {
  min-width: 0;
  background: transparent;
  padding: .75rem .7rem 1.15rem;
}

/* News page */
.news-page {
  container-type: inline-size;
  container-name: news;
}
.news-feature {
  display: grid;
  gap: .4rem;
  padding: 1rem 1rem 1.1rem;
  margin-bottom: .65rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  color: inherit;
  text-decoration: none;
}
.news-feature:hover .news-feature__title,
.news-feature:focus-visible .news-feature__title {
  color: var(--brand-bright);
}
.news-feature__kicker {
  font-family: var(--font-score);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand);
}
.news-feature__title {
  margin: 0;
  font-size: clamp(1.15rem, 3.5vw, 1.45rem);
  line-height: 1.25;
  font-weight: 700;
  color: var(--ink);
}
.news-feature__excerpt {
  margin: 0;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-feature__time {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: .7rem;
}
.news-feed {
  list-style: none;
  margin: 0;
  padding: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.news-feed li {
  border-bottom: 1px solid var(--line);
}
.news-feed li:last-child { border-bottom: 0; }
.news-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: .75rem;
  align-items: start;
  padding: .85rem 1rem;
  color: inherit;
  text-decoration: none;
  min-height: 44px;
}
.news-row:hover .news-row__title,
.news-row:focus-visible .news-row__title {
  color: var(--brand-bright);
}
.news-row__body {
  display: grid;
  gap: .25rem;
  min-width: 0;
}
.news-row__title {
  font-size: .95rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
}
.news-row__excerpt {
  color: var(--muted);
  font-size: .8rem;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-row time {
  flex-shrink: 0;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: .68rem;
  padding-top: .15rem;
}
.news-pager {
  margin-top: 1rem;
}
.news-pager nav,
.news-pager .pagination {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  justify-content: center;
}
.news-pager a,
.news-pager span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 .55rem;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  font-size: .8rem;
  border-radius: var(--radius-sm);
}
.news-pager a:hover {
  border-color: var(--brand);
  color: var(--brand);
}
.news-pager .active span,
.news-pager [aria-current="page"] span {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

@container news (min-width: 640px) {
  .news-feature__title { font-size: 1.5rem; }
  .news-row__excerpt { -webkit-line-clamp: 1; }
}

/* TV / news mobile polish */
@media (max-width: 959px) {
  .tv-top__note {
    max-width: none;
    width: 100%;
    text-align: left;
  }
  .tv-hero__media,
  .tv-clip__media {
    border-radius: var(--radius-sm);
  }
  .tv-scoreline__teams {
    font-size: .88rem;
  }
  .tv-blurb {
    font-size: .78rem;
  }
  .brand__name {
    font-size: 1.05rem;
  }
}

.prose {
  font-size: .95rem;
  line-height: 1.6;
  color: var(--text);
}
.prose p { margin: 0 0 .85rem; }
.prose .muted { color: var(--muted); }
.prose h2 {
  margin: 1.4rem 0 .55rem;
  font-family: var(--font-score);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink);
}
.prose h3 {
  margin: 1rem 0 .4rem;
  font-size: .95rem;
  font-weight: 700;
  color: var(--ink);
}
.prose ul,
.prose ol {
  margin: 0 0 .95rem;
  padding-left: 1.25rem;
}
.prose li { margin: 0 0 .35rem; }
.prose a {
  color: var(--brand-bright);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.prose a:hover { color: var(--brand); }
.explore-intro,
.favorites-intro {
  margin: 1.25rem .65rem 1.5rem;
  max-width: 42rem;
}
.explore-intro--below,
.favorites-intro--below {
  padding-top: .85rem;
  border-top: 1px solid var(--line);
}
.explore-intro p:last-child,
.favorites-intro p:last-child { margin-bottom: 0; }
.legal-doc {
  max-width: 48rem;
}
.sidebar {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: .85rem;
  box-shadow: var(--shadow);
}
.sidebar--left { border-left: 0; border-top: 0; }
.panel__title {
  margin: 0 0 .55rem;
  font-family: var(--font-score);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}
.league-nav ul { list-style: none; margin: 0; padding: 0; }
.league-nav li a {
  display: flex;
  align-items: center;
  gap: .55rem;
  min-height: 44px;
  padding: .5rem .4rem;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  font-size: 13px;
  border-radius: var(--radius-sm);
}
.league-nav li a:hover {
  background: var(--brand-soft);
  color: var(--brand);
}
.league-nav__logo {
  width: 18px;
  height: 18px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 2px;
}
.league-nav__logo--ph {
  display: inline-block;
  background: var(--surface-2);
  border: 1px solid var(--line);
}
.league-nav__text {
  display: flex;
  flex-direction: column;
  gap: .1rem;
  min-width: 0;
}
.league-nav__name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.league-nav__country {
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.text-link {
  display: inline-block;
  margin-top: .65rem;
  color: var(--brand-bright);
  font-size: 13px;
  font-weight: 600;
}
.text-link:hover { color: var(--brand); }

/* Sticky filters */
.sport-tabs {
  display: flex;
  gap: .4rem;
  overflow-x: auto;
  padding: .55rem 0 .65rem;
  margin-bottom: .25rem;
  scrollbar-width: none;
}
.sport-tabs::-webkit-scrollbar { display: none; }
.sport-tabs__item {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  min-height: 44px;
  padding: .4rem .85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--muted);
  font-family: var(--font-score);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: none;
}
.sport-tabs__item:hover {
  border-color: var(--brand);
  color: var(--brand);
}
.sport-tabs__item.is-active {
  border-color: var(--brand);
  color: var(--brand);
  background: var(--brand-soft);
}
.sport-tabs__live {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.15rem;
  height: 1.15rem;
  padding: 0 .28rem;
  border-radius: 999px;
  background: var(--live);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
}
.empty-state__hint {
  margin-top: .75rem !important;
  color: var(--muted);
  font-size: 13px;
}
.empty-state__sports {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  justify-content: center;
  margin-top: .55rem;
}
.filter-sticky {
  position: sticky;
  top: var(--header-h);
  z-index: 30;
  background: rgba(11, 18, 32, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  padding: .4rem 0 .5rem;
}
.date-strip {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}
.date-strip::-webkit-scrollbar { display: none; }
.date-strip__day {
  flex: 0 0 auto;
  min-width: 64px;
  min-height: 44px;
  padding: .45rem .7rem;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  font-family: var(--font-score);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.date-strip__day:hover { color: var(--brand); }
.date-strip__day.is-today { color: var(--ink); font-weight: 700; }
.date-strip__day.is-selected {
  color: var(--brand);
  border-bottom-color: var(--brand);
}
.filter-row {
  display: flex;
  gap: .4rem;
  overflow-x: auto;
  padding: .5rem .65rem 0;
  scrollbar-width: none;
}
.filter-row::-webkit-scrollbar { display: none; }
.chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  min-height: 36px;
  padding: .25rem .7rem;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  cursor: pointer;
  white-space: nowrap;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-family: var(--font-score);
  font-weight: 700;
  border-radius: 999px;
}
.chip:hover, .chip.is-on {
  color: var(--brand);
  border-color: var(--brand);
  background: var(--brand-soft);
}
.chip--live.is-on, .chip--live:hover {
  border-color: var(--live);
  color: var(--live);
  background: var(--live-dim);
}
.chip--fav.is-on, .chip--fav:hover {
  border-color: var(--fav);
  color: var(--fav);
  background: var(--fav-dim);
}
.pulse {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--live);
  box-shadow: 0 0 0 0 rgba(255, 77, 109, 0.45);
  animation: pulse 1.3s infinite;
}
@keyframes pulse {
  70% { box-shadow: 0 0 0 7px rgba(255, 77, 109, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 77, 109, 0); }
}

/* Scoreboard */
.home-heading {
  padding: 1rem 1.1rem .95rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  margin-bottom: .65rem;
}
.home-heading__eyebrow {
  margin: 0 0 .35rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand);
}
.home-heading h1 {
  margin: 0;
  font-family: var(--font-score);
  font-size: clamp(1.2rem, 3.2vw, 1.55rem);
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 1.15;
}
.home-heading__lead {
  margin: .45rem 0 0;
  max-width: 42rem;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.45;
}
.scoreboard { background: transparent; }
.league-group {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 2px solid var(--brand);
  border-radius: var(--radius);
  box-shadow: none;
  margin-bottom: .75rem;
  overflow: hidden;
}
.league-group__head {
  padding: .55rem .85rem;
  background: var(--surface-2);
  border-bottom: 1px solid var(--line);
  font-family: var(--font-score);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 13px;
  font-weight: 700;
}
.league-group__head a {
  display: flex;
  align-items: center;
  gap: .45rem;
  color: var(--ink);
}
.league-group__head a:hover { color: var(--brand-bright); }
.league-group__head img {
  width: 16px; height: 16px; object-fit: contain;
}
.league-group__head .muted {
  margin-left: auto;
  font-size: 11px;
  letter-spacing: 0.08em;
}
.fixture-list { list-style: none; margin: 0; padding: 0; }
.fixture-row {
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: stretch;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.fixture-row:last-child { border-bottom: 0; }
.fixture-row.is-live { background: var(--live-dim); }
.fixture-row.is-fav { box-shadow: inset 3px 0 0 var(--fav); }
.fixture-row:hover { background: var(--surface-2); }
.fixture-row.is-live:hover { background: rgba(255, 77, 109, 0.18); }
.fixture-row__body,
.fixture-row__link {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 44px;
  gap: .35rem;
  align-items: center;
  padding: .45rem .7rem .45rem 0;
  min-height: 56px;
  color: inherit;
}
.fixture-row__link--league {
  grid-template-columns: 64px minmax(0, 1fr) 44px;
  width: 100%;
}
.fixture-row__status {
  font-family: var(--font-score);
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  display: grid;
  gap: .1rem;
  place-items: center;
}
.fixture-row__teams { display: grid; gap: .2rem; min-width: 0; }
.team {
  display: flex;
  align-items: center;
  gap: .35rem;
  min-width: 0;
  font-size: 13px;
  color: var(--text);
}
.team__link {
  display: flex;
  align-items: center;
  gap: .4rem;
  min-width: 0;
  color: inherit;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.team__link:hover { color: var(--brand-bright); }
.team-logo {
  width: 16px; height: 16px;
  object-fit: contain;
  flex-shrink: 0;
}
.fixture-row__score {
  display: grid;
  gap: .12rem;
  text-align: end;
  font-family: var(--font-score);
  font-size: 15px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--ice);
  line-height: 1.2;
}
.fixture-row.is-live .fixture-row__score { color: var(--live); }
.fav-btn {
  border: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--muted);
  cursor: pointer;
  min-width: 44px;
  min-height: 44px;
  font-size: 18px;
  display: grid;
  place-items: center;
  transition: color .15s ease, border-color .15s ease, background .15s ease;
  align-self: center;
  margin-left: .2rem;
  border-radius: var(--radius-sm);
}
.fav-btn:hover {
  color: var(--fav);
  border-color: var(--fav);
  background: var(--fav-dim);
}
.fav-btn.is-on {
  color: var(--fav);
  border-color: var(--fav);
  background: var(--fav-dim);
}
.fav-btn--sm {
  min-width: 28px;
  min-height: 28px;
  width: 28px;
  height: 28px;
  font-size: 13px;
  border-radius: var(--radius);
  margin: 0;
  flex-shrink: 0;
}
.live-badge {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  padding: .15rem .45rem;
  border-radius: 999px;
  background: var(--live-dim);
  color: var(--live);
  font-family: var(--font-score);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 0 0 1px rgba(255, 77, 109, 0.25);
  animation: livePill 1.6s ease-in-out infinite;
}
@keyframes livePill {
  0%, 100% { box-shadow: 0 0 0 1px rgba(255, 77, 109, 0.25), 0 0 0 0 rgba(255, 77, 109, 0); }
  50% { box-shadow: 0 0 0 1px rgba(255, 77, 109, 0.45), 0 0 12px 2px rgba(255, 77, 109, 0.22); }
}
.ft-badge {
  font-family: var(--font-score);
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
}
.empty-state {
  padding: 2.5rem 1rem;
  text-align: center;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.scoreboard-more {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .35rem;
  padding: .85rem .75rem 1.25rem;
}
.scoreboard-more__btn {
  min-height: 44px;
  padding: .55rem 1.25rem;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
}
.scoreboard-more__btn:hover,
.scoreboard-more__btn:focus-visible {
  border-color: var(--brand);
  color: var(--brand);
  outline: none;
}
.scoreboard-more__btn:disabled {
  opacity: .65;
  cursor: wait;
}
.scoreboard-more__sentinel {
  width: 100%;
  height: 1px;
  pointer-events: none;
}

/* Match page */
.match-page { padding: 0 0 1rem; }
.match-card {
  margin: .65rem .65rem 0;
  padding: 1rem 1rem 1.1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.match-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: .55rem;
}
.match-card__title {
  margin: 0 0 .85rem;
  font-family: var(--font-score);
  font-size: clamp(1.15rem, 2.8vw, 1.45rem);
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1.2;
  color: var(--ink);
  text-wrap: balance;
}
.match-card__comp {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  min-width: 0;
  color: var(--muted);
  font-size: 13px;
}
.match-card__comp img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  flex-shrink: 0;
}
.fav-btn--hero {
  min-width: 44px;
  min-height: 44px;
  border-radius: var(--radius-sm);
  margin: 0;
  flex-shrink: 0;
}
.match-card__scoreboard {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: .75rem;
  align-items: start;
  text-align: center;
}
.match-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .55rem;
  color: var(--ink);
  min-width: 0;
}
.match-side__crest {
  width: 72px;
  height: 72px;
  object-fit: contain;
  display: block;
}
.match-side__crest--ph {
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--line);
  font-family: var(--font-score);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--muted);
}
.match-side__name {
  font-family: var(--font-score);
  font-size: clamp(.95rem, 2.8vw, 1.15rem);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.2;
  word-break: break-word;
  color: var(--ink);
}
.match-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .25rem;
  min-width: 88px;
  padding-top: .35rem;
}
.match-center__score {
  display: block;
  font-family: var(--font-score);
  font-size: clamp(1.8rem, 6vw, 2.4rem);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--ice);
  line-height: 1;
}
.match-center__when {
  font-family: var(--font-score);
  font-size: clamp(1.35rem, 4.5vw, 1.75rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.1;
}
.match-center__day,
.match-center__status {
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .04em;
}
.match-info {
  list-style: none;
  margin: 1rem 0 0;
  padding: .75rem 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  gap: .45rem;
}
.match-info li {
  display: flex;
  align-items: center;
  gap: .55rem;
  font-size: 13px;
  color: var(--text);
}
.match-info__ico {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  opacity: .7;
  background: currentColor;
  color: var(--muted);
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
}
.match-info__ico--cal {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M3 10h18M8 3v4M16 3v4'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M3 10h18M8 3v4M16 3v4'/%3E%3C/svg%3E");
}
.match-info__ico--venue {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M3 20h18M5 20V10l7-5 7 5v10M9 20v-6h6v6'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M3 20h18M5 20V10l7-5 7 5v10M9 20v-6h6v6'/%3E%3C/svg%3E");
}
.match-info__ico--ref {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='8'/%3E%3Cpath d='M12 8v4l2.5 2.5'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='8'/%3E%3Cpath d='M12 8v4l2.5 2.5'/%3E%3C/svg%3E");
}
/* legacy hooks */
.match-hero { display: none; }
.match-team__logo { width: 22px; height: 22px; object-fit: contain; flex-shrink: 0; }
.tabs {
  display: flex;
  gap: 0;
  overflow-x: auto;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius) var(--radius) 0 0;
  scrollbar-width: none;
  box-shadow: var(--shadow);
}
.tabs::-webkit-scrollbar { display: none; }
.tabs__item {
  flex: 0 0 auto;
  min-height: 44px;
  padding: .55rem .9rem;
  background: transparent;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  cursor: pointer;
  font-family: var(--font-score);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 12px;
  font-weight: 700;
}
.tabs__item:hover { color: var(--brand); }
.tabs__item.is-active {
  color: var(--brand);
  border-bottom-color: var(--brand);
}
.tab-panel {
  padding: .95rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow);
}
.summary-panel { display: grid; gap: .75rem; }
.summary-pills {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
}
.summary-pills__btn {
  min-height: 36px;
  padding: .35rem .95rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--text);
  font-size: 13px;
  cursor: pointer;
}
.summary-pills__btn.is-on {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}
.ls-events {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
}
.ls-events__empty {
  margin: 0;
  padding: 1rem .85rem;
  text-align: center;
  color: var(--muted);
}

/* Idle pitch placeholder */
.match-pitch {
  margin: 0;
  padding: .75rem;
  display: grid;
  justify-items: center;
}
.match-pitch__field {
  position: relative;
  width: min(100%, 320px);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow:
    0 0 0 1px var(--line),
    var(--shadow);
}
.match-pitch__svg {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: top;
}
.match-pitch__crest {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .35rem;
  z-index: 2;
  pointer-events: none;
  width: max-content;
  max-width: 78%;
}
.match-pitch__crest--away { top: 18%; }
.match-pitch__crest--home { bottom: 18%; }
.match-pitch__crest img,
.match-pitch__crest > span {
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  background: rgba(21, 30, 46, 0.92);
  border: 2px solid rgba(42, 58, 82, 0.9);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.45);
  object-fit: contain;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--brand);
}
.match-pitch__crest > span { display: grid; }
.match-pitch__crest em {
  font-style: normal;
  font-size: .72rem;
  font-weight: 700;
  color: #fff;
  text-align: center;
  line-height: 1.2;
  text-shadow: 0 1px 3px rgba(0,0,0,.55);
  padding: .15rem .45rem;
  border-radius: 999px;
  background: rgba(11, 18, 32, 0.75);
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.match-pitch--hockey .match-pitch__crest img,
.match-pitch--hockey .match-pitch__crest > span,
.match-pitch--icehockey .match-pitch__crest img,
.match-pitch--icehockey .match-pitch__crest > span {
  border-color: rgba(30, 58, 138, .55);
}
.match-pitch--basketball .match-pitch__crest img,
.match-pitch--basketball .match-pitch__crest > span {
  border-color: rgba(180, 83, 9, .45);
}

/* Watch tab player shell */
.watch-player {
  margin: 0 0 .85rem;
}
.watch-player__stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--bg);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.watch-player__thumb,
.watch-player__void {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.watch-player__void {
  display: grid;
  place-items: center;
  background:
    radial-gradient(ellipse at 50% 42%, var(--surface-2) 0%, var(--bg) 55%, #060b14 100%),
    repeating-linear-gradient(-32deg, transparent, transparent 11px, rgba(91,140,255,.04) 12px);
}
.watch-player__void-label {
  position: relative;
  z-index: 1;
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.32);
  pointer-events: none;
  margin-top: 5.5rem;
}
.watch-player__play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  border: 0;
  border-radius: 50%;
  background: var(--live);
  cursor: pointer;
  display: grid;
  place-items: center;
  z-index: 2;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.5);
  padding: 0;
}
.watch-player__play:hover {
  background: #e83a5c;
  transform: translate(-50%, -50%) scale(1.05);
}
.watch-player__play:focus-visible {
  outline: 2px solid var(--brand-bright);
  outline-offset: 3px;
}
.watch-player__play-ico {
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 11px 0 11px 18px;
  border-color: transparent transparent transparent #fff;
  margin-left: 3px;
}
.watch-player__soon {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(11, 18, 32, 0.88);
  color: #f8fafc;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: .04em;
  z-index: 3;
}
.watch-player__frame {
  position: absolute;
  inset: 0;
  z-index: 4;
}
.watch-player__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.watch-player__soon[hidden] { display: none !important; }
.watch-player.is-soon .watch-player__soon { display: grid !important; }
.watch-player__frame[hidden] { display: none !important; }
.watch-player.is-playing .watch-player__frame { display: block !important; }
.watch-player.is-playing .watch-player__play,
.watch-player.is-playing .watch-player__thumb,
.watch-player.is-playing .watch-player__void { display: none !important; }
.watch-player.is-soon .watch-player__play { display: none !important; }
.legal-watch__links {
  list-style: none;
  margin: .75rem 0 0;
  padding: 0;
  display: grid;
  gap: .4rem;
}
.legal-watch__links a { color: var(--brand-bright); }
.ls-event {
  display: grid;
  grid-template-columns: 44px 1fr 56px 1fr;
  gap: .35rem;
  align-items: center;
  min-height: 48px;
  padding: .55rem .65rem;
  border-bottom: 1px solid var(--line);
}
.ls-event:last-child { border-bottom: 0; }
.ls-event--period .ls-event__score {
  color: var(--ice);
}
.ls-event__min {
  color: var(--muted);
  font-size: 12px;
  font-family: var(--font-score);
}
.ls-event__score {
  text-align: center;
  font-weight: 700;
  color: var(--brand);
  font-family: var(--font-score);
  font-variant-numeric: tabular-nums;
  font-size: 13px;
  white-space: nowrap;
}
.ls-event__home,
.ls-event__away {
  min-width: 0;
}
.ls-event__block {
  display: flex;
  align-items: center;
  gap: .4rem;
  min-width: 0;
}
.ls-event__block--home { justify-content: flex-end; text-align: right; }
.ls-event__block--away { justify-content: flex-start; text-align: left; }
.ls-event__text {
  display: flex;
  flex-direction: column;
  gap: .1rem;
  min-width: 0;
}
.ls-event__player {
  color: var(--ink);
  font-weight: 700;
  font-size: 13px;
  line-height: 1.2;
  word-break: break-word;
}
.ls-event__assist {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.2;
  word-break: break-word;
}
.ls-ico {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  display: inline-block;
  background: currentColor;
  color: var(--ink);
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
}
.ls-ico--goal,
.ls-ico--penalty {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath fill='white' d='M12 2.5l2.2 4.4 4.8.7-3.5 3.4.8 4.8L12 13.8 7.7 15.8l.8-4.8L5 7.6l4.8-.7z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath fill='white' d='M12 2.5l2.2 4.4 4.8.7-3.5 3.4.8 4.8L12 13.8 7.7 15.8l.8-4.8L5 7.6l4.8-.7z'/%3E%3C/svg%3E");
  color: var(--brand);
}
.ls-ico--yellow,
.ls-ico--second-yellow {
  width: 10px;
  height: 14px;
  border-radius: 2px;
  background: #eab308;
  mask: none;
  -webkit-mask: none;
}
.ls-ico--second-yellow {
  box-shadow: 2px 2px 0 var(--live);
}
.ls-ico--red {
  width: 10px;
  height: 14px;
  border-radius: 2px;
  background: var(--live);
  mask: none;
  -webkit-mask: none;
}
.ls-ico--sub {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4'%3E%3Cpath d='M7 7h10l-3-3M17 17H7l3 3'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4'%3E%3Cpath d='M7 7h10l-3-3M17 17H7l3 3'/%3E%3C/svg%3E");
  color: var(--ok);
}
.ls-ico--var,
.ls-ico--miss,
.ls-ico--event {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3C/svg%3E");
  opacity: .7;
  color: var(--muted);
}
.ls-commentary {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
}
.ls-commentary__row {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: .55rem;
  padding: .55rem .75rem;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.ls-commentary__row:last-child { border-bottom: 0; }
.ls-commentary__min { color: var(--muted); font-family: var(--font-score); }
.ls-commentary__text { color: var(--text); line-height: 1.4; }
.event-timeline { list-style: none; margin: 0; padding: 0; }
.event-timeline__item {
  display: grid;
  grid-template-columns: 48px 72px 1fr;
  gap: .5rem;
  padding: .5rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.stats-grid { display: grid; gap: .15rem; }
.stats-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: .75rem;
  padding: .45rem 0;
  border-bottom: 1px solid var(--line);
  text-align: center;
  font-family: var(--font-score);
}
.lineups {
  display: grid;
  gap: 1rem;
}
@media (min-width: 720px) {
  .lineups { grid-template-columns: 1fr 1fr; }
}
.lineups-note {
  margin: 0 0 .85rem;
  padding: .65rem .75rem;
  border-left: 3px solid var(--brand);
  background: var(--brand-soft);
  font-size: 13px;
  color: var(--text);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.lineup-panel {
  padding: .75rem;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.lineup-panel__head {
  display: flex;
  align-items: center;
  gap: .55rem;
  margin-bottom: .65rem;
}
.lineup-panel__head img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}
.lineup-panel__head h3,
.lineups h3 {
  margin: 0;
  font-family: var(--font-score);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 14px;
  color: var(--ink);
}
.lineup-panel__label {
  margin: .55rem 0 .3rem;
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
}
.empty-state p { margin: 0 0 .35rem; }
.h2h-list { list-style: none; margin: 0; padding: 0; }
.h2h-list__item {
  display: grid;
  grid-template-columns: 88px 1fr auto 1fr;
  gap: .5rem;
  align-items: center;
  padding: .5rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.h2h-list__item strong {
  text-align: center;
  font-family: var(--font-score);
  font-variant-numeric: tabular-nums;
  color: var(--ice);
}
.table-card {
  display: grid;
  gap: .5rem;
}
.table-card__head,
.table-card__row {
  display: grid;
  grid-template-columns: 40px 1fr 40px 40px;
  gap: .5rem;
  align-items: center;
}
.table-card__head {
  grid-template-columns: 1fr auto;
  padding-bottom: .35rem;
  border-bottom: 1px solid var(--line);
}
.table-card__rows {
  display: grid;
}
.table-card__row {
  padding: .45rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.table-card__row.is-highlight {
  background: var(--brand-soft);
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
}
.table-wrap::-webkit-scrollbar { display: none; }

.standings-table.match-standings td,
.standings-table.match-standings th {
  white-space: nowrap;
}
.standings-table.match-standings tr.is-highlight td,
.standings-table--ls tr.is-highlight td {
  background: var(--brand-soft);
}

/* Team page */
.entity-crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  align-items: center;
  padding: .65rem .85rem 0;
  font-size: 12px;
  color: var(--muted);
}
.entity-crumbs a { color: var(--text); }
.entity-crumbs a:hover { color: var(--brand-bright); }
.team-hero {
  margin: .65rem .65rem 0;
  padding: 1rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: .75rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.team-hero__main {
  display: flex;
  align-items: center;
  gap: .85rem;
  min-width: 0;
}
.team-hero__crest {
  width: 72px;
  height: 72px;
  object-fit: contain;
  flex-shrink: 0;
}
.team-hero__crest--ph {
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--line);
  font-family: var(--font-score);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--muted);
}
.team-hero__text h1 {
  margin: 0 0 .25rem;
  font-family: var(--font-score);
  font-size: clamp(1.25rem, 4vw, 1.75rem);
  text-transform: none;
  letter-spacing: 0;
  color: var(--ink);
}
.team-hero__text .muted { margin: 0; font-size: 13px; }
.next-match {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: .75rem;
  align-items: center;
  padding: 1rem .75rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  box-shadow: var(--shadow);
}
.next-match__side {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .45rem;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  min-width: 0;
}
.next-match__side img { width: 48px; height: 48px; object-fit: contain; }
.next-match__ph {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--line);
  font-weight: 700;
  color: var(--muted);
}
.next-match__center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .2rem;
  min-width: 88px;
}
.next-match__center strong {
  font-family: var(--font-score);
  font-size: 1.45rem;
  font-variant-numeric: tabular-nums;
  color: var(--ice);
}
.next-match__comp { font-size: 11px; text-align: center; color: var(--muted); }
.stat-chips {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .5rem;
}
@media (min-width: 720px) {
  .stat-chips { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
.stat-chip {
  padding: .65rem .5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  gap: .2rem;
  text-align: center;
  box-shadow: none;
}
.stat-chip strong {
  font-family: var(--font-score);
  font-size: 1.1rem;
  color: var(--ice);
  font-variant-numeric: tabular-nums;
}
.fixture-list--team { list-style: none; margin: 0; padding: 0; }
.fixture-row.fixture-row--team,
.league-fixture-list .fixture-row {
  display: block;
  grid-template-columns: none;
  border-bottom: 0;
}
.fixture-row--team .fixture-row__link,
.league-fixture-list .fixture-row__link {
  display: grid;
  grid-template-columns: minmax(108px, 132px) minmax(0, 1fr) auto;
  gap: .65rem;
  align-items: center;
  width: 100%;
  min-width: 0;
  padding: .7rem .25rem;
  border-bottom: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
  box-sizing: border-box;
}
.league-fixture-list .fixture-row__link--league {
  grid-template-columns: minmax(72px, 88px) minmax(0, 1fr) 48px;
}
.fixture-row--team .fixture-row__score,
.league-fixture-list .fixture-row__score {
  min-width: 48px;
  text-align: right;
  white-space: nowrap;
}
.fixture-row--team .fixture-row__teams--row .team {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.league-fixture-list .fixture-row__teams .team {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.fixture-row__meta {
  display: flex;
  flex-direction: column;
  gap: .15rem;
  font-size: 12px;
  color: var(--muted);
}
.fixture-row__teams--row {
  display: flex;
  flex-direction: column;
  gap: .35rem;
}
.fixture-row__teams--row .team {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-size: 13px;
}
.fixture-row__teams--row .is-self { font-weight: 700; color: var(--brand); }
.squad-grid--rich { grid-template-columns: 1fr; }
@media (min-width: 640px) {
  .squad-grid--rich { grid-template-columns: 1fr 1fr; }
}
.squad-ph {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  border: 1px solid var(--line);
  flex-shrink: 0;
  font-weight: 700;
  color: var(--muted);
}
.lineups ul,
.lineup-list { list-style: none; margin: 0; padding: 0; }
.lineups li,
.lineup-list li {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  gap: .5rem;
  align-items: center;
  padding: .4rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  min-height: 40px;
}
.lineup-list__num { color: var(--muted); }
.lineup-list__pos { font-size: 11px; text-transform: uppercase; color: var(--muted); }
.lineup-list--bench li { opacity: .88; }
.odds-board {
  display: grid;
  gap: .5rem;
}
.odds-row {
  display: grid;
  grid-template-columns: 1fr repeat(3, 64px);
  gap: .35rem;
  align-items: center;
  padding: .45rem .5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: var(--font-score);
}
.odds-row span {
  text-align: center;
  padding: .35rem;
  background: var(--surface-2);
  border-radius: 4px;
  font-variant-numeric: tabular-nums;
}
.legal-watch__note {
  font-size: .9rem;
  color: var(--muted);
  border-left: 3px solid var(--ok);
  padding-left: .75rem;
  margin-bottom: .85rem;
}
.legal-watch__embed {
  margin-top: .75rem;
  aspect-ratio: 16/9;
  background: var(--bg);
  overflow: hidden;
  position: relative;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

/* TV page */
.tv-page {
  max-width: none;
  container-type: inline-size;
  container-name: tv;
}
.tv-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: .5rem 1rem;
  flex-wrap: wrap;
  margin-bottom: .85rem;
  padding-bottom: .65rem;
  border-bottom: 1px solid var(--line);
}
.tv-top__titles {
  display: flex;
  align-items: baseline;
  gap: .55rem;
}
.tv-top h1 {
  margin: 0;
  font-family: var(--font-score);
  font-size: clamp(1.45rem, 4vw, 1.85rem);
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  line-height: 1;
  color: var(--ink);
}
.tv-top__tag {
  margin: 0;
  color: var(--ok);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.tv-top__note {
  margin: 0;
  color: var(--muted);
  font-size: .72rem;
  max-width: 16rem;
  line-height: 1.3;
}
.tv-kicker {
  margin: 0 0 .65rem;
  font-family: var(--font-score);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
.tv-shell {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
.tv-hero {
  display: grid;
  gap: .6rem;
  margin-bottom: 1.1rem;
  padding: 1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.tv-hero__media {
  margin: 0;
  border: 1px solid var(--line);
  background: var(--bg);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.tv-hero__copy {
  display: grid;
  gap: .28rem;
}
.tv-scoreline {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: .65rem;
  color: var(--text);
  text-decoration: none;
}
.tv-scoreline:hover,
.tv-scoreline:focus-visible {
  color: var(--brand-bright);
}
.tv-scoreline__teams {
  font-weight: 700;
  font-size: .95rem;
  line-height: 1.25;
  min-width: 0;
  color: var(--ink);
}
.tv-scoreline__vs {
  color: var(--muted);
  font-weight: 500;
  padding: 0 .15rem;
}
.tv-scoreline__score {
  flex-shrink: 0;
  font-family: var(--font-score);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: .05em;
  font-variant-numeric: tabular-nums;
  color: var(--ice);
}
.tv-scoreline--compact .tv-scoreline__teams {
  font-size: .82rem;
}
.tv-scoreline--compact .tv-scoreline__score {
  font-size: .95rem;
}
.tv-scoreline__meta {
  margin: 0;
  color: var(--muted);
  font-size: .72rem;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.tv-blurb {
  margin: .1rem 0 0;
  color: var(--muted);
  font-size: .8rem;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.tv-blurb--tight {
  -webkit-line-clamp: 1;
  font-size: .74rem;
}
.tv-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: .95rem;
}
.tv-clip {
  display: grid;
  gap: .4rem;
  min-width: 0;
  padding: .85rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.tv-clip__media {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.tv-clip__fallback {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--brand);
  font-family: var(--font-score);
  letter-spacing: .06em;
  text-transform: uppercase;
  font-size: .85rem;
  border-radius: var(--radius-sm);
}
.tv-rail {
  border-top: 1px solid var(--line);
  padding-top: .85rem;
}
.tv-rail__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: .5rem;
  margin-bottom: .2rem;
}
.tv-rail__head .tv-kicker { margin-bottom: 0; }
.tv-rail__all {
  color: var(--brand-bright);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.tv-rail__empty { font-size: .85rem; color: var(--muted); }
.tv-rail__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.tv-rail__list li {
  border-bottom: 1px solid var(--line);
}
.tv-rail__list a,
.tv-rail__list > li > span {
  display: grid;
  gap: .15rem;
  padding: .55rem 0;
  color: inherit;
  text-decoration: none;
  min-height: 44px;
}
.tv-rail__list a:hover .tv-rail__title,
.tv-rail__list a:focus-visible .tv-rail__title {
  color: var(--brand-bright);
}
.tv-rail__title {
  font-size: .82rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.tv-rail__sub {
  color: var(--muted);
  font-size: .7rem;
}
.tv-rail__list time {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: .65rem;
}
.tv-rail__broadcasts {
  margin-top: 1rem;
}
.tv-rail__list--broadcast .tv-rail__title {
  font-size: .8rem;
}

@container tv (min-width: 520px) {
  .tv-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .85rem 1rem;
  }
}

@container tv (min-width: 700px) {
  .tv-shell {
    grid-template-columns: minmax(0, 1fr) 220px;
    gap: 1.25rem;
    align-items: start;
  }
  .tv-rail {
    border-top: 0;
    border-left: 1px solid var(--line);
    padding-top: 0;
    padding-left: 1rem;
    position: sticky;
    top: calc(var(--header-h) + 10px);
  }
  .tv-top__note {
    text-align: right;
  }
}

@supports not (container-type: inline-size) {
  @media (min-width: 720px) {
    .tv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  }
  @media (min-width: 1100px) {
    .tv-shell {
      grid-template-columns: minmax(0, 1fr) 220px;
      align-items: start;
    }
    .tv-rail {
      border-top: 0;
      border-left: 1px solid var(--line);
      padding-left: 1rem;
      position: sticky;
      top: calc(var(--header-h) + 10px);
    }
  }
}
.btn-amber, .btn-primary {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  padding: .65rem 1.1rem;
  min-height: 44px;
  font-family: var(--font-score);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 8px rgba(91, 140, 255, 0.3);
}
.btn-amber:hover, .btn-primary:hover {
  background: var(--brand-bright);
  color: #fff;
}

/* Goal flash */
.goal-flash {
  position: sticky;
  top: calc(var(--header-h) + 26px);
  z-index: 50;
  animation: flashIn .3s ease-out;
}
.goal-flash__inner {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  align-items: center;
  justify-content: space-between;
  margin: .5rem .65rem 0;
  padding: .6rem .85rem;
  background: var(--live);
  color: #fff;
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(255, 77, 109, 0.35);
}
.goal-flash__label {
  font-family: var(--font-score);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
}
@keyframes flashIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Bottom tabs */
.bottom-tabs {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 60;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  height: calc(var(--bottom-h) + var(--safe-b));
  padding-bottom: var(--safe-b);
  background: rgba(11, 18, 32, 0.94);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.35);
}
.bottom-tabs__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .15rem;
  color: var(--muted);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-family: var(--font-score);
  font-weight: 700;
  min-height: 44px;
}
.bottom-tabs__item.is-active {
  color: var(--brand-bright);
  box-shadow: inset 0 -2px 0 var(--brand);
}
.bottom-tabs__item.is-active .bottom-tabs__icon { color: var(--brand-bright); }
.bottom-tabs__icon { font-size: 14px; line-height: 1; }
.bottom-tabs__more { position: relative; }
.bottom-tabs__more summary { list-style: none; cursor: pointer; }
.bottom-tabs__more summary::-webkit-details-marker { display: none; }
.bottom-tabs__drawer {
  position: absolute;
  right: .25rem;
  bottom: calc(100% + 6px);
  min-width: 160px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: .35rem 0;
  box-shadow: var(--shadow);
}
.bottom-tabs__drawer a {
  display: block;
  padding: .6rem .85rem;
  font-size: 13px;
  min-height: 44px;
}
.bottom-tabs__drawer a:hover {
  background: var(--brand-soft);
  color: var(--brand);
}

.site-footer {
  padding: 1.35rem .85rem 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  text-align: center;
  background: var(--surface);
}
.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .35rem .85rem;
  margin-bottom: .65rem;
}
.site-footer a { color: var(--muted); text-decoration: underline; }
.site-footer a:hover { color: var(--brand); }

.ad-slot {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  display: block;
  background: transparent;
  border: 0;
}
.ad-slot__frame {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  display: block;
  transform-origin: top center;
  line-height: 0;
  text-align: center;
}
.ad-slot__frame > * {
  max-width: 100% !important;
  box-sizing: border-box !important;
}
.ad-slot a {
  display: block;
  width: 100%;
  line-height: 0;
}
.ad-slot img,
.ad-slot picture img {
  max-width: 100% !important;
  width: 100% !important;
  height: auto !important;
  display: block;
  margin: 0 auto;
  object-fit: contain;
}
.ad-slot iframe,
.ad-slot embed,
.ad-slot object,
.ad-slot video {
  max-width: 100% !important;
  width: 100% !important;
}
.ad-slot ins,
.ad-slot .adsbygoogle,
.ad-slot [id^="google_ads"],
.ad-slot [id*="google_ads"] {
  max-width: 100% !important;
  width: 100% !important;
  display: block !important;
  overflow: hidden !important;
  margin: 0 auto !important;
}
.ad-slot--banner {
  margin: .55rem .55rem .35rem;
  min-height: 50px;
}
.ad-slot--banner .ad-slot__frame {
  min-height: 50px;
}
.ad-slot--square {
  min-height: 120px;
  margin: 0 0 .75rem;
}
.sidebar .ad-slot--square {
  width: 100%;
}
@media (max-width: 959px) {
  .ad-slot--banner {
    margin: .45rem .4rem .25rem;
  }
  .ad-slot--banner .ad-slot__frame,
  .ad-slot--banner .ad-slot__frame > div,
  .ad-slot--banner .ad-slot__frame > a,
  .ad-slot--banner .ad-slot__frame > span,
  .ad-slot--banner .ad-slot__frame > ins {
    width: 100% !important;
    max-width: 100% !important;
  }
  .ad-slot--banner img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
  }
  .ad-slot--banner iframe {
    width: 100% !important;
    min-height: 50px;
  }
}

/* Entity pages */
.entity-hero {
  padding: 1rem .95rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: .9rem;
  align-items: center;
  margin-bottom: .65rem;
}
.entity-hero__badge img { width: 72px; height: 72px; object-fit: contain; }
.entity-hero__placeholder {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border: 1px solid var(--line);
  background: var(--surface-2);
  font-family: var(--font-score);
  font-size: 28px;
  color: var(--brand);
  border-radius: var(--radius-sm);
}
.entity-hero__eyebrow {
  margin: 0;
  color: var(--muted);
  font-family: var(--font-score);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 11px;
}
.entity-hero h1 {
  margin: .35rem 0;
  font-family: var(--font-score);
  font-size: clamp(1.4rem, 4vw, 2rem);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--ink);
}
.standings-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  background: var(--surface);
}
.standings-table th,
.standings-table td {
  padding: .45rem .5rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  color: var(--text);
}
.standings-table th {
  font-family: var(--font-score);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  font-size: 11px;
  background: var(--surface-2);
}
.standings-table td:nth-child(n+3) {
  text-align: center;
  font-family: var(--font-score);
  font-variant-numeric: tabular-nums;
}
.standings-table tbody tr:nth-child(even) td {
  background: var(--surface-2);
}
.team-inline {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
}
.team-inline img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}
.panel {
  margin-top: .7rem;
  padding: .85rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.panel--aside {
  margin-top: 0;
  margin-bottom: .65rem;
  padding: .7rem .6rem;
}
.panel--aside .panel__title {
  margin: 0 .2rem .55rem;
  padding-bottom: .35rem;
  border-bottom: 1px solid var(--line);
}
.aside-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.aside-list li + li { margin-top: 0; }
.aside-list a {
  display: flex;
  align-items: center;
  gap: .55rem;
  min-height: 44px;
  padding: .4rem .35rem;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  border-radius: var(--radius-sm);
}
.aside-list li:last-child a { border-bottom: 0; }
.aside-list a:hover,
.aside-list a:focus-visible {
  background: var(--brand-soft);
  color: var(--brand);
  outline: none;
}
.aside-list__logo {
  width: 20px;
  height: 20px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 2px;
}
.aside-list__logo--ph {
  display: inline-block;
  background: var(--surface-2);
  border: 1px solid var(--line);
}
.aside-list__text {
  display: flex;
  flex-direction: column;
  gap: .1rem;
  min-width: 0;
}
.aside-list__name {
  font-size: 13px;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.aside-list__meta {
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.panel--aside .panel__text {
  margin: .55rem .2rem 0;
  font-size: 12px;
  color: var(--muted);
}
.panel--aside .text-link { color: var(--brand-bright); }
.panel--aside .text-link:hover { color: var(--brand); }

/* Search results page */
.search-page .search-form {
  display: flex;
  gap: .5rem;
  margin: 0 0 1.25rem;
}
.search-page .search-form input {
  flex: 1;
  min-height: 44px;
  padding: .55rem .75rem;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: var(--radius-sm);
}
.search-page .search-form button {
  min-height: 44px;
  padding: 0 1rem;
  background: var(--brand);
  color: #fff;
  cursor: pointer;
  font-family: var(--font-score);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 700;
  border-radius: var(--radius-sm);
}
.search-page .search-form button:hover { background: var(--brand-bright); }
.search-section { margin: 0 0 1.25rem; }
.search-section h2 {
  margin: 0 0 .55rem;
  font-family: var(--font-score);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  padding-bottom: .35rem;
}
.search-result-list {
  list-style: none;
  margin: 0;
  padding: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.search-result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  min-height: 48px;
  padding: .55rem .85rem;
  border-bottom: 1px solid var(--line);
}
.search-result:last-child { border-bottom: 0; }
.search-result:hover { background: var(--surface-2); }
.search-result--match {
  flex-wrap: wrap;
  align-items: flex-start;
}
.search-result__status {
  flex: 0 0 4.5rem;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
}
.search-result__status.is-live { color: var(--live); font-weight: 600; }
.search-result__match {
  flex: 1 1 14rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .45rem .65rem;
}
.search-result__score {
  min-width: 2.5rem;
  text-align: center;
  font-family: var(--font-score);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--ice);
}

/* Favorites page */
.favorites-page { background: transparent; }
.favorites-page__hero {
  padding: .5rem 0 .85rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: .5rem;
}
.favorites-page__hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3vw, 1.85rem);
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--ink);
}
.favorites-page__hero .muted { margin: .35rem 0 0; font-size: 13px; }
.favorites-empty {
  margin: 0;
  padding: .85rem .15rem 1rem;
  font-size: 13px;
  color: var(--muted);
}
.favorites-fixture-list { list-style: none; margin: 0; padding: 0; }
.favorites-fixture-league {
  display: block;
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .03em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 7rem;
  color: var(--muted);
}
.favorites-entity-list {
  list-style: none;
  margin: 0;
  padding: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.favorites-entity {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px;
  gap: .5rem;
  align-items: center;
  padding: .55rem .75rem;
  border-bottom: 1px solid var(--line);
}
.favorites-entity:last-child { border-bottom: 0; }
.favorites-entity__link {
  display: flex;
  align-items: center;
  gap: .65rem;
  min-width: 0;
  color: inherit;
  text-decoration: none;
  min-height: 44px;
}
.favorites-entity__link:hover { color: var(--brand-bright); }
.favorites-entity__link img,
.favorites-entity__ph {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex-shrink: 0;
}
.favorites-entity__ph {
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: var(--surface-2);
  border: 1px solid var(--line);
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
}
.favorites-entity__link span {
  display: flex;
  flex-direction: column;
  gap: .1rem;
  min-width: 0;
}
.favorites-entity__link strong {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.favorites-entity .fav-btn {
  justify-self: end;
}

/* Player page */
.player-page { background: transparent; }
.player-hero {
  margin: .65rem .65rem 0;
  padding: 1rem 1rem 1.1rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(91, 140, 255, .18), transparent 55%),
    linear-gradient(135deg, var(--surface) 0%, var(--bg-2) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  min-height: 140px;
}
.player-hero__text { min-width: 0; flex: 1; }
.player-hero__text h1 {
  margin: 0 0 .45rem;
  font-family: var(--font-score);
  font-size: clamp(1.45rem, 4.5vw, 2rem);
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
}
.player-hero__meta {
  margin: 0;
  display: flex;
  align-items: center;
  gap: .45rem;
  font-size: 14px;
  color: var(--text);
}
.player-hero__meta img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}
.player-hero__meta a {
  color: var(--brand-bright);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.player-hero__photo {
  flex-shrink: 0;
  width: 110px;
  height: 110px;
}
.player-hero__photo img {
  width: 110px;
  height: 110px;
  object-fit: contain;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.35));
}
.player-hero__ph {
  width: 110px;
  height: 110px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: var(--brand-soft);
  border: 1px solid var(--line);
  font-family: var(--font-score);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--brand);
}
.player-bio {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .55rem;
}
.player-bio__card {
  padding: .85rem .7rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  gap: .25rem;
  text-align: center;
  box-shadow: none;
}
.player-bio__card strong {
  font-family: var(--font-score);
  font-size: 1.15rem;
  color: var(--brand);
  font-variant-numeric: tabular-nums;
}
.player-bio__country {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
}
.player-bio__country img {
  width: 18px;
  height: 12px;
  object-fit: cover;
}
.player-facts {
  list-style: none;
  margin: .85rem 0 0;
  padding: 0;
  display: grid;
  gap: .45rem;
}
.player-facts li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .45rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.player-facts li:last-child { border-bottom: 0; }
.player-career {
  list-style: none;
  margin: 0;
  padding: 0;
}
.player-career__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: .7rem .1rem;
  border-bottom: 1px solid var(--line);
}
.player-career__item:last-child { border-bottom: 0; }
.player-career__club {
  display: flex;
  align-items: center;
  gap: .65rem;
  min-width: 0;
}
.player-career__club img,
.player-career__ph {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex-shrink: 0;
}
.player-career__ph {
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: var(--surface-2);
  border: 1px solid var(--line);
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
}
.player-career__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: .2rem;
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
}
.player-tag {
  display: inline-block;
  padding: .1rem .35rem;
  border-radius: 3px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.player-tag--loan {
  color: var(--ok);
  background: rgba(61, 220, 151, 0.12);
  border: 1px solid rgba(61, 220, 151, 0.35);
}
.player-stats__sub {
  margin: .85rem 0 .45rem;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--muted);
}
.player-stats-table { font-size: 12px; }
@media (max-width: 640px) {
  .player-hero { align-items: center; }
  .player-hero__photo,
  .player-hero__photo img,
  .player-hero__ph { width: 84px; height: 84px; }
  .player-career__item {
    flex-direction: column;
    align-items: flex-start;
  }
  .player-career__meta { align-items: flex-start; }
}
.form-strip {
  margin-top: .55rem;
  display: inline-flex;
  gap: .3rem;
}
.form-strip__cell {
  min-width: 26px;
  min-height: 26px;
  border-radius: 4px;
  display: grid;
  place-items: center;
  font-family: var(--font-score);
  font-size: 12px;
  border: 1px solid var(--line);
  color: var(--text);
}
.form-strip__cell--w {
  background: rgba(61, 220, 151, 0.14);
  color: var(--ok);
  border-color: rgba(61, 220, 151, 0.4);
}
.form-strip__cell--d {
  background: var(--surface-2);
  color: var(--muted);
}
.form-strip__cell--l {
  background: var(--live-dim);
  color: var(--live);
  border-color: rgba(255, 77, 109, 0.4);
}
.form-strip--compact { margin-top: 0; gap: .15rem; }
.form-strip--compact .form-strip__cell {
  min-width: 18px;
  min-height: 18px;
  font-size: 10px;
  border-radius: 2px;
}

/* League page */
.league-page { background: transparent; }
.league-hero {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: .85rem;
  align-items: center;
  padding: 1rem .95rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: .5rem;
}
.league-hero__badge img { width: 64px; height: 64px; object-fit: contain; }
.league-hero h1 {
  margin: .15rem 0;
  font-family: var(--font-score);
  font-size: clamp(1.35rem, 4vw, 1.9rem);
  text-transform: uppercase;
  letter-spacing: .02em;
  color: var(--ink);
}
.league-tabs {
  display: flex;
  gap: 0;
  overflow-x: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius) var(--radius) 0 0;
  scrollbar-width: none;
  box-shadow: var(--shadow);
}
.league-tabs::-webkit-scrollbar { display: none; }
.league-tabs__item {
  flex: 0 0 auto;
  min-height: 44px;
  padding: .55rem .95rem;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  cursor: pointer;
  font-family: var(--font-score);
  text-transform: uppercase;
  letter-spacing: .05em;
  font-size: 12px;
  font-weight: 700;
}
.league-tabs__item:hover { color: var(--brand); }
.league-tabs__item.is-active {
  color: var(--brand);
  border-bottom-color: var(--brand);
}
.season-select {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin-top: .55rem;
}
.season-select__label {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .04em;
}
.season-select__control {
  min-height: 44px;
  min-width: 7.5rem;
  padding: .35rem .65rem;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border-radius: var(--radius-sm);
}
.season-select__control:focus-visible {
  outline: 2px solid var(--brand-bright);
  outline-offset: 2px;
}
.season-switcher {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  margin-top: .55rem;
}
.season-switcher__btn {
  min-height: 36px;
  padding: .3rem .7rem;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  border-radius: var(--radius-sm);
}
.season-switcher__btn.is-active {
  color: var(--brand);
  border-color: var(--brand);
  background: var(--brand-soft);
}
.season-switcher__btn:hover,
.season-switcher__btn:focus-visible {
  color: var(--brand);
  outline: none;
}
.league-section {
  padding: .9rem .85rem 1.1rem;
  margin-bottom: .75rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.league-section__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  margin-bottom: .35rem;
}
.league-section__head .panel__title { margin: 0; }
.league-empty { padding: .75rem .25rem; color: var(--muted); }
.standings-table--ls { font-size: 12px; }
.standings-table--ls th,
.standings-table--ls td { padding: .42rem .35rem; }
.standings-rank {
  position: relative;
  padding-left: .75rem !important;
  font-family: var(--font-score);
  font-weight: 700;
}
.zone-rail {
  position: absolute;
  left: 0;
  top: 15%;
  bottom: 15%;
  width: 3px;
  border-radius: 2px;
  background: transparent;
}
.zone-ucl .zone-rail, .table-key__swatch.zone-ucl { background: var(--ok); }
.zone-uel .zone-rail, .table-key__swatch.zone-uel { background: var(--brand); }
.zone-uecl .zone-rail, .table-key__swatch.zone-uecl { background: #8B7CFF; }
.zone-rel .zone-rail, .table-key__swatch.zone-rel { background: var(--live); }
.zone-promo .zone-rail, .table-key__swatch.zone-promo { background: #3DDC97; }
.zone-playoff .zone-rail, .table-key__swatch.zone-playoff { background: var(--warn); }
.standings-team {
  display: flex;
  align-items: center;
  gap: .35rem;
  min-width: 0;
}
.standings-table tr.is-fav-team td {
  background: var(--fav-dim);
}
.table-key {
  list-style: none;
  margin: .75rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .55rem .9rem;
}
.table-key__item {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: 12px;
  color: var(--muted);
}
.table-key__swatch {
  width: 10px;
  height: 10px;
  border-radius: 2px;
  display: inline-block;
}
.scorer-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.scorer-list__item {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  gap: .55rem;
  align-items: center;
  padding: .5rem 0;
  border-bottom: 1px solid var(--line);
  min-height: 44px;
}
.scorer-list__rank {
  font-family: var(--font-score);
  color: var(--muted);
}
.scorer-list__player {
  display: grid;
  gap: .1rem;
  min-width: 0;
}
.scorer-list__goals {
  font-weight: 700;
  font-size: 15px;
  font-family: var(--font-score);
  font-variant-numeric: tabular-nums;
  color: var(--ice);
}
.team-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .45rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}
.team-grid__item {
  display: flex;
  align-items: center;
  gap: .45rem;
  padding: .55rem .65rem;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  min-height: 44px;
}
.team-grid__item a {
  display: flex;
  align-items: center;
  gap: .55rem;
  min-width: 0;
  color: inherit;
}
.team-grid__item a:hover { color: var(--brand-bright); }
.team-grid__item img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

/* Team squad */
.squad-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .6rem;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}
.squad-grid li a {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .55rem .65rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-height: 52px;
  box-shadow: none;
}
.squad-grid li a:hover {
  border-color: var(--brand);
  color: var(--brand);
}
.squad-grid img { width: 40px; height: 40px; border-radius: var(--radius); }

@media (min-width: 960px) {
  body { padding-bottom: 0; }
  .mobile-only { display: none; }
  .desktop-only { display: block; }
  .topbar__nav.desktop-only { display: flex; }
  .topbar {
    grid-template-columns: auto auto minmax(180px, 1fr) auto;
  }
  .topbar__nav {
    display: flex;
  }
  .app-grid {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr) 260px;
    gap: .75rem;
    padding: .75rem .85rem 1.25rem;
    min-height: calc(100dvh - 94px);
  }
  .sidebar {
    border-radius: var(--radius);
  }
  .sidebar--left { border-right: 1px solid var(--line); }
  .sidebar--right { border-left: 1px solid var(--line); }
  .bottom-tabs { display: none; }
  .fixture-row:not(.fixture-row--team) .fixture-row__link,
  .fixture-row__body { grid-template-columns: 56px minmax(0, 1fr) 48px; }
  .team { font-size: 14px; }
  .standings-table--ls { font-size: 13px; }
  .league-section { padding: .95rem 1rem 1.15rem; }
  .main-panel { padding: .35rem 0 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .led-ticker__track,
  .pulse,
  .live-badge,
  .goal-flash,
  .fav-btn,
  .watch-player__play {
    animation: none !important;
    transition: none !important;
  }
}

/* Homepage SEO article */
.below-main {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 1rem .85rem 5.5rem;
}
.seo-article {
  content-visibility: auto;
  contain-intrinsic-size: 640px;
  border-top: 1px solid var(--line);
  padding-top: 1.25rem;
}
.seo-article__title {
  margin: 0 0 .85rem;
  font-family: var(--font-display, var(--font-score));
  font-size: clamp(1.15rem, 2.4vw, 1.55rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--ink);
  letter-spacing: 0.01em;
}
.seo-article__panel {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1rem 1rem 3.25rem;
}
.seo-article__body {
  max-height: 11.5rem;
  overflow: hidden;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}
.seo-article__panel.is-expanded .seo-article__body {
  max-height: none;
  overflow: visible;
}
.seo-article__panel:not(.is-expanded)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2.75rem;
  height: 4.5rem;
  pointer-events: none;
  background: linear-gradient(to bottom, transparent, var(--surface));
  border-radius: 0 0 var(--radius) var(--radius);
}
.seo-article__body h2,
.seo-article__body h3 {
  color: var(--ink);
  font-family: var(--font-score);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 13px;
  margin: 1.25rem 0 .5rem;
}
.seo-article__body p { margin: 0 0 .85rem; }
.seo-article__body ul,
.seo-article__body ol {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
}
.seo-article__body a {
  color: var(--brand-bright);
  text-decoration: underline;
}
.seo-article__toggle {
  position: absolute;
  left: 50%;
  bottom: .65rem;
  transform: translateX(-50%);
  min-height: 44px;
  min-width: 44px;
  padding: .55rem 1.1rem;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  font-family: var(--font-score);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
}
.seo-article__toggle:hover,
.seo-article__toggle:focus-visible {
  border-color: var(--brand);
  color: var(--brand);
  outline: 2px solid var(--brand-bright);
  outline-offset: 2px;
}
@media (min-width: 960px) {
  .below-main { padding-bottom: 2rem; }
}

/* PWA install prompt */
.pwa-install {
  position: fixed;
  left: 0;
  right: 0;
  bottom: calc(var(--bottom-h) + var(--safe-b));
  z-index: 60;
  display: flex;
  gap: .75rem;
  align-items: center;
  justify-content: space-between;
  padding: .75rem 1rem;
  background: var(--surface);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.4);
}
.pwa-install[hidden] { display: none !important; }
.pwa-install__title {
  display: block;
  font-family: var(--font-score);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: .2rem;
  color: var(--ink);
  font-weight: 700;
}
.pwa-install__text {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
  max-width: 16rem;
}
.pwa-install__actions {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  flex-shrink: 0;
}
.pwa-install__btn,
.pwa-install__dismiss {
  min-height: 40px;
  min-width: 44px;
  padding: .4rem .75rem;
  font-family: var(--font-score);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: var(--radius-sm);
  font-weight: 700;
}
.pwa-install__btn {
  background: var(--brand);
  color: #fff;
  border: 1px solid transparent;
}
.pwa-install__btn:hover { background: var(--brand-bright); }
.pwa-install__dismiss {
  border: 1px solid var(--line);
  color: var(--muted);
  background: transparent;
}
@media (min-width: 960px) {
  .pwa-install { display: none !important; }
}
@media (display-mode: standalone), (display-mode: fullscreen) {
  .pwa-install { display: none !important; }
  body { padding-top: env(safe-area-inset-top, 0px); }
}

/* Explore / leagues catalogue */
.explore-page { max-width: 720px; }
.explore-page__hero { margin-bottom: 1.25rem; }
.explore-page__hero h1 {
  margin: 0 0 .35rem;
  font-family: var(--font-score);
  font-size: clamp(1.4rem, 3vw, 1.75rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
}
.explore-search { display: block; margin-top: .85rem; }
.explore-search input {
  width: 100%;
  min-height: 44px;
  padding: .65rem .85rem;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
}
.explore-search input:focus {
  outline: 2px solid var(--brand-bright);
  outline-offset: 1px;
}
.explore-section { margin: 0 0 1.5rem; }
.explore-section__title {
  margin: 0 0 .75rem;
  font-family: var(--font-score);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  padding-bottom: .45rem;
}
.explore-section__hint { margin: 0 0 .75rem; color: var(--muted); }
.explore-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: .5rem;
}
@media (min-width: 560px) {
  .explore-grid { grid-template-columns: 1fr 1fr; }
}
.explore-card {
  display: flex;
  align-items: center;
  gap: .7rem;
  min-height: 52px;
  padding: .65rem .75rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  color: var(--text);
}
.explore-card:hover,
.explore-card:focus-visible {
  border-color: var(--brand);
  color: var(--brand);
  outline: none;
}
.explore-card img,
.explore-card__ph {
  width: 32px;
  height: 32px;
  object-fit: contain;
  flex-shrink: 0;
  background: var(--surface-2);
  border-radius: 4px;
}
.explore-card__ph { display: block; }
.explore-card__meta {
  display: flex;
  flex-direction: column;
  gap: .1rem;
  min-width: 0;
}
.explore-card__meta strong {
  font-size: 14px;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.explore-card--compact { min-height: 44px; padding: .5rem .65rem; }
.explore-card--compact img { width: 28px; height: 28px; }
.explore-countries { display: flex; flex-direction: column; gap: .35rem; }
.explore-country {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.explore-country__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  min-height: 44px;
  padding: .65rem .85rem;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-score);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}
.explore-country__summary::-webkit-details-marker { display: none; }
.explore-country__count {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 12px;
}
.explore-country .explore-list {
  list-style: none;
  margin: 0;
  padding: 0 0 .35rem;
  border-top: 1px solid var(--line);
}
.explore-country .explore-list li a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: .45rem .85rem;
  border-bottom: 1px solid var(--line);
  color: var(--text);
}
.explore-country .explore-list li:last-child a { border-bottom: 0; }
.explore-country .explore-list li a:hover {
  background: var(--brand-soft);
  color: var(--brand);
}
.explore-list--teams { /* legacy */ }
