/* ============ 我们的一周年 · 电影质感 / 写实浪漫摄影集风格 ============ */

:root {
  /* 电影级光影影调 */
  --gold-100: #fff8f0;
  --gold-200: #fcedd8;
  --gold-300: #f5dcba;
  --gold-400: #eec896;
  --gold-500: #deb17d;

  --dusk-100: #f5f2f8;
  --dusk-300: #c4b5d0;
  --dusk-500: #8c739d;
  --dusk-800: #2a2336;
  --dusk-900: #191424;

  --slate-900: #121824;
  --slate-800: #1a2233;
  --slate-700: #29354d;
  --slate-100: #f0f4f8;

  --accent-rose: #e27d88;
  --accent-gold: #e6b87d;
  --accent-blue: #7ca5cb;

  /* 文字墨色 */
  --text-pure: #ffffff;
  --text-bright: rgba(255, 255, 255, 0.95);
  --text-muted: rgba(255, 255, 255, 0.78);
  --text-faint: rgba(255, 255, 255, 0.55);

  --ink-title: #1e2430;
  --ink-main: #384252;
  --ink-dim: #5c687a;
  --ink-faint: #8a96a8;

  /* 写实极简毛玻璃与晶体 */
  --glass-film: rgba(255, 255, 255, 0.16);
  --glass-film-border: rgba(255, 255, 255, 0.35);
  --glass-card: rgba(255, 255, 255, 0.92);
  --glass-card-border: rgba(255, 255, 255, 0.95);
  --glass-blur-deep: blur(28px);
  --glass-blur-soft: blur(16px);

  /* 阴影 */
  --shadow-cinematic: 0 24px 60px rgba(0, 0, 0, 0.32), 0 4px 14px rgba(0, 0, 0, 0.15);
  --shadow-subtle: 0 10px 30px rgba(0, 0, 0, 0.12), 0 2px 6px rgba(0, 0, 0, 0.04);
  --shadow-polaroid: 0 12px 32px -4px rgba(25, 35, 55, 0.16), 0 2px 8px rgba(0, 0, 0, 0.05);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 9999px;

  --nav-h: 62px;
}

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

[hidden] {
  display: none !important;
}

html, body {
  height: 100%;
}

/* 全局电影画质微晶噪点 (模拟真实胶片质感) */
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Noto Serif SC", "STSong", "Songti SC", serif;
  font-size: 14px;
  line-height: 1.8;
  letter-spacing: 0.3px;
  color: var(--ink-main);
  background: #182232;
  overflow: hidden;
  overscroll-behavior: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.18;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 240 240' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.5'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

::selection {
  background: rgba(226, 125, 136, 0.35);
  color: #ffffff;
}

/* 优雅细滚动条 */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.28);
  border-radius: var(--radius-pill);
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.5);
}
* {
  scrollbar-color: rgba(255, 255, 255, 0.28) transparent;
  scrollbar-width: thin;
}

img {
  display: block;
  max-width: 100%;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
  letter-spacing: inherit;
  transition: all 0.24s cubic-bezier(0.25, 0.8, 0.25, 1);
}

:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.6);
  outline-offset: 3px;
}

.px {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  vertical-align: middle;
}
.px svg {
  display: block;
  shape-rendering: geometricPrecision;
}

#dust {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* ============ 顶部微透明悬浮导航栏 ============ */
#nav {
  position: fixed;
  top: 14px;
  left: clamp(14px, 4vw, 44px);
  right: clamp(14px, 4vw, 44px);
  z-index: 50;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0 22px;
  background: rgba(20, 26, 38, 0.45);
  backdrop-filter: var(--glass-blur-deep);
  -webkit-backdrop-filter: var(--glass-blur-deep);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-pill);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.25);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  user-select: none;
}
.brand:hover {
  transform: translateY(-1px);
}
.brand .px {
  color: var(--accent-rose);
  animation: heartPulse 1.8s ease-in-out infinite;
}
.brand-name {
  font-family: "Noto Serif SC", "Source Han Serif SC", "Songti SC", serif;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 2px;
  color: #ffffff;
}
.brand-sub {
  font-size: 12px;
  color: var(--text-faint);
  letter-spacing: 2px;
  font-weight: 400;
  text-transform: uppercase;
}

@keyframes heartPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}

.nav-links {
  display: flex;
  gap: 8px;
  margin-left: auto;
}
.nav-link {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1px;
  color: var(--text-muted);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  transition: all 0.2s ease;
}
.nav-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
}
.nav-link.active {
  background: rgba(255, 255, 255, 0.95);
  color: #121824;
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.music-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  transition: all 0.2s ease;
}
.music-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}
.music-btn[aria-pressed="true"] {
  background: rgba(255, 255, 255, 0.92);
  color: #121824;
  border-color: #ffffff;
  box-shadow: 0 4px 16px rgba(255, 255, 255, 0.25);
}
.music-btn[aria-pressed="true"] .px {
  color: #121824;
}
.music-btn .px {
  color: rgba(255, 255, 255, 0.85);
}

/* ============ 整屏舞台 & 电影天空场景 ============ */
#stage {
  position: fixed;
  inset: 0;
  z-index: 1;
  perspective: 1500px;
}
.page {
  position: absolute;
  inset: 0;
  display: flex;
  padding: calc(var(--nav-h) + 26px) clamp(16px, 4vw, 44px) max(94px, calc(86px + env(safe-area-inset-bottom, 16px)));
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: scale(0.98);
  transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.25, 1), opacity 0.55s ease, visibility 0s linear 0.7s;
}
.page.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: scale(1);
  transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.25, 1), opacity 0.55s ease, visibility 0s;
}
.page.pre-right { transform: translateX(4%) scale(0.98); opacity: 0; visibility: visible; transition: none; }
.page.pre-left  { transform: translateX(-4%) scale(0.98); opacity: 0; visibility: visible; transition: none; }
.page.exit-left { transform: translateX(-4%) scale(0.98); opacity: 0; visibility: visible; }
.page.exit-right{ transform: translateX(4%) scale(0.98); opacity: 0; visibility: visible; }

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

/* 1. 主页面/封面：高分辨率写实插画与电影级光影 */
.sky-morning .sky {
  background: #0d121c;
}

.cover-photo-bg {
  position: absolute;
  inset: 0;
  background-image: url('../assets/cover.jpg');
  background-size: cover;
  background-position: center 48%;
  background-repeat: no-repeat;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: high-quality;
}

