:root {
  color-scheme: dark;
  --bg: #08120c;
  --bg-2: #0d1a12;
  --panel: rgba(13, 26, 18, 0.72);
  --panel-strong: rgba(17, 33, 23, 0.88);
  --line: rgba(234, 255, 226, 0.09);
  --text: #f5f8f3;
  --muted: rgba(245, 248, 243, 0.72);
  --soft: rgba(245, 248, 243, 0.58);
  --accent: #b8ff63;
  --accent-2: #7be46b;
  --accent-3: #ff5d52;
  --accent-4: #ffd35c;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --max: 960px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 18% 12%, rgba(184, 255, 99, 0.22), transparent 22%),
    radial-gradient(circle at 82% 18%, rgba(255, 93, 82, 0.12), transparent 18%),
    radial-gradient(circle at 78% 78%, rgba(123, 228, 107, 0.16), transparent 20%),
    linear-gradient(180deg, #08120c 0%, #0c1710 35%, #09100b 100%);
  color: var(--text);
  font-family: "SF Pro Text", "SF Pro Display", "PingFang SC", "Hiragino Sans GB", "Avenir Next", "Helvetica Neue", sans-serif;
  overflow-x: hidden;
}
.bg-orb {
  position: fixed;
  border-radius: 999px;
  pointer-events: none;
  z-index: 0;
  contain: strict;
  /* 提升为独立合成层，避免滚动时反复重绘背景 */
  transform: translateZ(0);
  will-change: transform;
}
.bg-orb-a {
  width: 360px;
  height: 360px;
  left: -100px;
  top: 80px;
  background: radial-gradient(circle, rgba(184, 255, 99, 0.42), rgba(184, 255, 99, 0.02) 70%);
}
.bg-orb-b {
  width: 420px;
  height: 420px;
  right: -140px;
  top: 180px;
  background: radial-gradient(circle, rgba(255, 93, 82, 0.2), rgba(255, 93, 82, 0.02) 68%);
}
.topbar,
main,
.footer {
  position: relative;
  z-index: 2;
}
.topbar,
.section,
.hero,
.footer {
  width: min(var(--max), calc(100vw - 32px));
  margin: 0 auto;
}
.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 18px 0 14px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}
.brand-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}
.brand strong,
.brand small {
  display: block;
}
.brand strong {
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}
.brand small {
  font-size: 0.72rem;
  color: var(--muted);
  margin-top: 1px;
}
.nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.nav a,
.nav-link {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 12px;
  transition: color 0.18s ease, background 0.18s ease;
}
.nav a:hover,
.nav-link:hover {
  color: var(--text);
  background: rgba(234, 255, 226, 0.08);
}
.nav a.is-active,
.nav-link.is-active {
  color: #0a1408;
  background: var(--lime);
}
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}
/* ===== Hero / Download ===== */
.hero {
  padding: 2px 0 4px;
}
.hero-frame {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px;
  align-items: stretch;
}
.hero-intro {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 26px 24px;
  position: relative;
  overflow: hidden;
}
.hero-intro::before {
  content: "";
  position: absolute;
  width: 340px;
  height: 340px;
  left: 50%;
  top: -150px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(184, 255, 99, 0.14), transparent 70%);
  pointer-events: none;
}
.hero-intro > * {
  position: relative;
}
.hero-intro .eyebrow,
.hero-intro .download-actions,
.hero-intro .hero-meta {
  justify-content: center;
}
.hero-intro .tagline {
  margin-left: auto;
  margin-right: auto;
}
.hero-intro .checksum-inline {
  margin-left: auto;
  margin-right: auto;
}
.hero-intro .checksum-inline summary {
  text-align: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 4px;
}
.hero h1 {
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
  line-height: 1;
}
.title-main {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, #ffffff 0%, #b8ff63 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.tagline {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 46ch;
  margin: 10px 0 0;
}
.download-actions {
  display: flex;
  justify-content: flex-start;
  gap: 12px;
  margin-top: 18px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 26px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn svg {
  flex: none;
}
.btn-primary {
  color: #07210e;
  background: linear-gradient(135deg, var(--accent) 0%, #d8ff8e 100%);
  box-shadow: 0 14px 28px rgba(184, 255, 99, 0.24);
}
.btn-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.hero-meta {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  flex-wrap: wrap;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(184, 255, 99, 0.12);
  color: #ddffac;
  font-size: 0.72rem;
  font-weight: 700;
  border: 1px solid rgba(184, 255, 99, 0.24);
}
.badge-soft {
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
  border-color: rgba(255, 255, 255, 0.08);
}
.checksum-inline {
  max-width: 520px;
  margin: 12px 0 0;
  text-align: left;
}
.checksum-inline summary {
  cursor: pointer;
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--soft);
  font-size: 0.74rem;
  text-align: left;
  user-select: none;
}
.checksum-inline summary::-webkit-details-marker {
  display: none;
}
.checksum-inline summary::before {
  content: "▸ ";
  color: var(--accent);
}
.checksum-inline[open] summary::before {
  content: "▾ ";
}
.checksum-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
  padding: 10px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.07);
}
.sha-pair {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.sha-pair > span {
  flex: none;
  min-width: 56px;
  color: var(--muted);
  font-size: 0.78rem;
}
.sha-pair code {
  flex: 1;
  min-width: 0;
  font-family: "SF Mono", "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.72rem;
  color: var(--soft);
  word-break: break-all;
  line-height: 1.45;
}
.copy-btn {
  flex: none;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font-size: 0.78rem;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
}
.copy-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}
.copy-btn.copied {
  background: rgba(184, 255, 99, 0.18);
  color: #ddffac;
  border-color: rgba(184, 255, 99, 0.3);
}
/* ===== Hero screenshot (cropped + fade) ===== */
.hero-shot,
.panel-card.hero-shot {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 0;
}
.device-shell {
  width: 100%;
  border-radius: 18px;
  /* 深色半透明底即可，去掉 backdrop-filter 模糊，避免滚动时的高昂重绘开销 */
  background: linear-gradient(180deg, rgba(13, 26, 18, 0.82), rgba(8, 18, 12, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.4);
  overflow: hidden;
}
.shot-fade {
  position: absolute;
  inset: auto 0 0 0;
  height: 30%;
  background: linear-gradient(to bottom, transparent 0%, var(--bg) 95%);
  pointer-events: none;
}
.device-top {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.traffic {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex: none;
}
.traffic.red { background: #ff5f57; }
.traffic.yellow { background: #febc2e; }
.traffic.green { background: #28c840; }
.device-brand {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 6px;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.device-tabs {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.tab {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--soft);
  font-size: 0.8rem;
  white-space: nowrap;
  flex: none;
}
.tab.is-active {
  background: rgba(184, 255, 99, 0.14);
  color: #ddffac;
  font-weight: 600;
}
/* 半宽列下 6 个标签紧凑排开 */
.device-shell .tab {
  min-height: 25px;
  padding: 0 11px;
  font-size: 0.76rem;
}
.device-body {
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
/* ===== 卡片行 ===== */
.dash-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.dash-row.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.dash-row.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
/* ===== 网络速度（下载 / 上传） ===== */
.net-pair {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 8px 0;
}
.net-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.net-arrow {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1;
}
.net-col.down .net-arrow {
  background: rgba(58, 209, 117, 0.18);
  color: #4de68a;
}
.net-col.up .net-arrow {
  background: rgba(255, 159, 67, 0.18);
  color: #ffb866;
}
.net-col strong {
  color: var(--text);
  font-size: 0.82rem;
  font-variant-numeric: tabular-nums;
}
.net-divider {
  width: 1px;
  height: 38px;
  background: rgba(255, 255, 255, 0.08);
}
/* ===== 各核心使用率 ===== */
.core-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  padding: 8px 2px;
}
.net-item.down .net-icon {
  background: rgba(58, 209, 117, 0.18);
  color: #4de68a;
}
.net-item.up .net-icon {
  background: rgba(255, 159, 67, 0.18);
  color: #ffb866;
}
.net-divider {
  width: 1px;
  height: 36px;
  background: rgba(255, 255, 255, 0.08);
}
.dash-chart .chart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}
/* ===== 动态概览面板（原生宽度绘制，不缩放，保证清晰） ===== */
.live-dashboard {
  padding: 8px;
  gap: 8px;
}
.live-dashboard .dash-grid.gauges {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}
.live-dashboard .gauge-cell {
  border-radius: 12px;
  padding: 8px 9px 6px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  min-width: 0;
}
.live-dashboard .gauge-head {
  display: flex;
  align-items: center;
  gap: 5px;
  align-self: stretch;
  width: 100%;
  justify-content: space-between;
  color: var(--text);
  font-size: 0.76rem;
  font-weight: 600;
  white-space: nowrap;
}
.live-dashboard .gauge-title {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
}
.live-dashboard .gauge-head svg {
  color: var(--soft);
  flex: none;
}
.live-dashboard .gauge-top {
  color: #5a9cff;
  font-size: 0.55rem;
  font-weight: 700;
  white-space: nowrap;
  opacity: 0.95;
}
.live-dashboard .gauge-ring {
  position: relative;
  width: 62px;
  height: 62px;
  margin: 0 auto;
}
.live-dashboard .gauge-ring svg {
  width: 100%;
  height: 100%;
  display: block;
}
.live-dashboard .gauge-arc {
  transition: stroke-dasharray 0.7s ease, stroke 0.7s ease;
}
.live-dashboard .gauge-value {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  line-height: 1;
}
.live-dashboard .gauge-value strong {
  font-size: 1.05rem;
  letter-spacing: -0.03em;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.live-dashboard .gauge-value span {
  font-size: 0.58rem;
  color: var(--muted);
}
.live-dashboard .gauge-foot {
  color: var(--soft);
  font-size: 0.62rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  line-height: 1.2;
}
.live-dashboard .dash-row.metrics {
  /* 真机：风扇+网速各占 1/4，各核心占 1/2 */
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 2fr);
  gap: 6px;
}
.live-dashboard .metric-cell {
  border-radius: 12px;
  padding: 7px 9px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}
.live-dashboard .metric-head {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--text);
  font-size: 0.74rem;
  font-weight: 600;
  white-space: nowrap;
}
.live-dashboard .metric-head svg {
  color: var(--soft);
  flex: none;
}
.live-dashboard .metric-body {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--text);
  min-height: 30px;
  /* 同行卡片被拉伸时，让内容在标题下方的剩余空间里垂直居中 */
  margin-top: auto;
  margin-bottom: auto;
}
.live-dashboard .metric-body strong {
  font-size: 1.1rem;
  font-variant-numeric: tabular-nums;
}
.live-dashboard .fan-icon {
  color: #ffb866;
  flex: none;
  width: 26px;
  height: 26px;
  animation: fan-spin 3s linear infinite;
  transform-origin: center;
  transform-box: fill-box;
  will-change: transform;
}
.live-dashboard .fan-divider {
  width: 1px;
  height: 26px;
  background: rgba(255, 255, 255, 0.1);
  flex: none;
}
.live-dashboard .fan-val {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  line-height: 1.1;
  min-width: 0;
}
.live-dashboard .fan-val strong {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.1;
}
.live-dashboard .fan-val span {
  font-size: 0.46rem;
  color: var(--muted);
  line-height: 1.1;
  white-space: nowrap;
}
@keyframes fan-spin {
  to { transform: rotate(360deg); }
}
.live-dashboard .metric-cell.fan .metric-body strong {
  color: #ffb866;
}
.live-dashboard .net-pair {
  gap: 8px;
  padding: 0;
}
.live-dashboard .net-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  min-width: 0;
}
.live-dashboard .net-arrow {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.56rem;
  font-weight: 700;
  line-height: 1;
}
.live-dashboard .net-col.down .net-arrow {
  background: rgba(58, 209, 117, 0.18);
  color: #4de68a;
}
.live-dashboard .net-col.up .net-arrow {
  background: rgba(255, 159, 67, 0.18);
  color: #ffb866;
}
.live-dashboard .net-col strong {
  color: var(--text);
  font-size: 0.76rem;
  font-variant-numeric: tabular-nums;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.live-dashboard .net-val {
  display: inline-flex;
  align-items: baseline;
  gap: 1px;
  max-width: 100%;
  overflow: hidden;
  white-space: nowrap;
}
.live-dashboard .net-unit {
  font-size: 0.5rem;
  color: var(--muted);
  white-space: nowrap;
}
.live-dashboard .net-cap {
  font-size: 0.46rem;
  color: var(--muted);
  white-space: nowrap;
}
.live-dashboard .net-divider {
  width: 1px;
  height: 24px;
  background: rgba(255, 255, 255, 0.08);
  flex: none;
}
.live-dashboard .dash-cell.cores {
  border-radius: 12px;
  padding: 7px 9px 6px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.live-dashboard .dash-cell-head {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--text);
  font-size: 0.68rem;
  font-weight: 600;
  margin-bottom: 5px;
  white-space: nowrap;
}
.live-dashboard .dash-cell-head svg {
  color: var(--soft);
  flex: none;
}
.live-dashboard .core-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: repeat(2, 22px);
  gap: 4px;
  padding: 0;
}
.live-dashboard .core-cell {
  height: 22px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.05);
  overflow: hidden;
  padding: 2px 2px;
  display: flex;
  align-items: stretch;
}
.live-dashboard .core-cell svg {
  width: 100%;
  height: 100%;
  display: block;
}
.live-dashboard .core-cell polyline {
  transition: stroke 0.4s ease;
}
/* 历史折线卡 */
.live-dashboard .dash-row.charts {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}
.live-dashboard .chart-cell {
  border-radius: 12px;
  padding: 6px 8px 5px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.live-dashboard .chart-head {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--text);
  font-size: 0.68rem;
  font-weight: 600;
  white-space: nowrap;
}
.live-dashboard .chart-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex: none;
}
.live-dashboard .spark {
  width: 100%;
  height: 36px;
  display: block;
}
.live-dashboard .spark polyline {
  fill: none;
  transition: stroke 0.4s ease;
}
/* ===== Sections ===== */
.section {
  padding: 30px 0 8px;
}
/* 小节标题 */
.section-head {
  text-align: center;
  margin-bottom: 18px;
}
.section-head .eyebrow {
  justify-content: center;
  margin-bottom: 6px;
}
.section-head h2 {
  margin: 0;
  font-size: 1.55rem;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #ffffff 0%, #b8ff63 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
/* 核心功能三卡 */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.feature-card {
  border-radius: var(--radius-lg);
  padding: 20px 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--fc, #5a9cff), transparent);
  opacity: 0.7;
}
.feature-card h3 {
  margin: 12px 0 6px;
  font-size: 1rem;
}
.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.6;
}
.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.feature-icon svg {
  color: inherit;
}
.feature-card.monitor .feature-icon,
.feature-icon.monitor {
  background: rgba(90, 156, 255, 0.14);
  color: #7ab5ff;
}
.feature-card.clean .feature-icon,
.feature-icon.clean {
  background: rgba(58, 209, 117, 0.14);
  color: #5ce896;
}
.feature-card.uninstall .feature-icon,
.feature-icon.uninstall {
  background: rgba(167, 111, 255, 0.14);
  color: #c39bff;
}
/* 双模式两张卡 */
.modes-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.mode-card {
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.mode-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 3px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.mode-card.pro .mode-badge {
  background: rgba(184, 255, 99, 0.14);
  color: #ddffac;
  border: 1px solid rgba(184, 255, 99, 0.25);
}
.mode-card.lite .mode-badge {
  background: rgba(90, 156, 255, 0.14);
  color: #aaccff;
  border: 1px solid rgba(90, 156, 255, 0.25);
}
.mode-card h3 {
  margin: 0 0 2px;
  font-size: 1.2rem;
}
.mode-card .mode-sub {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.8rem;
}
.mode-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.mode-card li {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 0;
  color: var(--muted);
  font-size: 0.82rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.mode-card li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}
.mode-card.lite li::before {
  background: #5a9cff;
}
/* 更新日志整卡 */
.changelog-panel {
  padding: 18px 20px;
}
/* 意见反馈卡：宽度跟随 .section（960），与上方功能/双模式/更新日志各块对齐，
   内部左右两栏——左边给人话说明，右边才是表单，避免 960 的输入框拉成一条空场 */
.panel-card.fb-panel {
  padding: 26px 26px 24px;
}
.fb-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 28px;
  align-items: start;
}
.fb-side h3 {
  margin: 0 0 6px;
  font-size: 1rem;
  color: var(--text);
}
.fb-lead {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.7;
}
.fb-tips {
  list-style: none;
  margin: 0;
  padding: 0;
}
.fb-tips li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 7px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.6;
}
.fb-tips li::before {
  content: "";
  width: 6px;
  height: 6px;
  margin-top: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}
