/* =========================================================
   STYLE.CSS - 移动端 H5 婚礼互动邀请函 (立式厚纸手账本)
   新人：张龙灿 & 于丽洋 · 2026.09.27
   ========================================================= */

/* --- 1. 全局设定与配色系统 --- */
:root {
  --font-serif-en: 'Playfair Display', 'Bodoni Moda', 'Cinzel', serif;
  --font-serif-cn: 'Noto Serif SC', 'Songti SC', serif;
  --font-handwriting: 'Long Cang', 'Zhi Mang Xing', 'Liu Jian Mao Cao', 'STKaiti', 'KaiTi', 'Kaiti SC', cursive, serif;
  --font-script: 'Cormorant Garamond', serif;
  
  --color-desk: #1c2230;
  --color-desk-dark: #121620;
  --color-paper-base: #faf7f0;
  --color-paper-card: #ffffff;
  --color-text-main: #1a1815;
  --color-text-muted: #5e5952;
  --color-text-light: #948c82;
  
  --color-red-accent: #c42f2f;
  --color-gold-accent: #bfa168;
  --color-tape: rgba(238, 230, 214, 0.88);
  --color-grid-line: #e6e0d5;
  
  --shadow-paper: 
    0 1px 0 rgba(255,255,255,0.9) inset,
    0 -1px 0 rgba(0,0,0,0.12) inset,
    -1.5px 0 0 rgba(245,240,230,0.9),
    1.5px 0 0 rgba(220,212,198,0.9),
    0 4px 8px rgba(0,0,0,0.15),
    0 16px 36px rgba(10,15,25,0.42),
    0 30px 65px rgba(0,0,0,0.5);

  --radius-page: 18px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  -webkit-user-select: none;
}

html, body {
  width: 100%;
  height: 100%;
  height: 100dvh;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background-color: var(--color-desk);
  font-family: var(--font-serif-cn);
  color: var(--color-text-main);
  overscroll-behavior: none;
  -webkit-overflow-scrolling: touch;
  touch-action: none;
}

/* 主视口容器 (四面留出沉稳高级暗夜蓝桌面底色，居中托起手账本) */
.app-viewport {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  background: radial-gradient(circle at 50% 30%, #252f44 0%, #0f131d 100%);
  overflow: hidden;
  overscroll-behavior: none;
  padding: 10px 16px 12px;
  box-sizing: border-box;
}

/* --- 2. 顶部 Header (页码与黑胶唱片旋钮 · 宽度与本子对齐居中) --- */
.app-header {
  position: relative;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 82vw;
  max-width: 345px;
  height: 38px;
  padding: 0 2px;
  flex-shrink: 0;
}

.page-indicator {
  display: flex;
  align-items: baseline;
  gap: 4px;
  font-family: var(--font-serif-en);
  color: rgba(247, 244, 237, 0.75);
  font-size: 13px;
  letter-spacing: 1px;
}

#current-page-num {
  font-size: 17px;
  font-weight: 700;
  color: #f7f4ed;
}

.indicator-divider {
  opacity: 0.4;
}

.total-page-num {
  font-size: 13px;
  opacity: 0.6;
}

.indicator-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  opacity: 0.75;
  margin-left: 8px;
  color: #e5dfd3;
}

/* 黑胶唱片按钮 */
.music-disc-btn {
  background: none;
  border: none;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  padding: 4px;
}

.disc-plate {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #111;
  border: 1.5px solid #333;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.5);
  position: relative;
  transition: transform 0.3s;
}

.music-disc-btn.playing .disc-plate {
  animation: discSpin 4s linear infinite;
}

@keyframes discSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.disc-grooves {
  position: absolute;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px dashed rgba(255,255,255,0.18);
}

