/* —— Utility bar —— */
.utility-bar {
  background: var(--color-navy-950);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.8125rem;
  height: 36px;
  overflow: hidden;
  flex-shrink: 0;
}

.utility-bar__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.utility-bar__links {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.utility-bar__links a {
  color: inherit;
  white-space: nowrap;
}

.utility-bar__links a:hover {
  color: #fff;
}

.utility-bar__sep {
  opacity: 0.35;
}

.utility-chip {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 10px;
  border-radius: var(--radius-pill);
  background: rgba(255, 90, 31, 0.18);
  color: #ffb08f;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
}

.utility-chip:hover {
  color: #fff;
  background: rgba(255, 90, 31, 0.3);
}

@media (max-width: 767px) {
  .utility-bar__link--secondary {
    display: none;
  }

  .utility-bar__sep--secondary {
    display: none;
  }
}

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-navy-900);
  color: #fff;
  transition: box-shadow var(--transition);
}

.site-header.is-scrolled {
  box-shadow: var(--shadow-header);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 68px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  flex-shrink: 0;
}

.logo:hover {
  color: #fff;
}

.logo__mark {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}

.logo__text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.logo__text span {
  color: var(--color-accent);
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  min-width: 0;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 600;
  font-size: 0.9375rem;
  border-radius: var(--radius-sm);
}

.nav-link:hover,
.nav-link.is-active {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.nav-link.is-active {
  color: var(--color-accent);
}

.nav-caret {
  width: 10px;
  height: 10px;
  opacity: 0.7;
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 160px;
  padding: 8px;
  background: var(--color-white);
  color: var(--color-text);
  border-radius: var(--radius-md);
  box-shadow: 0 12px 32px rgba(7, 17, 31, 0.18);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  z-index: 20;
}

.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown a {
  display: block;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 0.875rem;
}

.nav-dropdown a:hover {
  background: var(--color-accent-soft);
  color: var(--color-accent);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  font-weight: 700;
  font-size: 0.875rem;
  border-radius: var(--radius-pill);
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.btn--accent {
  background: var(--color-accent);
  color: #fff;
}

.btn--accent:hover {
  background: var(--color-accent-hover);
  color: #fff;
}

.btn--ghost {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-border);
}

.btn--ghost:hover {
  border-color: var(--color-text-muted);
  color: var(--color-text);
}

/* Shared Watch CTA (score cards + live board) */
.btn-watch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 32px;
  padding: 0 14px;
  border-radius: var(--radius-pill);
  background: var(--color-accent);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  flex-shrink: 0;
  box-shadow: none;
  transition: background var(--transition), box-shadow var(--transition);
}

.btn-watch--sm {
  height: 30px;
  padding: 0 12px;
  gap: 5px;
  font-size: 0.75rem;
}

.btn-watch--icon {
  width: 32px;
  height: 32px;
  min-width: 32px;
  padding: 0;
  gap: 0;
  border-radius: 8px;
}

.btn-watch--icon .btn-watch__icon {
  width: 14px;
  height: 14px;
}

.btn-watch__icon {
  width: 11px;
  height: 11px;
  display: block;
  flex-shrink: 0;
}

.score-card:hover .btn-watch,
.stream-row:hover .btn-watch {
  background: var(--color-accent-hover);
  color: #fff;
  box-shadow: var(--shadow-xs);
}

.header-cta {
  margin-left: auto;
  flex-shrink: 0;
}

.burger {
  display: none;
  width: 42px;
  height: 42px;
  margin-left: auto;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  color: #fff;
}

.burger:hover {
  background: rgba(255, 255, 255, 0.08);
}

.burger__lines {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  position: relative;
}

.burger__lines::before,
.burger__lines::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: currentColor;
}

.burger__lines::before {
  top: -6px;
}

.burger__lines::after {
  top: 6px;
}

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
}

.mobile-nav.is-open {
  pointer-events: auto;
}

.mobile-nav__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 17, 31, 0.55);
  opacity: 0;
  transition: opacity var(--transition);
}

.mobile-nav.is-open .mobile-nav__backdrop {
  opacity: 1;
}

