/* ============================================================
   Club 52 Leaderboard — shared brand theme
   "Premium casino black": WSOP-style rich black, high-contrast
   metallic gold headings, crisp white text, red energy accents.
   Brand: Black #0A0A0A · Gold #C5A253 · Red #B81E22
   ============================================================ */

:root {
  --black:  #0A090B;   /* true black — text on gold fills, deep backdrops */
  --gold:   #C9A959;   /* brand gold — fills, borders, ornament */
  --gold-2: #E6C87C;   /* bright gold — high-contrast gold TEXT on black */
  --gold-hi:#F4DE9E;   /* metallic flash — gradient highlight end */
  --gold-deep: #8A6C29;/* metallic shadow — gradient dark end */
  --red:    #B81E22;   /* brand red — fills, badges */
  --red-hi: #E04843;   /* brighter red — small red text on black */
  --felt:   #1E5B45;   /* casino felt green — top ribbon accent */
  --bg:     #0B0A0C;   /* rich near-black page */
  --text:   #F6F3EB;

  --panel:      #17151A;                   /* elevated card surface */
  --panel-2:    #1F1C23;                   /* inset / table-head surface */
  --line:       rgba(201, 169, 89, 0.30);  /* gold hairline */
  --ink-line:   rgba(255, 255, 255, 0.07); /* neutral hairline */
  --muted:      rgba(246, 243, 235, 0.60);
  --gold-soft:  rgba(201, 169, 89, 0.12);
  --loss:       #E87A6B;                   /* "points still needed" red */
  --silver:     #C7CBD1;
  --bronze:     #C98F5F;
  --shadow:     0 14px 34px rgba(0, 0, 0, 0.55);
  --radius:     14px;

  --display: "Cinzel", "Times New Roman", serif;
}

* { box-sizing: border-box; }

/* display:flex/grid on a component would otherwise defeat the hidden attribute */
[hidden] { display: none !important; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  background:
    radial-gradient(1100px 500px at 50% -10%, rgba(201, 169, 89, 0.17), transparent 62%),
    radial-gradient(900px 700px at 105% 110%, rgba(184, 30, 34, 0.08), transparent 60%),
    var(--bg);
}

/* Slim casino-chip ribbon across the very top — red · gold · felt green. */
body::before {
  content: "";
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--red), var(--gold) 35%, var(--gold) 65%, var(--felt));
  z-index: 5;
}

/* Fixed ambient glow so long pages keep the "spotlight on the felt" feel */
.felt-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(720px 300px at 50% 0%, rgba(201, 169, 89, 0.09), transparent 70%);
  z-index: 0;
}

a { color: var(--gold-2); }

.wrap {
  position: relative;
  z-index: 1;
  max-width: 960px;
  margin: 0 auto;
  padding: 30px 18px 64px;
}

/* ---------- header ---------- */

.site-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  padding: 6px 0 26px;
}

.site-header img.logo {
  width: 108px;
  height: 108px;
  object-fit: contain;
  filter: drop-shadow(0 0 26px rgba(201, 169, 89, 0.30)) drop-shadow(0 8px 18px rgba(0, 0, 0, 0.7));
  margin-bottom: 4px;
}

.eyebrow {
  margin: 0;
  font-family: var(--display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--gold-2);
}
.eyebrow::before, .eyebrow::after {
  content: "♦";
  font-size: 9px;
  vertical-align: 2px;
  color: var(--red-hi);
  margin: 0 10px;
}

/* High-contrast headline: pure white with a bright metallic-gold word. */
.site-title {
  font-family: var(--display);
  font-size: clamp(28px, 5.4vw, 48px);
  font-weight: 900;
  letter-spacing: 2.5px;
  line-height: 1.12;
  margin: 2px 0 0;
  color: #FFFFFF;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.6);
}
.site-title .gold {
  background: linear-gradient(165deg, var(--gold-hi) 8%, #D9B968 38%, var(--gold) 58%, var(--gold-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 18px rgba(201, 169, 89, 0.35));
}

.slogan {
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin: 6px 0 0;
}

.champs-link {
  display: inline-block;
  margin-top: 14px;
  padding: 8px 22px;
  font-family: var(--display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--gold-2);
  background: var(--gold-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: background .15s ease, color .15s ease, box-shadow .15s ease;
}
.champs-link:hover {
  background: linear-gradient(160deg, var(--gold-hi), var(--gold));
  color: var(--black);
  box-shadow: 0 0 22px rgba(201, 169, 89, 0.35);
}

/* Gold-filled standout pill for the VIP Alerts link */
.champs-link.vip-pill {
  background: linear-gradient(160deg, var(--gold-hi), var(--gold));
  color: var(--black);
  border-color: transparent;
  box-shadow: 0 0 18px rgba(201, 169, 89, 0.25);
}
.champs-link.vip-pill:hover { filter: brightness(1.07); }

/* Row of header pill links (How It Works · Hall of Champions) */
.header-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ---------- upcoming tournament card ---------- */

.event-card {
  display: flex;
  align-items: stretch;
  gap: 0;
  background:
    linear-gradient(120deg, rgba(201, 169, 89, 0.10), rgba(23, 21, 26, 0) 45%),
    var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin: 0 0 20px;
}

.event-media {
  flex: 0 0 232px;
  position: relative;
  min-height: 230px;
  background: var(--black);
}
.event-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.event-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 55%, var(--panel) 100%);
}

