/*
  Premium visual layer for the public HTML surface.
  Loaded after page-level styles so it can unify the site without touching
  machine-readable JSON, Markdown, TXT, XML, or feed routes.
*/

@font-face {
  font-family: "Geist Sans";
  src: url("/assets/fonts/geist/geist-sans-latin-400-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Geist Sans";
  src: url("/assets/fonts/geist/geist-sans-latin-500-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Geist Sans";
  src: url("/assets/fonts/geist/geist-sans-latin-600-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Geist Sans";
  src: url("/assets/fonts/geist/geist-sans-latin-700-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Geist Sans";
  src: url("/assets/fonts/geist/geist-sans-latin-800-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}

@font-face {
  font-family: "Geist Sans";
  src: url("/assets/fonts/geist/geist-sans-latin-900-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 900;
  font-display: swap;
}

@font-face {
  font-family: "Geist Mono";
  src: url("/assets/fonts/geist/geist-mono-latin-400-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Geist Mono";
  src: url("/assets/fonts/geist/geist-mono-latin-600-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Geist Mono";
  src: url("/assets/fonts/geist/geist-mono-latin-700-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --premium-bg: #050608;
  --premium-ink: #f7f8fa;
  --premium-muted: #aeb6c2;
  --premium-soft: #dbe2ea;
  --premium-line: rgba(255, 255, 255, 0.14);
  --premium-line-strong: rgba(255, 255, 255, 0.24);
  --premium-glass: rgba(18, 21, 27, 0.68);
  --premium-glass-strong: rgba(25, 29, 38, 0.82);
  --premium-panel: rgba(12, 14, 18, 0.72);
  --premium-surface: rgba(255, 255, 255, 0.075);
  --premium-surface-strong: rgba(255, 255, 255, 0.11);
  --premium-blue: #8fd8ff;
  --premium-amber: #f1c66d;
  --premium-red: #ff6158;
  --premium-green: #7fd99b;
  --premium-shadow: 0 34px 110px rgba(0, 0, 0, 0.46);
  --premium-soft-shadow: 0 18px 58px rgba(0, 0, 0, 0.28);
  --premium-radius: 8px;
  --premium-max: 1180px;
  --premium-font-body: "Geist Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --premium-font-display: "Geist Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --premium-font-mono: "Geist Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

html {
  scroll-behavior: smooth;
  background: var(--premium-bg);
}

body {
  min-height: 100vh;
  color: var(--premium-ink) !important;
  background:
    none,
    none,
    none,
    #050608 !important;
  font-family: var(--premium-font-body) !important;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0 !important;
  overflow-x: clip;
  font-feature-settings: "kern" 1, "liga" 1, "calt" 1;
  font-variant-ligatures: common-ligatures contextual;
  font-synthesis-weight: none;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    none,
    none;
  background-size: 88px 88px;
  mask-image: none;
}

* {
  box-sizing: border-box;
  letter-spacing: 0 !important;
}

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

::selection {
  color: #050608;
  background: var(--premium-blue);
}

a {
  color: var(--premium-blue) !important;
  text-decoration: none;
  text-underline-offset: 0.18em;
  overflow-wrap: anywhere;
}

a:hover {
  color: #ffffff !important;
}

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

.wrap,
.container,
.shell,
.hero__inner,
.topbar__inner {
  width: min(var(--premium-max), calc(100% - 40px)) !important;
}

.topbar,
body > header.topbar {
  position: sticky !important;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  background: rgba(5, 6, 8, 0.68) !important;
  backdrop-filter: blur(28px) saturate(150%);
  -webkit-backdrop-filter: blur(28px) saturate(150%);
  box-shadow: 0 12px 46px rgba(0, 0, 0, 0.24);
}

.topbar__inner,
.topbar .wrap,
body > header.topbar > div {
  min-height: 68px;
  margin-inline: auto !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand,
.logo,
.wordmark,
.topbar strong,
.topbar .brand a {
  color: var(--premium-ink) !important;
  font-family: var(--premium-font-display) !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
}

nav,
.nav {
  display: flex;
  align-items: center;
  gap: 8px !important;
  flex-wrap: wrap;
}

nav a,
.nav a,
.topbar a {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px !important;
  border-radius: 999px !important;
  color: rgba(247, 248, 250, 0.76) !important;
  font-family: var(--premium-font-display) !important;
  font-size: 0.84rem !important;
  font-weight: 700 !important;
  line-height: 1.15 !important;
  font-variant-numeric: tabular-nums;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

nav a:hover,
.nav a:hover,
.topbar a:hover {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.1) !important;
}

section {
  position: relative;
}

.hero,
section.hero {
  overflow: hidden;
  border-block: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-inline: 0 !important;
  border-radius: 0 !important;
  background-color: rgba(8, 10, 14, 0.2) !important;
  box-shadow: 0 34px 110px rgba(0, 0, 0, 0.34);
}

.hero,
section.hero {
  margin-top: 0 !important;
  margin-bottom: 28px !important;
  padding: 72px 0 !important;
}

main > header {
  margin-top: 28px !important;
  padding: 42px !important;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: var(--premium-radius) !important;
  background:
    none,
    rgba(8, 10, 14, 0.72) !important;
  box-shadow: var(--premium-shadow);
}

.hero::after,
section.hero::after,
main > header::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: none;
}

.hero > *,
section.hero > *,
main > header > * {
  position: relative;
  z-index: 1;
}

h1,
.hero h1,
.hero__title {
  max-width: 980px;
  margin-top: 0 !important;
  color: var(--premium-ink) !important;
  font-family: var(--premium-font-display) !important;
  font-size: 4.8rem !important;
  line-height: 0.94 !important;
  font-weight: 900 !important;
  letter-spacing: 0 !important;
  text-wrap: balance;
  font-feature-settings: "kern" 1, "liga" 1, "calt" 1;
}

h2 {
  color: var(--premium-ink) !important;
  font-family: var(--premium-font-display) !important;
  font-size: 2.35rem !important;
  line-height: 1.02 !important;
  font-weight: 800 !important;
  text-wrap: balance;
}

h3 {
  color: rgba(247, 248, 250, 0.96) !important;
  font-family: var(--premium-font-display) !important;
  font-size: 1.28rem !important;
  line-height: 1.12 !important;
  font-weight: 700 !important;
  text-wrap: balance;
}

p,
li,
dd,
td {
  color: var(--premium-muted) !important;
  font-weight: 400 !important;
  line-height: 1.62 !important;
  overflow-wrap: anywhere;
  text-wrap: pretty;
}

.lead,
.hero p,
.hero__copy,
.hero__line,
main > header p {
  max-width: 820px;
  color: rgba(247, 248, 250, 0.72) !important;
  font-size: 1.08rem !important;
  font-weight: 400 !important;
  line-height: 1.58 !important;
}

.eyebrow,
.kicker,
.hero__kicker,
.rank,
.label,
.meta {
  color: rgba(143, 216, 255, 0.88) !important;
  font-family: var(--premium-font-display) !important;
  font-size: 0.74rem !important;
  font-weight: 700 !important;
  text-transform: none !important;
  font-variant-numeric: tabular-nums;
}

.card,
.item,
.panel,
.tile,
.stat,
.feature,
.notice,
.route-list,
.mirror,
article,
details,
pre,
table {
  border: 1px solid var(--premium-line) !important;
  border-radius: var(--premium-radius) !important;
  background:
    none,
    var(--premium-glass) !important;
  box-shadow: var(--premium-soft-shadow) !important;
  backdrop-filter: blur(18px) saturate(130%);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
}

.card:hover,
.item:hover,
.panel:hover,
.tile:hover,
.mirror:hover,
article:hover {
  border-color: var(--premium-line-strong) !important;
  background:
    none,
    var(--premium-glass-strong) !important;
  transform: translateY(-1px);
}

.grid,
.cards,
.features,
.route-list,
.links,
.mirrors {
  gap: 16px !important;
}

.grid:not(.route-list),
.cards,
.features {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)) !important;
}

.card,
.item,
.panel,
.tile,
.notice,
.mirror,
article {
  padding: 22px !important;
}

.notice {
  border-left: 1px solid rgba(241, 198, 109, 0.48) !important;
}

.hero__actions,
.actions,
.cta,
.links,
.mirrors {
  display: flex;
  flex-wrap: wrap;
  gap: 12px !important;
}

.hero__actions a,
.actions a,
.cta a,
.links a,
.mirrors a,
a.button,
.button,
button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 16px !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.095) !important;
  color: var(--premium-ink) !important;
  font-family: var(--premium-font-display) !important;
  font-weight: 700 !important;
  line-height: 1.15 !important;
  font-variant-numeric: tabular-nums;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.2);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.hero__actions a:first-child,
.actions a:first-child,
.cta a:first-child {
  border-color: rgba(143, 216, 255, 0.38) !important;
  background: none !important;
  color: #050608 !important;
}

.hero__actions a:hover,
.actions a:hover,
.cta a:hover,
.links a:hover,
.mirrors a:hover,
a.button:hover,
.button:hover,
button:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.28) !important;
}

.route-list {
  display: flex !important;
  flex-wrap: wrap;
  gap: 10px !important;
}

.route-list a,
code,
pre,
kbd {
  font-family: var(--premium-font-mono) !important;
}

pre,
code {
  color: rgba(247, 248, 250, 0.9) !important;
  font-weight: 400 !important;
  font-variant-numeric: tabular-nums;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
}

th,
td {
  border-bottom: 1px solid rgba(255, 255, 255, 0.09) !important;
  padding: 13px 14px !important;
}

th {
  color: rgba(247, 248, 250, 0.9) !important;
  font-family: var(--premium-font-display) !important;
  font-weight: 700 !important;
  background: rgba(255, 255, 255, 0.055) !important;
}

footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: rgba(247, 248, 250, 0.58) !important;
}

[style*="--hero-art"],
[class*="art"],
[class*="image"],
[class*="visual"],
[class*="shot"],
[class*="poster"] {
  border-radius: var(--premium-radius) !important;
}

@media (max-width: 880px) {
  .wrap,
  .container,
  .shell,
  .hero__inner,
  .topbar__inner {
    width: min(100% - 24px, var(--premium-max)) !important;
  }

  .topbar__inner,
  .topbar .wrap,
  body > header.topbar > div {
    min-height: auto;
    padding-block: 12px;
    align-items: flex-start;
    flex-direction: column;
  }

  nav,
  .nav {
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    justify-content: flex-start;
    padding-bottom: 4px;
  }

  header.topbar nav,
  header.topbar .nav,
  body > header nav {
    display: none !important;
  }

  nav a,
  .nav a,
  .topbar a {
    flex: 0 0 auto;
  }

  .hero,
  section.hero {
    padding: 44px 0 !important;
  }

  main > header {
    padding: 28px !important;
  }

  h1,
  .hero h1,
  .hero__title {
    font-size: 3rem !important;
  }

  h2 {
    font-size: 2rem !important;
  }
}

@media (max-width: 540px) {
  h1,
  .hero h1,
  .hero__title {
    font-size: 2.42rem !important;
  }

  h2 {
    font-size: 1.62rem !important;
  }

  .card,
  .item,
  .panel,
  .tile,
  .notice,
  .mirror,
  article {
    padding: 18px !important;
  }
}

/*
  Premium v2: stronger visible art direction for the human-facing pages.
  This layer intentionally makes the homepage/game-page change obvious while
  keeping crawler routes and source text intact.
*/

:root {
  --premium-v2-chrome: rgba(7, 8, 10, 0.58);
  --premium-v2-chrome-strong: rgba(10, 12, 16, 0.82);
  --premium-v2-hairline: rgba(255, 255, 255, 0.18);
  --premium-v2-hotline: none;
}

body {
  background:
    none,
    none,
    none,
    none !important;
}

body::before {
  opacity: 0.7;
  background:
    none,
    none;
  background-size: 96px 96px;
}

.topbar,
body > header.topbar {
  width: min(1188px, calc(100% - 32px)) !important;
  inset: 14px 16px auto !important;
  margin-inline: auto !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  border-radius: 8px !important;
  background:
    none,
    var(--premium-v2-chrome) !important;
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.36);
}

.topbar__inner,
.topbar .wrap,
body > header.topbar > div {
  min-height: 58px !important;
}

.brand__mark,
.brand-mark,
.mark {
  border-radius: 4px !important;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.22) inset,
    0 16px 46px rgba(143, 216, 255, 0.24) !important;
}

.hero,
section.hero {
  min-height: 100svh !important;
  display: grid !important;
  align-items: end !important;
  margin-bottom: 0 !important;
  padding: 128px 0 118px !important;
  border: 0 !important;
  box-shadow: none;
  isolation: isolate;
}

.hero::before,
section.hero::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 0 !important;
  pointer-events: none;
  background:
    none,
    none,
    none;
}

.hero::after,
section.hero::after {
  z-index: 0;
  height: 180px;
  background:
    none,
    none;
}

.hero__inner,
.hero .shell {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: end;
  min-height: 62svh;
}

.hero h1,
.hero__title,
.hero .shell h1 {
  max-width: 10.5ch !important;
  font-family: var(--premium-font-display) !important;
  font-size: 6.1rem !important;
  line-height: 0.88 !important;
  font-weight: 900 !important;
  text-transform: uppercase;
  text-shadow: 0 22px 72px rgba(0, 0, 0, 0.68);
}

.hero__line,
.hero .lead,
.hero__copy {
  max-width: 760px !important;
  color: rgba(255, 255, 255, 0.78) !important;
  text-shadow: 0 12px 38px rgba(0, 0, 0, 0.72);
}

.hero__kicker span,
.eyebrow {
  border-color: rgba(255, 255, 255, 0.22) !important;
  background: rgba(7, 8, 10, 0.46) !important;
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
}

.hero__actions a,
.button-row a,
a.button,
.button {
  border-radius: 8px !important;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.28) inset,
    0 22px 62px rgba(0, 0, 0, 0.32);
}

