/* ============================================================
   SPORTSTREAM – Styles
   Dark theme with tan accents, Sportstream-style layout
   ============================================================ */

:root {
  --bg-body: #0a0f14;
  --bg-sidebar: #0d1218;
  --bg-topbar: #0d1218;
  --bg-card: #111920;
  --bg-card-hover: #182028;
  --bg-row-hover: rgba(227, 215, 255, 0.08);
  --bg-input: #182028;
  --orange: #E3D7FF;
  --orange-light: #F1EBFF;
  --orange-glow: rgba(227, 215, 255, 0.2);
  --green: #22c55e;
  --red: #ef4444;
  --yellow: #eab308;
  --blue: #3b82f6;
  --text-primary: #e8e8e8;
  --text-secondary: #8899aa;
  --text-muted: #556677;
  --border: #1a2530;
  --border-hover: #253545;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --topbar-h: 52px;
  --sidebar-w: 200px;
  --radius: 10px;
  --radius-sm: 6px;
  --transition: 0.2s ease;
}

/* ============ Reset ============ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  background: var(--bg-body);
  color: var(--text-primary);
  min-height: 100dvh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

input {
  font-family: inherit;
}

.hidden {
  display: none !important;
}

.orange,
.accent {
  color: var(--orange);
}

/* ============ Splash ============ */
.splash {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(ellipse at center, #0d1b2a 0%, #07111f 70%);
}

.splash-content {
  text-align: center;
  animation: fadeScale 0.4s ease;
}

.splash-logo {
  width: 120px;
  height: 120px;
  margin: 0 auto 20px;
  filter: drop-shadow(0 0 30px rgba(163, 255, 18, 0.3));
}

.splash-logo-svg {
  width: 100%;
  height: 100%;
}

/* SVG draw-in animation for strokes */
.splash-draw {
  stroke-dasharray: 500;
  stroke-dashoffset: 500;
}

.splash-draw-1 {
  animation: drawIn 0.8s ease forwards 0.2s;
}

.splash-draw-2 {
  animation: drawIn 0.6s ease forwards 0.5s;
}

.splash-draw-3 {
  animation: drawIn 0.6s ease forwards 0.7s;
}

/* SVG fade-in for fills */
.splash-fade {
  opacity: 0;
}

.splash-fade-1 {
  animation: fadeUp 0.4s ease forwards 1.0s;
}

.splash-fade-2 {
  animation: popIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards 1.2s;
}

.splash-fade-3 {
  animation: fadeUp 0.4s ease forwards 1.3s;
}

.splash-title {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 2px;
  opacity: 0;
  animation: fadeUp 0.5s ease forwards 1.0s;
}

.splash-tagline {
  font-size: 11px;
  letter-spacing: 4px;
  color: var(--text-secondary);
  margin-top: 6px;
  opacity: 0;
  animation: fadeUp 0.5s ease forwards 1.2s;
}

.splash-loader {
  margin: 24px auto 0;
  width: 160px;
  height: 3px;
  background: #1a2530;
  border-radius: 4px;
  overflow: hidden;
  opacity: 0;
  animation: fadeUp 0.4s ease forwards 1.4s;
}

.splash-loader-bar {
  width: 35%;
  height: 100%;
  background: linear-gradient(90deg, #E3D7FF, #E3D7FF);
  border-radius: 4px;
  animation: loading 1s ease infinite;
}

.brand-logo {
  flex-shrink: 0;
}

/* ============ Top Bar ============ */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--topbar-h);
  background: var(--bg-topbar);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sidebar-toggle {
  display: none;
  color: var(--text-secondary);
  padding: 4px;
}

.brand {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.brand-text {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-btn {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--text-secondary);
  transition: var(--transition);
}

.icon-btn:hover {
  background: #182028;
  color: var(--orange);
}

.icon-btn.spinning svg {
  animation: spin 0.8s linear infinite;
}

/* ============ Layout ============ */
.layout {
  display: flex;
  margin-top: var(--topbar-h);
  min-height: calc(100dvh - var(--topbar-h));
}

/* ============ Sidebar ============ */
.sidebar {
  width: var(--sidebar-w);
  background: var(--bg-sidebar);
  border-right: 1px solid var(--border);
  padding: 12px 0;
  position: fixed;
  top: var(--topbar-h);
  left: 0;
  bottom: 0;
  overflow-y: auto;
  z-index: 50;
  transition: transform 0.3s ease;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 0 8px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 500;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  transition: var(--transition);
  width: 100%;
  text-align: left;
}

.nav-item:hover {
  color: var(--text-primary);
  background: #182028;
}

.nav-item.active {
  color: var(--orange);
  background: var(--orange-glow);
}

.sidebar-section {
  margin-top: 24px;
  padding: 0 8px;
}

.sidebar-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  padding: 8px 12px;
  cursor: pointer;
}

.sidebar-section-title:hover {
  color: var(--text-secondary);
}

.chevron {
  transition: transform 0.2s ease;
}

.chevron.collapsed {
  transform: rotate(180deg);
}

.leagues-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 4px;
}

