:root {
  --bg-1: #fffaf7;
  --bg-2: #ffeef4;
  --bg-3: #f7d8e8;
  --surface: rgba(255, 252, 250, 0.8);
  --surface-strong: rgba(255, 248, 251, 0.94);
  --surface-soft: rgba(255, 255, 255, 0.58);
  --line: rgba(255, 66, 152, 0.16);
  --line-strong: rgba(255, 66, 152, 0.24);
  --text: #181113;
  --muted: #7e6870;
  --muted-2: #b08b97;
  --pink: #ff5bac;
  --pink-strong: #ff2f97;
  --pink-soft: #ffb7d7;
  --pink-glow: rgba(255, 71, 158, 0.22);
  --peach-glow: rgba(253, 215, 202, 0.34);
  --leaf-glow: rgba(190, 212, 188, 0.24);
  --shadow: 0 24px 60px rgba(221, 150, 181, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", sans-serif;
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 164, 207, 0.26), transparent 24%),
    radial-gradient(circle at 82% 20%, var(--leaf-glow), transparent 18%),
    radial-gradient(circle at 78% 64%, var(--peach-glow), transparent 24%),
    radial-gradient(circle at 88% 14%, rgba(255, 183, 215, 0.32), transparent 18%),
    linear-gradient(160deg, var(--bg-1) 0%, #fff5f5 34%, #ffeef6 68%, #fff9f6 100%);
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}

body::before {
  z-index: 0;
  opacity: 0.55;
  background-image:
    radial-gradient(ellipse 36px 20px at 50% 16%, rgba(255, 182, 216, 0.16) 0 58%, transparent 60%),
    radial-gradient(ellipse 34px 20px at 82% 36%, rgba(255, 158, 205, 0.12) 0 58%, transparent 60%),
    radial-gradient(ellipse 36px 20px at 78% 74%, rgba(255, 193, 221, 0.14) 0 58%, transparent 60%),
    radial-gradient(ellipse 34px 20px at 50% 88%, rgba(255, 171, 208, 0.12) 0 58%, transparent 60%),
    radial-gradient(ellipse 36px 20px at 20% 74%, rgba(255, 200, 226, 0.14) 0 58%, transparent 60%),
    radial-gradient(ellipse 34px 20px at 18% 36%, rgba(255, 169, 209, 0.12) 0 58%, transparent 60%),
    radial-gradient(circle at 50% 50%, rgba(255, 119, 184, 0.11) 0 10px, transparent 12px),
    radial-gradient(ellipse 26px 14px at 50% 18%, rgba(201, 222, 194, 0.08) 0 56%, transparent 58%),
    radial-gradient(ellipse 22px 12px at 32% 88%, rgba(194, 218, 190, 0.07) 0 56%, transparent 58%);
  background-size: 240px 240px, 240px 240px, 240px 240px, 240px 240px, 240px 240px, 240px 240px, 240px 240px,
    320px 320px, 320px 320px;
  background-position:
    0 0,
    0 0,
    0 0,
    0 0,
    0 0,
    0 0,
    0 0,
    36px 28px,
    180px 160px;
}

body::after {
  z-index: 0;
  opacity: 0.52;
  background:
    radial-gradient(ellipse 120px 66px at 15% 22%, rgba(255, 199, 223, 0.2) 0 54%, transparent 56%),
    radial-gradient(ellipse 108px 62px at 22% 16%, rgba(255, 171, 208, 0.16) 0 54%, transparent 56%),
    radial-gradient(ellipse 120px 66px at 76% 18%, rgba(255, 190, 219, 0.18) 0 54%, transparent 56%),
    radial-gradient(ellipse 108px 62px at 84% 24%, rgba(255, 164, 205, 0.14) 0 54%, transparent 56%),
    radial-gradient(ellipse 132px 72px at 86% 74%, rgba(255, 206, 227, 0.2) 0 54%, transparent 56%),
    radial-gradient(ellipse 112px 62px at 79% 82%, rgba(255, 177, 211, 0.14) 0 54%, transparent 56%),
    radial-gradient(ellipse 126px 68px at 12% 82%, rgba(255, 206, 227, 0.16) 0 54%, transparent 56%),
    radial-gradient(ellipse 112px 62px at 20% 90%, rgba(255, 177, 211, 0.12) 0 54%, transparent 56%);
  filter: blur(8px);
}

.whisper-universe-bar {
  position: fixed;
  top: 14px;
  left: 50%;
  z-index: 12;
  padding: 10px 18px;
  border-radius: 999px;
  color: var(--pink-strong);
  background: rgba(255, 252, 253, 0.72);
  border: 1px solid rgba(255, 120, 180, 0.18);
  box-shadow: 0 14px 32px rgba(235, 110, 166, 0.16);
  backdrop-filter: blur(18px);
  transform: translate(-50%, -16px);
  opacity: 0;
  pointer-events: none;
  transition:
    transform 220ms ease,
    opacity 220ms ease;
}

.whisper-universe-bar span {
  display: block;
  white-space: nowrap;
  font-size: 0.88rem;
  letter-spacing: 0.08em;
}

body.whisper-bar-visible .whisper-universe-bar {
  opacity: 1;
  transform: translate(-50%, 0);
}

.heart-sprinkles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.noise-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.12;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.55) 0 1px, transparent 1.5px),
    radial-gradient(circle at 80% 40%, rgba(255, 111, 182, 0.18) 0 1px, transparent 1.5px),
    radial-gradient(circle at 50% 80%, rgba(205, 221, 205, 0.16) 0 1px, transparent 1.5px);
  background-size: 260px 260px, 320px 320px, 400px 400px;
}

.particle-field {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.cursor-hearts {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 3;
}

.particle {
  position: absolute;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 0 18px rgba(255, 132, 191, 0.16);
  animation: drift var(--duration) ease-in-out infinite;
  opacity: 0.16;
}

.sprinkle-heart,
.sprinkle-heart::before,
.sprinkle-heart::after,
.core-hearts span,
.core-hearts span::before,
.core-hearts span::after {
  position: absolute;
  width: 16px;
  height: 16px;
  transform: rotate(-45deg);
  border-radius: 4px;
  background: linear-gradient(180deg, #ff9bc7 0%, #ff68a6 100%);
}

.sprinkle-heart::before,
.sprinkle-heart::after,
.core-hearts span::before,
.core-hearts span::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: inherit;
  border-radius: 50%;
}

.sprinkle-heart::before,
.core-hearts span::before {
  top: -50%;
  left: 0;
}

.sprinkle-heart::after,
.core-hearts span::after {
  top: 0;
  left: 50%;
}

.sprinkle-heart {
  opacity: 0.32;
  animation: bobHeart var(--heart-duration) ease-in-out infinite;
}

.heart-1 {
  top: 7%;
  left: 8%;
  --heart-duration: 7s;
}

.heart-2 {
  top: 12%;
  right: 16%;
  width: 20px;
  height: 20px;
  --heart-duration: 6.4s;
}

.heart-3 {
  top: 34%;
  left: 4%;
  width: 12px;
  height: 12px;
  --heart-duration: 8.2s;
}

.heart-4 {
  top: 54%;
  right: 7%;
  width: 14px;
  height: 14px;
  --heart-duration: 7.6s;
}

.heart-5 {
  top: 76%;
  left: 10%;
  width: 18px;
  height: 18px;
  --heart-duration: 6.8s;
}

.heart-6 {
  top: 86%;
  right: 20%;
  width: 12px;
  height: 12px;
  --heart-duration: 8.8s;
}

.heart-7 {
  top: 20%;
  left: 62%;
  width: 10px;
  height: 10px;
  --heart-duration: 7.1s;
}

.heart-8 {
  top: 68%;
  left: 76%;
  width: 16px;
  height: 16px;
  --heart-duration: 6.9s;
}

.page-shell {
  position: relative;
  z-index: 2;
  width: min(1260px, calc(100% - 36px));
  margin: 0 auto;
  padding: 34px 0 72px;
}

.page-shell::before,
.page-shell::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: -1;
}

.page-shell::before {
  top: 220px;
  left: -84px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  opacity: 0.38;
  background:
    radial-gradient(ellipse 62px 34px at 50% 14%, rgba(255, 171, 210, 0.28) 0 56%, transparent 58%),
    radial-gradient(ellipse 62px 34px at 85% 36%, rgba(255, 151, 201, 0.22) 0 56%, transparent 58%),
    radial-gradient(ellipse 62px 34px at 78% 76%, rgba(255, 185, 219, 0.22) 0 56%, transparent 58%),
    radial-gradient(ellipse 62px 34px at 50% 88%, rgba(255, 171, 210, 0.2) 0 56%, transparent 58%),
    radial-gradient(ellipse 62px 34px at 20% 74%, rgba(255, 198, 225, 0.22) 0 56%, transparent 58%),
    radial-gradient(ellipse 62px 34px at 15% 36%, rgba(255, 151, 201, 0.18) 0 56%, transparent 58%),
    radial-gradient(circle at 50% 50%, rgba(255, 122, 183, 0.18) 0 18px, transparent 20px);
  filter: blur(2px);
}

.page-shell::after {
  right: -54px;
  bottom: 160px;
  width: 180px;
  height: 260px;
  opacity: 0.3;
  background:
    radial-gradient(ellipse 28px 84px at 42% 48%, rgba(196, 219, 190, 0.28) 0 58%, transparent 60%),
    radial-gradient(ellipse 24px 72px at 70% 52%, rgba(182, 210, 180, 0.18) 0 58%, transparent 60%);
  transform: rotate(24deg);
  filter: blur(2px);
}

.hero {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr) 260px;
  gap: 28px;
  align-items: start;
  min-height: 90vh;
}

.hero-brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 24px;
}

.brand-mark,
.section-kicker,
.timeline-label,
.memory-label,
.next-step-label,
.orb-tag {
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--muted-2);
}

.hero-entry,
.lite-button,
.ghost-button,
.role-chip,
.signal-button {
  font: inherit;
  cursor: pointer;
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.hero-entry,
.ghost-button,
.lite-button {
  padding: 12px 16px;
  border-radius: 999px;
  color: var(--pink-strong);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

#jump-to-demo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 108px;
  position: relative;
  isolation: isolate;
  color: rgba(255, 47, 151, 0.7);
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(255, 246, 250, 0.28);
  font-weight: 600;
  animation: ctaHeartBeat 1.9s infinite cubic-bezier(0.22, 0.9, 0.34, 1);
  transform-origin: center;
  box-shadow:
    0 10px 24px rgba(236, 79, 149, 0.14),
    0 0 0 rgba(255, 47, 151, 0);
}

#jump-to-demo::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255, 47, 151, 0.34), rgba(255, 198, 223, 0.16) 52%, rgba(255, 247, 251, 0.04) 100%);
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask-composite: exclude;
  filter: blur(0.45px);
  opacity: 0.92;
  pointer-events: none;
  z-index: -1;
}

.hero-entry:hover,
.ghost-button:hover,
.lite-button:hover,
.role-chip:hover,
.signal-button:hover {
  transform: translateY(-2px);
}

.hero-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 90vh;
  padding-top: 24px;
  position: relative;
}

.hero-sticker {
  position: absolute;
  top: -8px;
  right: 16%;
  padding: 10px 14px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 229, 240, 0.96));
  color: var(--pink-strong);
  border: 1px solid rgba(236, 79, 149, 0.18);
  box-shadow: 0 14px 26px rgba(236, 79, 149, 0.14);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: lowercase;
  transform: rotate(-10deg);
}

.role-switch {
  display: inline-flex;
  gap: 8px;
  padding: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  border: 1px solid var(--line);
  backdrop-filter: blur(14px);
  order: 0;
}

.role-chip {
  min-width: 92px;
  padding: 12px 22px;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  border: 1px solid transparent;
}

.role-chip.active {
  color: white;
  background: linear-gradient(180deg, rgba(255, 122, 175, 0.88), rgba(236, 79, 149, 0.78));
  border-color: rgba(255, 184, 219, 0.38);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 10px 24px rgba(236, 79, 149, 0.18);
}

.hero-center h1,
.question-stage h2,
.result-card h3,
.coupon-head h2,
.answer-card h3 {
  font-family: "Songti SC", "STSong", "Noto Serif SC", serif;
}

.hero-center h1 {
  order: 2;
  margin: 18px 0 0;
  font-size: clamp(1.15rem, 1.7vw, 1.5rem);
  line-height: 1.7;
  font-weight: 500;
  letter-spacing: 0.08em;
  max-width: 22em;
  color: rgba(176, 116, 144, 0.92);
  text-shadow: none;
}

.hero-copy,
.question-stage p,
.result-card p,
.coupon-card p,
.core-copy p,
.field-label,
.profile-label,
.timeline-list li span {
  color: var(--muted);
  line-height: 1.8;
}

.hero-copy {
  order: 3;
  max-width: 32em;
  margin-top: 12px;
  font-size: 1rem;
}

.memory-fragment-field {
  position: absolute;
  inset: 92px 5% 160px;
  pointer-events: none;
  z-index: 0;
}

