:root {
  --bg: #05030b;
  --paper: rgba(12, 8, 24, 0.8);
  --panel: #090611;
  --panel-soft: #171123;
  --ink: #f1ecff;
  --muted: rgba(217, 209, 240, 0.78);
  --line: rgba(152, 132, 240, 0.2);
  --accent: #a88dff;
  --accent-2: #efe9ff;
  --accent-3: #7fd3ff;
  --shadow: 0 28px 90px rgba(1, 0, 8, 0.46);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --max-width: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  font-family: "IBM Plex Sans", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top center, rgba(111, 92, 255, 0.2), transparent 22rem),
    radial-gradient(circle at 18% 30%, rgba(98, 69, 239, 0.12), transparent 18rem),
    radial-gradient(circle at 82% 26%, rgba(120, 97, 255, 0.11), transparent 18rem),
    linear-gradient(180deg, #080510 0%, var(--bg) 100%);
}

.loader-app-shell img,
.loader-app-shell a,
.loader-app-shell button,
.loader-app-shell [data-slot-card],
.loader-app-shell [data-slot-card] * {
  -webkit-user-drag: none;
}

body[data-page="home"] {
  color: #efeaff;
  overflow-x: hidden;
  background:
    radial-gradient(circle at top center, rgba(111, 92, 255, 0.16), transparent 22rem),
    radial-gradient(circle at 18% 30%, rgba(98, 69, 239, 0.1), transparent 18rem),
    radial-gradient(circle at 82% 26%, rgba(120, 97, 255, 0.09), transparent 18rem),
    linear-gradient(180deg, #080510 0%, #05030b 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 50% 8%, rgba(150, 123, 255, 0.16), transparent 22rem),
    radial-gradient(circle at 20% 72%, rgba(125, 96, 255, 0.08), transparent 18rem),
    radial-gradient(circle at 84% 62%, rgba(190, 174, 255, 0.08), transparent 16rem);
  opacity: 0.92;
}

body[data-page="home"]::before {
  background-image:
    radial-gradient(circle at 50% 10%, rgba(150, 123, 255, 0.16), transparent 24rem),
    radial-gradient(circle at 18% 72%, rgba(125, 96, 255, 0.08), transparent 18rem),
    radial-gradient(circle at 84% 62%, rgba(190, 174, 255, 0.08), transparent 16rem);
  background-size: auto, auto, auto;
  opacity: 1;
  mask-image: none;
}

.home-cosmos {
  position: fixed;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  opacity: 0.98;
  mix-blend-mode: screen;
  pointer-events: none;
}

body:not([data-page="home"]) .home-cosmos {
  opacity: 0.64;
}

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

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

.site-shell {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
  padding-bottom: 3rem;
}

.site-shell-home {
  width: min(calc(100% - 2rem), 1320px);
  z-index: 2;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
  padding: 0.95rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(10, 7, 19, 0.78);
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(22px);
}

.home-header {
  position: relative;
  top: auto;
  flex-direction: column;
  gap: 1.35rem;
  margin-top: 0;
  padding: 3rem 0 1rem;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.home-header .brand {
  flex-direction: column;
  gap: 0;
}

.brand-logo-link {
  display: inline-flex;
}

.brand-image {
  display: block;
  width: clamp(7.5rem, 10vw, 8.75rem);
  height: auto;
  filter: drop-shadow(0 12px 22px rgba(99, 71, 223, 0.28));
}

.home-header .primary-nav {
  justify-content: center;
  flex-wrap: wrap;
}

.home-header .brand-image {
  width: clamp(12rem, 22vw, 17rem);
  filter: drop-shadow(0 18px 34px rgba(111, 92, 255, 0.3));
}

.home-header .primary-nav a {
  color: rgba(234, 228, 255, 0.86);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.home-header .primary-nav a:hover,
.home-header .primary-nav a.is-active {
  background: transparent;
  color: #ffffff;
  text-decoration: underline;
  text-decoration-color: rgba(162, 140, 255, 0.9);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.38em;
  transform: none;
}

.notice-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
  padding: 1rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(10, 7, 19, 0.86);
  color: #f5f0ff;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.26);
}

.notice-copy {
  display: grid;
  gap: 0.2rem;
}

.notice-copy strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
}

.notice-copy span {
  color: rgba(225, 218, 245, 0.82);
}

.notice-bar a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.8rem;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #7f63ff, #6245ef);
  color: #fff;
  box-shadow: 0 16px 28px rgba(98, 69, 239, 0.34);
  font-weight: 700;
  white-space: nowrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

h1,
h2,
h3 {
  font-family: "Space Grotesk", sans-serif;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.primary-nav a {
  padding: 0.7rem 0.95rem;
  border-radius: 999px;
  color: rgba(226, 219, 246, 0.82);
  font-weight: 600;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.primary-nav a:hover,
.primary-nav a.is-active {
  background: rgba(122, 99, 255, 0.16);
  color: #fff;
  transform: translateY(-1px);
}

.primary-nav a[data-nav="downloads"] {
  color: rgba(255, 204, 112, 0.9);
}

.primary-nav a[data-nav="downloads"]:hover,
.primary-nav a[data-nav="downloads"].is-active {
  background: rgba(255, 204, 112, 0.1);
  color: #ffffff;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 0.32rem;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0.7rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(122, 99, 255, 0.16);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: #fff;
}

main {
  display: grid;
  gap: 4rem;
  padding-top: 2rem;
}

.home-main {
  gap: 3.8rem;
  padding-top: 2rem;
}

.home-hero {
  display: grid;
  justify-items: center;
  gap: 0.95rem;
  max-width: 68rem;
  margin: 0 auto;
  padding: 2.25rem 0 0;
  text-align: center;
}

.home-kicker {
  margin: 0;
  color: rgba(210, 202, 255, 0.72);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.home-hero h1 {
  max-width: 17ch;
  color: #f3efff;
  font-size: clamp(3.2rem, 6.2vw, 5.9rem);
  line-height: 0.94;
  text-shadow: 0 0 35px rgba(127, 99, 255, 0.12);
}

.home-hero h1 span {
  display: block;
}

.home-lead {
  max-width: 54rem;
  margin: 0;
  color: rgba(223, 216, 247, 0.86);
  font-size: clamp(1rem, 1.55vw, 1.14rem);
}

.home-tagline {
  margin: 0;
  color: #f7f4ff;
  font-size: clamp(1.08rem, 1.75vw, 1.34rem);
  font-weight: 700;
}

.home-assist {
  margin: 0;
  color: rgba(210, 203, 239, 0.74);
  font-size: 0.98rem;
}

.home-actions {
  justify-content: center;
  margin-top: 0.4rem;
}

body[data-page="home"] .button-primary {
  background: linear-gradient(135deg, #7f63ff, #6245ef);
  color: #fff;
  box-shadow: 0 18px 38px rgba(98, 69, 239, 0.42);
}

body[data-page="home"] .button-secondary {
  border-color: rgba(162, 140, 255, 0.28);
  background: rgba(122, 99, 255, 0.16);
  color: #f1ecff;
}

.hero,
.sub-hero {
  display: grid;
  gap: 1.5rem;
}

.hero-home {
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.85fr);
  align-items: stretch;
  padding-top: 2.5rem;
}

.hero-copy,
.hero-panel,
.sub-hero,
.catalog-sidebar .sidebar-box,
.feature-card,
.showcase-stack,
.download-card,
.community-card,
.timeline-step,
.release-card,
.video-card,
.sidebar-box,
.faq-list details {
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.hero-copy {
  padding: 2.4rem;
  border-radius: var(--radius-xl);
}

.hero-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.4rem;
  padding: 2rem;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(14, 10, 28, 0.96), rgba(19, 14, 34, 0.92));
  color: #f7f2ff;
}

.panel-kicker,
.eyebrow,
.feature-topline,
.sidebar-label,
.download-state,
.community-label,
.release-label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before,
.panel-kicker::before,
.feature-topline::before,
.sidebar-label::before,
.download-state::before,
.community-label::before,
.release-label::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: currentColor;
}

h1 {
  margin: 0;
  font-size: clamp(2.8rem, 6vw, 5.7rem);
  line-height: 0.95;
  letter-spacing: 0;
  max-width: 10ch;
}

.sub-hero h1 {
  max-width: 12ch;
  font-size: clamp(2.6rem, 5vw, 4.5rem);
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 3.1rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.08;
}

p,
li,
summary {
  font-size: 1rem;
  line-height: 1.65;
}

.hero-text,
.sub-hero p,
.feature-card p,
.showcase-copy p,
.community-card p,
.timeline-step p,
.release-card p,
.video-card p {
  color: var(--muted);
}

.hero-actions,
.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.25rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.85rem 1.2rem;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: linear-gradient(135deg, #7f63ff, #6245ef);
  color: #fff;
  box-shadow: 0 18px 34px rgba(98, 69, 239, 0.34);
}

.button-secondary {
  border: 1px solid var(--line);
  background: rgba(122, 99, 255, 0.12);
  color: var(--ink);
}

.is-disabled {
  opacity: 0.55;
  pointer-events: none;
}

.flow-list,
.plain-list {
  margin: 0;
  padding-left: 1.2rem;
}

.panel-note {
  color: rgba(225, 218, 245, 0.74);
}

.metrics-strip,
.card-grid,
.product-grid,
.video-grid,
.timeline-grid,
.release-layout,
.community-layout {
  display: grid;
  gap: 1.2rem;
}

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

.metrics-strip article {
  padding: 1.45rem;
  border-radius: var(--radius-lg);
  background: rgba(13, 9, 26, 0.72);
  border: 1px solid var(--line);
}

.metrics-strip span {
  display: block;
  margin-bottom: 0.9rem;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.12em;
}

.metrics-strip strong {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 1.15rem;
}

.metrics-strip p {
  margin: 0;
  color: var(--muted);
}

.section-grid {
  display: grid;
  gap: 1.4rem;
}

.section-heading {
  display: grid;
  gap: 0.7rem;
  max-width: 50rem;
}

.section-heading.compact {
  max-width: 42rem;
}

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

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

.feature-card {
  display: grid;
  gap: 1rem;
  padding: 1.55rem;
  border-radius: var(--radius-lg);
}

.feature-card a {
  color: var(--accent-2);
  font-weight: 700;
}

.feature-card:hover,
.download-card:hover,
.community-card:hover,
.release-card:hover,
.video-card:hover,
.faq-list details:hover,
.sidebar-box:hover,
.timeline-step:hover {
  transform: translateY(-4px);
  border-color: rgba(172, 151, 255, 0.3);
  box-shadow: 0 32px 70px rgba(0, 0, 0, 0.34);
}

.split-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 1.4rem;
  align-items: start;
}

.showcase-copy {
  display: grid;
  gap: 1rem;
}

.showcase-stack {
  display: grid;
  gap: 1rem;
  padding: 1rem;
  border-radius: var(--radius-xl);
}

.stack-card {
  padding: 1.45rem;
  border-radius: var(--radius-lg);
  color: #fff;
  background: rgba(12, 8, 24, 0.94);
}

.stack-card span {
  display: block;
  margin-bottom: 0.45rem;
  color: rgba(255, 255, 255, 0.68);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 700;
}

.stack-card strong {
  font-size: 1.18rem;
}

.accent-a {
  background: linear-gradient(135deg, #151514, #2f2b25);
}

.accent-b {
  background: linear-gradient(135deg, #1b4c46, #1d9a7d);
}

.accent-c {
  background: linear-gradient(135deg, #6f3118, #f15c22);
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 1.6rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at top left, rgba(132, 108, 255, 0.18), transparent 18rem),
    rgba(10, 7, 19, 0.88);
  color: #fff;
  box-shadow: var(--shadow);
}

.cta-band .eyebrow {
  color: var(--accent-2);
}

.cta-band h2 {
  max-width: 14ch;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.guide-cta-copy {
  display: grid;
  gap: 0.85rem;
  max-width: 44rem;
}

.guide-cta-copy p:not(.eyebrow) {
  margin: 0;
  color: rgba(235, 230, 248, 0.82);
}

.support-main-minimal {
  gap: 1.8rem;
}

.support-hero-minimal {
  min-height: auto;
  padding: 4.25rem 0 0.75rem;
}

.support-focus-shell {
  width: min(100%, 980px);
}

.support-message-card {
  display: grid;
  justify-items: center;
  gap: 1rem;
  padding: 2.2rem 2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at top left, rgba(132, 108, 255, 0.16), transparent 18rem),
    rgba(10, 7, 19, 0.86);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  text-align: center;
}

.support-message-card h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.support-message-card p {
  max-width: 46rem;
  margin: 0;
  color: var(--muted);
}

.support-actions {
  justify-content: center;
  margin-top: 0.35rem;
}

.support-micro-note {
  color: rgba(235, 230, 248, 0.8);
  font-size: 0.96rem;
}

.loader-app-shell {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: 100svh;
  height: 100svh;
  grid-template-rows: auto minmax(0, 1fr) auto auto;
  background:
    linear-gradient(135deg, rgba(255, 204, 112, 0.05), transparent 28%),
    linear-gradient(215deg, rgba(92, 234, 255, 0.06), transparent 34%),
    linear-gradient(180deg, rgba(14, 10, 24, 0.5) 0%, rgba(7, 7, 17, 0.62) 100%);
  color: #f4f0ff;
  overflow: hidden;
}

body[data-page="downloads"] {
  background:
    linear-gradient(135deg, rgba(255, 204, 112, 0.05), transparent 28%),
    linear-gradient(215deg, rgba(92, 234, 255, 0.06), transparent 34%),
    #070711;
  color: #f4f0ff;
  overflow: hidden;
}

body[data-page="downloads"] a {
  color: inherit;
}

.loader-app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 5.3rem;
  padding: 0.7rem 1rem 0.68rem;
  border-bottom: 1px solid rgba(163, 142, 255, 0.16);
  background: rgba(11, 8, 21, 0.86);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.28);
}

.loader-app-brand {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  min-width: 0;
}

.loader-app-logo {
  width: 3.55rem;
  height: 3.55rem;
  object-fit: contain;
  filter:
    drop-shadow(0 0 16px rgba(118, 230, 255, 0.2))
    drop-shadow(0 12px 22px rgba(0, 0, 0, 0.34));
}

.loader-app-wordmark {
  display: grid;
  gap: 0.08rem;
}

.loader-app-wordmark strong {
  color: #ffffff;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.55rem;
  letter-spacing: 0;
}

.loader-app-wordmark span {
  color: #8eeeff;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.loader-app-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.7rem;
}

.loader-app-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.45rem;
  padding: 0.62rem 0.95rem;
  border: 1px solid rgba(142, 238, 255, 0.16);
  border-radius: 0.45rem;
  background: rgba(255, 255, 255, 0.045);
  color: rgba(244, 240, 255, 0.88);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.loader-app-button:hover {
  border-color: rgba(255, 204, 112, 0.36);
  background: rgba(255, 204, 112, 0.11);
  color: #ffffff;
  transform: translateY(-1px);
}

.loader-app-main {
  display: grid;
  grid-template-columns: 15.8rem minmax(0, 1fr);
  gap: 0.75rem;
  min-height: 0;
  padding: 0.75rem 0.75rem 0;
  overflow: hidden;
}

body.is-loader-auth-gated .loader-app-main {
  grid-template-columns: minmax(20rem, min(54rem, calc(100vw - 2rem)));
  place-content: center;
  padding: clamp(1rem, 3vh, 2rem);
}

body.is-loader-auth-gated .loader-app-sidebar,
body.is-loader-auth-gated .loader-slots-board,
body.is-loader-auth-gated .loader-app-statusbar {
  display: none;
}

body.is-loader-auth-gated .loader-stage-screen {
  height: auto;
  min-height: 0;
  overflow: visible;
}

body.is-loader-auth-gated .loader-auth-shell {
  height: auto;
  overflow: visible;
  padding: clamp(0.9rem, 1.6vw, 1.25rem);
}

body.is-loader-auth-gated .loader-auth-card {
  gap: 0.82rem;
  padding: clamp(1.05rem, 1.9vw, 1.45rem);
}

body.is-loader-auth-gated .loader-auth-card h1 {
  max-width: 12ch;
  font-size: clamp(2rem, 3.4vw, 2.7rem);
}

body.is-loader-auth-gated .loader-state-card--steps {
  grid-template-columns: minmax(0, 1fr) minmax(14.5rem, 0.72fr);
  column-gap: clamp(0.9rem, 2vw, 1.35rem);
  align-items: start;
}

body.is-loader-auth-gated .loader-simple-step {
  min-height: 3rem;
  padding: 0.45rem 0.65rem;
}

.loader-app-sidebar {
  display: grid;
  align-content: start;
  gap: 0.45rem;
  min-height: 0;
  padding: 0.55rem;
  border: 1px solid rgba(163, 142, 255, 0.13);
  border-radius: 0.5rem;
  background: rgba(10, 8, 20, 0.58);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.loader-app-sidebar::before {
  content: "Programmer";
  padding: 0.2rem 0.28rem 0.4rem;
  color: rgba(255, 204, 112, 0.88);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.loader-nav-item {
  position: relative;
  display: grid;
  gap: 0.22rem;
  width: 100%;
  min-height: 4.3rem;
  padding: 0.72rem 0.78rem 0.78rem 0.95rem;
  border: 1px solid transparent;
  border-radius: 0.45rem;
  background: transparent;
  color: rgba(244, 240, 255, 0.68);
  text-align: left;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.loader-nav-item[hidden] {
  display: none;
}

.loader-nav-item::before {
  content: "";
  position: absolute;
  top: 0.72rem;
  bottom: 0.72rem;
  left: 0.48rem;
  width: 0.16rem;
  border-radius: 999px;
  background: transparent;
}

.loader-nav-item strong {
  color: inherit;
  font-size: 0.98rem;
}

.loader-nav-item span {
  color: rgba(221, 216, 247, 0.52);
  font-size: 0.78rem;
  line-height: 1.35;
}

.loader-nav-item.is-active,
.loader-nav-item:hover {
  border-color: rgba(142, 238, 255, 0.16);
  background: rgba(255, 255, 255, 0.045);
  color: #ffffff;
}

.loader-nav-item.is-active::before,
.loader-nav-item:hover::before {
  background: #8eeeff;
  box-shadow: 0 0 14px rgba(142, 238, 255, 0.5);
}

.loader-device-controls {
  display: grid;
  gap: 0.62rem;
  margin-top: 0.35rem;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(163, 142, 255, 0.12);
}

.loader-device-button {
  min-height: 2.9rem;
  border: 1px solid rgba(142, 238, 255, 0.16);
  border-radius: 0.45rem;
  background: rgba(255, 255, 255, 0.055);
  color: #f7f3ff;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.loader-device-button:hover:not(:disabled) {
  border-color: rgba(142, 238, 255, 0.42);
  background: rgba(142, 238, 255, 0.1);
  transform: translateY(-1px);
}

.loader-device-button.is-disabled,
.loader-device-button:disabled {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(244, 240, 255, 0.34);
  cursor: not-allowed;
}

.loader-device-button.is-ready {
  border-color: rgba(255, 204, 112, 0.7);
  background: linear-gradient(135deg, rgba(255, 204, 112, 0.95), rgba(255, 94, 200, 0.86));
  color: #140713;
  animation: loader-program-pulse 1.9s ease-in-out infinite;
}

@keyframes loader-program-pulse {
  0%,
  100% {
    box-shadow:
      0 0 0 rgba(255, 204, 112, 0),
      inset 0 1px 0 rgba(255, 255, 255, 0.2);
  }

  50% {
    box-shadow:
      0 0 22px rgba(255, 204, 112, 0.38),
      inset 0 1px 0 rgba(255, 255, 255, 0.28);
  }
}

.loader-stage {
  min-width: 0;
  min-height: 0;
}

.loader-stage-screen {
  display: grid;
  min-height: 0;
  height: 100%;
  overflow: hidden;
  border: 1px solid rgba(163, 142, 255, 0.15);
  border-radius: 0.5rem;
  background:
    linear-gradient(135deg, rgba(142, 238, 255, 0.04), transparent 32%),
    linear-gradient(235deg, rgba(255, 204, 112, 0.04), transparent 38%),
    rgba(12, 10, 23, 0.62);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 18px 48px rgba(0, 0, 0, 0.26);
}

.loader-auth-shell {
  display: grid;
  grid-template-columns: minmax(320px, 1fr);
  justify-content: stretch;
  align-content: start;
  height: 100%;
  overflow: auto;
  padding: 0.9rem;
}

.loader-auth-card {
  display: grid;
  gap: 0.72rem;
  padding: 0.9rem 0.95rem;
  border: 1px solid rgba(163, 142, 255, 0.12);
  border-radius: 0.45rem;
  background: rgba(255, 255, 255, 0.04);
}

.loader-auth-card {
  align-content: start;
}

.loader-state-card {
  max-width: none;
}

.loader-state-card--critical {
  border-color: rgba(255, 204, 112, 0.28);
  background:
    linear-gradient(135deg, rgba(255, 204, 112, 0.08), rgba(255, 94, 200, 0.035)),
    rgba(255, 255, 255, 0.04);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 0 34px rgba(255, 204, 112, 0.08);
}

.loader-state-card--critical .loader-stage-kicker {
  color: rgba(255, 204, 112, 0.94);
}

.loader-state-card--steps {
  grid-template-columns: minmax(0, 1.18fr) minmax(15.25rem, 0.82fr);
  grid-template-areas:
    "kicker steps"
    "title steps"
    "copy steps"
    "actions steps"
    "note steps";
  column-gap: 1rem;
}

.loader-state-card--steps .loader-stage-kicker {
  grid-area: kicker;
}

.loader-state-card--steps h1 {
  grid-area: title;
}

.loader-state-card--steps .loader-state-copy {
  grid-area: copy;
}

.loader-state-card--steps .loader-auth-actions {
  grid-area: actions;
}

.loader-state-card--steps .loader-simple-steps {
  grid-area: steps;
  align-self: stretch;
  align-content: start;
  grid-template-columns: 1fr;
  margin-top: 0;
}

.loader-state-card--steps .loader-inline-note {
  grid-area: note;
}

.loader-auth-card h1 {
  max-width: 8ch;
  color: #ffffff;
  font-size: 2.1rem;
  line-height: 1;
  letter-spacing: 0;
}

.loader-auth-card p {
  max-width: 30rem;
  margin: 0;
  color: rgba(227, 232, 244, 0.7);
  font-size: 0.9rem;
}

.loader-auth-actions {
  display: grid;
  justify-items: start;
  gap: 0.45rem;
  margin-top: 0.05rem;
}

.loader-discord-button {
  min-height: 2.75rem;
  padding: 0.72rem 1rem;
  border: 1px solid rgba(142, 238, 255, 0.2);
  border-radius: 0.45rem;
  background: rgba(142, 238, 255, 0.11);
  color: #f7f3ff;
  font-size: 0.94rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
  cursor: pointer;
  transition: filter 160ms ease, transform 160ms ease;
}

.loader-discord-button:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.loader-auth-link {
  color: #8eeeff;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  font-size: 0.92rem;
}

.loader-state-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 0.1rem;
}

.loader-inline-note {
  color: rgba(223, 228, 241, 0.64);
  font-size: 0.88rem;
}

.loader-simple-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem;
  margin-top: 0.05rem;
}

.loader-simple-step {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  align-items: center;
  gap: 0.55rem;
  min-height: 3.5rem;
  padding: 0.5rem 0.7rem;
  border: 1px solid rgba(163, 142, 255, 0.12);
  border-radius: 0.45rem;
  background: rgba(0, 0, 0, 0.14);
}

.loader-simple-step span {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: rgba(142, 238, 255, 0.12);
  color: #8eeeff;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
}

.loader-simple-step p {
  margin: 0;
  color: #eef2fb;
  font-size: 0.88rem;
  font-weight: 600;
}

.loader-auth-returning {
  color: rgba(223, 228, 241, 0.64);
  font-size: 0.84rem;
  margin-top: -0.1rem;
}

.loader-library-shell {
  display: grid;
  gap: 0.86rem;
  align-content: start;
  height: 100%;
  overflow: auto;
  padding: 0.95rem;
}

.loader-library-head {
  display: grid;
  gap: 0.55rem;
}

.loader-library-head h1 {
  max-width: none;
  color: #ffffff;
  font-size: 1.8rem;
  line-height: 1;
  letter-spacing: 0;
}

.loader-library-head p {
  margin: 0;
  color: rgba(221, 216, 247, 0.68);
  font-size: 0.88rem;
}

.loader-library-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.loader-game-group {
  display: grid;
  gap: 0.68rem;
  padding: 0.78rem;
  border: 1px solid rgba(163, 142, 255, 0.11);
  border-radius: 0.45rem;
  background: rgba(255, 255, 255, 0.035);
}

.loader-game-group h2 {
  color: #f4f7ff;
  font-size: 0.98rem;
}

.loader-game-group-empty {
  grid-column: 1 / -1;
}

.loader-game-group-empty p {
  margin: 0;
  color: rgba(221, 216, 247, 0.62);
  font-size: 0.86rem;
}

.loader-game-coming-soon {
  min-height: 4.1rem;
  margin: 0;
  display: grid;
  place-items: center start;
  padding: 0.75rem 0.8rem;
  border: 1px solid rgba(142, 238, 255, 0.1);
  border-radius: 0.45rem;
  background: rgba(0, 0, 0, 0.13);
  color: rgba(221, 216, 247, 0.62);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.loader-script-list {
  display: grid;
  gap: 0.55rem;
}

.loader-script-list .loader-script-card {
  display: grid;
  gap: 0.18rem;
  padding: 0.68rem 0.72rem;
  border: 1px solid rgba(163, 142, 255, 0.1);
  border-radius: 0.45rem;
  background: rgba(0, 0, 0, 0.16);
  cursor: grab;
  transition: transform 150ms ease, border-color 150ms ease, background-color 150ms ease;
}

.loader-script-list .loader-script-card:hover {
  transform: translateY(-1px);
  border-color: rgba(142, 238, 255, 0.38);
  background: rgba(142, 238, 255, 0.08);
}

.loader-script-list .loader-script-card.is-unlocked {
  border-color: rgba(255, 204, 112, 0.34);
  background:
    linear-gradient(135deg, rgba(255, 204, 112, 0.08), rgba(142, 238, 255, 0.04)),
    rgba(0, 0, 0, 0.18);
}

.loader-script-list .loader-script-card.is-disabled {
  cursor: not-allowed;
  opacity: 0.56;
}

.loader-script-list .loader-script-card.is-disabled:hover {
  transform: none;
  border-color: rgba(255, 255, 255, 0.05);
  background: rgba(0, 0, 0, 0.08);
}

.loader-script-list .loader-script-card strong {
  color: #eef2fb;
  font-size: 0.93rem;
}

.loader-script-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.loader-script-list .loader-script-card span,
.loader-script-list .loader-script-card em {
  color: rgba(255, 204, 112, 0.94);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  font-style: normal;
  text-transform: uppercase;
}

.loader-script-list .loader-script-card em {
  padding: 0.16rem 0.36rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  color: rgba(221, 216, 247, 0.58);
  font-size: 0.64rem;
}

.loader-script-list .loader-script-card.is-unlocked em {
  border-color: rgba(255, 204, 112, 0.34);
  color: rgba(255, 224, 148, 0.96);
  background: rgba(255, 204, 112, 0.08);
}

.loader-script-list .loader-script-card p {
  margin: 0;
  color: rgba(221, 216, 247, 0.58);
  font-size: 0.79rem;
}

.loader-script-list .loader-script-card.is-dragging {
  opacity: 0.48;
  transform: scale(0.985);
}

.loader-stage-kicker {
  margin: 0;
  color: #8eeeff;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.loader-slots-board {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem;
  padding: 0.62rem 0.75rem 0.75rem;
  background: rgba(7, 7, 17, 0.48);
}

.loader-slot-card {
  display: grid;
  grid-template-columns: 4.25rem minmax(0, 1fr);
  min-height: 7rem;
  border: 1px solid rgba(163, 142, 255, 0.12);
  border-radius: 0.45rem;
  overflow: hidden;
  background: rgba(14, 11, 25, 0.86);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

body.is-loader-dragging .loader-slot-card > * {
  pointer-events: none;
}

.loader-slot-index {
  display: grid;
  place-items: center;
  background:
    linear-gradient(180deg, rgba(142, 238, 255, 0.12), rgba(255, 204, 112, 0.06)),
    rgba(8, 8, 18, 0.92);
  color: #8eeeff;
  font-family: "Space Grotesk", sans-serif;
  font-size: 4.4rem;
  line-height: 1;
  text-shadow: 0 0 18px rgba(142, 238, 255, 0.22);
}

.loader-slot-body {
  position: relative;
  display: grid;
  align-items: stretch;
  padding: 0.48rem 0.58rem;
  color: rgba(244, 240, 255, 0.48);
  font-size: 0.92rem;
  font-weight: 700;
  transition:
    background 180ms ease,
    box-shadow 180ms ease;
}

.loader-slot-remove {
  position: absolute;
  top: 0.35rem;
  right: 0.45rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.6rem;
  height: 1.6rem;
  border: 0;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.24);
  color: rgba(244, 240, 255, 0.76);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
}

.loader-slot-remove[hidden] {
  display: none;
}

.loader-slot-fill {
  display: grid;
  min-height: 100%;
}

.loader-slot-empty {
  display: grid;
  align-items: end;
  padding: 0.35rem;
  color: rgba(244, 240, 255, 0.28);
  font-size: 0.8rem;
}

.loader-slot-script {
  display: grid;
  grid-template-columns: 0.95rem minmax(0, 1fr);
  align-items: start;
  gap: 0.55rem;
  padding: 1.65rem 0.35rem 0.35rem;
}

.loader-slot-color {
  display: inline-block;
  width: 0.95rem;
  height: 0.95rem;
  border-radius: 50%;
  margin-top: 0.12rem;
  background: var(--slot-color, #5d6e82);
  box-shadow: 0 0 16px color-mix(in srgb, var(--slot-color, #5d6e82) 55%, transparent);
}

.loader-slot-meta {
  display: grid;
  gap: 0.18rem;
}

.loader-slot-meta strong {
  color: #f7f3ff;
  font-size: 0.94rem;
  line-height: 1.1;
}

.loader-slot-meta span {
  color: rgba(221, 216, 247, 0.56);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.loader-slot-card.is-open .loader-slot-body {
  background: rgba(255, 255, 255, 0.018);
}

.loader-slot-card.is-occupied .loader-slot-body {
  background: rgba(255, 255, 255, 0.04);
}

.loader-slot-card.is-staged-add .loader-slot-body {
  background: rgba(26, 180, 165, 0.14);
}

.loader-slot-card.is-staged-remove .loader-slot-body {
  background: rgba(255, 91, 128, 0.13);
}

.loader-slot-card.is-drop-target .loader-slot-body {
  background: rgba(142, 238, 255, 0.13);
  box-shadow: inset 0 0 0 1px rgba(142, 238, 255, 0.35);
  animation: loader-slot-breathe 1.8s ease-in-out infinite;
}

@keyframes loader-slot-breathe {
  0%,
  100% {
    background: rgba(142, 238, 255, 0.1);
    box-shadow:
      inset 0 0 0 1px rgba(142, 238, 255, 0.25),
      inset 0 0 0 999px rgba(255, 255, 255, 0);
  }

  50% {
    background: rgba(142, 238, 255, 0.18);
    box-shadow:
      inset 0 0 0 1px rgba(142, 238, 255, 0.48),
      inset 0 0 34px rgba(142, 238, 255, 0.16);
  }
}

.loader-app-statusbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.38rem 0.75rem 0.48rem;
  border-top: 1px solid rgba(163, 142, 255, 0.14);
  background: rgba(8, 7, 17, 0.96);
  color: rgba(244, 240, 255, 0.74);
  font-size: 0.82rem;
}

.loader-status-left,
.loader-status-right {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.loader-programming-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  overflow: hidden;
  pointer-events: auto;
  color: #ffffff;
  background:
    linear-gradient(115deg, rgba(4, 8, 20, 0.94), rgba(7, 4, 18, 0.92) 48%, rgba(3, 13, 22, 0.96)),
    #03040b;
  isolation: isolate;
}

.loader-programming-overlay[hidden] {
  display: none;
}

.loader-hyper-scene {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.loader-hyper-scene::before {
  content: "";
  position: absolute;
  inset: -18%;
  background:
    linear-gradient(90deg, transparent 0 47%, rgba(126, 211, 255, 0.16) 49%, transparent 51% 100%),
    linear-gradient(0deg, transparent 0 47%, rgba(255, 204, 112, 0.12) 49%, transparent 51% 100%);
  opacity: 0.36;
  transform: perspective(52rem) rotateX(64deg) scale(1.2);
  animation: loader-hyper-grid 1.8s linear infinite;
}

.loader-hyper-streaks {
  position: absolute;
  inset: -8%;
  animation: loader-hyper-roll 18s linear infinite;
}

.loader-hyper-streak {
  position: absolute;
  top: 50%;
  left: 50%;
  width: var(--streak-length);
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(116, 232, 255, 0.32),
    rgba(255, 255, 255, 0.95),
    rgba(255, 204, 112, 0.38)
  );
  box-shadow:
    0 0 12px rgba(123, 224, 255, 0.68),
    0 0 28px rgba(255, 88, 208, 0.16);
  opacity: 0;
  transform: rotate(var(--streak-angle)) translateX(var(--streak-distance)) scaleX(0.18);
  transform-origin: left center;
  animation: loader-hyper-streak 860ms linear infinite;
  animation-delay: var(--streak-delay);
}

.loader-hyper-tunnel {
  position: absolute;
  inset: 5%;
  border-radius: 50%;
  background:
    repeating-radial-gradient(
      ellipse at center,
      rgba(126, 211, 255, 0) 0 2.15rem,
      rgba(126, 211, 255, 0.13) 2.2rem 2.28rem,
      rgba(255, 204, 112, 0.08) 2.3rem 2.36rem
    ),
    conic-gradient(
      from 0deg,
      rgba(126, 211, 255, 0.04),
      rgba(255, 91, 198, 0.16),
      rgba(255, 204, 112, 0.12),
      rgba(126, 211, 255, 0.04)
    );
  filter: blur(0.2px);
  mask-image: radial-gradient(ellipse at center, transparent 0 12%, #000 24%, transparent 72%);
  opacity: 0.82;
  animation: loader-hyper-tunnel 2.4s linear infinite;
}

.loader-hyper-gate {
  position: absolute;
  top: 48%;
  left: 50%;
  display: grid;
  place-items: center;
  width: min(27rem, 54vmin);
  aspect-ratio: 1;
  border: 1px solid rgba(129, 226, 255, 0.6);
  border-radius: 50%;
  box-shadow:
    0 0 24px rgba(126, 211, 255, 0.38),
    inset 0 0 36px rgba(255, 255, 255, 0.08);
  transform: translate(-50%, -50%);
}

.loader-hyper-gate::before,
.loader-hyper-gate::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.loader-hyper-gate::before {
  inset: 12%;
  border: 1px solid rgba(255, 204, 112, 0.42);
  animation: loader-hyper-ring 1.45s ease-in-out infinite;
}

.loader-hyper-gate::after {
  inset: 25%;
  border: 1px solid rgba(255, 92, 198, 0.34);
  animation: loader-hyper-ring 1.45s ease-in-out infinite reverse;
}

.loader-hyper-gate img {
  position: relative;
  z-index: 1;
  width: min(8rem, 18vmin);
  filter:
    drop-shadow(0 0 18px rgba(126, 211, 255, 0.5))
    drop-shadow(0 0 26px rgba(255, 92, 198, 0.28));
  opacity: 0.92;
}

.loader-hyper-jump-flash {
  position: absolute;
  top: 48%;
  left: 50%;
  width: min(34rem, 72vmin);
  aspect-ratio: 1;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.42);
}

.loader-programming-overlay.is-jumping .loader-hyper-jump-flash {
  animation: loader-hyper-jump-flash 320ms ease-out both;
}

.loader-programming-overlay.is-jumping .loader-hyper-gate {
  animation: loader-hyper-gate-jump 320ms ease-out both;
}

.loader-hyper-hud {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: 0.62rem;
  width: min(44rem, calc(100% - 2rem));
  padding: 0 1rem;
  text-align: center;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.8);
  transform: translateY(24vh);
}

.loader-hyper-kicker,
.loader-hyper-message,
.loader-hyper-count {
  margin: 0;
}

.loader-hyper-kicker {
  color: rgba(126, 232, 255, 0.92);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.loader-hyper-hud h2 {
  margin: 0;
  color: #ffffff;
  font-family: "Space Grotesk", sans-serif;
  font-size: 2.45rem;
  line-height: 1;
  letter-spacing: 0;
}

.loader-hyper-active {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.98rem;
  font-weight: 700;
}

.loader-hyper-active span {
  color: #ffcc70;
}

.loader-hyper-active strong {
  color: #ffffff;
  font-weight: 800;
}

.loader-hyper-message {
  min-height: 1.45rem;
  color: rgba(235, 242, 255, 0.76);
  font-size: 0.95rem;
}

.loader-hyper-progress {
  width: min(30rem, 100%);
  height: 0.28rem;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  box-shadow: 0 0 22px rgba(126, 211, 255, 0.16);
}

.loader-hyper-progress span {
  display: block;
  width: var(--jump-progress);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #78e8ff, #ff5ec8, #ffcc70);
  box-shadow: 0 0 20px rgba(126, 232, 255, 0.5);
  transition: width 220ms ease;
}

.loader-hyper-checkpoints {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  width: min(32rem, 100%);
}

.loader-hyper-checkpoint {
  display: inline-grid;
  place-items: center;
  width: 2.05rem;
  height: 2.05rem;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.72);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.9rem;
  font-weight: 800;
}

.loader-hyper-checkpoint.is-current {
  border-color: rgba(126, 232, 255, 0.84);
  color: #ffffff;
  box-shadow: 0 0 18px rgba(126, 232, 255, 0.34);
}

.loader-hyper-checkpoint.is-complete {
  border-color: rgba(255, 204, 112, 0.9);
  background: rgba(255, 204, 112, 0.2);
  color: #ffffff;
  box-shadow: 0 0 20px rgba(255, 204, 112, 0.34);
}

.loader-hyper-count {
  color: rgba(235, 242, 255, 0.72);
  font-size: 0.84rem;
  font-weight: 700;
}

.loader-reset-shell {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  min-height: min(32rem, calc(100vh - 16rem));
  overflow: hidden;
  border-radius: 0.5rem;
  background:
    radial-gradient(circle at 50% 46%, rgba(126, 232, 255, 0.12), transparent 26%),
    radial-gradient(circle at 50% 48%, rgba(255, 94, 200, 0.1), transparent 35%),
    rgba(5, 5, 14, 0.28);
}

.loader-reset-scene {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.loader-reset-scene .loader-hyper-streaks {
  inset: -14%;
}

.loader-reset-scene .loader-hyper-tunnel {
  inset: 8%;
  opacity: 0.74;
}

.loader-reset-shell .loader-hyper-gate {
  top: 43%;
  width: min(14rem, 42vmin);
}

.loader-reset-shell .loader-hyper-gate img {
  width: min(4.6rem, 13vmin);
}

.loader-reset-shell .loader-hyper-jump-flash {
  top: 43%;
  width: min(19rem, 54vmin);
  animation: loader-hyper-jump-flash 1.8s ease-out infinite;
}

.loader-reset-content {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: 0.75rem;
  padding: 1rem;
  text-align: center;
  transform: translateY(5.3rem);
}

.loader-reset-kicker {
  margin: 0;
  color: rgba(126, 232, 255, 0.9);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-shadow: 0 0 18px rgba(126, 232, 255, 0.46);
}

.loader-reset-button {
  min-width: min(16rem, calc(100vw - 3rem));
  border-color: rgba(126, 232, 255, 0.32);
  background: rgba(126, 232, 255, 0.13);
  box-shadow:
    0 0 22px rgba(126, 232, 255, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

@keyframes loader-hyper-grid {
  from {
    transform: perspective(52rem) rotateX(64deg) translateY(0) scale(1.2);
  }

  to {
    transform: perspective(52rem) rotateX(64deg) translateY(5rem) scale(1.2);
  }
}

@keyframes loader-hyper-roll {
  to {
    transform: rotate(360deg);
  }
}

@keyframes loader-hyper-streak {
  0% {
    opacity: 0;
    transform: rotate(var(--streak-angle)) translateX(var(--streak-distance)) scaleX(0.18);
  }

  18% {
    opacity: 0.95;
  }

  100% {
    opacity: 0;
    transform: rotate(var(--streak-angle)) translateX(calc(var(--streak-distance) + 58vw)) scaleX(1.36);
  }
}

@keyframes loader-hyper-tunnel {
  from {
    transform: scale(0.8) rotate(0deg);
  }

  to {
    transform: scale(1.08) rotate(18deg);
  }
}

@keyframes loader-hyper-ring {
  0%,
  100% {
    transform: scale(0.96);
    opacity: 0.48;
  }

  50% {
    transform: scale(1.04);
    opacity: 1;
  }
}

@keyframes loader-hyper-jump-flash {
  0% {
    opacity: 0;
    box-shadow:
      inset 0 0 0 0 rgba(255, 255, 255, 0),
      0 0 0 0 rgba(126, 232, 255, 0);
    transform: translate(-50%, -50%) scale(0.42);
  }

  24% {
    opacity: 1;
    box-shadow:
      inset 0 0 42px rgba(255, 255, 255, 0.52),
      0 0 70px rgba(126, 232, 255, 0.62),
      0 0 110px rgba(255, 204, 112, 0.42);
  }

  100% {
    opacity: 0;
    box-shadow:
      inset 0 0 18px rgba(255, 255, 255, 0),
      0 0 24px rgba(126, 232, 255, 0);
    transform: translate(-50%, -50%) scale(1.28);
  }
}

@keyframes loader-hyper-gate-jump {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
  }

  38% {
    transform: translate(-50%, -50%) scale(1.08);
  }
}

@media (prefers-reduced-motion: reduce) {
  .loader-hyper-scene::before,
  .loader-hyper-streaks,
  .loader-hyper-streak,
  .loader-hyper-tunnel,
  .loader-hyper-gate::before,
  .loader-hyper-gate::after,
  .loader-reset-shell .loader-hyper-jump-flash,
  .loader-programming-overlay.is-jumping .loader-hyper-jump-flash,
  .loader-programming-overlay.is-jumping .loader-hyper-gate {
    animation: none;
  }

  .loader-hyper-streak {
    opacity: 0.42;
  }
}

.loader-preview-shell {
  display: grid;
  gap: 1.2rem;
  padding: 1.6rem;
  border: 1px solid var(--line);
  border-radius: 32px;
  background:
    radial-gradient(circle at top left, rgba(132, 108, 255, 0.14), transparent 18rem),
    rgba(12, 8, 24, 0.82);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.loader-preview-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(145, 126, 255, 0.14);
}

.loader-preview-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: #f6f2ff;
  font-family: "Space Grotesk", sans-serif;
}

.loader-dot {
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #ffffff, #9e85ff 55%, #6f54ff 100%);
  box-shadow: 0 0 16px rgba(127, 99, 255, 0.5);
}

.loader-status-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.65rem;
}

.loader-status-badges span {
  display: inline-flex;
  align-items: center;
  min-height: 2.2rem;
  padding: 0.45rem 0.9rem;
  border: 1px solid rgba(161, 141, 255, 0.2);
  border-radius: 999px;
  background: rgba(122, 99, 255, 0.12);
  color: #f3efff;
  font-size: 0.92rem;
  font-weight: 700;
}

.loader-preview-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.1fr);
  gap: 1.2rem;
}

.loader-panel {
  display: grid;
  gap: 1rem;
  padding: 1.3rem;
  border: 1px solid rgba(145, 126, 255, 0.14);
  border-radius: 24px;
  background: rgba(10, 7, 19, 0.7);
}

.loader-panel-head {
  display: grid;
  gap: 0.55rem;
}

.loader-panel-head h3 {
  font-size: 1.5rem;
}

.loader-check-list {
  display: grid;
  gap: 0.8rem;
}

.loader-check-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(145, 126, 255, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
}

.loader-check-item span {
  color: rgba(221, 214, 245, 0.84);
  font-weight: 600;
}

.loader-check-item strong {
  color: #ffffff;
  font-family: "Space Grotesk", sans-serif;
}

.loader-script-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.loader-script-card {
  display: grid;
  gap: 0.7rem;
  padding: 1rem;
  border: 1px solid rgba(145, 126, 255, 0.14);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
}

.loader-script-card span {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.loader-script-card strong {
  color: #f7f4ff;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.2rem;
  line-height: 1.02;
}

.loader-script-card p {
  margin: 0;
  color: rgba(222, 215, 245, 0.78);
  font-size: 0.95rem;
  line-height: 1.55;
}

.loader-script-card-muted {
  opacity: 0.72;
}

.catalog-layout,
.guide-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 1.4rem;
}

.catalog-sidebar,
.guide-sidebar {
  position: sticky;
  top: 6.5rem;
  align-self: start;
}

.sidebar-box {
  padding: 1.45rem;
  border-radius: var(--radius-xl);
}

.sidebar-box h2 {
  margin: 0.85rem 0;
  font-size: 1.55rem;
}

.catalog-main,
.guide-main {
  display: grid;
  gap: 1.4rem;
}

.store-main {
  gap: 3rem;
}

.store-selector-section {
  display: grid;
  gap: 1.8rem;
}

.store-main-cosmic {
  gap: 2.4rem;
  padding-top: 0.2rem;
}

.store-header-cosmic {
  padding: 3rem 0 1rem;
}

.page-header-cosmic {
  padding: 3rem 0 1rem;
}

.store-header-cosmic .brand-image {
  width: clamp(12rem, 22vw, 17rem);
  filter: drop-shadow(0 18px 34px rgba(111, 92, 255, 0.3));
}

.page-header-cosmic .brand-image {
  width: clamp(12rem, 22vw, 17rem);
  filter: drop-shadow(0 18px 34px rgba(111, 92, 255, 0.3));
}

.store-header-cosmic .primary-nav a {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.page-header-cosmic .primary-nav a {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.store-hero-cosmic {
  display: grid;
  justify-items: center;
  min-height: 18rem;
  padding: 4.5rem 0 1.25rem;
  text-align: center;
}

.store-hero-cosmic h1 {
  max-width: none;
  color: #f3efff;
  font-size: clamp(4rem, 8vw, 5.8rem);
  line-height: 0.94;
  text-shadow: 0 0 35px rgba(127, 99, 255, 0.12);
}

.store-hero-cosmic p {
  max-width: 48rem;
  margin: 0.8rem 0 0;
  color: rgba(223, 216, 247, 0.8);
  font-size: 1.04rem;
}

.page-main-cosmic {
  gap: 2.4rem;
  padding-top: 0.2rem;
}

.page-hero-cosmic {
  display: grid;
  justify-items: center;
  min-height: 15rem;
  padding: 3.4rem 0 1rem;
  text-align: center;
}

.page-hero-cosmic h1 {
  max-width: none;
  color: #f3efff;
  font-size: clamp(4rem, 7.4vw, 5.4rem);
  line-height: 0.94;
  text-shadow: 0 0 35px rgba(127, 99, 255, 0.12);
}

.page-hero-cosmic p:not(.eyebrow) {
  max-width: 46rem;
  margin: 0;
  color: rgba(223, 216, 247, 0.86);
  font-size: 1.12rem;
}

.store-selector-section-cosmic {
  gap: 2.6rem;
}

.store-payment-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(24rem, 0.75fr);
  align-items: center;
  gap: 1.25rem;
  width: min(100%, 1180px);
  margin: 0 auto;
  padding: 0;
  border-bottom: 0;
  background: transparent;
}

.store-payment-copy {
  display: grid;
  gap: 0.56rem;
}

.store-payment-copy h2 {
  color: #f7f4ff;
  font-size: clamp(1.65rem, 3vw, 2.45rem);
  line-height: 0.98;
}

.store-payment-copy p {
  max-width: 42rem;
  margin: 0;
  color: rgba(223, 216, 247, 0.74);
}

.store-payment-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.62rem;
}

.store-pay-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.8rem;
  padding: 0.76rem 0.88rem;
  border: 1px solid rgba(166, 145, 255, 0.26);
  border-radius: 0.5rem;
  background: rgba(5, 3, 12, 0.16);
  color: #f7f4ff;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-align: center;
  text-transform: uppercase;
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease, opacity 180ms ease;
}

.store-pay-button:hover {
  transform: translateY(-2px);
  border-color: rgba(142, 238, 255, 0.38);
  background: rgba(142, 238, 255, 0.08);
}

.store-pay-button:focus-visible,
.home-product-card:focus-visible,
.game-selector-card:focus-visible {
  outline: 2px solid rgba(142, 238, 255, 0.72);
  outline-offset: 0.35rem;
}

.store-pay-button-stripe {
  border-color: rgba(142, 238, 255, 0.28);
  background: rgba(5, 3, 12, 0.16);
}

.store-pay-button-paypal {
  border-color: rgba(118, 162, 255, 0.28);
  background: rgba(5, 3, 12, 0.16);
}

.store-pay-button-cashapp {
  border-color: rgba(46, 232, 120, 0.22);
  background: rgba(5, 3, 12, 0.16);
}

.store-pay-button.is-disabled {
  cursor: not-allowed;
  opacity: 0.58;
  pointer-events: none;
}

.guide-layout-cosmic,
.community-layout-cosmic {
  width: min(100%, 1180px);
  margin: 0 auto;
}

.guide-section-shell {
  width: min(100%, 1180px);
  margin: 0 auto;
}

.store-selector-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1.85rem;
  align-items: start;
}

.game-selector-card {
  display: block;
  width: 100%;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: inherit;
  cursor: pointer;
  text-align: left;
  transition: transform 180ms ease, filter 180ms ease;
}

.game-selector-card:hover,
.game-selector-card[aria-selected="true"] {
  transform: translateY(-6px);
  filter: drop-shadow(0 24px 36px rgba(0, 0, 0, 0.26));
}

.game-selector-card[aria-selected="true"] .home-product-body h2 {
  color: #ffffff;
}

.game-selector-card[aria-selected="true"] .home-product-body p {
  color: rgba(241, 236, 255, 0.96);
}

.store-panel-shell {
  display: grid;
  gap: 1.5rem;
  padding: 1.7rem;
  border: 1px solid var(--line);
  border-radius: 32px;
  background:
    radial-gradient(circle at top left, rgba(132, 108, 255, 0.15), transparent 18rem),
    rgba(12, 8, 24, 0.82);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
  scroll-margin-top: 7rem;
}

.store-panel-shell[hidden] {
  display: none;
}

.store-panel-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.2rem;
}

