/**
 * SANSAT OTT — TV Sports Mode Stylesheet (sport-tv.css)
 * Lightweight Edition for 1GB RAM Smart TVs (Android TV, Samsung Tizen, LG webOS, PC)
 * Zero GPU Blur, Zero Heavy Drop-Shadows, Spacious Menus & Clean Watch Modal
 */

html.tv-sports-mode, html.tv-sports-mode body {
  margin: 0; padding: 0; width: 100%; height: 100%; overflow: hidden;
  background: #0d0407; color: #fff; cursor: default;
  font-family: "Barlow Condensed","Tajawal","Segoe UI",Roboto,"Arial Narrow",Arial,sans-serif;
  font-weight: 700; -webkit-user-select: none; user-select: none;
}
html[lang="ar"].tv-sports-mode body,
html[dir="rtl"].tv-sports-mode body,
.tv-sp-app.rtl {
  font-family: "Tajawal","Noto Sans Arabic","Segoe UI",Tahoma,Arial,sans-serif;
}

/* =========================================================================
   1. TOTAL FOCUS OUTLINE SUPPRESSION (ZERO ROGUE BORDERS ON TV)
   ========================================================================= */
html.tv-sports-mode *,
html.tv-sports-mode *:focus,
html.tv-sports-mode *:focus-visible,
html.tv-sports-mode button:focus,
html.tv-sports-mode button:focus-visible,
html.tv-sports-mode .nav-focused,
.tv-sp-app,
.tv-sp-app *,
.tv-sp-app *:focus,
.tv-sp-app *:focus-visible,
.tv-sp-app button,
.tv-sp-app button:focus,
.tv-sp-app button:focus-visible,
.tv-sp-app .nav-focused {
  outline: none !important;
  outline-width: 0 !important;
  outline-style: none !important;
  outline-color: transparent !important;
  box-shadow: none !important;
  -webkit-tap-highlight-color: transparent !important;
}

/* =========================================================================
   2. APP CONTAINER & 120rem STAGE
   ========================================================================= */
.tv-sp-app {
  position: fixed; left: 0; top: 0; right: 0; bottom: 0; overflow: hidden;
  background: #14060b;
  z-index: 100;
}
.tv-sp-stage {
  position: absolute; left: 50%; top: 50%; width: 120rem; height: 67.5rem;
  margin: -33.75rem 0 0 -60rem;
}

/* =========================================================================
   3. HEADER (SPACIOUS TITLE, DATE SELECTOR & ACTIONS)
   ========================================================================= */
.tv-sp-hd {
  position: absolute; left: 3.2rem; right: 3.2rem; top: 1.8rem; height: 6rem;
  display: flex; align-items: center; justify-content: space-between; z-index: 10;
}
.tv-sp-hl {
  display: flex; align-items: center; gap: 1.6rem; min-width: 0;
}
.tv-sp-title-wrap { display: flex; align-items: center; gap: 1.4rem; }
.tv-sp-title {
  margin: 0; font-size: 3.2rem; font-weight: 800; letter-spacing: 0.05rem;
  text-transform: uppercase; color: #fff;
}

/* DETECTED LOCAL CLOCK & COUNTRY PILL */
.tv-sp-clock-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  height: 3.8rem;
  padding: 0 1.4rem;
  border-radius: 1.9rem;
  background: rgba(255, 255, 255, 0.08);
  border: 0.12rem solid rgba(255, 255, 255, 0.16);
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.02rem;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  flex-shrink: 0;
}
.tv-sp-clock-ic {
  width: 1.6rem;
  height: 1.6rem;
  color: #ff3344;
  flex-shrink: 0;
}
.tv-sp-clock-time {
  color: #ffffff;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  direction: ltr;
  unicode-bidi: isolate;
}
.tv-sp-clock-dot {
  color: rgba(255, 255, 255, 0.4);
  font-size: 1.2rem;
}
.tv-sp-clock-country {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
}

/* SPACIOUS DATE CHIPS */
.tv-sp-dates {
  display: flex; align-items: center; gap: 1rem;
  background: #1f0a12; border: 0.14rem solid rgba(255,255,255,0.12);
  border-radius: 3rem; padding: 0.5rem 0.6rem;
}
.tv-sp-date-chip {
  display: flex; align-items: center; justify-content: center; gap: 0.8rem;
  height: 4.2rem; padding: 0 2.4rem;
  border-radius: 2.4rem; background: transparent; border: 0.14rem solid transparent;
  color: rgba(255,255,255,0.75);
  font-size: 1.6rem; font-weight: 700; cursor: pointer;
  flex-shrink: 0;
}
.tv-sp-today-dot {
  width: 0.7rem; height: 0.7rem; border-radius: 50%; background: #ff2a6d;
}
.tv-sp-date-chip.is-active {
  background: #33101e; border-color: rgba(255,42,109,0.5); color: #fff;
}
.tv-sp-date-chip:hover {
  background: #2b0d19; color: #fff;
}
.tv-sp-date-chip.has-focus {
  background: #ff2a6d !important; border-color: #fff !important; color: #fff !important;
}
.tv-sp-date-chip.has-focus .tv-sp-today-dot {
  background: #fff;
}