.disc-label {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-red-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.disc-heart {
  font-size: 7px;
  color: #fff;
}

.music-wave-bars {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 14px;
}

.music-wave-bars span {
  width: 2px;
  height: 4px;
  background-color: rgba(255,255,255,0.7);
  border-radius: 1px;
  transition: height 0.2s;
}

.music-disc-btn.playing .music-wave-bars span:nth-child(1) {
  animation: waveBar 0.8s ease-in-out infinite alternate;
}
.music-disc-btn.playing .music-wave-bars span:nth-child(2) {
  animation: waveBar 0.6s ease-in-out 0.2s infinite alternate;
}
.music-disc-btn.playing .music-wave-bars span:nth-child(3) {
  animation: waveBar 0.9s ease-in-out 0.4s infinite alternate;
}

@keyframes waveBar {
  0% { height: 3px; }
  100% { height: 14px; }
}


/* --- 3. 3D 纵向对折手账舞台 (缩小到80%，缩短高度，居中展示，4面留蓝底留白) --- */
.notebook-stage {
  flex: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 82vw;
  max-width: 345px;
  height: clamp(470px, 66dvh, 560px);
  margin: auto;
  z-index: 10;
  perspective: 1600px;
}

/* 顶部与底部真实纸堆层叠边缘效果 */
.stacked-deck-edges {
  position: relative;
  width: 100%;
  height: 8px;
  pointer-events: none;
  z-index: 2;
}

.stacked-deck-edges.top-deck {
  height: 8px;
  margin-bottom: -1px;
}

.stacked-deck-edges.bottom-deck {
  height: 10px;
  margin-top: -2px;
}

.deck-edge-sheet {
  position: absolute;
  left: 0;
  right: 0;
  background: #f2ede2;
  background-image: url('assets/白卡纸纹理素材.jpg');
  background-size: cover;
  box-shadow: 0 -2px 5px rgba(0,0,0,0.15);
}

.top-deck .deck-edge-sheet {
  border-radius: 16px 16px 0 0;
  border-top: 1.5px solid rgba(255,255,255,0.85);
  border-left: 1px solid rgba(255,255,255,0.6);
  border-right: 1px solid rgba(0,0,0,0.06);
}

.top-deck .sheet-3 { top: -6px; height: 8px; width: 90%; margin: 0 auto; opacity: 0.45; }
.top-deck .sheet-2 { top: -3px; height: 8px; width: 94%; margin: 0 auto; opacity: 0.72; }
.top-deck .sheet-1 { top: 0px; height: 8px; width: 98%; margin: 0 auto; opacity: 0.95; }

.bottom-deck .deck-edge-sheet {
  border-radius: 0 0 16px 16px;
  border-bottom: 1.5px solid rgba(0,0,0,0.1);
  border-left: 1px solid rgba(255,255,255,0.5);
  border-right: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 4px 10px rgba(0,0,0,0.22);
}

.bottom-deck .sheet-b1 { top: 0px; height: 8px; width: 98%; margin: 0 auto; opacity: 0.9; }
.bottom-deck .sheet-b2 { top: 4px; height: 8px; width: 94%; margin: 0 auto; opacity: 0.6; }

/* 手账卡片栈 (Deck) */
.notebook-deck {
  position: relative;
  width: 100%;
  flex: 1;
  height: 100%;
  transform-style: preserve-3d;
  perspective: 1600px;
  min-height: 0;
}


/* --- 4. 中间对折手账架构 (Bi-Fold) 与 3D 翻折活动叶片 --- */
.paper-page {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-page);
  transform-style: preserve-3d;
  box-shadow: 
    0 4px 12px rgba(0, 0, 0, 0.28),
    0 16px 36px rgba(6, 11, 20, 0.45),
    0 28px 65px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.12);
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  overflow: hidden;
  
  /* 严格显示隔离 */
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  z-index: 1;
  
  will-change: transform, opacity;
}

.paper-page.active {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  z-index: 20;
  transform: none;
}

/* 核心：对折手账容器，上下两半对折，透出各自背景 */
.bifold-page-inner {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-page);
  background: transparent !important;
  padding: 0 !important;
  overflow: hidden !important;
  display: flex;
  flex-direction: column;
  box-shadow: none !important;
}

/* 上半页 (0~50%) 与 下半页 (50%~100%) 分别拥有白卡纸质感 */
.page-half {
  position: relative;
  width: 100%;
  height: 50%;
  overflow: hidden;
  background-color: #faf7f2;
  background-image: url('assets/白卡纸纹理素材.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  box-shadow: inset 0 0 22px rgba(210, 198, 180, 0.25);
}

.page-half.top-half {
  border-radius: var(--radius-page) var(--radius-page) 0 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.page-half.bottom-half {
  border-radius: 0 0 var(--radius-page) var(--radius-page);
  border-top: 1px solid rgba(255, 255, 255, 0.7);
}

/* 中间对折压痕线 (水平中心线) */
.notebook-spine-crease {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  margin-top: -1px;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.16) 0%,
    rgba(255, 255, 255, 0.65) 50%,
    rgba(0, 0, 0, 0.08) 100%
  );
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  z-index: 15;
  pointer-events: none;
}

/* 3D 对折活动翻折叶片 (以中间对折线为枢轴，从下半页向上 180° 翻折到上半页) */
.bifold-flipper {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 50%;
  transform-origin: top center;
  transform-style: preserve-3d;
  display: none;
  z-index: 50;
  pointer-events: none;
  will-change: transform;
}

.flipper-face {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: #faf7f2;
  background-image: url('assets/白卡纸纹理素材.jpg');
  background-size: cover;
  background-position: center;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  box-sizing: border-box;
}

.flipper-face.face-front {
  transform: rotateX(0deg);
  border-radius: 0 0 var(--radius-page) var(--radius-page);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.25);
  border-bottom: 1.5px solid rgba(0, 0, 0, 0.08);
}

.flipper-face.face-back {
  transform: rotateX(180deg);
  border-radius: var(--radius-page) var(--radius-page) 0 0;
  box-shadow: 0 -14px 35px rgba(0, 0, 0, 0.25);
  border-top: 1.5px solid rgba(255, 255, 255, 0.85);
}

