/* ============================================================
   山野有信 · 程锐鸿 & 魏媛
   17 页电影版 · 火漆启封 · 全出血 / 双联
   ============================================================ */
@font-face{font-family:'ShanYeSerif';src:url(fonts/sy-400.woff2) format('woff2');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'ShanYeSerif';src:url(fonts/sy-700.woff2) format('woff2');font-weight:700;font-style:normal;font-display:swap}
@font-face{font-family:'Cormorant';src:url(fonts/cormorant-500.woff2) format('woff2');font-weight:500;font-style:normal;font-display:swap}

*{margin:0;padding:0;box-sizing:border-box;-webkit-tap-highlight-color:transparent}
:root{
  --ink:#0C0C0D;
  --cream:#EDE6DA;
  --gold:#C8A45C;
  --gold2:#8C6B2F;
  --seal:#A63D2F;
  --mist:#A9B4B8;
  --ease:cubic-bezier(.16,1,.3,1);
  --serif:"ShanYeSerif","Songti SC","Source Han Serif SC","Noto Serif SC",STSong,serif;
  --num:"Cormorant","Didot","Bodoni 72","Times New Roman",serif;
  --sans:-apple-system,BlinkMacSystemFont,"PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif;
  --safe-t:env(safe-area-inset-top,0px);
  --safe-b:env(safe-area-inset-bottom,0px);
}
html,body{height:100%;overflow:hidden;background:#000}
body{
  color:var(--cream);font-family:var(--sans);
  overscroll-behavior:none;-webkit-font-smoothing:antialiased;
  -webkit-text-size-adjust:100%;
}
img{display:block}
button{font:inherit;color:inherit;background:none;border:0;cursor:pointer}
.serif{font-family:var(--serif)}
.num{font-family:var(--num);font-variant-numeric:lining-nums;font-feature-settings:"lnum" 1}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* ---------- 画布与翻页 ---------- */
#book{
  position:fixed;inset:0;margin:0 auto;max-width:520px;
  height:100dvh;max-height:100dvh;
  background:var(--ink);overflow:hidden;
  perspective:1400px;perspective-origin:50% 42%;
}
.page{
  position:absolute;inset:0;
  padding:calc(var(--safe-t) + 40px) 26px calc(var(--safe-b) + 82px);
  opacity:0;visibility:hidden;
  transform:translateY(var(--enter,12vh)) rotateX(var(--rx,6deg)) scale(var(--sc,.97));
  transform-origin:50% 100%;
  transition:opacity .84s var(--ease),transform .84s var(--ease),visibility 0s .84s;
  will-change:transform,opacity;backface-visibility:hidden;
  overflow:hidden;
}
.page.is-active{
  opacity:1;visibility:visible;transform:none;
  transition:opacity .84s var(--ease),transform .84s var(--ease),visibility 0s;
  z-index:2;
}
.page.is-out{
  visibility:visible;opacity:0;
  transform:translateY(var(--exit,-10vh)) rotateX(var(--rxo,-4deg)) scale(.95);
  transition:opacity .84s var(--ease),transform .84s var(--ease);
  z-index:1;
}
.p01,.p02,.p18{padding:0}

.bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 50%}
.scrim,.vignette{position:absolute;inset:0;pointer-events:none}
.vignette{background:radial-gradient(ellipse at 50% 42%,transparent 38%,rgba(0,0,0,.5) 100%)}

/* ---------- 图片：不裁切、不重叠 ---------- */
.ph{position:relative;display:flex;align-items:center;justify-content:center;min-width:0;min-height:0;
  width:fit-content;max-width:min(100vw,520px);margin:0;overflow:hidden;background:#101012}
.ph img{
  display:block;width:auto;height:auto;max-width:min(100vw,520px);max-height:52vh;
  border:1px solid rgba(237,230,218,.2);
  background:#101012;
  box-shadow:0 14px 38px rgba(0,0,0,.38);
}
.ph.wide img{max-height:40vh}
.ph.land img{max-height:26vh}
.ph.tall img{max-height:40vh}

img.lazy{opacity:0;transition:opacity .6s var(--ease)}
img.loaded{opacity:1}

/* ---------- 入场 ---------- */
[data-reveal]{
  opacity:0;transform:translateY(22px);filter:blur(6px);
  transition:opacity .9s var(--ease),transform .9s var(--ease),filter .9s var(--ease);
}
.page.is-active [data-reveal]{opacity:1;transform:none;filter:none}
[data-delay="1"]{transition-delay:.12s}
[data-delay="2"]{transition-delay:.24s}
[data-delay="3"]{transition-delay:.36s}

/* ---------- 通用文字 ---------- */
.head{
  display:flex;justify-content:space-between;align-items:baseline;gap:12px;
  font-size:8.5px;letter-spacing:.28em;color:rgba(237,230,218,.48);
  flex:none;
}
.head .ch{color:var(--gold);font-size:9px;letter-spacing:.22em}
.head .en{font-size:7.5px;letter-spacing:.26em;white-space:nowrap}
.big{
  font-family:var(--serif);font-weight:400;
  font-size:clamp(18px,2.45vh,22px);line-height:1.9;letter-spacing:.07em;
}
.kicker{display:block;font-size:8.5px;letter-spacing:.32em;color:var(--gold);margin-bottom:14px}
.sub{display:block;font-size:8.5px;letter-spacing:.1em;color:rgba(237,230,218,.5);margin-top:12px;line-height:1.9}
.seal{
  display:grid;place-items:center;border:1px solid rgba(166,61,47,.9);border-radius:50%;
  color:var(--seal);font-family:var(--serif);background:rgba(12,12,13,.12);
  width:50px;height:50px;font-size:20px;transform:rotate(-6deg);
}

/* ============================================================
   01 启封
   ============================================================ */
.p01{background:#0B0B0C}
.entry-bg{
  position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:45% 48%;
  filter:brightness(.42) saturate(.9) blur(2px);transform:scale(1.04);
  transition:filter 1.8s ease,transform 2s ease;
}
.p01.opening .entry-bg{filter:brightness(.85) saturate(.98) blur(0);transform:scale(1)}
.entry-scrim{
  position:absolute;inset:0;
  background:linear-gradient(180deg,rgba(0,0,0,.55) 0%,rgba(0,0,0,.18) 42%,rgba(0,0,0,.72) 100%),
             radial-gradient(ellipse at 50% 45%,rgba(0,0,0,.05) 25%,rgba(0,0,0,.5) 100%);
}
.entry-inner{
  position:absolute;inset:0;display:flex;align-items:center;justify-content:center;
  padding:calc(var(--safe-t) + 18px) 20px calc(var(--safe-b) + 26px);
}
.letter{
  position:relative;width:min(88vw,332px);padding:26px 22px 20px;
  background:linear-gradient(155deg,rgba(20,18,16,.93),rgba(9,9,10,.88));
  border:1px solid rgba(200,164,92,.42);
  box-shadow:0 30px 80px rgba(0,0,0,.65),inset 0 0 40px rgba(200,164,92,.04);
  text-align:center;
  animation:letterIn .95s var(--ease) both;
}
@keyframes letterIn{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:none}}
.letter::before{content:"";position:absolute;inset:5px;border:1px solid rgba(200,164,92,.15);pointer-events:none}
.letter-brand{font-size:7.5px;letter-spacing:.34em;color:rgba(237,230,218,.62);line-height:1.9}
.letter-brand em{display:block;font-family:var(--num);font-style:normal;font-size:8px;letter-spacing:.28em;color:rgba(237,230,218,.38)}
.postmark{
  position:absolute;top:14px;right:14px;border:1px solid rgba(200,164,92,.45);
  padding:4px 6px;font-size:6.5px;letter-spacing:.12em;color:rgba(200,164,92,.78);
  transform:rotate(-7deg);line-height:1.5;
}
.postmark em{display:block;font-family:var(--num);font-style:normal;font-size:6px;letter-spacing:.06em;color:rgba(200,164,92,.55)}
.letter-names{font-family:var(--serif);font-size:24px;letter-spacing:.12em;margin-top:20px;text-shadow:0 2px 18px rgba(0,0,0,.6)}
.letter-names .amp{display:inline-block;margin:0 8px;color:var(--gold);font-size:18px;vertical-align:1px}
.letter-invite{font-size:8px;letter-spacing:.24em;color:rgba(237,230,218,.55);margin-top:9px}
.letter-rule{height:1px;width:58%;margin:16px auto;background:linear-gradient(90deg,transparent,rgba(200,164,92,.7),transparent)}
.letter-date{font-family:var(--num);font-size:30px;letter-spacing:.06em;line-height:1;font-variant-numeric:lining-nums;font-feature-settings:"lnum" 1}
.letter-week{font-size:8.5px;letter-spacing:.18em;color:rgba(237,230,218,.6);margin-top:8px}
.letter-meta{display:flex;flex-direction:column;gap:5px;font-size:9px;letter-spacing:.14em;color:rgba(237,230,218,.8);margin-top:15px}
.seal-btn{display:flex;flex-direction:column;align-items:center;margin:18px auto 0;padding:0;border:0;background:none;cursor:pointer}
.entry-seal{width:52px;height:52px;font-size:21px;transition:transform .2s ease}
.seal-btn:active .entry-seal{transform:scale(.94)}
.seal-hint{font-size:7.5px;letter-spacing:.24em;color:rgba(200,164,92,.78);margin-top:9px}
.p01.opening .entry-seal{animation:sealPress .55s cubic-bezier(.2,.9,.3,1.2)}
@keyframes sealPress{
  0%{transform:scale(1.35) rotate(-14deg)}
  60%{transform:scale(.94) rotate(-5deg)}
  100%{transform:scale(1) rotate(-6deg)}
}

/* ============================================================
   02 封面
   ============================================================ */
.p02 .bg{object-position:45% 48%;filter:saturate(.98) contrast(1.02)}
.p02 .scrim{background:linear-gradient(180deg,rgba(8,8,9,.62) 0%,rgba(8,8,9,.06) 32%,rgba(8,8,9,.1) 52%,rgba(8,8,9,.9) 100%),linear-gradient(90deg,transparent 52%,rgba(8,8,9,.34) 100%)}
.brand{
  position:absolute;top:calc(var(--safe-t) + 58px);left:26px;
  font-size:8.5px;letter-spacing:.34em;color:rgba(237,230,218,.72);line-height:2;
}
.brand em{
  display:block;font-style:normal;font-family:var(--num);
  font-size:9px;letter-spacing:.3em;color:rgba(237,230,218,.5);margin-top:4px;
}
.names{
  position:absolute;top:calc(var(--safe-t) + 120px);left:26px;
  font-family:var(--serif);font-size:23px;letter-spacing:.14em;
  text-shadow:0 2px 20px rgba(0,0,0,.55);
}
.names .amp{
  display:inline-block;margin:0 11px;font-family:var(--serif);font-size:21px;
  color:var(--gold);vertical-align:1px;letter-spacing:0;
}
.title-vert{
  position:absolute;top:calc(var(--safe-t) + 92px);right:30px;
  writing-mode:vertical-rl;text-orientation:upright;
  font-family:var(--serif);font-weight:400;
  font-size:clamp(46px,6.4vh,54px);letter-spacing:.2em;line-height:1.12;
  text-shadow:0 2px 4px rgba(0,0,0,.55),0 10px 36px rgba(0,0,0,.62);
}
.title-vert::before{content:"";position:absolute;right:-14px;top:6px;width:1px;height:72px;background:rgba(200,164,92,.55)}
.p02 .date{
  font-variant-numeric:lining-nums;font-feature-settings:"lnum" 1;
  position:absolute;left:26px;bottom:calc(var(--safe-b) + 128px);
  font-family:var(--num);font-size:clamp(32px,4.6vh,38px);letter-spacing:.045em;line-height:1;
  text-shadow:0 2px 20px rgba(0,0,0,.45);
}
.p02 .date small{
  display:block;font-family:var(--sans);font-size:9px;letter-spacing:.18em;
  color:rgba(237,230,218,.66);margin-top:14px;
}
.p02 .seal{position:absolute;right:28px;bottom:calc(var(--safe-b) + 150px)}
.cover-hint{
  position:absolute;left:0;right:0;bottom:calc(var(--safe-b) + 76px);text-align:center;
  font-size:9px;letter-spacing:.34em;color:rgba(237,230,218,.46);
}
.cover-hint b{display:block;font-weight:400;font-size:12px;letter-spacing:0;margin-bottom:5px;color:rgba(200,164,92,.75)}

/* ============================================================
   章节页（无裁切大图 + 竖排标题）
   ============================================================ */
.chapterpage{display:flex;flex-direction:column}
.c-body{
  flex:1;display:flex;align-items:center;justify-content:center;gap:12px;
  min-height:0;margin:10px 0;
}
.c-body .ph{flex:none}
.c-body .ph img{max-height:52vh;max-width:calc(100% - 52px);border:1px solid rgba(237,230,218,.22)}
.c-side{
  flex:none;width:40px;align-self:stretch;
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;
}
.vtitle{
  writing-mode:vertical-rl;text-orientation:upright;
  font-family:var(--serif);font-size:clamp(30px,4.6vh,40px);
  letter-spacing:.22em;line-height:1.2;text-shadow:0 4px 26px rgba(0,0,0,.55);
}
.chap-en{
  writing-mode:vertical-rl;text-orientation:upright;
  font-size:7px;letter-spacing:.3em;color:rgba(200,164,92,.65);
}
.chap-copy{flex:none;padding-top:2px;margin-bottom:16px}
.chap-copy .big{font-size:clamp(18px,2.5vh,23px);line-height:1.9;max-width:96%}

/* ============================================================
   内容页（居中相册）
   ============================================================ */
.contentpage{display:flex;flex-direction:column}
.stage{
  flex:1;display:flex;flex-direction:column;justify-content:center;
  gap:14px;min-height:0;
}
.duo{display:flex;gap:12px;align-items:flex-start;justify-content:center}
.duo .ph{flex:1;min-width:0}
.duo .ph img{width:100%;max-height:none;max-width:100%}
.duo-land .ph img{width:100%;max-height:none}
.stack{display:flex;flex-direction:column;align-items:center;gap:14px}
.stack .ph img{max-height:26vh}
.prose{flex:none}
.prose .big{font-size:clamp(17px,2.4vh,22px);line-height:1.9;letter-spacing:.06em}
.prose .sub{max-width:96%}

/* 15 誓言：横图 + 竖图 + 文字 */
.p15 .ph.wide img{max-height:28vh}
.p15 .ph.portrait img{max-height:30vh}

/* 16 此刻 */
.p16 .ph.tall img{max-height:40vh}
.p16 .ph.wide img{max-height:24vh}

/* ============================================================
   17 喜宴
   ============================================================ */
.feast{
  display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;
  padding:calc(var(--safe-t) + 26px) 24px calc(var(--safe-b) + 84px);
}
.frame{position:absolute;inset:calc(var(--safe-t) + 52px) 22px calc(var(--safe-b) + 76px);border:1px solid rgba(200,164,92,.45);pointer-events:none}
.frame::before{content:"";position:absolute;inset:6px;border:1px solid rgba(200,164,92,.18)}
.feast-inner{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center}
.feast-seal{width:46px;height:46px;font-size:18px;margin-bottom:24px}
.feast .k{font-size:8.5px;letter-spacing:.42em;color:rgba(237,230,218,.62)}
.feast-date{font-size:clamp(21px,3.2vh,26px);letter-spacing:.06em;margin-top:14px}
.week{font-size:9.5px;letter-spacing:.2em;color:rgba(237,230,218,.58);margin-top:12px}
.feast-time{font-size:12px;letter-spacing:.16em;margin-top:24px;display:flex;align-items:baseline;gap:10px;color:rgba(237,230,218,.85)}
.feast-time .num{font-size:30px;color:var(--gold);letter-spacing:.04em}
.feast-time small{font-size:8px;letter-spacing:.18em;color:rgba(237,230,218,.45)}
.venue{font-size:clamp(17px,2.35vh,20px);margin-top:22px;letter-spacing:.1em}
.feast-line{font-size:9px;letter-spacing:.12em;color:rgba(237,230,218,.55);margin-top:20px}
.countdown{font-size:9px;letter-spacing:.16em;color:var(--gold);margin-top:24px}
.countdown b{font-family:var(--num);font-variant-numeric:lining-nums;font-feature-settings:"lnum" 1;font-size:15px;font-weight:400;margin:0 4px;letter-spacing:.06em}

/* ============================================================
   18 尾声
   ============================================================ */
.p18{
  display:flex;flex-direction:column;
  padding:calc(var(--safe-t) + 44px) 26px calc(var(--safe-b) + 84px);
  background:radial-gradient(ellipse at 50% 105%,rgba(140,107,47,.16) 0%,rgba(12,12,13,0) 62%);
}
.f-head{position:relative;z-index:2;font-size:8.5px;letter-spacing:.32em;color:var(--gold);flex:none}
.f-stage{
  flex:1;display:flex;flex-direction:column;justify-content:center;align-items:center;
  gap:26px;min-height:0;padding-top:10px;
}
.p18 .ph.wide img{max-height:30vh}
.f-body{position:relative;flex:none;width:100%;padding-right:76px}
.f-title{font-size:clamp(24px,3.7vh,31px);letter-spacing:.12em;line-height:1.4;text-shadow:0 3px 26px rgba(0,0,0,.7)}
.f-sig{font-size:10px;letter-spacing:.18em;color:rgba(237,230,218,.82);margin-top:20px}
.f-date{font-size:13px;letter-spacing:.14em;color:var(--gold);margin-top:9px}
.f-seal{position:absolute;right:0;top:52px;width:38px;height:38px;font-size:15px}
.f-note{font-size:8.5px;letter-spacing:.1em;line-height:2.05;color:rgba(237,230,218,.45);margin-top:18px}
.f-side{
  position:absolute;right:28px;bottom:calc(var(--safe-b) + 112px);
  writing-mode:vertical-rl;text-orientation:upright;
  font-size:8px;letter-spacing:.38em;color:rgba(237,230,218,.42);z-index:2;
}
.f-end{
  position:absolute;left:0;right:0;bottom:calc(var(--safe-b) + 52px);text-align:center;
  font-size:7.5px;letter-spacing:.26em;color:rgba(237,230,218,.4);z-index:2;
}

/* ============================================================
   右上控制：声音 / 自动翻页
   ============================================================ */
#controls{
  position:fixed;left:50%;transform:translateX(-50%);
  top:calc(var(--safe-t) + 8px);
  width:min(100vw,520px);padding-right:10px;
  display:flex;justify-content:flex-end;gap:6px;
  z-index:70;pointer-events:none;transition:opacity .4s ease;
}
body.gate #autoToggle{display:none}
.ctrl{
  pointer-events:auto;width:28px;height:28px;border-radius:50%;
  display:grid;place-items:center;
  border:1px solid rgba(237,230,218,.2);
  background:rgba(12,12,13,.38);
  -webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);
  color:rgba(237,230,218,.72);opacity:.55;
  transition:opacity .2s ease,color .2s ease,border-color .2s ease;
}
.ctrl:hover,.ctrl:focus-visible{opacity:1}
.ctrl svg{width:15px;height:15px;display:block}
.ctrl .ic-off,.ctrl .ic-play{display:none}
#soundToggle.muted .ic-on{display:none}
#soundToggle.muted .ic-off{display:block}
#soundToggle.muted{color:rgba(200,164,92,.9)}
#autoToggle.paused .ic-pause{display:none}
#autoToggle.paused .ic-play{display:block}
#autoToggle.paused{color:rgba(200,164,92,.9)}
body.at-end #autoToggle{display:none}

