/* Osmium download node — same design language as osmium.im */

/* ---------- 界面衬线体（Lora，与应用内置字体同源；由 otp/download 站共用 /fonts/） ---------- */
@font-face {
  font-family: "Osmium Serif";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/lora-var.woff2") format("woff2-variations"),
       url("/fonts/lora-var.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0100-024F, U+0250-02AF, U+02B0-02FF,
                 U+0300-036F, U+0370-03FF, U+0400-052F, U+1E00-1EFF,
                 U+2000-206F, U+20A0-20CF, U+2100-214F, U+2190-21FF,
                 U+2200-22FF, U+25A0-25FF, U+2600-26FF;
}
@font-face {
  font-family: "Osmium Serif";
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/lora-var-italic.woff2") format("woff2-variations"),
       url("/fonts/lora-var-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0100-024F, U+0250-02AF, U+02B0-02FF,
                 U+0300-036F, U+0370-03FF, U+0400-052F, U+1E00-1EFF,
                 U+2000-206F, U+20A0-20CF, U+2100-214F, U+2190-21FF,
                 U+2200-22FF, U+25A0-25FF, U+2600-26FF;
}

/* ---------- 中文字体：思源宋体 / 思源黑体（Source Han = Noto Serif/Sans SC） ----------
   自托管 woff2，且只含四个站实际用到的 CJK 字符子集（整份 CJK 可变字体 15–22 MB，
   子集后约 0.4–0.5 MB）。unicode-range 只圈 CJK 区间，拉丁/西里尔/希腊仍归 Lora。
   新增文案后若有个别字缺字形（会回落到系统中文），重跑
   /root/osmium-fonts-src/build_han_subsets.py 并升 ?v=。韩文谚文不在子集内，回落系统字体。 */

@font-face {
  font-family: "Osmium Han Serif";
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url("/fonts/source-han-serif-sc.woff2?v=1") format("woff2-variations"),
       url("/fonts/source-han-serif-sc.woff2?v=1") format("woff2");
  unicode-range: U+2E80-2EFF, U+2F00-2FDF, U+3000-303F, U+3040-30FF, U+3100-312F,
                 U+3200-33FF, U+3400-4DBF, U+4E00-9FFF, U+F900-FAFF,
                 U+FE10-FE4F, U+FF00-FFEF;
}

@font-face {
  font-family: "Osmium Han Sans";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/source-han-sans-sc.woff2?v=1") format("woff2-variations"),
       url("/fonts/source-han-sans-sc.woff2?v=1") format("woff2");
  unicode-range: U+2E80-2EFF, U+2F00-2FDF, U+3000-303F, U+3040-30FF, U+3100-312F,
                 U+3200-33FF, U+3400-4DBF, U+4E00-9FFF, U+F900-FAFF,
                 U+FE10-FE4F, U+FF00-FFEF;
}

:root {
  --bg: #F8F9FC;
  --surface: #FFFFFF;
  --surface-2: #F1F3F8;
  --ink: #10141C;
  --ink-2: #3C4553;
  --ink-3: #6B7484;
  --line: rgba(0, 30, 80, 0.10);
  --line-strong: rgba(0, 30, 80, 0.20);
  --accent: #005AC1;
  --accent-ink: #FFFFFF;
  --accent-soft: rgba(0, 90, 193, 0.07);
  --green: #00875A;
  --green-soft: rgba(0, 135, 90, 0.09);
  --amber: #8A5A00;
  --amber-soft: rgba(138, 90, 0, 0.09);
  --red: #B3261E;
  --shadow-sm: 0 1px 2px rgba(16, 20, 28, 0.05);
  --shadow-md: 0 1px 2px rgba(16, 20, 28, 0.05), 0 10px 32px rgba(16, 20, 28, 0.09);
  --radius: 10px;
  --radius-lg: 16px;
  --sans: "Osmium Serif", "Osmium Han Serif", -apple-system, BlinkMacSystemFont, "Segoe UI",
          Roboto, "Noto Serif CJK SC", "Source Han Serif SC", "Songti SC", "SimSun",
          "PingFang SC", "HarmonyOS Sans SC", "MiSans", "Microsoft YaHei",
          "Noto Sans SC", sans-serif;
  --sans-ui: "Osmium Serif", "Osmium Han Sans", -apple-system, BlinkMacSystemFont, "Segoe UI",
             Roboto, "PingFang SC", "HarmonyOS Sans SC", "MiSans", "Microsoft YaHei",
             "Noto Sans SC", sans-serif;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", "Cascadia Code", Consolas, "Liberation Mono", "Osmium Han Sans", monospace;
  --ease-spring: cubic-bezier(0.22, 1, 0.36, 1);
}
[data-theme="dark"] {
  --bg: #0B0E14;
  --surface: #141822;
  --surface-2: #1A1F2B;
  --ink: #E8ECF4;
  --ink-2: #A6B0C0;
  --ink-3: #6E7888;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.18);
  --accent: #4D8EFF;
  --accent-ink: #001B3F;
  --accent-soft: rgba(77, 142, 255, 0.13);
  --green: #34D399;
  --green-soft: rgba(52, 211, 153, 0.11);
  --amber: #E8B04B;
  --amber-soft: rgba(232, 176, 75, 0.12);
  --red: #FF6B63;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 1px 2px rgba(0, 0, 0, 0.4), 0 10px 32px rgba(0, 0, 0, 0.5);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); background: var(--bg); color: var(--ink); font-size: 15px; line-height: 1.65; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
.mono, code { font-family: var(--mono); }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
button { font: inherit; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 28px; }
.grid-bg { position: fixed; inset: 0; z-index: -2; pointer-events: none; background-image: linear-gradient(rgba(0, 30, 80, 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 30, 80, 0.045) 1px, transparent 1px); background-size: 64px 64px; }
[data-theme="dark"] .grid-bg { background-image: linear-gradient(rgba(255, 255, 255, 0.032) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.032) 1px, transparent 1px); }
.noise { position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .5; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E"); }
.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--line); background: rgba(248, 249, 252, .86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
[data-theme="dark"] .site-header { background: rgba(11, 14, 20, .86); }
.header-inner { display: flex; align-items: center; gap: 28px; height: 60px; }
.brand { display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: 17px; letter-spacing: -.01em; }
.brand:hover { color: var(--ink); }
.brand-mark { flex: none; }
.version-tag { font-size: 10.5px; color: var(--ink-3); border: 1px solid var(--line); border-radius: 5px; padding: 1.5px 6px; letter-spacing: .05em; }
.nav { display: flex; gap: 24px; margin-left: 6px; font-size: 14px; color: var(--ink-2); }
.nav a { padding: 4px 0; border-bottom: 1px solid transparent; }
.nav a:hover { color: var(--ink); border-bottom-color: var(--accent); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--ink-2); cursor: pointer; transition: border-color .15s, color .15s, transform .12s var(--ease-spring); }
.icon-btn:hover { border-color: var(--line-strong); color: var(--ink); transform: translateY(-1px); }
.btn { display: inline-flex; align-items: center; gap: 7px; padding: 11px 22px; border-radius: 8px; border: 1px solid transparent; font-size: 14.5px; font-weight: 600; cursor: pointer; transition: transform .12s var(--ease-spring), box-shadow .15s, background .15s, border-color .15s; white-space: nowrap; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { color: var(--accent-ink); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--accent); transform: translateY(-1px); }
.btn-sm { padding: 8px 16px; font-size: 13.5px; }
.hero { padding: 82px 0 72px; border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.chip { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; letter-spacing: .09em; color: var(--ink-2); border: 1px solid var(--line); background: var(--surface); border-radius: 6px; padding: 5px 11px; }
.chip-num { color: var(--accent); font-weight: 700; }
h1 { margin: 22px 0 18px; font-size: clamp(40px, 5.8vw, 64px); font-weight: 780; line-height: 1.1; letter-spacing: -.03em; }
.accent-word { color: var(--accent); }
.hero-sub { max-width: 36em; font-size: 16.5px; color: var(--ink-2); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.status-line { display: flex; align-items: center; gap: 8px; margin-top: 26px; color: var(--ink-3); font-size: 11px; letter-spacing: .07em; }
.dot { display: inline-block; width: 7px; height: 7px; flex: none; border-radius: 50%; }
.dot-green { background: var(--green); box-shadow: 0 0 0 3px var(--green-soft); }
.dot-amber { background: var(--amber); box-shadow: 0 0 0 3px var(--amber-soft); }
.release-console { background: var(--surface); border: 1px solid var(--line-strong); border-radius: 18px; padding: 28px; box-shadow: var(--shadow-md); position: relative; overflow: hidden; }
.release-console::after { content: ""; position: absolute; width: 180px; height: 180px; right: -72px; bottom: -80px; border: 1px solid var(--accent); border-radius: 50%; opacity: .16; }
.console-top { display: flex; justify-content: space-between; align-items: center; color: var(--ink-3); font-size: 10px; letter-spacing: .13em; }
.console-led { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px var(--green-soft); }
.console-version { margin-top: 30px; color: var(--accent); font-family: var(--mono); font-size: clamp(32px, 5vw, 50px); font-weight: 700; letter-spacing: -.04em; }
.console-name { margin-top: 4px; font-size: 15px; color: var(--ink-2); }
.console-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 14px; margin-top: 30px; }
.console-stats div { display: flex; flex-direction: column; gap: 3px; }
.console-stats span { color: var(--ink-3); font-size: 9px; letter-spacing: .12em; }
.console-stats strong { color: var(--ink); font-size: 12px; font-weight: 650; }
.console-rule { height: 1px; margin: 26px 0 13px; background: var(--line); }
.console-foot { color: var(--ink-3); font-size: 9.5px; letter-spacing: .08em; }
.section { padding: 76px 0; border-bottom: 1px solid var(--line); }
.section-compact { padding-top: 68px; padding-bottom: 68px; }
.section-head { display: grid; grid-template-columns: 56px 1fr; grid-template-rows: auto auto; column-gap: 0; margin-bottom: 38px; }
.section-index { grid-row: 1 / 3; padding-top: 9px; color: var(--accent); font-size: 12px; letter-spacing: .22em; }
.section-head h2 { font-size: clamp(26px, 3.2vw, 34px); font-weight: 740; line-height: 1.2; letter-spacing: -.02em; }
.section-sub { margin-top: 4px; color: var(--ink-3); font-size: 14.5px; }
.download-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.apk-card { display: flex; flex-direction: column; min-height: 300px; padding: 23px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); transition: border-color .18s, transform .18s var(--ease-spring), box-shadow .18s; }
.apk-card:hover { border-color: var(--line-strong); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.apk-card-recommended { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft), var(--shadow-sm); }
.apk-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.card-kicker { display: block; color: var(--ink-3); font-size: 9.5px; letter-spacing: .14em; }
.apk-card h2 { margin-top: 7px; color: var(--accent); font-family: var(--mono); font-size: 22px; letter-spacing: -.03em; }
.badge { display: inline-flex; align-items: center; min-height: 24px; padding: 2px 8px; border: 1px solid var(--line); border-radius: 5px; color: var(--ink-3); font-family: var(--mono); font-size: 9.5px; letter-spacing: .03em; white-space: nowrap; }
.badge-accent { color: var(--accent); border-color: var(--accent); }
.apk-desc { min-height: 49px; margin-top: 17px; color: var(--ink-2); font-size: 13.5px; }
.apk-meta { display: flex; gap: 14px; padding: 14px 0; margin-top: auto; border-top: 1px solid var(--line); color: var(--ink-3); font-size: 10.5px; }
.hash-row { display: flex; align-items: flex-start; gap: 8px; min-height: 58px; padding: 11px 0 15px; }
.hash-row code { overflow-wrap: anywhere; color: var(--ink-2); font-size: 10.5px; line-height: 1.55; }
.copy-btn { flex: none; min-height: 27px; padding: 3px 8px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface-2); color: var(--ink-3); font-size: 11px; cursor: pointer; transition: border-color .15s, color .15s; }
.copy-btn:hover, .copy-btn.copied { border-color: var(--accent); color: var(--accent); }
.download-btn { justify-content: center; width: 100%; margin-top: 4px; }
.warning { display: flex; align-items: center; gap: 9px; margin-top: 16px; padding: 12px 15px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-2); color: var(--amber); font-size: 11px; letter-spacing: .025em; }
.warning-mark { display: inline-flex; align-items: center; justify-content: center; width: 17px; height: 17px; border: 1px solid currentColor; border-radius: 50%; font-weight: 700; }
.verify-panel { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--green); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.verify-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--green-soft); color: var(--green); font-size: 23px; font-weight: 700; }
.signature { display: block; margin-top: 8px; overflow-wrap: anywhere; color: var(--ink-2); font-size: 12px; line-height: 1.55; }
.verify-panel p { margin-top: 9px; color: var(--ink-3); font-size: 12.5px; }
.notes-panel { padding: 25px 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.notes-panel h4 { margin: 18px 0 7px; font-size: 14px; }
.notes-panel h4:first-child { margin-top: 0; }
.notes-panel p, .notes-panel li { color: var(--ink-2); font-size: 13.5px; }
.notes-panel ul { display: flex; flex-direction: column; gap: 7px; padding-left: 20px; }
.download-stats {
  margin-top: 16px;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.download-stats h3 { color: var(--ink); }
.download-stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 19px; }
.download-stats-grid > div { display: flex; flex-direction: column; gap: 4px; padding: 15px 17px; background: var(--surface-2); border-radius: var(--radius); }
.download-stats-grid strong { color: var(--accent); font-size: clamp(25px, 4vw, 36px); line-height: 1.15; letter-spacing: -.04em; }
.download-stats-grid > div:last-child strong { color: var(--green); }
.download-stats-grid span { color: var(--ink-3); font-size: 11.5px; }
.download-stats-note { margin-top: 13px; color: var(--ink-3); font-size: 10.5px; line-height: 1.7; }

.site-footer { padding: 56px 0 30px; background: var(--surface-2); border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; padding-bottom: 36px; border-bottom: 1px solid var(--line); }
.footer-brand .brand-name { font-size: 19px; font-weight: 700; }
.footer-tag { margin-top: 8px; color: var(--ink-2); font-size: 13.5px; }
.footer-col { display: flex; flex-direction: column; gap: 9px; }
.footer-title { margin-bottom: 4px; color: var(--ink-3); font-size: 10px; letter-spacing: .16em; }
.footer-col a { width: fit-content; color: var(--ink-2); font-size: 13.5px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding-top: 22px; color: var(--ink-3); font-size: 10.5px; letter-spacing: .07em; }
[data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease-spring), transform .7s var(--ease-spring); }
[data-reveal].revealed { opacity: 1; transform: none; }
.blocked-page { min-height: 100vh; }
.blocked-wrap { display: grid; min-height: 100vh; place-items: center; padding: 28px; }
.blocked-card { width: min(620px, 100%); padding: 38px; background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.blocked-mark { margin-bottom: 22px; }
.blocked-card h1 { margin: 15px 0 13px; font-size: clamp(32px, 6vw, 50px); }
.blocked-lead { color: var(--ink-2); font-size: 17px; }
.blocked-en { margin-top: 6px; color: var(--ink-3); }
.blocked-status { display: flex; align-items: center; gap: 9px; margin-top: 25px; padding: 13px 15px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-2); color: var(--amber); font-size: 11px; letter-spacing: .04em; }
.blocked-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 25px; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; gap: 40px; } .hero { padding: 57px 0 60px; } .release-console { max-width: 620px; } .download-grid { grid-template-columns: 1fr 1fr; } .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .container { padding: 0 18px; } .nav { display: none; } .header-inner { gap: 14px; } .header-download { display: none; } .hero { padding: 44px 0 50px; } .hero-sub { font-size: 15.5px; } .release-console { padding: 23px; } .download-grid { grid-template-columns: 1fr; } .apk-card { min-height: 0; } .download-stats-grid { grid-template-columns: 1fr; } .verify-panel { grid-template-columns: auto 1fr; } .verify-panel .copy-signature { grid-column: 1 / -1; width: 100%; } .footer-grid { grid-template-columns: 1fr; gap: 28px; } .section { padding: 58px 0; } .section-compact { padding: 54px 0; } .blocked-wrap { padding: 18px; } .blocked-card { padding: 27px 22px; } }
/* ---- 站内直链下载提示条 ---- */
.notice-bar { border-top: 2px solid var(--green); border-bottom: 1px solid var(--line-strong); background: var(--green-soft); }
.notice-inner { display: flex; align-items: flex-start; gap: 15px; padding-top: 17px; padding-bottom: 17px; }
.notice-mark { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 22px; height: 22px; margin-top: 2px; border: 1.5px solid var(--green); border-radius: 50%; color: var(--green); font-size: 13px; font-weight: 700; line-height: 1; }
.notice-copy { flex: 1 1 auto; min-width: 0; }
.notice-copy strong { display: block; color: var(--ink); font-size: 15px; letter-spacing: -.01em; }
.notice-copy p { margin-top: 4px; color: var(--ink-2); font-size: 13.5px; line-height: 1.6; }
.notice-fdroid { display: inline-block; margin-top: 10px; padding: 4px 9px; border: 1px solid var(--line-strong); border-radius: 5px; color: var(--accent); font-size: 10px; letter-spacing: .08em; }
.notice-github { flex: none; margin-top: 2px; }
.download-btn-paused { letter-spacing: .01em; }