.flipper-light-sheen {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.45) 0%,
    rgba(255, 255, 255, 0) 50%,
    rgba(0, 0, 0, 0.16) 100%
  );
  opacity: 0;
}


/* --- 5. PAGE 1: 海报封面 (POSTER COVER · 人物居中展示 · 底部无遮挡) --- */
.poster-page {
  background: transparent !important;
}

.poster-crop-box {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

/* 连续无缝水彩海报定位：按缩小80%并缩短比例精准居中人物 */
.poster-bg-img {
  position: absolute;
  left: 0;
  width: 100%;
  height: 220%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.poster-bg-img.top-img {
  top: -15%;
}

.poster-bg-img.bottom-img {
  top: -115%;
}

/* 上半页雪山晴空标题浮层 */
.poster-header-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 5;
  padding: 14px 12px 20px;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.88) 0%,
    rgba(255, 255, 255, 0.65) 55%,
    rgba(255, 255, 255, 0) 100%
  );
  text-align: center;
}

.poster-stamp-badge {
  display: inline-block;
  padding: 2px 10px;
  background: rgba(28, 24, 21, 0.08);
  border: 1px dashed rgba(28, 24, 21, 0.25);
  border-radius: 12px;
  font-family: var(--font-serif-cn);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: #4a3e35;
  margin-bottom: 6px;
}

.poster-main-title {
  font-family: var(--font-serif-cn);
  font-size: clamp(16px, 4.6vw, 20px);
  font-weight: 700;
  color: #1a1614;
  letter-spacing: 1.5px;
  line-height: 1.25;
  text-align: center;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.9), 0 0 12px rgba(255, 255, 255, 0.8);
  white-space: nowrap;
}

.poster-sub-title {
  font-family: var(--font-serif-cn);
  font-size: clamp(11px, 3.2vw, 13.5px);
  font-weight: 500;
  color: #554438;
  letter-spacing: 1.8px;
  margin-top: 5px;
  text-align: center;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.85);
}

/* 封面底部轻透引导胶囊：紧贴底部草地，与中间人物保持充裕间距，绝不挡人物 */
.poster-swipe-pill {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  padding: 4px 14px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.14);
  text-align: center;
  cursor: pointer;
  white-space: nowrap;
  font-family: var(--font-serif-cn);
  font-size: 11.5px;
  font-weight: 600;
  color: #24201c;
  letter-spacing: 1px;
  transition: transform 0.2s, background 0.2s;
}

.poster-swipe-pill:active {
  transform: translateX(-50%) scale(0.96);
  background: rgba(255, 255, 255, 0.98);
}


/* --- 6. PAGE 2: 纸短情长 (细手写体·两段连贯·整体居中·上下留白一致) --- */
.letter-half-top {
  position: relative;
  padding: 10px 14px 6px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end; /* 让第一段靠近中折线底端，与第二段紧密连上 */
  align-items: center;
  box-sizing: border-box;
}

.letter-half-bottom {
  position: relative;
  padding: 6px 14px 10px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* 让第二段从折线顶端开始，无缝承接第一段 */
  align-items: center;
  box-sizing: border-box;
}

.letter-top-stamp {
  position: absolute;
  top: 10px;
  left: 12px;
  right: 12px;
  display: flex;
  justify-content: space-between;
  font-family: var(--font-serif-cn);
  font-size: 9.5px;
  color: var(--color-text-muted);
  letter-spacing: 1px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  padding-bottom: 3px;
}

.letter-stamp-date {
  font-family: var(--font-serif-en);
}

.letter-para-1 {
  margin-bottom: 0;
}

.letter-para-2 {
  margin-top: 0;
}

/* 细手写体排版：字号清晰，墨色纯黑，放不下一行的分两行展示 */
.handwritten-fine-style {
  font-family: var(--font-handwriting);
  font-size: clamp(13px, 3.5vw, 15px);
  line-height: 1.52;
  color: #110e0c;
  font-weight: 500 !important;
  letter-spacing: 0.2px;
  text-align: center !important;
  width: 100%;
}

.letter-line {
  margin: 1.5px 0;
  text-align: center;
  white-space: normal;
  word-break: break-word;
}

/* 保持逗号前后词句完整，分两行时对仗工整 */
.line-part {
  display: inline-block;
  white-space: nowrap;
}

.letter-line.highlight-invite {
  font-weight: 600;
  color: #15120f;
  margin-top: 3px;
}

.letter-sign-seal {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 6px auto 0;
  padding-top: 4px;
  border-top: 1px dashed rgba(0, 0, 0, 0.1);
  width: 82%;
}

.handwritten-sign {
  font-family: var(--font-handwriting);
  font-size: 18px;
  color: var(--color-red-accent);
  font-weight: 500;
  letter-spacing: 1.5px;
}

.sign-wax {
  font-family: var(--font-serif-en);
  font-size: 8.5px;
  background: var(--color-red-accent);
  color: #fff;
  padding: 1px 6px;
  border-radius: 8px;
  letter-spacing: 1px;
}

