/* =============================================================
   Nebula — Voxel / 沃盒 国际化云游戏平台 · 深色沉浸式主题
   设计语言：星云深空背景 + 玻璃拟态 + 霓虹光晕 + 微动效
   ============================================================= */

:root {
    --gh-bg: #060912;
    --gh-bg-2: #0a0f1f;
    --gh-surface: rgba(255, 255, 255, 0.045);
    --gh-surface-2: rgba(255, 255, 255, 0.07);
    --gh-surface-3: rgba(255, 255, 255, 0.10);
    --gh-border: rgba(255, 255, 255, 0.10);
    --gh-border-strong: rgba(255, 255, 255, 0.20);
    --gh-text: #e9edf7;
    --gh-muted: #9aa6c4;
    --gh-cyan: #22d3ee;
    --gh-violet: #a855f7;
    --gh-pink: #ec4899;
    --gh-blue: #3b82f6;
    --gh-gradient: linear-gradient(135deg, #22d3ee 0%, #a855f7 48%, #ec4899 100%);
    --gh-gradient-soft: linear-gradient(135deg, rgba(34, 211, 238, .16), rgba(168, 85, 247, .16), rgba(236, 72, 153, .16));
    --gh-radius: 18px;
    --gh-radius-sm: 12px;
    --gh-shadow: 0 20px 50px -20px rgba(0, 0, 0, .7);
    --gh-glow: 0 0 0 1px rgba(168, 85, 247, .35), 0 18px 50px -18px rgba(168, 85, 247, .55);
    --gh-max: 1320px;
}

/* ---------- 基础 ---------- */
html { scroll-behavior: smooth; }

body {
    font-family: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--gh-bg);
    color: var(--gh-text);
    line-height: 1.65;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background-image:
        radial-gradient(900px 600px at 12% -5%, rgba(168, 85, 247, .20), transparent 60%),
        radial-gradient(800px 600px at 95% 0%, rgba(34, 211, 238, .16), transparent 55%),
        radial-gradient(1000px 700px at 50% 110%, rgba(236, 72, 153, .14), transparent 60%);
    background-attachment: fixed;
}

/* 细微网格叠加，增强“科技平台”质感 */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 75%);
    -webkit-mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 75%);
}

.container { max-width: var(--gh-max); position: relative; z-index: 1; }

.text-muted { color: var(--gh-muted) !important; }

::selection { background: var(--gh-violet); color: #fff; }

::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: #070b16; }
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--gh-violet), var(--gh-cyan));
    border-radius: 20px;
    border: 3px solid #070b16;
}
::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, var(--gh-pink), var(--gh-violet)); }

/* 通用渐变文字 */
.gh-text-gradient {
    background: var(--gh-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

/* =============================================================
   导航 — 玻璃拟态
   ============================================================= */
.gh-nav {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: rgba(8, 12, 24, .55);
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    border-bottom: 1px solid var(--gh-border);
    transition: background .35s ease, box-shadow .35s ease, padding .35s ease;
}
.gh-nav.scrolled {
    background: rgba(6, 9, 18, .85);
    box-shadow: 0 10px 40px -18px rgba(0, 0, 0, .9);
    border-bottom-color: var(--gh-border-strong);
}
.gh-nav__inner {
    max-width: var(--gh-max);
    margin: 0 auto;
    padding: 16px 22px;
    display: flex;
    align-items: center;
    gap: 18px;
    transition: padding .35s ease;
}
.gh-nav.scrolled .gh-nav__inner { padding: 10px 22px; }

.gh-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    font-size: 1.3rem;
    letter-spacing: .3px;
    color: #fff;
    text-decoration: none;
    white-space: nowrap;
}
.gh-brand__logo {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    background: var(--gh-gradient);
    display: grid;
    place-items: center;
    font-size: 1.15rem;
    box-shadow: 0 6px 18px -6px rgba(168, 85, 247, .8);
    position: relative;
    overflow: hidden;
}
.gh-brand__logo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, .55), transparent 60%);
    opacity: .5;
}
.gh-brand span { background: var(--gh-gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

.gh-nav__links { display: flex; align-items: center; gap: 4px; }
.gh-nav__link {
    position: relative;
    color: rgba(255, 255, 255, .82);
    text-decoration: none;
    font-weight: 600;
    font-size: .94rem;
    padding: 9px 14px;
    border-radius: 10px;
    transition: color .25s ease, background .25s ease;
    white-space: nowrap;
}
.gh-nav__link::after {
    content: "";
    position: absolute;
    left: 14px; right: 14px; bottom: 6px;
    height: 2px;
    border-radius: 2px;
    background: var(--gh-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s ease;
}
.gh-nav__link:hover, .gh-nav__link.active { color: #fff; background: var(--gh-surface-2); }
.gh-nav__link:hover::after, .gh-nav__link.active::after { transform: scaleX(1); }

.gh-nav__right { display: flex; align-items: center; gap: 12px; margin-left: auto; }

.gh-search {
    display: flex;
    align-items: center;
    background: var(--gh-surface);
    border: 1px solid var(--gh-border);
    border-radius: 999px;
    padding: 4px 4px 4px 14px;
    transition: border-color .3s ease, box-shadow .3s ease, background .3s ease;
    min-width: 210px;
}
.gh-search:focus-within {
    border-color: rgba(34, 211, 238, .6);
    box-shadow: 0 0 0 4px rgba(34, 211, 238, .14);
    background: var(--gh-surface-2);
}
.gh-search input {
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    flex: 1;
    font-size: .9rem;
}
.gh-search input::placeholder { color: var(--gh-muted); }
.gh-search button {
    width: 36px; height: 36px;
    border-radius: 50%;
    border: none;
    background: var(--gh-gradient);
    color: #fff;
    display: grid; place-items: center;
    cursor: pointer;
    transition: transform .25s ease, box-shadow .25s ease;
}
.gh-search button:hover { transform: scale(1.08); box-shadow: 0 6px 18px -6px rgba(168, 85, 247, .8); }

.gh-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    border-radius: 999px;
    border: 1px solid var(--gh-border-strong);
    background: var(--gh-surface);
    color: #fff;
    font-weight: 600;
    font-size: .9rem;
    text-decoration: none;
    cursor: pointer;
    transition: all .25s ease;
}
.gh-pill:hover { background: var(--gh-surface-2); color: #fff; transform: translateY(-1px); }

.gh-avatar {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: var(--gh-gradient);
    display: grid; place-items: center;
    color: #fff; font-weight: 700;
    border: 2px solid rgba(255, 255, 255, .25);
    cursor: pointer;
}

/* 下拉（语言 / 用户） */
.gh-dropdown { position: relative; }
.gh-dropdown__menu {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    min-width: 240px;
    background: rgba(10, 14, 28, .96);
    backdrop-filter: blur(20px);
    border: 1px solid var(--gh-border-strong);
    border-radius: 16px;
    box-shadow: var(--gh-shadow);
    padding: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px) scale(.98);
    transition: all .25s ease;
    z-index: 50;
}
.gh-dropdown.open .gh-dropdown__menu { opacity: 1; visibility: visible; transform: none; }
.gh-dropdown__menu a {
    display: flex; align-items: center; gap: 10px;
    color: var(--gh-text);
    text-decoration: none;
    padding: 10px 12px;
    border-radius: 10px;
    font-size: .92rem;
    transition: background .2s ease, transform .2s ease;
}
.gh-dropdown__menu a:hover { background: var(--gh-surface-2); transform: translateX(3px); }
.gh-dropdown__menu .divider { height: 1px; background: var(--gh-border); margin: 6px 4px; }

.gh-lang-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.gh-lang-grid a {
    justify-content: center;
    text-align: center;
    font-size: .82rem;
    padding: 9px 4px;
    min-height: 42px;
}
.gh-lang-grid a.active { background: var(--gh-gradient); color: #fff; }

.gh-burger {
    display: none;
    width: 42px; height: 42px;
    border-radius: 12px;
    border: 1px solid var(--gh-border);
    background: var(--gh-surface);
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
}

/* 移动端抽屉 */
.gh-mobile {
    display: none;
    position: fixed;
    inset: 0 0 0 auto;
    width: min(86vw, 360px);
    background: rgba(8, 12, 24, .98);
    backdrop-filter: blur(20px);
    border-left: 1px solid var(--gh-border-strong);
    z-index: 1040;
    padding: 24px;
    transform: translateX(100%);
    transition: transform .35s ease;
    overflow-y: auto;
}
.gh-mobile.open { display: block; transform: none; }
.gh-mobile a { display: block; color: var(--gh-text); text-decoration: none; padding: 13px 10px; border-radius: 10px; font-weight: 600; }
.gh-mobile a:hover { background: var(--gh-surface-2); }
.gh-mobile__back { position: absolute; top: 18px; right: 18px; background: none; border: none; color: #fff; font-size: 1.4rem; cursor: pointer; }

/* =============================================================
   英雄区 — 粒子 + 玻璃 + 渐变光球
   ============================================================= */
.gh-hero {
    position: relative;
    overflow: hidden;
    border-radius: 0 0 36px 36px;
    background: linear-gradient(180deg, rgba(10, 14, 28, .2), rgba(6, 9, 18, .9));
}
.gh-hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.gh-hero__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: .55;
    z-index: 0;
    animation: ghFloat 14s ease-in-out infinite;
}
.gh-hero__orb--1 { width: 420px; height: 420px; background: var(--gh-violet); top: -120px; left: -80px; }
.gh-hero__orb--2 { width: 380px; height: 380px; background: var(--gh-cyan); top: 40px; right: -100px; animation-delay: -5s; }
.gh-hero__orb--3 { width: 300px; height: 300px; background: var(--gh-pink); bottom: -120px; left: 40%; animation-delay: -9s; }
@keyframes ghFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -30px) scale(1.12); }
}

.gh-hero .carousel, .gh-hero .carousel-inner, .gh-hero .carousel-item { height: clamp(520px, 78vh, 720px); }
.gh-hero .carousel-item img { width: 100%; height: 100%; object-fit: cover; }
.gh-hero .carousel-item::after {
    content: "";
    position: absolute; inset: 0;
    background:
        linear-gradient(90deg, rgba(6, 9, 18, .92) 0%, rgba(6, 9, 18, .55) 45%, rgba(6, 9, 18, .15) 100%),
        linear-gradient(0deg, rgba(6, 9, 18, .85) 0%, transparent 55%);
}
.gh-hero .carousel-caption {
    position: absolute;
    z-index: 3;
    text-align: left;
    left: 0; right: 0; bottom: 0;
    padding: 0;
}
.gh-hero .carousel-caption .container {
    display: flex;
    align-items: flex-end;
    min-height: clamp(520px, 78vh, 720px);
    padding-top: 120px;
    padding-bottom: 120px;
}
.gh-hero__kicker {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 7px 16px;
    border-radius: 999px;
    background: var(--gh-gradient-soft);
    border: 1px solid var(--gh-border-strong);
    color: #fff;
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
    margin-bottom: 22px;
}
.gh-hero__kicker .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gh-cyan); box-shadow: 0 0 10px var(--gh-cyan); animation: ghPulse 1.6s ease-in-out infinite; }
@keyframes ghPulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