.store-panel-copy {
  display: grid;
  gap: 0.7rem;
}

.store-panel-copy p {
  max-width: 44rem;
  margin: 0;
  color: var(--muted);
}

.store-panel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.store-game-panel {
  display: grid;
}

.store-game-panel[hidden] {
  display: none;
}

.store-platform-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
  gap: clamp(1.2rem, 3vw, 2rem);
  align-items: center;
}

.store-featured-product {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(24rem, 42vw, 34rem);
  padding: clamp(1.2rem, 3vw, 2rem);
  overflow: hidden;
  border: 1px solid rgba(145, 126, 255, 0.16);
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 18%, rgba(132, 108, 255, 0.26), transparent 16rem),
    linear-gradient(180deg, rgba(15, 11, 26, 0.84), rgba(5, 3, 11, 0.92));
}

.store-featured-product::before {
  content: "";
  position: absolute;
  inset: 12% 8% auto;
  height: 34%;
  border-radius: 999px;
  background: rgba(126, 94, 255, 0.2);
  filter: blur(58px);
}

.store-featured-art {
  position: relative;
  z-index: 1;
  width: min(100%, 25rem);
  height: auto;
  filter:
    drop-shadow(0 34px 42px rgba(0, 0, 0, 0.62))
    drop-shadow(0 0 28px rgba(126, 94, 255, 0.14));
}

