@charset "UTF-8";
/* ==========================================================================
   平台内页（游戏大厅 / 开服表 / 充值中心 / 客服中心 / 用户中心）
   与首页同一套皮肤；颜色通过变量适配亮色 / 暗色
   ========================================================================== */

:root {
    --pg-text: #e8edf7;
    --pg-text-2: #c3cde0;
    --pg-muted: #93a0b8;
    --pg-weak: #7f8ba3;
    --pg-line: rgba(255, 255, 255, .09);
    --pg-line-strong: rgba(255, 255, 255, .18);
    --pg-panel: rgba(11, 15, 25, .78);
    --pg-panel-solid: #0b0f19;
    --pg-soft: rgba(255, 255, 255, .035);
    --pg-soft-2: rgba(255, 255, 255, .055);
    --pg-gold: #f3c14b;
    --pg-gold-ink: #f3c14b;
    --pg-gold-soft: rgba(243, 193, 75, .12);
    --pg-green: #4ade9f;
    --pg-red: #ff8c93;
    --pg-blue: #8fb9ff;
    --pg-input: rgba(255, 255, 255, .04);
    --pg-shadow: 0 16px 44px rgba(0, 0, 0, .28);
}

.theme-light {
    --pg-text: #1b2333;
    --pg-text-2: #3d4759;
    --pg-muted: #6b7688;
    --pg-weak: #8b95a7;
    --pg-line: rgba(20, 32, 55, .10);
    --pg-line-strong: rgba(20, 32, 55, .18);
    --pg-panel: #fff;
    --pg-panel-solid: #fff;
    --pg-soft: #f6f8fc;
    --pg-soft-2: #f0f4fa;
    --pg-gold: #d99a21;
    --pg-gold-ink: #a8740a;
    --pg-gold-soft: rgba(217, 154, 33, .12);
    --pg-green: #0f8a5f;
    --pg-red: #d92a38;
    --pg-blue: #2f6fd0;
    --pg-input: #fff;
    --pg-shadow: 0 14px 34px rgba(23, 33, 52, .07);
}

.theme-light .skin-page {
    background-color: #f3f5fa;
    color: var(--pg-text);
    background-image:
        radial-gradient(1100px 520px at 50% -12%, rgba(217, 154, 33, .10), transparent 62%),
        radial-gradient(900px 420px at 88% 8%, rgba(90, 130, 255, .05), transparent 60%);
}

/* 内容不足时页脚贴底 */
.skin-page .g-wrapper { display: flex; flex-direction: column; min-height: 100vh; }
.skin-page .g-wrapper > .site-footer { margin-top: auto; }

/* ==========================================================================
   页面骨架
   ========================================================================== */
.pg-page { width: 1200px; margin: 0 auto; padding: 24px 0 46px; }
.pg-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}
.pg-head-left { min-width: 0; }
.pg-crumb { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; color: var(--pg-weak); font-size: 12px; }
.pg-crumb i { color: var(--pg-line-strong); }
.pg-crumb a:hover { color: var(--pg-gold-ink); }
.pg-head h1 { margin: 0; color: var(--pg-text); font-size: 28px; line-height: 1.25; font-weight: 800; letter-spacing: 1px; }
.pg-head p { margin-top: 5px; color: var(--pg-muted); font-size: 13px; }
.pg-head-actions { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }

