/* ============================================================
   yaka.cn 官方宣传站 —— 独立设计系统（宽屏 / 高对比 / 现代）
   单一强调色：翡翠绿 #10b981；冷灰中性；深色 Hero。
   深浅主题：html[data-theme]
   ============================================================ */
:root, [data-theme='light'] {
  --bg: #f6f8fa;
  --panel: #ffffff;
  --ink: #0b1220;
  --ink-2: #424b5a;
  --ink-3: #6b7480;
  --line: #e6e9ef;
  --line-2: #f1f3f7;
  --input: #cfd6e0;
  --brand: #0b1220;
  --brand-2: #1b2537;
  --fg: #ffffff;
  --accent: #10b981;
  --accent-2: #059669;
  --accent-ink: #047857;
  --accent-soft: #e7f8f1;
  --warn: #d97706;
  --warn-ink: #b45309;
  --warn-soft: #fdf3e3;
  --up: #e11d48;
  --up-soft: #fdecef;
  --up-ink: #9f1239;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(11, 18, 32, .05), 0 8px 24px rgba(11, 18, 32, .06);
  --shadow-lg: 0 24px 60px rgba(11, 18, 32, .14);
  --chrome: rgba(255, 255, 255, .82);
  --site-max: 2400px;
}
[data-theme='dark'] {
  --bg: #0a0f18;
  --panel: #121a28;
  --ink: #eef2f7;
  --ink-2: #b6bfcd;
  --ink-3: #808b9c;
  --line: #1f2836;
  --line-2: #161e2b;
  --input: #2a3543;
  --brand: #eef2f7;
  --brand-2: #cbd5e1;
  --fg: #0b1220;
  --accent: #10b981;
  --accent-2: #34d399;
  --accent-ink: #6ee7b7;
  --accent-soft: #0c2a22;
  --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 24px rgba(0, 0, 0, .35);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, .5);
  --chrome: rgba(10, 15, 24, .78);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.site-body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--site-max); margin: 0 auto; padding: 0 clamp(20px, 2vw, 56px); }

/* ---------------- 顶栏 ---------------- */
.site-header { position: sticky; top: 0; z-index: 60; background: var(--chrome);
  backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px);
  border-bottom: 1px solid var(--line); }
.site-header .wrap { height: 74px; display: flex; align-items: center; gap: 26px; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 800; font-size: 20px; letter-spacing: -.01em; }
.brand img { height: 34px; width: auto; }
.brand .logo-dark { display: none; }
[data-theme='dark'] .brand .logo-light { display: none; }
[data-theme='dark'] .brand .logo-dark { display: block; }
/* 用户口径（2026-10-15）：菜单栏**紧跟在站点名称右侧**（原来 margin-left:auto 被推到最右，
   中间空出一大片，看着品牌区与导航是两截）。右侧收尾交给「主题灯 + 领取按钮」撑开。 */
/* 用户口径（2026-10-15）：菜单项紧跟站点名称，但**主题灯 + 免费领取要留在最右侧**。
   nav 必须 flex:1 占满剩余宽度 —— 只给内部元素 margin-left:auto 是无用的：
   nav 自身若是内容宽度，没有可撑开的余量，auto 边距等于 0。 */
.nav { display: flex; align-items: center; gap: 4px; margin-left: 34px; flex: 1; }
.nav a { padding: 9px 16px; border-radius: 999px; color: var(--ink-2); font-size: 15px; font-weight: 550; transition: background .16s, color .16s; }
.nav a:hover, .nav a.active { background: var(--line-2); color: var(--ink); }
.head-cta { display: inline-flex; align-items: center; gap: 7px; padding: 10px 20px; border-radius: 999px;
  background: var(--accent); color: #fff; font-weight: 650; font-size: 14.5px; box-shadow: 0 6px 18px rgba(16,185,129,.32); transition: transform .16s, box-shadow .16s; }
.head-cta:hover { transform: translateY(-1px); box-shadow: 0 10px 26px rgba(16,185,129,.4); }
.theme-toggle { margin-left: auto; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: var(--panel);
  color: var(--ink-2); cursor: pointer; font-size: 16px; display: grid; place-items: center; transition: border-color .16s, color .16s; }
.theme-toggle:hover { border-color: var(--accent); color: var(--accent); }

/* ---------------- Button ---------------- */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--panel); color: var(--ink); font-size: 15px; font-weight: 600;
  cursor: pointer; transition: transform .16s, border-color .16s, box-shadow .16s; }
