/* Caniverse Hub — professional hub theme (btcs.gg inspired) */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,400;0,500;0,600;0,700;0,800;1,500&display=swap');

:root {
  --bg-deep: #000000;
  --bg-surface: #050505;
  --bg-elevated: #0a0a0a;
  --bg-card: #0d0d0d;
  --bg-card-alt: #080808;
  --border: #1a1a1a;
  --border-subtle: rgba(0, 255, 127, 0.16);
  --text: #f0fdf4;
  --text-muted: #9ca3af;
  --text-dim: #6b7280;
  --neon: #00ff7f;
  --neon-soft: #39ff9f;
  --neon-dim: #00cc66;
  --purple: #a855f7;
  --purple-deep: #7b5cff;
  --gold: #00ff7f;
  --gold-soft: #39ff9f;
  --gold-bright: #7dffbf;
  --gold-dim: #00cc66;
  --pink: #ec4899;
  --green-live: #00ff7f;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --shadow-card: 0 18px 48px rgba(0, 0, 0, 0.55);
  --shadow-glow: 0 0 80px rgba(0, 255, 127, 0.12);
  --container: 72rem;
  --font: 'Montserrat', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg-deep);
  background-image:
    radial-gradient(ellipse 90% 55% at 50% -15%, rgba(0, 255, 127, 0.11), transparent 58%),
    radial-gradient(ellipse 50% 40% at 100% 0%, rgba(168, 85, 247, 0.12), transparent 52%),
    radial-gradient(ellipse 45% 35% at 0% 100%, rgba(0, 255, 127, 0.06), transparent 50%),
    linear-gradient(180deg, #000 0%, #030303 40%, #000 100%);
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

body > * {
  position: relative;
  z-index: 1;
}

img { max-width: 100%; height: auto; display: block; }

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

.gold-gradient-text,
.accent-gradient-text {
  background: linear-gradient(135deg, var(--neon-soft), var(--neon), var(--purple));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.page-container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.25rem;
}

@media (min-width: 768px) {
  .page-container { padding: 0 2rem; }
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(20px) saturate(1.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
}

.site-header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0.875rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

@media (min-width: 768px) {
  .site-header-inner { padding: 1rem 2rem; }
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.brand-logo {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  object-fit: cover;
  object-position: center;
  flex-shrink: 0;
  background: #000;
}

.brand-title {
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--neon);
  line-height: 1.2;
}

.brand-sub {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  line-height: 1.3;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 0.125rem;
}

@media (min-width: 900px) {
  .nav-desktop { display: flex; }
}

.nav-link,
.mobile-nav-link {
  padding: 0.5rem 0.875rem;
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.2s, background 0.2s;
}

.nav-link:hover,
.mobile-nav-link:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.nav-link--active,
.mobile-nav-link--active {
  color: var(--neon);
  background: rgba(0, 255, 127, 0.08);
}

.header-actions {
  display: none;
  align-items: center;
  gap: 0.75rem;
}

@media (min-width: 900px) {
  .header-actions { display: flex; }
}

.header-cta {
  padding: 0.5625rem 1.125rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: transparent;
  color: var(--neon);
  border: 1px solid rgba(0, 255, 127, 0.45);
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
  white-space: nowrap;
}

.header-cta:hover {
  transform: translateY(-1px);
  background: rgba(0, 255, 127, 0.08);
  box-shadow: 0 8px 24px rgba(0, 255, 127, 0.18);
}

.menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text);
  flex-shrink: 0;
}

@media (min-width: 900px) {
  .menu-btn { display: none; }
}

.nav-mobile {
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  padding: 0.75rem 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.nav-mobile-cta {
  margin-top: 0.5rem;
  text-align: center;
}

/* Hero */
.hero {
  position: relative;
  padding: 3.5rem 0 4rem;
  overflow: hidden;
}

@media (min-width: 768px) {
  .hero { padding: 5rem 0 5.5rem; }
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3rem;
  }
}

.hero-eyebrow,
.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.hero-badge--live,
.live-badge.hero-badge--live {
  border-color: rgba(34, 197, 94, 0.45);
  background: rgba(34, 197, 94, 0.1);
  color: var(--green-live);
}

@media (prefers-reduced-motion: no-preference) {
  .hero-badge--live::before,
  .live-badge.hero-badge--live::before {
    animation: pulse-live 2s ease infinite;
  }
}

.hero-badge--live::before,
.live-badge.hero-badge--live::before {
  content: '';
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--green-live);
  box-shadow: 0 0 10px var(--green-live);
}

@keyframes pulse-live {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

.hero-title,
.page-heading {
  margin: 1rem 0 0;
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.hero-title--visible {
  margin-top: 0.75rem;
}

.hero-lead,
.page-lead {
  margin-top: 1rem;
  max-width: 34rem;
  font-size: 1.0625rem;
  line-height: 1.65;
  font-weight: 500;
  color: var(--text-muted);
}

.hero-meta {
  margin-top: 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-dim);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.hero-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.hero-logo-wrap {
  margin-top: 1rem;
  max-width: 22rem;
}

.hero-logo {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 0 28px rgba(0, 255, 127, 0.22));
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero-card {
  padding: 1.5rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-subtle);
  background: linear-gradient(155deg, rgba(12, 12, 12, 0.98) 0%, rgba(0, 0, 0, 0.99) 55%, rgba(0, 40, 24, 0.15) 100%);
  box-shadow: var(--shadow-card), var(--shadow-glow);
  position: relative;
  overflow: hidden;
}

.hero-card::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(0, 255, 127, 0.35), transparent 40%, rgba(168, 85, 247, 0.25));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.hero-code-panel {
  margin-top: 0;
  padding: 1.125rem 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(0, 255, 127, 0.28);
  background: rgba(0, 255, 127, 0.04);
  text-align: center;
}

.hero-code-label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.hero-code-value {
  display: block;
  margin-top: 0.35rem;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: var(--gold);
}

.hero-code-sub {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
}

/* Sections */
.page-hero {
  padding: 3rem 0 2.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.page-hero--compact {
  padding: 2.75rem 0 2rem;
}

.page-section {
  padding: 4rem 0;
}

.page-section--alt {
  background: rgba(12, 18, 32, 0.55);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.section-head {
  max-width: 40rem;
  margin-bottom: 2rem;
}

.section-head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--neon);
}

