:root {
  color-scheme: light;
  --ink: #2c2630;
  --ink-soft: #574b58;
  --muted: #7a7178;
  --paper: #fff8ef;
  --paper-2: #fffdf8;
  --tea: #e9f5ee;
  --blush: #ffe3df;
  --candy: #ff6f83;
  --magic-red: #f04f5f;
  --magic-gold: #ffd36b;
  --apricot: #f8b880;
  --rose: #d95768;
  --mint: #3eaa98;
  --blue: #5e86c7;
  --plum: #6c557d;
  --honey: #e7b85a;
  --line: rgba(44, 38, 48, 0.13);
  --shadow: 0 28px 78px rgba(44, 38, 48, 0.15);
  --soft-shadow: 0 16px 44px rgba(44, 38, 48, 0.10);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(44, 38, 48, 0.035) 1px, transparent 1px),
    linear-gradient(rgba(44, 38, 48, 0.035) 1px, transparent 1px),
    linear-gradient(130deg, #fff1ed 0%, #fffdf8 38%, #fff8e3 56%, #eef8f3 78%, #f6eff8 100%);
  background-size: 34px 34px, 34px 34px, auto;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,.34) 0 1px, transparent 1px 8px),
    linear-gradient(120deg, rgba(255,255,255,.42), rgba(255,255,255,0) 46%);
  mix-blend-mode: soft-light;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .32;
  background-image: radial-gradient(rgba(44, 38, 48, .18) .7px, transparent .7px);
  background-size: 6px 6px;
}

.progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: 4px;
  background: rgba(44, 38, 48, .08);
}

.progress i {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--magic-red), var(--magic-gold), var(--mint), var(--blue));
}

.scene-nav {
  position: fixed;
  right: 18px;
  top: 50%;
  z-index: 40;
  display: grid;
  gap: 10px;
  transform: translateY(-50%);
}

.scene-nav a {
  width: 12px;
  height: 12px;
  border: 1px solid rgba(44, 38, 48, .32);
  border-radius: 99px;
  background: rgba(255,255,255,.64);
  box-shadow: 0 8px 22px rgba(44, 38, 48, .12);
  text-indent: -999px;
  overflow: hidden;
  transition: transform .25s ease, background-color .25s ease, border-color .25s ease;
}

.scene-nav a.is-active {
  transform: scale(1.55);
  background: var(--magic-red);
  border-color: var(--magic-red);
}

.scene {
  min-height: 100vh;
  display: grid;
  align-items: center;
  padding: 96px 0;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.scene::before {
  content: "";
  position: absolute;
  left: max(24px, calc((100vw - 1180px) / 2 - 44px));
  top: 84px;
  bottom: 84px;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(217, 87, 104, .28), rgba(62, 170, 152, .26), transparent);
}

.scene-inner {
  width: min(1180px, calc(100vw - 48px));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero {
  background:
    linear-gradient(120deg, rgba(255, 218, 213, .86), rgba(255, 253, 248, .56) 38%, rgba(255, 247, 212, .72) 62%, rgba(233, 245, 238, .72));
}

.angela-sparkles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.angela-sparkles i {
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 2px 50% 50%;
  background: linear-gradient(135deg, var(--magic-gold), var(--magic-red));
  box-shadow: 0 0 24px rgba(240, 79, 95, .28);
  transform: rotate(45deg);
  animation: sparkleFloat 4.2s ease-in-out infinite;
}

.angela-sparkles i::before,
.angela-sparkles i::after {
  content: "";
  position: absolute;
  border-radius: inherit;
  background: inherit;
}

.angela-sparkles i::before {
  inset: 5px -5px;
  opacity: .58;
}

.angela-sparkles i::after {
  inset: -5px 5px;
  opacity: .42;
}

.angela-sparkles i:nth-child(1) { left: 8%; top: 18%; animation-delay: -.2s; }
.angela-sparkles i:nth-child(2) { left: 42%; top: 14%; width: 11px; height: 11px; animation-delay: -1.1s; }
.angela-sparkles i:nth-child(3) { right: 9%; top: 24%; animation-delay: -2s; }
.angela-sparkles i:nth-child(4) { left: 58%; bottom: 18%; width: 13px; height: 13px; animation-delay: -1.6s; }
.angela-sparkles i:nth-child(5) { left: 17%; bottom: 26%; width: 10px; height: 10px; animation-delay: -2.8s; }

@keyframes sparkleFloat {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(45deg) scale(.9); opacity: .38; }
  50% { transform: translate3d(0, -18px, 0) rotate(45deg) scale(1.15); opacity: .82; }
}

