:root {
  --brand: #D96A7A;
  --brand-soft: #F5A48E;
  --brand-deep: #B85567;
  --bg: #F7F2EE;
  --bg-warm: #F1EAE3;
  --card-bg: #FFFDFC;
  --card-border: #E9DDD7;
  --text-primary: #352B2A;
  --text-secondary: #685B58;
  --text-muted: #9A8984;
  --brand-primary: #C8646C;
  --brand-dark: #9F4E58;
  --brand-soft-bg: #F8E8E6;
  --tag-neutral-bg: #F5EEE8;
  --tag-neutral-text: #75645F;
  --tag-style-bg: #EADFD6;
  --tag-style-text: #5C4A44;
  --lyrics-bg: #FBF6F2;
  --lyrics-border: #EADDD6;
  --lyrics-text: #544846;
  --panel: rgba(255, 255, 255, 0.94);
  --ink: #3D2A2E;
  --muted: #8A7378;
  --line: #F2D9D4;
  --quote-bg: #FCEDE8;
  --cream: #FFF1E5;
  --shadow: 0 18px 42px rgba(217, 106, 122, 0.14);
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: #F7F2EE;
  -webkit-font-smoothing: antialiased;
}

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

/* ============ STICKY CTA (单胶囊 · 永远可见) ============ */
.sticky-cta {
  position: fixed;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 20;
  max-width: 460px;
  margin: 0 auto;
  border: 0;
  border-radius: 14px;
  padding: 13px 22px;
  background: linear-gradient(135deg, var(--brand-soft), var(--brand));
  color: #fff;
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(217, 106, 122, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform .15s ease;
}
.sticky-cta:hover { transform: translateY(-1px); }
.sticky-cta:active { transform: translateY(1px); }
.sticky-cta .ic {
  font-size: 16px;
  opacity: 0.95;
}
.sticky-cta .arr {
  font-size: 17px;
  opacity: 0.85;
}

.app-shell {
  width: min(100%, 760px);
  margin: 0 auto;
  padding: 16px 14px 120px;
}

/* ============ HERO ============ */
.hero {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(238, 215, 200, 0.7);
  border-radius: 24px;
  padding: 32px 26px 26px;
  background:
    radial-gradient(circle at 88% 18%, rgba(245, 190, 175, 0.32), transparent 38%),
    radial-gradient(circle at 12% 6%, rgba(255, 230, 215, 0.55), transparent 42%),
    linear-gradient(160deg, #FBF1E8 0%, #F7EADD 100%);
  box-shadow: 0 22px 50px rgba(184, 120, 100, 0.14);
}
.hero::after { content: none; }

/* === 背景装饰：五线谱 + 漂浮音符 + 玫瑰 + 卡片 === */
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-bg .staff-line {
  position: absolute;
  right: -4%;
  width: 70%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(193, 142, 117, 0.42) 30%, rgba(193, 142, 117, 0.42) 70%, transparent);
}
.hero-bg .staff-line:nth-child(1) { top: 58%; transform: rotate(-2deg); }
.hero-bg .staff-line:nth-child(2) { top: 64%; transform: rotate(-2deg); }
.hero-bg .staff-line:nth-child(3) { top: 70%; transform: rotate(-2deg); }
.hero-bg .staff-line:nth-child(4) { top: 76%; transform: rotate(-2deg); }
.hero-bg .staff-line:nth-child(5) { top: 82%; transform: rotate(-2deg); }
.hero-bg .float-note {
  position: absolute;
  color: rgba(193, 142, 117, 0.42);
  font-size: 18px;
  font-weight: 300;
}
.hero-bg .n1 { top: 12%; right: 28%; font-size: 20px; transform: rotate(8deg); display: none; }
.hero-bg .n2 { top: 32%; right: 10%; font-size: 24px; opacity: 0.5; display: none; }
.hero-bg .n3 { bottom: 14%; right: 38%; font-size: 14px; opacity: 0.55; display: none; }
.hero-rose {
  position: absolute;
  right: -18px;
  top: -6px;
  width: 200px;
  height: 200px;
  object-fit: contain;
  filter: drop-shadow(0 16px 28px rgba(120, 80, 60, 0.18));
  pointer-events: none;
}
.hero-card-deco {
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 168px;
  padding: 16px 14px 18px;
  background: linear-gradient(160deg, #FDF7EE 0%, #F2E3D0 100%);
  border-radius: 4px;
  transform: rotate(-4deg);
  box-shadow:
    0 14px 28px rgba(120, 80, 60, 0.18),
    0 0 0 1px rgba(255, 255, 255, 0.5) inset;
  font-family: "Songti SC", "STSong", "KaiTi", "STKaiti", serif;
  color: #6B4A4A;
  font-style: italic;
}
.hero-card-deco::before {
  content: "";
  position: absolute;
  inset: 4px;
  border: 0.5px solid rgba(193, 142, 117, 0.25);
  border-radius: 2px;
  pointer-events: none;
}
.hero-card-deco p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
  letter-spacing: 1.5px;
  text-align: right;
}
.hero-card-deco p + p { margin-top: 2px; }
.hero-card-deco .heart-line {
  display: block;
  margin-top: 6px;
  text-align: right;
  color: #C97C7A;
  font-size: 14px;
  font-style: normal;
}

/* === Brand row === */
.brand-row {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}
.brand-logo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  flex-shrink: 0;
  object-fit: cover;
  background: #fff;
  box-shadow: 0 6px 18px rgba(217, 106, 122, 0.22);
}
.brand-name strong {
  display: block;
  font-size: 22px;
  letter-spacing: 4px;
  color: var(--ink);
  font-weight: 800;
  line-height: 1.1;
}
.brand-name .note { display: none; }
.brand-name small {
  display: block;
  margin-top: 6px;
  font-size: 11.5px;
  color: #9B7A6E;
  letter-spacing: 4px;
  font-weight: 500;
  line-height: 1;
}

