/* ================= Base — 治愈亮色版 ================= */
* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
:root {
  /* 温暖治愈调 */
  --bg-0: hsl(38 70% 97%);          /* 奶油白 */
  --bg-1: hsl(20 80% 94%);          /* 蜜桃粉 */
  --bg-2: hsl(200 60% 95%);         /* 薄雾蓝 */
  --bg-3: hsl(280 60% 96%);         /* 淡薰衣草 */
  --ink: hsl(258 30% 22%);          /* 深靛墨（比黑柔和） */
  --ink-2: hsl(258 20% 42%);
  --ink-3: hsl(258 15% 60%);
  --line: hsl(258 20% 88%);
  --glass: rgba(255,255,255,0.55);
  --glass-strong: rgba(255,255,255,0.78);
  --stroke: rgba(120, 100, 160, 0.14);
  --shadow: 0 20px 50px -22px rgba(180, 140, 200, .35), 0 4px 16px -6px rgba(200, 170, 220, .3);
  --shadow-soft: 0 8px 24px -12px rgba(200, 170, 220, .35);
}
html, body { height: 100%; }
body {
  font-family: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', system-ui, -apple-system, sans-serif;
  background:
    radial-gradient(1200px 800px at 15% 0%, hsl(20 90% 92% / .95), transparent 60%),
    radial-gradient(1000px 700px at 100% 10%, hsl(280 85% 94% / .9), transparent 60%),
    radial-gradient(900px 700px at 50% 100%, hsl(160 70% 92% / .8), transparent 60%),
    linear-gradient(180deg, var(--bg-0), hsl(38 60% 96%));
  color: var(--ink);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.55;
  font-weight: 400;
  letter-spacing: 0.01em;
  padding: 20px 0 60px;
}

/* ================= Ambient orbs（更柔和更亮） ================= */
.bg-orbs { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.orb { position: absolute; width: 520px; height: 520px; border-radius: 50%; filter: blur(100px); opacity: .55; animation: floatOrb 22s ease-in-out infinite alternate; }
.orb-1 { background: hsl(20 100% 82%); top: -220px; left: -120px; }               /* 蜜桃 */
.orb-2 { background: hsl(200 100% 84%); bottom: -240px; right: -100px; animation-delay: -8s; } /* 天空蓝 */
.orb-3 { background: hsl(280 100% 88%); top: 32%; left: 55%; width: 380px; height: 380px; animation-delay: -14s; opacity: .5; } /* 淡紫 */
@keyframes floatOrb {
  0%   { transform: translate(0,0) scale(1); }
  100% { transform: translate(60px,-40px) scale(1.15); }
}
.grain {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(160, 120, 200, .06) 1px, transparent 1px);
  background-size: 3px 3px;
  opacity: .5;
}

/* ================= Phone frame ================= */
.phone-frame {
  max-width: 440px;
  margin: 0 auto;
  padding: 24px 22px 40px;
  position: relative;
}

