/* ==========================================================================
   HWiNFO 官网 · 主样式表
   设计语言：石墨仪表（近黑石墨底 + 电光青柠 + 灼橙）
             不画渐变大图，画的是"一块正在读数的面板"：石墨底上有极淡的 34px 细格，
             内容块是微微抬起的暗卡，边缘只留一道冷白细线；
             首屏右侧是一扇 Windows 窗口框，框内是本地化的软件主界面，外面压两张读数卡
             底色 #0B0E11 / 副底 #0F1317 / 卡片 #141A1F / 浮层 #1B232A
             主色 电光青柠 #C6F24E（夜底 15.0:1，链接、小标题、图标、主按钮）
             品牌实底压深墨 #101A05（13.9:1）；白字压青柠只有 1.3:1，全站禁止
             点缀 灼橙 #FF7A5C（只做数字、强调字、越线标记，7.6:1）
             高光 橄榄暗片 #232B10（只做标签底、序号块，压青柠字 11:1）
             正文 #E7EEF3 / 标题 #F4F9FC / 描边 rgba(231,238,243,*)
             阴影一律纯黑 rgba(0,0,0,*)，暗底上带色温会显脏
   全站响应式：1920 / 1440 / 1200 / 992 / 768 / 480 / 360
========================================================================== */
:root {
    /* 底层：石墨。页面底最暗，卡片抬两档，靠一道冷白细线分层 */
    --bg: #0b0e11;
    --bg-soft: #0f1317;
    --bg-card: #141a1f;
    --bg-elev: #1b232a;
    /* 卡片悬浮 / 表头用的青柠 tint */
    --bg-tint: rgba(198, 242, 78, 0.05);

    /* 描边：冷白低透明，像暗底上的一道细线 */
    --line: rgba(231, 238, 243, 0.10);
    --line-strong: rgba(231, 238, 243, 0.20);

    /* 主色：电光青柠。夜底 15.0:1，链接、小标题、图标一律用它 */
    --brand: #c6f24e;
    --brand-2: #8fb52e;
    --brand-light: #1e2710;
    --brand-dim: #9baf86;
    --brand-soft: rgba(198, 242, 78, 0.12);
    --brand-glow: rgba(198, 242, 78, 0.28);
    --brand-btn: #c6f24e;
    --brand-hover: #d6fa72;
    /* 实底色：电光青柠。压深墨字 13.9:1，白字只有 1.3:1，全站禁止 */
    --brand-solid: #c6f24e;
    /* 品牌底上的文字色：深墨（青柠压深墨 13.9:1） */
    --brand-on: #101a05;

    /* 点缀色：灼橙（数字、强调字、越线标记）。夜底 7.6:1 */
    --accent: #ff7a5c;
    --accent-soft: rgba(255, 122, 92, 0.16);
    --accent-line: rgba(255, 122, 92, 0.34);
    /* 橙本体：只做填充与描边，不做正文色 */
    --lime: #ff7a5c;

    /* 高光：橄榄暗片。只做标签底、序号块，压青柠字 11:1 */
    --hl: #232b10;
    --hl-soft: rgba(198, 242, 78, 0.14);

    /* 文本：冷白阶梯 */
    --text: #e7eef3;
    --text-2: #a3b2bd;
    --text-3: #75848f;
    --heading: #f4f9fc;

    --warn: #ffb020;
    --danger: #ff6b5a;
    --success: #57d9a3;
    --blue: #7ab8ff;
    /* 光晕点缀（变量名沿用旧称） */
    --glow-cyan: rgba(198, 242, 78, 0.10);
    --glow-green: rgba(198, 242, 78, 0.10);
    --glow-violet: rgba(255, 122, 92, 0.14);

    /* 圆角：仪表要的是利落感，块不做大圆角，收在 8~14px */
    --r-sm: 8px;
    --r: 11px;
    --r-lg: 14px;
    --r-xl: 20px;

    --shadow: 0 30px 70px -42px rgba(0, 0, 0, 0.86);
    --shadow-sm: 0 12px 30px -20px rgba(0, 0, 0, 0.72);
    --shadow-brand: 0 20px 48px -28px rgba(198, 242, 78, 0.38);

    --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);

    /* 底纹：34px 一格的细格，透明度压到几乎看不见 */
    --grid: rgba(198, 242, 78, 0.035);

    /* 统一缓动。历史版本里这个变量丢过定义，导致全站 transition 静默失效，这里保留 */
    --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(255, 122, 92, 0.10), transparent 62%),
        radial-gradient(900px 540px at 2% 4%, rgba(198, 242, 78, 0.14), 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(198, 242, 78, 0.30);
    color: #f4f9fc;
}

