/* =====================================================================
   彭云丰 & 石夏梅 · 婚礼邀请函
   Champagne-gold / ivory luxury theme, mobile-first H5
   ===================================================================== */

@font-face {
  font-family: 'NSC';
  src: url('../fonts/nsc-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'NSC';
  src: url('../fonts/nsc-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --ivory: #f8f1e5;
  --ivory-2: #f1e5d1;
  --ivory-3: #e9dcc4;
  --gold: #c8a15e;
  --gold-lt: #f2dfb6;
  --gold-dk: #9a7132;
  --ink: #2a231b;
  --ink-soft: #6d5c47;
  --wine: #5a1a25;
  --wine-dk: #3d1019;
  --espresso: #1d1710;

  --serif: 'NSC', 'Songti SC', 'STSong', 'SimSun', 'Source Han Serif SC', 'Noto Serif CJK SC', serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --pad: clamp(20px, 6.4vw, 34px);
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--serif);
  background: #14100b;
  color: var(--ink);
  line-height: 1.9;
  overflow-x: hidden;
  overscroll-behavior-y: none;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
body.locked { overflow: hidden; height: 100%; }

img { display: block; max-width: 100%; }
button, input, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }

::selection { background: rgba(200, 161, 94, .28); }

/* ---------------------------------------------------------------- shell */
.app {
  position: relative;
  max-width: 560px;
  margin: 0 auto;
  background: var(--ivory);
  overflow: clip;
}
.shell {
  position: fixed;
  inset: 0;
  margin: 0 auto;
  max-width: 560px;
  pointer-events: none;
  z-index: 90;
}
.shell > * { pointer-events: auto; }

.progress {
  position: absolute;
  top: 0; left: 0;
  height: 2px; width: 0;
  background: linear-gradient(90deg, transparent, var(--gold-lt), var(--gold));
  box-shadow: 0 0 10px rgba(200, 161, 94, .7);
  z-index: 95;
  transition: width .12s linear;
  pointer-events: none;
}

/* ---------------------------------------------------------------- type */
.eyebrow {
  font-size: 10px;
  letter-spacing: .52em;
  text-indent: .52em;
  color: var(--gold-dk);
  text-transform: uppercase;
  line-height: 1.6;
}
.eyebrow.light { color: rgba(242, 223, 182, .78); }

.sec-title {
  font-size: clamp(21px, 6vw, 26px);
  font-weight: 600;
  letter-spacing: .26em;
  text-indent: .26em;
  color: var(--ink);
  margin-top: 14px;
  line-height: 1.6;
}
.sec-title.light { color: #f6e9cf; }

.sec { position: relative; padding: clamp(64px, 15vw, 92px) var(--pad); overflow: hidden; }
.sec > * { position: relative; z-index: 2; }

.sub {
  font-size: 13px;
  color: var(--ink-soft);
  letter-spacing: .1em;
  margin-top: 18px;
  line-height: 2.1;
}
.sub.light { color: rgba(246, 233, 207, .62); }

.orn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 20px auto 0;
  width: 63%;
  color: var(--gold);
}
.orn i {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, currentColor);
  opacity: .75;
}
.orn i:last-child { background: linear-gradient(270deg, transparent, currentColor); }
.orn b {
  width: 5px; height: 5px;
  background: currentColor;
  transform: rotate(45deg);
  flex: 0 0 auto;
  box-shadow: 0 0 8px rgba(200, 161, 94, .8);
}
.orn.light { color: var(--gold-lt); }

.gold-text {
  background-image: linear-gradient(100deg,
      #8e6a30 0%, #d9b87c 12%, #fbf1d3 24%, #e3c48d 34%,
      #a87d3c 46%, #e9ce9b 60%, #fff8e2 70%, #d5b279 82%, #8e6a30 100%);
  background-size: 260% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: sheen 11s linear infinite;
}
@keyframes sheen {
  0%   { background-position: 0% 50%; }
  100% { background-position: 260% 50%; }
}

/* reveal */
.reveal {
  opacity: 0;
  transform: translate3d(0, 30px, 0);
  filter: blur(9px);
  transition:
    opacity 1.1s var(--ease-out),
    transform 1.3s var(--ease-out),
    filter 1.1s var(--ease-out);
  transition-delay: calc(var(--d, 0) * 1ms);
}
.reveal.in {
  opacity: 1;
  transform: none;
  filter: none;
}

/* ---------------------------------------------------------------- opening */
.opening {
  position: absolute;
  inset: 0;
  z-index: 100;
  overflow: hidden;
  background: #0d0a07;
  perspective: 1400px;
}
.opening.gone { display: none; }

.doors {
  position: absolute;
  inset: 0;
  z-index: 1;
  transform-origin: 50% 42%;
  will-change: transform, filter;
  filter: brightness(.94) saturate(.98);
  backface-visibility: hidden;
}
.half {
  position: absolute;
  top: 0; bottom: 0;
  width: 50%;
  overflow: hidden;
  transition: transform 1.35s cubic-bezier(.77, 0, .18, 1);
}
.half-l { left: 0; }
.half-r { right: 0; }

.half-art {
  position: absolute;
  top: 0;
  height: 100%;
  width: 200%;
  max-width: none;
  object-fit: cover;
  object-position: 50% 42%;
  backface-visibility: hidden;
}
.half-l .half-art { left: 0; }
.half-r .half-art { left: auto; right: 0; }

@keyframes kenburns {
  from { transform: scale(1.02) translate3d(0, 0, 0); }
  to   { transform: scale(1.1) translate3d(-1.2%, -1.6%, 0); }
}

.half::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 46px;
  pointer-events: none;
  opacity: 0;
  transition: opacity .35s ease;
}
.opening.opened .half::after { opacity: 1; }
.half-l::after { right: 0; background: linear-gradient(90deg, transparent, rgba(0, 0, 0, .5)); }
.half-r::after { left: 0; background: linear-gradient(270deg, transparent, rgba(0, 0, 0, .5)); }

