/* =========================================================
   清洗行业知识平台 · 前台样式 v2
   设计语言：深邃蓝阶 · 大留白 · 细描边 · 多层柔影 · 克制微动效
   ---------------------------------------------------------
   ⚠ 后台 templates/admin/** 同时加载本文件 + admin.css，
     因此本文件：
       1) 不删除任何既有 :root 令牌（只增补）；
       2) 不对 html/body 设置 overflow（避免破坏后台 sticky 侧栏）；
       3) 所有 <=960px 的前台布局规则（.nav/.hero/.layout/.side/
          .cards-*、.quick、.cat-*、.biz-*、.trust、.auth、.uc、.foot-grid）
          后台模板均未使用，且这些规则不改变 .tbl/.tbl-wrap 的结构，
          故后台侧栏与表格布局不受影响。
   ========================================================= */
:root {
  /* —— 品牌色阶（深邃化 + 补齐中间档） —— */
  --brand: #0f5c8c;
  --brand-900: #061e30;
  --brand-800: #09304a;
  --brand-700: #0a4569;
  --brand-600: #0c4d76;
  --brand-500: #0f5c8c;
  --brand-400: #3a86b8;
  --brand-300: #6ea9cd;
  --brand-100: #d6e7f2;
  --brand-50: #eef5fa;
  --accent: #14a3a0;
  --accent-600: #0f8481;
  --accent-100: #d6f0ef;
  /* —— 中性色阶 —— */
  --ink: #111c26;
  --ink-2: #44535f;
  --ink-3: #7e8c98;
  --ink-4: #a3b0bb;
  --line: #e2e8ee;
  --line-2: #eef2f6;
  --line-strong: #cfd9e3;
  --bg: #ffffff;
  --bg-soft: #f6f8fb;
  --bg-mute: #f1f4f8;
  --dark: #0a1722;
  --dark-2: #102434;
  --dark-3: #17303f;
  --ok: #1f8a5b;
  --warn: #b7791f;
  --danger: #c0392b;
  /* —— 圆角体系 8 / 12 / 16 —— */
  --radius: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-pill: 999px;
  /* —— 多层柔和阴影（细描边 + 远影） —— */
  --shadow-xs: 0 1px 2px rgba(16, 36, 52, .05);
  --shadow-sm: 0 1px 2px rgba(16, 36, 52, .06), 0 2px 8px -4px rgba(16, 36, 52, .08);
  --shadow: 0 1px 2px rgba(16, 36, 52, .04), 0 12px 32px -16px rgba(16, 36, 52, .24);
  --shadow-lg: 0 2px 6px rgba(16, 36, 52, .05), 0 28px 64px -28px rgba(15, 92, 140, .42);
  --shadow-brand: 0 10px 26px -14px rgba(15, 92, 140, .65);
  --ring-brand: 0 0 0 4px rgba(15, 92, 140, .12);
  /* —— 版式与节奏 —— */
  --maxw: 1200px;
  --fs-xs: 12px;
  --fs-sm: 13px;
  --fs-md: 14px;
  --fs-base: 15px;
  --fs-lg: 17px;
  --fs-xl: 20px;
  --fs-2xl: 26px;
  --fs-3xl: 32px;
  --fs-4xl: 40px;
  --lh-tight: 1.3;
  --lh-base: 1.75;
  --sp-1: 8px;
  --sp-2: 12px;
  --sp-3: 16px;
  --sp-4: 24px;
  --sp-5: 32px;
  --sp-6: 48px;
  --sp-7: 52px;
  /* —— 动效（克制：150–220ms） —— */
  --t-fast: 150ms;
  --t: 190ms;
  --t-slow: 220ms;
  --ease: cubic-bezier(.22, .61, .36, 1);
  /* —— 字体（零外链，仅系统字体栈） —— */
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Segoe UI", sans-serif;
  --mono: ui-monospace, "SF Mono", Consolas, monospace;
  /* —— 皮肤语义令牌（换肤体系；此处为 deepblue 基底值，由 skins.css 按皮肤覆写） ——
     --surface*：浅色表面（卡片/面板/表格/输入框底，dark 皮肤翻转对象）
     --surface-dark* / --on-dark*：深色区块（.trust/.auth-side/.footer/.adm-side）表面与文字
     --glow-*：hero/trust/auth-side/verify-banner 的光斑渐变 rgba */
  --surface: #ffffff;
  --surface-soft: #fbfdff;
  --surface-hover: #fafcfe;
  --surface-dark: #0a1722;
  --surface-dark-2: #091420;
  --on-dark: #ffffff;
  --on-dark-2: #c9d6e2;
  --on-dark-3: #8ea3b6;
  --on-dark-link: #7fc4e8;
  --on-dark-bright: #b7e2fb;
  --line-on-dark: rgba(255, 255, 255, .1);
  --glow-brand: rgba(58, 134, 184, .22);
  --glow-brand-deep: rgba(58, 134, 184, .3);
  --glow-brand-strong: rgba(58, 134, 184, .38);
  --glow-brand-soft: rgba(15, 92, 140, .08);
  --glow-brand-mid: rgba(15, 92, 140, .16);
  --glow-brand-veil: rgba(15, 92, 140, .72);
  --glow-accent: rgba(20, 163, 160, .1);
  --glow-accent-mid: rgba(20, 163, 160, .16);
  --glow-accent-deep: rgba(20, 163, 160, .18);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
/* 注意：body 不设 overflow，避免破坏后台 .adm-side 的 position:sticky */
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); font-size: var(--fs-base); line-height: var(--lh-base); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
a { color: inherit; text-decoration: none; transition: color var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease); }
a:hover { color: var(--brand); }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { line-height: var(--lh-tight); letter-spacing: .2px; font-weight: 700; }
h1 { font-size: var(--fs-3xl); }
h2 { font-size: var(--fs-2xl); }
h3 { font-size: var(--fs-lg); }
:focus-visible { outline: 2px solid var(--brand-400); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--brand-100); }
/* 长串（订单号/链接/手机号）在窄屏换行，是消除横向溢出的关键 */
code, .cert code, .pkg b { overflow-wrap: anywhere; }

