/* ============================================================
   双皮肤矩阵主题系统：
   - data-theme="warm"  : 暖杏奶油文艺风（复刻图 1）
   - data-theme="vinyl" : 黑胶胶片杂志风（复刻图 3）
   ============================================================ */

:root,
html[data-theme="warm"] {
  --bg: #faf6f1;
  --bg-alt: #f3ebe1;
  --surface: #ffffff;
  --surface-soft: #fcf9f5;
  --ink: #1f1a17;
  --ink-secondary: #685e56;
  --ink-muted: #93887f;
  --border: rgba(31, 26, 23, 0.08);
  --border-strong: rgba(31, 26, 23, 0.16);
  --accent: #d96240;
  --accent-hover: #c15030;
  --accent-soft: rgba(217, 98, 64, 0.11);
  --nav-bg: rgba(250, 246, 241, 0.84);
  --card-shadow: 0 2px 6px rgba(60, 40, 20, 0.04), 0 18px 40px rgba(60, 40, 20, 0.06);
  --font-serif: "Songti SC", "Noto Serif SC", "Source Han Serif SC", "STSong", Georgia, serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --radius-lg: 20px;
  --radius-md: 12px;
}

html[data-theme="vinyl"] {
  --bg: #161514;
  --bg-alt: #1f1d1b;
  --surface: #22201e;
  --surface-soft: #1b1a18;
  --ink: #f4efe8;
  --ink-secondary: #b9b0a6;
  --ink-muted: #847c74;
  --border: rgba(244, 239, 232, 0.1);
  --border-strong: rgba(244, 239, 232, 0.2);
  --accent: #d45a38;
  --accent-hover: #bf4a2a;
  --accent-soft: rgba(212, 90, 56, 0.18);
  --nav-bg: rgba(22, 21, 20, 0.84);
  --card-shadow: 0 10px 34px rgba(0, 0, 0, 0.35);
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  overflow-x: hidden;
}

.hidden {
  display: none !important;
}

html[data-theme="warm"] .only-vinyl {
  display: none !important;
}

html[data-theme="vinyl"] .only-warm {
  display: none !important;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==================== 导航栏 ==================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--nav-bg);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  border-bottom: 1px solid var(--border);
}

.navbar-inner {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}

.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.brand-text strong {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-text small {
  font-size: 12px;
  color: var(--ink-muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 14px;
}

.nav-links > a {
  color: var(--ink-secondary);
  text-decoration: none;
  transition: color 0.15s;
}

.nav-links > a:hover {
  color: var(--ink);
}

.theme-switcher {
  display: inline-flex;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 99px;
  padding: 2px;
  gap: 2px;
}

.theme-pill {
  border: none;
  background: transparent;
  color: var(--ink-secondary);
  font-size: 12px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 99px;
  cursor: pointer;
  transition: all 0.15s;
}

.theme-pill.active {
  background: var(--surface);
  color: var(--ink);
  font-weight: 600;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.nav-cta {
  padding: 7px 14px;
  border-radius: 99px;
  border: 1px solid var(--border-strong);
  background: transparent;
  color: var(--ink) !important;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}

.nav-cta:hover {
  border-color: var(--accent);
  color: var(--accent) !important;
}

/* ==================== 按钮与通用标签 ==================== */
.kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.btn-cta,
.btn-primary,
.btn-ghost,
.btn-subtle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.16s ease;
}

.btn-cta {
  min-height: 46px;
  padding: 0 26px;
  border-radius: 99px;
  border: none;
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 20px rgba(217, 98, 64, 0.25);
}

.btn-cta:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.btn-ghost {
  min-height: 46px;
  padding: 0 20px;
  border-radius: 99px;
  border: 1px solid var(--border-strong);
  background: transparent;
  color: var(--ink);
}

.btn-ghost:hover {
  background: var(--surface);
}

.btn-primary {
  min-height: 46px;
  padding: 0 22px;
  border-radius: var(--radius-md);
  border: none;
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-hover);
}

.btn-primary:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.btn-subtle {
  min-height: 36px;
  padding: 0 14px;
  border-radius: 9px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
}

.btn-subtle:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-link {
  background: none;
  border: none;
  color: var(--accent);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  padding: 0;
}

.btn-link:hover {
  text-decoration: underline;
}

.muted {
  color: var(--ink-secondary);
  font-size: 13px;
}

/* ==================== 皮肤 1：暖杏奶油 + 7 张经典专辑墙 ==================== */
.hero-warm {
  position: relative;
  padding: 64px 0 78px;
  overflow: hidden;
  background-image:
    linear-gradient(to right, rgba(31, 26, 23, 0.028) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(31, 26, 23, 0.028) 1px, transparent 1px);
  background-size: 64px 64px;
}

.hero-warm-glow {
  position: absolute;
  top: -120px;
  right: -80px;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(235, 166, 134, 0.28) 0%, rgba(250, 246, 241, 0) 68%);
  pointer-events: none;
}

