/* ============================================================
   轻拾 Declutter — 产品官网共享样式
   Lumo 风格：白底 / 轻柔天蓝 / 红删除 / 柔和圆角
   ============================================================ */

:root {
  --bg: #f7f7f8;
  --surface: #ffffff;
  --surface-soft: #f0f0f2;
  --hairline: #e5e5ea;
  --label: #1c1c1e;
  --label-2: #8e8e93;
  --label-3: #aeaeb2;
  /* 轻蓝色主色：比系统蓝更淡、更柔，不抢眼 */
  --keep: #6eb5f0;
  --keep-hover: #82c1f4;
  --keep-deep: #4f9fd9;          /* 正文/链接稍深一点，保证可读 */
  --keep-soft: rgba(110, 181, 240, 0.14);
  --keep-glow: rgba(110, 181, 240, 0.22);
  --trash: #ff3b30;
  --trash-soft: rgba(255, 59, 48, 0.10);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.10);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro SC", "PingFang SC",
    "Microsoft YaHei", "Noto Sans SC", "Segoe UI", Roboto, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--label);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--keep-deep); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* ---------------- 顶部导航 ---------------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--hairline);
}

.nav { display: flex; align-items: center; justify-content: space-between; height: 60px; }

.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; color: var(--label); }
.brand:hover { text-decoration: none; }

.brand-mark {
  width: 32px; height: 32px; border-radius: 9px;
  overflow: hidden; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.16);
}
.brand-mark img { width: 100%; height: 100%; display: block; }

.brand-en { color: var(--label-3); font-weight: 600; font-size: 14px; margin-left: 2px; }

.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { color: var(--label-2); font-size: 15px; font-weight: 500; }
.nav-links a:hover { color: var(--label); text-decoration: none; }
.nav-links a.active { color: var(--keep-deep); }

.nav-cta {
  background: var(--keep); color: #fff !important;
  padding: 8px 18px; border-radius: 999px; font-weight: 600;
  box-shadow: 0 4px 12px var(--keep-glow);
}
.nav-cta:hover { background: var(--keep-hover); }

.nav-toggle { display: none; background: none; border: 0; font-size: 22px; cursor: pointer; color: var(--label); }

/* ---------------- 通用区块 ---------------- */

section { padding: 72px 0; }

.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-head .kicker {
  display: inline-block; font-size: 13px; font-weight: 600; color: var(--keep-deep);
  background: var(--keep-soft); padding: 5px 14px; border-radius: 999px; margin-bottom: 14px;
}
.section-head h2 { font-size: 30px; font-weight: 800; letter-spacing: -0.02em; }
.section-head p { color: var(--label-2); margin-top: 10px; font-size: 16px; }

/* ---------------- Hero ---------------- */

.hero {
  position: relative; overflow: hidden;
  padding: 96px 0 80px;
  background:
    radial-gradient(600px 320px at 85% -10%, rgba(110, 181, 240, 0.16), transparent 60%),
    radial-gradient(520px 300px at 8% 20%, rgba(110, 181, 240, 0.08), transparent 55%),
    var(--bg);
}

.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center; }

.hero h1 { font-size: 46px; line-height: 1.2; font-weight: 800; letter-spacing: -0.03em; }
.hero h1 .hl { color: var(--keep-deep); }
.hero .sub { margin-top: 18px; color: var(--label-2); font-size: 18px; max-width: 460px; }

