/**
 * Content Banao Lakhpati Ban Jao — contest landing (full SOP layout)
 * Accent #F97316 · Dark #0F172A · BG #F8FAFC
 */

:root {
  --cb-accent: #f97316;
  --cb-accent-hover: #ea670d;
  --cb-dark: #0f172a;
  --cb-bg: #f8fafc;
  --cb-heading: #1f2937;
  --cb-muted: #6b7280;
  --cb-radius: 1rem;
  --cb-radius-lg: 1.25rem;
  --cb-font: "Inter", system-ui, sans-serif;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body.contest-page {
  font-family: var(--cb-font);
  background-color: var(--cb-bg);
  color: var(--cb-heading);
}

.ls-1 {
  letter-spacing: 0.05em;
}

.ls-wide {
  letter-spacing: 0.08em;
}

.cb-skip:focus {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 1080;
  padding: 0.65rem 1rem;
  background: var(--cb-accent);
  color: #fff;
  border-radius: 999px;
  outline: 2px solid var(--cb-dark);
}

/* Navbar */
.cb-navbar {
  background: rgba(248, 250, 252, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.cb-brand-logo {
  height: 80px;
  width: auto;
  max-width: min(200px, 46vw);
  object-fit: contain;
  flex-shrink: 0;
}

.cb-brand-lines .cb-brand-title {
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.15;
  color: var(--cb-heading);
}

.cb-brand-lines .cb-brand-sub {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--cb-accent);
  text-transform: uppercase;
}

.cb-nav-link {
  font-weight: 500;
  color: #4b5563 !important;
  padding: 0.5rem 0.85rem !important;
  border-radius: 8px;
}

.cb-nav-link:hover {
  color: var(--cb-accent) !important;
  background: rgba(249, 115, 22, 0.08);
}

.cb-btn-register {
  background: var(--cb-accent);
  border: none;
  color: #fff !important;
  font-weight: 600;
  padding: 0.45rem 1.35rem;
  border-radius: 999px;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.cb-btn-register:hover {
  background: var(--cb-accent-hover);
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(249, 115, 22, 0.35);
}

.cb-btn-primary-lg {
  background: var(--cb-accent);
  border: none;
  color: #fff !important;
  font-weight: 600;
  padding: 0.85rem 1.75rem;
  border-radius: var(--cb-radius);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.cb-btn-primary-lg:hover {
  background: var(--cb-accent-hover);
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(249, 115, 22, 0.35);
}

.cb-btn-outline-light-border {
  border: 2px solid #e5e7eb;
  background: #fff;
  color: var(--cb-heading) !important;
  font-weight: 600;
  padding: 0.85rem 1.5rem;
  border-radius: var(--cb-radius);
}

.cb-btn-outline-light-border:hover {
  border-color: var(--cb-accent);
  color: var(--cb-accent) !important;
}

.cb-btn-ghost-dark {
  background: rgba(30, 41, 59, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff !important;
  font-weight: 600;
  padding: 0.65rem 1.35rem;
  border-radius: var(--cb-radius);
}

.cb-btn-ghost-dark:hover {
  background: rgba(51, 65, 85, 0.95);
  color: #fff !important;
}

/* Hero */
.cb-hero {
  position: relative;
  overflow: hidden;
  padding-top: clamp(2.5rem, 6vw, 4rem);
  padding-bottom: clamp(2.5rem, 8vw, 5rem);
  background-color: #fffefb;
  background-image:
    radial-gradient(ellipse 85% 70% at 88% 42%, rgba(255, 237, 213, 0.95), transparent 55%),
    radial-gradient(ellipse 55% 45% at 12% 88%, rgba(254, 243, 199, 0.35), transparent 50%);
}

.cb-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.95rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--cb-accent);
  background: rgba(249, 115, 22, 0.12);
  border: 1px solid rgba(249, 115, 22, 0.35);
}

.cb-kicker-stack .cb-lakh {
  font-weight: 800;
  font-size: 0.88rem;
  background: linear-gradient(185deg, #fde68a 0%, #fbbf24 45%, #b45309 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.cb-hero-heading {
  font-family: var(--cb-font);
  font-weight: 800;
  font-size: clamp(2.25rem, 5vw, 3.35rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--cb-heading);
}

.cb-hero-accent {
  color: var(--cb-accent);
}

.cb-hero-copy {
  max-width: 34rem;
}

.cb-hero-lead {
  margin-bottom: 0;
  font-size: clamp(1.05rem, 2.2vw, 1.1875rem);
  line-height: 1.65;
  color: #475569;
  font-weight: 500;
}

.cb-hero-points {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.cb-hero-points li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: #475569;
}

.cb-hero-points .bi-check-circle-fill {
  color: var(--cb-accent);
  font-size: 1rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.cb-hero-meta-panel {
  padding: 1rem 1.15rem;
  border-radius: var(--cb-radius-lg);
  background: #fff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
}

.cb-hero-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0.65rem 1.25rem;
}

.cb-hero-meta-row--stack {
  flex-direction: column;
  gap: 0.5rem;
}

.cb-hero-meta-row--stack .cb-hero-meta-value {
  padding-left: 0;
}

.cb-hero-meta-label {
  flex: 0 0 auto;
  min-width: 7rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #64748b;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.cb-hero-meta-label .bi {
  font-size: 1rem;
  color: var(--cb-accent);
  opacity: 0.9;
}

.cb-hero-meta-value {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
  font-size: 0.9375rem;
  color: var(--cb-heading);
  font-weight: 600;
}

.cb-hero-meta-value-strong {
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--cb-accent);
  letter-spacing: -0.02em;
}

.cb-hero-meta-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, #e2e8f0 12%, #e2e8f0 88%, transparent);
  margin: 0.85rem 0;
}

.cb-hero-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  background: rgba(249, 115, 22, 0.1);
  color: #c2410c;
  border: 1px solid rgba(249, 115, 22, 0.2);
}

.cb-hero-tag--muted {
  background: #f1f5f9;
  color: #334155;
  border-color: #e2e8f0;
}

@media (max-width: 575.98px) {
  .cb-hero-meta-row:not(.cb-hero-meta-row--stack) {
    flex-direction: column;
    gap: 0.35rem;
  }

  .cb-hero-meta-label {
    min-width: 0;
  }
}

.cb-hero-visual {
  position: relative;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.cb-hero-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 2rem;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
  border: 1px solid rgba(229, 231, 235, 0.9);
}

.cb-float-card {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  max-width: calc(100% - 2rem);
  background: #fff;
  border-radius: var(--cb-radius);
  padding: 0.85rem 1rem;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.12);
  border: 1px solid #f3f4f6;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.cb-float-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(249, 115, 22, 0.12);
  color: var(--cb-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.cb-stat-inline {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}

.cb-stat-inline i {
  color: var(--cb-accent);
  font-size: 1.35rem;
  margin-top: 0.15rem;
}

.cb-stat-inline strong {
  display: block;
  font-size: 1rem;
  color: var(--cb-heading);
}

.cb-stat-inline span {
  font-size: 0.8125rem;
  color: var(--cb-muted);
}

/* Strip */
.cb-strip-dark {
  background: var(--cb-dark);
  color: #fff;
  padding: 2rem 0;
}

.cb-strip-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.cb-strip-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(249, 115, 22, 0.12);
  border: 1px solid rgba(249, 115, 22, 0.28);
  color: var(--cb-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.cb-strip-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #94a3b8;
  text-transform: uppercase;
}

.cb-strip-dark .cb-strip-label,
.cb-strip-dark.cb-strip-ref .cb-strip-label {
  color: #fff;
}

.cb-strip-value {
  font-size: 1.125rem;
  font-weight: 700;
}

.cb-strip-dark .cb-strip-value,
.cb-strip-dark.cb-strip-ref .cb-strip-value {
  color: #fff;
}

.cb-strip-ref .cb-strip-value {
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* Section heads */
.cb-section-head-sop {
  background: #1a1d2e;
  border-left: 4px solid var(--cb-accent);
  padding: 1rem 1.25rem;
  border-radius: 0.5rem;
}

.cb-section-head-title {
  color: #fff;
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
}

.cb-logo-lockup {
  letter-spacing: 0.06em;
}

.cb-glance-card {
  background: #fff;
  border-radius: var(--cb-radius-lg);
  padding: 1.25rem;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
  height: 100%;
  border: 1px solid #f3f4f6;
}

.cb-border-purple {
  border-color: #9333ea !important;
}

.cb-glance-label {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cb-muted);
  margin-bottom: 0.35rem;
}

.cb-glance-value {
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 0;
}

.cb-glance-icon {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  display: block;
  color: var(--cb-heading);
}

/* Timeline */
.cb-timeline-scroll {
  overflow-x: auto;
  padding-bottom: 0.25rem;
}

.cb-timeline-inner {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 0.35rem;
  position: relative;
  padding: 2.5rem 0;
  min-width: min(1100px, 100%);
}

.cb-timeline-inner::before {
  content: "";
  position: absolute;
  left: 5%;
  right: 5%;
  top: 50%;
  height: 4px;
  background: linear-gradient(90deg, #7dd3fc, #93c5fd);
  transform: translateY(-50%);
  z-index: 0;
  border-radius: 4px;
}

.cb-timeline-node {
  position: relative;
  z-index: 1;
  flex: 1;
  min-width: 112px;
  max-width: 150px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.cb-timeline-node--above .cb-timeline-card {
  order: 1;
}

.cb-timeline-node--above .cb-timeline-dot {
  order: 2;
}

.cb-timeline-node--below .cb-timeline-dot {
  order: 1;
}

.cb-timeline-node--below .cb-timeline-card {
  order: 2;
}

.cb-timeline-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  flex-shrink: 0;
}

.cb-timeline-card {
  background: #fff;
  border-radius: 12px;
  padding: 0.65rem 0.45rem;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
  margin: 0.45rem 0;
  border: 1px solid #f3f4f6;
}

.cb-timeline-icon {
  font-size: 1.05rem;
  display: block;
  margin-bottom: 0.3rem;
  color: var(--cb-heading);
}

.cb-timeline-title {
  font-size: 0.68rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
  line-height: 1.25;
  color: var(--cb-heading);
}

.cb-timeline-date {
  font-size: 0.72rem;
  font-weight: 700;
}

.cb-timeline-footnote {
  color: var(--cb-accent);
  font-weight: 500;
}

@media (max-width: 991.98px) {
  .cb-timeline-inner::before {
    display: none;
  }

  .cb-timeline-inner {
    flex-direction: column;
    align-items: stretch;
    min-width: 100%;
    padding: 0;
  }

  .cb-timeline-node {
    flex-direction: row;
    max-width: none;
    min-width: 0;
    align-items: flex-start;
    text-align: left;
    gap: 1rem;
    margin-bottom: 0.75rem;
  }

  .cb-timeline-node--above .cb-timeline-card,
  .cb-timeline-node--below .cb-timeline-card {
    order: 2;
    flex: 1;
    margin: 0;
  }

  .cb-timeline-node--above .cb-timeline-dot,
  .cb-timeline-node--below .cb-timeline-dot {
    order: 1;
    margin-top: 0.5rem;
  }
}

/* Budget — prize pool layout */
.cb-budget-section {
  background: #fafafa;
}

.cb-budget-intro-kicker {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cb-accent);
}

.cb-budget-intro-headline {
  font-size: clamp(1.85rem, 5vw, 2.65rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #111827;
  font-variant-numeric: tabular-nums;
}

.cb-budget-intro-sub {
  font-size: 0.9375rem;
  color: #6b7280;
  max-width: 36rem;
}

.cb-budget-brand-foot {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #94a3b8;
}

.cb-prize-card {
  position: relative;
  border-radius: 1rem;
  padding: 1.35rem 1.35rem 1.25rem;
  background: #fff;
  border: 1px solid #ebebeb;
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.06);
  height: 100%;
}

.cb-prize-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.cb-prize-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 2px solid rgba(249, 115, 22, 0.45);
  color: var(--cb-accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
}

.cb-prize-pct {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #9ca3af;
  font-variant-numeric: tabular-nums;
}

.cb-prize-card-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #111827;
  margin-bottom: 0.35rem;
}

.cb-prize-card-amount {
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #111827;
  margin-bottom: 0;
  font-variant-numeric: tabular-nums;
}

.cb-prize-divider {
  margin: 1rem 0;
  border: none;
  border-top: 1px solid #e5e7eb;
  opacity: 1;
}

.cb-prize-card-foot {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.cb-prize-foot-lbl {
  font-size: 0.75rem;
  color: #9ca3af;
}

.cb-prize-foot-val {
  font-size: 0.875rem;
  font-weight: 700;
  color: #111827;
  font-variant-numeric: tabular-nums;
}

.cb-prize-card--featured {
  background: linear-gradient(165deg, #ff8c42 0%, #ea580c 55%, #c2410c 100%);
  border-color: transparent;
  box-shadow: 0 16px 48px rgba(234, 88, 12, 0.38);
}

.cb-prize-card--featured .cb-prize-card-icon {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.cb-prize-card--featured .cb-prize-pct {
  color: rgba(255, 255, 255, 0.75);
}

.cb-prize-card--featured .cb-prize-card-title,
.cb-prize-card--featured .cb-prize-card-amount {
  color: #fff;
}

.cb-prize-card--featured .cb-prize-divider {
  border-top-color: rgba(255, 255, 255, 0.28);
}

.cb-prize-card--featured .cb-prize-foot-lbl {
  color: rgba(255, 255, 255, 0.72);
}

.cb-prize-card--featured .cb-prize-foot-val {
  color: #fff;
}

.cb-prize-card--featured .cb-budget-lines li {
  border-bottom-color: rgba(255, 255, 255, 0.18);
}

.cb-prize-card--featured .cb-budget-lines li span:first-child {
  color: rgba(255, 255, 255, 0.82);
}

.cb-prize-card--featured .cb-budget-lines li strong {
  color: #fff;
}

.cb-budget-lines {
  font-size: 0.8125rem;
}

.cb-budget-lines li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid #f1f5f9;
}

.cb-budget-lines li:last-child {
  border-bottom: none;
}

.cb-budget-lines li span:first-child {
  color: #64748b;
  font-weight: 500;
}

.cb-budget-lines li strong {
  font-weight: 700;
  color: #0f172a;
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}

.cb-budget-summary {
  border-radius: var(--cb-radius-lg);
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.08);
  background: #fff;
}

.cb-budget-summary-head {
  padding: 0.9rem 1.35rem;
  background: linear-gradient(135deg, #334155 0%, #1e293b 100%);
  color: #f8fafc;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.cb-budget-summary-body {
  padding: 0;
}

.cb-budget-sum-rows {
  padding: 0.35rem 1.35rem 0;
}

.cb-budget-sum-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.875rem;
  color: #475569;
}

.cb-budget-sum-row:last-of-type {
  border-bottom: none;
}

.cb-budget-sum-row strong {
  font-variant-numeric: tabular-nums;
  color: #0f172a;
  font-weight: 700;
}

.cb-budget-sum-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 0.25rem;
  padding: 1.15rem 1.35rem;
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.14) 0%, rgba(249, 115, 22, 0.06) 100%);
  border-top: 3px solid var(--cb-accent);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #431407;
}

