/* ==========================================================================
   小天聊AI · XIAOTIAN AI STUDIO (v3 Bioluminescent Ocean & Real Works Edition)
   Features:
   - Full-viewport 3D Ocean Particle Wave backdrop
   - Open Spatial Hero Stage with floating real-work glass cards
   - Real playable 星际探险队 V4 showcase & theater modal
   - Real 16-frame sprite animation stage for 墨榆 (Moyu)
   ========================================================================== */

:root {
  color-scheme: dark;
  --bg: #040812;
  --bg-2: #081122;
  --panel: rgba(11, 20, 38, 0.72);
  --panel-strong: rgba(15, 27, 50, 0.86);
  --panel-solid: #0c1629;
  --line: rgba(164, 212, 255, 0.12);
  --line-strong: rgba(164, 212, 255, 0.24);
  --text: #f4f8ff;
  --text-soft: #d2e0f5;
  --muted: #8ea3c4;
  --faint: #597094;

  --celadon: #5ef2e4;
  --ocean: #38bdf8;
  --celadon-soft: rgba(94, 242, 228, 0.14);
  --gold: #ffcf7d;
  --gold-soft: rgba(255, 207, 125, 0.15);
  --coral: #ff9eb5;
  --indigo: #8ca0ff;

  --header-bg: rgba(6, 13, 26, 0.72);
  --shadow-lg: 0 32px 84px -20px rgba(0, 4, 15, 0.78), 0 1px 0 rgba(255, 255, 255, 0.06) inset;
  --shadow-sm: 0 14px 36px -10px rgba(0, 5, 18, 0.55);

  --font-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei UI", "Microsoft YaHei", sans-serif;
  --font-serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STZhongsong", Georgia, serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 15px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="light"] {
  color-scheme: light;
  --bg: #eef4fa;
  --bg-2: #e2ecf6;
  --panel: rgba(255, 255, 255, 0.80);
  --panel-strong: rgba(255, 255, 255, 0.92);
  --panel-solid: #ffffff;
  --line: rgba(18, 42, 76, 0.10);
  --line-strong: rgba(18, 42, 76, 0.20);
  --text: #0f1b2d;
  --text-soft: #24354f;
  --muted: #536682;
  --faint: #7f92ad;

  --celadon: #08847c;
  --ocean: #0277bd;
  --celadon-soft: rgba(8, 132, 124, 0.11);
  --gold: #b86c0e;
  --gold-soft: rgba(184, 108, 14, 0.12);
  --coral: #d44d6e;
  --indigo: #4b5fd6;

  --header-bg: rgba(240, 246, 252, 0.82);
  --shadow-lg: 0 26px 68px -20px rgba(15, 35, 68, 0.14), 0 1px 0 rgba(255, 255, 255, 0.9) inset;
  --shadow-sm: 0 12px 28px -10px rgba(15, 35, 68, 0.10);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  transition: background-color 0.45s var(--ease-out), color 0.45s var(--ease-out);
}

body.modal-open {
  overflow: hidden;
}

::selection {
  background: rgba(94, 242, 228, 0.28);
  color: var(--text);
}

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--celadon);
  outline-offset: 3px;
}

/* ==========================================================================
   Full-Viewport Bioluminescent Ocean Particle Backdrop
   ========================================================================== */
#oceanCanvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
}

.ocean-vignette {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 55% at 22% 18%, rgba(56, 189, 248, 0.12), transparent 68%),
    radial-gradient(ellipse 70% 55% at 82% 24%, rgba(94, 242, 228, 0.10), transparent 65%),
    linear-gradient(180deg, rgba(4, 8, 18, 0.26) 0%, rgba(4, 8, 18, 0.04) 52%, rgba(4, 8, 18, 0.24) 100%);
}

[data-theme="light"] .ocean-vignette {
  background:
    radial-gradient(ellipse 85% 60% at 22% 18%, rgba(56, 189, 248, 0.12), transparent 68%),
    linear-gradient(180deg, rgba(238, 244, 250, 0.45) 0%, rgba(238, 244, 250, 0.15) 50%, rgba(238, 244, 250, 0.65) 100%);
}

