/* ============================================================
   婚礼邀请函 H5 · 轻奢浪漫
   主色调：香槟金 #c9a96a + 豆沙粉 #d9a5a0 + 象牙白 #fdf9f2
   ============================================================ */
:root {
  --gold: #c9a96a;
  --gold-light: #e9dcc0;
  --gold-deep: #a8874f;
  --pink: #d9a5a0;
  --pink-light: #f0dcd6;
  --pink-soft: #f6e4de;
  --ivory: #fdf9f2;
  --ivory-deep: #f7efe2;
  --ink: #5c4a41;
  --ink-light: #8a7568;
  --shadow: 0 10px 30px rgba(168, 135, 79, 0.16);
  --shadow-soft: 0 4px 18px rgba(168, 135, 79, 0.12);
  --red-deep: #b0342a;
  --font-serif: "Noto Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --font-hand: "Ma Shan Zheng", "Kaiti SC", "STKaiti", "KaiTi", cursive;
}

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-serif);
  background: var(--ivory);
  color: var(--ink);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; }

::selection { background: var(--pink-light); color: var(--ink); }

/* ---------------- 通用工具 ---------------- */
.container { max-width: 620px; margin: 0 auto; padding: 0 22px; }
.section { position: relative; padding: 84px 0 88px; }
/* 各板块内容压在花瓣层（z-index:1）之上 */
.section > .container { position: relative; z-index: 1; }

/* 进入视口渐入动画 */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .9s ease, transform .9s ease;
  will-change: opacity, transform;
}
.reveal.in-view { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .12s; }
.reveal.d2 { transition-delay: .24s; }
.reveal.d3 { transition-delay: .36s; }

/* ---------------- 板块标题 ---------------- */
.sec-head { text-align: center; margin-bottom: 46px; }
.sec-en {
  display: block;
  font-size: .7rem;
  letter-spacing: .42em;
  text-indent: .42em;
  color: var(--gold-deep);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.sec-title {
  font-family: var(--font-hand);
  font-weight: 400;
  font-size: clamp(1.9rem, 7vw, 2.5rem);
  color: var(--ink);
  letter-spacing: .1em;
}
.sec-line { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 14px; }
.sec-line::before, .sec-line::after {
  content: ""; width: 52px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.sec-line::after { background: linear-gradient(90deg, var(--gold), transparent); }
.diamond {
  width: 9px; height: 9px; transform: rotate(45deg);
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  box-shadow: 0 0 8px rgba(201, 169, 106, .5);
}
.sec-sub { text-align: center; color: var(--ink-light); font-size: .88rem; margin: -30px 0 26px; }

/* ---------------- 按钮：香槟金描边透明底 ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 34px;
  border-radius: 999px;
  border: 1px solid var(--gold);
  background: rgba(253, 249, 242, .55);
  color: var(--gold-deep);
  font-size: .95rem;
  letter-spacing: .18em;
  text-indent: .18em;
  transition: all .3s ease;
  user-select: none;
}
.btn:active { transform: scale(.97); }
.btn-gold:hover, .btn-gold:focus-visible {
  background: var(--gold);
  color: #fff;
  box-shadow: 0 10px 26px rgba(201, 169, 106, .4);
}
.btn-ghost { border-color: var(--gold-light); color: var(--ink-light); }
.btn-ghost:hover, .btn-ghost:focus-visible { border-color: var(--gold); color: var(--gold-deep); }
.btn-block { width: 100%; }

/* ---------------- Toast ---------------- */
#toast {
  position: fixed; left: 50%; top: 18%;
  transform: translate(-50%, -12px);
  max-width: 86vw;
  padding: 10px 22px;
  background: rgba(92, 74, 65, .92);
  color: #fdf6ec;
  font-size: .86rem;
  letter-spacing: .06em;
  border-radius: 999px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: all .35s ease;
  z-index: 300;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .18);
}
#toast.show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

/* ============================================================
   音乐按钮（右上角）
   ============================================================ */
.music-btn {
  position: fixed; top: calc(14px + env(safe-area-inset-top)); right: 14px;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  background: rgba(253, 249, 242, .8);
  color: var(--gold-deep);
  display: flex; align-items: center; justify-content: center;
  z-index: 200;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(6px);
  transition: transform .3s;
}
.music-btn:active { transform: scale(.92); }
.music-btn svg { width: 26px; height: 26px; }
.music-btn .note { opacity: 0; transition: opacity .3s; }
.music-btn.playing .note { opacity: 1; }
.music-btn.playing svg { animation: spin 4.5s linear infinite; transform-origin: center; }
.music-btn.paused svg { opacity: .5; }
/* 弱网加载中：柔和呼吸提示，不打扰用户 */
.music-btn.loading { animation: musicLoading 1.3s ease-in-out infinite; }
.music-btn.loading svg { opacity: .5; }
@keyframes musicLoading {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .55; transform: scale(.88); }
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================================
   1. 封面首屏
   ============================================================ */
