/* WO-016 官网骨架 · 共享样式 · 主题感知（浅/深）· 自包含无外链 */
:root {
  --bg: #f6f7f5;
  --surface: #ffffff;
  --text: #1c211d;
  --muted: #5c665e;
  --border: #e2e6e1;
  --accent: #1f9e59;          /* 绿十字合规基调（非红十字）*/
  --accent-ink: #0f5c34;
  --danger: #c62828;
  --maxw: 720px;
  --radius: 14px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #12140f; --surface: #1b1e18; --text: #e9ece7; --muted: #9aa69c;
    --border: #2b2f28; --accent: #35c579; --accent-ink: #9ff0c2;
  }
}
:root[data-theme="dark"] {
  --bg: #12140f; --surface: #1b1e18; --text: #e9ece7; --muted: #9aa69c;
  --border: #2b2f28; --accent: #35c579; --accent-ink: #9ff0c2;
}
:root[data-theme="light"] {
  --bg: #f6f7f5; --surface: #ffffff; --text: #1c211d; --muted: #5c665e;
  --border: #e2e6e1; --accent: #1f9e59; --accent-ink: #0f5c34;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
        "Hiragino Sans GB", "Microsoft YaHei", Roboto, Helvetica, Arial, sans-serif;
}
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* 顶栏 */
header.site { border-bottom: 1px solid var(--border); background: var(--surface); }
header.site .wrap { display: flex; align-items: center; gap: 12px; height: 60px; }
.brand { display: flex; align-items: center; gap: 9px; font-weight: 700; letter-spacing: .2px; }
.brand .mark {
  width: 26px; height: 26px; border-radius: 7px; background: var(--accent);
  display: grid; place-items: center; color: #fff; font-weight: 800; flex: none;
}
.brand .mark::before { content: "+"; font-size: 20px; line-height: 1; } /* 绿十字 */
nav.site { margin-left: auto; display: flex; gap: 18px; }
nav.site a { color: var(--muted); text-decoration: none; font-size: 15px; }
nav.site a:hover { color: var(--text); }

.provisional {
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  color: var(--accent-ink); border: 1px dashed var(--accent);
  font-size: 13px; padding: 6px 12px; border-radius: 999px; display: inline-block;
}

.hero { padding: 56px 0 24px; }
.hero h1 { font-size: clamp(28px, 5vw, 40px); line-height: 1.15; margin: 14px 0 10px; text-wrap: balance; }
.hero p.lede { font-size: 18px; color: var(--muted); margin: 0 0 24px; max-width: 56ch; }

.badges { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 6px; }
.badge {
  display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 18px;
  border-radius: 10px; background: var(--text); color: var(--bg);
  text-decoration: none; font-weight: 600; border: 1px solid var(--text);
}
.badge small { display: block; font-size: 10px; font-weight: 500; opacity: .8; line-height: 1; }
.badge b { font-size: 17px; line-height: 1.1; }
.badge.placeholder { background: transparent; color: var(--muted); border: 1px dashed var(--border); }
.badge[hidden] { display: none; }          /* Google Play 位默认隐藏 */

section.block { padding: 20px 0; border-top: 1px solid var(--border); }
section.block:first-of-type { border-top: none; }
h2 { font-size: 22px; margin: 26px 0 10px; }
h3 { font-size: 17px; margin: 20px 0 6px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin: 16px 0; }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 16px 18px;
}
.card h3 { margin-top: 0; }
.card p { margin: 0; color: var(--muted); font-size: 14px; }
a { color: var(--accent-ink); }
:root[data-theme="dark"] a, @media (prefers-color-scheme: dark) { }

.legal p, .legal li { color: var(--text); }
.legal .muted { color: var(--muted); }
ul.tight { padding-left: 20px; }
ul.tight li { margin: 5px 0; }

footer.site { border-top: 1px solid var(--border); margin-top: 40px; padding: 26px 0 48px; color: var(--muted); font-size: 14px; }
footer.site a { color: var(--muted); }
.theme-toggle {
  margin-left: 14px; background: none; border: 1px solid var(--border); color: var(--muted);
  border-radius: 8px; height: 32px; padding: 0 10px; cursor: pointer; font-size: 13px;
}