/* ================= Screens ================= */
.screen { display: none; animation: screenIn .55s cubic-bezier(.2,.9,.2,1); }
.screen.active { display: block; }
@keyframes screenIn {
  from { opacity: 0; transform: translateY(16px) scale(.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* ================= Hero ================= */
.hero { padding: 20px 4px 26px; }
.brand { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: var(--glass); border: 1px solid var(--stroke); font-size: 12px; color: var(--ink-2); backdrop-filter: blur(12px); box-shadow: var(--shadow-soft); }
.brand-dot { width: 8px; height: 8px; border-radius: 50%; background: hsl(345 90% 72%); box-shadow: 0 0 12px hsl(345 90% 72%); animation: pulseDot 2s infinite; }
@keyframes pulseDot { 0%,100% { transform: scale(1); opacity: .9; } 50% { transform: scale(1.4); opacity: .5; } }
.brand-name { font-family: 'Outfit','Noto Sans SC', sans-serif; letter-spacing: .04em; }

.hero-title {
  font-size: 34px; line-height: 1.15; font-weight: 700; margin: 18px 0 12px;
  background: linear-gradient(135deg, hsl(258 40% 30%) 0%, hsl(340 60% 55%) 55%, hsl(258 60% 55%) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.title-strike {
  position: relative; display: inline-block;
  color: hsl(345 80% 58%);
  -webkit-text-fill-color: hsl(345 80% 58%);
}
.title-strike::after {
  content: ''; position: absolute; left: -4%; right: -4%; top: 55%;
  height: 8px; background: hsl(345 90% 78% / .55); border-radius: 4px;
  transform: rotate(-2deg);
  animation: strikeIn .8s ease .4s both;
}
@keyframes strikeIn { from { transform: rotate(-2deg) scaleX(0); transform-origin: left } to { transform: rotate(-2deg) scaleX(1); } }
.hero-sub { color: var(--ink-2); font-size: 14px; }

/* ================= Input card ================= */
.input-card {
  margin: 4px 0 22px;
  background: linear-gradient(180deg, var(--glass-strong), var(--glass));
  border: 1px solid var(--stroke);
  border-radius: 22px;
  padding: 16px 16px 14px;
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}
.input-label { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--ink-2); margin-bottom: 10px; }
.input-hint { font-size: 11px; color: var(--ink-3); }
#mood-input {
  width: 100%; min-height: 110px; resize: vertical;
  background: rgba(255,255,255,.6);
  border: 1px solid var(--stroke);
  border-radius: 14px; padding: 12px 14px;
  color: var(--ink); font: inherit; font-size: 15px;
  outline: none; transition: border-color .2s, box-shadow .2s, background .2s;
}
#mood-input::placeholder { color: hsl(258 15% 62%); }
#mood-input:focus { border-color: hsl(340 70% 70%); background: #fff; box-shadow: 0 0 0 4px hsl(340 90% 88% / .5); }
.input-meta { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; font-size: 12px; color: var(--ink-3); }
.link-btn { background: rgba(255,255,255,.6); border: 1px solid var(--stroke); color: var(--ink-2); padding: 7px 12px; border-radius: 999px; font-size: 12px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; transition: all .2s; }
.link-btn:hover { background: #fff; color: var(--ink); transform: translateY(-1px); box-shadow: var(--shadow-soft); }

/* ================= Section title ================= */
.section-title { display: flex; align-items: center; gap: 12px; color: var(--ink-2); font-size: 13px; margin: 10px 4px 14px; }
.section-line { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--line), transparent); }

/* ================= Mode grid ================= */
.mode-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}
.mode-card {
  position: relative; text-align: left; cursor: pointer;
  background:
    linear-gradient(160deg, hsl(var(--mode-color) / .28), hsl(var(--mode-color-2) / .18) 60%, rgba(255,255,255,.55));
  border: 1px solid hsl(var(--mode-color) / .35);
  border-radius: 20px; padding: 16px 14px 14px; color: var(--ink);
  overflow: hidden; transition: transform .25s cubic-bezier(.2,.9,.2,1), box-shadow .25s, border-color .25s;
  min-height: 138px;
  box-shadow: var(--shadow-soft);
}
.mode-card::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(120% 80% at 100% 0%, hsl(var(--mode-color) / .38), transparent 60%);
  opacity: .8; pointer-events: none; transition: opacity .25s;
}
.mode-card:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -18px hsl(var(--mode-color) / .5); border-color: hsl(var(--mode-color) / .7); }
.mode-card:hover::before { opacity: 1; }
.mode-card:active { transform: translateY(0) scale(.98); }
.mode-card-wide { grid-column: 1 / -1; min-height: 108px; }
.mode-icon { font-size: 28px; margin-bottom: 6px; filter: drop-shadow(0 4px 10px hsl(var(--mode-color) / .5)); }
.mode-name { font-size: 15px; font-weight: 600; color: var(--ink); }
.mode-desc { font-size: 12px; color: var(--ink-2); margin-top: 4px; }
.mode-tag { position: absolute; top: 12px; right: 12px; font-size: 10px; color: hsl(var(--mode-color) / .95); border: 1px solid hsl(var(--mode-color) / .4); padding: 2px 8px; border-radius: 999px; background: rgba(255,255,255,.75); backdrop-filter: blur(6px); font-weight: 500; }

.footer-note { text-align: center; color: var(--ink-3); font-size: 11px; margin-top: 22px; }

