:root {
  color-scheme: dark;
  --bg: #020202;
  --bg-soft: #090909;
  --panel: #111111;
  --panel-2: #171717;
  --text: #f7f2e6;
  --muted: #b7ad9a;
  --gold: #d9aa4c;
  --gold-bright: #f3ca75;
  --red: #a5232d;
  --blue: #17365d;
  --line: rgba(255, 255, 255, 0.14);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.48);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(90deg, rgba(165, 35, 45, 0.18), transparent 26%, transparent 74%, rgba(23, 54, 93, 0.22)),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.42), transparent 78%);
}

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

a {
  color: inherit;
}

img,
video {
  display: block;
  max-width: 100%;
}

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 14px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
  background: rgba(2, 2, 2, 0.88);
  backdrop-filter: blur(18px);
  overflow: hidden;
}

.site-header::after {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(90deg, rgba(2, 2, 2, 0.72) 0%, rgba(2, 2, 2, 0.28) 48%, rgba(2, 2, 2, 0.44) 100%),
    linear-gradient(180deg, rgba(2, 2, 2, 0.12), rgba(2, 2, 2, 0.42));
}

.header-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.56;
  pointer-events: none;
  filter: saturate(1.28) contrast(1.12) brightness(1.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  align-self: stretch;
  position: relative;
  z-index: 1;
  min-height: 76px;
  color: var(--text);
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.brand-title {
  display: inline-block;
  position: relative;
  z-index: 2;
}

.brand img {
  position: relative;
  z-index: 2;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(217, 170, 76, 0.75);
  object-fit: cover;
  box-shadow: 0 0 28px rgba(217, 170, 76, 0.28);
}

.nav-tabs {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
  z-index: 1;
  min-width: 0;
  max-width: 100%;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(2, 2, 2, 0.42);
  backdrop-filter: blur(12px);
  overflow-x: auto;
  scrollbar-width: none;
}

.nav-tabs::-webkit-scrollbar {
  display: none;
}

.nav-tabs a {
  flex: 0 0 auto;
  min-height: 38px;
  padding: 9px 16px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 750;
  text-decoration: none;
  transition: color 160ms ease, background 160ms ease;
}

.nav-tabs a:hover,
.nav-tabs a:focus-visible,
.nav-tabs a[aria-current="page"] {
  color: var(--text);
  background: rgba(217, 170, 76, 0.16);
  outline: none;
}

.intro-launch-button {
  position: relative;
  z-index: 1;
  min-height: 38px;
  padding: 9px 14px;
  border: 1px solid rgba(217, 170, 76, 0.38);
  border-radius: 999px;
  color: var(--gold-bright);
  background: rgba(2, 2, 2, 0.42);
  cursor: pointer;
  font-size: 0.86rem;
  font-weight: 850;
}

.intro-launch-button:hover,
.intro-launch-button:focus-visible {
  border-color: rgba(243, 202, 117, 0.72);
  background: rgba(217, 170, 76, 0.14);
  outline: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 520px);
  align-items: center;
  gap: clamp(30px, 5vw, 76px);
  min-height: calc(100svh - 76px);
  padding: clamp(56px, 8vw, 104px) clamp(18px, 5vw, 80px) clamp(44px, 7vw, 88px);
  overflow: hidden;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold-bright);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
h4,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(3.2rem, 8vw, 7.5rem);
  line-height: 0.92;
}

h2 {
  margin: 0;
  font-size: clamp(2.1rem, 4vw, 4.4rem);
  line-height: 1;
}

h3 {
  margin: 0;
  font-size: clamp(1.25rem, 2vw, 1.75rem);
}

.hero-copy p:not(.eyebrow),
.section-copy p,
.source-note {
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.hero-points span {
  padding: 7px 10px;
  border: 1px solid rgba(247, 242, 230, 0.16);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.055);
  font-size: 0.82rem;
  font-weight: 800;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 850;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.button.primary {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: #111;
  box-shadow: 0 14px 36px rgba(217, 170, 76, 0.24);
}

.button.secondary {
  border-color: rgba(247, 242, 230, 0.24);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.button.small {
  min-height: 44px;
  padding-inline: 16px;
}

.hero-visual {
  position: relative;
}

.hero-visual::before,
.coin-showcase::before {
  position: absolute;
  inset: 8%;
  z-index: -1;
  content: "";
  border-radius: 50%;
  background: rgba(217, 170, 76, 0.12);
  filter: blur(34px);
}

.hero-visual img {
  width: min(100%, 520px);
  border-radius: 50%;
  border: 1px solid rgba(217, 170, 76, 0.5);
  object-fit: contain;
}

.section {
  scroll-margin-top: 88px;
  padding: clamp(70px, 10vw, 126px) clamp(18px, 5vw, 80px);
}

.band {
  border-block: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(165, 35, 45, 0.12), transparent 34%),
    linear-gradient(315deg, rgba(23, 54, 93, 0.16), transparent 38%),
    var(--bg-soft);
}

.section-inner {
  width: min(1180px, 100%);
  margin-inline: auto;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.8fr);
  align-items: center;
  gap: clamp(34px, 7vw, 88px);
}

.section-copy .button {
  margin-top: 20px;
}

.coin-showcase {
  position: relative;
  margin: 0;
}

.coin-showcase::before {
  inset: 4%;
  border-radius: 18px;
}

.coin-showcase video {
  width: min(100%, 440px);
  max-height: 680px;
  margin-left: auto;
  border: 1px solid rgba(217, 170, 76, 0.42);
  border-radius: 8px;
  background: #000;
  object-fit: contain;
  box-shadow: var(--shadow);
}

.coin-seo-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 660px) minmax(300px, 1fr);
  align-items: center;
  gap: clamp(30px, 5vw, 86px);
  min-height: min(760px, calc(82svh - 20px));
  padding: clamp(52px, 7vw, 78px) clamp(18px, 5vw, 80px) clamp(40px, 5vw, 58px);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, #020202 0%, rgba(2, 2, 2, 0.9) 42%, rgba(2, 2, 2, 0.56) 100%),
    radial-gradient(circle at 80% 50%, rgba(217, 170, 76, 0.3), transparent 34%),
    #020202;
}

.coin-hero-art {
  position: relative;
  order: 2;
  justify-self: end;
  width: min(100%, 640px);
  aspect-ratio: 1;
  max-height: min(64svh, 640px);
  border-radius: 50%;
  object-fit: contain;
  opacity: 0.96;
}

.coin-hero-copy {
  position: relative;
  z-index: 1;
  order: 1;
  width: min(660px, 100%);
}

.coin-hero-title {
  max-width: none;
  font-size: clamp(4.2rem, 7vw, 6.8rem);
  line-height: 0.92;
  overflow-wrap: normal;
  word-break: normal;
}

.coin-hero-title span {
  display: block;
  white-space: nowrap;
}

.coin-hero-copy p:not(.eyebrow):not(.coin-hero-note) {
  max-width: 560px;
  color: var(--muted);
  font-size: clamp(1rem, 1.55vw, 1.22rem);
}

.coin-hero-copy .coin-hero-note {
  max-width: 560px;
  color: var(--muted);
  margin: 14px 0 0;
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.35;
  opacity: 0.9;
}

.coin-address-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  max-width: 660px;
  padding: 14px;
  margin-top: 22px;
  border: 1px solid rgba(217, 170, 76, 0.34);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(217, 170, 76, 0.12), rgba(23, 54, 93, 0.14)),
    rgba(255, 255, 255, 0.055);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.24);
}

.coin-address-panel strong,
.coin-address-panel code,
.address-box code {
  display: block;
}

.coin-address-panel strong {
  margin-top: 8px;
  color: var(--text);
  font-size: 0.96rem;
}

.coin-address-panel code,
.address-box code,
.faq-list code {
  color: #f5d28a;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.82rem;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.coin-answer-band {
  background:
    linear-gradient(180deg, rgba(217, 170, 76, 0.08), transparent 28%),
    #050505;
}

.coin-verification-band {
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(165, 35, 45, 0.13), transparent 34%),
    linear-gradient(315deg, rgba(23, 54, 93, 0.24), transparent 42%),
    #050505;
}

.coin-proof-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 14px;
  align-items: stretch;
}

.coin-proof-card,
.coin-proof-link,
.token-fact-card,
.avoid-list div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent),
    var(--panel);
  box-shadow: 0 18px 58px rgba(0, 0, 0, 0.18);
}

.coin-proof-card {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 20px;
}

.coin-proof-card.is-primary {
  border-color: rgba(217, 170, 76, 0.38);
  background:
    linear-gradient(135deg, rgba(217, 170, 76, 0.14), transparent 40%),
    linear-gradient(315deg, rgba(23, 54, 93, 0.18), transparent 52%),
    var(--panel);
}

.coin-proof-card h3,
.coin-proof-card p,
.token-fact-card p,
.avoid-list p {
  margin: 0;
}

.coin-proof-card h3 {
  font-size: clamp(1.45rem, 2.4vw, 2.2rem);
}

.coin-proof-card p,
.token-fact-card p,
.avoid-list p,
.coin-proof-link small,
.coin-safety-note {
  color: var(--muted);
}

.address-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding-top: 4px;
}

.coin-proof-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.coin-proof-link {
  display: grid;
  gap: 8px;
  min-height: 152px;
  padding: 18px;
  color: inherit;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.coin-proof-link:hover,
.coin-proof-link:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(217, 170, 76, 0.44);
  background:
    linear-gradient(180deg, rgba(217, 170, 76, 0.1), transparent),
    var(--panel);
  outline: none;
}

.coin-proof-link span,
.token-fact-card span {
  color: var(--gold-bright);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.coin-proof-link strong,
.token-fact-card strong,
.avoid-list strong {
  color: var(--text);
  font-size: 1.08rem;
}

.coin-proof-link small {
  font-size: 0.9rem;
}

.coin-safety-note {
  max-width: 860px;
  margin: 18px 0 0;
  font-size: 0.95rem;
}

.coin-fact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.token-facts-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.token-fact-card {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 196px;
  padding: 18px;
}

.token-fact-card strong {
  font-size: clamp(1.35rem, 2.1vw, 1.85rem);
}

.token-fact-card .address-short {
  color: var(--gold-bright);
}

.coin-avoid-band {
  border-block: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(165, 35, 45, 0.16), transparent 44%),
    linear-gradient(300deg, rgba(23, 54, 93, 0.22), transparent 52%),
    var(--bg-soft);
}

.avoid-list {
  display: grid;
  gap: 12px;
}

.avoid-list div {
  padding: 18px;
}

.avoid-list strong {
  display: block;
  margin-bottom: 6px;
}

.badge-gold {
  width: fit-content;
  border-color: rgba(217, 170, 76, 0.56);
  color: var(--gold-bright);
  background: rgba(217, 170, 76, 0.1);
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent),
    var(--panel);
}

.faq-list summary {
  min-height: 58px;
  padding: 18px;
  color: var(--text);
  cursor: pointer;
  font-weight: 850;
}

.faq-list p {
  margin: 0;
  padding: 0 18px 18px;
  color: var(--muted);
}

.video-band {
  background: #050505;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}

.stacked-heading {
  display: block;
}

.stacked-heading p:not(.eyebrow),
.two-column-head p,
.page-hero p,
.section-kicker {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(1rem, 1.45vw, 1.16rem);
}

.page-hero {
  padding: clamp(70px, 10vw, 120px) clamp(18px, 5vw, 80px) clamp(42px, 6vw, 74px);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(120deg, rgba(165, 35, 45, 0.16), transparent 36%),
    linear-gradient(300deg, rgba(23, 54, 93, 0.24), transparent 42%),
    #050505;
}

.page-hero h1 {
  font-size: clamp(3rem, 7vw, 6.5rem);
}

.state-hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  max-width: 920px;
  margin-top: 28px;
}

.state-hero-stats div {
  padding: 14px;
  border: 1px solid rgba(247, 242, 230, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(165, 35, 45, 0.16), rgba(23, 54, 93, 0.16)),
    rgba(255, 255, 255, 0.055);
}

.state-hero-stats strong,
.state-hero-stats span {
  display: block;
}

.state-hero-stats strong {
  color: var(--gold-bright);
  font-size: clamp(1.7rem, 4vw, 2.7rem);
  line-height: 1;
}

.state-hero-stats span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.two-column-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 28px;
  margin-bottom: 28px;
}

.feature-band,
.explore-band {
  background:
    linear-gradient(180deg, rgba(217, 170, 76, 0.08), transparent 30%),
    #050505;
}

.history-grid,
.hub-grid,
.content-grid,
.mini-event-grid,
.feature-layout,
.state-page-grid,
.map-grid {
  display: grid;
  gap: 14px;
}

.history-grid,
.content-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.hub-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-layout {
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 28px;
  align-items: start;
}

.mini-event-grid,
.week-list {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.feature-card,
.hub-card,
.mini-event-card,
.week-card,
.state-page-card,
.map-card,
.quiz-question {
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent),
    var(--panel);
  box-shadow: 0 18px 58px rgba(0, 0, 0, 0.18);
}

.feature-card,
.hub-card,
.mini-event-card,
.week-card,
.map-card,
.quiz-question {
  padding: 18px;
}

.feature-card h3,
.hub-card h3,
.week-card h4,
.mini-event-card h4 {
  margin: 10px 0 8px;
}

.feature-card p,
.hub-card p,
.week-card p,
.mini-event-card p,
.map-card p,
.card-action {
  margin: 0;
  color: var(--muted);
}

.card-action {
  margin-top: 14px;
  color: #ddd5c8;
  font-weight: 750;
}

.hub-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  min-height: 48px;
  padding: 8px 10px;
  border: 1px solid rgba(217, 170, 76, 0.52);
  border-radius: 50%;
  color: var(--gold-bright);
  font-weight: 900;
}

.hub-card a,
.text-link {
  display: inline-flex;
  margin-top: 16px;
  color: var(--gold-bright);
  font-weight: 850;
  text-decoration: none;
}

.hub-card a:hover,
.hub-card a:focus-visible,
.text-link:hover,
.text-link:focus-visible {
  text-decoration: underline;
  text-underline-offset: 4px;
  outline: none;
}

.week-card span {
  color: var(--gold-bright);
  font-size: 0.86rem;
  font-weight: 850;
}

.trust-note {
  padding: 12px 14px;
  border: 1px solid rgba(217, 170, 76, 0.24);
  border-radius: 8px;
  background: rgba(217, 170, 76, 0.08);
}

.state-page-grid {
  grid-template-columns: 1fr;
  margin-top: 22px;
}

.state-spotlight {
  scroll-margin-top: 124px;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) minmax(220px, 0.72fr);
  gap: 22px;
  align-items: stretch;
  padding: 22px;
  margin-bottom: 18px;
  border: 1px solid rgba(217, 170, 76, 0.32);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(165, 35, 45, 0.14), transparent 34%),
    linear-gradient(300deg, rgba(23, 54, 93, 0.22), transparent 48%),
    var(--panel);
  box-shadow: var(--shadow);
}

.state-spotlight-media,
.state-symbols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  align-content: start;
}

.state-spotlight-media img,
.state-symbols img {
  width: 100%;
  aspect-ratio: 4 / 3;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  object-fit: contain;
}

