/* ============================================================
   DESMOND G16 Pro 在线说明书 - 共享样式
   浅色简洁风格，移动端优先，无外部依赖
   ============================================================ */
:root {
  --bg: #F6F6F4;
  --card: #FFFFFF;
  --border: #E5E4DE;
  --text: #1A1B1C;
  --text-2: #55585E;
  --accent: #0E7490;
  --accent-soft: #E0F0F4;
  --accent-2: #0F766E;
  --radius: 14px;
  --shadow: 0 1px 3px rgba(0,0,0,.05);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'PingFang SC', 'Microsoft YaHei', 'Segoe UI', Roboto, Arial, sans-serif;
  background: var(--bg); color: var(--text);
  line-height: 1.65; font-size: 15px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }

/* ---------- 顶部导航 ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.95); backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}
.topbar-inner {
  max-width: 960px; margin: 0 auto; padding: 10px 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}
.brand { font-weight: 700; font-size: 16px; letter-spacing: .3px; }
.brand b { color: var(--accent); }
.model-tag {
  font-size: 12px; color: var(--accent); background: var(--accent-soft);
  border-radius: 20px; padding: 2px 10px; font-weight: 600;
}
.nav-links { display: flex; gap: 12px; align-items: center; }
.nav-links a { font-size: 13.5px; color: var(--text-2); font-weight: 600; }
.nav-links a:hover { color: var(--accent); }
.lang-switch { display: flex; gap: 4px; }
.lang-switch a {
  font-size: 12.5px; padding: 4px 10px; border-radius: 20px;
  border: 1px solid var(--border); color: var(--text-2); background: #fff;
}
.lang-switch a.on { background: var(--accent); border-color: var(--accent); color: #fff; font-weight: 600; }

/* ---------- 布局 ---------- */
.wrap { max-width: 960px; margin: 0 auto; padding: 0 16px 48px; }
.hero {
  padding: 28px 0 20px; text-align: left;
}
.hero h1 { font-size: 26px; line-height: 1.3; font-weight: 700; }
.hero .sub { color: var(--text-2); margin-top: 6px; font-size: 14.5px; }
.hero-grid {
  display: flex; gap: 20px; align-items: center; flex-wrap: wrap; margin-top: 18px;
}
.hero-grid .pic { flex: 1 1 300px; min-width: 0; }
.hero-grid .pic img { border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--border); }
.hero-grid .points { flex: 1 1 260px; min-width: 0; }
.points li { list-style: none; padding: 9px 0 9px 30px; position: relative; border-bottom: 1px dashed var(--border); font-size: 14.5px; }
.points li:last-child { border-bottom: none; }
.points li::before {
  content: ''; position: absolute; left: 4px; top: 15px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--accent-soft); border: 2px solid var(--accent);
}

/* ---------- 章节 ---------- */
section { margin-top: 30px; }
.sec-title {
  display: flex; align-items: center; gap: 10px;
  font-size: 19px; font-weight: 700; margin-bottom: 14px;
}
.sec-title .no {
  flex: 0 0 auto; width: 30px; height: 30px; border-radius: 9px;
  background: var(--accent); color: #fff; font-size: 15px;
  display: flex; align-items: center; justify-content: center;
}
.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); }
.card + .card { margin-top: 12px; }
.card h3 { font-size: 15.5px; margin-bottom: 8px; }

/* ---------- 参数表 ---------- */
table.spec { width: 100%; border-collapse: collapse; font-size: 14px; }
table.spec th, table.spec td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--border); }
table.spec th { width: 40%; color: var(--text-2); font-weight: 500; background: #FAFAF8; }
table.spec tr:last-child th, table.spec tr:last-child td { border-bottom: none; }
.note { font-size: 12.5px; color: var(--text-2); margin-top: 10px; }
.note b { color: var(--accent-2); }

/* ---------- 步骤 ---------- */
.steps { counter-reset: step; }
.step { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px dashed var(--border); }
.step:last-child { border-bottom: none; }
.step::before {
  counter-increment: step; content: counter(step);
  flex: 0 0 auto; width: 28px; height: 28px; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent); font-weight: 700;
  display: flex; align-items: center; justify-content: center; font-size: 14px;
}
.step b { display: block; font-size: 14.5px; }
.step span { color: var(--text-2); font-size: 13.5px; }

/* ---------- 触控操作表 ---------- */
table.gesture { width: 100%; border-collapse: collapse; font-size: 13.5px; }
table.gesture th, table.gesture td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--border); vertical-align: top; }
table.gesture th { background: #FAFAF8; color: var(--text-2); font-weight: 500; }
table.gesture td:first-child { font-weight: 600; white-space: nowrap; }

/* ---------- 图片组 ---------- */
.img-grid { display: flex; gap: 12px; flex-wrap: wrap; }
.img-grid figure { flex: 1 1 220px; min-width: 0; }
.img-grid img { border-radius: var(--radius); border: 1px solid var(--border); }
.img-grid figcaption { font-size: 12px; color: var(--text-2); margin-top: 6px; text-align: center; }

/* ---------- 视频占位 ---------- */
.video-slot {
  border: 2px dashed var(--border); border-radius: var(--radius);
  padding: 28px 16px; text-align: center; background: #FAFAF8;
}
.video-slot .play {
  width: 54px; height: 54px; margin: 0 auto 10px; border-radius: 50%;
  background: var(--accent); display: flex; align-items: center; justify-content: center;
}
.video-slot .play::after {
  content: ''; margin-left: 4px; border-style: solid; border-width: 9px 0 9px 15px;
  border-color: transparent transparent transparent #fff;
}
.video-slot p { font-size: 13.5px; color: var(--text-2); }
.video-slot a { font-size: 13px; }

/* ---------- FAQ ---------- */
details.faq { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 12px 14px; margin-top: 10px; }
details.faq summary { font-weight: 600; font-size: 14.5px; cursor: pointer; }
details.faq p { font-size: 13.5px; color: var(--text-2); margin-top: 8px; }

/* ---------- 页脚 ---------- */
footer {
  border-top: 1px solid var(--border); margin-top: 40px;
  padding: 22px 16px 30px; text-align: center; color: var(--text-2); font-size: 12.5px;
}
footer .brand-sm { font-weight: 700; color: var(--text); font-size: 14px; margin-bottom: 4px; }

/* ---------- 入口页 ---------- */
.entry { min-height: 70vh; display: flex; align-items: center; justify-content: center; padding: 24px 16px; }
.entry-box { background: var(--card); border: 1px solid var(--border); border-radius: 18px; padding: 34px 26px; text-align: center; max-width: 420px; width: 100%; box-shadow: var(--shadow); }
.entry-box h1 { font-size: 20px; margin-bottom: 4px; }
.entry-box .p { color: var(--text-2); font-size: 13.5px; margin-bottom: 22px; }
.entry-box .langs { display: flex; flex-direction: column; gap: 10px; }
.entry-box .langs a {
  display: block; padding: 12px; border-radius: 12px; border: 1px solid var(--border);
  color: var(--text); font-weight: 600; font-size: 15px; background: #FAFAF8;
}
.entry-box .langs a:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- 桌面优化 ---------- */
@media (min-width: 720px) {
  .hero h1 { font-size: 32px; }
  .sec-title { font-size: 21px; }
  .card { padding: 20px; }
}