.signal-strip {
  width: min(1180px, calc(100% - 40px)) !important;
  margin: -62px auto 74px !important;
  position: relative;
  z-index: 4;
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 1px !important;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  border-radius: 8px !important;
  background: rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 26px 82px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(24px) saturate(150%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
}

.signal-strip > div {
  padding: 24px 26px !important;
  background:
    none,
    rgba(8, 10, 14, 0.72) !important;
}

.signal-strip strong {
  display: block;
  margin-bottom: 6px;
  color: #ffffff !important;
  font-family: var(--premium-font-display) !important;
  font-size: 1.8rem !important;
  line-height: 1;
  font-weight: 900 !important;
  text-transform: uppercase;
}

.signal-strip span {
  color: rgba(247, 248, 250, 0.68) !important;
}

.section,
.systems-codex,
.mission-loop,
.slice-board,
.cast-intel,
.playable-proof-console,
.modules {
  padding-block: 96px !important;
}

.section__inner,
.shell {
  position: relative;
}

.section__head,
.section-head {
  margin-bottom: 34px !important;
  padding-bottom: 22px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.section__head h2,
.section-head h2 {
  max-width: 780px;
  font-family: var(--premium-font-display) !important;
  font-size: 3.45rem !important;
  line-height: 0.96 !important;
  font-weight: 800 !important;
}

.section__summary,
.section-head p,
.lead {
  color: rgba(247, 248, 250, 0.68) !important;
}

.mission-grid,
.systems,
.archive-grid,
.route-grid,
.module-grid,
.codex-grid,
.proof-console-grid,
.cast-grid,
.slice-map,
.mission-beats {
  gap: 18px !important;
}

.mission-card,
.game-card,
.system-card,
.route-card,
.archive-card,
.codex-card,
.codex-proof,
.mission-step,
.mission-proof,
.slice-shot,
.slice-proof,
.cast-card,
.cast-proof,
.proof-console-card,
.proof-console-route,
.xai-panel,
.bullcase-panel,
.beat {
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  border-radius: 8px !important;
  background:
    none,
    rgba(13, 15, 20, 0.76) !important;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.18) inset,
    0 30px 90px rgba(0, 0, 0, 0.34) !important;
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
}

.mission-card {
  min-height: 560px;
  display: grid !important;
  grid-template-rows: minmax(280px, 1fr) auto;
  overflow: hidden;
}

.mission-card__image {
  min-height: 300px !important;
  background-size: cover !important;
  background-position: center !important;
  filter: saturate(1.12) contrast(1.08);
}

.mission-card:nth-child(1) .mission-card__image {
  background-image:
    none,
    url("/assets/art-rain-run-v2.png") !important;
}

.mission-card:nth-child(2) .mission-card__image {
  background-image:
    none,
    url("/assets/art-episode-smoke-v2.png") !important;
}

.mission-card:nth-child(3) .mission-card__image {
  background-image:
    none,
    url("/assets/art-xai-garage.png") !important;
}

.mission-card__body,
.game-card,
.system-card,
.route-card,
.archive-card,
.codex-card,
.mission-step,
.proof-console-card {
  padding: 26px !important;
}

.system-card,
.route-card,
.archive-card,
.codex-card,
.proof-console-card {
  min-height: 220px;
}

.system-card::before,
.route-card::before,
.archive-card::before,
.codex-card::before,
.proof-console-card::before,
.beat::before {
  content: "";
  display: block;
  width: 74px;
  height: 2px;
  margin-bottom: 22px;
  background: var(--premium-v2-hotline);
}

.world,
.flagship,
.codex-layout,
.mission-stage,
.slice-stage,
.cast-layout,
.proof-console-layout {
  gap: 18px !important;
}

.world__poster,
.codex-hero,
.mission-panel,
.slice-keyart,
.cast-stage,
.proof-console-stage,
.finale {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: 8px !important;
  box-shadow: 0 36px 110px rgba(0, 0, 0, 0.44) !important;
}

.world__poster {
  min-height: 640px !important;
  background:
    none,
    url("/assets/world-night-crew-v1.webp") center / cover no-repeat !important;
}

.xai-panel,
.bullcase-panel {
  padding: 42px !important;
}

.bullcase-lockup strong {
  color: #ffffff !important;
  text-shadow: 0 22px 60px rgba(255, 97, 88, 0.32);
}

.finale {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
  min-height: 620px;
  display: grid;
  align-items: end;
  background:
    none,
    none,
    url("/assets/hero-backdoor-noir-v3.png") center / cover no-repeat !important;
}

.finale__inner {
  width: min(820px, calc(100% - 48px));
  margin: 0 auto 56px;
}

@media (prefers-reduced-motion: no-preference) {
  .hero {
    animation: premiumHeroBreath 18s ease-in-out infinite alternate;
  }

  .hero::before {
    animation: premiumLightSweep 9s ease-in-out infinite alternate;
  }

  .mission-card,
  .system-card,
  .route-card,
  .archive-card,
  .codex-card,
  .slice-shot,
  .cast-card,
  .proof-console-card {
    transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
  }

  .mission-card:hover,
  .system-card:hover,
  .route-card:hover,
  .archive-card:hover,
  .codex-card:hover,
  .slice-shot:hover,
  .cast-card:hover,
  .proof-console-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.28) !important;
  }
}

@keyframes premiumHeroBreath {
  from { background-position: center center; }
  to { background-position: 54% center; }
}

@keyframes premiumLightSweep {
  from { opacity: 0.72; transform: translateX(-2%); }
  to { opacity: 0.98; transform: translateX(2%); }
}

@media (max-width: 880px) {
  .topbar,
  body > header.topbar {
    width: calc(100% - 24px) !important;
    inset: 10px 12px auto !important;
  }

  .hero,
  section.hero {
    min-height: 100svh !important;
    padding: 104px 0 72px !important;
  }

  .hero h1,
  .hero__title,
  .hero .shell h1 {
    font-size: 3.4rem !important;
    line-height: 0.9 !important;
  }

  .signal-strip {
    width: min(100% - 24px, 1180px) !important;
    margin: -34px auto 48px !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .signal-strip > div {
    padding: 18px !important;
  }

  .signal-strip strong {
    font-size: 1.32rem !important;
  }

  .section,
  .systems-codex,
  .mission-loop,
  .slice-board,
  .cast-intel,
  .playable-proof-console,
  .modules {
    padding-block: 62px !important;
  }

  .section__head h2,
  .section-head h2 {
    font-size: 2.25rem !important;
  }

  .mission-card {
    min-height: 470px;
  }

  .mission-card__image {
    min-height: 220px !important;
  }
}

@media (max-width: 540px) {
  .hero h1,
  .hero__title,
  .hero .shell h1 {
    font-size: 2.75rem !important;
  }

  .hero__inner,
  .hero .shell {
    min-height: 66svh;
  }

  .signal-strip {
    grid-template-columns: 1fr !important;
  }

  .xai-panel,
  .bullcase-panel {
    padding: 22px !important;
  }

  .finale {
    width: min(100% - 24px, 1180px);
    min-height: 520px;
  }
}

/*
  Premium v3: brighter cinematic tone and stronger adult character presence.
  The goal is warmer, clearer, and more sensual without changing the site into
  a neon-only palette or weakening readability.
*/

:root {
  --premium-bg: #090b10;
  --premium-ink: #ffffff;
  --premium-muted: #c4cad3;
  --premium-glass: rgba(28, 31, 38, 0.72);
  --premium-glass-strong: rgba(36, 40, 49, 0.86);
  --premium-panel: rgba(19, 22, 28, 0.76);
  --premium-surface: rgba(255, 255, 255, 0.105);
  --premium-surface-strong: rgba(255, 255, 255, 0.15);
  --premium-blue: #a7e2ff;
  --premium-amber: #ffd47a;
  --premium-red: #ff746f;
}

body {
  background:
    none,
    none,
    none,
    none !important;
}

body::before {
  opacity: 0.54;
}

.topbar,
body > header.topbar {
  background:
    none,
    rgba(12, 14, 18, 0.62) !important;
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.28);
}

.hero,
section.hero {
  filter: saturate(1.08) brightness(1.06);
}

.hero::before,
section.hero::before {
  background:
    none,
    none,
    none !important;
}

.hero::after,
section.hero::after {
  background:
    none,
    none !important;
}

.hero--home {
  background:
    none,
    none,
    url("/assets/hero-backdoor-noir-v3.png") 58% center / cover no-repeat !important;
}

.hero--games {
  background:
    none,
    none,
    url("/assets/hero-aaa-noir.png") 60% center / cover no-repeat !important;
}

.hero__line,
.hero .lead,
.hero__copy,
.section__summary,
.section-head p {
  color: rgba(255, 255, 255, 0.78) !important;
}

.hero__kicker span,
.eyebrow {
  background: rgba(18, 20, 25, 0.48) !important;
  border-color: rgba(255, 255, 255, 0.28) !important;
}

.card,
.item,
.panel,
.tile,
.stat,
.feature,
.notice,
.route-list,
.mirror,
article,
details,
pre,
table,
.mission-card,
.game-card,
.system-card,
.route-card,
.archive-card,
.codex-card,
.codex-proof,
.mission-step,
.mission-proof,
.slice-shot,
.slice-proof,
.cast-card,
.cast-proof,
.proof-console-card,
.proof-console-route,
.xai-panel,
.bullcase-panel,
.beat {
  background:
    none,
    rgba(24, 27, 34, 0.74) !important;
}

.world__poster {
  background:
    none,
    url("/assets/world-night-crew-v1.webp") center / cover no-repeat !important;
  filter: saturate(1.08) brightness(1.04);
}

.finale {
  background:
    none,
    none,
    url("/assets/hero-backdoor-noir-v3.png") center / cover no-repeat !important;
  filter: saturate(1.08) brightness(1.05);
}

@media (max-width: 880px) {
  .hero--home {
    background:
      none,
      none,
      url("/assets/hero-backdoor-noir-v3.png") 70% center / cover no-repeat !important;
  }

  .hero--games {
    background:
      none,
      none,
      url("/assets/hero-aaa-noir.png") 72% center / cover no-repeat !important;
  }
}

@media (max-width: 540px) {
  .hero::before,
  section.hero::before {
    background:
      none,
      none !important;
  }

  .hero--home {
    background-position: 74% center !important;
  }

  .hero--games {
    background-position: 70% center !important;
  }
}

/*
  Premium v4: site-wide brightness pass plus the XAI price-path animation.
  This intentionally reaches beyond the homepage hero so document pages, cards,
  image sections, and game modules share the same clearer tone.
*/

:root {
  --premium-bg: #0d1118;
  --premium-muted: #d0d6df;
  --premium-line: rgba(255, 255, 255, 0.2);
  --premium-line-strong: rgba(255, 255, 255, 0.32);
  --premium-glass: rgba(36, 40, 50, 0.78);
  --premium-glass-strong: rgba(46, 51, 64, 0.88);
  --premium-panel: rgba(28, 32, 42, 0.82);
  --premium-surface: rgba(255, 255, 255, 0.13);
  --premium-surface-strong: rgba(255, 255, 255, 0.18);
  --premium-shadow: 0 30px 90px rgba(0, 0, 0, 0.34);
  --premium-soft-shadow: 0 18px 54px rgba(0, 0, 0, 0.24);
}

html,
body {
  background-color: #0d1118 !important;
}

body {
  background:
    none,
    none,
    none,
    none !important;
}

body::before {
  opacity: 0.36;
}

main,
.site-shell {
  background:
    none,
    transparent !important;
}

main > header,
.section,
main > section:not(.hero),
.systems-codex,
.mission-loop,
.slice-board,
.cast-intel,
.playable-proof-console,
.modules,
footer {
  background:
    none,
    rgba(13, 17, 24, 0.22) !important;
}

.section--steel,
.section--bull,
.section--redline,
#archive,
#gameplay,
#xai,
#xai-10-bull-case {
  background:
    none,
    rgba(18, 22, 30, 0.38) !important;
}

.card,
.item,
.panel,
.tile,
.stat,
.feature,
.notice,
.route-list,
.mirror,
article,
details,
pre,
table,
.mission-card,
.game-card,
.system-card,
.route-card,
.archive-card,
.codex-card,
.codex-proof,
.mission-step,
.mission-proof,
.slice-shot,
.slice-proof,
.cast-card,
.cast-proof,
.proof-console-card,
.proof-console-route,
.xai-panel,
.bullcase-panel,
.beat,
.bullcase-main,
.bullcase-side,
.bullcase-chip {
  border-color: rgba(255, 255, 255, 0.2) !important;
  background:
    none,
    rgba(31, 36, 47, 0.78) !important;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.2) inset,
    0 24px 72px rgba(0, 0, 0, 0.26) !important;
}

p,
li,
dd,
td,
.lead,
.hero p,
.hero__copy,
.hero__line,
main > header p,
.section__summary,
.section-head p {
  color: rgba(255, 255, 255, 0.8) !important;
}

.mission-card__image,
.world__poster,
.codex-hero,
.mission-panel,
.slice-keyart,
.cast-stage,
.proof-console-stage,
.slice-shot,
.cast-card,
.game-card {
  filter: saturate(1.12) brightness(1.08) contrast(1.02);
}

.hero:not(.hero--home)::before,
section.hero:not(.hero--home)::before {
  background:
    none,
    none,
    none !important;
}

.xai-price-animation {
  position: relative;
  overflow: hidden;
  margin: 28px 0 26px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background:
    none,
    rgba(18, 22, 30, 0.72);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.22) inset,
    0 24px 72px rgba(0, 0, 0, 0.28);
}

.xai-price-animation::before {
  content: "";
  position: absolute;
  inset: -40% -20%;
  pointer-events: none;
  background: none;
  transform: translateX(-38%) rotate(8deg);
  animation: xaiPriceSweep 4.8s ease-in-out infinite;
}

.xai-price-animation__topline {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 18px;
  align-items: end;
}

.xai-price-animation__topline span,
.xai-price-animation__topline em,
.xai-price-animation__points {
  color: rgba(255, 255, 255, 0.72);
  font-family: var(--premium-font-display);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 700;
}

.xai-price-animation__topline strong {
  color: #ffffff;
  font-family: var(--premium-font-display);
  font-size: 4.1rem;
  font-weight: 900;
  line-height: 0.9;
  text-shadow: 0 18px 52px rgba(255, 116, 111, 0.24);
  font-variant-numeric: tabular-nums;
}

.xai-price-animation__topline em {
  grid-column: 1 / -1;
  color: rgba(255, 255, 255, 0.82);
}

.xai-price-animation__track {
  position: relative;
  z-index: 1;
  height: 12px;
  margin-top: 22px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.16) inset;
}

.xai-price-animation__track i {
  display: block;
  width: 2%;
  height: 100%;
  border-radius: inherit;
  background: none;
  box-shadow: 0 0 32px rgba(255, 212, 122, 0.52);
  transition: width 120ms linear;
}

.xai-price-animation__points {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  font-variant-numeric: tabular-nums;
}