.hero-warm-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 44px;
}

.eyebrow-pill {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 5px 14px;
  border-radius: 99px;
  margin-bottom: 20px;
}

.editorial-h1 {
  font-family: var(--font-serif);
  font-size: 46px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 18px;
}

.hero-desc {
  font-size: 15px;
  color: var(--ink-secondary);
  max-width: 470px;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

.trust-inline {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 13px;
  color: var(--ink-secondary);
  flex-wrap: wrap;
}

.trust-inline span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.trust-inline svg {
  color: var(--accent);
}

/* 7 张专辑倾斜拼贴墙 */
.album-collage {
  position: relative;
  height: 410px;
  width: 100%;
  max-width: 490px;
  margin-left: auto;
}

.album-card {
  position: absolute;
  width: 146px;
  height: 146px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 14px 32px rgba(55, 35, 20, 0.18), 0 2px 6px rgba(55, 35, 20, 0.08);
  border: 2px solid rgba(255, 255, 255, 0.65);
  transition: transform 0.25s ease, z-index 0.1s;
}

.album-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.album-card:hover {
  z-index: 20 !important;
  transform: scale(1.06) rotate(0deg) !important;
}

.album-card.c1 { top: 4px; left: 56px; transform: rotate(-5deg); z-index: 2; }
.album-card.c2 { top: 18px; left: 222px; transform: rotate(6deg); z-index: 3; }
.album-card.c3 { top: 128px; left: 8px; width: 138px; height: 138px; transform: rotate(4deg); z-index: 4; }
.album-card.c4 { top: 120px; left: 146px; width: 154px; height: 154px; transform: rotate(-3deg); z-index: 6; }
.album-card.c5 { top: 128px; left: 310px; width: 142px; height: 142px; transform: rotate(5deg); z-index: 5; }
.album-card.c6 { top: 248px; left: 68px; transform: rotate(-6deg); z-index: 7; }
.album-card.c7 { top: 242px; left: 234px; transform: rotate(4deg); z-index: 8; }

/* ==================== 皮肤 2：黑胶胶片杂志风 ==================== */
.hero-vinyl {
  position: relative;
  min-height: 540px;
  display: flex;
  align-items: center;
  padding: 72px 0 64px;
  background: #141312;
  overflow: hidden;
  border-bottom: 1px solid rgba(244, 239, 232, 0.08);
}

.hero-vinyl-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(16, 15, 14, 0.94) 0%, rgba(16, 15, 14, 0.72) 48%, rgba(16, 15, 14, 0.25) 100%),
    linear-gradient(180deg, rgba(16, 15, 14, 0.2) 0%, rgba(16, 15, 14, 0.88) 100%),
    url('/covers/vinyl-hero.jpg') center right / cover no-repeat;
  filter: contrast(1.06);
}

.hero-vinyl-inner {
  position: relative;
  z-index: 2;
  width: 100%;
}

