/* ============================================================
 *  Live Blocks – Unified Professional Design
 *  Shared styles for Football + Basketball live sections
 *  Eliminates duplication between football.css & basketball.css
 * ============================================================ */

/* ── Keyframes ── */

@keyframes live-dot-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .25; }
}

@keyframes live-dot-tick {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .25; transform: scale(.65); }
}

@keyframes live-waiting-pulse {
  0%   { transform: scale(1);    box-shadow: 0 0 0 0   rgba(34,197,94,.4); }
  70%  { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(34,197,94,0); }
  100% { transform: scale(1);    box-shadow: 0 0 0 0   rgba(34,197,94,0); }
}

@keyframes live-team-flash-goal {
  0%, 100% { background: transparent; box-shadow: none; }
  20%, 60% { background: rgba(59,130,246,.14); box-shadow: inset 0 0 0 1px rgba(59,130,246,.28); }
}

@keyframes live-team-flash-red {
  0%, 100% { background: transparent; box-shadow: none; }
  20%, 60% { background: rgba(255,86,86,.14); box-shadow: inset 0 0 0 1px rgba(255,86,86,.22); }
}

@keyframes live-team-flash-yellow {
  0%, 100% { background: transparent; box-shadow: none; }
  20%, 60% { background: rgba(245,197,24,.12); box-shadow: inset 0 0 0 1px rgba(245,197,24,.2); }
}

@keyframes odds-flash-up {
  0%   { color: #4ade80; transform: scale(1.14); }
  40%  { color: #86efac; transform: scale(1.04); }
  100% { color: inherit;  transform: scale(1); }
}

@keyframes odds-flash-down {
  0%   { color: #f87171; transform: scale(1.14); }
  40%  { color: #fca5a5; transform: scale(1.04); }
  100% { color: inherit;  transform: scale(1); }
}

@keyframes odds-locked-pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: .35; }
}

@keyframes odds-lock-icon-pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: .4; }
}

/* backward-compat aliases used by older inline CSS / JS */
@keyframes football-live-dot          { 0%,100%{opacity:1} 50%{opacity:.25} }
@keyframes football-live-dot-tick     { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.25;transform:scale(.65)} }
@keyframes football-live-waiting-pulse{ 0%{transform:scale(1);box-shadow:0 0 0 0 rgba(34,197,94,.4)} 70%{transform:scale(1.05);box-shadow:0 0 0 10px rgba(34,197,94,0)} 100%{transform:scale(1);box-shadow:0 0 0 0 rgba(34,197,94,0)} }
@keyframes football-live-team-flash-goal  { 0%,100%{background:transparent;box-shadow:none} 20%,60%{background:rgba(59,130,246,.14);box-shadow:inset 0 0 0 1px rgba(59,130,246,.28)} }
@keyframes football-live-team-flash-red   { 0%,100%{background:transparent;box-shadow:none} 20%,60%{background:rgba(255,86,86,.14);box-shadow:inset 0 0 0 1px rgba(255,86,86,.22)} }
@keyframes football-live-team-flash-yellow{ 0%,100%{background:transparent;box-shadow:none} 20%,60%{background:rgba(245,197,24,.12);box-shadow:inset 0 0 0 1px rgba(245,197,24,.2)} }
@keyframes oddsLockedPulse   { 0%,100%{opacity:1} 50%{opacity:.35} }
@keyframes oddsLockIconPulse { 0%,100%{opacity:1} 50%{opacity:.4} }
@keyframes oddsFlashUp   { 0%{color:#4ade80;transform:scale(1.14)} 40%{color:#86efac;transform:scale(1.04)} 100%{color:inherit;transform:scale(1)} }
@keyframes oddsFlashDown { 0%{color:#f87171;transform:scale(1.14)} 40%{color:#fca5a5;transform:scale(1.04)} 100%{color:inherit;transform:scale(1)} }


/* ═══════════════════════════════════════════
 * 1. SECTION CONTAINER
 * ═══════════════════════════════════════════ */

.football-live-all-section,
.basketball-live-all-section {
  --lb-bg:          #1a1a1e;
  --lb-surface:     #2a2a2e;
  --lb-card:        #333338;
  --lb-card-head:   #404045;
  --lb-border:      rgba(255,255,255,.1);
  --lb-border-light:rgba(255,255,255,.08);
  --lb-text:        rgba(255,255,255,.95);
  --lb-text-dim:    rgba(255,255,255,.6);
  --lb-live:        #22c55e;
  --lb-live-red:    #ef4444;
  --lb-odds:        #d9d14c;
  --lb-odds-hover:  #fff2a8;
  --lb-accent:      var(--accent-sport, #f5c518);
  --lb-radius:      14px;

  width: 100%;
  max-width: 100%;
  margin: 0 0 var(--space-y, 32px);
  padding: 0;
  background: var(--lb-bg);
  border: 1px solid var(--lb-border);
  border-radius: var(--lb-radius);
  box-sizing: border-box;
  overflow: hidden;
}


/* ═══════════════════════════════════════════
 * 2. TITLE BAR
 * ═══════════════════════════════════════════ */

.live-all-title-icon {
  display: inline;
  width: 20px;
  height: 20px;
  object-fit: contain;
  vertical-align: middle;
  margin-inline-end: 6px;
  border-radius: 4px;
}

.live-all-title--has-icon::before {
  display: none !important;
}

.football-live-all-title,
.basketball-live-all-title {
  margin: 0;
  padding: 14px 18px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--lb-text);
  text-align: center;
  background: linear-gradient(to bottom, rgba(255,255,255,.06) 0%, rgba(255,255,255,.02) 50%, rgba(0,0,0,.08) 100%);
  border-bottom: 1px solid var(--lb-border);
  letter-spacing: .01em;
  line-height: 1.4;
}

.football-live-all-title::before,
.basketball-live-all-title::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-inline-end: 8px;
  vertical-align: .12em;
  border-radius: 50%;
  background: var(--lb-live-red);
  box-shadow: 0 0 8px rgba(239,68,68,.5);
  animation: live-dot-pulse 1.4s ease-in-out infinite;
}


/* ═══════════════════════════════════════════
 * 3. EMPTY STATES
 * ═══════════════════════════════════════════ */

.football-live-all-empty,
.basketball-live-all-empty {
  margin: 0;
  padding: 28px 20px;
  font-size: .9375rem;
  color: var(--lb-text-dim);
  text-align: center;
}

.football-live-all-empty--no-odds,
.basketball-live-all-empty--no-odds {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,.65);
}

.football-live-all-empty-pulse,
.basketball-live-all-empty-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lb-live);
  box-shadow: 0 0 0 0 rgba(34,197,94,.45);
  animation: live-waiting-pulse 1.8s ease-out infinite;
}