.hero-actions { margin-top: 32px; display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px;
  font-weight: 600; font-size: 16px; border: 0; cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary {
  background: var(--keep); color: #fff;
  box-shadow: 0 8px 20px var(--keep-glow);
}
.btn-primary:hover {
  background: var(--keep-hover);
  box-shadow: 0 12px 26px rgba(110, 181, 240, 0.30);
}
.btn-ghost { background: var(--surface); color: var(--label); border: 1px solid var(--hairline); }

.hero-note { margin-top: 16px; font-size: 13px; color: var(--label-3); }

/* --- Hero 演示机占位（详细样式见下方「交互式演示」） --- */
.demo-hint {
  margin-top: 18px; text-align: center; color: var(--label-3); font-size: 14px;
}
.demo-hint b { color: var(--keep-deep); }
.demo-hint .red { color: var(--trash); }

/* ---------------- 功能网格 ---------------- */

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

.tile {
  background: var(--surface); border-radius: var(--radius-lg);
  padding: 28px; border: 1px solid var(--hairline);
  box-shadow: var(--shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.tile .ico {
  width: 46px; height: 46px; border-radius: 14px;
  display: grid; place-items: center; margin-bottom: 16px;
}
.tile .ico img,
.f-ico img,
.promise .big img { width: 26px; height: 26px; display: block; color: #3a3a3c; }
/* 外链 SVG 不吃 currentColor：统一用深灰描边观感（图标本身已是 stroke） */
.ico-blue { background: var(--keep-soft); }
.ico-red { background: var(--trash-soft); }
.ico-gray { background: var(--surface-soft); }
.ico-dark {
  background: linear-gradient(135deg, #5a6b7a, #7a8b9a);
}
.ico-dark img { filter: brightness(0) invert(1); opacity: 0.95; }

.tile h3 { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.tile p { font-size: 14px; color: var(--label-2); }

/* ---------------- 桌宠陪伴 ---------------- */

.pets {
  background: linear-gradient(180deg, var(--bg), rgba(110, 181, 240, 0.06) 40%, var(--bg));
}

.pets-row { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }

.pets-visual {
  background: var(--surface); border-radius: var(--radius-lg);
  border: 1px solid var(--hairline); box-shadow: var(--shadow);
  padding: 32px 28px; text-align: center;
}
.pets-faces { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.pet-face {
  background: var(--surface-soft); border-radius: var(--radius-md);
  padding: 14px 8px 12px; text-align: center;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.pet-face:hover { transform: translateY(-3px); box-shadow: var(--shadow); background: var(--surface); }
.pet-face img { width: 100%; max-width: 92px; margin: 0 auto; }
.pet-face b { font-size: 13px; display: block; margin-top: 8px; }
.pet-face span { font-size: 11px; color: var(--label-3); display: block; }
.pets-visual h3 { font-size: 20px; font-weight: 800; margin-top: 22px; }
.pets-visual > p { color: var(--label-2); font-size: 14px; margin-top: 8px; }

.pets-list { display: flex; flex-direction: column; gap: 18px; }
.pets-list li { display: flex; gap: 14px; align-items: flex-start; list-style: none; }
.pets-list .dot {
  flex: 0 0 34px; height: 34px; border-radius: 50%;
  background: linear-gradient(135deg, var(--keep), #a8d8f8);
  margin-top: 2px;
}
.pets-list b { font-size: 15px; }
.pets-list span { font-size: 14px; color: var(--label-2); display: block; }

/* ---------------- 隐私承诺 ---------------- */

.promise-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

.promise {
  background: var(--surface); border-radius: var(--radius-lg);
  padding: 30px; border: 1px solid var(--hairline); text-align: center;
}
.promise .big {
  width: 48px; height: 48px; margin: 0 auto; border-radius: 14px;
  display: grid; place-items: center; background: var(--surface-soft);
}
.promise .big img { width: 26px; height: 26px; display: block; }
.promise h3 { font-size: 17px; margin: 12px 0 6px; }
.promise p { font-size: 14px; color: var(--label-2); }

/* ---------------- CTA ---------------- */

.cta {
  background: linear-gradient(135deg, #6eb5f0, #8ec8f5);
  border-radius: 32px; padding: 64px 40px; text-align: center; color: #fff;
  box-shadow: 0 16px 40px rgba(110, 181, 240, 0.28);
}
.cta h2 { font-size: 32px; font-weight: 800; letter-spacing: -0.02em; }
.cta p { margin: 12px auto 28px; opacity: 0.92; max-width: 420px; }
.cta .btn { background: #fff; color: var(--keep-deep); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.10); }
.cta .btn:hover { transform: translateY(-2px); }
.cta .meta { margin-top: 16px; font-size: 13px; opacity: 0.75; }

/* ---------------- 页脚 ---------------- */

.site-footer { border-top: 1px solid var(--hairline); padding: 40px 0 32px; margin-top: 40px; }
.footer-row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; }
.footer-row .brand { font-size: 16px; }
.footer-links { display: flex; gap: 22px; font-size: 14px; color: var(--label-2); }
.footer-links a { color: var(--label-2); }
.footer-links a:hover { color: var(--label); }
.footer-copy { margin-top: 14px; font-size: 12px; color: var(--label-3); }

/* ---------------- 功能详情页 ---------------- */

.page-hero { padding: 64px 0 24px; text-align: center; }
.page-hero h1 { font-size: 38px; font-weight: 800; letter-spacing: -0.03em; }
.page-hero p { color: var(--label-2); margin-top: 10px; max-width: 560px; margin-left: auto; margin-right: auto; }

.feature-block {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 40px; align-items: center;
  background: var(--surface); border: 1px solid var(--hairline);
  border-radius: var(--radius-lg); padding: 40px; margin-bottom: 26px;
  box-shadow: var(--shadow);
}
.feature-block .f-ico {
  width: 72px; height: 72px; border-radius: 20px; display: grid; place-items: center;
  font-size: 34px; margin-bottom: 16px;
}
.feature-block .f-ico img { width: 36px; height: 36px; }
.feature-block h2 { font-size: 24px; font-weight: 800; }
.feature-block .lead { color: var(--label-2); margin: 8px 0 16px; }
.feature-block ul { padding-left: 4px; }
.feature-block li { list-style: none; padding: 7px 0 7px 28px; position: relative; font-size: 15px; color: var(--label); }
.feature-block li::before { content: "✓"; position: absolute; left: 0; color: var(--keep-deep); font-weight: 700; }

.f-card-visual {
  background: var(--surface-soft); border-radius: 20px;
  padding: 28px; display: flex; flex-direction: column; gap: 12px;
}
.f-card {
  background: var(--surface); border: 1px solid var(--hairline); border-radius: 14px;
  padding: 14px 18px; display: flex; justify-content: space-between; align-items: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.f-card .name { font-weight: 600; font-size: 14px; }
.f-card .meta { font-size: 12px; color: var(--label-3); }
.f-card .pill { font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.pill-keep { color: var(--keep-deep); background: var(--keep-soft); }
.pill-trash { color: var(--trash); background: var(--trash-soft); }

/* 真实界面截图展示 */
.f-shot {
  justify-self: center;
  width: 230px; border-radius: 30px; overflow: hidden;
  border: 8px solid #1c1c1e; box-shadow: var(--shadow-lg);
  background: #fff;
}
.f-shot img { width: 100%; display: block; }
.f-shots { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }

/* ---------------- 隐私页 ---------------- */

.prose { max-width: 760px; margin: 0 auto; }
.prose-card {
  background: var(--surface); border: 1px solid var(--hairline);
  border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow);
  margin-bottom: 24px;
}
.prose-card h2 { font-size: 21px; font-weight: 800; margin-bottom: 12px; }
.prose-card p, .prose-card li { color: var(--label); font-size: 15px; }
.prose-card ul { padding-left: 20px; margin: 10px 0; }
.prose-card li { margin: 6px 0; }

table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 14px; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--hairline); }
th { color: var(--label-2); font-weight: 600; font-size: 13px; }
td b { color: var(--label); }

/* ---------------- 下载页 ---------------- */

.dl-card {
  background: var(--surface); border: 1px solid var(--hairline);
  border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow);
  display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center;
  margin-bottom: 24px;
}
.dl-card h2 { font-size: 22px; font-weight: 800; }
.dl-card p { color: var(--label-2); font-size: 15px; margin-top: 8px; }
.dl-meta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.dl-meta span {
  font-size: 12px; font-weight: 600; color: var(--label-2);
  background: var(--surface-soft); padding: 4px 12px; border-radius: 999px;
}

.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step {
  background: var(--surface); border: 1px solid var(--hairline);
  border-radius: var(--radius-lg); padding: 26px; position: relative; box-shadow: var(--shadow);
}
.step::before {
  counter-increment: step; content: counter(step);
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--keep); color: #fff; font-weight: 800;
  display: grid; place-items: center; margin-bottom: 14px;
}
.step h3 { font-size: 16px; margin-bottom: 6px; }
.step p { font-size: 14px; color: var(--label-2); }

/* ---------------- 滚动显现（渐进增强：无 JS / IO 时内容始终可见） ---------------- */

.reveal { transition: opacity 0.5s ease, transform 0.5s ease; }
.js-reveal .reveal { opacity: 0; transform: translateY(18px); }
.js-reveal .reveal.in { opacity: 1; transform: none; }

/* ---------------- 响应式 ---------------- */

@media (max-width: 900px) {
  .hero-grid, .pets-row { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding: 64px 0 56px; }
  .hero h1 { font-size: 36px; }
  .grid, .promise-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-block { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .dl-card { grid-template-columns: 1fr; text-align: left; }
}

@media (max-width: 640px) {
  .nav-links {
    display: none; position: absolute; top: 60px; left: 0; right: 0;
    background: #fff; flex-direction: column; gap: 0;
    border-bottom: 1px solid var(--hairline); box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 15px 24px; width: 100%; }
  .nav-links a.nav-cta { border-radius: 0; }
  .nav-toggle { display: block; }
  .grid, .promise-grid { grid-template-columns: 1fr; }
  .section-head h2 { font-size: 26px; }
  .cta { padding: 48px 24px; }
  .cta h2 { font-size: 26px; }
}

/* ============================================================
   交互式演示 — 对齐 App 清理页（Lumo）
   顶栏 · 标题+浮宠 · 叠卡 · 胶囊按钮 · 底栏 Dock
   ============================================================ */

.demo {
  position: relative;
  height: 620px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.demo-phone {
  position: relative;
  width: 300px;
  height: 580px;
  background: #1c1c1e;
  border-radius: 44px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.22);
  padding: 10px;
  flex-shrink: 0;
}
.demo-screen {
  position: relative;
  width: 100%; height: 100%;
  background: #f7f7f8;
  border-radius: 36px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* —— 顶栏 —— */
.demo-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 12px 0;
  min-height: 44px;
  flex-shrink: 0;
}
.demo-top-more {
  width: 28px; height: 28px;
  display: grid; place-items: center;
  font-size: 16px; font-weight: 700;
  color: var(--label); letter-spacing: 1px;
  line-height: 1;
}
.demo-likes-pill {
  display: inline-flex; align-items: center; gap: 4px;
  background: rgba(255, 45, 85, 0.10);
  color: #ff2d55;
  font-size: 12px; font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
  white-space: nowrap;
}
.demo-likes-pill .heart { font-size: 11px; }
.demo-likes-pill .caret { font-size: 10px; opacity: 0.75; margin-left: 1px; }
.demo-top-right {
  display: flex; align-items: center; gap: 6px;
}
.demo-ico-refresh {
  width: 28px; height: 28px;
  display: grid; place-items: center;
  font-size: 16px; color: var(--label); font-weight: 600;
}
.demo-recycle {
  width: 28px; height: 28px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: transparent;
}
.demo-recycle img {
  width: 18px; height: 18px;
  filter: invert(12%) brightness(0.2);
  opacity: 0.9;
}

/* —— 标题 + 浮宠 —— */
.demo-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 6px 16px 0 18px;
  flex-shrink: 0;
  min-height: 78px;
}
.demo-head-text { flex: 1; min-width: 0; padding-top: 2px; }
.demo-title {
  font-size: 28px; font-weight: 800;
  letter-spacing: -0.03em; line-height: 1.15;
  color: var(--label);
}
.demo-album {
  font-size: 13px; font-weight: 600;
  color: var(--label-2); margin-top: 1px;
}
.demo-sub {
  font-size: 10px; color: var(--label-3);
  margin-top: 3px; line-height: 1.4;
  max-width: 175px;
}
.demo-pet {
  flex-shrink: 0;
  margin-right: -4px;
  margin-top: -4px;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.12));
  z-index: 3;
  pointer-events: none;
}
.pet-sprite {
  display: block;
  background-repeat: no-repeat;
  background-position: 0 0;
  image-rendering: auto;
  --pet-w: 1200px;
}
.pet-sprite.md { width: 88px; height: 96px; }
.pet-sprite.lg { width: 150px; height: 162px; }
.pet-sprite.sm { width: 96px; height: 104px; }
@keyframes sprite-run {
  from { background-position: 0 0; }
  to   { background-position: calc(var(--pet-w) * -1) 0; }
}

/* —— 叠卡区 —— */
.demo-stage {
  position: relative;
  flex: 1;
  min-height: 0;
  margin: 4px 14px 0;
}
.demo-cards {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}
.demo-card {
  position: absolute;
  width: 72%;
  aspect-ratio: 1 / 1.16;
  max-height: 100%;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.04),
    0 12px 28px rgba(0, 0, 0, 0.12);
  transition: transform 0.35s ease, opacity 0.35s ease;
  cursor: grab;
  touch-action: none;
  user-select: none;
  will-change: transform, opacity;
}
.demo-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}
.demo-card .progress {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 28px 10px 10px;
  text-align: center;
  font-size: 11px; font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 3px rgba(0,0,0,0.45);
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.38));
  letter-spacing: 0.02em;
}
.demo-card.dragging { transition: none; cursor: grabbing; }
.demo-card.gone { pointer-events: none; }
.demo-card.back {
  transform: scale(0.94) translate(10px, 8px) rotate(6deg);
  opacity: 0.92;
  z-index: 1;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.10);
}
.demo-card.top { z-index: 2; }