.cover-photo-overlay {
  position: absolute;
  inset: 0;
  background:
    /* 顶部微渐变保护标题文字清晰度，绝不遮盖中区人物 */
    linear-gradient(180deg, rgba(8, 12, 20, 0.58) 0%, rgba(8, 12, 20, 0.12) 14%, transparent 26%),
    /* 底部微渐变保护计时器卡片清晰度 */
    linear-gradient(0deg, rgba(6, 10, 18, 0.68) 0%, rgba(6, 10, 18, 0.15) 16%, transparent 32%),
    /* 边缘极轻微暗角增加画框质感 */
    radial-gradient(ellipse 92% 90% at 50% 50%, transparent 68%, rgba(6, 8, 14, 0.35) 100%);
  pointer-events: none;
  transition: opacity 0.5s ease;
}

/* ============ 2/3/4页：唯美同款虚化背景 (全站情感连续性) ============ */
.page-blur-bg {
  position: absolute;
  inset: -10px;
  background-image: url('../assets/cover-blur.jpg');
  background-size: cover;
  background-position: center 48%;
  background-repeat: no-repeat;
  filter: brightness(0.68) saturate(1.15);
  transform: scale(1.02);
  transition: transform 12s cubic-bezier(0.2, 0.8, 0.25, 1);
  will-change: transform;
}
.page.active .page-blur-bg {
  transform: scale(1.0);
}

.ambient-sky {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* 2. 地图页：旅途写实天空与深蓝暮色渐变 */
.sky-noon .sky {
  background: #0f1522;
}
.map-sky {
  background:
    radial-gradient(ellipse 80% 60% at 50% 20%, rgba(20, 32, 54, 0.45) 0%, transparent 80%),
    linear-gradient(180deg, rgba(12, 18, 30, 0.72) 0%, rgba(16, 25, 40, 0.55) 45%, rgba(10, 15, 26, 0.82) 100%);
}

/* 3. 时光轴页：黄昏霞光微醺渐变 */
.sky-sunset .sky {
  background: #141120;
}
.timeline-sky {
  background:
    radial-gradient(ellipse 70% 50% at 50% 10%, rgba(55, 30, 50, 0.35) 0%, transparent 80%),
    linear-gradient(180deg, rgba(18, 14, 26, 0.72) 0%, rgba(32, 20, 36, 0.52) 45%, rgba(12, 10, 20, 0.84) 100%);
}

/* 4. 一封信页：静谧月夜星空渐变 */
.sky-night .sky {
  background: #070912;
}
.letter-sky {
  background:
    radial-gradient(circle at 85% 15%, rgba(255, 240, 200, 0.12) 0%, transparent 40%),
    linear-gradient(180deg, rgba(7, 9, 16, 0.78) 0%, rgba(11, 15, 26, 0.62) 45%, rgba(5, 7, 12, 0.88) 100%);
}

.moon {
  position: absolute;
  top: 9%;
  right: 9%;
  color: #fff6e0;
  filter: drop-shadow(0 0 24px rgba(255, 246, 224, 0.6));
}

.star {
  position: absolute;
  width: 3px;
  height: 3px;
  background: #ffffff;
  border-radius: 50%;
  box-shadow: 0 0 6px #ffffff;
  animation: starTwinkle 3s ease-in-out infinite alternate;
}
.st1 { top: 14%; left: 16%; }
.st2 { top: 22%; left: 38%; animation-delay: 0.5s; }
.st3 { top: 9%; left: 56%; animation-delay: 1.1s; }
.st4 { top: 32%; left: 72%; animation-delay: 1.5s; }
.st5 { top: 18%; left: 86%; animation-delay: 0.8s; }
.st6 { top: 42%; left: 22%; animation-delay: 1.9s; }
.st7 { top: 36%; left: 52%; animation-delay: 0.3s; }
.st8 { top: 48%; left: 82%; animation-delay: 1.3s; }
.st9 { top: 7%; left: 32%; animation-delay: 1.7s; }

@keyframes starTwinkle {
  0% { opacity: 0.25; transform: scale(0.8); }
  100% { opacity: 1; transform: scale(1.3); }
}

/* 页面排版 */
.page-inner {
  position: relative;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  height: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 8px 4px;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.25, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.25, 1);
}
.reveal.in {
  opacity: 1;
  transform: none;
}

/* ============ 封面 · 电影海报级排版 (四城与合影主体写实融合) ============ */
.cover-inner {
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  min-height: 100%;
  padding: 12px 10px 18px;
  gap: 12px;
}

.cover-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
  transition: opacity 0.45s cubic-bezier(0.2, 0.8, 0.25, 1), transform 0.45s cubic-bezier(0.2, 0.8, 0.25, 1);
}

.eyebrow {
  font-size: 11px;
  letter-spacing: 4.5px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius-pill);
  padding: 4px 18px;
  width: fit-content;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.hero-block {
  text-align: center;
}

.hero-title {
  font-family: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", serif;
  font-size: clamp(32px, 5vw, 46px);
  font-weight: 500;
  letter-spacing: 6px;
  line-height: 1.25;
  color: #ffffff;
  text-shadow: 0 4px 28px rgba(0, 0, 0, 0.65), 0 1px 3px rgba(0, 0, 0, 0.8);
  padding: 2px 10px;
}

.hero-sub {
  font-size: clamp(12px, 2vw, 14.5px);
  letter-spacing: 3px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.88);
  margin-top: 4px;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.65);
}

/* 中央留白与纯享看图视角按钮 */
.cover-middle-spacer {
  flex: 1 1 auto;
  min-height: clamp(120px, 22vh, 260px);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.clean-view-btn {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1.5px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(18, 24, 38, 0.35);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  opacity: 0.85;
  transition: all 0.24s cubic-bezier(0.2, 0.8, 0.25, 1);
}
.clean-view-btn:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.35);
}
.clean-view-btn .cv-icon {
  font-size: 11px;
  color: #ffd166;
}

/* 底部区域 */
.cover-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 960px;
  z-index: 2;
  transition: opacity 0.45s cubic-bezier(0.2, 0.8, 0.25, 1), transform 0.45s cubic-bezier(0.2, 0.8, 0.25, 1);
}

/* 高级晶透计时器 (Architectural Glass Timer) */
.hud {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 3.5vw, 42px);
  padding: 16px clamp(22px, 3.8vw, 42px);
  width: fit-content;
  max-width: 100%;
  background: rgba(15, 20, 32, 0.45);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-cinematic), inset 0 1px 1px rgba(255, 255, 255, 0.35);
}