.shell {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* ==========================================================================
   Floating Glass Header
   ========================================================================== */
.site-header-wrap {
  position: sticky;
  top: 14px;
  z-index: 50;
  padding-top: 14px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 64px;
  padding: 0 14px 0 18px;
  border-radius: 999px;
  background: var(--header-bg);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}

.brand-emblem {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  flex-shrink: 0;
  box-shadow: 0 6px 22px rgba(94, 242, 228, 0.24);
  transition: transform 0.4s var(--ease-out);
}

.brand:hover .brand-emblem {
  transform: rotate(-6deg) scale(1.06);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-size: 16px;
  font-weight: 780;
  white-space: nowrap;
}

.brand-sub {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--muted);
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 580;
  color: var(--muted);
  transition: color 0.2s ease, background-color 0.2s ease;
}

.nav-link:hover {
  color: var(--text);
  background: rgba(140, 180, 235, 0.1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 38px;
  padding: 0 13px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(135, 175, 230, 0.08);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-soft);
  white-space: nowrap;
  transition: border-color 0.25s ease, transform 0.2s ease;
}

.theme-toggle:hover {
  border-color: var(--line-strong);
  transform: translateY(-1px);
}

.theme-icon-sun {
  display: none;
}

[data-theme="light"] .theme-icon-moon {
  display: none;
}

[data-theme="light"] .theme-icon-sun {
  display: inline-block;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  background: linear-gradient(125deg, #5ef2e4, #e7f6ff 52%, #ffcf7d);
  color: #06101e;
  box-shadow: 0 8px 24px rgba(94, 242, 228, 0.28);
  white-space: nowrap;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s ease;
}

.header-cta:hover {
  transform: translateY(-1.5px);
  box-shadow: 0 12px 30px rgba(94, 242, 228, 0.4);
}

/* ==========================================================================
   Hero Section — Rich Multi-Layer Spatial Showcase
   ========================================================================== */
.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 36px;
  padding: 38px 0 56px;
  min-height: calc(100svh - 100px);
  position: relative;
}

.hero-copy {
  position: relative;
  z-index: 3;
}

.hero-aurora {
  position: absolute;
  width: 440px;
  height: 320px;
  left: -90px;
  top: 20px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.18), rgba(94, 242, 228, 0.08) 52%, transparent 74%);
  filter: blur(60px);
  z-index: -1;
  pointer-events: none;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 15px 7px 11px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--panel);
  backdrop-filter: blur(14px);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--text-soft);
  box-shadow: var(--shadow-sm);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--celadon);
  box-shadow: 0 0 12px var(--celadon);
  animation: pulseGlow 2.4s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes pulseGlow {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(0.75); opacity: 0.55; }
}

.hero-eyebrow-sep {
  color: var(--faint);
}

.hero-eyebrow-tag {
  color: var(--gold);
  font-weight: 600;
}

