/* ============================================================
 *  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 live-team-flash-basket {
  0%, 100% { background: transparent; box-shadow: none; }
  20%, 60% { background: rgba(59,130,246,.12); box-shadow: inset 0 0 0 1px rgba(59,130,246,.24); }
}

@keyframes basket-flash-badge-in {
  0%   { opacity: 0; transform: translateY(-4px) scale(.6); }
  40%  { opacity: 1; transform: translateY(0) scale(1.15); }
  60%  { transform: translateY(0) scale(1); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* פלאש על המספר עצמו של התוצאה בכדורסל – ירוק כשהניקוד עלה (דומה לאפקט
   של עדכון יחסים בכדורגל). נבחר גוון בולט ועדין כאחד שלא שובר את העיצוב. */
@keyframes basketball-score-flash-up {
  0%   { color: #22c55e; transform: scale(1.18); text-shadow: 0 0 8px rgba(34,197,94,.55); }
  40%  { color: #4ade80; transform: scale(1.06); text-shadow: 0 0 4px rgba(34,197,94,.35); }
  100% { color: inherit; transform: scale(1); text-shadow: none; }
}

@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: .55; transform: scale(0.94); }
  50%      { opacity: 1;   transform: scale(1.04); }
}

/* 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:.6;transform:scale(.9);filter:drop-shadow(0 0 0 rgba(255,255,255,0))} 50%{opacity:1;transform:scale(1.1);filter:drop-shadow(0 0 5px rgba(255,255,255,.5))} }
@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 {
  /* גוון כמו .mobile-userdock – כחול-נavy עם גרדיאנט תחתון */
  --lb-dock-grad:   linear-gradient(180deg, rgba(20,24,38,0.96) 0%, rgba(8,10,18,0.98) 100%);
  --lb-shell-grad:  linear-gradient(180deg, rgba(22,26,40,0.98) 0%, rgba(14,16,26,0.99) 52%, rgba(10,12,20,1) 100%);
  --lb-bg:          #12141f;
  --lb-surface:     #252a38;
  --lb-card:        #2c3140;
  --lb-card-head:   #363c4e;
  --lb-border:      rgba(255,255,255,.08);
  --lb-border-light:rgba(255,255,255,.06);
  --lb-text:        rgba(255,255,255,.95);
  --lb-text-dim:    rgba(255,255,255,.62);
  --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-shell-grad);
  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-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  background: var(--lb-dock-grad);
  border-bottom: 0;
}

.football-live-all-title,
.basketball-live-all-title {
  margin: 0;
  padding: 14px 18px;
  font-size: 1rem;
  font-weight: 700;
  color: rgba(255,255,255,0.94);
  text-align: center;
  background: var(--lb-dock-grad);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  text-shadow: 0 1px 2px rgba(0,0,0,0.35);
  letter-spacing: .01em;
  line-height: 1.4;
}

.football-live-all-header .football-live-all-title {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
  padding: 0;
  background: transparent;
  border-bottom: 0;
  text-align: start;
}

.football-live-all-header .football-live-all-title::before {
  display: none !important;
}

.football-live-all-tabs {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 999px;
  background: rgba(0,0,0,.18);
}

.football-live-all-tab {
  appearance: none;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(255,255,255,.66);
  padding: 6px 10px;
  font: inherit;
  font-size: .78rem;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  transition: background .18s ease, color .18s ease;
}

.football-live-all-tab:hover,
.football-live-all-tab:focus-visible {
  color: rgba(255,255,255,.94);
  background: rgba(255,255,255,.07);
  outline: none;
}

.football-live-all-tab.is-active {
  color: #fff;
  background: rgba(255,255,255,.12);
}

.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 {
  position: relative;
  overflow: hidden;
  margin: 0;
  padding: 28px 20px;
  font-size: .9375rem;
  color: var(--lb-text-dim);
  text-align: center;
}

.football-live-all-empty--decor,
.basketball-live-all-empty--decor {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
}

.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-empty-text,
.basketball-live-empty-text {
  position: relative;
  z-index: 1;
}

.football-live-empty-bg-icon,
.basketball-live-empty-bg-icon {
  position: absolute;
  left: -22px;
  bottom: -28px;
  z-index: 0;
  width: 118px;
  height: 118px;
  object-fit: contain;
  opacity: .08;
  filter: grayscale(1);
  transform: rotate(-12deg);
  pointer-events: none;
  user-select: none;
}

.football-live-empty-bg-icon--placeholder::before,
.basketball-live-empty-bg-icon--placeholder::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: currentColor;
}

.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: linear-gradient(90deg, rgba(24,28,42,0.5), rgba(14,16,24,0.42));
  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: linear-gradient(90deg, rgba(30,36,54,0.62), rgba(18,20,30,0.52));
}

.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-main .football-favorite-toggle--country,
.basketball-live-all-country-head-main .basketball-favorite-toggle--country {
  margin-inline-start: 0;
  margin-inline-end: 6px;
  flex-shrink: 0;
}