.btn:hover { transform: translateY(-1px); border-color: var(--accent); color: var(--accent-ink); }
.btn-primary { background: var(--accent); border-color: transparent; color: #fff; box-shadow: 0 8px 22px rgba(16,185,129,.32); }
.btn-primary:hover { color: #fff; box-shadow: 0 12px 30px rgba(16,185,129,.42); }
.btn-ghost-dark { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.22); color: #fff; }
.btn-ghost-dark:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.45); color: #fff; }

/* ---------------- Hero（全宽深色） ---------------- */
.hero { position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(1100px 520px at 82% -14%, rgba(16,185,129,.24), transparent 62%),
    radial-gradient(760px 460px at 6% 118%, rgba(59,130,246,.16), transparent 66%),
    linear-gradient(160deg, #0b1220 0%, #0e1526 46%, #0a0f18 100%); }
.hero::after { content: ''; position: absolute; inset: 0; background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 46px 46px; mask-image: radial-gradient(70% 60% at 60% 30%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(70% 60% at 60% 30%, #000 30%, transparent 80%); pointer-events: none; }
.hero .wrap { position: relative; z-index: 1; padding-top: clamp(24px, 2.6vw, 44px); padding-bottom: clamp(44px, 6vw, 84px);
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
@media (max-width: 980px) { .hero .wrap { grid-template-columns: 1fr; } }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; padding: 7px 16px; border-radius: 999px;
  border: 1px solid rgba(16,185,129,.4); background: rgba(16,185,129,.12); color: #6ee7b7;
  font-size: 13px; font-weight: 650; letter-spacing: .02em; }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 4px rgba(16,185,129,.22); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .45; } }
.hero h1 { margin: 0 0 16px; font-size: clamp(30px, 4.6vw, 56px); line-height: 1.14; font-weight: 850; letter-spacing: -.025em; }
.hero h1 .grad { white-space: nowrap; }
.hero + .ticker, .hero .sub { margin-top: 0; }
.hero h1 .grad { background: linear-gradient(100deg, #34d399 0%, #10b981 45%, #6ee7b7 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .sub { color: rgba(255,255,255,.72); font-size: clamp(15.5px, 1.5vw, 18px); line-height: 1.8; max-width: 620px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: clamp(20px, 4vw, 52px); margin-top: 40px; }
.hero-stat b { display: block; font-size: clamp(22px, 2.6vw, 30px); font-weight: 800; letter-spacing: -.02em; }
.hero-stat span { color: rgba(255,255,255,.6); font-size: 13.5px; }
.hero-visual { border-radius: 20px; overflow: hidden; border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 40px 90px rgba(0,0,0,.5); background: rgba(255,255,255,.03); }
.hero-visual img { width: 100%; height: clamp(260px, 30vw, 420px); object-fit: cover; }

/* ---------------- 跑马灯 ---------------- */
.ticker { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--panel); }
.ticker-track { display: flex; width: max-content; animation: slide 42s linear infinite; }
.ticker.rev .ticker-track { animation-direction: reverse; animation-duration: 52s; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-group { display: flex; gap: 44px; padding: 18px 22px; }
.tick { display: inline-flex; align-items: center; gap: 9px; color: var(--ink-3); font-size: 15px; font-weight: 600; white-space: nowrap; }
.tick i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); opacity: .8; }
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }

/* ---------------- Section ---------------- */
.section { padding: clamp(56px, 7vw, 104px) 0; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 14px; }
.sec-title { font-size: clamp(26px, 3.4vw, 40px); font-weight: 800; letter-spacing: -.02em; margin: 0; }
.sec-title em { font-style: normal; color: var(--accent-ink); }
.sec-sub { color: var(--ink-3); font-size: 16px; margin: 8px 0 0; }
.sec-more { color: var(--accent-ink); font-weight: 600; font-size: 15px; }
.sec-line { height: 3px; width: 68px; border-radius: 3px; margin: 20px 0 40px;
  background: linear-gradient(90deg, var(--accent), rgba(16,185,129,0)); }

/* ---------------- Tabs ---------------- */
.tabs-head { display: flex; justify-content: center; margin: 8px 0 44px; }
.tab-head { display: inline-flex; gap: 6px; padding: 6px; background: var(--panel); border: 1px solid var(--line);
  border-radius: 999px; box-shadow: var(--shadow); }
.tab-head button { border: 0; background: transparent; color: var(--ink-2); padding: 12px 30px; border-radius: 999px;
  font-size: 15.5px; font-weight: 650; cursor: pointer; transition: all .2s; font-family: inherit; }
.tab-head button.active { background: var(--accent); color: #fff; box-shadow: 0 6px 18px rgba(16,185,129,.32); }
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fade .35s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.tab-intro { text-align: center; max-width: 860px; margin: 0 auto 44px; }
.tab-intro h3 { font-size: clamp(24px, 3vw, 36px); margin: 0 0 12px; font-weight: 800; letter-spacing: -.02em; }
.tab-intro p { color: var(--ink-3); font-size: 17px; line-height: 1.8; }
.tab-shot { border-radius: 20px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-lg); margin: 0 auto 46px; max-width: 1180px; }
.tab-shot img { width: 100%; }

/* ---------------- 能力卡 ---------------- */
.cap-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 1000px) { .cap-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .cap-grid { grid-template-columns: 1fr; } }
.cap { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 26px; box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s, border-color .2s; }
.cap:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--accent); }
.cap .ic { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; font-size: 23px;
  background: var(--accent-soft); margin-bottom: 16px; }
.cap h3 { font-size: 18px; margin: 0 0 10px; font-weight: 750; letter-spacing: -.01em; }
.cap p { color: var(--ink-2); font-size: 14.8px; line-height: 1.75; margin: 0 0 16px; }
.mock { background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 14px; font-size: 13.5px; }
.mock .r { display: flex; justify-content: space-between; gap: 10px; padding: 5px 0; }
.mock .r .k { color: var(--ink-3); }
.mock .r .v { color: var(--ink-2); font-weight: 600; }
.mock .r .v.ok { color: var(--accent-ink); }
.mock .r .v.in { color: var(--up-ink); }
.mock .r .v.out { color: var(--accent-ink); }
.mock .bar { height: 8px; border-radius: 6px; background: var(--line-2); overflow: hidden; margin: 7px 0 12px; }
.mock .bar i { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, var(--accent), #34d399); }
.mock .lbl { display: flex; justify-content: space-between; font-size: 13px; color: var(--ink-3); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 600;
  border: 1px solid var(--line); background: var(--panel); color: var(--ink-2); }
.pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-3); }
.pill.on { color: var(--accent-ink); border-color: rgba(16,185,129,.4); background: var(--accent-soft); }
.pill.on i { background: var(--accent); }
.pill.review { color: var(--warn-ink); border-color: rgba(217,119,6,.4); background: var(--warn-soft); }
.pill.review i { background: var(--warn); }
.shields { display: flex; flex-wrap: wrap; gap: 8px; }
.shield { padding: 7px 12px; border-radius: 10px; background: var(--panel); border: 1px solid var(--line); font-size: 12.5px; color: var(--ink-2); font-weight: 600; }