.hud-days {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.days-num {
  font-size: clamp(48px, 6vw, 64px);
  font-weight: 200;
  line-height: 1;
  color: #ffffff;
  font-variant-numeric: tabular-nums;
  letter-spacing: -1px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}
.days-unit {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--text-muted);
  text-transform: uppercase;
}
.hud-heart {
  color: var(--accent-rose);
  animation: heartPulse 1.8s ease-in-out infinite;
  margin-left: 2px;
}

.hud-right {
  text-align: left;
}
.clock {
  font-size: clamp(20px, 2.5vw, 24px);
  font-weight: 300;
  line-height: 1.35;
  color: #ffffff;
  font-variant-numeric: tabular-nums;
  letter-spacing: 2px;
}
.breakdown {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 2px;
  font-weight: 300;
}

/* 细致进度条 */
.prog {
  display: flex;
  gap: 3px;
  margin-top: 8px;
  height: 4px;
  border-radius: var(--radius-pill);
  padding: 0;
  background: rgba(255, 255, 255, 0.18);
  overflow: hidden;
}
.prog span {
  flex: 1;
  background: transparent;
  transition: background 0.3s ease;
}
.prog span.on {
  background: #ffffff;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.85);
}
.prog-label {
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.72);
  margin-top: 4px;
  letter-spacing: 0.5px;
}

/* 周年纪念芯片 */
.anniv-chip {
  width: fit-content;
  padding: 5px 22px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 2px;
  background: rgba(226, 125, 136, 0.9);
  backdrop-filter: blur(12px);
  color: #ffffff;
  border-radius: var(--radius-pill);
  box-shadow: 0 8px 24px rgba(226, 125, 136, 0.45);
  animation: chipBounce 2s ease-in-out infinite;
}
@keyframes chipBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

/* 4格写实极简数据槽 */
.stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.slot {
  position: relative;
  min-width: 116px;
  padding: 10px 16px;
  text-align: center;
  background: rgba(15, 20, 32, 0.42);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  color: #ffffff;
  transition: transform 0.24s ease, border-color 0.24s ease, background 0.24s ease;
}
.slot:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.45);
}
.slot .px {
  margin-bottom: 2px;
}
.slot b {
  display: block;
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 400;
  color: #ffffff;
}
.slot span {
  font-size: 10.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.78);
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* 操作区域 */
.cover-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

/* 写实纯粹CTA按钮 */
.cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 36px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 2px;
  background: #ffffff;
  color: #141b29;
  border-radius: var(--radius-pill);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
  transition: all 0.24s ease;
}
.cta .px {
  color: #141b29;
  transition: transform 0.2s ease;
}
.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(255, 255, 255, 0.4);
}
.cta:hover .px {
  transform: translateX(4px);
}
.cta:active {
  transform: translateY(1px);
}
.cover-hint {
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 1px;
}

/* 纯享看图模式样式 */
#page-0.clean-view-on .cover-top,
#page-0.clean-view-on .cover-bottom {
  opacity: 0;
  transform: translateY(24px) scale(0.96);
  pointer-events: none;
}
#page-0.clean-view-on .cover-photo-overlay {
  opacity: 0;
}
#page-0.clean-view-on .cover-photo-bg {
  transform: none;
}
#page-0.clean-view-on .clean-view-btn {
  background: rgba(255, 255, 255, 0.92);
  color: #121824;
  border-color: #ffffff;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
  font-weight: 600;
}
#page-0.clean-view-on .clean-view-btn .cv-icon {
  color: #e27d88;
}

/* ============ 章节标题牌 ============ */
.head-plaque {
  text-align: center;
  padding: 16px 40px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: var(--glass-blur-deep);
  -webkit-backdrop-filter: var(--glass-blur-deep);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.2);
}
.sec-eyebrow {
  font-size: 11px;
  letter-spacing: 5px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
}
.sec-title {
  font-family: "Noto Serif SC", "Source Han Serif SC", "Songti SC", serif;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 3px;
  color: #ffffff;
  margin-top: 2px;
}
.sec-sub {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
  letter-spacing: 0.5px;
}

/* ============ 旅行足迹地图页 ============ */
.map-inner {
  gap: 14px;
}
.map-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  max-width: 960px;
}

.transit-ticket {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 18px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-pill);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  font-size: 12px;
  color: #ffffff;
}
.transit-ticket .ticket-pin {
  font-size: 14px;
}
.transit-ticket b {
  color: #ffffff;
  font-weight: 600;
}
.transit-ticket span {
  color: var(--text-muted);
}

.seg {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  background: rgba(20, 26, 38, 0.45);
  backdrop-filter: var(--glass-blur-deep);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-pill);
}
.seg-btn {
  padding: 5px 16px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1px;
  color: var(--text-muted);
  border-radius: var(--radius-pill);
  transition: all 0.2s ease;
}
.seg-btn:hover {
  color: #ffffff;
}
.seg-btn.active {
  background: #ffffff;
  color: #121824;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.legend-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  color: #ffffff;
  padding: 4px 14px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-pill);
}
.legend-chip i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c);
  box-shadow: 0 0 8px var(--c);
}
.legend-chip em {
  font-style: normal;
  color: var(--text-muted);
}