.state-spotlight-copy h2 {
  margin: 4px 0 10px;
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.state-spotlight-copy p {
  margin: 0;
  color: #ddd5c8;
}

.state-spotlight-actions,
.state-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.state-spotlight-events,
.state-mini-events {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.state-spotlight-events a,
.state-mini-events a {
  display: grid;
  gap: 3px;
  padding: 10px 12px;
  border: 1px solid rgba(217, 170, 76, 0.22);
  border-radius: 8px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.045);
  text-decoration: none;
}

.state-spotlight-events a:hover,
.state-spotlight-events a:focus-visible,
.state-mini-events a:hover,
.state-mini-events a:focus-visible {
  border-color: rgba(217, 170, 76, 0.58);
  outline: none;
}

.state-spotlight-events span,
.state-mini-events span {
  color: var(--gold-bright);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.state-spotlight-trail {
  display: grid;
  gap: 10px;
}

.state-spotlight-trail div {
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.state-spotlight-trail span {
  display: block;
  color: var(--gold-bright);
  font-size: 0.74rem;
  font-weight: 850;
  text-transform: uppercase;
}

.state-spotlight-trail strong {
  display: block;
  margin-top: 4px;
  color: #f7f2e6;
}

.state-empty-note,
.state-no-events {
  color: var(--muted);
}

.state-tools {
  grid-template-columns: minmax(240px, 1fr) minmax(150px, 190px) minmax(140px, 180px) minmax(220px, auto) auto auto;
}

.toggle-field {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.055);
  font-weight: 800;
}

.toggle-field input {
  width: 18px;
  height: 18px;
  accent-color: var(--gold);
}

.state-region-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: -2px 0 16px;
}

.state-region-chip {
  min-height: 36px;
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  color: var(--muted);
  cursor: pointer;
  font-weight: 800;
}

.state-region-chip:hover,
.state-region-chip:focus-visible,
.state-region-chip.is-active {
  border-color: rgba(217, 170, 76, 0.62);
  color: var(--gold-bright);
  background: rgba(217, 170, 76, 0.12);
  outline: none;
}

.state-compare-panel {
  display: grid;
  grid-template-columns: minmax(180px, 0.7fr) minmax(280px, 0.9fr) minmax(320px, 1.3fr);
  gap: 18px;
  align-items: start;
  padding: 18px;
  margin: 10px 0 20px;
  border: 1px solid rgba(247, 242, 230, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(165, 35, 45, 0.1), transparent 42%),
    rgba(255, 255, 255, 0.045);
}

.state-compare-panel h2 {
  margin: 4px 0 0;
  font-size: clamp(1.25rem, 2vw, 1.8rem);
}

.state-compare-controls {
  display: grid;
  gap: 10px;
}

.state-compare-grid {
  display: grid;
  gap: 7px;
}

.state-compare-header,
.state-compare-row {
  display: grid;
  grid-template-columns: minmax(94px, 0.7fr) repeat(2, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
}

.state-compare-header {
  color: var(--gold-bright);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.state-compare-row {
  padding: 9px 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.state-compare-row span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.state-compare-row strong {
  color: #f7f2e6;
  font-size: 0.92rem;
  line-height: 1.25;
}

.state-page-card {
  position: relative;
  scroll-margin-top: 124px;
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 24px;
  padding: 20px;
  overflow: hidden;
}

.state-page-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  content: "";
  background: linear-gradient(90deg, var(--red), #f7f2e6, var(--blue), var(--gold));
}

.state-page-card.has-events::before {
  background: linear-gradient(90deg, var(--gold-bright), var(--red), var(--blue));
}

.state-page-card.is-selected {
  border-color: rgba(217, 170, 76, 0.58);
  box-shadow: 0 22px 68px rgba(217, 170, 76, 0.12);
}

.state-page-card.is-explored {
  background:
    linear-gradient(180deg, rgba(217, 170, 76, 0.08), transparent),
    var(--panel);
}

.state-page-card.is-explored::after {
  position: absolute;
  right: 16px;
  bottom: 14px;
  content: "Explored";
  color: rgba(243, 202, 117, 0.22);
  font-size: clamp(1.8rem, 5vw, 4rem);
  font-weight: 950;
  line-height: 1;
  pointer-events: none;
  text-transform: uppercase;
}

.state-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.state-card-head h2 {
  margin: 4px 0 10px;
}

.state-event-pill {
  flex: 0 0 auto;
  padding: 6px 9px;
  border: 1px solid rgba(217, 170, 76, 0.4);
  border-radius: 999px;
  color: var(--gold-bright);
  background: rgba(217, 170, 76, 0.1);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.state-event-link {
  color: var(--gold-bright);
  font-weight: 850;
  text-decoration: none;
}

.state-event-link:hover,
.state-event-link:focus-visible {
  text-decoration: underline;
  text-underline-offset: 4px;
  outline: none;
}

.state-passport-challenge {
  margin-top: 14px !important;
  padding: 12px 14px;
  border: 1px solid rgba(217, 170, 76, 0.24);
  border-radius: 8px;
  background: rgba(217, 170, 76, 0.08);
  color: #f0dfbd !important;
  font-weight: 800;
}

.button.secondary.is-complete {
  border-color: rgba(217, 170, 76, 0.62);
  color: var(--gold-bright);
  background: rgba(217, 170, 76, 0.14);
}

.state-action-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 16px 0 0;
  list-style: none;
}

.state-action-list li {
  padding: 7px 10px;
  border: 1px solid rgba(247, 242, 230, 0.14);
  border-radius: 999px;
  color: #ddd5c8;
  background: rgba(255, 255, 255, 0.045);
  font-size: 0.84rem;
  font-weight: 800;
}

.fact-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0 0;
}

.fact-list div {
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.fact-list dt {
  color: var(--gold-bright);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.fact-list dd {
  margin: 4px 0 0;
  color: #ddd5c8;
}

.inline-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 16px 0 0;
  list-style: none;
}

.inline-list li {
  padding: 6px 9px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: #ddd5c8;
  font-size: 0.84rem;
  font-weight: 760;
}

.visit-hero {
  padding-bottom: clamp(48px, 7vw, 88px);
}

.visit-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(290px, 390px);
  gap: clamp(28px, 5vw, 72px);
  align-items: end;
}

.visit-hero-copy p:not(.eyebrow) {
  max-width: 780px;
  color: var(--muted);
  font-size: clamp(1rem, 1.45vw, 1.16rem);
}

.visit-hero-panel,
.visit-progress-panel,
.visit-route-panel,
.visit-route-card,
.visit-card,
.visit-detail,
.visit-checklist-panel,
.visit-note-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.065), transparent),
    var(--panel);
  box-shadow: 0 18px 58px rgba(0, 0, 0, 0.2);
}

.visit-hero-panel {
  display: grid;
  gap: 18px;
  padding: 22px;
  background:
    linear-gradient(135deg, rgba(165, 35, 45, 0.18), transparent 42%),
    linear-gradient(315deg, rgba(23, 54, 93, 0.24), transparent 42%),
    rgba(17, 17, 17, 0.92);
}

.visit-hero-panel img {
  width: 108px;
  height: 108px;
  border: 1px solid rgba(217, 170, 76, 0.55);
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 18px 44px rgba(217, 170, 76, 0.16);
}

.visit-hero-panel strong {
  display: block;
  color: var(--gold-bright);
  font-size: clamp(3rem, 6vw, 4.5rem);
  line-height: 0.92;
}

.visit-hero-panel span,
.visit-hero-stats dd {
  color: var(--muted);
  font-weight: 800;
}

.visit-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.visit-hero-stats div {
  padding: 12px;
  border: 1px solid rgba(247, 242, 230, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.visit-hero-stats dt {
  color: var(--text);
  font-size: 1.45rem;
  font-weight: 900;
  line-height: 1;
}

.visit-hero-stats dd {
  margin: 6px 0 0;
  font-size: 0.72rem;
  text-transform: uppercase;
}

.visit-command-band {
  background:
    linear-gradient(180deg, rgba(217, 170, 76, 0.07), transparent 32%),
    #050505;
}

.visit-dashboard {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(280px, 1.12fr);
  gap: 14px;
  align-items: stretch;
}

.visit-progress-panel,
.visit-route-panel,
.visit-route-card,
.visit-card,
.visit-detail,
.visit-checklist-panel,
.visit-note-panel {
  padding: 20px;
}

.visit-progress-panel h2,
.visit-route-panel h2 {
  font-size: clamp(1.7rem, 3vw, 2.6rem);
}

.visit-progress-track {
  height: 12px;
  margin: 18px 0 12px;
  overflow: hidden;
  border: 1px solid rgba(217, 170, 76, 0.26);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.visit-progress-track span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--red), var(--gold-bright), var(--blue));
  transition: width 220ms ease;
}

.visit-progress-panel p:not(.eyebrow),
.visit-route-panel p,
.visit-route-card p,
.visit-card p,
.visit-detail p,
.visit-detail dd,
.visit-note-panel p {
  color: var(--muted);
}

.visit-dashboard-actions,
.visit-card-actions,
.visit-practice-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.button.is-complete {
  border-color: rgba(217, 170, 76, 0.62);
  color: var(--gold-bright);
  background: rgba(217, 170, 76, 0.14);
}

.visit-route-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.visit-card-top,
.visit-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.visit-card-meta {
  color: var(--gold-bright);
  font-size: 0.82rem;
  font-weight: 900;
  text-align: right;
}

.visit-route-card h3,
.visit-detail h3,
.visit-checklist-panel h3,
.visit-note-panel h3 {
  margin: 10px 0 8px;
}

.visit-step-list,
.visit-route-steps {
  display: grid;
  gap: 8px;
}

.visit-step-list {
  padding: 0;
  margin: 16px 0 0;
  list-style: none;
}

.visit-step-list button,
.visit-route-step {
  display: grid;
  gap: 4px;
  width: 100%;
  min-height: 54px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: #ddd5c8;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  text-align: left;
}

.visit-route-step {
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  margin-top: 0;
}

.visit-route-steps {
  margin-top: 16px;
}

.visit-step-list button:hover,
.visit-step-list button:focus-visible,
.visit-route-step:hover,
.visit-route-step:focus-visible {
  border-color: rgba(217, 170, 76, 0.58);
  outline: none;
}

.visit-step-list span {
  color: var(--gold-bright);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.visit-step-list .is-complete button {
  border-color: rgba(70, 190, 120, 0.34);
  color: #dff8e8;
}

.visit-route-step span {
  grid-row: span 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(217, 170, 76, 0.45);
  border-radius: 50%;
  color: var(--gold-bright);
  font-weight: 900;
}

.visit-route-step small {
  color: var(--muted);
  font-weight: 760;
}

.visit-route-step.is-complete span {
  color: #111;
  background: var(--gold-bright);
}

.visit-outcome {
  margin-top: 14px;
  font-size: 0.94rem;
}

.visit-outcome strong {
  color: var(--gold-bright);
}

.visit-tools {
  grid-template-columns: minmax(240px, 1fr) minmax(150px, 190px) minmax(150px, 190px) auto;
}

.visit-library-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.72fr);
  gap: 18px;
  align-items: start;
}

.visit-library-grid {
  display: grid;
  gap: 14px;
}

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

.visit-card::before,
.visit-route-card::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  content: "";
  background: linear-gradient(180deg, var(--red), var(--gold-bright), var(--blue));
  opacity: 0.62;
}

.visit-card.is-selected,
.visit-route-card.is-selected {
  border-color: rgba(217, 170, 76, 0.58);
  box-shadow: 0 20px 62px rgba(217, 170, 76, 0.12);
}

.visit-card.is-visited::before {
  background: #79e2a1;
}

.visit-card.is-planned,
.visit-route-card.is-planned {
  background:
    linear-gradient(180deg, rgba(217, 170, 76, 0.08), transparent),
    var(--panel);
}

.visit-card h3 {
  margin: 14px 0 8px;
  font-size: clamp(1.15rem, 1.7vw, 1.45rem);
}

.visit-card h3 button {
  padding: 0;
  border: 0;
  color: var(--text);
  background: transparent;
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.visit-card h3 button:hover,
.visit-card h3 button:focus-visible {
  color: var(--gold-bright);
  outline: none;
}

.visit-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.visit-chip-row span {
  padding: 6px 9px;
  border: 1px solid rgba(247, 242, 230, 0.14);
  border-radius: 999px;
  color: #ddd5c8;
  background: rgba(255, 255, 255, 0.045);
  font-size: 0.78rem;
  font-weight: 800;
}

.visit-detail {
  position: sticky;
  top: 104px;
  max-height: calc(100svh - 124px);
  overflow: auto;
  overscroll-behavior: contain;
}

.visit-detail:focus {
  outline: 2px solid rgba(217, 170, 76, 0.34);
  outline-offset: 4px;
}

.visit-prompt {
  margin-top: 14px !important;
  padding: 12px 14px;
  border: 1px solid rgba(217, 170, 76, 0.24);
  border-radius: 8px;
  background: rgba(217, 170, 76, 0.08);
  color: #f0dfbd !important;
  font-weight: 800;
}

.visit-detail-facts {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
}

.visit-detail-facts div {
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.visit-detail-facts dt,
.visit-detail-section h4 {
  color: var(--gold-bright);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.visit-detail-facts dd {
  margin: 5px 0 0;
}

.visit-detail-section {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.visit-detail-section h4 {
  margin: 0 0 10px;
}

.visit-detail-section ol {
  display: grid;
  gap: 8px;
  padding-left: 20px;
  margin: 0;
  color: #ddd5c8;
}

.visit-stop-list {
  display: grid;
  gap: 8px;
}

.visit-stop-list button {
  display: grid;
  gap: 4px;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: #ddd5c8;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  text-align: left;
}

.visit-stop-list button:hover,
.visit-stop-list button:focus-visible {
  border-color: rgba(217, 170, 76, 0.58);
  outline: none;
}

.visit-stop-list button span {
  color: var(--gold-bright);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.visit-stop-list button.is-saved {
  border-color: rgba(70, 190, 120, 0.36);
  color: #dff8e8;
  background: rgba(70, 190, 120, 0.08);
}

.visit-field-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1.1fr);
  gap: 14px;
  align-items: stretch;
}

.visit-prep-list {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.visit-prep-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-height: 48px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: #ddd5c8;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  font-weight: 760;
}

.visit-prep-item input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--gold);
}

.visit-prep-item.is-complete {
  border-color: rgba(70, 190, 120, 0.34);
  color: #dff8e8;
}

.visit-note-panel textarea {
  min-height: 180px;
  padding: 14px;
  resize: vertical;
}

.holiday-hero {
  padding-bottom: clamp(48px, 7vw, 88px);
}

.holiday-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(290px, 390px);
  gap: clamp(28px, 5vw, 72px);
  align-items: end;
}

.holiday-hero-copy p:not(.eyebrow) {
  max-width: 780px;
  color: var(--muted);
  font-size: clamp(1rem, 1.45vw, 1.16rem);
}

.holiday-hero-panel,
.holiday-progress-panel,
.holiday-next-panel,
.holiday-route-card,
.holiday-card,
.holiday-detail,
.holiday-checklist-panel,
.holiday-note-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.065), transparent),
    var(--panel);
  box-shadow: 0 18px 58px rgba(0, 0, 0, 0.2);
}

.holiday-hero-panel {
  display: grid;
  gap: 18px;
  padding: 22px;
  background:
    linear-gradient(135deg, rgba(165, 35, 45, 0.18), transparent 42%),
    linear-gradient(315deg, rgba(23, 54, 93, 0.24), transparent 42%),
    rgba(17, 17, 17, 0.92);
}