.cover {
  min-height: 100vh;
  min-height: 100dvh;
  padding: 64px 0 54px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.cover-bg {
  position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(rgba(253, 249, 242, .72), rgba(253, 249, 242, .55), rgba(253, 249, 242, .84)),
    url("../images/FILM5951.JPG");
  background-size: cover, cover;
  background-position: center, center;
}
/* 同心圆装饰（默认使用照片背景，已隐藏） */
.cover-bg::before, .cover-bg::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  pointer-events: none;
  display: none;
}
.cover-bg::before {
  width: min(86vw, 560px); height: min(86vw, 560px);
  border: 1px solid rgba(201, 169, 106, .28);
}
.cover-bg::after {
  width: min(70vw, 440px); height: min(70vw, 440px);
  border: 1px dashed rgba(201, 169, 106, .35);
}
/* 花瓣（封面 / 邀请页共用同一飘落动画） */
.petal-layer { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.petal {
  position: absolute; top: -40px;
  width: var(--size); height: calc(var(--size) * 1.15);
  border-radius: 150% 12% 150% 12%;
  opacity: .8;
  animation: petalFall linear infinite, petalSway ease-in-out infinite alternate;
  box-shadow: inset 0 0 6px rgba(255, 255, 255, .35);
}
@keyframes petalFall {
  0%   { transform: translate3d(0, -40px, 0) rotate(0deg); }
  100% { transform: translate3d(var(--sway, 40px), 108vh, 0) rotate(540deg); }
}
@keyframes petalSway {
  0%   { margin-left: 0; }
  100% { margin-left: calc(var(--sway, 40px) * 1.4); }
}

/* 封面内容 */
.cover-content {
  position: relative; z-index: 3;
  width: 100%;
  padding: 30px 22px;
  text-align: center;
  animation: coverUp 1.4s ease both;
}
@keyframes coverUp {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: none; }
}
.cover-frame {
  position: relative;
  max-width: 430px;
  margin: 0 auto;
  padding: 46px 26px 40px;
  border: 1px solid rgba(201, 169, 106, .55);
  border-radius: 6px;
  background: rgba(253, 249, 242, .42);
  box-shadow: 0 18px 50px rgba(168, 135, 79, .18), inset 0 0 0 1px rgba(253, 249, 242, .6);
}
.cover-frame::before, .cover-frame::after {
  content: ""; position: absolute; width: 34px; height: 34px;
  border-color: var(--gold); border-style: solid;
  pointer-events: none;
}
.cover-frame::before { top: -7px; left: -7px; border-width: 2px 0 0 2px; }
.cover-frame::after  { bottom: -7px; right: -7px; border-width: 0 2px 2px 0; }

.cover-en {
  font-size: .66rem; letter-spacing: .5em; text-indent: .5em;
  color: var(--gold-deep); text-transform: uppercase;
}
.ornament {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  color: var(--pink); font-size: 1rem; margin: 14px 0 10px;
}
.ornament span { width: 44px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.ornament span:last-child { background: linear-gradient(90deg, var(--gold), transparent); }

.cover-title {
  font-family: var(--font-hand);
  font-weight: 400;
  font-size: clamp(2.5rem, 11.5vw, 3.6rem);
  letter-spacing: .12em;
  color: var(--ink);
  background: linear-gradient(120deg, var(--gold-deep), var(--gold) 45%, var(--pink));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  line-height: 1.25;
}
.cover-names {
  display: flex; align-items: center; justify-content: center; gap: 16px;
  margin: 20px 0 18px;
  font-size: clamp(1.25rem, 5vw, 1.6rem);
  letter-spacing: .3em;
  text-indent: .3em;
}
.cover-names .amp {
  font-family: Georgia, serif;
  font-style: italic;
  color: var(--pink);
  font-size: 1.1em;
  transform: rotate(-8deg);
  display: inline-block;
}
.cover-date {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  color: var(--gold-deep);
  letter-spacing: .18em;
  font-size: clamp(.95rem, 4vw, 1.1rem);
}
.d-line { width: 40px; height: 1px; background: var(--gold); opacity: .8; }
.cover-place { margin-top: 14px; font-size: .85rem; letter-spacing: .35em; text-indent: .35em; color: var(--ink-light); }
.cover-invite { margin-top: 20px; font-size: .8rem; letter-spacing: .12em; color: var(--ink-light); }

/* 向下滚动提示 */
.scroll-hint {
  position: absolute; bottom: calc(20px + env(safe-area-inset-bottom)); left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  color: var(--ink-light);
  font-size: .72rem; letter-spacing: .3em; text-indent: .3em;
  animation: hintFloat 2s ease-in-out infinite;
}
.chevron {
  width: 11px; height: 11px;
  border-right: 1.5px solid var(--gold-deep);
  border-bottom: 1.5px solid var(--gold-deep);
  transform: rotate(45deg);
}
@keyframes hintFloat {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(8px); }
}

/* ============================================================
   3. 爱情倒计时（3D 翻牌）
   ============================================================ */
.flip-row {
  display: flex; justify-content: center; align-items: flex-start; gap: clamp(10px, 3.5vw, 18px);
}
.flip-unit { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.flip-card {
  position: relative;
  width: clamp(58px, 20vw, 84px);
  min-height: clamp(70px, 24vw, 100px);
  aspect-ratio: 3 / 4;
  perspective: 600px;
  border-radius: 10px;
  box-shadow: var(--shadow);
  background: linear-gradient(180deg, #fffdf8, #f7efe0);
  border: 1px solid var(--gold-light);
}
.flip-static, .flip-anim {
  position: absolute; left: 0; right: 0; height: 50%;
  overflow: hidden;
  background: linear-gradient(180deg, #fffdf8, #faf3e4);
}
.flip-top, .flip-anim-top { top: 0; border-radius: 10px 10px 4px 4px; }
.flip-bottom, .flip-anim-bottom { bottom: 0; border-radius: 4px 4px 10px 10px; }
.flip-static::after, .flip-anim::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 169, 106, .45), transparent);
}
.flip-static.flip-top::after { bottom: 0; }
.flip-anim-top::after { bottom: 0; }
.flip-anim-bottom::after { top: 0; }
.flip-static .num, .flip-anim .num {
  position: absolute; left: 0; width: 100%; height: 200%;
  display: flex; align-items: center; justify-content: center;
  font-size: clamp(1.5rem, 7vw, 2.15rem);
  font-weight: 500;
  color: var(--ink);
  letter-spacing: .04em;
  font-variant-numeric: tabular-nums;
}
.flip-top .num, .flip-anim-top .num { top: 0; }
.flip-bottom .num, .flip-anim-bottom .num { bottom: 0; }