/* 地图画框 */
.map-wrap {
  position: relative;
  width: 100%;
  max-width: 700px;
  flex: 0 0 auto;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.map-tape { display: none; } /* 消除卡通贴胶带 */

/* 真实的旅行打卡印章 */
.travel-stamp {
  position: absolute;
  z-index: 6;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  pointer-events: none;
  user-select: none;
  opacity: 0.65;
}
.travel-stamp::before {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: 50%;
  border: 1.5px dashed currentColor;
}
.travel-stamp::after {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  border: 1px solid currentColor;
}
.ts-city {
  font-size: 7.5px;
  font-weight: 800;
  letter-spacing: 1px;
}
.ts-cn {
  font-size: 14px;
  font-weight: 800;
  line-height: 1.1;
}
.ts-star {
  font-size: 6.5px;
  letter-spacing: 0.5px;
}

.stamp-bj { top: 14px; left: 16px; color: #d64057; transform: rotate(-10deg); }
.stamp-nj { bottom: 42px; left: 18px; color: #2e9b67; transform: rotate(8deg); }
.stamp-sz { bottom: 38px; right: 18px; color: #8a65c9; transform: rotate(-8deg); }
.stamp-tj { top: 14px; right: 20px; color: #2874e0; transform: rotate(12deg); }

#chinaMap {
  display: block;
  width: 100%;
  height: auto;
  max-height: calc(100dvh - 380px);
  min-height: 220px;
}
#route {
  animation: routeDashFlow 1.6s linear infinite;
}
@keyframes routeDashFlow {
  to { stroke-dashoffset: -28; }
}

.marker {
  cursor: pointer;
  outline: none;
}
.marker rect, .marker text, .marker .sprite, .marker circle {
  pointer-events: none;
}
.marker .hit {
  pointer-events: all;
}
.marker .pulse {
  transform-box: fill-box;
  transform-origin: center;
  animation: markerRipple 2.2s ease-out infinite;
}
.marker .pulse2 {
  transform-box: fill-box;
  transform-origin: center;
  animation: markerRipple 2.2s ease-out infinite;
  animation-delay: 1.1s;
}
@keyframes markerRipple {
  0% { transform: scale(0.6); opacity: 0.9; }
  100% { transform: scale(2.4); opacity: 0; }
}
.marker:hover .sprite, .marker:focus-visible .sprite {
  transform: translateY(-3px);
}
.marker .sprite {
  transition: transform 0.22s cubic-bezier(0.2, 0.8, 0.25, 1);
}
.marker:focus-visible .focus-ring {
  opacity: 1;
}
.focus-ring {
  opacity: 0;
}
.m-label {
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  fill: var(--ink-title);
  letter-spacing: 0.5px;
}
.m-count {
  font-size: 12px;
  font-weight: 800;
}

.map-tip {
  position: absolute;
  z-index: 5;
  transform: translate(-50%, -140%);
  pointer-events: none;
  padding: 6px 16px;
  font-size: 12px;
  white-space: nowrap;
  background: #ffffff;
  border-radius: var(--radius-pill);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(0, 0, 0, 0.08);
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.map-tip.show {
  opacity: 1;
  transform: translate(-50%, -150%);
}
.map-tip b {
  font-weight: 700;
  color: var(--tc, var(--ink-title));
  margin-right: 8px;
}
.map-tip span {
  color: var(--ink-dim);
}
.map-hint {
  text-align: center;
  font-size: 12px;
  color: var(--ink-dim);
  padding: 8px 0;
  background: #ffffff;
  border-top: 1px dashed rgba(0, 0, 0, 0.08);
}

/* ============ 时光轴 · 真实摄影集胶片 ============ */
.tl-inner {
  gap: 16px;
}
.reel {
  position: relative;
  width: 100%;
  max-width: 1080px;
}
.reel-line {
  position: absolute;
  left: 2%;
  right: 2%;
  top: 10px;
  height: 2px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.45) 50%, rgba(255, 255, 255, 0.1));
}
.reel-viewport {
  overflow: hidden;
  cursor: grab;
  padding: 12px 4px 18px;
}
.reel-viewport.dragging {
  cursor: grabbing;
}
.reel-track {
  display: flex;
  gap: 22px;
  transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
  will-change: transform;
}

/* 写实拍立得照片卡片 (去除花哨卡片, 聚焦照片本身) */
.tl-card {
  position: relative;
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
  padding: 12px 12px 20px 12px;
  background: #ffffff;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-polaroid);
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.25, 1), box-shadow 0.25s cubic-bezier(0.2, 0.8, 0.25, 1);
  cursor: pointer;
}

.tl-card:nth-child(4n+1) { transform: rotate(-1.5deg); }
.tl-card:nth-child(4n+2) { transform: rotate(1.2deg); }
.tl-card:nth-child(4n+3) { transform: rotate(-0.8deg); }
.tl-card:nth-child(4n)   { transform: rotate(1.5deg); }

.tl-card:hover {
  transform: rotate(0deg) translateY(-8px) scale(1.02);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.28);
  z-index: 5;
}

.polaroid-tape {
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 16px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06);
}
.polaroid-pin { display: none; }
.tl-node { display: none; }

.tl-thumb {
  width: 100%;
  height: 135px;
  flex: 0 0 auto;
  border-radius: 4px;
  background: #f0f3f8;
  display: grid;
  place-items: center;
  color: var(--ink-faint);
  overflow: hidden;
}
.tl-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.tl-card:hover .tl-thumb img {
  transform: scale(1.04);
}

