/* ==========================================================================
   OBSIDIAN PITCH DESIGN SYSTEM - LIVEFOOTBALL.GR
   Elite Sports Broadcast Luxury + Real-Time Telemetry
   ========================================================================== */

:root {
  /* Brand / Kinetic Accent Tokens */
  --c-brand: #00FF87;
  --c-brand-rgb: 0, 255, 135;

  /* Surface Tokens */
  --surface: #111318;
  --surface-dim: #111318;
  --surface-bright: #37393f;
  --surface-container-lowest: #0c0e13;
  --surface-container-low: #1a1b21;
  --surface-container: #1e1f25;
  --surface-container-high: #282a2f;
  --surface-container-highest: #33353a;
  
  /* Background / Canvas */
  --c-bg: #08090C;
  --c-surf: #111318;
  --c-card: #14171F;
  --c-card-elevated: #1D222E;
  
  /* Text / Contrast Tokens */
  --on-surface: #e2e2e9;
  --on-surface-variant: #b9cbb9;
  --c-text: #e2e2e9;
  --c-muted: #9aa2af;
  --c-dim: #64748b;
  
  /* Primary & Kinetic Accent Tokens */
  --primary: #f1ffef;
  --primary-container: #00ff87;
  --surface-tint: #00e478;
  --c-live: #00FF87;              /* Live kinetic pulse & primary accent */
  --c-live-rgb: 0, 255, 135;
  --c-emerald: #10B981;           /* Form win & checkmarks */
  --secondary: #4edea3;
  --tactical-cyan: #38BDF8;       /* Stats, xG, info */
  
  /* Status / Alert Tokens */
  --c-red: #EF4444;               /* Red card, cancel, alert */
  --c-warning: #F59E0B;           /* Yellow card, caution */
  --outline: #849585;
  --outline-variant: #3b4b3d;
  
  /* Translucent Glass & Borders */
  --c-border: rgba(255, 255, 255, 0.08);
  --c-border-subtle: rgba(255, 255, 255, 0.05);
  --c-border-hover: rgba(0, 255, 135, 0.35);
  --glass-bg: rgba(20, 23, 31, 0.72);
  --glass-blur: 16px;
  
  /* Typography Families */
  --font-display: "Space Grotesk", system-ui, -apple-system, sans-serif;
  --font-body: "Geist", system-ui, -apple-system, sans-serif;
  
  /* Radius */
  --r-sm: 0.25rem;
  --r-base: 0.5rem;
  --r-md: 0.75rem;
  --r-lg: 1rem;
  --r-xl: 1.5rem;
  --r-full: 9999px;

  /* Shadows */
  --shadow-card: 0 12px 32px -4px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 16px rgba(0, 255, 135, 0.35);
  --shadow-subtle: 0 4px 16px rgba(0, 0, 0, 0.4);
}

*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  overflow-x: hidden;
  max-width: 100vw;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--c-bg);
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(0, 255, 135, 0.035) 0%, transparent 60%),
    radial-gradient(circle at 100% 50%, rgba(56, 189, 248, 0.02) 0%, transparent 50%);
  background-attachment: fixed;
  color: var(--c-text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.18s ease, border-color 0.18s ease;
}

img, svg {
  max-width: 100%;
  height: auto;
}

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

button, input {
  font: inherit;
}

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

.skip {
  position: absolute;
  top: -100px;
  background: var(--c-live);
  color: #08090C;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: var(--r-base);
  z-index: 100;
  transition: top 0.2s ease;
}
.skip:focus {
  top: 12px;
  left: 12px;
}

.wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}
@media (max-width: 768px) {
  .wrap {
    padding: 0 1rem;
  }
}

.muted {
  color: var(--c-muted);
}
.small {
  font-size: 13px;
  line-height: 18px;
}

/* ==========================================================================
   Header & Navigation (Glass Broadcast Bar)
   ========================================================================== */

.hdr {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border-bottom: 1px solid var(--c-border);
  position: sticky;
  top: 0;
  z-index: 50;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.hdr-in {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: 68px;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #FFFFFF;
}
.brand:hover {
  text-decoration: none;
}
.brand .dot {
  width: 9px;
  height: 9px;
  background: var(--c-live);
  border-radius: var(--r-full);
  display: inline-block;
  box-shadow: 0 0 12px var(--c-live);
  animation: pulse-glow 2s infinite ease-in-out;
}
.brand .gr {
  color: var(--c-live);
  font-weight: 700;
}

@keyframes pulse-glow {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 10px var(--c-live);
  }
  50% {
    opacity: 0.75;
    transform: scale(1.15);
    box-shadow: 0 0 18px var(--c-live);
  }
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--surface-container-low);
  padding: 4px;
  border-radius: var(--r-full);
  border: 1px solid var(--c-border);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.nav::-webkit-scrollbar {
  display: none;
}

.nav a {
  padding: 7px 16px;
  border-radius: var(--r-full);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.01em;
  color: var(--on-surface-variant);
  white-space: nowrap;
  transition: all 0.18s ease;
}
.nav a:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.06);
  text-decoration: none;
}
.nav a[aria-current="page"] {
  background: var(--surface-container-highest);
  color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  text-decoration: none;
}
.nav a.nav-live {
  color: var(--c-live);
  position: relative;
}
.nav a.nav-live::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--c-live);
  border-radius: var(--r-full);
  margin-left: 6px;
  box-shadow: 0 0 8px var(--c-live);
}

.search {
  position: relative;
  flex-grow: 1;
  max-width: 280px;
  min-width: 180px;
}
.search input {
  width: 100%;
  padding: 9px 16px;
  border-radius: var(--r-full);
  border: 1px solid var(--c-border);
  background: var(--surface-container-low);
  color: var(--on-surface);
  font-size: 13px;
  outline: none;
  transition: all 0.2s ease;
}
.search input::placeholder {
  color: var(--c-dim);
}
.search input:focus {
  border-color: var(--c-live);
  box-shadow: 0 0 0 1px var(--c-live), 0 0 16px rgba(0, 255, 135, 0.15);
  background: var(--surface-container);
}
.search-results {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: var(--surface-container);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
  z-index: 60;
  max-height: 320px;
  overflow-y: auto;
}
.search-results:empty {
  display: none;
}
.search-results li {
  border-bottom: 1px solid var(--c-border);
}
.search-results li:last-child {
  border-bottom: none;
}
.search-results a {
  display: block;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 500;
}
.search-results a:hover,
.search-results a[aria-selected="true"] {
  background: var(--surface-container-high);
  color: var(--c-live);
  text-decoration: none;
}

/* ==========================================================================
   Main Grid Layout
   ========================================================================== */

.layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: 2rem 0;
}
@media (min-width: 960px) {
  .layout {
    grid-template-columns: minmax(0, 1fr) 340px;
  }
}
.main-col {
  min-width: 0;
}
.side {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* ==========================================================================
   Typography Hierarchy
   ========================================================================== */

.h1 {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  line-height: 40px;
  letter-spacing: -0.02em;
  margin: 0 0 1.25rem 0;
  color: #FFFFFF;
}
@media (max-width: 768px) {
  .h1 {
    font-size: 26px;
    line-height: 32px;
  }
}

.h2 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  line-height: 28px;
  letter-spacing: -0.01em;
  margin: 2rem 0 1rem 0;
  color: #FFFFFF;
}

/* ==========================================================================
   Day Navigator & Filter Rails
   ========================================================================== */

.daynav {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 1.5rem;
}
.daynav-arrow {
  padding: 8px 12px;
  border-radius: var(--r-full);
  background: var(--surface-container-low);
  border: 1px solid var(--c-border);
  font-size: 16px;
  font-weight: 700;
  color: var(--on-surface-variant);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.18s ease;
}
.daynav-arrow:hover {
  background: var(--surface-container-high);
  color: #FFFFFF;
  text-decoration: none;
}
.daynav-rail {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  flex: 1;
  padding: 2px 0;
}
.daynav-rail::-webkit-scrollbar {
  display: none;
}
.daynav-rail a {
  padding: 7px 14px;
  border-radius: var(--r-full);
  background: var(--surface-container-low);
  border: 1px solid var(--c-border);
  font-size: 13px;
  font-weight: 600;
  color: var(--on-surface-variant);
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.18s ease;
  text-decoration: none;
}
.daynav-rail a:hover {
  background: var(--surface-container-high);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.15);
}
.daynav-rail a.is-today {
  border-color: rgba(0, 255, 135, 0.4);
}
.daynav-rail a[aria-current="date"] {
  background: var(--surface-container-highest);
  color: #FFFFFF;
  border-color: var(--c-live);
  box-shadow: 0 0 12px rgba(0, 255, 135, 0.25);
}

.filters {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin-bottom: 1.25rem;
  padding-bottom: 6px;
  scrollbar-width: none;
}
.filters::-webkit-scrollbar {
  display: none;
}

.chip {
  background: var(--surface-container-low);
  color: var(--on-surface-variant);
  border: 1px solid var(--c-border);
  padding: 7px 15px;
  border-radius: var(--r-full);
  cursor: pointer;
  white-space: nowrap;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  transition: all 0.18s ease;
}
.chip:hover {
  background: var(--surface-container-high);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.2);
}
.chip[aria-pressed="true"] {
  background: var(--c-card-elevated);
  color: #FFFFFF;
  border-color: var(--c-live);
  box-shadow: 0 0 12px rgba(0, 255, 135, 0.2);
}

.fresh {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 1.25rem;
  font-size: 13px;
  color: var(--c-muted);
}

/* ==========================================================================
   Match Modules & Competition Panels
   ========================================================================== */

.comp {
  margin-bottom: 1.5rem;
  border-radius: var(--r-lg);
  border: 1px solid var(--c-border);
  overflow: hidden;
  background: var(--surface-container-low);
  box-shadow: var(--shadow-subtle);
}

.comp-h {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0;
  padding: 12px 16px;
  background: var(--surface-container);
  border-bottom: 1px solid var(--c-border);
  color: var(--on-surface);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.comp-h a:hover {
  color: var(--c-live);
  text-decoration: none;
}

.rows {
  margin: 0;
  padding: 0;
}

/* ==========================================================================
   Match Row Component (Precision Athletic Card)
   ========================================================================== */

.row {
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--c-border-subtle);
  background: var(--surface-container-lowest);
  transition: background 0.18s ease, border-color 0.18s ease;
  position: relative;
}
.row:last-child {
  border-bottom: none;
}
.row:hover {
  background: rgba(255, 255, 255, 0.03);
}

/* Live Active Indicator */
.row.is-live {
  background: rgba(0, 255, 135, 0.025);
  box-shadow: inset 3px 0 0 var(--c-live);
}
.row.is-live::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--c-live);
  box-shadow: 0 0 10px var(--c-live);
}

.row-link {
  flex: 1;
  display: grid;
  grid-template-columns: 54px 1fr auto;
  gap: 8px;
  align-items: center;
  padding: 10px 12px;
  min-width: 0;
  transition: background 0.15s ease;
}
.row-link:hover {
  text-decoration: none;
}
@media (min-width: 640px) {
  .row-link {
    grid-template-columns: 84px 1fr 60px auto;
    gap: 12px;
    padding: 12px 16px;
  }
}
@media (min-width: 960px) {
  .row-link {
    grid-template-columns: 96px 1fr 70px 140px;
  }
}

.tv-row-link {
  grid-template-columns: 54px 1fr auto !important;
}
@media (min-width: 640px) {
  .tv-row-link {
    grid-template-columns: 70px 1fr auto !important;
  }
}

.r-time {
  font-size: 12px;
  color: var(--c-muted);
  font-variant-numeric: tabular-nums;
  display: flex;
  align-items: center;
  white-space: nowrap;
}
@media (min-width: 640px) {
  .r-time {
    font-size: 13px;
  }
}
.r-time time {
  font-weight: 500;
}

.r-teams {
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow: hidden;
}

.r-team {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--on-surface);
}

.ini {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  background: var(--surface-container-high);
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-sm);
  color: var(--on-surface-variant);
  border: 1px solid var(--c-border);
  flex-shrink: 0;
}

.r-score {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  text-align: center;
  color: var(--on-surface);
}
.is-live .r-score {
  color: var(--c-live);
  text-shadow: 0 0 10px rgba(0, 255, 135, 0.4);
}

.r-tv {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  color: var(--on-surface-variant);
  text-align: right;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  background: rgba(22, 27, 38, 0.8);
  border: 1px solid var(--c-border);
  padding: 3px 8px;
  border-radius: var(--r-full);
}
.tv-logo-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #FFFFFF;
  padding: 2px 6px;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.3);
  height: 18px;
  flex-shrink: 0;
}
.tv-logo-badge img {
  height: 14px;
  width: auto;
  max-width: 55px;
  object-fit: contain;
  display: block;
}
@media (max-width: 639px) {
  .r-tv {
    padding: 2px 6px;
    font-size: 10px;
  }
  .tv-logo-badge {
    height: 16px;
    padding: 1px 4px;
  }
  .tv-logo-badge img {
    height: 12px;
    max-width: 45px;
  }
}
@media (min-width: 640px) {
  .r-tv {
    display: inline-flex;
    justify-content: flex-end;
    align-items: center;
    max-width: 170px;
    justify-self: end;
  }
}

/* ==========================================================================
   TV Guide Layout (Sport24 & ProgrammaTV style)
   ========================================================================== */

/* Top Live Now Section */
.tv-live-now-section {
  margin-bottom: 2rem;
  padding: 0;
}