.letter-action-bar {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}


/* --- 7. PAGES 3 ~ 5: 视频双半页手账拼贴 (2个一页，共3页) --- */
.dual-video-page {
  background: transparent !important;
}

.video-half-top,
.video-half-bottom {
  padding: 8px 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
}

.memory-header-tag {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  margin-bottom: 2px;
}

.memory-header-tag .tag-num {
  font-family: var(--font-serif-en);
  font-size: 13px;
  font-weight: 800;
  color: var(--color-red-accent);
}

.memory-header-tag .tag-title {
  font-family: var(--font-serif-en);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: var(--color-text-main);
  text-transform: uppercase;
}

.scrapbook-video-card {
  position: relative;
  background: #ffffff;
  padding: 5px 5px 6px;
  border-radius: 9px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.video-polaroid-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 5px;
  overflow: hidden;
  background: #111;
}

.video-polaroid-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-card-caption,
.scrapbook-caption {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 5px 6px 2px;
  font-family: var(--font-handwriting) !important;
}

.video-card-caption span,
.scrapbook-caption span,
.caption-title,
.caption-quote,
.cap-bold,
.cap-handwriting {
  font-family: var(--font-handwriting) !important;
}

.caption-title,
.cap-bold {
  font-size: 14.5px;
  font-weight: 600;
  color: #1a1614;
  letter-spacing: 0.5px;
}

.caption-quote,
.cap-handwriting {
  font-size: 13.5px;
  font-weight: 500;
  color: #4a3f36;
  letter-spacing: 0.2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 66%;
}

.washi-tape {
  position: absolute;
  width: 46px;
  height: 11px;
  background-color: var(--color-tape);
  box-shadow: 0 1px 3px rgba(0,0,0,0.12);
  z-index: 5;
  border-left: 2px dashed rgba(200, 185, 160, 0.6);
  border-right: 2px dashed rgba(200, 185, 160, 0.6);
  pointer-events: none;
}

.tape-top-center {
  top: -5px;
  left: 50%;
  transform: translateX(-50%) rotate(-1.5deg);
}

.tape-top-right {
  top: -5px;
  right: 16px;
  transform: rotate(2.5deg);
}

.tape-top-left {
  top: -5px;
  left: 16px;
  transform: rotate(-2.5deg);
}


/* 携手漫漫 · 浪漫誓约留白卡 (已删除重复视频) */
.memory-pledge-half {
  padding: 6px 12px 8px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
}

.memory-pledge-card {
  position: relative;
  background: #ffffff;
  border-radius: 9px;
  padding: 8px 10px 6px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  height: calc(100% - 16px);
}

.pledge-stamp-badge {
  display: inline-block;
  padding: 1px 8px;
  background: rgba(196, 47, 47, 0.06);
  border: 1px dashed rgba(196, 47, 47, 0.28);
  border-radius: 10px;
  font-family: var(--font-serif-cn);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--color-red-accent);
  margin: 0 auto 2px;
  width: fit-content;
}

.pledge-title {
  font-family: var(--font-serif-cn);
  font-size: 13px;
  font-weight: 700;
  color: #262320;
  letter-spacing: 1px;
  margin-bottom: 2px;
}

.pledge-quotes {
  font-size: clamp(11.5px, 3.2vw, 13.5px) !important;
  line-height: 1.75 !important;
}

.pledge-line {
  margin: 1px 0;
  white-space: nowrap !important;
}

.bifold-flip-hint {
  font-family: var(--font-serif-en);
  font-size: 9px;
  color: var(--color-text-muted);
  text-align: center;
  letter-spacing: 0.8px;
  margin-top: 2px;
}


/* --- 8. PAGE 6: 婚礼信息与吉日日历 (CALENDAR & VENUE) --- */
.ceremony-calendar-page {
  background: transparent !important;
}

.ceremony-half-top {
  padding: 8px 12px 4px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
}

.calendar-half-bottom {
  padding: 4px 12px 8px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
}

.wedding-ceremony-card {
  background: #ffffff;
  border-radius: 10px;
  padding: 8px 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.06);
  text-align: center;
}

.ceremony-eyebrow {
  font-family: var(--font-serif-en);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--color-red-accent);
}

.couple-names-title {
  font-family: var(--font-serif-cn);
  font-size: 18px;
  font-weight: 700;
  color: #1a1714;
  letter-spacing: 1.5px;
  margin-top: 1px;
}

.ceremony-date-sub {
  font-family: var(--font-serif-en);
  font-size: 10px;
  color: var(--color-text-muted);
  margin-top: 1px;
}

/* 倒计时横排展示 */
.wedding-countdown-box {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  margin: 5px auto 4px;
  padding: 3px 10px;
  background: rgba(253, 245, 245, 0.85);
  border-radius: 20px;
  border: 1px solid rgba(196, 47, 47, 0.15);
  width: fit-content;
}

.cd-item {
  display: inline-flex;
  align-items: baseline;
  gap: 1px;
}