/* SPACIOUS RIGHT ACTIONS (STANDINGS, TRANSFERS, REFRESH) */
.tv-sp-hr { display: flex; align-items: center; gap: 1.2rem; }
.tv-sp-act-btn {
  display: flex; align-items: center; justify-content: center; gap: 1rem;
  height: 4.8rem; padding: 0 2.4rem;
  border-radius: 2.4rem; background: #1f0a12; border: 0.15rem solid rgba(255,255,255,0.14);
  color: #fff; font-size: 1.55rem; font-weight: 700; cursor: pointer;
  flex-shrink: 0;
}
.tv-sp-act-btn svg { width: 2rem; height: 2rem; stroke: currentColor; fill: none; stroke-width: 2.2; flex-shrink: 0; }
.tv-sp-act-btn.icon-only { width: 4.8rem; padding: 0; }
.tv-sp-act-btn:hover {
  background: #2e0f1b; border-color: rgba(255,42,109,0.5);
}
.tv-sp-act-btn.has-focus {
  background: #ff2a6d !important; border-color: #fff !important; color: #fff !important;
}

/* =========================================================================
   4. LEAGUE SELECTOR RIBBON (WIDER & SCROLLABLE)
   ========================================================================= */
.tv-sp-ribbon {
  position: absolute; left: 3.2rem; right: 3.2rem; top: 8.6rem; height: 5.4rem;
  display: flex; align-items: center; overflow-x: auto; overflow-y: hidden;
  scrollbar-width: none; z-index: 9;
}
.tv-sp-ribbon::-webkit-scrollbar { display: none; }
.tv-sp-ribbon-track {
  display: flex; align-items: center; gap: 1.2rem; padding: 0.2rem 0.4rem;
}
.tv-sp-league-pill {
  display: flex; align-items: center; gap: 1rem; height: 4.4rem; padding: 0 2.2rem;
  border-radius: 2.2rem; background: #1f0a12; border: 0.15rem solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.8); font-size: 1.55rem; font-weight: 700; cursor: pointer;
  white-space: nowrap; flex-shrink: 0;
}
.tv-sp-league-pill .tv-sp-count {
  background: rgba(255,255,255,0.14); padding: 0.15rem 0.75rem; border-radius: 1rem;
  font-size: 1.25rem; font-weight: 800; color: #fff;
}
.tv-sp-league-pill.is-active {
  background: #380e20; border-color: #ff2a6d; color: #fff;
}
.tv-sp-league-pill:hover {
  background: #2b0d19; color: #fff;
}
.tv-sp-league-pill.has-focus {
  background: #ff2a6d !important; border-color: #fff !important; color: #fff !important;
}
.tv-sp-league-pill.has-focus .tv-sp-count { background: rgba(0,0,0,0.35); }

/* =========================================================================
   5. MATCHES 2-COLUMN GRID & LIGHTWEIGHT CARDS
   ========================================================================= */
.tv-sp-main {
  position: absolute; left: 3.2rem; right: 3.2rem; top: 14.8rem; bottom: 1.8rem;
  overflow-y: auto; overflow-x: hidden; scrollbar-width: none;
}
.tv-sp-main::-webkit-scrollbar { display: none; }

.tv-sp-grid {
  display: flex; flex-wrap: wrap; gap: 1.8rem; width: 100%;
  padding: 0.6rem 0.4rem 4.5rem 0.4rem; box-sizing: border-box;
}

/* 2-COLUMN MATCH CARD (NO HEAVY GRADIENTS OR SHADOWS) */
.tv-sp-card {
  width: calc(50% - 0.9rem); height: 16.6rem;
  background: #1c0910; border: 0.18rem solid rgba(255,255,255,0.1);
  border-radius: 1.6rem; padding: 1.6rem 2.2rem; box-sizing: border-box;
  display: flex; flex-direction: column; justify-content: space-between;
  cursor: pointer; position: relative; overflow: hidden;
}
.tv-sp-card.is-live {
  border-color: rgba(239,68,68,0.55);
  background: #240910;
}
.tv-sp-card.is-postponed {
  border-color: rgba(245,158,11,0.45);
  background: #21100b;
}
.tv-sp-card:hover {
  border-color: rgba(255,42,109,0.65);
  background: #260c16;
}
.tv-sp-card.has-focus {
  border-color: #ff2a6d !important;
  border-width: 0.24rem !important;
  background: #330d1d !important;
  z-index: 5;
}

