@import url('https://fonts.googleapis.com/css2?family=Anton&family=Inter:wght@400;500;600&family=JetBrains+Mono:wght@500;700&display=swap');

:root {
  --ink: #1B2733;
  --ink-soft: #5A6B78;
  --paper: #FFFFFF;
  --card: #FFFFFF;
  --surface: #EFF8FC;
  --blue: #8FD9FB;
  --blue-deep: #2C93BF;
  --blue-darker: #1E6B8F;
  --yellow: #FFFFC7;
  --yellow-dark: #D6CE5C;
  --gold: #8FD9FB;
  --gold-dark: #2C93BF;
  --crimson: #E8734A;
  --line: #D6EBF2;
  --display: 'Anton', sans-serif;
  --body: 'Inter', sans-serif;
  --mono: 'JetBrains Mono', monospace;
  --team-primary: var(--blue-darker);
  --team-secondary: var(--blue);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }

.wrap { max-width: 1040px; margin: 0 auto; padding: 0 24px; }

/* Nav */
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 24px; border-bottom: 1px solid var(--line);
  background: var(--paper); position: relative;
}
.nav-inner { max-width: 1040px; margin: 0 auto; width: 100%; display: flex; align-items: center; justify-content: space-between; }
.logo { font-family: var(--display); font-size: 42px; letter-spacing: 0.5px; color: var(--blue-deep); line-height: 1; position: relative; }
.logo span { color: var(--yellow-dark); }
.tagline { font-family: var(--body); font-size: 11px; font-weight: 500; letter-spacing: 0.5px; color: var(--blue); margin-top: 2px; }
.nav-links { display: flex; gap: 28px; font-size: 14px; font-weight: 500; }
.nav-hamburger {
  display: none; background: none; border: none; cursor: pointer; padding: 8px; margin: -8px;
}
.nav-hamburger span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; }