/* ================= Mode Screens ================= */
.mode-header { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.btn-back { width: 40px; height: 40px; border-radius: 50%; background: var(--glass-strong); border: 1px solid var(--stroke); color: var(--ink); font-size: 20px; cursor: pointer; backdrop-filter: blur(10px); transition: transform .2s; box-shadow: var(--shadow-soft); }
.btn-back:hover { transform: translateX(-2px); background: #fff; }
.mode-header-tag { display: inline-block; font-size: 11px; color: hsl(var(--mode-color)); padding: 2px 10px; border: 1px solid hsl(var(--mode-color) / .4); border-radius: 999px; background: rgba(255,255,255,.75); margin-bottom: 4px; font-weight: 500; }
.mode-header-title { font-size: 22px; font-weight: 700; color: var(--ink); }
.mode-lead { color: var(--ink-2); font-size: 14px; margin: 10px 4px 18px; }

.sub-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; }
.sub-card {
  cursor: pointer; text-align: left;
  background: linear-gradient(160deg, hsl(var(--mode-color) / .18), rgba(255,255,255,.7));
  border: 1px solid hsl(var(--mode-color) / .3);
  border-radius: 16px; padding: 12px; color: var(--ink);
  transition: all .2s;
  box-shadow: var(--shadow-soft);
}
.sub-card:hover { transform: translateY(-2px); border-color: hsl(var(--mode-color) / .6); background: linear-gradient(160deg, hsl(var(--mode-color) / .25), rgba(255,255,255,.85)); }
.sub-card.active { background: linear-gradient(160deg, hsl(var(--mode-color) / .4), hsl(var(--mode-color-2) / .28)); border-color: hsl(var(--mode-color) / .9); box-shadow: 0 12px 26px -12px hsl(var(--mode-color) / .55); }
.sub-icon { font-size: 22px; margin-bottom: 4px; }
.sub-name { font-size: 14px; font-weight: 600; }
.sub-desc { font-size: 11.5px; color: var(--ink-2); margin-top: 2px; line-height: 1.5; }

/* ================= Stage (animation area) — 亮色 ================= */
.stage {
  position: relative; width: 100%; min-height: 240px;
  background: linear-gradient(180deg, rgba(255,255,255,.85), rgba(255,255,255,.55));
  border: 1px solid var(--stroke);
  border-radius: 20px; padding: 18px; overflow: hidden;
  backdrop-filter: blur(10px);
  margin-bottom: 14px;
  box-shadow: var(--shadow);
}
.stage-inner { position: relative; min-height: 180px; display: flex; align-items: center; justify-content: center; }
.stage-caption { text-align: center; margin-top: 12px; color: var(--ink-2); font-size: 13px; min-height: 20px; }

/* Vent animations —— 亮色版 */
.safe-box {
  position: relative; width: 210px; height: 140px; border-radius: 14px;
  background: linear-gradient(160deg, hsl(20 80% 96%), hsl(20 60% 88%));
  border: 2px solid hsl(15 80% 72%);
  box-shadow: 0 20px 40px -20px hsl(15 90% 65% / .55), inset 0 0 20px rgba(255, 220, 200, .5);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.safe-box::before { content: '🔒'; position: absolute; top: 8px; right: 10px; font-size: 18px; }
.safe-box .note { font-family: 'ZCOOL KuaiLe', cursive; color: hsl(15 55% 40%); font-size: 13px; padding: 24px 16px; text-align: center; word-break: break-all; max-height: 100%; overflow: hidden; }
.safe-box.sealed .note { animation: sealFade 1.4s forwards; }
@keyframes sealFade { to { filter: blur(4px); opacity: .3; letter-spacing: 4px; } }
.seal-stamp { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: hsl(15 85% 55%); font-size: 42px; font-family: 'ZCOOL KuaiLe', cursive; font-weight: 900; transform: rotate(-15deg) scale(3); opacity: 0; letter-spacing: 6px; }
.seal-stamp.on { animation: stamp .6s cubic-bezier(.2,.8,.2,1) .8s forwards; }
@keyframes stamp { to { opacity: .95; transform: rotate(-15deg) scale(1); } }

.monster {
  position: relative; width: 180px; height: 180px;
}
.monster-body {
  width: 100%; height: 100%; border-radius: 50% 50% 46% 46%;
  background: radial-gradient(circle at 35% 30%, hsl(280 80% 82%), hsl(300 70% 68%) 70%, hsl(320 65% 60%));
  position: relative; box-shadow: 0 20px 36px -18px hsl(300 70% 60% / .55);
  animation: monsterBreath 2.4s infinite ease-in-out;
}
@keyframes monsterBreath { 0%,100% { transform: scale(1); } 50% { transform: scale(1.06); } }
.monster-eye { position: absolute; width: 26px; height: 26px; border-radius: 50%; background: #fff; top: 42px; box-shadow: inset 0 0 0 2px hsl(258 40% 30%); }
.monster-eye::after { content:''; position: absolute; inset: 6px; border-radius: 50%; background: hsl(258 40% 30%); }
.monster-eye.left { left: 34px; }
.monster-eye.right { right: 34px; }
.monster-mouth {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  width: 70px; height: 30px; border-radius: 0 0 50% 50% / 0 0 100% 100%;
  background: hsl(340 40% 40%); border: 2px solid hsl(340 45% 30%);
  transition: all .35s;
}
.monster.eating .monster-mouth { height: 60px; width: 90px; }
.paper-letter {
  position: absolute; left: 50%; top: -60px; transform: translateX(-50%) rotate(-4deg);
  width: 140px; padding: 10px 12px;
  background: hsl(45 80% 96%); color: hsl(258 40% 30%); font-size: 11px; line-height: 1.45;
  border-radius: 4px; box-shadow: 0 10px 20px hsl(258 30% 60% / .35);
  font-family: 'ZCOOL KuaiLe', cursive;
  z-index: 3;
}
.paper-letter.fly { animation: letterFly 1.4s cubic-bezier(.6,.05,.6,.9) forwards; }
@keyframes letterFly {
  0% { top: -60px; transform: translateX(-50%) rotate(-4deg) scale(1); opacity: 1; }
  60% { top: 60px; transform: translateX(-50%) rotate(6deg) scale(.8); opacity: 1; }
  100% { top: 120px; transform: translateX(-50%) rotate(0) scale(.1); opacity: 0; }
}

.smoke-stage { position: relative; width: 100%; height: 200px; overflow: hidden; }
.smoke-note {
  position: absolute; left: 50%; top: 40%; transform: translate(-50%,-50%);
  padding: 14px 18px; max-width: 260px; text-align: center;
  background: rgba(255,255,255,.85); border: 1px dashed hsl(258 30% 60% / .4);
  color: var(--ink-2); border-radius: 12px; font-size: 13px;
  box-shadow: var(--shadow-soft);
}
.smoke-note.dispersing { animation: noteDisperse 2s forwards; }
@keyframes noteDisperse {
  to { filter: blur(20px); opacity: 0; letter-spacing: 20px; transform: translate(-50%,-90%) scale(1.4); }
}
.smoke-particle {
  position: absolute; width: 80px; height: 80px; border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 180, 220, .8), rgba(200, 180, 220, 0) 70%);
  opacity: 0;
}
.smoke-particle.puff { animation: puffUp 2.4s ease-out forwards; }
@keyframes puffUp {
  0% { opacity: 0; transform: translateY(0) scale(.3); }
  30% { opacity: .9; }
  100% { opacity: 0; transform: translateY(-160px) scale(2.4); }
}

.shredder {
  position: relative; width: 240px; height: 220px;
}
.shredder-mouth {
  position: absolute; top: 60px; left: 0; right: 0; height: 20px;
  background: linear-gradient(180deg, hsl(258 20% 88%), hsl(258 15% 78%));
  border: 1px solid hsl(15 70% 62% / .8);
  border-radius: 4px 4px 0 0;
  display: flex; align-items: center; padding: 0 6px; gap: 3px; overflow: hidden;
}
.shredder-mouth::before, .shredder-mouth::after {
  content: '⚙'; color: hsl(15 75% 55%); font-size: 14px;
  animation: gears 1s linear infinite;
}
@keyframes gears { to { transform: rotate(360deg); } }
.shredder-paper {
  position: absolute; top: -60px; left: 50%; transform: translateX(-50%);
  width: 180px; min-height: 110px; padding: 12px;
  background: hsl(45 80% 96%); color: hsl(258 40% 30%); border-radius: 4px 4px 0 0;
  font-family: 'ZCOOL KuaiLe', cursive; font-size: 12px; line-height: 1.5;
  box-shadow: 0 -8px 20px hsl(258 20% 60% / .3);
  z-index: 1;
}
.shredder-paper.feeding { animation: feedPaper 2.4s ease-in forwards; }
@keyframes feedPaper {
  to { top: 60px; height: 0; padding-top: 0; padding-bottom: 0; opacity: .3; overflow: hidden; }
}
.shredder-strips { position: absolute; top: 78px; left: 0; right: 0; height: 130px; display: flex; justify-content: center; gap: 3px; }
.strip { width: 6px; height: 0; background: linear-gradient(180deg, hsl(45 80% 92%), hsl(30 50% 78%)); opacity: 0; border-radius: 0 0 2px 2px; }
.strip.drop { animation: stripDrop 2s ease-in forwards; }
@keyframes stripDrop {
  0% { height: 0; opacity: 0; }
  40% { opacity: 1; }
  100% { height: 130px; opacity: 0.7; transform: translateY(20px) rotate(var(--r,0deg)); }
}

/* Calm animations —— 亮色版 */
.cryo-pod {
  position: relative; width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, hsl(200 100% 96%), hsl(200 90% 82%) 55%, hsl(220 85% 74%));
  box-shadow: 0 25px 50px -20px hsl(200 90% 70% / .55), inset 0 0 40px hsl(200 100% 96% / .7);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.cryo-pod::before {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle at 20% 20%, rgba(255,255,255,.9), transparent 40%);
}
.frost { position: absolute; inset: -20px; border-radius: 50%;
  background: radial-gradient(circle, transparent 40%, rgba(255,255,255,.5) 70%, transparent 80%);
  animation: frostRotate 12s linear infinite;
}
@keyframes frostRotate { to { transform: rotate(360deg); } }
.timer { position: relative; color: hsl(220 55% 30%); font-family: 'Outfit', sans-serif; font-size: 44px; font-weight: 400; text-shadow: 0 0 20px hsl(200 100% 92%); z-index: 2; }
.snowflake { position: absolute; color: hsl(220 60% 60% / .7); font-size: 14px; animation: snowFall 6s linear infinite; }
@keyframes snowFall {
  0% { transform: translateY(-20px) rotate(0); opacity: 0; }
  20% { opacity: 1; }
  100% { transform: translateY(240px) rotate(360deg); opacity: 0; }
}

