/* ============================================================
   猎人社区 · 资源站主题 (Z-BlogPHP) · 整体改版
   白色浅色系 + 三大类彩色色块 + 卡片网格 + 权限角标
   ============================================================ */

:root {
  --bg: #f4f7fc;
  --bg-soft: #eaf1fb;
  --panel: #ffffff;
  --panel-2: #f8fafd;
  --panel-3: #f1f5fb;
  --border: #e5eaf4;
  --border-strong: #c9d6ea;
  --text: #1b2437;
  --text-muted: #5c6b85;
  --text-dim: #93a1b8;
  --primary: #2563eb;
  --primary-2: #0ea5e9;
  --cyan: #0891b2;
  --purple: #7c3aed;
  --green: #0f9d6e;
  --orange: #ea7317;
  --red: #e0393e;
  --gold: #f59e0b;
  --grad: linear-gradient(135deg, #2563eb, #0ea5e9);
  --grad-purple: linear-gradient(135deg, #7c3aed, #a855f7);
  --grad-warm: linear-gradient(135deg, #f97316, #ef4444);
  --grad-gold: linear-gradient(135deg, #fbbf24, #f97316);
  --sh-1: 0 1px 2px rgba(20, 35, 70, .05);
  --sh-2: 0 4px 16px rgba(20, 35, 70, .07);
  --sh-3: 0 14px 34px rgba(20, 35, 70, .12);
  --radius: 16px;
  --radius-sm: 12px;
  --maxw: 1240px;
  --font: "PingFang SC", "Microsoft YaHei", "Segoe UI", system-ui, -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; width: 100%; max-width: 100%; overflow-x: hidden; }

body {
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(1000px 460px at 8% -8%, rgba(37, 99, 235, .09), transparent 62%),
    radial-gradient(900px 420px at 96% 0%, rgba(124, 58, 237, .07), transparent 58%),
    var(--bg);
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #eef2f9; }
::-webkit-scrollbar-thumb { background: #c8d5e9; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: #a9bcd8; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* ===================== 导航 ===================== */
.navbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 0 rgba(20, 35, 70, .02);
}
.navbar .container { display: flex; align-items: center; height: 70px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand .brand-logo { height: 44px; width: auto; object-fit: contain; transition: transform .25s; }
.brand:hover .brand-logo { transform: scale(1.03); }

.nav-menu { display: flex; gap: 4px; flex: 1 1 auto; min-width: 0; }
.nav-menu a {
  flex: none;
  padding: 9px 14px; border-radius: 10px;
  color: var(--text-muted); font-weight: 600; font-size: 15px;
  white-space: nowrap; transition: .2s;
}
.nav-menu a:hover { color: var(--primary); background: var(--panel-3); }
.nav-menu a.active {
  color: var(--primary);
  background: linear-gradient(135deg, #eaf1ff, #e6f6ff);
  box-shadow: inset 0 0 0 1px #d6e4ff;
}

.nav-right { display: flex; align-items: center; gap: 8px; flex: none; }
.search-box {
  display: flex; align-items: center;
  background: var(--panel-2); border: 1px solid var(--border);
  border-radius: 12px; padding: 7px 12px; gap: 8px; transition: .2s;
}
.search-box:focus-within { border-color: #bcd2f7; background: #fff; box-shadow: 0 0 0 4px rgba(37, 99, 235, .10); }
.search-box svg { flex: none; color: var(--text-dim); }
.search-box input {
  background: transparent; border: none; outline: none; color: var(--text);
  width: 150px; font-size: 14px; font-family: var(--font);
}
.search-box input::placeholder { color: var(--text-dim); }

.btn {
  border: none; cursor: pointer; font-weight: 700; font-size: 14px;
  padding: 9px 18px; border-radius: 11px; transition: .2s;
  font-family: var(--font); display: inline-flex; align-items: center;
  gap: 6px; white-space: nowrap;
}
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 6px 16px rgba(37, 99, 235, .26); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 10px 22px rgba(37, 99, 235, .34); }
.btn-ghost { background: #fff; color: var(--text); border: 1px solid var(--border); box-shadow: var(--sh-1); }
.btn-ghost:hover { border-color: var(--border-strong); color: var(--primary); }
.btn-vip { background: var(--grad-gold); color: #fff; box-shadow: 0 6px 16px rgba(245, 158, 11, .32); }
.btn-vip:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(245, 158, 11, .40); }
.btn-uc svg { color: var(--text-muted); }

/* ===================== Hero ===================== */
.hero { padding: 46px 0 30px; text-align: center; }
.hero .badge-top {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 700; color: var(--primary);
  background: #fff; border: 1px solid #dbe7fb;
  padding: 5px 14px; border-radius: 999px;
  box-shadow: var(--sh-1); margin-bottom: 16px;
}
.hero h1 {
  font-size: clamp(28px, 4.4vw, 44px);
  font-weight: 900; letter-spacing: .5px; line-height: 1.22;
  background: linear-gradient(110deg, #16233b 20%, #2563eb 58%, #7c3aed 92%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p { color: var(--text-muted); margin: 14px auto 24px; max-width: 680px; font-size: 15.5px; }
.hero-search { max-width: 620px; margin: 0 auto; }
/* 注意：<form class="hero-search"> 自身即 form，选择器必须直接命中 .hero-search，
   旧版写成 .hero-search form（后代）永远匹配不到，导致搜索框边框/圆角/flex 全部失效。 */
.hero-search {
  display: flex; align-items: center; gap: 10px;
  background: #fff; border: 2px solid #bfd6fa;
  border-radius: 16px; padding: 8px 8px 8px 16px;
  box-shadow: 0 6px 18px rgba(37, 99, 235, .10);
  transition: border-color .2s, box-shadow .2s;
}
.hero-search:hover { border-color: #a9c6f8; }
.hero-search:focus-within {
  border-color: var(--primary);
  box-shadow: 0 10px 30px rgba(37, 99, 235, .18);
}
.hero-search .hs-ico { flex: none; display: inline-flex; align-items: center; color: var(--primary); }
.hero-search .hs-ico svg { width: 18px; height: 18px; }
.hero-search input {
  flex: 1; min-width: 0;
  border: none; outline: none; background: transparent;
  color: var(--text); font-size: 15.5px; font-family: var(--font);
}
.hero-search input::placeholder { color: var(--text-dim); }
.hero-search .btn { padding: 11px 26px; border-radius: 12px; }

/* 首页 Hero 免责声明卡片（宽幅·白底·粗彩边框·分行多色） */
.disclaimer-card{
  max-width:100%; margin:18px auto 26px;
  padding:3px; border-radius:18px;
  background:linear-gradient(90deg,#2563eb 0%,#0ea5e9 50%,#7c3aed 100%);
  box-shadow:0 10px 26px rgba(37,99,235,.14);
}
.disclaimer-inner{
  background:#fff; border-radius:15px; padding:18px 22px; text-align:center;
}
.disclaimer-card .dc-head{
  display:flex; align-items:center; justify-content:center; gap:10px; margin-bottom:12px;
}
.disclaimer-card .dc-ico{
  flex:none; width:34px; height:34px; border-radius:10px;
  display:inline-flex; align-items:center; justify-content:center;
  background:linear-gradient(135deg,#2563eb,#7c3aed); color:#fff;
  box-shadow:0 4px 10px rgba(37,99,235,.20);
}
.disclaimer-card .dc-ico svg{ width:20px; height:20px; }
.disclaimer-card .dc-title{
  font-size:16px; font-weight:800; letter-spacing:1px;
  background:linear-gradient(90deg,#2563eb,#7c3aed);
  -webkit-background-clip:text; background-clip:text; color:transparent;
}
.disclaimer-card .dc-body{ font-size:15px; line-height:1.95; text-align:center; }
.disclaimer-card .dc-line{ max-width:none; margin:0 0 8px; font-weight:700; text-align:center; }
.disclaimer-card .dc-line:last-child{ margin-bottom:0; }
.disclaimer-card .dc-line.c1{ color:#2563eb; }
.disclaimer-card .dc-line.c2{ color:#0ea5e9; }
.disclaimer-card .dc-line.c3{ color:#7c3aed; }
.disclaimer-card .dc-line.c4{ color:#db2777; }
.disclaimer-card .dc-line.c5{ color:#ea580c; }
.disclaimer-card .dc-body a{
  color:#2563eb; font-weight:800; text-decoration:none;
  border-bottom:2px solid #2563eb;
}
.disclaimer-card .dc-body a:hover{ color:#1d4ed8; border-bottom-color:#1d4ed8; }

/* 首页 Hero 下方信任区块（建站时长，自动累加） */
.trust-block{
  max-width:var(--maxw); margin:14px auto 4px;
  display:flex; align-items:center; justify-content:center; gap:10px;
  text-align:center;
  background:linear-gradient(135deg,#ecfdf5,#eff6ff);
  border:1px solid #c7e7d6; border-radius:14px;
  padding:13px 18px; box-shadow:var(--sh-1);
}
.trust-block .tb-ico{
  flex:none; width:26px; height:26px; color:#16a34a;
}
.trust-block p{
  margin:0; max-width:none; white-space:nowrap;
  font-size:14.5px; line-height:1.7; color:#1f6b4a; font-weight:600;
}
.trust-block strong{
  color:#15803d; font-weight:800;
}

/* ===================== 三大类板块 ===================== */
.cate-block {
  --cate-color: #2563eb;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 22px 24px;
  margin-top: 20px;
  box-shadow: var(--sh-1);
}
.cate-block.block-hot { --cate-color: #7c3aed; }
.cb-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.cb-title { display: flex; align-items: center; gap: 10px; min-width: 0; }
.cb-dot {
  width: 12px; height: 12px; border-radius: 4px;
  background: var(--cate-color);
  box-shadow: 0 3px 10px color-mix(in srgb, var(--cate-color) 45%, transparent);
}
.cb-title h2 { font-size: 20px; font-weight: 900; letter-spacing: .4px; }
.cb-count {
  font-size: 12px; font-weight: 700; color: var(--cate-color);
  background: color-mix(in srgb, var(--cate-color) 10%, #fff);
  border: 1px solid color-mix(in srgb, var(--cate-color) 24%, #fff);
  padding: 2px 11px; border-radius: 999px;
}
.cb-more {
  font-size: 14px; font-weight: 700; color: var(--cate-color);
  white-space: nowrap; transition: .2s;
}
.cb-more:hover { opacity: .72; }

/* 子类导航（带权限角标） */
.cb-subs { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 18px; }
.sub-pill {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 13px; border-radius: 11px;
  background: var(--panel-2); border: 1px solid var(--border);
  color: var(--text-muted); font-weight: 600; font-size: 14px;
  transition: .2s;
}
.sub-pill:hover { transform: translateY(-1px); border-color: var(--border-strong); color: var(--text); }
.sub-pill.active {
  border-color: var(--cate-color);
  color: var(--cate-color);
  background: color-mix(in srgb, var(--cate-color) 9%, #fff);
}
.sub-tag {
  font-size: 11px; font-weight: 800; padding: 1px 7px; border-radius: 6px;
  letter-spacing: .3px;
}
.sub-vip > .sub-tag   { background: #fff1f2; color: #c2410c; }
.sub-free > .sub-tag  { background: #ecfdf5; color: #047857; }
.sub-intro > .sub-tag { background: #eef2ff; color: #4338ca; }

.cb-empty {
  color: var(--text-dim); font-size: 14px;
  background: var(--panel-2); border: 1px dashed var(--border);
  border-radius: var(--radius-sm); padding: 22px; text-align: center;
}

/* 分类列表页的图文网格：与分类头留出间距 */
.cat-wrap .cat-grid { margin-top: 14px; }

/* ===================== 资源卡片（相关推荐 / 置顶，无缩略图） ===================== */
.res-card {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 16px 14px;
  box-shadow: var(--sh-1);
  transition: transform .22s, box-shadow .22s, border-color .22s;
  overflow: hidden;
}
.res-card::before {
  content: ""; position: absolute; left: 0; top: 14px; bottom: 14px;
  width: 3px; border-radius: 0 3px 3px 0;
  background: var(--grad); opacity: 0; transition: opacity .22s;
}
.res-card:hover { transform: translateY(-3px); box-shadow: var(--sh-2); border-color: #d8e3f5; }
.res-card:hover::before { opacity: 1; }
.res-card.is-top { border-color: #cfe0ff; background: linear-gradient(180deg, #fbfdff, #fff); }
.res-card.is-top::before { opacity: 1; background: var(--grad-warm); }

.rc-top { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; flex-wrap: wrap; }
.rc-ico {
  flex: none; width: 30px; height: 30px; border-radius: 9px;
  display: grid; place-items: center; color: #fff;
}
.rc-ico svg { width: 16px; height: 16px; }
.rc-ico-vip   { background: var(--grad-gold); box-shadow: 0 4px 10px rgba(245, 158, 11, .26); }
.rc-ico-free  { background: linear-gradient(135deg, #10b981, #06b6d4); box-shadow: 0 4px 10px rgba(16, 185, 129, .24); }
.rc-ico-intro { background: linear-gradient(135deg, #6366f1, #0ea5e9); box-shadow: 0 4px 10px rgba(99, 102, 241, .24); }
.rc-cat {
  font-size: 12.5px; font-weight: 700; color: var(--text-muted);
  background: var(--panel-3); border: 1px solid var(--border);
  padding: 2px 10px; border-radius: 7px; transition: .2s;
}
.rc-cat:hover { color: var(--primary); border-color: #cddffb; }
.rc-badge {
  margin-left: auto;
  display: inline-flex; align-items: center; gap: 3px;
  font-size: 11.5px; font-weight: 800; padding: 2px 9px;
  border-radius: 7px; white-space: nowrap; letter-spacing: .3px;
}
.rc-badge.badge-vip   { background: linear-gradient(135deg, #fff1f2, #ffe4e6); color: #c2410c; border: 1px solid #fecdcd; }
.rc-badge.badge-free  { background: linear-gradient(135deg, #ecfdf5, #dcfce7); color: #047857; border: 1px solid #b8ecd3; }
.rc-badge.badge-intro { background: linear-gradient(135deg, #eef2ff, #e0e7ff); color: #4338ca; border: 1px solid #c7d2fe; }
.rc-badge.badge-top   { background: linear-gradient(135deg, #fff7ed, #ffedd5); color: #c2410c; border: 1px solid #fed7aa; }

.rc-title {
  font-weight: 800; font-size: 16px; line-height: 1.4;
  margin-bottom: 12px; flex: 1;
  overflow-wrap: anywhere; word-break: break-word;
  transition: .2s;
}
.rc-title:hover { text-decoration: underline; text-underline-offset: 3px; }
.rc-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 14px; font-size: 12.5px; color: var(--text-dim); }
.rc-meta span { display: inline-flex; align-items: center; gap: 4px; }
.rc-meta svg { width: 13px; height: 13px; flex: none; }
.rc-meta .rc-views { color: var(--cyan); font-weight: 600; }

/* ===================== 最近更新（图文模式） ===================== */
.upd-section { margin-top: 20px; }
.upd-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.upd-card {
  display: flex; flex-direction: column;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--sh-1);
  transition: transform .22s, box-shadow .22s, border-color .22s;
}
.upd-card:hover { transform: translateY(-3px); box-shadow: var(--sh-2); border-color: #d8e3f5; }
.upd-thumb { position: relative; display: block; aspect-ratio: 16 / 10; background: var(--panel-2); overflow: hidden; }
.upd-thumb img { width: 100%; height: 100%; object-fit: contain; object-position: center; transition: transform .35s; }
.upd-card:hover .upd-thumb img { transform: scale(1.05); }
.upd-badge {
  position: absolute; left: 8px; top: 8px;
  display: inline-flex; align-items: center; gap: 3px;
  font-size: 11.5px; font-weight: 800; padding: 2px 9px;
  border-radius: 7px; white-space: nowrap; letter-spacing: .3px;
}
.upd-badge.badge-vip   { background: rgba(255, 241, 242, .92); color: #c2410c; }
.upd-badge.badge-free  { background: rgba(236, 253, 245, .92); color: #047857; }
.upd-badge.badge-intro { background: rgba(238, 242, 255, .92); color: #4338ca; }
.upd-body { display: flex; flex-direction: column; gap: 8px; padding: 12px 13px 13px; flex: 1; }
.upd-top { display: flex; align-items: center; }
.upd-cat {
  font-size: 12px; font-weight: 700; color: var(--text-muted);
  background: var(--panel-3); border: 1px solid var(--border);
  padding: 2px 9px; border-radius: 7px; transition: .2s;
}
.upd-cat:hover { color: var(--primary); border-color: #cddffb; }
.upd-title {
  font-weight: 800; font-size: 14.5px; line-height: 1.45; color: var(--text);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  transition: .2s;
}
.upd-title:hover { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.upd-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 12px; color: var(--text-dim); margin-top: auto; }
.upd-meta span { display: inline-flex; align-items: center; gap: 4px; }
.upd-meta svg { width: 13px; height: 13px; flex: none; }
.upd-views { color: var(--cyan); font-weight: 600; }

/* ===================== 纯文字标题列表 ===================== */
.post-list { list-style: none; margin: 0; padding: 0; }
/* 首页分类切换区的「无图文字列表」容器：普通块级流即可，翻页靠 .tb-item 显隐 */
.upd-list { margin: 0; }
.upd-list .tb-item.hide { display: none; }
.upd-list .post-row:last-child { border-bottom: none; }
.post-row {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 6px; border-bottom: 1px dashed var(--border);
  transition: background .15s;
}
.post-row:last-child { border-bottom: none; }
.post-row:hover { background: var(--panel-2); }
.li-ico {
  flex: none; width: 28px; height: 28px; border-radius: 8px;
  display: grid; place-items: center; color: #fff;
}
.li-ico svg { width: 15px; height: 15px; }
.li-ico-vip   { background: var(--grad-gold); }
.li-ico-free  { background: linear-gradient(135deg, #10b981, #06b6d4); }
.li-ico-intro { background: linear-gradient(135deg, #6366f1, #0ea5e9); }
.li-title {
  flex: 1; min-width: 0;
  font-weight: 700; font-size: 15px; line-height: 1.4; color: var(--text);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  transition: .2s;
}
.li-title:hover { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.li-badge {
  flex: none;
  display: inline-flex; align-items: center;
  font-size: 11px; font-weight: 800; padding: 2px 8px;
  border-radius: 6px; white-space: nowrap; letter-spacing: .3px;
}
.li-badge.badge-vip   { background: #fff1f2; color: #c2410c; border: 1px solid #fecdcd; }
.li-badge.badge-free  { background: #ecfdf5; color: #047857; border: 1px solid #b8ecd3; }
.li-badge.badge-intro { background: #eef2ff; color: #4338ca; border: 1px solid #c7d2fe; }
.li-date {
  flex: none; display: inline-flex; align-items: center; gap: 4px;
  font-size: 12.5px; color: var(--text-dim); white-space: nowrap;
}
.li-date svg { width: 13px; height: 13px; }
.li-views {
  flex: none; display: inline-flex; align-items: center; gap: 4px;
  font-size: 12.5px; color: var(--cyan); font-weight: 600; white-space: nowrap;
}
.li-views svg { width: 13px; height: 13px; }

/* ===================== 分类页 ===================== */
.cat-wrap { padding: 24px 20px 60px; }
.cat-wrap > .crumbs { margin-bottom: 16px; }
.cat-head {
  --cate-color: #0ea5e9;
  display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap;
  padding: 6px 0 16px; margin-bottom: 6px;
  border-bottom: 2px solid var(--border);
}
.cat-head h1 { font-size: 24px; font-weight: 900; }
.cat-head h1::before {
  content: ""; display: inline-block; width: 6px; height: 22px;
  border-radius: 4px; background: var(--cate-color);
  margin-right: 10px; vertical-align: -3px;
}
.cat-head p { color: var(--text-muted); font-size: 14px; }
.cat-subs { margin: 16px 0 20px; }

/* 面包屑 */
.crumbs { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 13px; color: var(--text-dim); }
.crumbs a { transition: .2s; }
.crumbs a:hover { color: var(--primary); }
.crumbs .sep { opacity: .5; }
.crumbs .cur { color: var(--text-muted); font-weight: 600; }

/* ===================== 数字分页 ===================== */
.pagination {
  display: flex; justify-content: center; align-items: center;
  gap: 7px; margin-top: 26px; flex-wrap: wrap;
}
.pagination a, .pagination span.pg, .pagination button.pg {
  min-width: 40px; height: 40px; padding: 0 12px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 11px;
  background: #fff; border: 1px solid var(--border);
  color: var(--text-muted); font-weight: 700; font-size: 14px;
  box-shadow: var(--sh-1); transition: .2s;
}
/* 首页切换区块内的页码是 button，需要补上字体与手型 */
.pagination button.pg { font-family: var(--font); cursor: pointer; }
.pagination a:hover, .pagination button.pg:hover { color: var(--primary); border-color: #cddffb; transform: translateY(-1px); box-shadow: var(--sh-2); }
.tb-pager { margin-top: 18px; }
/* 切换区块内的分页项：用 display:contents 让卡片本身仍是网格项 */
.upd-grid .tb-item { display: contents; }
.upd-grid .tb-item.hide { display: none; }
.pagination .pg-nav { color: var(--primary); font-size: 16px; }
.pagination .pg-dots { border: none; background: transparent; box-shadow: none; color: var(--text-dim); min-width: 20px; padding: 0 2px; }
.pagination .pg-now { color: #fff; background: var(--grad); border-color: transparent; box-shadow: 0 6px 16px rgba(37, 99, 235, .28); }
.pagination .pg-last { font-weight: 800; }
.pagination .pg-total { margin-left: 6px; font-size: 13px; font-weight: 600; color: var(--text-dim); background: transparent; border: none; box-shadow: none; min-width: auto; }

/* ===================== 页脚 ===================== */
.footer {
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, #ffffff, #f7faff);
  padding: 34px 0 30px; margin-top: 24px;
  color: var(--text-dim); font-size: 14px; text-align: center;
}
.footer .f-brand { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 12px; }
.footer .f-brand img { height: 34px; width: auto; opacity: .9; }
.footer .copy { font-size: 13px; line-height: 1.9; }
.footer .copy strong { color: var(--text-muted); font-weight: 700; }
.beian { display: flex; gap: 8px 18px; justify-content: center; flex-wrap: wrap; margin-top: 12px; }
.beian a { display: inline-flex; align-items: center; gap: 6px; color: var(--text-dim); font-size: 13px; transition: .2s; }
.beian a:hover { color: var(--primary); }
.beian svg { width: 14px; height: 14px; flex: none; }
.footer-disclaimer {
  max-width: 980px; margin: 16px auto 0; padding: 0 20px;
  font-size: 12.5px; line-height: 1.8; color: var(--text-dim);
  text-align: center;
}
.beian .police svg { color: #1d4ed8; }
.beian .miit svg { color: #0f9d6e; }

/* ===================== 回到顶部 ===================== */
.to-top {
  position: fixed; right: 22px; bottom: 26px;
  width: 44px; height: 44px; border-radius: 13px;
  background: #fff; border: 1px solid var(--border);
  box-shadow: var(--sh-2); display: grid; place-items: center;
  color: var(--primary); cursor: pointer;
  opacity: 0; pointer-events: none; transform: translateY(8px);
  transition: .25s; z-index: 60;
}
.to-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }
.to-top:hover { background: var(--grad); color: #fff; border-color: transparent; box-shadow: 0 10px 24px rgba(37, 99, 235, .3); }
.to-top svg { width: 19px; height: 19px; }

/* ===================== 文章详情页 ===================== */
.single-wrap { padding: 26px 20px 60px; }
.post-detail {
  background: var(--panel); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px; box-shadow: var(--sh-2);
}
.post-title { font-size: clamp(23px, 3.2vw, 32px); font-weight: 900; line-height: 1.32; margin-bottom: 16px; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; font-size: 13px; color: var(--text-dim); padding-bottom: 16px; margin-bottom: 20px; border-bottom: 1px solid var(--border); }
.post-meta .item { display: inline-flex; align-items: center; gap: 5px; }
.post-meta svg { width: 15px; height: 15px; }
.post-meta .views { color: var(--cyan); font-weight: 600; }
.post-meta .cat { color: var(--purple); font-weight: 600; }
/* 前台快捷编辑入口（仅管理员登录后显示） */
.post-edit-bar { margin: 0 0 22px; }
.btn-edit { display: inline-flex; align-items: center; gap: 7px; padding: 9px 18px; border-radius: 11px; background: var(--primary); color: #fff; font-size: 14px; font-weight: 600; box-shadow: var(--sh-2); transition: .2s; }
.btn-edit svg { width: 15px; height: 15px; }
.btn-edit:hover { background: #1d4ed8; transform: translateY(-1px); box-shadow: 0 8px 22px rgba(37, 99, 235, .28); }

/* 详情页权限角标（与卡片一致：vip / free / intro / top） */
.badge-txt {
  flex: none; display: inline-flex; align-items: center; gap: 4px;
  font-size: 11.5px; font-weight: 800; padding: 2px 9px;
  border-radius: 7px; white-space: nowrap; letter-spacing: .3px;
}
.badge-txt svg { width: 12px; height: 12px; }
.badge-txt.vip   { background: linear-gradient(135deg, #fff1f2, #ffe4e6); color: #c2410c; border: 1px solid #fecdcd; }
.badge-txt.free  { background: linear-gradient(135deg, #ecfdf5, #dcfce7); color: #047857; border: 1px solid #b8ecd3; }
.badge-txt.intro { background: linear-gradient(135deg, #eef2ff, #e0e7ff); color: #4338ca; border: 1px solid #c7d2fe; }
.badge-txt.top   { background: linear-gradient(135deg, #fff7ed, #ffedd5); color: #c2410c; border: 1px solid #fed7aa; }

.post-content { font-size: 16px; line-height: 1.95; color: #253147; word-break: break-word; }
.post-content img { max-width: 100%; height: auto; border-radius: 10px; margin: 14px 0; }
.post-content a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.post-content h2, .post-content h3, .post-content h4 { margin: 24px 0 12px; line-height: 1.4; }
.post-content h2 { font-size: 21px; }
.post-content h3 { font-size: 18px; }
.post-content p { margin: 12px 0; }
.post-content ul, .post-content ol { margin: 12px 0 12px 22px; }
.post-content li { margin: 6px 0; }
.post-content pre { background: #f6f8fc; border: 1px solid var(--border); border-radius: 10px; padding: 14px; overflow: auto; font-size: 14px; }
.post-content code { background: #f1f5fb; border: 1px solid var(--border); padding: 1px 6px; border-radius: 6px; font-size: 14px; }
.post-content blockquote { border-left: 3px solid #bcd2f7; background: #f8fbff; padding: 10px 16px; border-radius: 0 8px 8px 0; color: var(--text-muted); margin: 16px 0; }
.post-content table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 14px; }
.post-content th, .post-content td { border: 1px solid var(--border); padding: 9px 12px; }
.post-content th { background: var(--panel-2); font-weight: 700; }

.post-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 8px; }
.tag-pill { display: inline-flex; align-items: center; gap: 3px; font-size: 12px; padding: 3px 10px; border-radius: 999px; background: var(--panel-3); border: 1px solid var(--border); color: var(--text-muted); transition: .2s; }
.tag-pill::before { content: "#"; opacity: .55; font-weight: 700; }
.tag-pill:hover { color: var(--primary); border-color: #cddffb; background: #eef4ff; }
.post-author { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--border); font-size: 14px; color: var(--text-muted); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.post-author .a-ico { width: 30px; height: 30px; border-radius: 9px; flex: none; background: var(--grad); color: #fff; display: grid; place-items: center; }
.post-author .a-ico svg { width: 15px; height: 15px; }

/* ===== 适配 墨初用户中心(mochu_us) 隐藏下载区 ===== */
.post-content .mochu_us_hidediv_tipps {
  margin: 16px 0; padding: 16px 20px;
  background: linear-gradient(135deg, #eef4ff, #f4f0ff);
  border: 1px solid #d8e3f5; border-radius: 12px;
  color: #1d4ed8; font-weight: 700; font-size: 15px; line-height: 1.6; text-align: center;
}
.post-content .mochu_us_hidediv { margin: 16px 0; padding: 16px 20px; background: #f8faff; border: 1px solid #e3eaf6; border-radius: 12px; }
.post-content .mochu_us_hidediv p { margin: 8px 0; }
.post-content .mochu_us_hidediv a { color: #2563eb; font-weight: 600; text-decoration: none; }
.post-content .mochu_us_hidediv a:hover { text-decoration: underline; }
.post-content .mochu_us_hidediv a.mochu-us-button,
.post-content .mochu_us_hidediv a[onclick*="arthides"],
.post-content .mochu_us_hidediv button,
.post-content .mochu_us_hidediv input[type="button"],
.post-content .mochu_us_hidediv .mochu-us-button {
  display: inline-block; margin: 8px 10px 4px 0; padding: 10px 24px;
  background: linear-gradient(135deg, #4f7cff, #6a5cff); color: #fff !important;
  border: none; border-radius: 10px; font-weight: 700; font-size: 14px; line-height: 1.2;
  cursor: pointer; text-decoration: none !important;
  box-shadow: 0 4px 14px rgba(79, 124, 255, .28); transition: transform .12s ease, box-shadow .12s ease;
}
.post-content .mochu_us_hidediv a.mochu-us-button:hover,
.post-content .mochu_us_hidediv a[onclick*="arthides"]:hover,
.post-content .mochu_us_hidediv button:hover,
.post-content .mochu_us_hidediv input[type="button"]:hover,
.post-content .mochu_us_hidediv .mochu-us-button:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(79, 124, 255, .36); text-decoration: none !important; }
.post-content .mochu_us_artziyuan_res { margin: 16px 0; padding: 16px 20px; background: #f0f7ff; border: 1px solid #cfe0fb; border-radius: 12px; }

/* 墨初 mochu_us 会员可见内容容器：single.php 提供，插件加载时自动把隐藏内容（下载地址等）注入并显示。
   这是「会员登录后直接显示下载地址」的必需 DOM。内容由插件以原始 HTML 注入，这里统一成主题卡片风格。 */
#mochu_us_post_article {
  margin: 18px 0; padding: 18px 22px;
  background: linear-gradient(135deg, #eef4ff, #f5f0ff);
  border: 1px solid #d6e2f7; border-radius: 14px;
  box-shadow: 0 6px 20px rgba(79, 124, 255, .10);
}
#mochu_us_post_article:empty { display: none; }
#mochu_us_post_article p { margin: 8px 0; line-height: 1.7; }
#mochu_us_post_article a { color: #2563eb; font-weight: 600; text-decoration: none; border-bottom: 1px dashed #93b4ff; }
#mochu_us_post_article a:hover { color: #1d4ed8; border-bottom-style: solid; }
#mochu_us_post_article h1, #mochu_us_post_article h2, #mochu_us_post_article h3 { margin: 10px 0 6px; font-size: 16px; color: #1e293b; }

.related { margin-top: 34px; }
.related-title { font-size: 19px; font-weight: 900; margin-bottom: 16px; display: flex; align-items: center; gap: 9px; }
.related-title::before { content: ""; width: 4px; height: 18px; border-radius: 4px; background: var(--grad); }
.related-empty { font-size: 14px; color: var(--text-muted); background: var(--panel-2); border: 1px dashed var(--border); border-radius: var(--radius-sm); padding: 18px; text-align: center; }
.related-empty a { color: var(--primary); font-weight: 700; }

.dl-anchor { display: block; height: 1px; }
.dl-flash { animation: dlFlash 1.5s ease; border-radius: var(--radius-sm); }
@keyframes dlFlash {
  0%   { box-shadow: 0 0 0 0 rgba(37, 99, 235, .45); background: rgba(37, 99, 235, .07); }
  100% { box-shadow: 0 0 0 14px rgba(37, 99, 235, 0); background: transparent; }
}

/* ===================== 广告位（4 宫格推广位） ===================== */
.ad-grid-box {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 4px 0 22px;
}
.ad-card {
  position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; padding: 16px 12px 14px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--sh-1);
  text-align: center;
  transition: transform .22s, box-shadow .22s, border-color .22s;
  overflow: hidden;
}
.ad-card::before {
  content: ""; position: absolute; inset: 0;
  opacity: .07; transition: opacity .22s;
}
.ad-card:hover { transform: translateY(-3px); box-shadow: var(--sh-2); border-color: #d8e3f5; }
.ad-card:hover::before { opacity: .13; }
.ad-card.ad-hot::before    { background: linear-gradient(135deg, #f97316, #ef4444); }
.ad-card.ad-purple::before { background: linear-gradient(135deg, #7c3aed, #6366f1); }
.ad-card.ad-green::before  { background: linear-gradient(135deg, #10b981, #06b6d4); }
.ad-card.ad-orange::before { background: linear-gradient(135deg, #f59e0b, #f97316); }
.ad-card.ad-blue::before   { background: linear-gradient(135deg, #2563eb, #0ea5e9); }

.ad-icon {
  position: relative;
  width: 38px; height: 38px; border-radius: 12px;
  display: grid; place-items: center;
  font-size: 19px; line-height: 1;
  background: var(--panel-2); border: 1px solid var(--border);
}
.ad-card.ad-hot .ad-icon    { background: linear-gradient(135deg, #fff7ed, #ffedd5); border-color: #fed7aa; }
.ad-card.ad-purple .ad-icon { background: linear-gradient(135deg, #f5f3ff, #ede9fe); border-color: #ddd6fe; }
.ad-card.ad-green .ad-icon  { background: linear-gradient(135deg, #ecfdf5, #dcfce7); border-color: #b8ecd3; }
.ad-card.ad-orange .ad-icon { background: linear-gradient(135deg, #fffbeb, #fef3c7); border-color: #fde68a; }
.ad-card.ad-blue .ad-icon   { background: linear-gradient(135deg, #eff6ff, #dbeafe); border-color: #cddffb; }

.ad-label {
  position: relative;
  font-size: 13px; font-weight: 700; color: var(--text);
  line-height: 1.45;
}
.ad-enter {
  position: relative;
  font-size: 12px; font-weight: 700; color: var(--primary);
  padding: 3px 10px; border-radius: 999px;
  background: #f2f7ff; border: 1px solid #d8e6fb;
}
.ad-card:hover .ad-enter { background: var(--primary); color: #fff; border-color: transparent; }

/* ===================== 分类切换区块（首页） ===================== */
.tabs-block {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--sh-1);
  padding: 16px 18px 20px;
}
.tb-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px 16px; flex-wrap: wrap;
  padding-bottom: 14px; margin-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.tb-title { display: flex; align-items: center; gap: 9px; }
.tb-title h2 { font-size: 19px; font-weight: 800; color: var(--text); }
.tb-title .tb-dot {
  width: 10px; height: 10px; border-radius: 3px;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
}
.tb-title .tb-tip { font-size: 12.5px; color: var(--text-dim); }

.tb-tabs { display: flex; gap: 8px; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; -webkit-overflow-scrolling: touch; }
.tb-tabs::-webkit-scrollbar { height: 0; }
.tb-tab {
  display: inline-flex; align-items: center; gap: 7px; flex: none;
  padding: 8px 15px; border-radius: 11px; cursor: pointer;
  border: 1px solid var(--border); background: var(--panel-2);
  color: var(--text-muted); font-family: var(--font);
  font-size: 14.5px; font-weight: 700; transition: .2s;
}
.tb-tab:hover { color: var(--primary); border-color: #cddffb; background: #f5f9ff; }
.tb-tab.active {
  color: #fff; border-color: transparent;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  box-shadow: 0 6px 16px rgba(37, 99, 235, .22);
}
.tb-tab .tb-dot-mini { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.tb-tab.active .tb-dot-mini { background: #fff !important; }
.tb-tab .tb-num {
  font-size: 12px; font-weight: 800; padding: 1px 8px; border-radius: 999px;
  background: rgba(15, 23, 42, .06); color: var(--text-dim);
}
.tb-tab.active .tb-num { background: rgba(255, 255, 255, .24); color: #fff; }

.tb-panel { display: none; }
.tb-panel.active { display: block; animation: tbFade .25s ease; }
@keyframes tbFade {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: none; }
}
.tb-more {
  display: inline-flex; align-items: center; gap: 5px;
  margin-top: 16px; color: var(--primary);
  font-size: 14px; font-weight: 700;
}
.tb-more:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ===================== 响应式 ===================== */
@media (max-width: 1100px) {
  .upd-grid { grid-template-columns: repeat(3, 1fr); }
  .ad-grid-box { grid-template-columns: repeat(2, 1fr); }
  /* 导航栏：中等屏即换行 + 菜单横滚，五个分类不再挤压/溢出 */
  .navbar .container { flex-wrap: wrap; height: auto; padding-top: 10px; padding-bottom: 10px; gap: 10px 14px; }
  .nav-menu { order: 3; width: 100%; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; -webkit-overflow-scrolling: touch; }
  .nav-menu::-webkit-scrollbar { height: 0; }
  .nav-right { margin-left: auto; flex-wrap: wrap; justify-content: flex-end; }
  .brand .brand-logo { height: 38px; }
}
@media (max-width: 1000px) {
  .navbar .container { flex-wrap: wrap; height: auto; padding-top: 10px; padding-bottom: 10px; gap: 10px 14px; }
  .nav-menu { order: 3; width: 100%; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; -webkit-overflow-scrolling: touch; }
  .nav-menu::-webkit-scrollbar { height: 0; }
  .nav-right { margin-left: auto; flex-wrap: wrap; justify-content: flex-end; }
  .brand .brand-logo { height: 38px; }
}
@media (max-width: 900px) {
  .upd-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .container { padding: 0 14px; }
  .hero { padding: 30px 0 18px; }
  .hero h1 { font-size: 26px; }
  .hero-search { flex-wrap: nowrap; }
  .cate-block { padding: 16px 14px 18px; }
  .ad-grid-box { grid-template-columns: repeat(2, 1fr); }
  .tabs-block { padding: 14px 13px 16px; }
  .tb-head { flex-direction: column; align-items: stretch; }
  .tb-tabs { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; -webkit-overflow-scrolling: touch; }
  .tb-tabs::-webkit-scrollbar { height: 0; }
  .tb-tab { flex: none; }
  .upd-grid { grid-template-columns: repeat(2, 1fr); gap: 11px; }
  .cb-head { flex-wrap: wrap; }
  .post-detail { padding: 18px 15px; }
  .pagination { gap: 5px; }
  .pagination a, .pagination span.pg { min-width: 34px; height: 34px; padding: 0 8px; font-size: 13px; }
  .pagination .pg-total { width: 100%; margin-left: 0; text-align: center; }
  .footer { padding: 28px 0 26px; }
  .beian { flex-direction: column; gap: 6px; }
  .trust-block p { white-space: normal; }
}
@media (max-width: 480px) {
  .nav-right .btn { padding: 7px 12px; font-size: 13px; }
  .brand .brand-logo { height: 34px; }
  .post-title { font-size: 21px; }
  .upd-grid { grid-template-columns: 1fr; }
  .li-date { display: none; }
}

/* ===================== 本站数据（首页统计） ===================== */
.stat-block { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 4px 0 24px; }
.stat-card { display: flex; align-items: center; gap: 14px; padding: 18px 20px; background: #fff; border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--sh-1); transition: .2s; }
.stat-card:hover { transform: translateY(-2px); box-shadow: var(--sh-2); }
.stat-ico { width: 46px; height: 46px; border-radius: 13px; flex: none; display: grid; place-items: center; color: #fff; }
.stat-ico svg { width: 22px; height: 22px; }
.stat-num { font-size: 27px; font-weight: 800; color: var(--text); line-height: 1.1; letter-spacing: .5px; }
.stat-label { font-size: 13px; color: var(--text-dim); margin-top: 3px; }
.stat-blue .stat-ico { background: linear-gradient(135deg, #3b82f6, #2563eb); }
.stat-green .stat-ico { background: linear-gradient(135deg, #34d399, #10b981); }
.stat-purple .stat-ico { background: linear-gradient(135deg, #a78bfa, #7c3aed); }
.stat-orange .stat-ico { background: linear-gradient(135deg, #fb923c, #f97316); }
@media (max-width: 900px) { .stat-block { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .stat-block { grid-template-columns: 1fr; } }

/* ===================== 首页信息中枢（v1.4.20 一体化紧凑布局） =====================
   把原先竖排堆满一屏的：徽章 / 免责声明 / 稳定运营 / 搜索 / 广告 / 本站数据
   整合进一个面板：顶部一行(徽章+搜索)、中部两栏(免责|信任)、底部两栏(广告|数据)。 */
.hero { padding: 22px 0 8px; }
/* 深空科技玻璃拟态面板：深色渐变 + 双色光晕 + 科技网格纹理 */
.home-hub {
  position: relative; overflow: hidden;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  grid-template-areas:
    "top   top"
    "disc  info";
  gap: 14px;
  align-items: stretch;
  padding: 26px 28px 28px;
  border-radius: 24px;
  border: 1px solid rgba(148, 163, 184, .22);
  background:
    radial-gradient(820px 300px at 6% -8%, rgba(56, 189, 248, .20), transparent 62%),
    radial-gradient(700px 300px at 96% -6%, rgba(139, 92, 246, .22), transparent 62%),
    linear-gradient(135deg, #0a1226 0%, #101a38 50%, #16153c 100%);
  box-shadow: 0 24px 56px rgba(15, 23, 42, .26), inset 0 1px 0 rgba(255, 255, 255, .07);
}
.home-hub::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(rgba(148, 163, 184, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, .055) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 80%);
  mask-image: linear-gradient(to bottom, #000 0%, transparent 80%);
}
.home-hub::after {
  content: ""; position: absolute; right: -70px; bottom: -120px;
  width: 340px; height: 340px; border-radius: 50%; pointer-events: none; z-index: 0;
  background: radial-gradient(circle, rgba(34, 211, 238, .20), transparent 68%);
}
.home-hub > * { position: relative; z-index: 1; }
.home-hub .hub-top        { grid-area: top; }
.home-hub .disclaimer-card { grid-area: disc; }
.home-hub .hub-info       { grid-area: info; }
/* 稳定运营 + 本站数据合并进一个纵向卡片 */
.home-hub .hub-info {
  display: flex; flex-direction: column; gap: 10px; height: 100%;
}
.home-hub .hub-info .trust-block { flex: none; }
.home-hub .hub-info .stat-block  { flex: 1; }

/* 顶部：发光胶囊徽章 + 白色搜索框 */
.home-hub .hub-top { display: flex; align-items: center; gap: 18px; }
.home-hub .hub-top .badge-top {
  margin: 0; flex: none; white-space: nowrap;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px; border-radius: 999px;
  background: linear-gradient(135deg, rgba(37, 99, 235, .28), rgba(124, 58, 237, .24));
  border: 1px solid rgba(129, 178, 255, .45);
  color: #dbeafe; font-size: 13px; font-weight: 800; letter-spacing: .3px;
  box-shadow: 0 0 24px rgba(59, 130, 246, .20), inset 0 1px 0 rgba(255, 255, 255, .12);
}
.home-hub .hub-top .badge-top svg { color: #7dd3fc; }
.home-hub .hub-top .hero-search { flex: 1; max-width: none; margin: 0; }
.home-hub .hub-top .hero-search {
  background: rgba(255, 255, 255, .98);
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 14px; padding: 7px 7px 7px 18px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .30);
}
.home-hub .hub-top .hero-search:hover { border-color: #fff; }
.home-hub .hub-top .hero-search:focus-within {
  border-color: #93c5fd;
  box-shadow: 0 0 0 4px rgba(96, 165, 250, .35), 0 12px 30px rgba(0, 0, 0, .32);
}
.home-hub .hub-top .hero-search input { color: #0f172a; font-size: 15px; }
.home-hub .hub-top .hero-search input::placeholder { color: #94a3b8; }
.home-hub .hub-top .hero-search .hs-ico { color: #2563eb; }
.home-hub .hub-top .hero-search .btn {
  padding: 11px 26px; border-radius: 11px; border: none;
  background: linear-gradient(135deg, #2563eb, #4f46e5);
  font-weight: 800; letter-spacing: 1px;
  box-shadow: 0 6px 18px rgba(37, 99, 235, .45);
}
.home-hub .hub-top .hero-search .btn:hover { box-shadow: 0 8px 24px rgba(37, 99, 235, .6); }

/* 中部左：免责声明（深色玻璃卡 + 霓虹分行文字） */
.home-hub .disclaimer-card {
  margin: 0; padding: 1px; border-radius: 17px;
  background: linear-gradient(135deg, rgba(96, 165, 250, .5), rgba(167, 139, 250, .35), rgba(244, 114, 182, .28));
  box-shadow: 0 10px 30px rgba(0, 0, 0, .22);
}
.home-hub .disclaimer-inner {
  border-radius: 16px; padding: 16px 20px 15px;
  background: rgba(255, 255, 255, .055);
  border: 1px solid rgba(255, 255, 255, .10);
  text-align: left;
}
.home-hub .disclaimer-card .dc-head { justify-content: flex-start; margin-bottom: 9px; gap: 9px; }
.home-hub .disclaimer-card .dc-ico {
  width: 26px; height: 26px; border-radius: 8px;
  background: linear-gradient(135deg, #38bdf8, #818cf8);
  box-shadow: 0 4px 12px rgba(56, 189, 248, .35);
}
.home-hub .disclaimer-card .dc-ico svg { width: 15px; height: 15px; color: #fff; }
.home-hub .disclaimer-card .dc-title {
  font-size: 14px; font-weight: 900; letter-spacing: 1.5px;
  background: linear-gradient(90deg, #7dd3fc, #c4b5fd);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.home-hub .disclaimer-card .dc-body { font-size: 13px; line-height: 1.6; text-align: left; }
.home-hub .disclaimer-card .dc-line { margin: 0 0 4px; font-weight: 700; text-align: left; letter-spacing: .2px; }
/* 霓虹分行配色（深色底上的亮色，比原浅底配色更跳） */
.home-hub .disclaimer-card .dc-line.c1 { color: #7dd3fc; }
.home-hub .disclaimer-card .dc-line.c2 { color: #5eead4; }
.home-hub .disclaimer-card .dc-line.c3 { color: #c4b5fd; }
.home-hub .disclaimer-card .dc-line.c4 { color: #f9a8d4; }
.home-hub .disclaimer-card .dc-line.c5 { color: #fdba74; }
.home-hub .disclaimer-card .dc-body a {
  color: #fff; font-weight: 900; text-decoration: none;
  padding: 1px 8px; border-radius: 6px;
  background: rgba(59, 130, 246, .35); border: 1px solid rgba(147, 197, 253, .55);
}
.home-hub .disclaimer-card .dc-body a:hover { background: #3b82f6; border-color: #3b82f6; }

/* 中部右：稳定运营（深色玻璃卡 + 巨型渐变天数 + 备案药丸）—— 与本站数据合并到 hub-info */
.home-hub .trust-block {
  margin: 0; max-width: none; height: auto;
  flex-direction: column; justify-content: center; align-items: flex-start;
  gap: 3px; text-align: left; padding: 12px 18px;
  background: rgba(255, 255, 255, .055);
  border: 1px solid rgba(52, 211, 153, .28);
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .22), inset 0 1px 0 rgba(255, 255, 255, .06);
}
.home-hub .trust-block .trust-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 10.5px; font-weight: 800; letter-spacing: 1px; color: #6ee7b7;
  margin-bottom: 1px;
}
.home-hub .trust-block .tb-ico { width: 17px; height: 17px; color: #34d399; flex: none; }
.home-hub .trust-block p { margin: 0; white-space: normal; }
.home-hub .trust-block .trust-lead { font-size: 12.5px; line-height: 1.55; color: #cbd5e1; font-weight: 600; }
.home-hub .trust-block .trust-days {
  display: inline-block; font-size: clamp(21px, 2.2vw, 29px); line-height: 1.15; font-weight: 900;
  letter-spacing: .5px;
  background: linear-gradient(90deg, #34d399, #22d3ee 55%, #818cf8);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin: 0 2px;
}
.home-hub .trust-block .trust-lead strong:not(.trust-days) {
  color: #a7f3d0; background: rgba(16, 185, 129, .16);
  border: 1px solid rgba(52, 211, 153, .35); border-radius: 5px;
  padding: 0 6px; font-size: 11px; font-weight: 800;
}

/* 本站数据：合并后改为一行 4 列紧凑数字卡 */
.home-hub .hub-info .stat-block { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; height: 100%; margin: 0; }
.home-hub .stat-card {
  flex-direction: column; justify-content: center; text-align: center;
  padding: 11px 6px; gap: 4px; border-radius: 13px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(148, 163, 184, .22);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .16);
}
.home-hub .stat-ico { display: none; }
.home-hub .stat-num {
  font-size: clamp(18px, 2vw, 24px); line-height: 1.1; font-weight: 900; letter-spacing: .3px;
  color: #fff;
}
/* 本站数据：4 个数据各用一种显眼颜色（数字实色 + 彩色药丸标签），实色保证任何浏览器都看得清 */
.home-hub .stat-blue .stat-num   { color: #7dd3fc; }
.home-hub .stat-green .stat-num  { color: #6ee7b7; }
.home-hub .stat-purple .stat-num { color: #c4b5fd; }
.home-hub .stat-orange .stat-num { color: #fdba74; }
.home-hub .stat-label {
  display: inline-block; font-size: 11px; margin-top: 4px; padding: 2px 9px;
  border-radius: 999px; font-weight: 700; line-height: 1.3;
}
.home-hub .stat-blue .stat-label   { background: rgba(59, 130, 246, .16); color: #93c5fd; border: 1px solid rgba(59, 130, 246, .38); }
.home-hub .stat-green .stat-label  { background: rgba(16, 185, 129, .16); color: #6ee7b7; border: 1px solid rgba(16, 185, 129, .38); }
.home-hub .stat-purple .stat-label { background: rgba(139, 92, 246, .16); color: #c4b5fd; border: 1px solid rgba(139, 92, 246, .38); }
.home-hub .stat-orange .stat-label { background: rgba(249, 115, 22, .16); color: #fdba74; border: 1px solid rgba(249, 115, 22, .38); }

/* 信息中枢与下方资源列表的间距 */
.home-hub + .container > .tabs-block,
.hero + .container .tabs-block { margin-top: 18px; }

/* ===================== 置顶广告（完全复用真实文章列表行结构） ===================== */
.pin-ads {
  margin: 0 0 6px;
  padding: 0 6px;
}
.pin-ad-row { text-decoration: none; }
.pin-ad-row:hover { background: var(--panel-2); }
/* 图标：沿用 .li-ico 的尺寸/圆角/白色 SVG，仅覆盖 4 色渐变底 */
.pin-ad-ico { box-shadow: 0 2px 8px rgba(0, 0, 0, .10); }
.pin-ad-row:nth-child(1) .pin-ad-ico { background: var(--grad-gold); }                          /* 金 */
.pin-ad-row:nth-child(2) .pin-ad-ico { background: linear-gradient(135deg, #10b981, #06b6d4); } /* 绿青 */
.pin-ad-row:nth-child(3) .pin-ad-ico { background: linear-gradient(135deg, #6366f1, #0ea5e9); } /* 蓝 */
.pin-ad-row:nth-child(4) .pin-ad-ico { background: linear-gradient(135deg, #7c3aed, #a855f7); } /* 紫 */
.li-badge.badge-ad {
  background: linear-gradient(135deg, #f59e0b, #ea580c); color: #fff;
  border: none; box-shadow: 0 2px 8px rgba(245, 158, 11, .35);
}
.pin-ad-enter {
  flex: none; font-size: 12.5px; font-weight: 700; color: #d97706; white-space: nowrap;
  text-decoration: none;
}
.pin-ad-enter:hover { color: #b45309; text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 900px) {
  .home-hub {
    grid-template-columns: 1fr;
    grid-template-areas: "top" "disc" "info";
    padding: 20px;
  }
  .home-hub .hub-top { flex-wrap: wrap; gap: 12px; }
  .home-hub .hub-top .hero-search { flex-basis: 100%; }
  .home-hub .disclaimer-card .dc-body { text-align: left; }
}
@media (max-width: 560px) {
  .home-hub .hub-info .stat-block { grid-template-columns: repeat(2, 1fr); }
  .home-hub .hub-top .badge-top { white-space: normal; }
  .pin-ad-enter { display: none; }
}

/* ===================== 搜索结果页 ===================== */
.search-head { margin: 6px 0 22px; }
.search-title { font-size: 24px; font-weight: 800; color: var(--text); margin-bottom: 16px; }
.search-title span { color: var(--primary); word-break: break-word; }
.search-meta { margin-top: 14px; font-size: 14px; color: var(--text-dim); }
.search-head .hero-search { max-width: 600px; }
.search-head .cb-empty { margin-top: 26px; }
