/* ═══════════════════════════════════════════
   Fantasy Majors Platform — Additional Styles
   ═══════════════════════════════════════════ */

/* ─── BASE RESET (supplement main styles.css) ─── */
a { color: inherit; text-decoration: none; }

/* ─── NAV BAR ─── */
.nav {
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 62px;
  position: sticky;
  top: 0;
  z-index: 200;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  overflow: visible;
}
.nav-logo { height: 44px; cursor: pointer; }
.nav-links { display: flex; gap: 6px; align-items: center; }
.nav-link {
  font-size: 13px; font-weight: 500; color: var(--muted);
  padding: 6px 14px; border-radius: 6px;
  border: 1px solid transparent;
  transition: all .2s; cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 5px;
}
.nav-link:hover { color: var(--text); background: var(--bg3); border-color: var(--border); }
.nav-avatar-wrap {
  position: relative;
  flex-shrink: 0;
}
.nav-avatar {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--gold-bg);
  border: 1.5px solid var(--gold-border);
  color: var(--gold);
  font-family: 'DM Mono', monospace;
  font-size: 12px; font-weight: 600;
  display: flex; align-items: center; justify-content: center;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all .2s;
}
.nav-avatar:hover {
  border-color: var(--gold);
  background: rgba(201,168,76,0.15);
}
.nav-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 180px;
  background: var(--bg2);
  border: 1px solid var(--border2);
  border-radius: 10px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  padding: 6px;
  display: none;
  z-index: 300;
}
.nav-menu.open {
  display: block;
}
.nav-menu-name {
  padding: 8px 12px 6px;
  font-size: 11px;
  color: var(--faint);
  font-family: 'DM Mono', monospace;
  border-bottom: 1px solid var(--border);
  margin-bottom: 4px;
}
.nav-menu-item {
  display: block;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  border-radius: 6px;
  transition: all .15s;
  text-decoration: none;
}
.nav-menu-item:hover {
  background: var(--bg3);
  color: var(--text);
}

