/* 山木智能官网。浅色、蓝白,和社区 / 软件同一套色(浅灰底 + 白卡片 + 蓝色强调),
   视觉跟视频封面走:蓝色大字 + 红色标签 + 黄色放射光 + 蓝色 Q 版吉祥物。不引外链字体(国内访问 Google Fonts 会卡)。 */
:root {
  --bg: #f6f8fc;
  --bg-alt: #eef3fb;
  --surface: #ffffff;
  --fill: #f1f4f9;
  --line: #e2e8f1;
  --ink: #152033;
  --text: #2a3446;
  --muted: #667085;
  --accent: #2f6feb;
  --accent-deep: #1f55c9;
  --accent-soft: #e8f0fe;
  --red: #e5484d;
  --red-soft: #fdecec;
  --amber: #f08c00;
  --amber-soft: #fff3df;
  --green: #17884f;
  --green-soft: #e6f6ed;
  --gray: #8a94a6;
  --sun: #ffe08a;
  --radius: 16px;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, .05);
  --shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 8px 24px -8px rgba(31, 61, 120, .14);
  --shadow-lg: 0 2px 4px rgba(16, 24, 40, .04), 0 24px 48px -16px rgba(31, 61, 120, .25);
  --font: "HarmonyOS Sans SC", "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  word-break: break-word;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-deep); }