/* 翻转动画（go 类触发） */
.flip-anim { opacity: 0; visibility: hidden; pointer-events: none; }
.flip-anim.go { opacity: 1; visibility: visible; animation-duration: .55s; animation-fill-mode: forwards; animation-timing-function: cubic-bezier(.55, .05, .65, .9); }
.flip-anim-top.go { animation-name: flipUp; transform-origin: center bottom; }
.flip-anim-bottom.go { animation-name: flipDown; transform-origin: center top; }
@keyframes flipUp {
  0%   { transform: rotateX(0deg); }
  100% { transform: rotateX(-90deg); }
}
@keyframes flipDown {
  0%   { transform: rotateX(90deg); }
  100% { transform: rotateX(0deg); }
}

.flip-label {
  font-size: .78rem; letter-spacing: .3em; text-indent: .3em;
  color: var(--ink-light);
}
.countdown-alt {
  text-align: center; margin-top: 10px;
  font-size: 1rem; line-height: 2; color: var(--gold-deep);
  letter-spacing: .08em;
}
.countdown-alt b { font-family: var(--font-hand); font-size: 1.5em; font-weight: 400; }

/* ============================================================
   2.5 邀请语 · 我们结婚啦~（全屏照片 + 日期日历）
   ============================================================ */
.invite {
  min-height: 100vh;
  min-height: 100dvh;
  padding: clamp(64px, 13vh, 116px) 20px calc(2vh + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
}
.invite-bg {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.4s ease;
}
.invite.active .invite-bg { opacity: 1; }
/* 顶部/底部可读性渐变 */
.invite::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg,
    rgba(253, 249, 242, .62),
    rgba(253, 249, 242, .22) 34%,
    rgba(253, 249, 242, .12) 62%,
    rgba(253, 249, 242, .5) 100%);
  pointer-events: none;
}

/* 邀请页 · 顶部标题区 */
.invite-head {
  position: relative; z-index: 2;
  margin-top: 2vh;
  text-align: center;
}
.invite-head .title-en {
  display: block;
  font-family: "Great Vibes", var(--font-hand), cursive;
  font-size: 2.1rem;
  color: var(--gold-deep);
  letter-spacing: .04em;
  text-shadow: 0 0 12px rgba(253, 249, 242, .9), 0 1px 2px rgba(253, 249, 242, .95);
  opacity: 0;
}
.invite-head .title-cn {
  display: block;
  margin-top: 10px;
  font-size: 1.02rem;
  letter-spacing: .32em;
  text-indent: .32em;
  color: #000;
  text-shadow: 0 0 10px rgba(253, 249, 242, .92), 0 1px 2px rgba(253, 249, 242, .95);
  opacity: 0;
}
.invite.active .invite-head .title-en { animation: lineUp .8s ease both; animation-delay: .3s; }
.invite.active .invite-head .title-cn { animation: lineUp .8s ease both; animation-delay: .65s; }

/* 邀请语正文卡片：逐行上浮淡入，每行间隔 0.6s */
.invite-card {
  position: relative; z-index: 2;
  width: 100%;
  max-width: 560px;
  margin: 26px auto 0;
  padding: 34px 28px;
  text-align: center;
  border-radius: 20px;
  /* 去掉边框与毛玻璃：照片清晰透出，只在文字后衬一层柔和光晕保证可读性 */
  background: radial-gradient(farthest-corner at center,
    rgba(255, 250, 245, .66) 0%,
    rgba(255, 250, 245, .24) 55%,
    rgba(255, 250, 245, 0) 100%);
}
/* 首尾细线装饰 */
.invite-card::before, .invite-card::after {
  content: ""; display: block;
  width: 46px; height: 1px;
  margin: 0 auto;
  background: rgba(124, 120, 118, .42);
}
.invite-card::before { margin-bottom: 22px; }
.invite-card::after  { margin-top: 24px; }
.invite-line {
  margin: 0;
  font-size: 1rem;          /* 约 15~17px */
  line-height: 1.8;
  letter-spacing: .05em;
  color: #3b342e;           /* 深灰正文 */
  text-shadow: 0 1px 2px rgba(255, 250, 245, .85);
  opacity: 0;
}
.invite.active .invite-line {
  animation: lineUp .7s ease both;
  animation-delay: calc(.9s + var(--i) * .6s);
}

/* 通用上浮淡入（invite 正文 / 日历提示 / FOREVER slogan 共用） */
@keyframes lineUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}

