/* League Ahbvc 官网 · 樱粉主题（取自软件 sakura 配色） */
:root {
  --bg: #fdf4f7;
  --surface: #fffbfc;
  --surface-2: #f8edf2;
  --surface-3: #f2e3ea;
  --line: rgba(190, 24, 93, .12);
  --line-2: rgba(190, 24, 93, .22);
  --txt: rgba(60, 40, 50, .84);
  --strong: #2f1c26;
  --dim: rgba(60, 40, 50, .58);
  --dim-2: rgba(60, 40, 50, .42);
  --accent: #db2777;
  --accent-hi: #ec4899;
  --accent-rgb: 219, 39, 119;
  --accent-soft: rgba(219, 39, 119, .1);
  --win: #2563eb;
  --win-bg: rgba(37, 99, 235, .1);
  --loss: #be123c;
  --loss-bg: rgba(190, 18, 60, .1);
  --warn: #a16207;
  --warn-bg: #fff8e7;
  --warn-line: #f0d69a;
  --ok: #15803d;
  --r: 10px;
  --shadow: 0 24px 60px rgba(190, 24, 93, .14);
  --shadow-sm: 0 2px 10px rgba(190, 24, 93, .07);
  --font: "Segoe UI", "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", system-ui, sans-serif;
  --mono: "Cascadia Code", "JetBrains Mono", Consolas, "Courier New", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--txt);
  background:
    radial-gradient(1100px 520px at 84% -6%, rgba(236, 72, 153, .1), transparent 62%),
    radial-gradient(900px 460px at 4% 2%, rgba(219, 39, 119, .07), transparent 56%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
  font-size: 14px;
  line-height: 1.7;
}
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hi); }
img { max-width: 100%; }
button { font-family: inherit; }
::selection { background: rgba(219, 39, 119, .18); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.mono { font-family: var(--mono); }
.hidden { display: none !important; }

/* ---------- 顶栏 ---------- */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: rgba(253, 244, 247, .82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.head-in { display: flex; align-items: center; gap: 30px; height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--strong); flex-shrink: 0; }
.brand:hover { color: var(--strong); }
.brand-logo {
  width: 34px; height: 34px; border-radius: 10px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, #db2777, #ec4899);
  color: #fff6fa; font-weight: 800; font-size: 17px; letter-spacing: -.02em;
  box-shadow: 0 6px 16px rgba(219, 39, 119, .28);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { font-size: 15px; letter-spacing: -.01em; }
.brand-text small { font-size: 10.5px; color: var(--dim-2); letter-spacing: .02em; }
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a {
  padding: 8px 13px; border-radius: 8px; font-size: 13.5px;
  color: var(--dim); font-weight: 500; transition: .16s;
}
.site-nav a:hover { color: var(--accent); background: var(--accent-soft); }
.site-nav a.is-active { color: var(--accent); background: var(--accent-soft); font-weight: 600; }
.head-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.ver-chip {
  font-family: var(--mono); font-size: 11.5px; color: var(--accent);
  background: var(--accent-soft); border: 1px solid var(--line-2);
  padding: 5px 9px; border-radius: 999px; white-space: nowrap;
}
.nav-toggle {
  display: none; width: 38px; height: 38px; border-radius: 9px;
  border: 1px solid var(--line-2); background: rgba(255, 255, 255, .6);
  cursor: pointer; padding: 10px 9px; flex-direction: column; justify-content: space-between;
}
.nav-toggle span { display: block; height: 2px; border-radius: 2px; background: var(--strong); transition: .2s; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 10px; border: 1px solid transparent;
  font-size: 14px; font-weight: 600; line-height: 1; padding: 12px 18px;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .16s, box-shadow .16s, background .16s, border-color .16s;
}
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.btn-primary {
  background: linear-gradient(135deg, #db2777, #ec4899); color: #fff6fa;
  box-shadow: 0 6px 18px rgba(219, 39, 119, .25);
}
.btn-primary:hover { color: #fff6fa; transform: translateY(-1px); box-shadow: 0 10px 26px rgba(219, 39, 119, .34); }
.btn-ghost { background: rgba(255, 255, 255, .62); border-color: var(--line-2); color: var(--strong); }
.btn-ghost:hover { color: var(--accent); border-color: var(--accent); background: #fff; }
.btn-lg { padding: 15px 24px; font-size: 15px; border-radius: 11px; }
.btn-sm { padding: 9px 14px; font-size: 13px; border-radius: 9px; }

/* ---------- 首页 Hero ---------- */
.hero { padding: 60px 0 26px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); gap: 54px; align-items: center; }
.hero-copy, .hero-visual { min-width: 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, .62); color: var(--dim);
  font-size: 12px; font-weight: 500;
}
.eyebrow i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px rgba(219, 39, 119, .14); }
.hero h1 {
  margin: 20px 0 16px; font-size: clamp(42px, 5vw, 64px); line-height: 1.05;
  letter-spacing: -.035em; color: var(--strong); font-weight: 800;
}
.hero h1 .grad {
  background: linear-gradient(100deg, #db2777 10%, #ec4899 55%, #f472b6);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .lead { margin: 0; font-size: 16px; line-height: 1.85; color: var(--dim); max-width: 540px; }
.hero .lead b { color: var(--strong); font-weight: 600; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 22px; font-size: 12.5px; color: var(--dim); }
.hero-meta span { display: inline-flex; align-items: center; gap: 6px; }
.hero-meta svg { width: 14px; height: 14px; color: var(--accent); flex-shrink: 0; }

.hero-visual { position: relative; }
.hero-visual::before,
.hero-visual::after {
  content: ''; position: absolute; border-radius: 50%; filter: blur(42px); z-index: 0;
}
.hero-visual::before { width: 220px; height: 220px; right: -30px; top: -40px; background: rgba(236, 72, 153, .18); }
.hero-visual::after { width: 190px; height: 190px; left: 0; bottom: -40px; background: rgba(219, 39, 119, .12); }

.app-mock {
  position: relative; z-index: 1; width: 100%; max-width: 552px; margin-left: auto;
  background: var(--surface); border: 1px solid var(--line-2); border-radius: 16px;
  box-shadow: var(--shadow); overflow: hidden;
}
.mock-bar {
  display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 14px;
  background: linear-gradient(180deg, #fff7fa, #fdf0f4);
  border-bottom: 1px solid var(--line);
}
.mock-logo {
  width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center;
  background: linear-gradient(135deg, #db2777, #ec4899);
  color: #fff; font-size: 11px; font-weight: 800;
}
.mock-title { font-size: 12px; font-weight: 700; color: var(--strong); }
.mock-pill { margin-left: auto; font-size: 10.5px; color: var(--accent); background: var(--accent-soft); padding: 3px 9px; border-radius: 999px; }
.mock-bell { width: 22px; height: 22px; display: grid; place-items: center; color: var(--dim); }
.mock-bell svg { width: 14px; height: 14px; }

.mock-body { display: flex; height: 352px; background: #fffdfe; }
.mock-side {
  width: 64px; flex-shrink: 0; padding: 10px 8px; display: flex; flex-direction: column; gap: 5px;
  background: #fff7fa; border-right: 1px solid var(--line);
}
.mock-side span {
  display: flex; align-items: center; gap: 5px; padding: 5px 6px; border-radius: 6px;
  font-size: 10px; color: var(--dim-2); white-space: nowrap;
}
.mock-side span i { width: 9px; height: 9px; border-radius: 3px; background: rgba(60, 40, 50, .18); flex-shrink: 0; }
.mock-side span.is-on { background: var(--accent-soft); color: var(--accent); font-weight: 600; }
.mock-side span.is-on i { background: var(--accent); }

.mock-main { flex: 1; min-width: 0; padding: 12px; display: flex; flex-direction: column; gap: 7px; background: #fdf5f8; }
.mock-match {
  display: flex; align-items: center; gap: 9px; height: 98px; padding: 8px 10px; border-radius: 9px;
  border: 1px solid rgba(37, 99, 235, .16); background: var(--win-bg);
}
.mock-match.lose { border-color: rgba(190, 18, 60, .16); background: var(--loss-bg); }
.mock-ava {
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0; position: relative;
  background: radial-gradient(circle at 32% 28%, #f9a8d4, #db2777 58%, #831843);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .7);
}
.mock-match.lose .mock-ava { background: radial-gradient(circle at 32% 28%, #93c5fd, #2563eb 58%, #1e3a8a); }
.mock-ava::after {
  content: ''; position: absolute; right: -3px; bottom: -3px; width: 13px; height: 13px;
  border-radius: 50%; background: #fff; border: 1px solid var(--line-2);
}
.mock-match-info { min-width: 0; }
.mock-kda { font-size: 11px; font-weight: 700; color: var(--strong); letter-spacing: -.01em; }
.mock-kda-sub { font-size: 9px; color: var(--dim); margin-top: 1px; }
.mock-tags { display: flex; gap: 3px; margin-top: 5px; }
.mock-tags span {
  font-size: 8px; line-height: 1; padding: 3px 4px; border-radius: 3px;
  background: rgba(255, 255, 255, .7); color: var(--dim); border: 1px solid var(--line);
}
.mock-tags span.hot { color: var(--loss); border-color: rgba(190, 18, 60, .2); }
.mock-roster { margin-left: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 7px; width: 104px; flex-shrink: 0; }
.mock-roster span { display: flex; align-items: center; gap: 3px; }
.mock-roster i { width: 5px; height: 5px; border-radius: 50%; background: var(--accent-hi); flex-shrink: 0; }
.mock-roster b { display: block; height: 5px; border-radius: 2px; background: rgba(60, 40, 50, .24); flex: 1; }
.mock-roster span.me b { background: var(--strong); }
.mock-chev { width: 12px; text-align: center; color: var(--dim-2); font-size: 15px; flex-shrink: 0; }

.float-chip {
  position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 12px; border-radius: 999px; background: rgba(255, 251, 252, .96);
  border: 1px solid var(--line-2); box-shadow: 0 10px 24px rgba(190, 24, 93, .14);
  font-size: 11px; font-weight: 600; color: var(--strong); white-space: nowrap;
}
.float-chip i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.float-chip.one { top: -42px; left: -8px; }
.float-chip.two { bottom: -14px; right: -6px; }

/* ---------- 数据条 ---------- */
.stats {
  margin-top: 46px; display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
  background: rgba(255, 255, 255, .58); box-shadow: var(--shadow-sm);
}
.stat { padding: 20px 24px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-size: 26px; color: var(--strong); letter-spacing: -.02em; line-height: 1.2; }
.stat b small { font-size: 13px; color: var(--accent); font-weight: 600; margin-left: 2px; }
.stat span { display: block; margin-top: 4px; font-size: 12.5px; color: var(--dim); }

/* ---------- 通用区块 ---------- */
.section { padding: 68px 0; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 26px; }
.sec-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.sec-head h2 { margin: 5px 0 6px; font-size: 28px; line-height: 1.3; color: var(--strong); letter-spacing: -.02em; }
.sec-desc { margin: 0; font-size: 14px; color: var(--dim); }
.sec-link { font-size: 13px; font-weight: 600; white-space: nowrap; padding-bottom: 4px; }

/* ---------- 公告 ---------- */
.notice-card {
  display: grid; grid-template-columns: 220px minmax(0, 1fr);
  border: 1px solid var(--warn-line); border-radius: 14px; overflow: hidden;
  background: linear-gradient(180deg, #fffdf7, #fff8ea);
  box-shadow: 0 3px 14px rgba(161, 98, 7, .08);
}
.notice-side { padding: 24px; border-right: 1px dashed var(--warn-line); background: rgba(255, 255, 255, .42); }
.level-badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; border-radius: 6px;
  font-size: 11px; font-weight: 700; color: var(--warn);
  background: #fef3c7; border: 1px solid #f3d38b;
}
.level-badge i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.notice-side .notice-date { display: block; margin-top: 12px; font-family: var(--mono); font-size: 11.5px; color: var(--dim-2); }
.notice-side .notice-title { margin: 4px 0 8px; font-size: 21px; color: var(--strong); letter-spacing: -.01em; }
.notice-side .notice-hint { margin: 0; font-size: 12px; color: var(--dim); }
.notice-stack { display: grid; gap: 14px; }
.notice-medium, .notice-low { border-color: var(--line-2); background: linear-gradient(180deg, #fffdfe, #fff6fa); }
.notice-medium .notice-side, .notice-low .notice-side { border-right-color: var(--line-2); }
.notice-medium .level-badge, .notice-low .level-badge { color: var(--accent); background: var(--accent-soft); border-color: var(--line-2); }
.notice-body { padding: 22px 28px; font-size: 14px; line-height: 1.9; }
.notice-body > p { margin: 0 0 12px; }
.notice-body > p:last-child { margin-bottom: 0; }
.qa-list { display: grid; gap: 8px; margin-top: 4px; }
.qa { padding: 10px 12px; border-radius: 8px; background: rgba(255, 255, 255, .62); border: 1px solid rgba(240, 214, 154, .55); }
.qa b { display: block; font-size: 13px; color: var(--strong); }
.qa span { display: block; margin-top: 3px; font-size: 13px; color: var(--dim); }

/* ---------- 更新日志卡片 ---------- */
.log-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; }
.log-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  padding: 20px; box-shadow: var(--shadow-sm);
  color: inherit; text-decoration: none;
  transition: transform .18s, box-shadow .18s, border-color .18s;
}
.log-card:hover { color: inherit; }
.log-entry { scroll-margin-top: 88px; }
.log-card:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(190, 24, 93, .1); border-color: var(--line-2); }
.log-card.is-latest { border-color: rgba(219, 39, 119, .32); box-shadow: 0 10px 30px rgba(219, 39, 119, .1); }
.log-top { display: flex; align-items: center; gap: 8px; }
.log-ver { font-size: 19px; font-weight: 800; color: var(--strong); letter-spacing: -.02em; }
.badge-latest {
  font-size: 10px; font-weight: 700; color: #fff6fa; padding: 3px 7px; border-radius: 5px;
  background: linear-gradient(135deg, #db2777, #ec4899);
}
.log-date { margin-left: auto; font-family: var(--mono); font-size: 11px; color: var(--dim-2); }
.log-title { margin: 6px 0 10px; font-size: 13px; color: var(--dim); }
.log-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.log-list li { position: relative; padding-left: 13px; font-size: 12.5px; line-height: 1.65; color: var(--txt); }
.log-list li::before { content: ''; position: absolute; left: 0; top: 8px; width: 4px; height: 4px; border-radius: 50%; background: var(--accent); }
.log-list li.more { color: var(--dim-2); font-size: 12px; }

/* ---------- 功能 ---------- */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feat {
  display: flex; gap: 14px; padding: 22px; border-radius: 14px;
  background: rgba(255, 255, 255, .66); border: 1px solid var(--line);
  transition: transform .18s, box-shadow .18s, background .18s;
}
.feat:hover { transform: translateY(-2px); background: #fff; box-shadow: 0 12px 28px rgba(190, 24, 93, .08); }
.feat-icon {
  width: 42px; height: 42px; border-radius: 11px; flex-shrink: 0;
  display: grid; place-items: center; color: var(--accent);
  background: var(--accent-soft); border: 1px solid rgba(219, 39, 119, .14);
}
.feat-icon svg { width: 20px; height: 20px; }
.feat h3 { margin: 1px 0 6px; font-size: 15px; color: var(--strong); letter-spacing: -.01em; }
.feat p { margin: 0; font-size: 12.8px; line-height: 1.75; color: var(--dim); }

/* ---------- 三步开始 ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step { padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-sm); }
.step-num {
  width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(135deg, #db2777, #ec4899); color: #fff6fa;
  font-size: 13px; font-weight: 800; box-shadow: 0 5px 14px rgba(219, 39, 119, .22);
}
.step h3 { margin: 13px 0 6px; font-size: 15px; color: var(--strong); }
.step p { margin: 0; font-size: 13px; color: var(--dim); line-height: 1.75; }
.step code { font-family: var(--mono); font-size: 11.5px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 4px; padding: 1px 5px; color: var(--accent); }

/* ---------- 下载 CTA ---------- */
.cta {
  position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 36px;
  padding: 38px 40px; margin: 10px 0 0; border-radius: 18px;
  border: 1px solid var(--line-2);
  background: linear-gradient(120deg, #fce7ef, #fff2f7 52%, #ffe3ee);
  box-shadow: 0 14px 40px rgba(190, 24, 93, .08);
}
.cta::after {
  content: ''; position: absolute; width: 320px; height: 320px; right: -80px; top: -140px;
  border-radius: 50%; background: rgba(236, 72, 153, .12);
}
.cta-left { position: relative; z-index: 1; }
.cta h2 { margin: 0 0 8px; font-size: 26px; color: var(--strong); letter-spacing: -.02em; }
.cta p { margin: 0; font-size: 13.5px; color: var(--dim); max-width: 560px; }
.cta-actions { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-end; gap: 9px; flex-shrink: 0; }
.cta-actions .meta { font-size: 11.5px; color: var(--dim-2); text-align: right; }
.cta-actions .meta b { color: var(--dim); font-weight: 600; }

/* ---------- 页脚 ---------- */
.site-foot { margin-top: 64px; background: rgba(255, 247, 250, .78); border-top: 1px solid var(--line); }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 32px; padding: 44px 0 32px; }
.foot-brand .brand { margin-bottom: 12px; }
.foot-brand p { margin: 0; font-size: 12.5px; line-height: 1.8; color: var(--dim); max-width: 380px; }
.foot-col h4 { margin: 0 0 12px; font-size: 12px; letter-spacing: .08em; color: var(--dim-2); text-transform: uppercase; }
.foot-col a { display: block; font-size: 13px; color: var(--txt); padding: 4px 0; word-break: break-all; }
.foot-col a:hover { color: var(--accent); }
.foot-bottom {
  display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between;
  padding: 16px 24px 22px; border-top: 1px solid var(--line);
  font-size: 11.5px; color: var(--dim-2);
}
.foot-bottom span { line-height: 1.7; }

/* ---------- 内页头部 ---------- */
.page-head { padding: 54px 0 22px; }
.page-head h1 { margin: 10px 0 10px; font-size: 36px; line-height: 1.2; color: var(--strong); letter-spacing: -.025em; }
.page-head p { margin: 0; font-size: 14.5px; color: var(--dim); max-width: 640px; line-height: 1.8; }
.page-head .crumb { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; color: var(--dim-2); }
.page-head .crumb a { color: var(--dim); }
.page-head .crumb a:hover { color: var(--accent); }

/* ---------- 更新页筛选 ---------- */
.filter-bar {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  margin: 20px 0 28px; padding: 10px; border: 1px solid var(--line); border-radius: 12px;
  background: rgba(255, 255, 255, .6);
}
.chip {
  border: 1px solid transparent; background: transparent; color: var(--dim);
  padding: 7px 14px; border-radius: 8px; font-size: 12.5px; font-weight: 600; cursor: pointer;
  transition: .15s;
}
.chip:hover { color: var(--accent); background: var(--accent-soft); }
.chip.is-on { color: var(--accent); background: var(--accent-soft); border-color: var(--line-2); }
.search-box { margin-left: auto; position: relative; }
.search-box svg { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); width: 14px; height: 14px; color: var(--dim-2); }
.search-box input {
  width: 240px; height: 36px; padding: 0 12px 0 33px; border-radius: 8px;
  border: 1px solid var(--line-2); background: rgba(255, 255, 255, .86);
  font-family: inherit; font-size: 12.5px; color: var(--strong); outline: none; transition: .15s;
}
.search-box input::placeholder { color: var(--dim-2); }
.search-box input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(219, 39, 119, .1); }

.section-label { display: flex; align-items: baseline; gap: 10px; margin: 34px 0 16px; }
.section-label h2 { margin: 0; font-size: 19px; color: var(--strong); letter-spacing: -.01em; }
.section-label span { font-size: 12px; color: var(--dim-2); }

/* ---------- 时间线 ---------- */
.timeline { position: relative; padding-left: 28px; }
.timeline::before {
  content: ''; position: absolute; left: 7px; top: 12px; bottom: 12px; width: 2px;
  background: linear-gradient(180deg, rgba(219, 39, 119, .3), rgba(219, 39, 119, .04));
}
.log-entry { position: relative; margin-bottom: 18px; }
.log-entry:last-child { margin-bottom: 0; }
.log-dot {
  position: absolute; left: -28px; top: 24px; width: 14px; height: 14px; border-radius: 50%;
  background: #fff; border: 3px solid var(--accent); box-shadow: 0 0 0 3px rgba(219, 39, 119, .12);
}
.log-entry.is-old .log-dot { border-color: rgba(219, 39, 119, .4); box-shadow: none; }
.log-entry .log-card { padding: 22px 24px; }
.log-head { display: flex; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.log-head-main { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.log-entry .log-date { margin-left: 0; }
.log-entry .log-title { margin: 5px 0 0; font-size: 13.5px; width: 100%; }
.log-tags { display: flex; gap: 4px; margin-left: auto; }
.tag { font-size: 10.5px; font-weight: 600; padding: 3px 8px; border-radius: 5px; line-height: 1.4; }
.tag-add { color: var(--ok); background: rgba(21, 128, 61, .08); border: 1px solid rgba(21, 128, 61, .18); }
.tag-fix { color: var(--loss); background: rgba(190, 18, 60, .07); border: 1px solid rgba(190, 18, 60, .16); }
.tag-opt { color: #1d4ed8; background: rgba(37, 99, 235, .07); border: 1px solid rgba(37, 99, 235, .16); }
.log-sec { margin-top: 16px; }
.log-sec + .log-sec { padding-top: 14px; border-top: 1px dashed var(--line); }
.log-sec-type { display: inline-block; margin-bottom: 7px; font-size: 10.5px; font-weight: 700; letter-spacing: .04em; color: var(--accent); }
.log-sec ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.log-sec li { position: relative; padding-left: 15px; font-size: 13px; line-height: 1.75; color: var(--txt); }
.log-sec li::before { content: ''; position: absolute; left: 0; top: 9px; width: 5px; height: 5px; border-radius: 50%; background: var(--accent-hi); opacity: .75; }
.empty-state {
  padding: 46px 20px; text-align: center; border: 1px dashed var(--line-2); border-radius: 14px;
  color: var(--dim); font-size: 13.5px; background: rgba(255, 255, 255, .4);
}

/* ---------- 文档 ---------- */
.docs-wrap {
  display: grid; grid-template-columns: 210px minmax(0, 780px); gap: 46px;
  justify-content: center; padding: 26px 0 30px;
}
.docs-side { position: sticky; top: 88px; align-self: start; }
.doc-search { margin-bottom: 14px; }
.doc-search .search-box { margin: 0; }
.doc-search .search-box input { width: 100%; }
.doc-result { min-height: 18px; margin: 8px 2px 0; font-size: 11.5px; color: var(--dim-2); }
.docs-side h3 { margin: 0 0 10px; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--dim-2); }
.docs-nav { display: flex; flex-direction: column; gap: 1px; border-left: 2px solid var(--line); }
.docs-nav a {
  margin-left: -2px; padding: 7px 13px; border-left: 2px solid transparent;
  font-size: 13px; color: var(--dim); transition: .15s;
}
.docs-nav a:hover { color: var(--accent); background: var(--accent-soft); }
.docs-nav a.active { color: var(--accent); border-left-color: var(--accent); background: linear-gradient(90deg, var(--accent-soft), transparent); font-weight: 600; }
.docs-main { min-width: 0; }
.doc-section {
  scroll-margin-top: 88px; margin-bottom: 16px; padding: 24px 26px;
  background: rgba(255, 255, 255, .72); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow-sm);
}
.doc-section h2 { margin: 0 0 14px; font-size: 20px; color: var(--strong); letter-spacing: -.015em; display: flex; align-items: center; gap: 9px; }
.doc-section h2 .num {
  font-family: var(--mono); font-size: 11px; font-weight: 600; color: var(--accent);
  background: var(--accent-soft); border: 1px solid var(--line-2); border-radius: 5px;
  padding: 2px 6px; line-height: 1.6;
}
.doc-section h3 { margin: 20px 0 8px; font-size: 14.5px; color: var(--strong); }
.doc-section p { margin: 0 0 10px; font-size: 13.5px; line-height: 1.85; }
.doc-section p:last-child { margin-bottom: 0; }
.doc-section ul, .doc-section ol { margin: 0 0 10px; padding-left: 20px; font-size: 13.5px; line-height: 1.85; }
.doc-section li { margin-bottom: 4px; }
.doc-section li:last-child { margin-bottom: 0; }
.doc-section strong { color: var(--strong); font-weight: 600; }
.doc-section code {
  font-family: var(--mono); font-size: 12px; color: var(--accent);
  background: var(--surface-2); border: 1px solid var(--line); border-radius: 4px; padding: 1px 5px;
  overflow-wrap: anywhere;
}
.doc-section a { font-weight: 500; }
.doc-sec-title {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin: 0 0 14px; padding-bottom: 12px; border-bottom: 1px solid var(--line);
}
.doc-sec-title h2 { margin: 0; padding: 0; border: 0; }
.doc-sec-title .to-top { font-size: 11.5px; color: var(--dim-2); }
.doc-sec-title .to-top:hover { color: var(--accent); }

.table-wrap { overflow-x: auto; margin: 0 0 12px; border: 1px solid var(--line); border-radius: 9px; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th, td { padding: 9px 12px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--surface-2); color: var(--strong); font-weight: 600; font-size: 12.5px; white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
td code { white-space: nowrap; }

.code-block {
  position: relative; margin: 10px 0 12px; padding: 13px 15px; border-radius: 9px;
  background: var(--surface-2); border: 1px solid var(--line);
  font-family: var(--mono); font-size: 12px; line-height: 1.75; color: var(--strong);
  overflow-x: auto; white-space: pre;
}
.code-block .copy-btn {
  position: absolute; top: 7px; right: 7px; border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, .8); color: var(--dim); font-size: 10.5px; font-weight: 600;
  padding: 3px 8px; border-radius: 5px; cursor: pointer; opacity: 0; transition: .15s;
  font-family: var(--font);
}
.code-block:hover .copy-btn, .code-block .copy-btn:focus { opacity: 1; }
.code-block .copy-btn:hover { color: var(--accent); border-color: var(--accent); }

.callout { display: flex; gap: 10px; padding: 12px 14px; border-radius: 9px; margin: 12px 0; font-size: 13px; line-height: 1.8; }
.callout-icon { flex-shrink: 0; font-weight: 800; font-size: 13px; line-height: 1.8; }
.callout p { margin: 0; font-size: 13px; line-height: 1.8; }
.callout-info { background: var(--accent-soft); border: 1px solid rgba(219, 39, 119, .16); color: var(--txt); }
.callout-info .callout-icon { color: var(--accent); }
.callout-warn { background: var(--warn-bg); border: 1px solid var(--warn-line); color: #713f12; }
.callout-warn .callout-icon { color: var(--warn); }
.callout-danger { background: rgba(190, 18, 60, .06); border: 1px solid rgba(190, 18, 60, .18); color: #881337; }
.callout-danger .callout-icon { color: var(--loss); }

.faq details { border: 1px solid var(--line); border-radius: 9px; background: rgba(255, 255, 255, .62); margin-bottom: 8px; overflow: hidden; }
.faq details[open] { border-color: var(--line-2); background: #fff; }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 16px; font-size: 13.5px; font-weight: 600; color: var(--strong);
  cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 17px; font-weight: 400; color: var(--accent); line-height: 1; }
.faq details[open] summary::after { content: '−'; }
.faq summary:hover { color: var(--accent); }
.faq-body { padding: 0 16px 13px; font-size: 13px; line-height: 1.85; color: var(--dim); }
.faq-body p { margin: 0 0 6px; }
.faq-body p:last-child { margin-bottom: 0; }
.faq-body code { font-size: 11.5px; }

.docs-empty { padding: 40px 20px; text-align: center; color: var(--dim); border: 1px dashed var(--line-2); border-radius: 12px; font-size: 13.5px; }

/* ---------- 复制提示 ---------- */
.toast {
  position: fixed; left: 50%; bottom: 30px; transform: translateX(-50%) translateY(12px);
  background: rgba(47, 28, 38, .94); color: #fff; font-size: 12.5px;
  padding: 9px 16px; border-radius: 8px; z-index: 100; opacity: 0;
  pointer-events: none; transition: .2s;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .hero { padding: 44px 0 20px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 42px; }
  .hero .lead { max-width: 640px; }
  .app-mock { margin: 0 auto; }
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .docs-wrap { grid-template-columns: 1fr; gap: 24px; padding-top: 18px; }
  .docs-side { position: static; }
  .docs-nav { flex-direction: row; flex-wrap: wrap; gap: 6px; border-left: 0; }
  .docs-nav a { border-left: 0; border: 1px solid var(--line); border-radius: 999px; margin: 0; padding: 6px 12px; background: rgba(255, 255, 255, .6); }
  .docs-nav a.active { border-color: var(--line-2); background: var(--accent-soft); }
  .doc-search .search-box { max-width: 320px; }
  .cta { flex-direction: column; align-items: flex-start; padding: 30px; }
  .cta-actions { align-items: flex-start; }
  .cta-actions .meta { text-align: left; }
}

@media (max-width: 760px) {
  .wrap { padding: 0 18px; }
  .head-in { height: 60px; gap: 14px; }
  .brand-text small { display: none; }
  .site-nav {
    position: absolute; top: 60px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 10px 18px 14px; background: rgba(253, 244, 247, .98);
    border-bottom: 1px solid var(--line); box-shadow: 0 16px 30px rgba(190, 24, 93, .08);
    display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 11px 12px; font-size: 14px; }
  .head-actions { gap: 8px; }
  .ver-chip { display: none; }
  .nav-toggle { display: flex; }
  .hero h1 { font-size: 40px; }
  .hero .lead { font-size: 14.5px; }
  .hero-cta .btn { flex: 1; min-width: 140px; }
  .float-chip.one { left: 0; top: -38px; }
  .float-chip.two { right: 2px; bottom: -12px; }
  .mock-side { width: 52px; }
  .mock-roster { width: 72px; gap: 3px 5px; }
  .mock-match { gap: 7px; padding: 8px; }
  .mock-main { padding: 9px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 16px 18px; border-bottom: 1px solid var(--line); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(3), .stat:nth-child(4) { border-bottom: 0; }
  .section { padding: 48px 0; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .sec-head h2 { font-size: 24px; }
  .feat-grid, .steps { grid-template-columns: 1fr; }
  .notice-card { grid-template-columns: 1fr; }
  .notice-side { border-right: 0; border-bottom: 1px dashed var(--warn-line); padding: 18px 20px; }
  .notice-side .notice-title { margin-bottom: 2px; }
  .notice-side p { display: none; }
  .notice-body { padding: 18px 20px; font-size: 13.5px; }
  .page-head { padding: 34px 0 16px; }
  .page-head h1 { font-size: 29px; }
  .filter-bar { padding: 8px; gap: 4px; }
  .search-box { margin-left: 0; width: 100%; }
  .search-box input { width: 100%; }
  .timeline { padding-left: 20px; }
  .log-dot { left: -20px; top: 22px; }
  .log-entry .log-card { padding: 18px; }
  .log-tags { margin-left: 0; }
  .cta { padding: 24px 20px; }
  .cta h2 { font-size: 22px; }
  .foot-grid { grid-template-columns: 1fr; gap: 24px; padding: 32px 0 24px; }
  .foot-bottom { padding: 14px 18px 20px; }
  .doc-section { padding: 18px; }
  .doc-section h2 { font-size: 18px; }
}

@media (max-width: 480px) {
  .mock-side span { font-size: 0; gap: 0; justify-content: center; padding: 7px 0; }
  .mock-side span i { width: 10px; height: 10px; border-radius: 50%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