/* CARD TOP: LEAGUE & STATUS BADGE */
.tv-sp-card-top {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 1.35rem; color: rgba(255,255,255,0.75);
}
.tv-sp-card-league {
  display: flex; align-items: center; gap: 0.8rem; font-weight: 700;
  min-width: 0; overflow: hidden;
}
.tv-sp-card-lbadge { width: 2.2rem; height: 2.2rem; object-fit: contain; flex-shrink: 0; }
.tv-sp-card-round { color: rgba(255,255,255,0.45); font-size: 1.25rem; white-space: nowrap; }

.tv-sp-status-badge {
  display: flex; align-items: center; gap: 0.6rem; padding: 0.35rem 1.2rem;
  border-radius: 1.2rem; font-size: 1.3rem; font-weight: 800; flex-shrink: 0;
}
.tv-sp-status-badge.live {
  background: #450a0a; color: #fca5a5; border: 0.12rem solid #ef4444;
}
.tv-sp-live-ticker {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04rem;
  font-weight: 800;
  display: inline-block;
}
.tv-sp-live-dot {
  width: 0.7rem; height: 0.7rem; border-radius: 50%; background: #ef4444;
}
.tv-sp-status-badge.ft {
  background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.7);
}
.tv-sp-status-badge.ns {
  background: #380e20; color: #ff85ad; border: 0.12rem solid rgba(255,42,109,0.45);
}
.tv-sp-status-badge.postponed {
  background: #3b2106; color: #fcd34d; border: 0.12rem solid #f59e0b;
}
.tv-sp-postponed-dot {
  width: 0.65rem; height: 0.65rem; border-radius: 50%; background: #f59e0b;
}

