/* ============================================================
   中式婚礼电子请柬样式
   配色：中国红 #A8201A / 暗红 #7A1F1A / 金色 #C9A227 / 米白 #F7F1E3 / 墨色 #1F1B18
   ============================================================ */

:root {
  --red: #A8201A;
  --red-deep: #7A1F1A;
  --red-darker: #5c1512;
  --gold: #C9A227;
  --gold-light: #e3c96b;
  --cream: #F7F1E3;
  --ink: #1F1B18;
  --gray: #8C8377;
  --serif: "STKaiti Web", "KaiTi", "STKaiti", "Kaiti SC", "Noto Serif SC", "Songti SC", serif;
  --sans: "LXGW WenKai", -apple-system, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
  --shadow-soft: 0 8px 30px rgba(31, 27, 24, 0.12);
}

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea { font-family: inherit; }

/* ============ 封面 ============ */
.cover {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(ellipse at 50% 30%, #b32b22 0%, var(--red) 40%, var(--red-deep) 100%);
  transition: transform 1.1s cubic-bezier(0.77, 0, 0.175, 1), opacity 0.9s ease;
  overflow: hidden;
}

.cover.leave {
  transform: translateY(-100%);
  opacity: 0.4;
  pointer-events: none;
}

.cover-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.14;
  background-image:
    radial-gradient(circle at 12% 18%, #fff 1.5px, transparent 2px),
    radial-gradient(circle at 88% 80%, #fff 1.5px, transparent 2px);
  background-size: 90px 90px;
}

/* 四角回纹描边框 */
.cover-frame {
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(201, 162, 39, 0.75);
  outline: 1px solid rgba(201, 162, 39, 0.35);
  outline-offset: 5px;
  pointer-events: none;
}

.cover-frame::before,
.cover-frame::after {
  content: "";
  position: absolute;
  width: 34px;
  height: 34px;
  border: 2px solid var(--gold);
}
.cover-frame::before { top: -2px; left: -2px; border-right: none; border-bottom: none; }
.cover-frame::after { bottom: -2px; right: -2px; border-left: none; border-top: none; }

.cover-inner {
  position: relative;
  text-align: center;
  color: var(--cream);
  padding: 0 30px;
  animation: coverFloat 6s ease-in-out infinite alternate;
}

@keyframes coverFloat {
  from { transform: translateY(-6px); }
  to   { transform: translateY(6px); }
}

.cover-date {
  font-family: var(--serif);
  font-size: 14px;
  letter-spacing: 10px;
  color: var(--gold-light);
  margin-bottom: 26px;
  text-indent: 10px;
}

.cover-names {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 20px;
}

.cover-name {
  font-family: var(--serif);
  font-size: 40px;
  font-weight: 600;
  letter-spacing: 4px;
  text-shadow: 0 2px 12px rgba(92, 21, 18, 0.6);
}

.cover-sep {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--gold-light);
  font-style: italic;
}

.cover-date-main {
  font-size: 17px;
  letter-spacing: 6px;
  color: rgba(247, 241, 227, 0.92);
  margin-bottom: 8px;
  font-weight: 500;
}

.cover-loc {
  font-size: 13px;
  letter-spacing: 4px;
  color: rgba(247, 241, 227, 0.65);
  margin-bottom: 52px;
}

/* 印章式"打开请柬"按钮 */
.btn-open {
  position: relative;
  display: inline-block;
  padding: 15px 46px;
  font-family: var(--serif);
  font-size: 17px;
  letter-spacing: 8px;
  text-indent: 8px;
  color: var(--cream);
  border: 1.5px solid var(--gold);
  border-radius: 3px;
  background: linear-gradient(160deg, rgba(201, 162, 39, 0.16), rgba(201, 162, 39, 0.04));
  box-shadow: inset 0 0 0 3px rgba(122, 31, 26, 0.5), 0 6px 22px rgba(92, 21, 18, 0.55);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  animation: breathe 2.6s ease-in-out infinite;
}

@keyframes breathe {
  0%, 100% { box-shadow: inset 0 0 0 3px rgba(122,31,26,.5), 0 6px 22px rgba(92,21,18,.55), 0 0 0 0 rgba(201,162,39,.35); }
  50%      { box-shadow: inset 0 0 0 3px rgba(122,31,26,.5), 0 6px 22px rgba(92,21,18,.55), 0 0 0 12px rgba(201,162,39,0); }
}

.btn-open:active { transform: scale(0.96); }

/* ============ 顶部导航 ============ */
.topnav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 10px 14px;
  background: rgba(122, 31, 26, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 rgba(201, 162, 39, 0.35);
  transform: translateY(-100%);
  transition: transform 0.5s ease;
}

.topnav.show { transform: translateY(0); }

.topnav-title {
  font-family: var(--serif);
  color: var(--gold-light);
  font-size: 20px;
  margin-right: auto;
}

.topnav a {
  color: rgba(247, 241, 227, 0.85);
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 2px;
  padding: 5px 8px;
  border-radius: 3px;
  transition: color 0.2s, background 0.2s;
}

.topnav a:active, .topnav a.active {
  color: var(--gold-light);
  background: rgba(201, 162, 39, 0.14);
}

/* ============ 通用区块 ============ */
.main { animation: mainIn 0.9s ease both; }

@keyframes mainIn {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: none; }
}

