/* 开源平替 · 全站样式（导航站版） */
:root {
  --bg: #F2F4F1; --surface: #FFFFFF; --ink: #16201B; --muted: #5E6A64; --line: #DEE4DF;
  --accent: #1D6A4C; --accent-ink: #FFFFFF; --accent-soft: #E1EEE6;
  --amber: #87590A; --amber-soft: #F4E9D0; --gold: #C9900F;
  --hero-a: #134A36; --hero-b: #1F7A58; --hero-ink: #F2F8F4; --hero-muted: #B9D6C8;
  --shadow: 0 1px 2px rgba(22,32,27,.06), 0 4px 14px rgba(22,32,27,.06);
  --shadow-up: 0 2px 4px rgba(22,32,27,.08), 0 12px 28px rgba(22,32,27,.12);
  --t1: #D9EDE3; --t1i: #1D6A4C; --t2: #DCE7F7; --t2i: #2A5BA8; --t3: #F6E2D3; --t3i: #A04E17;
  --t4: #EADFF5; --t4i: #6B3FA0; --t5: #F7DDE4; --t5i: #A23558; --t6: #DDF0F2; --t6i: #1E7480;
  --font-sans: "HarmonyOS Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", "Noto Sans CJK SC", "Source Han Sans SC", system-ui, sans-serif;
  --font-mono: ui-monospace, "SF Mono", "Cascadia Mono", Consolas, "Liberation Mono", monospace;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0E1411; --surface: #161E1A; --ink: #E3EAE6; --muted: #98A69F; --line: #27322C;
    --accent: #63C196; --accent-ink: #0E1411; --accent-soft: #1A2E24;
    --amber: #E2B45E; --amber-soft: #33291A; --gold: #E2B45E;
    --hero-a: #0F2A20; --hero-b: #164A37; --hero-ink: #E8F3EC; --hero-muted: #8FB5A3;
    --shadow: 0 1px 2px rgba(0,0,0,.3); --shadow-up: 0 8px 24px rgba(0,0,0,.45);
    --t1: #1A2E24; --t1i: #7ACDA5; --t2: #1B2537; --t2i: #8DB2EC; --t3: #33251A; --t3i: #EBA77A;
    --t4: #2A2136; --t4i: #C2A3EA; --t5: #35202A; --t5i: #EB98B2; --t6: #17302F; --t6i: #7FD0D8;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0E1411; --surface: #161E1A; --ink: #E3EAE6; --muted: #98A69F; --line: #27322C;
  --accent: #63C196; --accent-ink: #0E1411; --accent-soft: #1A2E24;
  --amber: #E2B45E; --amber-soft: #33291A; --gold: #E2B45E;
  --hero-a: #0F2A20; --hero-b: #164A37; --hero-ink: #E8F3EC; --hero-muted: #8FB5A3;
  --shadow: 0 1px 2px rgba(0,0,0,.3); --shadow-up: 0 8px 24px rgba(0,0,0,.45);
  --t1: #1A2E24; --t1i: #7ACDA5; --t2: #1B2537; --t2i: #8DB2EC; --t3: #33251A; --t3i: #EBA77A;
  --t4: #2A2136; --t4i: #C2A3EA; --t5: #35202A; --t5i: #EB98B2; --t6: #17302F; --t6i: #7FD0D8;
  color-scheme: dark;
}

