@charset "UTF-8";
/* ==========================================================================
   游戏资源下载详情页 · 第二版顶部（Steam 商店页头 1:1 风格）
   仅作用于 .pcgh-steam，不影响第一版及其它页面
   ========================================================================== */

/* 全幅出血需要：游戏下载页禁止横向滚动（clip 不产生滚动容器，不影响 fixed/sticky） */
html, body {
    overflow-x: clip;
}

.pcgh-steam,
.pcgh-steam *,
.pcgh-steam *::before,
.pcgh-steam *::after {
    box-sizing: border-box;
}

.pcgh-steam {
    position: relative;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    /* 吃掉 .pcgh-container 的 16px 上内边距，让页头紧贴顶部导航 */
    margin-top: -16px;
    background: transparent;
    color: var(--pcgh-text, #e6e8eb);
    font-size: 14px;
    line-height: 1.5;
    overflow: hidden;
    -webkit-font-smoothing: antialiased;
    /* 全页头彩色元素统一跟随主题主色（--pcgh-primary） */
    --steam-a: var(--pcgh-primary, #66c0f4);
    --steam-a-rgb: var(--pcgh-primary-rgb, 59, 130, 246);
    --steam-a2: var(--pcgh-primary-2, #417a9b);
}

/* ---------- 页头背景（1:1 复刻 Steam page_bg：藏青底 + 模糊彩色层 + 去饱和纹理层，背景图只保留暗色氛围） ---------- */
.pcgh-steam.has-bg {
    background-color: #1b2838;
}

.pcgh-steam__bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.pcgh-steam__bg img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    /* 背景图延迟加载：未取到 src 前保持透明，加载完淡入 */
    opacity: 0;
    transition: opacity .55s ease;
}

.pcgh-steam__bg img.is-loaded {
    opacity: 1;
}

/* 模糊彩色氛围层（对应 Steam img.gameColor：blur(60px) + opacity .5） */
.pcgh-steam__bg img.pcgh-steam__bg-color.is-loaded {
    opacity: .5;
    filter: blur(60px);
    transform: scale(1.12);
}

/* 去饱和纹理层（对应 Steam img.gameTexture；提高可见度，为毛玻璃面板提供可透出的画面色彩） */
.pcgh-steam__bg-texture {
    filter: saturate(.25) opacity(.32);
}

.pcgh-steam__veil {
    position: absolute;
    inset: 0;
    pointer-events: none;
    /* 顶部微光 + 蓝色径向光保留；中部大幅减暗让背景色能到达毛玻璃面板，仅底部收进主题底色与正文衔接 */
    background:
        radial-gradient(1000px 153px at 50% top, rgb(40, 60, 83), rgba(0, 0, 0, 0)),
        radial-gradient(1000px 500px at 23% top, rgb(37, 75, 121), rgba(0, 0, 0, 0)),
        radial-gradient(800px 120px at 50% bottom, rgba(0, 0, 0, .35), rgba(0, 0, 0, 0)),
        linear-gradient(180deg,
            rgba(27, 40, 56, .42) 0%,
            rgba(27, 40, 56, 0) 24%,
            rgba(27, 40, 56, .1) 60%,
            rgba(27, 40, 56, .5) 88%,
            var(--pcgh-bg, #1b2838) 100%);
}

/* ---------- 浅色主题：页头跟随浅色，背景图强模糊后只透柔和色块，底部收进浅色主题底色 ---------- */
html[data-pcgh-theme-resolved="light"] .pcgh-steam.has-bg {
    background-color: var(--pcgh-bg, #f5f7fb);
}

html[data-pcgh-theme-resolved="light"] .pcgh-steam__bg img.pcgh-steam__bg-color.is-loaded {
    opacity: .3;
}

html[data-pcgh-theme-resolved="light"] .pcgh-steam__bg-texture {
    filter: saturate(.35) opacity(.12);
}

html[data-pcgh-theme-resolved="light"] .pcgh-steam__veil {
    background:
        radial-gradient(1000px 153px at 50% top, rgba(255, 255, 255, .5), rgba(255, 255, 255, 0)),
        linear-gradient(180deg,
            rgba(245, 247, 251, .6) 0%,
            rgba(245, 247, 251, 0) 24%,
            rgba(245, 247, 251, .2) 60%,
            rgba(245, 247, 251, .62) 88%,
            var(--pcgh-bg, #f5f7fb) 100%);
}

/* ---------- 浅色主题：购买框 / 安全标签等深底元素反色为浅色玻璃（其余文字跟随根变量自动变深） ---------- */
html[data-pcgh-theme-resolved="light"] .pcgh-steam__buybox {
    background: linear-gradient(180deg, rgba(255, 255, 255, .48) 0%, rgba(255, 255, 255, .62) 100%);
    -webkit-backdrop-filter: blur(22px) saturate(1.6);
    backdrop-filter: blur(22px) saturate(1.6);
    border-color: rgba(15, 23, 42, .1);
    box-shadow: 0 12px 34px rgba(15, 23, 42, .1);
}

html[data-pcgh-theme-resolved="light"] .pcgh-steam__safetytags em {
    color: #475569;
    background: rgba(15, 23, 42, .05);
    border-color: rgba(15, 23, 42, .1);
}

html[data-pcgh-theme-resolved="light"] .pcgh-steam__safetymd5 code {
    color: #1e293b;
    background: rgba(15, 23, 42, .06);
}

.pcgh-steam__inner {
    position: relative;
    width: 100%;
    max-width: var(--pcgh-container-w, 1200px);
    margin: 0 auto;
    padding: 14px 0 22px;
}

/* ---------- 顶部：面包屑 / 标题 / 社区中心 ---------- */
.pcgh-steam__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 12px;
}

.pcgh-steam__crumbs {
    font-size: 12px;
    color: var(--pcgh-text-3, #6b7785);
    margin: 0 0 2px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.pcgh-steam__crumbs a {
    color: var(--pcgh-text-3, #6b7785);
    text-decoration: none;
}

.pcgh-steam__crumbs a:hover {
    color: var(--pcgh-text, #e6e8eb);
}

.pcgh-steam__crumbs span[aria-hidden] {
    color: var(--pcgh-text-3, #6b7785);
    opacity: 0.7;
}

.pcgh-steam__appname {
    margin: 0;
    color: var(--pcgh-text, #e6e8eb);
    font-size: 22px;
    font-weight: 400;
    line-height: 1.3;
    letter-spacing: 0.2px;
}

/* ---------- 标题行右侧按钮组（购买正版 + 游戏盲盒） ---------- */
.pcgh-steam__headbtns {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pcgh-steam__headbtns .pcgh-steam__btn--buy {
    min-height: 33px;
    padding: 0 18px;
    font-size: 13px;
    font-weight: 400;
    white-space: nowrap;
}

.pcgh-steam__hub {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 18px;
    font-size: 13px;
    line-height: 1.4;
    color: var(--steam-a);
    text-decoration: none;
    border-radius: 3px;
    background: rgba(var(--steam-a-rgb), 0.12);
    border: 1px solid rgba(var(--steam-a-rgb), 0.45);
    transition: background 0.15s ease, color 0.15s ease;
    white-space: nowrap;
}

.pcgh-steam__hub svg {
    width: 15px;
    height: 15px;
}

.pcgh-steam__hub:hover {
    color: #ffffff;
    background: linear-gradient(135deg, rgba(var(--steam-a-rgb), 0.38), rgba(var(--steam-a-rgb), 0.08));
}

/* 标题行收藏按钮：与游戏盲盒同款描边胶囊。
   需 (0,4,1) 高优先级压过 single-hero-cover-fit/single-hero-light/single-light 里
   .pcgh-single .pcgh-ghero__dl-fav 的大按钮规则（min-width:146px、height:44px、padding:0 22px） */
html[data-pcgh-theme-resolved] .pcgh-steam .pcgh-steam__btn--fav.pcgh-ghero__dl-fav {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: auto;
    min-width: 0;
    height: auto;
    padding: 7px 18px;
    margin: 0;
    font-family: inherit;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.4;
    color: var(--steam-a);
    border-radius: 3px;
    background: rgba(var(--steam-a-rgb), 0.12);
    border: 1px solid rgba(var(--steam-a-rgb), 0.45);
    box-shadow: none;
    transition: background 0.15s ease, color 0.15s ease;
    white-space: nowrap;
    cursor: pointer;
}

html[data-pcgh-theme-resolved] .pcgh-steam .pcgh-steam__btn--fav.pcgh-ghero__dl-fav svg,
html[data-pcgh-theme-resolved] .pcgh-steam .pcgh-steam__btn--fav.pcgh-ghero__dl-fav i[data-lucide] {
    width: 15px;
    height: 15px;
}

html[data-pcgh-theme-resolved] .pcgh-steam .pcgh-steam__btn--fav.pcgh-ghero__dl-fav:hover {
    color: #ffffff;
    background: linear-gradient(135deg, rgba(var(--steam-a-rgb), 0.38), rgba(var(--steam-a-rgb), 0.08));
    border-color: rgba(var(--steam-a-rgb), 0.45);
}

html[data-pcgh-theme-resolved] .pcgh-steam .pcgh-steam__btn--fav.pcgh-ghero__dl-fav.is-fav {
    color: #ffffff;
    background: var(--steam-a);
    border-color: var(--steam-a);
}

html[data-pcgh-theme-resolved] .pcgh-steam .pcgh-steam__btn--fav.pcgh-ghero__dl-fav.is-fav svg,
html[data-pcgh-theme-resolved] .pcgh-steam .pcgh-steam__btn--fav.pcgh-ghero__dl-fav.is-fav i[data-lucide] {
    fill: currentColor;
}

/* 右栏购买正版：全宽居中 */
.pcgh-steam__sidebtns .pcgh-steam__btn--buy {
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
    text-decoration: none;
}

/* ---------- 两栏：左媒体 646 / 右信息 292（Steam 原比例） ---------- */
.pcgh-steam__cols {
    position: relative;
    display: grid;
    grid-template-columns: 646fr 292fr;
    gap: 16px;
    align-items: stretch;
    /* Steam 式齐边：无外圈 padding/边框，视频左上顶格、胶囊图右上顶格、缩略条左下贴边，
       右栏文字只在列内留呼吸距离；面板边缘与媒体边缘对齐，不做相框感 */
    padding: 0;
    border-radius: 6px;
    border: 0;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(24, 36, 52, .36) 0%, rgba(16, 25, 37, .5) 100%);
    -webkit-backdrop-filter: blur(26px) saturate(1.5);
    backdrop-filter: blur(26px) saturate(1.5);
    box-shadow: 0 12px 34px rgba(0, 0, 0, .3);
}

html[data-pcgh-theme-resolved="light"] .pcgh-steam__cols {
    background: linear-gradient(180deg, rgba(255, 255, 255, .48) 0%, rgba(255, 255, 255, .62) 100%);
    -webkit-backdrop-filter: blur(26px) saturate(1.6);
    backdrop-filter: blur(26px) saturate(1.6);
    box-shadow: 0 12px 34px rgba(15, 23, 42, .1);
}

.pcgh-steam__leftcol {
    min-width: 0;
}

/* 大舞台与面板齐边（方角，由面板 overflow:hidden + 圆角统一裁切） */
.pcgh-steam__stage {
    border-radius: 0;
}

/* 面板更透后，深色主题下给文字一层很轻的暗影，保证在明亮背景色块上仍清晰 */
html[data-pcgh-theme-resolved="dark"] .pcgh-steam__desc,
html[data-pcgh-theme-resolved="dark"] .pcgh-steam__metak,
html[data-pcgh-theme-resolved="dark"] .pcgh-steam__metav,
html[data-pcgh-theme-resolved="dark"] .pcgh-steam__safety strong,
html[data-pcgh-theme-resolved="dark"] .pcgh-steam__safetytext,
html[data-pcgh-theme-resolved="dark"] .pcgh-steam__safetytags em,
html[data-pcgh-theme-resolved="dark"] .pcgh-steam__safetymd5,
html[data-pcgh-theme-resolved="dark"] .pcgh-steam__safetynote {
    text-shadow: 0 1px 3px rgba(0, 0, 0, .45);
}

/* 浅色主题：深色文字配淡白晕，压在亮色背景块上不发虚 */
html[data-pcgh-theme-resolved="light"] .pcgh-steam__desc,
html[data-pcgh-theme-resolved="light"] .pcgh-steam__metak,
html[data-pcgh-theme-resolved="light"] .pcgh-steam__metav {
    text-shadow: 0 1px 2px rgba(255, 255, 255, .55);
}

/* 右栏弹性列：拉伸到与左栏同高，sidefoot（安全区+按钮）margin-top:auto 沉底，
   说明短时不留底部空洞，说明长时（简介已限 5 行）自然撑高 */
.pcgh-steam__rightcol {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.pcgh-steam__sidefoot .pcgh-steam__safety {
    margin-top: 0;
}

/* 右栏文字区（简介/元信息/标签）：面板齐边后在列内右侧留呼吸距离，胶囊图保持顶格 */
.pcgh-steam__rightcol .pcgh-steam__desc,
.pcgh-steam__rightcol .pcgh-steam__meta,
.pcgh-steam__rightcol .pcgh-steam__tags {
    margin-right: 14px;
}

/* 安全区/购买按钮：底部与右侧留呼吸距离（左侧贴两栏 gap 中线） */
.pcgh-steam__sidefoot {
    margin-top: auto;
    padding: 12px 14px 14px 0;
}

/* ---------- 大舞台 ---------- */
.pcgh-steam__stage {
    position: relative;
    aspect-ratio: 646 / 363;
    background: #000000;
    overflow: hidden;
}

.pcgh-steam__shots,
.pcgh-steam__shot {
    position: absolute;
    inset: 0;
}

.pcgh-steam__shot {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.45s ease;
    pointer-events: none;
    cursor: zoom-in;
}

.pcgh-steam__shot.is-active {
    opacity: 1;
    pointer-events: auto;
}

.pcgh-steam__movie {
    position: absolute;
    inset: 0;
    z-index: 3;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    object-fit: cover;
    background: #000000;
    opacity: 0;
    visibility: hidden;
    cursor: pointer;
    /* 先淡出再 hidden：避免视频 GPU 合成层在 opacity:0 下仍被绘制而遮挡轮播图 */
    transition: opacity 0.35s ease, visibility 0s linear 0.35s;
    pointer-events: none;
}

.pcgh-steam__movie.is-active {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.35s ease, visibility 0s;
    pointer-events: auto;
}

/* 加载转圈 */
.pcgh-steam__loading {
    position: absolute;
    z-index: 6;
    left: 50%;
    top: 50%;
    width: 46px;
    height: 46px;
    margin: -23px 0 0 -23px;
    pointer-events: none;
}

.pcgh-steam__loading[hidden] {
    display: none;
}

.pcgh-steam__loading span {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.25);
    border-top-color: #ffffff;
    animation: pcgh-steam-spin 0.8s linear infinite;
}

@keyframes pcgh-steam-spin {
    to {
        transform: rotate(360deg);
    }
}

/* ---------- Steam 播放器控制条（悬停显示，播放中静止 2.5 秒自动隐藏） ---------- */
.pcgh-steam__controls {
    position: absolute;
    z-index: 8;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    gap: 2px;
    height: 40px;
    padding: 0 8px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.72) 55%, rgba(0, 0, 0, 0.85) 100%);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.18s ease, visibility 0.18s ease;
}

.pcgh-steam__controls[hidden] {
    display: none;
}

.pcgh-steam__stage.ctrl-on .pcgh-steam__controls {
    opacity: 1;
    visibility: visible;
}

.pcgh-steam__stage.is-idle,
.pcgh-steam__stage.is-idle .pcgh-steam__movie {
    cursor: none;
}

.pcgh-steam__cbtn {
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 2px;
    background: transparent;
    color: #ffffff;
    cursor: pointer;
    transition: color 0.12s ease, background 0.12s ease;
}

.pcgh-steam__cbtn:hover {
    color: var(--steam-a);
    background: rgba(255, 255, 255, 0.08);
}

.pcgh-steam__cbtn svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* 播放/暂停、音量、全屏图标按舞台状态切换 */
.pcgh-steam__cbtn .i-pause,
.pcgh-steam__cbtn .i-mute,
.pcgh-steam__cbtn .i-fsx {
    display: none;
}

.pcgh-steam__stage.is-playing .pcgh-steam__cbtn .i-play { display: none; }
.pcgh-steam__stage.is-playing .pcgh-steam__cbtn .i-pause { display: block; }
.pcgh-steam__stage.is-muted .pcgh-steam__cbtn .i-vol { display: none; }
.pcgh-steam__stage.is-muted .pcgh-steam__cbtn .i-mute { display: block; }
.pcgh-steam__stage.is-fs .pcgh-steam__cbtn .i-fs { display: none; }
.pcgh-steam__stage.is-fs .pcgh-steam__cbtn .i-fsx { display: block; }

/* 音量滑块 */
.pcgh-steam__vol {
    flex: 0 0 62px;
    width: 62px;
    height: 4px;
    margin: 0 6px;
    padding: 0;
    border: 0;
    border-radius: 2px;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    background: linear-gradient(to right, var(--steam-a) var(--vol, 0%), rgba(255, 255, 255, 0.35) var(--vol, 0%));
    cursor: pointer;
}

.pcgh-steam__vol::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 11px;
    height: 11px;
    border: 0;
    border-radius: 50%;
    background: #ffffff;
}

.pcgh-steam__vol::-moz-range-thumb {
    width: 11px;
    height: 11px;
    border: 0;
    border-radius: 50%;
    background: #ffffff;
}

/* 进度条（灰轨道 / 浅灰缓冲 / Steam 蓝已播放，悬停变粗并显示圆点） */
.pcgh-steam__seek {
    position: relative;
    flex: 1 1 auto;
    height: 18px;
    margin: 0 8px;
    cursor: pointer;
}

.pcgh-steam__seek::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 4px;
    margin-top: -2px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.3);
    transition: height 0.1s ease, margin-top 0.1s ease;
}

.pcgh-steam__seek-buf,
.pcgh-steam__seek-cur {
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 4px;
    margin-top: -2px;
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: left center;
    transition: height 0.1s ease, margin-top 0.1s ease;
    pointer-events: none;
}

.pcgh-steam__seek-buf {
    background: rgba(255, 255, 255, 0.5);
}

.pcgh-steam__seek-cur {
    background: var(--steam-a);
}

.pcgh-steam__seek:hover::before,
.pcgh-steam__seek:hover .pcgh-steam__seek-buf,
.pcgh-steam__seek:hover .pcgh-steam__seek-cur {
    height: 6px;
    margin-top: -3px;
}

.pcgh-steam__seek-dot {
    position: absolute;
    top: 50%;
    left: 0;
    width: 12px;
    height: 12px;
    margin: -6px 0 0 -6px;
    border-radius: 50%;
    background: var(--steam-a);
    opacity: 0;
    transition: opacity 0.1s ease;
    pointer-events: none;
}

.pcgh-steam__seek:hover .pcgh-steam__seek-dot {
    opacity: 1;
}

.pcgh-steam__time {
    flex: 0 0 auto;
    margin: 0 4px;
    color: #ffffff;
    font-size: 12px;
    letter-spacing: 0.3px;
    white-space: nowrap;
    user-select: none;
}

/* 浏览器全屏：视频等比完整显示，控制条贴底 */
.pcgh-steam__stage.is-fs {
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    background: #000000;
}

.pcgh-steam__stage.is-fs .pcgh-steam__movie {
    object-fit: contain;
}

.pcgh-steam__stage.is-fs .pcgh-steam__controls {
    height: 46px;
    padding: 0 16px;
}

/* 右上角放大/全屏按钮 */
.pcgh-steam__stagebtn {
    position: absolute;
    z-index: 7;
    top: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 3px;
    background: rgba(0, 0, 0, 0.5);
    color: #ffffff;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.15s ease, background 0.15s ease;
}

.pcgh-steam__stage:hover .pcgh-steam__stagebtn,
.pcgh-steam__stagebtn:focus-visible {
    opacity: 1;
}

.pcgh-steam__stagebtn:hover {
    background: rgba(var(--steam-a-rgb), 0.85);
}

.pcgh-steam__stagebtn svg {
    width: 17px;
    height: 17px;
}

/* ---------- 缩略图条 ---------- */
.pcgh-steam__strip {
    display: flex;
    gap: 6px;
    margin-top: 9px;
    height: 67px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
    user-select: none;
}

.pcgh-steam__strip::-webkit-scrollbar {
    display: none;
}

.pcgh-steam__cell {
    flex: 0 0 120px;
    width: 120px;
    height: 67px;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 0;
    background-color: #22303f;
    background-size: cover;
    background-position: center;
    position: relative;
    cursor: pointer;
}

.pcgh-steam__cell.is-active {
    border-color: #ffffff;
}

.pcgh-steam__cell:hover {
    border-color: rgba(255, 255, 255, 0.65);
}

.pcgh-steam__cellplay {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 32px;
    height: 32px;
    margin: -16px 0 0 -16px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.pcgh-steam__cellplay svg {
    width: 15px;
    height: 15px;
    fill: #ffffff;
    color: #ffffff;
}

/* ---------- 缩略图滚动条（Steam 可拖动滑块） ---------- */
.pcgh-steam__stripbar {
    position: relative;
    display: flex;
    align-items: stretch;
    height: 30px;
    margin-top: 6px;
    background: rgba(0, 0, 0, 0.3);
}

.pcgh-steam__track {
    position: relative;
    flex: 1 1 auto;
    min-width: 0;
    cursor: pointer;
}

.pcgh-steam__handle {
    position: absolute;
    top: 4px;
    bottom: 4px;
    left: 0;
    width: 100%;
    border-radius: 3px;
    background: rgba(var(--steam-a-rgb), 0.35);
    transition: background 0.15s ease;
    cursor: grab;
}

.pcgh-steam__track:hover .pcgh-steam__handle,
.pcgh-steam__handle.is-drag {
    background: rgba(var(--steam-a-rgb), 0.6);
    cursor: grabbing;
}

.pcgh-steam__handle.is-disabled {
    cursor: default;
    background: rgba(255, 255, 255, 0.12);
}

.pcgh-steam__arrow {
    flex: 0 0 46px;
    width: 46px;
    height: 30px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 0;
}

.pcgh-steam__arrow:hover {
    background: rgba(var(--steam-a-rgb), 0.25);
    color: var(--steam-a);
}

.pcgh-steam__arrow.is-disabled {
    opacity: 0.3;
    cursor: default;
    pointer-events: none;
}

.pcgh-steam__arrow svg {
    width: 17px;
    height: 17px;
}

/* ---------- 右栏 ---------- */
.pcgh-steam__capsule {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 460 / 215;
    object-fit: cover;
    border: 0;
    border-radius: 0;
}

.pcgh-steam__desc {
    margin: 10px 0 4px;
    padding: 0;
    color: var(--pcgh-text-2, #a4adb8);
    font-size: 12px;
    line-height: 19px;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pcgh-steam__meta {
    margin-top: 10px;
}

.pcgh-steam__metarow {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    padding: 2px 0;
    font-size: 12px;
}

.pcgh-steam__metak {
    color: var(--pcgh-text-3, #6b7785);
    white-space: nowrap;
}

.pcgh-steam__metav {
    color: var(--pcgh-text, #e6e8eb);
    text-align: right;
}

.pcgh-steam__metav.is-link {
    color: var(--steam-a);
}

/* ---------- 用户标签：单排不换行，溢出隐藏 ---------- */
.pcgh-steam__tags {
    margin-top: 12px;
}

.pcgh-steam__taglist {
    display: flex;
    flex-wrap: nowrap;
    gap: 5px;
    overflow: hidden;
    line-height: 1;
}

.pcgh-steam__tag {
    flex: 0 0 auto;
    display: inline-block;
    padding: 3px 9px;
    font-size: 12px;
    line-height: 18px;
    color: var(--steam-a);
    text-decoration: none;
    background: rgba(var(--steam-a-rgb), 0.12);
    border: 0;
    border-radius: 2px;
    cursor: pointer;
    white-space: nowrap;
}

.pcgh-steam__tag:hover {
    color: #ffffff;
    background: var(--steam-a);
}

/* ---------- 下载操作条（站点功能） ---------- */
.pcgh-steam__actions {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
}

.pcgh-steam__actionsmain {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.pcgh-steam__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 34px;
    padding: 0 18px;
    margin: 0;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    border-radius: 3px;
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: filter 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.pcgh-steam__btn svg {
    width: 16px;
    height: 16px;
}

/* 主操作（立即下载）：Steam 蓝按钮 */
.pcgh-steam__btn--primary {
    color: #ffffff;
    background: linear-gradient(90deg, var(--steam-a) 0%, var(--steam-a2) 100%);
    box-shadow: 0 1px 4px rgba(var(--steam-a-rgb), 0.2);
}

.pcgh-steam__btn--primary:hover {
    filter: brightness(1.08);
    color: #ffffff;
}

.pcgh-steam__btn--primary.is-disabled {
    opacity: 0.5;
    cursor: not-allowed;
    filter: none;
    box-shadow: none;
}

/* 购买正版：Steam 绿按钮（添加至购物车风格） */
.pcgh-steam__btn--buy {
    color: #ffffff;
    background: var(--steam-a);
    border-color: var(--steam-a);
}

.pcgh-steam__btn--buy:hover {
    color: #ffffff;
    filter: brightness(1.1);
}

/* 收藏 / 后台编辑：Steam 扁平边框按钮（愿望单/关注风格） */
.pcgh-steam__btn--ghost {
    color: #c7d5e0;
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.18);
}

.pcgh-steam__btn--ghost:hover {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.45);
    background: rgba(255, 255, 255, 0.08);
}

/* ---------- 安全区：右栏标签下方，两行带框，第二排居中 ---------- */
.pcgh-steam__safety {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 12px;
    padding: 10px 2px 0;
    background: transparent;
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 0;
    font-size: 12px;
    color: var(--pcgh-text-3, #6b7785);
}

html[data-pcgh-theme-resolved="light"] .pcgh-steam__safety {
    border-top-color: rgba(15, 23, 42, 0.1);
}

.pcgh-steam__safetyline {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 8px;
    line-height: 1.4;
}

.pcgh-steam__safetyicon {
    display: inline-flex;
    color: var(--steam-a);
    flex-shrink: 0;
}

.pcgh-steam__safetyicon svg {
    width: 15px;
    height: 15px;
}

.pcgh-steam__safety strong {
    color: var(--pcgh-text, #e6e8eb);
    font-size: 12px;
    font-weight: 600;
}

.pcgh-steam__safetytext {
    color: var(--pcgh-text-2, #a4adb8);
}

.pcgh-steam__safetytags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.pcgh-steam__safetytags em {
    font-style: normal;
    padding: 2px 9px;
    border-radius: 3px;
    font-size: 11px;
    color: var(--pcgh-text-2, #a4adb8);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.pcgh-steam__safetymd5 {
    font-size: 11px;
    color: var(--pcgh-text-3, #6b7785);
}

.pcgh-steam__safetymd5 code {
    color: var(--pcgh-text-2, #a4adb8);
    background: rgba(255, 255, 255, 0.06);
    padding: 1px 5px;
    border-radius: 2px;
    font-size: 11px;
}

.pcgh-steam__safetynote {
    font-size: 11px;
    color: var(--pcgh-text-3, #6b7785);
}

/* ---------- 右栏侧按钮（收藏 / 后台编辑，游戏盲盒同款描边胶囊） ---------- */
.pcgh-steam__sidebtns {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 12px;
}

.pcgh-steam__sidebtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 100%;
    padding: 7px 18px;
    margin: 0;
    font-size: 13px;
    line-height: 1.4;
    color: var(--steam-a);
    text-decoration: none;
    border-radius: 3px;
    background: rgba(var(--steam-a-rgb), 0.12);
    border: 1px solid rgba(var(--steam-a-rgb), 0.45);
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
    white-space: nowrap;
}

.pcgh-steam__sidebtn svg {
    width: 15px;
    height: 15px;
}

.pcgh-steam__sidebtn:hover {
    color: #ffffff;
    background: linear-gradient(135deg, rgba(var(--steam-a-rgb), 0.38), rgba(var(--steam-a-rgb), 0.08));
}

/* 已收藏：红心高亮 */
.pcgh-steam__sidebtn--fav.is-fav {
    color: var(--steam-a);
    border-color: rgba(var(--steam-a-rgb), 0.5);
    background: rgba(var(--steam-a-rgb), 0.12);
}

.pcgh-steam__sidebtn--fav.is-fav:hover {
    color: #ffffff;
    background: linear-gradient(135deg, rgba(var(--steam-a-rgb), 0.38), rgba(var(--steam-a-rgb), 0.08));
}

.pcgh-steam__sidebtn--fav.is-fav svg {
    fill: currentColor;
}

/* ---------- 下载购买框（Steam 购买区 1:1） ---------- */
.pcgh-steam__buybox {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 18px;
    margin-bottom: 26px;
    padding: 16px 20px;
    position: relative;
    z-index: 70;
    background: linear-gradient(180deg, rgba(24, 36, 52, .36) 0%, rgba(16, 25, 37, .5) 100%);
    -webkit-backdrop-filter: blur(26px) saturate(1.5);
    backdrop-filter: blur(26px) saturate(1.5);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 6px;
    box-shadow: 0 12px 34px rgba(0, 0, 0, .3), inset 0 1px 0 rgba(255, 255, 255, .1);
}

.pcgh-steam__buyinfo {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.pcgh-steam__buytitle {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--pcgh-text, #e6e8eb);
}

.pcgh-steam__buysub {
    font-size: 12px;
    line-height: 1.5;
    color: var(--pcgh-text-3, #6b7785);
}

.pcgh-steam__buycta {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 0;
}

/* 价格块：Steam 黑底价格签 */
.pcgh-steam__price {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 16px;
    margin-right: 12px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.3px;
    color: #c7d5e0;
    background: rgba(0, 0, 0, 0.45);
    border-radius: 3px;
    white-space: nowrap;
}

.pcgh-steam__price.is-free {
    color: var(--steam-a);
}

/* VIP 用户价格签：金色「VIP免代币下载」（需 (0,3,1) 压过上两条 is-free 规则） */
html[data-pcgh-theme-resolved] .pcgh-steam__price.is-vip {
    color: #f0b429;
    font-weight: 600;
}

/* 立即下载：Steam 添加至购物车绿按钮 */
.pcgh-steam__btn--download {
    min-height: 38px;
    padding: 0 26px;
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    background: linear-gradient(90deg, var(--steam-a) 0%, var(--steam-a2) 100%);
    border: 0;
    border-radius: 3px;
    box-shadow: 0 1px 4px rgba(var(--steam-a-rgb), 0.25);
}

.pcgh-steam__btn--download:hover {
    color: #ffffff;
    background: linear-gradient(90deg, var(--steam-a2) 0%, var(--steam-a) 100%);
    filter: none;
}

.pcgh-steam__btn--download.is-disabled {
    color: rgba(255, 255, 255, 0.45);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: none;
    cursor: not-allowed;
}

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
    .pcgh-steam__inner {
        max-width: calc(100% - 24px);
        padding: 12px 0 18px;
    }

    .pcgh-steam__cols {
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
    }

    /* 堆叠布局：胶囊图满宽顶格，其下文字/安全区左右各留 14px 呼吸距离 */
    .pcgh-steam__rightcol .pcgh-steam__desc,
    .pcgh-steam__rightcol .pcgh-steam__meta,
    .pcgh-steam__rightcol .pcgh-steam__tags {
        margin-right: 14px;
        margin-left: 14px;
    }

    .pcgh-steam__sidefoot {
        padding: 12px 14px 14px;
    }

    .pcgh-steam__appname {
        font-size: 22px;
    }

    .pcgh-steam__hub {
        padding: 8px 16px;
        font-size: 14px;
    }

    .pcgh-steam__strip {
        height: 54px;
        gap: 5px;
    }

    .pcgh-steam__cell {
        flex-basis: 96px;
        width: 96px;
        height: 54px;
    }

    .pcgh-steam__btn {
        min-height: 40px;
        padding: 0 18px;
        font-size: 14px;
    }

    /* 窄屏购买框：文字与价格按钮分两行 */
    .pcgh-steam__buybox {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding: 14px 16px;
    }

    .pcgh-steam__buycta {
        display: flex;
        align-items: stretch;
    }

    .pcgh-steam__price {
        flex: 0 0 auto;
        margin-right: 10px;
    }

    .pcgh-steam__btn--download {
        flex: 1 1 auto;
    }

    /* 窄屏控制条精简：隐藏音量滑块（系统音量键调节） */
    .pcgh-steam__vol {
        display: none;
    }

    .pcgh-steam__time {
        font-size: 11px;
    }
}

@media (max-width: 560px) {
    .pcgh-steam__cols {
        padding: 0;
        gap: 12px;
        border-radius: 5px;
    }

    .pcgh-steam__head {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .pcgh-steam__headbtns {
        width: 100%;
        justify-content: flex-end;
    }

    .pcgh-steam__appname {
        font-size: 19px;
    }

    .pcgh-steam__btn,
    .pcgh-steam__btn--primary,
    .pcgh-steam__btn--buy,
    .pcgh-steam__btn--ghost {
        flex: 1 1 auto;
    }

    .pcgh-steam__buycta {
        flex-direction: column;
        gap: 8px;
    }

    .pcgh-steam__price {
        margin-right: 0;
        justify-content: center;
    }
}

/* ==========================================================================
   正文媒体约束：采集的 Steam 截图/视频按原始分辨率（1920px）输出，
   统一限制在文章内容栏宽度内，防止溢出/页面被撑宽
   ========================================================================== */
.pcgh-content img,
.pcgh-article img {
    max-width: 100% !important;
    height: auto !important;
}

.pcgh-content video,
.pcgh-article video {
    max-width: 100% !important;
    height: auto !important;
    display: block;
}

.pcgh-single .pcgh-content.pcgh-article img:not(.emoji):not(.wp-smiley){width:auto!important;max-width:min(100%,992px)!important;margin-left:auto!important;margin-right:auto!important}.pcgh-single .pcgh-content.pcgh-article video{display:block!important;width:auto!important;max-width:min(100%,992px)!important;height:auto!important;margin:16px auto!important}.pcgh-single .pcgh-content.pcgh-article figure,.pcgh-single .pcgh-content.pcgh-article .wp-block-image,.pcgh-single .pcgh-content.pcgh-article .wp-caption{width:auto!important;max-width:min(100%,992px)!important;margin-left:auto!important;margin-right:auto!important}

/* ---------- rapid download button (gold gradient, same as original VIP box) ---------- */
.pcgh-steam__sidebtns .pcgh-steam__btn--rapid {
    width: 100%;
    box-sizing: border-box;
    font-family: inherit;
    color: #ffffff;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    border-color: #f59e0b;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
    text-decoration: none;
}
.pcgh-steam__sidebtns .pcgh-steam__btn--rapid:hover {
    color: #ffffff;
    filter: brightness(1.1);
}

/* ---------- rapid download button: offline (gray) state ---------- */
.pcgh-steam__sidebtns .pcgh-steam__btn--rapid.is-off {
    background: #3b4553;
    border-color: #3b4553;
    box-shadow: none;
    color: #8f98a0;
}
.pcgh-steam__sidebtns .pcgh-steam__btn--rapid.is-off:hover {
    background: #455263;
    border-color: #455263;
    color: #c7d0d9;
    filter: none;
}

/* ---------- rapid download modal (dark paper style + gold buttons) ---------- */
.pcgh-rapid[hidden] { display: none; }
.pcgh-rapid {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.pcgh-rapid__mask {
    position: absolute;
    inset: 0;
    background: rgba(5, 10, 18, 0.66);
}
.pcgh-rapid__box {
    position: relative;
    width: min(430px, 100%);
    padding: 28px 26px 24px;
    border-radius: 8px;
    background: #1b2838;
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
    text-align: center;
}
.pcgh-rapid__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #ffffff;
    margin-bottom: 14px;
}
.pcgh-rapid__icon svg { width: 26px; height: 26px; }
.pcgh-rapid__icon.is-off {
    background: #3b4553;
    color: #8f98a0;
}
.pcgh-rapid__title {
    margin: 0 0 10px;
    font-size: 17px;
    font-weight: 700;
    color: #ffffff;
}
.pcgh-rapid__desc {
    margin: 0 0 20px;
    font-size: 12.5px;
    line-height: 1.8;
    color: #8f98a0;
}
.pcgh-rapid__btns {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.pcgh-rapid__dl {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 42px;
    border-radius: 4px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
    transition: filter 0.15s ease;
}
.pcgh-rapid__dl:hover { filter: brightness(1.08); color: #ffffff !important; }
.pcgh-rapid__close {
    height: 36px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: transparent;
    color: #8f98a0;
    font-size: 13px;
    font-family: inherit;
    cursor: pointer;
    transition: color 0.15s ease, border-color 0.15s ease;
}
.pcgh-rapid__close:hover { color: #ffffff; border-color: rgba(255, 255, 255, 0.35); }