.hero-grid,
.two-col,
.warm-grid,
.media-grid,
.temperature-layout,
.clock-board {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .88fr);
  gap: 56px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--rose);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  border-radius: 99px;
  background: currentColor;
}

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

h1,
h2,
h3 {
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 26px;
  font-family: "KaiTi", "STKaiti", "Microsoft YaHei", serif;
  font-size: 92px;
  font-weight: 800;
}

h2 {
  max-width: 820px;
  margin-bottom: 24px;
  font-family: "KaiTi", "STKaiti", "Microsoft YaHei", serif;
  font-size: 56px;
  font-weight: 800;
}

h3 {
  margin-bottom: 16px;
  font-size: 22px;
}

.lead,
.letter-paper p,
.section-head p,
#finalNote {
  max-width: 720px;
  color: var(--ink-soft);
  font-size: 20px;
  line-height: 1.85;
}

.lead.small {
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255,255,255,.62);
  text-decoration: none;
  font-weight: 800;
  box-shadow: var(--soft-shadow);
  transition: transform .25s ease, background-color .25s ease;
}

.hero-actions a:hover {
  transform: translateY(-3px);
  background: white;
}

.hero-art {
  position: relative;
  min-height: 560px;
}

.phone-shell {
  width: min(390px, 100%);
  min-height: 540px;
  margin-left: auto;
  padding: 26px 24px;
  border: 1px solid rgba(44, 38, 48, .18);
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.94), rgba(255,246,239,.86)),
    var(--paper-2);
  box-shadow: var(--shadow);
  transform: rotate(1.2deg);
  position: relative;
}

.phone-shell::before {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(255, 211, 107, .42);
  border-radius: 24px;
  pointer-events: none;
}

.magic-book {
  position: absolute;
  right: -22px;
  top: 88px;
  z-index: 2;
  width: 74px;
  height: 56px;
  border: 2px solid rgba(44, 38, 48, .16);
  border-radius: 8px 18px 18px 8px;
  background:
    linear-gradient(90deg, rgba(255,255,255,.35) 0 48%, rgba(44,38,48,.1) 49% 51%, rgba(255,255,255,.26) 52%),
    linear-gradient(135deg, #ff6f83, #ffb15d);
  box-shadow: 0 16px 36px rgba(240, 79, 95, .22);
  transform: rotate(9deg);
}

.magic-book::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 12px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--magic-gold);
  box-shadow: 22px 9px 0 rgba(255,255,255,.54), 38px -2px 0 rgba(255, 211, 107, .74);
}

.magic-book span {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 11px;
  height: 3px;
  border-radius: 99px;
  background: rgba(255,255,255,.7);
}

.phone-top {
  width: 86px;
  height: 7px;
  margin: 0 auto 46px;
  border-radius: 99px;
  background: rgba(44, 38, 48, .18);
}

.phone-total {
  display: grid;
  gap: 8px;
  padding: 12px 4px 28px;
}

.phone-total span {
  color: var(--muted);
  font-size: 16px;
  font-weight: 900;
}

.phone-total strong {
  color: var(--magic-red);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 78px;
  line-height: 1;
}

.mini-bubbles {
  display: grid;
  gap: 12px;
}

.mini-bubble,
.river-bubble,
.chat-bubble {
  border: 1px solid rgba(44, 38, 48, .08);
  border-radius: 18px;
  background: white;
  box-shadow: 0 12px 30px rgba(44, 38, 48, .09);
}

.mini-bubble {
  max-width: 88%;
  padding: 12px 14px;
  color: var(--ink-soft);
  line-height: 1.55;
}

.mini-bubble:nth-child(2n) {
  justify-self: end;
  background: #eaf8f3;
}