/* === Title === */
.hero h1 {
  position: relative;
  z-index: 2;
  margin: 6px 0 14px;
  max-width: 540px;
  font-size: clamp(24px, 5.4vw, 38px);
  line-height: 1.35;
  letter-spacing: 1.5px;
  color: #2A1E1F;
  font-weight: 800;
  font-family: "PingFang SC", "Songti SC", "STSong", -apple-system, sans-serif;
}
.hero h1 .hl {
  color: #B85567;
}
.hero h1 br.m-only { display: none; }
.hero h1 br.d-only { display: initial; }

/* === Sub === */
.hero .hero-sub {
  position: relative;
  z-index: 2;
  margin: 0 0 22px;
  color: #6E5450;
  font-size: 14.5px;
  line-height: 1.95;
  letter-spacing: 0.5px;
  max-width: 480px;
}

/* === Actions === */
.hero-actions {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 46px;
  border: 0;
  border-radius: 10px;
  padding: 12px 26px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .2s ease;
  font-size: 14.5px;
  letter-spacing: 1px;
}
.btn.primary {
  color: #fff;
  background: linear-gradient(135deg, #C97C7A, #B85567);
  box-shadow: 0 10px 22px rgba(184, 85, 103, 0.28);
}
.btn.primary:hover { transform: translateY(-1px); box-shadow: 0 14px 28px rgba(184, 85, 103, 0.38); }
.btn.primary .ic {
  font-size: 15px;
  margin-right: 2px;
}
.btn.ghost {
  color: #B85567;
  background: transparent;
  border: 1.5px solid #C97C7A;
  box-shadow: none;
}
.btn.ghost::before { content: none; }
.btn.ghost:hover {
  background: rgba(201, 124, 122, 0.08);
  border-color: #B85567;
  transform: translateY(-1px);
}

/* === Feature pills === */
.hero-features {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin: 0;
  padding: 14px 0 0;
  list-style: none;
  border-top: 1px solid rgba(193, 142, 117, 0.18);
  font-size: 12.5px;
  letter-spacing: 1px;
  color: #8B6E66;
}
.hero-features li {
  position: relative;
  font-weight: 500;
}
.hero-features li + li::before {
  content: "|";
  margin-right: 16px;
  color: rgba(193, 142, 117, 0.4);
  font-weight: 300;
}

/* 手机端：留声机小一点、卡片调小、标题分 4 行更舒展 */
@media (max-width: 520px) {
  .hero { padding: 24px 20px 20px; }
  .hero-rose { width: 140px; height: 140px; right: -14px; top: -2px; opacity: 0.95; }
  .hero-card-deco { width: 130px; padding: 12px 10px 14px; right: 10px; bottom: 86px; }
  .hero-card-deco p { font-size: 12px; letter-spacing: 1px; }
  .hero h1 {
    font-size: 27px;
    line-height: 1.62;
    letter-spacing: 1px;
    margin: 4px 0 18px;
    max-width: 100%;
    font-weight: 700;
  }
  .hero h1 br.m-only { display: initial; }
  .hero h1 br.d-only { display: none; }
  .hero .hero-sub { max-width: 100%; }
  .hero-features { gap: 12px; font-size: 11.5px; }
  .hero-features li + li::before { margin-right: 12px; }
}

/* ============ FILTERS ============ */
.filters {
  margin: 18px 0 14px;
  border: 1px solid rgba(242, 217, 212, 0.86);
  border-radius: 18px;
  padding: 14px 16px;
  background: var(--panel);
  box-shadow: 0 10px 26px rgba(217, 106, 122, 0.08);
  backdrop-filter: blur(12px);
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.section-head span {
  color: #5C4549;
  font-size: 14px;
  line-height: 1.55;
  font-weight: 600;
}
.section-head strong {
  color: var(--brand);
  font-size: 13px;
  flex-shrink: 0;
}
.filter-label {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 10px 0 10px;
  padding-left: 12px;
  position: relative;
}
.filter-label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--brand-soft), var(--brand));
}
.filter-label .label-title {
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.5px;
}
.filter-label .label-hint {
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.5px;
}
.filter-scroll {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 4px 0 0;
}
.filter-pill {
  position: relative;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 11px 12px;
  color: var(--brand-deep);
  background: #fff;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  transition: all .15s ease;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.filter-pill:hover {
  border-color: var(--brand-soft);
  background: var(--quote-bg);
}
.filter-pill.active {
  color: white;
  border-color: transparent;
  background: linear-gradient(135deg, var(--brand-soft), var(--brand));
  box-shadow: 0 6px 14px rgba(217, 106, 122, 0.32);
}
.filter-pill[data-mood]::after {
  content: attr(data-mood);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 8px);
  transform: translateX(-50%) translateY(4px);
  white-space: nowrap;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.3px;
  color: #fff;
  background: linear-gradient(135deg, rgba(60, 30, 35, 0.95), rgba(184, 85, 103, 0.95));
  padding: 6px 12px;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(60, 30, 35, 0.22);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
  z-index: 5;
}
.filter-pill[data-mood]::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: calc(100% + 2px);
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: rgba(184, 85, 103, 0.95);
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s ease, visibility 0s linear .2s;
  z-index: 5;
}
.filter-pill[data-mood]:hover::after {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  transition: opacity .2s ease, transform .2s ease, visibility 0s;
}
.filter-pill[data-mood]:hover::before {
  opacity: 1;
  visibility: visible;
  transition: opacity .2s ease, visibility 0s;
}