/* ---- 日历层 ---- */
.cal-wrap {
  position: relative; z-index: 2;
  margin-top: auto;
  padding-top: 28px;
  opacity: 0;
}
.invite.active .cal-wrap { animation: calUp 1s cubic-bezier(.2, .9, .3, 1) both; animation-delay: .5s; }
@keyframes calUp {
  from { opacity: 0; transform: translateY(60px); }
  to   { opacity: 1; transform: none; }
}
.cal-panel {
  width: min(430px, 94vw);
  margin: 0 auto;
  padding: 24px 22px 20px;
  border-radius: 22px;
  background: rgba(255, 250, 245, .16);
  border: 1px solid rgba(255, 255, 255, .45);
  box-shadow: 0 18px 44px rgba(168, 90, 80, .16);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
.cal-head { display: flex; align-items: flex-end; justify-content: space-between; padding: 0 4px 14px; }
.cal-year {
  font-size: 1.85rem;
  font-weight: 600;
  letter-spacing: .14em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.cal-month {
  font-size: clamp(3.2rem, 11vw, 4rem);
  font-weight: 700;
  line-height: 1;
  color: var(--red-deep);
  opacity: 0;
  font-variant-numeric: tabular-nums;
}
.invite.active .cal-month { animation: monthPop .7s cubic-bezier(.2, 1.6, .35, 1) both; animation-delay: .9s; }
@keyframes monthPop {
  from { opacity: 0; transform: scale(.5); }
  70%  { transform: scale(1.12); }
  to   { opacity: 1; transform: scale(1); }
}
.cal-week {
  display: flex;
  margin-bottom: 8px;
  border-radius: 999px;
  overflow: hidden;
  background: var(--red-deep);
}
.cal-week span {
  flex: 1;
  text-align: center;
  color: #fff;
  font-size: .86rem;
  letter-spacing: .06em;
  padding: 8px 0;
  opacity: 0;
}
.invite.active .cal-week span {
  animation: weekIn .45s ease both;
  animation-delay: calc(1.3s + var(--i) * .06s);
}
@keyframes weekIn {
  from { opacity: 0; transform: translateX(calc((var(--i) - 3) * 34px)); }
  to   { opacity: 1; transform: translateX(0); }
}
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
}
.cal-cell {
  aspect-ratio: 1 / .82;
  display: flex; align-items: center; justify-content: center;
  border-radius: 9px;
  font-size: .98rem;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.cal-cell .day-num { opacity: 0; }
.invite.active .cal-cell .day-num { animation: cellIn .45s ease both; animation-delay: calc(1.8s + var(--i) * .028s); }
@keyframes cellIn {
  from { opacity: 0; transform: scale(.6); }
  to   { opacity: 1; transform: none; }
}
.cal-cell.cal-blank { visibility: hidden; }
.cal-cell.cal-hl { position: relative; background: rgba(176, 52, 42, .08); font-weight: 600; color: var(--red-deep); }
.cal-cell.cal-hl .heart {
  position: absolute; inset: 0; z-index: 2;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.7rem;
  color: var(--red-deep);
  text-shadow: 0 0 8px rgba(176, 52, 42, .35);
  opacity: 0; transform: scale(0);
}
.invite.active .cal-cell.cal-hl .heart {
  animation: heartIn .55s cubic-bezier(.2, 1.5, .4, 1) both;
  animation-delay: calc(1.8s + var(--i) * .028s + var(--h) * 1s);
}
@keyframes heartIn {
  0%   { opacity: 0; transform: scale(0); }
  55%  { opacity: 1; transform: scale(1.15); }
  100% { opacity: 1; transform: scale(1); }
}
.invite.active .cal-cell.cal-hl .heart .pulse { animation: heartFloat 1.8s ease-in-out .45s infinite; }
@keyframes heartFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-3px); }
}
.cal-note {
  margin-top: 12px;
  text-align: center;
  font-size: .88rem;
  letter-spacing: .1em;
  color: var(--red-deep);
  opacity: 0;
}
.invite.active .cal-note { animation: lineUp .7s ease both; animation-delay: 3.5s; }

/* ============================================================
   3. 恋爱主题 · FOREVER / 联系新郎新娘
   ============================================================ */
.forever { background: var(--ivory); }
.forever-wrap { display: flex; flex-direction: column; gap: 36px; }
.fv-block {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 18px;
  align-items: center;
}
.fv-media {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid var(--gold-light);
  box-shadow: var(--shadow);
}
.fv-media img { width: 100%; height: 100%; object-fit: cover; }
.fv-photo-l, .fv-photo-r { aspect-ratio: 3 / 4; }
.fv-side { text-align: center; }

/* 进入动画：左右图交替错开滑入 */
.fv-photo-l, .fv-photo-r, .fv-side-l, .fv-side-r { opacity: 0; }
.forever.active .fv-photo-l { animation: slideL 1s ease both; }
.forever.active .fv-side-r  { animation: slideR 1s ease both; animation-delay: .3s; }
.forever.active .fv-photo-r { animation: slideR 1s ease both; animation-delay: .6s; }
.forever.active .fv-side-l  { animation: slideL 1s ease both; animation-delay: .9s; }
@keyframes slideL { from { opacity: 0; transform: translateX(-52px); } to { opacity: 1; transform: none; } }
@keyframes slideR { from { opacity: 0; transform: translateX(52px); }  to { opacity: 1; transform: none; } }

/* FOREVER 艺术字：逐字母展开 + 描边填充 */
.fv-word {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  letter-spacing: .04em;
  margin-bottom: 10px;
  white-space: nowrap;
}
.fv-word span {
  display: inline-block;
  font-size: clamp(2rem, 9.2vw, 3.2rem);
  color: transparent;
  -webkit-text-stroke: 1.5px var(--red-deep);
  opacity: 0;
  transform: translateY(22px) rotate(-8deg) scale(.7);
}
.forever.active .fv-word span {
  animation: fvLetter .75s cubic-bezier(.2, 1.4, .4, 1) both;
  animation-delay: calc(1.2s + var(--i) * .13s);
}
@keyframes fvLetter {
  0%   { opacity: 0; transform: translateY(22px) rotate(-8deg) scale(.7); }
  55%  { opacity: 1; }
  100% { opacity: 1; transform: none; color: var(--red-deep); }
}
.fv-slogan {
  font-family: "Great Vibes", cursive;
  font-size: 1.5rem;
  color: var(--gold-deep);
  margin-bottom: 18px;
  opacity: 0;
}
.forever.active .fv-slogan { animation: lineUp .8s ease both; animation-delay: 2.1s; }