.football-live-all-country-head-live-wrap,
.basketball-live-all-country-head-live-wrap {
  display: flex;
  align-items: flex-start;
  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: 6px 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 {
  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 {
  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 {
  box-shadow: none;
}

/* ── Book body ── */

.football-live-all-section .football-live-book-body,
.basketball-live-all-section .basketball-live-book-body {
  background-color: #2b3040;
  background-image: linear-gradient(180deg, rgba(59,130,246,.05), rgba(15,23,42,.04));
}


/* ═══════════════════════════════════════════
 * 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-color: #2b3040;
  background-image: linear-gradient(180deg, rgba(59,130,246,.045), rgba(15,23,42,.035));
  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-favorite {
  grid-area: fav;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  padding: 0 4px;
  box-sizing: border-box;
}

.basketball-live-all-section .basketball-live-book-favorite {
  grid-area: fav;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  padding: 0 4px;
  box-sizing: border-box;
}

.basketball-favorite-toggle {
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(255,255,255,.52);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: color .16s ease, transform .16s ease, filter .16s ease;
  padding: 0;
  flex: 0 0 auto;
  -webkit-tap-highlight-color: transparent;
}

.basketball-favorite-toggle:hover,
.basketball-favorite-toggle:focus-visible {
  color: #facc15;
  outline: none;
  filter: drop-shadow(0 0 6px rgba(250,204,21,.28));
}

.basketball-favorite-toggle.is-favorite {
  color: #facc15;
  filter: drop-shadow(0 4px 10px rgba(250,204,21,.22));
}

.basketball-favorite-toggle.is-loading {
  pointer-events: none;
  opacity: .7;
}

.basketball-favorite-toggle .football-favorite-star {
  display: block;
  width: 1.28rem;
  height: 1.28rem;
  fill: currentColor;
  stroke: currentColor;
  stroke-width: 1.1;
  stroke-linejoin: round;
  pointer-events: none;
}

.basketball-favorite-toggle--row {
  width: 30px;
  height: 30px;
}

.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: 7px;
  font-size: .75rem;
  font-weight: 700;
  min-height: 100%;
  align-self: stretch;
  padding: 6px 4px 5px;
  border-radius: 0;
  background: linear-gradient(180deg, rgba(34,197,94,.24), rgba(34,197,94,.1));
  border: none;
  border-bottom: 1px solid rgba(255,255,255,.08);
  color: rgba(74,222,128,.82);
  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;
  order: 2;
  gap: 4px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  opacity: .7;
  margin-top: 1px;
}

.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: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--lb-live-red);
  flex-shrink: 0;
  animation: live-dot-tick 1.2s ease-in-out infinite;
  box-shadow: 0 0 8px rgba(239,68,68,.5);
}

.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: .5rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: rgba(255,255,255,.66);
  line-height: 1;
  max-width: 100%;
  width: auto;
  text-align: center;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.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 {
  order: 1;
  display: block;
  font-size: clamp(1.5rem, 2.28vw, 1.92rem);
  font-weight: 900;
  line-height: .9;
  color: rgba(255,255,255,.78);
  text-align: center;
  max-width: 100%;
  width: 100%;
  overflow-wrap: anywhere;
  font-variant-numeric: tabular-nums;
  letter-spacing: .01em;
  text-shadow: 0 1px 2px rgba(0,0,0,.28);
}

.football-live-all-section .football-live-book-meta .football-score-cell-live--finished {
  background: linear-gradient(180deg, rgba(148,163,184,.22), rgba(71,85,105,.12));
  color: rgba(203,213,225,.9);
}

.football-live-all-section .football-live-book-meta .football-score-cell-live--finished .football-fixtures-live-time {
  color: rgba(226,232,240,.86);
  font-size: .62rem;
  line-height: 1.15;
  text-transform: none;
  letter-spacing: 0;
}

.football-live-all-section .football-live-book-meta .football-score-cell-live--upcoming {
  background: linear-gradient(180deg, rgba(245,197,24,.16), rgba(245,197,24,.06));
  color: rgba(250,204,21,.88);
}

.football-live-all-section .football-live-book-meta .football-score-cell-live--upcoming .football-fixtures-live-time {
  color: rgba(255,255,255,.72);
  font-size: .52rem;
  text-transform: none;
  letter-spacing: 0;
}

.football-live-all-section .football-live-book-meta .football-score-cell-live--upcoming .football-score-cell-live-sub {
  font-size: .82rem;
  line-height: 1;
  color: rgba(255,255,255,.86);
  overflow-wrap: normal;
  white-space: nowrap;
}

.basketball-live-all-section .basketball-live-book-meta .basketball-score-cell-live--finished {
  background: linear-gradient(180deg, rgba(148,163,184,.22), rgba(71,85,105,.12));
  color: rgba(203,213,225,.9);
}

.basketball-live-all-section .basketball-live-book-meta .basketball-score-cell-live--finished .basketball-live-time {
  color: rgba(226,232,240,.86);
  font-size: .62rem;
  line-height: 1.15;
  text-transform: none;
  letter-spacing: 0;
}

.basketball-live-all-section .basketball-live-book-meta .basketball-score-cell-live--upcoming {
  background: linear-gradient(180deg, rgba(245,197,24,.16), rgba(245,197,24,.06));
  color: rgba(250,204,21,.88);
}

.basketball-live-all-section .basketball-live-book-meta .basketball-score-cell-live--upcoming .basketball-live-time {
  color: rgba(255,255,255,.72);
  font-size: .52rem;
  text-transform: none;
  letter-spacing: 0;
}

.basketball-live-all-section .basketball-live-book-meta .basketball-score-cell-live--upcoming .basketball-score-cell-live-sub {
  font-size: .82rem;
  line-height: 1;
  color: rgba(255,255,255,.86);
  overflow-wrap: normal;
  white-space: nowrap;
}

.football-live-all-section .football-live-book-meta .football-live-minute-stack {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  width: 100%;
  line-height: .92;
}

.football-live-all-section .football-live-book-meta .football-live-minute-base {
  display: block;
  font-size: inherit;
  font-weight: 900;
  line-height: .82;
}

.football-live-all-section .football-live-book-meta .football-live-minute-extra {
  display: block;
  margin-top: 3px;
  font-size: .38em;
  font-weight: 800;
  line-height: .95;
  color: rgba(255,255,255,.48);
}

.football-live-all-section .football-live-book-meta .football-score-cell-live--break-ht .football-score-cell-live-sub,
.football-live-all-section .football-live-book-meta .football-score-cell-live--break-bt .football-score-cell-live-sub {
  font-size: .65rem;
  font-weight: 700;
  line-height: 1.1;
  color: inherit;
}

.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: stretch;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

.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-width: 0;
  min-height: 0;
  overflow: hidden;
}

.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;
  min-width: 0;
  height: 100%;
  width: 100%;
  max-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;
  overflow: hidden;
  box-sizing: border-box;
  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 {
  flex: 1 1 0;
  width: 0;
  min-width: 0;
  max-width: 100%;
  border-top: none;
  padding-top: 0;
  display: flex;
  direction: rtl;
  align-items: center;
  justify-content: flex-start;
  gap: 5px;
  overflow: hidden;
  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 {
  flex: 1 1 auto;
  font-size: .88rem;
  font-weight: 400;
  color: #fff;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
  width: auto;
  min-width: 0;
  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 {
  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;
}
/* כדור גול: אותו נכס כמו בכותרת «כדורגל – משחקים חיים» (.live-all-title-icon); keyframes ב-football.css */
.football-live-all-section .football-live-book-team-line .football-goal-flash-ball {
  flex: 0 0 auto;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  opacity: 1;
  filter: drop-shadow(0 0 5px rgba(59, 130, 246, 0.45));
  animation: football-goal-ball-in 0.38s ease-out forwards;
}
.football-live-all-section .football-live-book-team-line .football-goal-flash-ball img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* ────────────────────────────────────────────
 * Basketball basket-flash (+N points indicator)
 * Works on both:
 *  • homepage live block (.basketball-live-team / .basketball-live-team-name-wrap)
 *  • basketball.php league view (.football-fixtures-team / .football-fixtures-team-name-wrap)
 * ──────────────────────────────────────────── */
.basketball-live-all-section .basketball-live-book-team-line .basketball-live-team.basketball-live-team-flash--basket,
.basketball-live-all-section .football-live-book-team-line .football-fixtures-team.basketball-live-team-flash--basket,
.football-live-all-section .football-live-book-team-line .football-fixtures-team.basketball-live-team-flash--basket,
.basketball-single-match .football-single-match-team.basketball-live-team-flash--basket {
  animation: live-team-flash-basket 1.1s ease-in-out 3;
}

.basketball-flash-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin-inline-start: 5px;
  padding: 0;
  min-width: 0;
  height: 18px;
  border-radius: 0;
  background: transparent;
  color: #facc15;
  font-size: .74rem;
  font-weight: 800;
  line-height: 1;
  vertical-align: middle;
  text-shadow: none;
  box-shadow: none;
  animation: basket-flash-badge-in .35s ease-out 1;
  pointer-events: none;
  white-space: nowrap;
  flex: 0 0 auto;
}
.basketball-flash-badge-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}
.basketball-flash-badge-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  filter: none;
}
.basketball-flash-badge-text {
  display: inline-block;
  color: #facc15;
}