/* 基础 */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-sans); font-size: 15.5px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
[hidden] { display: none !important; }
a { color: var(--accent); text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3 { line-height: 1.3; text-wrap: balance; }
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.wrap { max-width: 1240px; margin-inline: auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.notice { background: var(--amber-soft); color: var(--amber); font-size: 13px; line-height: 1.5; }
.notice .wrap { padding-block: 7px; }

/* 顶栏 */
.top { position: sticky; top: 0; z-index: 20; background: var(--hero-a); color: var(--hero-ink); padding-top: env(safe-area-inset-top, 0px); }
.top .wrap { display: flex; align-items: center; gap: 16px; height: 58px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; letter-spacing: .02em; flex: none; color: inherit; text-decoration: none; }
.brand-mark { width: 34px; height: 34px; display: grid; place-items: center; background: #fff; border-radius: 9px; flex: none; }
.brand-mark img { width: 26px; height: 26px; display: block; }
.top-search { flex: 1; max-width: 360px; margin-left: auto; display: flex; align-items: center; gap: 8px; background: rgba(255,255,255,.12); border-radius: 999px; padding: 6px 14px; }
.top-search svg { flex: none; color: var(--hero-muted); }
.top-search input { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--hero-ink); font: inherit; font-size: 14.5px; outline: none; }
.top-search input::placeholder { color: var(--hero-muted); }
.is-home .top-search { display: none; }
.is-home .top.scrolled .top-search { display: flex; }
.top nav { display: flex; gap: 18px; font-size: 14px; flex: none; }
.top nav a { color: var(--hero-muted); text-decoration: none; }
.top nav a:hover { color: var(--hero-ink); }
.is-home .top:not(.scrolled) nav { margin-left: auto; }
@media (max-width: 760px) { .top nav { display: none; } .top-search { max-width: none; } }

/* 首屏 */
/* 背景图中间是深色留白，两侧是图标；手机上只露出中间，所以再叠一层渐变兜底 */
.hero { background: #06281C url(hero.webp) center / cover no-repeat; color: var(--hero-ink); position: relative; overflow: hidden; }
@media (max-width: 720px) { .hero { background-image: linear-gradient(160deg, rgba(19,74,54,.35), rgba(31,122,88,.35)), url(hero.webp); } }
.hero .wrap { padding-block: 44px 40px; display: grid; gap: 18px; justify-items: center; text-align: center; position: relative; z-index: 1; }
.hero h1 { font-size: clamp(26px, 4.6vw, 42px); font-weight: 900; letter-spacing: .01em; }
.hero .sub { color: var(--hero-muted); font-size: 16px; max-width: 34em; }
.engines { display: flex; gap: 4px; justify-content: center; flex-wrap: wrap; }
.engines button { border: 0; background: transparent; color: var(--hero-muted); font: inherit; font-size: 14px; padding: 4px 12px; border-radius: 999px; cursor: pointer; }
.engines button[aria-pressed="true"] { background: rgba(255,255,255,.16); color: var(--hero-ink); font-weight: 700; }
.searchbox { width: min(680px, 100%); display: flex; align-items: center; gap: 10px; background: var(--surface); color: var(--ink); border-radius: 14px; padding: 6px 6px 6px 18px; box-shadow: 0 10px 30px rgba(0,0,0,.18); }
.searchbox svg { flex: none; color: var(--muted); }
.searchbox input { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--ink); font: inherit; font-size: 17px; outline: none; padding-block: 8px; }
.searchbox input::placeholder { color: var(--muted); }
.searchbox button { flex: none; border: 0; background: var(--accent); color: var(--accent-ink); font: inherit; font-weight: 700; border-radius: 10px; padding: 9px 18px; cursor: pointer; }
.hot { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; font-size: 13.5px; color: var(--hero-muted); align-items: center; }
.hot button { border: 1px solid rgba(255,255,255,.22); background: transparent; color: var(--hero-ink); font: inherit; padding: 3px 12px; border-radius: 999px; cursor: pointer; }
.hot button:hover { background: rgba(255,255,255,.12); }
.stats { display: flex; gap: 6px 28px; flex-wrap: wrap; justify-content: center; font-size: 13.5px; color: var(--hero-muted); }
.stats b { color: var(--hero-ink); font-family: var(--font-mono); font-size: 18px; margin-right: 4px; }

/* 首页布局和分类导航 */
.layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; padding-block: 24px 56px; }
@media (min-width: 1024px) { .layout { grid-template-columns: 168px minmax(0, 1fr); } }
.side { display: none; }
@media (min-width: 1024px) {
  .side { display: block; position: sticky; top: 82px; align-self: start; }
  .side a { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 10px; color: var(--muted); font-size: 14.5px; text-decoration: none; }
  .side a:hover { background: var(--surface); color: var(--ink); }
  .side a.on { background: var(--surface); color: var(--ink); font-weight: 700; box-shadow: var(--shadow); }
  .side .n { margin-left: auto; font-family: var(--font-mono); font-size: 12px; color: var(--muted); }
  .side i { width: 8px; height: 8px; border-radius: 3px; flex: none; }
}
.catbar { position: sticky; top: 58px; z-index: 10; background: var(--bg); margin-inline: -16px; padding: 10px 16px; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.catbar::-webkit-scrollbar { display: none; }
.catbar a { flex: none; padding: 5px 13px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 14px; color: var(--ink); text-decoration: none; }
.catbar a.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.catbar i { display: none; }
.catbar .n { margin-left: 5px; font-family: var(--font-mono); font-size: 12px; opacity: .6; }
@media (min-width: 1024px) { .catbar { display: none; } }
.home-main { min-width: 0; display: grid; gap: 40px; }
.block-head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.block-head h2 { font-size: 20px; font-weight: 800; display: flex; align-items: center; gap: 10px; }
.block-head h2 i { width: 10px; height: 10px; border-radius: 3px; }
.block-head span { color: var(--muted); font-size: 13.5px; }
.empty { padding: 40px 0; text-align: center; color: var(--muted); }
.empty b { color: var(--ink); }

/* 图标 */
.ico { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; overflow: hidden; background: #fff; border: 1px solid var(--line); flex: none; }
.ico img { width: 66%; height: 66%; object-fit: contain; }
.ico.letter { border: 0; font-weight: 800; font-size: 19px; font-family: var(--font-sans); }
.tone-1 { background: var(--t1); color: var(--t1i); } .tone-2 { background: var(--t2); color: var(--t2i); }
.tone-3 { background: var(--t3); color: var(--t3i); } .tone-4 { background: var(--t4); color: var(--t4i); }
.tone-5 { background: var(--t5); color: var(--t5i); } .tone-6 { background: var(--t6); color: var(--t6i); }

/* 工具卡片 */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 232px), 1fr)); gap: 12px; }
.card { position: relative; display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 4px 12px; align-content: start; background: var(--surface); border-radius: 14px; padding: 14px; box-shadow: var(--shadow); transition: transform .15s, box-shadow .15s; color: var(--ink); text-decoration: none; }
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-up); }
.card .ico { grid-row: span 2; }
.card h3 { font-size: 15.5px; font-weight: 700; line-height: 1.35; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.card p { font-size: 13.5px; color: var(--muted); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 3em; }
.badges { grid-column: 1 / -1; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: 8px; font-size: 12px; }
.b { padding: 1px 7px; border-radius: 5px; font-weight: 600; line-height: 1.6; white-space: nowrap; }
.b-open { background: var(--accent-soft); color: var(--accent); }
.b-free { background: var(--amber-soft); color: var(--amber); }
.b-zh { background: var(--bg); color: var(--muted); font-weight: 500; }
.b-alt { background: var(--t2); color: var(--t2i); font-weight: 500; }
.star { margin-left: auto; color: var(--muted); font-family: var(--font-mono); white-space: nowrap; }
.star::before { content: "★ "; color: var(--gold); }
@media (max-width: 560px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .card { grid-template-columns: 34px minmax(0, 1fr); padding: 12px; gap: 8px 10px; align-items: center; }
  .card .ico { grid-row: auto; width: 34px; height: 34px; border-radius: 9px; }
  .card .ico.letter { font-size: 16px; }
  .card h3 { font-size: 14.5px; }
  .card p { grid-column: 1 / -1; font-size: 12.5px; }
  .card .badges { margin-top: 0; }
  .card .b-zh, .card .b-alt { display: none; }
}

/* 精选大卡 */
.picks { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); gap: 14px; }
.pick { display: grid; gap: 10px; align-content: start; padding: 18px; border-radius: 16px; background: var(--surface); box-shadow: var(--shadow); transition: transform .15s, box-shadow .15s; position: relative; overflow: hidden; color: var(--ink); text-decoration: none; }
.pick:hover { transform: translateY(-2px); box-shadow: var(--shadow-up); }
.pick::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--c, var(--accent)); }
.pick .row { display: flex; align-items: center; gap: 12px; }
.pick .ico { width: 48px; height: 48px; }
.pick h3 { font-size: 17px; font-weight: 800; }
.pick small { display: block; font-size: 12.5px; color: var(--muted); }
.pick p { font-size: 14px; color: var(--muted); }
.pick .badges { margin: 0; }

