/* =========================================================
   粉丝投票监督站 · 全局样式
   ========================================================= */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #0a0e17;
  --bg2: #0c121d;
  --surface: rgba(255, 255, 255, .055);
  --surface2: rgba(255, 255, 255, .10);
  --border: rgba(255, 255, 255, .10);
  --border2: rgba(255, 255, 255, .20);
  --text: #e9edf4;
  --muted: #9aa4b9;
  --amber: #f5b04d;
  --red: #f2555a;
  --cyan: #4fd7e8;
  --green: #3ddc84;
  --grad: linear-gradient(135deg, #f7b64a 0%, #f2555a 100%);
  --grad-cyan: linear-gradient(135deg, #4fd7e8, #5b7cfa);
  --radius: 18px;
  --radius-s: 12px;
  --shadow: 0 18px 50px rgba(0, 0, 0, .4);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(55% 45% at 12% -5%, rgba(245, 176, 77, .13), transparent 62%),
    radial-gradient(45% 40% at 88% 0%, rgba(242, 85, 90, .10), transparent 60%),
    radial-gradient(70% 55% at 50% 110%, rgba(79, 215, 232, .08), transparent 62%),
    linear-gradient(180deg, #0a0e17, #0b1019 45%, #090d14);
}
body::after {
  content: "";
  position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .45;
  background-image:
    linear-gradient(rgba(255, 255, 255, .028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .028) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(85% 60% at 50% 0%, #000, transparent 72%);
  mask-image: radial-gradient(85% 60% at 50% 0%, #000, transparent 72%);
}
::selection { background: rgba(242, 85, 90, .35); color: #fff; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font-family: inherit; }

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

/* =========================================================
   导航
   ========================================================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  background: rgba(10, 14, 23, .72);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .3s;
}
.nav.scrolled { box-shadow: 0 8px 30px rgba(0, 0, 0, .35); }
.nav-inner {
  max-width: 1180px; margin: 0 auto; padding: 0 24px; height: 66px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 17px; letter-spacing: .2px; }
.logo-mark {
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  background: var(--grad); box-shadow: 0 4px 18px rgba(242, 85, 90, .45); color: #fff;
  flex-shrink: 0;
}
.logo-mark svg { width: 18px; height: 18px; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  padding: 8px 14px; border-radius: 999px; font-size: 14.5px; color: var(--muted);
  transition: color .25s, background .25s;
}
.nav-links a:hover { color: var(--text); background: var(--surface); }
.nav-links a.active { color: #fff; background: rgba(255, 255, 255, .12); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 10px 8px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .3s, opacity .3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   按钮
   ========================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; border-radius: 999px; font-size: 15px; font-weight: 700;
  transition: transform .25s, box-shadow .25s, background .25s, color .25s, border-color .25s;
  will-change: transform;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 8px 26px rgba(242, 85, 90, .35); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(242, 85, 90, .45); }
.btn-ghost { border: 1px solid var(--border2); color: var(--text); background: var(--surface); }
.btn-ghost:hover { background: var(--surface2); border-color: rgba(255, 255, 255, .32); transform: translateY(-2px); }
.btn-cyan { background: var(--grad-cyan); color: #fff; box-shadow: 0 8px 26px rgba(79, 215, 232, .3); }
.btn-cyan:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(79, 215, 232, .42); }
.btn-sm { padding: 8px 16px; font-size: 13.5px; }

/* =========================================================
   Hero
   ========================================================= */
.hero { padding: 150px 0 70px; position: relative; text-align: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px; border-radius: 999px;
  font-size: 13px; color: var(--amber); background: rgba(245, 176, 77, .1);
  border: 1px solid rgba(245, 176, 77, .3); margin-bottom: 26px;
}
.hero-badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--amber); animation: pulse 1.6s infinite; }
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(245, 176, 77, .5); }
  50% { box-shadow: 0 0 0 6px rgba(245, 176, 77, 0); }
}
.hero h1 { font-size: clamp(34px, 6vw, 58px); line-height: 1.18; font-weight: 900; letter-spacing: 1px; margin-bottom: 20px; }
.hero h1 .grad {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.hero-sub { max-width: 680px; margin: 0 auto 34px; color: var(--muted); font-size: clamp(15px, 2.2vw, 17.5px); }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 64px; }
.stat {
  padding: 24px 18px; border-radius: var(--radius); text-align: center;
  background: var(--surface); border: 1px solid var(--border);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transition: transform .3s, border-color .3s;
}
.stat:hover { transform: translateY(-4px); border-color: var(--border2); }
.stat-num {
  font-size: clamp(24px, 3.4vw, 34px); font-weight: 900; white-space: nowrap;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat-label { margin-top: 4px; font-size: 13.5px; color: var(--muted); }

/* =========================================================
   区块
   ========================================================= */
.section { padding: 70px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 34px; flex-wrap: wrap; }
.section-eyebrow { font-size: 13px; font-weight: 800; letter-spacing: 2.5px; text-transform: uppercase; color: var(--amber); margin-bottom: 8px; }
.section-title { font-size: clamp(24px, 3.6vw, 32px); font-weight: 900; letter-spacing: .5px; }
.section-sub { color: var(--muted); margin-top: 8px; max-width: 620px; font-size: 15px; }
.section-more { font-size: 14px; color: var(--cyan); font-weight: 600; display: inline-flex; align-items: center; gap: 4px; transition: gap .25s; }
.section-more:hover { gap: 8px; }

/* =========================================================
   卡片与网格
   ========================================================= */
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.card:hover { transform: translateY(-5px); border-color: var(--border2); box-shadow: var(--shadow); }

/* 动态卡片 */
.news-card { padding: 22px; display: flex; flex-direction: column; gap: 12px; position: relative; overflow: hidden; }
.news-card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(80% 60% at 100% 0%, rgba(255, 255, 255, .06), transparent 60%);
}
.news-tag { align-self: flex-start; font-size: 12px; font-weight: 800; letter-spacing: .5px; padding: 4px 12px; border-radius: 999px; }
.news-tag.warn { color: var(--amber); background: rgba(245, 176, 77, .12); border: 1px solid rgba(245, 176, 77, .3); }
.news-tag.danger { color: var(--red); background: rgba(242, 85, 90, .12); border: 1px solid rgba(242, 85, 90, .3); }
.news-tag.info { color: var(--cyan); background: rgba(79, 215, 232, .12); border: 1px solid rgba(79, 215, 232, .3); }
.news-tag.normal { color: var(--green); background: rgba(61, 220, 132, .12); border: 1px solid rgba(61, 220, 132, .3); }
.news-title { font-size: 17px; font-weight: 800; line-height: 1.5; }
.news-desc { font-size: 14px; color: var(--muted); }
.news-meta { margin-top: auto; font-size: 12.5px; color: var(--muted); display: flex; align-items: center; gap: 6px; }

/* 功能卡 */
.feature-card { padding: 30px 26px; display: flex; flex-direction: column; gap: 14px; position: relative; overflow: hidden; }
.feature-icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-size: 24px;
  background: var(--surface2); border: 1px solid var(--border2);
}
.feature-title { font-size: 19px; font-weight: 800; }
.feature-desc { font-size: 14px; color: var(--muted); flex: 1; }
.feature-link { font-size: 14px; font-weight: 700; color: var(--cyan); display: inline-flex; align-items: center; gap: 4px; transition: gap .25s; }
.feature-link:hover { gap: 8px; }

/* 图表框 */
.chart-box { padding: 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); backdrop-filter: blur(16px); }
.chart-box h3 { font-size: 17px; font-weight: 800; margin-bottom: 4px; }
.chart-box .cap { font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.chart-wrap { position: relative; height: 320px; }

/* CTA */
.cta {
  margin: 10px 0 80px; padding: 48px 34px; text-align: center; border-radius: 24px;
  background: linear-gradient(135deg, rgba(245, 176, 77, .14), rgba(242, 85, 90, .14)), var(--surface);
  border: 1px solid rgba(245, 176, 77, .28); backdrop-filter: blur(16px);
  position: relative; overflow: hidden;
}
.cta::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(70% 80% at 50% 0%, rgba(245, 176, 77, .18), transparent 65%);
}
.cta h2 { font-size: clamp(22px, 3.4vw, 30px); font-weight: 900; margin-bottom: 10px; }
.cta p { color: var(--muted); max-width: 560px; margin: 0 auto 26px; font-size: 15px; }
.cta .btn { position: relative; }