.tl-info {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.tl-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.tl-date {
  font-size: 12px;
  font-weight: 600;
  color: #c04859;
  background: #fdf2f4;
  border-radius: 4px;
  padding: 1px 7px;
  width: fit-content;
}
.tl-city {
  display: inline-block;
  padding: 1px 7px;
  font-size: 11px;
  font-weight: 600;
  color: var(--ci);
  border: 1px solid var(--ci);
  border-radius: 4px;
  background: #ffffff;
}
.tl-order {
  font-size: 11px;
  font-weight: 700;
  color: var(--ink-faint);
  margin-left: auto;
}
.tl-title {
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
  margin: 6px 0 2px;
  color: var(--ink-title);
}
.tl-note {
  font-size: 13px;
  color: var(--ink-dim);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.tl-open {
  font-size: 12px;
  font-weight: 600;
  color: #c04859;
  margin-top: 8px;
  transition: color 0.15s ease;
}
.tl-card:hover .tl-open {
  text-decoration: underline;
}

/* 控制栏 */
.reel-ctrl {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 16px auto 0;
  width: fit-content;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-pill);
  padding: 6px 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.px-btn {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #ffffff;
  color: #121824;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: all 0.2s ease;
}
.px-btn:hover:not(:disabled) {
  background: #ffffff;
  color: #c04859;
  transform: scale(1.08);
}
.px-btn:disabled {
  opacity: 0.35;
  cursor: default;
}

.dots {
  display: flex;
  align-items: center;
  gap: 6px;
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  padding: 0;
  transition: all 0.24s cubic-bezier(0.2, 0.8, 0.25, 1);
}
.dot:hover {
  background: rgba(255, 255, 255, 0.7);
}
.dot.active {
  width: 22px;
  border-radius: var(--radius-pill);
  background: #ffffff;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.6);
}
.page-count {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  min-width: 44px;
  text-align: center;
}
.book-tip {
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 10px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-pill);
  padding: 4px 18px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

/* ============ 一封信 · 写实手写信笺 ============ */
.letter-inner {
  justify-content: flex-start;
  gap: 12px;
}
.letter-scroll {
  width: 100%;
  max-width: 800px;
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 8px 8px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.paper {
  position: relative;
  width: 100%;
  max-width: 740px;
  margin-top: auto;
  padding: clamp(28px, 4vw, 48px);
  background: #fdfbf7;
  background-image: repeating-linear-gradient(transparent, transparent 31px, rgba(220, 210, 195, 0.45) 31px, rgba(220, 210, 195, 0.45) 32px);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(220, 210, 195, 0.9);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  cursor: pointer;
  line-height: 2.3;
}

.vintage-stamp {
  position: absolute;
  top: 24px;
  right: 28px;
  z-index: 10;
  pointer-events: none;
  user-select: none;
}
.stamp-serration {
  width: 58px;
  height: 68px;
  background: #fdf0f2;
  border: 2px dashed #c04859;
  border-radius: 4px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  transform: rotate(3deg);
}
.stamp-heart {
  color: #c04859;
  font-size: 16px;
  line-height: 1;
}
.stamp-val {
  font-size: 14px;
  font-weight: 800;
  color: #c04859;
}
.stamp-post {
  font-size: 8px;
  font-weight: 700;
  color: #922b3a;
}

.postmark-circle {
  position: absolute;
  top: -6px;
  left: -20px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 1.5px dashed rgba(70, 80, 100, 0.6);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(70, 80, 100, 0.65);
  transform: rotate(-12deg);
}
.postmark-circle span { font-size: 7px; font-weight: 700; }
.postmark-circle b { font-size: 8.5px; font-weight: 800; }
.postmark-circle small { font-size: 7px; }

.portrait {
  float: left;
  margin: 2px 18px 8px 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  display: grid;
  place-items: center;
  color: #c04859;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.paper-title {
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 26px;
  font-weight: 600;
  color: #8c2535;
  margin-bottom: 14px;
  letter-spacing: 2px;
}
.paper-body p {
  font-size: 14px;
  line-height: 2.3;
  text-indent: 2em;
  margin-bottom: 12px;
  color: var(--ink-main);
}
.tw-cur {
  display: inline-block;
  width: 2px;
  height: 16px;
  background: #c04859;
  vertical-align: -2px;
  animation: cursorBlink 0.8s ease-in-out infinite alternate;
}
@keyframes cursorBlink {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.paper-sign {
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 22px;
  font-weight: 600;
  text-align: right;
  margin-top: 18px;
  color: #8c2535;
  opacity: 0;
  transition: opacity 0.8s ease;
}
.paper.done .paper-sign {
  opacity: 1;
}

.seal {
  position: absolute;
  right: clamp(20px, 4vw, 40px);
  bottom: -22px;
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #bf3850, #801d2d);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: rotate(5deg);
  box-shadow: 0 8px 20px rgba(128, 29, 45, 0.45);
  opacity: 0;
  transition: opacity 0.8s ease;
}
.paper.done .seal {
  opacity: 1;
}
.seal small {
  font-size: 10px;
  letter-spacing: 1px;
}

.back-cover {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  margin-bottom: auto;
  padding: 8px 24px;
  font-size: 13px;
  font-weight: 500;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-pill);
  transition: all 0.2s ease;
}
.back-cover:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: translateY(-2px);
}
.paper-skip-hint {
  font-size: 12px;
  color: var(--text-faint);
  text-align: center;
  margin-top: 6px;
}

/* ============ 底部翻页栏 ============ */
#pager {
  position: fixed;
  bottom: max(16px, env(safe-area-inset-bottom, 16px));
  left: 50%;
  transform: translateX(-50%);
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 20px;
  background: rgba(20, 26, 38, 0.55);
  backdrop-filter: var(--glass-blur-deep);
  -webkit-backdrop-filter: var(--glass-blur-deep);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-pill);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
}
.pager-name {
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
  min-width: 68px;
  text-align: center;
  letter-spacing: 2px;
}

/* ============ 城市弹层相册 ============ */
.overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.overlay[hidden] {
  display: none;
}
.scrim {
  position: absolute;
  inset: 0;
  background: rgba(10, 14, 22, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  animation: fadeIn 0.3s ease;
}
@keyframes fadeIn {
  from { opacity: 0; }
}

.panel {
  position: relative;
  width: min(940px, 100%);
  max-height: 92vh;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: clamp(20px, 3.5vw, 32px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  animation: panelIn 0.35s cubic-bezier(0.2, 0.9, 0.3, 1.1);
}
@keyframes panelIn {
  from { opacity: 0; transform: translateY(24px) scale(0.97); }
}

.panel-head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 14px;
}
.panel-titles {
  flex: 1;
  min-width: 0;
}
.panel-en {
  font-size: 11px;
  letter-spacing: 4px;
  font-weight: 600;
  color: var(--cc, #c04859);
}
.panel-city {
  display: inline-block;
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 2px;
  color: var(--ink-title);
  margin-top: 2px;
}
.panel-meta {
  font-size: 13px;
  color: var(--ink-dim);
  margin-top: 4px;
}

.close-btn {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.05);
  color: var(--ink-main);
  transition: all 0.2s ease;
}
.close-btn:hover {
  background: #121824;
  color: #ffffff;
}

.meet-tabs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 4px 2px 12px;
}
.meet-tab {
  flex: 0 0 auto;
  text-align: left;
  padding: 8px 16px;
  background: #f5f7fb;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}
.meet-tab .mt-date {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: #c04859;
}
.meet-tab .mt-title {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-main);
  white-space: nowrap;
}
.meet-tab:hover {
  transform: translateY(-2px);
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.meet-tab.active {
  background: #ffffff;
  border-color: var(--cc, #c04859);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}
.meet-tab.active .mt-title {
  color: var(--ink-title);
  font-weight: 600;
}

.book {
  margin-top: 6px;
}
.book-stage {
  position: relative;
  aspect-ratio: 4 / 3;
  max-height: 52vh;
  margin: 0 auto;
  perspective: 1600px;
}
.page-book {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #ffffff;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.08);
  transition: transform 0.52s cubic-bezier(0.4, 0.05, 0.2, 1), opacity 0.52s;
  backface-visibility: hidden;
}
.page-book.out-left { transform: rotateY(-72deg) translateX(-4%); opacity: 0; transform-origin: left center; }
.page-book.out-right { transform: rotateY(72deg) translateX(4%); opacity: 0; transform-origin: right center; }
.page-book.pre-right { transform: rotateY(56deg) translateX(3%); opacity: 0; transform-origin: right center; transition: none; }
.page-book.pre-left { transform: rotateY(-56deg) translateX(-3%); opacity: 0; transform-origin: left center; transition: none; }

.photo-page figure {
  position: relative;
  width: 100%;
  height: 100%;
}
.photo-page img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: zoom-in;
  transition: transform 0.3s ease;
}
.photo-page img:hover {
  transform: scale(1.02);
}

.photo-corner-tape {
  position: absolute;
  width: 28px;
  height: 28px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(4px);
  z-index: 5;
  clip-path: polygon(0 0, 100% 0, 0 100%);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  border-left: 1px solid rgba(0, 0, 0, 0.06);
}
.photo-corner-tape.tl { top: 0; left: 0; }
.photo-corner-tape.tr { top: 0; right: 0; transform: scaleX(-1); }

.photo-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 12px 20px;
  background: linear-gradient(180deg, transparent, rgba(12, 16, 26, 0.82));
  font-size: 13px;
  color: #ffffff;
  backdrop-filter: blur(4px);
}
.photo-date {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 3px 12px;
  font-size: 12px;
  font-weight: 500;
  color: #ffffff;
  background: rgba(12, 16, 26, 0.65);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-pill);
}

