/* ═══════════════════════════════════════════════════════════
   PronoKick — Global Design System v2
   Premium, calm, structured. Inspired by SofaScore/Linear/Apple.
   Single source of truth for colors, typography, spacing,
   navigation, footer, and shared component styles.
   Page-specific styles remain inline in each template.
   ═══════════════════════════════════════════════════════════ */

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

/* ── Design Tokens — Amber Premium dark navy ── */
:root {
  /* Brand colors — Haitian flag green preserved for identity (logo, win results) */
  --green:    #00a550;
  --green-hover: #00cf64;
  --green-subtle: rgba(0,165,80,0.08);
  --gold:     #f5c518;
  --gold-dim: rgba(245,197,24,0.1);
  --red:      #e74c3c;

  /* Amber Premium accent — warm golden yellow for interactive UI */
  --accent:        #F5A623;
  --accent-hover:  #D4901F;
  --accent-dim:    rgba(245,166,35,0.12);
  --accent-muted:  rgba(245,166,35,0.15);
  --accent-glow:   rgba(245,166,35,0.4);

  /* Semantic */
  --win:      #00a550;
  --loss:     #e74c3c;
  --void:     #6b7b8d;

  /* Surfaces — BeSoccer dark navy palette */
  --bg:       #1a1a2e;
  --surface:  #16213e;
  --surface2: #1e2a4a;
  --surface3: #263554;

  /* Borders & dividers — BeSoccer subtle */
  --border:        rgba(255,255,255,0.08);
  --border-hover:  rgba(255,255,255,0.15);
  --border-accent: rgba(245,166,35,0.3);
  --border-green:  rgba(0,165,80,0.25);
  --border-gold:   rgba(245,197,24,0.15);

  /* Text — BeSoccer white + bluish gray */
  --text:     #ffffff;
  --text-secondary: #8b95a5;
  --muted:    #6b7b8d;

  /* Typography — system-ui dense (BeSoccer native feel) */
  --font-display: 'Syne', system-ui, sans-serif;
  --font-body:    system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Spacing scale — ~30% tighter for BeSoccer density */
  --sp-1: 3px;
  --sp-2: 6px;
  --sp-3: 10px;
  --sp-4: 12px;
  --sp-5: 16px;
  --sp-6: 18px;
  --sp-7: 22px;
  --sp-8: 26px;
  --sp-10: 32px;
  --sp-12: 40px;
  --sp-16: 52px;
  --sp-20: 64px;

  /* Radii — tighter, BeSoccer flat style */
  --r-sm: 4px;
  --r-md: 6px;
  --r-lg: 8px;
  --r-xl: 10px;
  --r-pill: 100px;

  /* Shadows — BeSoccer: subtle depth on hover only */
  --shadow-card:   none;
  --shadow-hover:  0 2px 12px rgba(0,0,0,0.25);
  --shadow-accent: 0 0 14px rgba(245,166,35,0.2);
  --shadow-green:  0 0 12px rgba(0,165,80,0.15);
  --shadow-gold:   none;

  /* System font — native feel for sports data (scores, times, stats) */
  --font-system: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Transitions — fast (perceived-speed target: 3G/4G mobile Haiti/Africa) */
  --ease: 0.1s ease;
  --ease-bounce: 0.15s cubic-bezier(0.34,1.56,0.64,1);

  /* Nav height for sticky offsets */
  --nav-h: 48px;
}

/* ── Base ── */
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.35;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: -0.01em;
  overscroll-behavior-y: contain;
  -webkit-overflow-scrolling: touch;
}

/* Noise texture: disabled — SVG feTurbulence on a fixed layer triggers GPU raster
   on every frame on low-end Android devices. Removed for 3G/4G perf targets. */

a { color: inherit; }
img { max-width: 100%; height: auto; }

/* ── Typography — BeSoccer dense: tight headings, compact sizes ── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
h1 { font-size: 1.25rem; }
h2 { font-size: 1.05rem; }
h3 { font-size: 0.92rem; }
h4 { font-size: 0.85rem; font-weight: 600; }

/* ── Layout Utilities ── */
.container       { max-width: 900px;  margin: 0 auto; padding: 0 var(--sp-5); position: relative; z-index: 1; }
.container-wide  { max-width: 1100px; margin: 0 auto; padding: 0 var(--sp-5); position: relative; z-index: 1; }
.container-lg    { max-width: 960px;  margin: 0 auto; padding: 0 var(--sp-5); position: relative; z-index: 1; }
.container-narrow{ max-width: 680px;  margin: 0 auto; padding: 0 var(--sp-5); position: relative; z-index: 1; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

/* ── Navigation — BeSoccer compact dark sticky ── */
/* :not(.pk-bottom-nav) prevents this rule from pulling the mobile bottom bar
   to sticky top:0 — the root cause of the "nav stuck at top" bug. */
nav:not(.pk-bottom-nav) {
  position: sticky; top: 0; z-index: 100;
  background: rgba(22,33,62,0.98);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  padding: 8px 0;
  contain: layout;
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1100px; margin: 0 auto; padding: 0 var(--sp-5);
}

/* Logo — BeSoccer compact */
.logo {
  font-family: var(--font-display);
  font-size: 1.05rem; font-weight: 700;
  color: var(--text); text-decoration: none;
  display: flex; align-items: center; gap: var(--sp-2);
  flex-shrink: 0;
  letter-spacing: -0.02em;
}
.logo-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px;
  background: var(--green);
  border-radius: var(--r-sm);
  font-size: 0.8rem;
}
.logo-text span { color: var(--green); }