.section-title {
  margin-top: 0.5rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}

.section-desc {
  margin-top: 0.625rem;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.6;
  color: var(--text-muted);
}

/* Cards */
.card-panel,
.feature-card,
.stake-card,
.schedule-card {
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  transition: border-color 0.2s, transform 0.2s;
}

@media (min-width: 640px) {
  .card-panel,
  .feature-card,
  .stake-card,
  .schedule-card { padding: 1.75rem 2rem; }
}

.feature-card {
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(0, 255, 127, 0.08), transparent 65%);
  opacity: 0;
  transition: opacity 0.25s;
  pointer-events: none;
}

.feature-card:hover {
  border-color: rgba(0, 255, 127, 0.35);
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4), 0 0 32px rgba(0, 255, 127, 0.08);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .feature-grid { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius-sm);
  background: rgba(0, 255, 127, 0.1);
  border: 1px solid rgba(0, 255, 127, 0.25);
  font-size: 1.125rem;
  margin-bottom: 1rem;
}

.feature-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}

.feature-copy {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.55;
  color: var(--text-muted);
}

.feature-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--neon);
}

.feature-link:hover { color: var(--gold-bright); }

.stake-card {
  border-color: rgba(0, 255, 127, 0.22);
  box-shadow: var(--shadow-card);
}

.stake-layout {
  display: grid;
  gap: 2rem;
}

@media (min-width: 900px) {
  .stake-layout {
    grid-template-columns: 1fr 1fr;
    align-items: start;
    gap: 2.5rem;
  }
}

.stake-code-block {
  padding: 1.5rem;
  border-radius: var(--radius-md);
  border: 1px dashed rgba(0, 255, 127, 0.35);
  background: rgba(0, 255, 127, 0.04);
  text-align: center;
}

.stake-code-block .hero-code-value {
  font-size: 2.5rem;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
}

/* Buttons */
.btn-primary,
.btn-secondary,
.btn-outline,
.btn-ghost,
.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.6875rem 1.25rem;
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 0.8125rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s, background 0.2s, border-color 0.2s, color 0.2s;
  border: 1px solid transparent;
}

.btn-lg {
  padding: 0.8125rem 1.5rem;
  font-size: 0.875rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--neon-soft), var(--neon));
  color: #000;
  border-color: rgba(0, 255, 127, 0.5);
  box-shadow: 0 10px 28px rgba(0, 255, 127, 0.2);
}

.btn-primary:hover { transform: translateY(-1px); }

.btn-primary:disabled,
.btn-outline:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

.btn-secondary {
  background: rgba(0, 255, 127, 0.08);
  color: var(--neon);
  border-color: rgba(0, 255, 127, 0.3);
}

.btn-secondary:hover {
  background: rgba(0, 255, 127, 0.14);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.btn-outline:hover {
  border-color: rgba(151, 191, 210, 0.35);
  background: rgba(255, 255, 255, 0.03);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  border-color: var(--border-subtle);
}

.btn-ghost:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
}

.social-btn {
  padding: 0.5rem 0.9rem;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-muted);
  border-color: var(--border-subtle);
  font-weight: 600;
}

.social-btn:hover {
  color: var(--text);
  border-color: rgba(151, 191, 210, 0.3);
  background: rgba(255, 255, 255, 0.06);
}

.stake-bullet {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-muted);
}

.stake-bullet-dot {
  margin-top: 0.45rem;
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 50%;
  background: var(--neon);
  flex-shrink: 0;
}

.affiliate-commission {
  padding: 1rem 1.125rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: rgba(0, 0, 0, 0.35);
}

.affiliate-commission-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.affiliate-commission-title {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
}

.affiliate-commission-updated {
  margin: 0;
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--text-dim);
}

.affiliate-commission-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8125rem;
}

.affiliate-commission-table th,
.affiliate-commission-table td {
  padding: 0.5rem 0.375rem;
  text-align: right;
  border-bottom: 1px solid var(--border-subtle);
}

.affiliate-commission-table thead th {
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.affiliate-commission-table thead th:first-child,
.affiliate-commission-table tbody th {
  text-align: left;
}

.affiliate-commission-table tbody tr:last-child th,
.affiliate-commission-table tbody tr:last-child td {
  border-bottom: none;
}

.affiliate-commission-table td {
  font-family: ui-monospace, monospace;
  font-weight: 700;
  color: var(--text);
}

.affiliate-currency {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 800;
}

.affiliate-currency--sc { color: var(--neon); }
.affiliate-currency--gc { color: var(--gold-bright, #f5c518); }

.affiliate-commission-note {
  margin: 0.625rem 0 0;
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--text-dim);
}

.referral-input {
  width: 100%;
  padding: 0.8125rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  font-family: ui-monospace, monospace;
  font-size: 0.8125rem;
  color: var(--gold);
}

.day-pill {
  display: inline-flex;
  min-width: 2.875rem;
  justify-content: center;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  background: var(--bg-elevated);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-dim);
}

.day-pill--active {
  border-color: rgba(0, 255, 127, 0.4);
  background: rgba(0, 255, 127, 0.1);
  color: var(--gold);
}

.schedule-time {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--gold);
  letter-spacing: -0.02em;
}

.schedule-tz {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* About */
.about-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 900px) {
  .about-grid { grid-template-columns: 300px 1fr; gap: 2rem; }
}

.about-logo-img,
.about-profile-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background: #000;
  aspect-ratio: 1;
  object-fit: cover;
}

.about-lead { max-width: 42rem; }
.about-name { font-size: 1.125rem; font-weight: 800; margin: 0; }
.about-handle {
  margin: 0.25rem 0 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
}
.about-handle--x { color: var(--neon-soft); }
.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}
.about-story > * + * { margin-top: 1rem; }
.about-schedule {
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
}
.about-schedule-label {
  margin: 0;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--neon);
}
.about-schedule-days {
  margin: 0.35rem 0 0;
  font-size: 0.9375rem;
  font-weight: 700;
}
.about-schedule-time {
  margin: 0.2rem 0 0;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.about-paragraph {
  line-height: 1.75;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-muted);
}

.tag-pill {
  display: inline-block;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-elevated);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* Leaderboard */
.tab-group {
  display: inline-flex;
  gap: 0.25rem;
  padding: 0.25rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  background: var(--bg-elevated);
}