/* Buttons */
.btn {
  display: inline-block; padding: 13px 26px; border-radius: 4px;
  font-weight: 600; font-size: 14px; cursor: pointer; border: 2px solid transparent;
  transition: transform 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-outline { border-color: var(--paper); color: var(--paper); }
.btn-outline:hover { background: rgba(247,245,240,0.08); }
.btn-crimson { background: var(--crimson); color: #fff; width: 100%; text-align: center; }
.btn-team-red { background: var(--team-secondary); color: #fff; width: 100%; text-align: center; }
.btn-scoremore { background: var(--yellow-dark); color: var(--ink); width: 100%; text-align: center; }
.btn-dark-outline { border-color: var(--ink); color: var(--ink); }

/* Hero */
.hero {
  background: var(--blue-darker); color: var(--paper); padding: 90px 24px 70px;
}
.hero-inner { max-width: 1040px; margin: 0 auto; }
.eyebrow { font-family: var(--mono); font-size: 13px; color: var(--gold); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 18px; }
.hero h1 {
  font-family: var(--display); font-size: 58px; line-height: 1.02; letter-spacing: 0.5px;
  max-width: 760px; margin-bottom: 22px;
}
.hero p { font-size: 18px; color: #C7CCDB; max-width: 520px; margin-bottom: 36px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 60px; }

/* Scoreboard */
.scoreboard {
  border: 1px solid #3E7E99; background: #164A61; border-radius: 6px;
  padding: 28px 32px; display: flex; gap: 48px; flex-wrap: wrap;
}
.score-item .label { font-family: var(--mono); font-size: 12px; color: #A9D4E3; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; }
.score-item .value { font-family: var(--mono); font-size: 34px; font-weight: 700; color: #FFFFFF; }

/* How it works */
.section { padding: 80px 24px; }
.section-title { font-family: var(--display); font-size: 34px; margin-bottom: 12px; letter-spacing: 0.5px; color: var(--blue); }
.section-sub { color: var(--ink-soft); max-width: 520px; margin-bottom: 48px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.step { border: 1px solid var(--line); background: var(--card); padding: 28px; border-radius: 6px; }
.step-num { font-family: var(--mono); font-size: 13px; color: var(--blue); font-weight: 700; margin-bottom: 14px; }
.step h3 { font-size: 18px; margin-bottom: 10px; color: var(--blue-deep); }
.step p { font-size: 14px; color: var(--ink-soft); }

/* Demo callout */
.demo-band { background: var(--gold); padding: 60px 24px; }
.demo-inner { max-width: 1040px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.demo-inner h2 { font-family: var(--display); font-size: 28px; color: var(--ink); max-width: 480px; }
.demo-inner p { color: var(--gold-dark); margin-top: 8px; font-size: 14px; font-weight: 600; }

footer { padding: 40px 24px; border-top: 1px solid var(--line); text-align: center; color: var(--ink-soft); font-size: 13px; }

/* Team page — colors driven by --team-primary / --team-secondary, set per team */
.team-banner { background: var(--team-primary); color: var(--paper); padding: 48px 24px 40px; position: relative; }
.back-link { font-family: var(--mono); font-size: 13px; color: var(--team-secondary); display: inline-block; margin-bottom: 20px; }
.team-tag { font-family: var(--mono); font-size: 12px; color: var(--team-secondary); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px; }
.team-banner h1 { font-family: var(--display); font-size: 42px; letter-spacing: 0.5px; margin-bottom: 24px; }
.progress-track { background: rgba(255,255,255,0.15); border-radius: 4px; height: 14px; overflow: hidden; margin-bottom: 12px; }
.progress-fill { background: var(--team-secondary); height: 100%; border-radius: 4px; }
.progress-stats { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 14px; color: rgba(255,255,255,0.75); }
.progress-stats b { color: var(--paper); font-size: 16px; }

.roster { padding: 56px 24px; }
.roster-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px; }
.player-card {
  border: 1px solid var(--line); background: var(--card); border-radius: 6px; padding: 22px;
  display: flex; flex-direction: column; gap: 14px;
}
.player-top { display: flex; align-items: center; gap: 14px; }
.player-num {
  font-family: var(--mono); font-weight: 700; font-size: 20px; color: var(--ink);
  width: 44px; height: 44px; border-radius: 50%; background: var(--surface);
  display: flex; align-items: center; justify-content: center; border: 2px solid var(--team-secondary);
}
.player-name { font-weight: 600; font-size: 15px; }
.player-role { font-size: 12px; color: var(--ink-soft); }
.mini-track { background: var(--surface); border-radius: 4px; height: 8px; overflow: hidden; }
.mini-fill { background: var(--team-secondary); height: 100%; border-radius: 4px; }
.mini-stats { font-family: var(--mono); font-size: 12px; color: var(--ink-soft); display: flex; justify-content: space-between; }

/* Player page */
.player-hero { background: var(--team-primary); color: var(--paper); padding: 48px 24px 44px; position: relative; }
.player-hero-inner { max-width: 700px; margin: 0 auto; }
.player-hero-top { display: flex; align-items: center; justify-content: center; gap: 22px; margin-bottom: 26px; flex-wrap: wrap; text-align: left; }
.side-logo { height: 140px; width: auto; flex-shrink: 0; }
.rank-badge { display: flex; flex-direction: column; align-items: center; flex-shrink: 0; }
.rank-circle {
  font-family: var(--mono); font-weight: 700; font-size: 26px; color: var(--team-primary);
  width: 68px; height: 68px; border-radius: 50%; background: var(--team-secondary);
  display: flex; align-items: center; justify-content: center;
}
.rank-caption { font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: 1px; color: rgba(255,255,255,0.65); margin-top: 5px; }
.big-num {
  font-family: var(--mono); font-weight: 700; font-size: 30px; color: var(--team-primary);
  width: 68px; height: 68px; border-radius: 50%; background: var(--team-secondary);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.player-hero h1 { font-family: var(--display); font-size: 54px; letter-spacing: 0.5px; }
.player-hero .sub { font-family: var(--mono); font-size: 13px; color: rgba(255,255,255,0.65); margin-top: 4px; }

/* Countdown badge — top right of banner/hero sections */
.countdown-badge {
  position: absolute; top: 24px; right: 24px;
  font-family: var(--mono); font-size: 19px; font-weight: 700; color: #fff;
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.28);
  padding: 12px 22px; border-radius: 24px; white-space: nowrap;
}

.player-body { max-width: 760px; margin: 0 auto; padding: 48px 24px; display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 32px; align-items: start; }
.donate-card { border: 1px solid var(--line); background: var(--card); border-radius: 8px; padding: 24px; height: fit-content; }
.donate-card .blurb { font-size: 13px; color: var(--ink-soft); margin: 8px 0 18px; }
.donate-card .amount-row { display: flex; gap: 8px; margin: 16px 0; flex-wrap: wrap; }
.amount-btn { border: 1px solid var(--line); background: var(--paper); padding: 10px 14px; border-radius: 4px; font-family: var(--mono); font-weight: 600; font-size: 14px; cursor: pointer; }
.amount-btn.active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.donate-note { font-size: 12px; color: var(--ink-soft); margin-top: 12px; text-align: center; }

.supporters-col h2 { font-size: 18px; margin-bottom: 14px; color: var(--blue); }
.supporters { margin-top: 32px; }
.supporters h3 { font-size: 15px; margin-bottom: 14px; }
.supporter-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.supporter-row .amt { font-family: var(--mono); font-weight: 600; color: var(--gold-dark); }
.lb-time { font-size: 11px; color: var(--ink-soft); margin-right: 10px; flex-shrink: 0; }

@media (max-width: 720px) {
  .hero h1 { font-size: 38px; }
  .steps, .roster-grid { grid-template-columns: 1fr !important; }
  .player-body { grid-template-columns: 1fr; }
  .fund-layout { grid-template-columns: 1fr; }
  .member-grid, .member-grid-2 { grid-template-columns: 1fr !important; }
  .admin-stat-grid, .admin-stat-grid-5 { grid-template-columns: repeat(2, 1fr) !important; }
  .nav-hamburger { display: block; }
  .countdown-badge {
    position: static; display: block; width: fit-content; margin: 0 auto 16px; font-size: 15px; padding: 8px 16px;
  }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    flex-direction: column; gap: 0; padding: 8px 24px 12px;
    box-shadow: 0 10px 20px rgba(20,33,61,0.08); z-index: 20;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav-links a:last-child { border-bottom: none; }
}

/* Shared footer contact block */
.footer-contact { display: flex; gap: 28px; justify-content: center; flex-wrap: wrap; margin-bottom: 10px; font-size: 13px; }
.footer-contact a { color: var(--blue-deep); font-weight: 500; }

/* Form fields (appointment page) */
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--ink); }
.field input, .field select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 4px;
  font-family: var(--body); font-size: 14px; background: var(--surface); color: var(--ink);
  height: 46px; box-sizing: border-box;
}
.field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 4px;
  font-family: var(--body); font-size: 14px; background: var(--surface); color: var(--ink);
}
.field select { appearance: auto; cursor: pointer; }
.field input.field-invalid, .field select.field-invalid, .custom-amount-wrap input.field-invalid {
  border-color: #D6202E; background: #FFF3F2;
}
.amount-grid.field-invalid { outline: 2px solid #D6202E; outline-offset: 4px; border-radius: 8px; }
.field textarea { resize: vertical; min-height: 110px; }
.form-note { font-size: 13px; color: var(--ink-soft); margin-top: 14px; text-align: center; }
.form-card { max-width: 680px; margin: 0 auto; border: 1px solid var(--line); background: var(--card); border-radius: 10px; padding: 40px; box-shadow: 0 10px 34px rgba(20,33,61,0.09); }

/* Donate page */
.donate-eyebrow {
  display: flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 12px;
  color: var(--gold-dark); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px;
}
.field-label {
  display: block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.6px;
  color: var(--ink-soft); margin: 26px 0 12px;
}
.field-label:first-child { margin-top: 0; }
.amount-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.amount-chip {
  border: 1.5px solid var(--line); background: var(--paper); border-radius: 8px;
  font-family: var(--mono); font-weight: 700; font-size: 15px; text-align: center; cursor: pointer;
  color: var(--ink); transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
  height: 52px; display: flex; align-items: center; justify-content: center; box-sizing: border-box;
}
.amount-chip:hover { border-color: var(--team-secondary); }
.amount-chip.active { background: var(--team-secondary); color: #fff; border-color: var(--team-secondary); }
.custom-amount-wrap { position: relative; margin-top: 12px; }
.custom-amount-wrap .prefix {
  position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  font-family: var(--mono); font-weight: 700; color: var(--ink-soft); font-size: 15px;
}
.custom-amount-wrap input {
  width: 100%; height: 52px; box-sizing: border-box; padding: 0 16px 0 32px;
  border: 1.5px solid var(--line); border-radius: 8px; font-family: var(--mono); font-weight: 700;
  font-size: 15px; background: var(--paper); color: var(--ink);
}
.amount-error { font-size: 12px; color: #D6202E; margin-top: 8px; display: none; }
.name-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.checkbox-row { display: flex; align-items: flex-start; gap: 10px; margin-top: 14px; font-size: 13px; color: var(--ink-soft); line-height: 1.5; }
.checkbox-row input[type="checkbox"] { margin-top: 3px; width: 16px; height: 16px; flex-shrink: 0; accent-color: var(--team-secondary); cursor: pointer; }
.checkbox-row label { cursor: pointer; }
.terms-link { color: var(--blue-deep); font-weight: 600; text-decoration: underline; cursor: pointer; background: none; border: none; padding: 0; font: inherit; }

/* Terms modal — stays on the same page */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(15,20,30,0.55); display: none;
  align-items: center; justify-content: center; padding: 24px; z-index: 100;
}
.modal-overlay.open { display: flex; }
.modal-card {
  background: #fff; max-width: 560px; width: 100%; max-height: 78vh; overflow-y: auto;
  border-radius: 12px; padding: 34px; position: relative; box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.modal-card h2 { font-family: var(--display); font-size: 24px; margin-bottom: 16px; letter-spacing: 0.4px; color: var(--blue); }
.modal-card h3 { font-size: 14px; margin: 18px 0 6px; color: var(--ink); }
.modal-card p, .modal-card li { font-size: 13px; color: var(--ink-soft); line-height: 1.65; margin-bottom: 8px; }
.modal-card ul { padding-left: 20px; margin-bottom: 10px; }
.modal-close {
  position: absolute; top: 14px; right: 14px; background: var(--surface); border: none;
  width: 30px; height: 30px; border-radius: 50%; font-size: 18px; cursor: pointer; color: var(--ink-soft);
  line-height: 1; display: flex; align-items: center; justify-content: center;
}

@media (max-width: 720px) {
  .amount-grid { grid-template-columns: repeat(2, 1fr); }
  .name-row { grid-template-columns: 1fr; }
}

.link-box {
  display: flex; align-items: center; gap: 10px; border: 1.5px solid var(--line); border-radius: 8px;
  padding: 14px 16px; background: var(--surface); margin: 18px 0;
}
.link-box span {
  flex: 1; overflow-x: auto; white-space: nowrap; font-family: var(--mono); font-size: 13px; color: var(--ink);
}
.copy-btn {
  flex-shrink: 0; border: none; background: var(--team-secondary); color: #fff; padding: 9px 16px;
  border-radius: 6px; font-family: var(--mono); font-weight: 700; font-size: 12px; cursor: pointer;
}
.copy-btn.copied { background: #2E9E5B; }
.copy-btn.copy-btn-scoremore { background: var(--yellow-dark); color: var(--ink); }

/* Onboarding step tracker */
.step-tracker { display: flex; align-items: flex-start; margin-bottom: 34px; }
.step-tracker-item { flex: 1; text-align: center; position: relative; }
.step-tracker-line {
  position: absolute; top: 17px; left: -50%; width: 100%; height: 2px; background: var(--line); z-index: 0;
}
.step-tracker-item:first-child .step-tracker-line { display: none; }
.step-tracker-item.done .step-tracker-line { background: #2E9E5B; }
.step-tracker-circle {
  position: relative; z-index: 1; width: 34px; height: 34px; border-radius: 50%; margin: 0 auto 8px;
  display: flex; align-items: center; justify-content: center; font-family: var(--mono); font-weight: 700;
  font-size: 14px; background: var(--paper); color: var(--ink-soft); border: 2px solid var(--line);
}
.step-tracker-item.active .step-tracker-circle { background: var(--team-secondary); color: #fff; border-color: var(--team-secondary); }
.step-tracker-item.done .step-tracker-circle { background: #2E9E5B; color: #fff; border-color: #2E9E5B; }
.step-tracker-label { font-size: 11px; font-weight: 600; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.5px; }
.step-tracker-item.active .step-tracker-label { color: var(--ink); }

.family-row { border: 1px solid var(--line); border-radius: 8px; padding: 16px; margin-bottom: 12px; background: var(--card); }
.family-row.owner-row { background: var(--surface); }
.family-row-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; gap: 10px; }
.family-row-name { font-weight: 600; font-size: 14px; }
.family-row-relation { font-size: 12px; color: var(--ink-soft); }
.owner-badge {
  font-family: var(--mono); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.6px;
  background: var(--team-secondary); color: #fff; padding: 4px 10px; border-radius: 12px; flex-shrink: 0;
}

/* Admin dashboard */
.admin-login-wrap { min-height: 70vh; display: flex; align-items: center; justify-content: center; padding: 24px; }
.admin-stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 24px 0 36px; }
.admin-stat-card { border: 1px solid var(--line); background: var(--card); border-radius: 8px; padding: 22px; text-align: center; }
.admin-stat-card .num { font-family: var(--mono); font-size: 26px; font-weight: 700; color: var(--team-primary); }
.admin-stat-card .lbl { font-size: 12px; color: var(--ink-soft); margin-top: 6px; }
.admin-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 8px; margin-bottom: 36px; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.admin-table th { text-align: left; background: var(--surface); font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.5px; color: var(--ink-soft); padding: 12px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.admin-table td { padding: 11px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.admin-table tr:last-child td { border-bottom: none; }
.admin-table .amt { font-family: var(--mono); font-weight: 600; color: var(--gold-dark); }
.admin-table-scroll { max-height: 420px; overflow-y: auto; }
.admin-section-title { font-family: var(--display); font-size: 22px; margin: 40px 0 14px; letter-spacing: 0.3px; color: var(--blue); }
summary.admin-section-title { list-style: none; }
summary.admin-section-title::-webkit-details-marker { display: none; }
summary.admin-section-title::before { content: '▸'; font-size: 16px; margin-right: 2px; }
details[open] summary.admin-section-title::before { content: '▾'; }
.admin-note { border: 1px dashed var(--line); border-radius: 8px; padding: 18px 20px; font-size: 13px; color: var(--ink-soft); background: var(--surface); }
@media (max-width: 900px) {
  .admin-stat-grid { grid-template-columns: repeat(2, 1fr) !important; }
}

/* Our Team page */
.member-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 32px; }
.member-card { border: 1px solid var(--line); background: var(--card); border-radius: 8px; padding: 24px; text-align: center; }
.member-avatar {
  width: 100px; height: 100px; border-radius: 50%; background: #FFFFFF; border: 2px solid var(--blue);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 14px;
  font-family: var(--mono); font-weight: 700; font-size: 20px; color: var(--blue-deep);
  overflow: hidden;
}
.member-avatar img { width: 100%; height: 100%; object-fit: contain; }
.member-name { font-weight: 600; font-size: 16px; margin-bottom: 2px; }
.member-role { font-size: 13px; color: var(--gold-dark); font-weight: 600; margin-bottom: 10px; }
.member-bio { font-size: 13px; color: var(--ink-soft); }
.member-contact { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 12px; font-family: var(--mono); color: var(--ink-soft); display: flex; flex-direction: column; gap: 4px; }
.member-contact a { color: var(--ink-soft); text-decoration: none; }
.member-contact a:hover { text-decoration: underline; }

/* Reviews */
.review-card { border: 1px solid var(--line); background: var(--card); border-radius: 6px; padding: 18px 20px; margin-bottom: 14px; }
.review-empty { border: 1px dashed var(--line); border-radius: 6px; padding: 32px; text-align: center; color: var(--ink-soft); font-size: 14px; }

/* Fundraiser home header (school logo + name) */
.school-header { display: flex; align-items: center; justify-content: center; gap: 24px; margin-bottom: 26px; flex-wrap: wrap; text-align: center; }
.school-logo-big { height: 130px; width: auto; max-width: 100%; flex-shrink: 0; }
.school-header h1 { font-family: var(--display); font-size: 32px; letter-spacing: 0.4px; line-height: 1.15; }
.player-name-logo { height: 26px; width: 26px; border-radius: 50%; background: #fff; padding: 2px; vertical-align: middle; margin-left: 8px; object-fit: contain; }

/* Three-column fundraiser layout */
.fund-layout { display: grid; grid-template-columns: 0.85fr 1.15fr 0.85fr; gap: 24px; padding: 48px 24px; }
.fund-col h2 { font-size: 18px; margin-bottom: 14px; color: var(--blue); }
.info-block p { font-size: 14px; color: var(--ink-soft); margin-bottom: 12px; }

.leaderboard-scroll { max-height: 330px; overflow-y: auto; border: 1px solid var(--line); border-radius: 8px; background: var(--card); }
.leaderboard-row {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-bottom: 1px solid var(--line);
  text-decoration: none; color: var(--ink);
}
.leaderboard-row:last-child { border-bottom: none; }
.lb-rank {
  font-family: var(--mono); font-weight: 700; font-size: 13px; color: var(--blue-deep);
  width: 22px; text-align: center; flex-shrink: 0;
}
.lb-name { flex: 1; font-size: 14px; font-weight: 600; }
.lb-amt { font-family: var(--mono); font-size: 13px; font-weight: 600; color: var(--gold-dark); }
a.leaderboard-row:hover { background: var(--surface); }
