/*
Theme Name: IP 档案馆
Description: 全球 IP 与品牌联名的结构化档案。设计语言继承自晨报 v2「手绘线条风」——暖奶油纸、墨黑、创意橙红、2px 硬描边。不引入任何 Web 字体：站点在国内，Google Fonts 不可达且拖慢首屏。
Version: 0.1.0
Author: Gavin
*/

:root {
  /* 色板 —— 与晨报 v2 一致，这是刻意保留的视觉资产 */
  --paper: #fdfbf7;
  --surface: #ffffff;
  --ink: #1a1a1a;
  --ink-soft: #4a4a48;
  --muted: #8c8880;
  --muted-light: #a8a49b;
  --brand: #ff4b26;
  --brand-wash: #fdece8;
  --line: #e7e2d9;
  --line-strong: #1a1a1a;

  --ok: #1f9d6b;
  --info: #2f6fed;

  --page-pad: 48px;
  --shell: 1200px;
  --text: 760px;

  --radius-tag: 2px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'HarmonyOS Sans SC',
    'Source Han Sans SC', 'Noto Sans SC', 'Microsoft YaHei', sans-serif;
  font-size: 15px;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-variant-numeric: tabular-nums;
}

a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }

.screen-reader-text {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}

.shell { max-width: var(--shell); margin: 0 auto; padding-inline: var(--page-pad); }
.inline-link { color: var(--brand); font-weight: 700; }
.inline-link:hover { border-bottom: 1px solid var(--brand); }

/* ─────────────── 页头 ─────────────── */

.site-header { background: var(--surface); border-bottom: 1px solid var(--line); }

.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 28px; height: 76px;
}

.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand__text { display: flex; flex-direction: column; gap: 1px; }
.brand__zh { font-size: 23px; font-weight: 800; letter-spacing: 0.04em; line-height: 1.1; }
.brand__en { font-size: 10px; font-weight: 700; letter-spacing: 0.3em; color: var(--brand); line-height: 1; }

.nav { display: flex; align-items: center; gap: 28px; font-size: 15px; }
.nav a { color: var(--muted); transition: color 0.15s ease; white-space: nowrap; }
.nav a:hover { color: var(--ink); }
.nav a[aria-current='page'] { color: var(--ink); font-weight: 700; }

.hsearch {
  display: flex; align-items: center; gap: 7px; flex: none;
  border: 2px solid var(--line-strong); border-radius: var(--radius-tag);
  padding: 7px 12px; color: var(--muted);
}
.hsearch input {
  border: none; background: transparent; font-family: inherit; font-size: 14px;
  width: 116px; color: var(--ink); padding: 0;
}
.hsearch input:focus { outline: none; }
.hsearch input::placeholder { color: var(--muted-light); }

/* ─────────────── 首屏 ─────────────── */

.hero { padding-block: 68px 8px; }
.hero__meta { font-size: 12px; font-weight: 800; letter-spacing: 0.2em; color: var(--brand); margin: 0; }
.hero__title-row { display: flex; align-items: center; gap: 18px; margin-top: 18px; }
.hero__title { font-size: 46px; font-weight: 800; letter-spacing: 0.02em; line-height: 1.15; margin: 0; }
.hero__underline { display: block; margin-top: 6px; color: var(--brand); max-width: 100%; }
.hero__sub { margin: 20px 0 0; font-size: 16.5px; color: var(--ink-soft); max-width: var(--text); }

.editor-note {
  margin-top: 26px; max-width: var(--text);
  border: 2px solid var(--line-strong); border-radius: var(--radius-tag);
  background: var(--surface); padding: 24px 28px 20px;
}
.editor-note__label {
  display: flex; align-items: center; gap: 10px; margin: 0 0 10px;
  font-size: 11px; font-weight: 800; letter-spacing: 0.18em; color: var(--brand);
}
.editor-note__label .zh { letter-spacing: 0.1em; }
.editor-note__body { margin: 0; font-size: 15.5px; line-height: 1.9; }
.editor-note__by { margin: 14px 0 0; font-size: 14px; color: var(--muted); }