.league-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 500;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  transition: var(--transition);
  cursor: pointer;
}

.league-item:hover {
  color: var(--text-primary);
  background: #182028;
}

.league-item img {
  width: 18px;
  height: 18px;
  border-radius: 2px;
  object-fit: contain;
}

/* ============ Main Content ============ */
.main-content {
  flex: 1;
  margin-left: var(--sidebar-w);
  padding: 20px 24px;
  max-width: 100%;
  overflow-x: hidden;
}

.view {
  animation: fadeIn 0.25s ease;
}

.section-heading {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 14px;
}

/* ============ Featured Stream ============ */
.featured-stream {
  margin-bottom: 20px;
}

.featured-player-container {
  position: relative;
  width: 100%;
  padding-top: 50%;
  background: #000;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}

.featured-player {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.featured-player.loaded {
  opacity: 1;
}

.fp-play-btn {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--orange);
  color: #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 12px rgba(239, 234, 221, 0.4);
  position: relative;
  cursor: pointer;
  animation: play-beat 1.4s ease-in-out infinite;
  z-index: 10;
  pointer-events: all;
}

.fp-play-btn::before {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  background: rgba(239, 234, 221, 0.25);
  animation: play-ring 1.4s ease-in-out infinite;
  z-index: -1;
}

.fp-play-btn::after {
  content: '';
  position: absolute;
  inset: -18px;
  border-radius: 50%;
  background: rgba(239, 234, 221, 0.12);
  animation: play-ring 1.4s ease-in-out infinite 0.2s;
  z-index: -1;
}

@keyframes play-beat {

  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 4px 16px rgba(239, 234, 221, 0.4);
  }

  50% {
    transform: scale(1.08);
    box-shadow: 0 6px 24px rgba(239, 234, 221, 0.7);
  }
}

@keyframes play-ring {
  0% {
    transform: scale(0.9);
    opacity: 0.7;
  }

  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

.fp-play-btn:hover {
  transform: scale(1.1) !important;
  box-shadow: 0 8px 28px rgba(239, 234, 221, 0.8) !important;
}

.fp-play-btn svg {
  margin-left: 4px;
  /* optical center for triangle */
}

.play-overlay-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.featured-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.7) 0%, transparent 100%);
  font-size: 13px;
  font-weight: 600;
}

.featured-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.featured-team-badge {
  display: flex;
  align-items: center;
  gap: 4px;
}

.featured-team-badge img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.featured-score {
  color: var(--orange);
  font-weight: 800;
  font-size: 14px;
}

.featured-time {
  background: #333;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.featured-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.featured-watchers {
  font-size: 12px;
  color: var(--text-secondary);
}

.live-badge-pill {
  background: var(--red);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 100px;
  letter-spacing: 0.3px;
  animation: pulse 2s ease infinite;
}