.pg-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 20px; align-items: start; }
.pg-side { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.pg-side .panel { margin: 0; }

.pg-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    padding: 0 20px;
    border: 1px solid var(--pg-line-strong);
    border-radius: 7px;
    background: transparent;
    color: var(--pg-text-2);
    font-size: 13px;
    transition: .18s;
}
.pg-btn:hover { border-color: var(--pg-gold); color: var(--pg-gold-ink); background: var(--pg-gold-soft); }
.pg-btn-gold {
    border-color: transparent;
    background: linear-gradient(135deg, #f7d76d, #e0a527);
    color: #2a1a00;
    font-weight: 700;
}
.pg-btn-gold:hover { color: #2a1a00; border-color: transparent; background: linear-gradient(135deg, #f7d76d, #e0a527); filter: brightness(1.06); }
/* 金色按钮在亮/暗主题下文字始终为黑色 */
.pg-btn-gold,
.pg-btn-gold:hover,
.pg-btn-gold:focus,
.pg-btn-gold:active,
.theme-light .pg-btn-gold,
.theme-light .pg-btn-gold:hover,
.theme-dark .pg-btn-gold,
.theme-dark .pg-btn-gold:hover { color: #2a1a00; }
.pg-btn-sm { height: 28px; padding: 0 12px; font-size: 12px; border-radius: 5px; }

/* ==========================================================================
   筛选
   ========================================================================== */
.pg-filter { padding: 14px 20px 12px; border-bottom: 1px solid var(--pg-line); }
.pg-filter-row { display: flex; align-items: flex-start; gap: 10px; padding: 5px 0; }
.pg-filter-label { flex: 0 0 64px; color: var(--pg-muted); font-size: 13px; line-height: 26px; }
.pg-chips { display: flex; flex-wrap: wrap; gap: 5px; }
.pg-chip {
    display: inline-flex;
    align-items: center;
    height: 26px;
    padding: 0 10px;
    border: 1px solid transparent;
    border-radius: 5px;
    color: var(--pg-muted);
    font-size: 12px;
    transition: .18s;
}
.pg-chip:hover { color: var(--pg-text); background: var(--pg-soft); }
.pg-chip.cur { border-color: var(--pg-gold); background: var(--pg-gold-soft); color: var(--pg-gold-ink); font-weight: 700; }

/* ==========================================================================
   游戏卡片（大厅）
   ========================================================================== */
.pg-game-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; padding: 18px 20px 8px; }
.pg-game-card {
    border: 1px solid var(--pg-line);
    border-radius: 11px;
    background: var(--pg-soft);
    overflow: hidden;
    transition: .2s;
}
.pg-game-card:hover { border-color: rgba(217, 154, 33, .55); transform: translateY(-2px); box-shadow: var(--pg-shadow); }
.pg-game-cover {
    position: relative;
    display: block;
    padding-bottom: 41.6%;
    background-color: var(--pg-soft-2);
    background-position: center;
    background-size: cover;
    overflow: hidden;
}
.pg-game-cover:after {
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    background: linear-gradient(180deg, rgba(5, 7, 13, .02) 30%, rgba(5, 7, 13, .55) 100%);
    transition: .2s;
}
.pg-game-card:hover .pg-game-cover:after { background: rgba(5, 7, 13, .55); }
.pg-game-play {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 2;
    padding: 5px 16px;
    border-radius: 4px;
    background: rgba(217, 154, 33, .95);
    color: #2a1a00;
    font-size: 12px;
    font-weight: 700;
    opacity: 0;
    transform: translate(-50%, -50%) scale(.92);
    transition: .2s;
    white-space: nowrap;
}
.pg-game-card:hover .pg-game-play { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.pg-game-hot {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 2;
    padding: 1px 7px;
    border-radius: 3px;
    background: #e8603c;
    color: #fff;
    font-size: 10px;
}
.pg-game-info { padding: 9px 11px 10px; }
.pg-game-name-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.pg-game-name { overflow: hidden; color: var(--pg-text); font-size: 14px; font-weight: 700; white-space: nowrap; text-overflow: ellipsis; }
.pg-game-name:hover { color: var(--pg-gold-ink); }
.pg-game-ratio { flex: 0 0 auto; color: var(--pg-gold-ink); font-size: 11px; }
.pg-game-type { display: block; overflow: hidden; margin-top: 1px; color: var(--pg-weak); font-size: 11px; white-space: nowrap; text-overflow: ellipsis; }
.pg-game-platforms { display: flex; gap: 5px; margin-top: 7px; }
.pg-game-platforms i { padding: 0 6px; height: 17px; border: 1px solid; border-radius: 3px; font-size: 10px; line-height: 15px; }
.pg-game-platforms i.on { border-color: rgba(15, 138, 95, .35); background: rgba(15, 138, 95, .08); color: var(--pg-green); }
.pg-game-platforms i.off { border-color: var(--pg-line); background: var(--pg-soft); color: var(--pg-weak); text-decoration: line-through; }

/* ==========================================================================
   分页
   ========================================================================== */
.pg-pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; padding: 10px 0 20px; }
.pg-page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    padding: 0 10px;
    border: 1px solid var(--pg-line);
    border-radius: 6px;
    color: var(--pg-muted);
    font-size: 12px;
    transition: .18s;
}
.pg-page-btn:hover { border-color: var(--pg-gold); color: var(--pg-gold-ink); }
.pg-page-btn.cur { border-color: var(--pg-gold); background: var(--pg-gold-soft); color: var(--pg-gold-ink); font-weight: 700; }
.pg-page-btn.disabled { opacity: .4; pointer-events: none; }
.pg-page-total { margin-left: 6px; color: var(--pg-weak); font-size: 12px; }

/* ==========================================================================
   Tab / 列表 / 空状态
   ========================================================================== */
.pg-tabs { display: flex; gap: 4px; padding: 4px; border: 1px solid var(--pg-line); border-radius: 8px; background: var(--pg-soft); margin-bottom: 10px; }
.pg-tab { flex: 1; height: 30px; border-radius: 6px; color: var(--pg-muted); font-size: 12px; transition: .18s; }
.pg-tab:hover { color: var(--pg-text); }
.pg-tab.cur { background: var(--pg-gold-soft); color: var(--pg-gold-ink); font-weight: 700; }
.pg-pane { display: none; }
.pg-pane.cur { display: block; }
.pg-list { display: flex; flex-direction: column; }
.pg-row { display: flex; align-items: center; gap: 10px; padding: 9px 2px; border-bottom: 1px dashed var(--pg-line); }
.pg-row:last-child { border-bottom: 0; }
.pg-row-main { min-width: 0; flex: 1; }
.pg-row-main strong { display: block; overflow: hidden; color: var(--pg-text); font-size: 13px; font-weight: 600; white-space: nowrap; text-overflow: ellipsis; }
.pg-row-main span { display: block; overflow: hidden; color: var(--pg-weak); font-size: 11px; white-space: nowrap; text-overflow: ellipsis; }
.pg-row-time { flex: 0 0 auto; color: var(--pg-muted); font-size: 11px; text-align: right; }
.pg-row-time.hot { color: var(--pg-gold-ink); }
.pg-hot-tag { display: inline-block; margin-left: 4px; padding: 0 4px; border-radius: 2px; background: var(--pg-gold-soft); color: var(--pg-gold-ink); font-size: 10px; font-weight: 400; vertical-align: 1px; }
.pg-empty { padding: 34px 0; text-align: center; color: var(--pg-weak); font-size: 12px; }

/* ==========================================================================
   开服表
   ========================================================================== */
.pg-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 20px; }
.pg-stat {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    border: 1px solid var(--pg-line);
    border-radius: 12px;
    background: var(--pg-soft);
}
.pg-stat em {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--pg-gold-soft);
    color: var(--pg-gold-ink);
    font-size: 18px;
    font-weight: 800;
}
.pg-stat strong { display: block; color: var(--pg-text); font-size: 20px; font-weight: 800; line-height: 1.2; }
.pg-stat span { color: var(--pg-muted); font-size: 12px; }
.pg-day-tabs { display: flex; gap: 6px; padding: 4px; border: 1px solid var(--pg-line); border-radius: 8px; background: var(--pg-soft); margin-bottom: 4px; }
.pg-day-tab { flex: 1; height: 34px; border-radius: 6px; color: var(--pg-muted); font-size: 13px; transition: .18s; }
.pg-day-tab:hover { color: var(--pg-text); }
.pg-day-tab.cur { background: var(--pg-gold-soft); color: var(--pg-gold-ink); font-weight: 700; }
.pg-table-wrap { overflow-x: auto; }
.pg-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.pg-table th {
    padding: 11px 14px;
    border-bottom: 1px solid var(--pg-line);
    background: var(--pg-soft);
    color: var(--pg-muted);
    font-size: 12px;
    font-weight: 500;
    text-align: left;
    white-space: nowrap;
}
.pg-table td { padding: 12px 14px; border-bottom: 1px dashed var(--pg-line); color: var(--pg-text-2); vertical-align: middle; }
.pg-table tr:hover td { background: var(--pg-soft); }
.pg-table .time { color: var(--pg-gold-ink); font-weight: 600; white-space: nowrap; }
.pg-table .game { color: var(--pg-text); font-weight: 600; }
.pg-table .server { color: var(--pg-blue); }
.pg-table .ratio { color: var(--pg-gold-ink); font-weight: 700; white-space: nowrap; }
.pg-table .feature { max-width: 360px; color: var(--pg-muted); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pg-table .feature a { color: var(--pg-muted); }
.pg-table .feature a:hover { color: var(--pg-gold-ink); }
.pg-table .ops { text-align: right; white-space: nowrap; }
.pg-tag-act, .pg-tag-gift {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    margin-right: 3px;
    border-radius: 3px;
    font-size: 10px;
}
.pg-tag-act { border: 1px solid rgba(217, 42, 56, .35); background: rgba(217, 42, 56, .08); color: var(--pg-red); }
.pg-tag-gift { border: 1px solid rgba(217, 154, 33, .35); background: var(--pg-gold-soft); color: var(--pg-gold-ink); }

/* ==========================================================================
   客服中心
   ========================================================================== */
.pg-contact {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 22px 24px;
}
.pg-contact-qr {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 10px;
    border: 1px dashed var(--pg-line-strong);
    border-radius: 10px;
    background: #fff;
}
.pg-contact-qr img { width: 122px; height: 122px; object-fit: cover; }
.pg-contact-qr span { color: #6b7688; font-size: 11px; }
.pg-contact-info { min-width: 0; flex: 1; }
.pg-contact-info h2 { margin: 0 0 6px; color: var(--pg-text); font-size: 20px; }
.pg-contact-info > p { color: var(--pg-muted); font-size: 13px; line-height: 1.9; }
.pg-contact-lines { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.pg-contact-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 9px 12px;
    border: 1px solid var(--pg-line);
    border-radius: 8px;
    background: var(--pg-soft);
    font-size: 12px;
}
.pg-contact-line span { color: var(--pg-muted); }
.pg-contact-line em { color: var(--pg-text); font-weight: 600; }
.pg-service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; padding: 18px 20px; }
.pg-service-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px;
    border: 1px solid var(--pg-line);
    border-radius: 12px;
    background: var(--pg-soft);
    transition: .2s;
}
.pg-service-card:hover { border-color: rgba(217, 154, 33, .5); background: var(--pg-gold-soft); transform: translateY(-2px); }
.pg-service-ico {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: var(--pg-gold-soft);
    color: var(--pg-gold-ink);
    font-size: 18px;
    font-weight: 800;
}
.pg-service-card h3 { margin: 1px 0 4px; color: var(--pg-text); font-size: 15px; }
.pg-service-card p { color: var(--pg-muted); font-size: 12px; line-height: 1.7; }