.tab-btn {
  padding: 0.4375rem 0.875rem;
  border: none;
  border-radius: 8px;
  background: transparent;
  font-family: var(--font);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-dim);
  cursor: pointer;
}

.tab-btn--active {
  background: rgba(0, 255, 127, 0.14);
  color: var(--gold);
}

.leaderboard-row--full {
  display: grid;
  grid-template-columns: 3rem 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.125rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: var(--bg-elevated);
}

.lb-rank {
  font-weight: 800;
  font-size: 0.875rem;
}

.lb-rank.rank-gold { color: var(--gold); }
.lb-rank.rank-silver { color: #c0c8d8; }
.lb-rank.rank-bronze { color: #cd7f32; }

.lb-name {
  font-weight: 600;
  font-size: 0.9375rem;
}

.lb-stat {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-muted);
  text-align: right;
}

.leaderboard-row--empty {
  display: block;
  text-align: center;
  padding: 2rem 1.5rem;
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.6;
}

/* Footer */
.site-footer {
  padding: 3.5rem 0 2.5rem;
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-surface);
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 2.5rem;
  }
}

.footer-brand-copy {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 22rem;
}

.footer-col-title {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 0.875rem;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
}

.footer-link:hover { color: var(--gold); }

.footer-social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.footer-legal {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-dim);
}

.footer-code {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.08em;
}

/* Live player */
.live-player-wrap {
  padding: 0;
  overflow: hidden;
  border-color: rgba(0, 255, 136, 0.3);
  border-radius: var(--radius-lg);
}

#live-player {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 220px;
  border: none;
  background: #000;
}

/* Toast */
.copy-toast {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  z-index: 100;
  transform: translateX(-50%) translateY(1rem);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(0, 255, 136, 0.35);
  background: rgba(10, 10, 10, 0.96);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--neon);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s;
}

.copy-toast--visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 899px) {
  .copy-toast {
    bottom: calc(4.5rem + env(safe-area-inset-bottom, 0px));
    z-index: 10001;
  }
}

.btn-block { width: 100%; }

.hidden { display: none !important; }

body.nav-open {
  overflow: hidden;
}

.skip-to-main {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-to-main:focus {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 10002;
  width: auto;
  height: auto;
  padding: 0.625rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--neon);
  background: #000;
  color: var(--neon);
  font-size: 0.8125rem;
  font-weight: 700;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible,
select:focus-visible,
input:focus-visible,
.hub-sticky-link:focus-visible,
.decide-chip:focus-visible,
.tab-btn:focus-visible,
.menu-btn:focus-visible {
  outline: 2px solid var(--neon);
  outline-offset: 2px;
}

/* Decide — bonus hunt (green hub + virtual reel) */
[data-page="decide"],
[data-page="chooser"] {
  --decide-panel: var(--bg-card);
  --decide-surface: var(--bg-elevated);
}

.decide-main {
  padding: 1.25rem 0 3rem;
}

.decide-stage-wrap {
  max-width: 52rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.decide-stage-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  padding-bottom: 0.875rem;
  border-bottom: 1px solid var(--border-subtle);
}

.decide-head-title {
  margin: 0;
  font-size: clamp(1.375rem, 4vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.decide-mode-select {
  flex-shrink: 0;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  background: var(--bg-deep);
  font-family: var(--font);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
}

.decide-mode-select:focus {
  outline: none;
  border-color: var(--neon);
}

.decide-catalog-status {
  margin: 0 0 0.875rem;
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--text-dim);
  font-family: ui-monospace, monospace;
}

.decide-tips-line {
  margin: 0.75rem 0 0;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--text-dim);
  line-height: 1.5;
}

.decide-tips-line strong {
  color: var(--neon-soft);
  font-weight: 800;
}

.decide-stage {
  padding: 1.5rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-subtle);
  background: linear-gradient(165deg, rgba(10, 10, 10, 0.98), rgba(5, 5, 5, 0.99));
  box-shadow: var(--shadow-card), var(--shadow-glow);
}

.decide-phase {
  margin: 0 0 0.5rem;
  text-align: center;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  min-height: 1.5rem;
}

.decide-ai-insight {
  margin: 0 0 1rem;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-dim);
  line-height: 1.5;
}

.decide-ai-insight--result {
  margin: 0.5rem 0 0;
  text-align: left;
  color: var(--neon-soft);
}

.decide-smart-block {
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.decide-smart-title {
  margin: 0 0 0.625rem;
  font-size: 0.8125rem;
  font-weight: 800;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.decide-smart-badge {
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  background: rgba(0, 255, 127, 0.15);
  border: 1px solid var(--border-subtle);
  font-size: 0.5625rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--neon);
}

.decide-clear-history {
  width: 100%;
  margin-top: 0.5rem;
}

.decide-result--chooser {
  border-color: rgba(0, 255, 127, 0.35);
  background: linear-gradient(165deg, rgba(8, 12, 10, 0.98), rgba(5, 8, 6, 0.99));
}

.decide-chooser-hero {
  display: flex;
  gap: 1.25rem;
  align-items: center;
}

.decide-chooser-copy {
  flex: 1;
  min-width: 0;
}

.decide-chooser-bet {
  margin: 0.625rem 0 0;
  font-family: ui-monospace, monospace;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--neon);
  letter-spacing: 0.02em;
}

.decide-chooser-reason {
  margin: 1rem 0 0;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  background: rgba(0, 255, 127, 0.04);
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--neon-soft);
}