.featured-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 14px;
  background: linear-gradient(135deg, #1a1a1a, #111);
}

/* ============ Status Bar ============ */
.status-bar {
  display: flex;
  align-items: center;
  padding: 8px 0;
}

.live-indicator {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
}

.live-dot-sm {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  animation: pulse 1.5s ease infinite;
  box-shadow: 0 0 6px rgba(239, 68, 68, 0.5);
}

/* ============ Filters Row ============ */
.filters-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  gap: 12px;
  flex-wrap: wrap;
  position: sticky;
  top: var(--topbar-h);
  z-index: 40;
  background: var(--bg-body);
  padding: 8px 0;
}

.filter-tabs {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}

.filter-tabs::-webkit-scrollbar {
  display: none;
}

.filter-btn {
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  border-radius: 100px;
  transition: var(--transition);
  white-space: nowrap;
}

.filter-btn:hover {
  color: var(--text-secondary);
}

.filter-btn.active {
  color: var(--orange);
  border-bottom: 2px solid var(--orange);
  border-radius: 0;
}

.date-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.date-nav-btn {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  font-size: 18px;
  color: var(--text-secondary);
  transition: var(--transition);
}

.date-nav-btn:hover {
  background: #182028;
  color: var(--text-primary);
}

.date-display {
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  background: var(--bg-input);
  border: 1px solid var(--border);
  min-width: 110px;
  text-align: center;
  transition: var(--transition);
}

.date-display:hover {
  border-color: var(--orange);
}

.date-input-hidden {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 0;
  height: 0;
}

/* ============ Matches Table ============ */
.matches-table-container {
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
}

.matches-table {
  width: 100%;
  border-collapse: collapse;
}

.league-header-row td {
  background: var(--bg-body);
  padding: 10px 16px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.3px;
  border-bottom: 1px solid var(--border);
}

.league-header-row .league-label {
  display: flex;
  align-items: center;
  gap: 8px;
}

.league-header-row img {
  width: 16px;
  height: 16px;
  border-radius: 2px;
  object-fit: contain;
}

.match-row {
  cursor: pointer;
  transition: background var(--transition);
  border-bottom: 1px solid var(--border);
}

.match-row:last-child {
  border-bottom: none;
}

.match-row:hover {
  background: var(--bg-row-hover);
}

.match-row td {
  padding: 10px 12px;
  font-size: 13px;
  vertical-align: middle;
}

.match-row .col-num {
  width: 36px;
  text-align: center;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 12px;
}

.match-row .col-home {
  text-align: right;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 200px;
}

.match-row .col-score {
  width: 60px;
  text-align: center;
  font-weight: 800;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}

.match-row .col-score.live-score {
  color: var(--orange);
}

.match-row .col-score.finished-score {
  color: var(--text-secondary);
}

.match-row .col-away {
  text-align: left;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 200px;
}

.match-row .col-badge {
  width: 28px;
  padding: 0 2px;
}

.match-row .col-badge img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  border-radius: 2px;
}