.seal-envelope {
  position: relative; width: 220px; height: 140px;
  background: linear-gradient(160deg, hsl(220 70% 90%), hsl(240 65% 82%));
  border-radius: 8px; box-shadow: 0 20px 40px -20px hsl(220 70% 60% / .45);
  overflow: hidden;
}
.seal-envelope::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 80px;
  background: linear-gradient(180deg, hsl(220 75% 82%), hsl(220 70% 74%));
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  transform-origin: top; transition: transform .8s;
}
.seal-envelope.sealed::before { transform: rotateX(0deg); }
.seal-wax {
  position: absolute; top: 60px; left: 50%; transform: translateX(-50%);
  width: 44px; height: 44px; border-radius: 50%;
  background: radial-gradient(circle, hsl(345 90% 78%), hsl(345 85% 60%));
  box-shadow: 0 6px 18px hsl(345 90% 65% / .6);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; z-index: 3; color: #fff;
  animation: wax .8s cubic-bezier(.2,1.6,.4,1);
}
@keyframes wax { from { transform: translateX(-50%) scale(0); } to { transform: translateX(-50%) scale(1); } }
.seal-date { position: absolute; bottom: 12px; left: 0; right: 0; text-align: center; color: hsl(220 50% 32%); font-size: 12px; font-family: 'Outfit'; letter-spacing: .1em; z-index: 4; }