@keyframes xaiPriceSweep {
  0%, 34% { transform: translateX(-46%) rotate(8deg); opacity: 0; }
  48% { opacity: 1; }
  78%, 100% { transform: translateX(42%) rotate(8deg); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .xai-price-animation::before {
    animation: none;
    opacity: 0;
  }
}

@media (max-width: 880px) {
  main > header,
  .section,
  main > section:not(.hero),
  .systems-codex,
  .mission-loop,
  .slice-board,
  .cast-intel,
  .playable-proof-console,
  .modules {
    background:
      none,
      rgba(15, 19, 27, 0.34) !important;
  }

  .xai-price-animation {
    padding: 18px;
  }

  .xai-price-animation__topline {
    grid-template-columns: 1fr;
  }

  .xai-price-animation__topline strong {
    font-size: 3rem;
  }
}

@media (max-width: 540px) {
  .xai-price-animation__topline strong {
    font-size: 2.5rem;
  }

  .xai-price-animation__points {
    font-size: 0.68rem;
  }
}

/*
  Premium v5: visible brightness lift. This layer reduces the dark art masks
  across every image-backed section so the change is obvious after deployment.
*/

:root {
  --premium-bg: #121824;
  --premium-muted: #dce3ed;
  --premium-glass: rgba(56, 62, 76, 0.78);
  --premium-glass-strong: rgba(70, 77, 94, 0.88);
  --premium-panel: rgba(42, 48, 62, 0.84);
  --premium-surface: rgba(255, 255, 255, 0.18);
  --premium-surface-strong: rgba(255, 255, 255, 0.24);
}

body {
  background:
    none,
    none,
    none,
    none !important;
}

.topbar,
body > header.topbar {
  background:
    none,
    rgba(34, 39, 50, 0.68) !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
}

.hero,
section.hero,
.mission-card__image,
.world__poster,
.codex-hero,
.mission-panel,
.slice-keyart,
.cast-stage,
.proof-console-stage,
.finale,
.slice-shot,
.cast-card,
.game-card {
  filter: saturate(1.22) brightness(1.18) contrast(1.02) !important;
}

.hero::before,
section.hero::before {
  background:
    none,
    none,
    none !important;
}

.hero::after,
section.hero::after {
  background:
    none,
    none !important;
}

.hero--home {
  background:
    none,
    none,
    url("/assets/hero-backdoor-noir-v3.png") 58% center / cover no-repeat !important;
}

.hero--games {
  background:
    none,
    none,
    url("/assets/hero-aaa-noir.png") 60% center / cover no-repeat !important;
}

.mission-card:nth-child(1) .mission-card__image {
  background-image:
    none,
    url("/assets/art-rain-run-v2.png") !important;
}

.mission-card:nth-child(2) .mission-card__image {
  background-image:
    none,
    url("/assets/art-episode-smoke-v2.png") !important;
}

.mission-card:nth-child(3) .mission-card__image {
  background-image:
    none,
    url("/assets/art-xai-garage.png") !important;
}

.world__poster {
  background:
    none,
    url("/assets/world-night-crew-v1.webp") center / cover no-repeat !important;
}

.finale {
  background:
    none,
    none,
    url("/assets/hero-backdoor-noir-v3.png") center / cover no-repeat !important;
}

main > header,
.section,
main > section:not(.hero),
.systems-codex,
.mission-loop,
.slice-board,
.cast-intel,
.playable-proof-console,
.modules,
footer {
  background:
    none,
    rgba(24, 30, 42, 0.34) !important;
}

.card,
.item,
.panel,
.tile,
.stat,
.feature,
.notice,
.route-list,
.mirror,
article,
details,
pre,
table,
.mission-card,
.game-card,
.system-card,
.route-card,
.archive-card,
.codex-card,
.codex-proof,
.mission-step,
.mission-proof,
.slice-shot,
.slice-proof,
.cast-card,
.cast-proof,
.proof-console-card,
.proof-console-route,
.xai-panel,
.bullcase-panel,
.beat,
.bullcase-main,
.bullcase-side,
.bullcase-chip {
  background:
    none,
    rgba(48, 55, 70, 0.78) !important;
  border-color: rgba(255, 255, 255, 0.28) !important;
}

p,
li,
dd,
td,
.lead,
.hero p,
.hero__copy,
.hero__line,
main > header p,
.section__summary,
.section-head p {
  color: rgba(255, 255, 255, 0.86) !important;
}

@media (max-width: 880px) {
  .hero--home {
    background:
      none,
      none,
      url("/assets/hero-backdoor-noir-v3.png") 70% center / cover no-repeat !important;
  }

  .hero--games {
    background:
      none,
      none,
      url("/assets/hero-aaa-noir.png") 72% center / cover no-repeat !important;
  }
}

/*
  Premium v6: move the XAI price rise into the homepage hero art.
*/

.hero .xai-price-animation--hero {
  position: absolute;
  top: -48px;
  left: 22px;
  z-index: 3;
  width: min(545px, 48vw);
  min-height: 158px;
  margin: 0;
  padding: 18px 22px;
  border-color: rgba(255, 255, 255, 0.22);
  background:
    none,
    rgba(10, 13, 20, 0.18);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.2) inset,
    0 22px 64px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(8px) saturate(128%);
  -webkit-backdrop-filter: blur(8px) saturate(128%);
  filter: none !important;
}

.hero .xai-price-animation--hero .xai-price-animation__topline {
  display: grid;
  grid-template-columns: minmax(84px, 0.42fr) minmax(0, 1fr);
  gap: 6px 18px;
  align-items: end;
}

.hero .xai-price-animation--hero .xai-price-animation__topline span {
  color: #ffffff;
  font-size: clamp(1.7rem, 3.5vw, 3.05rem);
  line-height: 0.9;
  text-shadow: 0 14px 38px rgba(0, 0, 0, 0.54);
}

.hero .xai-price-animation--hero .xai-price-animation__topline strong {
  justify-self: end;
  font-size: clamp(3rem, 5.7vw, 5.1rem);
  line-height: 0.86;
  text-shadow:
    0 0 34px rgba(255, 212, 122, 0.2),
    0 16px 48px rgba(0, 0, 0, 0.54);
}

.hero .xai-price-animation--hero .xai-price-animation__topline em {
  grid-column: 1 / -1;
  justify-self: end;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  text-transform: uppercase;
}

.hero .xai-price-animation--hero .xai-price-animation__track {
  height: 10px;
  margin-top: 14px;
  background: rgba(255, 255, 255, 0.18);
}

.hero .xai-price-animation--hero .xai-price-animation__points {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.72rem;
}

@media (max-width: 880px) {
  .hero .xai-price-animation--hero {
    position: relative;
    top: auto;
    left: auto;
    width: min(100%, 540px);
    min-height: 136px;
    margin-bottom: 18px;
    padding: 16px 18px;
  }

  .hero .xai-price-animation--hero .xai-price-animation__topline {
    grid-template-columns: minmax(70px, 0.38fr) minmax(0, 1fr);
  }

  .hero .xai-price-animation--hero .xai-price-animation__topline strong {
    font-size: clamp(2.35rem, 13vw, 3.6rem);
  }

  .hero .xai-price-animation--hero .xai-price-animation__topline span {
    font-size: clamp(1.35rem, 8vw, 2.2rem);
  }
}

@media (max-width: 540px) {
  .hero .xai-price-animation--hero {
    min-height: 122px;
  }

  .hero .xai-price-animation--hero .xai-price-animation__topline em,
  .hero .xai-price-animation--hero .xai-price-animation__points {
    font-size: 0.66rem;
  }
}

/*
  Premium v7: XAI_GAMES alignment layer with official social rails.
*/

:root {
  --xai-corporate-ink: #f8fafc;
  --xai-corporate-muted: rgba(248, 250, 252, 0.74);
  --xai-corporate-glass: rgba(229, 235, 244, 0.16);
  --xai-corporate-glass-strong: rgba(229, 235, 244, 0.24);
  --xai-corporate-line: rgba(248, 250, 252, 0.32);
}

.topbar__right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  min-width: 0;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.social-link,
a.social-link {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 11px !important;
  border: 1px solid var(--xai-corporate-line) !important;
  border-radius: 999px !important;
  color: var(--xai-corporate-ink) !important;
  background:
    none,
    rgba(18, 22, 30, 0.42) !important;
  font-family: var(--premium-font-display) !important;
  font-size: 0.76rem !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  text-transform: uppercase;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.2) inset,
    0 10px 30px rgba(0, 0, 0, 0.18);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.social-link:hover,
a.social-link:hover {
  color: #080b10 !important;
  border-color: rgba(255, 255, 255, 0.86) !important;
  background:
    none !important;
  transform: translateY(-1px);
}

.social-link--official,
a.social-link--official {
  min-width: 92px;
  background:
    none,
    rgba(18, 22, 30, 0.54) !important;
}

.social-links--top {
  flex: 0 0 auto;
  padding-left: 14px;
  border-left: 1px solid rgba(255, 255, 255, 0.22);
}

.social-links--footer {
  width: 100%;
  justify-content: flex-end;
  margin-top: 14px;
}

footer .social-links--footer {
  max-width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
}

.topbar,
body > header.topbar {
  background:
    none,
    rgba(30, 36, 48, 0.7) !important;
  border-color: rgba(255, 255, 255, 0.34) !important;
}

nav a,
.nav a,
.topbar a:not(.brand):not(.social-link) {
  color: rgba(255, 255, 255, 0.82) !important;
}

.button,
a.button,
.hero__actions a,
.button-row a {
  border-color: rgba(255, 255, 255, 0.36) !important;
  background:
    none,
    rgba(28, 34, 46, 0.68) !important;
}

.button--primary,
a.button--primary {
  color: #090b10 !important;
  border-color: rgba(255, 255, 255, 0.9) !important;
  background:
    none !important;
}

.signal-strip,
.xai-price-animation,
.bullcase-panel,
.mission-card,
.game-card,
.system-card,
.route-card,
.archive-card,
.codex-card,
.xai-panel {
  border-color: rgba(255, 255, 255, 0.34) !important;
}

@media (max-width: 1180px) {
  .topbar__right {
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
  }

  .social-links--top {
    padding-left: 0;
    border-left: 0;
  }
}

@media (max-width: 880px) {
  .topbar__right {
    width: 100%;
    align-items: flex-start;
  }

  header.topbar .social-links--top,
  body > header .social-links--top {
    display: flex !important;
  }

  .social-links--top {
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 2px;
  }

  .social-links--footer {
    justify-content: flex-start;
  }

  .social-link,
  a.social-link {
    flex: 0 0 auto;
  }
}

/*
  Premium v8: keep the XAI-style desktop nav compact after adding social links.
*/

@media (min-width: 1181px) {
  .topbar,
  body > header.topbar {
    width: min(1288px, calc(100% - 32px)) !important;
  }

  .topbar__inner,
  .topbar .wrap,
  body > header.topbar > div {
    gap: 14px !important;
  }

  .brand__name,
  .brand__name span,
  .brand__name strong {
    white-space: nowrap;
  }

  .topbar__right {
    flex: 1 1 auto;
    flex-direction: row;
  }

  .topbar__right .nav {
    flex: 1 1 auto;
    justify-content: flex-end;
    flex-wrap: nowrap;
    gap: 4px !important;
  }

  .topbar__right .nav a {
    min-height: 32px;
    padding: 7px 8px !important;
    font-size: 0.75rem !important;
  }

  .social-links--top {
    gap: 6px;
  }

  .social-links--top .social-link,
  .social-links--top a.social-link {
    min-height: 32px;
    padding: 7px 10px !important;
    font-size: 0.72rem !important;
  }

  .social-links--top .social-link--official,
  .social-links--top a.social-link--official {
    min-width: 88px;
  }
}

/*
  Premium v9: luxury finish. Unifies rough logo marks and shifts the palette
  toward obsidian, champagne, pearl, rose gold, and restrained cyan.
*/

:root {
  --lux-bg: #090a0e;
  --lux-panel: rgba(18, 18, 22, 0.78);
  --lux-panel-soft: rgba(255, 248, 232, 0.105);
  --lux-pearl: #fff8ec;
  --lux-muted: rgba(255, 248, 236, 0.72);
  --lux-gold: #d6b372;
  --lux-gold-bright: #fff0bd;
  --lux-rose: #c8796c;
  --lux-cyan: #9edbe4;
  --lux-line: rgba(255, 240, 189, 0.32);
  --lux-line-soft: rgba(255, 248, 236, 0.18);
  --lux-shadow: 0 26px 90px rgba(0, 0, 0, 0.42);
}

html,
body {
  background-color: var(--lux-bg) !important;
}

body {
  color: var(--lux-pearl) !important;
  background:
    none,
    none,
    none,
    none !important;
}

body::before {
  opacity: 0.28;
  background:
    none,
    none;
  background-size: 112px 112px;
}

.brand__mark,
.brand-mark,
.mark {
  flex: 0 0 auto;
  width: 48px !important;
  height: 48px !important;
  min-width: 48px !important;
  min-height: 48px !important;
  display: block !important;
  overflow: hidden !important;
  border: 1px solid rgba(255, 240, 189, 0.46) !important;
  border-radius: 14px !important;
  background:
    none,
    url("/assets/brand-nar-luxury.svg?v=20260704e") center / cover no-repeat !important;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.42) inset,
    0 0 0 1px rgba(0, 0, 0, 0.28),
    0 20px 48px rgba(0, 0, 0, 0.36),
    0 0 34px rgba(214, 179, 114, 0.16) !important;
  clip-path: none !important;
  color: transparent !important;
  font-size: 0 !important;
  line-height: 0 !important;
  text-indent: -999px !important;
}

.brand__mark::before,
.brand__mark::after,
.brand-mark::before,
.brand-mark::after,
.mark::before,
.mark::after {
  content: none !important;
}

.brand,
.logo,
.wordmark {
  gap: 14px !important;
}

.brand__name strong,
.brand strong,
.topbar strong,
.wordmark strong {
  color: var(--lux-pearl) !important;
  font-weight: 900 !important;
  text-shadow: 0 12px 34px rgba(0, 0, 0, 0.38);
}

.brand__name span,
.brand span:not(.brand__mark):not(.brand-mark):not(.mark),
.topbar .brand span:not(.brand__mark):not(.brand-mark):not(.mark) {
  color: rgba(255, 240, 189, 0.74) !important;
}

.topbar,
body > header.topbar {
  background:
    none,
    none,
    rgba(13, 14, 18, 0.72) !important;
  border: 1px solid var(--lux-line) !important;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.18) inset,
    0 30px 90px rgba(0, 0, 0, 0.36) !important;
}

nav a,
.nav a,
.topbar a:not(.brand):not(.social-link) {
  border-radius: 8px !important;
  color: rgba(255, 248, 236, 0.76) !important;
  font-weight: 850 !important;
}

nav a:hover,
.nav a:hover,
.topbar a:hover {
  color: var(--lux-pearl) !important;
  background: rgba(255, 240, 189, 0.1) !important;
}

.social-link,
a.social-link {
  border-radius: 8px !important;
  border-color: var(--lux-line) !important;
  color: var(--lux-pearl) !important;
  background:
    none,
    rgba(12, 13, 17, 0.58) !important;
}

.social-link:hover,
a.social-link:hover {
  color: #090a0e !important;
  background:
    none !important;
}

.social-link--official,
a.social-link--official {
  background:
    none,
    rgba(12, 13, 17, 0.64) !important;
}

.hero::before,
section.hero::before {
  background:
    none,
    none,
    none !important;
}

.hero .xai-price-animation--hero,
.xai-price-animation {
  border-color: rgba(255, 240, 189, 0.34) !important;
  background:
    none,
    rgba(8, 9, 13, 0.32) !important;
  box-shadow:
    0 1px 0 rgba(255, 248, 236, 0.22) inset,
    0 26px 72px rgba(0, 0, 0, 0.34),
    0 0 48px rgba(214, 179, 114, 0.08) !important;
}

.xai-price-animation__track i {
  background: none !important;
  box-shadow: 0 0 28px rgba(255, 240, 189, 0.48) !important;
}

.button,
a.button,
.hero__actions a,
.button-row a {
  border-radius: 8px !important;
  border-color: var(--lux-line) !important;
  color: var(--lux-pearl) !important;
  background:
    none,
    rgba(11, 12, 16, 0.64) !important;
}

.button--primary,
a.button--primary {
  color: #090a0e !important;
  border-color: rgba(255, 248, 236, 0.92) !important;
  background:
    none !important;
}

main > header,
.section,
main > section:not(.hero),
.systems-codex,
.mission-loop,
.slice-board,
.cast-intel,
.playable-proof-console,
.modules,
footer {
  background:
    none,
    rgba(8, 9, 13, 0.38) !important;
}

.card,
.item,
.panel,
.tile,
.stat,
.feature,
.notice,
.route-list,
.mirror,
article,
details,
pre,
table,
.mission-card,
.game-card,
.system-card,
.route-card,
.archive-card,
.codex-card,
.codex-proof,
.mission-step,
.mission-proof,
.slice-shot,
.slice-proof,
.cast-card,
.cast-proof,
.proof-console-card,
.proof-console-route,
.xai-panel,
.bullcase-panel,
.beat,
.bullcase-main,
.bullcase-side,
.bullcase-chip {
  border-color: var(--lux-line-soft) !important;
  background:
    none,
    rgba(15, 16, 21, 0.78) !important;
  box-shadow:
    0 1px 0 rgba(255, 248, 236, 0.14) inset,
    0 28px 82px rgba(0, 0, 0, 0.32) !important;
}