.tv-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.tv-live-header-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  color: #EF4444;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.tv-live-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 600px) {
  .tv-live-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 990px) {
  .tv-live-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.tv-live-card {
  background: var(--surface-container);
  border: 1px solid rgba(239, 68, 68, 0.25);
  border-radius: var(--r-base);
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: all 0.2s ease;
  text-decoration: none !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}
.tv-live-card:hover {
  background: var(--surface-container-high);
  border-color: #EF4444;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(239, 68, 68, 0.15);
}

.tv-live-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
}
.tv-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 800;
  color: #EF4444;
  background: rgba(239, 68, 68, 0.12);
  padding: 2px 7px;
  border-radius: var(--r-full);
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.tv-live-card-teams {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.tv-live-team {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--on-surface);
  line-height: 1.25;
  white-space: normal;
  word-break: break-word;
}
.tv-live-team--home {
  color: #FFFFFF;
}

.tv-live-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--c-border-subtle);
  padding-top: 8px;
  margin-top: 2px;
}

.tv-program-container {
  background: var(--surface-container-low);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
}

.tv-program-rows {
  margin: 0;
  padding: 0;
  list-style: none;
}

.tv-row {
  border-bottom: 1px solid var(--c-border-subtle);
  background: var(--surface-container-lowest);
  transition: all 0.18s ease;
  position: relative;
}
.tv-row:last-child {
  border-bottom: none;
}
.tv-row:hover {
  background: rgba(255, 255, 255, 0.04);
}

/* Live Broadcast Highlight (Glowing accent + badge like programmatv.gr) */
.tv-row--live {
  background: rgba(239, 68, 68, 0.04) !important;
  box-shadow: inset 4px 0 0 #EF4444;
}
.tv-row--live:hover {
  background: rgba(239, 68, 68, 0.07) !important;
}

.tv-match-link {
  display: flex !important;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 16px !important;
  width: 100%;
  text-decoration: none !important;
}

.tv-col-time {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 76px;
  flex-shrink: 0;
  padding-top: 2px;
}
.tv-time-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.01em;
  color: var(--on-surface);
  font-variant-numeric: tabular-nums;
  text-align: center;
}
.tv-row--live .tv-time-text {
  color: #EF4444;
}

/* Live pulsing badge */
.tv-live-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 800;
  color: #EF4444;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(239, 68, 68, 0.12);
  padding: 2px 6px;
  border-radius: var(--r-full);
}
.tv-live-dot {
  width: 6px;
  height: 6px;
  background: #EF4444;
  border-radius: 50%;
  display: inline-block;
  animation: live-pulse 1.4s infinite ease-in-out;
}

@keyframes live-pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
    box-shadow: 0 0 4px #EF4444;
  }
  50% {
    transform: scale(1.3);
    opacity: 0.6;
    box-shadow: 0 0 10px #EF4444;
  }
}

.tv-col-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* Teams row: horizontal with wrap so long names fall on the next line */
.tv-teams-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--on-surface);
  line-height: 1.35;
}
.tv-team {
  display: inline-block;
  word-break: break-word;
}
.tv-team--home {
  color: #FFFFFF;
}
.tv-team--away {
  color: var(--on-surface);
}
.tv-sep {
  color: var(--c-muted);
  font-weight: 400;
}

/* Metadata row below teams: Channel pill + competition tag */
.tv-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 2px;
}

.tv-channel-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--surface-container-high);
  border: 1px solid var(--c-border);
  padding: 3px 8px;
  border-radius: var(--r-full);
  max-width: 100%;
  min-width: 0;
  transition: all 0.18s ease;
}
.tv-channel-name {
  font-size: 11px;
  font-weight: 600;
  color: var(--on-surface-variant);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tv-comp-tag {
  font-size: 11px;
  color: var(--c-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 639px) {
  .tv-match-link {
    padding: 10px 12px !important;
    gap: 10px;
  }
  .tv-col-time {
    width: 48px;
  }
  .tv-time-text {
    font-size: 14px;
  }
  .tv-teams-wrapper {
    font-size: 13.5px;
    gap: 2px 6px;
  }
  .tv-channel-pill {
    padding: 2px 6px;
    gap: 4px;
  }
  .tv-channel-name {
    font-size: 10.5px;
  }
  .tv-comp-tag {
    font-size: 10.5px;
  }
}

.fav {
  background: none;
  border: none;
  color: var(--c-dim);
  font-size: 1.15rem;
  padding: 8px 10px;
  cursor: pointer;
  transition: color 0.18s ease;
  flex-shrink: 0;
}
@media (min-width: 640px) {
  .fav {
    padding: 12px 14px;
  }
}
.fav:hover {
  color: #FFFFFF;
}
.fav[aria-pressed="true"] {
  color: #F59E0B;
}

/* ==========================================================================
   Badges & Micro-Pills
   ========================================================================== */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border-radius: var(--r-full);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1;
}

.badge.live {
  background: rgba(0, 255, 135, 0.12);
  color: var(--c-live);
  border: 1px solid rgba(0, 255, 135, 0.4);
  box-shadow: 0 0 10px rgba(0, 255, 135, 0.2);
}
.badge.live span {
  animation: pulse-glow 1.5s infinite;
}

.badge.delayed {
  background: rgba(255, 255, 255, 0.05);
  color: var(--on-surface-variant);
  border: 1px solid var(--c-border);
}

.badge.st-half-time,
.badge.st-extra-time {
  background: rgba(0, 255, 135, 0.12);
  color: var(--c-live);
  border: 1px solid rgba(0, 255, 135, 0.3);
}

.badge.st-finished {
  background: rgba(255, 255, 255, 0.04);
  color: var(--c-muted);
  border: 1px solid var(--c-border-subtle);
}

.badge.st-postponed,
.badge.st-cancelled,
.badge.st-abandoned,
.badge.st-suspended {
  background: rgba(239, 68, 68, 0.15);
  color: var(--c-red);
  border: 1px solid rgba(239, 68, 68, 0.4);
}

/* ==========================================================================
   Match Center Hero (Scoreboard Lg)
   ========================================================================== */

.match-hdr {
  text-align: center;
  padding: 2.25rem 1.5rem;
  background: var(--surface-container-low);
  border-radius: var(--r-lg);
  border: 1px solid var(--c-border);
  box-shadow: var(--shadow-card);
  margin-top: 1.5rem;
  position: relative;
  overflow: hidden;
}
.match-hdr::before {
  content: "";
  position: absolute;
  top: 0;
  left: 20%;
  right: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 255, 135, 0.4), transparent);
}

.crumbs {
  font-size: 13px;
  color: var(--c-muted);
  margin-bottom: 1.25rem;
}
.crumbs a:hover {
  color: var(--c-live);
}