.vinyl-top-quote {
  position: absolute;
  top: 0;
  right: 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 16px;
  line-height: 1.6;
  color: #e67c5c;
  text-align: right;
  transform: rotate(-3deg);
}

.vinyl-copy {
  max-width: 480px;
}

.vinyl-h1 {
  font-family: var(--font-serif);
  font-size: 52px;
  font-weight: 700;
  line-height: 1.16;
  color: #f7f3ed;
  margin-bottom: 20px;
}

.vinyl-accent-underline {
  position: relative;
  display: inline-block;
}

.vinyl-accent-underline::after {
  content: '';
  position: absolute;
  left: -4px;
  right: -4px;
  bottom: 2px;
  height: 6px;
  background: var(--accent);
  opacity: 0.85;
  transform: rotate(-1.5deg);
  z-index: -1;
}

.vinyl-desc {
  font-size: 15px;
  color: rgba(244, 239, 232, 0.78);
  margin-bottom: 28px;
}

.vinyl-bridge-card {
  margin-top: 40px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.bridge-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(24, 22, 20, 0.76);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  padding: 10px 12px;
}

.bridge-app-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
}

.bridge-meta strong {
  display: block;
  font-size: 13px;
  color: #fff;
}

.bridge-meta span {
  display: block;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.62);
}

.bridge-cover {
  width: 40px;
  height: 40px;
  border-radius: 7px;
  object-fit: cover;
  margin-left: 6px;
}

.bridge-arrow {
  color: rgba(255, 255, 255, 0.55);
  font-size: 15px;
  letter-spacing: 2px;
}

/* ==================== 平台矩阵带 ==================== */
.platforms-band {
  padding: 36px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface-soft);
}

html[data-theme="vinyl"] .platforms-band {
  background: #ede8df;
  color: #1f1a17;
}

html[data-theme="vinyl"] .platforms-band .platforms-intro p,
html[data-theme="vinyl"] .platforms-band .plat-tag {
  color: #6b625a;
}

html[data-theme="vinyl"] .platforms-band .plat-tile {
  background: #ffffff;
  color: #1f1a17;
  border-color: rgba(31, 26, 23, 0.08);
}

.platforms-band-inner {
  display: grid;
  grid-template-columns: 240px 1fr;
  align-items: center;
  gap: 28px;
}

.platforms-intro h2 {
  font-family: var(--font-serif);
  font-size: 24px;
  margin-bottom: 6px;
}

.platforms-intro p {
  font-size: 13px;
  color: var(--ink-secondary);
}

.plat-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.plat-tile {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: var(--ink);
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.plat-tile:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.plat-soon {
  opacity: 0.62;
  cursor: default;
}

.plat-soon:hover {
  transform: none;
  border-color: var(--border);
  box-shadow: none;
}

.plat-icon-img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: cover;
  margin-bottom: 9px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.plat-icon-doc {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #272320;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 9px;
}

.plat-title {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 2px;
}

.plat-tag {
  font-size: 11px;
  color: var(--ink-muted);
}

/* ==================== 在线工作台 ==================== */
.workspace-sec {
  padding: 56px 0;
}

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

.sec-head-inline h2,
.sec-head h2 {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 700;
}

.quota-chip {
  font-size: 12px;
  color: var(--ink-secondary);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  padding: 6px 12px;
  border-radius: 99px;
}

.alert {
  border-radius: var(--radius-md);
  padding: 12px 16px;
  margin-bottom: 16px;
  font-size: 14px;
}

.alert.error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
}

.alert.success {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #15803d;
}

.sheet {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--card-shadow);
  overflow: hidden;
}

.sheet-section {
  padding: 26px 28px;
  border-bottom: 1px solid var(--border);
}

.sheet-section:last-child {
  border-bottom: none;
}

.smart-bar-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.smart-platforms-hint {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--ink-secondary);
}

.mini-icons {
  display: inline-flex;
  align-items: center;
}

.mini-icons img {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  object-fit: cover;
  border: 1.5px solid var(--surface);
  margin-left: -5px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
}