h1,
h2,
h3,
.hero h1,
.hero__title {
  color: var(--lux-pearl) !important;
  text-shadow:
    0 18px 54px rgba(0, 0, 0, 0.52),
    0 0 1px rgba(255, 240, 189, 0.28);
}

p,
li,
dd,
td,
.lead,
.hero p,
.hero__copy,
.hero__line,
main > header p,
.section__summary,
.section-head p {
  color: var(--lux-muted) !important;
}

.eyebrow,
.hero__kicker span {
  border-color: rgba(255, 240, 189, 0.3) !important;
  color: var(--lux-pearl) !important;
  background:
    none,
    rgba(8, 9, 13, 0.5) !important;
}

@media (max-width: 880px) {
  .brand__mark,
  .brand-mark,
  .mark {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    min-height: 42px !important;
    border-radius: 12px !important;
  }
}

/* Premium v10: playable Web3 racer */
.web3-racer {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(340px, 1.08fr);
  gap: clamp(18px, 3vw, 38px);
  margin: clamp(24px, 4vw, 52px) 0;
  padding: clamp(18px, 3.4vw, 38px);
  overflow: hidden;
  border: 1px solid rgba(255, 240, 189, 0.26);
  border-radius: 8px;
  background:
    none,
    none,
    rgba(8, 9, 13, 0.86);
  box-shadow:
    0 1px 0 rgba(255, 248, 236, 0.16) inset,
    0 36px 110px rgba(0, 0, 0, 0.42);
}

.hero .web3-racer,
.web3-racer--hero {
  width: min(100%, 980px);
  grid-template-columns: minmax(260px, 0.86fr) minmax(320px, 1fr);
  gap: clamp(14px, 2.2vw, 24px);
  margin: 2px 0 0;
  padding: clamp(14px, 2.2vw, 22px);
  background:
    none,
    rgba(8, 9, 13, 0.72);
  backdrop-filter: blur(18px);
}

.web3-racer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    none,
    none;
  background-size: 42px 42px;
  mask-image: none;
}

.web3-racer__copy,
.web3-racer__stage {
  position: relative;
  z-index: 1;
}

.web3-racer__copy {
  align-self: center;
  display: grid;
  gap: 18px;
}

.web3-racer__copy h3 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(2.3rem, 5.2vw, 5.6rem);
  line-height: 0.92;
}

.hero .web3-racer__copy {
  gap: 12px;
}

.hero .web3-racer__copy h3 {
  max-width: 15ch;
  font-size: clamp(1.58rem, 2.5vw, 3.05rem);
  line-height: 0.96;
}

.hero .web3-racer__copy p:not(.eyebrow):not(.web3-racer__error) {
  max-width: 50ch;
  font-size: 0.88rem;
  line-height: 1.58;
}

.web3-racer__copy p {
  max-width: 62ch;
}

.web3-racer__form {
  display: grid;
  gap: 9px;
  margin-top: 6px;
}

.web3-racer__form label {
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 248, 236, 0.72);
}

.web3-racer__entry {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: stretch;
}

.web3-racer__entry input {
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(255, 248, 236, 0.2);
  border-radius: 8px;
  padding: 13px 14px;
  color: #fff8ec;
  background: rgba(0, 0, 0, 0.34);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08) inset;
}

.web3-racer__entry input:focus {
  outline: 2px solid rgba(255, 202, 100, 0.64);
  outline-offset: 2px;
}

.web3-racer__entry button {
  min-width: 138px;
  white-space: nowrap;
}

.web3-racer__error {
  min-height: 1.25em;
  margin: 0;
  color: #ff8d9c !important;
  font-size: 0.84rem;
  font-weight: 800;
}

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

.web3-racer__stats span {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 13px 12px;
  border: 1px solid rgba(255, 240, 189, 0.18);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.27);
}

.web3-racer__stats b {
  color: #fff8ec;
  font-size: clamp(1.05rem, 2vw, 1.65rem);
  line-height: 1;
}

.web3-racer__stats em {
  color: rgba(255, 248, 236, 0.56);
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.web3-racer__event {
  min-height: 1.25em;
  margin: -2px 0 0;
  color: rgba(255, 248, 236, 0.72) !important;
  font-size: 0.78rem !important;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.web3-racer__event.is-penalty {
  color: #ff8d9c !important;
  text-shadow: 0 0 18px rgba(229, 37, 65, 0.58);
}

.web3-racer__leaderboard {
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 1px solid rgba(255, 240, 189, 0.16);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.28);
}

.web3-racer__leaderboard-head,
.web3-racer__leaderboard li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}

.web3-racer__leaderboard-head {
  color: rgba(255, 248, 236, 0.62);
  font-size: 0.66rem;
  font-weight: 950;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.web3-racer__leaderboard-head b {
  grid-column: 3;
  color: #ffca64;
  font-size: 0.82rem;
}

.web3-racer__leaderboard ol {
  display: grid;
  gap: 5px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.web3-racer__leaderboard li {
  min-height: 26px;
  padding: 6px 8px;
  border: 1px solid rgba(255, 248, 236, 0.08);
  border-radius: 6px;
  color: rgba(255, 248, 236, 0.76);
  background: rgba(255, 248, 236, 0.045);
}

.web3-racer__leaderboard li.is-current {
  border-color: rgba(255, 202, 100, 0.52);
  color: #fff8ec;
  background: rgba(255, 202, 100, 0.13);
}

.web3-racer__leaderboard li span,
.web3-racer__leaderboard li em {
  color: rgba(255, 248, 236, 0.58);
  font-size: 0.7rem;
  font-style: normal;
  font-weight: 900;
}

.web3-racer__leaderboard li b {
  overflow: hidden;
  color: inherit;
  font-size: 0.78rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.web3-racer__leaderboard abbr {
  text-decoration: none;
  cursor: help;
}

.web3-racer__stage {
  min-height: 560px;
  aspect-ratio: 0.74;
  overflow: hidden;
  border: 1px solid rgba(255, 248, 236, 0.22);
  border-radius: 8px;
  background: #06070b;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.12) inset,
    0 26px 70px rgba(0, 0, 0, 0.45);
}

.hero .web3-racer__stage {
  min-height: 352px;
  max-height: min(50svh, 440px);
  aspect-ratio: 1.08;
}

.web3-racer__canvas {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 560px;
}

.hero .web3-racer__canvas {
  min-height: 352px;
}

.web3-racer__overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 8px;
  padding: 24px;
  text-align: center;
  background: none;
  transition: opacity 180ms ease, visibility 180ms ease;
}

.web3-racer__overlay.is-hidden {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.web3-racer__overlay strong {
  color: #fff8ec;
  font-size: clamp(1.3rem, 2.4vw, 2.1rem);
}

.web3-racer__overlay span {
  color: rgba(255, 248, 236, 0.66);
  font-weight: 800;
}

.web3-racer__controls {
  position: absolute;
  right: 14px;
  bottom: 14px;
  left: 14px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.web3-racer__controls button {
  min-height: 44px;
  border: 1px solid rgba(255, 248, 236, 0.22);
  border-radius: 8px;
  color: #fff8ec;
  font-weight: 950;
  background: rgba(8, 9, 13, 0.66);
  backdrop-filter: blur(12px);
  cursor: pointer;
}

.web3-racer__controls button:active {
  transform: translateY(1px);
}

.web3-racer__modal[hidden] {
  display: none !important;
}

.web3-racer__modal {
  position: fixed;
  z-index: 80;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(3, 4, 7, 0.78);
  backdrop-filter: blur(18px);
}

.web3-racer__modal-card {
  width: min(100%, 620px);
  padding: clamp(22px, 4vw, 42px);
  border: 1px solid rgba(255, 240, 189, 0.32);
  border-radius: 8px;
  background:
    none,
    #0b0c11;
  box-shadow: 0 34px 110px rgba(0, 0, 0, 0.6);
}

.web3-racer__modal-card h3 {
  margin: 10px 0 14px;
  font-size: clamp(2.05rem, 5vw, 4.6rem);
  line-height: 0.96;
}

.web3-racer__modal-card code {
  display: block;
  width: 100%;
  margin: 14px 0;
  padding: 13px 14px;
  overflow-wrap: anywhere;
  border: 1px solid rgba(255, 202, 100, 0.32);
  border-radius: 8px;
  color: #fff8ec;
  background: rgba(255, 202, 100, 0.1);
}

.web3-racer__rank {
  margin: 12px 0 !important;
  padding: 11px 12px;
  border: 1px solid rgba(255, 202, 100, 0.26);
  border-radius: 8px;
  color: #ffca64 !important;
  font-weight: 950;
  background: rgba(255, 202, 100, 0.1);
}

.web3-racer__fineprint {
  font-size: 0.86rem;
  color: rgba(255, 248, 236, 0.62) !important;
}

@media (max-width: 920px) {
  .web3-racer {
    grid-template-columns: 1fr;
  }

  .hero .web3-racer,
  .web3-racer--hero {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .web3-racer__copy h3 {
    max-width: 14ch;
  }

  .web3-racer__stage,
  .web3-racer__canvas {
    min-height: 520px;
  }

  .hero .web3-racer__stage,
  .hero .web3-racer__canvas {
    min-height: 340px;
    max-height: none;
  }
}

@media (max-width: 620px) {
  .web3-racer__entry {
    grid-template-columns: 1fr;
  }

  .web3-racer__entry button {
    min-width: 0;
  }

  .web3-racer__stats {
    grid-template-columns: 1fr;
  }

  .web3-racer__stage,
  .web3-racer__canvas {
    min-height: 460px;
  }

  .hero .web3-racer__stage,
  .hero .web3-racer__canvas {
    min-height: 320px;
  }
}

/*
  Premium v11: Apple-inspired fluid experience.
  The visual system favors clear hierarchy, physical feedback, restrained
  materials, and accessibility modes over decorative density.
*/

:root {
  --apple-font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", Helvetica, Arial, sans-serif;
  --apple-bg: #0b0b0f;
  --apple-surface: rgba(30, 30, 34, 0.72);
  --apple-surface-strong: rgba(24, 24, 28, 0.9);
  --apple-surface-light: #f5f5f7;
  --apple-card-light: rgba(255, 255, 255, 0.78);
  --apple-ink: #f5f5f7;
  --apple-ink-dark: #1d1d1f;
  --apple-muted: #a1a1a8;
  --apple-muted-dark: #6e6e73;
  --apple-blue: #64d2ff;
  --apple-blue-strong: #2997ff;
  --apple-coral: #ff6b5f;
  --apple-gold: #ffd06a;
  --apple-green: #30d158;
  --apple-line: rgba(255, 255, 255, 0.14);
  --apple-line-strong: rgba(255, 255, 255, 0.24);
  --apple-shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
  --apple-shadow-deep: 0 38px 120px rgba(0, 0, 0, 0.48);
  --apple-radius: 8px;
  --apple-max: 1180px;
}

html {
  background: var(--apple-bg);
  scroll-behavior: smooth;
  scroll-padding-top: 108px;
}

html *,
html *::before,
html *::after {
  letter-spacing: 0 !important;
}

body,
button,
input,
select,
textarea {
  font-family: var(--apple-font) !important;
  font-optical-sizing: auto;
}

body {
  color: var(--apple-ink) !important;
  background: none !important;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before,
body::after {
  content: none !important;
}

::selection {
  color: #07080a;
  background: var(--apple-blue);
}

:where(a, button, input, select, textarea):focus-visible {
  outline: 3px solid var(--apple-blue) !important;
  outline-offset: 3px !important;
}

.skip-link {
  position: fixed;
  z-index: 200;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: var(--apple-ink-dark);
  background: var(--apple-surface-light);
  border-radius: var(--apple-radius);
  transform: translateY(-180%);
  transition: transform 180ms ease-out;
}

.skip-link:focus {
  transform: translateY(0);
}

.topbar,
body > header.topbar {
  top: 12px !important;
  width: min(var(--apple-max), calc(100% - 32px)) !important;
  min-height: 66px !important;
  margin: 0 auto !important;
  overflow: visible !important;
  border: 1px solid var(--apple-line) !important;
  border-radius: var(--apple-radius) !important;
  background: rgba(24, 24, 28, 0.68) !important;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.12) inset, 0 14px 50px rgba(0, 0, 0, 0.2) !important;
  backdrop-filter: blur(24px) saturate(145%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(145%) !important;
  transition: background-color 260ms ease-out, box-shadow 260ms ease-out, transform 260ms ease-out !important;
}

.topbar.is-scrolled,
body > header.topbar.is-scrolled {
  background: rgba(20, 20, 24, 0.88) !important;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.14) inset, 0 20px 64px rgba(0, 0, 0, 0.34) !important;
}

.topbar__inner {
  width: 100% !important;
  min-height: 64px !important;
  padding: 0 14px !important;
  gap: 24px !important;
}

.brand,
.logo,
.wordmark {
  gap: 10px !important;
}

.brand__mark,
.brand-mark,
.mark {
  width: 38px !important;
  height: 38px !important;
  min-width: 38px !important;
  min-height: 38px !important;
  border-radius: var(--apple-radius) !important;
  border-color: rgba(255, 255, 255, 0.24) !important;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.22) inset, 0 8px 22px rgba(0, 0, 0, 0.28) !important;
}

.brand__name strong,
.brand strong,
.wordmark strong {
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  line-height: 1.05 !important;
  text-transform: none !important;
  text-shadow: none !important;
}

.brand__name span,
.brand span:not(.brand__mark):not(.brand-mark):not(.mark) {
  margin-top: 3px !important;
  color: rgba(245, 245, 247, 0.58) !important;
  font-size: 0.66rem !important;
  font-weight: 600 !important;
  text-transform: none !important;
}

.topbar__right,
.nav,
nav.nav {
  gap: 4px !important;
}

.nav a,
nav a,
.topbar a:not(.brand):not(.social-link) {
  min-height: 36px !important;
  padding: 9px 10px !important;
  border: 0 !important;
  border-radius: 7px !important;
  color: rgba(245, 245, 247, 0.7) !important;
  background: transparent !important;
  font-size: 0.75rem !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  text-transform: none !important;
  transition: color 160ms ease-out, background-color 160ms ease-out, transform 100ms ease-out !important;
}

.nav a:hover,
nav.nav a:hover,
.topbar a:not(.brand):not(.social-link):hover {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.08) !important;
}

.nav a:active,
.topbar a:not(.brand):active {
  transform: scale(0.97);
}

.social-links--top {
  gap: 6px !important;
}

.social-links--top .social-link:not(.social-link--official) {
  display: none !important;
}

.social-link,
a.social-link,
.social-link--official,
a.social-link--official {
  min-height: 36px !important;
  padding: 9px 12px !important;
  border: 1px solid var(--apple-line) !important;
  border-radius: 7px !important;
  color: rgba(245, 245, 247, 0.88) !important;
  background: rgba(255, 255, 255, 0.07) !important;
  box-shadow: none !important;
  font-size: 0.72rem !important;
  font-weight: 650 !important;
  text-transform: none !important;
  transition: color 160ms ease-out, background-color 160ms ease-out, transform 100ms ease-out !important;
}

.social-link:hover,
a.social-link:hover {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.13) !important;
}

.social-link:active,
a.social-link:active {
  transform: scale(0.97);
}

.button,
a.button,
button.button,
.hero__actions a,
.button-row a {
  min-height: 44px !important;
  padding: 12px 18px !important;
  border: 1px solid var(--apple-line-strong) !important;
  border-radius: var(--apple-radius) !important;
  color: var(--apple-ink) !important;
  background: rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1) inset !important;
  font-size: 0.88rem !important;
  font-weight: 650 !important;
  line-height: 1 !important;
  text-transform: none !important;
  transition: transform 100ms ease-out, background-color 180ms ease-out, border-color 180ms ease-out, box-shadow 180ms ease-out !important;
}

.button:hover,
a.button:hover,
button.button:hover {
  border-color: rgba(255, 255, 255, 0.34) !important;
  background: rgba(255, 255, 255, 0.13) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2) !important;
}