.store-platform-copy {
  display: grid;
  gap: 0.95rem;
  align-content: center;
}

.store-platform-copy h3 {
  margin: 0;
  color: #f7f4ff;
  font-size: clamp(2.2rem, 5vw, 4.1rem);
  line-height: 0.95;
}

.store-platform-copy > p {
  max-width: 42rem;
  margin: 0;
  color: rgba(223, 216, 247, 0.78);
  font-size: 1.04rem;
}

.store-platform-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1rem;
  margin-top: 0.5rem;
}

.store-platform-card {
  display: grid;
  grid-template-columns: 6.2rem minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 0.85rem 0.9rem;
  align-items: center;
  padding: 0.92rem;
  border: 1px solid rgba(145, 126, 255, 0.15);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.075), transparent 42%),
    rgba(11, 8, 22, 0.82);
}

.store-platform-card.is-ready {
  border-color: rgba(142, 238, 255, 0.2);
}

.store-platform-card.is-soon {
  border-color: rgba(255, 204, 112, 0.15);
}

.store-platform-card img {
  grid-row: span 2;
  width: 100%;
  min-width: 0;
  border-radius: 10px;
  filter: drop-shadow(0 14px 20px rgba(0, 0, 0, 0.48));
}

.platform-label {
  color: rgba(142, 238, 255, 0.82);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.store-platform-card h4 {
  margin: 0.2rem 0 0;
  color: #ffffff;
  font-size: 1.18rem;
}

.store-platform-card p {
  margin: 0.35rem 0 0;
  color: rgba(223, 216, 247, 0.7);
  font-size: 0.9rem;
  line-height: 1.35;
}

.platform-cart-button {
  grid-column: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
  width: fit-content;
  min-width: 8.8rem;
  padding: 0.66rem 0.9rem;
  border: 1px solid rgba(142, 238, 255, 0.24);
  border-radius: 999px;
  background: rgba(142, 238, 255, 0.1);
  color: #f7f4ff;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease, opacity 180ms ease;
}

.platform-cart-button:hover:not(.is-disabled) {
  transform: translateY(-2px);
  border-color: rgba(142, 238, 255, 0.46);
  background: rgba(142, 238, 255, 0.16);
}

.platform-cart-button.is-disabled {
  cursor: not-allowed;
  opacity: 0.58;
  pointer-events: none;
}

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

.store-script-grid-single {
  grid-template-columns: minmax(0, 28rem);
  justify-content: center;
}

.store-script-card {
  height: 100%;
}

.store-coming-card {
  border-color: rgba(255, 204, 112, 0.18);
}

.store-pack-visual {
  position: relative;
  display: grid;
  justify-content: center;
  align-items: center;
  min-height: 260px;
  padding: 1.5rem;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 18%, rgba(132, 108, 255, 0.26), transparent 14rem),
    linear-gradient(180deg, rgba(15, 11, 26, 0.86), rgba(5, 3, 11, 0.95));
}

