:root {
  --bg: #f4efe7;
  --bg-soft: #ede7dc;
  --paper: #fbf8f2;
  --ink: #2f2a2a;
  --ink-soft: #5f5750;
  --mut: #8a817a;
  --accent: #b57e84;
  --gold: #b49b6c;
  --hairline: #ded6c9;
  --serif: "Noto Serif SC", "Songti SC", "SimSun", serif;
  --latin: "Cormorant Garamond", "Georgia", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: auto; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--serif);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.no-scroll { overflow: hidden; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 22px; }
section { padding: 96px 0; }

.eyebrow {
  font-family: var(--latin); font-size: 12px; color: var(--accent);
  letter-spacing: .44em; text-indent: .44em; text-transform: uppercase;
  margin: 0;
}
.orn { display: flex; align-items: center; gap: 12px; color: var(--accent); }
.orn .rule { flex: 1; height: 1px; background: var(--hairline); }
.orn .mark { font-size: 9px; line-height: 1; }

/* 照片骨架占位用的微光动画 */
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* ============ Hero ============ */
.hero {
  min-height: 100vh; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
  padding: 90px 20px; position: relative;
}
.hero-title {
  margin: 22px 0 16px; font-weight: 600;
  font-size: clamp(38px, 7vw, 74px); letter-spacing: .08em; line-height: 1.15;
}
.hero-num {
  font-family: var(--latin); font-style: italic; font-weight: 500;
  font-size: 1.4em; color: var(--accent); line-height: 1;
}
.hero-date { margin: 10px 0 0; font-family: var(--latin); font-style: italic; color: var(--mut); font-size: 14px; letter-spacing: .12em; }
.scroll-cue {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  width: 0; height: 0;
  border-left: 9px solid transparent;
  border-right: 9px solid transparent;
  border-top: 13px solid rgba(47, 42, 42, 0.34);
  animation: cue-bounce 2.2s ease-in-out infinite;
}
@keyframes cue-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: .85; }
  50% { transform: translateX(-50%) translateY(7px); opacity: .4; }
}

/* ============ 区块标题 ============ */
.sec-head { text-align: center; margin-bottom: 46px; }
.sec-title {
  margin: 16px 0 12px; font-weight: 600;
  font-size: clamp(26px, 4.5vw, 38px); letter-spacing: .14em; text-indent: .14em;
}
.sec-sub { margin: 0; color: var(--mut); font-size: 14px; letter-spacing: .1em; }