.button:active,
a.button:active,
button.button:active {
  transform: scale(0.97) !important;
}

.button--primary,
a.button--primary,
button.button--primary {
  color: #151517 !important;
  border-color: rgba(255, 255, 255, 0.92) !important;
  background: #f5f5f7 !important;
  box-shadow: 0 1px 0 #fff inset, 0 10px 30px rgba(0, 0, 0, 0.22) !important;
}

.button--primary:hover,
a.button--primary:hover,
button.button--primary:hover {
  color: #000 !important;
  background: #fff !important;
}

h1,
h2,
h3,
h4,
.hero h1,
.hero__title,
.section h2 {
  font-family: var(--apple-font) !important;
  font-optical-sizing: auto;
  text-transform: none !important;
  text-shadow: none !important;
  text-wrap: balance;
}

.apple-experience .site-shell {
  overflow: clip;
}

.apple-experience .hero--home,
.apple-experience section.hero--home {
  min-height: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: 0 !important;
  border-radius: 0 !important;
  background:
    none,
    none,
    url("/assets/hero-backdoor-noir-v3.png") 58% top / cover no-repeat !important;
  box-shadow: none !important;
  animation: none !important;
}

.apple-experience .hero--home::before,
.apple-experience .hero--home::after {
  content: none !important;
  animation: none !important;
}

.apple-experience .hero--home .hero__inner {
  position: relative;
  z-index: 1;
  width: min(var(--apple-max), calc(100% - 40px)) !important;
  min-height: 0 !important;
  margin: 0 auto !important;
  padding: 132px 0 96px !important;
  display: grid !important;
  grid-template-columns: minmax(0, 680px) minmax(220px, 1fr);
  grid-template-rows: repeat(7, auto);
  column-gap: 48px;
  row-gap: 0;
  align-content: start;
}

.apple-experience .hero--home .hero__kicker {
  grid-column: 1;
  grid-row: 1;
  display: block !important;
  width: fit-content;
  margin: 0 0 22px !important;
}

.apple-experience .hero--home .hero__kicker span {
  display: inline !important;
  padding: 0 !important;
  border: 0 !important;
  color: rgba(245, 245, 247, 0.78) !important;
  background: transparent !important;
  box-shadow: none !important;
  font-size: 0.86rem !important;
  font-weight: 650 !important;
  line-height: 1.4 !important;
  text-transform: none !important;
}

.apple-experience .hero--home h1 {
  grid-column: 1;
  grid-row: 2;
  max-width: 9ch !important;
  margin: 0 !important;
  color: #fff !important;
  font-size: 6.25rem !important;
  font-weight: 740 !important;
  line-height: 0.94 !important;
}

.apple-experience .hero--home .hero__line {
  grid-column: 1;
  grid-row: 3;
  max-width: 32ch !important;
  margin: 28px 0 0 !important;
  color: rgba(255, 255, 255, 0.94) !important;
  font-size: 1.42rem !important;
  font-weight: 620 !important;
  line-height: 1.35 !important;
}

.apple-experience .hero--home .hero__copy {
  grid-column: 1;
  grid-row: 4;
  max-width: 54ch !important;
  margin: 18px 0 0 !important;
  color: rgba(245, 245, 247, 0.7) !important;
  font-size: 1.02rem !important;
  line-height: 1.65 !important;
}

.apple-experience .hero--home .xai-price-animation--hero {
  position: relative !important;
  inset: auto !important;
  grid-column: 1;
  grid-row: 5;
  width: min(100%, 390px) !important;
  min-height: 0 !important;
  margin: 30px 0 0 !important;
  padding: 13px 15px 12px !important;
  border: 1px solid var(--apple-line) !important;
  border-radius: var(--apple-radius) !important;
  background: rgba(25, 25, 30, 0.62) !important;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.12) inset, 0 18px 60px rgba(0, 0, 0, 0.24) !important;
  backdrop-filter: blur(22px) saturate(140%) !important;
  -webkit-backdrop-filter: blur(22px) saturate(140%) !important;
}

.apple-experience .hero--home .xai-price-animation__topline {
  display: grid !important;
  grid-template-columns: auto auto 1fr;
  gap: 10px;
  align-items: baseline;
}

.apple-experience .hero--home .xai-price-animation__topline span,
.apple-experience .hero--home .xai-price-animation__topline em {
  color: rgba(245, 245, 247, 0.62) !important;
  font-size: 0.72rem !important;
  font-style: normal !important;
  font-weight: 650 !important;
  text-transform: none !important;
}

.apple-experience .hero--home .xai-price-animation__topline strong {
  color: #fff !important;
  font-size: 1.38rem !important;
  font-weight: 720 !important;
  line-height: 1 !important;
}

.apple-experience .hero--home .xai-price-animation__topline em {
  justify-self: end;
}

.apple-experience .hero--home .xai-price-animation__track {
  height: 3px !important;
  margin-top: 11px !important;
  overflow: hidden;
  border: 0 !important;
  border-radius: 3px !important;
  background: rgba(255, 255, 255, 0.14) !important;
}

.apple-experience .hero--home .xai-price-animation__track i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: none !important;
  box-shadow: none !important;
}

.apple-experience .hero--home .xai-price-animation__points {
  display: none !important;
}

.apple-experience .hero--home .hero__inner > .hero__actions {
  grid-column: 1;
  grid-row: 6;
  margin: 18px 0 0 !important;
  gap: 10px !important;
}

.apple-experience .hero--home .web3-racer--hero {
  grid-column: 1 / -1;
  grid-row: 7;
  width: 100% !important;
  margin: 48px 0 0 !important;
  padding: 26px !important;
  gap: 28px !important;
  grid-template-columns: minmax(300px, 0.82fr) minmax(420px, 1.18fr) !important;
  overflow: hidden;
  border: 1px solid var(--apple-line) !important;
  border-radius: var(--apple-radius) !important;
  background: rgba(20, 20, 25, 0.76) !important;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.12) inset, var(--apple-shadow-deep) !important;
  backdrop-filter: blur(28px) saturate(135%) !important;
  -webkit-backdrop-filter: blur(28px) saturate(135%) !important;
}

.apple-experience .web3-racer::before {
  background: none !important;
  mask-image: none !important;
}

.apple-experience .web3-racer__copy {
  align-self: stretch !important;
  align-content: start;
  gap: 13px !important;
}

.apple-experience .web3-racer__copy .eyebrow,
.apple-experience .eyebrow {
  width: fit-content;
  margin: 0 0 10px !important;
  padding: 0 !important;
  border: 0 !important;
  color: var(--apple-blue) !important;
  background: transparent !important;
  box-shadow: none !important;
  font-size: 0.78rem !important;
  font-weight: 680 !important;
  line-height: 1.3 !important;
  text-transform: none !important;
}

.apple-experience .hero .web3-racer__copy h3 {
  max-width: 14ch !important;
  color: #fff !important;
  font-size: 2.15rem !important;
  font-weight: 700 !important;
  line-height: 1.05 !important;
}

.apple-experience .hero .web3-racer__copy p:not(.eyebrow):not(.web3-racer__error) {
  color: rgba(245, 245, 247, 0.66) !important;
  font-size: 0.88rem !important;
  line-height: 1.55 !important;
}

.apple-experience .web3-racer__form label {
  color: rgba(245, 245, 247, 0.58) !important;
  font-size: 0.72rem !important;
  font-weight: 650 !important;
  text-transform: none !important;
}

.apple-experience .web3-racer__entry input {
  min-height: 46px;
  border-color: rgba(255, 255, 255, 0.16) !important;
  color: #fff !important;
  background: rgba(0, 0, 0, 0.28) !important;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.07) inset !important;
  transition: border-color 160ms ease-out, background-color 160ms ease-out, box-shadow 160ms ease-out !important;
}

.apple-experience .web3-racer__entry input:focus {
  outline: 0 !important;
  border-color: var(--apple-blue) !important;
  background: rgba(0, 0, 0, 0.38) !important;
  box-shadow: 0 0 0 3px rgba(100, 210, 255, 0.18) !important;
}

.apple-experience .web3-racer__stats {
  gap: 8px !important;
}

.apple-experience .web3-racer__stats span,
.apple-experience .web3-racer__leaderboard,
.apple-experience .web3-racer__leaderboard li {
  border-color: rgba(255, 255, 255, 0.1) !important;
  background: rgba(255, 255, 255, 0.045) !important;
  box-shadow: none !important;
}

.apple-experience .web3-racer__stats b {
  font-weight: 700 !important;
}

.apple-experience .web3-racer__stats em,
.apple-experience .web3-racer__event,
.apple-experience .web3-racer__leaderboard-head {
  color: rgba(245, 245, 247, 0.52) !important;
  font-weight: 650 !important;
  text-transform: none !important;
}

.apple-experience .web3-racer__leaderboard li.is-current {
  border-color: rgba(100, 210, 255, 0.42) !important;
  background: rgba(100, 210, 255, 0.1) !important;
}

.apple-experience .hero .web3-racer__stage,
.apple-experience .hero .web3-racer__canvas {
  min-height: 430px !important;
  max-height: none !important;
}

.apple-experience .hero .web3-racer__stage {
  aspect-ratio: 1.1 !important;
  border-color: rgba(255, 255, 255, 0.16) !important;
  background: #06070a !important;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08) inset, 0 26px 70px rgba(0, 0, 0, 0.38) !important;
}

.apple-experience .web3-racer__overlay {
  background: rgba(7, 8, 11, 0.7) !important;
  backdrop-filter: blur(8px);
  transition: opacity 180ms ease-out, visibility 180ms ease-out !important;
}

.apple-experience .web3-racer__controls button {
  min-height: 46px;
  border-color: rgba(255, 255, 255, 0.16) !important;
  color: #fff !important;
  background: rgba(25, 25, 30, 0.68) !important;
  font-weight: 650 !important;
  transition: transform 100ms ease-out, background-color 160ms ease-out !important;
}

.apple-experience .web3-racer__controls button:active {
  transform: scale(0.97) !important;
  background: rgba(255, 255, 255, 0.15) !important;
}

.apple-experience .web3-racer__modal {
  background: rgba(5, 5, 8, 0.7) !important;
  backdrop-filter: blur(24px) saturate(120%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(120%) !important;
}

.apple-experience .web3-racer__modal-card {
  border-color: var(--apple-line) !important;
  background: rgba(28, 28, 32, 0.92) !important;
  box-shadow: var(--apple-shadow-deep) !important;
}

.apple-experience .web3-racer__modal:not([hidden]) .web3-racer__modal-card {
  animation: appleMaterialize 320ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes appleMaterialize {
  from { opacity: 0; transform: scale(0.96) translateY(10px); filter: blur(8px); }
  to { opacity: 1; transform: scale(1) translateY(0); filter: blur(0); }
}

.apple-experience .signal-strip {
  width: min(1040px, calc(100% - 32px)) !important;
  margin: -44px auto 92px !important;
  padding: 0 !important;
  overflow: hidden;
  border: 1px solid var(--apple-line) !important;
  border-radius: var(--apple-radius) !important;
  background: rgba(26, 26, 30, 0.76) !important;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1) inset, var(--apple-shadow) !important;
  backdrop-filter: blur(24px) saturate(140%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(140%) !important;
}

.apple-experience .signal-strip > div {
  min-height: 92px !important;
  padding: 20px 22px !important;
  border-color: rgba(255, 255, 255, 0.09) !important;
  background: transparent !important;
}

.apple-experience .signal-strip strong {
  font-size: 1rem !important;
  font-weight: 690 !important;
  text-transform: none !important;
}

.apple-experience .signal-strip span {
  color: rgba(245, 245, 247, 0.56) !important;
  font-size: 0.76rem !important;
  line-height: 1.35 !important;
  text-transform: none !important;
}

.apple-experience main > section.section,
.apple-experience .section {
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.apple-experience .section__inner {
  width: min(var(--apple-max), 100%) !important;
  margin: 0 auto !important;
  padding: 112px 24px !important;
}

.apple-experience main > .section--steel {
  background:
    none !important;
}

.apple-experience main > #gameplay {
  color: var(--apple-ink) !important;
  background:
    none !important;
}

.apple-experience main > .section--redline {
  background:
    none !important;
}

.apple-experience main > #xai {
  background:
    none !important;
}

.apple-experience main > .section--bull {
  background:
    none !important;
}

.apple-experience main > #archive {
  color: var(--apple-ink) !important;
  background:
    none !important;
}

.apple-experience .section__head {
  grid-template-columns: minmax(0, 0.92fr) minmax(280px, 0.5fr) !important;
  gap: 56px !important;
  align-items: end !important;
  margin-bottom: 48px !important;
}

.apple-experience .section h2,
.apple-experience .xai-panel h2 {
  max-width: 15ch;
  color: #f5f5f7 !important;
  font-size: 3.65rem !important;
  font-weight: 720 !important;
  line-height: 1.02 !important;
}

.apple-experience .section__summary,
.apple-experience .section p {
  color: rgba(245, 245, 247, 0.64) !important;
}

.apple-experience .section__summary {
  max-width: 46ch;
  font-size: 1.02rem !important;
  line-height: 1.62 !important;
}

.apple-experience #gameplay h2,
.apple-experience #archive h2 {
  color: #f5f5f7 !important;
}

.apple-experience #gameplay .section__summary,
.apple-experience #gameplay p,
.apple-experience #archive .section__summary,
.apple-experience #archive p {
  color: rgba(245, 245, 247, 0.66) !important;
}

.apple-experience #gameplay .eyebrow,
.apple-experience #archive .eyebrow {
  color: var(--apple-blue) !important;
}

.apple-experience .mission-grid {
  gap: 18px !important;
}

.apple-experience .mission-card {
  grid-template-rows: 280px auto !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
  background: #1a1b20 !important;
  box-shadow: 0 16px 54px rgba(0, 0, 0, 0.18) !important;
}

.apple-experience .mission-card__image {
  border-color: rgba(255, 255, 255, 0.08) !important;
  transition: transform 700ms cubic-bezier(0.16, 1, 0.3, 1), filter 500ms ease-out !important;
}

.apple-experience .mission-card__body {
  padding: 28px !important;
  gap: 12px !important;
}

.apple-experience .mission-card__body span {
  color: var(--apple-blue) !important;
  font-size: 0.74rem !important;
  font-weight: 680 !important;
  text-transform: none !important;
}

.apple-experience .mission-card__body h3,
.apple-experience .system-card h3,
.apple-experience .archive-card h3 {
  font-size: 1.35rem !important;
  font-weight: 690 !important;
  line-height: 1.16 !important;
}

.apple-experience .mission-card__body p,
.apple-experience .system-card p,
.apple-experience .archive-card p {
  font-size: 0.94rem !important;
  line-height: 1.62 !important;
}

.apple-experience .systems {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 16px !important;
}

.apple-experience .system-card {
  min-height: 220px !important;
  padding: 30px !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
  background:
    none,
    rgba(18, 21, 28, 0.9) !important;
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.22), 0 1px 0 rgba(255, 255, 255, 0.08) inset !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
}