.mini-bubble:first-child,
.chat-bubble:first-child {
  background: linear-gradient(135deg, #fff6d8, #ffe3e8);
  border-color: rgba(240, 79, 95, .22);
}

.angela-sticker {
  position: absolute;
  right: 300px;
  top: 18px;
  z-index: 3;
  width: 172px;
  height: auto;
  filter: drop-shadow(0 18px 24px rgba(126, 51, 80, .22));
  transform: rotate(-8deg);
  animation: stickerBob 4.8s ease-in-out infinite;
}

.decor-sticker {
  position: absolute;
  z-index: 2;
  width: 128px;
  height: auto;
  pointer-events: none;
  filter: drop-shadow(0 18px 24px rgba(126, 51, 80, .18));
  animation: stickerBob 5.2s ease-in-out infinite;
}

.sticker-heart {
  right: max(36px, calc((100vw - 1180px) / 2 + 20px));
  top: 86px;
  transform: rotate(8deg);
}

.warm-fire {
  left: max(24px, calc((100vw - 1180px) / 2 - 6px));
  bottom: 78px;
  width: 118px;
  animation-delay: -1.2s;
}

.words-q {
  right: max(24px, calc((100vw - 1180px) / 2 - 18px));
  top: 72px;
  width: 140px;
  transform: rotate(7deg);
  animation-delay: -.7s;
}

.media-fire {
  right: max(28px, calc((100vw - 1180px) / 2 + 18px));
  bottom: 70px;
  width: 126px;
  animation-delay: -1.8s;
}

.finale-heart {
  right: max(34px, calc((100vw - 1180px) / 2 + 42px));
  top: 86px;
  width: 150px;
  animation-delay: -1.5s;
}

@keyframes stickerBob {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-8deg); }
  50% { transform: translate3d(0, -10px, 0) rotate(-5deg); }
}

.letter::after,
.warm-lines::after,
.words::after,
.media-night::after,
.temperature::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .42;
  background:
    radial-gradient(circle at 14% 28%, rgba(255, 211, 107, .58) 0 3px, transparent 4px),
    radial-gradient(circle at 78% 18%, rgba(240, 79, 95, .42) 0 4px, transparent 5px),
    radial-gradient(circle at 86% 76%, rgba(255, 211, 107, .46) 0 3px, transparent 4px),
    radial-gradient(circle at 32% 82%, rgba(240, 79, 95, .34) 0 3px, transparent 4px);
}

.warm-lines .section-head,
.words .section-head {
  position: relative;
}

.date-ticket {
  position: absolute;
  right: 270px;
  bottom: 54px;
  width: 250px;
  padding: 18px;
  border: 1px dashed rgba(44, 38, 48, .2);
  border-radius: 8px;
  background: #fffdf8;
  box-shadow: var(--soft-shadow);
  color: var(--muted);
  font-weight: 800;
  transform: rotate(-5deg);
}

.message-river {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 34px;
  height: 148px;
  pointer-events: none;
  opacity: .72;
}

.river-bubble {
  position: absolute;
  min-width: 90px;
  max-width: 240px;
  padding: 10px 14px;
  font-size: 14px;
  animation: riverMove 14s linear infinite;
}

.river-bubble:nth-child(3n) {
  background: #fff0ec;
}

.river-bubble:nth-child(3n + 1) {
  background: #eef9f3;
}

@keyframes riverMove {
  from { transform: translate3d(112vw, 0, 0); }
  to { transform: translate3d(-280px, 0, 0); }
}

.letter {
  background: linear-gradient(180deg, rgba(255,253,248,.74), rgba(233,245,238,.76));
}

.letter-paper,
.stat-card,
.phase-card,
.chat-bubble,
.top-day,
.response-card,
.opener-panel,
.sentence-card,
.question-card,
.habit-card,
.type-item,
.night-card,
.change-grid > div,
.signal {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,.74);
  box-shadow: var(--soft-shadow);
  backdrop-filter: blur(10px);
}

.letter-paper {
  padding: 42px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.84), rgba(255,248,239,.78)),
    var(--paper-2);
}

.stat-mosaic {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.stat-card {
  min-height: 154px;
  padding: 22px;
  display: grid;
  align-content: space-between;
  overflow: hidden;
  position: relative;
}

.stat-card::after {
  content: "";
  position: absolute;
  inset: auto 16px 16px;
  height: 5px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--rose), var(--honey), var(--mint));
  transform: scaleX(var(--ratio, .4));
  transform-origin: left;
}