/* ═══════════════════════════════════════════
 * 4. GROUPS & COUNTRY ACCORDION
 * ═══════════════════════════════════════════ */

.football-live-all-groups,
.basketball-live-all-groups {
  padding: 0;
}

.football-live-all-country,
.basketball-live-all-country {
  margin-bottom: 0;
  border-top: 1px solid rgba(255,255,255,.08);
}

.football-live-all-country:first-child,
.basketball-live-all-country:first-child {
  border-top: 0;
}

.football-live-all-country-head,
.basketball-live-all-country-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: nowrap;
  padding: 10px 18px;
  margin-bottom: 0;
  background: rgba(255,255,255,.02);
  border: none;
  border-bottom: 1px solid rgba(255,255,255,.08);
  border-radius: 0;
  cursor: pointer;
  user-select: none;
  transition: background .18s ease;
  text-align: right;
}

.football-live-all-country-head:hover,
.basketball-live-all-country-head:hover {
  background: rgba(255,255,255,.045);
}

.football-live-all-country-head:focus,
.basketball-live-all-country-head:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(255,255,255,.14);
}

.football-live-all-country-head-main,
.basketball-live-all-country-head-main {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex: 1;
  justify-content: flex-start;
}

.football-live-all-country-chevron,
.basketball-live-all-country-chevron {
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid rgba(255,255,255,.45);
  margin-inline-end: 3px;
  transition: transform .25s ease;
  transform: rotate(0deg);
  flex-shrink: 0;
}

.football-live-all-country--collapsed .football-live-all-country-chevron,
.basketball-live-all-country--collapsed .basketball-live-all-country-chevron {
  transform: rotate(-90deg);
}

.football-live-all-country-flag,
.basketball-live-all-country-flag {
  width: 20px;
  height: 20px;
  object-fit: contain;
  border-radius: 3px;
  flex-shrink: 0;
}

.football-live-all-country-name,
.basketball-live-all-country-name {
  font-size: .84rem;
  font-weight: 600;
  color: rgba(255,255,255,.88);
  letter-spacing: .02em;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.football-live-all-country-head-live-wrap,
.basketball-live-all-country-head-live-wrap {
  display: flex;
  align-items: stretch;
  gap: 8px;
  align-self: stretch;
  flex-shrink: 0;
  margin-block: -10px;
}

.football-live-all-country-count,
.basketball-live-all-country-count {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .7rem;
  font-weight: 700;
  color: #fecaca;
  background: linear-gradient(180deg, rgba(239,68,68,.88), rgba(185,28,28,.92));
  border: 1px solid rgba(220,38,38,.5);
  padding: 0 8px;
  border-radius: 0 0 8px 8px;
  line-height: 1.2;
  flex-shrink: 0;
  min-width: 26px;
  box-sizing: border-box;
}

.football-live-all-country--collapsed .football-live-all-country-head,
.basketball-live-all-country--collapsed .basketball-live-all-country-head {
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.football-live-all-country--collapsed .football-live-all-country-body,
.basketball-live-all-country--collapsed .basketball-live-all-country-body {
  display: none;
}

[dir="rtl"] .football-live-all-country-chevron,
[dir="rtl"] .basketball-live-all-country-chevron {
  margin-inline-end: 3px;
}


/* ═══════════════════════════════════════════
 * 5. LEAGUE CARD (BOOK)
 * ═══════════════════════════════════════════ */

.football-live-all-section .football-live-book,
.basketball-live-all-section .basketball-live-book {
  margin-bottom: 10px;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 0;
  overflow: hidden;
  background: #3d3d3d;
}

.football-live-all-section .football-live-book:last-child,
.basketball-live-all-section .basketball-live-book:last-child {
  margin-bottom: 0;
}

/* ── Book head ── */

.football-live-all-section .football-live-book-head,
.basketball-live-all-section .basketball-live-book-head {
  display: grid;
  align-items: stretch;
  padding: 0;
  background: #4a4a4a;
  color: #fff;
  direction: rtl;
  min-height: 40px;
}

.football-live-all-section .football-live-book-title,
.basketball-live-all-section .basketball-live-book-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  text-align: right;
  grid-column: 1 / 4;
  justify-self: stretch;
  padding: 8px 12px;
  box-sizing: border-box;
}

.football-live-all-section .football-live-book-title-logo-badge,
.basketball-live-all-section .basketball-live-book-title-logo-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  flex-shrink: 0;
  margin-top: -8px;
  margin-bottom: -8px;
  padding: 0 6px;
  min-width: 28px;
  box-sizing: border-box;
  border-radius: 0 0 8px 8px;
  background: linear-gradient(180deg, rgba(203,213,225,.92) 0%, rgba(100,116,139,.95) 100%);
  border: 1px solid rgba(203,213,225,.24);
}

.football-live-all-section .football-live-book-title-logo,
.basketball-live-all-section .basketball-live-book-title-logo {
  display: block;
  width: 18px;
  height: 18px;
  object-fit: contain;
  flex-shrink: 0;
}

.football-live-all-section .football-live-book-title-logo--placeholder,
.basketball-live-all-section .basketball-live-book-title-logo--placeholder {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  background: rgba(241,245,249,.34);
}

.football-live-all-section .football-live-book-title-text,
.basketball-live-all-section .basketball-live-book-title-text {
  font-size: .78rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.football-live-all-section .football-live-book-markets-head,
.basketball-live-all-section .basketball-live-book-markets-head {
  display: grid;
  text-align: center;
  font-size: .72rem;
  font-weight: 700;
  color: #fff;
  direction: rtl;
  width: 100%;
  box-sizing: border-box;
  align-items: stretch;
}

.football-live-all-section .football-live-book-markets-head > span,
.basketball-live-all-section .basketball-live-book-markets-head > span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100%;
  height: 100%;
  box-sizing: border-box;
  box-shadow: inset 1px 0 0 rgba(255,255,255,.08);
}

