/* ════════════════════════════════════════════════════════════════════════
   酷我音乐主题站 · 站点主题层 theme.css（必须在 global.css 之后加载）
   ------------------------------------------------------------------------
   主题色取自站点根目录 logo.png（实测：亮黄 #F8E838 / #F8E848 合计 52% +
   橙 #F86808 18% + 黄绿过渡 #F8F858 5.5%）：主色走 logo 橙，渐变一端接 logo 亮黄，
   形成「黄 → 橙 → 深橙红」同色系暖色渐变，避免默认蓝。
   覆盖内容：单层导航 / Hero 左文右图 / 更新署名脉冲胶囊 / 正文分节卡片化 /
   左侧悬挂目录 / 统一默认字体 / hover 无下划线 / 液态玻璃质感。
   ════════════════════════════════════════════════════════════════════════ */

/* ── 1. 主题变量 ───────────────────────────────────────────── */
:root {
  --brand:        #F06000;   /* logo 橙主色 */
  --brand-dk:     #A83500;
  --brand-lt:     #FF9A2E;
  --brand-cy:     #F8E838;   /* logo 亮黄 */
  --brand-shadow: rgba(240, 96, 0, .30);
  --brand-soft:   #FFF4E4;
  --brand-line:   #FBDCB6;
  --brand-ink:    #6B2A00;
  --brand-wash:   #FFFAF1;

  --blue:    #C24A00;
  --blue-dk: #8A3400;
  --blue-50: #FFF4E4;

  --hero-bg: linear-gradient(180deg, #FFF9F0 0%, #FFFFFF 100%);
  --cta-grad: linear-gradient(135deg, #FF8A1E 0%, #EF5A00 52%, #B83800 100%);

  --ink:   #241A10;
  --ink-2: #6B5A4A;
  --line:  rgba(240, 96, 0, .14);
  --font-default: system-ui, -apple-system, "Segoe UI", Roboto,
                  "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

/* ── 2. 统一默认字体 ───────────────────────────────────────── */
html, body, button, input, select, textarea, code, kbd, samp, pre, time {
  font-family: var(--font-default) !important;
}
body {
  font-family: var(--font-default);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.8;
  background:
    radial-gradient(1100px 760px at 88% -8%, rgba(240, 96, 0, .12), transparent 62%),
    radial-gradient(980px 700px at -12% 26%, rgba(248, 232, 56, .20), transparent 58%),
    radial-gradient(1000px 720px at 106% 76%, rgba(255, 154, 46, .12), transparent 60%),
    linear-gradient(180deg, #FFFBF4 0%, #FFFEFB 46%, #FFF8EE 100%);
  background-attachment: fixed;
}
body::before, body::after {
  content: ""; position: fixed; border-radius: 50%;
  filter: blur(96px); z-index: -1; pointer-events: none;
}
body::before {
  width: 560px; height: 560px; top: -170px; right: -110px;
  background: radial-gradient(circle, rgba(240, 96, 0, .16), transparent 70%);
}
body::after {
  width: 660px; height: 660px; bottom: -210px; left: -170px;
  background: radial-gradient(circle, rgba(248, 232, 56, .22), transparent 70%);
}

/* ── 3. 链接：hover 一律不加下划线 ─────────────────────────── */
a, a:hover, a:focus, a:active, a:visited { text-decoration: none !important; }
a { color: var(--blue); }
a:hover { color: var(--brand-dk); }
.text-card a, .main-content a, .hero-sub a, .notice-card a {
  color: var(--blue); font-weight: 600;
  border-bottom: 1px solid rgba(194, 74, 0, .28);
}
.text-card a:hover, .notice-card a:hover { color: var(--brand-dk); border-bottom-color: var(--brand); }

html { scroll-behavior: smooth; scroll-padding-top: 92px; }
section[id], h1[id], h2[id], h3[id], h4[id], div[id] { scroll-margin-top: 92px; }

/* ── 4. 顶部导航（logo.png + 酷我音乐 + 9 项站内导航）──────── */
.ks-header {
  background: rgba(255, 253, 249, .78) !important;
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, .7) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .85),
    0 10px 34px -20px rgba(70, 40, 10, .22);
  position: sticky; top: 0; z-index: 200;
}
.ks-header-inner {
  max-width: 1240px; margin: 0 auto; padding: 0 20px;
  display: flex; align-items: center; gap: 16px; height: 62px;
}
.ks-logo { display: flex; align-items: center; gap: 9px; flex-shrink: 0; text-decoration: none; }
.ks-logo img {
  height: 34px; width: auto; max-width: 140px; object-fit: contain;
  display: block; border-radius: 8px;
}
.ks-logo-txt {
  font-size: 19px; font-weight: 800; letter-spacing: .1px;
  background: linear-gradient(120deg, #F06000 0%, #C23A00 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; white-space: nowrap;
}
.ks-subnav { flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none; }
.ks-subnav::-webkit-scrollbar { display: none; height: 0; }
.ks-subnav-inner { display: flex; align-items: center; gap: 2px; height: 62px; white-space: nowrap; }
.ks-subnav-inner a {
  display: inline-flex; align-items: center; height: 36px; padding: 0 11px;
  font-size: 13.4px; font-weight: 500; color: #57493C;
  border-radius: 999px; text-decoration: none;
  transition: background .16s, color .16s, box-shadow .16s;
}
.ks-subnav-inner a:hover {
  color: var(--brand-ink); background: var(--brand-soft);
  box-shadow: inset 0 0 0 1px rgba(240, 96, 0, .14);
}
.ks-subnav-inner a.active {
  background: var(--cta-grad); color: #fff;
  box-shadow: 0 6px 16px -6px var(--brand-shadow);
}

/* ── 5. 面包屑 ─────────────────────────────────────────────── */
.breadcrumb { max-width: 1140px; margin: 0 auto; padding: 14px 20px 0; font-size: 13px; color: #94857A; }
.breadcrumb a { color: var(--blue); font-weight: 500; }
.breadcrumb a:hover { color: var(--brand-dk); }
.breadcrumb span { color: #D6CDC4; margin: 0 6px; }

/* ── 6. 更新署名胶囊 ───────────────────────────────────────── */
.update-capsule {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 4px 14px; border-radius: 999px;
  background: rgba(255, 244, 228, .95);
  border: 1px solid var(--brand-line);
  color: var(--brand-ink);
  font-size: 12.5px; font-weight: 400; line-height: 1.65;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .75);
  margin: 4px 0 14px;
}
.update-capsule time { font-weight: 500; }
.pulse-dot {
  width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0;
  background: var(--brand);
  animation: ks-pulse 2.2s ease-in-out infinite;
}
@keyframes ks-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(240, 96, 0, .5); }
  50%      { box-shadow: 0 0 0 6px rgba(240, 96, 0, 0); }
}

/* ── 7. 首页 / 下载页 Hero：左文右图 ───────────────────────── */
.site-hero {
  display: grid; grid-template-columns: 1.06fr .94fr;
  gap: 46px; align-items: center;
  max-width: 1140px; margin: 22px auto 26px;
  padding: 42px 44px;
  border-radius: 28px;
  background: linear-gradient(168deg, rgba(255, 255, 255, .95), rgba(255, 252, 246, .7));
  backdrop-filter: blur(20px) saturate(165%);
  -webkit-backdrop-filter: blur(20px) saturate(165%);
  border: 1px solid rgba(255, 255, 255, .72);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .92),
    inset 0 -1px 0 rgba(255, 255, 255, .2),
    0 30px 60px -34px rgba(240, 96, 0, .28),
    0 22px 46px -30px rgba(70, 40, 10, .22);
}
.site-hero-text { min-width: 0; }
.hero-logo { width: 80px; height: 80px; object-fit: contain; display: block; margin-bottom: 16px; }
.site-hero h1 {
  margin: 0 0 6px; font-size: 32px; line-height: 1.28; font-weight: 800;
  letter-spacing: -.4px;
  background: linear-gradient(120deg, #241A10 20%, #C24A00 122%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.site-hero h1 span { display: block; font-size: .62em; font-weight: 600; margin-top: 6px; line-height: 1.5; }
.site-hero .hero-sub {
  margin: 0 0 22px; font-size: 16px; line-height: 1.8; color: var(--ink-2);
  max-width: 560px;
}
.site-hero .cta-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: stretch; margin: 0 0 18px; }
.site-hero .cta-primary, .site-hero .cta-secondary { flex: 1 1 200px; justify-content: center; }
.cta-primary, .cta-secondary, .cta-btn, .trust-panel-btn {
  white-space: normal !important; text-align: center; line-height: 1.35;
  padding-left: 20px; padding-right: 20px;
}
.site-hero .cta-primary.cta-wide, .hero-v2 .cta-primary.cta-wide { flex: 1 1 100%; }
.site-hero .hero-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.site-hero .hero-meta span {
  display: inline-flex; align-items: center; padding: 4px 12px;
  border-radius: 999px; background: rgba(255, 255, 255, .86);
  border: 1px solid var(--brand-line); color: var(--brand-ink);
  font-size: 12.5px; backdrop-filter: blur(10px);
}
.site-hero-img { min-width: 0; display: flex; flex-direction: column; justify-content: center; }
.site-hero-img img {
  width: 100%; max-width: 520px; height: auto; display: block;
  border-radius: 16px;
  border: 1px solid var(--brand-line);
  box-shadow: 0 22px 46px -22px rgba(70, 40, 10, .34);
  background: #fff;
}

/* ── 8. 内容页 Hero ───────────────────────────────────────── */
.hero-v2 {
  background: linear-gradient(168deg, rgba(255, 255, 255, .95), rgba(255, 252, 246, .68));
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 24px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .9),
    0 22px 46px -30px rgba(240, 96, 0, .22),
    0 16px 36px -28px rgba(70, 40, 10, .2);
  margin: 0 0 20px;
  padding: 32px 34px 28px; text-align: center;
}
.hero-v2 .container { max-width: 880px; }
.hero-v2 .hero-logo { width: 80px; height: 80px; margin: 0 auto 14px; }
.hero-v2 h1 {
  margin: 0 0 4px; font-size: 27px; line-height: 1.34; font-weight: 800; color: #241A10;
  padding: 0; border: none;
}
.hero-v2 .hero-sub { margin: 0 auto; max-width: 800px; font-size: 15.5px; line-height: 1.8; color: var(--ink-2); }
.hero-v2 .update-capsule { margin: 6px 0 12px; }
.hero-v2 .cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin: 16px 0 0; }
.hero-v2 .cta-dl-meta { margin: 12px auto 0; max-width: 720px; font-size: 12.5px; color: #8A7A6C; }
.hero-v2 .hero-meta { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; }
.hero-v2 .hero-meta span {
  display: inline-flex; align-items: center; padding: 4px 12px;
  border-radius: 999px; background: rgba(255, 255, 255, .86);
  border: 1px solid var(--brand-line); color: var(--brand-ink); font-size: 12.5px;
}

/* ── 9. 正文容器 + 左侧悬挂目录 ───────────────────────────── */
.content-wrap { max-width: 1140px; margin: 0 auto; padding: 6px 20px 60px; }
.l1-layout {
  display: grid; grid-template-columns: 240px minmax(0, 1fr);
  gap: 30px; align-items: start;
  max-width: 1140px !important; margin: 0 auto; padding: 6px 20px 60px;
}
.l1-toc {
  position: sticky; top: 84px;
  padding: 16px 14px;
  border-radius: 18px;
  background: linear-gradient(168deg, rgba(255, 255, 255, .94), rgba(255, 252, 246, .68));
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, .72);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .9),
    0 18px 40px -28px rgba(70, 40, 10, .26);
  max-height: calc(100vh - 110px); overflow: auto;
}
.l1-toc h3 {
  margin: 0 0 10px; padding: 0 6px 10px;
  font-size: 12px; font-weight: 800; letter-spacing: .14em;
  color: var(--brand-ink); text-transform: uppercase;
  border-bottom: 1px solid var(--brand-line);
}
.l1-toc ul { list-style: none; margin: 0; padding: 0; }
.l1-toc li { margin-bottom: 2px; }
.l1-toc a {
  display: block; padding: 7px 10px;
  font-size: 13px; line-height: 1.5; color: #6B5A4A;
  border-radius: 9px; border-left: 2px solid transparent;
  transition: color .15s, background .15s, border-color .15s;
}
.l1-toc a:hover { color: var(--brand-ink); background: var(--brand-wash); border-left-color: var(--brand); }
.main-content { min-width: 0; overflow: visible !important; }