.stat-card span,
.phase-card span,
.response-card span,
.type-item span,
.top-day span,
.chat-bubble small,
.habit-row span,
.change-item span,
.change-item small,
.signal span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.stat-card strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 44px;
  line-height: 1;
}

.section-head {
  margin-bottom: 42px;
}

.phase-reel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.phase-card {
  min-height: 420px;
  padding: 24px;
  display: grid;
  align-content: start;
  gap: 14px;
  overflow: hidden;
}

.phase-card:nth-child(2) {
  transform: translateY(-20px);
}

.phase-card:nth-child(3) {
  transform: translateY(18px);
}

.phase-card strong {
  color: var(--plum);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 48px;
  line-height: 1;
}

.phase-card p {
  color: var(--ink-soft);
  line-height: 1.7;
}

.topic-pills,
.phase-words {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.topic-pills i,
.phase-words i {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(233, 245, 238, .9);
  color: var(--ink-soft);
  font-style: normal;
  font-weight: 800;
}

.warm-lines {
  background:
    linear-gradient(180deg, rgba(255, 244, 234, .76), rgba(255, 253, 248, .82) 44%, rgba(239, 247, 242, .9));
}

.chat-stack {
  display: grid;
  gap: 16px;
}

.chat-bubble {
  padding: 20px 22px;
  position: relative;
}

.chat-bubble::before {
  content: "";
  position: absolute;
  left: 18px;
  bottom: -8px;
  width: 18px;
  height: 18px;
  border-left: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: inherit;
  transform: rotate(-45deg);
}

.chat-bubble:nth-child(2n) {
  margin-left: 42px;
  background: rgba(234, 248, 243, .9);
}

.chat-bubble p {
  margin: 0 0 10px;
  font-size: 21px;
  line-height: 1.55;
}

.rhythm {
  background: linear-gradient(180deg, rgba(250, 247, 251, .84), rgba(255,253,248,.78));
}

.hour-chart {
  height: 430px;
  display: grid;
  grid-template-columns: repeat(24, minmax(0, 1fr));
  align-items: end;
  gap: 6px;
  padding: 20px 0 34px;
  border-bottom: 1px solid var(--line);
}

.hour {
  min-height: 16px;
  border-radius: 8px 8px 2px 2px;
  background: linear-gradient(180deg, var(--apricot), var(--rose));
  transform: scaleY(.08);
  transform-origin: bottom;
  transition: transform .9s cubic-bezier(.2,.8,.2,1);
  position: relative;
  box-shadow: 0 12px 28px rgba(217, 87, 104, .16);
}

.hour small,
.hour em {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

.hour small {
  bottom: -28px;
}

.hour em {
  top: -26px;
  opacity: 0;
}

.hour:hover em {
  opacity: 1;
}

.is-visible .hour {
  transform: scaleY(1);
}

.top-days {
  display: grid;
  gap: 12px;
}

.top-day {
  padding: 16px;
}

.top-day strong,
.response-card strong,
.type-item strong,
.signal strong {
  display: block;
  margin-top: 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
}

.meter {
  height: 10px;
  margin-top: 12px;
  border-radius: 999px;
  background: rgba(44, 38, 48, .1);
  overflow: hidden;
}

.meter i {
  display: block;
  width: var(--w);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--mint), var(--honey), var(--rose));
  transform: scaleX(.05);
  transform-origin: left;
  transition: transform .75s cubic-bezier(.2,.8,.2,1);
}

.is-visible .meter i {
  transform: scaleX(1);
}

.response-grid,
.habit-grid,
.type-list {
  display: grid;
  gap: 14px;
}

.response-card,
.opener-panel,
.habit-card,
.type-item,
.night-card {
  padding: 22px;
}

.response-card p,
.night-card p {
  color: var(--ink-soft);
  line-height: 1.7;
}

.opener-panel {
  margin-top: 28px;
}

.opener-row,
.habit-row,
.change-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.opener-row:first-child,
.habit-row:first-of-type,
.change-item:first-child {
  border-top: 0;
}

.opener-row .meter {
  grid-column: 1 / -1;
  margin-top: 0;
}

.words-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(330px, .72fr) minmax(330px, .72fr);
  gap: 18px;
  align-items: start;
}