.stats {
  display: flex; flex-wrap: wrap; gap: 30px; margin-top: 26px;
  font-size: 14px; color: var(--muted);
}
.stats__cell strong {
  font-size: 26px; font-weight: 800; color: var(--ink);
  margin-right: 7px; letter-spacing: 0.01em;
}
.stats__cell--note { align-self: flex-end; color: var(--muted-light); font-size: 13px; }

/* ─────────────── 区块 ─────────────── */

.block { padding-block: 52px 8px; }
.block__caveat {
  margin: -8px 0 20px; font-size: 13.5px; color: var(--muted);
  line-height: 1.75; max-width: var(--text);
}

.sechead {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; margin-bottom: 24px;
  padding-bottom: 12px; border-bottom: 2px solid var(--line-strong);
}
.sechead__h { margin: 0; font-size: 22px; font-weight: 800; letter-spacing: 0.02em; }
.sechead__sub { margin: 6px 0 0; font-size: 14px; color: var(--muted); }
.sechead__more {
  display: inline-flex; align-items: center; gap: 6px; flex: none;
  color: var(--brand); font-weight: 700; font-size: 14px;
}
.sechead__more:hover { border-bottom: 1px solid var(--brand); }

.blockh {
  font-size: 17px; font-weight: 800; margin: 0 0 16px; letter-spacing: 0.02em;
  display: flex; align-items: center; gap: 8px; color: var(--ink);
}

.wave { display: block; width: 100%; color: var(--line); margin-block: 30px 0; }

/* ─────────────── 榜单 ─────────────── */

.ranklist { border-top: 1px solid var(--line); }

.rankrow {
  display: grid;
  grid-template-columns: 42px 44px 1fr auto 62px;
  align-items: center; gap: 16px;
  padding: 15px 6px; border-bottom: 1px solid var(--line);
  transition: background 0.12s ease;
}
.rankrow:hover { background: var(--surface); }

.rankrow__no {
  font-size: 17px; font-weight: 800; color: var(--muted-light);
  text-align: center; letter-spacing: -0.02em;
}
.rankrow__no.is-top { color: var(--brand); font-size: 21px; }

.rankrow__chip,
.ipcard__chip,
.pair__chip {
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800; border-radius: var(--radius-tag);
  line-height: 1; flex: none;
}
.rankrow__chip { width: 44px; height: 44px; font-size: 19px; }

.rankrow__main { min-width: 0; }
.rankrow__name { display: block; font-size: 16px; font-weight: 700; line-height: 1.5; }
.rankrow__pos {
  display: block; font-size: 13.5px; color: var(--muted); line-height: 1.6;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.rankrow__tags { display: flex; align-items: center; gap: 12px; flex: none; }
.rankrow__n { font-size: 13px; color: var(--muted); white-space: nowrap; }
.rankrow__score {
  font-size: 19px; font-weight: 800; text-align: right;
  letter-spacing: -0.01em;
}

/* ─────────────── IP 卡片 ─────────────── */

.ipgrid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(268px, 1fr)); gap: 16px;
}

.ipcard {
  position: relative; display: flex; gap: 14px;
  border: 2px solid var(--line-strong); border-radius: var(--radius-tag);
  background: var(--surface); padding: 16px;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.ipcard:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--ink); }