.memory-fragment {
  position: absolute;
  width: var(--fragment-size);
  height: var(--fragment-size);
  border-radius: 999px;
  background:
    radial-gradient(circle at 32% 30%, rgba(255, 255, 255, 0.96), rgba(255, 215, 232, 0.72) 34%, rgba(255, 106, 177, 0.12) 76%, transparent 100%);
  box-shadow:
    0 0 14px rgba(255, 126, 188, 0.18),
    0 0 28px rgba(255, 172, 212, 0.12);
  opacity: 0.4;
  animation:
    fragmentTwinkle var(--fragment-duration) ease-in-out infinite,
    fragmentFloat calc(var(--fragment-duration) * 1.25) ease-in-out infinite;
  animation-delay: var(--fragment-delay);
}

.memory-fragment.glow-strong {
  opacity: 0.68;
  box-shadow:
    0 0 18px rgba(255, 97, 173, 0.26),
    0 0 34px rgba(255, 170, 210, 0.16);
}

.hero-orb {
  position: relative;
  order: 1;
  margin-top: 28px;
  width: 478px;
  height: 478px;
  display: grid;
  place-items: center;
  --heartbeat-duration: 2.75s;
  --heartbeat-peak: 1.024;
  --heartbeat-echo: 1.014;
  --heartbeat-mid: 1.019;
  --heartbeat-rise: 4px;
  --ring-pulse-opacity: 0.18;
  animation: orbHeartbeat var(--heartbeat-duration) infinite cubic-bezier(0.22, 0.9, 0.34, 1);
  transform-origin: center;
}

.hero-orb::before {
  content: "";
  position: absolute;
  inset: 70px;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 201, 223, 0.34), rgba(255, 173, 211, 0.08) 48%, rgba(255, 173, 211, 0) 74%);
  filter: blur(12px);
  opacity: 0.82;
  animation: orbGlow var(--heartbeat-duration) infinite ease-in-out;
}

.orb-copy-ring {
  position: absolute;
  inset: 0;
  overflow: visible;
}

.orb-copy-ring text {
  fill: rgba(255, 47, 151, 0.7);
  font-size: clamp(1.62rem, 2.7vw, 2.28rem);
  letter-spacing: 0.05em;
  text-anchor: middle;
  text-transform: uppercase;
}

.orb-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px dashed rgba(228, 129, 172, 0.18);
  --ring-rotation: 0deg;
  animation: orbRingPulse calc(var(--heartbeat-duration) * 1.08) infinite ease-out;
}

.orb-ring-a {
  --ring-rotation: 8deg;
}

.orb-ring-b {
  inset: 46px;
  --ring-rotation: -14deg;
  animation-delay: calc(var(--heartbeat-duration) * 0.18);
}

.orb-core {
  position: relative;
  width: 204px;
  height: 204px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: transparent;
}

.planet-halo,
.planet-shell {
  position: absolute;
  border-radius: 50%;
}

.planet-halo {
  inset: 12px;
  background:
    radial-gradient(circle at 34% 28%, rgba(255, 255, 255, 0.86), transparent 20%),
    radial-gradient(circle at 50% 50%, rgba(255, 185, 215, 0.5), rgba(255, 162, 205, 0.18) 54%, rgba(255, 162, 205, 0) 78%);
  filter: blur(12px);
  opacity: 0.9;
}

.planet-shell {
  position: relative;
  width: 166px;
  height: 166px;
  padding: 14px;
  background:
    radial-gradient(circle at 28% 26%, rgba(255, 255, 255, 0.8), transparent 16%),
    radial-gradient(circle at 64% 72%, rgba(255, 195, 220, 0.44), transparent 18%),
    linear-gradient(180deg, rgba(255, 243, 248, 0.96), rgba(255, 217, 234, 0.96));
  border: 1px solid rgba(255, 185, 218, 0.48);
  box-shadow:
    0 0 80px rgba(255, 99, 174, 0.18),
    inset 0 0 18px rgba(255, 255, 255, 0.42);
  backdrop-filter: blur(18px);
}

.planet-illustration {
  width: 100%;
  height: 100%;
}

.planet-surface {
  fill: rgba(255, 224, 236, 0.84);
  stroke: rgba(255, 169, 207, 0.38);
  stroke-width: 1.5;
}

.planet-crater {
  fill: rgba(255, 196, 220, 0.34);
}

.planet-line,
.planet-orbit,
.planet-head {
  fill: none;
  stroke: rgba(173, 105, 138, 0.92);
  stroke-linecap: round;
  stroke-linejoin: round;
}

.planet-line {
  stroke-width: 4;
}

.planet-line.soft {
  opacity: 0.66;
  stroke-width: 3;
}

.planet-head {
  stroke-width: 4;
}

.planet-orbit {
  stroke-width: 3;
  opacity: 0.56;
}

.orb-intro-note {
  order: 1;
  width: min(360px, 86%);
  margin: 0;
  margin-top: 18px;
  padding: 14px 20px;
  border-radius: 999px;
  color: rgba(129, 77, 102, 0.86);
  font-size: 0.92rem;
  line-height: 1.64;
  text-align: center;
  background: rgba(255, 252, 253, 0.62);
  border: 1px solid rgba(255, 190, 218, 0.22);
  box-shadow: 0 14px 28px rgba(233, 133, 177, 0.1);
  backdrop-filter: blur(12px);
}

.orb-score-panel {
  order: 4;
  position: relative;
  margin-top: 6px;
  width: 280px;
  min-height: 232px;
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 14px;
  animation: scoreHeartBeat 2.7s infinite cubic-bezier(0.22, 0.9, 0.34, 1);
  transform-origin: center;
}

.orb-score-heart {
  position: relative;
  width: 162px;
  height: 140px;
  margin-top: 6px;
  display: grid;
  place-items: center;
}

.orb-score-heart-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0.9;
  filter:
    hue-rotate(-18deg)
    saturate(1.42)
    brightness(0.96)
    contrast(1.06)
    drop-shadow(0 10px 18px rgba(232, 63, 145, 0.12));
}

.orb-score-panel::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  width: 166px;
  height: 152px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(255, 181, 211, 0.22), rgba(255, 181, 211, 0) 72%);
  filter: blur(12px);
  opacity: 0.72;
  pointer-events: none;
}

.orb-score-content {
  position: absolute;
  inset: 4px 0 8px;
  z-index: 1;
  display: grid;
  gap: 4px;
  justify-items: center;
  align-content: center;
  text-align: center;
  width: 100%;
  height: 100%;
  padding: 14px 24px 0;
}

.orb-score-content strong {
  display: block;
  font-size: 2.02rem;
  line-height: 1;
  color: rgba(255, 251, 253, 0.98);
  margin-top: 0;
  text-shadow: 0 4px 12px rgba(159, 18, 82, 0.14);
}

.orb-score-content .orb-tag {
  color: rgba(255, 236, 244, 0.9);
  letter-spacing: 0.08em;
  font-size: 0.62rem;
}

.orb-score-copy-outside {
  margin: 0;
  max-width: 14em;
  font-size: 0.9rem;
  line-height: 1.68;
  color: rgba(95, 39, 67, 0.76);
  text-align: center;
}

.hero-side {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-top: 20px;
}

.profile-card,
.timeline-card,
.question-stage,
.interaction-shell,
.result-card,
.coupon-card,
.footer-strip article {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
}

.profile-card,
.timeline-card {
  border-radius: 32px;
  padding: 18px;
}

.profile-bubble {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
}

.profile-bubble + .profile-bubble {
  border-top: 1px solid rgba(205, 90, 144, 0.1);
}

.profile-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 12px var(--pink-glow);
}

.profile-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.05rem;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.daughter .profile-avatar {
  background: linear-gradient(135deg, rgba(255, 70, 155, 0.92), rgba(255, 130, 190, 0.78));
}

.mother .profile-avatar {
  background: linear-gradient(135deg, rgba(255, 196, 220, 0.9), rgba(255, 102, 172, 0.78));
}

.profile-label {
  margin: 0 0 2px;
  font-size: 0.8rem;
  color: var(--muted-2);
}

.timeline-label {
  display: block;
  margin-bottom: 12px;
}

.timeline-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.timeline-list li {
  position: relative;
  padding: 12px 0 12px 18px;
  font-size: 0.92rem;
  color: var(--pink-soft);
  border-left: 1px solid rgba(205, 90, 144, 0.14);
}

.timeline-list li::before {
  content: "";
  position: absolute;
  left: -6px;
  top: 17px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(205, 90, 144, 0.22);
}

.timeline-list li.active::before {
  background: var(--pink-soft);
  box-shadow: 0 0 14px var(--pink-glow);
}

.timeline-list li span {
  display: block;
  font-size: 0.82rem;
}

.storyboard {
  margin-top: 8px;
  padding: 34px;
  border-radius: 38px;
  background:
    radial-gradient(circle at top right, rgba(255, 222, 235, 0.58), transparent 18%),
    radial-gradient(ellipse 72px 34px at 90% 12%, rgba(255, 193, 221, 0.18) 0 58%, transparent 60%),
    radial-gradient(ellipse 66px 30px at 84% 22%, rgba(255, 171, 210, 0.14) 0 58%, transparent 60%),
    radial-gradient(ellipse 60px 28px at 74% 14%, rgba(255, 205, 227, 0.16) 0 58%, transparent 60%),
    var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
}

.storyboard-head,
.storyboard-controls,
.story-dots,
.portrait-stack,
.memory-tags,
.modal-hearts,
.modal-side-stack {
  display: flex;
  align-items: center;
}

.storyboard-head {
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.storyboard-head h2,
.story-slide-copy h3,
.modal-head h2,
.modal-main-card h3 {
  margin: 10px 0 0;
  font-family: "Songti SC", "STSong", "Noto Serif SC", serif;
  font-weight: 500;
}

.storyboard-head h2 {
  font-size: clamp(1.55rem, 2.4vw, 2.2rem);
}

.storyboard-controls {
  gap: 12px;
}

.story-nav,
.story-dot,
.modal-close {
  font: inherit;
  cursor: pointer;
  border: 1px solid rgba(205, 90, 144, 0.14);
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.story-nav {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  color: var(--pink-strong);
  background: rgba(255, 255, 255, 0.58);
  box-shadow: 0 14px 24px rgba(236, 79, 149, 0.08);
}

.story-nav:hover,
.story-dot:hover,
.modal-close:hover {
  transform: translateY(-2px);
}

.story-nav:disabled {
  opacity: 0.45;
  cursor: default;
  transform: none;
}

.story-dots {
  gap: 10px;
}

.story-dot {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  padding: 0;
  background: rgba(255, 160, 206, 0.34);
}

.story-dot.active {
  width: 34px;
  background: linear-gradient(135deg, rgba(255, 76, 160, 0.92), rgba(255, 147, 196, 0.82));
  box-shadow: 0 12px 22px rgba(236, 79, 149, 0.18);
}

.storyboard-frame {
  overflow: hidden;
  border-radius: 32px;
}

.storyboard-track {
  display: flex;
  width: 100%;
  transition: transform 480ms cubic-bezier(0.2, 0.9, 0.28, 1);
  will-change: transform;
}

.story-slide {
  width: 100%;
  flex: 0 0 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.88fr);
  gap: 26px;
  min-height: 520px;
  padding: 16px 2px;
}

.story-slide-copy {
  padding: 18px 10px 10px 4px;
}

.slide-kicker {
  margin: 0 0 16px;
  color: var(--pink-strong);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.story-slide-copy h3 {
  font-size: clamp(1.56rem, 2.7vw, 2.38rem);
  line-height: 1.12;
}

.story-slide-copy h3 span,
.story-slide-copy h3 em {
  display: block;
  font-style: normal;
}

.story-slide-copy h3 em {
  color: #ff8d87;
}

.story-slide-copy > p,
.memory-note p,
.gift-card p,
.modal-answer-card p,
.modal-footer-note p {
  color: var(--muted);
  line-height: 1.86;
}

.story-slide-copy > p {
  max-width: 32rem;
  margin: 16px 0 0;
  font-size: 1rem;
}

.mini-chat {
  display: grid;
  gap: 12px;
  margin-top: 24px;
  max-width: 30rem;
}

.chat-bubble {
  max-width: max-content;
  padding: 14px 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(205, 90, 144, 0.14);
  color: rgba(84, 40, 60, 0.92);
  box-shadow: 0 18px 28px rgba(236, 79, 149, 0.08);
}

.chat-bubble.mother {
  justify-self: end;
  background: linear-gradient(180deg, rgba(255, 236, 244, 0.94), rgba(255, 248, 250, 0.92));
}

.story-slide-visual {
  position: relative;
  display: grid;
  align-items: center;
}

.portrait-stack {
  position: absolute;
  top: 12px;
  left: 12px;
  gap: 14px;
  z-index: 2;
}

.portrait-card,
.memory-board,
.gift-card,
.modal-main-card,
.modal-answer-card,
.modal-footer-note {
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(205, 90, 144, 0.12);
  box-shadow: 0 20px 42px rgba(232, 123, 170, 0.12);
  backdrop-filter: blur(18px);
}

.portrait-card {
  min-width: 150px;
  padding: 14px;
  border-radius: 26px;
}

.portrait-card strong,
.memory-note h4,
.gift-card strong {
  display: block;
  margin-top: 10px;
  font-size: 0.92rem;
}

.portrait-card span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.84rem;
}

.portrait-avatar {
  position: relative;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(255, 244, 248, 0.98), rgba(255, 219, 233, 0.92));
  overflow: hidden;
}