.pg-service-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 20px; align-items: start; }
.pg-side-nav { padding: 8px; }
.pg-side-nav a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 11px 13px;
    border-radius: 8px;
    color: var(--pg-muted);
    font-size: 13px;
    transition: .18s;
}
.pg-side-nav a:hover { color: var(--pg-text); background: var(--pg-soft); }
.pg-side-nav a.cur { background: var(--pg-gold-soft); color: var(--pg-gold-ink); font-weight: 700; }
.pg-faq { padding: 0 20px; }
.pg-faq details { border-bottom: 1px dashed var(--pg-line); }
.pg-faq details:last-child { border-bottom: 0; }
.pg-faq summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 0;
    color: var(--pg-text);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
}
.pg-faq summary::-webkit-details-marker { display: none; }
.pg-faq summary:after { content: '+'; flex: 0 0 auto; color: var(--pg-gold-ink); font-size: 16px; }
.pg-faq details[open] summary:after { content: '−'; }
.pg-faq .answer { padding: 0 0 16px; color: var(--pg-muted); font-size: 13px; line-height: 1.9; }
.pg-article { padding: 6px 22px 26px; color: var(--pg-text-2); font-size: 13px; line-height: 2; }
.pg-article h2, .pg-article h3 { margin: 18px 0 8px; color: var(--pg-text); }
.pg-article p { margin: 8px 0; }
.pg-article a { color: var(--pg-blue); }
.pg-article img { max-width: 100%; }

