/* ============================================================
   黑料718 · HL718 DAILY GOSSIP PRESS
   暗色 × 琥珀金 编辑部美学 · 响应式
   ============================================================ */

/* ---------- 设计令牌 ---------- */
:root {
  --bg: #0a0b0d;
  --bg-2: #101216;
  --bg-3: #16181d;
  --bg-4: #1c1f26;
  --line: #26292f;
  --line-soft: rgba(201, 163, 92, .18);
  --gold: #c9a35c;
  --gold-bright: #e9cc8a;
  --gold-deep: #8a6a33;
  --ink: #ece7da;
  --ink-2: #a49c8c;
  --ink-3: #6f6a5e;
  --red: #e2554f;
  --teal: #5fb3a1;
  --blue: #5b8fdd;

  --font-serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --font-sans: "Inter", "PingFang SC", "Microsoft YaHei", "Segoe UI", system-ui, sans-serif;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 18px 44px rgba(0, 0, 0, .45);
  --gutter: clamp(16px, 4vw, 40px);
}

/* ---------- 基础 ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: .015em;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(1200px 600px at 78% -8%, rgba(201, 163, 92, .10), transparent 60%),
    radial-gradient(900px 500px at 8% 108%, rgba(201, 163, 92, .06), transparent 60%),
    linear-gradient(rgba(255,255,255,.016) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.016) 1px, transparent 1px);
  background-size: auto, auto, 46px 46px, 46px 46px;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-bright); text-decoration: none; transition: color .25s ease; }
a:hover { color: var(--gold); }
h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 700; line-height: 1.35; letter-spacing: .02em; }
::selection { background: rgba(201, 163, 92, .35); color: #fff; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.container { width: min(1180px, 100% - var(--gutter) * 2); margin-inline: auto; }
.skip-link {
  position: absolute; left: -999px; top: 8px; z-index: 200;
  background: var(--gold); color: #14100a; padding: 8px 16px; border-radius: 6px; font-weight: 700;
}
.skip-link:focus { left: 8px; }

/* ============================================================
   刊头（masthead）
   ============================================================ */
.masthead {
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(201,163,92,.07), transparent 70%);
}
.masthead-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding-block: 8px;
  font-size: 12px; letter-spacing: .22em; color: var(--ink-3);
  text-transform: uppercase;
}
.masthead .mh-left { display: flex; gap: 18px; align-items: center; white-space: nowrap; overflow: hidden; }
.masthead .mh-date { color: var(--gold-bright); }
.masthead .mh-tag { color: var(--ink-2); }
.masthead .mh-right { display: flex; gap: 10px; align-items: center; white-space: nowrap; }
.heat-pill {
  display: inline-flex; align-items: center; gap: 7px;
  border: 1px solid var(--line); border-radius: 999px; padding: 3px 12px;
  background: var(--bg-2); color: var(--ink-2); letter-spacing: .12em;
}
.heat-pill b { color: var(--gold-bright); font-weight: 700; }
.heat-pill .pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--red); animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1);} 50% { opacity: .35; transform: scale(.75);} }

/* ============================================================
   头部 / 导航
   ============================================================ */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10, 11, 13, .88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding-block: 14px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-logo { width: 42px; height: 42px; filter: drop-shadow(0 0 14px rgba(201,163,92,.35)); }
