/* ==========================================================================
   木瓜玩说明页 · 主样式表（第 62 轮）
   设计语言：奶油纸 + 木瓜橙 + 一点冷蓝
             页面底是偏暖的奶油纸 #fffaf3，上面铺一层极淡的 34px 细格，
             像一张摊开的索引卡；卡片与浮层是纯白 / 极浅奶白 #ffffff / #fffaf1，
             靠 1px 暖褐描边分层，不靠底色差；
             木瓜橙 #c2550a 是文字层主色（链接、小标题、图标），
             实底压到 #f2801e 配深咖字 #2a1608（6.7:1）——橙底配白字只有 2.4:1，读不清；
             冷蓝 #2668c9 只做次级强调（表格标签、状态点、左侧竖线），
             取的是储值页顶栏那条蓝，与暖橙对冲；
             深咖 #8a4a10 只用于提示与注意段的字。
             首屏是一张整幅界面拼接图（.stage）嵌在奶白框里：
             左边是储值页，右边是「我的」页的四个入口；
             「库、账、柜」用 .chan 排成带分隔线的规格表，
             功能页用 .shots 排两张产品图（储值页 / 我的页四宫格）。
             底色 #fffaf3 / 副底 #fff4e6 / 卡片 #ffffff / 浮层 #fffaf1
             主色 木瓜橙 #c2550a（浅底 5.4:1，链接、小标题、图标）
             实底 #f2801e，压深咖字 #2a1608
             次色 冷蓝 #2668c9（表格标签、状态点、强调竖线，5.6:1）
             高光 奶橙片 #ffe9cf（只做标签底、序号块）
             正文 #2b1d12 / 次 #6f5a47 / 三 #83705d / 标题 #241608
             描边 rgba(93, 58, 24, 0.12)，强档 0.20
             阴影压暖褐（rgba(63, 36, 12, …)），浅底上用低透明做浮起，不发光
             亮色锚点：下载盒取整块浅橙渐变 #fff6ea -> #ffe8cf，压深咖字（11:1）
             例外：二维码容器 #ffffff 必须保留白底，反色后多数相机扫不出来
   全站响应式：1920 / 1440 / 1200 / 992 / 768 / 480 / 360
========================================================================== */
:root {

    /* 底层：奶油纸。页面底与卡片拉出一点差，层次仍以描边与暖投影为主 */
    --bg: #fffaf3;
    --bg-soft: #fff4e6;
    --bg-card: #ffffff;
    --bg-elev: #fffaf1;
    /* 面板悬浮 / 表头用的橙 tint */
    --bg-tint: rgba(242, 128, 30, 0.05);

    /* 描边：暖褐低透明，像一张纸的边缘被光轻轻压出的一道线 */
    --line: rgba(93, 58, 24, 0.12);
    --line-strong: rgba(93, 58, 24, 0.20);

    /* 主色：木瓜橙。浅底上写字要用深一档的 #c2550a（5.4:1） */
    --brand: #c2550a;
    --brand-2: #a8490a;
    --brand-light: #ffe4c4;
    --brand-dim: #8b7361;
    --brand-soft: rgba(194, 85, 10, 0.08);
    --brand-glow: rgba(242, 128, 30, 0.22);
    --brand-btn: #f2801e;
    --brand-hover: #e8730f;
    /* 实底色：橙实底压深咖字（6.7:1）。橙底配白字只有 2.4:1，读不清 */
    --brand-solid: #f2801e;
    /* 品牌底上的文字色：深咖 */
    --brand-on: #2a1608;

    /* 次色：冷蓝（取自储值页顶栏）。只用于短标签、状态点与强调竖线 */
    --accent: #2668c9;
    --accent-soft: rgba(38, 104, 201, 0.09);
    --accent-line: rgba(38, 104, 201, 0.26);
    /* 旧变量名沿用，值取主色 */
    --lime: #c2550a;

    /* 高光：奶橙片。只做标签底、序号块 */
    --hl: #ffe9cf;
    --hl-soft: rgba(242, 128, 30, 0.10);

    /* 文本：暖褐阶（纸上墨色，不用纯黑） */
    --text: #2b1d12;
    --text-2: #6f5a47;
    --text-3: #83705d;
    --heading: #241608;

    --warn: #b26b00;
    --danger: #c23b2b;
    --success: #1f8a5a;
    --blue: #2668c9;
    /* 光晕点缀（变量名沿用旧称） */
    --glow-cyan: rgba(242, 128, 30, 0.05);
    --glow-green: rgba(242, 128, 30, 0.04);
    --glow-violet: rgba(38, 104, 201, 0.05);

    /* 圆角：面板边缘可以圆一点，块收在 10~18px */
    --r-sm: 8px;
    --r: 10px;
    --r-lg: 14px;
    --r-xl: 20px;

    --shadow: 0 30px 70px -50px rgba(63, 36, 12, 0.35);
    --shadow-sm: 0 12px 26px -20px rgba(63, 36, 12, 0.28);
    --shadow-brand: 0 18px 44px -26px rgba(242, 128, 30, 0.45);

    --container: 1200px;
    --nav-h: 68px;

    --font: Inter, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
        "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
    --font-display: var(--font);
    /* 等宽族：版本号、体积、参数值用 */
    --mono: "JetBrains Mono", "SFMono-Regular", ui-monospace, Consolas,
        "Liberation Mono", "Courier New", monospace;

    /* 网格线（34px 细格） */
    --grid: rgba(93, 58, 24, 0.05);
    --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- 2. Reset ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--nav-h) + 16px);
}

body {
    margin: 0;
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.75;
    color: var(--text);
    /* 冷底：横向与纵向各一层 34px 细线，叠两团极淡的光，最后落冷灰白 */
    background:
        linear-gradient(var(--grid) 1px, transparent 1px) 0 0 / 100% 34px repeat-y,
        linear-gradient(90deg, var(--grid) 1px, transparent 1px) 0 0 / 34px 100% repeat-x,
        radial-gradient(1100px 620px at 78% -8%, rgba(38, 104, 201, 0.06), transparent 62%),
        radial-gradient(900px 540px at 2% 4%, rgba(194, 85, 10, 0.05), transparent 58%),
        var(--bg);
    background-attachment: fixed;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img,
svg,
video {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--brand-btn);
    text-decoration: none;
    transition: color 0.18s var(--ease);
}

a:hover {
    color: var(--brand-hover);
}

h1,
h2,
h3,
h4,
h5 {
    margin: 0;
    font-weight: 700;
    line-height: 1.32;
    letter-spacing: -0.01em;
    color: var(--heading);
}

p {
    margin: 0;
}

ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

button {
    font: inherit;
    color: inherit;
    cursor: pointer;
    border: 0;
    background: none;
}

:focus-visible {
    outline: 2px solid var(--brand);
    outline-offset: 3px;
    border-radius: 4px;
}

::selection {
    background: rgba(194, 85, 10, 0.18);
    color: #241608;
}

/* 跳转到主内容（无障碍） */
.skip-link {
    position: absolute;
    left: 12px;
    top: -60px;
    z-index: 999;
    padding: 10px 16px;
    background: var(--brand-solid);
    color: var(--brand-on);
    font-weight: 700;
    border-radius: var(--r-sm);
    transition: top 0.2s var(--ease);
}

.skip-link:focus {
    top: 12px;
    color: var(--brand-on);
}

/* ---------- 3. 布局工具 ---------- */
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 96px 0;
    position: relative;
}

.section--tight {
    padding: 64px 0;
}

.section--alt {
    background: linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 50%, var(--bg) 100%);
}

.section__head {
    max-width: 720px;
    margin: 0 auto 56px;
    text-align: center;
}

.section__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--brand);
    margin-bottom: 14px;
}

.section__title {
    font-size: clamp(24px, 3.4vw, 38px);
    margin-bottom: 14px;
    /* 中文标题常出现「最后一行只剩一个字」，交给浏览器均衡折行 */
    text-wrap: balance;
}

.section__desc {
    color: var(--text-2);
    font-size: 16px;
    text-wrap: pretty;
}

.grid {
    display: grid;
    gap: 20px;
}

.grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.icon {
    width: 24px;
    height: 24px;
    flex: 0 0 auto;
    display: block;
}

.icon--sm {
    width: 18px;
    height: 18px;
}

/* ---------- 4. 按钮 ---------- */
.btn {
    --btn-h: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: var(--btn-h);
    padding: 0 26px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    transition: transform 0.18s var(--ease), box-shadow 0.22s var(--ease),
        background 0.18s var(--ease), border-color 0.18s var(--ease), color 0.18s var(--ease);
    cursor: pointer;
}

.btn--primary {
    background: linear-gradient(135deg, #a8490a 0%, #c2550a 100%);
    color: var(--brand-on);
    box-shadow: 0 10px 30px -12px var(--brand-glow);
}

.btn--primary:hover {
    color: var(--brand-on);
    transform: translateY(-2px);
    box-shadow: 0 16px 36px -12px var(--brand-glow);
}

.btn--ghost {
    background: rgba(194, 85, 10, 0.04);
    color: var(--text);
    border: 1px solid var(--line-strong);
}

.btn--ghost:hover {
    color: var(--text);
    background: rgba(194, 85, 10, 0.05);
    border-color: rgba(194, 85, 10, 0.4);
    transform: translateY(-2px);
}

.btn--sm {
    --btn-h: 40px;
    padding: 0 18px;
    font-size: 14px;
}

.btn--block {
    width: 100%;
}

.btn__arrow {
    transition: transform 0.2s var(--ease);
}

/* 主按钮上的版本号小胶囊。
   主按钮底是橙实底、字是深咖，胶囊若沿用白透底会把对比吃掉；
   这里改成深咖低透（0.14）+ 深咖描边（0.28），胶囊轮廓靠描边勾出来
   压在橙底上对比仍在 6:1 以上，WCAG AA 大字号（≥3:1）与正文（4.5:1）都过。 */
.btn__ver {
    padding: 3px 9px;
    font-size: 11.5px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.2px;
    color: var(--brand-on);
    background: rgba(42, 22, 8, 0.14);
    border: 1px solid rgba(42, 22, 8, 0.28);
    border-radius: 999px;
    white-space: nowrap;
}

.btn:hover .btn__arrow {
    transform: translateX(4px);
}

/* ---------- 5. 顶栏 ---------- */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    height: var(--nav-h);
    /* 白玻璃：顶栏滚动时与页面融成一片，靠描边分层 */
    background: rgba(255, 250, 243, 0.84);
    backdrop-filter: saturate(160%) blur(14px);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.25s var(--ease), background 0.25s var(--ease),
        box-shadow 0.25s var(--ease);
}