/* ==========================================================================
   用户中心
   ========================================================================== */
.pg-user-hero { display: flex; align-items: center; gap: 18px; padding: 22px 24px; }
.pg-user-avatar {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    overflow: hidden;
    border-radius: 50%;
    background: linear-gradient(135deg, #f7d76d, #d99a21);
    color: #251700;
    font-size: 26px;
    font-weight: 800;
    box-shadow: 0 0 0 4px var(--pg-gold-soft);
}
.pg-user-avatar img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.pg-user-info { min-width: 0; flex: 1; }
.pg-user-info h2 { margin: 0; color: var(--pg-text); font-size: 22px; font-weight: 800; }
.pg-user-info p { margin-top: 4px; color: var(--pg-muted); font-size: 12px; }
.pg-user-balance {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 14px;
    border: 1px solid rgba(217, 154, 33, .28);
    border-radius: 9px;
    background: var(--pg-gold-soft);
}
.pg-user-balance span { color: var(--pg-muted); font-size: 12px; }
.pg-user-balance em { color: var(--pg-gold-ink); font-size: 19px; font-weight: 800; }
.pg-user-actions { display: flex; gap: 8px; }
.pg-user-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 20px; margin-top: 20px; align-items: start; }
.pg-security-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 18px 20px; }
.pg-security-item { display: flex; align-items: flex-start; gap: 12px; padding: 16px; border: 1px solid var(--pg-line); border-radius: 11px; background: var(--pg-soft); }
.pg-security-ico {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--pg-gold-soft);
    color: var(--pg-gold-ink);
    font-size: 15px;
    font-weight: 800;
}
.pg-security-body { min-width: 0; flex: 1; }
.pg-security-body h4 { display: flex; align-items: center; gap: 8px; margin: 0 0 3px; color: var(--pg-text); font-size: 14px; }
.pg-security-body h4 em { padding: 0 5px; border-radius: 3px; font-size: 10px; font-weight: 400; }
.pg-security-body h4 em.on { background: rgba(15, 138, 95, .1); color: var(--pg-green); }
.pg-security-body h4 em.off { background: rgba(217, 42, 56, .08); color: var(--pg-red); }
.pg-security-body p { color: var(--pg-muted); font-size: 12px; line-height: 1.7; }
.pg-security-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.pg-security-note { margin: 0 20px 18px; padding: 12px 14px; border: 1px solid var(--pg-line); border-radius: 9px; background: var(--pg-soft); color: var(--pg-muted); font-size: 12px; line-height: 1.8; }
.pg-tip-text { padding: 0 20px 4px; color: var(--pg-muted); font-size: 12px; line-height: 1.9; }
.pg-tip-text strong { color: var(--pg-gold-ink); font-weight: 600; }
.pg-notice {
    margin-bottom: 16px;
    padding: 12px 15px;
    border: 1px solid rgba(15, 138, 95, .3);
    border-radius: 8px;
    background: rgba(15, 138, 95, .08);
    color: var(--pg-green);
    font-size: 13px;
}
.pg-notice.error { border-color: rgba(217, 42, 56, .3); background: rgba(217, 42, 56, .08); color: var(--pg-red); }

