/* ============ 随机点名器 · 下载中心（深色主题） ============ */
:root {
  --bg: #08080a;
  --panel: rgba(22, 22, 26, 0.82);
  --panel-solid: #16161a;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.26);
  --text: #f2f2f4;
  --muted: #9b9ba3;
  --accent-1: #f2f2f4;
  --accent-2: #f2f2f4;
  --accent-3: #f2f2f4;
  --ok: #f2f2f4;
  --warn: #9b9ba3;
  --radius: 18px;
  --radius-sm: 12px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", Roboto, Helvetica, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background:
    radial-gradient(1200px 500px at 50% -100px, rgba(255, 255, 255, 0.06), transparent 60%),
    linear-gradient(180deg, #0b0b0e 0%, #08080a 100%);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ---------- 背景装饰 ---------- */
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -3;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #fff 40%, transparent 100%);
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #fff 40%, transparent 100%);
}

.bg-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(110px);
  z-index: -2;
  pointer-events: none;
}
.bg-glow-a {
  width: 520px; height: 520px;
  top: -180px; left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(255, 255, 255, 0.07), transparent 65%);
}
.bg-glow-b {
  width: 560px; height: 560px;
  bottom: -220px; right: -160px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.05), transparent 65%);
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- 顶栏 ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(9, 9, 11, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 6px 24px -16px rgba(0, 0, 0, 0.9);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-weight: 800;
  letter-spacing: 0.5px;
}
.brand-dot {
  width: 12px; height: 12px;
  border-radius: 4px;
  background: linear-gradient(135deg, #ffffff, #b9b9c4);
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.22);
}
.nav-links { display: flex; gap: 26px; }
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: color 0.2s;
}
.nav-links a:hover { color: #ffffff; }

/* 首页更新延迟提示（仅首页） */
.site-notice {
  padding: 9px 16px;
  text-align: center;
  font-size: 12.5px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.025);
  border-bottom: 1px solid var(--line);
}

/* ---------- Hero ---------- */
.hero {
  padding: 96px 20px 56px;
  text-align: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.hero-badge::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 8px var(--ok);
}
.hero-title {
  font-size: clamp(40px, 7vw, 68px);
  line-height: 1.05;
  font-weight: 800;
  background: linear-gradient(120deg, #ffffff 10%, #eaeaf0 48%, #a8a8b3 95%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 1px;
}
.hero-sub {
  margin-top: 16px;
  font-size: 18px;
  color: var(--muted);
}
.announcement {
  display: inline-block;
  margin-top: 18px;
  font-size: 14px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px dashed rgba(255, 255, 255, 0.18);
  padding: 8px 16px;
  border-radius: 999px;
}
.hero-actions {
  margin-top: 34px;
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  color: var(--text);
  padding: 11px 20px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s, border-color 0.2s, background 0.2s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-1px); border-color: rgba(255, 255, 255, 0.3); background: rgba(255, 255, 255, 0.1); }
.btn-lg { padding: 14px 28px; font-size: 16px; }
.btn-primary {
  background: linear-gradient(120deg, #f7f7fa, #e7e7ec 60%, #ffffff);
  border: none;
  color: #111111;
  box-shadow: 0 10px 26px -12px rgba(255, 255, 255, 0.35);
}
.btn-primary:hover { box-shadow: 0 14px 34px -10px rgba(255, 255, 255, 0.45); }
/* VPN 按钮：与点名下载主按钮区分，取绿色系 */
.btn-primary.btn-vpn {
  background: linear-gradient(120deg, #f7f7fa, #e7e7ec 55%, #ffffff);
  box-shadow: 0 10px 26px -12px rgba(255, 255, 255, 0.35);
}
.btn-primary.btn-vpn:hover { box-shadow: 0 14px 34px -10px rgba(255, 255, 255, 0.45); }
.btn-primary.btn-vpn svg { color: rgba(17, 17, 17, 0.9); }
.btn-ghost { color: var(--muted); background: transparent; border-color: rgba(255, 255, 255, 0.12); }
.btn-ghost:hover { color: #ffffff; background: rgba(255, 255, 255, 0.06); }

/* ---------- Section ---------- */
.section { padding: 40px 20px 20px; }
.section-title {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-title::before {
  content: "";
  width: 5px; height: 22px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--accent-1), var(--accent-2));
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.16);
}
.section-desc { color: var(--muted); margin-top: 10px; font-size: 15px; }

.spinner {
  width: 34px; height: 34px;
  border: 3px solid rgba(255, 255, 255, 0.1);
  border-top-color: var(--accent-1);
  border-radius: 50%;
  margin: 40px auto;
  animation: spin 0.9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- 主推卡片 ---------- */
.featured-card {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 0;
  border-radius: 22px;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: 0 30px 70px -32px rgba(0, 0, 0, 0.85);
  position: relative;
}
.featured-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.45), transparent);
}
.featured-main { padding: 34px 34px 30px; }
.featured-tag-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.chip {
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.05);
  font-weight: 600;
}
.chip-hot {
  color: #111111;
  font-weight: 700;
  background: linear-gradient(120deg, #f7f7fa, #e7e7ec);
  border: none;
  box-shadow: 0 4px 14px -4px rgba(255, 255, 255, 0.3);
}
.featured-name {
  margin-top: 16px;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: 0.5px;
}
.featured-intro { margin-top: 10px; color: var(--muted); font-size: 15px; line-height: 1.7; }
.feature-list { margin-top: 20px; display: grid; gap: 10px; }
.feature-list li {
  list-style: none;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14.5px;
  color: rgba(242, 242, 244, 0.76);
  line-height: 1.5;
}
.feature-list li svg {
  flex: none;
  width: 17px; height: 17px;
  margin-top: 2px;
  color: var(--ok);
}
.featured-note {
  margin-top: 18px;
  font-size: 12.5px;
  color: var(--muted);
  border-left: 3px solid var(--accent-2);
  padding-left: 12px;
  line-height: 1.6;
}

/* 版本更新日志（折叠面板） */
.changelog {
  margin-top: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  overflow: hidden;
}
.changelog-summary {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  cursor: pointer;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text);
  list-style: none;
  user-select: none;
}
.changelog-summary::-webkit-details-marker { display: none; }
.changelog-summary::before {
  content: '▸';
  flex: none;
  font-size: 12px;
  color: var(--accent-2);
  transition: transform 0.2s ease;
}
.changelog[open] .changelog-summary::before { transform: rotate(90deg); }
.changelog-title { flex: 1; }
.changelog-badge {
  flex: none;
  font-size: 11.5px;
  font-weight: 700;
  color: #111111;
  padding: 2px 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f7f7fa, #e2e2e8);
}
.changelog-body {
  padding: 4px 16px 16px;
  border-top: 1px solid var(--line);
}
.changelog-head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 12px;
}
.changelog-ver { font-size: 14px; font-weight: 800; color: var(--accent-2); }
.changelog-date { font-size: 12px; color: var(--muted); }
.changelog-section { margin-top: 10px; }
.changelog-label {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}
.changelog-list { margin: 0; padding-left: 18px; }
.changelog-list li {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.7;
  margin-top: 2px;
}