/* =========================================================
   内页页头
   ========================================================= */
.page-head { padding: 138px 0 44px; text-align: center; }
.page-title { font-size: clamp(28px, 4.6vw, 42px); font-weight: 900; letter-spacing: 1px; }
.page-title .grad {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.page-sub { max-width: 680px; margin: 14px auto 0; color: var(--muted); font-size: 15.5px; }

/* =========================================================
   筛选栏
   ========================================================= */
.filter-bar {
  display: flex; gap: 14px; align-items: center; flex-wrap: wrap; padding: 18px 20px;
  border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border);
  backdrop-filter: blur(14px); margin-bottom: 26px;
}
.select, .input {
  background: rgba(0, 0, 0, .28); border: 1px solid var(--border2); color: var(--text);
  padding: 10px 16px; border-radius: 10px; font-size: 14px; outline: none;
  transition: border-color .25s, background .25s;
}
.select:focus, .input:focus { border-color: var(--amber); background: rgba(0, 0, 0, .4); }
.select { appearance: none; -webkit-appearance: none; padding-right: 34px; cursor: pointer; position: relative; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.search-box { position: relative; flex: 1; min-width: 220px; }
.search-box .input { width: 100%; padding-right: 40px; }
.search-box .search-ico { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: 15px; pointer-events: none; }
.toolbar-right { margin-left: auto; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }

/* =========================================================
   表格
   ========================================================= */
.table-wrap { overflow-x: auto; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); backdrop-filter: blur(14px); }
table { width: 100%; border-collapse: collapse; min-width: 840px; font-size: 14px; }
thead th {
  text-align: left; padding: 16px 18px; font-size: 12.5px; letter-spacing: 1px; color: var(--muted);
  text-transform: uppercase; border-bottom: 1px solid var(--border); white-space: nowrap;
  background: rgba(255, 255, 255, .03);
}
tbody td { padding: 15px 18px; border-bottom: 1px solid rgba(255, 255, 255, .06); vertical-align: middle; }
tbody tr { transition: background .2s; }
tbody tr:hover { background: rgba(255, 255, 255, .035); }
tbody tr:last-child td { border-bottom: none; }
.td-title { font-weight: 700; color: var(--text); }
.td-sub { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; padding: 4px 12px; border-radius: 999px; white-space: nowrap; }
.badge i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge.ok { color: var(--green); background: rgba(61, 220, 132, .12); border: 1px solid rgba(61, 220, 132, .28); }
.badge.watch { color: var(--amber); background: rgba(245, 176, 77, .12); border: 1px solid rgba(245, 176, 77, .28); }
.badge.anomaly { color: var(--red); background: rgba(242, 85, 90, .12); border: 1px solid rgba(242, 85, 90, .28); }
.trend-up { color: var(--red); font-weight: 700; }
.trend-warn { color: var(--amber); font-weight: 700; }
.trend-down { color: var(--green); font-weight: 700; }
.trend-flat { color: var(--muted); }
.platform-pill { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--cyan); }
.platform-pill .p-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); }