/* קלאס שמוחל על מספר התוצאה כשהוא משתנה כלפי מעלה */
.basketball-score-flash-up {
  animation: basketball-score-flash-up 1.6s ease-out;
  display: inline-block;
}


/* ═══════════════════════════════════════════
 * 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;
  direction: ltr;
  unicode-bidi: isolate;
}

.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;
}

/* Tab styling — כדורגל (3 שוקים) וכדורסל טרם החלו (1 / 2) */
.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 .football-single-match-tab,
.basketball-live-all-section .basketball-live-book-market .football-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 .football-single-match-tab::after,
.basketball-live-all-section .basketball-live-book-market .football-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,
.basketball-live-all-section .basketball-live-book-market .football-live-tab-label,
.basketball-live-all-section .basketball-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 .football-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 .football-single-match-tab:hover,
.basketball-live-all-section .basketball-live-book-market .football-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 .football-single-match-tab:hover .football-live-tab-odds,
.basketball-live-all-section .basketball-live-book-market .football-live-tab:hover .football-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 .football-single-match-tab:hover::after,
.basketball-live-all-section .basketball-live-book-market .football-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 .football-single-match-tab.is-active,
.basketball-live-all-section .basketball-live-book-market .football-single-match-tab[aria-selected="true"],
.basketball-live-all-section .basketball-live-book-market .football-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 .football-single-match-tab.is-active::after,
.basketball-live-all-section .basketball-live-book-market .football-single-match-tab[aria-selected="true"]::after,
.basketball-live-all-section .basketball-live-book-market .football-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 .football-single-match-tab.is-active .football-live-tab-odds,
.basketball-live-all-section .basketball-live-book-market .football-single-match-tab[aria-selected="true"] .football-live-tab-odds,
.basketball-live-all-section .basketball-live-book-market .football-live-tab[aria-selected="true"] .football-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 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.1em;
  min-height: 1em;
  line-height: 1;
}

.basketball-live-tab-odds--empty {
  color: transparent;
  min-width: 1.1em;
}

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

/* אפקט "נשימה" למנעול בכל מצב נעול/מושהה */
.football-live-tab-odds--state-locked .football-live-odds-lock-svg {
  animation: odds-lock-icon-pulse 2.2s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .football-live-tab-odds--state-locked .football-live-odds-lock-svg {
    animation: none;
  }
}

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

.football-live-tab--market-off .football-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,
.football-odds-locked .basketball-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;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 5px 3px;
  box-sizing: border-box;
}

/* תג כמות "הימורים זמינים" — קומפקטי, בגוון תא התוצאה */
.football-live-all-section .football-live-book-more .football-live-book-more-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  height: 14px;
  padding: 0 4px;
  border-radius: 0;
  font-size: .62rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
  color: rgba(255, 255, 255, .88);
  background: rgba(0, 0, 0, .28);
  border: 1px solid rgba(255, 255, 255, .08);
  box-shadow: none;
  white-space: nowrap;
  transition: background .2s ease, border-color .2s ease;
}

.football-live-all-section .football-live-book-more:hover .football-live-book-more-count,
.football-live-all-section .football-live-book-more:focus-visible .football-live-book-more-count {
  background: rgba(0, 0, 0, .36);
  border-color: rgba(255, 255, 255, .12);
  transform: none;
}

.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: 30px;
  height: 30px;
  flex-shrink: 0;
  color: rgba(255,255,255,.65);
  opacity: .88;
  transition: filter .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 {
  filter: brightness(1.15);
  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(22,26,40,0.98), rgba(10,12,20,0.995));
  border: 1px solid rgba(255,255,255,.08);
  border-inline-start: 3px solid rgba(96, 165, 250, 0.45);
  border-radius: var(--lb-radius);
  box-shadow: 0 8px 32px rgba(0,0,0,.32);
  overflow: hidden;
}

body.page-hub-sport .index-home-hub .football-live-all-section,
body.page-hub-sport .index-home-hub .basketball-live-all-section {
  --lb-odds:       #d9d14c;
  --lb-odds-hover: #fff2a8;
  --lb-accent:     #7dd3fc;
  background: linear-gradient(180deg, rgba(24,28,44,0.97), rgba(10,12,22,0.99));
  border: 1px solid rgba(100, 130, 200, 0.16);
  border-inline-start: 3px solid rgba(96, 165, 250, 0.5);
  box-shadow: 0 6px 28px rgba(0,0,0,.35);
}