/* ---------- 光带翻页特效 ---------- */
#sweep{
  position:fixed;left:50%;transform:translateX(-50%);
  width:min(100vw,520px);top:-2%;height:1px;z-index:65;
  background:linear-gradient(90deg,transparent,rgba(200,164,92,.65),transparent);
  box-shadow:0 0 22px rgba(200,164,92,.32);
  opacity:0;pointer-events:none;
}
#sweep.run{animation:sweepLine .9s cubic-bezier(.22,1,.36,1)}
#sweep.rev{animation-direction:reverse}
@keyframes sweepLine{
  0%{top:-2%;opacity:0}
  14%{opacity:.9}
  100%{top:102%;opacity:0}
}

/* ============================================================
   全局进度与提示
   ============================================================ */
#chrome{
  position:fixed;left:50%;transform:translateX(-50%);bottom:0;
  width:min(100vw,520px);z-index:60;
  display:flex;align-items:center;gap:14px;
  padding:0 26px calc(var(--safe-b) + 22px);
  pointer-events:none;transition:opacity .4s ease;
}
body.gate #chrome{opacity:0}
body.gate #hint{display:none}
#chrome .bar{display:flex;gap:3px;flex:1}
#chrome .bar i{flex:1;height:1px;background:rgba(237,230,218,.14);transition:background .3s ease}
#chrome .bar i.past{background:rgba(237,230,218,.45)}
#chrome .bar i.on{background:var(--gold)}
#chrome .count{font-family:var(--num);font-size:10px;letter-spacing:.12em;color:rgba(237,230,218,.55);white-space:nowrap}
#hint{
  position:fixed;left:50%;transform:translateX(-50%);bottom:calc(var(--safe-b) + 58px);
  width:min(100vw,520px);text-align:center;z-index:61;pointer-events:none;
  font-size:8.5px;letter-spacing:.3em;color:rgba(237,230,218,.5);
  opacity:0;transition:opacity .45s ease;
}
#hint.show{opacity:1}
#hint b{font-weight:400;color:rgba(200,164,92,.8);margin-right:4px}


/* ============================================================
   旧版 24 页样式（已停用）
   ============================================================ */
.chapterpage{justify-content:center;align-items:center}
.chead{width:100%}
.chead{display:flex;align-items:center;gap:14px;flex:none;margin-bottom:14px}
.cnum{
  font-family:var(--num);font-size:46px;line-height:.9;letter-spacing:-.02em;
  color:transparent;-webkit-text-stroke:1px rgba(200,164,92,.62);
}
.ct{display:flex;flex-direction:column;gap:3px}
.ctitle{font-size:20px;letter-spacing:.18em}
.cen{font-size:7px;letter-spacing:.3em;color:rgba(200,164,92,.68)}
.chapterpage .ph{flex:none}
.chapterpage .ph img{max-height:60vh;max-width:min(100vw,520px)}
.chapterpage .prose{margin-top:14px}

.portraitpage,.duopage,.singlepage{display:flex;flex-direction:column}
.pstage{flex:1;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:14px;min-height:0}
.pstage .head{width:100%}
.portraitpage .ph img{max-height:67vh;max-width:min(100vw,520px)}
.duopage .ph img{max-height:32vh;max-width:min(100vw,520px)}
.singlepage .ph img{max-height:60vh;max-width:min(100vw,520px)}
.portraitpage .prose,.duopage .prose,.singlepage .prose{flex:none}


/* ============================================================
   高级感增强：暗房显影 / 烫金 / 落印 / 自动进度环 / 纸张
   ============================================================ */
.ph::before{
  content:"";position:absolute;inset:-10px;z-index:0;pointer-events:none;
  background-image:var(--lqip);background-size:cover;background-position:center;
  filter:blur(14px) saturate(1.08);transform:scale(1.05);opacity:.9;
  transition:opacity 1s ease .25s;
}
.page.is-active .ph::before{opacity:0}
.ph img{position:relative;z-index:1}
.page.is-active .ph img{animation:imgIn 1.05s var(--ease) both}
@keyframes imgIn{from{opacity:0}to{opacity:1}}
.ph::after{
  content:"";position:absolute;inset:0;z-index:2;pointer-events:none;
  background:linear-gradient(105deg,transparent 34%,rgba(255,241,214,.16) 46%,rgba(255,255,255,.05) 50%,transparent 62%);
  transform:translateX(-130%);mix-blend-mode:screen;
}
.page.is-active .ph::after{animation:sheen 1.55s ease .3s both}
@keyframes sheen{0%{transform:translateX(-130%)}100%{transform:translateX(130%)}}

