.watch-hero {
  margin: 0 0 20px;
}

.watch-hero__tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.watch-hero__phase {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--color-text-muted);
}

.watch-hero__title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 8px;
  color: var(--color-navy-950);
}

.watch-hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 0;
  margin: 0 0 8px;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  font-weight: 600;
}

.watch-hero__dot {
  margin: 0 8px;
  color: #b0b7c3;
}

.watch-hero__status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin: 0;
  font-size: 0.875rem;
}

.watch-hero__status strong {
  color: var(--color-live);
  font-weight: 800;
}

.watch-hero__status span:last-child {
  color: var(--color-text-muted);
  font-weight: 600;
}

.watch-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(280px, 0.9fr);
  gap: 20px;
  align-items: start;
}

.match-tabs {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.match-tabs__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 4px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  position: sticky;
  top: 8px;
  z-index: 5;
}

.match-tabs__btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--color-text-muted);
  font: inherit;
  font-size: 0.875rem;
  font-weight: 700;
  padding: 10px 14px;
  border-radius: 9px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.match-tabs__btn:hover {
  color: var(--color-navy-950);
  background: rgba(11, 26, 46, 0.05);
}

.match-tabs__btn.is-active {
  color: #fff;
  background: var(--color-navy-950);
}

.match-tabs__panel {
  display: none;
  flex-direction: column;
  gap: 16px;
}

.match-tabs__panel.is-active {
  display: flex;
}

.af-rings {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.af-ring {
  display: grid;
  gap: 8px;
  justify-items: center;
  text-align: center;
}

.af-ring__chart {
  --af-ring-home: 50;
  width: 108px;
  height: 108px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: conic-gradient(
    #2563eb calc(var(--af-ring-home) * 1%),
    #ea580c 0
  );
  position: relative;
}

.af-ring__chart::before {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  background: var(--color-white);
}

.af-ring__center {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2px;
  justify-items: center;
}

.af-ring__center strong {
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--color-navy-950);
  line-height: 1;
}

.af-ring__center small {
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--color-text-muted);
}

.af-ring__vals {
  display: flex;
  justify-content: space-between;
  width: 100%;
  max-width: 120px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-text-muted);
}

@media (max-width: 720px) {
  .af-rings {
    grid-template-columns: 1fr;
  }

  .match-tabs__nav {
    position: static;
  }

  .match-tabs__btn {
    flex: 1 1 auto;
    text-align: center;
    padding: 10px 8px;
    font-size: 0.8125rem;
  }
}

.watch-main,
.watch-aside {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.watch-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 16px;
}

.watch-card--stage {
  padding: 0;
  background: transparent;
  border: 0;
  overflow: visible;
}

.watch-card h2 {
  font-size: 1rem;
  margin: 0 0 12px;
}

.watch-card__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 16px;
  margin-bottom: 14px;
}

.watch-card__head h2 {
  margin: 0;
}

.watch-card__head p {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  font-weight: 600;
}

.watch-stage {
  min-height: 0;
}

.watch-hero-stream {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  padding: 28px 28px 26px;
  color: #fff;
  background: linear-gradient(145deg, #0b1a2e 0%, #12263f 48%, #07111f 100%);
  box-shadow: var(--shadow-md);
  display: grid;
  gap: 22px;
}

.watch-hero-stream__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 18% 20%, rgba(255, 90, 31, 0.28), transparent 42%),
    radial-gradient(ellipse at 88% 80%, rgba(26, 115, 232, 0.18), transparent 40%);
  pointer-events: none;
}

.watch-hero-stream__top,
.watch-hero-stream__match,
.watch-hero-stream__copy,
.watch-hero-stream__cta {
  position: relative;
  z-index: 1;
}

.watch-hero-stream__top {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 1.5rem;
}

.watch-hero-stream__phase {
  font-size: 0.8125rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.75);
}

.watch-hero-stream__phase--live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(255, 90, 31, 0.18);
  color: #ffb4a8;
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.watch-hero-stream__phase--live .live-badge__dot {
  background: #ff8a80;
}

.watch-hero-stream__top .badge--live {
  color: #ff8a80;
}

.watch-hero-stream__top .badge--live::before {
  background: #ff8a80;
}

.watch-hero-stream__viewers {
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
}

.watch-hero-stream__match {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 20px 16px;
  align-items: center;
}

.watch-hero-stream__side {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
}

.watch-hero-stream__side--away {
  align-items: flex-end;
  text-align: right;
}

.watch-hero-stream__crest {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  flex-shrink: 0;
}

.watch-hero-stream__side .team-mark,
.watch-hero-stream__side .team-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
}

.watch-hero-stream__side .team-mark img {
  width: 56px;
  height: 56px;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.watch-hero-stream__team {
  display: block;
  min-width: 0;
  max-width: 100%;
}

/* Crest + name are one target, and it has to LOOK clickable: the name used to be
   a link with color: inherit and no underline, so it read as plain text. */
.watch-hero-stream__side-link {
  display: flex;
  flex-direction: column;
  align-items: inherit;
  gap: 10px;
  min-width: 0;
  max-width: 100%;
  color: inherit;
  text-decoration: none;
  border-radius: 12px;
  padding: 4px 6px;
  transition: background 0.15s ease, transform 0.15s ease;
}

.watch-hero-stream__side-link:hover,
.watch-hero-stream__side-link:focus-visible {
  background: rgba(255, 255, 255, 0.1);
}

.watch-hero-stream__side-link:hover .watch-hero-stream__team,
.watch-hero-stream__side-link:focus-visible .watch-hero-stream__team {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.watch-hero-stream__side-link:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.7);
  outline-offset: 2px;
}

.watch-hero-stream__side span,
.watch-hero-stream__side a,
.watch-hero-stream__team,
.watch-hero-stream__team-link {
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  color: inherit;
  text-decoration: none;
}

.watch-hero-stream__mid {
  display: grid;
  gap: 6px;
  justify-items: center;
  text-align: center;
  min-width: 5.5rem;
}

.watch-hero-stream__score {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
  color: #fff;
}

.watch-hero-stream__vs {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.watch-hero-stream__status {
  font-size: 0.8125rem;
  font-weight: 700;
  color: #ffb4a8;
  white-space: nowrap;
}

.watch-hero-stream__copy {
  max-width: 36rem;
}

.watch-hero-stream__title {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.4vw, 1.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
}

.watch-hero-stream__text {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 500;
}

.watch-hero-stream__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
}

.watch-hero-stream__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 18px;
  font-size: 0.9375rem;
}

.watch-hero-stream__note {
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
}

.watch-sources {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.watch-source {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 12px;
  background: var(--color-white);
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 100%;
  text-align: left;
  cursor: pointer;
  color: inherit;
  font: inherit;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

.watch-source.is-active {
  border-color: transparent;
  box-shadow: 0 0 0 2px rgba(255, 90, 31, 0.45);
  background: #fffaf7;
}

.watch-source__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.watch-source__badge {
  display: inline-flex;
  align-items: center;
  height: 20px;
  padding: 0 8px;
  border-radius: var(--radius-pill);
  background: var(--color-navy-900);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 700;
}

.watch-source.is-active .watch-source__badge {
  background: var(--color-accent);
}

.watch-source__quality {
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--color-text-muted);
}

.watch-source__name {
  margin: 2px 0 0;
  font-size: 0.9375rem;
  font-weight: 800;
}

.watch-source__lang,
.watch-source__blurb {
  margin: 0;
  font-size: 0.75rem;
  color: var(--color-text-muted);
  line-height: 1.4;
}

.watch-source__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: auto;
  padding: 12px 18px;
  font-size: 0.875rem;
  font-weight: 700;
  text-align: center;
}

/* Legacy text-link pick (reference HTML); not used when .btn is present */
.watch-source__pick:not(.btn) {
  margin-top: auto;
  padding-top: 8px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--color-text-muted);
}

.watch-source.is-active .watch-source__pick:not(.btn) {
  color: var(--color-accent);
}

.watch-brief {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #3d4656;
}