.portrait-avatar .avatar-face,
.portrait-avatar .avatar-hair {
  position: absolute;
  display: block;
}

.avatar-face {
  left: 18px;
  top: 16px;
  width: 34px;
  height: 38px;
  border-radius: 18px 18px 16px 16px;
  background: linear-gradient(180deg, #ffe0e6, #ffd0d9);
  z-index: 2;
}

.avatar-hair {
  left: 10px;
  top: 8px;
  width: 50px;
  height: 42px;
  border-radius: 26px 26px 16px 16px;
  background: linear-gradient(180deg, #3a2934, #694e62);
}

.avatar-daughter::after,
.avatar-mother::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: -6px;
  height: 30px;
  border-radius: 20px 20px 10px 10px;
  z-index: 1;
}

.avatar-daughter::after {
  background: linear-gradient(180deg, rgba(255, 129, 181, 0.95), rgba(255, 82, 157, 0.85));
}

.avatar-mother::after {
  background: linear-gradient(180deg, rgba(218, 171, 191, 0.92), rgba(176, 124, 149, 0.82));
}

.night-window,
.memory-board,
.gift-preview {
  position: relative;
  width: 100%;
  min-height: 420px;
  border-radius: 34px;
  overflow: hidden;
}

.night-window {
  background:
    radial-gradient(circle at 24% 18%, rgba(255, 235, 242, 0.88), transparent 8%),
    radial-gradient(circle at 72% 16%, rgba(255, 247, 252, 0.86), transparent 5%),
    linear-gradient(180deg, rgba(218, 192, 226, 0.95) 0%, rgba(160, 137, 189, 0.95) 48%, rgba(119, 95, 142, 0.96) 100%);
  border: 1px solid rgba(191, 137, 174, 0.28);
  box-shadow: inset 0 -26px 40px rgba(66, 32, 80, 0.18);
}

.window-moon {
  position: absolute;
  top: 36px;
  left: 42px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 32%, #fff8fb, #ffe5f1 72%, rgba(255, 229, 241, 0) 74%);
  box-shadow:
    0 0 26px rgba(255, 248, 251, 0.28),
    0 0 56px rgba(255, 199, 221, 0.16);
}

.window-buildings {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 48%;
}

.window-buildings span {
  position: absolute;
  bottom: 0;
  width: 16%;
  border-radius: 18px 18px 0 0;
  background: linear-gradient(180deg, rgba(91, 65, 110, 0.96), rgba(70, 47, 90, 0.98));
  box-shadow: inset 0 0 0 1px rgba(255, 238, 246, 0.04);
}

.window-buildings span:nth-child(1) {
  left: 6%;
  height: 40%;
}

.window-buildings span:nth-child(2) {
  left: 24%;
  height: 54%;
}

.window-buildings span:nth-child(3) {
  left: 48%;
  height: 34%;
}

.window-buildings span:nth-child(4) {
  right: 8%;
  height: 62%;
}

.window-buildings span::before {
  content: "";
  position: absolute;
  inset: 14px 10px auto;
  height: calc(100% - 28px);
  background:
    radial-gradient(circle, rgba(255, 236, 182, 0.82) 0 1.5px, transparent 2px) 0 0 / 18px 18px,
    radial-gradient(circle, rgba(255, 210, 159, 0.54) 0 1.5px, transparent 2px) 8px 8px / 18px 18px;
  opacity: 0.66;
}

.window-girl {
  position: absolute;
  right: 70px;
  bottom: 22px;
  width: 180px;
  height: 240px;
}

.girl-head,
.girl-body,
.girl-phone {
  position: absolute;
  display: block;
}

.girl-head {
  top: 22px;
  left: 64px;
  width: 44px;
  height: 48px;
  border-radius: 24px;
  background: linear-gradient(180deg, #f6d0dc, #efbccd);
  box-shadow:
    inset 0 0 0 8px rgba(77, 56, 88, 0.98),
    inset -6px 8px 0 rgba(77, 56, 88, 0.92);
}

.girl-body {
  left: 32px;
  right: 0;
  bottom: 0;
  top: 64px;
  border-radius: 92px 92px 26px 26px;
  background:
    linear-gradient(180deg, rgba(250, 230, 238, 0.12), rgba(39, 24, 51, 0) 18%),
    linear-gradient(180deg, #7f627f, #4b3957 46%, #3a2a48);
}

.girl-phone {
  right: 22px;
  top: 102px;
  width: 28px;
  height: 52px;
  border-radius: 12px;
  background: linear-gradient(180deg, #fff5fa, #f9d9e8);
  box-shadow: 0 0 18px rgba(255, 241, 248, 0.34);
  transform: rotate(18deg);
}

.memory-board {
  padding: 26px;
  display: grid;
  gap: 14px;
  background:
    radial-gradient(circle at top right, rgba(255, 214, 231, 0.32), transparent 26%),
    linear-gradient(160deg, rgba(255, 246, 250, 0.96), rgba(255, 235, 244, 0.9));
  border: 1px solid rgba(205, 90, 144, 0.12);
}

.memory-note {
  position: relative;
  padding: 20px 20px 18px 22px;
  border-radius: 24px;
}

.note-a {
  transform: rotate(-2deg);
}

.note-b {
  transform: rotate(1.4deg);
}

.note-c {
  transform: rotate(-1deg);
}

.note-dot {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fff0f6, #ff78b6 72%);
  box-shadow: 0 0 14px rgba(255, 94, 168, 0.18);
}

.memory-note h4 {
  margin: 0 0 10px;
}

.memory-note p {
  margin: 0;
}

.memory-tags {
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.memory-tags span,
.gift-pill {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--pink-strong);
  border: 1px solid rgba(205, 90, 144, 0.14);
  background: rgba(255, 255, 255, 0.58);
}

.gift-preview {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 26%, rgba(255, 221, 235, 0.82), transparent 18%),
    linear-gradient(180deg, rgba(255, 244, 249, 0.94), rgba(255, 224, 237, 0.94));
  border: 1px solid rgba(205, 90, 144, 0.12);
}

.gift-heart {
  position: absolute;
  width: 136px;
  height: 136px;
  color: rgba(255, 125, 180, 0.22);
  transform: rotate(-45deg);
}

.gift-heart,
.gift-heart::before,
.gift-heart::after {
  border-radius: 20px;
  background: currentColor;
}

.gift-heart::before,
.gift-heart::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: inherit;
  border-radius: 50%;
}

.gift-heart::before {
  top: -50%;
  left: 0;
}

.gift-heart::after {
  top: 0;
  left: 50%;
}

.gift-card {
  position: relative;
  z-index: 1;
  width: min(82%, 360px);
  padding: 28px;
  border-radius: 30px;
  text-align: center;
}

.gift-card strong {
  margin-top: 18px;
  font-size: 1.25rem;
}

.gift-card p {
  margin: 12px 0 0;
}

.question-stage,
.result-card,
.gift-library,
.heart-vault,
.memory-album,
.memory-archive,
.coupon-section,
.footer-strip {
  margin-top: 18px;
}

.question-stage {
  padding: 28px 34px;
  border-radius: 38px;
}

.question-topline,
.result-topline,
.answer-card-top,
.coupon-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.pill,
.question-count,
.role-pill,
.status-pill,
.result-badge,
.coupon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.84rem;
}

.pill,
.role-pill,
.status-pill,
.coupon-badge {
  color: var(--pink-strong);
  background: rgba(255, 255, 255, 0.42);
  border: 1px solid rgba(205, 90, 144, 0.14);
}

.question-count,
.result-badge {
  color: var(--pink-strong);
  background: rgba(255, 255, 255, 0.42);
  border: 1px solid rgba(205, 90, 144, 0.14);
}

.question-stage h2 {
  margin: 14px 0 10px;
  font-size: clamp(1.38rem, 2.45vw, 2.02rem);
  line-height: 1.24;
  font-weight: 500;
}

.interaction-shell {
  padding: 28px;
  border-radius: 38px;
  display: grid;
  grid-template-columns: 1fr 260px 1fr;
  gap: 18px;
}

.answer-card {
  border-radius: 32px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.26);
  border: 1px solid rgba(205, 90, 144, 0.12);
  position: relative;
}

.answer-card::after {
  content: "";
  position: absolute;
  top: 14px;
  right: 16px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 121, 175, 0.18);
  box-shadow:
    -18px 14px 0 rgba(255, 172, 205, 0.2),
    -4px 28px 0 rgba(255, 121, 175, 0.14);
}

.answer-card h3 {
  margin: 16px 0 12px;
  font-size: 1.34rem;
  font-weight: 500;
}

.status-pill {
  color: #d47463;
}

textarea,
select,
input[type="text"] {
  width: 100%;
  font: inherit;
  color: var(--text);
  border-radius: 20px;
  border: 1px solid rgba(205, 90, 144, 0.12);
  background: rgba(255, 255, 255, 0.5);
}

textarea {
  padding: 18px;
  min-height: 180px;
  resize: vertical;
  line-height: 1.76;
  margin-bottom: 14px;
}

select,
input[type="text"] {
  padding: 14px 16px;
}

textarea:focus,
select:focus,
input[type="text"]:focus {
  outline: 2px solid rgba(255, 142, 194, 0.22);
  border-color: rgba(255, 196, 223, 0.18);
}

.center-core {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  align-items: center;
  text-align: center;
  padding: 24px 12px;
}

.core-track {
  position: absolute;
  top: 8%;
  bottom: 8%;
  width: 1px;
  background: linear-gradient(180deg, rgba(205, 90, 144, 0.04), rgba(255, 121, 175, 0.34), rgba(205, 90, 144, 0.04));
}

.core-node {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fffafc, #ff93c5 68%, rgba(255, 147, 197, 0) 72%);
  box-shadow: 0 0 24px rgba(255, 94, 168, 0.28);
}

.core-hearts {
  position: relative;
  width: 76px;
  height: 24px;
}

.core-hearts span {
  animation: popTinyHeart 2.6s ease-in-out infinite;
}

.core-hearts span:nth-child(1) {
  left: 4px;
  top: 2px;
  width: 12px;
  height: 12px;
  animation-delay: 0s;
}

.core-hearts span:nth-child(2) {
  left: 28px;
  top: 0;
  width: 16px;
  height: 16px;
  animation-delay: 0.3s;
}

.core-hearts span:nth-child(3) {
  left: 54px;
  top: 4px;
  width: 10px;
  height: 10px;
  animation-delay: 0.6s;
}

.signal-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 18px 16px;
  border: 1px solid rgba(255, 196, 223, 0.28);
  border-radius: 22px;
  color: white;
  background:
    linear-gradient(135deg, rgba(255, 62, 151, 0.96), rgba(255, 121, 175, 0.84));
  box-shadow: 0 18px 36px rgba(255, 94, 168, 0.22);
}

.signal-icon,
.signal-icon::before,
.signal-icon::after,
.meter-heart,
.meter-heart::before,
.meter-heart::after,
.burst-heart,
.burst-heart::before,
.burst-heart::after {
  position: relative;
  display: inline-block;
  width: 18px;
  height: 18px;
  transform: rotate(-45deg);
  background: currentColor;
  border-radius: 4px;
}

.signal-icon {
  color: white;
}

.signal-icon::before,
.signal-icon::after,
.meter-heart::before,
.meter-heart::after,
.burst-heart::before,
.burst-heart::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: inherit;
  border-radius: 50%;
}

.signal-icon::before,
.meter-heart::before,
.burst-heart::before {
  top: -50%;
  left: 0;
}

.signal-icon::after,
.meter-heart::after,
.burst-heart::after {
  top: 0;
  left: 50%;
}

.result-card {
  position: relative;
  padding: 30px 34px;
  border-radius: 38px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 76px 34px at 10% 14%, rgba(255, 203, 227, 0.18) 0 58%, transparent 60%),
    radial-gradient(ellipse 66px 30px at 16% 22%, rgba(255, 175, 212, 0.14) 0 58%, transparent 60%),
    radial-gradient(ellipse 64px 28px at 24% 12%, rgba(255, 196, 222, 0.14) 0 58%, transparent 60%),
    var(--surface);
}

.result-score {
  color: var(--muted);
}

.heart-meter {
  display: flex;
  gap: 16px;
  margin: 20px 0 12px;
}

.cute-caption {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.46);
  color: var(--pink-strong);
  border: 1px solid rgba(205, 90, 144, 0.12);
  font-size: 0.8rem;
}

.cute-caption::before {
  content: "♡";
  font-size: 0.95rem;
}

