/* ============================================================
   囍事台 · 设计系统
   风格锚点：高端定制婚礼请柬 × 数字管家
   深酒红丝绒 + 金箔线条 + 奶油纸
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --bg: #FBF5EF;
  --bg-soft: #F3E7DC;
  --bg-deep: #1A0910;
  --bg-mid: #4A1520;

  --ink: #2E1A20;
  --ink-soft: #7A5560;
  --ink-mute: #A88A92;

  --wine: #8B2635;
  --wine-deep: #5C1622;
  --wine-soft: #B34B57;

  --gold: #C49A5B;
  --gold-light: #E8D5A8;
  --gold-deep: #9A7539;

  --rose: #D98A96;
  --cream: #FFFDF8;
  --card: #FFFFFF;

  --line: rgba(139, 38, 53, 0.12);
  --line-strong: rgba(139, 38, 53, 0.22);
  --shadow: 0 10px 40px rgba(74, 21, 32, 0.08);
  --shadow-soft: 0 4px 18px rgba(74, 21, 32, 0.06);
  --shadow-gold: 0 8px 32px rgba(196, 154, 91, 0.28);

  --radius: 20px;
  --radius-sm: 12px;
  --radius-pill: 999px;

  --font-display: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: none; background: none; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* ---------- Layout ---------- */
.wrap {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.section {
  padding: 72px 0 40px;
  display: none;
}
.section.active {
  display: block;
  animation: fadeUp 0.5s var(--ease);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.4vw, 36px);
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.25;
}

.section-title .en {
  display: block;
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--gold-deep);
  font-weight: 500;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.section-desc {
  color: var(--ink-soft);
  max-width: 560px;
  font-size: 14px;
}

/* ---------- FX Canvas ---------- */
#fx {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  background:
    radial-gradient(ellipse 80% 60% at 50% 20%, rgba(196, 154, 91, 0.18), transparent 60%),
    radial-gradient(ellipse 100% 80% at 50% 100%, rgba(139, 38, 53, 0.35), transparent 55%),
    linear-gradient(165deg, var(--bg-deep) 0%, var(--bg-mid) 48%, var(--bg-deep) 100%);
  color: var(--cream);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
}

.hero-rings {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0.55;
  pointer-events: none;
}

.hero-rings svg {
  width: min(920px, 140vw);
  height: auto;
  animation: ringFloat 18s ease-in-out infinite;
}

.hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 80px 20px 120px;
  width: min(920px, 100%);
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  letter-spacing: 0.32em;
  color: var(--gold-light);
  margin-bottom: 28px;
  text-transform: uppercase;
}

.hero-eyebrow::before,
.hero-eyebrow::after {
  content: "";
  width: 36px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.hero-eyebrow::after {
  background: linear-gradient(90deg, var(--gold), transparent);
}

.hero-names {
  font-family: var(--font-display);
  font-size: clamp(42px, 8.5vw, 88px);
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.15;
  margin-bottom: 18px;
  background: linear-gradient(180deg, #FFF6E4 0%, var(--gold-light) 55%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.35));
}

.hero-names .amp {
  display: inline-block;
  margin: 0 0.18em;
  font-size: 0.62em;
  opacity: 0.85;
  transform: translateY(-0.08em);
  font-style: italic;
  letter-spacing: 0;
}

.hero-sub {
  font-size: 15px;
  letter-spacing: 0.28em;
  color: rgba(255, 246, 228, 0.78);
  margin-bottom: 42px;
}

/* Countdown */
.countdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(70px, 110px));
  gap: 12px;
  justify-content: center;
  margin-bottom: 36px;
}

.cd-cell {
  background: rgba(255, 246, 228, 0.07);
  border: 1px solid rgba(232, 213, 168, 0.22);
  border-radius: 16px;
  padding: 16px 8px 12px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.cd-num {
  font-family: var(--font-display);
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 600;
  line-height: 1;
  color: var(--gold-light);
  font-variant-numeric: tabular-nums;
}

.cd-label {
  margin-top: 8px;
  font-size: 11px;
  letter-spacing: 0.28em;
  color: rgba(255, 246, 228, 0.55);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  justify-content: center;
  font-size: 13px;
  color: rgba(255, 246, 228, 0.7);
  letter-spacing: 0.08em;
}

.hero-meta strong {
  color: var(--gold-light);
  font-weight: 500;
}

.hero-scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 246, 228, 0.5);
  font-size: 11px;
  letter-spacing: 0.3em;
}

