.match-date-input {
  padding: 0.5rem 0.65rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.35);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.75rem;
  line-height: 1.25;
  min-height: 2.25rem;
  color-scheme: dark;
}
.match-date-input:focus {
  outline: none;
  border-color: rgba(168, 85, 247, 0.55);
  box-shadow: 0 0 0 1px rgba(168, 85, 247, 0.25);
}

.date-scroller::-webkit-scrollbar {
  height: 4px;
}
.date-scroller::-webkit-scrollbar-thumb {
  background: rgba(168, 85, 247, 0.4);
  border-radius: 4px;
}

/* --- Kotak panel (populer & jadwal) --- */
.tm-popular-section,
.tm-schedule-section {
  margin-bottom: 2.5rem;
}

.tm-popular-box,
.tm-schedule-box {
  border-radius: 1rem;
  border: 1px solid rgba(168, 85, 247, 0.22);
  background: linear-gradient(
    165deg,
    rgba(15, 23, 42, 0.65) 0%,
    rgba(0, 0, 0, 0.45) 50%,
    rgba(30, 27, 75, 0.35) 100%
  );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 0 0 1px rgba(0, 0, 0, 0.2),
    0 8px 40px rgba(124, 58, 237, 0.12);
  padding: 1.15rem 1.2rem 1.25rem;
}

@media (min-width: 768px) {
  .tm-popular-box,
  .tm-schedule-box {
    padding: 1.35rem 1.5rem 1.5rem;
  }
}

.tm-popular-box-head,
.tm-schedule-box-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* ---------- Schedule Table (refactor) ---------- */
.tm-schedule-scroll {
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.22);
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
}

.tm-schedule-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8125rem;
  table-layout: auto;
}

.tm-schedule-table thead th {
  padding: 0.75rem 0.65rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  white-space: nowrap;
}

.tm-schedule-table tbody td {
  padding: 0.7rem 0.65rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  vertical-align: middle;
}

.tm-schedule-tr:hover {
  background: rgba(255, 255, 255, 0.025);
}

.tm-schedule-tr:last-child td {
  border-bottom: none;
}

/* Kolom: Date */
.tm-col-date {
  width: 5.25rem;
}
.tm-date-chip {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: rgba(255, 255, 255, 0.7);
  font-family: ui-monospace, monospace;
}

/* Kolom: League */
.tm-col-league {
  width: 10rem;
}
.tm-league-cell {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
}
.tm-table-league-logo {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 0.25rem;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
}
.tm-league-name {
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Kolom: Teams matchup */
.tm-col-teams {
  min-width: 14rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.tm-schedule-matchup {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
  flex: 1 1 auto;
}
.tm-cluster {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  min-width: 0;
  flex: 1 1 0;
}
.tm-cluster--home {
  justify-content: flex-end;
}
.tm-cluster--away {
  justify-content: flex-start;
}
.tm-team-ic {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 999px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
}
.tm-team-name {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #fff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.tm-vs {
  flex: 0 0 auto;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.4);
  text-transform: lowercase;
  padding: 0 0.1rem;
}

/* Kolom: Time */
.tm-col-time {
  width: 6.5rem;
}
.tm-time-main {
  font-family: ui-monospace, monospace;
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  letter-spacing: 0.01em;
}
.tm-time-sub {
  margin-top: 0.2rem;
  font-size: 0.6875rem;
  font-family: ui-monospace, monospace;
  font-weight: 600;
}
.tm-time-sub--live {
  color: #22c55e;
}
.tm-time-sub--score {
  color: rgb(207, 250, 254);
}

/* Kolom: Prediksi & Live buttons */
.tm-col-pred {
  width: 6.25rem;
}
.tm-col-live {
  width: 3.25rem;
}

.tm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.4rem 0.65rem;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: 0.5rem;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background 0.15s ease,
    border-color 0.15s ease;
}
.tm-btn--pred {
  background: linear-gradient(
    135deg,
    rgba(124, 58, 237, 0.35),
    rgba(168, 85, 247, 0.18)
  );
  border: 1px solid rgba(168, 85, 247, 0.45);
  color: #fff;
}
.tm-btn--pred-locked {
  background: rgba(168, 85, 247, 0.08);
  border-color: rgba(168, 85, 247, 0.2);
  color: rgba(255, 255, 255, 0.4);
  cursor: not-allowed;
}
.tm-btn--pred:hover {
  background: linear-gradient(
    135deg,
    rgba(124, 58, 237, 0.5),
    rgba(168, 85, 247, 0.3)
  );
}
.tm-btn--live {
  background: linear-gradient(
    135deg,
    rgba(124, 58, 237, 0.45),
    rgba(59, 130, 246, 0.35)
  );
  border: 1px solid rgba(167, 139, 250, 0.5);
  color: #fff;
  box-shadow: 0 0 18px rgba(124, 58, 237, 0.25);
  padding: 0.4rem 0.5rem;
}
.tm-btn--live:hover {
  filter: brightness(1.1);
}