/* CARD CENTER: TEAMS, CRESTS & SCORE */
.tv-sp-card-center {
  display: flex; align-items: center; justify-content: space-between; gap: 1.4rem;
  margin: 0.4rem 0;
}
.tv-sp-team {
  display: flex; align-items: center; gap: 1.2rem; flex: 1; min-width: 0;
}
.tv-sp-team.away { justify-content: flex-end; text-align: right; }
.tv-sp-app.rtl .tv-sp-team.away { justify-content: flex-start; text-align: left; }
.tv-sp-crest {
  width: 5.2rem; height: 5.2rem; object-fit: contain; flex-shrink: 0;
}
.tv-sp-tname {
  font-size: 1.85rem; font-weight: 800; color: #fff; line-height: 1.2;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

.tv-sp-scorebox {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: 10rem; flex-shrink: 0;
}
.tv-sp-score {
  font-size: 3.2rem; font-weight: 900; letter-spacing: 0.15rem; color: #fff;
}
.tv-sp-card.is-live .tv-sp-score { color: #fca5a5; }
.tv-sp-time-ns {
  font-size: 2.3rem; font-weight: 800; color: #fff;
}
.tv-sp-time-postponed {
  font-size: 2rem; font-weight: 900; color: #fbbf24;
}
.tv-sp-local-tag {
  font-size: 1.1rem; color: rgba(255,255,255,0.5); text-transform: uppercase; margin-top: 0.15rem;
}
.tv-sp-local-tag.postponed {
  color: #fbbf24;
}

/* CARD BOTTOM: PILLS (CHANNEL, COMMENTATOR, STADIUM) */
.tv-sp-card-btm {
  display: flex; align-items: center; gap: 0.8rem; overflow: hidden;
}
.tv-sp-pill {
  display: flex; align-items: center; gap: 0.6rem; height: 2.8rem; padding: 0 1.2rem;
  border-radius: 0.8rem; background: rgba(255,255,255,0.07); color: rgba(255,255,255,0.8);
  font-size: 1.25rem; font-weight: 700; max-width: 21rem; overflow: hidden;
  text-overflow: ellipsis; white-space: nowrap; flex-shrink: 0;
}
.tv-sp-pill svg { width: 1.4rem; height: 1.4rem; stroke: currentColor; fill: none; flex-shrink: 0; }
.tv-sp-pill.channel { background: #102444; color: #93c5fd; }
.tv-sp-pill.commentator { background: #27123d; color: #d8b4fe; }

/* =========================================================================
   6. LOADING SPINNER & TOAST NOTIFICATION
   ========================================================================= */
.tv-sp-loading, .tv-sp-empty {
  width: 100%; height: 38rem; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 1.6rem;
  color: rgba(255,255,255,0.6); font-size: 2rem;
}
.tv-sp-spinner {
  width: 4.4rem; height: 4.4rem; border: 0.4rem solid rgba(255,42,109,0.25);
  border-top-color: #ff2a6d; border-radius: 50%; animation: tvSpSpin 0.9s linear infinite;
}
@keyframes tvSpSpin { to { transform: rotate(360deg); } }

.tv-sp-toast {
  position: absolute; bottom: 3rem; left: 50%; transform: translateX(-50%);
  background: #1a0810; border: 0.18rem solid #ff2a6d; border-radius: 1.2rem;
  padding: 1.2rem 2.6rem; font-size: 1.6rem; font-weight: 800; color: #fff;
  display: none; pointer-events: none; z-index: 200;
}
.tv-sp-toast.is-show {
  display: block;
}

/* =========================================================================
   7. MODAL OVERLAY & POPUP BOXES (SOLID BACKGROUND, ZERO GPU BLUR)
   ========================================================================= */
.tv-sp-modal-overlay {
  position: fixed !important;
  left: 0 !important; top: 0 !important; right: 0 !important; bottom: 0 !important;
  width: 100vw !important; height: 100vh !important;
  background: rgba(6, 2, 4, 0.98) !important;
  display: none; align-items: stretch !important; justify-content: stretch !important;
  z-index: 9999 !important;
  padding: 0 !important; margin: 0 !important;
}
.tv-sp-modal-overlay.is-open {
  display: flex !important;
}
.tv-sp-modal-box {
  background: #14060b !important;
  border: none !important;
  border-radius: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  margin: 0 !important;
  padding: 2.2rem 3.6rem 2.6rem 3.6rem !important;
  box-sizing: border-box !important;
  overflow: hidden; display: flex; flex-direction: column;
}
.tv-sp-table-box,
.tv-sp-transfers-box,
.tv-sp-watch-box,
.tv-sp-nr-box {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  border-radius: 0 !important;
  border: none !important;
  margin: 0 !important;
  padding: 2.2rem 3.6rem 2.6rem 3.6rem !important;
  box-sizing: border-box !important;
  background: #14060b !important;
}

.tv-sp-modal-hd {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 1.6rem; padding-bottom: 1.2rem;
  border-bottom: 0.12rem solid rgba(255,255,255,0.1);
  flex-shrink: 0;
}
.tv-sp-modal-title {
  font-size: 2.6rem; font-weight: 800; text-transform: uppercase; color: #fff;
  display: flex; align-items: center; gap: 1.2rem; letter-spacing: 0.05rem;
}
.tv-sp-modal-title svg { width: 2.8rem; height: 2.8rem; stroke: #ff2a6d; fill: none; flex-shrink: 0; }
.tv-sp-modal-close {
  width: 4.8rem; height: 4.8rem; border-radius: 50%; background: #260c16;
  border: 0.16rem solid rgba(255,255,255,0.2); color: #fff; display: flex;
  align-items: center; justify-content: center; cursor: pointer;
  flex-shrink: 0;
}
.tv-sp-modal-close svg { width: 2.4rem; height: 2.4rem; stroke: currentColor; stroke-width: 2.4; }
.tv-sp-modal-close:hover,
.tv-sp-modal-close.has-focus {
  background: #ff2a6d !important; border-color: #fff !important; color: #fff !important;
}

/* SPACIOUS MODAL LEAGUE SELECTOR BAR */
.tv-sp-modal-leagues {
  display: flex; align-items: center; gap: 1.2rem; margin-bottom: 1.6rem;
  overflow-x: auto; padding: 0.2rem 0.2rem 0.6rem 0.2rem; scrollbar-width: none; flex-shrink: 0;
}
.tv-sp-modal-leagues::-webkit-scrollbar { display: none; }
.tv-sp-m-league-btn {
  height: 4.8rem; padding: 0 2.4rem; border-radius: 2.4rem;
  background: #210b13; border: 0.15rem solid rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.85); font-size: 1.6rem; font-weight: 700; cursor: pointer;
  white-space: nowrap; display: flex; align-items: center; gap: 1rem;
  flex-shrink: 0;
}
.tv-sp-m-league-btn img { width: 2.4rem; height: 2.4rem; object-fit: contain; flex-shrink: 0; }
.tv-sp-m-league-btn.is-active {
  background: #3d0f22; border-color: #ff2a6d; color: #fff;
}
.tv-sp-m-league-btn:hover {
  background: #2e0e1b; color: #fff;
}
.tv-sp-m-league-btn.has-focus {
  background: #ff2a6d !important; border-color: #fff !important; color: #fff !important;
}

/* SPACIOUS 4 SUB-TABS: CLASIFICACION, GOLEADORES, ASISTENCIAS, NOTICIAS */
.tv-sp-subtabs {
  display: flex; align-items: center; gap: 1.2rem; margin-bottom: 1.8rem;
  background: #1f0a12; border: 0.12rem solid rgba(255,255,255,0.08);
  border-radius: 1.6rem; padding: 0.6rem;
  flex-shrink: 0;
}
.tv-sp-subtab-btn {
  flex: 1; height: 4.6rem; border-radius: 1.2rem; background: transparent;
  border: 0.15rem solid transparent; color: rgba(255,255,255,0.75);
  font-size: 1.6rem; font-weight: 700; padding: 0 1.6rem;
  display: flex; align-items: center; justify-content: center; gap: 0.8rem;
  cursor: pointer; white-space: nowrap;
}
.tv-sp-subtab-btn.is-active {
  background: #380e20; border-color: rgba(255,42,109,0.5); color: #fff;
}
.tv-sp-subtab-btn:hover {
  background: #2b0d19; color: #fff;
}
.tv-sp-subtab-btn.has-focus {
  background: #ff2a6d !important; border-color: #fff !important; color: #fff !important;
}

/* MODAL SCROLLABLE BODY */
.tv-sp-modal-content {
  flex: 1; overflow-y: auto; overflow-x: hidden; scrollbar-width: none;
  padding-right: 0.4rem;
}
.tv-sp-modal-content::-webkit-scrollbar { display: none; }

/* =========================================================================
   8. STANDINGS TABLE
   ========================================================================= */
.tv-sp-table {
  width: 100%; border-collapse: separate; border-spacing: 0 0.5rem;
  font-size: 1.45rem; color: #fff;
}
.tv-sp-table thead th {
  color: rgba(255,255,255,0.6); font-size: 1.3rem; font-weight: 800;
  padding: 0.8rem 1.2rem; text-align: left; text-transform: uppercase;
}
.tv-sp-table tbody tr {
  background: #1f0a12;
}
.tv-sp-table tbody tr:hover,
.tv-sp-table tbody tr.has-focus {
  background: #421024 !important;
}
.tv-sp-table tbody td {
  padding: 1rem 1.2rem;
  border-top: 0.12rem solid transparent;
  border-bottom: 0.12rem solid transparent;
}
.tv-sp-table tbody tr.has-focus td {
  border-top-color: #ff2a6d;
  border-bottom-color: #ff2a6d;
}
.pos-ucl { color: #60a5fa; font-weight: 900; }
.pos-uel { color: #fbbf24; font-weight: 900; }
.pos-rel { color: #f87171; font-weight: 900; }
.club-cell { display: flex; align-items: center; gap: 1.2rem; }
.club-badge { width: 2.8rem; height: 2.8rem; object-fit: contain; flex-shrink: 0; }

/* =========================================================================
   9. SCORERS & ASSISTS ROWS
   ========================================================================= */
.tv-sp-leader-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.4rem 2.4rem; background: #1f0a12;
  border: 0.16rem solid rgba(255,255,255,0.08);
  border-radius: 1.4rem; margin-bottom: 0.8rem;
}
.tv-sp-leader-row:hover,
.tv-sp-leader-row.has-focus {
  background: #3b0f21 !important; border-color: #ff2a6d !important;
}
.tv-sp-leader-left { display: flex; align-items: center; gap: 1.8rem; }
.tv-sp-leader-rank { font-size: 2.2rem; font-weight: 900; width: 3.6rem; color: #ff2a6d; }
.tv-sp-leader-photo {
  width: 5.2rem; height: 5.2rem; border-radius: 50%; object-fit: cover;
  background: #ffffff !important; padding: 0.15rem; flex-shrink: 0;
}
.tv-sp-leader-info { display: flex; flex-direction: column; gap: 0.3rem; }
.tv-sp-leader-name { font-size: 1.85rem; font-weight: 800; color: #fff; }
.tv-sp-leader-team { font-size: 1.4rem; color: rgba(255,255,255,0.65); }
.tv-sp-leader-stat { font-size: 2.4rem; font-weight: 900; color: #fff; }

/* =========================================================================
   10. NEWS GRID & SPLIT READER MODAL
   ========================================================================= */
.tv-sp-news-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6rem;
}
.tv-sp-news-card {
  display: flex; gap: 1.6rem; padding: 1.4rem; background: #1f0a12;
  border-radius: 1.4rem; border: 0.16rem solid rgba(255,255,255,0.08);
  cursor: pointer;
}
.tv-sp-news-card:hover,
.tv-sp-news-card.has-focus {
  border-color: #ff2a6d !important; background: #380e20 !important;
}
.tv-sp-news-thumb { width: 14rem; height: 10rem; border-radius: 1rem; object-fit: cover; flex-shrink: 0; }
.tv-sp-news-meta { display: flex; flex-direction: column; justify-content: space-between; }
.tv-sp-news-head {
  font-size: 1.65rem; font-weight: 800; color: #fff; line-height: 1.3;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.tv-sp-news-sub { font-size: 1.3rem; color: rgba(255,255,255,0.55); }

.tv-sp-news-reader-box {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  border-radius: 0 !important;
  border: none !important;
  display: flex;
  flex-direction: row;
  overflow: hidden;
  background: #14060b !important;
  position: relative;
}
.tv-sp-news-close-btn {
  position: absolute;
  top: 2.8rem;
  right: 3.2rem;
  z-index: 60;
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  background: #260c16;
  border: 0.16rem solid rgba(255,255,255,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  cursor: pointer;
}
.tv-sp-news-close-btn svg {
  width: 2.4rem;
  height: 2.4rem;
  stroke: currentColor;
  stroke-width: 2.4;
  fill: none;
}
.tv-sp-news-close-btn.has-focus,
.tv-sp-news-close-btn:hover {
  background: #ff2a6d !important;
  border-color: #fff !important;
}
.tv-sp-nr-img-col {
  width: 44%;
  height: 100%;
  position: relative;
  flex-shrink: 0;
  overflow: hidden;
}
.tv-sp-nr-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tv-sp-nr-text-col {
  flex: 1;
  padding: 4.5rem 6rem;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
.tv-sp-nr-meta {
  font-size: 1.45rem;
  color: #ff2a6d;
  font-weight: 800;
  letter-spacing: 0.05rem;
  text-transform: uppercase;
  margin-bottom: 1.6rem;
}
.tv-sp-nr-title {
  font-size: 2.9rem;
  font-weight: 900;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 2rem;
}
.tv-sp-nr-body {
  font-size: 1.85rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.92);
  font-weight: 500;
  white-space: pre-line;
}

/* =========================================================================
   11. TRANSFERS CARDS
   ========================================================================= */
.tv-sp-transfers-list {
  display: flex; flex-direction: column; gap: 1.2rem;
}
.tv-sp-transfer-card {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.4rem 2.4rem; background: #1f0a12;
  border-radius: 1.4rem; border: 0.16rem solid rgba(255,255,255,0.08);
}
.tv-sp-transfer-card:hover,
.tv-sp-transfer-card.has-focus {
  border-color: #ff2a6d !important; background: #380e20 !important;
}
.tv-sp-tr-player { display: flex; align-items: center; gap: 1.6rem; min-width: 28rem; }
.tv-sp-tr-photo {
  width: 5.2rem; height: 5.2rem; border-radius: 50%; object-fit: cover;
  background: #ffffff !important; padding: 0.15rem; flex-shrink: 0;
}
.tv-sp-tr-pinfo { display: flex; flex-direction: column; gap: 0.2rem; }
.tv-sp-tr-pname { font-size: 1.8rem; font-weight: 800; color: #fff; }
.tv-sp-tr-ppos { font-size: 1.3rem; color: rgba(255,255,255,0.6); }
.tv-sp-tr-clubs { display: flex; align-items: center; gap: 1.8rem; }
.tv-sp-tr-club { display: flex; align-items: center; gap: 1rem; font-size: 1.6rem; font-weight: 700; color: #fff; }
.tv-sp-tr-cbadge { width: 3.4rem; height: 3.4rem; object-fit: contain; }
.tv-sp-tr-arrow { color: #ff2a6d; font-size: 2rem; font-weight: 900; }
.tv-sp-tr-fee {
  padding: 0.6rem 1.8rem; border-radius: 2rem; background: #0b2e25;
  border: 0.12rem solid #10b981; color: #6ee7b7; font-size: 1.45rem; font-weight: 800;
}

/* =========================================================================
   12. WATCH LIVE MODAL & CHANNEL BUTTONS (100% FULLSCREEN & OPTIMIZED SCALE)
   ========================================================================= */
.tv-sp-watch-box {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  border-radius: 0 !important;
  border: none !important;
  padding: 2.2rem 3.6rem 2.6rem 3.6rem !important;
  box-sizing: border-box !important;
  background: #14060b !important;
  display: flex !important;
  flex-direction: column !important;
}
.tv-sp-watch-summary {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.2rem 2.2rem;
  background: #1f0a12;
  border: 0.14rem solid rgba(255,255,255,0.08);
  border-radius: 1.4rem;
  margin-bottom: 1.4rem;
  width: 100%;
  box-sizing: border-box;
  flex-shrink: 0;
}
.tv-sp-watch-scoreboard {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 1.8rem;
}
.tv-sp-watch-team {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  flex: 1;
  min-width: 0;
  text-align: center;
}
.tv-sp-watch-team img {
  width: 5.2rem;
  height: 5.2rem;
  object-fit: contain;
}
.tv-sp-watch-tname {
  font-size: 1.7rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.tv-sp-watch-vs-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-width: 12rem;
  flex-shrink: 0;
}
.tv-sp-watch-lbadge {
  font-size: 1.25rem;
  color: rgba(255,255,255,0.65);
  background: rgba(255,255,255,0.08);
  padding: 0.25rem 1rem;
  border-radius: 0.8rem;
  max-width: 18rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.tv-sp-watch-vs-pill {
  font-size: 2.3rem;
  font-weight: 900;
  color: #ff2a6d;
  letter-spacing: 0.08rem;
}
.tv-sp-watch-time-pill {
  font-size: 1.3rem;
  color: rgba(255,255,255,0.8);
  font-weight: 700;
}

.tv-sp-watch-channels {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  max-height: calc(100vh - 22rem);
  overflow-y: auto;
  width: 100%;
}
.tv-sp-ch-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5.4rem;
  padding: 0 2.2rem;
  border-radius: 1.2rem;
  background: #250c16;
  border: 0.16rem solid rgba(255,255,255,0.12);
  color: #fff;
  font-size: 1.7rem;
  font-weight: 800;
  cursor: pointer;
  width: 100%;
  box-sizing: border-box;
}
.tv-sp-ch-btn .left {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}
.tv-sp-ch-btn svg {
  width: 2.4rem;
  height: 2.4rem;
  fill: currentColor;
  flex-shrink: 0;
}
.tv-sp-ch-btn:hover,
.tv-sp-ch-btn.has-focus {
  background: #ff2a6d !important;
  border-color: #fff !important;
  color: #fff !important;
}
.tv-sp-ch-lang-badge {
  display: inline-flex;
  align-items: center;
  font-size: 1.25rem;
  font-weight: 700;
  padding: 0.25rem 0.85rem;
  border-radius: 0.8rem;
  background: rgba(255, 255, 255, 0.12);
  color: #fbbf24;
  margin-left: 0.8rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  flex-shrink: 0;
}
.tv-sp-ch-btn:hover .tv-sp-ch-lang-badge,
.tv-sp-ch-btn.has-focus .tv-sp-ch-lang-badge {
  background: rgba(0, 0, 0, 0.28);
  color: #fff;
}
.tv-sp-ch-epg-badge {
  background: rgba(16, 185, 129, 0.2) !important;
  color: #34d399 !important;
  border: 1px solid rgba(52, 211, 153, 0.35);
}
.tv-sp-ch-btn:hover .tv-sp-ch-epg-badge,
.tv-sp-ch-btn.has-focus .tv-sp-ch-epg-badge {
  background: rgba(0, 0, 0, 0.35) !important;
  color: #a7f3d0 !important;
}
[dir="rtl"] .tv-sp-ch-lang-badge {
  margin-left: 0;
  margin-right: 0.8rem;
}

/* =========================================================================
   13. FINISHED MATCH CENTER (VIDEO, EVENTS TIMELINE & STATS - 100% FULLSCREEN)
   ========================================================================= */
.tv-sp-watch-box.is-finished-view {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  border-radius: 0 !important;
  border: none !important;
  padding: 2rem 3.6rem !important;
}
.tv-sp-watch-details {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
  max-height: calc(100vh - 20rem);
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 0.8rem;
  width: 100%;
  box-sizing: border-box;
}
.tv-sp-watch-details::-webkit-scrollbar {
  width: 0.6rem;
}
.tv-sp-watch-details::-webkit-scrollbar-track {
  background: #14050b;
  border-radius: 0.3rem;
}
.tv-sp-watch-details::-webkit-scrollbar-thumb {
  background: #ff2a6d;
  border-radius: 0.3rem;
}

.tv-sp-sec-block {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  width: 100%;
}
.tv-sp-sec-hdr-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.tv-sp-sec-title {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 1.85rem;
  font-weight: 800;
  color: #fff;
}
.tv-sp-sec-dot {
  width: 0.9rem;
  height: 0.9rem;
  border-radius: 50%;
  background: #10b981;
  flex-shrink: 0;
}

/* Video Highlight Card */
.tv-sp-video-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 6rem;
  padding: 0 2.2rem;
  border-radius: 1.4rem;
  background: #230b15;
  border: 0.16rem solid rgba(255, 42, 109, 0.4);
  color: #fff;
  font-size: 1.8rem;
  font-weight: 800;
  cursor: pointer;
  width: 100%;
  box-sizing: border-box;
}
.tv-sp-video-btn:hover,
.tv-sp-video-btn.has-focus {
  background: #3b0f21 !important;
  border-color: #ff2a6d !important;
  outline: none;
}
.tv-sp-video-left {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  min-width: 0;
}
.tv-sp-video-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.8rem;
  height: 3.8rem;
  border-radius: 50%;
  background: #ff2a6d;
  color: #fff;
  flex-shrink: 0;
}
.tv-sp-video-icon svg {
  width: 1.8rem;
  height: 1.8rem;
  fill: #ffffff !important;
  margin-left: 0.2rem;
}
.tv-sp-video-text {
  font-size: 1.75rem;
  font-weight: 800;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tv-sp-video-badge {
  font-size: 1.35rem;
  font-weight: 800;
  color: #f43f5e;
  background: rgba(244, 63, 94, 0.15);
  border: 0.1rem solid rgba(244, 63, 94, 0.3);
  padding: 0.45rem 1.2rem;
  border-radius: 0.8rem;
  flex-shrink: 0;
}

/* Events Tabs (الأبرز / الكل) */
.tv-sp-ev-tabs {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: #230b15;
  padding: 0.35rem;
  border-radius: 1.2rem;
  border: 0.12rem solid rgba(255,255,255,0.1);
}
.tv-sp-ev-tab-btn {
  padding: 0.6rem 1.8rem;
  border-radius: 0.9rem;
  font-size: 1.45rem;
  font-weight: 800;
  border: none;
  background: transparent;
  color: rgba(255,255,255,0.7);
  cursor: pointer;
}
.tv-sp-ev-tab-btn.active {
  background: #10b981 !important;
  color: #fff !important;
}
.tv-sp-ev-tab-btn.has-focus {
  outline: 0.2rem solid #ff2a6d !important;
  outline-offset: 0.12rem;
}

/* Timeline */
.tv-sp-timeline {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  width: 100%;
}
.tv-sp-tl-whistle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background: #19070f;
  border: 0.12rem solid rgba(255,255,255,0.08);
  border-radius: 1.2rem;
  padding: 0.9rem 1.6rem;
  color: #93c5fd;
  font-size: 1.45rem;
  font-weight: 800;
  width: 100%;
  box-sizing: border-box;
}
.tv-sp-tl-whistle svg {
  width: 1.8rem;
  height: 1.8rem;
  flex-shrink: 0;
  fill: #60a5fa;
}
.tv-sp-tl-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #1c0812;
  border: 0.12rem solid rgba(255,255,255,0.06);
  border-radius: 1.2rem;
  overflow: hidden;
  width: 100%;
  box-sizing: border-box;
}
.tv-sp-tl-cell {
  display: flex;
  align-items: center;
  padding: 0.75rem 1.4rem;
  gap: 1.1rem;
  min-height: 4.8rem;
  box-sizing: border-box;
}
.tv-sp-tl-cell.active-event {
  background: rgba(16, 185, 129, 0.08);
}
.tv-sp-tl-cell.home {
  justify-content: flex-start;
}
.tv-sp-tl-cell.away {
  justify-content: flex-start;
}
.tv-sp-min-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.6rem;
  height: 3.6rem;
  border-radius: 50%;
  background: #09332a;
  border: 0.12rem solid #10b981;
  color: #34d399;
  font-size: 1.35rem;
  font-weight: 900;
  flex-shrink: 0;
}
.tv-sp-ev-icon {
  font-size: 1.8rem;
  line-height: 1;
  flex-shrink: 0;
}
.tv-sp-ev-pinfo {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}
.tv-sp-ev-pname {
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tv-sp-ev-passist {
  font-size: 1.3rem;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tv-sp-card-rect {
  width: 1.4rem;
  height: 2rem;
  border-radius: 0.3rem;
  flex-shrink: 0;
}
.tv-sp-card-rect.yellow {
  background: #facc15;
}
.tv-sp-card-rect.red {
  background: #ef4444;
}

/* Statistics Box */
.tv-sp-stats-box {
  display: flex;
  flex-direction: column;
  background: #19070f;
  border: 0.12rem solid rgba(255,255,255,0.08);
  border-radius: 1.4rem;
  padding: 1.8rem 2.2rem;
  width: 100%;
  box-sizing: border-box;
}
.tv-sp-stats-hdr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.4rem;
  border-bottom: 0.1rem solid rgba(255,255,255,0.08);
  margin-bottom: 1.4rem;
}
.tv-sp-stats-team {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}
.tv-sp-stats-crest {
  width: 4rem;
  height: 4rem;
  object-fit: contain;
}
.tv-sp-stats-tname {
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
}
.tv-sp-stats-list {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}
.tv-sp-stat-row {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.tv-sp-stat-vals {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.tv-sp-stat-num {
  font-size: 1.75rem;
  font-weight: 800;
  color: #fff;
  width: 6rem;
}
.tv-sp-stat-num.home {
  text-align: left;
}
.tv-sp-stat-num.away {
  text-align: right;
}
.tv-sp-stat-num.win {
  color: #10b981;
}
.tv-sp-stat-label {
  font-size: 1.55rem;
  font-weight: 700;
  color: rgba(255,255,255,0.7);
  text-align: center;
  flex: 1;
}
.tv-sp-stat-bars {
  display: flex;
  gap: 0.6rem;
  width: 100%;
  height: 0.6rem;
  border-radius: 0.3rem;
  overflow: hidden;
}
.tv-sp-stat-track {
  flex: 1;
  height: 100%;
  background: #250b16;
  border-radius: 0.3rem;
  overflow: hidden;
  display: flex;
}
.tv-sp-stat-track.home {
  justify-content: flex-end;
}
.tv-sp-stat-track.away {
  justify-content: flex-start;
}
.tv-sp-stat-fill {
  height: 100%;
  border-radius: 0.3rem;
}
.tv-sp-stat-fill.home {
  background: #ff2a6d;
}
.tv-sp-stat-fill.away {
  background: #10b981;
}