/* ============ CASE LIST ============ */
.case-list {
  display: grid;
  gap: 14px;
  align-items: stretch;
}
.song-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: var(--radius);
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(60, 40, 40, 0.08);
  transition: transform .2s ease, box-shadow .2s ease;
}
.song-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 50px rgba(60, 40, 40, 0.14);
}
.song-card.shared-highlight {
  border-color: var(--brand-primary);
  box-shadow: 0 22px 50px rgba(200, 100, 108, 0.22), 0 0 0 3px rgba(200, 100, 108, 0.24);
}
.cover-wrap {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  text-decoration: none;
  cursor: pointer;
  background:
    radial-gradient(circle at 25% 30%, rgba(255,255,255,0.45), transparent 40%),
    linear-gradient(135deg, #FFCABE 0%, #F19B8A 50%, #D96A7A 100%);
}
.cover-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
  transition: opacity .24s ease, transform .4s ease;
}
.cover-wrap img.is-loaded { opacity: 1; }
.cover-wrap:hover img.is-loaded { transform: scale(1.04); }
.cover-fallback {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  color: rgba(255, 255, 255, 0.92);
  font-size: 64px;
  font-weight: 700;
}
.cover-badge {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 6px 12px 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--brand-dark);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  box-shadow: 0 5px 14px rgba(60, 30, 35, 0.22);
  z-index: 2;
  transition: transform .25s ease, box-shadow .25s ease;
}
.cover-badge .ic {
  color: var(--brand-primary);
  font-size: 13px;
  line-height: 1;
}
.cover-wrap:hover .cover-badge {
  transform: scale(1.04);
}
.cover-badge.pulse {
  animation: coverBadgePulse 1.6s ease-out;
}
@keyframes coverBadgePulse {
  0% { transform: scale(1); box-shadow: 0 5px 14px rgba(60, 30, 35, 0.22), 0 0 0 0 rgba(217, 106, 122, 0.5); }
  35% { transform: scale(1.1); box-shadow: 0 8px 20px rgba(60, 30, 35, 0.3), 0 0 0 14px rgba(217, 106, 122, 0); }
  100% { transform: scale(1); box-shadow: 0 5px 14px rgba(60, 30, 35, 0.22), 0 0 0 0 rgba(217, 106, 122, 0); }
}