.mobile-nav__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(320px, 88vw);
  height: 100%;
  background: var(--color-navy-900);
  color: #fff;
  padding: 20px;
  transform: translateX(100%);
  transition: transform 220ms ease;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-nav.is-open .mobile-nav__panel {
  transform: translateX(0);
}

.mobile-nav__close {
  align-self: flex-end;
  width: 40px;
  height: 40px;
  color: #fff;
  border-radius: var(--radius-sm);
  font-size: 1.5rem;
  line-height: 1;
}

.mobile-nav__link {
  display: block;
  padding: 12px 10px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  color: rgba(255, 255, 255, 0.9);
}

.mobile-nav__link:hover,
.mobile-nav__link.is-active {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.mobile-nav__sub {
  padding-left: 16px;
  margin-bottom: 4px;
}

.mobile-nav__sub a {
  display: block;
  padding: 8px 10px;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
}

.mobile-nav__cta {
  margin-top: 12px;
}

@media (max-width: 1023px) {
  .nav-desktop,
  .header-cta {
    display: none;
  }

  .burger {
    display: inline-flex;
  }
}

/* —— Live cricket streams grid —— */
.scores {
  background: var(--color-white);
  border: 0;
  border-radius: 16px;
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

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

.scores__title-wrap {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  min-width: 0;
}

.scores__title {
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--color-text);
}

.scores__view-all {
  font-size: 0.875rem;
  font-weight: 600;
  color: #1a73e8;
  white-space: nowrap;
  flex-shrink: 0;
}

.scores__view-all:hover {
  color: #174ea6;
  text-decoration: underline;
}

.scores__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

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

.score-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 16px;
  background: var(--color-white);
  color: inherit;
  box-shadow: none;
  transition: box-shadow var(--transition), border-color var(--transition), background var(--transition);
  min-width: 0;
}

.score-card:hover {
  border-color: transparent;
  background: var(--color-white);
  box-shadow: var(--shadow-md);
  color: inherit;
}

.score-card--split {
  padding: 0;
  overflow: hidden;
}

.score-card__main {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px 16px;
  color: inherit;
  text-decoration: none;
}

.score-card__main:hover {
  color: inherit;
}

.score-card__watch {
  padding: 0 16px 14px;
}

.score-card__watch .btn-watch,
.score-card__watch .btn {
  width: 100%;
  justify-content: center;
}

.btn--sm {
  min-height: 34px;
  padding: 0 14px;
  font-size: 0.8125rem;
}

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

.score-card__comp {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 22px;
  padding: 0 8px;
  border-radius: var(--radius-pill);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  flex-shrink: 0;
}

.badge--live {
  background: transparent;
  color: var(--color-live);
  padding: 0;
  height: auto;
}

.badge--live::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-live);
  animation: live-pulse 1.6s ease-out infinite;
}

.badge--finished {
  background: rgba(24, 128, 56, 0.1);
  color: var(--color-success);
}

.badge--upcoming {
  background: var(--color-surface-2);
  color: var(--color-text-muted);
}

.score-card__teams {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.score-card__team {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-weight: 600;
  font-size: 0.9375rem;
}

.score-card__team-name {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.score-card__team-name span:last-child {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.score-card .team-logo {
  width: 22px;
  height: 16px;
  border-radius: 2px;
}

.score-card .team-mark {
  width: 24px;
  height: 24px;
}

.score-card__value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-text);
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
  letter-spacing: -0.01em;
}

.score-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--color-border);
}

/* The live minute rides with the LIVE badge rather than sitting in the grey
   footer text — it is the only value on the card that keeps changing. */
