/* =========================================================
   吞噬星空 · 星海试炼
   Design system / layout / motion
   ========================================================= */
:root {
  --bg: #03060f;
  --bg-deep: #010308;
  --panel: rgba(8, 17, 33, 0.74);
  --panel-solid: #07101f;
  --ink: #eef7ff;
  --ink-soft: #c7d8ea;
  --muted: #7f96b0;
  --muted-2: #536a83;
  --cyan: #42e8ff;
  --cyan-soft: #7af3ff;
  --blue: #387dff;
  --blue-deep: #1746b0;
  --gold: #ffc35c;
  --gold-soft: #ffe4a6;
  --red: #ff5468;
  --green: #55f2b0;
  --line: rgba(124, 194, 255, 0.16);
  --line-strong: rgba(124, 205, 255, 0.32);
  --glass: rgba(9, 20, 39, 0.62);
  --font-sans: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", "Source Han Sans SC", sans-serif;
  --font-display: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", sans-serif;
  --font-serif: "STZhongsong", "Songti SC", "SimSun", serif;
  --font-num: "Bahnschrift", "DIN Alternate", "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.55);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-color: rgba(66, 232, 255, 0.32) #03060f; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.is-locked { overflow: hidden; }
::selection { background: rgba(66, 232, 255, 0.32); color: #fff; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
button { border: 0; background: none; cursor: pointer; }
h1, h2, h3, h4, p, dl, dd, figure { margin: 0; }
h1, h2, h3, h4 { font-weight: 800; line-height: 1.2; }
ol, ul { margin: 0; padding: 0; list-style: none; }
svg { width: 1em; height: 1em; fill: currentColor; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; }
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.wrap { width: min(1220px, calc(100vw - 88px)); margin: 0 auto; }
.pc-only { display: inline; }

/* ---------- backgrounds ---------- */
.starfield {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}
.aurora {
  position: fixed;
  z-index: 0;
  width: 58vw;
  height: 58vw;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.16;
  pointer-events: none;
}
.aurora-a {
  top: -30vw;
  right: -16vw;
  background: radial-gradient(circle, rgba(36, 121, 255, 0.8), transparent 66%);
}
.aurora-b {
  bottom: -34vw;
  left: -20vw;
  background: radial-gradient(circle, rgba(20, 183, 208, 0.55), transparent 68%);
}
.grain {
  position: fixed;
  inset: 0;
  z-index: 1;
  opacity: 0.035;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 220 220' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.86' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

/* ---------- generic ---------- */
.kicker {
  color: var(--cyan);
  font-family: var(--font-num);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--cyan-soft);
  font-family: var(--font-num);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.28em;
}
.eyebrow-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: var(--cyan);
  box-shadow: 0 0 14px var(--cyan);
  transform: rotate(45deg);
}
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  min-height: 52px;
  padding: 0 26px;
  border: 1px solid transparent;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s, background 0.35s, color 0.35s;
  overflow: hidden;
  isolation: isolate;
}
.btn svg { width: 18px; height: 18px; }
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(115deg, transparent 20%, rgba(255,255,255,0.34) 48%, transparent 70%);
  transform: translateX(-130%);
  transition: transform 0.75s var(--ease);
}
.btn:hover::before { transform: translateX(130%); }
.btn-primary {
  color: #021018;
  background: linear-gradient(120deg, #73f3ff 0%, #3ee3ff 45%, #43a5ff 100%);
  box-shadow: 0 10px 42px rgba(52, 220, 255, 0.26), inset 0 1px 0 rgba(255,255,255,0.45);
  clip-path: polygon(0 0, calc(100% - 13px) 0, 100% 13px, 100% 100%, 13px 100%, 0 calc(100% - 13px));
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 54px rgba(52, 220, 255, 0.38), inset 0 1px 0 rgba(255,255,255,0.5); }
.btn-ghost {
  color: var(--ink);
  border-color: var(--line-strong);
  background: rgba(6, 17, 34, 0.42);
  backdrop-filter: blur(14px);
}
.btn-ghost:hover { border-color: rgba(110, 234, 255, 0.72); background: rgba(10, 28, 54, 0.7); transform: translateY(-2px); }
.btn-icon { display: grid; place-items: center; width: 24px; height: 24px; border: 1px solid rgba(3, 35, 47, 0.3); border-radius: 50%; }
.btn-icon svg { width: 12px; height: 12px; margin-left: 2px; }
.btn.is-disabled, .btn:disabled { opacity: 0.38; pointer-events: none; }
.text-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  transition: color 0.25s;
}
.text-btn svg { width: 15px; height: 15px; transition: transform 0.25s; }
.text-btn:hover { color: var(--cyan); }
.text-btn:hover svg { transform: translateX(4px); }
.icon-btn {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  color: var(--ink-soft);
  background: rgba(4, 10, 20, 0.55);
  backdrop-filter: blur(8px);
  transition: border-color 0.25s, color 0.25s, background 0.25s, transform 0.25s;
}
.icon-btn svg { width: 17px; height: 17px; }
.icon-btn:hover { border-color: var(--cyan); color: var(--cyan); background: rgba(11, 35, 58, 0.8); transform: translateY(-1px); }
.is-hidden { display: none !important; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* =========================================================
   WELCOME
   ========================================================= */
.welcome {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  background: #02050c;
  overflow: hidden;
  transition: opacity 0.9s var(--ease), visibility 0.9s;
}
.welcome.is-leaving { opacity: 0; visibility: hidden; pointer-events: none; }
.welcome-bg {
  position: absolute;
  inset: -40px;
  background: url("assets/img/hero-bg.jpg") center/cover no-repeat;
  filter: saturate(0.8) brightness(0.55);
  opacity: 0.58;
  transform: scale(1.05);
  animation: welcomeDrift 22s ease-in-out infinite alternate;
}
.welcome::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 46%, rgba(22, 108, 180, 0.22), transparent 34%),
    linear-gradient(90deg, rgba(2,5,12,0.94) 0%, rgba(2,5,12,0.62) 44%, rgba(2,5,12,0.55) 100%),
    linear-gradient(0deg, rgba(2,5,12,0.94), transparent 34%, rgba(2,5,12,0.7));
  pointer-events: none;
}
.welcome::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: repeating-linear-gradient(0deg, transparent 0 3px, rgba(120, 220, 255, 0.018) 3px 4px);
  mix-blend-mode: screen;
}
.welcome-shell {
  position: relative;
  z-index: 3;
  width: min(1220px, calc(100vw - 88px));
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  gap: clamp(40px, 7vw, 120px);
}
.welcome-poster { display: flex; flex-direction: column; gap: 14px; }
.welcome-poster-frame {
  position: relative;
  width: min(100%, 380px);
  aspect-ratio: 1080 / 1919;
  overflow: hidden;
  border: 1px solid rgba(151, 226, 255, 0.26);
  box-shadow: 0 30px 90px rgba(0,0,0,0.65), 0 0 80px rgba(30, 158, 255, 0.14);
  transform: perspective(1100px) rotateY(5deg) rotateZ(-1.2deg);
  animation: posterFloat 7s ease-in-out infinite;
}
.welcome-poster-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 58%, rgba(1,4,11,0.82));
  pointer-events: none;
}
.welcome-poster-frame img { width: 100%; height: 100%; object-fit: cover; }
.poster-scan {
  position: absolute;
  left: 0;
  right: 0;
  top: -30%;
  height: 18%;
  background: linear-gradient(180deg, transparent, rgba(129, 238, 255, 0.14), transparent);
  animation: scan 7s linear infinite;
  pointer-events: none;
}
.welcome-poster-caption {
  color: var(--muted);
  font-family: var(--font-num);
  font-size: 0.65rem;
  letter-spacing: 0.22em;
}
.welcome-poster-caption span { color: var(--cyan); font-size: 1rem; margin-right: 7px; }
.welcome-kicker { display: flex; align-items: center; gap: 12px; color: var(--cyan-soft); font-family: var(--font-num); font-size: 0.67rem; letter-spacing: 0.28em; }
.welcome-kicker span { width: 30px; height: 1px; background: var(--cyan); }
.welcome-title {
  margin: 18px 0 0;
  font-size: clamp(4.6rem, 8.5vw, 9rem);
  font-weight: 900;
  line-height: 0.86;
  letter-spacing: -0.055em;
  background: linear-gradient(125deg, #fff 6%, #bcefff 34%, #4fc9ff 66%, #3863ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 10px 40px rgba(37, 165, 255, 0.2));
}
.welcome-title em { font-style: normal; color: transparent; }
.welcome-en {
  margin-top: 18px;
  color: rgba(179, 226, 255, 0.45);
  font-family: var(--font-num);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.55em;
}
.welcome-lede { margin-top: 28px; color: var(--ink-soft); font-size: clamp(0.98rem, 1.3vw, 1.14rem); line-height: 1.95; }
.welcome-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.welcome-tags span {
  padding: 5px 11px;
  border: 1px solid var(--line);
  color: var(--muted);
  background: rgba(8, 22, 40, 0.4);
  font-size: 0.67rem;
  letter-spacing: 0.1em;
}
.btn-enter { margin-top: 34px; min-width: 220px; min-height: 58px; font-size: 0.95rem; }
.btn-enter svg { width: 20px; height: 20px; }
.welcome-note { display: flex; align-items: center; gap: 8px; margin-top: 24px; color: var(--muted); font-size: 0.72rem; letter-spacing: 0.05em; }
.welcome-note svg { color: var(--cyan); width: 15px; height: 15px; }
.welcome-disclaimer { margin-top: 8px; color: rgba(113, 138, 162, 0.66); font-size: 0.64rem; letter-spacing: 0.08em; }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  height: 80px;
  padding: 0 44px;
  border-bottom: 1px solid transparent;
  transition: background 0.4s, border-color 0.4s, height 0.4s;
}
.site-header.is-scrolled {
  height: 68px;
  background: rgba(3, 7, 16, 0.76);
  border-color: rgba(106, 181, 240, 0.12);
  backdrop-filter: blur(22px) saturate(1.2);
}
.brand { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.brand-mark {
  position: relative;
  display: block;
  width: 32px;
  height: 32px;
  transform: rotate(45deg);
  border: 1px solid rgba(100, 231, 255, 0.5);
}
.brand-mark::before, .brand-mark::after {
  content: "";
  position: absolute;
  background: var(--cyan);
  box-shadow: 0 0 10px rgba(66, 232, 255, 0.75);
}
.brand-mark::before { width: 1px; height: 46px; left: 50%; top: -8px; transform: translateX(-50%); }
.brand-mark::after { height: 1px; width: 46px; top: 50%; left: -8px; transform: translateY(-50%); }
.brand-mark i { position: absolute; inset: 9px; background: var(--cyan); box-shadow: 0 0 18px var(--cyan); }
.brand-copy { display: flex; flex-direction: column; line-height: 1.15; }
.brand-copy strong { font-size: 0.95rem; letter-spacing: 0.16em; }
.brand-copy small { margin-top: 4px; color: var(--muted); font-family: var(--font-num); font-size: 0.48rem; letter-spacing: 0.28em; }
.site-nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 34px); margin-left: auto; }
.site-nav a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  transition: color 0.25s;
}
.site-nav a span { color: rgba(66, 232, 255, 0.55); font-family: var(--font-num); font-size: 0.55rem; }
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 1px;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
  transition: width 0.3s var(--ease);
}
.site-nav a:hover, .site-nav a.is-active { color: var(--ink); }
.site-nav a:hover::after, .site-nav a.is-active::after { width: 100%; }
.header-right { display: flex; align-items: center; gap: 12px; }
.music-chip {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  color: var(--ink-soft);
  background: rgba(6, 16, 31, 0.5);
  transition: border-color 0.25s, background 0.25s;
}
.music-chip:hover { border-color: var(--line-strong); background: rgba(9, 27, 50, 0.8); }
.eq { display: flex; align-items: flex-end; gap: 2px; width: 15px; height: 14px; }
.eq i { width: 2px; background: var(--cyan); box-shadow: 0 0 5px var(--cyan); animation: eq 0.7s ease-in-out infinite alternate; }
.eq i:nth-child(1) { height: 6px; animation-delay: -0.2s; }
.eq i:nth-child(2) { height: 12px; animation-delay: -0.5s; }
.eq i:nth-child(3) { height: 8px; animation-delay: -0.1s; }
.eq i:nth-child(4) { height: 4px; animation-delay: -0.35s; }
.is-paused .eq i { animation-play-state: paused; height: 3px; }
.music-chip-copy { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.2; }
.music-chip-copy small { color: var(--cyan); font-family: var(--font-num); font-size: 0.45rem; letter-spacing: 0.22em; }
.music-chip-copy strong { font-size: 0.64rem; font-weight: 500; letter-spacing: 0.05em; }
.nav-toggle { display: none; width: 42px; height: 42px; flex-direction: column; justify-content: center; gap: 5px; padding: 0 10px; border: 1px solid var(--line); }
.nav-toggle span { display: block; width: 100%; height: 1px; background: var(--ink); transition: transform 0.3s, opacity 0.3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.scroll-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: transparent; }
.scroll-progress i { display: block; width: 0; height: 100%; background: linear-gradient(90deg, transparent, var(--cyan)); box-shadow: 0 0 8px var(--cyan); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  z-index: 2;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 132px 0 100px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("assets/img/hero-bg.jpg") center/cover no-repeat;
  opacity: 0.9;
  filter: saturate(0.75);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(3,6,15,0.97) 0%, rgba(3,6,15,0.78) 40%, rgba(3,6,15,0.3) 72%, rgba(3,6,15,0.72) 100%),
    linear-gradient(0deg, var(--bg) 0%, transparent 26%, transparent 82%, rgba(3,6,15,0.72) 100%);
}
.hero::before {
  animation: heroZoom 18s ease-out both;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(360px, 0.72fr);
  align-items: center;
  gap: clamp(36px, 6vw, 100px);
  width: min(1280px, calc(100vw - 88px));
}
.hero-copy { position: relative; z-index: 2; padding-top: 12px; }
.hero-title { position: relative; margin-top: 20px; }
.hero-cn {
  position: relative;
  z-index: 2;
  display: block;
  font-size: clamp(4.2rem, 8.6vw, 9rem);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: -0.06em;
  background: linear-gradient(125deg, #fff 8%, #d5f7ff 32%, #6ddcff 64%, #3e7bff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 15px 48px rgba(36, 163, 255, 0.2));
}
.hero-en {
  position: absolute;
  left: -6px;
  top: 42%;
  z-index: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(132, 211, 255, 0.16);
  font-family: var(--font-num);
  font-size: clamp(4.9rem, 11.2vw, 12.6rem);
  font-weight: 800;
  line-height: 0.78;
  letter-spacing: 0.015em;
  pointer-events: none;
  white-space: nowrap;
  transform: translateY(4px);
}
.hero-lede {
  position: relative;
  z-index: 2;
  max-width: 600px;
  margin-top: 44px;
  color: var(--ink-soft);
  font-size: clamp(0.9rem, 1.15vw, 1.02rem);
  line-height: 2.05;
  text-shadow: 0 2px 12px rgba(0,0,0,0.6);
}
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 36px; }
.hero-stats {
  display: flex;
  gap: clamp(24px, 4vw, 54px);
  margin: 52px 0 0;
  padding-top: 22px;
  border-top: 1px solid rgba(124, 194, 255, 0.15);
  max-width: 620px;
}
.hero-stats div { display: flex; gap: 10px; align-items: flex-start; }
.hero-stats dt { color: var(--cyan); font-family: var(--font-num); font-size: 1.28rem; font-weight: 300; line-height: 1; }
.hero-stats dd { margin: 0; color: var(--ink); font-size: 0.82rem; font-weight: 600; letter-spacing: 0.07em; }
.hero-stats dd span { display: block; margin-top: 6px; color: var(--muted-2); font-size: 0.62rem; font-weight: 400; letter-spacing: 0.08em; }
.hero-visual {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 580px;
  perspective: 1200px;
}
.poster-card {
  position: relative;
  z-index: 3;
  width: min(100%, 376px);
  padding: 9px;
  background: linear-gradient(145deg, rgba(153, 232, 255, 0.28), rgba(26, 57, 99, 0.22) 48%, rgba(255, 196, 92, 0.16));
  box-shadow: 0 38px 100px rgba(0,0,0,0.66), 0 0 90px rgba(31, 151, 255, 0.12), inset 0 0 0 1px rgba(255,255,255,0.06);
  transform: rotateY(calc(var(--ry, 0) * 1deg)) rotateX(calc(var(--rx, 0) * 1deg)) rotateZ(-1.8deg);
  transition: transform 0.35s var(--ease-soft), box-shadow 0.35s;
  will-change: transform;
}
.poster-card::before {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 22px;
  z-index: -1;
  border: 1px solid rgba(94, 196, 255, 0.22);
  transform: translateZ(-40px);
}
.poster-card img { width: 100%; aspect-ratio: 1080 / 1919; object-fit: cover; filter: saturate(0.94) contrast(1.02); }
.poster-card figcaption {
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 28px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  text-shadow: 0 2px 14px rgba(0,0,0,0.8);
}
.poster-tag {
  padding: 5px 8px;
  border: 1px solid rgba(129, 230, 255, 0.38);
  color: var(--cyan-soft);
  background: rgba(2, 10, 20, 0.46);
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  backdrop-filter: blur(8px);
}
.poster-name { display: flex; flex-direction: column; align-items: flex-end; font-size: 1rem; font-weight: 700; letter-spacing: 0.15em; }
.poster-name em { color: var(--muted); font-family: var(--font-num); font-size: 0.5rem; font-style: normal; letter-spacing: 0.28em; }
.poster-corner { position: absolute; z-index: 4; width: 24px; height: 24px; border-color: var(--cyan); border-style: solid; opacity: 0.8; }
.poster-corner.tl { top: -7px; left: -7px; border-width: 1px 0 0 1px; }
.poster-corner.tr { top: -7px; right: -7px; border-width: 1px 1px 0 0; }
.poster-corner.bl { bottom: -7px; left: -7px; border-width: 0 0 1px 1px; }
.poster-corner.br { bottom: -7px; right: -7px; border-width: 0 1px 1px 0; }
.poster-orbit {
  position: absolute;
  z-index: 1;
  border: 1px solid rgba(87, 196, 255, 0.14);
  border-radius: 50%;
  pointer-events: none;
}
.orbit-1 { width: 128%; aspect-ratio: 1; transform: rotateX(68deg) rotateZ(-18deg); }
.orbit-2 { width: 164%; aspect-ratio: 1; border-color: rgba(255, 195, 92, 0.1); transform: rotateX(72deg) rotateZ(16deg); }
.poster-float {
  position: absolute;
  z-index: 5;
  left: max(0px, -14px);
  bottom: 18%;
  display: flex;
  flex-direction: column;
  padding: 12px 15px;
  border-left: 1px solid var(--gold);
  background: linear-gradient(90deg, rgba(5, 13, 26, 0.88), rgba(5, 13, 26, 0.1));
  backdrop-filter: blur(8px);
}
.poster-float span { color: var(--gold); font-size: 0.55rem; letter-spacing: 0.2em; }
.poster-float strong { color: var(--ink); font-family: var(--font-num); font-size: 1.35rem; font-weight: 400; letter-spacing: 0.12em; line-height: 1.25; }
.poster-float small { color: var(--muted); font-size: 0.54rem; letter-spacing: 0.12em; }
.poster-side-label {
  position: absolute;
  right: -4%;
  top: 50%;
  transform: translateY(-50%) rotate(90deg);
  transform-origin: center;
  color: rgba(145, 198, 235, 0.32);
  font-size: 0.58rem;
  letter-spacing: 0.42em;
  white-space: nowrap;
}
.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 26px;
  z-index: 4;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(152, 190, 220, 0.55);
  font-family: var(--font-num);
  font-size: 0.52rem;
  letter-spacing: 0.32em;
}
.scroll-cue i { display: block; width: 1px; height: 34px; background: linear-gradient(180deg, var(--cyan), transparent); animation: scrollLine 2s ease-in-out infinite; }