.holiday-hero-panel img {
  width: 108px;
  height: 108px;
  border: 1px solid rgba(217, 170, 76, 0.55);
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 18px 44px rgba(217, 170, 76, 0.16);
}

.holiday-hero-panel strong {
  display: block;
  color: var(--gold-bright);
  font-size: clamp(3rem, 6vw, 4.5rem);
  line-height: 0.92;
}

.holiday-hero-panel span,
.holiday-hero-stats dd {
  color: var(--muted);
  font-weight: 800;
}

.holiday-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.holiday-hero-stats div {
  padding: 12px;
  border: 1px solid rgba(247, 242, 230, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.holiday-hero-stats dt {
  color: var(--text);
  font-size: 1.45rem;
  font-weight: 900;
  line-height: 1;
}

.holiday-hero-stats dd {
  margin: 6px 0 0;
  font-size: 0.72rem;
  text-transform: uppercase;
}

.holiday-command-band {
  background:
    linear-gradient(180deg, rgba(217, 170, 76, 0.07), transparent 32%),
    #050505;
}

.holiday-dashboard {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(280px, 1.12fr);
  gap: 14px;
  align-items: stretch;
}

.holiday-progress-panel,
.holiday-next-panel,
.holiday-route-card,
.holiday-card,
.holiday-detail,
.holiday-checklist-panel,
.holiday-note-panel {
  padding: 20px;
}

.holiday-progress-panel h2,
.holiday-next-panel h2 {
  font-size: clamp(1.7rem, 3vw, 2.6rem);
}

.holiday-progress-track {
  height: 12px;
  margin: 18px 0 12px;
  overflow: hidden;
  border: 1px solid rgba(217, 170, 76, 0.26);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.holiday-progress-track span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--red), var(--gold-bright), var(--blue));
  transition: width 220ms ease;
}

.holiday-progress-panel p:not(.eyebrow),
.holiday-next-panel p,
.holiday-route-card p,
.holiday-card p,
.holiday-detail p,
.holiday-detail dd,
.holiday-note-panel p {
  color: var(--muted);
}

.holiday-dashboard-actions,
.holiday-card-actions,
.holiday-practice-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.holiday-next-plan {
  display: grid;
  gap: 14px;
}

.holiday-next-card {
  display: grid;
  gap: 5px;
  padding: 14px;
  border: 1px solid rgba(217, 170, 76, 0.24);
  border-radius: 8px;
  background: rgba(217, 170, 76, 0.08);
}

.holiday-next-card span {
  color: var(--gold-bright);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.holiday-next-card strong {
  color: var(--text);
  font-size: 1.16rem;
}

.holiday-route-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.holiday-card-top,
.holiday-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.holiday-card-meta {
  color: var(--gold-bright);
  font-size: 0.82rem;
  font-weight: 900;
  text-align: right;
}

.holiday-route-card h3,
.holiday-detail h3,
.holiday-checklist-panel h3,
.holiday-note-panel h3 {
  margin: 10px 0 8px;
}

.holiday-step-list,
.holiday-route-steps {
  display: grid;
  gap: 8px;
}

.holiday-step-list {
  padding: 0;
  margin: 16px 0 0;
  list-style: none;
}

.holiday-step-list button,
.holiday-route-step {
  display: grid;
  gap: 4px;
  width: 100%;
  min-height: 54px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: #ddd5c8;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  text-align: left;
}

.holiday-route-step {
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
}

.holiday-route-step span {
  grid-row: span 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(217, 170, 76, 0.45);
  border-radius: 50%;
  color: var(--gold-bright);
  font-weight: 900;
}

.holiday-step-list button:hover,
.holiday-step-list button:focus-visible,
.holiday-route-step:hover,
.holiday-route-step:focus-visible {
  border-color: rgba(217, 170, 76, 0.58);
  outline: none;
}

.holiday-step-list span {
  color: var(--gold-bright);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.holiday-route-step small {
  color: var(--muted);
  font-weight: 760;
}

.holiday-step-list .is-complete button {
  border-color: rgba(70, 190, 120, 0.34);
  color: #dff8e8;
}

.holiday-outcome {
  margin-top: 14px;
  font-size: 0.94rem;
}

.holiday-outcome strong {
  color: var(--gold-bright);
}

.holiday-tools {
  grid-template-columns: minmax(240px, 1fr) minmax(140px, 175px) minmax(140px, 175px) minmax(150px, 190px) auto;
}

.holiday-library-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.72fr);
  gap: 18px;
  align-items: start;
}

.holiday-library-grid {
  display: grid;
  gap: 14px;
}

.holiday-card,
.holiday-route-card {
  position: relative;
  overflow: hidden;
}

.holiday-card::before,
.holiday-route-card::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  content: "";
  background: linear-gradient(180deg, var(--red), var(--gold-bright), var(--blue));
  opacity: 0.62;
}

.holiday-card.is-selected,
.holiday-route-card.is-selected {
  border-color: rgba(217, 170, 76, 0.58);
  box-shadow: 0 20px 62px rgba(217, 170, 76, 0.12);
}

.holiday-card.is-observed::before {
  background: #79e2a1;
}

.holiday-card.is-planned,
.holiday-route-card.is-planned {
  background:
    linear-gradient(180deg, rgba(217, 170, 76, 0.08), transparent),
    var(--panel);
}

.holiday-card h3 {
  margin: 14px 0 8px;
  font-size: clamp(1.15rem, 1.7vw, 1.45rem);
}

.holiday-card h3 button {
  padding: 0;
  border: 0;
  color: var(--text);
  background: transparent;
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.holiday-card h3 button:hover,
.holiday-card h3 button:focus-visible {
  color: var(--gold-bright);
  outline: none;
}

.holiday-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.holiday-chip-row span {
  padding: 6px 9px;
  border: 1px solid rgba(247, 242, 230, 0.14);
  border-radius: 999px;
  color: #ddd5c8;
  background: rgba(255, 255, 255, 0.045);
  font-size: 0.78rem;
  font-weight: 800;
}

.holiday-detail {
  position: sticky;
  top: 104px;
  max-height: calc(100svh - 124px);
  overflow: auto;
  overscroll-behavior: contain;
}

.holiday-detail:focus {
  outline: 2px solid rgba(217, 170, 76, 0.34);
  outline-offset: 4px;
}

.holiday-prompt {
  margin-top: 14px !important;
  padding: 12px 14px;
  border: 1px solid rgba(217, 170, 76, 0.24);
  border-radius: 8px;
  background: rgba(217, 170, 76, 0.08);
  color: #f0dfbd !important;
  font-weight: 800;
}

.holiday-detail-facts {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
}

.holiday-detail-facts div {
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.holiday-detail-facts dt,
.holiday-detail-section h4 {
  color: var(--gold-bright);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.holiday-detail-facts dd {
  margin: 5px 0 0;
}

.holiday-detail-section {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.holiday-detail-section h4 {
  margin: 0 0 10px;
}

.holiday-detail-section ul,
.holiday-detail-section ol {
  display: grid;
  gap: 8px;
  padding-left: 20px;
  margin: 0;
  color: #ddd5c8;
}

.holiday-field-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1.1fr);
  gap: 14px;
  align-items: stretch;
}

.holiday-tradition-list {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.holiday-tradition-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-height: 48px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: #ddd5c8;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  font-weight: 760;
}

.holiday-tradition-item input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--gold);
}

.holiday-tradition-item.is-complete {
  border-color: rgba(70, 190, 120, 0.34);
  color: #dff8e8;
}

.holiday-note-panel textarea {
  min-height: 180px;
  padding: 14px;
  resize: vertical;
}

.learn-hero {
  padding-bottom: clamp(48px, 7vw, 88px);
}

.learn-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(290px, 390px);
  gap: clamp(28px, 5vw, 72px);
  align-items: end;
}

.learn-hero-copy p:not(.eyebrow) {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(1rem, 1.45vw, 1.16rem);
}

.learn-hero-panel,
.learn-progress-panel,
.learn-daily-panel,
.learn-path-card,
.learn-document-panel,
.learn-lesson-card,
.learn-lesson-detail,
.learn-flashcard-panel,
.learn-reflection-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.065), transparent),
    var(--panel);
  box-shadow: 0 18px 58px rgba(0, 0, 0, 0.2);
}

.learn-hero-panel {
  display: grid;
  gap: 18px;
  padding: 22px;
  background:
    linear-gradient(135deg, rgba(165, 35, 45, 0.18), transparent 42%),
    linear-gradient(315deg, rgba(23, 54, 93, 0.24), transparent 42%),
    rgba(17, 17, 17, 0.92);
}

.learn-hero-panel img {
  width: 108px;
  height: 108px;
  border: 1px solid rgba(217, 170, 76, 0.55);
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 18px 44px rgba(217, 170, 76, 0.16);
}

.learn-hero-panel strong {
  display: block;
  color: var(--gold-bright);
  font-size: clamp(3rem, 6vw, 4.5rem);
  line-height: 0.92;
}

.learn-hero-panel span,
.learn-hero-stats dd {
  color: var(--muted);
  font-weight: 800;
}

.learn-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.learn-hero-stats div {
  padding: 12px;
  border: 1px solid rgba(247, 242, 230, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.learn-hero-stats dt {
  color: var(--text);
  font-size: 1.45rem;
  font-weight: 900;
  line-height: 1;
}

.learn-hero-stats dd {
  margin: 6px 0 0;
  font-size: 0.72rem;
  text-transform: uppercase;
}

.learn-command-band {
  background:
    linear-gradient(180deg, rgba(217, 170, 76, 0.07), transparent 32%),
    #050505;
}

.learn-dashboard {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1.1fr);
  gap: 14px;
  align-items: stretch;
}

.learn-progress-panel,
.learn-daily-panel,
.learn-path-card,
.learn-document-panel,
.learn-lesson-card,
.learn-lesson-detail,
.learn-flashcard-panel,
.learn-reflection-panel {
  padding: 20px;
}

.learn-progress-panel h2,
.learn-daily-panel h2 {
  font-size: clamp(1.7rem, 3vw, 2.6rem);
}

.learn-progress-track {
  height: 12px;
  margin: 18px 0 12px;
  overflow: hidden;
  border: 1px solid rgba(217, 170, 76, 0.26);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.learn-progress-track span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--red), var(--gold-bright), var(--blue));
  transition: width 220ms ease;
}

.learn-progress-panel p:not(.eyebrow),
.learn-daily-panel p,
.learn-path-card p,
.learn-lesson-card p,
.learn-lesson-detail p,
.learn-document-panel dd,
.learn-reflection-panel p {
  color: var(--muted);
}

.learn-dashboard-actions,
.learn-practice-actions,
.learn-source-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.learn-daily-plan {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.learn-daily-step {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 8px 12px;
  align-items: center;
  min-height: 66px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.045);
  cursor: pointer;
  text-align: left;
}

.learn-daily-step:hover,
.learn-daily-step:focus-visible {
  border-color: rgba(217, 170, 76, 0.62);
  outline: none;
}

.learn-daily-step span {
  grid-row: span 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(217, 170, 76, 0.45);
  border-radius: 50%;
  color: var(--gold-bright);
  font-weight: 900;
}

.learn-daily-step small {
  color: var(--muted);
  font-weight: 760;
}

.learn-daily-step.is-complete span {
  color: #111;
  background: var(--gold-bright);
}

.learn-path-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.learn-card-top,
.learn-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.learn-card-meta {
  color: var(--gold-bright);
  font-size: 0.82rem;
  font-weight: 900;
}

.learn-path-card h3,
.learn-document-panel h3,
.learn-lesson-detail h3,
.learn-flashcard-panel h3,
.learn-reflection-panel h3 {
  margin: 10px 0 8px;
}

.learn-step-list {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 16px 0 0;
  list-style: none;
}

.learn-step-list button {
  display: grid;
  gap: 4px;
  width: 100%;
  min-height: 54px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: #ddd5c8;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  text-align: left;
}

.learn-step-list button:hover,
.learn-step-list button:focus-visible {
  border-color: rgba(217, 170, 76, 0.58);
  outline: none;
}