.cd-num {
  font-family: var(--font-serif-en);
  font-size: 12px;
  font-weight: 700;
  color: var(--color-red-accent);
}

.cd-label {
  font-size: 8.5px;
  color: var(--color-text-muted);
}

.cd-colon {
  font-family: var(--font-serif-en);
  font-size: 10px;
  color: var(--color-red-accent);
  margin: 0 1px;
}

/* 酒店宴会地址与快捷操作 */
.ceremony-venue-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 4px;
  padding-top: 4px;
  border-top: 1px dashed rgba(0, 0, 0, 0.08);
}

.venue-icon {
  font-size: 14px;
}

.venue-info {
  text-align: left;
}

.venue-name {
  font-family: var(--font-serif-cn);
  font-size: 12px;
  font-weight: 700;
  color: #2b2723;
  margin: 0;
}

.venue-detail {
  font-size: 9.5px;
  color: var(--color-text-muted);
  margin: 0;
}

.venue-address-text {
  font-size: 8.5px;
  color: var(--color-text-light);
  margin: 0;
}

.venue-actions-row {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 5px;
}

.action-pill-btn {
  background: #f5f1ea;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 14px;
  padding: 3px 8px;
  font-size: 9px;
  font-family: var(--font-serif-cn);
  color: #3b342e;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  transition: background 0.2s, transform 0.15s;
}

.action-pill-btn:active {
  transform: scale(0.96);
  background: #ebe5dc;
}

/* 下半页：2026年9月日历表格 (完整 7 列排版) */
.calendar-embed-block {
  background: #ffffff;
  border-radius: 10px;
  padding: 6px 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.calendar-embed-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 3px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.cal-title-en {
  font-family: var(--font-serif-en);
  font-size: 11.5px;
  font-weight: 700;
  color: #1a1714;
}

.cal-title-cn {
  font-size: 8.5px;
  color: var(--color-text-muted);
}

.calendar-week-header {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  text-align: center;
  margin-top: 3px;
  padding: 2px 0;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.06);
}

.calendar-week-header span {
  font-family: var(--font-serif-en);
  font-size: 8px;
  font-weight: 700;
  color: var(--color-text-muted);
}

.calendar-week-header span:first-child,
.calendar-week-header span:last-child {
  color: var(--color-red-accent);
}

.calendar-days-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  row-gap: 2px;
  column-gap: 1px;
  text-align: center;
  margin-top: 2px;
}

.cal-cell {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 18px;
  font-size: 9.5px;
  font-family: var(--font-serif-en);
  color: #332f2b;
}

.cal-cell.dim {
  color: #c4beaf;
}

.cal-cell.wedding-special-cell {
  color: var(--color-red-accent);
  font-weight: 800;
  cursor: pointer;
}

.handdrawn-red-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 24px;
  height: 24px;
  pointer-events: none;
  animation: pulseCircle 3s ease-in-out infinite;
}

.special-badge {
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%) scale(0.72);
  background: var(--color-red-accent);
  color: #fff;
  font-size: 7px;
  padding: 0 3px;
  border-radius: 4px;
  white-space: nowrap;
}

.rsvp-footer-blessing {
  text-align: center;
  margin-top: 3px;
}

.rsvp-footer-blessing .footer-eng {
  font-family: var(--font-serif-en);
  font-size: 8px;
  color: var(--color-text-muted);
  letter-spacing: 1px;
}

.rsvp-footer-blessing .footer-cn {
  font-family: var(--font-serif-cn);
  font-size: 9px;
  color: #554438;
  letter-spacing: 0.5px;
}

/* --- 9. 底部滑动指引与 Toast 提示 --- */
.bottom-page-guide {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 6px 0 2px;
  flex-shrink: 0;
}

.guide-line {
  width: 24px;
  height: 2px;
  background: rgba(247, 244, 237, 0.25);
  border-radius: 1px;
}

.guide-text {
  font-size: 10px;
  color: rgba(247, 244, 237, 0.6);
  letter-spacing: 1px;
}

.guide-chevron {
  width: 6px;
  height: 6px;
  border-left: 1.5px solid rgba(247, 244, 237, 0.6);
  border-top: 1.5px solid rgba(247, 244, 237, 0.6);
  transform: rotate(45deg);
  animation: chevronBounce 1.6s ease-in-out infinite;
}

@keyframes chevronBounce {
  0%, 100% { transform: rotate(45deg) translate(0, 0); opacity: 0.4; }
  50% { transform: rotate(45deg) translate(-2px, -2px); opacity: 0.95; }
}

@keyframes bounceUp {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.app-toast {
  position: fixed;
  bottom: 65px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: rgba(24, 21, 18, 0.92);
  color: #fff;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 12px;
  letter-spacing: 0.8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 1000;
  white-space: nowrap;
}

.app-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ==========================================================================
   10. 顶部客宾身份徽标 (User Profile Badge)
   ========================================================================== */
.header-right-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
  z-index: 50;
}

