/* =============================================
   婚礼请柬 · 高还原杂志长页
   取样：纸底 #F3F0E9 冷米灰 / 正文深墨 / 点缀砖红
   ============================================= */

/* 自托管子集字体（只含页面用到的字符） */
@font-face {
  font-family: "Noto Serif SC";
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/NotoSerifSC-400.woff2") format("woff2");
}
@font-face {
  font-family: "Noto Serif SC";
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/NotoSerifSC-500.woff2") format("woff2");
}
@font-face {
  font-family: "Noto Serif SC";
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/NotoSerifSC-600.woff2") format("woff2");
}
@font-face {
  font-family: "Cormorant Garamond";
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/Cormorant-400.woff2") format("woff2");
}
@font-face {
  font-family: "Cormorant Garamond";
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/Cormorant-500.woff2") format("woff2");
}
@font-face {
  font-family: "Cormorant Garamond";
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/Cormorant-600.woff2") format("woff2");
}
@font-face {
  font-family: "MonteCarlo";
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/MonteCarlo.woff2") format("woff2");
}
@font-face {
  font-family: "Zhi Mang Xing";
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/ZhiMangXing.woff2") format("woff2");
}

:root {
  /* 纸感 —— 对齐参考图取样 #F3F0E9 冷米灰，不是奶黄/亮白 */
  --bg: #f3f0e9;
  --bg-deep: #ebe7de;
  --paper: #f6f3ec;
  --ink: #2a2623;
  --ink-2: #3a342f;
  --body: #4c453d;
  --muted: #8f877e;
  --line: #ddd6ca;
  --line-soft: #e8e2d7;
  --accent: #8b3a35; /* 原帖标题 / WEDDING TIME 的暗砖红 */
  --accent-2: #a45d58;
  --heart: #c0392b; /* 日历爱心的亮红 */
  --btn: #6d1f1a; /* 提交按钮深酒红 */
  --map-bg: #e8eef3;
  --shadow: 0 8px 24px rgba(40, 30, 20, 0.05);
  --max: 420px;

  --serif-cn: "Noto Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --serif-en: "Cormorant Garamond", "Times New Roman", "Palatino Linotype", serif;
  --script-en: "MonteCarlo", "Snell Roundhand", "Apple Chancery", cursive;
  --hand-cn: "Zhi Mang Xing", "Long Cang", "Kaiti SC", "KaiTi", cursive;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

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

html,
body {
  margin: 0;
  padding: 0;
  background: #e5e0d6;
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  min-height: 100vh;
}

img {
  max-width: 100%;
  display: block;
  background: var(--bg-deep);
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ========== 手机画布 ========== */
.phone {
  width: min(100vw, var(--max));
  margin: 0 auto;
  min-height: 100vh;
  /* 纤维纸纹贴图：铺大一点，避免砂粒感缩放 */
  background-color: var(--bg);
  background-image: url("assets/paper.jpg?v=2");
  background-size: 420px 420px;
  background-repeat: repeat;
  position: relative;
  overflow-x: hidden;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.04), 0 18px 50px rgba(0, 0, 0, 0.1);
}

/* 细颗粒 + 大尺度云斑两层，贴近原帖纸面 */
.phone::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.17;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.35'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.phone::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.09;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 420 420' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='m'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.009' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23m)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

.phone > * {
  position: relative;
  z-index: 1;
}

/* ========== 音乐悬浮钮：珍珠圆盘 ========== */
.music-btn {
  position: fixed;
  top: 14px;
  right: max(14px, calc(50vw - var(--max) / 2 + 14px));
  z-index: 60;
  width: 64px;
  height: 64px;
  border: 0;
  padding: 0;
  border-radius: 50%;
  background: transparent;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.music-btn .pearl {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(
    circle at 34% 30%,
    rgba(253, 252, 249, 0.96),
    rgba(217, 211, 202, 0.94) 42%,
    rgba(156, 148, 137, 0.94) 78%,
    rgba(134, 126, 115, 0.94)
  );
  box-shadow:
    0 0 0 6px rgba(243, 240, 233, 0.5),
    0 6px 16px rgba(60, 50, 40, 0.18);
}

.music-btn .arrow {
  width: 22px;
  height: 22px;
  transform: translate(3px, -3px);
  opacity: 0.92;
}

.music-btn.playing .pearl {
  animation: spin 3.2s linear infinite;
}

.music-btn.muted .pearl {
  opacity: 0.82;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ========== 开启页 ========== */
/* 手机：照片列铺满全屏；宽屏：中间手机宽清晰照片列 + 两侧模糊暗化铺底 */
.gate {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
  color: #f7f0e6;
  text-align: center;
  background: #221b16;
  overflow: hidden;
}

.gate::before {
  content: "";
  position: absolute;
  inset: -60px;
  background: center/cover no-repeat var(--gate-image, #2a221c);
  filter: blur(36px) brightness(0.4) saturate(0.9);
}

.gate::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: min(100vw, var(--max));
  transform: translateX(-50%);
  background:
    linear-gradient(180deg, rgba(28, 22, 18, 0.42), rgba(22, 17, 14, 0.72)),
    center/cover no-repeat var(--gate-image, #2a221c);
  box-shadow: 0 0 70px rgba(0, 0, 0, 0.4);
}

.gate.hidden {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.55s ease;
}

.gate-card {
  position: relative;
  z-index: 1;
  width: min(300px, 100%);
  padding: 34px 22px 28px;
  border: 1px solid rgba(232, 210, 170, 0.45);
  background: rgba(18, 14, 12, 0.28);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.gate-kicker {
  font-family: var(--serif-en);
  font-size: 11px;
  letter-spacing: 0.32em;
  opacity: 0.78;
}

.gate-title {
  margin: 16px 0 8px;
  font-family: var(--serif-cn);
  font-weight: 500;
  font-size: 26px;
  letter-spacing: 0.18em;
}

.gate-sub {
  font-family: var(--serif-cn);
  font-size: 13px;
  letter-spacing: 0.12em;
  opacity: 0.8;
  margin-bottom: 26px;
}

.gate-btn {
  appearance: none;
  border: 1px solid rgba(247, 240, 230, 0.55);
  background: transparent;
  color: #f7f0e6;
  padding: 11px 26px;
  border-radius: 999px;
  letter-spacing: 0.22em;
  font-size: 13px;
  cursor: pointer;
}

/* ========== 通用 ========== */
.fade-up {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.85s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.85s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.fade-up.in {
  opacity: 1;
  transform: none;
}

.pad {
  padding-left: 28px;
  padding-right: 28px;
}

.center {
  text-align: center;
}

/* ========== 1. 封面 ========== */
.cover {
  padding: 40px 28px 18px;
  text-align: center;
}

.cover-title {
  margin: 0;
  font-family: var(--serif-cn);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 0.14em;
  color: var(--accent);
  line-height: 1.6;
}

.cover-title .bq {
  color: var(--accent);
  font-weight: 400;
  padding: 0 1px;
}

.cover-en {
  margin: -4px 0 26px;
  font-family: var(--script-en);
  font-weight: 400;
  font-size: 32px;
  line-height: 1.2;
  letter-spacing: 0.01em;
  color: #37322b;
}

.cover-photo {
  margin: 0 auto;
  width: 100%;
  max-width: 252px;
  aspect-ratio: 3 / 4.1;
  overflow: hidden;
  background: var(--bg-deep);
}

.cover-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ========== 2. Hey 邀请 ========== */
.invite {
  padding: 34px 32px 6px;
  text-align: center;
}

.invite-hey {
  margin: 0 0 20px;
  font-family: var(--serif-cn);
  font-weight: 500;
  font-size: 17px;
  line-height: 1.4;
  color: var(--ink);
  letter-spacing: 0.06em;
}

.invite-line1 {
  margin: 0;
  font-family: var(--serif-cn);
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0.1em;
  color: var(--ink-2);
}

.invite-names {
  margin: 12px 0 20px;
  font-family: var(--serif-cn);
  font-weight: 500;
  font-size: 14.5px;
  letter-spacing: 0.1em;
  color: var(--ink);
}

.invite-desc {
  margin: 0 auto;
  max-width: 26em;
  font-family: var(--serif-cn);
  font-size: 12.5px;
  line-height: 1.9;
  color: var(--ink-2);
  letter-spacing: 0.03em;
  white-space: nowrap;
}

/* 手绘婚礼场景 */
.doodles {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  margin: 26px auto 4px;
}

.doodles .doodle-scene {
  width: min(196px, 60%);
  height: auto;
  display: block;
  background: transparent !important;
  user-select: none;
  pointer-events: none;
}

@media (max-width: 380px) {
  .invite-desc {
    white-space: normal;
  }
}

/* ========== 3. 音乐条 ========== */
/* 对齐原帖：白色圆角卡片，文字在左、封面在右、均衡器在文字区右下 */
.music-bar {
  margin: 20px 30px 14px;
  padding: 11px 11px 11px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fbfaf5;
  border: 0;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(60, 50, 40, 0.07), 0 1px 2px rgba(60, 50, 40, 0.05);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.music-bar:active {
  transform: scale(0.99);
}

.music-bar .meta {
  min-width: 0;
  flex: 1;
  text-align: left;
}

.music-bar .label {
  font-size: 15px;
  line-height: 1.35;
  color: #2b2823;
  letter-spacing: 0.02em;
  margin-bottom: 5px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.music-bar .song {
  font-size: 12px;
  line-height: 1.3;
  color: #b3aca2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: 0.02em;
}

.eq {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 2.5px;
  width: 17px;
  height: 13px;
  flex: 0 0 auto;
  align-self: flex-end;
  margin: 0 4px 6px 0;
}

.eq i {
  display: block;
  width: 2.5px;
  height: 100%;
  background: #3f3a34;
  border-radius: 1px;
  transform-origin: bottom center;
  animation: eq 0.95s ease-in-out infinite;
}

.eq i:nth-child(1) {
  height: 45%;
  animation-delay: 0s;
}
.eq i:nth-child(2) {
  height: 100%;
  animation-delay: 0.18s;
}
.eq i:nth-child(3) {
  height: 62%;
  animation-delay: 0.32s;
}
.eq i:nth-child(4) {
  height: 82%;
  animation-delay: 0.1s;
}

.eq.paused i {
  animation: none;
}
.eq.paused i:nth-child(1) {
  height: 40%;
}
.eq.paused i:nth-child(2) {
  height: 90%;
}
.eq.paused i:nth-child(3) {
  height: 55%;
}
.eq.paused i:nth-child(4) {
  height: 75%;
}

@keyframes eq {
  0%,
  100% {
    transform: scaleY(0.4);
  }
  50% {
    transform: scaleY(1);
  }
}

.music-bar .music-cover {
  width: 58px;
  height: 58px;
  border-radius: 9px;
  overflow: hidden;
  flex: 0 0 auto;
  background: #ebe4d8;
}

.music-bar .music-cover img,
.music-bar .music-cover .ph {
  width: 58px;
  height: 58px;
  object-fit: cover;
  display: block;
  min-height: 0;
  background: #ebe4d8;
}

/* ========== 4. 信念文案 ========== */
.belief {
  padding: 26px 36px 6px;
  text-align: center;
}

.belief h3 {
  margin: 0;
  font-family: var(--serif-cn);
  font-weight: 400;
  font-size: 13.5px;
  letter-spacing: 0.05em;
  color: #33302a;
  line-height: 2.2;
}

.belief p {
  margin: 0;
  white-space: pre-line;
  font-family: var(--serif-cn);
  font-size: 13.5px;
  line-height: 2.2;
  color: #33302a;
  letter-spacing: 0.05em;
}

/* ========== 5. 新郎新娘 ========== */
.couple {
  padding: 24px 28px 8px;
  text-align: center;
}

.couple-avatars {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  margin-bottom: 16px;
}

.avatar {
  width: 128px;
  height: 128px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--bg-deep);
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.xi {
  font-family: var(--serif-cn);
  font-size: 26px;
  font-weight: 700;
  color: #b8322c;
  line-height: 1;
  flex: 0 0 auto;
  transform: translateY(-16px);
}

.couple-names {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 6px auto 20px;
  max-width: 320px;
}

.person .role {
  font-family: var(--serif-en);
  font-size: 14px;
  color: var(--accent);
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.person .name {
  font-family: var(--serif-cn);
  font-weight: 500;
  font-size: 17px;
  letter-spacing: 0.24em;
  text-indent: 0.24em;
  color: var(--ink);
}

.story {
  margin: 8px auto 0;
  max-width: 24em;
  font-family: var(--serif-cn);
  font-size: 13.5px;
  line-height: 2.3;
  color: #33302a;
  letter-spacing: 0.04em;
}

.story p {
  margin: 0;
}

/* ========== 6. 照片与旁白 ========== */
.caption {
  padding: 28px 36px 12px;
  text-align: center;
  font-family: var(--serif-cn);
  font-weight: 400;
  font-size: 13.5px;
  letter-spacing: 0.06em;
  color: #33302a;
  line-height: 2.2;
  white-space: pre-line;
}

.shot {
  padding: 11px 22px;
}

.shot img,
.shot .ph {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.shot.wide img,
.shot.wide .ph {
  aspect-ratio: 4 / 3;
}

.shot.tall img,
.shot.tall .ph {
  aspect-ratio: 3 / 4;
}

/* ========== 7. 关于我们 ========== */
.about {
  padding: 34px 0 8px;
}

.sec-title {
  margin: 0 28px 22px;
  text-align: center;
  font-family: var(--hand-cn);
  font-weight: 400;
  font-size: 32px;
  letter-spacing: 0.06em;
  color: #2f2b26;
  line-height: 1.4;
}

.sec-title .bq {
  font-family: inherit;
  font-weight: 400;
  color: inherit;
  letter-spacing: 0;
  text-indent: 0;
  padding: 0 2px;
}

.about-hero {
  padding: 4px 22px 6px;
}

.about-hero img,
.about-hero .ph {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.tl {
  margin-top: 6px;
  padding: 0 28px;
}

.tl-item {
  padding: 24px 0 8px;
}

.tl-date {
  font-family: var(--serif-cn);
  font-size: 15px;
  letter-spacing: 0.05em;
  color: #33302a;
  margin-bottom: 14px;
  font-weight: 500;
}

.tl-date .bq {
  font-family: var(--serif-cn);
  font-size: 15px;
  color: #33302a;
  font-weight: 400;
}

.tl-text {
  white-space: pre-line;
  font-family: var(--serif-cn);
  font-size: 13.5px;
  line-height: 2.25;
  color: #3a342d;
  margin-bottom: 16px;
  letter-spacing: 0.03em;
}

.tl-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.tl-photos img,
.tl-photos .ph {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.closing {
  margin: 22px 28px 8px;
  padding: 8px 0;
  text-align: center;
  white-space: pre-line;
  font-family: var(--serif-cn);
  font-size: 13.5px;
  line-height: 2.3;
  color: #33302a;
  letter-spacing: 0.03em;
}

/* ========== 8. 婚礼时间 ========== */
.time-sec {
  padding: 34px 28px 8px;
  text-align: left;
}

.kicker {
  font-family: var(--serif-en);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.3em;
  color: var(--accent);
  text-transform: uppercase;
}

.sec-cn {
  margin: 10px 0 0;
  font-family: var(--serif-cn);
  font-size: 15px;
  letter-spacing: 0.08em;
  color: var(--ink-2);
}

.bullet-line {
  margin-top: 16px;
  font-family: var(--serif-cn);
  font-size: 14px;
  letter-spacing: 0.06em;
  color: var(--ink-2);
}

.bullet-line .dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3a342f;
  margin-right: 12px;
  vertical-align: 2px;
}

.sub-line {
  margin: 4px 0 0 19px;
  font-family: var(--serif-cn);
  font-size: 13px;
  color: var(--ink-2);
  letter-spacing: 0.08em;
}

/* 日历：无卡片，直接落在纸面上 */
.calendar {
  width: min(268px, 100%);
  margin: 26px auto 6px;
}

.cal-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 4px;
  font-family: var(--serif-en);
  color: var(--accent);
  font-feature-settings: "lnum" 1;
  font-variant-numeric: lining-nums;
}

.cal-head .md {
  display: flex;
  align-items: baseline;
  gap: 7px;
}

.cal-head .md .big {
  font-size: 40px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.02em;
}

.cal-head .md .small {
  font-size: 16px;
  letter-spacing: 0.05em;
}

.cal-head .year {
  font-size: 15px;
  letter-spacing: 0.08em;
}

.cal-week,
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}

.cal-week {
  border-bottom: 1px solid #9b5f58;
  padding-bottom: 7px;
  margin-bottom: 6px;
}

.cal-week div {
  font-size: 12px;
  color: var(--accent);
  padding: 4px 0 0;
  font-family: var(--serif-cn);
  text-align: center;
}

.cal-cell {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  font-family: var(--serif-en);
  font-size: 13px;
  color: #6b635a;
  position: relative;
  font-feature-settings: "lnum" 1;
  font-variant-numeric: lining-nums;
}

.cal-cell.heart {
  color: var(--heart);
  font-weight: 600;
}

.cal-cell.heart svg {
  position: absolute;
  width: 30px;
  height: 30px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -52%);
}

.cal-cell.heart span {
  position: relative;
  z-index: 1;
  font-size: 12px;
}

/* ========== 9. 流程 ========== */
.schedule {
  padding: 16px 24px 10px;
}

.sch-row {
  display: grid;
  grid-template-columns: 74px 44px 40px minmax(0, 1fr);
  gap: 6px;
  padding: 16px 2px;
  align-items: center;
}

.sch-label {
  font-family: var(--serif-cn);
  font-size: 14.5px;
  letter-spacing: 0.08em;
  color: var(--ink-2);
  text-align: left;
  white-space: nowrap;
}

.sch-icon {
  width: 42px;
  height: 42px;
  color: #3d3833;
  display: grid;
  place-items: center;
}

.sch-icon img,
.sch-icon svg {
  width: 38px;
  height: 38px;
  display: block;
  object-fit: contain;
  background: transparent !important;
}

.sch-dots {
  height: 0;
  border-top: 2px dotted #a1978b;
  width: 100%;
  transform: translateY(1px);
}

.sch-right {
  text-align: left;
  font-size: 13.5px;
  color: var(--ink-2);
  letter-spacing: 0.02em;
  line-height: 1.5;
  min-width: 0;
  font-family: var(--serif-cn);
}

.sch-time {
  font-family: var(--serif-en);
  font-size: 14px;
  color: var(--ink-2);
  letter-spacing: 0.03em;
  margin-right: 0;
  font-feature-settings: "lnum" 1;
  font-variant-numeric: lining-nums;
}

.sch-desc {
  margin-top: 0;
  font-size: 13.5px;
  color: var(--ink-2);
  letter-spacing: 0.02em;
}

/* ========== 10. 地址 ========== */
.address {
  padding: 30px 28px 8px;
  text-align: left;
}

.map {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  background: var(--map-bg);
  min-height: 156px;
  margin-top: 20px;
}

.map img {
  width: 100%;
  height: 156px;
  object-fit: cover;
}

.map-fallback {
  height: 156px;
  display: grid;
  place-items: center;
  background:
    linear-gradient(160deg, #dfe8f0 0%, #eef2e9 48%, #f2ebe2 100%);
  color: var(--body);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  line-height: 1.8;
}

.map-nav {
  position: absolute;
  right: 12px;
  top: 64%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #00b578;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
}

.map-nav svg {
  width: 18px;
  height: 18px;
  display: block;
}

/* ========== 11. 着装 ========== */
.dress {
  margin: 26px 24px 4px;
  text-align: center;
}

.dress-line {
  margin: 0 0 16px;
  font-family: var(--serif-cn);
  font-size: 14px;
  color: var(--ink-2);
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.dress-line .d-en {
  font-family: var(--serif-en);
  font-weight: 600;
  font-size: 15px;
  color: var(--accent);
  letter-spacing: 0.06em;
  margin: 0 4px 0 8px;
}

.dress-line .d-sep {
  color: #b7aea3;
  margin: 0 6px;
}

.dress-colors {
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  font-family: var(--serif-cn);
  font-size: 13px;
  color: var(--ink-2);
  letter-spacing: 0.1em;
}

.swatches {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.swatch {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06) inset;
}

/* ========== 12. RSVP ========== */
.rsvp {
  padding: 30px 28px 14px;
}

.rsvp-intro {
  text-align: center;
  margin-bottom: 26px;
  font-family: var(--serif-cn);
  font-size: 13px;
  line-height: 2.3;
  color: #3a342d;
  letter-spacing: 0.03em;
}

.rsvp-intro p {
  margin: 0;
}

/* 原帖：窄幅居中、暗红描边、纸面透明底 */
.form {
  width: min(240px, 100%);
  margin: 0 auto;
  background: transparent;
  border: 0;
  padding: 0;
}

.field {
  margin-bottom: 13px;
}

.field input {
  width: 100%;
  border: 1.5px solid #82322b;
  background: transparent;
  border-radius: 2px;
  padding: 9px 12px;
  outline: none;
  font-size: 13px;
  color: var(--ink);
  letter-spacing: 0.04em;
}

.field input::placeholder {
  color: #8b3a35;
  opacity: 0.95;
}

.field input:focus {
  box-shadow: 0 0 0 3px rgba(139, 58, 53, 0.1);
}

.submit {
  width: 100%;
  border: 0;
  border-radius: 2px;
  padding: 10px 16px;
  background: var(--btn);
  color: #f6ece2;
  letter-spacing: 0.3em;
  text-indent: 0.3em;
  font-size: 14px;
  cursor: pointer;
  margin-top: 2px;
}

.submit:active {
  filter: brightness(1.12);
}

.submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.form-note {
  margin-top: 10px;
  min-height: 1.2em;
  text-align: center;
  font-size: 12px;
  color: var(--muted);
}

.form-note.ok {
  color: #2f6d4f;
}
.form-note.err {
  color: var(--accent);
}

/* ========== 13. 结尾 ========== */
.thanks {
  padding: 52px 28px 96px;
  text-align: center;
}

.thanks-illust {
  width: 112px;
  height: auto;
  margin: 0 auto 34px;
  color: #7a4540;
  opacity: 0.96;
  display: block;
  object-fit: contain;
  background: transparent !important;
  user-select: none;
  pointer-events: none;
}

.thanks-copy {
  margin: 0 auto 30px;
  max-width: 22em;
}

.thanks-copy p {
  margin: 0;
  font-family: var(--serif-cn);
  font-size: 14px;
  font-weight: 400;
  line-height: 2.4;
  color: #3a342d;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.thanks-script {
  font-family: var(--script-en);
  font-style: normal;
  font-weight: 400;
  font-size: 38px;
  color: #8b3f3a;
  letter-spacing: 0.02em;
  line-height: 1.15;
}

/* 占位 */
.ph {
  width: 100%;
  height: 100%;
  min-height: 100px;
  display: grid;
  place-items: center;
  background: linear-gradient(155deg, #f0eae0, #e5dccf 45%, #efe7db);
  color: #9c9388;
  font-family: var(--serif-en);
  font-style: italic;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-align: center;
  padding: 12px;
}

@media (min-width: 480px) {
  body {
    padding: 20px 0 36px;
  }
  .phone {
    border-radius: 10px;
    min-height: calc(100vh - 40px);
  }
}