/* ---------------- 对比表 ---------------- */
.cmp-wrap { overflow-x: auto; border-radius: 18px; border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--panel); }
.cmp { width: 100%; border-collapse: collapse; min-width: 680px; font-size: 15.5px; }
.cmp th, .cmp td { padding: 16px 22px; text-align: center; border-bottom: 1px solid var(--line-2); }
.cmp thead th { background: var(--line-2); font-weight: 700; color: var(--ink-2); font-size: 14.5px; }
.cmp th:first-child, .cmp td:first-child { text-align: left; color: var(--ink-2); font-weight: 650; }
.cmp td.ours { background: var(--accent-soft); color: var(--accent-ink); font-weight: 750; }
.cmp thead th.ours { background: var(--accent-soft); color: var(--accent-ink); }
.cmp tbody tr:last-child td { border-bottom: 0; }

/* ---------------- 关于 / 图文 ---------------- */
.duo { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 4vw, 64px); align-items: center; }
@media (max-width: 980px) { .duo { grid-template-columns: 1fr; } }
.duo p { color: var(--ink-2); font-size: 16.5px; line-height: 2; margin: 0 0 16px; }
.duo .img { border-radius: 20px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.duo .img img { width: 100%; }

/* ---------------- 资讯滚动 ---------------- */
.as-wrap { position: relative; overflow: hidden; padding: 8px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.as-track { display: flex; width: max-content; gap: 22px; cursor: grab; will-change: transform; }
.as-group { display: flex; gap: 22px; }
.as-card { width: 344px; flex: 0 0 auto; background: var(--panel); border: 1px solid var(--line); border-radius: 16px;
  overflow: hidden; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.as-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.as-thumb { height: 176px; background: var(--line-2) center/cover no-repeat; }
.as-body { padding: 16px 18px 20px; }
.as-title { margin: 0 0 8px; font-size: 16.5px; font-weight: 700; line-height: 1.45;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.as-sum { margin: 0 0 12px; color: var(--ink-3); font-size: 14px; line-height: 1.65;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.as-date { color: var(--ink-3); font-size: 12.5px; }
.as-empty { color: var(--ink-3); text-align: center; padding: 34px; }

/* ---------------- 文章列表/详情/归档 ---------------- */
.article-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
@media (max-width: 1000px) { .article-grid { grid-template-columns: 1fr; } }
.article-card { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
  box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; display: flex; flex-direction: column; }
.article-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.article-card .thumb { height: 190px; background: var(--line-2) center/cover no-repeat; }
.article-card .body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.article-card h3 { margin: 0 0 10px; font-size: 18px; line-height: 1.45; }
.article-card p { color: var(--ink-3); font-size: 14.5px; margin: 0 0 14px; flex: 1; }
.article-card .meta { color: var(--ink-3); font-size: 13px; }
.pager { display: flex; justify-content: center; gap: 10px; margin: 44px 0 10px; }
.pager a, .pager span { padding: 9px 18px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink-2); font-size: 14.5px; }
.pager a:hover { border-color: var(--accent); color: var(--accent-ink); }
.pager .disabled { opacity: .4; pointer-events: none; }
.article-view { max-width: 880px; margin: 0 auto; }
.article-view h1 { font-size: clamp(26px, 3.8vw, 42px); margin: 0 0 14px; letter-spacing: -.02em; }
.article-view .meta { color: var(--ink-3); font-size: 14.5px; margin-bottom: 30px; }
.article-view .content, .custom-html { font-size: 17px; line-height: 2; color: var(--ink-2); }
.article-view .content img, .custom-html img { border-radius: 16px; margin: 14px 0; }
/* 文章正文排版：后台富文本只写语义标签，样式统一在这里给（2026-10-20 起教程类长文变多） */
.article-view .content h2 { font-size: 23px; margin: 40px 0 14px; color: var(--ink); letter-spacing: -.01em; line-height: 1.5; }
.article-view .content h3 { font-size: 18.5px; margin: 28px 0 10px; color: var(--ink); line-height: 1.5; }
.article-view .content p { margin: 13px 0; }
.article-view .content ul, .article-view .content ol { margin: 13px 0; padding-left: 24px; }
.article-view .content li { margin: 7px 0; }
.article-view .content pre { margin: 16px 0; padding: 16px 18px; background: var(--bg); border: 1px solid var(--line);
  border-radius: 12px; font-size: 13.5px; line-height: 1.8; color: var(--ink-2);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.article-view .content code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .92em; background: var(--line-2); border-radius: 6px; padding: 2px 6px; }
.article-view .content pre code { background: none; padding: 0; font-size: inherit; }
.article-view .content table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 15px; line-height: 1.7; }
.article-view .content th, .article-view .content td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; vertical-align: top; }
.article-view .content th { background: var(--line-2); color: var(--ink); font-weight: 700; }
.article-view .content blockquote { margin: 18px 0; padding: 14px 18px; border-left: 3px solid var(--accent);
  background: var(--panel); border-radius: 0 12px 12px 0; color: var(--ink-2); }
.article-view .content blockquote p:first-child { margin-top: 0; }
.article-view .content blockquote p:last-child { margin-bottom: 0; }
.article-view .content a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; }
.article-view .content hr { border: none; border-top: 1px solid var(--line); margin: 32px 0; }
.custom-html { max-width: 1100px; margin: 0 auto; }
.archive-group { margin-bottom: 32px; }
.archive-group h3 { font-size: 18px; border-left: 3px solid var(--accent); padding-left: 14px; margin: 0 0 12px; }
.archive-group ul { list-style: none; padding: 0; margin: 0; }
.archive-group li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line-2); font-size: 16px; }
.archive-group li a:hover { color: var(--accent-ink); }
.archive-group .d { color: var(--ink-3); font-size: 13.5px; white-space: nowrap; }