.header.is-scrolled {
    border-bottom-color: var(--line);
    background: rgba(255, 250, 243, 0.94);
    box-shadow: 0 10px 24px -18px rgba(63, 36, 12, 0.25);
}

.header__inner {
    height: 100%;
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    /* 副标题长短由后台决定：允许收缩，超长时走省略号，避免把导航挤出视口 */
    flex: 0 1 auto;
    min-width: 0;
}

/* 徽标是红底金齿孔 + 播放三角，本身带 alpha 圆角，不要再套圆角 */
.logo img {
    height: 36px;
    width: 36px;
    object-fit: contain;
    flex: 0 0 auto;
}

/* logo 右侧的站名：主标题 + 英文副标题（副标题来自后台 site_subtitle） */
.logo__text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.15;
    min-width: 0;
}

.logo__name {
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 0.2px;
    color: var(--heading);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 副标题是中文短语，不做大写变换——否则只有开头的 Windows 变成 WINDOWS，读起来割裂 */
.logo__sub {
    margin-top: 2px;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.4px;
    color: var(--text-3);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.logo:hover .logo__name { color: var(--brand-hover); }

.nav {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav__link {
    position: relative;
    padding: 9px 14px;
    border-radius: 999px;
    font-size: 14.5px;
    font-weight: 600;
    color: var(--text-2);
    /* 中文导航项被挤压时不能在字间断行（会出现「首/页」两行） */
    white-space: nowrap;
    transition: color 0.18s var(--ease), background 0.18s var(--ease);
}

.nav__link:hover {
    color: var(--text);
    background: rgba(194, 85, 10, 0.05);
}

.nav__link.is-active {
    color: var(--brand);
    background: rgba(194, 85, 10, 0.1);
}

.header__cta {
    margin-left: 10px;
}

.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-left: auto;
    border-radius: 10px;
    border: 1px solid var(--line-strong);
    color: var(--text);
}

.nav-toggle:hover {
    background: rgba(194, 85, 10, 0.05);
}

.nav-toggle__bars {
    position: relative;
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: background 0.2s var(--ease);
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
    content: "";
    position: absolute;
    left: 0;
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: transform 0.24s var(--ease), top 0.24s var(--ease);
}

.nav-toggle__bars::before {
    top: -6px;
}

.nav-toggle__bars::after {
    top: 6px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars {
    background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before {
    top: 0;
    transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after {
    top: 0;
    transform: rotate(-45deg);
}

/* 移动端抽屉 */
.mobile-nav {
    position: fixed;
    inset: var(--nav-h) 0 auto 0;
    z-index: 99;
    display: none;
    flex-direction: column;
    padding: 12px 20px 24px;
    background: rgba(255, 250, 243, 0.98);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 22px 40px -26px rgba(63, 36, 12, 0.27);
    backdrop-filter: blur(16px);
    max-height: calc(100dvh - var(--nav-h));
    overflow-y: auto;
}

.mobile-nav.is-open {
    display: flex;
    animation: slideDown 0.24s var(--ease);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-nav__link {
    padding: 14px 6px;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-2);
    border-bottom: 1px solid var(--line);
}

.mobile-nav__link.is-active {
    color: var(--brand);
}

.mobile-nav .btn {
    margin-top: 18px;
}

/* ---------- 6. 首页 Hero ---------- */
.hero {
    position: relative;
    padding: 72px 0 88px;
    overflow: hidden;
    background: linear-gradient(180deg, #fff6ea 0%, rgba(255, 250, 243, 0) 100%);
}

.hero::before {
    content: "";
    position: absolute;
    inset: -20% -10% auto -10%;
    height: 620px;
    background:
        radial-gradient(50% 60% at 22% 18%, rgba(194, 85, 10, 0.22), transparent 70%),
        radial-gradient(45% 55% at 82% 8%, rgba(38, 104, 201, 0.18), transparent 72%);
    pointer-events: none;
    filter: blur(10px);
}

/* 首屏铺一层更清楚的方格：让「每帧重算」这件事在第一屏就有点机器的质感，往下滚动才退回 34px 底纹 */
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(194, 85, 10, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(194, 85, 10, 0.06) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #2a1608 30%, transparent 78%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #2a1608 30%, transparent 78%);
    pointer-events: none;
}

.hero__inner {
    position: relative;
    z-index: 1;
    display: grid;
    /* 右栏略宽：首图是整窗截图，横向多给 60px 界面文字才看得清 */
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.17fr);
    gap: 44px;
    align-items: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px 6px 8px;
    margin-bottom: 22px;
    font-size: 13px;
    font-weight: 600;
    color: var(--heading);
    background: rgba(93, 58, 24, 0.075);
    border: 1px solid rgba(194, 85, 10, 0.3);
    border-radius: 999px;
}

.badge__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--brand-solid);
    box-shadow: 0 0 0 0 var(--brand-glow);
    animation: pulse 2.4s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(194, 85, 10, 0.10);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(194, 85, 10, 0.06);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(194, 85, 10, 0.06);
    }
}

.hero__title {
    font-size: clamp(30px, 4.4vw, 54px);
    line-height: 1.18;
    letter-spacing: -0.022em;
    margin-bottom: 20px;
}

.hero__title em {
    font-style: normal;
    color: transparent;
    background: linear-gradient(100deg, #7a3d08 0%, #b44d09 38%, #e8730f 72%, #c2550a 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

.hero__desc {
    max-width: 560px;
    font-size: 17px;
    color: var(--text-2);
    margin-bottom: 32px;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
}

.hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 26px;
    margin-top: 38px;
    padding-top: 26px;
    /* 首屏左侧压在粉色光晕上，低透明描边会「只显右半段」：
       改成一条自带渐变的细线，左端更实，右端渐隐，任何底色上都连续 */
    background: linear-gradient(90deg, rgba(93, 58, 24, 0.2), rgba(93, 58, 24, 0.06)) top left / 100% 1px no-repeat;
}

.hero__meta-item {
    display: flex;
    flex-direction: column;
}

.hero__meta-num {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text);
    font-variant-numeric: tabular-nums;
}

.hero__meta-label {
    font-size: 13px;
    color: var(--text-3);
}

.hero__visual {
    position: relative;
}

.hero__visual img {
    width: 100%;
    height: auto;
    object-fit: cover;
    background: var(--bg-elev);
    border-radius: var(--r-lg);
    border: 1px solid var(--line);
    box-shadow: 0 34px 70px -34px rgba(63, 36, 12, 0.23), 0 0 0 1px var(--line);
}

/* 首页 hero 截图占位比例（防 CLS）；其他页面的截图按自身比例显示 */
/* 首页 hero 用横版画面框：比例由截图自身的 width/height 属性决定，不再写死 */
.hero__visual--stage img {
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
}


/* ---------- 7. 信任条 ---------- */
.trustbar {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: var(--bg-soft);
    padding: 18px 0;
}

.trustbar__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px 34px;
    font-size: 13.5px;
    color: var(--text-3);
}

.trustbar__item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.trustbar__item .icon {
    width: 16px;
    height: 16px;
    color: var(--brand);
}

/* ---------- 8. 功能卡 ---------- */
.card {
    position: relative;
    padding: 28px;
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-sm);
    transition: transform 0.24s var(--ease), border-color 0.24s var(--ease),
        box-shadow 0.28s var(--ease), background 0.24s var(--ease);
    overflow: hidden;
}

.card:hover {
    transform: translateY(-4px);
    border-color: rgba(194, 85, 10, 0.35);
    box-shadow: 0 22px 44px -26px rgba(63, 36, 12, 0.23);
}

.card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 18px;
    border-radius: 14px;
    color: var(--brand);
    /* 藏青淡底 + 藏青细描边：48px 下比中性灰底更明确归属品牌色 */
    background: rgba(194, 85, 10, 0.1);
    border: 1px solid rgba(194, 85, 10, 0.2);
}

.card__icon .icon {
    width: 24px;
    height: 24px;
}

.card__title {
    font-size: 17px;
    margin-bottom: 8px;
}

.card__text {
    font-size: 14.5px;
    color: var(--text-2);
}

.card__tag {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 2px 9px;
    font-size: 11px;
    font-weight: 700;
    color: var(--brand);
    background: rgba(194, 85, 10, 0.08);
    border-radius: 999px;
}

/* ---------- 9. 下载区 ---------- */
.download-box {
    padding: 40px;
    background:
        radial-gradient(120% 150% at 88% -10%, rgba(255, 253, 248, 0.14), transparent 58%),
        linear-gradient(145deg, #fffaf1 0%, #ffffff 52%, #fff2e2 100%);
    border: 1px solid rgba(194, 85, 10, 0.28);
    border-radius: var(--r-xl);
    box-shadow: var(--shadow);
}

.download-box__head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 28px;
}

/* 左栏按 max-content 撑开会把「安卓版」胶囊挤到下一行，这里让它可收缩 */
.download-box__head > div {
    flex: 1 1 0;
    min-width: 0;
}

.download-box__title {
    font-size: clamp(20px, 2.4vw, 28px);
    margin-bottom: 8px;
}

.download-box__sub {
    font-size: 14px;
    color: var(--text-2);
}

.version-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 700;
    color: var(--brand);
    background: rgba(194, 85, 10, 0.08);
    border: 1px solid rgba(194, 85, 10, 0.3);
    border-radius: 999px;
    white-space: nowrap;
}

.dl-list {
    display: grid;
    gap: 12px;
}