.hero-title {
  margin: 22px 0 18px;
  font-size: clamp(2.45rem, 4.4vw, 4.15rem);
  font-weight: 820;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.hero-title-serif {
  display: inline-block;
  position: relative;
  font-family: var(--font-serif);
  font-weight: 700;
  letter-spacing: -0.01em;
  background: linear-gradient(112deg, #5ef2e4 0%, #9ad8ff 36%, #ffffff 62%, #ffcf7d 98%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

[data-theme="light"] .hero-title-serif {
  background: linear-gradient(112deg, #067a73 0%, #026aa7 45%, #b86c0e 98%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-underline {
  display: block;
  width: min(340px, 84%);
  height: 12px;
  margin-top: 4px;
  overflow: visible;
}

.hero-lead {
  margin: 0 0 26px;
  max-width: 545px;
  font-size: 16px;
  line-height: 1.85;
  color: var(--muted);
}

.hero-lead strong {
  color: var(--text-soft);
  font-weight: 650;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 50px;
  padding: 0 22px;
  border-radius: 15px;
  font-size: 14.5px;
  font-weight: 700;
  white-space: nowrap;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s ease, border-color 0.25s ease;
}

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

.btn-primary {
  background: linear-gradient(125deg, #5ef2e4 0%, #dcf4ff 50%, #ffcf7d 100%);
  color: #06101e;
  box-shadow: 0 16px 40px -8px rgba(56, 189, 248, 0.42);
}

.btn-primary:hover {
  box-shadow: 0 20px 46px -8px rgba(255, 207, 125, 0.46);
}

.btn-ghost {
  background: var(--panel);
  border: 1px solid var(--line-strong);
  color: var(--text);
  backdrop-filter: blur(14px);
}

.btn-ghost:hover {
  border-color: var(--celadon);
}

/* Quick-Launch Featured Works Strip right inside Hero */
.hero-dock-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 10px;
}

.hero-works-dock {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 555px;
}

.dock-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 11px;
  border-radius: 15px;
  background: var(--panel);
  border: 1px solid var(--line);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-sm);
  text-align: left;
  transition: transform 0.25s var(--ease-out), border-color 0.25s ease, background-color 0.25s ease;
}

.dock-item:hover {
  transform: translateY(-3px);
  border-color: var(--celadon);
  background: var(--panel-strong);
}

.dock-thumb {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: radial-gradient(circle, #ffe4ec, #2c2338);
}

.dock-thumb--icon {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(94, 242, 228, 0.2), rgba(56, 189, 248, 0.12));
  color: var(--celadon);
}

.dock-meta {
  min-width: 0;
}

.dock-title {
  display: block;
  font-size: 12.5px;
  font-weight: 720;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dock-sub {
  display: block;
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ==========================================================================
   Hero Right: Open Boundless 3D Stage + Floating Real-Work Glass Cards
   ========================================================================== */
.hero-spatial-stage {
  position: relative;
  height: 540px;
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
}

/* Luminous Orbital Backdrop Rings (Open Space, NO ugly gray box!) */
.stage-aura {
  position: absolute;
  width: min(430px, 88vw);
  height: min(430px, 88vw);
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(56, 189, 248, 0.24) 0%,
    rgba(94, 242, 228, 0.12) 38%,
    rgba(255, 207, 125, 0.06) 58%,
    transparent 74%
  );
  filter: blur(24px);
  z-index: 0;
  pointer-events: none;
}

.stage-orbit-ring {
  position: absolute;
  width: min(430px, 88vw);
  height: min(430px, 88vw);
  border-radius: 50%;
  border: 1px dashed rgba(140, 210, 255, 0.18);
  pointer-events: none;
  z-index: 0;
  animation: slowSpin 48s linear infinite;
}

.stage-orbit-ring--inner {
  width: min(325px, 68vw);
  height: min(325px, 68vw);
  border-style: solid;
  border-color: rgba(94, 242, 228, 0.14);
  animation-direction: reverse;
  animation-duration: 32s;
}

@keyframes slowSpin {
  to { transform: rotate(360deg); }
}

.sculpture-open-viewport {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 1;
  cursor: grab;
  user-select: none;
  touch-action: pan-y;
}

.sculpture-open-viewport:active {
  cursor: grabbing;
}

#sculptureCanvas {
  width: 100%;
  height: 100%;
  display: block;
}

/* Floating Spatial Showcase Cards Orbiting the 3D Sculpture */
.spatial-card {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 14px 10px 10px;
  border-radius: 18px;
  background: rgba(9, 18, 36, 0.78);
  border: 1px solid rgba(164, 220, 255, 0.24);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  box-shadow: 0 20px 44px -12px rgba(0, 4, 16, 0.72), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  color: #f2f7ff;
  transition: transform 0.3s var(--ease-out), border-color 0.25s ease;
}

.spatial-card:hover {
  border-color: #5ef2e4;
  transform: translateY(-4px) scale(1.03) !important;
}

.spatial-card--moyu {
  top: 24px;
  right: 0;
  animation: floatCardA 6s ease-in-out infinite;
}

.spatial-card--space {
  bottom: 78px;
  left: -8px;
  animation: floatCardB 6.8s ease-in-out infinite;
}

.spatial-badge-top {
  position: absolute;
  top: 22px;
  left: 8px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(8, 16, 32, 0.72);
  border: 1px solid rgba(145, 210, 255, 0.2);
  backdrop-filter: blur(12px);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: #cbe6ff;
  pointer-events: none;
}

@keyframes floatCardA {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

@keyframes floatCardB {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(7px); }
}

.spatial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  object-fit: contain;
  flex-shrink: 0;
}

.spatial-avatar--moyu {
  background: radial-gradient(circle at 50% 45%, #fff0f4 0%, #f5cbd8 70%, #d49bb0 100%);
  padding: 2px;
  border: 1px solid rgba(255, 196, 214, 0.6);
}

.spatial-avatar--space {
  object-fit: cover;
  border: 1px solid rgba(130, 210, 255, 0.45);
}

.spatial-info strong {
  display: block;
  font-size: 13px;
  font-weight: 740;
  color: #ffffff;
  white-space: nowrap;
}

.spatial-info span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: #9ee8ff;
  white-space: nowrap;
}

/* Floating Morph Switcher Dock at Bottom of Hero Stage */
.stage-bottom-dock {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: min(420px, calc(100% - 16px));
  z-index: 4;
}

.morph-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
  padding: 5px;
  border-radius: 999px;
  background: rgba(7, 14, 28, 0.78);
  border: 1px solid rgba(164, 216, 255, 0.18);
  backdrop-filter: blur(16px);
  box-shadow: 0 14px 34px rgba(0, 4, 16, 0.55);
}

