/* =========================================================
   心动回响 · CRUSH ECHO
   Secret signal lab / 2026
   ========================================================= */

:root {
  --bg: #f3f0fb;
  --bg-2: #ebe5fa;
  --surface: #fdfbff;
  --surface-2: #f8f4ff;
  --ink: #12101a;
  --ink-2: #272238;
  --muted: #746d88;
  --muted-2: #9a93aa;
  --line: rgba(18, 16, 26, 0.12);
  --line-soft: rgba(18, 16, 26, 0.07);
  --night: #0b0b16;
  --night-2: #141124;
  --cream: #f8f4ff;
  --cream-soft: rgba(248, 244, 255, 0.58);
  --cream-line: rgba(248, 244, 255, 0.16);
  --rose: #ff4d7d;
  --pink: #ff9db8;
  --violet: #7b61ff;
  --blue: #5d8bff;
  --butter: #f4d35e;
  --mint: #2fbfa0;
  --sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", serif;
  --mono: "Consolas", "SFMono-Regular", "Courier New", monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-card: 0 40px 90px -38px rgba(32, 18, 70, 0.44), 0 10px 28px -18px rgba(32, 18, 70, 0.2);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

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

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 255, 255, 0.8), transparent 26%),
    linear-gradient(135deg, #f7f3ff 0%, #f0eafb 48%, #fdf4f7 100%);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.modal-open {
  overflow: hidden;
}

::selection {
  background: var(--rose);
  color: #fff;
}

button,
input {
  font: inherit;
}

button {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--violet);
  outline-offset: 4px;
}

h1,
h2,
h3,
p {
  margin: 0;
}

em {
  font-style: normal;
}

img,
svg {
  display: block;
}

/* ---------- atmosphere ---------- */

.grain {
  position: fixed;
  inset: -20%;
  z-index: 9998;
  pointer-events: none;
  opacity: 0.19;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.92' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
}

.ambient {
  position: fixed;
  z-index: 0;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
  opacity: 0.6;
}

.ambient--one {
  top: -14vw;
  right: -10vw;
  width: 46vw;
  height: 46vw;
  background: radial-gradient(circle, rgba(255, 77, 125, 0.24), rgba(255, 157, 184, 0.12) 44%, transparent 70%);
}

.ambient--two {
  bottom: -22vw;
  left: -13vw;
  width: 52vw;
  height: 52vw;
  background: radial-gradient(circle, rgba(123, 97, 255, 0.2), transparent 68%);
}

.ambient--three {
  top: 38%;
  left: 38%;
  width: 28vw;
  height: 28vw;
  background: radial-gradient(circle, rgba(244, 211, 94, 0.13), transparent 68%);
}

#app {
  position: relative;
  z-index: 1;
}

/* ---------- shared ---------- */

.view {
  display: none;
  min-height: 100svh;
}

.view.is-active {
  display: flex;
  flex-direction: column;
  animation: viewIn 0.55s var(--ease) both;
}

@keyframes viewIn {
  from {
    opacity: 0;
    transform: translateY(7px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--rose);
  box-shadow: 0 0 0 4px rgba(255, 77, 125, 0.12);
}

.live-dot--violet {
  background: var(--violet);
  box-shadow: 0 0 0 4px rgba(123, 97, 255, 0.12);
}

.eyebrow-rule {
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--line);
}

.btn-main {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 58px;
  padding: 0 12px 0 24px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  letter-spacing: 0.04em;
  white-space: nowrap;
  box-shadow: 0 18px 34px -22px rgba(18, 16, 26, 0.6);
  transition: transform 0.35s var(--ease), background 0.3s ease, box-shadow 0.35s ease;
}

.btn-main:hover {
  transform: translateY(-2px);
  background: var(--ink-2);
  box-shadow: 0 24px 44px -24px rgba(18, 16, 26, 0.7);
}

.btn-symbol {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--rose), var(--violet));
  color: #fff;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1;
  transition: transform 0.35s var(--ease);
}

.btn-symbol svg {
  width: 21px;
  height: 21px;
}

.btn-main:hover .btn-symbol {
  transform: rotate(14deg);
}

.btn-main--wide {
  width: 100%;
}

.btn-main--small {
  min-height: 48px;
  min-width: 150px;
  padding: 0 10px 0 18px;
  font-size: 12px;
}

.btn-main--small .btn-symbol {
  width: 30px;
  height: 30px;
  font-size: 12px;
}

.btn-quiet {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.03em;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.btn-quiet:hover {
  color: var(--ink);
  border-color: var(--ink);
}

.quiet-arrow {
  color: var(--rose);
  transition: transform 0.3s var(--ease);
}

.btn-quiet:hover .quiet-arrow {
  transform: translate(2px, -2px);
}

.btn-outline {
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  font-size: 13px;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.btn-outline:hover {
  background: #fff;
  border-color: var(--ink);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--ink-2);
  font-size: 11px;
  letter-spacing: 0.04em;
  transition: color 0.25s ease;
}

.text-link span {
  color: var(--rose);
  transition: transform 0.3s var(--ease);
}

.text-link:hover {
  color: var(--rose);
}

.text-link:hover span {
  transform: translate(2px, -2px);
}

/* ---------- header / brand ---------- */

.site-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  width: 100%;
  padding: 22px clamp(22px, 4.4vw, 66px);
  border-bottom: 1px solid var(--line-soft);
  background: rgba(245, 241, 252, 0.62);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  text-align: left;
}

.brand-signal {
  display: grid;
  place-items: center;
  width: 37px;
  height: 37px;
  border-radius: 50%;
  color: var(--ink);
  border: 1px solid var(--line);
  transition: transform 0.5s var(--ease), border-color 0.3s ease, color 0.3s ease;
}

.brand:hover .brand-signal {
  transform: rotate(40deg);
  border-color: var(--rose);
  color: var(--rose);
}

.brand-signal svg {
  width: 100%;
  height: 100%;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.brand-copy strong {
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.3;
}

.brand-copy small {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: 0.19em;
  line-height: 1.4;
}

.brand--small .brand-signal {
  width: 31px;
  height: 31px;
}

.brand--small .brand-copy strong {
  font-size: 13px;
}

.brand--light {
  color: var(--cream);
}

.brand--light .brand-signal {
  border-color: rgba(248, 244, 255, 0.22);
  color: var(--cream);
}

.brand--light .brand-copy small {
  color: rgba(248, 244, 255, 0.45);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 42px);
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ink-2);
  font-size: 11px;
  letter-spacing: 0.04em;
  transition: color 0.25s ease;
}

.nav-link:hover {
  color: var(--rose);
}

.nav-link sup {
  color: var(--rose);
  font-family: var(--mono);
  font-size: 9px;
}

.nav-meta {
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.13em;
}

.nav-link--light {
  color: rgba(248, 244, 255, 0.64);
}

.nav-link--light:hover {
  color: var(--pink);
}

/* ---------- landing ---------- */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(300px, 34vw, 520px);
  align-items: stretch;
  gap: clamp(22px, 3.4vw, 54px);
  width: 100%;
  max-width: 1600px;
  min-height: calc(100svh - 78px);
  margin: 0 auto;
  padding: 24px 0 24px clamp(22px, 5vw, 76px);
}

.hero-copy {
  position: relative;
  z-index: 2;
  align-self: center;
  max-width: 820px;
  padding: 12px 0;
  animation: copyIn 0.85s var(--ease) 0.06s both;
}

@keyframes copyIn {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 660px;
}

.hero-issue {
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.11em;
  white-space: nowrap;
}

.hero-title {
  margin: 26px 0 18px;
  font-family: var(--sans);
  font-size: clamp(52px, 6.2vw, 96px);
  font-weight: 900;
  letter-spacing: -0.075em;
  line-height: 1.05;
}