.user-profile-badge {
  display: flex;
  align-items: center;
  gap: 5px;
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 4px 10px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  max-width: 150px;
}

.user-profile-badge:hover,
.user-profile-badge:active {
  background: rgba(255, 255, 255, 0.38);
  transform: scale(0.97);
  border-color: rgba(212, 175, 55, 0.8);
}

.user-avatar-icon {
  font-size: 13px;
  filter: drop-shadow(0 0 4px rgba(255, 215, 0, 0.6));
}

.user-name-text {
  font-family: var(--font-serif-cn);
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

.user-profile-badge.is-admin {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.4), rgba(184, 134, 11, 0.3));
  border-color: rgba(255, 215, 0, 0.9);
  box-shadow: 0 0 12px rgba(255, 215, 0, 0.4);
}

/* ==========================================================================
   11. 右侧高定悬浮多媒体导航栏 (Float Action Dock)
   ========================================================================== */
.float-action-dock {
  position: fixed;
  right: 10px;
  top: 54%;
  transform: translateY(-50%);
  z-index: 85;
  display: flex;
  align-items: center;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s;
}

.float-action-dock.dock-collapsed {
  transform: translateY(-50%) translateX(calc(100% - 22px));
}

.dock-toggle-btn {
  width: 22px;
  height: 48px;
  background: rgba(30, 24, 20, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-right: none;
  border-radius: 12px 0 0 12px;
  color: #f5dfba;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: -3px 4px 12px rgba(0, 0, 0, 0.25);
  padding: 0;
  transition: background 0.2s;
}

.dock-toggle-icon {
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  transition: transform 0.3s ease;
}

.dock-collapsed .dock-toggle-icon {
  transform: rotate(180deg);
}

.dock-items {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px 8px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(212, 175, 55, 0.5);
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(60, 40, 20, 0.18), 0 0 15px rgba(212, 175, 55, 0.15);
}

.dock-item-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  padding: 5px 4px;
  cursor: pointer;
  border-radius: 14px;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  outline: none;
}

.dock-item-btn:active {
  transform: scale(0.9);
}