.watch-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.watch-ticker {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.watch-ticker__chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: var(--radius-pill);
  background: var(--color-accent-soft);
  border: 1px solid rgba(255, 90, 31, 0.25);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--color-text);
}

.watch-ticker__chip.watch-timeline__item--goal {
  background: rgba(34, 139, 34, 0.12);
  border-color: rgba(34, 139, 34, 0.35);
}

.watch-ticker__chip.watch-timeline__item--red_card {
  background: rgba(217, 48, 37, 0.1);
  border-color: rgba(217, 48, 37, 0.35);
}

.watch-timeline__item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 10px;
  align-items: start;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--color-border);
}

.watch-timeline__item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.watch-timeline__time {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--color-accent);
  font-variant-numeric: tabular-nums;
}

.watch-timeline__text {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.4;
}

.watch-timeline__player {
  color: var(--color-accent);
  text-decoration: none;
}

.watch-timeline__player:hover {
  text-decoration: underline;
}

.watch-timeline__item--goal .watch-timeline__time {
  color: #228b22;
}

.watch-timeline__item--red_card .watch-timeline__time {
  color: var(--color-live);
}

.watch-timeline__item--yellow_card .watch-timeline__time {
  color: #c99700;
}

.watch-timeline__item--empty .watch-timeline__text {
  color: var(--color-text-muted);
  font-weight: 500;
}

.watch-score {
  display: grid;
  gap: 10px;
}

.watch-score__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.watch-score__team {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  min-width: 0;
}

.watch-score__team .team-mark {
  width: 34px;
  height: 34px;
}

.watch-score__value {
  font-family: var(--font-display);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  font-size: 1.125rem;
  color: var(--color-live);
}

.watch-score__note {
  margin: 12px 0 0;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  line-height: 1.45;
}

.watch-facts {
  display: grid;
  gap: 8px;
}

.watch-fact {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--color-border);
}

.watch-fact:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.watch-fact__label {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  font-weight: 600;
}

.watch-fact__value {
  font-size: 0.875rem;
  font-weight: 800;
  text-align: right;
}

.watch-players {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.watch-player-row {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 10px;
  align-items: start;
}

.watch-player-row__side {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 22px;
  padding: 0 6px;
  border-radius: 6px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  font-size: 0.6875rem;
  font-weight: 800;
}

.watch-player-row strong {
  display: block;
  font-size: 0.875rem;
  margin-bottom: 2px;
}

.watch-player-row span {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  font-weight: 600;
  line-height: 1.35;
}

.watch-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.watch-more {
  display: grid;
  gap: 16px;
  margin-top: 20px;
}

.watch-more__block {
  background: var(--color-white);
  border-radius: 12px;
  padding: 14px 16px 16px;
  box-shadow: var(--shadow-sm);
}

.watch-more__block--links {
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  padding: 4px 0 0;
}

.watch-more__block--links .watch-more__head {
  margin-bottom: 4px;
}

.watch-more__block--links .watch-more__head h2 {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--color-text-muted);
}

.watch-more__block--links .watch-more__link {
  font-size: 0.75rem;
}

.watch-more__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.watch-more__head h2 {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.watch-more__link {
  font-size: 0.875rem;
  font-weight: 600;
  color: #1a73e8;
  white-space: nowrap;
}

.watch-more__link:hover {
  color: #174ea6;
  text-decoration: underline;
}

.watch-more__empty {
  margin: 0;
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.watch-related-streams {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.watch-stream-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  background: var(--color-white);
  color: inherit;
  transition: box-shadow var(--transition), border-color var(--transition);
}

.watch-stream-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-md);
  color: inherit;
}

.watch-stream-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.watch-stream-card__sport {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-text-muted);
}

.watch-stream-card__teams {
  display: flex;
  align-items: center;
  gap: 8px;
}

.watch-stream-card__teams .team-mark,
.watch-stream-card__teams .team-logo {
  width: 28px;
  height: 28px;
}

.watch-stream-card__vs {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-text-muted);
}

.watch-stream-card__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.25;
}

.watch-stream-card__meta {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  font-weight: 600;
}

.watch-stream-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--color-border);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--color-text);
}

.watch-stream-card__go {
  color: var(--color-accent);
}

.watch-stream-card:hover .watch-stream-card__go {
  text-decoration: underline;
}

.watch-related-news {
  display: block;
}

.watch-news-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 28px;
}

.watch-news-links li {
  margin: 0;
  border-bottom: 1px solid var(--color-border);
}

.watch-news-link {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 0;
  color: inherit;
}

.watch-news-link:hover {
  color: inherit;
}

.watch-news-link__title {
  min-width: 0;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--color-text);
}

.watch-news-link:hover .watch-news-link__title {
  color: var(--color-accent);
}

.watch-news-link__date {
  flex-shrink: 0;
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--color-text-muted);
}

@media (max-width: 767px) {
  .watch-news-links {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

@media (min-width: 1024px) {
  .watch-aside {
    position: sticky;
    top: 88px;
  }
}

@media (max-width: 1023px) {
  .watch-layout {
    grid-template-columns: 1fr;
  }

  .watch-sources {
    grid-template-columns: 1fr;
  }

  .watch-related-streams {
    grid-template-columns: 1fr;
  }

  .watch-hero-stream {
    padding: 22px 18px 20px;
  }

  .watch-hero-stream__match {
    grid-template-columns: 1fr;
    gap: 14px;
    text-align: center;
  }

  .watch-hero-stream__side,
  .watch-hero-stream__side--away {
    align-items: center;
    text-align: center;
  }

  .watch-hero-stream__crest {
    margin-inline: auto;
  }

  .watch-hero__meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .watch-hero__dot {
    display: none;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .watch-related-streams {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Scorwave WP: SW Data PRG forms on match page */
.watch-hero-stream__prg,
.watch-source__prg {
  display: block;
  width: 100%;
  margin: 0;
  margin-top: auto;
  padding-top: 8px;
}

.watch-hero-stream__prg .watch-hero-stream__btn,
.watch-source__prg .watch-source__cta {
  width: 100%;
  cursor: pointer;
  border: 0;
  color: #fff;
}

.watch-source.is-active .watch-source__prg .watch-source__cta.btn--accent {
  color: #fff;
  background: var(--color-accent);
}

.watch-source.is-active .watch-source__prg .watch-source__cta.btn--accent:hover {
  background: var(--color-accent-hover);
  color: #fff;
}
.team-mark--fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.75rem;
  font-weight: 800;
}
.watch-aside .watch-score__row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  font-weight: 700;
}

/* API-Sports widget embed */
.watch-card--af-widget {
  overflow: hidden;
}

.af-widget {
  min-height: 420px;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  overflow: hidden;
  background: #f4f6f8;
}

.af-widget__game {
  display: block;
  width: 100%;
}

.af-widget api-sports-widget {
  display: block;
  width: 100%;
}

.watch-preview {
  display: grid;
  gap: 16px;
}

.watch-preview__countdown {
  margin: 0;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--color-accent-soft);
  color: var(--color-accent);
  font-size: 0.875rem;
  font-weight: 800;
}

.watch-preview__teams {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.watch-preview__team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.watch-preview__team-name {
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.3;
}

.watch-preview__vs {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
}

.watch-preview__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.watch-preview__fact {
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: var(--color-surface);
}

.watch-preview__fact dt {
  margin: 0 0 4px;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-text-muted);
}

.watch-preview__fact dd {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.35;
}

.watch-preview__notes {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--color-text-muted);
  font-size: 0.8125rem;
  line-height: 1.5;
}

.watch-preview__notes li + li {
  margin-top: 6px;
}

.watch-news {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.watch-news__row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  color: inherit;
  text-decoration: none;
  transition: border-color var(--transition), background var(--transition);
}

.watch-news__row:hover {
  border-color: rgba(255, 90, 31, 0.35);
  background: var(--color-accent-soft);
}

.watch-news__thumb {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  overflow: hidden;
  border-radius: 8px;
}

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

.watch-news__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.watch-news__meta {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-text-muted);
}

.watch-news__title {
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.35;
}

