/* ===== Football Center Elite Design System ===== */
:root {
  --bg-main: #080b12;
  --bg-card: #0e1421;
  --bg-card-hover: #141c2e;
  --bg-elevated: #151e32;
  --bg-modal: #0a0e1a;
  --border: rgba(255, 255, 255, 0.08);
  --border-active: rgba(16, 185, 129, 0.4);
  --text-1: #f8fafc;
  --text-2: #94a3b8;
  --text-3: #64748b;
  --green: #10b981;
  --green-dim: rgba(16, 185, 129, 0.15);
  --green-border: rgba(16, 185, 129, 0.35);
  --red: #ef4444;
  --red-dim: rgba(239, 68, 68, 0.15);
  --red-border: rgba(239, 68, 68, 0.35);
  --amber: #f59e0b;
  --amber-dim: rgba(245, 158, 11, 0.15);
  --amber-border: rgba(245, 158, 11, 0.35);
  --blue: #3b82f6;
  --blue-dim: rgba(59, 130, 246, 0.15);
  --purple: #8b5cf6;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 20px;
  --radius-xl: 26px;
  --radius-full: 999px;
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.4);
  --shadow-glow-green: 0 0 20px rgba(16, 185, 129, 0.3);
  --shadow-glow-amber: 0 4px 20px rgba(245, 158, 11, 0.35);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans Arabic", "Cairo", sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  background: var(--bg-main);
  color: var(--text-1);
  font-family: var(--font);
  line-height: 1.4;
  user-select: none;
  -webkit-user-select: none;
  min-height: 100vh;
  overscroll-behavior: none;
}

html[dir="rtl"] body {
  direction: rtl;
  text-align: right;
}

.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

@keyframes pulseLive {
  0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4); }
  50% { opacity: 0.7; transform: scale(1.1); box-shadow: 0 0 0 6px rgba(239, 68, 68, 0); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes slideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}
@keyframes scorePop {
  0% { transform: scale(0.8); opacity: 0; }
  70% { transform: scale(1.1); }
  100% { transform: scale(1); opacity: 1; }
}
@keyframes navActive {
  from { width: 4px; opacity: 0; }
  to { width: 22px; opacity: 1; }
}

.pulse-dot { animation: pulseLive 1.8s infinite ease-in-out; }

#root { min-height: 100vh; }

.page {
  padding: 16px 14px 90px;
  max-width: 480px;
  margin: 0 auto;
  animation: fadeUp 0.25s ease;
}

.page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.page-title {
  font-size: 20px;
  font-weight: 900;
  color: var(--text-1);
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: -0.3px;
}
.page-subtitle {
  font-size: 11px;
  color: var(--text-3);
  margin-top: 2px;
}

.hero-banner {
  background: linear-gradient(135deg, #0f1a2e 0%, #0d1527 50%, #080f1d 100%);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: var(--radius-xl);
  padding: 16px;
  margin-bottom: 18px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.hero-banner::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 140px; height: 140px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
  pointer-events: none;
}
.hero-date {
  font-size: 11px;
  color: #60a5fa;
  font-weight: 700;
  margin-bottom: 4px;
}
.hero-title {
  font-size: 22px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}
.hero-stats {
  display: flex;
  gap: 12px;
  align-items: center;
}
.hero-stat {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-2);
}

.search-wrap {
  position: relative;
  margin-bottom: 18px;
}
.search-input {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-1);
  font-size: 13px;
  font-family: var(--font);
  padding: 12px 16px 12px 42px;
  border-radius: var(--radius-full);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.search-input:focus {
  border-color: var(--green-border);
  box-shadow: 0 0 0 3px var(--green-dim);
}
.search-icon {
  position: absolute;
  left: 14px; top: 50%;
  transform: translateY(-50%);
  font-size: 15px;
  pointer-events: none;
}
html[dir="rtl"] .search-icon { left: auto; right: 14px; }
html[dir="rtl"] .search-input { padding: 12px 42px 12px 16px; }
.search-clear {
  position: absolute;
  right: 12px; top: 50%;
  transform: translateY(-50%);
  background: var(--bg-elevated);
  border: none;
  color: var(--text-2);
  width: 22px; height: 22px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
}
html[dir="rtl"] .search-clear { right: auto; left: 12px; }

.section-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.section-label {
  font-size: 11px;
  font-weight: 800;
  color: var(--text-2);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.section-link {
  font-size: 11px;
  color: var(--green);
  font-weight: 700;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  font-family: var(--font);
}

.league-pill {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 7px 14px;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-1);
  white-space: nowrap;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  transition: all 0.2s;
}
.league-pill:active { transform: scale(0.95); }
.league-pill.active {
  background: var(--green-dim);
  border-color: var(--green-border);
  color: var(--green);
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 14px;
  transition: border-color 0.2s, transform 0.15s;
}
.card:active { transform: scale(0.985); }

