/* Core wrapper */
.live-score-page {
  padding: 18px 20px 28px;
  font-family: inherit;
  background:
    linear-gradient(180deg, rgba(176,24,24,0.035), rgba(15,23,42,0.018) 220px, transparent 520px);
  border-radius: 14px;
}

/* On a desktop the page was white on white: the sidebar, the tab strip and
   every match card sat on the same white as the page itself, so nothing framed
   anything. A soft neutral ground behind them lets the white cards read as
   cards. Phones keep their own full-bleed layout. */
@media (min-width: 769px) {
  .live-score-page {
    background:
      linear-gradient(180deg, rgba(176,24,24,0.045), rgba(176,24,24,0) 170px),
      #f3f5f8;
    border: 1px solid #e8ecf2;
  }
}

/* Title */
.live-scores-title {
  padding: 8px 10px 14px;
  margin: 0;
  color: #060b16;
  font-size: 28px;
  line-height: 1.15;
  font-weight: 800;
}

.ls-live-intro {
  max-width: 780px;
  margin: -4px 10px 18px;
  color: #667085;
  font-size: 14px;
  line-height: 1.55;
}

/* Match row */
.live-match-row-v2 {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
  position: relative;
  background: #fff;
  padding: 0;
  margin-bottom: 10px;
  border: 1px solid #e4e8f0;
  border-radius: 9px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(15,23,42,0.035);
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.live-match-row-v2::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  /* Brand red top to bottom. It faded to navy, which on a 3px edge read as grey. */
  background: #d50102;
  opacity: 0;
  transition: opacity .18s ease;
}
.live-match-row-v2:hover {
  background: #fff;
  border-color: #f0cdd2;
  box-shadow: 0 10px 24px rgba(15,23,42,0.08);
  transform: translateY(-1px);
}
.live-match-row-v2:hover::before {
  opacity: 1;
}

.live-match-main{
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 112px minmax(0, 1fr);
  align-items: center;
  column-gap: 14px;
  width: 100%;
  min-height: 72px;
  padding: 10px 16px;
  color: inherit;
  text-decoration: none;
}

/* Kickoff time */
.match-time {
  font-weight: 800;
  width: auto;
  text-align: left;
  color: #1f2937;
  font-size: 13px;
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
}
.match-time-sub {
  display: none;
}
/* Scheduled rows show the kickoff time under the date (localized client-side) */
.is-scheduled-match .match-time-sub {
  display: block;
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
  margin-top: 2px;
  font-variant-numeric: tabular-nums;
}
html.s-dark .is-scheduled-match .match-time-sub,
html.site-s-dark .is-scheduled-match .match-time-sub {
  color: rgba(229, 231, 235, 0.7);
}

/* Team info */
.team-info {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  max-width: none;
}
.live-match-main .team-info:nth-of-type(2) {
  justify-content: flex-start;
}
.live-match-main .team-info:nth-of-type(4) {
  justify-content: flex-end;
  text-align: right;
}
.match-team-logo {
  width: 26px;
  height: 26px;
  object-fit: contain;
  flex: 0 0 26px;
  padding: 2px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 0 0 1px #eef2f7, 0 4px 10px rgba(15,23,42,0.06);
}
.team-name {
  min-width: 0;
  color: #0b1424;
  font-size: 14px;
  line-height: 1.25;
  font-weight: 700;
  white-space: normal;
  overflow-wrap: anywhere;
  font-family: Roboto, Arial, Helvetica, sans-serif;
}