.decide-bet-range-block {
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.decide-range-hint--inline {
  margin: -0.25rem 0 0.75rem;
}

.decide-chooser-thumb {
  flex-shrink: 0;
  width: 7.5rem;
  height: 7.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  object-fit: cover;
  background: var(--bg-deep);
}

.decide-highlight {
  color: var(--neon);
}

.reel-block {
  position: relative;
  margin-bottom: 0.75rem;
}

.reel-block--bet {
  margin-top: 0.5rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}

.reel-block-label {
  margin: 0 0 0.5rem;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.reel-stage {
  position: relative;
  overflow: hidden;
  height: 200px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, #0a0a0a 0%, #050505 100%);
  transition: border-color 0.3s, box-shadow 0.3s;
}

.reel-stage--spinning {
  border-color: rgba(0, 255, 127, 0.45);
  box-shadow: inset 0 0 40px rgba(0, 255, 127, 0.06), 0 0 28px rgba(0, 255, 127, 0.12);
}

.reel-stage--spinning::before {
  animation: reel-edge-pulse 0.8s ease-in-out infinite alternate;
}

.reel-stage--landed {
  border-color: var(--neon);
  box-shadow: 0 0 36px rgba(0, 255, 127, 0.2);
}

@keyframes reel-edge-pulse {
  from { opacity: 0.75; }
  to { opacity: 1; }
}

.reel-stage--bet {
  height: 120px;
}

.reel-stage::before,
.reel-stage::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 28%;
  z-index: 2;
  pointer-events: none;
}

.reel-stage::before {
  left: 0;
  background: linear-gradient(90deg, #0a0a0a 0%, transparent 100%);
}

.reel-stage::after {
  right: 0;
  background: linear-gradient(270deg, #0a0a0a 0%, transparent 100%);
}

.reel-stage--spinning .reel-card--center {
  filter: blur(var(--reel-motion-blur, 0));
}

.reel-track {
  position: absolute;
  top: 50%;
  left: 0;
  display: flex;
  align-items: center;
  gap: 14px;
  transform: translate3d(0, -50%, 0);
  will-change: transform;
  backface-visibility: hidden;
}

.reel-stage--spinning .reel-track {
  transition: none;
}

.reel-stage--spinning .reel-card {
  transition: none;
}

.reel-pointer {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  z-index: 5;
  filter: drop-shadow(0 2px 8px rgba(0, 255, 127, 0.45));
}

.reel-pointer--top {
  top: 0;
  border-bottom: 12px solid var(--neon);
}

.reel-pointer--bottom {
  bottom: 0;
  border-top: 12px solid var(--neon);
}

.reel-stage .reel-center-line {
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, transparent, var(--neon) 20%, var(--neon) 80%, transparent);
  opacity: 0.55;
  z-index: 4;
  pointer-events: none;
  box-shadow: 0 0 12px rgba(0, 255, 127, 0.5);
}

.reel-card {
  flex-shrink: 0;
  width: 156px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--bg-card);
  overflow: hidden;
  transition: transform 0.15s ease, border-color 0.15s, box-shadow 0.15s, opacity 0.15s, filter 0.15s;
}

.reel-card--adjacent {
  opacity: 0.82;
  transform: scale(0.96);
  filter: saturate(0.85);
}

.reel-card--far {
  opacity: 0.45;
  transform: scale(0.88);
  filter: saturate(0.5) blur(0.3px);
}

.reel-stage--bet .reel-card {
  width: 104px;
  height: 88px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.reel-card--center {
  border-color: rgba(0, 255, 127, 0.35);
  transform: scale(1.04);
}

.reel-card--landed {
  border-color: var(--neon);
  box-shadow: 0 0 0 2px rgba(0, 255, 127, 0.35), 0 12px 28px rgba(0, 255, 127, 0.12);
  animation: reel-land-pop 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

@keyframes reel-land-pop {
  0% { transform: scale(1.02); }
  45% { transform: scale(1.1); }
  100% { transform: scale(1.06); }
}

.reel-thumb-wrap {
  height: 118px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #0d0d0d, #1a1a1a);
}

.reel-thumb {
  background: #111;
}

.reel-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reel-thumb-fallback {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-dim);
}

.reel-name {
  margin: 0;
  padding: 0.5rem 0.625rem 0.625rem;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.reel-bet-val {
  font-family: ui-monospace, monospace;
  font-size: 1.25rem;
  font-weight: 800;
}

.reel-bet-unit {
  margin-top: 0.15rem;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--neon);
}

.decide-spin-cta {
  width: 100%;
  margin-top: 0.75rem;
  min-height: 3.25rem;
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  position: relative;
  overflow: hidden;
}

.decide-spin-cta:not(:disabled):not(.decide-spin-cta--busy)::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.22) 50%, transparent 65%);
  transform: translateX(-120%);
  animation: cta-shine 4s ease-in-out infinite;
}

@keyframes cta-shine {
  0%, 70% { transform: translateX(-120%); }
  100% { transform: translateX(120%); }
}

.decide-spin-cta--busy {
  opacity: 0.7;
  cursor: not-allowed;
}

.decide-hint {
  margin: 0.625rem 0 0;
  text-align: center;
  font-size: 0.6875rem;
  color: var(--text-dim);
}

.decide-hint kbd {
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  font-family: ui-monospace, monospace;
  font-size: 0.625rem;
}

.decide-error {
  margin-top: 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #f87171;
  line-height: 1.5;
}

/* Bonus hunt — futuristic HUD + board */
.decide-stage--hunt {
  border-color: rgba(0, 255, 127, 0.18);
}

@media (prefers-reduced-motion: no-preference) {
  .decide-stage--hunt-active {
    box-shadow: var(--shadow-card), 0 0 48px rgba(0, 255, 127, 0.08);
    animation: hunt-stage-pulse 2.4s ease-in-out infinite;
  }
}

@keyframes hunt-stage-pulse {
  0%, 100% { border-color: rgba(0, 255, 127, 0.18); }
  50% { border-color: rgba(0, 255, 127, 0.38); }
}

.hunt-hud {
  margin-bottom: 1rem;
  padding: 0.875rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(0, 255, 127, 0.2);
  background: linear-gradient(135deg, rgba(0, 255, 127, 0.06), rgba(0, 0, 0, 0.4));
}

.hunt-hud-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.625rem;
}

.hunt-hud-label {
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--neon-soft);
}

.hunt-hud-count {
  font-family: ui-monospace, monospace;
  font-size: 0.8125rem;
  font-weight: 800;
  color: var(--neon);
}

.hunt-progress-track {
  display: flex;
  gap: 0.35rem;
}

.hunt-progress-seg {
  flex: 1;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  transition: background 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
}

.hunt-progress-seg--active {
  background: rgba(0, 255, 127, 0.35);
  box-shadow: 0 0 12px rgba(0, 255, 127, 0.35);
  animation: hunt-seg-pulse 0.9s ease-in-out infinite;
}

.hunt-progress-seg--done {
  background: linear-gradient(90deg, var(--neon-soft), var(--neon));
  box-shadow: 0 0 10px rgba(0, 255, 127, 0.4);
}

