/* ===== 与代同在 · 情感分析网站 ===== */
/* 小清新 · 手绘感 · 温暖治愈 */

:root {
  --he: #5b8def;
  --he-light: #e8f0fe;
  --she: #f2789f;
  --she-light: #fde8ef;
  --bg: #faf8f5;
  --bg-alt: #f0ede8;
  --text: #3a3632;
  --text-light: #8a8580;
  --card: #ffffff;
  --accent: #ffb347;
  --green: #7ecba1;
  --shadow: 0 4px 24px rgba(58,54,50,.08);
  --shadow-lg: 0 12px 48px rgba(58,54,50,.12);
  --radius: 16px;
  --radius-sm: 10px;
  --font-display: 'ZCOOL KuaiLe', 'Ma Shan Zheng', cursive;
  --font-body: 'Noto Sans SC', -apple-system, sans-serif;
  --transition: .4s cubic-bezier(.4,0,.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  width: 100%;
  max-width: 100vw;
}

/* Canvas */
#petals { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; pointer-events: none; z-index: 9999; }

/* ===== NAV ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(250,248,245,.85); backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0,0,0,.05);
  transform: translateY(-100%); transition: transform .4s ease;
}
.nav.visible { transform: translateY(0); }
.nav-inner { max-width: 1100px; margin: 0 auto; padding: 12px 24px; display: flex; align-items: center; justify-content: space-between; position: relative; }
.nav-logo { font-family: var(--font-display); font-size: 1.2rem; color: var(--she); }
.nav-links { display: flex; gap: 4px; }
.nav-link {
  padding: 6px 14px; border-radius: 20px; font-size: .82rem; font-weight: 500;
  color: var(--text-light); text-decoration: none; transition: var(--transition);
}
.nav-link:hover, .nav-link.active { background: var(--she-light); color: var(--she); }

/* 汉堡菜单 */
.nav-burger {
  display: none; background: none; border: none; cursor: pointer;
  width: 28px; height: 20px; position: relative; z-index: 101;
}
.nav-burger span {
  display: block; width: 100%; height: 2px; background: var(--text);
  border-radius: 2px; position: absolute; left: 0;
  transition: all .3s cubic-bezier(.4,0,.2,1);
}
.nav-burger span:nth-child(1) { top: 0; }
.nav-burger span:nth-child(2) { top: 9px; }
.nav-burger span:nth-child(3) { top: 18px; }
.nav-burger.open span:nth-child(1) { top: 9px; transform: rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { top: 9px; transform: rotate(-45deg); }

/* ===== SECTIONS ===== */
.section { padding: 100px 20px; position: relative; overflow: hidden; }
.section-alt { background: var(--bg-alt); }
.container { max-width: 1000px; margin: 0 auto; width: 100%; }
.section-title {
  font-family: var(--font-display); font-size: 2.4rem; text-align: center;
  margin-bottom: 12px; opacity: 0; transform: translateY(30px); transition: var(--transition);
}
.section-desc {
  text-align: center; color: var(--text-light); font-size: 1.05rem;
  margin-bottom: 48px; opacity: 0; transform: translateY(20px); transition: var(--transition);
}
.sub-title { font-family: var(--font-display); font-size: 1.5rem; text-align: center; margin: 48px 0 24px; }
[data-aos].visible { opacity: 1 !important; transform: translateY(0) !important; }

/* ===== HERO ===== */
.hero {
  min-height: 100vh; display: flex; flex-direction: column; align-items: center;
  justify-content: center; text-align: center; padding: 40px 20px; position: relative; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(135deg, #fdf6f0 0%, #f5e6f0 30%, #e8f0fe 60%, #fdf6f0 100%);
  background-size: 400% 400%; animation: gradientShift 12s ease infinite;
}
.hero-bg::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 20% 80%, rgba(242,120,159,.12) 0%, transparent 50%),
              radial-gradient(circle at 80% 20%, rgba(91,141,239,.12) 0%, transparent 50%);
}
@keyframes gradientShift { 0%,100%{background-position:0% 50%} 50%{background-position:100% 50%} }
.hero-content { position: relative; z-index: 1; }
.hero-badge {
  display: inline-block; padding: 8px 20px; border-radius: 30px;
  background: rgba(255,255,255,.7); backdrop-filter: blur(8px);
  font-size: .85rem; color: var(--text-light); margin-bottom: 24px;
  border: 1px solid rgba(0,0,0,.06);
  animation: fadeInDown .8s ease both;
}
.hero-title { margin-bottom: 16px; animation: fadeInUp 1s ease both .2s; }
.hero-name {
  font-family: var(--font-display); font-size: 3.2rem; display: inline-block;
  padding: 4px 16px; border-radius: 12px; position: relative;
}
.hero-name.he { color: var(--he); background: var(--he-light); }
.hero-name.she { color: var(--she); background: var(--she-light); }
.hero-x {
  font-family: var(--font-display); font-size: 2.4rem; color: var(--accent);
  margin: 0 16px; display: inline-block; animation: pulse 2s ease infinite;
}
@keyframes pulse { 0%,100%{transform:scale(1)} 50%{transform:scale(1.2)} }
.hero-subtitle { font-size: 1.1rem; color: var(--text-light); margin-bottom: 12px; animation: fadeInUp 1s ease both .4s; }
.hero-tagline {
  font-family: var(--font-display); font-size: 1.6rem; color: var(--text);
  margin-bottom: 36px; animation: fadeInUp 1s ease both .6s;
}
.hero-btn {
  padding: 14px 36px; border: none; border-radius: 30px; cursor: pointer;
  font-family: var(--font-display); font-size: 1.1rem;
  background: linear-gradient(135deg, var(--she), var(--he));
  color: #fff; box-shadow: 0 6px 24px rgba(242,120,159,.3);
  transition: var(--transition); animation: fadeInUp 1s ease both .8s;
}
.hero-btn:hover { transform: translateY(-3px); box-shadow: 0 10px 32px rgba(242,120,159,.4); }
.hero-btn .arrow { display: inline-block; animation: bounce 1.5s ease infinite; }
@keyframes bounce { 0%,100%{transform:translateY(0)} 50%{transform:translateY(4px)} }
.scroll-hint {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--text-light); font-size: .8rem; animation: fadeIn 1s ease both 1.2s;
}
.mouse {
  width: 24px; height: 38px; border: 2px solid var(--text-light); border-radius: 12px;
  display: flex; justify-content: center; padding-top: 8px;
}
.wheel { width: 3px; height: 8px; background: var(--text-light); border-radius: 2px; animation: scrollWheel 1.5s ease infinite; }
@keyframes scrollWheel { 0%{opacity:1;transform:translateY(0)} 100%{opacity:0;transform:translateY(10px)} }
@keyframes fadeInUp { from{opacity:0;transform:translateY(30px)} to{opacity:1;transform:translateY(0)} }
@keyframes fadeInDown { from{opacity:0;transform:translateY(-20px)} to{opacity:1;transform:translateY(0)} }
@keyframes fadeIn { from{opacity:0} to{opacity:1} }