.meter-heart {
  width: 16px;
  height: 16px;
  color: rgba(255, 255, 255, 0.18);
  transition:
    color 180ms ease,
    transform 180ms ease,
    filter 180ms ease;
}

.meter-heart.active {
  color: var(--pink);
  transform: rotate(-45deg) scale(1.12);
  filter: drop-shadow(0 0 10px rgba(255, 94, 168, 0.34));
}

.meter-heart.spark {
  animation: popHeart 420ms ease;
}

.result-card h3 {
  margin: 12px 0 8px;
  font-size: clamp(1.5rem, 2.5vw, 2.15rem);
  font-weight: 500;
}

.memory-card,
.next-step,
.coupon-card {
  background: var(--surface-soft);
  border: 1px solid rgba(205, 90, 144, 0.1);
}

.memory-card {
  margin-top: 20px;
  padding: 22px;
  border-radius: 24px;
}

.memory-body {
  margin-top: 10px;
  font-size: 1.05rem;
  color: var(--text);
}

.next-step {
  margin-top: 18px;
  padding: 18px 20px;
  border-radius: 22px;
}

.result-burst {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.burst-heart {
  position: absolute;
  width: 14px;
  height: 14px;
  color: rgba(255, 143, 194, 0.84);
  opacity: 0;
}

.burst-heart:nth-child(1) {
  top: 18%;
  left: 24%;
}

.burst-heart:nth-child(2) {
  top: 22%;
  right: 26%;
}

.burst-heart:nth-child(3) {
  top: 45%;
  left: 14%;
}

.burst-heart:nth-child(4) {
  bottom: 20%;
  right: 22%;
}

.burst-heart:nth-child(5) {
  bottom: 18%;
  left: 28%;
}

.burst-heart:nth-child(6) {
  top: 58%;
  right: 12%;
}

.result-card.celebrate .burst-heart {
  animation: burst 880ms ease forwards;
}

.result-modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 28px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 220ms ease,
    visibility 220ms ease;
  z-index: 20;
}

.gift-library {
  padding: 30px;
  border-radius: 38px;
  background:
    radial-gradient(circle at top right, rgba(255, 222, 235, 0.46), transparent 18%),
    radial-gradient(ellipse 70px 32px at 10% 18%, rgba(255, 196, 222, 0.18) 0 58%, transparent 60%),
    var(--surface);
  border: 1px solid rgba(205, 90, 144, 0.12);
  box-shadow: var(--shadow);
}

.gift-library-head,
.gift-library-status,
.gift-library-card-top,
.gift-library-footer {
  display: flex;
}

.gift-library-head {
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.gift-library-head h2,
.gift-library-card h3 {
  margin: 12px 0 0;
  font-family: "Songti SC", "STSong", "Noto Serif SC", serif;
  font-weight: 500;
}

.gift-library-head h2 {
  font-size: clamp(1.58rem, 2.4vw, 2.2rem);
}

.gift-library-copy,
.gift-library-note,
.gift-library-empty p {
  color: var(--muted);
  line-height: 1.82;
}

.gift-library-copy {
  margin: 10px 0 0;
  max-width: 740px;
}

.gift-library-status {
  min-width: 240px;
  flex-direction: column;
  align-items: flex-end;
  padding: 18px 20px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.54);
  border: 1px solid rgba(205, 90, 144, 0.12);
}

.gift-library-status strong {
  font-size: 2.4rem;
  line-height: 1;
  color: var(--pink-strong);
  font-family: "Songti SC", "STSong", "Noto Serif SC", serif;
}

.gift-library-status span {
  margin-top: 6px;
  color: var(--text);
}

.gift-library-status p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.72;
  text-align: right;
}

.gift-generate-button {
  margin-top: 16px;
  width: min(100%, 280px);
}

.gift-generate-button .signal-icon,
.gift-generate-button .signal-icon::before,
.gift-generate-button .signal-icon::after {
  color: #fff;
  background: #fff;
}

.gift-library-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.gift-library-card {
  display: grid;
  gap: 14px;
  padding: 20px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(205, 90, 144, 0.12);
  box-shadow: 0 18px 36px rgba(232, 123, 170, 0.08);
}

.gift-library-card.highlight {
  background:
    radial-gradient(circle at top right, rgba(255, 170, 214, 0.56), transparent 30%),
    linear-gradient(180deg, rgba(255, 243, 249, 0.98), rgba(255, 223, 238, 0.88));
  border-color: rgba(227, 109, 167, 0.24);
}

.gift-library-card.mother {
  background:
    radial-gradient(circle at top right, rgba(243, 197, 229, 0.54), transparent 32%),
    linear-gradient(180deg, rgba(252, 243, 250, 0.98), rgba(239, 224, 244, 0.88));
  border-color: rgba(188, 132, 188, 0.24);
}

.gift-library-card.followup {
  background:
    radial-gradient(circle at top right, rgba(255, 196, 197, 0.5), transparent 30%),
    linear-gradient(180deg, rgba(255, 245, 246, 0.98), rgba(255, 226, 230, 0.88));
  border-color: rgba(229, 138, 161, 0.24);
}

.gift-library-card-top {
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.gift-library-card h3 {
  font-size: 1.34rem;
  line-height: 1.42;
}

.gift-library-excerpt {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.78;
  color: var(--text);
}

.gift-library-note {
  margin: 0;
}

.gift-library-footer {
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 4px;
  color: var(--muted-2);
  font-size: 0.86rem;
}

.gift-library-empty {
  margin-top: 22px;
  padding: 30px 24px;
  border-radius: 28px;
  text-align: center;
  background: rgba(255, 255, 255, 0.42);
  border: 1px dashed rgba(205, 90, 144, 0.16);
}

.gift-library-empty strong {
  display: block;
  font-size: 1.1rem;
}

.result-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.result-modal-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 200, 225, 0.28), transparent 24%),
    rgba(44, 22, 39, 0.34);
  backdrop-filter: blur(18px);
}

.result-modal-panel {
  position: relative;
  width: min(1040px, 100%);
  max-height: min(88vh, 920px);
  overflow: auto;
  padding: 30px;
  border-radius: 34px;
  background:
    radial-gradient(ellipse 112px 54px at 94% 10%, rgba(255, 204, 227, 0.28) 0 58%, transparent 60%),
    radial-gradient(ellipse 104px 48px at 86% 18%, rgba(255, 173, 211, 0.18) 0 58%, transparent 60%),
    radial-gradient(ellipse 96px 44px at 76% 12%, rgba(255, 212, 232, 0.16) 0 58%, transparent 60%),
    radial-gradient(circle at top right, rgba(255, 223, 236, 0.62), transparent 24%),
    linear-gradient(180deg, rgba(255, 252, 253, 0.96), rgba(255, 239, 246, 0.95));
  border: 1px solid rgba(205, 90, 144, 0.16);
  box-shadow: 0 32px 90px rgba(86, 44, 68, 0.22);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: var(--pink-strong);
  background: rgba(255, 255, 255, 0.72);
}

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

.modal-head h2 {
  font-size: clamp(1.62rem, 2.5vw, 2.3rem);
}

.modal-score-orb {
  min-width: 140px;
  padding: 18px 22px;
  border-radius: 28px;
  text-align: center;
  color: rgba(84, 40, 60, 0.9);
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.76), transparent 20%),
    linear-gradient(180deg, rgba(255, 210, 228, 0.88), rgba(255, 170, 208, 0.74));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.modal-score-orb span {
  display: block;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.76rem;
}

.modal-score-orb strong {
  display: block;
  margin-top: 8px;
  font-size: 2.4rem;
  line-height: 1;
}

.modal-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.74fr);
  gap: 18px;
  margin-top: 22px;
}

.modal-main-card {
  position: relative;
  padding: 28px;
  border-radius: 30px;
}

.modal-hearts {
  gap: 14px;
}

.modal-main-card h3 {
  margin: 20px 0 10px;
  font-size: clamp(1.55rem, 2.2vw, 2.1rem);
}

.modal-main-card > p {
  margin: 0;
  color: var(--muted);
  line-height: 1.82;
}

.modal-memory {
  margin-top: 18px;
  padding: 20px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.56);
  border: 1px solid rgba(205, 90, 144, 0.1);
}

.modal-memory p:last-child {
  margin: 10px 0 0;
  color: var(--text);
  line-height: 1.82;
}

.modal-side-stack {
  flex-direction: column;
  gap: 16px;
}

.modal-answer-card {
  width: 100%;
  padding: 22px;
  border-radius: 28px;
}

.modal-answer-card p {
  margin: 14px 0 0;
  color: rgba(76, 38, 57, 0.9);
}

.modal-footer-note {
  margin-top: 18px;
  padding: 20px 22px;
  border-radius: 24px;
}

.modal-footer-note p {
  margin: 10px 0 0;
}

body.modal-open {
  overflow: hidden;
}

.memory-album {
  padding: 30px;
  border-radius: 38px;
  background:
    radial-gradient(ellipse 84px 36px at 6% 16%, rgba(255, 204, 227, 0.18) 0 58%, transparent 60%),
    radial-gradient(ellipse 72px 32px at 12% 24%, rgba(255, 171, 210, 0.14) 0 58%, transparent 60%),
    radial-gradient(ellipse 80px 34px at 94% 12%, rgba(255, 206, 228, 0.16) 0 58%, transparent 60%),
    var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
}

.album-head,
.album-status,
.album-form-grid,
.album-filter-bar,
.album-filter-group,
.album-memory-top,
.album-memory-meta {
  display: flex;
}

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

.album-head h2,
.album-upload-card h3,
.album-memory-body h3 {
  margin: 12px 0 0;
  font-family: "Songti SC", "STSong", "Noto Serif SC", serif;
  font-weight: 500;
}

.album-head h2 {
  font-size: clamp(1.58rem, 2.4vw, 2.2rem);
}

.album-status {
  min-width: 180px;
  flex-direction: column;
  align-items: flex-end;
  padding: 18px 20px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.48);
  border: 1px solid rgba(205, 90, 144, 0.12);
}

.album-status strong {
  font-size: 2.4rem;
  line-height: 1;
  color: var(--pink-strong);
  font-family: "Songti SC", "STSong", "Noto Serif SC", serif;
}

.album-status span {
  margin-top: 6px;
  font-size: 0.98rem;
  color: var(--text);
}

.album-status p,
.album-helper,
.album-memory-note,
.album-memory-meta,
.album-empty p,
.section-collapsed-note {
  color: var(--muted);
  line-height: 1.82;
}

.album-status p,
.album-helper,
.album-empty p {
  margin: 8px 0 0;
}

.section-toggle-button {
  margin-top: 14px;
  align-self: flex-end;
}

.album-page-shell {
  padding-top: 28px;
  padding-bottom: 48px;
}

.gift-page-shell {
  padding-top: 28px;
  padding-bottom: 48px;
}

.album-page-top,
.album-page-actions,
.album-page-empty-actions {
  display: flex;
}

.gift-page-top,
.gift-page-actions,
.gift-page-empty-actions,
.gift-page-detail-header,
.gift-page-redeem-top {
  display: flex;
}

.album-page-top {
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.gift-page-top {
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.album-page-intro h1 {
  margin: 10px 0 0;
  font-family: "Songti SC", "STSong", "Noto Serif SC", serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 500;
}

.gift-page-intro h1 {
  margin: 10px 0 0;
  font-family: "Songti SC", "STSong", "Noto Serif SC", serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 500;
}

.album-page-intro p {
  margin: 10px 0 0;
  max-width: 760px;
  color: var(--muted);
  line-height: 1.82;
}

.gift-page-intro p {
  margin: 10px 0 0;
  max-width: 760px;
  color: var(--muted);
  line-height: 1.82;
}

.album-page-actions {
  align-items: stretch;
  gap: 14px;
  flex-wrap: wrap;
}

.gift-page-actions {
  align-items: stretch;
  gap: 14px;
  flex-wrap: wrap;
}

.album-page-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  min-height: 58px;
}

.gift-page-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  min-height: 58px;
}

.album-standalone .album-gallery-card {
  background: rgba(255, 255, 255, 0.34);
}

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