@keyframes hunt-seg-pulse {
  0%, 100% { opacity: 0.65; }
  50% { opacity: 1; }
}

.hunt-lock {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin: 0.75rem 0 0;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(0, 255, 127, 0.45);
  background: linear-gradient(180deg, rgba(0, 255, 127, 0.12), rgba(0, 255, 127, 0.04));
  box-shadow: 0 0 28px rgba(0, 255, 127, 0.15);
  animation: hunt-lock-in 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes hunt-lock-in {
  from { opacity: 0; transform: scale(0.96) translateY(6px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.hunt-lock-tag {
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.hunt-lock-bet {
  font-family: ui-monospace, monospace;
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--neon);
  text-shadow: 0 0 20px rgba(0, 255, 127, 0.45);
}

.hunt-board {
  display: grid;
  gap: 0.625rem;
  margin-top: 1.25rem;
}

.hunt-board--n1,
.hunt-board--n2 { grid-template-columns: 1fr; }
.hunt-board--n3,
.hunt-board--n4 { grid-template-columns: repeat(2, 1fr); }
.hunt-board--n5,
.hunt-board--n6 { grid-template-columns: repeat(2, 1fr); }
.hunt-board--n7,
.hunt-board--n8,
.hunt-board--n9,
.hunt-board--n10,
.hunt-board--n11,
.hunt-board--n12 { grid-template-columns: repeat(3, 1fr); }

@media (min-width: 640px) {
  .hunt-board--n5,
  .hunt-board--n6 { grid-template-columns: repeat(3, 1fr); }
}

.hunt-slot {
  position: relative;
  display: grid;
  grid-template-columns: 1.75rem 2.5rem 1fr auto;
  align-items: center;
  gap: 0.5rem;
  min-height: 4.25rem;
  padding: 0.625rem 0.75rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: rgba(8, 8, 8, 0.85);
  overflow: hidden;
}

.hunt-slot::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(0, 255, 127, 0.06) 50%, transparent 60%);
  transform: translateX(-100%);
  pointer-events: none;
}

.hunt-slot--pending::before {
  animation: hunt-slot-scan 2.2s ease-in-out infinite;
}

@keyframes hunt-slot-scan {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.hunt-slot--pending {
  border-style: dashed;
  border-color: rgba(0, 255, 127, 0.2);
  opacity: 0.85;
}

.hunt-slot--locked {
  border-color: rgba(0, 255, 127, 0.4);
  background: linear-gradient(145deg, rgba(0, 255, 127, 0.08), rgba(5, 5, 5, 0.95));
  box-shadow: 0 0 20px rgba(0, 255, 127, 0.1);
  animation: hunt-slot-lock 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes hunt-slot-lock {
  from { opacity: 0.4; transform: scale(0.97); }
  to { opacity: 1; transform: scale(1); }
}

.hunt-slot-rank {
  font-family: ui-monospace, monospace;
  font-size: 0.6875rem;
  font-weight: 800;
  color: var(--text-dim);
}

.hunt-slot--locked .hunt-slot-rank {
  color: var(--neon);
}

.hunt-slot-thumb {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid rgba(0, 255, 127, 0.25);
}

.hunt-slot-thumb-fallback {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 800;
  color: var(--neon-soft);
  background: rgba(0, 255, 127, 0.08);
  border: 1px solid rgba(0, 255, 127, 0.2);
}

.hunt-slot-body {
  min-width: 0;
}

.hunt-slot-placeholder {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.hunt-slot-name {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hunt-slot-meta {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.625rem;
  color: var(--text-dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hunt-slot-bet {
  font-family: ui-monospace, monospace;
  font-size: 0.8125rem;
  font-weight: 800;
  color: var(--neon);
  white-space: nowrap;
}

.decide-result--hunt {
  border-color: rgba(0, 255, 127, 0.35);
  background: linear-gradient(165deg, rgba(8, 14, 10, 0.98), rgba(4, 6, 5, 0.99));
}

.hunt-complete-hero {
  text-align: center;
}

.hunt-complete-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.hunt-stat-pill {
  min-width: 8rem;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(0, 255, 127, 0.25);
  background: rgba(0, 255, 127, 0.05);
}

.hunt-stat-pill-label {
  display: block;
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.hunt-stat-pill-value {
  display: block;
  margin-top: 0.25rem;
  font-family: ui-monospace, monospace;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--neon);
}

.decide-result {
  margin-top: 1.25rem;
  padding: 1.5rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-subtle);
  background: var(--decide-panel);
  box-shadow: var(--shadow-glow);
}

.decide-result-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.decide-result-label {
  margin: 0 0 0.25rem;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--neon);
}

.decide-result-title {
  margin: 0;
  font-size: clamp(1.5rem, 5vw, 2rem);
  font-weight: 900;
  letter-spacing: -0.03em;
}

.decide-result-sub {
  margin: 0.35rem 0 0;
  font-size: 0.8125rem;
  color: var(--text-dim);
}

.decide-result-stats {
  text-align: right;
}

.decide-result-spent {
  margin: 0;
  font-family: ui-monospace, monospace;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--neon);
}

.decide-result-left {
  margin: 0.15rem 0 0;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--neon-soft);
}

.decide-result-actions {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  margin-top: 1.25rem;
}

@media (min-width: 540px) {
  .decide-result-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .decide-result-actions .btn-primary,
  .decide-result-actions .btn-outline {
    flex: 1;
    min-width: 10rem;
  }
}

.decide-reset-btn {
  display: block;
  width: 100%;
  margin-top: 1rem;
  border: none;
  background: none;
  font-family: var(--font);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-dim);
  cursor: pointer;
}

.decide-reset-btn:hover {
  color: var(--text);
}

.decide-drawer {
  margin-top: 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--bg-card);
  overflow: hidden;
}

.decide-drawer summary {
  cursor: pointer;
  padding: 0.875rem 1rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text-muted);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.decide-drawer summary::-webkit-details-marker {
  display: none;
}

.decide-drawer[open] summary {
  border-bottom: 1px solid var(--border);
  color: var(--text);
}

.decide-pool-badge {
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  background: rgba(0, 255, 127, 0.12);
  border: 1px solid var(--border-subtle);
  font-family: ui-monospace, monospace;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--neon);
}

.decide-drawer-body {
  padding: 1rem;
}

.decide-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
}

