/* ============================================================
   College Pick 10 — modern design system (cp10.css)
   Loaded AFTER Bootstrap 5 so it themes the whole site.
   Dark "sports app" look; keeps bg-success/bg-danger meaning.
   ============================================================ */

:root {
  --bg: #0b0f17;
  --bg-2: #111725;
  --panel: #151c2c;
  --panel-2: #1b2436;
  --line: #26304a;
  --line-soft: #1e2740;
  --text: #eaf0fb;
  --muted: #8894ad;
  --muted-2: #5f6b84;
  --accent: #ff7847;
  --accent-2: #ffb673;
  --green: #34c88a;
  --green-soft: rgba(52,200,138,.15);
  --red: #ef4444;
  --red-soft: rgba(239,68,68,.15);
  --gold: #f0c469;
  --radius: 14px;
  --shadow: 0 12px 34px rgba(0,0,0,.28);
}

* { box-sizing: border-box; }

body {
  background:
    radial-gradient(1200px 600px at 100% -10%, rgba(255,120,71,.08), transparent 60%),
    radial-gradient(900px 500px at -10% 0%, rgba(59,130,246,.08), transparent 55%),
    var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  margin: 0;
  min-height: 100vh;
}

a { color: var(--accent-2); text-decoration: none; }
a:hover { color: var(--accent); }
h1, h2, h3, h4, h5, h6 { color: var(--text); }
.cond { font-family: 'Barlow Condensed', 'Inter', sans-serif; }

/* ---------- Base theming so not-yet-redesigned pages stay legible ---------- */
.table { --bs-table-color: var(--text); --bs-table-bg: transparent; --bs-table-border-color: var(--line-soft);
         --bs-table-striped-color: var(--text); --bs-table-striped-bg: rgba(255,255,255,.03);
         --bs-table-hover-color: var(--text); --bs-table-hover-bg: rgba(255,255,255,.05); color: var(--text); }