.album-page-empty-actions {
  justify-content: center;
  gap: 12px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.gift-page-empty-actions {
  justify-content: center;
  gap: 12px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.gift-page-body {
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(320px, 0.86fr);
  gap: 24px;
  align-items: start;
}

.gift-page-main,
.gift-page-detail-card {
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.38);
  border: 1px solid rgba(205, 90, 144, 0.12);
  box-shadow: 0 20px 42px rgba(232, 123, 170, 0.1);
}

.gift-page-main {
  padding: 24px;
}

.gift-page-filter-bar {
  display: flex;
  justify-content: flex-start;
  gap: 12px;
  flex-wrap: wrap;
}

.gift-page-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.gift-page-card {
  width: 100%;
  text-align: left;
  font: inherit;
  cursor: pointer;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.gift-page-card.is-selected,
.gift-page-card:hover {
  transform: translateY(-2px);
  border-color: rgba(225, 82, 142, 0.34);
  box-shadow: 0 24px 40px rgba(230, 103, 154, 0.16);
}

.gift-page-detail-card {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 18px;
  padding: 24px;
}

.gift-page-detail-header {
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.gift-page-detail-copy h2,
.gift-page-redeem-card strong,
.gift-redeem-item strong {
  margin: 0;
  font-family: "Songti SC", "STSong", "Noto Serif SC", serif;
  font-weight: 500;
}

.gift-page-detail-copy h2 {
  font-size: clamp(1.4rem, 2.4vw, 2rem);
}

.gift-page-detail-excerpt,
.gift-page-detail-note,
.gift-page-source-card p,
.gift-redeem-item p {
  color: var(--muted);
  line-height: 1.82;
}

.gift-page-detail-excerpt {
  margin: 14px 0 0;
  font-size: 1.02rem;
  color: var(--text);
}

.gift-page-detail-note {
  margin: 12px 0 0;
}

.gift-page-source-card,
.gift-page-redeem-card {
  padding: 18px 18px 20px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.56);
  border: 1px solid rgba(205, 90, 144, 0.1);
}

.gift-page-source-card p {
  margin: 10px 0 0;
}

.gift-page-redeem-top {
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.gift-redeem-list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.gift-redeem-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  padding: 14px 14px 12px;
  border-radius: 20px;
  background: rgba(255, 247, 251, 0.72);
  border: 1px solid rgba(223, 120, 167, 0.12);
}

.gift-redeem-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 133, 183, 0.92), rgba(233, 83, 144, 0.82));
  color: white;
  font-size: 0.86rem;
  letter-spacing: 0.08em;
}

.gift-redeem-item p {
  margin: 6px 0 0;
}

.album-shell {
  display: grid;
  grid-template-columns: minmax(320px, 0.78fr) minmax(420px, 1.22fr);
  gap: 26px;
  margin-top: 22px;
  align-items: start;
}

.album-upload-card,
.album-gallery-card {
  border-radius: 32px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.3);
  border: 1px solid rgba(205, 90, 144, 0.12);
}

.album-upload-card h3 {
  font-size: 1.8rem;
}

.album-form-grid {
  gap: 14px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.album-form-grid label,
.album-filter-select {
  flex: 1 1 180px;
}

.upload-dropzone {
  display: block;
  margin-top: 18px;
  padding: 24px;
  border-radius: 28px;
  border: 1px dashed rgba(205, 90, 144, 0.24);
  background:
    radial-gradient(circle at top right, rgba(255, 216, 233, 0.32), transparent 18%),
    rgba(255, 255, 255, 0.42);
  cursor: pointer;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.upload-dropzone:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 108, 178, 0.34);
  box-shadow: 0 18px 34px rgba(236, 79, 149, 0.1);
}

.upload-dropzone input[type="file"] {
  display: none;
}

.upload-kicker {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(205, 90, 144, 0.12);
  color: var(--pink-strong);
  font-size: 0.82rem;
}

.upload-dropzone strong {
  display: block;
  margin-top: 14px;
  font-size: 1.18rem;
}

.upload-dropzone p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.78;
}

.album-preview-card {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 16px;
  padding: 16px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.42);
  border: 1px solid rgba(205, 90, 144, 0.12);
}

.album-preview-media {
  min-height: 200px;
  border-radius: 24px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 236, 244, 0.88), rgba(255, 214, 230, 0.72));
  display: grid;
  place-items: center;
  color: var(--muted-2);
  text-align: center;
  padding: 16px;
}

.album-preview-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.album-preview-copy strong {
  display: block;
  margin-top: 10px;
  font-size: 1.3rem;
  line-height: 1.5;
  font-family: "Songti SC", "STSong", "Noto Serif SC", serif;
  color: var(--text);
}

.album-preview-copy p:last-child {
  margin: 10px 0 0;
}

.album-helper-small {
  font-size: 0.88rem;
}

.album-gallery-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}

.album-filter-bar {
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.album-filter-group {
  gap: 10px;
  flex-wrap: wrap;
}

.album-filter-chip,
.album-delete {
  font: inherit;
  cursor: pointer;
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

.album-filter-chip {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(205, 90, 144, 0.12);
}

.album-filter-chip.active {
  color: white;
  background: linear-gradient(180deg, rgba(255, 122, 175, 0.88), rgba(236, 79, 149, 0.78));
  box-shadow: 0 12px 24px rgba(236, 79, 149, 0.14);
}

.album-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}

.album-grid[data-layout="expanded"] {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.album-empty {
  padding: 34px 22px;
  border-radius: 28px;
  text-align: center;
  background: rgba(255, 255, 255, 0.42);
  border: 1px dashed rgba(205, 90, 144, 0.16);
}

.album-empty strong {
  display: block;
  font-size: 1.1rem;
}

.album-empty[hidden] {
  display: none;
}

.section-collapsed-note {
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.48);
  border: 1px dashed rgba(205, 90, 144, 0.14);
}

.album-memory-card {
  overflow: hidden;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.54);
  border: 1px solid rgba(205, 90, 144, 0.12);
  box-shadow: 0 20px 42px rgba(232, 123, 170, 0.1);
}

.album-memory-card.compact {
  display: grid;
  grid-template-columns: minmax(280px, 1.08fr) minmax(240px, 0.92fr);
  min-height: 420px;
}

.album-memory-photo {
  position: relative;
  aspect-ratio: 1 / 1.08;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 234, 243, 0.9), rgba(255, 204, 224, 0.74));
}

.album-memory-card.compact .album-memory-photo {
  aspect-ratio: auto;
  min-height: 100%;
}

.album-memory-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.album-photo-overlay {
  position: absolute;
  inset: auto 14px 14px;
  padding: 14px;
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(36, 19, 31, 0.06), rgba(36, 19, 31, 0.62));
  color: white;
  backdrop-filter: blur(10px);
}

.album-photo-overlay p {
  margin: 8px 0 0;
  font-size: 1.05rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.96);
  font-family: "Songti SC", "STSong", "Noto Serif SC", serif;
}

.album-memory-card.compact .album-photo-overlay {
  inset: auto 16px 16px;
  max-width: min(88%, 340px);
}

.album-memory-card.compact .album-photo-overlay p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.album-photo-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.album-photo-tag {
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  font-size: 0.76rem;
}

.album-memory-body {
  padding: 18px;
}

.album-memory-card.compact .album-memory-body {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 20px 20px 18px;
}

.album-memory-top {
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.album-delete {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.54);
  border: 1px solid rgba(205, 90, 144, 0.1);
}

.album-delete:hover {
  transform: translateY(-1px);
  color: var(--pink-strong);
}

.album-memory-body h3 {
  margin: 14px 0 8px;
  font-size: 1.4rem;
  line-height: 1.34;
}

.album-memory-card.compact .album-memory-body h3 {
  margin: 0;
  font-size: clamp(1.22rem, 1.55vw, 1.48rem);
}

.album-memory-note {
  margin: 0;
}

.album-memory-card.compact .album-memory-note {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.album-memory-meta {
  justify-content: space-between;
  gap: 10px;
  margin-top: 14px;
  font-size: 0.82rem;
  flex-wrap: wrap;
}

.album-memory-card.compact .album-memory-meta {
  margin-top: 0;
}

.album-linked-chat {
  margin-top: 16px;
  padding: 16px 18px;
  border-radius: 22px;
  background:
    radial-gradient(circle at top right, rgba(255, 210, 229, 0.26), transparent 24%),
    rgba(255, 255, 255, 0.52);
  border: 1px solid rgba(205, 90, 144, 0.1);
}

.album-linked-chat.compact {
  margin-top: 0;
  padding: 14px 16px;
  border-radius: 20px;
}

.album-linked-chat p {
  margin: 10px 0 0;
  color: var(--text);
  line-height: 1.8;
}

.album-memory-link-copy {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.album-linked-chat .archive-action {
  margin-top: 14px;
}

.album-memory-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 2px;
}

.heart-vault {
  padding: 30px;
  border-radius: 38px;
  background:
    radial-gradient(ellipse 94px 42px at 10% 12%, rgba(255, 204, 227, 0.18) 0 58%, transparent 60%),
    radial-gradient(ellipse 74px 36px at 90% 16%, rgba(255, 175, 213, 0.18) 0 58%, transparent 60%),
    linear-gradient(180deg, rgba(255, 250, 252, 0.98), rgba(255, 236, 245, 0.96));
  border: 1px solid rgba(205, 90, 144, 0.14);
  box-shadow: 0 24px 56px rgba(231, 111, 165, 0.12);
  backdrop-filter: blur(22px);
}

.vault-head,
.vault-status,
.vault-shell,
.vault-spotlight-top,
.vault-spotlight-grid,
.vault-spotlight-snippets,
.vault-actions,
.vault-mini-actions,
.playback-head,
.playback-lines,
.playback-photos-top,
.archive-linked-head,
.archive-linked-strip,
.archive-footer-actions {
  display: flex;
}

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

.vault-head h2,
.vault-spotlight-card h3,
.vault-mini-card h4,
.playback-panel h3,
.playback-highlight-card h4 {
  margin: 12px 0 0;
  font-family: "Songti SC", "STSong", "Noto Serif SC", serif;
  font-weight: 500;
}

.vault-head h2 {
  font-size: clamp(1.58rem, 2.4vw, 2.2rem);
}

.vault-status {
  min-width: 220px;
  flex-direction: column;
  align-items: flex-end;
  padding: 18px 20px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.54);
  border: 1px solid rgba(205, 90, 144, 0.12);
}

.vault-status strong {
  font-size: 2.4rem;
  line-height: 1;
  color: var(--pink-strong);
  font-family: "Songti SC", "STSong", "Noto Serif SC", serif;
}

.vault-status span {
  margin-top: 6px;
  color: var(--text);
}

.vault-status p,
.vault-spotlight-copy,
.vault-photo-card p,
.vault-mini-card p,
.playback-highlight-card p,
.playback-line-card p,
.playback-photo-card figcaption span,
.archive-linked-head span,
.archive-linked-memory-empty p,
.vault-empty p,
.playback-empty-state {
  color: var(--muted);
  line-height: 1.82;
}

.vault-status p,
.vault-empty p,
.playback-empty-state {
  margin: 8px 0 0;
}

.vault-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.72fr);
  gap: 18px;
  margin-top: 22px;
  align-items: stretch;
}

.vault-spotlight-card,
.vault-mini-card,
.playback-panel {
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.52);
  border: 1px solid rgba(205, 90, 144, 0.12);
}

.vault-spotlight-card {
  padding: 24px;
  box-shadow: 0 22px 48px rgba(232, 123, 170, 0.12);
}

.vault-spotlight-top,
.archive-linked-head,
.playback-photos-top,
.archive-footer-actions {
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.vault-spotlight-card h3 {
  margin: 14px 0 0;
  font-size: clamp(1.7rem, 2.8vw, 2.5rem);
  line-height: 1.35;
}

.vault-spotlight-highlight {
  margin: 16px 0 0;
  font-size: 1.24rem;
  line-height: 1.72;
  color: var(--text);
}

.vault-spotlight-copy {
  margin: 10px 0 0;
}

.vault-spotlight-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.74fr);
  gap: 16px;
  margin-top: 18px;
}

.vault-spotlight-snippets {
  flex-direction: column;
  gap: 14px;
}

.vault-quote-card,
.vault-photo-card,
.playback-highlight-card,
.playback-line-card,
.playback-photos,
.archive-linked-memory {
  padding: 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(205, 90, 144, 0.1);
}

.vault-quote-card p,
.playback-line-card p {
  margin: 12px 0 0;
  color: var(--text);
}

.vault-photo-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  min-height: 100%;
}

.vault-photo-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 20px;
}

.vault-photo-card.empty {
  justify-content: center;
}

.vault-actions {
  gap: 10px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.vault-mini-list {
  display: grid;
  gap: 14px;
  grid-auto-rows: minmax(0, 1fr);
}

.vault-mini-card {
  padding: 18px;
  min-height: 220px;
  display: grid;
  align-content: start;
}

.vault-mini-card h4 {
  margin: 12px 0 0;
  font-size: 1.26rem;
  line-height: 1.42;
}

.vault-mini-card p {
  margin: 10px 0 0;
}

.vault-mini-actions {
  gap: 10px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.vault-empty {
  margin-top: 20px;
  padding: 34px 22px;
  border-radius: 28px;
  text-align: center;
  background: rgba(255, 255, 255, 0.42);
  border: 1px dashed rgba(205, 90, 144, 0.16);
}

.vault-empty strong {
  display: block;
  font-size: 1.1rem;
}

.vault-empty[hidden] {
  display: none;
}

.memory-constellation {
  padding: 30px;
  border-radius: 38px;
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 211, 231, 0.18), transparent 26%),
    radial-gradient(circle at 82% 14%, rgba(255, 177, 214, 0.16), transparent 22%),
    linear-gradient(180deg, rgba(255, 251, 252, 0.98), rgba(255, 238, 246, 0.96));
  border: 1px solid rgba(205, 90, 144, 0.14);
  box-shadow: 0 24px 56px rgba(231, 111, 165, 0.12);
  backdrop-filter: blur(22px);
}

