:root {
  color-scheme: dark;
  --bg: #060a12;
  --bg-2: #080e1a;
  --sidebar: #070c16;
  --panel: rgba(15, 23, 38, 0.72);
  --panel-solid: #0c1422;
  --line: rgba(120, 170, 255, 0.12);
  --line-strong: rgba(103, 232, 249, 0.34);
  --text: #e8f1ff;
  --text-2: #a3b6cf;
  --text-3: #6f849e;
  --cyan: #22d3ee;
  --cyan-soft: #67e8f9;
  --violet: #8b5cf6;
  --blue: #3b82f6;
  --green: #34d399;
  --amber: #fbbf24;
  --red: #f87171;
  --r-lg: 18px;
  --r-md: 12px;
  --r-sm: 9px;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", Consolas, monospace;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.42);

  /* 主题化表面色（浅色模式整体覆盖） */
  --glass-rgb: 6, 11, 20;
  --glass2-rgb: 11, 18, 30;
  --topbar-rgb: 6, 10, 18;
  --panel-rgb: 15, 23, 38;
  --option-bg: #0b1220;
  --sidebar-bg: linear-gradient(180deg, #08101d 0%, #060a12 60%, #05090f 100%);
  --panel-bg: linear-gradient(160deg, rgba(16, 25, 41, .85), rgba(8, 13, 23, .92));
  --hero-bg:
    radial-gradient(600px 320px at 6% 0%, rgba(34, 211, 238, .16), transparent 70%),
    radial-gradient(680px 380px at 100% 100%, rgba(139, 92, 246, .16), transparent 70%),
    linear-gradient(140deg, #0a1626, #070d18);
  --card-bg: linear-gradient(155deg, rgba(14, 22, 37, .92), rgba(8, 13, 23, .94));
  --metric-bg: linear-gradient(160deg, rgba(17, 27, 44, .9), rgba(8, 13, 23, .9));
  --insight-bg:
    radial-gradient(500px 200px at 0% 0%, rgba(139, 92, 246, .16), transparent 70%),
    linear-gradient(150deg, rgba(20, 18, 40, .9), rgba(9, 12, 22, .92));
  --badge-national: #a5f3fc;
  --badge-provincial: #ddd6fe;
  --badge-cat: #fde68a;
  --badge-reason: #bbf7d0;
  --mini-tag: #93c5fd;
  --chip-bg: rgba(8, 14, 24, .9);
  --feature-bg: linear-gradient(160deg, rgba(var(--panel-rgb), .8), rgba(var(--glass2-rgb), .92));
  --accent-text: #a5f3fc;
  --stat-num: #a5e9f7;
  --insight-text: #e9e5ff;
  --grid-line: rgba(103, 232, 249, .05);
}

* { box-sizing: border-box; }
/* 原生下拉弹层配色与主题一致（修复白底白字） */
select option { background-color: var(--option-bg); color: var(--text); }
select optgroup { background-color: var(--option-bg); color: var(--text-3); font-style: normal; }
select optgroup option { color: var(--text); }
html { scroll-behavior: smooth; }
/* 画布底色也跟随主题，避免切换瞬间露出白色底 */
html { background-color: var(--bg); transition: background-color .28s ease; }
/* 主题切换用 View Transition 交叉淡入，彻底消除重绘闪白 */
::view-transition-old(root),
::view-transition-new(root) { animation-duration: .28s; animation-timing-function: ease; }
/* 页面滚动条隐藏：滚动功能保留（滚轮/触摸/键盘均可），仅不显示滚动条本体 */
html { overflow-x: clip; scrollbar-width: none; -ms-overflow-style: none; }
html::-webkit-scrollbar { width: 0; height: 0; display: none; }
body { overflow-x: clip; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", -apple-system, "Segoe UI", sans-serif;
  font-size: 14px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(700px 460px at 18% -8%, rgba(34, 211, 238, 0.13), transparent 70%),
    radial-gradient(760px 500px at 92% 0%, rgba(139, 92, 246, 0.12), transparent 72%),
    radial-gradient(900px 600px at 50% 110%, rgba(59, 130, 246, 0.08), transparent 70%);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; }

.app { position: relative; display: flex; min-height: 100vh; }

/* ---------------- 侧边栏 ---------------- */
.sidebar {
  position: fixed;
  z-index: 60;
  top: 0;
  left: 0;
  bottom: 0;
  width: 250px;
  display: flex;
  flex-direction: column;
  padding: 22px 16px 18px;
  background: var(--sidebar-bg);
  border-right: 1px solid var(--line);
  overflow: visible;
}
.sidebar::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(90, 170, 255, 0.05) 1px, transparent 1px);
  background-size: 100% 42px;
  mask-image: linear-gradient(180deg, #000, transparent 70%);
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 70%);
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 4px 8px 18px;
  position: relative;
  z-index: 1;
}
.brand-mark { display: flex; filter: drop-shadow(0 0 14px rgba(34, 211, 238, 0.42)); }
.brand-text { display: flex; flex-direction: column; line-height: 1.18; }
.brand-text strong { font-size: 16.5px; letter-spacing: 0.06em; }
.brand-text small {
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.2em;
  color: var(--text-3);
  margin-top: 3px;
}

.side-label {
  font-size: 10.5px;
  letter-spacing: 0.22em;
  color: var(--text-3);
  padding: 4px 12px 8px;
  position: relative;
  z-index: 1;
}

.side-nav { display: flex; flex-direction: column; gap: 4px; position: relative; z-index: 2; }

.nav-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 11px;
  height: 44px;
  padding: 0 12px;
  border-radius: var(--r-md);
  color: var(--text-2);
  font-size: 14px;
  transition: color .2s, background .2s, transform .2s;
  border: 1px solid transparent;
}
.nav-item:hover {
  color: var(--text);
  background: rgba(103, 232, 249, 0.06);
  border-color: rgba(103, 232, 249, 0.12);
  transform: translateX(2px);
}
.nav-item.active {
  color: #ecfeff;
  background: linear-gradient(90deg, rgba(34, 211, 238, 0.16), rgba(139, 92, 246, 0.09));
  border-color: rgba(103, 232, 249, 0.28);
  box-shadow: inset 0 0 24px rgba(34, 211, 238, 0.08);
}
.nav-item.active::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 9px;
  bottom: 9px;
  width: 3px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--cyan-soft), var(--violet));
  box-shadow: 0 0 14px rgba(34, 211, 238, 0.7);
}
.nav-icon { display: flex; color: inherit; opacity: .9; }
.nav-item.active .nav-icon { color: var(--cyan-soft); }
.nav-label { flex: 1; }
.nav-glow {
  width: 5px; height: 5px; border-radius: 50%;
  background: transparent;
}
.nav-item.active .nav-glow {
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
}

/* 交流群悬浮二维码 */
.has-qr { cursor: pointer; }
.qr-pop {
  position: absolute;
  left: calc(100% + 14px);
  top: 50%;
  transform: translateY(-50%) scale(.94);
  transform-origin: left center;
  width: 190px;
  padding: 12px;
  border-radius: 14px;
  background: var(--panel-solid);
  border: 1px solid rgba(103, 232, 249, 0.3);
  box-shadow: 0 22px 50px rgba(0, 0, 0, .6);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: .18s ease;
  z-index: 90;
}
.qr-pop::before {
  content: "";
  position: absolute;
  left: -6px;
  top: 50%;
  width: 10px; height: 10px;
  background: var(--panel-solid);
  border-left: 1px solid rgba(103, 232, 249, 0.3);
  border-bottom: 1px solid rgba(103, 232, 249, 0.3);
  transform: translateY(-50%) rotate(45deg);
}
.qr-pop img { border-radius: 8px; width: 100%; aspect-ratio: 1; object-fit: cover; background: #fff; }
.qr-pop-tip { display: block; text-align: center; font-size: 11.5px; color: var(--text-2); margin-top: 8px; }
.has-qr:hover .qr-pop, .has-qr:focus-within .qr-pop {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) scale(1);
}

.side-bottom {
  margin-top: auto;
  padding-top: 14px;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.side-mini-stat {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  color: var(--text-3);
  padding: 8px 12px;
  border-radius: 10px;
  background: rgba(120, 170, 255, 0.05);
  border: 1px solid var(--line);
}
.side-mini-stat b { color: var(--text); font-family: var(--mono); }
.side-mini-stat .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px rgba(52, 211, 153, .8);
}
.admin-entry {
  display: flex;
  align-items: center;
  gap: 9px;
  height: 40px;
  padding: 0 12px;
  border-radius: 10px;
  font-size: 13px;
  color: var(--text-2);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  transition: .2s;
}
.admin-entry:hover { color: var(--cyan-soft); border-color: var(--line-strong); }
.admin-entry.logged { justify-content: space-between; }
.admin-entry .admin-link { display: flex; align-items: center; gap: 8px; }
.admin-logout { font-size: 11.5px; color: var(--text-3); }
.admin-logout:hover { color: var(--red); }

.sidebar-mask {
  position: fixed;
  inset: 0;
  background: rgba(2, 5, 10, 0.66);
  backdrop-filter: blur(3px);
  z-index: 55;
  opacity: 0;
  pointer-events: none;
  transition: .25s;
}

/* ---------------- 主区域 ---------------- */
.main {
  flex: 1;
  min-width: 0;
  margin-left: 250px;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 18px;
  height: 74px;
  padding: 0 30px;
  background: rgba(var(--topbar-rgb), 0.78);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  border-bottom: 1px solid var(--line);
}
.topbar-title h1 { font-size: 17px; letter-spacing: 0.02em; }
.topbar-sub { font-size: 11px; color: var(--text-3); letter-spacing: 0.02em; }

.top-search {
  position: relative;
  flex: 1;
  max-width: 420px;
  margin-left: auto;
  display: flex;
  align-items: center;
}
.top-search input {
  width: 100%;
  height: 38px;
  padding: 0 14px 0 36px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(var(--glass2-rgb), 0.8);
  outline: none;
  font-size: 13px;
  transition: .2s;
}
.top-search input:focus { border-color: var(--line-strong); box-shadow: 0 0 0 3px rgba(34, 211, 238, .09); }
.top-search input::placeholder { color: var(--text-3); }
.top-search-icon { position: absolute; left: 12px; color: var(--text-3); display: flex; }

.topbar-right { display: flex; align-items: center; gap: 10px; }
.sync-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 11.5px;
  color: var(--text-2);
  border: 1px solid var(--line);
  background: rgba(var(--glass2-rgb), .7);
  font-family: var(--mono);
  white-space: nowrap;
}
.sync-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(52, 211, 153, .6);
  animation: ping 2.4s infinite;
}
@keyframes ping {
  0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, .55); }
  70% { box-shadow: 0 0 0 7px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}
.btn-admin-top {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(139, 92, 246, .3);
  background: rgba(139, 92, 246, .1);
  color: var(--badge-provincial);
  font-size: 12px;
}
.btn-admin-top:hover { background: rgba(139, 92, 246, .18); }

.icon-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .03);
  color: var(--text-2);
  cursor: pointer;
}

.page-body { padding: 26px 30px 10px; max-width: 1240px; width: 100%; margin: 0 auto; }

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding: 22px 30px 30px;
  color: var(--text-3);
  font-size: 11.5px;
  max-width: 1240px;
  margin: 0 auto;
  width: 100%;
}
.footer-sep { opacity: .4; }

/* ---------------- 通用面板 ---------------- */
.panel {
  position: relative;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--panel-bg);
  box-shadow: var(--shadow);
  padding: 22px 24px;
  margin-bottom: 18px;
  overflow: hidden;
}
.panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(103, 232, 249, .38), transparent);
}
.panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}
.panel-title {
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: .01em;
}
.panel-title::before {
  content: "";
  width: 3px; height: 14px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--cyan), var(--violet));
}
.panel-sub { margin: 5px 0 0; color: var(--text-3); font-size: 12px; }
.panel-tag {
  font-size: 10.5px;
  font-family: var(--mono);
  color: var(--text-3);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px 9px;
  white-space: nowrap;
}

/* ---------------- 首页 Hero ---------------- */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 24px;
  align-items: center;
  padding: 34px 34px 30px;
  border-radius: 22px;
  border: 1px solid rgba(103, 232, 249, .18);
  background:
var(--hero-bg);
  overflow: hidden;
  margin-bottom: 18px;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(103, 232, 249, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(103, 232, 249, .05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 70% at 30% 20%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 30% 20%, #000, transparent 75%);
  pointer-events: none;
}
.hero-main { position: relative; z-index: 1; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  color: var(--accent-text);
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid rgba(34, 211, 238, .26);
  background: rgba(34, 211, 238, .08);
  letter-spacing: .04em;
}
.eyebrow .pulse {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--cyan);
  animation: blink 1.8s infinite;
}
@keyframes blink { 0%, 100% { opacity: 1 } 50% { opacity: .25 } }

.hero-title {
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.2;
  margin: 16px 0 12px;
  letter-spacing: -.01em;
}
.grad {
  background: linear-gradient(100deg, #7dd3fc, #60a5fa 45%, #a78bfa);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-desc { color: var(--text-2); max-width: 560px; margin: 0 0 22px; font-size: 13.5px; }

.hero-search {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 580px;
  padding: 7px 7px 7px 15px;
  border-radius: 13px;
  border: 1px solid var(--line);
  background: rgba(var(--glass-rgb), .82);
  transition: .25s;
}
.hero-search:focus-within { border-color: var(--line-strong); box-shadow: 0 0 0 4px rgba(34, 211, 238, .08); }
.hero-search-icon { display: flex; color: var(--text-3); }
.hero-search input { flex: 1; min-width: 0; height: 38px; border: 0; background: none; outline: none; font-size: 13.5px; }
.hero-search input::placeholder { color: var(--text-3); }
.hero-search button {
  height: 38px;
  padding: 0 22px;
  border: 0;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 600;
  color: #04121a;
  background: linear-gradient(135deg, #7dd3fc, #22d3ee);
  cursor: pointer;
  transition: .2s;
}
.hero-search button:hover { filter: brightness(1.07); }

.hero-hot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; font-size: 12px; color: var(--text-3); }
.hero-hot a {
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--text-2);
  transition: .2s;
}
.hero-hot a:hover { color: var(--cyan-soft); border-color: var(--line-strong); }

.hero-visual { position: relative; height: 260px; z-index: 1; }
.orbit {
  position: absolute;
  left: 50%; top: 50%;
  border-radius: 50%;
  border: 1px solid rgba(103, 232, 249, .16);
  transform: translate(-50%, -50%);
}
.orbit-1 { width: 150px; height: 150px; animation: spin 22s linear infinite; border-style: dashed; }
.orbit-2 { width: 208px; height: 208px; animation: spin 34s linear infinite reverse; }
.orbit-3 { width: 262px; height: 262px; border-color: rgba(139, 92, 246, .14); }
@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg) } }

.hero-core {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 88px; height: 88px;
  border-radius: 26px;
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: .04em;
  color: #071018;
  background: linear-gradient(140deg, #7dd3fc, #22d3ee 45%, #a78bfa);
  box-shadow: 0 0 44px rgba(34, 211, 238, .45), inset 0 1px 0 rgba(255, 255, 255, .5);
}
.hero-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px 11px;
  border-radius: 10px;
  font-size: 11px;
  color: var(--text-2);
  background: var(--chip-bg);
  border: 1px solid var(--line);
  backdrop-filter: blur(6px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, .4);
}
.hero-chip b { font-family: var(--mono); color: var(--cyan-soft); font-size: 12.5px; }
.chip-1 { left: 4%; top: 12%; animation: float 6s ease-in-out infinite; }
.chip-2 { right: 2%; top: 26%; animation: float 7.5s ease-in-out infinite .6s; }
.chip-3 { left: 14%; bottom: 10%; animation: float 8s ease-in-out infinite 1.2s; }
@keyframes float {
  0%, 100% { transform: translateY(0) }
  50% { transform: translateY(-7px) }
}

/* ---------------- 指标卡 ---------------- */
.metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 18px;
}
.metric-row.four { grid-template-columns: repeat(4, 1fr); }
.metric-card {
  position: relative;
  padding: 20px 22px 18px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--metric-bg);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: .28s;
}
.metric-card:hover { transform: translateY(-3px); border-color: rgba(103, 232, 249, .26); }
.metric-card.accent { border-color: rgba(34, 211, 238, .26); }
.metric-card.accent::after {
  content: "";
  position: absolute;
  right: -40px; top: -40px;
  width: 140px; height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 211, 238, .22), transparent 70%);
}
.metric-label { font-size: 11.5px; color: var(--text-3); letter-spacing: .1em; }
.metric-value {
  font-family: var(--mono);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 700;
  line-height: 1.3;
  margin: 6px 0 2px;
  background: linear-gradient(180deg, #fff, #a5e9f7);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.metric-value.small { font-size: 22px; }
.metric-value.small i { color: var(--text-3); font-style: normal; font-size: 14px; margin: 0 4px; }
.metric-foot { font-size: 11.5px; color: var(--text-3); }

/* ---------------- 政策卡片 ---------------- */
.policy-list { display: grid; gap: 12px; }
.policy-card {
  position: relative;
  padding: 18px 20px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--card-bg);
  transition: .26s;
}
.policy-card::before {
  content: "";
  position: absolute;
  left: 0; top: 14px; bottom: 14px;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--cyan), var(--violet));
  opacity: 0;
  transition: .26s;
}
.policy-card:hover {
  border-color: rgba(103, 232, 249, .28);
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .42);
}
.policy-card:hover::before { opacity: 1; }

.pc-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 9px; }
.badge {
  font-size: 10.5px;
  font-family: var(--mono);
  padding: 2px 8px;
  border-radius: 6px;
  border: 1px solid transparent;
  letter-spacing: .03em;
  white-space: nowrap;
}
.badge.national { color: var(--accent-text); background: rgba(34, 211, 238, .12); border-color: rgba(34, 211, 238, .3); }
.badge.provincial { color: var(--badge-provincial); background: rgba(139, 92, 246, .14); border-color: rgba(139, 92, 246, .3); }
.badge.region { color: var(--text-2); background: rgba(120, 170, 255, .07); border-color: rgba(120, 170, 255, .14); }
.badge.cat { color: var(--badge-cat); background: rgba(251, 191, 36, .1); border-color: rgba(251, 191, 36, .22); }
.badge.reason { color: var(--badge-reason); background: rgba(52, 211, 153, .1); border-color: rgba(52, 211, 153, .26); }
.pc-date { margin-left: auto; font-size: 11.5px; color: var(--text-3); font-family: var(--mono); }