.match-card {
  margin-bottom: 10px;
  padding: 13px 14px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 10px rgba(0,0,0,0.25);
}
.match-card:active { transform: scale(0.98); }
.match-card.live-card {
  border-color: var(--red-border);
  background: linear-gradient(135deg, #0e1421 0%, #150d10 100%);
}
.match-card-league-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  padding-bottom: 9px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 11px;
}
.match-card-league-name {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-2);
  font-weight: 700;
  max-width: 65%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.match-card-league-name img {
  width: 16px; height: 16px;
  object-fit: contain;
  flex-shrink: 0;
}
.match-card-teams {
  display: grid;
  grid-template-columns: 5fr 2.5fr 5fr;
  align-items: center;
  gap: 6px;
}
.team-side {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow: hidden;
}
.team-side.away {
  justify-content: flex-end;
  flex-direction: row-reverse;
}
html[dir="rtl"] .team-side.away { flex-direction: row; }
.team-logo-wrap {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.35);
}
.team-logo-wrap img {
  width: 25px; height: 25px;
  object-fit: contain;
}
.team-name {
  font-size: 12px;
  font-weight: 800;
  color: var(--text-1);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.score-box { text-align: center; }
.score-display {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 5px 10px;
  font-weight: 900;
  font-size: 16px;
  color: #fff;
  letter-spacing: 2px;
  display: inline-block;
  animation: scorePop 0.35s ease;
}
.score-display.live { color: var(--red); border-color: var(--red-border); }
.vs-text {
  font-size: 11px;
  font-weight: 800;
  color: var(--text-3);
  background: var(--bg-elevated);
  padding: 3px 8px;
  border-radius: 6px;
}
.match-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}
.venue-text { font-size: 10px; color: var(--text-3); }
.footer-actions { display: flex; align-items: center; gap: 10px; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 9px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 800;
}
.badge-live { background: var(--red-dim); color: var(--red); border: 1px solid var(--red-border); }
.badge-finished { background: var(--bg-elevated); color: var(--text-3); border: 1px solid var(--border); }
.badge-time { background: var(--green-dim); color: var(--green); border: 1px solid var(--green-border); }

.bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: 68px;
  background: rgba(8, 11, 18, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 40;
  max-width: 480px;
  margin: 0 auto;
}
.nav-btn {
  background: none;
  border: none;
  outline: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 64px;
  color: var(--text-3);
  cursor: pointer;
  padding: 6px 0;
  position: relative;
  transition: color 0.2s;
  font-family: var(--font);
}
.nav-btn.active { color: var(--green); }
.nav-btn .nav-icon { font-size: 20px; margin-bottom: 2px; line-height: 1; }
.nav-btn .nav-label { font-size: 9.5px; font-weight: 700; }
.nav-btn .nav-dot {
  position: absolute;
  bottom: 2px;
  width: 20px;
  height: 3px;
  background: var(--green);
  border-radius: var(--radius-full);
  animation: navActive 0.25s ease forwards;
  box-shadow: var(--shadow-glow-green);
}
.nav-btn .live-badge {
  position: absolute;
  top: 3px;
  right: 12px;
  background: var(--red);
  color: #fff;
  font-size: 8px;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: var(--radius-full);
  min-width: 14px;
  text-align: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  font-family: var(--font);
  font-weight: 700;
  transition: all 0.2s;
}
.btn:active { transform: scale(0.96); }

.btn-primary {
  background: var(--green);
  color: #022c22;
  padding: 12px 20px;
  font-size: 13px;
  font-weight: 800;
  border-radius: var(--radius-md);
  width: 100%;
  border: none;
  cursor: pointer;
  font-family: var(--font);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-glow-green);
}
.btn-primary:hover { filter: brightness(1.08); }

.btn-watch {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #1a0800;
  padding: 14px 20px;
  font-size: 14px;
  font-weight: 900;
  border-radius: var(--radius-md);
  width: 100%;
  box-shadow: var(--shadow-glow-amber);
  border: none;
  cursor: pointer;
  font-family: var(--font);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  letter-spacing: 0.3px;
  text-decoration: none;
}
.btn-watch:hover { filter: brightness(1.08); }
.btn-watch:active { transform: scale(0.97); }