/* 试听播放中：封面边缘脉动 */
.cover-wrap.playing::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid rgba(217, 106, 122, 0.55);
  border-radius: inherit;
  pointer-events: none;
  z-index: 3;
  animation: coverEdgePulse 1.6s ease-in-out infinite;
}
@keyframes coverEdgePulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

.cover-hint {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 14px;
  color: #fff;
  letter-spacing: 2px;
  background: linear-gradient(135deg, rgba(217, 106, 122, 0.5), rgba(60, 30, 35, 0.5));
  opacity: 0;
  transition: opacity .25s ease;
  z-index: 1;
}
.cover-wrap:hover .cover-hint { opacity: 1; }

/* ============ 试听胶囊（品红描边，歌名旁） ============ */
.preview-pill {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 2px 9px 2px 7px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.3px;
  cursor: pointer;
  flex-shrink: 0;
  height: 22px;
  line-height: 1;
  background: transparent;
  color: var(--brand-primary);
  border: 1px solid var(--brand-primary);
  transition: all .15s ease;
}
.preview-pill:hover {
  background: var(--brand-soft-bg);
  transform: translateY(-1px);
}
.preview-pill .ic {
  font-size: 9px;
  line-height: 1;
  margin-left: 1px;
}
.preview-pill.playing {
  background: var(--brand-primary);
  color: #fff;
  border-color: var(--brand-primary);
  box-shadow: 0 4px 10px rgba(200, 100, 108, 0.4);
}
.preview-pill.playing .ic {
  margin-left: 0;
  font-size: 7.5px;
}
.song-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  padding: 14px 16px 16px;
}
.song-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.song-title-row h2 {
  margin: 0;
  font-size: 19px;
  letter-spacing: 0.5px;
  color: var(--text-primary);
  font-weight: 800;
}
.song-title-link {
  color: inherit;
  text-decoration: none;
  transition: color .15s ease;
}
.song-title-link:hover { color: var(--brand-primary); }
.song-title-link::after {
  content: " ›";
  color: var(--brand-primary);
  font-weight: 600;
  opacity: 0.65;
  transition: opacity .15s ease, transform .15s ease;
  display: inline-block;
}
.song-title-link:hover::after { opacity: 1; transform: translateX(2px); }
.style-tag {
  margin-left: auto;
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--tag-style-bg);
  color: var(--tag-style-text);
  letter-spacing: 1px;
  font-weight: 700;
}
.tag-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin: 0;
}
.tag-row span {
  font-size: 12px;
  padding: 3px 10px;
  background: var(--tag-neutral-bg);
  color: var(--tag-neutral-text);
  border-radius: 999px;
  font-weight: 500;
}
.summary {
  display: -webkit-box;
  margin: 0;
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--text-secondary);
  min-height: calc(1.75em * 3);
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}
blockquote {
  display: block;
  margin: 0;
  padding: 10px 14px 10px 22px;
  border-radius: 10px;
  background: linear-gradient(90deg, rgba(245, 164, 142, 0.18), rgba(217, 106, 122, 0.05));
  color: var(--brand-deep);
  font-size: 13.5px;
  line-height: 1.65;
  font-weight: 600;
  position: relative;
}
blockquote::before {
  content: "“";
  position: absolute;
  left: 6px;
  top: -2px;
  font-size: 22px;
  font-family: Georgia, "PingFang SC", serif;
  color: var(--brand);
  font-weight: 700;
}