/* ===== STATS ===== */
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; margin-bottom: 48px; }
.stat-card {
  background: var(--card); border-radius: var(--radius); padding: 28px 20px;
  text-align: center; box-shadow: var(--shadow); transition: var(--transition);
  border: 1px solid rgba(0,0,0,.04);
}
.stat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.stat-icon { font-size: 2rem; margin-bottom: 8px; }
.stat-num { font-family: var(--font-display); font-size: 2.2rem; color: var(--she); }
.stat-label { font-size: .85rem; color: var(--text-light); margin-top: 4px; }

/* Ratio */
.ratio-section { text-align: center; }
.ratio-bar-wrap { display: flex; align-items: center; gap: 16px; max-width: 600px; margin: 0 auto 16px; }
.ratio-label-left, .ratio-label-right { font-size: .85rem; font-weight: 500; white-space: nowrap; }
.ratio-bar { flex: 1; height: 36px; border-radius: 18px; background: #eee; display: flex; overflow: hidden; }
.ratio-fill {
  height: 100%; display: flex; align-items: center; justify-content: center;
  font-size: .8rem; font-weight: 700; color: #fff; transition: width 1.5s cubic-bezier(.4,0,.2,1);
}
.he-fill { background: linear-gradient(90deg, var(--he), #7ba3f7); border-radius: 18px 0 0 18px; }
.she-fill { background: linear-gradient(90deg, #f78daf, var(--she)); border-radius: 0 18px 18px 0; }
.ratio-comment { color: var(--text-light); font-size: .95rem; font-style: italic; }

/* ===== PERSONALITY ===== */
.persona-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.persona-card {
  background: var(--card); border-radius: var(--radius); padding: 36px 28px;
  box-shadow: var(--shadow); border-top: 4px solid; transition: var(--transition);
  opacity: 0; transform: translateY(30px);
}
.persona-card.visible { opacity: 1; transform: translateY(0); }
.he-card { border-color: var(--he); }
.she-card { border-color: var(--she); }
.persona-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.persona-avatar { font-size: 3rem; text-align: center; margin-bottom: 8px; }
.persona-name { font-family: var(--font-display); font-size: 1.6rem; text-align: center; margin-bottom: 4px; }
.persona-tag { text-align: center; font-size: .85rem; color: var(--text-light); margin-bottom: 20px; }
.trait { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.trait-icon { font-size: 1.1rem; width: 24px; text-align: center; }
.trait-name { font-size: .85rem; width: 72px; flex-shrink: 0; }
.trait-bar { flex: 1; height: 10px; background: #f0ede8; border-radius: 5px; overflow: hidden; }
.trait-fill { height: 100%; border-radius: 5px; width: 0; transition: width 1.2s cubic-bezier(.4,0,.2,1); }
.he-card .trait-fill { background: linear-gradient(90deg, var(--he), #7ba3f7); }
.she-card .trait-fill { background: linear-gradient(90deg, var(--she), #f78daf); }
.persona-quote {
  font-family: var(--font-display); font-size: 1rem; text-align: center;
  color: var(--text-light); margin: 20px 0 16px; padding: 12px;
  background: var(--bg); border-radius: var(--radius-sm); font-style: italic;
}
.persona-summary { font-size: .9rem; line-height: 1.8; color: var(--text); }

/* ===== CHAT STYLE ===== */
.style-compare { display: flex; gap: 24px; align-items: flex-start; }
.style-col { flex: 1; background: var(--card); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); overflow: hidden; min-width: 0; }
.style-col h3 { font-family: var(--font-display); font-size: 1.3rem; margin-bottom: 16px; text-align: center; }
.he-style { border-top: 3px solid var(--he); }
.she-style { border-top: 3px solid var(--she); }
.style-vs {
  font-family: var(--font-display); font-size: 2rem; color: var(--accent);
  align-self: center; flex-shrink: 0; text-shadow: 0 2px 8px rgba(255,179,71,.3);
}
.style-list { list-style: none; margin-bottom: 20px; }
.style-list li { padding: 6px 0; font-size: .9rem; border-bottom: 1px dashed rgba(0,0,0,.06); word-break: break-all; overflow-wrap: break-word; }
.style-bubble { display: flex; flex-direction: column; gap: 8px; }
.bubble {
  padding: 10px 16px; border-radius: 16px; font-size: .85rem; max-width: 85%;
  animation: floatBubble 3s ease infinite;
}
.he-bubble { background: var(--he-light); color: var(--he); align-self: flex-start; border-bottom-left-radius: 4px; }
.she-bubble { background: var(--she-light); color: var(--she); align-self: flex-end; border-bottom-right-radius: 4px; }
@keyframes floatBubble { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-3px)} }

/* Fun facts */
.facts-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.fact-card {
  background: var(--card); border-radius: var(--radius-sm); padding: 24px 16px;
  text-align: center; box-shadow: var(--shadow); transition: var(--transition);
}
.fact-card:hover { transform: scale(1.05); }
.fact-num { font-family: var(--font-display); font-size: 1.8rem; color: var(--accent); margin-bottom: 8px; }
.fact-desc { font-size: .82rem; color: var(--text-light); line-height: 1.5; }
.fact-desc small { display: block; margin-top: 4px; font-style: italic; }

/* ===== TIMELINE ===== */
.timeline { position: relative; padding-left: 40px; }
.timeline::before { content:''; position:absolute; left:14px; top:0; bottom:0; width:3px; background:linear-gradient(to bottom,var(--he),var(--she)); border-radius:2px; }
.tl-item { position: relative; margin-bottom: 40px; }
.tl-dot {
  position: absolute; left: -33px; top: 6px; width: 16px; height: 16px;
  border-radius: 50%; background: var(--card); border: 3px solid var(--she);
  box-shadow: 0 0 0 4px rgba(242,120,159,.15); z-index: 1;
}
.tl-date { font-size: .8rem; color: var(--text-light); margin-bottom: 6px; font-weight: 500; }
.tl-content {
  background: var(--card); border-radius: var(--radius-sm); padding: 20px 24px;
  box-shadow: var(--shadow); border-left: 3px solid var(--she);
}
.tl-tag {
  display: inline-block; padding: 3px 12px; border-radius: 12px; font-size: .75rem;
  background: var(--she-light); color: var(--she); margin-bottom: 8px;
}
.tl-content h4 { font-family: var(--font-display); font-size: 1.2rem; margin-bottom: 8px; }
.tl-content p { font-size: .9rem; color: var(--text); line-height: 1.7; }
.tl-temp { margin-top: 12px; font-size: .85rem; color: var(--text-light); }
.tl-temp .temp { font-weight: 700; color: var(--she); }

/* ===== HIGHLIGHTS ===== */
.highlights-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.hl-card {
  perspective: 800px; height: 280px; cursor: pointer;
}
.hl-front, .hl-back {
  position: absolute; inset: 0; border-radius: var(--radius); padding: 24px;
  backface-visibility: hidden; transition: transform .6s ease;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
}
.hl-card { position: relative; }
.hl-front {
  background: var(--card); box-shadow: var(--shadow); text-align: center;
  border: 2px dashed rgba(0,0,0,.08);
}
.hl-back {
  background: linear-gradient(135deg, var(--she-light), var(--he-light));
  transform: rotateY(180deg); text-align: left; align-items: flex-start;
  box-shadow: var(--shadow-lg); font-size: .88rem; line-height: 1.7;
}
.hl-card.flipped .hl-front { transform: rotateY(180deg); }
.hl-card.flipped .hl-back { transform: rotateY(0); }
.hl-emoji { font-size: 3rem; margin-bottom: 12px; }
.hl-front h4 { font-family: var(--font-display); font-size: 1.2rem; margin-bottom: 8px; }
.hl-hint { font-size: .8rem; color: var(--text-light); }
.hl-verdict { margin-top: 12px; font-weight: 700; color: var(--she); font-size: .85rem; }

/* ===== LOCK SCREEN ===== */
.lock-overlay {
  opacity: 0; transform: translateY(30px); transition: var(--transition);
}
.lock-overlay.visible { opacity: 1; transform: translateY(0); }
.lock-card {
  background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 48px 36px; text-align: center; max-width: 420px; margin: 0 auto;
  border: 2px solid rgba(242,120,159,.15);
  position: relative; overflow: hidden;
}
.lock-card::before {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(135deg, rgba(232,240,254,.4) 0%, rgba(253,232,239,.4) 100%);
}
.lock-card > * { position: relative; z-index: 1; }
.lock-icon-wrap {
  width: 72px; height: 72px; margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--she-light), var(--he-light));
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(242,120,159,.15);
  animation: lockPulse 2.5s ease infinite;
}
@keyframes lockPulse {
  0%,100% { box-shadow: 0 4px 20px rgba(242,120,159,.15); }
  50% { box-shadow: 0 4px 30px rgba(242,120,159,.3); }
}
.lock-icon { width: 32px; height: 32px; color: var(--she); }
.lock-title { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: 10px; color: var(--text); }
.lock-desc { font-size: .9rem; color: var(--text-light); margin-bottom: 8px; line-height: 1.6; }
.lock-hint {
  font-size: .85rem; color: var(--she); margin-bottom: 28px;
  padding: 8px 16px; background: var(--she-light); border-radius: 20px; display: inline-block;
}
.lock-dots { display: flex; gap: 16px; justify-content: center; margin-bottom: 24px; }
.lock-dot {
  width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid rgba(242,120,159,.4); background: transparent;
  transition: all .25s cubic-bezier(.4,0,.2,1);
}
.lock-dot.filled { background: var(--she); border-color: var(--she); transform: scale(1.15); }
.lock-dot.error { background: #e74c3c; border-color: #e74c3c; animation: dotShake .4s ease; }
@keyframes dotShake {
  0%,100% { transform: translateX(0); }
  20%,60% { transform: translateX(-6px); }
  40%,80% { transform: translateX(6px); }
}
.lock-keypad {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
  max-width: 260px; margin: 0 auto;
}
.lock-key {
  width: 100%; aspect-ratio: 1.4; border: none; border-radius: var(--radius-sm);
  background: var(--bg); font-family: var(--font-display); font-size: 1.4rem;
  color: var(--text); cursor: pointer; transition: all .2s ease;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
}
.lock-key:hover { background: var(--she-light); color: var(--she); transform: scale(1.06); }
.lock-key:active { transform: scale(0.95); }
.lock-key-empty { visibility: hidden; cursor: default; }
.lock-key-del { font-size: 1.2rem; color: var(--text-light); }
.lock-key-del:hover { color: #e74c3c; background: #fde8e8; }
.lock-error {
  margin-top: 16px; font-size: .85rem; color: #e74c3c; min-height: 20px;
  transition: opacity .3s ease;
}
/* 解锁成功动画 */
.lock-overlay.unlocked {
  animation: lockUnlock .8s cubic-bezier(.4,0,.2,1) forwards;
}
@keyframes lockUnlock {
  0% { opacity: 1; transform: scale(1); }
  30% { opacity: 1; transform: scale(1.03); }
  100% { opacity: 0; transform: scale(0.9) translateY(-30px); pointer-events: none; }
}
.conclusion-card.unlocked-show {
  display: block !important;
  animation: unlockReveal .8s cubic-bezier(.4,0,.2,1) .4s both;
}
.final-quote.unlocked-show {
  display: block !important;
  animation: unlockReveal .8s cubic-bezier(.4,0,.2,1) .6s both;
}
@keyframes unlockReveal {
  from { opacity: 0; transform: translateY(30px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ===== CONCLUSION ===== */
.conclusion-card {
  background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  overflow: hidden; opacity: 0; transform: translateY(30px); transition: var(--transition);
}
.conclusion-card.visible { opacity: 1; transform: translateY(0); }
.conclusion-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 32px 36px; background: linear-gradient(135deg, var(--he-light), var(--she-light));
}
.conclusion-badge {
  font-family: var(--font-display); font-size: 1.3rem;
  padding: 6px 18px; background: rgba(255,255,255,.7); border-radius: 20px;
}
.match-score { text-align: center; }
.match-ring { position: relative; width: 100px; height: 100px; }
.match-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring-bg { fill: none; stroke: rgba(0,0,0,.08); stroke-width: 8; }
.ring-fill {
  fill: none; stroke: url(#matchGrad); stroke-width: 8;
  stroke-linecap: round; stroke-dasharray: 339.292; stroke-dashoffset: 339.292;
  transition: stroke-dashoffset 2s cubic-bezier(.4,0,.2,1);
}
.match-num {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 2rem; color: var(--she);
}
.match-num small { font-size: .9rem; }
.match-label { font-size: .85rem; color: var(--text-light); margin-top: 4px; }
.conclusion-body { padding: 32px 36px; }
.conclusion-section { margin-bottom: 28px; }
.conclusion-section h4 { font-family: var(--font-display); font-size: 1.2rem; margin-bottom: 12px; color: var(--text); }
.conclusion-section p { font-size: .92rem; line-height: 1.8; }
.conclusion-section ul { list-style: none; padding: 0; }
.conclusion-section li { padding: 6px 0; font-size: .9rem; line-height: 1.6; overflow-wrap: break-word; }
.conclusion-footer {
  padding: 20px 36px; background: var(--bg-alt); font-size: .82rem;
  color: var(--text-light); text-align: center; font-style: italic;
}
.final-quote {
  text-align: center; margin-top: 60px; opacity: 0; transform: translateY(20px); transition: var(--transition);
}
.final-quote.visible { opacity: 1; transform: translateY(0); }
.final-quote blockquote {
  font-family: var(--font-display); font-size: 1.6rem; color: var(--text);
  position: relative; display: inline-block; padding: 0 40px;
}
.final-quote blockquote::before, .final-quote blockquote::after {
  font-size: 3rem; color: var(--she); opacity: .3; position: absolute;
}
.final-quote blockquote::before { content: '"'; left: 0; top: -10px; }
.final-quote blockquote::after { content: '"'; right: 0; bottom: -20px; }
.final-quote cite { display: block; margin-top: 16px; font-size: .9rem; color: var(--text-light); font-style: italic; }

/* ===== FOOTER ===== */
.footer {
  text-align: center; padding: 40px 20px; background: var(--text);
  color: rgba(255,255,255,.6); font-size: .85rem;
}
.footer p:first-child { font-family: var(--font-display); font-size: 1.1rem; color: rgba(255,255,255,.8); margin-bottom: 8px; }

/* ===== RESPONSIVE ===== */

/* 平板 */
@media (max-width: 900px) {
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .facts-grid { grid-template-columns: repeat(2,1fr); }
  .highlights-grid { grid-template-columns: repeat(2,1fr); }
  .style-compare { gap: 16px; }
  .conclusion-body { padding: 24px 20px; }
  .conclusion-header { padding: 24px 20px; }
}

/* 手机 */
@media (max-width: 768px) {
  html { font-size: 15px; }
  .section { padding: 60px 16px; }

  /* 导航 */
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(250,248,245,.97); backdrop-filter: blur(16px);
    flex-direction: column; padding: 12px 16px; gap: 4px;
    border-bottom: 1px solid rgba(0,0,0,.06);
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
  }
  .nav-links.open { display: flex; }
  .nav-link { padding: 10px 16px; border-radius: 10px; font-size: .9rem; }
  .nav-burger { display: block; }
  .nav-inner { padding: 10px 16px; }
  .nav-logo { font-size: 1rem; }

  /* Hero */
  .hero { padding: 30px 16px; min-height: 100svh; overflow: hidden; }
  .hero-title { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 100%; }
  .hero-name { font-size: 1.8rem; padding: 4px 12px; max-width: 90vw; }
  .hero-x { font-size: 1.4rem; margin: 0; }
  .hero-subtitle { font-size: .9rem; }
  .hero-tagline { font-size: 1.15rem; margin-bottom: 28px; }
  .hero-badge { font-size: .75rem; padding: 6px 14px; margin-bottom: 18px; }
  .hero-btn { padding: 12px 28px; font-size: 1rem; }
  .scroll-hint { bottom: 16px; font-size: .7rem; }

  /* 标题 */
  .section-title { font-size: 1.6rem; margin-bottom: 8px; }
  .section-desc { font-size: .9rem; margin-bottom: 32px; }
  .sub-title { font-size: 1.2rem; margin: 32px 0 16px; }

  /* 数据总览 */
  .stats-grid { grid-template-columns: repeat(2,1fr); gap: 12px; }
  .stat-card { padding: 20px 12px; }
  .stat-icon { font-size: 1.6rem; margin-bottom: 4px; }
  .stat-num { font-size: 1.7rem; }
  .stat-label { font-size: .75rem; }
  .ratio-bar-wrap { flex-direction: column; gap: 8px; }
  .ratio-bar { width: 100%; height: 32px; }
  .ratio-label-left, .ratio-label-right { font-size: .8rem; }
  .ratio-comment { font-size: .85rem; }

  /* 性格画像 */
  .persona-grid { grid-template-columns: 1fr; gap: 20px; }
  .persona-card { padding: 24px 18px; }
  .persona-avatar { font-size: 2.4rem; }
  .persona-name { font-size: 1.3rem; }
  .persona-tag { font-size: .78rem; }
  .trait-name { font-size: .78rem; width: 64px; }
  .trait-bar { height: 8px; }
  .persona-quote { font-size: .88rem; padding: 10px; }
  .persona-summary { font-size: .85rem; }

  /* 聊天风格 */
  .style-compare { flex-direction: column; gap: 16px; }
  .style-vs { align-self: center; font-size: 1.5rem; padding: 4px 0; }
  .style-col { padding: 18px 14px; }
  .style-col h3 { font-size: 1.1rem; }
  .style-list li { font-size: .82rem; padding: 5px 0; word-break: normal; }
  .bubble { font-size: .78rem; padding: 8px 12px; max-width: 95%; }

  /* 趣味数据 */
  .facts-grid { grid-template-columns: repeat(2,1fr); gap: 10px; }
  .fact-card { padding: 16px 10px; }
  .fact-num { font-size: 1.4rem; }
  .fact-desc { font-size: .75rem; }

  /* 时间线 */
  .timeline { padding-left: 30px; }
  .timeline::before { left: 10px; }
  .tl-dot { left: -26px; width: 13px; height: 13px; }
  .tl-content { padding: 14px 16px; }
  .tl-content h4 { font-size: 1.05rem; }
  .tl-content p { font-size: .82rem; }
  .tl-date { font-size: .72rem; }
  .tl-tag { font-size: .68rem; padding: 2px 8px; }
  .tl-temp { font-size: .78rem; }

  /* 名场面 */
  .highlights-grid { grid-template-columns: 1fr; gap: 14px; }
  .hl-card { height: 240px; }
  .hl-emoji { font-size: 2.4rem; margin-bottom: 8px; }
  .hl-front h4 { font-size: 1.05rem; }
  .hl-back { font-size: .82rem; padding: 18px; }
  .hl-verdict { font-size: .78rem; }

  /* 密码锁 */
  .lock-card { padding: 32px 20px; max-width: 340px; }
  .lock-icon-wrap { width: 60px; height: 60px; margin-bottom: 16px; }
  .lock-icon { width: 26px; height: 26px; }
  .lock-title { font-size: 1.3rem; }
  .lock-desc { font-size: .82rem; }
  .lock-hint { font-size: .78rem; padding: 6px 12px; margin-bottom: 20px; }
  .lock-dots { gap: 12px; margin-bottom: 18px; }
  .lock-dot { width: 14px; height: 14px; }
  .lock-keypad { max-width: 220px; gap: 8px; }
  .lock-key { font-size: 1.2rem; }

  /* 结论 */
  .conclusion-header { flex-direction: column; gap: 16px; padding: 20px 16px; }
  .conclusion-badge { font-size: 1.1rem; }
  .match-ring { width: 80px; height: 80px; }
  .match-num { font-size: 1.6rem; }
  .conclusion-body { padding: 20px 16px; }
  .conclusion-section h4 { font-size: 1.05rem; }
  .conclusion-section p { font-size: .85rem; }
  .conclusion-section li { font-size: .82rem; }
  .conclusion-footer { padding: 14px 16px; font-size: .75rem; }
  .final-quote blockquote { font-size: 1.2rem; padding: 0 24px; }
  .final-quote blockquote::before, .final-quote blockquote::after { font-size: 2rem; }
  .final-quote cite { font-size: .8rem; }
  .final-quote { margin-top: 40px; }

  /* Footer */
  .footer { padding: 28px 16px; }
  .footer p:first-child { font-size: .95rem; }
}

/* 小屏手机 */
@media (max-width: 380px) {
  html { font-size: 14px; }
  .hero-name { font-size: 1.5rem; }
  .hero-x { font-size: 1.2rem; }
  .stats-grid { gap: 8px; }
  .stat-card { padding: 16px 8px; }
  .stat-num { font-size: 1.4rem; }
  .lock-card { padding: 24px 14px; max-width: 300px; }
  .lock-keypad { max-width: 200px; gap: 6px; }
  .lock-key { font-size: 1.1rem; }
  .facts-grid { grid-template-columns: 1fr; }
  .hl-card { height: 260px; }
  .conclusion-body { padding: 16px 12px; }
}

/* 安全区域适配（刘海屏等） */
@supports (padding: env(safe-area-inset-bottom)) {
  .footer { padding-bottom: calc(28px + env(safe-area-inset-bottom)); }
  .nav { padding-top: env(safe-area-inset-top); }
}

/* ===== 分享悬浮按钮 ===== */
.share-fab {
  position: fixed; bottom: 32px; right: 32px; z-index: 90;
  display: flex; align-items: center; gap: 8px;
  padding: 14px 22px; border: none; border-radius: 30px; cursor: pointer;
  background: linear-gradient(135deg, var(--she), var(--he));
  color: #fff; font-family: var(--font-display); font-size: .95rem;
  box-shadow: 0 6px 28px rgba(242,120,159,.35);
  transition: all .4s cubic-bezier(.4,0,.2,1);
  animation: fabPulse 3s ease infinite;
}
.share-fab:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 10px 36px rgba(242,120,159,.45);
}
.share-fab svg { flex-shrink: 0; }
@keyframes fabPulse {
  0%,100% { box-shadow: 0 6px 28px rgba(242,120,159,.35); }
  50% { box-shadow: 0 6px 36px rgba(242,120,159,.55), 0 0 0 8px rgba(242,120,159,.1); }
}

/* ===== 海报弹窗遮罩 ===== */
.poster-overlay {
  position: fixed; inset: 0; z-index: 10000;
  background: rgba(0,0,0,.6); backdrop-filter: blur(8px);
  display: none; align-items: center; justify-content: center;
  padding: 20px; opacity: 0; transition: opacity .3s ease;
}
.poster-overlay.active { display: flex; opacity: 1; }

.poster-modal {
  position: relative; max-width: 420px; width: 100%;
  display: flex; flex-direction: column; align-items: center;
  animation: posterSlideUp .5s cubic-bezier(.4,0,.2,1);
}
@keyframes posterSlideUp {
  from { opacity: 0; transform: translateY(40px) scale(.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.poster-close {
  position: absolute; top: -12px; right: -12px; z-index: 2;
  width: 36px; height: 36px; border: none; border-radius: 50%;
  background: #fff; color: var(--text); font-size: 1.4rem;
  cursor: pointer; box-shadow: 0 4px 16px rgba(0,0,0,.15);
  display: flex; align-items: center; justify-content: center;
  transition: all .2s ease;
}
.poster-close:hover { background: var(--she); color: #fff; transform: rotate(90deg); }

.poster-scroll-wrap {
  overflow: visible;
  border-radius: var(--radius);
  transform-origin: top center;
  transition: transform .3s ease;
}

/* ===== 海报卡片主体 ===== */
.poster-card {
  background: var(--bg); border-radius: var(--radius); overflow: hidden;
  font-family: var(--font-body); color: var(--text);
  box-shadow: 0 8px 40px rgba(0,0,0,.12);
  width: 100%;
}

/* 海报头部 */
.poster-header {
  position: relative; padding: 36px 28px 28px; text-align: center;
  background: linear-gradient(135deg, #fdf6f0 0%, #f5e6f0 30%, #e8f0fe 60%, #fdf6f0 100%);
  overflow: hidden;
}
.poster-header-bg {
  position: absolute; inset: 0;
  background: radial-gradient(circle at 20% 80%, rgba(242,120,159,.15) 0%, transparent 50%),
              radial-gradient(circle at 80% 20%, rgba(91,141,239,.15) 0%, transparent 50%);
}
.poster-header-content { position: relative; z-index: 1; }
.poster-badge {
  display: inline-block; padding: 5px 16px; border-radius: 20px;
  background: rgba(255,255,255,.7); backdrop-filter: blur(6px);
  font-size: .75rem; color: var(--text-light); margin-bottom: 14px;
  border: 1px solid rgba(0,0,0,.06);
}
.poster-title {
  font-family: var(--font-display); font-size: 2rem; color: var(--text);
  margin-bottom: 14px; letter-spacing: 2px;
}
.poster-names { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }
.poster-name {
  font-family: var(--font-display); font-size: 1.2rem;
  padding: 4px 14px; border-radius: 10px;
}
.poster-name.he { color: var(--he); background: var(--he-light); }
.poster-name.she { color: var(--she); background: var(--she-light); }
.poster-heart {
  font-size: 1.4rem; color: var(--she);
  animation: posterHeartBeat 1.2s ease infinite;
}
@keyframes posterHeartBeat {
  0%,100% { transform: scale(1); }
  15% { transform: scale(1.25); }
  30% { transform: scale(1); }
  45% { transform: scale(1.15); }
}

/* 装饰花瓣 */
.poster-petal {
  position: absolute; width: 20px; height: 20px; border-radius: 50% 0;
  opacity: .2; z-index: 0;
}
.poster-petal.p1 { top: 12%; left: 8%; background: var(--she); transform: rotate(30deg); width: 16px; height: 16px; }
.poster-petal.p2 { top: 20%; right: 12%; background: var(--he); transform: rotate(-45deg); width: 14px; height: 14px; }
.poster-petal.p3 { bottom: 15%; left: 15%; background: var(--he); transform: rotate(60deg); width: 12px; height: 12px; }
.poster-petal.p4 { bottom: 25%; right: 8%; background: var(--she); transform: rotate(-20deg); width: 18px; height: 18px; }
.poster-petal.p5 { top: 50%; left: 5%; background: var(--accent); transform: rotate(45deg); width: 10px; height: 10px; }

/* 海报数据统计 */
.poster-stats {
  display: flex; align-items: center; justify-content: center;
  padding: 20px 24px; gap: 0;
  background: #fff; border-bottom: 1px solid rgba(0,0,0,.05);
}
.poster-stat { flex: 1; text-align: center; }
.poster-stat-num {
  font-family: var(--font-display); font-size: 1.5rem;
  background: linear-gradient(135deg, var(--he), var(--she));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.poster-stat-label { font-size: .7rem; color: var(--text-light); margin-top: 2px; }
.poster-stat-divider {
  width: 1px; height: 32px; background: linear-gradient(to bottom, transparent, rgba(0,0,0,.1), transparent);
  flex-shrink: 0;
}

/* 海报金句区 */
.poster-quotes { padding: 20px 24px; background: #fff; }
.poster-quote-item {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 10px 0; border-bottom: 1px dashed rgba(0,0,0,.06);
}
.poster-quote-item:last-child { border-bottom: none; }
.poster-quote-icon { font-size: 1.3rem; flex-shrink: 0; margin-top: 2px; }
.poster-quote-title {
  font-family: var(--font-display); font-size: .8rem; color: var(--she);
  margin-bottom: 2px;
}
.poster-quote-content { font-size: .82rem; color: var(--text); line-height: 1.5; }

/* AI 评语 */
.poster-verdict {
  margin: 0 24px; padding: 16px 20px;
  background: linear-gradient(135deg, var(--she-light), var(--he-light));
  border-radius: var(--radius-sm); text-align: center;
}
.poster-verdict-label {
  font-family: var(--font-display); font-size: .85rem;
  color: var(--text); margin-bottom: 8px;
}
.poster-verdict-text {
  font-size: .85rem; color: var(--text); line-height: 1.7;
  font-style: italic;
}

/* 海报底部 */
.poster-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px; gap: 16px;
}
.poster-footer-left { flex: 1; }
.poster-slogan {
  font-family: var(--font-display); font-size: 1rem;
  color: var(--text); margin-bottom: 4px;
}
.poster-date { font-size: .75rem; color: var(--text-light); margin-bottom: 2px; }
.poster-powered { font-size: .7rem; color: var(--text-light); opacity: .6; }
.poster-qr {
  width: 80px; height: 80px; flex-shrink: 0;
  background: #fff; border-radius: 8px; padding: 4px;
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.poster-qr img, .poster-qr canvas { width: 100%; height: 100%; object-fit: contain; }

/* 操作按钮 */
.poster-actions {
  display: flex; gap: 12px; margin-top: 16px; justify-content: center;
}
.poster-btn {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 24px; border: none; border-radius: 24px;
  font-family: var(--font-display); font-size: .9rem;
  cursor: pointer; transition: all .3s ease;
}
.poster-btn-save {
  background: linear-gradient(135deg, var(--she), var(--he));
  color: #fff; box-shadow: 0 4px 20px rgba(242,120,159,.3);
}
.poster-btn-save:hover { transform: translateY(-2px); box-shadow: 0 6px 28px rgba(242,120,159,.4); }
.poster-btn-copy {
  background: #fff; color: var(--text);
  box-shadow: 0 4px 16px rgba(0,0,0,.1);
}
.poster-btn-copy:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(0,0,0,.15); }

/* 海报弹窗响应式 */
@media (max-width: 768px) {
  .share-fab { bottom: 20px; right: 16px; padding: 12px 18px; font-size: .85rem; }
  .share-fab span { display: none; }
  .share-fab { padding: 14px; border-radius: 50%; }
  .poster-modal { max-width: 360px; }
  .poster-header { padding: 28px 20px 22px; }
  .poster-title { font-size: 1.6rem; }
  .poster-name { font-size: 1rem; padding: 3px 10px; }
  .poster-stats { padding: 16px 16px; }
  .poster-stat-num { font-size: 1.2rem; }
  .poster-quotes { padding: 16px 18px; }
  .poster-quote-content { font-size: .78rem; }
  .poster-verdict { margin: 0 18px; padding: 14px 16px; }
  .poster-footer { padding: 16px 18px; }
  .poster-qr { width: 68px; height: 68px; }
  .poster-actions { flex-direction: column; gap: 8px; }
  .poster-btn { justify-content: center; }
}

/* ===== 剧场模式按钮 ===== */
.hero-btn-theater {
  margin-top: 8px;
  background: transparent;
  border: 2px solid rgba(255,255,255,.45);
  color: #fff;
  font-size: .9rem;
  letter-spacing: 1px;
  animation: theaterPulse 2.5s ease-in-out infinite;
}
.hero-btn-theater:hover {
  background: rgba(255,255,255,.15);
  border-color: rgba(255,255,255,.8);
  animation: none;
}
@keyframes theaterPulse {
  0%,100% { border-color: rgba(255,255,255,.3); }
  50% { border-color: rgba(242,120,159,.6); }
}

/* ===== 剧场模式全屏容器 ===== */
.theater {
  position: fixed; inset: 0; z-index: 10000;
  display: none; overflow: hidden;
  background: #0a0a12;
}
.theater.active { display: flex; flex-direction: column; }

/* 页面指示器 */
.theater-dots {
  position: fixed; right: 16px; top: 50%; transform: translateY(-50%);
  z-index: 10002; display: flex; flex-direction: column; gap: 10px;
}
.theater-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,.25); transition: all .4s;
  cursor: pointer; border: none; padding: 0;
}
.theater-dot.active {
  background: #f2789f; box-shadow: 0 0 8px rgba(242,120,159,.5);
  transform: scale(1.3);
}

/* 退出按钮 */
.theater-exit {
  position: fixed; top: 16px; right: 16px; z-index: 10002;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.7); width: 36px; height: 36px;
  border-radius: 50%; cursor: pointer; font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  transition: all .3s; backdrop-filter: blur(8px);
}
.theater-exit:hover {
  background: rgba(255,255,255,.2); color: #fff;
}

/* 单页幻灯片 */
.theater-slide {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 40px 32px 100px;
  opacity: 0; transform: translateY(40px);
  transition: opacity .6s ease, transform .6s ease;
  pointer-events: none; overflow-y: auto;
}
.theater-slide.active {
  opacity: 1; transform: translateY(0);
  pointer-events: auto;
}
.theater-slide.exit-up {
  opacity: 0; transform: translateY(-40px);
}

/* 幻灯片标题区 */
.slide-header {
  text-align: center; margin-bottom: 28px;
  animation: slideFadeIn .8s ease .2s both;
}
.slide-icon {
  font-size: 2.8rem; margin-bottom: 12px;
  display: block;
  animation: slideIconPop .6s cubic-bezier(.4,0,.2,1) .3s both;
}
.slide-title {
  font-family: var(--font-display); font-size: 1.6rem;
  color: #fff; margin-bottom: 6px; letter-spacing: 1px;
}
.slide-subtitle {
  font-size: .85rem; color: rgba(255,255,255,.5);
  font-style: italic;
}

/* 幻灯片内容区 */
.slide-body {
  width: 100%; max-width: 680px;
  animation: slideFadeIn .8s ease .4s both;
}

/* 下一页引导按钮 */
.slide-next {
  position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%);
  z-index: 10002;
  background: linear-gradient(135deg, rgba(91,141,239,.3), rgba(242,120,159,.3));
  border: 1px solid rgba(255,255,255,.2);
  color: #fff; padding: 12px 36px;
  border-radius: 28px; cursor: pointer;
  font-family: var(--font-display); font-size: .9rem;
  letter-spacing: 1px;
  transition: all .3s;
  backdrop-filter: blur(8px);
  animation: nextBtnFloat 2s ease-in-out infinite;
}
.slide-next:hover {
  background: linear-gradient(135deg, rgba(91,141,239,.5), rgba(242,120,159,.5));
  border-color: rgba(255,255,255,.4);
  transform: translateX(-50%) translateY(-2px);
}
@keyframes nextBtnFloat {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-4px); }
}

/* 幻灯片内卡片样式 */
.slide-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px; padding: 24px;
  margin-bottom: 16px;
  backdrop-filter: blur(8px);
}
.slide-card h4 {
  font-family: var(--font-display); color: #fff;
  font-size: 1rem; margin-bottom: 10px;
}
.slide-card p, .slide-card li {
  color: rgba(255,255,255,.75); font-size: .85rem;
  line-height: 1.7;
}
.slide-card ul { list-style: none; padding: 0; }
.slide-card li { padding: 4px 0; }

/* 幻灯片内统计数字 */
.slide-stats {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 16px; margin-bottom: 16px;
}
.slide-stat {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px; padding: 20px 16px;
  text-align: center;
}
.slide-stat-icon { font-size: 1.6rem; margin-bottom: 6px; }
.slide-stat-num {
  font-family: var(--font-display); font-size: 1.8rem;
  background: linear-gradient(135deg, var(--he), var(--she));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.slide-stat-label {
  font-size: .72rem; color: rgba(255,255,255,.45); margin-top: 2px;
}

/* 幻灯片内双栏对比 */
.slide-compare {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.slide-compare .slide-card { margin-bottom: 0; }
.slide-compare .slide-card.he-side {
  border-color: rgba(91,141,239,.25);
}
.slide-compare .slide-card.she-side {
  border-color: rgba(242,120,159,.25);
}
.slide-compare .slide-card h4 .he-color { color: var(--he); }
.slide-compare .slide-card h4 .she-color { color: var(--she); }

/* 幻灯片内时间线 */
.slide-tl-item {
  display: flex; gap: 16px; margin-bottom: 20px;
  opacity: 0; transform: translateX(-20px);
  transition: all .5s ease;
}
.slide-tl-item.show {
  opacity: 1; transform: translateX(0);
}
.slide-tl-left {
  flex-shrink: 0; text-align: right; width: 80px;
}
.slide-tl-date {
  font-family: var(--font-display); font-size: .75rem;
  color: rgba(255,255,255,.5);
}
.slide-tl-temp {
  font-size: .7rem; margin-top: 4px;
}
.slide-tl-line {
  width: 2px; background: linear-gradient(to bottom, var(--he), var(--she));
  border-radius: 1px; flex-shrink: 0; position: relative;
}
.slide-tl-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--she); position: absolute; top: 4px; left: -4px;
  box-shadow: 0 0 8px rgba(242,120,159,.4);
}
.slide-tl-right { flex: 1; }
.slide-tl-tag {
  font-size: .7rem; color: var(--she);
  font-family: var(--font-display); margin-bottom: 4px;
}
.slide-tl-title {
  font-family: var(--font-display); color: #fff;
  font-size: .9rem; margin-bottom: 4px;
}
.slide-tl-desc {
  font-size: .8rem; color: rgba(255,255,255,.6); line-height: 1.6;
}

/* 幻灯片内名场面卡片 */
.slide-hl-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px;
}
.slide-hl-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px; padding: 18px;
  cursor: pointer; transition: all .4s;
  position: relative; overflow: hidden;
}
.slide-hl-card:hover {
  border-color: rgba(242,120,159,.3);
  background: rgba(255,255,255,.08);
}
.slide-hl-card .hl-emoji { font-size: 1.6rem; margin-bottom: 8px; }
.slide-hl-card h5 {
  font-family: var(--font-display); color: #fff;
  font-size: .82rem; margin-bottom: 6px;
}
.slide-hl-card p {
  font-size: .75rem; color: rgba(255,255,255,.55);
  line-height: 1.5;
}
.slide-hl-card .hl-detail {
  max-height: 0; overflow: hidden;
  transition: max-height .4s ease, opacity .3s;
  opacity: 0;
}
.slide-hl-card.expanded .hl-detail {
  max-height: 200px; opacity: 1; margin-top: 10px;
}
.slide-hl-card.expanded {
  border-color: rgba(242,120,159,.4);
  grid-column: span 2;
}

/* 动画关键帧 */
@keyframes slideFadeIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes slideIconPop {
  from { opacity: 0; transform: scale(0.5); }
  to { opacity: 1; transform: scale(1); }
}

/* 移动端适配 */
@media (max-width: 600px) {
  .theater-slide { padding: 32px 20px 90px; }
  .slide-title { font-size: 1.3rem; }
  .slide-stats { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .slide-stat { padding: 14px 10px; }
  .slide-stat-num { font-size: 1.4rem; }
  .slide-compare { grid-template-columns: 1fr; }
  .slide-hl-grid { grid-template-columns: 1fr; }
  .slide-hl-card.expanded { grid-column: span 1; }
  .theater-dots { right: 8px; gap: 8px; }
  .theater-dot { width: 6px; height: 6px; }
}