.football-live-all-section .football-live-book-markets-head > span:last-child,
.basketball-live-all-section .basketball-live-book-markets-head > span:last-child {
  box-shadow: none;
}

/* ── Book body ── */

.football-live-all-section .football-live-book-body,
.basketball-live-all-section .basketball-live-book-body {
  background: #363636;
}


/* ═══════════════════════════════════════════
 * 6. GAME ROW – base layout
 * ═══════════════════════════════════════════ */

.football-live-all-section .football-live-book-row,
.basketball-live-all-section .basketball-live-book-row {
  display: grid;
  align-items: stretch;
  background: #363636;
  min-height: 58px;
}

.football-live-all-section .football-live-book-row + .football-live-book-row,
.basketball-live-all-section .basketball-live-book-body > .basketball-live-book-row-wrap + .basketball-live-book-row-wrap {
  border-top: 1px solid rgba(255,255,255,.06);
}

.football-live-all-section .football-live-book-row > *,
.basketball-live-all-section .basketball-live-book-row > * {
  border-left: 1px solid rgba(255,255,255,.08);
  min-height: 58px;
  min-width: 0;
  box-sizing: border-box;
}

.football-live-all-section .football-live-book-row > :last-child,
.basketball-live-all-section .basketball-live-book-row > :last-child {
  border-left: none;
}


/* ═══════════════════════════════════════════
 * 7. META – live status / minute
 * ═══════════════════════════════════════════ */

.football-live-all-section .football-live-book-meta,
.basketball-live-all-section .basketball-live-book-meta {
  grid-area: meta;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: stretch;
  padding: 0;
  gap: 0;
}

.football-live-all-section .football-live-book-meta .football-score-cell-live,
.basketball-live-all-section .basketball-live-book-meta .basketball-score-cell-live {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  flex: 1 1 100%;
  gap: 2px;
  font-size: .75rem;
  font-weight: 700;
  padding: 4px;
  border-radius: 0;
  background: linear-gradient(135deg, rgba(34,197,94,.4), rgba(34,197,94,.18));
  border: none;
  border-bottom: 1px solid rgba(255,255,255,.08);
  color: #4ade80;
  line-height: 1;
  white-space: normal;
  box-sizing: border-box;
  text-align: center;
}

.football-live-all-section .football-live-book-meta .football-score-cell-live-main,
.basketball-live-all-section .basketball-live-book-meta .basketball-score-cell-live-main {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 4px;
  width: 100%;
  max-width: 100%;
}

.football-live-all-section .football-live-book-meta .football-score-cell-live-dot,
.basketball-live-all-section .basketball-live-book-meta .basketball-score-cell-live-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--lb-live-red);
  flex-shrink: 0;
  animation: live-dot-tick 1.2s ease-in-out infinite;
}

.football-live-all-section .football-live-book-meta .football-fixtures-live-time,
.basketball-live-all-section .basketball-live-book-meta .basketball-live-time {
  font-size: .75rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: #fff;
  line-height: 1;
  max-width: 100%;
  width: auto;
  text-align: center;
}

.football-live-all-section .football-live-book-meta .football-score-cell-live-sub,
.basketball-live-all-section .basketball-live-book-meta .basketball-score-cell-live-sub {
  font-size: .65rem;
  line-height: 1.1;
  color: inherit;
  text-align: center;
  max-width: 100%;
  width: 100%;
  overflow-wrap: anywhere;
}

.football-live-all-section .football-live-book-meta .football-score-cell-live-text,
.basketball-live-all-section .basketball-live-book-meta .basketball-score-cell-live-text {
  text-transform: uppercase;
  line-height: 1;
  font-size: .48rem;
}

/* Break / halftime states */
.football-live-all-section .football-live-book-meta .football-score-cell-live--break-ht .football-score-cell-live-text,
.football-live-all-section .football-live-book-meta .football-score-cell-live--break-ht .football-score-cell-live-dot,
.football-live-all-section .football-live-book-meta .football-score-cell-live--break-bt .football-score-cell-live-text,
.football-live-all-section .football-live-book-meta .football-score-cell-live--break-bt .football-score-cell-live-dot,
.basketball-live-all-section .basketball-live-book-meta .basketball-score-cell-live--break-ht .basketball-live-time,
.basketball-live-all-section .basketball-live-book-meta .basketball-score-cell-live--break-ht .basketball-score-cell-live-dot,
.basketball-live-all-section .basketball-live-book-meta .basketball-score-cell-live--break-bt .basketball-live-time,
.basketball-live-all-section .basketball-live-book-meta .basketball-score-cell-live--break-bt .basketball-score-cell-live-dot {
  display: none;
}

.football-live-all-section .football-live-book-meta .football-score-cell-live--break-ht,
.basketball-live-all-section .basketball-live-book-meta .basketball-score-cell-live--break-ht {
  background: rgba(148,163,184,.25);
  border-color: rgba(148,163,184,.4);
  color: #cbd5e1;
}

.football-live-all-section .football-live-book-meta .football-score-cell-live--break-ht .football-fixtures-live-time {
  color: #cbd5e1;
}

.football-live-all-section .football-live-book-meta .football-score-cell-live--break-bt,
.basketball-live-all-section .basketball-live-book-meta .basketball-score-cell-live--break-bt {
  background: rgba(100,116,139,.25);
  border-color: rgba(100,116,139,.35);
  color: #94a3b8;
}

.football-live-all-section .football-live-book-meta .football-score-cell-live--break-bt .football-fixtures-live-time {
  color: #94a3b8;
}

/* Status badges */
.football-live-all-section .football-live-book-meta .football-status-badge {
  font-size: .48rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  flex: 1 1 50%;
  padding: 0 4px;
  border-radius: 0;
  line-height: 1;
  white-space: nowrap;
  color: rgba(255,255,255,.75);
  background: rgba(255,255,255,.06);
  border: none;
  box-sizing: border-box;
}