.match-row .col-time {
  width: 50px;
  text-align: center;
  font-weight: 700;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.match-row .col-time.live-time {
  color: var(--orange);
}

.match-row .col-time.upcoming-time {
  color: var(--orange);
}

.match-row .col-time.finished-time {
  color: var(--text-muted);
}

/* ── LIVE rows: logo primary green ── */
.match-row.live-row .col-home,
.match-row.live-row .col-away {
  color: var(--orange);
  font-weight: 700;
}

.match-row.live-row .col-score {
  color: var(--orange);
}

.match-row.live-row .col-num {
  color: var(--orange);
}

.match-row.live-row .col-time.live-time {
  color: var(--orange);
}

/* ── FINISHED rows: muted dark gray, lighter weight ── */
.match-row.finished-row .col-home,
.match-row.finished-row .col-away {
  color: var(--text-muted);
  font-weight: 400;
}

.match-row.finished-row .col-score {
  color: var(--text-muted);
}

.match-row.finished-row .col-num {
  color: var(--text-muted);
  opacity: 0.7;
}

/* ── UPCOMING rows: tan, not bolded ── */
.match-row.upcoming-row .col-home,
.match-row.upcoming-row .col-away {
  color: #d2b48c;
  font-weight: 400;
}

.match-row.upcoming-row .col-num {
  color: #d2b48c;
  opacity: 0.8;
}

.match-row.upcoming-row .col-score {
  color: #d2b48c;
}

.match-row.upcoming-row .col-time.upcoming-time {
  color: #d2b48c;
}

.match-row .col-actions {
  width: 100px;
  text-align: right;
}

.match-row .action-icons {
  display: flex;
  align-items: center;
  gap: 4px;
  justify-content: flex-end;
}

.action-icon-btn {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--text-muted);
  transition: var(--transition);
}

.action-icon-btn:hover {
  background: #333;
  color: var(--text-primary);
}

.action-icon-btn.bookmarked {
  color: var(--orange);
}

.match-row .stream-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
  animation: bip 1.2s ease-in-out infinite;
  box-shadow: 0 0 6px rgba(163, 255, 18, 0.6);
  margin-left: 4px;
}

@keyframes bip {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 6px rgba(163, 255, 18, 0.6);
  }
  50% {
    opacity: 0.3;
    transform: scale(0.6);
    box-shadow: 0 0 2px rgba(163, 255, 18, 0.2);
  }
}

/* ============ Table Loading & Empty ============ */
.table-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px;
}