.score-card__minute {
  margin-left: 6px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.score-card__summary {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  line-height: 1.35;
  min-width: 0;
  font-weight: 500;
}

@media (max-width: 1279px) {
  .scores__grid:not(.scores__grid--featured) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

@media (max-width: 767px) {
  .scores {
    padding: 14px 12px;
  }

  .scores__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .scores__title {
    font-size: 1.125rem;
    line-height: 1.25;
  }

  .scores__title-wrap {
    width: 100%;
  }

  .scores__view-all {
    font-size: 0.8125rem;
  }

  .scores__grid,
  .scores__grid--featured {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .score-card {
    padding: 12px 14px;
  }

  .score-card__footer {
    gap: 10px;
  }

  .score-card__summary {
    flex: 1;
  }
}

/* —— Promo —— */
.promo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
  max-height: 90px;
  padding: 14px 22px;
  border-radius: var(--radius-md);
  background: linear-gradient(105deg, var(--color-navy-900) 0%, var(--color-navy-800) 70%, #1a3352 100%);
  color: #fff;
  border-left: 4px solid var(--color-accent);
}

.promo__copy h2 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.promo__copy p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.72);
}

@media (max-width: 767px) {
  .promo {
    flex-direction: column;
    align-items: flex-start;
    max-height: none;
    padding: 16px;
  }
}

/* —— News cards —— */
.news-card {
  display: block;
  transition: transform var(--transition), opacity var(--transition);
}

.news-card:hover {
  transform: translateY(-2px);
  color: inherit;
}

.news-card:hover .news-card__title {
  color: var(--color-accent);
}

.news-card--featured {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-navy-900);
  min-height: 360px;
}

.news-card--featured .news-card__media {
  position: absolute;
  inset: 0;
}

.news-card--featured .news-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-card--featured .news-card__body {
  position: absolute;
  inset: auto 0 0;
  padding: 20px;
  background: linear-gradient(180deg, transparent 0%, rgba(7, 17, 31, 0.82) 55%);
  color: #fff;
}

.news-card--featured .news-card__title {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 8px 0 6px;
  color: #fff;
}

.news-card--featured .news-card__dek {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.78);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card--featured .tag {
  background: rgba(255, 90, 31, 0.92);
  color: #fff;
}

.news-card--featured .news-card__meta {
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.8125rem;
  font-weight: 600;
}

.news-card--featured .news-card__meta time,
.news-card--featured .news-card__meta > span:not(.tag) {
  color: rgba(255, 255, 255, 0.92);
}


.news-card--horizontal {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 12px;
  align-items: start;
}

.news-card--horizontal .news-card__media {
  width: 96px;
  height: 72px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--color-border);
}

.news-card--horizontal .news-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-card__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-bottom: 4px;
}

.tag {
  display: inline-flex;
  align-items: center;
  height: 20px;
  padding: 0 8px;
  border-radius: var(--radius-pill);
  background: var(--color-accent-soft);
  color: var(--color-accent);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.news-card__title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.35;
  transition: color var(--transition);
}

.news-card--horizontal .news-card__title {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* —— Widgets —— */
.widget {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 16px;
}

.widget__title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--color-border);
}

.bookie-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.bookie-list--sidebar {
  gap: 0;
}

.bookie {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  gap: 10px;
  align-items: center;
}

.bookie--row {
  grid-template-columns: 32px 1fr auto;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--color-border);
}

.bookie-list--sidebar .bookie--row:first-child {
  padding-top: 2px;
}

.bookie-list--sidebar .bookie--row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.bookie--row .bookie__name {
  font-size: 0.875rem;
}

.bookie--row .bookie__rating {
  font-size: 0.75rem;
  margin-top: 1px;
}

.bookie__cta {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--color-accent);
  padding: 4px 0;
}

.bookie__cta:hover {
  color: var(--color-accent-hover);
  text-decoration: underline;
}

.bookie--strip .bookie__actions .btn {
  padding: 7px 14px;
}

.bookie__rank {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.8125rem;
  font-family: var(--font-display);
}

.bookie__logo {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: var(--color-navy-900);
  border: 0;
  overflow: hidden;
  padding: 4px;
}

.bookie__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.bookie__logo--light {
  background: #f4f6fa;
}

.bookie__name {
  font-weight: 700;
  font-size: 0.9375rem;
}

.bookie__rating {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin-top: 2px;
}

.bookie__rating strong {
  color: var(--color-text);
}

.bookie__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.bookie__actions .btn {
  padding: 7px 14px;
  font-size: 0.75rem;
}

.bookie__review {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

.bookie__review:hover {
  color: var(--color-accent);
}

.updates-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.update-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 10px;
  align-items: start;
  transition: opacity var(--transition);
}