.foil{
  background:linear-gradient(100deg,#8C6B2F 0%,#C8A45C 18%,#F6E3B4 38%,#C8A45C 58%,#8C6B2F 80%,#C8A45C 100%);
  background-size:220% 100%;
  -webkit-background-clip:text;background-clip:text;
  color:transparent;-webkit-text-fill-color:transparent;
  animation:foilMove 11s linear infinite;
  filter:drop-shadow(0 1px 1px rgba(0,0,0,.35));
}
@keyframes foilMove{0%{background-position:0% 50%}100%{background-position:220% 50%}}
.title-vert.foil{
  background:linear-gradient(180deg,#8C6B2F 0%,#C8A45C 20%,#F6E3B4 38%,#C8A45C 58%,#8C6B2F 80%,#C8A45C 100%);
  background-size:100% 220%;text-shadow:none;
  animation:foilMoveV 11s linear infinite;
}
@keyframes foilMoveV{0%{background-position:50% 0%}100%{background-position:50% 220%}}
@supports not ((-webkit-background-clip:text) or (background-clip:text)){
  .foil{background:none;color:var(--cream);-webkit-text-fill-color:var(--cream);animation:none;filter:none}
}

.page.is-active .f-seal{animation:stampIn .72s cubic-bezier(.2,.9,.3,1.15) 1.25s both}
@keyframes stampIn{
  0%{opacity:0;transform:scale(1.45) rotate(-14deg);filter:blur(3px)}
  55%{opacity:1;transform:scale(.94) rotate(-5deg);filter:blur(0)}
  100%{opacity:1;transform:scale(1) rotate(-6deg);filter:blur(0)}
}
.f-seal::after{content:"";position:absolute;inset:-6px;border:1px solid rgba(166,61,47,.4);border-radius:50%;opacity:0}
.page.is-active .f-seal::after{animation:dustRing 1s ease 1.3s both}
@keyframes dustRing{0%{opacity:.7;transform:scale(.9)}100%{opacity:0;transform:scale(1.65)}}

#autoToggle{position:relative;overflow:visible}
.auto-ring{position:absolute;inset:-4px;width:36px;height:36px;transform:rotate(-90deg);pointer-events:none;opacity:0;transition:opacity .3s ease}
.auto-ring circle{fill:none;stroke:rgba(200,164,92,.85);stroke-width:1;stroke-dasharray:100;stroke-dashoffset:0}
.auto-ring.run{opacity:1}
.auto-ring.run circle{animation:ringDeplete var(--dur,7s) linear forwards}
.auto-ring.paused circle{animation-play-state:paused}
@keyframes ringDeplete{from{stroke-dashoffset:0}to{stroke-dashoffset:100}}

#grain{position:fixed;inset:0;z-index:55;pointer-events:none;opacity:.045;mix-blend-mode:overlay;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.75'/%3E%3C/svg%3E");
  animation:grainShift 9s steps(5) infinite;
}
@keyframes grainShift{
  0%{transform:translate(0,0)}20%{transform:translate(-4px,3px)}40%{transform:translate(3px,-5px)}
  60%{transform:translate(-2px,-3px)}80%{transform:translate(5px,2px)}100%{transform:translate(0,0)}
}
#leak{position:fixed;inset:0;z-index:54;pointer-events:none;opacity:.7;mix-blend-mode:screen;
  background:radial-gradient(ellipse at 82% 0%,rgba(200,164,92,.09),transparent 52%),
             radial-gradient(ellipse at 8% 92%,rgba(255,198,150,.05),transparent 50%);
  animation:leakMove 26s ease-in-out infinite alternate;
}
@keyframes leakMove{0%{opacity:.45;transform:scale(1)}100%{opacity:.8;transform:scale(1.04)}}
#frame{position:fixed;inset:10px;z-index:56;border:1px solid rgba(200,164,92,.15);pointer-events:none}
body.feast #frame{opacity:0}

/* ============================================================
   适配
   ============================================================ */
@media (max-height:740px){
  .portraitpage .ph img{max-height:62vh}
  .chapterpage .ph img{max-height:54vh}
  .duopage .ph img{max-height:30vh}
  .singlepage .ph img{max-height:50vh}
  .cnum{font-size:40px}
  .ctitle{font-size:18px}
  .chapterpage .c-body .ph img{max-height:46vh}
  .ph.land img,.stack .ph img{max-height:24vh}
  .ph.wide img{max-height:34vh}
  .p16 .ph.tall img{max-height:34vh}
  .p16 .ph.wide img{max-height:22vh}
  .p18 .ph.wide img{max-height:26vh}
  .p15 .ph.wide img{max-height:26vh}
  .p15 .ph.portrait img{max-height:28vh}
  .prose .big{font-size:17px}
  .chap-copy .big{font-size:17px}
  .f-title{font-size:25px}
  .f-sig{margin-top:15px}
  .f-note{margin-top:14px}
  .f-stage{gap:18px}
  .p02 .date{font-size:32px;bottom:calc(var(--safe-b) + 120px)}
  .p02 .seal{bottom:calc(var(--safe-b) + 142px)}
  .f-seal{display:none}
}
@media (max-height:660px){
  .letter{padding:22px 18px 16px}
  .letter-names{font-size:21px;margin-top:14px}
  .letter-date{font-size:26px}
  .letter-meta{margin-top:11px;font-size:8.5px}
  .seal-btn{margin-top:14px}
  .entry-seal{width:46px;height:46px;font-size:19px}
  .portraitpage .ph img{max-height:58vh}
  .chapterpage .ph img{max-height:50vh}
  .duopage .ph img{max-height:28vh}
  .singlepage .ph img{max-height:46vh}
  .chead{margin-bottom:10px}
  .page{padding-top:calc(var(--safe-t) + 30px)}
  .chapterpage .c-body .ph img{max-height:44vh}
  .ph.land img,.stack .ph img{max-height:22vh}
  .ph.wide img{max-height:30vh}
  .p16 .ph.tall img{max-height:30vh}
  .p16 .ph.wide img{max-height:20vh}
  .p18 .ph.wide img{max-height:30vh}
  .feast-seal{margin-bottom:16px}
  .feast-time{margin-top:18px}
  .venue{margin-top:16px}
  .countdown{margin-top:18px}
  .f-stage{gap:16px}
  .p18{padding-top:calc(var(--safe-t) + 36px)}
  .chapterpage .c-body{gap:8px}
  .vtitle{font-size:28px}
}
@media (max-width:370px){
  .letter{width:92vw;padding:22px 16px 16px}
  .letter-names{font-size:21px}
  .letter-date{font-size:26px}
  .page{padding-left:22px;padding-right:22px}
  .p01,.p02,.p18{padding-left:0;padding-right:0}
  .head{font-size:8px;letter-spacing:.24em}
  .head .ch{font-size:8.5px}
  .names{left:22px;font-size:21px}
  .brand{left:22px}
  .p02 .date{left:22px;font-size:30px}
  .p18{padding-left:22px;padding-right:22px}
  .chap-copy .big{font-size:16px}
  .chapterpage .c-body .ph img{max-width:calc(100% - 46px)}
  #chrome,#hint{padding-left:22px;padding-right:22px}
  #controls{padding-right:8px}
}
@media (min-width:768px){
  #book{box-shadow:0 0 90px rgba(0,0,0,.85)}
  #chrome{width:520px}
  #hint{width:520px}
  #controls{width:520px}
  #sweep{width:520px}
}
@media (prefers-reduced-motion:reduce){
  .page{transition:opacity .2s linear;transform:none}
  .page.is-out{transform:none}
  [data-reveal]{transition:opacity .2s linear;transform:none;filter:none}
  #sweep{display:none}
  .auto-ring circle{animation:none}
  .page.is-active .ph img{animation:none}
  .page.is-active .ph::after{animation:none;display:none}
  .page.is-active .f-seal{animation:none}
  .foil{animation:none}
}

/* ============================================================
   电影版：全出血 / 双联 / 胶片帧 / 叠化转场
   ============================================================ */
#sweep{display:none}
#flash{
  position:fixed;inset:0;z-index:58;pointer-events:none;opacity:0;
  background:radial-gradient(ellipse at 50% 52%,rgba(255,244,214,.5) 0%,rgba(255,196,128,.16) 38%,transparent 70%);
  mix-blend-mode:screen;
}
#flash.run{animation:filmFlash .58s ease-out both}
#flash.soft.run{animation-name:filmFlashSoft}
@keyframes filmFlash{0%{opacity:0}16%{opacity:.62}100%{opacity:0}}
@keyframes filmFlashSoft{0%{opacity:0}18%{opacity:.24}100%{opacity:0}}

.page{
  transform:scale(1.025);transform-origin:50% 50%;
  transition:opacity 1.1s cubic-bezier(.22,.61,.36,1),
             transform 1.3s cubic-bezier(.22,.61,.36,1),
             filter 1.1s cubic-bezier(.22,.61,.36,1);
  will-change:opacity,transform,filter;
}
.page.is-active{
  opacity:1;visibility:visible;transform:none;filter:none;z-index:2;
  transition:opacity 1.1s cubic-bezier(.22,.61,.36,1),
             transform 1.3s cubic-bezier(.22,.61,.36,1),
             filter 1.1s cubic-bezier(.22,.61,.36,1);
}
.page.is-in{
  visibility:visible;opacity:0;z-index:2;
  transform:scale(1.06) translateY(1.4%);
  filter:blur(5px);
}
.page.is-out{
  visibility:visible;opacity:1;z-index:1;
  transform:scale(1.02) translateY(-1%);
  filter:blur(2px);
  transition:transform 1.3s cubic-bezier(.22,.61,.36,1),
             filter 1.1s cubic-bezier(.22,.61,.36,1);
}