/* ─── LANDING PAGE ─── */
.landing-hero {
  min-height: auto;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: 4rem 1.5rem 5rem;
  position: relative;
  overflow: hidden;
}
.hero-glow {
  position: absolute; top: -20%; left: 50%; transform: translateX(-50%);
  width: 800px; height: 600px;
  background: radial-gradient(ellipse, rgba(201,168,76,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.hero-glow-2 {
  position: absolute; bottom: -10%; right: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(ellipse, rgba(82,224,160,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.landing-badge {
  font-family: 'DM Mono', monospace;
  font-size: 12px; font-weight: 500; letter-spacing: 0.08em;
  color: var(--gold); background: var(--gold-bg);
  border: 1px solid var(--gold-border); border-radius: 20px;
  padding: 6px 18px; margin-bottom: 2rem;
  opacity: 0; animation: fadeUp .6s ease forwards;
}
.landing-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(40px, 7vw, 72px);
  font-weight: 400; line-height: 1.05;
  color: var(--text); max-width: 720px;
  margin-bottom: 1.5rem;
  opacity: 0; animation: fadeUp .6s ease .1s forwards;
}
.landing-title em { color: var(--gold); font-style: italic; }
.landing-sub {
  font-size: 17px; color: var(--muted); line-height: 1.7;
  max-width: 520px; margin-bottom: 2.5rem;
  opacity: 0; animation: fadeUp .6s ease .2s forwards;
}
.landing-actions {
  display: flex; gap: 12px; flex-wrap: wrap; justify-content: center;
  opacity: 0; animation: fadeUp .6s ease .3s forwards;
}
.btn-hero {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; background: var(--gold);
  border: none; border-radius: 10px;
  color: #0c0d0f; font-family: 'Outfit', sans-serif;
  font-size: 15px; font-weight: 700; cursor: pointer;
  transition: all .25s; text-decoration: none;
  box-shadow: 0 2px 12px rgba(201,168,76,0.25);
}
.btn-hero:hover { background: var(--gold-soft); transform: translateY(-2px); box-shadow: 0 4px 20px rgba(201,168,76,0.35); }
.btn-hero-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; background: transparent;
  border: 1px solid var(--border2); border-radius: 10px;
  color: var(--text); font-family: 'Outfit', sans-serif;
  font-size: 15px; font-weight: 500; cursor: pointer;
  transition: all .25s; text-decoration: none;
}
.btn-hero-ghost:hover { border-color: var(--gold-border); color: var(--gold); }
.landing-proof {
  display: flex; gap: 24px; margin-top: 2.5rem;
  opacity: 0; animation: fadeUp .6s ease .4s forwards;
}
.proof-item {
  font-size: 12px; color: var(--muted);
  font-family: 'DM Mono', monospace;
}

/* ─── LANDING PREVIEW (app screenshot) ─── */
.landing-preview {
  padding: 0 1.5rem 3rem;
  max-width: 680px;
  margin: -2rem auto 0;
  position: relative;
  z-index: 1;
}
.preview-inner {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 16px 64px rgba(0,0,0,0.5), 0 0 0 1px var(--border);
}
.mock-screen {
  background: var(--bg);
  padding: 0;
}

/* League band */
.mock-band {
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
  padding: 14px 16px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
}
.mock-league-name {
  font-family: 'DM Serif Display', serif;
  font-size: 20px;
  color: var(--text);
  line-height: 1.1;
  margin-bottom: 4px;
}
.mock-band-links {
  display: flex;
  gap: 12px;
  font-size: 10px;
  color: var(--faint);
}
.mock-band-center {
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 3px;
  align-items: flex-end;
}
.mock-tourney {
  font-family: 'DM Serif Display', serif;
  font-size: 13px;
  color: var(--muted);
}
.mock-live-dot {
  font-family: 'DM Mono', monospace;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--neon-green);
  background: rgba(82,224,160,0.1);
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid rgba(82,224,160,0.25);
}

/* Nav tabs — Sleeper style */
.mock-tabs {
  background: var(--bg2);
  display: flex;
  border-bottom: 1px solid var(--border);
  padding: 0 16px;
}
.mock-tab {
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
  padding: 10px 14px;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.mock-tab-active {
  color: var(--gold);
  border-bottom-color: var(--gold);
  font-weight: 600;
}

/* Round filter */
.mock-round-filter {
  background: var(--bg2);
  padding: 8px 16px;
  display: flex;
  gap: 6px;
  border-bottom: 1px solid var(--border);
}
.mock-round {
  font-family: 'Outfit', sans-serif;
  font-size: 10px;
  font-weight: 500;
  color: var(--faint);
  padding: 4px 12px;
  border-radius: 16px;
  border: 1px solid transparent;
}
.mock-round-active {
  color: var(--text);
  background: var(--bg3);
  border-color: var(--border2);
  font-weight: 600;
}
.mock-round-live {
  position: relative;
  padding-left: 18px;
}
.mock-round-live::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--neon-green);
  box-shadow: 0 0 4px rgba(82,224,160,0.7);
}

/* Team cards */
.mock-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
  margin: 8px 16px;
}
.mock-card:first-of-type { margin-top: 12px; }
.mock-card-gold {
  border-color: rgba(201,168,76,0.5);
  background: linear-gradient(135deg, var(--bg2) 40%, rgba(201,168,76,0.08) 100%);
  box-shadow: 0 0 20px rgba(201,168,76,0.1);
}
.mock-rank {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 32px;
  gap: 2px;
}
.mock-crown { font-size: 16px; line-height: 1; }
.mock-rank-num {
  font-family: 'DM Serif Display', serif;
  font-size: 18px;
  color: var(--muted);
  line-height: 1;
}
.mock-card-gold .mock-rank-num { color: var(--gold); }
.mock-body { flex: 1; min-width: 0; }
.mock-team {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}
.mock-card-gold .mock-team { color: var(--gold-soft); }
.mock-players {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.mock-chip {
  font-size: 10px;
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 3px 10px 3px 3px;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.mock-f {
  font-size: 8px;
  font-weight: 700;
  color: var(--neon-green);
  background: rgba(82,224,160,0.15);
  border: 1px solid rgba(82,224,160,0.3);
  border-radius: 50%;
  width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.mock-neg { color: var(--neon-green); font-family: 'DM Mono', monospace; font-weight: 500; }
.mock-pos { color: #ff6b6b; font-family: 'DM Mono', monospace; font-weight: 500; }
.mock-eve { color: var(--faint); font-family: 'DM Mono', monospace; font-weight: 500; }

.mock-score-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  min-width: 56px;
}
.mock-score {
  font-family: 'DM Serif Display', serif;
  font-size: 26px;
  line-height: 1;
  margin-bottom: 2px;
}
.mock-score-lbl {
  font-family: 'DM Mono', monospace;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--faint);
}

@media (max-width: 600px) {
  .landing-preview { padding: 0 1rem 2rem; margin-top: -1rem; }
  .mock-band { padding: 10px 12px; }
  .mock-league-name { font-size: 16px; }
  .mock-tourney { font-size: 11px; }
  .mock-tabs { padding: 0 8px; }
  .mock-tab { font-size: 10px; padding: 8px 10px; }
  .mock-round-filter { padding: 6px 12px; }
  .mock-card { margin: 6px 12px; padding: 10px; gap: 10px; }
  .mock-chip { font-size: 9px; padding: 2px 8px 2px 2px; }
  .mock-f { width: 14px; height: 14px; font-size: 7px; }
  .mock-score { font-size: 22px; }
  .mock-rank-num { font-size: 15px; }
  .mock-team { font-size: 12px; }
}

/* ─── HOW IT WORKS ─── */
.landing-how {
  padding: 5rem 1.5rem;
  max-width: 820px;
  margin: 0 auto;
}
.how-header { text-align: center; margin-bottom: 3rem; }
.section-label {
  font-family: 'DM Mono', monospace;
  font-size: 11px; font-weight: 500; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 12px;
}
.section-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 400; color: var(--text);
}
.how-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 540px;
  margin: 0 auto;
}
.how-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 1.5rem 0;
}
.step-num {
  width: 44px; height: 44px; min-width: 44px;
  border-radius: 50%; border: 2px solid var(--gold-border);
  display: flex; align-items: center; justify-content: center;
  font-family: 'DM Serif Display', serif;
  font-size: 20px; color: var(--gold);
  background: var(--gold-bg);
}
.step-title {
  font-family: 'DM Serif Display', serif;
  font-size: 18px; font-weight: 400; color: var(--text);
  margin-bottom: 6px;
}
.step-desc { font-size: 14px; color: var(--muted); line-height: 1.6; }
.how-connector {
  width: 2px; height: 24px; margin-left: 21px;
  background: linear-gradient(to bottom, var(--gold-border), var(--border));
}

