@import url('https://fonts.googleapis.com/css2?family=Anton&family=Russo+One&family=Barlow+Condensed:wght@400;600;700;900&family=Barlow:wght@400;500;600;700&display=swap');

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

:root {
  --gold: #F5C518; --gold2: #c8900a;
  --fire: #FF3D00; --fire2: #ff6b35;
  --naira: #008751; --naira2: #00c97a;
  --electric: #00CFFF; --green: #00E676;
  --dark: #060E06; --card: rgba(10,26,10,0.97);
  --border: rgba(255,255,255,0.07);
  --text: #F0EFE0; --muted: #a8bea8; --hint: #4a6a4a;
}

/* ── LIGHT MODE ───────────────────────────────── */
body.light {
  --gold:     #D4920A;
  --gold2:    #B37A08;
  --fire:     #E53935;
  --fire2:    #F4511E;
  --naira:    #2E7D32;
  --naira2:   #00897B;
  --electric: #0288D1;
  --green:    #2E7D32;
  --dark:     #F0F7F0;
  --card:     rgba(255,255,255,0.98);
  --border:   rgba(0,100,0,0.10);
  --text:     #0D1F0D;
  --muted:    #2D5B2D;
  --hint:     #6B9B6B;
}
body.light { background: #E8F5E9; color: var(--text); }
body.light .pitch-bg {
  background: linear-gradient(180deg,#C8E6C9 0%,#E8F5E9 50%,#C8E6C9 100%);
}
body.light .pitch-stripes {
  background: repeating-linear-gradient(
    90deg,transparent 0,transparent 80px,
    rgba(0,0,0,0.02) 80px,rgba(0,0,0,0.02) 160px
  );
}
body.light .pitch-circle { border-color: rgba(0,0,0,0.06); }
body.light .spotlight { background: linear-gradient(180deg,rgba(27,94,32,0.08) 0%,transparent 100%); }
body.light .navbar {
  background: rgba(255,255,255,0.95);
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
body.light .nav-link { color: #2E5D2E; }
body.light .nav-link:hover, body.light .nav-link.active {
  background: rgba(27,94,32,0.08); color: var(--naira2);
}
body.light .balance-pill {
  background: rgba(27,94,32,0.08);
  border-color: rgba(27,94,32,0.2);
  color: var(--naira2);
}
body.light .user-pill { background: rgba(0,0,0,0.05); }
body.light .nav-logout { background: rgba(211,47,47,0.08); color: #C62828; }
body.light .section {
  background: rgba(255,255,255,0.92);
  border-color: rgba(0,0,0,0.08);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
body.light .section-title { color: #1A2E1A; }
body.light .tab {
  color: #4A6A4A;
  border-color: rgba(0,0,0,0.08);
}
body.light .tab.active { background: var(--naira2); color: #fff; }
body.light input, body.light select, body.light textarea {
  background: rgba(0,0,0,0.04);
  border-color: rgba(0,0,0,0.12);
  color: #1A2E1A;
}
body.light input:focus { border-color: var(--naira2); background: rgba(46,125,50,0.04); }
body.light .modal {
  background: #FFFFFF;
  border-color: rgba(0,0,0,0.10);
}
body.light .modal-handle { background: rgba(0,0,0,0.15); }
body.light .overlay { background: rgba(0,0,0,0.5); }
body.light .bottom-nav, body.light .bnav {
  background: rgba(255,255,255,0.97);
  border-top: 1px solid rgba(0,0,0,0.08);
}
body.light .bnav-item { color: #5A7A5A; }
body.light .bnav-item.active { color: var(--naira2); }
body.light .preloader-inner { background: #F1F8F1; }
body.light .toast { color: #1A2E1A; }
body.light .badge-gray { background: rgba(0,0,0,0.08); color: #4A6A4A; }
body.light .match-row { border-bottom-color: rgba(0,0,0,0.06); }
body.light .team-name-text { color: #1A2E1A; }
body.light .type-card { border-color: rgba(0,0,0,0.08); background: rgba(0,0,0,0.02); }
body.light .type-card-label { color: #1A2E1A; }
body.light .stat-card { background: rgba(255,255,255,0.9); border-color: rgba(0,100,0,0.12); color: var(--text); }
body.light .s-val { color: var(--text); }
body.light .lb-row { border-bottom-color: rgba(0,0,0,0.06); }
body.light .lb-name { color: #0D1F0D; }
body.light .lb-sub  { color: #5D8B5D; }
body.light .hero-banner { background: linear-gradient(135deg,rgba(46,125,50,0.12),rgba(0,137,123,0.12)); border-color: rgba(46,125,50,0.2); }
body.light .play-btn { background: linear-gradient(135deg,rgba(46,125,50,0.15),rgba(0,137,123,0.15)); border-color: rgba(46,125,50,0.3); color: #1B5E20; }
body.light .ft-badge { background: rgba(0,0,0,0.06); color: #3D6B3D; }
body.light .ft-badge.live { background: rgba(229,57,53,0.1); color: #C62828; border-color: rgba(229,57,53,0.3); }
body.light .type-card:active { border-color: var(--gold); background: rgba(212,146,10,0.08); }
body.light .predict-select { background: rgba(46,125,50,0.06); border-color: rgba(46,125,50,0.25); color: #1B5E20; }
body.light .already-picked { background: rgba(46,125,50,0.08); border-color: rgba(46,125,50,0.25); color: #2E7D32; }
body.light .reward-preview { color: #00897B; }
body.light .team-kit.home-kit { background: linear-gradient(135deg,#1565C0,#1976D2); }
body.light .team-kit.away-kit { background: linear-gradient(135deg,#B71C1C,#C62828); }
body.light .m-tournament { color: #D4920A; }
body.light .m-time { color: #5D8B5D; }
body.light .vs-divider { color: #8FAF8F; }
body.light .team-score { color: #D4920A; }
body.light .view-more-btn { background: rgba(46,125,50,0.08); border-color: rgba(46,125,50,0.2); color: #2E7D32; }
body.light .btn-cancel { background: rgba(0,0,0,0.06); color: #3D6B3D; border: 1px solid rgba(0,0,0,0.1); }
body.light .toast-success { background: #1B5E20; }
body.light .toast-error   { background: #B71C1C; }
body.light .toast-info    { background: #0D47A1; }
body.light .nav-brand-text { color: #D4920A; }
body.light .preloader-inner { background: #E8F5E9; border-color: rgba(46,125,50,0.2); }
body.light .loader-text { color: #1B5E20; }
body.light .loader-bar  { background: rgba(0,0,0,0.08); }
body.light .empty { color: #5D8B5D; }
body.light .page { color: var(--text); }

/* ── THEME TOGGLE BUTTON ──────────────────────── */
.theme-toggle {
  width: 40px; height: 22px; border-radius: 11px; border: none; cursor: pointer;
  position: relative; transition: background .3s; flex-shrink: 0;
  background: rgba(255,255,255,0.15);
  outline: 1px solid rgba(255,255,255,0.2);
}
body.light .theme-toggle {
  background: rgba(0,0,0,0.12);
  outline-color: rgba(0,0,0,0.15);
}
.theme-toggle::after {
  content: '🌙'; position: absolute; left: 3px; top: 50%; transform: translateY(-50%);
  font-size: 13px; line-height: 1; transition: all .3s;
}
body.light .theme-toggle::after { content: '☀️'; left: 18px; }


html { -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Barlow', sans-serif;
  background: var(--dark); color: var(--text);
  min-height: 100vh; overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  font-size: 17px;
  line-height: 1.6;
}
a { text-decoration: none; color: inherit; }
button { cursor: pointer; }
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-thumb { background: rgba(245,197,24,0.3); border-radius: 2px; }

/* ── PITCH BACKGROUND ─────────────────────────── */
.pitch-bg {
  position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none;
  background: linear-gradient(180deg, #020902 0%, #040f04 50%, #030b03 100%);
}
.pitch-stripes {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(
    90deg, transparent 0, transparent 80px,
    rgba(255,255,255,0.01) 80px, rgba(255,255,255,0.01) 160px
  );
}
.pitch-circle {
  position: absolute; bottom: -300px; left: 50%; transform: translateX(-50%);
  width: 500px; height: 500px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.03);
  box-shadow: 0 0 0 50px rgba(255,255,255,0.008);
}
@keyframes spot { 0%,100%{opacity:.4;transform:skewX(-6deg)} 50%{opacity:.7;transform:skewX(6deg)} }
.spotlight { position: absolute; top: 0; width: 120px; height: 400px;
  background: linear-gradient(180deg,rgba(245,197,24,0.06) 0%,transparent 100%);
  clip-path: polygon(20% 0,80% 0,100% 100%,0% 100%); transform-origin: top center; }
.spotlight-l { left: 8%; animation: spot 7s ease-in-out infinite; }
.spotlight-r { right: 8%; animation: spot 9s ease-in-out infinite reverse; }

/* ── PRELOADER ─────────────────────────────────── */
#preloader {
  position: fixed; inset: 0; z-index: 9999;
  background: #020902;
  display: flex; align-items: center; justify-content: center;
  transition: opacity .5s ease;
}
#preloader.done { opacity: 0; pointer-events: none; }
.preloader-inner { text-align: center; }
.ball-wrap { position: relative; width: 70px; height: 90px; margin: 0 auto 1.25rem; }
.football {
  font-size: 50px; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  animation: ballBounce .9s cubic-bezier(.36,.07,.19,.97) infinite;
  filter: drop-shadow(0 0 16px rgba(245,197,24,0.5));
}
.ball-shadow {
  position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 44px; height: 8px;
  background: radial-gradient(ellipse, rgba(0,0,0,0.5) 0%, transparent 70%);
  border-radius: 50%; animation: shadowPulse .9s cubic-bezier(.36,.07,.19,.97) infinite;
}
@keyframes ballBounce {
  0%  { top: 0;   transform: translateX(-50%) rotate(0deg); }
  45% { top: 58px; transform: translateX(-50%) scaleY(.85) scaleX(1.15) rotate(180deg); }
  55% { top: 58px; transform: translateX(-50%) scaleY(.85) scaleX(1.15) rotate(180deg); }
  100%{ top: 0;   transform: translateX(-50%) rotate(360deg); }
}
@keyframes shadowPulse {
  0%,100%{ width: 26px; opacity: .3; }
  45%,55%{ width: 50px; opacity: .6; }
}
.loader-text {
  font-family: 'Anton', sans-serif; font-size: 1.5rem; letter-spacing: 4px;
  background: linear-gradient(135deg,var(--gold),var(--fire2));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  margin-bottom: .3rem;
}
.loader-sub {
  font-family: 'Barlow Condensed', sans-serif; font-size: 14px;
  letter-spacing: 2px; text-transform: uppercase; color: var(--muted);
}
@keyframes loadBar { from{width:15%} to{width:85%} }
.loader-bar {
  width: 100px; height: 2px; background: rgba(255,255,255,0.08);
  border-radius: 2px; margin: 1rem auto 0; overflow: hidden;
}
.loader-bar-fill {
  height: 100%; width: 20%;
  background: linear-gradient(90deg,var(--gold),var(--fire));
  border-radius: 2px; animation: loadBar .9s ease-in-out infinite alternate;
}

/* ── NAVBAR ────────────────────────────────────── */
.navbar {
  position: sticky; top: 0; z-index: 200;
  height: 56px; display: flex; align-items: center; padding: 0 1rem; gap: .75rem;
  background: rgba(3,8,3,0.98);
  border-bottom: 2px solid rgba(245,197,24,0.15);
  backdrop-filter: blur(20px);
  box-shadow: 0 3px 20px rgba(0,0,0,.7);
}
.nav-brand { display: flex; align-items: center; gap: 8px; text-decoration: none; flex-shrink: 0; }
.nav-brand-icon {
  width: 36px; height: 36px; background: linear-gradient(135deg,var(--gold),var(--fire));
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  font-size: 20px; box-shadow: 0 0 16px rgba(245,197,24,0.35);
}
.nav-brand-logo {
  width: 38px; height: 38px; object-fit: contain;
  filter: drop-shadow(0 0 6px rgba(76,175,80,0.5));
}
.nav-brand-text {
  font-family: 'Anton', sans-serif; font-size: 1rem; letter-spacing: 2px;
  background: linear-gradient(135deg,#AEEA00,#4CAF50);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
/* Desktop nav links */
.nav-links { display: flex; gap: .15rem; flex: 1; overflow: hidden; }
.nav-link {
  padding: 5px 11px; border-radius: 6px;
  font-family: 'Barlow Condensed', sans-serif; font-size: 14px; font-weight: 700;
  letter-spacing: .8px; text-transform: uppercase;
  color: var(--muted); white-space: nowrap; border: none; background: none;
  transition: all .2s; flex-shrink: 0;
}
.nav-link:hover { color: var(--text); background: rgba(255,255,255,0.06); }
.nav-link.active { color: var(--gold); background: rgba(245,197,24,0.08); border-bottom: 2px solid var(--gold); }
.nav-right { display: flex; align-items: center; gap: .5rem; margin-left: auto; flex-shrink: 0; }
.balance-pill {
  display: flex; align-items: center; gap: 5px;
  background: rgba(0,135,81,0.12); border: 1px solid rgba(0,201,122,0.3);
  padding: 5px 11px; border-radius: 20px;
  font-family: 'Barlow Condensed', sans-serif; font-size: 13px; font-weight: 700; color: var(--naira2);
}
.user-pill {
  display: flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,0.04); border: 1px solid var(--border);
  padding: 4px 10px; border-radius: 20px;
}
.user-av {
  width: 26px; height: 26px; border-radius: 50%;
  background: linear-gradient(135deg,#0D520D,#1a6b1a); border: 2px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; color: var(--gold);
  font-family: 'Barlow Condensed', sans-serif;
}
.user-name { font-size: 13px; font-weight: 600; }
.nav-logout {
  font-size: 14px; color: var(--muted); border: none; background: none;
  font-family: 'Barlow', sans-serif; padding: 5px 8px; border-radius: 6px; transition: .2s;
}
.nav-logout:hover { color: var(--fire); background: rgba(255,61,0,0.1); }

/* ── BOTTOM NAV (mobile) ───────────────────────── */
.bottom-nav {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 200;
  background: rgba(3,8,3,0.99); border-top: 2px solid rgba(245,197,24,0.15);
  safe-area-inset-bottom: env(safe-area-inset-bottom);
  padding-bottom: env(safe-area-inset-bottom);
}
.bnav { display: flex; }
.bnav-item {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 8px 4px; color: var(--muted);
  font-size: 14px; font-weight: 700; text-transform: uppercase;
  font-family: 'Barlow Condensed', sans-serif; letter-spacing: .5px;
}
.bnav-item.active { color: var(--gold); }
.bnav-icon { font-size: 1.3rem; line-height: 1; }

/* ── PAGE WRAPPER ──────────────────────────────── */
.page { position: relative; z-index: 1; max-width: 1100px; margin: 0 auto; padding: 1rem; }

/* ── HERO BANNER ───────────────────────────────── */
.hero-banner {
  position: relative; overflow: hidden; border-radius: 16px; margin-bottom: 1rem;
  background: linear-gradient(135deg,rgba(6,22,6,0.97) 0%,rgba(3,10,3,0.98) 100%),
    url('https://images.unsplash.com/photo-1574629810360-7efbbe195018?w=1200&q=70') center/cover no-repeat;
  border: 1px solid rgba(245,197,24,0.12);
  box-shadow: 0 10px 40px rgba(0,0,0,.7);
}
.hero-inner { padding: 1.25rem; position: relative; z-index: 1; }

/* ── STATS GRID ────────────────────────────────── */
.stats-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: .75rem; margin-bottom: 1rem;
}
.stat-card {
  background: var(--card); border: 1px solid var(--border); border-radius: 12px;
  padding: .9rem; position: relative; overflow: hidden;
  transition: transform .15s; backdrop-filter: blur(10px);
  display: block; /* make <a> behave */
}
.stat-card::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: currentColor; opacity: .2; }
.stat-card:active { transform: scale(.97); }
.stat-card.naira  { border-color: rgba(0,201,122,.2); color: var(--naira2); }
.stat-card.fire   { border-color: rgba(255,61,0,.2);  color: var(--fire2); }
.stat-card.gold   { border-color: rgba(245,197,24,.2);color: var(--gold); }
.stat-card.electric{border-color: rgba(0,207,255,.2); color: var(--electric); }
.s-icon { font-size: 1.3rem; margin-bottom: .3rem; }
.s-val  { font-family: 'Russo One', sans-serif; font-size: 1.65rem; line-height: 1; color: inherit; }
.s-lbl  { font-size: 14px; color: var(--muted); text-transform: uppercase; letter-spacing: .5px; margin-top: 2px; }
.s-hint { font-size: 14px; color: currentColor; opacity: .7; margin-top: 3px; font-family: 'Barlow Condensed', sans-serif; }

/* ── SECTION ───────────────────────────────────── */
.section {
  background: var(--card); border: 1px solid var(--border); border-radius: 14px;
  overflow: hidden; margin-bottom: 1rem; backdrop-filter: blur(10px);
}
.section-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: .75rem 1rem; border-bottom: 1px solid var(--border);
  background: rgba(245,197,24,0.02);
}
.section-title {
  font-family: 'Barlow Condensed', sans-serif; font-size: 1rem; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase; color: var(--gold);
  display: flex; align-items: center; gap: .4rem;
}
.section-link {
  font-family: 'Barlow Condensed', sans-serif; font-size: 13px; font-weight: 700;
  color: var(--naira2); letter-spacing: .5px;
}

/* ── MATCH CARD ────────────────────────────────── */
.match-card {
  padding: .9rem 1rem; border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: background .15s;
}
.match-card:last-child { border-bottom: none; }
.match-card:active { background: rgba(245,197,24,0.03); }
.match-meta {
  display: flex; align-items: center; gap: .5rem; margin-bottom: .6rem; flex-wrap: wrap;
}
.tournament-tag {
  background: rgba(245,197,24,0.08); border: 1px solid rgba(245,197,24,0.18);
  color: var(--gold); font-size: 13px; font-weight: 700;
  padding: 2px 8px; border-radius: 4px;
  text-transform: uppercase; letter-spacing: .5px;
  font-family: 'Barlow Condensed', sans-serif;
}
.match-time { font-size: 14px; color: var(--muted); font-family: 'Barlow Condensed', sans-serif; }
.match-status-live {
  background: rgba(255,0,0,0.12); border: 1px solid rgba(255,0,0,0.35);
  color: #ff5555; font-size: 13px; font-weight: 700; padding: 2px 8px; border-radius: 4px;
  animation: livePulse 1.5s infinite; font-family: 'Barlow Condensed', sans-serif; letter-spacing: .5px;
}
@keyframes livePulse { 0%,100%{opacity:1} 50%{opacity:.5} }

.teams { display: flex; align-items: center; gap: .75rem; }
.team  { flex: 1; display: flex; align-items: center; gap: .6rem; min-width: 0; }
.team.away { flex-direction: row-reverse; text-align: right; }
.team-logo {
  width: 36px; height: 36px; flex-shrink: 0; border-radius: 50%;
  background: linear-gradient(135deg,rgba(10,61,10,0.9),rgba(26,107,26,0.9));
  border: 1.5px solid rgba(245,197,24,0.25);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Anton', sans-serif; font-size: 13px; color: var(--gold);
}
.team-name { font-weight: 700; font-size: 15px; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.team-short { font-size: 14px; color: var(--muted); font-family: 'Barlow Condensed', sans-serif; }
.vs { font-family: 'Anton', sans-serif; font-size: 1rem; color: var(--hint); flex-shrink: 0; text-align: center; min-width: 36px; }
.score {
  font-family: 'Russo One', sans-serif; font-size: 1.5rem; color: var(--gold);
  text-align: center; min-width: 55px; flex-shrink: 0;
  text-shadow: 0 0 12px rgba(245,197,24,0.3);
}
.match-footer {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: .7rem; gap: .5rem;
}
.reward-tag { font-size: 13px; color: var(--naira2); font-weight: 700; font-family: 'Barlow Condensed', sans-serif; }
.predict-btn {
  padding: 6px 14px;
  background: linear-gradient(135deg,rgba(10,61,10,0.9),rgba(26,107,26,0.9));
  border: 1px solid rgba(245,197,24,0.35); border-radius: 7px; color: var(--gold);
  font-family: 'Barlow Condensed', sans-serif; font-size: 14px; font-weight: 700;
  letter-spacing: .5px; text-transform: uppercase; transition: all .15s;
  white-space: nowrap;
}
.predict-btn:active { border-color: var(--gold); transform: scale(.97); }
.predicted-tag {
  font-size: 13px; color: var(--green); font-weight: 700;
  background: rgba(0,230,118,0.08); border: 1px solid rgba(0,230,118,0.2);
  padding: 3px 8px; border-radius: 4px; font-family: 'Barlow Condensed', sans-serif;
}

/* ── VIEW MORE BUTTON ──────────────────────────── */
.view-more-wrap { padding: .75rem 1rem; text-align: center; border-top: 1px solid var(--border); }
.view-more-btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: 8px 24px; border-radius: 8px;
  background: rgba(245,197,24,0.07); border: 1px solid rgba(245,197,24,0.2);
  color: var(--gold); font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase;
  transition: all .2s;
}
.view-more-btn:hover, .view-more-btn:active { background: rgba(245,197,24,0.14); transform: translateY(-1px); }
.view-more-btn:disabled { opacity: .4; cursor: not-allowed; transform: none; }

/* ── TABS ──────────────────────────────────────── */
.tabs { display: flex; gap: .2rem; padding: .6rem .75rem; border-bottom: 1px solid var(--border); overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab {
  padding: 6px 14px; border-radius: 7px; flex-shrink: 0;
  font-family: 'Barlow Condensed', sans-serif; font-size: 14px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .5px;
  color: var(--muted); border: none; background: none; transition: all .2s;
}
.tab:active { transform: scale(.96); }
.tab.active { color: var(--gold); background: rgba(245,197,24,0.08); border: 1px solid rgba(245,197,24,0.2); }

/* ── LEADERBOARD ───────────────────────────────── */
.lb-row {
  display: flex; align-items: center; gap: .75rem; padding: .75rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.lb-row:last-child { border-bottom: none; }
.lb-rank { font-family: 'Anton', sans-serif; font-size: 1.2rem; width: 32px; text-align: center; flex-shrink: 0; color: var(--muted); }
.rank-1 { color: var(--gold); } .rank-2 { color: #C0C0C0; } .rank-3 { color: #CD7F32; }
.lb-av {
  width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg,#0D520D,#1a6b1a); border: 2px solid rgba(245,197,24,0.25);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Barlow Condensed', sans-serif; font-size: 13px; font-weight: 700; color: var(--gold);
}
.lb-name { font-weight: 700; font-size: 13px; }
.lb-sub  { font-size: 14px; color: var(--muted); }
.lb-stat { text-align: right; font-family: 'Russo One', sans-serif; font-size: 1rem; color: var(--naira2); flex-shrink: 0; }

/* ── FORMS ─────────────────────────────────────── */
.field { margin-bottom: .9rem; }
label {
  display: block; font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .8px; color: var(--muted); margin-bottom: 5px;
}
input, select, textarea {
  width: 100%; background: rgba(0,0,0,0.5); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px; padding: 11px 13px; color: var(--text);
  font-family: 'Barlow', sans-serif; font-size: 16px; /* 16px prevents iOS zoom */
  outline: none; transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none; appearance: none;
}
input:focus, select:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(245,197,24,0.08); }
select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%238a9e8a' d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px; }
select option { background: #050f05; }

/* ── BUTTONS ───────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  padding: 12px 18px; border: none; border-radius: 10px;
  font-family: 'Barlow Condensed', sans-serif; font-size: 15px; font-weight: 700;
  letter-spacing: .5px; text-transform: uppercase;
  transition: all .15s; -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.btn:active { transform: scale(.97); }
.btn-gold  { background: linear-gradient(135deg,var(--gold),#c8900a); color: #050e05; box-shadow: 0 3px 15px rgba(245,197,24,0.2); }
.btn-green { background: linear-gradient(135deg,var(--naira),#00c97a); color: #fff; box-shadow: 0 3px 15px rgba(0,135,81,0.2); }
.btn-fire  { background: linear-gradient(135deg,var(--fire),var(--fire2)); color: #fff; }
.btn-ghost { background: rgba(255,255,255,0.05); border: 1px solid var(--border); color: var(--text); }
.btn-pitch { background: linear-gradient(135deg,rgba(10,61,10,0.9),rgba(26,107,26,0.9)); border: 1px solid rgba(245,197,24,0.3); color: var(--gold); }
.btn-danger{ background: rgba(255,61,0,0.08); border: 1px solid rgba(255,61,0,0.25); color: var(--fire2); }
.btn-block { width: 100%; }
.btn-sm    { padding: 8px 14px; font-size: 13px; }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none !important; }

/* ── MODAL ─────────────────────────────────────── */
.overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.88);
  display: none; align-items: flex-end; justify-content: center; /* bottom sheet on mobile */
  z-index: 1000; backdrop-filter: blur(6px);
}
.overlay.open { display: flex; animation: fadeIn .2s; }
@keyframes fadeIn { from{opacity:0} to{opacity:1} }
.modal {
  background: linear-gradient(170deg,rgba(8,24,8,0.99) 0%,rgba(4,12,4,0.99) 100%);
  border: 1px solid rgba(245,197,24,0.15);
  border-radius: 20px 20px 0 0; /* bottom sheet */
  padding: 1.25rem 1.25rem 2rem;
  width: 100%; max-width: 500px; max-height: 92vh; overflow-y: auto;
  animation: slideUp .3s ease;
  box-shadow: 0 -10px 40px rgba(0,0,0,0.8);
}
@keyframes slideUp { from{transform:translateY(30px);opacity:0} to{transform:translateY(0);opacity:1} }
.modal-handle { width: 36px; height: 3px; background: rgba(255,255,255,0.15); border-radius: 2px; margin: 0 auto .9rem; }
.modal-title { font-family: 'Anton', sans-serif; font-size: 1.2rem; letter-spacing: 1px; margin-bottom: 1rem; color: var(--gold); }
.modal-foot { display: flex; gap: .6rem; margin-top: 1.25rem; }
.btn-cancel {
  flex: 1; padding: 11px; border: 1px solid var(--border); border-radius: 10px;
  background: none; color: var(--muted); font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase;
}

/* ── BADGES ────────────────────────────────────── */
.badge {
  display: inline-block; padding: 2px 8px; border-radius: 20px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .4px;
}
.badge-gold   { background: rgba(245,197,24,0.1); color: var(--gold);   border: 1px solid rgba(245,197,24,0.25); }
.badge-green  { background: rgba(0,230,118,0.1);  color: var(--green);  border: 1px solid rgba(0,230,118,0.25); }
.badge-red    { background: rgba(255,61,0,0.1);   color: var(--fire2);  border: 1px solid rgba(255,61,0,0.25); }
.badge-gray   { background: rgba(255,255,255,0.05);color: var(--muted); border: 1px solid var(--border); }
.badge-naira  { background: rgba(0,135,81,0.1);   color: var(--naira2); border: 1px solid rgba(0,135,81,0.25); }

/* ── TOAST ─────────────────────────────────────── */
.toast {
  position: fixed; bottom: 80px; left: 1rem; right: 1rem; /* above bottom nav */
  padding: .85rem 1.25rem; border-radius: 12px;
  font-family: 'Barlow Condensed', sans-serif; font-size: 14px; font-weight: 700;
  opacity: 0; transform: translateY(8px); transition: all .3s; z-index: 9998;
  text-align: center;
}
.toast.show { opacity: 1; transform: translateY(0); }
.toast-success { background: rgba(0,230,118,0.15); border: 1px solid rgba(0,230,118,0.4); color: var(--green); }
.toast-error   { background: rgba(255,61,0,0.15);  border: 1px solid rgba(255,61,0,0.4);  color: var(--fire2); }
.toast-info    { background: rgba(0,207,255,0.1);  border: 1px solid rgba(0,207,255,0.25);color: var(--electric); }

/* ── EMPTY STATE ───────────────────────────────── */
.empty { text-align: center; padding: 2.5rem 1rem; color: var(--muted); }
.empty-icon { font-size: 2.5rem; margin-bottom: .6rem; opacity: .5; }

/* ── ERR BOX ───────────────────────────────────── */
.err {
  background: rgba(255,61,0,0.1); border: 1px solid rgba(255,61,0,0.3);
  color: var(--fire2); padding: .7rem 1rem; border-radius: 8px;
  font-size: 13px; margin-bottom: .9rem; display: none;
}
.switch { text-align: center; margin-top: 1rem; font-size: 13px; color: var(--muted); }
.switch a { color: var(--gold); font-weight: 700; }

/* ── TABLE (mobile scroll wrapper) ─────────────── */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; max-width: 100%; display: block; }
table { width: 100%; border-collapse: collapse; }
th {
  font-family: 'Barlow Condensed', sans-serif; font-size: 13px;
  text-transform: uppercase; letter-spacing: .8px; color: var(--muted); font-weight: 700;
  padding: 8px 12px; border-bottom: 1px solid var(--border); text-align: left; white-space: nowrap;
}
td { padding: 10px 13px; border-bottom: 1px solid rgba(255,255,255,0.03); font-size: 14px; vertical-align: middle; }
tr:last-child td { border-bottom: none; }

/* ── BANK CARD ─────────────────────────────────── */
.bank-card {
  background: linear-gradient(135deg,rgba(0,135,81,0.07),rgba(8,24,8,0.9));
  border: 1px solid rgba(0,135,81,0.18); border-radius: 12px;
  padding: .9rem 1rem; display: flex; align-items: center; gap: .75rem; margin-bottom: .6rem;
}
.bank-card.default { border-color: rgba(245,197,24,0.35); }
.bank-chip { width: 36px; height: 26px; background: linear-gradient(135deg,var(--gold),#c8900a); border-radius: 4px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 13px; }
.bank-info { flex: 1; min-width: 0; }
.bank-name   { font-weight: 700; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bank-number { font-family: 'Barlow Condensed', sans-serif; font-size: 13px; color: var(--muted); letter-spacing: 1px; }
.bank-acct-name { font-size: 13px; color: var(--naira2); font-weight: 600; margin-top: 1px; }

/* ── COIN PACKAGES ─────────────────────────────── */
.packages { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; padding: 1rem; }
.pkg {
  background: linear-gradient(135deg,rgba(8,24,8,0.9),rgba(4,12,4,0.95));
  border: 1px solid var(--border); border-radius: 12px; padding: 1rem;
  text-align: center; transition: all .2s;
}
.pkg.selected, .pkg:active { border-color: var(--gold); background: linear-gradient(135deg,rgba(245,197,24,0.07),rgba(8,24,8,0.9)); }
.pkg.popular { border-color: var(--naira); }
.pkg.popular::before {
  content: 'BEST VALUE'; display: block;
  font-family: 'Barlow Condensed', sans-serif; font-size: 13px; font-weight: 900; letter-spacing: 1px;
  color: #fff; background: var(--naira); padding: 2px 8px; border-radius: 10px; margin-bottom: .4rem;
}
.pkg-amount { font-family: 'Russo One', sans-serif; font-size: 1.3rem; color: var(--naira2); }
.pkg-desc   { font-size: 13px; color: var(--muted); margin-top: .25rem; }

/* ── DESKTOP BREAKPOINT ────────────────────────── */
@media (min-width: 640px) {
  .page { padding: 1.25rem; }
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
  .navbar { height: 60px; padding: 0 1.25rem; }
  .modal { border-radius: 20px; align-self: center; }
  .overlay { align-items: center; }
  .modal-handle { display: none; }
  .toast { left: auto; right: 1.5rem; bottom: 1.5rem; text-align: left; max-width: 320px; }
  .match-card { padding: 1rem 1.25rem; }
  .team-name { font-size: 14px; }
  .s-val { font-size: 1.8rem; }
}

@media (min-width: 900px) {
  .nav-links { display: flex; }
  .bottom-nav { display: none; }
}

/* ── ALWAYS SHOW BOTTOM NAV ON SMALL ──────────── */
@media (max-width: 899px) {
  .nav-links { display: none; }
  .nav-user-text { display: none; }
  .bottom-nav { display: block; }
  body { padding-bottom: calc(60px + env(safe-area-inset-bottom)); }
  .user-name { display: none; }
}

/* ── TWO-COL LAYOUT ONLY ON DESKTOP ───────────── */
.home-grid { display: flex; flex-direction: column; gap: 1rem; }
@media (min-width: 900px) {
  .home-grid { flex-direction: row; }
  .home-main { flex: 1; min-width: 0; }
  .home-side { width: 320px; flex-shrink: 0; }
}


/* Tables scroll inside their wrapper, never set page width */
.table-wrap table { min-width: 400px; width: max-content; max-width: none; }

/* ── OVERFLOW NUCLEAR FIX ──────────────────────────────────── */
/* Stop ANYTHING from causing horizontal scroll */
html {
  overflow-x: hidden;
  max-width: 100vw;
}
body {
  overflow-x: hidden;
  max-width: 100vw;
  position: relative;
}
/* Every direct child of body stays within viewport */
body > * {
  max-width: 100vw;
  overflow-x: hidden;
}
/* Modals are fixed so they're fine */
.overlay { overflow-x: visible; max-width: none; }

/* Make sure page wrapper never overflows */
.page {
  overflow-x: hidden;
  max-width: 100%;
}

/* Fix flex items that can grow beyond container */
.section, .stat-card, .hero-banner, .match-fixture,
.match-card, .lb-row, .bank-card, .pkg {
  max-width: 100%;
  min-width: 0;
}

/* Fix the home grid sidebar on medium screens */
@media (max-width: 1099px) {
  .home-grid {
    flex-direction: column !important;
  }
  .home-side {
    width: 100% !important;
  }
}

/* Fix fixture layout on very small screens */
@media (max-width: 380px) {
  .ft-badge {
    width: 42px !important;
    height: 42px !important;
    font-size: 13px !important;
  }
  .ft-name {
    font-size: 14px !important;
  }
  .qp {
    padding: 7px 2px !important;
    font-size: 14px !important;
  }
  .qp-icon { font-size: .95rem !important; }
  .mp { font-size: 13px !important; padding: 6px 4px !important; }
  .more-picks .mp { min-width: calc(50% - .2rem) !important; }
}

/* Tables always scroll internally, never push the page */
.table-wrap {
  max-width: 100%;
  overflow-x: auto;
}
table {
  max-width: none; /* tables scroll inside .table-wrap */
}

/* Prevent stat cards from being too wide */
.stats-grid {
  max-width: 100%;
}

/* Navbar overflow prevention */
.navbar {
  max-width: 100vw;
  overflow: hidden;
}
.nav-right {
  overflow: hidden;
}
/* Shrink balance pill text on tiny screens */
@media (max-width: 400px) {
  .balance-pill { padding: 5px 8px; font-size: 14px; }
  .user-pill { padding: 4px 7px; }
  .user-name { display: none; }
  .nav-brand-text { font-size: 1rem; letter-spacing: 1px; }
}

/* ── GLOBAL READABILITY — DESKTOP + MOBILE ───── */

/* Desktop: bump all small text up */
.team-name-text  { font-size: 15px !important; font-weight: 700; }
.team-score      { font-size: 16px !important; font-weight: 700; }
.m-tournament    { font-size: 14px !important; letter-spacing: .3px; }
.m-time          { font-size: 14px !important; }
.vs-divider      { font-size: 14px !important; }
.section-title   { font-size: 16px !important; font-weight: 700; }
.section-link    { font-size: 13px !important; }
.lb-name         { font-size: 14px !important; font-weight: 700; }
.lb-sub          { font-size: 14px !important; }
.lb-stat         { font-size: 14px !important; }
.s-val           { font-size: 1.5rem !important; }
.s-lbl           { font-size: 14px !important; }
.badge           { font-size: 14px !important; padding: 3px 10px !important; }
.ft-badge        { font-size: 14px !important; }
.tab             { font-size: 14px !important; padding: 8px 14px !important; }
.balance-pill    { font-size: 14px !important; }
.toast           { font-size: 14px !important; }
.play-btn        { font-size: 14px !important; padding: 10px 14px !important; }
.type-card-label { font-size: 15px !important; }
.type-card-win   { font-size: 15px !important; }
.bnav-item       { font-size: 14px !important; }
.bnav-icon       { font-size: 1.4rem !important; }
.nav-link        { font-size: 14px !important; }
.user-name       { font-size: 14px !important; }

/* Modal text */
#s1-teams, #s2-teams { font-size: 1.1rem !important; }
#s2-label    { font-size: 15px !important; }
#s2-desc     { font-size: 13px !important; }
#s2-cost, #s2-win { font-size: 1.5rem !important; }
#s2-balance  { font-size: 13px !important; }
#s2-option-btns button { font-size: 15px !important; padding: .8rem 1rem !important; }
#type-cards .type-card { padding: .8rem 1rem !important; }

/* ── MOBILE READABILITY ──────────────────────── */
@media (max-width: 768px) {
  body { font-size: 16px; }
  .page { padding: .75rem .75rem 90px; }

  .match-row  { padding: .9rem .75rem; gap: .6rem; }
  .match-action { min-width: 120px; max-width: 135px; }

  .team-name-text  { font-size: 14px !important; }
  .team-score      { font-size: 15px !important; }
  .m-tournament    { font-size: 14px !important; }
  .m-time          { font-size: 14px !important; }

  .play-btn { font-size: 13px !important; padding: 9px 10px !important; }

  .section-title { font-size: 15px !important; }

  .s-val { font-size: 1.3rem !important; }
  .s-lbl { font-size: 14px !important; }

  .lb-name { font-size: 13px !important; }
  .lb-sub  { font-size: 14px !important; }
  .lb-stat { font-size: 13px !important; }
  .lb-row  { padding: .65rem .75rem; }

  .modal { padding: 1.25rem 1rem 1.5rem; }
  .tab { font-size: 13px !important; padding: 7px 11px !important; }

  .bnav-item { font-size: 14px !important; }
  .bnav-icon { font-size: 1.35rem !important; }

  .type-card-label { font-size: 14px !important; }
  .type-card-win   { font-size: 14px !important; }

  #s2-cost, #s2-win { font-size: 1.35rem !important; }
  #s2-option-btns button { font-size: 14px !important; }
}

@media (max-width: 480px) {
  body { font-size: 15px; }
  .team-name-text { font-size: 13px !important; }
  .match-action { min-width: 110px; max-width: 120px; }
  .play-btn { font-size: 14px !important; padding: 8px 8px !important; }
  .bnav-item { font-size: 13px !important; }
}


/* ── App Download Banner ──────────────────────────────────── */
#app-download-bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 9999;
  transform: translateY(-100%);
  transition: transform .4s cubic-bezier(.22,1,.36,1);
  background: linear-gradient(90deg, #0d1f0d 0%, #0a1a0a 40%, #1a0e00 100%);
  border-bottom: 1px solid rgba(245,197,24,.2);
  box-shadow: 0 4px 24px rgba(0,0,0,.5);
}
#app-download-bar.adb-in { transform: translateY(0); }

.adb-inner {
  max-width: 900px; margin: 0 auto;
  display: flex; align-items: center; gap: .75rem;
  padding: .55rem 1rem;
}
.adb-icon { font-size: 1.4rem; flex-shrink: 0; animation: adbBounce 2s ease-in-out infinite; }
@keyframes adbBounce { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-4px)} }

.adb-text { flex: 1; min-width: 0; font-size: 14px; line-height: 1.4; overflow: hidden; }
.adb-welcome { font-weight: 700; color: #F5C518; }
.adb-msg { color: rgba(255,255,255,.75); }

/* The flashy download button */
.adb-btn {
  flex-shrink: 0;
  display: flex; align-items: center; gap: .4rem;
  padding: .45rem 1rem; border-radius: 20px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px; font-weight: 700; letter-spacing: .5px;
  text-decoration: none; white-space: nowrap;
  color: #000;
  background: linear-gradient(90deg, #F5C518, #FF8C00, #F5C518);
  background-size: 200% auto;
  animation: adbShimmer 2s linear infinite, adbPulse 2.5s ease-in-out infinite;
  box-shadow: 0 0 0 0 rgba(245,197,24,.6);
  transition: transform .15s;
}
.adb-btn:hover { transform: scale(1.05); }
.adb-btn:active { transform: scale(.97); }

.adb-btn-icon { animation: adbBounce 1.2s ease-in-out infinite; display: inline-block; }

@keyframes adbShimmer {
  0%   { background-position: -200% center; }
  100% { background-position:  200% center; }
}
@keyframes adbPulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(245,197,24,.5); }
  50%     { box-shadow: 0 0 0 6px rgba(245,197,24,.0); }
}

.adb-close {
  flex-shrink: 0; background: none; border: none;
  color: rgba(255,255,255,.35); font-size: 14px; cursor: pointer;
  padding: 4px 6px; border-radius: 6px; line-height: 1;
  transition: color .15s, background .15s;
}
.adb-close:hover { color: #fff; background: rgba(255,255,255,.1); }

/* Push page content down when banner is visible */
body:has(#app-download-bar.adb-in) .navbar,
body:has(#app-download-bar.adb-in) nav.navbar { margin-top: 42px; }

/* ── Global readability improvements ────────────────────── */
p, li, span, div { line-height: 1.65; }
.field label { font-size: 13px; font-weight: 600; color: var(--text); letter-spacing: .2px; }
input, select, textarea { font-size: 15px !important; }
.section-title { font-size: 15px !important; }
.match-card, .fixture-card { font-size: 14px; }

/* ── Comprehensive readability fixes ────────────────────── */

/* Subscription plan feature list text */
.sub-plan-feat        { font-size: 13px !important; }
.sub-plan-feats       { gap: 6px !important; }
.sub-plan-name        { font-size: 15px !important; }
.sub-plan-dur         { font-size: 14px !important; }
.sub-plan-price       { font-size: 1.5rem !important; }

/* Match cards */
.team-name            { font-size: 15px !important; }
.match-time           { font-size: 13px !important; }
.match-tournament     { font-size: 14px !important; }
.reward-tag           { font-size: 13px !important; }
.play-btn             { font-size: 13px !important; }

/* Stat cards */
.s-lbl                { font-size: 13px !important; }
.s-val                { font-size: 1.7rem !important; }
.s-hint               { font-size: 14px !important; }

/* Leaderboard */
.lb-name              { font-size: 14px !important; }
.lb-sub               { font-size: 13px !important; }
.lb-val               { font-size: 14px !important; }

/* Tables */
td, th                { font-size: 14px !important; }
th                    { font-size: 13px !important; }

/* Badges & tags */
.badge                { font-size: 14px !important; padding: 3px 9px !important; }

/* Nav bottom */
.bnav-label           { font-size: 14px !important; }

/* Wallet / coin packages */
.pkg-amount           { font-size: 1.4rem !important; }
.pkg-desc             { font-size: 14px !important; }

/* Fields */
.field label          { font-size: 14px !important; }
input, select, textarea { font-size: 15px !important; }

/* Section title */
.section-title        { font-size: 15px !important; }
.section-link         { font-size: 13px !important; }

/* Muted text — ensure contrast */
.muted, [style*="color:var(--muted)"] { opacity: 1 !important; }

/* Modal */
.modal-title          { font-size: 17px !important; }
.step-label           { font-size: 14px !important; }

/* Bank cards */
.bank-name            { font-size: 15px !important; }
.bank-number          { font-size: 14px !important; }
.bank-acct-name       { font-size: 13px !important; }

/* Hero */
.hero-title           { font-size: clamp(2rem, 5vw, 3.5rem) !important; }
.hero-sub             { font-size: 15px !important; line-height: 1.7 !important; }

/* News */
.news-title           { font-size: 14px !important; }
.news-desc            { font-size: 13px !important; }
.news-meta            { font-size: 14px !important; }

/* ── News hero card ──────────────────────────────────────── */
.news-card-hero { display:block; padding:0; margin-bottom:0; border-bottom:1px solid rgba(255,255,255,.05); }
.news-card-hero:hover { background:none; }
.news-hero-img-wrap { position:relative; width:100%; overflow:hidden; border-radius:0; }
.news-hero-img { width:100%; height:160px; object-fit:cover; display:block; filter:brightness(.8); transition:filter .2s; }
.news-card-hero:hover .news-hero-img { filter:brightness(.95); }
.news-hero-overlay {
  position:absolute; bottom:0; left:0; right:0;
  background:linear-gradient(0deg,rgba(0,0,0,.88) 0%,rgba(0,0,0,.3) 70%,transparent 100%);
  padding:.75rem 1rem .8rem;
}

/* ══ GLOBAL MINIMUM FONT SIZE — nothing below 13px ════════ */
/* This catches any inline styles or specificity fights      */
* { min-height: 0; }  /* needed for some flex issues */

.navbar *, .section *, .match-card *, .stat-card *,
.sub-plan *, .pkg *, .lb-row *, .wallet-body *,
.modal *, .field *, table *, .bnav *, .toast *,
.news-card *, .news-body *, .adb-inner * {
  font-size: max(var(--fs, inherit), 13px);
}

/* Explicit overrides for known problem elements */
.sub-plan-feat,
.sub-plan-dur,
.sub-plan-per,
.sub-plan-name,
.news-meta span,
.news-desc,
.match-time,
.team-short,
.s-lbl,
.s-hint,
.lb-sub,
.badge,
.bnav-label,
.reward-tag,
.bank-acct-name,
.section-link,
[style*="font-size:10"],
[style*="font-size:11"],
[style*="font-size:12"],
[style*="font-size: 10"],
[style*="font-size: 11"],
[style*="font-size: 12"] {
  font-size: 13px !important;
  line-height: 1.5 !important;
}

/* Slightly larger for primary content text */
.sub-plan-name,
.news-title,
.team-name,
.modal-title,
.section-title,
h1, h2, h3 {
  font-size: max(15px, 1em) !important;
}

/* ── Sign out button — always visible on mobile ──────────── */
@media (max-width: 640px) {
  .nav-links { display: none; }           /* hide text links — bottom nav handles it */
  .nav-right { margin-left: auto; gap: .4rem; overflow: visible; }
  .nav-logout {
    font-size: 13px !important;
    padding: 5px 10px !important;
    background: rgba(255,61,0,.12) !important;
    border: 1px solid rgba(255,61,0,.25) !important;
    border-radius: 8px !important;
    color: #ff6b35 !important;
    white-space: nowrap;
  }
  .balance-pill { font-size: 13px !important; padding: 5px 9px !important; }
  .user-name    { display: none !important; }
  .theme-toggle { display: none; }        /* hide theme toggle on mobile, save space */
}
@media (max-width: 380px) {
  .balance-pill { display: none; }        /* hide balance pill on very small screens */
}

/* ── Password eye toggle ─────────────────────────────────── */
.pw-wrap { position: relative; }
.pw-wrap input { padding-right: 44px !important; }
.pw-eye {
  position: absolute; right: 0; top: 0; bottom: 0;
  width: 44px; display: flex; align-items: center; justify-content: center;
  background: none; border: none; cursor: pointer;
  color: var(--muted); font-size: 1.1rem;
  transition: color .15s;
}
.pw-eye:hover { color: var(--text); }