.constellation-head,
.constellation-status,
.constellation-shell,
.constellation-side-top,
.constellation-detail-footer {
  display: flex;
}

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

.constellation-head h2,
.constellation-detail-body h3,
.constellation-list-card strong {
  margin: 12px 0 0;
  font-family: "Songti SC", "STSong", "Noto Serif SC", serif;
  font-weight: 500;
}

.constellation-head h2 {
  font-size: clamp(1.58rem, 2.4vw, 2.2rem);
}

.constellation-status {
  min-width: 220px;
  flex-direction: column;
  align-items: flex-end;
  padding: 18px 20px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.54);
  border: 1px solid rgba(205, 90, 144, 0.12);
}

.constellation-status strong {
  font-size: 2.4rem;
  line-height: 1;
  color: var(--pink-strong);
  font-family: "Songti SC", "STSong", "Noto Serif SC", serif;
}

.constellation-status span {
  margin-top: 6px;
  color: var(--text);
}

.constellation-status p,
.constellation-side-top p,
.constellation-list-card p,
.constellation-detail-preview,
.constellation-detail-copy {
  color: var(--muted);
  line-height: 1.82;
}

.constellation-status p {
  margin: 8px 0 0;
}

.constellation-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.82fr);
  gap: 18px;
  margin-top: 22px;
  align-items: stretch;
}

.constellation-stage,
.constellation-side,
.constellation-list-card,
.constellation-detail-card {
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.52);
  border: 1px solid rgba(205, 90, 144, 0.12);
}

.constellation-stage {
  position: relative;
  min-height: clamp(500px, 42vw, 620px);
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 249, 252, 0.72), rgba(255, 240, 247, 0.78)),
    url("./assets/galaxy-pink.svg"),
    radial-gradient(circle at 54% 56%, rgba(255, 247, 251, 0.92), rgba(255, 238, 246, 0.8) 48%, rgba(255, 232, 243, 0.86) 100%);
  background-size: cover, cover, cover;
  background-position: center, center, center;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.26);
}

.constellation-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 22% 28%, rgba(255, 166, 206, 0.12), transparent 0 18%),
    radial-gradient(circle at 68% 20%, rgba(255, 217, 235, 0.14), transparent 0 14%),
    radial-gradient(circle at 62% 72%, rgba(255, 191, 220, 0.12), transparent 0 16%),
    linear-gradient(180deg, rgba(255, 252, 253, 0.3), rgba(255, 244, 248, 0.18));
  opacity: 0.44;
  z-index: 0;
  pointer-events: none;
}

.constellation-links,
.constellation-fragments,
.constellation-rings,
.constellation-nodes {
  position: absolute;
  inset: 0;
}

.constellation-links {
  width: 100%;
  height: 100%;
  overflow: visible;
  opacity: 0.94;
  z-index: 2;
}

.constellation-links line {
  stroke: rgba(233, 120, 180, 0.64);
  stroke-width: 0.28;
  stroke-linecap: round;
  stroke-dasharray: 1.4 1.2;
  filter: drop-shadow(0 0 7px rgba(255, 177, 214, 0.28));
}

.constellation-links line.cross {
  stroke: rgba(227, 138, 188, 0.52);
  stroke-width: 0.24;
  stroke-dasharray: 1 1.6;
}

.constellation-links line.ring {
  stroke: rgba(240, 118, 181, 0.72);
}

.constellation-fragments {
  pointer-events: none;
  z-index: 1;
}

.constellation-fragment {
  position: absolute;
  width: var(--constellation-fragment-size);
  height: var(--constellation-fragment-size);
  margin-left: calc(var(--constellation-fragment-size) * -0.5);
  margin-top: calc(var(--constellation-fragment-size) * -0.5);
  border-radius: 999px;
  background:
    radial-gradient(circle at 32% 30%, rgba(255, 255, 255, 1), rgba(255, 225, 238, 0.92) 42%, rgba(255, 143, 198, 0.38) 78%, rgba(255, 143, 198, 0.08) 100%);
  box-shadow:
    0 0 12px rgba(255, 154, 205, 0.4),
    0 0 26px rgba(255, 214, 233, 0.24);
  opacity: 0.9;
  mix-blend-mode: screen;
  animation: constellationFragmentTwinkle var(--constellation-fragment-duration) ease-in-out infinite;
  animation-delay: var(--constellation-fragment-delay);
}

.constellation-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(225, 142, 185, 0.22);
  z-index: 1;
}

.ring-a {
  inset: 8%;
}

.ring-b {
  inset: 22%;
}

.ring-c {
  inset: 36%;
}

.constellation-node {
  position: absolute;
  width: calc(34px * var(--node-scale));
  height: calc(34px * var(--node-scale));
  margin: calc(-17px * var(--node-scale));
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  z-index: 3;
  transition:
    transform 180ms ease,
    filter 180ms ease;
}

.constellation-node:hover,
.constellation-node.active {
  transform: scale(1.22);
}

.constellation-node .constellation-core,
.constellation-node .constellation-halo {
  position: absolute;
  inset: 0;
  border-radius: 50%;
}

.constellation-node .constellation-core {
  background:
    radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.98), rgba(255, 223, 236, 0.78) 32%, rgba(255, 84, 165, 0.72) 68%, rgba(255, 84, 165, 0.14) 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.34),
    0 0 18px rgba(255, 97, 173, 0.22);
  animation: constellationHeartBeat 2.8s ease-in-out infinite;
  animation-delay: var(--beat-delay, 0s);
}

.constellation-node .constellation-halo {
  inset: -16%;
  background: radial-gradient(circle, rgba(255, 160, 204, 0.18), rgba(255, 160, 204, 0) 70%);
  animation: constellationHaloBeat 2.8s ease-in-out infinite;
  animation-delay: var(--beat-delay, 0s);
}

.constellation-node-whisper {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 12px);
  transform: translate(-50%, 6px);
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(233, 132, 183, 0.24);
  color: var(--pink-strong);
  font-size: 0.74rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
  box-shadow: 0 12px 22px rgba(232, 123, 170, 0.12);
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.constellation-node-whisper::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.92);
  border-right: 1px solid rgba(233, 132, 183, 0.18);
  border-bottom: 1px solid rgba(233, 132, 183, 0.18);
  transform: translate(-50%, -55%) rotate(45deg);
}

.constellation-node.photo .constellation-core {
  background:
    radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.98), rgba(255, 231, 239, 0.82) 30%, rgba(255, 155, 195, 0.68) 68%, rgba(255, 155, 195, 0.16) 100%);
}

.constellation-node.memory-card .constellation-core {
  background:
    radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.98), rgba(255, 236, 244, 0.82) 30%, rgba(212, 126, 172, 0.68) 68%, rgba(212, 126, 172, 0.16) 100%);
}

.constellation-node.strong {
  animation: constellationPulse 2.4s ease-in-out infinite;
}

.constellation-node:hover .constellation-node-whisper,
.constellation-node.active .constellation-node-whisper {
  opacity: 1;
  transform: translate(-50%, 0);
}

.constellation-side {
  padding: 18px;
  display: grid;
  gap: 14px;
}

.constellation-side-top {
  flex-direction: column;
  gap: 6px;
}

.constellation-side-top p,
.constellation-detail-copy {
  margin: 0;
}

.constellation-list {
  display: grid;
  gap: 12px;
}

.constellation-list-card {
  padding: 16px 18px;
  text-align: left;
  cursor: pointer;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.constellation-list-card:hover,
.constellation-list-card.active {
  transform: translateY(-2px);
  border-color: rgba(225, 102, 160, 0.24);
  box-shadow: 0 14px 24px rgba(232, 123, 170, 0.1);
}

.constellation-list-card strong {
  display: block;
  margin-top: 10px;
  font-size: 1.1rem;
  color: var(--text);
}

.constellation-list-card p {
  margin: 8px 0 0;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.constellation-detail-card {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.constellation-detail-media {
  min-height: 182px;
  aspect-ratio: 1 / 0.78;
  border-radius: 24px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background:
    linear-gradient(180deg, rgba(255, 252, 253, 0.84), rgba(255, 238, 246, 0.92));
  border: 1px solid rgba(205, 90, 144, 0.1);
}

.constellation-detail-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.constellation-detail-media span {
  padding: 0 24px;
  color: var(--muted);
  line-height: 1.78;
  text-align: center;
}

.constellation-detail-body h3 {
  font-size: 1.42rem;
  line-height: 1.45;
}

.constellation-detail-preview {
  margin: 12px 0 0;
  font-size: 1rem;
}

.constellation-detail-copy {
  margin: 10px 0 0;
  color: var(--text);
  display: none;
}

.constellation-detail-footer {
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 14px;
  color: var(--muted-2);
  font-size: 0.92rem;
}

.memory-archive {
  padding: 30px;
  border-radius: 38px;
  background:
    radial-gradient(ellipse 78px 36px at 92% 14%, rgba(255, 205, 227, 0.18) 0 58%, transparent 60%),
    radial-gradient(ellipse 68px 32px at 84% 22%, rgba(255, 173, 211, 0.14) 0 58%, transparent 60%),
    radial-gradient(ellipse 84px 36px at 8% 16%, rgba(255, 204, 227, 0.18) 0 58%, transparent 60%),
    var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
}

.archive-head,
.archive-status,
.archive-toolbar,
.archive-filter-group,
.archive-card-top,
.archive-tags,
.archive-snippets,
.archive-footer {
  display: flex;
}

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

.archive-head h2,
.archive-card h3,
.archive-highlight {
  margin: 12px 0 0;
  font-family: "Songti SC", "STSong", "Noto Serif SC", serif;
  font-weight: 500;
}

.archive-head h2 {
  font-size: clamp(1.58rem, 2.4vw, 2.2rem);
}

.archive-status {
  min-width: 196px;
  flex-direction: column;
  align-items: flex-end;
  padding: 18px 20px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.48);
  border: 1px solid rgba(205, 90, 144, 0.12);
}

.archive-status strong {
  font-size: 2.4rem;
  line-height: 1;
  color: var(--pink-strong);
  font-family: "Songti SC", "STSong", "Noto Serif SC", serif;
}

.archive-status span {
  margin-top: 6px;
  font-size: 0.98rem;
  color: var(--text);
}

.archive-status p,
.archive-card p,
.archive-empty p,
.archive-snippet p,
.archive-footer,
.archive-search-hint {
  color: var(--muted);
  line-height: 1.82;
}

.archive-status p {
  margin: 8px 0 0;
}

.archive-toolbar {
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin-top: 22px;
  flex-wrap: wrap;
}

.archive-filter-group {
  gap: 10px;
  flex-wrap: wrap;
}

.archive-filter-chip,
.archive-action {
  font: inherit;
  cursor: pointer;
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

.archive-filter-chip {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(205, 90, 144, 0.12);
}

.archive-filter-chip.active {
  color: white;
  background: linear-gradient(180deg, rgba(255, 122, 175, 0.88), rgba(236, 79, 149, 0.78));
  box-shadow: 0 12px 24px rgba(236, 79, 149, 0.14);
}

.archive-filter-select,
.archive-search-box {
  flex: 1 1 200px;
}

.archive-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.archive-empty {
  margin-top: 20px;
  padding: 34px 22px;
  border-radius: 28px;
  text-align: center;
  background: rgba(255, 255, 255, 0.42);
  border: 1px dashed rgba(205, 90, 144, 0.16);
}

.archive-empty strong {
  display: block;
  font-size: 1.1rem;
}

.archive-empty[hidden] {
  display: none;
}

.archive-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 22px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(205, 90, 144, 0.12);
  box-shadow: 0 20px 42px rgba(232, 123, 170, 0.1);
}

.archive-card-top {
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.archive-tags {
  gap: 8px;
  flex-wrap: wrap;
}

.archive-tag,
.archive-date {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(205, 90, 144, 0.12);
  background: rgba(255, 255, 255, 0.62);
  font-size: 0.8rem;
}

.archive-tag {
  color: var(--pink-strong);
}

.archive-date {
  color: var(--muted-2);
}

.archive-card h3 {
  margin: 0;
  font-size: 1.55rem;
  line-height: 1.36;
}

.archive-highlight {
  margin: 0;
  font-size: 1.22rem;
  line-height: 1.6;
  color: var(--text);
}

.archive-summary {
  margin: 0;
}

.archive-snippets {
  gap: 12px;
  flex-wrap: wrap;
}

.archive-snippet {
  flex: 1 1 220px;
  padding: 16px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.46);
  border: 1px solid rgba(205, 90, 144, 0.1);
}

.archive-snippet strong {
  display: block;
  margin-bottom: 8px;
  color: var(--pink-strong);
  font-size: 0.88rem;
}

.archive-snippet p {
  margin: 0;
}

.archive-linked-memory {
  display: grid;
  gap: 14px;
}

.archive-linked-memory-empty {
  background: rgba(255, 255, 255, 0.38);
}

.archive-linked-memory-empty p {
  margin: 0;
}

.archive-linked-head strong {
  color: var(--text);
}

.archive-linked-strip {
  gap: 12px;
  flex-wrap: wrap;
}

.archive-linked-photo {
  margin: 0;
  width: min(124px, 32%);
}

.archive-linked-photo img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 18px;
}

.archive-linked-photo figcaption {
  margin-top: 8px;
  font-size: 0.78rem;
  color: var(--muted-2);
}

.archive-footer {
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.84rem;
}

.archive-action {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(205, 90, 144, 0.12);
}

.archive-action-soft {
  color: var(--pink-strong);
}

.archive-action.active {
  color: white;
  background: linear-gradient(180deg, rgba(255, 122, 175, 0.88), rgba(236, 79, 149, 0.78));
}

.archive-footer-actions {
  gap: 10px;
  flex-wrap: wrap;
}

.archive-badge {
  color: #d47463;
}

.playback-modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 28px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 220ms ease,
    visibility 220ms ease;
  z-index: 24;
}