.highlight {
  position: relative;
  display: inline-block;
  background: linear-gradient(105deg, var(--rose) 8%, #ff7194 42%, var(--violet) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.highlight::after {
  content: "✳";
  position: absolute;
  top: -0.12em;
  right: -0.46em;
  color: var(--butter);
  font-family: var(--serif);
  font-size: 0.18em;
  line-height: 1;
  transform: rotate(18deg);
}

.hero-lede {
  max-width: 430px;
  color: var(--muted);
  font-size: 13.5px;
  letter-spacing: 0.02em;
  line-height: 1.95;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 28px;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 480px;
  margin-top: 27px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.hero-facts span {
  display: flex;
  align-items: baseline;
  gap: 5px;
  min-width: 0;
}

.hero-facts span + span {
  padding-left: 14px;
  border-left: 1px solid var(--line-soft);
}

.hero-facts b {
  color: var(--ink);
  font-family: var(--mono);
  font-size: 19px;
  font-weight: 700;
  line-height: 1;
}

.hero-facts small {
  color: var(--muted);
  font-size: 8px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.hero-note {
  margin-top: 14px;
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: 0.04em;
}

.hero-signals {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 22px;
}

.hero-signals-label {
  margin-right: 3px;
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 6.5px;
  letter-spacing: 0.1em;
}

.hero-signal {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 8px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: rgba(255, 253, 255, 0.42);
  color: var(--muted);
  font-size: 8px;
  letter-spacing: 0.02em;
}

.hero-signal i {
  color: var(--rose);
  font-family: var(--mono);
  font-size: 7px;
  font-style: normal;
}

/* ---------- landing signal panel ---------- */

.signal-panel {
  position: relative;
  align-self: stretch;
  display: flex;
  min-height: calc(100svh - 78px - 48px);
  flex-direction: column;
  overflow: hidden;
  padding: clamp(20px, 2.4vw, 30px) clamp(20px, 2.6vw, 34px) 21px;
  border-radius: 36px 0 0 36px;
  background:
    radial-gradient(circle at 76% 16%, rgba(255, 77, 125, 0.21), transparent 31%),
    radial-gradient(circle at 14% 84%, rgba(123, 97, 255, 0.18), transparent 35%),
    linear-gradient(152deg, #171424 0%, #0b0b16 66%, #0d0c18 100%);
  color: var(--cream);
  box-shadow: -24px 18px 70px -42px rgba(16, 10, 38, 0.65);
  animation: panelIn 0.95s var(--ease) 0.16s both;
}

@keyframes panelIn {
  from {
    opacity: 0;
    transform: translateX(24px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.signal-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(248, 244, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(248, 244, 255, 0.028) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(circle at 55% 42%, black, transparent 80%);
  pointer-events: none;
}

.signal-panel::after {
  content: "";
  position: absolute;
  right: -22%;
  bottom: -16%;
  width: 74%;
  aspect-ratio: 1;
  border: 1px solid rgba(248, 244, 255, 0.07);
  border-radius: 50%;
  box-shadow: 0 0 0 36px rgba(248, 244, 255, 0.018), 0 0 0 72px rgba(248, 244, 255, 0.012);
  pointer-events: none;
}

.panel-head {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: rgba(248, 244, 255, 0.38);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.12em;
}

.panel-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--pink);
}

.panel-live i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--rose);
  box-shadow: 0 0 0 3px rgba(255, 77, 125, 0.12);
  animation: blink 1.8s ease-in-out infinite;
}

.panel-radar {
  position: relative;
  z-index: 2;
  width: min(100%, 420px);
  aspect-ratio: 1;
  margin: auto;
  border-radius: 50%;
  background:
    radial-gradient(circle at 44% 38%, rgba(255, 77, 125, 0.1), transparent 39%),
    radial-gradient(circle at 63% 71%, rgba(123, 97, 255, 0.11), transparent 42%);
}

.p-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(248, 244, 255, 0.13);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.p-ring--one { width: 100%; height: 100%; }
.p-ring--two { width: 77%; height: 77%; border-color: rgba(255, 77, 125, 0.23); }
.p-ring--three { width: 54%; height: 54%; border-color: rgba(248, 244, 255, 0.1); border-style: dashed; }
.p-ring--four { width: 30%; height: 30%; border-color: rgba(244, 211, 94, 0.24); }

.p-axis {
  position: absolute;
  background: rgba(248, 244, 255, 0.07);
}

.p-axis--x { top: 50%; left: 3%; width: 94%; height: 1px; }
.p-axis--y { top: 3%; left: 50%; width: 1px; height: 94%; }

.p-sweep {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0deg, rgba(255, 77, 125, 0.04) 42deg, rgba(255, 77, 125, 0.25) 71deg, transparent 109deg);
  animation: radarSweep 7.5s linear infinite;
}

.p-blip {
  position: absolute;
  width: 7px;
  height: 7px;
  border: 2px solid var(--night);
  border-radius: 50%;
  background: var(--rose);
  box-shadow: 0 0 0 4px rgba(255, 77, 125, 0.13), 0 0 16px rgba(255, 77, 125, 0.7);
}

.p-blip--one { top: 23%; left: 58%; background: var(--rose); }
.p-blip--two { top: 44%; right: 7%; background: var(--butter); box-shadow: 0 0 0 4px rgba(244, 211, 94, 0.12), 0 0 16px rgba(244, 211, 94, 0.55); }
.p-blip--three { bottom: 18%; right: 24%; background: var(--violet); box-shadow: 0 0 0 4px rgba(123, 97, 255, 0.13), 0 0 16px rgba(123, 97, 255, 0.6); }
.p-blip--four { bottom: 30%; left: 13%; background: var(--mint); box-shadow: 0 0 0 4px rgba(47, 191, 160, 0.12), 0 0 16px rgba(47, 191, 160, 0.5); }
.p-blip--five { top: 34%; left: 22%; background: var(--pink); }

.p-dot {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 5px;
  color: rgba(248, 244, 255, 0.58);
  font-family: var(--mono);
  font-size: 5.5px;
  letter-spacing: 0.1em;
}

.p-dot i {
  width: 8px;
  height: 8px;
  border: 2px solid var(--night);
  border-radius: 50%;
  background: var(--rose);
  box-shadow: 0 0 0 4px rgba(255, 77, 125, 0.15);
  animation: dotPulse 2.6s ease-in-out infinite;
}

.p-dot--you { bottom: 14%; left: 45%; }
.p-dot--ta { top: 26%; left: 68%; }
.p-dot--ta i { background: var(--butter); box-shadow: 0 0 0 4px rgba(244, 211, 94, 0.13); animation-delay: -1.2s; }

.p-coord {
  position: absolute;
  right: 5%;
  bottom: 3%;
  color: rgba(248, 244, 255, 0.2);
  font-family: var(--mono);
  font-size: 5px;
  letter-spacing: 0.08em;
}

.panel-score {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  transform: translate(-50%, -50%);
  text-align: center;
}

.panel-score span {
  color: rgba(248, 244, 255, 0.36);
  font-family: var(--mono);
  font-size: 6px;
  letter-spacing: 0.16em;
}

.panel-score strong {
  font-family: var(--sans);
  font-size: clamp(58px, 7.3vw, 108px);
  font-weight: 900;
  letter-spacing: -0.1em;
  line-height: 0.92;
  background: linear-gradient(108deg, var(--rose), #ff7d9d 46%, var(--butter));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter: drop-shadow(0 8px 24px rgba(255, 77, 125, 0.16));
}

.panel-score small {
  margin-left: 1px;
  font-size: 0.25em;
  font-weight: 500;
  letter-spacing: 0;
}

.panel-score em {
  color: rgba(248, 244, 255, 0.35);
  font-family: var(--serif);
  font-size: 9px;
  font-style: normal;
  letter-spacing: 0.11em;
}

.panel-channels {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 5px;
  padding-top: 11px;
  border-top: 1px solid rgba(248, 244, 255, 0.11);
}

.panel-channels span {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
  padding-left: 8px;
  border-left: 1px solid rgba(248, 244, 255, 0.1);
}

.panel-channels span:first-child {
  padding-left: 0;
  border-left: 0;
}

.panel-channels b {
  color: var(--ch);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.2;
}

.panel-channels small {
  color: rgba(248, 244, 255, 0.3);
  font-size: 5.5px;
  letter-spacing: 0.06em;
}

.panel-readout {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-top: 9px;
  padding-top: 16px;
  border-top: 1px solid rgba(248, 244, 255, 0.13);
}

.panel-persona {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.panel-persona span {
  color: rgba(248, 244, 255, 0.34);
  font-family: var(--mono);
  font-size: 6px;
  letter-spacing: 0.1em;
}

.panel-persona b {
  color: var(--cream);
  font-size: 25px;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.panel-persona small {
  color: rgba(248, 244, 255, 0.32);
  font-family: var(--mono);
  font-size: 5.5px;
  letter-spacing: 0.12em;
}

.panel-wave {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 28px;
  padding-bottom: 4px;
}

.panel-wave i {
  width: 2px;
  height: 8px;
  border-radius: 2px;
  background: linear-gradient(to top, var(--violet), var(--rose));
  animation: wave 1.4s ease-in-out infinite;
}

.panel-wave i:nth-child(2n) { height: 18px; animation-delay: -0.24s; }
.panel-wave i:nth-child(3n) { height: 12px; animation-delay: -0.56s; }
.panel-wave i:nth-child(4n) { height: 23px; animation-delay: -0.84s; }
.panel-wave i:nth-child(5n) { height: 6px; animation-delay: -0.38s; }

.panel-foot {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 14px;
  padding-top: 11px;
  border-top: 1px solid rgba(248, 244, 255, 0.09);
  color: rgba(248, 244, 255, 0.27);
  font-family: var(--mono);
  font-size: 5.5px;
  letter-spacing: 0.1em;
}

.panel-side {
  position: absolute;
  top: 50%;
  right: 12px;
  z-index: 4;
  color: rgba(248, 244, 255, 0.2);
  font-family: var(--mono);
  font-size: 5.5px;
  letter-spacing: 0.16em;
  writing-mode: vertical-rl;
  transform: translateY(-50%);
}

/* ---------- hero visual ---------- */

.hero-visual {
  position: relative;
  justify-self: center;
  width: min(100%, 540px);
  height: 610px;
  animation: artIn 1s var(--ease) 0.2s both;
}

@keyframes artIn {
  from {
    opacity: 0;
    transform: translateY(26px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.radar-halo {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 430px;
  height: 430px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 30%, rgba(255, 77, 125, 0.35), transparent 34%),
    radial-gradient(circle at 70% 68%, rgba(123, 97, 255, 0.3), transparent 38%),
    radial-gradient(circle, rgba(244, 211, 94, 0.22), transparent 64%);
  filter: blur(38px);
  transform: translate(-50%, -50%);
}

.radar-card {
  position: absolute;
  top: 67px;
  left: 50%;
  z-index: 2;
  width: 366px;
  height: 474px;
  padding: 18px 20px 16px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 28px;
  background:
    radial-gradient(circle at 72% 8%, rgba(255, 77, 125, 0.16), transparent 30%),
    radial-gradient(circle at 20% 88%, rgba(123, 97, 255, 0.14), transparent 34%),
    linear-gradient(150deg, #171425, #0b0b15 68%);
  box-shadow: var(--shadow-card);
  color: var(--cream);
  transform: translateX(-50%) rotate(-3deg);
  transition: transform 0.7s var(--ease);
}

.radar-card:hover {
  transform: translateX(-50%) rotate(-1.2deg) translateY(-5px);
}

.radar-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-image: linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
}

.radar-top,
.radar-bottom {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(248, 244, 255, 0.45);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.12em;
}

.radar-live {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--pink);
}

.radar-live i,
.analysis-rec i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--rose);
  box-shadow: 0 0 0 3px rgba(255, 77, 125, 0.12);
  animation: blink 1.8s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.28; }
}

.radar-shell {
  position: relative;
  z-index: 1;
  width: 290px;
  height: 290px;
  margin: 13px auto 7px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 44% 40%, rgba(255, 77, 125, 0.12), transparent 35%),
    radial-gradient(circle at 60% 70%, rgba(123, 97, 255, 0.12), transparent 38%),
    rgba(255, 255, 255, 0.018);
  overflow: hidden;
}

.radar-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(248, 244, 255, 0.12);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.radar-ring--one { width: 100%; height: 100%; }
.radar-ring--two { width: 75%; height: 75%; border-color: rgba(255, 77, 125, 0.2); }
.radar-ring--three { width: 50%; height: 50%; border-color: rgba(248, 244, 255, 0.09); }
.radar-ring--four { width: 25%; height: 25%; border-color: rgba(244, 211, 94, 0.22); }

.radar-axis {
  position: absolute;
  background: rgba(248, 244, 255, 0.07);
}

.radar-axis--x {
  top: 50%;
  left: 5%;
  width: 90%;
  height: 1px;
}

.radar-axis--y {
  top: 5%;
  left: 50%;
  width: 1px;
  height: 90%;
}

.radar-sweep {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0deg, rgba(255, 77, 125, 0.04) 42deg, rgba(255, 77, 125, 0.24) 70deg, transparent 108deg);
  animation: radarSweep 7s linear infinite;
}

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

.radar-dot {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 3;
}

.radar-dot i {
  width: 9px;
  height: 9px;
  border: 2px solid var(--night);
  border-radius: 50%;
  background: var(--rose);
  box-shadow: 0 0 0 4px rgba(255, 77, 125, 0.18), 0 0 18px rgba(255, 77, 125, 0.8);
  animation: dotPulse 2.6s ease-in-out infinite;
}

.radar-dot em {
  color: rgba(248, 244, 255, 0.64);
  font-family: var(--mono);
  font-size: 6px;
  font-style: normal;
  letter-spacing: 0.14em;
}

.radar-dot--you {
  top: 58%;
  left: 29%;
}

.radar-dot--ta {
  top: 28%;
  left: 65%;
}

.radar-dot--ta i {
  background: var(--violet);
  box-shadow: 0 0 0 4px rgba(123, 97, 255, 0.18), 0 0 18px rgba(123, 97, 255, 0.8);
  animation-delay: -1.2s;
}

@keyframes dotPulse {
  0%, 100% { transform: scale(0.9); }
  50% { transform: scale(1.2); }
}

.radar-center {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  border: 1px solid rgba(248, 244, 255, 0.16);
  border-radius: 50%;
  color: rgba(248, 244, 255, 0.72);
  font-family: var(--serif);
  font-size: 24px;
  transform: translate(-50%, -50%);
}

.radar-coord {
  position: absolute;
  right: 12px;
  bottom: 9px;
  color: rgba(248, 244, 255, 0.22);
  font-family: var(--mono);
  font-size: 5.5px;
  letter-spacing: 0.08em;
}

.radar-readout {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  padding: 1px 3px 9px;
  border-bottom: 1px solid rgba(248, 244, 255, 0.1);
}

.readout-score {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.readout-score span {
  color: rgba(248, 244, 255, 0.35);
  font-family: var(--mono);
  font-size: 6px;
  letter-spacing: 0.15em;
}

.readout-score strong {
  color: var(--cream);
  font-family: var(--sans);
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.07em;
  line-height: 1;
}

.readout-score small {
  margin-left: 2px;
  color: var(--rose);
  font-size: 15px;
  font-weight: 500;
}

.mini-wave {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 30px;
  padding-bottom: 2px;
}

.mini-wave i {
  width: 2px;
  height: 8px;
  border-radius: 2px;
  background: linear-gradient(to top, var(--violet), var(--rose));
  animation: wave 1.4s ease-in-out infinite;
}

.mini-wave i:nth-child(2n) { animation-delay: -0.25s; height: 17px; }
.mini-wave i:nth-child(3n) { animation-delay: -0.6s; height: 12px; }
.mini-wave i:nth-child(4n) { animation-delay: -0.9s; height: 23px; }
.mini-wave i:nth-child(5n) { animation-delay: -0.4s; height: 6px; }

@keyframes wave {
  0%, 100% { transform: scaleY(0.6); opacity: 0.5; }
  50% { transform: scaleY(1.15); opacity: 1; }
}

.radar-bottom {
  position: relative;
  z-index: 1;
  padding-top: 12px;
}

/* floating chips */

.float-chip {
  position: absolute;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 13px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 15px;
  background: rgba(255, 253, 255, 0.76);
  box-shadow: 0 20px 44px -24px rgba(33, 18, 70, 0.46);
  backdrop-filter: blur(16px);
  animation: chipFloat 5s ease-in-out infinite;
}

.chip--one {
  top: 108px;
  left: -32px;
}

.chip--two {
  top: 260px;
  right: -38px;
  animation-delay: -1.8s;
}

.chip--three {
  bottom: 84px;
  left: -12px;
  animation-delay: -3.3s;
}

@keyframes chipFloat {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-8px) rotate(-0.8deg); }
}

.chip-plus {
  display: grid;
  place-items: center;
  min-width: 34px;
  height: 34px;
  padding: 0 6px;
  border-radius: 10px;
  background: rgba(255, 77, 125, 0.13);
  color: var(--rose);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
}

.chip-plus--violet {
  background: rgba(123, 97, 255, 0.13);
  color: var(--violet);
}

.chip-plus--butter {
  background: rgba(244, 211, 94, 0.22);
  color: #a97a00;
  font-size: 9px;
}

.chip-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.chip-copy b {
  color: var(--ink);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.3;
}

.chip-copy small {
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 6px;
  letter-spacing: 0.02em;
}

.sticker {
  position: absolute;
  right: 6px;
  bottom: 130px;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  border: 1px solid rgba(255, 77, 125, 0.55);
  border-radius: 50%;
  background: rgba(255, 245, 250, 0.7);
  color: var(--rose);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.1em;
  line-height: 1.6;
  text-align: center;
  transform: rotate(10deg);
  backdrop-filter: blur(8px);
}

.sticker::before {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px dashed rgba(255, 77, 125, 0.35);
  border-radius: 50%;
}

.orbit-caption {
  position: absolute;
  top: 45%;
  left: -6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 6px;
  letter-spacing: 0.13em;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.orbit-caption i {
  width: 1px;
  height: 32px;
  background: var(--line);
}

.visual-caption {
  position: absolute;
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 6.5px;
  letter-spacing: 0.1em;
}

.visual-caption--a {
  top: 38px;
  right: 23px;
}

.visual-caption--b {
  bottom: 41px;
  right: 3px;
}

/* signal ticker */

.signal-ticker {
  width: 100%;
  overflow: hidden;
  padding: 11px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line-soft);
  background: rgba(255, 253, 255, 0.44);
  color: var(--ink);
}

.ticker-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: ticker 38s linear infinite;
}

.tick {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 24px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.tick b {
  color: #179c80;
  font-family: var(--mono);
  font-size: 9px;
}

.tick--minus b {
  color: var(--rose);
}

.tick::after {
  content: "·";
  margin-left: 24px;
  color: var(--muted-2);
}

@keyframes ticker {
  to { transform: translateX(-50%); }
}

/* how */

.how-section {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: clamp(34px, 6vw, 100px);
  width: 100%;
  max-width: 1260px;
  margin: 0 auto;
  padding: clamp(70px, 9vw, 120px) clamp(22px, 5vw, 70px) 50px;
}

.how-head h2 {
  margin-top: 22px;
  font-size: clamp(34px, 3.9vw, 56px);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 1.18;
}

.how-head h2 em {
  color: var(--violet);
  font-family: var(--serif);
  font-weight: 500;
}

.how-grid {
  display: grid;
  gap: 10px;
}

.how-card {
  position: relative;
  padding: 26px 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 253, 255, 0.62);
  backdrop-filter: blur(12px);
  transition: transform 0.4s var(--ease), background 0.3s ease;
}

.how-card:hover {
  background: #fff;
  transform: translateY(-3px);
}

.how-no {
  color: var(--rose);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
}

.how-card h3 {
  margin-top: 14px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.how-card p {
  max-width: 520px;
  margin-top: 7px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.8;
}

.how-en {
  position: absolute;
  top: 28px;
  right: 25px;
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 6.5px;
  letter-spacing: 0.12em;
}

.how-quote {
  grid-column: 1 / -1;
  margin-top: 55px;
  color: var(--ink-2);
  font-family: var(--serif);
  font-size: clamp(24px, 2.6vw, 36px);
  line-height: 1.7;
  text-align: center;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px clamp(22px, 5vw, 70px);
  border-top: 1px solid var(--line-soft);
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.1em;
}

/* ---------- setup ---------- */

.view--setup {
  position: relative;
  overflow: hidden;
}

.flow-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px clamp(22px, 4.4vw, 66px);
  border-bottom: 1px solid var(--line-soft);
}

.round-back {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 16px;
  transition: background 0.25s ease, color 0.25s ease, transform 0.3s var(--ease);
}

.round-back:hover {
  background: var(--ink);
  color: #fff;
  transform: translateX(-2px);
}

.flow-brand {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.flow-brand small {
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 6.5px;
  font-weight: 400;
  letter-spacing: 0.14em;
}

.flow-step {
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.1em;
}

.setup-main {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  align-items: center;
  gap: clamp(40px, 7vw, 110px);
  width: 100%;
  max-width: 1160px;
  margin: auto;
  padding: 45px clamp(22px, 5vw, 70px) 70px;
  flex: 1;
}

.setup-copy h2 {
  margin: 20px 0 19px;
  font-size: clamp(40px, 4.2vw, 58px);
  font-weight: 900;
  letter-spacing: -0.07em;
  line-height: 1.18;
}

.setup-copy h2 em {
  color: var(--rose);
  font-family: var(--serif);
  font-weight: 500;
}

.setup-lede {
  max-width: 390px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
}

.setup-signal {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 38px;
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 6.5px;
  letter-spacing: 0.12em;
}

.setup-signal-line {
  display: inline-block;
  width: 40px;
  height: 1px;
  background: var(--line);
}

.setup-form {
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 24px;
  background: rgba(255, 253, 255, 0.68);
  box-shadow: 0 30px 70px -44px rgba(38, 20, 80, 0.35);
  backdrop-filter: blur(18px);
  animation: copyIn 0.8s var(--ease) 0.16s both;
}

.field-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--ink-2);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.13em;
}

.field-label span {
  color: var(--muted-2);
  font-size: 6.5px;
}

.name-input {
  width: 100%;
  margin-top: 12px;
  padding: 0 0 12px;
  border: 0;
  border-bottom: 1.5px solid var(--ink);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font-size: clamp(38px, 4vw, 58px);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 1.2;
  outline: none;
}

.name-input::placeholder {
  color: rgba(18, 16, 26, 0.2);
  font-weight: 500;
}

.name-input:focus,
.name-input:focus-visible {
  outline: none;
  border-color: var(--rose);
}

.privacy-note {
  margin-top: 9px;
  color: var(--muted-2);
  font-size: 8px;
  letter-spacing: 0.02em;
}

.stage-field {
  margin-top: 28px;
}

.stage-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 12px;
}

.stage-chip {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.4;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.3s var(--ease);
}

.stage-chip:hover {
  border-color: var(--ink);
  color: var(--ink);
  transform: translateY(-1px);
}