/* 主推下载面板 */
.featured-side {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 34px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  border-left: 1px solid var(--line);
}
.dl-version-box {
  text-align: center;
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
}
.dl-version-box .v {
  font-size: 44px; font-weight: 800;
  background: linear-gradient(120deg, #ffffff, #b6b6c1);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.dl-version-box .v small {
  font-size: 15px; color: var(--muted); font-weight: 700;
  -webkit-text-fill-color: var(--muted);
}
.dl-file-name {
  margin-top: 8px;
  font-size: 12px;
  color: var(--muted);
  word-break: break-all;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.stat-row { display: flex; gap: 10px; }
.stat {
  flex: 1;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 10px 6px;
  background: rgba(255, 255, 255, 0.05);
}
.stat .k { font-size: 12px; color: var(--muted); }
.stat .val { font-size: 18px; font-weight: 800; margin-top: 3px; }

/* 安装包文件校验值（SHA-256 / MD5） */
.hash-box {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.hash-title { font-size: 12px; color: var(--muted); font-weight: 700; letter-spacing: 0.5px; }
.hash-row { display: flex; align-items: center; gap: 8px; }
.hash-label { flex: none; font-size: 11.5px; font-weight: 700; color: var(--text); min-width: 62px; }
.hash-val {
  flex: 1;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 11px;
  color: rgba(242, 242, 244, 0.82);
  word-break: break-all;
  line-height: 1.5;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  padding: 4px 8px;
}
.hash-copy {
  flex: none;
  font-family: var(--font);
  font-size: 11px;
  font-weight: 700;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: 3px 10px;
  cursor: pointer;
  transition: transform 0.15s, background 0.2s;
}
.hash-copy:hover { background: rgba(255, 255, 255, 0.16); transform: translateY(-1px); }
.file-entry { border-bottom: 1px solid var(--line); padding-bottom: 12px; margin-bottom: 12px; }
.featured-side .btn-primary { width: 100%; }
.secondary-links { text-align: center; font-size: 12.5px; color: var(--muted); }
.secondary-links a { color: #ffffff; text-decoration: none; font-weight: 600; }
.secondary-links a:hover { text-decoration: underline; }

/* 双主推：2405 / 2406 各一张最新版卡片 */
.featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
  gap: 24px;
  align-items: stretch;
}
.featured-grid .featured-card { min-width: 0; height: 100%; }
/* 桌面版主推：独占整行的横框展示 */
.featured-grid .featured-card--wide {
  grid-column: 1 / -1;
  grid-template-columns: 1.2fr 0.8fr;
}
.featured-grid .featured-card--wide .feature-list {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
@media (min-width: 861px) and (max-width: 1240px) {
  .featured-grid .featured-card--wide { grid-template-columns: 1fr; }
  .featured-grid .featured-card--wide .featured-side { border-left: none; border-top: 1px solid var(--line); }
}
@media (max-width: 860px) {
  .featured-grid { grid-template-columns: 1fr; }
}

/* ---------- 版本分组 ---------- */
.group-list { display: grid; gap: 22px; margin-top: 26px; }
.group {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 14px 40px -26px rgba(0, 0, 0, 0.8);
}
.group summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 24px;
  user-select: none;
}
.group summary::-webkit-details-marker { display: none; }
.group summary .arr {
  width: 26px; height: 26px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 8px;
  border: 1px solid var(--line-strong);
  color: var(--text);
  transition: transform 0.25s;
  background: rgba(255, 255, 255, 0.06);
}
.group summary .arr svg { width: 14px; height: 14px; }
.group[open] summary .arr { transform: rotate(90deg); }
.group-summary-main { flex: 1; min-width: 0; }
.group-title { font-size: 17px; font-weight: 800; display: flex; align-items: center; gap: 10px; }
.count-badge {
  font-size: 12px;
  padding: 2px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--text);
  font-weight: 700;
}
.group-desc { margin-top: 4px; font-size: 13px; color: var(--muted); line-height: 1.6; }

.group-body { padding: 4px 12px 12px; }

/* 文件行 */
.file-row {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 14px;
  align-items: center;
  padding: 13px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: background 0.15s, border-color 0.15s;
}
.file-row:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.12);
}
.file-ico {
  width: 40px; height: 40px;
  flex: none;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 800;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}