.playback-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.playback-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 82% 16%, rgba(255, 200, 225, 0.2), transparent 24%),
    rgba(46, 24, 41, 0.38);
  backdrop-filter: blur(20px);
}

.playback-panel {
  position: relative;
  width: min(860px, 100%);
  max-height: min(88vh, 920px);
  overflow: auto;
  padding: 28px;
  background:
    radial-gradient(ellipse 118px 54px at 90% 10%, rgba(255, 204, 227, 0.26) 0 58%, transparent 60%),
    linear-gradient(180deg, rgba(255, 252, 253, 0.98), rgba(255, 237, 245, 0.96));
  box-shadow: 0 36px 100px rgba(86, 44, 68, 0.24);
}

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

.playback-panel h3 {
  font-size: clamp(1.9rem, 3vw, 2.6rem);
}

.playback-highlight-card {
  margin-top: 20px;
}

.playback-kicker {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  color: white;
  background: linear-gradient(180deg, rgba(255, 122, 175, 0.88), rgba(236, 79, 149, 0.78));
  box-shadow: 0 12px 24px rgba(236, 79, 149, 0.16);
}

.playback-highlight-card h4 {
  font-size: 1.6rem;
  line-height: 1.42;
}

.playback-highlight-card p {
  margin: 12px 0 0;
}

.playback-lead {
  color: var(--pink-strong);
}

.playback-lines {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.playback-photos {
  margin-top: 18px;
}

.playback-photo-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.playback-photo-card {
  margin: 0;
  overflow: hidden;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.52);
  border: 1px solid rgba(205, 90, 144, 0.1);
}

.playback-photo-card img {
  width: 100%;
  aspect-ratio: 1.14 / 1;
  object-fit: cover;
}

.playback-photo-card figcaption {
  display: grid;
  gap: 6px;
  padding: 14px;
}

.playback-photo-card strong {
  color: var(--text);
}

.playback-empty-state {
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.42);
  border: 1px dashed rgba(205, 90, 144, 0.16);
}

.coupon-section {
  padding: 28px 30px;
  border-radius: 38px;
  background:
    radial-gradient(ellipse 70px 32px at 96% 16%, rgba(255, 205, 227, 0.18) 0 58%, transparent 60%),
    radial-gradient(ellipse 64px 28px at 88% 24%, rgba(255, 171, 210, 0.14) 0 58%, transparent 60%),
    var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
}

.coupon-head h2 {
  margin: 12px 0 0;
  font-size: clamp(1.52rem, 2.3vw, 2.06rem);
  font-weight: 500;
}

.coupon-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.coupon-card {
  min-height: 240px;
  border-radius: 30px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  transition:
    transform 220ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 220ms ease,
    border-color 220ms ease,
    background 220ms ease;
}

.coupon-card:nth-child(1) {
  background:
    radial-gradient(circle at 86% 14%, rgba(255, 183, 222, 0.7), transparent 26%),
    linear-gradient(180deg, rgba(255, 245, 250, 0.98), rgba(255, 225, 238, 0.9));
  border-color: rgba(229, 132, 179, 0.24);
}

.coupon-card:nth-child(2) {
  background:
    radial-gradient(circle at 84% 16%, rgba(244, 209, 234, 0.66), transparent 28%),
    linear-gradient(180deg, rgba(252, 245, 250, 0.98), rgba(239, 229, 246, 0.9));
  border-color: rgba(210, 139, 186, 0.24);
}

.coupon-card:nth-child(4) {
  background:
    radial-gradient(circle at 82% 15%, rgba(255, 204, 208, 0.64), transparent 28%),
    linear-gradient(180deg, rgba(255, 246, 248, 0.98), rgba(255, 228, 233, 0.9));
  border-color: rgba(230, 141, 168, 0.24);
}

.coupon-card h3 {
  margin: 18px 0 12px;
  font-size: 1.45rem;
  font-family: "Songti SC", "STSong", "Noto Serif SC", serif;
  font-weight: 500;
}

.coupon-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 250, 252, 0.9);
  border-color: rgba(205, 90, 144, 0.24);
  box-shadow:
    0 22px 40px rgba(197, 108, 146, 0.14),
    0 0 0 1px rgba(255, 255, 255, 0.42) inset;
}

.coupon-card-booklet {
  background:
    radial-gradient(circle at 84% 12%, rgba(255, 232, 216, 0.58), transparent 28%),
    linear-gradient(180deg, rgba(255, 252, 248, 0.96), rgba(255, 246, 241, 0.9));
  border-color: rgba(204, 144, 121, 0.18);
}

.coupon-card-booklet:hover {
  background:
    radial-gradient(circle at 84% 12%, rgba(255, 228, 210, 0.68), transparent 30%),
    linear-gradient(180deg, rgba(255, 253, 249, 0.98), rgba(255, 245, 239, 0.94));
}

.memory-booklet-cover {
  position: relative;
  margin-top: 10px;
  margin-bottom: 18px;
  padding: 16px 16px 14px 18px;
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(255, 249, 243, 0.98), rgba(255, 238, 231, 0.94)),
    linear-gradient(180deg, rgba(255,255,255,0.82), rgba(255,255,255,0.42));
  border: 1px solid rgba(193, 136, 112, 0.22);
  box-shadow:
    0 18px 30px rgba(188, 137, 110, 0.14),
    inset 0 0 0 1px rgba(255, 255, 255, 0.54);
  overflow: hidden;
  transition:
    transform 260ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 260ms ease,
    border-color 260ms ease;
}

.memory-booklet-cover::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 16px;
  border-radius: 24px 0 0 24px;
  background:
    linear-gradient(180deg, rgba(218, 155, 128, 0.92), rgba(177, 112, 92, 0.98));
  box-shadow:
    inset -1px 0 0 rgba(255,255,255,0.22),
    inset -4px 0 10px rgba(123, 69, 53, 0.12);
}

.memory-booklet-month,
.memory-booklet-meta {
  display: block;
  margin-left: 18px;
}

.memory-booklet-month {
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(159, 97, 78, 0.78);
}

.memory-booklet-name {
  display: block;
  margin: 8px 0 14px 18px;
  font-size: 1rem;
  line-height: 1.35;
  color: rgba(103, 56, 46, 0.92);
  font-family: "Songti SC", "STSong", "Noto Serif SC", serif;
  font-weight: 600;
}

.memory-booklet-photos {
  position: relative;
  height: 78px;
  margin-left: 18px;
}

.memory-booklet-photo {
  position: absolute;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: 0 14px 24px rgba(184, 132, 109, 0.16);
  transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

.memory-booklet-photo-main {
  inset: 0 auto auto 0;
  width: 112px;
  height: 78px;
  background:
    radial-gradient(circle at 70% 24%, rgba(255, 242, 233, 0.74), transparent 26%),
    linear-gradient(135deg, rgba(255, 193, 179, 0.92), rgba(243, 149, 162, 0.86) 52%, rgba(172, 135, 194, 0.82));
}

.memory-booklet-photo-side {
  top: 10px;
  left: 88px;
  width: 68px;
  height: 54px;
  transform: rotate(8deg);
  background:
    linear-gradient(160deg, rgba(255, 223, 203, 0.92), rgba(223, 178, 214, 0.86)),
    linear-gradient(180deg, rgba(255,255,255,0.35), rgba(255,255,255,0));
}

.memory-booklet-quote {
  position: relative;
  margin: 16px 0 10px 18px;
  max-width: 154px;
  font-size: 0.84rem;
  line-height: 1.55;
  color: rgba(116, 68, 57, 0.84);
}

.memory-booklet-quote::before {
  content: "“";
  position: absolute;
  left: -10px;
  top: -6px;
  font-size: 1.4rem;
  color: rgba(190, 122, 100, 0.38);
}

.memory-booklet-meta {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: rgba(154, 99, 82, 0.68);
}

.coupon-card-booklet:hover .memory-booklet-cover {
  transform: rotate(-1.2deg) translateY(-2px);
  border-color: rgba(193, 136, 112, 0.3);
  box-shadow:
    0 24px 34px rgba(188, 137, 110, 0.18),
    inset 0 0 0 1px rgba(255, 255, 255, 0.62);
}

.coupon-card-booklet:hover .memory-booklet-photo-main {
  transform: rotate(-2deg) translateY(-1px);
}

.coupon-card-booklet:hover .memory-booklet-photo-side {
  transform: rotate(12deg) translate(4px, -3px);
}

.footer-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.footer-strip article {
  border-radius: 30px;
  padding: 20px;
}

.footer-strip article:nth-child(1) {
  background:
    radial-gradient(circle at 88% 16%, rgba(255, 201, 225, 0.5), transparent 24%),
    linear-gradient(180deg, rgba(255, 247, 251, 0.96), rgba(255, 232, 242, 0.88));
  border: 1px solid rgba(232, 148, 186, 0.2);
}

.footer-strip article:nth-child(2) {
  background:
    radial-gradient(circle at 88% 16%, rgba(245, 214, 236, 0.52), transparent 24%),
    linear-gradient(180deg, rgba(252, 246, 251, 0.96), rgba(241, 232, 246, 0.88));
  border: 1px solid rgba(205, 153, 200, 0.2);
}

.footer-strip article:nth-child(3) {
  background:
    radial-gradient(circle at 88% 16%, rgba(255, 210, 214, 0.5), transparent 24%),
    linear-gradient(180deg, rgba(255, 246, 248, 0.96), rgba(255, 231, 236, 0.88));
  border: 1px solid rgba(233, 154, 173, 0.2);
}

.footer-strip strong {
  display: block;
  margin-bottom: 8px;
  color: var(--pink-soft);
  font-size: 2rem;
  font-family: "Songti SC", "STSong", "Noto Serif SC", serif;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  animation: rise 760ms cubic-bezier(0.21, 1, 0.3, 1) forwards;
}

.delay-1 {
  animation-delay: 110ms;
}

.delay-2 {
  animation-delay: 220ms;
}

.delay-3 {
  animation-delay: 330ms;
}

.auth-mini-card {
  display: grid;
  gap: 8px;
  padding: 16px 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(205, 90, 144, 0.12);
  box-shadow: 0 16px 28px rgba(236, 79, 149, 0.08);
  backdrop-filter: blur(16px);
}

.auth-mini-card strong {
  font-family: "Songti SC", "STSong", "Noto Serif SC", serif;
  font-size: 1.15rem;
  font-weight: 500;
  color: rgba(98, 54, 77, 0.94);
}

.auth-mini-card span {
  color: var(--muted);
  line-height: 1.7;
  font-size: 0.92rem;
}

.auth-modal {
  position: fixed;
  inset: 0;
  z-index: 32;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

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

.auth-modal-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  background: rgba(71, 24, 49, 0.26);
  backdrop-filter: blur(8px);
}

.auth-modal-panel {
  position: relative;
  width: min(880px, calc(100vw - 28px));
  max-height: min(90vh, 920px);
  overflow: auto;
  padding: 28px;
  border-radius: 34px;
  background:
    radial-gradient(circle at top right, rgba(255, 222, 236, 0.58), transparent 24%),
    linear-gradient(180deg, rgba(255, 250, 252, 0.94), rgba(255, 241, 247, 0.96));
  border: 1px solid rgba(205, 90, 144, 0.14);
  box-shadow: 0 34px 80px rgba(110, 38, 74, 0.18);
  backdrop-filter: blur(20px);
}

.auth-modal-head,
.auth-tab-row,
.auth-role-row,
.auth-inline-row,
.auth-verify-row,
.auth-pair-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.auth-modal-head,
.auth-pair-head {
  justify-content: space-between;
  flex-wrap: wrap;
}

.auth-modal-head h2,
.auth-pair-head h3 {
  margin: 10px 0 0;
  font-family: "Songti SC", "STSong", "Noto Serif SC", serif;
  font-weight: 500;
}

.auth-modal-head h2 {
  font-size: clamp(1.78rem, 2.8vw, 2.56rem);
}

.auth-pair-head h3 {
  font-size: clamp(1.3rem, 2vw, 1.72rem);
}

.auth-modal-copy {
  max-width: 34rem;
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.82;
}

.auth-session-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--pink-strong);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(205, 90, 144, 0.14);
}