/* =========================================================
   SECTION SHELL
   ========================================================= */
.section { position: relative; z-index: 2; padding: 132px 0; scroll-margin-top: 74px; }
#characters { scroll-margin-top: 92px; }
.section::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: min(1220px, calc(100vw - 88px));
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(120, 188, 235, 0.22) 20%, rgba(120, 188, 235, 0.22) 80%, transparent);
}
.section-head {
  display: grid;
  grid-template-columns: 106px minmax(0, 1fr) minmax(240px, 0.52fr);
  align-items: end;
  gap: 34px;
  padding-bottom: 58px;
}
.section-index {
  color: transparent;
  -webkit-text-stroke: 1px rgba(120, 201, 255, 0.4);
  font-family: var(--font-num);
  font-size: 4.4rem;
  font-weight: 300;
  line-height: 0.9;
  letter-spacing: -0.05em;
}
.section-title .kicker { margin-bottom: 12px; }
.section-title h2 {
  font-size: clamp(2.35rem, 4.7vw, 4.55rem);
  letter-spacing: -0.04em;
  background: linear-gradient(110deg, #fff 10%, #cfe9ff 52%, #7ccfff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.section-note { color: var(--muted); font-size: 0.78rem; line-height: 1.9; text-align: right; letter-spacing: 0.04em; }

/* =========================================================
   STORY
   ========================================================= */
.story-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.66fr); gap: clamp(44px, 7vw, 100px); }
.story-copy { padding-top: 4px; }
.story-copy p { color: var(--muted); font-size: 0.92rem; line-height: 2.1; }
.story-lead { color: var(--ink-soft) !important; font-size: clamp(1.05rem, 1.5vw, 1.22rem) !important; line-height: 1.95 !important; }
.story-lead::first-letter { color: var(--cyan); font-size: 3.2em; float: left; line-height: 0.82; padding: 8px 10px 0 0; font-family: var(--font-serif); }
.story-copy > p + p { margin-top: 20px; }
.timeline { margin-top: 46px; border-left: 1px solid rgba(96, 185, 255, 0.18); }
.timeline-item { position: relative; padding: 0 0 32px 34px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot {
  position: absolute;
  left: -4.5px;
  top: 7px;
  width: 8px;
  height: 8px;
  transform: rotate(45deg);
  background: var(--cyan);
  box-shadow: 0 0 14px rgba(66, 232, 255, 0.75);
}
.timeline-item:nth-child(2) .timeline-dot { background: var(--gold); box-shadow: 0 0 14px rgba(255, 195, 92, 0.6); }
.timeline-item:nth-child(3) .timeline-dot { background: var(--blue); box-shadow: 0 0 14px rgba(56, 125, 255, 0.7); }
.timeline-year { color: var(--cyan); font-family: var(--font-num); font-size: 0.58rem; letter-spacing: 0.22em; }
.timeline-item h3 { margin-top: 6px; font-size: 1.12rem; letter-spacing: 0.05em; }
.timeline-item p { margin-top: 8px; font-size: 0.79rem !important; line-height: 1.9 !important; }
.story-aside { display: flex; flex-direction: column; gap: 18px; }
.quote-card {
  position: relative;
  overflow: hidden;
  padding: 40px 34px 32px;
  border: 1px solid rgba(103, 196, 255, 0.17);
  background: linear-gradient(145deg, rgba(11, 31, 58, 0.82), rgba(4, 11, 23, 0.72));
  box-shadow: var(--shadow);
}
.quote-mark { position: absolute; top: 2px; right: 20px; color: rgba(91, 213, 255, 0.12); font-family: var(--font-serif); font-size: 8rem; line-height: 1; }
.quote-card p { position: relative; z-index: 2; color: var(--ink); font-family: var(--font-serif); font-size: 1.32rem; line-height: 1.8; letter-spacing: 0.04em; }
.quote-by { display: block; margin-top: 20px; color: var(--cyan); font-family: var(--font-num); font-size: 0.62rem; letter-spacing: 0.24em; }
.quote-glow { position: absolute; left: -80px; bottom: -110px; width: 260px; height: 260px; border-radius: 50%; background: rgba(36, 166, 255, 0.2); filter: blur(70px); }
.archive-card { padding: 22px 24px; border: 1px solid var(--line); background: rgba(5, 14, 28, 0.48); }
.archive-head { display: flex; justify-content: space-between; padding-bottom: 14px; border-bottom: 1px solid var(--line); color: var(--muted-2); font-family: var(--font-num); font-size: 0.54rem; letter-spacing: 0.2em; }
.archive-card dl { margin-top: 6px; }
.archive-card dl div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid rgba(124, 194, 255, 0.08); }
.archive-card dl div:last-child { border-bottom: 0; }
.archive-card dt { color: var(--muted-2); font-size: 0.66rem; letter-spacing: 0.08em; white-space: nowrap; }
.archive-card dd { color: var(--ink-soft); font-size: 0.7rem; text-align: right; }
.aside-coordinates { color: rgba(91, 151, 194, 0.5); font-family: var(--font-num); font-size: 0.57rem; letter-spacing: 0.16em; line-height: 1.8; }
.aside-coordinates span { color: rgba(91, 151, 194, 0.3); font-size: 0.5rem; }