.fb-tips strong {
  color: var(--text);
  font-weight: 700;
}
.fb-label {
  display: block;
  margin: 0 0 7px;
  font-size: 0.82rem;
  color: var(--soft);
}
.fb-text {
  display: block;
  width: 100%;
  min-height: 148px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
  font: inherit;
  font-size: 0.92rem;
  line-height: 1.65;
  resize: vertical;
}
.fb-text::placeholder,
.fb-code::placeholder {
  color: rgba(245, 248, 243, 0.38);
}
.fb-text:focus-visible,
.fb-code:focus-visible {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(184, 255, 99, 0.16);
}
.fb-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 14px;
  margin-top: 16px;
}
.fb-cap {
  flex: 1 1 270px;
}
.fb-cap-line {
  display: flex;
  align-items: center;
  gap: 10px;
}
.fb-code {
  width: 118px;
  height: 48px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
  font: inherit;
  font-size: 0.92rem;
}
.fb-cap-btn {
  display: inline-flex;
  align-items: center;
  flex: none;
  height: 48px;
  padding: 0 3px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: none;
  line-height: 0;
  cursor: pointer;
  transition: border-color 0.15s ease;
}
.fb-cap-btn:hover {
  border-color: var(--accent);
}
.fb-cap-img {
  display: block;
  border-radius: 8px;
}
.fb-submit {
  margin-left: auto;
  flex: none;
}
.fb-msg {
  margin: 12px 0 0;
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--soft);
}
.fb-msg.is-err {
  color: var(--accent-3);
}
.fb-msg.is-ok {
  color: var(--accent-2);
}
/* 蜜罐字段：真人看不见也 Tab 不到，脚本填了后端直接识别 */
.fb-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
@media (max-width: 860px) {
  .fb-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .panel-card.fb-panel {
    padding: 20px 18px 18px;
  }
  .fb-text {
    min-height: 132px;
  }
}
.changelog-panel .changelog-mini li {
  padding: 9px 10px;
}
.compact-card,
.panel-card {
  border-radius: var(--radius-lg);
  padding: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  contain: paint;
}
.panel-card h3 {
  margin: 3px 0 5px;
  font-size: 0.95rem;
}
.changelog-mini {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.changelog-mini li {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
  padding: 4px 6px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.changelog-mini strong {
  font-size: 0.8rem;
  min-width: 38px;
}
.changelog-mini li > span:last-child {
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.35;
  flex: 1;
  min-width: 140px;
}
.cl-tag {
  flex: none;
  min-height: 16px;
  padding: 0 6px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.tag-new {
  background: rgba(184, 255, 99, 0.14);
  color: #ddffac;
}
.tag-opt {
  background: rgba(55, 118, 255, 0.18);
  color: #aaccff;
}
.tag-fix {
  background: rgba(255, 93, 82, 0.16);
  color: #ffb1aa;
}
.tag-change {
  background: rgba(167, 111, 255, 0.16);
  color: #d6b8ff;
}
/* ===== Footer ===== */
.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 14px 0 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 26px;
}
.footer strong {
  font-size: 0.95rem;
}
.footer p {
  color: var(--muted);
  margin: 2px 0 0;
  font-size: 0.78rem;
}
.footer-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.78rem;
}
/* ===== Reveal animation (progressive enhancement) ===== */
[data-reveal] {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.js-enabled [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
}
.js-enabled [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {html {
    scroll-behavior: auto;
  }
.live-dashboard .fan-icon {
    animation: none;
  }
.js-enabled [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

}
/* ===== Responsive ===== */
@media (max-width: 860px) {
  .hero-frame,
  .compact-grid,
  .split-panel,
  .features-grid,
  .modes-grid {
    grid-template-columns: 1fr;
  }

  .hero-intro {
    text-align: center;
    align-items: center;
  }

  .download-actions,
  .hero-meta {
    justify-content: center;
  }

  .checksum-inline {
    margin-left: auto;
    margin-right: auto;
  }

  .checksum-inline summary {
    text-align: center;
  }

  .hero-shot {
    min-height: 240px;
    order: -1;
  }

  .topbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .nav {
    justify-content: flex-start;
    gap: 16px;
  }

  .download-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 520px) {.hero h1 {
    font-size: 2.2rem;
  }
.hero-shot {
    display: none;
  }
.section,
  .topbar,
  .footer {
    width: min(var(--max), calc(100vw - 24px));
  }

}

