/* ==========================================================================
   万能遥控器 官网 · 主样式表
   设计语言：深海夜遥控（深海夜色 + 亮青信号 + 橙色告警）
             画面像一台在暗处待机的遥控终端：深海底 #080d13 上有极淡的 34px 细格，
             内容块比底色亮一档，靠 1px 冷白描边与深投影分层；
             亮青 #2fd6c0 是「信号正在发出」的颜色，只用在链接、图标、主按钮与命中态；
             橙 #ff6a3d 是「注意」的颜色，只做告警、标记与序号；
             首屏右侧是一台手机（设备选择页截图，十二类设备图标），
             下面接两张深色小卡（设备参数 .sitecard、试码三档 .queuecard）
             底色 #080d13 / 副底 #0c141c / 卡片 #101a24 / 浮层 #14202b
             主色 亮青 #2fd6c0（海夜底约 11:1，链接、小标题、图标、主按钮）
             青底上的字必须压深墨 #041c19（亮底不压白，压白会发灰）
             次色 橙 #ff6a3d（只做标记、命中态、告警，海夜底约 7:1）
             高光 深青纸片 #16232e（只做标签底、序号块）
             正文 #dce7ee / 次 #9fb2be / 三 #6d8290 / 标题 #f2f7fa
             描边 rgba(226, 240, 248, 0.10)，强档 0.18
             阴影一律纯黑低透明，暗底上不发光，只做压暗与分离
             例外：二维码容器 #ffffff 必须保留白底，反色后多数相机扫不出来
   全站响应式：1920 / 1440 / 1200 / 992 / 768 / 480 / 360
========================================================================== */
:root {
    /* 底层：深海夜。页面底是最暗的一档，卡片比它亮一档，靠细线分层 */
    --bg: #080d13;
    --bg-soft: #0c141c;
    --bg-card: #101a24;
    --bg-elev: #14202b;
    /* 面板悬浮 / 表头用的深青 tint */
    --bg-tint: rgba(47, 214, 192, 0.05);

    /* 描边：冷白低透明，像暗处屏上的一条细高光 */
    --line: rgba(226, 240, 248, 0.10);
    --line-strong: rgba(226, 240, 248, 0.18);

    /* 主色：深青。雾白底 6.4:1，链接、小标题、图标一律用它 */
    --brand: #2fd6c0;
    --brand-2: #1aa593;
    --brand-light: #14313a;
    --brand-dim: #6d8290;
    --brand-soft: rgba(47, 214, 192, 0.08);
    --brand-glow: rgba(47, 214, 192, 0.16);
    --brand-btn: #2fd6c0;
    --brand-hover: #5ce8d4;
    /* 实底色：深青。白字压它 6.4:1 */
    --brand-solid: #2fd6c0;
    /* 品牌底上的文字色：白 */
    --brand-on: #041c19;

    /* 次色：铜（标记、强调、命中态）。雾白底 5.2:1 */
    --accent: #ff6a3d;
    --accent-soft: rgba(255, 106, 61, 0.10);
    --accent-line: rgba(255, 106, 61, 0.28);
    /* 旧变量名沿用，值取铜 */
    --lime: #ff6a3d;

    /* 高光：暖铜纸片。只做标签底、序号块 */
    --hl: #16232e;
    --hl-soft: rgba(255, 106, 61, 0.07);

    /* 文本：冷墨阶梯 */
    --text: #dce7ee;
    --text-2: #9fb2be;
    --text-3: #6d8290;
    --heading: #f2f7fa;

    --warn: #ff6a3d;
    --danger: #ff7a6b;
    --success: #2fd6c0;
    --blue: #5cc8ff;
    /* 光晕点缀（变量名沿用旧称） */
    --glow-cyan: rgba(47, 214, 192, 0.035);
    --glow-green: rgba(47, 214, 192, 0.03);
    --glow-violet: rgba(255, 106, 61, 0.03);

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

    --shadow: 0 34px 78px -54px rgba(0, 0, 0, 0.60);
    --shadow-sm: 0 14px 30px -22px rgba(0, 0, 0, 0.50);
    --shadow-brand: 0 18px 44px -26px rgba(47, 214, 192, 0.22);

    --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(226, 240, 248, 0.045);
    --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, 106, 61, 0.055), transparent 62%),
        radial-gradient(900px 540px at 2% 4%, rgba(47, 214, 192, 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(47, 214, 192, 0.32);
    color: #f2f7fa;
}

/* 跳转到主内容（无障碍） */
.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, #4de6d2 0%, #2fd6c0 52%, #1aa593 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(47, 214, 192, 0.04);
    color: var(--text);
    border: 1px solid var(--line-strong);
}