.breath-orb {
  position: relative; width: 200px; height: 200px; border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, hsl(200 100% 92%), hsl(220 90% 78%) 55%, hsl(240 70% 68%));
  box-shadow: 0 0 60px hsl(200 100% 82% / .8);
  display: flex; align-items: center; justify-content: center;
  color: hsl(220 55% 30%); font-family: 'Outfit'; font-size: 22px; font-weight: 500;
  transition: transform 4s ease-in-out;
}
.breath-orb.inhale { transform: scale(1.35); }
.breath-orb.hold { transform: scale(1.35); }
.breath-orb.exhale { transform: scale(0.85); }

.forecast-card {
  width: 100%; max-width: 340px; padding: 18px 20px; border-radius: 18px;
  background: linear-gradient(160deg, hsl(200 90% 96% / .95), hsl(220 80% 94% / .8));
  border: 1px solid hsl(200 60% 78%);
  box-shadow: var(--shadow-soft);
}
.forecast-title { font-size: 12px; color: hsl(200 55% 40%); margin-bottom: 8px; font-weight: 500; letter-spacing: .1em; }
.forecast-line { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-bottom: 1px dashed hsl(200 40% 75%); font-size: 13px; color: var(--ink-2); }
.forecast-line:last-child { border-bottom: none; }
.forecast-val { font-family: 'Outfit'; font-weight: 500; color: var(--ink); }
.forecast-summary { margin-top: 12px; padding: 12px; background: rgba(255,255,255,.7); border-radius: 10px; font-size: 13px; color: var(--ink-2); line-height: 1.6; }