/* characters */
.characters { margin-top: 110px; }
.char-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 34px; }
.char-heading h3 { margin-top: 9px; font-size: clamp(1.7rem, 2.8vw, 2.4rem); letter-spacing: -0.02em; }
.char-heading > p { color: var(--muted); font-size: 0.74rem; line-height: 1.9; text-align: right; }
.char-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.char-card {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border: 1px solid rgba(111, 185, 240, 0.15);
  background: #050b16;
  text-align: left;
  transition: border-color 0.4s, transform 0.5s var(--ease), box-shadow 0.5s;
}
.char-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 34%, rgba(2, 7, 15, 0.38) 58%, rgba(2, 7, 15, 0.94) 100%);
  pointer-events: none;
}
.char-card img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.78) contrast(1.04); transition: transform 0.85s var(--ease), filter 0.6s; }
.char-card:hover { border-color: rgba(103, 226, 255, 0.45); transform: translateY(-7px); box-shadow: 0 24px 68px rgba(0, 0, 0, 0.52), 0 0 34px rgba(29, 145, 230, 0.12); }
.char-card:hover img { transform: scale(1.055); filter: saturate(1.02) contrast(1.06); }
.char-top { position: absolute; z-index: 3; top: 16px; left: 16px; right: 16px; display: flex; justify-content: space-between; align-items: flex-start; }
.char-role { padding: 4px 8px; border: 1px solid rgba(113, 224, 255, 0.36); color: var(--cyan-soft); background: rgba(2, 10, 22, 0.5); font-size: 0.53rem; letter-spacing: 0.13em; backdrop-filter: blur(6px); }
.char-no { color: rgba(206, 239, 255, 0.4); font-family: var(--font-num); font-size: 0.62rem; letter-spacing: 0.18em; }
.char-body { position: absolute; z-index: 3; left: 22px; right: 22px; bottom: 20px; }
.char-name { display: flex; align-items: baseline; gap: 10px; font-size: 1.55rem; font-weight: 800; letter-spacing: 0.08em; }
.char-name em { color: var(--muted); font-family: var(--font-num); font-size: 0.52rem; font-style: normal; font-weight: 400; letter-spacing: 0.2em; }
.char-sub { margin-top: 2px; color: var(--cyan); font-size: 0.6rem; letter-spacing: 0.16em; }
.char-desc { max-height: 0; overflow: hidden; opacity: 0; color: var(--muted); font-size: 0.72rem; line-height: 1.8; transition: max-height 0.55s var(--ease), opacity 0.4s, margin 0.4s; }
.char-card:hover .char-desc, .char-card:focus-visible .char-desc, .char-card.is-open .char-desc { max-height: 120px; opacity: 1; margin-top: 12px; }
.char-line { width: 26px; height: 1px; margin-top: 13px; background: linear-gradient(90deg, var(--cyan), transparent); transition: width 0.5s var(--ease); }
.char-card:hover .char-line { width: 70px; }

/* =========================================================
   TRIAL
   ========================================================= */
.trial-section { padding-bottom: 118px; }
.trial-console {
  position: relative;
  scroll-margin-top: 86px;
  border: 1px solid rgba(101, 191, 255, 0.2);
  background: linear-gradient(160deg, rgba(7, 18, 35, 0.9), rgba(2, 7, 15, 0.92));
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.52), inset 0 1px 0 rgba(255,255,255,0.025);
  overflow: hidden;
}
.trial-console::before, .trial-console::after {
  content: "";
  position: absolute;
  z-index: 9;
  width: 36px;
  height: 36px;
  border-color: rgba(92, 220, 255, 0.6);
  border-style: solid;
  pointer-events: none;
}
.trial-console::before { top: -1px; left: -1px; border-width: 1px 0 0 1px; }
.trial-console::after { right: -1px; bottom: -1px; border-width: 0 1px 1px 0; }
.trial-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 16px 26px;
  border-bottom: 1px solid var(--line);
  background: rgba(4, 12, 25, 0.6);
}
.trial-steps { display: flex; align-items: center; gap: 0; }
.trial-step { display: flex; align-items: center; gap: 8px; color: var(--muted-2); font-size: 0.65rem; letter-spacing: 0.08em; transition: color 0.4s; }
.trial-step span { color: rgba(115, 160, 194, 0.45); font-family: var(--font-num); font-size: 0.52rem; }
.trial-step b { font-weight: 500; }
.trial-step i { display: block; width: clamp(20px, 5vw, 68px); height: 1px; margin: 0 14px; background: rgba(120, 182, 230, 0.16); }
.trial-step:last-child i { display: none; }
.trial-step.is-active { color: var(--cyan); }
.trial-step.is-active span { color: var(--cyan); }
.trial-step.is-done { color: var(--ink-soft); }
.trial-step.is-done span { color: var(--green); }
.trial-step.is-done i { background: rgba(85, 242, 176, 0.34); }
.trial-status { display: flex; align-items: center; gap: 8px; color: var(--muted); font-family: var(--font-num); font-size: 0.56rem; letter-spacing: 0.14em; white-space: nowrap; }
.status-dot { display: block; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 9px var(--gold); animation: blink 1.8s ease-in-out infinite; }
.stage { position: relative; }