/* 跳转到主内容（无障碍） */
.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;
}

.section__desc {
    color: var(--text-2);
    font-size: 16px;
}

.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, #d6fa72 0%, #c6f24e 52%, #8fb52e 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(198, 242, 78, 0.04);
    color: var(--text);
    border: 1px solid var(--line-strong);
}

.btn--ghost:hover {
    color: var(--text);
    background: rgba(198, 242, 78, 0.05);
    border-color: rgba(198, 242, 78, 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.30），胶囊轮廓靠描边勾出来
   压青柠底后对比仍在 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(198, 242, 78, 0.09);
    border: 1px solid rgba(198, 242, 78, 0.2);
    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(8, 10, 12, 0.86);
    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(10, 13, 15, 0.94);
    box-shadow: 0 10px 26px -18px rgba(0, 0, 0, 0.72);
}

.header__inner {
    height: 100%;
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
}

/* 徽标本身是蓝底白芯片的圆角方块，只收圆角、不再额外垫底 */
.logo img {
    height: 36px;
    width: 36px;
    object-fit: contain;
    flex: 0 0 auto;
    border-radius: 9px;
}

/* 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;
}

.logo__sub {
    margin-top: 2px;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    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);
    transition: color 0.18s var(--ease), background 0.18s var(--ease);
}

.nav__link:hover {
    color: var(--text);
    background: rgba(198, 242, 78, 0.05);
}

.nav__link.is-active {
    color: var(--brand);
    background: rgba(198, 242, 78, 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(198, 242, 78, 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(11, 14, 17, 0.97);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 22px 40px -26px rgba(0, 0, 0, 0.105);
    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, #101418 0%, rgba(11, 14, 17, 0) 100%);
}

.hero::before {
    content: "";
    position: absolute;
    inset: -20% -10% auto -10%;
    height: 620px;
    background:
        radial-gradient(50% 60% at 22% 18%, rgba(198, 242, 78, 0.22), transparent 70%),
        radial-gradient(45% 55% at 82% 8%, rgba(255, 122, 92, 0.18), transparent 72%);
    pointer-events: none;
    filter: blur(10px);
}

/* 首屏铺一层更清楚的方格：把"仪表盘"这件事在第一屏就说清楚，往下滚动才退回 34px 底纹 */
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(198, 242, 78, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(198, 242, 78, 0.07) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 30%, transparent 78%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 30%, transparent 78%);
    pointer-events: none;
}

.hero__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.06fr);
    gap: 48px;
    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(255, 255, 255, 0.05);
    border: 1px solid rgba(198, 242, 78, 0.30);
    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(0, 0, 0, 0.15);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(0, 0, 0, 0.045);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.045);
    }
}

.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, #ff7a5c 0%, #c6f24e 52%, #8fb52e 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;
    border-top: 1px solid var(--line);
}

.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(0, 0, 0, 0.105), 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(198, 242, 78, 0.35);
    box-shadow: 0 22px 44px -26px rgba(0, 0, 0, 0.15);
}

.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(198, 242, 78, 0.10);
    border: 1px solid rgba(198, 242, 78, 0.20);
}

.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(198, 242, 78, 0.08);
    border-radius: 999px;
}