.brand-name {
  font-family: var(--font-serif); font-size: 26px; font-weight: 800; color: var(--ink);
  letter-spacing: .06em; line-height: 1;
}
.brand-name em { font-style: normal; color: var(--gold-bright); }
.brand-tag {
  display: block; font-family: var(--font-sans); font-size: 9.5px; letter-spacing: .34em;
  color: var(--ink-3); text-transform: uppercase; margin-top: 5px;
}
.main-nav { display: flex; gap: 4px; }
.main-nav a {
  position: relative; padding: 9px 15px; border-radius: 8px;
  color: var(--ink-2); font-size: 15px; letter-spacing: .04em; font-weight: 500;
}
.main-nav a:hover { color: var(--ink); background: var(--bg-3); }
.main-nav a.active { color: var(--gold-bright); }
.main-nav a.active::after {
  content: ""; position: absolute; left: 15px; right: 15px; bottom: 3px;
  height: 2px; background: linear-gradient(90deg, var(--gold), transparent);
  border-radius: 2px;
}
.header-actions { display: flex; align-items: center; gap: 10px; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px; width: 44px; height: 44px;
  background: var(--bg-3); border: 1px solid var(--line); border-radius: 10px;
  cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   按钮
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-sans); font-weight: 600; font-size: 15px; letter-spacing: .04em;
  padding: 11px 22px; border-radius: 10px; border: 1px solid transparent;
  cursor: pointer; transition: all .25s ease; white-space: nowrap; line-height: 1.4;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold) 55%, var(--gold-deep));
  color: #17120a; box-shadow: 0 6px 20px rgba(201,163,92,.25);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(201,163,92,.38); color: #17120a; }
.btn-ghost {
  background: transparent; color: var(--gold-bright); border-color: var(--line-gold, rgba(201,163,92,.5));
}
.btn-ghost:hover { background: rgba(201,163,92,.1); color: var(--gold-bright); }
.btn-outline {
  background: transparent; color: var(--ink-2); border-color: var(--line);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold-bright); }
.btn-sm { padding: 8px 14px; font-size: 13.5px; border-radius: 8px; }
.btn-lg { padding: 14px 30px; font-size: 16px; border-radius: 12px; }
.btn-block { width: 100%; }

/* ============================================================
   信源分级徽章 / 标签
   ============================================================ */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 700; letter-spacing: .1em;
  padding: 3px 10px; border-radius: 999px; border: 1px solid; line-height: 1.5;
  font-family: var(--font-sans);
}
.badge-s { color: var(--gold-bright); border-color: rgba(201,163,92,.6); background: rgba(201,163,92,.12); }
.badge-a { color: var(--teal); border-color: rgba(95,179,161,.55); background: rgba(95,179,161,.1); }
.badge-b { color: #b9b2a4; border-color: rgba(185,178,164,.4); background: rgba(185,178,164,.08); }
.badge-c { color: #e58a5b; border-color: rgba(229,138,91,.55); background: rgba(229,138,91,.1); }

.chip {
  display: inline-block; font-size: 12px; letter-spacing: .05em;
  padding: 4px 12px; border-radius: 999px;
  background: var(--bg-3); border: 1px solid var(--line); color: var(--ink-2);
}
.chip-gold { color: var(--gold-bright); border-color: var(--line-soft); background: rgba(201,163,92,.08); }
.chip-red { color: #f0a29e; border-color: rgba(226,85,79,.45); background: rgba(226,85,79,.1); }

/* ============================================================
   章节头
   ============================================================ */
.section { padding-block: clamp(56px, 8vw, 96px); }
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 20px;
  margin-bottom: 30px;
}
.section-kicker {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 12.5px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 10px;
}
.section-kicker::before { content: ""; width: 26px; height: 1px; background: var(--gold); }
.section-title { font-size: clamp(24px, 3.4vw, 34px); }
.section-sub { color: var(--ink-2); margin-top: 8px; max-width: 620px; }
.section-link { color: var(--ink-2); font-size: 14px; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.section-link:hover { color: var(--gold-bright); }
.section-link::after { content: "→"; transition: transform .25s; }
.section-link:hover::after { transform: translateX(4px); }

.rule-gold {
  height: 1px; border: none; margin: 0;
  background: linear-gradient(90deg, var(--gold-deep), rgba(201,163,92,.5) 30%, transparent 80%);
}

/* ============================================================
   Hero
   ============================================================ */
.hero { position: relative; padding-block: clamp(48px, 7vw, 92px) clamp(40px, 6vw, 76px); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 13px; letter-spacing: .26em; text-transform: uppercase; color: var(--ink-2);
  border: 1px solid var(--line); border-radius: 999px; padding: 7px 16px; margin-bottom: 22px;
  background: var(--bg-2);
}
.hero-kicker .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(226,85,79,.18); }
.hero h1 { font-size: clamp(34px, 5.4vw, 58px); letter-spacing: .04em; }
.hero h1 .line { display: block; }
.hero h1 .accent {
  background: linear-gradient(120deg, var(--gold-bright), var(--gold));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-lead { color: var(--ink-2); font-size: 17px; max-width: 560px; margin-top: 18px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-stats {
  display: flex; flex-wrap: wrap; gap: clamp(22px, 4vw, 44px); margin-top: 38px;
  padding-top: 24px; border-top: 1px solid var(--line);
}
.stat b { display: block; font-family: var(--font-serif); font-size: 26px; color: var(--gold-bright); font-weight: 800; }
.stat span { font-size: 13px; color: var(--ink-3); letter-spacing: .08em; }

/* Hero 头条档案卡 */
.hero-card {
  background: linear-gradient(160deg, var(--bg-3), var(--bg-2));
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(20px, 3vw, 30px); position: relative; overflow: hidden;
  box-shadow: var(--shadow);
}
.hero-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, var(--gold), transparent 70%);
}
.hero-card::after {
  content: "718"; position: absolute; right: -14px; bottom: -34px;
  font-family: var(--font-serif); font-size: 150px; font-weight: 800; line-height: 1;
  color: rgba(201, 163, 92, .07); pointer-events: none;
}
.hcard-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.hcard-no { font-size: 12px; letter-spacing: .18em; color: var(--ink-3); font-family: var(--font-sans); }
.hcard-title { font-size: clamp(18px, 2.2vw, 23px); margin-bottom: 10px; }
.hcard-desc { color: var(--ink-2); font-size: 14.5px; }
.hcard-list { list-style: none; margin-top: 16px; display: grid; gap: 9px; }
.hcard-list li { display: flex; gap: 10px; font-size: 14px; color: var(--ink-2); align-items: baseline; }
.i-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex: none; transform: translateY(-2px); }
.hcard-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 20px; padding-top: 16px; border-top: 1px dashed var(--line); }
.hcard-meta { font-size: 12.5px; color: var(--ink-3); display: flex; gap: 14px; }