.index-home-hub .football-live-all-title,
.index-home-hub .basketball-live-all-title {
  padding: 10px 14px;
  text-align: right;
  font-size: .92rem;
  color: rgba(255,255,255,0.94);
  background: linear-gradient(180deg, rgba(20,24,38,0.96) 0%, rgba(8,10,18,0.98) 100%);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  text-shadow: 0 1px 2px rgba(0,0,0,0.35);
}

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(180deg, rgba(20,24,38,0.98) 0%, rgba(8,10,18,0.995) 100%);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.95);
}

.index-home-hub .football-live-all-header .football-live-all-title,
body.page-hub-sport .index-home-hub .football-live-all-header .football-live-all-title {
  padding: 0;
  background: transparent;
  border-bottom: 0;
}

.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);
}

body.page-hub-sport .index-home-hub .football-live-all-country-head,
body.page-hub-sport .index-home-hub .basketball-live-all-country-head {
  background: linear-gradient(90deg, rgba(26,32,48,0.72), rgba(14,16,26,0.58));
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

body.page-hub-sport .index-home-hub .football-live-all-country-count,
body.page-hub-sport .index-home-hub .basketball-live-all-country-count {
  background: linear-gradient(180deg, rgba(239, 68, 68, 0.88), rgba(185, 28, 28, 0.92));
  border-color: rgba(220, 38, 38, 0.5);
  color: #fecaca;
}

.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 .football-live-all-empty,
.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 .football-live-all-empty.football-live-all-empty--decor,
.index-home-hub .basketball-live-all-empty.basketball-live-all-empty--decor {
  min-height: 82px;
}

.index-home-hub .football-live-empty-bg-icon,
.index-home-hub .basketball-live-empty-bg-icon {
  left: -16px;
  bottom: -24px;
  width: 104px;
  height: 104px;
  opacity: .07;
}

.index-home-hub .football-live-all-empty.football-live-all-empty--no-odds,
.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);
}

body.page-hub-sport .index-home-hub .football-live-all-section .football-live-book-head,
body.page-hub-sport .index-home-hub .basketball-live-all-section .basketball-live-book-head {
  background-image:
    linear-gradient(90deg, rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.12)),
    linear-gradient(90deg, rgba(59, 130, 246, 0.16), rgba(30, 58, 138, 0.1));
}

body.page-hub-sport .index-home-hub .football-live-all-section .football-live-book,
body.page-hub-sport .index-home-hub .basketball-live-all-section .basketball-live-book {
  background-color: #323848;
  background-image: linear-gradient(180deg, rgba(59, 130, 246, 0.08), rgba(30, 41, 59, 0.06));
  border-color: rgba(100, 130, 200, 0.14);
}

body.page-hub-sport .index-home-hub .football-live-all-section .football-live-book-body,
body.page-hub-sport .index-home-hub .basketball-live-all-section .basketball-live-book-body {
  background-color: #2b3040;
  background-image: linear-gradient(180deg, rgba(59, 130, 246, 0.05), transparent);
}

body.page-hub-sport .index-home-hub .football-live-all-section .football-live-book-row,
body.page-hub-sport .index-home-hub .basketball-live-all-section .basketball-live-book-row {
  background-color: #2b3040;
  background-image: linear-gradient(180deg, rgba(59, 130, 246, 0.04), transparent);
}

body.page-hub-sport .index-home-hub .football-live-all-section .football-fixtures-row--live {
  background-color: #2b3040;
  background-image: linear-gradient(180deg, rgba(59, 130, 246, 0.045), transparent);
}

/* דף מועדפים — אותם גרדיאנטים/גוונים כמו בלוק הלייב בדף הבית (ללא page-hub / index-home-hub) */
body.football-favorites-page .football-favorites-live-block.football-live-all-section .football-live-book-head,
body.site-favorites-page .football-favorites-live-block.football-live-all-section .football-live-book-head,
body.football-favorites-page .football-favorites-prematch-block.football-live-all-section .football-live-book-head,
body.site-favorites-page .football-favorites-prematch-block.football-live-all-section .football-live-book-head {
  background-image:
    linear-gradient(90deg, rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.12)),
    linear-gradient(90deg, rgba(59, 130, 246, 0.16), rgba(30, 58, 138, 0.1));
}

body.football-favorites-page .football-favorites-live-block.football-live-all-section .football-live-book,
body.site-favorites-page .football-favorites-live-block.football-live-all-section .football-live-book,
body.football-favorites-page .football-favorites-prematch-block.football-live-all-section .football-live-book,
body.site-favorites-page .football-favorites-prematch-block.football-live-all-section .football-live-book {
  background-color: #323848;
  background-image: linear-gradient(180deg, rgba(59, 130, 246, 0.08), rgba(30, 41, 59, 0.06));
  border-color: rgba(100, 130, 200, 0.14);
}

body.football-favorites-page .football-favorites-live-block.football-live-all-section .football-live-book-body,
body.site-favorites-page .football-favorites-live-block.football-live-all-section .football-live-book-body,
body.football-favorites-page .football-favorites-prematch-block.football-live-all-section .football-live-book-body,
body.site-favorites-page .football-favorites-prematch-block.football-live-all-section .football-live-book-body {
  background-color: #2b3040;
  background-image: linear-gradient(180deg, rgba(59, 130, 246, 0.05), transparent);
}

body.football-favorites-page .football-favorites-live-block.football-live-all-section .football-live-book-row,
body.site-favorites-page .football-favorites-live-block.football-live-all-section .football-live-book-row,
body.football-favorites-page .football-favorites-prematch-block.football-live-all-section .football-live-book-row,
body.site-favorites-page .football-favorites-prematch-block.football-live-all-section .football-live-book-row {
  background-color: #2b3040;
  background-image: linear-gradient(180deg, rgba(59, 130, 246, 0.04), transparent);
}

body.football-favorites-page .football-favorites-live-block.football-live-all-section .football-fixtures-row--live,
body.site-favorites-page .football-favorites-live-block.football-live-all-section .football-fixtures-row--live {
  background-color: #2b3040;
  background-image: linear-gradient(180deg, rgba(59, 130, 246, 0.045), transparent);
  box-shadow: none;
  animation: none;
}