/* ---------- 9. 下载区 ---------- */
.download-box {
    padding: 40px;
    background:
        radial-gradient(120% 140% at 88% -10%, rgba(198, 242, 78, 0.16), transparent 58%),
        linear-gradient(145deg, #141a1f 0%, #171f26 52%, #12171c 100%);
    border: 1px solid rgba(198, 242, 78, 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(198, 242, 78, 0.08);
    border: 1px solid rgba(198, 242, 78, 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(198, 242, 78, 0.3);
    background: var(--brand-soft);
}

.dl-item--primary {
    border-color: rgba(198, 242, 78, 0.32);
    background: rgba(198, 242, 78, 0.05);
}

.dl-item__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    /* 藏青淡底 + 藏青线稿：44px 下比纯灰底更清楚，也与主色同族 */
    background: rgba(198, 242, 78, 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(198, 242, 78, 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(198, 242, 78, 0.05);
    border: 1px solid rgba(198, 242, 78, 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(198, 242, 78, 0.07);
    border: 1px solid rgba(198, 242, 78, 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(198, 242, 78, 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(198, 242, 78, 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(198, 242, 78, 0.3);
    box-shadow: 0 26px 50px -28px rgba(0, 0, 0, 0.105);
}

.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(198, 242, 78, 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(198, 242, 78, 0.05);
    border: 1px solid var(--line);
    border-radius: 999px;
    transition: all 0.2s var(--ease);
}

.links__item:hover {
    color: #e7eef3;
    border-color: rgba(198, 242, 78, 0.45);
    background: rgba(198, 242, 78, 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(198, 242, 78, 0.05);
    border-radius: 4px;
}

/* ---------- 14. FAQ ---------- */
.faq {
    display: grid;
    gap: 12px;
    max-width: 860px;
    margin: 0 auto;
}

.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(198, 242, 78, 0.26);
    background: rgba(198, 242, 78, 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(255, 122, 92, 0.055), 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);
}

/* ---------- 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);
}

.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(198, 242, 78, 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(198, 242, 78, 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(198, 242, 78, 0.1);
    border-radius: 5px;
    word-break: break-word;
}

.prose pre {
    padding: 18px 20px;
    overflow-x: auto;
    background: #12171c;
    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(231, 238, 243, 0.025);
}

/* 窄屏：表格折成一张张卡片，表头由 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(198, 242, 78, 0.6), rgba(198, 242, 78, 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(0, 0, 0, 0.27);
}

.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(198, 242, 78, 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(198, 242, 78, 0.05);
    transition: all 0.22s var(--ease);
}

.list__item:hover .list__arrow {
    color: var(--brand);
    background: rgba(198, 242, 78, 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(198, 242, 78, 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(198, 242, 78, 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-3);
    line-height: 1.8;
}

.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-3);
}

.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-3);
}

.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(198, 242, 78, 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, #c6f24e 0%, rgba(198, 242, 78, 0.16) 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: #e7eef3;
    border-color: rgba(198, 242, 78, 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(198, 242, 78, 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(198, 242, 78, 0.12), transparent 62%),
        var(--bg-card);
    box-shadow: 0 44px 90px -40px rgba(0, 0, 0, 0.105);
    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(255, 122, 92, 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: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.28), 0 20px 44px -24px rgba(0, 0, 0, 0.15);
}

.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: #75848f;
}

.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) {
    .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. HWiNFO · 首屏大标题
   --------------------------------------------------------------------------
   只保留标题族：主标题拆成「品牌大字 + 副标题一行」，
   配色靠渐变字把电光青柠与灼橙串起来，其余旧组件已随换品牌删除
   ========================================================================== */

/* ---------- 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, #ff7a5c 0%, #c6f24e 54%, #ffb29b 112%);
    -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-2);
}


/* ==========================================================================
   26. HWiNFO · 石墨仪表专属组件
   --------------------------------------------------------------------------
   26.1  首屏窗口框（.deck / .win）与两张读数卡（.gauge）
   26.2  信任条圆点（.trustbar__dot）
   26.3  横排功能卡（.card--row）
   26.4  十秒窗三步（.step-card）
   26.5  定格单四格式（.fmt）
   26.6  三级硬件树（.tree）
   26.7  友链墙（.link-wall）
   26.8  截图板（.plate）
   26.9  对照表（.spec-table）
   设计意图：窗口是主角，读数卡是注解。窗口用石墨机身 + 一道冷白高光边，
             读数卡压在半透的石墨玻璃上，靠纯黑投影从画面里"抬"起来，不靠发光。
   ========================================================================== */

/* ---------- 26.1 首屏窗口框 ---------- */
.deck {
    position: relative;
    padding: 10px 0 46px;
    isolation: isolate;
}

/* 窗口后面一团极淡的青柠雾，让框体与底纹之间有层次，不用发光边 */
.deck::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 4% 3% 12% 3%;
    background: radial-gradient(56% 52% at 50% 42%, rgba(198, 242, 78, 0.18), transparent 72%);
    filter: blur(20px);
    pointer-events: none;
}

.win {
    position: relative;
    overflow: hidden;
    background: #0f1317;
    border: 1px solid rgba(231, 238, 243, 0.14);
    border-radius: 12px;
    box-shadow:
        0 46px 90px -48px rgba(0, 0, 0, 0.95),
        inset 0 1px 0 rgba(231, 238, 243, 0.10);
}

/* 标题栏：石墨到近黑的一道竖渐变，下面是 1px 冷白分割线 */
.win__bar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 14px;
    background: linear-gradient(180deg, #1b232a 0%, #151c22 100%);
    border-bottom: 1px solid rgba(231, 238, 243, 0.10);
}

.win__dots {
    display: flex;
    flex: none;
    gap: 6px;
}

.win__dots i {
    display: block;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #39434c;
}

.win__dots i:nth-child(2) {
    background: #4a555f;
}

.win__dots i:nth-child(3) {
    background: #5d6a75;
}

.win__title {
    font-size: 12px;
    letter-spacing: 0.06em;
    color: var(--text-3);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.win__shot {
    position: relative;
    background: #0b0e11;
}

/* 窗口底压一层极淡的暗渐隐：软件截图底部是状态栏，不压会和卡片底脱开 */
.win__shot::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 24%;
    background: linear-gradient(180deg, rgba(11, 14, 17, 0) 0%, rgba(11, 14, 17, 0.42) 100%);
    pointer-events: none;
}

/* .hero__visual img 那层圆角+描边+投影是给单张大图用的，窗口内要全部退掉 */
.hero__visual .win__shot img,
.hero__visual .plate img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
}

/* ---------- 26.1.1 读数卡 ---------- */
.gauge {
    position: absolute;
    z-index: 3;
    width: 186px;
    padding: 12px 14px 11px;
    background: rgba(20, 26, 31, 0.97);
    border: 1px solid rgba(231, 238, 243, 0.13);
    border-radius: 14px;
    box-shadow:
        0 30px 60px -32px rgba(0, 0, 0, 0.95),
        0 0 0 1px rgba(0, 0, 0, 0.40);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.gauge--a {
    left: 10px;
    bottom: 14px;
}

.gauge--b {
    top: 54px;
    right: 10px;
}

.gauge__k {
    margin: 0;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--brand);
}

.gauge__v {
    margin: 4px 0 0;
    font-size: 25px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--heading);
    font-variant-numeric: tabular-nums;
}

.gauge__v span {
    margin-left: 2px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-3);
}

.gauge__bar {
    height: 4px;
    margin: 8px 0 7px;
    overflow: hidden;
    background: rgba(231, 238, 243, 0.12);
    border-radius: 999px;
}

/* 进度条从青柠走到底部的灼橙：示意"窗内最低到窗内最高"这一段 */
.gauge__bar i {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, #c6f24e 0%, #ff7a5c 100%);
    border-radius: 999px;
}

.gauge__n {
    margin: 0;
    font-size: 11px;
    line-height: 1.5;
    color: var(--text-3);
}

.gauge__list {
    display: grid;
    gap: 5px;
    margin: 8px 0 6px;
    padding: 0;
    list-style: none;
}

.gauge__list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-size: 12px;
    color: var(--text-2);
}

.gauge__list li b {
    font-weight: 600;
    color: var(--text);
}

.gauge__list li span {
    color: var(--text-3);
    font-variant-numeric: tabular-nums;
}

/* 对不上型号的那一行：整行转成灼橙，一眼能看出"它被标成待认了" */
.gauge__list li.is-miss b,
.gauge__list li.is-miss span {
    color: var(--accent);
}

/* ---------- 26.2 信任条圆点 ---------- */
.trustbar__dot {
    flex: none;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--brand);
    box-shadow: 0 0 0 3px rgba(198, 242, 78, 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(198, 242, 78, 0.07) 0%, rgba(198, 242, 78, 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(198, 242, 78, 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);
}

/* 第一格是默认导出格式，描边提一档青柠 */
.fmt:first-child {
    border-color: rgba(198, 242, 78, 0.30);
    background:
        linear-gradient(180deg, rgba(198, 242, 78, 0.06) 0%, rgba(198, 242, 78, 0) 60%),
        var(--bg-card);
}

.fmt:hover {
    transform: translateY(-2px);
    border-color: rgba(198, 242, 78, 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 三级硬件树 ---------- */
.tree {
    position: relative;
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
}

.tree__row {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    align-items: center;
    gap: 24px;
    padding: 22px 26px 22px 46px;
    border-bottom: 1px solid var(--line);
}

.tree__row:last-child {
    border-bottom: 0;
}

/* 第 2/3 级往右缩进，并各拉一道竖向导轨，读起来才像"枝"而不是"列表" */
.tree__row--2 {
    padding-left: 72px;
}

.tree__row--3 {
    padding-left: 98px;
}

.tree__row--2::before,
.tree__row--3::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 34px;
    width: 1px;
    background: rgba(231, 238, 243, 0.16);
}

.tree__row--3::before {
    box-shadow: 26px 0 0 rgba(231, 238, 243, 0.16);
}

/* 层级标号钉在最左的凹槽里，三级共用同一列 */
.tree__lv {
    position: absolute;
    top: 26px;
    left: 14px;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: var(--accent);
    font-variant-numeric: tabular-nums;
}

.tree__k {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 10px;
    margin: 0;
    font-size: 17px;
    color: var(--heading);
}

.tree__k small {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-3);
}

.tree__d {
    margin: 6px 0 0;
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-2);
}

.tree__tip {
    margin: 0;
    padding-left: 13px;
    font-size: 13px;
    line-height: 1.6;
    color: var(--text-3);
    border-left: 2px solid rgba(198, 242, 78, 0.28);
}

/* ---------- 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(198, 242, 78, 0.08);
    border-color: rgba(198, 242, 78, 0.40);
    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(0, 0, 0, 0.9);
}

.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 响应式
   ========================================================================== */

@media (max-width: 1200px) {
    .gauge {
        width: 166px;
    }

    .tree__row {
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
        align-items: start;
    }

    .tree__tip {
        padding-left: 0;
        border-left: 0;
    }
}

@media (max-width: 992px) {
    /* 单列之后视觉区居中，读数卡往两侧退，别压住窗口中线 */
    .gauge--a {
        left: 2%;
    }

    .gauge--b {
        right: 2%;
    }
}

@media (max-width: 768px) {
    .gauge {
        width: 158px;
        padding: 11px 12px 10px;
    }

    .gauge--a {
        left: 0;
        bottom: 10px;
    }

    .gauge--b {
        top: 44px;
        right: 0;
    }

    .gauge__v {
        font-size: 21px;
    }

    .tree__row {
        padding: 20px 20px 20px 42px;
    }

    .tree__row--2 {
        padding-left: 62px;
    }

    .tree__row--3 {
        padding-left: 82px;
    }

    .tree__row--2::before,
    .tree__row--3::before {
        left: 28px;
    }

    .tree__row--3::before {
        box-shadow: 20px 0 0 rgba(231, 238, 243, 0.16);
    }
}

@media (max-width: 560px) {
    /* 窄屏不再做"浮标"：读数卡按顺序落到窗口下面，绝对定位在 375 宽上必然互相压 */
    .deck {
        display: flex;
        flex-direction: column;
        padding-bottom: 0;
    }

    .gauge {
        position: static;
        width: 100%;
        margin-top: 12px;
    }

    .gauge--a,
    .gauge--b {
        top: auto;
        right: auto;
        bottom: auto;
        left: auto;
    }

    .tree__row {
        padding: 18px 18px 18px 38px;
        gap: 8px;
    }

    .tree__row--2 {
        padding-left: 52px;
    }

    .tree__row--3 {
        padding-left: 66px;
    }

    .tree__row--2::before,
    .tree__row--3::before {
        left: 26px;
    }

    .tree__row--3::before {
        box-shadow: 14px 0 0 rgba(231, 238, 243, 0.16);
    }

    .tree__lv {
        left: 10px;
        top: 22px;
    }

    .tree__k {
        font-size: 16px;
    }

    .step-card {
        padding: 26px 22px 22px;
    }

    .fmt {
        padding: 20px 18px;
    }

    .card--row {
        gap: 14px;
        padding: 22px;
    }
}

/* ---------- 26.9.1 对照表（功能页：三种读数方式） ---------- */
.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(198, 242, 78, 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(198, 242, 78, 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;
}

@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);
    }
}