.learn-step-list span {
  color: var(--gold-bright);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.learn-step-list .is-complete button {
  border-color: rgba(70, 190, 120, 0.34);
  color: #dff8e8;
}

.learn-outcome {
  margin-top: 14px;
  font-size: 0.94rem;
}

.learn-outcome strong {
  color: var(--gold-bright);
}

.learn-document-layout {
  display: grid;
  grid-template-columns: minmax(210px, 280px) minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.learn-document-tabs {
  display: grid;
  gap: 8px;
}

.learn-document-tabs button {
  display: grid;
  gap: 4px;
  min-height: 58px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  color: #ddd5c8;
  background: rgba(255, 255, 255, 0.045);
  cursor: pointer;
  text-align: left;
  font-weight: 850;
}

.learn-document-tabs button span {
  color: var(--gold-bright);
  font-size: 0.74rem;
  text-transform: uppercase;
}

.learn-document-tabs button[aria-selected="true"],
.learn-document-tabs button:hover,
.learn-document-tabs button:focus-visible {
  border-color: rgba(217, 170, 76, 0.62);
  color: var(--text);
  background: rgba(217, 170, 76, 0.11);
  outline: none;
}

.learn-document-facts {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
}

.learn-document-facts div {
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.learn-document-facts dt,
.learn-detail-section h4,
.learn-term-list dt {
  color: var(--gold-bright);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.learn-document-facts dd {
  margin: 5px 0 0;
}

.learn-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.learn-chip-row span {
  padding: 6px 9px;
  border: 1px solid rgba(247, 242, 230, 0.14);
  border-radius: 999px;
  color: #ddd5c8;
  background: rgba(255, 255, 255, 0.045);
  font-size: 0.78rem;
  font-weight: 800;
}

.learn-checkpoints {
  display: grid;
  gap: 8px;
  padding-left: 22px;
  margin: 18px 0 0;
  color: #ddd5c8;
}

.learn-library-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.72fr);
  gap: 18px;
  align-items: start;
}

.learn-library-grid {
  display: grid;
  gap: 14px;
}

.learn-lesson-card {
  position: relative;
  overflow: hidden;
}

.learn-lesson-card::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  content: "";
  background: linear-gradient(180deg, var(--red), var(--gold-bright), var(--blue));
  opacity: 0.62;
}

.learn-lesson-card.is-selected {
  border-color: rgba(217, 170, 76, 0.58);
  box-shadow: 0 20px 62px rgba(217, 170, 76, 0.12);
}

.learn-lesson-card.is-complete::before {
  background: #79e2a1;
}

.learn-lesson-card h3 {
  margin: 14px 0 8px;
  font-size: clamp(1.15rem, 1.7vw, 1.45rem);
}

.learn-lesson-card h3 button {
  padding: 0;
  border: 0;
  color: var(--text);
  background: transparent;
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.learn-lesson-card h3 button:hover,
.learn-lesson-card h3 button:focus-visible {
  color: var(--gold-bright);
  outline: none;
}

.learn-complete-toggle {
  flex: 0 0 auto;
  min-height: 32px;
  padding: 6px 10px;
  border: 1px solid rgba(217, 170, 76, 0.32);
  border-radius: 999px;
  color: var(--gold-bright);
  background: rgba(217, 170, 76, 0.08);
  cursor: pointer;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.learn-complete-toggle:hover,
.learn-complete-toggle:focus-visible {
  border-color: rgba(243, 202, 117, 0.78);
  outline: none;
}

.learn-complete-toggle.is-complete {
  border-color: rgba(70, 190, 120, 0.48);
  color: #9ef0bc;
  background: rgba(70, 190, 120, 0.1);
}

.learn-lesson-detail {
  position: sticky;
  top: 104px;
}

.learn-lesson-detail:focus {
  outline: 2px solid rgba(217, 170, 76, 0.34);
  outline-offset: 4px;
}

.learn-detail-section {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.learn-study-plan {
  margin-top: 18px;
  padding: 14px;
  border: 1px solid rgba(217, 170, 76, 0.24);
  border-radius: 8px;
  background: rgba(217, 170, 76, 0.08);
}

.learn-study-plan h4 {
  margin: 0 0 10px;
  color: var(--gold-bright);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.learn-study-plan ol {
  display: grid;
  gap: 8px;
  padding-left: 20px;
  margin: 0;
  color: #f0dfbd;
}

.learn-detail-section h4 {
  margin: 0 0 10px;
}

.learn-detail-section ul,
.learn-detail-section ol {
  display: grid;
  gap: 8px;
  padding-left: 20px;
  margin: 0;
  color: #ddd5c8;
}

.learn-term-list {
  display: grid;
  gap: 10px;
  margin: 0;
}

.learn-term-list div {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.learn-term-list dd {
  margin: 4px 0 0;
  color: #ddd5c8;
}

.learn-practice-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1.1fr);
  gap: 14px;
  align-items: stretch;
}

.learn-flashcard {
  display: grid;
  gap: 16px;
  width: 100%;
  min-height: 230px;
  margin-top: 18px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid rgba(217, 170, 76, 0.36);
  border-radius: 8px;
  color: var(--text);
  background:
    linear-gradient(135deg, rgba(165, 35, 45, 0.2), transparent 44%),
    linear-gradient(315deg, rgba(23, 54, 93, 0.26), transparent 44%),
    #080808;
  cursor: pointer;
  text-align: left;
}

.learn-flashcard:hover,
.learn-flashcard:focus-visible {
  border-color: rgba(243, 202, 117, 0.8);
  outline: none;
}

.learn-flashcard span {
  color: var(--gold-bright);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.learn-flashcard strong {
  font-size: clamp(1.35rem, 2.6vw, 2.2rem);
  line-height: 1.1;
}

.learn-reflection-panel textarea {
  min-height: 180px;
  padding: 14px;
  resize: vertical;
}

.quiz-shell {
  display: grid;
  gap: 18px;
}

.quiz-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.quiz-question {
  position: relative;
  min-inline-size: 0;
  margin: 0 0 14px;
}

.quiz-question-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 14px;
}

.quiz-question h2 {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  gap: 8px;
  margin: 0;
  color: var(--text);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  font-weight: 850;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.quiz-question-count {
  flex: 0 0 auto;
  color: var(--gold-bright);
}

.quiz-question h2 span:last-child,
.quiz-question label span {
  min-width: 0;
}

.quiz-category {
  flex: 0 0 auto;
  padding: 4px 8px;
  border: 1px solid rgba(217, 170, 76, 0.3);
  border-radius: 999px;
  color: var(--gold-bright);
  background: rgba(217, 170, 76, 0.08);
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
}

.quiz-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 14px;
  margin-top: 0;
}

.quiz-question.is-correct {
  border-color: rgba(70, 190, 120, 0.46);
}

.quiz-question.is-incorrect {
  border-color: rgba(217, 170, 76, 0.46);
}

.quiz-question label,
.check-row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  color: #ddd5c8;
  cursor: pointer;
}

.quiz-question label.is-correct-answer {
  color: #9ef0bc;
  font-weight: 850;
}

.quiz-question label.is-selected-incorrect {
  color: #ffb7a8;
  font-weight: 850;
}

.quiz-question input,
.check-row input {
  width: 18px;
  height: 18px;
  accent-color: var(--gold);
}

.quiz-answer-review {
  clear: both;
  margin: 12px 0 0;
  padding: 10px 12px;
  border: 1px solid rgba(217, 170, 76, 0.24);
  border-radius: 8px;
  color: #ddd5c8;
  background: rgba(217, 170, 76, 0.07);
  font-size: 0.94rem;
  font-weight: 760;
}

.quiz-score,
.map-progress strong {
  color: var(--gold-bright);
  font-weight: 900;
}

.quiz-result-panel {
  padding: 18px;
  border: 1px solid rgba(217, 170, 76, 0.34);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(165, 35, 45, 0.14), transparent 38%),
    linear-gradient(315deg, rgba(23, 54, 93, 0.2), transparent 40%),
    var(--panel);
  box-shadow: 0 18px 58px rgba(0, 0, 0, 0.22);
}

.quiz-result-panel[hidden] {
  display: none;
}

.quiz-result-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
}

.quiz-result-summary h2 {
  color: var(--gold-bright);
}

.quiz-result-summary p:not(.eyebrow) {
  margin: 8px 0 0;
  color: var(--muted);
  font-weight: 760;
}

.quiz-result-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.save-note {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 760;
}

.map-progress {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 18px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.map-progress strong {
  font-size: 2rem;
  line-height: 1;
}

.map-dashboard {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.map-dashboard .save-note {
  margin-bottom: 0;
}

.map-share-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.america-atlas {
  margin-bottom: 20px;
  padding: clamp(16px, 3vw, 24px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(165, 35, 45, 0.16), transparent 36%),
    linear-gradient(315deg, rgba(23, 54, 93, 0.22), transparent 42%),
    var(--panel);
  box-shadow: 0 20px 68px rgba(0, 0, 0, 0.24);
}

.map-atlas-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 18px;
}

.map-atlas-head h2 {
  max-width: 680px;
  font-size: clamp(1.8rem, 4vw, 3.8rem);
}

.map-filter-bar {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
}

.map-filter {
  display: inline-grid;
  grid-template-columns: auto auto auto;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 0;
  min-height: 40px;
  padding: 8px 11px;
  border: 1px solid rgba(247, 242, 230, 0.18);
  border-radius: 8px;
  color: #ddd5c8;
  background: rgba(255, 255, 255, 0.055);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 850;
}

.map-filter span,
.map-filter strong,
.map-filter small {
  min-width: 0;
  white-space: nowrap;
}

.map-filter strong {
  color: var(--gold-bright);
}

.map-filter small {
  color: rgba(221, 213, 200, 0.72);
  font-size: 0.68rem;
  font-weight: 900;
}

.map-filter:hover,
.map-filter:focus-visible,
.map-filter.is-active {
  border-color: rgba(243, 202, 117, 0.68);
  color: var(--text);
  background: rgba(217, 170, 76, 0.13);
  outline: none;
}

.map-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.map-stat-grid div {
  padding: 13px;
  border: 1px solid rgba(247, 242, 230, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.map-stat-grid strong,
.map-stat-grid span {
  display: block;
}

.map-stat-grid strong {
  color: var(--gold-bright);
  font-size: clamp(1.4rem, 3vw, 2.35rem);
  line-height: 1;
}

.map-stat-grid span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 850;
  text-transform: uppercase;
}

.us-map-stage {
  overflow: hidden;
  margin-top: 18px;
  border: 1px solid rgba(247, 242, 230, 0.14);
  border-radius: 8px;
  background: rgba(2, 2, 2, 0.32);
}

.us-map-svg {
  display: block;
  width: 100%;
  height: auto;
}

.us-map-svg--real {
  background: rgba(2, 2, 2, 0.14);
}

.us-map-ocean {
  fill: rgba(255, 255, 255, 0.035);
}

.us-map-silhouette {
  fill: rgba(247, 242, 230, 0.05);
  stroke: rgba(247, 242, 230, 0.24);
  stroke-width: 2;
}

.us-map-insets rect {
  fill: rgba(2, 2, 2, 0.24);
  stroke: rgba(247, 242, 230, 0.16);
  stroke-width: 1.5;
}

.map-state-layer {
  transition: opacity 160ms ease;
}

.map-state-layer.is-soft {
  opacity: 0.46;
}

.map-state-shape {
  fill: rgba(255, 255, 255, 0.105);
  stroke: rgba(255, 255, 255, 0.2);
  stroke-width: 1.25;
  vector-effect: non-scaling-stroke;
  cursor: pointer;
  transition: fill 160ms ease, stroke 160ms ease, opacity 160ms ease;
}

.map-state-shape:hover,
.map-state-shape:focus-visible,
.map-state-shape.is-selected {
  fill: rgba(243, 202, 117, 0.32);
  stroke: rgba(255, 248, 233, 0.86);
  outline: none;
}

.map-state-shape.is-complete {
  fill: rgba(243, 202, 117, 0.88);
  stroke: rgba(255, 248, 233, 0.84);
}

.map-state-border {
  fill: none;
  stroke: rgba(255, 255, 255, 0.66);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.15;
  vector-effect: non-scaling-stroke;
  pointer-events: none;
}

.us-map-loading {
  fill: var(--muted);
  font-size: 18px;
  font-weight: 850;
  text-anchor: middle;
}

.map-state-node {
  cursor: pointer;
}

.map-state-node circle {
  fill: rgba(255, 255, 255, 0.12);
  stroke: rgba(247, 242, 230, 0.22);
  stroke-width: 2;
  transition: fill 160ms ease, stroke 160ms ease, transform 160ms ease;
}

.map-state-node text {
  pointer-events: none;
  fill: #ddd5c8;
  font-size: 12px;
  font-weight: 900;
  text-anchor: middle;
}

.map-state-node:hover circle,
.map-state-node:focus-visible circle,
.map-state-node.is-selected circle {
  stroke: rgba(255, 248, 233, 0.78);
}

.map-state-node.is-complete circle {
  fill: var(--gold-bright);
  stroke: rgba(255, 248, 233, 0.72);
}

.map-state-node.is-complete text {
  fill: #111;
}

.map-pin {
  cursor: pointer;
  filter: url("#map-pin-shadow");
}

.map-pin path {
  stroke: rgba(2, 2, 2, 0.68);
  stroke-width: 2;
  transition: transform 160ms ease, stroke 160ms ease;
}

.map-pin circle {
  fill: #fff8e9;
}

.map-pin:hover path,
.map-pin:focus-visible path,
.map-pin.is-selected path {
  stroke: rgba(255, 248, 233, 0.9);
}

.map-pin--parks path {
  fill: #4fc27a;
}

.map-pin--landmarks path {
  fill: #d44d57;
}

.map-pin--presidents path {
  fill: #6ca8ff;
}

.map-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-top: 14px;
  color: #ddd5c8;
  font-size: 0.86rem;
  font-weight: 800;
}

.map-legend span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.map-legend i {
  display: inline-block;
  flex: 0 0 auto;
}

.map-legend-state {
  width: 15px;
  height: 15px;
  border: 1px solid rgba(255, 248, 233, 0.72);
  border-radius: 50%;
  background: var(--gold-bright);
}

.map-legend-pin {
  width: 12px;
  height: 16px;
  border-radius: 999px 999px 999px 0;
  transform: rotate(-45deg);
}

.map-legend-pin--parks {
  background: #4fc27a;
}

.map-legend-pin--landmarks {
  background: #d44d57;
}

.map-legend-pin--presidents {
  background: #6ca8ff;
}

.map-detail-panel {
  margin-top: 16px;
}

.map-detail-card {
  padding: 16px;
  border: 1px solid rgba(247, 242, 230, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.map-detail-card h3 {
  font-size: clamp(1.25rem, 2.4vw, 2rem);
}

.map-detail-card p:not(.eyebrow) {
  margin: 8px 0 0;
  color: var(--muted);
  font-weight: 760;
}

.map-detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.map-detail-tags span {
  padding: 6px 9px;
  border: 1px solid rgba(217, 170, 76, 0.26);
  border-radius: 999px;
  color: #ddd5c8;
  background: rgba(217, 170, 76, 0.08);
  font-size: 0.8rem;
  font-weight: 850;
}

.map-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.map-mobile-actions {
  display: none;
}

.map-page #america-map-grid {
  display: none;
}

.map-mobile-sheet {
  position: fixed;
  inset: 0;
  z-index: 80;
  opacity: 0;
  pointer-events: none;
  --map-sheet-drag: 0px;
  transition: opacity 180ms ease;
}

.map-mobile-sheet.is-open {
  opacity: 1;
  pointer-events: none;
}

.map-mobile-backdrop {
  display: none;
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.62);
  cursor: pointer;
}

.map-mobile-panel {
  position: absolute;
  top: 96px;
  right: 24px;
  bottom: 24px;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  width: min(460px, calc(100vw - 48px));
  max-height: none;
  overflow: hidden;
  border: 1px solid rgba(247, 242, 230, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(165, 35, 45, 0.14), transparent 34%),
    linear-gradient(315deg, rgba(23, 54, 93, 0.18), transparent 44%),
    #101010;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.62);
  pointer-events: auto;
  transform: translateX(calc(100% + 32px));
  transition: transform 180ms ease;
}

.map-mobile-sheet.is-open .map-mobile-panel {
  transform: translateX(0);
}

.map-mobile-handle {
  display: none;
  justify-self: center;
  width: 48px;
  height: 5px;
  margin-top: 10px;
  border-radius: 999px;
  background: rgba(247, 242, 230, 0.26);
}

.map-mobile-sheet-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px 12px;
  border-bottom: 1px solid rgba(247, 242, 230, 0.12);
}

.map-mobile-sheet-head h2 {
  margin: 0;
  font-size: clamp(1.4rem, 3vw, 2rem);
}

.map-mobile-close {
  min-height: 36px;
  padding: 7px 10px;
  border: 1px solid rgba(247, 242, 230, 0.16);
  border-radius: 8px;
  color: #ddd5c8;
  background: rgba(255, 255, 255, 0.055);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 900;
}

.map-mobile-sheet-content {
  display: grid;
  grid-template-rows: auto auto auto minmax(0, 1fr);
  gap: 12px;
  min-height: 0;
  overflow: hidden;
  padding: 14px 16px 16px;
}

.map-share-sheet {
  position: fixed;
  inset: 0;
  z-index: 92;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.map-share-sheet.is-open {
  opacity: 1;
  pointer-events: auto;
}

.map-share-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.68);
  cursor: pointer;
}

.map-share-panel {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 16px;
  width: min(760px, calc(100vw - 48px));
  max-height: calc(100dvh - 48px);
  overflow: auto;
  border: 1px solid rgba(247, 242, 230, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(165, 35, 45, 0.16), transparent 34%),
    linear-gradient(315deg, rgba(23, 54, 93, 0.18), transparent 44%),
    #101010;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.62);
  padding: 16px;
}

.map-share-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.map-share-head h2 {
  margin: 0;
  font-size: clamp(1.35rem, 3vw, 2rem);
}

.map-share-close {
  min-height: 36px;
  padding: 7px 10px;
  border: 1px solid rgba(247, 242, 230, 0.16);
  border-radius: 8px;
  color: #ddd5c8;
  background: rgba(255, 255, 255, 0.055);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 900;
}