.ico { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; vertical-align: -0.125em; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.muted { color: var(--ink-3); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
/* 跳转到主内容（键盘可达） */
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 120; background: var(--brand); color: #fff; padding: 10px 16px; border-radius: var(--radius); font-size: var(--fs-md); font-weight: 600; transition: top var(--t) var(--ease); }
.skip-link:focus { top: 12px; color: #fff; }
.flash-wrap { padding-top: 18px; }

/* ---------- 按钮（primary / ghost / white / light / danger） ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 40px; padding: 0 18px; border-radius: var(--radius); border: 1px solid var(--line-strong); background: var(--surface); cursor: pointer; font-size: var(--fs-md); font-weight: 600; white-space: nowrap; transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease); }
.btn:hover { border-color: var(--brand); color: var(--brand); box-shadow: var(--shadow-xs); }
.btn:active { transform: translateY(1px); }
.btn.primary { background: linear-gradient(180deg, var(--brand-500) 0%, var(--brand-700) 100%); border-color: var(--brand); color: #fff; box-shadow: var(--shadow-brand); }
.btn.primary:hover { background: linear-gradient(180deg, var(--brand) 0%, var(--brand-700) 100%); color: #fff; transform: translateY(-1px); box-shadow: 0 14px 30px -14px rgba(15, 92, 140, .75); }
.btn.ghost { background: transparent; border-color: transparent; }
.btn.ghost:hover { background: var(--brand-50); box-shadow: none; }
/* .btn.light 仅限深色表面（.trust/.uc-hero/.verify-banner/.biz-img）内使用，白字已由对比度修复层锁定 */
.btn.light { background: rgba(255, 255, 255, .13); color: #fff; border-color: rgba(255, 255, 255, .3); backdrop-filter: blur(4px); }
.btn.light:hover { background: rgba(255, 255, 255, .22); color: #fff; border-color: rgba(255, 255, 255, .5); }
.btn.white { background: #fff; color: var(--brand); border-color: #fff; box-shadow: var(--shadow-sm); }
.btn.white:hover { background: #fff; color: var(--brand-700); border-color: #fff; transform: translateY(-1px); }
.btn.danger { color: var(--danger); }
.btn.danger:hover { border-color: var(--danger); color: var(--danger); background: #fdf3f2; }
.btn.sm { height: 32px; padding: 0 12px; font-size: var(--fs-sm); border-radius: 7px; }
.btn.lg { height: 50px; padding: 0 28px; font-size: var(--fs-lg); border-radius: var(--radius-md); }
.btn.block { width: 100%; }
.btn:disabled, .btn.disabled { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }

/* ---------- 标签 / 徽标 ---------- */
.tag { display: inline-flex; align-items: center; gap: 4px; font-size: var(--fs-xs); line-height: 21px; padding: 0 9px; border: 1px solid var(--line); border-radius: 5px; color: var(--ink-2); background: var(--surface); white-space: nowrap; font-weight: 600; }
.tag.brand { border-color: var(--brand-100); color: var(--brand); background: var(--brand-50); }
.tag.ok { border-color: #cfe9dc; color: var(--ok); background: #f0f9f4; }
.tag.warn { border-color: #f2e2c4; color: var(--warn); background: #fdf8ee; }
.tag.danger { border-color: #f1d0cc; color: var(--danger); background: #fdf3f2; }
.tag.dark { border-color: transparent; background: var(--surface-dark); color: #fff; }
.pin { display: inline-block; font-size: 11px; line-height: 18px; color: #fff; background: linear-gradient(90deg, #e08a1e, #d2691e); border-radius: 4px; padding: 0 6px; margin-right: 6px; vertical-align: 1px; font-weight: 700; }

.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: var(--fs-xs); letter-spacing: 2.4px; color: var(--brand); font-weight: 700; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.more { display: inline-flex; align-items: center; gap: 4px; font-size: var(--fs-md); color: var(--brand); white-space: nowrap; font-weight: 600; }
.more .ico { transition: transform var(--t) var(--ease); }
.more:hover .ico { transform: translateX(3px); }

.alert { display: flex; gap: 10px; align-items: flex-start; padding: 13px 16px; border-radius: var(--radius-md); font-size: var(--fs-md); margin-bottom: 18px; border: 1px solid; box-shadow: var(--shadow-xs); }
.alert.success { background: #f0f9f4; border-color: #cfe9dc; color: #17603f; }
.alert.error { background: #fdf3f2; border-color: #f1d0cc; color: #8f2b20; }
.alert.info { background: var(--brand-50); border-color: var(--brand-100); color: var(--brand-700); }
.alert .ico { margin-top: 4px; }

/* ---------- 顶部导航（滚动后毛玻璃 + 阴影） ---------- */
.topbar { position: sticky; top: 0; z-index: 60; background: rgba(255, 255, 255, .82); backdrop-filter: saturate(1.8) blur(14px); -webkit-backdrop-filter: saturate(1.8) blur(14px); border-bottom: 1px solid transparent; transition: border-color var(--t) var(--ease), box-shadow var(--t) var(--ease), background-color var(--t) var(--ease); }
.topbar.scrolled { border-color: var(--line); box-shadow: 0 1px 0 rgba(16,36,52,.02), 0 12px 28px -22px rgba(16, 36, 52, .38); background: rgba(255, 255, 255, .93); }
.topbar .wrap { display: flex; align-items: center; height: 66px; gap: 28px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: var(--fs-lg); letter-spacing: .4px; white-space: nowrap; color: var(--ink); }
.logo-mark { width: 32px; height: 32px; border-radius: 9px; background: linear-gradient(135deg, var(--brand) 0%, var(--brand-400) 100%); display: grid; place-items: center; color: #fff; box-shadow: 0 6px 14px -6px rgba(15, 92, 140, .8); }
.logo-mark .ico { width: 18px; height: 18px; stroke-width: 2.2; }
/* 自定义 Logo 图片：有 site_logo 时替换 .logo-mark 水滴 */
.logo-img { height: 36px; max-height: 36px; width: auto; max-width: 180px; object-fit: contain; display: block; }
.nav { display: flex; gap: 2px; flex: 1; }
.nav a { position: relative; padding: 8px 14px; border-radius: 8px; font-size: var(--fs-base); color: var(--ink-2); font-weight: 500; }
.nav a:hover { color: var(--brand); background: var(--brand-50); }
.nav a.active { color: var(--brand); font-weight: 700; }
.nav a.active::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: -13px; height: 2px; background: linear-gradient(90deg, var(--brand), var(--accent)); border-radius: 2px; }
/* 抽屉内的导航图标：桌面端隐藏，移动端显示 */
.nav .nav-i { display: none; }
/* 抽屉关闭按钮 / 遮罩：桌面隐藏，<=960px 生效 */
.nav-close { display: none; }
.nav-scrim { position: fixed; inset: 0; z-index: 80; background: rgba(6, 17, 27, .52); backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px); opacity: 0; visibility: hidden; transition: opacity var(--t-slow) var(--ease), visibility var(--t-slow) var(--ease); }
.nav-scrim.show { opacity: 1; visibility: visible; }
body.nav-open { overflow: hidden; }
.top-actions { display: flex; align-items: center; gap: 10px; }
.points-pill { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-sm); color: var(--brand); border: 1px solid var(--brand-100); background: var(--brand-50); border-radius: var(--radius-pill); padding: 3px 12px; font-weight: 700; }
.avatar { width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(135deg, var(--brand-400), var(--accent)); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: var(--fs-md); }
.menu-btn { display: none; }
.user-menu { position: relative; }
.user-menu .dropdown { position: absolute; right: 0; top: calc(100% + 10px); min-width: 190px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow); padding: 6px; display: none; }
.user-menu:hover .dropdown, .user-menu:focus-within .dropdown { display: block; }
.user-menu .dropdown::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.dropdown a, .dropdown button { display: flex; width: 100%; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 8px; font-size: var(--fs-md); border: 0; background: none; cursor: pointer; text-align: left; color: var(--ink-2); }
.dropdown a:hover, .dropdown button:hover { background: var(--brand-50); color: var(--brand); }

/* ---------- Hero 首屏（纯 CSS 光斑 + 细网格） ---------- */
.hero { position: relative; padding: 80px 0 64px; text-align: center; overflow: hidden; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background:
  radial-gradient(920px 430px at 50% -10%, var(--glow-brand), transparent 70%),
  radial-gradient(620px 320px at 88% 28%, var(--glow-accent), transparent 70%),
  radial-gradient(620px 320px at 6% 62%, var(--glow-brand-soft), transparent 70%),
  linear-gradient(180deg, var(--surface-soft) 0%, var(--surface) 62%); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(var(--line-2) 1px, transparent 1px), linear-gradient(90deg, var(--line-2) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse 72% 62% at 50% 34%, #000 30%, transparent 76%); -webkit-mask-image: radial-gradient(ellipse 72% 62% at 50% 34%, #000 30%, transparent 76%); }
.hero h1 { font-size: clamp(32px, 4.4vw, 54px); line-height: 1.18; margin: 20px 0 16px; font-weight: 800; letter-spacing: .5px; }
.hero h1 em { font-style: normal; background: linear-gradient(92deg, var(--brand) 8%, var(--accent) 92%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .sub { color: var(--ink-2); font-size: var(--fs-lg); margin: 0 auto 38px; max-width: 680px; }
.hero-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 0 26px; }
.hero-badges span { display: inline-flex; align-items: center; gap: 5px; font-size: var(--fs-xs); font-weight: 600; color: var(--brand-700); background: var(--surface); border: 1px solid var(--brand-100); border-radius: var(--radius-pill); padding: 4px 12px; box-shadow: var(--shadow-xs); }
.hero-badges .ico { color: var(--accent-600); }

.search { position: relative; max-width: 780px; margin: 0 auto; text-align: left; z-index: 5; }
.search-box { display: flex; align-items: center; border: 1.5px solid var(--brand); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-lg); padding: 7px 7px 7px 20px; transition: box-shadow var(--t) var(--ease), border-color var(--t) var(--ease); }
.search-box:focus-within { box-shadow: 0 0 0 5px rgba(15, 92, 140, .12), var(--shadow-lg); }
.search-box .ai-badge { display: inline-flex; align-items: center; gap: 4px; font-size: var(--fs-xs); font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--brand), var(--accent)); border-radius: 6px; padding: 2px 8px; margin-right: 12px; flex: none; }
.search-box input { flex: 1; border: 0; outline: 0; font-size: var(--fs-lg); height: 50px; min-width: 0; background: transparent; }
.search-box .btn { height: 50px; padding: 0 28px; font-size: var(--fs-lg); border-radius: var(--radius-md); }
.search.compact .search-box { box-shadow: var(--shadow-sm); border-width: 1px; border-color: var(--line); border-radius: var(--radius-md); padding: 5px 5px 5px 14px; }
.search.compact .search-box:focus-within { border-color: var(--brand); box-shadow: var(--ring-brand); }
.search.compact input { height: 40px; font-size: var(--fs-base); }
.search.compact .btn { height: 40px; padding: 0 18px; font-size: var(--fs-md); }
.suggest { position: absolute; left: 0; right: 0; top: calc(100% + 8px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow); padding: 6px; display: none; z-index: 30; color: var(--ink); }
.suggest.show { display: block; animation: pop var(--t-fast) ease-out; }
/* 显式前景色：搜索框位于深色 Hero 时，a 标签会继承浅色文字 → 白底白字看不见 */
.suggest a { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 8px; font-size: var(--fs-md); color: var(--ink); }
.suggest a:hover, .suggest a.hl { color: var(--brand); }
.suggest a .ico { color: var(--ink-3); }
.suggest a:hover, .suggest a.hl { background: var(--brand-50); color: var(--brand); }
.suggest a .k { color: var(--ink-3); font-size: var(--fs-xs); margin-left: auto; }
.suggest a mark { background: none; color: var(--brand); font-weight: 700; }
@keyframes pop { from { opacity: 0; transform: translateY(-4px); } }
.hot { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; font-size: var(--fs-sm); color: var(--ink-3); align-items: center; }
.hot a { border: 1px solid var(--line); border-radius: var(--radius-pill); padding: 4px 14px; background: var(--surface); color: var(--ink-2); }
.hot a:hover { border-color: var(--brand); background: var(--surface); color: var(--brand); box-shadow: var(--shadow-xs); }

.quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; max-width: 880px; margin: 48px auto 0; }
.quick a { position: relative; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); padding: 20px 18px 18px; text-align: left; transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), border-color var(--t) var(--ease); overflow: hidden; }
.quick a:hover { border-color: var(--brand-100); transform: translateY(-4px); box-shadow: var(--shadow); color: inherit; }
.quick a::after { content: ""; position: absolute; right: -20px; top: -20px; width: 80px; height: 80px; border-radius: 50%; background: var(--brand-50); transition: transform var(--t-slow) var(--ease); z-index: 0; }
.quick a:hover::after { transform: scale(1.5); }
.quick a > * { position: relative; z-index: 1; }
.quick b { display: block; font-size: var(--fs-lg); margin-top: 12px; font-weight: 700; }
.quick span { font-size: var(--fs-xs); color: var(--ink-3); }
.qi { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: var(--radius-md); background: linear-gradient(135deg, var(--brand), var(--brand-400)); color: #fff; box-shadow: 0 8px 18px -10px rgba(15, 92, 140, .8); }
.qi .ico { width: 20px; height: 20px; }

.stats-strip { display: flex; justify-content: center; gap: 48px; margin-top: 46px; flex-wrap: wrap; }
.stats-strip div { text-align: center; }
.stats-strip b { display: block; font-size: var(--fs-3xl); font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; letter-spacing: .5px; line-height: 1.2; }
.stats-strip span { font-size: var(--fs-sm); color: var(--ink-3); }

/* ---------- 区块 ---------- */
.section { padding: 64px 0; position: relative; }
.section + .section { border-top: 1px solid var(--line); }
.section.soft { background: linear-gradient(180deg, var(--bg-soft), var(--surface-soft)); }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 30px; }
.sec-head h2 { font-size: var(--fs-3xl); font-weight: 800; margin: 10px 0 0; letter-spacing: .3px; }
.sec-head p { margin: 10px 0 0; color: var(--ink-3); font-size: var(--fs-md); max-width: 640px; }

.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cat-card { position: relative; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; background: var(--surface); display: flex; flex-direction: column; transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), border-color var(--t) var(--ease); overflow: hidden; box-shadow: var(--shadow-xs); }
.cat-card::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--c, var(--brand)), transparent); opacity: .9; }
.cat-card:hover { box-shadow: var(--shadow); border-color: var(--brand-100); transform: translateY(-3px); }
.cat-card .ci { width: 44px; height: 44px; border-radius: var(--radius-md); display: grid; place-items: center; background: var(--brand-50); background: color-mix(in srgb, var(--c, var(--brand)) 12%, var(--surface)); color: var(--c, var(--brand)); margin-bottom: 14px; }
.cat-card .ci .ico { width: 22px; height: 22px; }
.cat-card h3 { margin: 0 0 4px; font-size: 19px; display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.cat-card h3 small { font-size: var(--fs-xs); color: var(--ink-3); font-weight: 400; white-space: nowrap; }
.cat-card p { margin: 0 0 14px; color: var(--ink-3); font-size: var(--fs-sm); }
.cat-card ul { list-style: none; padding: 0; margin: 0 0 16px; flex: 1; }
.cat-card li { padding: 8px 0; border-top: 1px dashed var(--line); font-size: var(--fs-md); display: flex; justify-content: space-between; gap: 8px; }
.cat-card li a { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.cat-card li span { color: var(--ink-3); font-size: var(--fs-xs); white-space: nowrap; display: inline-flex; align-items: center; gap: 3px; }

.next { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; padding: 16px 20px; border: 1px solid var(--brand-100); background: linear-gradient(90deg, var(--brand-50), var(--surface) 82%); border-radius: var(--radius-lg); margin-top: 30px; font-size: var(--fs-md); }
.next b { color: var(--brand); margin-right: 4px; display: inline-flex; align-items: center; gap: 6px; }
.next a { border: 1px solid var(--brand-100); background: var(--surface); color: var(--brand); padding: 5px 14px; border-radius: var(--radius-pill); font-size: var(--fs-sm); display: inline-flex; align-items: center; gap: 4px; transition: all var(--t-fast) var(--ease); }
.next a:hover { background: var(--brand); border-color: var(--brand); color: #fff; }

/* 业务矩阵卡片（2560×800 比例） */
.biz-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.biz-card { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); display: block; transition: transform var(--t-slow) var(--ease), box-shadow var(--t-slow) var(--ease), border-color var(--t-slow) var(--ease); box-shadow: var(--shadow-xs); }
.biz-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); color: inherit; border-color: var(--brand-100); }
.biz-img { aspect-ratio: 2560 / 800; position: relative; overflow: hidden; background: var(--c, var(--brand)); }
.biz-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.biz-card:hover .biz-img img, .biz-card:hover .biz-img svg.pattern { transform: scale(1.05); }
.biz-img svg.pattern { position: absolute; inset: 0; width: 100%; height: 100%; transition: transform .5s var(--ease); }
.biz-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5, 18, 28, .66) 0%, rgba(5, 18, 28, .12) 68%); }
.biz-img .lbl { position: absolute; left: 24px; bottom: 16px; z-index: 2; color: #fff; }
.biz-img .lbl b { display: block; font-size: 24px; font-weight: 800; letter-spacing: 3px; }
.biz-img .lbl small { font-size: var(--fs-xs); opacity: .82; letter-spacing: 1px; }
.biz-img .main { position: absolute; right: 14px; top: 12px; z-index: 2; }
.biz-body { padding: 16px 22px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.biz-body p { margin: 0; color: var(--ink-2); font-size: var(--fs-md); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }

/* 信息栏 */
.info-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.box { border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-xs); }
.box-h { display: flex; justify-content: space-between; align-items: center; padding: 15px 20px; border-bottom: 1px solid var(--line); gap: 10px; }
.box-h h3 { margin: 0; font-size: var(--fs-lg); display: inline-flex; align-items: center; gap: 8px; }
.box-h h3 .ico { color: var(--brand); }
.box-b { padding: 8px 20px 14px; }
.box-b.pad { padding: 18px 20px; }
.list { list-style: none; margin: 0; padding: 0; }
.list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px dashed var(--line); font-size: var(--fs-md); }
.list li:last-child { border-bottom: 0; }
.list li > a { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.list li .meta { color: var(--ink-3); font-size: var(--fs-xs); white-space: nowrap; }
.rank { counter-reset: r; }
.rank li { counter-increment: r; justify-content: flex-start; }
.rank li::before { content: counter(r); display: inline-grid; place-items: center; min-width: 22px; height: 22px; font-size: var(--fs-xs); font-weight: 700; border-radius: 6px; background: var(--line-2); color: var(--ink-3); }
.rank li:nth-child(1)::before { background: #e0a21e; color: #fff; }
.rank li:nth-child(2)::before { background: #8fa3b3; color: #fff; }
.rank li:nth-child(3)::before { background: #c07a46; color: #fff; }
.rank li > a { flex: 1; }

/* 招聘卡 / 通用卡 */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cards-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.card { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px; background: var(--surface); transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), border-color var(--t) var(--ease); display: block; box-shadow: var(--shadow-xs); }
a.card:hover, .card.hover:hover { box-shadow: var(--shadow); border-color: var(--brand-100); transform: translateY(-3px); color: inherit; }
.card h4 { margin: 0 0 6px; font-size: var(--fs-lg); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.card p { margin: 0; font-size: var(--fs-sm); color: var(--ink-2); }
.job-top { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.salary { color: #d35400; font-weight: 700; white-space: nowrap; }
.job-meta { display: flex; gap: 14px; flex-wrap: wrap; font-size: var(--fs-sm); color: var(--ink-3); margin: 8px 0 14px; }
.job-meta span { display: inline-flex; align-items: center; gap: 4px; }

/* 资质背书（深色反差区） */
.trust { background: var(--surface-dark); color: var(--on-dark-2); padding: 68px 0; position: relative; overflow: hidden; isolation: isolate; }
.trust::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(720px 320px at 14% -2%, var(--glow-brand-deep), transparent 70%),
  radial-gradient(620px 320px at 100% 100%, var(--glow-accent-deep), transparent 70%),
  linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px) 0 0/100% 44px,
  linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px) 0 0/44px 100%; }
.trust .sec-head h2 { color: var(--on-dark); }
.trust .sec-head p { color: var(--on-dark-3); }
.trust .eyebrow { color: var(--on-dark-link); }
.verify-banner { display: flex; align-items: center; justify-content: space-between; gap: 20px; border: 1px solid rgba(127, 196, 232, .3); border-radius: var(--radius-lg); padding: 26px 30px; background: linear-gradient(100deg, var(--glow-brand-veil), var(--glow-brand-mid)); margin-bottom: 28px; box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 30px 60px -40px rgba(0,0,0,.8); }
.verify-banner .vb { display: flex; gap: 16px; align-items: center; }
.verify-banner .vb-ico { width: 52px; height: 52px; border-radius: var(--radius-lg); background: rgba(255,255,255,.13); display: grid; place-items: center; color: #fff; flex: none; }
.verify-banner .vb-ico .ico { width: 26px; height: 26px; }
.verify-banner b { color: #fff; font-size: 19px; display: block; }
.cert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cert { position: relative; border: 1px solid var(--line-on-dark); border-radius: var(--radius-lg); padding: 20px; background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.02)); transition: transform var(--t) var(--ease), border-color var(--t) var(--ease), background-color var(--t) var(--ease); display: block; color: inherit; }
.cert:hover { border-color: rgba(127, 196, 232, .5); transform: translateY(-3px); color: inherit; background: rgba(255,255,255,.07); }
.cert .ico.seal { width: 28px; height: 28px; color: var(--on-dark-link); margin-bottom: 10px; }
.cert b { color: var(--on-dark); display: block; font-size: var(--fs-base); margin-bottom: 8px; }
.cert code { font-family: var(--mono); font-size: var(--fs-xs); color: var(--on-dark-bright); word-break: break-all; }
.cert .lv { font-size: var(--fs-xs); color: var(--on-dark-3); margin-top: 6px; }

/* ---------- 内页 ---------- */
.page-head { position: relative; padding: 46px 0 36px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--brand-50), var(--surface)); overflow: hidden; }
.page-head::after { content: ""; position: absolute; right: -60px; top: -80px; width: 320px; height: 320px; border-radius: 50%; border: 40px solid rgba(15, 92, 140, .045); }
.page-head h1 { margin: 10px 0 8px; font-size: clamp(24px, 3vw, 34px); font-weight: 800; }
.page-head p { margin: 0; color: var(--ink-2); }
.crumb { font-size: var(--fs-sm); color: var(--ink-3); display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.crumb a:hover { color: var(--brand); }
.crumb i { font-style: normal; opacity: .5; }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 36px; padding-top: 36px; padding-bottom: 64px; }
.page-body { padding-top: 36px; padding-bottom: 64px; }
.side { min-width: 0; }
.side > * + * { margin-top: 20px; }
.side .sticky { position: sticky; top: 86px; }
.tabs { max-width: 100%; display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 20px; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs a { padding: 11px 16px; color: var(--ink-2); border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; font-weight: 500; }
.tabs a.on { color: var(--brand); border-color: var(--brand); font-weight: 700; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.chips a { padding: 5px 16px; border: 1px solid var(--line); border-radius: var(--radius-pill); font-size: var(--fs-md); background: var(--surface); }
.chips a.on { background: var(--brand); border-color: var(--brand); color: #fff; }

.entry-list .item { padding: 22px 0; border-bottom: 1px solid var(--line); }
.entry-list .item h3 { margin: 0 0 6px; font-size: var(--fs-lg); }
.entry-list .item p { margin: 0 0 10px; color: var(--ink-2); font-size: var(--fs-md); }
.meta-row { font-size: var(--fs-xs); color: var(--ink-3); display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.meta-row span { display: inline-flex; align-items: center; gap: 4px; }

.article { font-size: 16px; line-height: 1.95; color: var(--ink); overflow-wrap: break-word; }
.article h2 { font-size: 22px; margin: 38px 0 14px; padding-left: 14px; border-left: 4px solid var(--brand); line-height: 1.3; scroll-margin-top: 90px; }
.article h3 { font-size: 18px; margin: 26px 0 10px; }
.article h4 { font-size: 16px; margin: 20px 0 8px; }
.article p { margin: 0 0 16px; }
.article ul, .article ol { padding-left: 22px; margin: 0 0 16px; }
.article li { margin: 4px 0; }
.article li::marker { color: var(--brand); }
.article blockquote { margin: 0 0 16px; padding: 10px 16px; border-left: 3px solid var(--brand-100); background: var(--bg-soft); color: var(--ink-2); border-radius: 0 6px 6px 0; }
.article code { font-family: var(--mono); font-size: var(--fs-md); background: var(--line-2); padding: 1px 6px; border-radius: 4px; }
.article a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.article img { border-radius: var(--radius-md); }
.lead { font-size: var(--fs-lg); color: var(--ink-2); padding: 18px 22px; background: linear-gradient(100deg, var(--brand-50), var(--surface) 85%); border-radius: var(--radius-md); border: 1px solid var(--brand-100); margin-bottom: 8px; }
.warn-box { border: 1px solid #f2e2c4; background: #fdf8ee; border-radius: var(--radius-md); padding: 14px 18px; font-size: var(--fs-md); color: #7a5a1c; display: flex; gap: 10px; }
.warn-box .ico { margin-top: 4px; }
.toc a { display: block; padding: 6px 0 6px 12px; border-left: 2px solid var(--line); font-size: var(--fs-md); color: var(--ink-2); }
.toc a:hover { border-color: var(--brand); color: var(--brand); }

.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { position: relative; padding: 0 0 16px 22px; border-left: 1px solid var(--line); margin-left: 6px; font-size: var(--fs-sm); }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: -6px; top: 6px; width: 11px; height: 11px; border-radius: 50%; background: var(--surface); border: 2px solid var(--brand); }
.timeline li b { font-weight: 700; }

/* AI 问答 */
.qa-q { font-size: 24px; font-weight: 800; margin: 0 0 20px; display: flex; gap: 14px; align-items: flex-start; line-height: 1.4; }
.qa-q .qbadge { flex: none; display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: var(--surface-dark); color: #fff; font-size: 16px; margin-top: 1px; }
.qa-a { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px 30px; background: var(--surface); box-shadow: var(--shadow-sm); position: relative; }
.qa-a::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: linear-gradient(var(--brand), var(--accent)); border-radius: 3px 0 0 3px; }
.qa-status { display: flex; align-items: center; gap: 10px; font-size: var(--fs-sm); color: var(--brand); margin-bottom: 14px; flex-wrap: wrap; }
.dots { display: inline-flex; gap: 4px; }
.dots span { width: 6px; height: 6px; border-radius: 50%; background: var(--brand); animation: blink 1.2s infinite; }
.dots span:nth-child(2) { animation-delay: .2s; } .dots span:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 80%, 100% { opacity: .2; } 40% { opacity: 1; } }
.typing > :last-child::after { content: "▍"; color: var(--brand); animation: blink 1s infinite; margin-left: 2px; }
.skeleton { height: 14px; border-radius: 6px; background: linear-gradient(90deg, var(--line-2) 25%, var(--surface-hover) 50%, var(--line-2) 75%); background-size: 200% 100%; animation: shimmer 1.3s infinite; margin: 10px 0; }
@keyframes shimmer { to { background-position: -200% 0; } }
.gen-entry { margin-top: 24px; border: 1px solid var(--brand-100); border-radius: var(--radius-lg); padding: 20px 22px; display: flex; justify-content: space-between; align-items: center; gap: 16px; background: linear-gradient(100deg, var(--brand-50), var(--surface) 72%); }
.gen-entry b { display: flex; align-items: center; gap: 8px; font-size: var(--fs-lg); }
.gen-entry small { color: var(--ink-3); display: block; margin-top: 4px; }
.gen-entry .gen-ctrl { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.quota { font-size: var(--fs-xs); color: var(--ink-3); margin-top: 6px; }
.quota b { color: var(--brand); display: inline; font-size: var(--fs-xs); }
.ref-list a { display: flex; align-items: center; gap: 8px; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: var(--fs-md); }
.ref-list a:last-child { border-bottom: 0; }

/* ---------- 表单 ---------- */
.form { display: grid; gap: 20px; }
.field { min-width: 0; }
.field label { display: block; font-size: var(--fs-md); font-weight: 600; margin-bottom: 7px; }
.field label .req { color: var(--danger); margin-left: 2px; }
.field .hint { font-size: var(--fs-xs); color: var(--ink-3); margin-top: 5px; }
.input { width: 100%; max-width: 100%; border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 11px 13px; background: var(--surface); outline: 0; transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease); font-size: var(--fs-base); }
.input:hover { border-color: var(--brand-300); }
.input:focus { border-color: var(--brand); box-shadow: var(--ring-brand); }
textarea.input { min-height: 140px; resize: vertical; line-height: 1.75; }
textarea.input.code { font-family: var(--mono); font-size: var(--fs-md); min-height: 320px; }
select.input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%237e8c98' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 34px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.row3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.row2 > *, .row3 > * { min-width: 0; }
.radio-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.radio-cards label { border: 1px solid var(--line); border-radius: var(--radius-md); padding: 12px 14px; cursor: pointer; font-weight: 400; font-size: var(--fs-sm); transition: all var(--t-fast) var(--ease); margin: 0; background: var(--surface); }
.radio-cards label b { display: block; font-size: var(--fs-md); }
.radio-cards input { position: absolute; opacity: 0; pointer-events: none; }
.radio-cards label:has(input:checked) { border-color: var(--brand); background: var(--brand-50); box-shadow: var(--ring-brand); }
.form-card { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; background: var(--surface); box-shadow: var(--shadow-sm); }
.cost-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 16px 20px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-md); position: sticky; bottom: 12px; z-index: 10; box-shadow: var(--shadow-sm); }
.cost-bar b { color: var(--brand); font-size: 22px; }

/* 认证页 */
.auth { min-height: calc(100vh - 66px); display: grid; grid-template-columns: 1.05fr 1fr; }
.auth-side { background: var(--surface-dark); color: var(--on-dark-2); padding: 56px 48px; position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: center; isolation: isolate; }
.auth-side::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(620px 320px at 0% 0%, var(--glow-brand-strong), transparent 70%), radial-gradient(500px 260px at 100% 100%, var(--glow-accent-mid), transparent 70%), linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px) 0 0/100% 44px, linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px) 0 0/44px 100%; }
.auth-side h2 { color: var(--on-dark); font-size: var(--fs-3xl); margin: 16px 0 12px; }
.auth-side ul { list-style: none; padding: 0; margin: 24px 0 0; }
.auth-side li { display: flex; gap: 10px; align-items: center; padding: 8px 0; }
.auth-side li .ico { color: var(--on-dark-link); }
.auth-main { display: grid; place-items: center; padding: 48px 24px; min-width: 0; }
.auth-card { width: 100%; max-width: 400px; }
.auth-card h1 { font-size: 28px; margin: 0 0 6px; }
.auth-card a { color: var(--brand); }
.auth-card a:hover { color: var(--brand-700); }

/* 用户中心 */
.uc { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 32px; padding-top: 32px; padding-bottom: 64px; }
.uc-nav { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 8px; background: var(--surface); align-self: start; position: sticky; top: 86px; box-shadow: var(--shadow-xs); }
.uc-nav a { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 8px; font-size: var(--fs-md); color: var(--ink-2); }
.uc-nav a:hover { background: var(--bg-soft); }
.uc-nav a.on { background: var(--brand-50); color: var(--brand); font-weight: 700; }
.uc-hero { display: flex; gap: 18px; align-items: center; padding: 26px; border-radius: var(--radius-lg); background: linear-gradient(110deg, var(--brand-700) 0%, var(--brand-400) 100%); color: #fff; margin-bottom: 24px; flex-wrap: wrap; box-shadow: var(--shadow); }
.uc-hero .avatar { width: 60px; height: 60px; font-size: 24px; background: rgba(255,255,255,.2); }
.uc-hero h2 { margin: 0; font-size: 22px; }
.uc-hero .pts { margin-left: auto; text-align: right; }
.uc-hero .pts b { font-size: 34px; display: block; line-height: 1.1; }

.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 18px 20px; background: var(--surface); box-shadow: var(--shadow-xs); }
.stat small { color: var(--ink-3); font-size: var(--fs-sm); }
.stat b { display: block; font-size: 28px; font-weight: 800; font-variant-numeric: tabular-nums; }

table.tbl { width: 100%; border-collapse: collapse; font-size: var(--fs-md); }
.tbl th, .tbl td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tbl th { font-weight: 600; color: var(--ink-2); background: var(--bg-soft); font-size: var(--fs-sm); white-space: nowrap; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl-wrap { max-width: 100%; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow-x: auto; background: var(--surface); box-shadow: var(--shadow-xs); }
.num-pos { color: var(--ok); font-weight: 700; }
.num-neg { color: var(--danger); font-weight: 700; }

.pkg { position: relative; border: 1px solid var(--line); border-radius: var(--radius-md); padding: 18px; background: var(--surface); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pkg + .pkg { margin-top: 12px; }
.pkg b { font-size: var(--fs-lg); }
.pkg .price { font-size: 22px; font-weight: 800; color: var(--brand); }
.pkg .tag { position: absolute; top: -10px; left: 14px; }

.pager { display: flex; gap: 6px; justify-content: center; margin-top: 28px; flex-wrap: wrap; }
.pager a, .pager b, .pager span { min-width: 36px; height: 36px; display: inline-grid; place-items: center; border: 1px solid var(--line); border-radius: var(--radius); font-size: var(--fs-md); padding: 0 10px; background: var(--surface); }
.pager b { background: var(--brand); color: #fff; border-color: var(--brand); }
.pager span { border: 0; background: none; }

.empty { padding: 48px 24px; text-align: center; color: var(--ink-3); border: 1px dashed var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.empty .ico { width: 36px; height: 36px; margin: 0 auto 10px; display: block; color: var(--brand-100); }

.err-page { padding: 120px 0; text-align: center; }
.err-page .code { font-size: clamp(64px, 14vw, 96px); font-weight: 900; line-height: 1; background: linear-gradient(135deg, var(--brand), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- 页脚（深色高级感 + 分组） ---------- */
.footer { background: linear-gradient(180deg, var(--surface-dark) 0%, var(--surface-dark-2) 100%); color: var(--on-dark-3); padding: 52px 0 24px; font-size: var(--fs-md); position: relative; }
.footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(127,196,232,.35), transparent); }
.footer .logo { color: var(--on-dark); }
/* 页脚深色背景：给自定义 Logo 加浅色底衬，保证可见性 */
.footer .logo-img { height: 32px; max-height: 32px; max-width: 170px; background: rgba(255, 255, 255, .94); border-radius: 8px; padding: 3px 8px; }
.footer .about { margin: 14px 0 0; max-width: 340px; color: var(--on-dark-3); line-height: 1.8; }
.foot-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.foot-badges span { display: inline-flex; align-items: center; gap: 5px; font-size: var(--fs-xs); color: var(--on-dark-bright); border: 1px solid rgba(127, 196, 232, .25); background: rgba(127, 196, 232, .08); border-radius: var(--radius-pill); padding: 3px 11px; }
.foot-bottom .copy { min-width: 0; overflow-wrap: anywhere; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 36px; }
.footer h4 { margin: 0 0 14px; font-size: var(--fs-base); color: var(--on-dark); letter-spacing: .3px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { padding: 5px 0; display: flex; align-items: center; gap: 8px; }
.footer a:hover { color: var(--on-dark); }
.footer li .ico { color: #5f7d95; }
.foot-bottom { margin-top: 46px; padding-top: 22px; border-top: 1px solid var(--line-on-dark); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: var(--fs-sm); color: #6f8496; }
.links { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Toast / Modal ---------- */
.toast { position: fixed; left: 50%; bottom: 32px; transform: translateX(-50%) translateY(20px); background: var(--ink); color: var(--bg); padding: 11px 22px; border-radius: var(--radius-md); font-size: var(--fs-md); opacity: 0; transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease); z-index: 300; pointer-events: none; max-width: calc(100% - 32px); box-shadow: var(--shadow); }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.modal-mask { position: fixed; inset: 0; background: rgba(10, 23, 34, .52); backdrop-filter: blur(3px); display: none; align-items: center; justify-content: center; z-index: 200; padding: 16px; }
.modal-mask.show { display: flex; }
.modal { background: var(--surface); border-radius: var(--radius-lg); width: 100%; max-width: 480px; padding: 28px; box-shadow: var(--shadow-lg); animation: pop var(--t) ease-out; max-height: calc(100vh - 32px); overflow-y: auto; }
.modal h3 { margin: 0 0 10px; font-size: 19px; }
.modal .body { color: var(--ink-2); font-size: var(--fs-md); }
.modal .acts { display: flex; justify-content: flex-end; gap: 10px; margin-top: 22px; flex-wrap: wrap; }

/* ---------- 进场动画 ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .55s var(--ease), transform .55s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } * { animation: none !important; transition: none !important; } }

/* ---------- 轻量编辑器（DOM 契约见 templates/default/partials/md_editor.php；
     md-editor.css 在 site.css 之后加载，是编辑器样式的权威来源，此处仅作兜底，
     不覆盖其 .md-tools/.mdl-textarea/.md-msg/.md-preview 规则） ---------- */
.md-editor { border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface); overflow: hidden; }
.md-tools { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; padding: 8px 10px; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.md-foot { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 8px 12px; border-top: 1px solid var(--line); background: var(--bg-soft); font-size: var(--fs-sm); color: var(--ink-3); flex-wrap: wrap; }
.mdl-upload { cursor: pointer; user-select: none; }
.md-plain .md-foot { margin-top: 6px; padding: 0 2px; border-top: 0; background: transparent; }
.img-field { display: flex; gap: 16px; align-items: flex-start; flex-wrap: wrap; }
.img-preview { max-width: 320px; max-height: 120px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }

/* ---------- 版式工具类（可被断点覆盖，用于替代模板行内样式） ---------- */
.filter-bar { margin-bottom: 18px; }
.sec-head.spaced { margin: 56px 0 20px; }
.block-title { font-size: 21px; margin: 40px 0 16px; }
.block-title.tight { margin: 0 0 14px; font-size: 20px; }
.flex-between { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.mb-3 { margin-bottom: 16px; }
.mb-4 { margin-bottom: 24px; }
.filter-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-top: 18px; }
.filter-row .search { flex: 1; min-width: 240px; max-width: 560px; margin: 0; }
.narrow { max-width: 920px; }
.search-narrow { max-width: 600px; margin: 28px auto 0; }
.search-wide { max-width: 760px; margin-top: 14px; }
.biz-banner { border-bottom: 1px solid var(--line); }
.contact-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 24px; background: var(--bg-soft); }
.cert-item { display: flex; gap: 18px; align-items: flex-start; }
.cert-item .cert-body { flex: 1; min-width: 0; }
.cert-item img { width: 120px; border-radius: var(--radius); border: 1px solid var(--line); }
.page-note { font-size: var(--fs-sm); }

/* =========================================================
   响应式（前台）：≤1200 / ≤960 / ≤640 / ≤380
   后台未使用 .nav、.hero、.layout、.side、.cards-*、.quick、.cat-*、.biz-*
   .trust、.auth、.uc、.foot-grid，且 .tbl、.tbl-wrap 仅做滚动与内距
   微调，故后台侧栏与表格结构不受影响。
   ========================================================= */
@media (max-width: 1200px) {
  .wrap { padding: 0 20px; }
  .topbar .wrap { gap: 18px; }
  .nav a { padding: 8px 11px; }
  .layout { gap: 28px; grid-template-columns: minmax(0, 1fr) 300px; }
  .quick { max-width: 100%; }
  .section { padding: 56px 0; }
  .foot-grid { gap: 28px; }
}

@media (max-width: 960px) {
  /* —— 顶部导航 → 可收起抽屉 —— */
  .topbar .wrap { gap: 12px; }
  .menu-btn { display: inline-flex; }
  .nav { position: fixed; top: 0; right: 0; bottom: 0; left: auto; width: min(86vw, 336px); z-index: 90; display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 4px; flex: none; padding: 68px 18px calc(24px + env(safe-area-inset-bottom)); background: linear-gradient(180deg, var(--surface), var(--surface-soft)); border-left: 1px solid var(--line); box-shadow: -30px 0 70px -34px rgba(9, 26, 40, .5); overflow-y: auto; overscroll-behavior: contain; transform: translateX(102%); visibility: hidden; transition: transform var(--t-slow) var(--ease), visibility var(--t-slow) var(--ease); }
  .nav.open { transform: none; visibility: visible; }
  .nav a { display: flex; align-items: center; min-height: 46px; padding: 11px 14px; border-radius: var(--radius-md); font-size: 16px; }
  .nav .nav-i { display: block; width: 18px; height: 18px; color: var(--brand-300); margin-right: 2px; }
  .nav a.active .nav-i { color: var(--brand); }
  .nav a:hover { background: var(--brand-50); }
  .nav a.active { background: var(--brand-50); color: var(--brand); font-weight: 700; }
  .nav a.active::after { display: none; }
  .nav-close { display: inline-flex; position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); font-size: 18px; cursor: pointer; }
  .nav-close:hover { border-color: var(--brand); color: var(--brand); }
  /* —— 布局 → 单列，取消 sticky —— */
  .layout { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-top: 32px; padding-bottom: 64px; }
  .layout > *, .uc > *, .info-cols > *, .cards-2 > *, .cards-3 > *, .cat-grid > *, .biz-grid > *, .cert-grid > *, .stat-row > *, .row2 > *, .row3 > * { min-width: 0; }
  .side .sticky, .uc-nav { position: static; top: auto; }
  .page-body { padding-top: 32px; padding-bottom: 64px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .info-cols { grid-template-columns: 1fr; }
  .biz-grid { grid-template-columns: 1fr; }
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .radio-cards { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .auth { grid-template-columns: minmax(0, 1fr); }
  .auth-side { display: none; }
  .uc { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .uc-nav { display: flex; overflow-x: auto; scrollbar-width: none; padding: 6px; }
  .uc-nav::-webkit-scrollbar { display: none; }
  .uc-nav a { white-space: nowrap; padding: 10px 12px; }
  .hero { padding: 60px 0 48px; }
  .section { padding: 48px 0; }
  .trust { padding: 52px 0; }
  .cost-bar { position: static; }
  .quick { grid-template-columns: repeat(2, 1fr); gap: 14px; max-width: 100%; }
  .stats-strip { gap: 32px; }
  .verify-banner { flex-wrap: wrap; }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .tbl-wrap { -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
  .tabs { -webkit-overflow-scrolling: touch; }
  .pager { gap: 8px; }
  .side { min-width: 0; }
}

@media (max-width: 640px) {
  /* —— 移动端基础 —— */
  .wrap { padding: 0 16px; }
  .topbar .wrap { height: 58px; gap: 10px; }
  .logo { font-size: 16px; }
  .logo-mark { width: 30px; height: 30px; }
  .logo-img { height: 30px; max-height: 30px; max-width: 140px; }
  .top-actions { gap: 8px; }
  .top-actions .hide-m { display: none; }
  .nav { padding: 64px 14px calc(20px + env(safe-area-inset-bottom)); width: min(90vw, 320px); }
  .nav-close { width: 44px; height: 44px; }
  /* 触控目标 ≥44px */
  .btn { min-height: 44px; padding: 0 16px; }
  .btn.sm { min-height: 38px; }
  .menu-btn { width: 44px; height: 44px; padding: 0; }
  .points-pill, .avatar { min-height: 36px; }
  .tabs a { min-height: 44px; display: inline-flex; align-items: center; }
  .chips a { min-height: 36px; display: inline-flex; align-items: center; }
  .pager a, .pager b { min-width: 44px; height: 44px; }
  .uc-nav a { min-height: 44px; }
  .list li > a, .entry-list .item h3 a { min-height: 32px; display: inline-flex; align-items: center; }
  .dropdown a, .dropdown button { min-height: 44px; }
  /* iOS 输入聚焦不缩放（同时作用于后台表单输入，不改结构） */
  .input, .search-box input, .search.compact input { font-size: 16px; }
  /* —— 首屏 —— */
  .hero { padding: 44px 0 38px; }
  .hero h1 { font-size: clamp(26px, 8vw, 34px); letter-spacing: 0; }
  .hero .sub { font-size: 15px; margin-bottom: 26px; }
  .hero-badges { gap: 6px; margin-bottom: 20px; }
  .hero-badges span { padding: 4px 10px; }
  .search-box { padding: 5px 5px 5px 12px; border-radius: var(--radius-md); }
  .search-box .ai-badge { display: none; }
  .search-box input, .search-box .btn { height: 44px; }
  .search-box input { font-size: 16px; }
  .search-box .btn { padding: 0 14px; font-size: 15px; border-radius: 8px; }
  .search.compact .btn { padding: 0 14px; }
  .hot { font-size: var(--fs-xs); gap: 6px; }
  .quick { grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 30px; }
  .quick a { padding: 16px 14px; }
  .quick b { margin-top: 10px; font-size: 15px; }
  .stats-strip { gap: 22px 28px; margin-top: 32px; }
  .stats-strip b { font-size: 24px; }
  /* —— 区块与栅格：全部单列 —— */
  .section { padding: 40px 0; }
  .sec-head { flex-direction: column; align-items: flex-start; margin-bottom: 24px; }
  .sec-head h2 { font-size: 24px; }
  .cat-grid, .biz-grid, .info-cols, .cards-2, .cards-3, .row2, .row3, .cert-grid, .stat-row, .foot-grid, .form-grid { grid-template-columns: minmax(0, 1fr); }
  .foot-grid { gap: 28px; }
  .radio-cards { grid-template-columns: 1fr 1fr; }
  .verify-banner, .gen-entry { flex-direction: column; align-items: flex-start; }
  .verify-banner { padding: 20px; }
  .verify-banner .vb-ico { width: 44px; height: 44px; }
  .biz-img .lbl { left: 16px; bottom: 12px; }
  .biz-img .lbl b { font-size: 18px; letter-spacing: 1.5px; }
  .biz-body { padding: 14px 16px; }
  .qa-a { padding: 20px 18px; }
  .qa-q { font-size: 20px; }
  .page-head { padding: 30px 0 24px; }
  .page-head h1 { font-size: 24px; }
  .layout, .page-body { padding-bottom: 46px; }
  .form-card { padding: 20px 16px; }
  .cost-bar { padding: 14px 16px; }
  .uc { padding-top: 24px; padding-bottom: 56px; }
  .uc-hero { padding: 20px; }
  .uc-hero .pts { margin-left: 0; text-align: left; width: 100%; }
  .uc-hero .pts b { font-size: 28px; }
  .stat b { font-size: 24px; }
  .trust { padding: 40px 0; }
  .cert { padding: 16px; }
  .sec-head.spaced { margin: 36px 0 18px; }
  .block-title { font-size: 19px; margin: 30px 0 14px; }
  .block-title.tight { margin: 0 0 12px; }
  .cert-item { flex-direction: column; }
  .filter-row .search { min-width: 100%; max-width: 100%; }
  .cert-item img { width: 100%; max-width: 260px; }
  .narrow { max-width: 100%; }
  .side, .side .sticky { position: static; min-width: 0; }
  /* —— 表格：容器横向滚动，不撑破页面 —— */
  .tbl-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
  .tbl { min-width: 560px; }
  .tbl th, .tbl td { padding: 11px 12px; }
  .pkg { flex-wrap: wrap; }
  .pkg > div:last-child { text-align: left !important; }
  .pkg .price { font-size: 20px; }
  /* —— 页脚 —— */
  .footer { padding: 40px 0 20px; }
  .foot-bottom { margin-top: 28px; flex-direction: column; align-items: flex-start; }
  .footer .about { max-width: 100%; }
  .modal { padding: 22px 18px; }
  .modal .acts { justify-content: stretch; }
  .modal .acts .btn { flex: 1; }
  .toast { bottom: 20px; width: max-content; max-width: calc(100% - 24px); text-align: center; }
}

@media (max-width: 380px) {
  .wrap { padding: 0 14px; }
  .logo { font-size: 15px; gap: 8px; }
  .logo-img { max-width: 110px; }
  .hero { padding: 34px 0 32px; }
  .hero h1 { font-size: 24px; }
  .quick { grid-template-columns: minmax(0, 1fr); }
  .radio-cards { grid-template-columns: minmax(0, 1fr); }
  .stats-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .stats-strip b { font-size: 22px; }
  .cards-2, .cards-3, .cat-grid, .cert-grid, .info-cols, .row2, .row3 { gap: 14px; }
  .form-card { padding: 18px 14px; }
  .search-box { padding-left: 10px; }
  .search-box .btn { padding: 0 12px; font-size: 14px; }
  .btn { padding: 0 14px; }
  .nav { width: 100%; }
  .pager a, .pager b { min-width: 40px; height: 40px; padding: 0 8px; }
}

/* ============================================================
 * 对比度修复层（放在文件末尾，确保覆盖前面同名规则）
 * 背景：部分元素在浅色底/深色底之间复用时文字对比不足，出现「看不见」的情况。
 * 策略：凡是自带深色底的组件（.trust/.cert/.uc-hero/.btn.primary/.tag.dark 等）
 *       一律显式声明文字颜色；浅色底上的弱色文字统一加深到 ≥4.5:1。
 * 说明：不改动任何既有 :root 令牌，避免影响后台（admin.css 依赖这些令牌）。
 * ============================================================ */

/* —— 深色区块内文字：显式声明，避免继承到浅色而“消失”（令牌化，随皮肤切换） —— */
.trust, .trust p, .trust li { color: var(--on-dark-2); }
.trust .sec-head p, .trust .muted { color: #a7bccd; }
.trust h1, .trust h2, .trust h3, .trust h4, .trust b, .trust strong, .trust .cert b { color: var(--on-dark); }
.trust .eyebrow, .trust .cert .ico.seal, .auth-side li .ico { color: var(--on-dark-link); }
.cert, .cert .lv { color: var(--on-dark-2); }
.cert code, .foot-badges span { color: var(--on-dark-bright); }
.auth-side p, .auth-side li { color: var(--on-dark-2); }
.auth-side h1, .auth-side h2, .auth-side h3 { color: var(--on-dark); }
.uc-hero, .uc-hero h2, .uc-hero .pts, .uc-hero b { color: #fff; }
.uc-hero .muted, .uc-hero small { color: #dbe9f4; }
.biz-img .lbl, .biz-img .lbl b, .biz-img .lbl small { color: #fff; }
.biz-img .lbl small { opacity: .92; }
.verify-banner b, .verify-banner .vb-ico { color: #fff; }
.verify-banner p, .verify-banner span { color: #dbe9f4; }
.footer, .footer p, .footer li { color: var(--on-dark-3); }
.footer h4, .footer .logo, .footer a { color: var(--on-dark); }
.footer .about, .foot-bottom, .foot-bottom a { color: var(--on-dark-2); }
.footer li .ico { color: var(--on-dark-3); }
.btn.primary, .btn.primary:hover, .btn.primary:focus-visible { color: #fff; }
.btn.light, .btn.light:hover { color: #fff; }
.tag.dark, .pin { color: #fff; }
.toast { color: var(--bg); }
.rank li:nth-child(1)::before, .rank li:nth-child(2)::before, .rank li:nth-child(3)::before { color: #1a2431; }
.skip-link:focus { background: var(--brand-700); color: #fff; }

/* —— 浅色底上的弱色文字：加深，保证 ≥4.5:1 —— */
.muted, .hint, .form .hint, .field .hint, .crumb, .job-meta, .stat small, .box-b .muted, .list .meta { color: var(--ink-2); }
.card p, .biz-body p, .hero .sub, .page-head p { color: var(--ink-2); }
.empty, .empty p { color: var(--ink-2); }
.empty .ico { color: var(--brand-400); }
.tbl th { color: var(--ink-2); }
.tag { color: var(--ink-2); }
.tag.ok { color: #14603f; border-color: #b6ddc9; background: #e9f7ef; }
.tag.warn { color: #8a5a10; border-color: #ecd6a8; background: #fdf4e3; }
.tag.danger { color: #a4302a; border-color: #efc7c2; background: #fdeeec; }
.tag.brand { color: var(--brand-700); border-color: var(--brand-100); background: var(--brand-50); }
.alert.success { color: #145c3b; background: #e9f7ef; border-color: #b6ddc9; }
.alert.error { color: #8f2b23; background: #fdeeec; border-color: #efc7c2; }
.alert.info { color: var(--brand-700); background: var(--brand-50); border-color: var(--brand-100); }
.alert.warn { color: #7d5208; background: #fdf4e3; border-color: #ecd6a8; }
.pager a, .pager span { color: var(--ink-2); }
.pager b { color: #fff; }
.nav a { color: var(--ink-2); }
.nav a.active, .nav a:hover { color: var(--brand-700); }
.eyebrow, .more { color: var(--brand-700); }
.salary { color: #b34a00; }
input::placeholder, textarea::placeholder { color: var(--ink-3); opacity: 1; }
.radio-cards label, .switch { color: var(--ink-2); }

/* ============================================================
 * 深色表面链接 hover 修复（放在最后，确保覆盖全局 a:hover 品牌蓝规则）
 * 背景：全局 a:hover { color: var(--brand) } 在深色区块（品牌蓝压深底）几乎不可见。
 * ============================================================ */
.trust a:hover, .auth-side a:hover, .login-wrap a:hover { color: var(--on-dark-link); }
.footer a:hover { color: var(--on-dark); }
.trust .more, .trust .more:hover { color: var(--on-dark-link); }
.auth-side .eyebrow { color: var(--on-dark-link); }
.auth-side b, .auth-side strong { color: var(--on-dark); }

/* ============================================================
 * v2 全站排版与间距精修
 * 目标：在不改动结构、不影响移动端与三套皮肤的前提下，
 *       1) 补充高质量字体、启用 OpenType 字距/连字，数字单独用等宽数字；
 *       2) 让卡片/表单/表格/正文的呼吸感更均匀。
 * 注意：会改变具体数值的间距统一放在 min-width:641px，移动端规则原样保留；
 *       后台 admin.css 加载在本文件之后，其更具体的规则不受影响。
 * ============================================================ */

/* —— 字体（令牌在最后追加，覆盖默认值，随皮肤切换不影响颜色） —— */
:root {
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "HarmonyOS Sans SC",
          "Noto Sans CJK SC", "Source Han Sans SC", "Segoe UI Variable Text", "Segoe UI",
          system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, "WenQuanYi Micro Hei", sans-serif;
  --font-num: "Segoe UI Variable", "Segoe UI", "SF Pro Text", "Helvetica Neue", Arial, var(--font);
}

/* 启用字距、标准连字与上下文替代；轻微正字距提升中文阅读舒适度 */
body { font-feature-settings: "kern" 1, "liga" 1, "calt" 1; letter-spacing: .1px; }
h1, h2, h3, h4 { font-feature-settings: "kern" 1, "liga" 1; }

/* 统计、价格、积分等数字：等宽数字 + 独立数字字体，避免数字跳动、更精致 */
.stat b, .stats-strip b, .uc-hero .pts b, .cost-bar b, .pkg .price,
.hbar .v, .article code, .tbl .num, .num-pos, .num-neg {
  font-family: var(--font-num);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
}

/* —— 桌面端间距与字号精修（≥641px；移动端维持原数值） —— */
@media (min-width: 641px) {
  .card { padding: 22px; }
  .form { gap: 22px; }
  .field label { margin-bottom: 8px; }
  .input { padding: 11px 14px; }
  .tbl th, .tbl td { padding: 13px 16px; }
  .box-h { padding: 16px 22px; }
  .box-b { padding: 10px 22px 16px; }
  .box-b.pad { padding: 20px 22px; }
  .qa-a { padding: 30px 32px; }
  .article { font-size: 16.5px; }
  .article p { margin-bottom: 18px; }
  .list li { padding-top: 12px; padding-bottom: 12px; }
}

/* ============================================================
 * v3 · 前台视觉升级（工业知识平台 · 专业 / 层次 / 科技感）
 * ------------------------------------------------------------
 * 安全约定（后台 templates/admin/** 与 admin.css 同时加载本文件）：
 *   1) 只新增令牌与本文件末尾的覆写规则，不删除既有 :root 令牌；
 *   2) 不改 html/body 的 overflow/position，不重写 .tbl / .adm-* 结构；
 *   3) 新组件类统一 qx- 前缀；深色区块只用语义令牌，三套皮肤自动适配；
 *   4) 正文对比度 ≥4.5:1：实底按钮渐变两端均取对比度达标的深色档
 *      （brand-600 → brand-500 → accent-600），文字区始终落在深色档。
 * ============================================================ */

/* ---------- [v3-1] 扩展设计令牌（语义化，皮肤可覆写） ---------- */
:root {
  /* 品牌 RGB 分量：供 rgba(var(--brand-rgb), α) 生成跟随皮肤的光晕/投影 */
  --brand-rgb: 15, 92, 140;
  --accent-rgb: 20, 163, 160;
  /* 圆角补充档 */
  --radius-sm: 6px;
  --radius-xl: 22px;
  --radius-2xl: 30px;
  /* 渐变体系 */
  --grad-brand: linear-gradient(135deg, var(--brand-600) 0%, var(--brand-500) 54%, var(--accent-600) 100%);
  --grad-brand-strong: linear-gradient(135deg, var(--brand-700) 0%, var(--brand-500) 52%, var(--accent-600) 100%);
  --grad-accent: linear-gradient(135deg, var(--accent-600) 0%, var(--brand-400) 100%);
  --grad-surface: linear-gradient(180deg, var(--surface) 0%, var(--surface-soft) 100%);
  --grad-soft: linear-gradient(180deg, var(--bg-soft) 0%, var(--surface) 100%);
  --grad-text: linear-gradient(96deg, var(--brand) 4%, var(--accent) 96%);
  --grad-dark: linear-gradient(150deg, var(--surface-dark) 0%, var(--surface-dark-2) 100%);
  --sheen: linear-gradient(115deg, rgba(255, 255, 255, .22) 0%, rgba(255, 255, 255, 0) 46%);
  /* 描边 / 毛玻璃 */
  --hairline: color-mix(in srgb, var(--line) 74%, transparent);
  --glass: color-mix(in srgb, var(--surface) 82%, transparent);
  --glass-strong: color-mix(in srgb, var(--surface) 93%, transparent);
  /* 阴影层级（跟随品牌色相） */
  --elev-1: 0 1px 2px rgba(16, 36, 52, .04), 0 10px 24px -18px rgba(var(--brand-rgb), .4);
  --elev-2: 0 2px 6px rgba(16, 36, 52, .05), 0 24px 48px -26px rgba(var(--brand-rgb), .46);
  --elev-3: 0 4px 14px rgba(16, 36, 52, .06), 0 42px 86px -38px rgba(var(--brand-rgb), .52);
  --elev-glow: 0 18px 38px -20px rgba(var(--brand-rgb), .55);
  /* 聚焦环 */
  --ring-focus: 0 0 0 4px rgba(var(--brand-rgb), .16);
  --ring-soft: 0 0 0 3px rgba(var(--brand-rgb), .1);
  /* 奖牌 / 提示色（内容装饰，三皮肤通用） */
  --gold: #d99b1f;
  --silver: #9aa9b6;
  --bronze: #c07a46;
}

/* ---------- [v3-2] 版式节奏 ---------- */
h1, h2, h3, h4 { letter-spacing: .1px; }
h1 { line-height: 1.2; }
h2 { line-height: 1.28; }
.hero h1, .sec-head h2, .page-head h1, .qx-cta h2 { text-wrap: balance; }

/* ---------- [v3-3] 按钮体系 ---------- */
.btn {
  gap: 7px;
  border-radius: 10px;
  border-color: var(--line-strong);
  background: var(--surface);
  box-shadow: var(--shadow-xs);
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t) var(--ease),
              background-color var(--t) var(--ease), border-color var(--t) var(--ease), color var(--t-fast) var(--ease);
}
.btn .ico { width: 16px; height: 16px; }
.btn:hover {
  border-color: color-mix(in srgb, var(--brand) 46%, var(--line-strong));
  color: var(--brand);
  transform: translateY(-1px);
  box-shadow: var(--elev-1);
}
.btn:active { transform: translateY(0); box-shadow: var(--shadow-xs); }
.btn.primary {
  border-color: transparent;
  background: var(--grad-brand);
  color: #fff;
  box-shadow: 0 10px 22px -14px rgba(var(--brand-rgb), .72), inset 0 1px 0 rgba(255, 255, 255, .22);
}
.btn.primary:hover {
  color: #fff;
  background: var(--grad-brand-strong);
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -16px rgba(var(--brand-rgb), .78), inset 0 1px 0 rgba(255, 255, 255, .26);
}
.btn.secondary {
  border-color: color-mix(in srgb, var(--brand) 26%, var(--line));
  background: color-mix(in srgb, var(--brand) 8%, var(--surface));
  color: var(--brand-700);
}
.btn.secondary:hover {
  background: color-mix(in srgb, var(--brand) 14%, var(--surface));
  border-color: color-mix(in srgb, var(--brand) 50%, var(--line));
  color: var(--brand-700);
}
.btn.ghost { border-color: transparent; background: transparent; box-shadow: none; }
.btn.ghost:hover { background: var(--brand-50); color: var(--brand-700); box-shadow: none; }
.btn.sm { height: 33px; padding: 0 13px; border-radius: 8px; }
.btn.lg { border-radius: var(--radius-md); }
.btn:disabled, .btn.disabled { opacity: .5; filter: saturate(.6); }
.btn:focus-visible { outline: 2px solid var(--brand-400); outline-offset: 2px; box-shadow: var(--ring-soft); }

/* ---------- [v3-4] 表单与焦点环 ---------- */
.input {
  border-radius: 10px;
  border-color: var(--line-strong);
  background: var(--surface);
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease);
}
.input:hover { border-color: color-mix(in srgb, var(--brand) 42%, var(--line-strong)); }
.input:focus {
  border-color: var(--brand);
  box-shadow: var(--ring-focus), inset 0 1px 2px rgba(16, 36, 52, .04);
  background: var(--surface);
}
select.input { border-radius: 10px; }
textarea.input { border-radius: 12px; }
.field label { color: var(--ink); letter-spacing: .1px; }
.field:focus-within > label { color: var(--brand-700); }
.radio-cards label { border-radius: 12px; background: var(--surface); }
.radio-cards label:hover { border-color: color-mix(in srgb, var(--brand) 36%, var(--line)); }
.radio-cards label:has(input:checked) {
  border-color: var(--brand);
  background: color-mix(in srgb, var(--brand) 7%, var(--surface));
  box-shadow: var(--ring-soft);
}
.radio-cards label:has(input:focus-visible) { outline: 2px solid var(--brand-400); outline-offset: 2px; }

/* ---------- [v3-5] 通用工具类（qx- 前缀，模板复用） ---------- */
.qx-icon-tile {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: 14px;
  color: var(--brand-700);
  background: color-mix(in srgb, var(--brand) 9%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--brand) 16%, var(--line));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5);
}
.qx-icon-tile .ico { width: 22px; height: 22px; }
.qx-icon-tile.gradient {
  color: #fff;
  background: var(--grad-brand);
  border-color: transparent;
  box-shadow: 0 10px 22px -12px rgba(var(--brand-rgb), .7), inset 0 1px 0 rgba(255, 255, 255, .24);
}
.qx-icon-tile.sm { width: 36px; height: 36px; border-radius: 11px; }
.qx-icon-tile.sm .ico { width: 18px; height: 18px; }
.qx-icon-tile.dark {
  color: var(--on-dark-bright);
  background: rgba(255, 255, 255, .09);
  border-color: var(--line-on-dark);
  box-shadow: none;
}
.qx-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: var(--brand-700);
}
.qx-eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-brand);
}
.qx-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 13px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  background: var(--glass);
  color: var(--ink-2);
  font-size: 12.5px;
  font-weight: 600;
  box-shadow: var(--shadow-xs);
}
.qx-chip .ico { width: 14px; height: 14px; color: var(--brand); }
.qx-divider {
  height: 1px;
  border: 0;
  margin: 0;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}
.qx-glow {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(52px);
  pointer-events: none;
}

/* ---------- [v3-6] 顶栏 / 导航 ---------- */
/* 毛玻璃改用 ::before 独立层承载：backdrop-filter 若落在 .topbar 本身，
 * 会为 position:fixed 的移动端抽屉创建包含块，导致抽屉高度塌缩成顶栏高度。
 * 因此 .topbar 本体不设 filter，玻璃层由伪元素绘制。 */
.topbar {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid transparent;
  transition: border-color var(--t) var(--ease), box-shadow var(--t) var(--ease), background-color var(--t) var(--ease);
}
.topbar::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--glass);
  backdrop-filter: saturate(1.8) blur(14px);
  -webkit-backdrop-filter: saturate(1.8) blur(14px);
  transition: background-color var(--t) var(--ease);
  pointer-events: none;
}
.topbar::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--brand) 26%, transparent), transparent);
  opacity: .7;
  pointer-events: none;
}
.topbar.scrolled {
  border-color: var(--hairline);
  background: transparent;
  box-shadow: var(--elev-1);
}
.topbar.scrolled::before { background: var(--glass-strong); }
.logo { letter-spacing: .2px; }
.logo-mark {
  border-radius: 11px;
  background: var(--grad-brand-strong);
  box-shadow: 0 8px 18px -8px rgba(var(--brand-rgb), .7), inset 0 1px 0 rgba(255, 255, 255, .32);
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.logo:hover .logo-mark { transform: translateY(-1px) rotate(-4deg); box-shadow: 0 12px 22px -10px rgba(var(--brand-rgb), .75); }
.logo:hover { color: var(--ink); }
.points-pill {
  background: color-mix(in srgb, var(--brand) 7%, var(--surface));
  border-color: color-mix(in srgb, var(--brand) 22%, var(--line));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6);
  transition: transform var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.points-pill:hover { transform: translateY(-1px); border-color: var(--brand-300); color: var(--brand-700); }
.avatar {
  box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px color-mix(in srgb, var(--brand) 30%, transparent), 0 8px 16px -8px rgba(var(--brand-rgb), .6);
  transition: transform var(--t-fast) var(--ease);
}
.avatar:hover { transform: translateY(-1px); }
.user-menu .dropdown {
  background: var(--glass-strong);
  backdrop-filter: saturate(1.6) blur(16px);
  -webkit-backdrop-filter: saturate(1.6) blur(16px);
  box-shadow: var(--elev-2);
  border-color: var(--hairline);
  animation: qx-drop var(--t-fast) var(--ease);
}
@keyframes qx-drop { from { opacity: 0; transform: translateY(-5px); } }

@media (min-width: 961px) {
  .nav { gap: 3px; align-items: center; }
  .nav a { padding: 9px 15px; border-radius: 10px; font-weight: 550; isolation: isolate; }
  .nav a::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    background: color-mix(in srgb, var(--brand) 8%, transparent);
    opacity: 0;
    transform: scale(.94);
    transition: opacity var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
  }
  .nav a:hover::before, .nav a.active::before { opacity: 1; transform: none; }
  .nav a.active { color: var(--brand-700); }
  .nav a.active::after {
    left: 15px;
    right: 15px;
    bottom: 4px;
    height: 2px;
    background: var(--grad-brand);
    box-shadow: 0 0 10px rgba(var(--brand-rgb), .5);
  }
}

/* ---------- [v3-7] Hero 首屏 ---------- */
.hero { padding: 88px 0 76px; }
.hero::before {
  background:
    radial-gradient(960px 470px at 50% -14%, var(--glow-brand), transparent 68%),
    radial-gradient(600px 320px at 94% 18%, var(--glow-accent-mid), transparent 70%),
    radial-gradient(560px 300px at 3% 68%, var(--glow-brand-soft), transparent 72%),
    linear-gradient(180deg, var(--surface-soft) 0%, var(--surface) 66%);
}
.hero::after {
  background-image:
    linear-gradient(color-mix(in srgb, var(--line) 70%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--line) 70%, transparent) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 58% at 50% 32%, #000 26%, transparent 74%);
  -webkit-mask-image: radial-gradient(ellipse 70% 58% at 50% 32%, #000 26%, transparent 74%);
  opacity: .75;
}
.hero-ornament {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(46px);
  opacity: .55;
}
.hero-ornament.a {
  width: 300px; height: 300px;
  left: max(2%, calc(50% - 660px));
  top: 130px;
  background: radial-gradient(circle, rgba(var(--brand-rgb), .5), transparent 68%);
  animation: qx-float 11s var(--ease) infinite alternate;
}
.hero-ornament.b {
  width: 260px; height: 260px;
  right: max(2%, calc(50% - 660px));
  top: 340px;
  background: radial-gradient(circle, rgba(var(--accent-rgb), .42), transparent 70%);
  animation: qx-float 13s var(--ease) 1.2s infinite alternate-reverse;
}
@keyframes qx-float {
  from { transform: translate3d(0, -10px, 0) scale(1); }
  to { transform: translate3d(0, 16px, 0) scale(1.06); }
}
.hero .eyebrow { color: var(--brand-700); letter-spacing: 3px; }
.hero h1 { font-size: clamp(32px, 4.2vw, 56px); margin: 22px 0 18px; letter-spacing: .2px; }
.hero h1 em {
  background: var(--grad-text);
  background-size: 180% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none;
}
.hero .sub { font-size: clamp(15px, 1.3vw, 18px); max-width: 720px; margin-bottom: 30px; }
.hero-badges { margin-bottom: 30px; }
.hero-badges span {
  background: var(--glass);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-color: color-mix(in srgb, var(--brand) 18%, var(--line));
  box-shadow: var(--shadow-xs);
  transition: transform var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.hero-badges span:hover { transform: translateY(-1px); border-color: var(--brand-300); }
.hero-badges .ico { color: var(--brand-600); }

/* Hero 数据浮层（装饰性，<1100px 隐藏） */
.hero-float {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  border-radius: 16px;
  border: 1px solid var(--hairline);
  background: var(--glass-strong);
  backdrop-filter: saturate(1.5) blur(14px);
  -webkit-backdrop-filter: saturate(1.5) blur(14px);
  box-shadow: var(--elev-2);
  animation: qx-float 8s var(--ease) infinite alternate;
}
.hero-float b { display: block; font-size: 19px; font-weight: 800; line-height: 1.15; color: var(--ink); font-variant-numeric: tabular-nums; }
.hero-float small { display: block; font-size: 11.5px; color: var(--ink-2); margin-top: 2px; }
.hero-float.fa { left: max(16px, calc(50% - 700px)); top: 300px; }
.hero-float.fb { right: max(16px, calc(50% - 700px)); top: 210px; animation-delay: 1.4s; animation-direction: alternate-reverse; }
.hero-float .qx-icon-tile { width: 40px; height: 40px; border-radius: 12px; }
.hero-float .qx-icon-tile .ico { width: 19px; height: 19px; }

/* CTA 行 */
.hero-cta { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.hero-cta .btn { height: 44px; border-radius: 12px; }

/* 搜索框强化 */
.search { max-width: 820px; scroll-margin-top: 96px; }
.search-key {
  display: none;
  flex: none;
  margin-right: 10px;
  padding: 2px 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--bg-soft);
  color: var(--ink-2);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .5px;
}
@media (min-width: 641px) {
  .hero .search-key { display: inline-flex; align-items: center; }
  .search.compact .search-key { display: none; }
}
.hero .search-box {
  border: 1.5px solid transparent;
  border-radius: 18px;
  padding: 8px 8px 8px 22px;
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    var(--grad-brand) border-box;
  box-shadow: 0 30px 64px -34px rgba(var(--brand-rgb), .62), 0 2px 8px rgba(16, 36, 52, .05);
  transition: box-shadow var(--t) var(--ease), transform var(--t) var(--ease);
}
.hero .search-box:focus-within {
  box-shadow: 0 0 0 6px rgba(var(--brand-rgb), .12), 0 34px 72px -32px rgba(var(--brand-rgb), .68);
}
.hero .search-box .ai-badge {
  background: var(--grad-brand);
  border-radius: 7px;
  padding: 3px 9px;
  box-shadow: 0 6px 14px -8px rgba(var(--brand-rgb), .8);
}
.hero .search-box input { font-weight: 500; }
.hero .search-box .btn { border-radius: 12px; }
.search.compact .search-box { padding: 5px 5px 5px 15px; border-width: 1px; border-color: var(--line-strong); background: var(--surface); }
.search.compact .search-box:focus-within { border-color: var(--brand); box-shadow: var(--ring-focus); }
/* 内页页头内的搜索框与标题左对齐（首页 Hero 仍居中） */
.page-head .wrap > .search { margin-left: 0; }

/* 热门搜索 chips */
.hot { margin-top: 20px; }
.hot a {
  background: var(--glass);
  border-color: var(--line);
  padding: 5px 14px;
  transition: transform var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.hot a:hover { transform: translateY(-1px); border-color: var(--brand-300); box-shadow: var(--shadow-xs); }

/* 四入口卡片 */
.quick { max-width: 980px; margin-top: 54px; gap: 18px; }
.quick a {
  padding: 22px 20px 20px;
  border-radius: var(--radius-xl);
  background: var(--grad-surface);
  border-color: var(--line);
  box-shadow: var(--shadow-xs);
}
.quick a::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 3px;
  background: var(--grad-brand);
  opacity: 0;
  transform: scaleX(.4);
  transform-origin: left;
  transition: opacity var(--t) var(--ease), transform var(--t) var(--ease);
  z-index: 1;
}
.quick a:hover::before { opacity: 1; transform: scaleX(1); }
.quick a:hover { transform: translateY(-5px); box-shadow: var(--elev-2); border-color: color-mix(in srgb, var(--brand) 30%, var(--line)); }
.quick a::after {
  width: 96px; height: 96px; right: -28px; top: -28px;
  background: radial-gradient(circle, color-mix(in srgb, var(--brand) 12%, transparent), transparent 70%);
  transition: transform .4s var(--ease);
}
.quick a:hover::after { transform: scale(1.45); }
.qi {
  width: 46px; height: 46px;
  border-radius: 14px;
  background: var(--grad-brand);
  box-shadow: 0 10px 20px -12px rgba(var(--brand-rgb), .85), inset 0 1px 0 rgba(255, 255, 255, .26);
}
.qi .ico { width: 21px; height: 21px; }
.quick a:nth-child(2) .qi { background: linear-gradient(135deg, var(--accent-600) 0%, var(--brand-400) 100%); }
.quick a:nth-child(3) .qi { background: linear-gradient(135deg, color-mix(in srgb, var(--brand) 62%, var(--accent)) 0%, var(--brand-500) 100%); }
.quick a:nth-child(4) .qi { background: linear-gradient(135deg, var(--brand-500) 0%, color-mix(in srgb, var(--accent) 55%, var(--brand)) 100%); }
.quick b { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 17px; }
.quick a > * { position: relative; z-index: 1; }
.quick a > .quick-go { position: absolute; z-index: 2; }
.quick a > span:not(.qi):not(.quick-go) { display: block; margin-top: 3px; color: var(--ink-2); font-size: 12.5px; }
.quick-go {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--ink-3);
  background: var(--surface);
  transition: all var(--t) var(--ease);
}
.quick-go .ico { width: 14px; height: 14px; }
.quick a:hover .quick-go {
  color: #fff;
  background: var(--brand);
  border-color: transparent;
  transform: translateX(3px);
  box-shadow: 0 6px 14px -8px rgba(var(--brand-rgb), .9);
}

/* 统计条 */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  max-width: 900px;
  margin: 56px auto 0;
  padding: 20px 6px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-xl);
  background: var(--glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow-xs);
}
.stats-strip div { text-align: center; padding: 4px 14px; border-left: 1px solid var(--hairline); }
.stats-strip div:first-child { border-left: 0; }
.stats-strip b {
  font-size: clamp(25px, 2.4vw, 33px);
  font-weight: 800;
  letter-spacing: .2px;
  background: linear-gradient(165deg, var(--ink) 18%, color-mix(in srgb, var(--brand) 88%, var(--ink)) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.stats-strip span { display: block; margin-top: 2px; font-size: 12.5px; color: var(--ink-2); letter-spacing: .5px; }

/* ---------- [v3-8] 区块头 / 分类卡 / 下一步 ---------- */
.section { padding: 78px 0; }
.section.soft { background: var(--grad-soft); }
.section.soft::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(color-mix(in srgb, var(--brand) 9%, transparent) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
  opacity: .5;
  pointer-events: none;
}
.sec-head { align-items: center; margin-bottom: 36px; }
.sec-head-main { display: flex; align-items: flex-start; gap: 16px; min-width: 0; }
.sec-head-main > div { min-width: 0; }
.sec-head h2 { font-size: clamp(26px, 2.6vw, 34px); font-weight: 800; margin: 8px 0 0; }
.sec-head p { margin: 10px 0 0; color: var(--ink-2); font-size: 14px; }
.sec-head .more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  background: var(--glass);
  color: var(--brand-700);
  box-shadow: var(--shadow-xs);
  transition: all var(--t) var(--ease);
}
.sec-head .more:hover { border-color: var(--brand-300); box-shadow: var(--elev-1); transform: translateY(-1px); }
.sec-head .more .ico { width: 15px; height: 15px; }

.cat-grid { gap: 22px; }
.cat-card {
  padding: 26px 24px;
  border-radius: var(--radius-xl);
  background: var(--grad-surface);
  border-color: var(--line);
  box-shadow: var(--shadow-xs);
}
.cat-card::before {
  height: 4px;
  background: linear-gradient(90deg, var(--c, var(--brand)), color-mix(in srgb, var(--c, var(--brand)) 8%, transparent));
  opacity: 1;
}
.cat-card::after {
  content: "";
  position: absolute;
  right: -46px;
  bottom: -46px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--c, var(--brand)) 14%, transparent), transparent 70%);
  opacity: .0;
  transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease);
  pointer-events: none;
}
.cat-card:hover { transform: translateY(-5px); box-shadow: var(--elev-2); border-color: color-mix(in srgb, var(--c, var(--brand)) 30%, var(--line)); }
.cat-card:hover::after { opacity: 1; transform: scale(1.1); }
.cat-card .ci {
  width: 50px;
  height: 50px;
  border-radius: 15px;
  margin-bottom: 16px;
  color: color-mix(in srgb, var(--c, var(--brand)) 74%, var(--ink));
  background: color-mix(in srgb, var(--c, var(--brand)) 12%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--c, var(--brand)) 18%, var(--line));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4);
}
.cat-card .ci .ico { width: 24px; height: 24px; }
.cat-card h3 { font-size: 20px; }
.cat-card h3 small { color: var(--ink-2); }
.cat-card p { color: var(--ink-2); }
.cat-card li { padding: 9px 0; transition: background-color var(--t-fast) var(--ease); border-radius: 6px; }
.cat-card li a:hover { color: var(--brand-700); }
.cat-card li span { color: var(--ink-2); }
.cat-card .more { display: inline-flex; align-items: center; gap: 5px; font-size: 13.5px; }

.next {
  padding: 18px 22px;
  border-radius: var(--radius-xl);
  border-color: color-mix(in srgb, var(--brand) 20%, var(--line));
  background: linear-gradient(100deg, color-mix(in srgb, var(--brand) 9%, var(--surface)), var(--surface) 72%);
  box-shadow: var(--shadow-xs);
}
.next b { font-size: 14px; letter-spacing: .3px; }
.next a {
  padding: 7px 15px;
  border: 1px solid var(--line);
  background: var(--glass);
  color: var(--ink-2);
  font-weight: 500;
  box-shadow: var(--shadow-xs);
}
.next a:hover {
  background: var(--grad-brand);
  border-color: transparent;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px -10px rgba(var(--brand-rgb), .7);
}

/* ---------- [v3-9] 业务横幅卡 ---------- */
.biz-grid { gap: 24px; }
.biz-card { border-radius: var(--radius-xl); background: var(--grad-surface); box-shadow: var(--shadow-xs); }
.biz-card:hover { transform: translateY(-4px); box-shadow: var(--elev-2); border-color: color-mix(in srgb, var(--brand) 28%, var(--line)); }
.biz-img { background: var(--c, var(--brand)); }
.biz-img::after {
  background:
    linear-gradient(90deg, rgba(5, 18, 28, .74) 0%, rgba(5, 18, 28, .26) 54%, rgba(5, 18, 28, .04) 78%),
    linear-gradient(0deg, rgba(5, 18, 28, .62) 0%, transparent 46%);
}
.biz-card:hover .biz-img img, .biz-card:hover .biz-img svg.pattern { transform: scale(1.06); }
.biz-img .lbl { left: 26px; bottom: 20px; text-shadow: 0 2px 14px rgba(0, 0, 0, .45); }
.biz-img .lbl b { font-size: clamp(20px, 2vw, 26px); letter-spacing: 2.4px; }
.biz-img .lbl small {
  display: inline-flex;
  align-items: center;
  margin-top: 6px;
  padding: 2px 9px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: var(--radius-pill);
  background: rgba(8, 20, 30, .32);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  letter-spacing: 1.4px;
  opacity: 1;
}
.biz-img .main {
  top: 16px;
  right: 16px;
  border: 1px solid rgba(255, 255, 255, .26);
  background: rgba(8, 20, 30, .36);
  color: #fff;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: var(--radius-pill);
  padding: 2px 10px;
}
.biz-cta {
  position: absolute;
  right: 20px;
  bottom: 18px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border: 1px solid rgba(255, 255, 255, .26);
  border-radius: var(--radius-pill);
  background: rgba(8, 20, 30, .38);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: .94;
  transform: translateX(6px);
  transition: all var(--t) var(--ease);
}
.biz-cta .ico { width: 14px; height: 14px; }
.biz-card:hover .biz-cta { opacity: 1; transform: none; background: rgba(8, 20, 30, .58); }
.biz-body { padding: 17px 24px 19px; }
.biz-body p { color: var(--ink-2); }
.biz-banner { position: relative; }
.biz-banner .biz-img { border-radius: 0; }
.biz-banner .biz-cta { display: none; }

/* ---------- [v3-10] 通用信息卡 / 盒子 / 统计 ---------- */
.info-cols .box { border-radius: var(--radius-xl); overflow: hidden; }
.info-cols .box:hover { border-color: color-mix(in srgb, var(--brand) 24%, var(--line)); box-shadow: var(--elev-1); }
.box { border-radius: var(--radius-lg); box-shadow: var(--shadow-xs); overflow: hidden; }
.box-h { background: var(--grad-surface); padding: 15px 20px; }
.box-h h3 { font-size: 16px; letter-spacing: .1px; }
.box-h h3 .ico { width: 18px; height: 18px; }
.box-b .list li > a:hover, .box-b .list li > a:focus-visible { color: var(--brand-700); }
.card { border-radius: var(--radius-lg); }
a.card:hover, .card.hover:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--brand) 28%, var(--line));
  box-shadow: var(--elev-2);
}
.card h4 .ico { color: var(--brand); }
.job-top h4 { letter-spacing: .1px; }
.salary { font-variant-numeric: tabular-nums; }
.job-meta span { color: var(--ink-2); }
.stat {
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  transition: border-color var(--t) var(--ease), box-shadow var(--t) var(--ease), transform var(--t) var(--ease);
}
.stat::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 3px;
  background: var(--grad-brand);
  opacity: .85;
}
.stat:hover { border-color: var(--brand-300); box-shadow: var(--elev-1); transform: translateY(-2px); }
.stat b { letter-spacing: .2px; }
.rank li::before { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35); }
.rank li:nth-child(1)::before { background: linear-gradient(135deg, #f2c552, var(--gold)); }
.rank li:nth-child(2)::before { background: linear-gradient(135deg, #c3ced9, var(--silver)); }
.rank li:nth-child(3)::before { background: linear-gradient(135deg, #dda877, var(--bronze)); }

/* ---------- [v3-11] 内页页头 / 面包屑 / 筛选 ---------- */
.page-head {
  padding: 54px 0 42px;
  border-bottom: 1px solid var(--hairline);
  background:
    radial-gradient(720px 320px at 90% -24%, var(--glow-brand-mid), transparent 70%),
    radial-gradient(560px 280px at 8% 126%, var(--glow-accent), transparent 72%),
    linear-gradient(180deg, var(--brand-50) 0%, var(--surface) 94%);
}
.page-head::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(color-mix(in srgb, var(--line) 62%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--line) 62%, transparent) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(90deg, transparent, #000 55%, #000 80%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 55%, #000 80%, transparent);
  opacity: .6;
  pointer-events: none;
}
.page-head::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -120px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  border: 46px solid color-mix(in srgb, var(--brand) 6%, transparent);
  pointer-events: none;
}
.page-head .wrap { position: relative; z-index: 1; }
.page-head h1 { font-size: clamp(25px, 3vw, 36px); font-weight: 800; margin: 12px 0 10px; }
.page-head p { color: var(--ink-2); max-width: 760px; }
.page-head .filter-row { margin-top: 22px; }
.page-head-extra { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.crumb { align-items: center; gap: 7px; }
.crumb a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 11px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--glass);
  color: var(--ink-2);
  font-size: 12px;
  transition: all var(--t-fast) var(--ease);
}
.crumb a:hover { border-color: var(--brand-300); color: var(--brand-700); box-shadow: var(--shadow-xs); }
.crumb i { opacity: .45; font-size: 11px; }

.tabs {
  display: inline-flex;
  gap: 4px;
  padding: 5px;
  margin-bottom: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--glass);
  box-shadow: var(--shadow-xs);
  overflow-x: auto;
}
.tabs a {
  padding: 8px 18px;
  margin: 0;
  border: 0;
  border-radius: var(--radius-pill);
  color: var(--ink-2);
  font-weight: 600;
  white-space: nowrap;
  transition: all var(--t-fast) var(--ease);
}
.tabs a:hover { background: color-mix(in srgb, var(--brand) 7%, transparent); color: var(--brand-700); }
.tabs a.on {
  border: 0;
  background: var(--grad-brand);
  color: #fff;
  box-shadow: 0 8px 18px -10px rgba(var(--brand-rgb), .7);
}
.chips { gap: 10px; margin-bottom: 22px; }
.chips a {
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  background: var(--glass);
  box-shadow: var(--shadow-xs);
  font-weight: 500;
  transition: all var(--t-fast) var(--ease);
}
.chips a small { color: var(--ink-2); }
.chips a:hover { border-color: var(--brand-300); color: var(--brand-700); transform: translateY(-1px); box-shadow: var(--elev-1); }
.chips a.on {
  background: var(--grad-brand);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 10px 20px -12px rgba(var(--brand-rgb), .8);
}
.chips a.on small { color: rgba(255, 255, 255, .82); }

/* ---------- [v3-12] 百科列表 / 排行卡 ---------- */
.wiki-list { display: flex; flex-direction: column; gap: 14px; }
.wiki-card {
  position: relative;
  display: block;
  padding: 20px 22px 18px 25px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-xs);
  overflow: hidden;
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), border-color var(--t) var(--ease);
}
.wiki-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 15px;
  bottom: 15px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: var(--wc, var(--brand));
  opacity: .9;
  transition: top var(--t) var(--ease), bottom var(--t) var(--ease);
}
.wiki-card:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--wc, var(--brand)) 34%, var(--line));
  box-shadow: var(--elev-2);
  color: inherit;
}
.wiki-card:hover::before { top: 8px; bottom: 8px; }
.wiki-card h3 { margin: 0 0 8px; font-size: 18px; display: flex; align-items: flex-start; gap: 8px; flex-wrap: wrap; }
.wiki-card h3 a { letter-spacing: .1px; }
.wiki-card h3 a:hover { color: var(--brand-700); }
.wiki-card p {
  margin: 0 0 12px;
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.wiki-card .meta-row { gap: 10px; }
.wiki-card .meta-row > span { font-size: 12px; color: var(--ink-2); }
.wiki-card .meta-row .tag { font-size: 11.5px; }
.wiki-card .wiki-go {
  position: absolute;
  right: 18px;
  top: 18px;
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink-3);
  opacity: 0;
  transform: translateX(-3px);
  transition: all var(--t) var(--ease);
}
.wiki-card .wiki-go .ico { width: 14px; height: 14px; }
.wiki-card:hover .wiki-go { opacity: 1; transform: none; color: var(--brand); border-color: var(--brand-300); }
/* 分类色调：全部由语义令牌混合得到，三套皮肤自动适配 */
.wiki-card.tone-1 { --wc: var(--brand); }
.wiki-card.tone-2 { --wc: var(--accent); }
.wiki-card.tone-3 { --wc: var(--brand-400); }
.wiki-card.tone-4 { --wc: var(--accent-600); }
.wiki-card.tone-3, .wiki-card.tone-4 { --wc: color-mix(in srgb, var(--brand) 55%, var(--accent)); }
.wiki-card.tone-4 { --wc: color-mix(in srgb, var(--accent) 68%, var(--brand)); }

/* 排行卡 */
.rank-card .box-b { padding: 10px 20px 16px; }
.rank-list { list-style: none; margin: 0; padding: 0; }
.rank-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 13.5px;
}
.rank-list li:last-child { border-bottom: 0; }
.rank-medal {
  flex: none;
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 8px;
  font-size: 11.5px;
  font-weight: 800;
  color: var(--ink-2);
  background: var(--bg-mute);
  font-variant-numeric: tabular-nums;
}
.rank-list li:nth-child(1) .rank-medal {
  color: #3a2a05;
  background: linear-gradient(135deg, #f4cd61, var(--gold));
  box-shadow: 0 6px 12px -6px rgba(217, 155, 31, .75), inset 0 1px 0 rgba(255, 255, 255, .5);
}
.rank-list li:nth-child(2) .rank-medal {
  color: #22303c;
  background: linear-gradient(135deg, #d5dee6, var(--silver));
  box-shadow: 0 6px 12px -6px rgba(154, 169, 182, .7), inset 0 1px 0 rgba(255, 255, 255, .5);
}
.rank-list li:nth-child(3) .rank-medal {
  color: #3b2413;
  background: linear-gradient(135deg, #e2b489, var(--bronze));
  box-shadow: 0 6px 12px -6px rgba(192, 122, 70, .7), inset 0 1px 0 rgba(255, 255, 255, .45);
}
.rank-list li > a {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--ink-2);
}
.rank-list li > a:hover { color: var(--brand-700); }
.rank-bar { flex: none; width: 58px; height: 5px; border-radius: 3px; background: var(--line-2); overflow: hidden; }
.rank-bar i { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg, var(--brand-400), var(--brand)); }
.rank-list li:nth-child(1) .rank-bar i { background: linear-gradient(90deg, var(--gold), #eab949); }
.rank-list li:nth-child(2) .rank-bar i { background: linear-gradient(90deg, var(--silver), #b8c4cf); }
.rank-list li:nth-child(3) .rank-bar i { background: linear-gradient(90deg, var(--bronze), #d9a271); }
.rank-val {
  flex: none;
  width: 42px;
  text-align: right;
  font-size: 11.5px;
  color: var(--ink-2);
  font-variant-numeric: tabular-nums;
}

/* ---------- [v3-13] 信息列表行 ---------- */
.info-list { display: flex; flex-direction: column; gap: 10px; }
.info-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-xs);
  transition: all var(--t) var(--ease);
}
.info-row:hover, .info-row:focus-visible {
  transform: translateX(3px);
  border-color: color-mix(in srgb, var(--brand) 30%, var(--line));
  box-shadow: var(--elev-1);
  color: inherit;
}
.info-row.pinned { background: linear-gradient(100deg, color-mix(in srgb, var(--brand) 7%, var(--surface)), var(--surface) 62%); border-color: color-mix(in srgb, var(--brand) 22%, var(--line)); }
.info-row .ir-main { flex: 1; min-width: 0; }
.info-row .ir-title {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}
.info-row .ir-meta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 5px; font-size: 12px; color: var(--ink-2); }
.info-row .ir-meta span { display: inline-flex; align-items: center; gap: 4px; }
.info-row .ir-meta .ico { width: 13px; height: 13px; }
.info-row .ir-go { flex: none; color: var(--ink-3); transition: all var(--t) var(--ease); }
.info-row:hover .ir-go { color: var(--brand); transform: translateX(3px); }

/* ---------- [v3-14] 正文 / 提示 / 联系 / 目录 ---------- */
.article { color: var(--ink); }
.article h2 {
  border-left-width: 4px;
  border-image: linear-gradient(180deg, var(--brand), var(--accent)) 1;
  padding-left: 15px;
  letter-spacing: .1px;
}
.article h3 { letter-spacing: .1px; }
.article blockquote {
  border-left: 3px solid color-mix(in srgb, var(--brand) 30%, var(--line));
  background: color-mix(in srgb, var(--brand) 5%, var(--surface));
}
.article a { text-underline-offset: 3px; }
.lead {
  border-radius: var(--radius-lg);
  border-color: color-mix(in srgb, var(--brand) 20%, var(--line));
  background: linear-gradient(100deg, color-mix(in srgb, var(--brand) 8%, var(--surface)), var(--surface) 82%);
  position: relative;
  padding-left: 24px;
}
.lead::before {
  content: "";
  position: absolute;
  left: 0; top: 16px; bottom: 16px;
  width: 3px;
  border-radius: 3px;
  background: var(--grad-brand);
}
.warn-box {
  border-color: color-mix(in srgb, var(--warn) 30%, var(--line));
  background: color-mix(in srgb, var(--warn) 7%, var(--surface));
  color: color-mix(in srgb, var(--warn) 45%, var(--ink));
  border-radius: var(--radius-md);
}
.contact-bar {
  border-radius: var(--radius-lg);
  background: linear-gradient(100deg, color-mix(in srgb, var(--brand) 7%, var(--surface)), var(--surface) 62%);
  border-color: color-mix(in srgb, var(--brand) 18%, var(--line));
  box-shadow: var(--shadow-xs);
}
.toc a { border-left-width: 2px; transition: all var(--t-fast) var(--ease); }
.toc a:hover { padding-left: 16px; border-color: var(--brand); color: var(--brand-700); }
.timeline li::before { box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 12%, transparent); }

/* ---------- [v3-15] 表格 / 分页 / 空状态 / 套餐（前台作用域） ---------- */
.wrap .tbl-wrap {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs);
  border-color: var(--line);
}
.wrap .tbl th {
  background: color-mix(in srgb, var(--brand) 5%, var(--bg-soft));
  color: var(--ink-2);
  font-size: 12.5px;
  letter-spacing: .4px;
}
.wrap .tbl tbody tr { transition: background-color var(--t-fast) var(--ease); }
.wrap .tbl tbody tr:hover td { background: color-mix(in srgb, var(--brand) 4%, var(--surface)); }
.pager { gap: 8px; }
.pager a, .pager b, .pager span {
  min-width: 38px;
  height: 38px;
  border-radius: 11px;
  font-weight: 600;
  box-shadow: var(--shadow-xs);
  transition: all var(--t-fast) var(--ease);
}
.pager a:hover { border-color: var(--brand-300); color: var(--brand-700); transform: translateY(-1px); }
.pager b {
  background: var(--grad-brand);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 8px 18px -10px rgba(var(--brand-rgb), .75);
}
.pager span { box-shadow: none; background: none; }
.empty {
  border-radius: var(--radius-xl);
  border-style: dashed;
  border-color: color-mix(in srgb, var(--brand) 24%, var(--line));
  background: var(--grad-surface);
  padding: 52px 24px;
}
.empty .ico {
  width: 42px;
  height: 42px;
  padding: 10px;
  border-radius: 14px;
  box-sizing: content-box;
  background: color-mix(in srgb, var(--brand) 8%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--brand) 16%, var(--line));
  color: var(--brand-600) !important;
}
.empty .more { margin-top: 10px; }
.pkg {
  border-radius: var(--radius-md);
  border-color: var(--line);
  background: var(--surface);
  transition: all var(--t) var(--ease);
}
.pkg:hover { border-color: color-mix(in srgb, var(--brand) 30%, var(--line)); box-shadow: var(--elev-1); transform: translateY(-1px); }
.pkg .price {
  background: linear-gradient(165deg, var(--brand) 20%, var(--accent-600) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.tag {
  border-radius: var(--radius-pill);
  padding: 0 10px;
  line-height: 22px;
  letter-spacing: .2px;
}
.tag.brand { background: color-mix(in srgb, var(--brand) 8%, var(--surface)); border-color: color-mix(in srgb, var(--brand) 22%, var(--line)); }
.pin {
  border-radius: 5px;
  background: linear-gradient(90deg, #e08a1e, #c9601b);
  box-shadow: 0 3px 8px -4px rgba(201, 96, 27, .8);
}
.alert { border-radius: var(--radius-md); border-left-width: 3px; }

/* ---------- [v3-16] 认证 / 注册页 ---------- */
.auth { min-height: calc(100vh - 68px); }
.auth-side {
  padding: clamp(42px, 5vw, 76px) clamp(28px, 5vw, 64px);
  background: var(--grad-dark);
}
.auth-side::before {
  background:
    radial-gradient(620px 340px at 0% 0%, var(--glow-brand-strong), transparent 70%),
    radial-gradient(520px 280px at 100% 100%, var(--glow-accent-mid), transparent 72%),
    linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px) 0 0 / 100% 46px,
    linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px) 0 0 / 46px 100%;
}
.auth-side::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -100px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  border: 52px solid rgba(255, 255, 255, .05);
  pointer-events: none;
}
.auth-side .eyebrow { color: var(--on-dark-link); }
.auth-side h2 { font-size: clamp(28px, 3vw, 38px); letter-spacing: .3px; }
.auth-side ul { margin-top: 28px; }
.auth-side li { padding: 11px 0; border-bottom: 1px solid var(--line-on-dark); gap: 12px; }
.auth-side li:last-child { border-bottom: 0; }
.auth-side li .qx-icon-tile { width: 34px; height: 34px; border-radius: 10px; }
.auth-side li .qx-icon-tile .ico { width: 17px; height: 17px; }
.auth-stats { display: flex; gap: 30px; flex-wrap: wrap; margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--line-on-dark); }
.auth-stats b { display: block; font-size: 23px; font-weight: 800; color: var(--on-dark); font-variant-numeric: tabular-nums; }
.auth-stats span { font-size: 12px; color: var(--on-dark-3); }
.auth-main {
  padding: clamp(32px, 6vw, 76px) 24px;
  background:
    radial-gradient(560px 280px at 100% 0%, var(--glow-brand-soft), transparent 70%),
    radial-gradient(480px 240px at 0% 100%, var(--glow-accent), transparent 72%);
}
.auth-card {
  width: 100%;
  max-width: 430px;
  padding: clamp(26px, 3vw, 40px);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-xl);
  background: var(--glass-strong);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--elev-2);
  position: relative;
}
.auth-card::before {
  content: "";
  position: absolute;
  left: clamp(26px, 3vw, 40px);
  right: clamp(26px, 3vw, 40px);
  top: 0;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: var(--grad-brand);
  opacity: .9;
}
.auth-card h1 { font-size: 30px; margin: 4px 0 8px; letter-spacing: .2px; }
.auth-card .form { margin-top: 22px; }
.auth-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px dashed var(--line);
  font-size: 12px;
  color: var(--ink-2);
}
.auth-trust span { display: inline-flex; align-items: center; gap: 5px; }
.auth-trust .ico { width: 14px; height: 14px; color: var(--brand-600); }