/* 付费平替 */
.swaps { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 10px; }
.swap { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; background: var(--surface); box-shadow: var(--shadow); font-size: 14px; transition: box-shadow .15s; color: var(--ink); text-decoration: none; min-width: 0; }
.swap:hover { box-shadow: var(--shadow-up); }
.swap .paid { font-weight: 700; text-decoration: line-through; text-decoration-color: color-mix(in srgb, var(--muted) 60%, transparent); color: var(--muted); white-space: nowrap; }
.swap .arr { color: var(--accent); font-weight: 800; }
.swap .to { font-weight: 700; color: var(--accent); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.swap .go { margin-left: auto; color: var(--muted); font-size: 13px; flex: none; }

/* 排行榜 */
.two { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 14px; }
.board { background: var(--surface); border-radius: 16px; box-shadow: var(--shadow); padding: 8px 16px 12px; }
.board h3 { font-size: 15px; font-weight: 800; padding: 10px 0 6px; display: flex; gap: 8px; align-items: baseline; }
.board h3 span { font-size: 12.5px; font-weight: 500; color: var(--muted); }
.board ol { list-style: none; margin: 0; padding: 0; }
.board li a { display: grid; grid-template-columns: 26px 28px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px 0; border-top: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.board li:first-child a { border-top: 0; }
.board li a:hover .nm { color: var(--accent); }
.board .rk { font-family: var(--font-mono); font-weight: 800; color: var(--muted); text-align: center; }
.board li:nth-child(-n+3) .rk { color: var(--amber); }
.board .ico { width: 28px; height: 28px; border-radius: 7px; }
.board .ico.letter { font-size: 13px; }
.board .nm { font-weight: 700; font-size: 14.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.board .nm small { font-weight: 400; color: var(--muted); margin-left: 6px; font-size: 12.5px; }
.board .star { margin: 0; font-size: 12.5px; }

/* 文章页通用 */
.crumbs { font-size: 14px; color: var(--muted); padding-block: 20px 0; display: flex; gap: 6px; flex-wrap: wrap; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--accent); }
.doc { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; padding-block: 20px 56px; }
@media (min-width: 960px) { .doc { grid-template-columns: minmax(0, 1fr) 220px; gap: 56px; } }
.article { min-width: 0; max-width: 780px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; }
.article-head { display: grid; gap: 14px; }
.article-head h1 { font-size: clamp(28px, 4.4vw, 40px); font-weight: 900; letter-spacing: -.01em; }
.meta { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 14px; color: var(--muted); }
.lead { font-size: 17px; max-width: 38em; }
.h { font-size: 21px; font-weight: 800; margin-bottom: 14px; }
section[id] { scroll-margin-top: 76px; }
.prose { display: grid; gap: 12px; max-width: 40em; }
.panel { background: var(--surface); border-radius: 16px; box-shadow: var(--shadow); padding: 20px 22px; }

.verdict { background: var(--accent-soft); border-radius: 14px; padding: 20px 22px; display: grid; gap: 12px; }
.verdict h2 { font-size: 17px; color: var(--accent); font-weight: 800; }
.verdict dl { margin: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 20px; }
.verdict dt { color: var(--muted); font-size: 15px; }
.verdict dd { margin: 0; font-weight: 600; }
.verdict dd span { font-weight: 400; color: var(--muted); }
@media (max-width: 520px) { .verdict dl { grid-template-columns: minmax(0, 1fr); gap: 0; } .verdict dd { margin-bottom: 10px; } }

.table-wrap { overflow-x: auto; border-radius: 14px; background: var(--surface); box-shadow: var(--shadow); }
table { border-collapse: collapse; width: 100%; font-size: 14.5px; line-height: 1.6; }
th, td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { font-size: 13px; color: var(--muted); font-weight: 600; white-space: nowrap; }
tbody tr:last-child td { border-bottom: 0; }
.cmp { min-width: 720px; }
.cmp td:first-child, .cmp td:nth-child(3) { white-space: nowrap; }
.cmp td:first-child a { font-weight: 700; color: var(--ink); text-decoration: none; }
.cmp td:first-child a:hover { color: var(--accent); }
.ok { color: var(--accent); font-weight: 600; }
.part { color: var(--amber); font-weight: 600; }
.no { color: var(--muted); }
.table-note { font-size: 13px; color: var(--muted); margin-top: 8px; }
.keys { min-width: 420px; }
.keys td:first-child { color: var(--muted); }
kbd { font-family: var(--font-mono); font-size: 13px; line-height: 1.5; padding: 1px 7px; border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 5px; background: var(--bg); color: var(--ink); white-space: nowrap; }

.tag { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; line-height: 1.6; padding: 1px 8px; border-radius: 5px; white-space: nowrap; font-weight: 600; }
.tag-open { background: var(--accent-soft); color: var(--accent); }
.tag-free { background: var(--amber-soft); color: var(--amber); }
.tag .mono { font-weight: 500; }

.group-title { font-size: 15px; font-weight: 700; color: var(--amber); padding-top: 8px; }
.apps { display: grid; gap: 16px; }
.app { display: grid; gap: 14px; padding: 22px; border-radius: 16px; background: var(--surface); box-shadow: var(--shadow); scroll-margin-top: 76px; }
.app-head { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.app-head .ico { width: 48px; height: 48px; }
.app-head h3 { font-size: 21px; font-weight: 800; }
.app-head h3 a { color: var(--ink); text-decoration: none; }
.app-head h3 a:hover { color: var(--accent); }
.app-head h3 small { font-size: 15px; font-weight: 500; color: var(--muted); margin-left: 6px; }
.app-head .tags { display: flex; gap: 6px; flex-wrap: wrap; }
.app > p { max-width: 42em; }
.procon { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 12px 28px; }
.procon h4 { font-size: 14px; color: var(--muted); font-weight: 600; margin-bottom: 4px; }
.procon ul { margin: 0; padding-left: 1.2em; display: grid; gap: 4px; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 140px), 1fr)); gap: 10px 20px; margin: 0; padding: 14px 16px; background: var(--bg); border-radius: 12px; font-size: 14px; }
.facts div { display: grid; min-width: 0; }
.facts dt { color: var(--muted); font-size: 12.5px; }
.facts dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.facts a { color: inherit; }
.actions { display: flex; align-items: center; gap: 8px 16px; flex-wrap: wrap; }
.dl-btn { display: inline-flex; align-items: center; gap: 8px; background: var(--accent); color: var(--accent-ink); padding: 10px 18px; border-radius: 10px; font-weight: 700; text-decoration: none; font-size: 15px; }
.dl-btn:hover { filter: brightness(1.08); }
.ghost-btn { display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-weight: 600; text-decoration: none; font-size: 14.5px; }
.ghost-btn:hover { border-color: var(--accent); color: var(--accent); }
.actions small { font-size: 13px; color: var(--muted); }
.more-link { font-size: 14px; font-weight: 600; text-decoration: none; }
.tip { font-size: 14.5px; padding: 12px 14px; border: 1px dashed var(--line); border-radius: 10px; }
.tip b { color: var(--accent); }