.file-ico.ico-exe { color: var(--text); background: rgba(255, 255, 255, 0.06); }
.file-ico.ico-code { color: var(--text); background: rgba(255, 255, 255, 0.06); }
.file-info { min-width: 0; }
.file-name { font-size: 15px; font-weight: 700; color: var(--text); }
.file-sub {
  margin-top: 2px;
  font-size: 12.5px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.size-badge {
  font-size: 12px;
  color: var(--muted);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
  padding: 3px 9px;
  border-radius: 999px;
  white-space: nowrap;
}
.file-dl {
  padding: 7px 15px;
  font-size: 13.5px;
}

/* ---------- 使用说明 ---------- */
.help-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 30px;
  box-shadow: 0 14px 40px -26px rgba(0, 0, 0, 0.8);
}
.help-list { margin-top: 18px; display: grid; gap: 12px; }
.help-list li {
  list-style: none;
  position: relative;
  padding-left: 26px;
  font-size: 14.5px;
  color: rgba(242, 242, 244, 0.76);
  line-height: 1.7;
}
.help-list li::before {
  content: "";
  position: absolute;
  left: 2px; top: 9px;
  width: 8px; height: 8px;
  border-radius: 3px;
  background: linear-gradient(135deg, #ffffff, #b9b9c4);
}
.help-list strong { color: #ffffff; }

/* ---------- 页脚 ---------- */
.footer {
  margin-top: 60px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 26px 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--muted);
}
.foot-ver { color: rgba(242, 242, 244, 0.45); }

/* ---------- 响应式 ---------- */
@media (max-width: 860px) {
  .featured-card { grid-template-columns: 1fr; }
  .featured-side { border-left: none; border-top: 1px solid var(--line); }
  .file-row { grid-template-columns: auto 1fr auto; }
  .size-badge { display: none; }
}
@media (max-width: 560px) {
  .nav-links { display: none; }
  .hero { padding-top: 64px; }
  .file-row { grid-template-columns: auto 1fr; }
  .file-dl { grid-column: 1 / -1; justify-content: center; }
  .featured-main, .featured-side { padding: 24px 20px; }
}

/* ============ 官方网站样式（首页） ============ */
.nav-cta {
  padding: 6px 16px;
  border-radius: 999px;
  color: #111111 !important;
  background: linear-gradient(120deg, #ffffff, #e6e6ec);
  box-shadow: 0 4px 16px -8px rgba(255, 255, 255, 0.55);
}
.nav-cta:hover { color: #111111 !important; }

.home-hero {
  text-align: center;
  padding: 96px 20px 34px;
}
.home-eyebrow {
  color: rgba(242, 242, 244, 0.66);
  font-weight: 700;
  letter-spacing: 3px;
  font-size: 14px;
}
.home-name {
  position: relative;
  margin-top: 10px;
  font-size: clamp(46px, 7vw, 74px);
  line-height: 1.05;
  font-weight: 800;
  color: #f4f4f6;
  text-shadow: 0 12px 40px rgba(0, 0, 0, 0.55);
  letter-spacing: 2px;
}
.home-role {
  margin-top: 16px;
  font-size: 17px;
  font-weight: 700;
  color: var(--muted);
}
.home-bio {
  margin: 20px auto 0;
  color: rgba(242, 242, 244, 0.72);
  font-size: 16px;
  line-height: 2;
  max-width: 640px;
}
/* 高光网址（荧光笔效果） */
.hl-link {
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
  padding: 1px 4px;
  border-radius: 5px;
  background: linear-gradient(transparent 58%, rgba(255, 255, 255, 0.16) 58%);
  transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}
.hl-link:hover {
  color: #ffffff;
  background: linear-gradient(transparent 55%, rgba(255, 255, 255, 0.26) 55%);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.08);
}
.home-bio-friend {
  margin-top: 10px;
  font-size: 15px;
}
.home-actions {
  margin-top: 34px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ---------- 首屏入场：分层遮罩揭示 ---------- */
html.js-reveal .home-intro > * {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  filter: blur(10px);
  transition:
    opacity 0.8s cubic-bezier(0.22, 0.7, 0.28, 1),
    transform 1s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.9s cubic-bezier(0.22, 0.7, 0.28, 1),
    letter-spacing 1.1s cubic-bezier(0.16, 1, 0.3, 1);
}
html.js-reveal .home-intro.is-visible > * {
  opacity: 1;
  transform: none;
  filter: none;
}
html.js-reveal .home-intro.is-visible > :nth-child(1) { transition-delay: 0.06s; }
html.js-reveal .home-intro.is-visible > :nth-child(2) { transition-delay: 0.14s; }
html.js-reveal .home-intro.is-visible > :nth-child(3) { transition-delay: 0.3s; }
html.js-reveal .home-intro.is-visible > :nth-child(4) { transition-delay: 0.4s; }
html.js-reveal .home-intro.is-visible > :nth-child(5) { transition-delay: 0.48s; }
html.js-reveal .home-intro.is-visible > :nth-child(6) { transition-delay: 0.56s; }

/* 眉标：字距从散开收紧 */
html.js-reveal .home-intro > .home-eyebrow { letter-spacing: 0.62em; }
html.js-reveal .home-intro.is-visible > .home-eyebrow { letter-spacing: 3px; }

/* 主标题：按笔画顺序电焊刻字（canvas 绘制；脚本不可用时显示普通文字） */
html.js-reveal .home-intro > .home-name {
  opacity: 1;
  transform: none;
  filter: none;
}
.home-name-text { display: inline-block; }
.home-name-cv { display: none; width: 100%; height: 1.06em; }
html.weld-on .home-name-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
html.weld-on .home-name-cv { display: block; }

/* 标题之外的首屏文案：逐字焊上，先红热后冷却 */
html.weld-on .home-intro.is-visible > .home-role,
html.weld-on .home-intro.is-visible > .home-bio,
html.weld-on .home-intro.is-visible > .home-actions {
  opacity: 1;
  transform: none;
  filter: none;
  transition: none;
}
html.weld-on .wch {
  display: inline-block;
  position: relative;
  opacity: 0;
  --hot: #ff5a20;
  --cool: #f2f2f4;
}
html.weld-on .home-role .wch { --cool: #9b9ba3; }
html.weld-on .home-bio .wch { --cool: rgba(242, 242, 244, 0.72); }
html.weld-on .hl-link .wch { --cool: #ffffff; }
/* 荧光笔底色等字焊完再画上，避免焊接期间留一条空白高亮条 */
html.weld-on:not(.weld-done) .hl-link { background: none; }
html.weld-on .btn-ghost .wch { --cool: #9b9ba3; }
html.weld-on .btn-primary .wch { --cool: #111111; }
html.weld-on .home-intro.is-visible .wch {
  animation: weld-char 0.78s cubic-bezier(0.2, 0.7, 0.3, 1) var(--d, 0ms) both;
}
html.weld-on .wch::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1.1em;
  height: 1.1em;
  margin: -0.55em 0 0 -0.55em;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.85) 0%,
    rgba(255, 226, 160, 0.6) 22%,
    rgba(255, 140, 30, 0.35) 44%,
    rgba(255, 90, 0, 0) 72%
  );
}
html.weld-on .home-intro.is-visible .wch::after {
  animation: weld-flash 0.5s ease-out var(--d, 0ms) both;
}
@keyframes weld-char {
  0% {
    opacity: 0;
    color: var(--hot);
    text-shadow: 0 0 6px rgba(255, 150, 60, 0.55), 0 0 15px rgba(255, 96, 20, 0.35);
  }
  14% { opacity: 1; }
  58% {
    color: var(--hot);
    text-shadow: 0 0 5px rgba(255, 150, 60, 0.4), 0 0 12px rgba(255, 96, 20, 0.25);
  }
  100% { opacity: 1; color: var(--cool); text-shadow: none; }
}
@keyframes weld-flash {
  0% { opacity: 0; transform: scale(0.5); }
  20% { opacity: 0.62; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.8); }
}
/* 按钮底板在文字焊上前淡入 */
html.weld-on .home-actions .btn {
  animation: weld-plate 0.34s ease-out var(--pd, 0ms) both;
}
/* 兜底只在焊接脚本未运行时接管，否则会打断逐字动画 */
html.reveal-safe:not(.weld-on) .wch {
  opacity: 1 !important;
  animation: none !important;
}
html.reveal-safe:not(.weld-on) .wch::after { animation: none !important; opacity: 0 !important; }
@keyframes weld-plate {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  html.js-reveal .home-intro > *,
  html.js-reveal .home-intro > .home-name {
    opacity: 1;
    transform: none;
    filter: none;
    text-shadow: none;
    transition: none;
  }
}

/* 事实卡片 */
.fact-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 26px;
}
.fact {
  flex: 1;
  min-width: 160px;
  text-align: center;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius);
  padding: 18px 12px;
}
.fact-num {
  display: block;
  font-size: 28px;
  font-weight: 800;
  background: linear-gradient(120deg, #ffffff, #b6b6c1);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.fact-label {
  display: block;
  color: var(--muted);
  font-size: 13px;
  margin-top: 4px;
}

/* 技能标签 */
.chip-tag {
  font-size: 13.5px;
  padding: 7px 16px;
  color: rgba(242, 242, 244, 0.78);
}
.tag-cloud {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
}

/* 作品卡片 */
.works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 18px;
  margin-top: 26px;
}
.work-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 22px 20px;
  box-shadow: 0 16px 44px -30px rgba(0, 0, 0, 0.9);
  transition: transform 0.18s, border-color 0.18s, box-shadow 0.18s;
}
.work-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 22px 50px -28px rgba(0, 0, 0, 0.95);
}
.work-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.work-name {
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.4;
}
.work-desc {
  color: rgba(242, 242, 244, 0.68);
  font-size: 14px;
  line-height: 1.8;
  flex: 1;
}
.work-actions { margin-top: 6px; }
.work-note {
  display: inline-block;
  color: var(--muted);
  font-size: 12.5px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px dashed var(--line-strong);
  padding: 7px 12px;
  border-radius: 8px;
}