.tm-btn-ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.tm-empty-cell {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.75rem;
}

/* Mobile compact (< 768px) */
@media (max-width: 767px) {
  .tm-schedule-table {
    font-size: 0.75rem;
  }

  .tm-schedule-table thead th,
  .tm-schedule-table tbody td {
    padding: 0.6rem 0.55rem;
  }

  .tm-col-date {
    width: 4rem;
  }
  .tm-col-time {
    width: 4.25rem;
  }
  .tm-col-pred {
    width: 5.5rem;
  }
  .tm-col-live {
    width: 2.75rem;
  }
  .tm-col-teams {
    min-width: 11rem;
  }

  .tm-team-name {
    font-size: 0.75rem;
  }
  .tm-team-ic {
    width: 1.25rem;
    height: 1.25rem;
  }

  .tm-btn--pred,
  .tm-btn--live {
    padding: 0.35rem 0.55rem;
    font-size: 0.625rem;
  }
}

/* Tablet (md, 768-1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
  .tm-league-name {
    font-size: 0.6875rem;
    max-width: 6rem;
  }
  .tm-col-league {
    width: 8rem;
  }
}

.tm-schedule-empty {
  margin: 0;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.875rem;
  padding: 1.75rem 1rem;
  text-align: center;
  border-radius: 0.75rem;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
}

.tm-status-pill {
  display: inline-block;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.3rem 0.5rem;
  border-radius: 0.375rem;
  border: 1px solid transparent;
  white-space: nowrap;
}
.tm-status-pill--live {
  color: rgba(167, 243, 208, 0.95);
  background: rgba(16, 185, 129, 0.2);
  border-color: rgba(52, 211, 153, 0.35);
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.15);
}
.tm-status-pill--upcoming {
  color: rgba(226, 232, 240, 0.9);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
}
.tm-status-pill--finished {
  color: rgba(199, 210, 254, 0.88);
  background: rgba(99, 102, 241, 0.15);
  border-color: rgba(129, 140, 248, 0.3);
}

.tm-popular-empty {
  margin: 0;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.875rem;
  padding: 1.75rem 1rem;
  text-align: center;
  border-radius: 0.75rem;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
}

/* --- Pertandingan populer: daftar kartu di dalam kotak --- */
.tm-popular-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.tm-pop-card[data-detail-href] { cursor: pointer; }

.tm-pop-card {
  border-radius: 1rem;
  border: 1px solid rgba(168, 85, 247, 0.28);
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.07) 0%,
    rgba(255, 255, 255, 0.02) 100%
  );
  padding: 1rem 1.1rem;
  box-shadow: 0 0 28px rgba(124, 58, 237, 0.12);
}

.tm-pop-card-grid {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.25rem;
}

.tm-pop-home {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  flex: 1 1 220px;
  min-width: 0;
}

.tm-pop-home-logo {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.75rem;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}

.tm-pop-home-logo--ph {
  display: block;
}

.tm-pop-home-text {
  min-width: 0;
  padding-top: 0.125rem;
}