.decide-chip {
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  font-family: var(--font);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}

.decide-chip:hover {
  border-color: var(--border-subtle);
  color: var(--text);
}

.decide-chip--active {
  border-color: var(--neon);
  background: rgba(0, 255, 127, 0.1);
  color: var(--neon);
  font-weight: 700;
}

.decide-field-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(8rem, 1fr));
  gap: 0.625rem;
  margin-bottom: 0.625rem;
}

.decide-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.decide-field input,
.decide-field select,
.decide-pool-search {
  padding: 0.5rem 0.625rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-deep);
  font-family: var(--font);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
}

.decide-field input:focus,
.decide-field select:focus,
.decide-pool-search:focus {
  outline: none;
  border-color: var(--neon);
}

.decide-sc-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.625rem;
}

.decide-check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
}

.decide-check input {
  accent-color: var(--neon);
}

.decide-range-hint {
  margin: 0.5rem 0 0;
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--text-dim);
  line-height: 1.5;
}

.decide-pool-search {
  width: 100%;
  margin-bottom: 0.75rem;
}

.decide-pool-table {
  overflow-x: auto;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.decide-pool-grid {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.75rem;
}

.decide-pool-grid th,
.decide-pool-grid td {
  padding: 0.5rem 0.625rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.decide-pool-grid th {
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  background: var(--bg-elevated);
}

.decide-pool-grid tr:last-child td {
  border-bottom: none;
}

.decide-pool-name {
  font-weight: 700;
  max-width: 14rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.decide-pool-bets {
  font-family: ui-monospace, monospace;
  font-size: 0.6875rem;
  color: var(--text-muted);
  white-space: nowrap;
}

.decide-pool-empty {
  padding: 1rem;
  text-align: center;
  font-size: 0.8125rem;
  color: var(--text-dim);
}

.decide-pool-more {
  width: 100%;
  margin-top: 0.75rem;
}

.decide-vol {
  display: inline-block;
  padding: 0.15rem 0.4rem;
  border-radius: 999px;
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.vol-high {
  color: var(--pink);
  background: rgba(236, 72, 153, 0.12);
  border: 1px solid rgba(236, 72, 153, 0.25);
}

.vol-medium {
  color: var(--gold);
  background: rgba(0, 255, 127, 0.1);
  border: 1px solid rgba(0, 255, 127, 0.22);
}

.vol-low {
  color: var(--neon);
  background: rgba(0, 255, 136, 0.08);
  border: 1px solid rgba(0, 255, 136, 0.2);
}

.decide-confetti {
  position: fixed;
  top: -20px;
  width: 8px;
  height: 8px;
  z-index: 9999;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .reel-card--landed {
    animation: none;
  }
}

.feature-grid--four,
.feature-grid--five {
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .feature-grid--four { grid-template-columns: repeat(2, 1fr); }
  .feature-grid--five { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .feature-grid--four { grid-template-columns: repeat(4, 1fr); }
  .feature-grid--five { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1200px) {
  .feature-grid--five { grid-template-columns: repeat(5, 1fr); }
}

.feature-card--glow {
  border-color: rgba(0, 255, 127, 0.32);
  background: linear-gradient(165deg, rgba(0, 255, 127, 0.06), var(--bg-card) 55%);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35), 0 0 40px rgba(0, 255, 127, 0.06);
}

/* Hub AI assistant */
.hub-assistant {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 10000;
  font-family: var(--font);
}

.hub-assistant-fab {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0 1.125rem;
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  background: linear-gradient(135deg, #0a0a0a, #111);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.55), 0 0 24px rgba(0, 255, 127, 0.15);
  color: var(--neon);
  font-size: 0.875rem;
  font-weight: 800;
  cursor: pointer;
}

.hub-assistant-fab:hover {
  border-color: var(--neon);
}

.hub-assistant-panel {
  position: absolute;
  bottom: calc(100% + 0.75rem);
  right: 0;
  width: min(22rem, calc(100vw - 2rem));
  max-height: min(28rem, 70vh);
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background: #0a0a0a;
  box-shadow: var(--shadow-card), var(--shadow-glow);
  overflow: hidden;
}

.hub-assistant-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.875rem 1rem;
  border-bottom: 1px solid var(--border);
}

.hub-assistant-title {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 800;
}

.hub-assistant-sub {
  margin: 0.2rem 0 0;
  font-size: 0.6875rem;
  color: var(--text-dim);
  line-height: 1.4;
}

.hub-assistant-close {
  border: none;
  background: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.hub-assistant-toolbar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-bottom: 1px solid var(--border);
  background: var(--bg-elevated);
}

.hub-assistant-lock {
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  font-size: 0.6875rem;
  font-weight: 700;
  cursor: pointer;
}

.hub-assistant-lock-status {
  font-size: 0.625rem;
  font-weight: 600;
  color: var(--text-dim);
}

.hub-assistant-messages {
  flex: 1;
  overflow-y: auto;
  padding: 0.75rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.hub-assistant-msg {
  max-width: 92%;
  padding: 0.5rem 0.75rem;
  border-radius: 10px;
  font-size: 0.8125rem;
  line-height: 1.45;
  white-space: pre-wrap;
}

.hub-assistant-msg--user {
  align-self: flex-end;
  background: rgba(0, 255, 127, 0.12);
  border: 1px solid var(--border-subtle);
}

.hub-assistant-msg--assistant {
  align-self: flex-start;
  background: var(--bg-card);
  border: 1px solid var(--border);
}

.hub-assistant-form {
  display: flex;
  gap: 0.5rem;
  padding: 0.75rem;
  border-top: 1px solid var(--border);
}

.hub-assistant-form input {
  flex: 1;
  min-width: 0;
  padding: 0.5rem 0.625rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-deep);
  color: var(--text);
  font-family: var(--font);
  font-size: 0.8125rem;
}

.hub-assistant-send {
  flex-shrink: 0;
  padding: 0.5rem 0.75rem;
  font-size: 0.75rem;
}

/* Hub showcase strip */
.hub-showcase {
  padding: 3rem 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: linear-gradient(90deg, rgba(0, 255, 127, 0.04) 0%, transparent 45%, rgba(168, 85, 247, 0.05) 100%);
}

.hub-showcase-inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: flex-start;
}

@media (min-width: 768px) {
  .hub-showcase-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.hub-showcase-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.decide-tips p {
  margin: 0 0 0.75rem;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.decide-tips p:last-child {
  margin-bottom: 0;
}

.decide-tips strong {
  color: var(--neon-soft);
  font-weight: 700;
}

.decide-drawer--tips summary .decide-smart-badge {
  margin-left: auto;
}

/* Live stats strip */
.hub-stats-strip {
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(0, 255, 127, 0.03);
  padding: 1.25rem 0;
}

.hub-stats-inner {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  align-items: center;
}

@media (min-width: 768px) {
  .hub-stats-inner {
    grid-template-columns: 1fr 1fr 1fr auto;
    gap: 1.5rem;
  }
}

.hub-stat {
  text-align: center;
}

@media (min-width: 768px) {
  .hub-stat { text-align: left; }
  .hub-stat--cta { text-align: right; }
}

.hub-stat-value {
  display: block;
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--neon);
  letter-spacing: -0.02em;
}

.hub-stat-value--live {
  color: var(--green-live);
  animation: pulse-live 2s ease infinite;
}

.hub-stat-label {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.hub-stat-share {
  font-size: 0.75rem;
  padding: 0.5rem 0.875rem;
}

/* Mobile sticky bar */
.hub-sticky-bar {
  display: flex;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9998;
  padding: 0.5rem 0.75rem calc(0.5rem + env(safe-area-inset-bottom, 0));
  gap: 0.5rem;
  border-top: 1px solid var(--border-subtle);
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(16px);
}

@media (min-width: 900px) {
  .hub-sticky-bar { display: none; }
}

body {
  padding-bottom: calc(3.5rem + env(safe-area-inset-bottom, 0));
}

@media (min-width: 900px) {
  body { padding-bottom: 0; }
}

.hub-sticky-link {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.625rem 0.5rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-card);
  font-family: var(--font);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  text-decoration: none;
  cursor: pointer;
}

.hub-sticky-link--primary {
  border-color: rgba(0, 255, 127, 0.4);
  background: rgba(0, 255, 127, 0.1);
  color: var(--neon);
}

.hub-assistant {
  bottom: calc(4.5rem + env(safe-area-inset-bottom, 0));
}

@media (min-width: 900px) {
  .hub-assistant { bottom: 1.25rem; }
}

/* Layout utilities (replaces Tailwind CDN) */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.inline-flex { display: inline-flex; }
.gap-2 { gap: 0.5rem; }
.gap-4 { gap: 1rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-5 { margin-top: 1.25rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.text-center { text-align: center; }
.text-xs { font-size: 0.75rem; }
.text-base { font-size: 1rem; }
.text-dim { color: var(--text-dim); }
.font-bold { font-weight: 700; }
.space-y-3 > * + * { margin-top: 0.75rem; }
.btn-block-spaced { margin-top: 1rem; }
.referral-input-spaced { margin-top: 1rem; }

@media (min-width: 640px) {
  .sm\:flex-row { flex-direction: row; }
  .sm\:items-center { align-items: center; }
  .sm\:justify-between { justify-content: space-between; }
}

.hub-status-banner {
  padding: 0.625rem 1rem;
  text-align: center;
  font-size: 0.8125rem;
  color: #fbbf24;
  background: rgba(251, 191, 36, 0.12);
  border-bottom: 1px solid rgba(251, 191, 36, 0.25);
}

.hub-stats-note {
  width: 100%;
  margin-top: 0.5rem;
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-dim);
}

.hub-stat-value--loading {
  opacity: 0.45;
  animation: hub-pulse 1.2s ease-in-out infinite;
}

@keyframes hub-pulse {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 0.7; }
}

.decide-rtp {
  display: inline-block;
  padding: 0.12rem 0.35rem;
  border-radius: 999px;
  font-size: 0.5625rem;
  font-weight: 700;
  color: #7dd3fc;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.22);
}

.decide-rtp--na {
  color: var(--text-dim);
  background: transparent;
  border-color: transparent;
}

.decide-inline-link {
  color: var(--neon);
  text-decoration: underline;
}

.hunt-roi-panel {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.hunt-roi-summary {
  margin: 0.75rem 0;
  padding: 0.75rem;
  border-radius: var(--radius-sm);
  background: rgba(0, 255, 127, 0.06);
  border: 1px solid rgba(0, 255, 127, 0.15);
}

.hunt-roi-line {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.875rem;
}

.hunt-roi-line--dim {
  margin-top: 0.35rem;
  font-size: 0.75rem;
  color: var(--text-dim);
}

.hunt-roi-net--win { color: var(--neon); }
.hunt-roi-net--loss { color: var(--pink); }

.hunt-roi-save { width: 100%; margin-top: 0.5rem; }

.hunt-roi-history {
  margin-top: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.hunt-roi-history-item {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.hunt-roi-empty {
  font-size: 0.75rem;
  color: var(--text-dim);
}

.pwa-install-btn {
  position: fixed;
  bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px));
  left: 1rem;
  z-index: 9999;
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 255, 127, 0.35);
  background: rgba(0, 0, 0, 0.9);
  color: var(--neon);
  font-family: var(--font);
  font-size: 0.6875rem;
  font-weight: 700;
  cursor: pointer;
}

@media (min-width: 900px) {
  .pwa-install-btn { bottom: 1.25rem; left: auto; right: 6.5rem; }
}

.overlay-page {
  margin: 0;
  min-height: 100vh;
  background: #000;
  color: #fff;
  font-family: var(--font);
}

.overlay-page--transparent {
  background: transparent !important;
  background-color: rgba(0, 0, 0, 0) !important;
}

html.overlay-transparent,
html.overlay-transparent body {
  background: transparent !important;
  background-color: rgba(0, 0, 0, 0) !important;
}

.overlay-root {
  padding: 1rem;
}

.overlay-wait {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
}

.overlay-tag {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--neon);
}

.overlay-title {
  margin: 0.25rem 0 0;
  font-size: 1.25rem;
  font-weight: 800;
}

.overlay-meta {
  margin: 0.25rem 0 0;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.75);
}

.overlay-pick {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.72);
  border: 1px solid rgba(0, 255, 127, 0.35);
}

.overlay-pick-thumb {
  width: 64px;
  height: 64px;
  border-radius: 10px;
  object-fit: cover;
}

.overlay-board-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.overlay-board-card {
  padding: 0.5rem 0.625rem;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.75rem;
}

.overlay-board-card--done {
  border-color: rgba(0, 255, 127, 0.35);
}

.overlay-board-card--active {
  border-color: rgba(168, 85, 247, 0.55);
  box-shadow: 0 0 12px rgba(168, 85, 247, 0.25);
}

.overlay-board-num {
  display: block;
  font-size: 0.625rem;
  color: var(--neon);
  font-weight: 700;
}

.overlay-board-name {
  display: block;
  font-weight: 700;
  margin-top: 0.15rem;
}

.overlay-board-bet {
  display: block;
  margin-top: 0.15rem;
  color: rgba(255, 255, 255, 0.7);
}

/* Parlay slip */
.parlay-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 900px) {
  .parlay-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.parlay-slip {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  background: linear-gradient(165deg, rgba(0, 255, 127, 0.06), rgba(0, 0, 0, 0.4));
  padding: 1.25rem;
  box-shadow: var(--shadow-card);
}

.parlay-slip--spicy {
  border-color: rgba(236, 72, 153, 0.35);
  background: linear-gradient(165deg, rgba(236, 72, 153, 0.08), rgba(0, 0, 0, 0.4));
}

.parlay-slip-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.parlay-slip-title {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 800;
}

.parlay-slip-odds {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--neon);
  white-space: nowrap;
}

.parlay-slip--spicy .parlay-slip-odds {
  color: var(--pink);
}

.parlay-leg {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.85rem 0;
  border-top: 1px solid var(--border);
}

.parlay-leg:first-of-type {
  border-top: none;
  padding-top: 0;
}

.parlay-leg-flag {
  font-size: 1.35rem;
  line-height: 1;
}

.parlay-leg-pick {
  margin: 0;
  font-weight: 700;
  font-size: 0.95rem;
}

.parlay-leg-meta {
  margin: 0.2rem 0 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.parlay-leg-odds {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--neon-soft);
}

.parlay-payout {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid var(--border);
  font-size: 0.9rem;
}

.parlay-payout strong {
  color: var(--neon);
}

.parlay-steps {
  margin: 1rem 0 0;
  padding-left: 1.15rem;
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.55;
}

.parlay-schedule {
  display: grid;
  gap: 0.65rem;
  margin-top: 1.5rem;
}

.parlay-schedule-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  border: 1px solid var(--border);
  font-size: 0.85rem;
}