/* Humor animations —— 亮色版 */
.meme-card {
  position: relative; width: 240px; padding: 12px;
  background: linear-gradient(160deg, hsl(42 100% 78%), hsl(20 100% 78%));
  border-radius: 14px; color: hsl(20 60% 22%);
  box-shadow: 0 20px 40px -18px hsl(42 90% 60% / .55);
  transform: rotate(-2deg);
}
.meme-emoji { font-size: 70px; text-align: center; margin: 8px 0; }
.meme-text { text-align: center; font-family: 'ZCOOL KuaiLe', cursive; font-size: 17px; font-weight: 700; line-height: 1.35; text-shadow: 0 2px 0 rgba(255,255,255,.5); }

.cat-bubble {
  position: relative; max-width: 300px; padding: 14px 18px;
  background: linear-gradient(160deg, hsl(42 100% 84%), hsl(30 95% 78%));
  color: hsl(20 60% 22%); border-radius: 20px;
  font-family: 'ZCOOL KuaiLe', cursive; font-size: 14px; line-height: 1.6;
  box-shadow: 0 15px 30px -15px hsl(42 90% 60% / .5);
}
.cat-bubble::before {
  content: '🐱'; position: absolute; bottom: -6px; left: -8px; font-size: 32px;
}

.drama-card {
  max-width: 300px; padding: 16px 18px;
  background: linear-gradient(160deg, hsl(42 90% 94%), hsl(20 80% 90%));
  color: hsl(20 55% 25%); border-radius: 14px;
  border-left: 4px solid hsl(42 90% 55%);
  font-family: 'ZCOOL KuaiLe', cursive; font-size: 14px; line-height: 1.7;
  box-shadow: var(--shadow-soft);
}
.drama-card .drama-tag { font-size: 11px; letter-spacing: .3em; color: hsl(42 90% 45%); margin-bottom: 6px; }

.plane {
  position: absolute; left: 30%; top: 50%; font-size: 40px;
  transform-origin: center;
}
.plane.fly { animation: planeFly 3s ease-in forwards; }
@keyframes planeFly {
  0% { left: 20%; top: 60%; transform: rotate(-20deg) scale(1); opacity: 1; }
  100% { left: 130%; top: -30%; transform: rotate(-45deg) scale(.2); opacity: 0; }
}

/* Truth analyzer —— 亮色版 */
.truth-analyzer { min-height: 200px; }
.truth-empty { text-align: center; padding: 40px 20px; color: var(--ink-3); font-size: 13px; }
.truth-result { display: flex; flex-direction: column; gap: 14px; }
.truth-block {
  background: linear-gradient(160deg, hsl(285 90% 96% / .9), hsl(255 90% 96% / .75));
  border: 1px solid hsl(285 50% 82%);
  border-radius: 16px; padding: 14px 16px;
  box-shadow: var(--shadow-soft);
}
.truth-block-title { font-size: 12px; color: hsl(285 50% 45%); letter-spacing: .1em; margin-bottom: 6px; font-weight: 500; }
.truth-block-body { font-size: 15px; color: var(--ink); line-height: 1.6; font-weight: 500; }
.truth-emo-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.truth-emo {
  padding: 4px 10px; border-radius: 999px; font-size: 12px;
  background: hsl(285 80% 92%); border: 1px solid hsl(285 60% 78%);
  color: hsl(285 55% 35%);
}
.truth-arrow { text-align: center; color: hsl(285 60% 60%); font-size: 20px; }
.truth-original { font-family: 'ZCOOL KuaiLe', cursive; color: hsl(345 55% 45%); font-size: 15px; line-height: 1.6; }
.truth-translated { color: hsl(200 55% 32%); font-size: 15px; line-height: 1.7; }