/* 联系卡片 */
.contact-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 30px;
  box-shadow: 0 14px 40px -26px rgba(0, 0, 0, 0.8);
}
.contact-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  margin-top: 22px;
}
.contact-tile {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 18px;
  text-decoration: none;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  transition: transform 0.18s, border-color 0.18s, box-shadow 0.18s;
}
.contact-tile:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  box-shadow: 0 12px 28px -18px rgba(0, 0, 0, 0.9);
}
.contact-tile svg {
  width: 30px;
  height: 30px;
  flex: none;
  color: #ffffff;
}
.contact-name { font-weight: 800; font-size: 15px; }
.contact-sub { color: var(--muted); font-size: 12.5px; margin-top: 2px; }

@media (max-width: 860px) {
  .home-hero { padding-top: 60px; }
}
@media (max-width: 560px) {
  .fact-row { flex-direction: column; }
  .contact-links { grid-template-columns: 1fr; }
}

/* ============ v27.0+ 密码下载 ============ */
.chip-lock {
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
  border: 1px dashed rgba(255, 255, 255, 0.22);
}
.btn-lock {
  background: linear-gradient(120deg, #f7f7fa, #e7e7ec) !important;
  color: #111111 !important;
  border: 1px dashed rgba(17, 17, 17, 0.35) !important;
}
.lock-hint {
  text-align: center;
  color: var(--muted);
  font-size: 12.5px;
  margin-top: 8px;
}

/* 密码输入弹窗 */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.68);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 20px;
}
.modal-overlay.show { display: flex; }
.modal-card {
  background: #16161a;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.9);
  padding: 26px 26px 22px;
  width: min(380px, 100%);
}
.modal-title { margin: 0; font-size: 18px; font-weight: 800; color: #ffffff; }
.modal-desc {
  color: rgba(242, 242, 244, 0.66);
  font-size: 13.5px;
  line-height: 1.7;
  margin: 10px 0 14px;
}
.privacy-link-row { margin: 0 0 4px; }
.privacy-link-row a {
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
}
.privacy-link-row a:hover { text-decoration: underline; }
/* ---------- 微软应用商店提示 ---------- */
.store-note {
  margin: 12px 0 4px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.05);
  border-left: 3px solid var(--accent-2);
  border-radius: 8px;
  color: rgba(242, 242, 244, 0.66);
  font-size: 12.5px;
  line-height: 1.65;
}
.featured-note.store-note { margin-top: 12px; }
.btn-store {
  margin-top: 10px;
  width: 100%;
  justify-content: center;
  text-align: center;
}
.modal-input {
  width: 100%;
  box-sizing: border-box;
  padding: 11px 14px;
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 15px;
  color: #ffffff;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.modal-input:focus {
  border-color: rgba(255, 255, 255, 0.55);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}