/* ---------------- 步骤 / FAQ ---------------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 30px 26px; box-shadow: var(--shadow); }
.step .no { font-size: 34px; font-weight: 850; color: var(--accent-soft); -webkit-text-stroke: 1px var(--accent); letter-spacing: -.03em; }
[data-theme='dark'] .step .no { color: transparent; }
.step h4 { margin: 12px 0 8px; font-size: 17.5px; }
.step p { color: var(--ink-2); font-size: 14.6px; line-height: 1.75; margin: 0; }
.faq { max-width: 900px; margin: 0 auto; }
.faq details { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; margin-bottom: 12px; box-shadow: var(--shadow); overflow: hidden; }
.faq summary { cursor: pointer; padding: 18px 22px; font-weight: 650; font-size: 16.5px; list-style: none; display: flex; justify-content: space-between; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--accent-ink); font-weight: 700; }
.faq details[open] summary::after { content: '−'; }
.faq .a { padding: 0 22px 20px; color: var(--ink-2); font-size: 15.5px; line-height: 1.85; }

/* ---------------- Footer ---------------- */
.site-footer { border-top: 1px solid var(--line); background: var(--panel); margin-top: 40px; }
.site-footer .wrap { padding-top: 56px; padding-bottom: 40px; }
.foot-top { display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; }
.foot-brand { font-weight: 800; font-size: 19px; }
.foot-brand small { display: block; color: var(--ink-3); font-weight: 500; font-size: 13.5px; margin-top: 6px; }
.foot-links { display: flex; gap: 26px; flex-wrap: wrap; align-items: center; }
.foot-links a { color: var(--ink-3); font-size: 15px; }
.foot-links a:hover { color: var(--accent-ink); }
.foot-contact { color: var(--ink-3); font-size: 14.5px; max-width: 420px; }
.foot-bottom { margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--line-2); color: var(--ink-3); font-size: 14px;
  display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.foot-bottom a { color: var(--ink-3); }
.foot-bottom a:hover { color: var(--accent-ink); }

/* 全局：`hidden` 属性必须真的能藏住元素。
 * 某些控件在 CSS 里声明了 display（如 .contact-fab 是 display:grid），
 * 作者样式会盖掉浏览器对 [hidden] 的默认 display:none，所以这里兜一层 !important。 */
[hidden] { display: none !important; }

/* ---------------- 客服悬浮窗（036）----------------
 *
 * ⚠️ 这套样式**必须放在本文件**（公共页只加载 site.css）。
 *
 * 历史坑（2026-10-17 修复）：这些规则曾被"统一"到 theme.css，理由是"避免两份定义互相覆盖、
 * 改了不生效"。但 theme.css **只在后台 adm_head 里加载**，公共页的 pub_head 从不引它 ——
 * 结果不是"以 theme.css 为准"，而是**公共页上这套样式整体消失**：
 * 真机实测 `.contact-fab` 算出 position:static / 34×23px，被排到页面最底部，
 * 用户看到的就是"客服悬浮窗不见了"。
 *
 * 现在归属明确：几何/配色/层级一律在本文件；theme.css 里只留一条指回这里的注释。
 * 层级关系：mask 59 < fab 60 < panel 61（遮罩必须低于面板，否则面板点不动 —— 曾踩过）。
 */
.contact-fab {
  position: fixed; right: 18px; top: 75%; transform: translateY(-50%); z-index: 60;
  width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid rgba(var(--glow-green), .55);
  background: var(--panel);
  color: var(--ink); font-size: 22px;
  display: grid; place-items: center;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(var(--glow-green), .35);
  transition: border-color .18s ease, box-shadow .18s ease;
}
.contact-fab:hover { border-color: var(--accent); box-shadow: 0 8px 26px rgba(var(--glow-green), .5); }
/* 闪烁 = 一圈向外扩散消散的光环（比"呼吸透明度"更像"在叫你"） */
.contact-fab::before {
  content: "";
  position: absolute; inset: -4px; border-radius: 50%;
  border: 2px solid rgba(var(--glow-green), .7);
  animation: fabPulse 1.8s ease-out infinite;
  pointer-events: none;
}
@keyframes fabPulse {
  0%   { transform: scale(.92); opacity: .9; }
  70%  { transform: scale(1.45); opacity: 0; }
  100% { transform: scale(1.45); opacity: 0; }
}
.contact-fab.on { border-color: var(--accent); }