/* =========================================================
   表单
   ========================================================= */
.form-card { padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); backdrop-filter: blur(14px); }
.form-card h3 { font-size: 19px; font-weight: 800; margin-bottom: 6px; }
.form-card .form-desc { font-size: 13.5px; color: var(--muted); margin-bottom: 20px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--text); }
.field label .req { color: var(--red); }
.field .input, .field .select { width: 100%; }
textarea.input { min-height: 110px; resize: vertical; line-height: 1.6; }
.help-text { font-size: 12px; color: var(--muted); }
.form-foot { display: flex; align-items: center; gap: 14px; margin-top: 20px; flex-wrap: wrap; }
.form-tip { font-size: 12.5px; color: var(--muted); }
.form-tip b { color: var(--amber); }
.hint-row { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); }
.hint-row b { color: var(--amber); }
.hint-row .ico { font-size: 14px; }

/* =========================================================
   规则卡
   ========================================================= */
.rule-card { padding: 24px; position: relative; overflow: hidden; }
.rule-num { font-size: 13px; font-weight: 900; letter-spacing: 1px; color: var(--amber); text-transform: uppercase; }
.rule-title { font-size: 17px; font-weight: 800; margin: 6px 0 8px; }
.rule-desc { font-size: 14px; color: var(--muted); }
.rule-desc b { color: var(--text); }

/* =========================================================
   曝光帖
   ========================================================= */