.apple-experience .system-card::before {
  width: 30px !important;
  height: 3px !important;
  border-radius: 3px;
}

.apple-experience .system-card h3 {
  color: #f5f5f7 !important;
}

.apple-experience .world {
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.68fr) !important;
  gap: 18px !important;
}

.apple-experience .world__poster {
  min-height: 660px !important;
  border-color: var(--apple-line) !important;
  background:
    none,
    url("/assets/world-night-crew-v1.webp") center / cover no-repeat !important;
  box-shadow: var(--apple-shadow) !important;
}

.apple-experience .world__poster div {
  padding: 36px !important;
}

.apple-experience .world__poster h3 {
  max-width: 15ch !important;
  color: #fff !important;
  font-size: 2.6rem !important;
  font-weight: 710 !important;
  line-height: 1.04 !important;
  text-transform: none !important;
}

.apple-experience .world__poster p {
  color: rgba(245, 245, 247, 0.7) !important;
}

.apple-experience .world__beats {
  gap: 12px !important;
}

.apple-experience .beat {
  min-height: 156px !important;
  padding: 24px !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
  background: rgba(255, 255, 255, 0.055) !important;
  box-shadow: none !important;
}

.apple-experience .beat strong {
  color: #f5f5f7 !important;
  font-size: 0.96rem !important;
  font-weight: 680 !important;
  text-transform: none !important;
}

.apple-experience .xai-panel {
  padding: 44px !important;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.46fr) !important;
  gap: 52px !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  background: rgba(255, 255, 255, 0.055) !important;
  box-shadow: var(--apple-shadow) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
}

.apple-experience .xai-panel p {
  max-width: 64ch;
  color: rgba(245, 245, 247, 0.66) !important;
  font-size: 1rem !important;
  line-height: 1.66 !important;
}

.apple-experience .xai-list li {
  min-height: 44px;
  padding: 12px 14px !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: rgba(245, 245, 247, 0.8) !important;
  background: transparent !important;
  font-size: 0.82rem !important;
  font-weight: 620 !important;
  text-transform: none !important;
}

.apple-experience .bullcase-panel {
  gap: 16px !important;
}

.apple-experience .bullcase-main,
.apple-experience .bullcase-side {
  border-color: rgba(255, 255, 255, 0.1) !important;
  background: rgba(255, 255, 255, 0.055) !important;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.2) !important;
}

.apple-experience .bullcase-main {
  padding: 38px !important;
  background: none !important;
}

.apple-experience .bullcase-side {
  padding: 30px !important;
}

.apple-experience .bullcase-lockup strong {
  color: #fff !important;
  font-size: 6.8rem !important;
  font-weight: 760 !important;
  line-height: 0.9 !important;
  text-transform: none !important;
  text-shadow: none !important;
}

.apple-experience .bullcase-lockup span {
  color: var(--apple-gold) !important;
  font-weight: 680 !important;
  text-transform: none !important;
}

.apple-experience .bullcase-copy {
  color: rgba(255, 255, 255, 0.88) !important;
  font-size: 1.12rem !important;
  font-weight: 620 !important;
  line-height: 1.58 !important;
}

.apple-experience .bullcase-note,
.apple-experience .bullcase-side p {
  color: rgba(245, 245, 247, 0.62) !important;
}

.apple-experience .bullcase-grid {
  gap: 8px !important;
}

.apple-experience .bullcase-chip {
  min-height: 130px !important;
  padding: 16px !important;
  border-color: rgba(255, 255, 255, 0.09) !important;
  background: rgba(0, 0, 0, 0.16) !important;
  box-shadow: none !important;
}

.apple-experience .bullcase-chip b {
  color: #fff !important;
  text-transform: none !important;
}

.apple-experience .archive-grid {
  gap: 16px !important;
}

.apple-experience .archive-card {
  min-height: 230px !important;
  padding: 28px !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
  background:
    none,
    rgba(17, 20, 27, 0.9) !important;
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.22), 0 1px 0 rgba(255, 255, 255, 0.07) inset !important;
}

.apple-experience .archive-card span {
  color: var(--apple-blue) !important;
  font-size: 0.76rem !important;
  font-weight: 650 !important;
  text-transform: none !important;
}

.apple-experience .archive-card h3 {
  color: #f5f5f7 !important;
}

.apple-experience .finale {
  min-height: 620px !important;
  padding: 0 !important;
  background:
    none,
    none,
    url("/assets/art-episode-smoke-v2.png") center / cover no-repeat !important;
}

.apple-experience .finale__inner {
  width: min(var(--apple-max), calc(100% - 40px)) !important;
  min-height: 620px !important;
  margin: 0 auto !important;
  padding: 112px 0 !important;
  display: grid;
  align-content: center;
}

.apple-experience .finale h2 {
  max-width: 14ch !important;
  color: #fff !important;
  font-size: 4.4rem !important;
  font-weight: 730 !important;
  line-height: 1 !important;
}

.apple-experience .finale p:not(.eyebrow) {
  max-width: 56ch !important;
  color: rgba(245, 245, 247, 0.72) !important;
  font-size: 1.02rem !important;
  line-height: 1.65 !important;
}

.apple-experience .footer,
.apple-experience footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  background: #08090c !important;
}

.apple-experience .footer__inner {
  padding-top: 24px !important;
  padding-bottom: 24px !important;
}

@media (hover: hover) and (pointer: fine) {
  .apple-experience :where(.mission-card, .system-card, .archive-card, .beat) {
    transition: transform 420ms cubic-bezier(0.16, 1, 0.3, 1), border-color 240ms ease-out, box-shadow 420ms ease-out !important;
  }

  .apple-experience :where(.mission-card, .system-card, .archive-card, .beat):hover {
    transform: translateY(-6px);
    border-color: rgba(100, 210, 255, 0.26) !important;
  }

  .apple-experience .mission-card:hover .mission-card__image {
    transform: scale(1.025);
    filter: saturate(1.08) contrast(1.03);
  }
}

.apple-experience :where(.mission-card, .system-card, .archive-card, .beat):active {
  transform: scale(0.985);
  transition-duration: 100ms !important;
}

.apple-motion-ready .apple-experience [data-apple-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 520ms ease-out, transform 620ms cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--apple-reveal-delay, 0ms);
  will-change: opacity, transform;
}

.apple-motion-ready .apple-experience [data-apple-reveal].is-revealed {
  opacity: 1;
  transform: translateY(0);
  will-change: auto;
}

@media (max-width: 1180px) {
  .apple-experience .hero--home h1 {
    font-size: 5.25rem !important;
  }

  .apple-experience .hero--home .hero__inner {
    grid-template-columns: minmax(0, 620px) minmax(160px, 1fr);
  }

  .apple-experience .section h2,
  .apple-experience .xai-panel h2 {
    font-size: 3.2rem !important;
  }
}

@media (max-width: 920px) {
  .topbar__inner {
    gap: 12px !important;
  }

  .nav a,
  nav a,
  .topbar a:not(.brand):not(.social-link) {
    padding-inline: 8px !important;
  }

  .apple-experience .hero--home .hero__inner {
    grid-template-columns: minmax(0, 1fr) 180px;
  }

  .apple-experience .hero--home .web3-racer--hero {
    grid-template-columns: 1fr !important;
  }

  .apple-experience .hero .web3-racer__stage,
  .apple-experience .hero .web3-racer__canvas {
    min-height: 390px !important;
  }

  .apple-experience .section__head,
  .apple-experience .xai-panel,
  .apple-experience .bullcase-panel,
  .apple-experience .world {
    grid-template-columns: 1fr !important;
  }

  .apple-experience .section__head {
    gap: 24px !important;
  }

  .apple-experience .mission-grid,
  .apple-experience .archive-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .apple-experience .mission-card:last-child,
  .apple-experience .archive-card:last-child {
    grid-column: 1 / -1;
  }

  .apple-experience .world__poster {
    min-height: 600px !important;
  }

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

@media (max-width: 760px) {
  html {
    scroll-padding-top: 126px;
  }

  .topbar,
  body > header.topbar {
    top: 8px !important;
    width: calc(100% - 20px) !important;
    min-height: 0 !important;
  }

  .topbar__inner {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 8px !important;
    min-height: 0 !important;
    padding: 9px 10px 8px !important;
  }

  .brand {
    width: fit-content;
  }

  .brand__mark,
  .brand-mark,
  .mark {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    min-height: 34px !important;
  }

  .brand__name > span {
    display: none !important;
  }

  .brand__name {
    display: grid !important;
  }

  .topbar__right {
    display: block !important;
    width: 100% !important;
    min-width: 0;
  }

  header.topbar nav.nav,
  header.topbar .nav,
  body > header.topbar nav.nav {
    display: flex !important;
    width: 100%;
    gap: 2px !important;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
  }

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

  .nav a,
  nav.nav a,
  .topbar a:not(.brand):not(.social-link) {
    flex: 0 0 auto;
    min-height: 32px !important;
    padding: 8px 9px !important;
    font-size: 0.72rem !important;
  }

  header.topbar .social-links--top,
  body > header.topbar .social-links--top {
    display: none !important;
  }

  .apple-experience .hero--home,
  .apple-experience section.hero--home {
    background:
      none,
      none,
      url("/assets/hero-backdoor-noir-v3.png") 58% top / auto 920px no-repeat,
      #0b0b0f !important;
  }

  .apple-experience .hero--home .hero__inner {
    width: min(100% - 32px, 680px) !important;
    padding: 158px 0 72px !important;
    grid-template-columns: 1fr !important;
  }

  .apple-experience .hero--home h1 {
    font-size: 3.8rem !important;
    line-height: 0.96 !important;
  }

  .apple-experience .hero--home .hero__line {
    margin-top: 22px !important;
    font-size: 1.18rem !important;
  }

  .apple-experience .hero--home .hero__copy {
    font-size: 0.96rem !important;
  }

  .apple-experience .hero--home .xai-price-animation--hero {
    width: 100% !important;
    margin-top: 24px !important;
  }

  .apple-experience .hero--home .web3-racer--hero {
    margin-top: 42px !important;
    padding: 16px !important;
    gap: 20px !important;
  }

  .apple-experience .hero .web3-racer__copy h3 {
    font-size: 1.85rem !important;
  }

  .apple-experience .web3-racer__stats {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .apple-experience .hero .web3-racer__stage,
  .apple-experience .hero .web3-racer__canvas {
    min-height: 320px !important;
  }

  .apple-experience .signal-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    margin: -28px auto 64px !important;
  }

  .apple-experience .signal-strip > div {
    min-height: 84px !important;
    padding: 17px !important;
  }

  .apple-experience .section__inner {
    padding: 82px 18px !important;
  }

  .apple-experience .section h2,
  .apple-experience .xai-panel h2 {
    font-size: 2.65rem !important;
  }

  .apple-experience .mission-grid,
  .apple-experience .archive-grid,
  .apple-experience .systems,
  .apple-experience .world__beats {
    grid-template-columns: 1fr !important;
  }

  .apple-experience .mission-card:last-child,
  .apple-experience .archive-card:last-child {
    grid-column: auto;
  }

  .apple-experience .mission-card {
    grid-template-rows: 250px auto !important;
  }

  .apple-experience .world__poster {
    min-height: 560px !important;
  }

  .apple-experience .world__poster div,
  .apple-experience .xai-panel,
  .apple-experience .bullcase-main,
  .apple-experience .bullcase-side {
    padding: 26px !important;
  }

  .apple-experience .world__poster h3 {
    font-size: 2.15rem !important;
  }

  .apple-experience .bullcase-grid {
    grid-template-columns: 1fr !important;
  }

  .apple-experience .bullcase-lockup strong {
    font-size: 4.8rem !important;
  }

  .apple-experience .finale,
  .apple-experience .finale__inner {
    min-height: 560px !important;
  }

  .apple-experience .finale__inner {
    width: calc(100% - 36px) !important;
    padding: 84px 0 !important;
  }

  .apple-experience .finale h2 {
    font-size: 3rem !important;
  }
}

@media (max-width: 430px) {
  .apple-experience .hero--home h1 {
    font-size: 3.15rem !important;
  }

  .apple-experience .hero--home .hero__kicker span {
    font-size: 0.79rem !important;
  }

  .apple-experience .hero--home .xai-price-animation__topline {
    grid-template-columns: auto auto;
  }

  .apple-experience .hero--home .xai-price-animation__topline em {
    display: none !important;
  }

  .apple-experience .web3-racer__entry {
    grid-template-columns: 1fr !important;
  }

  .apple-experience .web3-racer__entry button {
    width: 100%;
  }

  .apple-experience .hero .web3-racer__stage,
  .apple-experience .hero .web3-racer__canvas {
    min-height: 286px !important;
  }

  .apple-experience .section h2,
  .apple-experience .xai-panel h2 {
    font-size: 2.35rem !important;
  }

  .apple-experience .mission-card {
    grid-template-rows: 220px auto !important;
  }

  .apple-experience .world__poster {
    min-height: 500px !important;
  }

  .apple-experience .bullcase-lockup strong {
    font-size: 4rem !important;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .apple-motion-ready .apple-experience [data-apple-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .topbar,
  body > header.topbar,
  .apple-experience .xai-price-animation--hero,
  .apple-experience .web3-racer--hero,
  .apple-experience .signal-strip,
  .apple-experience .web3-racer__modal,
  .apple-experience .web3-racer__modal-card {
    background: #1c1c20 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
}

@media (prefers-contrast: more) {
  .topbar,
  body > header.topbar,
  .apple-experience .xai-price-animation--hero,
  .apple-experience .web3-racer--hero,
  .apple-experience .signal-strip,
  .apple-experience :where(.mission-card, .system-card, .archive-card, .beat, .xai-panel, .bullcase-main, .bullcase-side) {
    border-color: currentColor !important;
  }

  .apple-experience p,
  .apple-experience .section__summary {
    color: currentColor !important;
  }
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .topbar,
  body > header.topbar,
  .apple-experience .xai-price-animation--hero,
  .apple-experience .web3-racer--hero,
  .apple-experience .signal-strip {
    background: rgba(24, 24, 28, 0.96) !important;
  }
}

/* Hero cinematic stage v2 */
.apple-experience .hero--home,
.apple-experience section.hero--home {
  background:
    none,
    none,
    url("/assets/scene/backdoor-stage-v1.png") center top / cover no-repeat !important;
}

.apple-experience .hero--home .hero__inner > :not(.hero-stage3d) {
  position: relative;
  z-index: 3;
}

.hero-stage3d {
  --scene-fade: 0;
  position: absolute;
  z-index: 2;
  top: 0;
  right: calc((100vw - 100%) / -2);
  left: 38%;
  width: auto;
  height: 780px;
  overflow: hidden;
  transform: none;
  pointer-events: none;
  isolation: isolate;
}

.hero-stage3d__canvas,
.hero-stage3d__fallback,
.hero-stage3d__fade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-stage3d__canvas {
  z-index: 1;
  display: block;
  opacity: 0;
  filter: saturate(1.04) contrast(1.035);
  mask-image: none;
  -webkit-mask-image: none;
  transition: opacity 420ms ease-out;
}

.hero-stage3d.is-ready .hero-stage3d__canvas {
  opacity: calc(1 - var(--scene-fade));
}

.hero-stage3d__fallback {
  z-index: 1;
  display: block;
  opacity: 1;
  isolation: isolate;
  background:
    none,
    url("/assets/cinematic/scene-01-smoke-v3.webp") 70% center / cover no-repeat;
  mask-image: none;
  -webkit-mask-image: none;
  transition: opacity 420ms ease-out;
}

.hero-stage3d__fallback-frame {
  position: absolute;
  z-index: 1;
  inset: 0;
  opacity: 0;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  transform: scale(1.008);
  transition:
    opacity 720ms ease-out,
    transform var(--fallback-shot-duration, 3s) linear;
  will-change: opacity, transform;
}

.hero-stage3d__fallback-frame.is-active {
  z-index: 2;
  opacity: 1;
  transform: scale(1.024);
}

.hero-stage3d__fallback-frame.is-immediate,
.hero-stage3d.is-reduced-motion .hero-stage3d__fallback-frame {
  transition: none;
  transform: none;
}

.hero-stage3d.is-ready:not(.is-fallback) .hero-stage3d__fallback {
  opacity: 0;
}

.hero-stage3d.is-fallback .hero-stage3d__canvas {
  display: none;
}

.hero-stage3d.is-fallback .hero-stage3d__fallback {
  display: block;
  opacity: 1;
}

.hero-stage3d__fade {
  z-index: 2;
  background: #08090c;
  opacity: var(--scene-fade);
  pointer-events: none;
  mask-image: none;
  -webkit-mask-image: none;
}

.hero-stage3d__hud {
  position: absolute;
  z-index: 4;
  top: 138px;
  right: max(28px, calc((100vw - var(--apple-max)) / 2 + 20px));
  display: grid;
  gap: 7px;
  max-width: 290px;
  padding-left: 14px;
  border-left: 2px solid rgba(100, 210, 255, 0.78);
  color: #fff;
  text-align: left;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.9);
}

.hero-stage3d__hud span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.68rem;
  font-weight: 720;
  letter-spacing: 0;
  line-height: 1.2;
  text-transform: uppercase;
}

.hero-stage3d__hud strong {
  color: #fff;
  font-size: 1rem;
  font-weight: 680;
  letter-spacing: 0;
  line-height: 1.3;
}

.hero-stage3d__timeline {
  position: absolute;
  z-index: 4;
  top: 198px;
  right: max(28px, calc((100vw - var(--apple-max)) / 2 + 20px));
  display: grid;
  grid-template-columns: repeat(6, minmax(18px, 34px));
  gap: 5px;
}

.hero-stage3d__timeline i {
  display: block;
  width: 100%;
  height: 2px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.24);
  transition: background-color 180ms ease, transform 180ms ease;
}

.hero-stage3d__timeline i.is-active {
  background: #fff;
  transform: scaleY(2);
}

.hero-stage3d__actions {
  position: absolute;
  z-index: 4;
  top: 604px;
  right: max(28px, calc((100vw - var(--apple-max)) / 2 + 20px));
  display: flex;
  align-items: center;
  gap: 16px;
  pointer-events: auto;
}

.hero-stage3d__actions .button {
  min-height: 44px !important;
  padding: 11px 18px !important;
  border-radius: 8px !important;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.34) !important;
}