/* ─── FEATURES ─── */
.landing-features {
  padding: 5rem 1.5rem;
  max-width: 1060px; margin: 0 auto;
}
.features-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
}
.feature-card {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.75rem;
  transition: all .25s;
}
.feature-card:hover { border-color: var(--gold-border); transform: translateY(-2px); }
.feature-icon-wrap {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--bg3); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px; font-size: 20px;
}
.feature-title {
  font-family: 'DM Serif Display', serif;
  font-size: 17px; font-weight: 400; color: var(--text);
  margin-bottom: 8px;
}
.feature-desc { font-size: 13px; color: var(--muted); line-height: 1.65; }

/* ─── CTA ─── */
.landing-cta {
  padding: 5rem 1.5rem;
}
.cta-inner {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  background:
    radial-gradient(ellipse at 30% 0%, rgba(201,168,76,0.12), transparent 50%),
    radial-gradient(ellipse at 70% 100%, rgba(82,224,160,0.08), transparent 50%),
    linear-gradient(180deg, var(--bg2) 0%, rgba(24,26,30,0.95) 100%);
  border: 1px solid var(--gold-border);
  border-radius: 24px;
  padding: 4rem 2.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 0 1px rgba(201,168,76,0.1);
}
.cta-inner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.6;
}
.cta-inner::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(201,168,76,0.03) 1px, transparent 2px),
    radial-gradient(circle at 80% 70%, rgba(82,224,160,0.04) 1px, transparent 2px);
  background-size: 60px 60px, 80px 80px;
  pointer-events: none;
  opacity: 0.5;
}
.cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--gold);
  background: var(--gold-bg);
  border: 1px solid var(--gold-border);
  border-radius: 20px;
  padding: 6px 16px;
  margin-bottom: 1.75rem;
  position: relative;
  z-index: 1;
}
.cta-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 400;
  color: var(--text);
  line-height: 1.1;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}
.cta-title em {
  font-style: italic;
  color: var(--gold);
}
.cta-desc {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 2.25rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}
.cta-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-bottom: 3rem;
  position: relative;
  z-index: 1;
}
.btn-hero-lg {
  font-size: 16px;
  padding: 16px 40px;
}
.cta-secondary {
  font-size: 13px;
  color: var(--faint);
  text-decoration: none;
  transition: color .15s;
}
.cta-secondary:hover { color: var(--muted); }
.cta-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding-top: 2rem;
  border-top: 1px solid rgba(201,168,76,0.15);
  position: relative;
  z-index: 1;
}
.cta-stat {
  flex: 1;
  text-align: center;
  max-width: 140px;
}
.cta-stat-num {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 400;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 6px;
}
.cta-stat-lbl {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
}
.cta-stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(201,168,76,0.15);
}

@media (max-width: 600px) {
  .cta-inner { padding: 2.75rem 1.5rem; border-radius: 18px; }
  .cta-title { font-size: 28px; }
  .cta-stats { flex-wrap: wrap; gap: 16px; }
  .cta-stat-divider { display: none; }
  .cta-stat { flex: 0 0 auto; min-width: 90px; }
}

/* ─── FOOTER ─── */
.landing-footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 1.5rem;
}
.footer-inner {
  max-width: 960px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
  font-size: 11px; color: var(--faint);
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 600px) {
  .landing-proof { flex-direction: column; gap: 8px; align-items: center; }
  .how-step { flex-direction: column; align-items: center; text-align: center; }
  .how-connector { margin-left: 0; }
  .features-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
  .landing-hero { padding: 3rem 1.25rem 2.5rem; }
}