.stage-chip.is-active {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.setup-form .btn-main {
  margin-top: 27px;
}

.btn-quiet--center {
  display: flex;
  justify-content: center;
  margin: 14px auto 0;
  border-bottom: 0;
}

.setup-watermark {
  position: absolute;
  right: -0.06em;
  bottom: -0.24em;
  z-index: 0;
  color: transparent;
  font-family: var(--sans);
  font-size: clamp(260px, 38vw, 540px);
  font-weight: 900;
  letter-spacing: -0.1em;
  line-height: 1;
  -webkit-text-stroke: 1px rgba(18, 16, 26, 0.07);
  pointer-events: none;
}

/* ---------- quiz ---------- */

.view--quiz {
  background:
    radial-gradient(circle at 84% 18%, rgba(255, 77, 125, 0.07), transparent 30%),
    radial-gradient(circle at 12% 88%, rgba(123, 97, 255, 0.08), transparent 32%),
    var(--bg);
}

.quiz-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 4.5vw, 66px);
  border-bottom: 1px solid var(--line-soft);
  background: rgba(247, 243, 253, 0.64);
  backdrop-filter: blur(18px);
}

.quiz-progress {
  display: flex;
  align-items: center;
  gap: 16px;
}

.segment-track {
  display: flex;
  align-items: center;
  gap: 3px;
}

.segment {
  display: block;
  width: 16px;
  height: 4px;
  border-radius: 4px;
  background: var(--line);
  transition: background 0.35s ease, transform 0.35s var(--ease);
}

.segment.is-done {
  background: linear-gradient(90deg, var(--rose), var(--violet));
}

.segment.is-current {
  transform: scaleY(1.8);
  background: var(--ink);
}

#quiz-count {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.quiz-close {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  font-size: 17px;
  line-height: 1;
  transition: background 0.25s ease, color 0.25s ease, transform 0.3s ease;
}

.quiz-close:hover {
  background: var(--ink);
  color: #fff;
  transform: rotate(90deg);
}

.quiz-main {
  display: flex;
  flex: 1;
  align-items: center;
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 30px clamp(22px, 5vw, 60px) 36px;
}

.quiz-grid {
  display: grid;
  grid-template-columns: 155px minmax(0, 1fr);
  gap: clamp(30px, 5vw, 68px);
  width: 100%;
  align-items: start;
}

.quiz-rail {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 5px;
}

.rail-part {
  color: var(--rose);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.16em;
}

.rail-number {
  margin-top: 4px;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 92px;
  font-weight: 900;
  letter-spacing: -0.1em;
  line-height: 0.96;
  font-variant-numeric: tabular-nums;
}

.rail-en {
  margin-top: 8px;
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 6.5px;
  letter-spacing: 0.13em;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.rail-rule {
  width: 34px;
  height: 1px;
  margin-top: 22px;
  background: var(--line);
}

.rail-note {
  max-width: 120px;
  margin-top: 15px;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.8;
}

.question-panel {
  max-width: 830px;
}

.question-panel.is-out {
  animation: questionOut 0.2s ease both;
}

.question-panel.is-in {
  animation: questionIn 0.45s var(--ease) both;
}

@keyframes questionOut {
  to { opacity: 0; transform: translateY(-7px); }
}

@keyframes questionIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.question-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 17px;
}

.part-pill {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border: 1px solid rgba(255, 77, 125, 0.28);
  border-radius: 999px;
  background: rgba(255, 77, 125, 0.06);
  color: var(--rose);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.view--quiz[data-part="2"] .part-pill {
  border-color: rgba(123, 97, 255, 0.28);
  background: rgba(123, 97, 255, 0.06);
  color: var(--violet);
}

.question-index {
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.12em;
}

.question-title {
  max-width: 820px;
  min-height: 1.3em;
  color: var(--ink);
  font-size: clamp(27px, 3.7vw, 48px);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 1.34;
  text-wrap: balance;
}

.question-title:focus,
.result-verdict:focus {
  outline: none;
}

.question-hint {
  margin-top: 11px;
  color: var(--muted-2);
  font-size: 10px;
  letter-spacing: 0.035em;
}

.option-list {
  display: grid;
  gap: 9px;
  margin-top: clamp(22px, 3vh, 32px);
}

.option {
  position: relative;
  display: grid;
  grid-template-columns: 45px 1fr 22px;
  align-items: center;
  gap: 13px;
  width: 100%;
  min-height: clamp(61px, 8vh, 76px);
  padding: 13px 19px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(255, 253, 255, 0.65);
  color: var(--ink-2);
  text-align: left;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
  animation: optionIn 0.45s var(--ease) both;
  animation-delay: calc(0.04s + var(--i) * 0.04s);
}

@keyframes optionIn {
  from { opacity: 0; transform: translateY(9px); }
  to { opacity: 1; transform: translateY(0); }
}

.option::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 3px;
  background: linear-gradient(var(--rose), var(--violet));
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.3s var(--ease);
}

.option:hover {
  border-color: rgba(18, 16, 26, 0.38);
  background: #fff;
  box-shadow: 0 15px 28px -25px rgba(31, 17, 68, 0.4);
  transform: translateY(-2px);
}

.option:hover::after {
  transform: scaleY(1);
}

.option-num {
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  transition: color 0.25s ease;
}

.option-text {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.005em;
  line-height: 1.6;
}

.option-arrow {
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 12px;
  opacity: 0;
  transform: translate(-4px, 4px);
  transition: opacity 0.25s ease, transform 0.3s var(--ease);
}

.option:hover .option-arrow {
  opacity: 1;
  transform: translate(0, 0);
}

.option.is-selected {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
  box-shadow: 0 18px 34px -25px rgba(18, 16, 26, 0.65);
  transform: translateY(-2px);
}

.option.is-selected::after {
  transform: scaleY(1);
}

.option.is-selected .option-num {
  color: var(--pink);
}

.option.is-selected .option-arrow {
  color: var(--butter);
  opacity: 1;
  transform: translate(0, 0);
}

.quiz-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: clamp(21px, 3vh, 30px);
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
}

.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 10px;
  transition: color 0.25s ease, opacity 0.25s ease;
}

.back-btn span {
  font-size: 14px;
  transition: transform 0.3s var(--ease);
}

.back-btn:hover:not(:disabled) {
  color: var(--ink);
}

.back-btn:hover:not(:disabled) span {
  transform: translateX(-3px);
}

.back-btn:disabled {
  opacity: 0.3;
  cursor: default;
}

.quiz-tip {
  color: var(--muted-2);
  font-size: 9px;
  letter-spacing: 0.03em;
}

.key-hint {
  display: flex;
  gap: 3px;
}

.key-hint kbd {
  display: grid;
  place-items: center;
  width: 19px;
  height: 19px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 7px;
}

.quiz-side-note {
  position: absolute;
  right: 17px;
  bottom: 25px;
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 6px;
  letter-spacing: 0.16em;
  writing-mode: vertical-rl;
}

/* ---------- analysis ---------- */

.view--analysis {
  position: relative;
  overflow: hidden;
  padding: 25px clamp(22px, 5vw, 70px);
  background:
    radial-gradient(circle at 50% 46%, rgba(255, 77, 125, 0.16), transparent 24%),
    radial-gradient(circle at 78% 16%, rgba(123, 97, 255, 0.15), transparent 31%),
    #0b0b16;
  color: var(--cream);
}

.view--analysis::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(248, 244, 255, 0.14) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(circle at 50% 50%, black, transparent 74%);
  opacity: 0.24;
  pointer-events: none;
}

.analysis-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(248, 244, 255, 0.36);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.14em;
}

.analysis-rec {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--pink);
}

.analysis-main {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 540px;
  padding: 20px 0;
}

.analysis-radar {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(58vw, 470px);
  height: min(58vw, 470px);
  border-radius: 50%;
  transform: translate(-50%, -55%);
  background: radial-gradient(circle, rgba(255, 77, 125, 0.07), transparent 64%);
}

.a-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(248, 244, 255, 0.13);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.a-ring--one { width: 100%; height: 100%; }
.a-ring--two { width: 72%; height: 72%; border-color: rgba(255, 77, 125, 0.25); border-style: dashed; animation: spinSlow 26s linear infinite; }
.a-ring--three { width: 40%; height: 40%; border-color: rgba(123, 97, 255, 0.26); }

@keyframes spinSlow {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.a-axis {
  position: absolute;
  background: rgba(248, 244, 255, 0.07);
}

.a-axis--x { top: 50%; left: 8%; width: 84%; height: 1px; }
.a-axis--y { top: 8%; left: 50%; width: 1px; height: 84%; }

.a-sweep {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0deg, rgba(255, 77, 125, 0.05) 40deg, rgba(255, 77, 125, 0.26) 70deg, transparent 110deg);
  animation: radarSweep 6s linear infinite;
}

.a-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--rose);
  box-shadow: 0 0 0 5px rgba(255, 77, 125, 0.12), 0 0 22px rgba(255, 77, 125, 0.8);
  animation: dotPulse 2.4s ease-in-out infinite;
}

.a-dot--one { top: 34%; left: 63%; }
.a-dot--two { top: 66%; left: 38%; background: var(--violet); box-shadow: 0 0 0 5px rgba(123, 97, 255, 0.12), 0 0 22px rgba(123, 97, 255, 0.8); animation-delay: -1s; }

.a-cross {
  position: absolute;
  top: 50%;
  left: 50%;
  color: var(--butter);
  font-family: var(--mono);
  font-size: 22px;
  transform: translate(-50%, -50%);
}

.analysis-score {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
}

.analysis-kicker,
.analysis-label {
  color: rgba(248, 244, 255, 0.36);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.2em;
}

.analysis-score strong {
  color: var(--cream);
  font-family: var(--sans);
  font-size: clamp(80px, 10vw, 122px);
  font-weight: 800;
  letter-spacing: -0.08em;
  line-height: 1;
}

.analysis-score strong small {
  margin-left: 3px;
  color: var(--rose);
  font-size: 0.24em;
  font-weight: 500;
}

.analysis-line {
  position: relative;
  z-index: 2;
  margin-top: 47px;
  color: rgba(248, 244, 255, 0.9);
  font-family: var(--serif);
  font-size: clamp(16px, 1.6vw, 21px);
  letter-spacing: 0.08em;
  text-align: center;
  transition: opacity 0.2s ease;
}

.analysis-wave {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 4px;
  height: 36px;
  margin-top: 18px;
}

.analysis-wave i {
  width: 3px;
  height: 8px;
  border-radius: 2px;
  background: linear-gradient(to top, var(--violet), var(--rose));
  animation: wave 1.1s ease-in-out infinite;
}

.analysis-wave i:nth-child(3n) { animation-delay: -0.2s; height: 22px; }
.analysis-wave i:nth-child(4n) { animation-delay: -0.45s; height: 14px; }
.analysis-wave i:nth-child(5n) { animation-delay: -0.65s; height: 28px; }
.analysis-wave i:nth-child(7n) { animation-delay: -0.8s; height: 5px; }

.analysis-foot {
  position: relative;
  z-index: 1;
  align-self: center;
  margin-bottom: 10px;
  color: rgba(248, 244, 255, 0.26);
  font-family: var(--mono);
  font-size: 6.5px;
  letter-spacing: 0.16em;
}

/* ---------- result ---------- */

.view--result {
  background: var(--bg);
}

.view--result.is-active {
  display: block;
}

.result-head {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 22px clamp(22px, 4.6vw, 68px);
}

.result-head-actions {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.6vw, 36px);
}

.result-hero {
  position: relative;
  display: flex;
  min-height: 100svh;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding: 113px clamp(22px, 5vw, 80px) 32px;
  background:
    radial-gradient(circle at 78% 23%, var(--level-glow, rgba(255, 77, 125, 0.22)), transparent 27%),
    radial-gradient(circle at 17% 82%, rgba(123, 97, 255, 0.14), transparent 30%),
    #0b0b16;
  color: var(--cream);
}

.result-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(248, 244, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(248, 244, 255, 0.028) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(circle at 55% 45%, black, transparent 76%);
  opacity: 0.7;
  pointer-events: none;
}

.result-hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
}

.result-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 13px;
  border-bottom: 1px solid var(--cream-line);
  color: rgba(248, 244, 255, 0.38);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.14em;
}

.result-main {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(320px, 0.74fr);
  align-items: center;
  gap: clamp(26px, 4vw, 64px);
  padding: clamp(28px, 4.6vh, 50px) 0;
}

.result-copy {
  animation: resultCopyIn 0.8s var(--ease) 0.12s both;
}

@keyframes resultCopyIn {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

.result-kicker {
  display: flex;
  align-items: center;
  gap: 9px;
  color: rgba(248, 244, 255, 0.48);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.08em;
}

.result-kicker strong {
  color: var(--cream);
  font-weight: 500;
}

.result-kicker .dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--rose);
}

.result-score {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  margin-top: 8px;
}

.score-num {
  font-family: var(--sans);
  font-size: clamp(118px, 14vw, 194px);
  font-weight: 900;
  letter-spacing: -0.105em;
  line-height: 0.84;
  background: linear-gradient(105deg, var(--level-a, #ff4d7d), var(--level-b, #f4d35e));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter: drop-shadow(0 12px 38px rgba(255, 77, 125, 0.14));
}

.score-meta {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding-bottom: 9px;
}

.score-meta span {
  color: rgba(248, 244, 255, 0.36);
  font-family: var(--mono);
  font-size: 6.5px;
  letter-spacing: 0.14em;
}

.score-meta strong {
  color: var(--cream);
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.result-verdict {
  max-width: 680px;
  margin-top: 22px;
  color: var(--cream);
  font-family: var(--serif);
  font-size: clamp(38px, 4.1vw, 58px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.35;
}

.result-sub {
  max-width: 570px;
  margin-top: 14px;
  color: rgba(248, 244, 255, 0.6);
  font-size: 12px;
  line-height: 1.85;
}

.result-persona {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-top: 25px;
}

.persona-label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(248, 244, 255, 0.36);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.13em;
}

.persona-label::before {
  content: "";
  width: 22px;
  height: 1px;
  background: rgba(248, 244, 255, 0.28);
}

.persona-name-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.persona-name {
  color: var(--cream);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.persona-name-en {
  color: rgba(248, 244, 255, 0.36);
  font-family: var(--mono);
  font-size: 6.5px;
  letter-spacing: 0.13em;
}

.result-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.result-tag {
  padding: 5px 9px;
  border: 1px solid rgba(248, 244, 255, 0.16);
  border-radius: 999px;
  color: rgba(248, 244, 255, 0.58);
  font-size: 8px;
  letter-spacing: 0.04em;
}

.result-tag:nth-child(2) {
  border-color: rgba(255, 77, 125, 0.4);
  color: var(--pink);
}

.result-level {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  align-self: flex-start;
  margin-top: 2px;
  color: var(--level-a, var(--pink));
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.12em;
}

.result-level::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--level-a, var(--pink));
  box-shadow: 0 0 0 3px rgba(255, 77, 125, 0.13);
}

/* result radar */

.result-radar-wrap {
  position: relative;
  justify-self: center;
  width: min(100%, 400px);
  aspect-ratio: 1;
  animation: radarIn 1s var(--ease) 0.25s both;
}

@keyframes radarIn {
  from { opacity: 0; transform: scale(0.92) rotate(-4deg); }
  to { opacity: 1; transform: scale(1) rotate(0); }
}

.result-radar {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at 42% 38%, rgba(255, 77, 125, 0.12), transparent 30%),
    radial-gradient(circle at 64% 68%, rgba(123, 97, 255, 0.13), transparent 36%);
}

.r-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(248, 244, 255, 0.14);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.r-ring--one { width: 100%; height: 100%; }
.r-ring--two { width: 77%; height: 77%; border-color: rgba(255, 77, 125, 0.2); }
.r-ring--three { width: 54%; height: 54%; border-style: dashed; border-color: rgba(248, 244, 255, 0.14); animation: spinSlow 32s linear infinite; }
.r-ring--four { width: 30%; height: 30%; border-color: rgba(244, 211, 94, 0.2); }

.r-axis {
  position: absolute;
  background: rgba(248, 244, 255, 0.07);
}

.r-axis--x { top: 50%; left: 4%; width: 92%; height: 1px; }
.r-axis--y { top: 4%; left: 50%; width: 1px; height: 92%; }

.r-sweep {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0deg, rgba(255, 77, 125, 0.04) 40deg, rgba(255, 77, 125, 0.26) 68deg, transparent 108deg);
  animation: radarSweep 8s linear infinite;
}