.spinner {
  width: 28px;
  height: 28px;
  border: 3px solid var(--border);
  border-top-color: var(--orange);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

.empty-state {
  text-align: center;
  padding: 60px 20px;
}

.empty-icon {
  font-size: 40px;
  margin-bottom: 12px;
  opacity: 0.4;
}

.empty-state h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.empty-state p {
  font-size: 13px;
  color: var(--text-muted);
}

/* ============ Match Detail View ============ */
.match-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.back-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 6px 12px 6px 6px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.back-btn:hover {
  color: var(--orange);
  background: #182028;
}

.league-badge-detail {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  padding: 4px 10px;
  border-radius: 100px;
  background: #182028;
}

/* Stream */
.stream-area {
  margin-bottom: 16px;
}

.stream-container {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: #000;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}

.stream-player-detail {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
  pointer-events: none;
}

.stream-player-detail.loaded {
  opacity: 1;
  pointer-events: all;
  z-index: 3;
}

.stream-placeholder-detail {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #1a1a1a, #111);
  z-index: 2;
  pointer-events: all;
}

.stream-ph-icon {
  font-size: 36px;
  animation: pulse 2s ease infinite;
}

.stream-placeholder-detail p {
  font-size: 13px;
  color: var(--text-muted);
}

.stream-sources {
  display: flex;
  gap: 6px;
  padding: 8px 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.stream-sources::-webkit-scrollbar {
  display: none;
}

.stream-source-btn {
  padding: 5px 14px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 100px;
  background: #182028;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  white-space: nowrap;
  transition: var(--transition);
}

.stream-source-btn:hover {
  border-color: var(--orange);
  color: var(--orange);
}

.stream-source-btn.active {
  background: var(--orange);
  border-color: var(--orange);
  color: #1a1a1a;
}

/* Match Header */
.match-detail-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 20px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 16px;
}

.mh-team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex: 1;
  min-width: 0;
}

.mh-team-logo {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  object-fit: contain;
  background: #182028;
}

.mh-logo-placeholder {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: #182028;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  color: var(--text-muted);
}

.mh-team-name {
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}

.mh-score-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.mh-score {
  font-size: 36px;
  font-weight: 900;
  letter-spacing: 4px;
  font-variant-numeric: tabular-nums;
}

.mh-score .sep {
  color: var(--text-muted);
  margin: 0 2px;
}

.mh-time-badge {
  font-size: 12px;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 100px;
}

.mh-time-badge.live {
  color: var(--red);
  background: rgba(239, 68, 68, 0.12);
  animation: pulse 2s ease infinite;
}

.mh-time-badge.finished {
  color: var(--text-muted);
  background: #182028;
}

.mh-time-badge.upcoming {
  color: var(--orange);
  background: var(--orange-glow);
}

.mh-venue {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Detail Tabs */
.detail-tabs-wrapper {
  position: sticky;
  top: var(--topbar-h);
  z-index: 30;
  background: rgba(20, 20, 20, 0.92);
  backdrop-filter: blur(8px);
  padding: 8px 0;
  margin-bottom: 12px;
}

.detail-tabs {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}

.detail-tabs::-webkit-scrollbar {
  display: none;
}

.detail-tab {
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  white-space: nowrap;
}

.detail-tab:hover {
  color: var(--text-secondary);
  background: #182028;
}

.detail-tab.active {
  color: var(--orange);
  background: var(--orange-glow);
}

.tab-content {
  animation: fadeIn 0.2s ease;
  min-height: 200px;
}

/* ============ Stat Rows ============ */
.content-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
}

.content-card+.content-card {
  margin-top: 12px;
}

.stats-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.stat-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.stat-value {
  font-size: 14px;
  font-weight: 700;
  min-width: 36px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.stat-bar-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-label {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-bars {
  display: flex;
  gap: 3px;
  height: 5px;
}

.stat-bar-home {
  height: 100%;
  border-radius: 3px 0 0 3px;
  background: var(--orange);
  margin-left: auto;
  transition: width 0.6s ease;
}

.stat-bar-away {
  height: 100%;
  border-radius: 0 3px 3px 0;
  background: var(--blue);
  transition: width 0.6s ease;
}

/* Events Timeline */
.events-timeline {
  position: relative;
  padding-left: 24px;
}

.events-timeline::before {
  content: '';
  position: absolute;
  left: 10px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
}

.event-item {
  position: relative;
  padding: 8px 0 8px 16px;
  border-bottom: 1px solid var(--border);
}

.event-item:last-child {
  border-bottom: none;
}

.event-dot {
  position: absolute;
  left: -19px;
  top: 12px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
  border: 2px solid var(--text-muted);
}

.event-dot.goal {
  background: var(--orange);
  border-color: var(--orange);
  box-shadow: 0 0 6px var(--orange-glow);
}

.event-dot.yellow {
  background: var(--yellow);
  border-color: var(--yellow);
}

.event-dot.red {
  background: var(--red);
  border-color: var(--red);
}

.event-dot.sub {
  background: var(--blue);
  border-color: var(--blue);
}

.event-minute {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
}

.event-desc {
  font-size: 13px;
  font-weight: 500;
}

.event-detail {
  font-size: 11px;
  color: var(--text-muted);
}

/* Lineups */
.lineups-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.lineup-team h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--orange);
}

.lineup-team:last-child h4 {
  border-bottom-color: var(--blue);
}

.lineup-player {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 0;
  font-size: 13px;
  border-bottom: 1px solid var(--border);
}

.lineup-player:last-child {
  border-bottom: none;
}

.player-number {
  width: 22px;
  height: 22px;
  border-radius: 5px;
  background: #182028;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  flex-shrink: 0;
}

/* Standings */
.standings-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.standings-table th {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 8px 6px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.standings-table td {
  padding: 8px 6px;
  border-bottom: 1px solid var(--border);
  font-variant-numeric: tabular-nums;
}

.standings-table tr:hover {
  background: var(--bg-row-hover);
}

.standings-table .team-cell {
  display: flex;
  align-items: center;
  gap: 8px;
}

.standings-table .pos {
  width: 24px;
  text-align: center;
  font-weight: 700;
  color: var(--text-muted);
}

/* H2H */
.h2h-match {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: #1a1a1a;
  border-radius: var(--radius-sm);
  margin-bottom: 6px;
  font-size: 13px;
}

.h2h-date {
  font-size: 11px;
  color: var(--text-muted);
  min-width: 70px;
}

.h2h-teams {
  flex: 1;
  font-weight: 500;
}

.h2h-score {
  font-weight: 700;
  color: var(--orange);
}

/* Odds */
.odds-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.odds-card {
  background: #1a1a1a;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
  text-align: center;
  transition: var(--transition);
}

.odds-card:hover {
  border-color: var(--orange);
}

.odds-label {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.odds-value {
  font-size: 20px;
  font-weight: 800;
  color: var(--orange);
}

.odds-fractional {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Error / Retry */
.error-state {
  text-align: center;
  padding: 40px 20px;
}

.error-state p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.retry-btn {
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  background: var(--orange);
  border-radius: 100px;
  transition: var(--transition);
}

.retry-btn:hover {
  background: var(--orange-light);
}

.section-title-sm {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-secondary);
}

/* ============ Animations ============ */
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fadeScale {
  from {
    opacity: 0;
    transform: scale(0.95);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes drawIn {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes popIn {
  from {
    opacity: 0;
    transform: scale(0);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes bounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes loading {
  0% {
    transform: translateX(-100%);
  }

  60% {
    transform: translateX(250%);
  }

  100% {
    transform: translateX(250%);
  }
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.5;
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ============ Responsive ============ */
@media (max-width: 768px) {
  .sidebar-toggle {
    display: flex;
  }

  .sidebar {
    transform: translateX(-100%);
  }

  .sidebar.open {
    transform: translateX(0);
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.5);
  }

  .main-content {
    margin-left: 0;
    padding: 16px 12px;
  }

  .match-detail-header {
    gap: 12px;
    padding: 16px 12px;
  }

  .mh-score {
    font-size: 28px;
  }

  .lineups-container {
    grid-template-columns: 1fr;
  }

  .odds-grid {
    grid-template-columns: 1fr;
  }

  .filters-row {
    flex-direction: column;
    align-items: stretch;
  }

  .match-row .col-actions {
    display: none;
  }

  .featured-player-container {
    padding-top: 56.25%;
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============ TV Player View ============ */
.tv-hero {
  margin-bottom: 16px;
}

.tv-player-wrap {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: #000;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}

.tv-player-wrap:fullscreen {
  padding-top: 0;
  border-radius: 0;
  border: none;
}

.tv-player-wrap:fullscreen #tv-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

#tv-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

.tv-no-stream {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1a1a1a, #111);
  z-index: 2;
}

.tv-no-stream-content {
  text-align: center;
  max-width: 500px;
  padding: 20px;
}

.tv-no-stream-icon {
  font-size: 48px;
  margin-bottom: 12px;
  animation: pulse 2s ease infinite;
}

.tv-no-stream h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text-primary);
}

.tv-no-stream p {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.tv-no-stream .tv-hint {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 10px;
  opacity: 0.7;
}

.tv-command-box {
  background: #1a1a1a;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  text-align: left;
  overflow-x: auto;
}

.tv-command-box code {
  font-family: 'Consolas', 'Monaco', monospace;
  font-size: 11px;
  color: var(--orange);
  word-break: break-all;
  white-space: pre-wrap;
}

/* TV Overlay */
.tv-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.7) 0%, transparent 100%);
  font-size: 13px;
  font-weight: 600;
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.tv-player-wrap:hover .tv-overlay {
  opacity: 1;
}

.tv-overlay-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tv-live-badge {
  background: var(--red);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 100px;
  letter-spacing: 0.3px;
  animation: pulse 2s ease infinite;
}

.tv-latency {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(0, 0, 0, 0.4);
  padding: 2px 8px;
  border-radius: 4px;
}

.tv-overlay-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.tv-channel-name {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(0, 0, 0, 0.4);
  padding: 2px 10px;
  border-radius: 4px;
}

/* TV Controls */
.tv-controls {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.tv-player-wrap:hover .tv-controls {
  opacity: 1;
}

.tv-player-wrap:fullscreen .tv-controls {
  opacity: 1;
}

.tv-controls-left,
.tv-controls-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.tv-ctrl-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  transition: var(--transition);
  border: none;
  cursor: pointer;
  font-size: 14px;
}

.tv-ctrl-btn:hover {
  background: rgba(255, 255, 255, 0.25);
}

.tv-live-btn {
  width: auto;
  padding: 0 12px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: var(--red);
  background: rgba(239, 68, 68, 0.15);
}

.tv-live-btn:hover {
  background: rgba(239, 68, 68, 0.3);
}

.tv-volume-slider {
  width: 80px;
  height: 4px;
  -webkit-appearance: none;
  appearance: none;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  outline: none;
  cursor: pointer;
}

.tv-volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
}

.tv-volume-slider::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  border: none;
}

/* TV Channels Bar */
.tv-channels-bar {
  margin-bottom: 16px;
}

.tv-section-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
}

.tv-channel-list {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 0;
  scrollbar-width: none;
}

.tv-channel-list::-webkit-scrollbar {
  display: none;
}

.tv-no-channels {
  font-size: 13px;
  color: var(--text-muted);
  padding: 16px 20px;
  background: var(--bg-card);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  width: 100%;
  text-align: center;
}

.tv-channel-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  transition: var(--transition);
  cursor: pointer;
}

.tv-channel-btn:hover {
  border-color: var(--orange);
  color: var(--text-primary);
}

.tv-channel-btn.active {
  border-color: var(--orange);
  background: var(--orange-glow);
  color: var(--orange);
}

.tv-ch-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 1.5s ease infinite;
  flex-shrink: 0;
}

.tv-ch-name {
  font-weight: 600;
}

.tv-ch-uptime {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 400;
}

/* TV Info Section */
.tv-info-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.tv-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
}

.tv-info-card h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-secondary);
}