.football-live-all-section .football-live-book-meta .football-status--live-1h {
  background: rgba(34,197,94,.18); color: #86efac;
}
.football-live-all-section .football-live-book-meta .football-status--live-2h {
  background: rgba(59,130,246,.18); color: #93c5fd;
}
.football-live-all-section .football-live-book-meta .football-status--live-ht {
  background: rgba(148,163,184,.2); color: #cbd5e1;
}
.football-live-all-section .football-live-book-meta .football-status--live-et {
  background: rgba(249,115,22,.18); color: #fdba74;
}
.football-live-all-section .football-live-book-meta .football-status--live-bt {
  background: rgba(100,116,139,.2); color: #94a3b8;
}
.football-live-all-section .football-live-book-meta .football-status--live {
  background: rgba(34,197,94,.18); color: #86efac;
}


/* ═══════════════════════════════════════════
 * 8. TEAMS
 * ═══════════════════════════════════════════ */

.football-live-all-section .football-live-book-match,
.basketball-live-all-section .basketball-live-book-match {
  grid-area: match;
  color: inherit;
  text-decoration: none;
  direction: rtl;
  display: grid !important;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  align-content: center;
  justify-items: end;
  min-width: 0;
}

.football-live-all-section .football-live-book-team-line,
.basketball-live-all-section .basketball-live-book-team-line {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
  min-height: 0;
}

.football-live-all-section .football-live-book-team-line .football-fixtures-team,
.basketball-live-all-section .basketball-live-book-team-line .basketball-live-team {
  min-height: 0;
  height: 100%;
  width: 100%;
  padding: 5px 12px;
  display: flex;
  direction: rtl;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  background: transparent;
  border: none;
  border-radius: 0;
  max-width: none;
  transition: background .2s ease, box-shadow .2s ease;
}

.football-live-all-section .football-live-book-team-line--away .football-fixtures-team,
.basketball-live-all-section .basketball-live-book-team-line--away .basketball-live-team {
  border-top: 1px solid rgba(255,255,255,.06);
}

.football-live-all-section .football-live-book-team-line .football-fixtures-team-logo,
.football-live-all-section .football-live-book-team-line .football-fixtures-team-logo-placeholder,
.basketball-live-all-section .basketball-live-book-team-line .basketball-live-team-logo,
.basketball-live-all-section .basketball-live-book-team-line .basketball-live-team-logo-placeholder {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  border-radius: 2px;
  object-fit: contain;
}

.football-live-all-section .football-live-book-team-line .football-fixtures-team-name-wrap,
.basketball-live-all-section .basketball-live-book-team-line .basketball-live-team-name-wrap {
  width: auto;
  flex: 0 1 auto;
  border-top: none;
  padding-top: 0;
  display: inline-flex;
  direction: rtl;
  align-items: center;
  justify-content: flex-start;
  gap: 5px;
  min-width: 0;
  max-width: calc(100% - 28px);
  white-space: nowrap;
}

.football-live-all-section .football-live-book-team-line .football-fixtures-team-name,
.basketball-live-all-section .basketball-live-book-team-line .basketball-live-team-name {
  font-size: .88rem;
  font-weight: 400;
  color: #fff;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
  text-align: right;
}

/* Football goal/card flash animations */
.football-live-all-section .football-live-book-team-line .football-fixtures-team.football-live-team-flash--goal {
  animation: live-team-flash-goal 1.1s ease-in-out 3;
}
.football-live-all-section .football-live-book-team-line .football-fixtures-team.football-live-team-flash--redcard {
  animation: live-team-flash-red 1.1s ease-in-out 3;
}
.football-live-all-section .football-live-book-team-line .football-fixtures-team.football-live-team-flash--yellowcard {
  animation: live-team-flash-yellow 1.1s ease-in-out 3;
}

/* Football card icons */
.football-live-all-section .football-live-book-team-line .football-red-card-icon,
.football-live-all-section .football-live-book-team-line .football-yellow-card-icon,
.football-live-all-section .football-live-book-team-line .football-goal-flash-ball {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
}
.football-live-all-section .football-live-book-team-line .football-red-card-icon,
.football-live-all-section .football-live-book-team-line .football-yellow-card-icon {
  position: relative;
}
.football-live-all-section .football-live-book-team-line .football-red-card-icon-inner,
.football-live-all-section .football-live-book-team-line .football-yellow-card-icon-inner {
  width: 8px;
  height: 12px;
  border-radius: 1px;
}
.football-live-all-section .football-live-book-team-line .football-red-card-icon-inner {
  background: #ff5d5d;
}
.football-live-all-section .football-live-book-team-line .football-yellow-card-icon-inner {
  background: #f5c518;
}
.football-live-all-section .football-live-book-team-line .football-red-card-badge {
  font-size: .58rem;
  line-height: 1;
  color: #fff;
  margin-inline-start: 2px;
}
.football-live-all-section .football-live-book-team-line .football-goal-flash-ball {
  width: 14px;
  height: 14px;
}


/* ═══════════════════════════════════════════
 * 9. SCORE
 * ═══════════════════════════════════════════ */

.football-live-all-section .football-live-book-score,
.basketball-live-all-section .basketball-live-book-score {
  grid-area: score;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  align-self: stretch;
}

.football-live-all-section .football-live-book-score-box,
.basketball-live-all-section .basketball-live-book-score-box {
  display: grid;
  grid-template-rows: 1fr 1fr;
  width: 100%;
  height: 100%;
  border-radius: 0;
  overflow: hidden;
  background: rgba(0,0,0,.28);
  border: 1px solid rgba(255,255,255,.08);
  box-sizing: border-box;
}