.tm-pop-home-name {
  font-weight: 700;
  color: rgba(255, 255, 255, 0.96);
  font-size: 0.875rem;
  line-height: 1.25;
}

@media (min-width: 768px) {
  .tm-pop-home-logo {
    width: 4rem;
    height: 4rem;
  }
  .tm-pop-home-name {
    font-size: 1rem;
  }
}

.tm-pop-home-meta {
  margin-top: 0.35rem;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.4;
}

.tm-pop-home-time {
  margin-top: 0.2rem;
  font-family: ui-monospace, monospace;
  color: rgba(216, 180, 254, 0.95);
}

.tm-pop-meta {
  flex: 1 1 160px;
  min-width: 0;
  padding-left: 0;
  border-left: none;
}

.tm-pop-meta-label {
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 0.25rem;
}

.tm-pop-meta-league {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.tm-pop-league-logo {
  width: 1.25rem;
  height: 1.25rem;
  object-fit: contain;
  border-radius: 0.25rem;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.06);
}

.tm-pop-league-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tm-pop-meta-sublabel {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 0.2rem;
}

.tm-pop-meta-away {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.tm-pop-away-logo {
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.08);
}

.tm-pop-away-logo--ph {
  border: 1px dashed rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
}

.tm-pop-away-name {
  font-weight: 600;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.9);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tm-pop-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.5rem;
  flex: 1 1 200px;
  min-width: min(12rem, 100%);
}

.tm-pop-actions-time {
  text-align: left;
}

.tm-pop-kick-display {
  font-family: ui-monospace, monospace;
  font-size: 1.125rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}

.tm-pop-live-line {
  margin-top: 0.25rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(52, 211, 153, 0.95);
}

.tm-pop-live-dot {
  display: inline-block;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 999px;
  background: rgb(52, 211, 153);
  margin-right: 0.35rem;
  vertical-align: middle;
  animation: tm-pulse 1.5s ease-in-out infinite;
}

@keyframes tm-pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.45;
  }
}

.tm-pop-score-live,
.tm-pop-score-fin {
  margin-top: 0.2rem;
  font-family: ui-monospace, monospace;
  font-size: 0.875rem;
  font-weight: 700;
}

.tm-pop-score-fin {
  color: rgba(207, 250, 254, 0.92);
}

.tm-pop-score-live {
  color: rgba(255, 255, 255, 0.95);
}

.score-pen {
  color: var(--accent-gold);
  font-size: 0.8em;
  font-weight: 600;
}

.tm-pop-status-tag {
  margin-top: 0.25rem;
  font-size: 0.625rem;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
}

.tm-pop-btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-start;
}