/* דף מועדפים — בלי h2 «משחקים חיים»; פס עליון כמו תחת כותרת בלוק לייב */
body.football-favorites-page .football-favorites-live-block--no-section-title.football-live-all-section,
body.site-favorites-page .football-favorites-live-block--no-section-title.football-live-all-section {
  overflow: hidden;
}

body.football-favorites-page .football-favorites-live-block--no-section-title #football-favorites-live-all-content,
body.site-favorites-page .football-favorites-live-block--no-section-title #football-favorites-live-all-content {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

body.site-favorites-page .basketball-favorites-live-block.basketball-live-all-section .basketball-live-book-head {
  background-image:
    linear-gradient(90deg, rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.12)),
    linear-gradient(90deg, rgba(59, 130, 246, 0.16), rgba(30, 58, 138, 0.1));
}

body.site-favorites-page .basketball-favorites-live-block.basketball-live-all-section .basketball-live-book {
  background-color: #323848;
  background-image: linear-gradient(180deg, rgba(59, 130, 246, 0.08), rgba(30, 41, 59, 0.06));
  border-color: rgba(100, 130, 200, 0.14);
}

body.site-favorites-page .basketball-favorites-live-block.basketball-live-all-section .basketball-live-book-body {
  background-color: #2b3040;
  background-image: linear-gradient(180deg, rgba(59, 130, 246, 0.05), transparent);
}

body.site-favorites-page .basketball-favorites-live-block.basketball-live-all-section .basketball-live-book-row {
  background-color: #2b3040;
  background-image: linear-gradient(180deg, rgba(59, 130, 246, 0.04), transparent);
}

body.site-favorites-page .basketball-favorites-live-block--no-section-title.basketball-live-all-section {
  overflow: hidden;
}

body.site-favorites-page .basketball-favorites-live-block--no-section-title #basketball-favorites-live-all-content {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}


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

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

.football-live-all-section .football-live-book-head {
  grid-template-columns: var(--live-fav-w) 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-title {
  grid-column: 1 / 5;
}

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

.football-live-all-section .football-live-book-row {
  grid-template-columns: var(--live-fav-w) 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: "fav meta match score home draw away more";
}

.football-live-all-section .football-live-all-groups[data-live-block-mode="finished"] .football-live-book-head {
  grid-template-columns: var(--live-fav-w) var(--live-meta-w) minmax(0,1fr) var(--live-score-w) var(--live-more-w);
}

.football-live-all-section .football-live-all-groups[data-live-block-mode="finished"] .football-live-book-title {
  grid-column: 1 / 4;
}

.football-live-all-section .football-live-book-row--finished {
  grid-template-columns: var(--live-fav-w) var(--live-meta-w) minmax(0,1fr) var(--live-score-w) var(--live-more-w);
  grid-template-areas: "fav meta match score more";
  background: linear-gradient(180deg, #343946, #303542);
}

.football-live-all-section .football-live-book-row--upcoming {
  background: #363636;
}

.football-live-all-section .football-live-book-row--finished .football-score-cell-live-dot,
.football-live-all-section .football-live-book-row--upcoming .football-score-cell-live-dot {
  display: none;
}

.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-fav-w: 38px;
  --live-meta-w: 82px;
  --live-score-w: 50px;
  --live-quarter-w: 42px;
  --live-market-w: 76px;
  --live-more-w: 42px;
}

/* כותרת ליגה – ליין רץ (שווקים + סה״כ) */
.basketball-live-all-section .basketball-live-book-head {
  grid-template-columns: var(--live-fav-w) var(--live-meta-w) minmax(0,1fr) repeat(3, var(--live-market-w)) var(--live-score-w) var(--live-more-w);
}

.basketball-live-all-section .basketball-live-book:not(.basketball-live-book--finished):not(.basketball-live-book--upcoming) .basketball-live-book-title {
  grid-column: 1 / 4;
}

.basketball-live-all-section .basketball-live-book-quarters-head {
  display: grid;
  grid-template-columns: repeat(4, var(--live-quarter-w));
  grid-column: 4 / 8;
  text-align: center;
  font-size: .65rem;
  font-weight: 700;
  color: rgba(255,255,255,.55);
  align-items: stretch;
}

.basketball-live-all-section .basketball-live-book-quarters-head > span {
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 1px 0 0 rgba(255,255,255,.08);
}

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

.basketball-live-all-section .basketball-live-book-total-head {
  display: flex;
  align-items: center;
  justify-content: center;
  grid-column: 7 / 8;
  font-size: .62rem;
  font-weight: 700;
  color: rgba(255,255,255,.7);
  box-shadow: inset 1px 0 0 rgba(255,255,255,.08);
}

/* הסתיימו */
.basketball-live-all-section .basketball-live-book--finished .basketball-live-book-head {
  grid-template-columns: var(--live-fav-w) var(--live-meta-w) minmax(0,1fr) var(--live-score-w) var(--live-more-w);
}

.basketball-live-all-section .basketball-live-book--finished .basketball-live-book-title {
  grid-column: 1 / 4;
}

/* טרם החלו (בית / חוץ) */
.basketball-live-all-section .basketball-live-book--upcoming .basketball-live-book-head {
  grid-template-columns: var(--live-fav-w) var(--live-meta-w) minmax(0,1fr) var(--live-market-w) var(--live-market-w) var(--live-more-w);
}

.basketball-live-all-section .basketball-live-book--upcoming .basketball-live-book-title {
  grid-column: 1 / 4;
}

.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;
  grid-template-columns: repeat(2, var(--live-market-w));
  grid-column: 4 / 6;
}

.basketball-live-all-section .basketball-live-book-markets-head--live {
  grid-template-columns: repeat(3, var(--live-market-w));
  grid-column: 4 / 7;
  font-size: .62rem;
  color: rgba(255,255,255,.78);
}

.basketball-live-all-section .basketball-live-book-markets-head--live > span:last-child {
  border-left: 1px solid rgba(255,255,255,.09);
  box-shadow: none;
}

.basketball-live-all-section .basketball-live-book:not(.basketball-live-book--finished):not(.basketball-live-book--upcoming) .basketball-live-book-total-head {
  border-right: 1px solid rgba(255,255,255,.09);
}

.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);
}

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