.football-live-all-section .football-live-book-score-home,
.football-live-all-section .football-live-book-score-away,
.basketball-live-all-section .basketball-live-book-score-home,
.basketball-live-all-section .basketball-live-book-score-away {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  font-size: .88rem;
  font-weight: 800;
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.football-live-all-section .football-live-book-score-away,
.basketball-live-all-section .basketball-live-book-score-away {
  border-top: 1px solid rgba(255,255,255,.06);
}


/* ═══════════════════════════════════════════
 * 10. ODDS / MARKET TABS – shared base
 * ═══════════════════════════════════════════ */

.football-live-all-section .football-live-book-market,
.basketball-live-all-section .basketball-live-book-market {
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  align-self: stretch;
}

.football-live-all-section .football-live-book-market--home,
.basketball-live-all-section .basketball-live-book-market--home {
  grid-area: home;
}
.football-live-all-section .football-live-book-market--away,
.basketball-live-all-section .basketball-live-book-market--away {
  grid-area: away;
}
.football-live-all-section .football-live-book-market--draw {
  grid-area: draw;
}

/* Shared tab styling for both sports */
.football-live-all-section .football-live-book-market .football-single-match-tab,
.football-live-all-section .football-live-book-market .football-live-tab,
.basketball-live-all-section .basketball-live-book-market .basketball-live-tab {
  width: 100%;
  height: 100%;
  min-height: 100%;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  position: relative;
  overflow: hidden;
  transition: background .2s ease;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.football-live-all-section .football-live-book-market .football-single-match-tab::after,
.football-live-all-section .football-live-book-market .football-live-tab::after,
.basketball-live-all-section .basketball-live-book-market .basketball-live-tab::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--lb-accent);
  transition: transform .2s ease;
  transform: scaleX(0);
  transform-origin: center;
  opacity: .7;
}

.football-live-all-section .football-live-book-market .football-live-tab-label,
.football-live-all-section .football-live-book-market .football-live-tab-team-name {
  display: none;
}

.football-live-all-section .football-live-book-market .football-live-tab-odds,
.basketball-live-all-section .basketball-live-book-market .basketball-live-tab-odds {
  font-size: .88rem;
  font-weight: 700;
  color: var(--lb-odds);
  transition: color .2s ease;
  font-variant-numeric: tabular-nums;
}

/* Hover */
.football-live-all-section .football-live-book-market .football-single-match-tab:hover,
.football-live-all-section .football-live-book-market .football-live-tab:hover,
.basketball-live-all-section .basketball-live-book-market .basketball-live-tab:hover {
  background: rgba(255,255,255,.04);
}

.football-live-all-section .football-live-book-market .football-single-match-tab:hover .football-live-tab-odds,
.football-live-all-section .football-live-book-market .football-live-tab:hover .football-live-tab-odds,
.basketball-live-all-section .basketball-live-book-market .basketball-live-tab:hover .basketball-live-tab-odds {
  color: var(--lb-odds-hover);
}

.football-live-all-section .football-live-book-market .football-single-match-tab:hover::after,
.football-live-all-section .football-live-book-market .football-live-tab:hover::after,
.basketball-live-all-section .basketball-live-book-market .basketball-live-tab:hover::after {
  transform: scaleX(1);
}

/* Active / selected */
.football-live-all-section .football-live-book-market .football-single-match-tab.is-active,
.football-live-all-section .football-live-book-market .football-single-match-tab[aria-selected="true"],
.football-live-all-section .football-live-book-market .football-live-tab[aria-selected="true"],
.basketball-live-all-section .basketball-live-book-market .basketball-live-tab[aria-selected="true"] {
  background: rgba(255,255,255,.03);
}

.football-live-all-section .football-live-book-market .football-single-match-tab.is-active::after,
.football-live-all-section .football-live-book-market .football-single-match-tab[aria-selected="true"]::after,
.football-live-all-section .football-live-book-market .football-live-tab[aria-selected="true"]::after,
.basketball-live-all-section .basketball-live-book-market .basketball-live-tab[aria-selected="true"]::after {
  transform: scaleX(1);
  opacity: 1;
}

.football-live-all-section .football-live-book-market .football-single-match-tab.is-active .football-live-tab-odds,
.football-live-all-section .football-live-book-market .football-single-match-tab[aria-selected="true"] .football-live-tab-odds,
.football-live-all-section .football-live-book-market .football-live-tab[aria-selected="true"] .football-live-tab-odds,
.basketball-live-all-section .basketball-live-book-market .basketball-live-tab[aria-selected="true"] .basketball-live-tab-odds {
  color: #fff;
}


/* ═══════════════════════════════════════════
 * 11. ODDS STATE CLASSES (lock / flash)
 * ═══════════════════════════════════════════ */

.football-live-tab--locked {
  pointer-events: none;
  cursor: not-allowed;
}

.football-live-tab--locked .football-live-tab-odds:not(.football-live-tab-odds--state-locked) {
  color: #666 !important;
  animation: odds-locked-pulse 1.2s ease-in-out infinite;
}

.football-live-tab-odds--state-locked,
.basketball-live-tab-odds--state-locked {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.1em;
  min-height: 1em;
  line-height: 1;
}

.football-live-odds-lock-svg {
  width: 1.05em;
  height: 1.05em;
  flex-shrink: 0;
  display: block;
  color: rgba(255,255,255,.82);
}

.football-live-tab--locked .football-live-tab-odds--state-locked .football-live-odds-lock-svg {
  animation: odds-lock-icon-pulse 1.2s ease-in-out infinite;
}

.football-live-tab--market-off,
.basketball-live-tab--market-off {
  opacity: .75;
}

.football-live-tab--market-off .football-live-tab-odds--state-locked .football-live-odds-lock-svg,
.basketball-live-tab--market-off .basketball-live-tab-odds--state-locked .football-live-odds-lock-svg {
  color: rgba(255,255,255,.65);
}

.football-live-tab--market-off .football-live-tab-odds:not(.football-live-tab-odds--state-locked) {
  color: rgba(255,255,255,.65);
  font-size: .72rem;
}

.football-odds-locked .football-live-book-market {
  opacity: .6;
}

/* Flash animations */
.football-live-tab-odds--flash-up  { animation: odds-flash-up 2s ease-out; }
.football-live-tab-odds--flash-down { animation: odds-flash-down 2s ease-out; }


/* ═══════════════════════════════════════════
 * 12. MORE BUTTON
 * ═══════════════════════════════════════════ */

.football-live-all-section .football-live-book-more,
.basketball-live-all-section .basketball-live-book-more {
  grid-area: more;
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100% !important;
  min-height: 0 !important;
  height: auto !important;
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  padding: 0 !important;
  align-self: stretch;
  transition: background .2s ease;
}