/* ─── BUTTONS ─── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; background: var(--gold);
  border: none; border-radius: 8px;
  color: #0c0d0f; font-family: 'Outfit', sans-serif;
  font-size: 14px; font-weight: 700; cursor: pointer;
  transition: all .2s;
}
.btn-primary:hover { background: var(--gold-soft); transform: translateY(-1px); }

.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; background: transparent;
  border: 1px solid var(--border2); border-radius: 8px;
  color: var(--text); font-family: 'Outfit', sans-serif;
  font-size: 14px; font-weight: 500; cursor: pointer;
  transition: all .2s;
}
.btn-secondary:hover { border-color: var(--gold-border); color: var(--gold); }

.btn-sm {
  padding: 7px 16px; font-size: 12px; border-radius: 6px;
}

.btn-danger {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 16px; background: var(--red-bg);
  border: 1px solid var(--red-border); border-radius: 6px;
  color: var(--red); font-family: 'Outfit', sans-serif;
  font-size: 12px; font-weight: 600; cursor: pointer;
  transition: all .2s;
}
.btn-danger:hover { background: rgba(240,82,82,0.15); }

.btn-green-sm {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 16px; background: var(--green-bg);
  border: 1px solid var(--green-border); border-radius: 6px;
  color: var(--neon-green); font-family: 'Outfit', sans-serif;
  font-size: 12px; font-weight: 600; cursor: pointer;
  transition: all .2s;
}
.btn-green-sm:hover { background: rgba(82,224,160,0.15); }

/* ─── AUTH PAGES ─── */
.auth-page {
  min-height: calc(100vh - 56px);
  display: flex; align-items: center; justify-content: center;
  padding: 2rem 1.5rem;
}
.auth-card {
  background: var(--bg2); border: 1px solid var(--border2);
  border-radius: var(--radius); padding: 2.5rem;
  max-width: 400px; width: 100%;
}
.auth-title {
  font-family: 'DM Serif Display', serif;
  font-size: 24px; font-weight: 400; color: var(--gold);
  margin-bottom: 6px;
}
.auth-subtitle {
  color: var(--muted); font-size: 13px; margin-bottom: 2rem;
}

/* ─── FORM ELEMENTS ─── */
.form-group { margin-bottom: 1rem; }
.form-label {
  font-size: 11px; font-weight: 600; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.08em;
  display: block; margin-bottom: 5px;
}
.form-input, .form-textarea {
  width: 100%; padding: 10px 14px;
  background: var(--bg); border: 1px solid var(--border2);
  border-radius: 8px; color: var(--text);
  font-family: 'DM Mono', monospace; font-size: 13px;
  outline: none; transition: border-color .2s;
}
.form-input:focus, .form-textarea:focus { border-color: var(--gold); }
.form-textarea { min-height: 100px; resize: vertical; }
.form-hint { font-size: 10px; color: var(--faint); margin-top: 4px; }
.form-error {
  background: var(--red-bg); border: 1px solid var(--red-border);
  color: var(--red); font-size: 12px; padding: 8px 12px;
  border-radius: 8px; margin-bottom: 1rem;
}
.form-link {
  color: var(--gold); font-size: 13px; cursor: pointer;
}
.form-link:hover { text-decoration: underline; }

/* ─── DASHBOARD ─── */
.dash-page {
  max-width: 800px; margin: 0 auto;
  padding: 2rem 1.5rem;
}
.dash-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 2rem; flex-wrap: wrap; gap: 12px;
}
.dash-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(22px, 4vw, 28px); font-weight: 400; color: var(--text);
}
.dash-greeting {
  font-size: 13px; color: var(--muted); margin-top: 4px;
}

/* ── Commissioner Overview Stats ── */
.commissioner-overview {
  margin-bottom: 1.25rem;
}
.co-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 10px;
}
.co-stat {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 0.75rem;
  text-align: center;
}
.co-stat-val {
  font-size: 28px;
  font-family: 'DM Serif Display', serif;
  color: var(--gold);
  line-height: 1.1;
}
.co-stat-val.co-stat-active {
  color: var(--neon-green);
}
.co-stat-label {
  font-size: 10px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
}
.dash-section-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.75rem;
  padding-left: 2px;
}

/* ── League Cards ── */
.league-card {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px; transition: all .2s;
  overflow: hidden;
}
.league-card:hover { border-color: var(--gold-border); transform: translateY(-1px); }

/* Main clickable area */
.league-card-main {
  display: flex; align-items: center;
  justify-content: space-between; gap: 16px;
  padding: 1.5rem;
  cursor: pointer;
}

/* Commissioner card: gold left accent */
.league-card-commissioner {
  border-left: 3px solid var(--gold);
}