.store-pack-visual::before,
.home-product-media::before {
  content: "";
  position: absolute;
  inset: 13% 10% auto;
  height: 35%;
  border-radius: 999px;
  background: rgba(126, 94, 255, 0.2);
  filter: blur(52px);
}

.store-pack-visual::after,
.home-product-media::after {
  content: "";
  position: absolute;
  left: 15%;
  bottom: 10%;
  width: 70%;
  height: 1.4rem;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.35);
  filter: blur(18px);
}

.home-product-mark {
  position: absolute;
  top: 1.15rem;
  left: 1.2rem;
  z-index: 1;
  width: 4.3rem;
  height: auto;
  opacity: 0.62;
  filter: drop-shadow(0 10px 18px rgba(46, 32, 92, 0.22));
  pointer-events: none;
}

.home-product-device {
  position: absolute;
  right: 10%;
  bottom: 24%;
  z-index: 1;
  width: 7.4rem;
  height: 4.85rem;
  border: 0.64rem solid rgba(22, 20, 30, 0.16);
  border-radius: 1.1rem;
  background: rgba(22, 20, 30, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  transform: rotate(-6deg);
  pointer-events: none;
}

.home-product-device::before {
  content: "";
  position: absolute;
  inset: 0.42rem 0.5rem;
  border-radius: 0.45rem;
  background: rgba(18, 16, 26, 0.08);
}

.home-product-device::after {
  content: "";
  position: absolute;
  right: 0.75rem;
  bottom: 0.58rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: rgba(127, 99, 255, 0.42);
  box-shadow: 0 0 14px rgba(127, 99, 255, 0.42);
}

.home-product-athlete {
  position: absolute;
  right: 22%;
  bottom: 16%;
  z-index: 1;
  width: 4.6rem;
  height: 7.6rem;
  opacity: 0.3;
  background: radial-gradient(circle at 86% 4%, rgba(16, 14, 22, 0.34) 0 0.38rem, transparent 0.42rem);
  transform: rotate(-4deg);
  pointer-events: none;
}

.home-product-athlete::before {
  content: "";
  position: absolute;
  left: 2rem;
  top: 1.9rem;
  width: 0.76rem;
  height: 3.1rem;
  border-radius: 999px;
  background: rgba(16, 14, 22, 0.36);
  box-shadow:
    -0.95rem 2.1rem 0 -0.18rem rgba(16, 14, 22, 0.3),
    0.85rem 2.2rem 0 -0.16rem rgba(16, 14, 22, 0.3);
  transform: rotate(-10deg);
}

.home-product-athlete::after {
  content: "";
  position: absolute;
  left: 0.55rem;
  top: 1.2rem;
  width: 3.5rem;
  height: 2.5rem;
  border-top: 0.42rem solid rgba(16, 14, 22, 0.33);
  border-right: 0.36rem solid rgba(16, 14, 22, 0.28);
  border-radius: 50%;
  transform: rotate(-22deg);
}

.store-pack-box,
.home-product-box {
  position: relative;
  z-index: 2;
  isolation: isolate;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 0.7rem;
  align-content: normal;
  width: min(100%, var(--pack-width, 162px));
  aspect-ratio: 0.72;
  padding: 0.92rem 0.88rem 0.82rem;
  border-radius: 10px;
  overflow: visible;
  background:
    radial-gradient(circle at 86% 21%, rgba(132, 108, 255, 0.12), transparent 4.7rem),
    linear-gradient(90deg, rgba(255, 255, 255, 0.065), transparent 18%),
    linear-gradient(180deg, #25222e 0%, #0e0c14 100%);
  box-shadow:
    -24px 24px 32px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.09),
    0 0 0 1px rgba(255, 255, 255, 0.035);
  transform: perspective(var(--pack-perspective, 800px)) rotateY(var(--pack-rotate, -18deg));
}

.store-pack-box {
  --pack-width: 182px;
  --pack-name-size: 1.4rem;
  --pack-perspective: 900px;
  --pack-rotate: -16deg;
}

.home-product-box {
  --pack-width: 164px;
  --pack-name-size: 1.3rem;
  --pack-perspective: 800px;
  --pack-rotate: -18deg;
}

.store-pack-box::before,
.home-product-box::before {
  content: "CRONUS";
  position: absolute;
  top: 0.46rem;
  bottom: 0.5rem;
  left: -1.04rem;
  z-index: 0;
  display: grid;
  place-items: center;
  width: 1.18rem;
  border-radius: 7px 0 0 7px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 32%),
    linear-gradient(180deg, #15131d 0%, #08070d 100%);
  color: rgba(232, 226, 255, 0.38);
  font-size: 0.46rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: skewY(-7deg);
  transform-origin: right center;
}

.store-pack-box::after,
.home-product-box::after {
  content: "";
  position: absolute;
  right: 0.8rem;
  bottom: 2.25rem;
  z-index: 0;
  width: 3.1rem;
  height: 2.15rem;
  border: 0.42rem solid rgba(221, 216, 247, 0.06);
  border-radius: 0.62rem;
  background: rgba(221, 216, 247, 0.035);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.035);
  transform: rotate(-8deg);
}