.event-body {
  flex: 1 1 auto;
  padding: 22px 24px 20px;
  min-width: 0;
}

.event-kicker {
  margin: 0 0 2px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--red-hi);
}
.event-title {
  font-family: var(--display);
  font-size: clamp(20px, 3.4vw, 28px);
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--gold-2);
  margin: 0 0 4px;
}
.event-when {
  font-size: 16px;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0 0 6px;
}
.event-detail {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 16px;
}

.payouts {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.payout {
  flex: 1 1 110px;
  max-width: 170px;
  background: var(--panel-2);
  border: 1px solid var(--ink-line);
  border-top: 3px solid var(--metal, var(--line));
  border-radius: 10px;
  padding: 10px 14px 12px;
  text-align: center;
}
.payout .payout-place {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2px;
}
.payout .payout-amt {
  display: block;
  font-family: var(--display);
  font-size: 24px;
  font-weight: 700;
  color: #FFFFFF;
  font-variant-numeric: tabular-nums;
}
.payout.p1 { --metal: var(--gold); }
.payout.p2 { --metal: var(--silver); }
.payout.p3 { --metal: var(--bronze); }
.payout.p1 .payout-amt { color: var(--gold-2); }

/* ---------- homepage news teaser (leads into the running story) ---------- */

.news-teaser {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  background: linear-gradient(120deg, rgba(184, 30, 34, 0.12), rgba(23, 21, 26, 0) 55%), var(--panel);
  border: 1px solid var(--line);
  border-left: 3px solid var(--red);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 13px 18px;
  margin: 0 0 16px;
  transition: border-color .15s ease, filter .15s ease;
}
.news-teaser:hover { filter: brightness(1.05); border-color: var(--gold); }
.news-teaser .badge { flex: 0 0 auto; }
.news-teaser-text { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.news-teaser-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: 15px;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.news-teaser-excerpt {
  font-size: 12.5px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.news-teaser-cta {
  flex: 0 0 auto;
  font-family: var(--display);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.5px;
  color: var(--gold-2);
  white-space: nowrap;
}

@media (max-width: 560px) {
  .news-teaser { flex-wrap: wrap; }
  .news-teaser-text { flex-basis: 100%; order: 1; }
  .news-teaser-cta { order: 2; }
  .news-teaser-excerpt { white-space: normal; }
}

/* ---------- month bar ---------- */

.month-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 18px;
  margin: 8px 0 18px;
  box-shadow: var(--shadow);
}
.month-controls { display: flex; align-items: center; gap: 12px; }
.month-name {
  font-family: var(--display);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--gold-2);
}
.month-meta { color: var(--muted); font-size: 13px; margin-top: 2px; }
.month-meta strong { color: #FFFFFF; }
.month-select {
  background: var(--black);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 14px;
}

.badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 3px 9px;
  border-radius: 999px;
}
.badge.live    { color: var(--black); background: linear-gradient(160deg, var(--gold-hi), var(--gold)); box-shadow: 0 0 16px rgba(201, 169, 89, .45); }
.badge.closed  { color: #fff; background: var(--red); }
.badge.trophy  { color: var(--gold-2); background: var(--gold-soft); border: 1px solid var(--line); }

/* ---------- freeroll qualification banner ---------- */

.qualify-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  margin: 0 0 14px;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: 0.4px;
  color: var(--gold-2);
  background: var(--gold-soft);
  border: 1px solid rgba(201, 169, 89, 0.4);
}
.qualify-note::before {
  content: "♛";
  color: var(--gold-2);
}
.qualify-note strong { color: #FFFFFF; font-weight: 800; }

/* ---------- leaderboard table ---------- */

.board {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

table { width: 100%; border-collapse: collapse; }

thead th {
  text-align: left;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
  padding: 14px 18px;
  background: var(--panel-2);
  border-bottom: 1px solid var(--line);
}
th.num, td.num { text-align: right; }
th.rank, td.rank { text-align: center; width: 64px; }

tbody td {
  padding: 13px 18px;
  border-bottom: 1px solid var(--ink-line);
  font-size: 16px;
}
tbody tr:last-child td { border-bottom: none; }
tbody tr:hover { background: rgba(201, 169, 89, 0.06); }

.player-name { font-weight: 600; color: #FFFFFF; }
.points {
  font-weight: 800;
  color: #FFFFFF;
  font-variant-numeric: tabular-nums;
}
.sub { color: var(--muted); font-size: 12px; }

/* Status line under each name: freeroll seat (top 9) or points-to-qualify. */
.status-line { margin-top: 3px; font-size: 12.5px; line-height: 1.3; }
.status-line .seat {
  font-weight: 700;
  letter-spacing: 0.3px;
  color: var(--gold-2);
}
.status-line .gap {
  font-weight: 700;
  color: var(--loss);              /* warm red — points still needed */
  font-variant-numeric: tabular-nums;
}

/* Thin meter under each player's name showing points relative to the leader */
.meter {
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  margin-top: 7px;
  max-width: 420px;
  overflow: hidden;
}
.meter > span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold), var(--gold-hi));
  min-width: 4px;
}

.rank-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px; height: 30px;
  border-radius: 50%;
  font-weight: 800;
  color: var(--text);
  background: var(--black);
  border: 1px solid var(--line);
  font-variant-numeric: tabular-nums;
}