/* ---- 下载暂停说明弹窗 ---- */
html.dl-modal-open { overflow: hidden; }
.dl-modal[hidden] { display: none; }
.dl-modal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 22px; }
.dl-modal-backdrop { position: absolute; inset: 0; background: rgba(8, 12, 20, 0.6); backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px); }
.dl-modal-panel { position: relative; width: min(520px, 100%); max-height: calc(100vh - 44px); overflow-y: auto; padding: 27px 28px 24px; background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.dl-modal-kicker { display: inline-block; color: var(--amber); font-size: 10px; letter-spacing: .12em; }
.dl-modal-panel h2 { margin-top: 8px; color: var(--ink); font-size: 21px; letter-spacing: -.02em; }
.dl-modal-panel p { margin-top: 11px; color: var(--ink-2); font-size: 14px; line-height: 1.68; }
.dl-modal-fdroid { display: flex; align-items: flex-start; gap: 10px; margin-top: 16px; padding: 12px 14px; border: 1px solid var(--line); border-left: 2px solid var(--accent); border-radius: var(--radius); background: var(--surface-2); color: var(--ink-2); font-size: 12.5px; line-height: 1.6; }
.dl-modal-fdroid-tag { flex: none; margin-top: 2px; color: var(--accent); font-size: 9.5px; letter-spacing: .1em; }
.dl-modal-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
@media (max-width: 640px) {
  .notice-inner { flex-wrap: wrap; gap: 9px; padding-top: 14px; padding-bottom: 14px; }
  .notice-copy p { font-size: 13px; line-height: 1.55; }
  .notice-fdroid { margin-top: 8px; font-size: 9.5px; }
  .notice-github { width: 100%; justify-content: center; margin-top: 2px; }
  .dl-modal { align-items: flex-end; padding: 14px; }
  .dl-modal-panel { padding: 22px 20px; }
  .dl-modal-actions .btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } [data-reveal] { opacity: 1; transform: none; transition: none; } .btn, .apk-card, .icon-btn { transition: none; } }