.map-share-previews {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.map-share-previews figure {
  display: grid;
  gap: 8px;
  margin: 0;
}

.map-share-previews img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 0.72;
  object-fit: cover;
  border: 1px solid rgba(247, 242, 230, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.map-share-previews figcaption {
  color: var(--gold-bright);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.map-share-copy-value {
  width: 100%;
  min-height: 76px;
  resize: none;
  border: 1px solid rgba(247, 242, 230, 0.14);
  border-radius: 8px;
  color: #f7f2e6;
  background: rgba(255, 255, 255, 0.055);
  padding: 10px 12px;
  font: 800 0.86rem/1.35 system-ui, sans-serif;
  outline: none;
}

.map-share-copy-value:focus {
  border-color: rgba(243, 202, 117, 0.68);
  box-shadow: 0 0 0 3px rgba(243, 202, 117, 0.12);
}

.map-share-controls {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.map-share-controls .button {
  width: 100%;
}

.map-mobile-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.map-mobile-tabs button {
  display: grid;
  gap: 3px;
  min-height: 48px;
  padding: 8px;
  border: 1px solid rgba(247, 242, 230, 0.14);
  border-radius: 8px;
  color: #ddd5c8;
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
  font-size: 0.76rem;
  font-weight: 900;
}

.map-mobile-tabs button strong {
  color: var(--gold-bright);
  font-size: 0.72rem;
}

.map-mobile-tabs button small {
  color: rgba(221, 213, 200, 0.72);
  font-size: 0.68rem;
  font-weight: 900;
}

.map-mobile-tabs button:hover,
.map-mobile-tabs button:focus-visible,
.map-mobile-tabs button.is-active,
.map-mobile-close:hover,
.map-mobile-close:focus-visible {
  border-color: rgba(243, 202, 117, 0.68);
  color: var(--text);
  background: rgba(217, 170, 76, 0.13);
  outline: none;
}

.map-mobile-search-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.map-mobile-search-row input {
  min-width: 0;
  min-height: 42px;
  padding: 9px 11px;
  border: 1px solid rgba(247, 242, 230, 0.14);
  border-radius: 8px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  outline: none;
}

.map-mobile-search-row input:focus {
  border-color: rgba(243, 202, 117, 0.68);
}

.map-mobile-search-row button,
.map-mobile-stamp-toggle {
  min-height: 42px;
  padding: 8px 11px;
  border: 1px solid rgba(217, 170, 76, 0.42);
  border-radius: 8px;
  color: var(--gold-bright);
  background: rgba(217, 170, 76, 0.08);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 950;
}

.map-mobile-stamp-toggle {
  width: 94px;
  justify-self: end;
  white-space: nowrap;
}

.map-mobile-active-filter {
  display: flex;
  grid-row: 3;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 38px;
  padding: 8px 10px;
  border: 1px solid rgba(217, 170, 76, 0.28);
  border-radius: 8px;
  background: rgba(217, 170, 76, 0.08);
}

.map-mobile-active-filter span {
  min-width: 0;
  color: #ddd5c8;
  font-size: 0.82rem;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.map-mobile-active-filter button {
  flex: 0 0 auto;
  border: 0;
  color: var(--gold-bright);
  background: transparent;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 950;
}

.map-mobile-stamp-list {
  display: grid;
  grid-row: 4;
  gap: 8px;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 2px;
  touch-action: pan-y;
  -webkit-overflow-scrolling: touch;
}

.map-mobile-stamp-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 94px;
  gap: 8px;
  align-items: center;
  min-height: 58px;
  padding: 8px;
  border: 1px solid rgba(247, 242, 230, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.map-mobile-stamp-row.is-complete {
  border-color: rgba(243, 202, 117, 0.38);
  background: rgba(217, 170, 76, 0.1);
}

.map-mobile-stamp-info {
  display: grid;
  gap: 4px;
  min-width: 0;
  min-height: 44px;
  padding: 0;
  border: 0;
  color: #ddd5c8;
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.map-mobile-stamp-info strong,
.map-mobile-stamp-info small {
  display: block;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.map-mobile-stamp-info strong {
  color: #f7f2e6;
  font-size: 0.96rem;
  line-height: 1.1;
}

.map-mobile-stamp-info small {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
  line-height: 1.2;
}

.map-mobile-stamp-info:hover,
.map-mobile-stamp-info:focus-visible {
  color: var(--text);
  outline: none;
}

.map-mobile-stamp-toggle.is-complete {
  color: #15110a;
  background: var(--gold-bright);
}

.map-atlas-head--premium {
  align-items: center;
}

.map-score-tile {
  min-width: 150px;
  padding: 14px;
  border: 1px solid rgba(217, 170, 76, 0.34);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(217, 170, 76, 0.18), transparent),
    rgba(255, 255, 255, 0.055);
}

.map-score-tile span,
.map-export-theme-bar span,
.map-panel-head p {
  display: block;
}

.map-score-tile span,
.map-export-theme-bar span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.map-score-tile strong {
  display: block;
  color: var(--gold-bright);
  font-size: 2.25rem;
  line-height: 1;
}

.map-control-deck {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  margin-top: 18px;
}

.map-story-strip,
.map-export-theme-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.map-story-strip {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  width: 100%;
}

.map-story-chip,
.map-export-theme-bar button {
  display: inline-grid;
  grid-template-columns: auto auto auto;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 0;
  min-height: 36px;
  padding: 7px 10px;
  border: 1px solid rgba(247, 242, 230, 0.16);
  border-radius: 8px;
  color: #ddd5c8;
  background: rgba(255, 255, 255, 0.045);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 850;
}

.map-story-chip span,
.map-story-chip strong,
.map-story-chip small {
  min-width: 0;
  white-space: nowrap;
}

.map-export-theme-bar button {
  grid-template-columns: 1fr;
}

.map-story-chip strong {
  color: var(--gold-bright);
  font-size: 0.72rem;
}

.map-story-chip small {
  color: rgba(221, 213, 200, 0.72);
  font-size: 0.68rem;
  font-weight: 900;
}

.map-story-chip:hover,
.map-story-chip:focus-visible,
.map-story-chip.is-active,
.map-export-theme-bar button:hover,
.map-export-theme-bar button:focus-visible,
.map-export-theme-bar button.is-active {
  border-color: rgba(243, 202, 117, 0.68);
  color: var(--text);
  background: rgba(217, 170, 76, 0.13);
  outline: none;
}

.map-stat-grid--premium {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.map-export-theme-bar {
  justify-content: flex-end;
  margin-top: 12px;
}

.america-atlas[data-share-theme="clean"] {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 34%),
    linear-gradient(315deg, rgba(255, 255, 255, 0.06), transparent 40%),
    #111;
}

.america-atlas[data-share-theme="dark"] {
  background:
    linear-gradient(135deg, rgba(31, 88, 150, 0.16), transparent 36%),
    linear-gradient(315deg, rgba(125, 180, 255, 0.12), transparent 42%),
    #050912;
}

.america-atlas[data-share-theme="america250"] {
  background:
    linear-gradient(135deg, rgba(165, 35, 45, 0.26), transparent 36%),
    linear-gradient(315deg, rgba(23, 54, 93, 0.3), transparent 42%),
    var(--panel);
}

.america-atlas[data-share-theme="clean"] .us-map-stage--premium {
  background: rgba(255, 255, 255, 0.045);
}

.america-atlas[data-share-theme="dark"] .map-score-tile,
.america-atlas[data-share-theme="dark"] .map-filter.is-active,
.america-atlas[data-share-theme="dark"] .map-story-chip.is-active,
.america-atlas[data-share-theme="dark"] .map-export-theme-bar button.is-active {
  border-color: rgba(125, 180, 255, 0.72);
  background: rgba(125, 180, 255, 0.12);
}

.america-atlas[data-share-theme="dark"] .map-score-tile strong,
.america-atlas[data-share-theme="dark"] .map-filter strong,
.america-atlas[data-share-theme="dark"] .map-filter small,
.america-atlas[data-share-theme="dark"] .map-story-chip strong,
.america-atlas[data-share-theme="dark"] .map-story-chip small,
.america-atlas[data-share-theme="dark"] .map-panel-head strong {
  color: #a9cfff;
}

.america-atlas[data-share-theme="america250"] .map-export-theme-bar button.is-active {
  border-color: rgba(243, 202, 117, 0.78);
  background:
    linear-gradient(90deg, rgba(165, 35, 45, 0.22), rgba(23, 54, 93, 0.22));
}

.us-map-stage--premium {
  position: relative;
}

.map-route-glow {
  fill: none;
  stroke: rgba(243, 202, 117, 0.48);
  stroke-dasharray: 9 11;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
  filter: url("#map-glow");
  pointer-events: none;
  animation: map-route-dash 13s linear infinite;
}

.map-heat-1 {
  fill: rgba(243, 202, 117, 0.34);
}

.map-heat-2 {
  fill: rgba(243, 202, 117, 0.56);
}

.map-heat-3 {
  fill: rgba(243, 202, 117, 0.78);
}

.map-heat-4 {
  fill: var(--gold-bright);
}

.map-state-shape.is-stamped {
  animation: map-stamp-pop 620ms ease;
}

.map-state-label {
  dominant-baseline: middle;
  fill: rgba(255, 248, 233, 0.46);
  font-size: 10px;
  font-weight: 950;
  paint-order: stroke;
  pointer-events: none;
  stroke: rgba(0, 0, 0, 0.62);
  stroke-width: 3px;
  text-anchor: middle;
}

.map-state-label.is-small {
  font-size: 8px;
}

.map-state-label.is-active {
  fill: #16120a;
  stroke: rgba(255, 248, 233, 0.45);
  stroke-width: 2px;
}

.map-pin .map-pin-symbol {
  fill: #15110a;
  stroke: none;
  pointer-events: none;
}

.map-pin.is-stamped {
  animation: map-stamp-pop 620ms ease;
}

.map-pin-cluster {
  cursor: pointer;
  filter: url("#map-pin-shadow");
}

.map-pin.is-muted,
.map-pin-cluster.is-muted {
  opacity: 0.34;
}

.map-pin.is-muted:hover,
.map-pin.is-muted:focus-visible,
.map-pin-cluster.is-muted:hover,
.map-pin-cluster.is-muted:focus-visible {
  opacity: 0.82;
}

.map-pin-cluster circle {
  fill: #fff8e9;
  stroke: rgba(217, 170, 76, 0.88);
  stroke-width: 3;
}

.map-pin-cluster text {
  fill: #111;
  font-size: 14px;
  font-weight: 950;
  pointer-events: none;
  text-anchor: middle;
}

.map-pin-cluster:hover circle,
.map-pin-cluster:focus-visible circle,
.map-pin-cluster.is-selected circle {
  fill: var(--gold-bright);
  outline: none;
}

.map-legend-state--heat {
  border-radius: 4px;
  background: linear-gradient(90deg, rgba(243, 202, 117, 0.28), var(--gold-bright));
}

.map-legend-cluster {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(217, 170, 76, 0.88);
  border-radius: 50%;
  background: #fff8e9;
}

.map-insight-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(0, 1.45fr);
  gap: 14px;
  margin-top: 16px;
}

.map-detail-drawer {
  margin-top: 0;
}

.map-detail-card--summary {
  display: grid;
  gap: 10px;
}

.map-detail-topline,
.map-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.map-stamp-badge {
  flex: 0 0 auto;
  padding: 6px 9px;
  border: 1px solid rgba(243, 202, 117, 0.58);
  border-radius: 8px;
  color: #16120a;
  background: var(--gold-bright);
  font-size: 0.74rem;
  font-weight: 950;
  text-transform: uppercase;
  transform: rotate(-4deg);
}

.map-detail-card.is-stamped .map-stamp-badge {
  animation: map-stamp-pop 620ms ease;
}

.map-detail-subsection {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(247, 242, 230, 0.13);
}

.map-detail-subsection h4 {
  margin: 0 0 10px;
  color: var(--text);
  font-size: 1rem;
}

.map-state-checklist,
.map-cluster-list,
.map-missing-list,
.map-timeline-list,
.map-story-list,
.map-milestone-list {
  display: grid;
  gap: 8px;
}

.map-check-mini,
.map-mini-row,
.map-timeline-row,
.map-story-row,
.map-cluster-list button,
.map-region-row,
.map-milestone {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 10px;
  border: 1px solid rgba(247, 242, 230, 0.12);
  border-radius: 8px;
  color: #ddd5c8;
  background: rgba(255, 255, 255, 0.045);
  text-align: left;
}

.map-check-mini span,
.map-mini-row span,
.map-timeline-row span,
.map-story-row span,
.map-cluster-list button span {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.map-check-mini strong,
.map-mini-row strong,
.map-timeline-row span,
.map-story-row span,
.map-cluster-list button span {
  overflow-wrap: anywhere;
}

.map-check-mini small,
.map-mini-row small,
.map-timeline-row small,
.map-story-row small,
.map-cluster-list button small {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
}

.map-check-mini button,
.map-mini-row button {
  min-height: 32px;
  padding: 6px 9px;
  border: 1px solid rgba(217, 170, 76, 0.42);
  border-radius: 8px;
  color: var(--gold-bright);
  background: rgba(217, 170, 76, 0.08);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 900;
}

.map-check-mini.is-complete {
  border-color: rgba(243, 202, 117, 0.38);
  background: rgba(217, 170, 76, 0.1);
}

.map-score-ring {
  --score: 0%;
  display: inline-grid;
  place-items: center;
  justify-self: start;
  width: 106px;
  height: 106px;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, #15130f 0 58%, transparent 59%),
    conic-gradient(var(--gold-bright) var(--score), rgba(255, 255, 255, 0.1) 0);
}

.map-score-ring strong,
.map-score-ring span {
  grid-area: 1 / 1;
}

.map-score-ring strong {
  color: var(--gold-bright);
  font-size: 2rem;
  line-height: 1;
}

.map-score-ring span {
  margin-top: 42px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 850;
}

.map-next-target {
  display: grid;
  gap: 7px;
  margin-top: 8px;
  padding: 12px;
  border: 1px solid rgba(217, 170, 76, 0.28);
  border-radius: 8px;
  background: rgba(217, 170, 76, 0.08);
}

.map-next-target span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.map-next-target button {
  justify-self: start;
  min-height: 34px;
  padding: 7px 10px;
  border: 0;
  border-radius: 8px;
  color: #15110a;
  background: var(--gold-bright);
  cursor: pointer;
  font-weight: 950;
}

.map-upgrade-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.map-upgrade-panel {
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(247, 242, 230, 0.13);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.map-panel-head {
  margin-bottom: 10px;
}

.map-panel-head strong {
  color: var(--gold-bright);
  white-space: nowrap;
}

.map-region-grid,
.map-badge-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.map-region-row,
.map-timeline-row,
.map-story-row,
.map-cluster-list button {
  cursor: pointer;
  font: inherit;
}

.map-region-row:hover,
.map-region-row:focus-visible,
.map-timeline-row:hover,
.map-timeline-row:focus-visible,
.map-story-row:hover,
.map-story-row:focus-visible,
.map-story-row.is-active,
.map-cluster-list button:hover,
.map-cluster-list button:focus-visible,
.map-check-mini button:hover,
.map-check-mini button:focus-visible,
.map-mini-row button:hover,
.map-mini-row button:focus-visible {
  border-color: rgba(243, 202, 117, 0.64);
  background: rgba(217, 170, 76, 0.12);
  outline: none;
}

.map-region-row i,
.map-milestone i {
  grid-column: 1 / -1;
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
}

.map-region-row i::before,
.map-milestone i::before {
  display: block;
  width: var(--map-progress, 0%);
  height: 100%;
  border-radius: inherit;
  background: var(--gold-bright);
  content: "";
}

.map-milestone.is-earned {
  border-color: rgba(243, 202, 117, 0.42);
}

.map-badge {
  min-height: 70px;
  padding: 10px;
  border: 1px solid rgba(247, 242, 230, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.map-badge span,
.map-badge small {
  display: block;
}

.map-badge span {
  color: #ddd5c8;
  font-size: 0.86rem;
  font-weight: 900;
}

.map-badge small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
}

.map-badge.is-earned {
  border-color: rgba(243, 202, 117, 0.46);
  background:
    linear-gradient(135deg, rgba(217, 170, 76, 0.14), transparent),
    rgba(255, 255, 255, 0.055);
}

.map-badge.is-earned span {
  color: var(--gold-bright);
}

.map-panel-empty {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 760;
}

@keyframes map-route-dash {
  to {
    stroke-dashoffset: -120;
  }
}

@keyframes map-stamp-pop {
  0% {
    transform: scale(1);
  }

  45% {
    transform: scale(1.06);
  }

  100% {
    transform: scale(1);
  }
}

@media (max-width: 1100px) {
  .map-insight-layout,
  .map-upgrade-grid {
    grid-template-columns: 1fr;
  }

  .map-story-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .map-score-tile {
    width: 100%;
  }

  .america-atlas {
    display: flex;
    flex-direction: column;
  }

  .map-atlas-head--premium {
    order: 1;
  }

  .us-map-stage--premium {
    order: 2;
    margin-top: 14px;
  }

  .map-stat-grid--premium {
    order: 3;
  }

  .map-control-deck {
    order: 4;
  }

  .map-export-theme-bar {
    order: 5;
  }

  .map-legend--premium {
    order: 6;
  }

  .map-insight-layout {
    order: 7;
  }

  .map-stat-grid--premium,
  .map-region-grid,
  .map-badge-grid {
    grid-template-columns: 1fr;
  }

  .map-export-theme-bar {
    justify-content: flex-start;
  }

  .map-check-mini,
  .map-mini-row,
  .map-timeline-row,
  .map-story-row,
  .map-cluster-list button,
  .map-region-row,
  .map-milestone {
    grid-template-columns: 1fr;
  }

  .map-state-label {
    font-size: 8px;
  }

  .map-add-stamp-button {
    display: none;
  }

  .map-page main {
    padding-bottom: calc(142px + env(safe-area-inset-bottom));
  }

  .map-grid {
    display: none;
  }

  .map-mobile-actions {
    position: fixed;
    right: 12px;
    bottom: max(12px, calc(env(safe-area-inset-bottom) + 10px));
    left: 12px;
    z-index: 70;
    display: grid;
    grid-template-columns: 1.25fr 1fr 1fr;
    gap: 8px;
    padding: 8px;
    border: 1px solid rgba(247, 242, 230, 0.16);
    border-radius: 8px;
    background: rgba(12, 12, 12, 0.92);
    box-shadow: 0 18px 54px rgba(0, 0, 0, 0.54);
    backdrop-filter: blur(16px);
  }

  .map-mobile-actions button {
    min-height: 44px;
    border: 1px solid rgba(247, 242, 230, 0.14);
    border-radius: 8px;
    color: #ddd5c8;
    background: rgba(255, 255, 255, 0.055);
    cursor: pointer;
    font-size: 0.84rem;
    font-weight: 950;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }

  .map-mobile-actions button:first-child {
    border-color: rgba(243, 202, 117, 0.72);
    color: #15110a;
    background: var(--gold-bright);
  }

  .map-mobile-actions button:hover,
  .map-mobile-actions button:focus-visible {
    border-color: rgba(243, 202, 117, 0.78);
    outline: none;
  }

  .map-mobile-sheet.is-open {
    pointer-events: auto;
  }

  .map-mobile-backdrop,
  .map-mobile-handle {
    display: block;
  }

  .map-mobile-backdrop {
    touch-action: none;
  }

  .map-mobile-panel {
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: min(88dvh, 720px);
    max-height: calc(100dvh - max(18px, env(safe-area-inset-top)));
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 8px 8px 0 0;
    transform: translateY(calc(100% + 18px));
    touch-action: pan-y;
  }

  .map-mobile-sheet.is-open .map-mobile-panel {
    transform: translateY(var(--map-sheet-drag));
  }

  .map-mobile-sheet.is-dragging .map-mobile-panel {
    transition: none;
  }

  .map-mobile-handle,
  .map-mobile-sheet-head {
    touch-action: none;
  }

  body.map-mobile-sheet-open {
    overflow: hidden;
    overscroll-behavior: none;
  }

  body.map-share-sheet-open {
    overflow: hidden;
    overscroll-behavior: none;
  }

  .map-share-sheet {
    align-items: end;
    padding: 0;
  }

  .map-share-panel {
    width: 100%;
    max-height: calc(100dvh - max(18px, env(safe-area-inset-top)));
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 8px 8px 0 0;
    padding: 14px 14px max(18px, calc(env(safe-area-inset-bottom) + 14px));
    transform: translateY(calc(100% + 18px));
    transition: transform 180ms ease;
  }

  .map-share-sheet.is-open .map-share-panel {
    transform: translateY(0);
  }

  .map-share-previews {
    gap: 8px;
  }

  .map-share-previews img {
    aspect-ratio: 1 / 0.78;
  }

  .map-share-controls {
    grid-template-columns: 1fr;
  }

}

.map-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.map-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.map-card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.map-card h2 {
  margin: 0;
  font-size: clamp(1.4rem, 2vw, 2rem);
}

.map-card-count {
  flex: 0 0 auto;
  margin-top: 5px;
  padding: 5px 9px;
  border: 1px solid rgba(217, 170, 76, 0.3);
  border-radius: 999px;
  color: var(--gold-bright);
  background: rgba(217, 170, 76, 0.1);
  font-size: 0.78rem;
  font-weight: 850;
  white-space: nowrap;
}

.map-check-list {
  display: grid;
  gap: 2px;
}

.map-card .check-row.is-extra {
  display: none;
}

.map-card.is-expanded .check-row.is-extra {
  display: flex;
}

.map-see-more {
  align-self: flex-start;
  min-height: 38px;
  margin-top: 14px;
  padding: 8px 12px;
  border: 1px solid rgba(217, 170, 76, 0.42);
  border-radius: 8px;
  color: var(--gold-bright);
  background: rgba(217, 170, 76, 0.08);
  cursor: pointer;
  font-size: 0.92rem;
  font-weight: 850;
}

.map-see-more:hover,
.map-see-more:focus-visible {
  border-color: rgba(243, 202, 117, 0.78);
  background: rgba(217, 170, 76, 0.16);
}

.video-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

.video-feature {
  margin: 0;
}

.video-player-shell {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(217, 170, 76, 0.34);
  border-radius: 8px;
  background: #000;
  box-shadow: var(--shadow);
}

.video-feature video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  object-fit: contain;
}

.video-share-cta {
  position: absolute;
  top: 14px;
  left: 50%;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(247, 242, 230, 0.24);
  border-radius: 999px;
  color: var(--text);
  background: rgba(2, 2, 2, 0.58);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 850;
  transform: translateX(-50%);
  backdrop-filter: blur(14px);
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.video-share-cta:hover,
.video-share-cta:focus-visible {
  border-color: rgba(243, 202, 117, 0.78);
  background: rgba(2, 2, 2, 0.72);
  outline: none;
  transform: translateX(-50%) translateY(-1px);
}

.video-share-cta svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.share-status {
  position: absolute;
  top: 60px;
  left: 50%;
  z-index: 2;
  max-width: min(320px, calc(100% - 32px));
  margin: 0;
  padding: 7px 10px;
  border: 1px solid rgba(247, 242, 230, 0.18);
  border-radius: 999px;
  color: var(--text);
  background: rgba(2, 2, 2, 0.7);
  font-size: 0.82rem;
  font-weight: 800;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(-4px);
  transition: opacity 160ms ease, transform 160ms ease;
  backdrop-filter: blur(14px);
}

.share-status:not(:empty) {
  opacity: 1;
  transform: translateX(-50%);
}

.video-feature figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.95rem;
}

.events-band {
  background:
    linear-gradient(180deg, rgba(23, 54, 93, 0.24), transparent 28%),
    #030303;
}

.events-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: end;
  margin-bottom: 28px;
}

.source-note a {
  color: var(--gold-bright);
  text-underline-offset: 4px;
}

.event-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(86px, 1fr));
  gap: 10px;
  min-width: min(100%, 360px);
}

.event-stats div {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.event-stats strong,
.event-stats span {
  display: block;
}

.event-stats strong {
  color: var(--gold-bright);
  font-size: 1.8rem;
  line-height: 1;
}

.event-stats span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 760;
  text-transform: uppercase;
}

.event-tools {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(190px, 280px) auto;
  gap: 12px;
  align-items: end;
  margin-bottom: 16px;
}

.field {
  display: grid;
  gap: 8px;
}

.field span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: #0f0f0f;
  color: var(--text);
}

.field textarea {
  padding-block: 12px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--gold);
  outline: 2px solid rgba(217, 170, 76, 0.25);
}

.state-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 24px;
}

.state-chip {
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  color: var(--muted);
  cursor: pointer;
  font-size: 0.84rem;
  font-weight: 800;
}

.state-chip.is-active,
.state-chip:hover,
.state-chip:focus-visible {
  border-color: rgba(217, 170, 76, 0.72);
  color: var(--text);
  background: rgba(217, 170, 76, 0.14);
  outline: none;
}

.event-results-head {
  margin-bottom: 18px;
  color: var(--muted);
  font-weight: 760;
}

.event-results {
  display: grid;
  gap: 34px;
}

.state-group {
  display: grid;
  gap: 14px;
}

.state-group-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(217, 170, 76, 0.28);
}

.state-group-count {
  color: var(--gold-bright);
  font-weight: 850;
}

.event-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.event-card {
  display: grid;
  gap: 12px;
  min-height: 100%;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent),
    var(--panel);
}