.frame-page {
  display: grid;
  place-items: center;
  background: #f8fafc;
}
.polaroid {
  width: min(78%, 440px);
  background: #ffffff;
  padding: 14px 14px 22px;
  border-radius: var(--radius-sm);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(0, 0, 0, 0.08);
}
.polaroid .window {
  aspect-ratio: 4 / 3;
  border-radius: 4px;
  border: 1px dashed rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #fdfdfd;
}
.polaroid .window .fh {
  color: #c04859;
}
.polaroid .window p {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-dim);
}
.polaroid .window small {
  font-size: 12px;
  color: var(--ink-faint);
  padding: 0 14px;
  text-align: center;
}
.frame-cap {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-title);
  text-align: center;
  margin-top: 10px;
}
.frame-cap span {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: var(--ink-faint);
  margin-top: 2px;
}

.letter-page {
  background: #fdfbf7;
  padding: clamp(20px, 3.5vw, 36px);
  overflow-y: auto;
}
.lp-date {
  font-size: 12px;
  letter-spacing: 2px;
  font-weight: 600;
  color: #c04859;
}
.lp-title {
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 20px;
  font-weight: 600;
  margin: 6px 0 12px;
  color: var(--ink-title);
}
.lp-note {
  font-size: 14px;
  line-height: 2.3;
  text-indent: 2em;
  color: var(--ink-main);
}
.lp-heart {
  margin-top: 14px;
  color: #c04859;
  font-size: 14px;
  text-align: right;
}
.lp-hint {
  margin-top: 14px;
  font-size: 12px;
  color: var(--ink-faint);
  border-top: 1px dashed rgba(0, 0, 0, 0.08);
  padding-top: 10px;
  line-height: 1.8;
}
.lp-next-meet {
  margin-top: 16px;
  text-align: right;
}
.next-meet-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 22px;
  font-size: 13px;
  font-weight: 500;
  background: #121824;
  color: #ffffff;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  transition: all 0.2s ease;
}
.next-meet-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.book-ctrl {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 16px auto 0;
  width: fit-content;
  background: #f5f7fb;
  border-radius: var(--radius-pill);
  padding: 6px 18px;
}

/* ============ Lightbox & 彩蛋 ============ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.lightbox[hidden] {
  display: none;
}
.lb-scrim {
  position: absolute;
  inset: 0;
  background: rgba(10, 14, 22, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  animation: fadeIn 0.25s ease;
}
.lb-box {
  position: relative;
  max-width: min(94vw, 980px);
  max-height: 90vh;
  padding: 16px;
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.5);
  animation: panelIn 0.28s cubic-bezier(0.2, 0.9, 0.3, 1.1);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.lb-box img {
  max-width: 100%;
  max-height: calc(85vh - 64px);
  object-fit: contain;
  border-radius: var(--radius-md);
}
.lb-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 10;
}
.lb-caption {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-title);
  text-align: center;
  margin-top: 12px;
}

.egg-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.egg-modal[hidden] {
  display: none;
}
.egg-card {
  position: relative;
  width: min(90vw, 440px);
  padding: 32px 26px;
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  text-align: center;
  animation: panelIn 0.35s cubic-bezier(0.2, 0.9, 0.3, 1.1);
}
.egg-heart {
  color: #c04859;
  margin-bottom: 10px;
  animation: heartPulse 1.4s ease-in-out infinite;
}
.egg-title {
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 22px;
  font-weight: 600;
  color: #8c2535;
  margin-bottom: 12px;
  letter-spacing: 1px;
}
.egg-desc {
  font-size: 14px;
  line-height: 2.2;
  color: var(--ink-main);
  margin-bottom: 22px;
}
.egg-btn {
  padding: 10px 30px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  background: #121824;
  color: #ffffff;
  border-radius: var(--radius-pill);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  transition: all 0.2s ease;
}
.egg-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

/* 点击微光爱心 */
.click-heart {
  position: fixed;
  z-index: 9999;
  pointer-events: none;
  transform: translate(-50%, -50%);
  animation: clickHeartFly 1.1s cubic-bezier(0.2, 0.8, 0.3, 1) forwards;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}
@keyframes clickHeartFly {
  0% { transform: translate(-50%, -50%) scale(0.6); opacity: 1; }
  50% { transform: translate(calc(-50% + 4px), -65px) scale(1.2); opacity: 0.9; }
  100% { transform: translate(calc(-50% - 4px), -120px) scale(1); opacity: 0; }
}