.hero-scroll .line {
  width: 1px;
  height: 42px;
  background: linear-gradient(180deg, var(--gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky;
  top: 14px;
  z-index: 50;
  width: min(1180px, calc(100% - 24px));
  margin: -28px auto 0;
  background: rgba(255, 253, 248, 0.86);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  border: 1px solid rgba(232, 213, 168, 0.55);
  border-radius: var(--radius-pill);
  box-shadow: 0 12px 40px rgba(74, 21, 32, 0.1);
  padding: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}
.nav::-webkit-scrollbar { display: none; }

.nav-list {
  display: flex;
  gap: 4px;
  min-width: max-content;
  justify-content: center;
}

.nav-btn {
  position: relative;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  white-space: nowrap;
  transition: all 0.28s var(--ease);
}

.nav-btn:hover {
  color: var(--wine);
  background: rgba(139, 38, 53, 0.06);
}

.nav-btn.active {
  color: var(--cream);
  background: linear-gradient(135deg, var(--wine) 0%, var(--wine-deep) 100%);
  box-shadow: 0 8px 22px rgba(139, 38, 53, 0.28);
}

.nav-btn .dot {
  display: none;
}

/* ============================================================
   CARDS / GRID
   ============================================================ */
.grid {
  display: grid;
  gap: 18px;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 22px 20px;
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: rgba(196, 154, 91, 0.4);
}

.card-gold {
  background:
    linear-gradient(145deg, rgba(232, 213, 168, 0.18), transparent 50%),
    var(--card);
  border-color: rgba(196, 154, 91, 0.35);
}

.card-dark {
  background:
    radial-gradient(ellipse 120% 100% at 0% 0%, rgba(196, 154, 91, 0.18), transparent 55%),
    linear-gradient(150deg, var(--wine-deep), var(--bg-deep));
  color: var(--cream);
  border-color: rgba(196, 154, 91, 0.3);
}

.card-dark .muted { color: rgba(255, 246, 228, 0.62); }

.card-label {
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--ink-mute);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.card-label::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(196, 154, 91, 0.18);
}

.card-dark .card-label { color: rgba(255, 246, 228, 0.55); }

.card-value {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0.02em;
}

.card-value.gold {
  background: linear-gradient(135deg, var(--gold-deep), var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.card-note {
  margin-top: 8px;
  font-size: 13px;
  color: var(--ink-soft);
}

.muted { color: var(--ink-soft); }
.tiny { font-size: 12px; }

/* Watermark 囍 */
.card::after {
  content: "囍";
  position: absolute;
  right: -8px;
  bottom: -18px;
  font-family: var(--font-display);
  font-size: 110px;
  line-height: 1;
  color: rgba(139, 38, 53, 0.045);
  pointer-events: none;
  user-select: none;
}
.card-dark::after { color: rgba(232, 213, 168, 0.06); }

/* ============================================================
   BUTTONS / TAGS / INPUTS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: var(--radius-pill);
  font-size: 13.5px;
  letter-spacing: 0.06em;
  font-weight: 500;
  transition: all 0.28s var(--ease);
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--wine), var(--wine-deep));
  color: var(--cream);
  box-shadow: 0 10px 26px rgba(139, 38, 53, 0.28);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(139, 38, 53, 0.36);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  color: #2A1A08;
  box-shadow: var(--shadow-gold);
}
.btn-gold:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.btn-ghost {
  background: rgba(139, 38, 53, 0.05);
  color: var(--wine);
  border-color: var(--line-strong);
}
.btn-ghost:hover {
  background: rgba(139, 38, 53, 0.1);
  border-color: var(--wine);
}

.btn-soft {
  background: var(--bg-soft);
  color: var(--ink);
}
.btn-soft:hover { background: var(--line); }

.btn-sm {
  padding: 7px 14px;
  font-size: 12.5px;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 11px;
  border-radius: var(--radius-pill);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  background: var(--bg-soft);
  color: var(--ink-soft);
  border: 1px solid transparent;
  white-space: nowrap;
}

.tag-gold {
  background: rgba(196, 154, 91, 0.14);
  color: var(--gold-deep);
  border-color: rgba(196, 154, 91, 0.3);
}

.tag-wine {
  background: rgba(139, 38, 53, 0.1);
  color: var(--wine);
  border-color: rgba(139, 38, 53, 0.18);
}

.tag-done {
  background: rgba(78, 156, 108, 0.12);
  color: #2F7A4A;
  border-color: rgba(78, 156, 108, 0.25);
}

.tag-doing {
  background: rgba(196, 154, 91, 0.16);
  color: var(--gold-deep);
  border-color: rgba(196, 154, 91, 0.32);
}

.tag-todo {
  background: rgba(139, 38, 53, 0.08);
  color: var(--wine);
  border-color: rgba(139, 38, 53, 0.16);
}

.input, .select, .textarea {
  width: 100%;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong);
  background: var(--cream);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.input:focus, .select:focus, .textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(196, 154, 91, 0.18);
}

.textarea { resize: vertical; min-height: 90px; }

.field { margin-bottom: 14px; }
.field label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--ink-mute);
  margin-bottom: 6px;
}

/* ============================================================
   PROGRESS / CHARTS
   ============================================================ */
.ring-wrap {
  position: relative;
  width: 132px;
  height: 132px;
}

.ring-wrap svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.ring-track { stroke: rgba(139, 38, 53, 0.1); }
.ring-bar {
  stroke: url(#ringGrad);
  stroke-linecap: round;
  transition: stroke-dashoffset 1.2s var(--ease);
}

.ring-center {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  text-align: center;
}

.ring-num {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  line-height: 1;
  color: var(--wine);
}

.ring-label {
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--ink-mute);
  margin-top: 4px;
}

.bar-track {
  height: 8px;
  border-radius: 999px;
  background: rgba(139, 38, 53, 0.1);
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold), var(--wine));
  width: 0%;
  transition: width 1s var(--ease);
}

.donut-wrap {
  position: relative;
  width: 180px;
  height: 180px;
  margin-inline: auto;
}

.donut-wrap svg { width: 100%; height: 100%; transform: rotate(-90deg); }

.donut-center {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  text-align: center;
}

.donut-total {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--wine);
}