.m-teams {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
}
.m-team {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
}
.m-team .ini-lg {
  width: 52px;
  height: 52px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  border-radius: var(--r-md);
  background: var(--surface-container-high);
  border: 1px solid var(--c-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  box-shadow: var(--shadow-subtle);
  flex-shrink: 0;
}
.m-tname {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin: 0;
  font-weight: 700;
  line-height: 1.25;
  word-break: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
}
.m-tname a {
  color: #FFFFFF;
  display: block;
}

.m-score {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 100px;
  padding: 0 4px;
}
.m-st {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--c-muted);
}
.is-live .m-st {
  color: var(--c-live);
}

.m-num {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 42px;
  letter-spacing: -0.04em;
  color: #FFFFFF;
  white-space: nowrap;
}
.is-live .m-num {
  color: var(--c-live);
  text-shadow: 0 0 20px rgba(0, 255, 135, 0.45);
}
.m-time {
  font-size: 12px;
  color: var(--c-muted);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

@media (max-width: 639px) {
  .match-hdr {
    padding: 1.25rem 0.75rem;
  }
  .m-teams {
    gap: 8px;
  }
  .m-team .ini-lg {
    width: 42px;
    height: 42px;
    font-size: 1rem;
  }
  .m-tname {
    font-size: 0.92rem;
    line-height: 1.2;
  }
  .m-score {
    min-width: 76px;
    gap: 2px;
  }
  .m-num {
    font-size: 28px;
    line-height: 32px;
  }
  .m-time {
    font-size: 11px;
  }
}

/* ==========================================================================
   Tabs Component
   ========================================================================== */

.tabs {
  display: flex;
  border-bottom: 1px solid var(--c-border);
  margin-bottom: 1.5rem;
  overflow-x: auto;
  gap: 8px;
}
.tabs button {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--on-surface-variant);
  padding: 12px 18px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.18s ease;
}
.tabs button:hover:not([aria-selected="true"]) {
  color: #FFFFFF;
}
.tabs button[aria-selected="true"] {
  color: #FFFFFF;
  border-bottom-color: var(--c-live);
}

/* ==========================================================================
   Timeline & Tactical Events
   ========================================================================== */

.timeline {
  list-style: none;
  padding: 0;
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--c-border);
  transform: translateX(-50%);
}
.timeline li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  position: relative;
}
.tl-h {
  flex-direction: row;
}
.tl-a {
  flex-direction: row-reverse;
  text-align: right;
}
.tl-min {
  width: 44%;
  text-align: right;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: var(--c-muted);
  font-variant-numeric: tabular-nums;
}
.tl-a .tl-min {
  text-align: left;
}
.tl-icon {
  width: 26px;
  height: 26px;
  background: var(--surface-container-high);
  border: 2px solid var(--c-border);
  border-radius: var(--r-full);
  z-index: 2;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.tl-goal {
  border-color: var(--c-live);
  background: var(--c-live);
  box-shadow: 0 0 10px rgba(0, 255, 135, 0.5);
}
.tl-yellow_card {
  background: var(--c-warning);
  border-color: var(--c-warning);
}
.tl-red_card {
  background: var(--c-red);
  border-color: var(--c-red);
}
.tl-det {
  width: 44%;
  font-size: 14px;
}

.stats {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.stats li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--surface-container-low);
  padding: 10px 18px;
  border-radius: var(--r-base);
  border: 1px solid var(--c-border-subtle);
}
.st-key {
  font-size: 12px;
  color: var(--c-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
}
.st-val {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  font-variant-numeric: tabular-nums;
  width: 44px;
  text-align: center;
  color: #FFFFFF;
}

/* ==========================================================================
   Lineups Component
   ========================================================================== */

.lineups {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 600px) {
  .lineups {
    grid-template-columns: 1fr 1fr;
  }
}
.lu-list {
  list-style: none;
  padding: 0;
  margin-bottom: 16px;
}
.lu-list li {
  padding: 8px 0;
  border-bottom: 1px solid var(--c-border-subtle);
  font-size: 14px;
}
.lu-no {
  display: inline-block;
  width: 28px;
  font-family: var(--font-display);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--c-muted);
}

/* ==========================================================================
   Card Surfaces & Sidebar Elements
   ========================================================================== */

.card {
  background: var(--surface-container-low);
  padding: 1.25rem;
  border-radius: var(--r-lg);
  border: 1px solid var(--c-border);
  box-shadow: var(--shadow-subtle);
}

.card-h {
  font-family: var(--font-display);
  font-size: 13px;
  margin: 0 0 1rem 0;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #FFFFFF;
  border-bottom: 1px solid var(--c-border);
  padding-bottom: 10px;
}

.news-list {
  list-style: none;
  padding: 0;
}
.news-list li {
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--c-border-subtle);
}
.news-list li:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}
.news-list a {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  display: block;
  margin-bottom: 5px;
  color: var(--on-surface);
}
.news-list a:hover {
  color: var(--c-live);
  text-decoration: none;
}

.empty {
  text-align: center;
  padding: 48px 20px;
  color: var(--c-muted);
  background: var(--surface-container-low);
  border-radius: var(--r-lg);
  border: 1px dashed var(--c-border);
}

/* ==========================================================================
   League Standings Table
   ========================================================================== */

.table-wrap {
  overflow-x: auto;
  margin-bottom: 1.5rem;
  border-radius: var(--r-lg);
  border: 1px solid var(--c-border);
  background: var(--surface-container-low);
}
.table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-variant-numeric: tabular-nums;
  font-size: 14px;
}
.table th,
.table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--c-border-subtle);
}
.table th {
  color: var(--c-muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: var(--surface-container);
}
.table tr:hover td {
  background: rgba(255, 255, 255, 0.03);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}
.hover-card {
  background: var(--surface-container-low);
  padding: 18px;
  border-radius: var(--r-lg);
  border: 1px solid var(--c-border);
  transition: all 0.2s ease;
}
.hover-card:hover {
  border-color: var(--c-border-hover);
  background: var(--surface-container);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  text-decoration: none;
}
.hover-card h2 {
  font-family: var(--font-display);
  margin: 0 0 6px 0;
  font-size: 1.15rem;
  color: #FFFFFF;
}
.hover-card p {
  margin: 0;
  font-size: 13px;
  color: var(--c-muted);
}

.form-Ν { color: var(--c-live); font-weight: 700; }
.form-Η { color: var(--c-red); font-weight: 700; }
.form-Ι { color: var(--c-muted); font-weight: 700; }

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  background: var(--c-live);
  border: none;
  color: #08090C;
  font-weight: 700;
  font-size: 14px;
  padding: 8px 18px;
  border-radius: var(--r-full);
  cursor: pointer;
  transition: all 0.18s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn:hover {
  background: #60ff98;
  box-shadow: 0 0 16px rgba(0, 255, 135, 0.4);
  text-decoration: none;
}
.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--c-border);
  color: #FFFFFF;
}
.btn-secondary:hover {
  background: var(--surface-container-highest);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: none;
}