/* Commissioner quick actions bar */
.league-card-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0.6rem 1.5rem 0.75rem;
  border-top: 1px solid var(--border);
}
.lca-btn {
  font-size: 11px;
  color: var(--muted);
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 4px 10px;
  cursor: pointer;
  text-decoration: none;
  transition: color 0.15s, border-color 0.15s;
  font-family: 'Outfit', sans-serif;
}
.lca-btn:hover {
  color: var(--text);
  border-color: var(--gold-border);
}
.lca-code {
  font-size: 10px;
  font-family: 'DM Mono', monospace;
  color: var(--faint);
  margin-left: auto;
  letter-spacing: 0.08em;
}
.league-card-info { flex: 1; }
.league-card-name {
  font-size: 16px; font-weight: 600; color: var(--text);
  margin-bottom: 4px;
}
.league-card-meta {
  font-size: 12px; color: var(--muted); font-family: 'DM Mono', monospace;
  display: flex; gap: 16px; flex-wrap: wrap;
}
.league-card-badge {
  font-size: 10px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.06em; padding: 3px 8px; border-radius: 4px;
}
.badge-commissioner { color: var(--gold); background: var(--gold-bg); border: 1px solid var(--gold-border); }
.badge-member { color: var(--muted); background: var(--bg3); border: 1px solid var(--border); }
.badge-active { color: var(--neon-green); background: var(--green-bg); }
.badge-inactive { color: var(--faint); background: var(--bg3); }

.league-card-arrow {
  color: var(--faint); font-size: 18px;
  transition: color .2s;
}
.league-card:hover .league-card-arrow { color: var(--gold); }

.empty-state {
  text-align: center; padding: 4rem 2rem;
  color: var(--muted);
}
.empty-state-icon { font-size: 48px; margin-bottom: 16px; }
.empty-state-title {
  font-family: 'DM Serif Display', serif;
  font-size: 20px; color: var(--text); margin-bottom: 8px;
}
.empty-state-desc { font-size: 13px; color: var(--muted); margin-bottom: 1.5rem; line-height: 1.5; }

/* ─── CREATE/JOIN LEAGUE ─── */
.create-page, .join-page {
  max-width: 520px; margin: 0 auto;
  padding: 3rem 1.5rem;
}
.page-title {
  font-family: 'DM Serif Display', serif;
  font-size: 28px; font-weight: 400; color: var(--text);
  margin-bottom: 8px;
}
.page-desc { font-size: 14px; color: var(--muted); margin-bottom: 2rem; }

/* ─── JOIN CODE DISPLAY ─── */
.join-code-display {
  background: var(--bg); border: 1px solid var(--gold-border);
  border-radius: var(--radius); padding: 1.5rem;
  text-align: center; margin: 1.5rem 0;
}
.join-code-label { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 8px; }
.join-code-value {
  font-family: 'DM Mono', monospace; font-size: 32px;
  font-weight: 500; color: var(--gold); letter-spacing: 0.15em;
}
.join-code-link {
  font-size: 12px; color: var(--muted); margin-top: 8px;
  font-family: 'DM Mono', monospace; word-break: break-all;
}
.copy-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px; background: var(--bg3); border: 1px solid var(--border);
  border-radius: 6px; color: var(--muted); font-size: 12px;
  cursor: pointer; margin-top: 12px; transition: all .2s;
  font-family: 'Outfit', sans-serif;
}
.copy-btn:hover { border-color: var(--gold-border); color: var(--gold); }

/* ─── LEAGUE ADMIN ─── */
.league-admin {
  max-width: 960px; margin: 0 auto; padding: 1.5rem;
}
.admin-header {
  padding: 1.5rem 0 0.75rem;
}
.admin-header-left {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.admin-header-left .dash-title {
  margin: 0;
  line-height: 1.15;
}
.admin-back-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
  text-decoration: none;
  padding: 6px 12px;
  border: 1px solid var(--gold-border);
  border-radius: 6px;
  background: var(--gold-bg);
  transition: all .15s;
  white-space: nowrap;
}
.admin-back-link:hover {
  background: var(--gold);
  color: var(--bg);
  border-color: var(--gold);
}
.admin-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.5rem;
  overflow-x: auto;
  scrollbar-width: none;
}
.admin-tabs::-webkit-scrollbar { display: none; }
.admin-tab {
  flex: 1;
  text-align: center;
  padding: 10px 8px;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all .2s;
  white-space: nowrap;
  user-select: none;
}
.admin-tab:hover { color: var(--text); }
.admin-tab.active { color: var(--gold); border-bottom-color: var(--gold); font-weight: 600; }

.settings-card {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.5rem;
  margin-bottom: 1rem;
}
.settings-card-title {
  font-size: 15px; font-weight: 600; margin-bottom: 1rem;
}
.settings-summary {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}
.settings-summary strong {
  color: var(--gold);
  font-weight: 600;
}