@media (max-width: 767px) {
  .watch-preview__facts {
    grid-template-columns: 1fr;
  }
}

/* API-Football native blocks */
.watch-af-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.watch-card--compact .watch-card__head p {
  display: none;
}

.watch-card--context h2 {
  margin-bottom: 0;
}

.watch-context-matchup {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 14px;
  padding: 4px 0;
  border-radius: 12px;
  background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
  border: 1px solid var(--color-border);
  overflow: hidden;
}

.watch-context-matchup__team {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  min-width: 0;
}

.watch-context-matchup__team + .watch-context-matchup__team {
  border-top: 1px solid var(--color-border);
}

.watch-context-matchup__team .team-mark {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.watch-context-matchup__team .team-mark img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.watch-context-matchup__name {
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-navy-950);
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

a.watch-context-matchup__name:hover {
  color: var(--color-accent);
}

.watch-context-meta {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 12px;
}

.watch-context-meta__item {
  display: grid;
  gap: 3px;
  min-width: 0;
  padding: 8px 10px;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid rgba(226, 232, 240, 0.9);
}

.watch-context-meta__item--status {
  grid-column: 1 / -1;
}

.watch-context-meta dt {
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.watch-context-meta dd {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--color-navy-950);
}

.watch-context-meta__status {
  display: inline-block;
}

.watch-context-meta .live-badge {
  display: inline-flex;
  vertical-align: top;
}

.watch-context-stream {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--color-border);
}

.watch-context-stream__btn {
  width: 100%;
  justify-content: center;
}

.af-predictions {
  display: grid;
  gap: 16px;
}

.af-predictions__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) auto;
  gap: 10px;
  align-items: center;
}

.af-predictions__team {
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.3;
}

.af-predictions__track {
  height: 8px;
  border-radius: 999px;
  background: var(--color-border);
  overflow: hidden;
}

.af-predictions__fill {
  height: 100%;
  border-radius: inherit;
  min-width: 2px;
}

.af-predictions__fill--home { background: #2563eb; }
.af-predictions__fill--draw { background: #64748b; }
.af-predictions__fill--away { background: #ea580c; }

.af-predictions__pct {
  min-width: 2.5rem;
  text-align: right;
  font-size: 0.875rem;
}

.af-predictions__meta {
  padding-top: 4px;
  border-top: 1px solid var(--color-border);
}

.af-predictions__pick {
  margin: 0 0 8px;
  font-size: 0.875rem;
}

.af-predictions__pick span {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-text-muted);
}

.af-predictions__advice,
.af-predictions__note {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  line-height: 1.45;
}

.af-odds {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.af-odds__cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 14px 10px;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: var(--color-surface);
}

.af-odds__label {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--color-text-muted);
}

.af-odds__value {
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--color-accent);
}

.watch-table-wrap {
  overflow-x: auto;
}

.watch-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8125rem;
}

.watch-table th,
.watch-table td {
  padding: 8px 4px;
  border-bottom: 1px solid var(--color-border);
  text-align: left;
  vertical-align: middle;
}

.watch-table th {
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
  font-weight: 800;
}

.watch-table td:last-child,
.watch-table th:last-child {
  text-align: right;
}

.watch-table tr.is-match-team {
  background: var(--color-accent-soft);
}

.watch-table__team {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.watch-table__team--link:hover {
  color: var(--color-accent);
}

.watch-table__team--link:hover span {
  text-decoration: underline;
}

.watch-table__team img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  flex-shrink: 0;
}

.watch-table__team span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 140px;
}

.af-h2h {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.af-h2h__row {
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: 10px;
}

.af-h2h__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

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

.af-h2h__team {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  font-size: 0.8125rem;
  font-weight: 600;
}

.af-h2h__team .team-mark {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.af-h2h__team .team-mark img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

/* H2H sides that lead somewhere: a link needs to read as one. */
.af-h2h__team--link {
  color: inherit;
  text-decoration: none;
  border-radius: 8px;
}

.af-h2h__team--link:hover span:last-child,
.af-h2h__team--link:focus-visible span:last-child {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.af-h2h__team--away {
  justify-content: flex-end;
  text-align: right;
}

.af-h2h__team.is-winner {
  font-weight: 800;
  color: var(--color-navy-950);
}

.af-h2h__score {
  font-size: 0.9375rem;
  white-space: nowrap;
}

.af-injuries {
  display: grid;
  gap: 16px;
}

.af-injuries__team-name {
  margin: 0 0 8px;
  font-size: 0.875rem;
}

.af-injuries__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.af-injuries__list li {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  padding: 8px 10px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  font-size: 0.8125rem;
}

.af-injuries__list span {
  color: var(--color-text-muted);
}

.af-stats {
  display: grid;
  gap: 14px;
}

.af-stats__legend {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-text-muted);
}

.af-stats__values {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 10px;
  align-items: center;
  margin-bottom: 6px;
  font-size: 0.8125rem;
}

.af-stats__values strong:first-child {
  text-align: left;
}

.af-stats__values strong:last-child {
  text-align: right;
}

.af-stats__label {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-text-muted);
  text-align: center;
}

.af-stats__track {
  display: flex;
  height: 6px;
  border-radius: 999px;
  overflow: hidden;
  background: var(--color-border);
}

.af-stats__fill--home {
  background: #2563eb;
}

.af-stats__fill--away {
  background: #ea580c;
}

.af-widget__h2h {
  display: block;
  margin-top: 12px;
  min-height: 280px;
}

.af-missing {
  padding: 16px 18px;
  border: 1px dashed var(--color-border);
  border-radius: 12px;
  background: var(--color-surface);
}

.af-missing__text {
  margin: 0 0 12px;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--color-text-muted);
}

.af-missing__list {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.af-missing__list li + li {
  margin-top: 6px;
}

.af-players {
  display: grid;
  gap: 20px;
}

.af-players__team + .af-players__team {
  padding-top: 16px;
  border-top: 1px solid var(--color-border);
}

.af-players:has([data-lineup-panel][hidden]) .af-players__team + .af-players__team {
  padding-top: 0;
  border-top: 0;
}

.watch-card--af-players-compact {
  padding-top: 0;
}

.watch-card--af-players-compact .af-pitch-block {
  margin-left: -4px;
  margin-right: -4px;
}

.watch-card--af-players-compact > .af-lineup-switch {
  margin-top: 0;
}

.af-lineup-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 16px;
}

.af-lineup-switch__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: var(--color-surface);
  color: var(--color-text);
  font: inherit;
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.af-lineup-switch__btn small {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-text-muted);
}

.af-lineup-switch__btn.is-active,
.af-lineup-switch__btn[aria-selected="true"] {
  border-color: var(--color-accent, #2563eb);
  background: rgba(37, 99, 235, 0.08);
  color: var(--color-accent, #2563eb);
}

.af-lineup-switch__logo {
  width: 22px;
  height: 22px;
  object-fit: contain;
  flex-shrink: 0;
}

.af-players__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 12px;
  margin-bottom: 12px;
}

.af-players__head--coach-only {
  margin-bottom: 8px;
}

.af-players__team-name {
  margin: 0;
  font-size: 0.9375rem;
}

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

.af-players__team-logo {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex-shrink: 0;
}

.af-players__team-link,
.af-players__name-link {
  color: inherit;
  text-decoration: none;
}

.af-players__team-link:hover,
.af-players__name-link:hover {
  color: var(--color-accent);
  text-decoration: underline;
}

.af-players__formation,
.af-players__coach {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-text-muted);
}

.af-pitch {
  --af-line: rgba(255, 255, 255, 0.78);
  position: relative;
  isolation: isolate;
  width: 100%;
  aspect-ratio: 16 / 10;
  min-height: 260px;
  max-height: 380px;
  margin-bottom: 4px;
  padding: 12px 10px 10px;
  border-radius: 16px;
  overflow: hidden;
  background:
    repeating-linear-gradient(
      90deg,
      #1f7a3a 0,
      #1f7a3a 28px,
      #246f38 28px,
      #246f38 56px
    );
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2);
}