.dl-item {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    padding: 18px 20px;
    background: var(--bg-soft);
    border: 1px solid var(--line);
    border-radius: var(--r);
    transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.dl-item:hover {
    border-color: rgba(194, 85, 10, 0.3);
    background: var(--brand-soft);
}

.dl-item--primary {
    position: relative;
    border-color: rgba(194, 85, 10, 0.42);
    background:
        linear-gradient(100deg, rgba(38, 104, 201, 0.10) 0%, rgba(194, 85, 10, 0.10) 46%, rgba(194, 85, 10, 0.03) 100%);
    box-shadow: 0 18px 40px -28px rgba(242, 128, 30, 0.9), inset 0 1px 0 rgba(93, 58, 24, 0.07);
}

/* 主条目左侧一道橙→蓝竖线：全站唯一的双色强调，只在正式下载项上出现 */
.dl-item--primary::before {
    content: '';
    position: absolute;
    left: 0;
    top: 14px;
    bottom: 14px;
    width: 3px;
    border-radius: 0 3px 3px 0;
    background: linear-gradient(180deg, #8a4a10 0%, #c2550a 100%);
}

.dl-item__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    /* 藏青淡底 + 藏青线稿：44px 下比纯灰底更清楚，也与主色同族 */
    background: rgba(194, 85, 10, 0.08);
    color: var(--brand);
}

.dl-item__name {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 15.5px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 3px;
}

.dl-item__ver {
    padding: 1px 8px;
    font-size: 11.5px;
    font-weight: 700;
    color: var(--brand);
    background: rgba(194, 85, 10, 0.25);
    border-radius: 6px;
}

.dl-item__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
    font-size: 12.5px;
    color: var(--text-3);
}

.dl-item__code {
    font-family: var(--mono);
    color: var(--warn);
}

/*
 * SHA-256 校验值：给用户下载后核对文件用。
 * 哈希串 64 位很长，在窄屏必须能断行，否则会把卡片撑破。
 */
.dl-item__hash {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
    font-size: 12px;
    line-height: 1.5;
}

.dl-item__hash code {
    font-family: var(--mono);
    font-size: 12px;
    color: var(--text-2);
    background: var(--bg-elev);
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 3px 8px;
    /* 长哈希串在窄屏内换行，而不是撑宽卡片 */
    word-break: break-all;
    -webkit-user-select: all;
    user-select: all;
}

.dl-item__hash-tag {
    flex: none;
    padding: 2px 7px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .3px;
    color: var(--brand);
    background: var(--brand-soft);
    border: 1px solid var(--brand-glow);
    border-radius: 5px;
}

.download-box__foot {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 22px;
    padding: 14px 16px;
    font-size: 13px;
    color: var(--text-2);
    background: rgba(194, 85, 10, 0.05);
    border: 1px solid rgba(194, 85, 10, 0.24);
    border-radius: var(--r);
}

.download-box__foot .icon {
    width: 17px;
    height: 17px;
    flex: 0 0 auto;
    margin-top: 3px;
    color: var(--warn);
}

/* ---------- 10. 步骤 ---------- */
.steps {
    counter-reset: step;
    display: grid;
    gap: 18px;
}

.step {
    position: relative;
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 20px;
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
}

.step__num {
    counter-increment: step;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    font-size: 18px;
    font-weight: 800;
    color: var(--brand);
    background: rgba(194, 85, 10, 0.07);
    border: 1px solid rgba(194, 85, 10, 0.18);
    border-radius: 14px;
    font-variant-numeric: tabular-nums;
}

.step__num::before {
    content: counter(step, decimal-leading-zero);
}

.step__title {
    font-size: 16.5px;
    margin-bottom: 6px;
}

.step__text {
    font-size: 14.5px;
    color: var(--text-2);
}

/* ---------- 11. 使用场景 ---------- */
.scene {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.scene__item {
    display: flex;
    gap: 18px;
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    transition: border-color 0.2s var(--ease), transform 0.22s var(--ease);
}

.scene__item:hover {
    transform: translateY(-3px);
    border-color: rgba(194, 85, 10, 0.25);
}

.scene__icon {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 11px;
    color: var(--brand);
    background: rgba(194, 85, 10, 0.07);
}

.scene__title {
    font-size: 16px;
    margin-bottom: 5px;
}

.scene__text {
    font-size: 14px;
    color: var(--text-2);
}

/* ---------- 12. 文章卡 ---------- */
.post-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    transition: transform 0.22s var(--ease), border-color 0.22s var(--ease),
        box-shadow 0.26s var(--ease);
}

.post-card:hover {
    transform: translateY(-4px);
    border-color: rgba(194, 85, 10, 0.3);
    box-shadow: 0 26px 50px -28px rgba(63, 36, 12, 0.23);
}

.post-card__tag {
    display: inline-flex;
    align-self: flex-start;
    padding: 3px 10px;
    margin-bottom: 12px;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--brand);
    background: rgba(194, 85, 10, 0.08);
    border-radius: 6px;
}

.post-card__title {
    font-size: 16.5px;
    line-height: 1.5;
    margin-bottom: 10px;
}

.post-card__title a {
    color: var(--text);
}

.post-card__title a:hover {
    color: var(--brand);
}

.post-card__desc {
    flex: 1;
    font-size: 14px;
    color: var(--text-2);
    margin-bottom: 16px;
}

.post-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 12.5px;
    color: var(--text-3);
    padding-top: 14px;
    border-top: 1px solid var(--line);
}

/* ---------- 13. 友情链接 ---------- */
.links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.links__item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-2);
    background: rgba(194, 85, 10, 0.05);
    border: 1px solid var(--line);
    border-radius: 999px;
    transition: all 0.2s var(--ease);
}

.links__item:hover {
    color: var(--heading);
    border-color: rgba(194, 85, 10, 0.45);
    background: rgba(194, 85, 10, 0.22);
    transform: translateY(-2px);
}

.links__item .icon {
    width: 14px;
    height: 14px;
    opacity: 0.6;
}

.links__scope {
    display: inline-block;
    padding: 1px 7px;
    font-size: 10.5px;
    font-weight: 700;
    color: var(--text-3);
    background: rgba(194, 85, 10, 0.05);
    border-radius: 4px;
}

/* ---------- 14. FAQ ---------- */
.faq {
    display: grid;
    gap: 12px;
    max-width: 860px;
    margin: 0 auto;
}

/* 页头左对齐的 FAQ 页：列表跟标题同一条左边缘，不要再居中 */
.faq--left {
    margin: 0;
}

.faq__item {
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: var(--r);
    overflow: hidden;
    transition: border-color 0.2s var(--ease);
}

.faq__item[open] {
    border-color: rgba(194, 85, 10, 0.26);
    background: rgba(194, 85, 10, 0.045);
}

.faq__q {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 22px;
    font-size: 15.5px;
    font-weight: 700;
    color: var(--text);
    cursor: pointer;
    list-style: none;
}

.faq__q::-webkit-details-marker {
    display: none;
}

.faq__q::after {
    content: "";
    flex: 0 0 auto;
    width: 9px;
    height: 9px;
    margin-top: 8px;
    border-right: 2px solid var(--text-3);
    border-bottom: 2px solid var(--text-3);
    transform: rotate(45deg);
    transition: transform 0.22s var(--ease), border-color 0.22s var(--ease);
}

.faq__item[open] .faq__q::after {
    transform: rotate(-135deg);
    border-color: var(--brand);
}

.faq__a {
    padding: 0 22px 20px;
    font-size: 14.5px;
    color: var(--text-2);
}

/* ---------- 15. 内页通用 ---------- */
.page-head {
    position: relative;
    padding: 56px 0 44px;
    border-bottom: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(194, 85, 10, 0.045), transparent);
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-bottom: 16px;
    font-size: 13px;
    color: var(--text-3);
}

.breadcrumb a {
    color: var(--text-3);
}

.breadcrumb a:hover {
    color: var(--brand);
}

.breadcrumb__sep {
    opacity: 0.5;
}

.page-head__title {
    font-size: clamp(26px, 3.6vw, 40px);
    margin-bottom: 12px;
}

.page-head__desc {
    max-width: 760px;
    font-size: 16px;
    color: var(--text-2);
    /* 避免末行只剩一两个字（中文长句最容易出孤字） */
    text-wrap: pretty;
}

/* ---------- 16. 文章正文 ---------- */
.article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 44px;
    align-items: start;
}

.prose {
    font-size: 16.5px;
    line-height: 1.9;
    color: var(--text-2);
}

.prose > * + * {
    margin-top: 18px;
}

.prose h2 {
    font-size: 23px;
    margin-top: 44px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
    color: var(--text);
}

/* 正文首个小标题不要顶出 44px，否则正文比侧栏低一截 */
.prose > h2:first-child,
.prose > h3:first-child,
.prose > h4:first-child {
    margin-top: 0;
}

.prose h3 {
    font-size: 19px;
    margin-top: 34px;
    color: var(--text);
}

.prose h4 {
    font-size: 17px;
    margin-top: 26px;
    color: var(--text);
}

.prose p {
    color: var(--text-2);
}

.prose strong {
    color: var(--text);
    font-weight: 700;
}

.prose a {
    text-decoration: underline;
    text-decoration-color: rgba(194, 85, 10, 0.4);
    text-underline-offset: 3px;
}

.prose ul,
.prose ol {
    padding-left: 4px;
}

.prose ul li {
    position: relative;
    padding-left: 22px;
    margin-top: 9px;
}

.prose ul li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 12px;
    width: 6px;
    height: 6px;
    border-radius: 2px;
    background: var(--brand-solid);
    opacity: 0.75;
}

.prose ol {
    counter-reset: ol;
}

.prose ol li {
    position: relative;
    padding-left: 28px;
    counter-increment: ol;
    margin-top: 9px;
}

.prose ol li::before {
    content: counter(ol) ".";
    position: absolute;
    left: 0;
    color: var(--brand);
    font-weight: 700;
}

.prose blockquote {
    margin: 26px 0;
    padding: 16px 22px;
    color: var(--text-2);
    background: rgba(194, 85, 10, 0.07);
    border-left: 3px solid var(--brand);
    border-radius: 0 var(--r) var(--r) 0;
}