/* Logo image — scoped to .logo-img variants only
   Size constraints (.pk-logo-header/drawer/footer/bottomnav) defined in head-assets.ejs */
.logo-img { display: block; object-fit: contain; image-rendering: -webkit-optimize-contrast; image-rendering: crisp-edges; }

/* ── Logo global constraint — 290×72px on ALL breakpoints, no exceptions ──
   !important defeats any media-query or specificity override from prior builds.
   Target selectors mirror the HTML class chain used in nav.ejs. */
.pk-logo-header,
.pk-header-v4 > .logo img,
header .pk-logo-header,
img.pk-logo-img.pk-logo-header {
  width: 290px !important;
  height: 72px !important;
  max-width: 290px !important;
  object-fit: contain !important;
  display: block;
}

/* Nav links — BeSoccer horizontal, dense */
.nav-links {
  display: flex; gap: var(--sp-4); align-items: center;
}
.nav-links a {
  text-decoration: none; color: var(--text-secondary);
  font-size: 0.78rem; font-weight: 500;
  transition: color var(--ease);
  white-space: nowrap;
  padding: 4px 0;
}
.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--accent); font-weight: 600; }

/* ── Header v4.0 — 3 elements: [Logo] [🎓 Lekòl · 🔴 Live] [🔍🍔] ── */
/* Logo pinned left (margin-right:auto absorbs free space), buttons pinned right */
.pk-header-v4 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  width: 100%;
}
.pk-header-v4 > .logo {
  margin: 0;
  margin-right: auto;
  display: flex;
  align-items: center;
}
.pk-header-center-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.pk-header-center-links a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
  border-radius: var(--r-pill);
  transition: all 0.1s;
}
.pk-header-center-links a:hover {
  color: var(--text);
  background: rgba(255,255,255,0.05);
}
.pk-header-center-links a.active {
  color: var(--accent);
}
.pk-header-live-link {
  color: var(--loss) !important;
  background: rgba(239,68,68,0.08) !important;
  border: 1px solid rgba(239,68,68,0.2) !important;
}
.pk-header-live-link .pk-hub-live-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--loss);
  animation: live-pulse 1.4s infinite;
}
.pk-nav-search-mobile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-sm);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.1s;
  font-size: 0.9rem;
}
.pk-nav-search-mobile:hover {
  background: rgba(255,255,255,0.08);
  color: var(--text);
}

/* ── Nav LIVE badge (dynamic counter) ── */
.pk-nav-live-badge {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 18px; height: 18px; padding: 0 4px;
  background: var(--loss); color: #fff;
  border-radius: 9px; font-size: 0.6rem; font-weight: 800;
  vertical-align: middle; margin-right: 4px; line-height: 1;
  opacity: 0; transition: background 0.2s;
}
.pk-nav-live-badge.has-live {
  opacity: 1;
  animation: pk-live-badge-pulse 1.4s infinite;
  box-shadow: 0 0 5px rgba(231, 76, 60, 0.4);
}
.pk-nav-live-badge-sm { font-size: 0.58rem; min-width: 14px; height: 14px; padding: 0 3px; border-radius: 7px; }
@keyframes pk-live-badge-pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }

/* ── Score flash on homepage live match rows ── */
.pk-score-flash { animation: pk-score-change 0.5s ease-out; }
@keyframes pk-score-change {
  0% { background: rgba(245, 197, 24, 0.3); }
  100% { background: transparent; }
}

/* Nav CTA button — Amber accent */
.nav-cta {
  background: var(--accent); color: #1a1a2e !important;
  padding: 6px 14px; border-radius: var(--r-sm);
  font-weight: 700; font-size: 0.75rem;
  text-decoration: none; white-space: nowrap;
  transition: opacity var(--ease);
}
.nav-cta:hover {
  opacity: 0.88;
  box-shadow: var(--shadow-accent);
}

/* Profile icon in desktop header */
.pk-nav-profile-icon {
  display: flex; align-items: center; justify-content: center;
  width: 34px; height: 34px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 50%;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: all var(--ease);
  flex-shrink: 0;
}
.pk-nav-profile-icon:hover {
  background: rgba(255,255,255,0.1);
  color: var(--text);
  border-color: rgba(255,255,255,0.15);
}

/* Bottom nav live badge (red counter) */
.pk-bn-live-badge {
  position: absolute;
  top: 4px; right: 50%;
  transform: translateX(14px);
  min-width: 16px; height: 16px;
  background: var(--loss);
  color: #fff;
  border-radius: 8px;
  font-size: 0.55rem; font-weight: 800;
  display: none; align-items: center; justify-content: center;
  padding: 0 3px;
  line-height: 1;
}
.pk-bn-live-badge.has-live {
  display: inline-flex;
  animation: pk-live-badge-pulse 1.4s infinite;
}

/* Burger drawer — title row + user bar (4-block redesign) */
.nm-drawer-title-row {
  display: flex; align-items: center; gap: 10px;
}
.nm-drawer-title {
  font-family: var(--font-display);
  font-size: 0.95rem; font-weight: 700;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.02em;
}