.morph-tab {
  padding: 7px 8px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 640;
  color: rgba(210, 228, 252, 0.74);
  text-align: center;
  white-space: nowrap;
  transition: all 0.25s ease;
}

.morph-tab:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

.morph-tab.is-active {
  color: #06101e;
  background: linear-gradient(120deg, #5ef2e4, #eaf8ff 52%, #ffcf7d);
  font-weight: 740;
  box-shadow: 0 4px 16px rgba(94, 242, 228, 0.3);
}

/* ==========================================================================
   Kinetic Studio Ticker Ribbon
   ========================================================================== */
.ticker-band {
  position: relative;
  margin: 4px 0 32px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(8, 16, 32, 0.28);
  backdrop-filter: blur(8px);
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
}

.ticker-track {
  display: flex;
  width: max-content;
  gap: 36px;
  animation: marqueeScroll 34s linear infinite;
}

.ticker-band:hover .ticker-track {
  animation-play-state: paused;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 36px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.ticker-star {
  color: var(--gold);
  font-size: 11px;
}

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ==========================================================================
   Section Headers & Asymmetric Bento Grid
   ========================================================================== */
.section-block {
  padding: 62px 0;
  scroll-margin-top: 94px;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 34px;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 650;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--celadon);
}

.section-kicker::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
}

.section-title {
  margin: 10px 0 0;
  font-size: clamp(1.85rem, 3.2vw, 2.65rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.section-title em {
  font-family: var(--font-serif);
  font-style: normal;
  font-weight: 700;
  color: var(--gold);
}

.section-desc {
  margin: 0;
  max-width: 420px;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--muted);
}

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

.col-7 { grid-column: span 7; }
.col-5 { grid-column: span 5; }

.sculpt-card {
  --spot-x: 50%;
  --spot-y: 0%;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: var(--radius-xl);
  padding: 26px;
  background: var(--panel);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transition: transform 0.35s var(--ease-out), border-color 0.35s ease;
}

.sculpt-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    520px circle at var(--spot-x) var(--spot-y),
    rgba(94, 242, 228, 0.09),
    transparent 46%
  );
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.sculpt-card::after {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: radial-gradient(
    360px circle at var(--spot-x) var(--spot-y),
    rgba(94, 242, 228, 0.6),
    rgba(255, 207, 125, 0.4) 38%,
    transparent 72%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.sculpt-card:hover {
  transform: translateY(-4px);
}

.sculpt-card:hover::before,
.sculpt-card:hover::after {
  opacity: 1;
}

.card-meta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  position: relative;
  z-index: 2;
}

.card-index {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
}

.card-glyph {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(120, 165, 230, 0.12);
  border: 1px solid var(--line-strong);
  color: var(--celadon);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(120, 165, 230, 0.08);
  font-size: 11.5px;
  font-weight: 650;
  color: var(--text-soft);
  white-space: nowrap;
  flex-shrink: 0;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--celadon);
  box-shadow: 0 0 8px currentColor;
}