/* 面板：贴着圆钮上方弹出，近实底 + 强模糊（与移动抽屉同一套质感） */
.contact-fab-mask { position: fixed; inset: 0; z-index: 59; }
.contact-panel {
  position: fixed; right: 18px; bottom: 90px; z-index: 61;
  width: min(320px, calc(100vw - 32px));
  max-height: min(70vh, 560px); overflow-y: auto;
  background: var(--drawer-bg);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  backdrop-filter: blur(24px) saturate(1.4);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 22px 48px rgba(0, 0, 0, .35);
  padding: 14px;
  animation: modalIn .24s cubic-bezier(.16, 1, .3, 1) both;
}
.contact-panel-title {
  font-size: 14px; font-weight: 700; margin-bottom: 10px;
  display: flex; align-items: center; gap: 8px;
}
.contact-panel-title::before {
  content: ""; width: 3px; height: 14px; border-radius: 2px;
  background: linear-gradient(180deg, var(--accent), var(--grad-b));
  box-shadow: 0 0 8px rgba(var(--glow-green), .55);
}
.contact-item {
  border: 1px solid var(--line-2); border-radius: var(--radius-sm);
  padding: 10px 12px; margin-bottom: 10px;
  background: rgba(var(--glow-green), .04);
}
.contact-item:last-child { margin-bottom: 0; }
.contact-item-head { display: flex; align-items: center; gap: 8px; }
.contact-item-head b { font-size: 13.5px; }
.contact-item-text { font-size: 12.5px; color: var(--ink-2); margin-top: 4px; line-height: 1.6; }
/* 二维码：白底衬（深色下二维码图本身多为白底，垫白保证可扫） */
.contact-qr {
  display: block; width: 100%; max-width: 190px; margin: 8px auto 6px;
  border-radius: 8px; border: 1px solid var(--line); background: #fff; padding: 6px;
}
.contact-link { margin-top: 6px; }
@media (prefers-reduced-motion: reduce) {
  .contact-fab::before { animation: none; opacity: .45; }
  .contact-panel { animation: none; }
}

.contact-badge { font-size: 11.5px; color: var(--ink-3); border: 1px solid var(--line); border-radius: 999px; padding: 1px 8px; }

/* ---------------- 404 ---------------- */
.nf { text-align: center; padding: clamp(70px, 13vw, 160px) 20px; }
.nf h1 { font-size: clamp(72px, 17vw, 168px); margin: 0; font-weight: 850; color: var(--line); letter-spacing: -.04em; }
.nf p { color: var(--ink-3); font-size: 17px; margin: 8px 0 26px; }

/* ---------------- 首页 Banner ---------------- */
.banner { max-width: var(--site-max); margin: 0 auto; padding: 0 clamp(20px, 4vw, 64px); }
.banner.full { max-width: none; padding: 0; }
.banner img { width: 100%; height: var(--bh, 460px); object-fit: cover; display: block; border-radius: 0 0 20px 20px; }
.banner.full img { border-radius: 0; height: var(--bh, 460px); }
.banner a { display: block; }
.hero.text-only .wrap { grid-template-columns: 1fr; }
.hero.text-only .sub { max-width: 780px; }

/* ---------------- 交替底色 section ---------------- */
.section.alt { background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* ---------------- 为什么选择 ---------------- */
.why-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 22px; }
@media (max-width: 1000px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .why-grid { grid-template-columns: 1fr; } }
.why { background: var(--bg); border: 1px solid var(--line); border-radius: 18px; padding: 26px; transition: transform .2s, border-color .2s, box-shadow .2s; }
.why:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: var(--shadow-lg); }
.why .ic { font-size: 26px; margin-bottom: 12px; }
.why h4 { margin: 0 0 8px; font-size: 17.5px; letter-spacing: -.01em; }
.why p { color: var(--ink-2); font-size: 14.8px; line-height: 1.75; margin: 0; }

/* ---------------- 数据带 ---------------- */
.stat-band { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 22px; margin-top: 34px; padding: 32px 28px; border-radius: 20px;
  background: linear-gradient(135deg, #0b1220 0%, #16213a 100%); color: #fff; box-shadow: var(--shadow-lg); }
@media (max-width: 760px) { .stat-band { grid-template-columns: repeat(2, 1fr); } }
.stat-band .sb b { display: block; font-size: clamp(24px, 3vw, 34px); font-weight: 850; letter-spacing: -.02em; }
.stat-band .sb span { color: rgba(255,255,255,.66); font-size: 13.5px; }

/* ---------------- 定价 ---------------- */
.price-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; align-items: stretch; }
@media (max-width: 980px) { .price-grid { grid-template-columns: 1fr; } }
.price { position: relative; display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line);
  border-radius: 20px; padding: 30px 26px; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s, border-color .2s; }
.price:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.price.featured { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft), var(--shadow-lg); }
.price .tag { display: inline-block; align-self: flex-start; padding: 4px 12px; border-radius: 999px; background: var(--accent-soft);
  color: var(--accent-ink); font-size: 12.5px; font-weight: 700; margin-bottom: 14px; }