.hero-stage3d__replay {
  min-height: 40px;
  padding: 8px 0;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 0;
  color: rgba(255, 255, 255, 0.78);
  background: transparent;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: 0;
  cursor: pointer;
  text-shadow: 0 2px 16px #000;
}

.hero-stage3d__replay:hover,
.hero-stage3d__replay:focus-visible {
  border-color: #fff;
  color: #fff;
}

@media (max-width: 1180px) {
  .hero-stage3d__hud,
  .hero-stage3d__timeline,
  .hero-stage3d__actions {
    right: 24px;
  }
}

@media (max-width: 760px) {
  .apple-experience .hero--home,
  .apple-experience section.hero--home {
    background:
      none,
      url("/assets/scene/backdoor-stage-v1.png") 54% top / auto 760px no-repeat,
      #0b0b0f !important;
  }

  .apple-experience .hero--home .hero__inner {
    padding-top: 128px !important;
    grid-template-rows: repeat(8, auto) !important;
  }

  .apple-experience .hero--home .hero-stage3d {
    position: relative;
    top: auto;
    right: auto;
    left: 50%;
    grid-column: 1;
    grid-row: 5;
    width: 100vw;
    height: clamp(460px, 135vw, 590px);
    margin: 24px 0 0;
    transform: translateX(-50%);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background:
      none,
      url("/assets/cinematic/scene-01-smoke-v3.webp") 69% center / cover no-repeat;
  }

  .apple-experience .hero--home .xai-price-animation--hero {
    grid-row: 6;
  }

  .apple-experience .hero--home .hero__inner > .hero__actions {
    grid-row: 7;
  }

  .apple-experience .hero--home .web3-racer--hero {
    grid-row: 8;
  }

  .hero-stage3d__canvas {
    filter: saturate(1.035) contrast(1.025);
    mask-image: none;
    -webkit-mask-image: none;
  }

  .hero-stage3d__fallback,
  .hero-stage3d__fade {
    mask-image: none;
    -webkit-mask-image: none;
  }

  .hero-stage3d__hud {
    top: 20px;
    right: auto;
    left: 18px;
    max-width: calc(100% - 36px);
  }

  .hero-stage3d__timeline {
    top: 76px;
    right: 18px;
    left: 18px;
    grid-template-columns: repeat(6, 1fr);
  }

  .hero-stage3d__actions {
    top: auto;
    right: 18px;
    bottom: 22px;
    left: 18px;
    justify-content: center;
  }

  .hero-stage3d__actions .button {
    min-width: 160px;
  }
}

@media (max-width: 430px) {
  .apple-experience .hero--home .hero-stage3d {
    height: clamp(460px, 135vw, 570px);
  }

  .hero-stage3d__actions {
    gap: 13px;
  }

  .hero-stage3d__actions .button {
    min-width: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-stage3d__canvas {
    transition: none;
  }

  .hero-stage3d__replay {
    display: inline-flex;
  }
}

/* Night Ash Run AAA racer */
.apple-experience .hero--home .web3-racer.web3-racer--hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(300px, 0.66fr) minmax(560px, 1.34fr) !important;
  gap: 0 !important;
  width: 100% !important;
  margin: 48px 0 0 !important;
  padding: 0 !important;
  overflow: hidden;
  border: 1px solid rgba(213, 226, 235, 0.2) !important;
  border-radius: 8px !important;
  background: #07090d !important;
  box-shadow: 0 34px 96px rgba(0, 0, 0, 0.58), 0 0 0 1px rgba(255, 255, 255, 0.02) inset !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.apple-experience .web3-racer.web3-racer--hero::before {
  display: none !important;
}

.apple-experience .web3-racer__copy {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-self: stretch !important;
  gap: 0 !important;
  min-width: 0;
  padding: 30px 28px 26px;
  border-right: 1px solid rgba(213, 226, 235, 0.14);
  background:
    none,
    none;
}

.apple-experience .web3-racer__copy::after {
  position: absolute;
  right: -1px;
  bottom: 0;
  left: 0;
  height: 3px;
  content: "";
  background: none;
}

.apple-experience .web3-racer__copy .eyebrow {
  margin: 0 !important;
  color: #ff8a59 !important;
  font-size: 0.68rem !important;
  font-weight: 780 !important;
  line-height: 1.2 !important;
  text-transform: uppercase !important;
}

.apple-experience .web3-racer__copy h3 {
  max-width: 10ch;
  margin: 12px 0 14px;
  color: #f7f8f8 !important;
  font-size: 2.35rem !important;
  font-weight: 830 !important;
  letter-spacing: 0;
  line-height: 0.98 !important;
  text-transform: uppercase !important;
}

.apple-experience .web3-racer__copy > p:not(.eyebrow):not(.web3-racer__event) {
  max-width: 36ch;
  color: rgba(229, 236, 240, 0.62) !important;
  font-size: 0.88rem !important;
  line-height: 1.58 !important;
}

.apple-experience .web3-racer__form {
  margin-top: 24px;
}

.apple-experience .web3-racer__form label {
  display: block;
  margin-bottom: 8px;
  color: rgba(226, 235, 239, 0.58) !important;
  font-family: var(--mono, "Geist Mono", monospace);
  font-size: 0.66rem !important;
  font-weight: 700 !important;
  letter-spacing: 0;
  text-transform: uppercase !important;
}

.apple-experience .web3-racer__entry {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.apple-experience .web3-racer__entry input {
  width: 100%;
  min-width: 0;
  height: 44px;
  padding: 0 12px;
  border: 1px solid rgba(211, 225, 234, 0.18) !important;
  border-radius: 4px;
  color: #f8fbfc !important;
  background: rgba(0, 0, 0, 0.34) !important;
  box-shadow: none !important;
  font-family: var(--mono, "Geist Mono", monospace);
  font-size: 0.78rem;
  outline: none;
}

.apple-experience .web3-racer__entry input:focus {
  border-color: rgba(70, 215, 230, 0.76) !important;
  box-shadow: 0 0 0 3px rgba(43, 208, 223, 0.1) !important;
}

.apple-experience .web3-racer__entry .button {
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 4px;
  white-space: nowrap;
}

.apple-experience .web3-racer__error {
  min-height: 1.1em;
  margin-top: 7px;
  color: #ff7586;
  font-size: 0.72rem;
}

.apple-experience .web3-racer__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px !important;
  margin-top: 20px;
  overflow: hidden;
  border: 1px solid rgba(211, 225, 234, 0.13);
  border-radius: 4px;
  background: rgba(211, 225, 234, 0.13);
}

.apple-experience .web3-racer__stats span {
  display: grid;
  min-width: 0;
  padding: 12px 9px 10px;
  border: 0 !important;
  background: #0a0d12 !important;
  box-shadow: none !important;
}

.apple-experience .web3-racer__stats b {
  overflow: hidden;
  color: #f5f8f9;
  font-family: var(--mono, "Geist Mono", monospace);
  font-size: 1rem;
  font-weight: 710 !important;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.apple-experience .web3-racer__stats em {
  margin-top: 2px;
  color: rgba(218, 229, 234, 0.44) !important;
  font-family: var(--mono, "Geist Mono", monospace);
  font-size: 0.58rem;
  font-style: normal;
  font-weight: 690 !important;
  text-transform: uppercase !important;
}

.apple-experience .web3-racer__event {
  min-height: 36px;
  margin: 12px 0 0;
  padding: 10px 11px;
  border-left: 2px solid #2bd0df;
  color: rgba(225, 237, 241, 0.72) !important;
  background: rgba(43, 208, 223, 0.055) !important;
  font-family: var(--mono, "Geist Mono", monospace);
  font-size: 0.66rem;
  font-weight: 690 !important;
  text-transform: uppercase !important;
  line-height: 1.35;
}

.apple-experience .web3-racer__event.is-penalty {
  border-color: #f33b58;
  color: #ff91a0 !important;
  background: rgba(243, 59, 88, 0.08) !important;
}

.apple-experience .web3-racer__leaderboard {
  margin-top: auto;
  padding-top: 22px;
}

.apple-experience .web3-racer__leaderboard-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(220, 231, 236, 0.14);
  color: rgba(225, 234, 238, 0.55) !important;
  font-family: var(--mono, "Geist Mono", monospace);
  font-size: 0.64rem;
  font-weight: 710 !important;
  text-transform: uppercase !important;
}

.apple-experience .web3-racer__leaderboard-head b {
  color: #ff7c58;
}

.apple-experience .web3-racer__leaderboard ol {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.apple-experience .web3-racer__leaderboard li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  border-bottom: 1px solid rgba(220, 231, 236, 0.07);
  color: rgba(225, 234, 238, 0.54);
  font-family: var(--mono, "Geist Mono", monospace);
  font-size: 0.64rem;
  border-color: rgba(220, 231, 236, 0.07) !important;
  background: transparent !important;
  box-shadow: none !important;
}

.apple-experience .web3-racer__leaderboard li b,
.apple-experience .web3-racer__leaderboard li abbr {
  overflow: hidden;
  color: rgba(238, 243, 245, 0.76);
  font-weight: 630;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.apple-experience .web3-racer__leaderboard li em {
  color: rgba(255, 255, 255, 0.78);
  font-style: normal;
}

.apple-experience .web3-racer__leaderboard li.is-current {
  color: #ffb17d;
  border-color: rgba(229, 37, 65, 0.3) !important;
  background: none !important;
}

.apple-experience .hero .web3-racer__stage {
  position: relative;
  isolation: isolate;
  min-width: 0;
  min-height: 620px !important;
  overflow: hidden;
  aspect-ratio: auto !important;
  border: 0 !important;
  background: #020307 !important;
  box-shadow: none !important;
}

.apple-experience .web3-racer__stage::before,
.apple-experience .web3-racer__stage::after {
  position: absolute;
  z-index: 2;
  inset: 0;
  content: "";
  pointer-events: none;
}

.apple-experience .web3-racer__stage::before {
  background:
    none,
    none;
  box-shadow: 0 0 80px rgba(0, 0, 0, 0.82) inset;
}

.apple-experience .web3-racer__stage::after {
  opacity: 0.12;
  background-image: none;
  mix-blend-mode: overlay;
}

.apple-experience .hero .web3-racer__canvas {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0 !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  background: #020307 !important;
  cursor: crosshair;
}

.web3-racer__stage-hud {
  position: absolute;
  z-index: 5;
  top: 18px;
  right: 18px;
  left: 18px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: start;
  gap: 22px;
  pointer-events: none;
}

.web3-racer__stage-hud > div {
  display: grid;
  align-content: start;
  min-width: 0;
}

.web3-racer__stage-hud span,
.web3-racer__route-bar > span {
  color: rgba(232, 241, 245, 0.58);
  font-family: var(--mono, "Geist Mono", monospace);
  font-size: 0.57rem;
  font-weight: 720;
  line-height: 1.2;
  text-shadow: 0 2px 8px #000;
  text-transform: uppercase;
}

.web3-racer__velocity b {
  display: flex;
  align-items: baseline;
  gap: 7px;
  margin-top: 1px;
}

.web3-racer__velocity i {
  color: #f4f8fa;
  font-family: var(--mono, "Geist Mono", monospace);
  font-size: 2.45rem;
  font-style: normal;
  font-weight: 740;
  line-height: 1;
  text-shadow: 0 0 22px rgba(45, 217, 236, 0.34), 0 3px 12px #000;
}

.web3-racer__velocity em {
  color: #54dae8;
  font-family: var(--mono, "Geist Mono", monospace);
  font-size: 0.58rem;
  font-style: normal;
  font-weight: 720;
  text-transform: uppercase;
}

.web3-racer__gear b,
.web3-racer__sector b {
  margin-top: 4px;
  color: #f3f7f8;
  font-family: var(--mono, "Geist Mono", monospace);
  font-size: 1.05rem;
  font-weight: 730;
  line-height: 1;
  text-shadow: 0 2px 9px #000;
}

.web3-racer__gear b {
  color: #ff754f;
}

.web3-racer__route-bar {
  position: absolute;
  z-index: 5;
  right: 96px;
  bottom: 25px;
  left: 18px;
  display: grid;
  grid-template-columns: auto minmax(70px, 1fr);
  align-items: center;
  gap: 12px;
  pointer-events: none;
}

.web3-racer__route-bar > i {
  display: block;
  height: 2px;
  overflow: hidden;
  background: rgba(225, 236, 240, 0.2);
}

.web3-racer__route-bar > i b {
  display: block;
  width: 2%;
  height: 100%;
  background: none;
  box-shadow: 0 0 12px #2bd0df;
  transition: width 180ms linear;
}

.web3-racer__impact {
  position: absolute;
  z-index: 8;
  top: 43%;
  left: 50%;
  display: grid;
  justify-items: center;
  opacity: 0;
  transform: translate(-50%, -50%) scale(1.4);
  pointer-events: none;
}

.web3-racer__impact strong {
  color: #fff;
  font-family: var(--mono, "Geist Mono", monospace);
  font-size: 4rem;
  font-weight: 850;
  line-height: 0.9;
  text-shadow: 0 0 8px #ff183d, 0 0 34px rgba(255, 24, 61, 0.86), 0 4px 18px #000;
}

.web3-racer__impact span {
  margin-top: 8px;
  padding: 4px 8px;
  color: #fff;
  background: #e52541;
  font-family: var(--mono, "Geist Mono", monospace);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0;
}

.web3-racer__impact.is-active {
  animation: racer-impact 760ms cubic-bezier(0.17, 0.78, 0.19, 1) both;
}

@keyframes racer-impact {
  0% { opacity: 0; transform: translate(-50%, -45%) scale(1.9); }
  17% { opacity: 1; transform: translate(-50%, -50%) scale(0.94); }
  72% { opacity: 1; transform: translate(-50%, -56%) scale(1); }
  100% { opacity: 0; transform: translate(-50%, -76%) scale(0.96); }
}

.apple-experience .web3-racer__overlay {
  position: absolute;
  z-index: 6;
  inset: 0;
  display: grid;
  align-content: center;
  justify-items: center;
  padding: 24px;
  color: #f4f7f8;
  text-align: center;
  background: rgba(2, 3, 7, 0.34) !important;
  backdrop-filter: none;
  transition: opacity 260ms ease, visibility 260ms ease;
  pointer-events: none;
}

.apple-experience .web3-racer__overlay::before {
  width: 42px;
  height: 2px;
  margin-bottom: 14px;
  content: "";
  background: #e52541;
  box-shadow: 0 0 20px rgba(229, 37, 65, 0.74);
}

.apple-experience .web3-racer__overlay strong {
  font-family: var(--mono, "Geist Mono", monospace);
  font-size: 1.08rem;
  font-weight: 790;
  letter-spacing: 0;
}

.apple-experience .web3-racer__overlay span {
  margin-top: 8px;
  color: rgba(229, 237, 240, 0.56);
  font-family: var(--mono, "Geist Mono", monospace);
  font-size: 0.62rem;
  font-weight: 660;
}

.apple-experience .web3-racer__overlay.is-hidden {
  visibility: hidden;
  opacity: 0;
}

.apple-experience .web3-racer__controls {
  position: absolute;
  z-index: 7;
  right: 18px;
  bottom: 16px;
  left: auto !important;
  display: grid;
  grid-template-columns: repeat(2, 44px);
  gap: 6px;
}

.apple-experience .web3-racer__controls button {
  display: grid;
  width: 44px;
  height: 44px;
  padding: 0;
  place-items: center;
  min-height: 44px !important;
  border: 1px solid rgba(232, 240, 243, 0.22) !important;
  border-radius: 4px;
  color: #f4f8f9 !important;
  background: rgba(5, 7, 10, 0.72) !important;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.26);
  font-family: var(--mono, "Geist Mono", monospace);
  font-size: 1.12rem;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: border-color 150ms ease, background-color 150ms ease, transform 120ms ease;
}

.apple-experience .web3-racer__controls button:hover,
.apple-experience .web3-racer__controls button:focus-visible {
  border-color: rgba(82, 219, 233, 0.74) !important;
  background: rgba(13, 37, 43, 0.82) !important;
}

.apple-experience .web3-racer__controls button:active {
  transform: translateY(1px) scale(0.97);
}

.apple-experience .web3-racer__modal {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: grid;
  padding: 24px;
  place-items: center;
  background: rgba(2, 3, 6, 0.82) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
}

.apple-experience .web3-racer__modal[hidden] {
  display: none;
}

.apple-experience .web3-racer__modal-card {
  position: relative;
  width: min(100%, 520px);
  max-height: calc(100vh - 48px);
  overflow: auto;
  padding: 30px;
  border: 1px solid rgba(229, 235, 238, 0.18) !important;
  border-top: 3px solid #e52541;
  border-radius: 6px;
  color: rgba(232, 239, 242, 0.7);
  background: #0b0e13 !important;
  box-shadow: 0 34px 120px #000 !important;
}

.apple-experience .web3-racer__modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  width: 38px;
  height: 38px;
  min-height: 38px !important;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(229, 235, 238, 0.16) !important;
  border-radius: 4px;
  color: rgba(245, 249, 250, 0.72) !important;
  background: rgba(255, 255, 255, 0.045) !important;
  font-family: var(--mono, "Geist Mono", monospace);
  font-size: 1.35rem;
  font-weight: 500 !important;
  line-height: 1;
  cursor: pointer;
  transition: border-color 150ms ease, color 150ms ease, background-color 150ms ease, transform 120ms ease;
}