/* Top 9 — the freeroll qualifiers — are the reward zone: solid gold rank
   pills, a gold left rail, and a warm panel so they clearly stand apart. */
tbody tr.qualifier { background: rgba(201, 169, 89, 0.08); }
tbody tr.qualifier:hover { background: rgba(201, 169, 89, 0.13); }
tbody tr.qualifier td:first-child { box-shadow: inset 4px 0 0 var(--gold); }
tbody tr.qualifier .rank-pill {
  background: linear-gradient(160deg, var(--gold-hi), var(--gold));
  color: var(--black);
  border-color: var(--gold);
  box-shadow: 0 0 12px rgba(201, 169, 89, 0.45);
}
tbody tr.qualifier .player-name { font-weight: 700; }
tbody tr.qualifier .points { color: var(--gold-2); }
/* The points leader gets a small crown, no separate podium needed. */
tbody tr.leader .player-name::after {
  content: " ♛";
  color: var(--gold-2);
  font-size: 13px;
}

/* Everyone below the cut is de-emphasized — they're chasing a seat. */
tbody tr.chasing .rank-pill { color: var(--muted); }
tbody tr.chasing .player-name { font-weight: 600; color: var(--text); }
tbody tr.chasing .meter > span { background: rgba(255, 255, 255, 0.20); }

/* The cut line separating the top 9 from everyone chasing below. */
tbody tr.cut-line td {
  padding: 10px 18px;
  text-align: center;
  background: var(--panel-2);
  border-top: 1px dashed rgba(201, 169, 89, 0.45);
  border-bottom: 1px dashed rgba(201, 169, 89, 0.45);
}
tbody tr:hover.cut-line td { background: var(--panel-2); }
tbody tr.cut-line .cut-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
}
/* Motivation for the chasers — days left in the month + poker calendar link. */
tbody tr.cut-line .cut-push {
  margin-top: 5px;
  font-size: 13px;
  color: var(--text);
}
tbody tr.cut-line .cut-push strong { color: var(--gold-2); }
tbody tr.cut-line .cut-push a {
  color: var(--gold-2);
  font-weight: 700;
  white-space: nowrap;
}

.empty {
  text-align: center;
  color: var(--muted);
  padding: 48px 18px;
  font-size: 15px;
}

.footer-note {
  text-align: center;
  color: var(--muted);
  font-size: 12px;
  margin-top: 22px;
}
.dot { color: var(--gold); }

/* ---------- small screens ---------- */

@media (max-width: 680px) {
  .event-card { flex-direction: column; }
  .event-media { flex-basis: auto; min-height: 190px; }
  .event-media::after { background: linear-gradient(180deg, transparent 55%, var(--panel) 100%); }
  .payout { max-width: none; }
}

@media (max-width: 560px) {
  tbody td { font-size: 15px; padding: 12px; }
  thead th { padding: 12px; }
  .sub.hide-sm { display: none; }
  .meter { max-width: none; }
}

/* ============================================================
   Admin-only styles
   ============================================================ */

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  margin-bottom: 18px;
}
.card h2 {
  margin: 0 0 16px;
  font-family: var(--display);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.6px;
  color: #FFFFFF;
  border-left: 3px solid var(--gold);
  padding-left: 12px;
}

/* ---------- admin shell: top bar + login ---------- */

.admin-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 10px 18px;
  margin: 4px 0 14px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow);
}
.admin-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #FFFFFF;
  font-family: var(--display);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 2px;
  white-space: nowrap;
}
.admin-brand img { width: 36px; height: 36px; object-fit: contain; }
.admin-brand .gold { color: var(--gold-2); }
.admin-brand .role-tag {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px 10px;
}
.admin-bar-right { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

.login-card { max-width: 420px; margin: 48px auto 0; }
.login-head { text-align: center; margin-bottom: 18px; }
.login-head img {
  width: 88px; height: 88px; object-fit: contain;
  filter: drop-shadow(0 0 22px rgba(201, 169, 89, 0.30)) drop-shadow(0 8px 18px rgba(0, 0, 0, 0.7));
  margin-bottom: 8px;
}
.login-head .login-title {
  font-family: var(--display);
  font-size: 26px;
  font-weight: 900;
  letter-spacing: 2.5px;
  color: #FFFFFF;
  margin: 2px 0 0;
}
.login-card input[type="password"] { font-size: 16px; padding: 13px 14px; }
.login-card button { width: 100%; padding: 14px; font-size: 15px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; }

label { display: block; font-size: 13px; color: var(--muted); margin: 0 0 6px; }

input[type="text"],
input[type="number"],
input[type="password"],
input[type="date"],
select,
textarea {
  width: 100%;
  background: var(--black);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 11px 12px;
  font-size: 15px;
  font-family: inherit;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-soft);
}
input[type="date"] { color-scheme: dark; }

.row { display: flex; gap: 12px; flex-wrap: wrap; }
.row > .field { flex: 1 1 140px; }
.field { margin-bottom: 14px; }