/* ---------- [v3-17] 用户中心 ---------- */
.uc-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--grad-brand-strong);
  border-radius: var(--radius-xl);
  box-shadow: var(--elev-2);
}
.uc-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(420px 220px at 92% -20%, rgba(255, 255, 255, .22), transparent 70%),
    radial-gradient(360px 200px at 6% 130%, rgba(255, 255, 255, .1), transparent 70%),
    linear-gradient(90deg, rgba(6, 20, 32, .18), transparent 60%);
}
.uc-hero::after {
  content: "";
  position: absolute;
  right: 26px;
  top: -70px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  border: 34px solid rgba(255, 255, 255, .09);
  pointer-events: none;
}
.uc-hero .avatar {
  width: 62px;
  height: 62px;
  font-size: 25px;
  background: rgba(255, 255, 255, .18);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .18), 0 12px 26px -14px rgba(0, 0, 0, .5);
}
.uc-hero h2 { letter-spacing: .3px; }
.uc-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.uc-tags .qx-chip { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .22); color: #fff; box-shadow: none; font-size: 12px; }
.uc-tags .qx-chip .ico { color: #fff; opacity: .9; }
.uc-nav { border-radius: var(--radius-lg); box-shadow: var(--shadow-xs); }
.uc-nav a { transition: all var(--t-fast) var(--ease); }
.uc-nav a:hover { background: color-mix(in srgb, var(--brand) 6%, var(--surface)); color: var(--brand-700); }
.uc-nav a.on {
  background: color-mix(in srgb, var(--brand) 9%, var(--surface));
  color: var(--brand-700);
  box-shadow: inset 3px 0 0 var(--brand);
}
.stat-row .stat b { background: none; }
.uc .block-title { border-bottom: 1px solid var(--line); padding-bottom: 12px; }

/* ---------- [v3-18] 问答 / 生成词条 ---------- */
.qa-q { letter-spacing: .2px; }
.qa-q .qbadge {
  border-radius: 11px;
  background: var(--grad-brand-strong);
  box-shadow: 0 10px 22px -12px rgba(var(--brand-rgb), .8);
}
.qa-a { border-radius: var(--radius-xl); box-shadow: var(--elev-1); }
.qa-status { color: var(--brand-700); }
.gen-entry {
  border-radius: var(--radius-lg);
  border-color: color-mix(in srgb, var(--brand) 22%, var(--line));
  background: linear-gradient(100deg, color-mix(in srgb, var(--brand) 8%, var(--surface)), var(--surface) 74%);
  box-shadow: var(--shadow-xs);
}
.gen-entry b { letter-spacing: .1px; }

/* ---------- [v3-19] 发布 / 认证 / 支付 / 积分 ---------- */
.form-card {
  border-radius: var(--radius-xl);
  border-color: var(--hairline);
  box-shadow: var(--elev-1);
  padding: clamp(20px, 3vw, 34px);
}
.form-card > h3 { padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.cost-bar {
  border-radius: var(--radius-md);
  background: var(--glass);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-color: color-mix(in srgb, var(--brand) 18%, var(--line));
  box-shadow: var(--elev-1);
}
.cost-bar b { font-size: 23px; }
.cert-item .cert-body h4 { letter-spacing: .1px; }
.cert-item img { border-radius: var(--radius-md); box-shadow: var(--shadow-xs); }
.verify-banner { position: relative; overflow: hidden; border-radius: var(--radius-xl); }
.verify-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--sheen);
  opacity: .5;
  pointer-events: none;
}
.verify-banner .vb-ico { border: 1px solid rgba(255, 255, 255, .18); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16); }
.cert { border-radius: var(--radius-lg); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.cert:hover { transform: translateY(-4px); box-shadow: var(--elev-dark); }
.pay-total, .pay-amount {
  font-variant-numeric: tabular-nums;
  background: linear-gradient(165deg, var(--brand) 20%, var(--accent-600) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

/* ---------- [v3-20] 页脚 ---------- */
.footer { padding: 58px 0 26px; background: var(--grad-dark); }
.footer::before { background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--on-dark-link) 40%, transparent), transparent); }
.foot-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-bottom: 28px;
  margin-bottom: 38px;
  border-bottom: 1px solid var(--line-on-dark);
}
.foot-top .ft-note {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--on-dark-2);
  font-size: 13px;
}
.foot-top .ft-note .ico { width: 17px; height: 17px; color: var(--on-dark-link); }
.foot-top .ft-note b { color: var(--on-dark); font-weight: 700; }
.foot-top .ft-cta { display: flex; gap: 10px; flex-wrap: wrap; }
.foot-grid { grid-template-columns: 1.55fr 1fr 1fr 1fr; gap: 40px; }
.footer h4 { display: flex; align-items: center; gap: 8px; font-size: 14px; letter-spacing: .6px; }
.footer h4::before { content: ""; width: 14px; height: 2px; border-radius: 2px; background: var(--on-dark-link); opacity: .8; }
.footer li { padding: 6px 0; }
.footer li a { position: relative; }
.foot-bottom { margin-top: 38px; color: var(--on-dark-3); }
.footer .about { color: var(--on-dark-2); }
.footer .logo-img { box-shadow: 0 6px 16px -10px rgba(0, 0, 0, .6); }