.parlay-schedule-time {
  color: var(--neon-soft);
  font-weight: 600;
  white-space: nowrap;
}

/* Header auth pill */
.header-auth-pill {
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--text-muted);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  transition: color 0.2s, border-color 0.2s, background 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}

.header-auth-pill:hover {
  color: var(--text);
  border-color: rgba(0, 255, 127, 0.35);
  background: rgba(0, 255, 127, 0.06);
}

.header-auth-pill--on {
  color: var(--neon);
  border-color: rgba(0, 255, 127, 0.4);
  background: rgba(0, 255, 127, 0.08);
  box-shadow: 0 0 24px rgba(0, 255, 127, 0.12);
}

/* Account page */
.account-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 80% at 20% 0%, rgba(0, 255, 127, 0.14), transparent 55%),
    radial-gradient(ellipse 50% 60% at 90% 20%, rgba(168, 85, 247, 0.12), transparent 50%);
}

.account-lead {
  max-width: 36rem;
}

.account-grid {
  display: grid;
  gap: 1.25rem;
  align-items: start;
}

@media (min-width: 960px) {
  .account-grid {
    grid-template-columns: 1.4fr 0.9fr;
    gap: 1.5rem;
  }
}

.card-panel--glow {
  border-color: rgba(0, 255, 127, 0.28);
  background: linear-gradient(160deg, rgba(0, 255, 127, 0.05), rgba(0, 0, 0, 0.55) 50%, rgba(168, 85, 247, 0.04));
  box-shadow: var(--shadow-card), 0 0 48px rgba(0, 255, 127, 0.08);
}