h1, h2, h3 { color: var(--ink); margin: 0; line-height: 1.25; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid rgba(47, 111, 235, .45); outline-offset: 2px; border-radius: 8px; }
.muted { color: var(--muted); }
.num, .stats b, .rank-row .wr, .rank-row .elo { font-variant-numeric: tabular-nums; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 640px) { .wrap { padding: 0 16px; } }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 42px; padding: 0 18px;
  border-radius: 12px; border: 1px solid transparent;
  font-weight: 600; font-size: 15px; white-space: nowrap;
  transition: background-color .15s, border-color .15s, color .15s, transform .15s, box-shadow .15s;
}
.btn.primary { background: var(--accent); color: #fff; box-shadow: 0 6px 16px -6px rgba(47, 111, 235, .6); }
.btn.primary:hover { background: var(--accent-deep); color: #fff; transform: translateY(-1px); }
.btn.ghost { background: var(--surface); border-color: var(--line); color: var(--ink); }
.btn.ghost:hover { border-color: #c5d3ea; color: var(--accent); }
.btn.lg { min-height: 50px; padding: 0 24px; font-size: 16px; border-radius: 14px; }
.btn.sm { min-height: 36px; padding: 0 14px; font-size: 14px; border-radius: 10px; }

/* ---------- 顶栏 ---------- */
.top {
  position: sticky; top: 0; z-index: 30;
  background: #fff;
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.top.scrolled { border-bottom-color: var(--line); box-shadow: 0 4px 16px -12px rgba(16, 24, 40, .25); }
.top .bar { max-width: 1120px; margin: 0 auto; padding: 0 24px; height: 64px; display: flex; align-items: center; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand .bn { font-weight: 800; font-size: 18px; letter-spacing: .02em; }
.brand .bs { font-size: 11px; font-weight: 700; letter-spacing: .14em; color: var(--muted); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { color: var(--text); padding: 8px 14px; border-radius: 10px; font-size: 15px; font-weight: 500; }
.nav a:hover { background: var(--fill); color: var(--ink); }
.nav a.on { color: var(--accent); background: var(--accent-soft); }
.menu { display: none; width: 42px; height: 42px; border: 1px solid var(--line); background: var(--surface); border-radius: 10px; position: relative; }
.menu span, .menu span::before, .menu span::after { position: absolute; left: 11px; width: 18px; height: 2px; border-radius: 2px; background: var(--ink); content: ""; transition: transform .2s, top .2s, opacity .2s; }
.menu span { top: 19px; }
.menu span::before { left: 0; top: -6px; }
.menu span::after { left: 0; top: 6px; }
.menu[aria-expanded="true"] span { background: transparent; }
.menu[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.menu[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 760px) {
  .top .bar { padding: 0 16px; gap: 10px; height: 58px; }
  .brand .bs { display: none; }
  .top-cta { margin-left: auto; }
  .menu { display: block; }
  .nav {
    position: absolute; left: 0; right: 0; top: 58px;
    flex-direction: column; gap: 2px; padding: 8px 12px 14px;
    background: var(--surface); border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 24px -16px rgba(16, 24, 40, .3);
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 14px; font-size: 16px; }
}

/* ---------- 首屏 ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 480px at 85% 10%, rgba(120, 170, 255, .28), transparent 70%),
    radial-gradient(700px 420px at 0% 100%, rgba(255, 214, 120, .18), transparent 70%),
    linear-gradient(180deg, #f3f7ff 0%, var(--bg) 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(47, 111, 235, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47, 111, 235, .07) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 60% 30%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 70% at 60% 30%, #000 20%, transparent 75%);
}
.hero-in { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 32px; align-items: center; padding-top: 72px; padding-bottom: 88px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600; color: var(--accent-deep);
  background: rgba(255, 255, 255, .8); border: 1px solid #cddcf7; border-radius: 999px; padding: 5px 14px 5px 10px;
}
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 rgba(229, 72, 77, .5); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(229, 72, 77, .45); } 70% { box-shadow: 0 0 0 8px rgba(229, 72, 77, 0); } 100% { box-shadow: 0 0 0 0 rgba(229, 72, 77, 0); } }
.hero h1 { font-size: 60px; font-weight: 800; letter-spacing: -.01em; line-height: 1.12; margin-top: 20px; }
.hero h1 em {
  font-style: normal; color: var(--accent);
  background: linear-gradient(transparent 68%, rgba(255, 212, 92, .7) 68%, rgba(255, 212, 92, .7) 92%, transparent 92%);
  padding: 0 4px; margin: 0 -4px;
}
.lead { font-size: 18px; color: var(--text); margin-top: 20px; max-width: 34em; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.stats { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 8px 36px; margin-top: 40px; padding-top: 24px; border-top: 1px dashed #cbd6e8; }
.stats li { display: flex; flex-direction: column; }
.stats b { font-size: 28px; font-weight: 800; color: var(--ink); line-height: 1.2; letter-spacing: -.01em; }
.stats span { font-size: 13px; color: var(--muted); }

.hero-art { position: relative; min-height: 470px; display: flex; align-items: center; justify-content: center; }
.sun {
  position: absolute; width: 440px; height: 440px; left: 50%; top: 46%; transform: translate(-50%, -50%);
  border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, rgba(255, 210, 90, .55) 0deg 9deg, rgba(255, 236, 170, .25) 9deg 18deg);
  -webkit-mask-image: radial-gradient(circle, #000 30%, transparent 70%);
  mask-image: radial-gradient(circle, #000 30%, transparent 70%);
  animation: spin 80s linear infinite;
}
@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
.mascot { position: relative; width: 300px; height: auto; margin-left: -170px; filter: drop-shadow(0 18px 24px rgba(27, 35, 64, .22)); animation: bob 5s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-10px) rotate(1deg); } }

.mini { position: absolute; right: 0; bottom: 18px; width: 268px; padding: 14px 14px 10px; box-shadow: var(--shadow-lg); transform: rotate(1.5deg); }
.mini-head { display: flex; justify-content: space-between; align-items: baseline; font-weight: 700; color: var(--ink); font-size: 15px; padding: 0 4px 8px; }
.mini-date { font-size: 12px; font-weight: 600; color: var(--muted); }
.mini-list li { display: grid; grid-template-columns: 34px 1fr 44px; align-items: center; gap: 8px; padding: 6px 4px; border-top: 1px solid var(--fill); font-size: 14px; }
.mini-list li:first-child { border-top: 0; }
.mini-list .nm { font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-list .wr { text-align: right; font-weight: 700; color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }

@media (max-width: 960px) {
  .hero-in { grid-template-columns: 1fr; padding-top: 48px; padding-bottom: 56px; gap: 8px; }
  .hero h1 { font-size: 46px; }
  .hero-art { min-height: 380px; }
  .mascot { width: 240px; margin-left: -200px; }
  .sun { width: 360px; height: 360px; }
  .mini { right: 50%; margin-right: -260px; bottom: 6px; }
}
@media (max-width: 640px) {
  .hero-in { padding-top: 36px; padding-bottom: 40px; }
  .hero h1 { font-size: 36px; margin-top: 16px; }
  .lead { font-size: 16px; margin-top: 14px; }
  .cta { margin-top: 22px; }
  .cta .btn { flex: 1 1 140px; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 28px; padding-top: 20px; }
  .stats b { font-size: 24px; }
  .hero-art { min-height: 0; flex-direction: column; padding-top: 12px; }
  .sun { width: 300px; height: 300px; top: 100px; }
  .mascot { width: 180px; margin: 0 auto; }
  .mini { position: relative; right: auto; bottom: auto; margin: -14px auto 0; width: 100%; max-width: 340px; transform: none; }
}

/* ---------- 档位 ---------- */
.tier {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 30px; height: 22px; padding: 0 7px; border-radius: 999px;
  font-size: 12px; font-weight: 800; letter-spacing: .02em; color: #fff; line-height: 1;
}
.tier.t0 { background: var(--red); }
.tier.t1 { background: var(--amber); }
.tier.t2 { background: var(--accent); }
.tier.t3 { background: var(--gray); }

/* ---------- 区块 ---------- */
.sec { padding: 88px 0; }
.sec.alt { background: var(--bg-alt); }
.sec-head { margin-bottom: 36px; }
.sec-head h2 { font-size: 34px; font-weight: 800; letter-spacing: -.01em; }
.sec-head p { color: var(--muted); margin-top: 8px; font-size: 16px; }
.sec-head.split { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 32px; flex-wrap: wrap; }
@media (max-width: 640px) {
  .sec { padding: 56px 0; }
  .sec-head { margin-bottom: 24px; }
  .sec-head h2 { font-size: 26px; }
}

/* 在做的事 */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tile { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; }
.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.tile h3 { font-size: 18px; margin-top: 16px; }
.tile p { color: var(--muted); margin-top: 8px; font-size: 15px; line-height: 1.7; }
.ico { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; }
.ico svg, .ct-ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.i-blue { background: var(--accent-soft); color: var(--accent); }
.i-red { background: var(--red-soft); color: var(--red); }
.i-amber { background: var(--amber-soft); color: var(--amber); }
.i-green { background: var(--green-soft); color: var(--green); }
@media (max-width: 960px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .tiles { grid-template-columns: 1fr; } .tile { padding: 20px; } }

/* ---------- 强度榜 ---------- */
.legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; color: var(--muted); }
.legend li { display: flex; align-items: center; gap: 6px; }
.rank-full { display: inline-flex; align-items: center; min-height: 34px; padding: 0 12px; border: 1px solid #c7d9fb; border-radius: 8px; background: var(--surface); color: var(--accent); font-size: 13px; font-weight: 700; white-space: nowrap; }
.rank-full:hover { color: var(--accent-deep); background: var(--accent-soft); }
.rank-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 20px; align-items: start; }
.rank-box { padding: 8px; overflow: hidden; }
.rank-cols, .rank-row { display: grid; grid-template-columns: 28px 40px minmax(0, 1fr) minmax(90px, 38%) 48px; align-items: center; gap: 10px; padding: 0 12px; }
.rank-cols { height: 36px; font-size: 12px; color: var(--muted); font-weight: 600; }
.rank-cols span:last-child { text-align: right; }
.rank-row {
  width: 100%; height: 48px; border: 0; background: transparent; text-align: left;
  border-radius: 10px; color: var(--ink); transition: background-color .12s;
}
.rank-row:hover { background: var(--fill); }
.rank-row[aria-selected="true"] { background: var(--accent-soft); box-shadow: inset 3px 0 0 var(--accent); }
.rank-row .no { font-size: 14px; font-weight: 700; color: var(--muted); text-align: center; font-variant-numeric: tabular-nums; }
.rank-row:nth-child(-n+3) .no { color: var(--ink); }
.rank-row .nm { font-weight: 600; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rank-row .nm small { font-size: 11px; font-weight: 700; color: var(--accent); background: var(--accent-soft); border-radius: 4px; padding: 1px 5px; margin-left: 6px; vertical-align: 2px; }
.wbar { position: relative; height: 22px; background: var(--fill); border-radius: 6px; overflow: hidden; }
.wbar i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 6px; opacity: .9; }
.wbar i.t0 { background: linear-gradient(90deg, #ff8a8d, var(--red)); }
.wbar i.t1 { background: linear-gradient(90deg, #ffc266, var(--amber)); }
.wbar i.t2 { background: linear-gradient(90deg, #7fa9ff, var(--accent)); }
.wbar i.t3 { background: linear-gradient(90deg, #c2c8d3, var(--gray)); }
.wbar b { position: absolute; right: 8px; top: 0; line-height: 22px; font-size: 12px; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; text-shadow: 0 0 3px #fff, 0 0 2px #fff, 0 0 1px #fff; }
.rank-row .elo { text-align: right; font-size: 14px; font-weight: 700; color: var(--text); }
.rank-more { width: 100%; height: 44px; margin-top: 4px; border: 0; border-top: 1px solid var(--fill); background: transparent; color: var(--accent); font-weight: 600; border-radius: 0 0 10px 10px; }
.rank-more:hover { background: var(--fill); }
.empty { padding: 28px 12px; text-align: center; color: var(--muted); font-size: 14px; }

.rank-detail { position: sticky; top: 84px; padding: 24px; }
.rd-top { display: flex; align-items: center; gap: 10px; }
.rd-top h3 { font-size: 24px; font-weight: 800; }
.rd-no { margin-left: auto; font-size: 13px; font-weight: 700; color: var(--muted); }
.rd-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.rd-stats div { background: var(--fill); border-radius: 12px; padding: 10px 14px; }
.rd-stats b { display: block; font-size: 24px; font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; line-height: 1.3; }
.rd-stats span { font-size: 12px; color: var(--muted); }
.rd-sub { display: flex; align-items: center; gap: 6px; margin: 20px 0 8px; font-size: 14px; font-weight: 700; color: var(--ink); }
.rd-sub::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.rd-sub.bad::before { background: var(--red); }
.vs li { display: grid; grid-template-columns: minmax(0, 1fr) 96px 46px; align-items: center; gap: 10px; padding: 5px 0; font-size: 14px; }
.vs .nm { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--text); }
.vs .mbar { height: 8px; background: var(--fill); border-radius: 4px; overflow: hidden; }
.vs .mbar i { display: block; height: 100%; border-radius: 4px; background: var(--green); }
.vs li.lose .mbar i { background: var(--red); }
.vs .pc { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--green); }
.vs li.lose .pc { color: var(--red); }
.rd-link { display: inline-flex; margin-top: 20px; font-weight: 600; font-size: 14px; }
.fine { margin-top: 20px; font-size: 13px; color: var(--muted); line-height: 1.8; max-width: 62em; }

@media (max-width: 900px) {
  .rank-grid { grid-template-columns: 1fr; }
  .rank-detail { position: static; padding: 18px; margin: 4px 4px 10px; box-shadow: none; border-color: #cddcf7; background: #fbfdff; }
  .rank-list .rank-detail { display: block; }
  .rank-grid > .rank-detail { display: none; }
}
@media (max-width: 520px) {
  .rank-cols, .rank-row { grid-template-columns: 22px 36px minmax(0, 1fr) 96px; gap: 8px; padding: 0 8px; }
  .rank-cols span:last-child, .rank-row .elo { display: none; }
  .rank-row .nm { font-size: 14px; }
  .rd-top h3 { font-size: 20px; }
  .vs li { grid-template-columns: minmax(0, 1fr) 70px 44px; }
}

/* ---------- 视频 ---------- */
.tabs { display: inline-flex; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 4px; gap: 2px; }
.tabs button { border: 0; background: transparent; padding: 7px 14px; border-radius: 9px; font-size: 14px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.tabs button:hover { color: var(--ink); }
.tabs button.on { background: var(--accent); color: #fff; }
.vgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.vcard { display: flex; flex-direction: column; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; }
.vcard:hover { color: var(--ink); transform: translateY(-3px); box-shadow: var(--shadow); }
.vthumb { position: relative; aspect-ratio: 16 / 10; background: var(--fill); overflow: hidden; }
.vthumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.vcard:hover .vthumb img { transform: scale(1.04); }
.vdur { position: absolute; right: 8px; bottom: 8px; background: rgba(15, 20, 35, .72); color: #fff; font-size: 12px; font-weight: 600; padding: 1px 7px; border-radius: 6px; font-variant-numeric: tabular-nums; }
.vbody { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.vtitle { font-size: 15px; font-weight: 600; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.vmeta { margin-top: auto; display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); }
.vtag { font-weight: 700; padding: 1px 7px; border-radius: 5px; }
.vtag.rank { color: var(--red); background: var(--red-soft); }
.vtag.duel { color: var(--accent); background: var(--accent-soft); }
.vtag.train { color: var(--green); background: var(--green-soft); }
.vcard.pick { grid-column: span 2; grid-row: span 2; }
.vcard.pick .vbody { padding: 18px 20px 20px; gap: 10px; }
.vcard.pick .vtitle { font-size: 20px; font-weight: 800; line-height: 1.45; }
.vdesc { font-size: 15px; color: var(--muted); line-height: 1.7; }
.vpick { align-self: flex-start; background: var(--red); color: #fff; font-size: 12px; font-weight: 700; padding: 2px 10px; border-radius: 999px; }
.v-more { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
@media (max-width: 960px) { .vgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) {
  .vgrid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .vcard { border-radius: 12px; }
  .vbody { padding: 8px 10px 10px; gap: 6px; }
  .vtitle { font-size: 13px; line-height: 1.45; }
  .vmeta { font-size: 11px; gap: 6px; }
  .vdur { font-size: 11px; right: 6px; bottom: 6px; }
  .vcard.pick { grid-column: span 2; grid-row: auto; }
  .vcard.pick .vbody { padding: 12px 14px 14px; gap: 8px; }
  .vcard.pick .vtitle { font-size: 16px; }
  .vdesc { font-size: 14px; }
  .tabs { width: 100%; }
  .tabs button { flex: 1; padding: 7px 6px; }
}

/* ---------- 规则社区 ---------- */
.comm { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.comm-text h2 { font-size: 34px; font-weight: 800; }
.comm-text > p { margin-top: 14px; font-size: 17px; }
.checks { margin-top: 20px; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 30px; color: var(--text); }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%232f6feb' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat;
}
.comm-box { padding: 8px; }
.cb-head { display: flex; justify-content: space-between; align-items: baseline; padding: 10px 14px 8px; font-weight: 700; color: var(--ink); }
.cb-total { font-size: 13px; font-weight: 600; color: var(--muted); }
.cb-item { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 12px; color: var(--ink); }
.cb-item:hover { background: var(--fill); color: var(--ink); }
.cb-av { width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 16px; color: #fff; }
.cb-t { font-weight: 600; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cb-m { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cb-n { text-align: right; font-size: 12px; color: var(--muted); white-space: nowrap; }
.cb-n b { display: block; font-size: 16px; color: var(--ink); font-variant-numeric: tabular-nums; }
.cb-all { display: block; text-align: center; padding: 12px; margin-top: 2px; border-top: 1px solid var(--fill); font-weight: 600; font-size: 14px; }
@media (max-width: 900px) { .comm { grid-template-columns: 1fr; gap: 28px; } }
@media (max-width: 640px) { .comm-text h2 { font-size: 26px; } .comm-text > p { font-size: 16px; } .cb-item { padding: 10px; gap: 10px; } }

/* ---------- 下载 ---------- */
.dl {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 0; overflow: hidden;
  background: linear-gradient(135deg, #ffffff 0%, #f3f7ff 100%);
}
.dl-info { padding: 36px 40px; }
.dl-app { display: flex; align-items: center; gap: 16px; }
.dl-app img { width: 64px; height: 64px; border-radius: 16px; box-shadow: 0 10px 20px -8px rgba(47, 111, 235, .55); }
.dl-app h2 { font-size: 30px; font-weight: 800; letter-spacing: .01em; }
.dl-ver { color: var(--muted); font-size: 14px; margin-top: 2px; font-variant-numeric: tabular-nums; }
.dl-ver b { color: var(--green); font-weight: 700; }
.dl .checks { margin-top: 24px; }
.dl-get {
  padding: 36px 40px; display: flex; flex-direction: column; justify-content: center;
  background: linear-gradient(160deg, #2f6feb 0%, #2459d6 100%); color: #e8f0ff;
}
.dl-btn.btn.primary { background: #fff; color: var(--accent-deep); box-shadow: 0 10px 24px -10px rgba(10, 30, 80, .6); min-height: 56px; font-size: 17px; }
.dl-btn.btn.primary:hover { background: #f1f6ff; color: var(--accent-deep); }
.dl-meta { margin-top: 12px; font-size: 13px; color: #c9dafc; text-align: center; }
.dl-steps { margin-top: 22px; display: grid; gap: 10px; counter-reset: s; }
.dl-steps li { counter-increment: s; display: flex; align-items: center; gap: 10px; font-size: 15px; color: #fff; }
.dl-steps li::before {
  content: counter(s); flex: none; width: 24px; height: 24px; border-radius: 50%;
  background: rgba(255, 255, 255, .18); color: #fff; font-size: 13px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.dl-steps b { font-weight: 700; }
.dl-tip { margin-top: 18px; font-size: 13px; color: #c9dafc; line-height: 1.7; }
@media (max-width: 900px) { .dl { grid-template-columns: 1fr; } }
@media (max-width: 520px) {
  .dl-info, .dl-get { padding: 24px 20px; }
  .dl-app img { width: 52px; height: 52px; border-radius: 14px; }
  .dl-app h2 { font-size: 24px; }
}

/* ---------- 关于 ---------- */
.about { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.about-main { display: flex; gap: 24px; align-items: center; }
.about-mascot { width: 120px; flex: none; filter: drop-shadow(0 10px 14px rgba(27, 35, 64, .18)); }
.about-main h2 { font-size: 28px; font-weight: 800; }
.about-main p { margin-top: 10px; color: var(--text); }
.contact { display: grid; gap: 12px; }
.ct {
  display: flex; align-items: center; gap: 14px; width: 100%;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px;
  color: var(--ink); text-align: left; box-shadow: var(--shadow-sm); transition: border-color .15s, box-shadow .15s;
}
a.ct:hover, button.ct:hover { color: var(--ink); border-color: #c5d3ea; box-shadow: var(--shadow); }
.ct-ico { width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex: none; }
.c-blue { background: var(--accent-soft); color: var(--accent); }
.c-ink { background: #edf0f5; color: var(--ink); }
.c-green { background: var(--green-soft); color: var(--green); }
.ct-txt { display: flex; flex-direction: column; line-height: 1.4; }
.ct-txt b { font-size: 15px; }
.ct-txt span { font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
.ct-go { margin-left: auto; font-size: 13px; font-weight: 600; color: var(--accent); }
.ct-go.ok { color: var(--green); }
@media (max-width: 900px) { .about { grid-template-columns: 1fr; gap: 28px; } }
@media (max-width: 520px) { .about-main { flex-direction: column; align-items: flex-start; gap: 16px; } .about-mascot { width: 88px; } .about-main h2 { font-size: 24px; } }

/* ---------- 页脚 ---------- */
.foot { background: var(--surface); border-top: 1px solid var(--line); padding: 32px 0 40px; font-size: 13px; color: var(--muted); }
.foot-in { display: grid; gap: 8px; }
.foot-brand { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); font-size: 15px; margin-bottom: 4px; }
.foot-brand .muted { font-weight: 500; font-size: 13px; margin-left: 4px; }

/* 404 */
.nf { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 40px 16px; gap: 10px; }
.nf img { width: 160px; margin-bottom: 8px; filter: drop-shadow(0 12px 18px rgba(27, 35, 64, .2)); }
.nf h1 { font-size: 28px; font-weight: 800; }
.nf p { color: var(--muted); }
.nf .cta { justify-content: center; margin-top: 16px; }