.product-box-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.45rem;
  min-width: 0;
}

.product-cronus-mark {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  color: rgba(235, 230, 248, 0.86);
  font-size: 0.54rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
}

.product-cronus-mark::before {
  content: "";
  width: 0.46rem;
  height: 0.46rem;
  margin-right: 0.26rem;
  border: 1px solid rgba(154, 133, 255, 0.72);
  border-radius: 999px;
  box-shadow:
    0.34rem 0 0 -0.24rem rgba(154, 133, 255, 0.72),
    0 0 12px rgba(154, 133, 255, 0.24);
}

.product-platform-badge {
  display: inline-grid;
  place-items: center;
  min-width: 1.58rem;
  min-height: 1.42rem;
  padding: 0 0.28rem;
  border: 1px solid rgba(154, 133, 255, 0.28);
  border-radius: 0.34rem;
  background: rgba(154, 133, 255, 0.1);
  color: rgba(244, 240, 255, 0.9);
  font-size: 0.56rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.store-pack-box strong,
.home-product-box strong {
  position: relative;
  z-index: 1;
  align-self: center;
  display: grid;
  gap: 0.06rem;
  max-width: 100%;
  color: #f7f4ff;
  font-family: "Space Grotesk", sans-serif;
  font-size: var(--pack-name-size, 1.3rem);
  line-height: 0.95;
  letter-spacing: 0;
  text-transform: uppercase;
}

.store-pack-box strong span,
.home-product-box strong span {
  display: block;
}

.product-box-subline {
  position: relative;
  z-index: 1;
  color: rgba(233, 226, 255, 0.66);
  font-size: 0.56rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.store-script-body {
  align-content: start;
}

.store-script-body p {
  margin: 0;
}

.store-script-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 0.2rem;
}

.store-script-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.6rem;
  padding: 0.68rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: #f3efff;
  font-weight: 700;
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.store-script-links a:hover {
  transform: translateY(-2px);
  border-color: rgba(172, 151, 255, 0.34);
  background: rgba(122, 99, 255, 0.16);
}

.store-coming-card .store-pack-visual {
  background:
    radial-gradient(circle at 50% 30%, rgba(255, 204, 112, 0.18), transparent 11rem),
    linear-gradient(180deg, #282533 0%, #17131f 100%);
}

.store-coming-card .store-pack-box {
  border: 1px solid rgba(255, 204, 112, 0.18);
}

.store-disclaimer {
  padding-top: 0.8rem;
  border-top: 0;
}

.game-section {
  display: grid;
  gap: 1rem;
  scroll-margin-top: 7rem;
}

.game-section + .game-section {
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.game-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
}

.game-section-head h3 {
  margin-top: 0.45rem;
  font-size: 2rem;
}

.game-section-head p {
  max-width: 34rem;
  margin: 0;
  color: var(--muted);
}

.catalog-head {
  display: grid;
  gap: 0.45rem;
}

.catalog-head p {
  margin: 0;
  color: var(--muted);
}

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

.home-products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1.85rem;
  align-items: start;
}

.home-product-card {
  display: block;
  overflow: visible;
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  transition: transform 180ms ease, filter 180ms ease;
}

.home-product-card:hover {
  transform: translateY(-4px);
  filter: drop-shadow(0 22px 34px rgba(0, 0, 0, 0.26));
}

.home-product-media {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(19rem, 29vw, 24rem);
  padding: 0.35rem;
  overflow: visible;
  background: transparent;
}

.home-product-art {
  position: relative;
  z-index: 2;
  width: min(100%, 18rem);
  height: auto;
  filter:
    drop-shadow(0 30px 34px rgba(0, 0, 0, 0.62))
    drop-shadow(0 0 26px rgba(126, 94, 255, 0.12));
  transition: transform 220ms ease, filter 220ms ease;
}

.home-product-card:hover .home-product-art,
.game-selector-card:hover .home-product-art,
.game-selector-card[aria-selected="true"] .home-product-art {
  transform: translateY(-4px) scale(1.025);
  filter:
    drop-shadow(0 36px 40px rgba(0, 0, 0, 0.7))
    drop-shadow(0 0 34px rgba(126, 94, 255, 0.18));
}

.home-product-body {
  padding: 0.75rem 1.2rem 0;
  text-align: center;
  text-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.home-product-body h2 {
  margin: 0;
  color: #f1ecff;
  font-size: 1.46rem;
}

.home-product-body p {
  margin: 0.45rem 0 0;
  color: rgba(231, 226, 247, 0.92);
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.home-status-pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 1.55rem;
  margin-top: 0.65rem;
  padding: 0.26rem 0.55rem;
  border: 1px solid rgba(255, 204, 112, 0.18);
  border-radius: 999px;
  background: rgba(255, 204, 112, 0.08);
  color: rgba(255, 237, 196, 0.96);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-disclaimer {
  display: grid;
  gap: 1.9rem;
  max-width: 64rem;
  margin: 0 auto;
  padding-top: 2.75rem;
  border-top: 1px solid rgba(145, 126, 255, 0.14);
  text-align: center;
}

.home-disclaimer p {
  margin: 0;
  color: rgba(217, 209, 240, 0.84);
  font-size: 1.02rem;
}

.home-payment-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
}

.home-payment-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 4.15rem;
  min-height: 2.15rem;
  padding: 0.35rem 0.75rem;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.94);
  color: #0f0d16;
  font-size: 0.82rem;
  font-weight: 700;
}