/* ── 10. 文段卡片化 ───────────────────────────────────────── */
.text-card {
  border-radius: 22px;
  padding: 26px 30px;
  margin: 0 0 20px;
  background: linear-gradient(168deg, rgba(255, 255, 255, .95), rgba(255, 252, 246, .7));
  backdrop-filter: blur(20px) saturate(165%);
  -webkit-backdrop-filter: blur(20px) saturate(165%);
  border: 1px solid rgba(255, 255, 255, .72);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .92),
    0 18px 42px -26px rgba(70, 40, 10, .26);
  transition: transform .25s ease, box-shadow .25s ease;
  min-height: auto; max-height: none; overflow: visible;
}
.text-card:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .95),
    0 26px 52px -26px rgba(70, 40, 10, .3);
}
.text-card h2, .main-content > h2 {
  display: flex; align-items: center; gap: 12px;
  margin: 0 0 14px; padding: 0 0 12px;
  font-size: 21px; font-weight: 800; color: #241A10;
  border-bottom: 1px solid var(--brand-line);
}
.text-card h2::before, .main-content > h2::before {
  content: ""; flex-shrink: 0; width: 7px; height: 22px; border-radius: 4px;
  background: var(--cta-grad);
  box-shadow: 0 2px 10px rgba(240, 96, 0, .35);
}
.text-card h3, .main-content > h3 {
  display: inline-flex; align-items: center;
  margin: 20px 0 8px; padding: 4px 14px;
  font-size: 16px; font-weight: 700; color: var(--brand-ink);
  background: var(--brand-soft); border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgba(240, 96, 0, .12);
}
.text-card p, .main-content > p { margin: 12px 0; font-size: 15.5px; line-height: 1.9; color: #42362A; }
.text-card ul, .text-card ol, .main-content > ul, .main-content > ol { margin: 14px 0 16px; padding-left: 22px; }
.text-card li { margin: 7px 0; font-size: 15.5px; line-height: 1.85; color: #42362A; }
.text-card ul li::marker { color: var(--brand); }
.text-card ol li::marker { color: var(--brand-dk); font-weight: 700; }
.text-card strong { color: #241A10; }
.text-card code, .main-content code {
  padding: 2px 7px; border-radius: 6px; font-size: 13.5px;
  background: var(--brand-wash); color: var(--brand-ink);
  border: 1px solid var(--brand-line); word-break: break-all;
}
.text-card pre, .main-content pre {
  background: #241A10; color: #F6EFE7; padding: 16px 18px;
  border-radius: 14px; overflow-x: auto; font-size: 13px; line-height: 1.7; margin: 14px 0;
}
.text-card pre code, .main-content pre code { background: none; border: none; padding: 0; color: inherit; }
.text-card blockquote {
  margin: 14px 0; padding: 12px 16px; border-left: 4px solid var(--brand-lt);
  background: var(--brand-wash); border-radius: 0 12px 12px 0;
  font-size: 15px; color: #42362A;
}
.text-card img, .main-content img { max-width: 100%; height: auto; border-radius: 14px; }

/* 表格 */
.text-card table, .main-content table, .entity-card table, .cmp-table {
  width: 100%; border-collapse: separate; border-spacing: 0;
  margin: 16px 0; font-size: 14.5px;
  border: 1px solid var(--brand-line); border-radius: 14px; overflow: hidden;
  background: rgba(255, 255, 255, .8);
}
.text-card th, .main-content th, .entity-card th, .cmp-table th {
  padding: 11px 15px; text-align: left; font-weight: 700;
  color: var(--brand-ink); background: var(--brand-soft);
  border-bottom: 1px solid var(--brand-line);
}
.text-card td, .main-content td, .entity-card td, .cmp-table td {
  padding: 11px 15px; color: #42362A;
  border-bottom: 1px solid rgba(240, 96, 0, .1); vertical-align: top;
}
.text-card tbody tr:last-child td, .cmp-table tbody tr:last-child td, .entity-card tr:last-child td { border-bottom: none; }
.text-card tbody tr:hover td, .cmp-table tbody tr:hover td { background: var(--brand-wash); }
/* entity-card 双列信息表首列做成标签 */
.entity-card td:first-child {
  width: 30%; color: #8A7A6C; font-size: 13.5px;
  background: rgba(255, 250, 241, .8); font-weight: 500;
}
.table-wrap { overflow-x: auto; }

/* 结构化要点列表 */
.text-card ul.kv-list { list-style: none; padding-left: 0; margin: 14px 0 18px; display: grid; gap: 10px; }
.text-card ul.kv-list li {
  padding: 12px 16px; margin: 0; border-radius: 14px;
  background: rgba(255, 255, 255, .8);
  border: 1px solid var(--brand-line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8);
}
.text-card ul.kv-list li strong { display: block; margin-bottom: 3px; color: var(--brand-ink); }

/* 步骤组件 */
.text-card .steps-v2, .text-card .steps, .steps-v2, .steps { list-style: none; counter-reset: step; padding: 0; margin: 16px 0; }
.text-card .steps-v2 li, .text-card .steps li, .steps-v2 li, .steps li {
  position: relative; padding: 14px 16px 14px 54px; margin-bottom: 10px;
  border-radius: 14px; background: rgba(255, 255, 255, .8);
  border: 1px solid var(--brand-line); counter-increment: step;
}
.text-card .steps-v2 li::before, .text-card .steps li::before, .steps-v2 li::before, .steps li::before {
  content: counter(step); position: absolute; left: 15px; top: 14px;
  width: 27px; height: 27px; border-radius: 50%;
  background: var(--cta-grad); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700;
}

/* ── 13b. Hero 主按钮放大（首页 + 下载页保持同一视觉尺寸） ──── */
.site-hero .cta-row .cta-btn,
.site-hero .cta-row .cta-primary {
  padding: 16px 48px !important;
  font-size: 20px !important;
  border-radius: 8px !important;
  line-height: 1.3;
  box-shadow:
    0 14px 30px -12px rgba(240, 96, 0, .52),
    0 6px 16px -8px rgba(240, 96, 0, .38) !important;
}
.site-hero .cta-row .cta-btn:hover,
.site-hero .cta-row .cta-primary:hover {
  box-shadow:
    0 18px 36px -12px rgba(240, 96, 0, .58),
    0 8px 18px -8px rgba(240, 96, 0, .42) !important;
}
/* 按钮下方合规副标题：浅灰、圆点分隔、紧凑 */
.site-hero .cta-dl-meta {
  margin: 12px 0 0 !important;
  padding: 0 !important;
  font-size: 12.5px !important;
  line-height: 1.6 !important;
  color: #9A8C7E !important;
  letter-spacing: .1px;
  max-width: 100%;
}
/* 移动端按钮不要顶满，保持 20px 字号可读 */
@media (max-width: 620px) {
  .site-hero .cta-row .cta-btn,
  .site-hero .cta-row .cta-primary {
    padding: 15px 28px !important;
    font-size: 18px !important;
  }
}

/* ── 13c. 核心功能一览表：固定列宽 + 表头与数据同对齐 ───────── */
.feat-table {
  width: 100% !important;
  table-layout: fixed !important;
  border-collapse: collapse !important;
  border-radius: 0 !important;
  overflow: visible !important;
  margin: 16px 0 4px;
}
.feat-table th,
.feat-table td {
  text-align: left !important;
  vertical-align: middle;
  padding: 12px 16px !important;
  word-break: break-word;
  border-bottom: 1px solid rgba(240, 96, 0, .12);
}
.feat-table thead th {
  width: auto;
  color: var(--brand-ink) !important;
  background: var(--brand-soft) !important;
  font-weight: 700;
  border-bottom: 1px solid var(--brand-line);
}
/* 列宽比例：功能 25% / 免费版 35% / 豪华VIP 40% */
.feat-table th:nth-child(1), .feat-table td:nth-child(1) { width: 25%; }
.feat-table th:nth-child(2), .feat-table td:nth-child(2) { width: 35%; }
.feat-table th:nth-child(3), .feat-table td:nth-child(3) { width: 40%; }
.feat-table tbody tr:last-child td { border-bottom: none; }
.feat-table tbody tr:hover td { background: var(--brand-wash); }

/* ── 13d. 全站表格统一：标准结构 + 固定列宽 + 表头数据同对齐 ── */
.tbl-fixed,
.feat-table,
.platform-table,
.spec-table {
  width: 100% !important;
  table-layout: fixed !important;
  border-collapse: collapse !important;
  border-radius: 0 !important;
  overflow: visible !important;
  margin: 16px 0 4px;
}
.tbl-fixed th, .tbl-fixed td,
.feat-table th, .feat-table td,
.platform-table th, .platform-table td,
.spec-table th, .spec-table td {
  text-align: left !important;
  vertical-align: middle;
  padding: 12px 16px !important;
  word-break: break-word;
  overflow-wrap: anywhere;
  border-bottom: 1px solid rgba(240, 96, 0, .12);
}
.tbl-fixed thead th,
.feat-table thead th,
.platform-table thead th {
  color: var(--brand-ink) !important;
  background: var(--brand-soft) !important;
  font-weight: 700;
  border-bottom: 1px solid var(--brand-line);
}
.tbl-fixed tbody tr:last-child td,
.feat-table tbody tr:last-child td,
.platform-table tbody tr:last-child td,
.spec-table tr:last-child td { border-bottom: none; }
.tbl-fixed tbody tr:hover td,
.platform-table tbody tr:hover td { background: var(--brand-wash); }

/* 多平台下载入口：平台 20% / 下载方式 40% / 说明 40% */
.platform-table th:nth-child(1), .platform-table td:nth-child(1) { width: 20%; }
.platform-table th:nth-child(2), .platform-table td:nth-child(2) { width: 40%; }
.platform-table th:nth-child(3), .platform-table td:nth-child(3) { width: 40%; }
/* 免费版 vs VIP / 核心功能一览：功能 25% / 免费版 35% / 豪华VIP 40% */
.feat-table th:nth-child(1), .feat-table td:nth-child(1) { width: 25%; }
.feat-table th:nth-child(2), .feat-table td:nth-child(2) { width: 35%; }
.feat-table th:nth-child(3), .feat-table td:nth-child(3) { width: 40%; }
/* 基本信息表：字段 30% / 值 70% */
.spec-table td:nth-child(1) { width: 30%; color: var(--brand-ink); background: rgba(255, 250, 241, .7); font-weight: 600; }
.spec-table td:nth-child(2) { width: 70%; }

/* Windows 行：原生按钮降级为主色加粗纯文本 + 下方小字提示（与 Mac/Android 行视觉一致） */
.platform-table .dl-text {
  display: inline-block;
  color: var(--brand-dk) !important;
  font-weight: 700;
  font-size: 15.5px;
  line-height: 1.4;
  letter-spacing: .2px;
}
.platform-table .dl-hint {
  display: block;
  margin-top: 4px;
  font-size: 11.5px;
  line-height: 1.55;
  color: #9A8C7E;
  font-weight: 400;
}

/* ── 13e. 全站表格列宽比例（按列数，配合 table-layout: fixed） ──
   2 列：30/70   3 列：25/35/40   4 列：22/26/26/26   5 列：18/20.5×4        */
.tbl-fixed.cols-2 th:nth-child(1), .tbl-fixed.cols-2 td:nth-child(1) { width: 30%; }
.tbl-fixed.cols-2 th:nth-child(2), .tbl-fixed.cols-2 td:nth-child(2) { width: 70%; }
.tbl-fixed.cols-3 th:nth-child(1), .tbl-fixed.cols-3 td:nth-child(1) { width: 25%; }
.tbl-fixed.cols-3 th:nth-child(2), .tbl-fixed.cols-3 td:nth-child(2) { width: 35%; }
.tbl-fixed.cols-3 th:nth-child(3), .tbl-fixed.cols-3 td:nth-child(3) { width: 40%; }
.tbl-fixed.cols-4 th:nth-child(1), .tbl-fixed.cols-4 td:nth-child(1) { width: 22%; }
.tbl-fixed.cols-4 th:nth-child(2), .tbl-fixed.cols-4 td:nth-child(2) { width: 26%; }
.tbl-fixed.cols-4 th:nth-child(3), .tbl-fixed.cols-4 td:nth-child(3) { width: 26%; }
.tbl-fixed.cols-4 th:nth-child(4), .tbl-fixed.cols-4 td:nth-child(4) { width: 26%; }
.tbl-fixed.cols-5 th:nth-child(1), .tbl-fixed.cols-5 td:nth-child(1) { width: 18%; }
.tbl-fixed.cols-5 th:nth-child(2), .tbl-fixed.cols-5 td:nth-child(2) { width: 20.5%; }
.tbl-fixed.cols-5 th:nth-child(3), .tbl-fixed.cols-5 td:nth-child(3) { width: 20.5%; }
.tbl-fixed.cols-5 th:nth-child(4), .tbl-fixed.cols-5 td:nth-child(4) { width: 20.5%; }
.tbl-fixed.cols-5 th:nth-child(5), .tbl-fixed.cols-5 td:nth-child(5) { width: 20.5%; }
/* KV 表（两列键值）：标签列做浅底强调 */
.kv-table th[scope="row"] {
  color: var(--brand-ink) !important;
  background: rgba(255, 250, 241, .72) !important;
  font-weight: 600;
}
/* 长文本统一换行，禁止撑破列宽 */
.tbl-fixed th, .tbl-fixed td { white-space: normal !important; word-break: break-word; overflow-wrap: anywhere; }

/* ── 13f. 内页底部 CTA 卡：Flex 竖直居中 + 大号品牌橙按钮 ───── */
.cta-bottom {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center !important;
  padding: 40px 32px 34px !important;
}
.cta-bottom h2 {
  display: block !important;
  justify-content: center !important;
  text-align: center !important;
  border-bottom: none !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 0 12px !important;
  font-size: 22px !important;
}
.cta-bottom h2::before { content: none !important; display: none !important; }
.cta-bottom > p,
.cta-bottom > .hero-sub {
  text-align: center !important;
  max-width: 720px;
  margin: 0 auto 22px !important;
  color: var(--ink-2);
}
.cta-bottom .cta-btn,
.cta-bottom .cta-primary {
  padding: 16px 48px !important;
  font-size: 18px !important;
  border-radius: 10px !important;
  background: linear-gradient(90deg, #FF7A00, #FF5A00) !important;
  box-shadow:
    0 16px 32px -12px rgba(255, 90, 0, .55),
    0 6px 14px -6px rgba(255, 122, 0, .42) !important;
  margin: 0 auto 16px !important;
  min-width: 240px;
}
.cta-bottom .cta-btn:hover,
.cta-bottom .cta-primary:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
  box-shadow:
    0 20px 38px -12px rgba(255, 90, 0, .6),
    0 8px 16px -6px rgba(255, 122, 0, .46) !important;
}
.cta-bottom .cta-dl-meta {
  margin: 0 !important;
  text-align: center !important;
  color: #9A8C7E !important;
}
@media (max-width: 620px) {
  .cta-bottom { padding: 30px 18px 26px !important; }
  .cta-bottom h2 { font-size: 19px !important; }
  .cta-bottom .cta-btn,
  .cta-bottom .cta-primary { padding: 15px 30px !important; font-size: 17px !important; min-width: 0; width: 100%; }
}

/* ── 13g. 保险：任何空的彩色 CTA 壳都不应渲染出孤立方块 ────── */
.cta-section:empty,
.text-card-cta:empty,
section.cta-section > .container:empty { display: none !important; }

/* 提示框 */
.notice-card, .tip-box {
  background: var(--brand-wash) !important;
  border-left: 4px solid var(--brand) !important;
  border-radius: 0 12px 12px 0 !important;
  padding: 14px 16px !important; margin: 16px 0 !important;
  font-size: 14.5px; color: #4A3A2A;
}
.notice-card a { color: var(--brand-ink) !important; }

/* ── 11. Hub 卡（本站 .hub-grid/.hub-card） ────────────────── */
.hub-grid, .hub-grid-v2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; margin: 18px 0 4px; }
.hub-card, .hub-card-v2 {
  display: block; padding: 20px; border-radius: 18px; color: inherit;
  background: linear-gradient(168deg, rgba(255, 255, 255, .96), rgba(255, 250, 241, .74));
  border: 1px solid var(--brand-line);
  transition: transform .18s, box-shadow .18s, border-color .18s;
}
.hub-card:hover, .hub-card-v2:hover {
  transform: translateY(-3px); border-color: var(--brand);
  box-shadow: 0 16px 34px -20px rgba(240, 96, 0, .36); color: inherit;
}
.hub-card h3, .hub-card-v2 h3 { margin: 0 0 6px; font-size: 16.5px; font-weight: 700; color: #241A10; }
.hub-card p, .hub-card-v2 p { margin: 0 0 10px; font-size: 14px; line-height: 1.65; color: #6B5A4A; }
.hub-card .card-icon, .hub-card-v2 .card-icon {
  width: 42px; height: 42px; border-radius: 12px; margin-bottom: 12px;
  display: flex; align-items: center; justify-content: center;
  background: var(--brand-soft); color: var(--brand-dk);
}
.hub-card .card-arrow, .hub-card-v2 .card-arrow { font-size: 13px; font-weight: 600; color: var(--brand-dk); }
.entity-card { border: none; padding: 0; margin: 16px 0; }

/* ── 12. FAQ 扁平化（本站 .faq-list/.faq-item） ────────────── */
.faq-section { margin: 0 !important; background: transparent !important; padding: 0 !important; }
.faq-list { display: block !important; }
.text-card .faq-item, .text-card .faq-item-v2, .faq-list .faq-item, .faq-item-v2 {
  background: transparent !important; border: none !important; border-radius: 0 !important;
  padding: 15px 0 !important; margin: 0 !important;
  border-bottom: 1px solid var(--brand-line) !important;
}
.text-card .faq-item:last-child, .faq-list .faq-item:last-child, .faq-item-v2:last-child { border-bottom: none !important; }
.text-card .faq-q, .faq-list .faq-q, .faq-q {
  display: block !important; padding: 0 !important; margin: 0 0 6px !important;
  font-size: 16px !important; font-weight: 700 !important; color: #241A10 !important;
  line-height: 1.6 !important; background: none !important;
}
.text-card .faq-q::before, .faq-list .faq-q::before, .faq-q::before { content: none !important; display: none !important; }
.text-card .faq-a, .faq-list .faq-a, .faq-a {
  padding: 0 !important; margin: 0 !important;
  font-size: 15px !important; line-height: 1.9 !important; color: #57493C !important;
}

/* ── 13. 按钮族（本站主按钮类名 .cta-btn） ─────────────────── */
.cta-btn, .cta-primary, .compact-dl-btn, .btn-download, .btn-primary, .trust-panel-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 32px; border-radius: 999px;
  background: var(--cta-grad) !important;
  color: #fff !important; font-size: 16px; font-weight: 600;
  border: none; cursor: pointer;
  box-shadow: 0 12px 26px -12px var(--brand-shadow), inset 0 1px 0 rgba(255, 255, 255, .26);
  transition: transform .15s, filter .15s;
}
.cta-btn:hover, .cta-primary:hover, .compact-dl-btn:hover, .btn-download:hover, .btn-primary:hover, .trust-panel-btn:hover {
  color: #fff !important; filter: brightness(1.06); transform: translateY(-1px);
}
.cta-btn svg, .cta-primary svg, .cta-secondary svg { width: 18px; height: 18px; flex-shrink: 0; }
.cta-secondary {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 28px; border-radius: 999px;
  background: rgba(255, 255, 255, .9) !important;
  color: var(--brand-ink) !important;
  border: 1.5px solid var(--brand-line) !important;
  font-size: 15.5px; font-weight: 600;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9);
}
.cta-secondary:hover { color: var(--brand-dk) !important; border-color: var(--brand) !important; }
.cta-dl-meta { margin: 10px 0 0; font-size: 12.5px; color: #8A7A6C; line-height: 1.6; }
.cta-badges, .cta-meta { font-size: 12.5px; color: #8A7A6C; line-height: 1.6; }

/* 底部转化区（若页面使用） */
.cta-section, .cta-section-v2 {
  background: var(--cta-grad) !important;
  border-radius: 22px; padding: 38px 32px; text-align: center;
  margin: 0 0 8px; color: #fff; border: none !important;
  box-shadow: 0 26px 54px -30px rgba(240, 96, 0, .5);
}
.cta-section h2, .cta-section-v2 h2 { margin: 0 0 8px; font-size: 23px; color: #fff; border: none; justify-content: center; }
.cta-section h2::before, .cta-section-v2 h2::before { content: none; }
.cta-section p, .cta-section-v2 p { margin: 0 0 18px; font-size: 14.5px; color: rgba(255, 255, 255, .94); }
.cta-section .cta-btn, .cta-section-v2 .cta-btn,
.cta-section .cta-primary, .cta-section-v2 .cta-primary {
  background: #fff !important; color: var(--brand-dk) !important;
}
/* 抽卡后追加的 CTA 卡（源站蓝底白字写法，主题层按品牌渐变渲染） */
.text-card.text-card-cta {
  background: var(--cta-grad) !important; border: none !important; color: #fff !important;
  text-align: center; padding: 40px 32px 34px !important;
  min-height: auto !important; height: auto !important; max-height: none !important; overflow: visible !important;
}
.text-card.text-card-cta h2 {
  display: block !important; justify-content: center !important; color: #fff !important;
  border: none !important; padding: 0 !important; margin: 0 0 16px !important; text-align: center;
}
.text-card.text-card-cta h2::before { content: none !important; display: none !important; }
.text-card.text-card-cta p, .text-card.text-card-cta .cta-dl-meta { color: rgba(255, 255, 255, .9) !important; }
.text-card.text-card-cta .cta-btn, .text-card.text-card-cta .cta-primary {
  background: #fff !important; color: var(--brand-dk) !important;
  border-bottom: none !important; padding: 14px 36px !important; min-height: 48px;
  box-shadow: 0 8px 22px -8px rgba(60, 20, 0, .45);
}
.text-card.text-card-cta .cta-btn:hover { color: var(--brand) !important; transform: translateY(-1px); }

/* ── 14. 页脚：深色液态玻璃 ───────────────────────────────── */
.footer { border-top: none; padding: 0; margin-top: 44px; }
.footer:not(.glass-footer) { background: transparent !important; }
.glass-footer {
  padding: 50px 0 26px;
  background: linear-gradient(180deg, #17100A 0%, #22160C 60%, #0E0905 100%) !important;
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  border-top: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 -24px 52px -34px rgba(10, 6, 2, .5);
}
.footer.glass-footer { background: linear-gradient(180deg, #17100A 0%, #22160C 60%, #0E0905 100%) !important; }
.glass-footer .footer-grid {
  max-width: 1160px; margin: 0 auto 30px; padding: 0 20px;
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 26px;
}
.glass-footer .footer-col h4 {
  color: #FFFFFF; font-size: 13px;
  letter-spacing: .12em; text-transform: uppercase; margin: 0 0 14px;
}
.glass-footer .footer-col ul { list-style: none; padding: 0; margin: 0; }
.glass-footer .footer-col li { margin: 8px 0; }
.glass-footer .footer-col a { color: rgba(255, 255, 255, .8); font-size: 14px; }
.glass-footer .footer-col a:hover { color: #fff; }
.footer-brand .footer-logo { display: flex; align-items: center; gap: 10px; font-size: 17px; color: #fff; margin-bottom: 12px; }
.footer-logo-dot {
  width: 13px; height: 13px; border-radius: 50%;
  background: var(--cta-grad);
  box-shadow: 0 0 0 5px rgba(248, 232, 56, .18), 0 0 16px rgba(240, 96, 0, .5);
}
.footer-desc { margin: 0; font-size: 13px; line-height: 1.75; color: rgba(255, 255, 255, .72); max-width: 320px; }
.footer-bottom {
  max-width: 1160px; margin: 0 auto; padding: 20px 20px 0;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: 13px; text-align: center; color: rgba(255, 255, 255, .7); line-height: 2;
}
.footer-bottom a { color: rgba(255, 255, 255, .82); }
.footer-bottom a:hover { color: #fff; }
.footer-sep { margin-left: 14px; }
.footer-legal, .footer-legal-line { color: rgba(255, 255, 255, .7); }

/* ── 15. 兜底 ─────────────────────────────────────────────── */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-hero, .hero-v2, .text-card, .hub-card, .hub-card-v2, .l1-toc, .update-capsule {
    background: rgba(255, 255, 255, .98);
  }
  .ks-header { background: rgba(255, 253, 249, .99) !important; }
  .footer.glass-footer { background: #17100A !important; }
  body { background: #FFFBF4; }
  body::before, body::after { display: none; }
}

/* ── 16. 响应式 ───────────────────────────────────────────── */
@media (max-width: 1100px) {
  .ks-subnav-inner a { padding: 0 8px; font-size: 12.8px; }
  .glass-footer .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
}
@media (max-width: 980px) {
  .site-hero { grid-template-columns: 1fr; gap: 26px; padding: 30px 26px; border-radius: 22px; }
  .site-hero-img { order: 2; }
  .site-hero-text { order: 1; }
  .site-hero-img img { max-width: 100%; }
  .l1-layout { grid-template-columns: 210px minmax(0, 1fr); gap: 20px; }
  .glass-footer .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .l1-layout { grid-template-columns: 1fr; padding: 6px 16px 40px; }
  .l1-toc { position: static; top: auto; margin-bottom: 16px; max-height: none; }
  .l1-toc ul { display: flex; flex-wrap: wrap; gap: 6px; }
  .l1-toc li { margin: 0; }
  .l1-toc a { border-left: none; border: 1px solid var(--brand-line); border-radius: 999px; padding: 5px 12px; font-size: 12.5px; }
  .site-hero h1 { font-size: 26px; }
  .hero-v2 { padding: 24px 20px; border-radius: 20px; }
  .hero-v2 h1 { font-size: 22px; }
  .text-card { padding: 22px 20px; border-radius: 18px; }
  .ks-header-inner { gap: 12px; height: 58px; }
  .ks-logo-txt { font-size: 17px; }
  .ks-subnav-inner { height: 58px; }
}
@media (max-width: 620px) {
  .site-hero { padding: 24px 18px; }
  .site-hero h1 { font-size: 23px; }
  .site-hero .cta-primary, .site-hero .cta-secondary { flex: 1 1 100%; width: 100%; }
  .glass-footer .footer-grid { grid-template-columns: 1fr; gap: 22px; }
}