.donut-label { font-size: 10px; letter-spacing: 0.16em; color: var(--ink-mute); }

.legend {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
}

.legend-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}

.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.legend-name { flex: 1; color: var(--ink-soft); }
.legend-val { font-variant-numeric: tabular-nums; color: var(--ink); }

/* ============================================================
   LISTS / TASKS
   ============================================================ */
.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 18px;
}

.chip {
  padding: 8px 15px;
  border-radius: var(--radius-pill);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  background: var(--card);
  border: 1px solid var(--line);
  color: var(--ink-soft);
  transition: all 0.25s var(--ease);
}

.chip:hover { border-color: var(--gold); color: var(--wine); }

.chip.active {
  background: var(--wine);
  color: var(--cream);
  border-color: var(--wine);
}

.list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.list-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  transition: all 0.28s var(--ease);
  position: relative;
  overflow: hidden;
}

.list-item:hover {
  border-color: rgba(196, 154, 91, 0.45);
  box-shadow: var(--shadow-soft);
  transform: translateX(3px);
}

.list-item.done {
  opacity: 0.72;
  background: linear-gradient(135deg, rgba(243, 231, 220, 0.55), rgba(255, 253, 248, 0.9));
  border-color: rgba(196, 154, 91, 0.28);
}

.list-item.done .item-title {
  text-decoration: line-through;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 1.5px;
  color: var(--ink-soft);
}

.check {
  width: 22px;
  height: 22px;
  min-width: 22px;
  border-radius: 50%;
  border: 1.5px solid var(--line-strong);
  flex-shrink: 0;
  margin-top: 3px;
  display: grid;
  place-items: center;
  transition: all 0.28s var(--ease-bounce);
  background: var(--cream);
  position: relative;
}

.check:hover {
  border-color: var(--gold);
  transform: scale(1.1);
}

.check.on {
  background: linear-gradient(135deg, var(--gold), var(--wine));
  border-color: transparent;
}

.check.on::after {
  content: "";
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) translate(-1px, -1px);
  display: block;
}

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

.item-title {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  word-break: break-word;
}

.item-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  margin-top: 6px;
  font-size: 12px;
  color: var(--ink-mute);
  align-items: center;
}

.item-note {
  margin-top: 6px;
  font-size: 12.5px;
  color: var(--ink-soft);
  line-height: 1.55;
}

.item-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
  opacity: 0.55;
  transition: opacity 0.25s;
  align-items: center;
  padding-left: 8px;
}

.list-item:hover .item-actions { opacity: 1; }

.icon-btn {
  width: 34px;
  height: 34px;
  min-width: 34px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-mute);
  background: var(--bg-soft);
  transition: all 0.22s;
  font-size: 14px;
  border: 1px solid transparent;
}

.icon-btn:hover {
  color: var(--wine);
  background: rgba(139, 38, 53, 0.1);
}

/* ============================================================
   TIMELINE
   ============================================================ */
.timeline {
  position: relative;
  padding-left: 28px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--gold), var(--wine), transparent);
  border-radius: 2px;
}

.tl-item {
  position: relative;
  padding: 0 0 22px 18px;
}

.tl-item::before {
  content: "";
  position: absolute;
  left: -26px;
  top: 8px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--card);
  border: 2px solid var(--gold);
  box-shadow: 0 0 0 4px rgba(196, 154, 91, 0.15);
}

.tl-item.done::before {
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(196, 154, 91, 0.28);
}