.status-dot--live { background: #4ade80; color: #4ade80; }
.status-dot--coral { background: var(--coral); color: var(--coral); }
.status-dot--indigo { background: var(--indigo); color: var(--indigo); }

/* ==========================================================================
   CARD 01 (Left): 星际探险队 V4 · 儿童宇宙闯关乐园 (Real Artwork + Mini Quiz)
   ========================================================================== */
.space-stage {
  position: relative;
  min-height: 276px;
  border-radius: 20px;
  overflow: hidden;
  background: #091536;
  border: 1px solid rgba(155, 205, 255, 0.2);
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px;
  isolation: isolate;
}

.space-bg-art {
  position: absolute;
  inset: -10px;
  background-image: url("./assets/space/hero.webp");
  background-size: cover;
  background-position: 62% center;
  z-index: 0;
  transition: transform 0.45s cubic-bezier(0.2, 0.9, 0.3, 1);
}

.space-stage:hover .space-bg-art {
  transform: scale(1.04);
}

.space-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(95deg, rgba(7, 17, 46, 0.90) 0%, rgba(10, 22, 58, 0.68) 54%, rgba(8, 17, 44, 0.25) 100%),
    linear-gradient(180deg, rgba(6, 13, 34, 0.2) 0%, rgba(6, 13, 34, 0.82) 100%);
  z-index: 1;
  pointer-events: none;
}

.space-top-row {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.space-planet-badges {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.planet-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 11px 4px 5px;
  border-radius: 999px;
  background: rgba(14, 28, 68, 0.78);
  border: 1px solid rgba(255, 225, 138, 0.36);
  backdrop-filter: blur(10px);
  font-size: 11.5px;
  font-weight: 700;
  color: #fff2be;
  white-space: nowrap;
}

.planet-chip img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
}

.space-play-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffe88c, #ffad5c);
  color: #241b52;
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 8px 22px rgba(255, 176, 87, 0.42);
  white-space: nowrap;
  transition: transform 0.2s var(--ease-out), filter 0.2s ease;
}

.space-play-cta:hover {
  transform: translateY(-2px) scale(1.03);
  filter: brightness(1.06);
}

/* Interactive Mini Quiz Panel inside Space Card */
.space-quiz-card {
  position: relative;
  z-index: 3;
  max-width: 430px;
  padding: 13px 15px;
  border-radius: 16px;
  background: rgba(12, 25, 62, 0.78);
  border: 1px solid rgba(168, 216, 255, 0.24);
  backdrop-filter: blur(14px);
  color: #f6faff;
}

.sq-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 7px;
}

.sq-subj-tabs {
  display: inline-flex;
  gap: 4px;
}

.sq-subj {
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  color: rgba(215, 232, 255, 0.74);
  background: rgba(255, 255, 255, 0.07);
  white-space: nowrap;
  transition: all 0.2s ease;
}

.sq-subj.is-active {
  background: rgba(110, 235, 255, 0.24);
  color: #a4f5ff;
  border: 1px solid rgba(110, 235, 255, 0.5);
}

.sq-stars {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  color: #ffe07d;
  white-space: nowrap;
}

.sq-question {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
  color: #ffffff;
}