/* ============ 移动端适配 ============ */
@media (max-width: 760px) {
  .nav-links { display: none; }
  .brand { margin-right: auto; }
  .page { padding-bottom: calc(84px + env(safe-area-inset-bottom, 12px)); }
  .hero-title { font-size: 26px; letter-spacing: 4px; padding: 2px 4px; }
  .hero-sub { font-size: 12px; letter-spacing: 2px; }
  .cover-inner { gap: 8px; padding: 6px 4px 10px; }
  .cover-middle-spacer { min-height: 80px; }
  .clean-view-btn { padding: 5px 14px; font-size: 11px; }
  .hud { flex-direction: column; gap: 8px; text-align: center; margin-top: 4px; padding: 12px 18px; }
  .hud-right { text-align: center; }
  .days-num { font-size: 44px; }
  .clock { font-size: 19px; }
  .breakdown { font-size: 11px; }
  .stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 4px; width: 100%; max-width: 300px; }
  .slot { min-width: 0; padding: 8px 10px; }
  .slot b { font-size: 18px; }
  .cta { padding: 9px 28px; font-size: 13px; margin-top: 4px; }
  .map-toolbar { justify-content: center; }
  .transit-ticket { width: 100%; justify-content: center; }
  .travel-stamp { transform: scale(0.75); }
  .stamp-bj { top: 6px; left: 8px; }
  .stamp-tj { top: 8px; right: 8px; }
  .stamp-nj { bottom: 32px; left: 8px; }
  .stamp-sz { bottom: 30px; right: 8px; }
  #chinaMap { max-height: calc(100dvh - 430px); min-height: 180px; }
  .cover-hint { display: none; }
  .overlay { padding: 0; }
  .panel { width: 100%; height: 100%; max-height: 100dvh; border-radius: 0; }
  .book-stage { max-height: 44vh; }
  .paper { padding: 24px 18px; }
  .vintage-stamp { top: 16px; right: 16px; transform: scale(0.85); transform-origin: top right; }
  .paper-body p { font-size: 14px; line-height: 2.1; }
  .lp-note { font-size: 14px; line-height: 2.1; }
  .portrait { width: 46px; height: 46px; margin-right: 12px; }
  .seal { bottom: -16px; width: 56px; height: 56px; }
  .pager-name { display: none; }
  .tl-title { font-size: 16px; }
  .meet-tabs { scroll-behavior: smooth; -webkit-overflow-scrolling: touch; }
  .nav-tool-btn { padding: 4px 8px; font-size: 11px; }
  .nav-actions { gap: 6px; }
  .cover-sub-actions { gap: 8px; }
  .sub-act-btn { padding: 6px 14px; font-size: 11.5px; }
  .cinema-photo-box { max-width: 96vw; max-height: 52vh; }
  .cinema-arrow { width: 38px; height: 38px; }
  .cinema-prev { left: 8px; }
  .cinema-next { right: 8px; }
  .cinema-photo-caption { font-size: 12px; }
}

@media (max-height: 640px) {
  .stats, .cover-hint { display: none; }
  .hud { margin-top: 8px; padding: 12px 18px; }
  .cta { margin-top: 8px; }
  .hero-sub { display: none; }
  #chinaMap { max-height: calc(100dvh - 290px); min-height: 150px; }
  .head-plaque .sec-sub { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ============ 顶部导航动作按钮 ============ */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-tool-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  font-size: 12.5px;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  transition: all 0.2s ease;
  white-space: nowrap;
}
.nav-tool-btn:hover {
  background: rgba(255, 255, 255, 0.24);
  border-color: rgba(255, 255, 255, 0.45);
  transform: translateY(-1px);
}

/* 封面与时光轴辅助按钮 */
.cover-sub-actions {
  display: flex;
  gap: 12px;
  margin-top: 4px;
}
.sub-act-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 18px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  transition: all 0.24s ease;
}
.sub-act-btn:hover {
  background: rgba(255, 255, 255, 0.26);
  border-color: rgba(255, 255, 255, 0.48);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.cinema-trigger-pill {
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  transition: all 0.2s ease;
}
.cinema-trigger-pill:hover {
  background: rgba(255, 255, 255, 0.26);
  transform: translateY(-1px);
}

.letter-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
}
.poster-gen-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 30px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 1.5px;
  background: rgba(226, 125, 136, 0.9);
  color: #ffffff;
  border-radius: var(--radius-pill);
  box-shadow: 0 8px 26px rgba(226, 125, 136, 0.45);
  transition: all 0.24s ease;
}
.poster-gen-btn:hover {
  background: rgba(235, 138, 149, 1);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(226, 125, 136, 0.6);
}

/* ============ 屏幕爱心连击与情话气泡 ============ */
#heartContainer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  overflow: hidden;
}
.tap-heart {
  position: absolute;
  pointer-events: none;
  user-select: none;
  font-size: 18px;
  line-height: 1;
  animation: tapHeartFly 0.85s cubic-bezier(0.2, 0.8, 0.25, 1) forwards;
  will-change: transform, opacity;
  filter: drop-shadow(0 2px 6px rgba(255, 105, 135, 0.5));
}
@keyframes tapHeartFly {
  0% {
    transform: translate(-50%, -50%) scale(0.6) rotate(var(--rot, 0deg));
    opacity: 1;
  }
  60% {
    transform: translate(calc(-50% + var(--dx, 0px)), calc(-50% - 45px)) scale(1.3) rotate(calc(var(--rot, 0deg) + 10deg));
    opacity: 0.95;
  }
  100% {
    transform: translate(calc(-50% + calc(var(--dx, 0px) * 1.5)), calc(-50% - 75px)) scale(1) rotate(calc(var(--rot, 0deg) + 20deg));
    opacity: 0;
  }
}

#whisperContainer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.love-whisper-bubble {
  position: absolute;
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: rgba(18, 22, 34, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 140, 160, 0.45);
  border-radius: var(--radius-pill);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.4), 0 0 24px rgba(255, 110, 140, 0.35);
  color: #ffffff;
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 1.5px;
  animation: whisperPop 3s cubic-bezier(0.18, 0.89, 0.32, 1.28) forwards;
  white-space: nowrap;
  max-width: 90vw;
}
.whisper-heart {
  color: #ff6584;
  font-size: 18px;
  animation: heartPulse 1.2s ease-in-out infinite;
}
@keyframes whisperPop {
  0% {
    opacity: 0;
    transform: scale(0.6) translateY(20px);
  }
  12% {
    opacity: 1;
    transform: scale(1.05) translateY(-5px);
  }
  18% {
    transform: scale(1) translateY(0);
  }
  80% {
    opacity: 1;
    transform: scale(1) translateY(-10px);
  }
  100% {
    opacity: 0;
    transform: scale(0.95) translateY(-30px);
  }
}

/* ============ 浪漫微电影回忆放映机 ============ */
.cinema-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #06080d;
  color: #ffffff;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
  overflow: hidden;
}
.cinema-modal:not([hidden]) {
  opacity: 1;
  visibility: visible;
}
.cinema-backdrop {
  position: absolute;
  inset: -20px;
  background-size: cover;
  background-position: center;
  filter: blur(35px) brightness(0.35);
  opacity: 0.85;
  transition: background-image 0.8s ease;
  pointer-events: none;
}
.cinema-top {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: clamp(14px, 3vh, 26px) clamp(18px, 4vw, 48px);
  background: linear-gradient(180deg, rgba(6, 8, 13, 0.85) 0%, transparent 100%);
}
.cinema-title-wrap {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.cinema-badge {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 4px;
  color: #ff9fb2;
  text-transform: uppercase;
}
.cinema-title {
  font-family: "Noto Serif SC", "Source Han Serif SC", "Songti SC", serif;
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 500;
  letter-spacing: 2px;
  margin: 0;
}
.cinema-close-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-pill);
  color: #ffffff;
  transition: all 0.2s ease;
}
.cinema-close-btn:hover {
  background: rgba(255, 255, 255, 0.28);
  transform: translateY(-1px);
}