.word-cloud {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  min-height: 520px;
  gap: 10px;
}

.word {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.76);
  box-shadow: 0 10px 24px rgba(44, 38, 48, .08);
  font-weight: 900;
  opacity: 0;
  transform: translateY(18px);
  transition: transform .55s ease var(--d), opacity .55s ease var(--d);
}

.sentence-panel,
.question-panel {
  display: grid;
  gap: 12px;
}

.sentence-card,
.question-card {
  padding: 17px;
}

.sentence-card strong,
.question-card strong {
  color: var(--rose);
}

.sentence-card p,
.question-card p {
  margin: 8px 0 0;
  color: var(--ink-soft);
  line-height: 1.55;
}

.habit-card h3 {
  margin-bottom: 4px;
  font-family: "KaiTi", "STKaiti", "Microsoft YaHei", serif;
  font-size: 30px;
}

.habit-card .share {
  color: var(--muted);
  font-weight: 800;
}

.media-night {
  background: linear-gradient(180deg, rgba(255,253,248,.86), rgba(238, 246, 244, .88));
}

.type-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px 18px;
  align-items: center;
}

.type-item .meter {
  grid-column: 1 / -1;
  margin-top: 0;
}

.night-card {
  min-height: 420px;
  display: grid;
  align-content: center;
  color: white;
  background:
    linear-gradient(145deg, rgba(38, 34, 51, .94), rgba(83, 67, 98, .92)),
    #2b2635;
}

.night-card span,
.night-card p,
.night-card small {
  color: rgba(255,255,255,.76);
}

.night-card strong {
  margin: 10px 0 16px;
  color: #ffe1a8;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 48px;
}

.kline {
  height: 360px;
  display: flex;
  align-items: end;
  gap: 5px;
  padding: 18px 0 24px;
  border-bottom: 1px solid var(--line);
}

.kline i {
  flex: 1;
  min-width: 5px;
  border-radius: 6px 6px 0 0;
  transform: scaleY(.08);
  transform-origin: bottom;
  transition: transform .85s cubic-bezier(.2,.8,.2,1);
  box-shadow: 0 12px 28px rgba(44,38,48,.1);
}

.kline .rise {
  background: linear-gradient(180deg, var(--rose), var(--apricot));
}

.kline .drop {
  background: linear-gradient(180deg, var(--blue), var(--mint));
}

.is-visible .kline i {
  transform: scaleY(1);
}

.change-grid {
  display: grid;
  gap: 14px;
}

.change-grid > div,
.signal {
  padding: 18px;
}

.change-item {
  grid-template-columns: 1fr auto auto;
}

.change-item strong {
  color: var(--rose);
}

.signal {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  margin-top: 10px;
}

.finale {
  color: white;
  background:
    linear-gradient(120deg, rgba(55, 45, 62, .96), rgba(79, 68, 95, .92) 46%, rgba(53, 91, 89, .92)),
    #342d3e;
}

.finale .eyebrow {
  color: #a5eadc;
}

.finale h2 {
  max-width: 940px;
}

.finale-inner {
  max-width: 1000px;
}

.finale #finalNote {
  color: rgba(255,255,255,.76);
}

.beian-link {
  margin: 28px 0 0;
}

.beian-link a {
  color: rgba(255,255,255,.78);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,.35);
  transition: color .25s ease, border-color .25s ease;
}

.beian-link a:hover {
  color: #fff;
  border-color: rgba(255,255,255,.78);
}

.reveal-card,
.section-head,
.hero-copy,
.hero-art {
  opacity: 0;
  transform: translateY(34px);
  transition: transform .82s cubic-bezier(.2,.8,.2,1), opacity .82s ease;
}

.is-visible .reveal-card,
.is-visible .section-head,
.is-visible .hero-copy,
.is-visible .hero-art {
  opacity: 1;
  transform: translateY(0);
}

.reveal-card {
  transition-delay: var(--d, 0ms);
}

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