.sq-choices {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.sq-choice {
  padding: 7px 8px;
  border-radius: 11px;
  background: rgba(34, 62, 132, 0.72);
  border: 1.5px solid rgba(190, 222, 255, 0.24);
  font-size: 12px;
  font-weight: 720;
  color: #eef6ff;
  text-align: center;
  white-space: nowrap;
  transition: all 0.18s ease;
}

.sq-choice:hover {
  border-color: #ffe48a;
  transform: translateY(-1.5px);
}

.sq-choice.is-correct {
  background: linear-gradient(135deg, rgba(42, 138, 126, 0.9), rgba(24, 78, 118, 0.9));
  border-color: #7dfcc0;
  color: #d7ffec;
}

.sq-choice.is-hint {
  background: rgba(124, 68, 132, 0.65);
  border-color: #ffb2d0;
}

.sq-feedback {
  margin-top: 8px;
  font-size: 11.5px;
  color: #bfe2ff;
  min-height: 18px;
}

/* ==========================================================================
   CARD 02 (Right): 墨榆的数字生活 · Real 16-Frame Sprite Showcase Stage
   ========================================================================== */
.moyu-stage {
  position: relative;
  min-height: 276px;
  border-radius: 20px;
  /* Warm sakura-champagne studio spotlight behind Moyu so her glossy black fur & pink bow pop! */
  background:
    radial-gradient(circle at 50% 48%, rgba(255, 240, 245, 0.94) 0%, rgba(247, 214, 226, 0.78) 29%, rgba(56, 43, 74, 0.88) 68%, #141629 100%);
  border: 1px solid rgba(255, 200, 218, 0.24);
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  overflow: hidden;
}

.moyu-bubble {
  align-self: center;
  padding: 5px 13px;
  border-radius: 999px;
  background: rgba(20, 18, 36, 0.76);
  border: 1px solid rgba(255, 204, 220, 0.32);
  font-size: 12px;
  font-weight: 600;
  color: #fff0f5;
  backdrop-filter: blur(10px);
  z-index: 3;
  text-align: center;
  max-width: 100%;
}

.moyu-canvas-wrap {
  position: relative;
  width: 176px;
  height: 168px;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 2;
}

.moyu-floor-shadow {
  position: absolute;
  bottom: 10px;
  width: 104px;
  height: 18px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(22, 14, 32, 0.42) 0%, transparent 72%);
  pointer-events: none;
}

#moyuSpriteCanvas {
  width: 168px;
  height: 168px;
  object-fit: contain;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 10px 18px rgba(20, 12, 30, 0.28));
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.moyu-canvas-wrap:hover #moyuSpriteCanvas {
  transform: scale(1.05) translateY(-2px);
}

.moyu-fx-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 4;
}

.moyu-particle {
  position: absolute;
  font-size: 15px;
  color: #ff6b98;
  text-shadow: 0 2px 8px rgba(255, 107, 152, 0.45);
  animation: floatUpFade 1.1s var(--ease-out) forwards;
}

@keyframes floatUpFade {
  0% { transform: translate(-50%, 0) scale(0.6); opacity: 1; }
  100% { transform: translate(calc(-50% + var(--dx, 0px)), -58px) scale(1.2); opacity: 0; }
}

.moyu-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5px;
  z-index: 3;
}

.moyu-btn {
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(18, 18, 34, 0.72);
  border: 1px solid rgba(255, 210, 224, 0.25);
  font-size: 11.5px;
  font-weight: 650;
  color: #f6e8ee;
  white-space: nowrap;
  backdrop-filter: blur(8px);
  transition: all 0.2s ease;
}