/* ---------- [v3-21] 首页收尾 CTA ---------- */
.qx-cta-section { padding: 20px 0 78px; }
.qx-cta {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  padding: clamp(28px, 4vw, 52px);
  border-radius: var(--radius-2xl);
  background: var(--grad-brand-strong);
  color: #fff;
  box-shadow: var(--elev-3);
}
.qx-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(460px 240px at 88% -30%, rgba(255, 255, 255, .24), transparent 70%),
    radial-gradient(360px 200px at 4% 130%, rgba(255, 255, 255, .12), transparent 70%),
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px) 0 0 / 100% 40px,
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px) 0 0 / 40px 100%;
  pointer-events: none;
}
.qx-cta::after {
  content: "";
  position: absolute;
  right: -90px;
  top: -90px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  border: 44px solid rgba(255, 255, 255, .08);
  pointer-events: none;
}
.qx-cta .qx-eyebrow { color: rgba(255, 255, 255, .92); }
.qx-cta .qx-eyebrow::before { background: rgba(255, 255, 255, .6); }
.qx-cta h2 { color: #fff; margin: 10px 0 10px; font-size: clamp(22px, 2.6vw, 33px); letter-spacing: .2px; }
.qx-cta p { margin: 0; max-width: 640px; color: #fff; font-size: 14.5px; }
.qx-cta .cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.qx-cta .btn.light { height: 46px; border-radius: 12px; padding: 0 22px; font-size: 15px; }
.qx-cta .btn.white { height: 46px; border-radius: 12px; padding: 0 22px; font-size: 15px; }

/* ---------- [v3-22] 通用动效尊重 / 移动端适配 ---------- */
@media (max-width: 1180px) {
  .hero-float { display: none; }
}
@media (max-width: 960px) {
  /* 移动端抽屉：用 clip-path 收起，避免 translateX(102%) 把文档撑出横向滚动
     （修复 390px 下 scrollWidth 大于 viewport 的历史问题；开合动效保留） */
  .nav {
    transform: none;
    -webkit-clip-path: inset(0 0 0 100%);
    clip-path: inset(0 0 0 100%);
    opacity: 0;
    pointer-events: none;
    transition: clip-path var(--t-slow) var(--ease), opacity var(--t-slow) var(--ease), visibility var(--t-slow) var(--ease);
  }
  .nav.open {
    transform: none;
    -webkit-clip-path: inset(0);
    clip-path: inset(0);
    opacity: 1;
    pointer-events: auto;
  }
  /* 顶栏自身是 z-index:60 的层叠上下文，抽屉打开时需整体抬到遮罩(80)之上，
     否则抽屉会压在半透明遮罩下面显得发灰 */
  body.nav-open .topbar { z-index: 100; }
  .hero { padding: 64px 0 56px; }
  .section { padding: 56px 0; }
  .hero h1 { margin-top: 16px; }
  .quick { margin-top: 38px; }
  .stats-strip { margin-top: 40px; }
  .sec-head-main { gap: 13px; }
  .qx-icon-tile { width: 42px; height: 42px; border-radius: 12px; }
  .qx-icon-tile .ico { width: 20px; height: 20px; }
  .auth-main { padding: 44px 20px 56px; }
  .auth-card { max-width: 460px; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .qx-cta-section { padding: 8px 0 56px; }
  .page-head { padding: 42px 0 34px; }
  .tabs { display: flex; width: 100%; }
}
@media (max-width: 640px) {
  .hero { padding: 46px 0 40px; }
  .hero .eyebrow { font-size: 11px; letter-spacing: 1.6px; }
  .hero h1 { font-size: clamp(26px, 8.2vw, 34px); margin: 14px 0 14px; }
  .hero .sub { margin-bottom: 24px; }
  .hero-badges { margin-bottom: 22px; }
  .hero-cta { margin-top: 20px; }
  .hero-cta .btn { height: 42px; }
  .stats-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 32px; padding: 8px 4px; }
  .stats-strip div { padding: 12px 8px; border-left: 0; }
  .stats-strip div:nth-child(3), .stats-strip div:nth-child(4) { border-top: 1px solid var(--hairline); }
  .stats-strip div:nth-child(odd) { border-right: 1px solid var(--hairline); }
  .stats-strip b { font-size: 25px; }
  .section { padding: 42px 0; }
  .sec-head { margin-bottom: 24px; flex-direction: column; align-items: flex-start; }
  .sec-head .more { padding: 7px 14px; }
  .sec-head h2 { font-size: 24px; }
  .sec-head p { font-size: 13px; }
  .cat-card { padding: 22px 18px; }
  .biz-grid { gap: 16px; }
  .biz-img .lbl { left: 16px; bottom: 14px; }
  .biz-cta { display: none; }
  .biz-body { padding: 14px 16px 16px; }
  .wiki-card { padding: 16px 16px 15px 20px; }
  .wiki-card h3 { font-size: 16.5px; }
  .wiki-card .wiki-go { display: none; }
  .info-row { padding: 13px 14px; align-items: flex-start; }
  .info-row .ir-go { margin-top: 3px; }
  .next { padding: 14px 16px; }
  .next a { min-height: 34px; display: inline-flex; align-items: center; }
  .tabs a { min-height: 40px; padding: 8px 14px; }
  .chips a { min-height: 38px; display: inline-flex; align-items: center; }
  .page-head { padding: 32px 0 26px; }
  .page-head h1 { font-size: 24px; margin: 10px 0 8px; }
  .page-head::after { display: none; }
  .crumb a { padding: 2px 9px; font-size: 11.5px; }
  .auth-card { padding: 24px 18px; border-radius: var(--radius-lg); }
  .auth-card h1 { font-size: 25px; }
  .auth-side { display: none; }
  .foot-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .foot-top { padding-bottom: 22px; margin-bottom: 28px; }
  .foot-top .ft-cta { width: 100%; }
  .foot-top .ft-cta .btn { flex: 1; min-height: 42px; }
  .footer { padding: 40px 0 20px; }
  .qx-cta { padding: 26px 20px; border-radius: var(--radius-xl); }
  .qx-cta .cta-actions { width: 100%; }
  .qx-cta .cta-actions .btn { flex: 1; }
  .uc-hero { border-radius: var(--radius-lg); }
  .uc-hero::after { display: none; }
  .rank-bar { width: 44px; }
  .form-card { border-radius: var(--radius-lg); }
}
@media (max-width: 380px) {
  .stats-strip b { font-size: 22px; }
  .quick a { padding: 18px 16px; }
  .quick-go { display: none; }
  .hero .search-box { padding: 4px 4px 4px 13px; }
  .qx-cta .cta-actions { flex-direction: column; }
}

/* 动效降级：以上新增动画在 prefers-reduced-motion 下由文件前部全局规则统一关闭 */
@media (prefers-reduced-motion: reduce) {
  .hero-ornament, .hero-float, .user-menu .dropdown { animation: none !important; }
}

/* ---------- [v3-23] WCAG AA 对比度补充（浅色底上的弱色小字统一加深） ----------
 * 仅针对浅色表面上的说明性小字；深色区块文字由 .trust/.footer 等专用规则与
 * skins.css 的暗色修正块处理，不受影响。 */
.hot { color: var(--ink-2); }
.list li .meta, .meta-row, .meta-row > span, .job-meta, .job-meta span { color: var(--ink-2); }
.num-pos { color: color-mix(in srgb, var(--ok) 82%, var(--ink)); }
.search-box .ai-badge { background: linear-gradient(135deg, var(--brand-600) 0%, var(--accent-600) 100%); }
.rank-list li:nth-child(3) .rank-medal { color: #2b1a0b; }