.gh-hero__title {
    font-size: clamp(2.4rem, 5.2vw, 4.4rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -.5px;
    color: #fff;
    text-shadow: 0 8px 40px rgba(0, 0, 0, .6);
    margin-bottom: 18px;
}
.gh-hero__sub {
    max-width: 560px;
    color: rgba(255, 255, 255, .92);
    font-size: clamp(1rem, 1.5vw, 1.18rem);
    margin-bottom: 26px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.gh-hero__tags { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.gh-tag {
    padding: 7px 15px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .10);
    border: 1px solid var(--gh-border-strong);
    color: #fff;
    font-size: .85rem;
    font-weight: 600;
    text-decoration: none;
    backdrop-filter: blur(8px);
    transition: all .25s ease;
}
.gh-tag:hover { background: rgba(255, 255, 255, .18); color: #fff; transform: translateY(-2px); }
.gh-hero__price {
    font-size: 1.15rem; font-weight: 700; color: #fff;
    margin-bottom: 26px;
}
.gh-hero__price b { font-size: 1.7rem; background: var(--gh-gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

.gh-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* 按钮 */
.gh-btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 14px 30px;
    border-radius: 999px;
    font-weight: 800;
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.gh-btn--primary {
    color: #fff;
    background: var(--gh-gradient);
    box-shadow: 0 14px 36px -12px rgba(168, 85, 247, .85);
    position: relative;
    overflow: hidden;
}
.gh-btn--primary::after {
    content: ""; position: absolute; top: 0; left: -120%;
    width: 60%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .45), transparent);
    transform: skewX(-20deg);
    animation: ghShine 3.4s ease-in-out infinite;
}
@keyframes ghShine { 0% { left: -120%; } 55%, 100% { left: 140%; } }
.gh-btn--primary:hover { transform: translateY(-3px); box-shadow: 0 22px 50px -14px rgba(236, 72, 153, .9); color: #fff; }
.gh-btn--ghost {
    color: #fff;
    background: rgba(255, 255, 255, .08);
    border: 1px solid var(--gh-border-strong);
    backdrop-filter: blur(8px);
}
.gh-btn--ghost:hover { background: rgba(255, 255, 255, .16); transform: translateY(-3px); color: #fff; }

/* 轮播控制（自定义圆形箭头，确保箭头可见） */
.gh-hero .carousel-control-prev.gh-ctrl, .gh-hero .carousel-control-next.gh-ctrl {
    width: 52px; height: 52px;
    top: 50%; transform: translateY(-50%);
    bottom: auto;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: rgba(8, 12, 24, .5);
    border: 1px solid var(--gh-border-strong);
    backdrop-filter: blur(8px);
    color: #fff; font-size: 1.15rem;
    opacity: 1; z-index: 5;
    transition: all .25s ease;
}
.gh-hero .carousel-control-prev.gh-ctrl { left: 22px; }
.gh-hero .carousel-control-next.gh-ctrl { right: 22px; }
.gh-hero .carousel-control-prev.gh-ctrl:hover,
.gh-hero .carousel-control-next.gh-ctrl:hover {
    background: var(--gh-gradient);
    transform: translateY(-50%) scale(1.06);
    box-shadow: 0 12px 30px -10px rgba(168, 85, 247, .8);
    color: #fff;
}
.gh-hero .carousel-indicators {
    bottom: 92px; justify-content: center; margin: 0; padding: 0;
    gap: 8px; z-index: 5;
}
.gh-hero .carousel-indicators button {
    width: 30px; height: 5px; border-radius: 5px; border: none;
    background: rgba(255, 255, 255, .35); transition: all .3s ease; margin: 0;
}
.gh-hero .carousel-indicators button.active { width: 46px; background: var(--gh-gradient); }

/* 英雄区浮动统计条 */
.gh-hero__stats {
    position: relative;
    z-index: 4;
    margin-top: -56px;
}
.gh-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    background: rgba(10, 14, 28, .72);
    backdrop-filter: blur(20px);
    border: 1px solid var(--gh-border-strong);
    border-radius: 22px;
    padding: 26px 30px;
    box-shadow: var(--gh-shadow);
}
.gh-stat { text-align: center; position: relative; }
.gh-stat + .gh-stat::before {
    content: ""; position: absolute; left: -9px; top: 12%; height: 76%; width: 1px; background: var(--gh-border);
}
.gh-stat__num {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 900;
    background: var(--gh-gradient);
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
    line-height: 1.1;
}
.gh-stat__label { color: var(--gh-muted); font-size: .9rem; font-weight: 600; margin-top: 4px; }

/* =============================================================
   通用区块
   ============================================================= */
.gh-section { padding: 70px 0 10px; position: relative; z-index: 1; }
.gh-section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 34px; flex-wrap: wrap; }
.gh-kicker {
    display: inline-block;
    font-size: .8rem; font-weight: 800; letter-spacing: 2px; text-transform: uppercase;
    color: var(--gh-cyan);
    margin-bottom: 10px;
}
.gh-section__title { font-size: clamp(1.8rem, 3.2vw, 2.6rem); font-weight: 900; color: #fff; margin: 0; letter-spacing: -.5px; }
.gh-section__sub { color: var(--gh-muted); margin-top: 8px; font-size: 1.02rem; }

.gh-link-more {
    display: inline-flex; align-items: center; gap: 8px;
    color: #fff; text-decoration: none; font-weight: 700;
    padding: 10px 20px; border-radius: 999px;
    border: 1px solid var(--gh-border-strong); background: var(--gh-surface);
    transition: all .25s ease;
}
.gh-link-more:hover { background: var(--gh-surface-2); transform: translateX(4px); color: #fff; }

/* 区块标签切换 */
.gh-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.gh-tab {
    padding: 9px 18px; border-radius: 999px; cursor: pointer;
    border: 1px solid var(--gh-border); background: var(--gh-surface);
    color: var(--gh-muted); font-weight: 700; font-size: .92rem;
    transition: all .25s ease;
}
.gh-tab.active, .gh-tab:hover { color: #fff; background: var(--gh-gradient); border-color: transparent; }

/* =============================================================
   分类快选条
   ============================================================= */
.gh-cat-strip { display: flex; gap: 14px; overflow-x: auto; padding: 6px 2px 16px; scroll-snap-type: x mandatory; }
.gh-cat-strip::-webkit-scrollbar { height: 7px; }
.gh-cat {
    scroll-snap-align: start;
    flex: 0 0 auto;
    width: 132px;
    text-decoration: none;
    background: var(--gh-surface);
    border: 1px solid var(--gh-border);
    border-radius: 16px;
    padding: 18px 14px;
    text-align: center;
    color: #fff;
    transition: all .3s ease;
}
.gh-cat:hover { transform: translateY(-6px); border-color: var(--gh-border-strong); box-shadow: var(--gh-glow); background: var(--gh-surface-2); }
.gh-cat__icon {
    width: 50px; height: 50px; margin: 0 auto 12px;
    border-radius: 14px; display: grid; place-items: center; font-size: 1.5rem;
    background: var(--gh-gradient-soft); border: 1px solid var(--gh-border-strong);
}
.gh-cat__name { font-weight: 700; font-size: .95rem; }
.gh-cat__count { color: var(--gh-muted); font-size: .78rem; margin-top: 2px; }

/* =============================================================
   游戏卡片 — 霓虹玻璃 + 3D 倾斜
   ============================================================= */
.gh-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.gh-card {
    position: relative;
    border-radius: var(--gh-radius);
    background: var(--gh-surface);
    border: 1px solid var(--gh-border);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform .25s ease, box-shadow .35s ease, border-color .35s ease;
    will-change: transform;
}
.gh-card:hover {
    border-color: rgba(168, 85, 247, .55);
    box-shadow: var(--gh-glow);
}
/* display:block 必须保留：分类页的媒体区是 <a>，默认为行内元素，
   height/overflow 会失效，图片按 100% 撑满整卡并盖住标题与价格 */
.gh-card__media { display: block; position: relative; height: 220px; overflow: hidden; }
.gh-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.gh-card:hover .gh-card__img { transform: scale(1.08); }
.gh-card__media::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(6, 9, 18, .85));
}
.gh-card__badge {
    position: absolute; top: 12px; left: 12px; z-index: 2;
    padding: 5px 12px; border-radius: 999px;
    background: var(--gh-gradient); color: #fff;
    font-size: .72rem; font-weight: 800; letter-spacing: .5px;
    text-transform: uppercase;
    box-shadow: 0 6px 16px -6px rgba(168, 85, 247, .9);
}
.gh-card__play {
    position: absolute; inset: 0; z-index: 2;
    display: grid; place-items: center;
    opacity: 0; transition: opacity .3s ease;
}
.gh-card:hover .gh-card__play { opacity: 1; }
.gh-card__play span {
    width: 60px; height: 60px; border-radius: 50%;
    background: rgba(255, 255, 255, .16); backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, .5);
    display: grid; place-items: center; color: #fff; font-size: 1.4rem;
    transform: scale(.8); transition: transform .3s ease;
}
.gh-card:hover .gh-card__play span { transform: scale(1); }
.gh-card__fav {
    position: absolute; top: 12px; right: 12px; z-index: 2;
    width: 38px; height: 38px; border-radius: 50%;
    background: rgba(8, 12, 24, .6); backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, .25);
    color: #fff; display: grid; place-items: center; cursor: pointer;
    transition: all .25s ease;
}
.gh-card__fav:hover { background: var(--gh-pink); border-color: var(--gh-pink); transform: scale(1.1); }
.gh-card__fav.active { color: var(--gh-pink); }
.gh-card__body { padding: 16px 16px 18px; }
.gh-card__title { font-size: 1.06rem; font-weight: 800; color: #fff; margin: 0 0 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gh-card__title a { color: inherit; text-decoration: none; }
.gh-card:hover .gh-card__title a { color: var(--gh-pink); }
.gh-card__cats { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.gh-chip {
    font-size: .72rem; font-weight: 700; color: var(--gh-cyan);
    background: rgba(34, 211, 238, .12); border: 1px solid rgba(34, 211, 238, .3);
    padding: 3px 10px; border-radius: 999px; text-decoration: none;
}
.gh-chip:hover { background: rgba(34, 211, 238, .22); color: var(--gh-cyan); }
.gh-card__meta { display: flex; align-items: center; justify-content: space-between; }
.gh-card__rating { color: #ffc83d; font-weight: 700; font-size: .9rem; }
.gh-card__rating small { color: var(--gh-muted); font-weight: 500; }
.gh-card__price { font-weight: 900; color: #fff; font-size: 1.05rem; }
.gh-card__price b { background: var(--gh-gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.gh-price-was { color: var(--gh-muted); text-decoration: line-through; font-weight: 500; font-size: .85em; margin-left: 6px; }
.gh-discount-tag {
    display: inline-block; vertical-align: middle; margin-left: 8px;
    padding: 3px 10px; border-radius: 999px; font-size: .75rem; font-weight: 800;
    color: #fff; background: linear-gradient(135deg, #22c55e, #16a34a);
}
.gh-card__off {
    position: absolute; bottom: 12px; left: 12px; z-index: 2;
    padding: 3px 10px; border-radius: 999px;
    background: linear-gradient(135deg, #22c55e, #16a34a); color: #fff;
    font-size: .72rem; font-weight: 800; letter-spacing: .5px;
    box-shadow: 0 6px 16px -6px rgba(34, 197, 94, .8);
}
.gh-report-link { color: var(--gh-muted); font-size: .85rem; text-decoration: none; margin-left: auto; }
.gh-report-link:hover { color: var(--gh-pink); }
.gh-preview-bar {
    margin-top: 14px; padding: 12px 18px; border-radius: 12px;
    background: rgba(251, 191, 36, .12); border: 1px solid rgba(251, 191, 36, .4);
    color: #fbbf24; font-size: .92rem; display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.gh-preview-bar strong { color: #fbbf24; }
.gh-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gh-gallery__item { display: block; border-radius: 12px; overflow: hidden; border: 1px solid var(--gh-border); }
.gh-gallery__item img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .4s ease; }
.gh-gallery__item:hover img { transform: scale(1.05); }
.gh-changelog { display: flex; flex-direction: column; gap: 14px; }
.gh-changelog__item {
    padding: 14px 18px; border-radius: 12px;
    background: rgba(255, 255, 255, .04); border: 1px solid var(--gh-border);
}
.gh-changelog__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.gh-changelog__ver { font-weight: 800; color: var(--gh-cyan); }
.gh-report-msg { padding: 12px 16px; border-radius: 10px; margin-bottom: 18px; font-size: .92rem; }
.gh-report-msg--err { background: rgba(239, 68, 68, .12); border: 1px solid rgba(239, 68, 68, .4); color: #f87171; }
.gh-report-reasons { display: flex; flex-wrap: wrap; gap: 10px; }
.gh-report-option {
    display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
    padding: 9px 16px; border-radius: 999px; font-size: .9rem; color: #cbd5e1;
    background: rgba(255, 255, 255, .05); border: 1px solid var(--gh-border);
}
.gh-report-option:has(input:checked) { border-color: var(--gh-violet); color: #fff; background: rgba(168, 85, 247, .18); }
.gh-report-option input { accent-color: var(--gh-violet); margin: 0; }
.gh-report-textarea {
    width: 100%; border-radius: 12px; padding: 12px 16px; resize: vertical;
    background: rgba(255, 255, 255, .05); border: 1px solid var(--gh-border);
    color: #e2e8f0; font-size: .95rem; outline: none;
}
.gh-report-textarea:focus { border-color: var(--gh-violet); }

/* 横向滚动行 */
.gh-row-scroll { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 1fr); gap: 22px; overflow-x: auto; padding: 4px 2px 18px; scroll-snap-type: x mandatory; }
.gh-row-scroll > * { scroll-snap-align: start; }
.gh-row-scroll::-webkit-scrollbar { height: 8px; }

/* =============================================================
   卖点卡
   ============================================================= */
.gh-features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.gh-feature {
    background: var(--gh-surface);
    border: 1px solid var(--gh-border);
    border-radius: 20px;
    padding: 28px 24px;
    transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
    position: relative;
    overflow: hidden;
}
.gh-feature::before {
    content: ""; position: absolute; top: -40%; right: -30%;
    width: 200px; height: 200px; border-radius: 50%;
    background: var(--gh-gradient-soft); filter: blur(40px); opacity: .5;
}
.gh-feature:hover { transform: translateY(-8px); border-color: var(--gh-border-strong); box-shadow: var(--gh-shadow); }
.gh-feature__icon {
    width: 58px; height: 58px; border-radius: 16px;
    display: grid; place-items: center; font-size: 1.6rem; color: #fff;
    background: var(--gh-gradient); box-shadow: 0 12px 30px -10px rgba(168, 85, 247, .8);
    margin-bottom: 18px; position: relative;
}
.gh-feature__title { font-size: 1.15rem; font-weight: 800; color: #fff; margin-bottom: 8px; }
.gh-feature__desc { color: var(--gh-muted); font-size: .95rem; }

/* =============================================================
   合作方跑马灯
   ============================================================= */
.gh-trusted { text-align: center; margin-bottom: 26px; }
.gh-trusted h4 { color: var(--gh-muted); font-weight: 700; letter-spacing: 2px; text-transform: uppercase; font-size: .9rem; }
.gh-marquee {
    position: relative; overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.gh-marquee__track { display: flex; gap: 38px; width: max-content; animation: ghMarquee 32s linear infinite; }
.gh-marquee:hover .gh-marquee__track { animation-play-state: paused; }
@keyframes ghMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.gh-logo {
    flex: 0 0 auto;
    display: flex; align-items: center; gap: 10px;
    padding: 14px 26px; border-radius: 14px;
    background: var(--gh-surface); border: 1px solid var(--gh-border);
    color: var(--gh-muted); font-weight: 800; font-size: 1.05rem; white-space: nowrap;
}
.gh-logo i { font-size: 1.4rem; color: #fff; }

/* =============================================================
   资讯卡
   ============================================================= */
.gh-news { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.gh-news__card {
    background: var(--gh-surface);
    border: 1px solid var(--gh-border);
    border-radius: 20px;
    overflow: hidden;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
    display: flex; flex-direction: column;
}
.gh-news__card:hover { transform: translateY(-6px); border-color: var(--gh-border-strong); box-shadow: var(--gh-shadow); }
.gh-news__banner { height: 150px; position: relative; overflow: hidden; background: var(--gh-gradient-soft); display: grid; place-items: center; }
.gh-news__banner i { font-size: 3rem; color: rgba(255, 255, 255, .85); }
.gh-news__body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.gh-news__date { color: var(--gh-cyan); font-size: .8rem; font-weight: 700; margin-bottom: 8px; }
.gh-news__title { font-size: 1.12rem; font-weight: 800; color: #fff; margin-bottom: 10px; }
.gh-news__desc { color: var(--gh-muted); font-size: .92rem; flex: 1; }
.gh-news__more { margin-top: 14px; color: #fff; font-weight: 700; font-size: .9rem; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.gh-news__more:hover { color: var(--gh-cyan); }
/* 动态卡片：横幅与标题可点，分类标签与日期同排 */
.gh-news__banner { text-decoration: none; }
.gh-news__banner:hover i { transform: scale(1.08); }
.gh-news__banner i { transition: transform .3s ease; }
.gh-news__date { display: flex; align-items: center; gap: 8px; }
.gh-news__tag {
    display: inline-block; padding: 2px 9px; border-radius: 999px;
    background: rgba(168, 85, 247, .18); border: 1px solid rgba(168, 85, 247, .28);
    color: #e9d5ff; font-size: .72rem; font-weight: 800; letter-spacing: .02em;
}
.gh-news__title a { color: inherit; text-decoration: none; transition: color .2s ease; }
.gh-news__title a:hover { color: var(--gh-cyan); }
.gh-news-empty {
    padding: 54px 24px; text-align: center;
    border: 1px dashed var(--gh-border-strong); border-radius: 20px;
    background: var(--gh-surface); color: var(--gh-muted);
}
.gh-news-empty i { font-size: 2rem; color: rgba(255, 255, 255, .3); margin-bottom: 12px; display: block; }
.gh-news-empty p { margin: 0; }

/* =============================================================
   CTA 横幅
   ============================================================= */
.gh-cta {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    padding: 60px 40px;
    text-align: center;
    background: linear-gradient(135deg, rgba(168, 85, 247, .25), rgba(34, 211, 238, .18), rgba(236, 72, 153, .25));
    border: 1px solid var(--gh-border-strong);
    box-shadow: var(--gh-shadow);
}
.gh-cta::before {
    content: ""; position: absolute; inset: 0;
    background: radial-gradient(600px 300px at 50% 0%, rgba(255, 255, 255, .12), transparent 60%);
}
.gh-cta h2 { font-size: clamp(1.8rem, 3.4vw, 2.8rem); font-weight: 900; color: #fff; margin-bottom: 12px; position: relative; }
.gh-cta p { color: rgba(255, 255, 255, .9); font-size: 1.1rem; margin-bottom: 26px; position: relative; }

/* =============================================================
   页脚
   ============================================================= */
.gh-footer {
    position: relative;
    margin-top: 80px;
    background: rgba(8, 11, 22, .9);
    border-top: 1px solid var(--gh-border-strong);
    padding: 64px 0 28px;
    z-index: 1;
}
.gh-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 36px; }
.gh-footer h5 { color: #fff; font-weight: 800; margin-bottom: 18px; font-size: 1.05rem; }
.gh-footer p, .gh-footer li { color: var(--gh-muted); }
.gh-footer a { color: var(--gh-muted); text-decoration: none; transition: color .2s ease, padding-left .2s ease; display: inline-block; }
.gh-footer a:hover { color: #fff; padding-left: 4px; }
.gh-footer ul { list-style: none; padding: 0; margin: 0; }
.gh-footer ul li { margin-bottom: 10px; }
.gh-footer__social { display: flex; gap: 12px; margin-top: 18px; }
.gh-footer__social a {
    width: 42px; height: 42px; border-radius: 12px;
    display: grid; place-items: center; font-size: 1.1rem;
    background: var(--gh-surface); border: 1px solid var(--gh-border); color: #fff;
    transition: all .25s ease;
}
.gh-footer__social a:hover { background: var(--gh-gradient); transform: translateY(-3px); padding-left: 0; }
.gh-newsletter { display: flex; gap: 8px; margin-top: 14px; }
.gh-newsletter input {
    flex: 1; background: var(--gh-surface); border: 1px solid var(--gh-border);
    border-radius: 999px; padding: 12px 18px; color: #fff; outline: none;
}
.gh-newsletter input::placeholder { color: var(--gh-muted); }
.gh-newsletter input:focus { border-color: var(--gh-cyan); box-shadow: 0 0 0 4px rgba(34, 211, 238, .14); }
.gh-newsletter button {
    border: none; border-radius: 999px; padding: 0 22px; color: #fff; font-weight: 800; cursor: pointer;
    background: var(--gh-gradient); transition: transform .25s ease;
}
.gh-newsletter button:hover { transform: scale(1.05); }
.gh-app-badges { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
/* 用 .gh-footer 前缀提升优先级：页脚通用链接样式 `.gh-footer a` / `a:hover`
   (display:inline-block、hover 时 padding-left:4px) 会盖掉徽章按钮的 padding 与 inline-flex，
   导致悬停瞬间图标贴边、按钮宽度跳动。 */
.gh-footer .gh-app-badge,
.gh-app-badge {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 9px 16px; border-radius: 12px;
    border: 1px solid var(--gh-border-strong); background: var(--gh-surface);
    color: #fff; text-decoration: none; font-weight: 700; font-size: .85rem;
    white-space: nowrap;
    min-width: 132px;
    transition: background .25s ease, border-color .25s ease, color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.gh-footer .gh-app-badge:hover,
.gh-app-badge:hover {
    background: var(--gh-surface-2);
    border-color: rgba(168, 85, 247, .45);
    color: #fff;
    padding: 9px 16px;
    transform: translateY(-2px);
    box-shadow: 0 12px 26px -16px rgba(0, 0, 0, .95);
}
.gh-footer__bottom {
    margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--gh-border);
    display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
    color: var(--gh-muted); font-size: .88rem;
}

/* 返回顶部 */
.gh-backtop {
    position: fixed; right: 26px; bottom: 26px; z-index: 1050;
    width: 50px; height: 50px; border-radius: 50%;
    background: var(--gh-gradient); color: #fff; border: none; cursor: pointer;
    display: grid; place-items: center; font-size: 1.2rem;
    box-shadow: 0 14px 34px -10px rgba(168, 85, 247, .9);
    opacity: 0; visibility: hidden; transform: translateY(16px) scale(.9);
    transition: all .3s ease;
}
.gh-backtop.show { opacity: 1; visibility: visible; transform: none; }
.gh-backtop:hover { transform: translateY(-4px) scale(1.06); }

/* =============================================================
   滚动揭示动画
   ============================================================= */
.gh-reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s ease; transition-delay: var(--d, 0s); }
.gh-reveal.is-visible { opacity: 1; transform: none; }

/* =============================================================
   分类页 / 详情页 — 深色玻璃作用域
   ============================================================= */
.gh-panel {
    background: var(--gh-surface);
    border: 1px solid var(--gh-border);
    border-radius: var(--gh-radius);
    padding: 26px;
    backdrop-filter: blur(8px);
}
.gh-page-head h1 { color: #fff; font-weight: 900; }
.gh-page-head p { color: var(--gh-muted); }

/* 游戏详情页：作用域化的深色转换（不影响后台白色面板） */
.gh-detail { color: var(--gh-text); }
.gh-detail .bg-white { background: var(--gh-surface) !important; border: 1px solid var(--gh-border) !important; color: var(--gh-text); }
.gh-detail .text-dark { color: #fff !important; }
.gh-detail .text-gray-700 { color: var(--gh-text) !important; }
.gh-detail .text-gray-600 { color: var(--gh-muted) !important; }
.gh-detail .text-gray-500 { color: var(--gh-muted) !important; }
.gh-detail .text-gray-300 { color: rgba(255, 255, 255, .85) !important; }
.gh-detail .bg-gray-100 { background: rgba(255, 255, 255, .06) !important; }
.gh-detail .bg-gray-200 { background: rgba(255, 255, 255, .10) !important; }
.gh-detail .border-gray-200 { border-color: var(--gh-border) !important; }
.gh-detail .border-gray-300 { border-color: var(--gh-border) !important; }
.gh-detail .bg-gradient-to-r.from-primary\/5 { background: var(--gh-surface) !important; }
.gh-detail .bg-primary\/5 { background: rgba(255, 255, 255, .05) !important; }
.gh-detail .bg-primary\/10 { background: rgba(255, 255, 255, .08) !important; }
.gh-detail .bg-gradient-to-r.from-warning { background: linear-gradient(90deg, #ffc107, #f59e0b) !important; }
.gh-detail .text-primary { color: var(--gh-cyan) !important; }
.gh-detail .text-secondary { color: var(--gh-muted) !important; }
.gh-detail input, .gh-detail textarea, .gh-detail select { background: rgba(255, 255, 255, .04); border-color: var(--gh-border); color: #fff; }
.gh-detail input::placeholder, .gh-detail textarea::placeholder { color: var(--gh-muted); }
.gh-detail .user-avatar { background-image: var(--gh-gradient) !important; }

/* =============================================================
   响应式
   ============================================================= */
@media (max-width: 1100px) {
    .gh-grid { grid-template-columns: repeat(3, 1fr); }
    .gh-features { grid-template-columns: repeat(2, 1fr); }
    .gh-news { grid-template-columns: repeat(2, 1fr); }
    .gh-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
    .gh-nav__links, .gh-nav__right .gh-search, .gh-nav__right .gh-pill { display: none; }
    .gh-burger { display: grid; place-items: center; }
    .gh-grid { grid-template-columns: repeat(2, 1fr); }
    .gh-stats { grid-template-columns: repeat(2, 1fr); gap: 22px; }
    .gh-stat + .gh-stat::before { display: none; }
    .gh-hero .carousel-caption .container { padding-bottom: 120px; }
}
@media (max-width: 560px) {
    .gh-grid { grid-template-columns: 1fr; }
    .gh-features { grid-template-columns: 1fr; }
    .gh-news { grid-template-columns: 1fr; }
    .gh-footer__grid { grid-template-columns: 1fr; }
    .gh-stats { grid-template-columns: 1fr 1fr; }
    .gh-hero__actions { flex-direction: column; align-items: stretch; }
}

/* =============================================================
   试玩 / 游戏播放器界面
   ============================================================= */
.gh-play { position: relative; z-index: 1; max-width: var(--gh-max); margin: 0 auto; padding: 26px 22px 60px; }

/* 顶部工具条 */
.gh-play__bar {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 12px 18px; margin-bottom: 18px;
    background: var(--gh-surface); border: 1px solid var(--gh-border);
    border-radius: var(--gh-radius-sm); backdrop-filter: blur(10px);
}
.gh-play__bar-left { display: flex; align-items: center; gap: 16px; min-width: 0; }
.gh-play__back { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 800; min-width: 0; }
.gh-play__back i { color: var(--gh-cyan); transition: transform .2s ease; }
.gh-play__back:hover i { transform: translateX(-3px); }
.gh-play__back-title { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 42vw; }
.gh-play__live {
    display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 700;
    color: var(--gh-muted); padding: 5px 12px; border-radius: 999px;
    background: rgba(255, 255, 255, .05); border: 1px solid var(--gh-border);
}
.gh-play__live-dot {
    width: 8px; height: 8px; border-radius: 50%; background: #38f08a;
    box-shadow: 0 0 0 0 rgba(56, 240, 138, .7); animation: ghPulse 1.6s infinite;
}
@keyframes ghPulse {
    0% { box-shadow: 0 0 0 0 rgba(56, 240, 138, .6); }
    70% { box-shadow: 0 0 0 9px rgba(56, 240, 138, 0); }
    100% { box-shadow: 0 0 0 0 rgba(56, 240, 138, 0); }
}
.gh-play__bar-right { display: flex; align-items: center; gap: 10px; }
.gh-play__btn {
    width: 42px; height: 42px; border-radius: 12px; cursor: pointer;
    display: grid; place-items: center; font-size: 1.05rem; color: var(--gh-text);
    background: var(--gh-surface); border: 1px solid var(--gh-border); transition: all .2s ease;
}
.gh-play__btn:hover { background: var(--gh-surface-2); transform: translateY(-2px); color: #fff; border-color: var(--gh-border-strong); }
.gh-play__btn.active { color: var(--gh-pink); border-color: rgba(236, 72, 153, .5); background: rgba(236, 72, 153, .12); }

/* 全屏触发按钮（顶栏常驻 + 舞台浮层共用 data-fs） */
.gh-play__fs-btn.active,
.gh-play__stage-ctrl.active {
    color: #fff; border-color: var(--gh-cyan); background: rgba(34, 211, 238, .16);
    box-shadow: 0 0 0 1px rgba(34, 211, 238, .45), 0 0 16px rgba(34, 211, 238, .28);
}

/* 舞台内悬浮控制条（显眼位置：游戏上直接操作） */
.gh-play__stage-controls {
    position: absolute; right: 16px; bottom: 16px; z-index: 6; display: flex; gap: 10px;
    pointer-events: none; opacity: 0; transform: translateY(10px); transition: all .22s ease;
}
.gh-play__stage:hover .gh-play__stage-controls,
.gh-play.is-web-fs .gh-play__stage-controls,
.gh-play__stage:fullscreen .gh-play__stage-controls,
.gh-play__stage:-webkit-full-screen .gh-play__stage-controls { opacity: 1; transform: translateY(0); }
.gh-play__stage-ctrl {
    pointer-events: auto; display: inline-flex; align-items: center; gap: 9px; cursor: pointer;
    padding: 11px 18px; border-radius: 999px; font-size: .9rem; font-weight: 800; color: #fff;
    background: rgba(8, 12, 24, .64); border: 1px solid var(--gh-border-strong);
    backdrop-filter: blur(8px); box-shadow: var(--gh-shadow); transition: all .2s ease;
}
.gh-play__stage-ctrl:hover { background: var(--gh-gradient); transform: translateY(-2px); }
.gh-play__stage-ctrl i { font-size: 1.05rem; }

/* 浮层退出按钮（网页全屏 / 浏览器全屏时显示） */
.gh-play__fs-exit {
    position: absolute; top: 14px; right: 14px; z-index: 6; display: none;
    align-items: center; gap: 8px; cursor: pointer; padding: 9px 14px;
    font-size: .85rem; font-weight: 800; color: #fff; text-decoration: none;
    background: rgba(8, 12, 24, .6); border: 1px solid var(--gh-border-strong);
    border-radius: 999px; backdrop-filter: blur(8px); transition: all .2s ease;
}
.gh-play__fs-exit:hover { background: var(--gh-gradient); transform: scale(1.04); }
.gh-play__fs-exit i { font-size: 1rem; }

/* 网页全屏（CSS 填满整个浏览器视口，不触发系统全屏） */
/* 关键：.gh-play 本身有 position:relative;z-index:1 会形成层叠上下文，
   会把内部舞台的 z-index:3000 困在内部，导致舞台被导航(1030)/页脚压住。
   因此进入网页全屏时把整个 .gh-play 抬到最顶层，并隐藏全局导航/页脚、禁止滚动。 */
body:has(.gh-play.is-web-fs) { overflow: hidden; }
body:has(.gh-play.is-web-fs) .gh-nav,
body:has(.gh-play.is-web-fs) .gh-footer,
body:has(.gh-play.is-web-fs) .gh-backtop { display: none; }
.gh-play.is-web-fs { z-index: 99999; }
.gh-play.is-web-fs .gh-play__bar,
.gh-play.is-web-fs .gh-play__side,
.gh-play.is-web-fs .gh-play__tags,
.gh-play.is-web-fs .gh-play__related { display: none; }
.gh-play.is-web-fs .gh-play__grid { display: block; }
.gh-play.is-web-fs .gh-play__stage {
    position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 1;
    aspect-ratio: auto; border-radius: 0; border: 0; box-shadow: none;
}
.gh-play.is-web-fs .gh-play__fs-exit { display: inline-flex; }

/* 整个屏幕全屏（浏览器 Fullscreen API） */
.gh-play__stage:fullscreen { width: 100%; height: 100%; border-radius: 0; border: 0; }
.gh-play__stage:-webkit-full-screen { width: 100%; height: 100%; border-radius: 0; border: 0; }
.gh-play__stage:fullscreen .gh-play__fs-exit,
.gh-play__stage:-webkit-full-screen .gh-play__fs-exit { display: inline-flex; }

/* 主体网格 */
.gh-play__grid { display: grid; grid-template-columns: 1fr 340px; gap: 22px; align-items: start; }

/* 舞台 */
.gh-play__stage {
    position: relative; width: 100%; aspect-ratio: 16 / 9; background: #04060d;
    border: 1px solid var(--gh-border); border-radius: var(--gh-radius);
    overflow: hidden; box-shadow: var(--gh-shadow);
}
.gh-play__stage iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #04060d; }
.gh-play__loader {
    position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column;
    align-items: center; justify-content: center; gap: 14px;
    background: radial-gradient(circle at 50% 40%, rgba(168, 85, 247, .18), #04060d 70%);
    transition: opacity .5s ease;
}
.gh-play__loader.is-hidden { opacity: 0; pointer-events: none; }
.gh-play__loader-title { color: #fff; font-weight: 700; font-size: 1.05rem; margin: 0; }
.gh-play__loader-hint { color: var(--gh-muted); margin: 0; }
.gh-spinner {
    width: 52px; height: 52px; border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, .12); border-top-color: var(--gh-cyan);
    animation: ghSpin .9s linear infinite;
}
@keyframes ghSpin { to { transform: rotate(360deg); } }

/* 下载态 */
.gh-play__download {
    position: absolute; inset: 0; display: flex; flex-direction: column;
    align-items: center; justify-content: center; gap: 14px; text-align: center; padding: 30px;
    background: radial-gradient(circle at 50% 35%, rgba(34, 211, 238, .16), #04060d 70%);
}
.gh-play__download-icon {
    width: 78px; height: 78px; border-radius: 22px; display: grid; place-items: center;
    font-size: 2rem; color: #fff; background: var(--gh-gradient); box-shadow: var(--gh-glow);
}
.gh-play__download h3 { color: #fff; margin: 0; }
.gh-play__download p { color: var(--gh-muted); max-width: 460px; margin: 0; }
.gh-play__download-btn {
    display: inline-flex; align-items: center; gap: 10px; margin-top: 6px;
    padding: 13px 28px; border-radius: 999px; color: #fff; font-weight: 800; text-decoration: none;
    background: var(--gh-gradient); box-shadow: var(--gh-glow); transition: transform .25s ease;
}
.gh-play__download-btn:hover { transform: translateY(-3px) scale(1.03); color: #fff; }

/* 余额不足占位态：不输出游戏 iframe / 下载地址，也不启动会话计时 */
.gh-play__blocked {
    position: absolute; inset: 0; display: flex; flex-direction: column;
    align-items: center; justify-content: center; gap: 14px; text-align: center; padding: 30px;
    background: radial-gradient(circle at 50% 35%, rgba(244, 63, 94, .14), #04060d 70%);
}
.gh-play__blocked-icon {
    width: 78px; height: 78px; border-radius: 22px; display: grid; place-items: center;
    font-size: 2rem; color: #fff; background: var(--gh-gradient); box-shadow: var(--gh-glow);
}
.gh-play__blocked-title {
    color: #fff; margin: 0; font-size: 1.35rem; font-weight: 800;
    line-height: 1.5; max-width: 620px;
}
.gh-play__blocked-hint { color: var(--gh-muted); margin: 0; font-size: .92rem; }
.gh-play__blocked-btn {
    display: inline-flex; align-items: center; gap: 10px; margin-top: 8px;
    padding: 13px 28px; border-radius: 999px; color: #fff; font-weight: 800; text-decoration: none;
    background: var(--gh-gradient); box-shadow: var(--gh-glow); transition: transform .25s ease;
}
.gh-play__blocked-btn:hover { transform: translateY(-3px) scale(1.03); color: #fff; }
.gh-play__live.is-idle .gh-play__live-dot,
.gh-session.is-blocked .gh-session__pulse {
    background: var(--gh-muted); box-shadow: none; animation: none;
}

/* 分类标签条 */
.gh-play__tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.gh-tag {
    display: inline-flex; align-items: center; padding: 7px 16px; border-radius: 999px;
    font-size: .85rem; font-weight: 700; color: var(--gh-text); text-decoration: none;
    background: var(--gh-surface); border: 1px solid var(--gh-border); transition: all .2s ease;
}
.gh-tag:hover { background: var(--gh-surface-2); transform: translateY(-2px); color: #fff; border-color: var(--gh-border-strong); }

/* 侧边栏 */
.gh-play__side { display: flex; flex-direction: column; gap: 18px; }

/* 会话卡片 */
.gh-session__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.gh-session__label { color: var(--gh-muted); font-weight: 700; font-size: .92rem; }
.gh-session__label i { color: var(--gh-cyan); margin-right: 6px; }
.gh-session__pulse { width: 9px; height: 9px; border-radius: 50%; background: #38f08a; animation: ghPulse 1.6s infinite; }
.gh-session__timer {
    font-size: 2.6rem; font-weight: 900; color: #fff; letter-spacing: 1px; line-height: 1;
    font-variant-numeric: tabular-nums; background: var(--gh-gradient);
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.gh-session__cost { display: flex; align-items: baseline; justify-content: space-between; margin-top: 10px; }
.gh-session__cost span { color: var(--gh-muted); font-size: .9rem; }
.gh-session__cost b { font-size: 1.5rem; color: #fff; font-weight: 900; }
.gh-meter { height: 6px; border-radius: 999px; background: rgba(255, 255, 255, .08); margin: 14px 0; overflow: hidden; }
.gh-meter i { display: block; height: 100%; border-radius: 999px; background: var(--gh-gradient); transition: width .4s linear; }
.gh-session__row { display: flex; align-items: center; justify-content: space-between; color: var(--gh-muted); font-size: .9rem; margin-bottom: 16px; }
.gh-session__row b { color: #fff; }
.gh-session__end { width: 100%; justify-content: center; }

/* 通用按钮 */
.gh-btn {
    display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 12px;
    font-weight: 800; cursor: pointer; border: 1px solid var(--gh-border); color: #fff;
    background: var(--gh-surface); transition: all .2s ease;
}
.gh-btn:hover { background: var(--gh-surface-2); transform: translateY(-2px); }
.gh-btn--gradient { background: var(--gh-gradient); border-color: transparent; box-shadow: var(--gh-glow); }
.gh-btn--gradient:hover { transform: translateY(-2px) scale(1.02); }
.gh-btn:disabled { opacity: .7; cursor: default; transform: none; }

/* 游戏信息卡片 */
.gh-gameinfo__media { width: 100%; aspect-ratio: 16 / 9; border-radius: var(--gh-radius-sm); overflow: hidden; margin-bottom: 14px; border: 1px solid var(--gh-border); }
.gh-gameinfo__media img { width: 100%; height: 100%; object-fit: cover; }
.gh-gameinfo__title { color: #fff; font-size: 1.2rem; font-weight: 900; margin: 0 0 8px; }
.gh-gameinfo__rating { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.gh-rating-stars { color: #ffc83d; letter-spacing: 2px; }
.gh-rating-num { color: var(--gh-muted); font-weight: 700; }
.gh-gameinfo__dev { color: var(--gh-muted); font-size: .9rem; margin-bottom: 10px; }
.gh-gameinfo__dev i { color: var(--gh-cyan); margin-right: 6px; }
.gh-gameinfo__dev a { color: var(--gh-text); font-weight: 700; text-decoration: none; }
.gh-gameinfo__dev a:hover { color: var(--gh-cyan); }
.gh-gameinfo__desc { color: var(--gh-muted); font-size: .92rem; margin: 0; line-height: 1.6; }

/* 操作提示卡片 */
.gh-controls__title { color: #fff; font-size: 1.05rem; font-weight: 800; margin: 0 0 14px; }
.gh-controls__title i { color: var(--gh-violet); margin-right: 8px; }
.gh-controls__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.gh-controls__list li { display: flex; align-items: center; gap: 12px; color: var(--gh-muted); font-size: .92rem; }
.gh-controls__list kbd {
    min-width: 64px; text-align: center; padding: 5px 10px; border-radius: 8px; font-weight: 800; font-size: .8rem;
    color: #fff; background: var(--gh-surface-2); border: 1px solid var(--gh-border-strong);
    box-shadow: 0 2px 0 rgba(0, 0, 0, .3);
}

/* 相关推荐 */
.gh-link-more { color: var(--gh-cyan); font-weight: 800; text-decoration: none; white-space: nowrap; }
.gh-link-more:hover { color: #fff; }
.gh-play__related { padding-top: 56px; }
.gh-play__related-row { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.gh-mini {
    display: block; text-decoration: none; border-radius: var(--gh-radius-sm); overflow: hidden;
    background: var(--gh-surface); border: 1px solid var(--gh-border); transition: all .25s ease;
}
.gh-mini:hover { transform: translateY(-4px); border-color: var(--gh-border-strong); box-shadow: var(--gh-shadow); }
.gh-mini__media { position: relative; aspect-ratio: 3 / 4; overflow: hidden; }
.gh-mini__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gh-mini:hover .gh-mini__media img { transform: scale(1.08); }
.gh-mini__play {
    position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; transition: opacity .25s ease;
    background: linear-gradient(180deg, transparent, rgba(6, 9, 18, .55)); color: #fff; font-size: 1.6rem;
}
.gh-mini:hover .gh-mini__play { opacity: 1; }
.gh-mini__body { padding: 11px 12px 13px; }
.gh-mini__title { color: #fff; font-size: .92rem; font-weight: 800; margin: 0 0 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gh-mini__meta { display: flex; align-items: center; justify-content: space-between; font-size: .8rem; }
.gh-mini__rating { color: #ffc83d; font-weight: 700; }
.gh-mini__price { color: var(--gh-muted); font-weight: 700; }

/* 轻提示 */
.gh-toast {
    position: fixed; left: 50%; bottom: 40px; transform: translate(-50%, 20px); z-index: 2000;
    background: rgba(10, 15, 31, .92); color: #fff; padding: 13px 24px; border-radius: 999px;
    border: 1px solid var(--gh-border-strong); backdrop-filter: blur(10px);
    box-shadow: var(--gh-shadow); font-weight: 700; font-size: .92rem;
    opacity: 0; visibility: hidden; transition: all .3s ease; pointer-events: none;
}
.gh-toast.show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

/* 播放器响应式 */
@media (max-width: 980px) {
    .gh-play__grid { grid-template-columns: 1fr; }
    .gh-play__side { flex-direction: row; flex-wrap: wrap; }
    .gh-play__side > .gh-panel { flex: 1 1 260px; }
    .gh-play__related-row { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px) {
    .gh-play { padding: 16px 14px 50px; }
    .gh-play__back-title { max-width: 32vw; }
    .gh-play__bar { padding: 10px 12px; }
    .gh-play__related-row { grid-template-columns: repeat(2, 1fr); }
    .gh-session__timer { font-size: 2.1rem; }
}

/* ===== 道具商城（详情页） ===== */
.gh-store { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.gh-store__item {
    display: flex; align-items: center; gap: 12px; padding: 14px;
    border-radius: 14px; border: 1px solid rgba(255,255,255,.08);
    background: rgba(255,255,255,.04); transition: border-color .2s, transform .2s;
}
.gh-store__item:hover { border-color: rgba(124,140,255,.45); transform: translateY(-2px); }
.gh-store__icon { width: 52px; height: 52px; flex: 0 0 52px; border-radius: 12px; overflow: hidden;
    display: flex; align-items: center; justify-content: center; background: rgba(124,140,255,.12); color: var(--gh-blue, #7c8cff); font-size: 1.3rem; }
.gh-store__icon img { width: 100%; height: 100%; object-fit: cover; }
.gh-store__info { flex: 1; min-width: 0; }
.gh-store__name { font-weight: 700; color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gh-store__desc { font-size: .8rem; color: var(--gh-muted); margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gh-store__buy { text-align: right; }
.gh-store__price { display: block; font-weight: 800; color: var(--gh-pink-2, #f472b6); margin-bottom: 6px; }
.gh-store__btn {
    display: inline-block; padding: 6px 14px; border-radius: 999px; font-size: .8rem; font-weight: 700;
    background: var(--gh-gradient); color: #fff; border: none; cursor: pointer; text-decoration: none;
}
.gh-store__btn:hover { opacity: .9; color: #fff; }
.gh-store__btn--muted { background: rgba(255,255,255,.1); color: var(--gh-muted); }

/* 试玩页底部：商城横向网格 + 游戏信息横排占满左侧；操作提示在右栏会话卡下 */
.gh-play__store { margin-top: 16px; }
.gh-play__store .gh-store { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.gh-play__main > .gh-gameinfo { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 0 20px; }
.gh-play__main > .gh-gameinfo .gh-gameinfo__media { width: 260px; flex: 0 0 260px; margin-bottom: 8px; }
.gh-play__main > .gh-gameinfo .gh-gameinfo__title,
.gh-play__main > .gh-gameinfo .gh-gameinfo__rating,
.gh-play__main > .gh-gameinfo .gh-gameinfo__dev { flex: 1 1 calc(100% - 284px); margin-bottom: 8px; }
.gh-play__main > .gh-gameinfo .gh-gameinfo__desc { flex: 1 1 calc(100% - 284px); margin-bottom: 0; }
@media (max-width: 992px) {
    .gh-play__main > .gh-gameinfo .gh-gameinfo__media { width: 100%; flex-basis: 100%; }
    .gh-play__main > .gh-gameinfo .gh-gameinfo__title,
    .gh-play__main > .gh-gameinfo .gh-gameinfo__rating,
    .gh-play__main > .gh-gameinfo .gh-gameinfo__dev,
    .gh-play__main > .gh-gameinfo .gh-gameinfo__desc { flex-basis: 100%; }
}

/* ===== 顶栏铃铛 ===== */
.gh-avatar--bell { position: relative; }
.gh-bell__dot {
    position: absolute; top: -4px; right: -6px; min-width: 17px; height: 17px; padding: 0 4px;
    border-radius: 999px; background: #ef4444; color: #fff; font-size: .62rem; font-weight: 800;
    display: inline-flex; align-items: center; justify-content: center; line-height: 1;
}
.gh-bell__dot--inline { position: static; margin-left: 6px; }

/* ===== 用户中心：消息列表 / 工单（gh-dash 深色作用域内） ===== */
.gh-dash .list-group-item { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.08); color: var(--gh-text, #e6e9f5); }
.gh-dash .list-group-item:hover { background: rgba(255,255,255,.07); }
.gh-notif--unread { border-left: 3px solid var(--gh-pink-2, #f472b6); }
.gh-notif__type { font-size: .72rem; padding: 2px 8px; border-radius: 999px; background: rgba(124,140,255,.15); color: var(--gh-blue, #7c8cff); }
.gh-notif__type--recharge { background: rgba(52,211,153,.15); color: #34d399; }
.gh-notif__type--consume, .gh-notif__type--purchase { background: rgba(251,191,36,.15); color: #fbbf24; }
.gh-notif__type--refund { background: rgba(239,68,68,.15); color: #f87171; }