.mini-icons img:first-child {
  margin-left: 0;
}

.detected-badge {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 4px 12px;
  border-radius: 99px;
}

.helper-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.sep-dot {
  color: var(--ink-muted);
}

.text-drawer {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px dashed var(--border-strong);
}

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

.text-input,
.text-area {
  width: 100%;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--ink);
  font-size: 15px;
  outline: none;
  transition: border-color 0.15s, background 0.15s;
}

.text-input {
  height: 46px;
  padding: 0 14px;
}

.text-area {
  padding: 12px 14px;
  font-family: inherit;
  resize: vertical;
}

.text-input:focus,
.text-area:focus {
  background: var(--surface);
  border-color: var(--accent);
}

.field-label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-secondary);
  margin-bottom: 6px;
}

.text-top-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.field-grow {
  flex: 1;
  min-width: 200px;
}

.file-col {
  min-width: 200px;
}

.file-input {
  font-size: 13px;
  color: var(--ink-secondary);
  padding: 10px 0;
}

.helper-row {
  margin-top: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--ink-muted);
  flex-wrap: wrap;
}

.inline-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--bg-alt);
  padding: 16px 18px;
  border-radius: var(--radius-md);
  flex-wrap: wrap;
}

.inline-callout strong {
  display: block;
  font-size: 14px;
  margin-bottom: 2px;
}

.account-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  background: var(--accent-soft);
  border-radius: var(--radius-md);
  font-size: 13px;
  margin-bottom: 12px;
}

.playlist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
}

.pl-item-btn {
  text-align: left;
  background: var(--bg-alt);
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 12px;
  color: var(--ink);
  cursor: pointer;
}

.pl-item-btn:hover {
  border-color: var(--accent);
}

.pl-item-name {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 2px;
}

/* 歌单预览表 */
.pl-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.pl-cover,
.pl-cover-fallback {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  flex-shrink: 0;
}

.pl-cover {
  object-fit: cover;
  border: 1px solid var(--border);
}

.pl-cover-fallback {
  background: var(--bg-alt);
  color: var(--ink-secondary);
  display: grid;
  place-items: center;
}

.pl-meta {
  flex: 1;
  min-width: 180px;
}

.pl-title-input {
  width: 100%;
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 4px 6px;
  margin: -4px -6px 2px;
  outline: none;
}

.pl-title-input:hover,
.pl-title-input:focus {
  background: var(--bg-alt);
  border-color: var(--border-strong);
}

.pl-export-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.quality-strip {
  margin-top: 6px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 11px;
}

.q-pill {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  color: var(--ink-secondary);
  padding: 2px 8px;
  border-radius: 99px;
}

.q-pill.accent {
  background: var(--accent-soft);
  border-color: transparent;
  color: var(--accent);
  font-weight: 600;
}

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

.recent-chip {
  border: 1px solid var(--border);
  background: var(--bg-alt);
  color: var(--ink-secondary);
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 99px;
  cursor: pointer;
  max-width: 210px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.recent-chip:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.track-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.toolbar-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.order-badge {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-secondary);
}

.order-toggle {
  display: inline-flex;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2px;
  gap: 2px;
}

.order-btn {
  border: none;
  background: transparent;
  color: var(--ink-secondary);
  font-size: 12px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s;
}

.order-btn.active {
  background: var(--surface);
  color: var(--ink);
  font-weight: 600;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

.batch-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.batch-label {
  font-size: 12px;
  color: var(--ink-muted);
  margin-right: 2px;
}

.batch-btn {
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--ink-secondary);
  font-size: 12px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 99px;
  cursor: pointer;
  transition: all 0.15s;
}

.batch-btn:hover,
.batch-btn.active {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}

.table-wrap {
  max-height: 340px;
  overflow-y: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.track-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.track-table th,
.track-table td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.track-table thead th {
  position: sticky;
  top: 0;
  background: var(--surface-soft);
  color: var(--ink-muted);
  font-size: 12px;
  font-weight: 600;
}

.track-table input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--accent);
  cursor: pointer;
}