.btn-icon {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-1);
  width: 36px; height: 36px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.15s;
}
.btn-live-count {
  background: var(--red-dim);
  border: 1px solid var(--red-border);
  color: var(--red);
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 800;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  font-family: var(--font);
}
.btn-follow {
  padding: 7px 13px;
  font-size: 11px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--text-2);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 800;
  transition: all 0.2s;
  font-family: var(--font);
}
.btn-follow.following {
  background: var(--green-dim);
  border-color: var(--green-border);
  color: var(--green);
}

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(5px);
}
.modal-sheet {
  width: 100%;
  max-width: 480px;
  max-height: 92vh;
  border-radius: 26px 26px 0 0;
  background: var(--bg-modal);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 -12px 60px rgba(0, 0, 0, 0.9);
  animation: slideUp 0.3s cubic-bezier(0.32, 0.72, 0, 1);
}
.modal-drag-handle {
  width: 36px;
  height: 4px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
  margin: 10px auto 4px;
}
.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 16px 12px;
  border-bottom: 1px solid var(--border);
}
.modal-league-info {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 800;
  color: var(--text-2);
}
.modal-close {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--text-2);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.match-hero {
  background: linear-gradient(180deg, #0e1a2f 0%, #080e1b 100%);
  padding: 20px 16px;
  border-bottom: 1px solid var(--border);
}
.match-hero-grid {
  display: grid;
  grid-template-columns: 5fr 3fr 5fr;
  align-items: center;
  text-align: center;
  gap: 8px;
}
.hero-team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.hero-team-logo {
  width: 60px; height: 60px;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.5));
}
.hero-team-name {
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  max-width: 110px;
  text-align: center;
}
.hero-score-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.hero-score {
  font-size: 30px;
  font-weight: 900;
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 6px 14px;
  letter-spacing: 3px;
}
.hero-vs { font-size: 17px; font-weight: 900; color: var(--text-3); }
.hero-match-time { font-size: 17px; font-weight: 800; color: var(--green); }
.hero-live-indicator {
  font-size: 11px;
  font-weight: 800;
  color: var(--red);
  display: flex;
  align-items: center;
  gap: 4px;
}

.modal-tabs {
  display: flex;
  background: var(--bg-modal);
  padding: 4px 8px;
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
}
.modal-tabs::-webkit-scrollbar { display: none; }
.modal-tab-btn {
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 11px;
  font-weight: 800;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  background: none;
  color: var(--text-3);
  transition: all 0.2s;
  font-family: var(--font);
}
.modal-tab-btn.active {
  background: var(--green);
  color: #022c22;
}

.modal-body {
  flex: 1;
  overflow-y: auto;
  padding: 14px 14px 28px;
}
.modal-body::-webkit-scrollbar { width: 3px; }
.modal-body::-webkit-scrollbar-thumb { background: var(--bg-elevated); border-radius: 3px; }

.stat-row { margin-bottom: 10px; }
.stat-row-header {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 800;
  color: var(--text-1);
  margin-bottom: 5px;
}
.stat-label {
  color: var(--text-2);
  font-weight: 600;
  font-size: 11px;
  text-align: center;
  flex: 1;
}
.stat-bar-wrap {
  height: 6px;
  background: var(--bg-elevated);
  border-radius: var(--radius-full);
  overflow: hidden;
  display: flex;
}
.stat-bar-home { background: var(--green); height: 100%; }
.stat-bar-away { background: var(--blue); height: 100%; }

.event-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 6px;
}
.event-minute { font-size: 12px; font-weight: 900; color: var(--green); min-width: 30px; }
.event-desc { font-size: 12px; color: var(--text-1); font-weight: 700; }

.standings-table { width: 100%; border-collapse: collapse; }
.standings-table th {
  font-size: 10px;
  font-weight: 800;
  color: var(--text-3);
  text-transform: uppercase;
  padding: 10px 8px;
  background: var(--bg-elevated);
}
.standings-table td { padding: 10px 8px; font-size: 12px; }
.standings-table tr+tr { border-top: 1px solid var(--border); }
.standings-row-team { display: flex; align-items: center; gap: 8px; font-weight: 700; }
.standings-pts { font-weight: 900; color: var(--green); font-size: 14px; text-align: center; }

.settings-section {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 14px 16px;
  margin-bottom: 12px;
}
.settings-section-title {
  font-size: 11px;
  font-weight: 800;
  color: var(--text-2);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.select-field {
  width: 100%;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--text-1);
  font-size: 13px;
  font-family: var(--font);
  padding: 12px 14px;
  border-radius: var(--radius-md);
  outline: none;
  appearance: none;
  cursor: pointer;
}
.lang-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
.lang-btn {
  padding: 11px 6px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--text-2);
  font-family: var(--font);
  transition: all 0.2s;
  text-align: center;
}
.lang-btn.active {
  border-color: var(--green-border);
  background: var(--green-dim);
  color: var(--green);
}