/* 裁决印章 */
.demo-verdict {
  position: absolute;
  top: 36%; left: 50%;
  transform: translate(-50%, -50%) rotate(-12deg);
  font-size: 22px; font-weight: 800;
  padding: 3px 14px; border-radius: 10px;
  opacity: 0; pointer-events: none; z-index: 6;
  background: rgba(255, 255, 255, 0.94);
  transition: opacity 0.12s ease;
  white-space: nowrap;
}
.demo-verdict.show { opacity: 1; }
.demo-verdict.keep { color: var(--keep-deep); border: 3.5px solid var(--keep); }
.demo-verdict.select { color: var(--trash); border: 3.5px solid var(--trash); }
.demo-verdict.like {
  color: #ff2d55; border: 3.5px solid #ff2d55;
  transform: translate(-50%, -50%) rotate(0deg);
}

/* —— 胶囊操作条 —— */
.demo-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 10px 16px 8px;
  flex-shrink: 0;
  z-index: 4;
}
.demo-btn {
  flex: 1;
  max-width: 88px;
  height: 40px;
  border-radius: 999px;
  border: 0.5px solid var(--hairline);
  background: #fff;
  box-shadow: 0 1.5px 4px rgba(0, 0, 0, 0.05);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 500;
  font-family: inherit;
  transition: transform 0.12s ease, opacity 0.12s ease;
  padding: 0 6px;
  white-space: nowrap;
}
.demo-btn:active:not(:disabled) { transform: scale(0.96); }
.demo-btn:disabled { opacity: 0.35; cursor: default; }
.demo-btn-ico {
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}
.demo-btn.select { color: var(--trash); }
.demo-btn.undo { color: #8e8e93; }
.demo-btn.keep { color: var(--keep-deep); }

/* —— 底部 Dock —— */
.demo-dock {
  margin: 4px 14px 14px;
  background: #fff;
  border: 0.5px solid rgba(0, 0, 0, 0.08);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  padding: 8px 4px 7px;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}
.dock-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font-size: 10px;
  font-weight: 500;
  color: #aeaeb2;
  line-height: 1.2;
}
.dock-item img {
  width: 20px; height: 20px;
  opacity: 0.42;
}
/* 喜欢是 currentColor 填充心：未选中灰色 */
.dock-item:nth-child(2) img {
  opacity: 1;
  color: #c7c7cc;
  filter: none;
}
.dock-item.active {
  color: #1c1c1e;
  font-weight: 600;
}
.dock-item.active img {
  opacity: 1;
}
.dock-item.active:nth-child(2) img {
  color: #ff2d55;
}