.pc-title { font-size: 16px; line-height: 1.55; margin-bottom: 8px; }
.pc-title a { color: var(--text); transition: .2s; }
.pc-title a:hover { color: var(--cyan-soft); }
.pc-summary {
  margin: 0 0 12px;
  color: var(--text-2);
  font-size: 13.5px;
  line-height: 1.85;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pc-foot {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 11px;
  border-top: 1px dashed rgba(120, 170, 255, .12);
}
.pc-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.mini-tag {
  font-size: 11px;
  color: var(--mini-tag);
  background: rgba(59, 130, 246, .1);
  border: 1px solid rgba(59, 130, 246, .18);
  border-radius: 5px;
  padding: 2px 7px;
}
.pc-source { font-size: 11px; color: var(--text-3); font-family: var(--mono); }
.pc-link {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--cyan-soft);
  border: 1px solid rgba(34, 211, 238, .26);
  border-radius: 8px;
  padding: 4px 10px;
  transition: .2s;
  white-space: nowrap;
}
.pc-link:hover { background: rgba(34, 211, 238, .12); }

/* ---------------- 筛选 ---------------- */
.filter-panel { padding: 16px 18px 12px; }
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.segmented {
  display: inline-flex;
  padding: 3px;
  border-radius: 10px;
  background: rgba(120, 170, 255, .07);
  border: 1px solid rgba(120, 170, 255, .1);
}
.seg {
  border: 0;
  background: none;
  color: var(--text-2);
  font-size: 12.5px;
  padding: 6px 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: .2s;
  white-space: nowrap;
}
.seg:hover { color: var(--text); }
.seg.active {
  color: #04121a;
  background: linear-gradient(135deg, #7dd3fc, #22d3ee);
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(34, 211, 238, .22);
}

.select-wrap { position: relative; display: inline-flex; }
.select-wrap::after {
  content: "▾";
  position: absolute;
  right: 11px; top: 50%;
  transform: translateY(-50%);
  color: var(--text-3);
  font-size: 10px;
  pointer-events: none;
}
.select-wrap select {
  appearance: none;
  -webkit-appearance: none;
  height: 34px;
  padding: 0 28px 0 11px;
  border-radius: 9px;
  border: 1px solid rgba(120, 170, 255, .14);
  background: rgba(120, 170, 255, .06);
  font-size: 12.5px;
  cursor: pointer;
  outline: none;
  max-width: 190px;
}
.select-wrap select option { background-color: var(--option-bg); color: var(--text); }
.select-wrap select option:checked { color: var(--cyan-soft); }
.select-wrap select optgroup { color: var(--text-3); background-color: var(--option-bg); }
.select-wrap select optgroup option { color: var(--text); }

.filter-search {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 34px;
  padding: 0 11px;
  border-radius: 9px;
  border: 1px solid rgba(120, 170, 255, .14);
  background: rgba(var(--glass-rgb), .7);
  color: var(--text-3);
}
.filter-search input { border: 0; background: none; outline: none; width: 170px; font-size: 12.5px; }

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 0;
  cursor: pointer;
  height: 38px;
  padding: 0 20px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 600;
  color: #04121a;
  background: linear-gradient(135deg, #7dd3fc, #22d3ee);
  transition: .2s;
  font-family: inherit;
}
.btn-primary:hover { filter: brightness(1.07); transform: translateY(-1px); }
.btn-primary.sm { height: 34px; padding: 0 15px; font-size: 12.5px; }
.btn-primary.block { width: 100%; }
.btn-primary:disabled { opacity: .6; cursor: not-allowed; transform: none; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 14px;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .02);
  color: var(--text-2);
  font-size: 12.5px;
  cursor: pointer;
  transition: .2s;
}
.btn-ghost:hover { color: var(--cyan-soft); border-color: var(--line-strong); }
.btn-text { font-size: 12px; color: var(--text-3); }
.btn-text:hover { color: var(--cyan-soft); }

.tag-cloud { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; }
.tag-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11.5px;
  padding: 4px 11px;
  border-radius: 999px;
  border: 1px solid rgba(120, 170, 255, .16);
  background: rgba(120, 170, 255, .05);
  color: var(--text-2);
  transition: .2s;
}
.tag-chip span { font-family: var(--mono); font-size: 10px; opacity: .55; }
.tag-chip:hover { color: var(--text); border-color: rgba(103, 232, 249, .38); }
.tag-chip.active { color: #04121a; background: linear-gradient(135deg, #67e8f9, #38bdf8); border-color: transparent; font-weight: 600; }

.list-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 16px 2px 12px;
  font-size: 12.5px;
  color: var(--text-3);
}
.list-count b { color: var(--cyan-soft); font-family: var(--mono); font-size: 15px; }
.list-page { font-family: var(--mono); }
.muted { color: var(--text-3) !important; }
.small { font-size: 12px; }
.strong { color: var(--text); font-weight: 500; }
.mono { font-family: var(--mono); }

.pagination { display: flex; justify-content: center; gap: 8px; margin: 24px 0 8px; }
.page-btn {
  min-width: 34px;
  height: 34px;
  padding: 0 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid var(--line);
  color: var(--text-2);
  font-size: 12.5px;
  font-family: var(--mono);
  transition: .2s;
}
.page-btn:hover { border-color: var(--line-strong); color: var(--cyan-soft); }
.page-btn.active { background: rgba(34, 211, 238, .14); border-color: rgba(34, 211, 238, .4); color: var(--accent-text); }

/* ---------------- 图表 ---------------- */
.grid-2 { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.chart-wrap { position: relative; }
#trendChart { width: 100%; height: 226px; display: block; overflow: visible; }

.level-wrap { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.donut {
  --p: 50;
  width: 138px; height: 138px;
  border-radius: 50%;
  background: conic-gradient(var(--cyan) 0 calc(var(--p) * 1%), rgba(139, 92, 246, .85) 0 100%);
  display: grid;
  place-items: center;
  position: relative;
  filter: drop-shadow(0 0 18px rgba(34, 211, 238, .18));
}
.donut::after {
  content: "";
  position: absolute;
  inset: 13px;
  border-radius: 50%;
  background: var(--panel-solid);
  border: 1px solid rgba(120, 170, 255, .1);
}
.donut-hole { position: relative; z-index: 1; text-align: center; display: flex; flex-direction: column; line-height: 1.3; }
.donut-hole span { font-family: var(--mono); font-size: 22px; font-weight: 700; }
.donut-hole small { font-size: 10px; color: var(--text-3); letter-spacing: .1em; }
.legend { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 12.5px; }
.legend li { display: flex; align-items: center; gap: 8px; color: var(--text-2); }
.legend .swatch { width: 9px; height: 9px; border-radius: 2px; }
.legend b { margin-left: auto; font-family: var(--mono); color: var(--text); font-weight: 500; }

.bar-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.bar-list li { font-size: 12.5px; }
.bar-top { display: flex; justify-content: space-between; color: var(--text-2); margin-bottom: 5px; }
.bar-top b { font-family: var(--mono); color: var(--text); font-weight: 500; }
.bar-track { height: 6px; border-radius: 4px; background: rgba(120, 170, 255, .1); overflow: hidden; }
.bar-fill {
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, rgba(34, 211, 238, .9), rgba(139, 92, 246, .9));
  transition: width .9s cubic-bezier(.22, 1, .36, 1);
}

.rank-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.rank-list li { display: flex; align-items: center; gap: 9px; font-size: 12.5px; color: var(--text-2); }
.rank-no {
  width: 20px; height: 20px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-size: 10.5px;
  background: rgba(120, 170, 255, .08);
  color: var(--text-3);
}
.rank-no.top { background: rgba(34, 211, 238, .16); color: var(--accent-text); }
.rank-name { width: 82px; }
.rank-bar { flex: 1; height: 5px; border-radius: 3px; background: rgba(120, 170, 255, .09); overflow: hidden; }
.rank-bar i { display: block; height: 100%; background: linear-gradient(90deg, rgba(34, 211, 238, .8), rgba(139, 92, 246, .8)); }
.rank-list b { font-family: var(--mono); font-size: 11.5px; color: var(--text); width: 28px; text-align: right; }

/* ---------------- 表格 ---------------- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; -ms-overflow-style: none; }
.table-wrap::-webkit-scrollbar { width: 0; height: 0; }
.data-table { width: 100%; border-collapse: collapse; font-size: 12.5px; min-width: 560px; }
.data-table th {
  text-align: left;
  font-weight: 500;
  color: var(--text-3);
  font-size: 11.5px;
  letter-spacing: .04em;
  padding: 8px 10px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.data-table td { padding: 11px 10px; border-bottom: 1px solid rgba(120, 170, 255, .07); color: var(--text-2); }
.data-table tr:last-child td { border-bottom: 0; }
.data-table tr:hover td { background: rgba(103, 232, 249, .03); }
.status-tag {
  display: inline-flex;
  align-items: center;
  font-size: 10.5px;
  font-family: var(--mono);
  padding: 2px 8px;
  border-radius: 5px;
  border: 1px solid var(--line);
  color: var(--text-2);
}
.status-tag.ok { color: #a7f3d0; background: rgba(52, 211, 153, .1); border-color: rgba(52, 211, 153, .26); }
.status-tag.blocked { color: var(--badge-cat); background: rgba(251, 191, 36, .1); border-color: rgba(251, 191, 36, .24); }
.status-tag.error { color: #fecaca; background: rgba(248, 113, 113, .1); border-color: rgba(248, 113, 113, .26); }
.status-tag.pending { color: var(--text-3); }

/* ---------------- AI 智推 ---------------- */
.reco-head { display: grid; grid-template-columns: 1.3fr .7fr; gap: 24px; align-items: center; }
.reco-title { font-size: clamp(22px, 2.6vw, 30px); margin: 12px 0 8px; }
.reco-desc { color: var(--text-2); font-size: 13px; margin: 0 0 14px; max-width: 560px; }
.reco-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.pill {
  font-size: 11.5px;
  padding: 4px 11px;
  border-radius: 999px;
  border: 1px solid rgba(103, 232, 249, .22);
  background: rgba(34, 211, 238, .07);
  color: var(--accent-text);
  font-family: var(--mono);
}
.reco-city {
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(var(--glass-rgb), .6);
  padding: 16px;
}
.reco-city label { display: block; }
.reco-city label span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  color: var(--text-3);
  margin-bottom: 8px;
}
.reco-city select {
  width: 100%;
  height: 38px;
  padding: 0 12px;
  border-radius: 9px;
  border: 1px solid rgba(120, 170, 255, .16);
  background: rgba(var(--panel-rgb), .9);
  font-size: 13px;
  outline: none;
}
.reco-city select option { background-color: var(--option-bg); color: var(--text); }
.reco-city select optgroup { color: var(--text-3); background-color: var(--option-bg); }
.reco-hint { font-size: 11px; color: var(--text-3); margin: 10px 0 0; }

/* 重新定位按钮：醒目的主操作样式 */
.relocate-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 100%;
  height: 38px;
  margin-top: 10px;
  border-radius: 9px;
  border: 1px solid rgba(34, 211, 238, .5);
  background: linear-gradient(135deg, rgba(34, 211, 238, .22), rgba(59, 130, 246, .18));
  color: var(--cyan-soft);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  cursor: pointer;
  transition: all .2s ease;
}
.relocate-btn small {
  font-weight: 400;
  font-size: 10px;
  color: var(--text-3);
  letter-spacing: .08em;
}
.relocate-btn:hover {
  background: linear-gradient(135deg, rgba(34, 211, 238, .38), rgba(59, 130, 246, .3));
  color: #fff;
  border-color: var(--cyan);
  box-shadow: 0 0 18px rgba(34, 211, 238, .35);
  transform: translateY(-1px);
}

.insight-card {
  position: relative;
  padding: 20px 22px;
  border-radius: var(--r-lg);
  border: 1px solid rgba(139, 92, 246, .3);
  background:
var(--insight-bg);
  margin-bottom: 18px;
  overflow: hidden;
}
.insight-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11.5px;
  color: var(--badge-provincial);
  padding: 4px 11px;
  border-radius: 999px;
  border: 1px solid rgba(139, 92, 246, .35);
  background: rgba(139, 92, 246, .12);
  margin-bottom: 10px;
}
.insight-card p { margin: 0 0 8px; color: var(--insight-text); font-size: 13.5px; line-height: 1.9; }
.insight-meta { font-size: 11px; color: var(--text-3); }

/* ---------------- 订阅 ---------------- */
.subscribe-hero { display: grid; grid-template-columns: 1.35fr .65fr; gap: 28px; align-items: center; padding: 30px 32px; }
.sub-copy h2 { font-size: clamp(22px, 2.6vw, 28px); margin: 12px 0 10px; }
.sub-copy p { color: var(--text-2); font-size: 13.5px; margin: 0 0 20px; max-width: 520px; }
.sub-form { max-width: 500px; }
.sub-row { display: flex; gap: 10px; padding: 6px; border-radius: 12px; border: 1px solid var(--line); background: rgba(var(--glass-rgb), .7); }
.sub-row:focus-within { border-color: var(--line-strong); box-shadow: 0 0 0 4px rgba(34, 211, 238, .08); }
.sub-row input { flex: 1; min-width: 0; height: 38px; padding: 0 12px; border: 0; background: none; outline: none; font-size: 13.5px; }
.sub-row input::placeholder { color: var(--text-3); }
.sub-row .btn-primary { height: 38px; }
.sub-note { font-size: 11.5px; color: var(--text-3); margin: 10px 0 0; }
.sub-note b { color: var(--cyan-soft); font-family: var(--mono); }

.sub-side { display: grid; gap: 10px; }
.sub-stat {
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(var(--glass-rgb), .55);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.sub-stat-label { font-size: 11px; color: var(--text-3); letter-spacing: .08em; }
.sub-stat b { font-family: var(--mono); font-size: 26px; font-weight: 700; color: var(--stat-num); }
.sub-stat b.sm { font-size: 15px; }
.sub-stat small { font-size: 11px; color: var(--text-3); }

.feature-card {
  padding: 20px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--feature-bg);
}
.feature-icon {
  display: inline-flex;
  width: 36px; height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  color: var(--cyan-soft);
  background: rgba(34, 211, 238, .1);
  border: 1px solid rgba(34, 211, 238, .22);
  margin-bottom: 10px;
}
.feature-card h3 { font-size: 14px; margin-bottom: 6px; }
.feature-card p { margin: 0; font-size: 12.5px; color: var(--text-3); line-height: 1.8; }

/* ---------------- 交流群 ---------------- */
.group-hero { display: grid; grid-template-columns: 1.2fr .8fr; gap: 30px; align-items: center; padding: 32px; }
.group-copy h2 { font-size: clamp(22px, 2.8vw, 30px); margin: 12px 0 10px; }
.group-copy p { color: var(--text-2); font-size: 13.5px; margin: 0 0 16px; max-width: 520px; }
.group-points { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 9px; }
.group-points li { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--text-2); }
.group-points svg { color: var(--green); flex-shrink: 0; }
.group-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.group-qr { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.qr-frame {
  position: relative;
  padding: 12px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .5), 0 0 0 1px rgba(103, 232, 249, .2);
  max-width: 236px;
}
.qr-frame img { border-radius: 8px; }
.qr-corner { position: absolute; width: 16px; height: 16px; border: 2px solid var(--cyan); }
.qr-corner.tl { left: -4px; top: -4px; border-right: 0; border-bottom: 0; border-radius: 4px 0 0 0; }
.qr-corner.tr { right: -4px; top: -4px; border-left: 0; border-bottom: 0; border-radius: 0 4px 0 0; }
.qr-corner.bl { left: -4px; bottom: -4px; border-right: 0; border-top: 0; border-radius: 0 0 0 4px; }
.qr-corner.br { right: -4px; bottom: -4px; border-left: 0; border-top: 0; border-radius: 0 0 4px 0; }
.qr-tip { font-size: 12px; color: var(--text-2); margin: 0; }
.qr-warning { font-size: 11px; color: #fcd34d; text-align: center; margin: 0; max-width: 240px; }

/* ---------------- 登录 ---------------- */
.auth-wrap { display: grid; place-items: center; padding: 70px 20px; }
.auth-card {
  width: 100%;
  max-width: 380px;
  padding: 32px 30px 26px;
  border-radius: 20px;
  border: 1px solid rgba(103, 232, 249, .18);
  background:
var(--panel-bg);
  box-shadow: var(--shadow);
  text-align: center;
}
.auth-icon {
  width: 54px; height: 54px;
  margin: 0 auto 14px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: var(--cyan-soft);
  background: rgba(34, 211, 238, .1);
  border: 1px solid rgba(34, 211, 238, .26);
}
.auth-card h2 { font-size: 19px; }
.auth-sub { font-size: 12px; color: var(--text-3); margin: 6px 0 22px; }
.auth-form { display: grid; gap: 12px; text-align: left; }
.auth-form label span { display: block; font-size: 11.5px; color: var(--text-3); margin-bottom: 6px; }
.auth-form input {
  width: 100%;
  height: 40px;
  padding: 0 12px;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: rgba(var(--glass-rgb), .8);
  outline: none;
  font-size: 13.5px;
}
.auth-form input:focus { border-color: var(--line-strong); box-shadow: 0 0 0 3px rgba(34, 211, 238, .08); }
.auth-tip { font-size: 11px; color: var(--text-3); margin: 16px 0 8px; }
.auth-back { font-size: 12px; color: var(--text-2); }
.auth-back:hover { color: var(--cyan-soft); }

/* ---------------- 后台 ---------------- */
.admin-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 16px; align-items: start; }
.admin-card { margin-bottom: 16px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.span-2 { grid-column: span 2; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field > span { font-size: 11.5px; color: var(--text-3); letter-spacing: .04em; }
.field input, .field select, .field textarea {
  height: 38px;
  padding: 0 12px;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: rgba(var(--glass-rgb), .78);
  outline: none;
  font-size: 13px;
  transition: .2s;
}
.field textarea { height: auto; padding: 10px 12px; line-height: 1.7; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--line-strong); box-shadow: 0 0 0 3px rgba(34, 211, 238, .07); }
.field-hint { font-size: 11px; color: var(--text-3); font-style: normal; }
.field-hint.mt { margin-top: 10px; }
.form-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.test-result { font-size: 12px; }
.test-result.ok { color: var(--green); }
.test-result.err { color: var(--red); }

.kv-list { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 9px; }
.kv-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 12.5px;
  padding-bottom: 8px;
  border-bottom: 1px dashed rgba(120, 170, 255, .1);
}
.kv-list span { color: var(--text-3); }
.kv-list b { color: var(--text); font-weight: 500; font-family: var(--mono); font-size: 12px; }