/* שורת ליין רץ */
.basketball-live-all-section .basketball-live-book-row:not(.basketball-live-book-row--finished):not(.basketball-live-book-row--upcoming) {
  grid-template-columns: var(--live-fav-w) var(--live-meta-w) minmax(0,1fr) repeat(3, var(--live-market-w)) var(--live-score-w) var(--live-more-w);
  grid-template-areas: "fav meta match spread total money score more";
}

.basketball-live-all-section .basketball-live-book-row:not(.basketball-live-book-row--finished):not(.basketball-live-book-row--upcoming) .basketball-live-quarter-cell[data-quarter="1"] {
  grid-area: q1;
}
.basketball-live-all-section .basketball-live-book-row:not(.basketball-live-book-row--finished):not(.basketball-live-book-row--upcoming) .basketball-live-quarter-cell[data-quarter="2"] {
  grid-area: q2;
}
.basketball-live-all-section .basketball-live-book-row:not(.basketball-live-book-row--finished):not(.basketball-live-book-row--upcoming) .basketball-live-quarter-cell[data-quarter="3"] {
  grid-area: q3;
}
.basketball-live-all-section .basketball-live-book-row:not(.basketball-live-book-row--finished):not(.basketball-live-book-row--upcoming) .basketball-live-quarter-cell[data-quarter="4"] {
  grid-area: q4;
}

.basketball-live-all-section .basketball-live-book-row-wrap--live {
  display: block;
  background-color: #2b3040;
  background-image: linear-gradient(180deg, rgba(59,130,246,.055), rgba(15,23,42,.035));
}

.basketball-live-all-section .basketball-live-book-row-wrap--live > .basketball-live-book-row:not(.basketball-live-book-row--finished):not(.basketball-live-book-row--upcoming) {
  display: grid;
  background: transparent;
}

.basketball-live-all-section .basketball-live-book-row-wrap--live .basketball-live-book-market--spread {
  grid-area: spread;
}

.basketball-live-all-section .basketball-live-book-row-wrap--live .basketball-live-book-market--total {
  grid-area: total;
}

.basketball-live-all-section .basketball-live-book-row-wrap--live .basketball-live-book-market--money {
  grid-area: money;
  border-left: 1px solid rgba(255,255,255,.09);
  box-shadow: none;
}

.basketball-live-all-section .basketball-live-book-row-wrap--live .basketball-live-book-score {
  border-right: 1px solid rgba(255,255,255,.09);
  box-shadow: none;
}

.basketball-live-all-section .basketball-live-book-row-wrap--live .basketball-league-main-odds-stack {
  font-size: .82rem;
  min-width: 0;
  overflow: hidden;
}

.basketball-live-all-section .basketball-live-book-row-wrap--live .basketball-league-main-odds-line {
  justify-content: center;
  gap: 2px;
  padding: 0 2px;
  min-width: 0;
  overflow: hidden;
}

.basketball-live-all-section .basketball-live-book-row-wrap--live .basketball-league-main-odds-label {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 52%;
  font-size: .66em;
  font-weight: 700;
  text-align: end;
  overflow: hidden;
  text-overflow: ellipsis;
}

.basketball-live-all-section .basketball-live-book-row-wrap--live .basketball-league-main-odds-num {
  font-size: .98em;
  font-weight: 800;
  flex: 0 0 auto;
}

.basketball-live-all-section .basketball-live-book-row--finished {
  grid-template-columns: var(--live-fav-w) var(--live-meta-w) minmax(0,1fr) var(--live-score-w) var(--live-more-w);
  grid-template-areas: "fav meta match score more";
  background: linear-gradient(180deg, #343946, #303542);
}

.basketball-live-all-section .basketball-live-book-row--upcoming {
  grid-template-columns: var(--live-fav-w) var(--live-meta-w) minmax(0,1fr) var(--live-market-w) var(--live-market-w) var(--live-more-w);
  grid-template-areas: "fav meta match home away more";
  background-color: #2b3040;
  background-image: linear-gradient(180deg, rgba(59,130,246,.045), rgba(15,23,42,.035));
}

.basketball-live-all-section .basketball-live-book-markets-row {
  display: block;
  min-height: 0;
  padding: 0;
  background: linear-gradient(180deg, rgba(30,41,59,.78), rgba(15,23,42,.5));
  border-top: 1px solid rgba(255,255,255,.07);
  overflow: hidden;
  width: 100%;
  box-sizing: border-box;
}

.basketball-live-all-section .basketball-live-book-row-wrap--live .basketball-live-book-markets-row {
  grid-column: 4 / 9;
  grid-row: 2 / 4;
  border-top: 0;
}

.basketball-live-all-section .basketball-live-book-markets-row-main {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: 24px 64px;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  background: transparent;
}

.basketball-live-all-section .basketball-live-book-markets-row-head {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  color: rgba(255,255,255,.78);
  font-size: .62rem;
  font-weight: 700;
  background: rgba(59,130,246,.09);
}

.basketball-live-all-section .basketball-live-book-markets-row-head > span {
  display: flex;
  align-items: center;
  justify-content: center;
}

.basketball-live-all-section .basketball-live-book-markets-row-cells {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  min-width: 0;
}

.basketball-live-all-section .basketball-live-book-markets-row .basketball-live-book-market {
  min-height: 58px;
}

.basketball-live-all-section .basketball-live-book-markets-row .football-live-tab {
  min-height: 58px;
}

.basketball-live-all-section .basketball-league-main-odds-stack {
  display: grid;
  grid-template-rows: 1fr 1fr;
  width: 100%;
  height: 100%;
  line-height: 1;
}

.basketball-live-all-section .basketball-league-main-odds-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  min-height: 0;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  padding: 0 8px;
  direction: ltr;
}

.basketball-live-all-section .basketball-league-main-odds-line + .basketball-league-main-odds-line {
  border-top: 1px solid rgba(255,255,255,.06);
}