.opening::after {
  content: '';
  position: absolute;
  inset: -12%;
  z-index: 2;
  pointer-events: none;
  background: radial-gradient(38% 26% at 34% 24%, rgba(255, 238, 200, .22), rgba(255, 238, 200, 0) 70%);
  mix-blend-mode: screen;
  animation: drift 21s ease-in-out infinite alternate;
}
@keyframes drift {
  from { transform: translate3d(-4%, -2%, 0); }
  to   { transform: translate3d(7%, 4%, 0); }
}

.opening::before {
  /* warm vignette + tone */
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    radial-gradient(125% 85% at 50% 36%, rgba(58, 38, 16, .02), rgba(10, 8, 5, .46) 86%),
    linear-gradient(180deg, rgba(13, 9, 5, .62) 0%, rgba(13, 9, 5, .04) 24%, rgba(13, 9, 5, .10) 48%, rgba(11, 8, 4, .90) 100%);
  pointer-events: none;
}

.tone {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(165deg, rgba(196, 148, 78, .40) 0%, rgba(120, 84, 44, .12) 38%, rgba(46, 30, 14, .28) 100%);
  mix-blend-mode: soft-light;
}

.flash {
  position: absolute;
  inset: 0;
  z-index: 6;
  opacity: 0;
  background: radial-gradient(circle at 50% 52%, #fff9e8 0%, rgba(255, 236, 197, .75) 26%, rgba(255, 220, 160, 0) 62%);
  pointer-events: none;
}
.opening.flash .tone {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(165deg, rgba(196, 148, 78, .40) 0%, rgba(120, 84, 44, .12) 38%, rgba(46, 30, 14, .28) 100%);
  mix-blend-mode: soft-light;
}

.flash { animation: flash 1.15s ease-out forwards; }
@keyframes flash {
  0%   { opacity: 0; }
  18%  { opacity: .92; }
  100% { opacity: 0; }
}

.cover-content {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: calc(env(safe-area-inset-top, 0px) + 46px) var(--pad) calc(env(safe-area-inset-bottom, 0px) + 40px);
  text-align: center;
  transition: opacity .8s var(--ease), transform .9s var(--ease), filter .8s var(--ease);
}
.opening.opened .cover-content {
  opacity: 0;
  transform: translateY(-14px) scale(1.04);
  filter: blur(10px);
}

.cover-top { display: flex; align-items: center; gap: 14px; width: 100%; }
.cover-top .rule {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(242, 223, 182, .6));
}
.cover-top .rule:last-child { background: linear-gradient(270deg, transparent, rgba(242, 223, 182, .6)); }
.cover-top .eyebrow { white-space: nowrap; font-size: 9px; letter-spacing: .4em; text-indent: .4em; }

.cover-mid { position: relative; display: flex; flex-direction: column; align-items: center; margin-top: -4vh; }
.cover-mid::before {
  content: '';
  position: absolute;
  left: 50%; top: 50%;
  width: 150%; height: 190%;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse at center, rgba(14, 10, 6, .52) 0%, rgba(14, 10, 6, .22) 42%, rgba(14, 10, 6, 0) 72%);
  z-index: -1;
  pointer-events: none;
}
.crest { color: var(--gold-lt); opacity: .9; margin-bottom: 6px; }
.crest svg { width: clamp(90px, 26vw, 120px); height: auto; }

.names {
  font-size: clamp(29px, 8.9vw, 41px);
  font-weight: 600;
  letter-spacing: .05em;
  text-indent: .05em;
  line-height: 1.5;
  margin-top: 8px;
  white-space: nowrap;
  filter: drop-shadow(0 4px 18px rgba(0, 0, 0, .55));
}
.names .amp {
  font-style: italic;
  font-weight: 400;
  font-size: .72em;
  padding: 0 .18em;
  letter-spacing: 0;
  text-indent: 0;
  vertical-align: .06em;
  opacity: .92;
}
.latin {
  margin-top: 10px;
  font-size: 8.5px;
  letter-spacing: .34em;
  text-indent: .34em;
  color: rgba(246, 233, 207, .66);
}

.cover-bot { display: flex; flex-direction: column; align-items: center; width: 100%; }
.cover-date {
  font-size: clamp(25px, 7.4vw, 33px);
  letter-spacing: .16em;
  text-indent: .16em;
  line-height: 1.2;
  filter: drop-shadow(0 2px 12px rgba(0, 0, 0, .5));
}
.cover-sub {
  font-size: 11px;
  letter-spacing: .16em;
  color: rgba(246, 233, 207, .72);
  margin-top: 10px;
}

.open-btn {
  position: relative;
  margin-top: 26px;
  padding: 13px 40px;
  border: 1px solid rgba(242, 223, 182, .55);
  color: #f8ecd2;
  font-size: 13px;
  letter-spacing: .3em;
  text-indent: .3em;
  border-radius: 40px;
  overflow: hidden;
  background: rgba(255, 244, 220, .04);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  transition: background .5s var(--ease), border-color .5s var(--ease), transform .5s var(--ease);
  animation: breathe 3.4s ease-in-out infinite;
}
.open-btn::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 42%;
  left: -60%;
  background: linear-gradient(100deg, transparent, rgba(255, 246, 224, .55), transparent);
  transform: skewX(-18deg);
  animation: sweep 3.4s ease-in-out infinite;
}
.open-btn:active { transform: scale(.96); }
@keyframes breathe {
  0%, 100% { box-shadow: 0 0 0 0 rgba(242, 223, 182, .22); }
  50%      { box-shadow: 0 0 0 10px rgba(242, 223, 182, 0); }
}
@keyframes sweep {
  0%   { left: -60%; }
  55%  { left: 130%; }
  100% { left: 130%; }
}