@media (max-width: 980px) {
  .scene {
    min-height: auto;
    padding: 76px 0;
  }

  .scene::before,
  .scene-nav {
    display: none;
  }

  .hero-grid,
  .two-col,
  .warm-grid,
  .media-grid,
  .temperature-layout,
  .clock-board,
  .words-layout,
  .phase-reel,
  .stat-mosaic {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 56px;
  }

  h2 {
    font-size: 42px;
  }

  .hero-art {
    min-height: 0;
  }

  .phone-shell {
    margin: 0;
    min-height: 460px;
    transform: none;
  }

  .magic-book {
    right: 16px;
    top: 74px;
    width: 60px;
    height: 46px;
  }

  .angela-sticker {
    right: 8px;
    top: -38px;
    width: 132px;
  }

  .decor-sticker {
    width: 92px;
    opacity: .88;
  }

  .sticker-heart,
  .words-q,
  .finale-heart {
    right: 12px;
    top: 22px;
  }

  .warm-fire,
  .media-fire {
    left: auto;
    right: 12px;
    bottom: 22px;
  }

  .date-ticket {
    position: static;
    margin-top: 16px;
    transform: none;
    width: auto;
  }

  .message-river {
    display: none;
  }

  .phase-card:nth-child(2),
  .phase-card:nth-child(3) {
    transform: none;
  }

  .word-cloud {
    min-height: auto;
  }
}

@media (max-width: 560px) {
  .scene-inner {
    width: min(100% - 28px, 1180px);
  }

  h1 {
    font-size: 44px;
  }

  h2 {
    font-size: 34px;
  }

  .lead,
  .letter-paper p,
  .section-head p,
  #finalNote {
    font-size: 17px;
  }

  .letter-paper {
    padding: 28px;
  }

  .phone-total strong {
    font-size: 58px;
  }

  .angela-sticker {
    top: -24px;
    width: 108px;
  }

  .decor-sticker {
    width: 74px;
  }

  .hour-chart {
    gap: 3px;
    height: 320px;
  }

  .hour small {
    display: none;
  }

  .chat-bubble:nth-child(2n) {
    margin-left: 18px;
  }
}

/* Cinematic warm edition */
.music-toggle {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  max-width: calc(100vw - 36px);
  min-height: 58px;
  padding: 9px 16px 9px 10px;
  border: 1px solid rgba(255, 211, 107, .46);
  border-radius: 999px;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(255,255,255,.84), rgba(255,244,229,.72)),
    rgba(255,255,255,.72);
  box-shadow: 0 18px 48px rgba(126, 51, 80, .18);
  backdrop-filter: blur(18px);
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.music-toggle:hover {
  transform: translateY(-3px);
  border-color: rgba(240, 79, 95, .42);
  box-shadow: 0 24px 60px rgba(126, 51, 80, .23);
}

.music-disc {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, #fff9e8 0 5px, #463243 6px 8px, transparent 9px),
    conic-gradient(from 20deg, #ff6f83, #ffd36b, #ffe4a9, #ff6f83);
  box-shadow: inset 0 0 0 1px rgba(44,38,48,.12), 0 8px 18px rgba(240,79,95,.2);
}

.is-playing .music-disc {
  animation: discSpin 4s linear infinite;
}

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

.music-text {
  display: grid;
  gap: 2px;
  text-align: left;
}

.music-text b {
  font-size: 14px;
}

.music-text small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.ambient-glass {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.ambient-glass i {
  position: absolute;
  width: 280px;
  height: 360px;
  border: 1px solid rgba(255,255,255,.42);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.38), rgba(255,255,255,0) 48%),
    linear-gradient(45deg, rgba(255,111,131,.1), rgba(255,211,107,.12), rgba(62,170,152,.1));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 28px 90px rgba(126,51,80,.08);
  backdrop-filter: blur(4px);
  transform: rotate(var(--r)) translate3d(0, 0, 0);
  animation: glassDrift 12s ease-in-out infinite;
}

.ambient-glass i:nth-child(1) { --r: -15deg; left: -92px; top: 12%; }
.ambient-glass i:nth-child(2) { --r: 12deg; right: -110px; top: 18%; animation-delay: -3s; }
.ambient-glass i:nth-child(3) { --r: 8deg; left: 18%; bottom: -190px; animation-delay: -6s; }
.ambient-glass i:nth-child(4) { --r: -10deg; right: 20%; bottom: -220px; animation-delay: -9s; }

@keyframes glassDrift {
  0%, 100% { transform: rotate(var(--r)) translate3d(0, 0, 0); opacity: .46; }
  50% { transform: rotate(var(--r)) translate3d(0, -22px, 0); opacity: .72; }
}

