/* ============================================================
   星辰资源站 · 样式表（星辰导航 / 双主题）
   - 浅色：淡蓝渐变背景 · 大留白 · 玻璃拟态卡片
   - 深色：深蓝黑背景 · 发光蓝点缀 · 深色卡片描边
   - 主题：:root 走浅色，html[data-theme="dark"] 覆盖深色（脚本在 <head> 预设，避免闪白）
   - 数据契约见 assets/data.json 与 js/config.js（本文件不改逻辑与数据）
   ============================================================ */

/* ---------------- Design Tokens（浅色默认） ---------------- */
:root {
  --brand-500: #3b6bf0;
  --brand-400: #5b8cff;
  --brand-600: #2f57d6;
  --brand-btn: #2f57d6;   /* 实心按钮底色（白字对比 ≈6.1:1，AA） */
  --grad-brand: linear-gradient(120deg, #5b8cff, #7b5cff);

  --quark-500: #2f6bff;
  --quark-soft: rgba(47, 107, 255, .12);
  --xunlei-500: #ef5a2a;
  --xunlei-soft: rgba(239, 90, 42, .12);

  --bg-0: #eef3ff;              /* 页面底 */
  --bg-hero: radial-gradient(1100px 600px at 78% -8%, #dbe6ff 0%, transparent 55%),
             radial-gradient(900px 500px at 4% 108%, #e6ecff 0%, transparent 55%),
             linear-gradient(180deg, #eef3ff 0%, #f6f9ff 100%);
  --surface: rgba(255, 255, 255, .72);      /* 玻璃卡 */
  --surface-2: rgba(255, 255, 255, .55);
  --border: rgba(120, 140, 200, .18);
  --border-strong: rgba(120, 140, 200, .28);
  --shadow-card: 0 8px 30px rgba(60, 90, 180, .08);
  --shadow-hover: 0 14px 40px rgba(60, 90, 180, .16);

  --ink-900: #101a33;
  --ink-700: #2b3757;
  --ink-500: #5b678a;
  --ink-400: #5f6b8d;   /* 次要文字：加深至对 #eef3ff ≈4.8:1，满足 WCAG AA */

  --accent: var(--brand-500);
  --ring: rgba(91, 140, 255, .35);
  --star: rgba(91, 140, 255, .55);

  --font-sans: "PingFang SC", "Microsoft YaHei", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;

  --radius: 18px;
  --radius-sm: 12px;
  --header-h: 64px;
  --transition: 180ms ease;
}

/* ---------------- 深色主题覆盖 ---------------- */
html[data-theme="dark"] {
  --brand-500: #5b8cff;
  --brand-400: #7ba6ff;
  --brand-600: #4a76ec;
  --brand-btn: #3560c9;   /* 深色下按钮底加深，白字对比 ≈5.6:1（AA）；--brand-500 白字仅 3.2:1 */
  --grad-brand: linear-gradient(120deg, #6f9bff, #9b7bff);

  --quark-500: #6f9bff;
  --quark-soft: rgba(111, 155, 255, .16);
  --xunlei-500: #ff7a4d;
  --xunlei-soft: rgba(255, 122, 77, .16);

  --bg-0: #070c18;
  --bg-hero: radial-gradient(1000px 620px at 80% -10%, rgba(58, 90, 200, .28) 0%, transparent 55%),
             radial-gradient(820px 520px at 2% 110%, rgba(80, 60, 190, .22) 0%, transparent 55%),
             linear-gradient(180deg, #080e1c 0%, #0a1020 100%);
  --surface: rgba(18, 26, 48, .66);
  --surface-2: rgba(24, 34, 62, .5);
  --border: rgba(120, 150, 240, .16);
  --border-strong: rgba(120, 150, 240, .30);
  --shadow-card: 0 8px 30px rgba(0, 0, 0, .35);
  --shadow-hover: 0 16px 44px rgba(0, 0, 0, .5);

  --ink-900: #eef2ff;
  --ink-700: #c2ccec;
  --ink-500: #8b97bd;
  --ink-400: #7d89ad;   /* 次要文字：提亮至对深色底 ≈5.2:1，满足 WCAG AA */

  --accent: var(--brand-400);
  --ring: rgba(122, 160, 255, .45);
  --star: rgba(160, 190, 255, .8);
}

/* ---------------- 基础重置 ---------------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  font-size: 14px; color: var(--ink-700);
  background: var(--bg-0);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  transition: background .3s ease, color .3s ease;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
img { max-width: 100%; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
[hidden] { display: none !important; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ---------------- 顶部导航 ---------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  background: var(--surface);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: var(--header-h); }
.logo {
  display: flex; align-items: center; gap: 10px; justify-self: center;
  font-size: 22px; font-weight: 800; color: var(--ink-900); white-space: nowrap; letter-spacing: -.01em;
}
.logo-icon { font-size: 28px; line-height: 1; filter: drop-shadow(0 2px 8px var(--ring)); }
.header-inner .theme-toggle { justify-self: end; }
.main-nav { display: flex; gap: 4px; }
.main-nav a {
  position: relative; padding: 6px 12px; border-radius: 10px;
  font-size: 14px; color: var(--ink-500); font-weight: 500;
  transition: color var(--transition), background var(--transition);
}
.main-nav a:hover { color: var(--ink-900); background: var(--surface-2); }
.main-nav a.active { color: var(--accent); font-weight: 700; }
.main-nav a.active::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 1px;
  height: 2px; border-radius: 2px; background: var(--grad-brand);
}
.header-spacer { flex: 1; }
.theme-toggle {
  width: 40px; height: 40px; border-radius: 12px; flex: none;
  display: grid; place-items: center;
  color: var(--ink-700); background: var(--surface-2);
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.theme-toggle:hover { color: var(--accent); border-color: var(--border-strong); transform: translateY(-1px); }
.theme-toggle .icon-sun { display: none; }
html[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
html[data-theme="dark"] .theme-toggle .icon-sun { display: block; }

/* ---------------- Hero（左文右图） ---------------- */
.hero { background: var(--bg-hero); border-bottom: 1px solid var(--border); overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 32px;
  padding: 72px 24px 76px;
}
.eyebrow {
  font-family: var(--font-mono); font-size: 13px; font-weight: 600; letter-spacing: .12em;
  color: var(--accent); text-transform: uppercase; margin-bottom: 18px;
}
.hero h1 {
  font-size: 54px; line-height: 1.12; font-weight: 800; color: var(--ink-900); letter-spacing: -.02em;
}
.hero h1 em {
  font-style: normal;
  background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-desc { margin-top: 20px; color: var(--ink-500); font-size: 16px; line-height: 1.7; max-width: 480px; }

.search-box {
  margin-top: 30px; max-width: 500px;
  display: flex; align-items: center; gap: 8px;
  background: var(--surface); border: 1px solid var(--border-strong);
  border-radius: 999px; padding: 8px 8px 8px 20px;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.search-box:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px var(--ring); }
.search-box .mag { flex: none; color: var(--ink-400); }
.search-box input {
  flex: 1; min-width: 0; border: none; outline: none; background: transparent;
  font-size: 15px; padding: 10px 4px; color: var(--ink-900);
}
.search-box input::placeholder { color: var(--ink-400); }
.search-box button {
  flex: none; width: 44px; height: 44px; border-radius: 50%;
  background: var(--grad-brand); color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 6px 18px var(--ring);
  transition: transform var(--transition), box-shadow var(--transition);
}
.search-box button:hover { transform: translateY(-1px) scale(1.04); box-shadow: 0 10px 26px var(--ring); }

.hot-words { margin-top: 22px; display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 13px; }
.hot-label { color: var(--ink-400); margin-right: 2px; }
.hot-words a {
  padding: 5px 13px; border-radius: 999px; cursor: pointer;
  color: var(--ink-700); background: var(--surface); border: 1px solid var(--border);
  transition: all var(--transition);
}
.hot-words a:hover { color: var(--accent); border-color: var(--accent); transform: translateY(-1px); }

/* ---- 纯 CSS 发光星球 ---- */
.hero-visual { display: grid; place-items: center; min-height: 360px; }
.planet { position: relative; width: 340px; height: 340px; display: grid; place-items: center; }
.planet-glow {
  position: absolute; inset: -20px; border-radius: 50%;
  background: radial-gradient(circle, var(--ring) 0%, transparent 62%);
  filter: blur(14px);
}
.planet-ring {
  position: absolute; width: 360px; height: 120px; border-radius: 50%;
  border: 3px solid var(--brand-400); opacity: .55;
  transform: rotate(-22deg);
  box-shadow: 0 0 24px var(--ring), inset 0 0 20px var(--ring);
}
.planet-body {
  position: relative; width: 220px; height: 220px; border-radius: 50%;
  background:
    radial-gradient(circle at 34% 30%, rgba(255,255,255,.55) 0%, transparent 42%),
    radial-gradient(circle at 70% 74%, #4a35c8 0%, transparent 60%),
    linear-gradient(150deg, #6f9bff 0%, #4f6ef7 45%, #6b4de0 100%);
  box-shadow: inset -18px -22px 50px rgba(20, 10, 70, .55), 0 0 50px var(--ring);
}
html[data-theme="dark"] .planet-body {
  box-shadow: inset -18px -22px 50px rgba(0, 0, 0, .7), 0 0 60px var(--ring);
}
.star { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: var(--star); box-shadow: 0 0 10px var(--star); }
.star.s1 { top: 8%; right: 12%; width: 8px; height: 8px; }
.star.s2 { bottom: 14%; left: 6%; }
.star.s3 { top: 24%; left: 14%; width: 4px; height: 4px; opacity: .7; }

/* ---------------- 通用区块标题 ---------------- */
main { padding-bottom: 40px; }
.section { padding-top: 56px; scroll-margin-top: 76px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.section-title { display: flex; align-items: flex-start; gap: 12px; }
.section-title .bar { flex: none; width: 5px; height: 30px; border-radius: 3px; margin-top: 3px; background: var(--grad-brand); box-shadow: 0 0 12px var(--ring); }
.section-title h2 { font-size: 24px; font-weight: 800; color: var(--ink-900); letter-spacing: -.01em; line-height: 1.2; }
.section-sub { margin-top: 3px; font-size: 13px; color: var(--ink-400); }
.section-head .more { font-size: 13px; color: var(--accent); font-weight: 600; white-space: nowrap; transition: opacity var(--transition); }
.section-head .more:hover { opacity: .75; }

/* ---------------- 分类卡片（浅色白卡+顶部色块+圆形图标 / 深色描边） ---------------- */
.category-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; }
.category-card {
  position: relative; overflow: hidden; text-align: left; cursor: pointer;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px 18px 18px;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.category-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--c-color, var(--brand-500)); opacity: .85;
}
.category-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: var(--border-strong); }
.category-card.active { border-color: var(--c-color, var(--accent)); box-shadow: 0 0 0 2px var(--c-soft, var(--ring)), var(--shadow-card); }
.category-card .ico {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  font-size: 26px; margin-bottom: 14px;
  background: var(--c-soft, var(--surface-2));
  border: 1px solid var(--border);
}
.category-card .name { font-size: 16px; font-weight: 700; color: var(--ink-900); }
.category-card .desc { margin-top: 4px; font-size: 12px; color: var(--ink-400); line-height: 1.5; }

/* ---------------- 分类 chips ---------------- */
.filter-chips { display: flex; flex-wrap: wrap; gap: 8px; padding-bottom: 18px; }
.filter-chips button {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 16px; border-radius: 999px; font-size: 13px; font-weight: 500;
  color: var(--ink-700); background: var(--surface); border: 1px solid var(--border);
  transition: all var(--transition);
}
.filter-chips button:hover { color: var(--accent); border-color: var(--border-strong); transform: translateY(-1px); }
.filter-chips button.active {
  color: #fff; background: var(--chip-color, var(--brand-500)); border-color: transparent;
  box-shadow: 0 6px 16px var(--ring); font-weight: 600;
}

/* ---------------- 结果统计条 ---------------- */
.result-bar { display: flex; align-items: baseline; gap: 8px; margin: 4px 0 16px; font-size: 14px; color: var(--ink-500); }
.result-bar .count { font-size: 22px; font-weight: 800; color: var(--accent); }
.result-bar .kw { color: var(--ink-900); font-weight: 600; }

/* ---------------- 横向条式资源卡 ---------------- */
.latest-list { display: flex; flex-direction: column; gap: 12px; }
.latest-item {
  display: flex; align-items: center; gap: 16px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 14px 18px;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.latest-item:hover { transform: translateX(3px); border-color: var(--border-strong); box-shadow: var(--shadow-hover); }
.latest-icon {
  flex: none; width: 52px; height: 52px; border-radius: 15px;
  display: grid; place-items: center; font-size: 26px;
  background: var(--item-soft, var(--surface-2));
  border: 1px solid var(--border);
}
.latest-main { flex: 1; min-width: 0; }
.latest-main .title {
  display: flex; align-items: center; gap: 8px;
  font-size: 15px; font-weight: 700; color: var(--ink-900); line-height: 1.4;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.latest-main .title .new-flag {
  flex: none; font-size: 10px; font-weight: 800; color: #fff; letter-spacing: .3px;
  background: var(--grad-brand); padding: 2px 7px; border-radius: 6px;
}
.latest-main .meta { margin-top: 6px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 12px; color: var(--ink-400); }
.latest-main .meta .cat-name { color: var(--ink-500); }
.latest-side { flex: none; display: flex; align-items: center; gap: 14px; }
.latest-side .time { text-align: right; font-size: 12px; color: var(--ink-400); white-space: nowrap; }
.latest-side .time b { color: var(--ink-700); font-weight: 600; }
.latest-side .time .size { display: block; }

/* 网盘徽章 */
.pan-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; }
.pan-badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pan-badge.quark { color: var(--quark-500); background: var(--quark-soft); }
.pan-badge.xunlei { color: var(--xunlei-500); background: var(--xunlei-soft); }

/* 复制链接按钮 */
.btn-copy {
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  font-size: 13px; font-weight: 600; color: #fff;
  background: var(--ink-900); border-radius: 10px; padding: 9px 14px;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}
html[data-theme="dark"] .btn-copy { background: var(--brand-btn); }
.btn-copy:hover { transform: translateY(-1px); box-shadow: 0 8px 20px var(--ring); background: var(--brand-btn); }
.btn-copy svg { width: 14px; height: 14px; }
/* 一键直达：品牌色实心主按钮（复制链接为深墨色次按钮） */
.btn-copy.direct { background: var(--brand-btn); }
.btn-copy.direct:hover { background: var(--brand-600, var(--brand-btn)); }

/* ---------------- 空状态 / 骨架 ---------------- */
.empty-state { text-align: center; padding: 56px 24px; color: var(--ink-400); background: var(--surface); border: 1px dashed var(--border-strong); border-radius: var(--radius); }
.empty-state .emoji { font-size: 44px; margin-bottom: 12px; display: block; }
.empty-state .title { font-size: 16px; color: var(--ink-700); font-weight: 600; margin-bottom: 4px; }
.empty-state .sub { font-size: 13px; }
.empty-state .suggest { margin-top: 20px; }
.empty-state .suggest a { display: inline-block; margin: 3px 5px; padding: 5px 14px; border-radius: 999px; background: var(--surface-2); color: var(--ink-700); border: 1px solid var(--border); transition: all var(--transition); }
.empty-state .suggest a:hover { color: var(--accent); border-color: var(--accent); }

.loading { display: flex; flex-direction: column; gap: 12px; }
.skeleton { height: 82px; border-radius: var(--radius); border: 1px solid var(--border); background: linear-gradient(90deg, var(--surface-2) 25%, var(--surface) 37%, var(--surface-2) 63%); background-size: 400% 100%; animation: shimmer 1.3s ease infinite; }
@keyframes shimmer { 0% { background-position: 100% 0; } 100% { background-position: 0 0; } }

/* ---------------- 横幅 ---------------- */
.banner {
  margin: 56px 0 0;
  background: linear-gradient(120deg, #3a5bd9 0%, #5b7cff 55%, #7b5cff 100%);
  position: relative; overflow: hidden;
}
.banner::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 60px;
  background: radial-gradient(60% 100% at 20% 100%, rgba(255,255,255,.12) 0%, transparent 60%),
              radial-gradient(50% 100% at 60% 100%, rgba(255,255,255,.10) 0%, transparent 60%),
              radial-gradient(70% 100% at 92% 100%, rgba(255,255,255,.14) 0%, transparent 60%);
  pointer-events: none;
}
.banner-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 48px 24px; position: relative; z-index: 1; }
.banner-text h3 { color: #fff; font-size: 28px; font-weight: 800; letter-spacing: -.01em; }
.banner-text p { color: rgba(255,255,255,.82); margin-top: 8px; font-size: 15px; }
.banner-btn {
  flex: none; display: inline-flex; align-items: center; gap: 8px;
  background: #fff; color: var(--brand-600); font-weight: 700; font-size: 15px;
  padding: 13px 26px; border-radius: 999px;
  box-shadow: 0 10px 30px rgba(0,0,0,.18);
  transition: transform var(--transition), box-shadow var(--transition);
}
.banner-btn:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(0,0,0,.26); }

/* ---------------- 统计数字 ---------------- */
.stats { padding: 52px 0 8px; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; text-align: center; }
.stat-num { font-size: 40px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-label { margin-top: 6px; font-size: 13px; color: var(--ink-400); }

/* ---------------- 页脚 ---------------- */
.site-footer { margin-top: 40px; padding: 26px 0; border-top: 1px solid var(--border); background: var(--surface); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--ink-400); }
.foot-brand { font-weight: 700; color: var(--ink-700); }

/* ---------------- Toast ---------------- */
.toast-wrap { position: fixed; left: 50%; bottom: 34px; transform: translateX(-50%); z-index: 999; display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; }
.toast { display: inline-flex; align-items: center; gap: 9px; background: var(--ink-900); color: var(--bg-0); font-size: 14px; font-weight: 500; padding: 11px 20px; border-radius: 999px; box-shadow: var(--shadow-hover); animation: toastIn .22s ease; max-width: 90vw; }
.toast .dot { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; flex: none; }
.toast.warn .dot { background: #f59e0b; }
.toast.hide { animation: toastOut .25s ease forwards; }
@keyframes toastIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes toastOut { from { opacity: 1; } to { opacity: 0; transform: translateY(8px); } }

/* ---------------- 404 ---------------- */
.err-body { min-height: 60vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 56px 24px; }
.err-code { font-size: 96px; font-weight: 800; line-height: 1; letter-spacing: -.03em; background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.err-body h1 { font-size: 28px; font-weight: 800; color: var(--ink-900); margin-top: 16px; }
.err-body p { color: var(--ink-500); margin-top: 8px; }
.err-btn { display: inline-block; margin-top: 26px; padding: 12px 34px; border-radius: 999px; background: var(--grad-brand); color: #fff; font-size: 15px; font-weight: 600; box-shadow: 0 10px 26px var(--ring); transition: transform var(--transition); }
.err-btn:hover { transform: translateY(-2px); }
.err-links { margin-top: 22px; font-size: 13px; color: var(--ink-400); }
.err-links a { color: var(--accent); margin: 0 8px; }
.err-links a:hover { text-decoration: underline; }

/* ============================================================
   响应式（1080 / 860 / 720 / 560 / 460 / 390）
   ============================================================ */
@media (max-width: 1080px) {
  .category-cards { grid-template-columns: repeat(3, 1fr); }
  .hero h1 { font-size: 46px; }
  .planet { transform: scale(.85); }
}

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; padding: 52px 24px 40px; gap: 8px; }
  .hero-visual { order: -1; min-height: 260px; }
  .planet { transform: scale(.7); }
  .hero-desc br { display: none; }
}

@media (max-width: 720px) {
  .container { padding: 0 18px; }
  .hero h1 { font-size: 38px; }
  .category-cards { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { gap: 12px; }
  .stat-num { font-size: 32px; }
  .banner-inner { flex-direction: column; align-items: flex-start; text-align: left; }
  .latest-item { flex-wrap: wrap; }
  .latest-side { width: 100%; justify-content: space-between; padding-left: 68px; }
  .section-head .more { display: none; }
  /* 触摸目标 ≥44px：热词与分类 chips 加大内边距（WCAG 2.5.5） */
  .hot-words a { padding: 11px 15px; }
  .filter-chips button { padding: 11px 16px; }
  .empty-state .suggest a { padding: 11px 18px; }
}

@media (max-width: 560px) {
  .category-cards { grid-template-columns: 1fr 1fr; gap: 12px; }
  .hero h1 { font-size: 32px; }
  .eyebrow { font-size: 12px; }
}

@media (max-width: 460px) {
  .stats-grid { grid-template-columns: 1fr; gap: 20px; }
  .footer-inner { flex-direction: column; text-align: center; }
  .latest-side { padding-left: 0; }
  .latest-icon { width: 46px; height: 46px; font-size: 22px; }
  .category-card { padding: 18px 14px 14px; }
}

@media (max-width: 390px) {
  .category-cards { grid-template-columns: 1fr; }
  .hot-words { font-size: 12px; }
  .search-box { padding-left: 16px; }
  .search-box button { width: 40px; height: 40px; }
}