.tl-time {
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--gold-deep);
  letter-spacing: 0.1em;
  font-weight: 600;
}

.tl-title {
  font-size: 15.5px;
  font-weight: 500;
  margin: 2px 0 4px;
}

.tl-desc {
  font-size: 13px;
  color: var(--ink-soft);
}

/* ============================================================
   INVITATION CARD (signature)
   ============================================================ */
.invite-stage {
  display: grid;
  place-items: center;
  padding: 20px 0 10px;
}

.invite-card {
  position: relative;
  width: min(380px, 100%);
  aspect-ratio: 5 / 7;
  background:
    radial-gradient(ellipse 90% 60% at 50% 0%, rgba(232, 213, 168, 0.22), transparent 55%),
    linear-gradient(165deg, var(--wine-deep) 0%, var(--bg-mid) 45%, var(--wine-deep) 100%);
  border-radius: 8px;
  color: var(--cream);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow:
    0 30px 80px rgba(26, 9, 16, 0.45),
    inset 0 0 0 1px rgba(232, 213, 168, 0.35),
    inset 0 0 0 10px rgba(232, 213, 168, 0.08);
  overflow: hidden;
}

.invite-card::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(232, 213, 168, 0.35);
  border-radius: 4px;
  pointer-events: none;
}

.invite-card::after {
  content: "";
  position: absolute;
  inset: -40%;
  background: linear-gradient(
    115deg,
    transparent 42%,
    rgba(255, 246, 228, 0.12) 48%,
    rgba(255, 246, 228, 0.28) 50%,
    rgba(255, 246, 228, 0.12) 52%,
    transparent 58%
  );
  transform: translateX(-60%);
  animation: shimmer 5.5s ease-in-out infinite;
  pointer-events: none;
}

.invite-xi {
  font-family: var(--font-display);
  font-size: 56px;
  line-height: 1;
  color: var(--gold-light);
  letter-spacing: 0.1em;
  margin: 8px 0 4px;
  text-shadow: 0 6px 24px rgba(196, 154, 91, 0.4);
}

.invite-line {
  width: 46px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 12px 0;
}

.invite-names {
  font-family: var(--font-display);
  font-size: 30px;
  letter-spacing: 0.18em;
  margin: 6px 0;
  background: linear-gradient(180deg, #FFF6E4, var(--gold-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.invite-date {
  font-size: 14px;
  letter-spacing: 0.28em;
  color: var(--gold-light);
  margin-top: 10px;
}

.invite-venue {
  margin-top: auto;
  padding-top: 16px;
  font-size: 13px;
  letter-spacing: 0.16em;
  color: rgba(255, 246, 228, 0.8);
  line-height: 1.9;
}

.invite-venue .place {
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--gold-light);
  letter-spacing: 0.22em;
}

/* 请柬预览舞台 */
.invite-preview-stage {
  display: grid;
  place-items: center;
  padding: 36px 18px;
}

/* 请柬卡片装饰角 */
.invite-ornament {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 68%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(232, 213, 168, 0.5), transparent);
  pointer-events: none;
}
.invite-ornament.top { top: 22px; }
.invite-ornament.bottom { bottom: 22px; }

/* 专业制作工具列表 */
.tool-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tool-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg-soft, rgba(196, 154, 91, 0.05));
  transition: border-color 0.22s, box-shadow 0.22s;
}

.tool-row:hover {
  border-color: rgba(196, 154, 91, 0.5);
  box-shadow: 0 8px 22px rgba(196, 154, 91, 0.12);
}

.tool-name {
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--wine);
  letter-spacing: 0.06em;
}

.tool-desc {
  font-size: 12px;
  color: var(--ink-soft);
  margin-top: 2px;
}

/* 工具指引弹窗 */
.tool-guide {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tool-guide-step {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  line-height: 1.7;
}

.step-no {
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--wine);
  color: var(--cream);
  font-size: 12px;
  display: grid;
  place-items: center;
  margin-top: 2px;
}

/* 请柬信息只读展示 */
.invite-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.invite-info-row {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--line);
}

.invite-info-row:last-child { border-bottom: none; }

.invite-info-row .k {
  flex: none;
  width: 44px;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--ink-mute);
}

.invite-info-row .v {
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--ink);
  letter-spacing: 0.04em;
}

/* ============================================================
   IDEAS 折叠卡片
   ============================================================ */
.idea-fold-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.idea-fold {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
  overflow: hidden;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.idea-fold:hover {
  border-color: rgba(196, 154, 91, 0.45);
}

.idea-fold.open {
  border-color: rgba(196, 154, 91, 0.55);
  box-shadow: 0 12px 32px rgba(196, 154, 91, 0.12);
}

.idea-fold-head {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: inherit;
}

.idea-fold-main {
  flex: 1;
  min-width: 0;
}

.idea-fold-title {
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--ink);
  letter-spacing: 0.04em;
}