.update-item:hover {
  opacity: 0.85;
  color: inherit;
}

.update-item__media {
  width: 56px;
  height: 42px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--color-border);
}

.update-item__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.update-item__title {
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.update-item__date {
  font-size: 0.6875rem;
  color: var(--color-text-muted);
  margin-top: 4px;
}

.update-item__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 0.6875rem;
  color: var(--color-text-muted);
  margin-bottom: 4px;
}

.update-item__meta .tag {
  font-size: 0.625rem;
  height: 18px;
  padding: 0 6px;
}

.update-item h3 {
  margin: 0;
}

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

.sidebar-panel > h2 {
  font-size: 0.9375rem;
  margin: 0 0 12px;
  font-weight: 800;
}

.sidebar-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--color-border);
}

.sidebar-panel__head h2 {
  font-size: 0.9375rem;
  margin: 0;
  font-weight: 800;
}

.sidebar-panel__link {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-text-muted);
}

.sidebar-panel__link:hover {
  color: var(--color-accent);
}

/* —— Live streams (scoreboard) —— */
.streams {
  background: var(--color-white);
  border: 0;
  border-radius: 16px;
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.streams__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.streams__title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.streams__title {
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.streams__live-count {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: auto;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: var(--color-live);
  font-size: 0.8125rem;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
  line-height: 1;
}

.streams__live-count::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-live);
  flex-shrink: 0;
  animation: live-pulse 1.6s ease-out infinite;
}

@keyframes live-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(217, 48, 37, 0.4);
  }
  70% {
    box-shadow: 0 0 0 6px rgba(217, 48, 37, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(217, 48, 37, 0);
  }
}

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

.stream-filter {
  height: 34px;
  padding: 0 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-border);
  background: var(--color-white);
  color: var(--color-text);
  font-size: 0.8125rem;
  font-weight: 600;
  transition: background var(--transition), color var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.stream-filter:hover {
  background: var(--color-surface-2);
  border-color: #dadce0;
}

.stream-filter.is-active {
  background: #e8f0fe;
  border-color: #e8f0fe;
  color: #1967d2;
  box-shadow: none;
}

.stream-board {
  border: 1px solid var(--color-border);
  border-radius: 14px;
  overflow: hidden;
  background: var(--color-white);
}

.stream-group.is-hidden {
  display: none;
}

.stream-group {
  position: relative;
}

.stream-group__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-text-muted);
  position: relative;
}

.stream-group__head::before {
  display: none;
}

.stream-group__comp {
  min-width: 0;
  color: var(--color-text);
  font-weight: 700;
}

.stream-group__viewers {
  color: var(--color-text-muted);
  font-weight: 500;
  font-size: 0.75rem;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.stream-group__viewers::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #9aa0a6;
  flex-shrink: 0;
}

.stream-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  border-bottom: 1px solid var(--color-border);
  background: var(--color-white);
  transition: background var(--transition);
  color: inherit;
}

.stream-row__link {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.stream-row__link:hover {
  color: inherit;
}

.stream-row:hover {
  background: #f8fbff;
}

.stream-group .stream-row:last-child {
  border-bottom: none;
}

.stream-group + .stream-group .stream-group__head {
  border-top: 1px solid var(--color-border);
}

.stream-row__time {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  min-width: 0;
}

.stream-row__live {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: auto;
  padding: 0;
  border-radius: 0;
  background: transparent;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: var(--color-live);
  text-transform: uppercase;
}

.stream-row__live::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-live);
  animation: live-pulse 1.6s ease-out infinite;
}

.stream-row__scheduled {
  display: inline-flex;
  align-items: center;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: var(--color-text-muted);
  text-transform: uppercase;
}

.stream-row__minute {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-text);
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}

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