/* 卡片上的滚动歌词预览 */
.lyric-peek {
  position: relative;
  display: block;
  height: 116px;
  border-radius: 12px;
  background: var(--lyrics-bg);
  border: 1px solid var(--lyrics-border);
  overflow: hidden;
  text-decoration: none;
  cursor: pointer;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.lyric-peek:hover {
  border-color: var(--brand-primary);
  box-shadow: 0 6px 18px rgba(200, 100, 108, 0.12);
}
.lyric-peek-inner {
  height: 100%;
  overflow-y: auto;
  padding: 16px 18px;
  font-size: 13px;
  line-height: 1.85;
  color: var(--lyrics-text);
  scrollbar-width: thin;
  scrollbar-color: var(--card-border) transparent;
}
.lyric-peek-inner::-webkit-scrollbar { width: 4px; }
.lyric-peek-inner::-webkit-scrollbar-thumb {
  background: var(--card-border);
  border-radius: 2px;
}
.lyric-peek-inner p { margin: 0 0 4px; }
.lyric-peek::before, .lyric-peek::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 18px;
  pointer-events: none;
  z-index: 1;
}
.lyric-peek::before {
  top: 0;
  background: linear-gradient(180deg, var(--lyrics-bg), transparent);
}
.lyric-peek::after {
  bottom: 0;
  background: linear-gradient(0deg, var(--lyrics-bg), transparent);
}
.lyric-peek-label {
  position: absolute;
  right: 10px;
  top: 8px;
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 2px;
  z-index: 2;
}
.song-actions {
  display: grid;
  grid-template-columns: 1fr 44px;
  gap: 8px;
  align-items: stretch;
  margin-top: auto;
  padding-top: 8px;
}
.card-cta {
  width: 100%;
  border: 1px solid var(--brand-primary);
  border-radius: 12px;
  padding: 9px 14px;
  color: var(--brand-primary);
  background: transparent;
  cursor: pointer;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.3px;
  transition: all .15s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.card-cta .ic {
  font-size: 13px;
  color: var(--brand-primary);
}
.card-cta:hover {
  background: var(--brand-soft-bg);
  border-color: var(--brand-dark);
  color: var(--brand-dark);
  transform: translateY(-1px);
}
.card-cta:hover .ic { color: var(--brand-dark); }
.card-cta:active { transform: translateY(1px); }
.link-btn {
  width: 44px;
  border-radius: 12px;
  border: 1px solid var(--card-border);
  background: rgba(255, 255, 255, 0.85);
  color: var(--text-secondary);
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 16px;
  transition: all .15s ease;
}
.link-btn:hover {
  background: var(--brand-soft-bg);
  border-color: var(--brand-primary);
  color: var(--brand-primary);
}
.share-hint {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}
.empty-card {
  display: grid;
  gap: 6px;
  padding: 28px 18px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--line);
  color: var(--muted);
  text-align: center;
  box-shadow: var(--shadow);
}
.empty-card strong { color: var(--ink); }

/* ============ PAGINATION ============ */
.pagination-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
  margin: 26px 0 18px;
  padding: 0 6px;
}
.pagination-nav[hidden] { display: none; }
.pagination-nav .page-btn {
  min-width: 36px;
  height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.85);
  color: var(--brand-deep);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all .15s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-variant-numeric: tabular-nums;
}
.pagination-nav .page-btn:hover:not(:disabled):not(.active) {
  background: #fff;
  border-color: var(--brand-soft);
  color: var(--brand);
  transform: translateY(-1px);
}
.pagination-nav .page-btn.active {
  background: linear-gradient(135deg, var(--brand-soft), var(--brand));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 6px 14px rgba(217, 106, 122, 0.35);
  cursor: default;
}
.pagination-nav .page-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.pagination-nav .page-ellipsis {
  padding: 0 4px;
  color: var(--muted);
  font-size: 14px;
  letter-spacing: 1px;
  user-select: none;
}