.af-pitch-block {
  position: relative;
  margin-bottom: 16px;
}

.af-pitch-block .af-pitch--dual {
  margin-bottom: 0;
  border-radius: 16px;
}

.af-pitch-head {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
  padding: 10px 12px;
  border: 0;
  border-radius: 16px 16px 0 0;
  background: linear-gradient(180deg, rgba(8, 20, 12, 0.72) 0%, rgba(8, 20, 12, 0.18) 72%, transparent 100%);
  pointer-events: none;
}

.af-pitch-head a,
.af-pitch-head button {
  pointer-events: auto;
}

.af-pitch-head__team {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.af-pitch-head__team--away {
  flex-direction: row-reverse;
  text-align: right;
}

.af-pitch-head__logo {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex-shrink: 0;
}

.af-pitch-head__copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.af-pitch-head__team--away .af-pitch-head__copy {
  justify-items: end;
}

.af-pitch-head__formation {
  font-size: 0.75rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.92);
  letter-spacing: 0.04em;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.55);
}

.af-pitch-head__name {
  font-size: 0.875rem;
  font-weight: 800;
  line-height: 1.25;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.55);
}

.af-pitch-head__team--home .af-pitch-head__name {
  color: #fff;
}

.af-pitch-head__team--away .af-pitch-head__name {
  color: #fff;
}

.af-pitch-head__coach {
  font-size: 0.6875rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.78);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.af-pitch-head__link {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.35);
  text-underline-offset: 3px;
}

.af-pitch-head__link:hover {
  text-decoration: underline;
}

.af-players__benches {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.af-players__benches .af-players__subs {
  margin-top: 0;
  padding-top: 0;
}

.af-pitch__players--abs {
  position: absolute;
  inset: 10px;
  z-index: 1;
  pointer-events: none;
}

.af-pitch__slot {
  position: absolute;
  transform: translate(-50%, -50%);
  width: min(8%, 58px);
  min-width: 40px;
  pointer-events: auto;
}

.af-pitch__slot .af-pitch__player {
  width: 100%;
  max-height: none;
  gap: 2px;
  padding: 0;
}

.af-pitch-block .af-pitch__players--abs {
  inset: 48px 10px 10px;
}

.af-pitch--dual {
  min-height: 300px;
  max-height: 420px;
  padding: 0;
}

.af-pitch--dual .af-pitch__slot {
  width: min(7.5%, 52px);
  min-width: 36px;
}

.af-pitch--dual .af-pitch__name {
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  font-variant-numeric: tabular-nums;
  max-width: 56px;
}

.af-pitch--dual .af-lineup-figure--pitch {
  padding: 0;
}

.af-pitch--dual .af-lineup-figure--pitch .af-lineup-figure__photo {
  width: 36px;
  height: 36px;
  border-width: 1.5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.28);
}

@media (max-width: 720px) {
  .af-pitch-head {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .af-pitch-head__team--away {
    flex-direction: row;
    text-align: left;
  }

  .af-pitch-head__team--away .af-pitch-head__copy {
    justify-items: start;
  }

  .af-players__benches {
    grid-template-columns: 1fr;
  }

  .af-pitch__slot {
    width: min(10%, 52px);
    min-width: 38px;
  }
}

.af-pitch__field {
  position: absolute;
  inset: 12px;
  pointer-events: none;
  z-index: 0;
}

.af-pitch__outline {
  position: absolute;
  inset: 0;
  border: 2px solid var(--af-line);
  border-radius: 4px;
}

.af-pitch__halfway {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 0;
  height: auto;
  border-left: 2px solid var(--af-line);
}

.af-pitch__center {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 22%;
  aspect-ratio: 1;
  max-width: 110px;
  transform: translate(-50%, -50%);
  border: 2px solid var(--af-line);
  border-radius: 50%;
}

.af-pitch__spot {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 6px;
  height: 6px;
  margin: -3px 0 0 -3px;
  border-radius: 50%;
  background: var(--af-line);
}

.af-pitch__box {
  position: absolute;
  top: 50%;
  width: 16%;
  max-width: 200px;
  height: 56%;
  max-height: 220px;
  transform: translateY(-50%);
  border: 2px solid var(--af-line);
}

.af-pitch__box--left {
  left: 0;
  border-left: 0;
}

.af-pitch__box--right {
  right: 0;
  border-right: 0;
}

.af-pitch__six {
  position: absolute;
  top: 50%;
  width: 7%;
  max-width: 90px;
  height: 28%;
  max-height: 110px;
  transform: translateY(-50%);
  border: 2px solid var(--af-line);
}

.af-pitch__six--left {
  left: 0;
  border-left: 0;
}

.af-pitch__six--right {
  right: 0;
  border-right: 0;
}

.af-pitch__goal {
  position: absolute;
  top: 50%;
  width: 2.5%;
  max-width: 18px;
  height: 14%;
  max-height: 64px;
  transform: translateY(-50%);
  border: 2px solid var(--af-line);
  background: rgba(255, 255, 255, 0.06);
}

.af-pitch__goal--left {
  left: -2px;
  border-left: 0;
}

.af-pitch__goal--right {
  right: -2px;
  border-right: 0;
}

.af-pitch__players {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: stretch;
  gap: 2px;
  height: 100%;
  min-height: 0;
  padding: 4px 2px;
}

.af-pitch__col {
  --af-pitch-gap: clamp(2px, calc(8px - (var(--af-pitch-rows, 1) - 1) * 2px), 8px);
  --af-pitch-photo: clamp(36px, calc(52px - (var(--af-pitch-rows, 1) - 1) * 4px), 52px);
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  gap: var(--af-pitch-gap);
  min-width: 0;
  min-height: 0;
}

.af-pitch__col .af-lineup-figure--pitch .af-lineup-figure__photo {
  width: var(--af-pitch-photo);
  height: var(--af-pitch-photo);
}

.af-pitch__col .af-lineup-figure--pitch {
  padding: clamp(2px, calc(6px - (var(--af-pitch-rows, 1) - 1) * 1px), 6px) 0 0
    clamp(4px, calc(8px - (var(--af-pitch-rows, 1) - 1) * 1px), 8px);
}

.af-pitch__player {
  position: relative;
  display: flex;
  flex: 0 1 auto;
  flex-direction: column;
  align-items: center;
  gap: clamp(2px, calc(6px - (var(--af-pitch-rows, 1) - 1) * 1px), 6px);
  width: min(100%, 82px);
  max-height: calc((100% - (var(--af-pitch-rows, 1) - 1) * var(--af-pitch-gap)) / var(--af-pitch-rows, 1));
  min-height: 0;
  padding: clamp(2px, calc(6px - (var(--af-pitch-rows, 1) - 1) * 1px), 6px) 2px
    clamp(4px, calc(8px - (var(--af-pitch-rows, 1) - 1) * 1px), 8px);
  color: #fff;
  text-decoration: none;
  text-align: center;
  border-radius: 12px;
  transition: transform 0.15s ease, background 0.15s ease;
}

a.af-pitch__player:hover,
a.af-pitch__player:focus-visible,
.af-players__chip-inner:hover,
.af-players__chip-inner:focus-visible {
  background: rgba(0, 0, 0, 0.28);
}

a.af-pitch__player:hover,
a.af-pitch__player:focus-visible {
  transform: translateY(-2px);
}

.af-lineup-figure {
  position: relative;
  display: inline-flex;
  flex-shrink: 0;
}

.af-lineup-figure--pitch {
  padding: 0;
}

.af-lineup-figure--bench {
  padding: 0;
}

.af-lineup-figure__num {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--color-accent, #e85d04);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 800;
  line-height: 1;
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.af-lineup-figure__photo {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 50%;
  background: linear-gradient(165deg, #eef2f7 0%, #cbd5e1 100%);
  border: 2px solid #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.32);
}

.af-lineup-figure--pitch .af-lineup-figure__photo {
  width: var(--af-pitch-photo, 52px);
  height: var(--af-pitch-photo, 52px);
}

.af-lineup-figure--bench .af-lineup-figure__photo {
  width: 32px;
  height: 32px;
}

.af-lineup-figure__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.af-lineup-figure__initials {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 0.75rem;
  font-weight: 800;
  color: #334155;
  letter-spacing: 0.03em;
}

.af-lineup-figure--bench .af-lineup-figure__initials {
  font-size: 0.625rem;
}

.af-lineup-tip {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 8px);
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 140px;
  max-width: 200px;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(11, 26, 46, 0.96);
  color: #fff;
  text-align: center;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(4px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.af-lineup-tip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -6px;
  border: 6px solid transparent;
  border-top-color: rgba(11, 26, 46, 0.96);
}

.af-lineup-tip__name {
  font-size: 0.8125rem;
  font-weight: 800;
  line-height: 1.25;
}

.af-lineup-tip__meta {
  font-size: 0.6875rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.3;
}

.af-pitch__player:hover .af-lineup-tip,
.af-pitch__player:focus-within .af-lineup-tip,
.af-players__chip-inner:hover .af-lineup-tip,
.af-players__chip-inner:focus-visible .af-lineup-tip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.af-pitch__player .af-lineup-tip {
  top: calc(100% + 6px);
  bottom: auto;
  z-index: 6;
}

.af-pitch__player .af-lineup-tip::after {
  top: auto;
  bottom: 100%;
  border-top-color: transparent;
  border-bottom-color: rgba(11, 26, 46, 0.96);
}

.af-pitch__player:hover .af-lineup-tip,
.af-pitch__player:focus-within .af-lineup-tip {
  transform: translateX(-50%) translateY(0);
}

.af-pitch__name {
  font-size: clamp(0.625rem, calc(0.6875rem - (var(--af-pitch-rows, 1) - 1) * 0.02rem), 0.6875rem);
  font-weight: 800;
  line-height: 1.15;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.65);
}

.af-players__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(152px, 1fr));
  gap: 12px;
  align-items: start;
}

