/* ============================================================
   唱给TA · 视觉系统
   参考：serenatagift.com 的暖纸色 / 豆沙红 / 衬线大字 / 大留白
   ============================================================ */

@font-face {
  font-family: "Fraunces";
  src: url("/assets/fonts/fraunces-latin.woff2") format("woff2");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Poppins";
  src: url("/assets/fonts/poppins-400.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF;
}
@font-face {
  font-family: "Poppins";
  src: url("/assets/fonts/poppins-500.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF;
}
@font-face {
  font-family: "Poppins";
  src: url("/assets/fonts/poppins-600.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF;
}

:root {
  /* paper & ink */
  --bg: oklch(97% 0.012 78);
  --bg-soft: #f2e9dc;
  --paper: rgba(255, 253, 249, 0.72);
  --ink: oklch(24% 0.04 18);
  --ink-2: #55413b;
  --muted: #8b756c;
  --border: rgba(120, 82, 62, 0.16);
  --border-soft: rgba(120, 82, 62, 0.10);

  /* accents */
  --rose: #b23645;
  --rose-deep: #8f2434;
  --rose-light: #c55d3e;
  --gold: #c99a45;
  --gold-deep: #a8792c;
  --rose-wash: #f6e5e2;

  --ok: #3f7a55;
  --warn: #a8702b;

  --radius: 26px;
  --radius-sm: 16px;
  --shadow: 0 22px 60px rgba(78, 45, 34, 0.12);
  --shadow-sm: 0 8px 26px rgba(78, 45, 34, 0.08);
  --grad-warm: linear-gradient(100deg, #b23645, #c55d3e, #d6812e 50%, #d1a33b);
  --grad-gold: linear-gradient(100deg, #e8bc76, #f2d79a 42%, #d9a45a 100%);
  --grad-btn: linear-gradient(135deg, #d24c50, #a02e40);

  --serif: "Fraunces", "Songti SC", "STSong", "Noto Serif SC", "Source Han Serif SC", "SimSun", Georgia, serif;
  --sans: "Poppins", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.7;
}

body { min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }

a { color: inherit; text-decoration: none; }
p { margin: 0; }
img { max-width: 100%; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.015em;
  margin: 0;
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.86em;
  background: rgba(178, 54, 69, 0.07);
  color: var(--rose-deep);
  padding: 2px 7px;
  border-radius: 6px;
}

.muted { color: var(--muted); }
.center { text-align: center; }

/* ---------------- 通用版心 ---------------- */
.wrap { max-width: 1120px; margin: 0 auto; padding-left: 28px; padding-right: 28px; }
.section { padding: 96px 0; }
.section-tight { padding: 64px 0; }

/* ---------------- 导航 ---------------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px;
  padding: 14px 32px;
  background: rgba(248, 243, 235, 0.82);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  border-bottom: 1px solid var(--border-soft);
}
.brand {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--serif);
  font-size: 20px; font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--ink);
  white-space: nowrap;
}
.brand svg { width: 42px; height: 24px; color: var(--ink); flex: none; }
.brand-mark {
  display: inline-flex; width: 26px; height: 26px; align-items: center; justify-content: center;
  background: var(--rose); color: #fff; border-radius: 50%; font-size: 14px;
}
.nav-links { display: flex; align-items: center; gap: 30px; font-size: 14px; color: var(--ink-2); }
.nav-links a { transition: color .2s ease; }
.nav-links a:hover { color: var(--rose); }
.nav-cta {
  background: var(--grad-btn);
  color: #fff !important;
  padding: 11px 22px;
  border-radius: 999px;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 10px 26px rgba(160, 46, 64, 0.30), inset 0 1px 0 rgba(255, 255, 255, 0.20);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
  display: inline-flex; align-items: center; gap: 7px;
}
.nav-cta:hover { transform: translateY(-1px); filter: brightness(1.05); box-shadow: 0 14px 32px rgba(160, 46, 64, 0.36); color: #fff; }

/* ---------------- 按钮 ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid transparent; border-radius: 999px;
  padding: 13px 26px; font-size: 15px; font-weight: 500;
  cursor: pointer; font-family: var(--sans);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
  text-align: center;
}
.btn:active { transform: translateY(1px) scale(0.995); }
.btn-primary {
  background: var(--grad-btn);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 14px 34px rgba(160, 46, 64, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.btn-primary:hover { filter: brightness(1.06); transform: translateY(-1px); box-shadow: 0 18px 40px rgba(160, 46, 64, 0.34); }
.btn-ghost { background: transparent; border-color: var(--border); color: var(--ink-2); }
.btn-ghost:hover { border-color: var(--rose); color: var(--rose); background: rgba(178, 54, 69, 0.03); }
.btn-gold { background: var(--grad-gold); color: #3d2412; box-shadow: 0 14px 32px rgba(201, 154, 69, 0.28); }
.btn-lg { padding: 16px 34px; font-size: 16px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; transform: none; }
.arrow { font-size: 1.05em; line-height: 1; transition: transform .2s ease; }
.btn:hover .arrow, .nav-cta:hover .arrow { transform: translateX(3px); }

/* ---------------- 背景光晕系统（对标 Serenata luz-vinho 与 luz-ouro） ---------------- */
.luz-vinho { position: relative; isolation: isolate; }
.luz-vinho::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(56% 46% at 14% 10%, rgba(217, 81, 94, 0.20), transparent 62%),
    radial-gradient(54% 48% at 88% 90%, rgba(232, 189, 109, 0.22), transparent 62%);
}
.luz-ouro { position: relative; isolation: isolate; }
.luz-ouro::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(58% 48% at 82% 12%, rgba(232, 189, 109, 0.26), transparent 62%),
    radial-gradient(52% 46% at 10% 92%, rgba(217, 81, 94, 0.16), transparent 62%);
}

/* 社交信誉度证明（对标 Serenata 评分与头像堆叠） */
.social-proof {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  margin: 26px auto 0;
}
.proof-stars { color: #e6a23c; font-size: 15px; letter-spacing: 3px; }
.proof-avatars { display: flex; align-items: center; justify-content: center; }
.avatar-stack { display: inline-flex; }
.avatar-stack span {
  display: inline-flex; width: 32px; height: 32px; border-radius: 50%;
  border: 2px solid var(--bg); margin-left: -8px; background: #e8d7cf;
  align-items: center; justify-content: center; font-size: 14px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08); overflow: hidden;
}
.avatar-stack span:first-child { margin-left: 0; }
.avatar-more {
  display: inline-flex; padding: 0 9px; height: 32px; border-radius: 999px;
  background: var(--rose-deep); color: #fff; font-size: 11px; font-weight: 600;
  align-items: center; justify-content: center; margin-left: -8px;
  border: 2px solid var(--bg);
}
.proof-text { font-size: 13px; color: var(--muted); }
.proof-text strong { color: var(--ink); font-weight: 600; }

/* 漂浮小心心（对标 Serenata 礼物卡的心动动效） */
.hearts-layer { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 1; }
.heart-float {
  position: absolute; font-size: 14px; color: rgba(242, 140, 155, 0.7);
  animation: floatUp 4s ease-in-out infinite;
}
.heart-float:nth-child(1) { left: 14%; top: 28%; animation-delay: 0s; font-size: 13px; }
.heart-float:nth-child(2) { right: 18%; top: 22%; animation-delay: 1.4s; font-size: 16px; }
.heart-float:nth-child(3) { left: 24%; bottom: 32%; animation-delay: 2.2s; font-size: 12px; }
.heart-float:nth-child(4) { right: 14%; bottom: 26%; animation-delay: 3s; font-size: 15px; }
@keyframes floatUp {
  0% { transform: translateY(0) scale(0.9); opacity: 0; }
  25% { opacity: 0.8; }
  75% { opacity: 0.8; }
  100% { transform: translateY(-30px) scale(1.15); opacity: 0; }
}

/* 场景切换 Pill 栏（对标 Serenata 的对象选择器） */
.category-pills {
  display: flex; gap: 8px; justify-content: center; flex-wrap: wrap;
  margin: 36px auto 14px; max-width: 900px;
}
.cat-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 18px; border-radius: 999px;
  background: rgba(255, 253, 249, 0.75);
  border: 1px solid var(--border);
  color: var(--ink-2); font-size: 13.5px; cursor: pointer;
  transition: all .18s ease; font-family: var(--sans);
}
.cat-pill:hover { border-color: rgba(178, 54, 69, 0.4); transform: translateY(-1px); }
.cat-pill.active {
  background: var(--rose-deep); color: #fff;
  border-color: var(--rose-deep);
  box-shadow: 0 6px 18px rgba(143, 36, 52, 0.28);
}

/* 二级联动场合 Pills */
.sub-pills {
  display: flex; gap: 8px; justify-content: center; flex-wrap: wrap;
  margin: 14px auto 30px; max-width: 860px;
}
.sub-pill {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 6px 14px; border-radius: 999px;
  background: rgba(242, 233, 220, 0.45);
  border: 1px solid var(--border-soft);
  color: var(--ink-2); font-size: 12.5px; cursor: pointer;
  transition: all .16s ease;
}
.sub-pill:hover { border-color: rgba(178, 54, 69, 0.4); color: var(--rose-deep); }
.sub-pill.active {
  background: #fff; border-color: rgba(178, 54, 69, 0.5);
  color: var(--rose-deep); font-weight: 500;
  box-shadow: 0 4px 12px rgba(178, 54, 69, 0.12);
}

/* 案例卡片 */
.case-card {
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.9), rgba(251, 244, 237, 0.55));
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: 40px 38px;
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 34px;
  align-items: center;
  text-align: left;
}
.case-left { display: flex; flex-direction: column; gap: 14px; }
.case-tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--rose-deep); font-weight: 500;
}
.case-title { font-size: clamp(28px, 3.8vw, 36px); margin: 0; color: var(--ink); }
.case-story-box {
  background: rgba(242, 233, 220, 0.45);
  border-left: 3px solid var(--rose);
  border-radius: 4px 14px 14px 4px;
  padding: 14px 18px;
  font-size: 13.5px; line-height: 1.85; color: var(--ink-2);
}
.case-right {
  display: flex; flex-direction: column; gap: 14px;
  background: rgba(255, 253, 249, 0.72);
  border: 1px solid var(--border-soft);
  border-radius: 20px;
  padding: 22px 24px;
}
.case-lyrics-head { font-size: 11px; letter-spacing: 0.2em; color: var(--gold-deep); font-weight: 500; text-transform: uppercase; }
.case-lyrics-lines {
  font-family: var(--serif); font-size: 15.5px; line-height: 2.1;
  color: var(--ink-2);
}
.case-lyrics-lines p { margin: 0; }
.case-player { width: 100%; margin-top: 6px; height: 38px; }

