/**
 * כדורסל – התאמות CSS (נטען אחרי football.css שמספק את הפריסה הבסיסית)
 */

/* ========== תוצאות רבעים – טבלה במשחק בודד ========== */
.basketball-quarter-scores {
  margin: 0 18px 12px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.basketball-quarter-scores-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  font-variant-numeric: tabular-nums;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  overflow: hidden;
}

.basketball-quarter-scores-table thead {
  background: rgba(255, 255, 255, 0.06);
}

.basketball-quarter-scores-table th {
  padding: 8px 10px;
  font-weight: 600;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  text-align: center;
  white-space: nowrap;
}

.basketball-quarter-scores-table td {
  padding: 8px 10px;
  text-align: center;
  color: rgba(255, 255, 255, 0.85);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.basketball-quarter-scores-team {
  text-align: right !important;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.basketball-quarter-scores-total {
  font-weight: 800;
  color: #fff;
  background: rgba(249, 115, 22, 0.12);
}

thead .basketball-quarter-scores-total {
  background: rgba(249, 115, 22, 0.18);
  color: rgba(255, 255, 255, 0.75);
}

/* ========== בג׳ סטטוס לייב כדורסל – רבעים ========== */
.basketball-live-match-status {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

/* ========== שוק ראשי 1/2 (ללא X) ========== */
.basketball-markets-head {
  grid-template-columns: 1fr 1fr;
}

.basketball-markets-head span {
  text-align: center;
}

/* ========== דף ליגה – שורות משחקים ========== */
.basketball-fixtures-row {
  cursor: pointer;
}

.basketball-games-wrap {
  min-height: 120px;
}

.basketball-empty-state {
  padding: 32px 16px;
  text-align: center;
}

/* ========== טאבים במשחק בודד ========== */
.basketball-single-match-tabs {
  margin: 0;
}

/* ========== סטטיסטיקות עם צדדים ========== */
.basketball-stats-with-sides {
  margin-top: 8px;
}

/* ========== טבלת ליגה ========== */
.basketball-league-standings-card {
  margin-top: 16px;
}

/* ========== הימורים זמינים – פאנל ========== */
.basketball-odds-panel {
  width: 100%;
}

/* ========== בלוק לייב בדף הבית – פריסת גריד (מקביל ל-.football-live-all-section + .football-live-book) ========== */
/* ה-HTML משתמש ב-basketball-live-*; כללי הלייב ב-football.css חלים רק על football-live-* — בלי זה השורות מוצגות כטקסט אנכי */

/* כותרת מדינה + מונה LIVE אדום (כמו כדורגל) */
.basketball-live-all-section .basketball-live-all-groups {
  padding: 0;
}

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

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

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

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

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

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

.basketball-live-all-section .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, 0.7);
  margin-inline-end: 4px;
  transition: transform 0.2s ease;
  transform: rotate(0deg);
  flex-shrink: 0;
}

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

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

.basketball-live-all-section .basketball-live-all-country-flag {
  width: 22px;
  height: 22px;
  object-fit: contain;
  border-radius: 2px;
  flex-shrink: 0;
}

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

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

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

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

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

/* דף הבית — צפיפות כמו כרטיסיית כדורגל */
.index-home-hub .basketball-live-all-section .basketball-live-all-country-head {
  padding: 9px 12px;
}

.index-home-hub .basketball-live-all-section .basketball-live-all-country-head-live-wrap {
  margin-block: -9px;
}

.index-home-hub .basketball-live-all-section .basketball-live-all-country-name {
  font-size: 0.8rem;
}

/* עטיפת משחק: שורת גריד + פירוט רבעים */
.basketball-live-all-section .basketball-live-book-body > .basketball-live-book-row-wrap {
  border-bottom: 1px solid rgba(255, 255, 255, 0.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-quarter-breakdown {
  padding: 8px 10px 10px;
  background: rgba(0, 0, 0, 0.22);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

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

.basketball-live-all-section .basketball-live-book-quarter-table thead th {
  font-weight: 700;
  font-size: 0.65rem;
  text-transform: none;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.55);
  padding: 4px 6px;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.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: 0.68rem;
  color: rgba(255, 255, 255, 0.65);
  padding: 6px 8px;
  text-align: right;
  white-space: nowrap;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.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, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

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

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

.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, 0.12);
  font-size: 0.75rem;
  font-variant-numeric: tabular-nums;
}

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

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

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

.basketball-live-all-section .basketball-live-book {
  --live-meta-w: 92px;
  --live-score-w: 46px;
  --live-market-w: 78px;
  --live-more-w: 42px;
  margin-bottom: 10px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 0;
  overflow: hidden;
  background: #3d3d3d;
}

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

.basketball-live-all-section .basketball-live-book-head {
  display: grid;
  grid-template-columns: var(--live-meta-w) minmax(0, 1fr) var(--live-score-w) var(--live-market-w) var(--live-market-w) var(--live-more-w);
  align-items: stretch;
  padding: 0;
  background: #4a4a4a;
  color: #fff;
  direction: rtl;
  min-height: 40px;
}

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

.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: 30px;
  box-sizing: border-box;
  border-radius: 0 0 8px 8px;
  background: linear-gradient(180deg, rgba(203, 213, 225, 0.92) 0%, rgba(100, 116, 139, 0.95) 100%);
  border: 1px solid rgba(203, 213, 225, 0.24);
}

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

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

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

.basketball-live-all-section .basketball-live-book-markets-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  text-align: center;
  font-size: 0.74rem;
  font-weight: 700;
  color: #fff;
  direction: rtl;
  grid-column: 4 / 6;
  width: 100%;
  box-sizing: border-box;
  box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.08);
  align-items: stretch;
}

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

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

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

