/* ==========================================================================
   品牌档案库 · 视觉系统 v6「深靛蓝信息门户」
   依据：品牌档案库首页 UI 设计提示词组（P0/P1/P2）
   深靛蓝 #1E3A8A · 浅灰 #F5F7FA · 白卡 · 18/12/8 圆角 · 发丝线 · 极浅阴影
   ========================================================================== */
:root {
  --ink: #0b1b33;
  --text: #243044;
  --muted: #56637a;
  --faint: #6b7789;
  --line: #e3e7ee;
  --line-2: #d3d9e4;
  --bg: #f5f7fa;
  --card: #ffffff;
  --primary: #1e3a8a;
  --primary-d: #16306f;
  --primary-l: #2a55a6;
  --primary-soft: #eef2fb;
  --primary-line: #cdd9f2;
  --teal: #0f6b62;
  --teal-soft: #eaf4f2;
  --green: #15683f;
  --green-bg: #eef7f1;
  --green-line: #c6e0cf;
  --amber: #8a5a00;
  --amber-bg: #fdf4e3;
  --amber-line: #ead3a6;
  --red: #a32a21;
  --red-bg: #fdf0ee;
  --red-line: #eec4bd;
  --violet: #4a2f9e;
  --violet-bg: #f3f0fd;
  --violet-line: #cfc4ee;
  --slate: #5b6577;
  --slate-bg: #f2f4f8;
  --slate-line: #dde2ea;
  --sh-1: 0 1px 2px rgba(11, 27, 51, .05);
  --sh-2: 0 2px 8px rgba(11, 27, 51, .06), 0 1px 2px rgba(11, 27, 51, .04);
  --sh-3: 0 18px 40px -22px rgba(11, 27, 51, .35);
  --sh-hover: 0 20px 44px -24px rgba(11, 27, 51, .38), 0 2px 8px rgba(11, 27, 51, .06);
  --r-lg: 18px;
  --r-md: 12px;
  --r-sm: 8px;
  --maxw: 1240px;
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
          "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC", "Segoe UI", sans-serif;
  --mono: "SFMono-Regular", "JetBrains Mono", Consolas, "Liberation Mono", monospace;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font); font-size: 15px; line-height: 1.75;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