.form-control, .form-select, input.form-control, textarea, select {
  background: var(--panel); color: var(--text); border: 1px solid var(--line);
}
.form-control:focus, .form-select:focus { background: var(--panel-2); color: var(--text); border-color: var(--accent); box-shadow: 0 0 0 .2rem rgba(255,120,71,.15); }
label, .control-label { color: var(--muted); }
.btn-primary { background: linear-gradient(145deg, var(--accent), #ec5f30); border: none; color: #fff; font-weight: 600; }
.btn-primary:hover { background: linear-gradient(145deg, #ff8659, #e5551f); color: #fff; }
blockquote { border-left: 3px solid var(--accent); padding-left: 14px; }
.callout { background: transparent; }

/* Contextual coloring emitted by the server (covered/correct vs missed) */
.bg-success { background: var(--green-soft) !important; color: #7ee0b0 !important; border-radius: 6px; }
.bg-danger  { background: var(--red-soft)  !important; color: #ff9a9a !important; border-radius: 6px; }
.bg-info    { background: var(--panel-2)   !important; color: var(--text) !important; }

/* ---------- Top nav (v4 design) ---------- */
.cp-nav { position: sticky; top: 0; z-index: 50; background: rgba(11,15,23,.85); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line-soft); }
.cp-nav-inner { max-width: 1180px; margin: 0 auto; padding: 12px 20px; display: flex; align-items: center; gap: 22px; }
.cp-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.cp-mark { width: 40px; height: 40px; border-radius: 11px; background: linear-gradient(145deg, var(--accent), #d63c00);
  display: grid; place-items: center; font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 16px; color: #fff;
  box-shadow: 0 6px 16px rgba(255,120,71,.4); letter-spacing: .3px; }
.cp-brand-name { font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 22px; color: var(--text); text-transform: uppercase; letter-spacing: 1px; }
.cp-brand-name span { color: var(--accent); }

.cp-nav-menu { flex: 1; display: flex; align-items: center; gap: 8px; }
.cp-links { display: flex; align-items: center; gap: 4px; }
.cp-links a { color: var(--muted); font-weight: 600; font-size: 14px; padding: 8px 14px; border-radius: 9px; text-decoration: none; transition: .15s; }
.cp-links a:hover { color: var(--text); background: var(--panel); }
.cp-links a.active { color: var(--text); background: var(--panel-2); }

.cp-nav-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.cp-nav-actions .cp-navlink { color: var(--muted); font-weight: 600; font-size: 14px; padding: 8px 8px; text-decoration: none; }
.cp-nav-actions .cp-navlink:hover { color: var(--text); }
.cp-nav-actions form { margin: 0; }
.cp-user { color: var(--muted); font-weight: 600; font-size: 14px; padding: 0 2px; white-space: nowrap; }
.cp-user b { color: var(--text); font-weight: 700; }

.cp-btn { display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; border-radius: 10px; font-weight: 700; font-size: 14px;
  cursor: pointer; border: 1px solid transparent; text-decoration: none; line-height: 1; transition: .15s; }
.cp-btn-primary { background: linear-gradient(145deg, var(--accent), #e04600); color: #fff; box-shadow: 0 6px 16px rgba(255,120,71,.35); }
.cp-btn-primary:hover { transform: translateY(-1px); color: #fff; }
.cp-btn-ghost { background: var(--panel); color: var(--text); border-color: var(--line); }
.cp-btn-ghost:hover { background: var(--panel-2); color: var(--text); }

/* Mobile burger (pure CSS toggle) */
.cp-nav-toggle { display: none; }
.cp-nav-burger { display: none; cursor: pointer; font-size: 22px; color: var(--text); margin-left: auto; padding: 4px 10px; border-radius: 8px; }

/* Payment-status banner (Shared component) */
.cp-nav > .bg-danger, .cp-nav .bg-danger { max-width: 1180px; margin: 6px auto 0; border-radius: 8px; font-weight: 600; }

/* ---------- Hero ---------- */
.cp-hero { max-width: 1180px; margin: 22px auto 0; padding: 0 20px; }
.cp-hero-card { position: relative; overflow: hidden; border-radius: 20px; border: 1px solid var(--line-soft);
  background: linear-gradient(90deg, rgba(11,15,23,.95) 0%, rgba(11,15,23,.65) 55%, rgba(11,15,23,.35) 100%), url('/img/hero-football.jpg') center/cover no-repeat;
  padding: 34px 34px 30px; box-shadow: var(--shadow); }
.cp-kicker { color: var(--accent-2); font-weight: 600; font-size: 12px; letter-spacing: 1px; text-transform: uppercase; }
.cp-hero h1 { font-family: 'Inter', sans-serif; font-weight: 700; font-size: 40px; line-height: 1.06; margin: 10px 0 8px; letter-spacing: -.5px; color: #fff; }
.cp-hero p { color: var(--muted); max-width: 540px; margin: 0 0 18px; }
.cp-hero-cta { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 10px; font-weight: 700; font-size: 14px;
  background: linear-gradient(145deg, var(--accent), #ec5f30); color: #fff; box-shadow: 0 6px 16px rgba(255,120,71,.22); border: none; text-decoration: none; }
.cp-hero-cta:hover { transform: translateY(-1px); color: #fff; }
.cp-hero-stats { display: flex; gap: 28px; margin-top: 22px; flex-wrap: wrap; }
.cp-hstat .num { font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 30px; line-height: 1; }
.cp-hstat .num.orange { color: var(--accent); }
.cp-hstat .num.gold { color: var(--gold); }
.cp-hstat .lbl { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: 1px; margin-top: 2px; }

/* ---------- Content + home grid ---------- */
.cp-content { max-width: 1180px; margin: 24px auto 60px; padding: 0 20px; }
.cp-wrap { display: grid; grid-template-columns: 1fr 340px; gap: 22px; align-items: start; }
.cp-main { min-width: 0; }
.cp-side { display: grid; gap: 22px; position: sticky; top: 84px; }

.cp-section-head { display: flex; align-items: center; gap: 12px; margin: 2px 0 14px; }
.cp-section-head h2 { font-family: 'Inter', sans-serif; font-weight: 700; font-size: 21px; margin: 0; letter-spacing: -.3px; }
.cp-bar { width: 4px; height: 22px; border-radius: 4px; background: var(--accent); display: inline-block; }
.cp-hint { color: var(--muted-2); font-size: 12px; margin-left: auto; }

/* ---------- Game cards ---------- */
.cp-games { display: grid; gap: 12px; }
.cp-game { background: linear-gradient(180deg, var(--panel), var(--bg-2)); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 14px 16px; transition: .15s; }
.cp-game:hover { border-color: var(--line); transform: translateY(-1px); box-shadow: var(--shadow); }
.cp-game-top { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.cp-badge { font-size: 10px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; padding: 3px 8px; border-radius: 6px; background: var(--panel-2); color: var(--muted); border: 1px solid var(--line); }
.cp-game-name { color: var(--muted); font-size: 13px; font-weight: 600; }
.cp-ou { margin-left: auto; display: flex; gap: 6px; }
.cp-ou > span { font-size: 11px; font-weight: 700; color: var(--muted); background: var(--panel-2); border: 1px solid var(--line); border-radius: 999px; padding: 3px 9px; }

.cp-teams { display: grid; gap: 4px; }
.cp-team { display: grid; grid-template-columns: 30px 1fr auto auto; align-items: center; gap: 12px; padding: 7px 8px; border-radius: 9px; }
.cp-logo { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 12px; color: #fff; }
.cp-team-name { font-weight: 600; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cp-score { font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 24px; min-width: 30px; text-align: right; color: var(--text); }
.cp-spread { font-size: 12px; font-weight: 700; min-width: 46px; text-align: center; color: var(--muted); padding: 2px 6px; }

/* ---------- Panels (sidebar) ---------- */
.cp-panel { background: linear-gradient(180deg, var(--panel), var(--bg-2)); border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden; }
.cp-panel-head { padding: 15px 18px; border-bottom: 1px solid var(--line-soft); display: flex; align-items: center; gap: 10px; }
.cp-panel-head h3 { font-family: 'Inter', sans-serif; font-weight: 700; font-size: 16px; margin: 0; letter-spacing: -.2px; }

/* Standings */
.cp-standings { padding: 6px 8px 10px; }
.cp-stand-head, .cp-stand-row { display: grid; grid-template-columns: 26px 1fr 34px 42px 62px; align-items: center; gap: 8px; padding: 8px 10px; }
.cp-standings.bowl .cp-stand-head, .cp-standings.bowl .cp-stand-row { grid-template-columns: 26px 1fr 62px; }
.cp-stand-head { padding-top: 4px; padding-bottom: 8px; }
.cp-stand-head span { font-size: 10px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; color: var(--muted-2); text-align: right; }
.cp-stand-head span:nth-child(2) { text-align: left; }
.cp-stand-row + .cp-stand-row { border-top: 1px solid var(--line-soft); }
.cp-rank { font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 16px; color: var(--muted); text-align: center; }
.cp-rank.top { color: var(--gold); }
.cp-player { font-weight: 600; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cp-wk { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 15px; color: var(--muted); text-align: right; }
.cp-pts { font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 18px; text-align: right; }
.cp-won { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 15px; color: var(--gold); text-align: right; }

/* Prize pool */
.cp-prize { padding: 16px 18px; }
.cp-pool-split { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 2px 0 14px; }
.cp-pool-split:has(.cp-pool-box:only-child) { grid-template-columns: 1fr; }
.cp-pool-box { background: var(--panel-2); border: 1px solid var(--line-soft); border-radius: 10px; padding: 12px; text-align: center; }
.cp-amt { font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 26px; line-height: 1; }
.cp-amt.gold { color: var(--gold); }
.cp-amt-lbl { color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: 1px; margin-top: 4px; }
.cp-payout { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; border-top: 1px solid var(--line-soft); }
.cp-place { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.cp-medal { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 800; color: #111; }
.cp-m1 { background: linear-gradient(145deg,#ffd76a,#f0a800); }
.cp-m2 { background: linear-gradient(145deg,#e3e8ef,#aab3c2); }
.cp-m3 { background: linear-gradient(145deg,#e0a06a,#b06a30); color:#fff; }
.cp-m4, .cp-mx { background: linear-gradient(145deg,#6b7689,#454f63); color:#fff; }
.cp-money { font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 20px; color: var(--gold); }
.cp-payout-link { display: inline-block; margin-top: 12px; font-weight: 600; font-size: 13px; }

/* Commissioner */
.cp-commish { padding: 16px 18px; }
.cp-quote { color: var(--muted); font-style: italic; font-size: 14px; line-height: 1.6; border-left: 3px solid var(--accent); padding-left: 14px; }

/* Footer */
.cp-footer { max-width: 1180px; margin: 0 auto; padding: 22px 20px 40px; color: var(--muted-2); font-size: 13px; border-top: 1px solid var(--line-soft); }

/* ---------- Enter Picks ---------- */
.cp-pickcount { margin-left: auto; font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 20px; color: var(--muted); }
.cp-pickcount .pickCount { color: var(--accent); }
.cp-pick-help { color: var(--muted); font-size: 13px; line-height: 1.55; margin: 0 0 16px; max-width: 820px; }
.cp-pick-help b { color: var(--text); font-weight: 700; }
.cp-picks { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 12px; }
.cp-pick-card { background: linear-gradient(180deg, var(--panel), var(--bg-2)); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 12px 14px; }
.cp-pick-card.locked { opacity: .5; }
.cp-pick-top { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.cp-pick-weight { margin-left: auto; font-size: 11px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .5px; }
.cp-pick-team { display: grid; grid-template-columns: 26px 1fr auto auto; align-items: center; gap: 10px; padding: 5px 0; }
.cp-pick-team .cp-logo { width: 26px; height: 26px; font-size: 11px; }
.cp-pick-team .cp-team-name { font-weight: 600; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cp-pick-team .cp-score { font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 18px; min-width: 22px; text-align: right; color: var(--muted); }
.cp-pick { display: inline-flex; align-items: center; justify-content: center; gap: 3px; min-width: 54px; padding: 6px 10px; border-radius: 9px;
  border: 1px solid var(--line); background: var(--panel-2); color: var(--text); font-weight: 700; font-size: 13px; cursor: pointer; user-select: none; transition: .12s; white-space: nowrap; }
.cp-pick:hover { border-color: var(--accent); color: var(--accent); }
.cp-pick.bg-success { background: var(--accent) !important; color: #fff !important; border-color: var(--accent) !important; box-shadow: 0 4px 12px rgba(255,120,71,.3); }
.cp-pick.bg-danger { background: var(--red-soft) !important; color: #ff9a9a !important; border-color: rgba(239,68,68,.3) !important; }
.cp-pick-extra { display: flex; align-items: center; gap: 8px; margin-top: 8px; padding-top: 10px; border-top: 1px solid var(--line-soft); flex-wrap: wrap; }
.cp-pick-spacer { flex: 1; }
.cp-ou-label { font-size: 12px; color: var(--muted); font-weight: 700; }
.cp-pick-card.locked .cp-pick { cursor: default; pointer-events: none; box-shadow: none; }

/* Pick-entry toast */
.alert-container { position: fixed; top: 78px; right: 20px; z-index: 100; }
.alert-container .alert { background: var(--panel-2); border: 1px solid var(--line); color: var(--text); padding: 12px 18px; border-radius: 10px; box-shadow: var(--shadow); font-weight: 600; margin: 0; }
.alert-container.blue-alert .alert { border-color: var(--accent); }
.alert-container.red-alert .alert { border-color: var(--red); color: #ff9a9a; }

/* ---------- View Picks ---------- */
.cp-weeks { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 2px 0 20px; }
.cp-weeks-label { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .6px; margin-right: 4px; font-weight: 700; }
.cp-week { display: inline-grid; place-items: center; min-width: 34px; height: 34px; padding: 0 8px; border-radius: 9px; border: 1px solid var(--line); background: var(--panel-2); color: var(--muted); font-weight: 700; font-size: 14px; text-decoration: none; }
.cp-week:hover { color: var(--text); border-color: var(--accent); }
.cp-week.active { background: var(--accent); color: #fff; border-color: var(--accent); }
.cp-player-head { display: flex; align-items: center; gap: 12px; margin: 24px 0 12px; padding-bottom: 8px; border-bottom: 1px solid var(--line-soft); }
.cp-player-rank { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 8px; background: var(--panel-2); border: 1px solid var(--line); font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 16px; color: var(--muted); }
.cp-player-name { font-weight: 700; font-size: 16px; }
.cp-player-pts { margin-left: auto; font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 20px; color: var(--accent); }
.cp-player-pts small { color: var(--muted); font-size: 12px; font-weight: 600; }
.cp-vgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 10px; margin-bottom: 8px; }
.cp-vcard { background: linear-gradient(180deg, var(--panel), var(--bg-2)); border: 1px solid var(--line-soft); border-radius: 12px; padding: 10px 12px; }
.cp-vcard-top { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.cp-vrow { display: grid; grid-template-columns: 22px 1fr auto auto auto; align-items: center; gap: 8px; padding: 3px 0; }
.cp-vrow .cp-logo { width: 22px; height: 22px; font-size: 10px; border-radius: 6px; }
.cp-vteam { font-weight: 600; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cp-vscore { font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 15px; color: var(--muted); min-width: 18px; text-align: right; }
.cp-vpick { min-width: 42px; text-align: center; font-size: 12px; font-weight: 700; color: var(--muted); padding: 3px 6px; border-radius: 7px; white-space: nowrap; }
.cp-vpush { display: flex; gap: 6px; margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--line-soft); }
.cp-vpush .cp-vpick { min-width: 0; }
.cp-empty { color: var(--muted); padding: 40px 24px; text-align: center; font-size: 15px; line-height: 1.6;
  background: linear-gradient(180deg, var(--panel), var(--bg-2)); border: 1px dashed var(--line); border-radius: var(--radius); }

/* ---------- Rules ---------- */
.cp-rules { max-width: 900px; margin: 0 auto; }
.cp-rules ol { padding-left: 20px; margin: 6px 0 8px; }
.cp-rules ol li { margin-bottom: 10px; line-height: 1.6; }
.cp-rules ol li::marker { color: var(--accent); font-weight: 700; }
.cp-rules a { color: var(--accent-2); }
.cp-rules-note { color: var(--muted); font-size: 13px; margin: 0 0 12px; }
.cp-table-wrap { overflow-x: auto; border: 1px solid var(--line-soft); border-radius: 12px; margin-bottom: 24px; }
.cp-payout-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.cp-payout-table th, .cp-payout-table td { padding: 9px 12px; text-align: center; border-bottom: 1px solid var(--line-soft); white-space: nowrap; }
.cp-payout-table thead th { color: var(--muted); font-weight: 700; font-size: 11px; text-transform: uppercase; letter-spacing: .4px; background: var(--panel-2); }
.cp-payout-table tbody tr:nth-child(even) { background: rgba(255,255,255,.02); }
.cp-payout-table tbody tr:last-child td { border-bottom: none; }
.cp-payout-table th:first-child, .cp-payout-table td:first-child { text-align: left; font-weight: 700; color: var(--text); }
.cp-payout-table td:not(:first-child) { color: var(--muted); }

/* ---------- Admin ---------- */
.cp-admin-menu { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; max-width: 900px; }
.cp-admin-tile { display: block; background: linear-gradient(180deg, var(--panel), var(--bg-2)); border: 1px solid var(--line-soft); border-radius: 12px; padding: 16px; text-decoration: none; transition: .15s; }
.cp-admin-tile:hover { border-color: var(--accent); transform: translateY(-1px); }
.cp-admin-tile .t { font-weight: 700; font-size: 15px; color: var(--text); }
.cp-admin-tile .d { color: var(--muted); font-size: 12px; margin-top: 4px; line-height: 1.45; }
.cp-admin-tile.danger:hover { border-color: var(--red); }
.cp-admin-tile.danger .t { color: #ff9a9a; }

.cp-admin-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.cp-admin-table th, .cp-admin-table td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--line-soft); white-space: nowrap; }
.cp-admin-table thead th { color: var(--muted); font-weight: 700; font-size: 11px; text-transform: uppercase; letter-spacing: .4px; background: var(--panel-2); }
.cp-admin-table tbody tr:hover { background: rgba(255,255,255,.03); }
.cp-admin-table tbody tr:last-child td { border-bottom: none; }
.cp-admin-table td.name { font-weight: 700; color: var(--text); text-transform: capitalize; }
.cp-btn-sm { display: inline-flex; align-items: center; padding: 6px 12px; border-radius: 8px; font-weight: 700; font-size: 12px; cursor: pointer; border: 1px solid var(--line); background: var(--panel-2); color: var(--text); text-decoration: none; white-space: nowrap; }
.cp-btn-sm:hover { border-color: var(--accent); color: var(--accent); }
.cp-btn-sm.paid:hover { border-color: var(--green); color: var(--green); }

/* Bulk email composer (Quill rich-text) */
.cp-mail-form { max-width: 720px; }
.cp-mail-form #cp-editor { background: #fff; }
.cp-mail-form .ql-toolbar.ql-snow, .cp-mail-form .ql-container.ql-snow { border-color: var(--line); background: #fff; }
.cp-mail-form .ql-toolbar.ql-snow { border-radius: 8px 8px 0 0; }
.cp-mail-form .ql-container.ql-snow { border-radius: 0 0 8px 8px; }
.cp-mail-form .ql-editor { min-height: 260px; color: #111827; font-size: 15px; }

/* ---------- Auth (Register) ---------- */
.cp-auth { max-width: 540px; margin: 8px auto; }
.cp-auth-card { background: linear-gradient(180deg, var(--panel), var(--bg-2)); border: 1px solid var(--line-soft); border-radius: 16px; padding: 26px; box-shadow: var(--shadow); }
.cp-auth-note { color: var(--muted); font-size: 13px; line-height: 1.55; margin: 0 0 18px; }
.cp-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cp-field { display: flex; flex-direction: column; gap: 6px; }
.cp-field.cp-field-full { grid-column: 1 / -1; }
.cp-field label { color: var(--muted); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .4px; }
.cp-btn-block { width: 100%; justify-content: center; margin-top: 20px; padding: 11px; font-size: 15px; }
.cp-auth-alt { text-align: center; color: var(--muted); font-size: 13px; margin: 16px 0 0; }
.cp-validation:empty { display: none; }
.cp-validation { color: #ff9a9a; font-size: 13px; margin-bottom: 12px; }
.cp-validation ul { margin: 0; padding-left: 18px; }

/* ---------- Payment ---------- */
.cp-pay { max-width: 460px; margin: 0 auto; background: linear-gradient(180deg, var(--panel), var(--bg-2)); border: 1px solid var(--line-soft); border-radius: 16px; padding: 28px; box-shadow: var(--shadow); text-align: center; }
.cp-pay-amount { margin-bottom: 22px; }
.cp-pay-label { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: 1px; }
.cp-pay-value { font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 46px; color: var(--gold); line-height: 1.1; margin: 2px 0; }
.cp-pay-note { color: var(--muted); font-size: 13px; }
#paypal-button-container { max-width: 380px; margin: 0 auto; }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .cp-wrap { grid-template-columns: 1fr; }
  .cp-side { position: static; }
}
@media (max-width: 820px) {
  .cp-nav-inner { flex-wrap: wrap; }
  .cp-nav-burger { display: block; }
  .cp-nav-menu { flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 4px; max-height: 0; overflow: hidden; transition: max-height .25s ease; }
  .cp-nav-toggle:checked ~ .cp-nav-menu { max-height: 640px; padding-top: 8px; }
  .cp-links { flex-direction: column; align-items: stretch; gap: 2px; }
  .cp-links a { width: 100%; text-align: left; }
  .cp-nav-actions { margin-left: 0; flex-direction: column; align-items: stretch; gap: 6px; padding-top: 6px; border-top: 1px solid var(--line-soft); }
  .cp-nav-actions .cp-navlink, .cp-btn { width: 100%; text-align: center; }
  .cp-user { padding: 6px 2px; }
}
@media (max-width: 720px) {
  .cp-hero h1 { font-size: 30px; }
  .cp-hero-card { padding: 24px 18px; background: linear-gradient(rgba(11,15,23,.9), rgba(11,15,23,.82)), url('/img/hero-football.jpg') center/cover no-repeat; }
  .cp-hero-stats { gap: 18px; margin-top: 16px; }
  .cp-hstat .num { font-size: 24px; }
  .cp-content { padding: 0 14px; }
  .cp-team-name { font-size: 14px; }
  .cp-score { font-size: 20px; }
  .cp-form-grid { grid-template-columns: 1fr; }
  .cp-auth-card { padding: 20px 16px; }
}