.r-blip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 7px;
  color: rgba(248, 244, 255, 0.52);
  font-family: var(--mono);
  font-size: 6px;
  letter-spacing: 0.06em;
}

.r-blip i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blip-color);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--blip-color) 16%, transparent), 0 0 18px var(--blip-color);
}

.r-blip--initiative { top: 18%; left: 56%; }
.r-blip--attention { top: 43%; right: 4%; }
.r-blip--special { bottom: 16%; right: 18%; }
.r-blip--body { bottom: 31%; left: 12%; }
.r-blip--emotion { top: 29%; left: 18%; }

.r-you,
.r-ta {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(248, 244, 255, 0.6);
  font-family: var(--mono);
  font-size: 6px;
  letter-spacing: 0.1em;
}

.r-you i,
.r-ta i {
  width: 9px;
  height: 9px;
  border: 2px solid var(--night);
  border-radius: 50%;
  background: var(--rose);
  box-shadow: 0 0 0 4px rgba(255, 77, 125, 0.15);
  animation: dotPulse 2.6s ease-in-out infinite;
}

.r-you { bottom: 18%; left: 46%; }
.r-ta { top: 28%; left: 62%; }
.r-ta i { background: var(--butter); box-shadow: 0 0 0 4px rgba(244, 211, 94, 0.14); animation-delay: -1.2s; }

.result-radar-caption {
  position: absolute;
  right: 4%;
  bottom: 3%;
  color: rgba(248, 244, 255, 0.25);
  font-family: var(--mono);
  font-size: 5.5px;
  letter-spacing: 0.1em;
  text-align: right;
}

.result-hero-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 15px;
  border-top: 1px solid var(--cream-line);
  color: rgba(248, 244, 255, 0.36);
  font-size: 8px;
  letter-spacing: 0.06em;
}

.result-hero-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.result-hero-meta b {
  color: var(--cream);
  font-weight: 500;
}

.result-hero-meta .sep {
  width: 1px;
  height: 10px;
  background: rgba(248, 244, 255, 0.18);
}

.hero-share {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 13px;
  border: 1px solid rgba(248, 244, 255, 0.18);
  border-radius: 999px;
  color: var(--cream);
  font-size: 9px;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.hero-share-label {
  font-size: 9px;
}

.hero-share-icon {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--rose);
  font-size: 9px;
  line-height: 1;
}

.hero-share:hover {
  background: rgba(248, 244, 255, 0.08);
  border-color: rgba(248, 244, 255, 0.36);
}

/* result body */

.result-body {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: clamp(58px, 8vw, 104px) clamp(20px, 5vw, 58px) 42px;
}

.result-section {
  margin-bottom: clamp(58px, 7vw, 94px);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 26px;
  padding-bottom: 13px;
  border-bottom: 1px solid var(--line);
}

.section-heading {
  display: flex;
  align-items: baseline;
  gap: 14px;
}

.section-no {
  color: var(--rose);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.1em;
}

.section-title {
  font-size: clamp(24px, 2.5vw, 33px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.4;
}

.section-en {
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.12em;
  white-space: nowrap;
}

.evidence-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: stretch;
}

.evidence-list {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
}

.evidence-row {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 58px;
  align-items: center;
  gap: 15px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-soft);
}

.evidence-row:first-child {
  border-top: 1px solid var(--line-soft);
}

.evidence-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid color-mix(in srgb, var(--dim-color) 34%, transparent);
  border-radius: 50%;
  color: var(--dim-color);
  font-family: var(--mono);
  font-size: 7px;
}

.evidence-main {
  min-width: 0;
}

.evidence-label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 7px;
  margin-bottom: 8px;
}

.evidence-name {
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}

.evidence-en {
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 6px;
  letter-spacing: 0.1em;
}

.evidence-track {
  height: 5px;
  overflow: hidden;
  border-radius: 5px;
  background: var(--line-soft);
}

.evidence-fill {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, color-mix(in srgb, var(--dim-color) 70%, #fff), var(--dim-color));
  transition: width 1.1s var(--ease) 0.2s;
}

.evidence-value {
  color: var(--ink);
  font-family: var(--mono);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.06em;
  text-align: right;
}

.evidence-value small {
  color: var(--muted-2);
  font-size: 9px;
  font-weight: 400;
}

.evidence-aside {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.evidence-note {
  padding: 22px 23px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 253, 255, 0.66);
}

.evidence-note--strong {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}

.note-label {
  color: var(--rose);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.11em;
}

.evidence-note--strong .note-label {
  color: var(--butter);
}

.note-title {
  margin-top: 13px;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.note-text {
  margin-top: 8px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.8;
}

.evidence-note--strong .note-text {
  color: rgba(248, 244, 255, 0.62);
}

/* persona section */

.persona-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(280px, 0.88fr);
  gap: 12px;
}

.persona-feature {
  position: relative;
  padding: clamp(26px, 3.3vw, 40px);
  overflow: hidden;
  border-radius: 23px;
  background:
    radial-gradient(circle at 90% 0%, color-mix(in srgb, var(--persona-color) 22%, transparent), transparent 38%),
    var(--ink);
  color: var(--cream);
}

.persona-feature::after {
  content: "✳";
  position: absolute;
  right: 22px;
  bottom: -22px;
  color: color-mix(in srgb, var(--persona-color) 40%, transparent);
  font-family: var(--serif);
  font-size: 150px;
  line-height: 1;
  opacity: 0.55;
}

.persona-feature .section-en {
  color: rgba(248, 244, 255, 0.36);
}

.persona-feature h3 {
  margin-top: 23px;
  font-size: clamp(44px, 5vw, 68px);
  font-weight: 900;
  letter-spacing: -0.07em;
  line-height: 1.1;
}

.persona-feature-en {
  margin-top: 7px;
  color: rgba(248, 244, 255, 0.36);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.14em;
}

.persona-feature .tagline {
  max-width: 440px;
  margin-top: 20px;
  color: rgba(248, 244, 255, 0.78);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.8;
}

.persona-feature .desc {
  max-width: 500px;
  margin-top: 15px;
  color: rgba(248, 244, 255, 0.55);
  font-size: 11px;
  line-height: 1.9;
}

.persona-feature .result-tags {
  margin-top: 22px;
}

.persona-quote {
  max-width: 470px;
  margin-top: 25px;
  padding-top: 19px;
  border-top: 1px solid rgba(248, 244, 255, 0.14);
  color: var(--butter);
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.7;
}

.persona-cards {
  display: grid;
  gap: 10px;
}

.persona-mini {
  padding: 21px 23px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 253, 255, 0.66);
}

.persona-mini-label {
  color: var(--persona-color);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.1em;
}

.persona-mini h4 {
  margin: 11px 0 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.persona-mini p {
  margin-top: 7px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.75;
}

/* next steps */

.next-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.next-card {
  position: relative;
  min-height: 190px;
  padding: 23px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 253, 255, 0.66);
}

.next-card::after {
  content: "";
  position: absolute;
  right: -28px;
  bottom: -46px;
  width: 120px;
  height: 120px;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.next-no {
  color: var(--rose);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.1em;
}

.next-card h4 {
  margin-top: 33px;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.next-card p {
  margin-top: 9px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.8;
}

.next-caption {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 6px;
  letter-spacing: 0.1em;
}

.next-caption::before {
  content: "";
  width: 15px;
  height: 1px;
  background: var(--line);
}

.next-line {
  margin-top: 28px;
  color: var(--ink-2);
  font-family: var(--serif);
  font-size: clamp(17px, 1.7vw, 21px);
  line-height: 1.8;
  text-align: center;
}

/* share cta */

.share-cta {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  padding: clamp(28px, 4vw, 46px);
  overflow: hidden;
  border-radius: 25px;
  background:
    radial-gradient(circle at 82% 12%, rgba(244, 211, 94, 0.36), transparent 25%),
    linear-gradient(120deg, var(--rose), #ff6f9c 45%, var(--violet));
  color: #fff;
}

.share-cta::after {
  content: "(((•)))";
  position: absolute;
  right: 2%;
  bottom: -18%;
  color: rgba(255, 255, 255, 0.11);
  font-family: var(--sans);
  font-size: 160px;
  font-weight: 900;
  letter-spacing: -0.1em;
  line-height: 1;
  transform: rotate(-8deg);
}

.share-cta-copy {
  position: relative;
  z-index: 1;
}

.share-cta .eyebrow {
  color: rgba(255, 255, 255, 0.62);
}

.share-cta h3 {
  margin-top: 15px;
  font-family: var(--serif);
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.4;
}

.share-cta p {
  max-width: 450px;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 11px;
  line-height: 1.8;
}

.share-cta .btn-main {
  position: relative;
  z-index: 1;
  background: #fff;
  color: var(--ink);
}

.share-cta .btn-main:hover {
  background: var(--ink);
  color: #fff;
}

.share-cta .btn-symbol {
  background: var(--ink);
  color: #fff;
}

.result-disclaimer {
  margin-top: 25px;
  color: var(--muted-2);
  font-size: 8px;
  line-height: 1.8;
  text-align: center;
}

.result-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 21px clamp(22px, 5vw, 60px);
  border-top: 1px solid var(--line-soft);
}

.result-footer-mark {
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 6.5px;
  letter-spacing: 0.1em;
}

.reveal-up {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

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

/* ---------- modals ---------- */

.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal.is-open {
  visibility: visible;
  opacity: 1;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(9, 8, 18, 0.76);
  backdrop-filter: blur(13px);
}

.modal-panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-height: calc(100svh - 44px);
  overflow: auto;
  padding: clamp(24px, 3.6vw, 44px);
  border-radius: 26px;
  background: var(--bg);
  box-shadow: 0 40px 110px -30px rgba(0, 0, 0, 0.58);
  transform: translateY(16px) scale(0.985);
  transition: transform 0.45s var(--ease);
}

.modal.is-open .modal-panel {
  transform: translateY(0) scale(1);
}

.index-panel {
  max-width: 1080px;
}

.modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.modal-head h2 {
  margin-top: 12px;
  font-size: clamp(30px, 3.6vw, 46px);
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 1.2;
}

.modal-sub {
  margin-top: 9px;
  color: var(--muted);
  font-size: 11px;
}

.modal-close {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 18px;
  line-height: 1;
  transition: background 0.25s ease, color 0.25s ease, transform 0.3s var(--ease);
}

.modal-close:hover {
  background: var(--ink);
  color: #fff;
  transform: rotate(90deg);
}

.index-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin-top: 27px;
}

.index-card {
  position: relative;
  padding: 18px 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 253, 255, 0.68);
  transition: background 0.3s ease, transform 0.35s var(--ease);
}

.index-card:hover {
  background: #fff;
  transform: translateY(-2px);
}

.index-card::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 4px;
  background: var(--persona-color);
}

.index-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 6.5px;
  letter-spacing: 0.12em;
}

.index-top span:first-child {
  color: var(--persona-color);
}

.index-card h3 {
  margin-top: 10px;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.3;
}

.index-en {
  margin-top: 2px;
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 6px;
  letter-spacing: 0.12em;
}

.index-tags {
  margin-top: 11px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.02em;
}

.index-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 10px;
}

/* share modal */

.share-panel {
  max-width: 1000px;
}

.share-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.78fr) minmax(300px, 1fr);
  align-items: center;
  gap: clamp(26px, 4.2vw, 56px);
  margin-top: 26px;
}

.share-preview {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.share-frame {
  width: 100%;
  max-width: 310px;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 28px 55px -30px rgba(30, 16, 67, 0.46);
  transform: rotate(-2deg);
}

.share-frame img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 8px;
  background: var(--night);
}

.share-caption {
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 6.5px;
  letter-spacing: 0.12em;
}

.share-actions {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.share-note {
  margin-bottom: 11px;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.8;
}

.share-actions .btn-main {
  width: 100%;
}

.share-tags {
  margin-top: 9px;
  color: var(--muted-2);
  font-size: 9px;
  line-height: 1.7;
  text-align: center;
}

/* toast */

.toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  z-index: 2000;
  max-width: calc(100vw - 30px);
  padding: 10px 17px;
  border: 1px solid rgba(248, 244, 255, 0.18);
  border-radius: 999px;
  background: var(--ink);
  color: var(--cream);
  font-size: 11px;
  line-height: 1.4;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 12px);
  transition: opacity 0.3s ease, transform 0.35s var(--ease);
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.noscript {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 30px;
  background: var(--bg);
  font-size: 17px;
}

/* ---------- responsive ---------- */

@media (max-width: 1180px) {
  .result-main { grid-template-columns: minmax(0, 1fr) minmax(300px, 0.68fr); }
}