.scene {
  isolation: isolate;
}

.scene::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255,255,255,.18), transparent 24%, rgba(255,255,255,.26) 50%, transparent 74%),
    radial-gradient(circle at 18% 22%, rgba(255, 211, 107, .14), transparent 24%),
    radial-gradient(circle at 82% 78%, rgba(240, 79, 95, .11), transparent 26%);
  opacity: .72;
}

.scene-inner {
  z-index: 2;
}

.hero-aurora {
  position: absolute;
  inset: -12% -8%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 18% 36%, rgba(255, 111, 131, .28), transparent 38%),
    radial-gradient(ellipse at 72% 32%, rgba(255, 211, 107, .32), transparent 36%),
    radial-gradient(ellipse at 68% 78%, rgba(62, 170, 152, .18), transparent 40%);
  filter: blur(12px);
  animation: auroraBreath 8s ease-in-out infinite;
}

@keyframes auroraBreath {
  0%, 100% { transform: scale(1); opacity: .72; }
  50% { transform: scale(1.035); opacity: .96; }
}

.hero-copy {
  padding: 28px 0 28px 28px;
}

.hero-copy::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18%;
  width: 5px;
  height: 58%;
  border-radius: 99px;
  background: linear-gradient(to bottom, transparent, var(--magic-red), var(--magic-gold), transparent);
  box-shadow: 0 0 28px rgba(240, 79, 95, .28);
}

h1 {
  text-shadow: 0 10px 36px rgba(126, 51, 80, .12);
}

.glass-lyric {
  display: inline-grid;
  gap: 4px;
  margin-top: 22px;
  padding: 14px 18px;
  border: 1px solid rgba(255, 211, 107, .38);
  border-radius: 8px;
  background: rgba(255,255,255,.58);
  box-shadow: 0 18px 42px rgba(126, 51, 80, .12);
  backdrop-filter: blur(14px);
  transform: rotate(-1.2deg);
}

.glass-lyric span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.glass-lyric strong {
  color: var(--magic-red);
  font-size: 18px;
}

.phone-shell {
  box-shadow:
    0 36px 90px rgba(126, 51, 80, .19),
    inset 0 1px 0 rgba(255,255,255,.68);
}

.phone-shell::after {
  content: "";
  position: absolute;
  inset: 22px;
  border-radius: 22px;
  pointer-events: none;
  background:
    linear-gradient(115deg, rgba(255,255,255,.5), transparent 32%),
    radial-gradient(circle at 82% 10%, rgba(255,211,107,.26), transparent 18%);
}

.angela-sticker {
  width: 194px;
}

.angela-sparkles i:nth-child(6) { left: 28%; top: 58%; width: 12px; height: 12px; animation-delay: -3.2s; }
.angela-sparkles i:nth-child(7) { right: 28%; bottom: 18%; width: 18px; height: 18px; animation-delay: -2.4s; }

.letter-paper,
.stat-card,
.phase-card,
.chat-bubble,
.top-day,
.response-card,
.opener-panel,
.sentence-card,
.question-card,
.habit-card,
.type-item,
.night-card,
.change-grid > div,
.signal {
  background:
    linear-gradient(145deg, rgba(255,255,255,.86), rgba(255,248,239,.68)),
    rgba(255,255,255,.7);
  box-shadow:
    0 20px 54px rgba(126, 51, 80, .12),
    inset 0 1px 0 rgba(255,255,255,.7);
}

.letter-paper,
.phase-card,
.night-card {
  position: relative;
}

.letter-paper::after,
.phase-card::after,
.night-card::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(255, 211, 107, .22);
  border-radius: 7px;
  pointer-events: none;
}

.phase-card {
  background:
    linear-gradient(160deg, rgba(255,255,255,.88), rgba(255,238,226,.72) 44%, rgba(255,250,226,.74)),
    rgba(255,255,255,.74);
}

.phase-card h3,
.habit-card h3 {
  color: #4c3146;
}

.chat-bubble {
  transition: transform .32s ease, box-shadow .32s ease;
}

.chat-bubble:hover {
  transform: translateY(-4px);
  box-shadow:
    0 24px 64px rgba(126, 51, 80, .16),
    inset 0 1px 0 rgba(255,255,255,.75);
}