.post-card { padding: 24px; margin-bottom: 20px; }
.post-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.post-user { display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  font-weight: 800; font-size: 15px; color: #fff; background: var(--grad); flex-shrink: 0;
}
.avatar.cyan { background: var(--grad-cyan); }
.avatar.purple { background: linear-gradient(135deg, #a78bfa, #ec4899); }
.avatar.green { background: linear-gradient(135deg, #34d399, #22d3ee); }
.post-user b { font-size: 14.5px; }
.post-time { font-size: 12.5px; color: var(--muted); }
.post-tags { display: flex; gap: 8px; flex-wrap: wrap; margin: 14px 0 12px; }
.tag { font-size: 12px; font-weight: 700; padding: 3px 12px; border-radius: 999px; border: 1px solid var(--border2); color: var(--muted); }
.tag.star { color: var(--amber); background: rgba(245, 176, 77, .1); border-color: rgba(245, 176, 77, .3); }
.tag.platform { color: var(--cyan); background: rgba(79, 215, 232, .1); border-color: rgba(79, 215, 232, .3); }
.tag.type { color: #c4b5fd; background: rgba(196, 181, 253, .1); border-color: rgba(196, 181, 253, .3); }
.post-body { font-size: 14.5px; color: var(--text); line-height: 1.8; }
.evidence { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.evidence-chip {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; padding: 8px 14px; border-radius: 10px;
  background: rgba(0, 0, 0, .28); border: 1px dashed var(--border2); color: var(--muted);
  transition: border-color .25s, color .25s;
}
.evidence-chip:hover { border-color: var(--amber); color: var(--text); }
.post-actions { display: flex; gap: 12px; margin-top: 16px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .07); }
.post-actions button {
  display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 600; color: var(--muted);
  padding: 8px 16px; border-radius: 999px; transition: background .25s, color .25s, transform .2s;
}
.post-actions button:hover { background: var(--surface2); color: var(--text); }
.post-actions button:active { transform: scale(.95); }
.post-actions .like-btn.liked { color: var(--red); }
.post-actions .like-btn.liked .heart { animation: pop .35s ease; }
@keyframes pop { 0% { transform: scale(1); } 40% { transform: scale(1.5); } 100% { transform: scale(1); } }
.comment-area { margin-top: 14px; display: none; animation: fadeIn .3s; }
.comment-area.open { display: block; }
.comment-box { display: flex; gap: 10px; margin-top: 14px; }
.comment-box .input { flex: 1; }
.comment-list { margin-top: 14px; display: flex; flex-direction: column; gap: 10px; }
.comment-item { display: flex; gap: 10px; font-size: 13.5px; background: rgba(0, 0, 0, .22); padding: 10px 14px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .06); }
.comment-item b { color: var(--amber); white-space: nowrap; }
.comment-item span { color: var(--muted); }
@keyframes fadeIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* 标签页 */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.tab {
  padding: 9px 18px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--muted);
  background: var(--surface); border: 1px solid var(--border); transition: all .25s;
}
.tab:hover { color: var(--text); border-color: var(--border2); }
.tab.active { color: #fff; background: var(--grad); border-color: transparent; box-shadow: 0 6px 20px rgba(242, 85, 90, .3); }

/* =========================================================
   步骤
   ========================================================= */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step-card { padding: 28px; }
.step-num {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  font-weight: 900; font-size: 17px; color: #fff; background: var(--grad);
  box-shadow: 0 6px 20px rgba(242, 85, 90, .4); margin-bottom: 16px;
}
.step-title { font-size: 17px; font-weight: 800; margin-bottom: 8px; }
.step-desc { font-size: 14px; color: var(--muted); }
.step-desc li { margin-left: 18px; margin-bottom: 6px; }

/* =========================================================
   手风琴
   ========================================================= */
.accordion { display: flex; flex-direction: column; gap: 12px; }
.acc-item { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; backdrop-filter: blur(14px); }
.acc-head {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 18px 22px; font-size: 15.5px; font-weight: 700; text-align: left; color: var(--text);
  transition: background .25s;
}
.acc-head:hover { background: rgba(255, 255, 255, .04); }
.acc-arrow { width: 22px; height: 22px; flex-shrink: 0; position: relative; transition: transform .3s; }
.acc-arrow::before, .acc-arrow::after { content: ""; position: absolute; background: var(--amber); border-radius: 2px; }
.acc-arrow::before { width: 12px; height: 2px; top: 10px; left: 5px; }
.acc-arrow::after { width: 2px; height: 12px; top: 5px; left: 10px; transition: opacity .2s; }
.acc-item.open .acc-arrow { transform: rotate(180deg); }
.acc-item.open .acc-arrow::after { opacity: 0; }
.acc-body { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.acc-inner { padding: 0 22px 20px; font-size: 14px; color: var(--muted); line-height: 1.9; }

/* =========================================================
   渠道卡
   ========================================================= */
.channel-card { padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.channel-ico { font-size: 26px; }
.channel-title { font-size: 16px; font-weight: 800; }
.channel-desc { font-size: 13.5px; color: var(--muted); }
.channel-link { font-size: 13.5px; color: var(--cyan); font-weight: 600; }

/* =========================================================
   Toast
   ========================================================= */
.toast {
  position: fixed; left: 50%; bottom: 34px; transform: translate(-50%, 20px); z-index: 100;
  padding: 14px 26px; border-radius: 999px; background: rgba(16, 22, 36, .92); border: 1px solid var(--border2);
  color: var(--text); font-size: 14px; font-weight: 600; backdrop-filter: blur(14px);
  box-shadow: var(--shadow); opacity: 0; pointer-events: none;
  transition: opacity .35s, transform .35s; max-width: calc(100vw - 40px); text-align: center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* =========================================================
   弹窗
   ========================================================= */
.modal-mask {
  position: fixed; inset: 0; z-index: 90; background: rgba(6, 9, 15, .68); backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center; padding: 20px;
  opacity: 0; pointer-events: none; transition: opacity .3s;
}
.modal-mask.open { opacity: 1; pointer-events: auto; }
.modal {
  width: 100%; max-width: 620px; max-height: 88vh; overflow-y: auto;
  border-radius: 20px; background: linear-gradient(180deg, #111827, #0d1420);
  border: 1px solid var(--border2); padding: 30px; box-shadow: var(--shadow);
  transform: translateY(18px) scale(.98); transition: transform .3s;
}
.modal-mask.open .modal { transform: none; }
.modal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.modal-head h3 { font-size: 20px; font-weight: 900; }
.modal-close { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--surface2); color: var(--muted); font-size: 16px; transition: all .25s; }
.modal-close:hover { color: #fff; background: var(--red); transform: rotate(90deg); }

/* =========================================================
   分析结果
   ========================================================= */
.report-card { padding: 24px; margin-top: 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); backdrop-filter: blur(14px); }
.report-card h4 { font-size: 16px; font-weight: 800; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.report-card ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.report-card li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--text); }
.report-card li .rmark { flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 900; color: #fff; margin-top: 2px; }
.rmark.danger { background: var(--red); }
.rmark.warn { background: var(--amber); color: #221a08; }
.rmark.ok { background: var(--green); }
.report-empty { text-align: center; color: var(--muted); font-size: 14px; padding: 18px 0; }
.metric-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 16px; }
.metric { padding: 16px; border-radius: 12px; background: rgba(0, 0, 0, .26); border: 1px solid var(--border); text-align: center; }
.metric b { display: block; font-size: 22px; font-weight: 900; }
.metric span { font-size: 12.5px; color: var(--muted); }

/* =========================================================
   Footer
   ========================================================= */
.footer { border-top: 1px solid var(--border); padding: 52px 0 30px; margin-top: 40px; background: rgba(8, 11, 18, .6); }
.footer-inner { max-width: 1180px; margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.footer .logo { margin-bottom: 14px; }
.footer h4 { font-size: 15px; font-weight: 800; margin-bottom: 14px; }
.footer p, .footer a { font-size: 13.5px; color: var(--muted); line-height: 2; }
.footer a:hover { color: var(--text); }
.footer-note { margin-top: 14px; font-size: 12.5px; color: #66707f; }
.footer-copy { margin-top: 34px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .07); font-size: 12.5px; color: #66707f; text-align: center; }

/* =========================================================
   揭示动画
   ========================================================= */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* =========================================================
   响应式
   ========================================================= */
@media (max-width: 960px) {
  .grid-3, .steps { grid-template-columns: 1fr 1fr; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed; top: 66px; left: 0; right: 0; flex-direction: column; align-items: stretch;
    background: rgba(10, 14, 23, .96); backdrop-filter: blur(20px); border-bottom: 1px solid var(--border);
    padding: 12px 20px 20px; transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: opacity .3s, transform .3s;
  }
  .nav-links.open { opacity: 1; pointer-events: auto; transform: none; }
  .nav-links a { padding: 13px 16px; border-radius: 12px; }
  .hero { padding: 120px 0 50px; }
  .grid-3, .grid-2, .steps { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .form-grid { grid-template-columns: 1fr; }
  .section { padding: 52px 0; }
  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
  .metric-grid { grid-template-columns: 1fr 1fr; }
  .filter-bar { align-items: stretch; }
  .search-box { flex: 1 1 100%; }
  .toolbar-right { margin-left: 0; }
  .tabs { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; }
  .tab { white-space: nowrap; }
  .chart-wrap { height: 260px; }
  .modal { padding: 22px; }
  .page-head { padding: 118px 0 34px; }
}