/* User bar in burger menu */
.nm-user-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 16px;
  background: var(--surface3, #1e2a4a);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nm-user-avatar {
  width: 32px; height: 32px;
  background: rgba(245,158,11,0.1);
  border: 1.5px solid rgba(245,158,11,0.25);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #F59E0B;
  flex-shrink: 0;
}
.nm-user-btn {
  font-size: 0.72rem; font-weight: 600;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  text-decoration: none;
  transition: all var(--ease);
  white-space: nowrap;
}
.nm-user-login {
  color: var(--accent);
  border: 1px solid rgba(245,166,35,0.3);
  background: transparent;
}
.nm-user-login:hover { background: var(--accent-dim); }
.nm-user-signup {
  background: var(--accent);
  color: #1a1a2e;
}
.nm-user-signup:hover { opacity: 0.85; }

/* Pill rows in burger menu (Lang + Fòma Kote) */
.nm-item-pill-row {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 16px;
  text-decoration: none;
  color: rgba(255,255,255,0.88);
  font-size: 0.84rem; font-weight: 500;
  min-height: 44px;
  cursor: default;
}
.nm-lang-pills {
  display: flex; gap: 4px;
  margin-left: auto;
}
.nm-pill-btn {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 100px;
  color: rgba(255,255,255,0.4);
  font-size: 0.68rem; font-weight: 600;
  padding: 4px 10px;
  cursor: pointer;
  transition: all var(--ease);
  font-family: var(--font-body);
}
.nm-pill-btn:hover { background: rgba(255,255,255,0.1); color: var(--text); }
.nm-pill-btn.active { background: var(--accent); border-color: var(--accent); color: #1a1a2e; }

/* Danger item in burger menu (Logout in red) */
.nm-item-danger { color: var(--loss) !important; }
.nm-item-danger .nm-icon { color: var(--loss) !important; }

/* Active left bar indicator for burger nav items */
.pk-drawer-v2 .nm-item.active {
  border-left: 3px solid var(--accent) !important;
  padding-left: 13px !important;
}

/* Language toggle — BeSoccer compact */
.lang-toggle {
  display: flex; gap: 2px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 2px;
}
.lang-btn {
  background: none; border: none;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 0.7rem; font-weight: 600;
  padding: 3px 8px; border-radius: 4px;
  cursor: pointer;
  transition: all var(--ease);
  letter-spacing: 0.03em;
}
.lang-btn.active { background: var(--accent); color: #1a1a2e; font-weight: 700; }
.lang-btn:hover:not(.active) { color: var(--text); }

/* User badge in nav */
.nav-user { display: none; gap: 10px; align-items: center; }
.nav-user.visible { display: flex; }
.nav-pseudo { font-weight: 600; color: var(--text); font-size: 0.82rem; }
.nav-pts {
  background: var(--gold); color: #0a0c0f;
  padding: 3px 10px; border-radius: var(--r-pill);
  font-size: 0.72rem; font-weight: 600;
}

/* Mobile hamburger */
.nav-burger {
  display: none;
  background: none; border: none;
  cursor: pointer; padding: 8px;
  flex-direction: column; gap: 5px;
  z-index: 110;
}
.nav-burger span {
  display: block; width: 20px; height: 1.5px;
  background: var(--text); border-radius: 2px;
  transition: transform var(--ease), opacity var(--ease);
}
.nav-burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Nav drawer menu — dark navy; z-index above bottom-nav (9999) */
.nav-mobile {
  display: none;
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: var(--bg);
  z-index: 10001;
  flex-direction: column;
  align-items: center; justify-content: center; gap: 4px;
  padding: var(--sp-5);
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  text-decoration: none; color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 0.95rem; font-weight: 500;
  padding: 12px 20px; border-radius: var(--r-md);
  transition: background var(--ease), color var(--ease);
  text-align: center;
  width: 100%; max-width: 320px;
}
.nav-mobile a:hover { background: var(--surface); color: var(--text); }
.nav-mobile a.active { color: var(--accent); font-weight: 600; }
.nav-mobile .nav-cta {
  margin-top: var(--sp-5);
  display: inline-block;
  text-align: center;
  padding: 11px 28px;
  font-size: 0.88rem;
  border-radius: var(--r-sm);
}
.nav-mobile .lang-toggle {
  margin-top: var(--sp-6);
}

/* ── Page Header — BeSoccer compact ── */
.page-header {
  padding: var(--sp-6) 0 var(--sp-4);
  border-bottom: none;
  margin-bottom: var(--sp-4);
}
.page-header h1 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: var(--sp-1);
  letter-spacing: -0.02em;
}
.page-header p {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.4;
}

/* ── Cards (base) — BeSoccer flat, compact ── */
.pk-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: var(--sp-3);
  transition: border-color var(--ease), box-shadow var(--ease);
}
.pk-card:hover { border-color: var(--border-hover); box-shadow: var(--shadow-hover); }

/* ── Buttons — Amber Premium accent ── */
.btn-primary {
  background: var(--accent);
  color: #1a1a2e;
  font-family: var(--font-body);
  font-size: 0.82rem; font-weight: 700;
  border: none; border-radius: var(--r-sm);
  padding: 9px 20px; cursor: pointer;
  transition: opacity var(--ease), box-shadow var(--ease);
  white-space: nowrap;
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2);
}
.btn-primary:hover { opacity: 0.88; box-shadow: var(--shadow-accent); }
.btn-primary:active { opacity: 0.95; }

.btn-primary-large {
  background: var(--accent);
  color: #1a1a2e;
  font-family: var(--font-body);
  font-size: 0.88rem; font-weight: 700;
  border: none; border-radius: var(--r-md);
  padding: 11px 28px; cursor: pointer;
  transition: opacity var(--ease), box-shadow var(--ease);
  width: 100%;
}
.btn-primary-large:hover { opacity: 0.88; box-shadow: var(--shadow-accent); }