/* ==========================================================================
   登录 / 注册
   ========================================================================== */
.pg-auth-wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 400px;
    gap: 30px;
    align-items: center;
    width: 1000px;
    min-height: 520px;
    margin: 0 auto;
    padding: 38px 0 46px;
}
.pg-auth-info h1 { margin: 12px 0 10px; color: var(--pg-text); font-size: 32px; font-weight: 800; letter-spacing: .5px; }
.pg-auth-info > p { color: var(--pg-muted); font-size: 13px; line-height: 1.9; }
.pg-auth-points { display: grid; gap: 10px; margin-top: 22px; }
.pg-auth-points li { display: flex; align-items: center; gap: 9px; color: var(--pg-text-2); font-size: 13px; }
.pg-auth-points li:before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--pg-gold); box-shadow: 0 0 8px var(--pg-gold); }
.pg-auth-card .panel-bd { padding: 22px 24px 24px; }
.pg-auth-links { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 4px; color: var(--pg-muted); font-size: 12px; }
.pg-auth-links a:hover { color: var(--pg-gold-ink); }
.pg-third-login { display: flex; align-items: center; gap: 10px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--pg-line); }
.pg-third-login em { margin-right: 2px; color: var(--pg-weak); font-size: 11px; font-style: normal; }
.pg-third-btn { display: inline-flex; align-items: center; justify-content: center; min-width: 78px; height: 32px; padding: 0 12px; border: 1px solid var(--pg-line-strong); border-radius: 6px; color: var(--pg-muted); font-size: 12px; transition: .18s; }
.pg-third-btn:hover { border-color: var(--pg-gold); color: var(--pg-gold-ink); }
.pg-auth-single { width: 460px; margin: 36px auto 46px; }
.pg-auth-single .panel-bd { padding: 22px 24px 24px; }
.pg-auth-head { margin-bottom: 16px; text-align: center; }
.pg-auth-head h1 { color: var(--pg-text); font-size: 22px; }
.pg-auth-head p { margin-top: 5px; color: var(--pg-muted); font-size: 12px; }