.sub-metrics { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-bottom: 16px; }
.sub-metric {
  padding: 12px 14px;
  border-radius: 11px;
  border: 1px solid var(--line);
  background: rgba(var(--glass-rgb), .5);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.sub-metric span { font-size: 11px; color: var(--text-3); }
.sub-metric b { font-family: var(--mono); font-size: 20px; color: var(--stat-num); }
.sub-metric b.sm { font-size: 13px; }
.upload-field input[type=file] { padding: 8px 10px; height: auto; font-size: 12px; }
.qr-thumb { width: 56px; height: 56px; border-radius: 8px; border: 1px solid var(--line); object-fit: cover; background: #fff; }

/* ---------------- 空状态 / Toast ---------------- */
.empty-state { text-align: center; padding: 54px 20px; color: var(--text-2); }
.empty-icon { font-size: 34px; color: rgba(34, 211, 238, .4); font-family: var(--mono); }
.empty-state h3 { margin: 10px 0 6px; font-size: 16px; }
.empty-state p { margin: 0 0 16px; font-size: 12.5px; color: var(--text-3); }

.toast {
  position: fixed;
  left: 50%;
  bottom: 30px;
  transform: translate(-50%, 20px);
  padding: 11px 20px;
  border-radius: 10px;
  background: rgba(11, 20, 34, .96);
  border: 1px solid rgba(34, 211, 238, .34);
  color: var(--text);
  font-size: 13px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .55);
  opacity: 0;
  pointer-events: none;
  transition: .28s;
  z-index: 120;
  max-width: min(90vw, 460px);
  text-align: center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.error { border-color: rgba(248, 113, 113, .5); }
.toast.info { border-color: rgba(139, 92, 246, .5); }

/* ---------------- 响应式 ---------------- */
@media (max-width: 1180px) {
  .hero { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .grid-2 { grid-template-columns: 1fr; }
  .admin-grid { grid-template-columns: 1fr; }
  .metric-row.four { grid-template-columns: repeat(2, 1fr); }
  .sub-metrics { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 980px) {
  .sidebar { transform: translateX(-100%); transition: transform .28s ease; }
  body.nav-open .sidebar { transform: translateX(0); box-shadow: 24px 0 60px rgba(0, 0, 0, .45); }
  body.nav-open .sidebar-mask { opacity: 1; pointer-events: auto; }
  body.nav-open { overflow: hidden; }
  .main { margin-left: 0; padding-top: 66px; }
  .icon-btn { display: inline-flex; }
  /* 移动端顶栏固定：滚动时搜索与主题切换始终可见 */
  .topbar { position: fixed; left: 0; right: 0; top: 0; z-index: 70; padding: 0 18px; gap: 12px; height: 66px; }
  .topbar-sub { display: none; }
  .top-search { max-width: none; }
  .page-body { padding: 18px 18px 6px; }
  .site-footer { padding: 18px 18px 26px; }
  .subscribe-hero, .group-hero, .reco-head { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .qr-pop { display: none; }
  /* 移动端卡片压缩 */
  .metric-row { gap: 12px; }
}

@media (max-width: 720px) {
  /* 顶栏两行（菜单 + 搜索），同样固定；手机端去掉栏目标题避免遮挡 */
  .topbar { flex-wrap: wrap; height: auto; padding: 10px 14px; }
  .main { padding-top: 100px; }
  .page-title { display: none; }
  .top-search { order: 3; flex: 1 1 100%; }
  .top-search input { height: 36px; }
  .topbar-right .btn-admin-top span { display: none; }
  .sync-pill { font-size: 10.5px; }
  .page-body { padding: 10px 12px 6px; }
  .site-footer { padding: 14px 14px 22px; font-size: 11px; }
  .metric-row, .metric-row.four { grid-template-columns: 1fr 1fr; gap: 10px; }
  .metric-card { padding: 15px 16px; }
  .metric-value { font-size: 24px; }
  .hero { padding: 24px 20px; border-radius: 18px; }
  .panel { padding: 17px 15px; border-radius: 15px; }
  .filter-bar { gap: 8px; }
  .segmented { width: 100%; }
  .seg { flex: 1; }
  .select-wrap { flex: 1 1 44%; }
  .select-wrap select { width: 100%; max-width: none; }
  .filter-search { flex: 1 1 100%; }
  .filter-search input { width: 100%; }
  .policy-card { padding: 15px 14px; }
  .pc-title { font-size: 14.5px; }
  .pc-summary { font-size: 12.8px; -webkit-line-clamp: 4; }
  .pc-date { margin-left: 0; width: 100%; }
  .pc-link { margin-left: 0; }
  .sub-metrics { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .span-2 { grid-column: span 1; }
  .sub-row { flex-direction: column; }
  .sub-row .btn-primary { width: 100%; }
  .subscribe-hero, .group-hero { padding: 20px 18px; }
  .donut { width: 116px; height: 116px; }
  .data-table { min-width: 520px; }
  .auth-wrap { padding: 40px 16px; }
  .sidebar { width: min(78vw, 300px); }
  .hero-title { font-size: clamp(24px, 7vw, 30px); }
  .feature-card { padding: 16px; }
}

@media (max-width: 420px) {
  .metric-row, .metric-row.four { grid-template-columns: 1fr; }
  .tag-cloud { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; }
  .tag-cloud::-webkit-scrollbar { height: 0; }
  .hero-search button { padding: 0 14px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

/* ================= 浅色主题 ================= */
html[data-theme="light"] {
  color-scheme: light;
  --bg: #eef2f9;
  --bg-2: #f4f7fc;
  --sidebar: #f8fafd;
  --panel: rgba(255, 255, 255, 0.86);
  --panel-solid: #ffffff;
  --line: rgba(30, 64, 120, 0.14);
  --line-strong: rgba(8, 145, 178, 0.42);
  --text: #16233a;
  --text-2: #46587a;
  --text-3: #7e8eab;
  --cyan: #0891b2;
  --cyan-soft: #0e7490;
  --violet: #7c3aed;
  --blue: #2563eb;
  --green: #059669;
  --amber: #d97706;
  --red: #dc2626;
  --shadow: 0 14px 38px rgba(23, 52, 100, 0.10);
  --glass-rgb: 255, 255, 255;
  --glass2-rgb: 248, 250, 253;
  --topbar-rgb: 248, 250, 253;
  --panel-rgb: 255, 255, 255;
  --option-bg: #ffffff;
  --sidebar-bg: linear-gradient(180deg, #ffffff 0%, #f4f7fc 60%, #eef2f9 100%);
  --panel-bg: linear-gradient(160deg, rgba(255, 255, 255, .96), rgba(244, 247, 252, .98));
  --hero-bg:
    radial-gradient(600px 320px at 6% 0%, rgba(8, 145, 178, .10), transparent 70%),
    radial-gradient(680px 380px at 100% 100%, rgba(124, 58, 237, .09), transparent 70%),
    linear-gradient(140deg, #ffffff, #f0f5fb);
  --card-bg: linear-gradient(155deg, rgba(255, 255, 255, .97), rgba(245, 248, 253, .98));
  --metric-bg: linear-gradient(160deg, rgba(255, 255, 255, .96), rgba(243, 247, 252, .98));
  --insight-bg:
    radial-gradient(500px 200px at 0% 0%, rgba(124, 58, 237, .08), transparent 70%),
    linear-gradient(150deg, #f7f4ff, #f6f8fd);
  --badge-national: #0e7490;
  --badge-provincial: #6d28d9;
  --badge-cat: #b45309;
  --badge-reason: #047857;
  --mini-tag: #1d4ed8;
  --accent-text: #0e7490;
  --stat-num: #0e7490;
  --insight-text: #4c3d8f;
  --grid-line: rgba(30, 64, 120, .06);
  --chip-bg: rgba(255, 255, 255, .92);
  --feature-bg: linear-gradient(160deg, rgba(255, 255, 255, .97), rgba(244, 248, 253, .98));
}

html[data-theme="light"] body::before {
  background:
    radial-gradient(700px 460px at 18% -8%, rgba(8, 145, 178, .07), transparent 70%),
    radial-gradient(760px 500px at 92% 0%, rgba(124, 58, 237, .06), transparent 72%),
    radial-gradient(900px 600px at 50% 110%, rgba(37, 99, 235, .05), transparent 70%);
}
html[data-theme="light"] .sidebar::after { background-image: linear-gradient(rgba(30, 64, 120, .05) 1px, transparent 1px); }
html[data-theme="light"] .nav-item:hover { background: rgba(8, 145, 178, .07); border-color: rgba(8, 145, 178, .16); }
html[data-theme="light"] .qr-pop { box-shadow: 0 22px 50px rgba(23, 52, 100, .22); }
html[data-theme="light"] .qr-pop::before { background: var(--panel-solid); }
html[data-theme="light"] .topbar { background: rgba(248, 250, 253, .85); }
html[data-theme="light"] .topbar::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(8, 145, 178, .25), transparent);
}
html[data-theme="light"] .panel::before { background: linear-gradient(90deg, transparent, rgba(8, 145, 178, .3), transparent); }
html[data-theme="light"] .hero { border-color: rgba(8, 145, 178, .22); }
html[data-theme="light"] .hero::after {
  background-image:
    linear-gradient(rgba(30, 64, 120, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 64, 120, .07) 1px, transparent 1px);
}
html[data-theme="light"] .hero-core { color: #ffffff; }
html[data-theme="light"] .hero-chip { box-shadow: 0 10px 26px rgba(23, 52, 100, .12); }
html[data-theme="light"] .metric-value { background: linear-gradient(180deg, #16233a, #0e7490); -webkit-background-clip: text; background-clip: text; }
html[data-theme="light"] .policy-card { box-shadow: 0 4px 16px rgba(23, 52, 100, .05); }
html[data-theme="light"] .policy-card:hover { box-shadow: 0 18px 40px rgba(23, 52, 100, .14); }
html[data-theme="light"] .badge.region { color: var(--text-2); background: rgba(30, 64, 120, .06); border-color: rgba(30, 64, 120, .14); }
html[data-theme="light"] .pc-foot { border-top: 1px dashed rgba(30, 64, 120, .16); }
html[data-theme="light"] .mini-tag { background: rgba(37, 99, 235, .07); border-color: rgba(37, 99, 235, .2); }
html[data-theme="light"] .donut::after { border-color: rgba(30, 64, 120, .1); }
html[data-theme="light"] .page-btn.active { color: #0e7490; }
html[data-theme="light"] .data-table td { border-bottom: 1px solid rgba(30, 64, 120, .08); }
html[data-theme="light"] .data-table tr:hover td { background: rgba(8, 145, 178, .04); }
html[data-theme="light"] .status-tag.ok { color: #047857; }
html[data-theme="light"] .status-tag.blocked { color: #b45309; }
html[data-theme="light"] .status-tag.error { color: #b91c1c; }
html[data-theme="light"] .insight-badge { color: #6d28d9; }
html[data-theme="light"] .sub-stat b, html[data-theme="light"] .sub-metric b { color: #0e7490; }
html[data-theme="light"] .kv-list li { border-bottom: 1px dashed rgba(30, 64, 120, .14); }
html[data-theme="light"] .toast { background: rgba(255, 255, 255, .97); box-shadow: 0 16px 40px rgba(23, 52, 100, .2); }
html[data-theme="light"] .qr-warning { color: #b45309; }
html[data-theme="light"] #fxParticles { opacity: .5; }
html[data-theme="light"] .icon-btn { background: rgba(30, 64, 120, .04); }
html[data-theme="light"] .btn-ghost { background: rgba(255, 255, 255, .6); }
html[data-theme="light"] .seg.active, html[data-theme="light"] .btn-primary, html[data-theme="light"] .hero-search button, html[data-theme="light"] .tag-chip.active { color: #ffffff; }

/* 主题切换按钮 */
.theme-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(var(--glass-rgb), .7);
  color: var(--text-2);
  cursor: pointer;
  transition: .25s;
  overflow: hidden;
}
.theme-btn:hover { color: var(--cyan-soft); border-color: var(--line-strong); transform: rotate(18deg); }
.theme-btn svg { transition: .3s; }
.theme-btn .i-sun { display: none; }
html[data-theme="light"] .theme-btn .i-sun { display: block; }
html[data-theme="light"] .theme-btn .i-moon { display: none; }

/* ================= 动效增强 ================= */
/* 粒子背景画布 */
#fxParticles {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .8;
}
/* 入场浮现 */
.reveal {
  opacity: 0;
  transform: translateY(18px) scale(.985);
  transition: opacity .55s ease, transform .55s cubic-bezier(.22, 1, .36, 1);
  transition-delay: var(--rvd, 0s);
  will-change: opacity, transform;
}
.reveal.in-view { opacity: 1; transform: none; }
/* 渐变标题流光 */
.grad { background-size: 200% auto; animation: gradFlow 6s linear infinite; }
@keyframes gradFlow { to { background-position: 200% center; } }
/* 按钮涟漪 */
.ripple {
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  background: rgba(255, 255, 255, .45);
  animation: ripple .6s ease-out forwards;
  pointer-events: none;
}
@keyframes ripple { to { transform: scale(3); opacity: 0; } }
.btn-primary, .hero-search button { position: relative; overflow: hidden; }
/* 卡片光泽扫过 */
.policy-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: -70%;
  width: 45%;
  height: 100%;
  background: linear-gradient(105deg, transparent, rgba(103, 232, 249, .07), transparent);
  transform: skewX(-18deg);
  transition: left .65s ease;
  pointer-events: none;
}
.policy-card:hover::after { left: 130%; }
/* 悬浮指示 */
.metric-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  opacity: 0;
  transition: .3s;
}
.metric-card:hover::before { opacity: .8; }
/* 数字脉冲徽标 */
.sync-pill { transition: .25s; }
.sync-pill:hover { border-color: var(--line-strong); color: var(--cyan-soft); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; }
  .grad { animation: none !important; }
}
/* 重新定位链接 */
.relocate-link { color: var(--cyan-soft); margin-left: 6px; }
.relocate-link:hover { text-decoration: underline; }
/* 发布时间标签 */
.pc-date { display: inline-flex; align-items: center; gap: 4px; }
.pc-date-icon { font-style: normal; font-size: 11px; opacity: .8; }

/* ================= 隐藏式管理员登录弹窗 ================= */
.modal-mask {
  position: fixed;
  inset: 0;
  z-index: 130;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(3, 7, 14, 0.62);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .22s ease, visibility .22s;
}
.modal-mask.show { opacity: 1; visibility: visible; }
.modal-card {
  position: relative;
  width: min(380px, calc(100vw - 36px));
  transform: translateY(16px) scale(.97);
  transition: transform .26s cubic-bezier(.22, 1, .36, 1);
}
.modal-mask.show .modal-card { transform: none; }
.modal-auth { margin: 0; max-width: none; }
.modal-close {
  position: absolute;
  top: -14px;
  right: -14px;
  z-index: 2;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--panel-solid);
  color: var(--text-2);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: .2s;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .35);
}
.modal-close:hover { color: var(--red); border-color: var(--red); transform: rotate(90deg); }

/* ================= 侧边栏后台菜单 =================
   用 display:contents 让后台菜单项直接成为 .side-nav 的 flex 子项，
   字体、行高、间距、高度 100% 与前台菜单一致（仅数量更多，可滚动）。 */
.side-admin { display: contents; }

/* ================= 浅色主题细节修复 ================= */
/* 选中菜单项：深色文字配浅色强调底，避免白字白底看不见 */
html[data-theme="light"] .nav-item.active {
  color: #0d2f4a;
  background: linear-gradient(90deg, rgba(8, 145, 178, .13), rgba(124, 58, 237, .09));
  border-color: rgba(8, 145, 178, .34);
  box-shadow: inset 0 0 20px rgba(8, 145, 178, .06);
}
html[data-theme="light"] .nav-item.active .nav-icon { color: #0e7490; }
html[data-theme="light"] .nav-item.active .nav-glow { background: #0891b2; box-shadow: 0 0 8px rgba(8, 145, 178, .7); }
html[data-theme="light"] .nav-item.active::before {
  background: linear-gradient(180deg, #0891b2, #7c3aed);
  box-shadow: 0 0 12px rgba(8, 145, 178, .5);
}
html[data-theme="light"] .admin-entry { background: rgba(255, 255, 255, .72); }
html[data-theme="light"] .side-mini-stat { background: rgba(255, 255, 255, .72); }
html[data-theme="light"] .modal-mask { background: rgba(23, 52, 100, .3); }
html[data-theme="light"] .modal-close { box-shadow: 0 6px 18px rgba(23, 52, 100, .22); }

/* ================= 全局动效增强 ================= */
/* 深浅主题切换平滑过渡 */
body { transition: background-color .28s ease, color .28s ease; }

/* 页面内容进场 */
@keyframes pageIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}
.page-body { animation: pageIn .5s cubic-bezier(.22, 1, .36, 1); }

/* 侧边栏菜单级联入场 */
@keyframes navIn {
  from { opacity: 0; transform: translateX(-14px); }
  to { opacity: 1; transform: none; }
}
.side-nav .nav-item { animation: navIn .45s cubic-bezier(.22, 1, .36, 1) backwards; }
.side-nav .nav-item:nth-child(1) { animation-delay: .05s; }
.side-nav .nav-item:nth-child(2) { animation-delay: .09s; }
.side-nav .nav-item:nth-child(3) { animation-delay: .13s; }
.side-nav .nav-item:nth-child(4) { animation-delay: .17s; }
.side-nav .nav-item:nth-child(5) { animation-delay: .21s; }
.side-nav .nav-item:nth-child(6) { animation-delay: .25s; }
.side-admin .nav-item { animation: navIn .45s cubic-bezier(.22, 1, .36, 1) backwards; }
.side-admin .nav-item:nth-child(2) { animation-delay: .29s; }
.side-admin .nav-item:nth-child(3) { animation-delay: .33s; }
.side-admin .nav-item:nth-child(4) { animation-delay: .37s; }
.side-admin .nav-item:nth-child(5) { animation-delay: .41s; }
.side-admin .nav-item:nth-child(6) { animation-delay: .45s; }

/* 卡片悬浮：轻抬升 + 投影 */
.feature-card, .metric-card { transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.feature-card:hover, .metric-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .38);
  border-color: var(--line-strong);
}
html[data-theme="light"] .feature-card:hover, html[data-theme="light"] .metric-card:hover {
  box-shadow: 0 18px 40px rgba(23, 52, 100, .15);
}
.policy-card { transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.policy-card:hover { transform: translateY(-3px); }

/* 按钮微动效 */
.btn-primary, .btn-ghost { transition: transform .18s ease, box-shadow .18s ease, filter .18s ease, background .18s ease, border-color .18s ease, color .18s ease; }
.btn-primary:hover { transform: translateY(-1px); filter: brightness(1.06); box-shadow: 0 8px 22px rgba(34, 211, 238, .3); }
.btn-primary:active { transform: scale(.97); }
.btn-ghost:hover { transform: translateY(-1px); }
.btn-ghost:active { transform: scale(.97); }

/* Hero 核心 AI 徽标呼吸光晕 */
.hero-core { animation: corePulse 4s ease-in-out infinite; }
@keyframes corePulse {
  0%, 100% { box-shadow: 0 0 44px rgba(34, 211, 238, .45), inset 0 1px 0 rgba(255, 255, 255, .5); }
  50% { box-shadow: 0 0 66px rgba(34, 211, 238, .68), inset 0 1px 0 rgba(255, 255, 255, .5); }
}

/* 指标数字卡：入场流光 */
.metric-card::before {
  content: "";
  position: absolute;
  top: 0; left: -70%;
  width: 40%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(103, 232, 249, .08), transparent);
  transform: skewX(-18deg);
  transition: left .7s ease;
  pointer-events: none;
}
.metric-card:hover::before { left: 130%; }

/* 面板滚动浮现统一节奏（配合 JS reveal） */
.panel.reveal, .policy-card.reveal { will-change: opacity, transform; }

/* 移动端动效收敛：减少阴影与位移 */
@media (max-width: 720px) {
  .feature-card:hover, .metric-card:hover, .policy-card:hover { transform: none; }
  .page-body { animation-duration: .4s; }
}

/* ================= 采集运行面板 ================= */
.collect-panel { position: relative; }
.run-hero {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  margin-top: 4px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background:
    radial-gradient(320px 120px at 0% 0%, rgba(34, 211, 238, .12), transparent 70%),
    linear-gradient(140deg, rgba(var(--panel-rgb), .72), rgba(var(--glass2-rgb), .6));
}
.run-orb {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: var(--cyan);
  border: 1px solid rgba(103, 232, 249, .3);
  background: radial-gradient(circle at 30% 20%, rgba(34, 211, 238, .3), rgba(139, 92, 246, .14));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 10px 26px rgba(34, 211, 238, .16);
}
.run-orb.spin svg { animation: orbSpin 1.7s linear infinite; }
@keyframes orbSpin { to { transform: rotate(360deg); } }
.run-hero-main { flex: 1 1 auto; min-width: 0; }
.run-state { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; margin-bottom: 10px; }
.run-state-text { color: var(--text-2); font-size: 12.5px; }
.run-progress { height: 8px; border-radius: 99px; background: rgba(120, 170, 255, .12); overflow: hidden; }
.run-progress-bar {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 99px;
  background: linear-gradient(90deg, #22d3ee, #8b5cf6);
  box-shadow: 0 0 14px rgba(34, 211, 238, .5);
  transition: width .45s cubic-bezier(.22, 1, .36, 1);
}
.run-hero.is-running .run-progress-bar {
  background-image: linear-gradient(90deg, #22d3ee, #8b5cf6, #22d3ee);
  background-size: 200% 100%;
  animation: barFlow 1.5s linear infinite;
}
@keyframes barFlow { to { background-position: -200% 0; } }
.run-progress-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 8px;
  font-size: 12px;
  color: var(--text-3);
}
.run-stats {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0 0;
}
.run-stat {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(var(--panel-rgb), .48);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.run-stat:hover { transform: translateY(-2px); border-color: var(--line-strong); box-shadow: 0 12px 26px rgba(0, 0, 0, .28); }
.run-stat span { font-size: 11.5px; color: var(--text-3); }
.run-stat b {
  font-size: 19px;
  font-weight: 650;
  line-height: 1.15;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.run-stat small { font-size: 11px; color: var(--text-3); }
.run-stat.accent b { color: var(--cyan-soft); }
.run-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.run-actions .btn-primary, .run-actions .btn-ghost { display: inline-flex; align-items: center; gap: 6px; }
html[data-theme="light"] .run-hero { background: linear-gradient(140deg, rgba(255, 255, 255, .9), rgba(242, 247, 255, .85)); }
html[data-theme="light"] .run-stat { background: rgba(255, 255, 255, .8); }
html[data-theme="light"] .run-stat:hover { box-shadow: 0 12px 26px rgba(23, 52, 100, .12); }

/* ================= 自定义下拉框（隐藏原生弹层滚动条） ================= */
.psel { position: relative; display: block; }
.psel-native { position: absolute !important; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.psel-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  height: 36px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(var(--panel-rgb), .7);
  color: var(--text);
  font-size: 13px;
  font-family: inherit;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.psel-btn:hover { border-color: var(--line-strong); background: rgba(var(--panel-rgb), .9); }
.psel.open .psel-btn { border-color: var(--line-strong); box-shadow: 0 0 0 3px rgba(34, 211, 238, .12); }
.psel-label { flex: 1; min-width: 0; text-align: left; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.psel-caret { flex: 0 0 auto; color: var(--text-3); transition: transform .22s ease; }
.psel.open .psel-caret { transform: rotate(180deg); }
.psel-panel {
  position: absolute;
  z-index: 80;
  top: calc(100% + 6px);
  left: 0;
  min-width: 100%;
  width: max-content;
  max-width: min(320px, 84vw);
  padding: 6px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: var(--panel-solid);
  box-shadow: 0 24px 50px rgba(0, 0, 0, .45);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px) scale(.99);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
/* 右对齐，避免窄屏溢出 */
.psel.align-right .psel-panel { left: auto; right: 0; }
.psel.open .psel-panel { opacity: 1; visibility: visible; transform: none; }
.psel-search { padding: 2px 2px 6px; }
.psel-search input {
  width: 100%;
  height: 32px;
  padding: 0 10px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(var(--panel-rgb), .6);
  color: var(--text);
  font-size: 12.5px;
  font-family: inherit;
  outline: none;
}
.psel-search input:focus { border-color: var(--line-strong); }
.psel-list {
  max-height: 296px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.psel-list::-webkit-scrollbar { width: 0; height: 0; display: none; }
.psel-group { padding: 8px 10px 4px; font-size: 11px; letter-spacing: .04em; color: var(--text-3); }
.psel-opt {
  display: block;
  width: 100%;
  padding: 8px 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--text-2);
  font-size: 13px;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: background .16s ease, color .16s ease;
}
.psel-opt:hover { background: rgba(34, 211, 238, .12); color: var(--text); }
.psel-opt.is-active { color: #06121c; background: linear-gradient(90deg, rgba(34, 211, 238, .92), rgba(139, 92, 246, .8)); font-weight: 600; }
.psel-empty { padding: 14px 10px; font-size: 12.5px; color: var(--text-3); text-align: center; }
html[data-theme="light"] .psel-panel { background: #fff; box-shadow: 0 24px 50px rgba(23, 52, 100, .18); }
html[data-theme="light"] .psel-btn { background: rgba(255, 255, 255, .9); }
html[data-theme="light"] .psel-opt.is-active { color: #fff; }

/* ================= PJAX 切换过渡 ================= */
#pjaxBar {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0;
  z-index: 200;
  background: linear-gradient(90deg, #22d3ee, #8b5cf6);
  box-shadow: 0 0 12px rgba(34, 211, 238, .8);
  opacity: 0;
  transition: width .3s ease, opacity .3s ease;
  pointer-events: none;
}
#pjaxBar.on { opacity: 1; }
.page-body.pjax-in { animation: pjaxIn .38s cubic-bezier(.22, 1, .36, 1); }
@keyframes pjaxIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 980px) {
  .run-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .run-hero { flex-direction: column; align-items: flex-start; gap: 12px; }
  .run-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .psel-panel { max-width: 88vw; }
}

/* ---- 自定义下拉框：与筛选栏尺寸对齐 ---- */
.filter-panel, .reco-head { overflow: visible; }
.select-wrap.has-psel { display: inline-block; }
.select-wrap.has-psel::after { display: none; }
.select-wrap .psel { min-width: 126px; max-width: 190px; }
.select-wrap .psel-btn {
  height: 34px;
  padding: 0 11px;
  font-size: 12.5px;
  border-radius: 9px;
  border-color: rgba(120, 170, 255, .14);
  background: rgba(120, 170, 255, .06);
}
.reco-city .psel-btn { height: 38px; border-radius: 9px; font-size: 13px; }
.reco-city .psel-panel { width: 100%; max-height: none; }

/* 分段控件支持链接形态 */
a.seg { display: inline-flex; align-items: center; text-decoration: none; }
/* 智推城市下拉：标签样式覆盖（label span 规则不影响按钮内文字） */
.reco-city .psel-label { display: block; font-size: 13px; color: var(--text); margin: 0; }
/* 修复：reveal 的 will-change 会创建堆叠上下文，导致下拉面板被后面的卡片盖住 */
.reveal.in-view { will-change: auto; }
.filter-panel, .reco-head { z-index: 6; }
/* hidden 属性优先于任何 display 规则 */
[hidden] { display: none !important; }

/* ---- 后台 · 数据源覆盖表 ---- */
.src-scroll { max-height: 420px; overflow: auto; }
.src-table th { position: sticky; top: 0; z-index: 2; background: var(--panel-solid, var(--panel)); }
.src-table td { padding: 9px 12px; font-size: 12.5px; vertical-align: top; }
.src-table small { font-size: 11px; }
.src-type {
  display: inline-block;
  padding: 2px 7px;
  border-radius: 6px;
  font-size: 11px;
  color: var(--muted);
  background: var(--chip-bg, rgba(120, 170, 255, .1));
  white-space: nowrap;
}
.src-note { font-size: 11.5px; line-height: 1.45; max-width: 260px; }

/* ==================================================================
 * 2026-11-17 第二轮：顶栏对齐 / 侧栏滚动 / 日报浅色 / 反馈可读性
 * ================================================================== */

/* ---------------- 顶栏内容与核心板块对齐 ---------------- */
.topbar-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: 1240px;
  width: 100%;
  margin: 0 auto;
  min-width: 0;
}
.page-title { display: flex; align-items: center; min-width: 0; white-space: nowrap; }
.page-title #pageTitleText {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: .05em;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
}
/* 菜单按钮隐藏时（桌面端）标题自然靠左 */
@media (min-width: 981px) {
  .topbar .menu-btn { display: none; }
}

/* ---------------- 侧栏：内容超高时可滚动（登录后菜单变多），但不显示滚动条 ---------------- */
.side-nav {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
  padding: 0 4px 6px 0;
}
.side-nav::-webkit-scrollbar { display: none; }
.side-bottom { flex: none; }


/* ---------------- 一键置顶 ---------------- */
.back-top {
  position: fixed;
  right: 26px;
  bottom: 30px;
  z-index: 90;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid var(--line-strong);
  background: linear-gradient(150deg, rgba(34, 211, 238, .16), rgba(139, 92, 246, .16));
  color: var(--cyan-soft);
  cursor: pointer;
  display: grid;
  place-items: center;
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: .28s;
  backdrop-filter: blur(8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .35);
}
.back-top.show { opacity: 1; transform: translateY(0); pointer-events: auto; }
.back-top:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(34, 211, 238, .25); }
.back-top svg { transform: rotate(-90deg); }

/* ---------------- 首页亮点卡 ---------------- */
.hero-highlights {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 6px 0 22px;
}
.hl-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 16px 16px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--chip-bg);
  overflow: hidden;
  text-decoration: none;
  transition: .22s;
}
.hl-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(320px 120px at 18% -20%, rgba(34, 211, 238, .13), transparent 60%);
  opacity: 0;
  transition: .3s;
}
.hl-card:hover { transform: translateY(-3px); border-color: var(--line-strong); }
.hl-card:hover::before { opacity: 1; }
.hl-icon {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  color: var(--cyan-soft);
  background: rgba(34, 211, 238, .1);
  border: 1px solid rgba(34, 211, 238, .22);
}
.hl-name { font-size: 14px; font-weight: 700; color: var(--text); }
.hl-desc { font-size: 11.5px; line-height: 1.65; color: var(--text-3); }

/* ---------------- 首页动态雷达 ---------------- */
.hero-visual { height: 280px; }
.hero-radar {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 236px;
  height: 236px;
  transform: translate(-50%, -50%);
}
.radar-svg { width: 100%; height: 100%; overflow: visible; }
.radar-svg .rr { fill: none; stroke: rgba(103, 232, 249, .18); stroke-width: 1; }
.radar-svg .rl { stroke: rgba(103, 232, 249, .12); stroke-width: 1; }
.radar-svg .rl.dashed { stroke-dasharray: 4 6; stroke: rgba(139, 92, 246, .2); }
.radar-sweep {
  transform-origin: 100px 100px;
  animation: radarSpin 4.2s linear infinite;
}
@keyframes radarSpin { to { transform: rotate(360deg); } }
.blip {
  fill: #22d3ee;
  animation: blipPulse 3.2s ease-out infinite;
  opacity: 0;
}
.blip.b1 { animation-delay: .4s; }
.blip.b2 { animation-delay: 1.3s; fill: #a78bfa; }
.blip.b3 { animation-delay: 2.1s; }
.blip.b4 { animation-delay: 2.7s; fill: #a78bfa; }
.blip.b5 { animation-delay: .9s; }
.blip.b6 { animation-delay: 1.8s; fill: #a78bfa; }
@keyframes blipPulse {
  0% { opacity: 0; r: 1; }
  12% { opacity: 1; r: 3.4; }
  55% { opacity: .65; r: 3; }
  100% { opacity: 0; r: 1.6; }
}
.core-pulse {
  transform-origin: 100px 100px;
  animation: corePulse 2.6s ease-out infinite;
}
@keyframes corePulse {
  0% { transform: scale(.55); opacity: .9; }
  100% { transform: scale(1.7); opacity: 0; }
}
.hero-radar .hero-core { width: 74px; height: 74px; font-size: 20px; z-index: 2; }
.chip-1 { left: 0; top: 5%; animation: float 6.8s ease-in-out infinite; }
.chip-2 { right: 0; top: 9%; animation: float 7.2s ease-in-out infinite .5s; }
.chip-3 { left: 1%; bottom: 9%; animation: float 7.8s ease-in-out infinite 1s; }
.chip-4 { right: 1%; bottom: 7%; animation: float 7.5s ease-in-out infinite 1.2s; }
.chip-5 { left: 0; top: 46%; animation: float 8.4s ease-in-out infinite .6s; }
.chip-6 { right: 0; top: 48%; animation: float 6.6s ease-in-out infinite 1.8s; }
.chip-7 { left: 15%; bottom: -2%; animation: float 7s ease-in-out infinite .3s; }
.chip-8 { right: 15%; top: -2%; animation: float 7.8s ease-in-out infinite .9s; }

/* ---------------- AI 解读标签 ---------------- */
.pc-summary .ai-tag {
  display: inline-flex;
  align-items: center;
  margin-right: 6px;
  padding: 1px 8px;
  border-radius: 7px;
  font-size: 11px;
  font-weight: 600;
  color: #67e8f9;
  background: rgba(34, 211, 238, .1);
  border: 1px solid rgba(34, 211, 238, .28);
  vertical-align: 1px;
  white-space: nowrap;
}
[data-theme="light"] .pc-summary .ai-tag { color: #0e7490; background: rgba(14, 116, 144, .08); }

/* ---------------- AI 日报 ---------------- */
.daily-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 18px;
  align-items: start;
}
.calendar-card {
  position: relative;
  border-radius: 16px;
  padding: 22px 20px 18px;
  border: 1px solid var(--line-strong);
  background: linear-gradient(150deg, rgba(34, 211, 238, .1), rgba(139, 92, 246, .12));
  text-align: center;
  overflow: hidden;
}
.calendar-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(240px 130px at 85% -10%, rgba(34, 211, 238, .18), transparent 60%);
  pointer-events: none;
}
.cal-month { font-size: 13px; letter-spacing: .3em; color: var(--text-2); }
.cal-day {
  font-family: var(--mono);
  font-size: 58px;
  font-weight: 700;
  line-height: 1.15;
  color: var(--text);
  text-shadow: 0 0 30px rgba(34, 211, 238, .35);
}
.cal-week { font-size: 13px; color: var(--text-2); letter-spacing: .12em; }
.cal-badge {
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  color: #67e8f9;
  background: rgba(34, 211, 238, .12);
  border: 1px solid rgba(34, 211, 238, .3);
}
.daily-timeline-panel { margin-top: 14px; }
.daily-timeline {
  position: relative;
  padding-left: 6px;
  max-height: 460px;
  overflow-y: auto;
}
.daily-timeline::before {
  content: '';
  position: absolute;
  left: 13px;
  top: 10px;
  bottom: 10px;
  width: 1.5px;
  background: linear-gradient(180deg, rgba(34, 211, 238, .5), rgba(139, 92, 246, .4), transparent);
}
.tl-item {
  position: relative;
  display: flex;
  gap: 11px;
  padding: 9px 8px 9px 22px;
  border-radius: 10px;
  text-decoration: none;
  transition: .18s;
}
.tl-item:hover { background: rgba(var(--glass2-rgb), .55); }
.tl-item.active { background: rgba(34, 211, 238, .08); }
.tl-dot {
  position: absolute;
  left: 7px;
  top: 16px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid rgba(103, 232, 249, .55);
}
.tl-item.active .tl-dot { background: #22d3ee; border-color: #22d3ee; box-shadow: 0 0 12px rgba(34, 211, 238, .6); }
.tl-date {
  flex: none;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--text-3);
  padding-top: 2px;
}
.tl-info { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.tl-title {
  font-size: 12.5px;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.tl-item.active .tl-title { color: #67e8f9; }
.tl-sub { font-size: 10.5px; color: var(--text-3); }
.timeline-empty { padding: 14px 10px 6px; }

.daily-main { min-width: 0; }
.daily-report-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}
.daily-flag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .06em;
  color: #e9d5ff;
  background: linear-gradient(120deg, rgba(139, 92, 246, .22), rgba(34, 211, 238, .16));
  border: 1px solid rgba(139, 92, 246, .4);
  text-shadow: 0 0 14px rgba(139, 92, 246, .5);
}
.daily-date-full { font-size: 12px; color: var(--text-3); font-family: var(--mono); }
.daily-title {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: .02em;
  color: var(--text);
  margin: 2px 0 10px;
  line-height: 1.4;
}
.daily-lead {
  font-size: 13.5px;
  line-height: 1.9;
  color: var(--text-2);
  background: rgba(var(--glass2-rgb), .5);
  border-left: 3px solid #22d3ee;
  border-radius: 0 10px 10px 0;
  padding: 12px 16px;
  margin-bottom: 12px;
}
.daily-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.mini-tag.hl { color: #c4b5fd; border-color: rgba(139, 92, 246, .4); background: rgba(139, 92, 246, .1); }
.daily-meta {
  font-size: 11px;
  color: var(--text-3);
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--line);
  margin-bottom: 18px;
}
.daily-content { min-height: 200px; font-size: 13.5px; line-height: 1.95; color: var(--text-2); }
.daily-content.typing::after {
  content: '▍';
  color: #22d3ee;
  animation: caretBlink .9s steps(1) infinite;
  font-weight: 400;
}
@keyframes caretBlink { 50% { opacity: 0; } }
.dc-h3 {
  font-size: 16.5px;
  font-weight: 700;
  color: #67e8f9;
  margin: 20px 0 10px;
  padding-left: 12px;
  border-left: 3px solid rgba(34, 211, 238, .6);
}
.dc-h4 { font-size: 14px; font-weight: 700; color: var(--text); margin: 14px 0 8px; }
.dc-ul { margin: 8px 0 12px; padding-left: 22px; }
.dc-ul li { margin: 6px 0; color: var(--text-2); }
.dc-ul li::marker { color: #22d3ee; }
.dc-p { margin: 8px 0; }
.daily-pre { white-space: pre-wrap; font-family: inherit; }
.daily-head-left { display: flex; align-items: center; gap: 8px; }
.daily-ai-chip {
  display: inline-flex;
  align-items: center;
  padding: 2px 9px;
  border-radius: 7px;
  font-size: 11.5px;
  font-weight: 600;
  color: #a78bfa;
  background: rgba(139, 92, 246, .12);
  border: 1px solid rgba(139, 92, 246, .32);
  white-space: nowrap;
}
html[data-theme="light"] .daily-ai-chip { color: #7c3aed; background: rgba(124, 58, 237, .08); border-color: rgba(124, 58, 237, .3); }
.daily-skip-wrap { margin-top: 16px; text-align: right; }
.btn-ghost.small { padding: 6px 14px; font-size: 12px; }

/* ---------------- 关于 ---------------- */
.about-hero { text-align: center; padding: 46px 20px 30px; }
.about-slogan { display: flex; flex-direction: column; gap: 6px; }
.about-line {
  font-size: clamp(26px, 4.2vw, 44px);
  font-weight: 800;
  letter-spacing: .06em;
  line-height: 1.4;
  color: var(--text);
}
.grad { background: linear-gradient(100deg, #22d3ee, #a78bfa 60%, #f0abfc); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.about-desc { max-width: 720px; margin: 22px auto 0; font-size: 14px; line-height: 2.05; color: var(--text-2); }
.about-stats { display: flex; justify-content: center; gap: 44px; margin-top: 30px; flex-wrap: wrap; }
.about-stat { display: flex; flex-direction: column; gap: 3px; }
.about-stat b { font-family: var(--mono); font-size: 30px; color: #67e8f9; text-shadow: 0 0 22px rgba(34, 211, 238, .3); }
.about-stat span { font-size: 12px; color: var(--text-3); letter-spacing: .05em; }
.about-dev { margin-top: 8px; }
.dev-card { display: flex; gap: 20px; align-items: flex-start; padding: 8px 6px; }
.dev-avatar {
  flex: none;
  width: 72px;
  height: 72px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  font-size: 34px;
  background: linear-gradient(145deg, rgba(34, 211, 238, .16), rgba(139, 92, 246, .2));
  border: 1px solid var(--line-strong);
  box-shadow: 0 14px 34px rgba(34, 211, 238, .18);
}
.dev-body { min-width: 0; }
.dev-hello { font-size: 21px; font-weight: 800; margin-bottom: 10px; }
.dev-text { font-size: 14px; line-height: 2; color: var(--text-2); }
.dev-sub { margin-top: 12px; font-size: 12px; line-height: 1.9; color: var(--text-3); }
.dev-sub a { color: #67e8f9; text-decoration: none; }
.dev-sub a:hover { text-decoration: underline; }

/* ---------------- 反馈 ---------------- */
.feedback-panel { max-width: 780px; }
.feedback-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 6px; }
.feedback-notice {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  padding: 11px 14px;
  border-radius: 10px;
  font-size: 12px;
  line-height: 1.8;
  color: var(--text-3);
  background: rgba(250, 204, 21, .07);
  border: 1px solid rgba(250, 204, 21, .25);
}
.feedback-notice svg { flex: none; margin-top: 2px; color: #facc15; }
.feedback-actions { display: flex; justify-content: flex-end; }
.feedback-form .req { color: #f87171; font-style: normal; }

/* ---------------- 响应式 ---------------- */
@media (max-width: 1180px) {
  .hero-highlights { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 980px) {
  .daily-layout { grid-template-columns: 1fr; }
  .daily-timeline { max-height: 300px; }
}
@media (max-width: 720px) {
  .hero-highlights { grid-template-columns: 1fr; }
  .feedback-form { grid-template-columns: 1fr; }
  .feedback-form .span-2 { grid-column: span 1; }
  .page-title #pageTitleText { font-size: 15px; }
  .back-top { right: 16px; bottom: 20px; }
  .dev-card { flex-direction: column; }
  .daily-title { font-size: 21px; }
}

/* ---------------- AI 日报 · 浅色主题适配 ---------------- */
html[data-theme="light"] .calendar-card {
  background: linear-gradient(150deg, rgba(8, 145, 178, .07), rgba(124, 58, 237, .08));
  border-color: rgba(30, 64, 120, .22);
}
html[data-theme="light"] .cal-day { text-shadow: none; color: #0d2f4a; }
html[data-theme="light"] .cal-badge { color: #0e7490; background: rgba(8, 145, 178, .09); border-color: rgba(8, 145, 178, .3); }
html[data-theme="light"] .tl-item:hover { background: rgba(30, 64, 120, .05); }
html[data-theme="light"] .tl-item.active { background: rgba(8, 145, 178, .08); }
html[data-theme="light"] .tl-item.active .tl-title { color: #0e7490; }
html[data-theme="light"] .tl-dot { background: #fff; border-color: rgba(8, 145, 178, .5); }
html[data-theme="light"] .tl-item.active .tl-dot { background: #0891b2; border-color: #0891b2; box-shadow: 0 0 10px rgba(8, 145, 178, .4); }
html[data-theme="light"] .daily-flag {
  color: #5b21b6;
  background: linear-gradient(120deg, rgba(124, 58, 237, .1), rgba(8, 145, 178, .08));
  border-color: rgba(124, 58, 237, .35);
  text-shadow: none;
}
html[data-theme="light"] .daily-title { color: #0d2f4a; }
html[data-theme="light"] .daily-lead {
  color: #1f3a5c;
  background: rgba(8, 145, 178, .06);
  border-left-color: #0891b2;
}
html[data-theme="light"] .daily-content { color: #2b4062; }
html[data-theme="light"] .dc-h3 { color: #0e7490; border-left-color: rgba(8, 145, 178, .55); }
html[data-theme="light"] .dc-h4 { color: #0d2f4a; }
html[data-theme="light"] .dc-ul li::marker { color: #0891b2; }
html[data-theme="light"] .mini-tag.hl { color: #6d28d9; background: rgba(124, 58, 237, .08); border-color: rgba(124, 58, 237, .3); }
html[data-theme="light"] .daily-content.typing::after { color: #0891b2; }

/* ---------------- AI 日报 · 美化增强 ---------------- */
.daily-report {
  position: relative;
  overflow: hidden;
}
.daily-report::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(520px 180px at 92% -12%, rgba(139, 92, 246, .1), transparent 60%);
  pointer-events: none;
}
.daily-content { position: relative; }
.dc-h3 { display: flex; align-items: center; gap: 8px; }
.dc-h3::first-letter { color: #67e8f9; }
.dc-ai {
  display: inline-block;
  margin-right: 6px;
  padding: 1px 7px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  color: #67e8f9;
  background: rgba(34, 211, 238, .1);
  border: 1px solid rgba(34, 211, 238, .28);
  white-space: nowrap;
}
html[data-theme="light"] .dc-ai { color: #0e7490; background: rgba(14, 116, 144, .07); border-color: rgba(14, 116, 144, .25); }

/* ---------------- 反馈页 · 可读性提升与充实 ---------------- */
.feedback-panel { max-width: 1040px; }
.feedback-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 20px;
  align-items: start;
  margin-top: 6px;
}
.fb-side {
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: sticky;
  top: 92px;
}
.feedback-form .field > span { color: var(--text-2); font-size: 12.5px; }
.feedback-form textarea, .feedback-form input[type=email] {
  color: var(--text);
  font-size: 13.5px;
  background: var(--chip-bg);
}
.feedback-form textarea { min-height: 150px; line-height: 1.8; }
.feedback-form ::placeholder { color: var(--text-3); opacity: .85; }
.feedback-notice { color: var(--text-2); background: rgba(250, 204, 21, .09); border-color: rgba(250, 204, 21, .3); font-size: 12.5px; }
.fb-info-card {
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--chip-bg);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.fb-info-card h3 { font-size: 14px; font-weight: 700; color: var(--text); display: flex; align-items: center; gap: 8px; margin: 0; }
.fb-info-card h3 svg { color: #67e8f9; }
.fb-info-card p { margin: 0; font-size: 12.5px; line-height: 1.85; color: var(--text-2); }
html[data-theme="light"] .fb-info-card h3 svg { color: #0891b2; }
@media (max-width: 860px) {
  .feedback-layout { grid-template-columns: 1fr; }
  .fb-side { position: static; }
}

/* AI 解读占位 */
.pc-summary .ai-pending { color: var(--text-3); font-size: 12.5px; }

/* ================= 模型设置（多服务商） ================= */
.model-grid { grid-template-columns: minmax(0, 1fr) 330px; }
.model-form { display: flex; flex-direction: column; gap: 16px; }
.provider-picker { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.provider-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 13px 15px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--chip-bg);
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}
.provider-card:hover { border-color: var(--line-strong); transform: translateY(-1px); }
.provider-card.is-active {
  border-color: var(--line-strong);
  background: linear-gradient(150deg, rgba(34, 211, 238, .1), rgba(139, 92, 246, .08));
  box-shadow: inset 0 0 30px rgba(34, 211, 238, .06);
}
.provider-card input { position: absolute; opacity: 0; pointer-events: none; }
.pv-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.pv-name { font-size: 14px; font-weight: 700; color: var(--text); }
.pv-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--text-3); opacity: .45; flex: none; }
.pv-dot.on { background: var(--green); box-shadow: 0 0 8px rgba(52, 211, 153, .8); opacity: 1; }
.pv-desc { font-size: 12px; line-height: 1.7; color: var(--text-2); }
.pv-model { font-family: var(--mono); font-size: 10.5px; color: var(--text-3); }
.provider-panel {
  display: none;
  padding: 15px 16px;
  border-radius: 14px;
  border: 1px dashed var(--line);
  background: rgba(var(--glass2-rgb), .35);
}
.provider-panel.is-active { display: block; }
.pp-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.pp-head b { font-size: 13.5px; color: var(--text); }
.pp-current { font-size: 11.5px; color: var(--text-3); font-family: var(--mono); }
.admin-side { min-width: 0; }
.kv-list b.kv-break { word-break: break-all; text-align: right; }
.provider-status { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.provider-status li { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--text-2); }
.ps-name { display: flex; align-items: center; gap: 7px; flex: 1; min-width: 0; }
.ps-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--text-3); opacity: .45; display: inline-block; flex: none; }
.ps-dot.on { background: var(--green); box-shadow: 0 0 8px rgba(52, 211, 153, .8); opacity: 1; }
.ps-state { font-family: var(--mono); font-size: 10.5px; color: var(--text-3); max-width: 118px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ps-clear button { background: none; border: 0; color: var(--text-3); font-size: 11px; cursor: pointer; padding: 2px 4px; }
.ps-clear button:hover { color: var(--red); }
.tip-list { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 8px; }
.tip-list li { font-size: 12.5px; line-height: 1.8; color: var(--text-2); }
.tip-list b { color: var(--text); }
html[data-theme="light"] .provider-card.is-active {
  background: linear-gradient(150deg, rgba(8, 145, 178, .09), rgba(124, 58, 237, .06));
}
@media (max-width: 1100px) {
  .model-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .provider-picker { grid-template-columns: 1fr; }
}

/* ================= AI 日报 · 科技感重构 ================= */
.daily-layout { grid-template-columns: 300px minmax(0, 1fr); gap: 20px; }
.daily-side { display: flex; flex-direction: column; gap: 14px; min-width: 0; }

/* 期号卡 */
.dic-card {
  position: relative;
  border-radius: 18px;
  padding: 15px 16px 13px;
  overflow: hidden;
  border: 1px solid rgba(103, 232, 249, .22);
  background:
    radial-gradient(240px 160px at 82% -10%, rgba(139, 92, 246, .26), transparent 65%),
    radial-gradient(200px 150px at 0% 105%, rgba(34, 211, 238, .18), transparent 70%),
    linear-gradient(160deg, rgba(13, 22, 38, .96), rgba(8, 13, 23, .98));
  box-shadow: 0 18px 40px rgba(0, 0, 0, .32), inset 0 1px 0 rgba(255, 255, 255, .04);
}
.dic-card::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(103, 232, 249, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(103, 232, 249, .055) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(circle at 50% 0%, #000, transparent 78%);
  mask-image: radial-gradient(circle at 50% 0%, #000, transparent 78%);
}
.dic-top { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.dic-kicker { font-family: var(--mono); font-size: 9.5px; letter-spacing: .16em; color: rgba(103, 232, 249, .78); }
.dic-live { display: inline-flex; align-items: center; gap: 5px; font-family: var(--mono); font-size: 9.5px; letter-spacing: .12em; color: var(--green); }
.dic-live i { width: 5px; height: 5px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); animation: drPulse 1.8s ease-in-out infinite; }
.dic-date { position: relative; z-index: 2; display: grid; grid-template-columns: auto 1fr; align-items: end; padding: 14px 0 10px; }
.dic-month { grid-area: 1 / 1; font-family: var(--mono); font-size: 11px; letter-spacing: .22em; color: var(--text-2); }
.dic-day {
  grid-area: 2 / 1;
  font-family: var(--mono);
  font-size: 54px;
  line-height: 1.05;
  font-weight: 700;
  background: linear-gradient(160deg, #e8f9ff, #67e8f9 55%, #a78bfa);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter: drop-shadow(0 0 18px rgba(34, 211, 238, .25));
}
.dic-week { grid-area: 2 / 2; align-self: end; padding-bottom: 9px; padding-left: 12px; font-size: 12.5px; letter-spacing: .1em; color: var(--text-2); }
.dic-orbit { position: absolute; right: -34px; top: 18px; width: 156px; height: 156px; z-index: 1; pointer-events: none; opacity: .6; }
.dic-ring { position: absolute; inset: 8px; border-radius: 50%; border: 1px solid rgba(103, 232, 249, .28); animation: drSpin 18s linear infinite; }
.dic-ring::before { content: ''; position: absolute; top: -3px; left: 50%; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: #22d3ee; box-shadow: 0 0 10px #22d3ee; }
.dic-ring.r2 { inset: 32px; border-style: dashed; border-color: rgba(139, 92, 246, .35); animation: drSpin 12s linear infinite reverse; }
.dic-ring.r2::before { background: #a78bfa; box-shadow: 0 0 10px #8b5cf6; }
.dic-core { position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: #67e8f9; box-shadow: 0 0 18px rgba(34, 211, 238, .9); }
.dic-foot { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 4px; padding-top: 10px; border-top: 1px dashed rgba(103, 232, 249, .18); }
.dic-tag { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 600; color: #a5f3fc; }
.dic-no { font-family: var(--mono); font-size: 10px; letter-spacing: .12em; color: var(--text-3); }
@keyframes drSpin { to { transform: rotate(360deg); } }
@keyframes drPulse { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }

/* 指标小卡 */
.dr-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.dr-tile { padding: 9px 6px; border-radius: 12px; border: 1px solid var(--line); background: var(--chip-bg); display: flex; flex-direction: column; align-items: center; gap: 1px; }
.dr-tile span { font-size: 10.5px; color: var(--text-3); letter-spacing: .03em; }
.dr-tile b { font-family: var(--mono); font-size: 16px; font-weight: 700; color: var(--text); }
.dr-tile b i { font-style: normal; font-size: 10.5px; color: var(--text-3); margin-left: 1px; }

/* 时间线 */
.dr-timeline-panel { margin-top: 0; }
.dr-timeline { position: relative; display: flex; flex-direction: column; gap: 2px; }
.dr-timeline::before { content: ''; position: absolute; left: 11px; top: 8px; bottom: 8px; width: 1px; background: linear-gradient(180deg, rgba(34, 211, 238, .45), rgba(139, 92, 246, .3), transparent); }
.dr-tl-item { position: relative; display: flex; gap: 10px; padding: 8px 8px 8px 20px; border-radius: 10px; transition: background .18s ease; }
.dr-tl-item:hover { background: rgba(var(--glass2-rgb), .5); }
.dr-tl-node { position: absolute; left: 7px; top: 14px; width: 9px; height: 9px; border-radius: 50%; background: var(--bg); border: 1.5px solid rgba(103, 232, 249, .5); }
.dr-tl-item.active { background: linear-gradient(90deg, rgba(34, 211, 238, .12), transparent); }
.dr-tl-item.active .dr-tl-node { background: #22d3ee; border-color: #22d3ee; box-shadow: 0 0 12px rgba(34, 211, 238, .75); }
.dr-tl-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.dr-tl-date { font-family: var(--mono); font-size: 10px; letter-spacing: .1em; color: var(--text-3); }
.dr-tl-title { font-size: 12.5px; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dr-tl-item.active .dr-tl-title { color: #67e8f9; }
.dr-tl-sub { font-size: 10.5px; color: var(--text-3); }

/* 正文卡 */
.dr-report {
  position: relative;
  border-radius: 20px;
  padding: 20px 24px 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    linear-gradient(rgba(103, 232, 249, .03) 1px, transparent 1px) 0 0 / 100% 34px,
    linear-gradient(90deg, rgba(103, 232, 249, .03) 1px, transparent 1px) 0 0 / 34px 100%,
    radial-gradient(680px 240px at 92% -12%, rgba(139, 92, 246, .15), transparent 62%),
    radial-gradient(520px 220px at -8% 4%, rgba(34, 211, 238, .1), transparent 60%),
    var(--panel-bg);
  box-shadow: var(--shadow);
}
.dr-report > :not(.dr-scanline) { position: relative; z-index: 2; }
.dr-report::before {
  content: '';
  position: absolute;
  inset: 7px;
  border-radius: 14px;
  pointer-events: none;
  z-index: 1;
  background:
    linear-gradient(#22d3ee, #22d3ee) left top / 16px 1.5px no-repeat,
    linear-gradient(#22d3ee, #22d3ee) left top / 1.5px 16px no-repeat,
    linear-gradient(#8b5cf6, #8b5cf6) right bottom / 16px 1.5px no-repeat,
    linear-gradient(#8b5cf6, #8b5cf6) right bottom / 1.5px 16px no-repeat;
  opacity: .5;
}
.dr-scanline {
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 140px;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(34, 211, 238, .07), transparent);
  animation: drScan 9s linear infinite;
}
@keyframes drScan { 0% { transform: translateY(-140px); } 100% { transform: translateY(1500px); } }

.dr-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.dr-head-main { flex: 1; min-width: 0; }
.dr-badges { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.dr-kicker { margin: 12px 0 6px; font-family: var(--mono); font-size: 10px; letter-spacing: .2em; color: var(--text-3); }
.daily-title {
  font-size: clamp(22px, 2.4vw, 29px);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: .01em;
  margin: 0 0 14px;
  background: linear-gradient(100deg, var(--text) 20%, #67e8f9 72%, #a78bfa);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.dr-stamp { flex: none; width: 76px; padding: 9px 0; border-radius: 12px; text-align: center; border: 1px solid rgba(103, 232, 249, .22); background: rgba(34, 211, 238, .06); font-family: var(--mono); }
.dr-stamp b { display: block; font-size: 15px; letter-spacing: .04em; color: #67e8f9; }
.dr-stamp span { font-size: 10px; color: var(--text-3); }

/* 顶部海报分享按钮：醒目渐变主按钮 */
.dr-head-right { flex: none; display: flex; align-items: stretch; gap: 10px; }
.poster-top-btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 0 20px; border: 0; border-radius: 12px; cursor: pointer;
  font: 600 13px/1 var(--sans); color: #06233b; letter-spacing: .02em;
  background: linear-gradient(135deg, #67e8f9, #38bdf8 55%, #818cf8);
  box-shadow: 0 4px 14px rgba(56, 189, 248, .35), inset 0 1px 0 rgba(255, 255, 255, .4);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.poster-top-btn:hover { transform: translateY(-2px); box-shadow: 0 7px 20px rgba(56, 189, 248, .45); filter: brightness(1.06); }
.poster-top-btn:active { transform: translateY(0); }
.poster-top-btn svg { flex: none; }
@keyframes posterGlow {
  0%, 100% { box-shadow: 0 4px 14px rgba(56, 189, 248, .35); }
  50% { box-shadow: 0 4px 22px rgba(129, 140, 248, .55); }
}
.poster-top-btn { animation: posterGlow 3.2s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .poster-top-btn { animation: none; } }

.daily-lead {
  font-size: 13.5px;
  line-height: 1.95;
  color: var(--text-2);
  padding: 13px 16px;
  margin: 0 0 12px;
  border-left: 2px solid #22d3ee;
  border-radius: 0 12px 12px 0;
  background: linear-gradient(90deg, rgba(34, 211, 238, .1), rgba(var(--glass2-rgb), .32));
}
.daily-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 4px; }
.dr-metrics { display: flex; flex-wrap: wrap; gap: 7px; padding: 10px 0 13px; margin-bottom: 4px; border-bottom: 1px dashed var(--line); }
.drm { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 8px; border: 1px solid var(--line); background: var(--chip-bg); font-size: 11px; }
.drm i { font-style: normal; color: var(--text-3); }
.drm b { font-family: var(--mono); font-weight: 600; color: var(--text); max-width: 190px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* 正文排版：章节编号 + 科技感列表 */
.daily-content { counter-reset: sec; min-height: 180px; font-size: 13.5px; line-height: 1.95; color: var(--text-2); padding-top: 4px; }
.dc-h3 {
  counter-increment: sec;
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 16.5px;
  font-weight: 700;
  color: var(--text);
  margin: 22px 0 10px;
  padding: 0;
  border: 0;
}
.dc-h3::before {
  content: counter(sec, decimal-leading-zero);
  flex: none;
  min-width: 26px;
  height: 20px;
  padding: 0 6px;
  display: inline-grid;
  place-items: center;
  border-radius: 6px;
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 600;
  color: #67e8f9;
  background: rgba(34, 211, 238, .1);
  border: 1px solid rgba(34, 211, 238, .3);
}
.dc-h3::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, rgba(103, 232, 249, .35), transparent); }
.dc-h4 { font-size: 14px; font-weight: 700; color: var(--text); margin: 14px 0 8px; }
.dc-ul { list-style: none; margin: 8px 0 12px; padding-left: 0; }
.dc-ul li { position: relative; padding-left: 18px; margin: 7px 0; color: var(--text-2); }
.dc-ul li::before {
  content: '';
  position: absolute;
  left: 3px;
  top: .74em;
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: linear-gradient(135deg, #22d3ee, #8b5cf6);
  transform: rotate(45deg);
  opacity: .9;
}
.dc-p { margin: 8px 0; }
.dc-note {
  display: inline-block;
  margin: 0 4px 0 2px;
  padding: 0 6px;
  border-radius: 5px;
  font-size: 11px;
  font-weight: 600;
  color: #a78bfa;
  background: rgba(139, 92, 246, .12);
  border: 1px solid rgba(139, 92, 246, .3);
  vertical-align: 1px;
}
.dr-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-top: 18px; padding-top: 12px; border-top: 1px dashed var(--line); font-size: 11px; color: var(--text-3); }
.dr-foot span { display: inline-flex; align-items: center; gap: 6px; }
.dr-foot-model { font-family: var(--mono); letter-spacing: .04em; }
.dr-empty { min-height: 320px; display: grid; place-items: center; }

/* 浅色主题适配 */
html[data-theme="light"] .dic-card {
  border-color: rgba(8, 145, 178, .25);
  background:
    radial-gradient(240px 160px at 82% -10%, rgba(124, 58, 237, .1), transparent 65%),
    radial-gradient(200px 150px at 0% 105%, rgba(8, 145, 178, .1), transparent 70%),
    linear-gradient(160deg, #ffffff, #eff5fc);
  box-shadow: 0 14px 32px rgba(23, 52, 100, .1), inset 0 1px 0 #fff;
}
html[data-theme="light"] .dic-card::after {
  background-image:
    linear-gradient(rgba(30, 64, 120, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 64, 120, .05) 1px, transparent 1px);
}
html[data-theme="light"] .dic-kicker { color: #0e7490; }
html[data-theme="light"] .dic-day {
  background: linear-gradient(160deg, #12324f, #0e7490 55%, #7c3aed);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: none;
}
html[data-theme="light"] .dic-tag { color: #0e7490; }
html[data-theme="light"] .dic-foot { border-top-color: rgba(30, 64, 120, .14); }
html[data-theme="light"] .dic-ring { border-color: rgba(8, 145, 178, .3); }
html[data-theme="light"] .dic-ring.r2 { border-color: rgba(124, 58, 237, .28); }
html[data-theme="light"] .dr-report {
  background:
    linear-gradient(rgba(30, 64, 120, .04) 1px, transparent 1px) 0 0 / 100% 34px,
    linear-gradient(90deg, rgba(30, 64, 120, .04) 1px, transparent 1px) 0 0 / 34px 100%,
    radial-gradient(680px 240px at 92% -12%, rgba(124, 58, 237, .07), transparent 62%),
    radial-gradient(520px 220px at -8% 4%, rgba(8, 145, 178, .07), transparent 60%),
    linear-gradient(160deg, #ffffff, #f3f7fd);
  box-shadow: 0 16px 36px rgba(23, 52, 100, .09);
}
html[data-theme="light"] .dr-report::before { opacity: .35; }
html[data-theme="light"] .dr-scanline { background: linear-gradient(180deg, transparent, rgba(8, 145, 178, .05), transparent); }
html[data-theme="light"] .daily-title {
  background: linear-gradient(100deg, #10233a 20%, #0e7490 72%, #7c3aed);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
html[data-theme="light"] .dr-stamp { background: rgba(8, 145, 178, .06); border-color: rgba(8, 145, 178, .24); }
html[data-theme="light"] .dr-stamp b { color: #0e7490; }
html[data-theme="light"] .poster-top-btn { color: #ffffff; background: linear-gradient(135deg, #0891b2, #2563eb 60%, #6366f1); box-shadow: 0 4px 14px rgba(37, 99, 235, .3); }
html[data-theme="light"] .poster-top-btn:hover { box-shadow: 0 7px 20px rgba(37, 99, 235, .4); }
html[data-theme="light"] .daily-lead {
  background: linear-gradient(90deg, rgba(8, 145, 178, .08), rgba(255, 255, 255, .55));
  border-left-color: #0891b2;
}
html[data-theme="light"] .dc-h3::before { color: #0e7490; background: rgba(8, 145, 178, .08); border-color: rgba(8, 145, 178, .24); }
html[data-theme="light"] .dc-h3::after { background: linear-gradient(90deg, rgba(8, 145, 178, .3), transparent); }
html[data-theme="light"] .dc-note { color: #6d28d9; background: rgba(124, 58, 237, .08); border-color: rgba(124, 58, 237, .26); }
html[data-theme="light"] .dr-tl-item.active { background: linear-gradient(90deg, rgba(8, 145, 178, .1), transparent); }
html[data-theme="light"] .dr-tl-item.active .dr-tl-title { color: #0e7490; }
html[data-theme="light"] .dr-tl-node { border-color: rgba(8, 145, 178, .45); background: #fff; }
html[data-theme="light"] .dr-tl-item.active .dr-tl-node { background: #0891b2; border-color: #0891b2; box-shadow: 0 0 10px rgba(8, 145, 178, .5); }
@media (max-width: 980px) {
  .daily-layout { grid-template-columns: 1fr; }
  .dic-card { max-width: 420px; }
}
@media (prefers-reduced-motion: reduce) {
  .dr-scanline, .dic-ring, .dic-live i { animation: none; }
}

/* 页脚收藏快捷键提示 */
.site-footer .fav-hint { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.site-footer kbd {
  display: inline-block;
  padding: 1px 6px;
  border-radius: 5px;
  border: 1px solid var(--line-strong);
  border-bottom-width: 2px;
  background: var(--chip-bg);
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--text-2);
  line-height: 1.6;
}
@media (max-width: 720px) { .site-footer .fav-hint { display: none; } }
/* 手机端隐藏顶栏栏目标题（避免被搜索框挤压遮挡；需覆盖文件后部的基础 flex 规则） */
@media (max-width: 720px) {
  .page-title { display: none !important; }
  .top-search input { height: 36px; }
}

/* ================= AI 今日观察 · 视觉升级 ================= */
.insight-card {
  padding: 18px 22px 16px;
  border-color: rgba(139, 92, 246, .34);
  background:
    radial-gradient(420px 180px at 88% -20%, rgba(139, 92, 246, .18), transparent 65%),
    radial-gradient(320px 160px at 0% 110%, rgba(34, 211, 238, .12), transparent 70%),
    var(--insight-bg);
}
.insight-deco { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.id-ring {
  position: absolute; right: -46px; top: -46px; width: 150px; height: 150px;
  border-radius: 50%; border: 1px solid rgba(167, 139, 250, .3);
  animation: insSpin 16s linear infinite;
}
.id-ring::before {
  content: ''; position: absolute; top: -3px; left: 50%; width: 6px; height: 6px;
  margin-left: -3px; border-radius: 50%; background: #a78bfa; box-shadow: 0 0 10px rgba(167, 139, 250, .9);
}
.id-ring.r2 { right: -22px; top: -22px; width: 100px; height: 100px; border-style: dashed; border-color: rgba(34, 211, 238, .28); animation-duration: 11s; animation-direction: reverse; }
.id-ring.r2::before { background: #22d3ee; box-shadow: 0 0 10px rgba(34, 211, 238, .9); }
.id-core {
  position: absolute; right: 26px; top: 26px; width: 7px; height: 7px; border-radius: 50%;
  background: #67e8f9; box-shadow: 0 0 14px rgba(34, 211, 238, .8); animation: insPulse 2.4s ease-in-out infinite;
}
.id-scan {
  position: absolute; left: 0; right: 0; top: 0; height: 90px;
  background: linear-gradient(180deg, transparent, rgba(167, 139, 250, .07), transparent);
  animation: insScan 8s linear infinite;
}
@keyframes insSpin { to { transform: rotate(360deg); } }
@keyframes insPulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .4; transform: scale(.72); } }
@keyframes insScan { 0% { transform: translateY(-90px); } 100% { transform: translateY(420px); } }
.insight-head { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.insight-badge {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 13px; border-radius: 999px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .02em;
  color: #d6ccff;
  background: rgba(139, 92, 246, .14);
  border: 1px solid rgba(167, 139, 250, .38);
  box-shadow: 0 0 18px rgba(139, 92, 246, .18);
}
.insight-badge svg { animation: insSpark 3.2s ease-in-out infinite; }
@keyframes insSpark { 0%, 100% { transform: scale(1) rotate(0deg); opacity: 1; } 50% { transform: scale(1.22) rotate(14deg); opacity: .75; } }
.insight-live {
  display: inline-flex; align-items: center; gap: 5px;
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .18em;
  color: var(--green);
}
.insight-live i { width: 5px; height: 5px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); animation: insPulse 1.8s ease-in-out infinite; }
.insight-text {
  position: relative; z-index: 2;
  margin: 0 0 12px; color: var(--insight-text);
  font-size: 13.5px; line-height: 2;
  padding-left: 14px;
  border-left: 2px solid rgba(167, 139, 250, .55);
}
.insight-foot { position: relative; z-index: 2; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.insight-foot .insight-meta { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; color: var(--text-3); }
.insight-foot .insight-meta svg { opacity: .75; }
html[data-theme="light"] .insight-badge { color: #6d28d9; background: rgba(124, 58, 237, .09); border-color: rgba(124, 58, 237, .3); box-shadow: none; }
html[data-theme="light"] .id-ring { border-color: rgba(124, 58, 237, .26); }
html[data-theme="light"] .id-ring.r2 { border-color: rgba(8, 145, 178, .26); }
html[data-theme="light"] .id-scan { background: linear-gradient(180deg, transparent, rgba(124, 58, 237, .05), transparent); }
html[data-theme="light"] .insight-text { border-left-color: rgba(124, 58, 237, .45); }
@media (prefers-reduced-motion: reduce) { .id-ring, .id-core, .id-scan, .insight-badge svg, .insight-live i { animation: none; } }

/* ================= 日报海报分享 ================= */
.dr-foot-actions { display: inline-flex; align-items: center; gap: 12px; }
.poster-modal { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; }
.poster-modal[hidden] { display: none; }
.poster-mask { position: absolute; inset: 0; background: rgba(4, 8, 16, .72); backdrop-filter: blur(6px); }
.poster-panel {
  position: relative; z-index: 2;
  width: min(94vw, 640px); max-height: 92vh;
  display: flex; flex-direction: column;
  border-radius: 18px; border: 1px solid var(--line-strong);
  background: var(--panel-bg); box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
  overflow: hidden;
}
.poster-toolbar {
  display: flex; align-items: center; gap: 10px; row-gap: 8px; flex-wrap: wrap;
  padding: 12px 16px; border-bottom: 1px solid var(--line);
}
.poster-toolbar > b { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; color: var(--text); white-space: nowrap; }
.poster-region { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; color: var(--text-2); }
.poster-region > span { white-space: nowrap; }
.poster-region { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; color: var(--text-2); }
.poster-region select {
  height: 30px; padding: 0 8px; border-radius: 8px; font-size: 12px;
  border: 1px solid var(--line); background: var(--chip-bg); color: var(--text); outline: none;
}
.poster-toolbar-gap { flex: 1; }
.poster-close { background: none; border: 0; color: var(--text-3); cursor: pointer; padding: 6px; display: inline-flex; }
.poster-close:hover { color: var(--text); }
/* 预览滚动修复：改用 flex + margin auto，内容超高时也能完整看到顶部（grid 居中会裁掉上半截） */
.poster-stage { overflow-y: auto; padding: 18px 18px 22px; display: flex; justify-content: center; }
.poster-stage > .poster-canvas { margin: auto 0; }

/* 海报卡片（html2canvas 截图目标，固定宽度纯色背景） */
.poster-canvas {
  width: 480px; max-width: 100%;
  position: relative; overflow: hidden;
  padding: 26px 24px 20px;
  border-radius: 18px;
  color: #eaf6ff;
  background: linear-gradient(165deg, #0b1526 0%, #0a1220 55%, #101a30 100%);
  font-family: 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', sans-serif;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .45);
}
.po-grid {
  position: absolute; inset: 0; pointer-events: none;
  /* html2canvas 不支持 mask-image，改用径向渐变自然淡出，避免导出错位 */
  background-image:
    radial-gradient(circle at 50% 0%, rgba(103, 232, 249, .13), transparent 62%),
    linear-gradient(rgba(103, 232, 249, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(103, 232, 249, .055) 1px, transparent 1px);
  background-size: 100% 100%, 22px 22px, 22px 22px;
}
.po-head { position: relative; display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.po-kicker { display: block; font-size: 9.5px; letter-spacing: .18em; color: #67e8f9; margin-bottom: 6px; }
.po-title {
  display: block; font-size: 25px; font-weight: 800; letter-spacing: .02em;
  background: linear-gradient(100deg, #f2fbff, #67e8f9 65%, #a78bfa);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.po-issue {
  flex: none; padding: 7px 12px; border-radius: 10px; text-align: center;
  border: 1px solid rgba(103, 232, 249, .3); background: rgba(34, 211, 238, .08);
  font-family: Consolas, monospace; font-size: 10px; color: #67e8f9; letter-spacing: .1em;
}
.po-issue i { font-style: normal; font-size: 15px; font-weight: 700; display: block; }
.po-date-row {
  position: relative; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap;
  margin: 16px 0 12px; padding-bottom: 12px; border-bottom: 1px dashed rgba(103, 232, 249, .22);
}
.po-date-row > b { font-family: Consolas, monospace; font-size: 21px; color: #eaf6ff; letter-spacing: .04em; }
.po-date-row > span { font-size: 12px; color: rgba(234, 246, 255, .65); }
.po-region {
  margin-left: auto; display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 10px; border-radius: 999px; font-size: 11.5px;
  color: #a5f3fc; background: rgba(34, 211, 238, .1); border: 1px solid rgba(34, 211, 238, .3);
}
.po-region em { font-style: normal; font-weight: 600; }
.po-lead {
  position: relative; margin: 0 0 14px; font-size: 12.8px; line-height: 1.9;
  color: rgba(234, 246, 255, .82);
  padding: 10px 13px; border-left: 2px solid #22d3ee; border-radius: 0 10px 10px 0;
  background: rgba(34, 211, 238, .07);
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
  text-align: left;
}
.po-list { position: relative; list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-direction: column; gap: 7px; }
.po-list li { display: flex; gap: 9px; font-size: 12.3px; line-height: 1.7; color: rgba(234, 246, 255, .85); }
.po-list li i {
  flex: none; width: 18px; height: 18px; margin-top: 2px; border-radius: 5px;
  display: grid; place-items: center; font-style: normal; font-size: 9.5px; font-weight: 700;
  font-family: Consolas, monospace; color: #67e8f9;
  background: rgba(34, 211, 238, .12); border: 1px solid rgba(34, 211, 238, .32);
}
.po-list li span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.po-metrics { position: relative; display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 16px; }
.po-metrics span {
  padding: 4px 9px; border-radius: 7px; font-size: 10.5px;
  border: 1px solid rgba(103, 232, 249, .2); background: rgba(103, 232, 249, .06); color: rgba(234, 246, 255, .75);
}
.po-metrics b { font-family: Consolas, monospace; color: #67e8f9; }
.po-qr-row {
  position: relative; display: flex; align-items: center; gap: 13px;
  padding: 12px 14px; border-radius: 13px;
  border: 1px solid rgba(103, 232, 249, .22);
  background: linear-gradient(160deg, rgba(34, 211, 238, .09), rgba(139, 92, 246, .08));
}
.po-qr { flex: none; width: 76px; height: 76px; padding: 6px; border-radius: 10px; background: #fff; }
.po-qr img, .po-qr canvas { display: block; width: 64px; height: 64px; }
.po-qr-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.po-qr-text b { font-size: 13px; color: #eaf6ff; }
.po-qr-text > span { font-size: 10px; color: rgba(234, 246, 255, .6); font-family: Consolas, monospace; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 250px; }
.po-qr-sub { font-family: inherit !important; color: rgba(234, 246, 255, .5) !important; }
.po-foot { position: relative; margin-top: 14px; text-align: center; font-size: 9.5px; color: rgba(234, 246, 255, .4); letter-spacing: .04em; }
body.poster-rendering .poster-stage { overflow: visible; }

/* 海报弹窗 · 移动端适配 */
@media (max-width: 620px) {
  .poster-panel { width: 96vw; }
  .poster-toolbar { flex-wrap: wrap; gap: 8px 10px; padding: 10px 12px; }
  .poster-toolbar > b { font-size: 13px; }
  .poster-region span { white-space: nowrap; }
  .poster-region select { max-width: 150px; }
  .poster-toolbar .btn-primary { padding: 0 12px; height: 32px; }
  .poster-stage { padding: 12px 12px 18px; }
  .poster-canvas { width: 100%; padding: 20px 16px 16px; border-radius: 15px; }
  .po-title { font-size: 21px; }
  .po-date-row > b { font-size: 17px; }
  .po-lead { font-size: 12px; }
  .po-list li { font-size: 11.8px; }
  .po-qr { width: 62px; height: 62px; padding: 5px; }
  .po-qr img, .po-qr canvas { width: 52px; height: 52px; }
}

/* ================= 移动端：顶部海报按钮自适应 ================= */
@media (max-width: 720px) {
  .dr-head-right { width: 100%; order: -1; margin-bottom: 4px; }
  .poster-top-btn { flex: 1; justify-content: center; padding: 12px 16px; }
  .dr-stamp { width: 64px; }
}

/* ================= AI 日报 · 时间线固定高度 + 按月分组 + 待生成占位 ================= */
.dr-timeline {
  max-height: 480px;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 6px;
  scrollbar-width: thin;
  scrollbar-color: rgba(103, 232, 249, .35) transparent;
}
.dr-timeline::-webkit-scrollbar { width: 5px; }
.dr-timeline::-webkit-scrollbar-thumb { background: rgba(103, 232, 249, .3); border-radius: 99px; }
.dr-timeline::-webkit-scrollbar-track { background: transparent; }
.dr-tl-month {
  position: sticky; top: 0; z-index: 1;
  margin: 10px 0 4px; padding: 4px 2px 4px 8px;
  font: 600 10px/1.4 var(--mono); letter-spacing: .14em;
  color: #67e8f9;
  background: linear-gradient(90deg, rgba(34, 211, 238, .14), rgba(34, 211, 238, .02) 70%, transparent);
  border-left: 2px solid #22d3ee;
  border-radius: 0 8px 8px 0;
  backdrop-filter: blur(4px);
}
.dr-tl-item.pending { opacity: .78; }
.dr-tl-item.pending .dr-tl-body { flex: 1; }
.dr-tl-item.pending .dr-tl-title { color: var(--text-2); }
.dr-tl-node.pending { background: transparent; border: 1.5px dashed rgba(103, 232, 249, .55); animation: tlPending 1.8s ease-in-out infinite; }
@keyframes tlPending {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34, 211, 238, .35); }
  50% { box-shadow: 0 0 0 5px rgba(34, 211, 238, 0); }
}
.daily-wait {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  margin-bottom: 14px; padding: 10px 14px;
  border: 1px dashed rgba(103, 232, 249, .4); border-radius: 12px;
  background: rgba(34, 211, 238, .06);
  font-size: 12.5px; color: var(--text-2);
}
.daily-wait b { color: #67e8f9; }
html[data-theme="light"] .dr-tl-month { color: #0e7490; background: linear-gradient(90deg, rgba(8, 145, 178, .12), rgba(8, 145, 178, .02) 70%, transparent); border-left-color: #0891b2; }
html[data-theme="light"] .daily-wait { border-color: rgba(8, 145, 178, .35); background: rgba(8, 145, 178, .05); }
html[data-theme="light"] .daily-wait b { color: #0e7490; }

/* ================= AI 日报 · 折叠式月分组时间线（参考稿风格）+ 左栏固定 ================= */
.daily-layout { align-items: start; }
.daily-side {
  position: sticky; top: 90px;
  height: calc(100vh - 104px);
  overflow: hidden;
}
.dr-timeline-panel { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.dr-timeline {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 6px;
  background: transparent;
  scrollbar-width: thin;
  scrollbar-color: rgba(103, 232, 249, .3) transparent;
}
.dr-timeline::-webkit-scrollbar { width: 5px; }
.dr-timeline::-webkit-scrollbar-thumb { background: rgba(103, 232, 249, .3); border-radius: 99px; }
.dr-timeline::-webkit-scrollbar-track { background: transparent; }

.dr-tl-month-group { margin: 2px 0; }
.dr-tl-month {
  display: flex; align-items: center; gap: 8px; width: 100%;
  padding: 8px 10px; border: 0; border-radius: 10px; cursor: pointer;
  background: rgba(var(--glass2-rgb), .35); color: var(--text-2);
  font: 600 12px/1.4 var(--sans); text-align: left;
  transition: background .15s ease, color .15s ease;
}
.dr-tl-month:hover { background: rgba(var(--glass2-rgb), .75); }
.dr-tl-month b { flex: 1; letter-spacing: .02em; }
.dr-tl-month-group.open:not(.closed) > .dr-tl-month { color: #67e8f9; background: rgba(34, 211, 238, .1); }
.dr-tl-caret { display: grid; place-items: center; opacity: .75; transition: transform .18s ease; }
.dr-tl-month-group.open:not(.closed) > .dr-tl-month .dr-tl-caret { transform: rotate(90deg); }
.dr-tl-mcount { font: 500 11px var(--mono); color: var(--text-3); }
.dr-tl-month-group.closed > .dr-tl-month-items { display: none; }
.dr-tl-month-items { display: flex; flex-direction: column; padding: 6px 0 4px 2px; }

.dr-tl-item { position: relative; display: flex; gap: 12px; padding: 8px 10px; border-radius: 10px; transition: background .15s ease; }
.dr-tl-item:hover { background: rgba(var(--glass2-rgb), .5); }
.dr-tl-item.active { background: linear-gradient(90deg, rgba(34, 211, 238, .12), transparent); }
.dr-tl-day { flex: none; width: 40px; text-align: center; }
.dr-tl-day b { display: block; font: 700 20px/1.15 var(--mono); color: var(--text); letter-spacing: .02em; }
.dr-tl-day i { font: 500 10px var(--sans); font-style: normal; color: var(--text-3); }
.dr-tl-item.active .dr-tl-day b { color: #67e8f9; }
.dr-tl-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1; }
.dr-tl-date { font: 500 10px var(--mono); letter-spacing: .08em; color: var(--text-3); }
.dr-tl-title { font-size: 12.5px; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dr-tl-item.active .dr-tl-title { color: #67e8f9; }
.dr-tl-item.pending { opacity: .8; }
.dr-tl-item.pending .dr-tl-day b { color: #67e8f9; animation: tlPendingNum 1.8s ease-in-out infinite; }
@keyframes tlPendingNum { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }

html[data-theme="light"] .dr-tl-month { background: rgba(8, 145, 178, .06); color: var(--text-2); }
html[data-theme="light"] .dr-tl-month:hover { background: rgba(8, 145, 178, .12); }
html[data-theme="light"] .dr-tl-month-group.open:not(.closed) > .dr-tl-month { color: #0e7490; background: rgba(8, 145, 178, .1); }
html[data-theme="light"] .dr-tl-item.active { background: linear-gradient(90deg, rgba(8, 145, 178, .1), transparent); }
html[data-theme="light"] .dr-tl-item.active .dr-tl-day b,
html[data-theme="light"] .dr-tl-item.active .dr-tl-title { color: #0e7490; }
html[data-theme="light"] .dr-timeline { scrollbar-color: rgba(8, 145, 178, .35) transparent; }

@media (max-width: 720px) {
  .daily-side { position: static; }
  .dr-timeline { max-height: 420px; }
}

/* ================= AI 智推 · 最近 7 天统计卡片 ================= */
.week-stats { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.week-stat {
  flex: 1; min-width: 108px;
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; border-radius: 14px;
  border: 1px solid rgba(103, 232, 249, .2);
  background: linear-gradient(135deg, rgba(34, 211, 238, .08), rgba(129, 140, 248, .06));
  position: relative; overflow: hidden;
}
.week-stat::after {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--ws-accent, #22d3ee); opacity: .85;
}
.week-stat b { font: 700 26px/1 var(--mono); color: var(--ws-accent, #67e8f9); }
.week-stat span { display: flex; flex-direction: column; gap: 2px; font-size: 12px; font-weight: 600; color: var(--text-2); }
.week-stat span i { font-style: normal; font: 400 10px var(--mono); letter-spacing: .06em; color: var(--text-3); }
.week-stat.lvl-city { --ws-accent: #34d399; }
.week-stat.lvl-prov { --ws-accent: #fbbf24; }
.week-stat.lvl-nat  { --ws-accent: #38bdf8; }
html[data-theme="light"] .week-stat {
  border-color: rgba(8, 145, 178, .18);
  background: linear-gradient(135deg, rgba(8, 145, 178, .05), rgba(79, 70, 229, .04));
}
html[data-theme="light"] .week-stat.lvl-city { --ws-accent: #059669; }
html[data-theme="light"] .week-stat.lvl-prov { --ws-accent: #d97706; }
html[data-theme="light"] .week-stat.lvl-nat  { --ws-accent: #0284c7; }
@media (max-width: 720px) {
  .week-stat { min-width: 30%; padding: 10px 12px; gap: 8px; }
  .week-stat b { font-size: 20px; }
}

/* ================= 海报内容升级：完整摘要 + 今日要闻（标题+AI解读） ================= */
.po-lead {
  display: block;
  -webkit-line-clamp: unset;
  -webkit-box-orient: unset;
  overflow: visible;
  text-align: left;
}
.po-list-cap {
  position: relative; margin: 0 0 9px;
  font: 700 10.5px/1 var(--sans); letter-spacing: .16em;
  color: #67e8f9;
  display: flex; align-items: center; gap: 8px;
}
.po-list-cap::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, rgba(103, 232, 249, .35), transparent); }
.po-list li { align-items: flex-start; }
.po-list li .po-item { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.po-list li .po-item b {
  font-weight: 600; font-size: 12.4px; line-height: 1.55; color: #eaf6ff;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.po-list li .po-item em {
  font-style: normal; font-size: 11px; line-height: 1.6; color: rgba(234, 246, 255, .55);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* ================= 海报 html2canvas 兼容：去渐变文字/去裁切盒子（改字符串截断） ================= */
.po-title {
  background: none;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  -webkit-text-fill-color: #ecf9ff;
  color: #ecf9ff;
}
.po-list li span { display: flex; -webkit-line-clamp: unset; -webkit-box-orient: unset; overflow: visible; }
.po-list li .po-item { display: flex; overflow: visible; }
.po-list li .po-item b,
.po-list li .po-item em {
  display: block;
  -webkit-line-clamp: unset;
  -webkit-box-orient: unset;
  overflow: visible;
}
.po-qr-text > span {
  overflow: visible;
  white-space: nowrap;
  max-width: 100%;
}

/* ================= 海报深浅色主题切换 ================= */
.poster-theme {
  display: inline-flex; align-items: center; gap: 3px;
  padding: 3px; border-radius: 9px; border: 1px solid var(--line);
  background: var(--chip-bg);
}
.poster-theme button {
  border: 0; background: none; cursor: pointer;
  padding: 4px 11px; border-radius: 7px;
  font-size: 11.5px; font-weight: 600; color: var(--text-3);
  display: inline-flex; align-items: center; gap: 5px; white-space: nowrap;
  transition: background .15s ease, color .15s ease;
}
.poster-theme button:hover { color: var(--text); }
.poster-theme button.active { background: rgba(34, 211, 238, .14); color: #67e8f9; }
html[data-theme="light"] .poster-theme button.active { background: rgba(8, 145, 178, .12); color: #0e7490; }
.poster-theme .pt-dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; opacity: .8; }

/* 浅色海报：全部使用纯色，确保 html2canvas 导出不变形 */
.poster-canvas.theme-light {
  color: #12263f;
  background: #f4f8fc;
  box-shadow: 0 20px 50px rgba(15, 40, 80, .18);
}
.poster-canvas.theme-light .po-grid {
  background-image:
    radial-gradient(circle at 50% 0%, rgba(8, 145, 178, .1), transparent 62%),
    linear-gradient(rgba(8, 145, 178, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8, 145, 178, .05) 1px, transparent 1px);
  background-size: 100% 100%, 22px 22px, 22px 22px;
}
.poster-canvas.theme-light .po-kicker { color: #0891b2; }
.poster-canvas.theme-light .po-title {
  -webkit-text-fill-color: #0d2b4d; color: #0d2b4d;
}
.poster-canvas.theme-light .po-issue {
  color: #0891b2; border-color: rgba(8, 145, 178, .35); background: rgba(8, 145, 178, .08);
}
.poster-canvas.theme-light .po-date-row { border-bottom-color: rgba(8, 145, 178, .25); }
.poster-canvas.theme-light .po-date-row > b { color: #12263f; }
.poster-canvas.theme-light .po-date-row > span { color: rgba(18, 38, 63, .6); }
.poster-canvas.theme-light .po-region {
  color: #0e7490; background: rgba(8, 145, 178, .08); border-color: rgba(8, 145, 178, .3);
}
.poster-canvas.theme-light .po-lead {
  color: rgba(18, 38, 63, .85); border-left-color: #0891b2; background: rgba(8, 145, 178, .06);
}
.poster-canvas.theme-light .po-list-cap { color: #0891b2; }
.poster-canvas.theme-light .po-list-cap::after { background: linear-gradient(90deg, rgba(8, 145, 178, .35), transparent); }
.poster-canvas.theme-light .po-list li { color: rgba(18, 38, 63, .88); }
.poster-canvas.theme-light .po-list li i {
  color: #0891b2; background: rgba(8, 145, 178, .1); border-color: rgba(8, 145, 178, .35);
}
.poster-canvas.theme-light .po-list li .po-item b { color: #12263f; }
.poster-canvas.theme-light .po-list li .po-item em { color: rgba(18, 38, 63, .55); }
.poster-canvas.theme-light .po-metrics span {
  color: rgba(18, 38, 63, .75); border-color: rgba(8, 145, 178, .22); background: rgba(8, 145, 178, .05);
}
.poster-canvas.theme-light .po-metrics b { color: #0891b2; }
.poster-canvas.theme-light .po-qr-row {
  border-color: rgba(8, 145, 178, .28); background: rgba(8, 145, 178, .06);
}
.poster-canvas.theme-light .po-qr-text b { color: #12263f; }
.poster-canvas.theme-light .po-qr-text > span { color: rgba(18, 38, 63, .6); }
.poster-canvas.theme-light .po-qr-sub { color: rgba(18, 38, 63, .45) !important; }
.poster-canvas.theme-light .po-foot { color: rgba(18, 38, 63, .45); }

/* ================= 反馈类型选择 chips ================= */
.fb-type-field > span { display: block; margin-bottom: 8px; }
.fb-type-group { display: flex; gap: 8px; flex-wrap: wrap; }
.fb-type-chip { position: relative; cursor: pointer; }
.fb-type-chip input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.fb-type-chip span {
  display: inline-flex; align-items: center; padding: 7px 16px;
  border-radius: 999px; font-size: 12.5px; font-weight: 600;
  color: var(--text-3);
  border: 1px solid rgba(var(--glass2-rgb), .8);
  background: rgba(var(--glass2-rgb), .3);
  transition: all .15s ease;
}
.fb-type-chip:hover span { border-color: rgba(103, 232, 249, .4); color: var(--text-2); }
.fb-type-chip input:checked + span {
  color: #67e8f9; border-color: rgba(34, 211, 238, .55);
  background: rgba(34, 211, 238, .1);
}
.fb-type-chip input:focus-visible + span { outline: 2px solid rgba(103, 232, 249, .5); }
html[data-theme="light"] .fb-type-chip input:checked + span { color: #0e7490; border-color: rgba(8, 145, 178, .5); background: rgba(8, 145, 178, .08); }

/* ================= 后台 · 用户反馈列表 ================= */
.fb-admin-list { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
.fb-admin-item {
  padding: 12px 14px; border-radius: 12px;
  border: 1px solid rgba(var(--glass2-rgb), .8);
  background: rgba(var(--glass2-rgb), .3);
}
.fb-admin-item.done { opacity: .62; }
.fb-admin-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.fb-admin-type {
  padding: 3px 10px; border-radius: 999px; font-size: 11px; font-weight: 700;
  color: #67e8f9; background: rgba(34, 211, 238, .1); border: 1px solid rgba(34, 211, 238, .3);
}
.fb-admin-item.done .fb-admin-type { color: var(--text-3); background: rgba(var(--glass2-rgb), .5); border-color: rgba(var(--glass2-rgb), .9); }
.fb-admin-meta { flex: 1; font: 400 11px var(--mono); color: var(--text-3); }
.fb-admin-status { font-size: 11px; font-weight: 600; color: #fbbf24; }
.fb-admin-item.done .fb-admin-status { color: #34d399; }
.fb-admin-msg { margin: 9px 0; font-size: 13px; line-height: 1.75; color: var(--text); word-break: break-word; }
.fb-admin-acts { display: flex; gap: 8px; }
.fb-admin-acts form { margin: 0; }
.btn-ghost.small.danger { color: #f87171; border-color: rgba(248, 113, 113, .35); }
.btn-ghost.small.danger:hover { background: rgba(248, 113, 113, .1); border-color: rgba(248, 113, 113, .6); }
html[data-theme="light"] .fb-admin-type { color: #0e7490; background: rgba(8, 145, 178, .08); border-color: rgba(8, 145, 178, .3); }
html[data-theme="light"] .btn-ghost.small.danger { color: #dc2626; border-color: rgba(220, 38, 38, .35); }

/* ================= 后台反馈页升级：统计卡 + 全宽面板 + 空态 ================= */
.fb-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 16px; }
.fb-stat {
  padding: 16px 18px; border-radius: 14px;
  border: 1px solid rgba(var(--glass2-rgb), .8);
  background: linear-gradient(160deg, rgba(var(--glass2-rgb), .5), rgba(var(--glass2-rgb), .15));
  display: flex; flex-direction: column; gap: 5px;
}
.fb-stat-num { font: 700 24px/1 var(--mono); color: #67e8f9; letter-spacing: .02em; }
.fb-stat-label { font-size: 11.5px; color: var(--text-3); letter-spacing: .04em; }
.fb-stat.is-warn .fb-stat-num { color: #fbbf24; }
.fb-admin-panel { width: 100%; }
.fb-empty {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 44px 20px 40px; text-align: center;
}
.fb-empty-icon {
  width: 72px; height: 72px; border-radius: 22px;
  display: grid; place-items: center; color: #67e8f9;
  border: 1px dashed rgba(103, 232, 249, .4);
  background: rgba(34, 211, 238, .07);
  animation: fbFloat 3.2s ease-in-out infinite;
}
@keyframes fbFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.fb-empty b { font-size: 15px; color: var(--text); }
.fb-empty p { margin: 0; max-width: 420px; font-size: 12.5px; line-height: 1.8; color: var(--text-3); }
html[data-theme="light"] .fb-stat-num { color: #0e7490; }
html[data-theme="light"] .fb-stat.is-warn .fb-stat-num { color: #d97706; }
html[data-theme="light"] .fb-empty-icon { color: #0e7490; border-color: rgba(8, 145, 178, .4); background: rgba(8, 145, 178, .06); }
@media (max-width: 900px) { .fb-stats { grid-template-columns: repeat(2, 1fr); } }

/* ================= 后台 · 系统设置模型卡（置顶通栏） ================= */
.admin-card.span-full { grid-column: 1 / -1; }
.model-foot {
  margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line);
  display: grid; grid-template-columns: minmax(220px, 1.2fr) minmax(220px, 1fr); gap: 14px;
}
.model-foot .model-kv { margin: 0; }
.model-foot .model-status { margin: 0; }
@media (max-width: 900px) { .model-foot { grid-template-columns: 1fr; } }

/* ================= 后台 · 数据统计 ================= */
.stats-grid { display: grid; grid-template-columns: 1fr; gap: 16px; align-items: start; }
.fb-stats .fb-stat { position: relative; overflow: hidden; }

/* 近 14 天趋势柱状图 */
.v-trend {
  display: flex; align-items: flex-end; gap: 6px;
  height: 190px; padding: 10px 4px 2px;
}
.v-trend-col {
  flex: 1; min-width: 0; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 5px;
}
.v-trend-n { font: 600 10px var(--mono); color: #67e8f9; min-height: 13px; }
.v-trend-bar-wrap { width: 100%; max-width: 34px; flex: 1; display: flex; align-items: flex-end; }
.v-trend-bar {
  width: 100%; border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, rgba(34, 211, 238, .85), rgba(34, 211, 238, .35));
  min-height: 3px;
  transition: opacity .15s ease;
}
.v-trend-col:hover .v-trend-bar { background: linear-gradient(180deg, #67e8f9, rgba(34, 211, 238, .5)); }
.v-trend-date { font: 500 9.5px var(--mono); color: var(--text-3); white-space: nowrap; }
html[data-theme="light"] .v-trend-n { color: #0e7490; }
html[data-theme="light"] .v-trend-bar { background: linear-gradient(180deg, rgba(8, 145, 178, .8), rgba(8, 145, 178, .3)); }
html[data-theme="light"] .v-trend-col:hover .v-trend-bar { background: linear-gradient(180deg, #0891b2, rgba(8, 145, 178, .45)); }

/* 栏目分布条 */
.v-dist { display: flex; flex-direction: column; gap: 11px; padding: 6px 2px 2px; }
.v-dist-row { display: flex; align-items: center; gap: 12px; }
.v-dist-name { flex: none; width: 74px; font-size: 12.5px; font-weight: 600; color: var(--text-2); }
.v-dist-track { flex: 1; height: 12px; border-radius: 99px; background: rgba(var(--glass2-rgb), .5); overflow: hidden; }
.v-dist-bar {
  height: 100%; border-radius: 99px;
  background: linear-gradient(90deg, rgba(34, 211, 238, .9), rgba(139, 92, 246, .75));
}
.v-dist-num { flex: none; width: 150px; text-align: right; font-size: 11.5px; color: var(--text-3); }
.v-dist-num b { font-family: var(--mono); color: #67e8f9; font-size: 12.5px; }
html[data-theme="light"] .v-dist-bar { background: linear-gradient(90deg, rgba(8, 145, 178, .85), rgba(79, 70, 229, .65)); }
html[data-theme="light"] .v-dist-num b { color: #0e7490; }
@media (max-width: 720px) {
  .v-dist-name { width: 58px; font-size: 11.5px; }
  .v-dist-num { width: auto; }
}

/* 访问明细表 */
.v-head-actions { display: flex; align-items: center; gap: 9px; }
.v-head-actions select {
  height: 30px; padding: 0 8px; border-radius: 8px; font-size: 12px;
  border: 1px solid var(--line); background: var(--chip-bg); color: var(--text); outline: none;
}
.v-table-wrap { overflow-x: auto; }
.v-table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.v-table th {
  text-align: left; padding: 9px 12px; white-space: nowrap;
  font-size: 11px; letter-spacing: .06em; color: var(--text-3); font-weight: 600;
  border-bottom: 1px solid var(--line);
}
.v-table td { padding: 9px 12px; border-bottom: 1px solid rgba(var(--glass2-rgb), .4); color: var(--text); }
.v-table tbody tr:hover { background: rgba(var(--glass2-rgb), .35); }
.v-td-time { font-family: var(--mono); font-size: 11.5px; color: var(--text-2); white-space: nowrap; }
.v-td-ip { font-family: var(--mono); font-size: 12px; white-space: nowrap; }
.v-geo-chip, .v-page-chip {
  display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 999px;
  font-size: 11px; white-space: nowrap;
}
.v-geo-chip { color: #67e8f9; background: rgba(34, 211, 238, .1); border: 1px solid rgba(34, 211, 238, .28); }
.v-geo-pending { font-size: 11px; color: var(--text-3); font-style: italic; }
.v-page-chip { color: var(--text-2); background: rgba(var(--glass2-rgb), .55); border: 1px solid var(--line); }
html[data-theme="light"] .v-geo-chip { color: #0e7490; background: rgba(8, 145, 178, .08); border-color: rgba(8, 145, 178, .3); }
@media (max-width: 720px) {
  .v-table th:nth-child(2), .v-table td.v-td-ip { display: none; }
}

/* 明细分页 */
.v-pagebar {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap;
  margin-top: 12px; font-size: 12px; color: var(--text-3);
}
.v-page-btns { display: flex; gap: 5px; flex-wrap: wrap; }
.v-page-btns a {
  padding: 4px 10px; border-radius: 8px; font-size: 12px; text-decoration: none;
  color: var(--text-2); border: 1px solid var(--line); background: rgba(var(--glass-rgb), .6);
  transition: background .15s ease, color .15s ease;
}
.v-page-btns a:hover { color: var(--text); }
.v-page-btns a.active { color: #67e8f9; border-color: rgba(34, 211, 238, .4); background: rgba(34, 211, 238, .1); font-weight: 600; }
html[data-theme="light"] .v-page-btns a.active { color: #0e7490; border-color: rgba(8, 145, 178, .4); background: rgba(8, 145, 178, .08); }

/* ================= 前端反馈类型 chips 增强 ================= */
.fb-type-field > span { margin-bottom: 10px; font-weight: 600; }
.fb-type-group { gap: 10px; }
.fb-type-chip span {
  padding: 9px 20px; font-size: 13px; font-weight: 600;
  border: 1.5px solid rgba(103, 232, 249, .28);
  background: rgba(34, 211, 238, .05);
  color: var(--text-2);
  transition: all .16s ease;
}
.fb-type-chip span::before { content: ''; display: inline-block; width: 6px; height: 6px; margin-right: 7px; border-radius: 99px; background: currentColor; opacity: .55; }
.fb-type-chip:hover span {
  transform: translateY(-2px);
  border-color: rgba(103, 232, 249, .55);
  color: var(--text);
  box-shadow: 0 5px 14px rgba(34, 211, 238, .16);
}
.fb-type-chip input:checked + span {
  color: #22d3ee; border-color: rgba(34, 211, 238, .8);
  background: rgba(34, 211, 238, .14);
  box-shadow: 0 4px 16px rgba(34, 211, 238, .22), inset 0 0 0 1px rgba(103, 232, 249, .25);
}
.fb-type-chip input:checked + span::before { opacity: 1; box-shadow: 0 0 8px rgba(34, 211, 238, .8); }
html[data-theme="light"] .fb-type-chip span { border-color: rgba(8, 145, 178, .3); background: rgba(8, 145, 178, .04); }
html[data-theme="light"] .fb-type-chip input:checked + span { color: #0891b2; border-color: rgba(8, 145, 178, .8); background: rgba(8, 145, 178, .1); box-shadow: 0 4px 14px rgba(8, 145, 178, .18); }
@media (max-width: 620px) { .fb-type-chip span { padding: 8px 15px; font-size: 12.5px; } }

/* ================= 后台数据统计改版：指标卡 + SVG 趋势 + 两列布局 ================= */
.vs-cards {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-bottom: 16px;
}
.vs-card {
  position: relative; overflow: hidden;
  padding: 15px 16px 13px; border-radius: 15px;
  border: 1px solid rgba(var(--glass2-rgb), .8);
  background: linear-gradient(155deg, rgba(var(--glass2-rgb), .55), rgba(var(--glass2-rgb), .18));
  display: flex; flex-direction: column; gap: 4px;
  transition: transform .18s ease, box-shadow .18s ease;
}
.vs-card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(0, 0, 0, .28); }
.vs-card::after {
  content: ''; position: absolute; right: -26px; top: -26px; width: 74px; height: 74px;
  border-radius: 50%; background: var(--vs-c, rgba(34, 211, 238, .12)); filter: blur(26px); opacity: .55;
}
.vs-icon {
  width: 32px; height: 32px; border-radius: 10px; margin-bottom: 5px;
  display: grid; place-items: center;
  color: var(--vs-ic, #67e8f9); background: var(--vs-bg, rgba(34, 211, 238, .12));
  border: 1px solid var(--vs-bd, rgba(34, 211, 238, .3));
}
.vs-num { font: 700 26px/1.1 var(--mono); color: var(--vs-ic, #67e8f9); letter-spacing: .02em; }
.vs-label { font-size: 12.5px; font-weight: 600; color: var(--text); }
.vs-note { font-size: 10.5px; color: var(--text-3); }
.vs-card.c-cyan  { --vs-c: rgba(34,211,238,.16); --vs-ic: #67e8f9; --vs-bg: rgba(34,211,238,.12); --vs-bd: rgba(34,211,238,.32); }
.vs-card.c-violet{ --vs-c: rgba(139,92,246,.18); --vs-ic: #a78bfa; --vs-bg: rgba(139,92,246,.14); --vs-bd: rgba(139,92,246,.34); }
.vs-card.c-green { --vs-c: rgba(52,211,153,.16); --vs-ic: #34d399; --vs-bg: rgba(52,211,153,.12); --vs-bd: rgba(52,211,153,.32); }
.vs-card.c-amber { --vs-c: rgba(251,191,36,.16); --vs-ic: #fbbf24; --vs-bg: rgba(251,191,36,.12); --vs-bd: rgba(251,191,36,.32); }
.vs-card.c-blue  { --vs-c: rgba(96,165,250,.16); --vs-ic: #60a5fa; --vs-bg: rgba(96,165,250,.12); --vs-bd: rgba(96,165,250,.32); }
html[data-theme="light"] .vs-card { box-shadow: 0 2px 10px rgba(15, 40, 80, .05); }
html[data-theme="light"] .vs-card:hover { box-shadow: 0 12px 26px rgba(15, 40, 80, .12); }
html[data-theme="light"] .vs-card.c-cyan  { --vs-ic: #0e7490; --vs-bg: rgba(8,145,178,.09); --vs-bd: rgba(8,145,178,.28); }
html[data-theme="light"] .vs-card.c-violet{ --vs-ic: #6d28d9; --vs-bg: rgba(109,40,217,.08); --vs-bd: rgba(109,40,217,.28); }
html[data-theme="light"] .vs-card.c-green { --vs-ic: #047857; --vs-bg: rgba(4,120,87,.08);  --vs-bd: rgba(4,120,87,.28); }
html[data-theme="light"] .vs-card.c-amber { --vs-ic: #b45309; --vs-bg: rgba(180,83,9,.08);  --vs-bd: rgba(180,83,9,.28); }
html[data-theme="light"] .vs-card.c-blue  { --vs-ic: #1d4ed8; --vs-bg: rgba(29,78,216,.08); --vs-bd: rgba(29,78,216,.28); }
@media (max-width: 1080px) { .vs-cards { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 620px)  { .vs-cards { grid-template-columns: repeat(2, 1fr); } }

.stats-grid.two { display: grid; grid-template-columns: 1.7fr 1fr; gap: 16px; align-items: stretch; margin-bottom: 16px; }
@media (max-width: 1080px) { .stats-grid.two { grid-template-columns: 1fr; } }

/* SVG 趋势图 */
.v-trend-panel { min-width: 0; }
.v-svg-wrap { padding: 4px 2px 0; }
.v-svg { width: 100%; height: auto; display: block; }
.v-grid-line { stroke: rgba(var(--glass2-rgb), .8); stroke-width: 1; }
html[data-theme="light"] .v-grid-line { stroke: rgba(15, 40, 80, .12); }
.v-axis-txt { font: 500 10px var(--mono); fill: var(--text-3); }
.v-axis-txt.is-today { fill: #67e8f9; font-weight: 700; }
html[data-theme="light"] .v-axis-txt.is-today { fill: #0e7490; }
.v-val-txt { font: 700 10.5px var(--mono); fill: #67e8f9; }
.v-val-txt.is-today { fill: #8b5cf6; font-size: 11.5px; }
html[data-theme="light"] .v-val-txt { fill: #0e7490; }
html[data-theme="light"] .v-val-txt.is-today { fill: #6d28d9; }
.v-dot { fill: #22d3ee; stroke: rgba(7, 11, 20, .9); stroke-width: 1.6; }
.v-dot.is-today { fill: #8b5cf6; r: 5; filter: drop-shadow(0 0 6px rgba(139, 92, 246, .8)); }
html[data-theme="light"] .v-dot { stroke: #fff; }

/* 栏目分布（右列）：紧凑纵向排布 */
.v-dist-panel { min-width: 0; }
.v-dist-panel .v-dist { gap: 10px; padding-top: 10px; }
.v-dist-num { width: 44px; text-align: right; }

/* 访问明细页码 */
.v-pagebar {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap;
  padding: 12px 4px 2px;
}
.v-pageinfo { font-size: 12px; color: var(--text-3); }
.v-pageinfo b { color: #67e8f9; font-family: var(--mono); }
html[data-theme="light"] .v-pageinfo b { color: #0e7490; }
.v-page-btns { display: flex; align-items: center; gap: 5px; flex-wrap: wrap; }
.v-page-btns a {
  min-width: 30px; height: 30px; padding: 0 8px; border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center;
  font: 600 12.5px var(--mono); color: var(--text-2);
  border: 1px solid var(--line); background: rgba(var(--glass2-rgb), .3);
  transition: all .15s ease;
}
.v-page-btns a:hover { border-color: rgba(34, 211, 238, .5); color: #67e8f9; }
.v-page-btns a.active {
  color: #06121f; background: linear-gradient(135deg, #22d3ee, #38bdf8);
  border-color: transparent; box-shadow: 0 4px 14px rgba(34, 211, 238, .35);
}
html[data-theme="light"] .v-page-btns a.active { color: #fff; background: linear-gradient(135deg, #0891b2, #0284c7); box-shadow: 0 4px 14px rgba(8, 145, 178, .3); }
.v-page-btns a.v-nav { font-family: var(--sans); font-weight: 600; }
.v-page-btns .v-nav.off { opacity: .38; cursor: default; }
.v-page-btns .v-ellipsis { color: var(--text-3); padding: 0 2px; font-size: 12px; }

/* ================= 侧栏广告位（左下角，仅前台访客可见） ================= */
.side-ad {
  position: relative; margin: 12px 14px 4px;
  border-radius: 14px; overflow: hidden;
  border: 1px solid rgba(var(--glass2-rgb), .8);
  background: rgba(var(--glass2-rgb), .3);
}
.side-ad .ad-view {
  position: relative; display: block; width: 100%; aspect-ratio: 16 / 10; overflow: hidden; background: rgba(var(--glass2-rgb), .4);
}
.side-ad .ad-view a, .side-ad .ad-view img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block;
}
.side-ad .ad-view a { opacity: 0; transition: opacity .5s ease; }
.side-ad .ad-view a.on { opacity: 1; }
.side-ad .ad-tag {
  position: absolute; left: 8px; top: 8px; z-index: 3;
  padding: 2px 8px; border-radius: 6px;
  font-size: 10px; font-weight: 700; letter-spacing: .12em;
  color: #0b1526; background: rgba(255, 255, 255, .85);
  backdrop-filter: blur(4px);
}
.side-ad .ad-close {
  position: absolute; right: 6px; top: 6px; z-index: 3;
  width: 20px; height: 20px; border-radius: 6px; border: 0; cursor: pointer;
  display: grid; place-items: center; padding: 0;
  color: #0b1526; background: rgba(255, 255, 255, .85);
  font-size: 13px; line-height: 1;
  backdrop-filter: blur(4px);
  transition: background .15s ease;
}
.side-ad .ad-close:hover { background: #fff; }
.side-ad .ad-dots {
  position: absolute; left: 0; right: 0; bottom: 6px; z-index: 3;
  display: flex; justify-content: center; gap: 5px;
}
.side-ad .ad-dots i {
  width: 5px; height: 5px; border-radius: 50%;
  background: rgba(255, 255, 255, .5); transition: all .25s ease;
}
.side-ad .ad-dots i.on { width: 14px; border-radius: 99px; background: #fff; }
.side-ad.ad-empty { padding: 0; }