.auth-tab-row {
  margin-top: 22px;
}

.auth-tab-row .role-chip,
.auth-role-row .role-chip {
  min-width: 120px;
}

.auth-notice {
  margin-top: 18px;
  padding: 14px 18px;
  border-radius: 20px;
  line-height: 1.72;
  border: 1px solid rgba(205, 90, 144, 0.12);
}

.auth-notice-info {
  color: rgba(101, 52, 79, 0.92);
  background: rgba(255, 255, 255, 0.62);
}

.auth-notice-error {
  color: #9f3759;
  background: rgba(255, 238, 244, 0.9);
}

.auth-notice-success {
  color: #7b5e33;
  background: rgba(255, 249, 236, 0.92);
}

.auth-notice-preview {
  color: var(--pink-strong);
  background: rgba(255, 243, 248, 0.94);
}

.auth-view,
.auth-pair-panel {
  margin-top: 22px;
}

.auth-form-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.auth-form-grid > :first-child {
  grid-column: 1 / -1;
}

.auth-role-row {
  flex-wrap: wrap;
  margin-top: 10px;
}

.auth-inline-row {
  margin-top: 18px;
}

.auth-verify-row {
  margin-top: 18px;
  align-items: end;
}

.auth-verify-row label,
.auth-pair-card label {
  flex: 1;
}

.auth-action-button,
.auth-verify-button {
  min-height: 56px;
}

.auth-verify-button {
  min-width: 164px;
}

.auth-pair-summary {
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 20px;
  color: rgba(101, 52, 79, 0.92);
  background: rgba(255, 255, 255, 0.56);
  border: 1px solid rgba(205, 90, 144, 0.12);
  line-height: 1.76;
}

.auth-pair-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 18px;
}

.auth-pair-card {
  padding: 20px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(205, 90, 144, 0.12);
}

.auth-pair-card p {
  color: var(--muted);
  line-height: 1.74;
}

.auth-pair-code {
  display: block;
  margin: 18px 0 10px;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1;
  letter-spacing: 0.14em;
  color: var(--pink-strong);
  font-family: "Songti SC", "STSong", "Noto Serif SC", serif;
}

body.auth-modal-open {
  overflow: hidden;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(18px, -24px, 0);
  }
}

@keyframes fragmentTwinkle {
  0%,
  100% {
    opacity: 0.28;
    transform: scale(0.92);
  }
  50% {
    opacity: 0.92;
    transform: scale(1.16);
  }
}

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

@keyframes popHeart {
  0% {
    transform: rotate(-45deg) scale(0.76);
  }
  60% {
    transform: rotate(-45deg) scale(1.28);
  }
  100% {
    transform: rotate(-45deg) scale(1.12);
  }
}

@keyframes burst {
  0% {
    opacity: 0;
    transform: rotate(-45deg) scale(0.5) translateY(0);
  }
  18% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: rotate(-45deg) scale(1.1) translateY(-24px);
  }
}

@keyframes bobHeart {
  0%,
  100% {
    transform: rotate(-45deg) translateY(0) scale(1);
  }
  50% {
    transform: rotate(-45deg) translateY(-10px) scale(1.08);
  }
}

@keyframes popTinyHeart {
  0%,
  100% {
    transform: rotate(-45deg) scale(0.94);
    opacity: 0.7;
  }
  50% {
    transform: rotate(-45deg) scale(1.14);
    opacity: 1;
  }
}

@keyframes orbHeartbeat {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  10% {
    transform: translateY(calc(var(--heartbeat-rise) * -0.35)) scale(var(--heartbeat-echo));
  }
  18% {
    transform: translateY(calc(var(--heartbeat-rise) * -1)) scale(var(--heartbeat-peak));
  }
  26% {
    transform: translateY(0) scale(0.992);
  }
  36% {
    transform: translateY(calc(var(--heartbeat-rise) * -0.62)) scale(var(--heartbeat-mid));
  }
  48% {
    transform: translateY(0) scale(1);
  }
}

@keyframes orbRingPulse {
  0%,
  100% {
    opacity: 0.28;
    transform: rotate(var(--ring-rotation)) scale(0.985);
  }
  16% {
    opacity: calc(var(--ring-pulse-opacity) + 0.08);
    transform: rotate(var(--ring-rotation)) scale(1.02);
  }
  30% {
    opacity: 0.12;
    transform: rotate(var(--ring-rotation)) scale(1.06);
  }
  48% {
    opacity: 0.24;
    transform: rotate(var(--ring-rotation)) scale(1);
  }
}

@keyframes orbGlow {
  0%,
  100% {
    opacity: 0.48;
    transform: scale(0.96);
  }
  18% {
    opacity: 0.8;
    transform: scale(1.08);
  }
  36% {
    opacity: 0.6;
    transform: scale(1.02);
  }
  52% {
    opacity: 0.5;
    transform: scale(0.98);
  }
}

@keyframes scoreHeartBeat {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  10% {
    transform: translateY(-2px) scale(1.015);
  }
  18% {
    transform: translateY(-5px) scale(1.04);
  }
  28% {
    transform: translateY(0) scale(0.985);
  }
  38% {
    transform: translateY(-3px) scale(1.02);
  }
  50% {
    transform: translateY(0) scale(1);
  }
}

@keyframes ctaHeartBeat {
  0%,
  100% {
    transform: translateY(0) scale(1);
    box-shadow:
      0 10px 24px rgba(236, 79, 149, 0.14),
      0 0 0 0 rgba(255, 47, 151, 0);
  }
  12% {
    transform: translateY(-1px) scale(1.04);
    box-shadow:
      0 16px 30px rgba(236, 79, 149, 0.18),
      0 0 0 8px rgba(255, 47, 151, 0.08);
  }
  22% {
    transform: translateY(-3px) scale(1.09);
    box-shadow:
      0 20px 34px rgba(236, 79, 149, 0.22),
      0 0 0 14px rgba(255, 47, 151, 0.12);
  }
  32% {
    transform: translateY(0) scale(0.98);
    box-shadow:
      0 10px 22px rgba(236, 79, 149, 0.14),
      0 0 0 4px rgba(255, 47, 151, 0.04);
  }
  44% {
    transform: translateY(-1px) scale(1.03);
    box-shadow:
      0 14px 26px rgba(236, 79, 149, 0.16),
      0 0 0 9px rgba(255, 47, 151, 0.06);
  }
  56% {
    transform: translateY(0) scale(1);
    box-shadow:
      0 10px 24px rgba(236, 79, 149, 0.14),
      0 0 0 0 rgba(255, 47, 151, 0);
  }
}

@keyframes constellationPulse {
  0%,
  100% {
    filter: drop-shadow(0 0 0 rgba(255, 123, 186, 0));
  }
  45% {
    filter: drop-shadow(0 0 12px rgba(255, 123, 186, 0.28));
  }
}

@keyframes constellationHeartBeat {
  0%,
  100% {
    transform: scale(1);
  }
  12% {
    transform: scale(1.08);
  }
  22% {
    transform: scale(1.14);
  }
  34% {
    transform: scale(0.97);
  }
  46% {
    transform: scale(1.06);
  }
  58% {
    transform: scale(1);
  }
}

@keyframes constellationHaloBeat {
  0%,
  100% {
    transform: scale(0.96);
    opacity: 0.34;
  }
  18% {
    transform: scale(1.08);
    opacity: 0.42;
  }
  32% {
    transform: scale(1.22);
    opacity: 0.28;
  }
  52% {
    transform: scale(1);
    opacity: 0.2;
  }
}

@keyframes constellationFragmentTwinkle {
  0%,
  100% {
    opacity: 0.22;
    transform: scale(0.78);
  }
  32% {
    opacity: 0.72;
    transform: scale(1.12);
  }
  56% {
    opacity: 0.4;
    transform: scale(0.92);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-orb,
  .hero-orb::before,
  .orb-ring,
  .orb-score-panel,
  #jump-to-demo,
  .memory-fragment,
  .constellation-node.strong {
    animation: none;
  }
}

@media (max-width: 1100px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-brand,
  .hero-side {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
  }

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

  .album-page-top {
    align-items: flex-start;
  }

  .story-slide,
  .interaction-shell,
  .gift-library-grid,
  .coupon-grid,
  .footer-strip {
    grid-template-columns: 1fr;
  }

  .story-slide {
    min-height: auto;
  }

  .story-slide-visual {
    min-height: 440px;
  }

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

  .vault-shell,
  .constellation-shell,
  .vault-spotlight-grid,
  .playback-lines,
  .playback-photo-strip {
    grid-template-columns: 1fr;
  }

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

  .album-grid[data-layout="expanded"] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .archive-list {
    grid-template-columns: 1fr;
  }

  .constellation-stage {
    min-height: 520px;
  }

  .album-memory-card.compact {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .album-memory-card.compact .album-memory-photo {
    min-height: 340px;
  }

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

  .center-core {
    min-height: 220px;
  }

  .core-track {
    width: auto;
    height: 1px;
    left: 10%;
    right: 10%;
    top: 50%;
    bottom: auto;
  }
}

@media (max-width: 1080px) {
  .gift-page-body {
    grid-template-columns: 1fr;
  }

  .gift-page-detail-card {
    position: static;
  }

  .gift-page-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .page-shell {
    width: min(100% - 18px, 100%);
    padding-top: 18px;
  }

  .page-shell::before,
  .page-shell::after {
    opacity: 0.22;
  }

  .storyboard,
  .question-stage,
  .interaction-shell,
  .result-card,
  .heart-vault,
  .memory-album,
  .memory-archive,
  .coupon-section,
  .result-modal-panel,
  .auth-modal-panel {
    padding: 22px;
    border-radius: 26px;
  }

  .auth-modal {
    padding: 12px;
  }

  .auth-form-grid,
  .auth-pair-grid {
    grid-template-columns: 1fr;
  }

  .auth-verify-row,
  .auth-tab-row,
  .auth-role-row {
    flex-direction: column;
    align-items: stretch;
  }

  .auth-verify-button,
  .auth-action-button,
  .auth-tab-row .role-chip,
  .auth-role-row .role-chip {
    width: 100%;
  }

  .hero-center h1 {
    font-size: 3.2rem;
    margin-top: 28px;
  }

  .hero-sticker {
    right: 8%;
    top: -2px;
  }

  .hero-orb {
    width: 300px;
    height: 300px;
  }

  .orb-core {
    width: 152px;
    height: 152px;
  }

  .orb-core strong {
    font-size: 2.2rem;
  }

  .storyboard-head h2,
  .story-slide-copy h3,
  .question-stage h2 {
    font-size: 2.1rem;
  }

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

  .storyboard-head,
  .modal-head {
    align-items: stretch;
  }

  .storyboard-controls,
  .story-dots {
    width: 100%;
  }

  .storyboard-controls {
    justify-content: space-between;
  }

  .story-slide {
    padding: 6px 0 0;
    gap: 20px;
  }

  .story-slide-copy {
    padding: 0;
  }

  .album-status {
    min-width: 0;
    width: 100%;
    align-items: flex-start;
  }

  .gift-library-status {
    min-width: 0;
    width: 100%;
    align-items: flex-start;
  }

  .gift-library-status p {
    text-align: left;
  }

  .album-page-actions {
    width: 100%;
    align-items: stretch;
    flex-direction: column;
  }

  .gift-page-top {
    align-items: flex-start;
  }

  .gift-page-actions {
    width: 100%;
    align-items: stretch;
    flex-direction: column;
  }

  .vault-status {
    min-width: 0;
    width: 100%;
    align-items: flex-start;
  }

  .constellation-status {
    min-width: 0;
    width: 100%;
    align-items: flex-start;
  }

  .archive-status {
    min-width: 0;
    width: 100%;
    align-items: flex-start;
  }

  .album-preview-card,
  .album-grid {
    grid-template-columns: 1fr;
  }

  .album-standalone .album-grid {
    grid-template-columns: 1fr;
  }

  .album-memory-card.compact .album-memory-photo {
    min-height: 260px;
  }

  .archive-toolbar,
  .archive-filter-group,
  .archive-snippets {
    width: 100%;
  }

  .constellation-stage {
    min-height: 420px;
  }

  .archive-linked-photo {
    width: 100%;
  }

  .archive-snippet {
    flex-basis: 100%;
  }

  .album-preview-media {
    min-height: 220px;
  }

  .constellation-list-card strong {
    font-size: 1rem;
  }

  .story-slide-copy > p,
  .mini-chat {
    max-width: none;
  }

  .portrait-stack {
    position: static;
    justify-content: center;
    margin-bottom: 14px;
    flex-wrap: wrap;
  }

  .night-window,
  .memory-board,
  .gift-preview {
    min-height: 340px;
  }

  .window-girl {
    right: 28px;
    transform: scale(0.86);
    transform-origin: bottom right;
  }

  .result-modal {
    padding: 12px;
  }

  .playback-modal {
    padding: 12px;
  }

  .modal-score-orb {
    min-width: 0;
    width: 100%;
  }
}