/* ==========================================================================
   Ads Placeholder
   ========================================================================== */

.ad-slot {
  background: var(--surface-container-low);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-dim);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid var(--c-border);
  border-radius: var(--r-base);
}
.ad-slot::after {
  content: "ΔΙΑΦΗΜΙΣΗ";
}
.ad-728 {
  width: 100%;
  height: 90px;
  margin: 24px auto;
  max-width: 728px;
}
.ad-300 {
  width: 300px;
  height: 250px;
  margin: 0 auto;
}

/* ==========================================================================
   Editorial Article Body
   ========================================================================== */

.article-body {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--on-surface);
}
.article-body p {
  margin-bottom: 1.5em;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.ftr {
  background: var(--surface-container-lowest);
  border-top: 1px solid var(--c-border);
  padding: 48px 0;
  margin-top: 48px;
  text-align: center;
  color: var(--c-muted);
  font-size: 13px;
}
.ftr p {
  margin-bottom: 8px;
}
.ftr strong {
  color: #FFFFFF;
}
.ftr a {
  color: var(--on-surface-variant);
  text-decoration: underline;
  margin: 0 8px;
}
.ftr a:hover {
  color: var(--c-live);
}

/* ==========================================================================
   Fullpage Layout & Obsidian Pitch Login Card
   ========================================================================== */

.fullpage-.fullpage-body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  background: var(--surface-dim);
  display: flex;
  flex-direction: column;
}

.fullpage-body #main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.login-wrapper {
  flex: 1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  background: radial-gradient(circle at 50% 20%, rgba(0, 255, 135, 0.05) 0%, transparent 60%), var(--surface-dim);
}

.login-card {
  width: 100%;
  max-width: 440px;
  background: var(--surface-container-low);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: 36px 32px;
  box-shadow: 0 20px 40px -15px rgba(0,0,0,0.7), 0 0 0 1px rgba(255,255,255,0.03);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.login-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 20%;
  right: 20%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--c-live), transparent);
}

.login-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: var(--r-full);
  background: rgba(0, 255, 135, 0.08);
  color: var(--c-live);
  border: 1px solid rgba(0, 255, 135, 0.25);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1.25rem;
}

.login-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.login-sub {
  font-size: 13px;
  color: var(--on-surface-variant);
  margin-bottom: 24px;
  line-height: 1.4;
}

.login-error {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 75, 75, 0.12);
  border: 1px solid rgba(255, 75, 75, 0.35);
  color: #FF6B6B;
  padding: 10px 14px;
  border-radius: var(--r-base);
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 20px;
  text-align: left;
}

.login-form {
  text-align: left;
}

.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--on-surface);
  margin-bottom: 6px;
}

.label-with-hint {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 6px;
}

.label-with-hint .form-label {
  margin-bottom: 0;
}

.form-hint {
  font-size: 12px;
  color: var(--c-dim);
}

.input-wrap {
  position: relative;
  width: 100%;
}

.form-input {
  width: 100%;
  height: 44px;
  padding: 10px 14px;
  border-radius: var(--r-base);
  border: 1px solid var(--c-border);
  background: var(--surface-container);
  color: #FFFFFF;
  font-family: var(--font-body);
  font-size: 14px;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.form-input:focus {
  outline: none;
  border-color: var(--c-live);
  background: var(--surface-container-high);
  box-shadow: 0 0 0 3px rgba(0, 255, 135, 0.15);
}

.form-input::placeholder {
  color: var(--c-dim);
}

.login-btn {
  width: 100%;
  height: 46px;
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--c-live);
  color: #08090C;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  border: none;
  border-radius: var(--r-base);
  cursor: pointer;
  transition: all 0.2s ease;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.login-btn:hover {
  background: #33FF9E;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0, 255, 135, 0.3);
}

.login-btn:active {
  transform: translateY(0);
}

.login-footer {
  margin-top: 24px;
  text-align: center;
}

.login-back {
  font-size: 12px;
  color: var(--on-surface-variant);
  transition: color 0.15s ease;
}

.login-back:hover {
  color: var(--c-live);
}


/* ==========================================================================
   LIVESCORE.IN REDESIGN STYLES (3-COLUMN LAYOUT, SPORTS SUBNAV, COMPACT ROWS)
   ========================================================================== */

/* Top Sports Horizontal Subnav */
.sports-subnav {
  position: sticky;
  top: 56px;
  z-index: 40;
  background: rgba(18, 20, 26, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--c-border);
  margin: 0 calc(-1 * 2rem) 1.5rem;
  padding: 0.5rem 2rem;
  overflow-x: auto;
  scrollbar-width: none;
}
.sports-subnav::-webkit-scrollbar {
  display: none;
}
@media (max-width: 768px) {
  .sports-subnav {
    margin: 0 -1rem 1rem;
    padding: 0.4rem 1rem;
    top: 52px;
  }
}
.sports-subnav-in {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: max-content;
}
.sport-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.85rem;
  border-radius: 9999px;
  border: 1px solid var(--c-border);
  background: var(--c-surface);
  color: var(--c-text);
  font-size: 0.8125rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
}
.sport-btn:hover {
  background: var(--c-hover);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}
.sport-btn[aria-pressed="true"] {
  background: var(--c-brand);
  border-color: var(--c-brand);
  color: #0d0f14;
  font-weight: 700;
}
.sport-btn-euro[aria-pressed="true"] {
  background: #3b82f6;
  border-color: #3b82f6;
  color: #fff;
}
.sport-btn .s-icon {
  font-size: 0.95rem;
  line-height: 1;
}
.sport-btn .s-counter {
  font-size: 0.72rem;
  padding: 0.1rem 0.4rem;
  border-radius: 9999px;
  background: rgba(0, 0, 0, 0.25);
  font-weight: 600;
}
.sport-btn[aria-pressed="true"] .s-counter {
  background: rgba(0, 0, 0, 0.2);
  color: inherit;
}

/* 3-Column Layout */
.layout-3col {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr) 300px;
  gap: 1.25rem;
  align-items: start;
}
@media (max-width: 1200px) {
  .layout-3col {
    grid-template-columns: 210px minmax(0, 1fr) 280px;
    gap: 1rem;
  }
}
/* Left Sidebar: Top Leagues & Countries Accordion */
.col-sidebar-left {
  position: sticky;
  top: 110px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  scrollbar-width: thin;
}