.football-live-all-section .football-live-book-more:hover,
.basketball-live-all-section .basketball-live-book-more:hover {
  background: rgba(255,255,255,.03) !important;
}

.football-live-all-section .football-live-book-more .football-live-all-bets-inner,
.basketball-live-all-section .basketball-live-book-more .basketball-live-all-bets-inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  box-sizing: border-box;
}

.football-live-all-section .football-live-book-more .football-live-all-bets-icon,
.basketball-live-all-section .basketball-live-book-more .basketball-live-all-bets-icon {
  display: block;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: rgba(255,255,255,.65);
  opacity: .8;
  transition: color .2s ease, opacity .2s ease;
}

.football-live-all-section .football-live-book-more:hover .football-live-all-bets-icon,
.football-live-all-section .football-live-book-more:focus-visible .football-live-all-bets-icon,
.basketball-live-all-section .basketball-live-book-more:hover .basketball-live-all-bets-icon,
.basketball-live-all-section .basketball-live-book-more:focus-visible .basketball-live-all-bets-icon {
  color: var(--lb-accent);
  opacity: 1;
}

.football-live-all-section .football-live-book-more .football-live-all-bets-text,
.basketball-live-all-section .basketball-live-book-more .basketball-live-all-bets-text {
  display: none;
}


/* ═══════════════════════════════════════════
 * 13. HOMEPAGE HUB OVERRIDES
 * ═══════════════════════════════════════════ */

.index-home-hub .football-live-all-section,
.index-home-hub .basketball-live-all-section {
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.015));
  border: 1px solid rgba(255,255,255,.08);
  border-inline-start: 3px solid rgba(245,197,24,.4);
  border-radius: var(--lb-radius);
  box-shadow: 0 8px 32px rgba(0,0,0,.28);
  overflow: hidden;
}

body.page-hub-sport .index-home-hub .football-live-all-section,
body.page-hub-sport .index-home-hub .basketball-live-all-section {
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--hub-accent) 8%, rgba(255,255,255,.04)),
    color-mix(in srgb, var(--hub-accent) 3%, rgba(255,255,255,.015))
  );
  border: 1px solid color-mix(in srgb, var(--hub-accent) 18%, rgba(255,255,255,.08));
  border-inline-start: 3px solid color-mix(in srgb, var(--hub-accent) 50%, transparent);
  box-shadow: 0 6px 28px rgba(0,0,0,.22);
}

.index-home-hub .football-live-all-title,
.index-home-hub .basketball-live-all-title {
  padding: 10px 14px;
  text-align: right;
  font-size: .92rem;
  background: linear-gradient(90deg, rgba(0,0,0,.25), rgba(0,0,0,.1));
  border-bottom: 1px solid rgba(255,255,255,.07);
}

body.page-hub-sport .index-home-hub .football-live-all-title,
body.page-hub-sport .index-home-hub .basketball-live-all-title {
  background: linear-gradient(
    90deg,
    color-mix(in srgb, var(--hub-accent) 15%, rgba(0,0,0,.3)),
    color-mix(in srgb, var(--hub-accent) 6%, rgba(0,0,0,.1))
  );
  border-bottom: 1px solid color-mix(in srgb, var(--hub-accent) 12%, rgba(255,255,255,.07));
}

.index-home-hub .football-live-all-groups,
.index-home-hub .basketball-live-all-groups {
  padding: 0;
}

.index-home-hub .football-live-all-country,
.index-home-hub .basketball-live-all-country {
  margin-bottom: 0;
  border-top: 1px solid rgba(255,255,255,.06);
}

.index-home-hub .football-live-all-country:first-child,
.index-home-hub .basketball-live-all-country:first-child {
  border-top: 0;
}

.index-home-hub .football-live-all-country-head,
.index-home-hub .basketball-live-all-country-head {
  border: 0;
  border-radius: 0;
  padding: 8px 12px;
  margin: 0;
  background: rgba(255,255,255,.015);
}

.index-home-hub .football-live-all-country-name,
.index-home-hub .basketball-live-all-country-name {
  font-size: .78rem;
}

.index-home-hub .football-live-all-country-head-live-wrap,
.index-home-hub .basketball-live-all-country-head-live-wrap {
  margin-block: -8px;
}

.index-home-hub .basketball-live-all-empty {
  margin: 0;
  padding: 22px 14px;
  font-size: .88rem;
  color: rgba(255,255,255,.6);
  text-align: center;
}

.index-home-hub .basketball-live-all-empty.basketball-live-all-empty--no-odds {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,.68);
}


/* ═══════════════════════════════════════════
 * 14. FOOTBALL – sport-specific grid (3-market: 1 X 2)
 * ═══════════════════════════════════════════ */

.football-live-all-section .football-live-book {
  --live-meta-w: 82px;
  --live-score-w: 50px;
  --live-market-w: 76px;
  --live-more-w: 42px;
}

.football-live-all-section .football-live-book-head {
  grid-template-columns: var(--live-meta-w) minmax(0,1fr) var(--live-score-w) var(--live-market-w) var(--live-market-w) var(--live-market-w) var(--live-more-w);
}

.football-live-all-section .football-live-book-markets-head {
  grid-template-columns: repeat(3, var(--live-market-w));
  grid-column: 4 / 7;
}

.football-live-all-section .football-live-book-row {
  grid-template-columns: var(--live-meta-w) minmax(0,1fr) var(--live-score-w) var(--live-market-w) var(--live-market-w) var(--live-market-w) var(--live-more-w);
  grid-template-areas: "meta match score home draw away more";
}

.football-live-all-section .football-fixtures-row--live {
  background: #363636;
  box-shadow: none;
  animation: none;
}


/* ═══════════════════════════════════════════
 * 15. BASKETBALL – sport-specific grid (2-market: 1 2)
 * ═══════════════════════════════════════════ */

.basketball-live-all-section .basketball-live-book {
  --live-meta-w: 82px;
  --live-score-w: 50px;
  --live-market-w: 80px;
  --live-more-w: 42px;
}

.basketball-live-all-section .basketball-live-book-head {
  grid-template-columns: var(--live-meta-w) minmax(0,1fr) var(--live-score-w) var(--live-market-w) var(--live-market-w) var(--live-more-w);
}