.btn--ghost:hover {
    color: var(--text);
    background: rgba(47, 214, 192, 0.05);
    border-color: rgba(47, 214, 192, 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(47, 214, 192, 0.09);
    border: 1px solid rgba(47, 214, 192, 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, 13, 19, 0.82);
    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(8, 13, 19, 0.92);
    box-shadow: 0 10px 26px -18px rgba(0, 0, 0, 0.55);
}

.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;
}

/* 徽标本身带透明通道（蓝箭 + 银锁 + 绿箭），不加圆角，避免把箭尖切掉 */
.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(47, 214, 192, 0.05);
}

.nav__link.is-active {
    color: var(--brand);
    background: rgba(47, 214, 192, 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(47, 214, 192, 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(8, 13, 19, 0.96);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 22px 40px -26px rgba(0, 0, 0, 0.50);
    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, #0d151d 0%, rgba(8, 13, 19, 0) 100%);
}

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

/* 首屏铺一层更清楚的方格：把"遥控终端"这件事在第一屏就说清楚，往下滚动才退回 34px 底纹 */
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(47, 214, 192, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(47, 214, 192, 0.07) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000000 30%, transparent 78%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000000 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(226, 240, 248, 0.075);
    border: 1px solid rgba(47, 214, 192, 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(47, 214, 192, 0.10);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(47, 214, 192, 0.06);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(47, 214, 192, 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, #ff8a5c 0%, #2fd6c0 52%, #1aa593 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.50), 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(47, 214, 192, 0.35);
    box-shadow: 0 22px 44px -26px rgba(0, 0, 0, 0.50);
}

.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(47, 214, 192, 0.1);
    border: 1px solid rgba(47, 214, 192, 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(47, 214, 192, 0.08);
    border-radius: 999px;
}

/* ---------- 9. 下载区 ---------- */
.download-box {
    padding: 40px;
    background:
        radial-gradient(120% 150% at 88% -10%, rgba(47, 214, 192, 0.16), transparent 58%),
        linear-gradient(145deg, #14202b 0%, #101a24 52%, #0c141c 100%);
    border: 1px solid rgba(47, 214, 192, 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(47, 214, 192, 0.08);
    border: 1px solid rgba(47, 214, 192, 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(47, 214, 192, 0.3);
    background: var(--brand-soft);
}

.dl-item--primary {
    border-color: rgba(47, 214, 192, 0.32);
    background: rgba(47, 214, 192, 0.05);
}

.dl-item__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    /* 藏青淡底 + 藏青线稿：44px 下比纯灰底更清楚，也与主色同族 */
    background: rgba(47, 214, 192, 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(47, 214, 192, 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(47, 214, 192, 0.05);
    border: 1px solid rgba(47, 214, 192, 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(47, 214, 192, 0.07);
    border: 1px solid rgba(47, 214, 192, 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(47, 214, 192, 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(47, 214, 192, 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(47, 214, 192, 0.3);
    box-shadow: 0 26px 50px -28px rgba(0, 0, 0, 0.50);
}

.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(47, 214, 192, 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(47, 214, 192, 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(47, 214, 192, 0.45);
    background: rgba(47, 214, 192, 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(47, 214, 192, 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(47, 214, 192, 0.26);
    background: rgba(47, 214, 192, 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(47, 214, 192, 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);
}

/* ---------- 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(47, 214, 192, 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(47, 214, 192, 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(47, 214, 192, 0.1);
    border-radius: 5px;
    word-break: break-word;
}

.prose pre {
    padding: 18px 20px;
    overflow-x: auto;
    background: #0c141c;
    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(226, 240, 248, 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(47, 214, 192, 0.6), rgba(47, 214, 192, 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(47, 214, 192, 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(47, 214, 192, 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(47, 214, 192, 0.05);
    transition: all 0.22s var(--ease);
}

.list__item:hover .list__arrow {
    color: var(--brand);
    background: rgba(47, 214, 192, 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(47, 214, 192, 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(47, 214, 192, 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(47, 214, 192, 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, #2fd6c0 0%, rgba(47, 214, 192, 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: var(--heading);
    border-color: rgba(47, 214, 192, 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(47, 214, 192, 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(47, 214, 192, 0.12), transparent 62%),
        var(--bg-card);
    box-shadow: 0 44px 90px -40px rgba(0, 0, 0, 0.50);
    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, 106, 61, 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(0, 0, 0, 0.16), 0 20px 44px -24px rgba(0, 0, 0, 0.45);
}

.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: #7c8b93;
}

.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, #f2f7fa 0%, #2fd6c0 56%, #1aa593 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  首屏照片框（.stage）与两张浮层卡（.sitecard 本局状态卡 / .queuecard 三条线卡）
   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;
    /* 留出 120px 让两张卡挂在样机下沿之外：卡身高 ~150，只压住样机底部 30~50px */
    padding-bottom: 120px;
}

/* 文本列：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, #14202b 0%, #101a24 100%);
    box-shadow:
        var(--shadow),
        0 0 0 1px rgba(47, 214, 192, 0.07),
        0 0 96px -34px rgba(47, 214, 192, 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(20, 32, 43, 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(47, 214, 192, 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(47, 214, 192, 0.07) 0%, rgba(47, 214, 192, 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(47, 214, 192, 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(47, 214, 192, 0.3);
    background:
        linear-gradient(180deg, rgba(47, 214, 192, 0.06) 0%, rgba(47, 214, 192, 0) 60%),
        var(--bg-card);
}

.fmt:hover {
    transform: translateY(-2px);
    border-color: rgba(47, 214, 192, 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(47, 214, 192, 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);
    background: var(--hl-soft);
    border: 1px solid rgba(47, 214, 192, 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(47, 214, 192, 0.08);
    border-color: rgba(47, 214, 192, 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(0, 0, 0, 0.50);
}

.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(47, 214, 192, 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(47, 214, 192, 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 {
        display: flex;
        flex-direction: column;
        padding-bottom: 0;
    }

    .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 首屏：竖版截图 + 深色机身 ---------- */
.stage--desk {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    width: min(420px, 100%);
    margin: 0 auto;
    padding: 0;
}

/* 机身：一圈深墨内边距，把白色界面从雾底上"托"出来 */
.stage--desk .ph {
    grid-column: 1 / -1;
    position: relative;
    width: min(300px, 100%);
    margin: 0 auto;
    padding: 10px;
    overflow: hidden;
    border-radius: 34px;
    background: #101a24;
    border: 1px solid rgba(226, 240, 248, 0.14);
    box-shadow:
        0 40px 70px -44px rgba(0, 0, 0, 0.72),
        0 0 0 1px rgba(47, 214, 192, 0.16) inset,
        0 0 96px -30px rgba(47, 214, 192, 0.26);
}

.stage--desk .ph img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 25px;
    /* 截图本身是白底界面，不做压暗，靠机身黑边分层 */
    filter: none;
}

/* ---------- 28.2 首屏渐变字 ---------- */
.hero__title em {
    background: linear-gradient(100deg, #f2f7fa 0%, #2fd6c0 62%, #1aa593 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(0, 0, 0, 0.55);
}

/* ---------- 28.3b 扫码弹窗遮罩 ---------- */
.qr-modal__mask {
    background: rgba(21, 32, 38, 0.62);
}

/* ---------- 28.4 主按钮 ---------- */
.btn--primary {
    color: var(--brand-on);
    background: var(--brand-solid);
    box-shadow: 0 14px 30px -20px rgba(47, 214, 192, 0.48);
}

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

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

.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) {
    .stage--desk {
        width: 100%;
        max-width: 360px;
    }
}

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

    .stage--desk .ph {
        padding: 8px;
        border-radius: 28px;
    }

    .stage--desk .ph img {
        border-radius: 21px;
    }
}

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

    .header__cta {
        display: none;
    }

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