/* Regret panel —— 亮色版 */
.regret-panel { min-height: 200px; }
.regret-empty { text-align: center; padding: 40px 20px; color: var(--ink-3); font-size: 13px; }
.regret-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 14px; }
.regret-metric {
  padding: 14px; border-radius: 16px;
  background: linear-gradient(160deg, hsl(345 90% 96% / .95), hsl(15 90% 96% / .8));
  border: 1px solid hsl(345 60% 82%);
  position: relative; overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.regret-metric-name { font-size: 11px; color: hsl(345 55% 45%); letter-spacing: .1em; font-weight: 500; }
.regret-metric-val { font-family: 'Outfit'; font-size: 28px; font-weight: 500; color: var(--ink); margin-top: 2px; }
.regret-metric-sub { font-size: 11px; color: var(--ink-2); margin-top: 2px; }
.regret-bar {
  position: relative; height: 6px; margin-top: 8px; border-radius: 999px;
  background: rgba(255,255,255,.75); overflow: hidden;
  border: 1px solid hsl(345 40% 88%);
}
.regret-bar-fill {
  position: absolute; left: 0; top: 0; bottom: 0;
  background: linear-gradient(90deg, hsl(200 80% 65%), hsl(42 95% 65%), hsl(345 85% 68%));
  border-radius: 999px;
  animation: barGrow 1s cubic-bezier(.2,.9,.2,1);
}
@keyframes barGrow { from { width: 0 !important; } }

.regret-verdict {
  padding: 16px; border-radius: 16px; margin-bottom: 12px;
  background: linear-gradient(160deg, hsl(345 90% 94%), hsl(15 90% 94%));
  border: 1px solid hsl(345 70% 78%);
  box-shadow: var(--shadow-soft);
}
.regret-verdict-title { font-size: 12px; color: hsl(345 55% 42%); letter-spacing: .1em; margin-bottom: 6px; font-weight: 500; }
.regret-verdict-body { font-size: 16px; font-weight: 600; color: var(--ink); line-height: 1.55; }
.regret-suggest {
  padding: 12px 14px; border-radius: 12px; margin-bottom: 12px;
  background: rgba(255,255,255,.75); border: 1px dashed hsl(345 45% 75%);
  font-size: 13px; color: var(--ink-2); line-height: 1.6;
}
.regret-cta {
  display: flex; gap: 10px;
}
.regret-cta button {
  flex: 1; padding: 12px; border-radius: 12px; font-size: 13px; font-weight: 500;
  border: 1px solid var(--stroke); background: rgba(255,255,255,.75); color: var(--ink); cursor: pointer;
  transition: all .2s;
  box-shadow: var(--shadow-soft);
}
.regret-cta button:hover { background: #fff; transform: translateY(-1px); }
.regret-cta button.danger { background: linear-gradient(160deg, hsl(345 85% 72%), hsl(15 85% 72%)); color: #fff; border-color: hsl(345 80% 65%); }

/* Buttons & shared */
.truth-actions { display: flex; justify-content: center; margin-top: 8px; }
.btn-primary {
  padding: 12px 22px; border-radius: 999px; font-size: 14px; font-weight: 500;
  color: #fff; cursor: pointer;
  background: linear-gradient(135deg, hsl(var(--mode-color)), hsl(var(--mode-color-2)));
  border: 1px solid hsl(var(--mode-color) / .7);
  box-shadow: 0 12px 26px -10px hsl(var(--mode-color) / .7);
  transition: transform .2s;
}
.btn-primary:hover { transform: translateY(-2px); }
.btn-primary:active { transform: translateY(0); }

/* Toast —— 亮色版 */
.toast {
  position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: rgba(255,255,255,.95); backdrop-filter: blur(14px);
  color: var(--ink); border: 1px solid var(--stroke);
  padding: 10px 18px; border-radius: 999px; font-size: 13px;
  opacity: 0; pointer-events: none;
  transition: all .3s cubic-bezier(.2,.9,.2,1); z-index: 999;
  box-shadow: var(--shadow);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

@media (max-width: 380px) {
  .hero-title { font-size: 28px; }
  .mode-card { min-height: 128px; }
}