.stream-row__side {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.stream-row__side--home {
  justify-content: flex-end;
  text-align: right;
}

.stream-row__side--away {
  justify-content: flex-start;
  text-align: left;
}

.stream-row__side--home .stream-row__team-name {
  order: -1;
}

.stream-row__team-name {
  font-size: 0.9375rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.stream-row__scorebox {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 72px;
  max-width: 148px;
  padding: 6px 10px;
  border-radius: 8px;
  background: var(--color-surface);
  border: 0;
  box-shadow: none;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--color-text);
  white-space: nowrap;
  letter-spacing: -0.01em;
}

.stream-row__scorebox em {
  font-style: normal;
  color: #9aa0a6;
  font-weight: 600;
}

.stream-row .btn-watch {
  justify-self: end;
  min-width: 84px;
  height: 34px;
  padding: 0 16px;
  font-size: 0.8125rem;
}

/* Country flags via flagcdn (SVG) — legacy rectangular */
.team-logo {
  width: 26px;
  height: 18px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  display: inline-flex;
  flex-shrink: 0;
  background: var(--color-border);
  box-shadow: 0 0 0 1px rgba(7, 17, 31, 0.1);
}

.team-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  image-rendering: auto;
}

/* Team crests — free badges, no circular crop */
.team-mark {
  width: 32px;
  height: 32px;
  border-radius: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  overflow: visible;
}

.team-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.score-card .team-mark {
  width: 24px;
  height: 24px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-text-muted);
  margin-bottom: 14px;
}

.breadcrumbs a {
  color: var(--color-text-muted);
}

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

.breadcrumbs__sep {
  color: #b0b7c3;
}

.breadcrumbs__current {
  color: var(--color-text);
  max-width: 42ch;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 900px) {
  .streams {
    padding: 14px 12px 10px;
  }

  .streams__head {
    flex-wrap: wrap;
    gap: 10px;
  }

  .streams__title {
    font-size: 1.125rem;
  }

  .stream-group__head {
    flex-wrap: wrap;
    gap: 4px 10px;
    padding: 10px 12px 10px 14px;
    font-size: 0.8125rem;
    line-height: 1.35;
  }

  .stream-group__viewers {
    width: 100%;
  }

  /* Stacked match card: names readable, Watch on its own row */
  .stream-row {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "time watch"
      "center center";
    gap: 10px 8px;
    padding: 12px;
    align-items: start;
  }

  .stream-row__link {
    display: contents;
  }

  .stream-row__time {
    grid-area: time;
    flex-direction: row;
    align-items: center;
    gap: 8px;
  }

  .stream-row .btn-watch {
    grid-area: watch;
    min-width: 0;
    height: 30px;
    padding: 0 12px;
    font-size: 0.75rem;
  }

  .stream-row__center {
    grid-area: center;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .stream-row__side,
  .stream-row__side--home,
  .stream-row__side--away {
    justify-content: flex-start;
    text-align: left;
    gap: 10px;
  }

  .stream-row__side--home .stream-row__team-name {
    order: 0;
  }

  .stream-row__team-name {
    font-size: 0.9375rem;
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
    line-height: 1.25;
  }

  .stream-row__scorebox {
    align-self: flex-start;
    min-width: 0;
    width: auto;
    max-width: none;
    font-size: 0.9375rem;
    padding: 6px 12px;
  }

  .team-logo {
    width: 28px;
    height: 20px;
  }

  .stream-row .team-mark {
    width: 34px;
    height: 34px;
  }
}

/* —— Sport sections —— */
.sport-section {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 20px;
}

.sport-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 20px;
  align-items: stretch;
}

.sport-grid__feature {
  min-height: 100%;
}

.sport-grid .news-card--featured {
  min-height: 380px;
  height: 100%;
}

.sport-aside {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 100%;
}

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

.news-card--tile {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.news-card--tile .news-card__media {
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--color-border);
}

.news-card--tile .news-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-card--tile .news-card__title {
  font-size: 0.875rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sport-pulse {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background: linear-gradient(90deg, #fff7f3 0%, var(--color-surface) 55%);
  text-decoration: none;
  color: inherit;
  transition: border-color var(--transition), background var(--transition);
}

.sport-pulse:hover {
  border-color: #ffc4a8;
  background: var(--color-accent-soft);
  color: inherit;
}

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

.sport-pulse__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-live);
}

.sport-pulse__eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-live);
}

.sport-pulse__match {
  font-size: 0.875rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sport-pulse__score {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.9375rem;
  color: var(--color-live);
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}

.sport-aside__headlines {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--color-border);
  padding-top: 4px;
  margin-top: auto;
}