.sec { padding: 56px 20px 48px; position: relative; }

.sec-info, .sec-photos, .sec-bless { background: var(--cream); }
.sec-video { background: linear-gradient(180deg, var(--ink) 0%, #2a2420 100%); color: var(--cream); }
.sec-map { background: linear-gradient(180deg, var(--red-deep) 0%, var(--red) 100%); color: var(--cream); }

.sec-head {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 12px;
  margin-bottom: 30px;
}

.sec-tag {
  font-family: var(--serif);
  font-size: 13px;
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 1px 7px;
  border-radius: 2px;
  letter-spacing: 2px;
}

.sec-title {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: 10px;
  text-indent: 10px;
  color: var(--red-deep);
}

.sec-head-dark .sec-title { color: var(--cream); }
.sec-head-dark .sec-tag { color: var(--gold-light); border-color: var(--gold-light); }

.sec-desc {
  text-align: center;
  color: var(--gray);
  font-size: 13px;
  letter-spacing: 3px;
  margin: -18px 0 24px;
}

.invite-line {
  text-align: center;
  font-family: var(--serif);
  color: var(--ink);
  font-size: 15px;
  letter-spacing: 2px;
  line-height: 2.1;
  margin-bottom: 32px;
}

/* ============ 主视觉照片 ============ */
.hero-photo {
  position: relative;
  width: min(78%, 320px);
  margin: 0 auto 38px;
  padding: 8px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.hero-photo img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  filter: saturate(0.94) contrast(1.03);
}

.hero-photo-corner {
  position: absolute;
  width: 22px;
  height: 22px;
  border: 1.5px solid var(--gold);
}
.hero-photo-corner.tl { top: -6px; left: -6px; border-right: none; border-bottom: none; }
.hero-photo-corner.tr { top: -6px; right: -6px; border-left: none; border-bottom: none; }
.hero-photo-corner.bl { bottom: -6px; left: -6px; border-right: none; border-top: none; }
.hero-photo-corner.br { bottom: -6px; right: -6px; border-left: none; border-top: none; }

/* ============ 信息卡 ============ */
.info-card {
  max-width: 360px;
  margin: 0 auto;
  background: #fffdf8;
  border: 1px solid rgba(201, 162, 39, 0.45);
  padding: 34px 26px 26px;
  text-align: center;
  box-shadow: var(--shadow-soft);
}

.info-names {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.info-name {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 600;
  color: var(--red-deep);
  letter-spacing: 3px;
}

.info-amp {
  font-family: var(--serif);
  color: var(--gold);
  font-size: 20px;
}

.info-divider {
  position: relative;
  margin: 22px 0;
  border-top: 1px solid rgba(201, 162, 39, 0.5);
}
.info-divider span {
  position: relative;
  top: -14px;
  background: #fffdf8;
  padding: 0 14px;
  font-family: var(--serif);
  color: var(--gold);
  font-size: 15px;
  letter-spacing: 2px;
}

.info-list { list-style: none; text-align: left; }

.info-list li {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  padding: 13px 2px;
  border-bottom: 1px dashed rgba(140, 131, 119, 0.35);
}
.info-list li:last-child { border-bottom: none; }

.info-label {
  flex: 0 0 64px;
  flex-shrink: 0;
  font-family: var(--serif);
  font-style: normal;
  font-size: 14px;
  color: var(--gold);
  border: 1px solid rgba(201, 162, 39, 0.6);
  border-radius: 2px;
  text-align: center;
  padding: 2px 0;
  margin-right: 14px;
  letter-spacing: 4px;
  text-indent: 4px;
}

.info-value {
  flex: 1;
  min-width: 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 1px;
  line-height: 1.6;
}

.info-sub {
  width: 100%;
  margin-left: 78px;
  font-size: 12.5px;
  color: var(--gray);
  letter-spacing: 1px;
  line-height: 1.8;
  overflow-wrap: break-word;
}

/* ============ 视频模块 ============ */
.video-wrap { max-width: 400px; margin: 0 auto; }

.video-card {
  position: relative;
  border: 1px solid rgba(201, 162, 39, 0.65);
  outline: 1px solid rgba(201, 162, 39, 0.25);
  outline-offset: 4px;
  background: #000;
  border-radius: 4px;
  overflow: hidden;
}

.demo-video {
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  background: #000;
}

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 66px;
  height: 66px;
  border-radius: 50%;
  color: var(--gold-light);
  background: rgba(31, 27, 24, 0.55);
  border: 1.5px solid rgba(201, 162, 39, 0.8);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, opacity 0.3s ease;
  animation: breathe 2.8s ease-in-out infinite;
}

.video-play-btn.hidden { opacity: 0; pointer-events: none; transform: translate(-50%, -50%) scale(1.3); }

.video-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: linear-gradient(180deg, rgba(31,27,24,0), rgba(31,27,24,0.9));
  position: absolute;
  left: 0; right: 0; bottom: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.video-card.playing .video-controls { opacity: 1; }

.vc-btn { color: var(--cream); display: flex; padding: 4px; }
.vc-btn:active { transform: scale(0.9); }

.video-controls .ic-pause { display: none; }
.video-card.playing .ic-pause { display: block; }
.video-card.playing .ic-play { display: none; }
.video-controls .ic-muted { display: none; }
.video-card.muted .ic-sound { display: none; }
.video-card.muted .ic-muted { display: block; }

.vc-time {
  font-size: 11px;
  color: rgba(247, 241, 227, 0.85);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.vc-progress {
  flex: 1;
  height: 3px;
  background: rgba(247, 241, 227, 0.25);
  border-radius: 2px;
  overflow: hidden;
}

.vc-progress i {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
}

.video-note {
  margin-top: 18px;
  text-align: center;
  font-family: var(--serif);
  font-size: 14px;
  letter-spacing: 2px;
  color: rgba(247, 241, 227, 0.8);
}

/* ============ 照片墙 ============ */
.photo-scroller {
  display: flex;
  align-items: center; /* 横向相框与竖向相框上下居中对齐 */
  gap: 16px;
  overflow-x: auto;
  padding: 10px 20px 22px;
  margin: 0 -20px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.photo-scroller::-webkit-scrollbar { display: none; }

.photo-card {
  flex: 0 0 auto;
  width: 180px;
  scroll-snap-align: center;
  background: #fffdf8;
  padding: 7px 7px 52px; /* 拍立得式底部留白 */
  border: 1px solid rgba(201, 162, 39, 0.4);
  box-shadow: 0 6px 18px rgba(31, 27, 24, 0.1);
  transition: transform 0.3s ease;
}
.photo-card:active { transform: scale(0.97); }

.photo-card img {
  width: 100%;
  aspect-ratio: 5/7;
  object-fit: cover;
  filter: saturate(0.95);
}

/* 横向素材（01/02）：宽幅相框，16:9 展示，底部少量留白 */
.photo-card--wide { width: 300px; padding-bottom: 12px; }
.photo-card--wide img { aspect-ratio: 16/9; }

.photo-card figcaption {
  text-align: center;
  font-family: var(--serif);
  font-size: 13px;
  color: var(--red-deep);
  letter-spacing: 4px;
  margin-top: 8px;
}

/* ============ 导航模块 ============ */
.map-card {
  max-width: 360px;
  margin: 0 auto;
  text-align: center;
  padding: 30px 24px 26px;
  border: 1px solid rgba(201, 162, 39, 0.6);
  background: rgba(92, 21, 18, 0.35);
  border-radius: 4px;
  box-shadow: 0 10px 30px rgba(92, 21, 18, 0.35);
}

.map-venue {
  font-family: var(--serif);
  font-size: 21px;
  letter-spacing: 3px;
  color: var(--cream);
  margin-bottom: 6px;
}

.map-address {
  font-size: 13.5px;
  color: rgba(247, 241, 227, 0.75);
  letter-spacing: 1.5px;
  margin-bottom: 24px;
}

.btn {
  display: inline-block;
  border-radius: 999px;
  letter-spacing: 3px;
  text-indent: 3px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s;
}

.btn:active { transform: scale(0.96); }

.btn-gold {
  background: linear-gradient(150deg, var(--gold-light), var(--gold));
  color: var(--red-darker);
  font-weight: 700;
  font-size: 16px;
  padding: 13px 52px;
  box-shadow: 0 6px 18px rgba(201, 162, 39, 0.45);
}

.btn-nav-main { display: block; width: 100%; margin-bottom: 14px; }

.map-options { display: flex; gap: 10px; justify-content: center; margin-bottom: 14px; }

.btn-ghost {
  flex: 1;
  padding: 9px 0;
  font-size: 13px;
  color: var(--cream);
  border: 1px solid rgba(247, 241, 227, 0.5);
  background: rgba(247, 241, 227, 0.06);
}

.btn-ghost:active { background: rgba(247, 241, 227, 0.14); }

.map-tip {
  font-size: 12px;
  color: rgba(247, 241, 227, 0.55);
  letter-spacing: 2px;
}

/* ============ 弹幕墙 ============ */
.danmaku-wall {
  position: relative;
  height: 132px;
  margin: 0 -20px 30px;
  background:
    linear-gradient(180deg, rgba(122, 31, 26, 0.06), rgba(201, 162, 39, 0.08)),
    repeating-linear-gradient(90deg, transparent 0 46px, rgba(201, 162, 39, 0.12) 46px 47px);
  border-top: 1px solid rgba(201, 162, 39, 0.35);
  border-bottom: 1px solid rgba(201, 162, 39, 0.35);
  overflow: hidden;
}

.danmaku-lanes { position: absolute; inset: 0; }

.danmaku-lane { position: relative; height: 44px; }
.danmaku-lane + .danmaku-lane { border-top: 1px dashed rgba(201, 162, 39, 0.16); }

.danmaku-item {
  position: absolute;
  top: 5px;
  left: 0;
  white-space: nowrap;
  padding: 4px 14px;
  font-size: 13px;
  color: var(--ink);
  background: rgba(255, 253, 248, 0.92);
  border: 1px solid rgba(201, 162, 39, 0.55);
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(31, 27, 24, 0.08);
  will-change: transform;
  transform: translate3d(0, 0, 0);
  pointer-events: none;
}

.danmaku-item .dm-name { color: var(--gold); margin-right: 6px; }
.danmaku-item .dm-text { color: var(--red-deep); }

.danmaku-mask {
  position: absolute;
  top: 0; bottom: 0;
  width: 26px;
  pointer-events: none;
  z-index: 2;
}
.danmaku-mask.left { left: 0; background: linear-gradient(90deg, rgba(247, 241, 227, 0.9), transparent); }
.danmaku-mask.right { right: 0; background: linear-gradient(-90deg, rgba(247, 241, 223, 0.9), transparent); }

.danmaku-empty {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 14px;
  color: var(--gray);
  letter-spacing: 3px;
  pointer-events: none;
  transition: opacity 0.4s;
}
.danmaku-empty.hide { opacity: 0; }

/* ============ 问卷表单 ============ */
.rsvp-card {
  max-width: 360px;
  margin: 0 auto;
  background: #fffdf8;
  border: 1px solid rgba(201, 162, 39, 0.45);
  box-shadow: var(--shadow-soft);
  padding: 30px 24px 28px;
}

.rsvp-title {
  font-family: var(--serif);
  text-align: center;
  font-size: 20px;
  color: var(--red-deep);
  letter-spacing: 6px;
  text-indent: 6px;
  margin-bottom: 22px;
}

.form-item { margin-bottom: 18px; }

.form-label {
  display: block;
  font-size: 14px;
  color: var(--ink);
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.form-label em { color: var(--red); font-style: normal; margin-left: 2px; }

.optional {
  font-style: normal;
  font-size: 11px;
  color: var(--gray);
  border: 1px solid rgba(140, 131, 119, 0.5);
  padding: 0 5px;
  border-radius: 2px;
  margin-left: 6px;
}

input[type="text"], input[type="number"], textarea {
  width: 100%;
  padding: 11px 13px;
  font-size: 15px;
  color: var(--ink);
  background: #fff;
  border: 1px solid rgba(140, 131, 119, 0.4);
  border-radius: 3px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
  appearance: none;
}

input:focus, textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.15);
}

textarea { resize: none; }

/* 单选分组 */
.seg-group { display: flex; gap: 8px; }

.seg { flex: 1; position: relative; }

.seg input { position: absolute; opacity: 0; inset: 0; }

.seg span {
  display: block;
  text-align: center;
  padding: 9px 0;
  font-size: 14px;
  color: var(--ink);
  border: 1px solid rgba(140, 131, 119, 0.4);
  border-radius: 3px;
  background: #fff;
  letter-spacing: 2px;
  transition: all 0.2s;
}

.seg input:checked + span {
  color: var(--cream);
  background: var(--red);
  border-color: var(--red);
  box-shadow: 0 4px 12px rgba(168, 32, 26, 0.35);
}

/* 数字步进器 */
.stepper { display: flex; gap: 8px; }

.step-btn {
  flex: 0 0 44px;
  font-size: 20px;
  color: var(--red);
  border: 1px solid rgba(140, 131, 119, 0.4);
  border-radius: 3px;
  background: #fff;
}
.step-btn:active { background: rgba(201, 162, 39, 0.12); }

.stepper input { text-align: center; flex: 1; }

.btn-submit {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 13px 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--cream);
  background: linear-gradient(150deg, var(--red), var(--red-deep));
  border-radius: 3px;
  letter-spacing: 6px;
  text-indent: 6px;
  box-shadow: 0 6px 18px rgba(168, 32, 26, 0.35);
}

.btn-submit:disabled { opacity: 0.6; }

/* 提交成功态 */
.rsvp-done {
  text-align: center;
  padding: 26px 0 10px;
  animation: mainIn 0.6s ease both;
}

.done-seal {
  width: 72px;
  height: 72px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 34px;
  color: var(--cream);
  background: var(--red);
  border-radius: 6px;
  border: 2px solid rgba(201, 162, 39, 0.7);
  outline: 1px solid rgba(201, 162, 39, 0.4);
  outline-offset: 4px;
  transform: rotate(-6deg);
  box-shadow: 0 8px 20px rgba(168, 32, 26, 0.3);
}

.done-title {
  font-family: var(--serif);
  font-size: 20px;
  color: var(--red-deep);
  letter-spacing: 4px;
  margin-bottom: 6px;
}

.done-sub { font-size: 13px; color: var(--gray); letter-spacing: 1px; }

/* ============ 结尾 ============ */
.footer {
  background: linear-gradient(180deg, var(--red-deep), var(--red-darker));
  text-align: center;
  padding: 64px 20px 56px;
  color: var(--cream);
}

.footer-seal {
  width: 62px;
  height: 62px;
  margin: 0 auto 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 30px;
  color: var(--red-darker);
  background: linear-gradient(150deg, var(--gold-light), var(--gold));
  border-radius: 6px;
  transform: rotate(-5deg);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}

.footer-thanks {
  font-family: var(--serif);
  font-size: 16px;
  line-height: 2.2;
  letter-spacing: 3px;
  color: rgba(247, 241, 227, 0.92);
  margin-bottom: 26px;
}

.footer-names {
  font-family: var(--serif);
  font-size: 19px;
  letter-spacing: 4px;
  color: var(--gold-light);
  margin-bottom: 6px;
}

.footer-date {
  font-size: 13px;
  letter-spacing: 4px;
  color: rgba(247, 241, 227, 0.6);
}

.footer-line {
  width: 40px;
  height: 1px;
  margin: 30px auto 0;
  background: rgba(201, 162, 39, 0.6);
}

/* ============ Toast ============ */
.toast {
  position: fixed;
  left: 50%;
  bottom: 90px;
  transform: translateX(-50%);
  z-index: 200;
  max-width: 80%;
  padding: 10px 22px;
  font-size: 14px;
  color: var(--cream);
  background: rgba(31, 27, 24, 0.92);
  border: 1px solid rgba(201, 162, 39, 0.5);
  border-radius: 999px;
  letter-spacing: 1px;
  animation: toastIn 0.3s ease both;
  pointer-events: none;
}

@keyframes toastIn {
  from { opacity: 0; transform: translate(-50%, 10px); }
  to   { opacity: 1; transform: translate(-50%, 0); }
}

/* ============ 滚动淡入（reveal） ============ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ============ 响应式 ============ */
@media (min-width: 600px) {
  .sec { padding: 72px 24px 60px; }
  .cover-name { font-size: 52px; }
  .photo-card { width: 220px; }
  .photo-card--wide { width: 360px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