.basketball-live-all-section .basketball-live-book-markets-head {
  grid-template-columns: 1fr 1fr;
  grid-column: 4 / 6;
}

.basketball-live-all-section .basketball-live-book-row {
  grid-template-columns: var(--live-meta-w) minmax(0,1fr) var(--live-score-w) var(--live-market-w) var(--live-market-w) var(--live-more-w);
  grid-template-areas: "meta match score home away more";
}

/* Basketball row wrap (with optional quarter breakdown) */
.basketball-live-all-section .basketball-live-book-body > .basketball-live-book-row-wrap {
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.basketball-live-all-section .basketball-live-book-body > .basketball-live-book-row-wrap:last-child {
  border-bottom: none;
}

.basketball-live-all-section .basketball-live-book-score {
  flex-direction: column;
  align-items: stretch;
  min-width: 0;
  gap: 4px;
}


/* ═══════════════════════════════════════════
 * 16. BASKETBALL – quarter breakdown
 * ═══════════════════════════════════════════ */

.basketball-live-all-section .basketball-live-book-quarter-breakdown {
  padding: 8px 10px 10px;
  background: rgba(0,0,0,.22);
  border-top: 1px solid rgba(255,255,255,.06);
}

.basketball-live-all-section .basketball-live-book-quarter-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .72rem;
  font-variant-numeric: tabular-nums;
  color: rgba(255,255,255,.85);
}

.basketball-live-all-section .basketball-live-book-quarter-table thead th {
  font-weight: 700;
  font-size: .65rem;
  color: rgba(255,255,255,.5);
  padding: 4px 6px;
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.basketball-live-all-section .basketball-live-book-quarter-corner {
  width: 2.5rem;
}

.basketball-live-all-section .basketball-live-book-quarter-table tbody th {
  font-weight: 600;
  font-size: .68rem;
  color: rgba(255,255,255,.6);
  padding: 6px 8px;
  text-align: right;
  white-space: nowrap;
  border-bottom: 1px solid rgba(255,255,255,.05);
}

.basketball-live-all-section .basketball-live-book-quarter-tr--away th,
.basketball-live-all-section .basketball-live-book-quarter-tr--away td {
  border-bottom: none;
}

.basketball-live-all-section .basketball-live-book-quarter-table td {
  padding: 6px 6px;
  text-align: center;
  font-weight: 700;
  color: rgba(255,255,255,.92);
  border-bottom: 1px solid rgba(255,255,255,.05);
}

.basketball-live-all-section .basketball-live-book-quarter-tr--home td {
  color: rgba(147,197,253,.92);
}

.basketball-live-all-section .basketball-live-book-quarter-tr--away td {
  color: rgba(253,186,116,.92);
}

.basketball-live-all-section .basketball-live-book-quarter-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed rgba(255,255,255,.1);
  font-size: .75rem;
  font-variant-numeric: tabular-nums;
}

.basketball-live-all-section .basketball-live-book-quarter-total-label {
  color: rgba(255,255,255,.5);
  font-weight: 600;
}

.basketball-live-all-section .basketball-live-book-quarter-total-num {
  font-weight: 800;
  color: #fff;
  letter-spacing: .03em;
}

.basketball-live-all-section .basketball-live-book-quarter-total-sep {
  margin: 0 6px;
  opacity: .4;
  font-weight: 600;
}


/* ═══════════════════════════════════════════
 * 17. MOBILE RESPONSIVE
 * ═══════════════════════════════════════════ */