@media (max-width: 1024px) {
  .layout-3col {
    grid-template-columns: minmax(0, 1fr) 300px;
  }
  .col-sidebar-left {
    display: none !important;
  }
}
@media (max-width: 768px) {
  .layout-3col {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
  }
  .col-sidebar-left {
    display: none !important;
  }
  .col-sidebar-right {
    width: 100%;
  }
}
.sidebar-box {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: 8px;
  padding: 0.75rem 0.5rem;
}
.sidebar-box-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--c-muted);
  padding: 0 0.5rem 0.5rem;
  border-bottom: 1px solid var(--c-border);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.sidebar-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.sidebar-nav-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.5rem;
  border-radius: 6px;
  color: var(--c-text);
  text-decoration: none;
  font-size: 0.8125rem;
  font-weight: 500;
  transition: all 0.15s ease;
}
.sidebar-nav-link:hover {
  background: var(--c-hover);
  color: #fff;
}
.sidebar-nav-link.is-active {
  background: rgba(0, 255, 135, 0.12);
  color: var(--c-brand);
  font-weight: 600;
}
.sidebar-nav-link .icon {
  font-size: 0.95rem;
  width: 18px;
  text-align: center;
}
.sidebar-nav-link .text {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sidebar-nav-link .badge-num {
  font-size: 0.7rem;
  color: var(--c-muted);
  background: rgba(255, 255, 255, 0.05);
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
}

/* Country Accordion */
.country-accordion {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.country-item {
  border-radius: 6px;
}
.country-summary {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.5rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--c-text);
  user-select: none;
  transition: background 0.15s;
}
.country-summary:hover {
  background: var(--c-hover);
}
.country-summary .c-flag {
  font-size: 0.85rem;
}
.country-summary .c-name {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.country-summary .c-count {
  font-size: 0.7rem;
  color: var(--c-muted);
}
.country-sublist {
  list-style: none;
  padding: 2px 0 4px 1.5rem;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.country-sublink {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.3rem 0.5rem;
  border-radius: 4px;
  text-decoration: none;
  font-size: 0.75rem;
  color: var(--c-muted);
  transition: all 0.15s;
}
.country-sublink:hover {
  color: #fff;
  background: var(--c-hover);
}
.country-sublink .comp-title {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 140px;
}
.country-sublink .comp-badge {
  font-size: 0.68rem;
  opacity: 0.8;
}

/* Center Column & Livescore Daynav */
.col-main {
  min-width: 0;
}
.livescore-daynav {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: 8px;
  padding: 0.35rem 0.5rem;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
}
.livescore-daynav .daynav-rail {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex: 1;
  overflow-x: auto;
  justify-content: space-between;
}
.livescore-daynav .daynav-rail a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.6rem;
  border-radius: 6px;
  text-decoration: none;
  color: var(--c-text);
  min-width: 54px;
  transition: all 0.15s ease;
}
.livescore-daynav .daynav-rail a:hover {
  background: var(--c-hover);
  color: #fff;
}
.livescore-daynav .daynav-rail a.is-today {
  color: var(--c-brand);
  font-weight: 700;
}
.livescore-daynav .daynav-rail a[aria-current="date"] {
  background: var(--c-brand);
  color: #0d0f14 !important;
  font-weight: 700;
}
.livescore-daynav .d-text {
  font-size: 0.75rem;
  line-height: 1.1;
}
.livescore-daynav .d-sub {
  font-size: 0.68rem;
  opacity: 0.8;
}

/* Status Filter Bar */
.livescore-filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: 8px;
  padding: 0.4rem 0.75rem;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.filter-group {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.status-chip {
  padding: 0.3rem 0.7rem;
  font-size: 0.775rem;
  border-radius: 6px;
  border: 1px solid var(--c-border);
  background: transparent;
  color: var(--c-muted);
  cursor: pointer;
  transition: all 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.status-chip:hover {
  background: var(--c-hover);
  color: #fff;
}
.status-chip[aria-pressed="true"] {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
  font-weight: 600;
}
.is-live-chip[aria-pressed="true"] {
  background: rgba(239, 68, 68, 0.15);
  border-color: #ef4444;
  color: #ef4444;
}
.live-dot-pulse {
  width: 7px;
  height: 7px;
  background-color: #ef4444;
  border-radius: 50%;
  box-shadow: 0 0 6px #ef4444;
  animation: pulse 1.5s infinite;
}
.btn-text-sm {
  background: none;
  border: none;
  color: var(--c-muted);
  font-size: 0.75rem;
  cursor: pointer;
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
}
.btn-text-sm:hover {
  color: #fff;
}

/* Competition Header & Feed */
.livescore-feed {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.livescore-comp-block {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: 8px;
  overflow: hidden;
}
.livescore-comp-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0.75rem;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--c-border);
}
.comp-title-area {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.comp-icon {
  font-size: 0.95rem;
}
.comp-name-link {
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.01em;
}
.comp-name-link:hover {
  color: var(--c-brand);
}
.comp-meta-area {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.comp-count-pill {
  font-size: 0.7rem;
  background: rgba(255, 255, 255, 0.08);
  padding: 0.1rem 0.4rem;
  border-radius: 9999px;
  color: var(--c-muted);
}
.comp-standings-link {
  font-size: 0.75rem;
  color: var(--c-muted);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s;
}
.comp-standings-link:hover {
  color: var(--c-brand);
}

/* Match Rows (Livescore Style) */
.livescore-rows {
  list-style: none;
  padding: 0;
  margin: 0;
}
.livescore-row {
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  transition: background 0.12s ease;
  padding: 0.2rem 0.5rem 0.2rem 0.25rem;
  position: relative;
}
.livescore-row:last-child {
  border-bottom: none;
}
.livescore-row:hover {
  background: rgba(255, 255, 255, 0.035);
}
.livescore-row.is-live {
  background: rgba(239, 68, 68, 0.04);
}

/* Favourite Star */
.livescore-row .fav {
  background: none;
  border: none;
  color: var(--c-muted);
  font-size: 1.15rem;
  line-height: 1;
  padding: 0.4rem 0.35rem;
  cursor: pointer;
  transition: all 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
}
.livescore-row .fav:hover {
  color: #fbbf24;
  transform: scale(1.15);
}
.livescore-row .fav[aria-pressed="true"] {
  color: #fbbf24;
}

/* Match Main Clickable Area */
.livescore-row .row-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 1;
  min-width: 0;
  text-decoration: none;
  color: inherit;
  padding: 0.35rem 0.25rem;
}
.livescore-row .r-end {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: auto;
  flex-shrink: 0;
}

/* Match Time / Live Elapsed */
.livescore-row .r-time {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--c-muted);
  text-align: center;
}
.livescore-row .badge.live {
  background: transparent;
  color: #ef4444;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.72rem;
}
.livescore-row .live-dot {
  font-size: 0.55rem;
  animation: pulse 1.5s infinite;
}

/* Teams (Home on top, Away below or 2-stack livescore style) */
.livescore-row .r-teams {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}
.livescore-row .r-team {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--c-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.livescore-row .t-badge {
  width: 20px;
  height: 20px;
  min-width: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.livescore-row .team-logo-img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  border-radius: 2px;
}
.livescore-row .ini {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--c-border);
  color: var(--c-muted);
  font-size: 0.6rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.livescore-row .t-name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Score column */
.livescore-row .r-score {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  font-weight: 700;
  font-size: 0.8125rem;
  color: var(--c-text);
}
.livescore-row .s-digit.is-winner {
  color: #fff;
  font-weight: 800;
}

/* TV Badge */
.livescore-row .r-tv {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--c-border);
  padding: 0.2rem 0.45rem;
  border-radius: 4px;
  font-size: 0.7rem;
  color: var(--c-muted);
  white-space: nowrap;
}
.livescore-row .r-tv .tv-logo-badge {
  display: inline-flex;
  align-items: center;
  height: 14px;
}
.livescore-row .r-tv .tv-logo-badge img {
  height: 12px;
  width: auto;
  max-width: 32px;
  object-fit: contain;
}
.livescore-row .r-tv .tv-icon {
  font-size: 0.75rem;
}
@media (max-width: 640px) {
  .livescore-row .r-tv .tv-name {
    display: none;
  }
}

/* Right Sidebar Cards */
.col-sidebar-right {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.card-h-styled {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--c-border);
  margin-bottom: 0.75rem;
}
.card-h-styled .c-icon {
  font-size: 1rem;
  margin-right: 0.35rem;
}
.card-h-styled .c-title {
  font-size: 0.85rem;
  font-weight: 700;
  margin: 0;
  flex: 1;
  color: #fff;
}
.card-h-styled .c-link {
  font-size: 0.75rem;
  color: var(--c-brand);
  text-decoration: none;
  font-weight: 600;
}
.small-p {
  font-size: 0.8rem;
  margin: 0;
}

/* TV List in Right Column */
.tv-sidebar-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.tv-sidebar-list .tv-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 0.5rem;
}
.tv-sidebar-list .tv-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.tv-time-row {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--c-brand);
  margin-bottom: 0.2rem;
}
.tv-sidebar-list .tv-match a {
  color: var(--c-text);
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  line-height: 1.25;
}
.tv-sidebar-list .tv-match a:hover {
  color: #fff;
}
.tv-sidebar-list .tv-comp {
  font-size: 0.7rem;
  margin-top: 0.15rem;
}

/* News compact list */
.news-compact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.news-compact-list li {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  padding-bottom: 0.5rem;
}
.news-compact-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.news-compact-list a {
  font-size: 0.8rem;
  color: var(--c-text);
  text-decoration: none;
  line-height: 1.3;
}
.news-compact-list a:hover {
  color: var(--c-brand);
}
.news-compact-list .news-source {
  font-size: 0.7rem;
}


/* ==========================================================================
   MOBILE NAVIGATION (BURGER MENU) & CONTRAST FIXES
   ========================================================================== */

.hdr-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Burger Toggle Button */
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--c-border);
  border-radius: 8px;
  padding: 6px 8px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 36px;
  height: 36px;
  transition: all 0.2s ease;
}
.nav-toggle:hover {
  background: var(--c-hover);
  border-color: rgba(255, 255, 255, 0.2);
}
.nav-toggle-bar {
  display: block;
  width: 18px;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transition: all 0.2s ease;
}