button, .btn {
  cursor: pointer;
  border: none;
  border-radius: 9px;
  padding: 11px 18px;
  font-size: 15px;
  font-weight: 700;
  font-family: inherit;
  background: linear-gradient(160deg, var(--gold-hi), var(--gold));
  color: var(--black);
  transition: filter .15s ease, box-shadow .15s ease;
}
button:hover, .btn:hover { filter: brightness(1.06); box-shadow: 0 0 18px rgba(201, 169, 89, 0.35); }
button.secondary, .btn.secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
}
button.danger { background: var(--red); color: #fff; }
button.small, .btn.small { padding: 6px 10px; font-size: 13px; }

.toolbar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; flex-wrap: wrap; margin-bottom: 18px;
}
.who { color: var(--muted); font-size: 13px; }

.msg { padding: 11px 14px; border-radius: 9px; font-size: 14px; margin-bottom: 14px; display: none; }
.msg.show { display: block; }
.msg.ok    { background: var(--gold-soft); border: 1px solid var(--line); color: var(--text); }
.msg.err   { background: rgba(184, 30, 34, 0.15); border: 1px solid rgba(184, 30, 34, 0.5); color: #FFD9D9; }

.list { width: 100%; border-collapse: collapse; }
.list th, .list td { padding: 10px 12px; border-bottom: 1px solid var(--ink-line); font-size: 14px; text-align: left; }
.list th { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .5px; }
.list td.num { text-align: right; }
.list .actions { display: flex; gap: 8px; justify-content: flex-end; }

/* Sticky pill navigation — always reachable, one obvious active section. */
.tabs {
  position: sticky;
  top: 10px;
  z-index: 20;
  display: flex;
  gap: 4px;
  padding: 6px;
  margin-bottom: 18px;
  background: rgba(23, 21, 26, 0.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow);
  overflow-x: auto;
  scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }
.tab {
  background: transparent; color: var(--muted);
  border: none; border-radius: 999px;
  padding: 9px 16px; font-size: 14px; font-weight: 600;
  white-space: nowrap;
  transition: color .15s ease, background .15s ease;
}
.tab:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); box-shadow: none; filter: none; }
.tab .tab-ic { margin-right: 7px; color: var(--gold-2); }
.tab.active {
  background: linear-gradient(160deg, var(--gold-hi), var(--gold));
  color: var(--black);
  font-weight: 800;
  box-shadow: 0 0 14px rgba(201, 169, 89, 0.35);
}
.tab.active .tab-ic { color: var(--black); }

/* Enter Score is the everyday workflow — make it fast and unmissable. */
#tab-entry input { font-size: 16px; padding: 13px 14px; }
#addBtn {
  width: 100%;
  padding: 14px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-top: 4px;
}

/* Data tables: calmer rows, clearer scan lines. */
.list th { border-bottom: 1px solid var(--line); }
.list tbody tr:hover td { background: rgba(201, 169, 89, 0.05); }

.hidden { display: none !important; }

.req-badge {
  display: inline-block;
  min-width: 18px;
  padding: 1px 7px;
  margin-left: 4px;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.pending-pill {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .4px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(184, 30, 34, 0.18);
  border: 1px solid rgba(184, 30, 34, 0.5);
  color: #FFD0D0;
  white-space: nowrap;
}

.req-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel-2);
  padding: 16px;
  margin-bottom: 12px;
}
.req-card .req-head { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.req-card .req-type { font-weight: 800; color: var(--gold-2); }
.req-card .req-reason { color: var(--text); margin: 6px 0; }
.req-card .diff { font-size: 14px; color: var(--muted); margin: 2px 0; }
.req-card .diff b { color: var(--text); }
.req-card .req-actions { display: flex; gap: 8px; margin-top: 12px; }
.strike { text-decoration: line-through; color: var(--muted); }
.arrow { color: var(--gold-2); padding: 0 6px; }

/* ---------- admin: trophy photo upload (inside Freeroll event editor) ---------- */

.t-trophy {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
}
.t-trophy-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 8px;
}
.t-trophy-preview {
  flex: 0 0 auto;
  width: 100px;
  height: 76px;
  object-fit: cover;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: var(--black);
}
.t-trophy-controls {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.t-trophy-controls input[type="file"] { font-size: 13px; padding: 8px; }
#tTrophyMeta { margin: 0; }

/* ---------- admin: freeroll tab ---------- */

.t-event { margin: 4px 0 14px; }
.t-event-name {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 700;
  color: var(--gold-2);
}

.t-editor {
  border: 1px dashed var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 18px;
}
.t-editor summary {
  cursor: pointer;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}
.t-editor[open] summary { color: var(--gold-2); margin-bottom: 4px; }

.t-subhead {
  font-family: var(--display);
  font-size: 17px;
  color: var(--gold-2);
  margin: 8px 0 10px;
}

.t-topref {
  font-size: 13px;
  color: var(--muted);
  background: var(--panel-2);
  border: 1px solid var(--ink-line);
  border-radius: 9px;
  padding: 10px 12px;
  margin-bottom: 14px;
}
.t-topref b { color: var(--gold-2); }

.seat-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.seat-place {
  flex: 0 0 44px;
  text-align: right;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--muted);
}
.seat-row:first-child .seat-place,
.seat-row:nth-child(1) .seat-place { color: var(--gold-2); }
.seat-row:nth-child(2) .seat-place { color: var(--silver); }
.seat-row:nth-child(3) .seat-place { color: var(--bronze); }
.seat-row .seat-player { flex: 1 1 auto; }
/* Prize is fixed by the payout schedule — shown as a static label, not editable. */
.seat-row .seat-prize-fixed {
  flex: 0 0 90px;
  text-align: right;
  font-weight: 700;
  color: var(--gold-2);
  font-variant-numeric: tabular-nums;
}