.cb-budget-sum-total strong {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: none;
  color: var(--cb-accent-hover);
  font-variant-numeric: tabular-nums;
}

/* Participants */
.cb-participant-head {
  padding: 0.85rem 1rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.82rem;
  color: #fff;
}

.cb-ph-orange {
  background: var(--cb-accent);
}

.cb-ph-blue {
  background: #2563eb;
}

.cb-ph-green {
  background: #059669;
}

/* Zones — performance dashboard */
.cb-zones-section {
  --cb-zone-dash-bg: #1a1c21;
}

.cb-zone-dash-head {
  background: var(--cb-zone-dash-bg);
  border-radius: 0.5rem;
  padding: 1rem 1.25rem;
  border-left: 4px solid var(--cb-accent);
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.15);
}

.cb-zone-dash-title {
  font-size: clamp(0.85rem, 2vw, 0.95rem);
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.35;
}

.cb-zone-dash-kicker {
  font-size: clamp(0.58rem, 1.5vw, 0.68rem);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0;
  background: linear-gradient(185deg, #fde68a 0%, #fbbf24 42%, #d97706 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.cb-zone-card {
  border-radius: var(--cb-radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.1);
  background: #fff;
  border: 1px solid #e8ecf1;
  height: 100%;
}

.cb-zone-head {
  padding: 0.85rem 1.1rem;
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.cb-zone-north {
  background: #ff6900;
}

.cb-zone-south {
  background: #00b16a;
}

.cb-zone-west {
  background: #4a90e2;
}

.cb-zone-east {
  background: #f5a623;
}

.cb-zone-body {
  padding: 0;
}

.cb-zone-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.35rem;
  text-align: center;
  padding: 1.35rem 1rem 1.15rem;
  border-bottom: 1px solid #eef2f6;
}

.cb-zone-metric {
  min-width: 0;
  padding: 0 0.25rem;
}

.cb-zone-metric-val {
  display: block;
  font-size: clamp(1.35rem, 3.5vw, 1.65rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.cb-zone-metric-lbl {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.6875rem;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.cb-zone-card--north .cb-zone-metric-val {
  color: #ff6900;
}

.cb-zone-card--south .cb-zone-metric-val {
  color: #00b16a;
}

.cb-zone-card--west .cb-zone-metric-val {
  color: #4a90e2;
}

.cb-zone-card--east .cb-zone-metric-val {
  color: #f5a623;
}

.cb-zone-details {
  padding: 1.1rem 1.15rem 1.25rem;
  background: #fafbfc;
}

.cb-zone-detail-line {
  font-size: 0.8125rem;
  line-height: 1.45;
  color: #475569;
}

.cb-zone-detail-key {
  font-weight: 700;
  color: #334155;
}

.cb-zone-footnote {
  color: #94a3b8;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}

.cb-text-amber {
  color: #f59e0b !important;
}

/* Journey */
.cb-journey-card {
  background: #fff;
  border-radius: var(--cb-radius);
  padding: 1.35rem 1.25rem 1.25rem;
  padding-top: 3rem;
  height: 100%;
  border: 1px solid #e5e7eb;
  box-shadow: 0 2px 14px rgba(15, 23, 42, 0.05);
  position: relative;
}

.cb-jc-orange {
  border-top: 4px solid var(--cb-accent);
}

.cb-jc-blue {
  border-top: 4px solid #2563eb;
}

.cb-jc-green {
  border-top: 4px solid #22c55e;
}

.cb-jc-purple {
  border-top: 4px solid #9333ea;
}

.cb-jc-gold {
  border-top: 4px solid #eab308;
}

.cb-jc-red {
  border-top: 4px solid #ef4444;
}

.cb-journey-circle {
  position: absolute;
  top: 1rem;
  left: 1rem;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--cb-accent);
  font-weight: 800;
  font-size: 0.72rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cb-heading);
}

.cb-journey-bi {
  font-size: 1.45rem;
  margin-bottom: 0.45rem;
  display: block;
  color: var(--cb-heading);
}

/* Guidelines & terms */
.cb-guideline-head {
  padding: 0.85rem 1rem;
  font-weight: 700;
  color: #fff;
  font-size: 0.95rem;
}

.cb-gh-ig {
  background: #e1306c;
}

.cb-gh-fb {
  background: #1877f2;
}

.cb-gh-yt {
  background: #ff0000;
}

.cb-term-head {
  padding: 0.75rem 1rem;
  font-weight: 700;
  color: #fff;
  font-size: 0.88rem;
}

.cb-th-orange {
  background: var(--cb-accent);
}

.cb-th-red {
  background: #dc2626;
}

.cb-th-blue {
  background: #2563eb;
}

.cb-th-green {
  background: #059669;
}

/* Points — light slab table */
.cb-slab-section {
  background: #f4f4f5;
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

.cb-slab-head .cb-points-sub {
  color: #6b7280;
  font-weight: 500;
  font-size: 0.9375rem;
}

.cb-slab-table-wrap {
  background: #fff;
  box-shadow: 0 12px 48px rgba(15, 23, 42, 0.06);
  border: 1px solid #e5e7eb !important;
}

.cb-slab-table thead {
  background: #1a1a1a;
}

.cb-slab-table thead th {
  color: #fff !important;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding-top: 1rem;
  padding-bottom: 1rem;
  border: none;
}

.cb-slab-table .cb-col-likes {
  background: rgba(249, 115, 22, 0.15) !important;
}

.cb-slab-table .cb-col-views {
  background: rgba(59, 130, 246, 0.12) !important;
}

.cb-slab-table .cb-col-shares {
  background: rgba(34, 197, 94, 0.12) !important;
}

.cb-slab-tbody tr {
  background: #fff !important;
  color: #111827 !important;
}

.cb-slab-tbody td {
  border-bottom: 1px solid #f3f4f6 !important;
  vertical-align: middle;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.cb-slab-tbody tr:last-child td {
  border-bottom: none !important;
}

.cb-slab-tbody .cb-td-likes {
  color: #ea580c !important;
}

.cb-slab-tbody .cb-td-views {
  color: #2563eb !important;
}

.cb-slab-tbody .cb-td-shares {
  color: #16a34a !important;
}

.cb-row-viral-light td {
  background: #ff7a21 !important;
  color: #fff !important;
  font-weight: 700;
  border-bottom: none !important;
}

.cb-row-viral-light small {
  color: rgba(255, 255, 255, 0.85) !important;
}

.cb-row-viral-light .cb-td-likes,
.cb-row-viral-light .cb-td-views,
.cb-row-viral-light .cb-td-shares {
  color: #fff !important;
}

.cb-row-viral-light td:first-child {
  border-bottom-left-radius: 0.85rem;
}

.cb-row-viral-light td:last-child {
  border-bottom-right-radius: 0.85rem;
}

.cb-slab-footnote {
  color: #6b7280;
}

/* Journey — reference cards */
.cb-journey-section-ref {
  background: #fafafa;
}

.cb-journey-ref-card {
  border-top: none !important;
  padding-top: 1.5rem;
  border-radius: 1rem !important;
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06) !important;
  border: 1px solid #ececec !important;
}

.cb-journey-ref-card .cb-journey-circle {
  position: static;
  width: auto;
  height: auto;
  border: none;
  background: transparent;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--cb-accent);
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
  display: block;
}

.cb-journey-ref-card .cb-journey-bi {
  display: none;
}

.cb-journey-ref-card h3 {
  font-size: 1rem;
  font-weight: 800;
  color: #111827;
}

.cb-journey-ref-card p {
  color: #6b7280 !important;
}

/* Leaderboard reference */
.cb-lb-panel {
  background: rgba(15, 23, 42, 0.55);
  border-radius: 1rem;
  padding: 1.25rem;
  border: 1px solid rgba(148, 163, 184, 0.15);
}

/* Leaderboard tabs — pill treatment aligned with .cb-btn-primary-lg / Register CTA */
.cb-lb-tabs {
  gap: 0.625rem !important;
}

.cb-lb-tabs .nav-link {
  color: rgba(248, 250, 252, 0.94);
  background: rgba(255, 255, 255, 0.06);
  border: 2px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 0.52rem 1.35rem;
  line-height: 1.2;
  text-decoration: none;
  transition:
    color 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.cb-lb-tabs .nav-link:hover:not(.active) {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(249, 115, 22, 0.55);
  transform: translateY(-1px);
}

.cb-lb-tabs .nav-link.active,
.cb-lb-tabs .nav-link.active:hover {
  color: #fff !important;
  background: var(--cb-accent);
  border-color: var(--cb-accent);
  box-shadow: 0 8px 26px rgba(249, 115, 22, 0.38);
  transform: translateY(-1px);
}

.cb-lb-tabs .nav-link.active:hover {
  background: var(--cb-accent-hover);
  border-color: var(--cb-accent-hover);
}

.cb-lb-tabs .nav-link:focus {
  outline: none;
}

.cb-lb-tabs .nav-link:focus-visible {
  box-shadow: 0 0 0 2px var(--cb-dark), 0 0 0 4px rgba(249, 115, 22, 0.55);
}

.cb-lb-tabs .nav-link.active:focus-visible {
  box-shadow:
    0 8px 26px rgba(249, 115, 22, 0.38),
    0 0 0 2px var(--cb-dark),
    0 0 0 4px rgba(255, 255, 255, 0.35);
}

.cb-lb-view-more {
  color: var(--cb-accent);
  transition: color 0.2s ease;
}

.cb-lb-view-more:hover {
  color: var(--cb-accent-hover);
  text-decoration: underline !important;
}

.cb-nl-back:hover {
  color: #fdba74 !important;
}

.cb-nl-load-wrap .btn:disabled {
  opacity: 0.65;
}

/* CTA split — gradient hero + dark strip */
.cb-cta-split {
  background: #fff;
}

.cb-cta-hero-gradient {
  background: linear-gradient(145deg, #ff9f5a 0%, #f97316 38%, #ea580c 100%);
  border-radius: 1.25rem;
  padding: clamp(2rem, 5vw, 3rem) 1.5rem;
  box-shadow: 0 20px 50px rgba(234, 88, 12, 0.35);
}

.cb-cta-hero-gradient .bi-lightning-charge {
  font-size: 1.75rem;
  color: #fff;
  opacity: 0.95;
}

.cb-cta-hero-gradient h2 {
  color: #fff;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.cb-cta-hero-gradient .cb-cta-hero-lead {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 600;
}

.cb-cta-hero-btn {
  background: #0f172a !important;
  color: #fff !important;
  border: none;
  border-radius: 999px;
  padding: 0.85rem 2rem;
  font-weight: 700;
}

.cb-cta-hero-btn:hover {
  background: #1e293b !important;
  color: #fff !important;
}

.cb-cta-bar-dark {
  background: #12151c;
  border-radius: 1rem;
  color: #e5e7eb;
}

.cb-cta-bar-dark .cb-cta-bar-label {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9ca3af;
}

.cb-cta-bar-dark a {
  color: #fdba74;
}

.cb-cta-bar-dark a:hover {
  color: #fed7aa;
}

.cb-accent-text {
  color: var(--cb-accent);
}

.cb-section-dark {
  background: var(--cb-dark);
  color: #e2e8f0;
}

.cb-lb-table {
  --bs-table-striped-bg: rgba(255, 255, 255, 0.03);
  font-size: 0.8125rem;
}

.cb-lb-table thead th {
  font-size: 0.68rem;
  font-weight: 700;
  border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}

.cb-lb-stat-card {
  background: rgba(30, 41, 59, 0.95);
  border: 1px solid rgba(148, 163, 184, 0.2);
}

.cb-st-bronze {
  color: #ad7a4a;
  font-weight: 700;
}

.cb-st-viral {
  color: #f97316;
  font-weight: 700;
}

.cb-st-plat {
  color: #7dd3fc;
  font-weight: 700;
}

.cb-st-gold {
  color: #fcd34d;
  font-weight: 700;
}

.cb-st-silver {
  color: #cbd5e1;
  font-weight: 700;
}

.cb-cta-dark-banner {
  background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
  border: 1px solid rgba(249, 115, 22, 0.35);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.35);
}

/* Footer */
.cb-footer {
  background: var(--cb-dark);
  color: #94a3b8;
  padding-top: 3rem;
  padding-bottom: 2rem;
}

.cb-footer h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.75rem;
}

.cb-footer-logo {
  display: block;
  max-height: 48px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
}

.cb-footer a {
  color: #cbd5e1;
}

.cb-footer a:hover {
  color: var(--cb-accent);
}

@media (max-width: 575.98px) {
  .cb-hero-visual {
    display: flex;
    flex-direction: column;
  }

  .cb-float-card {
    position: relative;
    left: auto;
    bottom: auto;
    margin-top: 1rem;
    max-width: 100%;
  }
}

/* —— Contest signup (“Join the contest”) —— */
:root {
  --signup-bg: #121418;
  --signup-accent: #ff8c21;
  --signup-accent-soft: rgba(255, 140, 33, 0.22);
  --signup-accent-hover: #ffa142;
  --signup-panel: #20232b;
  --signup-panel-edge: rgba(255, 255, 255, 0.07);
  --signup-input-bg: #1a1d24;
  --signup-muted: #9ca3af;
  --signup-placeholder: #6b7280;
}

body.cb-auth-page {
  font-family: var(--cb-font);
  color: #f9fafb;
  min-height: 100vh;
  margin: 0;
  background-color: var(--signup-bg);
  background-image:
    radial-gradient(ellipse 120% 80% at 50% -30%, rgba(255, 140, 33, 0.12), transparent 55%),
    radial-gradient(ellipse 90% 60% at 100% 100%, rgba(99, 102, 241, 0.05), transparent 45%);
}

.cb-auth-layout {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.35rem 1rem 2.5rem;
  box-sizing: border-box;
}

.cb-auth-inner {
  width: 100%;
  max-width: 400px;
}

.cb-signup {
  width: 100%;
}

.cb-signup-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--signup-muted);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1.35rem;
  transition: color 0.15s ease;
}

.cb-signup-back:hover {
  color: #e5e7eb;
}

.cb-signup-back-arrow {
  font-size: 1rem;
  line-height: 1;
}

.cb-signup-hero {
  text-align: center;
  margin-bottom: 1.5rem;
}

.cb-signup-logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  text-decoration: none;
  line-height: 0;
}