/* ============================================================
   大瓜榜单
   ============================================================ */
.rank-wrap {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden;
}
.rank-tabs { display: flex; gap: 6px; padding: 14px 16px 0; flex-wrap: wrap; border-bottom: 1px solid var(--line); }
.rank-tab {
  background: transparent; border: 1px solid transparent; color: var(--ink-3);
  padding: 9px 18px; border-radius: 9px 9px 0 0; cursor: pointer; font-size: 14.5px; font-weight: 600;
  font-family: var(--font-sans); letter-spacing: .05em; transition: .25s;
}
.rank-tab:hover { color: var(--ink-2); }
.rank-tab.active { color: var(--gold-bright); background: var(--bg-3); border-color: var(--line); border-bottom-color: var(--bg-3); }
.rank-list { display: grid; }
.rank-item {
  display: grid; grid-template-columns: 64px 1fr auto; gap: 16px; align-items: center;
  padding: 16px 20px; border-bottom: 1px solid var(--line); position: relative; transition: background .25s;
}
.rank-item:last-child { border-bottom: none; }
.rank-item:hover { background: var(--bg-3); }
.rank-no {
  font-family: var(--font-serif); font-size: 34px; font-weight: 800; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(201,163,92,.55); text-stroke: 1px rgba(201,163,92,.55);
  text-align: center;
}
.rank-item:first-child .rank-no { color: var(--gold-bright); -webkit-text-stroke: 0; text-shadow: 0 0 22px rgba(201,163,92,.4); }
.rank-body { min-width: 0; }
.rank-title { font-size: 17px; font-weight: 700; font-family: var(--font-serif); margin-bottom: 5px; line-height: 1.45; }
.rank-meta { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; font-size: 12.5px; color: var(--ink-3); }
.rank-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.heat { margin-top: 8px; }
.heat-track { height: 5px; border-radius: 999px; background: var(--bg-4); overflow: hidden; }
.heat-fill {
  height: 100%; border-radius: 999px;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-bright));
  width: 0; transition: width 1s cubic-bezier(.22,.8,.3,1);
}
.heat-num { font-size: 12px; color: var(--gold-bright); display: flex; justify-content: space-between; margin-top: 5px; }
.rank-side { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.rank-state { font-size: 12px; letter-spacing: .06em; color: var(--ink-3); }
.rank-state.up { color: #7ec98e; }
.rank-state.down { color: #e58a5b; }

/* ============================================================
   瓜讯卡片 / 网格
   ============================================================ */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.news-card {
  display: flex; flex-direction: column;
  background: var(--bg-3); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.news-card:hover { transform: translateY(-5px); border-color: var(--line-soft); box-shadow: var(--shadow); }
.card-media { aspect-ratio: 16 / 9; overflow: hidden; position: relative; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.news-card:hover .card-media img { transform: scale(1.06); }
.card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-tags { display: flex; gap: 7px; flex-wrap: wrap; }
.card-title { font-size: 17.5px; line-height: 1.5; }
.card-title a { color: var(--ink); }
.card-title a:hover { color: var(--gold-bright); }
.card-excerpt { color: var(--ink-2); font-size: 14px; flex: 1; }
.card-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding-top: 12px; border-top: 1px dashed var(--line); font-size: 12.5px; color: var(--ink-3);
}

/* ============================================================
   分类大卡（分类页头）
   ============================================================ */
.cat-hero {
  background: linear-gradient(150deg, var(--bg-3), var(--bg-2) 60%, rgba(201,163,92,.05));
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(26px, 4vw, 44px); display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center;
  margin-bottom: 36px;
}
.cat-hero .cat-title { font-size: clamp(26px, 3.6vw, 40px); }
.cat-hero .cat-desc { color: var(--ink-2); margin-top: 10px; max-width: 640px; }
.cat-hero .cat-icon { width: 96px; height: 96px; border-radius: 22px; background: rgba(201,163,92,.08); border: 1px solid var(--line-soft); display: grid; place-items: center; }
.cat-hero .cat-icon svg { width: 52px; height: 52px; }

/* ============================================================
   风向雷达（首页特色块）
   ============================================================ */
.radar {
  background: linear-gradient(160deg, var(--bg-3), var(--bg-2));
  border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 3.5vw, 34px);
}
.radar-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: 22px; }
.radar-item { border: 1px solid var(--line); border-radius: 12px; padding: 14px; background: var(--bg-4); text-align: center; transition: .3s; }
.radar-item:hover { border-color: var(--line-soft); transform: translateY(-3px); }
.radar-item .r-level { font-family: var(--font-serif); font-size: 26px; font-weight: 800; }
.radar-item .r-name { font-size: 13.5px; margin-top: 4px; color: var(--ink-2); }
.radar-item .r-heat { font-size: 12px; color: var(--gold-bright); margin-top: 2px; }
.radar-item.lv-5 { color: var(--red); border-color: rgba(226,85,79,.5); }
.radar-item.lv-4 { color: #f0a24e; border-color: rgba(240,162,78,.45); }
.radar-item.lv-3 { color: var(--gold-bright); border-color: rgba(201,163,92,.45); }
.radar-item.lv-2 { color: #a8b7c9; border-color: rgba(168,183,201,.35); }
.radar-item.lv-1 { color: var(--ink-3); border-color: var(--line); }

/* ============================================================
   编辑部引言 / 引用块
   ============================================================ */
.editorial {
  display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: start;
  padding: clamp(22px, 3.5vw, 34px); background: var(--bg-2);
  border: 1px solid var(--line); border-left: 3px solid var(--gold); border-radius: 0 var(--radius) var(--radius) 0;
}
.editorial-mark { font-family: var(--font-serif); font-size: 64px; line-height: 1; color: var(--gold-deep); font-weight: 800; }
.editorial p { color: var(--ink-2); font-size: 15.5px; }
.editorial footer { margin-top: 14px; font-size: 13px; color: var(--ink-3); letter-spacing: .08em; }

/* ============================================================
   内容页（关于 / 免责）
   ============================================================ */
.prose { max-width: 780px; }
.prose h2 { font-size: 24px; margin: 38px 0 14px; padding-left: 14px; border-left: 3px solid var(--gold); }
.prose h3 { font-size: 18px; margin: 26px 0 10px; color: var(--gold-bright); }
.prose p { color: var(--ink-2); margin-bottom: 14px; }
.prose ul, .prose ol { margin: 0 0 16px 22px; color: var(--ink-2); }
.prose li { margin-bottom: 8px; }
.prose strong { color: var(--ink); }
.prose a { color: var(--gold-bright); text-decoration: underline; text-underline-offset: 3px; }
.prose table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 14.5px; }
.prose th { background: var(--bg-3); color: var(--gold-bright); text-align: left; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 14px; color: var(--ink-2); }

/* ============================================================
   投稿弹窗
   ============================================================ */
.modal {
  position: fixed; inset: 0; z-index: 300; display: none;
  align-items: center; justify-content: center; padding: 20px;
  background: rgba(5, 6, 8, .78); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.modal.open { display: flex; }
.modal-box {
  width: min(540px, 100%); max-height: 90vh; overflow-y: auto;
  background: var(--bg-3); border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: clamp(22px, 3.5vw, 32px); position: relative; box-shadow: var(--shadow);
  animation: modalIn .3s ease;
}
@keyframes modalIn { from { opacity: 0; transform: translateY(14px) scale(.98);} to { opacity: 1; transform: none;} }
.modal-close {
  position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 10px;
  background: var(--bg-4); border: 1px solid var(--line); color: var(--ink-2); cursor: pointer; font-size: 18px;
}
.modal-close:hover { color: var(--red); border-color: rgba(226,85,79,.5); }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13.5px; color: var(--ink-2); margin-bottom: 7px; letter-spacing: .05em; }
.field input, .field select, .field textarea {
  width: 100%; background: var(--bg-2); border: 1px solid var(--line); color: var(--ink);
  border-radius: 10px; padding: 11px 14px; font-family: var(--font-sans); font-size: 14.5px; transition: border-color .25s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.field textarea { min-height: 110px; resize: vertical; }
.form-tip { font-size: 12.5px; color: var(--ink-3); margin-top: 6px; }
.form-ok {
  display: none; text-align: center; padding: 34px 20px;
}
.form-ok.show { display: block; }
.form-ok .ok-icon { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%; background: rgba(95,179,161,.14); border: 1px solid rgba(95,179,161,.5); display: grid; place-items: center; color: var(--teal); font-size: 30px; }
.form-ok h3 { font-size: 21px; margin-bottom: 8px; }
.form-ok p { color: var(--ink-2); font-size: 14.5px; }

/* ============================================================
   搜索条
   ============================================================ */
.searchbar {
  display: flex; gap: 10px; align-items: center;
  background: var(--bg-3); border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 8px 8px 18px; max-width: 420px; transition: border-color .3s;
}
.searchbar:focus-within { border-color: var(--gold); }
.searchbar svg { width: 18px; height: 18px; color: var(--ink-3); flex: none; }
.searchbar input {
  flex: 1; background: none; border: none; outline: none; color: var(--ink);
  font-family: var(--font-sans); font-size: 14.5px; min-width: 0;
}
.searchbar input::placeholder { color: var(--ink-3); }
.searchbar .search-clear {
  flex: none; width: 32px; height: 32px; border-radius: 50%; border: none; cursor: pointer;
  background: var(--bg-4); color: var(--ink-2); display: none; font-size: 15px;
}
.searchbar.has-value .search-clear { display: inline-flex; align-items: center; justify-content: center; }
.no-result { display: none; text-align: center; padding: 48px 20px; color: var(--ink-3); border: 1px dashed var(--line); border-radius: var(--radius); }
.no-result.show { display: block; }
.no-result b { color: var(--ink-2); }

/* ============================================================
   时间线
   ============================================================ */
.timeline { position: relative; margin-left: 8px; padding-left: 26px; }
.timeline::before {
  content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 1px;
  background: linear-gradient(180deg, var(--gold-deep), var(--line) 60%, transparent);
}
.tl-item { position: relative; padding-bottom: 26px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ""; position: absolute; left: -31px; top: 7px; width: 11px; height: 11px; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--gold); box-shadow: 0 0 0 4px rgba(201,163,92,.12);
}
.tl-time { font-size: 12.5px; letter-spacing: .12em; color: var(--gold-bright); text-transform: uppercase; }
.tl-title { font-family: var(--font-serif); font-size: 17px; margin: 5px 0 6px; }
.tl-desc { color: var(--ink-2); font-size: 14.5px; }

/* ============================================================
   页脚
   ============================================================ */
.footer { border-top: 1px solid var(--line); background: var(--bg-2); margin-top: 60px; }
.footer-main { padding-block: clamp(40px, 6vw, 64px) 30px; display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 34px; }
.footer-brand p { color: var(--ink-3); font-size: 14px; margin-top: 14px; max-width: 300px; }
.footer h4 { font-size: 14px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-bright); margin-bottom: 16px; }
.footer-links { list-style: none; display: grid; gap: 10px; }
.footer-links a { color: var(--ink-2); font-size: 14.5px; }
.footer-links a:hover { color: var(--gold-bright); }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: var(--bg-3); border: 1px solid var(--line); color: var(--ink-2); transition: .25s;
}
.footer-social a:hover { color: var(--gold-bright); border-color: var(--gold); transform: translateY(-3px); }
.footer-social svg { width: 18px; height: 18px; }
.footer-bottom {
  border-top: 1px solid var(--line); padding-block: 18px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  font-size: 13px; color: var(--ink-3);
}
.footer-bottom a { color: var(--ink-2); }
.footer-bottom a:hover { color: var(--gold-bright); }

/* 回到顶部 */
.totop {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 46px; height: 46px; border-radius: 14px; cursor: pointer;
  background: var(--bg-3); border: 1px solid var(--line-soft); color: var(--gold-bright);
  display: grid; place-items: center; opacity: 0; pointer-events: none; transition: .3s;
  box-shadow: var(--shadow);
}
.totop.show { opacity: 1; pointer-events: auto; }
.totop:hover { transform: translateY(-3px); border-color: var(--gold); }
.totop svg { width: 20px; height: 20px; }

/* ============================================================
   动效
   ============================================================ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 1024px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-card { max-width: 640px; }
  .radar-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-main { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .main-nav {
    position: fixed; inset: 66px 0 auto 0; flex-direction: column; gap: 4px;
    background: rgba(10, 11, 13, .97); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line); padding: 14px 16px 20px;
    transform: translateY(-8px); opacity: 0; pointer-events: none; transition: .3s;
  }
  .main-nav.open { transform: none; opacity: 1; pointer-events: auto; }
  .main-nav a { padding: 13px 16px; font-size: 16px; border-radius: 10px; }
  .nav-toggle { display: flex; }
  .masthead .mh-tag { display: none; }
  .card-grid, .card-grid.cols-2 { grid-template-columns: 1fr; }
  .rank-item { grid-template-columns: 46px 1fr; }
  .rank-no { font-size: 26px; }
  .rank-side { grid-column: 2; flex-direction: row; align-items: center; justify-content: flex-start; }
  .cat-hero { grid-template-columns: 1fr; }
  .cat-hero .cat-icon { width: 72px; height: 72px; }
  .editorial { grid-template-columns: 1fr; gap: 8px; }
  .footer-main { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { justify-content: center; text-align: center; }
  .searchbar { max-width: 100%; }
}
@media (max-width: 520px) {
  .radar-grid { grid-template-columns: repeat(2, 1fr); }
  .section-head { flex-direction: column; align-items: flex-start; }
  .hero-stats { gap: 18px; }
  .stat b { font-size: 22px; }
  .brand-name { font-size: 22px; }
  .brand-tag { font-size: 8px; }
  .masthead .mh-right { display: none; }
}