.basketball-live-all-section .basketball-live-book-row {
  display: grid;
  grid-template-columns: var(--live-meta-w) minmax(0, 1fr) var(--live-score-w) var(--live-market-w) var(--live-market-w) var(--live-more-w);
  grid-template-areas: "meta match score home away more";
  align-items: stretch;
  background: #363636;
  min-height: 58px;
}

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

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

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

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

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

.basketball-live-all-section .basketball-live-book-meta .basketball-score-cell-live-dot {
  width: 4px;
  height: 4px;
  border-radius: 0;
  background: #ef4444;
  flex-shrink: 0;
  animation: football-live-dot-tick 1.2s ease-in-out infinite;
}

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

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

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

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

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

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

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

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

.basketball-live-all-section .basketball-live-book-team-line .basketball-live-team {
  min-height: 0;
  height: 100%;
  width: 100%;
  padding: 4px 10px;
  display: flex;
  direction: rtl;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  background: transparent;
  border: none;
  border-radius: 0;
  max-width: none;
}

.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: 20px;
  height: 20px;
  flex-shrink: 0;
}

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

.basketball-live-all-section .basketball-live-book-team-line .basketball-live-team-name {
  font-size: 0.88rem;
  color: #fff;
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
  text-align: right;
}

.basketball-live-all-section .basketball-live-book-score {
  grid-area: score;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  align-self: stretch;
  padding: 0;
  min-width: 0;
  gap: 4px;
}

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

.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: 22px;
  font-size: 0.84rem;
  font-weight: 800;
  color: #fff;
}

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

.basketball-live-all-section .basketball-live-book-market--home {
  grid-area: home;
}

.basketball-live-all-section .basketball-live-book-market--away {
  grid-area: away;
}

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

.basketball-live-all-section .basketball-live-book-market .basketball-live-tab {
  width: 100%;
  height: 100%;
  min-height: 100%;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  position: relative;
  overflow: hidden;
  transition: color 0.2s ease, background 0.2s ease;
  text-decoration: none;
  color: inherit;
}

.basketball-live-all-section .basketball-live-book-market .basketball-live-tab::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: rgba(245, 197, 24, 0.5);
  transition: transform 0.2s ease, background 0.2s ease;
  transform: scaleX(0);
  transform-origin: center;
}

.basketball-live-all-section .basketball-live-book-market .basketball-live-tab-odds {
  font-size: 0.88rem;
  font-weight: 700;
  color: #d9d14c;
  transition: color 0.2s ease;
}

.basketball-live-all-section .basketball-live-book-market .basketball-live-tab:hover .basketball-live-tab-odds {
  color: #fff2a8;
}

.basketball-live-all-section .basketball-live-book-market .basketball-live-tab:hover,
.basketball-live-all-section .basketball-live-book-market .basketball-live-tab[aria-selected="true"] {
  background: rgba(255, 255, 255, 0.06);
}

.basketball-live-all-section .basketball-live-book-market .basketball-live-tab:hover::after,
.basketball-live-all-section .basketball-live-book-market .basketball-live-tab[aria-selected="true"]::after {
  transform: scaleX(1);
}

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

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

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

.basketball-live-all-section .basketball-live-book-more .basketball-live-all-bets-icon {
  display: block;
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.88);
  opacity: 0.82;
  transition: color 0.22s ease, opacity 0.22s ease;
}

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

@media (max-width: 768px) {
  .basketball-live-all-section .basketball-live-book {
    --live-meta-w: 48px;
    --live-score-w: 36px;
    --live-market-w: 54px;
    --live-more-w: 34px;
    margin-bottom: 6px;
    border-radius: 0;
  }

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

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

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

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

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

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

  .basketball-live-all-section .basketball-live-all-country-head {
    padding: 8px 10px;
  }

  .basketball-live-all-section .basketball-live-all-country-head-live-wrap {
    margin-block: -8px;
  }

  .basketball-live-all-section .basketball-live-all-country-name {
    font-size: 0.75rem;
  }

  .basketball-live-all-section .basketball-live-all-country-count {
    font-size: 0.65rem;
    padding: 0 6px;
    min-width: 24px;
  }

  .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: 0.7rem;
  }
}

/* ========== בחירת תאריך ========== */
#basketball-date-input {
  direction: ltr;
}

/* ========== רספונסיבי ========== */
@media (max-width: 600px) {
  .basketball-quarter-scores {
    margin: 0 10px 10px;
  }

  .basketball-quarter-scores-table th,
  .basketball-quarter-scores-table td {
    padding: 6px 5px;
    font-size: 0.75rem;
  }

  .basketball-quarter-scores-team {
    max-width: 90px;
  }
}

/* מצב דמו – באנר */
.basketball-demo-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin: 0 0 16px;
  padding: 12px 16px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(245, 197, 24, 0.15) 0%, rgba(34, 197, 94, 0.12) 100%);
  border: 1px solid rgba(245, 197, 24, 0.35);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.9rem;
  line-height: 1.45;
}

.basketball-demo-banner-badge {
  flex-shrink: 0;
  padding: 4px 10px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  background: rgba(245, 197, 24, 0.9);
  color: #1a1a1a;
}

.basketball-demo-banner-text {
  flex: 1 1 220px;
  min-width: 0;
}