/* 联系按钮：呼吸光效 + 涟漪 + 电话抖动 */
.fv-btns { display: flex; flex-direction: column; gap: 12px; align-items: stretch; }
.fv-btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 18px;
  border-radius: 999px;
  background: var(--red-deep);
  color: #fff;
  font-size: .95rem;
  letter-spacing: .12em;
  text-decoration: none;
  opacity: 0;
  transform: translateY(14px) scale(.94);
  transition: opacity .5s ease, transform .3s ease;
}
.forever.active .fv-btn { opacity: 1; transform: none; animation: breathGlow 2.6s ease-in-out infinite; }
.forever.active .fv-btn:nth-child(1) { transition-delay: 2.6s; }
.forever.active .fv-btn:nth-child(2) { transition-delay: 2.9s; }
.forever.active .fv-btn:hover  { transform: scale(1.04); }
.forever.active .fv-btn:active { transform: scale(.97); }
@keyframes breathGlow {
  0%, 100% { box-shadow: 0 4px 14px rgba(176, 52, 42, .28), 0 0 0 0 rgba(176, 52, 42, .3); }
  50%      { box-shadow: 0 4px 22px rgba(176, 52, 42, .45), 0 0 0 9px rgba(176, 52, 42, 0); }
}
.fv-btn .phone-ico { display: inline-block; }
.fv-btn:hover .phone-ico { animation: phoneShake .5s ease; }
@keyframes phoneShake {
  0%, 100% { transform: rotate(0); }
  20%      { transform: rotate(-18deg); }
  40%      { transform: rotate(16deg); }
  60%      { transform: rotate(-10deg); }
  80%      { transform: rotate(6deg); }
}
.fv-btn small { font-size: .72rem; opacity: .85; letter-spacing: .04em; }
.ripple {
  position: absolute; border-radius: 50%;
  background: rgba(255, 255, 255, .55);
  width: 22px; height: 22px;
  transform: translate(-50%, -50%) scale(0);
  animation: rippleOut .6s ease-out forwards;
  pointer-events: none;
}
@keyframes rippleOut {
  to { transform: translate(-50%, -50%) scale(16); opacity: 0; }
}

/* 竖排情诗 + 囍 */
.fv-side-l { position: relative; }
.fv-xi {
  position: absolute; top: -26px; left: 0;
  font-family: var(--font-hand);
  font-size: 3.2rem;
  color: var(--red-deep);
  opacity: 0;
  transform: rotate(-12deg);
}
.forever.active .fv-xi { animation: xiIn .7s cubic-bezier(.2, 1.5, .4, 1) both; animation-delay: 1.15s; }
@keyframes xiIn {
  from { opacity: 0; transform: rotate(-12deg) scale(.4); }
  to   { opacity: 1; transform: rotate(-12deg) scale(1); }
}
.poem {
  display: flex; justify-content: center; gap: 26px;
  margin: 0 auto;
  color: var(--ink);
}
.poem-line {
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-size: 1.05rem;
  line-height: 2.1;
  letter-spacing: .12em;
  margin: 0;
}
.poem-line span { display: inline-block; opacity: 0; }
.forever.active .poem-line span { animation: poemChar .6s ease both; animation-delay: calc(1.7s + var(--i) * .07s); }
@keyframes poemChar {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: none; }
}

/* ============================================================
   5. 婚纱相册 · 胶片记忆（拍立得拼贴）
   ============================================================ */
.album-stack {
  display: flex; flex-direction: column; gap: 36px;
  margin-top: 38px;
}
/* 逐卡入场：上浮淡入 + 倾斜回正（--d 由 JS 写入错峰延迟） */
.album-stack > * {
  opacity: 0;
  transform: translateY(30px) rotate(var(--tilt, 0deg));
  transition: opacity .9s ease var(--d, 0s),
              transform .7s cubic-bezier(.2, .8, .3, 1) var(--d, 0s);
  will-change: opacity, transform;
}
.album-stack > *.in-view { opacity: 1; transform: translateY(0) rotate(var(--tilt, 0deg)); }
.tilt-l { --tilt: -1.7deg; }
.tilt-r { --tilt: 1.7deg; }

/* ---- 拍立得照片卡片 ---- */
.album-card {
  position: relative;
  background: #fffdf9;
  border-radius: 10px;
  padding: 10px 10px 14px;
  box-shadow: 0 12px 28px rgba(92, 74, 65, .16), 0 2px 6px rgba(92, 74, 65, .08);
  cursor: pointer;
  transform: rotate(var(--tilt, 0deg));
  transition: transform .45s cubic-bezier(.2, .8, .3, 1), box-shadow .3s ease;
}
.album-card:hover { transform: rotate(0deg) translateY(-5px); box-shadow: 0 18px 40px rgba(92, 74, 65, .22); z-index: 3; }
.album-card::before {           /* 顶部胶带 */
  content: ""; position: absolute; top: -9px; left: 50%; z-index: 2;
  width: 66px; height: 22px;
  transform: translateX(-50%) rotate(-2.5deg);
  background: linear-gradient(135deg, rgba(224, 174, 161, .72), rgba(240, 214, 138, .66));
  opacity: .85;
  box-shadow: 0 2px 5px rgba(92, 74, 65, .14);
  pointer-events: none;
}
.album-card .shot {
  position: relative; overflow: hidden;
  border-radius: 6px;
}
.album-card .shot img {
  width: 100%; height: 100%; display: block;
  object-fit: cover;
  transition: transform .65s ease;
}
.album-card:hover .shot img { transform: scale(1.06); }
.album-card .cap {
  margin-top: 11px;
  text-align: center;
  font-family: var(--font-hand);
  font-size: .92rem;
  color: var(--ink);
  letter-spacing: .16em;
}