.btn-secondary {
  background: var(--surface2);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.78rem; font-weight: 500;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 8px 16px; cursor: pointer;
  transition: border-color var(--ease), background var(--ease);
}
.btn-secondary:hover {
  border-color: var(--border-hover);
  background: var(--surface3);
}

.btn-gold {
  background: var(--gold);
  color: #1a1a2e;
  font-family: var(--font-body);
  font-size: 0.82rem; font-weight: 600;
  border: none; border-radius: var(--r-sm);
  padding: 9px 20px; cursor: pointer;
  transition: opacity var(--ease);
}
.btn-gold:hover { opacity: 0.88; }

/* ── Badges — BeSoccer compact, vivid on dark navy ── */
.badge {
  display: inline-flex; align-items: center; gap: 3px;
  padding: 2px 8px; border-radius: var(--r-sm);
  font-size: 0.65rem; font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.badge-win   { background: rgba(0,165,80,0.12);    color: var(--win); }
.badge-loss  { background: rgba(231,76,60,0.12);   color: var(--loss); }
.badge-void  { background: rgba(107,123,141,0.12); color: var(--muted); }
.badge-green { background: rgba(0,165,80,0.12);    color: var(--green); }
.badge-gold  { background: var(--gold-dim);         color: var(--gold); }
.badge-algo     { background: var(--accent-dim); color: var(--accent); }
.badge-expert   { background: var(--gold-dim); color: var(--gold); }
.badge-community{ background: rgba(120,100,255,0.1); color: #a096ff; }

/* Confidence badges — compact */
.conf-badge { display: inline-flex; align-items: center; gap: 3px; padding: 2px 8px; border-radius: var(--r-sm); font-size: 0.65rem; font-weight: 600; }
.conf-hot   { background: rgba(255,100,30,0.12); color: #ff8a4c; }
.conf-mid   { background: rgba(80,180,255,0.1); color: #60b8ff; }
.conf-risky { background: rgba(200,200,80,0.1); color: #c8c860; }

/* ── Form Elements — BeSoccer compact ── */
.pk-input,
.pk-select {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.8rem;
  padding: 8px 12px;
  outline: none;
  transition: border-color var(--ease);
  width: 100%;
}
.pk-input:focus,
.pk-select:focus { border-color: var(--accent); }
.pk-input::placeholder { color: var(--muted); }

.pk-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7b8d' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 28px;
}

/* ── Tabs — BeSoccer underline, compact ── */
.tabs {
  display: flex; gap: 0;
  margin-bottom: var(--sp-4);
  border-bottom: 1px solid var(--border);
  padding-bottom: 0;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.tab {
  padding: 8px 14px;
  font-size: 0.75rem; font-weight: 500;
  color: var(--muted); text-decoration: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color var(--ease), border-color var(--ease);
  white-space: nowrap;
  flex-shrink: 0;
}
.tab:hover { color: var(--text); }
.tab.active { color: var(--accent); border-bottom-color: var(--accent); font-weight: 600; }

/* Filter tabs (pill style) — BeSoccer compact */
.filter-tabs { display: flex; gap: var(--sp-1); flex-wrap: wrap; margin-bottom: var(--sp-5); }
.filter-tab {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  color: var(--muted);
  font-size: 0.72rem; font-weight: 500;
  padding: 4px 12px;
  text-decoration: none;
  transition: all var(--ease);
  cursor: pointer; white-space: nowrap;
}
.filter-tab:hover { color: var(--text); border-color: var(--accent); }
.filter-tab.active { background: var(--accent); border-color: var(--accent); color: #1a1a2e; font-weight: 700; }

/* ── Loading Skeleton ── */
.skeleton {
  background: linear-gradient(90deg, var(--surface) 25%, var(--surface2) 50%, var(--surface) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--r-md);
}
.skeleton-text { height: 14px; margin-bottom: 8px; }
.skeleton-title { height: 20px; width: 60%; margin-bottom: 12px; }
.skeleton-card { height: 120px; border-radius: var(--r-lg); margin-bottom: 14px; }
@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ── Empty State — BeSoccer compact ── */
.empty-state {
  text-align: center;
  padding: var(--sp-12) var(--sp-4);
  color: var(--muted);
}
.empty-state .empty-icon { font-size: 2rem; margin-bottom: var(--sp-3); display: block; opacity: 0.6; }
.empty-state h3 {
  font-size: 0.88rem; font-weight: 600; margin-bottom: var(--sp-1);
  color: var(--text);
}
.empty-state p { font-size: 0.78rem; max-width: 340px; margin: 0 auto; line-height: 1.5; }

/* ── Footer — BeSoccer compact dark ── */
footer {
  border-top: 1px solid var(--border);
  padding: var(--sp-10) 0 var(--sp-8);
  text-align: center;
  position: relative;
  z-index: 1;
  margin-top: var(--sp-12);
  background: var(--surface);
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 var(--sp-5);
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 1rem; font-weight: 700;
  color: var(--text);
  margin-bottom: var(--sp-4);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  letter-spacing: -0.02em;
}
.footer-logo span { color: var(--green); }
.footer-links {
  display: flex; gap: var(--sp-5); justify-content: center;
  flex-wrap: wrap; margin-bottom: var(--sp-4);
}
.footer-links a {
  text-decoration: none; color: var(--muted);
  font-size: 0.75rem; font-weight: 500;
  transition: color var(--ease);
}
.footer-links a:hover { color: var(--accent); }
.socials {
  display: flex; gap: var(--sp-2); justify-content: center;
  flex-wrap: wrap; margin-bottom: var(--sp-4);
}
.social-link {
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 6px 12px;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.72rem; font-weight: 500;
  transition: border-color var(--ease), color var(--ease);
}
.social-link:hover { border-color: var(--accent); color: var(--text); }
.footer-copy {
  font-size: 0.68rem; color: var(--muted);
  margin-top: var(--sp-4);
}
.footer-legal {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 8px 20px; margin-top: var(--sp-3);
}
.footer-legal a {
  font-size: 0.68rem; color: #6b7280; text-decoration: none;
  transition: color var(--ease);
}
.footer-legal a:hover { color: var(--accent); }
@media (max-width: 480px) {
  .footer-legal { gap: 6px 14px; }
  .footer-legal a { font-size: 0.62rem; }
}

/* ── Scroll Animations — disabled on 3G/4G (content appears instantly) ── */
/* WHY: 0.4s fade-up adds perceived delay on slow connections. Content should
   appear immediately — micro-interactions only for hover/focus. */
.fade-up {
  opacity: 1;
  transform: none;
}
.fade-up.visible {
  opacity: 1;
  transform: none;
}

/* ── Win Rate Bar (shared) ── */
.wr-bar-bg {
  height: 5px;
  background: var(--surface2);
  border-radius: var(--r-pill);
  overflow: hidden;
}
.wr-bar-fill {
  height: 100%;
  background: var(--win);
  border-radius: var(--r-pill);
  /* No width transition — renders immediately on load, no janky delay */
}

/* ── Stars ── */
.stars { color: var(--gold); font-size: 0.82rem; letter-spacing: 1px; }

/* ── Dot separator ── */
.dot { width: 3px; height: 3px; background: var(--muted); border-radius: 50%; flex-shrink: 0; opacity: 0.5; }

/* ── Section divider — replaces heavy borders ── */
.section-divider { height: 1px; background: var(--border); margin: var(--sp-10) 0; }

/* ═══════════════════════════════════════
   Responsive
   ═══════════════════════════════════════ */

/* Tablet (≤ 1024px) */
@media (max-width: 1024px) {
  .nav-links { gap: var(--sp-4); }
  .nav-links a { font-size: 0.8rem; }
}

/* Mobile (≤ 768px) */
@media (max-width: 768px) {
  .pk-header-center-links { display: none; }
  .nav-burger { display: flex; }
  .pk-nav-search-mobile { display: inline-flex; }
  .pk-nav-profile-icon { display: none; }
  .nav-cta.desktop-only { display: none; }
  .lang-toggle.desktop-only { display: none; }

  /* Logo forced to 290×72px on all viewports — owner explicit requirement */
  .pk-logo-header { width: 290px; height: 72px; }

  .page-header h1 { font-size: 1rem; }
  .container, .container-wide, .container-lg, .container-narrow {
    padding: 0 var(--sp-3);
  }

  footer { margin-top: var(--sp-8); }
}

/* Small mobile (≤ 480px) */
@media (max-width: 480px) {
  body { font-size: 12.5px; }
  .page-header { padding: var(--sp-4) 0 var(--sp-3); margin-bottom: var(--sp-3); }
  .page-header h1 { font-size: 0.95rem; }
}

/* ═══════════════════════════════════════
   Accessibility
   ═══════════════════════════════════════ */

/* Focus visible for keyboard navigation */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .fade-up { opacity: 1; transform: none; }
}

/* Touch targets — minimum 44px */
@media (pointer: coarse) {
  .nav-links a { min-height: 44px; display: inline-flex; align-items: center; }
  .tab { min-height: 44px; display: inline-flex; align-items: center; }
  .filter-tab { min-height: 44px; display: inline-flex; align-items: center; }
  .lang-btn { min-height: 36px; min-width: 36px; display: inline-flex; align-items: center; justify-content: center; }
  .social-link { min-height: 44px; }
}

/* ── Live nav link pulse ── */
/* Uses opacity + scale (compositor-only) instead of box-shadow (triggers repaint) */
.live-nav-link {
  position: relative;
}
.live-nav-link::before {
  content: '';
  display: inline-block;
  width: 5px; height: 5px;
  background: rgba(231,76,60,0.5);
  border-radius: 50%;
  vertical-align: middle;
  margin-right: 3px;
  animation: nav-live-ring 1.6s infinite;
  transform-origin: center;
}
.live-nav-link::after {
  content: '';
  display: inline-block;
  width: 5px; height: 5px;
  background: var(--loss);
  border-radius: 50%;
  vertical-align: middle;
  margin-left: -8px;
  position: relative; z-index: 1;
}
@keyframes nav-live-ring {
  0%   { transform: scale(1); opacity: 0.7; }
  70%  { transform: scale(2.2); opacity: 0; }
  100% { transform: scale(1); opacity: 0; }
}

/* ══ Mobile Performance — 3G/4G targets (Haiti/Africa) ══════════════════════
   Rules that apply specifically to mobile/coarse-pointer devices to reduce
   CPU/GPU work on mid-range Android (Moto G, Samsung A-series, etc.)
   ══════════════════════════════════════════════════════════════════════════ */

/* Smooth scroll is expensive on 3G pages that are long. Disable on touch devices
   where OS scroll is already smooth via hardware. */
@media (pointer: coarse) {
  html { scroll-behavior: auto; }
}

/* Cards: hint browser to contain layout calculations to card boundary */
.pk-card, .match-card, .tip-card, .article-card, .result-card {
  contain: layout style;
}

/* League sections: content-visibility skips layout/paint for off-screen groups entirely.
   Critical for Haiti/3G users — match list can have 15+ leagues, only 2-3 visible on first paint.
   contain-intrinsic-size is an estimate of a typical league block height to prevent scroll jumps. */
.league-section {
  content-visibility: auto;
  contain-intrinsic-size: 0 300px;
}

/* Image rendering hint: crisp on team crests/logos (pixel-precise at small sizes) */
img.team-crest, img.team-crest-sm, img.crest-img {
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

/* ═══════════════════════════════════════
   Bottom Navigation Bar (mobile < 768px)
   Replaces hamburger drawer on mobile.
   Desktop keeps top nav — this is hidden.
   ═══════════════════════════════════════ */

/* The bar itself — hidden on desktop, FORCE shown on mobile via !important cascade */
.pk-bottom-nav {
  display: none !important;
}

/* Defensive: guaranteed bottom-fixed for all browsers. Applied as a second class
   so specificity beats any other rule that might accidentally push it to top. */
.pk-bn-fixed {
  position: fixed !important;
  bottom: 0 !important;
  top: auto !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 9999 !important;
}

@media (max-width: 768px) {
  /* Show hamburger on mobile — opens drawer with profile/logo/CTA header */
  .nav-burger { display: flex !important; }
  /* Hide search icon on mobile nav (accessible via bottom bar → Plus) */
  .pk-nav-search-mobile { display: none !important; }

  /* Push page content above the bottom bar + legal footer */
  body { padding-bottom: 90px !important; }

  /* Show the bottom bar — BeSoccer dark navy.
     CRITICAL: do NOT add transform, contain, or will-change here.
     Those create a new stacking context and break position:fixed (element
     will resolve relative to the stacking context instead of the viewport).
     See: https://drafts.csswg.org/css-transforms/#transform-rendering */
  .pk-bottom-nav {
    display: flex !important;
    position: fixed !important;
    bottom: 0 !important;
    top: auto !important;
    left: 0 !important;
    right: 0 !important;
    height: 60px !important;
    background: rgba(22,33,62,0.98) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-top: 1px solid var(--border);
    z-index: 99999 !important;
    align-items: stretch;
    /* WHY: the base `nav` selector has contain:layout which creates a
       new containing block and breaks position:fixed on some browsers.
       Unsetting it ensures the bottom bar is fixed to the viewport. */
    contain: none !important;
    /* Safe area for notch/home indicator on iOS */
    padding-bottom: env(safe-area-inset-bottom, 0);
  }

  /* Each tab item */
  .pk-bn-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    text-decoration: none;
    color: var(--muted);
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
    padding: 6px 4px 4px;
    transition: color var(--ease);
    -webkit-tap-highlight-color: transparent;
    position: relative;
    min-width: 0;
    overflow: hidden;
  }
  .pk-bn-item:active { opacity: 0.7; }

  /* Icon — constrain SVG to fit next to label */
  .pk-bn-icon {
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
  }
  .pk-bn-icon svg {
    width: 20px;
    height: 20px;
  }

  /* Label — small, truncated if needed */
  .pk-bn-label {
    font-size: 0.6rem;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0.01em;
    color: var(--muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
  }
  .pk-bn-active .pk-bn-label {
    color: var(--accent);
  }

  /* Nav drawer (burger) — premium style; z-index must beat bottom-nav (9999) */
  .nav-mobile {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(10,10,15,0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 10001;
    overflow-y: auto;
    padding: 0 0 calc(24px + env(safe-area-inset-bottom, 0)) 0;
  }
  .nav-mobile.open { display: flex; flex-direction: column; }
  .nav-mobile-inner { max-width: 360px; margin: 0 auto; padding: 0 20px; }

  .nm-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0 12px;
  }
  .nm-close-btn {
    width: 32px; height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--muted);
    cursor: pointer;
    transition: all var(--ease);
  }
  .nm-close-btn:hover { background: var(--surface3); color: var(--text); }

  .nm-section { padding: 2px 0; }
  .nm-section-title {
    display: block;
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--muted);
    padding: 12px 4px 6px;
    font-family: var(--font-system);
  }

  .nm-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 6px;
    border-radius: var(--r-md);
    text-decoration: none;
    color: var(--text);
    font-size: 0.88rem;
    font-weight: 500;
    transition: background var(--ease), color var(--ease);
    min-height: 48px;
  }
  .nm-item:active { background: rgba(255,255,255,0.05); }
  .nm-item.active { color: var(--accent); }
  .nm-item.active .nm-icon { color: var(--accent); }

  .nm-icon {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    flex-shrink: 0;
    color: var(--muted);
    transition: all var(--ease);
  }
  .nm-item:hover .nm-icon,
  .nm-item:active .nm-icon { background: var(--surface3); color: var(--text); }
  .nm-icon-live { color: var(--loss); }
  .nm-item-toggle { cursor: pointer; background: none; border: none; width: 100%; }
  .nm-item-toggle:hover { background: rgba(255,255,255,0.04); }
  .nm-item-toggle:hover .nm-icon { background: var(--surface3); }

  .nm-icon-premium { background: var(--gold-dim); border-color: var(--border-gold); color: var(--gold); }

  .nm-label {
    flex: 1;
    font-family: var(--font-body);
  }
  .nm-toggle-indicator {
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }

  .nm-badge-premium {
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--gold);
    background: rgba(245,197,24,0.12);
    padding: 2px 8px;
    border-radius: var(--r-sm);
    flex-shrink: 0;
  }

  .nm-divider {
    height: 1px;
    background: var(--border);
    margin: 4px 0;
  }

  /* ── Drawer header: profile + logo + CTA (BeSoccer-style, PronoKick colors) ── */
  .nm-drawer-hdr {
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 10px 12px;
    margin-bottom: 2px;
  }
  .nm-drawer-hdr-row {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .nm-profile-icon {
    width: 34px;
    height: 34px;
    background: var(--surface3);
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--muted);
  }
  .nm-drawer-logo {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.02em;
    flex-shrink: 0;
    line-height: 1;
  }
  .nm-drawer-logo span { color: var(--accent); }
  .nm-drawer-cta {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--accent);
    text-decoration: none;
    white-space: nowrap;
    font-family: var(--font-system);
    transition: color var(--ease);
    flex-shrink: 0;
    letter-spacing: 0.01em;
  }
  .nm-drawer-cta:hover { color: var(--accent-hover); }
  .nm-drawer-sep {
    height: 1px;
    background: var(--border);
    margin: 2px 0 4px;
  }
  /* Override nav-mobile background for dark premium feel */
  .nav-mobile {
    background: rgba(10,10,15,0.97);
  }

  .nm-lang-row {
    padding: 16px 0 8px;
    border-top: 1px solid var(--border);
    margin-top: 8px;
  }
  /* Footer lang dropdown — centered */
  .nm-lang-row-dropdown {
    display: flex; justify-content: center; padding: 12px 16px 8px;
  }
  .nm-lang-row-dropdown .nm-dropdown-wrap { margin-left: 0; }
  .nm-lang-row-dropdown .nm-dropdown-trigger { min-width: 140px; }

  /* WHY no light overrides: Both drawers are ALWAYS dark (#0a0a0a) regardless of
     theme, matching BeSoccer's spec. Light mode variants were removed. */
}

/* Desktop — hide bottom-nav entirely */
@media (min-width: 769px) {
  .pk-bottom-nav { display: none !important; }

  /* Show hamburger button on desktop */
  .nav-burger { display: flex; }

  /* Desktop burger menu — BeSoccer editorial premium panel (right-side drawer) */
  .nav-mobile {
    /* Reset mobile full-screen defaults */
    justify-content: flex-start;
    align-items: flex-end;
    padding: 0;
    background: rgba(10,10,15,0.88);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 10002;
    overflow-y: visible;
  }
  .nav-mobile.open {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-start;
  }

  /* Panel: 320px wide, slides in from right, full viewport height */
  .nav-mobile-inner {
    width: 320px;
    max-width: 100%;
    height: 100vh;
    background: var(--surface);
    border-left: 1px solid var(--border);
    overflow-y: auto;
    padding: 0 0 calc(20px + env(safe-area-inset-bottom, 0)) 0;
    box-shadow: -4px 0 32px rgba(0,0,0,0.5);
    transition: transform 0.22s cubic-bezier(0.33, 1, 0.68, 1);
  }
  .nav-mobile:not(.open) .nav-mobile-inner {
    transform: translateX(100%);
    pointer-events: none;
  }
  .nav-mobile.open .nav-mobile-inner {
    transform: translateX(0);
  }

  /* Section headers — editorial label style */
  .nm-section-title {
    display: block;
    font-size: 0.58rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--muted);
    padding: 14px 16px 6px;
    font-family: var(--font-system);
    border-top: 1px solid var(--border);
    margin-top: 4px;
  }
  .nm-section:first-child .nm-section-title {
    border-top: none;
    padding-top: 16px;
  }

  /* Nav items — horizontal layout with hover amber highlight */
  .nm-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 16px;
    border-radius: 0;
    border-bottom: none;
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
    font-family: var(--font-body);
    transition: background 0.12s ease, color 0.12s ease;
    min-height: 48px;
    border-left: 3px solid transparent;
    cursor: pointer;
    background: none;
    border-top: none;
    border-right: none;
    text-decoration: none;
    width: 100%;
    box-sizing: border-box;
  }
  .nm-item:hover {
    background: rgba(245,166,35,0.08);
    color: var(--text);
    border-left-color: var(--accent);
  }
  .nm-item:active { background: rgba(245,166,35,0.12); }
  .nm-item.active { color: var(--accent); border-left-color: var(--accent); }
  .nm-item.active .nm-icon { color: var(--accent); }

  /* Icon box — subtle dark circle, amber on hover */
  .nm-icon {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--r-md);
    flex-shrink: 0;
    background: var(--surface2);
    color: var(--muted);
    transition: background 0.12s ease, color 0.12s ease;
  }
  .nm-item:hover .nm-icon { background: rgba(245,166,35,0.15); color: var(--accent); }
  .nm-icon-live { color: var(--loss); }
  .nm-item:hover .nm-icon-live { background: rgba(239,68,68,0.12); color: var(--loss); }
  .nm-icon-premium { background: var(--gold-dim); border: 1px solid var(--border-gold); color: var(--gold); }
  .nm-item:hover .nm-icon-premium { background: rgba(245,197,24,0.18); }

  .nm-item-toggle { cursor: pointer; background: none; border: none; width: 100%; }
  .nm-item-toggle:hover { background: rgba(245,166,35,0.08); border-left-color: var(--accent); }
  .nm-item-toggle:hover .nm-icon { background: rgba(245,166,35,0.15); color: var(--accent); }

  .nm-label { flex: 1; font-family: var(--font-body); }
  .nm-toggle-indicator {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    flex-shrink: 0;
  }
  .nm-badge-premium {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--gold);
    background: rgba(245,197,24,0.12);
    padding: 2px 8px;
    border-radius: var(--r-sm);
    flex-shrink: 0;
  }

  /* Horizontal dividers between sections */
  .nm-divider {
    height: 1px;
    background: var(--border);
    margin: 2px 0;
  }

  /* Drawer header — profile + logo + CTA + close */
  .nm-drawer-hdr {
    background: var(--surface2);
    border-bottom: 1px solid var(--border);
    padding: 14px 16px;
    position: sticky;
    top: 0;
    z-index: 5;
  }
  .nm-drawer-hdr-row { display: flex; align-items: center; gap: 10px; }
  .nm-profile-icon {
    width: 30px;
    height: 30px;
    background: var(--surface3);
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--muted);
  }
  .nm-drawer-logo {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.02em;
    flex-shrink: 0;
    line-height: 1;
  }
  .nm-drawer-logo span { color: var(--accent); }
  .nm-drawer-cta {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--accent);
    text-decoration: none;
    white-space: nowrap;
    font-family: var(--font-system);
    transition: color 0.1s ease;
    flex-shrink: 0;
    letter-spacing: 0.01em;
  }
  .nm-drawer-cta:hover { color: var(--accent-hover); }
  .nm-drawer-sep { display: none; }
  .nm-close-btn {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface3);
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--muted);
    cursor: pointer;
    transition: all 0.1s ease;
    flex-shrink: 0;
  }
  .nm-close-btn:hover { background: var(--accent-dim); color: var(--accent); border-color: var(--border-accent); }

  /* Language row at bottom — centered dropdown */
  .nm-lang-row {
    padding: 16px 0 8px;
    border-top: 1px solid var(--border);
    margin-top: 4px;
  }

  /* Burger button — desktop size */
  .nav-burger { padding: 8px; }

  /* Overlay for desktop panel */
  .nav-mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 10001;
    backdrop-filter: blur(2px);
  }
  .nav-mobile-overlay.open { display: block; }

  /* Section: 5 sections with dividers + section headers */
  .nm-section { padding: 0; }
  .nm-header-row { display: none; }

  /* ── Light mode overrides for desktop burger ── */
  [data-theme="light"] .nav-mobile.open {
    background: rgba(0,0,0,0.25);
  }
  [data-theme="light"] .nav-mobile-inner {
    background: #f4f6f9;
    border-left: 1px solid rgba(0,0,0,0.08);
    box-shadow: -4px 0 20px rgba(0,0,0,0.12);
  }
  [data-theme="light"] .nm-drawer-hdr { background: #fff; border-bottom-color: rgba(0,0,0,0.08); }
  [data-theme="light"] .nm-profile-icon { background: rgba(0,0,0,0.05); border-color: rgba(0,0,0,0.08); }
  [data-theme="light"] .nm-item { color: #3a4050; }
  [data-theme="light"] .nm-item:hover { background: rgba(245,166,35,0.08); color: #1a1a2e; }
  [data-theme="light"] .nm-item.active { color: var(--accent-hover); }
  [data-theme="light"] .nm-icon { background: rgba(0,0,0,0.04); color: #666; }
  [data-theme="light"] .nm-item:hover .nm-icon { background: rgba(245,166,35,0.12); color: var(--accent-hover); }
  [data-theme="light"] .nm-section-title { color: #888; }
  [data-theme="light"] .nm-divider { background: rgba(0,0,0,0.08); }
  [data-theme="light"] .nm-lang-row { border-top-color: rgba(0,0,0,0.08); }
}

/* ═══════════════════════════════════════
   Native App Feel — touch, scroll, density
   ═══════════════════════════════════════ */

/* Hide scrollbars on mobile (natural scroll) */
@media (max-width: 768px) {
  ::-webkit-scrollbar { display: none; }
  * { scrollbar-width: none; }
}

/* Touch feedback — brief highlight on tap (replaces useless hover on touch) */
@media (pointer: coarse) {
  a, button { -webkit-tap-highlight-color: transparent; }

  /* Touch-active state: subtle background flash */
  .pk-match-row:active,
  .pk-tip-card:active,
  .pk-quick-link:active,
  .pk-lb-row:active,
  .pk-hub-sport:active,
  .pk-hub-action:active,
  .pk-sn-tab:active,
  .pk-dn-chip:active {
    background: rgba(255,255,255,0.06) !important;
    transition: none;
  }

  /* Disable hover effects on touch — they cause sticky hover on mobile */
  .pk-match-row:hover,
  .pk-tip-card:hover,
  .pk-league-more:hover,
  .pk-view-all-btn:hover,
  .pk-quick-link:hover { background: inherit; }
}

/* GPU-accelerated transitions only — no layout/paint triggers */
.pk-match-row, .pk-tip-card, .pk-quick-link, .pk-league-group-hd {
  will-change: auto;
  transform: translateZ(0);
}