.home-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem 0 0;
  color: rgba(215, 206, 241, 0.74);
}

.home-footer p {
  margin: 0;
}

.home-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.15rem;
}

.home-footer-links a {
  color: rgba(232, 226, 255, 0.84);
  font-weight: 600;
}

.product-card {
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background: rgba(12, 8, 24, 0.82);
  box-shadow: var(--shadow);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(172, 151, 255, 0.3);
  box-shadow: 0 32px 70px rgba(0, 0, 0, 0.34);
}

.product-visual {
  display: flex;
  align-items: flex-end;
  min-height: 200px;
  padding: 1.2rem;
  color: #fff;
  font-family: "Space Grotesk", sans-serif;
  font-size: 2.8rem;
  font-weight: 700;
  letter-spacing: 0;
}

.tone-2k {
  background: linear-gradient(135deg, #b62f12, #f15c22 60%, #ffd166);
}

.tone-cod {
  background: linear-gradient(135deg, #1f1f1f, #434343 50%, #1d9a7d);
}

.tone-ow {
  background: linear-gradient(135deg, #15395c, #3270a8 55%, #ffd166);
}

.tone-arc {
  background: linear-gradient(135deg, #20201a, #59653c 55%, #b9d85c);
}

.product-body {
  display: grid;
  gap: 1rem;
  padding: 1.35rem;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(230, 223, 250, 0.92);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.product-footer strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.05rem;
}

.product-footer a {
  color: var(--accent-2);
  font-weight: 700;
}

.guide-tree {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--muted);
}

.guide-tree li + li {
  margin-top: 0.4rem;
}

.video-shelf,
.faq-section {
  display: grid;
  gap: 1.2rem;
}

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

.video-card {
  display: grid;
  gap: 1rem;
  padding: 1rem;
  border-radius: var(--radius-lg);
}

.video-frame {
  display: grid;
  place-items: center;
  min-height: 180px;
  border: 1px dashed rgba(155, 134, 245, 0.28);
  border-radius: var(--radius-md);
  background:
    radial-gradient(circle at top left, rgba(132, 108, 255, 0.12), transparent 14rem),
    linear-gradient(135deg, rgba(122, 99, 255, 0.16), rgba(16, 12, 28, 0.88));
  color: rgba(228, 221, 248, 0.82);
  font-weight: 700;
  text-align: center;
}

.faq-list {
  display: grid;
  gap: 0.8rem;
}

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

.faq-list details {
  padding: 1rem 1.1rem;
  border-radius: var(--radius-md);
}

.faq-list summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list p {
  margin: 0.8rem 0 0;
}

.download-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 1.2rem;
}

.download-card {
  display: grid;
  gap: 1rem;
  padding: 1.55rem;
  border-radius: var(--radius-xl);
}

.primary-download {
  background:
    radial-gradient(circle at top left, rgba(147, 124, 255, 0.2), transparent 18rem),
    linear-gradient(135deg, rgba(122, 99, 255, 0.16), rgba(16, 12, 28, 0.9)),
    var(--paper);
}

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

.release-card,
.community-card {
  display: grid;
  gap: 0.9rem;
  padding: 1.45rem;
  border-radius: var(--radius-lg);
}

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

.timeline-step {
  display: grid;
  gap: 0.85rem;
  padding: 1.4rem;
  border-radius: var(--radius-lg);
}

.timeline-step span {
  display: inline-grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #7f63ff, #6245ef);
  color: #fff;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
}

.site-footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.2rem;
  margin-top: 4rem;
  padding: 1.6rem 0 0;
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0.35rem 0 0;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.1rem;
}

.footer-links a {
  color: rgba(232, 226, 255, 0.8);
  font-weight: 700;
}

.footer-links a:hover,
.home-footer-links a:hover {
  color: #fff;
}

/* Public real-space theme: the image carries the planet/horizon; canvas adds slow life. */
body:not([data-page="downloads"]) {
  background: #030208;
}

body:not([data-page="downloads"])::before {
  inset: -10%;
  z-index: 1;
  background-image:
    radial-gradient(ellipse at 12% 58%, rgba(198, 147, 255, 0.22), transparent 22rem),
    radial-gradient(ellipse at 17% 84%, rgba(140, 76, 255, 0.24), transparent 30rem),
    radial-gradient(ellipse at 78% 73%, rgba(180, 114, 255, 0.2), transparent 34rem),
    radial-gradient(ellipse at 58% 98%, rgba(124, 72, 225, 0.32), transparent 44rem),
    radial-gradient(ellipse at 74% 48%, rgba(255, 235, 255, 0.11), transparent 18rem),
    linear-gradient(180deg, rgba(3, 2, 8, 0.01), rgba(3, 2, 8, 0.36));
  background-size: 120% 120%, 118% 116%, 126% 120%, 112% 112%, 100% 100%, 100% 100%;
  background-position: 0% 0%, 0% 100%, 100% 82%, 50% 100%, 76% 46%, center;
  filter: blur(13px) saturate(1.18);
  mix-blend-mode: screen;
  opacity: 0.78;
  transform: translate3d(0, 0, 0) scale(1.02);
  animation: ug-mist-drift 46s ease-in-out infinite alternate;
  will-change: transform, opacity;
}

body:not([data-page="downloads"])::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(180deg, rgba(2, 1, 6, 0.06) 0%, rgba(2, 1, 6, 0.04) 48%, rgba(2, 1, 6, 0.2) 100%),
    radial-gradient(ellipse at 50% 30%, rgba(132, 108, 255, 0.1), transparent 34rem),
    url("assets/universal-space-backdrop.png");
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 1;
}

@keyframes ug-mist-drift {
  0% {
    opacity: 0.62;
    transform: translate3d(-1.6%, 0.3%, 0) scale(1.02);
    background-position: 0% 0%, 0% 100%, 100% 82%, 50% 100%, 76% 46%, center;
  }

  52% {
    opacity: 0.86;
    transform: translate3d(0.9%, -0.4%, 0) scale(1.045);
    background-position: 4% 2%, 7% 96%, 95% 78%, 47% 98%, 72% 49%, center;
  }

  100% {
    opacity: 0.72;
    transform: translate3d(1.9%, -0.9%, 0) scale(1.06);
    background-position: 8% 3%, 10% 92%, 92% 74%, 44% 96%, 69% 52%, center;
  }
}

body:not([data-page="downloads"]) .home-cosmos {
  opacity: 0.72;
}