/* ---- 版式组合 ---- */
.album-pair   { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.album-pair .shot   { aspect-ratio: 3 / 4; }
.album-triple { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.album-triple .shot { aspect-ratio: 3 / 4; }
.album-wide   { width: 100%; }
.album-wide .shot   { aspect-ratio: 3 / 2; }

/* ---- 主图横幅：压暗 + 文案叠加 ---- */
.album-hero {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  box-shadow: var(--shadow);
  cursor: pointer;
}
.album-hero .shot, .album-hero .shot img { width: 100%; height: 100%; }
.album-hero .shot img { object-fit: cover; transition: transform .7s ease; }
.album-hero:hover .shot img { transform: scale(1.04); }
.hero-txt {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 64px 24px 22px;
  text-align: center;
  background: linear-gradient(180deg, transparent, rgba(38, 30, 26, .76));
  color: #fff;
}
.hero-txt .en {
  display: block;
  font-family: "Great Vibes", cursive;
  font-size: 2rem;
  line-height: 1.3;
  letter-spacing: .03em;
}
.hero-txt .zh {
  display: block;
  margin-top: 8px;
  font-size: .84rem;
  letter-spacing: .24em;
  text-indent: .24em;
  opacity: .94;
}

/* ---- 文字卡片：穿插在照片之间 ---- */
.album-quote {
  border-radius: 18px;
  padding: 46px 26px 42px;
  text-align: center;
  background: linear-gradient(135deg, #fdf9f2, #f6e6dd);
  border: 1px solid rgba(224, 174, 161, .55);
  box-shadow: var(--shadow-soft);
}
.album-quote .q-en {
  font-family: "Great Vibes", cursive;
  font-size: 1.75rem;
  color: var(--gold-deep);
  letter-spacing: .03em;
}
.album-quote .q-line { width: 42px; height: 1px; margin: 16px auto; background: rgba(168, 135, 79, .55); }
.album-quote .q-zh { margin: 0; font-size: .95rem; line-height: 2.1; letter-spacing: .18em; color: var(--ink); }

/* ============================================================
   Lightbox
   ============================================================ */
.lightbox {
  position: fixed; inset: 0; z-index: 260;
  background: rgba(38, 30, 26, .92);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .3s ease;
}
.lightbox.open { opacity: 1; visibility: visible; pointer-events: auto; }
.lb-stage {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  padding: 60px 16px;
}
.lb-stage img {
  max-width: 100%; max-height: 100%;
  border-radius: 10px;
  box-shadow: 0 16px 60px rgba(0, 0, 0, .5);
  object-fit: contain;
}
.lb-stage img.lb-img-in { animation: lbZoom .35s ease both; }
@keyframes lbZoom { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }
.lb-btn {
  position: absolute; z-index: 2;
  border: 1px solid rgba(255, 255, 255, .35);
  background: rgba(255, 255, 255, .08);
  color: #fff; font-size: 1.5rem; line-height: 1;
  border-radius: 50%;
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  transition: background .25s;
}
.lb-btn:hover { background: rgba(255, 255, 255, .2); }
.lb-close { top: calc(14px + env(safe-area-inset-top)); right: 14px; }
.lb-prev { left: 10px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 10px; top: 50%; transform: translateY(-50%); }
.lb-count {
  position: absolute; bottom: calc(14px + env(safe-area-inset-bottom)); left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, .75); font-size: .82rem; letter-spacing: .25em;
}

/* ============================================================
   6. 婚礼信息
   ============================================================ */
/* 婚期醒目提示：明确仪式当天是 10月06日，避免与日历上的 05 日混淆 */
.info-date {
  max-width: 420px;
  margin: 0 auto 18px;
  padding: 14px 20px 12px;
  text-align: center;
  border-radius: 14px;
  border: 1px solid var(--gold);
  background: linear-gradient(135deg, rgba(201, 169, 106, .12), rgba(201, 169, 106, .05));
}
.info-date-main {
  margin: 0;
  font-family: var(--font-hand);
  font-size: 1.35rem;
  letter-spacing: .08em;
  color: var(--red-deep);
}
.info-date-sub {
  margin: 4px 0 0;
  font-size: .8rem;
  letter-spacing: .14em;
  color: var(--ink-light);
}
.info-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 18px; }
.info-card {
  background: #fff;
  border: 1px solid var(--gold-light);
  border-radius: 16px;
  padding: 24px 10px 20px;
  text-align: center;
  box-shadow: var(--shadow-soft);
  transition: transform .35s ease;
}
.info-card:hover { transform: translateY(-4px); }
.info-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--gold-light);
  color: var(--gold-deep);
  font-size: 1.05rem;
  margin-bottom: 10px;
}
.info-card h3 { font-size: .88rem; font-weight: 500; color: var(--ink); letter-spacing: .12em; }
.info-time {
  margin-top: 6px;
  font-family: var(--font-hand);
  font-size: 1.35rem; color: var(--gold-deep);
  letter-spacing: .06em;
}
.addr-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.addr-card {
  background: #fff;
  border: 1px solid var(--gold-light);
  border-radius: 20px;
  padding: 30px 24px 26px;
  text-align: center;
  box-shadow: var(--shadow);
}
.addr-pin { font-size: 1.5rem; margin-bottom: 6px; }
.addr-title { font-size: .92rem; letter-spacing: .2em; color: var(--ink); margin-bottom: 8px; }
.addr-text { font-size: .95rem; color: var(--ink-light); line-height: 1.9; margin-bottom: 20px; }