/* ---------- 思源黑体：交互控件与小字标签 ----------
   正文与标题的中文走 --sans 里的思源宋体（与拉丁 Lora 同调）；
   按钮、导航、徽标、表单这类小字号控件改用思源黑体，笔画更清晰。
   .mono 元素（版本号、算法名、芯片）仍保持等宽栈，其中的中文由栈里的
   "Osmium Han Sans" 接管。 */
button, input, select, textarea,
.btn, .nav a, .demo-btn, .icon-btn, .lang-switch, .lang-btn, .language-option,
.badge:not(.mono), .copy-btn, .dl-channel-tag, .chip:not(.mono) { font-family: var(--sans-ui); }

/* 下载前人机验证面板（Turnstile + 源站短期令牌） */
.gate-panel {
  margin-top: 16px;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--amber);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.gate-panel[hidden] { display: none; }
.gate-head { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.gate-kicker { color: var(--amber); font-size: 10px; letter-spacing: .18em; }
.gate-head h3 { color: var(--ink); font-size: 17px; letter-spacing: -.01em; }
.gate-copy { margin-top: 9px; max-width: 62ch; color: var(--ink-2); font-size: 13px; line-height: 1.75; }
.gate-widget { margin-top: 16px; min-height: 65px; }
.gate-status { margin-top: 12px; color: var(--ink-3); font-size: 11px; letter-spacing: .02em; }
.gate-status[data-tone="ok"] { color: var(--green); }
.gate-status[data-tone="error"] { color: var(--red); }
.gate-fallback { margin-top: 10px; color: var(--ink-3); font-size: 11.5px; }
.gate-fallback a { border-bottom: 1px solid var(--line-strong); }
.gate-panel.gate-open { border-left-color: var(--accent); }