/* ─── TOGGLE SWITCH ─── */
.toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  gap: 12px;
}
.toggle-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}
.toggle-row input[type="checkbox"] {
  display: none;
}
.toggle-switch {
  width: 44px;
  height: 24px;
  background: var(--bg4);
  border: 1px solid var(--border2);
  border-radius: 12px;
  position: relative;
  transition: all .25s;
  flex-shrink: 0;
}
.toggle-switch::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  background: var(--muted);
  border-radius: 50%;
  transition: all .25s;
}
.toggle-row input:checked + .toggle-switch {
  background: var(--gold-bg);
  border-color: var(--gold-border);
}
.toggle-row input:checked + .toggle-switch::after {
  left: 22px;
  background: var(--gold);
}

/* ─── JOIN PAGE (two-panel layout) ─── */
.join-page-layout {
  min-height: calc(100vh - 62px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 1000px;
  margin: 0 auto;
  width: 100%;
  align-items: start;
  padding-top: 4rem;
}

/* Left info panel */
.join-info-panel {
  background: var(--bg2);
  border-right: 1px solid var(--border);
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;

  gap: 1.5rem;
}
.join-info-league {
  font-family: 'DM Serif Display', serif;
  font-size: 22px;
  font-weight: 400;
  color: var(--text);
  line-height: 1.2;
}
.join-info-tourney {
  font-size: 13px;
  color: var(--muted);
  margin-top: -0.75rem;
}
.join-buyin-badge {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--gold-bg);
  border: 1px solid var(--gold-border);
  border-radius: 10px;
  padding: 12px 16px;
}
.join-buyin-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
}
.join-buyin-amount {
  font-family: 'DM Serif Display', serif;
  font-size: 28px;
  color: var(--gold);
}
.join-tiers-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}
.join-tiers-heading {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--faint);
  padding: 10px 14px 8px;
  background: var(--bg3);
  border-bottom: 1px solid var(--border);
}
.join-tier-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
}
.join-tier-item:last-of-type { border-bottom: none; }
.join-tier-num {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--muted);
  min-width: 24px;
}
.join-tier-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1;
}
.join-tier-picks {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}
.join-tier-size {
  font-size: 11px;
  color: var(--faint);
  font-family: 'DM Mono', monospace;
}
.join-tier-item-tb {
  background: rgba(91,142,240,0.04);
  border-top: 1px solid var(--border);
}
.join-total-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: var(--bg3);
  font-size: 12px;
  color: var(--muted);
  border-top: 1px solid var(--border);
}
.join-total-line strong { color: var(--text); }
.join-info-footer {
  margin-top: auto;
}

/* Right form panel */
.join-form-panel {
  padding: 3rem;
  display: flex;
  flex-direction: column;

}
.join-form-title {
  font-family: 'DM Serif Display', serif;
  font-size: 32px;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 8px;
}
.join-form-sub {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 2rem;
}

/* Mobile: stack vertically */
@media (max-width: 700px) {
  .join-page-layout {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .join-info-panel {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 1.5rem 1.25rem;
    gap: 1rem;
  }
  .join-info-footer { display: none; }
  .join-form-panel {
    padding: 1.5rem 1.25rem 3rem;
  }
  .join-form-title { font-size: 24px; }
}

/* ─── PICK FORM (step 2) ─── */
.pick-header {
  max-width: 680px;
  margin: 1.5rem auto 1.5rem;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.pick-header-league {
  font-family: 'DM Serif Display', serif;
  font-size: 22px;
  color: var(--text);
  line-height: 1.2;
}
.pick-header-tourney {
  font-size: 12px;
  color: var(--muted);
  font-family: 'DM Mono', monospace;
  margin-top: 2px;
}
.pick-form-wrap {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
}
.pick-form-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 1.25rem;
  padding: 1rem 1.25rem;
  background: var(--bg2);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius);
}
.pick-form-name {
  font-family: 'DM Serif Display', serif;
  font-size: 20px;
  color: var(--gold);
}
.pick-form-desc {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}

@media (max-width: 600px) {
  .pick-header { margin: 1rem auto 1rem; padding: 0 1rem; }
  .join-card-wrap { padding: 0 1rem 3rem; }
  .join-card { padding: 1.75rem 1.25rem; }
  .pick-form-wrap { padding: 0 1rem 3rem; }
}
.toast {
  position: fixed; bottom: 24px; left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: var(--bg2); border: 1px solid var(--border2);
  border-radius: 8px; padding: 10px 20px;
  font-size: 13px; color: var(--neon-green);
  font-family: 'DM Mono', monospace;
  z-index: 9999; transition: transform .3s cubic-bezier(0.16,1,0.3,1);
  pointer-events: none;
}
.toast.show { transform: translateX(-50%) translateY(0); }
.toast.error { color: var(--red); border-color: var(--red-border); }

/* ─── LOADING ─── */
.loading-spinner {
  display: flex; align-items: center; justify-content: center;
  padding: 4rem; color: var(--muted); font-size: 13px;
}