/* ============================================================
   7. 宴席回执
   ============================================================ */
.rsvp-form {
  max-width: 440px; margin: 0 auto;
  background: #fff;
  border: 1px solid var(--gold-light);
  border-radius: 20px;
  padding: 30px 26px 26px;
  box-shadow: var(--shadow);
}
.field { margin-bottom: 18px; }
.field label {
  display: block; font-size: .84rem; letter-spacing: .12em;
  color: var(--ink); margin-bottom: 8px;
}
.field label i { color: var(--pink); font-style: normal; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--gold-light);
  border-radius: 10px;
  background: var(--ivory);
  color: var(--ink);
  font-size: .92rem;
  outline: none;
  transition: border-color .3s, box-shadow .3s;
  appearance: none;
}
.field textarea { resize: vertical; min-height: 88px; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 169, 106, .18);
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23c9a96a' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.field.err input, .field.err select, .field.err textarea { border-color: #d98a8a; }
.field-err {
  display: none;
  margin-top: 6px; font-size: .76rem; color: #c96a6a; letter-spacing: .04em;
}
.field.err .field-err { display: block; }
.field-count { text-align: right; font-size: .72rem; color: var(--ink-light); margin-top: 4px; }
.hp-field { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.form-note { text-align: center; font-size: .76rem; color: var(--ink-light); margin-top: 14px; letter-spacing: .06em; }

/* 提交成功 */
.rsvp-success {
  max-width: 440px; margin: 0 auto;
  background: #fff;
  border: 1px solid var(--gold-light);
  border-radius: 20px;
  padding: 44px 26px;
  text-align: center;
  box-shadow: var(--shadow);
}
.rsvp-success h3 { font-family: var(--font-hand); font-weight: 400; font-size: 1.6rem; color: var(--ink); margin: 16px 0 8px; }
.rsvp-success p { font-size: .88rem; color: var(--ink-light); margin-bottom: 22px; }
.check-ring { width: 72px; height: 72px; }
.check-ring .ring { stroke-dasharray: 176; stroke-dashoffset: 176; animation: drawRing .8s ease forwards; }
.check-ring .check { stroke-dasharray: 40; stroke-dashoffset: 40; animation: drawCheck .5s .55s ease forwards; }
@keyframes drawRing { to { stroke-dashoffset: 0; } }
@keyframes drawCheck { to { stroke-dashoffset: 0; } }


/* ============================================================
   10. 祝福墙
   ============================================================ */
.wall-list {
  max-width: 520px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 14px;
}
.wall-item {
  background: #fff;
  border: 1px solid var(--gold-light);
  border-radius: 16px;
  padding: 18px 22px;
  box-shadow: var(--shadow-soft);
  animation: wallIn .6s ease both;
}
@keyframes wallIn {
  from { opacity: 0; transform: translateY(16px) scale(.98); }
  to   { opacity: 1; transform: none; }
}
.wall-item.new { animation: wallPop .6s cubic-bezier(.2, 1.4, .4, 1) both; }
@keyframes wallPop {
  0% { opacity: 0; transform: scale(.85) translateY(10px); }
  70% { transform: scale(1.02); }
  100% { opacity: 1; transform: none; }
}
.wall-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 6px; }
.wall-name {
  font-family: var(--font-hand); font-size: 1.05rem; color: var(--gold-deep);
  letter-spacing: .08em;
}
.wall-time { font-size: .7rem; color: var(--ink-light); letter-spacing: .06em; }
.wall-text { font-size: .88rem; color: var(--ink); line-height: 1.8; }
.wall-note { text-align: center; margin-top: 26px; font-size: .82rem; color: var(--ink-light); letter-spacing: .1em; }
.wall-empty { text-align: center; color: var(--ink-light); font-size: .88rem; padding: 20px 0; }

/* ============================================================
   11. 结束页
   ============================================================ */
.ending {
  background:
    radial-gradient(circle at 50% 30%, rgba(233, 220, 192, .7), transparent 55%),
    radial-gradient(circle at 50% 85%, rgba(240, 220, 214, .55), transparent 60%),
    linear-gradient(180deg, #fdf9f2, #f6ecdd);
  text-align: center;
}
.ending-inner { display: flex; flex-direction: column; align-items: center; gap: 34px; }
.ending-frame {
  max-width: 460px; width: 100%;
  padding: 46px 24px 40px;
  border: 1px solid rgba(201, 169, 106, .5);
  border-radius: 8px;
  background: rgba(253, 249, 242, .55);
  box-shadow: 0 18px 50px rgba(168, 135, 79, .16);
}
.ending-en { font-size: .66rem; letter-spacing: .5em; text-indent: .5em; color: var(--gold-deep); text-transform: uppercase; }
.ending-title {
  font-family: var(--font-hand); font-weight: 400;
  font-size: clamp(2rem, 8vw, 2.6rem);
  color: var(--ink); letter-spacing: .1em; margin: 6px 0 0;
}
.ending-date { margin-top: 16px; font-size: .95rem; letter-spacing: .2em; color: var(--gold-deep); }
.ending-banquets {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}
.banquet-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .86rem;
  letter-spacing: .08em;
  color: var(--ink-light);
  line-height: 1.5;
}
.bq-tag {
  flex: none;
  padding: 3px 12px;
  border: 1px solid rgba(201, 169, 106, .55);
  border-radius: 20px;
  color: var(--gold-deep);
  font-size: .78rem;
  letter-spacing: .15em;
  white-space: nowrap;
}
.bq-info { text-align: left; }
.ending-words { margin-top: 22px; font-size: .82rem; color: var(--ink-light); letter-spacing: .1em; }
.ending-btns { margin-top: 30px; display: flex; flex-direction: column; gap: 14px; align-items: stretch; }
.footer { font-size: .76rem; letter-spacing: .2em; color: var(--ink-light); }