.sport-headline {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px solid var(--color-border);
  color: inherit;
}

.sport-headline:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.sport-headline:hover {
  color: var(--color-accent);
}

.sport-headline__date {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-text-muted);
  white-space: nowrap;
}

.sport-headline__title {
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.35;
}

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

  .sport-grid .news-card--featured {
    min-height: 280px;
  }
}

@media (max-width: 767px) {
  .sport-section {
    padding: 16px;
  }

  .sport-aside__cards {
    grid-template-columns: 1fr;
  }
}

/* —— Footer —— */
.site-footer {
  background: var(--color-navy-900);
  color: rgba(255, 255, 255, 0.78);
  padding: 48px 0 0;
  margin-top: auto;
  width: 100%;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) 1fr 1fr;
  gap: 40px;
  padding-bottom: 36px;
}

.site-footer .logo {
  display: inline-flex;
  margin-bottom: 14px;
}

.footer-about {
  font-size: 0.875rem;
  line-height: 1.65;
  max-width: 360px;
  color: rgba(255, 255, 255, 0.78);
}

.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: border-color var(--transition), color var(--transition), background var(--transition);
}

.socials a:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  background: rgba(255, 90, 31, 0.08);
}

.footer-col h3 {
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 700;
  margin: 0 0 14px;
}

.footer-col a {
  display: block;
  padding: 6px 0;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.72);
}

.footer-col a:hover {
  color: var(--color-accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 16px 0 20px;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.55);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: space-between;
}

@media (max-width: 1023px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px 28px;
  }

  .footer-grid > :first-child {
    grid-column: 1 / -1;
  }

  .footer-about {
    max-width: 42rem;
  }
}

@media (max-width: 767px) {
  .site-footer {
    padding: 36px 0 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-bottom: 24px;
  }

  .footer-grid > :first-child {
    grid-column: auto;
  }

  .site-footer .logo {
    margin-bottom: 16px;
  }

  .footer-about {
    max-width: none;
    font-size: 0.9375rem;
    line-height: 1.7;
  }

  .socials {
    margin-top: 20px;
    gap: 12px;
  }

  .socials a {
    width: 40px;
    height: 40px;
  }

  .footer-col + .footer-col {
    margin-top: 4px;
  }

  .footer-col h3 {
    font-size: 1rem;
    margin-bottom: 10px;
  }

  .footer-col a {
    padding: 11px 0;
    font-size: 0.9375rem;
    line-height: 1.3;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 6px;
    padding: 18px 0 28px;
    font-size: 0.8125rem;
    line-height: 1.45;
  }
}

/* —— Cookie bar —— */
.cookie-bar {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: 0 12px 40px rgba(7, 17, 31, 0.16);
}

.cookie-bar.is-visible {
  /* Temporarily disabled — restore to display: flex when needed */
  display: none;
}

.cookie-bar p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  max-width: 640px;
}

.cookie-bar__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

@media (max-width: 767px) {
  .cookie-bar {
    flex-direction: column;
    align-items: stretch;
    left: 12px;
    right: 12px;
    bottom: 12px;
  }

  .cookie-bar__actions {
    justify-content: stretch;
  }

  .cookie-bar__actions .btn {
    flex: 1;
  }
}

/* paginate_links(type: 'list') (the only form used site-wide) wraps links
   in <ul class="page-numbers"><li>...</li></ul> — style that structure
   directly rather than assuming <a>/<span> are direct .pagination children. */
.pagination {
  margin-top: 8px;
}

.pagination ul.page-numbers {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.pagination .page-numbers li {
  display: block;
}

.pagination a.page-numbers,
.pagination span.page-numbers {
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text);
  background: var(--color-white);
  text-decoration: none;
}

.pagination a.page-numbers:hover {
  border-color: #ffc4a8;
  color: var(--color-accent);
}

.pagination span.page-numbers.current {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
}

.pagination .page-numbers.dots {
  border: 0;
  background: transparent;
  color: var(--color-text-muted);
}

body.nav-open {
  overflow: hidden;
}