/* Match status */
.match-status {
  text-align: center;
  min-width: 0;
}
.score-text {
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 3px;
  display: block;
  color: #07111f;
  font-variant-numeric: tabular-nums;
}
.score-sep {
  padding: 0 2px;
}
.status-text {
  font-size: 12px;
  color: #777;
}
.is-scheduled-match .score-text,
.is-scheduled-match .status-text {
  display: none;
}
.is-finished-match .score-text {
  color: #1f2937;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .01em;
}
.is-finished-match {
  grid-template-columns: minmax(0, 1fr);
}
.is-finished-match .match-actions {
  display: none;
}
.status-text.live {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-top: 5px;
  padding: 3px 7px;
  background: #fff0f2;
  border: 1px solid #efc3ca;
  border-radius: 999px;
  color: #b50920;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .03em;
  line-height: 1;
}
.status-text.live::before {
  content: "";
  flex: 0 0 5px;
  width: 5px;
  height: 5px;
  background: #d50102;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(213, 1, 2, .1);
}
.is-live-match {
  background: linear-gradient(90deg, #fff7f8 0%, #fff 35%);
  border-color: #edc5cb;
  box-shadow: 0 5px 16px rgba(181, 9, 32, .06);
}
.is-live-match::before {
  width: 3px;
  background: #d50102;
  opacity: 1;
}
.is-live-match:hover {
  background: linear-gradient(90deg, #fff3f5 0%, #fff 38%);
  border-color: #e4aeb7;
}
.is-live-match .score-text {
  color: #111827;
  font-size: 20px;
  font-weight: 850;
}
.match-center-time {
  display: none;
  color: #07111f;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.match-center-vs {
  display: none;
  margin-top: 5px;
  color: #8a94a6;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: .04em;
}
.match-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  position: absolute;
  top: 50%;
  /* Align to the SCORE column centre, not the row centre. The 64px match-time
     column + 14px gap on the left shift the row centre ~39px left of the score
     column, so scheduled BET buttons sat left of where finished scores show. */
  left: calc(50% + 39px);
  width: 112px;
  padding: 0;
  transform: translate(-50%, -50%);
  z-index: 2;
  pointer-events: none;
}
.match-actions .ls-betnow,
.match-actions .ls-tipster-toggle {
  pointer-events: auto;
}
.live-match-row-v2.has-open-tips .match-actions {
  top: 8px;
  transform: translateX(-50%);
}
.live-match-row-v2.has-open-tips .ls-tipster-panel {
  width: auto;
  margin: 0 12px 12px;
}

@media (min-width: 769px) {
  .live-match-row-v2.has-open-tips .ls-tipster-panel {
    padding-left: 22px;
    padding-right: 22px;
  }
}

@media (min-width: 769px) {
  .is-finished-match {
    margin-bottom: 7px;
    border-color: #e6ebf2;
    border-radius: 8px;
    background: #fff;
    box-shadow: none;
  }

  .is-finished-match:hover {
    border-color: #d9e0ea;
    box-shadow: 0 5px 14px rgba(15,23,42,0.045);
    transform: none;
  }

  .is-finished-match::before {
    width: 2px;
    background: #c9d2df;
  }

  .is-finished-match .live-match-main {
    grid-template-columns: 64px minmax(0, 1fr) 88px minmax(0, 1fr);
    min-height: 58px;
    padding: 8px 14px;
  }

  .is-finished-match .match-time {
    color: #2f3a4c;
    font-size: 12px;
    font-weight: 800;
  }

  .is-finished-match .team-info {
    gap: 8px;
  }

  .is-finished-match .match-team-logo {
    width: 22px;
    height: 22px;
    flex-basis: 22px;
    box-shadow: 0 0 0 1px #eef2f7;
  }

  .is-finished-match .team-name {
    color: #111827;
    font-size: 13.5px;
    font-weight: 700;
  }

  .is-finished-match .score-text {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 54px;
    height: 26px;
    padding: 0 10px;
    border: 1px solid #e5eaf3;
    border-radius: 999px;
    background: linear-gradient(180deg, #ffffff, #f8fafc);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.9);
    color: #162033;
    font-size: 15px;
    line-height: 1;
  }

  .is-finished-match .status-text {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 4px;
    padding: 0 6px;
    min-height: 15px;
    border-radius: 999px;
    background: #f2f5f9;
    color: #8a94a6;
    font-size: 9px;
    font-weight: 700;
  }
}

/* League sidebar (desktop only) */
.live-scores-container {
  display: flex;
  align-items: flex-start;
  gap: 30px;
}
.league-sidebar {
  width: 238px;
  flex: 0 0 238px;
  position: sticky;
  top: 16px;
  padding: 14px 12px;
  border: 1px solid #e5eaf3;
  border-radius: 14px;
  background:
    linear-gradient(180deg, #ffffff 0%, #fbfcff 56%, #f8fafc 100%);
  box-shadow: 0 14px 34px rgba(15,23,42,0.075);
}
.league-sidebar::before {
  content: "Competitions";
  display: block;
  margin: 2px 9px 12px;
  color: #727d91;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.league-sidebar-link {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 8px 10px;
  position: relative;
  color: #152033;
  text-decoration: none;
  border-radius: 9px;
  font-family: inherit;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 5px;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.league-sidebar-link:hover,
.league-sidebar-link.active-league {
  background: linear-gradient(180deg, #fff, #fff8f8);
  color: #b01818;
  box-shadow: 0 8px 18px rgba(176,24,24,0.09), 0 1px 0 rgba(255,255,255,0.9) inset;
}
.league-sidebar-link:hover {
  transform: translateX(2px);
}
.league-sidebar-link.active-league::before {
  content: "";
  position: absolute;
  left: -12px;
  top: 10px;
  bottom: 10px;
  width: 3px;
  border-radius: 999px;
  background: #b01818;
}
.league-sidebar-link.active-league img {
  filter: drop-shadow(0 0 2px white);
}
.sidebar-icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex: 0 0 28px;
  padding: 3px;
  border-radius: 9px;
  background: #fff;
  box-shadow: inset 0 0 0 1px #e8edf5, 0 4px 10px rgba(15,23,42,0.045);
}

/* Main content column */
.live-score-main {
  overflow-x: auto;
  width: 100%;
  max-width: 100%;
}

.ls-league-events {
  content-visibility: auto;
  contain-intrinsic-size: 320px;
}

/* Mobile league dropdown */
.mobile-league-dropdown {
  display: none;
  position: relative;
  margin-bottom: 16px;
}
.mobile-league-dropdown__label {
  position: absolute;
  z-index: 2;
  top: 8px;
  left: 18px;
  color: #8a94a6;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .09em;
  line-height: 1;
  text-transform: uppercase;
  pointer-events: none;
}
.mobile-league-dropdown__control {
  position: relative;
}
.mobile-league-dropdown__control::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 9px auto 9px 0;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: linear-gradient(180deg, #e30613, #9f1414);
  pointer-events: none;
}
.mobile-league-dropdown__control::after {
  content: "";
  position: absolute;
  z-index: 2;
  top: 50%;
  right: 18px;
  width: 7px;
  height: 7px;
  border-right: 2px solid #667085;
  border-bottom: 2px solid #667085;
  transform: translateY(-68%) rotate(45deg);
  pointer-events: none;
}
.mobile-league-dropdown select {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  height: 58px;
  padding: 21px 46px 6px 18px;
  border: 1px solid #dfe5ee;
  border-radius: 12px;
  background: linear-gradient(135deg, #fff 0%, #fbfcfe 72%, #fff5f6 100%);
  color: #111827;
  box-shadow: 0 6px 18px rgba(15,23,42,.055);
  font: inherit;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.15;
  cursor: pointer;
}

/* Day buttons */
.day-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 34px;
  padding: 6px;
  background: linear-gradient(180deg, #fff, #f8fafc);
  border: 1px solid #e5eaf3;
  border-radius: 10px;
  box-shadow: 0 8px 22px rgba(15,23,42,0.045);
}
.day-button {
  display: inline-block;
  padding: 10px 18px;
  text-decoration: none;
  background: transparent;
  border-radius: 8px;
  color: #4a5568;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  transition: background .15s, color .15s, box-shadow .15s;
}
.day-button:hover {
  background: #fff;
  color: #162033;
  box-shadow: inset 0 0 0 1px #edf0f5;
}
.day-button.is-active {
  background: linear-gradient(180deg, #c21b1b, #9f1414);
  color: #fff;
  box-shadow: 0 6px 14px rgba(176,24,24,0.24);
}

/* The LiveScore-style date switcher is a phone-only replacement for the
   all-competitions tab rail. Competition pages keep their full tab strip. */
.ls-mobile-date-nav {
  display: none;
}

/* The all-competition Fixtures view is intentionally one date at a time.
   Keep its calendar discoverable on desktop as well as mobile. */
@media (min-width: 769px) {
  .ls-mobile-date-nav--fixtures {
    display: grid;
    grid-template-columns: 38px minmax(150px, 1fr) 38px;
    align-items: center;
    gap: 4px;
    max-width: 380px;
    min-height: 42px;
    margin: 0 0 14px auto;
    padding: 3px 5px;
    border: 1px solid #eadfe1;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 5px 14px rgba(176,24,24,.07);
  }
  .ls-mobile-date-nav--fixtures a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    color: #182230;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none !important;
  }
  .ls-mobile-date-nav--fixtures .ls-mobile-date-nav__arrow {
    color: #b01818;
    font-size: 25px;
    font-weight: 400;
  }
}

.ls-extra-match[hidden] {
  display: none !important;
}

.ls-load-more {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 40px;
  margin: 12px 0 4px;
  border: 1px solid #ead3d3;
  border-radius: 8px;
  background: #fff8f8;
  color: #b01818;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: background .15s, border-color .15s;
}
.ls-load-more:hover {
  background: #b01818;
  border-color: #b01818;
  color: #fff;
}
.ls-load-more span {
  margin-left: 5px;
  color: #8d96aa;
  font-weight: 700;
}
.ls-load-more:hover span {
  color: rgba(255,255,255,.82);
}

.ls-empty-state {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px;
  border: 1px solid #edf0f5;
  border-radius: 8px;
  background: #fbfcff;
  color: #111827;
}
.ls-empty-state strong {
  font-size: 14px;
}
.ls-empty-state a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 6px;
  background: #b01818;
  color: #fff !important;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

/* League header */
.league-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 30px;
  background: linear-gradient(90deg, #fff 0%, #f7f9fc 58%, #fff4f4 100%);
  padding: 10px 14px;
  border: 1px solid #e7ebf2;
  border-radius: 9px 9px 4px 4px;
  box-shadow: 0 8px 20px rgba(15,23,42,0.045);
}
.league-heading-main {
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  min-width: 0;
  color: inherit;
  text-decoration: none !important;
}
.league-logo {
  width: 30px;
  height: 30px;
  margin-right: 11px;
  object-fit: contain;
  padding: 3px;
  border-radius: 9px;
  background: #fff;
  box-shadow: inset 0 0 0 1px #e8edf5;
}
.league-name {
  color: #08111f;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.1;
  margin: 0;
}
.league-heading-chevron {
  display: none;
}

/* Mobile all-fixtures date-first layout (assembled by live-scores-nav.js). */
.ls-mobile-date-groups,
.ls-mobile-date-group {
  display: none;
}
@media (min-width: 769px) {
  /* The league-heading navigation is a mobile UX change. Desktop keeps the
     existing non-interactive presentation exactly as it was. */
  .ls-league-filter-link {
    pointer-events: none;
    cursor: default;
  }
}
.ls-worldcup-hub-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 7px 12px;
  border: 1px solid #efc5c5;
  border-radius: 999px;
  background: #fff;
  color: #b01818 !important;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  text-decoration: none !important;
  white-space: nowrap;
}
.ls-worldcup-hub-link:hover {
  border-color: #b01818;
  background: #fff5f5;
  color: #8f1111 !important;
}

/* Standings table */
.modern-standings {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 6px;
  font-size: 14px;
  margin-bottom: 18px;
}
.standings-group-title {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin: 14px 0 6px;
  padding: 6px 12px;
  border-left: 3px solid #b01818;
  border-radius: 0 8px 8px 0;
  background: linear-gradient(90deg, #fff4f4, rgba(255,255,255,0));
  color: #111827;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.15;
}
.standings-group-title:first-of-type {
  margin-top: 8px;
}
.modern-standings thead th {
  text-align: center;
  padding: 9px 10px;
  font-weight: 800;
  background: #f4f6f9;
  border-bottom: 1px solid #dfe4ec;
  color: #1f2937;
  font-size: 11px;
  text-transform: uppercase;
}
.table-scroll-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  display: block;
  width: 100%;
  max-width: 100%;
}
.modern-standings tbody tr {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(15,23,42,0.035);
}
.modern-standings tbody tr:hover {
  background: #fff8f8;
}
.modern-standings td {
  padding: 9px 12px;
  text-align: center;
  border-bottom: 1px solid #edf0f5;
  vertical-align: middle;
}
.modern-standings td:first-child {
  text-align: left;
}
.team-cell {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}
.team-logo {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

/* Optional dropdown filters */
.live-score-filters {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}
.live-score-filters label {
  font-weight: bold;
  margin-right: 5px;
}
.live-score-filters select {
  padding: 8px 12px;
  font-size: 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background-color: #fff;
  color: #333;
  box-shadow: 0 1px 2px rgba(0,0,0,0.1);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath fill='%23333' d='M0 0l5 6 5-6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 10px;
  cursor: pointer;
}

/* Tabs (legacy/fallback) */
.league-tabs {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 15px;
  gap: 10px;
}
.league-tab {
  padding: 8px 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background: #f7f7f7;
  text-decoration: none;
  color: #333;
  transition: background 0.3s ease;
}
.league-tab:hover { background: #e9e9e9; }
.league-tab.active {
  background: #b01818;
  color: #fff;
  font-weight: bold;
  border-color: #b01818;
}

/* Mobile overrides */
@media (max-width: 768px) {
  .league-sidebar { display: none !important; }
  .mobile-league-dropdown { display: block; }

  .live-score-page {
    padding: 12px 8px max(84px, env(safe-area-inset-bottom));
  }

  .ls-mobile-date-nav {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr) 36px;
    align-items: center;
    gap: 4px;
    min-height: 44px;
    width: 100%;
    margin: -2px 0 16px;
    padding: 4px;
    border: 1px solid #f0dcdc;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 5px 14px rgba(176,24,24,.08);
  }

  .ls-mobile-date-nav--fixtures {
    margin-bottom: 14px;
    background: linear-gradient(90deg, #fff 0%, #fff7f7 100%);
  }

  .ls-mobile-date-nav--fixtures .ls-mobile-date-nav__date {
    padding: 0 12px;
    font-size: 13px;
    letter-spacing: -.01em;
  }

  /* On the all-leagues feed the compact date switcher replaces the long tab
     strip. The strip remains visible after an AJAX jump into a competition. */
  .ls-mobile-date-nav + .day-buttons {
    display: none;
  }

  .ls-mobile-date-nav a {
    text-decoration: none !important;
    -webkit-tap-highlight-color: transparent;
  }

  .ls-mobile-date-nav__arrow,
  .ls-mobile-date-nav__date {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    color: #182230;
  }

  .ls-mobile-date-nav__arrow {
    width: 36px;
    border-radius: 50%;
    color: #b01818;
    font-family: Arial, sans-serif;
    font-size: 27px;
    font-weight: 300;
    line-height: 1;
  }

  .ls-mobile-date-nav__arrow:active {
    background: #fff1f2;
  }

  .ls-mobile-date-nav__arrow.is-disabled {
    opacity: .24;
  }

  .ls-mobile-date-nav__date {
    position: relative;
    justify-self: center;
    min-width: 116px;
    padding: 0 20px;
    border-radius: 0;
    font-size: 13px;
    font-weight: 850;
    letter-spacing: -.01em;
    white-space: nowrap;
  }

  .ls-mobile-date-nav__date.is-active {
    background: transparent;
    color: #101828;
    box-shadow: none;
  }

  .ls-mobile-date-nav__date.is-active::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 2px;
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background: #b01818;
    transform: translateX(-50%);
  }

  .day-buttons {
    position: relative;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 22px;
    margin: 8px 0 16px;
    padding: 0 34px 0 0;
    background: transparent;
    border: 0;
    border-bottom: 0;
    border-radius: 0;
    box-shadow: inset 0 -1px 0 #d9dee8;
    scrollbar-width: none;
  }
  .day-buttons::-webkit-scrollbar {
    display: none;
  }
  .day-buttons::after {
    content: none;
  }
  .day-button {
    flex: 0 0 auto;
    white-space: nowrap;
    padding: 10px 0 9px;
    border-radius: 0;
    background: transparent !important;
    color: #475569;
    font-size: 13px;
    font-weight: 700;
    border-bottom: 2px solid transparent;
    box-shadow: none !important;
  }
  .day-button:hover {
    background: transparent !important;
    color: #111827;
    box-shadow: none !important;
  }
  .day-button.is-active {
    background: transparent !important;
    color: #111827;
    border-bottom-color: #b01818;
    box-shadow: none !important;
  }

  .league-header {
    align-items: flex-start;
    gap: 10px;
    width: 100%;
    box-sizing: border-box;
    margin-top: 18px !important;
    margin-bottom: 0;
    border-radius: 10px 10px 0 0;
    padding: 9px 11px;
  }

  .ls-mobile-date-groups,
  .ls-mobile-date-group {
    display: block;
  }

  .ls-mobile-date-group {
    margin-top: 16px;
  }

  .ls-mobile-date-group__heading {
    margin: 0;
    padding: 9px 12px;
    border: 1px solid #e7ebf2;
    border-radius: 10px;
    background: #f7f9fc;
    color: #526176;
    font-size: 12px;
    font-weight: 850;
    letter-spacing: .05em;
    line-height: 1.2;
    text-transform: uppercase;
  }

  .ls-mobile-date-league {
    margin-top: 12px;
  }

  .ls-mobile-date-league__heading {
    display: flex;
    align-items: center;
    min-height: 42px;
    width: 100%;
    box-sizing: border-box;
    padding: 8px 11px;
    border: 1px solid #e7ebf2;
    border-radius: 10px 10px 0 0;
    background: linear-gradient(90deg, #fff 0%, #f7f9fc 58%, #fff4f4 100%);
    color: inherit;
    text-decoration: none !important;
  }

  .ls-mobile-date-league__heading .league-name {
    font-size: 18px;
  }

  .ls-mobile-date-league__heading .league-heading-chevron {
    display: inline-flex;
  }

  .ls-mobile-date-league > .ls-league-events {
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    border: 1px solid #e7ebf2;
    border-top: 0;
    border-radius: 0 0 10px 10px;
    background: #fff;
  }

  .league-header + .ls-league-events {
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    border: 1px solid #e7ebf2;
    border-top: 0;
    border-radius: 0 0 10px 10px;
    background: #fff;
  }

  .league-header + .ls-league-events > .live-match-row-v2 {
    width: 100%;
    box-sizing: border-box;
  }

  .league-header + .ls-league-events > .live-match-row-v2:last-of-type {
    border-bottom: 0;
  }

  .league-heading-main {
    min-height: 38px;
  }

  .league-heading-chevron {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 32px;
    margin-left: auto;
    color: #667085;
    font-family: Arial, sans-serif;
    font-size: 28px;
    font-weight: 300;
    line-height: 1;
  }

  .league-heading-main:active .league-name,
  .league-heading-main:active .league-heading-chevron {
    color: #b01818;
  }

  .league-header img,
  .league-logo {
    width: 26px;
    height: 26px;
    margin-right: 8px;
  }

  .league-header h3,
  .league-name {
    font-size: 18px;
    font-weight: 800;
  }

  .ls-worldcup-hub-link {
    min-height: 28px;
    padding: 6px 9px;
    font-size: 11px;
  }

  .live-match-row-v2 {
    grid-template-columns: minmax(0, 1fr) 62px;
    position: static;
    padding: 0;
    margin-bottom: 0;
    border: 0;
    border-bottom: 1px solid #edf0f5;
    border-radius: 0;
    background: #fff;
    box-shadow: none;
  }
  .live-match-row-v2::before {
    content: none;
  }
  .live-match-row-v2:hover {
    background: #fbfcff;
    box-shadow: none;
  }
  .live-match-row-v2.is-live-match {
    background: #fff8f9;
    box-shadow: inset 3px 0 0 #d50102;
  }
  .live-match-main {
    display: grid;
    position: relative;
    grid-template-columns: 58px minmax(0, 1fr) 36px;
    grid-template-rows: auto auto;
    column-gap: 8px;
    row-gap: 4px;
    min-height: 74px;
    padding: 10px 4px 10px 10px;
    align-items: center;
  }
  .team-info {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 5px;
    max-width: none;
    min-width: 0;
    margin: 0;
  }
  .live-match-main .team-info:nth-of-type(2) {
    grid-column: 2;
    grid-row: 1;
    justify-content: flex-start;
  }
  .live-match-main .team-info:nth-of-type(4) {
    grid-column: 2;
    grid-row: 2;
    justify-content: flex-start;
    text-align: left;
  }
  .match-status {
    grid-column: 3;
    grid-row: 1 / span 2;
    position: static;
    width: auto;
    transform: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0;
    gap: 4px;
  }
  .match-actions {
    grid-column: 2;
    grid-row: 1 / span 2;
    position: static;
    top: auto;
    left: auto;
    width: auto;
    align-self: center;
    justify-self: center;
    padding: 0 6px 0 0;
    transform: none;
    gap: 3px;
    pointer-events: auto;
  }
  .live-match-row-v2.has-open-tips {
    grid-template-columns: minmax(0, 1fr);
  }
  .live-match-row-v2.has-open-tips .live-match-main {
    padding-right: 66px;
  }
  .live-match-row-v2.has-open-tips .match-actions {
    position: absolute;
    top: 8px;
    right: 8px;
    left: auto;
    width: 54px;
    padding: 0;
    transform: none;
  }
  .live-match-row-v2.has-open-tips .ls-tipster-panel {
    grid-column: 1;
    grid-template-columns: minmax(0, 1fr);
    width: auto;
    min-width: 0;
    margin: 0 8px 10px;
    padding: 10px;
    border-radius: 12px;
  }
  .is-live-match,
  .is-finished-match {
    grid-template-columns: minmax(0, 1fr);
  }
  .is-scheduled-match .match-status {
    display: none;
  }
  .is-finished-match .ls-betnow {
    display: none;
  }
  .score-text {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 2px;
    color: #334155;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
  }
  .is-live-match .score-text {
    color: #162033;
    font-size: 14px;
    font-weight: 800;
  }
  .score-sep {
    display: inline;
  }
  .status-text {
    display: none;
  }
  .status-text.live {
    display: none;
  }
  .is-scheduled-match .score-text,
  .is-scheduled-match .status-text {
    display: none;
  }
  .team-name {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0;
    text-align: inherit;
    white-space: normal;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }
  .match-team-logo {
    width: 20px;
    height: 20px;
    margin: 0;
    flex: 0 0 18px;
  }
  .match-time {
    grid-column: 1;
    grid-row: 1 / span 2;
    width: auto;
    text-align: left !important;
    padding-left: 0;
    font-size: 11px;
    line-height: 1.15;
    color: #334155;
  }
  .match-date,
  .match-time-sub {
    display: block;
  }
  .match-time-sub {
    margin-top: 2px;
    color: #111827;
    font-size: 13px;
    font-weight: 800;
  }
  .is-live-match .match-time-sub {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 4px;
    padding: 3px 6px;
    background: #fff0f2;
    border: 1px solid #efc3ca;
    border-radius: 999px;
    color: #b50920;
    font-size: 9px;
    font-weight: 850;
    line-height: 1;
  }
  .is-live-match .match-time-sub::before {
    content: "";
    width: 4px;
    height: 4px;
    background: #d50102;
    border-radius: 50%;
  }
  .ls-betnow {
    width: 44px;
    min-width: 44px;
    height: 26px;
    min-height: 26px;
    padding: 0;
    font-size: 9px;
    margin-top: 0;
    border-radius: 7px;
    line-height: 1;
  }
  .ls-tipster-toggle {
    font-size: 8px;
  }
}
@media (max-width: 768px) {
  .modern-standings { min-width: 720px; }
}

/* Ticker header (grid) + top Bet Now link */
.csh-header{
  display: flex;
  justify-content: space-between;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  column-gap: 6px;
  position: relative;
  padding-right: 2px;
}
.csh-league{ justify-self: start; }
.csh-date{ justify-self: center; font-weight: normal; padding-left: 14px; font-size: 11px; }
.csh-betnow{
  justify-self: end;
  position: static !important;
  background: transparent !important;
  color: #b01818;            
  font-weight: 600;
  font-size: 11px;
  line-height: 1;
  padding: 0;
  border: 0;
  border-radius: 0;
  cursor: pointer;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.csh-betnow:hover{ color: #690c16; text-decoration: underline; }
@media (max-width:768px){
  .csh-date{ font-size:11px; }
  .csh-betnow{ font-size:11px; }
}

/* List view */
.live-match-row-v2 { align-items: stretch; }

/* Stack score + status + button vertically and center them */
.match-status{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

/* Bet Now button (works for <button> or <a>) */
.ls-betnow{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  min-width: 54px;
  height: 26px;
  min-height: 26px;
  padding: 0 10px;
  background: linear-gradient(180deg, #c31b1b, #9f1414);
  color: #fff !important;
  border: 0;
  border-radius: 7px;
  font-weight: 800;
  font-size: 10px;
  cursor: pointer;
  line-height: 1;
  margin-top: 0;
  text-decoration: none;
  box-shadow: 0 7px 14px rgba(176,24,24,0.22);
  appearance: none;
}
.ls-betnow:hover{
  background: linear-gradient(180deg, #af1717, #7f1010);
  box-shadow: 0 8px 18px rgba(127,16,16,0.26);
}
.ls-betnow:focus{ outline:none; box-shadow:0 0 0 2px rgba(125,15,27,.25), 0 7px 14px rgba(176,24,24,0.22); }
.is-live-match .ls-betnow,
.is-finished-match .ls-betnow{ display:none; }

.ls-tipster-toggle{
  all: unset;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: #9a5353;
  font-size: 9px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: color 0.18s ease;
  white-space: nowrap;
  margin-left: 0;
}

.ls-tipster-toggle:hover{
  color: #7f1822 !important;
  text-decoration: underline;
  background: transparent !important;
  box-shadow: none !important;
}

.ls-tipster-toggle.is-open{
  color: #7f1822;
}

.ls-tipster-toggle:focus{
  outline: none;
  background: transparent !important;
  box-shadow: none !important;
}

.ls-tipster-toggle--solo{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-top: 0;
  min-width: 54px;
  padding: 0;
  background: transparent;
  box-shadow: none;
  color: #9a5353;
  font-size: 9px;
  line-height: 1;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
}

.ls-tipster-toggle--solo::after{
  content: "";
  width: 6px;
  height: 6px;
  display: inline-block;
  margin-left: 3px;
  border-right: 1.3px solid currentColor;
  border-bottom: 1.3px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transform-origin: center;
}

.ls-tipster-toggle--solo:hover{
  color: #7f1822 !important;
  text-decoration: none;
}

.ls-tipster-toggle--solo.is-open{
  color: #7f1822;
}

.ls-tipster-toggle--solo.is-open::after{
  transform: translateY(1px) rotate(-135deg);
}

.ls-tipster-panel{
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  position: relative;
  z-index: 1;
  flex: 0 0 100%;
  margin: 0;
  padding: 14px;
  border: 1px solid #e2e7ee;
  border-radius: 12px;
  background: #f7f8fa;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8);
}

.ls-tipster-panel-state{
  grid-column: 1 / -1;
  color: #6b7280;
  font-size: 13px;
  font-weight: 600;
}

.ls-tipster-panel-head{
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 2px;
  padding: 0 2px 10px;
  border-bottom: 1px solid #e3e8ef;
  color: #9f1023;
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.ls-tipster-panel-head::before {
  content: "";
  flex: 0 0 3px;
  width: 3px;
  height: 15px;
  background: #d50102;
  border-radius: 999px;
}

.ls-tipster-panel-item{
  min-width: 0;
  padding: 12px;
  background: #fff;
  border: 1px solid #e4e9ef;
  border-radius: 9px;
  box-shadow: 0 1px 3px rgba(16, 24, 40, .035);
}

.ls-tipster-panel-item:first-of-type{
  padding-top: 12px;
  border-top: 1px solid #e4e9ef;
}

/* Pick on the left, how often the pattern held on the right. */
.ls-tipster-panel-row{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 7px;
}

.ls-tipster-panel-pick{
  color: #111827;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.3;
  min-width: 0;
}

.ls-tipster-panel-rate{
  display: flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
}

.ls-tipster-panel-rate-num{
  color: #6b7280;
  font-size: 11px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.ls-tipster-panel-bar{
  display: block;
  width: 46px;
  height: 5px;
  border-radius: 999px;
  background: #eceff4;
  overflow: hidden;
}

.ls-tipster-panel-bar-fill{
  display: block;
  height: 100%;
  border-radius: 999px;
  background: #c8102e;
}

@media (max-width: 480px){
  .ls-tipster-panel-bar{ width: 34px; }
}

.ls-tipster-panel-text{
  color: #4b5563;
  font-size: 12px;
  line-height: 1.45;
}

@media (max-width: 1100px) and (min-width: 769px) {
  .ls-tipster-panel { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
  .live-score-main {
    overflow-x: visible;
  }

  .ls-betnow {
    width: 44px;
    min-width: 44px;
    height: 26px;
    min-height: 26px;
    padding: 0;
    border-radius: 7px;
    font-size: 9px;
    margin-top: 0;
    line-height: 1;
  }

  .ls-tipster-toggle--solo {
    display: inline-flex !important;
    min-width: 50px;
    max-width: 56px;
    margin-top: 2px;
    padding: 0;
    color: #9b4c4c;
    font-size: 8px;
    font-weight: 700;
    line-height: 1;
    overflow: visible;
    white-space: nowrap;
  }

  .ls-tipster-toggle--solo::after {
    width: 5px;
    height: 5px;
    margin-left: 2px;
    border-width: 1.2px;
  }

  .ls-empty-state {
    align-items: center;
    gap: 12px;
    padding: 13px 14px;
    border-radius: 10px;
    background: #f8fafc;
  }

  .ls-empty-state strong {
    font-size: 13px;
    line-height: 1.35;
  }

  .ls-empty-state a {
    flex: 0 0 auto;
    min-height: 32px;
    padding: 0 12px;
    border: 1px solid #e7b8be;
    border-radius: 999px;
    background: transparent;
    color: #b01818 !important;
    font-size: 11px;
    line-height: 1.15;
    text-align: center;
  }
}

/*
 * Dark mode - Live Scores page
 * SmartMag toggles dark mode on the html element.
 */
html.s-dark .live-score-page,
html.site-s-dark .live-score-page {
  background: linear-gradient(180deg, rgba(176,24,24,0.12), rgba(15,23,42,0.16) 220px, transparent 520px);
  border-color: rgba(255,255,255,.08);
}

html.s-dark .live-scores-title,
html.site-s-dark .live-scores-title {
  color: #e5e7eb;
}

html.s-dark .league-sidebar,
html.site-s-dark .league-sidebar,
html.s-dark .day-buttons,
html.site-s-dark .day-buttons,
html.s-dark .league-header,
html.site-s-dark .league-header,
html.s-dark .ls-empty-state,
html.site-s-dark .ls-empty-state,
html.s-dark .live-match-row-v2,
html.site-s-dark .live-match-row-v2 {
  background: #11161f;
  border-color: rgba(255,255,255,.1);
  box-shadow: 0 14px 34px rgba(0,0,0,.24);
}

html.s-dark .league-sidebar::before,
html.site-s-dark .league-sidebar::before,
html.s-dark .status-text,
html.site-s-dark .status-text,
html.s-dark .match-center-vs,
html.site-s-dark .match-center-vs,
html.s-dark .ls-tipster-panel-state,
html.site-s-dark .ls-tipster-panel-state {
  color: #9aa3b2;
}

html.s-dark .league-sidebar-link,
html.site-s-dark .league-sidebar-link,
html.s-dark .day-button,
html.site-s-dark .day-button,
html.s-dark .match-time,
html.site-s-dark .match-time,
html.s-dark .team-name,
html.site-s-dark .team-name,
html.s-dark .score-text,
html.site-s-dark .score-text,
html.s-dark .match-center-time,
html.site-s-dark .match-center-time,
html.s-dark .league-name,
html.site-s-dark .league-name,
html.s-dark .ls-empty-state,
html.site-s-dark .ls-empty-state,
html.s-dark .standings-group-title,
html.site-s-dark .standings-group-title,
html.s-dark .team-cell,
html.site-s-dark .team-cell,
html.s-dark .modern-standings td,
html.site-s-dark .modern-standings td,
html.s-dark .ls-tipster-panel-pick,
html.site-s-dark .ls-tipster-panel-pick {
  color: #e5e7eb;
}

html.s-dark .league-sidebar-link:hover,
html.site-s-dark .league-sidebar-link:hover,
html.s-dark .league-sidebar-link.active-league,
html.site-s-dark .league-sidebar-link.active-league {
  background: rgba(176,24,24,.16);
  color: #ff9a9a;
  box-shadow: inset 0 0 0 1px rgba(176,24,24,.28);
}

html.s-dark .sidebar-icon,
html.site-s-dark .sidebar-icon,
html.s-dark .league-logo,
html.site-s-dark .league-logo,
html.s-dark .match-team-logo,
html.site-s-dark .match-team-logo {
  background: #f8fafc;
  box-shadow: 0 0 0 1px rgba(255,255,255,.18);
}

html.s-dark .day-button:hover,
html.site-s-dark .day-button:hover {
  background: rgba(255,255,255,.06);
  color: #e5e7eb;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.1);
}

html.s-dark .day-button.is-active,
html.site-s-dark .day-button.is-active {
  background: linear-gradient(180deg, #c21b1b, #9f1414);
  color: #fff;
  box-shadow: 0 6px 14px rgba(176,24,24,.28);
}

html.s-dark .live-match-row-v2:hover,
html.site-s-dark .live-match-row-v2:hover,
html.s-dark .is-finished-match:hover,
html.site-s-dark .is-finished-match:hover {
  background: #161c27;
  border-color: rgba(255,255,255,.16);
  box-shadow: 0 12px 26px rgba(0,0,0,.28);
}

html.s-dark .is-finished-match,
html.site-s-dark .is-finished-match {
  background: #11161f;
  border-color: rgba(255,255,255,.1);
}

html.s-dark .is-finished-match .match-time,
html.site-s-dark .is-finished-match .match-time,
html.s-dark .is-finished-match .team-name,
html.site-s-dark .is-finished-match .team-name,
html.s-dark .is-finished-match .score-text,
html.site-s-dark .is-finished-match .score-text {
  color: #e5e7eb;
}

html.s-dark .is-finished-match .status-text,
html.site-s-dark .is-finished-match .status-text {
  background: rgba(255,255,255,.06);
  color: #9aa3b2;
}

html.s-dark .mobile-league-dropdown select,
html.site-s-dark .mobile-league-dropdown select,
body.s-dark .mobile-league-dropdown select,
body.site-s-dark .mobile-league-dropdown select {
  background: #11161f;
  border-color: rgba(255,255,255,.14);
  color: #e5e7eb;
  box-shadow: 0 8px 20px rgba(0,0,0,.18);
}

html.s-dark .mobile-league-dropdown__label,
html.site-s-dark .mobile-league-dropdown__label,
body.s-dark .mobile-league-dropdown__label,
body.site-s-dark .mobile-league-dropdown__label {
  color: #8f9aad;
}

html.s-dark .mobile-league-dropdown__control::after,
html.site-s-dark .mobile-league-dropdown__control::after,
body.s-dark .mobile-league-dropdown__control::after,
body.site-s-dark .mobile-league-dropdown__control::after {
  border-color: #aab2bf;
}

html.s-dark .league-header + .ls-league-events,
html.site-s-dark .league-header + .ls-league-events,
body.s-dark .league-header + .ls-league-events,
body.site-s-dark .league-header + .ls-league-events {
  background: #11161f;
  border-color: rgba(255,255,255,.10);
}

html.s-dark .league-header,
html.site-s-dark .league-header,
body.s-dark .league-header,
body.site-s-dark .league-header {
  background: linear-gradient(90deg, #11161f 0%, #131a25 58%, rgba(176,24,24,.16) 100%);
}

html.s-dark .ls-mobile-date-group__heading,
html.site-s-dark .ls-mobile-date-group__heading,
body.s-dark .ls-mobile-date-group__heading,
body.site-s-dark .ls-mobile-date-group__heading {
  background: #182331;
  border-color: rgba(255,255,255,.1);
  color: #aab2bf;
}

html.s-dark .ls-mobile-date-league__heading,
html.site-s-dark .ls-mobile-date-league__heading,
body.s-dark .ls-mobile-date-league__heading,
body.site-s-dark .ls-mobile-date-league__heading {
  background: linear-gradient(90deg, #11161f 0%, #131a25 58%, rgba(176,24,24,.16) 100%);
  border-color: rgba(255,255,255,.1);
}

html.s-dark .ls-mobile-date-league > .ls-league-events,
html.site-s-dark .ls-mobile-date-league > .ls-league-events,
body.s-dark .ls-mobile-date-league > .ls-league-events,
body.site-s-dark .ls-mobile-date-league > .ls-league-events {
  background: #11161f;
  border-color: rgba(255,255,255,.1);
}

html.s-dark .ls-worldcup-hub-link,
html.site-s-dark .ls-worldcup-hub-link,
html.s-dark .ls-load-more,
html.site-s-dark .ls-load-more {
  background: rgba(176,24,24,.14);
  border-color: rgba(176,24,24,.35);
  color: #ff9a9a !important;
}

html.s-dark .ls-worldcup-hub-link:hover,
html.site-s-dark .ls-worldcup-hub-link:hover,
html.s-dark .ls-load-more:hover,
html.site-s-dark .ls-load-more:hover {
  background: #b01818;
  border-color: #b01818;
  color: #fff !important;
}

html.s-dark .standings-group-title,
html.site-s-dark .standings-group-title {
  background: linear-gradient(90deg, rgba(176,24,24,.22), rgba(255,255,255,0));
}

html.s-dark .modern-standings thead th,
html.site-s-dark .modern-standings thead th {
  background: #11161f;
  border-bottom-color: rgba(255,255,255,.1);
  color: #cbd2dc;
}

html.s-dark .modern-standings tbody tr,
html.site-s-dark .modern-standings tbody tr {
  background: #0b1018;
  box-shadow: 0 1px 0 rgba(255,255,255,.06);
}

html.s-dark .modern-standings tbody tr:hover,
html.site-s-dark .modern-standings tbody tr:hover {
  background: rgba(176,24,24,.14);
}

html.s-dark .modern-standings td,
html.site-s-dark .modern-standings td {
  border-bottom-color: rgba(255,255,255,.08);
}

html.s-dark .ls-tipster-panel,
html.site-s-dark .ls-tipster-panel {
  background: #0b1018;
  border-color: rgba(255,255,255,.1);
}

html.s-dark .ls-tipster-panel-item,
html.site-s-dark .ls-tipster-panel-item {
  background: #121923;
  border-color: rgba(255,255,255,.09);
  box-shadow: none;
}

html.s-dark .ls-tipster-panel-bar,
html.site-s-dark .ls-tipster-panel-bar {
  background: rgba(255,255,255,.14);
}

html.s-dark .ls-tipster-panel-bar-fill,
html.site-s-dark .ls-tipster-panel-bar-fill {
  background: #ff6b6b;
}

html.s-dark .ls-tipster-panel-rate-num,
html.site-s-dark .ls-tipster-panel-rate-num {
  color: #9aa4b2;
}

html.s-dark .ls-tipster-panel-head,
html.site-s-dark .ls-tipster-panel-head,
html.s-dark .ls-tipster-toggle,
html.site-s-dark .ls-tipster-toggle,
html.s-dark .ls-tipster-toggle--solo,
html.site-s-dark .ls-tipster-toggle--solo {
  color: #ff9a9a;
}

html.s-dark .ls-tipster-panel-text,
html.site-s-dark .ls-tipster-panel-text {
  color: rgba(229,231,235,.78);
}

html.s-dark .status-text.live,
html.site-s-dark .status-text.live,
html.s-dark .is-live-match .match-time-sub,
html.site-s-dark .is-live-match .match-time-sub {
  background: rgba(213, 1, 2, .18);
  border-color: rgba(255, 107, 107, .32);
  color: #ff9aa8;
}

html.s-dark .live-match-row-v2.is-live-match,
html.site-s-dark .live-match-row-v2.is-live-match {
  background: linear-gradient(90deg, rgba(213, 1, 2, .16), #11161f 38%);
  border-color: rgba(255, 107, 107, .3);
}


/* ---------------------------------------------------------------- *
 *  Today's World Cup strip (top of the list, All / World Cup views)
 * ---------------------------------------------------------------- */
.ls-today-strip {
  margin: 0 0 16px;
  padding: 12px 14px 14px;
  border-radius: 14px;
  background: linear-gradient(135deg, #fff5f5, #fff 70%);
  border: 1px solid #f0d8d8;
}
.ls-today-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}
.ls-today-title {
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #b01818;
}
.ls-today-title::before { content: "\1F3C6\00a0"; }
.ls-today-hub {
  font-size: 11px;
  font-weight: 800;
  color: #b01818;
  text-decoration: none;
  white-space: nowrap;
}
.ls-today-hub:hover { text-decoration: underline; color: #8f1010; }
.ls-today-cards {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  padding-bottom: 2px;
}
.ls-today-card {
  flex: 0 0 auto;
  min-width: 132px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 9px 12px;
  border-radius: 11px;
  background: #fff;
  border: 1px solid #eadfdf;
  text-decoration: none;
  transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.ls-today-card:hover { border-color: #d8b0b0; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(176,24,24,.1); text-decoration: none; }
.ls-today-card .lst-team {
  font-size: 11px;
  font-weight: 700;
  color: #1a1a2e;
  line-height: 1.2;
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ls-today-card .lst-mid {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.ls-today-card .lst-score {
  font-size: 13px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  color: #b01818;
}
.ls-today-card .lst-badge {
  font-size: 9px;
  font-weight: 900;
  padding: 2px 6px;
  border-radius: 999px;
  background: #f1f3f7;
  color: #6f788b;
  letter-spacing: .04em;
}
.ls-today-card.is-live { border-color: #e09c9c; }
.ls-today-card.is-live .lst-badge { background: #b01818; color: #fff; }
.ls-today-card.is-fin .lst-score { color: #1a1a2e; }

html.s-dark .ls-today-strip, html.site-s-dark .ls-today-strip { background: linear-gradient(135deg, #140a0a, #0b1018 70%); border-color: rgba(255,255,255,.1); }
html.s-dark .ls-today-card, html.site-s-dark .ls-today-card { background: #11161f; border-color: rgba(255,255,255,.1); }
html.s-dark .ls-today-card .lst-team, html.site-s-dark .ls-today-card .lst-team { color: #e5e7eb; }
html.s-dark .ls-today-card .lst-score, html.site-s-dark .ls-today-card .lst-score { color: #ff9a9a; }
html.s-dark .ls-today-card.is-fin .lst-score, html.site-s-dark .ls-today-card.is-fin .lst-score { color: #e5e7eb; }
html.s-dark .ls-today-card .lst-badge, html.site-s-dark .ls-today-card .lst-badge { background: rgba(255,255,255,.08); color: #9aa3b2; }
html.s-dark .ls-today-card.is-live .lst-badge, html.site-s-dark .ls-today-card.is-live .lst-badge { background: #b01818; color: #fff; }

/* ===========================================================================
   League header, Summary / News / Tips views, and a tidier tips toggle.
   Added with the Flashscore-style tab set.
   ======================================================================== */

/* ---- League header ---------------------------------------------------- */

.ls-league-head {
  position: relative;
  margin: 0 0 14px;
  padding: 18px 20px 19px;
  overflow: hidden;
  background: linear-gradient(135deg, #fff 0%, #fff 70%, #fff5f6 100%);
  border: 1px solid #e3e8ef;
  border-radius: 14px;
  box-shadow: 0 5px 18px rgba(16, 24, 40, .06);
}

.ls-league-head::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: #d50102;
}

.ls-league-head__crumbs {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 14px;
  color: #667085;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.ls-league-head__crumbs .ls-crumb-sep { color: #c3cad6; }
.ls-all-leagues-link { display: none; }

.ls-league-head__body {
  display: flex;
  align-items: center;
  gap: 18px;
}

.ls-league-head__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 72px;
  height: 72px;
  padding: 10px;
  background: #fff;
  border: 1px solid #e4e9f0;
  border-radius: 14px;
  box-shadow: 0 3px 10px rgba(16, 24, 40, .07);
}

.ls-league-head__badge img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.ls-league-head__text { min-width: 0; flex: 1 1 auto; }

.ls-league-head__title {
  margin: 0;
  color: #0f172a;
  font-size: 29px;
  font-weight: 850;
  line-height: 1.08;
  letter-spacing: -.025em;
}

.ls-league-head__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin-top: 10px;
}

.ls-league-head__season {
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  padding: 4px 10px;
  background: #fff0f2;
  border: 1px solid #f3c7ce;
  border-radius: 999px;
  color: #b50920;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .02em;
}

.ls-league-head__dates,
.ls-league-head__context { color: #667085; font-size: 12px; font-weight: 650; }

@media (max-width: 640px) {
  .ls-league-head { padding: 14px 14px 15px 16px; border-radius: 12px; }
  .ls-league-head__crumbs { margin-bottom: 11px; font-size: 9px; }
  .ls-league-head__crumbs .ls-crumb--desktop { display: none; }
  .ls-league-head__crumbs .ls-all-leagues-link {
    display: inline-flex;
    align-items: center;
    color: #b01818;
    text-decoration: none;
  }
  .ls-league-head__crumbs .ls-all-leagues-link::before {
    content: "\2039";
    margin-right: 5px;
    font-size: 16px;
    line-height: .7;
  }
  .ls-league-head__body { align-items: flex-start; gap: 12px; }
  .ls-league-head__badge { width: 56px; height: 56px; padding: 7px; border-radius: 11px; }
  .ls-league-head__title { margin-top: 1px; font-size: 22px; }
  .ls-league-head__meta { gap: 7px; margin-top: 8px; }
  .ls-league-head__season { min-height: 24px; padding: 3px 8px; font-size: 11px; }
  .ls-league-head__dates,
  .ls-league-head__context { flex-basis: 100%; font-size: 11px; line-height: 1.25; }
}

/* ---- Summary ----------------------------------------------------------
   The hub's match-card rhythm: teams stacked together, a compact state tile
   on the right, and one clear tap target. This shape survives narrow phones
   without pushing either club into a disappearing grid column.
   ------------------------------------------------------------------------ */

.ls-summary { display: grid; gap: 22px; }

.ls-sum-block {
  background: #f7f8fa;
  border: 1px solid #e3e8ef;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(16, 24, 40, .05);
}

.ls-sum-head {
  padding: 16px 18px 14px;
  background: #fff;
  border-bottom: 1px solid #e8edf3;
}

.ls-sum-head h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: #0f172a;
  font-size: 18px;
  font-weight: 850;
  letter-spacing: .01em;
  line-height: 1.2;
  text-transform: uppercase;
}

.ls-sum-head h2::before {
  content: "";
  flex: 0 0 4px;
  width: 4px;
  height: 21px;
  border-radius: 999px;
  background: #d50102;
}

/* The date that heads each group. It was 9px grey and slid past the eye; it
   now reads as a heading: darker, larger, a brand mark before it and a rule
   running out after it to the edge of the list. */
.ls-sum-day {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 4px 2px;
  color: #1f2937;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.ls-sum-day::before {
  content: "";
  flex: 0 0 4px;
  width: 4px;
  height: 14px;
  border-radius: 2px;
  background: #d50102;
}
.ls-sum-day::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: linear-gradient(90deg, #e3e7ee, rgba(227,231,238,0));
}

.ls-sum-list { display: grid; gap: 8px; padding: 10px; }

.ls-sum-row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 96px 14px;
  align-items: center;
  gap: 14px;
  min-height: 78px;
  padding: 11px 13px 11px 15px;
  background: #fff;
  border: 1px solid #e4e9ef;
  border-radius: 10px;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 1px 3px rgba(16, 24, 40, .04);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.ls-sum-row:hover,
.ls-sum-row:focus-visible {
  border-color: #e3aab3;
  box-shadow: 0 5px 13px rgba(16, 24, 40, .07);
  transform: translateY(-1px);
}

/* The left marker. A straight bar with square ends: as an inset shadow it took
   the card's 10px corner and curved away from the edge. */
.ls-sum-row.is-live::before,
.ls-sum-row:hover::before,
.ls-sum-row:focus-visible::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 3px;
  border-radius: 0;
  background: #e2747c;
}

/* Square where the bar sits, so the two edges meet flush. The other three
   corners keep the card's radius. */
.ls-sum-row.is-live,
.ls-sum-row:hover,
.ls-sum-row:focus-visible {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.ls-sum-teams {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.ls-sum-team {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.ls-sum-team b {
  min-width: 0;
  color: #111827;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.ls-sum-row:hover .ls-sum-team b { color: #d50102; }

.ls-sum-card-link {
  position: absolute;
  z-index: 1;
  inset: 0;
  border-radius: inherit;
}

.ls-sum-card-link:focus-visible {
  outline: 2px solid #d50102;
  outline-offset: 2px;
}

.ls-sum-teams,
.ls-sum-actions,
.ls-sum-arrow { pointer-events: none; }

.ls-sum-actions {
  display: grid;
  justify-items: stretch;
  gap: 4px;
}

.ls-sum-crest { width: 24px; height: 24px; object-fit: contain; }
.ls-sum-team .team-logo--placeholder { width: 24px; height: 24px; }

.ls-sum-state {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 5px;
  min-height: 46px;
  padding: 6px;
  /* It was near-white on white with a grey hairline and faded into the card.
     A light brand tint and a firmer time give it presence without competing
     with the red of a live match. */
  background: linear-gradient(180deg, #ffffff 0%, #fff4f6 100%);
  border: 1px solid #f1cdd3;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(200, 16, 46, .06);
  color: #0f172a;
  font-style: normal;
  text-align: center;
}

.ls-sum-state small {
  color: #c8102e;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .08em;
  line-height: 1;
  text-transform: uppercase;
}

.ls-sum-state strong {
  color: #0f172a;
  font-size: 16px;
  font-weight: 850;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.ls-sum-row.is-live { border-color: #edbbc3; }
.ls-sum-state--live { background: #d50102; border-color: #d50102; color: #fff; }
.ls-sum-state--live small { color: #fff; }
.ls-sum-state--live strong { color: #fff; }
.ls-sum-state--finished { background: #f1f3f6; border-color: #e4e8ee; box-shadow: none; }
.ls-sum-state--finished small { color: #8a93a3; }

.ls-sum-tips {
  position: relative;
  z-index: 2;
  pointer-events: auto;
  padding: 2px 1px;
  color: #b4232d;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .045em;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}

.ls-sum-tips:hover,
.ls-sum-tips:focus-visible { color: #d50102; text-decoration: underline; }

.ls-sum-arrow { color: #d50102; font-size: 20px; font-weight: 800; line-height: 1; }

.ls-sum-empty { margin: 0; padding: 22px 18px; background: #fff; color: #667085; font-size: 13px; }
.ls-sum-block .ls-news { background: #fff; }

@media (max-width: 520px) {
  .ls-summary { gap: 16px; }
  .ls-sum-block { border-radius: 11px; }
  .ls-sum-head { padding: 13px 13px 12px; }
  .ls-sum-head h2 { gap: 8px; font-size: 15px; }
  .ls-sum-head h2::before { width: 3px; flex-basis: 3px; height: 18px; }
  .ls-sum-list { gap: 7px; padding: 8px; }
  .ls-sum-day { padding: 7px 3px 1px; }
  .ls-sum-row { grid-template-columns: minmax(0, 1fr) 74px; gap: 9px; min-height: 76px; padding: 10px; }
  .ls-sum-team { grid-template-columns: 22px minmax(0, 1fr); gap: 7px; }
  .ls-sum-crest, .ls-sum-team .team-logo--placeholder { width: 22px; height: 22px; }
  .ls-sum-team b { font-size: 12.5px; }
  .ls-sum-state { min-height: 44px; padding: 5px 4px; }
  .ls-sum-state strong { font-size: 14px; }
  .ls-sum-tips { font-size: 8px; }
  .ls-sum-arrow { display: none; }
}

@media (prefers-reduced-motion: reduce) { .ls-sum-row { transition: none; } }

/* ---- News -------------------------------------------------------------
   The same two-column list the hub pages use, a size down: 118px thumbnail
   against their 150, 16px headline against their 20.
   ------------------------------------------------------------------------ */

.ls-news {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 30px;
  padding: 2px 15px 6px;
}

.ls-news__item {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-width: 0;
  padding: 15px 0;
  border-bottom: 1px solid #eef1f6;
}

.ls-news__media {
  display: block;
  width: 118px;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #f2f4f7;
  border-radius: 5px;
}

.ls-news__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .25s ease;
}

.ls-news__item:hover .ls-news__media img { transform: scale(1.035); }

.ls-news__media.is-placeholder { background: linear-gradient(135deg, #f8e7ea, #f3f4f6); }
.ls-news__media.is-placeholder::after {
  content: "CS";
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: rgba(200, 16, 46, .35);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: .08em;
}

.ls-news__body { min-width: 0; }

.ls-news__body h3 {
  margin: 0;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.33;
  letter-spacing: -.015em;
}

.ls-news__body h3 a { color: #111827 !important; text-decoration: none; }
.ls-news__body h3 a:hover { color: #d50102 !important; }

.ls-news__meta { margin-top: 7px; color: #98a2b3; font-size: 10px; }
.ls-news__meta time::before { content: "4"; margin-right: 6px; color: #aeb5bf; }

@media (max-width: 780px) {
  .ls-news { grid-template-columns: minmax(0, 1fr); column-gap: 0; padding: 2px 12px 6px; }
  .ls-news__item { grid-template-columns: 96px minmax(0, 1fr); gap: 12px; padding: 12px 0; }
  .ls-news__media { width: 96px; }
  .ls-news__body h3 { font-size: 14.5px; }
}

@media (prefers-reduced-motion: reduce) { .ls-news__media img { transition: none; } }

/* ---- Tips ------------------------------------------------------------- */

.ls-tips { display: grid; gap: 12px; }

.ls-tips-card {
  padding: 13px 15px;
  background: #fff;
  border: 1px solid #e5eaf3;
  border-radius: 12px;
}

.ls-tips-card__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 9px;
  padding-bottom: 9px;
  border-bottom: 1px solid #f1f4f9;
}

.ls-tips-card__teams {
  color: #0f172a;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}

.ls-tips-card__teams:hover { color: #d50102; }
.ls-tips-card__head time { flex: 0 0 auto; color: #6b7280; font-size: 12px; font-weight: 600; }

/* A tips panel is open on this view, so it must not be hidden by the rule the
   fixture rows use to collapse it. */
.ls-tips-card .ls-tipster-panel { display: grid; }

/* Keep the fixture identity separate from the text-heavy Tipster insights. */
.ls-tips-card { overflow: hidden; padding: 0; }
.ls-tips-card[hidden] { display: none !important; }
.ls-tips-card__head {
  margin: 0;
  padding: 12px 15px;
  background: #f5f7fa;
  border-bottom-color: #e6ebf1;
}
.ls-tips-card__teams {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #0f172a;
  font-size: 15px;
  font-weight: 850;
}
.ls-tips-card__teams::before {
  content: "";
  flex: 0 0 4px;
  width: 4px;
  height: 20px;
  border-radius: 999px;
  background: #d50102;
}
.ls-tips-card__head time {
  padding: 4px 7px;
  background: #fff;
  border: 1px solid #e5eaf1;
  border-radius: 999px;
  color: #667085;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .02em;
  white-space: nowrap;
}
.ls-tips-card > .ls-tipster-panel {
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  margin: 0;
  padding: 10px 14px 5px;
  border: 0;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}
.ls-tips-card .ls-tipster-panel-head {
  margin: 0 -14px 2px;
  padding: 9px 14px;
  background: #fafbfc;
  border-bottom-color: #edf0f4;
  color: #8a94a6;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .08em;
}
.ls-tips-card .ls-tipster-panel-head::before {
  display: none;
}
.ls-tips-card .ls-tipster-panel-item {
  padding: 11px 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #edf0f4;
  border-radius: 0;
  box-shadow: none;
}
.ls-tips-card .ls-tipster-panel-item:first-of-type { padding-top: 11px; border-top: 0; }
.ls-tips-card .ls-tipster-panel-item:last-child { padding-bottom: 5px; border-bottom: 0; }

/* The static Tips view receives the renderer's head/items directly (without
   the AJAX panel wrapper), so give those direct children their own text inset. */
.ls-tips-card > .ls-tipster-panel-head {
  margin-right: 0;
  margin-left: 0;
  padding-right: 14px;
  padding-left: 14px;
}
.ls-tips-card > .ls-tipster-panel-item {
  padding-right: 14px;
  padding-left: 14px;
}
.ls-tips-card > .ls-tipster-panel-item:first-of-type { padding-top: 11px; }
.ls-tips-card > .ls-tipster-panel-item:last-child { padding-bottom: 5px; }
.ls-tips-card .ls-tipster-panel-pick {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 6px;
  background: #e3f6f3;
  color: #087f77;
  font-size: 12px;
  font-weight: 800;
}
.ls-tips-card .ls-tipster-panel-text { margin-top: 7px; color: #344054; }
.ls-tips-more {
  justify-self: center;
  margin: 2px auto 14px;
  padding: 9px 14px;
  background: #fff;
  border: 1px solid #e3aab3;
  border-radius: 999px;
  color: #b4232d;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
  text-transform: none;
  cursor: pointer;
}
.ls-tips-more:hover,
.ls-tips-more:focus-visible { background: #fff5f5; border-color: #d50102; color: #a80f25; }

/* ---- Tidier "View tips" toggle on a fixture row ----------------------- */

/* It used to be bare red text with a floating chevron, sitting loose under the
   BET button and at a different width from it. Same footprint as BET now. */
.match-actions { display: inline-flex; align-items: center; gap: 6px; flex-wrap: nowrap; }

.match-actions .ls-tipster-toggle--solo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: auto;
  min-height: 0;
  margin-top: 0;
  padding: 2px 1px;
  background: transparent;
  border: 0;
  border-radius: 0;
  color: #b4232d;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .045em;
  line-height: 1.25;
  text-transform: uppercase;
  white-space: nowrap;
}

.match-actions .ls-tipster-toggle--solo:hover {
  background: transparent !important;
  border-color: transparent;
  text-decoration: underline;
}

/* The chevron is part of the flow now, not absolutely placed against the text. */
.match-actions .ls-tipster-toggle--solo::after {
  content: "";
  position: static;
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform .18s ease;
}

.match-actions .ls-tipster-toggle--solo[aria-expanded="true"]::after {
  transform: translateY(1px) rotate(-135deg);
}

.match-actions .ls-tipster-toggle--solo[aria-expanded="true"] {
  background: transparent;
  border-color: transparent;
  color: #7f1822;
  box-shadow: none;
}

@media (max-width: 768px) {
  .match-actions {
    justify-self: end;
    padding-right: 6px;
  }

  .match-actions .ls-tipster-toggle--solo {
    box-sizing: border-box;
    width: 56px;
    min-width: 56px;
    max-width: 56px;
    gap: 1px;
    font-size: 9px;
    padding-right: 4px;
    padding-left: 4px;
  }

  .match-actions .ls-tipster-toggle--solo::after {
    flex: 0 0 5px;
    width: 5px;
    height: 5px;
    margin-left: 1px;
  }

  .live-match-row-v2.has-open-tips .match-actions {
    right: 6px;
    width: 56px;
  }
}

/* ---- Tab panel while a tab is loading --------------------------------- */

.live-score-main.is-loading { position: relative; }

.live-score-main.is-loading::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, .55);
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .ls-news__item { transition: none; }
  .match-actions .ls-tipster-toggle--solo::after { transition: none; }
}

/* ---- Dark mode -------------------------------------------------------- */

html.s-dark .ls-league-head, html.site-s-dark .ls-league-head,
html.s-dark .ls-sum-block, html.site-s-dark .ls-sum-block,
html.s-dark .ls-news__item, html.site-s-dark .ls-news__item,
html.s-dark .ls-tips-card, html.site-s-dark .ls-tips-card {
  background: #10151d;
  border-color: rgba(255, 255, 255, .09);
}

html.s-dark .ls-league-head__title, html.site-s-dark .ls-league-head__title,
html.s-dark .ls-sum-head h2, html.site-s-dark .ls-sum-head h2,
html.s-dark .ls-news__title, html.site-s-dark .ls-news__title,
html.s-dark .ls-tips-card__teams, html.site-s-dark .ls-tips-card__teams,
html.s-dark .ls-sum-team b, html.site-s-dark .ls-sum-team b {
  color: #e5e7eb;
}

html.s-dark .ls-league-head__badge, html.site-s-dark .ls-league-head__badge {
  background: #fff;
  border-color: rgba(255, 255, 255, .12);
}

html.s-dark .ls-league-head, html.site-s-dark .ls-league-head { background: linear-gradient(135deg, #10151d, #171018); }
html.s-dark .ls-league-head__season, html.site-s-dark .ls-league-head__season { background: rgba(213,1,2,.16); border-color: rgba(255,107,107,.34); color: #ff9aa8; }
html.s-dark .ls-league-head__dates, html.site-s-dark .ls-league-head__dates,
html.s-dark .ls-league-head__context, html.site-s-dark .ls-league-head__context { color: #aab2bf; }
html.s-dark .ls-sum-list, html.site-s-dark .ls-sum-list { background: #0b1017; }
html.s-dark .ls-sum-row, html.site-s-dark .ls-sum-row { background: #121923; border-color: rgba(255,255,255,.09); }
html.s-dark .ls-sum-head, html.site-s-dark .ls-sum-head,
html.s-dark .ls-tips-card__head, html.site-s-dark .ls-tips-card__head { background: #10151d; border-color: rgba(255, 255, 255, .08); }
html.s-dark .ls-sum-row:hover, html.site-s-dark .ls-sum-row:hover { background: #1b171f; border-color: rgba(255,107,107,.45); }
html.s-dark .ls-sum-row.is-live::before, html.site-s-dark .ls-sum-row.is-live::before,
html.s-dark .ls-sum-row:hover::before, html.site-s-dark .ls-sum-row:hover::before { background: #e2747c; }
html.s-dark .ls-sum-day, html.site-s-dark .ls-sum-day { color: #e5e7eb; }
html.s-dark .ls-sum-day::after, html.site-s-dark .ls-sum-day::after { background: linear-gradient(90deg, rgba(255,255,255,.12), rgba(255,255,255,0)); }
html.s-dark .ls-sum-state, html.site-s-dark .ls-sum-state { background: #18212d; border-color: #2b3747; color: #f3f4f6; }
html.s-dark .ls-sum-state strong, html.site-s-dark .ls-sum-state strong { color: #f3f4f6; }
html.s-dark .ls-sum-state--live, html.site-s-dark .ls-sum-state--live { background: #c8102e; border-color: #c8102e; color: #fff; }
html.s-dark .ls-sum-state:not(.ls-sum-state--live), html.site-s-dark .ls-sum-state:not(.ls-sum-state--live) { box-shadow: none; }
html.s-dark .ls-sum-state:not(.ls-sum-state--live) small, html.site-s-dark .ls-sum-state:not(.ls-sum-state--live) small { color: #ff8a9e; }
html.s-dark .ls-sum-state.ls-sum-state--finished small, html.site-s-dark .ls-sum-state.ls-sum-state--finished small { color: #9aa3b2; }
html.s-dark .ls-sum-tips, html.site-s-dark .ls-sum-tips { color: #ff9aa4; }
html.s-dark .ls-sum-empty, html.site-s-dark .ls-sum-empty { background: #10151d; color: #aab2bf; }
html.s-dark .ls-news, html.site-s-dark .ls-news { background: rgba(255,255,255,.08); }
html.s-dark .ls-news__item, html.site-s-dark .ls-news__item { background: #10151d; }
html.s-dark .ls-news__item:hover, html.site-s-dark .ls-news__item:hover { background: rgba(213,1,2,.10); }
html.s-dark .ls-news__thumb, html.site-s-dark .ls-news__thumb { background: rgba(255, 255, 255, .06); }
html.s-dark .ls-tips-card > .ls-tipster-panel, html.site-s-dark .ls-tips-card > .ls-tipster-panel { background: #10151d; }
html.s-dark .ls-tips-card .ls-tipster-panel-item, html.site-s-dark .ls-tips-card .ls-tipster-panel-item { background: transparent; border-color: rgba(255,255,255,.09); }
html.s-dark .ls-tips-card .ls-tipster-panel-pick, html.site-s-dark .ls-tips-card .ls-tipster-panel-pick { background: rgba(74, 190, 180, .16); color: #78ddd4; }
html.s-dark .ls-tips-card .ls-tipster-panel-text, html.site-s-dark .ls-tips-card .ls-tipster-panel-text { color: #c7cfda; }
html.s-dark .ls-tips-card .ls-tipster-panel-head, html.site-s-dark .ls-tips-card .ls-tipster-panel-head { background: rgba(213,1,2,.10); border-color: rgba(255,107,107,.25); }
html.s-dark .ls-tips-more, html.site-s-dark .ls-tips-more { background: #10151d; border-color: rgba(255,107,107,.45); color: #ff9aa8; }

html.s-dark .match-actions .ls-tipster-toggle--solo, html.site-s-dark .match-actions .ls-tipster-toggle--solo {
  background: rgba(255, 255, 255, .04);
  border-color: rgba(213, 1, 2, .45);
  color: #ff6b6b;
}

html.s-dark .live-score-main.is-loading::after, html.site-s-dark .live-score-main.is-loading::after {
  background: rgba(0, 0, 0, .35);
}

/* SmartMag can place the theme marker on body as well as html. Keep the
   explicitly light news-link rule from winning in the dark palette. */
body.s-dark .ls-news__body h3 a,
body.site-s-dark .ls-news__body h3 a,
html.s-dark .ls-news__body h3 a,
html.site-s-dark .ls-news__body h3 a {
  color: #e5e7eb !important;
}

body.s-dark .ls-news__body h3 a:hover,
body.site-s-dark .ls-news__body h3 a:hover,
html.s-dark .ls-news__body h3 a:hover,
html.site-s-dark .ls-news__body h3 a:hover {
  color: #ff9aa8 !important;
}

body.s-dark .ls-news__meta,
body.site-s-dark .ls-news__meta,
html.s-dark .ls-news__meta,
html.site-s-dark .ls-news__meta {
  color: #aab2bf;
}

html.s-dark .is-finished-match .score-text,
html.site-s-dark .is-finished-match .score-text,
body.s-dark .is-finished-match .score-text,
body.site-s-dark .is-finished-match .score-text {
  background: #18212d;
  border-color: rgba(255,255,255,.14);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
  color: #f3f4f6;
}

html.s-dark .is-live-match .score-text,
html.site-s-dark .is-live-match .score-text,
body.s-dark .is-live-match .score-text,
body.site-s-dark .is-live-match .score-text {
  color: #f8fafc;
}

html.s-dark .ls-mobile-date-nav,
html.site-s-dark .ls-mobile-date-nav,
body.s-dark .ls-mobile-date-nav,
body.site-s-dark .ls-mobile-date-nav {
  background: #171f2b;
  border-color: transparent;
  box-shadow: 0 6px 16px rgba(0,0,0,.24);
}

html.s-dark .ls-mobile-date-nav__arrow,
html.site-s-dark .ls-mobile-date-nav__arrow,
html.s-dark .ls-mobile-date-nav__date,
html.site-s-dark .ls-mobile-date-nav__date,
body.s-dark .ls-mobile-date-nav__arrow,
body.site-s-dark .ls-mobile-date-nav__arrow,
body.s-dark .ls-mobile-date-nav__date,
body.site-s-dark .ls-mobile-date-nav__date {
  color: #eef2f7;
}

html.s-dark .ls-mobile-date-nav__arrow:active,
html.site-s-dark .ls-mobile-date-nav__arrow:active,
body.s-dark .ls-mobile-date-nav__arrow:active,
body.site-s-dark .ls-mobile-date-nav__arrow:active {
  background: #1a2330;
}

html.s-dark .ls-mobile-date-nav--fixtures,
html.site-s-dark .ls-mobile-date-nav--fixtures,
body.s-dark .ls-mobile-date-nav--fixtures,
body.site-s-dark .ls-mobile-date-nav--fixtures {
  background: #171f2b;
}

html.s-dark .ls-mobile-date-nav--fixtures .ls-mobile-date-nav__date,
html.site-s-dark .ls-mobile-date-nav--fixtures .ls-mobile-date-nav__date,
body.s-dark .ls-mobile-date-nav--fixtures .ls-mobile-date-nav__date,
body.site-s-dark .ls-mobile-date-nav--fixtures .ls-mobile-date-nav__date {
  color: #eef2f7;
}

html.s-dark .ls-live-intro,
html.site-s-dark .ls-live-intro,
body.s-dark .ls-live-intro,
body.site-s-dark .ls-live-intro {
  color: #aab2bf;
}

html.s-dark .ls-empty-state a,
html.site-s-dark .ls-empty-state a,
body.s-dark .ls-empty-state a,
body.site-s-dark .ls-empty-state a {
  border-color: rgba(255, 116, 128, .42);
  background: rgba(200, 16, 46, .08);
  color: #ff8c99 !important;
}

html.s-dark .league-heading-chevron,
html.site-s-dark .league-heading-chevron,
body.s-dark .league-heading-chevron,
body.site-s-dark .league-heading-chevron {
  color: #aab2bf;
}

/* SportsAPI 3.4: reachable controls and explicit delayed-data feedback. */
.csh-refresh-status { margin: 8px 0; padding: 8px 12px; background: #fff6df; color: #684700; font-size: 13px; border-radius: 6px; }
.csh-refresh-status[hidden] { display: none; }
.ls-mobile-date-nav__arrow { min-width: 44px; min-height: 44px; }
.live-score-main.is-loading { opacity: .65; transition: opacity .12s; }
@media (max-width: 768px) { .live-scores-wrapper { padding-top: 4px; } }
@media (prefers-reduced-motion: reduce) { .live-score-main.is-loading { transition: none; } }