.prose blockquote p {
    color: inherit;
    margin: 0;
}

.prose code {
    padding: 2px 6px;
    font-family: var(--mono);
    font-size: 0.9em;
    color: var(--text);
    background: rgba(194, 85, 10, 0.1);
    border-radius: 5px;
    word-break: break-word;
}

.prose pre {
    padding: 18px 20px;
    overflow-x: auto;
    background: #fff4e6;
    border: 1px solid var(--line);
    border-radius: var(--r);
    font-size: 14px;
    line-height: 1.7;
    -webkit-overflow-scrolling: touch;
}

.prose pre code {
    padding: 0;
    background: none;
    color: var(--text);
}

.prose .tbl {
    margin: 26px 0;
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: var(--r);
    background: var(--bg-card);
    -webkit-overflow-scrolling: touch;
}

.prose .tbl table {
    width: 100%;
    min-width: 460px;
    border-collapse: collapse;
    font-size: 14.5px;
    line-height: 1.65;
}

.prose .tbl th,
.prose .tbl td {
    padding: 11px 14px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid var(--line);
}

.prose .tbl th {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.02em;
    white-space: nowrap;
    color: var(--heading);
    background: var(--hl-soft);
}

.prose .tbl td {
    color: var(--text-2);
}

.prose .tbl tbody tr:last-child td {
    border-bottom: 0;
}

.prose .tbl tbody tr:nth-child(even) td {
    background: rgba(93, 58, 24, 0.035);
}

/* 窄屏：表格折成一张张卡片，表头由 data-label 带出，避免横向滑动藏掉末列 */
@media (max-width: 720px) {
    .prose .tbl {
        overflow: visible;
        border: 0;
        border-radius: 0;
        background: none;
    }

    .prose .tbl table {
        display: block;
        min-width: 0;
        font-size: 14px;
    }

    .prose .tbl thead {
        display: none;
    }

    .prose .tbl tbody {
        display: block;
    }

    .prose .tbl tr {
        display: block;
        margin-top: 12px;
        padding: 6px 0;
        border: 1px solid var(--line);
        border-radius: var(--r);
        background: var(--bg-card);
    }

    .prose .tbl tbody tr:nth-child(even) td {
        background: none;
    }

    .prose .tbl td {
        display: grid;
        grid-template-columns: minmax(68px, 30%) minmax(0, 1fr);
        gap: 10px;
        padding: 7px 14px;
        border-bottom: 0;
        line-height: 1.6;
    }

    .prose .tbl td::before {
        content: attr(data-label);
        color: var(--text-3);
        font-size: 12.5px;
        letter-spacing: 0.02em;
    }

    .prose .tbl td:not([data-label]) {
        display: block;
    }

    .prose .tbl td:not([data-label])::before {
        content: none;
    }
}

.article__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    padding-bottom: 20px;
    margin-bottom: 8px;
    font-size: 13px;
    color: var(--text-3);
    border-bottom: 1px solid var(--line);
}

.article__meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.article__meta .icon {
    width: 15px;
    height: 15px;
}

/* 侧边栏 */
.sidebar {
    position: sticky;
    top: calc(var(--nav-h) + 24px);
    display: grid;
    gap: 18px;
}

.side-card {
    padding: 22px;
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
}

.side-card__title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--text);
    margin-bottom: 14px;
}

.side-card__title .icon {
    width: 16px;
    height: 16px;
    color: var(--brand);
}

.side-list li + li {
    margin-top: 6px;
    padding-top: 6px;
    border-top: 1px solid var(--line);
}

.side-list a {
    display: block;
    padding: 6px 0;
    font-size: 14px;
    line-height: 1.55;
    color: var(--text-2);
}

.side-list a:hover {
    color: var(--brand);
}

.side-list small {
    display: block;
    font-size: 12px;
    color: var(--text-3);
    margin-top: 2px;
}

/* ---------- 17. 更新日志 ---------- */
.timeline {
    position: relative;
    max-width: 880px;
    margin: 0 auto;
    padding-left: 30px;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 7px;
    top: 6px;
    bottom: 6px;
    width: 2px;
    background: linear-gradient(180deg, rgba(194, 85, 10, 0.6), rgba(194, 85, 10, 0.05));
}

.timeline__item {
    position: relative;
    padding-bottom: 34px;
}

.timeline__item::before {
    content: "";
    position: absolute;
    left: -30px;
    top: 8px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--bg);
    border: 2px solid var(--brand-dim);
}

.timeline__item--latest::before {
    background: var(--brand-solid);
    border-color: var(--brand);
    box-shadow: 0 0 0 5px rgba(194, 85, 10, 0.18);
}

.timeline__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.timeline__ver {
    font-size: 18px;
    font-weight: 800;
    color: var(--text);
    font-variant-numeric: tabular-nums;
}

.timeline__date {
    font-size: 13px;
    color: var(--text-3);
}

.tag-new {
    padding: 2px 9px;
    font-size: 11px;
    font-weight: 700;
    color: var(--brand-on);
    background: var(--brand-solid);
    border-radius: 999px;
}

.timeline__body {
    padding: 16px 20px;
    font-size: 14.5px;
    color: var(--text-2);
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: var(--r);
}

.timeline__body p + p {
    margin-top: 8px;
}

/* ---------- 18. 列表页 ---------- */
.list {
    display: grid;
    gap: 16px;
}

.list__item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px;
    align-items: center;
    padding: 26px 28px;
    background: var(--bg-soft);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    transition: border-color 0.2s var(--ease), transform 0.22s var(--ease),
        background 0.2s var(--ease);
}

.list__item:hover {
    transform: translateY(-2px);
    border-color: rgba(194, 85, 10, 0.3);
    background: var(--brand-soft);
}

.list__title {
    font-size: 18px;
    line-height: 1.5;
    margin-bottom: 8px;
}

.list__title a {
    color: var(--text);
}

.list__title a:hover {
    color: var(--brand);
}

.list__desc {
    font-size: 14px;
    color: var(--text-2);
    margin-bottom: 12px;
}

.list__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    font-size: 12.5px;
    color: var(--text-3);
}

.list__arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: var(--text-3);
    background: rgba(194, 85, 10, 0.05);
    transition: all 0.22s var(--ease);
}

.list__item:hover .list__arrow {
    color: var(--brand);
    background: rgba(194, 85, 10, 0.25);
    transform: translateX(3px);
}

/* 分页 */
.pager {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}

.pager__item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 14px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-2);
    background: rgba(194, 85, 10, 0.05);
    border: 1px solid var(--line);
    border-radius: 10px;
    transition: all 0.18s var(--ease);
}

.pager__item:hover {
    color: var(--brand);
    border-color: rgba(194, 85, 10, 0.35);
}

.pager__item.is-current {
    color: var(--brand-on);
    background: var(--brand-solid);
    border-color: var(--brand);
}

/* ---------- 19. 页脚 ---------- */
.footer {
    position: relative;
    padding: 64px 0 0;
    background: var(--bg-soft);
    border-top: 1px solid var(--line);
}

.footer__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
    gap: 40px;
    padding-bottom: 48px;
}

.footer__brand img {
    /* 后台可换任意比例的 logo：固定成正方形盒子 + contain 等比缩放，
       避免横版图被拉成扁条（历史上 width/height 写成 220x56 会变形） */
    width: 40px;
    height: 40px;
    object-fit: contain;
    margin-bottom: 16px;
    /* 与页头徽标一致：只收圆角 */
    border-radius: 10px;
}

.footer__desc {
    max-width: 340px;
    font-size: 13.5px;
    color: var(--text-2);
    line-height: 1.8;
    /* 用行数截断，不用字符截断：中文在 120 字处切会切在半个词中间 */
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.footer__title {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text);
    margin-bottom: 16px;
}

.footer__links li + li {
    margin-top: 10px;
}

.footer__links a {
    font-size: 13.5px;
    color: var(--text-2);
}

.footer__links a:hover {
    color: var(--brand);
}

.footer__bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 22px 0;
    border-top: 1px solid var(--line);
    font-size: 12.5px;
    color: var(--text-3);
}

.footer__bottom a {
    color: var(--text-2);
}

.footer__bottom a:hover {
    color: var(--brand);
}

.footer__legal {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 18px;
}

/* ---------- 20. 空状态 ---------- */
.empty {
    padding: 60px 24px;
    text-align: center;
    color: var(--text-3);
    background: rgba(194, 85, 10, 0.035);
    border: 1px dashed var(--line-strong);
    border-radius: var(--r-lg);
}

.empty .icon {
    width: 40px;
    height: 40px;
    margin: 0 auto 14px;
    opacity: 0.4;
}

/* ---------- 21. 404 ---------- */
.err-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 62vh;
    padding: 60px 24px;
    text-align: center;
}