.custom-vip-banner {
  background: linear-gradient(135deg, rgba(232, 189, 109, 0.18), rgba(178, 54, 69, 0.12));
  border: 1px dashed rgba(178, 54, 69, 0.35);
  border-radius: 20px; padding: 24px;
  margin-top: 22px; text-align: center;
}
.custom-vip-banner h4 { font-size: 19px; color: var(--rose-deep); margin-bottom: 6px; }
.custom-vip-banner p { font-size: 13.5px; color: var(--ink-2); line-height: 1.85; max-width: 600px; margin: 0 auto; }
.custom-vip-actions { display: flex; gap: 12px; justify-content: center; margin-top: 16px; flex-wrap: wrap; }

/* ---------------- 标签 / 眉标 ---------------- */
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255, 253, 249, 0.7);
  border: 1px solid rgba(178, 54, 69, 0.20);
  color: var(--rose-deep);
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 13px;
  box-shadow: 0 2px 10px rgba(120, 82, 62, 0.05);
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 0.30em;
  text-transform: uppercase;
  color: rgba(178, 54, 69, 0.88);
  font-weight: 500;
  margin-bottom: 16px;
}
.kicker {
  font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--gold-deep); font-weight: 500;
}
.grad {
  background: var(--grad-warm);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.grad-gold {
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------------- 首页 Hero ---------------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 66px 0 0;
  text-align: center;
}
.hero::before {
  content: "";
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(56% 46% at 12% 6%, rgba(217, 81, 94, 0.16), transparent 62%),
    radial-gradient(54% 48% at 88% 96%, rgba(232, 189, 109, 0.22), transparent 62%);
}
.hero-inner { max-width: 880px; margin: 0 auto; padding: 0 28px; }
.hero h1 {
  margin: 22px auto 0;
  font-size: clamp(38px, 6.1vw, 68px);
  line-height: 1.16;
  letter-spacing: -0.022em;
  font-weight: 600;
}
.hero .lede {
  max-width: 620px;
  margin: 24px auto 0;
  font-size: 17px;
  line-height: 1.9;
  color: var(--ink-2);
}
.hero-actions { display: flex; gap: 14px; justify-content: center; align-items: center; margin-top: 32px; flex-wrap: wrap; }
.hero-note { margin-top: 16px; font-size: 12.5px; color: var(--muted); }

/* 首页大媒体卡：礼物页预览 */
.hero-media { margin: 48px auto 0; padding: 0 24px; max-width: 520px; }
.media-card {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background:
    radial-gradient(90% 70% at 18% 8%, rgba(238, 182, 121, 0.55), transparent 60%),
    radial-gradient(80% 70% at 88% 24%, rgba(190, 78, 78, 0.55), transparent 62%),
    radial-gradient(120% 90% at 50% 105%, #4b1d24 0%, #2a1116 55%, #1b0c10 100%),
    #3a151b;
  box-shadow: 0 40px 90px rgba(74, 36, 30, 0.28), inset 0 0 0 1px rgba(255, 245, 232, 0.16);
  color: #fff7ef;
  display: flex; flex-direction: column;
  text-align: center;
}
.media-card::after {
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background-image: var(--grain);
  opacity: 0.10;
  mix-blend-mode: overlay;
}
.media-body {
  position: relative; z-index: 2;
  flex: 1;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 42px 34px 30px;
  background: linear-gradient(180deg, rgba(20, 8, 12, 0.05) 0%, rgba(20, 8, 12, 0.34) 46%, rgba(20, 8, 12, 0.78) 100%);
}
.media-kicker { font-size: 10.5px; letter-spacing: 0.32em; color: rgba(255, 236, 214, 0.72); }
.media-title { font-size: clamp(26px, 4.2vw, 34px); margin-top: 12px; color: #fff8f0; letter-spacing: 0.01em; }
.media-from { font-size: 12px; color: rgba(255, 236, 214, 0.62); margin-top: 8px; }
.media-lyrics { margin: 26px 0 20px; display: grid; gap: 9px; }
.media-lyrics p {
  font-family: var(--serif);
  font-size: clamp(15px, 2.4vw, 18px);
  line-height: 1.6;
  color: rgba(255, 243, 230, 0.42);
  transition: color .45s ease, text-shadow .45s ease;
}
.media-lyrics p.on { color: #fff6e9; text-shadow: 0 0 26px rgba(242, 210, 160, 0.35); }
.media-player { display: flex; align-items: center; gap: 12px; padding-top: 8px; }
.media-play {
  width: 42px; height: 42px; flex: none; border-radius: 50%;
  background: var(--grad-gold); color: #3d2412;
  border: 0; display: inline-flex; align-items: center; justify-content: center;
  font-size: 15px; cursor: pointer; box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
  transition: transform .18s ease;
}
.media-play:hover { transform: scale(1.06); }
.media-bar { flex: 1; height: 3px; border-radius: 999px; background: rgba(255, 244, 230, 0.24); overflow: hidden; }
.media-bar i { display: block; height: 100%; width: 0%; background: var(--grad-gold); border-radius: 999px; }
.media-time { font-size: 10.5px; color: rgba(255, 240, 224, 0.66); font-variant-numeric: tabular-nums; min-width: 30px; text-align: right; }
.hero-caption { margin-top: 16px; font-size: 12.5px; color: var(--muted); }

/* ---------------- 数据条 ---------------- */
.strip {
  margin-top: 60px;
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  background: rgba(255, 252, 247, 0.4);
}
.strip-inner {
  max-width: 1000px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr);
  padding: 22px 28px;
}
.strip-item { text-align: center; padding: 0 18px; font-size: 13px; color: var(--ink-2); }
.strip-item + .strip-item { border-left: 1px solid var(--border-soft); }
.strip-item b { display: block; font-family: var(--serif); font-size: 17px; font-weight: 600; color: var(--ink); margin-bottom: 2px; }

/* ---------------- 通用标题块 ---------------- */
.section-head { max-width: 760px; margin: 0 auto 54px; text-align: center; }
.section-head h2 { font-size: clamp(30px, 4.3vw, 46px); line-height: 1.22; }
.section-head p { margin-top: 18px; color: var(--ink-2); font-size: 16px; line-height: 1.9; }
.section-head .pill { margin-bottom: 22px; }

/* ---------------- 为谁而做 ---------------- */
.who-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 980px; margin: 0 auto; }
.who-card {
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.78), rgba(251, 244, 237, 0.42));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 30px 32px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.who-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); border-color: rgba(178, 54, 69, 0.24); }
.who-card .ico { font-size: 24px; display: block; margin-bottom: 14px; }
.who-card h3 { font-size: 22px; margin-bottom: 8px; }
.who-card p { font-size: 14.5px; line-height: 1.85; color: var(--ink-2); }

/* ---------------- 三步 ---------------- */
.how { background: var(--bg-soft); border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); }
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; max-width: 1000px; margin: 0 auto; }
.how-step .num { font-family: var(--sans); font-size: 12px; letter-spacing: 0.22em; color: var(--rose); }
.how-step h3 { font-size: 24px; margin: 14px 0 10px; }
.how-step p { font-size: 14.5px; line-height: 1.9; color: var(--ink-2); }
.how-cta { text-align: center; margin-top: 54px; }
.how-cta .hero-note { margin-top: 14px; }

/* ---------------- 深色带 ---------------- */
.dark-band {
  position: relative; isolation: isolate; overflow: hidden;
  background: #150c0f; color: #f6e9de;
  padding: 96px 0;
}
.dark-band::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(50% 44% at 82% 10%, rgba(232, 189, 109, 0.18), transparent 62%),
    radial-gradient(52% 46% at 8% 92%, rgba(217, 81, 94, 0.16), transparent 62%);
}
.dark-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items: center; max-width: 1060px; margin: 0 auto; }
.dark-band h2 { font-size: clamp(30px, 4.2vw, 46px); line-height: 1.24; color: #fbf1e7; }
.dark-band .kicker { color: rgba(232, 189, 109, 0.9); }
.dark-band p { color: #c9b4a8; font-size: 15px; line-height: 1.95; margin-top: 20px; }

.phone {
  position: relative;
  max-width: 330px; margin: 0 auto;
  border-radius: 34px;
  padding: 12px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.03));
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  transform: rotate(-1.6deg);
}
.phone-screen {
  position: relative; border-radius: 26px; overflow: hidden;
  aspect-ratio: 9 / 15;
  background:
    radial-gradient(80% 60% at 20% 6%, rgba(221, 163, 108, 0.42), transparent 60%),
    radial-gradient(90% 70% at 90% 30%, rgba(170, 66, 72, 0.5), transparent 62%),
    linear-gradient(180deg, #3d1b21, #1a0d11 70%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 28px 22px 24px;
  text-align: center;
}
.phone-screen::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: var(--grain); opacity: 0.12; mix-blend-mode: overlay;
}
.phone-kicker { font-size: 9px; letter-spacing: 0.3em; color: rgba(255, 236, 214, 0.6); }
.phone-title { font-family: var(--serif); font-size: 24px; color: #fff6ea; margin-top: 8px; }
.phone-line {
  font-family: var(--serif); font-size: 14px; line-height: 1.95; color: rgba(255, 242, 228, 0.34);
  margin-top: 18px;
}
.phone-line b { font-weight: 400; color: #ffe6b8; }
.phone-play { margin-top: 20px; display: flex; align-items: center; gap: 10px; }
.phone-play i {
  width: 34px; height: 34px; border-radius: 50%; flex: none;
  background: var(--grad-gold); color: #3d2412; font-style: normal;
  display: inline-flex; align-items: center; justify-content: center; font-size: 11px;
}
.phone-play s { flex: 1; height: 2px; background: rgba(255, 244, 230, 0.22); position: relative; text-decoration: none; }
.phone-play s::after { content: ""; position: absolute; left: 0; top: 0; height: 100%; width: 34%; background: var(--grad-gold); }

/* ---------------- 特性 ---------------- */
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 46px 64px; max-width: 980px; margin: 0 auto; }
.feature .ico { font-size: 20px; display: block; margin-bottom: 12px; }
.feature h3 { font-size: 21px; margin-bottom: 8px; }
.feature p { font-size: 14.5px; line-height: 1.9; color: var(--ink-2); }

/* ---------------- 试听示例 ---------------- */
.example-band { background: var(--bg-soft); border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); }
.example-card {
  max-width: 760px; margin: 0 auto;
  background: rgba(255, 253, 249, 0.72);
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: 40px;
  box-shadow: var(--shadow-sm);
  text-align: center;
}
.example-card .song-title { font-size: 32px; margin: 8px 0 4px; }
.example-card .song-meta { font-size: 12.5px; color: var(--muted); letter-spacing: 0.04em; }
.example-card audio { width: 100%; margin-top: 24px; height: 40px; }
.example-lyric {
  margin-top: 26px; padding-top: 24px; border-top: 1px dashed var(--border);
  font-family: var(--serif); font-size: 17px; line-height: 2.15; color: var(--ink-2);
}
.example-note { margin-top: 14px; font-size: 12px; color: var(--muted); }