.idea-fold-sum {
  font-size: 12px;
  color: var(--ink-soft);
  margin-top: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.idea-fold-side {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

.idea-fold-arrow {
  color: var(--gold);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  font-size: 12px;
}

.idea-fold.open .idea-fold-arrow {
  transform: rotate(180deg);
}

.idea-fold-body {
  padding: 0 16px 14px;
  animation: ideaBodyIn 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.idea-fold-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 12px;
  opacity: 1;
}

@keyframes ideaBodyIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* 折叠面板（待补充信息） */
.fold-panel {
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
  overflow: hidden;
}

.fold-panel-head {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: transparent;
  border: none;
  cursor: pointer;
  font: inherit;
  color: inherit;
  text-align: left;
}

.fold-panel-title {
  flex: 1;
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 0.06em;
  color: var(--ink);
}

.fold-panel-meta {
  font-size: 12px;
  color: var(--ink-mute);
  letter-spacing: 0.08em;
}

.fold-panel-arrow {
  color: var(--gold);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  font-size: 12px;
}

.fold-panel.open .fold-panel-arrow {
  transform: rotate(180deg);
}

.fold-panel-body {
  padding: 0 16px 16px;
  animation: ideaBodyIn 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ============================================================
   MILESTONES
   ============================================================ */
.milestones {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.ms-row {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px dashed var(--line);
  transition: all 0.25s;
}

.ms-row:hover { background: rgba(196, 154, 91, 0.05); }

.ms-date {
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--gold-deep);
  letter-spacing: 0.06em;
}

.ms-title { font-weight: 500; }
.ms-desc { font-size: 12.5px; color: var(--ink-soft); margin-top: 2px; }

.ms-row.done .ms-title {
  color: var(--ink-mute);
  text-decoration: line-through;
  text-decoration-color: var(--gold);
}

.ms-row.key .ms-title { color: var(--wine); font-weight: 600; }

/* ============================================================
   TABLE
   ============================================================ */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--card);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}

th, td {
  padding: 13px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

th {
  font-size: 11.5px;
  letter-spacing: 0.14em;
  color: var(--ink-mute);
  font-weight: 500;
  background: var(--bg-soft);
}

tr:last-child td { border-bottom: none; }
tr:hover td { background: rgba(196, 154, 91, 0.05); }

.num { font-variant-numeric: tabular-nums; }

/* ============================================================
   MODAL
   ============================================================ */
.modal-mask {
  position: fixed;
  inset: 0;
  background: rgba(26, 9, 16, 0.45);
  backdrop-filter: blur(12px) saturate(1.1);
  -webkit-backdrop-filter: blur(12px) saturate(1.1);
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.32s var(--ease);
}

.modal-mask.show {
  display: flex;
  opacity: 1;
}

.modal {
  width: min(500px, 100%);
  background: var(--cream);
  border-radius: 24px;
  padding: 0;
  box-shadow:
    0 40px 100px rgba(26, 9, 16, 0.35),
    0 0 0 1px rgba(232, 213, 168, 0.5);
  transform: translateY(20px) scale(0.96);
  transition: transform 0.4s var(--ease);
  max-height: min(88vh, 740px);
  overflow-y: auto;
  scrollbar-width: none;
}
.modal::-webkit-scrollbar { display: none; }

.modal-mask.show .modal {
  transform: translateY(0) scale(1);
}

.modal-head {
  padding: 26px 28px 0;
  position: relative;
}

.modal-head::before {
  content: "囍";
  position: absolute;
  right: 22px;
  top: 16px;
  font-family: var(--font-display);
  font-size: 44px;
  color: rgba(196, 154, 91, 0.12);
  line-height: 1;
  pointer-events: none;
}

.modal-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--ink);
  line-height: 1.35;
}

.modal-sub {
  font-size: 13px;
  color: var(--ink-soft);
  margin-top: 6px;
  line-height: 1.6;
}

.modal-body {
  padding: 20px 28px 8px;
}

.modal-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  padding: 18px 28px 26px;
  background: linear-gradient(180deg, transparent, rgba(243, 231, 220, 0.35));
  border-radius: 0 0 24px 24px;
}

.modal .btn {
  min-width: 88px;
}

.modal .btn-primary {
  background: linear-gradient(135deg, var(--wine), var(--wine-deep));
  box-shadow: 0 8px 24px rgba(139, 38, 53, 0.28);
}

.modal .btn-soft {
  background: var(--bg-soft);
  border: 1px solid var(--line);
}