/* Contrast improvements: text on high-contrast brand background */
.sport-btn[aria-pressed="true"] {
  background: #00FF87 !important;
  border-color: #00FF87 !important;
  color: #0d0f14 !important;
  font-weight: 700 !important;
}
.sport-btn[aria-pressed="true"] .s-icon,
.sport-btn[aria-pressed="true"] .s-title {
  color: #0d0f14 !important;
}
.sport-btn[aria-pressed="true"] .s-counter {
  background: rgba(0, 0, 0, 0.25) !important;
  color: #0d0f14 !important;
}
.sport-btn {
  background: #1e1f25 !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
}
.sport-btn .s-title {
  color: #ffffff !important;
}
.sport-btn .s-counter {
  color: #d1d5db !important;
}

.livescore-daynav .daynav-rail a {
  color: #ffffff !important;
}
.livescore-daynav .d-text {
  color: #ffffff !important;
}
.livescore-daynav .d-sub {
  color: #9aa2af !important;
}
.livescore-daynav .daynav-rail a.is-today {
  color: #00FF87 !important;
}
.livescore-daynav .daynav-rail a[aria-current="date"] {
  background: #00FF87 !important;
  color: #0d0f14 !important;
}
.livescore-daynav .daynav-rail a[aria-current="date"] .d-text,
.livescore-daynav .daynav-rail a[aria-current="date"] .d-sub {
  color: #0d0f14 !important;
  font-weight: 800 !important;
}
.livescore-row .r-team {
  color: #f1f3f5 !important;
}
.livescore-row .t-name {
  color: #f1f3f5 !important;
}
.livescore-row .r-score {
  color: #ffffff !important;
}
.status-chip {
  color: #d1d5db !important;
}
.status-chip[aria-pressed="true"] {
  color: #ffffff !important;
}
.status-chip.is-live-chip[aria-pressed="true"] {
  color: #ef4444 !important;
  border-color: #ef4444 !important;
}