::selection { background: #d8e3f8; color: var(--ink); }
h1, h2, h3, h4 { margin: 0 0 .5em; color: var(--ink); line-height: 1.32; font-weight: 600; letter-spacing: -.012em; }
h1 { font-size: 32px; letter-spacing: -.02em; }
h2 { font-size: 22px; }
h3 { font-size: 17px; }
h4 { font-size: 15px; }
p { margin: 0 0 1em; }
a { color: var(--primary); text-decoration: none; transition: color .15s; }
a:hover { color: var(--primary-l); text-decoration: underline; text-underline-offset: 3px; }
img, svg { max-width: 100%; }
hr { border: 0; border-top: 1px solid var(--line); margin: 24px 0; }
small, .small { font-size: 13px; }
.muted { color: var(--muted); }
.faint { color: var(--faint); }
.num { font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; }
.mono { font-family: var(--mono); font-size: .92em; }
.nowrap { white-space: nowrap; }
.center { text-align: center; }
.right { text-align: right; }

:focus-visible { outline: 3px solid rgba(42, 85, 166, .55); outline-offset: 2px; border-radius: 4px; }
.skip-link {
  position: absolute; left: 16px; top: -64px; background: var(--primary); color: #fff;
  padding: 10px 18px; border-radius: var(--r-sm); z-index: 200; font-size: 14px;
  box-shadow: var(--sh-2); transition: top .16s;
}
.skip-link:focus { top: 14px; color: #fff; text-decoration: none; }

/* ------------------------------------------------------------ 布局 */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.stack > * + * { margin-top: 16px; }
.row { display: flex; gap: 12px; align-items: center; }
.row-between { display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.row-top { display: flex; gap: 16px; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; }
.grow { flex: 1; min-width: 0; }
.cards { display: grid; gap: 20px; }
.cards-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cards-auto { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.section { padding: 64px 0; }
.section-tight { padding: 40px 0; }
.section-band { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.page-head { padding: 36px 0 16px; }
.page-head h1 { margin-bottom: 10px; }
.lead { font-size: 16.5px; color: var(--muted); max-width: 720px; margin: 0; }
.crumbs { font-size: 12.5px; color: var(--faint); padding: 20px 0 0; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.crumbs a { color: var(--faint); }
.crumbs a:hover { color: var(--primary); }
.crumbs span { color: #c3cbd8; }
.eyebrow { display: inline-block; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--faint); margin-bottom: 10px; }

.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 24px; flex-wrap: wrap; }
.section-head h2 { margin: 0; font-size: 24px; letter-spacing: -.02em; }
.section-head .more { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 550; white-space: nowrap; }
.section-head .more:hover { text-decoration: none; gap: 9px; }

/* ------------------------------------------------------------ 图标 */
.ic { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; vertical-align: -3px; flex: none; }

/* ------------------------------------------------------------ 页头 */
.site-head {
  position: sticky; top: 0; z-index: 60; background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(12px); -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line); transition: box-shadow .2s;
}
.site-head.is-scrolled { box-shadow: 0 6px 24px -18px rgba(11, 27, 51, .5); }
.head-inner { display: flex; align-items: center; gap: 26px; height: 72px; transition: height .2s; }
.site-head.is-scrolled .head-inner { height: 60px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; font-size: 17px; letter-spacing: -.02em; }
.logo:hover { text-decoration: none; color: var(--ink); }
.logo-mark {
  width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; flex: none;
  background: var(--primary); color: #fff; box-shadow: 0 2px 6px rgba(22, 48, 111, .25), inset 0 1px 0 rgba(255, 255, 255, .18);
}
.logo small { display: block; font-size: 10.5px; color: var(--faint); font-weight: 400; letter-spacing: .05em; margin-top: 1px; }
.nav { display: flex; gap: 2px; flex: 1; }
.nav a { padding: 7px 12px; border-radius: 9px; color: var(--muted); font-size: 14.5px; font-weight: 500; }
.nav a:hover { background: #f1f4fa; color: var(--ink); text-decoration: none; }
.nav a[aria-current="page"] { color: var(--primary); background: var(--primary-soft); font-weight: 600; }
.head-tools { display: flex; align-items: center; gap: 8px; }
.head-search {
  display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 12px;
  background: #f2f5fa; border: 1px solid transparent; border-radius: 10px;
  transition: background .15s, border-color .15s, box-shadow .15s;
}
.head-search:focus-within { background: #fff; border-color: var(--primary-line); box-shadow: 0 0 0 3px rgba(30, 58, 138, .08); }
.head-search .ic { color: var(--faint); }
.head-search input { width: 168px; height: 34px; border: 0; background: transparent; padding: 0; font-size: 14px; min-height: 0; }
.head-search input:focus { outline: none; box-shadow: none; }
.head-search button {
  height: 28px; padding: 0 11px; border: 0; background: var(--primary); color: #fff;
  border-radius: 7px; font-size: 12.5px; cursor: pointer; white-space: nowrap;
}
.nav-toggle { display: none !important; }
.only-mobile { display: none !important; }
.head-login {
  display: inline-flex; align-items: center; height: 36px; padding: 0 16px; border-radius: 10px;
  background: var(--primary); color: #fff; font-size: 13.5px; font-weight: 550; border: 1px solid var(--primary);
}
.head-login:hover { background: var(--primary-d); border-color: var(--primary-d); color: #fff; text-decoration: none; }
.head-submit {
  display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border-radius: 10px;
  background: #fff; border: 1px solid var(--line-2); color: var(--ink); font-size: 13.5px; font-weight: 500;
}
.head-submit:hover { border-color: var(--primary-line); color: var(--primary); background: #fbfcff; text-decoration: none; }

/* ------------------------------------------------------------ 按钮 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  min-height: 42px; padding: 0 18px; border-radius: var(--r-md);
  border: 1px solid transparent; background: var(--card); color: var(--ink);
  font-family: inherit; font-size: 14.5px; font-weight: 550; line-height: 1; cursor: pointer;
  white-space: nowrap; text-decoration: none !important;
  transition: background .16s, border-color .16s, color .16s, box-shadow .16s, transform .16s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .48; cursor: not-allowed; transform: none; }
.btn-primary { background: var(--primary); border-color: var(--primary); color: #fff; box-shadow: 0 1px 2px rgba(22, 48, 111, .28), inset 0 1px 0 rgba(255, 255, 255, .14); }
.btn-primary:hover { background: var(--primary-d); border-color: var(--primary-d); color: #fff; }
.btn-ghost { background: var(--card); border-color: var(--line-2); color: var(--ink); box-shadow: var(--sh-1); }
.btn-ghost:hover { border-color: var(--primary-line); color: var(--primary); background: #fbfcff; }
.btn-quiet { background: transparent; border-color: transparent; color: var(--primary); padding: 0 10px; }
.btn-quiet:hover { background: var(--primary-soft); }
.btn-danger { background: var(--card); border-color: var(--red-line); color: var(--red); }
.btn-danger:hover { background: var(--red-bg); }
.btn-sm { min-height: 34px; padding: 0 12px; font-size: 13px; border-radius: 9px; }
.btn-sm .ic { width: 15px; height: 15px; }
.btn-block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 5px; font-weight: 550; font-size: 13.5px; }
.link-arrow:hover { text-decoration: none; }
.link-arrow .ic { transition: transform .18s; }
.link-arrow:hover .ic { transform: translateX(3px); }

/* ------------------------------------------------------------ 表单 */
label { display: block; font-size: 13.5px; color: var(--ink); font-weight: 550; margin-bottom: 7px; }
.label-note { font-weight: 400; color: var(--faint); font-size: 12px; margin-left: 6px; }
input[type="text"], input[type="search"], input[type="email"], input[type="tel"], input[type="password"],
input[type="number"], input[type="date"], input[type="url"], select, textarea {
  width: 100%; min-height: 46px; padding: 10px 13px; border: 1px solid var(--line-2);
  border-radius: 10px; background: var(--card); color: var(--text); font-family: inherit;
  font-size: 15px; line-height: 1.5; transition: border-color .15s, box-shadow .15s, background .15s;
}
input::placeholder, textarea::placeholder { color: #98a4b4; }
textarea { min-height: 120px; resize: vertical; }
select {
  appearance: none; padding-right: 36px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%236b7789' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
input:hover, select:hover, textarea:hover { border-color: #c6d0e0; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--primary-l); background: #fff; box-shadow: 0 0 0 3px rgba(42, 85, 166, .12); }
.field { margin-bottom: 18px; }
.field-error input, .field-error select, .field-error textarea { border-color: #dd9a93; background: #fffafa; }
.err { color: var(--red); font-size: 12.5px; margin-top: 6px; }
.help { color: var(--faint); font-size: 12.5px; margin-top: 7px; line-height: 1.6; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; font-weight: 400; color: var(--text); margin-bottom: 12px; line-height: 1.65; }
.check input { width: 17px; height: 17px; margin-top: 3px; flex: none; accent-color: var(--primary); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 20px; }
fieldset { border: 0; border-top: 1px solid var(--line); padding: 24px 0 4px; margin: 0 0 8px; }
fieldset:first-of-type { border-top: 0; padding-top: 0; }
legend { padding: 0; font-weight: 650; color: var(--ink); font-size: 15px; margin-bottom: 6px; }
fieldset > legend + * { margin-top: 14px; }

/* ------------------------------------------------------------ 徽章 */
.badge {
  display: inline-flex; align-items: center; gap: 5px; padding: 2px 9px; min-height: 23px;
  border-radius: 7px; font-size: 12px; line-height: 1.6; font-weight: 550;
  border: 1px solid var(--line-2); background: var(--card); color: var(--text); white-space: nowrap;
}
.badge .dot { width: 5px; height: 5px; border-radius: 50%; background: currentColor; flex: none; }
.badge-source { background: var(--slate-bg); border-color: var(--slate-line); color: var(--slate); }
.badge-ok { background: var(--green-bg); border-color: var(--green-line); color: var(--green); }
.badge-warn { background: var(--amber-bg); border-color: var(--amber-line); color: var(--amber); }
.badge-danger { background: var(--red-bg); border-color: var(--red-line); color: var(--red); }
.badge-info { background: var(--primary-soft); border-color: var(--primary-line); color: var(--primary); }
.badge-muted { background: #f3f5f8; border-color: #e0e5ec; color: #5c6879; }
.badge-ai { background: var(--violet-bg); border: 1px dashed var(--violet-line); color: var(--violet); font-weight: 550; }
.badge-promo { background: #fff2da; border: 1.5px solid #a85c00; color: #7a3e00; font-weight: 750; letter-spacing: .07em; }
.badge-row { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.updated { font-size: 12.5px; color: var(--faint); display: inline-flex; gap: 5px; align-items: center; }
.updated .ic { width: 13px; height: 13px; }
.metric-info { font-size: 11.5px; color: var(--faint); border-bottom: 1px dashed var(--line-2); cursor: help; text-decoration: none !important; white-space: nowrap; }
.metric-info:hover { color: var(--primary); border-color: var(--primary-line); }
.metric-info summary { list-style: none; display: inline; }
.metric-info summary::-webkit-details-marker { display: none; }
.rule-entry { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--primary); background: var(--primary-soft); border: 1px solid var(--primary-line); padding: 7px 12px; border-radius: 9px; }
.rule-entry:hover { background: #e3ebfa; text-decoration: none; }
.rule-entry .ic { width: 14px; height: 14px; }
.ai-field { display: inline-flex; align-items: center; gap: 4px; background: var(--violet-bg); border: 1px dashed var(--violet-line); border-radius: 6px; padding: 1px 7px; font-size: 11.5px; color: var(--violet); font-weight: 550; }
.pill-status { font-size: 12px; padding: 2px 9px; border-radius: 999px; border: 1px solid var(--line-2); display: inline-block; }

/* ------------------------------------------------------------ 提示 */
.notice { border: 1px solid var(--line-2); background: #f7f9fc; border-radius: var(--r-md); padding: 13px 15px; font-size: 13px; color: var(--muted); line-height: 1.7; }
.notice::after { content: ""; display: block; clear: both; }
.notice > .ic { float: left; margin: 3px 9px 0 0; color: #8b99ab; }
.notice strong { color: var(--ink); font-weight: 650; }
.notice-warn { background: var(--amber-bg); border-color: var(--amber-line); color: #6f4a0c; }
.notice-ok { background: var(--green-bg); border-color: var(--green-line); color: #14603b; }
.notice-danger { background: var(--red-bg); border-color: var(--red-line); color: #8d2a22; }
.notice-info { background: var(--primary-soft); border-color: var(--primary-line); color: #1c3a6e; }
.alert { border-radius: var(--r-md); padding: 12px 15px; font-size: 13.5px; margin-bottom: 16px; border: 1px solid; display: flex; gap: 9px; align-items: flex-start; }
.alert-ok { background: var(--green-bg); border-color: var(--green-line); color: var(--green); }
.alert-err { background: var(--red-bg); border-color: var(--red-line); color: var(--red); }
.alert-info { background: var(--primary-soft); border-color: var(--primary-line); color: #1c3a6e; }

/* ------------------------------------------------------------ 卡片 */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-1); }
.card-pad { padding: 26px; }
.card-head { padding: 18px 26px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; }
.card-head h2, .card-head h3 { margin: 0; }
.card-body { padding: 26px; }
.card-hover { transition: border-color .18s, box-shadow .18s, transform .18s; }
.card-hover:hover { border-color: #d5deec; box-shadow: var(--sh-hover); transform: translateY(-2px); }

/* ------------------------------------------------------------ Hero */
.hero { border-bottom: 1px solid var(--line); background: linear-gradient(180deg, #f9fbff 0%, var(--bg) 100%); }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: center; padding-top: 64px; padding-bottom: 56px; }
.hero-copy h1 { font-size: clamp(30px, 3.4vw, 42px); line-height: 1.2; letter-spacing: -.025em; margin: 8px 0 18px; }
.hero-copy h1 em { font-style: normal; color: var(--primary); }
.hero-copy p { font-size: 16px; color: var(--muted); max-width: 560px; line-height: 1.85; margin-bottom: 26px; }
.hero-search { display: flex; align-items: center; gap: 10px; max-width: 620px; background: #fff; border: 1px solid var(--line-2); border-radius: 14px; padding: 6px 6px 6px 16px; box-shadow: 0 8px 28px -20px rgba(11, 27, 51, .55), 0 1px 2px rgba(11, 27, 51, .04); transition: box-shadow .18s, border-color .18s; }
.hero-search:focus-within { border-color: var(--primary-l); box-shadow: 0 0 0 4px rgba(42, 85, 166, .10), 0 10px 30px -22px rgba(11, 27, 51, .5); }
.hero-search .ic { color: var(--faint); }
.hero-search input { flex: 1; min-width: 0; height: 44px; border: 0; background: transparent; padding: 0; font-size: 15px; }
.hero-search input:focus { outline: none; box-shadow: none; }
.hero-search button { height: 44px; padding: 0 22px; border: 0; border-radius: 10px; background: var(--primary); color: #fff; font-size: 14.5px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.hero-search button:hover { background: var(--primary-d); }
.hero-links { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 16px; font-size: 13px; color: var(--faint); }
.hero-links .chip { font-size: 12.5px; padding: 4px 10px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 24px; font-size: 12.5px; color: var(--muted); }
.hero-trust span { display: inline-flex; align-items: center; gap: 6px; }
.hero-trust .ic { color: var(--teal); }

.hero-art { position: relative; }
.proof-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 22px; box-shadow: 0 30px 60px -34px rgba(11, 27, 51, .45), var(--sh-2); }
.proof-head { display: flex; gap: 13px; align-items: center; margin-bottom: 14px; }
.proof-logo { width: 44px; height: 44px; border-radius: 12px; flex: none; display: grid; place-items: center; background: linear-gradient(150deg, #e8eefb, #dbe6f8); color: var(--primary); font-weight: 700; font-size: 17px; }
.proof-name { font-weight: 650; color: var(--ink); font-size: 15.5px; line-height: 1.4; }
.proof-sub { font-size: 12px; color: var(--faint); }
.proof-row { display: flex; gap: 8px; flex-wrap: wrap; margin: 8px 0; }
.proof-line { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); padding: 7px 0; border-top: 1px solid #f0f3f8; }
.proof-line .ic { color: var(--teal); }
.proof-foot { display: flex; align-items: center; justify-content: space-between; font-size: 12px; color: var(--faint); margin-top: 10px; }
.proof-foot strong { color: var(--ink); font-size: 15px; }
.float-chip { position: absolute; display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; font-size: 12px; font-weight: 600; color: var(--ink); box-shadow: var(--sh-2); z-index: 2; }
.float-chip .ic { color: var(--primary); }
.float-chip.a { top: -18px; left: -22px; }
.float-chip.b { bottom: -20px; right: -8px; }

/* ------------------------------------------------------------ 数据条 */
.stat-strip { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-2); overflow: hidden; }
.stat { padding: 22px 26px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat .v { font-size: 30px; font-weight: 700; color: var(--ink); letter-spacing: -.03em; line-height: 1.2; }
.stat .k { font-size: 12.5px; color: var(--muted); margin-top: 4px; display: flex; align-items: center; gap: 6px; }

/* ------------------------------------------------------------ 频道 */
.channel-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.channel { display: block; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; color: var(--text); transition: border-color .18s, box-shadow .18s, transform .18s; }
.channel:hover { text-decoration: none; border-color: #d5deec; box-shadow: var(--sh-hover); transform: translateY(-2px); }
.channel .icon-tile { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); margin-bottom: 16px; }
.channel:nth-child(2) .icon-tile { background: var(--teal-soft); color: var(--teal); }
.channel:nth-child(3) .icon-tile { background: #fff4e4; color: #8a5a00; }
.channel:nth-child(4) .icon-tile { background: #f1f0fb; color: #4a3d9e; }
.channel h3 { font-size: 16px; margin: 0 0 7px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.channel h3 .ic { color: #b6c1d1; transition: transform .18s, color .18s; }
.channel:hover h3 .ic { color: var(--primary); transform: translateX(3px); }
.channel p { font-size: 13px; color: var(--muted); margin: 0; line-height: 1.68; }

/* ------------------------------------------------------------ 榜单卡 */
.rank-card { display: flex; flex-direction: column; }
.rank-card .card-head { padding: 18px 22px 14px; border-bottom: 0; }
.rank-card h3 { font-size: 16.5px; margin: 0; line-height: 1.5; }
.rank-card h3 a { color: var(--ink); }
.rank-card h3 a:hover { color: var(--primary); text-decoration: none; }
.rank-card .body { padding: 0 22px 18px; flex: 1; }
.rank-mini { display: grid; gap: 2px; margin-top: 10px; }
.rank-mini-row { display: grid; grid-template-columns: 22px 1fr auto; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px dashed #eef1f6; font-size: 13px; }
.rank-mini-row:last-child { border-bottom: 0; }
.rank-mini-row .pos { font-weight: 700; color: var(--primary); font-size: 13px; text-align: center; }
.rank-mini-row .nm { color: var(--ink); font-weight: 550; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rank-mini-row .sc { color: var(--faint); font-size: 12px; }
.rank-card .foot { border-top: 1px solid var(--line); padding: 13px 22px; display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 12px; color: var(--faint); }

/* ------------------------------------------------------------ 品牌卡 */
.brand-card { display: flex; flex-direction: column; gap: 12px; padding: 22px; color: var(--text); transition: border-color .18s, box-shadow .18s, transform .18s; }
.brand-card:hover { text-decoration: none; border-color: #d5deec; box-shadow: var(--sh-hover); transform: translateY(-2px); }
.brand-card .top { display: flex; gap: 13px; align-items: center; }
.brand-logo { width: 44px; height: 44px; border-radius: 12px; flex: none; display: grid; place-items: center; background: linear-gradient(150deg, #eaf0fb, #dde7f8); color: var(--primary); font-weight: 700; font-size: 17px; }
.brand-card .name { font-size: 16px; font-weight: 650; color: var(--ink); line-height: 1.4; }
.brand-card .name small { font-weight: 400; color: var(--faint); font-size: 11.5px; margin-left: 6px; }
.brand-card .meta { display: flex; flex-wrap: wrap; gap: 10px; font-size: 12px; color: var(--muted); }
.brand-card .meta span { display: inline-flex; align-items: center; gap: 4px; }
.brand-card .meta .ic { width: 13px; height: 13px; color: #97a3b4; }
.brand-card .summary { font-size: 13px; color: var(--muted); line-height: 1.68; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.brand-card .foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; border-top: 1px solid #f0f3f8; padding-top: 11px; margin-top: auto; }

/* ------------------------------------------------------------ 双栏列表 */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.col-head { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.col-head h3 { font-size: 19px; margin: 0; }
.col-head a { font-size: 13px; }
.list-stack { display: grid; }
.list-row { display: grid; grid-template-columns: 76px 1fr auto; gap: 16px; align-items: start; padding: 18px 0; border-bottom: 1px solid var(--line); color: var(--text); }
.list-row .date .d { font-size: 22px; font-weight: 700; color: var(--ink); line-height: 1.1; }
.list-row .date .m { font-size: 11px; color: var(--faint); margin-top: 3px; }
.list-row .title { font-size: 14.5px; color: var(--ink); line-height: 1.6; margin-bottom: 3px; }
.list-row:hover .title { color: var(--primary); }
.list-row .desc { font-size: 12.5px; color: var(--muted); line-height: 1.7; }
.list-row .meta { display: flex; gap: 10px; flex-wrap: wrap; font-size: 11.5px; color: var(--faint); margin-top: 6px; }
.list-row .arrow { color: #c2cbdb; padding-top: 4px; }
.list-row:hover .arrow { color: var(--primary); }
.demand-row { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 16px; align-items: start; padding: 18px 0; border-bottom: 1px solid var(--line); color: var(--text); }
.demand-row .title { font-size: 14.5px; color: var(--ink); line-height: 1.6; margin-bottom: 4px; }
.demand-row:hover .title { color: var(--primary); }
.demand-row .desc { font-size: 12.5px; color: var(--muted); line-height: 1.7; margin-bottom: 6px; }
.demand-row .meta { display: flex; gap: 10px; flex-wrap: wrap; font-size: 11.5px; color: var(--faint); }
.demand-row .arrow { color: #c2cbdb; padding-top: 2px; }
.demand-row:hover .arrow { color: var(--primary); }

/* ------------------------------------------------------------ CTA */
.cta-panel { background: #0e2347; color: #dbe5f5; border-radius: var(--r-lg); padding: 40px 44px; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: center; box-shadow: 0 24px 50px -30px rgba(11, 27, 51, .7); }
.cta-panel h2 { color: #fff; font-size: 26px; margin: 0 0 10px; letter-spacing: -.02em; }
.cta-panel p { color: #b9c7dd; font-size: 13.5px; line-height: 1.75; margin: 0 0 20px; }
.cta-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cta-panel .btn-primary { background: #fff; border-color: #fff; color: var(--primary-d); box-shadow: none; }
.cta-panel .btn-primary:hover { background: #eaf1fb; border-color: #eaf1fb; color: var(--primary-d); }
.cta-panel .btn-ghost { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .25); color: #eaf1fb; box-shadow: none; }
.cta-panel .btn-ghost:hover { background: rgba(255, 255, 255, .15); color: #fff; }
.cta-note { margin-top: 20px; font-size: 11.5px; color: #93a7c4; border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 14px; }
.cta-steps { display: grid; gap: 0; }
.cta-step { display: grid; grid-template-columns: 30px 1fr; gap: 14px; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .10); }
.cta-step:last-child { border-bottom: 0; }
.cta-step .n { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .3); font-size: 12px; font-weight: 650; color: #dbe5f5; }
.cta-step .t { font-size: 13.5px; font-weight: 600; color: #fff; }
.cta-step .d { font-size: 12.5px; color: #a7b8d2; line-height: 1.6; }

/* ------------------------------------------------------------ 详情 */
.detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 336px; gap: 32px; align-items: start; padding: 26px 0 72px; }
.detail-main { min-width: 0; display: grid; gap: 20px; }
.sticky-card { position: sticky; top: 88px; display: grid; gap: 16px; }
.brand-head { display: flex; gap: 20px; align-items: flex-start; }
.brand-head .brand-logo { width: 72px; height: 72px; border-radius: 18px; font-size: 27px; }
.brand-head h1 { font-size: 30px; margin: 0 0 8px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.brand-head h1 .en { font-size: 14px; font-weight: 400; color: var(--faint); }
.meta-line { display: flex; gap: 8px 16px; flex-wrap: wrap; align-items: center; font-size: 12.5px; color: var(--muted); }
.meta-line > span { display: inline-flex; align-items: center; gap: 5px; }
.meta-line .ic { width: 14px; height: 14px; color: #97a3b4; }
.transparency-bar { display: flex; gap: 11px; border: 1px solid var(--primary-line); background: linear-gradient(180deg, #f4f7fd, #eef3fc); border-radius: 10px; padding: 14px 16px; font-size: 12.5px; color: #40536f; line-height: 1.7; }
.transparency-bar .ic { color: var(--primary); margin-top: 2px; }
.kv { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 0 20px; font-size: 13.5px; margin: 0; }
.kv dt { color: var(--faint); padding: 9px 0; border-bottom: 1px solid #f2f4f9; }
.kv dd { margin: 0; color: var(--text); padding: 9px 0; border-bottom: 1px solid #f2f4f9; word-break: break-word; }
.kv > dt:last-of-type, .kv > dd:last-of-type { border-bottom: 0; }
.prose { font-size: 15px; line-height: 1.9; color: #25344a; max-width: 720px; }
.prose blockquote { border-left: 3px solid var(--primary-line); margin: 1.2em 0; padding: 4px 18px; color: var(--muted); background: #f8fafd; border-radius: 0 8px 8px 0; }
.prose table { border-collapse: collapse; width: 100%; font-size: 13.5px; }
.prose td, .prose th { border: 1px solid var(--line); padding: 8px 11px; }
.section-card-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.section-card-title h2 { font-size: 18px; margin: 0; }
.field-source-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; }
.field-source-item { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 12px; background: #f8fafd; border: 1px solid #eef2f8; border-radius: 9px; font-size: 12.5px; }
.field-source-item .k { color: var(--muted); }

/* 榜单详情 */
.rank-list { display: grid; }
.rank-table-head { display: grid; grid-template-columns: 52px minmax(0, 1fr) 132px; gap: 16px; padding: 0 0 10px; font-size: 11px; letter-spacing: .08em; color: var(--faint); border-bottom: 1px solid var(--line); }
.rank-table-head span:last-child { text-align: right; }
.rank-row { display: grid; grid-template-columns: 52px minmax(0, 1fr) 132px; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.rank-pos { font-size: 19px; font-weight: 750; color: #9aa7b9; text-align: center; }
.rank-row:nth-child(2) .rank-pos { color: var(--primary); }
.rank-pos.is-paid { font-size: 12px; color: #7a3e00; }
.rank-name { font-size: 15px; font-weight: 600; color: var(--ink); }
.rank-name a { color: var(--ink); }
.rank-name a:hover { color: var(--primary); text-decoration: none; }
.rank-sub { font-size: 12px; color: var(--faint); margin-top: 3px; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.rank-score { text-align: right; }
.rank-score .n { font-size: 16px; font-weight: 700; color: var(--ink); }
.rank-score .l { font-size: 11px; color: var(--faint); }
.score-bar { height: 5px; border-radius: 99px; background: #eef1f7; overflow: hidden; margin-top: 6px; }
.score-bar i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, #2a55a6, #173a7a); }
.rank-paid-block { background: linear-gradient(180deg, #fffaf0, #fff6e6); border: 1px solid #f0dcb4; border-radius: 12px; padding: 4px 18px; }
.rank-paid-block .rank-row { border-color: #f3e4c6; }

/* 榜单列表 */
.rank-pair { display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; row-gap: 28px; }
.rank-block { border-top: 1px solid var(--line-2); padding-top: 18px; }
.rank-block h3 { font-size: 19px; line-height: 1.45; margin: 0 0 6px; }
.rank-block h3 a { color: var(--ink); }
.rank-block h3 a:hover { color: var(--primary); }
.rank-scope { font-size: 12.5px; color: var(--muted); margin: 0 0 12px; line-height: 1.7; }
.rank-rows { border-top: 1px solid var(--line); }
.rank-line { display: grid; grid-template-columns: 34px 1fr auto; gap: 12px; align-items: baseline; padding: 10px 0; border-bottom: 1px solid var(--line); }
.rank-line .p { font-weight: 700; color: var(--primary); font-size: 14px; }
.rank-line .nm { font-size: 13.5px; color: var(--ink); }
.rank-line .sc { font-size: 14px; color: var(--ink); font-weight: 600; }
.rank-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-top: 12px; font-size: 12px; color: var(--faint); }
.rank-foot a { color: var(--primary); }
.meta-rows { border-top: 1px solid var(--line); margin-top: 12px; }
.meta-rows > div { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 12.5px; }
.meta-rows .k { color: var(--faint); }
.meta-rows .v { color: var(--text); text-align: right; }

/* 记录式品牌列表 */
.record-grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; }
.record { display: grid; grid-template-columns: 52px 1fr; gap: 18px; padding: 20px 12px 20px 0; border-bottom: 1px solid var(--line); color: var(--text); border-radius: 10px; transition: background .15s; }
.record:hover { background: #fbfcff; text-decoration: none; }
.record-mark { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(150deg, #eaf0fb, #dde7f8); color: var(--primary); font-weight: 700; font-size: 19px; }
.record-name { font-size: 16px; font-weight: 650; color: var(--ink); line-height: 1.45; }
.record-name small { font-size: 11px; color: var(--faint); margin-left: 8px; font-weight: 400; }
.record-meta { font-size: 11.5px; color: var(--faint); margin-top: 4px; display: flex; flex-wrap: wrap; gap: 4px 10px; }
.record-meta span + span::before { content: "·"; margin-right: 8px; color: #c6cfdd; }
.record-desc { font-size: 12.5px; color: var(--muted); margin: 8px 0 10px; line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.record-tags { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.record-tags .go { font-size: 12px; font-weight: 550; color: var(--primary); }

/* ------------------------------------------------------------ 表格 / 时间轴 */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.tbl { width: 100%; border-collapse: collapse; font-size: 13.5px; }
table.tbl th { text-align: left; font-size: 11.5px; letter-spacing: .05em; text-transform: uppercase; color: #71808f; font-weight: 650; padding: 11px 14px; background: #f7f9fc; border-bottom: 1px solid var(--line); white-space: nowrap; }
table.tbl td { padding: 13px 14px; border-bottom: 1px solid #f0f3f8; vertical-align: top; line-height: 1.65; }
table.tbl tr:last-child td { border-bottom: 0; }
table.tbl tbody tr { transition: background .12s; }
table.tbl tbody tr:hover { background: #fafbfe; }
table.tbl td.mono { font-size: 12.5px; color: var(--muted); }
.tbl-wrap-card { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--card); }
.timeline { list-style: none; margin: 0; padding: 4px 0 0 24px; border-left: 1px solid var(--line-2); }
.timeline li { position: relative; padding: 0 0 22px 4px; }
.timeline li::before { content: ""; position: absolute; left: -30px; top: 5px; width: 11px; height: 11px; border-radius: 50%; background: #fff; border: 2px solid var(--line-2); box-shadow: 0 0 0 3px #fff; }
.timeline li.is-done::before { border-color: var(--green); background: var(--green); }
.timeline li.is-current::before { border-color: var(--primary); background: var(--primary); box-shadow: 0 0 0 3px #fff, 0 0 0 6px rgba(30, 58, 138, .12); }
.timeline li.is-bad::before { border-color: var(--red); background: var(--red); }
.timeline .tl-title { font-weight: 650; color: var(--ink); font-size: 14px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.timeline .tl-meta { font-size: 12.5px; color: var(--faint); margin-top: 3px; display: flex; gap: 12px; flex-wrap: wrap; }
.timeline .tl-note { font-size: 12.5px; color: var(--muted); margin-top: 8px; background: #f7f9fc; border: 1px solid #eef2f8; border-radius: 8px; padding: 9px 12px; line-height: 1.65; }

/* ------------------------------------------------------------ 列表页 / 筛选 */
.layout-side { display: grid; grid-template-columns: 268px minmax(0, 1fr); gap: 32px; align-items: start; padding: 24px 0 72px; }
.filters { position: sticky; top: 88px; padding: 22px; }
.filters-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 16px; }
.filters-head h3 { font-size: 14px; margin: 0; }
.filters-head a { font-size: 12.5px; color: var(--faint); }
.filter-group { padding: 16px 0; border-top: 1px solid var(--line); }
.filter-group:first-of-type { padding-top: 0; border-top: 0; }
.filter-group h4 { font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); margin-bottom: 10px; font-weight: 650; }
.filter-group select, .filter-group input { min-height: 42px; font-size: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chip { display: inline-flex; align-items: center; gap: 5px; padding: 5px 11px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 12.5px; color: var(--muted); background: var(--card); }
.chip:hover { border-color: var(--primary-l); color: var(--primary); text-decoration: none; background: #fbfcff; }
.chip.is-on { background: var(--primary); border-color: var(--primary); color: #fff; }
.chip.is-on:hover { color: #fff; }
.chip input { position: absolute; left: -9999px; }
.chip-group { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 10px; }
.chip-label { font-size: 11.5px; color: var(--faint); letter-spacing: .06em; min-width: 30px; }
.index-bar { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-bottom: 20px; padding: 10px 12px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); }
.index-label { font-size: 11.5px; color: var(--faint); letter-spacing: .08em; margin-right: 4px; }
.index-item { display: inline-flex; align-items: center; justify-content: center; min-width: 30px; height: 30px; padding: 0 7px; border-radius: 7px; border: 1px solid transparent; font-size: 12.5px; color: var(--muted); background: #f6f8fb; }
.index-item:hover { border-color: var(--primary-line); color: var(--primary); text-decoration: none; }
.index-item.is-on { background: var(--primary); color: #fff; }
.results-head { display: flex; justify-content: space-between; gap: 14px; align-items: center; flex-wrap: wrap; margin-bottom: 18px; }
.results-count { font-size: 13.5px; color: var(--muted); }
.results-count strong { color: var(--ink); font-size: 15px; }
.filter-toggle { display: none; }
.filter-bar { display: grid; grid-template-columns: 2.2fr 1fr 1fr 1fr; gap: 16px; align-items: end; }
.filter-bar .field { margin: 0; }
.filter-actions { display: flex; gap: 10px; align-items: center; margin-top: 18px; flex-wrap: wrap; }

/* ------------------------------------------------------------ 分页 / 空态 */
.pager { display: flex; gap: 6px; justify-content: center; padding: 36px 0 0; flex-wrap: wrap; }
.pager a, .pager span { min-width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line-2); border-radius: 9px; background: var(--card); font-size: 13.5px; padding: 0 12px; color: var(--text); }
.pager a:hover { border-color: var(--primary-l); color: var(--primary); text-decoration: none; background: #fbfcff; }
.pager .is-current { background: var(--primary); border-color: var(--primary); color: #fff; font-weight: 600; }
.empty { text-align: center; padding: 64px 24px; color: var(--muted); }
.empty .ic-lg { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; margin: 0 auto 16px; background: var(--primary-soft); color: var(--primary); }
.empty h3 { color: var(--ink); font-size: 17px; margin-bottom: 6px; }
.empty p { font-size: 13.5px; margin-bottom: 16px; }
.skeleton { background: linear-gradient(90deg, #eef2f7, #f8fafc, #eef2f7); background-size: 200% 100%; animation: sk 1.4s infinite; border-radius: 10px; }
@keyframes sk { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* ------------------------------------------------------------ 页脚 */
.site-foot { background: #0b1b33; color: #9fb0c8; margin-top: 72px; padding: 52px 0 26px; }
.site-foot .logo { color: #fff; }
.site-foot .logo small { color: #7f92ad; }
.site-foot .logo-mark { background: rgba(255, 255, 255, .10); box-shadow: none; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; }
.foot-grid h4 { font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: #6f83a0; margin-bottom: 12px; font-weight: 650; }
.foot-grid a { display: block; font-size: 13px; color: #b6c4d8; padding: 4px 0; }
.foot-grid a:hover { color: #fff; text-decoration: none; }
.foot-desc { font-size: 12.5px; color: #8ea0ba; line-height: 1.75; max-width: 320px; margin-top: 12px; }
.foot-bottom { border-top: 1px solid rgba(255, 255, 255, .09); margin-top: 36px; padding-top: 20px; font-size: 12px; color: #7f92ad; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.foot-bottom a { color: #9fb0c8; }
.foot-demo { margin-top: 16px; font-size: 12px; color: #d6b483; background: rgba(214, 180, 131, .08); border: 1px solid rgba(214, 180, 131, .22); border-radius: 9px; padding: 9px 12px; }

/* ------------------------------------------------------------ 登录 */
.auth-head { border-bottom: 1px solid var(--line); padding-bottom: 14px; margin-bottom: 24px; }
.auth-head h1 { font-size: 30px; margin-bottom: 6px; }
.auth-head p { font-size: 13px; color: var(--muted); margin: 0; }
.auth-note { font-size: 12px; color: var(--faint); margin-top: 20px; line-height: 1.7; }

/* ------------------------------------------------------------ 后台 / 商家端 */
.shell { display: grid; grid-template-columns: 244px minmax(0, 1fr); min-height: 100vh; }
.side { background: #fff; border-right: 1px solid var(--line); padding: 20px 14px; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.side .logo { margin: 0 8px 22px; font-size: 15px; }
.side .logo-mark { width: 30px; height: 30px; border-radius: 8px; }
.side-nav a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 9px; color: var(--muted); font-size: 13.5px; margin-bottom: 2px; }
.side-nav a .ic { width: 16px; height: 16px; color: #97a3b4; }
.side-nav a:hover { background: #f3f6fb; color: var(--ink); text-decoration: none; }
.side-nav a[aria-current="page"] { background: var(--primary-soft); color: var(--primary); font-weight: 600; }
.side-nav a[aria-current="page"] .ic { color: var(--primary); }
.side-nav .group { font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); padding: 18px 12px 7px; font-weight: 650; }
.side-back { margin-top: 24px; padding: 14px 12px 0; border-top: 1px solid var(--line); }
.side-back a { color: var(--faint); font-size: 12.5px; }
.main { min-width: 0; display: flex; flex-direction: column; background: var(--bg); }
.topbar { background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); padding: 12px 28px; display: flex; align-items: center; justify-content: space-between; gap: 16px; position: sticky; top: 0; z-index: 30; }
.topbar .crumb { font-size: 12px; color: var(--faint); }
.topbar .crumb .sep { margin: 0 8px; color: #c3cbd8; }
.content { padding: 0 28px 64px; max-width: 1400px; width: 100%; }
.content-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; padding: 34px 0 22px; border-bottom: 1px solid var(--line); margin-bottom: 26px; flex-wrap: wrap; }
.content-head h1 { font-size: 34px; margin: 0; letter-spacing: -.02em; }
.content-desc { margin: 10px 0 0; font-size: 13px; color: var(--muted); max-width: 760px; line-height: 1.8; }
.content-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.user-chip { display: flex; align-items: center; gap: 9px; font-size: 12.5px; color: var(--muted); }
.avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; font-size: 12px; font-weight: 700; }
.metric-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.metric { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px 20px; box-shadow: var(--sh-1); }
.metric .k { font-size: 12.5px; color: var(--muted); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.metric .v { font-size: 28px; font-weight: 700; color: var(--ink); letter-spacing: -.03em; line-height: 1.3; margin-top: 4px; }
.metric .s { font-size: 11.5px; color: var(--faint); margin-top: 2px; }
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.split-3 { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 16px; }
.panel-title { font-size: 13.5px; font-weight: 650; color: var(--ink); margin-bottom: 10px; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.snapshot-box { background: #f7f9fc; border: 1px solid #eef2f8; border-radius: 9px; padding: 10px 12px; font-size: 12.5px; line-height: 1.7; }
.code-box { font-family: var(--mono); font-size: 12px; background: #0b1b33; color: #cfe0f5; padding: 13px 15px; border-radius: 9px; overflow-x: auto; white-space: pre-wrap; word-break: break-all; }
.tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--line); margin-bottom: 20px; flex-wrap: wrap; }
.tabs a { padding: 10px 15px; font-size: 13.5px; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs a[aria-current="page"] { color: var(--primary); border-color: var(--primary); font-weight: 600; }
.tabs a:hover { text-decoration: none; color: var(--primary); }

/* ------------------------------------------------------------ 移动端 CTA */
.cta-bar { display: none; }

/* ------------------------------------------------------------ 响应式 */
@media (max-width: 1180px) {
  .hero-inner { gap: 36px; padding-top: 48px; padding-bottom: 44px; }
  .metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards-4, .channel-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .foot-grid > div:last-child { display: none; }
}
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .hero-art { display: none; }
  .detail-layout { grid-template-columns: minmax(0, 1fr); }
  .sticky-card { position: static; }
  .layout-side { grid-template-columns: 1fr; }
  .filters { position: static; display: none; }
  .filters.is-open { display: block; }
  .filter-toggle { display: inline-flex; }
  .cta-panel { grid-template-columns: 1fr; gap: 26px; padding: 32px; }
  .cards-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .two-col { grid-template-columns: 1fr; gap: 28px; }
  .rank-pair { grid-template-columns: 1fr; }
  .brand-head h1 { font-size: 26px; }
}
@media (max-width: 860px) {
  .shell { grid-template-columns: 1fr; }
  .side { position: static; height: auto; display: none; }
  .side.is-open { display: block; }
  .content { padding: 0 20px 48px; }
  .split, .split-3 { grid-template-columns: 1fr; }
  .head-inner { gap: 12px; }
  .nav { display: none; }
  .nav.is-open { display: flex; position: absolute; left: 16px; right: 16px; top: 62px; background: #fff; flex-direction: column; padding: 10px; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--sh-3); z-index: 70; }
  .nav-toggle { display: inline-flex !important; }
  .head-search { display: none; }
  .hide-sm { display: none !important; }
  .only-mobile { display: inline-flex !important; }
  .content-head h1 { font-size: 28px; }
}
@media (max-width: 720px) {
  .wrap { padding: 0 16px; }
  h1 { font-size: 25px; }
  .hero-inner { padding-top: 36px; padding-bottom: 32px; }
  .hero-copy h1 { font-size: 27px; }
  .hero-copy p { font-size: 14.5px; }
  .hero-search { flex-direction: column; align-items: stretch; padding: 8px; gap: 8px; }
  .hero-search .ic { display: none; }
  .hero-search input { height: 40px; padding: 0 4px; }
  .hero-search button { width: 100%; }
  .stat-strip { grid-template-columns: 1fr 1fr; }
  .stat { border-left: 0; border-top: 1px solid var(--line); }
  .stat:nth-child(odd) { border-right: 1px solid var(--line); }
  .stat:nth-child(-n+2) { border-top: 0; }
  .stat .v { font-size: 25px; }
  .cards-2, .cards-3, .cards-4, .channel-grid, .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .metric-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 40px 0; }
  .section-head { margin-bottom: 18px; }
  .section-head h2 { font-size: 20px; }
  .brand-head { flex-direction: column; gap: 14px; }
  .brand-head .brand-logo { width: 60px; height: 60px; border-radius: 15px; font-size: 22px; }
  .brand-head h1 { font-size: 23px; }
  .kv { grid-template-columns: 92px minmax(0, 1fr); font-size: 13px; }
  .kv dt, .kv dd { padding: 8px 0; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > div:last-child { display: block; }
  .rank-row { grid-template-columns: 40px minmax(0, 1fr); }
  .rank-score { grid-column: 2; text-align: left; display: flex; align-items: center; gap: 10px; }
  .rank-score .score-bar { flex: 1; margin-top: 0; }
  .list-row { grid-template-columns: 60px minmax(0, 1fr); gap: 14px; }
  .list-row .arrow, .demand-row .arrow { display: none; }
  .demand-row { grid-template-columns: 56px minmax(0, 1fr); gap: 12px; }
  .record-grid { grid-template-columns: 1fr; }
  .cta-bar { display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; background: rgba(255, 255, 255, .96); backdrop-filter: blur(12px); border-top: 1px solid var(--line); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); }
  .cta-bar .btn { flex: 1; }
  body.has-cta { padding-bottom: 84px; }
  .topbar { padding: 10px 16px; }
  .content-head { padding: 26px 0 18px; }
  .field-source-grid { grid-template-columns: 1fr; }
  table.tbl { font-size: 12.5px; }
  table.tbl th, table.tbl td { padding: 10px 9px; }
}
@media (max-width: 420px) {
  .stat-strip, .metric-grid { grid-template-columns: 1fr; }
  .stat { border-right: 0 !important; }
  .foot-grid { grid-template-columns: 1fr; }
  .head-tools .btn-ghost { display: none; }
}
@media (hover: none) {
  .brand-card:hover, .channel:hover, .card-hover:hover { transform: none; box-shadow: var(--sh-1); border-color: var(--line); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .btn:hover, .card-hover:hover, .brand-card:hover, .channel:hover { transform: none; }
}
@media print {
  .site-head, .site-foot, .cta-bar, .filters, .side, .topbar, .hero-art { display: none !important; }
  body { background: #fff; }
}