.tv-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.tv-info-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.tv-info-label {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.tv-info-value {
  font-size: 14px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.tv-info-value.tv-live {
  color: var(--green);
}

.tv-info-value.tv-offline {
  color: var(--text-muted);
}

.tv-info-text {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.tv-command-box-sm {
  background: #1a1a1a;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  overflow-x: auto;
}

.tv-command-box-sm code {
  font-family: 'Consolas', 'Monaco', monospace;
  font-size: 11px;
  color: var(--orange-light);
  word-break: break-all;
  white-space: pre-wrap;
}

/* ============ IPTV Channel Browser ============ */
.iptv-toolbar {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 12px;
}

.iptv-search-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.iptv-search-icon {
  position: absolute;
  left: 12px;
  color: var(--text-muted);
  pointer-events: none;
}

.iptv-search {
  width: 100%;
  padding: 10px 14px 10px 38px;
  font-size: 14px;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-primary);
  outline: none;
  transition: border-color var(--transition);
}

.iptv-search:focus {
  border-color: var(--orange);
}

.iptv-search::placeholder {
  color: var(--text-muted);
}

.iptv-groups {
  display: flex;
  align-items: center;
  gap: 10px;
}

.iptv-group-list {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  flex: 1;
  min-width: 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: smooth;
}

.iptv-group-list::-webkit-scrollbar {
  display: none;
}

.iptv-group-btn {
  flex-shrink: 0;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.iptv-group-btn:hover {
  border-color: rgba(210, 180, 140, 0.5);
  color: #e8d5be;
  background: rgba(210, 180, 140, 0.06);
}

.iptv-group-btn.active {
  border-color: #d2b48c;
  color: #d2b48c;
  background: rgba(210, 180, 140, 0.1);
  font-weight: 600;
}

.iptv-group-arrows {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.iptv-group-nav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition);
  flex-shrink: 0;
}

.iptv-group-nav-btn:hover {
  border-color: #d2b48c;
  color: #d2b48c;
  background: var(--bg-card-hover);
}

.iptv-status {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.iptv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px;
}

.iptv-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-secondary);
  text-align: left;
  transition: var(--transition);
  cursor: pointer;
  overflow: hidden;
}