/* 桌宠区：10 只网格 */
.pets-faces { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.pet-face {
  background: var(--surface-soft); border-radius: var(--radius-md);
  padding: 12px 6px 10px; text-align: center; cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
  text-decoration: none; color: inherit;
}
.pet-face:hover {
  transform: translateY(-4px); box-shadow: var(--shadow);
  background: var(--surface); border-color: var(--hairline);
  text-decoration: none;
}
.pet-face .pet-sprite { margin: 0 auto; }
.pet-face b { font-size: 13px; display: block; margin-top: 6px; }
.pet-face span { font-size: 11px; color: var(--label-3); display: block; }
.pet-face .audio-dot {
  display: inline-block; width: 6px; height: 6px; border-radius: 50%;
  background: #30d158; margin-right: 4px; vertical-align: 1px;
}
.pet-face .no-audio { opacity: 0.4; }

/* ---------------- 宠物预览页 ---------------- */

.pet-hero { padding: 40px 0 0; }
.pet-back { display: inline-flex; align-items: center; gap: 6px; color: var(--label-2); font-size: 14px; margin-bottom: 18px; }
.pet-back:hover { color: var(--keep-deep); text-decoration: none; }

.pet-stage {
  background: var(--surface); border: 1px solid var(--hairline);
  border-radius: 32px; box-shadow: var(--shadow);
  padding: 44px 32px 32px; text-align: center;
  position: relative; overflow: hidden;
}
.pet-stage::before {
  content: ""; position: absolute; left: 50%; bottom: -60px; transform: translateX(-50%);
  width: 320px; height: 140px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(110, 181, 240, 0.12), transparent);
}
.pet-stage .pet-sprite.big {
  width: 220px; height: 238px;
  margin: 0 auto 6px; position: relative; z-index: 1;
}
.pet-stage .pet-name { font-size: 26px; font-weight: 800; position: relative; z-index: 1; }
.pet-stage .pet-desc { color: var(--label-2); margin-top: 4px; position: relative; z-index: 1; }