.btn-txt { position: relative; z-index: 2; }
.ring {
  position: absolute;
  inset: -1px;
  border-radius: 40px;
  border: 1px solid rgba(242, 223, 182, .3);
  animation: ringpulse 3.4s ease-in-out infinite;
}
@keyframes ringpulse {
  0%   { transform: scale(1); opacity: .7; }
  70%  { transform: scale(1.22); opacity: 0; }
  100% { transform: scale(1.22); opacity: 0; }
}

.cover-venue {
  margin-top: 26px;
  font-size: 10.5px;
  letter-spacing: .26em;
  text-indent: .26em;
  color: rgba(246, 233, 207, .58);
}

/* center seal */
.seal {
  position: absolute;
  left: 50%; top: 50%;
  width: 78px; height: 78px;
  margin: -39px 0 0 -39px;
  border-radius: 50%;
  border: 1px solid rgba(242, 223, 182, .5);
  background: rgba(20, 15, 10, .38);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  display: grid;
  place-items: center;
  z-index: 4;
  color: var(--gold-lt);
  font-size: 30px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .5s var(--ease), transform .9s var(--ease), filter .8s var(--ease);
}
.seal span { transform: translateY(-1px); }
.opening.opened .seal {
  opacity: 0;
  transform: scale(2.6);
  filter: blur(6px);
}
.opening .seal { opacity: 0; }

/* split state */
.opening.opened .half-l { transform: translate3d(-101%, 0, 0); }
.opening.opened .half-r { transform: translate3d(101%, 0, 0); }
.opening.opened .half { will-change: transform; }
.opening.opened .doors { animation-play-state: paused; }