.account-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  padding: 0.35rem;
  border-radius: var(--radius-md);
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid var(--border);
}

.account-tab {
  flex: 1;
  padding: 0.65rem 1rem;
  border: none;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text-muted);
  background: transparent;
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
}

.account-tab:hover {
  color: var(--text);
}

.account-tab.is-active {
  color: var(--neon);
  background: rgba(0, 255, 127, 0.1);
  box-shadow: inset 0 0 0 1px rgba(0, 255, 127, 0.25);
}

.account-form {
  display: grid;
  gap: 1rem;
}

.field-label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.field-label input {
  padding: 0.75rem 0.9rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.55);
  color: var(--text);
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 500;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.field-label input:focus {
  outline: none;
  border-color: rgba(0, 255, 127, 0.45);
  box-shadow: 0 0 0 3px rgba(0, 255, 127, 0.12);
}

.account-message {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--neon-soft);
}

.account-message--error {
  color: #f87171;
}

.account-profile-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.account-profile-name {
  margin: 0.35rem 0 0;
  font-size: 1.5rem;
  font-weight: 800;
}

.account-profile-email {
  margin: 0.35rem 0 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.account-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.account-stat {
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.4);
  text-align: center;
}

.account-stat-val {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--neon);
}

.account-stat-label {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.account-links {
  display: grid;
  gap: 1rem;
}

.account-link-card {
  padding: 1.1rem 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.35);
}

.account-link-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}

.account-link-head h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
}

.account-link-badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  color: var(--text-dim);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
}

.account-link-badge--on {
  color: var(--neon);
  border-color: rgba(0, 255, 127, 0.35);
  background: rgba(0, 255, 127, 0.08);
}

.account-link-desc {
  margin: 0.5rem 0 0.85rem;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.account-link-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.account-aside-title {
  margin: 0 0 0.85rem;
  font-size: 1rem;
  font-weight: 800;
}

.account-aside-list {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.account-aside-list li + li {
  margin-top: 0.45rem;
}

.account-aside-note {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--text-dim);
}

.account-community-stats {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(0, 255, 127, 0.2);
  background: rgba(0, 255, 127, 0.05);
}

.account-community-label {
  margin: 0;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.account-community-val {
  margin: 0.35rem 0 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--neon-soft);
}