.moyu-btn:hover,
.moyu-btn.is-active {
  background: linear-gradient(135deg, #ff9eb5, #ffc8d6);
  border-color: #ffe2ea;
  color: #261220;
  font-weight: 740;
}

/* ==========================================================================
   CARD 03 & CARD 04 Micro-Stages
   ========================================================================== */
.workflow-stage {
  position: relative;
  min-height: 224px;
  border-radius: 18px;
  background: radial-gradient(ellipse at 30% 20%, #102a38 0%, #091324 78%);
  border: 1px solid rgba(155, 210, 255, 0.14);
  margin-bottom: 20px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  overflow: hidden;
}

.wf-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.wf-telemetry {
  font-family: var(--font-mono);
  font-size: 11px;
  color: #5ef2e4;
}

.wf-run-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(94, 242, 228, 0.16);
  border: 1px solid rgba(94, 242, 228, 0.44);
  font-size: 11.5px;
  font-weight: 680;
  color: #a6fbf2;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.wf-run-btn:hover {
  background: rgba(94, 242, 228, 0.28);
}

.wf-nodes-row {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  align-items: center;
  margin: 6px 0;
}

.wf-connector-line {
  position: absolute;
  left: 10%;
  right: 10%;
  top: 50%;
  height: 2px;
  background: rgba(94, 242, 228, 0.18);
  transform: translateY(-50%);
  z-index: 0;
  overflow: hidden;
}

.wf-connector-pulse {
  width: 38%;
  height: 100%;
  background: linear-gradient(90deg, transparent, #5ef2e4, #ffcf7d, transparent);
  animation: wfStream 2.4s linear infinite;
}

@keyframes wfStream {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(340%); }
}

.wf-node {
  position: relative;
  z-index: 1;
  padding: 11px 6px;
  border-radius: 12px;
  background: rgba(11, 21, 38, 0.92);
  border: 1px solid rgba(164, 212, 255, 0.14);
  text-align: center;
  transition: transform 0.3s var(--ease-out), border-color 0.3s ease, box-shadow 0.3s ease;
}

.wf-node.is-lit {
  border-color: #5ef2e4;
  box-shadow: 0 0 22px rgba(94, 242, 228, 0.3);
  transform: translateY(-3px);
}

.wf-node-step {
  display: block;
  font-family: var(--font-mono);
  font-size: 9.5px;
  color: rgba(94, 242, 228, 0.85);
  margin-bottom: 3px;
}

.wf-node-name {
  display: block;
  font-size: 12px;
  font-weight: 680;
  color: #edf4ff;
}

.wf-log-line {
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(198, 218, 246, 0.78);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.editorial-stage {
  position: relative;
  min-height: 224px;
  border-radius: 18px;
  background: radial-gradient(ellipse at 75% 20%, #23203d 0%, #091224 78%);
  border: 1px solid rgba(164, 212, 255, 0.14);
  margin-bottom: 20px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  overflow: hidden;
}

.ed-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.ed-tabs {
  display: inline-flex;
  padding: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.ed-tab {
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 640;
  color: rgba(214, 226, 246, 0.72);
  white-space: nowrap;
  transition: all 0.25s ease;
}

.ed-tab.is-active {
  background: rgba(255, 207, 125, 0.22);
  color: #ffe3b3;
  border: 1px solid rgba(255, 207, 125, 0.52);
}

.ed-meters {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: rgba(226, 236, 252, 0.76);
}

.ed-preview-card {
  padding: 14px 16px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.35s var(--ease-out);
}

.editorial-stage[data-mode="crafted"] .ed-preview-card {
  background: linear-gradient(125deg, rgba(255, 207, 125, 0.1), rgba(94, 242, 228, 0.07));
  border-color: rgba(255, 207, 125, 0.36);
}

.ed-quote {
  margin: 0 0 8px;
  font-size: 14.5px;
  line-height: 1.65;
  color: #cbd8ec;
}

.editorial-stage[data-mode="crafted"] .ed-quote {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 600;
  color: #fff8ee;
  letter-spacing: 0.02em;
}

.ed-submeta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: rgba(200, 216, 240, 0.66);
}

.card-body h3 {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 780;
  letter-spacing: -0.02em;
}

.card-body p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.82;
  color: var(--muted);
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.card-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 7px;
  background: rgba(125, 165, 225, 0.09);
  border: 1px solid var(--line);
  color: var(--text-soft);
}

/* ==========================================================================
   Philosophy & Manifesto Sections
   ========================================================================== */
.method-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.method-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--panel);
  backdrop-filter: blur(16px);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease-out), border-color 0.3s ease;
}

.method-card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
}

.method-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.method-num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--gold);
}

.method-diagram {
  width: 42px;
  height: 42px;
  color: var(--celadon);
}

.method-card h3 {
  margin: 0 0 10px;
  font-size: 19px;
  font-weight: 750;
}

.method-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.82;
  color: var(--muted);
}

.manifesto-shell {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 38px;
  padding: 42px;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(ellipse at 92% 12%, rgba(255, 207, 125, 0.13), transparent 52%),
    radial-gradient(ellipse at 8% 88%, rgba(94, 242, 228, 0.12), transparent 52%),
    var(--panel);
  backdrop-filter: blur(20px);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-lg);
}

.manifesto-copy h2 {
  margin: 12px 0 16px;
  font-size: clamp(1.75rem, 2.9vw, 2.35rem);
  font-weight: 780;
  line-height: 1.24;
}

.manifesto-copy p {
  margin: 0 0 24px;
  font-size: 15px;
  line-height: 1.9;
  color: var(--muted);
  max-width: 560px;
}

.privacy-seal {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 15px;
  border-radius: 12px;
  background: var(--celadon-soft);
  border: 1px solid var(--line-strong);
  font-size: 12.5px;
  font-weight: 620;
  color: var(--text-soft);
}