.basketball-live-all-section .basketball-league-main-odds-label {
  color: rgba(255,255,255,.74);
  font-size: .58em;
  font-weight: 600;
  direction: rtl;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.basketball-live-all-section .basketball-league-main-odds-num {
  color: var(--lb-odds, #facc15);
  font-weight: 800;
  font-size: .86em;
  flex: 0 0 auto;
  direction: ltr;
}

.basketball-live-all-section .basketball-score-cell-live--break-ht .basketball-live-time,
.basketball-live-all-section .basketball-score-cell-live--break-bt .basketball-live-time {
  font-size: .62rem;
  line-height: 1.05;
}

.basketball-live-match-status--stacked {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  line-height: 1.05;
}

.basketball-live-status-quarter {
  font-size: .62rem;
  font-weight: 700;
  color: rgba(255,255,255,.78);
}

.basketball-live-status-minute {
  font-size: .78rem;
  font-weight: 800;
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.basketball-live-status-live {
  font-size: .58rem;
  font-weight: 900;
  color: #86efac;
  letter-spacing: .04em;
}

.basketball-live-all-section .basketball-live-book-row--finished .basketball-score-cell-live-dot,
.basketball-live-all-section .basketball-live-book-row--upcoming .basketball-score-cell-live-dot {
  display: none;
}

.basketball-live-quarter-cell {
  display: grid;
  grid-template-rows: 1fr 1fr;
  align-items: stretch;
  text-align: center;
  font-size: .75rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: rgba(255,255,255,.7);
  box-shadow: inset 1px 0 0 rgba(255,255,255,.06);
}

.basketball-live-quarter-cell--active {
  background: rgba(34,197,94,.12);
  color: #fff;
  font-weight: 700;
  box-shadow: inset 0 -2px 0 rgba(34,197,94,.5), inset 1px 0 0 rgba(255,255,255,.06);
}

.basketball-live-quarter-home,
.basketball-live-quarter-away {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
}

.basketball-live-quarter-away {
  border-top: 1px solid rgba(255,255,255,.06);
}

/* 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: .68rem;
    padding: 5px 8px;
    min-width: 24px;
    min-height: 22px;
    line-height: 1.1;
  }

  /* Football mobile grid – עמודות יחסים צרות יותר כדי שלא שמות הקבוצות יידחקו לתוך היחסים */
  .football-live-all-section .football-live-book {
    --live-fav-w: 30px;
    --live-meta-w: 44px;
    --live-score-w: 30px;
    --live-market-w: 46px;
    --live-more-w: 30px;
    margin-bottom: 6px;
    border-radius: 0;
  }

  .football-live-all-section .football-live-book-head {
    grid-template-columns: var(--live-fav-w) 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-fav-w) 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: "fav 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));
    grid-column: 5 / 8;
    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-fav-w: 30px;
    --live-meta-w: 48px;
    --live-score-w: 36px;
    --live-quarter-w: 30px;
    --live-market-w: 46px;
    --live-more-w: 34px;
    margin-bottom: 6px;
    border-radius: 0;
  }

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

  .basketball-live-all-section .basketball-live-book:not(.basketball-live-book--finished):not(.basketball-live-book--upcoming) .basketball-live-book-title {
    grid-column: 1 / 4;
  }

  .basketball-live-all-section .basketball-live-book-quarters-head {
    font-size: .54rem;
    grid-template-columns: repeat(4, var(--live-quarter-w));
    grid-column: 4 / 8;
  }

  .basketball-live-all-section .basketball-live-book-total-head {
    font-size: .54rem;
    grid-column: 7 / 8;
  }

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

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

  .basketball-live-all-section .basketball-live-book-markets-head {
    grid-template-columns: repeat(2, var(--live-market-w));
    grid-column: 4 / 6;
    font-size: .56rem;
  }

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

  .basketball-live-all-section .basketball-live-book-row:not(.basketball-live-book-row--finished):not(.basketball-live-book-row--upcoming) {
    grid-template-columns: var(--live-fav-w) var(--live-meta-w) minmax(0,1fr) repeat(3, var(--live-market-w)) var(--live-score-w) var(--live-more-w);
    grid-template-areas: "fav meta match spread total money score more";
    min-height: 52px;
  }

  .basketball-live-all-section .basketball-live-book-row-wrap--live {
    display: block;
  }

  .basketball-live-all-section .basketball-live-book-row-wrap--live .basketball-league-main-odds-stack {
    font-size: .72rem;
  }

  .basketball-live-all-section .basketball-live-book-row-wrap--live .basketball-league-main-odds-line {
    gap: 1px;
    padding: 0 1px;
  }

  .basketball-live-all-section .basketball-live-book-row-wrap--live .basketball-league-main-odds-label {
    max-width: 48%;
  }

  .basketball-live-all-section .basketball-live-book-row-wrap--live .basketball-league-main-odds-num {
    font-size: .96em;
  }

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

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

  .basketball-live-all-section .basketball-live-book-markets-row {
    padding: 0;
    min-height: 0;
  }

  .basketball-live-all-section .basketball-live-book-markets-row-main {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: 18px 54px;
  }

  .basketball-live-all-section .basketball-live-book-markets-row-head {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    font-size: .52rem;
  }

  .basketball-live-all-section .basketball-live-book-markets-row-cells {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .basketball-live-all-section .basketball-live-book-markets-row .basketball-live-book-market,
  .basketball-live-all-section .basketball-live-book-markets-row .football-live-tab {
    min-height: 54px;
  }

  .basketball-live-all-section .basketball-league-main-odds-line {
    gap: 2px;
    padding: 0 3px;
  }

  .basketball-live-all-section .basketball-league-main-odds-label {
    font-size: .45em;
  }

  .basketball-live-all-section .basketball-league-main-odds-num {
    font-size: .78em;
  }

  .basketball-live-status-quarter {
    font-size: .5rem;
  }

  .basketball-live-status-minute {
    font-size: .66rem;
  }

  .basketball-live-status-live {
    font-size: .48rem;
  }

  .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-quarter-cell {
    font-size: .65rem;
  }

  /* 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 .football-live-tab-odds {
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: -0.02em;
  }

  .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: 26px;
    height: 26px;
  }

  .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 {
    gap: 6px;
    padding: 4px 2px;
  }

  .football-live-all-section .football-live-book-more .football-live-book-more-count {
    height: 13px;
    padding: 0 3px;
    font-size: .58rem;
  }

  .basketball-favorite-toggle {
    width: 30px;
    height: 30px;
  }

  .basketball-favorite-toggle .football-favorite-star {
    width: 1.18rem;
    height: 1.18rem;
  }

  .basketball-favorite-toggle--row {
    width: 24px;
    height: 24px;
  }

  .football-live-all-section .football-live-book-meta,
  .basketball-live-all-section .basketball-live-book-meta {
    padding: 0;
    gap: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* ── עיצוב תא ה-"דקה / LIVE" בנייד ──
     מבנה: דקה (sub) למעלה, "LIVE" + נקודה אדומה (main) מתחתיה. נקי, ללא רקעים
     מיותרים. במצבי הפסקה (HT/BT) שומרים על הסדר המקורי. */
  .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: .55rem;
    padding: 5px 1px 4px;
    gap: 5px;
    width: 100%;
    min-height: 100%;
    text-align: center;
    align-items: center;
    justify-content: center;
  }

  /* הדקה כבר מסודרת למעלה דרך order; אין היפוך סדר בנייד */
  .football-live-all-section .football-live-book-meta .football-score-cell-live:not(.football-score-cell-live--break-ht):not(.football-score-cell-live--break-bt),
  .basketball-live-all-section .basketball-live-book-meta .basketball-score-cell-live:not(.basketball-score-cell-live--break-ht):not(.basketball-score-cell-live--break-bt) {
    flex-direction: column;
  }

  /* קונטיינר שורת ה-"LIVE" + הנקודה – פשוט inline-flex ממורכז, ללא רקע */
  .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 {
    gap: 2px;
    justify-content: center;
    align-items: center;
    line-height: 1;
    opacity: .68;
    margin-top: 1px;
  }

  /* "LIVE" – uppercase, באותו ירוק של ההורה */
  .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: .42rem;
    line-height: 1;
    text-align: center;
    letter-spacing: .06em;
    font-weight: 800;
    text-transform: uppercase;
    color: rgba(255,255,255,.64);
  }

  /* הדקה – שורה עליונה, פרופורציונלית לעמודה הצרה (~48px) */
  .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: clamp(1.08rem, 3.85vw, 1.32rem);
    font-weight: 900;
    line-height: .88;
    text-align: center;
    color: rgba(255,255,255,.78);
    font-variant-numeric: tabular-nums;
    letter-spacing: 0;
  }

  .football-live-all-section .football-live-book-meta .football-score-cell-live--upcoming .football-score-cell-live-sub,
  .basketball-live-all-section .basketball-live-book-meta .basketball-score-cell-live--upcoming .basketball-score-cell-live-sub {
    font-size: .72rem;
    line-height: 1;
    white-space: nowrap;
  }

  .football-live-all-section .football-live-book-meta .football-score-cell-live--upcoming .football-fixtures-live-time,
  .football-live-all-section .football-live-book-meta .football-score-cell-live--finished .football-fixtures-live-time,
  .basketball-live-all-section .basketball-live-book-meta .basketball-score-cell-live--upcoming .basketball-live-time,
  .basketball-live-all-section .basketball-live-book-meta .basketball-score-cell-live--finished .basketball-live-time {
    font-size: .46rem;
    line-height: 1.05;
    text-transform: none;
  }

  .football-live-all-section .football-live-book-meta .football-live-minute-extra {
    font-size: .36em;
    margin-top: 2px;
  }

  /* הנקודה האדומה המהבהבת ליד "LIVE" */
  .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;
    display: inline-block;
  }

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

  /* מצב הפסקה – הסדר רגיל, "main" הוא הכותרת ("הפסקה") ו-"sub" התיאור */
  .football-live-all-section .football-live-book-meta .football-score-cell-live--break-ht .football-fixtures-live-time,
  .football-live-all-section .football-live-book-meta .football-score-cell-live--break-bt .football-fixtures-live-time,
  .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-bt .basketball-live-time {
    font-size: .58rem;
    text-transform: none;
    letter-spacing: 0;
    font-weight: 700;
    color: #fff;
  }
  .football-live-all-section .football-live-book-meta .football-score-cell-live--break-ht .football-score-cell-live-sub,
  .football-live-all-section .football-live-book-meta .football-score-cell-live--break-bt .football-score-cell-live-sub,
  .basketball-live-all-section .basketball-live-book-meta .basketball-score-cell-live--break-ht .basketball-score-cell-live-sub,
  .basketball-live-all-section .basketball-live-book-meta .basketball-score-cell-live--break-bt .basketball-score-cell-live-sub {
    font-size: .42rem;
    font-weight: 500;
    color: rgba(255,255,255,.75);
  }

  .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-inline-start: none;
  }

  .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 .football-live-all-empty,
  .index-home-hub .basketball-live-all-empty {
    padding: 16px 10px;
    font-size: .82rem;
  }

  .index-home-hub .football-live-empty-bg-icon,
  .index-home-hub .basketball-live-empty-bg-icon {
    left: -14px;
    bottom: -20px;
    width: 88px;
    height: 88px;
  }
}