.chat-bubble:first-child {
  box-shadow:
    0 24px 70px rgba(240, 79, 95, .16),
    inset 0 1px 0 rgba(255,255,255,.7);
}

.word {
  background:
    linear-gradient(135deg, rgba(255,255,255,.88), rgba(255,246,219,.72));
  border-color: rgba(255, 211, 107, .26);
}

.word:nth-child(3n) {
  background: linear-gradient(135deg, rgba(255,236,239,.9), rgba(255,255,255,.78));
}

.word:nth-child(4n) {
  background: linear-gradient(135deg, rgba(234,248,243,.9), rgba(255,255,255,.78));
}

.kline i,
.hour {
  box-shadow: 0 14px 28px rgba(240,79,95,.18), 0 0 18px rgba(255,211,107,.12);
}

.finale {
  background:
    radial-gradient(circle at 18% 22%, rgba(255, 211, 107, .22), transparent 24%),
    radial-gradient(circle at 82% 78%, rgba(240, 79, 95, .2), transparent 28%),
    linear-gradient(120deg, rgba(55, 45, 62, .96), rgba(79, 68, 95, .92) 46%, rgba(53, 91, 89, .92)),
    #342d3e;
}

@media (max-width: 980px) {
  .music-toggle {
    left: 14px;
    right: auto;
    bottom: 12px;
    width: 192px;
    min-height: 52px;
    padding: 8px 12px 8px 9px;
  }

  .hero-copy {
    padding-left: 0;
  }

  .hero-copy::before {
    display: none;
  }

  .angela-sticker {
    width: 136px;
  }

  .scene-inner {
    width: min(1180px, calc(100vw - 28px));
    max-width: calc(100vw - 28px);
  }

  .temperature-layout,
  .clock-board,
  .words-layout,
  .two-col,
  .warm-grid,
  .media-grid,
  .hero-grid {
    min-width: 0;
  }

  .kline {
    width: 100%;
    min-width: 0;
    gap: 3px;
    height: 260px;
  }

  .kline i {
    min-width: 2px;
  }

  .change-grid > div,
  .change-item,
  .section-head,
  .temperature-layout {
    min-width: 0;
  }

  .words {
    padding-top: 68px;
  }

  .words-layout {
    gap: 18px;
  }

  .words .section-head {
    margin-bottom: 22px;
  }

  .word-cloud {
    min-height: 0;
    max-height: none;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255,255,255,.64);
    box-shadow: 0 18px 46px rgba(126, 51, 80, .1);
  }

  .word {
    min-height: 30px;
    padding: 0 11px;
    font-size: clamp(13px, 4.2vw, 18px) !important;
    opacity: 1;
    transform: none;
  }

  .word:nth-child(n+19) {
    display: none;
  }

  .sentence-panel,
  .question-panel {
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255,255,255,.68);
    box-shadow: 0 18px 46px rgba(126, 51, 80, .1);
  }

  .sentence-panel h3,
  .question-panel h3 {
    margin-bottom: 12px;
    font-size: 24px;
  }

  .sentence-card,
  .question-card {
    padding: 14px;
  }

  .sentence-card p,
  .question-card p {
    overflow-wrap: anywhere;
    word-break: break-word;
    font-size: 16px;
  }
}

@media (max-width: 560px) {
  .scene {
    padding: 58px 0;
  }

  .hero-grid {
    gap: 30px;
  }

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

  .music-toggle {
    left: auto;
    right: 14px;
    bottom: 14px;
    width: 52px;
    min-width: 52px;
    height: 52px;
    min-height: 52px;
    padding: 6px;
    border-radius: 50%;
  }

  .music-disc {
    width: 40px;
    height: 40px;
  }

  .music-text {
    display: none;
  }

  .glass-lyric {
    margin-top: 16px;
    padding: 11px 14px;
  }

  .ambient-glass i {
    width: 180px;
    height: 250px;
  }

  .music-text b {
    font-size: 13px;
  }

  .music-text small {
    font-size: 11px;
  }

  .kline {
    height: 220px;
    gap: 2px;
  }

  .change-item {
    grid-template-columns: minmax(0, 1fr) auto auto;
  }
}