.roadmap-ledger {
  display: flex;
  flex-direction: column;
  gap: 11px;
  justify-content: center;
}

.ledger-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(120, 160, 220, 0.07);
  border: 1px solid var(--line);
}

.ledger-row.is-current {
  border-color: var(--celadon);
  background: var(--celadon-soft);
}

.ledger-left {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ledger-ver {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--gold);
}

.ledger-name {
  font-size: 13.5px;
  font-weight: 680;
}

.ledger-state {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  color: var(--text-soft);
  white-space: nowrap;
}

/* ==========================================================================
   Fullscreen Playable Game Theater Modal (星际探险队 V4)
   ========================================================================== */
.game-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(3, 7, 18, 0.84);
  backdrop-filter: blur(18px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}

.game-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.game-modal-dialog {
  width: min(1320px, 100%);
  height: min(860px, calc(100svh - 40px));
  border-radius: 24px;
  background: #08122c;
  border: 1px solid rgba(155, 210, 255, 0.28);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.85);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.game-modal-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px;
  background: rgba(8, 17, 42, 0.96);
  border-bottom: 1px solid rgba(155, 210, 255, 0.16);
  color: #eef6ff;
}

.game-modal-title {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13.5px;
  font-weight: 720;
}

.game-modal-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.modal-btn {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 12px;
  font-weight: 650;
  color: #eef6ff;
  white-space: nowrap;
}

.modal-btn:hover {
  background: rgba(255, 255, 255, 0.18);
}

.game-iframe {
  flex: 1;
  width: 100%;
  border: 0;
  background: #071126;
}

/* ==========================================================================
   Footer & Scroll Reveal
   ========================================================================== */
.site-footer {
  padding: 36px 0 46px;
  margin-top: 20px;
  border-top: 1px solid var(--line);
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-copy {
  font-size: 13px;
  color: var(--muted);
}

.footer-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
  font-size: 13px;
  color: var(--muted);
}

.footer-links a:hover {
  color: var(--text);
}

.footer-watermark {
  margin-top: 26px;
  font-size: clamp(2.8rem, 9.2vw, 7.4rem);
  font-weight: 850;
  letter-spacing: -0.04em;
  line-height: 0.86;
  text-align: center;
  background: linear-gradient(180deg, var(--line-strong), transparent 92%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  user-select: none;
  pointer-events: none;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1060px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 28px;
    min-height: auto;
    padding: 32px 0 48px;
  }

  .hero-works-dock {
    max-width: 100%;
  }

  .hero-spatial-stage {
    height: 460px;
  }

  .col-7,
  .col-5 {
    grid-column: span 6;
  }

  .manifesto-shell {
    grid-template-columns: 1fr;
    padding: 34px;
  }
}

@media (max-width: 840px) {
  .shell {
    width: min(1240px, calc(100% - 32px));
  }

  .nav-links {
    display: none;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .col-7,
  .col-5 {
    grid-column: span 12;
  }

  .method-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .site-header {
    height: 58px;
    padding: 0 10px 0 14px;
  }

  .brand-sub,
  .theme-label {
    display: none;
  }

  .hero-title {
    font-size: clamp(1.88rem, 8.2vw, 2.25rem);
  }

  .hero-eyebrow {
    font-size: 10.5px;
    padding: 6px 11px;
    gap: 6px;
  }

  .hero-works-dock {
    grid-template-columns: 1fr;
  }

  .hero-spatial-stage {
    height: 390px;
  }

  .spatial-card--moyu {
    top: 8px;
    right: 0;
    padding: 7px 10px 7px 7px;
  }

  .spatial-card--space {
    bottom: 68px;
    left: 0;
    padding: 7px 10px 7px 7px;
  }

  .spatial-avatar {
    width: 38px;
    height: 38px;
  }

  .spatial-badge-top {
    display: none;
  }

  .morph-tabs {
    grid-template-columns: repeat(2, 1fr);
    border-radius: 16px;
  }

  .sculpt-card {
    padding: 20px;
  }

  .sq-choices {
    grid-template-columns: 1fr;
  }

  .wf-nodes-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .wf-connector-line {
    display: none;
  }

  .manifesto-shell {
    padding: 24px 20px;
  }

  .game-modal {
    padding: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}