.dev-panel-entry {
  background: linear-gradient(135deg, #141c2c 0%, #0d121c 100%);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: var(--radius-lg);
  padding: 14px 16px;
  margin-top: 18px;
  cursor: pointer;
  transition: all 0.2s;
}
.dev-panel-entry:active { transform: scale(0.98); }
.dev-panel-entry-title {
  font-size: 13px;
  font-weight: 800;
  color: var(--amber);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}
.dev-panel-entry-sub { font-size: 11px; color: var(--text-3); }

.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; }
.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 14px;
}
.stat-card-label {
  font-size: 10px;
  color: var(--text-3);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}
.stat-card-value { font-size: 24px; font-weight: 900; color: var(--text-1); }
.stat-card-value.green { color: var(--green); }

.watch-config-box {
  background: linear-gradient(135deg, #151a12 0%, #0d120a 100%);
  border: 1px solid var(--green-border);
  border-radius: var(--radius-lg);
  padding: 14px 16px;
  margin-bottom: 14px;
}
.watch-url-input {
  width: 100%;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border);
  color: var(--text-1);
  font-size: 12px;
  font-family: monospace;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  outline: none;
  margin-top: 8px;
}
.watch-url-input:focus { border-color: var(--green-border); }

.dev-slot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.dev-slot:last-child { border-bottom: none; }
.dev-slot-info { display: flex; align-items: center; gap: 10px; }
.dev-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 900;
  color: #fff;
}
.dev-name { font-size: 13px; font-weight: 800; color: var(--text-1); }
.dev-url { font-size: 10px; color: var(--text-3); max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.broadcast-textarea {
  width: 100%;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--text-1);
  font-size: 12px;
  font-family: var(--font);
  padding: 12px 14px;
  border-radius: var(--radius-md);
  outline: none;
  resize: none;
  margin-bottom: 10px;
}
.broadcast-textarea:focus { border-color: var(--green-border); }

.fav-league-tag {
  background: var(--bg-card);
  border: 1px solid var(--green-border);
  border-radius: var(--radius-full);
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 700;
  color: var(--green);
  display: flex;
  align-items: center;
  gap: 6px;
}
.fav-team-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
}
.popular-team-btn {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-1);
  padding: 8px 14px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  transition: all 0.2s;
  font-family: var(--font);
}
.popular-team-btn.fav {
  background: var(--amber-dim);
  border-color: rgba(245, 158, 11, 0.35);
  color: var(--amber);
}

.alert-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.alert-btn {
  padding: 12px;
  border-radius: var(--radius-md);
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  text-align: center;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--text-1);
  font-family: var(--font);
  transition: all 0.2s;
}
.alert-btn:active {
  transform: scale(0.95);
  background: var(--amber-dim);
  border-color: rgba(245, 158, 11, 0.35);
  color: var(--amber);
}

.broadcaster-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 11px 0;
  border-bottom: 1px solid var(--border);
}
.broadcaster-item:last-child { border-bottom: none; }
.broadcaster-name { font-size: 13px; font-weight: 800; color: var(--text-1); }
.broadcaster-type { font-size: 10px; color: var(--text-3); margin-top: 2px; }
.broadcaster-badge {
  font-size: 10px;
  font-weight: 800;
  background: var(--green-dim);
  color: var(--green);
  padding: 3px 9px;
  border-radius: var(--radius-full);
}

.country-tabs { display: flex; gap: 6px; overflow-x: auto; margin-bottom: 12px; }
.country-tabs::-webkit-scrollbar { display: none; }
.country-tab {
  padding: 7px 12px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 800;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-3);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
  font-family: var(--font);
}
.country-tab.active {
  border-color: var(--green-border);
  background: var(--green-dim);
  color: var(--green);
}

.lineups-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.lineup-col {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 12px;
}
.lineup-col-title {
  font-size: 12px;
  font-weight: 800;
  color: var(--text-1);
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.lineup-player {
  font-size: 11px;
  color: var(--text-2);
  padding: 4px 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.empty-state { text-align: center; padding: 44px 20px; }
.empty-state-icon { font-size: 44px; margin-bottom: 14px; }
.empty-state-title { font-size: 16px; font-weight: 800; color: var(--text-1); margin-bottom: 6px; }
.empty-state-sub { font-size: 12px; color: var(--text-3); margin-bottom: 20px; line-height: 1.6; }

.toast {
  position: fixed;
  bottom: 86px;
  left: 50%;
  transform: translateX(-50%);
  background: #1e2d48;
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: var(--green);
  padding: 12px 20px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 800;
  z-index: 100;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  white-space: nowrap;
  animation: fadeUp 0.3s ease;
}

@supports (padding-bottom: env(safe-area-inset-bottom)) {
  .bottom-nav { padding-bottom: env(safe-area-inset-bottom); height: calc(68px + env(safe-area-inset-bottom)); }
  .page { padding-bottom: calc(90px + env(safe-area-inset-bottom)); }
}