/* Mobile adjustments (<= 768px) */
@media (max-width: 768px) {
  body {
    padding-bottom: 68px !important; /* Space for Mobile Bottom App Bar */
  }

  .wrap {
    padding: 0 0.5rem !important; /* Maximizes content area without side waste */
  }

  .nav-toggle {
    display: flex;
  }
  .hdr {
    position: static !important;
  }
  .hdr-in {
    min-height: 48px;
    gap: 0.4rem;
    padding: 0.35rem 0.25rem;
  }
  .hdr-in .brand {
    font-size: 1.15rem;
  }
  .hdr-in .search {
    order: 3;
    width: 100%;
    max-width: 100%;
    margin-top: 0.15rem;
  }
  .hdr-in .search input {
    padding: 6px 12px;
    font-size: 12px;
  }
  /* Mobile drawer menu */
  .hdr-in .nav {
    display: none;
    order: 4;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    background: rgba(18, 20, 26, 0.98);
    border-radius: 8px;
    padding: 0.5rem;
    margin-top: 0.5rem;
    border: 1px solid var(--c-border);
  }
  .hdr-in .nav.is-open {
    display: flex;
    animation: fadeInDown 0.2s ease forwards;
  }
  .hdr-in .nav a {
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 14px;
  }

  /* Sports subnav compact spacing - Native horizontal app carousel */
  .sports-subnav {
    position: sticky !important;
    top: 0 !important;
    z-index: 45;
    margin: 0 -0.5rem 0.5rem !important;
    padding: 0.35rem 0.5rem !important;
    background: rgba(14, 16, 21, 0.98) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
  }
  .sports-subnav-in {
    gap: 0.35rem !important;
  }
  .sport-btn {
    padding: 0.32rem 0.65rem;
    font-size: 0.75rem;
    scroll-snap-align: start;
    border-radius: 20px;
  }

  /* Date Rail on Mobile - Native Carousel */
  .livescore-daynav {
    margin: 0 0 0.5rem !important;
    padding: 0.25rem 0.2rem !important;
    border-radius: 10px !important;
  }
  .livescore-daynav .daynav-rail {
    gap: 0.35rem !important;
    padding: 0.15rem !important;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
  }
  .livescore-daynav .daynav-rail a {
    min-width: 50px !important;
    padding: 0.3rem 0.4rem !important;
    border-radius: 8px !important;
    scroll-snap-align: center;
  }
  .livescore-daynav .d-text {
    font-size: 0.72rem !important;
  }
  .livescore-daynav .d-sub {
    font-size: 0.62rem !important;
  }

  /* Status Filter Bar on Mobile */
  .livescore-filter-bar {
    margin-bottom: 0.5rem !important;
    padding: 0.35rem 0.5rem !important;
    border-radius: 10px !important;
  }
  .status-chip {
    padding: 0.25rem 0.55rem !important;
    font-size: 0.72rem !important;
    border-radius: 6px !important;
  }

  /* Competition Group Card on Mobile (FlashScore card style) */
  .livescore-comp-block {
    border-radius: 12px !important;
    margin-bottom: 0.65rem !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25) !important;
    overflow: hidden !important;
  }
  .livescore-comp-header {
    padding: 0.45rem 0.65rem !important;
    background: rgba(255, 255, 255, 0.04) !important;
  }
  .comp-name-link {
    font-size: 0.78rem !important;
  }

  /* Match Row (Livescore Native App Card Row) */
  .livescore-row {
    padding: 0.35rem 0.4rem 0.35rem 0.15rem !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04) !important;
    align-items: center !important;
    gap: 0.2rem !important;
  }
  .livescore-row .fav {
    padding: 0.3rem 0.2rem !important;
    font-size: 1.05rem !important;
    min-width: 22px !important;
    flex-shrink: 0 !important;
  }
  .livescore-row .row-link {
    display: flex !important;
    align-items: center !important;
    gap: 0.45rem !important;
    padding: 0.15rem 0.2rem !important;
    min-width: 0 !important;
    width: 100% !important;
  }

  /* Match Status / Time */
  .livescore-row .r-time {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    font-size: 0.72rem !important;
    line-height: 1.2 !important;
    min-width: 44px !important;
    flex-shrink: 0 !important;
  }
  .livescore-row .badge.live {
    font-size: 0.68rem !important;
    padding: 1px 3px !important;
    gap: 2px !important;
  }
  .livescore-row .badge.st-finished {
    font-size: 0.65rem !important;
    padding: 1px 3px !important;
    background: rgba(255, 255, 255, 0.08) !important;
    color: #e2e2e9 !important;
    border-radius: 4px !important;
    font-weight: 700 !important;
  }

  /* Teams Stack */
  .livescore-row .r-teams {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.25rem !important;
    min-width: 0 !important;
    flex: 1 1 auto !important;
    overflow: hidden !important;
  }
  .livescore-row .r-team {
    display: flex !important;
    align-items: center !important;
    gap: 0.4rem !important;
    min-width: 0 !important;
    overflow: hidden !important;
  }
  .livescore-row .t-badge {
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    flex-shrink: 0 !important;
  }
  .livescore-row .team-logo-img {
    width: 18px !important;
    height: 18px !important;
  }
  .livescore-row .ini {
    width: 16px !important;
    height: 16px !important;
    font-size: 0.55rem !important;
  }
  .livescore-row .t-name {
    font-size: 0.8125rem !important;
    font-weight: 500 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    min-width: 0 !important;
    color: #f3f4f6 !important;
  }

  /* Right End Container: Score & TV Channel */
  .livescore-row .r-end {
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    margin-left: auto !important;
    flex-shrink: 0 !important;
  }

  /* Score column */
  .livescore-row .r-score {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.25rem !important;
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    min-width: 20px !important;
    text-align: center !important;
    color: #ffffff !important;
  }

  /* TV Badge - Always visible, clean styled pill */
  .livescore-row .r-tv {
    padding: 0.2rem 0.35rem !important;
    min-width: 28px !important;
    max-width: 50px !important;
    height: 22px !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 5px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
  }
  .livescore-row .r-tv .tv-logo-badge {
    display: inline-flex !important;
    align-items: center !important;
    height: 16px !important;
  }
  .livescore-row .r-tv .tv-logo-badge img {
    max-width: 34px !important;
    max-height: 15px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    display: block !important;
  }
  .livescore-row .r-tv .tv-name {
    display: none !important;
  }
  .livescore-row .r-tv .tv-icon {
    font-size: 0.85rem !important;
    line-height: 1 !important;
  }
}

/* ==========================================================================
   NATIVE APP BOTTOM NAVIGATION BAR (Mobile Only)
   ========================================================================== */
.app-bottom-nav {
  display: none;
}

@media (max-width: 768px) {
  .app-bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 56px;
    background: rgba(14, 16, 21, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 100;
    align-items: center;
    justify-content: space-around;
    padding: 0 0.25rem;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
  }
  .app-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 4px 2px;
    color: #8e95a5;
    text-decoration: none;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    transition: color 0.15s ease, transform 0.15s ease;
    touch-action: manipulation;
  }
  .app-nav-item:active {
    transform: scale(0.92);
  }
  .app-nav-item.is-active {
    color: #00FF87;
  }
  .app-nav-icon {
    font-size: 1.15rem;
    line-height: 1;
  }
  .app-nav-icon-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .live-dot-pulse-mini {
    position: absolute;
    top: -2px;
    right: -4px;
    width: 6px;
    height: 6px;
    background: #ef4444;
    border-radius: 50%;
    box-shadow: 0 0 6px #ef4444;
    animation: pulse 1.5s infinite;
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* Mobile Sidebar Toggle Button and Offcanvas Drawer */
.mobile-sidebar-toggle-wrap {
  display: none;
}

@media (max-width: 1024px) {
  .mobile-sidebar-toggle-wrap {
    display: block;
    margin-bottom: 0.75rem;
  }
  .btn-mobile-sidebar {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: 8px;
    color: #fff;
    font-size: 0.8125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
  }
  .btn-mobile-sidebar:hover {
    background: var(--c-hover);
    border-color: rgba(255, 255, 255, 0.2);
  }
  .btn-mobile-sidebar[aria-expanded="true"] {
    background: rgba(0, 255, 135, 0.12);
    border-color: var(--c-brand);
    color: var(--c-brand);
  }

  /* When opened on mobile / tablet */
  .col-sidebar-left {
    display: none !important;
  }
  .col-sidebar-left.is-mobile-open {
    display: flex !important;
    position: static !important;
    max-height: none !important;
    margin-bottom: 1rem;
    animation: fadeInDown 0.2s ease forwards;
  }
}