/* ============ 照片墙 ============ */
.memories { background: linear-gradient(var(--bg), var(--bg-soft)); }
.memories .wrap { max-width: 1240px; }
.wall { display: flex; gap: 14px; align-items: flex-start; }
.wall-col { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
figure.photo {
  margin: 0; background: var(--paper);
  border: 1px solid var(--hairline); border-radius: 3px; overflow: hidden;
}
.photo .frame {
  position: relative; min-height: 200px; overflow: hidden;
  background: linear-gradient(100deg, #eae3d6 40%, #f6f1e8 50%, #eae3d6 60%);
  background-size: 200% 100%; animation: shimmer 1.5s ease-in-out infinite;
}
.photo img { display: block; width: 100%; height: auto; opacity: 0; transition: opacity .7s ease; background: var(--paper); }
.photo img.loaded { opacity: 1; }
.wall-wrap { position: relative; }
.wall, .wall-col { overflow-anchor: none; }   /* 抽顶会让浏览器自动改 scrollY，这里改由 JS 精确补偿 */
.more-btn {
  display: inline-block; padding: 12px 34px; cursor: pointer;
  font-family: inherit; font-size: 15px; letter-spacing: .22em; text-indent: .22em; color: var(--ink);
  background: rgba(251,248,242,.55);
  border: 1px solid rgba(222,214,201,.95);
  border-radius: 999px;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 10px 28px -14px rgba(47,42,42,.35);
  transition: background .2s, border-color .2s, transform .2s;
}
.more-btn:hover { background: rgba(251,248,242,.9); transform: translateY(-1px); }
.no-more { display: none; margin: 30px 0 0; text-align: center; color: var(--mut); font-size: 14px; letter-spacing: .12em; }
.no-more.show { display: block; }

/* ============ 积分 ============ */
/* 这一屏统一成一列 560px：积分卡、日志、按钮同宽，三者重心才对得齐 */
.points-sec { background: var(--bg-soft); }
.points-card {
  width: min(100%, 560px); margin: 0 auto clamp(26px, 4vh, 38px);
  display: flex; align-items: baseline; justify-content: space-between; gap: clamp(16px, 3vw, 28px);
  background: var(--paper); border: 1px solid var(--hairline); border-radius: 3px;
  padding: clamp(22px, 3.4vh, 32px) clamp(20px, 2.8vw, 34px);
  box-shadow: 0 1px 2px rgba(47,42,42,.05), 0 26px 60px -40px rgba(47,42,42,.35);
}
.points-total-label { margin: 0; font-family: var(--latin); font-size: 13px; letter-spacing: .3em; text-indent: .3em; color: var(--mut); text-transform: uppercase; white-space: nowrap; }
.points-total { margin: 0; font-family: var(--latin); font-weight: 500; font-size: clamp(44px, 6vw, 58px); line-height: .9; letter-spacing: .01em; color: var(--accent); font-variant-numeric: tabular-nums; }
.points-owner { margin: 0; font-size: 15px; letter-spacing: .3em; text-indent: .3em; color: var(--ink); }

.logs { width: min(100%, 560px); margin: 0 auto; border-top: 1px solid var(--hairline); padding-top: 4px; }
.log { display: flex; align-items: center; gap: 14px; padding: 15px 4px; border-bottom: 1px solid var(--hairline); }
.log:last-child { border-bottom: none; }
.log-date { font-family: var(--latin); font-size: 13px; color: var(--mut); min-width: 54px; letter-spacing: .05em; }
.log-text { flex: 1; font-size: 15px; color: var(--ink); }
.log-delta { font-family: var(--latin); font-size: 16px; font-weight: 600; min-width: 46px; text-align: right; font-variant-numeric: tabular-nums; }
.log-delta.up { color: #6f8f78; }
.log-delta.down { color: #b06a6a; }

.logs-more-wrap { width: min(100%, 560px); margin: 26px auto 0; text-align: center; }

/* ============ 喜欢的东西（一张张卡片随机掉落、层层叠起来） ============ */
.hobbies-sec { background: var(--bg-soft); }
.hobbies {
  position: relative; max-width: 900px;
  height: clamp(300px, 56vh, 480px);
  margin: 0 auto;
  background: rgba(251, 248, 242, .5);
  border: 1px solid var(--hairline); border-radius: 10px;
  overflow: hidden;
}
.hobby-card {
  position: absolute;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 15px; white-space: nowrap;
  background: var(--paper); border: 1px solid var(--hairline); border-radius: 999px;
  box-shadow: 0 10px 24px -12px rgba(47,42,42,.35);
  font-size: 14.5px; line-height: 1.2; color: var(--ink); letter-spacing: .03em;
  opacity: 0;
  transform: translateY(-46px) rotate(var(--rot, 0deg)) scale(.98);
  transition: opacity .32s ease, transform .5s cubic-bezier(.34,1.42,.64,1);
}
.hobby-card.in { opacity: 1; transform: translateY(0) rotate(var(--rot, 0deg)) scale(1); }
.hobby-icon { font-size: 17px; line-height: 1; }

/* ============ 信：按钮 + 弹层 ============ */
.letter-sec { background: linear-gradient(var(--bg-soft), var(--bg)); }
.open-wrap { text-align: center; padding: 10px 0 0; }
.seal-btn {
  display: inline-flex; flex-direction: column; align-items: center; gap: 16px;
  background: none; border: none; cursor: pointer; padding: 0;
  font-family: inherit; color: var(--ink);
}
.seal-btn-ring {
  width: 104px; height: 104px; border-radius: 50%;
  display: grid; place-items: center; font-size: 28px; color: #fff;
  background: radial-gradient(circle at 34% 30%, #d9a3a8, #b57e84 72%);
  box-shadow: 0 16px 34px -14px rgba(181,126,132,.75), inset 0 -5px 12px rgba(0,0,0,.14);
  transition: transform .28s cubic-bezier(.22,1,.36,1), box-shadow .28s ease;
}
.seal-btn:hover .seal-btn-ring { transform: scale(1.06) rotate(-4deg); box-shadow: 0 20px 40px -14px rgba(181,126,132,.9); }
.seal-btn-label { font-size: 16px; letter-spacing: .34em; text-indent: .34em; }
.open-hint { margin: 12px 0 0; color: var(--mut); font-size: 13px; letter-spacing: .08em; }

/* ============ 最后一幕：空白结尾 + 两个小弹窗 ============ */
.foot { position: relative; }
.foot-hit {
  position: absolute; inset: 0; width: 100%; height: 100%;
  padding: 0; background: none; border: 0; cursor: default;
}
.ask-card {
  width: min(420px, 88vw); margin: 0 auto;
  padding: clamp(26px, 4.4vh, 38px) clamp(22px, 4vw, 34px);
  background: var(--paper); border: 1px solid var(--hairline); border-radius: 4px;
  box-shadow: 0 30px 70px -40px rgba(47,42,42,.55);
  text-align: center;
  transform: translateY(12px) scale(.98); opacity: 0;
  transition: transform .5s cubic-bezier(.22,1,.36,1), opacity .45s ease;
}
.modal.show .ask-card { transform: none; opacity: 1; }
#askModal .modal-body, #passModal .modal-body { max-width: 420px; }
.ask-title {
  margin: 0 0 clamp(20px, 3.2vh, 28px);
  font-size: clamp(19px, 2.3vw, 22px); font-weight: 600; letter-spacing: .06em; color: var(--ink);
}
.ask-actions { display: flex; gap: 12px; justify-content: center; }
.ask-btn {
  min-width: 104px; padding: 11px 22px; cursor: pointer;
  font-family: inherit; font-size: 15px; letter-spacing: .18em; text-indent: .18em; color: var(--ink);
  background: var(--bg); border: 1px solid var(--hairline); border-radius: 999px;
  transition: background .2s, border-color .2s, color .2s, transform .2s;
}
.ask-btn:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-1px); }
.ask-btn-main { background: var(--accent); border-color: var(--accent); color: #fff; }
.ask-btn-main:hover { background: #a8737a; border-color: #a8737a; color: #fff; }
.ask-input {
  width: 100%; padding: 9px 4px 12px; margin: 0 0 2px; text-align: center;
  font-family: inherit; font-size: 19px; letter-spacing: .16em; text-indent: .16em; color: var(--ink);
  background: none; border: 0; border-bottom: 1px solid var(--hairline); border-radius: 0;
}
.ask-input:focus { outline: none; border-color: var(--accent); }
.ask-input::placeholder { color: rgba(138,129,122,.6); letter-spacing: .1em; }
.ask-err { min-height: 1.2em; margin: 10px 0 16px; font-size: 13px; letter-spacing: .06em; color: #b06a6a; opacity: 0; transition: opacity .25s; }
.ask-err.show { opacity: 1; }

/* 还没到第 200 天：点「拆开信封」只弹这一句 */
.letter-gate { display: none; }
.modal.is-gated .letter-gate {
  display: block; width: min(460px, 88vw);
  padding: clamp(30px, 5vh, 46px) clamp(24px, 4vw, 40px);
  background: var(--paper); border: 1px solid var(--hairline); border-radius: 4px;
  box-shadow: 0 30px 70px -40px rgba(47,42,42,.55);
  text-align: center;
  transform: translateY(12px) scale(.98); opacity: 0;
  transition: transform .55s cubic-bezier(.22,1,.36,1), opacity .45s ease;
}
.modal.show .letter-gate { transform: none; opacity: 1; }
.letter-gate-text {
  margin: 20px 0 0; font-size: clamp(18px, 2.2vw, 22px);
  line-height: 1.95; letter-spacing: .08em; color: var(--ink);
}
.modal.is-gated .stage, .modal.is-gated .skip-btn { display: none; }
.modal.is-gated .modal-body { max-width: 460px; }   /* 让关闭按钮贴在卡片右上角，不飘到一边 */

/* ============ 信封弹层 ============ */
.modal { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal.show { display: flex; }
.modal-backdrop {
  position: absolute; inset: 0; background: rgba(38,32,32,.55);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  opacity: 0; transition: opacity .45s ease;
}
.modal.show .modal-backdrop { opacity: 1; }
.modal-body { position: relative; width: 100%; max-width: 700px; display: flex; flex-direction: column; align-items: center; }

.stage { display: grid; place-items: center; width: 100%; min-height: 520px; }
.envelope, .letter-card { grid-area: 1 / 1; }

.envelope {
  position: relative; width: min(600px, 90vw); height: 360px; perspective: 1100px;
  transform: scale(.82) translateY(20px); opacity: 0;
  transition: transform .55s cubic-bezier(.22,1,.36,1), opacity .4s ease;
}
.modal.show .envelope { transform: scale(1) translateY(0); opacity: 1; }
.envelope-back {
  position: absolute; inset: 0; background: #eae2d2; border-radius: 6px;
  box-shadow: 0 30px 70px -30px rgba(0,0,0,.55);
}
.envelope-front {
  position: absolute; inset: 0; background: #efe7da;
  clip-path: polygon(0 0, 50% 46%, 100% 0, 100% 100%, 0 100%);
  transition: opacity .5s ease;
}
.envelope-flap {
  position: absolute; left: 0; right: 0; top: 0; height: 50%;
  background: #e3d8c2; clip-path: polygon(0 0, 100% 0, 50% 100%);
  transform-origin: top center; z-index: 3;
  transition: transform .62s ease, opacity .4s ease;
}
.envelope-flap::after {
  content: ''; position: absolute; left: 50%; bottom: 4px; transform: translateX(-50%);
  width: 36px; height: 36px; border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, #d9a3a8, #b57e84 72%);
  box-shadow: 0 4px 10px -3px rgba(181,126,132,.7);
}
.envelope.open .envelope-flap { transform: rotateX(180deg); }
.envelope.revealed { opacity: 0; transform: scale(.9) translateY(26px); }
.envelope.revealed .envelope-front { opacity: 0; }
.envelope.revealed .envelope-flap { opacity: 0; }

.letter-card {
  position: relative; width: min(620px, 92vw); max-height: 74vh; overflow-y: auto;
  background: var(--paper); border: 1px solid var(--hairline); border-radius: 3px;
  padding: 46px 42px 42px;
  box-shadow: 0 1px 2px rgba(47,42,42,.05), 0 42px 90px -50px rgba(47,42,42,.55);
  opacity: 0; transform: scaleY(.55) scale(.94); transform-origin: top center;
  transition: opacity .5s ease, transform .6s cubic-bezier(.22,1,.36,1);
  pointer-events: none;
}
.letter-card.in { opacity: 1; transform: scaleY(1) scale(1); pointer-events: auto; }
.letter-title { margin: 20px 0 20px; text-align: center; font-weight: 600; font-size: 26px; letter-spacing: .22em; text-indent: .22em; min-height: 1.2em; }
.letter-to { margin: 0 0 16px; font-size: 15px; min-height: 1.5em; }
.letter-body { font-size: 16.5px; line-height: 2.1; color: var(--ink); }
.letter-body p { margin: 0 0 1.1em; min-height: 1.2em; }
.letter-sign { margin: 24px 0 4px; text-align: right; font-weight: 600; font-size: 15px; min-height: 1.4em; }
.letter-date { margin: 0; text-align: right; font-family: var(--latin); font-style: italic; color: var(--accent); font-size: 13.5px; min-height: 1.4em; }
.orn-foot { margin-top: 24px; }

.cursor {
  display: inline-block; width: 2px; height: 1.05em; margin-left: 2px;
  background: var(--accent); vertical-align: -0.18em; animation: blink 1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.skip-btn {
  display: none; margin-top: 18px; padding: 8px 16px; cursor: pointer;
  font-family: inherit; font-size: 13px; letter-spacing: .15em; color: var(--mut);
  background: transparent; border: 1px solid var(--hairline); border-radius: 2px;
  transition: color .18s, border-color .18s, background .18s;
}
.skip-btn:hover { color: var(--ink); border-color: var(--ink); }
.skip-btn.show { display: inline-block; }

.modal-close {
  position: absolute; top: -6px; right: 0; width: 40px; height: 40px; cursor: pointer;
  font-size: 22px; line-height: 1; color: #fff; background: rgba(0,0,0,.28);
  border: none; border-radius: 50%; transition: background .18s, transform .18s;
}
.modal-close:hover { background: rgba(0,0,0,.5); transform: rotate(90deg); }

/* ============ 结尾 ============ */
.foot { text-align: center; padding: 72px 22px 84px; border-top: 1px solid var(--hairline); }
.foot .foot-line { margin: 16px 0 10px; font-size: 19px; letter-spacing: .12em; }
.foot .foot-date { margin: 0; font-family: var(--latin); font-style: italic; color: var(--mut); font-size: 14px; }

/* ============ 滚动显现 ============ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .85s ease, transform .85s cubic-bezier(.22,1,.36,1); }
.reveal.in { opacity: 1; transform: none; }

/* ============ 整屏模块：每次下滑进入下一个模块（过渡由 app.js 控制） ============ */
#site > section, #site > footer {
  height: 100vh;
  height: 100svh;
  display: flex; flex-direction: column;
  justify-content: center; justify-content: safe center;
  overflow-x: hidden; overflow-y: auto;
  padding: clamp(48px, 7vh, 84px) 0;
}
#site > section > .wrap { width: 100%; min-height: 0; }
#site > .hero { padding-left: 20px; padding-right: 20px; }
#site > .foot { padding-left: 22px; padding-right: 22px; }

/* 照片墙：本模块**不参与整屏吸附** —— 高度由照片数量决定，页面自由滚动，滚到底自动加载下一批 */
#site > .memories {
  height: auto; min-height: 100svh; flex: 0 0 auto;
  justify-content: flex-start;
  padding-bottom: clamp(64px, 10vh, 120px);
}
.memories .wrap { display: flex; flex-direction: column; }
.memories .sec-head { flex: 0 0 auto; }
.memories .wall-wrap { margin-top: clamp(20px, 3.4vh, 40px); }
.memories .more-wrap { flex: 0 0 auto; margin-top: clamp(30px, 5vh, 54px); text-align: center; }
.memories .more-wrap[hidden] { display: none; }
.memories .no-more { flex: 0 0 auto; margin-top: clamp(34px, 6vh, 64px); }

/* ---- 照片墙虚化态：她的照片照旧铺满整面墙（能加载、能滑），整墙虚化，一句话浮在墙面上 ----
   注意 overflow 必须放成 visible，否则 sticky 会把模块自己当滚动容器，文案就不跟着窗口走了 */
#site > .memories.mem-blur {
  position: relative;
  overflow: visible;
  padding: 0;                    /* 整墙通到屏幕两侧，才像「背景」 */
}
.mem-blur .wrap {
  max-width: none; padding: 0;
  margin-top: -100vh; margin-top: -100svh;   /* 把墙提上来盖住 overlay 那屏（不能用 overlay 的负 margin，
                                                那会把 sticky 的可粘范围撑出模块底部，句子会压到下一屏去） */
}
.mem-blur .wall-wrap { margin-top: 0; }
.mem-blur .wall, .mem-blur .wall-col { gap: 0; }   /* 照片之间不留缝，整墙连成一片柔光 */
.mem-blur .photo { border: 0; border-radius: 0; background: none; }
/* 照片稍微压向纸色，相邻两张的明暗差就不会显得像「一条条缝」 */
.mem-blur .photo img.loaded { opacity: .86; }
/* 整墙压一层暖纱：中间轻、四周重，上下融进页面底色 */
.mem-blur .wall-wrap::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(118% 86% at 50% 42%,
      rgba(244,239,231,.16) 0%, rgba(244,239,231,.36) 58%, rgba(244,239,231,.70) 100%),
    linear-gradient(180deg,
      rgba(244,239,231,.72) 0%, rgba(244,239,231,.05) 16%,
      rgba(244,239,231,.05) 84%, rgba(244,239,231,.72) 100%);
}
.mem-blur .more-wrap { margin-top: 0; padding: clamp(26px, 4.4vh, 44px) 0 clamp(46px, 8vh, 92px); }
.mem-overlay {
  position: sticky; top: 0; z-index: 2;
  height: 100vh; height: 100svh;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;            /* 挡不住滚动，也挡不住底下的「更多照片」按钮 */
}
.mem-overlay-inner { position: relative; text-align: center; padding: 0 24px; }
/* 文字底下垫一团柔光：椭圆渐变自己淡出，绝不留矩形硬边 */
.mem-overlay-inner::before {
  content: ""; position: absolute; z-index: -1;
  left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: min(94vw, 780px); height: min(74vh, 540px);
  background: radial-gradient(ellipse at center,
    rgba(244,239,231,.97) 0%, rgba(244,239,231,.93) 28%,
    rgba(244,239,231,.66) 54%, rgba(244,239,231,.22) 78%,
    rgba(244,239,231,0) 100%);
}
.mem-blur .sec-head { margin-bottom: clamp(22px, 3.4vh, 32px); }

.mem-note-wrap { display: flex; flex-direction: column; align-items: center; text-align: center; }
.mem-rule { width: 46px; height: 1px; background: var(--hairline); margin: 0 0 clamp(18px, 2.8vh, 26px); }
.mem-note {
  margin: 0;
  font-size: clamp(17px, 2.05vw, 22px);
  line-height: 2.05; letter-spacing: .1em; text-indent: .1em;
  color: var(--ink-soft);
}
.mem-blur .no-more { display: none; }   /* 这句话本身就是结尾，不用再来一条「等待我们继续创造更多回忆」 */

/* 积分模块：内容整体垂直居中（原来日志 flex:1 会把内容拉散、下方留空腔）；
   日志用 0 1 auto —— 内容少时保持自然高度，多到放不下才在模块内滚动 */
.points-sec .wrap { display: flex; flex-direction: column; justify-content: center; flex: 1 1 auto; min-height: 0; }
.points-sec .sec-head { flex: 0 0 auto; }
.points-sec .points-card { flex: 0 0 auto; }
.points-sec .logs { flex: 0 1 auto; min-height: 0; overflow-y: auto; }
.points-sec .logs-more-wrap { flex: 0 0 auto; }

/* ============ 模块外壳：新增模块统一用它，保证「一屏一个模块」 ============ */
.mod .mod-wrap { display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; }
.mod .sec-head { flex: 0 0 auto; }
.mod .mod-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding-right: 8px; }
.mod .mod-body::-webkit-scrollbar { width: 6px; }
.mod .mod-body::-webkit-scrollbar-thumb { background: rgba(47,42,42,.15); border-radius: 3px; }

/* 新模块之间的底色节奏（交替），仅此三行由 Lead 决定 */
#m-timeline { background: var(--bg); }
#m-wishes { background: var(--bg-soft); }


/* ============ 移动端 ============ */
@media (max-width: 560px) {
  section { padding: 72px 0; }
  .wall { gap: 12px; }
  .wall-col { gap: 12px; }
  .letter-card { padding: 34px 24px 32px; }
  .letter-title { font-size: 22px; }
  .stage { min-height: 460px; }
  .envelope { height: 300px; }
  .modal-close { top: -44px; right: 0; }
  /* 手机：板子给高一点、卡片缩一档，48 张才铺得开 */
  .hobbies { height: clamp(300px, 68vh, 620px); }
  .hobby-card { padding: 6px 11px; font-size: 12.5px; gap: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .scroll-cue { animation: none; }
  .hobby-card { transition: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .cursor { animation: none; }
}