.event-card-top,
.event-card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.event-date {
  color: var(--gold-bright);
  font-size: 0.85rem;
  font-weight: 850;
}

.event-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.badge {
  padding: 4px 8px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
}

.badge.free {
  border-color: rgba(217, 170, 76, 0.56);
  color: var(--gold-bright);
}

.badge.virtual {
  border-color: rgba(93, 145, 214, 0.56);
  color: #a8c8ff;
}

.event-card h4 {
  margin: 0;
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.2;
}

.event-card h4 a {
  text-decoration: none;
}

.event-card h4 a:hover,
.event-card h4 a:focus-visible {
  color: var(--gold-bright);
  outline: none;
}

.event-meta {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.event-location {
  margin: 0;
  color: #ddd5c8;
  font-size: 0.9rem;
}

.event-card-actions {
  margin-top: auto;
  padding-top: 4px;
}

.event-card-actions a {
  color: var(--gold-bright);
  font-size: 0.9rem;
  font-weight: 850;
  text-decoration: none;
}

.event-card-actions a:hover,
.event-card-actions a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 4px;
  outline: none;
}

.empty-state {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-2);
  color: var(--muted);
}

.history-grid .empty-state {
  grid-column: 1 / -1;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(210px, 0.62fr) minmax(0, 1.38fr);
  align-items: start;
  gap: clamp(22px, 4vw, 54px);
  padding: clamp(28px, 5vw, 48px) clamp(18px, 5vw, 80px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: #020202;
}

.site-footer p {
  margin: 0;
}

.footer-brand-block {
  display: grid;
  gap: 8px;
}

.footer-brand-block p:first-child {
  color: var(--text);
  font-size: 1.06rem;
  font-weight: 900;
}

.footer-disclaimer {
  max-width: 520px;
  text-align: left;
}

.site-footer a {
  color: var(--gold-bright);
  font-weight: 800;
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 4px;
  outline: none;
}

.footer-link-table {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.footer-link-table div {
  display: grid;
  align-content: start;
  gap: 8px;
  min-height: 100%;
  padding: 16px;
  border: 1px solid rgba(247, 242, 230, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.footer-link-table h2 {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.footer-link-table a {
  width: fit-content;
  font-size: 0.92rem;
}

.legal-hero h1 {
  max-width: 980px;
  font-size: clamp(2.8rem, 6vw, 5.8rem);
}

.legal-band {
  background:
    linear-gradient(180deg, rgba(217, 170, 76, 0.07), transparent 32%),
    #050505;
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(190px, 250px) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.legal-index,
.legal-document {
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.065), transparent),
    var(--panel);
  box-shadow: 0 18px 58px rgba(0, 0, 0, 0.18);
}

.legal-index {
  position: sticky;
  top: 102px;
  display: grid;
  gap: 8px;
  padding: 16px;
}

.legal-index a {
  padding: 9px 10px;
  border: 1px solid rgba(247, 242, 230, 0.12);
  border-radius: 8px;
  color: var(--gold-bright);
  background: rgba(255, 255, 255, 0.04);
  font-weight: 850;
  text-decoration: none;
}

.legal-index a:hover,
.legal-index a:focus-visible {
  border-color: rgba(217, 170, 76, 0.5);
  outline: none;
}

.legal-document {
  padding: clamp(20px, 4vw, 38px);
}

.legal-document h2 {
  margin: 28px 0 8px;
  font-size: clamp(1.28rem, 2.1vw, 1.9rem);
}

.legal-document h2:first-child {
  margin-top: 0;
}

.legal-document p {
  max-width: 880px;
  margin: 0;
  color: var(--muted);
}

.legal-document a {
  color: var(--gold-bright);
  font-weight: 850;
}

.portal-hero {
  min-height: auto;
}

.portal-hero-layout,
.portal-grid,
.portal-history-grid,
.admin-review-grid {
  display: grid;
  gap: 18px;
}

.portal-hero-layout {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  align-items: end;
}

.portal-hero p:not(.eyebrow),
.portal-panel p,
.review-card p {
  color: var(--muted);
}

.portal-band {
  background:
    linear-gradient(180deg, rgba(217, 170, 76, 0.07), transparent 32%),
    #050505;
}

.portal-grid,
.portal-history-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.admin-review-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.portal-panel,
.review-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.065), transparent),
    var(--panel);
  box-shadow: 0 18px 58px rgba(0, 0, 0, 0.2);
}

.portal-panel {
  padding: 20px;
}

.portal-panel h2 {
  margin: 0 0 14px;
  font-size: clamp(1.45rem, 2.5vw, 2.25rem);
}

.portal-panel-head,
.portal-topbar,
.portal-actions {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.portal-actions {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.portal-form {
  display: grid;
  gap: 12px;
}

.portal-form .button {
  width: fit-content;
}

.portal-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.portal-stat-grid div {
  padding: 16px;
  border: 1px solid rgba(247, 242, 230, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.portal-stat-grid span,
.status-pill {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.portal-stat-grid strong {
  display: block;
  margin-top: 6px;
  color: var(--gold-bright);
  font-size: clamp(1.1rem, 2.3vw, 2rem);
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.review-list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.review-card {
  display: grid;
  gap: 10px;
  padding: 14px;
}

.review-card h3 {
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
}

.review-card p {
  margin: 0;
}

.review-card a {
  color: var(--gold-bright);
  font-weight: 850;
  overflow-wrap: anywhere;
}

.review-details {
  display: grid;
  gap: 10px;
  padding: 10px 0 0;
}

.review-details summary {
  width: fit-content;
  cursor: pointer;
  color: var(--gold-bright);
  font-weight: 900;
}

.review-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.review-detail-grid div {
  min-width: 0;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.review-detail-grid span {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.review-detail-grid strong {
  display: block;
  color: var(--text);
  font-size: 0.9rem;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.review-meta,
.review-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.review-actions {
  margin-top: 4px;
}

.review-actions input,
.review-actions select {
  min-height: 38px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: #0f0f0f;
  color: var(--text);
}

.review-actions input[type="number"] {
  width: 92px;
}

.status-pill {
  width: fit-content;
  padding: 5px 8px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
}

.status-pill.is-approved {
  border-color: rgba(90, 210, 140, 0.48);
  color: #98efb8;
}

.status-pill.is-rejected,
.status-pill.is-duplicate {
  border-color: rgba(210, 80, 90, 0.5);
  color: #ffb4bd;
}

.status-pill.is-pending,
.status-pill.is-needs_info,
.status-pill.is-waitlisted {
  border-color: rgba(217, 170, 76, 0.5);
  color: var(--gold-bright);
}

.artwork-preview {
  width: min(100%, 280px);
  aspect-ratio: 16 / 10;
  border: 1px solid rgba(247, 242, 230, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  object-fit: cover;
}

.portal-locked {
  opacity: 0.72;
}

.ambassador-hero {
  padding-bottom: clamp(48px, 7vw, 86px);
}

.ambassador-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 390px);
  gap: clamp(28px, 5vw, 72px);
  align-items: end;
}

.ambassador-hero-copy p:not(.eyebrow) {
  max-width: 780px;
  color: var(--muted);
  font-size: clamp(1rem, 1.45vw, 1.16rem);
}

.ambassador-hero-panel,
.ambassador-card,
.ambassador-step,
.ambassador-panel,
.ambassador-rank-grid article,
.ambassador-form,
.ambassador-form-section,
.ambassador-admin-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.065), transparent),
    var(--panel);
  box-shadow: 0 18px 58px rgba(0, 0, 0, 0.2);
}

.ambassador-hero-panel {
  display: grid;
  gap: 18px;
  padding: 22px;
  background:
    linear-gradient(135deg, rgba(165, 35, 45, 0.18), transparent 42%),
    linear-gradient(315deg, rgba(23, 54, 93, 0.24), transparent 42%),
    rgba(17, 17, 17, 0.92);
}

.ambassador-hero-panel img {
  width: 108px;
  height: 108px;
  border: 1px solid rgba(217, 170, 76, 0.55);
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 18px 44px rgba(217, 170, 76, 0.16);
}

.ambassador-hero-panel strong {
  display: block;
  color: var(--gold-bright);
  font-size: clamp(3rem, 6vw, 4.5rem);
  line-height: 0.92;
}

.ambassador-hero-panel span,
.ambassador-hero-stats dd,
.ambassador-card p,
.ambassador-step p,
.ambassador-panel p,
.ambassador-rank-grid p,
.ambassador-fine-print,
.ambassador-admin-grid strong {
  color: var(--muted);
}

.ambassador-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.ambassador-hero-stats div {
  padding: 12px;
  border: 1px solid rgba(247, 242, 230, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.ambassador-hero-stats dt {
  color: var(--text);
  font-size: 1.2rem;
  font-weight: 900;
  line-height: 1;
}

.ambassador-hero-stats dd {
  margin: 6px 0 0;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.ambassador-mission-band,
.ambassador-dashboard-band {
  background:
    linear-gradient(180deg, rgba(217, 170, 76, 0.07), transparent 32%),
    #050505;
}

.ambassador-value-grid,
.ambassador-step-grid,
.ambassador-dashboard-grid,
.ambassador-rank-grid,
.ambassador-field-grid,
.ambassador-admin-grid {
  display: grid;
  gap: 14px;
}

.ambassador-value-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ambassador-step-grid,
.ambassador-rank-grid,
.ambassador-admin-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ambassador-dashboard-grid {
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.82fr) minmax(260px, 0.82fr);
  align-items: stretch;
}

.ambassador-field-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ambassador-card,
.ambassador-step,
.ambassador-panel,
.ambassador-rank-grid article,
.ambassador-admin-grid article {
  padding: 20px;
}

.ambassador-card h3,
.ambassador-step h3,
.ambassador-panel h3,
.ambassador-rank-grid h3 {
  margin: 10px 0 8px;
}

.ambassador-card p,
.ambassador-step p,
.ambassador-panel p,
.ambassador-rank-grid p {
  margin: 0;
}

.ambassador-step {
  position: relative;
  overflow: hidden;
}

.ambassador-step::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  content: "";
  background: linear-gradient(180deg, var(--red), var(--gold-bright), var(--blue));
  opacity: 0.62;
}

.ambassador-step span,
.ambassador-rank-grid article > span,
.ambassador-admin-grid span {
  color: var(--gold-bright);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.ambassador-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.ambassador-panel-head .eyebrow {
  margin-bottom: 8px;
}

.ambassador-mini-form {
  display: grid;
  gap: 12px;
}

.ambassador-review-list,
.ambassador-points-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.ambassador-review-list article,
.ambassador-points-list div,
.ambassador-leaderboard li,
.ambassador-badge-row span {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.ambassador-review-list article {
  display: grid;
  gap: 6px;
  padding: 12px;
}

.ambassador-review-list strong,
.ambassador-review-list small {
  display: block;
}

.ambassador-review-list small,
.ambassador-leaderboard small {
  color: var(--muted);
  font-weight: 760;
}

.ambassador-leaderboard {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.ambassador-leaderboard li {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 4px 10px;
  align-items: center;
  padding: 12px;
}

.ambassador-leaderboard li span {
  grid-row: span 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(217, 170, 76, 0.45);
  border-radius: 50%;
  color: var(--gold-bright);
  font-weight: 900;
}

.ambassador-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.ambassador-badge-row span {
  padding: 7px 10px;
  color: #ddd5c8;
  font-size: 0.78rem;
  font-weight: 800;
}

.ambassador-points-list div {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 11px 12px;
}

.ambassador-points-list strong {
  color: var(--gold-bright);
  font-size: 1.5rem;
  line-height: 1;
}

.ambassador-points-list span {
  color: #ddd5c8;
  font-weight: 760;
}

.ambassador-fine-print {
  margin: 14px 0 0;
  font-size: 0.92rem;
}

.ambassador-rank-grid article {
  background:
    linear-gradient(135deg, rgba(165, 35, 45, 0.12), transparent 48%),
    linear-gradient(315deg, rgba(23, 54, 93, 0.14), transparent 48%),
    var(--panel);
}

.ambassador-form {
  display: grid;
  gap: 14px;
  padding: 14px;
  background:
    linear-gradient(135deg, rgba(217, 170, 76, 0.08), transparent 42%),
    rgba(17, 17, 17, 0.92);
}

.ambassador-form-section {
  display: grid;
  gap: 18px;
  padding: 20px;
  box-shadow: none;
}

.ambassador-form-section-head h3 {
  margin-top: 0;
}

.field-hint {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.4;
}

.ambassador-check-fieldset {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  border: 0;
}

.ambassador-check-fieldset legend {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.ambassador-checkbox-grid,
.ambassador-compliance-list {
  display: grid;
  gap: 10px;
}

.ambassador-checkbox-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ambassador-checkbox-grid label,
.ambassador-compliance-list label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-height: 46px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: #ddd5c8;
  background: rgba(255, 255, 255, 0.045);
  font-weight: 760;
}

.ambassador-checkbox-grid input,
.ambassador-compliance-list input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--gold);
}

.ambassador-form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  padding: 4px 6px 6px;
}

.ambassador-form-actions .save-note {
  margin: 0;
}

.ambassador-admin-band {
  background:
    linear-gradient(90deg, rgba(165, 35, 45, 0.14), transparent 44%),
    linear-gradient(300deg, rgba(23, 54, 93, 0.22), transparent 52%),
    #050505;
}

.ambassador-admin-grid article {
  display: grid;
  align-content: start;
  gap: 8px;
  min-height: 130px;
}

.ambassador-admin-grid strong {
  font-size: 1rem;
  line-height: 1.35;
}

@media (max-width: 1100px) {
  .ambassador-dashboard-grid {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.86fr);
  }

  .ambassador-dashboard-grid .ambassador-panel:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 980px) {
  .hero,
  .split,
  .coin-proof-layout,
  .video-grid,
  .events-top,
  .two-column-head,
  .feature-layout,
  .history-grid,
  .hub-grid,
  .content-grid,
  .coin-fact-grid,
  .token-facts-grid,
  .state-spotlight,
  .map-grid,
  .visit-hero-layout,
  .visit-dashboard,
  .visit-route-grid,
  .visit-library-layout,
  .visit-field-grid,
  .holiday-hero-layout,
  .holiday-dashboard,
  .holiday-route-grid,
    .holiday-library-layout,
    .holiday-field-grid,
    .learn-hero-layout,
    .learn-dashboard,
    .learn-path-grid,
    .learn-document-layout,
    .learn-library-layout,
    .learn-practice-grid,
    .ambassador-hero-layout,
    .ambassador-value-grid,
    .ambassador-step-grid,
    .ambassador-dashboard-grid,
    .ambassador-rank-grid,
    .ambassador-admin-grid,
    .legal-layout,
    .site-footer,
    .portal-hero-layout,
    .portal-grid,
    .portal-history-grid,
    .admin-review-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual img,
  .coin-showcase video {
    margin-inline: auto;
  }

  .coin-seo-hero {
    grid-template-columns: 1fr;
    align-items: center;
    gap: 26px;
    min-height: auto;
    padding-top: 44px;
    background:
      linear-gradient(180deg, rgba(2, 2, 2, 0.18), rgba(2, 2, 2, 0.92) 58%, #020202 100%),
      radial-gradient(circle at 50% 24%, rgba(217, 170, 76, 0.26), transparent 42%),
      #020202;
  }

  .coin-hero-art {
    order: 1;
    justify-self: center;
    width: min(76vw, 460px);
    max-height: none;
  }

  .coin-hero-copy {
    order: 2;
  }

  .coin-proof-grid,
  .token-facts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .event-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .state-page-card {
    grid-template-columns: 1fr;
  }

  .state-compare-panel {
    grid-template-columns: 1fr;
  }

  .state-compare-controls {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .state-tools {
    grid-template-columns: minmax(220px, 1fr) minmax(150px, 1fr) minmax(140px, 1fr);
  }

  .visit-tools {
    grid-template-columns: minmax(220px, 1fr) minmax(150px, 1fr) minmax(150px, 1fr);
  }

  .holiday-tools {
    grid-template-columns: minmax(220px, 1fr) minmax(150px, 1fr) minmax(150px, 1fr);
  }

  .state-symbols {
    max-width: 260px;
  }

  .state-spotlight-media {
    max-width: 320px;
  }

  .map-dashboard,
  .map-atlas-head {
    align-items: stretch;
    flex-direction: column;
    grid-template-columns: 1fr;
  }

  .map-share-actions,
  .map-filter-bar {
    justify-content: flex-start;
  }

  .visit-hero-panel {
    max-width: 560px;
  }

  .holiday-hero-panel {
    max-width: 560px;
  }

  .visit-detail {
    position: static;
    max-height: none;
    overflow: visible;
  }

  .holiday-detail {
    position: static;
    max-height: none;
    overflow: visible;
  }

  .learn-hero-panel {
    max-width: 560px;
  }

  .learn-document-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .learn-lesson-detail {
    position: static;
  }

  .ambassador-dashboard-grid .ambassador-panel:first-child {
    grid-column: auto;
  }

  .ambassador-hero-panel {
    max-width: 560px;
  }

  .ambassador-checkbox-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .legal-index {
    position: static;
  }

  .portal-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .site-header {
    position: static;
    align-items: stretch;
    flex-direction: column;
  }

  .nav-tabs {
    overflow-x: auto;
    justify-content: flex-start;
    border-radius: 8px;
  }

  .nav-tabs a {
    white-space: nowrap;
  }

  .ambassador-field-grid,
  .ambassador-checkbox-grid {
    grid-template-columns: 1fr;
  }

  .footer-link-table {
    grid-template-columns: 1fr;
  }

  .portal-topbar,
  .portal-panel-head {
    display: grid;
  }

  .portal-stat-grid {
    grid-template-columns: 1fr;
  }

  .review-detail-grid {
    grid-template-columns: 1fr;
  }

  .portal-form .button,
  .review-actions .button,
  .review-actions input,
  .review-actions select {
    width: 100%;
  }

  .ambassador-form {
    padding: 10px;
  }

  .ambassador-form-section,
  .ambassador-card,
  .ambassador-step,
  .ambassador-panel,
  .ambassador-rank-grid article,
  .ambassador-admin-grid article {
    padding: 16px;
  }

  .coin-seo-hero {
    padding-bottom: 34px;
    background:
      linear-gradient(180deg, rgba(2, 2, 2, 0.22), rgba(2, 2, 2, 0.92) 52%, #020202 100%),
      radial-gradient(circle at 50% 20%, rgba(217, 170, 76, 0.22), transparent 42%),
      #020202;
  }

  .coin-hero-art {
    width: min(82vw, 360px);
    opacity: 0.88;
    filter: brightness(0.9) saturate(1.08);
  }

  .coin-hero-title {
    font-size: clamp(3.05rem, 13vw, 4.15rem);
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .coin-hero-title span {
    white-space: normal;
  }

  .coin-address-panel,
  .address-box {
    grid-template-columns: 1fr;
  }

  .coin-address-panel .button,
  .address-box .button {
    width: 100%;
  }

  .coin-proof-grid,
  .token-facts-grid {
    grid-template-columns: 1fr;
  }

  .coin-proof-link,
  .token-fact-card {
    min-height: auto;
  }

  .hero {
    padding-top: 38px;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 4.2rem);
  }

  .event-tools {
    grid-template-columns: 1fr;
  }

  .learn-hero-panel,
  .visit-hero-panel,
  .holiday-hero-panel,
  .visit-progress-panel,
  .visit-route-panel,
  .visit-route-card,
  .visit-card,
  .visit-detail,
  .visit-checklist-panel,
  .visit-note-panel,
  .holiday-progress-panel,
  .holiday-next-panel,
  .holiday-route-card,
  .holiday-card,
  .holiday-detail,
  .holiday-checklist-panel,
  .holiday-note-panel,
  .learn-progress-panel,
  .learn-daily-panel,
  .learn-path-card,
  .learn-document-panel,
  .learn-lesson-card,
  .learn-lesson-detail,
  .learn-flashcard-panel,
  .learn-reflection-panel {
    padding: 16px;
  }

  .learn-hero-stats,
  .visit-hero-stats,
  .holiday-hero-stats,
  .learn-document-tabs {
    grid-template-columns: 1fr;
  }

  .learn-dashboard-actions,
  .visit-dashboard-actions,
  .visit-card-actions,
  .visit-practice-actions,
  .holiday-dashboard-actions,
  .holiday-card-actions,
  .holiday-practice-actions,
  .learn-practice-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .learn-dashboard-actions .button,
  .visit-dashboard-actions .button,
  .visit-card-actions .button,
  .visit-practice-actions .button,
  .holiday-dashboard-actions .button,
  .holiday-card-actions .button,
  .holiday-practice-actions .button,
  .learn-practice-actions .button {
    width: 100%;
  }

  .learn-card-top,
  .visit-card-top,
  .visit-panel-head,
  .holiday-card-top,
  .holiday-panel-head,
  .learn-panel-head {
    flex-direction: column;
  }

  .learn-complete-toggle {
    align-self: flex-start;
  }

  .learn-daily-step {
    grid-template-columns: 34px minmax(0, 1fr);
  }

  .visit-route-step {
    grid-template-columns: 34px minmax(0, 1fr);
  }

  .holiday-route-step {
    grid-template-columns: 34px minmax(0, 1fr);
  }

  .learn-daily-step span {
    width: 34px;
    height: 34px;
  }

  .visit-route-step span {
    width: 34px;
    height: 34px;
  }

  .holiday-route-step span {
    width: 34px;
    height: 34px;
  }

  .state-hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .map-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .map-share-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .map-share-actions .button {
    width: 100%;
  }

  .map-filter {
    grid-template-columns: minmax(0, 1fr) auto;
    min-width: 0;
  }

  .map-filter small {
    grid-column: 1 / -1;
  }

  .map-filter-bar,
  .map-story-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .map-story-chip {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .map-story-chip small {
    grid-column: 1 / -1;
  }

  .state-card-head {
    flex-direction: column;
    gap: 8px;
  }

  .state-compare-controls,
  .state-compare-header,
  .state-compare-row {
    grid-template-columns: 1fr;
  }

  .state-compare-header span {
    display: none;
  }

  .state-spotlight {
    padding: 18px;
  }

  .state-spotlight-actions,
  .state-card-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .state-spotlight-actions .button,
  .state-card-actions .button {
    width: 100%;
  }

  .quiz-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .quiz-toolbar .button {
    align-self: flex-start;
  }

  .quiz-options {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .quiz-question {
    padding: 16px;
  }

  .quiz-question-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .quiz-question h2 {
    font-size: 1.02rem;
  }

  .quiz-question label {
    gap: 12px;
    min-height: 44px;
  }

  .quiz-question input {
    flex: 0 0 auto;
  }

  .quiz-result-summary {
    grid-template-columns: 1fr;
  }

  .quiz-result-actions {
    justify-content: flex-start;
  }

  .event-stats,
  .event-card-grid,
  .fact-list {
    grid-template-columns: 1fr;
  }

  .site-footer {
    gap: 18px;
  }
}

.intro-active {
  overflow: hidden;
}

.cinematic-intro {
  --intro-progress: 0;
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  min-height: 100svh;
  overflow: hidden;
  background: #000;
  color: var(--text);
  isolation: isolate;
}

.cinematic-intro[hidden] {
  display: none;
}

.intro-stage,
.intro-canvas,
.intro-flag-video,
.intro-fallback,
.intro-vignette {
  position: absolute;
  inset: 0;
}

.intro-video-option {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 1;
  pointer-events: auto;
  background: #000;
}

.intro-video-option video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000;
}

.intro-video-shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 44%, transparent 0%, rgba(0, 0, 0, 0.1) 52%, rgba(0, 0, 0, 0.78) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 28%, transparent 68%, rgba(0, 0, 0, 0.72));
}

.intro-stage,
.intro-story,
.intro-emblem {
  opacity: 0;
  visibility: hidden;
}

.cinematic-intro:not(.is-video-mode) .intro-video-option {
  opacity: 0;
  pointer-events: none;
}

.cinematic-intro:not(.is-video-mode) .intro-stage,
.cinematic-intro:not(.is-video-mode) .intro-story,
.cinematic-intro:not(.is-video-mode) .intro-emblem {
  visibility: visible;
}

.cinematic-intro:not(.is-video-mode) .intro-stage,
.cinematic-intro:not(.is-video-mode) .intro-story {
  opacity: 1;
}

.intro-canvas {
  z-index: 2;
  width: 100%;
  height: 100%;
}

.intro-flag-video {
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: var(--intro-flag-opacity, 0);
  filter: saturate(0.92) contrast(1.14) brightness(0.72);
  transform: scale(var(--intro-flag-scale, 1.08));
}

.intro-stage {
  background:
    radial-gradient(circle at 50% 46%, rgba(217, 170, 76, 0.14), transparent 28%),
    radial-gradient(circle at 18% 18%, rgba(23, 54, 93, 0.26), transparent 30%),
    linear-gradient(180deg, #000 0%, #05070c 55%, #000 100%);
}

.intro-stage::before,
.intro-stage::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
}

.intro-stage::before {
  z-index: 3;
  background:
    linear-gradient(115deg, transparent 13%, rgba(243, 202, 117, 0.2) 31%, transparent 48%),
    linear-gradient(70deg, transparent 25%, rgba(255, 255, 255, 0.06) 40%, transparent 58%);
  mix-blend-mode: screen;
  opacity: calc(0.08 + (var(--intro-progress) * 0.24));
  transform: translateX(-18%);
  animation: intro-light-drift 11s ease-in-out infinite alternate;
}

.intro-stage::after {
  z-index: 3;
  background-image:
    radial-gradient(circle, rgba(255, 230, 170, 0.1) 0 1px, transparent 1.5px),
    radial-gradient(circle, rgba(255, 255, 255, 0.055) 0 1px, transparent 1.5px);
  background-position: 0 0, 34px 46px;
  background-size: 118px 118px, 174px 174px;
  opacity: 0.08;
}

.intro-map-wrap {
  position: absolute;
  left: 50%;
  top: 44%;
  z-index: 4;
  width: min(74vw, 860px);
  opacity: var(--intro-map-opacity, 0);
  pointer-events: none;
  transform: translate(-50%, -50%) scale(var(--intro-map-scale, 0.96));
  transition: opacity 420ms ease;
}

.intro-map {
  width: 100%;
  height: auto;
  opacity: 0.78;
  filter:
    brightness(0)
    saturate(100%)
    invert(77%)
    sepia(54%)
    saturate(536%)
    hue-rotate(358deg)
    brightness(98%)
    contrast(92%)
    drop-shadow(0 0 28px rgba(217, 170, 76, 0.42));
  mix-blend-mode: screen;
}

.intro-map-aura {
  position: absolute;
  inset: 14% 12%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 170, 76, 0.18), transparent 66%);
  filter: blur(28px);
}

.intro-network {
  position: absolute;
  inset: 0;
  z-index: 5;
  opacity: var(--intro-network-opacity, 0);
  pointer-events: none;
  mix-blend-mode: screen;
}

.intro-network span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(30vw, 340px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(247, 215, 134, 0.88), transparent);
  transform-origin: 0 50%;
  filter: drop-shadow(0 0 10px rgba(243, 202, 117, 0.55));
}

.intro-network span::after {
  position: absolute;
  right: 0;
  top: -3px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  content: "";
  background: #f5d889;
  box-shadow: 0 0 18px rgba(243, 202, 117, 0.82);
}

.intro-network span:nth-child(1) {
  transform: translate(-44%, -92px) rotate(-18deg);
}

.intro-network span:nth-child(2) {
  transform: translate(-42%, -22px) rotate(12deg);
}

.intro-network span:nth-child(3) {
  transform: translate(-48%, 54px) rotate(-5deg);
}

.intro-network span:nth-child(4) {
  transform: translate(-16%, -126px) rotate(32deg);
}

.intro-network span:nth-child(5) {
  transform: translate(-28%, 112px) rotate(-31deg);
}

.intro-fallback {
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 46%, rgba(217, 170, 76, 0.2), transparent 34%),
    linear-gradient(90deg, rgba(165, 35, 45, 0.24), transparent 36%, rgba(23, 54, 93, 0.24)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.18), #020202);
}

.intro-fallback img {
  width: min(48vw, 420px);
  border-radius: 50%;
  border: 1px solid rgba(243, 202, 117, 0.64);
  box-shadow:
    0 0 68px rgba(217, 170, 76, 0.34),
    0 34px 120px rgba(0, 0, 0, 0.62);
}

.cinematic-intro.is-static .intro-canvas {
  display: none;
}

.cinematic-intro.is-static .intro-fallback {
  opacity: 1;
}

.intro-vignette {
  z-index: 4;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 40%, transparent 0%, rgba(0, 0, 0, 0.22) 54%, rgba(0, 0, 0, 0.9) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.96) 0%, transparent 18%, transparent 64%, rgba(0, 0, 0, 0.92) 100%);
}

.intro-story {
  position: absolute;
  left: clamp(22px, 5vw, 72px);
  bottom: clamp(82px, 11svh, 140px);
  z-index: 7;
  display: grid;
  gap: 8px;
  max-width: min(420px, calc(100vw - 44px));
  opacity: 1;
  pointer-events: none;
  text-align: left;
  text-shadow: 0 12px 36px rgba(0, 0, 0, 0.82);
  transition: opacity 520ms ease, transform 520ms ease;
}

.intro-story span {
  color: var(--gold-bright);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.intro-story strong {
  color: #fff7e4;
  font-size: clamp(1.45rem, 3.1vw, 3rem);
  line-height: 0.96;
}

.intro-story p {
  max-width: 360px;
  margin: 0;
  color: rgba(247, 242, 230, 0.78);
  font-size: clamp(0.92rem, 1.2vw, 1.05rem);
  font-weight: 680;
}

.cinematic-intro.is-logo .intro-story,
.cinematic-intro.is-final .intro-story {
  opacity: 0;
  transform: translateY(14px);
}

.intro-emblem {
  position: absolute;
  left: 50%;
  top: 38%;
  z-index: 5;
  width: clamp(230px, 25vw, 340px);
  aspect-ratio: 1;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.82);
  transition:
    opacity 1.2s ease,
    transform 1.35s cubic-bezier(0.16, 1, 0.3, 1),
    filter 1.35s ease;
  filter: drop-shadow(0 0 28px rgba(217, 170, 76, 0.18)) drop-shadow(0 34px 82px rgba(0, 0, 0, 0.74));
}

.intro-emblem img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 1px solid rgba(243, 202, 117, 0.54);
  object-fit: cover;
}

.intro-emblem span {
  position: absolute;
  inset: -6%;
  border-radius: 50%;
  overflow: hidden;
  opacity: 0;
  mix-blend-mode: screen;
}

.intro-emblem span::before {
  position: absolute;
  top: -18%;
  bottom: -18%;
  left: -54%;
  width: 18%;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(255, 245, 205, 0.68), transparent);
  transform: rotate(18deg);
}