.cb-signup-logo-link:hover {
  opacity: 0.92;
}

.cb-signup-logo-link:focus-visible {
  outline: 2px solid var(--signup-accent);
  outline-offset: 4px;
  border-radius: 8px;
}

.cb-signup-logo-img {
  height: 100px;
  width: auto;
  max-width: min(300px, 88vw);
  object-fit: contain;
  display: block;
}

.cb-signup-icon {
  width: 3.25rem;
  height: 3.25rem;
  margin: 0 auto 1rem;
  border-radius: 12px;
  background: var(--signup-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.55rem;
  color: #fff;
  box-shadow: 0 12px 28px rgba(255, 140, 33, 0.28);
}

.cb-signup-title {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #fff;
  margin: 0 0 0.35rem;
  line-height: 1.2;
}

.cb-signup-tagline {
  font-size: 0.9rem;
  color: var(--signup-muted);
  margin: 0;
  line-height: 1.45;
}

.cb-signup-panel {
  background: var(--signup-panel);
  border: 1px solid var(--signup-panel-edge);
  border-radius: 14px;
  padding: 1.5rem 1.35rem 1.35rem;
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.cb-signup-alert {
  margin-bottom: 1rem;
  border-radius: 10px;
  border: none;
  background: rgba(239, 68, 68, 0.15);
  color: #fecaca;
  font-size: 0.8125rem;
  padding: 0.65rem 0.85rem;
}

.cb-signup-unavailable {
  font-size: 0.875rem;
  color: var(--signup-muted);
  line-height: 1.5;
}

.cb-signup-form .cb-signup-field,
.cb-login-form .cb-signup-field {
  margin-bottom: 1.05rem;
}

.cb-signup-form .cb-signup-field--last,
.cb-login-form .cb-signup-field--last {
  margin-bottom: 1.5rem;
}

.cb-signup-row {
  margin-bottom: 0.95rem !important;
}

.cb-signup-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #f3f4f6;
  margin-bottom: 0.5rem;
  letter-spacing: 0.01em;
}

.cb-signup-opt {
  color: var(--signup-muted);
  font-weight: 500;
}

.cb-signup-input {
  width: 100%;
  display: block;
  background: var(--signup-input-bg);
  border: 1px solid var(--signup-panel-edge);
  color: #f3f4f6;
  border-radius: 8px;
  padding: 0.72rem 1rem 0.72rem 1.1rem;
  font-size: 0.9375rem;
  line-height: 1.45;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}

.cb-signup-input::placeholder {
  color: var(--signup-placeholder);
}

.cb-signup-input:hover {
  border-color: rgba(255, 255, 255, 0.12);
}

.cb-signup-input:focus {
  outline: none;
  border-color: var(--signup-accent);
  box-shadow: 0 0 0 3px var(--signup-accent-soft);
  background: var(--signup-input-bg);
  color: #fff;
}

.cb-signup-select-wrap {
  position: relative;
}

.cb-signup-select {
  appearance: none;
  padding-right: 2.35rem;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3e%3cpath stroke='%239ca3af' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 14px 10px;
}

.cb-signup-submit {
  background: var(--signup-accent) !important;
  border: none !important;
  color: #fff !important;
  font-weight: 700;
  font-size: 0.9375rem;
  padding: 0.85rem 1rem;
  margin-top: 0.35rem;
  border-radius: 10px;
  letter-spacing: 0.02em;
  transition:
    background 0.15s ease,
    transform 0.15s ease,
    box-shadow 0.15s ease;
}

.cb-signup-submit:hover {
  background: var(--signup-accent-hover) !important;
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(255, 140, 33, 0.32);
}

.cb-signup-foot {
  margin-top: 1.35rem;
  padding-top: 0.25rem;
  font-size: 0.875rem;
  color: var(--signup-muted);
}

.cb-signup-foot a {
  color: var(--signup-accent);
  font-weight: 700;
  text-decoration: none;
}

.cb-signup-foot a:hover {
  text-decoration: underline;
  color: var(--signup-accent-hover);
}

/* Register: dense layout (more fields visible without inner scroll) */
.cb-auth-layout.cb-auth-register-compact {
  align-items: flex-start;
  padding-top: 1rem;
  padding-bottom: 1.5rem;
}

.cb-auth-register-compact .cb-auth-inner {
  padding-top: 0.15rem;
}

.cb-signup.cb-signup--compact .cb-signup-back {
  margin-bottom: 0.75rem;
  font-size: 0.8125rem;
}

.cb-signup.cb-signup--compact .cb-signup-hero {
  margin-bottom: 1rem;
}

.cb-signup.cb-signup--compact .cb-signup-logo-link {
  margin-bottom: 0.65rem;
}

.cb-signup.cb-signup--compact .cb-signup-logo-img {
  height: 48px;
}

.cb-signup.cb-signup--compact .cb-signup-title {
  font-size: 1.28rem;
  margin-bottom: 0.28rem;
}

.cb-signup.cb-signup--compact .cb-signup-tagline {
  font-size: 0.8125rem;
  line-height: 1.4;
}

.cb-signup.cb-signup--compact .cb-signup-panel {
  padding: 1.05rem 1.05rem 1rem;
}

.cb-signup.cb-signup--compact .cb-signup-alert {
  margin-bottom: 0.65rem;
  padding: 0.48rem 0.65rem;
  font-size: 0.78rem;
}

.cb-signup.cb-signup--compact .cb-signup-form .cb-signup-field {
  margin-bottom: 0.58rem;
}

.cb-signup.cb-signup--compact .cb-signup-form .cb-signup-field--last {
  margin-bottom: 0.92rem;
}

.cb-signup.cb-signup--compact .cb-signup-row {
  margin-bottom: 0.5rem !important;
  --bs-gutter-x: 0.48rem;
  --bs-gutter-y: 0.35rem;
}

.cb-signup.cb-signup--compact .cb-signup-label {
  font-size: 0.765rem;
  margin-bottom: 0.32rem;
}

.cb-signup.cb-signup--compact .cb-signup-input {
  padding: 0.48rem 0.75rem 0.48rem 0.82rem;
  font-size: 0.875rem;
  line-height: 1.35;
  border-radius: 7px;
}

.cb-signup.cb-signup--compact .cb-signup-select-wrap .cb-signup-select {
  padding-right: 2rem;
  background-position: right 0.55rem center;
  background-size: 12px 9px;
}

.cb-signup.cb-signup--compact .cb-signup-submit {
  padding: 0.62rem 0.92rem;
  font-size: 0.875rem;
  margin-top: 0.12rem;
  border-radius: 9px;
}

.cb-signup.cb-signup--compact .cb-signup-foot {
  margin-top: 0.82rem;
  font-size: 0.8125rem;
}

.cb-signup.cb-signup--compact span.cb-signup-error-msg {
  margin-top: 0.26rem;
  font-size: 0.72rem;
}

/* jQuery Validate (register) */
.cb-signup-input.cb-signup-input-error {
  border-color: #f97373 !important;
  box-shadow: 0 0 0 3px rgba(249, 115, 115, 0.2) !important;
}

span.cb-signup-error-msg {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: #fecaca;
  line-height: 1.4;
}

/* Password login (/login) */
.cb-login {
  width: 100%;
}

.cb-login-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--signup-muted);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1.25rem;
}