/* ─── MODAL ─── */
.modal-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(0,0,0,0.7); backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  padding: 1.5rem; opacity: 0; pointer-events: none;
  transition: opacity .25s;
}
.modal-overlay.open { opacity: 1; pointer-events: auto; }
.modal-panel {
  background: var(--bg2); border: 1px solid var(--border2);
  border-radius: var(--radius); max-width: 520px; width: 100%;
  max-height: 85vh; overflow-y: auto;
  transform: translateY(20px);
  transition: transform .3s cubic-bezier(0.16,1,0.3,1);
}
.modal-overlay.open .modal-panel { transform: translateY(0); }
.modal-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem 1.5rem; border-bottom: 1px solid var(--border);
}
.modal-title {
  font-family: 'DM Serif Display', serif;
  font-size: 20px; font-weight: 400; color: var(--gold);
}
.modal-close {
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: 50%; width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); cursor: pointer; font-size: 14px;
  transition: all .2s;
}
.modal-close:hover { border-color: var(--border2); color: var(--text); }
.modal-body { padding: 1.5rem; }
.modal-footer {
  padding: 1rem 1.5rem; border-top: 1px solid var(--border);
  display: flex; gap: 8px; justify-content: flex-end;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 600px) {
  .nav { padding: 0 0.75rem; height: 62px; gap: 6px; }
  .nav-logo { height: 42px; max-width: 260px; flex-shrink: 1; min-width: 0; }
  .nav-links { gap: 4px; flex-shrink: 0; }
  .nav-link { font-size: 11px; padding: 5px 8px; }
  /* Log In and Sign Up side by side, never wrapping */
  .btn-primary.btn-sm { padding: 6px 12px; font-size: 12px; white-space: nowrap; }
  .nav-avatar { width: 30px; height: 30px; font-size: 10px; }
  .dash-page, .create-page, .join-page { padding: 1.5rem 1rem; }
  .landing-actions { flex-direction: column; align-items: center; }
  .landing-features { padding: 3rem 1rem; }
  .co-stats { grid-template-columns: repeat(2, 1fr); }
  .co-stat { padding: 0.75rem 0.5rem; }
  .co-stat-val { font-size: 22px; }
  .league-card-main { padding: 1rem; gap: 10px; }
  .league-card-actions { padding: 0.5rem 1rem 0.6rem; gap: 6px; flex-wrap: wrap; }
  .lca-btn { font-size: 10px; padding: 3px 8px; }
}

/* Extra-narrow phones: hide Admin link to make room for avatar */
@media (max-width: 420px) {
  .nav-logo { max-width: 210px; }
  .nav-link[href="/admin"] { display: none; }
}

/* ─── PASSWORD DISPLAY ─── */
.pw-display-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex: 1;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  font-family: 'DM Mono', monospace;
  font-size: 15px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.05em;
}
.pw-reveal-btn {
  background: transparent;
  border: none;
  color: var(--muted);
  font-size: 11px;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 4px;
  white-space: nowrap;
  transition: color .15s;
}
.pw-reveal-btn:hover { color: var(--text); }

/* ─── JOIN STATE CARDS (no tiers / locked) ─── */
.join-state-wrap {
  min-height: calc(100vh - 62px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
}
.join-state-card {
  background: var(--bg2);
  border: 1px solid var(--border2);
  border-radius: var(--radius);
  padding: 3rem 2.5rem;
  text-align: center;
  max-width: 480px;
  width: 100%;
}

/* ─── INVITE LANDING PAGE ─── */
.invite-landing {
  min-height: calc(100vh - 62px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
}
.invite-landing-card {
  max-width: 480px;
  width: 100%;
  text-align: center;
}
.invite-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  background: var(--gold-bg);
  border: 1px solid var(--gold-border);
  border-radius: 20px;
  padding: 4px 14px;
  margin-bottom: 1.25rem;
}
.invite-league-name {
  font-family: 'DM Serif Display', serif;
  font-size: 32px;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 6px;
}
.invite-tourney {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 2.5rem;
}
.invite-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.invite-option {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 1.25rem 1.5rem;
  background: var(--bg2);
  border: 1px solid var(--border2);
  border-radius: var(--radius);
  text-decoration: none;
  cursor: pointer;
  transition: all .2s;
  text-align: left;
}
.invite-option:hover {
  border-color: var(--border3);
  background: var(--bg3);
  transform: translateY(-1px);
}
.invite-option-primary {
  border-color: var(--gold-border);
  background: var(--gold-bg);
}
.invite-option-primary:hover {
  border-color: var(--gold);
  background: rgba(201,168,76,0.12);
}
.invite-option-disabled {
  opacity: 0.5;
  cursor: default;
}
.invite-option-disabled:hover {
  transform: none;
  background: var(--bg2);
  border-color: var(--border2);
}
.invite-option-icon {
  font-size: 28px;
  flex-shrink: 0;
}
.invite-option-body {
  flex: 1;
}
.invite-option-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 3px;
}
.invite-option-primary .invite-option-title {
  color: var(--gold);
}
.invite-option-desc {
  font-size: 13px;
  color: var(--muted);
}
.invite-option-arrow {
  font-size: 18px;
  color: var(--faint);
}