.cinematic-intro.is-logo .intro-emblem,
.cinematic-intro.is-static .intro-emblem {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  filter: drop-shadow(0 0 42px rgba(217, 170, 76, 0.28)) drop-shadow(0 34px 96px rgba(0, 0, 0, 0.78));
}

.cinematic-intro.is-final .intro-emblem span {
  opacity: 1;
}

.cinematic-intro.is-final .intro-emblem span::before {
  animation: intro-emblem-sweep 1.9s cubic-bezier(0.16, 1, 0.3, 1) 0.05s both;
}

.cinematic-intro.is-entering .intro-emblem {
  transform: translate(-50%, -50%) scale(1.28);
  opacity: 0;
}

.intro-progress {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 6;
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
}

.intro-progress span {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, rgba(165, 35, 45, 0.78), rgba(243, 202, 117, 0.96), rgba(255, 255, 255, 0.74));
  box-shadow: 0 0 24px rgba(243, 202, 117, 0.55);
}

.intro-copy {
  position: absolute;
  left: 50%;
  bottom: clamp(74px, 9svh, 116px);
  z-index: 6;
  display: grid;
  justify-items: center;
  width: min(760px, calc(100% - 36px));
  text-align: center;
  opacity: 0;
  transform: translate(-50%, 22px) scale(0.985);
  transition:
    opacity 1.1s ease,
    transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
}