.price .tag.hot { background: var(--accent); color: #fff; }
.price .amt { display: flex; align-items: baseline; gap: 8px; }
.price .amt b { font-size: 34px; font-weight: 850; letter-spacing: -.02em; }
.price .amt span { color: var(--ink-3); font-size: 14px; }
.price .desc { color: var(--ink-3); font-size: 14.5px; margin: 8px 0 18px; }
.price ul { list-style: none; padding: 0; margin: 0 0 24px; flex: 1; }
.price li { padding: 9px 0; border-bottom: 1px solid var(--line-2); color: var(--ink-2); font-size: 14.6px; }
.price li:last-child { border-bottom: 0; }
.price .btn { justify-content: center; }

/* ---------------- CTA 带 ---------------- */
.cta-band { padding: clamp(30px, 5vw, 70px) 0; }
.cta-inner { text-align: center; border-radius: 24px; padding: clamp(40px, 6vw, 72px) 24px;
  background: radial-gradient(700px 320px at 50% -30%, rgba(16,185,129,.3), transparent 65%), linear-gradient(160deg, #0b1220, #0e1526);
  color: #fff; border: 1px solid rgba(255,255,255,.08); }
.cta-inner h2 { font-size: clamp(26px, 3.4vw, 40px); margin: 0 0 12px; font-weight: 800; letter-spacing: -.02em; }
.cta-inner p { color: rgba(255,255,255,.72); font-size: 17px; margin: 0 0 26px; }

/* ---------------- 滚动揭示动效 ---------------- */
[data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s cubic-bezier(.22,.61,.36,1); }
[data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1; transform: none; transition: none; } }
/* 卡片 hover 流光描边 */
.cap, .price, .why { position: relative; overflow: hidden; }
.cap::after, .price::after, .why::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(120deg, transparent 30%, rgba(16,185,129,.14) 50%, transparent 70%); background-size: 220% 100%;
  background-position: 200% 0; transition: background-position .7s ease; }
.cap:hover::after, .price:hover::after, .why:hover::after { background-position: -40% 0; }

/* ---------------- Hero 代码终端卡 ---------------- */
.hero .wrap { align-items: stretch; }
.term { display: flex; flex-direction: column; align-self: stretch; border-radius: 16px; overflow: hidden;
  border: 1px solid rgba(255,255,255,.14); background: rgba(8,12,22,.74);
  box-shadow: 0 40px 90px rgba(0,0,0,.55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); min-height: 300px; }
.term-bar { display: flex; align-items: center; gap: 8px; padding: 13px 18px; border-bottom: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.03); }
.term-bar i { width: 11px; height: 11px; border-radius: 50%; }
.term-bar i:nth-child(1) { background: #ff5f57; }
.term-bar i:nth-child(2) { background: #febc2e; }
.term-bar i:nth-child(3) { background: #28c840; }
.term-bar .t { color: rgba(255,255,255,.5); font-size: 13px; margin-left: 8px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.term-body { flex: 1; padding: 22px 24px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 14.5px; line-height: 2; color: #cbd5e1; white-space: pre-wrap; word-break: break-word; overflow: visible; }
.term-body .cm { color: #64748b; }
.term-body .kw { color: #f472b6; }
.term-body .str { color: #6ee7b7; }
.term-body .ok { color: #34d399; }
.term-body .cur { display: inline-block; width: 8px; height: 16px; background: #34d399; margin-left: 3px; vertical-align: -3px; animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ---------------- 安装指南 ---------------- */
.guide-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 22px; }
@media (max-width: 900px) { .guide-grid { grid-template-columns: 1fr; } }
.guide { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 22px; box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s, border-color .2s; }
.guide:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--accent); }
.guide-head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.gicon { width: 54px; height: 54px; flex: 0 0 54px; border-radius: 14px; display: grid; place-items: center; font-size: 24px;
  background: linear-gradient(135deg, #0b1220, #16213a); color: #fff; font-family: ui-monospace, monospace; overflow: hidden; }
.gicon img { width: 100%; height: 100%; object-fit: cover; }
.gmeta { flex: 1; min-width: 0; }
.gmeta .glabel { display: block; color: var(--ink-3); font-size: 12.5px; margin-bottom: 2px; }
.gmeta b { font-size: 19px; font-weight: 780; letter-spacing: -.01em; }
.gcmd { margin: 0; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 16px;
  overflow: hidden; font-size: 13.5px; line-height: 1.75; color: var(--ink-2); white-space: pre-wrap; word-break: break-word;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.guide .btn-sm { padding: 8px 16px; font-size: 13.5px; white-space: nowrap; }
/* 「详细」按钮固定在命令行框下方，整行可点（用户口径 2026-10-20：按钮必须在代码框下面） */
.guide-foot { margin-top: 12px; display: flex; }
.guide-foot .btn-sm { width: 100%; justify-content: center; }

/* ---------------- 功能矩阵 ---------------- */
.matrix-wrap { overflow-x: auto; border-radius: 18px; border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--panel); }
.matrix { width: 100%; border-collapse: collapse; min-width: 760px; font-size: 15px; }
.matrix th, .matrix td { padding: 14px 20px; border-bottom: 1px solid var(--line-2); text-align: left; }
.matrix thead th { background: var(--line-2); color: var(--ink-2); font-size: 14px; font-weight: 700; }
.matrix td:first-child { font-weight: 650; color: var(--ink); }
.matrix .yes { color: var(--accent-ink); font-weight: 700; }
.matrix .no { color: var(--ink-3); }
.matrix tbody tr:hover td { background: var(--line-2); }

/* ---------------- 应用场景 ---------------- */
.uc-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 22px; }
@media (max-width: 1000px) { .uc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .uc-grid { grid-template-columns: 1fr; } }
.uc { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 26px; box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s, border-color .2s; }
.uc:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--accent); }
.uc .ic { font-size: 26px; margin-bottom: 12px; }
.uc h4 { margin: 0 0 8px; font-size: 17px; }
.uc p { color: var(--ink-2); font-size: 14.6px; line-height: 1.75; margin: 0; }

/* ---------------- 集成生态 ---------------- */
.int-chips { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.int-chip { display: inline-flex; align-items: center; gap: 9px; padding: 12px 20px; border-radius: 14px; background: var(--panel);
  border: 1px solid var(--line); font-weight: 600; color: var(--ink-2); box-shadow: var(--shadow); transition: transform .18s, border-color .18s; }
.int-chip:hover { transform: translateY(-2px); border-color: var(--accent); color: var(--accent-ink); }
.int-chip .d { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }

/* ---------------- 安全合规 ---------------- */
.sec-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 22px; }
@media (max-width: 1000px) { .sec-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .sec-grid { grid-template-columns: 1fr; } }
.sec-item { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 24px; box-shadow: var(--shadow); }
.sec-item .ic { font-size: 24px; margin-bottom: 10px; }
.sec-item h4 { margin: 0 0 6px; font-size: 16.5px; }
.sec-item p { color: var(--ink-3); font-size: 14px; line-height: 1.7; margin: 0; }

/* ---------------- 支持渠道 ---------------- */
.sup-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 22px; }
@media (max-width: 1000px) { .sup-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .sup-grid { grid-template-columns: 1fr; } }
.sup { text-align: center; background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 30px 22px; box-shadow: var(--shadow);
  transition: transform .2s, border-color .2s; }
.sup:hover { transform: translateY(-4px); border-color: var(--accent); }
.sup .ic { font-size: 28px; margin-bottom: 10px; }
.sup h4 { margin: 0 0 6px; font-size: 16.5px; }
.sup p { color: var(--ink-3); font-size: 14px; margin: 0; }

/* ---------------- 移动端适配（对标头部站） ---------------- */
.nav-burger { display: none; width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--panel); color: var(--ink); cursor: pointer; font-size: 16px; place-items: center; }
.mnav { display: none; }
@media (max-width: 900px) {
  .site-header .wrap { height: 60px; gap: 10px; padding: 0 16px; }
  .brand { font-size: 17px; }
  .brand img { height: 28px; }
  .nav { gap: 6px; }
  .nav .navlink { display: none; }
  .theme-toggle { width: 34px; height: 34px; }
  .head-cta { padding: 8px 14px; font-size: 13.5px; white-space: nowrap; }
  .nav-burger { display: grid; }
  .mnav.open { display: flex; flex-direction: column; padding: 8px 16px 14px; background: var(--panel); border-bottom: 1px solid var(--line); }
  .mnav a { padding: 12px 4px; border-bottom: 1px solid var(--line-2); font-weight: 600; color: var(--ink-2); }
  .mnav a:last-child { border-bottom: 0; color: var(--accent-ink); }

  .wrap { padding: 0 16px; }
  .section { padding: 44px 0; }
  .hero .wrap { padding-top: 36px; padding-bottom: 36px; gap: 26px; }
  .hero h1 { font-size: clamp(22px, 6.9vw, 34px); letter-spacing: -.03em; }
  .hero .sub { font-size: 15.5px; }
  .hero-stats { gap: 18px 26px; }
  .sec-title { font-size: clamp(22px, 6.6vw, 30px); }
  .sec-head { align-items: flex-start; }
  .term-body { font-size: 12px; line-height: 1.85; padding: 16px; }
  .term-bar .t { font-size: 12px; }
  .tabs-head { width: 100%; }
  .tab-head { width: 100%; justify-content: center; }
  .tab-head button { padding: 10px 14px; font-size: 14px; }
  .cmp-wrap, .matrix-wrap { border-radius: 14px; }
  .stat-band { padding: 24px 18px; gap: 16px; }
  .cta-inner { padding: 40px 18px; }
  .contact-fab { right: 14px; top: 78%; width: 48px; height: 48px; font-size: 20px; }
  .contact-panel { right: 14px; bottom: 84px; }
  .foot-top { flex-direction: column; gap: 20px; }
}
@media (max-width: 480px) {
  .term-body { font-size: 11px; }
  .hero-stats { gap: 14px 20px; }
  .guide-head { flex-wrap: wrap; }
}

/* ---------------- 精修：对齐 / 对称 ---------------- */
.sec-head.center { flex-direction: column; align-items: center; text-align: center; }
.sec-head.center .sec-sub { max-width: 760px; }
.sec-line.center { margin-left: auto; margin-right: auto;
  background: linear-gradient(90deg, rgba(16,185,129,0), var(--accent), rgba(16,185,129,0));
  background-size: 200% 100%; animation: flowline 3.4s linear infinite; }
@keyframes flowline { from { background-position: 200% 0; } to { background-position: -80% 0; } }
.hero .wrap { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); }
.hero-copy { min-width: 0; }
.hero-actions .btn { min-width: 210px; justify-content: center; }
.hero-stats { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; }
.hero-stat { border-left: 2px solid rgba(255,255,255,.14); padding-left: 16px; }
.hero-stat:first-child { border-left: 0; padding-left: 0; }
.tab-cta { display: flex; justify-content: center; margin-top: 34px; }
.tabs-head .tab-head { flex-wrap: wrap; justify-content: center; }
.hero-fx { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: .6; }

/* CTA 带：流光描边 */
.cta-inner { position: relative; overflow: hidden; }
.cta-inner::before { content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: conic-gradient(from 0deg, transparent 0 62%, rgba(16,185,129,.95) 76%, transparent 86%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; animation: spin 6s linear infinite; pointer-events: none; opacity: .85; }
@keyframes spin { to { transform: rotate(1turn); } }

/* 标题 em 流光 */
.sec-title em, .hero h1 .grad { background-size: 220% 100%; animation: sheen 5.5s linear infinite; }
@keyframes sheen { from { background-position: 180% 0; } to { background-position: -70% 0; } }

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-actions .btn { min-width: 0; }
  .hero-stats { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 480px) { .hero-actions .btn { min-width: 0; } }

/* ---------------- 移动端表格转卡片（免横向滚动） ---------------- */
@media (max-width: 760px) {
  .cmp-wrap, .matrix-wrap { border: 0; box-shadow: none; background: transparent; border-radius: 0; overflow: visible; }
  .cmp, .matrix { min-width: 0; width: 100%; display: block; }
  .cmp thead, .matrix thead { display: none; }
  .cmp tbody, .matrix tbody { display: block; }
  .cmp tr, .matrix tr { display: block; background: var(--panel); border: 1px solid var(--line); border-radius: 14px;
    padding: 6px 16px; margin-bottom: 12px; box-shadow: var(--shadow); }
  .cmp td, .matrix td { display: flex; justify-content: space-between; align-items: baseline; gap: 14px;
    border: 0; border-bottom: 1px solid var(--line-2); padding: 10px 2px; text-align: right; }
  .cmp tr td:last-child, .matrix tr td:last-child { border-bottom: 0; }
  .cmp td::before, .matrix td::before { content: attr(data-label); color: var(--ink-3); font-weight: 650; text-align: left; flex: 0 0 auto; }
  .cmp td:first-child, .matrix td:first-child { font-weight: 750; color: var(--ink); }
  .cmp td.ours, .matrix td.yes { background: var(--accent-soft); border-radius: 8px; padding-left: 10px; padding-right: 10px; }
}

/* ---------------- 代码窗：强制自动换行，绝不横向滚动（最终覆盖） ---------------- */
.term-body, .gcmd, .custom-html pre, .article-view pre {
  white-space: pre-wrap !important;
  overflow-wrap: anywhere !important;
  word-break: break-word !important;
  overflow-x: hidden !important;
}
.term { overflow: hidden !important; }

/* 合并后的两个业务块（原 Tab） */
.tp-block { margin-bottom: 8px; }
.tp-block + .tp-block { margin-top: 56px; padding-top: 56px; border-top: 1px solid var(--line); }

/* ==========================================================================
   头部导航「光效 / 悬浮特效」（用户口径 2026-10-15）
   —— 统一用站点强调色（翡翠绿 --accent）做光晕，避免引入第二种彩色变花。
   —— 所有动效都在 prefers-reduced-motion 下关闭（无障碍硬要求）。
   ========================================================================== */

/* 1) 品牌区：悬浮微上浮 + 图标发光 + 站名文字泛光 */
.brand { transition: transform .18s ease; }
.brand:hover { transform: translateY(-1px); }
.brand img { transition: transform .22s ease, filter .22s ease; }
.brand:hover img { transform: scale(1.05); filter: drop-shadow(0 0 10px rgba(16,185,129,.55)); }
.brand-text { transition: text-shadow .22s ease, color .22s ease; }
.brand:hover .brand-text { text-shadow: 0 0 18px rgba(16,185,129,.5); }

/* 2) 菜单项：底衬 + 描边光晕 + 一道自左向右的扫光 */
.nav a.navlink {
  position: relative; overflow: hidden;
  transition: background .18s ease, color .18s ease, transform .18s ease, box-shadow .22s ease;
}
.nav a.navlink::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(100deg, transparent 22%, rgba(16,185,129,.24) 50%, transparent 78%);
  transform: translateX(-130%); transition: transform .5s ease;
}
.nav a.navlink:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(16,185,129,.18), inset 0 0 0 1px rgba(16,185,129,.3);
}
.nav a.navlink:hover::after { transform: translateX(130%); }
.nav a.navlink.active { box-shadow: inset 0 0 0 1px rgba(16,185,129,.36); }

/* 3) 主题灯：悬浮旋转 + 外圈光环 */
.theme-toggle { transition: border-color .16s, color .16s, transform .3s ease, box-shadow .25s ease; }
.theme-toggle:hover {
  transform: rotate(180deg) scale(1.06);
  box-shadow: 0 0 0 4px rgba(16,185,129,.14), 0 6px 20px rgba(16,185,129,.3);
}

/* 4) 免费领取：**辐射光效**（向外一圈圈扩散的光环）+ 悬浮时一道扫光掠过。
   实现要点：光环用**元素自身的 box-shadow 动画**，不要用伪元素 ——
   .head-cta 上有 overflow:hidden（为了让扫光不溢出），伪元素会被裁掉，光环就出不来；
   而 box-shadow 画在元素边框盒之外，不受自身 overflow 影响。 */
.head-cta { position: relative; overflow: hidden; animation: ctaRipple 2.4s ease-out infinite; }
.head-cta::before {
  content: ''; position: absolute; top: 0; bottom: 0; width: 42%; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.5), transparent);
  transform: translateX(-170%); transition: transform .55s ease;
}
.head-cta:hover::before { transform: translateX(270%); }
.head-cta:hover { box-shadow: 0 12px 32px rgba(16,185,129,.52); animation-play-state: paused; }
@keyframes ctaRipple {
  0%   { box-shadow: 0 8px 22px rgba(16,185,129,.42), 0 0 0 0 rgba(16,185,129,.55); }
  70%  { box-shadow: 0 8px 22px rgba(16,185,129,.42), 0 0 0 14px rgba(16,185,129,0); }
  100% { box-shadow: 0 8px 22px rgba(16,185,129,.42), 0 0 0 0 rgba(16,185,129,0); }
}

/* 5) 无障碍：系统开启「减少动态效果」时，一律关掉动效（保留静态描边/配色差异） */
@media (prefers-reduced-motion: reduce) {
  .brand, .brand img, .brand-text, .theme-toggle, .head-cta,
  .nav a.navlink, .nav a.navlink::after, .head-cta::before { transition: none !important; }
  .head-cta { animation: none !important; }
  .brand:hover, .brand:hover img, .theme-toggle:hover, .nav a.navlink:hover { transform: none; }
  .nav a.navlink::after, .head-cta::before { display: none; }
}