/* ---------------------------------------------------------------- invite */
.sec-invite {
  background:
    radial-gradient(80% 50% at 50% 0%, #fffaf0 0%, rgba(255, 250, 240, 0) 62%),
    linear-gradient(180deg, var(--ivory) 0%, #f5ecdc 46%, var(--ivory) 100%);
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: clamp(78px, 18vw, 108px);
  padding-bottom: clamp(64px, 14vw, 96px);
}
.sec-invite .halo {
  position: absolute;
  left: 50%; top: 46%;
  width: 150%; aspect-ratio: 1;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(200, 161, 94, .13) 0%, rgba(200, 161, 94, 0) 58%);
  z-index: 1;
  pointer-events: none;
}
.ghost-mark {
  position: absolute;
  right: -14%;
  top: 10%;
  font-size: min(58vw, 300px);
  line-height: 1;
  color: rgba(154, 113, 50, .028);
  z-index: 1;
  animation: spin 90s linear infinite;
  pointer-events: none;
  user-select: none;
}
@keyframes spin { to { transform: rotate(360deg); } }

.frame { position: relative; }
.frame::before,
.frame::after {
  content: '';
  position: absolute;
  pointer-events: none;
  border: 1px solid rgba(200, 161, 94, .34);
}
.frame::before { inset: 0; }
.frame::after { inset: 6px; border-color: rgba(200, 161, 94, .13); }

.sec-invite > .frame {
  position: absolute;
  inset: clamp(16px, 4.6vw, 24px);
  z-index: 1;
}
.sec-invite .frame .c {
  position: absolute;
  width: 14px; height: 14px;
  border: 1px solid rgba(200, 161, 94, .65);
}
.sec-invite .frame .c1 { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.sec-invite .frame .c2 { top: -1px; right: -1px; border-left: 0; border-bottom: 0; }
.sec-invite .frame .c3 { bottom: -1px; left: -1px; border-right: 0; border-top: 0; }
.sec-invite .frame .c4 { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }

.invite-body { margin-top: 30px; text-align: center; }
.invite-body .line {
  font-size: 14.5px;
  letter-spacing: .16em;
  color: #463a2c;
  line-height: 2.35;
}
.invite-body .line.gap { margin-top: 26px; font-size: 13px; letter-spacing: .5em; text-indent: .5em; color: var(--gold-dk); }
.invite-body .line.big {
  font-size: clamp(19px, 5.6vw, 23px);
  font-weight: 600;
  letter-spacing: .12em;
  color: var(--ink);
  margin-top: 12px;
}
.invite-body .line.tight { letter-spacing: .04em; }
.invite-body .line.small { font-size: 12px; color: var(--ink-soft); letter-spacing: .08em; margin-top: 6px; }
.invite-body .em { color: var(--gold-dk); font-weight: 600; }

.sign { margin-top: 34px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.sign p { font-size: 13px; letter-spacing: .2em; color: #4a3d2e; }
.seal-sm {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(200, 161, 94, .55);
  color: var(--gold-dk);
  font-size: 20px;
  background: radial-gradient(circle at 50% 35%, #fff9ec, #f3e6cd);
  box-shadow: 0 6px 18px rgba(154, 113, 50, .14);
}

.scroll-hint {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 9.5px;
  letter-spacing: .38em;
  text-indent: .38em;
  color: rgba(109, 92, 71, .7);
}
.scroll-hint i {
  width: 1px; height: 34px;
  background: linear-gradient(180deg, var(--gold), transparent);
  animation: drop 2.4s ease-in-out infinite;
}
@keyframes drop {
  0%, 100% { opacity: .2; transform: scaleY(.5); transform-origin: top; }
  50%      { opacity: 1; transform: scaleY(1); transform-origin: top; }
}

/* ---------------------------------------------------------------- countdown */
.sec-count {
  min-height: 76svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    radial-gradient(70% 45% at 50% 0%, rgba(200, 161, 94, .13), transparent 70%),
    linear-gradient(180deg, #221a12 0%, #191309 100%);
  text-align: center;
  padding-top: clamp(72px, 16vw, 96px);
  padding-bottom: clamp(72px, 16vw, 96px);
  color: #f4e7cc;
}
.ember { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; }
.count-lead {
  margin-top: 26px;
  font-size: 12px;
  letter-spacing: .42em;
  text-indent: .42em;
  color: rgba(244, 231, 204, .6);
}
.count-grid {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: clamp(2px, 1.4vw, 8px);
  margin-top: 20px;
}
.count-cell { display: flex; flex-direction: column; align-items: center; width: clamp(56px, 17vw, 74px); }
.count-cell .num {
  display: block;
  font-size: clamp(30px, 9.6vw, 40px);
  font-weight: 400;
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
  letter-spacing: .02em;
  color: #f7e8c9;
  text-shadow: 0 0 26px rgba(224, 190, 128, .32);
}
.count-cell .lbl {
  margin-top: 8px;
  font-size: 9.5px;
  letter-spacing: .32em;
  text-indent: .32em;
  color: rgba(244, 231, 204, .45);
}
.colon {
  font-size: clamp(20px, 6vw, 26px);
  color: rgba(224, 190, 128, .45);
  line-height: 1.6;
  padding: 0 1px;
}
.num.tick { animation: tick .38s var(--ease-out); }
@keyframes tick {
  0%   { transform: translateY(22%) scale(.94); opacity: .25; }
  100% { transform: none; opacity: 1; }
}
.count-date {
  margin-top: 30px;
  font-size: 10.5px;
  letter-spacing: .3em;
  text-indent: .3em;
  color: rgba(244, 231, 204, .48);
}

/* ---------------------------------------------------------------- quote */
.sec-quote {
  padding: 0;
  height: clamp(440px, 82svh, 660px);
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #16110b;
}
.quote-media { position: absolute; inset: -12% 0; z-index: 0; will-change: transform; }
.quote-media img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.62) saturate(.92); }
.quote-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(20, 16, 11, .92) 0%, rgba(20, 16, 11, .1) 22%, rgba(20, 16, 11, .18) 70%, rgba(20, 16, 11, .95) 100%),
    radial-gradient(70% 60% at 50% 50%, rgba(20, 16, 11, 0) 30%, rgba(20, 16, 11, .55) 100%),
    radial-gradient(66% 42% at 50% 50%, rgba(18, 14, 9, .58) 0%, rgba(18, 14, 9, .18) 58%, rgba(18, 14, 9, 0) 78%);
}
.quote-inner {
  position: relative;
  z-index: 2;
  width: calc(100% - var(--pad) * 2);
  padding: clamp(38px, 10vw, 54px) clamp(16px, 5vw, 28px);
  text-align: center;
}
.quote-inner::before { border-color: rgba(242, 223, 182, .34); }
.quote-inner::after { border-color: rgba(242, 223, 182, .14); }
.q {
  font-size: clamp(17px, 5.2vw, 22px);
  letter-spacing: .18em;
  color: #f9eed9;
  line-height: 2.2;
  margin-top: 14px;
  text-shadow: 0 2px 24px rgba(0, 0, 0, .5);
}
.q-src {
  margin-top: 18px;
  font-size: 10.5px;
  letter-spacing: .24em;
  color: rgba(242, 223, 182, .68);
}

/* ---------------------------------------------------------------- moments */
.sec-moments { background: linear-gradient(180deg, var(--ivory) 0%, #f6eedf 100%); text-align: center; }
.sec-moments .carousel { margin-top: 34px; }

.carousel {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 6px calc((100% - min(74vw, 320px)) / 2) 26px;
  margin-left: calc(var(--pad) * -1);
  margin-right: calc(var(--pad) * -1);
}
.carousel::-webkit-scrollbar { display: none; }

.slide {
  flex: 0 0 auto;
  width: min(74vw, 320px);
  scroll-snap-align: center;
  transition: transform .65s var(--ease-out), opacity .65s var(--ease-out);
  transform: scale(.9);
  opacity: .45;
}
.slide.active { transform: scale(1); opacity: 1; }

.slide-media {
  position: relative;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: #e8dcc6;
  box-shadow: 0 18px 40px -18px rgba(60, 40, 16, .5);
}
.slide-media::after {
  content: '';
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(255, 248, 232, .34);
  pointer-events: none;
}
.slide-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out), filter .8s var(--ease);
  filter: saturate(.96);
}
.slide.active .slide-media img { transform: scale(1.045); }
.slide-meta {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
  opacity: 0;
  transform: translateY(6px);
  transition: all .6s var(--ease-out) .1s;
}
.slide.active .slide-meta { opacity: 1; transform: none; }
.slide-meta .idx { font-size: 9px; letter-spacing: .1em; color: var(--gold-dk); }
.slide-meta .cap { font-size: 12px; letter-spacing: .14em; color: #4c3f2f; }

.carousel-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
  padding: 0 2px;
}
.dots { display: flex; gap: 7px; }
.dots span {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: rgba(154, 113, 50, .26);
  transition: all .45s var(--ease);
}
.dots span.on { width: 20px; border-radius: 3px; background: var(--gold); }
.counter { font-size: 10px; letter-spacing: .16em; color: var(--ink-soft); }
.counter b { color: var(--gold-dk); font-weight: 600; }

/* ---------------------------------------------------------------- red */
.sec-red {
  background: linear-gradient(180deg, #4d1620 0%, var(--wine) 40%, #4a141e 100%);
  text-align: center;
  color: #f6e6cd;
  padding-top: clamp(74px, 17vw, 98px);
  padding-bottom: clamp(74px, 17vw, 98px);
}
.red-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: .5;
  background-image:
    repeating-linear-gradient(45deg, rgba(236, 200, 140, .05) 0 1px, transparent 1px 26px),
    repeating-linear-gradient(-45deg, rgba(236, 200, 140, .05) 0 1px, transparent 1px 26px);
  mask-image: radial-gradient(70% 60% at 50% 50%, #000 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(70% 60% at 50% 50%, #000 0%, transparent 78%);
}
.red-mark {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  font-size: min(88vw, 440px);
  line-height: 1;
  color: rgba(240, 206, 150, .06);
  z-index: 1;
  pointer-events: none;
  user-select: none;
}
.red-cards {
  position: relative;
  margin-top: 36px;
  display: flex;
  justify-content: center;
  align-items: center;
  height: clamp(280px, 74vw, 360px);
}
.red-card {
  position: absolute;
  width: clamp(138px, 40vw, 176px);
  aspect-ratio: 2 / 3;
  padding: 6px;
  background: linear-gradient(160deg, #f7e3bf, #caa263 46%, #f3ddb4);
  box-shadow: 0 22px 44px -16px rgba(0, 0, 0, .62);
  transition: transform 1.15s var(--ease-out), opacity 1s var(--ease-out);
  opacity: 0;
}
.red-card img { width: 100%; height: 100%; object-fit: cover; }
.r-c1 { transform: translate3d(-56%, 10px, 0) rotate(-13deg) scale(.9); z-index: 1; }
.r-c2 { transform: translate3d(0, -8px, 0) rotate(0deg) scale(1); z-index: 3; }
.r-c3 { transform: translate3d(56%, 10px, 0) rotate(13deg) scale(.9); z-index: 2; }

.sec-red.in .red-card { opacity: 1; }
.sec-red.in .r-c1 { transform: translate3d(-74%, 16px, 0) rotate(-10deg) scale(.94); }
.sec-red.in .r-c2 { transform: translate3d(0, -14px, 0) rotate(-1deg) scale(1); }
.sec-red.in .r-c3 { transform: translate3d(74%, 16px, 0) rotate(10deg) scale(.94); }

.red-foot {
  margin-top: 30px;
  font-size: 10.5px;
  letter-spacing: .3em;
  text-indent: .3em;
  color: rgba(246, 230, 205, .5);
}

/* ---------------------------------------------------------------- when */
.sec-when { background: linear-gradient(180deg, #f8f1e5, #f2e7d4); text-align: center; }

.datecard {
  display: flex;
  align-items: center;
  gap: clamp(12px, 4vw, 22px);
  margin-top: 34px;
  padding: clamp(20px, 5.4vw, 28px) clamp(14px, 4vw, 22px);
  background: linear-gradient(160deg, #fffdf7, #f7edda);
  border: 1px solid rgba(200, 161, 94, .28);
  box-shadow: 0 20px 46px -26px rgba(90, 60, 20, .45);
  text-align: left;
}
.dc-left { display: flex; flex-direction: column; align-items: center; flex: 0 0 auto; }
.dc-year { font-size: 10px; letter-spacing: .3em; color: var(--gold-dk); text-indent: .3em; }
.dc-big {
  font-size: clamp(30px, 9.4vw, 38px);
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--ink);
  line-height: 1.25;
  font-variant-numeric: tabular-nums;
}
.dc-big em { font-style: normal; color: var(--gold); padding: 0 1px; }
.dc-week { font-size: 10.5px; letter-spacing: .24em; color: var(--ink-soft); text-indent: .24em; }
.dc-sep { width: 1px; align-self: stretch; background: linear-gradient(180deg, transparent, rgba(200, 161, 94, .45), transparent); }
.dc-right { flex: 1; display: flex; flex-direction: column; gap: 9px; }
.dc-right p { display: flex; align-items: baseline; gap: 10px; font-size: 12.5px; }
.dc-right .k {
  flex: 0 0 auto;
  font-size: 9.5px;
  letter-spacing: .18em;
  color: #fff;
  background: linear-gradient(160deg, #c8a15e, #a87d3c);
  padding: 2px 7px;
  border-radius: 2px;
}
.dc-right .v { color: #3f3324; letter-spacing: .08em; }

.venue {
  margin-top: 22px;
  padding: clamp(26px, 6.6vw, 34px) clamp(16px, 4.4vw, 24px);
  border: 1px solid rgba(200, 161, 94, .22);
  background: rgba(255, 253, 247, .6);
  position: relative;
}
.venue .pin { color: var(--gold-dk); display: grid; place-items: center; margin-bottom: 10px; }
.venue h3 { font-size: clamp(15px, 4.4vw, 18px); font-weight: 600; letter-spacing: .12em; color: var(--ink); }
.venue-sub { margin-top: 8px; font-size: 11px; letter-spacing: .24em; text-indent: .24em; color: var(--ink-soft); }
.map-btns { display: flex; gap: 8px; justify-content: center; margin-top: 20px; flex-wrap: wrap; }
.btn-ghost {
  padding: 9px 16px;
  border: 1px solid rgba(154, 113, 50, .42);
  color: var(--gold-dk);
  font-size: 11.5px;
  letter-spacing: .12em;
  border-radius: 30px;
  transition: all .4s var(--ease);
  background: transparent;
  white-space: nowrap;
}
.btn-ghost:active { background: rgba(200, 161, 94, .12); transform: scale(.97); }

/* ---------------------------------------------------------------- rsvp */
.sec-rsvp {
  background: linear-gradient(180deg, #f2e7d4 0%, #f8f1e5 40%, #f5ecdc 100%);
  text-align: center;
}
.rsvp-glow {
  position: absolute;
  left: 50%; top: 30%;
  width: 130%; aspect-ratio: 1;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(200, 161, 94, .16), transparent 62%);
  z-index: 1;
  pointer-events: none;
}
.rsvp-card {
  margin-top: 30px;
  padding: clamp(22px, 6vw, 30px) clamp(18px, 5vw, 26px);
  background: linear-gradient(160deg, #fffdf7, #f8efdd);
  border: 1px solid rgba(200, 161, 94, .26);
  box-shadow: 0 26px 60px -34px rgba(90, 60, 20, .55);
  text-align: left;
}
.field { display: block; margin-bottom: 16px; }
.field > span { display: block; font-size: 10px; letter-spacing: .22em; color: var(--gold-dk); margin-bottom: 7px; }
.field input,
.field select {
  width: 100%;
  padding: 11px 12px;
  font-size: 13.5px;
  color: var(--ink);
  background: rgba(255, 255, 255, .7);
  border: 1px solid rgba(154, 113, 50, .22);
  border-radius: 2px;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.field select {
  background-image: linear-gradient(45deg, transparent 50%, var(--gold-dk) 50%), linear-gradient(135deg, var(--gold-dk) 50%, transparent 50%);
  background-position: calc(100% - 16px) 50%, calc(100% - 11px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}
.field input::placeholder { color: rgba(109, 92, 71, .5); }
.field input:focus,
.field select:focus { border-color: rgba(200, 161, 94, .8); box-shadow: 0 0 0 3px rgba(200, 161, 94, .12); }

.btn-solid {
  width: 100%;
  margin-top: 6px;
  padding: 13px;
  color: #fffaf0;
  font-size: 13px;
  letter-spacing: .3em;
  text-indent: .3em;
  border-radius: 2px;
  background: linear-gradient(120deg, #b98f4b 0%, #d9bd86 40%, #b98f4b 100%);
  background-size: 200% 100%;
  box-shadow: 0 12px 26px -14px rgba(120, 84, 30, .8);
  transition: background-position .7s var(--ease), transform .3s var(--ease);
}
.btn-solid:active { transform: scale(.985); background-position: 100% 0; }
.form-note { margin-top: 12px; font-size: 10px; letter-spacing: .06em; color: rgba(109, 92, 71, .72); text-align: center; }

.thanks {
  margin-top: 30px;
  padding: 34px 22px;
  border: 1px solid rgba(200, 161, 94, .3);
  background: linear-gradient(160deg, #fffdf7, #f7edda);
  animation: thanksIn .9s var(--ease-out) both;
}
@keyframes thanksIn {
  from { opacity: 0; transform: translateY(18px) scale(.97); filter: blur(6px); }
  to   { opacity: 1; transform: none; filter: none; }
}
.thanks-seal {
  width: 58px; height: 58px;
  margin: 0 auto 16px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(200, 161, 94, .5);
  color: var(--gold-dk);
  font-size: 26px;
  background: radial-gradient(circle at 50% 32%, #fffaf0, #f0e0c2);
  animation: pulse 2.6s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(200, 161, 94, .3); }
  50%      { box-shadow: 0 0 0 12px rgba(200, 161, 94, 0); }
}
.thanks-line { font-size: 15px; letter-spacing: .1em; color: var(--ink); line-height: 2; }
.thanks-sub { margin: 10px 0 18px; font-size: 10.5px; letter-spacing: .16em; color: var(--ink-soft); }

/* ---------------------------------------------------------------- footer */
.sec-foot {
  padding: 0 clamp(20px, 6vw, 32px) clamp(46px, 12vw, 68px);
  height: clamp(440px, 76svh, 600px);
  display: grid;
  align-items: end;
  justify-items: center;
  overflow: hidden;
  background: #120e09;
}
.foot-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; filter: brightness(.58) saturate(.9); }
.sec-foot::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 90px;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(180deg, #f5ecdc 0%, rgba(245, 236, 220, .55) 40%, rgba(245, 236, 220, 0) 100%);
}
.foot-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18, 14, 9, .95), rgba(18, 14, 9, .25) 40%, rgba(18, 14, 9, .92));
}
.foot-inner { position: relative; z-index: 2; text-align: center; color: #f6e9cf; }
.mono {
  width: 62px; height: 62px;
  margin: 0 auto 18px;
  border: 1px solid rgba(242, 223, 182, .5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  font-size: 17px;
  letter-spacing: .02em;
  color: #f4e3c2;
}
.mono i { font-style: italic; font-size: 12px; color: var(--gold); opacity: .9; }
.foot-names { font-size: 13px; letter-spacing: .34em; text-indent: .34em; color: rgba(246, 233, 207, .9); }
.foot-date { margin-top: 8px; font-size: 11px; letter-spacing: .3em; text-indent: .3em; color: rgba(242, 223, 182, .6); }
.foot-tip { margin-top: 26px; font-size: 9.5px; letter-spacing: .26em; text-indent: .26em; color: rgba(246, 233, 207, .34); }

/* ---------------------------------------------------------------- fixed ui */
.dust, .ember { pointer-events: none; }
.dust { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 40; mix-blend-mode: screen; }

.music {
  position: absolute;
  top: calc(env(safe-area-inset-top, 0px) + 14px);
  right: 16px;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(200, 161, 94, .42);
  background: rgba(24, 18, 12, .34);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #e8cf9f;
  display: grid;
  place-items: center;
  z-index: 92;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
body.revealed .music { opacity: 1; transform: none; }
.music .bars { display: none; gap: 2.5px; align-items: flex-end; height: 13px; }
.music .bars i { width: 2px; height: 100%; background: currentColor; border-radius: 2px; animation: eq 1.1s ease-in-out infinite; }
.music .bars i:nth-child(1) { animation-delay: 0s; height: 40%; }
.music .bars i:nth-child(2) { animation-delay: .18s; height: 100%; }
.music .bars i:nth-child(3) { animation-delay: .36s; height: 64%; }
@keyframes eq {
  0%, 100% { transform: scaleY(.4); }
  50%      { transform: scaleY(1); }
}
.music.playing .ico-note { display: none; }
.music.playing .bars { display: flex; }
.music.muted { color: rgba(232, 207, 159, .45); }

.confetti {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 200;
  display: block;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: calc(env(safe-area-inset-bottom, 0px) + 56px);
  transform: translate(-50%, 16px);
  padding: 10px 20px;
  border-radius: 30px;
  background: rgba(24, 18, 12, .88);
  border: 1px solid rgba(200, 161, 94, .35);
  color: #f4e3c2;
  font-size: 12px;
  letter-spacing: .1em;
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s var(--ease), transform .4s var(--ease);
  z-index: 210;
  white-space: nowrap;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------------------------------------------------------------- desktop */
@media (min-width: 640px) {
  body {
    background:
      radial-gradient(60% 50% at 50% 0%, #2a2016 0%, #14100b 70%),
      #14100b;
  }
  .app {
    box-shadow: 0 0 0 1px rgba(200, 161, 94, .16), 0 50px 140px rgba(0, 0, 0, .8);
  }
}

/* ---------------------------------------------------------------- motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .15s !important;
  }
  .reveal { opacity: 1; transform: none; filter: none; }
  html { scroll-behavior: auto; }
}

/* cover ornament */
.cover-orn {
  width: 44%;
  margin: 0 auto 12px;
  opacity: .9;
  color: var(--gold-lt);
}

/* light sweep when a section enters the viewport */
.sec > .sec-sheen {
  position: absolute;
  inset: 0;
  z-index: 6;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(102deg,
    transparent 32%, rgba(255, 247, 226, 0) 39%,
    rgba(255, 247, 226, .48) 48%, rgba(255, 252, 240, .82) 51%,
    rgba(255, 247, 226, .40) 54%, rgba(255, 247, 226, 0) 61%, transparent 68%);
  transform: translateX(-120%) skewX(-7deg);
  mix-blend-mode: screen;
}
.sec.in .sec-sheen { animation: sheenAcross 2.1s cubic-bezier(.35, .05, .3, 1) .12s 1 both; }
@keyframes sheenAcross {
  0%   { opacity: 0;  transform: translateX(-125%) skewX(-7deg); }
  16%  { opacity: .9; }
  72%  { opacity: .5; }
  100% { opacity: 0;  transform: translateX(125%) skewX(-7deg); }
}

/* cover entrance */
html.js .cover-top, html.js .cover-mid, html.js .cover-bot { opacity: 0; }
html.loaded .cover-top { animation: riseIn 1.1s var(--ease-out) .15s both; }
html.loaded .cover-mid { animation: riseIn 1.5s var(--ease-out) .45s both; }
html.loaded .cover-bot { animation: riseIn 1.4s var(--ease-out) .75s both; }
@keyframes riseIn {
  from { opacity: 0; transform: translate3d(0, 26px, 0); filter: blur(12px); }
  to   { opacity: 1; transform: none; filter: none; }
}

/* desktop backdrop texture */
@media (min-width: 640px) {
  body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
      radial-gradient(52% 42% at 50% 22%, rgba(200, 161, 94, .10), transparent 72%),
      repeating-linear-gradient(90deg, rgba(200, 161, 94, .05) 0 1px, transparent 1px 132px),
      repeating-linear-gradient(0deg, rgba(200, 161, 94, .035) 0 1px, transparent 1px 132px);
  }
  .app { position: relative; z-index: 1; }
}

/* ============================ 真实地图 ============================ */
.venue {
  padding: 0 0 22px;
  overflow: hidden;
  background: linear-gradient(180deg, #fffdf7, #f8efdd);
}
.venue-map {
  position: relative;
  height: clamp(206px, 56vw, 248px);
  background:
    radial-gradient(120% 90% at 50% 40%, #efe4cf, #e2d4ba);
  cursor: pointer;
  overflow: hidden;
}
.venue-map::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(154, 113, 50, .16), inset 0 -28px 40px -20px rgba(60, 40, 16, .35);
  z-index: 500;
}
.map-canvas { position: absolute; inset: 0; z-index: 1; }
.map-canvas .leaflet-tile-pane { filter: saturate(.62) sepia(.10) contrast(.98) brightness(1.03); }
.map-canvas.leaflet-container { background: #e8dcc4; font-family: var(--serif); }

.map-hint {
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  z-index: 600;
  padding: 5px 13px;
  border-radius: 30px;
  background: rgba(20, 15, 10, .58);
  border: 1px solid rgba(242, 223, 182, .28);
  color: #f4e3c2;
  font-size: 10px;
  letter-spacing: .16em;
  white-space: nowrap;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  pointer-events: none;
  animation: hintPulse 3.2s ease-in-out infinite;
}
@keyframes hintPulse {
  0%, 100% { opacity: .72; }
  50%      { opacity: 1; }
}
.map-loading {
  position: absolute;
  inset: 0;
  z-index: 550;
  display: grid;
  place-items: center;
  font-size: 11px;
  letter-spacing: .2em;
  color: rgba(90, 70, 44, .55);
  transition: opacity .6s ease;
  pointer-events: none;
}
.map-canvas.map-ready ~ .map-loading,
.map-loading.hide { opacity: 0; }

.venue-pin { background: none; border: 0; }
.pin-wrap { position: relative; display: block; width: 26px; height: 26px; }
.pin-pulse {
  position: absolute;
  left: 50%; top: 50%;
  width: 26px; height: 26px;
  margin: -13px 0 0 -13px;
  border-radius: 50%;
  background: rgba(200, 161, 94, .35);
  animation: pinPulse 2.6s ease-out infinite;
}
@keyframes pinPulse {
  0%   { transform: scale(.4); opacity: .85; }
  70%  { transform: scale(2.2); opacity: 0; }
  100% { transform: scale(2.2); opacity: 0; }
}
.pin-mark {
  position: absolute;
  left: 3px; top: 2px;
  width: 20px; height: 20px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  background: linear-gradient(145deg, #f1dbb0, #b98f4b 62%, #8f6a30);
  border: 1.5px solid #fff8e8;
  box-shadow: 0 4px 12px rgba(40, 24, 8, .45);
}
.pin-mark::after {
  content: '';
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  background: #402f1c;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, .6);
}

.venue h3, .venue-sub, .venue-hall { padding: 0 clamp(16px, 4.6vw, 22px); }
.venue-hall {
  margin-top: 7px;
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--gold-dk);
}
.venue h3 { margin-top: 18px; }
.map-btns { padding: 0 14px; }
.map-btns .btn-ghost { flex: 1; padding: 9px 4px; text-align: center; font-size: 11.5px; }
.copy-addr {
  display: block;
  margin: 13px auto 0;
  padding: 4px 6px;
  font-size: 10.5px;
  letter-spacing: .16em;
  color: rgba(109, 92, 71, .75);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: rgba(154, 113, 50, .45);
}

/* ============================ 地图 App 选择 ============================ */
.sheet { position: absolute; inset: 0; z-index: 130; display: flex; align-items: flex-end; }
.sheet[hidden] { display: none; }
.sheet-mask {
  position: absolute;
  inset: 0;
  background: rgba(12, 9, 6, .5);
  opacity: 0;
  transition: opacity .36s var(--ease);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
.sheet-body {
  position: relative;
  width: 100%;
  padding: 20px 16px calc(16px + env(safe-area-inset-bottom, 0px));
  border-radius: 20px 20px 0 0;
  background: linear-gradient(180deg, #fffdf8, #f6ecda);
  box-shadow: 0 -24px 60px rgba(0, 0, 0, .38);
  transform: translateY(102%);
  transition: transform .46s var(--ease-out);
}
.sheet.open .sheet-mask { opacity: 1; }
.sheet.open .sheet-body { transform: none; }
.sheet-eyebrow { font-size: 9px; letter-spacing: .44em; text-indent: .44em; color: var(--gold-dk); text-align: center; }
.sheet-title { margin: 8px 0 16px; font-size: 14px; letter-spacing: .08em; text-align: center; color: var(--ink); }
.sheet-list { display: flex; flex-direction: column; gap: 8px; }
.sheet-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(154, 113, 50, .18);
  background: #fffdf8;
  border-radius: 8px;
  font-size: 14px;
  letter-spacing: .1em;
  color: #3f3324;
  transition: background .3s var(--ease), transform .2s var(--ease);
}
.sheet-item:active { background: #f6ead2; transform: scale(.99); }
.sheet-item em {
  font-style: normal;
  font-size: 9px;
  letter-spacing: .14em;
  color: #b98f4b;
  border: 1px solid rgba(185, 143, 75, .5);
  border-radius: 20px;
  padding: 2px 8px;
}
.sheet-cancel {
  width: 100%;
  margin-top: 10px;
  padding: 13px;
  font-size: 12.5px;
  letter-spacing: .24em;
  color: #8a7a63;
}

/* ============================ 点击翻页示意 ============================ */
.pager { position: absolute; inset: 0; pointer-events: none; z-index: 88; opacity: 0; transition: opacity .8s var(--ease); }
body.revealed .pager { opacity: 1; }
.pg-dot {
  position: absolute;
  left: 50%;
  width: 9px;
  height: 9px;
  border-right: 1px solid rgba(200, 161, 94, .8);
  border-bottom: 1px solid rgba(200, 161, 94, .8);
  transform: translateX(-50%) rotate(45deg);
  opacity: 0;
  transition: opacity .5s var(--ease);
}
.pg-down { bottom: 14px; }
.pg-up { top: 12px; transform: translateX(-50%) rotate(-135deg); }
.pager.has-prev .pg-up { opacity: .55; }
.pager.has-next .pg-down { opacity: .55; animation: pgBounce 2.6s ease-in-out infinite; }
@keyframes pgBounce {
  0%, 100% { transform: translateX(-50%) rotate(45deg) translate(0, 0); opacity: .28; }
  50%      { transform: translateX(-50%) rotate(45deg) translate(4px, 4px); opacity: .7; }
}

/* 微信分享缩略图占位（离屏，不影响布局） */
.wx-thumb {
  position: absolute;
  left: -9999px;
  top: 0;
  width: 300px;
  height: 300px;
  opacity: 0.01;
  pointer-events: none;
}