body[data-page="home"] .home-cosmos {
  opacity: 0.78;
}

body:not([data-page="downloads"]) .site-shell-home {
  width: min(calc(100% - 2.1rem), 1500px);
}

body:not([data-page="downloads"]) .home-header {
  position: sticky;
  top: 0;
  z-index: 40;
  flex-direction: row;
  justify-content: space-between;
  gap: 1.4rem;
  min-height: 4.9rem;
  margin-top: 0;
  padding: 0.85rem 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

body:not([data-page="downloads"]) .home-header .brand {
  flex-direction: row;
  justify-content: flex-start;
}

body:not([data-page="downloads"]) .home-header .brand-image,
body:not([data-page="downloads"]) .store-header-cosmic .brand-image,
body:not([data-page="downloads"]) .page-header-cosmic .brand-image {
  width: clamp(9.2rem, 13vw, 12.8rem);
  filter:
    drop-shadow(0 0 18px rgba(132, 108, 255, 0.22))
    drop-shadow(0 12px 22px rgba(0, 0, 0, 0.34));
}

body:not([data-page="downloads"]) .home-header .primary-nav {
  justify-content: flex-end;
}

body:not([data-page="downloads"]) .home-header .primary-nav a,
body:not([data-page="downloads"]) .store-header-cosmic .primary-nav a,
body:not([data-page="downloads"]) .page-header-cosmic .primary-nav a {
  font-size: 0.98rem;
  letter-spacing: 0.055em;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.72);
}

body:not([data-page="downloads"]) .home-main {
  gap: 5rem;
  padding-top: 0;
}

body:not([data-page="downloads"]) .home-hero {
  min-height: calc(100svh - 6.8rem);
  align-content: center;
  gap: 1rem;
  max-width: 76rem;
  padding: clamp(4rem, 8vh, 7rem) 0 clamp(2.4rem, 5vh, 4.2rem);
}

body:not([data-page="downloads"]) .home-hero h1 {
  max-width: 13ch;
  font-size: clamp(3.7rem, 8vw, 7.6rem);
  line-height: 0.86;
  text-transform: uppercase;
  text-shadow:
    0 0 38px rgba(132, 108, 255, 0.16),
    0 14px 42px rgba(0, 0, 0, 0.4);
}