.modal-err { display: none; color: #f87171; font-size: 13px; margin: 10px 0 0; }
.modal-err.show { display: block; }
.modal-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 18px; }
.modal-actions .btn { min-width: 88px; justify-content: center; font-family: inherit; cursor: pointer; }
button.btn:disabled { opacity: 0.6; cursor: wait; }
.modal-cancel {
  background: rgba(255, 255, 255, 0.06) !important;
  color: rgba(242, 242, 244, 0.72) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
}
.modal-cancel:hover { border-color: rgba(255, 255, 255, 0.38) !important; }

/* ZIP 安装包文件图标 */
.file-ico.ico-zip {
  background: rgba(217, 119, 6, 0.16);
  color: #e0a86a;
  border: 1px solid rgba(217, 119, 6, 0.42);
}

/* ============ 独立产品页（魔方 / 我的世界） ============ */
.product-hero { padding: 72px 20px 8px; }
.product-title {
  margin: 10px 0 0;
  font-size: clamp(30px, 5.2vw, 46px);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: 1px;
  background: linear-gradient(120deg, #ffffff 5%, #eaeaf0 45%, #a8a8b3 95%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.product-hero .product-desc {
  margin-top: 16px;
  color: rgba(242, 242, 244, 0.7);
  font-size: 15px;
  line-height: 1.9;
  max-width: 680px;
}
.product-hero .tag-cloud { margin-top: 20px; }
.product-hero .home-actions { margin-top: 24px; }
.section-title .count-badge { vertical-align: middle; margin-left: 8px; }
.lock-note {
  margin-top: 18px;
  color: #e2b183;
  background: rgba(217, 119, 6, 0.12);
  border: 1px dashed rgba(217, 119, 6, 0.42);
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.8;
}

/* “因文件限制，联系获取”说明卡片 */
.manual-card {
  padding: 30px 28px;
  border: 1px solid rgba(217, 119, 6, 0.42);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  box-shadow: 0 18px 44px -30px rgba(0, 0, 0, 0.9);
}
.manual-title {
  font-size: 19px;
  font-weight: 800;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 10px;
}
.manual-desc {
  margin-top: 12px;
  font-size: 14.5px;
  line-height: 2;
  color: rgba(242, 242, 244, 0.68);
}
.manual-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.container-note { margin-top: 44px; text-align: center; }
.container-note > p { color: var(--muted); font-weight: 700; font-size: 15px; }
.container-note .home-actions { justify-content: center; margin-top: 16px; }

/* ============ 滚动渐显（Apple 风格） ============ */
/* 首屏区块：脚本在 head 里加 js-reveal 后即预隐藏，加载完成立刻浮现 */
html.js-reveal .hero,
html.js-reveal .product-hero,
html.js-reveal .privacy-hero {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  filter: blur(4px);
  transition:
    opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
html.js-reveal .hero.is-visible,
html.js-reveal .product-hero.is-visible,
html.js-reveal .privacy-hero.is-visible {
  opacity: 1;
  transform: none;
  filter: none;
}

/* 兜底：脚本异常或后台标签页不跑动画时，1.5 秒后首屏强制可见，避免出现空白页 */
html.reveal-safe .hero,
html.reveal-safe .product-hero,
html.reveal-safe .privacy-hero {
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
}
html.reveal-safe .home-intro > * {
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
  clip-path: none !important;
}

/* 普通文字与卡片：淡入 + 上移 */
html.js-reveal .reveal {
  opacity: 0;
  transform: translate3d(0, 26px, 0);
  filter: blur(4px);
  transition:
    opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
html.js-reveal .reveal.is-visible {
  opacity: 1;
  transform: none;
  filter: none;
}

/* 下载中心主推 / 归档卡片：3D 翻起 + 高光扫过 */
html.js-reveal .reveal-fx {
  opacity: 0;
  transform: perspective(1200px) translate3d(0, 46px, 0) scale(0.965) rotateX(7deg);
  transform-origin: 50% 100%;
  filter: blur(10px) saturate(0.9);
  transition:
    opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.95s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
html.js-reveal .reveal-fx.is-visible {
  opacity: 1;
  transform: none;
  filter: none;
}
html.js-reveal .reveal-fx::after {
  content: "";
  position: absolute;
  inset: -30%;
  z-index: 3;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(
    115deg,
    transparent 36%,
    rgba(255, 255, 255, 0.5) 46%,
    rgba(255, 255, 255, 0.16) 54%,
    transparent 64%
  );
  transform: translateX(-130%) skewX(-8deg);
}
html.js-reveal .reveal-fx.is-visible::after {
  animation: cardShine 1.2s cubic-bezier(0.22, 0.61, 0.36, 1) 0.16s 1;
}
@keyframes cardShine {
  0% { transform: translateX(-130%) skewX(-8deg); opacity: 0; }
  16% { opacity: 0.85; }
  100% { transform: translateX(130%) skewX(-8deg); opacity: 0; }
}

/* 文件列表条目：从左侧滑入 */
html.js-reveal .reveal-row {
  opacity: 0;
  transform: translate3d(-16px, 0, 0);
  transition:
    opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
html.js-reveal .reveal-row.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html.js-reveal .home-intro,
  html.js-reveal .hero,
  html.js-reveal .product-hero,
  html.js-reveal .privacy-hero,
  html.js-reveal .reveal,
  html.js-reveal .reveal-fx,
  html.js-reveal .reveal-row,
  html.js-reveal .is-visible {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
  html.js-reveal .reveal-fx::after { display: none; }
}

/* ============ 首页产品展示（全宽深色面板 + 底部大图） ============ */
.products { padding: 40px 0 0; }
.products-head { padding-bottom: clamp(28px, 4vw, 44px); }

.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: clamp(44px, 5.6vw, 72px) 20px 0;
  min-height: clamp(480px, 54vw, 660px);
  overflow: hidden;
  contain: paint;
  background: #0a0a0b;
  color: #f5f5f7;
}
.tile + .tile { border-top: 1px solid rgba(255, 255, 255, 0.08); }

.tile-copy { position: relative; z-index: 1; max-width: 780px; }
.tile-name {
  font-size: clamp(28px, 4.2vw, 46px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.9px;
}
.tile-tag {
  margin-top: 10px;
  font-size: clamp(14.5px, 1.5vw, 18px);
  line-height: 1.55;
  opacity: 0.72;
}
.tile-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 6px 14px 6px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  color: rgba(245, 245, 247, 0.72);
  font-size: 12.5px;
  line-height: 1.5;
}
.tile-note::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.5;
  flex: none;
}

.tile-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
}
.tile .btn {
  border: 0;
  padding: 11px 24px;
  background: #f5f5f7;
  color: #111;
  transition: transform 0.2s, background 0.2s;
}
.tile .btn:hover { background: #fff; transform: translateY(-1px); }
/* 深色面板上的次级按钮 */
.tile .btn-ghost {
  background: transparent;
  color: rgba(245, 245, 247, 0.86);
  border: 1px solid rgba(245, 245, 247, 0.28);
}
.tile .btn-ghost:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }
/* 按钮下方的细则链接（如隐私政策） */
.tile-fine {
  display: inline-block;
  margin-top: 14px;
  font-size: 12.5px;
  color: rgba(245, 245, 247, 0.5);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.tile-fine:hover { color: rgba(245, 245, 247, 0.9); }

/* 截图贴着面板底边，顶部圆角、底部被裁切 */
.tile-shot {
  display: block;
  margin-top: auto;
  padding-top: clamp(28px, 3.4vw, 46px);
  width: min(92%, 1040px);
}
.tile-shot img {
  display: block;
  width: 100%;
  height: clamp(240px, 34vw, 470px);
  object-fit: cover;
  object-position: top center;
  border-radius: 16px 16px 0 0;
  box-shadow: 0 40px 90px -24px rgba(0, 0, 0, 0.6);
}

/* 进入视口后：文案逐行浮现，截图从下方推入 */
html.js-reveal .tile-copy > * {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s ease, transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
html.js-reveal .tile-copy > :nth-child(2) { transition-delay: 0.08s; }
html.js-reveal .tile-copy > :nth-child(3) { transition-delay: 0.16s; }
html.js-reveal .tile-copy > :nth-child(4) { transition-delay: 0.24s; }
html.js-reveal .tile-copy > :nth-child(5) { transition-delay: 0.32s; }
html.js-reveal .tile-shot img {
  opacity: 0;
  transform: translateY(56px) scale(0.96);
  transition: opacity 1s ease 0.12s, transform 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.12s;
}
html.js-reveal .tile.is-in .tile-copy > *,
html.js-reveal .tile.is-in .tile-shot img {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  html.js-reveal .tile-copy > *,
  html.js-reveal .tile-shot img {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 720px) {
  .tile { padding: 32px 16px 0; min-height: 0; }
  .tile-name { font-size: 25px; letter-spacing: -0.5px; }
  .tile-tag { font-size: 13.5px; }
  .tile-note {
    margin-top: 10px;
    padding: 5px 11px 5px 9px;
    border-radius: 10px;
    max-width: 300px;
    font-size: 10.5px;
    line-height: 1.45;
    text-align: left;
  }
  .tile-actions { margin-top: 16px; }
  .tile-shot { width: 96%; padding-top: 22px; }
  .tile-shot img { height: clamp(200px, 52vw, 300px); border-radius: 12px 12px 0 0; }
}

/* ============ 产品详情 · 定睛细看（全屏钉住 + 左侧浮层） ============ */
.look { margin-top: clamp(44px, 6vw, 68px); }
.look-stage {
  --look-panel-w: min(340px, 34vw);
  --look-panel-x: clamp(20px, 3vw, 40px);
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(440px, 46vw, 580px);
  padding: clamp(24px, 3.2vw, 44px) 0;
  border-radius: 24px;
  overflow: hidden;
  isolation: isolate;
  background: #0a0a0b;
  border: 1px solid rgba(242, 242, 242, 0.12);
  box-shadow: 0 40px 84px -46px rgba(0, 0, 0, 0.9);
}
/* 大图从状态栏右侧开始，避免被遮挡 */
.look-media {
  position: absolute;
  inset: 0 0 0 calc(var(--look-panel-x) + var(--look-panel-w) + 20px);
}
.look-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.look-img.is-active { opacity: 1; }

/* 滑到此处：整块铺满一屏，页面上锁，选项按节奏逐条弹出后再放行 */
html.look-ready .look { height: 178vh; }
html.look-ready .look-stage {
  position: sticky;
  top: 60px;
  width: 100vw;
  height: calc(100vh - 60px);
  min-height: 0;
  margin-left: calc(50% - 50vw);
  padding: clamp(24px, 4vw, 56px) 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

/* 状态栏背后压暗，向右柔和过渡到大图 */
.look-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    #0a0a0b 0%,
    #0a0a0b calc(var(--look-panel-x) + var(--look-panel-w)),
    rgba(10, 10, 11, 0.55) calc(var(--look-panel-x) + var(--look-panel-w) + 10%),
    rgba(10, 10, 11, 0) calc(var(--look-panel-x) + var(--look-panel-w) + 24%)
  );
  pointer-events: none;
}

.look-panel {
  position: relative;
  z-index: 1;
  width: var(--look-panel-w);
  margin-left: var(--look-panel-x);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.look-heading {
  font-size: clamp(24px, 3.2vw, 36px);
  font-weight: 800;
  letter-spacing: -0.4px;
  color: #fff;
}
.look-sub {
  margin-top: 8px;
  color: rgba(242, 242, 242, 0.58);
  font-size: 13.5px;
}

/* 玻璃说明卡 */
.look-copy {
  padding: 18px 20px;
  border-radius: 16px;
  background: rgba(26, 26, 29, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 26px 56px -34px rgba(0, 0, 0, 0.95);
  -webkit-backdrop-filter: blur(16px) saturate(1.15);
  backdrop-filter: blur(16px) saturate(1.15);
}
.look-title {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.2px;
  color: #fff;
}
.look-text {
  margin-top: 7px;
  color: rgba(242, 242, 242, 0.66);
  font-size: 13.5px;
  line-height: 1.72;
}

/* 左侧「小圆点」按钮：点一下换图 */
.look-tabs {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
}
.look-tab {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 172px;
  padding: 6px 18px 6px 7px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(32, 32, 35, 0.62);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: rgba(255, 255, 255, 0.82);
  font: 600 13px/1 var(--font);
  cursor: pointer;
  transition: background 0.25s, border-color 0.25s, color 0.25s, transform 0.25s;
}
.look-tab:hover {
  transform: translateX(3px);
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.14);
}
.look-tab.is-active {
  background: #f2f2f2;
  border-color: #f2f2f2;
  color: #111;
}
.look-dot {
  position: relative;
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.45);
  transition: background 0.25s, border-color 0.25s, color 0.25s;
}
.look-dot::before,
.look-dot::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: currentColor;
  transform: translate(-50%, -50%);
}
.look-dot::before { width: 8px; height: 1.4px; }
.look-dot::after { width: 1.4px; height: 8px; }
.look-tab.is-active .look-dot {
  background: #111;
  border-color: #111;
  color: #fff;
}

/* 锁定模式下，选项随下滑逐条弹出 */
html.look-ready .look-tab {
  opacity: 0;
  transform: translateY(16px) scale(0.97);
  pointer-events: none;
  transition:
    opacity 0.45s ease,
    transform 0.55s cubic-bezier(0.22, 0.7, 0.28, 1),
    background 0.25s, border-color 0.25s, color 0.25s;
}
html.look-ready .look-tab.is-shown {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
html.look-ready .look-tab.is-shown:hover { transform: translateX(3px); }

@media (max-width: 720px) {
  html.look-ready .look { height: auto; }
  html.look-ready .look-stage,
  .look-stage {
    display: grid;
    grid-template-columns: 1fr;
    align-items: stretch;
    width: auto;
    height: auto;
    min-height: 0;
    margin-left: 0;
    padding: 0;
    border: 1px solid rgba(242, 242, 242, 0.12);
    border-radius: 20px;
  }
  .look-media {
    position: relative;
    inset: auto;
    grid-area: 1 / 1;
    display: grid;
  }
  .look-img {
    position: relative;
    grid-area: 1 / 1;
    width: 100%;
    height: auto;
    object-fit: contain;
  }
  .look-veil { display: none; }
  .look-panel {
    grid-area: 2 / 1;
    width: auto;
    margin: 0;
    padding: 20px;
    background: #121214;
    border-top: 1px solid rgba(242, 242, 242, 0.1);
  }
  .look-heading { font-size: 24px; }
  .look-text { font-size: 13px; }
  .look-tab { width: 100%; min-width: 0; }
  html.look-ready .look-tab { opacity: 1; transform: none; pointer-events: auto; }
}

/* ============ 产品介绍（编辑式深色开篇，参考 kevinweb） ============ */
.story {
  position: relative;
  padding: clamp(56px, 8vw, 96px) 0 clamp(56px, 7vw, 88px);
  background:
    radial-gradient(900px 420px at 18% -10%, rgba(255, 255, 255, 0.06), transparent 65%),
    #121214;
  color: #f2f2f2;
}
.story-inner { position: relative; }

/* 滚动锁定开场：滑到此处先锁页，逐行显现后再解锁 */
.story-pin-stage {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
html.pin-ready .story-pin { height: 380vh; }
html.pin-ready .story { padding-top: 0; }
html.pin-ready .story-pin-stage {
  position: sticky;
  top: 0;
  min-height: 100vh;
  padding: 96px 0 40px;
}
html.pin-ready .story-pin-stage .pin-line {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.85s ease,
    transform 1.05s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
html.pin-ready .story-pin-stage .pin-line.is-shown {
  opacity: 1;
  transform: none;
}
html.pin-ready .story-pin-stage .story-marquee { margin-top: auto; }
.story-badge {
  display: inline-block;
  margin-top: 14px;
  padding: 4px 11px;
  border: 1px solid rgba(242, 242, 242, 0.18);
  border-radius: 999px;
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(242, 242, 242, 0.62);
}
.story-badge:empty { display: none; }
.story-kicker {
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(242, 242, 242, 0.5);
}
.story-title {
  margin-top: 24px;
  font-size: clamp(40px, min(9vw, 9.5vh), 92px);
  line-height: 0.95;
  font-weight: 800;
  letter-spacing: -0.035em;
}
.story-statement {
  margin-top: 26px;
  font-size: clamp(20px, min(2.6vw, 3.4vh), 34px);
  line-height: 1.35;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.story-lead {
  max-width: 46ch;
  margin-top: 18px;
  font-size: clamp(15px, 1.8vh, 18px);
  line-height: 1.8;
  color: rgba(242, 242, 242, 0.62);
}
.story-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 34px;
  max-width: 900px;
  margin-top: 26px;
  padding: 0;
  list-style: none;
}
.story-facts li {
  position: relative;
  padding-left: 18px;
  font-size: clamp(13.5px, 1.7vh, 16px);
  line-height: 1.6;
  color: rgba(242, 242, 242, 0.66);
}
.story-facts li::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(242, 242, 242, 0.5);
}
@media (max-width: 720px) {
  .story-facts { grid-template-columns: 1fr; gap: 8px; }
}
.story .announcement {
  color: rgba(242, 242, 242, 0.72);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(242, 242, 242, 0.18);
}
.story-notice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 620px;
  margin-top: 20px;
  padding: 13px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(242, 242, 242, 0.8);
  font-size: 13.5px;
  line-height: 1.65;
}
.story-notice .sn-badge {
  flex: none;
  padding: 1px 8px;
  border-radius: 999px;
  background: #f2f2f2;
  color: #111;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  transform: translateY(2px);
}
.story-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
.story-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  background: #f2f2f2;
  color: #111;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s;
}
.story-btn:hover { transform: translateY(-2px); }
.story-btn-ghost {
  background: transparent;
  color: #f2f2f2;
  border: 1px solid rgba(242, 242, 242, 0.26);
}
.story-btn-ghost:hover { border-color: rgba(242, 242, 242, 0.5); }

/* 关键词跑马灯 */
.story-marquee {
  margin-top: clamp(44px, 6vw, 72px);
  border-top: 1px solid rgba(242, 242, 242, 0.12);
  border-bottom: 1px solid rgba(242, 242, 242, 0.12);
  overflow: hidden;
}
.story-track {
  display: flex;
  width: max-content;
  animation: storyScroll 34s linear infinite;
}
.story-track span {
  display: inline-flex;
  align-items: center;
  padding: 13px 0;
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 11.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(242, 242, 242, 0.55);
  white-space: nowrap;
}
.story-track span::after {
  content: "·";
  margin: 0 22px;
  color: rgba(242, 242, 242, 0.25);
}
@keyframes storyScroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .story-track { animation: none; } }

/* 主图 */
.story-shot {
  margin: clamp(36px, 5vw, 56px) 0 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(242, 242, 242, 0.12);
  background: #0a0a0b;
}
.story-shot img {
  display: block;
  width: 100%;
  height: auto;
}

/* 数据 */
.story-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: clamp(44px, 6vw, 64px);
  padding-top: 26px;
  border-top: 1px solid rgba(242, 242, 242, 0.12);
}
.story-stats b {
  display: block;
  font-size: clamp(22px, 3.2vw, 32px);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.story-stats span {
  display: block;
  margin-top: 6px;
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(242, 242, 242, 0.58);
}

/* 编号索引 */
.story-index {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 34px;
  margin-top: 40px;
  padding: 0;
  list-style: none;
}
.story-index li {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.story-index span {
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 11px;
  color: rgba(242, 242, 242, 0.5);
}
.story-index a {
  color: rgba(242, 242, 242, 0.78);
  font-size: 14px;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.story-index a:hover {
  color: #fff;
  border-bottom-color: rgba(242, 242, 242, 0.5);
}

.story-manifesto {
  margin-top: 44px;
  font-size: clamp(17px, 2.2vw, 22px);
  line-height: 1.6;
  font-weight: 600;
  color: rgba(242, 242, 242, 0.9);
}

@media (max-width: 720px) {
  .story-stats { grid-template-columns: repeat(2, 1fr); gap: 24px 16px; }
}

/* 产品大图：更明显的渐入（缩放 + 位移 + 去模糊） */
html.js-reveal .reveal-deep {
  opacity: 0;
  transform: translate3d(0, 72px, 0) scale(0.93);
  filter: blur(16px);
  transition:
    opacity 1.05s cubic-bezier(0.16, 1, 0.3, 1),
    transform 1.25s cubic-bezier(0.16, 1, 0.3, 1),
    filter 1.05s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
html.js-reveal .reveal-deep.is-visible {
  opacity: 1;
  transform: none;
  filter: none;
}
@media (prefers-reduced-motion: reduce) {
  html.js-reveal .reveal-deep {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
}