.t-total { color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }

.t-place {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border: 1px solid var(--ink-line);
  border-left: 3px solid var(--metal, var(--line));
  border-radius: 9px;
  background: var(--panel-2);
  margin-bottom: 6px;
}
.t-place.p1 { --metal: var(--gold);   background: linear-gradient(90deg, rgba(201,169,89,0.12), var(--panel-2) 60%); }
.t-place.p2 { --metal: var(--silver); }
.t-place.p3 { --metal: var(--bronze); }
.t-place-n { flex: 0 0 42px; font-weight: 800; color: var(--muted); }
.t-place.p1 .t-place-n { color: var(--gold-2); }
.t-place-name { flex: 1 1 auto; font-weight: 600; }
.t-place-prize { font-weight: 800; font-variant-numeric: tabular-nums; color: var(--gold-2); }

.t-place-photo {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
}
.t-place-photo img {
  width: 44px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top center;
  border-radius: 7px;
  border: 1px solid var(--line);
  background: var(--black);
}
.t-place-photo-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  aspect-ratio: 4 / 5;
  border-radius: 7px;
  border: 1px dashed var(--line);
  background: var(--panel);
  font-size: 16px;
  opacity: 0.6;
}
.t-place-photo-upload {
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--gold-2);
  text-decoration: underline;
  white-space: nowrap;
}
.t-crown {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--gold-2);
  background: var(--gold-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 2px 8px;
  margin-left: 8px;
  vertical-align: 1px;
}

/* ---------- visual step journey (admin: import sheet) ---------- */

.journey-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 14px;
  color: var(--gold-2);
}
.journey-toggle span { font-size: 11px; transition: transform .15s ease; }
.journey-toggle.is-open span { transform: rotate(180deg); }

.journey {
  display: flex;
  align-items: flex-start;
  gap: 4px;
  margin: 4px 0 22px;
}
.journey-step {
  position: relative;
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 8px;
}
/* Connecting line runs through the center of each circle, previous → this one. */
.journey-step:not(:first-child)::before {
  content: "";
  position: absolute;
  top: 19px;
  left: -50%;
  width: 100%;
  height: 2px;
  background: var(--ink-line);
  z-index: 0;
}
.journey-step.is-done:not(:first-child)::before,
.journey-step.is-active:not(:first-child)::before {
  background: linear-gradient(90deg, var(--gold-deep), var(--gold));
}

.journey-dot { position: relative; margin-bottom: 10px; z-index: 1; }
.journey-n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-family: var(--display);
  font-weight: 800;
  font-size: 15px;
  color: var(--muted);
  background: var(--panel-2);
  border: 2px solid var(--line);
  transition: background .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease;
}
.journey-step.is-active .journey-n {
  background: linear-gradient(160deg, var(--gold-hi), var(--gold));
  border-color: var(--gold);
  color: var(--black);
  box-shadow: 0 0 16px rgba(201, 169, 89, 0.45);
}
.journey-step.is-done .journey-n {
  background: var(--gold-deep);
  border-color: var(--gold);
  color: #FFFFFF;
}
.journey-step.is-done .journey-dot::after {
  content: "✓";
  position: absolute;
  top: -4px;
  right: -4px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--felt);
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 3px var(--panel);
}

.journey-title {
  font-family: var(--display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: var(--muted);
  margin: 0 0 4px;
  transition: color .2s ease;
}
.journey-step.is-active .journey-title,
.journey-step.is-done .journey-title { color: #FFFFFF; }
.journey-step.is-active .journey-title { color: var(--gold-2); }
.journey-desc { font-size: 12px; color: var(--muted); line-height: 1.5; margin: 0; }

@media (max-width: 760px) {
  .journey { flex-direction: column; gap: 16px; }
  .journey-step {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    padding: 0;
    gap: 12px;
  }
  .journey-step::before { display: none; }
  .journey-dot { margin-bottom: 0; flex: 0 0 auto; }
}

/* ---------- import chip sheet (admin) ---------- */
#importPreview { margin-top: 16px; }
#importPreview .list tbody tr.imp-q td { background: rgba(201, 169, 89, 0.08); }
#importPreview .list tbody tr.imp-q td:first-child { box-shadow: inset 3px 0 0 var(--gold); }
.imp-warn {
  margin: 10px 0;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(184, 30, 34, 0.12);
  border: 1px solid rgba(184, 30, 34, 0.4);
  color: #FFC9C9;
  font-size: 13px;
  line-height: 1.5;
}
input[type="file"] {
  width: 100%;
  padding: 9px;
  color: var(--text);
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: 8px;
}

/* ---------- public: hall of champions ---------- */

.champ-card {
  background:
    linear-gradient(120deg, rgba(201, 169, 89, 0.09), rgba(23, 21, 26, 0) 50%),
    var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px 24px 18px;
  margin-bottom: 20px;
  scroll-margin-top: 20px;
}
.champ-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}
.champ-month {
  margin: 0 0 2px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--red-hi);
}
.champ-name {
  font-family: var(--display);
  font-size: clamp(24px, 4.4vw, 34px);
  font-weight: 900;
  letter-spacing: 0.5px;
  margin: 0 0 4px;
  background: linear-gradient(165deg, var(--gold-hi) 8%, #D9B968 38%, var(--gold) 58%, var(--gold-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 16px rgba(201, 169, 89, 0.30));
}
.champ-sub { color: var(--muted); font-size: 13px; margin: 0; }
.champ-trophy { font-size: 44px; filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .6)); }
.champ-trophy.has-photo {
  width: 96px;
  aspect-ratio: 4 / 5;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid var(--gold);
  box-shadow: 0 0 20px rgba(201, 169, 89, 0.35);
  flex: 0 0 auto;
}
.champ-trophy.has-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }

.place-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 14px;
  border: 1px solid var(--ink-line);
  border-left: 3px solid var(--metal, rgba(255, 255, 255, 0.10));
  border-radius: 9px;
  background: var(--panel-2);
  margin-bottom: 6px;
}
.place-row.p1 { --metal: var(--gold);   background: linear-gradient(90deg, rgba(201,169,89,0.14), var(--panel-2) 60%); }
.place-row.p2 { --metal: var(--silver); }
.place-row.p3 { --metal: var(--bronze); }
.place-n { flex: 0 0 44px; font-weight: 800; color: var(--muted); font-variant-numeric: tabular-nums; }
.place-row.p1 .place-n { color: var(--gold-2); }
.place-photo {
  flex: 0 0 auto;
  width: 32px;
  aspect-ratio: 4 / 5;
  border-radius: 6px;
  object-fit: cover;
  object-position: top center;
  border: 1px solid var(--line);
}
.place-name { flex: 1 1 auto; font-weight: 600; color: #FFFFFF; }
.place-prize {
  font-family: var(--display);
  font-weight: 700;
  font-size: 17px;
  color: var(--gold-2);
  font-variant-numeric: tabular-nums;
}

.champ-notes { color: var(--muted); font-size: 13px; font-style: italic; margin: 8px 2px; }

.share-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--ink-line);
}

@media (max-width: 560px) {
  .list th, .list td { padding: 8px; font-size: 13px; }
  .seat-row .seat-prize-fixed { flex-basis: 74px; }
  .champ-trophy { font-size: 34px; }
}

/* ---------- public: news (AI-written running leaderboard story) ---------- */

/* Stories are the featured content; the trophy/champion spotlights ride
   along in a narrow sidebar beside them instead of taking full-width rows. */
.news-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 20px;
  align-items: start;
}
.news-main { min-width: 0; }
.news-aside { display: flex; flex-direction: column; gap: 16px; }

@media (max-width: 820px) {
  .news-layout { grid-template-columns: 1fr; }
  .news-aside { order: -1; flex-direction: row; flex-wrap: wrap; }
  .news-aside > * { flex: 1 1 220px; }
}
@media (max-width: 480px) {
  .news-aside { flex-direction: column; }
}

/* The trophy spotlight normally matches index.html's wide event-card, but
   confined to the narrow sidebar it needs to stack instead. */
.news-trophy-spot { flex-direction: column; }
.news-trophy-spot .event-media { flex-basis: auto; min-height: 150px; }
.news-trophy-spot .event-media::after { background: linear-gradient(180deg, transparent 55%, var(--panel) 100%); }
.news-trophy-spot .event-body { padding: 14px 16px 16px; }

.news-card {
  background:
    linear-gradient(120deg, rgba(201, 169, 89, 0.09), rgba(23, 21, 26, 0) 50%),
    var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px 24px 18px;
  margin-bottom: 20px;
  scroll-margin-top: 20px;
}
.news-head { margin-bottom: 10px; }
.news-title {
  font-family: var(--display);
  font-size: clamp(20px, 3.6vw, 28px);
  font-weight: 900;
  letter-spacing: 0.3px;
  margin: 6px 0 4px;
  color: var(--gold-2);
}
.news-sub { color: var(--muted); font-size: 13px; margin: 0; }

.news-champ-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--text);
  background: var(--panel-2);
  border: 1px solid var(--ink-line);
  border-radius: 999px;
  padding: 5px 12px 5px 5px;
  margin: 8px 0 14px;
  font-size: 12.5px;
  transition: border-color .15s ease;
}
.news-champ-chip:hover { border-color: var(--gold); }
.news-champ-chip img {
  width: 20px;
  aspect-ratio: 4 / 5;
  border-radius: 4px;
  object-fit: cover;
  object-position: top center;
}
.news-champ-chip-ph {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  aspect-ratio: 4 / 5;
  border-radius: 4px;
  background: var(--gold-soft);
  color: var(--gold-2);
  font-size: 11px;
}
.news-champ-chip b { color: var(--gold-2); }

/* Compact defending-champion photo card, sized for a sidebar (news.html +
   the admin News tab) — photo capped at 200px so it's visible but doesn't
   dominate the page; stories stay the featured content. */