.home-gradient-text {
  color: transparent;
  background: linear-gradient(180deg, #efeaff 0%, #9f72ff 46%, #6a39df 100%);
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow: none;
}

body:not([data-page="downloads"]) .home-lead {
  max-width: 52rem;
  color: rgba(232, 226, 255, 0.86);
}

body:not([data-page="downloads"]) .home-tagline {
  color: rgba(247, 244, 255, 0.94);
  text-transform: uppercase;
  letter-spacing: 0.035em;
}

body:not([data-page="downloads"]) .store-main-cosmic {
  padding-top: 0;
}

body:not([data-page="downloads"]) .store-hero-cosmic {
  min-height: 13rem;
  padding: 3.2rem 0 0.8rem;
}

body:not([data-page="downloads"]) .page-hero-cosmic {
  min-height: 11rem;
  padding: 2.8rem 0 0.8rem;
}

body:not([data-page="downloads"]) .store-payment-panel,
body:not([data-page="downloads"]) .feature-card,
body:not([data-page="downloads"]) .support-message-card,
body:not([data-page="downloads"]) .cta-band,
body:not([data-page="downloads"]) .faq-list details,
body:not([data-page="downloads"]) .store-panel-shell {
  background:
    radial-gradient(circle at top left, rgba(132, 108, 255, 0.11), transparent 18rem),
    rgba(8, 5, 18, 0.42);
  border-color: rgba(166, 145, 255, 0.16);
  box-shadow: 0 22px 64px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(10px);
}

body:not([data-page="downloads"]) .store-payment-panel {
  background: transparent;
  border-bottom-color: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

body:not([data-page="downloads"]) .home-product-card,
body:not([data-page="downloads"]) .game-selector-card {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

body:not([data-page="downloads"]) .home-product-card:hover,
body:not([data-page="downloads"]) .game-selector-card:hover,
body:not([data-page="downloads"]) .game-selector-card[aria-selected="true"] {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}

body:not([data-page="downloads"]) .home-product-media {
  background: transparent;
}

body:not([data-page="downloads"]) .home-product-body {
  border-top: 0;
  background: transparent;
}

@media (max-width: 1024px) {
  body[data-page="downloads"] {
    overflow: auto;
  }

  .loader-app-shell {
    height: auto;
    overflow: visible;
  }

  .loader-app-main {
    grid-template-columns: 1fr;
  }

  .loader-auth-shell {
    grid-template-columns: 1fr;
  }

  .loader-state-card--steps {
    grid-template-columns: 1fr;
    grid-template-areas:
      "kicker"
      "title"
      "copy"
      "actions"
      "steps"
      "note";
  }

  body.is-loader-auth-gated .loader-state-card--steps {
    grid-template-columns: 1fr;
    grid-template-areas:
      "kicker"
      "title"
      "copy"
      "actions"
      "steps"
      "note";
  }

  .loader-app-sidebar {
    padding-bottom: 0.4rem;
  }

  .loader-device-controls {
    padding-top: 1rem;
  }

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

  .hero-home,
  .split-showcase,
  .catalog-layout,
  .guide-layout,
  .download-hero,
  .cta-band,
  .loader-preview-grid {
    grid-template-columns: 1fr;
  }

  .store-panel-head {
    align-items: start;
    flex-direction: column;
  }

  .store-payment-panel {
    grid-template-columns: 1fr;
  }

  .metrics-strip,
  .card-grid,
  .card-grid-wide,
  .product-grid,
  .store-selector-grid,
  .store-script-grid,
  .home-products,
  .loader-library-groups,
  .loader-script-grid,
  .faq-list-compact,
  .video-grid,
  .timeline-grid,
  .release-layout,
  .community-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .catalog-sidebar,
  .guide-sidebar {
    position: static;
  }

  .notice-bar {
    align-items: flex-start;
    flex-direction: column;
  }

  .game-section-head {
    align-items: start;
    flex-direction: column;
  }

  body:not([data-page="downloads"]) .home-header {
    padding-inline: 0;
  }

  body:not([data-page="downloads"]) .home-hero h1 {
    font-size: clamp(3.2rem, 10vw, 6rem);
  }
}

@media (max-width: 760px) {
  .loader-app-header,
  .loader-app-main,
  .loader-app-statusbar {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }

  .loader-app-header,
  .loader-app-statusbar,
  .loader-status-left,
  .loader-status-right {
    align-items: flex-start;
    flex-direction: column;
  }

  .loader-app-brand {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.6rem;
  }

  .loader-app-actions {
    width: 100%;
    justify-content: stretch;
  }

  .loader-app-button {
    flex: 1 1 100%;
  }

  .loader-auth-card {
    padding: 1.25rem;
  }

  .loader-simple-steps {
    grid-template-columns: 1fr;
  }

  .loader-library-groups {
    grid-template-columns: 1fr;
  }

  .loader-slots-board {
    grid-template-columns: 1fr;
    padding: 0.7rem 0.85rem;
  }

  .loader-slot-card {
    min-height: 8.6rem;
  }

  .loader-hyper-gate {
    width: min(18rem, 68vmin);
  }

  .loader-hyper-hud {
    gap: 0.5rem;
    transform: translateY(26vh);
  }

  .loader-hyper-hud h2 {
    font-size: 1.75rem;
  }

  .loader-hyper-active,
  .loader-hyper-message {
    font-size: 0.86rem;
  }

  .loader-hyper-checkpoint {
    width: 1.82rem;
    height: 1.82rem;
    font-size: 0.82rem;
  }

  .site-shell {
    width: min(calc(100% - 1rem), var(--max-width));
  }

  .site-header {
    border-radius: 28px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .primary-nav {
    position: absolute;
    top: calc(100% + 0.85rem);
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 0.8rem;
    border: 1px solid var(--line);
    border-radius: 26px;
    background: rgba(10, 7, 19, 0.95);
    box-shadow: var(--shadow);
  }

  .primary-nav.is-open {
    display: flex;
  }

  body:not([data-page="downloads"]) .home-header {
    min-height: 4.8rem;
  }

  body:not([data-page="downloads"]) .home-header .brand-image {
    width: min(10rem, 58vw);
  }

  body:not([data-page="downloads"])::after {
    background-position: 37% top;
    background-size: auto 100svh;
  }

  .store-payment-actions {
    grid-template-columns: 1fr;
  }

  .metrics-strip,
  .card-grid,
  .card-grid-wide,
  .product-grid,
  .store-selector-grid,
  .store-script-grid,
  .home-products,
  .loader-script-grid,
  .faq-list-compact,
  .video-grid,
  .timeline-grid,
  .release-layout,
  .community-layout {
    grid-template-columns: 1fr;
  }

  .loader-preview-topbar,
  .loader-status-badges,
  .loader-check-item {
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: column;
  }

  .hero-copy,
  .hero-panel,
  .feature-card,
  .sidebar-box,
  .download-card,
  .community-card,
  .timeline-step,
  .loader-preview-shell,
  .loader-panel {
    padding: 1.25rem;
  }

  h1 {
    max-width: none;
  }

  .home-hero h1 {
    max-width: none;
  }

  body:not([data-page="downloads"]) .home-hero {
    min-height: auto;
    padding: 3.2rem 0 2.2rem;
  }

  .home-footer {
    flex-direction: column;
    text-align: center;
  }

  .site-footer {
    flex-direction: column;
  }

  .store-panel-shell {
    padding: 1.2rem;
  }
}

/* === Public-gate layer ===
   `body.is-public-gated` = visitor has NOT verified via Discord.
   `.members-only` hides until verified; `.members-gate-placeholder` shows ONLY when gated.
   On verified pages the body class is removed and the visibility flips. */

.members-gate-placeholder {
  display: none;
}

body.is-public-gated .members-only {
  display: none !important;
}

/* Defensive: explicit hides on the heavy shells in case any later rule
   wins specificity on `display`. */
body.is-public-gated .loader-app-shell,
body.is-public-gated .home-products,
body.is-public-gated .store-products-showcase,
body.is-public-gated .store-payment-panel,
body.is-public-gated .store-selector-section {
  display: none !important;
}

body.is-public-gated .members-gate-placeholder {
  display: block;
}

/* Inverse of .members-only: hides when user IS signed in (the gate has lifted). */
body:not(.is-public-gated) .public-only {
  display: none !important;
}

.store-gate-placeholder {
  margin: 2.4rem auto;
  max-width: 720px;
  padding: 2rem 2.4rem;
  text-align: center;
  border-radius: 16px;
  border: 1px solid rgba(147, 51, 234, 0.35);
  background: rgba(20, 12, 36, 0.78);
  box-shadow: 0 0 40px rgba(147, 51, 234, 0.15);
}

.store-gate-placeholder h2 {
  margin: 0 0 0.6rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.6rem;
  letter-spacing: 0.04em;
  color: #f3e9ff;
}

.store-gate-placeholder p {
  margin: 0 0 1.2rem;
  color: #c8b9d6;
  line-height: 1.5;
}

.store-gate-placeholder .hero-actions {
  justify-content: center;
}

.home-gate-placeholder {
  margin: 2.4rem auto;
  max-width: 780px;
  padding: 2.2rem 2.4rem;
  text-align: center;
  border-radius: 18px;
  border: 1px solid rgba(147, 51, 234, 0.35);
  background: rgba(20, 12, 36, 0.78);
  box-shadow: 0 0 50px rgba(147, 51, 234, 0.18);
}

.home-gate-placeholder h2 {
  margin: 0 0 0.6rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.7rem;
  letter-spacing: 0.04em;
  color: #f3e9ff;
}

.home-gate-placeholder p {
  margin: 0 0 1rem;
  color: #c8b9d6;
  line-height: 1.55;
}

.home-gate-placeholder .home-gate-steps {
  list-style: none;
  padding: 0;
  margin: 0 0 1.6rem;
  display: grid;
  gap: 0.85rem;
}

.home-gate-placeholder .home-gate-step {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1.1rem;
  border-radius: 14px;
  border: 1px solid rgba(147, 51, 234, 0.35);
  background: rgba(28, 16, 50, 0.6);
  box-shadow: inset 0 0 30px rgba(147, 51, 234, 0.08);
  text-align: left;
}

.home-gate-placeholder .home-gate-step-num {
  flex: none;
  width: 2.4rem;
  height: 2.4rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(147, 51, 234, 0.55), rgba(92, 234, 255, 0.35));
  color: #fff;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  box-shadow: 0 0 18px rgba(147, 51, 234, 0.45);
}

.home-gate-placeholder .home-gate-step-body {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.home-gate-placeholder .home-gate-step-body strong {
  color: #f3e9ff;
  font-size: 1rem;
  letter-spacing: 0.02em;
}

.home-gate-placeholder .home-gate-step-body span {
  color: #a99dbe;
  font-size: 0.88rem;
  line-height: 1.4;
}

/* Post-OAuth state banner — appears when sign-in completed but the gate is still down */
.auth-state-banner {
  margin: 1.6rem auto 2rem;
  max-width: 780px;
  padding: 1.6rem 2rem;
  text-align: center;
  border-radius: 16px;
  border: 1px solid rgba(255, 200, 100, 0.4);
  background: rgba(40, 26, 12, 0.78);
  box-shadow: 0 0 50px rgba(255, 180, 80, 0.18);
  color: #f5ecd9;
}

.auth-state-banner h2 {
  margin: 0 0 0.6rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.4rem;
  color: #ffd99a;
}

.auth-state-banner p {
  margin: 0 0 1rem;
  color: #d9c9a8;
  line-height: 1.55;
}

.auth-state-banner .auth-state-note {
  font-size: 0.88rem;
  color: #b8a585;
}

.auth-state-banner.auth-state-unverified {
  border-color: rgba(120, 200, 255, 0.4);
  background: rgba(14, 24, 44, 0.85);
  box-shadow: 0 0 50px rgba(80, 160, 255, 0.18);
  color: #e4f0ff;
}

.auth-state-banner.auth-state-unverified h2 {
  color: #aad7ff;
}

.auth-state-banner.auth-state-unverified p {
  color: #c2d4ec;
}

.auth-state-banner .hero-actions {
  justify-content: center;
}

.home-gate-placeholder .hero-actions {
  justify-content: center;
}

.home-verify-explainer {
  margin: 2.4rem auto 1.6rem;
  max-width: 760px;
  padding: 1.6rem 2rem;
  text-align: center;
  border-radius: 14px;
  border: 1px solid rgba(147, 51, 234, 0.25);
  background: rgba(15, 10, 30, 0.55);
}

.home-verify-explainer h2 {
  margin: 0 0 0.6rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.3rem;
  letter-spacing: 0.03em;
  color: #f3e9ff;
}

.home-verify-explainer p {
  margin: 0 0 0.8rem;
  color: #c8b9d6;
  line-height: 1.55;
}

.home-verify-explainer .home-verify-sub {
  margin: 0;
  font-weight: 500;
  color: #d4a85a;
}

.home-product-genre {
  margin: 0.4rem 0 0.1rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #d4a85a;
}

.home-product-vibe {
  margin: 0;
  font-size: 0.85rem;
  color: #c8b9d6;
  font-style: italic;
}

.home-pillars {
  margin: 3rem auto 2rem;
  max-width: 1100px;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.2rem;
}

.home-pillar {
  padding: 1.4rem 1.5rem;
  border-radius: 14px;
  border: 1px solid rgba(147, 51, 234, 0.25);
  background: rgba(15, 10, 30, 0.55);
  text-align: left;
}

.home-pillar h3 {
  margin: 0 0 0.5rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
  letter-spacing: 0.03em;
  color: #f3e9ff;
}

.home-pillar p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #c8b9d6;
}

.loader-gate-placeholder {
  margin: 4rem auto;
  max-width: 540px;
  padding: 2.4rem 2.2rem;
  text-align: center;
  border-radius: 16px;
  border: 1px solid rgba(147, 51, 234, 0.35);
  background: rgba(20, 12, 36, 0.78);
  box-shadow: 0 0 40px rgba(147, 51, 234, 0.15);
}

.loader-gate-placeholder h2 {
  margin: 0 0 0.6rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.6rem;
  letter-spacing: 0.04em;
  color: #f3e9ff;
}

.loader-gate-placeholder p {
  margin: 0 0 1.2rem;
  color: #c8b9d6;
  line-height: 1.5;
}

/* === Nav profile (signed-in user pill in the header) === */
.nav-profile {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-left: 1rem;
  min-height: 36px;
}

.nav-profile-signin {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  background: rgba(147, 51, 234, 0.22);
  border: 1px solid rgba(147, 51, 234, 0.5);
  color: #f3e9ff;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.85rem;
  text-decoration: none;
  transition: background 120ms ease, border-color 120ms ease;
}

.nav-profile-signin:hover {
  background: rgba(147, 51, 234, 0.4);
  border-color: rgba(147, 51, 234, 0.8);
}

.nav-profile-user {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.35rem 0.85rem 0.35rem 0.4rem;
  border-radius: 999px;
  background: rgba(20, 12, 36, 0.7);
  border: 1px solid rgba(147, 51, 234, 0.35);
  color: #f3e9ff;
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 0.85rem;
  text-decoration: none;
  cursor: pointer;
  transition: background 120ms ease, border-color 120ms ease;
}

.nav-profile-user:hover {
  background: rgba(30, 18, 50, 0.85);
  border-color: rgba(147, 51, 234, 0.6);
}

.nav-profile-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(147, 51, 234, 0.5);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #f3e9ff;
  font-weight: 700;
  font-size: 0.75rem;
  overflow: hidden;
}

.nav-profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.nav-profile-username {
  font-weight: 500;
  letter-spacing: 0.01em;
}

.nav-profile-signout {
  margin-left: 0.4rem;
  color: #c8b9d6;
  text-decoration: none;
  font-size: 0.78rem;
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: 0.03em;
}

.nav-profile-signout:hover {
  color: #d4a85a;
}

.nav-profile-loader {
  margin-left: 0.6rem;
}

/* === Profile page === */
.profile-gate {
  margin: 3rem auto;
  max-width: 540px;
  padding: 2.4rem 2.2rem;
  text-align: center;
  border-radius: 16px;
  border: 1px solid rgba(147, 51, 234, 0.35);
  background: rgba(20, 12, 36, 0.78);
  box-shadow: 0 0 40px rgba(147, 51, 234, 0.15);
}

.profile-gate h2 {
  margin: 0 0 0.6rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.6rem;
  color: #f3e9ff;
}

.profile-gate p {
  margin: 0 0 1.2rem;
  color: #c8b9d6;
  line-height: 1.5;
}

.profile-shell {
  max-width: 1100px;
  margin: 2.4rem auto 4rem;
  padding: 0 1.5rem;
}

.profile-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
  padding: 1.8rem 2rem;
  border-radius: 18px;
  border: 1px solid rgba(147, 51, 234, 0.3);
  background: rgba(15, 10, 30, 0.7);
  margin-bottom: 1.6rem;
}

.profile-identity {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.profile-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(147, 51, 234, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 2px solid rgba(147, 51, 234, 0.55);
  flex-shrink: 0;
}

.profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-avatar-fallback {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #f3e9ff;
}

.profile-identity-copy h1 {
  margin: 0 0 0.3rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.7rem;
  color: #f3e9ff;
  letter-spacing: 0.02em;
}

.profile-id {
  margin: 0;
  font-size: 0.8rem;
  color: #897799;
  font-family: "IBM Plex Sans", monospace;
}

.profile-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.profile-chip {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.profile-chip.chip-verified {
  background: rgba(46, 125, 50, 0.25);
  border: 1px solid rgba(46, 125, 50, 0.6);
  color: #c8f0c8;
}

.profile-chip.chip-premium {
  background: rgba(147, 51, 234, 0.3);
  border: 1px solid rgba(147, 51, 234, 0.7);
  color: #f3e9ff;
}

.profile-chip.chip-founding {
  background: rgba(212, 168, 90, 0.25);
  border: 1px solid rgba(212, 168, 90, 0.7);
  color: #f7e6c2;
}

.profile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 1.2rem;
}

.profile-card {
  padding: 1.6rem 1.6rem 1.2rem;
  border-radius: 14px;
  border: 1px solid rgba(147, 51, 234, 0.25);
  background: rgba(15, 10, 30, 0.6);
}

.profile-card-wide {
  grid-column: 1 / -1;
}

.profile-card h2 {
  margin: 0 0 1rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.1rem;
  letter-spacing: 0.03em;
  color: #f3e9ff;
}

.profile-dl {
  margin: 0 0 0.8rem;
  display: grid;
  grid-template-columns: minmax(130px, max-content) 1fr;
  gap: 0.55rem 1rem;
}

.profile-dl dt {
  color: #897799;
  font-size: 0.85rem;
  white-space: nowrap;
}

.profile-dl dd {
  margin: 0;
  color: #e8e0d0;
  font-weight: 500;
  font-size: 0.9rem;
  overflow-wrap: anywhere;
  word-break: break-word;
  min-width: 0;
}

/* Monospace + slightly tighter for serial numbers — they're long and read better in mono */
.profile-dl dd[data-profile-serial] {
  font-family: "IBM Plex Sans", monospace;
  letter-spacing: 0.02em;
  font-size: 0.85rem;
}

.profile-card-note {
  margin: 0;
  color: #6b5d7a;
  font-size: 0.75rem;
  font-style: italic;
  line-height: 1.45;
}

.profile-scripts {
  list-style: none;
  margin: 0 0 0.8rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.profile-script-item {
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  background: rgba(147, 51, 234, 0.25);
  border: 1px solid rgba(147, 51, 234, 0.45);
  color: #f3e9ff;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.85rem;
  text-transform: capitalize;
}

.profile-empty {
  color: #897799;
  font-size: 0.9rem;
  font-style: italic;
}

.profile-empty a {
  color: #d4a85a;
}

.profile-founding-status {
  margin: 0 0 0.8rem;
  color: #e8e0d0;
  font-size: 0.95rem;
  font-weight: 500;
}

.profile-error {
  margin: 1.2rem 0 0;
  padding: 1rem 1.4rem;
  border-radius: 12px;
  border: 1px solid rgba(183, 28, 28, 0.5);
  background: rgba(183, 28, 28, 0.15);
  color: #ffcdd2;
}

.profile-activity-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.2rem;
  margin: 0 0 1rem;
  color: #c8b9d6;
  font-size: 0.9rem;
}

.profile-activity-stat strong {
  color: #f3e9ff;
  font-weight: 600;
  margin-right: 0.25rem;
}

.profile-activity-stat.profile-activity-fail strong {
  color: #ffbaba;
}

.profile-activity-list {
  list-style: none;
  margin: 0 0 0.8rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.profile-event-item {
  display: grid;
  grid-template-columns: 28px 1fr 1.4fr 1.6fr auto;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.85rem;
  border-radius: 8px;
  background: rgba(20, 12, 36, 0.6);
  border-left: 3px solid transparent;
  font-size: 0.85rem;
  color: #e8e0d0;
  font-family: "IBM Plex Sans", sans-serif;
}

.profile-event-item.profile-event-success {
  border-left-color: rgba(46, 125, 50, 0.7);
}

.profile-event-item.profile-event-failed {
  border-left-color: rgba(183, 28, 28, 0.7);
}

.profile-event-status {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  text-align: center;
}

.profile-event-success .profile-event-status {
  color: #88c98a;
}

.profile-event-failed .profile-event-status {
  color: #ff8888;
}

.profile-event-script {
  text-transform: capitalize;
  color: #f3e9ff;
}

.profile-event-serial {
  font-family: monospace;
  color: #897799;
  font-size: 0.8rem;
}

.profile-event-when {
  color: #897799;
  font-size: 0.78rem;
  text-align: right;
}

.profile-event-fail-reason {
  color: #ff9999;
  font-size: 0.78rem;
}