.dock-icon-ring {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fff7eb, #f1e2c6);
  border: 1px solid rgba(212, 175, 55, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: 0 3px 8px rgba(90, 70, 40, 0.12);
  transition: all 0.25s ease;
}

.dock-item-btn:hover .dock-icon-ring {
  transform: translateY(-2px);
  border-color: #d4af37;
  box-shadow: 0 5px 12px rgba(212, 175, 55, 0.35);
}

.dock-text {
  margin-top: 4px;
  font-family: var(--font-serif-cn);
  font-size: 10px;
  font-weight: 600;
  color: #3b2f28;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

/* 主片高光流金动效 */
.btn-main-video .dock-icon-ring {
  background: linear-gradient(135deg, #ffeed1, #f5c879);
  border-color: #d4af37;
  position: relative;
}

.dock-sparkle-dot {
  position: absolute;
  top: -2px;
  right: 2px;
  width: 7px;
  height: 7px;
  background: #ff334b;
  border-radius: 50%;
  border: 1.5px solid #fff;
  animation: pulseDot 1.5s infinite;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.35); opacity: 0.7; }
}

/* ==========================================================================
   12. 客宾档案与账号切换中心 (User Modal)
   ========================================================================== */
.user-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 950;
  background: rgba(15, 12, 10, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.user-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.user-modal-card {
  width: 100%;
  max-width: 360px;
  background: #faf7f2;
  border-radius: 20px;
  border: 1px solid rgba(212, 175, 55, 0.5);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  overflow: hidden;
  transform: translateY(20px) scale(0.95);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.user-modal-overlay.active .user-modal-card {
  transform: translateY(0) scale(1);
}

.modal-card-header {
  padding: 16px 20px 12px;
  background: linear-gradient(135deg, #2b221a, #1f1812);
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(212, 175, 55, 0.3);
}

.modal-title {
  font-family: var(--font-serif-cn);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #f7e6c4;
  margin: 0;
}

.modal-subtitle {
  font-size: 10px;
  color: rgba(247, 230, 196, 0.6);
  margin-top: 2px;
  letter-spacing: 0.5px;
}

.modal-close-btn {
  background: transparent;
  border: none;
  color: #f7e6c4;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  padding: 0 4px;
}

.modal-card-body {
  padding: 18px 20px;
}

.identity-info-box {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  background: #fff;
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.04);
}

.avatar-large {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fff3dc, #eedbb5);
  border: 1px solid rgba(212, 175, 55, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.identity-details {
  flex: 1;
  min-width: 0;
}

.role-badge {
  display: inline-block;
  padding: 2px 8px;
  background: #f0e6d6;
  color: #694d2f;
  font-size: 9.5px;
  border-radius: 10px;
  font-weight: 600;
  margin-bottom: 2px;
}

.current-name {
  font-family: var(--font-serif-cn);
  font-size: 14px;
  font-weight: 700;
  color: #24201c;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.device-ip-hint {
  font-size: 10px;
  color: #8c827a;
  margin-top: 2px;
}

.nickname-form-box {
  margin-top: 16px;
}

.form-label {
  display: block;
  font-size: 11px;
  color: #594d42;
  margin-bottom: 6px;
  font-weight: 600;
}

.input-action-row {
  display: flex;
  gap: 8px;
}

.luxury-input {
  flex: 1;
  padding: 9px 12px;
  background: #fff;
  border: 1px solid #d9d2c7;
  border-radius: 10px;
  font-size: 12px;
  color: #332b24;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}

.luxury-input:focus {
  border-color: #c49d47;
  box-shadow: 0 0 0 2px rgba(196, 157, 71, 0.2);
}

.luxury-btn {
  padding: 9px 16px;
  border-radius: 10px;
  border: none;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
}

.btn-save {
  background: linear-gradient(135deg, #c49d47, #a87e2b);
  color: #fff;
}

.btn-save:active {
  transform: scale(0.96);
}

.admin-login-box {
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px dashed #ded7cc;
}

.admin-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11.5px;
  font-weight: 600;
  color: #694d2f;
  cursor: pointer;
  padding: 4px 0;
}

.admin-arrow {
  font-size: 10px;
  transition: transform 0.2s;
}

.admin-arrow.rotate {
  transform: rotate(180deg);
}

.admin-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
}

.btn-admin {
  background: #2b221a;
  color: #f7e6c4;
  margin-top: 2px;
}

.admin-status-logged {
  margin-top: 10px;
  padding: 10px;
  background: #eef7ed;
  border: 1px solid #c2e2c0;
  border-radius: 10px;
}

.admin-active-hint {
  font-size: 11px;
  color: #276724;
  font-weight: 600;
  display: block;
  margin-bottom: 8px;
}

.btn-logout {
  background: #d44d44;
  color: #fff;
  width: 100%;
}

/* ==========================================================================
   13. 全屏沉浸式婚礼视频放映剧场 (Video Theater Modal)
   ========================================================================== */
.video-theater-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: #0d0f14;
  color: #fff;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.video-theater-modal.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.theater-container {
  max-width: 680px;
  margin: 0 auto;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  background: #11141c;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.8);
}

/* 剧场顶部栏 */
.theater-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(17, 20, 28, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.theater-back-btn {
  display: flex;
  align-items: center;
  gap: 2px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #f7e6c4;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 11.5px;
  font-family: var(--font-serif-cn);
  cursor: pointer;
  transition: background 0.2s;
  flex-shrink: 0;
}

.theater-back-btn:active {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(0.96);
}

.back-arrow {
  font-size: 16px;
  line-height: 1;
}

.theater-tabs {
  display: flex;
  gap: 4px;
  background: rgba(0, 0, 0, 0.35);
  padding: 3px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.theater-tab-btn {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.65);
  padding: 5px 9px;
  border-radius: 14px;
  font-size: 10.5px;
  font-family: var(--font-serif-cn);
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.theater-tab-btn.active {
  background: linear-gradient(135deg, #c49d47, #987223);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(196, 157, 71, 0.4);
}

.theater-fs-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  cursor: pointer;
  flex-shrink: 0;
}

/* 播放视窗 */
.theater-player-wrapper {
  width: 100%;
  background: #000;
  aspect-ratio: 16 / 9;
  position: relative;
  overflow: hidden;
}

.video-screen-box {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.theater-native-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

/* 主片专属浪漫占位卡 */
.main-video-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  text-align: center;
  background: #0f1118;
}

.placeholder-poster-blur {
  position: absolute;
  inset: 0;
  background-image: url('assets/poster_cover.jpg');
  background-size: cover;
  background-position: center;
  filter: blur(14px) brightness(0.35);
  transform: scale(1.1);
}

.placeholder-content-card {
  position: relative;
  z-index: 2;
  max-width: 90%;
  border: 1px solid rgba(212, 175, 55, 0.4);
  background: rgba(20, 24, 34, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 18px 16px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.placeholder-badge {
  display: inline-block;
  font-size: 9px;
  letter-spacing: 1.5px;
  color: #e5b95c;
  border: 1px solid rgba(229, 185, 92, 0.4);
  padding: 2px 8px;
  border-radius: 12px;
  margin-bottom: 8px;
}

.placeholder-title {
  font-family: var(--font-serif-cn);
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 6px;
  letter-spacing: 1px;
}

.placeholder-desc {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.5;
  margin: 0 0 12px;
}

.placeholder-countdown {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 8px;
}

.cd-item {
  font-family: var(--font-serif-cn);
  font-size: 10px;
  color: #f7e6c4;
  background: rgba(255, 255, 255, 0.1);
  padding: 3px 8px;
  border-radius: 6px;
}

.placeholder-tip {
  font-size: 10px;
  color: #e5b95c;
  margin: 0;
}

/* 交互区面板 */
.theater-interactive-panel {
  padding: 16px 14px 40px;
  flex: 1;
}

/* 快速互动条 */
.interactive-quick-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.theater-like-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #2a1f26, #1d1822);
  border: 1px solid #75283f;
  color: #ff5c7a;
  padding: 7px 14px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  flex-shrink: 0;
}

.theater-like-btn.liked {
  background: linear-gradient(135deg, #d82b52, #a81c3b);
  border-color: #ff708d;
  color: #fff;
  box-shadow: 0 3px 12px rgba(216, 43, 82, 0.45);
}

.like-heart-icon {
  font-size: 16px;
  transition: transform 0.25s;
}

.theater-like-btn:active .like-heart-icon,
.theater-like-btn.liked .like-heart-icon {
  transform: scale(1.3);
}

.like-label {
  font-size: 11px;
  font-weight: 600;
}

.like-counter {
  font-size: 11.5px;
  font-weight: 700;
  margin-left: 2px;
}

.quick-wishes-scroll {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding: 2px 0;
}

.quick-wishes-scroll::-webkit-scrollbar {
  display: none;
}

.quick-chip {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.82);
  font-size: 10px;
  padding: 5px 9px;
  border-radius: 12px;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s;
}

.quick-chip:active {
  background: rgba(212, 175, 55, 0.25);
  border-color: #d4af37;
  color: #f7e6c4;
}

/* 交互二级Tab */
.interactive-subtabs {
  display: flex;
  gap: 16px;
  margin: 14px 0 12px;
}

.subtab-btn {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
  font-family: var(--font-serif-cn);
  font-weight: 600;
  padding: 6px 0;
  cursor: pointer;
  position: relative;
  transition: color 0.2s;
}

.subtab-btn.active {
  color: #f7e6c4;
}

.subtab-btn.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #c49d47, #f7e6c4);
  border-radius: 1px;
}

/* 输入栏 */
.post-bar {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}

.interactive-input {
  flex: 1;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  padding: 8px 12px;
  color: #fff;
  font-size: 11.5px;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}

.interactive-input:focus {
  background: rgba(255, 255, 255, 0.12);
  border-color: #c49d47;
}

.interactive-input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.interactive-send-btn {
  background: linear-gradient(135deg, #c49d47, #987223);
  border: none;
  color: #fff;
  padding: 8px 15px;
  border-radius: 12px;
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.15s, opacity 0.15s;
}

.interactive-send-btn:active {
  transform: scale(0.95);
}

/* 祝福墙网格 */
.wishes-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 380px;
  overflow-y: auto;
  padding-right: 4px;
}

.wish-card {
  background: linear-gradient(135deg, rgba(45, 36, 32, 0.85), rgba(28, 23, 26, 0.95));
  border: 1px solid rgba(212, 175, 55, 0.22);
  border-radius: 12px;
  padding: 10px 12px;
  position: relative;
  transition: all 0.2s;
}

.wish-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 5px;
}

.wish-author {
  font-size: 11px;
  font-weight: 600;
  color: #f7e6c4;
}

.wish-time {
  font-size: 9px;
  color: rgba(255, 255, 255, 0.4);
}

.wish-text {
  font-size: 11.5px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  word-break: break-word;
}

/* 评论列表 */
.comments-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 380px;
  overflow-y: auto;
  padding-right: 4px;
}

.comment-card {
  display: flex;
  gap: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 10px 12px;
  position: relative;
}

.comment-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

.comment-body {
  flex: 1;
  min-width: 0;
}

.comment-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3px;
}

.comment-author {
  font-size: 11px;
  font-weight: 600;
  color: #e5c98d;
}

.comment-time {
  font-size: 9px;
  color: rgba(255, 255, 255, 0.4);
}

.comment-content {
  font-size: 11.5px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.88);
  margin: 0;
  word-break: break-word;
}

/* 管理员专属删除按钮 🗑️ */
.item-delete-btn {
  background: rgba(220, 53, 69, 0.2);
  border: 1px solid rgba(220, 53, 69, 0.5);
  color: #ff6b6b;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 6px;
  cursor: pointer;
  margin-left: 8px;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.item-delete-btn:hover,
.item-delete-btn:active {
  background: #dc3545;
  color: #fff;
}

.item-delete-btn.confirming {
  background: #d92535;
  color: #fff;
  border-color: #ffa1aa;
  animation: pulseDelete 0.8s infinite alternate;
  font-weight: 700;
  box-shadow: 0 0 8px rgba(220, 53, 69, 0.7);
}

@keyframes pulseDelete {
  from { transform: scale(1); }
  to { transform: scale(1.04); }
}

.empty-hint {
  text-align: center;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
  padding: 24px 0;
}

/* 适配超窄手机屏幕 (iPhone SE 等) */
@media (max-width: 360px) {
  .float-action-dock {
    right: 4px;
  }
  .dock-icon-ring {
    width: 32px;
    height: 32px;
    font-size: 15px;
  }
  .dock-text {
    font-size: 9px;
  }
  .theater-tab-btn {
    padding: 4px 6px;
    font-size: 9.5px;
  }
}