.af-players__grid--subs {
  grid-template-columns: 1fr;
  gap: 4px;
  row-gap: 4px;
}

.af-players__benches .af-players__grid--subs {
  grid-template-columns: 1fr;
  gap: 6px;
}

.af-bench-row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-width: 0;
  padding: 7px 10px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: var(--color-white);
  color: inherit;
  text-decoration: none;
  text-align: left;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.af-bench-row:hover,
.af-bench-row:focus-visible {
  border-color: rgba(232, 93, 4, 0.35);
  background: #fafafa;
}

.af-bench-row__body {
  display: grid;
  gap: 1px;
  min-width: 0;
  flex: 1;
}

.af-bench-row__name {
  display: flex;
  align-items: baseline;
  gap: 6px;
  min-width: 0;
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.25;
}

.af-bench-row__num {
  flex-shrink: 0;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--color-accent, #e85d04);
  font-variant-numeric: tabular-nums;
}

.af-bench-row__name .af-players__name-link {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.af-bench-row__label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.af-bench-row__pos {
  font-size: 0.6875rem;
  color: var(--color-text-muted);
  line-height: 1.2;
}

.af-bench-row .af-lineup-tip {
  bottom: calc(100% + 6px);
}

.af-bench-row:hover .af-lineup-tip,
.af-bench-row:focus-within .af-lineup-tip {
  opacity: 1;
  visibility: visible;
}

.af-players__chip {
  list-style: none;
  min-width: 0;
}

/* Legacy chip cards (starters fallback grid) */
.af-players__chip-inner {
  position: relative;
  display: grid;
  grid-template-columns: auto auto;
  grid-template-rows: auto auto;
  grid-template-areas:
    "num photo"
    "body body";
  justify-content: center;
  align-items: center;
  column-gap: 8px;
  row-gap: 8px;
  width: 100%;
  height: auto;
  min-height: 0;
  padding: 10px 10px 12px;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background: var(--color-surface, #fff);
  color: inherit;
  text-decoration: none;
  font-size: 0.8125rem;
  text-align: center;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.af-players__chip-inner:hover,
.af-players__chip-inner:focus-visible {
  border-color: rgba(232, 93, 4, 0.35);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
}

.af-players__chip-num {
  grid-area: num;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  font-size: 0.875rem;
  font-weight: 800;
  color: var(--color-accent, #e85d04);
  line-height: 1;
}

.af-players__chip-inner .af-lineup-figure--bench {
  grid-area: photo;
}

.af-players__chip-body {
  grid-area: body;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  gap: 2px;
  width: 100%;
  min-width: 0;
}

.af-players__chip-name {
  display: block;
  width: 100%;
  font-weight: 700;
  line-height: 1.25;
}

.af-players__chip-name .af-players__name-link {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.af-players__chip-inner--no-num {
  grid-template-columns: auto;
  grid-template-areas:
    "photo"
    "body";
}

.af-players__chip-inner .af-lineup-tip {
  bottom: calc(100% + 6px);
}

.af-players__chip small {
  display: block;
  font-size: 0.6875rem;
  color: var(--color-text-muted);
  line-height: 1.2;
}

.af-players__stats-details {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--color-border);
}

.af-players__stats-details summary {
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-navy-950);
}

.af-players__stats-details[open] summary {
  margin-bottom: 12px;
}

.af-players--stats-nested {
  gap: 16px;
}

.af-players__subs {
  margin-top: 18px;
  padding-top: 4px;
}

.af-players__subs h4 {
  margin: 0 0 6px;
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
}

.af-players__table-wrap {
  overflow-x: auto;
}

.af-players__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8125rem;
}

.af-players__table th,
.af-players__table td {
  padding: 8px 10px;
  border-bottom: 1px solid var(--color-border);
  text-align: left;
}

.af-players__table th {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-text-muted);
}

.af-players__player {
  display: flex;
  align-items: center;
  gap: 10px;
}

.af-players__photo {
  border-radius: 50%;
  object-fit: cover;
  background: var(--color-border);
}

.af-players__num {
  margin-right: 4px;
  color: var(--color-accent);
}

@media (max-width: 991px) {
  .watch-af-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .af-pitch {
    min-height: 220px;
    max-height: 320px;
  }

  .af-players__grid,
  .af-players__grid--subs {
    grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
    gap: 10px;
  }

  .af-players__benches .af-players__grid--subs {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .af-pitch__player {
    width: min(100%, 72px);
  }
}

/* Native live match tracker — light theme */
.watch-card--tracker {
  overflow: hidden;
}

.live-tracker {
  --lt-home: #2563eb;
  --lt-away: #dc2626;
  --lt-pitch: #e8f5e9;
  --lt-surface: #ffffff;
  --lt-muted: #f1f3f6;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--lt-surface);
  color: var(--color-text);
}

.live-tracker__header {
  padding: 16px 18px 14px;
  background: linear-gradient(180deg, #1a222c 0%, #121820 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.live-tracker__header--compact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 14px;
  padding: 12px 16px;
}

.live-tracker__header--compact .live-tracker__meta {
  margin: 0;
}

.live-tracker__status--inline {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #7dd3fc;
}

.live-tracker__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  color: #9aa4b2;
}

.live-tracker__flag {
  border-radius: 2px;
  object-fit: cover;
}

.live-tracker__league {
  font-weight: 700;
}

.live-tracker__round {
  opacity: 0.85;
}

.live-tracker__datetime {
  margin: 8px 0 0;
  font-size: 0.75rem;
  color: #9aa4b2;
}

.live-tracker__scoreboard {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  margin-top: 14px;
}

.live-tracker__team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  font-size: 0.8125rem;
  line-height: 1.25;
}

.live-tracker__team img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.live-tracker__team--away {
  justify-self: end;
}

.live-tracker__mid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 88px;
}

.live-tracker__score {
  font-size: 1.375rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.live-tracker__status {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #7dd3fc;
}

.live-tracker__events-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 16px 8px;
}

.live-tracker__events-hint {
  font-size: 0.625rem;
  font-weight: 600;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.live-tracker__events-scroll {
  max-height: min(380px, 52vh);
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  scroll-behavior: smooth;
  padding: 0 8px 12px 12px;
  margin-right: 4px;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  background: var(--color-surface);
}

.live-tracker__events-scroll:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: -2px;
}