@media (max-width: 768px) {
  .football-live-all-section,
  .basketball-live-all-section {
    border-radius: 0;
  }

  .football-live-all-title,
  .basketball-live-all-title {
    padding: 8px 10px;
    font-size: .875rem;
  }

  .football-live-all-title::before,
  .basketball-live-all-title::before {
    width: 5px;
    height: 5px;
    margin-inline-end: 5px;
  }

  .football-live-all-empty,
  .basketball-live-all-empty {
    padding: 16px 10px;
    font-size: .8125rem;
  }

  .football-live-all-groups,
  .basketball-live-all-groups {
    padding: 0;
  }

  .football-live-all-country-head,
  .basketball-live-all-country-head {
    padding: 7px 10px;
    gap: 6px;
  }

  .football-live-all-country-head-live-wrap,
  .basketball-live-all-country-head-live-wrap {
    margin-block: -7px;
  }

  .football-live-all-country-flag,
  .basketball-live-all-country-flag {
    width: 16px;
    height: 16px;
  }

  .football-live-all-country-name,
  .basketball-live-all-country-name {
    font-size: .75rem;
  }

  .football-live-all-country-count,
  .basketball-live-all-country-count {
    font-size: .62rem;
    padding: 0 6px;
    min-width: 22px;
  }

  /* Football mobile grid */
  .football-live-all-section .football-live-book {
    --live-meta-w: 48px;
    --live-score-w: 36px;
    --live-market-w: 52px;
    --live-more-w: 34px;
    margin-bottom: 6px;
    border-radius: 0;
  }

  .football-live-all-section .football-live-book-head {
    grid-template-columns: var(--live-meta-w) minmax(0,1fr) var(--live-score-w) var(--live-market-w) var(--live-market-w) var(--live-market-w) var(--live-more-w);
    min-height: 32px;
  }

  .football-live-all-section .football-live-book-row {
    grid-template-columns: var(--live-meta-w) minmax(0,1fr) var(--live-score-w) var(--live-market-w) var(--live-market-w) var(--live-market-w) var(--live-more-w);
    grid-template-areas: "meta match score home draw away more";
    min-height: 46px;
  }

  .football-live-all-section .football-live-book-row > *,
  .basketball-live-all-section .basketball-live-book-row > * {
    min-height: 46px;
  }

  .football-live-all-section .football-live-book-markets-head {
    grid-template-columns: repeat(3, var(--live-market-w));
    font-size: .56rem;
  }

  .football-live-all-section .football-live-book-title {
    padding: 5px 8px;
  }

  .football-live-all-section .football-live-book-title-logo-badge {
    margin-top: -5px;
    margin-bottom: -5px;
    min-width: 24px;
    padding: 0 4px;
    border-radius: 0 0 6px 6px;
  }

  .football-live-all-section .football-live-book-title-logo,
  .football-live-all-section .football-live-book-title-logo--placeholder {
    width: 16px;
    height: 16px;
  }

  .football-live-all-section .football-live-book-title-text {
    font-size: .62rem;
  }

  /* Basketball mobile grid */
  .basketball-live-all-section .basketball-live-book {
    --live-meta-w: 48px;
    --live-score-w: 36px;
    --live-market-w: 54px;
    --live-more-w: 34px;
    margin-bottom: 6px;
    border-radius: 0;
  }

  .basketball-live-all-section .basketball-live-book-head {
    grid-template-columns: var(--live-meta-w) minmax(0,1fr) var(--live-score-w) var(--live-market-w) var(--live-market-w) var(--live-more-w);
    min-height: 32px;
  }

  .basketball-live-all-section .basketball-live-book-row {
    grid-template-columns: var(--live-meta-w) minmax(0,1fr) var(--live-score-w) var(--live-market-w) var(--live-market-w) var(--live-more-w);
    min-height: 52px;
  }

  .basketball-live-all-section .basketball-live-book-title {
    padding: 5px 8px;
  }

  .basketball-live-all-section .basketball-live-book-title-text {
    font-size: .72rem;
  }

  .basketball-live-all-section .basketball-live-book-markets-head {
    font-size: .56rem;
  }

  /* Shared mobile adjustments */
  .football-live-all-section .football-live-book-team-line .football-fixtures-team,
  .basketball-live-all-section .basketball-live-book-team-line .basketball-live-team {
    padding: 3px 6px;
    gap: 5px;
  }

  .football-live-all-section .football-live-book-team-line .football-fixtures-team-name {
    font-size: .68rem;
  }

  .basketball-live-all-section .basketball-live-book-team-line .basketball-live-team-name {
    font-size: .78rem;
  }

  .football-live-all-section .football-live-book-team-line .football-fixtures-team-logo,
  .football-live-all-section .football-live-book-team-line .football-fixtures-team-logo-placeholder,
  .basketball-live-all-section .basketball-live-book-team-line .basketball-live-team-logo,
  .basketball-live-all-section .basketball-live-book-team-line .basketball-live-team-logo-placeholder {
    width: 18px;
    height: 18px;
  }

  .football-live-all-section .football-live-book-score-home,
  .football-live-all-section .football-live-book-score-away,
  .basketball-live-all-section .basketball-live-book-score-home,
  .basketball-live-all-section .basketball-live-book-score-away {
    min-height: 18px;
    font-size: .75rem;
  }

  .football-live-all-section .football-live-book-market .football-live-tab-odds,
  .basketball-live-all-section .basketball-live-book-market .basketball-live-tab-odds {
    font-size: .76rem;
  }

  .football-live-all-section .football-live-book-more .football-live-all-bets-icon,
  .basketball-live-all-section .basketball-live-book-more .basketball-live-all-bets-icon {
    width: 18px;
    height: 18px;
  }

  .football-live-all-section .football-live-book-more .football-live-all-bets-inner,
  .basketball-live-all-section .basketball-live-book-more .basketball-live-all-bets-inner {
    padding: 2px;
  }

  .football-live-all-section .football-live-book-meta,
  .basketball-live-all-section .basketball-live-book-meta {
    padding: 0;
    gap: 0;
  }

  .football-live-all-section .football-live-book-meta .football-score-cell-live,
  .basketball-live-all-section .basketball-live-book-meta .basketball-score-cell-live {
    font-size: .44rem;
    padding: 0 2px;
    gap: 1px;
  }

  .football-live-all-section .football-live-book-meta .football-fixtures-live-time,
  .basketball-live-all-section .basketball-live-book-meta .basketball-live-time {
    font-size: .44rem;
  }

  .football-live-all-section .football-live-book-meta .football-score-cell-live-sub,
  .basketball-live-all-section .basketball-live-book-meta .basketball-score-cell-live-sub {
    font-size: .36rem;
    line-height: 1.05;
  }

  .football-live-all-section .football-live-book-meta .football-score-cell-live-dot,
  .basketball-live-all-section .basketball-live-book-meta .basketball-score-cell-live-dot {
    width: 3px;
    height: 3px;
  }

  .football-live-all-section .football-live-book-meta .football-score-cell-live-text {
    font-size: .36rem;
  }

  .football-live-all-section .football-live-book-meta .football-status-badge {
    font-size: .38rem;
    padding: 0 2px;
  }

  /* Quarter breakdown mobile */
  .basketball-live-all-section .basketball-live-book-quarter-breakdown {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 6px 8px 8px;
  }

  .basketball-live-all-section .basketball-live-book-quarter-table {
    min-width: 280px;
  }

  .basketball-live-all-section .basketball-live-book-quarter-total {
    flex-wrap: wrap;
    font-size: .7rem;
  }

  /* Hub mobile */
  .index-home-hub .football-live-all-section,
  .index-home-hub .basketball-live-all-section {
    border-radius: 0;
    border-inline-start: none;
    box-shadow: 0 6px 18px rgba(0,0,0,.2);
  }

  body.page-hub-sport .index-home-hub .football-live-all-section,
  body.page-hub-sport .index-home-hub .basketball-live-all-section {
    border-top: 3px solid color-mix(in srgb, var(--hub-accent) 50%, transparent);
  }

  .index-home-hub .football-live-all-title,
  .index-home-hub .basketball-live-all-title {
    padding: 7px 10px;
    font-size: .82rem;
  }

  .index-home-hub .football-live-all-groups,
  .index-home-hub .basketball-live-all-groups {
    padding: 0;
  }

  .index-home-hub .football-live-all-country-head,
  .index-home-hub .basketball-live-all-country-head {
    padding: 7px 10px;
  }

  .index-home-hub .football-live-all-country-name,
  .index-home-hub .basketball-live-all-country-name {
    font-size: .7rem;
  }

  .index-home-hub .basketball-live-all-empty {
    padding: 16px 10px;
    font-size: .82rem;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .football-live-tab-odds--flash-up,
  .football-live-tab-odds--flash-down {
    animation: none !important;
  }

  .football-live-all-title::before,
  .basketball-live-all-title::before {
    animation: none;
  }
}