.err-page__code {
    font-size: clamp(72px, 16vw, 140px);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.05em;
    color: transparent;
    background: linear-gradient(180deg, #a8490a 0%, rgba(194, 85, 10, 0.80) 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

.err-page__title {
    font-size: 22px;
    margin: 18px 0 10px;
}

.err-page__desc {
    max-width: 460px;
    color: var(--text-2);
    font-size: 15px;
    margin-bottom: 28px;
}

/* ---------- 22. 回到顶部 ---------- */
.to-top {
    position: fixed;
    right: 22px;
    bottom: 26px;
    z-index: 90;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    color: var(--text);
    background: var(--bg-elev);
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.24s var(--ease);
}

.to-top.is-show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.to-top:hover {
    color: var(--heading);
    border-color: rgba(194, 85, 10, 0.45);
}

.to-top .icon {
    width: 18px;
    height: 18px;
    transform: rotate(-90deg);
}

/* ---------- 23. 滚动入场动画 ---------- */
.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
    will-change: opacity, transform;
}

.reveal.is-in {
    opacity: 1;
    transform: none;
}

/* ---------- 24. 扫码下载弹窗 ---------- */
.qr-modal {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.qr-modal[hidden] {
    display: none;
}

.qr-modal__mask {
    position: absolute;
    inset: 0;
    background: rgba(194, 85, 10, 0.555);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.qr-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(380px, 100%);
    max-height: calc(100vh - 48px);
    overflow-y: auto;
    padding: 30px 28px 24px;
    border-radius: var(--r-xl);
    border: 1px solid var(--line-strong);
    background:
        radial-gradient(120% 80% at 50% 0%, rgba(194, 85, 10, 0.12), transparent 62%),
        var(--bg-card);
    box-shadow: 0 44px 90px -40px rgba(63, 36, 12, 0.23);
    text-align: center;
    outline: none;
    animation: qr-modal-in 0.26s var(--ease);
}

@keyframes qr-modal-in {
    from {
        opacity: 0;
        transform: translateY(14px) scale(0.97);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

.qr-modal__close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--text-3);
    background: transparent;
    border: 1px solid transparent;
    cursor: pointer;
    transition: color 0.18s var(--ease), background 0.18s var(--ease);
}

.qr-modal__close:hover {
    color: var(--heading);
    background: rgba(38, 104, 201, 0.08);
}

.qr-modal__close .icon {
    width: 16px;
    height: 16px;
}

.qr-modal__eyebrow {
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 700;
}

.qr-modal__title {
    margin-top: 6px;
    font-family: var(--font-display);
    font-size: 25px;
    letter-spacing: 0.04em;
    color: var(--heading);
}

.qr-modal__desc {
    margin-top: 8px;
    font-size: 13.5px;
    line-height: 1.7;
    color: var(--text-2);
}

/* 二维码必须保留白底：反色后多数相机扫不出来 */
.qr-modal__code {
    margin: 20px auto 0;
    width: 236px;
    max-width: 100%;
    padding: 8px;
    border-radius: 14px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 1px rgba(63, 36, 12, 0.07), 0 20px 44px -24px rgba(63, 36, 12, 0.20);
}

.qr-modal__code img,
.qr-modal__code canvas {
    display: block;
    width: 220px;
    height: 220px;
    max-width: 100%;
}

.qr-modal__code [data-qr-fallback] {
    display: none;
    padding: 26px 14px;
    font-size: 12.5px;
    line-height: 1.6;
    color: #8b7361;
}

.qr-modal__code.is-fallback [data-qr-fallback] {
    display: block;
}

.qr-modal__item {
    margin-top: 14px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    word-break: break-all;
}

.qr-modal__item:empty {
    display: none;
}

.qr-modal__actions {
    margin-top: 18px;
    display: flex;
    justify-content: center;
}

.qr-modal__actions .btn {
    width: 100%;
}

.qr-modal__hint {
    margin-top: 12px;
    font-size: 12px;
    line-height: 1.6;
    color: var(--text-3);
}

@media (max-width: 480px) {
    .qr-modal {
        padding: 16px;
        align-items: flex-end;
    }

    .qr-modal__dialog {
        width: 100%;
        padding: 26px 20px 20px;
        border-radius: var(--r-lg);
    }

    .qr-modal__title {
        font-size: 22px;
    }

    .qr-modal__code {
        width: 214px;
    }

    .qr-modal__code img,
    .qr-modal__code canvas {
        width: 198px;
        height: 198px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        transition-duration: 0.001ms !important;
    }
}

/* ==========================================================================
   24. 响应式
   ========================================================================== */

@media (max-width: 1200px) {
    /* 副标题一行 26 字，1200 以下会把导航挤成一字一行，这里先藏副标题 */
    .logo__sub {
        display: none;
    }

    .hero__inner {
        gap: 40px;
    }

    .article-layout {
        grid-template-columns: minmax(0, 1fr) 260px;
        gap: 32px;
    }
}

@media (max-width: 992px) {
    :root {
        --nav-h: 62px;
    }

    .section {
        padding: 72px 0;
    }

    .section__head {
        margin-bottom: 40px;
    }

    .nav {
        display: none;
    }

    .header__cta {
        display: none;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .hero {
        padding: 48px 0 64px;
    }

    .hero__inner {
        grid-template-columns: minmax(0, 1fr);
        gap: 44px;
    }

    .hero__desc {
        max-width: none;
    }

    .hero__visual {
        max-width: 640px;
    }

    .grid--4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .grid--3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .article-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .sidebar {
        position: static;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 32px;
    }
}

@media (max-width: 768px) {
    body {
        font-size: 15.5px;
    }

    /* 小屏隐藏英文副标题，保证「logo + 站名 + 下载按钮 + 汉堡」不换行 */
    .logo__sub {
        display: none;
    }

    /* 小屏隐藏主按钮上的版本号：按钮已撑满整行，版本号会把「立即下载」挤偏，
       且首屏上方版本徽标已经写明「最新正式版 x.x.x」 */
    .hero__actions .btn__ver {
        display: none;
    }

    .logo__name {
        font-size: 16px;
    }

    .container {
        padding: 0 18px;
    }

    .section {
        padding: 56px 0;
    }

    .section--tight {
        padding: 44px 0;
    }

    .hero__meta {
        gap: 20px;
        margin-top: 30px;
        padding-top: 22px;
    }

    .hero__meta-num {
        font-size: 21px;
    }

    .hero__float--tl {
        top: -12px;
        left: 0;
    }

    .hero__float--br {
        right: 0;
        bottom: -14px;
    }

    .download-box {
        padding: 26px 20px;
    }

    .dl-item {
        grid-template-columns: auto minmax(0, 1fr);
        gap: 14px;
    }

    .dl-item .btn {
        grid-column: 1 / -1;
        width: 100%;
    }

    .step {
        grid-template-columns: 44px minmax(0, 1fr);
        gap: 16px;
        padding: 20px;
    }

    .step__num {
        width: 44px;
        height: 44px;
        font-size: 16px;
        border-radius: 12px;
    }

    .scene {
        grid-template-columns: minmax(0, 1fr);
    }

    .list__item {
        grid-template-columns: minmax(0, 1fr);
        padding: 22px 20px;
    }

    .list__arrow {
        display: none;
    }

    .sidebar {
        grid-template-columns: minmax(0, 1fr);
    }

    .prose {
        font-size: 16px;
    }

    .prose h2 {
        font-size: 20px;
        margin-top: 34px;
    }

    .prose h3 {
        font-size: 18px;
    }

    .footer__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
        padding-bottom: 36px;
    }

    .footer__bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer__legal {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .timeline {
        padding-left: 24px;
    }

    .timeline__item::before {
        left: -24px;
    }

    .timeline::before {
        left: 5px;
    }

    .to-top {
        right: 14px;
        bottom: 18px;
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .section {
        padding: 46px 0;
    }

    .grid--2,
    .grid--3,
    .grid--4 {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero__title {
        font-size: 27px;
    }

    .hero__desc {
        font-size: 15.5px;
    }

    .hero__actions .btn {
        width: 100%;
    }

    .hero__float {
        font-size: 12px;
        padding: 8px 11px;
    }

    .hero__meta {
        justify-content: space-between;
        gap: 14px;
    }

    .hero__meta-item {
        flex: 1 1 30%;
    }

    .badge {
        font-size: 12px;
    }

    .card {
        padding: 22px;
    }

    .download-box {
        padding: 22px 16px;
        border-radius: var(--r-lg);
    }

    .download-box__head {
        margin-bottom: 20px;
    }

    .dl-item {
        padding: 16px;
    }

    .dl-item__icon {
        width: 38px;
        height: 38px;
    }

    .faq__q {
        padding: 16px 18px;
        font-size: 14.5px;
    }

    .faq__a {
        padding: 0 18px 18px;
        font-size: 14px;
    }

    .page-head {
        padding: 36px 0 30px;
    }

    .page-head__title {
        font-size: 24px;
    }

    .page-head__desc {
        font-size: 15px;
    }

    .post-card,
    .side-card {
        padding: 20px;
    }

    .links__item {
        padding: 9px 14px;
        font-size: 13px;
    }

    .btn {
        --btn-h: 46px;
        padding: 0 20px;
        font-size: 14.5px;
    }

    .prose pre {
        padding: 14px;
        font-size: 13px;
    }
}

@media (max-width: 360px) {
    .hero__title {
        font-size: 24px;
    }

    /* 超窄屏：站名过长时允许省略，避免把汉堡按钮挤出屏幕 */
    .logo__name {
        font-size: 15px;
        max-width: 42vw;
    }

    .hero__meta-item {
        flex: 1 1 100%;
    }

    .dl-item__icon {
        display: none;
    }

    .dl-item {
        grid-template-columns: minmax(0, 1fr);
    }
}


/* ==========================================================================
   25. 首屏大标题
   --------------------------------------------------------------------------
   只保留标题族：主标题拆成「品牌大字 + 副标题一行」，
   品牌大字走一段「深橙 → 木瓜橙 → 浅橙」的渐变，取的是图标上那片果肉的颜色
   ========================================================================== */

/* ---------- 25.1 大标题 ---------- */
.hero__title,
.page-head__title,
.section__title,
.err-page__title,
.side-card__title {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: 0.005em;
}

.hero__title em {
    display: block;
    width: fit-content;
    font-style: normal;
    font-size: clamp(44px, 5.4vw, 74px);
    line-height: 1.08;
    letter-spacing: -0.01em;
    background: linear-gradient(100deg, #7a3d08 0%, #b44d09 38%, #e8730f 72%, #c2550a 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero__title-sub {
    display: block;
    margin-top: 18px;
    font-family: var(--font);
    font-size: clamp(17px, 1.55vw, 22px);
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: 0.01em;
    color: var(--text);
}


/* ==========================================================================
   26. 版式组件（画框 / 浮层卡 / 小墙）
   --------------------------------------------------------------------------
   26.1  首屏样机框（.decks__frame）与三张界面截图（.phones）
   26.2  信任条圆点（.trustbar__dot）
   26.3  横排功能卡（.card--row）
   26.4  双栏三步（.step-card）
   26.5  队列三段（.fmt）
   26.6  三条通道（.lane）
   26.7  友链墙（.link-wall）
   26.8  截图板（.plate）
   26.9  对照表（.spec-table）
   26.10 响应式
   设计意图：截图是主角，浮层卡是注解。照片框用一圈暗描边 + 纯黑投影，
             从雾白底上轻轻浮起来；浮层卡压在卡片面上，靠细描边定边界，不靠发光。
             框里是真实的程序窗口截图（浅色标题栏 + 列表），所以只做边框与投影，不加任何压暗叠加。
   ========================================================================== */

/* ---------- 26.1 首屏：手机样机 ---------- */
.stage {
    position: relative;
    margin: 0;
}

/* 首屏整幅示意图：图本身是奶油底合成图，只加一圈极淡的橙边与一片暖投影，
   不做压暗叠加，也不裁切——两块界面与四周留白都要看得见 */
.stage img {
    box-shadow:
        0 34px 70px -34px rgba(63, 36, 12, 0.28),
        0 0 0 1px rgba(194, 85, 10, 0.10),
        0 0 118px -54px rgba(194, 85, 10, 0.34);
}

.stage__cap {
    margin: 12px 0 0;
    font-size: 12.5px;
    line-height: 1.62;
    color: var(--text-3);
}

/* 文本列：grid 子项默认 min-width:auto，路径与协议名这类长串会把列撑破 */
.hero__text {
    min-width: 0;
}

/* 样机框：一圈暖褐细边，把界面从奶油底上"托"出来 */
.stage__frame {
    position: relative;
    padding: 9px;
    border-radius: var(--r-lg);
    border: 1px solid var(--line-strong);
    background: linear-gradient(180deg, #fffaf1 0%, #fff2e2 100%);
    box-shadow:
        var(--shadow),
        0 0 0 1px rgba(194, 85, 10, 0.07),
        0 0 96px -34px rgba(194, 85, 10, 0.3);
}

.stage__frame img {
    display: block;
    width: 100%;
    border-radius: 7px;
    /* 截图是浅色移动端界面，只做极轻的暖化，别把白底调成米黄 */
    filter: saturate(1.03) contrast(1.015) brightness(0.985);
}

/* ---------- 站点四元卡 ---------- */
.sitecard,
.queuecard {
    position: absolute;
    z-index: 3;
    padding: 14px 15px 13px;
    border-radius: var(--r);
    border: 1px solid var(--line-strong);
    /* 卡要压在帖子页上看，透明度必须更低，否则底下正文会透上来 */
    background: rgba(255, 250, 241, 0.97);
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(10px);
}

.sitecard {
    left: -24px;
    bottom: 0;
    width: 196px;
}

.sitecard__k,
.queuecard__k {
    margin: 0 0 9px;
    font-size: 11.5px;
    letter-spacing: 0.06em;
    color: var(--text-3);
}

.sitecard__list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 6px;
}

.sitecard__list li {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    font-size: 12.5px;
    line-height: 1.4;
}

.sitecard__list span {
    color: var(--text-3);
}

.sitecard__list b {
    font-weight: 600;
    color: var(--brand);
    letter-spacing: 0.01em;
    font-variant-numeric: tabular-nums;
}

.sitecard__n {
    margin: 10px 0 0;
    padding-top: 9px;
    border-top: 1px dashed var(--line);
    font-size: 11.5px;
    line-height: 1.5;
    color: var(--text-3);
}

/* ---------- 队列卡 ---------- */
.queuecard {
    right: -20px;
    bottom: 62px;
    width: 242px;
}

.queuecard__list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 11px;
}

.queuecard__list li {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: baseline;
    padding-bottom: 7px;
    font-size: 12.5px;
    line-height: 1.4;
}

/* 底槽：灰线一条，看得见"还没走" */
.queuecard__list li::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    border-radius: 2px;
    background: var(--line);
}

/* 进行条：宽度由行内 style 给，走红；已完的走金 */
.queuecard__list li > i {
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    border-radius: 2px;
    background: var(--brand);
}

.queuecard__list li > i.is-done {
    background: var(--accent);
}

.queuecard__list span {
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: var(--text);
}

.queuecard__list em {
    font-style: normal;
    font-size: 11.5px;
    color: var(--text-3);
    font-variant-numeric: tabular-nums;
}

/* ---------- 26.2 信任条圆点 ---------- */
.trustbar__dot {
    flex: none;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--brand);
    box-shadow: 0 0 0 3px rgba(194, 85, 10, 0.14);
}

/* ---------- 26.3 横排功能卡 ---------- */
.card--row {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 24px 26px;
}

.card--row .card__icon {
    flex: none;
    width: 44px;
    height: 44px;
    margin-bottom: 0;
    border-radius: 12px;
}

.card--row .card__title {
    margin-bottom: 6px;
}

/* ---------- 26.4 双栏三步 ---------- */
.step-card {
    position: relative;
    overflow: hidden;
    padding: 30px 26px 26px;
    background:
        linear-gradient(180deg, rgba(194, 85, 10, 0.07) 0%, rgba(194, 85, 10, 0) 46%),
        var(--bg-card);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
}

/* 顶边一道红线，把它和普通卡片区分开：三步是一条线上的三段 */
.step-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 2px;
    background: linear-gradient(90deg, var(--brand) 0%, rgba(194, 85, 10, 0) 88%);
}

.step-card__n {
    display: inline-block;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.16em;
    color: var(--accent);
    font-variant-numeric: tabular-nums;
}

.step-card__t {
    margin: 10px 0 8px;
    font-size: 18px;
}

.step-card__d {
    font-size: 14.5px;
    color: var(--text-2);
}

/* ---------- 26.5 队列三段卡 ---------- */
.fmt {
    position: relative;
    padding: 22px 20px;
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

/* 三张是并列的三种意外，没有先后，所以不做首格强调 —— 只留 hover */
.fmt__ext::before {
    content: "";
    display: block;
    width: 26px;
    height: 3px;
    margin-bottom: 10px;
    border-radius: 2px;
    background: linear-gradient(90deg, #c2550a, #c2550a);
}

.fmt:hover {
    transform: translateY(-2px);
    border-color: rgba(194, 85, 10, 0.34);
}

.fmt__ext {
    margin: 0 0 10px;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.14em;
    color: var(--brand);
    font-variant-numeric: tabular-nums;
}

.fmt__to {
    margin: 0 0 10px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
    color: var(--heading);
}

.fmt__note {
    margin: 0;
    font-size: 13px;
    line-height: 1.65;
    color: var(--text-3);
}

/* ---------- 26.6 三条通道 ---------- */
.lane {
    display: grid;
    gap: 12px;
}

.lane__row {
    display: grid;
    grid-template-columns: 210px minmax(0, 1fr) minmax(0, 1.25fr);
    gap: 22px;
    align-items: start;
    padding: 22px 24px;
    border-radius: var(--r-lg);
    border: 1px solid var(--line);
    background: var(--bg-card);
    transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.lane__row:hover {
    border-color: rgba(194, 85, 10, 0.32);
    transform: translateY(-2px);
}

.lane__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 10px;
}

.lane__k {
    font-size: 16px;
    font-weight: 700;
    color: var(--heading);
    margin: 0;
    white-space: nowrap;
}

.lane__tag {
    flex: 0 0 auto;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 11.5px;
    color: var(--brand-2);
    background: var(--hl-soft);
    border: 1px solid rgba(194, 85, 10, 0.24);
}

.lane__n {
    font-size: 14px;
    color: var(--text);
    margin: 0;
    padding-top: 1px;
}

.lane__d {
    font-size: 13.8px;
    line-height: 1.75;
    color: var(--text-2);
    margin: 0;
}

/* ---------- 26.7 友链墙 ---------- */
.link-wall {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.link-wall__item {
    padding: 8px 16px;
    font-size: 13.5px;
    color: var(--text-2);
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: 999px;
    transition: color 0.2s var(--ease), border-color 0.2s var(--ease),
        transform 0.2s var(--ease), background 0.2s var(--ease);
}

.link-wall__item:hover {
    color: var(--brand);
    background: rgba(194, 85, 10, 0.08);
    border-color: rgba(194, 85, 10, 0.4);
    transform: translateY(-2px);
}

/* ---------- 26.8 截图板（功能页的两张实机图） ---------- */
.plate {
    margin: 0;
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    box-shadow: 0 30px 64px -40px rgba(63, 36, 12, 0.23);
}

.plate__cap {
    padding: 10px 16px;
    font-size: 12.5px;
    color: var(--text-3);
    background: var(--bg-soft);
    border-top: 1px solid var(--line);
}

/* ==========================================================================
   26.9 对照表（功能页：六种协议）
   ========================================================================== */
.spec-wrap {
    overflow-x: auto;
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    -webkit-overflow-scrolling: touch;
}

.spec-table {
    width: 100%;
    min-width: 640px;
    border-collapse: collapse;
    font-size: 14px;
}

.spec-table__cap {
    caption-side: top;
    padding: 15px 20px;
    font-size: 12.5px;
    letter-spacing: 0.05em;
    text-align: left;
    color: var(--text-3);
    border-bottom: 1px solid var(--line);
}

.spec-table th,
.spec-table td {
    padding: 13px 18px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid var(--line);
}

.spec-table thead th {
    font-size: 12.5px;
    font-weight: 700;
    white-space: nowrap;
    color: var(--brand);
    background: rgba(194, 85, 10, 0.06);
}

.spec-table tbody th {
    font-weight: 700;
    white-space: nowrap;
    color: var(--heading);
}

.spec-table tbody tr:last-child th,
.spec-table tbody tr:last-child td {
    border-bottom: 0;
}

.spec-table tbody tr:hover {
    background: rgba(194, 85, 10, 0.04);
}

.spec-tag {
    display: inline-block;
    padding: 2px 9px;
    font-size: 12px;
    color: var(--text-2);
    background: var(--bg-elev);
    border: 1px solid var(--line);
    border-radius: 999px;
}

/* ==========================================================================
   26.10 响应式
   ========================================================================== */

@media (max-width: 1200px) {
    .sitecard {
        left: -12px;
        width: 182px;
    }

    .queuecard {
        right: -10px;
        width: 232px;
    }

    .lane__row {
        grid-template-columns: 170px minmax(0, 1fr) minmax(0, 1.2fr);
        gap: 16px;
    }
}

@media (max-width: 992px) {
    /* 单列之后视觉区居中，浮层贴住窗口下沿，不再向外挂 */
    .sitecard {
        left: 10px;
        bottom: 0;
    }

    .queuecard {
        right: 10px;
        bottom: 56px;
    }

    .lane__row {
        grid-template-columns: minmax(0, 1fr);
        gap: 8px;
    }

    .lane__head {
        margin-bottom: 2px;
    }
}

@media (max-width: 768px) {
    .sitecard {
        width: 160px;
        padding: 11px 12px 10px;
    }

    .sitecard__list li {
        font-size: 12px;
    }

    .queuecard {
        width: 200px;
        padding: 11px 12px 10px;
    }
}

@media (max-width: 560px) {
    /* 窄屏不再做"浮标"：两张卡按顺序落到窗口下面，绝对定位在 375 宽上必然互相压 */
    .stage img {
        border-radius: var(--r);
    }

    .sitecard,
    .queuecard {
        position: static;
        width: 100%;
        margin-top: 10px;
        backdrop-filter: none;
    }

    .stage__frame {
        order: 1;
    }

    .sitecard {
        order: 2;
    }

    .queuecard {
        order: 3;
    }

    .step-card {
        padding: 26px 22px 22px;
    }

    .fmt {
        padding: 20px 18px;
    }

    .card--row {
        gap: 14px;
        padding: 22px;
    }
}

@media (max-width: 720px) {
    /* 窄屏整表拆成卡片：表头隐藏，字段名由 td 的 data-label 带出 */
    .spec-wrap {
        overflow: visible;
        background: transparent;
        border: 0;
        border-radius: 0;
    }

    /* caption 在 block 布局下会被压成一字一行，这里必须整条去掉 */
    .spec-table__cap {
        display: none;
    }

    .spec-table {
        display: block;
        min-width: 0;
    }

    .spec-table thead {
        display: none;
    }

    .spec-table tbody,
    .spec-table tr,
    .spec-table th,
    .spec-table td {
        display: block;
        width: 100%;
    }

    .spec-table tr {
        margin-bottom: 12px;
        padding: 2px 18px 12px;
        background: var(--bg-card);
        border: 1px solid var(--line);
        border-radius: var(--r);
    }

    .spec-table tbody th {
        padding: 14px 0 9px;
        font-size: 15px;
        border-bottom: 1px solid var(--line);
    }

    .spec-table td {
        position: relative;
        padding: 9px 0 9px 92px;
        border-bottom: 0;
    }

    .spec-table td::before {
        content: attr(data-label);
        position: absolute;
        top: 9px;
        left: 0;
        width: 84px;
        font-size: 12.5px;
        color: var(--text-3);
    }
}


/* ==========================================================================
   28. 覆写层
   --------------------------------------------------------------------------
   换肤脚本按族平移字面量后，仍有几处「浅底假设」需要单独处理：
   28.1 首屏：示意图画框（不套桌面样机）
   28.2 首屏标题渐变
   28.3 图下两张小卡（静态排布，不用绝对定位）
   28.4 主按钮实底
   28.5 三条线卡的量条
   28.6 截图板（宽版 / 窄版）
   28.7 响应式
   ========================================================================== */

/* ---------- 28.1 首屏：竖版样机 + 渐变画框 ---------- */
.decks {
    display: grid;
    grid-template-columns: minmax(0, 0.86fr) minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    width: 100%;
    margin: 0 auto;
}

/* 画框：一圈 8px 品牌渐变，把样机图从雾底上托起来 */
.decks__frame {
    grid-column: 1;
    grid-row: 1 / span 2;
    position: relative;
    margin: 0;
    padding: 8px;
    border-radius: 26px;
    background: linear-gradient(135deg, #a8490a 0%, #c2550a 100%);
    box-shadow:
        0 40px 70px -46px rgba(194, 85, 10, 0.52),
        0 0 90px -36px rgba(38, 104, 201, 0.28);
}

.decks__frame img {
    display: block;
    width: 100%;
    height: auto;
    border: 0;
    border-radius: 19px;
    background: transparent;
    /* 样机图自带浅色渐变背景，不做压暗 */
    filter: none;
}

/* 单图版：功能页 / 下载页里竖图占一列，限宽居中免得被拉满 */
.decks__frame--narrow {
    grid-column: auto;
    grid-row: auto;
    max-width: 300px;
    margin: 0 auto;
}

/* 手机原生截图只有 210 宽，放大到 300 会发虚：单独给一档更窄的画框 */
.decks__frame--phone {
    max-width: 232px;
    margin: 0 auto;
}

/* 横版：一张 3:2 的界面图占满整行，下面并排两张卡 */
.decks--wide {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.decks--wide .decks__frame {
    grid-column: 1 / -1;
    grid-row: auto;
}

/* 单张横图：整行居中，限宽 760；功能页的六种模式与定时录制用它 */
.decks__frame--plate {
    grid-column: auto;
    grid-row: auto;
    max-width: 760px;
    margin: 0 auto;
}

/* 竖版样机图下方的图注：块级居中，不带卡片底 */
.decks__cap {
    margin: 12px 0 0;
    font-size: 12.5px;
    line-height: 1.65;
    text-align: center;
    color: var(--text-3);
}

/* ---------- 28.2 首屏渐变字 ---------- */
.hero__title em {
    background: linear-gradient(100deg, #7a3d08 0%, #b44d09 38%, #e8730f 72%, #c2550a 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* ---------- 28.3 图下两张小卡 ---------- */
.sitecard,
.queuecard {
    position: static;
    width: 100%;
    margin: 0;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    background: var(--bg-card);
    box-shadow: 0 18px 40px -32px rgba(63, 36, 12, 0.25);
}

/* ---------- 28.3b 扫码弹窗遮罩 ---------- */
.qr-modal__mask {
    background: rgba(63, 36, 12, 0.31);
}

/* ---------- 28.4 主按钮 ---------- */
.btn--primary {
    color: var(--brand-on);
    background: var(--brand-solid);
    box-shadow: 0 14px 30px -20px rgba(194, 85, 10, 0.40);
}

.btn--primary:hover {
    background: var(--brand-hover);
}

/* ---------- 28.5 三条线卡的量条：3px 底槽 + 深橙 ---------- */
.queuecard__list li::before {
    height: 3px;
    background: #fff4e6;
}

.queuecard__list li > i,
.queuecard__list li > i.is-done {
    height: 3px;
    background: var(--brand);
}

/* 量条与文字之间松一点，否则像下划线 */
.queuecard__list li {
    padding-bottom: 9px;
}

.queuecard__list li + li {
    margin-top: 2px;
}

/* ---------- 28.6 截图板：竖版截图限宽，白卡包一层 ---------- */
.plate--narrow {
    max-width: 300px;
    margin: 0 auto;
}

.plate--wide {
    max-width: 420px;
    margin: 0 auto;
}

.plate--narrow img,
.plate--wide img {
    width: 100%;
    height: auto;
}

/* ---------- 28.7 响应式 ---------- */
@media (max-width: 900px) {
    .decks {
        grid-template-columns: minmax(0, 1fr);
        max-width: 340px;
        gap: 12px;
    }

    .decks--wide {
        grid-template-columns: minmax(0, 1fr);
        max-width: 520px;
    }

    .decks__frame {
        grid-column: 1;
        grid-row: auto;
    }
}

@media (max-width: 560px) {
    .decks {
        grid-template-columns: 1fr;
        gap: 12px;
        max-width: 300px;
    }

    .decks__frame {
        padding: 6px;
        border-radius: 22px;
    }

    .decks__frame img {
        border-radius: 16px;
    }
}

/* ---------- 28.8 下载盒：整站唯一的实色锚点 ----------
   奶油底通篇是浅的，需要一个能把视线压住的块，于是这里反过来用品牌实色：
   木瓜橙实底（#f79533 -> #f2801e -> #e8730f），压深咖字 #2a1608（6.7:1）；
   盒内的条目用白色半透垫起一层，不再靠深浅色阶分层。
   块内的主按钮再翻一次：深咖实底 + 奶油字，在整块橙面上只有它最重。 */
.download-box {
    background:
        radial-gradient(120% 150% at 88% -10%, rgba(255, 255, 255, 0.30), transparent 58%),
        radial-gradient(90% 120% at 4% 104%, rgba(120, 54, 4, 0.18), transparent 62%),
        linear-gradient(145deg, #f79533 0%, #f2801e 55%, #e8730f 100%);
    border: 1px solid rgba(120, 54, 4, 0.32);
    box-shadow: 0 32px 70px -46px rgba(194, 85, 10, 0.62);
}

.download-box h2,
.download-box h3 {
    color: #2a1608;
}

.download-box p:not([class]) {
    color: rgba(42, 22, 8, 0.86);
}

.download-box a:not(.btn) {
    color: #5a2400;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.download-box strong {
    color: #2a1608;
}

.download-box .download-box__sub {
    color: rgba(42, 22, 8, 0.82);
}

.download-box .version-pill {
    color: #2a1608;
    background: rgba(255, 255, 255, 0.44);
    border-color: rgba(42, 22, 8, 0.22);
}

.download-box .dl-item {
    background: rgba(255, 255, 255, 0.30);
    border-color: rgba(42, 22, 8, 0.14);
}

.download-box .dl-item:hover {
    background: rgba(255, 255, 255, 0.46);
    border-color: rgba(42, 22, 8, 0.26);
}

.download-box .dl-item--primary {
    background: rgba(255, 255, 255, 0.50);
    border-color: rgba(42, 22, 8, 0.30);
}

.download-box .dl-item__icon {
    background: rgba(42, 22, 8, 0.12);
    color: #2a1608;
}

.download-box .dl-item__name {
    color: #2a1608;
}

.download-box .dl-item__meta,
.download-box .dl-item__hash {
    color: rgba(42, 22, 8, 0.78);
}

.download-box .dl-item__ver {
    color: #2a1608;
    background: rgba(255, 255, 255, 0.56);
}

.download-box .download-box__foot {
    color: rgba(42, 22, 8, 0.84);
    background: rgba(255, 255, 255, 0.34);
    border-color: rgba(42, 22, 8, 0.18);
}

.download-box .empty {
    color: rgba(42, 22, 8, 0.72);
}

/* 橙面上的按钮：反过来用深咖实底 + 奶油字（11.4:1），
   在整块暖色面里，只有深色块还能继续当主按钮 */
.download-box .btn--primary {
    background: #2a1608;
    color: #fffdf8;
    box-shadow: 0 16px 34px -20px rgba(42, 22, 8, 0.62);
}

.download-box .btn--primary:hover {
    background: #43270f;
    color: #fffdf8;
}

.download-box .btn--ghost {
    color: #2a1608;
    border-color: rgba(42, 22, 8, 0.42);
}

.download-box .btn--ghost:hover {
    color: #2a1608;
    background: rgba(255, 255, 255, 0.30);
    border-color: rgba(42, 22, 8, 0.60);
}

/* ==========================================================================
   29. 中等宽度（≤ 1080px）：主导航收进汉堡
   七个导航项 + 两行站名在 1024 上下会互相挤，1080 起统一折叠，
   避免出现「容器被撑到 1072、整页横向滚动 48px」这种边界溢出。
========================================================================== */
@media (max-width: 1080px) {
    .nav {
        display: none;
    }

    .header__cta {
        display: none;
    }

    .nav-toggle {
        display: inline-flex;
    }
}

/* ==========================================================================
   30. 首屏手机组 .phones（第 50 轮新增）
   三张竖版界面截图并排：浏览、看单张、按主题找。中间一张抬高一档，
   是因为「看单张」才是这件事的核心动作，两侧是它的入口与出口。
   窄屏不缩放成三个小方块，改成横向滚动 + 吸附，保证每张仍然读得清。
========================================================================== */
.phones {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
    gap: 16px;
}

.phones__item {
    margin: 0;
    padding: 7px;
    min-width: 0;
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
}

.phones__item img {
    display: block;
    width: 100%;
    height: auto;
    border: 0;
    border-radius: 12px;
    background: var(--bg-soft);
}

/* 三张同高同宽：这一屏是「三条主路径」，不是三张海报，
   错落会让底部对不齐，反而像是排版出了问题 */
.phones__item:nth-child(2) {
    transform: none;
}

@media (max-width: 1080px) {
    .phones__item {
        padding: 5px;
        border-radius: 15px;
    }

    .phones__item img {
        border-radius: 10px;
    }
}

@media (max-width: 900px) {
    .phones {
        display: flex;
        gap: 12px;
        overflow-x: auto;
        padding-top: 0;
        padding-bottom: 8px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }

    .phones__item {
        flex: 0 0 58%;
        scroll-snap-align: start;
    }

}

/* ==========================================================================
   31. 比例示意 .frames 与截图墙 .shots（第 50 轮新增）
   .frames 展示「同一张图放进不同比例容器」的裁切差异：容器用 aspect-ratio，
   图片 object-fit: cover，不做任何手动裁切，看到的就是浏览器的真实行为。
   .shots 用于功能页的四张界面截图，两列排布，每张下方带一条图注。
========================================================================== */
.frames {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: center;
    gap: 16px;
}

.frames__item {
    margin: 0;
    min-width: 0;
}

/* 四个容器同高、宽度按比例算出来：左边那张横版自然变宽，9:16 自然变窄。
   同高是为了让四张图能并排比较；宽度差就是比例差本身。 */
.frames__box {
    display: block;
    height: 250px;
    overflow: hidden;
    background: var(--bg-soft);
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow-sm);
}

.frames__box img {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    object-fit: cover;
}

.frames__cap {
    margin: 12px 0 0;
    font-size: 12.5px;
    line-height: 1.7;
    color: var(--text-2);
}

.frames__cap b {
    display: block;
    margin-bottom: 2px;
    font-size: 13px;
    font-weight: 600;
    color: var(--heading);
}

/* 窄屏不再折行：四张一旦分成两三行，比例对比就散了。
   改成一条横向滚动的条带，高度固定，宽度差仍然在。 */
@media (max-width: 1080px) {
    .frames {
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        gap: 12px;
        padding-bottom: 8px;
        scroll-snap-type: x proximity;
        -webkit-overflow-scrolling: touch;
    }

    .frames__item {
        flex: 0 0 auto;
        /* 图注按条目宽度换行，9:16 那种很窄的格子会把图注挤成一列字，
           所以给条目一个下限，图注至少 168px 宽 */
        min-width: 168px;
        scroll-snap-align: start;
    }

    .frames__box {
        height: 170px;
    }
}

@media (max-width: 640px) {
    .frames__box {
        height: 140px;
    }

    .frames__cap {
        font-size: 12px;
    }
}

.shots {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px 24px;
}

.shots__item {
    margin: 0;
    min-width: 0;
}

.shots__frame {
    display: block;
    padding: 8px;
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
}

.shots__frame img {
    width: 100%;
    border: 0;
    background: transparent;
    border-radius: 10px;
}

.shots__cap {
    margin: 12px 0 0;
    font-size: 13px;
    line-height: 1.75;
    color: var(--text-2);
}

.shots__cap b {
    display: block;
    margin-bottom: 2px;
    font-weight: 600;
    color: var(--heading);
}

/* 竖版截图用四列：450×800 的手机图缩到四列刚好一屏放得下 */
.shots--four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px 18px;
}

.shots--four .shots__frame {
    padding: 6px;
    border-radius: 18px;
}

.shots--four .shots__frame img {
    border-radius: 13px;
}

.shots--four .shots__cap {
    margin-top: 11px;
    font-size: 12.5px;
    line-height: 1.7;
}

@media (max-width: 1080px) {
    .shots--four {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .shots--four {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }
}

@media (max-width: 900px) {
    .shots {
        grid-template-columns: minmax(0, 1fr);
        gap: 22px;
    }
}

@media (max-width: 640px) {
    .shots__frame {
        border-radius: 12px;
    }

    .frames__box {
        border-radius: 12px;
    }

    .frames__cap {
        font-size: 12px;
    }
}

/* ==========================================================================
   32. 两种宽度对照 .widecmp（第 50 轮新增）
   桌面端的行宽与手机端的行宽差得太多，用两张界面截图去比反而说不清，
   干脆用一张「同一条通道、三种距离」的读数卡：左列是端，中列是条件，右列是代价。
========================================================================== */
.widecmp {
    padding: 8px 24px;
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: var(--r-xl);
    box-shadow: var(--shadow);
}

.widecmp__row {
    display: grid;
    grid-template-columns: 74px 96px minmax(0, 1fr);
    align-items: baseline;
    gap: 14px;
    padding: 20px 0;
    border-bottom: 1px dashed var(--line);
}

.widecmp__row:last-child {
    border-bottom: 0;
}

.widecmp__k {
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.04em;
    color: var(--text-3);
}

.widecmp__v {
    font-size: 17px;
    font-weight: 700;
    color: var(--brand);
    white-space: nowrap;
}

.widecmp__n {
    font-size: 13px;
    line-height: 1.7;
    color: var(--text-2);
}

@media (max-width: 640px) {
    .widecmp {
        padding: 4px 16px;
    }

    .widecmp__row {
        grid-template-columns: 64px minmax(0, 1fr);
        gap: 4px 12px;
    }

    .widecmp__n {
        grid-column: 1 / -1;
    }
}

/* ==========================================================================
   33. 三样东西 .chan
   三条通道是三种物理事实，适合排成一张带分隔线的规格表：
   1px 的 gap 让卡片之间自然形成细线，不用给每张卡单独画边框。
========================================================================== */
.chan {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: var(--r-xl);
    overflow: hidden;
}

.chan__item {
    min-width: 0;
    padding: 30px 26px 28px;
    background: var(--bg-card);
    transition: background 0.25s var(--ease);
}

.chan__item:hover {
    background: var(--hl-soft);
}

.chan__k {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 27px;
    height: 27px;
    margin: 0 0 16px;
    border-radius: 8px;
    background: var(--brand);
    color: var(--brand-on);
    font-family: var(--mono);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0;
}

.chan__title {
    margin: 0 0 9px;
    font-size: 19px;
    line-height: 1.4;
    color: var(--heading);
    text-wrap: balance;
}

.chan__lead {
    margin: 0 0 18px;
    font-size: 14px;
    line-height: 1.78;
    color: var(--text-2);
    text-wrap: pretty;
}

.chan__spec {
    display: grid;
    gap: 9px;
    margin: 0;
    padding-top: 15px;
    border-top: 1px dashed var(--line);
}

.chan__row {
    display: grid;
    /* 左列要装下五字标签（要不要联网 / 断了会怎样），54px 会被 nowrap 顶进右列 */
    grid-template-columns: 66px minmax(0, 1fr);
    gap: 9px;
    align-items: baseline;
}

.chan__row dt {
    font-size: 12px;
    white-space: nowrap;
    color: var(--text-3);
    letter-spacing: 0.02em;
}

.chan__row dd {
    margin: 0;
    font-size: 13.2px;
    line-height: 1.65;
    color: var(--text);
}

/* 功能页三张竖版截图：450×800 缩到三列，一屏能并排看全 */
.shots--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px 20px;
}

.shots--three .shots__frame {
    padding: 6px;
    border-radius: 18px;
}

.shots--three .shots__frame img {
    border-radius: 13px;
}

.shots--three .shots__cap {
    margin-top: 11px;
    font-size: 12.8px;
    line-height: 1.72;
    color: var(--text-2);
}

/* 三列时说明文字变长，标题与正文之间要留一口气，不然两行会黏成一段 */
.shots--three .shots__cap b {
    margin-bottom: 5px;
    font-size: 13.2px;
}

@media (max-width: 1080px) {
    .chan {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .chan__item:last-child {
        grid-column: 1 / -1;
    }

    .shots--three {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .chan {
        grid-template-columns: minmax(0, 1fr);
    }

    .chan__item:last-child {
        grid-column: auto;
    }

    .chan__item {
        padding: 24px 20px 22px;
    }

    .chan__title {
        font-size: 17.5px;
    }
}

@media (max-width: 640px) {
    .shots--three {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }
}