.live-tracker__events-scroll::-webkit-scrollbar {
  width: 6px;
}

.live-tracker__events-scroll::-webkit-scrollbar-thumb {
  background: var(--color-border);
  border-radius: 999px;
}

.live-tracker__events-scroll::-webkit-scrollbar-thumb:hover {
  background: var(--color-text-muted);
}

.live-tracker__events-title {
  margin: 0;
  padding: 0;
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
}

.live-tracker__half:first-child .live-tracker__half-title {
  margin-top: 10px;
}

.live-tracker__body {
  padding: 12px 0 0;
  background: var(--color-white);
  color: var(--color-text);
}

.live-tracker__half + .live-tracker__half {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--color-border);
}

.live-tracker__half-title {
  margin: 0 0 10px;
  padding: 0 16px;
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  text-align: center;
}

.live-tracker__events {
  list-style: none;
  margin: 0;
  padding: 0 12px;
  display: grid;
  gap: 10px;
}

.live-tracker__event {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 36px;
  align-items: center;
  gap: 8px;
}

.live-tracker__event--home .live-tracker__bubble {
  grid-column: 2;
  justify-self: start;
}

.live-tracker__event--away .live-tracker__bubble {
  grid-column: 2;
  justify-self: end;
}

.live-tracker__event--home .live-tracker__minute:last-child,
.live-tracker__event--away .live-tracker__minute:first-child {
  display: none;
}

.live-tracker__minute {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-text-muted);
  text-align: center;
}

.live-tracker__event--home .live-tracker__minute {
  grid-column: 1;
}

.live-tracker__event--away .live-tracker__minute {
  grid-column: 3;
}

.live-tracker__bubble {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: min(100%, 280px);
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid var(--color-border);
  background: #fff;
  font-size: 0.8125rem;
}

.live-tracker__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.live-tracker__sub {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

.live-tracker__icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.live-tracker__icon--yellow {
  border-radius: 3px;
  background: #facc15;
}

.live-tracker__icon--red {
  border-radius: 3px;
  background: #ef4444;
}

.live-tracker__empty {
  margin: 0;
  padding: 24px 16px;
  text-align: center;
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

@media (max-width: 575px) {
  .live-tracker__scoreboard {
    gap: 8px;
  }

  .live-tracker__team {
    font-size: 0.75rem;
  }

  .live-tracker__bubble {
    max-width: 100%;
  }
}

/* --- Production live tracker v2 --- */
.watch-card__head--tracker {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.live-tracker__toolbar {
  display: flex;
  gap: 6px;
}

.live-tracker__tool-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: var(--color-surface, #fff);
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.15s, border-color 0.15s;
}

.live-tracker__tool-btn.is-active,
.live-tracker__tool-btn[aria-pressed="true"] {
  border-color: var(--color-accent);
  background: color-mix(in srgb, var(--color-accent) 12%, transparent);
}

.live-tracker__sticky {
  position: sticky;
  top: 0;
  z-index: 5;
  background: var(--color-white);
  color: var(--color-text);
  border-bottom: 1px solid var(--color-border);
  padding: 14px 16px 12px;
  box-shadow: var(--shadow-xs);
}

.live-tracker__scoreboard {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.live-tracker__team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  font-size: 0.8125rem;
  line-height: 1.25;
  font-weight: 600;
}

.live-tracker__team img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.live-tracker__team--home strong {
  color: var(--lt-home);
}

.live-tracker__team--away {
  justify-self: end;
}

.live-tracker__team--away strong {
  color: var(--lt-away);
}

.live-tracker__mid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 96px;
}

.live-tracker__score {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--color-text);
}

.live-tracker__status {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
}

.live-tracker__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

.live-tracker__league {
  font-weight: 700;
  color: var(--color-text);
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  background: #fce8e6;
  color: var(--color-live);
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.live-badge__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-live);
  animation: live-pulse 1.4s ease-in-out infinite;
}

.live-tracker__clock {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--color-live);
}

.live-tracker__penalties {
  font-size: 0.6875rem;
  color: var(--color-text-muted);
}

.live-tracker__sticky--filters {
  padding: 10px 16px;
}

.live-tracker__sticky--filters .live-tracker__filters {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.live-tracker__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--color-border);
}

.live-tracker__filter {
  padding: 5px 12px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  background: var(--color-surface);
  color: var(--color-text-muted);
  font-size: 0.6875rem;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.live-tracker__filter:hover {
  border-color: var(--color-accent);
  color: var(--color-text);
}

.live-tracker__filter.is-active,
.live-tracker__filter[aria-pressed="true"] {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}

.live-tracker__live-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 10px;
}

.live-tracker__score--pulse {
  animation: score-pop 0.45s ease;
}

@keyframes live-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.85); }
}

@keyframes score-pop {
  0% { transform: scale(1); }
  40% { transform: scale(1.1); color: var(--color-accent); }
  100% { transform: scale(1); }
}

.live-tracker__half-title {
  margin: 0 0 10px;
  padding: 0 16px;
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  text-align: left;
}

.live-tracker__minute-group.is-highlight .live-tracker__bubble {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-accent) 25%, transparent);
}

/* Reference timeline feed (tips.gg-style) */
.lt-feed {
  list-style: none;
  margin: 0;
  padding: 8px 0 12px;
}

.lt-feed__ft {
  display: flex;
  justify-content: center;
  margin: 4px 0 12px;
}

.lt-feed__ft-pill {
  display: inline-flex;
  padding: 6px 16px;
  border-radius: 999px;
  background: #eef1f6;
  border: 1px solid var(--color-border);
  font-size: 0.8125rem;
  font-weight: 800;
  color: var(--color-navy-950);
  letter-spacing: 0.02em;
}

.lt-feed__injury {
  margin: 10px 0;
  text-align: center;
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--color-text-muted);
}

.lt-feed__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 0 10px;
  padding: 7px 14px;
  min-height: 34px;
}

.lt-feed__row.is-replay-hidden,
.lt-feed__row.is-filtered-out,
.lt-feed__row[hidden] {
  display: none !important;
}

.lt-feed__row.is-highlight {
  background: rgba(59, 130, 246, 0.06);
}

.lt-feed__copy {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 8px;
  font-size: 0.8125rem;
  line-height: 1.35;
  color: var(--color-navy-950);
}

.lt-feed__row--away .lt-feed__copy {
  grid-column: 1;
  justify-content: flex-end;
  text-align: right;
}

.lt-feed__row--home .lt-feed__copy {
  grid-column: 3;
  justify-content: flex-start;
  text-align: left;
}

.lt-feed__meta {
  grid-column: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.lt-feed__meta--home {
  flex-direction: row-reverse;
}

.lt-feed__gap {
  min-width: 0;
}

.lt-feed__row--away .lt-feed__gap {
  grid-column: 3;
}

.lt-feed__row--home .lt-feed__gap {
  grid-column: 1;
}

.lt-feed__sep {
  width: 1px;
  height: 18px;
  background: var(--color-border);
  flex-shrink: 0;
}

.lt-feed__time {
  font-size: 0.75rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--color-text-muted);
  white-space: nowrap;
}

.lt-feed__muted {
  color: var(--color-text-muted);
  font-weight: 500;
}

.lt-feed__in strong,
.lt-feed__player,
.lt-feed__copy strong {
  font-weight: 700;
  color: var(--color-navy-950);
}

a.lt-feed__player:hover {
  color: var(--color-accent);
}

.lt-feed__assist {
  width: 100%;
  font-size: 0.6875rem;
  color: var(--color-text-muted);
}

.lt-feed__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.lt-feed__icon--goal::before {
  content: "⚽";
  font-size: 0.875rem;
  line-height: 1;
}

.lt-feed__icon--substitution {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, #22c55e 0 50%, #ef4444 50% 100%);
  position: relative;
}

.lt-feed__icon--substitution::before,
.lt-feed__icon--substitution::after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border-style: solid;
}