/* 案例卡片淡入（切页时） */
.case-list.fading .song-card { opacity: 0; }
.case-list .song-card {
  animation: cardFadeIn .35s cubic-bezier(.25, .8, .35, 1) both;
}
@keyframes cardFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============ BRAND SECTIONS (WHY A SONG / ABOUT US) ============ */
.brand-section {
  margin: 28px 0 0;
}
.section-eyebrow {
  text-align: center;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--brand-deep);
  font-size: 12px;
  letter-spacing: 4px;
  font-weight: 700;
}
.section-eyebrow::before,
.section-eyebrow::after {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--brand-soft);
  opacity: 0.6;
}
.brand-figure {
  position: relative;
  margin: 0;
  border-radius: 22px;
  overflow: hidden;
  box-shadow:
    0 18px 44px rgba(217, 106, 122, 0.18),
    0 0 0 1px rgba(255, 255, 255, 0.6) inset;
  background: #fff;
}
.brand-figure img {
  display: block;
  width: 100%;
  height: auto;
}
.brand-figure .pic-mobile { display: none; }
@media (max-width: 640px) {
  .brand-figure .pic-desktop { display: none; }
  .brand-figure .pic-mobile { display: block; }
}

.rose-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 36px 0 26px;
  color: var(--brand);
  opacity: 0.65;
  font-size: 14px;
}
.rose-divider::before,
.rose-divider::after {
  content: "";
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--brand-soft), transparent);
  opacity: 0.7;
}

.flourish-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 28px 0 22px;
  color: var(--brand);
  opacity: 0.6;
  font-size: 12px;
  letter-spacing: 2px;
}
.flourish-divider::before,
.flourish-divider::after {
  content: "";
  width: 40px;
  height: 1px;
  background: var(--brand-soft);
  opacity: 0.5;
}

/* ============ CONSULT ============ */
.consult-card {
  margin-top: 22px;
  padding: 24px 20px;
  border-radius: var(--radius);
  background: linear-gradient(155deg, #B85567 0%, #D96A7A 50%, #F5A48E 100%);
  color: #fff;
  box-shadow: 0 22px 48px rgba(184, 85, 103, 0.32);
}
.consult-card .eyebrow {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 3px;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 700;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 999px;
}
.consult-card h2 {
  margin: 12px 0 10px;
  font-size: 22px;
  line-height: 1.45;
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.5px;
}
.consult-card .lead {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.8;
  font-size: 14px;
}
.wechat-card {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 16px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
}
.wechat-qr {
  display: block;
  width: 168px;
  height: 168px;
  border: 6px solid #FFF7F2;
  border-radius: 12px;
  background: #fff;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(255, 200, 170, 0.6), 0 8px 22px rgba(0,0,0,0.18);
}
.wechat-info { display: grid; gap: 0; }
.wechat-info p {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.7;
  font-size: 14px;
}
.wechat-id {
  display: grid;
  gap: 3px;
  border-radius: 12px;
  padding: 11px 14px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  margin-bottom: 10px;
}
.wechat-id small {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 1px;
}
.wechat-id strong {
  font-size: 19px;
  color: var(--brand-deep);
  letter-spacing: 0.5px;
}
.consult-card .btn.primary {
  background: #fff;
  color: var(--brand-deep);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
}
.consult-card .btn.primary:hover { background: #FFF7F2; }
.qr-hint {
  margin: 8px 0 0 !important;
  font-size: 12px !important;
  color: rgba(255, 255, 255, 0.78) !important;
  line-height: 1.6;
}

/* ============ FLOW (5 steps) ============ */
.flow-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 24px 0 16px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 12px;
  letter-spacing: 3px;
  font-weight: 700;
}
.flow-divider::before,
.flow-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.3);
}
.flow-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.flow-list li {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(4px);
}
.flow-list .step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fff;
  color: var(--brand-deep);
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 2px;
}
.flow-list .step-body strong {
  display: block;
  color: #fff;
  font-size: 14.5px;
  font-weight: 700;
  margin-bottom: 2px;
  letter-spacing: 0.3px;
}
.flow-list .step-body small {
  color: rgba(255, 255, 255, 0.82);
  font-size: 12.5px;
  line-height: 1.65;
}

/* ============ FOOTER ============ */
.site-foot {
  margin-top: 28px;
  padding: 18px 0 6px;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}
.site-foot .mini-logo {
  display: inline-block;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  vertical-align: middle;
  margin-right: 6px;
  object-fit: cover;
}
.site-foot a { color: var(--brand); text-decoration: none; }