.cinema-stage {
  position: relative;
  z-index: 5;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding: 0 clamp(16px, 4vw, 56px);
}
.cinema-photo-box {
  position: relative;
  max-width: 86vw;
  max-height: 64vh;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.15);
  background: #0c0f16;
}
.cinema-photo-box img {
  display: block;
  max-width: 86vw;
  max-height: 64vh;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: opacity 0.6s cubic-bezier(0.2, 0.8, 0.25, 1);
  will-change: transform;
}
.cinema-photo-box.kenburns-1 img {
  animation: kenBurns1 6s ease-in-out infinite alternate;
}
.cinema-photo-box.kenburns-2 img {
  animation: kenBurns2 6s ease-in-out infinite alternate;
}
@keyframes kenBurns1 {
  0% { transform: scale(1.0) translate(0, 0); }
  100% { transform: scale(1.06) translate(-1%, -1%); }
}
@keyframes kenBurns2 {
  0% { transform: scale(1.06) translate(1%, 0); }
  100% { transform: scale(1.0) translate(-1%, 1%); }
}

.cinema-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.24s ease;
}
.cinema-arrow:hover {
  background: rgba(255, 255, 255, 0.32);
  transform: translateY(-50%) scale(1.08);
}
.cinema-prev { left: clamp(12px, 3vw, 36px); }
.cinema-next { right: clamp(12px, 3vw, 36px); }

.cinema-bottom {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(14px, 2.5vh, 24px) clamp(18px, 4vw, 48px);
  background: linear-gradient(0deg, rgba(6, 8, 13, 0.95) 0%, rgba(6, 8, 13, 0.6) 70%, transparent 100%);
  text-align: center;
}
.cinema-caption-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.cinema-meta {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2px;
  color: #ffd166;
}
.cinema-meet-title {
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 500;
  letter-spacing: 2px;
  margin: 0;
  color: #ffffff;
}
.cinema-photo-caption {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.82);
  letter-spacing: 1px;
  margin: 0;
  max-width: 600px;
}

.cinema-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  max-width: 680px;
  margin: 0 auto;
  width: 100%;
}
.cinema-ctrl-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius-pill);
  color: #ffffff;
  transition: all 0.2s ease;
}
.cinema-ctrl-btn:hover {
  background: rgba(255, 255, 255, 0.28);
}
.cinema-progress-wrap {
  flex: 1 1 auto;
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-pill);
  overflow: hidden;
}
.cinema-progress-bar {
  height: 100%;
  width: 0%;
  background: #ff758f;
  transition: width 0.3s linear;
}
.cinema-counter {
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  color: rgba(255, 255, 255, 0.7);
  min-width: 50px;
  text-align: right;
}

/* ============ 一周年拍立得纪念海报生成 ============ */
.poster-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}
.poster-modal[hidden],
.cinema-modal[hidden] {
  display: none !important;
}

.poster-box {
  position: relative;
  z-index: 2;
  width: min(540px, 94vw);
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  background: rgba(18, 24, 36, 0.96);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: var(--radius-lg);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.6);
  overflow: hidden;
}
.poster-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 22px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.poster-modal-title {
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 2px;
  color: #ffffff;
  margin: 0;
}
.poster-preview-wrap {
  flex: 1 1 auto;
  max-height: 62vh;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-y: auto;
  background: rgba(10, 14, 22, 0.6);
}

/* 拍立得卡片本体 */
.polaroid-card-dom {
  width: 100%;
  max-width: 440px;
  background: #faf7f2;
  color: #2c2226;
  border: 8px solid #f2ece1;
  border-radius: 6px;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.45);
  padding: 16px 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  user-select: none;
}
.p-card-header {
  text-align: center;
}
.p-card-en {
  display: block;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 3px;
  color: #b37882;
  text-transform: uppercase;
}
.p-card-title {
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 2px;
  color: #2c2226;
  margin: 3px 0 0;
}
.p-card-photo-wrap {
  position: relative;
  width: 100%;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(0, 0, 0, 0.08);
}
.p-card-photo {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}
.p-card-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: center;
}
.p-card-days-box {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.p-days-num {
  font-family: "Noto Serif SC", serif;
  font-size: 42px;
  font-weight: 300;
  line-height: 1;
  color: #ff6584;
}
.p-days-unit {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  color: #8f6770;
  margin-top: 2px;
}
.p-days-sub {
  font-size: 11.5px;
  color: #6b585d;
  margin-top: 3px;
}
.p-card-ribbon {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 6px 10px;
  background: rgba(226, 125, 136, 0.1);
  border-radius: 6px;
  border: 1px dashed rgba(226, 125, 136, 0.35);
}
.p-card-ribbon b {
  font-family: "Noto Serif SC", serif;
  font-size: 13.5px;
  color: #3c2e33;
}
.p-card-ribbon span {
  font-size: 10.5px;
  color: #78656b;
}
.p-card-quote {
  padding: 8px 12px;
  background: rgba(255, 240, 243, 0.7);
  border-radius: 6px;
  border-left: 2px solid #ff758f;
  text-align: left;
}
.p-card-quote p {
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 11px;
  font-style: italic;
  color: #4a383d;
  line-height: 1.6;
  margin: 2px 0;
}
.p-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
  padding-top: 8px;
  border-top: 1px solid #ebd9de;
}
.p-card-stamp {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px dashed #c9576b;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #c9576b;
  transform: rotate(-10deg);
}
.p-stamp-star {
  font-size: 7px;
  font-weight: 700;
}
.p-stamp-txt {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.p-card-sign {
  text-align: right;
}
.p-card-sign b {
  display: block;
  font-family: "Noto Serif SC", serif;
  font-size: 13px;
  color: #2c2226;
}
.p-card-sign small {
  font-size: 10px;
  color: #947a82;
}

.poster-modal-footer {
  padding: 14px 20px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
}
.poster-btn-dl {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  max-width: 320px;
  padding: 11px 24px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1.5px;
  background: #ffffff;
  color: #121824;
  border-radius: var(--radius-pill);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.3);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}
.poster-btn-dl:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(255, 255, 255, 0.45);
}
.poster-tip {
  font-size: 11.5px;
  color: var(--text-faint);
  margin: 0;
}