.modal-close {
  position: absolute;
  right: 18px;
  top: 18px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--ink-mute);
  font-size: 16px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  transition: all 0.22s;
  cursor: pointer;
  z-index: 2;
}
.modal-close:hover {
  background: rgba(139, 38, 53, 0.1);
  color: var(--wine);
  transform: scale(1.08);
}

/* ============================================================
   CONFETTI
   ============================================================ */
.confetti-piece {
  position: fixed;
  width: 8px;
  height: 12px;
  top: -10px;
  z-index: 200;
  pointer-events: none;
  border-radius: 2px;
  animation: confettiFall 1.8s var(--ease) forwards;
}

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   KEYFRAMES
   ============================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes ringFloat {
  0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.5; }
  50% { transform: scale(1.03) rotate(3deg); opacity: 0.7; }
}

@keyframes scrollPulse {
  0%, 100% { transform: scaleY(1); opacity: 0.7; }
  50% { transform: scaleY(0.65); opacity: 0.35; }
}

@keyframes shimmer {
  0%, 100% { transform: translateX(-70%) rotate(8deg); opacity: 0; }
  40% { opacity: 1; }
  60% { opacity: 1; }
  90% { transform: translateX(70%) rotate(8deg); opacity: 0; }
}

@keyframes confettiFall {
  0% {
    transform: translate3d(0, 0, 0) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: translate3d(var(--dx, 20px), 100vh, 0) rotate(var(--rot, 360deg));
    opacity: 0;
  }
}

@keyframes pulseGold {
  0%, 100% { box-shadow: 0 0 0 0 rgba(196, 154, 91, 0.35); }
  50% { box-shadow: 0 0 0 12px rgba(196, 154, 91, 0); }
}

/* ============================================================
   UTILITIES
   ============================================================ */
.row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.row-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.stack { display: flex; flex-direction: column; gap: 14px; }

.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
  margin: 22px 0;
}

.text-gold { color: var(--gold-deep); }
.text-wine { color: var(--wine); }

.gold-text {
  background: linear-gradient(135deg, var(--gold-deep), var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.footer {
  padding: 50px 0 60px;
  text-align: center;
  color: var(--ink-mute);
  font-size: 12.5px;
  letter-spacing: 0.12em;
}

.footer .xi {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--gold);
  display: block;
  margin-bottom: 10px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
  body { font-size: 14px; }
  .wrap { width: calc(100% - 28px); }
  .section { padding: 52px 0 30px; }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }

  .hero-inner { padding: 70px 16px 110px; }
  .countdown { grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .cd-cell { padding: 12px 4px 10px; }

  .nav {
    top: 8px;
    margin-top: -20px;
    border-radius: 18px;
    padding: 6px;
  }
  .nav-list { justify-content: flex-start; }
  .nav-btn { padding: 9px 12px; font-size: 12px; }

  .card { padding: 18px 16px; }
  .card-value { font-size: 28px; }

  .ms-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .list-item { padding: 13px 14px; }
  .item-actions { opacity: 1; }

  .invite-card { width: min(320px, 100%); padding: 28px 20px; }
  .invite-xi { font-size: 44px; }
  .invite-names { font-size: 24px; }
}

/* Prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* 表格操作列 */
td:last-child {
  white-space: nowrap;
  padding-right: 16px;
}
td:last-child .icon-btn + .icon-btn {
  margin-left: 6px;
}


/* 登录入口：固定在首屏倒计时板块右上角 */
.hero {
  position: relative;
}
@media (max-width: 560px) {
  #guest-login-fab {
    width: 34px !important;
    height: 34px !important;
    font-size: 12px !important;
    top: 14px !important;
    right: 14px !important;
  }
}

/* 预算：定金标签可点击切换，尾款单列 */
.budget-deposit {
  cursor: pointer;
  user-select: none;
}
.budget-deposit:hover {
  filter: brightness(0.96);
  text-decoration: underline dotted;
}