.iptv-card:hover {
  border-color: rgba(210, 180, 140, 0.5);
  background: rgba(210, 180, 140, 0.06);
  color: #e8d5be;
}

.iptv-card.active {
  border-color: #d2b48c;
  background: rgba(210, 180, 140, 0.08);
  color: #d2b48c;
}

.iptv-card.active .iptv-card-name {
  color: #d2b48c;
}

.iptv-card.active .iptv-card-group {
  color: rgba(210, 180, 140, 0.7);
}

.iptv-card-logo {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  object-fit: contain;
  background: #182028;
  flex-shrink: 0;
}

.iptv-card-logo-ph {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  background: #182028;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.iptv-card-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.iptv-card-name {
  font-size: 13px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.iptv-card-group {
  font-size: 11px;
  color: var(--text-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.iptv-more {
  grid-column: 1 / -1;
  text-align: center;
  padding: 16px;
  font-size: 13px;
  color: var(--text-muted);
}

.iptv-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 0;
  flex-wrap: wrap;
}

.iptv-page-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition);
}

.iptv-page-arrow:hover:not(:disabled) {
  border-color: #d2b48c;
  color: #d2b48c;
  background: var(--bg-card-hover);
}

.iptv-page-arrow:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.iptv-page-numbers {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

.iptv-page-num {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  padding: 0 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  font-variant-numeric: tabular-nums;
}

.iptv-page-num:hover {
  border-color: rgba(210, 180, 140, 0.5);
  color: #d2b48c;
  background: var(--bg-card-hover);
}

.iptv-page-num.active {
  border-color: #d2b48c;
  color: #d2b48c;
  background: rgba(210, 180, 140, 0.1);
  font-weight: 600;
}

.iptv-page-ellipsis {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 32px;
  font-size: 13px;
  color: var(--text-muted);
  user-select: none;
}

/* ============ Match Table – Mobile ============ */
@media (max-width: 600px) {

  /* Hide team badge columns on small screens to save space */
  .match-row .col-badge {
    display: none;
  }

  /* Shrink number column */
  .match-row .col-num {
    width: 24px;
    padding: 8px 4px;
    font-size: 11px;
  }

  /* Allow team names to truncate properly */
  .match-row .col-home,
  .match-row .col-away {
    max-width: 110px;
    font-size: 12px;
    padding: 8px 6px;
  }

  /* Keep score compact */
  .match-row .col-score {
    width: 44px;
    font-size: 13px;
    padding: 8px 2px;
  }

  /* Time column */
  .match-row .col-time {
    width: 44px;
    font-size: 11px;
    padding: 8px 2px;
  }

  /* Actions column */
  .match-row .col-action {
    padding: 8px 4px;
  }

  /* League header tighter */
  .league-header-row td {
    padding: 8px 10px;
    font-size: 11px;
  }

  /* IPTV grid mobile */
  .iptv-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 8px;
  }

  .iptv-card {
    padding: 8px 10px;
  }

  .iptv-card-logo,
  .iptv-card-logo-ph {
    width: 28px;
    height: 28px;
    font-size: 14px;
  }
}

/* TV Responsive */
@media (max-width: 768px) {
  .tv-info-section {
    grid-template-columns: 1fr;
  }

  .tv-info-grid {
    grid-template-columns: 1fr 1fr;
  }

  .tv-volume-slider {
    width: 60px;
  }

  .tv-controls {
    opacity: 1;
  }
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 5px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: #333;
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: #555;
}