/* מסכים צרים מאוד (למשל 320–375px) – עוד מקום לשמות קבוצות, יחסים קומפקטיים */
@media (max-width: 420px) {
  .football-live-all-section .football-live-book {
    --live-fav-w: 28px;
    --live-meta-w: 40px;
    --live-score-w: 28px;
    --live-market-w: 40px;
    --live-more-w: 28px;
  }

  .basketball-live-all-section .basketball-live-book {
    --live-fav-w: 28px;
    --live-meta-w: 40px;
    --live-score-w: 28px;
    --live-quarter-w: 26px;
    --live-market-w: 40px;
    --live-more-w: 28px;
  }

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

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

  .football-live-all-section .football-live-book-team-line .football-fixtures-team {
    padding: 2px 4px;
    gap: 4px;
  }

  .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 {
    width: 16px;
    height: 16px;
  }
}

@media (max-width: 640px) {
  .football-live-all-header {
    padding: 9px 10px;
    gap: 8px;
  }

  .football-live-all-header .football-live-all-title {
    padding: 0;
    font-size: .82rem;
  }

  .football-live-all-tabs {
    gap: 2px;
    padding: 2px;
  }

  .football-live-all-tab {
    padding: 6px 8px;
    font-size: .68rem;
  }

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

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

  .football-live-all-section .football-live-all-groups[data-live-block-mode="finished"] .football-live-book-head {
    grid-template-columns: var(--live-fav-w) var(--live-meta-w) minmax(0,1fr) var(--live-score-w) var(--live-more-w);
  }

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

/* 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;
  }
}