/* ─── SKELETON LOADERS ─── */
@keyframes skeleton-pulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.7; }
}
.skeleton {
  background: var(--bg3);
  border-radius: 6px;
  animation: skeleton-pulse 1.4s ease-in-out infinite;
}
.skel-line { height: 12px; border-radius: 4px; }
.skel-line-lg { height: 18px; border-radius: 4px; }

/* Dashboard skeleton card */
.skel-dash-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin-bottom: 12px;
  display: flex;
  gap: 16px;
  align-items: center;
}
.skel-dash-card .skeleton { flex: 1; }
.skel-circle { width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0; }

/* Leaderboard row skeleton */
.skel-board-row {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 6px;
  display: flex;
  gap: 14px;
  align-items: center;
}

/* ─── GENERATED AVATARS ─── */
.gen-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-family: 'DM Mono', monospace;
  font-weight: 600;
  letter-spacing: 0.02em;
  flex-shrink: 0;
  user-select: none;
  line-height: 1;
}
.nav-avatar-btn {
  cursor: pointer;
  transition: transform .15s;
  display: inline-flex;
}
.nav-avatar-btn:hover { transform: scale(1.05); }

/* ─── EMPTY HERO ─── */
.empty-hero {
  text-align: center;
  padding: 3rem 1.5rem 4rem;
  max-width: 520px;
  margin: 0 auto;
}
.empty-hero-graphic {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.empty-hero-flag {
  font-size: 56px;
  z-index: 2;
  position: relative;
  filter: drop-shadow(0 4px 12px rgba(201,168,76,0.3));
}
.empty-hero-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,168,76,0.15) 0%, transparent 60%);
  animation: empty-pulse 3s ease-in-out infinite;
}
@keyframes empty-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.15); opacity: 0.7; }
}
.empty-hero-title {
  font-family: 'DM Serif Display', serif;
  font-size: 32px;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 12px;
}
.empty-hero-desc {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}
.empty-hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 2.5rem;
}
.empty-hero-secondary {
  font-size: 13px;
  color: var(--faint);
  text-decoration: none;
  transition: color .15s;
}
.empty-hero-secondary:hover { color: var(--muted); }
.empty-hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.empty-feature {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--muted);
}
.empty-feature-icon { font-size: 14px; }

/* ─── PULL TO REFRESH ─── */
.ptr-indicator {
  position: fixed;
  top: 70px;
  left: 50%;
  transform: translateX(-50%) translateY(0);
  background: var(--bg2);
  border: 1px solid var(--border2);
  border-radius: 20px;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  opacity: 0;
  pointer-events: none;
  z-index: 500;
  transition: transform .2s ease-out, opacity .2s;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}
.ptr-arrow {
  display: inline-block;
  transition: transform .2s;
}
.ptr-indicator.ptr-ready {
  border-color: var(--gold-border);
  color: var(--gold);
}
.ptr-indicator.ptr-ready .ptr-arrow {
  transform: rotate(180deg);
}

/* ─── CONFETTI ─── */
.confetti-root {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  overflow: hidden;
}
.confetti-piece {
  position: absolute;
  top: -20px;
  width: 8px;
  height: 14px;
  border-radius: 2px;
  opacity: 0;
}
@keyframes confetti-fall {
  0% { top: -20px; opacity: 1; transform: rotate(var(--rot-start)); }
  100% { top: 105vh; left: var(--end-x); opacity: 0; transform: rotate(var(--rot-end)); }
}

/* ─── ADMIN EMPTY CTA ─── */
.admin-empty-cta {
  text-align: center;
  padding: 3rem 1.5rem;
  background: var(--bg2);
  border: 1px dashed var(--border2);
  border-radius: var(--radius);
}
.admin-empty-icon {
  font-size: 42px;
  margin-bottom: 14px;
  filter: drop-shadow(0 4px 10px rgba(201,168,76,0.25));
}
.admin-empty-title {
  font-family: 'DM Serif Display', serif;
  font-size: 22px;
  color: var(--text);
  margin-bottom: 10px;
}
.admin-empty-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0 auto 1.5rem;
  max-width: 360px;
}
.admin-empty-hint {
  font-size: 12px;
  color: var(--faint);
  margin-top: 14px;
}
.admin-empty-hint a {
  color: var(--gold);
  text-decoration: none;
}
.admin-empty-hint a:hover { text-decoration: underline; }