.cine,.chaptercine,.diptych,.stack{padding:0;background:#0A0A0B;overflow:hidden}
.cine-img,.pane-img,.frame-img{
  position:absolute;inset:0;width:100%;height:100%;object-fit:cover;
  filter:saturate(.93) contrast(1.04) brightness(.9);
}
.cine-img.lazy,.pane-img.lazy,.frame-img.lazy{
  opacity:0;filter:blur(12px) saturate(.93) contrast(1.04) brightness(.9);
  transition:opacity .9s ease,filter .9s ease;
}
.cine-img.loaded,.pane-img.loaded,.frame-img.loaded{
  opacity:1;filter:blur(0) saturate(.93) contrast(1.04) brightness(.9);
}
.scrim-cine{
  position:absolute;inset:0;z-index:2;pointer-events:none;
  background:linear-gradient(180deg,rgba(8,8,9,.6) 0%,rgba(8,8,9,.12) 22%,transparent 46%,rgba(8,8,9,.06) 58%,rgba(8,8,9,.8) 88%,rgba(8,8,9,.96) 100%);
}
.cine-head{
  position:absolute;z-index:3;top:calc(var(--safe-t) + 44px);left:28px;right:28px;
  display:flex;align-items:baseline;justify-content:space-between;gap:12px;
}
.cine-head .ch{font-size:8px;letter-spacing:.26em;color:rgba(237,230,218,.8);white-space:nowrap}
.cine-head .en{font-size:7px;letter-spacing:.28em;color:rgba(200,164,92,.72);white-space:nowrap}
.cine-text{
  position:absolute;z-index:3;left:28px;right:28px;bottom:calc(var(--safe-b) + 64px);
}
.cine-text .big{
  font-size:clamp(23px,3.2vh,29px);line-height:1.5;letter-spacing:.02em;
  max-width:94%;text-shadow:0 2px 10px rgba(0,0,0,.6),0 12px 40px rgba(0,0,0,.45);
}
.cine-text .sub{
  font-size:8.5px;letter-spacing:.13em;color:rgba(237,230,218,.68);
  margin-top:12px;max-width:92%;line-height:1.9;
}
.page.is-active .cine-head{animation:cineFade .9s var(--ease) both}
.page.is-active .cine-text .big{animation:cineRise .95s var(--ease) both}
.page.is-active .cine-text .sub{animation:cineRise .95s var(--ease) .08s both}
@keyframes cineRise{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}
@keyframes cineFade{from{opacity:0}to{opacity:1}}

.chapter-head{
  position:absolute;z-index:3;top:calc(var(--safe-t) + 44px);left:28px;right:28px;
  display:flex;align-items:center;gap:14px;
}
.chapter-head .cnum{
  font-family:var(--num);font-size:clamp(54px,7.6vh,74px);line-height:.88;letter-spacing:-.03em;
  color:transparent;-webkit-text-stroke:1px rgba(200,164,92,.66);
  filter:drop-shadow(0 2px 16px rgba(0,0,0,.55));
}
.chapter-head .ct{display:flex;flex-direction:column;gap:5px}
.chapter-head .ctitle{font-size:clamp(22px,3.4vh,31px);letter-spacing:.2em}
.chapter-head .cen{font-size:7px;letter-spacing:.3em;color:rgba(200,164,92,.72)}
.chapter-text{bottom:calc(var(--safe-b) + 68px)}
.chapter-text .kicker{
  font-size:8px;letter-spacing:.26em;color:rgba(200,164,92,.85);margin-bottom:12px;
}
.chapter-text .big{font-size:clamp(20px,2.9vh,26px)}
.page.is-active .chapter-head{animation:cineFade 1s var(--ease) both}
.page.is-active .chapter-text .kicker{animation:cineRise .9s var(--ease) .1s both}

.diptych .split{
  position:absolute;inset:0;display:flex;gap:2px;background:#08080A;
}
.diptych .pane{
  position:relative;height:100%;overflow:hidden;flex:0 0 var(--w1,50%);min-width:0;
}
.diptych .pane:last-child{flex:1 1 auto}
.diptych .pane-img{position:absolute;inset:0}

.stack{display:flex;flex-direction:column;align-items:stretch;gap:0}
.stack .frames{
  display:flex;flex-direction:column;height:80vh;flex:none;gap:2px;background:#08080A;
}
.stack .filmframe{position:relative;flex:1;min-height:0;overflow:hidden}
.stack .frame-img{position:absolute;inset:0}
.stack-text{
  flex:1;min-height:0;padding:0 28px calc(var(--safe-b) + 28px);
  display:flex;flex-direction:column;justify-content:center;background:#0A0A0B;
}
.stack-label{
  display:flex;align-items:baseline;justify-content:space-between;gap:12px;
  font-size:7.5px;letter-spacing:.24em;color:rgba(200,164,92,.72);margin-bottom:12px;
}
.stack-label .ch{color:rgba(237,230,218,.72);white-space:nowrap}
.stack-label .en{color:rgba(200,164,92,.6);white-space:nowrap}
.stack-text .big{font-size:clamp(19px,2.7vh,24px);line-height:1.5;max-width:96%}
.stack-text .sub{font-size:8.5px;letter-spacing:.12em;color:rgba(237,230,218,.62);margin-top:9px;line-height:1.8}
.page.is-active .stack-label{animation:cineFade .8s var(--ease) both}
.page.is-active .stack-text .big{animation:cineRise .9s var(--ease) .05s both}
.page.is-active .stack-text .sub{animation:cineRise .9s var(--ease) .12s both}

.page.is-active .cine-img,.page.is-active .pane-img,.page.is-active .frame-img{
  animation:kenburns 7s ease-out both;
}
@keyframes kenburns{from{transform:scale(1.015)}to{transform:scale(1.075)}}

.p02 .bg{animation:coverKB 11s ease-out both}
@keyframes coverKB{from{transform:scale(1.02)}to{transform:scale(1.1)}}

.finale-bg{
  position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0;
  filter:blur(28px) saturate(.85) brightness(.34);
  transform:scale(1.12);
}
.p18 .f-stage{position:relative;z-index:2}
.p18 .f-head{position:relative;z-index:2}

@media (max-height:740px){
  .stack .frames{height:78vh}
  .cine-text .big{font-size:clamp(21px,3vh,25px)}
  .chapter-head .cnum{font-size:clamp(48px,6.8vh,62px)}
  .chapter-head .ctitle{font-size:clamp(20px,3.1vh,26px)}
}
@media (max-height:660px){
  .stack .frames{height:76vh}
  .stack-text{padding-bottom:calc(var(--safe-b) + 24px)}
  .stack-text .big{font-size:18px}
  .stack-label{margin-bottom:8px}
  .cine-text{bottom:calc(var(--safe-b) + 56px)}
  .cine-text .big{font-size:20px}
  .chapter-text{bottom:calc(var(--safe-b) + 58px)}
}
@media (prefers-reduced-motion:reduce){
  .page,.page.is-active,.page.is-in,.page.is-out{transition:none}
  .page.is-active .cine-img,.page.is-active .pane-img,.page.is-active .frame-img,
  .p02 .bg,.page.is-active .cine-text .big,.page.is-active .cine-text .sub,
  .page.is-active .stack-text .big,.page.is-active .stack-text .sub,
  .page.is-active .chapter-head,.page.is-active .cine-head{animation:none}
  #flash{display:none}
}

/* 单张竖图：模糊背景 + 完整画幅（不裁脸） */
.still{padding:0;background:#0A0A0B;overflow:hidden}
.still-bg{
  position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0;
  filter:blur(30px) saturate(.85) brightness(.28);
  animation:stillBg 10s ease-out both;
}
@keyframes stillBg{from{transform:scale(1.06)}to{transform:scale(1.14)}}
.still-scrim{
  position:absolute;inset:0;z-index:1;pointer-events:none;
  background:linear-gradient(180deg,rgba(8,8,9,.5) 0%,transparent 26%,transparent 58%,rgba(8,8,9,.9) 100%);
}
.still-stage{
  position:absolute;z-index:2;left:0;right:0;
  top:calc(var(--safe-t) + 72px);bottom:calc(var(--safe-b) + 206px);
  display:flex;align-items:center;justify-content:center;
}
.still-img{
  max-width:100%;max-height:100%;width:auto;height:auto;
  border:1px solid rgba(237,230,218,.2);
  box-shadow:0 30px 80px rgba(0,0,0,.6);
}
.page.is-active .still-img{animation:stillIn 1.1s var(--ease) both}
@keyframes stillIn{from{opacity:0;transform:scale(1.03)}to{opacity:1;transform:none}}
@media (max-height:740px){
  .still-stage{top:calc(var(--safe-t) + 62px);bottom:calc(var(--safe-b) + 178px)}
}

/* 转场时旧页文字先退场，避免双标题 */
.page.is-out .cine-head,
.page.is-out .cine-text,
.page.is-out .chapter-head,
.page.is-out .chapter-text,
.page.is-out .stack-text,
.page.is-out .letter,
.page.is-out .brand,
.page.is-out .names,
.page.is-out .title-vert,
.page.is-out .date,
.page.is-out .cover-hint,
.page.is-out .feast-inner,
.page.is-out .f-head,
.page.is-out .f-body,
.page.is-out .f-side,
.page.is-out .f-end{
  opacity:0;
  transition:opacity .3s ease;
}
.page.is-out .seal{opacity:0;transition:opacity .3s ease}

/* 信封入口：折叠收口 + 火漆 + 打开 */
.envelope{
  position:relative;width:min(88vw,340px);height:clamp(470px,58vh,540px);
  perspective:1200px;transform-style:preserve-3d;
}
.env-body{
  position:absolute;inset:0;z-index:1;overflow:hidden;
  background:
    linear-gradient(160deg,rgba(28,25,21,.98),rgba(12,11,10,.98)),
    repeating-linear-gradient(0deg,rgba(255,255,255,.012) 0 1px,transparent 1px 3px);
  border:1px solid rgba(200,164,92,.42);
  box-shadow:0 36px 90px rgba(0,0,0,.7),inset 0 0 60px rgba(0,0,0,.35);
  display:flex;flex-direction:column;align-items:center;justify-content:flex-end;
  padding:0 22px 18px;text-align:center;
}
.env-body::before{
  content:"";position:absolute;inset:5px;border:1px solid rgba(200,164,92,.14);pointer-events:none;
}
.env-flap{
  position:absolute;top:0;left:0;right:0;height:38%;z-index:3;
  background:linear-gradient(165deg,#211e1a 0%,#171512 58%,#100f0e 100%);
  clip-path:polygon(0 0,100% 0,50% 100%);
  transform-origin:50% 0;
  transition:transform .9s cubic-bezier(.55,.05,.3,1);
  filter:drop-shadow(0 1px 0 rgba(200,164,92,.42)) drop-shadow(0 12px 22px rgba(0,0,0,.45));
  backface-visibility:hidden;
}
.env-flap::after{
  content:"";position:absolute;inset:0;
  background:linear-gradient(180deg,rgba(255,255,255,.035),transparent 45%,rgba(0,0,0,.25));
  clip-path:polygon(0 0,100% 0,50% 100%);
}
.env-flap .postmark{top:18px;left:18px;right:auto;transform:rotate(-7deg);z-index:2}
.seal-btn{
  position:absolute;left:50%;top:38%;z-index:4;transform:translate(-50%,-28px);
  display:flex;flex-direction:column;align-items:center;margin:0;padding:0;border:0;background:none;cursor:pointer;
}
.seal-btn::before{
  content:"";position:absolute;left:50%;top:28px;width:74px;height:74px;
  transform:translate(-50%,-50%);border:1px solid rgba(200,164,92,.55);border-radius:50%;
  animation:sealPulse 2.6s ease-out infinite;pointer-events:none;
}
.entry-seal{
  width:56px;height:56px;font-size:22px;position:relative;z-index:1;
  box-shadow:0 0 28px rgba(166,61,47,.32),0 10px 24px rgba(0,0,0,.45);
  animation:sealBreath 2.6s ease-in-out infinite;
}
.seal-btn:active .entry-seal{transform:rotate(-6deg) scale(.94);animation:none}
.seal-hint{
  position:relative;z-index:1;font-size:7.5px;letter-spacing:.24em;
  color:rgba(200,164,92,.86);margin-top:9px;
  animation:hintPulse 2.6s ease-in-out infinite;
}
@keyframes sealPulse{
  0%{transform:translate(-50%,-50%) scale(.82);opacity:.65}
  70%{transform:translate(-50%,-50%) scale(1.5);opacity:0}
  100%{transform:translate(-50%,-50%) scale(1.5);opacity:0}
}
@keyframes sealBreath{0%,100%{transform:rotate(-6deg) scale(1)}50%{transform:rotate(-6deg) scale(1.045)}}
@keyframes hintPulse{0%,100%{opacity:.55}50%{opacity:1}}
.p01.opening .env-flap{transform:rotateX(-168deg)}
.p01.opening .seal-btn{opacity:0;transform:translate(-50%,-28px) scale(.7);transition:opacity .3s .5s,transform .3s .5s}
.p01.opening .envelope{transform:translateY(-6px) scale(.99);transition:transform .8s .25s}
.page.is-out .envelope{opacity:0;transition:opacity .35s ease}
@media (max-height:660px){
  .envelope{height:470px}
  .env-body{padding:0 18px 14px}
  .env-body .letter-names{font-size:21px;margin-top:10px}
  .env-body .letter-date{font-size:26px}
  .env-body .letter-brand{font-size:7px}
  .env-body .letter-invite{font-size:7.5px}
  .env-body .letter-meta{font-size:8.5px;margin-top:10px}
  .env-body .letter-rule{margin:12px auto}
}
@media (prefers-reduced-motion:reduce){
  .seal-btn::before,.entry-seal,.seal-hint{animation:none}
}

/* 信封比例与信息间距修正 */
.envelope{height:clamp(500px,60vh,550px)}
.env-flap{height:36%}
.seal-btn{top:36%}
.env-body{padding-bottom:12px}
.env-body .letter-brand{line-height:1.6}
.env-body .letter-names{margin-top:8px}
.env-body .letter-invite{margin-top:5px}
.env-body .letter-rule{margin:10px auto}
.env-body .letter-week{margin-top:5px}
.env-body .letter-meta{margin-top:9px;gap:3px}
.postmark{display:none}
.env-inner{
  position:absolute;top:0;left:0;right:0;height:36%;z-index:2;
  background:linear-gradient(180deg,#09090a,#11100e);
  clip-path:polygon(0 0,100% 0,50% 100%);
  box-shadow:inset 0 0 32px rgba(0,0,0,.9);
}
.env-inner::after{
  content:"";position:absolute;inset:0;
  border-top:1px solid rgba(200,164,92,.18);
  clip-path:polygon(0 0,100% 0,50% 100%);
}
@media (max-height:660px){
  .envelope{height:500px}
}

/* 双画幅接触印相：完整 2:3，不裁人 */
.contact{padding:0;background:#0A0A0B;display:flex;flex-direction:column;overflow:hidden}
.contact-frames{
  flex:1;min-height:0;display:flex;align-items:center;justify-content:center;gap:9px;
  padding:calc(var(--safe-t) + 78px) 20px 0;
}
.contact .cframe{
  position:relative;width:47%;max-width:190px;aspect-ratio:2/3;overflow:hidden;
  border:1px solid rgba(237,230,218,.24);background:#101012;
  box-shadow:0 22px 48px rgba(0,0,0,.55);
}
.contact .cframe img{width:100%;height:100%;object-fit:cover;filter:saturate(.94) contrast(1.03) brightness(.94)}
.contact-copy{flex:none;padding:16px 28px calc(var(--safe-b) + 66px)}
.contact-copy .kicker{display:block;font-size:7.5px;letter-spacing:.3em;color:rgba(200,164,92,.8);margin-bottom:12px}
.contact-copy .big{font-size:clamp(21px,3vh,27px);line-height:1.5;max-width:94%}
.contact-copy .sub{font-size:8.5px;letter-spacing:.13em;color:rgba(237,230,218,.66);margin-top:10px;line-height:1.9}
.page.is-active .contact .cframe img{animation:stillIn 1s var(--ease) both}
@media (max-height:660px){
  .contact-frames{padding-top:calc(var(--safe-t) + 58px);gap:7px}
  .contact-copy{padding-bottom:calc(var(--safe-b) + 58px)}
  .contact-copy .big{font-size:20px}
}
.stack .filmframe:first-child{flex:0 0 var(--a,50%)}
.stack .filmframe:last-child{flex:1 1 0}
.env-body .env-postmark{display:block;position:absolute;top:42%;right:16px;left:auto;transform:rotate(-7deg);z-index:2}

/* 接触印相页的模糊背景 */
.contact-bg{
  position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0;
  filter:blur(34px) brightness(.22) saturate(.85);transform:scale(1.12);
}
.contact-frames,.contact-copy{position:relative;z-index:1}

/* 照片即信封：全屏照片 + 折叠翻盖 + 火漆 */
.p01 .entry-inner{padding:0}
.p01 .envelope{
  position:absolute;inset:0;width:100%;height:100%;
  perspective:1400px;transform-style:preserve-3d;overflow:hidden;
}
.p01 .envelope::after{
  content:"";position:absolute;inset:10px;border:1px solid rgba(200,164,92,.16);
  pointer-events:none;z-index:5;
}
.p01 .env-body{
  position:absolute;inset:0;z-index:2;background:none;border:0;box-shadow:none;
  display:flex;flex-direction:column;align-items:center;justify-content:flex-end;
  padding:0 30px calc(var(--safe-b) + 64px);text-align:center;
}
.p01 .env-body::before{display:none}
.p01 .env-inner{display:none}
.p01 .env-flap{
  height:36%;z-index:3;
  background:linear-gradient(180deg,rgba(6,6,7,.62) 0%,rgba(6,6,7,.34) 55%,rgba(6,6,7,.08) 100%);
  filter:drop-shadow(0 1px 0 rgba(200,164,92,.55)) drop-shadow(0 14px 30px rgba(0,0,0,.35));
}
.p01 .env-flap::after{background:linear-gradient(180deg,rgba(255,255,255,.03),transparent 60%,rgba(0,0,0,.15))}
.p01 .seal-btn{top:36%}
.p01 .env-body .letter-names,
.p01 .env-body .letter-date,
.p01 .env-body .letter-week,
.p01 .env-body .letter-meta,
.p01 .env-body .letter-invite,
.p01 .env-body .letter-brand{text-shadow:0 2px 14px rgba(0,0,0,.72)}
.p01.opening .env-body{opacity:0;transition:opacity .4s .28s}
.p01.opening .entry-bg{filter:brightness(.9) saturate(.98) blur(0);transform:scale(1)}

/* 上下两格 / 完整宽画幅双帧 */
.stack.fullframes .frames{height:auto}
.stack.fullframes .filmframe{flex:none;aspect-ratio:3/2;height:auto}
.stack.fullframes .frame-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}

/* 海报式左右分栏 */
.poster{padding:0;display:flex;background:#0A0A0B;overflow:hidden}
.poster-media{position:relative;width:62%;height:100%;overflow:hidden}
.poster-img{width:100%;height:100%;object-fit:cover;filter:saturate(.92) contrast(1.04) brightness(.9)}
.poster-img.lazy{opacity:0;filter:blur(12px) saturate(.92) contrast(1.04) brightness(.9);transition:opacity .9s,filter .9s}
.poster-img.loaded{opacity:1;filter:blur(0) saturate(.92) contrast(1.04) brightness(.9)}
.poster-panel{
  width:38%;height:100%;padding:calc(var(--safe-t) + 46px) 18px calc(var(--safe-b) + 42px);
  display:flex;flex-direction:column;justify-content:space-between;
  background:#0A0A0B;border-left:1px solid rgba(200,164,92,.28);
}
.poster-kicker{font-size:7px;letter-spacing:.22em;color:rgba(237,230,218,.72);line-height:1.8}
.poster-en{display:block;margin-top:8px;font-size:6.5px;letter-spacing:.28em;color:rgba(200,164,92,.65)}
.poster-mid{flex:1;display:flex;align-items:center;justify-content:center;min-height:0}
.poster-vert{
  writing-mode:vertical-rl;text-orientation:upright;
  font-size:clamp(22px,3.2vh,30px);letter-spacing:.24em;color:rgba(200,164,92,.92);
  text-shadow:0 2px 20px rgba(0,0,0,.6);
}
.poster-bottom .big{font-size:clamp(15px,1.9vh,16px);line-height:1.7;max-width:100%}
.poster-bottom .sub{font-size:8px;letter-spacing:.12em;color:rgba(237,230,218,.62);margin-top:10px;line-height:1.8}
.page.is-active .poster-media{animation:posterIn 1.2s var(--ease) both}
@keyframes posterIn{from{opacity:0;transform:scale(1.04)}to{opacity:1;transform:none}}

/* 主画幅 + 右下小画幅：求婚 → 同框 */
.insetpage .inset-frame{
  position:absolute;z-index:4;right:18px;bottom:calc(var(--safe-b) + 196px);
  width:42%;aspect-ratio:3/2;overflow:hidden;background:#101012;
  border:1px solid rgba(237,230,218,.35);box-shadow:0 18px 38px rgba(0,0,0,.6);
}
.insetpage .inset-frame img{width:100%;height:100%;object-fit:cover;filter:saturate(.94) contrast(1.03) brightness(.94)}
@media (max-height:660px){
  .insetpage .inset-frame{right:14px;bottom:calc(var(--safe-b) + 170px);width:40%}
  .poster-panel{padding-top:calc(var(--safe-t) + 30px);padding-bottom:calc(var(--safe-b) + 54px)}
  .poster-bottom .big{font-size:16px}
}
@media (max-width:370px){
  .poster-panel{padding-left:14px;padding-right:14px}
  .poster-bottom .big{font-size:16px}
}

/* 上下两格：保留完整画幅，不切动作 */
.stack.portrait-stack .frame-img{
  object-fit:contain;background:#0A0A0B;
  border:1px solid rgba(237,230,218,.2);
}

/* P12/P19 完整宽画幅的文字上移，避免贴边 */
.stack.fullframes .stack-text{justify-content:flex-start;padding-top:18px;padding-bottom:calc(var(--safe-b) + 32px)}

/* P20：一竖一横两格完整画幅，不叠压 */
.mixed{padding:0;display:flex;flex-direction:column;background:#0A0A0B;overflow:hidden}
.mixed-frames{display:flex;flex-direction:column;gap:2px;background:#08080A;flex:none}
.mixed-frames .mframe{position:relative;width:100%;overflow:hidden}
.mixed-frames .mframe.p{height:54vh}
.mixed-frames .mframe.w{height:28vh}
.mixed-frames .mframe img{
  width:100%;height:100%;object-fit:contain;background:#0A0A0B;
  border:1px solid rgba(237,230,218,.18);
}
.mixed-text{
  flex:1;min-height:0;padding:0 28px calc(var(--safe-b) + 30px);
  display:flex;flex-direction:column;justify-content:center;background:#0A0A0B;
}
.mixed-label{display:flex;justify-content:space-between;gap:10px;font-size:7.5px;letter-spacing:.22em;color:rgba(200,164,92,.72);margin-bottom:12px}
.mixed-label .ch{color:rgba(237,230,218,.72);white-space:nowrap}
.mixed-text .big{font-size:clamp(19px,2.7vh,24px);line-height:1.5;max-width:96%}
.mixed-text .sub{font-size:8.5px;letter-spacing:.12em;color:rgba(237,230,218,.62);margin-top:9px;line-height:1.8}
@media (max-height:660px){
  .mixed-frames .mframe.p{height:52vh}
  .mixed-frames .mframe.w{height:26vh}
  .mixed-text{padding-bottom:calc(var(--safe-b) + 24px)}
  .mixed-text .big{font-size:19px}
}

/* 尾声：既见君子 */
.f-quote{font-size:clamp(18px,2.5vh,22px);line-height:1.75;letter-spacing:.08em;color:var(--cream);margin-top:16px}
.f-quote-src{font-size:7px;letter-spacing:.28em;color:rgba(237,230,218,.42);margin-top:8px}

/* P19 一竖一横，竖图稍大 */
.mixed-frames.p58 .mframe.p{height:58vh}
.mixed-frames.p58 .mframe.w{height:24vh}
@media (max-height:660px){
  .mixed-frames.p58 .mframe.p{height:56vh}
  .mixed-frames.p58 .mframe.w{height:22vh}
}

/* P5 完整竖幅：一页内尽量大 */
.stack.portrait-stack .frames{height:81vh}
.stack.portrait-stack .frame-img{object-fit:contain;background:#0A0A0B;border:1px solid rgba(237,230,218,.2)}
.stack.portrait-stack .stack-text{justify-content:flex-start;padding-top:12px;padding-bottom:calc(var(--safe-b) + 12px)}
@media (max-height:660px){
  .stack.portrait-stack .frames{height:81vh}
  .stack.portrait-stack .stack-text{padding-top:10px;padding-bottom:calc(var(--safe-b) + 10px)}
  .stack.portrait-stack .stack-label{margin-bottom:8px}
  .stack.portrait-stack .stack-text .big{font-size:18px}
  .stack.portrait-stack .stack-text .sub{font-size:8px;margin-top:6px}
}

/* P5+P7：两竖一横三画幅拼页 */
.collage{padding:0;background:#0A0A0B;display:flex;flex-direction:column;overflow:hidden}
.collage-top{display:flex;gap:2px;width:100%;flex:none;background:#08080A}
.collage-top .cframe{margin:0;flex:1;min-width:0;aspect-ratio:2/3;overflow:hidden;background:#101012;border:1px solid rgba(237,230,218,.16)}
.collage-top .cframe img{width:100%;height:100%;object-fit:cover;filter:saturate(.94) contrast(1.03) brightness(.94)}
.collage-wide{margin:2px 0 0;width:100%;height:34vh;flex:none;overflow:hidden;background:#08080A}
.collage-wide img{width:100%;height:100%;object-fit:cover;filter:saturate(.94) contrast(1.03) brightness(.9)}
.collage-copy{flex:1;min-height:146px;padding:0 28px calc(var(--safe-b) + 12px);display:flex;flex-direction:column;justify-content:center;background:#0A0A0B}
.collage-copy .stack-label{margin-bottom:12px}
.collage-copy .big{font-size:clamp(21px,3vh,27px);line-height:1.5;max-width:96%}
.collage-copy .sub{font-size:8.5px;letter-spacing:.12em;color:rgba(237,230,218,.64);margin-top:10px;line-height:1.8}
@media (max-height:660px){
  .collage-wide{height:30vh}
  .collage-copy{min-height:100px;padding-bottom:calc(var(--safe-b) + 8px)}
  .collage-copy .big{font-size:18px}
  .collage-copy .stack-label{margin-bottom:8px}
  .collage-copy .sub{font-size:8px;margin-top:6px}
  .collage-copy .big{font-size:19px}
  .collage-copy .stack-label{margin-bottom:8px}
}

/* P5 文字压在横图下缘，永不越界 */
.collage-wide{position:relative;flex:1 1 auto;height:auto;min-height:0}
.collage-scrim{
  position:absolute;inset:0;z-index:1;pointer-events:none;
  background:linear-gradient(to top,
    rgba(10,10,11,.95) 0%,
    rgba(10,10,11,.78) 26%,
    rgba(10,10,11,.35) 48%,
    rgba(10,10,11,0) 68%);
}
.collage-copy{
  position:absolute;left:0;right:0;bottom:0;z-index:2;
  min-height:0;padding:0 28px calc(var(--safe-b) + 26px);
  display:flex;flex-direction:column;justify-content:flex-end;
  background:none;
}
.collage-copy .big{font-size:clamp(21px,3vh,27px);line-height:1.45;max-width:96%}
.collage-copy .sub{font-size:8.5px;letter-spacing:.12em;color:rgba(237,230,218,.7);margin-top:9px;line-height:1.8}
@media (max-height:660px){
  .collage-copy{padding-bottom:calc(var(--safe-b) + 20px)}
  .collage-copy .big{font-size:19px}
  .collage-copy .sub{font-size:8px;margin-top:7px}
  .collage-copy .stack-label{margin-bottom:8px}
}

/* P18：双画幅满版，文字压在竖图下缘 */
.twin{padding:0;display:flex;flex-direction:column;background:#0A0A0B;overflow:hidden}
.twin-main{position:relative;flex:1 1 auto;min-height:0;overflow:hidden;background:#0A0A0B}
.twin-main > img{width:100%;height:100%;object-fit:cover;object-position:50% 45%;filter:saturate(.94) contrast(1.03) brightness(.93)}
.twin-scrim{
  position:absolute;inset:0;z-index:1;pointer-events:none;
  background:linear-gradient(to top,rgba(10,10,11,.95) 0%,rgba(10,10,11,.72) 24%,rgba(10,10,11,.28) 46%,rgba(10,10,11,0) 64%);
}
.twin-copy{position:absolute;left:0;right:0;bottom:0;z-index:2;padding:0 28px calc(var(--safe-b) + 26px)}
.twin-copy .stack-label{margin-bottom:12px}
.twin-copy .big{font-size:clamp(20px,2.9vh,26px);line-height:1.5;max-width:96%}
.twin-copy .sub{font-size:8.5px;letter-spacing:.12em;color:rgba(237,230,218,.7);margin-top:9px;line-height:1.8}
.twin-extra{flex:0 0 auto;width:100%;aspect-ratio:3/2;height:auto;margin:0 0 2px;overflow:hidden;background:#08080A}
.twin-extra img{width:100%;height:100%;object-fit:cover;object-position:50% 50%;filter:saturate(.94) contrast(1.03) brightness(.9)}
@media (max-height:660px){
  .twin-copy{padding-bottom:calc(var(--safe-b) + 18px)}
  .twin-copy .big{font-size:18px}
  .twin-copy .sub{font-size:8px;margin-top:6px}
  .twin-copy .stack-label{margin-bottom:8px}
}

/* P18：新娘竖版左右分隔，左文右图 */
.bride{padding:0;height:100%;display:flex;background:#0A0A0B;overflow:hidden}
.bride-copy{
  width:28%;flex:none;background:#EFE7DA;color:#1A1714;
  padding:calc(var(--safe-t) + 44px) 16px calc(var(--safe-b) + 38px);
  display:flex;flex-direction:column;justify-content:space-between;
}
.bride-label .ch{display:block;font-size:7px;line-height:1.7;letter-spacing:.16em;color:#8A6B3A}
.bride-label .en{display:block;margin-top:8px;font-size:5.5px;letter-spacing:.24em;color:rgba(26,23,20,.42)}
.bride-quote{font-size:13.5px;line-height:1.9;letter-spacing:.03em;margin:18px 0 0;max-width:100%}
.bride-sub{font-size:7px;line-height:1.9;letter-spacing:.08em;color:rgba(26,23,20,.55);margin:auto 0 0}
.bride-media{position:relative;flex:1;min-width:0;overflow:hidden;background:#0A0A0B}
.bride-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 45%;filter:blur(16px) brightness(.38) saturate(.82);transform:scale(1.1)}
.bride-img{
  position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);
  width:100%;height:auto;max-height:84%;object-fit:contain;
  border:1px solid rgba(237,230,218,.22);box-shadow:0 18px 48px rgba(0,0,0,.5);
}
@media (max-height:660px){
  .bride-copy{padding-top:calc(var(--safe-t) + 28px);padding-bottom:calc(var(--safe-b) + 24px)}
  .bride-quote{font-size:12px;line-height:1.75;margin-top:12px}
  .bride-sub{font-size:6.5px}
  .bride-img{width:96%;max-height:80%}
}

/* P19：双人竖图满宽 + 下方文案 */
.couple{padding:0;display:flex;flex-direction:column;background:#0A0A0B;overflow:hidden}
.couple-img{width:100%;height:70vh;flex:none;object-fit:cover;object-position:50% 45%;filter:saturate(.94) contrast(1.03) brightness(.93)}
.couple-copy{flex:1;min-height:0;padding:0 28px calc(var(--safe-b) + 30px);display:flex;flex-direction:column;justify-content:center}
.couple-copy .stack-label{margin-bottom:14px}
.couple-copy .big{font-size:clamp(21px,3vh,26px);line-height:1.5;max-width:96%}
.couple-copy .sub{font-size:8.5px;letter-spacing:.12em;color:rgba(237,230,218,.62);margin-top:10px;line-height:1.8}
@media (max-height:660px){
  .couple-img{height:68vh}
  .couple-copy{padding-bottom:calc(var(--safe-b) + 22px)}
  .couple-copy .big{font-size:19px}
  .couple-copy .stack-label{margin-bottom:8px}
  .couple-copy .sub{font-size:8px;margin-top:6px}
}

/* P18/P19：正常竖图页，完整人物 + 下方文案 */
.pp{padding:0;display:flex;flex-direction:column;background:#0A0A0B;overflow:hidden}
.pp-media{position:relative;flex:0 0 70vh;overflow:hidden;background:#0A0A0B;border-bottom:1px solid rgba(237,230,218,.14)}
.pp-img{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:100%;height:100%;object-fit:contain}
.pp-copy{flex:1;min-height:0;padding:0 28px calc(var(--safe-b) + 30px);display:flex;flex-direction:column;justify-content:center}
.pp-copy .stack-label{margin-bottom:14px}
.pp-copy .big{font-size:clamp(21px,3vh,26px);line-height:1.5;max-width:96%}
.pp-copy .sub{font-size:8.5px;letter-spacing:.12em;color:rgba(237,230,218,.62);margin-top:10px;line-height:1.8}
@media (max-height:660px){
  .pp-media{flex-basis:67vh}
  .pp-copy{padding-bottom:calc(var(--safe-b) + 22px)}
  .pp-copy .big{font-size:19px}
  .pp-copy .stack-label{margin-bottom:8px}
  .pp-copy .sub{font-size:8px;margin-top:6px}
}

/* P12：双画幅完整显示，文字压在第二张下缘 */
.duo12{padding:0;display:flex;flex-direction:column;background:#0A0A0B;overflow:hidden}
.duo12-frame{position:relative;flex:1;min-height:0;overflow:hidden;background:#0A0A0B}
.duo12-img{
  position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);
  width:94%;height:auto;max-height:88%;object-fit:contain;
  border:1px solid rgba(237,230,218,.18);box-shadow:0 14px 40px rgba(0,0,0,.45);
}
.duo12-scrim{position:absolute;inset:0;z-index:1;background:linear-gradient(to top,rgba(10,10,11,.95) 0%,rgba(10,10,11,.72) 24%,rgba(10,10,11,.2) 46%,rgba(10,10,11,0) 64%)}
.duo12-frame:last-child .duo12-img{top:auto;bottom:0;transform:translateX(-50%)}
.duo12-copy{position:absolute;left:0;right:0;bottom:0;z-index:2;padding:0 28px calc(var(--safe-b) + 22px)}
.duo12-copy .stack-label{margin-bottom:10px}
.duo12-copy .big{font-size:clamp(19px,2.6vh,23px);line-height:1.5;max-width:96%}
.duo12-copy .sub{font-size:8px;letter-spacing:.24em;color:rgba(237,230,218,.6);margin-top:8px}
@media (max-height:660px){
  .duo12-img{width:96%;max-height:86%}
  .duo12-copy{padding-bottom:calc(var(--safe-b) + 14px)}
  .duo12-copy .big{font-size:18px}
  .duo12-copy .stack-label{margin-bottom:6px}
}

/* P19：满屏竖图，文字压图 */
.couplefull{padding:0;overflow:hidden;background:#0A0A0B}
.cf-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 42%;filter:saturate(.94) contrast(1.03) brightness(.92)}
.cf-scrim{
  position:absolute;inset:0;z-index:1;pointer-events:none;
  background:linear-gradient(to top,rgba(10,10,11,.95) 0%,rgba(10,10,11,.7) 22%,rgba(10,10,11,.22) 44%,rgba(10,10,11,0) 62%);
}
.cf-copy{position:absolute;left:0;right:0;bottom:0;z-index:2;padding:0 28px calc(var(--safe-b) + 30px)}
.cf-copy .stack-label{margin-bottom:14px}
.cf-copy .big{font-size:clamp(22px,3.1vh,27px);line-height:1.5;max-width:96%}
.cf-copy .sub{font-size:8.5px;letter-spacing:.12em;color:rgba(237,230,218,.68);margin-top:10px;line-height:1.8}
@media (max-height:660px){
  .cf-copy{padding-bottom:calc(var(--safe-b) + 22px)}
  .cf-copy .big{font-size:19px}
  .cf-copy .stack-label{margin-bottom:8px}
  .cf-copy .sub{font-size:8px;margin-top:6px}
}

/* ============================================================
   17 页重排版 · 编辑式拼贴
   ============================================================ */
.n-kicker{font-size:7px;letter-spacing:.2em;color:var(--gold);line-height:1.6}
.n-kicker span{display:block;margin-top:5px;font-family:var(--num);font-size:5.5px;letter-spacing:.24em;color:rgba(237,230,218,.4)}
.n-quote{margin:10px 0 0;color:var(--cream);line-height:1.5;font-size:20px}
.n-note{margin:9px 0 0;font-size:7.5px;line-height:1.85;letter-spacing:.06em;color:var(--muted)}

/* 04 左双竖 + 右文 */
.n04{padding:calc(var(--safe-t) + 36px) 18px calc(var(--safe-b) + 60px);display:flex;align-items:center;gap:14px;background:var(--ink)}
.n04-left{width:62%;display:flex;flex-direction:column;gap:10px}
.n04-left figure{width:100%;aspect-ratio:2/3;overflow:hidden;border:1px solid rgba(237,230,218,.16);background:#0C0C0E}
.n04-left img{width:100%;height:100%;object-fit:cover;object-position:50% 42%}
.n04-copy{flex:1;min-width:0;display:flex;flex-direction:column;justify-content:center}
.n04-copy .n-quote{font-size:14px;line-height:1.75}
.n04-copy .n-note{font-size:7px;margin-top:12px}

/* 05 上横 + 下双竖 */
.n05{padding:0;display:flex;flex-direction:column;background:var(--ink)}
.n05-top{flex:0 0 38vh;margin:0;overflow:hidden;background:#09090A}
.n05-top img{width:100%;height:100%;object-fit:cover;object-position:50% 46%}
.n05-row{flex:0 0 38vh;display:flex;gap:2px;background:#050506}
.n05-row figure{flex:1;min-width:0;margin:0;overflow:hidden;background:#0B0B0D}
.n05-row img{width:100%;height:100%;object-fit:cover;object-position:50% 38%}
.n05-copy{flex:1;min-height:0;padding:12px 28px calc(var(--safe-b) + 48px);display:flex;flex-direction:column;justify-content:flex-start}
.n05-copy .n-quote{font-size:18px;line-height:1.5}
.n05-copy .n-note{font-size:7px;margin-top:7px}

/* 07/10 双横叠 */
.n-duo{padding:calc(var(--safe-t) + 0px) 0 calc(var(--safe-b) + 0px);display:flex;flex-direction:column;background:var(--ink)}
.n-duo-a,.n-duo-b{width:100%;aspect-ratio:3/2;flex:none;margin:0;overflow:hidden;background:#09090A}
.n-duo-a img,.n-duo-b img{width:100%;height:100%;object-fit:cover;object-position:50% 46%}
.n-duo-copy{flex:1;min-height:0;padding:22px 28px calc(var(--safe-b) + 58px);display:flex;flex-direction:column;justify-content:center}
.n-duo-copy .n-quote{font-size:20px}
.n-duo-copy .n-note{margin-top:8px}

/* 08 上竖 + 下双横 */
.n08{padding:0;display:flex;flex-direction:column;background:var(--ink)}
.n08-main{flex:0 0 64vh;margin:0;display:flex;align-items:center;justify-content:center;overflow:hidden;background:#0A0A0B}
.n08-main img{height:100%;width:auto;max-width:100%;object-fit:contain}
.n08-row{flex:0 0 15vh;display:flex;gap:2px;background:#050506}
.n08-row figure{flex:1;min-width:0;margin:0;overflow:hidden;background:#0A0A0B}
.n08-row img{width:100%;height:100%;object-fit:cover;object-position:50% 46%}
.n08-copy{flex:1;min-height:0;padding:12px 28px calc(var(--safe-b) + 46px);display:flex;flex-direction:column;justify-content:flex-start}
.n08-copy .n-quote{font-size:18px}
.n08-copy .n-note{font-size:7px;margin-top:6px}

/* 09 三横叠 */
.n09{padding:0;display:flex;flex-direction:column;background:var(--ink)}
.n09-gallery{flex:1;min-height:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;background:var(--ink)}
.n09-gallery figure{height:29vh;aspect-ratio:3/2;margin:0;overflow:hidden;background:#08080A;border:1px solid rgba(237,230,218,.14)}
.n09-gallery img{width:100%;height:100%;object-fit:cover}
.n09-copy{flex:0 0 auto;padding:10px 28px calc(var(--safe-b) + 48px)}
.n09-copy .n-quote{font-size:18px}
.n09-copy .n-note{font-size:7px;margin-top:6px}

/* 11 单横 + 留白 */
.n11{padding:calc(var(--safe-t) + 0px) 18px calc(var(--safe-b) + 60px);display:flex;flex-direction:column;justify-content:center;background:var(--ink)}
.n11-img{width:100%;aspect-ratio:3/2;margin:0;overflow:hidden;border:1px solid rgba(237,230,218,.14);background:#09090A}
.n11-img img{width:100%;height:100%;object-fit:cover;object-position:50% 46%}
.n11-copy{margin-top:26px}
.n11-copy .n-quote{font-size:22px}

/* 13 双竖错位 */
.n13{padding:0;background:var(--ink)}
.n13-a,.n13-b{position:absolute;width:58%;aspect-ratio:2/3;margin:0;overflow:hidden;border:1px solid rgba(237,230,218,.16);background:#0C0C0E}
.n13-a{left:20px;top:calc(var(--safe-t) + 44px)}
.n13-b{right:20px;bottom:calc(var(--safe-b) + 66px)}
.n13-a img,.n13-b img{width:100%;height:100%;object-fit:cover;object-position:50% 42%}
.n13-copy{position:absolute;right:20px;top:calc(var(--safe-t) + 52px);width:31%}
.n13-copy .n-quote{font-size:15px;line-height:1.78;margin-top:18px}
.n13-note{position:absolute;left:20px;bottom:calc(var(--safe-b) + 78px);width:34%;margin:0;font-size:7.5px;line-height:1.85;color:var(--muted)}

/* 14 上竖 + 中文字 + 下横 */
.n14{padding:calc(var(--safe-t) + 26px) 18px calc(var(--safe-b) + 44px);display:flex;flex-direction:column;align-items:center;background:var(--ink)}
.n14-top{height:46vh;margin:0;display:flex;align-items:center;justify-content:center;overflow:hidden}
.n14-top img{height:100%;width:auto;max-width:100%;object-fit:contain}
.n14-copy{width:74%;margin:14px 0}
.n14-copy .n-quote{font-size:19px}
.n14-copy .n-note{font-size:7px;margin-top:7px}
.n14-bottom{height:30vh;width:100%;margin:0;overflow:hidden}
.n14-bottom img{width:100%;height:100%;object-fit:cover;object-position:50% 44%}

/* 15 上竖 + 下横满版 */
.n15{padding:0;display:flex;flex-direction:column;background:var(--ink)}
.n15-top{flex:0 0 58vh;margin:0;overflow:hidden}
.n15-top img{width:100%;height:100%;object-fit:cover;object-position:50% 42%}
.n15-bottom{position:relative;flex:0 0 36vh;margin:0;overflow:hidden;border-top:1px solid rgba(237,230,218,.1)}
.n15-bottom img{width:100%;height:100%;object-fit:cover;object-position:50% 44%}
.n15-scrim{position:absolute;inset:0;background:linear-gradient(to top,rgba(8,8,9,.95) 0%,rgba(8,8,9,.7) 26%,rgba(8,8,9,.16) 50%,rgba(8,8,9,0) 70%)}
.n15-copy{position:absolute;left:0;right:0;bottom:0;z-index:2;padding:0 28px calc(var(--safe-b) + 58px)}
.n15-copy .n-quote{font-size:21px}
.n15-copy .n-note{font-size:7.5px;margin-top:8px}

@media (max-height:660px){
  .n04{padding-top:calc(var(--safe-t) + 20px);padding-bottom:calc(var(--safe-b) + 50px);gap:10px}
  .n04-left{width:52%;gap:8px}
  .n04-copy .n-quote{font-size:12.5px}
  .n05-copy{padding-bottom:calc(var(--safe-b) + 40px)}
  .n05-copy .n-quote{font-size:16px}
  .n-duo-copy{padding-bottom:calc(var(--safe-b) + 44px)}
  .n-duo-copy .n-quote{font-size:17px}
  .n08-main{flex-basis:56vh}
  .n08-row{flex-basis:13vh}
  .n08-copy{padding-bottom:calc(var(--safe-b) + 36px)}
  .n08-copy .n-quote{font-size:16px}
  .n09-gallery figure{height:27vh}
  .n09-copy{padding-bottom:calc(var(--safe-b) + 36px)}
  .n09-copy .n-quote{font-size:16px}
  .n11-copy .n-quote{font-size:19px}
  .n13-a,.n13-b{width:46%}
  .n13-a{left:16px;top:calc(var(--safe-t) + 30px)}
  .n13-b{right:16px;bottom:calc(var(--safe-b) + 56px)}
  .n13-copy{right:16px;top:calc(var(--safe-t) + 36px);width:35%}
  .n13-copy .n-quote{font-size:14px;margin-top:12px}
  .n13-note{left:16px;bottom:calc(var(--safe-b) + 62px);width:36%;font-size:7px}
  .n14{padding-top:calc(var(--safe-t) + 18px);padding-bottom:calc(var(--safe-b) + 36px)}
  .n14-top{height:42vh}
  .n14-copy{width:78%;margin:10px 0}
  .n14-copy .n-quote{font-size:16px}
  .n14-bottom{height:28vh}
  .n15-copy{padding-bottom:calc(var(--safe-b) + 48px)}
  .n15-copy .n-quote{font-size:19px}
}

/* ===== v21 修改：去小标题 / P04 字号 / P05 压图 / P08 左竖 / P13 分离 / P14 双竖 / P15 换序 ===== */

/* P04 文案稍大 */
.n04-copy .n-quote{font-size:16px;line-height:1.75}
.n04-copy .n-note{font-size:8px;margin-top:12px}

/* P05 文案压在第一张横图上方；三图等间距 */
.n05{display:flex;flex-direction:column;background:var(--ink)}
.n05-top{position:relative;flex:0 0 56vh;margin:0;overflow:hidden;background:#09090A}
.n05-top>img{width:100%;height:100%;object-fit:cover;object-position:50% 46%}
.n05-scrim{position:absolute;inset:0;background:linear-gradient(to bottom,rgba(8,8,9,.86) 0%,rgba(8,8,9,.5) 34%,rgba(8,8,9,0) 62%)}
.n05-copy{position:absolute;left:0;right:0;top:0;z-index:2;padding:calc(var(--safe-t) + 30px) 28px 0}
.n05-copy .n-quote{font-size:20px;line-height:1.5}
.n05-copy .n-note{color:rgba(237,230,218,.7);margin-top:7px}
.n05-row{flex:0 0 36vh;display:flex;gap:8px;margin-top:8px;background:#050506}
.n05-row figure{flex:1;min-width:0;margin:0;overflow:hidden;background:#0B0B0D}
.n05-row img{width:100%;height:100%;object-fit:cover;object-position:50% 38%}

/* P13 两张图按高度控制，任何屏宽都不重叠 */
.n13-a,.n13-b{width:auto;height:40vh;aspect-ratio:2/3}

/* P14 两张等大竖图 + 下方文字 */
.n14{padding:calc(var(--safe-t) + 24px) 18px calc(var(--safe-b) + 48px);display:flex;flex-direction:column;align-items:center;background:var(--ink)}
.n14-pair{width:58%;display:flex;flex-direction:column;gap:8px;margin-top:0}
.n14-pair figure{width:100%;aspect-ratio:3/4;margin:0;overflow:hidden;border:1px solid rgba(237,230,218,.16);background:#0C0C0E}
.n14-pair img{width:100%;height:100%;object-fit:cover;object-position:50% 45%}
.n14-pair figure:last-child img{object-position:50% 45%}
.n14-copy{width:58%;margin-top:16px}
.n14-copy .n-quote{font-size:19px}
.n14-copy .n-note{font-size:7px;margin-top:7px}

/* P15 单人婚纱在上；特写 contain 在下；文字最后 */
.n15{padding:0;display:flex;flex-direction:column;background:var(--ink)}
.n15-top{width:100%;aspect-ratio:3/2;margin:0;overflow:hidden;background:#09090A;flex:none}
.n15-top img{width:100%;height:100%;object-fit:cover;object-position:50% 46%}
.n15-bottom{flex:0 0 48vh;margin:0;display:flex;align-items:center;justify-content:center;overflow:hidden;background:#0A0A0B;border-top:1px solid rgba(237,230,218,.14)}
.n15-bottom img{height:100%;width:auto;max-width:100%;object-fit:contain}
.n15-copy{flex:1;min-height:0;padding:14px 28px calc(var(--safe-b) + 50px);display:flex;flex-direction:column;justify-content:center}
.n15-copy .n-quote{font-size:21px}
.n15-copy .n-note{font-size:7.5px;margin-top:8px}

/* P08 左竖图 + 右侧文字/双横图 */
.n08{display:flex;flex-direction:row;height:100%;padding:0;background:var(--ink)}
.n08-left{width:52%;flex:none;height:100%;overflow:hidden;background:#0A0A0B}
.n08-left img{width:100%;height:100%;object-fit:cover;object-position:30% 42%}
.n08-right{width:48%;flex:none;height:100%;padding:calc(var(--safe-t) + 38px) 16px calc(var(--safe-b) + 48px);display:flex;flex-direction:column}
.n08-copy .n-quote{font-size:17px;line-height:1.55}
.n08-copy .n-note{font-size:7px;margin-top:8px}
.n08-thumbs{margin-top:auto;display:flex;flex-direction:column;gap:8px}
.n08-thumbs figure{width:100%;aspect-ratio:3/2;margin:0;overflow:hidden;background:#0C0C0E;border:1px solid rgba(237,230,218,.14)}
.n08-thumbs img{width:100%;height:100%;object-fit:cover;object-position:50% 46%}

@media (max-height:660px){
  .n04-copy .n-quote{font-size:14px}
  .n05-top{flex-basis:54vh}
  .n05-row{flex-basis:34vh}
  .n05-copy{padding-top:calc(var(--safe-t) + 22px)}
  .n05-copy .n-quote{font-size:17px}
  .n13-a,.n13-b{height:38vh}
  .n14{padding-top:calc(var(--safe-t) + 18px);padding-bottom:calc(var(--safe-b) + 36px)}
  .n14-pair{width:44%}
  .n14-copy{width:44%;margin-top:12px}
  .n14-copy .n-quote{font-size:16px}
  .n15-top{width:100%}
  .n15-bottom{flex-basis:48vh}
  .n15-copy{padding-bottom:calc(var(--safe-b) + 36px)}
  .n15-copy .n-quote{font-size:19px}
  .n08-right{padding-top:calc(var(--safe-t) + 24px);padding-bottom:calc(var(--safe-b) + 34px)}
  .n08-copy .n-quote{font-size:15px}
  .n08-thumbs{gap:6px}
}

/* v23 直接修改：P10 缝隙 / P13 左拼 / P14 下图裁切与文案 */
#p10 .n-duo-b{margin-top:6px}

.n13-a{left:20px;top:calc(var(--safe-t) + 44px);right:auto;bottom:auto}
.n13-b{left:20px;top:calc(var(--safe-t) + 44px + 40vh + 8px);right:auto;bottom:auto}
.n13-copy{right:20px;left:auto;top:calc(var(--safe-t) + 52px);width:31%}
.n13-note{right:20px;left:auto;bottom:calc(var(--safe-b) + 78px);width:31%}

.n14-pair figure:last-child img{object-position:50% 45%}
.n14-copy .n-note{font-size:8px;line-height:1.9}

@media (max-height:660px){
  .n13-a{left:16px;top:calc(var(--safe-t) + 30px)}
  .n13-b{left:16px;top:calc(var(--safe-t) + 30px + 38vh + 8px);right:auto;bottom:auto}
  .n13-copy{right:16px;left:auto;top:calc(var(--safe-t) + 36px);width:35%}
  .n13-note{right:16px;left:auto;bottom:calc(var(--safe-b) + 62px);width:35%}
}

/* ===== v24：P08 三横条叠化 / P13 四图合一 / P15 拆分 ===== */
.n08{padding:0;display:flex;flex-direction:column;background:var(--ink);overflow:hidden}
.n08-stack{flex:1;min-height:0;position:relative;overflow:hidden}
.n08-band{height:34vh;overflow:hidden;position:relative;margin-top:-8vh;-webkit-mask-image:linear-gradient(to bottom,transparent 0%,#000 22%,#000 78%,transparent 100%);mask-image:linear-gradient(to bottom,transparent 0%,#000 22%,#000 78%,transparent 100%)}
.n08-band:first-child{margin-top:0}
.n08-band img{width:100%;height:100%;object-fit:cover;object-position:50% 42%}
.n08-copy{flex:0 0 auto;padding:12px 28px calc(var(--safe-b) + 46px);background:var(--ink)}
.n08-copy .n-quote{font-size:19px}
.n08-copy .n-note{font-size:7px;margin-top:6px}

.n13m{padding:calc(var(--safe-t) + 26px) 18px calc(var(--safe-b) + 44px);display:flex;flex-direction:column;align-items:center;background:var(--ink)}
.n13m-grid{width:92%;display:grid;grid-template-columns:1fr 1fr;gap:8px}
.n13m-grid figure{aspect-ratio:2/3;margin:0;overflow:hidden;background:#0C0C0E;border:1px solid rgba(237,230,218,.15)}
.n13m-grid img{width:100%;height:100%;object-fit:cover;object-position:50% 45%}
.n13m-grid .n13m-b2 img{object-position:54% 45%}
.n13m-copy{width:92%;margin-top:16px}
.n13m-copy .n-quote{font-size:19px}
.n13m-copy .n-note{font-size:7.5px;margin-top:7px}

.n14b{padding:calc(var(--safe-t) + 40px) 18px calc(var(--safe-b) + 56px);display:flex;flex-direction:column;justify-content:center;background:var(--ink)}
.n14b-img{width:100%;aspect-ratio:3/2;margin:0;overflow:hidden;border:1px solid rgba(237,230,218,.14);background:#09090A}
.n14b-img img{width:100%;height:100%;object-fit:cover;object-position:50% 48%}
.n14b-copy{margin-top:26px}
.n14b-copy .n-quote{font-size:21px}
.n14b-copy .n-note{font-size:8px;margin-top:8px}

.n15b{display:flex;flex-direction:column;padding:0;background:var(--ink)}
.n15b-img{width:100%;aspect-ratio:2/3;flex:none;margin:0;overflow:hidden;background:#09090A}
.n15b-img img{width:100%;height:100%;object-fit:cover;object-position:50% 45%}
.n15b-copy{flex:1;min-height:0;padding:16px 28px calc(var(--safe-b) + 52px);display:flex;flex-direction:column;justify-content:center}
.n15b-copy .n-quote{font-size:21px}
.n15b-copy .n-note{font-size:8px;margin-top:8px}

@media (max-height:660px){
  .n08-band{height:34vh;margin-top:-8vh}
  .n08-copy{padding-bottom:calc(var(--safe-b) + 36px)}
  .n08-copy .n-quote{font-size:17px}
  .n13m{padding-top:calc(var(--safe-t) + 18px);padding-bottom:calc(var(--safe-b) + 34px)}
  .n13m-grid{width:94%;gap:6px}
  .n13m-copy{width:94%;margin-top:10px}
  .n13m-copy .n-quote{font-size:17px}
  .n14b{padding-top:calc(var(--safe-t) + 28px);padding-bottom:calc(var(--safe-b) + 44px)}
  .n14b-copy{margin-top:18px}
  .n14b-copy .n-quote{font-size:18px}
  .n15b-copy{padding-bottom:calc(var(--safe-b) + 40px)}
  .n15b-copy .n-quote{font-size:19px}
}

/* ===== v25：P10 叠化中线 / P13 参考裁切+文案浮图 / P15 文案 / P17 放大 ===== */
.n10{padding:0;display:flex;flex-direction:column;background:var(--ink)}
.n10-top,.n10-bottom{flex:0 0 41vh;overflow:hidden;position:relative;background:#0A0A0B}
.n10-top img,.n10-bottom img{width:100%;height:100%;object-fit:cover;object-position:50% 46%}
.n10-top{-webkit-mask-image:linear-gradient(to bottom,#000 62%,transparent 100%);mask-image:linear-gradient(to bottom,#000 62%,transparent 100%)}
.n10-bottom{-webkit-mask-image:linear-gradient(to top,#000 62%,transparent 100%);mask-image:linear-gradient(to top,#000 62%,transparent 100%)}
.n10-copy{flex:1;min-height:0;display:flex;flex-direction:column;justify-content:center;padding:0 30px;background:var(--ink)}
.n10-copy .n-quote{font-size:20px}
.n10-copy .n-note{font-size:7.5px;margin-top:8px}

.n13m-grid{position:relative;overflow:hidden}
.n13m-copy{position:absolute;left:0;right:0;bottom:0;z-index:2;padding:26px 20px 20px;background:linear-gradient(to top,rgba(8,8,9,.97) 0%,rgba(8,8,9,.82) 52%,rgba(8,8,9,0) 100%)}
.n13m-copy .n-quote{font-size:18px;line-height:1.55}
.n13m-copy .n-note{font-size:7.5px;margin-top:7px;color:rgba(237,230,218,.78)}
.n13m-b2 img{object-position:50% 50%}

.n15b-img{height:64vh;width:auto;max-width:100%;margin:0 auto;flex:none;overflow:hidden;background:#09090A}
.n15b-img img{height:100%;width:auto;max-width:100%;object-fit:contain}

.p18 .ph.wide{width:calc(100% + 52px);margin-left:-26px;margin-right:-26px}
.p18 .ph.wide img{width:100%;height:auto;max-height:none}

@media (max-height:660px){
  .n10-top,.n10-bottom{flex-basis:42vh}
  .n10-copy .n-quote{font-size:18px}
  .n13m-copy{padding:20px 18px 16px}
  .n13m-copy .n-quote{font-size:16px}
  .n13m-copy .n-note{font-size:7px}
  .n15b-img{height:60vh}
}

/* ===== v26：P08 参考图1 / P13 源图重裁+无蒙版 / P15 满屏 / P16+P17 合并 ===== */
.n08{display:flex;flex-direction:column;padding:0;background:var(--ink)}
.n08-top{flex:0 0 56vh;margin:0;overflow:hidden;background:#09090A}
.n08-top img{width:100%;height:100%;object-fit:cover;object-position:50% 42%}
.n08-row{flex:0 0 18vh;display:flex;gap:8px;margin-top:8px;background:#050506}
.n08-row figure{flex:1;min-width:0;margin:0;overflow:hidden;background:#0B0B0D}
.n08-row img{width:100%;height:100%;object-fit:cover;object-position:50% 46%}
.n08-copy{flex:1;min-height:0;padding:12px 28px calc(var(--safe-b) + 46px);display:flex;flex-direction:column;justify-content:flex-start}
.n08-copy .n-quote{font-size:19px}
.n08-copy .n-note{font-size:7px;margin-top:6px}

.n13m{display:flex;flex-direction:column;align-items:center;padding:calc(var(--safe-t) + 22px) 18px calc(var(--safe-b) + 86px);background:var(--ink)}
.n13m-grid{width:92%;display:grid;grid-template-columns:1fr 1fr;gap:8px;position:relative;overflow:visible}
.n13m-grid figure{aspect-ratio:2/3;margin:0;overflow:hidden;background:#0C0C0E;border:1px solid rgba(237,230,218,.15)}
.n13m-grid img{width:100%;height:100%;object-fit:cover;object-position:50% 45%}
.n13m-b2 img{object-position:50% 50%}
.n13m-copy{position:static;width:92%;margin-top:16px;padding:0;background:none;left:auto;right:auto;bottom:auto}
.n13m-copy .n-quote{font-size:18px;line-height:1.6}
.n13m-copy .n-quote span{display:block;white-space:nowrap}
.n13m-copy .n-note{font-size:7.5px;margin-top:7px;color:rgba(237,230,218,.8)}

.n15b{display:block;padding:0;background:var(--ink);overflow:hidden}
.n15b-img{position:absolute;inset:0;width:100%;height:100%;margin:0;overflow:hidden;background:#09090A}
.n15b-img img{width:100%;height:100%;object-fit:cover;object-position:50% 42%}
.n15b::after{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(to top,rgba(8,8,9,.94) 0%,rgba(8,8,9,.62) 26%,rgba(8,8,9,.12) 52%,rgba(8,8,9,0) 70%)}
.n15b-copy{position:absolute;left:0;right:0;bottom:0;z-index:2;padding:0 28px calc(var(--safe-b) + 64px);display:block}
.n15b-copy .n-quote{font-size:22px}
.n15b-copy .n-note{font-size:8px;margin-top:8px;color:rgba(237,230,218,.8)}

.finalpage{padding:calc(var(--safe-t) + 26px) 0 calc(var(--safe-b) + 46px);display:flex;flex-direction:column;background:#0A0A0B;overflow:hidden}
.final-photo{width:100%;aspect-ratio:3/2;flex:none;margin:0;overflow:hidden;border-top:1px solid rgba(200,164,92,.45);border-bottom:1px solid rgba(200,164,92,.45);background:#09090A}
.final-photo img{width:100%;height:100%;object-fit:cover;object-position:50% 48%}
.final-body{flex:1;min-height:0;padding:20px 28px 0;display:flex;flex-direction:column;justify-content:center;position:relative}
.final-k{font-size:8px;letter-spacing:.4em;color:var(--gold)}
.final-date{font-size:clamp(22px,3.5vh,28px);letter-spacing:.05em;margin-top:10px}
.final-week{font-size:9px;letter-spacing:.14em;color:rgba(237,230,218,.6);margin-top:6px}
.final-time{font-size:11px;letter-spacing:.14em;margin-top:16px;display:flex;align-items:baseline;gap:9px;color:rgba(237,230,218,.9)}
.final-time .num{font-size:29px;color:var(--gold);letter-spacing:.03em}
.final-time small{font-size:7.5px;letter-spacing:.16em;color:rgba(237,230,218,.45)}
.final-venue{font-size:15px;letter-spacing:.05em;margin-top:12px}
.final-count{font-size:8px;letter-spacing:.1em;color:rgba(237,230,218,.5);margin-top:12px}
.final-count b{font-family:var(--num);font-size:13px;color:var(--gold);font-weight:400;margin:0 3px}
.final-invite{font-size:9px;letter-spacing:.16em;color:rgba(237,230,218,.72);margin-top:22px}
.final-seal{position:absolute;right:0;top:40px;width:40px;height:40px;font-size:16px}
.final-quote{font-size:21px;line-height:1.7;letter-spacing:.08em;margin-top:20px;color:var(--cream)}

@media (max-height:660px){
  .n08-top{flex-basis:54vh}
  .n08-row{flex-basis:16vh}
  .n08-copy{padding-bottom:calc(var(--safe-b) + 38px)}
  .n08-copy .n-quote{font-size:17px}
  .n13m{padding-top:calc(var(--safe-t) + 14px);padding-bottom:calc(var(--safe-b) + 70px)}
  .n13m-grid{width:94%;gap:6px}
  .n13m-copy{width:94%;margin-top:10px}
  .n13m-copy .n-quote{font-size:16px}
  .n15b-copy{padding-bottom:calc(var(--safe-b) + 48px)}
  .n15b-copy .n-quote{font-size:19px}
  .finalpage{padding-top:calc(var(--safe-t) + 18px);padding-bottom:calc(var(--safe-b) + 34px)}
  .final-body{padding-top:12px}
  .final-time{margin-top:10px}
  .final-venue{margin-top:8px}
  .final-count{margin-top:8px}
  .final-invite{margin-top:14px}
  .final-quote{font-size:18px;margin-top:12px}
  .final-date{font-size:21px}
}

/* v27：P13 q3 + 轻蒙版；P16/P17 拆回两页 */
.n13m-grid{position:relative}
.n13m-copy{position:absolute;left:0;right:0;bottom:0;z-index:2;padding:30px 18px 18px;background:linear-gradient(to top,rgba(8,8,9,.58) 0%,rgba(8,8,9,.28) 55%,rgba(8,8,9,0) 100%)}
.n13m-copy .n-quote{font-size:18px;line-height:1.55;white-space:nowrap;text-shadow:0 1px 3px rgba(0,0,0,.85)}
.n13m-copy .n-note{font-size:7.5px;margin-top:7px;color:rgba(237,230,218,.82);text-shadow:0 1px 3px rgba(0,0,0,.8)}

@media (max-height:660px){
  .n13m-copy{padding:24px 16px 14px}
  .n13m-copy .n-quote{font-size:16px}
}

/* v28：P13 文案回图下、去蒙版；P17 文字重排 */
.n13m{display:flex;flex-direction:column;align-items:center;padding:calc(var(--safe-t) + 22px) 18px calc(var(--safe-b) + 86px);background:var(--ink)}
.n13m-grid{position:relative;width:92%;display:grid;grid-template-columns:1fr 1fr;gap:8px;overflow:visible}
.n13m-copy{position:static;width:92%;margin-top:16px;padding:0;background:none;left:auto;right:auto;bottom:auto}
.n13m-copy .n-quote{font-size:18px;line-height:1.6;white-space:nowrap;text-shadow:none}
.n13m-copy .n-note{font-size:7.5px;margin-top:7px;color:rgba(237,230,218,.8);text-shadow:none}

.f-title{font-size:clamp(25px,3.8vh,32px);letter-spacing:.1em}
.f-date{margin-top:14px}
.f-quote{margin-top:22px}

@media (max-height:660px){
  .n13m-copy{margin-top:10px}
  .n13m-copy .n-quote{font-size:16px}
  .f-title{font-size:23px}
  .f-date{margin-top:10px}
  .f-quote{margin-top:14px}
}

/* v29：尾声补回「敬邀」 */
.f-sig{font-size:10px;letter-spacing:.22em;color:rgba(237,230,218,.8);margin-top:10px}
.f-date{margin-top:10px}

/* v34：尾声只保留大字诗句 + 小字敬邀 */
.f-body{padding-right:76px}
.f-quote{font-size:clamp(29px,4.6vh,37px);line-height:1.5;letter-spacing:.08em;margin:0;color:var(--cream);text-shadow:0 4px 30px rgba(0,0,0,.55)}
.f-invite{font-size:10px;letter-spacing:.18em;color:rgba(237,230,218,.78);margin-top:20px}
.f-seal{top:44px}
@media (max-height:660px){
  .f-quote{font-size:25px;line-height:1.5}
  .f-invite{font-size:9px;margin-top:14px}
}