.champ-spotlight {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  background: linear-gradient(120deg, rgba(201, 169, 89, 0.10), rgba(23, 21, 26, 0) 45%), var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: border-color .15s ease;
}
.champ-spotlight:hover { border-color: var(--gold); }
.champ-spotlight-photo {
  width: min(200px, 100%);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top center;
  display: block;
  margin: 0 auto;
  background: var(--black);
}
.champ-spotlight-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  padding: 14px 16px 16px;
}

.news-section {
  padding: 14px 0;
  border-top: 1px solid var(--ink-line);
}
.news-section:first-of-type { border-top: none; padding-top: 4px; }
.news-section-date {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--red-hi);
}
.news-section-date::before {
  content: '📅';
  font-size: 11px;
  filter: grayscale(1) brightness(1.4);
}
.news-section h3 {
  font-family: var(--display);
  font-size: 18px;
  margin: 2px 0 8px;
  color: var(--text);
}
.news-section p { color: var(--muted); font-size: 14.5px; line-height: 1.65; margin: 0 0 10px; }

/* Gold inline links inside story text (news.js formatBody). */
.news-link {
  color: var(--gold-2);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(201, 169, 89, 0.5);
}
.news-link:hover { color: var(--gold-hi); text-decoration-color: var(--gold-hi); }

/* Premium in-story CTA — a [label](url) paragraph alone on its line renders
   as this metallic button (news.js formatBody), with a shine sweep on hover. */
.news-cta-wrap { margin: 20px 0 14px; text-align: center; }
.news-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 12px;
  font-family: var(--display);
  font-weight: 900;
  font-size: 15px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--black);
  background: linear-gradient(165deg, var(--gold-hi) 8%, #D9B968 38%, var(--gold) 58%, var(--gold-deep) 100%);
  border: 1px solid rgba(244, 222, 158, 0.65);
  box-shadow: 0 6px 22px rgba(201, 169, 89, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  overflow: hidden;
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
.news-cta::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0; left: -60%;
  width: 40%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: skewX(-20deg);
  transition: left .45s ease;
}
.news-cta:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
  box-shadow: 0 10px 30px rgba(201, 169, 89, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.news-cta:hover::after { left: 120%; }
.news-cta-arrow { font-family: "Segoe UI", Arial, sans-serif; transition: transform .15s ease; }
.news-cta:hover .news-cta-arrow { transform: translateX(3px); }

.news-archive-body.hidden { display: none; }

/* Earlier updates: the newest section runs in full above; every older update
   collapses to one of these rows, PAGE_SIZE per pagination page. */
.news-older { border-top: 1px solid var(--ink-line); margin-top: 14px; padding-top: 12px; }
.news-older-label {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--muted);
}
.news-row {
  border: 1px solid var(--ink-line);
  border-radius: 9px;
  background: var(--panel-2);
  margin-bottom: 6px;
}
.news-row.hidden { display: none; }
.news-row-head {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  background: none;
  border: 0;
  border-radius: 9px;
  text-align: left;
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  font-family: inherit;
}
.news-row-head:hover { filter: none; box-shadow: none; }
.news-row-head:hover .news-row-title { color: var(--gold-2); }
.news-row-title { flex: 1 1 auto; min-width: 0; }
.news-row-date { flex: 0 0 auto; color: var(--muted); font-size: 12px; font-weight: 400; white-space: nowrap; }
.news-row-caret { flex: 0 0 auto; color: var(--muted); font-size: 12px; transition: transform .15s ease; }
.news-row.open .news-row-caret { transform: rotate(180deg); }
.news-row-body { padding: 0 12px 12px; }
.news-row-body.hidden { display: none; }
.news-row-body p { color: var(--muted); font-size: 14.5px; line-height: 1.65; margin: 0 0 10px; }
.news-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 8px;
}
.news-pager button[disabled] { opacity: .4; cursor: default; }
.news-pager button[disabled]:hover { filter: none; box-shadow: none; }
.news-pager-label { color: var(--muted); font-size: 12.5px; }
@media (max-width: 560px) {
  .news-row-date { display: none; }
}

.news-archive-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid var(--ink-line);
  border-radius: 9px;
  background: var(--panel-2);
  margin-bottom: 6px;
}
.news-archive-row > a { flex: 1 1 auto; min-width: 0; }
.news-archive-photo {
  flex: 0 0 auto;
  width: 30px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top center;
  border-radius: 5px;
  border: 1px solid var(--line);
}

/* ============================================================
   VIP Inner Circle (vip.html) — the velvet-rope signup page
   ============================================================ */

.vip-hero { text-align: center; margin: 0 0 8px; }

.vip-lede {
  max-width: 560px;
  margin: 0 auto 30px;
  font-size: 17.5px;
  line-height: 1.65;
  color: var(--muted);
}
.vip-lede strong { color: var(--gold-2); font-weight: 700; }

.vip-perks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  text-align: center;
}
.vip-perk {
  background: var(--panel);
  border: 1px solid var(--ink-line);
  border-radius: var(--radius);
  padding: 22px 16px 18px;
  transition: border-color .2s ease, transform .2s ease;
}
.vip-perk:hover { border-color: var(--line); transform: translateY(-2px); }
.vip-perk-ic { font-size: 26px; display: block; margin-bottom: 8px; }
.vip-perk h3 {
  font-family: var(--display);
  font-size: 15.5px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold-2);
  margin: 0 0 6px;
}
.vip-perk p { color: var(--muted); font-size: 13.5px; line-height: 1.55; margin: 0; }