.apple-experience .web3-racer__modal-close:hover,
.apple-experience .web3-racer__modal-close:focus-visible {
  border-color: rgba(82, 219, 233, 0.7) !important;
  color: #fff !important;
  background: rgba(43, 208, 223, 0.1) !important;
}

.apple-experience .web3-racer__modal-close:active {
  transform: scale(0.96) !important;
}

.apple-experience .web3-racer__modal-card h3 {
  margin: 10px 0 14px;
  color: #f7f9fa;
  font-size: 1.8rem;
  letter-spacing: 0;
  line-height: 1.08;
}

.apple-experience .web3-racer__modal-card code {
  display: block;
  max-width: 100%;
  margin: 12px 0;
  padding: 10px;
  overflow: hidden;
  border: 1px solid rgba(43, 208, 223, 0.18);
  border-radius: 3px;
  color: #6fe4ef;
  background: rgba(43, 208, 223, 0.05);
  font-size: 0.76rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.apple-experience .web3-racer__rank {
  color: #ff9b6f;
  font-family: var(--mono, "Geist Mono", monospace);
  font-size: 0.78rem;
  font-weight: 720;
}

.apple-experience .web3-racer__modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 22px;
}

.apple-experience .web3-racer__modal-actions .button {
  min-height: 44px;
  margin: 0;
  padding: 10px 15px;
  border-radius: 4px;
}

@media (max-width: 1080px) {
  .apple-experience .hero--home .web3-racer.web3-racer--hero {
    grid-template-columns: 1fr !important;
  }

  .apple-experience .web3-racer__copy {
    padding: 26px 22px 22px;
    border-right: 0;
    border-bottom: 1px solid rgba(213, 226, 235, 0.14);
  }

  .apple-experience .web3-racer__copy h3 {
    font-size: 2rem;
  }

  .apple-experience .web3-racer__entry {
    grid-template-columns: 1fr;
  }

  .apple-experience .web3-racer__leaderboard {
    margin-top: 20px;
  }

  .apple-experience .hero .web3-racer__stage {
    min-height: 620px !important;
  }
}

@media (max-width: 820px) {
  .apple-experience .hero--home .web3-racer.web3-racer--hero {
    grid-template-columns: 1fr !important;
  }

  .apple-experience .web3-racer__copy {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid rgba(213, 226, 235, 0.14);
  }

  .apple-experience .web3-racer__leaderboard {
    margin-top: 20px;
  }

  .apple-experience .hero .web3-racer__stage {
    min-height: 560px !important;
  }
}

@media (max-width: 560px) {
  .apple-experience .hero--home .web3-racer.web3-racer--hero {
    margin-top: 34px !important;
  }

  .apple-experience .web3-racer__copy {
    padding: 23px 18px 20px;
  }

  .apple-experience .web3-racer__copy h3 {
    max-width: 12ch;
    font-size: 1.8rem;
  }

  .apple-experience .web3-racer__entry {
    grid-template-columns: 1fr;
  }

  .apple-experience .web3-racer__entry .button {
    width: 100%;
  }

  .apple-experience .hero .web3-racer__stage {
    min-height: 520px !important;
  }

  .web3-racer__stage-hud {
    top: 14px;
    right: 14px;
    left: 14px;
    gap: 12px;
  }

  .web3-racer__velocity i {
    font-size: 2rem;
  }

  .web3-racer__route-bar {
    right: 78px;
    bottom: 19px;
    left: 14px;
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .web3-racer__route-bar > span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .apple-experience .web3-racer__controls {
    right: 12px;
    bottom: 12px;
    left: auto !important;
    grid-template-columns: repeat(2, 38px);
    gap: 4px;
  }

  .apple-experience .web3-racer__controls button {
    width: 38px;
    height: 38px;
  }

  .web3-racer__impact strong {
    font-size: 3rem;
  }

  .apple-experience .web3-racer__modal {
    padding: 14px;
  }

  .apple-experience .web3-racer__modal-card {
    max-height: calc(100vh - 28px);
    padding: 22px 18px;
  }

  .apple-experience .web3-racer__modal-card .eyebrow {
    padding-right: 42px !important;
  }

  .apple-experience .web3-racer__modal-actions .button {
    flex: 1 1 calc(50% - 5px);
  }

  .apple-experience .web3-racer__modal-actions .button--primary {
    flex-basis: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .web3-racer__impact.is-active {
    animation-duration: 160ms;
  }
}

/* Night Ash Run AAA command rail */
.apple-experience .topbar,
body.apple-experience .topbar {
  inset: 0 0 auto !important;
  width: 100% !important;
  min-height: 72px !important;
  margin: 0 !important;
  overflow: visible !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(170, 191, 205, 0.24) !important;
  border-radius: 0 !important;
  background:
    none,
    rgba(5, 7, 10, 0.9) !important;
  box-shadow: 0 18px 58px rgba(0, 0, 0, 0.32) !important;
  backdrop-filter: blur(18px) saturate(122%) !important;
  -webkit-backdrop-filter: blur(18px) saturate(122%) !important;
}

.apple-experience .topbar::before {
  content: "";
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  pointer-events: none;
  background: none;
  opacity: 0.82;
}

.apple-experience .topbar::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: none;
}

.apple-experience .topbar.is-scrolled {
  background:
    none,
    rgba(4, 6, 9, 0.965) !important;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.46) !important;
}

.apple-experience .topbar__inner {
  position: relative;
  z-index: 3;
  width: min(1440px, calc(100% - 48px)) !important;
  min-height: 72px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  gap: 32px !important;
}

.apple-experience .topbar .brand {
  align-self: stretch;
  min-width: 230px;
  gap: 12px !important;
}

.apple-experience .topbar .brand__mark {
  width: 42px !important;
  height: 42px !important;
  min-width: 42px !important;
  min-height: 42px !important;
  border: 1px solid rgba(222, 239, 244, 0.42) !important;
  border-radius: 2px !important;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px) !important;
  background:
    none,
    url("/assets/brand-nar-luxury.svg?v=20260704e") center / cover no-repeat !important;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.62), 0 0 24px rgba(54, 212, 223, 0.1) !important;
}

.apple-experience .topbar .brand__name strong {
  color: #f4f7f8 !important;
  font-family: var(--apple-font, "Geist", sans-serif) !important;
  font-size: 0.86rem !important;
  font-weight: 820 !important;
  line-height: 1 !important;
  text-transform: uppercase !important;
  text-shadow: none !important;
}

.apple-experience .topbar .brand__name span {
  margin-top: 5px !important;
  color: rgba(135, 217, 225, 0.68) !important;
  font-family: var(--mono, "Geist Mono", monospace) !important;
  font-size: 0.59rem !important;
  font-weight: 650 !important;
  line-height: 1 !important;
  text-transform: uppercase !important;
}

.apple-experience .topbar__right {
  align-self: stretch;
  gap: 12px !important;
}

.apple-experience .topbar .nav {
  align-self: stretch;
  gap: 0 !important;
}

.apple-experience .topbar .nav a,
.apple-experience .topbar a:not(.brand):not(.social-link) {
  position: relative;
  min-height: 72px !important;
  padding: 0 13px !important;
  border: 0 !important;
  border-radius: 0 !important;
  color: rgba(221, 229, 233, 0.66) !important;
  background: transparent !important;
  font-family: var(--mono, "Geist Mono", monospace) !important;
  font-size: 0.67rem !important;
  font-weight: 720 !important;
  line-height: 72px !important;
  text-transform: uppercase !important;
}

.apple-experience .topbar .nav a::after {
  content: "";
  position: absolute;
  right: 13px;
  bottom: -1px;
  left: 13px;
  height: 2px;
  background: #46dae2;
  box-shadow: 0 0 14px rgba(70, 218, 226, 0.62);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 160ms ease-out;
}

.apple-experience .topbar .nav a:hover,
.apple-experience .topbar .nav a.is-active {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.035) !important;
}

.apple-experience .topbar .nav a:hover::after,
.apple-experience .topbar .nav a.is-active::after {
  transform: scaleX(1);
}

.apple-experience .topbar .social-link--official {
  min-height: 38px !important;
  padding: 0 15px !important;
  border: 1px solid rgba(220, 234, 239, 0.28) !important;
  border-radius: 2px !important;
  clip-path: polygon(7px 0, 100% 0, 100% calc(100% - 7px), calc(100% - 7px) 100%, 0 100%, 0 7px);
  color: #eef5f7 !important;
  background: rgba(218, 231, 236, 0.055) !important;
  font-family: var(--mono, "Geist Mono", monospace) !important;
  font-size: 0.64rem !important;
  font-weight: 760 !important;
  line-height: 36px !important;
  text-transform: uppercase !important;
}

.apple-experience .topbar .social-link--official:hover {
  border-color: rgba(70, 218, 226, 0.56) !important;
  color: #fff !important;
  background: rgba(70, 218, 226, 0.09) !important;
}

@media (max-width: 980px) {
  .apple-experience .topbar__inner {
    width: min(100% - 28px, 1440px) !important;
    gap: 14px !important;
  }

  .apple-experience .topbar .brand {
    min-width: 190px;
  }

  .apple-experience .topbar .nav a,
  .apple-experience .topbar a:not(.brand):not(.social-link) {
    padding-inline: 9px !important;
    font-size: 0.62rem !important;
  }
}

@media (max-width: 760px) {
  .apple-experience .topbar,
  body.apple-experience .topbar {
    min-height: 98px !important;
  }

  .apple-experience .topbar__inner {
    width: calc(100% - 24px) !important;
    min-height: 98px !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: 54px 44px;
    gap: 0 !important;
  }

  .apple-experience .topbar .brand {
    min-width: 0;
    min-height: 54px;
  }

  .apple-experience .topbar .brand__mark {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    min-height: 34px !important;
  }

  .apple-experience .topbar .brand__name > span {
    display: block !important;
    font-size: 0.54rem !important;
  }

  .apple-experience .topbar__right {
    width: 100% !important;
    min-width: 0;
    border-top: 1px solid rgba(170, 191, 205, 0.14);
  }

  .apple-experience .topbar .nav {
    width: 100%;
    min-height: 43px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
  }

  .apple-experience .topbar .nav::-webkit-scrollbar {
    display: none;
  }

  .apple-experience .topbar .nav a,
  .apple-experience .topbar a:not(.brand):not(.social-link) {
    flex: 0 0 auto;
    min-height: 43px !important;
    padding: 0 11px !important;
    font-size: 0.62rem !important;
    line-height: 43px !important;
  }

  .apple-experience .topbar .social-links--top {
    display: none !important;
  }
}
