/* style.css — R105 婚礼全流程 */
:root {
  --wd-primary: #C9A87C;
  --wd-secondary: #F5E6D3;
  --wd-accent: #E8B4B8;
  --wd-text-dark: #3D2B1F;
  --wd-text-light: #8B7355;
  --wd-bg: #FFF9F5;
  --wd-card-bg: #FFFFFF;
  --wd-shadow: 0 4px 20px rgba(201,168,124,0.15);
  --wd-gradient: linear-gradient(135deg, #F5E6D3 0%, #E8B4B8 100%);
  --wd-border: #E8D5C4;
  --nav-h: 56px;
  --footer-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body.wd-app {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", sans-serif;
  background: var(--wd-bg);
  color: var(--wd-text-dark);
  min-height: 100vh;
  padding-bottom: calc(var(--nav-h) + var(--footer-h) + 16px);
}

.wd-header {
  background: var(--wd-gradient);
  padding: 20px 16px 12px;
  text-align: center;
}
.wd-header h1 { font-size: 1.25rem; font-weight: 600; }
.wd-sub { font-size: 0.85rem; color: var(--wd-text-light); margin-top: 4px; }

.wd-main { padding: 12px 16px; max-width: 480px; margin: 0 auto; }

.wd-page { display: none; animation: pageIn 0.35s ease; }
.wd-page.active { display: block; }

@keyframes pageIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

.wd-card {
  background: var(--wd-card-bg);
  border-radius: 12px;
  box-shadow: var(--wd-shadow);
  padding: 16px;
  margin-bottom: 12px;
  border: 1px solid var(--wd-border);
}

/* 翻牌倒计时 A6 */
.countdown-block { text-align: center; margin-bottom: 16px; }
.countdown-label { font-size: 0.9rem; color: var(--wd-text-light); margin-bottom: 12px; }
.flip-countdown { display: flex; justify-content: center; gap: 8px; }
.flip-unit {
  background: var(--wd-card-bg);
  border-radius: 8px;
  padding: 8px 10px;
  min-width: 52px;
  box-shadow: var(--wd-shadow);
  border: 1px solid var(--wd-border);
}
.flip-num {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--wd-primary);
  font-variant-numeric: tabular-nums;
}
.flip-num.flip-animate { animation: flipTick 0.4s ease; }
@keyframes flipTick {
  0% { transform: rotateX(0); }
  50% { transform: rotateX(-90deg); opacity: 0.5; }
  100% { transform: rotateX(0); }
}
.flip-lbl { font-size: 0.7rem; color: var(--wd-text-light); }
.dash-meta { font-size: 0.8rem; color: var(--wd-text-light); margin-top: 10px; }

/* 进度环 A7 */
.dash-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.progress-card { text-align: center; }
.ring-wrap { position: relative; width: 100px; margin: 0 auto 8px; }
.progress-svg { width: 100%; height: auto; }
.progress-svg circle:last-child { stroke-dashoffset: 339; transition: stroke 0.3s; }
.ring-pct {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: var(--wd-primary);
}
.stats-card { display: flex; align-items: center; justify-content: space-around; }
.stat-item { text-align: center; }
.stat-item span { display: block; font-size: 1.4rem; font-weight: 700; color: var(--wd-primary); }
.stat-item small { font-size: 0.75rem; color: var(--wd-text-light); }

/* 预算 A8 */
.budget-total { float: right; font-size: 0.9rem; color: var(--wd-primary); }
.budget-row { display: flex; align-items: center; gap: 8px; margin: 8px 0; font-size: 0.8rem; }
.budget-name { width: 72px; flex-shrink: 0; }
.budget-bar-wrap { flex: 1; height: 6px; background: var(--wd-secondary); border-radius: 3px; overflow: hidden; }
.budget-bar { height: 100%; background: var(--wd-primary); border-radius: 3px; animation: barGrow 0.8s ease; }
@keyframes barGrow { from { width: 0 !important; } }
.budget-amt { width: 64px; text-align: right; color: var(--wd-text-light); }

.module-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.dash-module {
  border: none; cursor: pointer; text-align: center;
  font-size: 0.95rem; transition: transform 0.2s;
}
.dash-module:active { transform: scale(0.97); }

/* 清单 Kanban */
.page-toolbar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; align-items: center; }
.cl-view-tab, .guest-filter {
  padding: 6px 12px; border-radius: 20px; border: 1px solid var(--wd-border);
  background: var(--wd-card-bg); font-size: 0.85rem; cursor: pointer;
}
.cl-view-tab.active, .guest-filter.active {
  background: var(--wd-primary); color: #fff; border-color: var(--wd-primary);
}
.milestones-row { display: flex; overflow-x: auto; gap: 8px; margin-bottom: 12px; padding-bottom: 4px; }
.ms-item {
  flex-shrink: 0; padding: 8px 12px; border-radius: 8px;
  background: var(--wd-secondary); font-size: 0.75rem; text-align: center;
}
.ms-item.passed { background: var(--wd-primary); color: #fff; }
.ms-label { display: block; font-weight: 600; }
.ms-date { color: var(--wd-text-light); font-size: 0.7rem; }
.ms-item.passed .ms-date { color: rgba(255,255,255,0.85); }

.kanban { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.kanban-col h4 { font-size: 0.8rem; margin-bottom: 8px; color: var(--wd-text-light); }
.cl-card {
  background: var(--wd-card-bg); border-radius: 8px; padding: 10px;
  margin-bottom: 8px; border: 1px solid var(--wd-border);
  animation: cardSlide 0.3s ease;
}
@keyframes cardSlide { from { opacity: 0; transform: translateY(6px); } }
.cl-card-title { font-size: 0.85rem; font-weight: 500; }
.cl-card-meta { font-size: 0.7rem; color: var(--wd-text-light); margin: 4px 0; }
.cl-card-actions { display: flex; gap: 4px; }
.cl-card-actions button {
  font-size: 0.7rem; padding: 2px 6px; border: 1px solid var(--wd-border);
  border-radius: 4px; background: var(--wd-bg); cursor: pointer;
}
.empty-col { font-size: 0.8rem; color: var(--wd-text-light); text-align: center; padding: 12px; }

.timeline { padding: 8px 0; }
.tl-item { display: flex; gap: 12px; padding: 10px 0; border-left: 2px solid var(--wd-border); margin-left: 8px; padding-left: 16px; position: relative; }
.tl-dot {
  position: absolute; left: -5px; top: 14px;
  width: 8px; height: 8px; border-radius: 50%; background: var(--wd-primary);
}
.tl-item.done .tl-title { text-decoration: line-through; color: var(--wd-text-light); }
.tl-date { font-size: 0.75rem; color: var(--wd-text-light); }
.tl-title { font-size: 0.9rem; }

/* 请柬 A11 */
.inv-preview-wrap { margin-bottom: 16px; }
.invite-card {
  border-radius: 16px; padding: 32px 20px; text-align: center;
  box-shadow: var(--wd-shadow); animation: inviteFade 0.6s ease;
}
@keyframes inviteFade { from { opacity: 0; transform: scale(0.95); } }
.inv-deco { font-size: 2rem; margin-bottom: 12px; }
.inv-title { font-size: 1rem; color: var(--inv-accent, var(--wd-primary)); margin-bottom: 16px; }
.inv-names { font-size: 1.4rem; font-weight: 600; margin-bottom: 8px; }
.inv-date, .inv-venue { font-size: 0.9rem; color: var(--wd-text-light); margin: 4px 0; }
.inv-editor h3, .inv-editor h4 { margin: 12px 0 8px; font-size: 0.95rem; }
.tpl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px; }
.tpl-btn {
  padding: 8px; border: 2px solid var(--wd-border); border-radius: 8px;
  background: var(--wd-card-bg); font-size: 0.75rem; cursor: pointer;
}
.tpl-btn.active { border-color: var(--wd-primary); }
.tpl-swatch { display: block; width: 100%; height: 24px; border-radius: 4px; margin-bottom: 4px; border: 1px solid; }

/* 宾客 */
.guest-stats { display: flex; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
.stat-pill { padding: 4px 10px; border-radius: 12px; font-size: 0.75rem; }
.rsvp-yes { background: #D8F3DC; color: #1B4332; }
.rsvp-pending { background: #FFF3CD; color: #856404; }
.rsvp-no { background: #FFE4E6; color: #C41E3A; }
.guest-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px; background: var(--wd-card-bg); border-radius: 8px;
  margin-bottom: 8px; border: 1px solid var(--wd-border);
}
.guest-info strong { display: block; }
.guest-phone { font-size: 0.8rem; color: var(--wd-text-light); }
.rsvp-badge { font-size: 0.7rem; padding: 2px 6px; border-radius: 4px; margin-left: 4px; }
.guest-actions { display: flex; gap: 4px; }
.guest-actions button {
  width: 28px; height: 28px; border: 1px solid var(--wd-border);
  border-radius: 6px; background: var(--wd-bg); cursor: pointer; font-size: 0.75rem;
}
.sticky-actions { position: sticky; bottom: calc(var(--nav-h) + 8px); padding: 8px 0; }

/* Profile */
.wd-field { display: block; margin-bottom: 12px; font-size: 0.85rem; }
.wd-field input, .wd-field select, .wd-field textarea {
  display: block; width: 100%; margin-top: 4px; padding: 10px;
  border: 1px solid var(--wd-border); border-radius: 8px;
  font-size: 1rem; background: var(--wd-card-bg);
}
.theme-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 16px; }
.theme-btn {
  padding: 10px; border: 2px solid var(--wd-border); border-radius: 8px;
  background: var(--wd-card-bg); cursor: pointer; font-size: 0.8rem;
}
.theme-btn.active { border-color: var(--wd-primary); }
.theme-icon { margin-right: 4px; }
.partner-status { font-size: 0.9rem; color: var(--wd-text-light); margin-bottom: 8px; }

/* 按钮 */
.wd-btn {
  padding: 10px 16px; border-radius: 8px; border: 1px solid var(--wd-border);
  background: var(--wd-card-bg); font-size: 0.9rem; cursor: pointer;
}
.wd-btn-primary { background: var(--wd-primary); color: #fff; border-color: var(--wd-primary); }
.wd-btn-sm { padding: 6px 10px; font-size: 0.8rem; }
.btn-row { display: flex; gap: 8px; flex-wrap: wrap; margin: 12px 0; }

/* 底部导航 */
.wd-bottom-nav {
  position: fixed; bottom: var(--footer-h); left: 0; right: 0;
  height: var(--nav-h); background: var(--wd-card-bg);
  display: flex; border-top: 1px solid var(--wd-border);
  z-index: 100; max-width: 480px; margin: 0 auto;
}
.wd-nav-item {
  flex: 1; display: flex; flex-direction: column; align-items: center;
  justify-content: center; text-decoration: none; color: var(--wd-text-light);
  font-size: 0.65rem; gap: 2px;
}
.wd-nav-item span { font-size: 1.1rem; }
.wd-nav-item.active { color: var(--wd-primary); font-weight: 600; }

/* Modal & Toast */
.wd-modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.45);
  display: flex; align-items: center; justify-content: center; z-index: 1000; padding: 16px;
}
.wd-modal-overlay.hidden { display: none; }
.wd-modal {
  background: var(--wd-card-bg); border-radius: 12px; width: 100%; max-width: 360px;
  max-height: 80vh; overflow: auto;
}
.wd-modal-head { display: flex; justify-content: space-between; padding: 16px; border-bottom: 1px solid var(--wd-border); }
.wd-modal-head button { border: none; background: none; font-size: 1.4rem; cursor: pointer; }
.wd-modal-body { padding: 16px; }
.wd-modal-foot { padding: 12px 16px; display: flex; gap: 8px; justify-content: flex-end; border-top: 1px solid var(--wd-border); }

.wd-toast {
  position: fixed; top: 20px; left: 50%; transform: translateX(-50%) translateY(-80px);
  background: rgba(61,43,31,0.9); color: #fff; padding: 10px 20px;
  border-radius: 20px; font-size: 0.9rem; z-index: 2000; opacity: 0; transition: all 0.3s;
}
.wd-toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }
.wd-toast.error { background: #C41E3A; }

.hidden { display: none !important; }
.empty-state { text-align: center; color: var(--wd-text-light); padding: 24px; }

/* 信封三段式 A11 */
.envelope-overlay {
  position: fixed; inset: 0; z-index: 3000;
  background: rgba(255,249,245,0.95);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.envelope-overlay.hidden { display: none; }
.envelope { position: relative; width: 200px; height: 140px; perspective: 600px; }
.envelope-body {
  position: absolute; bottom: 0; width: 100%; height: 100px;
  background: var(--wd-primary); border-radius: 0 0 8px 8px;
}
.envelope-flap {
  position: absolute; top: 20px; left: 0; width: 100%; height: 80px;
  background: var(--wd-accent); clip-path: polygon(0 0, 50% 70%, 100% 0);
  transform-origin: top center; transition: transform 0.6s ease;
}
.envelope-letter {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  font-size: 2rem; transition: all 0.8s ease; z-index: 2;
}
.envelope-hint { margin-top: 24px; color: var(--wd-text-light); animation: pulse 1.5s infinite; }
@keyframes pulse { 50% { opacity: 0.5; } }

.envelope-stage-1 .envelope-flap { transform: rotateX(0deg); }
.envelope-stage-2 .envelope-flap { transform: rotateX(180deg); }
.envelope-stage-3 .envelope-letter { bottom: 120px; font-size: 3rem; }
.envelope-stage-3 .envelope-body { opacity: 0.3; }

/* Canvas 礼花 A10 */
.wd-confetti {
  position: absolute; top: -10px; width: 8px; height: 8px;
  animation: confettiFall 2.5s ease-in forwards;
  pointer-events: none; z-index: 50;
}
@keyframes confettiFall {
  0% { transform: translateY(0) rotate(0); opacity: 1; }
  100% { transform: translateY(400px) rotate(720deg); opacity: 0; }
}

#dashboard-page { position: relative; overflow: hidden; }

.invite-standalone { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 20px; }
.invite-standalone.revealed .invite-card { animation: inviteReveal 0.8s ease; }
@keyframes inviteReveal {
  from { opacity: 0; transform: translateY(40px) scale(0.9); }
  to { opacity: 1; transform: none; }
}

.gift-history { margin-top: 12px; font-size: 0.85rem; color: var(--wd-text-light); }
.gift-line { padding: 4px 0; border-bottom: 1px dashed var(--wd-border); }

/* contact footer reuse */
.contact-footer {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: #fff; border-top: 1px solid #eee; padding: 8px 12px; z-index: 99;
}
.contact-footer__btns { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.contact-footer__cta, .contact-footer__btn {
  padding: 6px 12px; font-size: 0.8rem; border-radius: 6px; text-decoration: none;
}
.contact-footer__cta { background: var(--wd-primary); color: #fff; }
.contact-footer__btn { border: 1px solid #ddd; background: #fff; color: #333; cursor: pointer; }
.contact-footer__brand { text-align: center; font-size: 0.65rem; color: #999; margin-top: 4px; }

@media (min-width: 481px) {
  .wd-bottom-nav { left: 50%; transform: translateX(-50%); border-radius: 12px 12px 0 0; }
  .contact-footer { max-width: 480px; left: 50%; transform: translateX(-50%); }
}

/* ===== P1 增强 ===== */
.module-grid { grid-template-columns: repeat(2, 1fr); }
.page-desc { font-size: 0.85rem; color: var(--wd-text-light); margin-bottom: 12px; }

.guest-sub-tabs { display: flex; gap: 6px; margin-bottom: 12px; overflow-x: auto; }
.guest-sub-tab {
  padding: 8px 14px; border-radius: 20px; border: 1px solid var(--wd-border);
  background: var(--wd-card-bg); font-size: 0.85rem; cursor: pointer; white-space: nowrap;
}
.guest-sub-tab.active { background: var(--wd-primary); color: #fff; border-color: var(--wd-primary); }
.guest-search {
  flex: 1; min-width: 100px; padding: 6px 10px; border: 1px solid var(--wd-border);
  border-radius: 8px; font-size: 0.85rem;
}
.guest-table { font-size: 0.75rem; color: var(--wd-primary); display: block; }

/* 座位编排 */
.seating-layout { display: flex; flex-direction: column; gap: 12px; }
#seating-canvas { width: 100%; border-radius: 8px; border: 1px solid var(--wd-border); touch-action: none; }
.seating-pool { display: flex; flex-wrap: wrap; gap: 6px; max-height: 120px; overflow-y: auto; }
.seat-chip {
  padding: 4px 10px; background: var(--wd-secondary); border-radius: 12px;
  font-size: 0.8rem; cursor: grab; user-select: none;
}
.seating-hint { font-size: 0.75rem; color: var(--wd-text-light); margin-top: 8px; }
.table-guest-list { list-style: none; }
.table-guest-list li { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px dashed var(--wd-border); }

/* 音乐播放器 A13 */
.music-player {
  display: flex; align-items: center; gap: 12px; padding: 12px;
  background: var(--wd-card-bg); border-radius: 12px; border: 1px solid var(--wd-border);
  margin-bottom: 10px;
}
.music-disc { font-size: 2rem; }
.music-player.is-playing .music-disc { animation: discSpin 3s linear infinite; }
@keyframes discSpin { to { transform: rotate(360deg); } }
.music-info { flex: 1; min-width: 0; }
.music-title { font-weight: 600; font-size: 0.9rem; }
.music-artist { font-size: 0.75rem; color: var(--wd-text-light); }
.music-wave { display: flex; gap: 3px; height: 16px; align-items: flex-end; margin-top: 4px; }
.music-wave span {
  width: 3px; background: var(--wd-primary); border-radius: 2px; height: 4px;
}
.music-player.is-playing .music-wave span { animation: waveBar 0.8s ease-in-out infinite alternate; }
.music-player.is-playing .music-wave span:nth-child(2) { animation-delay: 0.15s; }
.music-player.is-playing .music-wave span:nth-child(3) { animation-delay: 0.3s; }
.music-player.is-playing .music-wave span:nth-child(4) { animation-delay: 0.45s; }
@keyframes waveBar { to { height: 14px; } }
.music-controls button {
  width: 36px; height: 36px; border: none; border-radius: 50%;
  background: var(--wd-primary); color: #fff; cursor: pointer; font-size: 0.9rem;
}
.music-playlist { max-height: 140px; overflow-y: auto; margin-bottom: 8px; }
.music-track {
  padding: 8px; border-radius: 6px; cursor: pointer; font-size: 0.85rem;
  border-bottom: 1px solid var(--wd-border);
}
.music-track.active { background: var(--wd-secondary); }
.music-track small { display: block; color: var(--wd-text-light); font-size: 0.75rem; }

/* 供应商 */
.vendor-categories { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.vendor-cat-btn {
  padding: 6px 10px; border-radius: 8px; border: 1px solid var(--wd-border);
  background: var(--wd-card-bg); font-size: 0.8rem; cursor: pointer;
}
.vendor-cat-btn.active { background: var(--wd-primary); color: #fff; }
.vendor-card {
  padding: 14px; margin-bottom: 10px; background: var(--wd-card-bg);
  border-radius: 10px; border: 1px solid var(--wd-border);
}
.vendor-card.selected { border-color: var(--wd-primary); box-shadow: var(--wd-shadow); }
.vendor-head { display: flex; justify-content: space-between; margin-bottom: 6px; }
.vendor-price { color: var(--wd-primary); font-weight: 700; margin-bottom: 6px; }
.vendor-tags .tag {
  display: inline-block; padding: 2px 6px; margin: 2px; font-size: 0.7rem;
  background: var(--wd-secondary); border-radius: 4px;
}
.vendor-pros-cons { font-size: 0.75rem; color: var(--wd-text-light); margin: 8px 0; }
.vendor-actions { display: flex; justify-content: space-between; align-items: center; font-size: 0.85rem; }
.vendor-compare-bar {
  position: sticky; bottom: calc(var(--nav-h) + var(--footer-h) + 8px);
  background: var(--wd-primary); color: #fff; padding: 10px 14px; border-radius: 8px;
  display: flex; justify-content: space-between; align-items: center; margin-top: 12px;
}
.compare-table { width: 100%; font-size: 0.8rem; border-collapse: collapse; }
.compare-table th, .compare-table td { border: 1px solid var(--wd-border); padding: 6px; text-align: center; }
.sel-item { font-size: 0.85rem; padding: 4px 0; }

/* 祝福墙 */
.blessing-screen {
  position: relative; height: 200px; overflow: hidden;
  background: linear-gradient(180deg, var(--wd-secondary) 0%, var(--wd-bg) 100%);
  border-radius: 12px; margin-bottom: 12px;
}
.danmaku-item {
  position: absolute; white-space: nowrap; font-size: 0.85rem;
  color: var(--wd-primary); text-shadow: 0 1px 2px rgba(255,255,255,0.8);
  animation: danmakuFly linear forwards;
  right: -100%;
}
@keyframes danmakuFly {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-100vw - 100%)); }
}
.blessing-form { display: flex; gap: 6px; flex-wrap: wrap; }
.blessing-form input { flex: 1; min-width: 80px; padding: 8px; border: 1px solid var(--wd-border); border-radius: 8px; }
.blessing-hint { font-size: 0.7rem; color: var(--wd-text-light); margin-top: 8px; }

/* 签到墙 3D */
.checkin-scene { perspective: 600px; text-align: center; padding: 20px 0; }
.checkin-sphere {
  position: relative; width: 200px; height: 200px; margin: 0 auto 16px;
  transform-style: preserve-3d; animation: sphereRotate 12s linear infinite;
}
@keyframes sphereRotate { to { transform: rotateY(360deg); } }
.checkin-avatar {
  position: absolute; left: 50%; top: 50%;
  font-size: 1.8rem;
  transform: rotateY(var(--a)) translateZ(60px) rotateY(calc(-1 * var(--a)));
  animation: avatarFloat 3s ease-in-out infinite alternate;
}
.checkin-avatar:nth-child(odd) { animation-delay: 0.5s; }
@keyframes avatarFloat { to { transform: rotateY(var(--a)) translateZ(80px) rotateY(calc(-1 * var(--a))) translateY(-8px); } }
.checkin-count { font-size: 0.9rem; color: var(--wd-text-light); }
.avatar-pick { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0; }
.avatar-opt {
  width: 40px; height: 40px; font-size: 1.2rem; border: 2px solid var(--wd-border);
  border-radius: 50%; background: var(--wd-card-bg); cursor: pointer;
}
.avatar-opt.active { border-color: var(--wd-primary); }

.share-qr-slot { display: flex; justify-content: center; padding: 16px; }
.modal-hint { font-size: 0.85rem; color: var(--wd-text-light); margin-bottom: 8px; }
.wechat-tip {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 12px; background: var(--wd-secondary); border-radius: 8px;
  font-size: 0.8rem; margin-bottom: 10px;
}
.wechat-tip__close { border: none; background: none; font-size: 1.2rem; cursor: pointer; }

/* ===== P2 增强 ===== */
.lucky-day-panel h4, .lucky-suggest h4 { margin-bottom: 8px; font-size: 0.95rem; }
.lucky-lunar { color: var(--wd-text-light); font-size: 0.85rem; }
.lucky-badge { font-weight: 600; margin: 8px 0; }
.lucky-badge.good { color: #2D6A4F; }
.lucky-badge.bad { color: #C41E3A; }
.lucky-chong { font-size: 0.8rem; color: var(--wd-text-light); }
.lucky-suggest { margin-top: 12px; }
.lucky-date-btn {
  display: block; width: 100%; text-align: left; padding: 10px;
  margin-bottom: 6px; border: 1px solid var(--wd-border); border-radius: 8px;
  background: var(--wd-card-bg); cursor: pointer;
}
.lucky-date-btn small { display: block; color: var(--wd-text-light); }

.photo-preview {
  width: 100%; aspect-ratio: 4/3; background: var(--wd-secondary);
  border-radius: 8px; overflow: hidden; display: flex; align-items: center; justify-content: center;
  margin-bottom: 8px;
}
.photo-preview img { width: 100%; height: 100%; object-fit: cover; animation: photoFadeIn 0.4s ease; }
@keyframes photoFadeIn { from { opacity: 0; transform: scale(0.98); } }
.photo-placeholder { color: var(--wd-text-light); }
.inv-photo-wrap { margin: 0 auto 12px; max-width: 200px; border-radius: 8px; overflow: hidden; }
.inv-photo { width: 100%; display: block; }

.blessing-sync-bar { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 10px 0; }
.sync-badge { font-size: 0.8rem; }

.lottie-overlay {
  position: fixed; inset: 0; z-index: 4000;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,249,245,0.6); pointer-events: none;
}
.lottie-box { width: 160px; height: 160px; }
.lottie-idle { width: 48px; height: 48px; }

.wd-petal {
  position: fixed; top: -20px; font-size: 1.2rem; z-index: 100;
  animation: petalFall linear forwards; pointer-events: none;
}
@keyframes petalFall {
  to { transform: translateY(100vh) rotate(360deg); opacity: 0; }
}
.wd-ripple {
  position: absolute; border-radius: 50%; background: rgba(255,255,255,0.45);
  transform: scale(0); animation: rippleOut 0.6s ease-out; pointer-events: none;
}
@keyframes rippleOut { to { transform: scale(2.5); opacity: 0; } }
.task-done-flash { animation: taskFlash 0.6s ease; }
@keyframes taskFlash {
  50% { background: var(--wd-secondary); transform: scale(1.02); }
}

.storage-usage { font-size: 0.85rem; color: var(--wd-text-light); margin-bottom: 8px; }
.profile-admin-link { font-size: 0.85rem; margin-top: 16px; text-align: center; }
.profile-admin-link a { color: var(--wd-primary); }

.admin-back { color: inherit; text-decoration: none; font-size: 0.9rem; display: block; margin-bottom: 8px; }
.admin-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-bottom: 12px; }
.admin-stats .wd-card { text-align: center; }
.admin-stats strong { display: block; font-size: 1.3rem; color: var(--wd-primary); }
.admin-block { margin-bottom: 12px; }
.admin-hint { font-size: 0.75rem; color: var(--wd-text-light); margin-top: 8px; }
.admin-bless-list { list-style: none; font-size: 0.85rem; max-height: 200px; overflow-y: auto; }
.admin-bless-list li { padding: 6px 0; border-bottom: 1px dashed var(--wd-border); }
.admin-url { font-size: 0.75rem; word-break: break-all; color: var(--wd-text-light); }

.bless-page .wd-main { padding-bottom: 24px; }
.bless-success { text-align: center; color: #2D6A4F; margin-top: 12px; }

.gallery-img { width: 100%; border-radius: 8px; margin-bottom: 8px; animation: photoFadeIn 0.6s ease both; }

/* 分享落地页 share.html */
.share-landing { padding-bottom: var(--footer-h); }
.share-landing .wd-main { max-width: 480px; margin: 0 auto; padding: 0 16px 16px; }
.share-empty { text-align: center; padding: 32px 20px; margin-top: 24px; }
.share-empty__icon { font-size: 3rem; margin-bottom: 12px; }
.share-hero {
  text-align: center; padding: 28px 16px; border-radius: 0 0 16px 16px;
  margin: 0 -16px 16px; color: var(--wd-text-dark);
}
.share-hero__badge { font-size: 0.85rem; opacity: 0.85; margin-bottom: 8px; }
.share-hero h1 { font-size: 1.35rem; margin-bottom: 6px; }
.share-hero__sub { font-size: 0.9rem; opacity: 0.9; }
.share-card { margin-bottom: 12px; }
.share-stat-row {
  display: flex; justify-content: space-between; padding: 8px 0;
  border-bottom: 1px dashed var(--wd-border); font-size: 0.9rem;
}
.share-stat-row span { color: var(--wd-text-light); }
.share-countdown-block { text-align: center; margin-bottom: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--wd-border); }
.share-countdown-nums { display: flex; justify-content: center; gap: 12px; margin-top: 8px; }
.share-countdown-nums span { text-align: center; }
.share-countdown-nums strong { display: block; font-size: 1.4rem; color: var(--wd-primary); }
.share-countdown-nums small { font-size: 0.7rem; color: var(--wd-text-light); }
.share-progress-bar { height: 6px; background: var(--wd-secondary); border-radius: 3px; margin-top: 8px; overflow: hidden; }
.share-progress-bar div { height: 100%; background: var(--wd-primary); border-radius: 3px; }
.share-invite-preview .invite-card { box-shadow: none; margin: 0; }
.share-preview-label { font-size: 0.85rem; color: var(--wd-text-light); margin-bottom: 10px; text-align: center; }
.share-qr-block { text-align: center; }
.share-qr-block p { margin-bottom: 12px; font-size: 0.9rem; }
.share-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.share-actions .btn-block { width: 100%; text-align: center; text-decoration: none; display: block; box-sizing: border-box; }
.dash-share-row { justify-content: center; margin-top: 4px; }