.ipcard__rank {
  position: absolute; top: -10px; left: -10px;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--brand); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 800;
}
.ipcard__chip { width: 48px; height: 48px; font-size: 21px; }
.ipcard__body { min-width: 0; display: flex; flex-direction: column; }
.ipcard__name { font-size: 16px; font-weight: 700; line-height: 1.45; }
.ipcard__en {
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em;
  color: var(--muted-light); text-transform: uppercase; line-height: 1.6;
}
.ipcard__pos {
  margin-top: 6px; font-size: 13px; color: var(--ink-soft); line-height: 1.65;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.ipcard__meta {
  margin-top: 10px; display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.ipcard__heat { font-size: 15px; font-weight: 800; }

/* ─────────────── 标签 ─────────────── */

.stage {
  display: inline-block; padding: 1px 8px;
  border: 2px solid currentColor; border-radius: var(--radius-tag);
  font-size: 11.5px; font-weight: 700; line-height: 1.7; letter-spacing: 0.04em;
  white-space: nowrap;
}
.stage--lg { font-size: 13px; padding: 2px 11px; }

.grade {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 1px 9px; border: 2px solid currentColor; border-radius: var(--radius-tag);
  font-size: 13px; font-weight: 800; letter-spacing: 0.06em;
}
.grade span { font-size: 11.5px; font-weight: 700; letter-spacing: 0.04em; }
.grade--lg { font-size: 15px; padding: 3px 12px; }

.chip {
  display: inline-block; padding: 4px 13px;
  border: 1px solid var(--line); border-radius: 999px;
  font-size: 13px; color: var(--ink-soft); background: var(--surface);
  transition: all 0.12s ease; white-space: nowrap;
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.is-on { background: var(--ink); border-color: var(--ink); color: #fff; font-weight: 700; }
.chip--sm { padding: 2px 11px; font-size: 12.5px; }

/* ─────────────── 联名卡片 ─────────────── */

.collabgrid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 18px;
}

.collab {
  border: 2px solid var(--line-strong); border-radius: var(--radius-tag);
  background: var(--surface); padding: 18px 20px 20px;
  display: flex; flex-direction: column;
}
.collab__head {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  font-size: 13px; color: var(--muted);
}
.collab__date { font-weight: 700; color: var(--ink-soft); }
.collab__form {
  border: 1px solid var(--line); border-radius: var(--radius-tag);
  padding: 0 7px; font-size: 12px;
}
.collab__title { margin: 12px 0 0; font-size: 17px; font-weight: 700; line-height: 1.55; }
.collab__title a:hover { color: var(--brand); }
.collab__pair {
  margin: 8px 0 0; font-size: 13.5px; color: var(--muted);
  display: flex; align-items: center; gap: 7px; flex-wrap: wrap;
}
.collab__pair a { color: var(--ink-soft); border-bottom: 1px solid var(--line); }
.collab__pair a:hover { color: var(--brand); border-color: var(--brand); }
.collab__result {
  margin: 12px 0 0; font-size: 14px; line-height: 1.8; color: var(--ink-soft);
}

.note {
  display: flex; align-items: flex-start; gap: 8px;
  margin: 14px 0 0; padding: 11px 14px;
  background: var(--brand-wash); border-radius: var(--radius-tag);
  font-size: 13.5px; color: var(--brand); line-height: 1.7;
}
.note svg { flex: none; margin-top: 3px; }

/* ─────────────── 页头（内页） ─────────────── */

.pagehead { padding-block: 56px 0; }
.pagehead__h { margin: 14px 0 0; font-size: 38px; font-weight: 800; letter-spacing: 0.02em; line-height: 1.2; }
.pagehead__sub { margin: 18px 0 0; font-size: 15.5px; color: var(--ink-soft); max-width: var(--text); }

/* ─────────────── 筛选 ─────────────── */

.filters { padding-block: 30px 0; display: grid; gap: 12px; }
.filters__row { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.filters__label {
  font-size: 12.5px; font-weight: 700; color: var(--muted);
  width: 40px; flex: none; letter-spacing: 0.06em;
}

/* ─────────────── IP 详情 ─────────────── */

.ipdetail { padding-block: 52px 0; }

.ipdetail__top {
  display: flex; align-items: flex-start; gap: 22px;
  padding-bottom: 26px; border-bottom: 2px solid var(--line-strong);
}
.ipdetail__chip {
  width: 84px; height: 84px; flex: none;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 38px; font-weight: 800; border-radius: var(--radius-tag);
}
.ipdetail__id { flex: 1; min-width: 0; }
.ipdetail__h { margin: 0; font-size: 36px; font-weight: 800; line-height: 1.2; letter-spacing: 0.02em; }
.ipdetail__en {
  margin: 4px 0 0; font-size: 12px; font-weight: 700;
  letter-spacing: 0.16em; color: var(--muted-light); text-transform: uppercase;
}
.ipdetail__pos { margin: 12px 0 0; font-size: 16px; color: var(--ink-soft); line-height: 1.75; }
.ipdetail__badges { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 14px; }

.ipdetail__score { flex: none; text-align: right; }
.ipdetail__num { display: block; font-size: 44px; font-weight: 800; line-height: 1; color: var(--brand); }
.ipdetail__scorelabel { display: block; font-size: 12px; color: var(--muted); margin-top: 6px; letter-spacing: 0.06em; }
.ipdetail__rank { display: block; font-size: 12.5px; color: var(--muted-light); margin-top: 3px; }

.ipdetail__cols {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
  padding-block: 34px;
}
.ipdetail__col { min-width: 0; }

/* 编辑判断 —— 全站最重要的一块内容，视觉上必须最重 */
.verdict {
  margin-top: 28px; padding: 24px 28px 20px;
  background: var(--surface); border: 2px solid var(--line-strong);
  border-left: 6px solid var(--brand); border-radius: var(--radius-tag);
}
.verdict__label {
  display: flex; align-items: center; gap: 8px; margin: 0 0 12px;
  font-size: 11.5px; font-weight: 800; letter-spacing: 0.16em; color: var(--brand);
}
.verdict__p { margin: 0 0 12px; font-size: 15.5px; line-height: 1.95; }
.verdict__p:last-of-type { margin-bottom: 0; }
.verdict__by { margin: 16px 0 0; font-size: 12.5px; color: var(--muted-light); }

.kv { margin: 0; display: grid; grid-template-columns: 96px 1fr; gap: 0; }
.kv dt {
  font-size: 13.5px; color: var(--muted); padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.kv dd {
  margin: 0; font-size: 14.5px; padding: 10px 0;
  border-bottom: 1px solid var(--line); font-weight: 500;
}

/* ─────────────── 热度分项 ─────────────── */

.meters { display: grid; gap: 14px; }
.meter__top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.meter__label { font-size: 13.5px; font-weight: 700; }
.meter__w { font-size: 11.5px; font-weight: 400; color: var(--muted-light); margin-left: 6px; }
.meter__v { font-size: 14px; font-weight: 800; }
.meter__bar {
  margin-top: 5px; height: 8px; background: #efece5;
  border-radius: 999px; overflow: hidden;
}
.meter__bar i { display: block; height: 100%; background: var(--brand); border-radius: 999px; }
.meters__foot { margin: 18px 0 0; font-size: 12.5px; color: var(--muted); line-height: 1.8; }
.meters__foot a { color: var(--brand); font-weight: 700; }

/* ─────────────── 热度曲线（K 线） ─────────────── */

.ipdetail__trend { padding-block: 30px 6px; }

.kline__svg {
  width: 100%; height: 210px; display: block;
  border: 2px solid var(--line-strong); border-radius: var(--radius-tag);
  background: var(--surface);
}
.kline__grid { stroke: var(--line); stroke-width: 1; vector-effect: non-scaling-stroke; }
.kline__ylab, .kline__xlab { font-size: 10px; fill: var(--muted-light); text-anchor: end; }
.kline__xlab { text-anchor: start; }
.kline__area { fill: var(--brand); opacity: 0.1; }
.kline__line {
  fill: none; stroke: var(--brand); stroke-width: 2.5;
  stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke;
}
.kline__dot { fill: var(--brand); }
.kline__event {
  stroke: var(--ink); stroke-width: 1; stroke-dasharray: 3 3;
  opacity: 0.35; vector-effect: non-scaling-stroke;
}

.kline__legend { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 6px; }
.kline__legend a {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--ink-soft);
}
.kline__legend a:hover { color: var(--brand); }
.kline__tick {
  width: 2px; height: 12px; flex: none;
  background: repeating-linear-gradient(var(--ink) 0 3px, transparent 3px 6px);
  opacity: 0.5;
}
.kline__foot { margin: 12px 0 0; font-size: 12.5px; color: var(--muted); }

.kline--empty {
  border: 2px dashed var(--line); border-radius: var(--radius-tag);
  background: var(--surface); padding: 22px 26px 20px;
}
.kline__emptyh {
  display: flex; align-items: center; gap: 8px; margin: 0 0 10px;
  font-size: 14px; font-weight: 800; color: var(--brand);
}
.kline__emptyp { margin: 0 0 10px; font-size: 14px; line-height: 1.85; color: var(--ink-soft); }
.kline__why {
  margin: 0; padding-top: 12px; border-top: 1px solid var(--line);
  font-size: 13px; color: var(--muted);
}

/* 涨跌幅 */
.deltas { display: flex; gap: 8px; justify-content: flex-end; margin-top: 10px; }
.delta {
  font-size: 12px; color: var(--muted);
  border: 1px solid var(--line); border-radius: var(--radius-tag); padding: 1px 8px;
  white-space: nowrap;
}
.delta b { font-weight: 800; margin-left: 3px; }
.delta.is-up { color: var(--brand); border-color: var(--brand); }
.delta.is-down { color: var(--info); border-color: var(--info); }
.delta.is-na { opacity: 0.55; }

.stage em { font-style: normal; font-weight: 600; opacity: 0.6; margin-left: 5px; font-size: 0.85em; }

/* ─────────────── 来源 / 效果数据 ─────────────── */

.sources { margin-top: 26px; }
.sources__h, .metrics__h {
  display: flex; align-items: center; gap: 7px; margin: 0 0 12px;
  font-size: 12px; font-weight: 800; letter-spacing: 0.14em; color: var(--muted);
}
.sources ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.sources li {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  font-size: 14px; padding-bottom: 8px; border-bottom: 1px solid var(--line);
}
.sources a { color: var(--ink); border-bottom: 1px solid var(--line); }
.sources a:hover { color: var(--brand); border-color: var(--brand); }
.sources__todo {
  font-size: 11.5px; color: var(--brand); border: 1px solid var(--brand);
  border-radius: var(--radius-tag); padding: 0 7px; line-height: 1.7;
}
.sources__asof { font-size: 12px; color: var(--muted-light); margin-left: auto; }

.metrics table { width: 100%; border-collapse: collapse; }
.metrics th, .metrics td {
  text-align: left; padding: 10px 0; border-bottom: 1px solid var(--line);
  font-size: 14px; vertical-align: top;
}
.metrics th { color: var(--muted); font-weight: 500; width: 34%; }
.metrics__src { font-size: 12.5px; color: var(--muted-light); text-align: right; }
.metrics__empty {
  margin: 0; padding: 16px 18px; font-size: 13.5px; line-height: 1.85;
  color: var(--ink-soft); background: var(--surface);
  border: 2px dashed var(--line); border-radius: var(--radius-tag);
}

/* ─────────────── 联名详情 ─────────────── */

.collabdetail { padding-block: 44px 0; max-width: 940px; }
.collabdetail__crumbs {
  display: flex; align-items: center; gap: 9px;
  font-size: 13px; color: var(--muted); margin-bottom: 22px;
}
.collabdetail__crumbs a:hover { color: var(--brand); }
.collabdetail__head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 13.5px; color: var(--muted); }
.collabdetail__h { margin: 16px 0 0; font-size: 32px; font-weight: 800; line-height: 1.3; letter-spacing: 0.02em; }
.collabdetail__result { margin-top: 30px; }
.lead { margin: 0; font-size: 16.5px; line-height: 1.95; color: var(--ink-soft); }

.pair {
  display: flex; align-items: stretch; gap: 14px; margin-top: 28px;
}
.pair__side {
  flex: 1; min-width: 0;
  display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
  border: 2px solid var(--line-strong); border-radius: var(--radius-tag);
  background: var(--surface); padding: 16px 18px;
}
.pair__side:hover { box-shadow: 3px 3px 0 var(--ink); }
.pair__chip { width: 40px; height: 40px; font-size: 18px; margin-bottom: 6px; background: var(--muted); }
.pair__chip--brand { background: var(--ink); }
.pair__name { font-size: 17px; font-weight: 700; }
.pair__role { font-size: 12.5px; color: var(--muted); }
.pair__x {
  align-self: center; font-size: 20px; font-weight: 800; color: var(--muted-light); flex: none;
}

/* ─────────────── 方法论 ─────────────── */

.method { padding-block: 40px 0; }
.method__formula {
  border: 2px solid var(--line-strong); border-radius: var(--radius-tag);
  background: var(--surface); padding: 18px 20px; overflow-x: auto;
}
.method__formula code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13.5px; line-height: 1.9; white-space: nowrap;
}
.method__table { width: 100%; border-collapse: collapse; margin-top: 22px; }
.method__table th, .method__table td {
  text-align: left; padding: 11px 12px 11px 0; border-bottom: 1px solid var(--line); font-size: 14px;
}
.method__table thead th {
  font-size: 12px; letter-spacing: 0.1em; color: var(--muted);
  border-bottom: 2px solid var(--line-strong); font-weight: 700;
}
.method__table tbody th { font-weight: 700; width: 120px; }
.method__table td:nth-child(2) { width: 70px; font-weight: 800; }

.method__honest {
  margin-top: 26px; padding: 20px 24px 18px;
  background: var(--brand-wash); border: 2px solid var(--brand); border-radius: var(--radius-tag);
}
.method__honest-h { margin: 0 0 8px; font-size: 15px; font-weight: 800; color: var(--brand); }
.method__honest p { margin: 0 0 8px; font-size: 14.5px; line-height: 1.85; }
.method__roadmap { color: var(--ink-soft); font-size: 13.5px !important; margin-bottom: 0 !important; }

/* ─────────────── IP 对比 ─────────────── */

/* 窄屏必须能横向滚，但页面本身绝不能横向滚——溢出只发生在这个容器里 */
.cmp-scroll { overflow-x: auto; margin-inline: calc(var(--page-pad) * -1); padding-inline: var(--page-pad); }

.cmp {
  width: 100%; border-collapse: collapse;
  min-width: calc(150px + var(--cols) * 190px);
}
.cmp th, .cmp td {
  text-align: left; padding: 12px 14px;
  border-bottom: 1px solid var(--line); vertical-align: top;
}
.cmp__rowhead {
  width: 150px; font-size: 13px; font-weight: 700; color: var(--muted);
  background: var(--paper); position: sticky; left: 0; z-index: 1;
}
.cmp__w { font-weight: 400; color: var(--muted-light); margin-left: 5px; font-size: 11.5px; }

.cmp thead th { border-bottom: 2px solid var(--line-strong); padding-bottom: 16px; }
.cmp__col { min-width: 190px; }
.cmp__id { display: flex; align-items: center; gap: 10px; }
.cmp__chip {
  width: 36px; height: 36px; flex: none; border-radius: var(--radius-tag);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 16px; font-weight: 800;
}
.cmp__name { font-size: 15px; font-weight: 700; line-height: 1.4; }
.cmp__id:hover .cmp__name { color: var(--brand); }
.cmp__remove { display: inline-block; margin-top: 8px; font-size: 12px; color: var(--muted); }
.cmp__remove:hover { color: var(--brand); }

.cmp__hero td { background: #fffaf8; }
.cmp__big { font-size: 26px; font-weight: 800; letter-spacing: -0.01em; }
.cmp__v { font-size: 15px; font-weight: 700; }
.cmp__bar {
  display: block; margin-top: 6px; height: 6px; width: 100%;
  background: #efece5; border-radius: 999px; overflow: hidden;
}
.cmp__bar i { display: block; height: 100%; background: var(--muted-light); border-radius: 999px; }
.cmp__text { font-size: 13.5px; line-height: 1.7; color: var(--ink-soft); }
.cmp__date { display: block; font-size: 12px; color: var(--muted-light); margin-top: 2px; }

/* 每行的最高值：不用奖杯图标之类的装饰，一个左侧色条就够读 */
.cmp td.is-best { background: var(--brand-wash); box-shadow: inset 3px 0 0 var(--brand); }
.cmp td.is-best .cmp__big,
.cmp td.is-best .cmp__v { color: var(--brand); }
.cmp td.is-best .cmp__bar i { background: var(--brand); }

.cmp__foot {
  margin: 22px 0 0; font-size: 13px; color: var(--muted);
  line-height: 1.85; max-width: var(--text);
}

.cmp-picker { display: flex; flex-wrap: wrap; gap: 8px; }
.chip.is-off { opacity: 0.4; cursor: not-allowed; }

.cmp-cta {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 15px; border: 2px solid var(--line-strong); border-radius: var(--radius-tag);
  font-size: 13.5px; font-weight: 700;
}
.cmp-cta:hover { background: var(--ink); color: var(--surface); }

/* ─────────────── 时间线 ─────────────── */

.tl { list-style: none; margin: 0; padding: 0; }
.tl__item {
  display: grid; grid-template-columns: 84px 16px 1fr;
  align-items: baseline; gap: 12px;
  padding: 11px 0; border-bottom: 1px solid var(--line);
}
.tl__t { font-size: 13.5px; font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; }
.tl__dot {
  width: 9px; height: 9px; border-radius: 50%;
  border: 2px solid var(--brand); background: var(--paper);
  justify-self: center; align-self: center;
}
.tl__text { font-size: 15px; line-height: 1.6; }
.tl__text a:hover { color: var(--brand); }

/* ─────────────── 方法论补充块 ─────────────── */

.method__series {
  margin-top: 20px; padding: 20px 24px 18px;
  background: var(--surface); border: 2px solid var(--line-strong); border-radius: var(--radius-tag);
}
.method__series p { margin: 0 0 8px; font-size: 14.5px; line-height: 1.85; }
.method__series .method__honest-h { display: flex; align-items: center; gap: 8px; color: var(--ink); }

.method__stages { margin-top: 30px; }
.method__stagesh { font-size: 17px; font-weight: 800; margin: 0 0 10px; }
.method__stagesp { font-size: 14.5px; line-height: 1.85; margin: 0 0 18px; max-width: var(--text); }

.stagelist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.stagelist li { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.stagelist li > .stage { flex: none; min-width: 104px; text-align: center; }
.stagelist li > span { font-size: 14px; color: var(--ink-soft); }

/* 「还没到时候」的状态：要解释清楚，不能只写一句暂无数据 */
.pending {
  border: 2px dashed var(--brand); border-radius: var(--radius-tag);
  background: var(--brand-wash); padding: 22px 26px 20px;
}
.pending__h {
  display: flex; align-items: center; gap: 8px; margin: 0 0 10px;
  font-size: 15px; font-weight: 800; color: var(--brand);
}
.pending p { margin: 0 0 10px; font-size: 14.5px; line-height: 1.85; }
.pending__vow { margin: 0; padding-top: 12px; border-top: 1px solid rgba(255, 75, 38, 0.25); font-size: 13.5px; color: var(--ink-soft); }

/* ─────────────── 实验室 ─────────────── */

.lab-teaser { background: var(--ink); color: var(--paper); margin-top: 56px; padding-block: 60px 64px; }
.lab-teaser__inner {
  max-width: var(--text); margin: 0 auto; padding-inline: var(--page-pad);
  display: flex; flex-direction: column; align-items: flex-start; color: var(--paper);
}
.lab-teaser__h { margin: 18px 0 0; font-size: 28px; font-weight: 800; letter-spacing: 0.02em; }
.lab-teaser__p { margin: 14px 0 0; font-size: 15.5px; line-height: 1.9; opacity: 0.86; }
.lab-teaser__cta {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 26px;
  padding: 12px 24px; background: var(--brand); color: #fff;
  border-radius: var(--radius-tag); font-size: 15px; font-weight: 700;
}
.lab-teaser__cta:hover { background: #e63e1c; }

.lab-status {
  margin-top: 8px; padding: 20px 24px;
  border: 2px dashed var(--line); border-radius: var(--radius-tag); background: var(--surface);
}
.lab-status__now {
  margin: 0; font-size: 13px; font-weight: 800; letter-spacing: 0.1em; color: var(--brand);
}

/* ─────────────── 长文 ─────────────── */

.doc { max-width: 820px; margin: 0 auto; padding: 40px var(--page-pad) 90px; }
.doc__h2 {
  font-size: 19px; font-weight: 800; margin: 42px 0 14px;
  padding-bottom: 8px; border-bottom: 2px solid var(--line-strong);
}
.doc__lead { font-size: 16.5px; line-height: 1.9; color: var(--ink-soft); margin: 0 0 12px; }
.doc__p { font-size: 15.5px; line-height: 1.95; margin: 0 0 14px; }
.doc__muted { color: var(--muted); font-size: 14.5px; }
.doc__link { color: var(--brand); font-weight: 700; }
.doc__link:hover { border-bottom: 1px solid var(--brand); }
.doc__list { margin: 0; padding-left: 22px; }
.doc__list li { margin-bottom: 12px; line-height: 1.95; font-size: 15.5px; }

.prose { max-width: var(--text); font-size: 15.5px; line-height: 1.95; }
.prose h2 { font-size: 19px; margin: 36px 0 12px; }
.prose p { margin: 0 0 14px; }
.prose a { color: var(--brand); font-weight: 700; }

/* ─────────────── 其他 ─────────────── */

.searchlist { display: grid; gap: 16px; }
.searchlist__ip { display: grid; }

.pager { padding-block: 40px 20px; display: flex; justify-content: center; gap: 10px; }
.pager .page-numbers {
  padding: 7px 14px; border: 1px solid var(--line); border-radius: var(--radius-tag);
  font-size: 14px; background: var(--surface);
}
.pager .page-numbers.current { background: var(--ink); border-color: var(--ink); color: #fff; font-weight: 700; }

.empty { max-width: var(--text); margin: 0 auto; padding: 80px var(--page-pad) 110px; text-align: center; }
.empty--inline { padding-block: 44px 20px; }
.empty h2 { font-size: 21px; margin: 0 0 12px; }
.empty p { color: var(--muted); margin: 0; }

.site-footer {
  border-top: 1px solid var(--line); padding-block: 26px; margin-top: 60px;
  font-size: 13.5px; color: var(--muted);
}
.site-footer__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.site-footer__links { display: flex; gap: 22px; flex-wrap: wrap; }
.site-footer__links a:hover { color: var(--ink); }
.footer-brand { display: flex; align-items: center; gap: 9px; }
.site-footer__login { color: var(--brand); font-weight: 700; }

/* ─────────────── 移动端 ─────────────── */

@media (max-width: 900px) {
  .ipdetail__cols { grid-template-columns: 1fr; gap: 8px; }
  .nav { gap: 20px; font-size: 14px; }
  .hsearch { display: none; }
}

@media (max-width: 720px) {
  :root { --page-pad: 20px; }

  .site-header__inner { height: 60px; gap: 14px; }
  .brand__zh { font-size: 19px; }
  /* 窄屏只留最核心的三个入口，其余靠页脚 */
  .nav { gap: 16px; font-size: 13.5px; overflow-x: auto; }
  .nav a:nth-child(n + 4) { display: none; }

  .hero { padding-block: 40px 0; }
  .hero__title { font-size: 30px; }
  .hero__title-row { gap: 12px; }
  .editor-note { padding: 20px 18px 16px; }
  .stats { gap: 20px; }
  .stats__cell strong { font-size: 21px; }

  .pagehead { padding-block: 36px 0; }
  .pagehead__h { font-size: 27px; }

  .sechead { flex-direction: column; align-items: flex-start; gap: 10px; }
  .sechead__h { font-size: 19px; }

  /* 榜单在窄屏收掉分项标签，保住「名次 / 名字 / 分数」这条主线 */
  .rankrow { grid-template-columns: 30px 38px 1fr 48px; gap: 11px; padding: 13px 2px; }
  .rankrow__chip { width: 38px; height: 38px; font-size: 16px; }
  .rankrow__tags { display: none; }
  .rankrow__score { font-size: 16px; }
  .rankrow__no { font-size: 15px; }
  .rankrow__no.is-top { font-size: 18px; }

  .ipgrid, .collabgrid { grid-template-columns: 1fr; }

  .ipdetail { padding-block: 34px 0; }
  .ipdetail__top { flex-wrap: wrap; gap: 16px; }
  .ipdetail__chip { width: 60px; height: 60px; font-size: 27px; }
  .ipdetail__h { font-size: 26px; }
  .ipdetail__score { text-align: left; width: 100%; display: flex; align-items: baseline; gap: 10px; }
  .ipdetail__num { font-size: 32px; }
  .ipdetail__scorelabel, .ipdetail__rank { margin-top: 0; }

  .verdict { padding: 20px 18px 16px; }
  .collabdetail__h { font-size: 24px; }
  .pair { flex-direction: column; }
  .pair__x { align-self: flex-start; }

  .method__table tbody th { width: auto; }
  .doc { padding-block: 30px 70px; }

  .filters__label { width: 100%; }

  .site-footer__inner { flex-direction: column; align-items: flex-start; gap: 14px; }
}