.steps { margin: 0; padding-left: 1.4em; display: grid; gap: 8px; max-width: 42em; }
.steps li::marker { color: var(--accent); font-weight: 700; font-family: var(--font-mono); }
.warn { font-size: 14.5px; margin-top: 12px; padding: 12px 14px; border-radius: 10px; background: var(--amber-soft); color: var(--amber); font-weight: 600; max-width: 42em; }
.faq { display: grid; gap: 22px; }
.faq h3 { font-size: 16.5px; font-weight: 700; margin-bottom: 4px; }
.faq p { max-width: 42em; }

.toc { position: sticky; top: 82px; align-self: start; display: none; font-size: 14px; }
@media (min-width: 960px) { .toc { display: grid; gap: 4px; } }
.toc b { font-size: 13px; color: var(--muted); font-weight: 600; letter-spacing: .06em; margin-bottom: 6px; }
.toc a { color: var(--muted); text-decoration: none; padding-block: 2px; }
.toc a:hover { color: var(--ink); }
.toc .sub { padding-left: 12px; font-size: 13.5px; }

/* 工具详情页 */
.tool-head { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px 20px; align-items: center; }
.tool-head .ico { width: 76px; height: 76px; border-radius: 18px; }
.tool-head .ico.letter { font-size: 34px; }
.tool-head h1 { font-size: clamp(26px, 4vw, 36px); font-weight: 900; }
.tool-head .one { color: var(--muted); font-size: 16px; margin-top: 4px; }
.tool-head .badges { margin-top: 10px; font-size: 13px; }
.tool-head .actions { grid-column: 1 / -1; }
@media (max-width: 520px) { .tool-head .ico { width: 60px; height: 60px; border-radius: 14px; } }
.aside-card { display: grid; gap: 12px; }
.aside-card .facts { background: var(--surface); box-shadow: var(--shadow); grid-template-columns: minmax(0, 1fr); }
.swap-note { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; padding: 14px 18px; border-radius: 14px; background: var(--t2); color: var(--t2i); font-size: 15px; }
.swap-note a { color: inherit; font-weight: 700; }

/* 404 */
.lost { padding-block: 72px 96px; display: grid; gap: 16px; justify-items: start; }
.lost h1 { font-size: clamp(28px, 4.4vw, 40px); font-weight: 900; }
.lost p { color: var(--muted); }

/* 收录标准 */
.rules { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 15px; }
.rules li { display: grid; grid-template-columns: 22px minmax(0, 1fr); align-items: baseline; }
.rules .yes::before { content: "✓"; color: var(--accent); font-weight: 800; }
.rules .no::before { content: "✕"; color: var(--amber); font-weight: 800; }

/* 页脚 */
.foot { border-top: 1px solid var(--line); padding-block: 32px 44px; color: var(--muted); font-size: 13.5px; }
.foot .wrap { display: grid; gap: 18px; }
.follow { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.qr { width: 80px; height: 80px; border: 1.5px dashed var(--line); border-radius: 8px; display: grid; place-items: center; font-size: 12px; text-align: center; line-height: 1.4; flex: none; }
img.qr { border-style: solid; object-fit: contain; background: #fff; padding: 4px; }
.follow strong { color: var(--ink); font-size: 15px; display: block; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.foot-nav a { color: var(--muted); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card, .pick, .swap { transition: none; }
}