/* ============ HEART MODAL ============ */
.modal-mask {
  position: fixed;
  inset: 0;
  background: rgba(60, 30, 35, 0.48);
  backdrop-filter: blur(6px);
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  animation: maskFadeIn .25s ease;
}
.modal-mask.show { display: flex; }
@keyframes maskFadeIn { from { opacity: 0; } to { opacity: 1; } }
.modal-card {
  position: relative;
  width: min(100%, 380px);
  max-height: 90vh;
  overflow-y: auto;
  background:
    radial-gradient(circle at 80% 0%, rgba(255, 215, 195, 0.5), transparent 50%),
    linear-gradient(180deg, #FFF7F2 0%, #FFEEE6 100%);
  border-radius: 22px;
  padding: 26px 22px 22px;
  box-shadow: 0 30px 80px rgba(184, 85, 103, 0.4);
  animation: cardPopIn .35s cubic-bezier(.2, .9, .35, 1.15);
}
@keyframes cardPopIn {
  from { transform: scale(.92) translateY(20px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}
.modal-close {
  position: absolute;
  right: 14px;
  top: 14px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.7);
  color: var(--muted);
  font-size: 16px;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: all .15s ease;
}
.modal-close:hover {
  background: #fff;
  color: var(--brand-deep);
}
.modal-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--brand);
  font-weight: 700;
  padding: 4px 10px;
  background: rgba(245, 164, 142, 0.18);
  border-radius: 999px;
}
.modal-card h3 {
  margin: 12px 0 4px;
  font-size: 19px;
  line-height: 1.5;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: 0.3px;
}
.modal-card h3 .song-name { color: var(--brand-deep); }
.modal-card .modal-sub {
  margin: 6px 0 18px;
  font-size: 13.5px;
  line-height: 1.7;
  color: #5C4549;
}
.modal-qr {
  display: block;
  width: 168px;
  height: 168px;
  margin: 6px auto 14px;
  border: 6px solid #fff;
  border-radius: 14px;
  background: #fff;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(255, 200, 170, 0.6), 0 12px 28px rgba(184, 85, 103, 0.18);
}
.modal-qr-hint {
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  margin: 0 0 16px;
}
.modal-id {
  display: grid;
  gap: 2px;
  border-radius: 12px;
  padding: 11px 14px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--line);
  margin-bottom: 10px;
  text-align: center;
}
.modal-id small { color: var(--muted); font-size: 11px; letter-spacing: 1px; }
.modal-id strong { font-size: 18px; color: var(--brand-deep); letter-spacing: 0.5px; }
.modal-actions { display: grid; gap: 8px; }
.modal-btn {
  width: 100%;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid transparent;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  transition: all .15s ease;
}
.modal-btn.primary {
  background: linear-gradient(135deg, var(--brand-soft), var(--brand));
  color: #fff;
  box-shadow: 0 8px 18px rgba(217, 106, 122, 0.3);
}
.modal-btn.primary:hover { transform: translateY(-1px); }
.modal-btn.ghost {
  background: rgba(255, 255, 255, 0.85);
  color: var(--brand-deep);
  border-color: var(--line);
}
.modal-btn.ghost:hover {
  background: var(--quote-bg);
  border-color: var(--brand-soft);
}
.modal-flow {
  margin: 16px 0 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.65);
  border: 1px dashed var(--line);
  font-size: 12.5px;
  color: #6E5256;
  line-height: 1.7;
  text-align: center;
}
.modal-flow strong {
  color: var(--brand-deep);
  display: block;
  margin-bottom: 2px;
}
.toast {
  position: fixed;
  left: 50%;
  bottom: 80px;
  transform: translateX(-50%);
  z-index: 200;
  padding: 10px 18px;
  background: rgba(60, 30, 35, 0.92);
  color: #fff;
  border-radius: 999px;
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(-6px);
}

/* ============ RESPONSIVE ============ */
@media (min-width: 560px) {
  .filter-scroll {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}
@media (min-width: 820px) {
  .app-shell { padding-top: 24px; }
  .case-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .wechat-card {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }
  .wechat-qr {
    width: min(220px, 100%);
    height: auto;
    aspect-ratio: 1;
  }
  .wechat-info { width: 100%; }
}

