.rx-hero { display: grid; grid-template-columns: minmax(0, 1.42fr) minmax(340px, 1fr); gap: 34px; align-items: start; }
.rx-hero-media { min-width: 0; }
.rx-gallery-stage { position: relative; aspect-ratio: 16 / 9; border: 1px solid var(--rx-line); border-radius: 15px; overflow: hidden; background: var(--rx-panel-soft); }
.rx-gallery-stage > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rx-gallery-shade { position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(0, 0, 0, .68)); pointer-events: none; }
.rx-gallery-caption { position: absolute; bottom: 15px; left: 18px; display: flex; gap: 8px; align-items: center; color: #edf2f9; font-size: 11px; }
.rx-gallery-caption > span:last-child { color: #c3c9d3; margin-left: 8px; font-size: 10px; letter-spacing: 1px; }
.rx-live-dot { display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: #56cba5; box-shadow: 0 0 6px rgba(80, 205, 166, .45); flex-shrink: 0; }
.rx-gallery-expand { position: absolute; bottom: 10px; right: 14px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 6px; background: rgba(0, 0, 0, .22); color: white; padding: 5px 9px; font-size: 10px; }
.rx-gallery-expand .rx-icon { width: 12px; height: 12px; margin-left: 5px; }
.rx-gallery-arrow { position: absolute; top: calc(50% - 16px); display: grid; place-items: center; width: 32px; height: 32px; background: rgba(9, 16, 26, .42); border: 1px solid rgba(255, 255, 255, .2); color: white; border-radius: 50%; }
.rx-gallery-prev { left: 12px; }
.rx-gallery-prev .rx-icon { transform: rotate(180deg); }
.rx-gallery-next { right: 12px; }
.rx-gallery-thumbs { display: grid; grid-template-columns: repeat(auto-fit, minmax(66px, 1fr)); gap: 8px; margin-top: 10px; }
.rx-gallery-thumb { position: relative; aspect-ratio: 16 / 10; border: 2px solid transparent; border-radius: 7px; overflow: hidden; padding: 0; background: var(--rx-panel); opacity: .55; }
.rx-gallery-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.rx-gallery-thumb:hover { opacity: .9; }
.rx-gallery-thumb.is-active { opacity: 1; border-color: #458cff; box-shadow: 0 0 0 2px rgba(69, 140, 255, .1); }
/* 预告片与截图同列；只显示播放角标，不再显示「预告片」文字 */
.rx-gallery-thumb.is-video { opacity: .75; }
.rx-gallery-thumb.is-video:hover { opacity: .95; }
.rx-gallery-thumb.is-video.is-active { opacity: 1; }
.rx-thumb-play { position: absolute; inset: 0; display: grid; place-items: center; background: radial-gradient(circle at center, rgba(6, 12, 22, .3), rgba(6, 12, 22, .06)); }
.rx-thumb-play .rx-icon { width: 26px; height: 26px; padding: 6px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .45); background: rgba(8, 14, 24, .62); color: #fff; fill: #fff; }
.rx-gallery-stage > img[hidden] { display: none; }
.rx-gallery-video { position: absolute; inset: 0; width: 100%; height: 100%; background: #000; object-fit: contain; }
.rx-gallery-stage.is-video .rx-gallery-shade,
.rx-gallery-stage.is-video .rx-gallery-expand { display: none; }
.rx-gallery-stage.is-video .rx-gallery-caption { top: 14px; bottom: auto; }
/* 左上角「版本介绍」卡片，填充大图下方空白 */
.rx-version-card { margin-top: 22px; padding: 16px 18px; }
.rx-version-card header { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.rx-version-card h2 { margin: 0; font-size: 13px; font-weight: 650; }
.rx-version-card header > span { color: var(--rx-muted); font-size: 10px; white-space: nowrap; }
.rx-version-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 22px; margin: 0; }
.rx-version-grid > div { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
.rx-version-grid dt { color: var(--rx-muted); font-size: 10px; white-space: nowrap; flex-shrink: 0; }
.rx-version-grid dd { margin: 0; color: var(--rx-text); font-size: 12px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 760px) {
    .rx-version-card { padding: 14px; margin-top: 16px; }
    .rx-version-grid { grid-template-columns: minmax(0, 1fr); gap: 8px; }
}
.rx-trailer-button { display: flex; align-items: center; gap: 7px; margin: 12px 0 0; border: 0; padding: 0; background: none; color: var(--rx-text); font-size: 11px; }
.rx-trailer-button > .rx-icon:first-child { width: 23px; height: 23px; border: 1px solid var(--rx-line); border-radius: 50%; padding: 4px; color: var(--rx-blue); }
.rx-trailer-button > span { color: var(--rx-muted); margin-left: 5px; font-size: 10px; }
.rx-trailer-button > .rx-icon:last-child { width: 13px; height: 13px; color: var(--rx-muted); }
.rx-steps { margin-top: 22px; padding: 17px 19px; }
.rx-steps header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; gap: 14px; }
.rx-steps h2 { font-size: 13px; font-weight: 650; margin: 0; }
.rx-steps header > a { color: var(--rx-blue); font-size: 10px; white-space: nowrap; }
.rx-steps header .rx-icon { width: 12px; height: 12px; margin-left: 4px; }
.rx-steps ol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); list-style: none; padding: 0; margin: 0; gap: 13px; }
.rx-steps li { display: flex; align-items: center; gap: 9px; }
.rx-step-number { display: grid; place-items: center; width: 25px; height: 25px; border: 1px solid #30486b; background: var(--rx-soft-blue); border-radius: 8px; color: #7cafff; font-size: 11px; font-weight: 650; flex-shrink: 0; }
.rx-steps strong { display: block; font-size: 11px; font-weight: 600; }
.rx-steps small { display: block; font-size: 9px; color: var(--rx-muted); line-height: 1.5; margin-top: 3px; }
.rx-summary { min-width: 0; }
.rx-eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 12px; font-size: 10px; }
/* 业务机 title-badges 还没有 Xbox 变体，这里补一套绿色（品牌绿 107C10） */
body.rx-detail-page .rx-eyebrow .gr-title-badge.is-xbox-port { --badge-ink: #0d6b0d; --badge-rgb: 16, 124, 16; }
html[data-theme="dark"] body.rx-detail-page .rx-eyebrow .gr-title-badge.is-xbox-port { color: #9ef09e; }
/* 资源组标记（voices38）用中性石板色，和平台/状态徽标区分开 */
body.rx-detail-page .rx-eyebrow .gr-title-badge.is-voices38 { --badge-ink: #475569; --badge-rgb: 100, 116, 139; }
html[data-theme="dark"] body.rx-detail-page .rx-eyebrow .gr-title-badge.is-voices38 { color: #cbd5e1; }
/* 联机能力（支持网络联机）用青色 */
body.rx-detail-page .rx-eyebrow .gr-title-badge.is-online { --badge-ink: #0e7490; --badge-rgb: 14, 116, 144; }
html[data-theme="dark"] body.rx-detail-page .rx-eyebrow .gr-title-badge.is-online { color: #7dd3fc; }
/* VR 支持用紫色 */
body.rx-detail-page .rx-eyebrow .gr-title-badge.is-vr { --badge-ink: #6d28d9; --badge-rgb: 124, 58, 237; }
html[data-theme="dark"] body.rx-detail-page .rx-eyebrow .gr-title-badge.is-vr { color: #c4b5fd; }
.rx-category { padding: 3px 8px; background: var(--rx-soft-blue); color: #80afff; border-radius: 5px; font-weight: 600; }
html:not([data-theme="dark"]) .rx-category { color: var(--rx-blue); }
.rx-genre { color: var(--rx-muted); padding: 2px 7px; border: 1px solid var(--rx-line); border-radius: 5px; }
.rx-badge { font-size: 10px; padding: 2px 7px; border-radius: 5px; border: 1px solid var(--rx-line); color: #99baec; }
.rx-badge-switch { color: #e89ca8; border-color: #68434a; }
.rx-badge-sony { color: #aab7ed; border-color: #3d4b79; }
.rx-badge-new_release { color: #edc984; border-color: #655231; }
.rx-summary h1 { font-size: clamp(25px, 2.35vw, 35px); line-height: 1.25; margin: 0; letter-spacing: -.7px; font-weight: 750; }
.rx-game-subtitle { color: var(--rx-muted); font-size: 15px; font-weight: 550; margin: 7px 0 0; letter-spacing: .1px; }
/* 收藏按钮 + 累计下载量 */
.rx-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 14px; }
.rx-fav { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border: 1px solid var(--rx-line); border-radius: 9px; background: var(--rx-panel); color: var(--rx-text); font-size: 12px; font-weight: 600; }
.rx-fav .rx-icon { width: 15px; height: 15px; }
.rx-fav:hover { border-color: var(--rx-blue); color: var(--rx-blue); }
.rx-fav.is-active { color: #e2445c; border-color: rgba(226, 68, 92, .42); background: rgba(226, 68, 92, .08); }
.rx-fav.is-active .rx-icon { fill: currentColor; }
.rx-fav.is-busy { opacity: .55; pointer-events: none; }
.rx-download-stat { display: inline-flex; align-items: center; gap: 6px; color: var(--rx-muted); font-size: 11px; }
.rx-download-stat .rx-icon { width: 14px; height: 14px; }
.rx-download-stat b { color: var(--rx-text); font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; }
.rx-game-facts { padding: 17px 0; margin: 18px 0 16px; border-top: 1px solid var(--rx-line); border-bottom: 1px solid var(--rx-line); display: grid; gap: 9px; }
.rx-game-facts > div { display: grid; grid-template-columns: 68px minmax(0, 1fr); gap: 10px; }
.rx-game-facts dt { color: var(--rx-muted); font-size: 11px; }
.rx-game-facts dd { margin: 0; color: var(--rx-text); font-size: 11px; font-weight: 500; overflow-wrap: anywhere; }
/* 好评率：Steam 评测结论 + 百分比 + 简中篇数 */
.rx-review-value { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.rx-review-badge { display: inline-flex; align-items: center; padding: 1px 6px; border-radius: 5px; color: #8ee4c6; background: rgba(16, 146, 113, .16); font-size: 10px; font-weight: 650; line-height: 1.6; }
.rx-review-meta { color: var(--rx-muted); font-size: 10.5px; font-weight: 500; }
html:not([data-theme="dark"]) .rx-review-badge { color: #0d7a5f; background: rgba(16, 146, 113, .12); }
.rx-config-link { display: flex; align-items: center; gap: 11px; border: 1px solid #2b3f5e; border-radius: 12px; padding: 12px 14px; background: linear-gradient(110deg, rgba(59, 99, 158, .18), rgba(59, 99, 158, .04)); margin-bottom: 16px; }
.rx-config-icon { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid #36537c; border-radius: 10px; background: rgba(73, 116, 176, .16); color: #83b2f6; }
.rx-config-link > span:nth-child(2) { flex: 1; }
.rx-config-link strong { display: block; font-size: 12px; font-weight: 600; }
.rx-config-link small { display: block; color: var(--rx-blue); font-size: 10px; margin-top: 1px; }
.rx-config-link > .rx-icon { width: 14px; color: var(--rx-muted); }
/* ==========================================================================
   Apple WWDC25 Liquid Glass — 获取游戏资源卡片与光学玻璃控件组
   （曲面超薄光学玻璃体 / 柔和背景折射 / 轻微透镜色散 / 无高斯模糊 / 无流动高光）
   ========================================================================== */
.rx-resource-panel {
    --lg-font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "PingFang SC", "Hiragino Sans GB", "Helvetica Neue", Arial, sans-serif;
    --lg-surface: linear-gradient(160deg, rgba(255, 255, 255, .36) 0%, rgba(242, 245, 250, .18) 54%, rgba(250, 252, 255, .28) 100%);
    --lg-refract: radial-gradient(120% 90% at 14% -8%, rgba(255, 255, 255, .64) 0%, rgba(255, 255, 255, .10) 44%, transparent 72%),
                  radial-gradient(92% 72% at 88% 110%, rgba(212, 224, 244, .24) 0%, transparent 62%);
    --lg-border-color: rgba(255, 255, 255, .72);
    --lg-shadow:
        inset 0 1.5px 0 0 rgba(255, 255, 255, .92),
        inset 1px 0 0 0 rgba(255, 255, 255, .52),
        inset 1.5px 1.5px 0 -0.4px rgba(130, 210, 255, .22),
        inset -1px -1px 0 0 rgba(255, 255, 255, .50),
        inset -1.5px -1.5px 0 -0.4px rgba(255, 178, 214, .16),
        inset 0 18px 30px -22px rgba(255, 255, 255, .78),
        inset 0 -14px 26px -22px rgba(148, 163, 184, .20),
        -0.5px -0.5px 0 rgba(125, 205, 255, .14),
        0.5px 0.5px 0 rgba(255, 172, 210, .11),
        0 0 0 0.5px rgba(15, 23, 42, .055),
        0 22px 48px -20px rgba(15, 23, 42, .08),
        0 4px 14px -4px rgba(15, 23, 42, .04);
    --lg-ink: rgba(15, 23, 42, .92);
    --lg-subink: rgba(51, 65, 85, .70);
    --lg-pill-bg: rgba(255, 255, 255, .30);
    --lg-pill-line: rgba(255, 255, 255, .64);
    --lg-btn-bg: rgba(255, 255, 255, .24);
    --lg-btn-line: rgba(255, 255, 255, .68);
    --lg-btn-icon-bg: rgba(255, 255, 255, .68);
    --lg-accent: rgba(45, 108, 223, .90);
    position: relative;
    overflow: hidden;
    padding: 20px 22px 21px;
    border: 1px solid var(--lg-border-color);
    border-radius: 22px;
    background-color: transparent;
    background-image: var(--lg-refract), var(--lg-surface);
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    box-shadow: var(--lg-shadow);
    font-family: var(--lg-font);
    color: var(--lg-ink);
    isolation: isolate;
}

@supports (color: color(display-p3 1 1 1)) {
    .rx-resource-panel {
        --lg-surface: linear-gradient(160deg, color(display-p3 1 1 1 / 0.34) 0%, color(display-p3 0.94 0.96 0.985 / 0.17) 54%, color(display-p3 0.975 0.985 1 / 0.27) 100%);
        --lg-border-color: color(display-p3 1 1 1 / 0.72);
        --lg-shadow:
            inset 0 1.5px 0 0 color(display-p3 1 1 1 / 0.92),
            inset 1px 0 0 0 color(display-p3 1 1 1 / 0.52),
            inset 1.5px 1.5px 0 -0.4px color(display-p3 0.42 0.82 1 / 0.24),
            inset -1px -1px 0 0 color(display-p3 1 1 1 / 0.50),
            inset -1.5px -1.5px 0 -0.4px color(display-p3 1 0.62 0.82 / 0.18),
            inset 0 18px 30px -22px color(display-p3 1 1 1 / 0.78),
            inset 0 -14px 26px -22px color(display-p3 0.55 0.62 0.72 / 0.18),
            -0.5px -0.5px 0 color(display-p3 0.44 0.82 1 / 0.15),
            0.5px 0.5px 0 color(display-p3 1 0.62 0.80 / 0.12),
            0 0 0 0.5px color(display-p3 0.06 0.09 0.16 / 0.055),
            0 22px 48px -20px color(display-p3 0.06 0.09 0.16 / 0.08),
            0 4px 14px -4px color(display-p3 0.06 0.09 0.16 / 0.04);
    }
}

[data-theme="dark"] .rx-resource-panel {
    --lg-surface: linear-gradient(160deg, rgba(28, 36, 52, .38) 0%, rgba(15, 20, 30, .24) 55%, rgba(24, 31, 46, .32) 100%);
    --lg-refract: radial-gradient(120% 90% at 14% -8%, rgba(255, 255, 255, .14) 0%, rgba(255, 255, 255, .03) 42%, transparent 72%),
                  radial-gradient(92% 72% at 88% 110%, rgba(130, 175, 255, .08) 0%, transparent 62%);
    --lg-border-color: rgba(226, 236, 255, .18);
    --lg-shadow:
        inset 0 1.2px 0 0 rgba(255, 255, 255, .26),
        inset 1px 0 0 0 rgba(255, 255, 255, .10),
        inset 1.5px 1.5px 0 -0.4px rgba(125, 205, 255, .18),
        inset -1px -1px 0 0 rgba(255, 255, 255, .08),
        inset -1.5px -1.5px 0 -0.4px rgba(255, 162, 205, .13),
        inset 0 18px 28px -22px rgba(255, 255, 255, .16),
        inset 0 -14px 24px -20px rgba(0, 0, 0, .28),
        -0.5px -0.5px 0 rgba(125, 205, 255, .11),
        0.5px 0.5px 0 rgba(255, 162, 205, .09),
        0 24px 52px -18px rgba(0, 0, 0, .34);
    --lg-ink: rgba(244, 247, 252, .94);
    --lg-subink: rgba(188, 200, 220, .74);
    --lg-pill-bg: rgba(255, 255, 255, .06);
    --lg-pill-line: rgba(255, 255, 255, .14);
    --lg-btn-bg: rgba(255, 255, 255, .065);
    --lg-btn-line: rgba(255, 255, 255, .15);
    --lg-btn-icon-bg: rgba(255, 255, 255, .90);
    --lg-accent: rgba(110, 168, 255, .95);
}

.rx-resource-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    padding: 1px;
    border-radius: inherit;
    background: linear-gradient(132deg,
        rgba(255, 255, 255, .85) 0%,
        rgba(170, 225, 255, .36) 22%,
        rgba(255, 255, 255, .06) 52%,
        rgba(255, 205, 230, .24) 82%,
        rgba(255, 255, 255, .64) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
    z-index: 2;
}
[data-theme="dark"] .rx-resource-panel::before {
    background: linear-gradient(132deg,
        rgba(255, 255, 255, .34) 0%,
        rgba(130, 205, 255, .20) 24%,
        rgba(255, 255, 255, .03) 52%,
        rgba(255, 175, 215, .16) 84%,
        rgba(255, 255, 255, .24) 100%);
}

.rx-resource-panel > * {
    position: relative;
    z-index: 1;
}

.rx-resource-panel > header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.rx-resource-panel h2 {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.015em;
    color: var(--lg-ink);
}

.rx-resource-panel header > span {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--lg-pill-bg);
    border: 1px solid var(--lg-pill-line);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .72);
    color: var(--lg-subink);
    font-size: 10.5px;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}
[data-theme="dark"] .rx-resource-panel header > span {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14);
}

.rx-resource-note {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 12px 0 15px;
    padding: 7px 12px;
    border-radius: 999px;
    background: var(--lg-pill-bg);
    border: 1px solid var(--lg-pill-line);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .78), 0 2px 8px -4px rgba(15, 23, 42, .05);
    font-size: 11px;
    font-weight: 500;
    color: var(--lg-ink);
}
[data-theme="dark"] .rx-resource-note {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 4px 12px -6px rgba(0, 0, 0, .32);
}
.rx-resource-note .rx-live-dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: #34c785;
    box-shadow: 0 0 0 2.5px rgba(52, 199, 133, .16);
    flex: 0 0 auto;
}
.rx-resource-device-hint {
    margin-left: auto;
    color: var(--lg-subink);
    font-size: 10.5px;
    font-weight: 450;
}

.rx-download-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.rx-download {
    --lg-btn-tint: rgba(255, 255, 255, .04);
    --lg-btn-rim-cool: rgba(130, 205, 255, .20);
    --lg-btn-rim-warm: rgba(255, 178, 214, .14);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 13px;
    min-height: 62px;
    border: 1px solid var(--lg-btn-line);
    border-radius: 15px;
    background-color: transparent;
    background-image:
        radial-gradient(110% 95% at 15% 0%, rgba(255, 255, 255, .64) 0%, rgba(255, 255, 255, .12) 45%, transparent 74%),
        linear-gradient(155deg, var(--lg-btn-tint), rgba(255, 255, 255, .08) 55%, var(--lg-btn-bg));
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    color: var(--lg-ink);
    text-decoration: none;
    box-shadow:
        inset 0 1.2px 0 0 rgba(255, 255, 255, .88),
        inset 1px 1px 0 -0.4px var(--lg-btn-rim-cool),
        inset -1px -1px 0 -0.4px var(--lg-btn-rim-warm),
        inset 0 -8px 16px -14px rgba(15, 23, 42, .08),
        0 0 0 0.5px rgba(15, 23, 42, .055),
        0 6px 16px -8px rgba(15, 23, 42, .10),
        0 2px 5px -2px rgba(15, 23, 42, .05);
    transition: transform .22s cubic-bezier(.22, 1, .36, 1), box-shadow .22s ease, border-color .22s ease;
}
[data-theme="dark"] .rx-download {
    background-image:
        radial-gradient(110% 95% at 15% 0%, rgba(255, 255, 255, .14) 0%, rgba(255, 255, 255, .03) 45%, transparent 74%),
        linear-gradient(155deg, var(--lg-btn-tint), rgba(255, 255, 255, .02) 55%, var(--lg-btn-bg));
    box-shadow:
        inset 0 1px 0 0 rgba(255, 255, 255, .22),
        inset 1px 1px 0 -0.4px var(--lg-btn-rim-cool),
        inset -1px -1px 0 -0.4px var(--lg-btn-rim-warm),
        0 8px 20px -10px rgba(0, 0, 0, .42);
}

.rx-download-baidu { --lg-btn-tint: rgba(56, 118, 226, .08); }
.rx-download-quark { --lg-btn-tint: rgba(114, 92, 224, .08); }
.rx-download-xunlei { --lg-btn-tint: rgba(28, 152, 218, .08); }
@supports (color: color(display-p3 1 1 1)) {
    .rx-download-baidu { --lg-btn-tint: color(display-p3 0.24 0.50 0.94 / 0.085); }
    .rx-download-quark { --lg-btn-tint: color(display-p3 0.46 0.39 0.90 / 0.085); }
    .rx-download-xunlei { --lg-btn-tint: color(display-p3 0.16 0.60 0.88 / 0.085); }
}

.rx-download:hover {
    transform: translateY(-1.5px);
    border-color: rgba(255, 255, 255, .92);
    box-shadow:
        inset 0 1.5px 0 0 rgba(255, 255, 255, .98),
        inset 1.5px 1.5px 0 -0.3px rgba(125, 210, 255, .30),
        inset -1.5px -1.5px 0 -0.3px rgba(255, 175, 215, .22),
        0 12px 24px -12px rgba(15, 23, 42, .14),
        0 3px 8px -3px rgba(15, 23, 42, .06);
}
[data-theme="dark"] .rx-download:hover {
    border-color: rgba(255, 255, 255, .30);
    box-shadow:
        inset 0 1.2px 0 0 rgba(255, 255, 255, .34),
        inset 1.5px 1.5px 0 -0.3px rgba(130, 210, 255, .28),
        inset -1.5px -1.5px 0 -0.3px rgba(255, 175, 215, .20),
        0 14px 26px -10px rgba(0, 0, 0, .54);
}
.rx-download:active {
    transform: scale(0.986);
}
.rx-download:focus-visible {
    outline: 2px solid var(--lg-accent);
    outline-offset: 2px;
}

.rx-download > img {
    width: 34px;
    height: 34px;
    object-fit: contain;
    border-radius: 10px;
    padding: 4px;
    background: var(--lg-btn-icon-bg);
    border: 1px solid rgba(255, 255, 255, .88);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .95), 0 2px 6px rgba(15, 23, 42, .06);
    flex: 0 0 auto;
}
.rx-download > span {
    flex: 1;
    min-width: 0;
}
.rx-download strong {
    display: block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--lg-ink);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.rx-download small {
    display: block;
    margin-top: 1px;
    font-size: 10px;
    font-weight: 450;
    color: var(--lg-subink);
    font-variant-numeric: tabular-nums;
    line-height: 1.45;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.rx-download > .rx-icon {
    width: 13px;
    height: 13px;
    color: var(--lg-subink);
    opacity: .72;
    transition: transform .2s ease, opacity .2s ease;
    flex: 0 0 auto;
}
.rx-download:hover > .rx-icon {
    opacity: 1;
    transform: translateY(1px);
}

.rx-empty-download {
    grid-column: 1 / -1;
    margin: 4px 0 0;
    font-size: 12px;
    color: var(--lg-subink);
}

@media (prefers-reduced-motion: reduce) {
    .rx-download, .rx-download > .rx-icon { transition: none; }
}

.rx-help-card { display: flex; align-items: center; gap: 10px; padding: 13px 15px; margin-top: 12px; border: 1px solid var(--rx-line); border-radius: 11px; background-color: var(--rx-panel); background-image: var(--rx-sheen); -webkit-backdrop-filter: blur(var(--rx-blur, 12px)) saturate(var(--glass-saturate, 185%)); backdrop-filter: blur(var(--rx-blur, 12px)) saturate(var(--glass-saturate, 185%)); box-shadow: inset 0 1px 0 var(--glass-highlight, rgba(255, 255, 255, .06)), 0 8px 22px rgba(15, 23, 42, .05); }
.rx-help-card > .rx-icon:first-child { color: #738fb6; width: 20px; height: 20px; }
.rx-help-card > span { flex: 1; }
.rx-help-card strong { display: block; font-weight: 550; font-size: 11px; }
.rx-help-card small { color: var(--rx-muted); font-size: 10px; }
.rx-help-card > .rx-icon:last-child { width: 15px; color: var(--rx-muted); }
@media (max-width: 1000px) {
    .rx-hero { grid-template-columns: minmax(0, 1.2fr) minmax(310px, 1fr); gap: 25px; }
    .rx-steps { padding: 15px; }
    .rx-steps ol { gap: 7px; }
    .rx-steps li { gap: 6px; }
    .rx-steps small { font-size: 8px; }
    .rx-download { padding: 11px 10px; }
    .rx-download > .rx-icon { display: none; }
}
@media (max-width: 760px) {
    .rx-hero { display: flex; flex-direction: column; align-items: stretch; gap: 20px; }
    .rx-hero-media { display: contents; }
    .rx-gallery { order: 1; width: 100%; }
    .rx-summary { order: 2; width: 100%; }
    .rx-version-card { order: 3; width: 100%; margin-top: 0; }
    .rx-steps { order: 4; width: 100%; }
    .rx-gallery-stage { border-radius: 12px; }
    .rx-gallery-thumbs { grid-template-columns: repeat(auto-fit, minmax(78px, 1fr)); gap: 6px; margin-top: 8px; }
    .rx-gallery-thumb { border-radius: 5px; }
    .rx-gallery-caption { bottom: 12px; left: 12px; font-size: 10px; }
    .rx-gallery-caption > span:last-child { font-size: 9px; }
    .rx-gallery-expand { font-size: 9px; right: 9px; bottom: 8px; }
    .rx-steps { padding: 14px; margin-top: 0; }
    .rx-steps h2 { font-size: 12px; }
    .rx-steps small { font-size: 8px; }
    .rx-step-number { width: 22px; height: 22px; border-radius: 6px; font-size: 10px; }
    .rx-steps strong { font-size: 10px; }
    .rx-steps ol { gap: 9px; }
    .rx-steps li { align-items: flex-start; gap: 5px; }
    .rx-summary h1 { font-size: 29px; }
    .rx-game-subtitle { font-size: 14px; }
    .rx-game-facts { margin-top: 16px; padding: 14px 0; }
    .rx-resource-panel { padding: 18px; border-radius: 20px; }
    .rx-download { min-height: 62px; padding: 11px 12px; }
    .rx-download strong { font-size: 12px; }
    .rx-download small { font-size: 10px; }
    .rx-resource-device-hint { font-size: 9px; }
}
/* 手机竖屏（≤480）：下载按钮改单列，避免图标+文字挤在一起 */
@media (max-width: 480px) {
    .rx-download-grid { grid-template-columns: minmax(0, 1fr); gap: 8px; }
    .rx-download { min-height: 58px; padding: 11px 13px; }
    .rx-download strong { font-size: 13px; }
    .rx-download small { font-size: 11px; }
    .rx-download > img { width: 28px; height: 28px; }
    .rx-hero-actions { gap: 8px; }
    .rx-fav { height: 32px; padding: 0 12px; }
    .rx-version-grid dd { font-size: 12.5px; }
    .rx-section-nav { gap: 18px; }
    .rx-section-nav > a { font-size: 12px; white-space: nowrap; }
    .rx-game-facts > div { grid-template-columns: 64px minmax(0, 1fr); gap: 8px; }
}