/* ============================================================
   弹窗（Modal）
   ============================================================ */
.modal {
  position: fixed; inset: 0; z-index: 280;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  background: rgba(60, 45, 38, .48);
  backdrop-filter: blur(5px);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .3s ease;
}
.modal.open { opacity: 1; visibility: visible; pointer-events: auto; }
.modal-card {
  width: min(88vw, 340px);
  background: #fff;
  border: 1px solid var(--gold-light);
  border-radius: 20px;
  padding: 30px 26px 26px;
  text-align: center;
  box-shadow: 0 24px 70px rgba(60, 45, 38, .3);
  transform: translateY(16px) scale(.97);
  transition: transform .35s cubic-bezier(.2, 1.2, .4, 1);
}
.modal.open .modal-card { transform: none; }
.modal-card.small { padding: 26px 24px 22px; }
.modal-card h3 {
  font-family: var(--font-hand); font-weight: 400;
  font-size: 1.45rem; color: var(--ink); margin-bottom: 18px; letter-spacing: .08em;
}
.modal-card .btn { margin-bottom: 12px; }
.modal-card .btn:last-child { margin-bottom: 0; }
.modal-card p { font-size: .9rem; color: var(--ink-light); }
.confirm-actions { display: flex; gap: 12px; margin-top: 8px; }
.confirm-actions .btn { flex: 1; margin: 0; }

/* 微信分享引导 */
.share-card .share-step-txt { margin-bottom: 16px; font-size: .95rem; color: var(--ink); }
.menu-dots {
  display: inline-block;
  width: 26px; height: 26px; line-height: 24px;
  border-radius: 6px;
  border: 1px solid var(--gold);
  background: var(--ivory);
  color: var(--gold-deep);
  font-size: 1rem; letter-spacing: 1px;
  vertical-align: middle; text-align: center;
}
.share-steps { margin-bottom: 14px; }
.step {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; margin-bottom: 10px;
  border-radius: 10px;
  background: var(--ivory);
  border: 1px solid var(--gold-light);
  font-size: .88rem; color: var(--ink);
  text-align: left;
}
.step-no {
  flex-shrink: 0;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--gold); color: #fff;
  font-size: .74rem;
  display: flex; align-items: center; justify-content: center;
}
.share-tip { font-size: .78rem !important; margin-bottom: 16px; }

/* ============================================================
   右侧悬浮圆点导航
   ============================================================ */
#dotNav {
  position: fixed; right: 10px; top: 50%;
  transform: translateY(-50%);
  z-index: 150;
  display: flex; flex-direction: column; align-items: center; gap: 13px;
  padding: 12px 8px;
  border-radius: 999px;
  background: rgba(253, 249, 242, .7);
  border: 1px solid var(--gold-light);
  backdrop-filter: blur(6px);
}
.dot {
  position: relative;
  width: 8px; height: 8px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  background: transparent;
  padding: 0;
  transition: all .3s ease;
}
.dot::after {
  content: attr(data-label);
  position: absolute; right: 18px; top: 50%;
  transform: translateY(-50%) translateX(6px);
  white-space: nowrap;
  font-size: .68rem; letter-spacing: .1em;
  color: var(--gold-deep);
  background: #fff;
  border: 1px solid var(--gold-light);
  border-radius: 999px;
  padding: 3px 10px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: all .25s ease;
}
.dot:hover::after { opacity: 1; visibility: visible; transform: translateY(-50%) translateX(0); }
.dot.active {
  width: 13px; height: 13px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  box-shadow: 0 0 0 4px rgba(201, 169, 106, .22);
  border-color: var(--gold);
}

/* ============================================================
   响应式适配
   ============================================================ */
@media (max-width: 640px) {
  .section { padding: 64px 0 70px; }

  /* 恋爱主题：改为上下堆叠 */
  .fv-block { grid-template-columns: 1fr; gap: 16px; }
  .fv-lower .fv-media { order: 2; }
  .fv-lower .fv-side-l { order: 1; }
  .fv-media { aspect-ratio: 4 / 5; }
  .fv-word span { font-size: clamp(1.8rem, 8.8vw, 2.6rem); }
  .poem-line { font-size: .98rem; }

  .info-cards { gap: 10px; }

  /* 男方/女方酒席卡片：窄屏改为上下堆叠 */
  .addr-cards { grid-template-columns: 1fr; }

  /* 相册：收窄拍立得边距，主图与横图切 4:3 */
  .album-stack { gap: 28px; margin-top: 30px; }
  .album-pair { gap: 14px; }
  .album-triple { gap: 10px; }
  .album-card { padding: 7px 7px 11px; }
  .album-card::before { width: 52px; height: 18px; top: -7px; }
  .album-card .cap { font-size: .78rem; margin-top: 8px; letter-spacing: .1em; }
  .album-hero { aspect-ratio: 4 / 3; }
  .album-wide .shot { aspect-ratio: 4 / 3; }
  .album-quote { padding: 34px 18px 30px; }

  .flip-row { gap: 8px; }

  #dotNav { right: 6px; gap: 11px; padding: 10px 6px; }
}

@media (max-width: 380px) {
  .flip-card { width: clamp(52px, 21vw, 64px); }
  .cover-frame { padding: 36px 18px 30px; }
}

/* 减少动态效果偏好 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