/* ============ 流程时间轴（重做版） ============ */
.tl-progress {
  margin-bottom: 18px;
  padding: 20px 24px 18px;
  border-radius: 18px;
  background: linear-gradient(135deg, #FFFDF8 0%, #F8EFE4 100%);
  border: 1px solid rgba(196, 154, 91, 0.32);
  box-shadow: 0 12px 30px rgba(74, 21, 32, 0.06);
}
.tl-prog-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}
.tl-prog-k {
  font-size: 10.5px;
  letter-spacing: 0.22em;
  color: var(--gold-deep, #A8752E);
}
.tl-prog-next {
  margin-top: 7px;
  font-size: 14px;
  color: var(--ink, #2E1A20);
}
.tl-prog-next strong {
  font-family: var(--font-display, serif);
  font-size: 22px;
  color: var(--wine, #8B2635);
  margin-right: 8px;
  letter-spacing: 0.02em;
}
.tl-prog-right {
  text-align: right;
  flex-shrink: 0;
}
.tl-prog-right strong {
  display: block;
  font-family: var(--font-display, serif);
  font-size: 28px;
  line-height: 1;
  color: var(--wine, #8B2635);
}
.tl-prog-right span {
  display: block;
  margin-top: 5px;
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--ink-soft, #7A5560);
}
.tl-prog-bar {
  height: 6px;
  margin-top: 14px;
  border-radius: 999px;
  background: rgba(139, 38, 53, 0.08);
  overflow: hidden;
}
.tl-prog-bar i {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #C49A5B, #8B2635);
  transition: width 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.tl-board {
  padding: 14px 26px 20px;
}
.tl-note:empty {
  display: none;
}

.timeline {
  --clock-w: 116px;
  position: relative;
  padding-left: 0;
}
.timeline::before {
  content: "";
  position: absolute;
  left: calc(var(--clock-w) + 24px);
  top: 18px;
  bottom: 18px;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(180deg, rgba(196, 154, 91, 0.65), rgba(139, 38, 53, 0.3) 55%, rgba(196, 154, 91, 0.1));
}

.tl-phase {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 18px 0 8px calc(var(--clock-w) + 42px);
}
.tl-phase-name {
  font-family: var(--font-display, serif);
  font-size: 15px;
  letter-spacing: 0.2em;
  color: var(--wine, #8B2635);
}
.tl-phase-range {
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: rgba(122, 85, 96, 0.7);
}

.tl-row {
  display: grid;
  grid-template-columns: var(--clock-w) 24px minmax(0, 1fr);
  gap: 12px;
  padding: 4px 0;
  position: relative;
}
.tl-clock {
  text-align: right;
  padding-top: 9px;
}
.tl-clock strong {
  font-family: var(--font-display, serif);
  font-size: 23px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink, #2E1A20);
  font-variant-numeric: tabular-nums;
}
.tl-gap {
  display: block;
  margin-top: 3px;
  font-size: 10px;
  letter-spacing: 0.04em;
  color: rgba(122, 85, 96, 0.62);
}
.tl-axis {
  position: relative;
  display: flex;
  justify-content: center;
}
.tl-axis i {
  width: 13px;
  height: 13px;
  margin-top: 16px;
  border-radius: 50%;
  background: #FFFDF8;
  border: 2px solid #C49A5B;
  box-shadow: 0 0 0 4px rgba(196, 154, 91, 0.12);
  z-index: 1;
  transition: all 0.25s ease;
}
.tl-row.done .tl-axis i {
  background: #C49A5B;
  border-color: #8B2635;
}
.tl-row.is-next .tl-axis i {
  background: #8B2635;
  border-color: #E8D5A8;
  box-shadow: 0 0 0 5px rgba(139, 38, 53, 0.14), 0 0 18px rgba(139, 38, 53, 0.35);
}
.tl-body {
  padding: 8px 14px 10px;
  border-radius: 13px;
  border: 1px solid transparent;
  transition: background 0.22s ease, border-color 0.22s ease;
}
.tl-row:hover .tl-body {
  background: rgba(196, 154, 91, 0.055);
}
.tl-row.is-next .tl-body {
  background: linear-gradient(135deg, rgba(139, 38, 53, 0.07), rgba(196, 154, 91, 0.05));
  border-color: rgba(139, 38, 53, 0.18);
}
.tl-head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
}
.tl-head h4 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink, #2E1A20);
}
.tl-row.done .tl-head h4 {
  color: rgba(122, 85, 96, 0.7);
  text-decoration: line-through;
  text-decoration-color: rgba(139, 38, 53, 0.3);
}
.tl-next-tag {
  padding: 2px 9px;
  border-radius: 999px;
  background: linear-gradient(135deg, #8B2635, #5C1622);
  color: #F6E7C6;
  font-size: 10px;
  letter-spacing: 0.12em;
  box-shadow: 0 4px 10px rgba(139, 38, 53, 0.22);
}
.tl-done-tag {
  padding: 2px 9px;
  border-radius: 999px;
  background: rgba(47, 125, 91, 0.1);
  border: 1px solid rgba(47, 125, 91, 0.28);
  color: #2F7D5B;
  font-size: 10px;
  letter-spacing: 0.08em;
}
.tl-desc {
  margin: 5px 0 0;
  font-size: 12.5px;
  line-height: 1.75;
  color: var(--ink-soft, #7A5560);
}
.tl-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 9px;
}
.tl-act {
  padding: 4px 11px;
  border-radius: 999px;
  border: 1px solid rgba(139, 38, 53, 0.14);
  background: transparent;
  color: rgba(122, 85, 96, 0.85);
  font-size: 10.5px;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all 0.2s ease;
}
.tl-act:hover {
  border-color: rgba(196, 154, 91, 0.55);
  color: var(--ink, #2E1A20);
  background: rgba(196, 154, 91, 0.07);
}
.tl-act.on {
  border-color: rgba(139, 38, 53, 0.25);
  color: var(--wine, #8B2635);
  background: rgba(139, 38, 53, 0.06);
}
.tl-act.danger:hover {
  color: #B23A48;
  border-color: rgba(178, 58, 72, 0.4);
  background: rgba(178, 58, 72, 0.06);
}
.tl-empty {
  padding: 40px 16px;
  text-align: center;
  font-size: 13px;
  color: rgba(122, 85, 96, 0.7);
}

@media (max-width: 720px) {
  .tl-progress { padding: 16px 18px 15px; }
  .tl-prog-next { font-size: 13px; }
  .tl-prog-next strong { font-size: 19px; }
  .tl-prog-right strong { font-size: 24px; }
  .tl-board { padding: 10px 14px 16px; }
  .timeline { --clock-w: 68px; }
  .timeline::before { left: calc(var(--clock-w) + 20px); top: 14px; }
  .tl-row { grid-template-columns: var(--clock-w) 20px minmax(0, 1fr); gap: 8px; }
  .tl-clock strong { font-size: 18px; }
  .tl-gap { font-size: 9px; }
  .tl-axis i { width: 11px; height: 11px; margin-top: 13px; }
  .tl-phase { padding-left: calc(var(--clock-w) + 34px); }
  .tl-phase-name { font-size: 13px; }
  .tl-body { padding: 7px 10px 9px; }
  .tl-head h4 { font-size: 14.5px; }
  .tl-desc { font-size: 11.5px; }
  .tl-act { font-size: 10px; padding: 4px 9px; }
}

/* 流程页隐藏左下快捷添加，避免压住时间轴 */
body.tl-view .fab-wrap {
  display: none !important;
}

/* 主页：婚礼当天时间轴（横向） */
.dash-tl-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 4px 0 0;
}
.dash-tl-label {
  font-size: 10.5px;
  letter-spacing: 0.24em;
  color: var(--gold-deep, #A8752E);
}
.dash-tl {
  position: relative;
  display: flex;
  overflow-x: auto;
  padding: 6px 2px 10px 58px;
  scrollbar-width: thin;
  scrollbar-color: rgba(196, 154, 91, 0.4) transparent;
}
.dash-tl::-webkit-scrollbar { height: 4px; }
.dash-tl::-webkit-scrollbar-thumb {
  background: rgba(196, 154, 91, 0.4);
  border-radius: 999px;
}
.dash-tl::before {
  content: "";
  position: absolute;
  left: 74px;
  right: 20px;
  top: 41px;
  height: 1px;
  background: linear-gradient(90deg, rgba(196, 154, 91, 0.12), rgba(196, 154, 91, 0.6) 18%, rgba(139, 38, 53, 0.3) 100%);
}
.dash-tl-item {
  flex: 0 0 156px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
  padding: 0 14px;
  border: none;
  background: transparent;
  text-align: left;
  cursor: pointer;
  position: relative;
  z-index: 1;
}
.dtl-time {
  font-family: var(--font-display, serif);
  font-size: 21px;
  letter-spacing: 0.02em;
  color: var(--ink, #2E1A20);
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}
.dtl-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #FFFDF8;
  border: 2px solid #C49A5B;
  box-shadow: 0 0 0 4px rgba(196, 154, 91, 0.1);
}
.dtl-title {
  font-size: 12px;
  line-height: 1.55;
  color: var(--ink-soft, #7A5560);
  letter-spacing: 0.01em;
}
.dash-tl-item.is-next .dtl-time { color: var(--wine, #8B2635); }
.dash-tl-item.is-next .dtl-dot {
  background: var(--wine, #8B2635);
  border-color: #E8D5A8;
  box-shadow: 0 0 0 5px rgba(139, 38, 53, 0.13), 0 0 16px rgba(139, 38, 53, 0.35);
}
.dash-tl-item.is-next .dtl-title {
  color: var(--wine, #8B2635);
  font-weight: 600;
}
.dash-tl-empty {
  padding: 22px 4px 12px;
  font-size: 12px;
  color: var(--ink-soft, #7A5560);
}
@media (max-width: 560px) {
  .dash-tl-item { flex-basis: 132px; padding-right: 10px; }
  .dtl-time { font-size: 18px; }
}

/* 歌单页隐藏左下快捷添加，避免压住播放器 */
body.music-view .fab-wrap {
  display: none !important;
}