@media (max-width: 639px) {
  .tm-pop-card {
    padding: 0.5rem 0.7rem;
  }

  .tm-pop-card-grid {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.5rem;
  }

  .tm-pop-home {
    order: 1;
    flex: 1 1 0;
    align-items: center;
    gap: 0.4rem;
    min-width: 0;
  }
  .tm-pop-home-logo { width: 1.6rem; height: 1.6rem; border-radius: 0.4rem; }
  .tm-pop-home-text { padding-top: 0; min-width: 0; }
  .tm-pop-home-name {
    font-size: 0.8rem;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .tm-pop-home-meta { display: none; }

  .tm-pop-actions {
    order: 2;
    flex: 0 0 auto;
    width: auto;
    min-width: 0;
    align-items: center;
    gap: 0;
    border-top: none;
    padding-top: 0;
  }
  .tm-pop-actions-time { text-align: center; }
  .tm-pop-kick-display { font-size: 0.8rem; }
  .tm-pop-live-line { margin-top: 0; font-size: 0.6rem; }
  .tm-pop-score-live,
  .tm-pop-score-fin { margin-top: 0.1rem; font-size: 0.8rem; }
  .tm-pop-status-tag { margin-top: 0; }
  .tm-pop-btn-row { display: flex; }

  .tm-pop-meta {
    order: 3;
    flex: 1 1 0;
    min-width: 0;
    border-top: none;
    padding-top: 0;
  }
  .tm-pop-meta-label,
  .tm-pop-meta-league,
  .tm-pop-meta-sublabel { display: none; }
  .tm-pop-meta-away {
    flex-direction: row-reverse;
    justify-content: flex-start;
    gap: 0.4rem;
  }
  .tm-pop-away-logo { width: 1.6rem; height: 1.6rem; border-radius: 0.4rem; }
  .tm-pop-away-name {
    font-size: 0.8rem;
    line-height: 1.2;
    text-align: right;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

}

@media (min-width: 640px) {
  .tm-pop-actions {
    align-items: flex-end;
  }
  .tm-pop-actions-time {
    text-align: right;
  }
  .tm-pop-btn-row {
    justify-content: flex-end;
  }
}

@media (min-width: 1024px) {
  .tm-pop-card-grid {
    flex-wrap: nowrap;
    gap: 1.5rem;
  }
  .tm-pop-meta {
    flex: 1 1 24%;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    padding-left: 1.5rem;
  }
  .tm-pop-actions {
    flex: 0 1 auto;
    min-width: 11rem;
    max-width: 15rem;
  }
}

.tm-pill-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.625rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.5rem 0.85rem;
  border-radius: 0.5rem;
  border: 1px solid transparent;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
}
.tm-pill-btn--pred {
  background: linear-gradient(
    135deg,
    rgba(124, 58, 237, 0.35),
    rgba(168, 85, 247, 0.18)
  );
  border-color: rgba(168, 85, 247, 0.45);
  color: #fff;
}
.tm-pill-btn--pred-locked {
  background: rgba(168, 85, 247, 0.08);
  border-color: rgba(168, 85, 247, 0.2);
  color: rgba(255, 255, 255, 0.4);
  cursor: not-allowed;
}
.tm-pill-btn--pred:hover {
  background: linear-gradient(
    135deg,
    rgba(124, 58, 237, 0.5),
    rgba(168, 85, 247, 0.3)
  );
}
.tm-pill-btn--live {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.45), rgba(59, 130, 246, 0.35));
  border-color: rgba(167, 139, 250, 0.5);
  color: #fff;
  box-shadow: 0 0 18px rgba(124, 58, 237, 0.25);
  gap: 0.35rem;
}
.tm-pill-btn--live:hover {
  filter: brightness(1.06);
}

.tm-title-glow {
  text-shadow:
    0 0 24px rgba(34, 211, 238, 0.25),
    0 0 48px rgba(124, 58, 237, 0.15);
}

.tm-play-ic {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 5px 0 5px 8px;
  border-color: transparent transparent transparent rgba(255, 255, 255, 0.92);
}
.tm-play-ic--sm {
  border-width: 4px 0 4px 6px;
}

.tm-expand-btn {
  margin-left: 0.5rem;
  padding: 0.25rem;
  border-radius: 0.5rem;
  color: var(--accent-cyan);
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
  line-height: 0;
  flex-shrink: 0;
  transition:
    transform 0.15s ease,
    background 0.15s ease;
}

.tm-expand-btn:hover {
  background: rgba(34, 211, 238, 0.1);
}

.tm-expand-btn.is-open {
  transform: rotate(180deg);
}

.tm-detail-tr > td {
  padding: 0;
  border: 0;
}

.tm-pill-btn--detail {
  color: var(--accent-cyan);
  background: rgba(6, 182, 212, 0.12);
  border: 1px solid rgba(6, 182, 212, 0.3);
}

/* --- Navigator tanggal (‹ tanggal ›) --- */
.tm-date-nav {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 9999px;
  padding: 0.25rem 0.4rem;
}

.tm-date-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  flex: none;
  border-radius: 9999px;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}
.tm-date-arrow:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.tm-date-current {
  min-width: 11rem;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  padding: 0 0.5rem;
  white-space: nowrap;
}

.tm-date-today {
  color: var(--accent-cyan, #22d3ee);
}

/* --- Pilih tanggal: tombol ikon saja --- */
.tm-date-icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.35);
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}
.tm-date-icon-btn:hover {
  border-color: rgba(168, 85, 247, 0.55);
  color: #fff;
  background: rgba(168, 85, 247, 0.12);
}