.cb-login-back:hover {
  color: #e5e7eb;
}

.cb-login-panel {
  padding-top: 1.35rem;
}

.cb-login-logo-banner {
  text-align: center;
  margin-bottom: 0.25rem;
}

.cb-login-logo-banner .cb-signup-logo-link {
  margin-bottom: 1rem;
}

.cb-login-head {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.35rem;
  text-align: left;
}

.cb-login-icon {
  flex-shrink: 0;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 12px;
  background: var(--signup-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.55rem;
  color: #fff;
  box-shadow: 0 12px 28px rgba(255, 140, 33, 0.28);
}

.cb-login-head-copy {
  flex: 1;
  min-width: 0;
  padding-top: 0.15rem;
}

.cb-login-title {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0 0 0.3rem;
  line-height: 1.2;
  text-align: left;
}

.cb-login-tagline {
  font-size: 0.875rem;
  color: var(--signup-muted);
  margin: 0;
  line-height: 1.45;
  text-align: left;
}

.cb-login-alert-success {
  background: rgba(34, 197, 94, 0.14) !important;
  color: #bbf7d0 !important;
}

.cb-login-recaptcha {
  margin-top: 0.35rem;
  margin-bottom: 0.85rem !important;
}

.cb-login-register-hint {
  margin-top: 1.25rem;
  font-size: 0.875rem;
  color: var(--signup-muted);
}

.cb-login-register-hint a {
  color: var(--signup-accent);
  font-weight: 700;
  text-decoration: none;
}

.cb-login-register-hint a:hover {
  text-decoration: underline;
  color: var(--signup-accent-hover);
}

.cb-login-subnav {
  border-top: 1px solid var(--signup-panel-edge);
  padding-top: 1rem;
  margin-top: 0.25rem;
}

.cb-login-subnav-link {
  color: var(--signup-muted);
  text-decoration: none;
  font-size: 0.8125rem;
}

.cb-login-subnav-link:hover {
  color: var(--signup-accent);
}

/* Register email OTP modal — matches /login dark panel theme */
.modal.cb-login-theme-modal .modal-backdrop.show {
  background: var(--signup-bg);
  opacity: 0.88;
}

.cb-login-theme-modal .modal-dialog.cb-login-otp-dialog {
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.cb-login-theme-modal .modal-content.cb-login-otp-modal {
  background: var(--signup-panel);
  border: 1px solid var(--signup-panel-edge) !important;
  border-radius: 14px;
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.cb-login-otp-modal .cb-login-otp-head {
  position: relative;
  padding: 1rem 2.75rem 0 1.35rem;
  text-align: center;
}

.cb-login-otp-modal .cb-login-modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 2;
  opacity: 0.75;
  filter: invert(1) grayscale(100%) brightness(1.75);
}

.cb-login-otp-modal .cb-login-modal-close:focus {
  opacity: 1;
  box-shadow: 0 0 0 2px rgba(255, 140, 33, 0.45);
}

.cb-login-otp-modal .cb-login-logo-banner .cb-signup-logo-img {
  height: 48px;
}

.cb-login-otp-modal-body {
  padding: 0.85rem 1.35rem 1.35rem;
}

.cb-login-otp-modal-body > .cb-login-title {
  text-align: center;
  margin-top: 0.25rem;
  margin-bottom: 0.65rem;
  font-size: 1.25rem;
}

.cb-login-otp-intro {
  text-align: center;
  font-size: 0.875rem;
  color: var(--signup-muted);
  line-height: 1.5;
  margin-bottom: 1.1rem;
}

.cb-login-otp-intro .cb-login-otp-timer {
  font-weight: 700;
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.cb-login-otp-modal-body .cb-signup-field {
  margin-bottom: 1.05rem;
}

.cb-login-otp-modal-body .cb-signup-alert {
  margin-top: 0.25rem;
}

.cb-signup-input.cb-login-otp-input {
  font-size: 1.2rem;
  letter-spacing: 0.35em;
  padding-left: 0.65rem;
  padding-right: 0.65rem;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.cb-login-otp-modal-body .cb-signup-submit {
  margin-top: 0.15rem;
}

.cb-login-otp-resend-wrap {
  text-align: center;
  padding-top: 1rem;
  margin-top: 0.25rem;
  border-top: 1px solid var(--signup-panel-edge);
}

.cb-login-otp-resend {
  appearance: none;
  background: none;
  border: none;
  color: var(--signup-muted);
  font-size: 0.8125rem;
  font-family: var(--cb-font, inherit);
  cursor: pointer;
  padding: 0.35rem 0.5rem;
  text-decoration: none;
  transition: color 0.15s ease;
}

.cb-login-otp-resend:hover:not(:disabled) {
  color: var(--signup-accent);
}

.cb-login-otp-resend:disabled {
  opacity: 0.42;
  cursor: not-allowed;
}

.cb-login-otp-resend-lock {
  font-variant-numeric: tabular-nums;
}