/* ==========================================================================
   游戏盒子
   ========================================================================== */
.pg-box-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    gap: 34px;
    align-items: center;
    padding: 34px 38px;
    border: 1px solid var(--pg-line);
    border-radius: 16px;
    background:
        radial-gradient(520px 260px at 88% 18%, rgba(217, 154, 33, .18), transparent 68%),
        var(--pg-panel-solid);
    box-shadow: var(--pg-shadow);
}
.pg-box-kicker { display: inline-flex; align-items: center; gap: 7px; color: var(--pg-gold-ink); font-size: 12px; letter-spacing: 1px; }
.pg-box-kicker:before { content: ''; width: 16px; height: 1px; background: var(--pg-gold); }
.pg-box-hero h1 { margin: 12px 0 10px; color: var(--pg-text); font-size: 34px; font-weight: 800; }
.pg-box-hero p { color: var(--pg-muted); font-size: 13px; line-height: 1.9; }
.pg-box-downloads { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.pg-box-meta { display: flex; gap: 18px; margin-top: 14px; color: var(--pg-weak); font-size: 11px; }
.pg-box-visual { display: flex; justify-content: center; }
.pg-box-screen {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 280px;
    height: 190px;
    padding: 18px;
    border: 1px solid var(--pg-line-strong);
    border-radius: 14px;
    background:
        radial-gradient(180px 120px at 80% 12%, rgba(217, 154, 33, .24), transparent 70%),
        linear-gradient(150deg, #1b2230, #0d111a);
    box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
    color: #fff;
}
.pg-box-screen .dot { display: flex; gap: 5px; }
.pg-box-screen .dot i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, .25); }
.pg-box-screen .dot i:first-child { background: #f3c14b; }
.pg-box-screen strong { font-size: 17px; letter-spacing: 1px; }
.pg-box-screen em { color: #c3cde0; font-size: 11px; font-style: normal; }
.pg-box-features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 20px; }
.pg-box-feature { padding: 22px; border: 1px solid var(--pg-line); border-radius: 12px; background: var(--pg-panel-solid); box-shadow: var(--pg-shadow); }
.pg-box-feature i { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 10px; background: var(--pg-gold-soft); color: var(--pg-gold-ink); font-size: 14px; font-style: normal; font-weight: 800; }
.pg-box-feature h3 { margin: 14px 0 6px; color: var(--pg-text); font-size: 15px; }
.pg-box-feature p { color: var(--pg-muted); font-size: 12px; line-height: 1.8; }

/* ==========================================================================
   通用表单 / 弹窗（用户中心等）
   ========================================================================== */
.pg-form { padding: 4px 0 8px; }
.pg-form-row { display: flex; align-items: flex-start; gap: 16px; padding: 13px 0; border-bottom: 1px dashed var(--pg-line); }
.pg-form-row:last-child { border-bottom: 0; }
.pg-label { flex: 0 0 96px; color: var(--pg-muted); font-size: 13px; line-height: 38px; }
.pg-field { min-width: 0; flex: 1; }
.pg-input, .pg-select {
    width: 100%;
    height: 38px;
    padding: 0 12px;
    border: 1px solid var(--pg-line-strong);
    border-radius: 7px;
    background: var(--pg-input);
    color: var(--pg-text);
    font-size: 13px;
    outline: none;
    transition: .18s;
}
.pg-input::placeholder { color: var(--pg-weak); }
.pg-input:focus, .pg-select:focus { border-color: var(--pg-gold); box-shadow: 0 0 0 3px var(--pg-gold-soft); }
.pg-help { margin-top: 5px; color: var(--pg-weak); font-size: 11px; }
.pg-inline { display: flex; align-items: center; gap: 10px; }
.pg-inline .pg-input { flex: 1; }
.pg-inline .pg-btn { flex: 0 0 auto; height: 38px; }
.pg-form-actions { display: flex; align-items: center; gap: 10px; padding-top: 14px; }
.pg-modal-mask[hidden] { display: none !important; }
.pg-modal-mask {
    position: fixed;
    top: 0; right: 0; bottom: 0; left: 0;
    z-index: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(3, 5, 10, .45);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}
.pg-modal {
    width: 400px;
    max-width: calc(100vw - 40px);
    border: 1px solid rgba(217, 154, 33, .3);
    border-radius: 15px;
    background: var(--pg-panel-solid);
    box-shadow: 0 26px 70px rgba(0, 0, 0, .45);
    overflow: hidden;
}
.pg-modal-hd { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid var(--pg-line); }
.pg-modal-hd h3 { display: flex; align-items: center; gap: 9px; margin: 0; color: var(--pg-text); font-size: 16px; }
.pg-modal-hd h3:before { content: ''; width: 4px; height: 15px; border-radius: 2px; background: var(--pg-gold); }
.pg-modal-close { width: 28px; height: 28px; border: 1px solid var(--pg-line-strong); border-radius: 50%; background: transparent; color: var(--pg-muted); font-size: 16px; line-height: 1; }
.pg-modal-close:hover { border-color: var(--pg-red); color: var(--pg-red); }
.pg-modal-bd { padding: 20px 22px 22px; }

/* 响应式（内页最小按 1200 设计，仅做兜底） */
@media screen and (max-width: 1240px) {
    .pg-page { width: 1100px; }
    .pg-game-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ==========================================================================
   充值满减券
   ========================================================================== */
.pg-coupon-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; padding: 18px 20px 0; }
.pg-coupon {
    position: relative;
    display: flex;
    min-height: 104px;
    border: 1px solid var(--pg-line-strong);
    border-radius: 12px;
    background: var(--pg-panel-solid);
    box-shadow: 0 10px 26px rgba(0, 0, 0, .10);
    overflow: hidden;
}
.pg-coupon-value {
    flex: 0 0 118px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 8px;
    background: linear-gradient(135deg, #f9df8a, #e0a527);
    color: #2a1a00;
}
.pg-coupon-money { display: flex; align-items: baseline; justify-content: center; gap: 2px; line-height: 1; }
.pg-coupon-money span { font-size: 13px; font-weight: 700; }
.pg-coupon-money strong {
    display: inline;
    margin: 0;
    font-family: "Arial Black", "Helvetica Neue", Arial, sans-serif;
    font-size: 30px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -1px;
}
.pg-coupon-value em { margin-top: 5px; padding: 0 4px; font-size: 11px; font-style: normal; line-height: 1.4; text-align: center; }
.pg-coupon-info {
    position: relative;
    flex: 1;
    min-width: 0;
    padding: 12px 16px 10px 20px;
    border-left: 1px dashed var(--pg-line-strong);
}
.pg-coupon-info h3 { margin: 0 0 5px; color: var(--pg-text); font-size: 14px; }
.pg-coupon-info p { display: flex; gap: 8px; margin: 2px 0 0; color: var(--pg-text-2); font-size: 12px; line-height: 1.55; }
.pg-coupon-info p span { flex: 0 0 40px; color: var(--pg-weak); }
.pg-coupon-notch {
    position: absolute;
    left: 112px;
    z-index: 2;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--pg-panel);
}
.pg-coupon-notch.top { top: -6px; }
.pg-coupon-notch.bottom { bottom: -6px; }

/* 充值中心：充值券选择 */
.pg-coupon-pick { display: flex; flex-wrap: wrap; gap: 8px; }
.pg-coupon-option {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 5px 12px 5px 9px;
    border: 1px solid var(--pg-line-strong);
    border-radius: 8px;
    background: var(--pg-soft);
    color: var(--pg-muted);
    font-size: 12px;
    line-height: 1.35;
    cursor: pointer;
    transition: .18s;
}
.pg-coupon-option:hover { border-color: var(--pg-gold); color: var(--pg-text); }
.pg-coupon-option.active { border-color: var(--pg-gold); background: var(--pg-gold-soft); color: var(--pg-gold-ink); }
.pg-coupon-option.disabled { opacity: .45; cursor: not-allowed; }
.pg-coupon-option .val { display: flex; align-items: baseline; color: var(--pg-gold-ink); font-size: 16px; font-weight: 800; line-height: 1; }
.pg-coupon-option .val small { margin-right: 1px; font-size: 10px; font-weight: 700; }
.pg-coupon-option .txt { display: flex; flex-direction: column; gap: 3px; }
.pg-coupon-option .txt strong { color: inherit; font-size: 12px; font-weight: 600; }
.pg-coupon-option .txt span { color: var(--pg-weak); font-size: 11px; }
.pg-coupon-option .none { padding: 0 4px; font-size: 12px; }