.tm-date-input-hidden {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  opacity: 0;
  cursor: pointer;
  color-scheme: dark;
}
.tm-date-input-hidden::-webkit-calendar-picker-indicator {
  opacity: 0;
  cursor: pointer;
}

/* ===== Scores list (accordion per liga) ===== */
.tm-sl { display: flex; flex-direction: column; gap: 0.5rem; }

.tm-sl-group {
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 0.75rem;
  background: rgba(0, 0, 0, 0.2);
  overflow: hidden;
}
.tm-sl-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.6rem 0.85rem;
  background: rgba(255, 255, 255, 0.03);
  border: 0;
  cursor: pointer;
  color: #fff;
  text-align: left;
}
.tm-sl-head:hover { background: rgba(255, 255, 255, 0.05); }
.tm-sl-league-logo { width: 1.25rem; height: 1.25rem; border-radius: 0.25rem; object-fit: contain; background: rgba(255,255,255,0.06); flex: none; }
.tm-sl-league-name { font-size: 0.8rem; font-weight: 700; flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tm-sl-count { font-size: 0.7rem; color: rgba(255,255,255,0.45); font-variant-numeric: tabular-nums; }
.tm-sl-chev { color: rgba(255,255,255,0.5); transition: transform 0.18s ease; flex: none; }
.tm-sl-head[aria-expanded="false"] .tm-sl-chev { transform: rotate(-90deg); }
.tm-sl-head[aria-expanded="false"] + .tm-sl-body { display: none; }

.tm-sl-body { display: flex; flex-direction: column; }

.tm-sl-row {
  display: grid;
  grid-template-columns: 3rem 1fr auto auto;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  cursor: pointer;
}
.tm-sl-row:hover { background: rgba(255, 255, 255, 0.025); }

.tm-sl-pred {
  display: inline-flex;
  align-items: center;
  align-self: center;
  padding: 0.25rem 0.6rem;
  border-radius: 0.5rem;
  font-size: 0.625rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-decoration: none;
  background: rgba(6, 182, 212, 0.18);
  border: 1px solid rgba(6, 182, 212, 0.35);
  color: rgba(165, 243, 252, 0.95);
  white-space: nowrap;
}
.tm-sl-pred:hover { background: rgba(6, 182, 212, 0.3); }
.tm-sl-pred--locked {
  background: rgba(6, 182, 212, 0.06);
  border-color: rgba(6, 182, 212, 0.15);
  color: rgba(165, 243, 252, 0.4);
  cursor: not-allowed;
}

.tm-sl-status { font-size: 0.7rem; font-weight: 600; color: rgba(255,255,255,0.55); font-family: ui-monospace, monospace; text-align: center; }
.tm-sl-ft { color: rgba(255,255,255,0.4); }
.tm-sl-time { color: rgba(216,180,254,0.9); }
.tm-sl-live { color: #22c55e; display: inline-flex; align-items: center; gap: 0.25rem; }
.tm-sl-live-dot { width: 6px; height: 6px; border-radius: 999px; background: #22c55e; animation: tm-pulse 1.5s ease-in-out infinite; }

.tm-sl-teams { display: flex; flex-direction: column; gap: 0.3rem; min-width: 0; }
.tm-sl-team { display: flex; align-items: center; gap: 0.5rem; min-width: 0; }
.tm-sl-team-logo { width: 1.25rem; height: 1.25rem; border-radius: 999px; object-fit: contain; background: rgba(255,255,255,0.08); flex: none; }
.tm-sl-team-logo--ph { display: inline-block; }
.tm-sl-team-name { font-size: 0.8125rem; font-weight: 600; color: #fff; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.tm-sl-scores { display: flex; flex-direction: column; gap: 0.3rem; text-align: right; font-family: ui-monospace, monospace; }
.tm-sl-score { font-size: 0.85rem; font-weight: 700; color: #fff; min-height: 1.0625rem; }