.lt-feed__icon--substitution::before {
  top: 2px;
  left: 5px;
  border-width: 0 3px 4px 3px;
  border-color: transparent transparent #fff transparent;
}

.lt-feed__icon--substitution::after {
  bottom: 2px;
  right: 5px;
  border-width: 4px 3px 0 3px;
  border-color: #fff transparent transparent transparent;
}

.lt-feed__icon--yellow_card,
.lt-feed__icon--second_yellow {
  width: 11px;
  height: 15px;
  border-radius: 2px;
  background: #facc15;
  border: 1px solid #ca8a04;
}

.lt-feed__icon--red_card {
  width: 11px;
  height: 15px;
  border-radius: 2px;
  background: #ef4444;
  border: 1px solid #b91c1c;
}

.lt-feed__icon--var,
.lt-feed__icon--var_review {
  min-width: 22px;
  height: 16px;
  padding: 0 4px;
  border-radius: 4px;
  background: #3b82f6;
  color: #fff;
  font-size: 0.5625rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.lt-feed__icon--var::before,
.lt-feed__icon--var_review::before {
  content: "VAR";
}

.lt-feed__icon--missed_penalty::before,
.lt-feed__icon--goal_cancelled::before {
  content: "✕";
  color: #ef4444;
  font-weight: 800;
}

/* Horizontal timeline rail */
.live-tracker__rail-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  margin: 0 6px 8px;
  font-size: 0.625rem;
  font-weight: 700;
  color: var(--color-text-muted);
}

.live-tracker__rail-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  max-width: 48%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* Which half of the rail a team owns is otherwise only implied by position:
   markers above the axis are the home side, below it the away side. */
.live-tracker__rail-legend-dot {
  width: 7px;
  height: 7px;
  border-radius: 2px;
  flex: 0 0 auto;
}

