
  :root {
    --bg-primary: #0a0e17;
    --bg-secondary: #111827;
    --bg-card: #151d2e;
    --bg-card-hover: #1a2540;
    --bg-elevated: #1e293b;
    --border: #1e3a5f;
    --border-subtle: rgba(30, 58, 95, 0.5);
    --text-primary: #e8edf5;
    --text-secondary: #8899b4;
    --text-muted: #4a5e7a;
    --accent-green: #00d084;
    --accent-green-dim: rgba(0, 208, 132, 0.15);
    --accent-red: #ff4757;
    --accent-red-dim: rgba(255, 71, 87, 0.15);
    --accent-blue: #3b82f6;
    --accent-blue-dim: rgba(59, 130, 246, 0.15);
    --accent-gold: #fbbf24;
    --accent-gold-glow: rgba(251, 191, 36, 0.4);
    --accent-orange: #f97316;
    --accent-purple: #a855f7;
    --star-1: #6b7280;
    --star-2: #60a5fa;
    --star-3: #34d399;
    --star-4: #f59e0b;
    --star-5: #ef4444;
    --shadow-card: 0 4px 24px rgba(0,0,0,0.3), 0 1px 4px rgba(0,0,0,0.2);
    --shadow-glow-green: 0 0 20px rgba(0, 208, 132, 0.2);
    --shadow-glow-gold: 0 0 20px rgba(251, 191, 36, 0.15);
  }
  * { margin: 0; padding: 0; box-sizing: border-box; }
  html { overflow-x: hidden; }
  body { background: var(--bg-primary); color: var(--text-primary); font-family: 'Barlow', sans-serif; min-height: 100vh; overflow-x: hidden; }
  body::before {
    content: ''; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(ellipse at 20% 0%, rgba(59,130,246,0.06) 0%, transparent 60%),
      radial-gradient(ellipse at 80% 100%, rgba(0,208,132,0.04) 0%, transparent 60%),
      url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none; z-index: 0;
  }
  .app { position: relative; z-index: 1; }

  .header { background: linear-gradient(180deg, rgba(17,24,39,0.95) 0%, rgba(10,14,23,0.9) 100%); backdrop-filter: blur(20px); border-bottom: 1px solid var(--border-subtle); padding: 0 2rem; position: sticky; top: 0; z-index: 100; }
  .header-inner { max-width: 1400px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; height: 64px; }
  .logo-group { display: flex; align-items: center; gap: 12px; }
  .logo-icon { display: flex; align-items: center; }
  .logo-text { font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 30px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--text-primary); }
  .logo-text span { color: var(--accent-green); }
  .logo-badge { font-size: 10px; font-weight: 600; color: var(--accent-green); background: var(--accent-green-dim); padding: 2px 8px; border-radius: 4px; letter-spacing: 1px; text-transform: uppercase; } .logo-name-group { display: flex; flex-direction: column; gap: 2px; } .logo-tagline { font-size: 11px; font-weight: 400; color: rgba(0,208,132,0.65); letter-spacing: 0.2px; font-style: normal; max-width: 420px; line-height: 1.2; }
  .header-nav { display: flex; gap: 4px; align-items: center; }
  .header-nav-link { font-size: 11px; font-weight: 600; color: var(--text-muted); text-decoration: none; text-transform: uppercase; letter-spacing: 0.5px; padding: 4px 10px; border-radius: 4px; transition: color 0.2s, background 0.2s; }
  .header-nav-link:hover { color: var(--accent-green); background: var(--accent-green-dim); }
  .header-stats { display: flex; gap: 24px; align-items: center; }
  .header-stat { text-align: center; }
  .header-stat-value { font-family: 'IBM Plex Mono', monospace; font-size: 18px; font-weight: 600; }
  .header-stat-label { font-size: 10px; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); margin-top: 1px; }
  .positive { color: var(--accent-green); }
  .negative { color: var(--accent-red); }
  .header-right { display: flex; align-items: center; gap: 16px; }
  #history-mobile, #leans-mobile, #mypicks-mobile { display: none; }
  @media (max-width: 768px) {
    #history-table-wrap { display: none; }
    #history-mobile { display: block; }
    .hist-card { background: var(--bg-secondary); border: 1px solid var(--border-subtle); border-radius: 10px; margin-bottom: 10px; overflow: hidden; }
    .hist-card-header { display: flex; align-items: center; justify-content: space-between; padding: 8px 12px; border-bottom: 1px solid rgba(255,255,255,0.05); }
    .hist-card-date { font-size: 11px; color: var(--text-muted); font-family: "IBM Plex Mono", monospace; }
    .hist-card-league { display: flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 600; color: var(--text-secondary); letter-spacing: 0.5px; }
    .hist-card-body { padding: 10px 12px 8px; }
    .hist-card-matchup { font-size: 11px; color: var(--text-muted); margin-bottom: 3px; }
    .hist-card-pick { font-size: 14px; font-weight: 700; color: var(--text-primary); margin-bottom: 8px; line-height: 1.3; }
    .hist-card-footer { display: flex; align-items: center; justify-content: space-between; padding: 7px 12px; background: rgba(0,0,0,0.15); border-top: 1px solid rgba(255,255,255,0.04); }
    .hist-card-odds { font-family: "IBM Plex Mono", monospace; font-size: 12px; color: var(--text-secondary); }
    .hist-card-meta { display: flex; align-items: center; gap: 8px; }
    .hist-card-score { font-size: 11px; color: var(--text-muted); }
    .hist-card-net { font-family: "IBM Plex Mono", monospace; font-size: 13px; font-weight: 700; }
  }
  .parlay-leg { font-size: 12px; color: var(--text-secondary); padding: 2px 0; line-height: 1.4; }
  .parlay-leg .leg-book { color: var(--text-muted); font-size: 11px; }
  .leg-live-score { font-family: 'IBM Plex Mono', monospace; font-size: 11px; font-weight: 600; color: var(--accent-green); background: var(--accent-green-dim); padding: 1px 5px; border-radius: 3px; margin-left: 4px; }
  .pick-card.type-longshot { border-left: 4px solid #f59e0b; background: linear-gradient(135deg, rgba(245,158,11,0.04), rgba(239,68,68,0.04)); }
  .longshot-badge { display:inline-block; background: linear-gradient(135deg, #f59e0b, #ef4444); color: #fff; font-size: 9px; font-weight: 700; padding: 2px 8px; border-radius: 4px; text-transform: uppercase; letter-spacing: 1px; }
  .help-btn { display:inline-flex;align-items:center;gap:5px;font-size:11px;font-weight:600;color:var(--accent-green);background:rgba(0,208,132,0.08);border:1px solid rgba(0,208,132,0.25);border-radius:4px;padding:4px 10px;letter-spacing:0.5px;text-transform:uppercase;cursor:pointer;text-decoration:none;transition:color 0.2s,border-color 0.2s,background 0.2s;flex-shrink:0; }
  .help-btn:hover { color:#fff;border-color:var(--accent-green);background:rgba(0,208,132,0.18); }
  .logout-btn { font-size: 11px; font-weight: 600; color: var(--text-muted); background: transparent; border: 1px solid var(--border-subtle); border-radius: 4px; padding: 4px 10px; letter-spacing: 0.5px; text-transform: uppercase; cursor: pointer; text-decoration: none; transition: color 0.2s, border-color 0.2s; }
  .logout-btn:hover { color: var(--accent-green); border-color: var(--accent-green); }
  .live-indicator { display: flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: var(--accent-green); }
  .live-dot { width: 8px; height: 8px; background: var(--accent-green); border-radius: 50%; animation: pulse 2s ease-in-out infinite; box-shadow: 0 0 8px var(--accent-green); }
  .refresh-info { font-size: 10px; color: var(--text-muted); font-family: 'IBM Plex Mono', monospace; }
  @keyframes pulse { 0%,100% { opacity:1; transform:scale(1); } 50% { opacity:0.5; transform:scale(0.85); } }

  /* Streak badge */
  .streak-badge { display:inline-flex; align-items:center; gap:4px; font-family:'IBM Plex Mono',monospace; font-size:12px; font-weight:600; padding:2px 8px; border-radius:4px; letter-spacing:0.3px; }
  .streak-badge.streak-hot { color:var(--accent-green); background:var(--accent-green-dim); }
  .streak-badge.streak-cold { color:var(--accent-red); background:var(--accent-red-dim); }
  .streak-badge.streak-neutral { color:var(--text-muted); background:rgba(74,94,122,0.15); }

  /* Performance accordions */
  .perf-accordion { border:1px solid var(--border-subtle); border-radius:12px; overflow:hidden; }
  .perf-accordion-header { display:flex; justify-content:space-between; align-items:center; padding:14px 20px; background:var(--bg-card); cursor:pointer; user-select:none; transition:background 0.15s; }
  .perf-accordion-header:hover { background:#131a24; }
  .perf-accordion-header .section-title { margin:0; font-size:15px; }
  .perf-accordion-arrow { color:var(--text-muted); font-size:12px; transition:transform 0.2s; }
  .perf-accordion.open .perf-accordion-arrow { transform:rotate(180deg); }
  .perf-accordion-body { padding:0 20px 20px; }

  /* Date-grouped history sections */
  .date-group { margin-bottom:2px; }
  .date-group-header { display:flex; justify-content:space-between; align-items:center; padding:10px 16px; background:rgba(13,17,23,0.85); cursor:pointer; user-select:none; border-bottom:1px solid var(--border-subtle); transition:background 0.15s; position:sticky; top:0; z-index:2; }
  .date-group-header:hover { background:#131a24; }
  .date-group-header-left { display:flex; align-items:center; gap:12px; }
  .date-group-day { font-family:'Barlow Condensed',sans-serif; font-size:15px; font-weight:700; color:var(--text-primary); letter-spacing:0.3px; }
  .date-group-record { font-family:'IBM Plex Mono',monospace; font-size:12px; font-weight:600; color:var(--text-secondary); }
  .date-group-net { font-family:'IBM Plex Mono',monospace; font-size:12px; font-weight:700; }
  .date-group-picks { font-size:11px; color:var(--text-muted); }
  .date-group-arrow { color:var(--text-muted); font-size:11px; transition:transform 0.2s; margin-left:8px; }
  .date-group.open .date-group-arrow { transform:rotate(180deg); }
  .date-group-body { padding:0; }
  .date-group-body.collapsed { display:none; }
  .date-group.leans .date-group-day { color:#94a3b8; }
  .date-group.leans .date-group-header { border-bottom-color:rgba(30,58,95,0.3); }
  .date-group.leans .date-group-record { color:#64748b; }

  /* Season cards */
  .season-grid { display:grid; grid-template-columns:repeat(auto-fill, minmax(220px, 1fr)); gap:12px; margin-bottom:24px; }
  .season-card { background:var(--bg-card); border:1px solid var(--border-subtle); border-radius:12px; padding:18px; position:relative; overflow:hidden; transition:all 0.25s; }
  .season-card:hover { border-color:var(--border); box-shadow:var(--shadow-card); }
  .season-card.season-dimmed { opacity:0.5; }
  .season-card .season-name { font-family:'Barlow Condensed',sans-serif; font-size:18px; font-weight:700; margin-bottom:8px; display:flex; align-items:center; gap:8px; }
  .season-card .season-active-badge { font-size:9px; font-weight:700; color:var(--accent-green); background:var(--accent-green-dim); padding:2px 6px; border-radius:3px; text-transform:uppercase; letter-spacing:0.5px; }
  .season-card .season-stat { display:flex; justify-content:space-between; padding:3px 0; font-size:12px; border-bottom:1px solid rgba(30,58,95,0.15); }
  .season-card .season-stat:last-child { border-bottom:none; }
  .season-card .season-stat-label { color:var(--text-muted); }
  .season-card .season-stat-value { font-family:'IBM Plex Mono',monospace; font-weight:600; }

  /* Streak table */
  .streak-table { width:100%; border-collapse:collapse; font-size:13px; margin-bottom:24px; }
  .streak-table th { text-align:left; font-size:11px; text-transform:uppercase; letter-spacing:0.5px; color:var(--text-muted); padding:8px 10px; border-bottom:1px solid var(--border-subtle); }
  .streak-table td { padding:8px 10px; border-bottom:1px solid rgba(30,58,95,0.15); }
  .streak-table .streak-val { font-family:'IBM Plex Mono',monospace; font-weight:600; }

  /* Referral card */
  .referral-link-box { display:flex; align-items:center; gap:8px; background:#0f172a; border:1px solid #334155; border-radius:6px; padding:8px 12px; margin-bottom:12px; }
  .referral-link-box input { flex:1; background:none; border:none; color:#e2e8f0; font-family:'IBM Plex Mono',monospace; font-size:13px; outline:none; }
  .referral-copy-btn { background:var(--accent-green); color:#0a0e17; font-size:11px; font-weight:700; padding:6px 14px; border-radius:5px; border:none; cursor:pointer; letter-spacing:0.3px; white-space:nowrap; }
  .referral-copy-btn:hover { opacity:0.85; }
  .referral-progress { font-family:'IBM Plex Mono',monospace; font-size:14px; font-weight:600; color:var(--accent-green); margin-bottom:8px; }
  .referral-desc { font-size:12px; color:#94a3b8; line-height:1.5; margin-bottom:14px; }

  .main { max-width: 1400px; margin: 0 auto; padding: 24px 2rem 4rem; }
  .loading-msg, .error-msg { text-align: center; padding: 40px 20px; font-size: 14px; color: var(--text-secondary); }
  .error-msg { color: var(--accent-red); }
  .loading-spinner { display: inline-block; width: 24px; height: 24px; border: 3px solid var(--border); border-top-color: var(--accent-green); border-radius: 50%; animation: spin 0.8s linear infinite; margin-bottom: 10px; }
  @keyframes spin { to { transform: rotate(360deg); } }

  .tab-bar { display: flex; gap: 2px; margin-bottom: 24px; background: var(--bg-secondary); border-radius: 10px; padding: 4px; width: fit-content; }
  .tab { padding: 8px 20px; border-radius: 8px; font-size: 13px; font-weight: 600; color: var(--text-secondary); cursor: pointer; transition: all 0.2s; border: none; background: transparent; text-transform: uppercase; letter-spacing: 0.5px; font-family: 'Barlow', sans-serif; }
  .tab:hover { color: var(--text-primary); background: rgba(255,255,255,0.03); }
  .tab.active { background: var(--bg-card); color: var(--text-primary); box-shadow: 0 2px 8px rgba(0,0,0,0.2); border-bottom: 2px solid var(--accent-green); }
  .vip-pill { font-size: 9px; font-weight: 700; color: var(--accent-green); border: 1px solid var(--accent-green); border-radius: 3px; padding: 1px 4px; margin-left: 4px; letter-spacing: 0.5px; vertical-align: middle; line-height: 1; opacity: 0.85; }
  .tab-divider { width: 1px; background: var(--border-subtle); align-self: stretch; margin: 6px 6px; flex-shrink: 0; }

  .section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
  .section-title { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 20px; text-transform: uppercase; letter-spacing: 1.5px; color: var(--text-primary); display: flex; align-items: center; gap: 10px; }
  .section-title .icon { display:inline-flex; align-items:center; vertical-align:middle; color:var(--accent-green); }
  .section-date { font-family: 'IBM Plex Mono', monospace; font-size: 12px; color: var(--text-muted); }

  .picks-grid { display: flex; flex-direction: column; gap: 10px; margin-bottom: 36px; }
  .pick-card { background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: 12px; padding: 0; transition: all 0.25s ease; overflow: hidden; animation: slideIn 0.4s ease forwards; opacity: 0; transform: translateY(10px); }
  .pick-card:hover { background: var(--bg-card-hover); border-color: var(--border); box-shadow: var(--shadow-card); transform: translateY(-1px); }
  .betslip-btns { display: flex; gap: 8px; margin-top: 7px; flex-wrap: wrap; justify-content: flex-end; }
  .betslip-note { font-size: 11px; color: var(--text-secondary); margin: 5px 0 0; opacity: 0.75; font-style: italic; line-height: 1.4; flex-basis: 100%; width: 100%; }
  .book-btn { display: inline-block; padding: 4px 13px; border-radius: 6px; font-size: 11px; font-weight: 700; text-decoration: none; cursor: pointer; transition: all 0.15s ease; letter-spacing: 0.02em; }
  .btn-fd { background: #0d2b1a; color: #00d45a; border: 1px solid #00d45a; }
  .btn-fd:hover { background: #00d45a; color: #000; }
  .btn-dk { background: #1a1226; color: #ff6b35; border: 1px solid #ff6b35; }
  .btn-dk:hover { background: #ff6b35; color: #000; }
  .btn-mgm { background: #1a1a0d; color: #c4a342; border: 1px solid #c4a342; }
  .btn-mgm:hover { background: #c4a342; color: #000; }
  .btn-czr { background: #0d1a1a; color: #2ec4b6; border: 1px solid #2ec4b6; }
  .btn-czr:hover { background: #2ec4b6; color: #000; }
  .btn-br { background: #1a0d0d; color: #e63946; border: 1px solid #e63946; }
  .btn-br:hover { background: #e63946; color: #fff; }
  .btn-fan { background: #0d0d1a; color: #6c63ff; border: 1px solid #6c63ff; }
  .btn-fan:hover { background: #6c63ff; color: #fff; }
  @keyframes slideIn { to { opacity: 1; transform: translateY(0); } }
  /* Edge / threshold block */
  .edge-block { border-top: 1px solid var(--border-subtle); padding: 8px 20px; display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; background: rgba(0,0,0,0.15); }
  .edge-stat { display: flex; align-items: center; gap: 5px; }
  .edge-stat-label { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px; color: var(--text-muted); }
  .edge-stat-value { font-size: 13px; font-weight: 700; font-family: 'IBM Plex Mono', monospace; color: var(--text-primary); }
  .edge-stat-value.edge-positive { color: #4ade80; }
  .edge-stat-value.edge-negative { color: #f87171; }
  .edge-pass-banner { width: 100%; background: rgba(248,113,113,0.12); border: 1px solid rgba(248,113,113,0.3); border-radius: 8px; padding: 8px 14px; font-size: 12px; color: #f87171; font-weight: 600; }
  .edge-threshold { width: 100%; font-size: 13px; color: #cbd5e1; padding-top: 4px; border-top: 1px solid var(--border-subtle); }
  .edge-threshold strong { color: var(--text-primary); }
  .edge-key-factors { width: 100%; display: flex; flex-wrap: wrap; gap: 6px; }
  .edge-factor-tag { font-size: 11px; padding: 3px 8px; background: rgba(255,255,255,0.05); border: 1px solid var(--border-subtle); border-radius: 4px; color: #cbd5e1; }
  .edge-risk { width: 100%; font-size: 12px; color: #94a3b8; font-style: italic; }
  .conf-override-badge { font-size: 10px; background: rgba(251,191,36,0.15); border: 1px solid rgba(251,191,36,0.3); color: #fbbf24; padding: 2px 6px; border-radius: 4px; margin-left: 6px; vertical-align: middle; }
  .live-score-badge { display: inline-block; background: rgba(239,68,68,0.10); border: 1px solid rgba(239,68,68,0.30); border-radius: 6px; padding: 6px 14px; font-family: 'IBM Plex Mono', monospace; margin-bottom: 4px; min-width: 170px; }
  .live-score-badge .live-dot { display: inline-block; width: 7px; height: 7px; background: #ef4444; border-radius: 50%; animation: livepulse 1.2s ease-in-out infinite; }
  @keyframes livepulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.4;transform:scale(0.8)} }
  .live-score-badge .live-hdr { display: flex; align-items: center; gap: 6px; font-size: 10px; font-weight: 700; color: #f87171; margin-bottom: 4px; letter-spacing: 0.5px; }
  .live-score-badge .live-line { display: flex; justify-content: space-between; align-items: baseline; padding: 1px 0; font-size: 13px; }
  .live-score-badge .live-line .t-name { color: #e2e8f0; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 150px; }
  .live-score-badge .live-line .t-score { color: #f87171; font-weight: 700; min-width: 32px; text-align: right; }
  .live-score-badge .live-period { font-size: 11px; color: #94a3b8; text-align: center; margin-top: 3px; }
  .live-score-badge.live-prop { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: #f87171; padding: 4px 10px; min-width: auto; }
  .final-score-badge { display: block; width: 220px; background: rgba(148,163,184,0.08); border: 1px solid rgba(148,163,184,0.20); border-radius: 6px; padding: 6px 14px; font-family: 'IBM Plex Mono', monospace; margin-top: 6px; }
  .final-score-badge .final-hdr { font-size: 10px; font-weight: 700; color: #64748b; margin-bottom: 4px; letter-spacing: 0.5px; }
  .final-score-badge .final-line { display: flex; justify-content: space-between; align-items: baseline; padding: 1px 0; font-size: 13px; }
  .final-score-badge .final-line .t-name { color: #e2e8f0; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 150px; }
  .final-score-badge .final-line .t-score { font-weight: 700; min-width: 32px; text-align: right; }
  .final-score-badge .final-prop { border-top: 1px solid rgba(255,255,255,0.08); margin-top: 5px; padding-top: 5px; font-size: 12px; font-weight: 600; }
  .kelly-units { color: #60a5fa; }
    .pick-card:nth-child(1){animation-delay:.05s}.pick-card:nth-child(2){animation-delay:.1s}.pick-card:nth-child(3){animation-delay:.15s}.pick-card:nth-child(4){animation-delay:.2s}.pick-card:nth-child(5){animation-delay:.25s}.pick-card:nth-child(6){animation-delay:.3s}.pick-card:nth-child(7){animation-delay:.35s}.pick-card:nth-child(8){animation-delay:.4s}.pick-card:nth-child(9){animation-delay:.45s}.pick-card:nth-child(10){animation-delay:.5s}
  /* Pick type left border accents */
  .pick-card.type-game { border-left: 4px solid var(--accent-green); }
  .pick-card.type-prop { border-left: 4px solid var(--accent-blue); }
  .pick-card.type-parlay { border-left: 4px solid var(--accent-gold); }
  .pick-card.graded-pick { opacity: 0.85; }
  .pick-card.graded-pick.pick-won { border-left: 4px solid var(--accent-green); }
  .pick-card.graded-pick.pick-lost { border-left: 4px solid #ef4444; }
  .pick-card.graded-pick.pick-push { border-left: 4px solid #94a3b8; }
  /* Pick type filter pills */
  .pick-type-tabs { display:flex; gap:4px; margin-bottom:10px; }
  .pick-type-pill { padding:5px 14px; border-radius:6px; font-size:11px; font-weight:600; color:var(--text-secondary); cursor:pointer; transition:all 0.2s; border:1px solid transparent; background:transparent; text-transform:uppercase; letter-spacing:0.5px; font-family:'Barlow',sans-serif; -webkit-tap-highlight-color:transparent; touch-action:manipulation; }
  @media (max-width:768px) { .pick-type-pill { min-height:44px; display:inline-flex; align-items:center; padding:8px 14px; } }
  .pick-type-pill:hover { color:var(--text-primary); background:rgba(255,255,255,0.03); }
  .pick-type-pill.active { background:var(--accent-green); color:#0a0e17; border-color:var(--accent-green); font-weight:700; }
  /* Mobile pick card collapse */
  /* Pick card actions row (share + details toggle) */
  .pick-card-actions { display:flex; align-items:center; justify-content:space-between; border-top:1px solid var(--border-subtle); padding:6px 14px; }
  .pick-card-toggle { display:none; }
  .pick-share-btn { background:none; border:1px solid var(--border-subtle); border-radius:6px; padding:5px 10px; font-size:11px; font-weight:600; color:var(--text-muted); cursor:pointer; display:inline-flex; align-items:center; gap:4px; transition:all 0.15s; font-family:'Barlow',sans-serif; }
  .pick-share-btn:hover { border-color:var(--accent-green); color:var(--accent-green); }
  .pick-share-btn svg { width:13px; height:13px; fill:currentColor; }
  @media (max-width:768px) {
    .pick-card-details { display:none; }
    .pick-card-details.expanded { display:block; }
    .pick-card-toggle { display:inline-block; padding:8px; font-size:12px; font-weight:600; color:var(--text-muted); cursor:pointer; transition:color 0.15s; min-height:44px; line-height:28px; }
    .pick-card-toggle:hover { color:var(--text-secondary); }
  }
  /* Toast notification */
  .sw-toast { position:fixed; bottom:80px; left:50%; transform:translateX(-50%); background:#1e293b; border:1px solid var(--accent-green); border-radius:8px; padding:10px 20px; font-size:13px; font-weight:600; color:var(--accent-green); z-index:10000; box-shadow:0 8px 24px rgba(0,0,0,0.4); animation:toastIn 0.3s ease; pointer-events:none; }
  @keyframes toastIn { from{opacity:0;transform:translateX(-50%) translateY(10px)} to{opacity:1;transform:translateX(-50%) translateY(0)} }
  /* Streak confetti */
  .streak-confetti { position:fixed; top:0; left:0; right:0; height:100vh; pointer-events:none; z-index:10001; overflow:hidden; }
  .streak-confetti span { position:absolute; top:-20px; opacity:0.9; animation:confettiFall var(--fall-dur, 2.8s) ease-in forwards; }
  .streak-confetti .streak-toast { position:fixed; top:20%; left:50%; transform:translateX(-50%); font-family:'Barlow Condensed',sans-serif; font-size:28px; font-weight:800; text-transform:uppercase; letter-spacing:2px; color:#fbbf24; text-shadow:0 2px 12px rgba(251,191,36,0.4); animation:streakToastIn 0.4s ease, streakToastOut 0.4s ease 2.2s forwards; z-index:10002; white-space:nowrap; }
  @keyframes confettiFall { 0%{transform:translateY(-20px) rotate(0deg) scale(1);opacity:0.9} 50%{opacity:0.8} 100%{transform:translateY(105vh) rotate(var(--spin, 720deg)) scale(0.5);opacity:0} }
  @keyframes streakToastIn { from{opacity:0;transform:translateX(-50%) scale(0.7)} to{opacity:1;transform:translateX(-50%) scale(1)} }
  @keyframes streakToastOut { from{opacity:1} to{opacity:0;transform:translateX(-50%) translateY(-20px)} }
  /* Tooltip system */
  .tooltip-trigger { display:inline-flex; align-items:center; justify-content:center; width:14px; height:14px; border-radius:50%; background:rgba(100,116,139,0.3); color:#64748b; font-size:9px; font-weight:700; cursor:help; margin-left:4px; vertical-align:middle; transition:background 0.15s; flex-shrink:0; }
  .tooltip-trigger:hover { background:rgba(100,116,139,0.5); color:#94a3b8; }
  .sw-tooltip { position:absolute; z-index:200; background:#1e293b; border:1px solid #334155; border-radius:8px; padding:10px 14px; font-size:12px; color:#cbd5e1; line-height:1.5; max-width:260px; box-shadow:0 8px 24px rgba(0,0,0,0.4); pointer-events:auto; animation:tooltipFadeIn 0.15s ease; }
  @keyframes tooltipFadeIn { from{opacity:0;transform:translateY(4px)} to{opacity:1;transform:translateY(0)} }
  @media (max-width:768px) { .sw-tooltip { max-width:calc(100vw - 32px); } }
  /* Onboarding tour */
  .tour-overlay { position:fixed; top:0; left:0; width:100%; height:100%; z-index:500; pointer-events:auto; }
  .tour-spotlight { position:absolute; border-radius:8px; box-shadow:0 0 0 9999px rgba(0,0,0,0.7); z-index:501; pointer-events:none; transition:all 0.3s ease; }
  .tour-card { position:absolute; z-index:502; background:#1e293b; border:1px solid var(--accent-green); border-radius:10px; padding:16px 20px; max-width:320px; box-shadow:0 8px 32px rgba(0,0,0,0.5); }
  .tour-card-title { font-family:'Barlow Condensed',sans-serif; font-size:15px; font-weight:700; color:#e2e8f0; margin-bottom:6px; text-transform:uppercase; letter-spacing:0.5px; }
  .tour-card-text { font-size:12px; color:#94a3b8; line-height:1.6; margin-bottom:14px; }
  .tour-footer { display:flex; justify-content:space-between; align-items:center; }
  .tour-dots { display:flex; gap:6px; }
  .tour-dot { width:6px; height:6px; border-radius:50%; background:#334155; transition:background 0.2s; }
  .tour-dot.active { background:var(--accent-green); }
  .tour-btn-next { background:var(--accent-green); color:#0a0e17; font-size:12px; font-weight:700; padding:6px 16px; border-radius:6px; border:none; cursor:pointer; letter-spacing:0.3px; }
  .tour-btn-next:hover { opacity:0.85; }
  .tour-btn-skip { font-size:11px; color:#64748b; background:none; border:none; cursor:pointer; padding:4px 8px; }
  .tour-btn-skip:hover { color:#94a3b8; }
  @media (max-width:768px) { .tour-card { max-width:calc(100vw - 32px); left:16px !important; right:16px !important; width:auto !important; } }
  @media (min-width:769px) { #back-to-top { display:none !important; } }

  .pick-card-inner { display: grid; grid-template-columns: 1fr auto; align-items: start; gap: 4px 16px; padding: 16px 20px; }
  .pick-card-row-top { display: flex; align-items: center; gap: 14px; grid-column: 1; grid-row: 1 / 3; }
  .sport-badge { width: 44px; height: 44px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; }
  .sport-badge svg { width: 38px; height: 38px; }
  .sport-nba { background: linear-gradient(135deg, #1d428a, #c8102e); }
  .sport-nfl { background: linear-gradient(135deg, #013369, #d50a0a); }
  .sport-mlb { background: linear-gradient(135deg, #002d72, #d50032); }
  .sport-ncaab { background: linear-gradient(135deg, #ff6b00, #1a1a2e); }
  .sport-ncaaf { background: linear-gradient(135deg, #8b0000, #1a1a2e); }
  .sport-nhl { background: linear-gradient(135deg, #111111, #555555); }
  .pick-info { min-width: 0; }
  .pick-matchup { font-weight: 600; font-size: 15px; margin-bottom: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .pick-meta { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--text-secondary); }
  
.soon-badge {
  display: inline-block;
  background: linear-gradient(90deg, #ff6b00, #ff9500);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 2px 7px;
  border-radius: 4px;
  margin-left: 6px;
  vertical-align: middle;
  animation: soonPulse 1.8s ease-in-out infinite;
}
@keyframes soonPulse {
  0%,100% { opacity: 1; }
  50% { opacity: 0.55; }
}
.pick-type-badge { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; padding: 2px 6px; border-radius: 4px; background: var(--accent-blue-dim); color: var(--accent-blue); }
  .pick-time { font-family: 'IBM Plex Mono', monospace; font-size: 11px; color: var(--text-muted); }
  .pick-selection { text-align: right; padding-right: 16px; min-width: 180px; grid-column: 2; grid-row: 1; }
  .pick-selection-text { font-weight: 700; font-size: 15px; color: var(--text-primary); }
  .pick-odds { font-family: 'IBM Plex Mono', monospace; font-size: 14px; font-weight: 600; color: var(--accent-green); margin-top: 2px; }

  .pick-books { font-family: 'IBM Plex Mono', monospace; font-size: 11px; color: #8899b4; margin-top: 3px; }
  .pick-books .best-book { color: var(--accent-gold); text-transform: uppercase; }

  .confidence-cell { display: flex; flex-direction: row; align-items: center; gap: 8px; grid-column: 2; grid-row: 2; justify-content: flex-end; padding-right: 16px; }
  .stars-row { display: flex; gap: 3px; }
  .star { width: 16px; height: 16px; position: relative; }
  .star svg { width: 100%; height: 100%; }
  .star-filled svg { filter: drop-shadow(0 0 4px var(--accent-gold-glow)); }
  .star-filled svg path { fill: var(--accent-gold); }
  .star-empty svg path { fill: var(--text-muted); opacity: 0.3; }
  @keyframes shimmer { 0%{transform:translateX(-100%) rotate(45deg)} 100%{transform:translateX(100%) rotate(45deg)} }
  .star-filled { animation: starPop 0.3s ease forwards; }
  @keyframes starPop { 0%{transform:scale(0.5);opacity:0} 70%{transform:scale(1.15)} 100%{transform:scale(1);opacity:1} }
  .confidence-bar-track { width: 80px; height: 4px; background: rgba(255,255,255,0.06); border-radius: 2px; overflow: hidden; }
  .confidence-bar-fill { height: 100%; border-radius: 2px; transition: width 0.6s ease; }
  .conf-1 .confidence-bar-fill{width:20%;background:var(--star-1)}.conf-2 .confidence-bar-fill{width:40%;background:var(--star-2)}.conf-3 .confidence-bar-fill{width:60%;background:var(--star-3)}.conf-4 .confidence-bar-fill{width:80%;background:var(--star-4)}.conf-5 .confidence-bar-fill{width:100%;background:linear-gradient(90deg,var(--star-4),var(--star-5));box-shadow:0 0 8px rgba(239,68,68,0.4)}
  .confidence-label { font-family: 'IBM Plex Mono', monospace; font-size: 10px; text-transform: uppercase; letter-spacing: 0.5px; }
  .conf-1 .confidence-label{color:var(--star-1)}.conf-2 .confidence-label{color:var(--star-2)}.conf-3 .confidence-label{color:var(--star-3)}.conf-4 .confidence-label{color:var(--star-4)}.conf-5 .confidence-label{color:var(--star-5)}
  .pick-rationale { font-size: 14px; color: #ffffff; line-height: 1.6; min-width: 0; grid-column: 1 / -1; padding-top: 10px; border-top: 1px solid var(--border-subtle); margin-top: 2px; }
  .status-badge { display: inline-flex; align-items: center; gap: 4px; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; padding: 3px 8px; border-radius: 4px; }
  .status-pending{background:rgba(251,191,36,0.1);color:var(--accent-gold)}.status-won{background:var(--accent-green-dim);color:var(--accent-green)}.status-lost{background:var(--accent-red-dim);color:var(--accent-red)}.status-live{background:rgba(168,85,247,0.15);color:var(--accent-purple)}.status-push{background:rgba(107,114,128,0.15);color:#9ca3af}.status-void{background:rgba(107,114,128,0.1);color:#6b7280}

  .perf-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 36px; }
  .perf-card { background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: 12px; padding: 20px; position: relative; overflow: hidden; transition: all 0.25s; }
  .perf-card:hover { border-color: var(--border); box-shadow: var(--shadow-card); }
  .perf-card::before { content:''; position:absolute; top:0; left:0; right:0; height:3px; border-radius:12px 12px 0 0; }
  .perf-card.card-green::before{background:var(--accent-green);box-shadow:var(--shadow-glow-green)}.perf-card.card-blue::before{background:var(--accent-blue)}.perf-card.card-gold::before{background:var(--accent-gold);box-shadow:var(--shadow-glow-gold)}.perf-card.card-purple::before{background:var(--accent-purple)}
  .perf-card-label { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); margin-bottom: 8px; font-weight: 600; }
  .perf-card-value { font-family: 'Barlow Condensed', sans-serif; font-size: 36px; font-weight: 700; line-height: 1; margin-bottom: 4px; }
  .perf-card-sub { font-family: 'IBM Plex Mono', monospace; font-size: 12px; color: var(--text-secondary); }

  .league-tabs { display: flex; gap: 2px; margin-bottom: 16px; }
  .league-tab { display: flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 8px; font-size: 12px; font-weight: 600; color: var(--text-secondary); cursor: pointer; transition: all 0.2s; border: 1px solid transparent; background: transparent; text-transform: uppercase; letter-spacing: 0.5px; font-family: 'Barlow', sans-serif; }
  .league-tab:hover{color:var(--text-primary);background:rgba(255,255,255,0.03)}.league-tab.active{background:var(--accent-green);color:#0a0e17;border-color:var(--accent-green);font-weight:700}
  .league-tab .league-icon { font-size: 16px; }

  .data-table { width:100%; border-collapse:separate; border-spacing:0; background:var(--bg-card); border:1px solid var(--border-subtle); border-radius:12px; overflow:hidden; margin-bottom:36px; }
  .data-table thead { background: var(--bg-elevated); }
  .data-table th { font-size:10px; font-weight:700; text-transform:uppercase; letter-spacing:1px; color:var(--text-muted); padding:12px 16px; text-align:left; border-bottom:1px solid var(--border-subtle); }
  .data-table th:not(:first-child) { text-align: center; }
  .data-table td { padding:14px 16px; font-size:14px; border-bottom:1px solid rgba(30,58,95,0.2); }
  .data-table td:not(:first-child) { text-align:center; font-family:'IBM Plex Mono',monospace; font-size:13px; }
  .data-table tbody tr:hover { background: var(--bg-card-hover); }
  .data-table tbody tr:last-child td { border-bottom: none; }

  .star-perf-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 36px; }
  .star-perf-card { background:var(--bg-card); border:1px solid var(--border-subtle); border-radius:12px; padding:16px; text-align:center; position:relative; overflow:hidden; transition:all 0.25s; }
  .star-perf-card:hover { border-color:var(--border); box-shadow:var(--shadow-card); }
  .star-perf-card .star-display { display:flex; justify-content:center; gap:3px; margin-bottom:10px; font-size:18px; filter:drop-shadow(0 0 6px var(--accent-gold-glow)); animation:goldPulse 3s ease-in-out infinite; }
  @keyframes goldPulse { 0%,100%{filter:drop-shadow(0 0 4px var(--accent-gold-glow))} 50%{filter:drop-shadow(0 0 10px var(--accent-gold-glow))} }
  .star-perf-card .stat-row { display:flex; justify-content:space-between; padding:4px 0; font-size:12px; border-bottom:1px solid rgba(30,58,95,0.15); }
  .star-perf-card .stat-row:last-child { border-bottom: none; }
  .market-summary-header { margin-bottom: 4px; }
  .market-disclaimer { font-size: 14px; color: #ffffff; font-style: italic; }
  .star-perf-card .stat-label { color: var(--text-muted); }
  .star-perf-card .stat-value { font-family: 'IBM Plex Mono', monospace; font-weight: 600; }
  .win-pct-bar { width:100%; height:6px; background:rgba(255,255,255,0.05); border-radius:3px; margin-top:10px; overflow:hidden; }
  .win-pct-fill { height:100%; border-radius:3px; background:linear-gradient(90deg,var(--accent-blue),var(--accent-green)); transition:width 0.8s ease; }

  .search-bar { display: flex; gap: 10px; margin-bottom: 16px; }
  .search-input { flex:1; background:var(--bg-card); border:1px solid var(--border-subtle); border-radius:8px; padding:10px 16px; color:var(--text-primary); font-family:'Barlow',sans-serif; font-size:14px; outline:none; transition:border-color 0.2s; }
  .search-input:focus { border-color: var(--accent-blue); }
  .search-input::placeholder { color: var(--text-muted); }

  .chart-container { background:var(--bg-card); border:1px solid var(--border-subtle); border-radius:12px; padding:20px; margin-bottom:36px; position:relative; overflow:hidden; }
  .chart-container::before { content:''; position:absolute; top:0; left:0; right:0; height:3px; background:linear-gradient(90deg,var(--accent-green),var(--accent-blue)); border-radius:12px 12px 0 0; }
  #pnl-chart { width:100%; height:280px; display:block; }
  .chart-legend { display:flex; justify-content:center; gap:20px; margin-top:12px; font-size:12px; color:var(--text-secondary); }
  .chart-legend-item { display:flex; align-items:center; gap:6px; }
  .chart-legend-dot { width:10px; height:10px; border-radius:50%; }
  .chart-period-tabs { display:flex; gap:2px; margin-bottom:16px; background:var(--bg-primary); border-radius:8px; padding:3px; width:fit-content; }
  .chart-period-tab { padding:6px 16px; border-radius:6px; font-size:12px; font-weight:600; color:var(--text-secondary); cursor:pointer; transition:all 0.2s; border:none; background:transparent; text-transform:uppercase; letter-spacing:0.5px; font-family:'Barlow',sans-serif; }
  .chart-period-tab:hover { color:var(--text-primary); background:rgba(255,255,255,0.03); }
  .chart-period-tab.active { background:var(--bg-elevated); color:var(--text-primary); box-shadow:0 2px 6px rgba(0,0,0,0.2); }
  .filter-btn { background:var(--bg-card); border:1px solid var(--border-subtle); border-radius:8px; padding:10px 16px; color:var(--text-secondary); font-family:'Barlow',sans-serif; font-size:13px; font-weight:600; cursor:pointer; transition:all 0.2s; display:flex; align-items:center; gap:6px; }
  .filter-btn:hover { border-color:var(--border); color:var(--text-primary); }

  @media (max-width:1100px) {
    .perf-grid{grid-template-columns:repeat(2,1fr)}.star-perf-grid{grid-template-columns:repeat(3,1fr)}
    .pick-card-inner{grid-template-columns:1fr auto;gap:10px}.pick-selection{min-width:unset}.confidence-cell{min-width:unset}
  }
  @media (max-width:768px) {
    .header{padding:0 12px}.header-inner{height:56px}.header-stats{display:none}.header-nav{display:none}
    .logo-text{font-size:18px;letter-spacing:1px}.logo-badge{font-size:8px;padding:2px 6px}.logo-icon svg{width:28px;height:28px}.logo-tagline{display:none}
    .header-right{gap:10px}.refresh-info{display:none}.help-btn{min-height:44px;padding:6px 12px;font-size:11px}.logout-btn{min-height:44px;display:inline-flex;align-items:center;padding:6px 12px}
    .main{padding:14px 12px 3rem}
    .tab-bar{width:100%;padding:3px;border-radius:8px;margin-bottom:18px;overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none}.tab-bar::-webkit-scrollbar{display:none}.tab{flex-shrink:0;white-space:nowrap;text-align:center;padding:12px 14px;font-size:12px;letter-spacing:0;min-height:44px;-webkit-tap-highlight-color:transparent;touch-action:manipulation}
    .section-header{flex-direction:column;align-items:flex-start;gap:4px;margin-bottom:12px}.section-title{font-size:17px}.section-date{font-size:11px}
    .pick-card-inner{display:flex;flex-direction:column;gap:6px;padding:14px}
    .pick-card:hover{transform:none}
    .pick-card-row-top{display:flex;align-items:flex-start;gap:10px;width:100%}
    .sport-badge{width:38px;height:38px;font-size:18px;border-radius:8px;flex-shrink:0}.sport-badge svg{width:30px;height:30px}
    .pick-info{flex:1;min-width:0}.pick-matchup{font-size:14px;white-space:normal;line-height:1.3;word-break:break-word}.pick-meta{flex-wrap:wrap;gap:6px;margin-top:4px}
    .pick-selection{text-align:left;padding-right:0;min-width:unset;display:flex;flex-wrap:wrap;align-items:center;gap:4px 10px;margin-top:10px;padding-top:10px;border-top:1px solid var(--border-subtle);width:100%}
    .pick-selection-text{font-size:14px}.pick-odds{margin-top:0;font-size:14px}
    .pick-books{width:100%;margin-top:2px}
    .confidence-cell{flex-direction:row;align-items:center;gap:10px;min-width:unset;margin-top:8px;width:100%}.confidence-bar-track{flex:1}.confidence-label{white-space:nowrap}
    .pick-rationale{margin-top:10px;padding-top:10px;border-top:1px solid var(--border-subtle);font-size:12px;line-height:1.5;width:100%}
    .perf-grid{grid-template-columns:1fr 1fr;gap:8px}.perf-card{padding:14px}.perf-card-value{font-size:28px}.perf-card-sub{font-size:11px}
    .star-perf-grid{grid-template-columns:1fr 1fr;gap:8px}.star-perf-card{padding:12px}.star-perf-card .star-display{font-size:16px;margin-bottom:8px}
    #pnl-chart{height:220px}.chart-container{padding:14px}.chart-legend{flex-wrap:wrap;gap:10px;font-size:11px}.chart-period-tabs{width:100%}.chart-period-tab{flex:1;text-align:center;padding:6px 8px;font-size:11px;min-height:44px}
    .table-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch;margin:0 -12px;padding:0 12px}.data-table{min-width:700px;font-size:13px}.data-table th{padding:10px;font-size:9px}.data-table td{padding:10px;font-size:12px}
    .league-tabs{flex-wrap:wrap;gap:4px;padding-bottom:4px}.league-tab{padding:8px 10px;font-size:11px;min-height:40px;flex:1 1 auto;text-align:center;-webkit-tap-highlight-color:transparent;touch-action:manipulation}
    .search-bar{flex-wrap:wrap;gap:8px}.search-input{min-width:0;font-size:16px}.filter-btn{font-size:12px;padding:10px 12px;flex:1;justify-content:center;min-height:44px;-webkit-tap-highlight-color:transparent;touch-action:manipulation}
    .betslip-btns{flex-direction:column;align-items:stretch}.book-btn{min-height:44px;display:flex;align-items:center;justify-content:center;padding:8px 16px;font-size:13px}
    .edge-block{padding:10px 14px;gap:6px 12px}.edge-stat{min-width:auto}
    .lc-toggle{min-height:44px;display:flex;align-items:center}
    
  /* ── Mobile Bottom Nav Bar ──────────────────────────────────── */
  .mobile-bottom-nav { display:none; }
  @media (max-width:768px) {
    .tab-bar { display:none !important; }
    .mobile-bottom-nav {
      display:flex !important; position:fixed; bottom:0; left:0; right:0; z-index:9999;
      background:#0a0e17;
      border-top:1px solid var(--border); height:56px; padding:3px 0 0;
      justify-content:space-around; align-items:stretch;
      box-shadow:0 -4px 20px rgba(0,0,0,0.5);
      -webkit-transform:translateZ(0); transform:translateZ(0);
      -webkit-backface-visibility:hidden; backface-visibility:hidden;
    }
    .mobile-bottom-nav .bnav-btn {
      display:flex; flex-direction:column; align-items:center; justify-content:center;
      gap:2px; flex:1; background:none; border:none; color:var(--text-muted);
      font-size:8px; font-weight:600; letter-spacing:0.3px; text-transform:uppercase;
      cursor:pointer; padding:4px 2px; -webkit-tap-highlight-color:transparent;
      touch-action:manipulation; transition:color 0.15s;
    }
    .mobile-bottom-nav .bnav-btn.active { color:var(--accent-green); }
    .mobile-bottom-nav .bnav-btn svg { width:18px; height:18px; fill:currentColor; }
    body { padding-bottom:60px; }
  }
    
  /* ── Mobile scroll indicator (removed — league tabs now wrap) ── */
    .mobile-stats-bar{display:flex!important;justify-content:space-around;padding:10px 12px;background:#0d1220;border-top:1px solid var(--accent-green);border-bottom:1px solid var(--border-subtle)}
    .mobile-stat{text-align:center}.mobile-stat-value{font-family:'IBM Plex Mono',monospace;font-size:15px;font-weight:600}.mobile-stat-label{font-size:9px;text-transform:uppercase;letter-spacing:0.5px;color:var(--text-muted)}
  }
  @media (max-width:600px) { .perf-grid{grid-template-columns:1fr}.star-perf-grid{grid-template-columns:1fr} }
  @media (max-width:768px) { .vip-pill{font-size:8px;padding:1px 3px;margin-left:2px} .tab-divider{margin:6px 2px} }
  @media (max-width:380px) { .tab{font-size:11px;padding:7px 6px} .vip-pill{font-size:7px} }
  .mobile-stats-bar { display: none; }
  ::-webkit-scrollbar{width:6px}::-webkit-scrollbar-track{background:var(--bg-primary)}::-webkit-scrollbar-thumb{background:var(--border);border-radius:3px}::-webkit-scrollbar-thumb:hover{background:var(--text-muted)}

  /* ── Mobile card replacements for tables ── */
  .period-mobile-cards { display:none; }
  .clv-mobile-cards { display:none; }
  @media (max-width:768px) {
    .table-scroll { display:none; }
    .period-mobile-cards { display:grid; grid-template-columns:1fr 1fr; gap:8px; margin-bottom:24px; }
    .clv-table { display:none; }
    .clv-mobile-cards { display:grid; grid-template-columns:1fr; gap:8px; margin-top:8px; }
  }
  @media (max-width:480px) {
    .period-mobile-cards { grid-template-columns:1fr; }
  }
  .pmc-card { background:var(--bg-card); border:1px solid var(--border-subtle); border-radius:10px; padding:14px; }
  .pmc-card-header { font-family:'Barlow Condensed',sans-serif; font-weight:700; font-size:14px; text-transform:uppercase; letter-spacing:1px; color:var(--text-primary); margin-bottom:10px; padding-bottom:8px; border-bottom:1px solid var(--border-subtle); }
  .pmc-card-stats { display:grid; grid-template-columns:1fr 1fr; gap:6px; }
  .pmc-stat-label { font-size:10px; text-transform:uppercase; letter-spacing:0.5px; color:var(--text-muted); }
  .pmc-stat-value { font-family:'IBM Plex Mono',monospace; font-size:14px; font-weight:600; color:var(--text-primary); }

  /* ── History filter dropdown (mobile) ── */
  .hist-league-dropdown { display:none; }
  @media (max-width:768px) {
    .hist-league-dropdown { display:block; width:100%; background:var(--bg-card); border:1px solid var(--border-subtle); border-radius:8px; padding:10px 14px; color:var(--text-primary); font-family:'Barlow',sans-serif; font-size:14px; font-weight:600; cursor:pointer; min-height:44px; -webkit-appearance:none; appearance:none; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2364748b' viewBox='0 0 16 16'%3E%3Cpath d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E"); background-repeat:no-repeat; background-position:right 12px center; padding-right:32px; }
    .hist-league-chip { display:none !important; }
    .hist-league-divider { display:none !important; }
  }

  .league-picks-header { display: flex; align-items: center; gap: 10px; padding: 10px 4px 8px; margin-top: 12px; border-bottom: 1px solid var(--border-subtle); margin-bottom: 8px; }
  .league-picks-header:first-child { margin-top: 0; }
  .league-picks-icon { font-size: 20px; }
  .league-picks-name { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 16px; text-transform: uppercase; letter-spacing: 1.5px; color: var(--text-primary); }
  .league-picks-meta { font-family: 'IBM Plex Mono', monospace; font-size: 11px; color: var(--text-muted); margin-left: auto; }

  .risk-units  { color: var(--accent-red);   font-weight: 700; font-family: 'IBM Plex Mono', monospace; }
  .win-units   { color: var(--accent-green); font-weight: 700; font-family: 'IBM Plex Mono', monospace; }
  .kelly-label { font-size: 10px; color: var(--text-secondary); font-weight: 400; font-family: 'IBM Plex Mono', monospace; opacity: 0.7; margin-left: 2px; }

  /* ── Bankroll / CLV / Confidence / Bet Tracker ── */
  .bankroll-card { background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: 12px; padding: 20px 24px; margin-bottom: 12px; }
  .bankroll-input { background: #0f172a; border: 1px solid #334155; border-radius: 6px; padding: 10px 12px; color: #e2e8f0; font-size: 14px; outline: none; width: 120px; font-family: 'IBM Plex Mono', monospace; }
  .bankroll-input:disabled { opacity: 0.4; cursor: not-allowed; }
  .bankroll-save { background: var(--accent-green); color: #0a0e17; border: none; border-radius: 6px; padding: 8px 18px; font-size: 13px; font-weight: 700; cursor: pointer; }
  .bankroll-save:hover { filter: brightness(1.1); }
  .bankroll-save:disabled { opacity: 0.4; cursor: not-allowed; }
  .dollar-equiv { font-size: 11px; color: var(--text-muted); font-family: 'IBM Plex Mono', monospace; margin-left: 4px; }
  .clv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 16px; }
  .clv-table { width: 100%; border-collapse: collapse; font-size: 13px; }
  .clv-table th { text-align: left; color: var(--text-muted); font-size: 11px; text-transform: uppercase; letter-spacing: 0.5px; padding: 8px 10px; border-bottom: 1px solid var(--border-subtle); }
  .clv-table td { padding: 8px 10px; border-bottom: 1px solid rgba(30,58,95,0.15); color: var(--text-primary); }
  .conf-accuracy-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 16px; }
  .tail-btn { background: transparent; border: 1px solid var(--border-subtle); border-radius: 6px; padding: 5px 12px; font-size: 11px; font-weight: 600; color: var(--text-muted); cursor: pointer; transition: all 0.2s; font-family: 'Barlow', sans-serif; }
  .tail-btn:hover { border-color: var(--accent-green); color: var(--accent-green); }
  .tail-btn.tailed { background: var(--accent-green-dim); border-color: var(--accent-green); color: var(--accent-green); }
  .tail-btn:disabled { opacity: 0.4; cursor: not-allowed; }
  .tail-inputs-wrap { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-top: 1px solid var(--border-subtle); flex-wrap: wrap; }
  .tail-input-group { display: flex; align-items: center; gap: 4px; }
  .tail-input-group label { font-size: 10px; color: var(--text-muted); white-space: nowrap; text-transform: uppercase; letter-spacing: 0.5px; }
  .tail-input-group input { width: 72px; background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: 6px; padding: 5px 8px; font-size: 12px; color: var(--text-primary); font-family: 'IBM Plex Mono', monospace; text-align: center; }
  .tail-input-group input:focus { border-color: var(--accent-green); outline: none; }
  .tail-input-group input:disabled { opacity: 0.5; }
  .tail-verdict { font-size: 11px; line-height: 1.4; padding: 4px 0 2px; width: 100%; }
  .tail-verdict .tv-bet { color: var(--accent-green); font-weight: 700; }
  .tail-verdict .tv-lean { color: #f0b429; font-weight: 700; }
  .tail-verdict .tv-pass { color: var(--accent-red, #f43f5e); font-weight: 700; }
  .tail-verdict .tv-detail { color: var(--text-muted); margin-left: 6px; }
  @keyframes bet-pulse { 0%{box-shadow:0 0 0 0 rgba(0,208,132,0.45)} 70%{box-shadow:0 0 0 8px rgba(0,208,132,0)} 100%{box-shadow:0 0 0 0 rgba(0,208,132,0)} }
  .bet-pulse { animation: bet-pulse 0.8s ease-out 3; }
  .bet-slip { background: #111827; border: 1px solid rgba(255,255,255,0.08); border-left: 3px solid var(--accent-green); border-radius: 8px; padding: 10px 12px; margin-top: 8px; }
  .bet-slip-header { display: flex; align-items: baseline; gap: 8px; margin-bottom: 8px; }
  .bet-slip-label { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--accent-green); }
  .bet-slip-hint { font-size: 10px; color: var(--text-muted); }
  .bet-slip-section-label { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--accent-green); margin-bottom: 6px; }
  .bet-slip-divider { border-top: 1px solid rgba(255,255,255,0.08); margin: 10px 0; }
  .bet-slip-section { margin-bottom: 4px; }
  .bet-slip .betslip-btns { justify-content: flex-start; margin-top: 0; }
  .bet-slip-inputs { display: flex; gap: 8px; align-items: center; margin-bottom: 8px; }
  .bet-slip-field { display: flex; flex-direction: column; gap: 2px; }
  .bet-slip-field label { font-size: 9px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; }
  .bet-slip-field input { width: 80px; background: #0a0e17; border: 1px solid rgba(255,255,255,0.12); border-radius: 6px; padding: 6px 8px; font-size: 13px; color: var(--text-primary); font-family: 'IBM Plex Mono', monospace; text-align: center; transition: border-color 0.15s; }
  .bet-slip-field input:focus { border-color: var(--accent-green); outline: none; }
  .bet-slip-field input:disabled { opacity: 0.4; }
  .bet-slip-verdict { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; flex-wrap: wrap; }
  .bet-slip-pill { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 12px; font-size: 11px; font-weight: 700; letter-spacing: 0.5px; }
  .bet-slip-pill.v-bet { background: rgba(0,208,132,0.15); color: var(--accent-green); border: 1px solid rgba(0,208,132,0.3); }
  .bet-slip-pill.v-lean { background: rgba(240,180,41,0.15); color: #f0b429; border: 1px solid rgba(240,180,41,0.3); }
  .bet-slip-pill.v-pass { background: rgba(244,63,94,0.15); color: #f43f5e; border: 1px solid rgba(244,63,94,0.3); }
  .bet-slip-sizing { font-size: 11px; color: var(--text-secondary); }
  .bet-slip-units { display: flex; align-items: center; gap: 6px; margin-bottom: 8px; }
  .bet-slip-units label { font-size: 9px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; }
  .bet-slip-units input { width: 56px; background: #0a0e17; border: 1px solid rgba(255,255,255,0.12); border-radius: 6px; padding: 5px 6px; font-size: 12px; color: var(--text-primary); font-family: 'IBM Plex Mono', monospace; text-align: center; }
  .bet-slip-units input:focus { border-color: var(--accent-green); outline: none; }
  .bet-slip-units span { font-size: 11px; color: var(--text-muted); }
  .bet-slip-btn { width: 100%; padding: 8px; border: none; border-radius: 6px; font-size: 12px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; cursor: pointer; transition: all 0.2s; font-family: 'Barlow', sans-serif; }
  .bet-slip-btn.bs-active { background: var(--accent-green); color: #0a0e17; }
  .bet-slip-btn.bs-active:hover { filter: brightness(1.1); }
  .bet-slip-btn.bs-muted { background: rgba(255,255,255,0.06); color: var(--text-muted); border: 1px solid rgba(255,255,255,0.08); }
  .bet-slip-btn.bs-muted:hover { border-color: var(--accent-green); color: var(--accent-green); }
  .bet-slip-btn.bs-pass { background: #1e2736; color: #4b5563; border: 1px solid #374151; cursor: default; pointer-events: none; }
  .bet-slip-btn.bs-done { background: rgba(0,208,132,0.15); color: var(--accent-green); border: 1px solid rgba(0,208,132,0.3); cursor: default; }
  .bet-slip-actions { display: flex; gap: 8px; margin-top: 6px; }
  .bet-slip-act { flex: 1; padding: 6px; border: 1px solid var(--border-subtle); border-radius: 6px; background: transparent; font-size: 11px; font-weight: 600; cursor: pointer; font-family: 'Barlow', sans-serif; transition: all 0.15s; }
  .bet-slip-act.bs-edit { color: var(--text-muted); }
  .bet-slip-act.bs-edit:hover { border-color: var(--accent-green); color: var(--accent-green); }
  .bet-slip-act.bs-remove { color: var(--text-muted); }
  .bet-slip-act.bs-remove:hover { border-color: #f43f5e; color: #f43f5e; }
  @media (max-width: 768px) {
    .tail-inputs-wrap { flex-direction: column; align-items: stretch; gap: 6px; padding: 8px 12px; }
    .tail-input-group { justify-content: space-between; }
    .tail-input-group input { width: 90px; min-height: 36px; font-size: 14px; }
    .tail-btn { min-height: 44px; font-size: 13px; }
    .bet-slip { padding: 10px; }
    .bet-slip-inputs { flex-direction: column; align-items: stretch; }
    .bet-slip-field { flex-direction: row; align-items: center; justify-content: space-between; }
    .bet-slip-field input { width: 100px; min-height: 38px; font-size: 14px; }
    .bet-slip-btn { min-height: 44px; font-size: 13px; }
  }
  .tail-odds-wrap input::placeholder { color: var(--text-muted); }
  .tail-odds-wrap input:focus { outline: none; border-color: var(--accent-green); }
  .tail-odds-label { font-size: 10px; color: var(--text-muted); }
  @media (max-width: 768px) {
    .clv-grid { grid-template-columns: repeat(2, 1fr); }
    .conf-accuracy-grid { grid-template-columns: repeat(2, 1fr); }
  }
  @media (max-width: 480px) {
    .clv-grid { grid-template-columns: 1fr; }
    .conf-accuracy-grid { grid-template-columns: 1fr 1fr; }
  }

  /* ── System Guide ── */
  .guide-section { margin-bottom: 40px; }
  .guide-section-title {
    font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 16px;
    text-transform: uppercase; letter-spacing: 1.5px; color: var(--accent-green);
    margin-bottom: 16px; display: flex; align-items: center; gap: 8px;
    padding-bottom: 10px; border-bottom: 1px solid var(--border-subtle);
  }
  .guide-card {
    background: var(--bg-card); border: 1px solid var(--border-subtle);
    border-radius: 12px; padding: 20px 24px; margin-bottom: 12px;
  }
  .guide-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 10px; }
  .guide-card p:last-child { margin-bottom: 0; }
  .guide-card strong { color: var(--text-primary); }
  .star-table { width: 100%; border-collapse: collapse; margin-top: 8px; }
  .star-table th {
    font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
    color: var(--text-muted); padding: 10px 14px; text-align: left;
    border-bottom: 1px solid var(--border-subtle); background: var(--bg-elevated);
  }
  .star-table td { padding: 12px 14px; font-size: 13px; border-bottom: 1px solid rgba(30,58,95,0.2); color: var(--text-secondary); }
  .star-table td:first-child { font-family: 'IBM Plex Mono', monospace; font-size: 15px; }
  .star-table tr:last-child td { border-bottom: none; }
  .star-table tr:hover td { background: var(--bg-card-hover); }
  .sizing-example {
    background: var(--bg-elevated); border-radius: 8px; padding: 14px 18px;
    margin-top: 12px; font-family: 'IBM Plex Mono', monospace; font-size: 13px;
  }
  .sizing-example .ex-row { display: flex; justify-content: space-between; align-items: center; padding: 6px 0; border-bottom: 1px solid rgba(30,58,95,0.2); }
  .sizing-example .ex-row:last-child { border-bottom: none; }
  .sizing-example .ex-label { color: var(--text-secondary); font-size: 12px; }
  .sizing-example .ex-risk { color: var(--accent-red); font-weight: 700; }
  .sizing-example .ex-win  { color: var(--accent-green); font-weight: 700; }
  .guide-callout {
    background: var(--accent-green-dim); border: 1px solid rgba(0,208,132,0.2);
    border-radius: 8px; padding: 14px 18px; margin-top: 12px;
    font-size: 13px; color: var(--text-primary); line-height: 1.6;
  }
  .guide-callout.warning {
    background: rgba(251,191,36,0.08); border-color: rgba(251,191,36,0.2);
  }
  .guide-step {
    display: flex; gap: 14px; align-items: flex-start;
    padding: 12px 0; border-bottom: 1px solid rgba(30,58,95,0.2);
  }
  .guide-step:last-child { border-bottom: none; }
  .guide-step-num {
    width: 28px; height: 28px; border-radius: 50%; background: var(--accent-blue-dim);
    border: 1px solid var(--accent-blue); color: var(--accent-blue);
    font-weight: 700; font-size: 13px; display: flex; align-items: center;
    justify-content: center; flex-shrink: 0; margin-top: 2px;
  }
  .guide-step-body { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }
  .guide-step-body strong { color: var(--text-primary); }
  .book-badge {
    display: inline-block; padding: 2px 10px; border-radius: 4px; font-size: 11px;
    font-weight: 700; letter-spacing: 0.5px; margin-right: 4px;
  }
  .book-fd { background: rgba(0,123,255,0.15); color: #60a5fa; border: 1px solid rgba(96,165,250,0.3); }
  .book-dk { background: rgba(0,200,100,0.12); color: #34d399; border: 1px solid rgba(52,211,153,0.3); }
  @media (max-width: 640px) {
    .guide-card { padding: 16px; }
    .star-table th, .star-table td { padding: 10px; }
    .sizing-example { font-size: 12px; }
  }


  /* ── History Filter Chips ──────────────────────────────── */
  .hist-chip { padding:5px 12px; border-radius:6px; font-size:11px; font-weight:600; color:var(--text-secondary); cursor:pointer; border:1px solid transparent; background:transparent; text-transform:uppercase; letter-spacing:0.5px; font-family:'Barlow',sans-serif; transition:all 0.15s; -webkit-tap-highlight-color:transparent; }
  .hist-chip:hover { color:var(--text-primary); background:rgba(255,255,255,0.03); }
  .hist-chip.active { background:var(--accent-green); color:#0a0e17; border-color:var(--accent-green); }
  @media (max-width:768px) { .hist-chip { min-height:36px; display:inline-flex; align-items:center; padding:6px 10px; font-size:10px; } }
  /* ── History Bet Slip Collapse ────────────────────────────────── */
  .hist-betslip-wrap { display:none; padding:6px 12px; border-top:1px solid var(--border-subtle); }
  .hist-betslip-wrap.expanded { display:block; }
  .hist-betslip-toggle { padding:8px 12px; font-size:12px; font-weight:600; color:var(--text-muted); cursor:pointer; border-top:1px solid var(--border-subtle); text-align:center; transition:color 0.15s; }
  .hist-betslip-toggle:hover { color:var(--text-secondary); }
  /* ── Past Picks Desktop Cards ─────────────────────────────────── */
  #history-desktop, #leans-desktop, #mypicks-desktop { display: block; }
  #history-mobile, #leans-mobile, #mypicks-mobile  { display: none; }
  .hd-card {
    display: flex;
    align-items: stretch;
    background: var(--card-bg, #0d1117);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 10px;
    margin-bottom: 8px;
    overflow: hidden;
    transition: border-color 0.15s;
  }
  .hd-card:hover { border-color: rgba(255,255,255,0.14); }
  .hd-card-accent {
    width: 4px;
    flex-shrink: 0;
  }
  .hd-card-accent.won  { background: #00d084; }
  .hd-card-accent.lost { background: #f43f5e; }
  .hd-card-accent.push { background: #6b7280; }
  .hd-card-accent.void { background: #4b5563; }
  .hd-card-accent.custom { background: #f59e0b; }
  .hd-card-body {
    flex: 1;
    padding: 10px 14px;
    min-width: 0;
  }
  .hd-card-row1 {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
  }
  .hd-card-matchup {
    font-weight: 600;
    font-size: 13px;
    color: var(--text-primary, #f1f5f9);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .hd-card-pick {
    font-weight: 700;
    font-size: 13px;
    color: #e2c97e;
  }
  .hd-card-sep {
    color: rgba(255,255,255,0.2);
    font-size: 12px;
  }
  .hd-card-row2 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 4px;
    flex-wrap: wrap;
  }
  .hd-card-date {
    font-size: 11px;
    color: #cbd5e1;
    font-family: 'IBM Plex Mono', monospace;
    white-space: nowrap;
  }
  .hd-card-odds {
    font-size: 11px;
    color: var(--text-secondary, #94a3b8);
    font-family: 'IBM Plex Mono', monospace;
  }
  .hd-card-summary {
    margin-top: 5px;
    font-size: 11.5px;
    color: #cbd5e1;
    font-style: italic;
    line-height: 1.4;
  }
  .hd-card-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    padding: 10px 14px;
    gap: 4px;
    min-width: 100px;
    flex-shrink: 0;
  }
  .hd-card-net {
    font-family: 'IBM Plex Mono', monospace;
    font-weight: 700;
    font-size: 16px;
  }
  .hd-card-score {
    font-size: 10px;
    color: #cbd5e1;
    text-align: right;
    max-width: 120px;
    line-height: 1.3;
    margin-top: 2px;
  }
  @media (max-width: 767px) {
    #history-desktop, #leans-desktop, #mypicks-desktop { display: none; }
    #history-mobile, #leans-mobile, #mypicks-mobile  { display: block; }
  }

/* ── Line Checker ── */
.line-checker{margin-top:12px;border-top:1px solid #1e293b;padding-top:10px;}
.lc-desc{font-size:11px;color:#475569;line-height:1.6;margin-bottom:10px;padding:8px 10px;background:#0a0e17;border-radius:5px;border-left:2px solid #1e3a5f;}
.lc-toggle{background:transparent;border:1px solid #334155;color:#64748b;font-size:11px;font-weight:600;padding:6px 12px;border-radius:5px;cursor:pointer;letter-spacing:0.5px;transition:all 0.15s;width:100%;text-align:left;display:block;}
.lc-toggle:hover,.lc-toggle.active{border-color:#00d084;color:#00d084;}
.lc-body{margin-top:10px;}
.lc-inputs{display:flex;gap:8px;align-items:flex-end;flex-wrap:wrap;}
.lc-input-group{flex:1;min-width:80px;}
.lc-input-group label{display:block;font-size:10px;text-transform:uppercase;letter-spacing:1px;color:#475569;margin-bottom:4px;}
.lc-input-group input{width:100%;background:#0f172a;border:1px solid #334155;color:#e2e8f0;font-family:monospace;font-size:14px;padding:8px 10px;border-radius:5px;box-sizing:border-box;transition:border-color 0.15s;-webkit-appearance:none;}
.lc-input-group input:focus{outline:none;border-color:#00d084;}
.lc-check-btn{background:#00d084;color:#000;border:none;font-size:12px;font-weight:700;padding:0 16px;border-radius:5px;cursor:pointer;letter-spacing:0.5px;white-space:nowrap;height:36px;align-self:flex-end;transition:opacity 0.15s;flex-shrink:0;}
.lc-check-btn:hover{opacity:0.85;}
.lc-result{margin-top:8px;}
.lc-verdict{display:flex;align-items:flex-start;gap:10px;padding:10px 12px;border-radius:6px;font-size:12px;flex-wrap:wrap;}
.lc-bet{background:rgba(34,197,94,0.1);border:1px solid rgba(34,197,94,0.3);}
.lc-pass{background:rgba(239,68,68,0.1);border:1px solid rgba(239,68,68,0.3);}
.lc-verdict-label{font-weight:800;font-size:13px;white-space:nowrap;flex-shrink:0;}
.lc-bet .lc-verdict-label{color:#22c55e;}
.lc-pass .lc-verdict-label{color:#ef4444;}
.lc-verdict-reason{color:#94a3b8;line-height:1.5;}
.lc-error{color:#f59e0b;font-size:12px;padding:6px 0;}
@media(max-width:480px){.lc-check-btn{width:100%;margin-top:4px;height:40px;}}

/* ── Today's Games ───────────────────────────────────── */
.games-league-tabs{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:14px;padding:0 2px;}
.games-league-pill{padding:6px 14px;border-radius:20px;border:1px solid var(--border-subtle);background:transparent;color:var(--text-secondary);font-size:13px;font-weight:600;cursor:pointer;transition:all .2s;}
.games-league-pill:hover{border-color:var(--accent-green);color:var(--accent-green);}
.games-league-pill.active{background:var(--accent-green);color:#0a0e17;border-color:var(--accent-green);}
.games-league-section{margin-bottom:20px;}
.games-league-header{font-family:'Barlow Condensed',sans-serif;font-size:16px;font-weight:700;color:var(--text-secondary);text-transform:uppercase;letter-spacing:1px;padding:8px 0 6px;border-bottom:1px solid var(--border-subtle);margin-bottom:10px;}
.game-card{background:var(--bg-card);border:1px solid var(--border-subtle);border-radius:10px;margin-bottom:8px;overflow:hidden;transition:all .2s;cursor:pointer;}
.game-card:hover{border-color:var(--border);background:var(--bg-card-hover);}
.game-card.featured{border-left:3px solid var(--accent-gold);}
.game-card-header{display:flex;justify-content:space-between;align-items:center;padding:12px 16px;gap:12px;}
.game-card-matchup{font-family:'Barlow Condensed',sans-serif;font-size:15px;font-weight:700;color:var(--text-primary);}
.game-card-time{font-size:12px;color:var(--text-muted);white-space:nowrap;}
.game-card-ratings{display:flex;gap:8px;align-items:center;}
.game-card-rating{display:flex;align-items:center;gap:3px;font-size:11px;font-weight:600;color:var(--text-muted);}
.game-card-rating .dot{width:8px;height:8px;border-radius:50%;display:inline-block;}
.game-card-rating .dot.r0{background:#374151;}.game-card-rating .dot.r1{background:#6b7280;}.game-card-rating .dot.r2{background:#60a5fa;}.game-card-rating .dot.r3{background:#34d399;}.game-card-rating .dot.r4{background:#f59e0b;}
.game-card-body{display:none;padding:0 16px 14px;border-top:1px solid var(--border-subtle);}
.game-card.expanded .game-card-body{display:block;}
.game-card.expanded{background:var(--bg-card-hover);}
.game-market{padding:10px 0;border-bottom:1px solid rgba(30,58,95,0.3);}
.game-market:last-child{border-bottom:none;}
.game-market-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:6px;}
.game-market-type{font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.5px;color:var(--text-secondary);}
.game-market-lean{font-size:13px;font-weight:600;color:var(--accent-green);}
.game-side-chips{display:flex;gap:4px;flex-wrap:wrap;}
.game-side-chip{font-size:11px;padding:3px 10px;border-radius:4px;border:1px solid var(--border-subtle);background:transparent;color:var(--text-secondary);cursor:pointer;font-weight:600;transition:all .15s;}
.game-side-chip:hover{border-color:var(--accent-green);color:var(--accent-green);}
.game-side-chip.selected{background:var(--accent-green);color:#0a0e17;border-color:var(--accent-green);}
.game-side-chip.ai-lean{box-shadow:0 0 0 1px var(--accent-green-dim);}
.game-market-rating{display:flex;gap:2px;}
.game-market-star{width:10px;height:10px;border-radius:2px;}
.game-market-star.filled{background:var(--accent-gold);}.game-market-star.empty{background:#374151;}
.game-market-rationale{font-size:12px;color:var(--text-secondary);line-height:1.5;margin:4px 0;}
.game-market-detail{font-size:12px;color:var(--text-muted);line-height:1.5;margin:2px 0;}
/* game-market-odds, game-market-actions, game-myline-* — removed (bet slip inline) */
.game-locked-badge{display:inline-flex;align-items:center;gap:4px;font-size:11px;font-weight:600;color:var(--accent-gold);padding:2px 8px;border-radius:4px;background:rgba(251,191,36,0.1);}
.game-card-locked{opacity:.5;cursor:default;}
.game-featured-badge{font-size:10px;font-weight:700;color:var(--accent-gold);background:rgba(251,191,36,0.12);padding:2px 6px;border-radius:3px;letter-spacing:.3px;}
.games-empty{text-align:center;padding:40px 20px;color:var(--text-muted);font-size:14px;}
@media(max-width:600px){
  .game-card-header{padding:10px 12px;}
  .game-card-body{padding:0 12px 10px;}
}

/* ── Accessibility ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible {
  outline: 2px solid var(--accent-green); outline-offset: 2px;
}
.tab:focus-visible, .league-tab:focus-visible, .filter-btn:focus-visible {
  outline: 2px solid var(--accent-green); outline-offset: 2px;
}


        .guide-tabs{display:flex;gap:2px;background:var(--bg-secondary);border-radius:10px;padding:4px;margin-bottom:24px;width:fit-content;flex-wrap:wrap}
        .guide-tab{padding:8px 16px;border-radius:8px;font-size:12px;font-weight:600;color:var(--text-secondary);cursor:pointer;transition:all 0.2s;border:none;background:transparent;text-transform:uppercase;letter-spacing:0.5px;font-family:'Barlow',sans-serif;white-space:nowrap}
        .guide-tab:hover{color:var(--text-primary);background:rgba(255,255,255,0.03)}
        .guide-tab.active{background:var(--bg-card);color:var(--text-primary);box-shadow:0 2px 8px rgba(0,0,0,0.2)}
        .guide-panel{display:none;animation:guideFadeIn 0.25s ease}
        .guide-panel.active{display:block}
        @keyframes guideFadeIn{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}
        .guide-tier-badge{display:inline-block;padding:2px 8px;border-radius:4px;font-size:11px;font-weight:600;vertical-align:middle;margin-left:8px}
        .guide-tier-badge.sharp{background:#1e40af;color:#fff}
        .guide-tier-badge.vip{background:#7c3aed;color:#fff}
        @media(max-width:768px){
          .guide-tabs{width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none;flex-wrap:nowrap}
          .guide-tabs::-webkit-scrollbar{display:none}
          .guide-tab{flex-shrink:0;padding:10px 12px;font-size:11px;min-height:44px}
        }
      

        .guide-cat { border:1px solid var(--border-subtle); border-radius:8px; margin-bottom:8px; overflow:hidden; }
        .guide-cat-header { display:flex; align-items:center; justify-content:space-between; padding:12px 16px; background:var(--bg-secondary); cursor:pointer; user-select:none; transition:background 0.15s; }
        .guide-cat-header:hover { background:var(--bg-card-hover); }
        .guide-cat-title { font-family:'Barlow Condensed',sans-serif; font-size:14px; font-weight:700; color:var(--text-primary); text-transform:uppercase; letter-spacing:1px; display:flex; align-items:center; gap:8px; }
        .guide-cat-arrow { font-size:10px; color:var(--text-muted); transition:transform 0.2s; }
        .guide-cat.open .guide-cat-arrow { transform:rotate(180deg); }
        .guide-cat-body { display:none; padding:8px 12px 12px; }
        .guide-cat.open .guide-cat-body { display:block; }
        .guide-cat-tabs { display:flex; gap:4px; margin-bottom:12px; flex-wrap:wrap; }
        .guide-cat-tab { padding:6px 14px; border-radius:6px; font-size:11px; font-weight:600; color:var(--text-secondary); cursor:pointer; border:none; background:transparent; text-transform:uppercase; letter-spacing:0.5px; font-family:'Barlow',sans-serif; transition:all 0.15s; }
        .guide-cat-tab:hover { color:var(--text-primary); background:rgba(255,255,255,0.03); }
        .guide-cat-tab.active { background:var(--accent-green-dim); color:var(--accent-green); }
        @media (max-width:768px) { .guide-cat-tab { min-height:40px; display:inline-flex; align-items:center; } }
      

    .btn-account {
      background: #1e293b; border: 1px solid #334155; border-radius: 6px;
      padding: 8px 18px; color: #e2e8f0; font-size: 13px; font-weight: 600;
      cursor: pointer; text-decoration: none; display: inline-block;
    }
    .btn-account:hover { background: #334155; }
    .btn-account-upgrade {
      background: transparent; border-color: var(--accent-green); color: var(--accent-green);
    }
    .btn-account-upgrade:hover { background: var(--accent-green); color: #0a0e17; }

    /* Account sub-tabs (underline style) */
    .acct-tab-btn {
      padding: 8px 20px; cursor: pointer; background: none; border: none;
      color: #64748b; font-family: 'Barlow', sans-serif; font-size: 13px; font-weight: 600;
      border-bottom: 2px solid transparent; margin-bottom: -2px; transition: all 0.15s;
    }
    .acct-tab-btn.active { color: #e2e8f0; border-bottom-color: #00d084; }
    .acct-tab-btn:hover { color: #e2e8f0; }
    .acct-panel { display: none; }
    .acct-panel.active { display: block; }

    /* Support sub-tabs (underline style) */
    .supp-tabs { display: flex; gap: 0; margin-bottom: 12px; border-bottom: 2px solid rgba(30,58,95,0.4); }
    .supp-tab-btn {
      padding: 8px 20px; cursor: pointer; background: none; border: none;
      color: #64748b; font-family: 'Barlow', sans-serif; font-size: 13px; font-weight: 600;
      border-bottom: 2px solid transparent; margin-bottom: -2px; transition: all 0.15s;
    }
    .supp-tab-btn.active { color: #e2e8f0; border-bottom-color: #00d084; }
    .supp-tab-btn:hover { color: #e2e8f0; }
    .supp-panel { display: none; }
    .supp-panel.active { display: block; }

    /* Notification toggle rows */
    .notif-row {
      display: flex; align-items: center; justify-content: space-between; gap: 16px;
      padding: 16px 0; border-bottom: 1px solid #1e293b;
    }
    .notif-row:last-child { border-bottom: none; }
    .notif-row.disabled { opacity: 0.45; }
    .notif-row.disabled .toggle-switch { pointer-events: none; }
    .notif-row .notif-info { flex: 1; }
    .notif-row .notif-label { font-size: 14px; color: #e2e8f0; font-weight: 600; margin-bottom: 2px; }
    .notif-row .notif-desc { font-size: 12px; color: #64748b; line-height: 1.4; }
    .notif-row .notif-tier-badge {
      font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px;
      padding: 2px 6px; border-radius: 4px; margin-left: 6px;
    }
    .notif-gate {
      display: flex; align-items: center; gap: 8px; padding: 8px 0;
    }
    .notif-gate a {
      font-size: 11px; color: var(--accent-green); text-decoration: none; font-weight: 600;
    }
    .notif-gate a:hover { text-decoration: underline; }

    /* Toggle switch */
    .toggle-switch {
      position: relative; width: 44px; height: 24px; flex-shrink: 0;
    }
    .toggle-switch input { opacity: 0; width: 0; height: 0; }
    .toggle-slider {
      position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0;
      background: #334155; border-radius: 24px; transition: 0.2s;
    }
    .toggle-slider:before {
      content: ""; position: absolute; height: 18px; width: 18px; left: 3px; bottom: 3px;
      background: #94a3b8; border-radius: 50%; transition: 0.2s;
    }
    .toggle-switch input:checked + .toggle-slider { background: var(--accent-green); }
    .toggle-switch input:checked + .toggle-slider:before { transform: translateX(20px); background: #fff; }

    @media (max-width: 768px) {
      .acct-tab-btn { font-size: 12px; padding: 8px 12px; min-height: 44px; }
      .supp-tab-btn { font-size: 12px; padding: 8px 12px; min-height: 44px; }
      .notif-row { gap: 12px; }
    }
    @media (max-width: 480px) {
      #account-sub-card > div:first-child { grid-template-columns: 1fr !important; }
      .acct-tab-btn { font-size: 11px; padding: 10px 6px; }
    }
    

    .support-sla-banner {
      border-radius: 8px; padding: 14px 18px; margin-bottom: 18px;
      font-size: 14px; font-weight: 600; display: none; align-items: center; gap: 10px;
    }
    .support-sla-banner.sla-vip {
      display: flex; background: rgba(212,146,10,0.1); border: 1px solid #d4920a; color: #f0b429;
    }
    .support-sla-banner.sla-sharp {
      display: flex; background: rgba(245,158,11,0.08); border: 1px solid #b45309; color: #f59e0b;
    }
    .support-sla-banner.sla-bettor {
      display: flex; background: rgba(59,130,246,0.08); border: 1px solid #2563eb; color: #60a5fa;
    }
    .support-sla-banner.sla-free {
      display: flex; background: rgba(100,116,139,0.08); border: 1px solid #475569; color: #94a3b8;
    }

    .support-faq { display: flex; flex-direction: column; gap: 2px; }
    .support-faq-item {
      background: var(--bg-card, #111827); border: 1px solid var(--border-subtle, #1e293b);
      border-radius: 8px; overflow: hidden;
    }
    .support-faq-item summary {
      padding: 14px 18px; cursor: pointer; font-size: 14px; font-weight: 600;
      color: var(--text-primary, #e2e8f0); list-style: none; display: flex;
      justify-content: space-between; align-items: center;
    }
    .support-faq-item summary::-webkit-details-marker { display: none; }
    .support-faq-item summary::after {
      content: '+'; font-size: 18px; color: var(--text-muted, #64748b);
      font-weight: 400; transition: transform 0.2s;
    }
    .support-faq-item[open] summary::after { content: '\2212'; }
    .support-faq-body {
      padding: 0 18px 14px; font-size: 13px; color: var(--text-secondary, #94a3b8); line-height: 1.6;
    }

    .support-tickets-list { display: flex; flex-direction: column; gap: 8px; }
    .support-ticket-card {
      background: var(--bg-card, #111827); border: 1px solid var(--border-subtle, #1e293b);
      border-radius: 8px; overflow: hidden;
    }
    .support-ticket-header {
      padding: 14px 18px; cursor: pointer; display: flex; justify-content: space-between;
      align-items: center; gap: 12px;
    }
    .support-ticket-header:hover { background: rgba(255,255,255,0.02); }
    .support-ticket-subject {
      font-size: 14px; font-weight: 600; color: var(--text-primary, #e2e8f0); flex: 1;
    }
    .support-ticket-meta {
      display: flex; align-items: center; gap: 10px; flex-shrink: 0;
    }
    .support-ticket-date { font-size: 11px; color: var(--text-muted, #64748b); }
    .support-ticket-id { font-size: 11px; color: var(--text-muted, #64748b); font-family: monospace; }

    .support-status-badge {
      font-size: 11px; font-weight: 600; padding: 3px 8px; border-radius: 4px;
      text-transform: uppercase; letter-spacing: 0.5px; white-space: nowrap;
    }
    .support-status-open { background: rgba(59,130,246,0.15); color: #60a5fa; }
    .support-status-in_progress { background: rgba(245,158,11,0.15); color: #f59e0b; }
    .support-status-pending_customer { background: rgba(168,85,247,0.15); color: #c084fc; }
    .support-status-resolved { background: rgba(34,197,94,0.15); color: #4ade80; }
    .support-status-closed { background: rgba(100,116,139,0.15); color: #94a3b8; }

    .support-ticket-detail {
      display: none; border-top: 1px solid var(--border-subtle, #1e293b);
      padding: 16px 18px;
    }
    .support-ticket-detail.open { display: block; }
    .support-thread { display: flex; flex-direction: column; gap: 12px; margin-bottom: 16px; }
    .support-thread-msg {
      padding: 10px 14px; border-radius: 8px; font-size: 13px;
      line-height: 1.5; max-width: 85%;
    }
    .support-thread-msg.from-user {
      background: rgba(0,208,132,0.08); border: 1px solid rgba(0,208,132,0.2);
      color: #e2e8f0; align-self: flex-end;
    }
    .support-thread-msg.from-staff {
      background: var(--bg-secondary, #1e293b); border: 1px solid var(--border-subtle, #1e293b);
      color: #e2e8f0; align-self: flex-start;
    }
    .support-thread-msg-meta {
      font-size: 10px; color: var(--text-muted, #64748b); margin-top: 4px;
    }
    .support-reply-box {
      display: flex; gap: 8px; align-items: flex-end;
    }
    .support-reply-box textarea {
      flex: 1; background: #111827; border: 1px solid #334155; border-radius: 6px;
      padding: 10px 12px; color: #e2e8f0; font-size: 13px; outline: none;
      resize: vertical; min-height: 40px; font-family: inherit;
    }
    .support-reply-box textarea:focus { border-color: var(--accent-green, #00d084); }
    .support-reply-box button {
      background: var(--accent-green, #00d084); color: #0a0e17; border: none;
      border-radius: 6px; padding: 10px 16px; font-size: 13px; font-weight: 700;
      cursor: pointer; white-space: nowrap;
    }
    .support-reply-box button:hover { opacity: 0.9; }

    .support-label {
      font-size: 11px; color: #64748b; text-transform: uppercase;
      letter-spacing: 1px; display: block; margin-bottom: 4px;
    }
    .support-input {
      width: 100%; background: #111827; border: 1px solid #334155; border-radius: 6px;
      padding: 10px 12px; color: #e2e8f0; font-size: 14px; outline: none;
      font-family: inherit;
    }
    .support-input:focus { border-color: var(--accent-green, #00d084); }
    select.support-input { cursor: pointer; }
    textarea.support-input { resize: vertical; min-height: 80px; }
    .support-empty {
      text-align: center; padding: 32px 16px; color: #64748b; font-size: 13px;
    }

    /* ── Teaser (locked/blurred) pick cards ── */
    .pick-card.teaser { position: relative; pointer-events: none; user-select: none; }
    .pick-card.teaser .pick-card-inner { filter: blur(6px); opacity: 0.5; transition: filter 0.3s ease; }
    .pick-card.teaser .pick-card-row-top { filter: none; opacity: 1; }
    .teaser-overlay {
      position: absolute; inset: 0; display: flex; flex-direction: column;
      align-items: center; justify-content: center;
      background: rgba(10, 14, 23, 0.6); border-radius: 12px; z-index: 10;
      pointer-events: auto; cursor: pointer; backdrop-filter: blur(2px);
    }
    .teaser-overlay .teaser-lock { font-size: 28px; margin-bottom: 8px; }
    .teaser-overlay .teaser-cta {
      font-size: 12px; font-weight: 700; color: var(--accent-green);
      padding: 8px 20px; border: 1px solid var(--accent-green);
      border-radius: 6px; background: rgba(0, 208, 132, 0.08);
      transition: background 0.2s;
    }
    .teaser-overlay:hover .teaser-cta { background: rgba(0, 208, 132, 0.18); }
    @media (max-width: 640px) {
      .pick-card.teaser .pick-card-inner { filter: blur(5px); }
      .teaser-overlay .teaser-lock { font-size: 24px; }
    }
    