@media (max-width: 1020px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 24px;
    padding-left: 32px;
    text-align: left;
  }

  .hero-copy {
    margin: 0;
    max-width: none;
  }

  .hero-title {
    font-size: clamp(46px, 5.7vw, 64px);
  }

  .hero-lede {
    max-width: 370px;
    font-size: 12.5px;
    line-height: 1.85;
  }

  .hero-actions {
    gap: 16px;
    margin-top: 24px;
  }

  .hero-facts {
    max-width: 410px;
    margin-top: 22px;
  }

  .hero-facts small {
    font-size: 7.5px;
  }

  .hero-signals {
    display: none;
  }

  .signal-panel {
    padding-right: 22px;
    padding-left: 22px;
    border-radius: 30px 0 0 30px;
  }

  .panel-score strong {
    font-size: clamp(52px, 6vw, 76px);
  }

  .panel-wave {
    display: none;
  }

  .panel-channels b {
    font-size: 10px;
  }

  .panel-channels small {
    font-size: 5px;
  }

  .panel-persona b {
    font-size: 22px;
  }

  .how-section {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .how-quote {
    margin-top: 24px;
  }

  .result-main {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 27px 0 26px;
  }

  .result-copy {
    text-align: center;
  }

  .result-kicker,
  .result-persona,
  .result-tags {
    justify-content: center;
    align-items: center;
  }

  .result-kicker::before {
    display: none;
  }

  .result-level {
    align-self: center;
  }

  .result-score {
    justify-content: center;
  }

  .result-verdict,
  .result-sub {
    margin-right: auto;
    margin-left: auto;
  }

  .result-radar-wrap {
    width: min(100%, 325px);
    margin: 0 auto;
    order: 2;
  }

  .result-hero-bottom {
    justify-content: center;
  }

  .result-hero-meta {
    justify-content: center;
  }

  .evidence-layout,
  .persona-layout {
    grid-template-columns: 1fr;
  }

  .evidence-aside {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

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

  .next-card {
    min-height: 145px;
  }

  .share-cta {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .share-cta .btn-main {
    margin-top: 5px;
  }
}

@media (max-width: 760px) {
  .site-head {
    padding: 17px 19px;
  }

  .brand-copy strong {
    font-size: 13px;
  }

  .brand-copy small {
    font-size: 6.5px;
  }

  .site-nav {
    gap: 12px;
  }

  .nav-link {
    font-size: 9px;
  }

  .nav-meta {
    display: none;
  }

  .hero-visual {
    width: 350px;
    height: 465px;
    margin-top: 0;
  }

  .big-echo {
    font-size: 160px;
  }

  .radar-halo {
    width: 320px;
    height: 320px;
    filter: blur(30px);
  }

  .radar-card {
    top: 42px;
    width: 294px;
    height: 404px;
    padding: 15px 15px 13px;
    border-radius: 23px;
  }

  .radar-shell {
    width: 232px;
    height: 232px;
    margin: 11px auto 5px;
  }

  .radar-readout {
    padding-bottom: 7px;
  }

  .readout-score strong {
    font-size: 31px;
  }

  .mini-wave {
    height: 24px;
  }

  .mini-wave i {
    width: 1.5px;
  }

  .float-chip {
    padding: 8px 9px;
    gap: 7px;
    border-radius: 12px;
  }

  .chip-plus {
    min-width: 29px;
    height: 29px;
    border-radius: 8px;
    font-size: 9px;
  }

  .chip-copy b {
    font-size: 8px;
  }

  .chip-copy small {
    font-size: 5.3px;
  }

  .chip--one {
    top: 330px;
    left: -7px;
  }

  .chip--two {
    top: 122px;
    right: -5px;
  }

  .chip--three {
    display: none;
  }

  .sticker {
    right: -2px;
    bottom: 59px;
    width: 63px;
    height: 63px;
    font-size: 5.5px;
  }

  .orbit-caption,
  .visual-caption {
    display: none;
  }

  .signal-ticker {
    padding: 10px 0;
  }

  .tick {
    padding: 0 14px;
    font-size: 9px;
  }

  .tick::after {
    margin-left: 14px;
  }

  .how-section {
    padding: 60px 20px 34px;
  }

  .how-head h2 {
    font-size: 35px;
  }

  .how-card {
    padding: 21px 20px;
  }

  .how-en {
    top: 23px;
    right: 19px;
  }

  .how-quote {
    font-size: 24px;
  }

  .site-footer {
    flex-wrap: wrap;
    justify-content: center;
    gap: 7px;
    padding: 17px 20px;
    font-size: 6px;
    text-align: center;
  }

  .flow-head {
    padding: 17px 19px;
  }

  .flow-brand small {
    display: none;
  }

  .setup-main {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 32px 20px 54px;
  }

  .setup-copy h2 {
    font-size: 43px;
  }

  .setup-lede {
    font-size: 12px;
  }

  .setup-signal {
    display: none;
  }

  .setup-form {
    padding: 22px 18px;
  }

  .name-input {
    font-size: 42px;
  }

  .setup-watermark {
    font-size: 230px;
    opacity: 0.7;
  }

  .quiz-head {
    flex-wrap: wrap;
    gap: 13px;
    padding: 15px 18px;
  }

  .quiz-progress {
    width: 100%;
    justify-content: space-between;
    order: 3;
    gap: 10px;
  }

  .segment-track {
    flex: 1;
    gap: 2px;
  }

  .segment {
    flex: 1;
    width: auto;
    height: 4px;
  }

  .quiz-close {
    width: 28px;
    height: 28px;
  }

  .quiz-main {
    align-items: flex-start;
    padding: 27px 19px 30px;
  }

  .quiz-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .quiz-rail {
    display: grid;
    grid-template-columns: auto auto 1fr;
    grid-template-rows: auto auto;
    align-items: baseline;
    gap: 5px 11px;
    padding-top: 0;
  }

  .rail-part {
    grid-column: 1;
    font-size: 7px;
  }

  .rail-number {
    grid-column: 1;
    grid-row: 2;
    margin-top: 0;
    font-size: 45px;
    line-height: 1;
  }

  .rail-en {
    grid-column: 2;
    grid-row: 2;
    margin: 0;
    writing-mode: initial;
    transform: none;
    font-size: 6px;
  }

  .rail-rule {
    display: none;
  }

  .rail-note {
    grid-column: 3;
    grid-row: 1 / 3;
    align-self: center;
    max-width: none;
    margin: 0;
    font-size: 8px;
    text-align: right;
  }

  .question-meta {
    margin-bottom: 12px;
  }

  .question-title {
    font-size: clamp(26px, 7.3vw, 34px);
    line-height: 1.36;
  }

  .question-hint {
    margin-top: 8px;
    font-size: 9px;
  }

  .option-list {
    gap: 8px;
    margin-top: 20px;
  }

  .option {
    min-height: 62px;
    grid-template-columns: 34px 1fr 16px;
    gap: 9px;
    padding: 12px 13px;
    border-radius: 13px;
  }

  .option-text {
    font-size: 13px;
  }

  .option-num {
    font-size: 8px;
  }

  .quiz-foot {
    margin-top: 20px;
    padding-top: 13px;
  }

  .quiz-tip {
    display: none;
  }

  .key-hint {
    display: none;
  }

  .quiz-side-note {
    display: none;
  }

  .analysis-head {
    font-size: 6px;
    letter-spacing: 0.08em;
  }

  .analysis-main {
    min-height: 480px;
  }

  .analysis-radar {
    width: 300px;
    height: 300px;
  }

  .analysis-score strong {
    font-size: 82px;
  }

  .analysis-line {
    margin-top: 38px;
    font-size: 14px;
    letter-spacing: 0.04em;
  }

  .analysis-wave {
    gap: 3px;
    transform: scale(0.8);
  }

  .analysis-foot {
    font-size: 5.5px;
  }

  .result-head {
    padding: 17px 19px;
  }

  .result-head-actions {
    gap: 13px;
  }

  .result-head .nav-link:first-child {
    display: none;
  }

  .result-hero {
    min-height: 100svh;
    padding: 89px 19px 22px;
  }

  .result-topline {
    font-size: 6px;
    letter-spacing: 0.08em;
  }

  .result-main {
    padding: 25px 0 18px;
    gap: 2px;
  }

  .result-score {
    margin-top: 8px;
  }

  .score-num {
    font-size: clamp(118px, 32vw, 150px);
  }

  .score-meta {
    padding-bottom: 7px;
  }

  .score-meta strong {
    font-size: 12px;
  }

  .result-verdict {
    margin-top: 16px;
    font-size: clamp(34px, 9.2vw, 44px);
    line-height: 1.38;
  }

  .result-sub {
    margin-top: 11px;
    font-size: 11px;
    line-height: 1.8;
  }

  .result-persona {
    margin-top: 19px;
    gap: 9px;
  }

  .persona-name {
    font-size: 21px;
  }

  .result-tag {
    padding: 4px 8px;
    font-size: 7px;
  }

  .result-radar-wrap {
    width: min(100%, 245px);
  }

  .r-blip {
    font-size: 5px;
  }

  .r-blip--attention { right: 0; }

  .result-hero-bottom {
    flex-direction: column;
    gap: 12px;
    padding-top: 12px;
    font-size: 7px;
  }

  .result-hero-meta {
    gap: 8px;
  }

  .result-hero-meta .sep {
    height: 8px;
  }

  .hero-share {
    padding: 7px 11px;
    font-size: 8px;
  }

  .result-body {
    padding: 47px 19px 30px;
  }

  .result-section {
    margin-bottom: 55px;
  }

  .section-head {
    align-items: flex-start;
    margin-bottom: 20px;
  }

  .section-heading {
    gap: 10px;
  }

  .section-title {
    font-size: 25px;
  }

  .section-en {
    margin-top: 4px;
    font-size: 6px;
  }

  .evidence-row {
    grid-template-columns: 29px minmax(0, 1fr) 49px;
    gap: 10px;
    padding: 13px 0;
  }

  .evidence-icon {
    width: 26px;
    height: 26px;
    font-size: 6px;
  }

  .evidence-name {
    font-size: 12px;
  }

  .evidence-value {
    font-size: 17px;
  }

  .evidence-aside {
    grid-template-columns: 1fr;
  }

  .evidence-note {
    padding: 18px 19px;
  }

  .persona-feature {
    padding: 25px 21px;
  }

  .persona-feature h3 {
    margin-top: 18px;
    font-size: 47px;
  }

  .persona-feature .tagline {
    margin-top: 15px;
    font-size: 16px;
  }

  .persona-feature .desc {
    font-size: 10px;
  }

  .persona-quote {
    margin-top: 19px;
    padding-top: 16px;
    font-size: 14px;
  }

  .persona-mini {
    padding: 17px 19px;
  }

  .next-card {
    min-height: 160px;
    padding: 20px;
  }

  .next-card h4 {
    margin-top: 25px;
  }

  .share-cta {
    padding: 26px 21px;
    border-radius: 20px;
  }

  .share-cta h3 {
    font-size: 28px;
  }

  .share-cta .btn-main {
    width: 100%;
  }

  .result-disclaimer {
    font-size: 7.5px;
  }

  .result-footer {
    flex-wrap: wrap;
    gap: 10px;
    padding: 17px 19px;
  }

  .result-footer-mark {
    order: 3;
    width: 100%;
    text-align: center;
  }

  .modal {
    padding: 9px;
  }

  .modal-panel {
    max-height: calc(100svh - 18px);
    padding: 21px 17px;
    border-radius: 20px;
  }

  .modal-head h2 {
    font-size: 30px;
  }

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

  .index-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .index-footer .btn-main {
    width: 100%;
  }

  .share-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .share-frame {
    max-width: 250px;
  }

  .share-note {
    font-size: 14px;
  }
}

@media (max-width: 700px) {
  .hero {
    display: flex;
    flex-direction: column;
    gap: 0;
    min-height: auto;
    padding: 30px 20px 24px;
  }

  .hero-copy {
    width: 100%;
    max-width: none;
    padding: 0;
    text-align: left;
  }

  .hero-topline {
    max-width: none;
  }

  .hero-issue {
    display: none;
  }

  .hero-title {
    margin: 20px 0 15px;
    font-size: clamp(42px, 11.3vw, 54px);
    line-height: 1.07;
  }

  .hero-lede {
    max-width: 360px;
    font-size: 12.5px;
    line-height: 1.9;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 11px;
    margin-top: 24px;
  }

  .hero-actions .btn-main {
    width: 100%;
    max-width: none;
  }

  .hero-actions .btn-quiet {
    align-self: center;
    justify-content: center;
  }

  .hero-facts {
    max-width: none;
    margin-top: 23px;
    padding: 11px 0;
  }

  .hero-facts b {
    font-size: 17px;
  }

  .hero-facts small {
    font-size: 7px;
  }

  .hero-note {
    margin-top: 12px;
    font-size: 7px;
    line-height: 1.6;
  }

  .hero-signals {
    display: none;
  }

  .signal-panel {
    display: grid;
    grid-template-columns: 146px minmax(0, 1fr);
    grid-template-rows: auto 1fr auto;
    column-gap: 14px;
    height: 224px;
    min-height: 0;
    margin-top: 24px;
    padding: 14px 16px 11px;
    border-radius: 24px;
  }

  .panel-head {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .panel-radar {
    grid-column: 1;
    grid-row: 2;
    width: 142px;
    height: 142px;
    margin: 7px 0 0;
    align-self: center;
  }

  .panel-score strong {
    font-size: 52px;
  }

  .panel-score span {
    font-size: 4.8px;
  }

  .panel-score em {
    font-size: 6px;
  }

  .panel-readout {
    grid-column: 2;
    grid-row: 2;
    display: block;
    align-self: center;
    margin: 0;
    padding: 0;
    border: 0;
  }

  .panel-persona span {
    font-size: 6px;
  }

  .panel-persona b {
    font-size: 28px;
  }

  .panel-persona small {
    font-size: 4.8px;
  }

  .panel-wave {
    display: none;
  }

  .panel-channels {
    display: none;
  }

  .panel-foot {
    grid-column: 1 / -1;
    grid-row: 3;
    margin-top: 7px;
    padding-top: 7px;
    font-size: 4.6px;
  }

  .panel-side,
  .p-coord {
    display: none;
  }
}

@media (max-width: 380px) {
  .hero-title {
    font-size: 40px;
  }

  .hero-visual {
    width: 320px;
  }

  .radar-card {
    width: 276px;
  }

  .radar-shell {
    width: 218px;
    height: 218px;
  }

  .chip--two {
    right: -12px;
  }

  .chip--one {
    left: -8px;
  }

  .result-score .score-num {
    font-size: 112px;
  }

  .result-verdict {
    font-size: 31px;
  }
}

@media (max-height: 720px) and (min-width: 1021px) {
  .hero-visual {
    height: 520px;
    transform: scale(0.9);
    transform-origin: center;
  }

  .radar-card {
    top: 32px;
  }

  .hero-title {
    font-size: clamp(56px, 5.8vw, 88px);
  }

  .hero-lede {
    line-height: 1.8;
  }

  .hero-actions {
    margin-top: 23px;
  }

  .hero-specs {
    margin-top: 20px;
  }

  .hero-note {
    margin-top: 15px;
  }
}

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

  .reveal-up {
    opacity: 1;
    transform: none;
  }
}

/* =========================================================
   星夜紫 · 首页主题
   ========================================================= */

.view--landing {
  --star-bg: #070511;
  --star-bg-2: #0d0920;
  --star-ink: #f5f0ff;
  --star-muted: #b9acd8;
  --star-faint: #7f739c;
  --star-line: rgba(202, 188, 255, 0.16);
  --star-line-soft: rgba(202, 188, 255, 0.09);
  --star-lav: #c9b8ff;
  --star-purple: #8d6bff;
  --star-blue: #7c9bff;
  --star-pink: #ff8fc7;
  --star-gold: #f0d58a;
  --star-mint: #8de8d0;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 24%, rgba(125, 88, 255, 0.21), transparent 32%),
    radial-gradient(ellipse at 82% 8%, rgba(255, 143, 199, 0.11), transparent 27%),
    radial-gradient(ellipse at 11% 74%, rgba(91, 124, 255, 0.14), transparent 31%),
    linear-gradient(180deg, #070511 0%, #0c081d 43%, #080512 100%);
  color: var(--star-ink);
}

.view--landing::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.75;
  background-image:
    radial-gradient(1.2px 1.2px at 9% 17%, rgba(255, 255, 255, 0.7), transparent 100%),
    radial-gradient(1px 1px at 24% 8%, rgba(239, 222, 255, 0.62), transparent 100%),
    radial-gradient(1.4px 1.4px at 47% 6%, rgba(255, 255, 255, 0.48), transparent 100%),
    radial-gradient(1px 1px at 71% 13%, rgba(224, 211, 255, 0.65), transparent 100%),
    radial-gradient(1.4px 1.4px at 91% 7%, rgba(255, 255, 255, 0.55), transparent 100%),
    radial-gradient(1px 1px at 84% 32%, rgba(255, 226, 244, 0.42), transparent 100%),
    radial-gradient(1.1px 1.1px at 17% 46%, rgba(255, 255, 255, 0.36), transparent 100%),
    radial-gradient(1px 1px at 63% 39%, rgba(208, 191, 255, 0.42), transparent 100%),
    radial-gradient(1.4px 1.4px at 39% 68%, rgba(255, 255, 255, 0.32), transparent 100%),
    radial-gradient(1px 1px at 76% 78%, rgba(255, 224, 242, 0.3), transparent 100%);
}

.view--landing .site-head {
  position: relative;
  z-index: 10;
  border-bottom-color: var(--star-line);
  background: rgba(7, 5, 17, 0.52);
  backdrop-filter: blur(20px);
}

.view--landing .brand {
  color: var(--star-ink);
}

.view--landing .brand-signal {
  border-color: rgba(202, 188, 255, 0.24);
  color: var(--star-lav);
}

.view--landing .brand:hover .brand-signal {
  border-color: var(--star-pink);
  color: var(--star-pink);
}

.view--landing .brand-copy small {
  color: rgba(245, 240, 255, 0.42);
}

.view--landing .nav-link {
  color: rgba(245, 240, 255, 0.65);
}

.view--landing .nav-link:hover {
  color: var(--star-pink);
}

.view--landing .nav-link sup {
  color: var(--star-pink);
}

.view--landing .nav-meta {
  color: rgba(245, 240, 255, 0.3);
}

.landing-hero {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: calc(100svh - 78px);
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 26px 22px 20px;
}

.landing-sky {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.sky-orbit {
  position: absolute;
  top: 45%;
  left: 50%;
  border: 1px solid rgba(202, 188, 255, 0.13);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.sky-orbit--one {
  width: min(82vw, 850px);
  aspect-ratio: 1;
  border-color: rgba(202, 188, 255, 0.1);
}

.sky-orbit--two {
  width: min(64vw, 650px);
  aspect-ratio: 1;
  border-style: dashed;
  border-color: rgba(255, 143, 199, 0.14);
  animation: orbitSpin 80s linear infinite;
}

.sky-orbit--three {
  width: min(42vw, 430px);
  aspect-ratio: 1;
  border-color: rgba(240, 213, 138, 0.12);
}

@keyframes orbitSpin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.sky-star {
  position: absolute;
  color: var(--star-lav);
  font-family: var(--serif);
  line-height: 1;
  text-shadow: 0 0 18px rgba(201, 184, 255, 0.7);
  animation: twinkle 5s ease-in-out infinite;
}

.sky-star--one { top: 20%; left: 15%; font-size: 18px; color: var(--star-pink); }
.sky-star--two { top: 27%; right: 17%; font-size: 12px; animation-delay: -1.4s; }
.sky-star--three { top: 63%; left: 22%; font-size: 9px; animation-delay: -2.7s; color: var(--star-gold); }
.sky-star--four { top: 52%; right: 11%; font-size: 14px; animation-delay: -0.8s; }

@keyframes twinkle {
  0%, 100% { opacity: 0.35; transform: scale(0.85) rotate(0); }
  50% { opacity: 1; transform: scale(1.12) rotate(12deg); }
}

.sky-shooting {
  position: absolute;
  top: 15%;
  left: 5%;
  width: 150px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: rotate(19deg);
  opacity: 0;
  animation: shooting 9s ease-in-out infinite 3s;
}

@keyframes shooting {
  0%, 86%, 100% { opacity: 0; transform: translate(0, 0) rotate(19deg) scaleX(0.4); }
  89% { opacity: 0.75; }
  92% { opacity: 0; transform: translate(240px, 80px) rotate(19deg) scaleX(1); }
}

.landing-center {
  position: relative;
  z-index: 2;
  display: flex;
  width: 100%;
  max-width: 1020px;
  flex-direction: column;
  align-items: center;
  margin: 0 auto;
  text-align: center;
}

.landing-eyebrow {
  color: rgba(235, 224, 255, 0.65);
}

.landing-eyebrow .live-dot {
  background: var(--star-pink);
  box-shadow: 0 0 0 4px rgba(255, 143, 199, 0.12), 0 0 16px rgba(255, 143, 199, 0.5);
}

.landing-eyebrow .eyebrow-rule {
  background: var(--star-line);
}

.landing-title {
  max-width: 980px;
  margin: 19px auto 16px;
  color: var(--star-ink);
  font-family: var(--sans);
  font-size: clamp(44px, 6.6vw, 100px);
  font-weight: 900;
  letter-spacing: -0.075em;
  line-height: 1.03;
  text-align: center;
  text-shadow: 0 0 70px rgba(141, 107, 255, 0.2);
}

.landing-title .highlight {
  background: linear-gradient(103deg, #e8ddff 0%, #bda6ff 38%, #ff9cca 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter: drop-shadow(0 0 24px rgba(190, 154, 255, 0.3));
}

.landing-title .highlight::after {
  color: var(--star-gold);
  text-shadow: 0 0 16px rgba(240, 213, 138, 0.8);
}

.landing-lede {
  max-width: 500px;
  color: var(--star-muted);
  font-size: 13px;
  letter-spacing: 0.025em;
  line-height: 1.9;
}

.landing-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 21px;
  margin-top: 25px;
}

.landing-actions .btn-main {
  min-width: 196px;
  background: linear-gradient(135deg, #f7f1ff, #c8b6ff);
  color: #120b26;
  box-shadow: 0 20px 46px -24px rgba(158, 122, 255, 0.8);
}

.landing-actions .btn-main:hover {
  background: linear-gradient(135deg, #fffaff, #d8caff);
  box-shadow: 0 25px 54px -24px rgba(158, 122, 255, 0.95);
}

.landing-actions .btn-symbol {
  background: #17102f;
  color: #fff;
}

.landing-actions .btn-main:hover .btn-symbol {
  background: var(--star-purple);
}

.landing-actions .btn-quiet {
  color: var(--star-muted);
  border-bottom-color: var(--star-line);
}

.landing-actions .btn-quiet:hover {
  color: var(--star-ink);
  border-color: var(--star-ink);
}

.landing-actions .quiet-arrow {
  color: var(--star-pink);
}

.landing-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(430px, 100%);
  margin: 20px auto 0;
  padding: 10px 0;
  border-top: 1px solid var(--star-line);
  border-bottom: 1px solid var(--star-line);
}

.landing-facts span {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 5px;
  min-width: 0;
}

.landing-facts span + span {
  border-left: 1px solid var(--star-line-soft);
}

.landing-facts b {
  color: var(--star-gold);
  font-family: var(--mono);
  font-size: 17px;
  font-weight: 700;
  line-height: 1;
}

.landing-facts small {
  color: var(--star-muted);
  font-size: 7.5px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.landing-note {
  margin-top: 10px;
  color: rgba(185, 172, 216, 0.55);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.04em;
}

/* ---------- centered signal console ---------- */

.signal-console {
  position: relative;
  z-index: 2;
  width: min(820px, 100%);
  margin: 22px auto 0;
  overflow: hidden;
  border: 1px solid rgba(202, 188, 255, 0.18);
  border-radius: 20px;
  background:
    linear-gradient(150deg, rgba(35, 25, 72, 0.78), rgba(11, 8, 26, 0.84));
  box-shadow: 0 30px 80px -45px rgba(108, 77, 255, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(20px);
}

.signal-console::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(202, 188, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(202, 188, 255, 0.035) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: linear-gradient(90deg, transparent, black 20%, black 80%, transparent);
  pointer-events: none;
}

.console-head {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 14px;
  border-bottom: 1px solid rgba(202, 188, 255, 0.1);
  color: rgba(226, 215, 255, 0.38);
  font-family: var(--mono);
  font-size: 5.5px;
  letter-spacing: 0.1em;
}

.console-head span:last-child {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.console-head i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--star-pink);
  box-shadow: 0 0 8px var(--star-pink);
  animation: blink 1.8s ease-in-out infinite;
}

.console-body {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 118px minmax(150px, 0.9fr) minmax(230px, 1.35fr);
  align-items: center;
  gap: 18px;
  padding: 12px 17px 15px;
}

.console-orb {
  position: relative;
  width: 104px;
  aspect-ratio: 1;
  margin: 0 auto;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(141, 107, 255, 0.2), transparent 66%);
}

.c-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(202, 188, 255, 0.17);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.c-ring--one { width: 100%; height: 100%; }
.c-ring--two { width: 71%; height: 71%; border-color: rgba(255, 143, 199, 0.22); border-style: dashed; }
.c-ring--three { width: 43%; height: 43%; border-color: rgba(240, 213, 138, 0.2); }

.c-sweep {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0deg, rgba(255, 143, 199, 0.03) 40deg, rgba(255, 143, 199, 0.2) 70deg, transparent 110deg);
  animation: radarSweep 7s linear infinite;
}

.c-core {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--star-pink);
  box-shadow: 0 0 12px var(--star-pink);
  transform: translate(-50%, -50%);
}

.console-orb strong {
  position: absolute;
  top: 50%;
  left: 50%;
  padding-top: 1px;
  color: var(--star-ink);
  font-family: var(--sans);
  font-size: 31px;
  font-weight: 900;
  letter-spacing: -0.09em;
  line-height: 1;
  transform: translate(-50%, -50%);
}

.console-orb strong small {
  margin-left: 1px;
  color: var(--star-pink);
  font-size: 0.32em;
  font-weight: 500;
}

.console-orb em {
  position: absolute;
  bottom: 8px;
  left: 50%;
  color: rgba(226, 215, 255, 0.35);
  font-family: var(--mono);
  font-size: 4.5px;
  font-style: normal;
  letter-spacing: 0.12em;
  white-space: nowrap;
  transform: translateX(-50%);
}

.console-persona {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: left;
}

.console-persona span {
  color: rgba(226, 215, 255, 0.36);
  font-family: var(--mono);
  font-size: 5.5px;
  letter-spacing: 0.08em;
}

.console-persona b {
  color: var(--star-ink);
  font-size: 25px;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.25;
}

.console-persona small {
  color: rgba(226, 215, 255, 0.3);
  font-family: var(--mono);
  font-size: 4.8px;
  letter-spacing: 0.13em;
}

.console-channels {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: end;
  gap: 6px;
  height: 74px;
}

.console-channel {
  display: flex;
  height: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 3px;
}

.console-channel i {
  position: relative;
  display: block;
  width: 5px;
  height: 47px;
  overflow: hidden;
  border-radius: 4px;
  background: rgba(202, 188, 255, 0.1);
}

.console-channel i::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: var(--pct);
  border-radius: inherit;
  background: var(--ch);
  box-shadow: 0 0 10px var(--ch);
}

.console-channel b {
  color: var(--ch);
  font-family: var(--mono);
  font-size: 7px;
  font-weight: 600;
  line-height: 1;
}

.console-channel small {
  color: rgba(226, 215, 255, 0.34);
  font-size: 5px;
  letter-spacing: 0.04em;
  line-height: 1.2;
}

.landing-coord {
  position: absolute;
  bottom: 23px;
  z-index: 2;
  color: rgba(185, 172, 216, 0.24);
  font-family: var(--mono);
  font-size: 5.5px;
  letter-spacing: 0.1em;
}

.landing-coord--left { left: 25px; }
.landing-coord--right { right: 25px; }

/* ---------- dark landing ticker / how / footer ---------- */

.view--landing .signal-ticker {
  position: relative;
  z-index: 2;
  border-top-color: var(--star-line-soft);
  border-bottom-color: var(--star-line-soft);
  background: rgba(255, 255, 255, 0.024);
}

.view--landing .tick {
  color: rgba(214, 201, 237, 0.58);
}

.view--landing .tick b {
  color: var(--star-mint);
}

.view--landing .tick--minus b {
  color: var(--star-pink);
}

.view--landing .tick::after {
  color: rgba(202, 188, 255, 0.18);
}

.view--landing .how-section {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--star-line-soft);
}

.view--landing .how-head .eyebrow {
  color: var(--star-muted);
}

.view--landing .how-head .live-dot--violet {
  background: var(--star-lav);
  box-shadow: 0 0 0 4px rgba(201, 184, 255, 0.1);
}

.view--landing .how-head h2 {
  color: var(--star-ink);
}

.view--landing .how-head h2 em {
  background: linear-gradient(100deg, var(--star-lav), var(--star-pink));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.view--landing .how-card {
  border-color: var(--star-line);
  background: rgba(27, 19, 55, 0.46);
}

.view--landing .how-card:hover {
  background: rgba(38, 27, 75, 0.64);
}

.view--landing .how-card h3 {
  color: var(--star-ink);
}

.view--landing .how-card p {
  color: var(--star-muted);
}

.view--landing .how-no {
  color: var(--star-pink);
}

.view--landing .how-en {
  color: rgba(214, 201, 237, 0.32);
}

.view--landing .how-quote {
  color: var(--star-ink);
}

.view--landing .site-footer {
  position: relative;
  z-index: 2;
  border-top-color: var(--star-line-soft);
  color: rgba(185, 172, 216, 0.4);
}

@media (max-width: 920px) {
  .landing-hero {
    min-height: calc(100svh - 72px);
    padding-top: 24px;
  }

  .landing-title {
    font-size: clamp(48px, 7.2vw, 68px);
  }

  .landing-lede {
    font-size: 12.5px;
  }

  .console-body {
    grid-template-columns: 102px minmax(120px, 0.8fr) minmax(185px, 1.2fr);
    gap: 14px;
    padding: 11px 14px 13px;
  }

  .console-orb {
    width: 92px;
  }

  .console-orb strong {
    font-size: 29px;
  }

  .console-persona b {
    font-size: 22px;
  }

  .console-channels {
    height: 68px;
  }

  .console-channel i {
    height: 42px;
  }

  .landing-coord {
    display: none;
  }
}

@media (max-width: 700px) {
  .landing-hero {
    min-height: auto;
    padding: 27px 20px 24px;
  }

  .landing-title {
    margin-top: 18px;
    font-size: clamp(42px, 11.3vw, 54px);
    line-height: 1.05;
  }

  .landing-lede {
    max-width: 340px;
    font-size: 12px;
    line-height: 1.85;
  }

  .landing-actions {
    width: 100%;
    flex-direction: column;
    gap: 11px;
    margin-top: 23px;
  }

  .landing-actions .btn-main {
    width: 100%;
    max-width: none;
  }

  .landing-actions .btn-quiet {
    align-self: center;
    justify-content: center;
  }

  .landing-facts {
    width: min(360px, 100%);
    margin-top: 19px;
    padding: 9px 0;
  }

  .landing-facts b {
    font-size: 16px;
  }

  .landing-facts small {
    font-size: 7px;
  }

  .landing-note {
    margin-top: 9px;
    font-size: 6.5px;
  }

  .signal-console {
    margin-top: 19px;
    border-radius: 17px;
  }

  .console-head {
    padding: 7px 11px;
    font-size: 4.6px;
  }

  .console-body {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 13px;
    padding: 11px 12px 13px;
  }

  .console-orb {
    width: 88px;
  }

  .console-orb strong {
    font-size: 28px;
  }

  .console-orb em {
    bottom: 6px;
    font-size: 4px;
  }

  .console-persona b {
    font-size: 25px;
  }

  .console-persona small {
    font-size: 4.5px;
  }

  .console-channels {
    display: none;
  }

  .sky-orbit--one {
    width: 150vw;
  }

  .sky-orbit--two {
    width: 112vw;
  }

  .sky-orbit--three {
    width: 74vw;
  }

  .sky-star--one { left: 8%; }
  .sky-star--two { right: 8%; }
  .sky-star--four { right: 4%; }

  .view--landing .how-section {
    padding-top: 50px;
  }

  .view--landing .how-quote {
    font-size: 22px;
  }
}

@media (max-width: 380px) {
  .landing-title {
    font-size: 40px;
  }

  .console-head span:last-child {
    display: none;
  }
}

/* =========================================================
   星夜紫 · 标题层次
   ========================================================= */

.title-wrap {
  position: relative;
  display: inline-block;
  margin: 13px auto 0;
}

.landing-title {
  margin: 0;
}

.title-line {
  display: block;
  width: max-content;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  white-space: nowrap;
}

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

.title-line::before {
  content: attr(data-text);
  position: absolute;
  top: 0.06em;
  left: 0.055em;
  z-index: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(201, 184, 255, 0.12);
  pointer-events: none;
}

.title-line--serif .title-text,
.title-line--serif::before {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.025em;
}

.landing-title .highlight {
  position: relative;
  display: inline-block;
  padding: 0 0.015em;
  background: linear-gradient(103deg, #e8ddff 0%, #bda6ff 32%, #ff9cca 67%, #f0d58a 100%);
  background-size: 220% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter: drop-shadow(0 0 26px rgba(190, 154, 255, 0.3));
  animation: titleShimmer 9s ease-in-out infinite;
}

@keyframes titleShimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.landing-title .highlight::before {
  content: "";
  position: absolute;
  right: 0.02em;
  bottom: 0.02em;
  left: 0.02em;
  height: 0.045em;
  border-radius: 50%;
  background: linear-gradient(90deg, transparent, rgba(201, 184, 255, 0.75), rgba(255, 143, 199, 0.8), transparent);
  opacity: 0.8;
  filter: blur(0.4px);
}

.landing-title .highlight::after {
  display: none;
}

.title-spark {
  position: absolute;
  top: -0.32em;
  right: -0.42em;
  color: var(--star-gold);
  font-family: var(--serif);
  font-size: 0.24em;
  font-style: normal;
  line-height: 1;
  text-shadow: 0 0 18px rgba(240, 213, 138, 0.85);
  -webkit-text-fill-color: var(--star-gold);
  transform: rotate(14deg);
}

.title-side {
  position: absolute;
  top: 50%;
  color: rgba(201, 184, 255, 0.38);
  font-family: var(--mono);
  font-size: 5.5px;
  letter-spacing: 0.16em;
  line-height: 1.4;
  white-space: nowrap;
  writing-mode: vertical-rl;
}

.title-side--left {
  left: -72px;
  transform: translateY(-50%) rotate(180deg);
}

.title-side--right {
  right: -77px;
  transform: translateY(-50%);
}

.landing-submark {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  margin: 3px auto 12px;
  color: rgba(201, 184, 255, 0.45);
  font-family: var(--mono);
  font-size: 6.5px;
  letter-spacing: 0.2em;
}

.landing-submark span {
  width: 28px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 184, 255, 0.4));
}

.landing-submark span:last-child {
  background: linear-gradient(90deg, rgba(201, 184, 255, 0.4), transparent);
}

@media (max-width: 920px) {
  .title-side {
    display: none;
  }
}

@media (max-width: 700px) {
  .title-wrap {
    margin-top: 16px;
  }

  .landing-submark {
    margin-bottom: 10px;
    font-size: 5.7px;
    letter-spacing: 0.14em;
  }

  .landing-submark span {
    width: 20px;
  }
}

/* =========================================================
   全站星夜紫 · 深色主题
   ========================================================= */

:root {
  --bg: #080611;
  --bg-2: #0f0a20;
  --surface: #15102c;
  --surface-2: #1b1438;
  --ink: #f4eeff;
  --ink-2: #d8cbf6;
  --muted: #a99bc8;
  --muted-2: #7d709b;
  --line: rgba(202, 188, 255, 0.16);
  --line-soft: rgba(202, 188, 255, 0.09);
  --night: #070511;
  --night-2: #0e0a20;
  --cream: #f4eeff;
  --cream-soft: rgba(244, 238, 255, 0.6);
  --cream-line: rgba(244, 238, 255, 0.16);
  --rose: #ff8fc7;
  --pink: #ffb4d8;
  --violet: #8d6bff;
  --blue: #7c9bff;
  --butter: #f0d58a;
  --mint: #8de8d0;
}

body {
  color: var(--ink);
  background:
    radial-gradient(ellipse at 50% 8%, rgba(125, 88, 255, 0.17), transparent 32%),
    radial-gradient(ellipse at 85% 28%, rgba(255, 143, 199, 0.08), transparent 26%),
    radial-gradient(ellipse at 12% 74%, rgba(91, 124, 255, 0.1), transparent 28%),
    radial-gradient(1.2px 1.2px at 9% 17%, rgba(255, 255, 255, 0.65), transparent 100%),
    radial-gradient(1px 1px at 24% 8%, rgba(239, 222, 255, 0.58), transparent 100%),
    radial-gradient(1.4px 1.4px at 47% 6%, rgba(255, 255, 255, 0.42), transparent 100%),
    radial-gradient(1px 1px at 71% 13%, rgba(224, 211, 255, 0.56), transparent 100%),
    radial-gradient(1.4px 1.4px at 91% 7%, rgba(255, 255, 255, 0.5), transparent 100%),
    radial-gradient(1px 1px at 84% 32%, rgba(255, 226, 244, 0.35), transparent 100%),
    radial-gradient(1.1px 1.1px at 17% 46%, rgba(255, 255, 255, 0.3), transparent 100%),
    radial-gradient(1px 1px at 63% 39%, rgba(208, 191, 255, 0.36), transparent 100%),
    radial-gradient(1.4px 1.4px at 39% 68%, rgba(255, 255, 255, 0.28), transparent 100%),
    radial-gradient(1px 1px at 76% 78%, rgba(255, 224, 242, 0.26), transparent 100%),
    #080611;
  background-attachment: fixed;
}

.grain {
  mix-blend-mode: soft-light;
  opacity: 0.28;
}

.view--setup,
.view--quiz,
.view--result {
  background: transparent;
}

.view--analysis {
  background:
    radial-gradient(circle at 50% 46%, rgba(141, 107, 255, 0.17), transparent 25%),
    radial-gradient(circle at 78% 16%, rgba(255, 143, 199, 0.1), transparent 31%),
    #070511;
}

.site-head,
.flow-head {
  border-color: var(--line-soft);
}

.site-head {
  background: rgba(8, 6, 19, 0.55);
}

.flow-head {
  background: transparent;
}

.brand,
.brand--small {
  color: var(--ink);
}

.brand-signal {
  border-color: var(--line);
  color: var(--star-lav, #c9b8ff);
}

.brand-copy small {
  color: var(--muted-2);
}

.nav-link {
  color: var(--ink-2);
}

.nav-link:hover {
  color: var(--star-pink, #ff8fc7);
}

.nav-link sup {
  color: var(--star-pink, #ff8fc7);
}

.flow-brand {
  color: var(--ink);
}

.flow-brand small,
.flow-step {
  color: var(--muted-2);
}

.round-back,
.quiz-close,
.modal-close {
  border-color: var(--line);
  color: var(--muted);
}

.round-back:hover,
.quiz-close:hover,
.modal-close:hover {
  background: var(--violet);
  border-color: var(--violet);
  color: #fff;
}

.btn-main {
  background: linear-gradient(135deg, #f7f1ff, #c8b6ff);
  color: #120b26;
  box-shadow: 0 20px 44px -25px rgba(141, 107, 255, 0.65);
}

.btn-main:hover {
  background: linear-gradient(135deg, #fffaff, #d8caff);
}

.btn-symbol {
  background: #17102f;
  color: #fff;
}

.btn-main:hover .btn-symbol {
  background: var(--violet);
}

.btn-quiet {
  color: var(--muted);
  border-color: var(--line);
}

.btn-quiet:hover {
  color: var(--ink);
  border-color: var(--ink);
}

.btn-outline {
  border-color: var(--line);
  color: var(--ink);
}

.btn-outline:hover {
  background: rgba(202, 188, 255, 0.08);
  border-color: var(--violet);
}

.text-link {
  color: var(--ink-2);
}

.setup-copy h2 {
  color: var(--ink);
}

.setup-copy h2 em {
  background: linear-gradient(100deg, var(--star-lav, #c9b8ff), var(--star-pink, #ff8fc7));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.setup-lede,
.setup-signal,
.privacy-note,
.field-label span {
  color: var(--muted);
}

.setup-signal-line {
  background: var(--line);
}

.setup-form {
  border-color: var(--line);
  background:
    radial-gradient(circle at 90% 0%, rgba(141, 107, 255, 0.12), transparent 38%),
    linear-gradient(150deg, rgba(28, 19, 61, 0.82), rgba(11, 8, 26, 0.9));
  box-shadow: 0 36px 90px -48px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.field-label {
  color: var(--ink-2);
}

.name-input {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

.name-input::placeholder {
  color: rgba(244, 238, 255, 0.18);
}

.name-input:focus,
.name-input:focus-visible {
  border-color: var(--star-pink, #ff8fc7);
}

.stage-chip {
  border-color: var(--line);
  color: var(--muted);
}

.stage-chip:hover {
  border-color: var(--violet);
  color: var(--ink);
}

.stage-chip.is-active {
  border-color: var(--violet);
  background: linear-gradient(135deg, var(--violet), #5a38e8);
  color: #fff;
}

.setup-watermark {
  -webkit-text-stroke: 1px rgba(202, 188, 255, 0.08);
}

.quiz-head {
  border-color: var(--line-soft);
  background: rgba(8, 6, 19, 0.7);
}

#quiz-count,
.quiz-rail .rail-en,
.rail-note,
.question-index,
.question-hint,
.quiz-tip,
.back-btn,
.quiz-side-note {
  color: var(--muted-2);
}

.segment {
  background: var(--line);
}

.segment.is-current {
  background: var(--star-lav, #c9b8ff);
}

.rail-part {
  color: var(--star-pink, #ff8fc7);
}

.rail-number {
  color: var(--ink);
}

.part-pill {
  border-color: rgba(141, 107, 255, 0.35);
  background: rgba(141, 107, 255, 0.1);
  color: var(--star-lav, #c9b8ff);
}

.question-title {
  color: var(--ink);
}

.option {
  border-color: var(--line);
  background: rgba(22, 15, 45, 0.68);
  color: var(--ink);
}

.option:hover {
  border-color: rgba(202, 188, 255, 0.38);
  background: rgba(40, 28, 76, 0.86);
  box-shadow: 0 16px 30px -27px rgba(0, 0, 0, 0.85);
}

.option-text {
  color: var(--ink-2);
}

.option:hover .option-text,
.option.is-selected .option-text {
  color: #fff;
}

.option-num {
  color: var(--muted-2);
}

.option.is-selected {
  border-color: var(--violet);
  background: linear-gradient(135deg, #271949, #1a1034);
  box-shadow: 0 0 0 1px rgba(141, 107, 255, 0.35), 0 20px 38px -27px #000;
}

.option.is-selected .option-num {
  color: var(--star-pink, #ff8fc7);
}

.quiz-foot {
  border-color: var(--line-soft);
}

.key-hint kbd {
  border-color: var(--line);
  color: var(--muted-2);
}

.view--analysis .analysis-head,
.view--analysis .analysis-foot {
  color: rgba(244, 238, 255, 0.36);
}

.analysis-score strong {
  background: linear-gradient(105deg, #e8ddff, #bda6ff 48%, #ff9cca);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.analysis-score strong small {
  -webkit-text-fill-color: var(--star-pink, #ff8fc7);
  color: var(--star-pink, #ff8fc7);
}

.result-hero {
  background:
    radial-gradient(circle at 78% 23%, var(--level-glow, rgba(141, 107, 255, 0.22)), transparent 27%),
    radial-gradient(circle at 17% 82%, rgba(91, 124, 255, 0.12), transparent 30%),
    #070511;
}

.result-body {
  position: relative;
  z-index: 1;
}

.section-head {
  border-color: var(--line);
}

.section-no {
  color: var(--star-pink, #ff8fc7);
}

.section-title {
  color: var(--ink);
}

.section-en {
  color: var(--muted-2);
}

.evidence-row {
  border-color: var(--line-soft);
}

.evidence-name,
.evidence-value {
  color: var(--ink);
}

.evidence-en {
  color: var(--muted-2);
}

.evidence-track {
  background: var(--line-soft);
}

.evidence-note {
  border-color: var(--line);
  background: rgba(22, 15, 45, 0.68);
}

.evidence-note--strong {
  border-color: rgba(141, 107, 255, 0.34);
  background:
    radial-gradient(circle at 100% 0%, rgba(141, 107, 255, 0.2), transparent 40%),
    linear-gradient(145deg, #211441, #100b22);
  color: var(--ink);
}

.note-title {
  color: var(--ink);
}

.evidence-note--strong .note-title {
  color: var(--ink);
}

.note-text {
  color: var(--muted);
}

.evidence-note--strong .note-text {
  color: var(--cream-soft);
}

.evidence-note--strong .note-label {
  color: var(--star-gold, #f0d58a);
}

.persona-feature {
  background:
    radial-gradient(circle at 90% 0%, color-mix(in srgb, var(--persona-color) 22%, transparent), transparent 38%),
    linear-gradient(150deg, #18102f, #0d0920);
}

.persona-feature h3,
.persona-feature .tagline {
  color: var(--ink);
}

.persona-feature .desc {
  color: rgba(244, 238, 255, 0.55);
}

.persona-mini {
  border-color: var(--line);
  background: rgba(22, 15, 45, 0.68);
}

.persona-mini h4 {
  color: var(--ink);
}

.persona-mini p {
  color: var(--muted);
}

.next-card {
  border-color: var(--line);
  background: rgba(22, 15, 45, 0.68);
}

.next-card h4 {
  color: var(--ink);
}

.next-card p {
  color: var(--muted);
}

.next-card::after {
  border-color: var(--line);
}

.next-line {
  color: var(--ink-2);
}

.share-cta {
  background:
    radial-gradient(circle at 82% 12%, rgba(240, 213, 138, 0.24), transparent 25%),
    linear-gradient(120deg, #6d4bff, #9e6bff 48%, #ff8fc7);
}

.share-cta .btn-main {
  background: #fff;
  color: #120b26;
}

.share-cta .btn-main:hover {
  background: #140d2a;
  color: #fff;
}

.share-cta .btn-symbol {
  background: #17102f;
  color: #fff;
}

.result-disclaimer {
  color: var(--muted-2);
}

.result-footer {
  border-color: var(--line-soft);
}

.result-footer-mark {
  color: var(--muted-2);
}

.modal-panel {
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 90% 0%, rgba(141, 107, 255, 0.1), transparent 36%),
    linear-gradient(155deg, #14102b, #080611);
  color: var(--ink);
}

.modal-head h2 {
  color: var(--ink);
}

.modal-sub {
  color: var(--muted);
}

.index-card {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.035);
}

.index-card:hover {
  background: rgba(202, 188, 255, 0.07);
}

.index-card h3 {
  color: var(--ink);
}

.index-en,
.index-tags {
  color: var(--muted-2);
}

.index-footer {
  border-color: var(--line);
  color: var(--muted);
}

.share-frame {
  border-color: var(--line);
  background: #120c26;
}

.share-note {
  color: var(--muted);
}

.share-caption,
.share-tags {
  color: var(--muted-2);
}

.share-actions .btn-main {
  background: linear-gradient(135deg, #f7f1ff, #c8b6ff);
  color: #120b26;
}

.share-actions .btn-main .btn-symbol {
  background: #17102f;
  color: #fff;
}

.toast {
  border-color: var(--line);
  background: #1a1235;
  color: var(--ink);
}

@media (max-width: 700px) {
  .view--analysis {
    background:
      radial-gradient(circle at 50% 46%, rgba(141, 107, 255, 0.17), transparent 25%),
      radial-gradient(circle at 78% 16%, rgba(255, 143, 199, 0.08), transparent 31%),
      #070511;
  }

  .title-line::before {
    -webkit-text-stroke-color: rgba(201, 184, 255, 0.1);
  }
}

/* =========================================================
   星夜紫 · 两行标题重排
   ========================================================= */

.landing-title {
  font-size: clamp(40px, 6.9vw, 102px);
  line-height: 1.04;
  letter-spacing: -0.075em;
}

.title-line::before {
  display: none;
}

.title-line--two {
  position: relative;
}

.title-soft {
  display: inline-block;
  margin-right: 0.02em;
  color: #d5c8f2;
  font-size: 1em;
  font-weight: 300;
  letter-spacing: 0;
  line-height: 1;
  vertical-align: 0;
}

.landing-title .highlight {
  padding: 0;
  font-weight: 900;
}

.title-spark {
  top: -0.1em;
  right: -0.3em;
  font-size: 0.22em;
}

.landing-subline {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 9px;
  margin: 4px auto 14px;
  color: var(--star-muted);
  font-family: var(--serif);
  font-size: 12.5px;
  letter-spacing: 0.03em;
  line-height: 1.6;
}

.landing-subline span {
  color: rgba(201, 184, 255, 0.48);
  font-family: var(--mono);
  font-size: 6.2px;
  letter-spacing: 0.15em;
}

.landing-subline em {
  color: rgba(244, 238, 255, 0.62);
  font-style: normal;
}

@media (max-width: 920px) {
  .landing-title {
    font-size: clamp(44px, 7.2vw, 68px);
  }
}

@media (max-width: 700px) {
  .landing-title {
    font-size: clamp(38px, 10.7vw, 50px);
    line-height: 1.07;
  }

  .landing-subline {
    max-width: 330px;
    margin-top: 3px;
    margin-bottom: 11px;
    font-size: 11px;
    gap: 7px;
  }

  .landing-subline span {
    font-size: 5.5px;
  }
}

@media (max-width: 380px) {
  .landing-title {
    font-size: 37px;
  }

  .landing-subline {
    max-width: 300px;
    font-size: 10.5px;
  }
}

/* =========================================================
   星夜紫 · 访问密码门禁
   ========================================================= */

body.gate-locked {
  overflow: hidden;
}

#app {
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

body.gate-locked #app {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.995);
}

.gate {
  position: fixed;
  inset: 0;
  z-index: 10001;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 22px;
  background:
    radial-gradient(ellipse at 50% 34%, rgba(141, 107, 255, 0.24), transparent 32%),
    radial-gradient(ellipse at 82% 10%, rgba(255, 143, 199, 0.13), transparent 27%),
    radial-gradient(ellipse at 12% 82%, rgba(91, 124, 255, 0.12), transparent 29%),
    linear-gradient(160deg, #070511, #0d0920 58%, #080512);
  color: var(--ink);
  transition: opacity 0.65s var(--ease), visibility 0.65s ease;
}

.gate::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.7;
  background-image:
    radial-gradient(1.2px 1.2px at 8% 18%, rgba(255, 255, 255, 0.65), transparent 100%),
    radial-gradient(1px 1px at 24% 9%, rgba(239, 222, 255, 0.55), transparent 100%),
    radial-gradient(1.4px 1.4px at 51% 6%, rgba(255, 255, 255, 0.42), transparent 100%),
    radial-gradient(1px 1px at 74% 17%, rgba(226, 211, 255, 0.56), transparent 100%),
    radial-gradient(1.2px 1.2px at 91% 8%, rgba(255, 255, 255, 0.5), transparent 100%),
    radial-gradient(1px 1px at 84% 42%, rgba(255, 226, 244, 0.32), transparent 100%),
    radial-gradient(1.1px 1.1px at 14% 58%, rgba(255, 255, 255, 0.32), transparent 100%),
    radial-gradient(1px 1px at 64% 72%, rgba(208, 191, 255, 0.35), transparent 100%);
}

.gate.is-unlocked {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.gate-stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.gate-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(201, 184, 255, 0.11);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.gate-orbit--one {
  width: min(84vw, 850px);
  aspect-ratio: 1;
}

.gate-orbit--two {
  width: min(56vw, 570px);
  aspect-ratio: 1;
  border-style: dashed;
  border-color: rgba(255, 143, 199, 0.13);
  animation: orbitSpin 70s linear infinite;
}

.gate-star {
  position: absolute;
  color: var(--star-lav, #c9b8ff);
  font-family: var(--serif);
  text-shadow: 0 0 18px rgba(201, 184, 255, 0.7);
  animation: twinkle 5s ease-in-out infinite;
}

.gate-star--one { top: 20%; left: 18%; font-size: 17px; color: var(--star-pink, #ff8fc7); }
.gate-star--two { top: 29%; right: 17%; font-size: 11px; animation-delay: -1.6s; }
.gate-star--three { bottom: 23%; right: 25%; font-size: 9px; color: var(--star-gold, #f0d58a); animation-delay: -3s; }

.gate-card {
  position: relative;
  z-index: 2;
  width: min(430px, 100%);
  padding: 31px 30px 23px;
  border: 1px solid rgba(202, 188, 255, 0.18);
  border-radius: 25px;
  background:
    radial-gradient(circle at 88% 0%, rgba(141, 107, 255, 0.16), transparent 38%),
    linear-gradient(155deg, rgba(29, 20, 61, 0.88), rgba(10, 7, 24, 0.93));
  box-shadow: 0 40px 100px -35px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(24px);
  text-align: center;
  animation: gateIn 0.9s var(--ease) 0.12s both;
}

@keyframes gateIn {
  from { opacity: 0; transform: translateY(18px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.gate-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}

.gate-mark {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: var(--star-lav, #c9b8ff);
}

.gate-mark svg {
  width: 100%;
  height: 100%;
}

.gate-brand-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
}

.gate-brand-copy strong {
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.3;
}

.gate-brand-copy small {
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 5.5px;
  letter-spacing: 0.14em;
}

.gate-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 25px;
  color: rgba(201, 184, 255, 0.46);
  font-family: var(--mono);
  font-size: 6px;
  letter-spacing: 0.14em;
}

.gate-kicker span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--star-pink, #ff8fc7);
  box-shadow: 0 0 10px var(--star-pink, #ff8fc7);
}

.gate-title {
  margin: 12px 0 8px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(30px, 3.4vw, 39px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.35;
}

.gate-title em {
  background: linear-gradient(100deg, var(--star-lav, #c9b8ff), var(--star-pink, #ff8fc7));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.gate-sub {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.8;
}

.gate-form {
  margin-top: 22px;
  text-align: left;
}

.gate-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: rgba(201, 184, 255, 0.46);
  font-family: var(--mono);
  font-size: 6px;
  letter-spacing: 0.11em;
}

.gate-field {
  position: relative;
  margin-top: 8px;
}

.gate-input {
  width: 100%;
  height: 62px;
  padding: 0 62px 0 0.52em;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 27px;
  font-weight: 600;
  letter-spacing: 0.52em;
  line-height: 1;
  text-align: center;
  outline: none;
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.gate-input::placeholder {
  color: rgba(244, 238, 255, 0.2);
  letter-spacing: 0.46em;
}

.gate-input:focus,
.gate-input:focus-visible {
  border-color: var(--star-lav, #c9b8ff);
  background: rgba(141, 107, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(141, 107, 255, 0.09);
  outline: none;
}

.gate-submit {
  position: absolute;
  top: 7px;
  right: 7px;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 11px;
  background: linear-gradient(135deg, #f7f1ff, #c8b6ff);
  color: #120b26;
  font-family: var(--mono);
  font-size: 18px;
  transition: transform 0.3s var(--ease), background 0.25s ease;
}

.gate-submit:hover {
  background: linear-gradient(135deg, #fff, #d8caff);
  transform: translateX(2px);
}

.gate-submit:disabled {
  opacity: 0.5;
  cursor: wait;
}

.gate-error {
  min-height: 18px;
  margin-top: 7px;
  padding-left: 3px;
  color: var(--star-pink, #ff8fc7);
  font-size: 9px;
  letter-spacing: 0.02em;
  line-height: 1.5;
}

.gate.is-error .gate-form {
  animation: gateShake 0.4s ease;
}

.gate.is-error .gate-input {
  border-color: rgba(255, 143, 199, 0.7);
}

@keyframes gateShake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-7px); }
  40% { transform: translateX(6px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(2px); }
}

.gate-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 13px;
  padding-top: 12px;
  border-top: 1px solid var(--line-soft);
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 5.5px;
  letter-spacing: 0.1em;
}

.landing-title:focus {
  outline: none;
}

@media (max-width: 700px) {
  .gate {
    padding: 15px;
  }

  .gate-card {
    padding: 25px 20px 18px;
    border-radius: 21px;
  }

  .gate-kicker {
    margin-top: 21px;
  }

  .gate-title {
    font-size: 30px;
  }

  .gate-input {
    height: 58px;
    font-size: 25px;
  }

  .gate-submit {
    top: 6px;
    right: 6px;
    width: 46px;
    height: 46px;
  }

  .gate-orbit--one {
    width: 150vw;
  }

  .gate-orbit--two {
    width: 100vw;
  }
}

.gate-hint {
  margin-top: 4px;
  color: rgba(201, 184, 255, 0.56);
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: 0.02em;
  line-height: 1.6;
  text-align: center;
}

.btn-main.is-calling {
  animation: ctaCall 1.45s ease-in-out 2;
}

@keyframes ctaCall {
  0%, 100% {
    box-shadow: 0 20px 46px -24px rgba(158, 122, 255, 0.8);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(141, 107, 255, 0.13), 0 0 44px rgba(141, 107, 255, 0.42);
  }
}

/* =========================================================
   手机舒适度 · 比例与触控优化
   ========================================================= */

@media (max-width: 700px) {
  .site-head,
  .flow-head,
  .quiz-head,
  .result-head {
    padding-top: calc(15px + env(safe-area-inset-top));
    padding-right: 18px;
    padding-left: 18px;
  }

  .landing-hero {
    padding: 24px 18px calc(24px + env(safe-area-inset-bottom));
  }

  .landing-lede {
    font-size: 12.5px;
    line-height: 1.85;
  }

  .landing-subline {
    font-size: 11.5px;
  }

  .landing-facts b {
    font-size: 17px;
  }

  .landing-facts small {
    font-size: 7.5px;
  }

  .landing-note {
    font-size: 7px;
    line-height: 1.7;
  }

  .landing-actions .btn-main {
    min-height: 60px;
  }

  .landing-actions .btn-quiet {
    min-height: 44px;
  }

  .console-head {
    padding: 8px 11px;
    font-size: 5px;
  }

  .console-orb strong {
    font-size: 30px;
  }

  .console-persona b {
    font-size: 26px;
  }

  .setup-main {
    gap: 24px;
    padding: 26px 18px calc(34px + env(safe-area-inset-bottom));
  }

  .setup-copy h2 {
    font-size: clamp(36px, 9.5vw, 42px);
  }

  .setup-lede {
    font-size: 13px;
    line-height: 1.9;
  }

  .setup-form {
    padding: 22px 18px 24px;
  }

  .field-label {
    font-size: 10px;
  }

  .name-input {
    font-size: 44px;
  }

  .stage-field {
    margin-top: 22px;
  }

  .stage-list {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 8px;
    margin-top: 10px;
  }

  .stage-chip {
    display: flex;
    grid-column: span 2;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 9px 8px;
    font-size: 11px;
    text-align: center;
  }

  .stage-chip:nth-child(4),
  .stage-chip:nth-child(5) {
    grid-column: span 3;
  }

  .setup-form .btn-main {
    min-height: 58px;
    margin-top: 22px;
  }

  .btn-quiet--center {
    min-height: 42px;
    font-size: 11px;
  }

  .quiz-head {
    gap: 10px;
    padding-bottom: 10px;
  }

  .quiz-progress {
    gap: 8px;
  }

  #quiz-count {
    font-size: 8px;
  }

  .round-back,
  .quiz-close {
    width: 40px;
    height: 40px;
    font-size: 17px;
  }

  .quiz-main {
    padding: 16px 18px calc(24px + env(safe-area-inset-bottom));
  }

  .quiz-grid {
    gap: 12px;
  }

  .quiz-rail {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    gap: 9px;
    min-height: 40px;
  }

  .rail-part {
    font-size: 8px;
    letter-spacing: 0.1em;
  }

  .rail-number {
    margin: 0;
    font-size: 38px;
    line-height: 0.9;
  }

  .rail-en,
  .rail-note,
  .rail-rule {
    display: none;
  }

  .question-meta {
    margin-bottom: 9px;
  }

  .part-pill {
    padding: 5px 8px;
    font-size: 7px;
  }

  .question-index {
    font-size: 7.5px;
  }

  .question-title {
    font-size: clamp(27px, 7.8vw, 34px);
    line-height: 1.32;
  }

  .question-hint {
    margin-top: 7px;
    font-size: 10.5px;
    line-height: 1.6;
  }

  .option-list {
    gap: 9px;
    margin-top: 17px;
  }

  .option {
    min-height: 68px;
    grid-template-columns: 30px 1fr 14px;
    gap: 10px;
    padding: 13px 14px;
    border-radius: 14px;
  }

  .option-text {
    font-size: 15px;
    line-height: 1.55;
  }

  .option-num {
    font-size: 9px;
  }

  .quiz-foot {
    margin-top: 16px;
    padding-top: 12px;
  }

  .back-btn {
    min-height: 40px;
    padding-right: 8px;
    font-size: 10px;
  }

  .result-head {
    padding-bottom: 8px;
  }

  .result-head-actions {
    gap: 10px;
  }

  .result-head .nav-link {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 2px;
  }

  .result-hero {
    padding-top: calc(84px + env(safe-area-inset-top));
    padding-bottom: calc(16px + env(safe-area-inset-bottom));
  }

  .result-sub {
    font-size: 12px;
    line-height: 1.85;
  }

  .hero-share {
    min-height: 42px;
    padding: 9px 14px;
    font-size: 9px;
  }

  .result-body {
    padding: 38px 18px calc(28px + env(safe-area-inset-bottom));
  }

  .result-section {
    margin-bottom: 46px;
  }

  .section-head {
    margin-bottom: 18px;
  }

  .section-title {
    font-size: 26px;
  }

  .evidence-row {
    padding: 14px 0;
  }

  .evidence-name {
    font-size: 13px;
  }

  .evidence-value {
    font-size: 18px;
  }

  .evidence-note {
    padding: 20px 19px;
  }

  .note-text {
    font-size: 12px;
    line-height: 1.8;
  }

  .persona-feature {
    padding: 26px 21px;
  }

  .persona-feature h3 {
    font-size: 44px;
  }

  .persona-feature .tagline {
    font-size: 17px;
  }

  .persona-feature .desc {
    font-size: 11.5px;
  }

  .persona-mini {
    padding: 18px 19px;
  }

  .next-card {
    min-height: 170px;
  }

  .next-card p {
    font-size: 11.5px;
    line-height: 1.8;
  }

  .share-cta {
    padding: 28px 21px;
  }

  .share-cta p {
    font-size: 11.5px;
  }

  .result-disclaimer {
    font-size: 8.5px;
    line-height: 1.8;
  }

  .result-footer {
    padding-bottom: calc(17px + env(safe-area-inset-bottom));
  }

  .modal-panel {
    max-height: calc(100svh - 18px - env(safe-area-inset-bottom));
    padding-bottom: calc(12px + env(safe-area-inset-bottom));
  }

  .modal-close {
    width: 44px;
    height: 44px;
  }

  .share-frame {
    max-width: min(240px, 64vw);
  }

  .share-actions .btn-main,
  .share-actions .btn-outline {
    min-height: 56px;
  }

  .gate {
    padding: calc(14px + env(safe-area-inset-top)) 14px calc(14px + env(safe-area-inset-bottom));
  }

  .gate-hint {
    font-size: 8px;
  }

  .gate-input {
    height: 60px;
    font-size: 26px;
  }

  .gate-submit {
    width: 48px;
    height: 48px;
  }
}

@media (max-width: 360px) {
  .landing-title {
    font-size: 36px;
  }

  .landing-lede {
    font-size: 12px;
  }

  .setup-copy h2 {
    font-size: 35px;
  }

  .name-input {
    font-size: 40px;
  }

  .stage-chip {
    padding: 8px 11px;
    font-size: 10.5px;
  }

  .question-title {
    font-size: 26px;
  }

  .option {
    min-height: 64px;
    padding: 12px 13px;
  }

  .option-text {
    font-size: 14px;
  }

  .score-num {
    font-size: 112px;
  }

  .result-verdict {
    font-size: 31px;
  }

  .hero-share {
    font-size: 8.5px;
  }
}