/* cutscene */
.cutscene {
  position: relative;
  aspect-ratio: 16 / 8.6;
  min-height: 500px;
  overflow: hidden;
  background: #02050c;
  isolation: isolate;
}
.cutscene-media {
  position: absolute;
  inset: 0;
  background: url("assets/img/mecha-cover.jpg") center 36%/cover no-repeat;
  filter: saturate(0.55) brightness(0.46) hue-rotate(-12deg);
  transform: scale(1.04);
  animation: cutDrift 24s ease-in-out infinite alternate;
}
.cutscene-vignette {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(2,5,12,0.94) 0%, rgba(2,5,12,0.64) 36%, rgba(2,5,12,0.16) 65%, rgba(2,5,12,0.62) 100%),
    linear-gradient(0deg, rgba(2,5,12,0.96) 0%, transparent 34%, transparent 78%, rgba(2,5,12,0.7) 100%),
    radial-gradient(circle at 72% 45%, rgba(26, 126, 200, 0.22), transparent 30%);
}
.cutscene-fx { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; opacity: 0.8; pointer-events: none; }
.cutscene-scan {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  background: repeating-linear-gradient(0deg, transparent 0 4px, rgba(0, 0, 0, 0.12) 4px 5px);
  opacity: 0.4;
}
.letterbox { position: absolute; z-index: 7; left: 0; right: 0; height: 5.2%; background: #010205; pointer-events: none; }
.letterbox.top { top: 0; }
.letterbox.bottom { bottom: 0; }
.cutscene-hud {
  position: absolute;
  z-index: 8;
  top: 7.8%;
  left: 34px;
  right: 34px;
  display: flex;
  justify-content: space-between;
  color: rgba(156, 207, 236, 0.62);
  font-family: var(--font-num);
  font-size: 0.55rem;
  letter-spacing: 0.18em;
}
.rec { display: flex; align-items: center; gap: 7px; }
.rec i { width: 5px; height: 5px; border-radius: 50%; background: var(--red); box-shadow: 0 0 8px var(--red); animation: blink 1.4s infinite; }
.cutscene-hud-right { display: flex; align-items: center; gap: 16px; }
.cutscene-top-skip { padding: 0 0 2px; border-bottom: 1px solid rgba(66, 232, 255, 0.4); color: var(--cyan); font-size: 0.55rem; letter-spacing: 0.12em; transition: color 0.2s, border-color 0.2s; }
.cutscene-top-skip:hover { color: #fff; border-color: #fff; }
.cutscene-scene {
  position: absolute;
  z-index: 6;
  left: clamp(34px, 6vw, 84px);
  top: 50%;
  max-width: 520px;
  transform: translateY(-50%);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.cutscene-scene.is-changing { opacity: 0; transform: translateY(-46%); }
.scene-kicker { color: var(--cyan); font-family: var(--font-num); font-size: 0.6rem; letter-spacing: 0.24em; }
.cutscene-scene h3 {
  margin-top: 13px;
  font-size: clamp(2rem, 4.2vw, 4.1rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  background: linear-gradient(110deg, #fff, #bcecff 55%, #47b9ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 10px 40px rgba(0,0,0,0.4);
}
.cutscene-scene p:last-child { max-width: 480px; margin-top: 18px; color: var(--ink-soft); font-size: 0.88rem; line-height: 2; text-shadow: 0 2px 10px rgba(0,0,0,0.8); }
.cutscene-controls {
  position: absolute;
  z-index: 9;
  left: 34px;
  right: 34px;
  bottom: 8.6%;
  display: flex;
  align-items: center;
  gap: 10px;
}
.cutscene-hint { margin-left: 4px; color: var(--muted-2); font-size: 0.6rem; letter-spacing: 0.08em; }
.cutscene-controls .text-btn { margin-left: auto; }
.cutscene-progress { position: absolute; z-index: 9; left: 0; right: 0; bottom: 5.2%; height: 1px; background: rgba(255,255,255,0.1); }
.cutscene-progress i { display: block; width: 0; height: 100%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.cutscene-cta {
  position: absolute;
  z-index: 10;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  background: rgba(2, 6, 14, 0.62);
  backdrop-filter: blur(7px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s var(--ease), visibility 0.7s;
}
.cutscene.is-ended .cutscene-cta { opacity: 1; visibility: visible; }
.cutscene.is-ended .cutscene-scene, .cutscene.is-ended .relic-book { opacity: 0.22; filter: blur(2px); }
.cutscene-cta p { color: var(--muted); font-size: 0.8rem; letter-spacing: 0.08em; }
.cutscene-cta .btn { min-width: 210px; }
.relic-book {
  position: absolute;
  z-index: 6;
  right: 9%;
  top: 50%;
  width: 240px;
  height: 330px;
  transform: translateY(-50%);
  perspective: 1000px;
  opacity: 0.96;
}
.book-aura {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(54, 208, 255, 0.26), rgba(23, 77, 180, 0.1) 45%, transparent 70%);
  filter: blur(10px);
  animation: auraPulse 3.6s ease-in-out infinite;
}
.book-3d {
  position: relative;
  width: 100%;
  height: 100%;
  transform: rotateY(-19deg) rotateX(4deg) rotateZ(2deg);
  transform-style: preserve-3d;
  animation: bookFloat 5.6s ease-in-out infinite;
}
.book-cover {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px;
  border: 1px solid rgba(110, 225, 255, 0.44);
  background:
    linear-gradient(135deg, rgba(21, 62, 102, 0.92), rgba(5, 16, 34, 0.98) 54%, rgba(10, 29, 55, 0.96)),
    repeating-linear-gradient(90deg, transparent 0 2px, rgba(255,255,255,0.03) 2px 3px);
  box-shadow: inset 12px 0 24px rgba(0,0,0,0.45), inset -2px 0 0 rgba(120, 231, 255, 0.16), 0 28px 60px rgba(0,0,0,0.55), 0 0 38px rgba(42, 173, 255, 0.12);
  transform: translateZ(12px);
  text-align: center;
}
.book-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 20%, rgba(138, 238, 255, 0.13) 44%, transparent 58%);
  transform: translateX(-120%);
  animation: bookSheen 5s ease-in-out infinite;
}
.book-line { position: absolute; left: 18px; top: 16px; bottom: 16px; width: 1px; background: linear-gradient(180deg, transparent, rgba(107, 222, 255, 0.52), transparent); }
.book-glyph {
  position: absolute;
  right: 18px;
  top: 16px;
  color: rgba(255, 195, 92, 0.86);
  font-family: var(--font-serif);
  font-size: 1.4rem;
  text-shadow: 0 0 20px rgba(255, 195, 92, 0.5);
}
.book-cover strong { position: relative; z-index: 2; color: #e9fbff; font-size: 1.52rem; line-height: 1.38; letter-spacing: 0.2em; text-shadow: 0 0 24px rgba(66, 232, 255, 0.24); }
.book-cover small { position: relative; z-index: 2; margin-top: 50px; color: rgba(145, 205, 234, 0.64); font-family: var(--font-num); font-size: 0.45rem; letter-spacing: 0.18em; line-height: 1.7; }
.book-seal {
  position: absolute;
  right: 16px;
  bottom: 15px;
  padding: 3px 5px;
  border: 1px solid rgba(255, 195, 92, 0.5);
  color: var(--gold);
  font-size: 0.5rem;
  letter-spacing: 0.08em;
  transform: rotate(-4deg);
}
.book-pages {
  position: absolute;
  top: 6px;
  right: -18px;
  bottom: 4px;
  width: 18px;
  border: 1px solid rgba(157, 208, 231, 0.32);
  border-left: 0;
  background: repeating-linear-gradient(0deg, #b9d4dd 0 1px, #e7f5f7 1px 3px);
  transform: rotateY(52deg);
  transform-origin: left center;
  opacity: 0.8;
}
.book-currents { position: absolute; inset: -30px; pointer-events: none; }
.book-currents i {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
  animation: currentOrbit 5s linear infinite;
}
.book-currents i:nth-child(1) { left: 2%; top: 18%; animation-delay: 0s; }
.book-currents i:nth-child(2) { left: 88%; top: 9%; animation-delay: -1s; }
.book-currents i:nth-child(3) { left: 96%; top: 68%; animation-delay: -2s; }
.book-currents i:nth-child(4) { left: 14%; top: 88%; animation-delay: -3s; }
.book-currents i:nth-child(5) { left: 48%; top: -4%; animation-delay: -4s; }

/* quiz */
.quiz-stage { min-height: 560px; }
.quiz-shell { display: grid; grid-template-columns: 292px minmax(0, 1fr); min-height: 560px; }
.quiz-aside {
  display: flex;
  flex-direction: column;
  padding: 36px 30px;
  border-right: 1px solid var(--line);
  background:
    radial-gradient(circle at 20% 12%, rgba(23, 101, 172, 0.22), transparent 38%),
    rgba(4, 11, 23, 0.62);
}
.mini-book {
  position: relative;
  width: 104px;
  height: 142px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 10px;
  border: 1px solid rgba(102, 217, 255, 0.42);
  background: linear-gradient(145deg, #184c7d, #06182f 65%);
  box-shadow: 10px 12px 0 rgba(5, 15, 30, 0.6), 0 0 30px rgba(43, 175, 255, 0.12);
  transform: rotate(-4deg);
  text-align: center;
}
.mini-book span { position: absolute; top: 6px; right: 8px; color: var(--gold); font-family: var(--font-serif); font-size: 0.75rem; }
.mini-book strong { color: #e4faff; font-size: 0.82rem; line-height: 1.5; letter-spacing: 0.12em; }
.mini-book small { margin-top: 10px; color: rgba(130, 200, 231, 0.65); font-size: 0.45rem; letter-spacing: 0.1em; }
.quiz-aside-label { margin-top: 34px; color: var(--muted-2); font-size: 0.6rem; letter-spacing: 0.16em; }
.quiz-progress { height: 2px; margin-top: 10px; background: rgba(112, 176, 220, 0.12); }
.quiz-progress i { display: block; width: 0; height: 100%; background: linear-gradient(90deg, var(--blue), var(--cyan)); box-shadow: 0 0 10px rgba(66,232,255,0.6); transition: width 0.5s var(--ease); }
.quiz-dots { display: flex; gap: 7px; margin-top: 14px; }
.quiz-dots span {
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  border: 1px solid rgba(117, 178, 218, 0.2);
  color: var(--muted-2);
  font-family: var(--font-num);
  font-size: 0.52rem;
}
.quiz-dots span.is-current { border-color: var(--cyan); color: var(--cyan); box-shadow: 0 0 12px rgba(66,232,255,0.18); }
.quiz-dots span.is-correct { border-color: var(--green); color: var(--green); background: rgba(85,242,176,0.07); }
.quiz-dots span.is-wrong { border-color: var(--red); color: var(--red); background: rgba(255,84,104,0.08); }
.quiz-tip { display: flex; gap: 10px; margin-top: 28px; color: var(--muted); font-size: 0.69rem; line-height: 1.8; }
.quiz-tip svg { flex: 0 0 auto; margin-top: 3px; color: var(--gold); width: 15px; height: 15px; }
.quiz-tip strong { color: var(--gold-soft); font-weight: 500; }
.quiz-formula { display: flex; flex-direction: column; gap: 6px; margin-top: auto; padding-top: 28px; border-top: 1px solid var(--line); }
.quiz-formula span { margin-bottom: 4px; color: var(--muted-2); font-size: 0.54rem; letter-spacing: 0.16em; }
.quiz-formula code { color: rgba(151, 227, 255, 0.74); font-family: var(--font-num); font-size: 1rem; letter-spacing: 0.1em; }
.quiz-main { display: flex; flex-direction: column; padding: 38px 46px 32px; }
.quiz-meta { display: flex; justify-content: space-between; color: var(--muted-2); font-family: var(--font-num); font-size: 0.55rem; letter-spacing: 0.18em; }
.quiz-meta span:last-child { color: var(--cyan); }
.quiz-question { max-width: 760px; margin-top: 18px; font-size: clamp(1.3rem, 2vw, 1.86rem); line-height: 1.55; letter-spacing: 0.02em; }
.quiz-diagram { min-height: 132px; margin: 14px 0 12px; display: flex; align-items: center; }
.quiz-diagram svg { width: 100%; max-width: 540px; height: 130px; overflow: visible; }
.quiz-diagram .wire { stroke: rgba(135, 216, 255, 0.58); stroke-width: 1.4; fill: none; }
.quiz-diagram .node { fill: var(--cyan); }
.quiz-diagram .label { fill: rgba(173, 224, 252, 0.74); font-family: var(--font-num); font-size: 11px; letter-spacing: 1px; }
.quiz-diagram .accent { fill: var(--gold); }
.quiz-diagram .res { fill: rgba(11, 35, 60, 0.9); stroke: rgba(123, 225, 255, 0.7); stroke-width: 1.3; }
.quiz-diagram .glow { filter: drop-shadow(0 0 5px rgba(66,232,255,0.55)); }
.quiz-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 8px; }
.quiz-option {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 58px;
  padding: 10px 16px;
  border: 1px solid rgba(115, 181, 225, 0.18);
  background: rgba(5, 16, 32, 0.58);
  color: var(--ink-soft);
  font-size: 0.82rem;
  text-align: left;
  transition: border-color 0.25s, background 0.25s, transform 0.25s, color 0.25s;
}
.quiz-option:hover:not(:disabled) { border-color: rgba(93, 224, 255, 0.54); background: rgba(9, 31, 58, 0.8); transform: translateX(4px); color: #fff; }
.quiz-option .opt-key {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 27px;
  height: 27px;
  border: 1px solid rgba(108, 183, 229, 0.26);
  color: var(--muted);
  font-family: var(--font-num);
  font-size: 0.68rem;
}
.quiz-option .opt-text { line-height: 1.5; }
.quiz-option.is-correct { border-color: rgba(85, 242, 176, 0.72); background: rgba(11, 71, 58, 0.6); color: #d7fff0; }
.quiz-option.is-correct .opt-key { border-color: var(--green); color: var(--green); }
.quiz-option.is-wrong { border-color: rgba(255, 84, 104, 0.72); background: rgba(73, 14, 27, 0.55); color: #ffdce1; animation: shake 0.42s; }
.quiz-option.is-wrong .opt-key { border-color: var(--red); color: var(--red); }
.quiz-option:disabled { cursor: default; }
.quiz-feedback { min-height: 48px; margin-top: 14px; font-size: 0.75rem; line-height: 1.7; }
.quiz-feedback.is-correct { color: var(--green); }
.quiz-feedback.is-wrong { color: #ff9aa7; }
.quiz-feedback strong { color: inherit; }
.quiz-feedback .feedback-formula { display: inline-block; margin-left: 6px; padding: 1px 7px; border: 1px solid currentColor; color: var(--cyan); font-family: var(--font-num); }
.quiz-footer { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); }
.quiz-foot-note { color: var(--muted-2); font-size: 0.65rem; letter-spacing: 0.04em; }
.quiz-footer .btn { min-width: 158px; }

/* =========================================================
   GAME
   ========================================================= */
.game-stage { background: #02050b; }
.game-shell { position: relative; }
.game-hud {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 14px 22px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(8, 24, 45, 0.78), rgba(3, 9, 19, 0.7));
}
.game-pilot { display: flex; align-items: center; gap: 11px; flex: 0 0 auto; }
.game-pilot img { width: 38px; height: 38px; border: 1px solid rgba(112, 226, 255, 0.4); object-fit: cover; object-position: top; }
.game-pilot div { display: flex; flex-direction: column; line-height: 1.3; }
.game-pilot strong { font-size: 0.8rem; letter-spacing: 0.12em; }
.game-pilot span { color: var(--cyan); font-size: 0.52rem; letter-spacing: 0.08em; }
.game-metrics { display: flex; align-items: center; gap: clamp(16px, 3vw, 38px); margin-left: auto; }
.game-metrics > div { display: flex; flex-direction: column; gap: 2px; min-width: 52px; }
.game-metrics span { color: var(--muted-2); font-size: 0.52rem; letter-spacing: 0.1em; }
.game-metrics strong { color: var(--ink); font-family: var(--font-num); font-size: 1.2rem; font-weight: 400; letter-spacing: 0.06em; line-height: 1.1; }
.game-metrics strong em { color: var(--muted-2); font-size: 0.65rem; font-style: normal; }
.game-metrics .cyan { color: var(--cyan); }
.game-metrics .red { color: var(--red); }
.game-metrics .gold { color: var(--gold); }
.game-combo { display: flex; flex-direction: column; align-items: flex-end; min-width: 60px; }
.game-combo span { color: var(--muted-2); font-family: var(--font-num); font-size: 0.46rem; letter-spacing: 0.18em; }
.game-combo strong { color: var(--gold); font-family: var(--font-num); font-size: 1.05rem; font-weight: 400; }
.game-viewport { position: relative; aspect-ratio: 16 / 8.2; min-height: 480px; overflow: hidden; background: radial-gradient(circle at 50% 80%, rgba(19, 67, 119, 0.28), transparent 34%), linear-gradient(180deg, #02050c, #040a14 66%, #06121f); }
.game-viewport canvas { display: block; width: 100%; height: 100%; cursor: crosshair; touch-action: none; }
.game-hint { position: absolute; left: 50%; bottom: 14px; z-index: 4; display: flex; align-items: center; gap: 8px; transform: translateX(-50%); padding: 6px 14px; border: 1px solid rgba(111, 197, 255, 0.16); color: var(--muted); background: rgba(2, 8, 18, 0.65); font-size: 0.58rem; letter-spacing: 0.06em; white-space: nowrap; backdrop-filter: blur(8px); pointer-events: none; }
.game-hint i { width: 1px; height: 11px; background: var(--line-strong); }
.mouse-dot { width: 9px; height: 12px; border: 1px solid var(--cyan); border-radius: 5px; position: relative; }
.mouse-dot::after { content: ""; position: absolute; left: 50%; top: 2px; width: 1px; height: 3px; transform: translateX(-50%); background: var(--cyan); }
.game-overlay { position: absolute; inset: 0; z-index: 5; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(2, 6, 14, 0.62); backdrop-filter: blur(8px); transition: opacity 0.4s, visibility 0.4s; }
.game-overlay.is-hidden { display: flex !important; opacity: 0; visibility: hidden; pointer-events: none; }
.game-overlay-card { width: min(540px, 100%); padding: 38px 42px; border: 1px solid rgba(109, 207, 255, 0.25); background: linear-gradient(150deg, rgba(8, 25, 47, 0.9), rgba(3, 9, 19, 0.94)); box-shadow: var(--shadow); text-align: center; }
.game-overlay-card .kicker { margin-bottom: 9px; }
.game-overlay-card h3 { font-size: clamp(2rem, 3.7vw, 3.4rem); letter-spacing: -0.03em; }
.game-overlay-card > p { margin-top: 16px; color: var(--muted); font-size: 0.8rem; line-height: 2; }
.game-overlay-card > p strong { color: var(--gold); font-weight: 600; }
.game-overlay-card .btn { margin-top: 24px; }
.game-overlay-card .text-btn { display: block; margin: 16px auto 0; }
.result-score { display: flex; justify-content: center; align-items: baseline; gap: 4px; margin: 20px 0 4px; }
.result-score strong { color: var(--cyan); font-family: var(--font-num); font-size: clamp(4rem, 8vw, 6.6rem); font-weight: 300; line-height: 0.9; text-shadow: 0 0 40px rgba(66,232,255,0.24); }
.result-score span { color: var(--muted-2); font-family: var(--font-num); font-size: 0.72rem; }
.result-rank { display: inline-flex; align-items: center; gap: 7px; margin-top: 8px; padding: 5px 12px; border: 1px solid currentColor; font-size: 0.7rem; letter-spacing: 0.12em; }
.result-rank.good { color: var(--gold); background: rgba(255,195,92,0.06); }
.result-rank.bad { color: var(--red); background: rgba(255,84,104,0.06); }
.result-detail { display: flex; justify-content: center; gap: 0; margin-top: 18px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.result-detail div { flex: 1; padding: 12px 8px; border-right: 1px solid var(--line); }
.result-detail div:last-child { border-right: 0; }
.result-detail span { display: block; color: var(--muted-2); font-size: 0.53rem; letter-spacing: 0.08em; }
.result-detail strong { display: block; margin-top: 3px; color: var(--ink); font-family: var(--font-num); font-size: 1.1rem; font-weight: 400; }
.result-actions { display: flex; justify-content: center; gap: 12px; margin-top: 22px; }
.result-actions .btn { margin-top: 0; }
.game-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 12px 22px; border-top: 1px solid var(--line); background: rgba(3, 9, 19, 0.68); }
.game-loadout { display: flex; align-items: center; gap: 10px; color: var(--muted-2); font-size: 0.55rem; letter-spacing: 0.06em; }
.game-loadout b { color: var(--ink-soft); font-family: var(--font-num); font-weight: 400; letter-spacing: 0.1em; }
.game-loadout i { width: 1px; height: 12px; background: var(--line-strong); }
.game-sound { width: 34px; height: 34px; }
.game-sound svg { width: 14px; height: 14px; }
.game-sound.is-muted { color: var(--red); }

/* =========================================================
   SOLAR
   ========================================================= */
.solar-section { padding-bottom: 110px; }
.solar-section.just-unlocked .solar-app { animation: unlockFlash 2.1s var(--ease); }
.solar-section.just-unlocked .solar-lock { display: none; }
.solarAuto.is-paused, #solarAuto.is-paused { color: var(--gold); }
@keyframes unlockFlash {
  0% { box-shadow: 0 0 0 rgba(66,232,255,0); filter: brightness(1.6); }
  28% { box-shadow: 0 0 100px rgba(66,232,255,0.28); filter: brightness(1.12); }
  100% { box-shadow: 0 0 0 rgba(66,232,255,0); filter: brightness(1); }
}
.solar-lock {
  position: relative;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr auto;
  align-items: center;
  gap: clamp(30px, 6vw, 80px);
  min-height: 420px;
  padding: 48px clamp(32px, 5vw, 70px);
  border: 1px solid var(--line);
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 50%, rgba(23, 100, 169, 0.18), transparent 38%),
    linear-gradient(150deg, rgba(7, 19, 37, 0.8), rgba(2, 7, 15, 0.92));
}
.solar-lock::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(90deg, transparent 0 79px, rgba(111, 190, 241, 0.045) 79px 80px), repeating-linear-gradient(0deg, transparent 0 79px, rgba(111, 190, 241, 0.045) 79px 80px);
  mask-image: radial-gradient(circle at 30% 50%, #000, transparent 66%);
  pointer-events: none;
}
.lock-visual { position: relative; width: min(100%, 300px); aspect-ratio: 1; margin: 0 auto; }
.lock-sun { position: absolute; left: 50%; top: 50%; width: 66px; height: 66px; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle at 36% 34%, #fff4bf, #ffc04a 35%, #e46c14 72%); box-shadow: 0 0 50px rgba(255, 167, 54, 0.55), 0 0 120px rgba(255, 108, 18, 0.18); }
.lock-orbit { position: absolute; inset: 8%; border: 1px solid rgba(114, 198, 245, 0.22); border-radius: 50%; transform: rotateX(66deg) rotateZ(-15deg); }
.lock-orbit i { position: absolute; width: 11px; height: 11px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 15px var(--cyan); }
.lock-orbit i:nth-child(1) { left: 8%; top: 42%; }
.lock-orbit i:nth-child(2) { right: 18%; top: 8%; width: 7px; height: 7px; background: var(--gold); box-shadow: 0 0 12px var(--gold); }
.lock-orbit i:nth-child(3) { right: 3%; bottom: 28%; width: 5px; height: 5px; background: #8fa6c0; box-shadow: none; }
.lock-orbit span { position: absolute; inset: 18%; border: 1px dashed rgba(135, 207, 247, 0.12); border-radius: 50%; }
.lock-icon { position: absolute; left: 50%; top: 50%; width: 26px; height: 26px; transform: translate(-50%, -50%); color: rgba(228, 245, 255, 0.86); filter: drop-shadow(0 0 10px rgba(255,255,255,0.2)); }
.lock-copy { position: relative; z-index: 2; }
.lock-copy h3 { margin-top: 10px; font-size: clamp(1.8rem, 3.3vw, 3rem); letter-spacing: -0.03em; }
.lock-copy p:not(.kicker) { max-width: 500px; margin-top: 14px; color: var(--muted); font-size: 0.82rem; line-height: 1.95; }
.lock-copy p strong { color: var(--gold); font-weight: 600; }
.lock-copy .btn { margin-top: 24px; }
.lock-code { position: relative; z-index: 2; align-self: flex-end; color: rgba(102, 154, 190, 0.38); font-family: var(--font-num); font-size: 0.56rem; line-height: 2; letter-spacing: 0.16em; text-align: right; }
.solar-app { display: grid; grid-template-columns: minmax(0, 1fr) 348px; border: 1px solid var(--line); background: rgba(3, 10, 20, 0.6); box-shadow: var(--shadow); }
.solar-stage { position: relative; min-height: 620px; overflow: hidden; background: radial-gradient(circle at 50% 50%, rgba(12, 30, 55, 0.45), transparent 58%), #02050c; }
.solar-stage::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 50% 50%, transparent 50%, rgba(1, 4, 10, 0.5) 100%); }
.solar-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; cursor: grab; touch-action: none; }
.solar-stage canvas:active { cursor: grabbing; }
.solar-top-hud { position: absolute; z-index: 3; left: 22px; right: 22px; top: 20px; display: flex; justify-content: space-between; pointer-events: none; }
.hud-live, .hud-coord { color: var(--muted-2); font-family: var(--font-num); font-size: 0.53rem; letter-spacing: 0.17em; }
.hud-live { display: flex; align-items: center; gap: 7px; color: var(--cyan); }
.hud-live i { width: 5px; height: 5px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); animation: blink 1.8s infinite; }
.solar-tip { position: absolute; z-index: 3; left: 50%; bottom: 22px; transform: translateX(-50%); display: flex; align-items: center; gap: 9px; padding: 6px 14px; border: 1px solid var(--line); color: var(--muted); background: rgba(3, 10, 20, 0.66); font-size: 0.57rem; letter-spacing: 0.06em; white-space: nowrap; backdrop-filter: blur(8px); pointer-events: none; }
.drag-icon { color: var(--cyan); font-size: 0.9rem; }
.solar-controls { position: absolute; z-index: 4; right: 20px; top: 52px; display: flex; flex-direction: column; gap: 7px; }
.solar-scale { position: absolute; z-index: 3; left: 22px; bottom: 22px; display: flex; align-items: center; gap: 8px; color: var(--muted-2); font-family: var(--font-num); font-size: 0.48rem; letter-spacing: 0.08em; pointer-events: none; }
.solar-scale i { width: 58px; height: 1px; background: linear-gradient(90deg, rgba(117,190,235,0.2), rgba(117,190,235,0.7)); position: relative; }
.solar-scale i::before, .solar-scale i::after { content: ""; position: absolute; top: -3px; width: 1px; height: 7px; background: rgba(117,190,235,0.6); }
.solar-scale i::before { left: 0; }
.solar-scale i::after { right: 0; }
.solar-side { display: flex; flex-direction: column; padding: 24px 22px; border-left: 1px solid var(--line); background: linear-gradient(160deg, rgba(7, 18, 34, 0.9), rgba(3, 9, 19, 0.92)); }
.solar-side-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.solar-side-head h3 { margin-top: 6px; font-size: 1.35rem; letter-spacing: 0.03em; }
.nasa-badge { padding: 5px 7px; border: 1px solid rgba(109, 209, 255, 0.28); color: var(--cyan); font-family: var(--font-num); font-size: 0.46rem; line-height: 1.4; letter-spacing: 0.12em; text-align: center; }
.solar-side-note { margin-top: 14px; padding-bottom: 16px; border-bottom: 1px solid var(--line); color: var(--muted-2); font-size: 0.62rem; line-height: 1.7; }
.planet-list { display: flex; flex-direction: column; margin-top: 10px; }
.planet-item {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 9px 8px;
  border-bottom: 1px solid rgba(119, 183, 226, 0.08);
  text-align: left;
  transition: background 0.25s, padding 0.25s;
}
.planet-item:hover, .planet-item.is-active { background: rgba(23, 61, 98, 0.35); padding-left: 12px; }
.planet-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c); box-shadow: 0 0 9px var(--c); }
.planet-item strong { display: block; color: var(--ink-soft); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.08em; }
.planet-item small { display: block; margin-top: 1px; color: var(--muted-2); font-family: var(--font-num); font-size: 0.47rem; letter-spacing: 0.08em; }
.planet-item em { color: var(--muted-2); font-family: var(--font-num); font-size: 0.54rem; font-style: normal; letter-spacing: 0.05em; }
.solar-footnote { margin-top: auto; padding-top: 16px; color: rgba(104, 140, 170, 0.6); font-size: 0.55rem; line-height: 1.7; }

/* planet modal */
.planet-panel { width: min(1040px, 94vw); max-height: 90vh; overflow-y: auto; overscroll-behavior: contain; }
.planet-hero { position: relative; aspect-ratio: 16 / 7.7; overflow: hidden; background: #02050c; }
.planet-hero img { width: 100%; height: 100%; object-fit: cover; }
.planet-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 52%, rgba(3, 8, 16, 0.92)); }
.planet-hero-copy { position: absolute; z-index: 2; left: 34px; right: 34px; bottom: 24px; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.planet-hero-copy h3 { font-size: clamp(2.1rem, 4.4vw, 4.2rem); letter-spacing: -0.04em; }
.planet-hero-copy h3 em { color: var(--muted); font-family: var(--font-num); font-size: 0.42em; font-style: normal; font-weight: 400; letter-spacing: 0.14em; }
.planet-hero-copy p { color: var(--cyan); font-size: 0.67rem; letter-spacing: 0.12em; }
.planet-body { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.72fr); gap: 38px; padding: 32px 36px 38px; }
.planet-desc { color: var(--muted); font-size: 0.83rem; line-height: 2; }
.planet-desc strong { color: var(--ink-soft); font-weight: 500; }
.planet-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin-top: 24px; border: 1px solid var(--line); background: var(--line); }
.planet-facts div { padding: 12px 14px; background: rgba(5, 14, 27, 0.86); }
.planet-facts span { display: block; color: var(--muted-2); font-size: 0.53rem; letter-spacing: 0.08em; }
.planet-facts strong { display: block; margin-top: 3px; color: var(--ink-soft); font-family: var(--font-num); font-size: 0.88rem; font-weight: 400; letter-spacing: 0.03em; }
.planet-credit { padding: 0 0 0 20px; border-left: 1px solid var(--line); }
.planet-credit .nasa-badge { display: inline-block; margin-bottom: 12px; }
.planet-credit h4 { font-size: 0.82rem; letter-spacing: 0.08em; }
.planet-credit p { margin-top: 8px; color: var(--muted-2); font-size: 0.64rem; line-height: 1.75; }
.planet-credit a { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; color: var(--cyan); font-size: 0.64rem; letter-spacing: 0.06em; border-bottom: 1px solid rgba(66,232,255,0.28); }
.planet-credit a:hover { border-color: var(--cyan); }
.planet-credit .non-ai { display: block; margin-top: 18px; padding: 10px 12px; border: 1px solid rgba(85,242,176,0.18); color: rgba(147, 234, 201, 0.74); background: rgba(13, 53, 43, 0.2); font-size: 0.6rem; line-height: 1.6; }

/* =========================================================
   REVIEWS
   ========================================================= */
.rating-layout { display: grid; grid-template-columns: minmax(0, 0.74fr) minmax(380px, 1.26fr); gap: 18px; }
.rating-summary, .rating-form { border: 1px solid var(--line); background: linear-gradient(150deg, rgba(8, 20, 39, 0.82), rgba(3, 9, 19, 0.8)); }
.rating-summary { position: relative; padding: 30px 32px 26px; overflow: hidden; }
.rating-summary::before { content: ""; position: absolute; left: -100px; top: -100px; width: 270px; height: 270px; border-radius: 50%; background: rgba(34, 164, 255, 0.18); filter: blur(60px); }
.avg-head { position: relative; z-index: 1; display: flex; justify-content: space-between; color: var(--muted-2); font-family: var(--font-num); font-size: 0.55rem; letter-spacing: 0.16em; }
.avg-score { position: relative; z-index: 1; display: flex; align-items: baseline; gap: 8px; margin-top: 26px; }
.avg-score strong { color: transparent; background: linear-gradient(120deg, #fff, #bcefff 45%, #4dc8ff); -webkit-background-clip: text; background-clip: text; font-family: var(--font-num); font-size: clamp(5rem, 9vw, 7.8rem); font-weight: 300; line-height: 0.9; letter-spacing: -0.04em; filter: drop-shadow(0 0 30px rgba(65, 209, 255, 0.16)); }
.avg-score span { color: var(--muted-2); font-family: var(--font-num); font-size: 0.78rem; }
.avg-stars { display: flex; gap: 4px; margin-top: 10px; color: var(--gold); }
.avg-stars svg { width: 13px; height: 13px; opacity: 0.28; }
.avg-stars svg.is-on { opacity: 1; filter: drop-shadow(0 0 6px rgba(255,195,92,0.6)); }
.avg-label { margin-top: 8px; color: var(--muted); font-size: 0.72rem; letter-spacing: 0.05em; }
.distribution { display: flex; flex-direction: column; gap: 7px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.dist-row { display: grid; grid-template-columns: 32px minmax(0, 1fr) 28px; align-items: center; gap: 10px; color: var(--muted-2); font-family: var(--font-num); font-size: 0.52rem; }
.dist-bar { height: 4px; background: rgba(113, 178, 220, 0.1); overflow: hidden; }
.dist-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--blue), var(--cyan)); transition: width 0.7s var(--ease); }
.dist-row:nth-child(4) .dist-bar i, .dist-row:nth-child(5) .dist-bar i { background: linear-gradient(90deg, #c28622, var(--gold)); }
.avg-note { margin-top: 22px; color: rgba(107, 139, 167, 0.66); font-size: 0.56rem; line-height: 1.65; }
.rating-form { padding: 30px 34px 28px; }
.rating-form h3 { margin-top: 7px; font-size: 1.55rem; letter-spacing: -0.02em; }
.field { display: block; margin-top: 18px; }
.field > span { display: flex; justify-content: space-between; color: var(--muted); font-size: 0.62rem; letter-spacing: 0.08em; }
.field > span em { color: var(--muted-2); font-style: normal; font-size: 0.55rem; }
.field input[type="text"], .field textarea { width: 100%; margin-top: 7px; padding: 10px 12px; border: 1px solid rgba(111, 184, 232, 0.17); background: rgba(3, 10, 21, 0.6); color: var(--ink); font-size: 0.76rem; resize: vertical; transition: border-color 0.25s, background 0.25s; }
.field input::placeholder, .field textarea::placeholder { color: rgba(111, 139, 164, 0.66); }
.field input:focus, .field textarea:focus { outline: none; border-color: rgba(66, 232, 255, 0.6); background: rgba(5, 17, 32, 0.8); }
.score-picker { margin-top: 18px; padding: 16px 18px 14px; border: 1px solid rgba(111, 184, 232, 0.14); background: rgba(3, 10, 21, 0.36); }
.score-picker-head { display: flex; align-items: baseline; justify-content: space-between; }
.score-picker-head span { color: var(--muted); font-size: 0.62rem; letter-spacing: 0.08em; }
.score-picker-head strong { color: var(--cyan); font-family: var(--font-num); font-size: 2.1rem; font-weight: 300; line-height: 1; text-shadow: 0 0 24px rgba(66,232,255,0.25); }
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 24px;
  margin: 4px 0 2px;
  padding: 0;
  background: transparent;
  outline: none;
  cursor: pointer;
}
input[type="range"]::-webkit-slider-runnable-track {
  height: 3px;
  border-radius: 0;
  background: linear-gradient(90deg, var(--cyan) 0%, var(--cyan) var(--range-fill, 88%), rgba(112, 171, 213, 0.16) var(--range-fill, 88%));
}
input[type="range"]::-moz-range-track { height: 3px; background: rgba(112, 171, 213, 0.16); }
input[type="range"]::-moz-range-progress { height: 3px; background: linear-gradient(90deg, var(--blue), var(--cyan)); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 13px; height: 19px; margin-top: -8px; border: 1px solid #b6f5ff; background: #e7fdff; box-shadow: 0 0 18px rgba(66, 232, 255, 0.75); cursor: grab; clip-path: polygon(50% 0, 100% 24%, 100% 76%, 50% 100%, 0 76%, 0 24%); }
input[type="range"]::-webkit-slider-thumb:active { cursor: grabbing; }
input[type="range"]::-moz-range-thumb { width: 13px; height: 19px; border: 1px solid #b6f5ff; background: #e7fdff; box-shadow: 0 0 18px rgba(66, 232, 255, 0.75); cursor: grab; }
.range-labels { display: flex; justify-content: space-between; color: var(--muted-2); font-family: var(--font-num); font-size: 0.5rem; letter-spacing: 0.04em; }
.score-presets { display: flex; gap: 6px; margin-top: 12px; }
.score-presets button { flex: 1; padding: 4px 0; border: 1px solid rgba(111, 184, 232, 0.14); color: var(--muted); font-family: var(--font-num); font-size: 0.6rem; transition: all 0.2s; }
.score-presets button:hover { border-color: var(--cyan); color: var(--cyan); background: rgba(17, 61, 96, 0.4); }
.btn-submit { width: 100%; margin-top: 20px; }
.form-msg { min-height: 20px; margin-top: 9px; color: var(--green); font-size: 0.64rem; letter-spacing: 0.04em; }
.form-msg.is-error { color: var(--red); }
.ratings-wall-head { position: sticky; top: 68px; z-index: 6; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin: 72px 0 22px; padding: 18px 0 14px; border-top: 1px solid var(--line); background: linear-gradient(180deg, rgba(3, 7, 16, 0.96), rgba(3, 7, 16, 0.86)); backdrop-filter: blur(10px); }
.wall-head-copy { display: flex; align-items: baseline; gap: 16px; }
.ratings-wall-head h3 { font-size: 1.45rem; letter-spacing: -0.02em; }
.ratings-wall-head span { color: var(--muted-2); font-family: var(--font-num); font-size: 0.55rem; letter-spacing: 0.16em; }
.wall-average { display: flex; align-items: baseline; gap: 6px; }
.wall-average span { color: var(--muted); font-family: var(--font-sans); font-size: 0.6rem; letter-spacing: 0.08em; }
.wall-average strong { color: var(--cyan); font-family: var(--font-num); font-size: 1.6rem; font-weight: 300; line-height: 1; text-shadow: 0 0 22px rgba(66,232,255,0.22); }
.wall-average em { color: var(--muted-2); font-family: var(--font-num); font-size: 0.52rem; font-style: normal; }
.ratings-wall { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.rating-card {
  position: relative;
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr);
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(111, 184, 232, 0.12);
  background: linear-gradient(145deg, rgba(8, 20, 38, 0.64), rgba(3, 9, 19, 0.58));
  transition: border-color 0.3s, transform 0.3s;
}
.rating-card:hover { border-color: rgba(103, 208, 255, 0.3); transform: translateY(-2px); }
.rating-card.is-new { border-color: rgba(85, 242, 176, 0.4); }
.rating-score { display: grid; place-items: center; align-content: center; width: 66px; height: 66px; border: 1px solid rgba(111, 219, 255, 0.32); border-radius: 50%; background: radial-gradient(circle at 36% 30%, rgba(28, 97, 142, 0.58), rgba(3, 13, 26, 0.8)); box-shadow: inset 0 0 18px rgba(31, 160, 219, 0.12); }
.rating-score strong { color: var(--cyan); font-family: var(--font-num); font-size: 1.32rem; font-weight: 400; line-height: 1; }
.rating-score span { color: var(--muted-2); font-family: var(--font-num); font-size: 0.45rem; letter-spacing: 0.08em; }
.rating-content { min-width: 0; }
.rating-top { display: flex; align-items: center; gap: 7px; }
.rating-top strong { color: var(--ink-soft); font-size: 0.76rem; font-weight: 500; letter-spacing: 0.05em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rating-demo { padding: 1px 5px; border: 1px solid rgba(255,195,92,0.28); color: rgba(255,195,92,0.72); font-size: 0.44rem; letter-spacing: 0.06em; }
.rating-date { margin-top: 2px; color: var(--muted-2); font-family: var(--font-num); font-size: 0.48rem; letter-spacing: 0.05em; }
.rating-comment { margin-top: 8px; color: var(--muted); font-size: 0.66rem; line-height: 1.65; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rating-card.is-new .rating-score { border-color: var(--green); box-shadow: 0 0 24px rgba(85,242,176,0.12); }
.rating-empty { grid-column: 1 / -1; padding: 40px; border: 1px dashed var(--line); color: var(--muted); text-align: center; font-size: 0.76rem; }
.loading-skeleton { grid-column: 1 / -1; height: 104px; border: 1px solid var(--line); background: linear-gradient(90deg, rgba(9,23,43,0.4), rgba(18,44,73,0.4), rgba(9,23,43,0.4)); background-size: 200% 100%; animation: skeleton 1.6s infinite; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { position: relative; z-index: 2; padding: 54px 0 100px; border-top: 1px solid var(--line); background: rgba(2, 6, 13, 0.72); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 0.8fr 1.2fr auto; gap: 46px; align-items: start; }
.footer-brand { display: flex; gap: 15px; align-items: flex-start; }
.footer-brand .brand-mark { flex: 0 0 auto; margin-top: 5px; }
.footer-brand strong { font-size: 0.9rem; letter-spacing: 0.1em; }
.footer-brand p { margin-top: 5px; color: var(--muted-2); font-family: var(--font-num); font-size: 0.48rem; letter-spacing: 0.18em; }
.footer-col { display: flex; flex-direction: column; gap: 6px; }
.footer-col > span { margin-bottom: 5px; color: var(--muted-2); font-size: 0.55rem; letter-spacing: 0.14em; }
.footer-col a, .footer-col p { color: var(--muted); font-size: 0.64rem; line-height: 1.7; }
.footer-col a:hover { color: var(--cyan); }
.footer-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; color: var(--muted-2); font-family: var(--font-num); font-size: 0.48rem; letter-spacing: 0.14em; }
.footer-meta strong { color: rgba(123, 185, 226, 0.52); font-size: 1.2rem; font-weight: 300; }

/* =========================================================
   AUDIO DOCK
   ========================================================= */
.audio-dock {
  position: fixed;
  z-index: 90;
  right: 24px;
  bottom: max(22px, calc(env(safe-area-inset-bottom, 0px) + 12px));
  display: flex;
  align-items: center;
  gap: 11px;
  max-width: calc(100vw - 32px);
  padding: 8px 13px 8px 9px;
  border: 1px solid rgba(108, 197, 247, 0.24);
  background: rgba(4, 12, 24, 0.82);
  box-shadow: 0 16px 48px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.04);
  backdrop-filter: blur(18px) saturate(1.2);
  transform: translateY(90px);
  opacity: 0;
  transition: transform 0.7s var(--ease), opacity 0.5s, border-color 0.3s, box-shadow 0.3s;
}
.audio-dock.is-visible { transform: none; opacity: 1; }
.audio-dock.is-nudged { border-color: var(--cyan); box-shadow: 0 16px 48px rgba(0,0,0,0.5), 0 0 34px rgba(66,232,255,0.34); }
.audio-dock.needs-gesture { border-color: rgba(255, 195, 92, 0.55); animation: audioHint 1.8s ease-in-out infinite; }
@keyframes audioHint {
  0%, 100% { box-shadow: 0 16px 48px rgba(0,0,0,0.5), 0 0 0 rgba(255,195,92,0); }
  50% { box-shadow: 0 16px 48px rgba(0,0,0,0.5), 0 0 28px rgba(255,195,92,0.26); }
}
.audio-disc { position: relative; display: grid; place-items: center; width: 34px; height: 34px; flex: 0 0 auto; border-radius: 50%; background: repeating-radial-gradient(circle, #1b2a3c 0 1px, #0a1522 1px 3px); animation: spin 8s linear infinite; }
.audio-disc span { width: 9px; height: 9px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.audio-dock.is-paused .audio-disc { animation-play-state: paused; }
.audio-info { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.audio-info > span { color: var(--cyan); font-family: var(--font-num); font-size: 0.42rem; letter-spacing: 0.18em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.audio-info strong { color: var(--ink-soft); font-size: 0.64rem; font-weight: 500; letter-spacing: 0.04em; white-space: nowrap; }
.audio-info em { color: var(--muted-2); font-style: normal; }
.audio-play { display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid rgba(110, 208, 255, 0.24); color: var(--cyan); transition: background 0.2s; }
.audio-play:hover { background: rgba(22, 78, 116, 0.4); }
.audio-play svg { width: 12px; height: 12px; }
.audio-stop {
  height: 26px;
  padding: 0 7px;
  border: 1px solid rgba(255, 84, 104, 0.28);
  color: rgba(255, 164, 175, 0.86);
  font-size: 0.53rem;
  letter-spacing: 0.08em;
  white-space: nowrap;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.audio-stop:hover { color: #fff; border-color: var(--red); background: rgba(255, 84, 104, 0.12); }
.audio-volume { display: flex; align-items: center; gap: 3px; }
.audio-mute { display: grid; place-items: center; width: 21px; height: 24px; color: var(--muted); }
.audio-mute:hover { color: var(--cyan); }
.audio-mute svg { width: 15px; height: 15px; }
.volume-step {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border: 1px solid rgba(110, 196, 240, 0.18);
  color: var(--muted);
  font-family: var(--font-num);
  font-size: 0.78rem;
  line-height: 1;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.volume-step:hover { color: var(--cyan); border-color: var(--cyan); background: rgba(20, 66, 98, 0.4); }
#volumeRange { width: 78px; margin: 0; height: 24px; }
.audio-divider { width: 1px; height: 22px; background: var(--line); }
.audio-keys { padding: 2px 5px; border: 1px solid rgba(110, 196, 240, 0.16); color: var(--muted-2); font-family: var(--font-num); font-size: 0.46rem; letter-spacing: 0.04em; white-space: nowrap; }
.audio-lyric { color: var(--muted-2); font-family: var(--font-serif); font-size: 0.58rem; letter-spacing: 0.06em; white-space: nowrap; }
.audio-lyric:hover { color: var(--gold-soft); }

/* =========================================================
   MODALS / TOAST
   ========================================================= */
.modal { position: fixed; inset: 0; z-index: 220; display: flex; align-items: center; justify-content: center; padding: 28px; opacity: 0; visibility: hidden; transition: opacity 0.35s, visibility 0.35s; }
.modal.is-open { opacity: 1; visibility: visible; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(1, 4, 10, 0.82); backdrop-filter: blur(14px); }
.modal-panel { position: relative; z-index: 2; background: #060d19; border: 1px solid rgba(112, 202, 255, 0.2); box-shadow: 0 40px 120px rgba(0,0,0,0.7); }
.modal-close { position: absolute; z-index: 5; right: 12px; top: 12px; display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid rgba(255,255,255,0.16); color: var(--ink-soft); background: rgba(2,6,13,0.7); backdrop-filter: blur(8px); transition: background 0.2s, border-color 0.2s; }
.modal-close:hover { border-color: var(--cyan); color: var(--cyan); background: rgba(8,25,44,0.8); }
.modal-close svg { width: 14px; height: 14px; }
.video-panel { width: min(1120px, 94vw); }
.video-frame { aspect-ratio: 16 / 9; background: #000; overflow: hidden; }
.video-frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.concept-film { position: relative; width: 100%; height: 100%; overflow: hidden; background: #02050c; }
.concept-film-bg {
  position: absolute;
  inset: -4%;
  background: url("assets/img/mecha-cover.jpg") center/cover no-repeat;
  filter: saturate(0.9) brightness(0.82);
  animation: conceptDrift 18s ease-in-out infinite alternate;
}
.concept-film::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(2,6,14,0.76), rgba(2,6,14,0.08) 52%, rgba(2,6,14,0.44)), linear-gradient(0deg, rgba(2,6,14,0.86), transparent 45%);
}
.concept-film-scan {
  position: absolute;
  z-index: 2;
  inset: 0;
  background: repeating-linear-gradient(0deg, transparent 0 4px, rgba(0,0,0,0.12) 4px 5px);
  opacity: 0.45;
  pointer-events: none;
}
.concept-film-copy { position: absolute; z-index: 3; left: clamp(22px, 4vw, 52px); bottom: clamp(24px, 6vw, 62px); max-width: 600px; }
.concept-film-copy p { color: var(--cyan); font-family: var(--font-num); font-size: 0.62rem; letter-spacing: 0.2em; }
.concept-film-copy h3 { margin-top: 9px; font-size: clamp(2.2rem, 5.5vw, 5rem); letter-spacing: 0.06em; background: linear-gradient(110deg, #fff, #bdf3ff 55%, #4acaff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.concept-film-copy span { display: block; margin-top: 9px; color: var(--ink-soft); font-size: 0.7rem; letter-spacing: 0.08em; }
.concept-film-reticle { position: absolute; z-index: 3; right: 8%; top: 16%; width: 94px; height: 94px; border: 1px solid rgba(110, 230, 255, 0.5); border-radius: 50%; box-shadow: 0 0 24px rgba(60, 200, 255, 0.18); animation: spin 16s linear infinite; }
.concept-film-reticle::before, .concept-film-reticle::after { content: ""; position: absolute; background: rgba(110, 230, 255, 0.6); }
.concept-film-reticle::before { left: 50%; top: -16px; width: 1px; height: 126px; }
.concept-film-reticle::after { top: 50%; left: -16px; height: 1px; width: 126px; }
@keyframes conceptDrift { from { transform: scale(1.02); } to { transform: scale(1.1) translate(-1%, 1%); } }
.video-meta { display: flex; justify-content: space-between; gap: 30px; padding: 22px 26px 24px; }
.video-meta h3 { margin-top: 6px; font-size: 1.35rem; letter-spacing: -0.02em; }
.video-meta > p { max-width: 440px; color: var(--muted); font-size: 0.64rem; line-height: 1.7; }
.video-meta a { color: var(--cyan); border-bottom: 1px solid rgba(66,232,255,0.3); }
.planet-modal { padding: 20px; }
.toast { position: fixed; z-index: 400; left: 50%; bottom: 96px; transform: translate(-50%, 20px); padding: 10px 18px; border: 1px solid rgba(106, 217, 255, 0.34); color: var(--ink); background: rgba(6, 18, 33, 0.94); box-shadow: 0 16px 50px rgba(0,0,0,0.5); font-size: 0.7rem; letter-spacing: 0.04em; opacity: 0; visibility: hidden; transition: all 0.35s var(--ease); max-width: calc(100vw - 40px); text-align: center; }
.toast.is-visible { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.toast.is-error { border-color: rgba(255, 84, 104, 0.5); color: #ffdce1; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1120px) {
  .wrap, .hero-grid, .section::before { width: calc(100vw - 56px); }
  .site-header { padding: 0 28px; }
  .site-nav { gap: 16px; }
  .music-chip-copy { display: none; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(300px, 0.64fr); gap: 30px; }
  .hero-visual { min-height: 520px; }
  .hero-en { font-size: clamp(4.4rem, 10vw, 9rem); }
  .section-head { grid-template-columns: 86px minmax(0, 1fr) minmax(200px, 0.5fr); gap: 24px; }
  .section-index { font-size: 3.6rem; }
  .solar-app { grid-template-columns: minmax(0, 1fr) 318px; }
  .solar-stage { min-height: 560px; }
  .footer-grid { grid-template-columns: 1.2fr 0.8fr 1fr; }
  .footer-meta { display: none; }
  .audio-lyric { display: none; }
  .audio-divider { display: none; }
  .audio-keys { display: none; }
}

@media (max-width: 900px) {
  .pc-only { display: none; }
  .section { padding: 94px 0; }
  .section-head { grid-template-columns: 64px minmax(0, 1fr); gap: 20px; padding-bottom: 40px; }
  .section-note { grid-column: 2; margin-top: -10px; text-align: left; }
  .section-index { font-size: 3rem; }
  .hero { min-height: auto; padding: 126px 0 84px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { order: 1; }
  .hero-visual { order: 2; justify-content: flex-start; min-height: auto; margin-top: 38px; padding-left: 12px; }
  .poster-card { width: min(72vw, 350px); }
  .poster-side-label { right: auto; left: 105%; }
  .hero-en { font-size: clamp(4.4rem, 13vw, 8rem); }
  .story-grid { grid-template-columns: 1fr; gap: 34px; }
  .story-aside { display: grid; grid-template-columns: 1.1fr 0.9fr; }
  .aside-coordinates { display: none; }
  .char-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quiz-shell { grid-template-columns: 220px minmax(0, 1fr); }
  .quiz-aside { padding: 30px 22px; }
  .quiz-main { padding: 32px 30px 26px; }
  .cutscene { min-height: 430px; }
  .relic-book { width: 190px; height: 262px; right: 6%; }
  .book-cover strong { font-size: 1.2rem; }
  .book-cover small { margin-top: 32px; }
  .cutscene-scene { max-width: 410px; }
  .solar-app { grid-template-columns: 1fr; }
  .solar-stage { min-height: 520px; }
  .solar-side { border-left: 0; border-top: 1px solid var(--line); }
  .planet-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 8px; }
  .solar-footnote { margin-top: 14px; }
  .solar-lock { grid-template-columns: 0.75fr 1.25fr; }
  .lock-code { display: none; }
  .rating-layout { grid-template-columns: 1fr; }
  .ratings-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
  .audio-dock { right: 16px; bottom: 16px; }
  .game-hud { flex-wrap: wrap; gap: 12px 18px; }
  .game-metrics { margin-left: 0; }
  .game-combo { margin-left: auto; }
  .game-viewport { min-height: 400px; }
  .video-meta { flex-direction: column; gap: 10px; }
}

@media (max-width: 720px) {
  .wrap, .hero-grid, .section::before { width: calc(100vw - 36px); }
  .site-header { height: 66px; padding: 0 18px; }
  .brand-copy strong { font-size: 0.82rem; }
  .brand-copy small { font-size: 0.4rem; }
  .brand-mark { width: 27px; height: 27px; }
  .brand-mark::before { height: 38px; top: -6px; }
  .brand-mark::after { width: 38px; left: -6px; }
  .site-nav {
    position: fixed;
    left: 18px;
    right: 18px;
    top: 74px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 16px;
    border: 1px solid var(--line);
    background: rgba(4, 11, 22, 0.96);
    backdrop-filter: blur(20px);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s var(--ease);
  }
  .site-nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .site-nav a { padding: 13px 4px; border-bottom: 1px solid rgba(124,194,255,0.08); font-size: 0.8rem; }
  .site-nav a:last-child { border-bottom: 0; }
  .site-nav a::after { display: none; }
  .nav-toggle { display: flex; }
  .music-chip { padding: 6px 9px; }
  .music-chip .eq { width: 12px; height: 12px; }
  .hero { padding-top: 112px; }
  .hero-title { margin-top: 16px; }
  .hero-cn { font-size: clamp(3.5rem, 17vw, 5.4rem); }
  .hero-en { font-size: clamp(3.4rem, 20vw, 6.6rem); top: 46%; }
  .hero-lede { margin-top: 30px; font-size: 0.83rem; line-height: 1.95; }
  .hero-actions { gap: 10px; margin-top: 26px; }
  .hero-actions .btn { min-height: 48px; padding: 0 18px; font-size: 0.76rem; }
  .hero-stats { gap: 14px; margin-top: 34px; padding-top: 16px; overflow-x: auto; }
  .hero-stats div { min-width: 96px; }
  .hero-stats dt { font-size: 1.04rem; }
  .hero-stats dd { font-size: 0.7rem; }
  .hero-stats dd span { font-size: 0.52rem; }
  .hero-visual { padding-left: 8px; }
  .poster-card { width: min(78vw, 330px); }
  .poster-float { left: -4px; bottom: 12%; }
  .poster-side-label { display: none; }
  .poster-orbit { display: none; }
  .scroll-cue { display: none; }
  .section { padding: 78px 0; }
  .section-head { grid-template-columns: 42px minmax(0, 1fr); gap: 13px; padding-bottom: 32px; }
  .section-index { font-size: 2.1rem; }
  .section-title h2 { font-size: clamp(1.9rem, 8.4vw, 2.7rem); line-height: 1.22; }
  .section-note { font-size: 0.7rem; }
  .story-aside { grid-template-columns: 1fr; }
  .quote-card { padding: 30px 26px 24px; }
  .quote-card p { font-size: 1.1rem; }
  .characters { margin-top: 72px; }
  .char-heading { flex-direction: column; align-items: flex-start; gap: 10px; }
  .char-heading > p { text-align: left; }
  .char-grid { grid-template-columns: 1fr 1fr; gap: 9px; }
  .char-body { left: 13px; right: 13px; bottom: 13px; }
  .char-name { font-size: 1.1rem; gap: 6px; }
  .char-name em { font-size: 0.4rem; }
  .char-sub { font-size: 0.5rem; }
  .char-role { top: 10px; left: 10px; font-size: 0.46rem; padding: 3px 6px; }
  .char-no { top: 11px; right: 11px; font-size: 0.5rem; }
  .char-desc { font-size: 0.62rem; line-height: 1.65; }
  .trial-topbar { flex-direction: column; align-items: flex-start; gap: 10px; padding: 12px 16px; }
  .trial-steps { width: 100%; justify-content: space-between; }
  .trial-step { font-size: 0.58rem; }
  .trial-step i { margin: 0 6px; width: 14px; }
  .trial-status { font-size: 0.5rem; }
  .cutscene { aspect-ratio: auto; min-height: 500px; }
  .cutscene-media { background-position: 62% center; }
  .cutscene-scene { left: 20px; right: 20px; top: 51%; max-width: none; }
  .cutscene-scene h3 { font-size: 1.9rem; }
  .cutscene-scene p:last-child { font-size: 0.76rem; max-width: 94%; }
  .cutscene-hud { left: 18px; right: 18px; }
  .cutscene-controls { left: 18px; right: 18px; bottom: 9%; }
  .cutscene-hint { display: none; }
  .relic-book { width: 122px; height: 170px; right: 20px; top: 23%; opacity: 0.52; transform: translateY(-50%) scale(0.9); }
  .book-cover strong { font-size: 0.8rem; }
  .book-cover small { display: none; }
  .book-seal { font-size: 0.4rem; right: 8px; bottom: 8px; }
  .book-glyph { font-size: 0.9rem; right: 9px; top: 8px; }
  .book-line { left: 9px; }
  .cutscene-cta p { font-size: 0.7rem; }
  .quiz-shell { grid-template-columns: 1fr; }
  .quiz-aside { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 16px; padding: 20px; border-right: 0; border-bottom: 1px solid var(--line); align-items: center; }
  .mini-book { width: 60px; height: 82px; padding: 5px; box-shadow: 5px 6px 0 rgba(5, 15, 30, 0.6); }
  .mini-book strong { font-size: 0.48rem; }
  .mini-book small { display: none; }
  .quiz-aside-label { margin-top: 0; }
  .quiz-progress { margin-top: 6px; }
  .quiz-dots { margin-top: 8px; }
  .quiz-tip, .quiz-formula { display: none; }
  .quiz-main { padding: 24px 20px 22px; }
  .quiz-question { font-size: 1.18rem; }
  .quiz-diagram { min-height: 100px; margin: 10px 0 6px; }
  .quiz-diagram svg { height: 100px; }
  .quiz-options { grid-template-columns: 1fr; }
  .quiz-option { min-height: 52px; font-size: 0.76rem; }
  .quiz-footer { flex-direction: column; align-items: stretch; gap: 10px; }
  .quiz-footer .btn { width: 100%; }
  .quiz-foot-note { text-align: center; }
  .game-hud { padding: 10px 12px; gap: 9px 14px; }
  .game-pilot img { width: 31px; height: 31px; }
  .game-pilot strong { font-size: 0.72rem; }
  .game-pilot span { font-size: 0.45rem; }
  .game-metrics { gap: 13px; width: 100%; order: 3; justify-content: space-between; }
  .game-metrics > div { min-width: 0; }
  .game-metrics strong { font-size: 1rem; }
  .game-combo { min-width: 44px; }
  .game-viewport { aspect-ratio: 4 / 4.1; min-height: 420px; }
  .game-hint { width: calc(100% - 24px); justify-content: center; white-space: normal; text-align: center; font-size: 0.52rem; }
  .game-hint i { display: none; }
  .game-overlay { padding: 16px; }
  .game-overlay-card { padding: 28px 22px; }
  .game-overlay-card h3 { font-size: 2rem; }
  .game-overlay-card > p { font-size: 0.72rem; }
  .game-footer { padding: 10px 12px; }
  .game-loadout { gap: 6px; font-size: 0.47rem; }
  .game-loadout i { display: none; }
  .solar-lock { grid-template-columns: 1fr; gap: 22px; padding: 30px 22px 34px; text-align: left; }
  .lock-visual { width: 210px; }
  .lock-copy h3 { font-size: 1.65rem; }
  .solar-stage { min-height: 440px; }
  .solar-top-hud { left: 14px; right: 14px; top: 14px; }
  .solar-tip { font-size: 0.5rem; bottom: 14px; padding: 5px 10px; }
  .solar-scale { display: none; }
  .solar-controls { right: 12px; top: 44px; }
  .solar-side { padding: 20px 16px; }
  .planet-list { grid-template-columns: 1fr 1fr; }
  .planet-item { padding: 8px 4px; grid-template-columns: 13px minmax(0, 1fr); }
  .planet-item em { display: none; }
  .planet-hero { aspect-ratio: 16 / 10; }
  .planet-hero-copy { left: 20px; right: 20px; bottom: 16px; align-items: flex-start; flex-direction: column; gap: 4px; }
  .planet-body { grid-template-columns: 1fr; gap: 22px; padding: 22px 20px 26px; }
  .planet-credit { padding: 20px 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .planet-facts { grid-template-columns: 1fr 1fr; }
  .rating-layout { gap: 12px; }
  .rating-summary, .rating-form { padding: 24px 20px; }
  .avg-score strong { font-size: 5.4rem; }
  .ratings-wall { grid-template-columns: 1fr; }
  .ratings-wall-head { margin-top: 50px; align-items: flex-start; flex-direction: column; gap: 10px; }
  .wall-head-copy { flex-direction: column; align-items: flex-start; gap: 4px; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; padding-bottom: 10px; }
  .site-footer { padding-bottom: 110px; }
  .audio-dock { left: 12px; right: 12px; bottom: max(12px, calc(env(safe-area-inset-bottom, 0px) + 8px)); padding: 7px 10px; gap: 7px; }
  .audio-info { flex: 1; }
  .audio-play { width: 28px; height: 28px; }
  .audio-stop { height: 24px; padding: 0 5px; font-size: 0.48rem; }
  .audio-volume { display: flex; gap: 2px; }
  #volumeRange { width: 44px; }
  .audio-mute { width: 18px; }
  .audio-mute svg { width: 13px; height: 13px; }
  .volume-step { width: 16px; height: 18px; font-size: 0.7rem; }
  .audio-disc { width: 30px; height: 30px; }
  .modal { padding: 12px; }
  .video-panel { width: 100%; }
  .video-meta { padding: 16px 18px 18px; }
  .toast { bottom: 84px; }
  .welcome-shell { grid-template-columns: 1fr; width: calc(100vw - 40px); gap: 24px; }
  .welcome-poster { display: none; }
  .welcome-bg {
    background: url("assets/img/luofeng-poster-web.jpg") center 18%/cover no-repeat;
    filter: saturate(0.72) brightness(0.5);
    opacity: 0.34;
  }
  .welcome-title { font-size: clamp(4rem, 22vw, 6.2rem); }
  .welcome-lede { font-size: 0.9rem; margin-top: 22px; }
  .welcome-tags { margin-top: 18px; }
  .welcome-tags span { font-size: 0.61rem; }
  .btn-enter { width: 100%; margin-top: 26px; }
  .welcome-note { font-size: 0.66rem; }
  .welcome-disclaimer { font-size: 0.57rem; }
}

@media (max-width: 420px) {
  .hero-cn { font-size: 3.35rem; }
  .hero-en { font-size: 3.4rem; }
  .hero-stats { gap: 8px; }
  .hero-stats div { min-width: 89px; }
  .char-grid { grid-template-columns: 1fr; }
  .char-card { aspect-ratio: 4 / 5; }
  .game-metrics span { font-size: 0.46rem; }
  .game-metrics strong { font-size: 0.9rem; }
  .planet-list { grid-template-columns: 1fr; }
  .result-actions { flex-direction: column; }
}

/* =========================================================
   MOTION
   ========================================================= */
@keyframes welcomeDrift { to { transform: scale(1.12) translate3d(1.6%, -1%, 0); } }
@keyframes posterFloat { 0%, 100% { transform: perspective(1100px) rotateY(5deg) rotateZ(-1.2deg) translateY(0); } 50% { transform: perspective(1100px) rotateY(3deg) rotateZ(-0.4deg) translateY(-10px); } }
@keyframes scan { 0% { top: -25%; } 100% { top: 120%; } }
@keyframes heroZoom { from { transform: scale(1.06); } to { transform: scale(1); } }
@keyframes cutDrift { from { transform: scale(1.05) translate3d(0, 0, 0); } to { transform: scale(1.11) translate3d(-1.4%, -0.8%, 0); } }
@keyframes scrollLine { 0%, 100% { transform: scaleY(0.45); opacity: 0.35; transform-origin: top; } 50% { transform: scaleY(1); opacity: 1; transform-origin: top; } }
@keyframes blink { 0%, 100% { opacity: 0.35; } 50% { opacity: 1; } }
@keyframes eq { from { transform: scaleY(0.4); } to { transform: scaleY(1); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes auraPulse { 0%, 100% { transform: translate(-50%, -50%) scale(0.92); opacity: 0.7; } 50% { transform: translate(-50%, -50%) scale(1.08); opacity: 1; } }
@keyframes bookFloat { 0%, 100% { transform: rotateY(-19deg) rotateX(4deg) rotateZ(2deg) translateY(0); } 50% { transform: rotateY(-13deg) rotateX(2deg) rotateZ(1deg) translateY(-13px); } }
@keyframes bookSheen { 0%, 30% { transform: translateX(-130%); } 70%, 100% { transform: translateX(140%); } }
@keyframes currentOrbit { 0% { transform: translate3d(0, 0, 0) scale(0.7); opacity: 0.2; } 30% { opacity: 1; } 100% { transform: translate3d(24px, -38px, 0) scale(1.2); opacity: 0; } }
@keyframes shake { 0%, 100% { transform: translateX(0); } 20% { transform: translateX(-6px); } 40% { transform: translateX(5px); } 60% { transform: translateX(-3px); } 80% { transform: translateX(2px); } }
@keyframes skeleton { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
@keyframes flashGood { 0% { box-shadow: 0 0 0 rgba(85,242,176,0); } 40% { box-shadow: 0 0 80px rgba(85,242,176,0.2); } 100% { box-shadow: 0 0 0 rgba(85,242,176,0); } }

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