.transfer-section {
  background: var(--surface-soft);
}

.transfer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.exp-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 2px 8px;
  border-radius: 6px;
  margin-right: 8px;
}

.notice-box {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  font-size: 13px;
  color: var(--ink-secondary);
}

.progress-area {
  margin-top: 18px;
}

.progress-meta {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--ink-secondary);
  margin-bottom: 8px;
}

.progress-track {
  height: 6px;
  background: var(--border);
  border-radius: 99px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 99px;
  transition: width 0.25s ease;
}

.result-area {
  margin-top: 18px;
}

.result-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: var(--accent-soft);
  border: 1px solid rgba(217, 98, 64, 0.25);
  border-radius: 14px;
  padding: 18px 20px;
  flex-wrap: wrap;
}

.result-card h3 {
  font-size: 16px;
  margin-bottom: 4px;
}

.result-card p {
  font-size: 13px;
  color: var(--ink-secondary);
}

.result-tip {
  margin-top: 4px;
  font-size: 12px !important;
  opacity: 0.9;
}

.unmatched-box {
  margin-top: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
}

.unmatched-box h4 {
  font-size: 12px;
  color: var(--ink-secondary);
}

.unmatched-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.btn-dedupe {
  border: 1px solid var(--accent);
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 99px;
  cursor: pointer;
}

.profile-pl-box {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px dashed var(--border-strong);
}

.profile-pl-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.promo-hook-card {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  padding: 16px 18px;
  flex-wrap: wrap;
}

.promo-hook-body {
  flex: 1;
  min-width: 220px;
}

.promo-hook-body h4 {
  font-size: 15px;
  margin: 6px 0 4px;
}

.promo-hook-body p {
  font-size: 13px;
  color: var(--ink-secondary);
}

.promo-hook-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.coupon-pill {
  font-size: 12px;
  color: var(--ink);
  background: var(--bg-alt);
  border: 1px dashed var(--accent);
  padding: 7px 12px;
  border-radius: 10px;
}

.import-guide-bar {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  font-size: 12px;
  color: var(--ink-secondary);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.import-guide-bar strong {
  color: var(--ink);
}

.unmatched-box ul {
  padding-left: 18px;
  max-height: 150px;
  overflow-y: auto;
  font-size: 13px;
}

/* ==================== 三步流程区 ==================== */
.steps-sec {
  padding: 48px 0;
}

.warm-steps-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: 20px;
}

.warm-step-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.warm-step h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}

.warm-step p {
  font-size: 13px;
  color: var(--ink-secondary);
}

.warm-step-arrow {
  padding-top: 14px;
  color: var(--ink-muted);
  font-size: 18px;
}

/* 黑胶皮肤三步 */
.vinyl-journey-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
}

.vinyl-journey-left h2 {
  font-family: var(--font-serif);
  font-size: 36px;
  line-height: 1.2;
  margin-bottom: 14px;
}

.vinyl-journey-left p {
  font-size: 14px;
  color: var(--ink-secondary);
  margin-bottom: 24px;
}

.vinyl-film-frame {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--card-shadow);
}

.vinyl-film-frame img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
}

.vinyl-journey-right {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.vj-item {
  display: flex;
  gap: 18px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border);
}

.vj-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.vj-num {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  flex-shrink: 0;
}

.vj-item h3 {
  font-size: 17px;
  margin-bottom: 6px;
}

.vj-item p {
  font-size: 13px;
  color: var(--ink-secondary);
}

/* ==================== 免费承诺 + 主站轻推荐 ==================== */
.promise-sec {
  padding: 20px 0 56px;
}

.promise-box {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: center;
}

.promise-left h2 {
  font-family: var(--font-serif);
  font-size: 26px;
  margin-bottom: 10px;
}

.promise-left p {
  font-size: 14px;
  color: var(--ink-secondary);
  margin-bottom: 18px;
}

.promise-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

.promise-right {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
}

.shop-mini-kicker {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 6px;
}