.pet-actions { display: flex; justify-content: center; gap: 10px; margin: 22px 0 8px; position: relative; z-index: 1; }
.pet-action {
  background: var(--surface); border: 1px solid var(--hairline);
  border-radius: 999px; padding: 9px 22px; font-size: 14px; font-weight: 600;
  cursor: pointer; color: var(--label); transition: all 0.15s ease;
}
.pet-action:hover { border-color: var(--keep); color: var(--keep-deep); }
.pet-action.active { background: var(--keep); border-color: var(--keep); color: #fff; }

.pet-hint { color: var(--label-3); font-size: 13px; position: relative; z-index: 1; }

.pet-audio {
  margin-top: 26px; background: var(--surface);
  border: 1px solid var(--hairline); border-radius: 24px;
  padding: 26px; box-shadow: var(--shadow);
}
.pet-audio h3 { font-size: 17px; font-weight: 800; margin-bottom: 4px; }
.pet-audio .sub { color: var(--label-2); font-size: 13px; margin-bottom: 16px; }
.audio-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.audio-btn {
  background: var(--surface-soft); border: 1px solid var(--hairline);
  border-radius: 999px; padding: 8px 18px; font-size: 13px; font-weight: 600;
  cursor: pointer; color: var(--label); transition: all 0.15s ease;
  display: inline-flex; align-items: center; gap: 6px;
}
.audio-btn:hover { border-color: var(--keep); color: var(--keep-deep); }
.audio-btn.playing { background: var(--keep); border-color: var(--keep); color: #fff; }
.audio-btn .dot {
  width: 7px; height: 7px; border-radius: 50%; background: #30d158;
  display: inline-block;
}
.audio-btn .dot.off { background: var(--label-3); }
.no-audio-tip { color: var(--label-3); font-size: 14px; padding: 12px 0; }

.pet-grid {
  margin-top: 34px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px;
}
.pet-grid .pet-face .pet-sprite.sm { width: 76px; height: 82px; }

@media (max-width: 900px) {
  .pets-faces, .pet-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .pets-faces { grid-template-columns: repeat(2, 1fr); }
  .demo { height: 560px; }
  .demo-phone { width: 280px; height: 540px; }
  .demo-title { font-size: 24px; }
  .pet-sprite.md { width: 76px; height: 82px; }
  .demo-btn { font-size: 12px; height: 38px; max-width: 80px; }
}