.cinematic-intro.is-final .intro-copy,
.cinematic-intro.is-static .intro-copy {
  opacity: 1;
  transform: translate(-50%, 0) scale(1);
}

.intro-copy .eyebrow {
  margin-bottom: 18px;
  text-shadow: 0 0 24px rgba(217, 170, 76, 0.52);
}

.intro-copy h1 {
  max-width: none;
  margin: 0;
  color: #fff6de;
  font-size: clamp(2.35rem, 5.6vw, 4.8rem);
  line-height: 0.94;
  text-shadow:
    0 2px 0 rgba(217, 170, 76, 0.38),
    0 0 44px rgba(217, 170, 76, 0.52),
    0 20px 80px rgba(0, 0, 0, 0.78);
}

.intro-copy p:not(.eyebrow) {
  max-width: 680px;
  margin: 14px 0 20px;
  color: #efe3ca;
  font-size: clamp(0.98rem, 1.7vw, 1.32rem);
  font-weight: 720;
  line-height: 1.35;
  text-shadow: 0 8px 28px rgba(0, 0, 0, 0.78);
}

.intro-copy .button {
  min-width: min(100%, 276px);
  min-height: 52px;
  text-transform: uppercase;
  box-shadow:
    0 16px 44px rgba(217, 170, 76, 0.28),
    0 0 0 1px rgba(255, 255, 255, 0.12) inset;
}

.intro-controls {
  position: fixed;
  right: clamp(14px, 3vw, 32px);
  bottom: clamp(18px, 3vw, 32px);
  z-index: 7;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  max-width: calc(100vw - 28px);
}

.intro-control {
  min-height: 40px;
  padding: 9px 13px;
  border: 1px solid rgba(247, 242, 230, 0.22);
  border-radius: 999px;
  color: #f8edd8;
  background: rgba(2, 2, 2, 0.5);
  backdrop-filter: blur(16px);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 850;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.26);
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.intro-control:hover,
.intro-control:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(243, 202, 117, 0.68);
  background: rgba(217, 170, 76, 0.16);
  outline: none;
}

.intro-control[aria-pressed="false"] {
  color: #111;
  border-color: rgba(243, 202, 117, 0.92);
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
}

@keyframes intro-light-drift {
  from {
    transform: translateX(-18%) skewX(-8deg);
    opacity: 0.22;
  }

  to {
    transform: translateX(14%) skewX(-8deg);
    opacity: 0.42;
  }
}

@keyframes intro-emblem-sweep {
  from {
    transform: translateX(0) rotate(18deg);
  }

  to {
    transform: translateX(650%) rotate(18deg);
  }
}

@media (max-width: 1100px) {
  .intro-launch-button {
    order: 3;
  }
}

@media (max-width: 720px) {
  .intro-launch-button {
    min-height: 36px;
    padding-inline: 12px;
  }

  .intro-map-wrap {
    top: 38%;
    width: 112vw;
  }

  .intro-network span {
    width: 52vw;
  }

  .intro-story {
    left: 18px;
    right: 18px;
    bottom: 94px;
    max-width: none;
  }

  .intro-story strong {
    font-size: clamp(1.55rem, 9vw, 2.65rem);
  }

  .intro-story p {
    max-width: 300px;
  }

  .intro-emblem {
    top: 37%;
    width: min(66vw, 270px);
  }

  .intro-copy {
    width: min(100% - 28px, 560px);
    bottom: 90px;
  }

  .intro-copy h1 {
    font-size: clamp(2rem, 10vw, 3.6rem);
  }

  .intro-copy p:not(.eyebrow) {
    margin: 18px 0 22px;
    font-size: 1.02rem;
  }

  .intro-copy .button {
    width: min(100%, 300px);
    min-height: 50px;
    padding-inline: 16px;
    font-size: 0.88rem;
  }

  .intro-controls {
    left: 12px;
    right: 12px;
    bottom: 14px;
    justify-content: center;
  }

  .intro-control {
    min-height: 38px;
    padding-inline: 11px;
    font-size: 0.78rem;
  }

  .intro-fallback img {
    width: min(74vw, 340px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .intro-stage::before {
    animation: none;
  }

  .intro-copy,
  .intro-control,
  .intro-launch-button {
    transition: none;
  }
}