.promise-right h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.promise-right p {
  font-size: 13px;
  color: var(--ink-secondary);
  margin-bottom: 18px;
}

/* ==================== FAQ 杂志风折叠区 ==================== */
.faq-sec {
  padding: 48px 0 64px;
  border-top: 1px solid var(--border);
}

.faq-grid {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 36px;
}

.faq-left h2 {
  font-family: var(--font-serif);
  font-size: 30px;
}

.faq-list details {
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}

.faq-list summary {
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.faq-list summary::after {
  content: '+';
  font-size: 18px;
  color: var(--accent);
  font-weight: 400;
}

.faq-list details[open] summary::after {
  content: '−';
}

.faq-list details p {
  margin-top: 10px;
  font-size: 13px;
  color: var(--ink-secondary);
  line-height: 1.7;
}

/* ==================== 页脚 & 回顶按钮 ==================== */
.footer {
  border-top: 1px solid var(--border);
  padding: 24px 0 calc(24px + env(safe-area-inset-bottom));
  font-size: 12px;
  color: var(--ink-muted);
}

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

.footer-inner a {
  color: var(--ink-secondary);
  text-decoration: none;
}

.back-top {
  position: fixed;
  right: 22px;
  bottom: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: var(--ink);
  color: var(--bg);
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  z-index: 60;
}

/* ==================== 手机端 & 平板全响应式 ==================== */
@media (max-width: 900px) {
  .hero-warm-grid,
  .platforms-band-inner,
  .vinyl-journey-grid,
  .promise-box,
  .faq-grid {
    grid-template-columns: 1fr;
  }

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

  .album-collage {
    margin: 0 auto;
    height: 330px;
    max-width: 360px;
  }

  .album-card {
    width: 112px;
    height: 112px;
  }

  .album-card.c1 { top: 4px; left: 26px; }
  .album-card.c2 { top: 14px; left: 162px; }
  .album-card.c3 { top: 96px; left: 2px; width: 106px; height: 106px; }
  .album-card.c4 { top: 92px; left: 110px; width: 118px; height: 118px; }
  .album-card.c5 { top: 100px; left: 234px; width: 108px; height: 108px; }
  .album-card.c6 { top: 196px; left: 42px; }
  .album-card.c7 { top: 192px; left: 174px; }

  .warm-steps-grid {
    grid-template-columns: 1fr;
  }

  .warm-step-arrow {
    display: none;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 16px;
  }

  .hide-sm,
  .brand-text small,
  .vinyl-top-quote {
    display: none;
  }

  .nav-links {
    gap: 8px;
  }

  .nav-cta {
    padding: 6px 10px;
    font-size: 12px;
  }

  .hero-warm {
    padding: 36px 0 44px;
  }

  .editorial-h1,
  .vinyl-h1 {
    font-size: 32px;
  }

  .hero-vinyl {
    min-height: 440px;
    padding: 48px 0 40px;
  }

  .vinyl-bridge-card {
    margin-top: 24px;
    width: 100%;
  }

  .bridge-pill {
    flex: 1;
    min-width: 240px;
  }

  .bridge-arrow {
    display: none;
  }

  .plat-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .workspace-sec {
    padding: 36px 0;
  }

  .sheet-section {
    padding: 18px 16px;
  }

  .segmented {
    width: 100%;
  }

  .seg-btn {
    flex: 1;
    padding: 8px 6px;
    font-size: 12px;
    text-align: center;
  }

  .input-row {
    flex-direction: column;
  }

  .btn-primary,
  .hero-actions .btn-cta,
  .hero-actions .btn-ghost,
  .promise-right .btn-cta {
    width: 100%;
  }

  .pl-export-actions {
    width: 100%;
  }

  .pl-export-actions .btn-subtle {
    flex: 1;
  }

  .col-album {
    display: none;
  }

  .promise-box {
    padding: 20px 16px;
  }

  .result-card {
    flex-direction: column;
    align-items: stretch;
  }
}