/* ---------------- 价格 ---------------- */
.price-card {
  max-width: 660px; margin: 0 auto;
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.85), rgba(251, 242, 232, 0.55));
  border: 1px solid var(--border);
  border-radius: 32px;
  padding: 52px 48px 44px;
  box-shadow: var(--shadow);
  text-align: center;
}
.price-tag { display: inline-block; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-deep); font-weight: 500; }
.price-num { font-family: var(--serif); font-size: 68px; line-height: 1; margin: 16px 0 6px; color: var(--ink); letter-spacing: -0.03em; }
.price-num small { font-family: var(--sans); font-size: 13px; color: var(--muted); letter-spacing: 0; margin-left: 6px; }
.price-sub { font-size: 13.5px; color: var(--muted); }
.price-list { list-style: none; padding: 0; margin: 30px auto; text-align: left; max-width: 420px; border-top: 1px solid var(--border-soft); }
.price-list li { padding: 11px 0 11px 26px; position: relative; font-size: 14.5px; color: var(--ink-2); border-bottom: 1px solid var(--border-soft); }
.price-list li::before { content: "✓"; position: absolute; left: 0; top: 11px; color: var(--rose); font-weight: 600; }
.price-card .btn { max-width: 380px; margin: 0 auto; }
.price-foot { font-size: 11.5px; color: var(--muted); margin-top: 18px; line-height: 1.8; max-width: 440px; margin-left: auto; margin-right: auto; }

/* ---------------- FAQ ---------------- */
.faq-wrap { max-width: 780px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--border); padding: 22px 0; }
.faq details:first-of-type { border-top: 1px solid var(--border); }
.faq summary {
  cursor: pointer; font-weight: 500; font-size: 16.5px; list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  font-family: var(--sans);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted); font-size: 20px; font-weight: 300; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq p { margin-top: 14px; color: var(--ink-2); font-size: 14.5px; line-height: 1.95; max-width: 660px; }

/* ---------------- 收尾 CTA ---------------- */
.final-cta {
  position: relative; isolation: isolate; overflow: hidden;
  text-align: center; padding: 108px 28px 118px;
  border-top: 1px solid var(--border-soft);
}
.final-cta::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(50% 60% at 20% 100%, rgba(217, 81, 94, 0.12), transparent 66%),
    radial-gradient(50% 60% at 84% 0%, rgba(232, 189, 109, 0.20), transparent 66%);
}
.final-cta h2 { font-size: clamp(30px, 4.6vw, 50px); line-height: 1.24; max-width: 860px; margin: 0 auto 34px; }
.final-cta .hero-note { margin-top: 18px; }