/* Gold velvet-rope divider */
.vip-rope {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 30px 0;
  color: var(--red-hi);
  font-size: 11px;
}
.vip-rope::before, .vip-rope::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line));
}
.vip-rope::after { background: linear-gradient(90deg, var(--line), transparent); }

/* Membership-card form: gold-edged, spotlight sheen */
.vip-card {
  position: relative;
  max-width: 560px;
  margin: 0 auto 26px;
  padding: 30px 28px 26px;
  background:
    radial-gradient(480px 200px at 50% -8%, rgba(201, 169, 89, 0.14), transparent 70%),
    var(--panel);
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  box-shadow: 0 0 0 4px rgba(201, 169, 89, 0.07), var(--shadow);
}

.vip-card-head { text-align: center; margin-bottom: 20px; }
.vip-card-kicker {
  margin: 0 0 6px;
  font-family: var(--display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--red-hi);
}
.vip-card-title {
  font-family: var(--display);
  font-size: clamp(22px, 4.5vw, 30px);
  font-weight: 900;
  letter-spacing: 1.5px;
  margin: 0 0 8px;
  background: linear-gradient(165deg, var(--gold-hi) 8%, #D9B968 38%, var(--gold) 58%, var(--gold-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.vip-card-sub { color: var(--muted); font-size: 14px; margin: 0; line-height: 1.55; }

.vip-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.vip-span { grid-column: 1 / -1; }
.vip-field { display: flex; flex-direction: column; gap: 6px; }
.vip-field span {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--gold-2);
}
.vip-field span em { font-style: normal; color: var(--muted); text-transform: none; letter-spacing: 0; font-weight: 400; }
.vip-field input {
  padding: 12px 13px;
  border-radius: 9px;
  border: 1px solid var(--ink-line);
  background: var(--panel-2);
  color: var(--text);
  font-size: 15px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.vip-field input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 169, 89, 0.18);
}

.vip-hint { color: var(--muted); font-size: 12.5px; margin: 10px 2px 0; }

.vip-consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 14px 2px 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
  cursor: pointer;
}
.vip-consent input { margin-top: 2px; accent-color: var(--gold); }

/* Honeypot — parked far off-screen, still focusable-by-bot */
.vip-hp { position: absolute; left: -6000px; top: 0; width: 1px; height: 1px; overflow: hidden; }

.vip-btn {
  display: block;
  width: 100%;
  margin: 18px 0 0;
  padding: 15px;
  border: 0;
  border-radius: 11px;
  cursor: pointer;
  font-family: var(--display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--black);
  background: linear-gradient(160deg, var(--gold-hi), #D9B968 45%, var(--gold));
  box-shadow: 0 6px 22px rgba(201, 169, 89, 0.28);
  transition: filter .15s ease, transform .1s ease;
}
.vip-btn:hover { filter: brightness(1.07); }
.vip-btn:active { transform: translateY(1px); }
.vip-btn[disabled] { opacity: .6; cursor: default; }

.vip-error {
  margin: 12px 0 0;
  text-align: center;
  color: var(--red-hi);
  font-size: 13.5px;
}
.vip-fine {
  margin: 14px 0 0;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: .4px;
}

/* Success state */
.vip-welcome { text-align: center; padding: 40px 28px 34px; }
.vip-welcome-crown {
  display: block;
  font-size: 52px;
  line-height: 1;
  margin-bottom: 10px;
  background: linear-gradient(165deg, var(--gold-hi), var(--gold) 70%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 24px rgba(201, 169, 89, 0.45));
}
.vip-welcome-text {
  max-width: 400px;
  margin: 10px auto 20px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

@media (max-width: 640px) {
  .vip-perks { grid-template-columns: 1fr; }
  .vip-grid { grid-template-columns: 1fr; }
}

/* Slim VIP strip under the homepage news teaser */
.vip-hook {
  display: block;
  margin: -12px 0 20px;
  padding: 9px 16px;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  background: var(--gold-soft);
  border: 1px dashed var(--line);
  border-radius: 999px;
  transition: color .15s ease, border-color .15s ease;
}
.vip-hook strong { color: var(--gold-2); }
.vip-hook:hover { color: var(--text); border-color: var(--gold); }

/* VIP callout card at the end of the News page */
.vip-callout {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin: 26px 0 8px;
  padding: 22px 24px;
  background:
    radial-gradient(420px 160px at 0% 0%, rgba(201, 169, 89, 0.12), transparent 70%),
    var(--panel);
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.vip-callout-crown {
  font-size: 38px;
  line-height: 1;
  background: linear-gradient(165deg, var(--gold-hi), var(--gold) 70%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 16px rgba(201, 169, 89, 0.4));
}
.vip-callout-text { flex: 1 1 260px; }
.vip-callout-text h2 {
  font-family: var(--display);
  font-size: 19px;
  letter-spacing: 1px;
  margin: 0 0 4px;
  color: var(--gold-2);
}
.vip-callout-text p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.vip-callout .champs-link { margin-top: 0; white-space: nowrap; }