.live-tracker__rail-legend-item--home .live-tracker__rail-legend-dot {
  background: var(--lt-home, #2563eb);
}

.live-tracker__rail-legend-item--away .live-tracker__rail-legend-dot {
  background: var(--lt-away, #ea580c);
}


.live-tracker__rail {
  --rail-lane-step: 18px;
  position: relative;
  padding: 10px 12px 10px;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
}

.live-tracker__rail-row {
  --rail-max-lane: 0;
  position: relative;
  height: calc(22px + var(--rail-max-lane) * var(--rail-lane-step));
  min-height: 22px;
}

.live-tracker__rail-row--home {
  margin-bottom: 6px;
}

.live-tracker__rail-row--away {
  /* Clears the axis tick labels: at 2px the numbers and the away markers
     visually collided into a single crowded line. */
  margin-top: 14px;
}

.live-tracker__rail-axis {
  position: relative;
  height: 22px;
  margin: 0 6px;
}

.live-tracker__rail-line {
  position: absolute;
  left: 0;
  right: 0;
  top: 4px;
  height: 1px;
  background: var(--color-border);
  border-radius: 1px;
}

.live-tracker__rail-line::before {
  content: "";
  position: absolute;
  left: 0;
  width: 50%;
  top: 0;
  bottom: 0;
  background: color-mix(in srgb, var(--lt-home, #2563eb) 35%, transparent);
  opacity: 0.5;
}

.live-tracker__rail-line::after {
  content: "";
  position: absolute;
  right: 0;
  width: 50%;
  top: 0;
  bottom: 0;
  background: color-mix(in srgb, var(--lt-away, #ea580c) 35%, transparent);
  opacity: 0.5;
}

.live-tracker__rail-half {
  position: absolute;
  top: 0;
  height: 9px;
  width: 0;
  transform: translateX(-50%);
  border-left: 1px dashed var(--color-border);
  z-index: 1;
}

.live-tracker__rail-needle {
  position: absolute;
  top: -6px;
  height: 15px;
  width: 2px;
  transform: translateX(-50%);
  background: var(--color-live);
  border-radius: 1px;
  z-index: 2;
}

.live-tracker__rail-ticks {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 11px;
}

.live-tracker__rail-tick {
  position: absolute;
  transform: translateX(-50%);
  font-size: 0.5rem;
  font-weight: 700;
  color: var(--color-text-muted);
  white-space: nowrap;
  opacity: 0.85;
}

.live-tracker__rail-marker {
  position: absolute;
  left: var(--rail-left, 50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  min-width: 16px;
  padding: 0;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 4px;
  background: var(--color-white);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
  font-size: 0.5625rem;
  line-height: 1;
  cursor: pointer;
  z-index: 1;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.live-tracker__rail-row--home .live-tracker__rail-marker {
  bottom: calc(var(--rail-lane, 0) * var(--rail-lane-step));
  transform: translateX(-50%);
}

.live-tracker__rail-row--away .live-tracker__rail-marker {
  top: calc(var(--rail-lane, 0) * var(--rail-lane-step));
  transform: translateX(-50%);
}

.live-tracker__rail-marker:hover,
.live-tracker__rail-marker.is-highlight {
  z-index: 4;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.14);
}

.live-tracker__rail-row--home .live-tracker__rail-marker:hover,
.live-tracker__rail-row--home .live-tracker__rail-marker.is-highlight {
  transform: translateX(-50%) translateY(-1px);
}

.live-tracker__rail-row--away .live-tracker__rail-marker:hover,
.live-tracker__rail-row--away .live-tracker__rail-marker.is-highlight {
  transform: translateX(-50%) translateY(1px);
}

.live-tracker__rail-marker--goal {
  border-color: #86efac;
  background: #fff;
  font-size: 0.625rem;
}

.live-tracker__rail-marker--card.yellow {
  width: 11px;
  min-width: 11px;
  height: 14px;
  padding: 0;
  background: #facc15;
  border-color: #eab308;
  border-radius: 2px;
  box-shadow: none;
}

.live-tracker__rail-marker--card.red {
  width: 11px;
  min-width: 11px;
  height: 14px;
  padding: 0;
  background: #ef4444;
  border-color: #dc2626;
  border-radius: 2px;
  box-shadow: none;
}

.live-tracker__rail-marker--sub {
  color: #16a34a;
  font-weight: 800;
  font-size: 0.5625rem;
  border-color: #bbf7d0;
  background: #f0fdf4;
}

.live-tracker__rail-marker--var {
  width: 16px;
  font-size: 0.4375rem;
  font-weight: 800;
  color: #fff;
  background: #3b82f6;
  border-color: #2563eb;
}

.live-tracker__rail-marker.is-filtered-out,
.live-tracker__rail-marker[hidden] {
  display: none !important;
}

.live-tracker__bubble {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: min(100%, 320px);
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--color-border);
  background: var(--color-white);
  font-size: 0.8125rem;
  box-shadow: var(--shadow-xs);
}

.live-tracker__timeline {
  list-style: none;
  margin: 0;
  padding: 0 12px;
  display: grid;
  gap: 12px;
}

.live-tracker__minute-group {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
}

.live-tracker__minute-group.is-replay-hidden {
  display: none;
}

.live-tracker__minute-label {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--color-text-muted);
  text-align: center;
  padding-top: 10px;
}

.live-tracker__minute-events {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.live-tracker__minute-events .live-tracker__event {
  grid-template-columns: minmax(0, 1fr);
}

.live-tracker__minute-events .live-tracker__event--home .live-tracker__bubble,
.live-tracker__minute-events .live-tracker__event--away .live-tracker__bubble {
  justify-self: stretch;
  max-width: 100%;
}

.live-tracker__event-title {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-text-muted);
}

.live-tracker__team-name {
  font-size: 0.6875rem;
  color: var(--color-text-muted);
}

.live-tracker__icon--var {
  font-size: 0.5rem;
  font-weight: 800;
  color: #fff;
  background: #3b82f6;
  border-radius: 4px;
  width: auto;
  min-width: 28px;
  padding: 0 4px;
}

.live-tracker__icon--miss {
  color: #ef4444;
  font-weight: 800;
}

.live-tracker__event--enter {
  animation: tracker-enter 0.4s ease;
}

.live-tracker__minute-group--enter {
  animation: tracker-enter 0.35s ease;
}

@keyframes tracker-enter {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.live-tracker__event--goal .live-tracker__bubble,
.live-tracker__event--penalty_goal .live-tracker__bubble {
  animation: goal-flash 0.6s ease;
}

@keyframes goal-flash {
  0%, 100% { box-shadow: none; }
  30% { box-shadow: 0 0 0 3px color-mix(in srgb, #22c55e 35%, transparent); }
}

.live-tracker__event--yellow_card .live-tracker__bubble,
.live-tracker__event--second_yellow .live-tracker__bubble {
  animation: card-yellow-flash 0.5s ease;
}

.live-tracker__event--red_card .live-tracker__bubble {
  animation: card-red-flash 0.5s ease;
}

@keyframes card-yellow-flash {
  0%, 100% { background: #fff; }
  40% { background: #fef9c3; }
}

@keyframes card-red-flash {
  0%, 100% { background: #fff; }
  40% { background: #fee2e2; }
}

.live-tracker__event--var .live-tracker__bubble,
.live-tracker__event--var_review .live-tracker__bubble {
  animation: var-pulse 1.2s ease 2;
}

@keyframes var-pulse {
  0%, 100% { box-shadow: none; }
  50% { box-shadow: 0 0 0 3px color-mix(in srgb, #3b82f6 30%, transparent); }
}

.live-tracker__skeleton[hidden] {
  display: none !important;
}

.live-tracker__skeleton {
  padding: 12px 16px;
  display: grid;
  gap: 10px;
}

.live-tracker__skeleton-row {
  height: 52px;
  border-radius: 10px;
  background: linear-gradient(90deg, #e8ecf0 25%, #f4f6f8 50%, #e8ecf0 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.2s ease infinite;
}

@keyframes skeleton-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.live-tracker__body.is-loading {
  opacity: 0.55;
}

.live-tracker__stats {
  padding: 14px 16px 16px;
  border-top: 1px solid var(--color-border);
  background: #fff;
}

.live-tracker__stats-title {
  margin: 0 0 12px;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
}

.live-tracker__stats-grid {
  display: grid;
  gap: 10px;
}

.live-tracker__stat-values {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 8px;
  font-size: 0.75rem;
  margin-bottom: 4px;
}

.live-tracker__stat-values strong:first-child {
  text-align: left;
}

.live-tracker__stat-values strong:last-child {
  text-align: right;
}

.live-tracker__stat-values span {
  color: var(--color-text-muted);
  font-size: 0.6875rem;
  text-align: center;
}

.live-tracker__stat-track {
  display: flex;
  height: 6px;
  border-radius: 999px;
  overflow: hidden;
  background: var(--color-border);
}

.live-tracker__stat-fill {
  height: 100%;
  transition: width 0.5s ease;
}


.live-tracker__stat-fill--home {
  background: var(--lt-home);
}

.live-tracker__stat-fill--away {
  background: var(--lt-away);
}

.live-tracker__replay {
  padding: 12px 16px 16px;
  border-top: 1px solid var(--color-border);
  background: #f8fafc;
}

.live-tracker__replay-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--color-text-muted);
}

.live-tracker__replay-slider {
  width: 100%;
  accent-color: var(--color-accent);
}

@media (prefers-reduced-motion: reduce) {
  .live-badge__dot,
  .live-tracker__event--enter,
  .live-tracker__minute-group--enter,
  .live-tracker__score--pulse,
  .live-tracker__skeleton-row,
  .lt-pitch__ball,
  .lt-pitch__dot {
    animation: none !important;
    transition: none !important;
  }

  .live-tracker__stat-fill {
    transition: none;
  }
}

/* Tracker schematic pitch replay */
.lt-pitch {
  padding: 12px 14px 10px;
  background: linear-gradient(180deg, #f0fdf4 0%, #ffffff 100%);
  border-bottom: 1px solid var(--color-border);
}

.lt-pitch__labels {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 8px;
  align-items: center;
  margin-bottom: 8px;
  font-size: 0.75rem;
  font-weight: 700;
}

.lt-pitch__label--home {
  color: var(--lt-home, #2563eb);
}

.lt-pitch__label--away {
  text-align: right;
  color: var(--lt-away, #dc2626);
}

.lt-pitch__label small {
  display: block;
  font-weight: 600;
  color: var(--color-text-muted);
  font-size: 0.625rem;
}

.lt-pitch__replay-minute {
  font-size: 0.8125rem;
  font-weight: 800;
  color: var(--color-text);
  padding: 2px 10px;
  border-radius: var(--radius-pill);
  background: var(--color-white);
  border: 1px solid var(--color-border);
}

.lt-pitch__field-wrap {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
}

.lt-pitch__field {
  position: relative;
  aspect-ratio: 16 / 10;
  min-height: 160px;
  max-height: 220px;
  background: repeating-linear-gradient(
    90deg,
    #3d9a56 0,
    #3d9a56 24px,
    #389052 24px,
    #389052 48px
  );
}

.lt-pitch__line {
  position: absolute;
  pointer-events: none;
}

.lt-pitch__line--outline {
  inset: 8px;
  border: 2px solid rgba(255, 255, 255, 0.85);
  border-radius: 4px;
}

.lt-pitch__line--half {
  top: 8px;
  bottom: 8px;
  left: 50%;
  border-left: 2px solid rgba(255, 255, 255, 0.85);
}

.lt-pitch__line--circle {
  left: 50%;
  top: 50%;
  width: 18%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border: 2px solid rgba(255, 255, 255, 0.85);
  border-radius: 50%;
}

.lt-pitch__box {
  top: 50%;
  width: 14%;
  height: 52%;
  transform: translateY(-50%);
  border: 2px solid rgba(255, 255, 255, 0.85);
}

.lt-pitch__box--left {
  left: 8px;
  border-left: none;
}

.lt-pitch__box--right {
  right: 8px;
  border-right: none;
}

.lt-pitch__dot {
  position: absolute;
  width: 26px;
  height: 26px;
  margin: -13px 0 0 -13px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.625rem;
  font-weight: 800;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
  transition: left 0.45s ease, top 0.45s ease, opacity 0.25s ease, transform 0.25s ease;
  z-index: 2;
}

.lt-pitch__dot--home {
  background: var(--lt-home, #2563eb);
}

.lt-pitch__dot--away {
  background: var(--lt-away, #dc2626);
}

.lt-pitch__dot.is-off {
  opacity: 0.2;
  transform: scale(0.75);
}

.lt-pitch__dot.is-highlight {
  transform: scale(1.15);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.9), 0 0 0 5px var(--color-accent);
  z-index: 4;
}

.lt-pitch__num {
  line-height: 1;
}

.lt-pitch__ball {
  position: absolute;
  width: 14px;
  height: 14px;
  margin: -7px 0 0 -7px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #1a1c1e;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
  transition: left 0.5s ease, top 0.5s ease;
  z-index: 5;
}

.lt-pitch__event {
  margin: 8px 0 0;
  min-height: 1.25em;
  font-size: 0.75rem;
  color: var(--color-text-muted);
  text-align: center;
}

@media (max-width: 575px) {
  .lt-pitch__field {
    min-height: 140px;
  }

  .lt-pitch__dot {
    width: 22px;
    height: 22px;
    margin: -11px 0 0 -11px;
    font-size: 0.5625rem;
  }
}

/* Sidebar: other matches (replaced the news + "More" cards) */
.watch-more {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2px;
}

.watch-more__group {
  margin: 10px 0 6px;
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.watch-more__group:first-child {
  margin-top: 0;
}

.watch-more__row {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
  transition: background 0.12s ease;
}

.watch-more__row:hover,
.watch-more__row:focus-visible {
  background: var(--color-surface-muted, #f3f5f8);
}

.watch-more__state {
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--color-text-muted);
  white-space: nowrap;
}

.watch-more__live {
  color: var(--color-live);
  font-weight: 800;
}

.watch-more__teams {
  display: grid;
  gap: 1px;
  min-width: 0;
}

.watch-more__team {
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.watch-more__score {
  font-size: 0.8125rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