/* ---------------- 页脚 ---------------- */
.foot { border-top: 1px solid var(--border-soft); padding: 42px 28px 30px; background: rgba(255, 252, 247, 0.35); }
.foot-inner { max-width: 1120px; margin: 0 auto; display: flex; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.foot-brand { font-family: var(--serif); font-size: 17px; font-weight: 700; letter-spacing: 0.1em; color: var(--ink); }
.foot-tag { font-size: 12.5px; color: var(--muted); margin-top: 6px; max-width: 300px; line-height: 1.7; }
.foot-links { display: flex; gap: 22px; font-size: 12.5px; color: var(--ink-2); flex-wrap: wrap; align-items: flex-start; }
.foot-links a:hover { color: var(--rose); }
.foot-base { max-width: 1120px; margin: 26px auto 0; padding-top: 18px; border-top: 1px solid var(--border-soft); font-size: 11px; color: var(--muted); display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; }

/* ---------------- 底部吸附 CTA ---------------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  max-width: 1120px; margin: 0 auto;
  padding: 12px 24px calc(12px + env(safe-area-inset-bottom));
  background: rgba(250, 245, 237, 0.94);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-soft);
  transform: translateY(110%);
  transition: transform .35s cubic-bezier(.4, 0, .2, 1);
}
.sticky-cta.show { transform: translateY(0); }
.sticky-cta b { display: block; font-family: var(--serif); font-size: 15px; font-weight: 600; letter-spacing: 0.01em; }
.sticky-cta span { display: block; font-size: 11.5px; color: var(--muted); margin-top: 1px; }
.sticky-cta .btn { padding: 10px 20px; font-size: 14px; }

/* ============================================================
   制作页
   ============================================================ */
.create-wrap { max-width: 740px; margin: 0 auto; padding: 0 24px 110px; }
.progressbar { height: 3px; background: rgba(120, 82, 62, 0.10); border-radius: 999px; margin: 30px 0 40px; overflow: hidden; }
.progress-fill { height: 100%; width: 10%; background: var(--grad-warm); border-radius: 999px; transition: width .4s cubic-bezier(.4, 0, .2, 1); }
.create-head { margin-bottom: 30px; }
.step-count { font-size: 11px; letter-spacing: 0.26em; text-transform: uppercase; color: rgba(178, 54, 69, 0.85); font-weight: 500; margin-bottom: 14px; }
.create-head h1 { font-size: clamp(27px, 4.2vw, 38px); }
.step-hint { margin-top: 12px; color: var(--ink-2); font-size: 15px; line-height: 1.85; }

.step-body { min-height: 320px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  border: 1px solid var(--border); background: rgba(255, 253, 249, 0.7);
  border-radius: 999px; padding: 11px 20px; font-size: 14.5px;
  cursor: pointer; font-family: var(--sans); color: var(--ink);
  transition: all .18s ease;
}
.chip:hover { border-color: rgba(178, 54, 69, 0.4); }
.chip.active { background: var(--grad-btn); border-color: transparent; color: #fff; box-shadow: 0 10px 24px rgba(160, 46, 64, 0.24); }
.style-tag { cursor: default; font-size: 14px; padding: 9px 16px; color: var(--ink-2); }
.style-tag:hover { border-color: var(--border); }

.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.card {
  text-align: left; background: rgba(255, 253, 249, 0.7); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 17px 18px; cursor: pointer; font-family: var(--sans); color: var(--ink);
  transition: all .18s ease;
}
.card:hover { border-color: rgba(178, 54, 69, 0.45); transform: translateY(-1px); }
.card.active { border-color: rgba(178, 54, 69, 0.55); background: linear-gradient(160deg, #fffaf5, var(--rose-wash)); box-shadow: var(--shadow-sm); }
.card b { display: block; font-size: 15px; margin-bottom: 3px; font-weight: 500; }
.card small { color: var(--muted); font-size: 12px; line-height: 1.55; display: block; }
.card .emoji { font-size: 17px; margin-right: 6px; }

.field { margin-bottom: 20px; }
.field label { display: block; font-size: 13px; font-weight: 500; margin-bottom: 8px; color: var(--ink-2); }
.field .optional { font-weight: 400; color: var(--muted); }
.input, .textarea {
  width: 100%; border: 1px solid var(--border); border-radius: 14px;
  background: rgba(255, 253, 249, 0.8);
  padding: 14px 16px; font-size: 15px; font-family: var(--sans); color: var(--ink);
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.input::placeholder, .textarea::placeholder { color: #b09c93; }
.input:focus, .textarea:focus { outline: none; border-color: rgba(178, 54, 69, 0.55); background: #fffdf9; box-shadow: 0 0 0 4px rgba(178, 54, 69, 0.08); }
.textarea { min-height: 132px; resize: vertical; line-height: 1.8; }
.hintline { font-size: 12px; color: var(--muted); margin-top: 8px; }
.examples { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 13px; }
.example {
  font-size: 12px; color: var(--ink-2); background: rgba(242, 233, 220, 0.55);
  border: 1px solid var(--border-soft); border-radius: 11px; padding: 9px 13px;
  cursor: pointer; text-align: left; font-family: var(--sans); max-width: 100%; line-height: 1.6;
  transition: all .18s ease;
}
.example:hover { border-color: rgba(178, 54, 69, 0.4); color: var(--rose-deep); }

.style-grid-pick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.style-pick {
  text-align: left; background: rgba(255, 253, 249, 0.7); border: 1px solid var(--border);
  border-radius: 15px; padding: 15px; cursor: pointer; font-family: var(--sans); color: var(--ink);
  transition: all .18s ease;
}
.style-pick:hover { border-color: rgba(178, 54, 69, 0.45); }
.style-pick.active { border-color: rgba(178, 54, 69, 0.55); background: linear-gradient(160deg, #fffaf5, var(--rose-wash)); }
.style-pick .top { display: flex; align-items: center; gap: 7px; font-weight: 500; font-size: 14px; }
.style-pick small { display: block; color: var(--muted); font-size: 11px; margin-top: 5px; line-height: 1.55; }

.create-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 38px; gap: 12px; }
.create-nav .btn { min-width: 124px; }
.save-note { text-align: center; font-size: 12px; color: var(--muted); margin-top: 18px; min-height: 18px; }

/* review */
.review { background: rgba(255, 253, 249, 0.72); border: 1px solid var(--border); border-radius: 20px; overflow: hidden; }
.review-row { display: flex; gap: 18px; padding: 14px 20px; border-bottom: 1px solid var(--border-soft); font-size: 14px; }
.review-row:last-child { border-bottom: 0; }
.review-row .k { width: 96px; flex: none; color: var(--muted); font-size: 13px; }
.review-row .v { flex: 1; color: var(--ink); word-break: break-word; white-space: pre-wrap; }

/* reveal */
.reveal-wrap { max-width: 760px; margin: 0 auto; padding: 52px 24px 110px; }
.reveal-head { text-align: center; margin-bottom: 34px; }
.reveal-head h1 { font-size: clamp(27px, 4.2vw, 40px); }
.reveal-head p { color: var(--ink-2); margin-top: 12px; font-size: 15px; line-height: 1.85; max-width: 560px; margin-left: auto; margin-right: auto; }
.chorus-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.chorus-card {
  background: rgba(255, 253, 249, 0.72); border: 1px solid var(--border); border-radius: 22px; padding: 26px;
  cursor: pointer; transition: all .2s ease; position: relative;
}
.chorus-card:hover { border-color: rgba(178, 54, 69, 0.4); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.chorus-card.active { border-color: rgba(178, 54, 69, 0.6); background: linear-gradient(180deg, #fffdf9, var(--rose-wash)); box-shadow: var(--shadow-sm); }
.chorus-card .tag { font-size: 11px; letter-spacing: 0.16em; color: var(--gold-deep); font-weight: 500; margin-bottom: 14px; }
.chorus-card .lines { font-family: var(--serif); font-size: 17px; line-height: 2.1; }
.chorus-card .pick { margin-top: 16px; font-size: 12.5px; color: var(--rose); font-weight: 500; opacity: 0; transition: opacity .18s; }
.chorus-card.active .pick { opacity: 1; }

.lyric-preview { background: rgba(255, 253, 249, 0.72); border: 1px solid var(--border); border-radius: 24px; padding: 32px; }
.lyric-preview .block { margin-bottom: 24px; }
.lyric-preview .block:last-child { margin-bottom: 0; }
.lyric-preview .tag-line { font-size: 11px; letter-spacing: 0.18em; color: var(--gold-deep); font-weight: 500; margin-bottom: 10px; }
.lyric-preview .l { font-family: var(--serif); font-size: 17px; line-height: 2.05; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.lyric-preview .l .badge-char { font-family: var(--sans); font-size: 10.5px; color: #b09c93; flex: none; }
.lint-bar {
  display: flex; gap: 18px; flex-wrap: wrap;
  background: rgba(242, 233, 220, 0.55); border: 1px solid var(--border-soft);
  border-radius: 14px; padding: 13px 18px; margin: 16px 0; font-size: 13px; color: var(--ink-2);
}
.lint-bar b { color: var(--ink); font-weight: 600; }
.lint-msg { font-size: 13px; margin-top: 8px; }
.lint-msg.bad { color: var(--rose-deep); }
.lint-msg.warn { color: var(--warn); }

.generating { text-align: center; padding: 64px 0; }
.generating .disc { font-size: 52px; display: inline-block; animation: spin 3.4s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.generating h2 { margin: 20px 0 8px; font-size: 26px; }
.generating p { color: var(--ink-2); font-size: 14px; }
.timeline { max-width: 420px; margin: 28px auto 0; text-align: left; font-size: 13px; color: var(--muted); }
.timeline div { padding: 8px 0; border-bottom: 1px dashed var(--border); display: flex; gap: 10px; }
.timeline div.done { color: var(--ok); }
.timeline .dot { width: 16px; }

/* ============================================================
   试听 / 付费墙
   ============================================================ */
.song-wrap { max-width: 780px; margin: 0 auto; padding: 58px 24px 110px; }
.song-top { text-align: center; margin-bottom: 34px; }
.song-top h1 { font-size: clamp(32px, 5vw, 48px); margin-top: 6px; }
.song-sub { color: var(--muted); font-size: 13.5px; margin-top: 12px; }
.player-card {
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.8), rgba(251, 242, 232, 0.55));
  border: 1px solid var(--border);
  border-radius: 30px; padding: 34px; text-align: center; box-shadow: var(--shadow-sm);
}
.vinyl {
  width: 92px; height: 92px; border-radius: 50%; margin: 0 auto 22px;
  display: flex; align-items: center; justify-content: center;
  background:
    radial-gradient(circle at 50% 50%, #f2d79a 0 18%, #b23645 19% 24%, #3a151b 25% 62%, #2a1116 63% 100%);
  color: #fff3e2; font-size: 20px;
  box-shadow: 0 14px 34px rgba(58, 21, 27, 0.28);
}
.vinyl.spin { animation: spin 9s linear infinite; }
.player-card audio { width: 100%; }
.player-note { font-size: 12.5px; color: var(--muted); margin-top: 14px; }
.wave { height: 34px; margin-top: 16px; display: flex; align-items: center; justify-content: center; gap: 3px; }
.wave i { display: block; width: 3px; height: 8px; background: rgba(120, 82, 62, 0.18); border-radius: 2px; transition: height .3s, background .3s; }
.wave.on i { background: var(--rose); }

.player-stage { position: relative; margin-top: 22px; min-height: 520px; border-radius: 24px; overflow: hidden; background: #1a1310; isolation: isolate; }
.stage-photos, .stage-veil { position: absolute; inset: 0; }
.stage-photo { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transform: scale(1.06); transition: opacity 1.2s ease; }
.stage-photo.is-active { opacity: 1; animation: stageZoom 9s ease-out both; }
@keyframes stageZoom { from { transform: scale(1.02); } to { transform: scale(1.12); } }
.stage-veil { background: linear-gradient(180deg, rgba(18,12,9,.18) 0%, rgba(18,12,9,.48) 42%, rgba(18,12,9,.92) 100%); }
.stage-content { position: relative; z-index: 2; min-height: 520px; padding: 46px 22px 30px; display: flex; flex-direction: column; align-items: center; text-align: center; color: #fff8ef; }
.stage-kicker { margin: 0 0 14px; font-size: 10px; letter-spacing: .22em; color: #e7c9a8; }
.stage-title { margin: 0; font-family: var(--serif); font-size: 30px; font-weight: 500; letter-spacing: .04em; text-shadow: 0 4px 20px rgba(0,0,0,.45); }
.stage-sub { margin: 8px 0 22px; font-size: 12px; color: #e4d1c1; }
.stage-disc { position: relative; width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 18px; background: radial-gradient(circle at 38% 32%, #6d3b31, #24120f 58%, #0c0706); box-shadow: 0 18px 40px rgba(0,0,0,.45), inset 0 0 0 1px rgba(231,201,168,.25); }
.stage-disc::before { content: ""; position: absolute; width: 34px; height: 34px; border-radius: 50%; background: radial-gradient(circle, #e7c9a8 0 22%, #a96f43 24% 34%, #2a1710 36%); }
.stage-disc span { position: relative; z-index: 1; font-size: 18px; color: rgba(255,248,239,.75); transform: translateY(24px); }
.stage-disc.is-playing { animation: spin 12s linear infinite; }
.player-stage audio { width: 100%; height: 42px; margin-top: 4px; accent-color: #e7c9a8; }
.player-stage audio::-webkit-media-controls-panel { background: rgba(255,248,239,.16); border-radius: 21px; }
.player-stage audio::-webkit-media-controls-current-time-display,
.player-stage audio::-webkit-media-controls-time-remaining-display { color: #fff8ef; font-size: 11px; }
.player-stage .wave i { background: rgba(255,240,224,.24); }
.player-stage .wave.on i { background: #e7c9a8; }
.player-stage .player-note { color: #e4d1c1; margin-top: 10px; }
.stage-dots { display: flex; gap: 6px; margin-top: 16px; }
.stage-dots i { width: 5px; height: 5px; border-radius: 50%; background: rgba(255,248,239,.35); transition: background .4s, width .4s; }
.stage-dots i.on { width: 16px; border-radius: 3px; background: #e7c9a8; }
@media (min-width: 720px) { .player-stage, .stage-content { min-height: 600px; } .stage-title { font-size: 42px; } .stage-disc { width: 120px; height: 120px; } }
@media (prefers-reduced-motion: reduce) {
  .stage-photo.is-active { animation: none; transform: none; transition: none; }
  .stage-disc.is-playing { animation: none; }
  .stage-dots i { transition: none; }
}

.paywall { margin-top: 22px; }
.paywall[hidden] { display: none !important; }
.paywall-inner {
  position: relative; overflow: hidden;
  background:
    radial-gradient(80% 70% at 10% 0%, rgba(217, 81, 94, 0.22), transparent 62%),
    radial-gradient(70% 60% at 96% 100%, rgba(232, 189, 109, 0.16), transparent 62%),
    #1b1013;
  color: #f7ece3; border-radius: 30px; padding: 40px; text-align: center;
  box-shadow: var(--shadow);
}
.paywall-kicker { font-size: 11px; letter-spacing: 0.22em; color: #e0b98f; font-weight: 500; }
.paywall h2 { color: #fbf1e7; font-size: 27px; margin: 14px 0 10px; }
.paywall-price { font-family: var(--serif); font-size: 54px; margin: 12px 0 20px; color: #fff6e9; }
.paywall-price small { font-size: 13px; color: #c9b4a8; font-family: var(--sans); }
.paywall ul { list-style: none; padding: 0; margin: 0 auto 26px; font-size: 14px; color: #dcc8bc; max-width: 360px; }
.paywall li { padding: 6px 0; }
.paywall li::before { content: "·"; color: #e0b98f; margin-right: 8px; }
.paywall-foot { font-size: 11.5px; color: #a58d80; margin-top: 14px; }
.tier-grid { display: grid; grid-template-columns: 1fr; gap: 12px; margin: 18px 0 8px; }
@media (min-width: 720px) { .tier-grid { grid-template-columns: repeat(3, 1fr); } }
.tier-card { background: rgba(255,255,255,.06); border: 1px solid rgba(224,185,143,.35); border-radius: 16px; padding: 16px; color: #dcc8bc; }
.tier-card.is-recommended { border-color: #e0b98f; background: rgba(224,185,143,.14); box-shadow: 0 10px 30px rgba(0,0,0,.18); }
.tier-badge { display: inline-block; font-size: 11px; letter-spacing: .08em; color: #2c211a; background: #e0b98f; border-radius: 6px; padding: 3px 9px; margin-bottom: 10px; }
.tier-name { font-size: 15px; font-weight: 600; color: #fff6e9; }
.tier-price { font-family: var(--serif); font-size: 28px; color: #fff6e9; margin: 8px 0 10px; }
.tier-price small { font-family: var(--sans); font-size: 11px; color: #c9b4a8; }
.tier-card ul { list-style: none; padding: 0; margin: 0 0 14px; font-size: 12px; }
.tier-card li { padding: 3px 0; }
.tier-card li::before { content: "·"; color: #e0b98f; margin-right: 6px; }
.tier-card .btn { white-space: nowrap; }
.unlocked { margin-top: 22px; background: linear-gradient(165deg, #fdf2ec, var(--rose-wash)); border: 1px solid rgba(178, 54, 69, 0.16); border-radius: 22px; padding: 24px; text-align: center; }
.unlocked-title { font-family: var(--serif); font-size: 21px; margin-bottom: 16px; }
.unlocked-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

.lyrics-panel {
  margin-top: 46px;
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.78), rgba(251, 244, 237, 0.45));
  border: 1px solid var(--border);
  border-radius: 28px; padding: 38px;
}
.lyrics-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; gap: 12px; }
.lyrics-head h2 { font-size: 21px; }
.badge { font-size: 11px; padding: 5px 12px; border-radius: 999px; background: rgba(242, 233, 220, 0.7); color: var(--ink-2); white-space: nowrap; }
.badge-ok { background: #eaf3ec; color: var(--ok); }
.badge-warn { background: #fbf0dd; color: var(--warn); }
.lyrics { font-family: var(--serif); font-size: 17px; line-height: 2.15; color: var(--ink-2); }
.lyric-tag { font-family: var(--sans); font-size: 10.5px; letter-spacing: 0.2em; color: var(--gold-deep); font-weight: 500; margin: 20px 0 8px; }
.lyric-line.hit span { background: linear-gradient(transparent 64%, rgba(246, 229, 226, 0.95) 64%); color: var(--ink); }
/* 作品页：基于真实行级时间戳在行内按字插值，形成逐字点亮（Serenata 式）；非当前行保持全文可读 */
@supports (-webkit-background-clip: text) or (background-clip: text) {
  .page-song .lyric-line.hit span {
    background-image: linear-gradient(90deg, var(--rose) 0%, var(--rose) var(--karaoke-fill, 0%), #a39084 var(--karaoke-fill, 0%), #a39084 100%);
    background-color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }
}
.lyrics-note { font-size: 12px; color: var(--muted); margin-top: 22px; border-top: 1px dashed var(--border); padding-top: 16px; line-height: 1.75; }

/* ============================================================
   收银台
   ============================================================ */
.checkout-wrap { max-width: 560px; margin: 0 auto; padding: 64px 24px 110px; }
.checkout-card {
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.85), rgba(251, 242, 232, 0.55));
  border: 1px solid var(--border); border-radius: 30px; padding: 40px; box-shadow: var(--shadow-sm);
}
.checkout-card h1 { font-size: 28px; margin: 6px 0 24px; }
.checkout-row { display: flex; justify-content: space-between; padding: 13px 0; border-bottom: 1px solid var(--border-soft); font-size: 14px; color: var(--ink-2); gap: 14px; }
.checkout-row b { color: var(--ink); text-align: right; font-weight: 500; }
.amount { color: var(--rose); font-size: 22px; font-family: var(--serif); font-weight: 600 !important; }
.pay-methods { display: flex; gap: 10px; margin: 24px 0; }
.pay-method { flex: 1; border: 1px solid var(--border); border-radius: 14px; padding: 13px; text-align: center; cursor: pointer; font-size: 14px; transition: all .18s ease; background: rgba(255, 253, 249, 0.6); }
.pay-method.selected { border-color: rgba(178, 54, 69, 0.55); background: var(--rose-wash); }
.pay-method input { display: none; }
.demo-note { font-size: 11.5px; color: var(--muted); margin-top: 18px; line-height: 1.8; }
.paid-done { margin-top: 20px; }

/* ============================================================
   礼物页
   ============================================================ */
.page-gift { background: #150c0f; color: #f7ece3; }
.page-gift .nav { background: rgba(21, 12, 15, 0.8); border-color: rgba(255, 255, 255, 0.07); }
.page-gift .brand, .page-gift .nav-links a { color: #f7ece3; }
.page-gift .brand svg { color: #f7ece3; }
.page-gift .nav-cta { color: #fff !important; }
.page-gift .foot { background: transparent; border-color: rgba(255, 255, 255, 0.07); }
.page-gift .foot-brand { color: #f7ece3; }
.page-gift .foot-tag, .page-gift .foot-links, .page-gift .foot-base { color: #a58d80; }
.gift-wrap { position: relative; isolation: isolate; overflow: hidden; max-width: 760px; margin: 0 auto; padding: 72px 24px 100px; }
.gift-wrap::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(52% 40% at 16% 6%, rgba(217, 81, 94, 0.18), transparent 62%),
    radial-gradient(50% 44% at 86% 92%, rgba(232, 189, 109, 0.14), transparent 62%);
}
.gift-hero { text-align: center; }
.gift-kicker { font-size: 11px; letter-spacing: 0.28em; color: rgba(224, 185, 143, 0.9); font-weight: 500; text-transform: uppercase; }
.gift-hero h1 { font-size: clamp(38px, 7vw, 58px); margin: 20px 0 10px; color: #fff6ea; }
.gift-sub { color: #a58d80; font-size: 13.5px; letter-spacing: 0.08em; }
.gift-player { margin: 34px auto 0; max-width: 460px; }
.gift-player audio { width: 100%; }
.gift-wave { height: 46px; margin-top: 20px; display: flex; align-items: center; justify-content: center; gap: 4px; }
.gift-wave i { width: 3px; background: rgba(255, 255, 255, 0.10); border-radius: 2px; transition: height .25s, background .25s; }
.gift-wave.on i { background: linear-gradient(180deg, #f2d79a, #d9a45a); }
.gift-actions { margin-top: 18px; }
.page-gift .btn-ghost { border-color: rgba(255, 255, 255, 0.16); color: #e6d5c8; }
.page-gift .btn-ghost:hover { border-color: rgba(232, 189, 109, 0.6); color: #f2d79a; background: rgba(255, 255, 255, 0.03); }

.gift-lyrics {
  margin-top: 70px;
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 30px; padding: 46px 38px;
}
.gift-lyrics .lyric-tag { color: rgba(224, 185, 143, 0.8); }
.gift-lyrics .lyric-line { font-family: var(--serif); font-size: clamp(16px, 2.4vw, 19px); line-height: 2.35; color: #6d5850; transition: color .45s ease; }
.gift-lyrics .lyric-line.hit { color: #fdf4ec; }
.gift-lyrics .lyric-line.hit span { text-shadow: 0 0 28px rgba(232, 185, 138, 0.32); }

.gift-foot { margin-top: 60px; text-align: center; }
.gift-postcard { border: 1px dashed rgba(255, 255, 255, 0.14); border-radius: 22px; padding: 32px; margin-bottom: 30px; }
.gift-postcard-mark { font-family: var(--serif); letter-spacing: 0.24em; color: #c99a45; font-size: 12px; }
.gift-postcard p { color: #a58d80; font-size: 14px; margin: 14px 0; line-height: 1.8; }
.gift-code { font-size: 10.5px; color: #6f5b50; letter-spacing: 0.12em; }

/* ---------------- 其它 ---------------- */
.notfound { max-width: 480px; margin: 0 auto; padding: 130px 24px; text-align: center; }
.notfound p { color: var(--muted); margin: 16px 0 28px; }

/* ---------------- 响应式 ---------------- */
@media (max-width: 960px) {
  .dark-grid { grid-template-columns: 1fr; gap: 48px; }
  .dark-band .phone { transform: rotate(-1.2deg); }
  .feature-grid { gap: 38px 40px; }
}

@media (max-width: 860px) {
  .nav { padding: 12px 18px; }
  .nav-links { gap: 16px; font-size: 13px; }
  .nav-links a:not(.nav-cta):not(.keep) { display: none; }
  .brand { font-size: 18px; }
  .hero { padding-top: 48px; }
  .hero h1 { font-size: clamp(34px, 8.2vw, 52px); }
  .hero .lede { font-size: 15.5px; }
  .hero-media { max-width: 430px; }
  .section { padding: 72px 0; }
  .section-head { margin-bottom: 42px; }
  .section-head p { font-size: 15px; }
  .who-grid { grid-template-columns: 1fr; }
  .how-grid { grid-template-columns: 1fr; gap: 34px; }
  .feature-grid { grid-template-columns: 1fr; gap: 32px; }
  .strip-inner { padding: 18px 16px; }
  .strip-item { padding: 0 8px; }
  .strip-item b { font-size: 15px; }
  .strip-item span { font-size: 11.5px; }
  .example-card { padding: 30px 22px; }
  .price-card { padding: 38px 24px 34px; }
  .price-num { font-size: 54px; }
  .lyrics-panel, .gift-lyrics { padding: 28px 22px; }
  .reveal-wrap { padding-top: 40px; }
  .chorus-grid { grid-template-columns: 1fr; }
  .footer-base { flex-direction: column; }
  .sticky-cta { padding-left: 16px; padding-right: 16px; }
  .sticky-cta b { font-size: 13.5px; }
  .sticky-cta span { font-size: 11px; }
}

@media (max-width: 620px) {
  .wrap { padding-left: 20px; padding-right: 20px; }
  .hero-inner { padding: 0 20px; }
  .hero-media { padding: 0 18px; }
  .media-body { padding: 30px 22px 24px; }
  .pill { font-size: 12px; padding: 7px 14px; }
  .hero-actions .btn { width: 100%; }
  .hero-actions .btn-ghost { width: auto; }
  .strip-inner { grid-template-columns: 1fr; gap: 12px; }
  .strip-item + .strip-item { border-left: 0; border-top: 1px solid var(--border-soft); padding-top: 12px; }
  .cards, .style-grid-pick { grid-template-columns: 1fr; }
  .card { padding: 15px 16px; }
  .create-wrap { padding-bottom: 110px; }
  .create-nav { position: sticky; bottom: 0; background: rgba(250, 245, 237, 0.94); backdrop-filter: blur(14px); padding: 12px 0 calc(12px + env(safe-area-inset-bottom)); margin-top: 30px; z-index: 20; }
  .sticky-cta { display: none; }
  .gift-wrap { padding: 52px 18px 80px; }
  .song-wrap { padding-top: 40px; }
  .player-card { padding: 24px 18px; }
  .paywall-inner { padding: 30px 22px; }
  .lyrics { font-size: 16px; }
  .faq summary { font-size: 15.5px; }
  .final-cta { padding: 78px 20px 88px; }
  .foot { padding: 34px 20px 26px; }
}

/* ============================================================
   V1 追加：明信片 / 案例页 / 套餐 / 上传 / 后台 / 合规 / 响应式
   （在原有 978 行之后追加，不改动上面任何一段）
   ============================================================ */

/* ---------------- 明信片样张 postcardSample ---------------- */
.postcard { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.postcard-sm { max-width: 420px; }
.postcard-lg { max-width: 680px; }
.postcard-front, .postcard-back {
  position: relative; aspect-ratio: 148 / 100; overflow: hidden;
  border-radius: 14px; border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.postcard-front {
  background-color: #7a2b3a; background-size: cover; background-position: center;
  color: #fff7ef; display: flex; flex-direction: column; justify-content: flex-end;
  gap: 6px; padding: 16px 16px 14px;
}
.postcard-front::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(20,8,12,.08), rgba(20,8,12,.74));
}
.postcard-front > * { position: relative; z-index: 1; }
.postcard-front img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.postcard-back {
  background: linear-gradient(165deg, #fffdf9, #f3e7d8); color: var(--ink-2);
  padding: 14px 16px; display: flex; flex-direction: column; gap: 6px;
}
.pc-title { font-family: var(--serif); font-size: 16px; color: #fff6ea; line-height: 1.3; }
.pc-lines { display: grid; gap: 1px; font-family: var(--serif); font-size: 10.5px; line-height: 1.5; opacity: .9; }
.pc-date { font-size: 9px; letter-spacing: .1em; opacity: .75; margin-top: 4px; }
.pc-hand { font-family: var(--serif); font-size: 12px; color: var(--rose-deep); border-bottom: 1px dashed var(--border); padding-bottom: 5px; min-height: 16px; }
.pc-lines-ruled { flex: 1; min-height: 18px; background: repeating-linear-gradient(180deg, transparent 0, transparent 14px, var(--border-soft) 15px); }
.pc-scan { font-size: 10px; color: var(--muted); }
.pc-brand { font-family: var(--serif); font-size: 10px; letter-spacing: .14em; color: var(--gold-deep); }
.qr-img { width: 72px; height: 72px; align-self: flex-start; background: #fff; border: 1px solid var(--border-soft); border-radius: 8px; padding: 4px; object-fit: contain; }
.img-missing {
  background: linear-gradient(135deg, #f0d3b0, #c9776f 55%, #7a2b3a) !important;
  color: transparent !important; font-size: 0 !important;
}
#caseCover { width: 100%; max-height: 320px; object-fit: cover; border-radius: 16px; display: block; }
#casePostcard { margin-top: 12px; display: flex; justify-content: center; }
.case-audio-note, #caseAudioNote { font-size: 12px; color: var(--muted); line-height: 1.75; margin-top: 8px; }

/* ---------------- 案例成品页 .page-case（深色，单独处理对比度） ---------------- */
.page-case { background: #150c0f; color: #f7ece3; }
.page-case .nav { background: rgba(21,12,15,.82); border-color: rgba(255,255,255,.07); }
.page-case .brand, .page-case .nav-links a { color: #f7ece3; }
.page-case .nav-cta { color: #fff !important; }
.page-case .foot { background: transparent; border-color: rgba(255,255,255,.07); }
.page-case .foot-brand { color: #f7ece3; }
.page-case .foot-tag, .page-case .foot-links, .page-case .foot-base { color: #a58d80; }
.page-case h2, .page-case h3 { color: #fbf1e7; }
.page-case main > * { color: #e7d5c9; }
.page-case #caseStory { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: 20px; padding: 24px; color: #d8c4b8; font-size: 14.5px; line-height: 1.95; }
.page-case .compliance, .page-case .hintline { color: #a58d80; }
.page-case .badge-soft { background: rgba(255,255,255,.06); color: #e6d5c8; border-color: rgba(255,255,255,.12); }
.case-hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 76vh; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 92px 24px; color: #fff6ea;
  background-color: #2a1116; background-size: cover; background-position: center;
}
.case-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(21,10,14,.34), rgba(21,10,14,.86));
}
.case-hero > * { position: relative; z-index: 1; text-shadow: 0 2px 18px rgba(0,0,0,.5); }
.case-hero h1 { font-size: clamp(34px, 6vw, 58px); color: #fff6ea; margin: 12px 0 8px; }
.case-play {
  width: 64px; height: 64px; flex: none; border: 0; border-radius: 50%; cursor: pointer;
  background: var(--grad-gold); color: #3d2412; font-size: 21px;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 30px rgba(0,0,0,.35); transition: transform .18s ease;
}
.case-play:hover { transform: scale(1.06); }
#caseAudio { max-width: 420px; width: 100%; margin: 18px auto 0; }
.case-qc { display: inline-flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-top: 16px; }
.case-section-tag { font-family: var(--sans); font-size: 11px; letter-spacing: .2em; color: var(--gold-deep); font-weight: 500; margin: 24px 0 8px; }
.page-case .case-section-tag { color: rgba(224,185,143,.85); }
.case-line {
  font-family: var(--serif); font-size: 17px; line-height: 2.1; color: var(--ink-2);
  padding: 1px 8px; border-radius: 8px; transition: color .3s ease, background .3s ease;
}
.case-line.hit { color: var(--ink); background: linear-gradient(transparent 60%, rgba(246,229,226,.95) 60%); }
.page-case .case-line { color: #8a746a; }
.page-case .case-line.hit { color: #fdf4ec; background: none; text-shadow: 0 0 26px rgba(232,185,138,.32); }

/* ---------------- 套餐 / 加购 / 报价 / 合规勾选 ---------------- */
.pkg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.pkg-card {
  position: relative; text-align: left; cursor: pointer; font-family: var(--sans); color: var(--ink);
  background: rgba(255,253,249,.82); border: 1px solid var(--border); border-radius: 20px;
  padding: 22px 18px 18px; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.pkg-card:hover { border-color: rgba(178,54,69,.4); transform: translateY(-2px); }
.pkg-card.active { border-color: rgba(178,54,69,.6); background: linear-gradient(165deg,#fffaf5,var(--rose-wash)); box-shadow: var(--shadow-sm); }
.pkg-card.disabled { opacity: .55; pointer-events: none; }
.pkg-badge { position: absolute; top: -11px; right: 12px; background: var(--grad-btn); color: #fff; font-size: 10.5px; padding: 3px 12px; border-radius: 999px; box-shadow: 0 6px 16px rgba(160,46,64,.28); }
.pkg-name { font-family: var(--serif); font-size: 20px; font-weight: 600; }
.pkg-price { font-family: var(--serif); font-size: 25px; color: var(--rose); margin: 8px 0 10px; }
.pkg-price s { font-family: var(--sans); font-size: 13px; color: var(--muted); margin-left: 6px; }
.pkg-bullets { list-style: none; margin: 0; padding: 0; font-size: 12.5px; line-height: 1.9; color: var(--ink-2); }
.pkg-bullets li::before { content: "·"; color: var(--rose); font-weight: 700; margin-right: 6px; }
.pkg-physical { margin-top: 12px; font-size: 11px; color: var(--gold-deep); }
.addon-list { margin-top: 24px; }
.addon-head { font-size: 13px; font-weight: 500; color: var(--ink-2); margin-bottom: 10px; }
.addon-row {
  display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: 14px;
  padding: 12px 14px; margin-bottom: 8px; border: 1px solid var(--border-soft);
  border-radius: 14px; background: rgba(255,253,249,.6);
}
.addon-row input, .ack-row input { width: 16px; height: 16px; flex: none; accent-color: var(--rose); }
.addon-label { flex: 1; }
.addon-price { color: var(--rose); font-size: 13px; }
.pkg-total { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 18px; padding: 14px 18px; border-radius: 14px; background: rgba(242,233,220,.55); font-size: 14px; color: var(--ink-2); }
.pkg-total b, #pkgTotal, #quoteTotal { font-family: var(--serif); font-size: 26px; color: var(--rose); }
.quote-rows, #quoteRows { margin: 14px 0; }
.quote-row { display: flex; justify-content: space-between; gap: 14px; padding: 9px 0; border-bottom: 1px solid var(--border-soft); font-size: 14px; color: var(--ink-2); }
.ack-row { display: flex; align-items: flex-start; gap: 10px; font-size: 12.5px; line-height: 1.75; color: var(--ink-2); margin: 10px 0; }
.ack-row input { margin-top: 3px; }
.compliance { font-size: 11.5px; line-height: 1.8; color: var(--muted); }
.linklike { border: 0; background: none; padding: 0; font: inherit; color: var(--rose); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.badge-soft { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; padding: 4px 11px; border-radius: 999px; background: rgba(242,233,220,.7); border: 1px solid var(--border-soft); color: var(--ink-2); }
.pay-note, .unlock-note { font-size: 12.5px; line-height: 1.8; margin-top: 14px; color: var(--muted); }
.pay-note.bad, .unlock-note.bad, .status-bad, .compliance.bad { color: var(--rose-deep); }
.pay-note.warn, .status-warn { color: var(--warn); }
.status-ok { color: var(--ok); }

/* ---------------- 上传 / 照片 / 明信片预览 ---------------- */
.upload-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 20px; }
.upload-col { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.upload-label { font-size: 12px; color: var(--muted); }
.photo-preview { aspect-ratio: 4 / 3; border: 1px dashed var(--border); border-radius: 16px; overflow: hidden; background: linear-gradient(135deg,#f0d3b0,#c9776f,#7a2b3a); }
.photo-preview img { width: 100%; height: 100%; object-fit: cover; display: block; }
.postcard-preview { border: 1px solid var(--border); border-radius: 16px; padding: 10px; background: rgba(255,253,249,.7); min-height: 120px; display: flex; align-items: center; justify-content: center; }
.postcard-preview img { width: 100%; border-radius: 10px; display: block; }
.postcard-preview .postcard { width: 100%; }

/* ---------------- 礼物页二维码 ---------------- */
.gift-qr-box { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 18px; }
.gift-qr-box .qr-img, .gift-postcard .qr-img { width: 104px; height: 104px; padding: 6px; border-radius: 12px; }
.gift-qr-cap { font-size: 11.5px; color: #a58d80; }

/* ---------------- 后台 /admin ---------------- */
.kpi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; }
.kpi-card { background: rgba(255,253,249,.82); border: 1px solid var(--border); border-radius: 16px; padding: 18px 12px; text-align: center; }
.kpi-v { font-family: var(--serif); font-size: 27px; color: var(--ink); line-height: 1.2; }
.kpi-k { font-size: 12px; color: var(--muted); margin-top: 4px; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.admin-table th, .admin-table td { padding: 10px 12px; border-bottom: 1px solid var(--border-soft); text-align: left; white-space: nowrap; }
.admin-table th { color: var(--muted); font-weight: 500; }
.table-scroll { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.job-board { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.job-col { background: rgba(255,253,249,.82); border: 1px solid var(--border); border-radius: 14px; padding: 14px 10px; text-align: center; }
.job-col-h { font-size: 11px; color: var(--muted); }
.job-col-v { font-family: var(--serif); font-size: 24px; color: var(--ink); }
.metrics-sub { font-size: 12.5px; font-weight: 500; color: var(--ink-2); margin: 16px 0 8px; }
.dot-new { display: inline-flex; align-items: center; justify-content: center; min-width: 10px; height: 10px; padding: 0 3px; border-radius: 999px; background: transparent; color: transparent; font-size: 9px; vertical-align: middle; }
.dot-new.on { min-width: 18px; height: 18px; background: #d24c50; color: #fff; box-shadow: 0 0 0 4px rgba(210,76,80,.18); }
.admin-log-line { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11.5px; color: var(--muted); padding: 3px 0; border-bottom: 1px dashed var(--border-soft); }
.admin-cmd { margin-top: 14px; padding: 16px; border: 1px dashed var(--border); border-radius: 14px; background: rgba(242,233,220,.4); display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.admin-cmd code { white-space: pre-wrap; word-break: break-all; font-size: 12px; }
.admin-cmd-label { font-size: 12px; color: var(--ink-2); }
.admin-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.admin-actions .btn { padding: 8px 16px; font-size: 13px; }
.note-input { width: 100%; min-width: 120px; border: 1px solid var(--border); border-radius: 10px; padding: 7px 10px; font-size: 12.5px; font-family: var(--sans); }

/* ---------------- 响应式（≤960 / ≤620 / ≤560） ---------------- */
@media (max-width: 960px) {
  .pkg-grid { grid-template-columns: repeat(2, 1fr); }
  .case-card { grid-template-columns: 1fr; }
  .upload-grid { grid-template-columns: 1fr; }
  .job-board { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .pkg-grid { grid-template-columns: 1fr; }
  .postcard { grid-template-columns: 1fr; }
  .postcard-front, .postcard-back { aspect-ratio: 148 / 100; }
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .case-hero { min-height: 64vh; padding: 72px 18px; }
  .case-line { font-size: 16px; }
  .job-board { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  html, body { overflow-x: clip; }
  .page-admin, .page-case, .page-gift { overflow-x: clip; }
  main, .wrap, .section, .create-wrap, .song-wrap, .checkout-wrap, .gift-wrap, .admin-wrap { max-width: 100vw; }
  .table-scroll { max-width: 100%; }
  .case-card { padding: 26px 18px; }
  .postcard-sm, .postcard-lg { max-width: 100%; }
  .admin-table th, .admin-table td { padding: 8px 10px; }
  .pkg-card { padding: 18px 15px 15px; }
  .gift-qr-box .qr-img, .gift-postcard .qr-img { width: 88px; height: 88px; }
}

/* ============================================================
   V1 追加（二）：对齐 views.js 实际输出的 class
   同时兼容 client 内联 postcardHtml 的 .pc-* 一套。
   沿用 :root 变量；.page-case / .page-gift 深色页单独处理对比度。
   ============================================================ */

/* ---------------- postcardSample（views.js 输出这套） ---------------- */
.postcard-face { position: relative; aspect-ratio: 148 / 100; overflow: hidden; border-radius: 14px; border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.postcard-front.postcard-face { background-color: #7a2b3a; color: #fff7ef; }
.postcard-front::before { z-index: 1; }
.postcard-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; z-index: 0; }
.postcard-front-inner { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; gap: 7px; padding: 16px 18px 14px; }
.postcard-brand { font-family: var(--serif); font-size: 11px; letter-spacing: .16em; color: #ffe9c9; }
.postcard-brand small { display: inline-block; margin-left: 8px; font-family: var(--sans); font-size: 9.5px; letter-spacing: .04em; opacity: .8; }
.postcard-title { font-family: var(--serif); font-size: clamp(15px, 2.2vw, 19px); line-height: 1.25; color: #fff6ea; }
.postcard-highlights { display: grid; gap: 2px; font-family: var(--serif); font-size: 10.5px; line-height: 1.55; color: rgba(255,246,233,.88); }
.postcard-highlights span { display: block; }
.postcard-sign { font-size: 9.5px; letter-spacing: .08em; color: rgba(255,236,214,.72); margin-top: 3px; }
.postcard-back.postcard-face { background: linear-gradient(165deg, #fffdf9, #f2e6d6); color: var(--ink-2); display: flex; flex-direction: column; padding: 14px 16px; gap: 8px; }
.postcard-write { position: relative; flex: 1; min-height: 0; }
.postcard-lines { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-around; pointer-events: none; }
.postcard-lines i { display: block; height: 1px; background: var(--border-soft); }
.postcard-write-text { position: relative; z-index: 1; font-family: var(--serif); font-size: 12.5px; line-height: 1.9; color: var(--rose-deep); padding: 2px 2px 0; word-break: break-word; }
.postcard-qr { display: flex; align-items: center; gap: 10px; }
.postcard-qr .qr-img { width: 66px; height: 66px; flex: none; }
.postcard-qr-cap { font-size: 10.5px; line-height: 1.6; color: var(--muted); }
.postcard-back-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; border-top: 1px dashed var(--border-soft); padding-top: 7px; margin-top: auto; }
.postcard-back-foot .postcard-brand { color: var(--gold-deep); font-size: 10px; }
.postcard-order { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 9.5px; letter-spacing: .1em; color: var(--muted); }
.postcard-lg .postcard-title { font-size: clamp(20px, 3vw, 28px); }
.postcard-lg .postcard-highlights { font-size: 13px; }
.postcard-lg .postcard-write-text { font-size: 15px; }
.postcard-lg .postcard-qr .qr-img { width: 84px; height: 84px; }
.postcard-lg .postcard-front-inner { padding: 22px 24px 18px; }
.postcard-lg .postcard-back.postcard-face { padding: 20px 22px; }

/* ---------------- 首页 / 落地页 ---------------- */
.showcase-progress { margin-top: 18px; }
.case-showcase { max-width: 1000px; margin: 0 auto; }
.case-cover-wrap { border-radius: 18px; overflow: hidden; margin-bottom: 16px; background: linear-gradient(135deg,#f0d3b0,#c9776f,#7a2b3a); }
.case-cover { width: 100%; max-height: 300px; object-fit: cover; display: block; }
.case-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.case-actions .btn { flex: 1; min-width: 170px; }
.addons { max-width: 900px; margin: 32px auto 0; }
.addons-title { font-size: 13px; font-weight: 500; text-align: center; color: var(--ink-2); margin-bottom: 14px; }
.addons-grid { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.addon-item { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border: 1px solid var(--border-soft); border-radius: 999px; background: rgba(255,253,249,.7); font-size: 13px; color: var(--ink-2); }
.addon-item b { color: var(--rose); font-weight: 600; }
.pkg-anchor { font-family: var(--sans); font-size: 13px; color: var(--muted); text-decoration: line-through; margin-right: 8px; }
.pkg-label { font-family: var(--serif); font-size: 20px; font-weight: 600; color: var(--ink); }
.pkg-card .pkg-price b { font-family: var(--serif); font-size: 25px; color: var(--rose); font-weight: 600; }
.pkg-card .btn { margin-top: 14px; }
.pkg-card.is-disabled { opacity: .55; pointer-events: none; }

/* ---------------- 案例成品页 .page-case ---------------- */
.case-wrap { max-width: 100%; }
.case-hero::before { z-index: 1; }
.case-hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.case-hero-inner { position: relative; z-index: 2; max-width: 720px; margin: 0 auto; }
.case-kicker { font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: rgba(232,189,109,.9); font-weight: 500; }
.case-to { font-size: 14px; color: rgba(255,240,224,.78); margin-top: 6px; }
.case-play-row { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; margin-top: 26px; }
.case-play-row audio { max-width: 380px; width: 100%; }
.case-hero .case-play { width: auto; height: auto; border-radius: 999px; padding: 12px 26px; font-size: 15px; font-family: var(--sans); }
.case-qc-row { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-top: 16px; }
.case-qc { display: inline-flex; align-items: center; justify-content: flex-start; gap: 0; flex-wrap: nowrap; margin-top: 0; font-size: 11px; padding: 5px 12px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); color: #e9d8cc; }
/* 音频未生成时是「状态说明」而不是徽章/按钮：去掉胶囊与描边，避免误点、避免与播放按钮重复 */
.case-qc.case-qc-pending { background: none; border: 0; padding: 0; border-radius: 0; color: rgba(255,236,214,.62); font-size: 11.5px; letter-spacing: .04em; }
.page-case .case-audio-note { color: rgba(255,236,214,.72); }
.case-story-inner { max-width: 760px; }
.case-story-text { font-size: 16px; line-height: 2; color: var(--ink-2); margin: 18px 0 0; }
.page-case .case-story-text { color: #dcc9bc; }
.case-postcard-line { margin: 22px 0 0; padding: 14px 20px; border-left: 3px solid var(--gold-deep); font-family: var(--serif); font-size: 18px; color: var(--rose-deep); background: rgba(178,54,69,.06); border-radius: 0 14px 14px 0; }
.page-case .case-postcard-line { color: #f0cf9a; background: rgba(255,255,255,.04); border-left-color: var(--gold); }
.case-lyrics-section { padding-top: 40px; }
.case-lyrics { max-width: 680px; margin: 0 auto; }
.case-postcard-section { padding-top: 20px; }
.case-postcard-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.case-qr-note .kicker { color: var(--gold-deep); }
.case-qr-note h3 { font-size: 24px; margin: 10px 0 12px; }
.case-qr-note p { font-size: 14px; line-height: 1.95; color: var(--ink-2); }
.page-case .case-qr-note p, .page-case .case-qr-note h3 { color: #e6d3c5; }
.case-cta { border-top: 1px solid rgba(255,255,255,.08); }

/* ---------------- 歌曲页 ---------------- */
.song-postcard { margin-top: 56px; }
.song-postcard .postcard { margin: 0 auto; }
.song-design-actions { text-align: center; margin-top: 22px; }
.paywall-pkgname { font-size: 13px; color: #e0b98f; margin: -8px 0 14px; letter-spacing: .06em; }

/* ---------------- 收银台 ---------------- */
.checkout-block { margin-top: 30px; }
.checkout-block h2 { font-size: 17px; margin-bottom: 14px; }
.checkout-sub { font-size: 13.5px; color: var(--ink-2); line-height: 1.85; }
.checkout-sub strong { color: var(--rose-deep); }
.quote-total { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 0; border-top: 1px solid var(--border); font-size: 15px; color: var(--ink-2); }
.quote-total b { font-family: var(--serif); font-size: 26px; color: var(--rose); }
.pay-methods-block .demo-note { margin-top: 8px; }
.pay-msg { font-size: 12.5px; line-height: 1.8; margin-top: 14px; color: var(--muted); }
.pay-msg:empty { display: none; }
.pay-msg.status-bad { color: var(--rose-deep); }
.pay-msg.status-warn { color: var(--warn); }
.pay-msg.status-ok { color: var(--ok); }
.compliance-block .ack-row { margin: 12px 0; }
.compliance-block .compliance { margin-top: 14px; }
.paid-done { text-align: center; }
.paid-done .btn { margin-top: 16px; }

/* ---------------- 礼物页 .page-gift（深色对比度） ---------------- */
.gift-hero { position: relative; isolation: isolate; border-radius: 30px; overflow: hidden; min-height: 76vh; display: flex; align-items: flex-end; justify-content: center; text-align: center; padding: 60px 24px; }
.gift-cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.gift-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(180deg, rgba(21,10,14,.25), rgba(21,10,14,.88)); }
.gift-hero-inner { position: relative; z-index: 1; max-width: 640px; color: #f7ece3; }
.gift-qr-note { font-family: var(--serif); font-size: 15px; color: #c9b4a8; margin-bottom: 20px; }
.gift-lyrics-inner { max-width: 640px; margin: 0 auto; }

/* ---------------- 后台 /admin ---------------- */
.admin-wrap { max-width: 1180px; margin: 0 auto; padding: 56px 24px 100px; }
.admin-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 34px; }
.admin-head h1 { font-size: clamp(26px, 3.6vw, 38px); margin-top: 6px; }
.admin-tools { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.admin-tools .btn { padding: 9px 16px; font-size: 13px; }
.admin-sound { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--ink-2); cursor: pointer; }
.admin-sound input { accent-color: var(--rose); }
.admin-section { margin-top: 40px; }
.admin-section > h2 { font-size: 20px; margin-bottom: 16px; }
.kpi { display: flex; flex-direction: column; gap: 4px; background: rgba(255,253,249,.82); border: 1px solid var(--border); border-radius: 16px; padding: 18px; text-align: center; }
.kpi-label { font-size: 12px; color: var(--muted); }
.kpi-value { font-family: var(--serif); font-size: 27px; color: var(--ink); line-height: 1.2; }
.job-col ul { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 4px; font-size: 11.5px; color: var(--muted); }
.job-col-head { font-size: 12px; color: var(--ink-2); font-weight: 500; }
.job-col-head b { color: var(--rose); font-family: var(--serif); font-size: 17px; }
.admin-note-row { display: flex; gap: 6px; align-items: center; }
.admin-note { width: 100%; min-width: 110px; border: 1px solid var(--border); border-radius: 9px; padding: 6px 9px; font-size: 12px; font-family: var(--sans); }
.btnSaveNote, .admin-acts button { border: 1px solid var(--border); background: rgba(255,253,249,.8); color: var(--ink-2); border-radius: 9px; padding: 6px 10px; font-size: 12px; cursor: pointer; font-family: var(--sans); white-space: nowrap; transition: all .16s ease; }
.btnSaveNote:hover, .admin-acts button:hover { border-color: var(--rose); color: var(--rose); }
.admin-acts { display: flex; gap: 5px; flex-wrap: wrap; }
.admin-log { max-height: 240px; overflow-y: auto; background: rgba(255,253,249,.7); border: 1px solid var(--border-soft); border-radius: 14px; padding: 12px 16px; }
.worker-cmd { margin-top: 14px; padding: 18px; border: 1px dashed var(--border); border-radius: 14px; background: rgba(242,233,220,.4); }
.worker-cmd p { font-size: 12.5px; color: var(--ink-2); margin-bottom: 10px; }
.worker-cmd pre { margin: 0 0 12px; white-space: pre-wrap; word-break: break-all; }
.worker-cmd code { font-size: 12px; }
.metrics-sub { font-size: 12.5px; font-weight: 500; color: var(--ink-2); }
.dot-new[hidden] { display: none; }

/* ---------------- 追加响应式 ---------------- */
@media (max-width: 960px) {
  .case-postcard-grid { grid-template-columns: 1fr; gap: 24px; }
  .admin-head { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 620px) {
  .case-actions .btn { min-width: 0; flex: 1 1 100%; }
  .gift-hero { min-height: 64vh; padding: 44px 18px; }
  .case-hero-inner { padding: 0 6px; }
  .case-hero .case-play { width: 100%; }
  .postcard-lg .postcard-title { font-size: 20px; }
}
@media (max-width: 560px) {
  .admin-wrap { padding: 40px 16px 80px; }
  .admin-table th, .admin-table td { white-space: nowrap; }
  .quote-total b { font-size: 22px; }
  .worker-cmd pre { font-size: 11px; }
  .case-qc { font-size: 10px; padding: 4px 9px; }
}

/* ------------------------------------------------------------
   修正：body 是 flex 列布局，main 默认 min-width:auto 会被内部
   nowrap 宽表格撑开（后台 admin-wrap 实测被撑到 1020px），
   仅靠 html/body 的 overflow-x:clip 会把 KPI 卡片等右半边直接裁掉。
   显式给 main 与横向滚动容器 min-width:0 / width:100%，
   让表格只在 .table-scroll 内部横向滚动，页面本身不横向溢出。
   ------------------------------------------------------------ */
body > main { min-width: 0; width: 100%; }
.admin-wrap { width: 100%; min-width: 0; }
.table-scroll { width: 100%; max-width: 100%; min-width: 0; }
.admin-table { width: 100%; }
@media (max-width: 560px) {
  .case-qc.case-qc-pending { font-size: 10.5px; }
}



.account-wrap { max-width: 760px; margin: 0 auto; padding: clamp(24px, 7vw, 64px) 16px 56px; }
.account-login { max-width: 500px; }
.account-panel {
  padding: clamp(16px, 5vw, 36px);
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.account-kicker { margin-bottom: 8px; color: var(--rose-deep); font-size: 13px; font-weight: 600; }
.account-wrap h1 { margin-bottom: 10px; font-size: clamp(28px, 6vw, 40px); }
.account-wrap h2 { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-size: 21px; }
.account-note, .account-feedback, .account-list small { color: var(--ink-2); font-size: 14px; }
.account-form, .account-field { display: grid; gap: 7px; }
.account-form { gap: 16px; margin-top: 22px; }
.account-field label { font-size: 14px; font-weight: 600; }
.account-form input {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid #bba69a;
  border-radius: 12px;
  background: #fffdf9;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
}
.account-code-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.account-wrap .btn { min-height: 48px; padding: 10px 14px; line-height: 1.35; }
.account-code-row .btn { white-space: nowrap; }
.account-wrap :focus-visible { outline: 2px solid var(--rose-deep); outline-offset: 2px; }
.account-feedback:empty { display: none; }
.account-feedback[data-error] { color: var(--rose-deep); }
.account-back, .account-actions { margin-top: 18px; }
.account-actions { display: flex; gap: 10px; }
.account-actions + .account-feedback:not(:empty) { margin-top: 10px; }
.account-section { margin-top: 14px; }
.account-count { padding: 3px 9px; border-radius: 999px; background: var(--rose-wash); color: var(--rose-deep); font: 600 13px var(--sans); }
.account-list { list-style: none; margin: 0; padding: 0; }
.account-list li { display: grid; justify-items: start; padding: 8px 0; border-bottom: 1px solid var(--border); }
.account-list li:last-child { padding-bottom: 0; border-bottom: 0; }
.account-list a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.account-list .account-gift-link { color: var(--rose-deep); font-size: 14px; }
@media (max-width: 560px) {
  .nav { gap: 10px; padding-inline: 12px; }
  .nav .brand { gap: 4px; font-size: 16px; }
  .nav .brand svg { width: 30px; }
  .nav-links { gap: 10px; white-space: nowrap; }
  .nav-links .keep { display: inline-flex; align-items: center; min-height: 44px; }
  .nav-cta { min-height: 44px; padding-inline: 12px; }
  .account-actions > :first-child { flex: 1; }
}

/* Package comparison: matching categories and rows across all gift formats. */
.pkg-grid { gap: 20px; align-items: stretch; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pkg-card { min-width: 0; padding: 28px 24px 20px; border-radius: 22px; background: #fff; cursor: default; }
.pkg-card:hover { transform: none; }
.pkg-card.active { background: #fff; border-color: var(--rose); box-shadow: 0 0 0 1px var(--rose); }
button.pkg-card, #pkgList .pkg-card { cursor: pointer; }
button.pkg-card { appearance: none; display: block; width: 100%; text-align: left; }
.pkg-card:focus-visible { outline: 3px solid var(--rose); outline-offset: 4px; }
.pkg-title-row { display: flex; align-items: center; gap: 8px; min-height: 32px; flex-wrap: wrap; }
.pkg-label { font-family: var(--sans); font-size: 22px; font-weight: 650; line-height: 1.4; }
.pkg-card .pkg-badge { position: static; font-size: 11px; background: #fbe8eb; color: #a32d40; box-shadow: none; padding: 3px 10px; }
.pkg-summary { margin: 12px 0 16px; color: var(--ink-2); font-size: 14px; line-height: 1.6; min-height: 23px; }
.pkg-price { display: flex; gap: 4px; align-items: baseline; color: var(--ink); font-family: var(--sans); margin: 12px 0 22px; }
.pkg-card .pkg-price b { font-family: var(--sans); color: var(--ink); font-size: 50px; font-weight: 650; line-height: 1; letter-spacing: -2px; }
.pkg-currency { font-size: 24px; align-self: flex-start; padding-top: 3px; }
.pkg-unit { font-size: 13px; color: var(--muted); margin-left: 5px; }
.pkg-action { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 46px; padding: 10px 14px; border-radius: 12px; background: #252020; border: 1px solid #252020; color: #fff; font-family: var(--sans); font-size: 14px; font-weight: 600; text-decoration: none; box-sizing: border-box; }
.pkg-card.active .pkg-action { background: var(--rose); border-color: var(--rose); }
.pkg-action:hover { color: #fff; filter: brightness(1.12); }
.pkg-benefit-group { border-top: 1px solid #eee8e3; margin-top: 22px; padding-top: 18px; }
.pkg-benefit-group h3 { font-family: var(--sans); color: var(--ink); font-size: 13px; font-weight: 650; margin: 0 0 10px; line-height: 1.6; letter-spacing: .04em; }
.pkg-benefit-group dl { margin: 0; }
.pkg-benefit-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 8px; align-items: center; min-height: 42px; font-size: 12.5px; line-height: 1.6; }
.pkg-benefit-row dt { color: var(--ink-2); }
.pkg-benefit-row dd { margin: 0; text-align: right; color: var(--ink); font-weight: 550; overflow-wrap: anywhere; }
.pkg-benefit-row.is-unavailable dd { color: #b6aaa4; font-weight: 400; }
.create-wrap:has(.pkg-step) { max-width: 1140px; }
.checkout-wrap:has(.pkg-grid) { max-width: 1180px; }
@media (min-width: 961px) {
  .pkg-benefit-row { min-height: 44px; }
  .pkg-title-row { flex-wrap: nowrap; }
}
@media (min-width: 621px) and (max-width: 960px) {
  .pkg-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .pkg-card { padding: 22px 14px 16px; }
  .pkg-title-row { min-height: 64px; align-content: start; }
  .pkg-label { font-size: 19px; }
  .pkg-summary { min-height: 46px; }
  .pkg-benefit-row { min-height: 60px; }
}
@media (max-width: 620px) {
  .pkg-grid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .pkg-card { padding: 24px 22px; }
  .pkg-card .pkg-price b { font-size: 46px; }
  .pkg-benefit-row { min-height: 40px; font-size: 13px; }
}

/* Four tiers: compare all formats on desktop, two at tablet size. */
#price > .wrap { max-width: 1360px; }
#price .pkg-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
#price .pkg-title-row { min-height: 68px; flex-wrap: wrap; align-content: start; }
#price .pkg-label { font-size: 21px; }
#price .pkg-summary { min-height: 46px; }
#price .pkg-benefit-row { min-height: 50px; }
#price .pkg-card { padding: 26px 20px 20px; }
@media (min-width: 621px) and (max-width: 1100px) {
  #price .pkg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  #price .pkg-grid { grid-template-columns: minmax(0, 1fr); }
  #price .pkg-title-row { min-height: 32px; }
  #price .pkg-summary { min-height: 23px; }
}

/* Keep the MV option alongside other packages throughout the selection flow. */
.create-wrap:has(.pkg-step), .checkout-wrap:has(.pkg-grid) { max-width: 1360px; }
.pkg-step .pkg-grid, #pkgList { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.pkg-step .pkg-title-row, #pkgList .pkg-title-row { min-height: 68px; flex-wrap: wrap; align-content: start; }
.pkg-step .pkg-label, #pkgList .pkg-label { font-size: 21px; }
.pkg-step .pkg-summary, #pkgList .pkg-summary { min-height: 46px; }
.pkg-step .pkg-benefit-row, #pkgList .pkg-benefit-row { min-height: 50px; }
.pkg-step .pkg-card, #pkgList .pkg-card { padding: 26px 20px 20px; }
@media (min-width: 621px) and (max-width: 1100px) {
  .pkg-step .pkg-grid, #pkgList { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .pkg-step .pkg-grid, #pkgList { grid-template-columns: minmax(0, 1fr); }
  .pkg-step .pkg-title-row, #pkgList .pkg-title-row { min-height: 32px; }
  .pkg-step .pkg-summary, #pkgList .pkg-summary { min-height: 23px; }
}

/* ============================================================
   品牌Logo（VIS2）：页头/页脚统一使用正式Logo原图（薄荷绿小鸟）。
   仅品牌 Logo 布局规则；固定尺寸 + object-fit:contain，完整显示不裁切不变形。
   ============================================================ */
.brand-logo { width: 40px; height: 40px; object-fit: contain; flex: none; display: block; border-radius: 0; }
.brand-text { display: inline-flex; flex-direction: column; gap: 1px; line-height: 1.25; letter-spacing: .02em; text-transform: none; font-family: inherit; }
.brand-text .brand-name { font-size: 16px; font-weight: 700; color: var(--ink); white-space: nowrap; }
.brand-text .brand-sub { font-size: 10.5px; font-weight: 400; color: var(--muted); white-space: nowrap; }
.foot-brand-row { display: flex; align-items: center; gap: 16px; }
.foot-logo { width: 72px; height: 72px; object-fit: contain; flex: none; display: block; border-radius: 0; }
@media (max-width: 640px) {
  .brand-logo { width: 34px; height: 34px; }
  .brand-text .brand-name { font-size: 15px; }
  .foot-logo { width: 60px; height: 60px; }
}
