/* ==========================================================
   ThinkSAAS 游戏应用 · 深色霓虹视觉
   所有样式限定在 .game-app 内，不影响站点其他页面
   ========================================================== */
.game-app {
    --g-bg: #070b16;
    --g-panel: rgba(18, 25, 48, .82);
    --g-panel-2: rgba(28, 38, 70, .72);
    --g-line: rgba(148, 163, 184, .16);
    --g-text: #e9edff;
    --g-muted: #93a1c4;
    --g-primary: #6d5efc;
    --g-primary-2: #22d3ee;
    --g-gold: #fbbf24;
    --g-pink: #f472b6;
    --g-green: #34d399;
    position: relative;
    color: var(--g-text);
    background:
        radial-gradient(circle at 10% 2%, rgba(109, 94, 252, .20), transparent 38%),
        radial-gradient(circle at 90% 6%, rgba(34, 211, 238, .14), transparent 34%),
        radial-gradient(circle at 50% 100%, rgba(244, 114, 182, .08), transparent 45%),
        var(--g-bg);
    min-height: 78vh;
    padding-bottom: 70px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}

.game-app a { color: inherit; text-decoration: none; transition: color .2s ease; }
.game-app a:hover { color: var(--g-primary-2); }
.game-app img { max-width: 100%; }
.game-app h1, .game-app h2, .game-app h3, .game-app h4 { font-weight: 700; letter-spacing: .2px; }
.game-app .c9, .game-app small { color: var(--g-muted); }

/* ---------------- Hero ---------------- */
.game-hero {
    position: relative;
    overflow: hidden;
    padding: 58px 0 0;
    margin-bottom: 26px;
    background: linear-gradient(118deg, #241b63 0%, #3b2a8c 40%, #135e77 100%);
    box-shadow: 0 26px 70px rgba(26, 20, 80, .45);
}
.game-hero::before {
    content: "";
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
    background-size: 46px 46px;
    mask-image: linear-gradient(to bottom, #000, transparent 85%);
    pointer-events: none;
}
.game-hero-bg {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    opacity: .16; filter: blur(18px) saturate(1.4);
    transform: scale(1.08);
}
.game-hero-inner {
    position: relative;
    max-width: 1140px; margin: 0 auto; padding: 0 20px 46px;
    display: grid; grid-template-columns: minmax(0, 1fr) 350px;
    gap: 48px; align-items: center;
}
.game-eyebrow {
    display: inline-flex; align-items: center; gap: 9px;
    padding: 6px 14px; border-radius: 999px;
    background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.18);
    font-size: 12px; letter-spacing: 1.4px; color: #d8e6ff;
}
.game-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--g-primary-2); box-shadow: 0 0 12px var(--g-primary-2); }
.game-hero-copy h1 {
    margin: 20px 0 14px; font-size: 52px; line-height: 1.14; letter-spacing: -1px;
    text-shadow: 0 8px 30px rgba(0,0,0,.35);
}
.game-hero-copy h1 em {
    font-style: normal;
    background: linear-gradient(90deg, #67e8f9, #c4b5fd 60%, #f9a8d4);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.game-hero-copy > p { max-width: 560px; color: #cbd5f5; font-size: 15px; line-height: 1.9; margin-bottom: 26px; }
.game-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.game-hero-stats { display: flex; gap: 38px; margin-top: 34px; }
.game-hero-stats div { display: flex; flex-direction: column; }
.game-hero-stats strong { font-size: 26px; line-height: 1; font-weight: 800; }
.game-hero-stats span { margin-top: 7px; font-size: 12px; color: #b6c4e8; letter-spacing: .5px; }

.game-featured {
    display: block; padding: 20px; border-radius: 20px;
    background: rgba(9, 13, 30, .55); border: 1px solid rgba(255,255,255,.18);
    backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 22px 50px rgba(4, 8, 24, .45);
    transform: translateY(0); transition: transform .3s ease, box-shadow .3s ease;
}
.game-featured:hover { transform: translateY(-6px); box-shadow: 0 30px 60px rgba(4,8,24,.6); color: #fff; }
.game-featured-top { display: flex; gap: 16px; align-items: center; }
.game-featured-top img { width: 86px; height: 86px; object-fit: cover; border-radius: 18px; box-shadow: 0 10px 24px rgba(0,0,0,.4); }
.game-featured-label { font-size: 11px; color: var(--g-gold); letter-spacing: 1px; }
.game-featured h3 { margin: 6px 0 8px; font-size: 20px; }
.game-featured-top b { margin-left: 8px; color: var(--g-gold); font-size: 14px; }
.game-featured > p { margin: 16px 0; color: #c3cee9; font-size: 13px; line-height: 1.7; min-height: 44px; }
.game-featured-foot { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid rgba(255,255,255,.12); padding-top: 14px; font-size: 12px; color: #b6c4e8; }
.game-featured-go { color: #7ee7f5; font-weight: 600; }

.game-search {
    position: relative; max-width: 1140px; margin: 0 auto;
    display: flex; align-items: center; gap: 12px;
    padding: 10px 12px 10px 20px;
    background: rgba(255,255,255,.96); border-radius: 14px 14px 0 0;
    box-shadow: 0 -10px 30px rgba(0,0,0,.12);
}
.game-search i { color: #64748b; font-size: 18px; }
.game-search input[type=text] { flex: 1; border: 0; outline: 0; font-size: 15px; color: #0f172a; background: transparent; }
.game-search input::placeholder { color: #94a3b8; }
.game-search button {
    border: 0; border-radius: 10px; padding: 10px 26px; font-weight: 700; color: #fff;
    background: linear-gradient(120deg, var(--g-primary), #8b5cf6);
    box-shadow: 0 8px 20px rgba(109,94,252,.35); cursor: pointer;
}
.game-search button:hover { filter: brightness(1.08); }

/* ---------------- Buttons ---------------- */
.game-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 7px;
    padding: 10px 18px; border-radius: 11px; border: 1px solid transparent;
    font-size: 14px; font-weight: 600; cursor: pointer; transition: all .22s ease;
    line-height: 1.4; white-space: nowrap;
}
.game-btn-lg { padding: 12px 22px; font-size: 15px; }
.game-btn-primary {
    color: #fff; background: linear-gradient(120deg, var(--g-primary), #8b5cf6 70%, #a855f7);
    box-shadow: 0 10px 26px rgba(109,94,252,.36);
}
.game-btn-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 14px 32px rgba(109,94,252,.5); }
.game-btn-ghost { color: #e6edff; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.22); }
.game-btn-ghost:hover { color: #fff; background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.4); }
.game-btn-danger { color: #fca5a5; background: rgba(239,68,68,.12); border-color: rgba(239,68,68,.3); }
.game-btn-danger:hover { color: #fff; background: rgba(239,68,68,.6); }
.game-btn-follow { color: #fff; background: rgba(244,114,182,.12); border-color: rgba(244,114,182,.4); }
.game-btn-follow.on { background: linear-gradient(120deg, #ec4899, #f472b6); border-color: transparent; box-shadow: 0 10px 24px rgba(236,72,153,.32); }
.game-btn-follow em { font-style: normal; opacity: .8; font-size: 12px; margin-left: 3px; }
.game-btn.btn-block { display: flex; width: 100%; }

/* ---------------- Layout ---------------- */
.game-main { padding-top: 6px; }
.game-quickbar {
    display: flex; flex-wrap: wrap; gap: 8px; padding: 10px;
    margin-bottom: 22px; border-radius: 16px;
    background: var(--g-panel); border: 1px solid var(--g-line);
    backdrop-filter: blur(14px);
}
.game-quickbar a {
    flex: 1 1 auto; text-align: center; padding: 10px 12px; border-radius: 10px;
    color: var(--g-muted); font-size: 13px; font-weight: 600; white-space: nowrap;
}
.game-quickbar a:hover { background: rgba(255,255,255,.07); color: #fff; }
.game-quickbar a.on { background: linear-gradient(120deg, rgba(109,94,252,.5), rgba(34,211,238,.25)); color: #fff; box-shadow: inset 0 0 0 1px rgba(129,140,248,.4); }

.game-panel {
    background: var(--g-panel); border: 1px solid var(--g-line); border-radius: 18px;
    padding: 20px; margin-bottom: 22px; backdrop-filter: blur(16px);
    box-shadow: 0 16px 40px rgba(2, 6, 20, .24);
}
.game-panel-title {
    display: flex; align-items: center; gap: 9px;
    font-size: 15px; font-weight: 700; margin-bottom: 18px;
    padding-bottom: 14px; border-bottom: 1px solid var(--g-line);
}
.game-panel-title i { color: var(--g-primary-2); font-size: 16px; }
.game-panel-title span { margin-left: auto; font-size: 11px; color: var(--g-muted); font-weight: 400; }
.game-panel-more { margin-left: auto; font-size: 12px; color: #7ee7f5; font-weight: 500; }
.game-section-title { display: flex; justify-content: space-between; align-items: flex-end; margin: 8px 0 18px; }
.game-section-title h2 { font-size: 22px; margin: 0; }
.game-section-title p { margin: 6px 0 0; color: var(--g-muted); font-size: 12px; }
.game-sort { display: flex; gap: 4px; padding: 4px; border-radius: 10px; background: rgba(255,255,255,.05); }
.game-sort a { padding: 6px 14px; border-radius: 7px; font-size: 12px; color: var(--g-muted); }
.game-sort a.on { background: rgba(109,94,252,.55); color: #fff; }

.game-filter { padding: 16px 18px; border-radius: 16px; background: rgba(255,255,255,.035); border: 1px solid var(--g-line); margin-bottom: 20px; }
.game-filter-line { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.game-filter-line + .game-filter-line { margin-top: 10px; }
.game-filter-line > span { font-size: 12px; color: var(--g-muted); margin-right: 6px; min-width: 34px; }
.game-filter-line a { padding: 5px 12px; border-radius: 8px; font-size: 12px; color: var(--g-muted); background: rgba(255,255,255,.04); }
.game-filter-line a:hover { color: #fff; background: rgba(255,255,255,.1); }
.game-filter-line a.on { color: #fff; background: linear-gradient(120deg, var(--g-primary), #8b5cf6); }

/* ---------------- Game cards ---------------- */
.game-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.game-card {
    position: relative; overflow: hidden; border-radius: 18px;
    background: var(--g-panel); border: 1px solid var(--g-line);
    transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease;
}
.game-card:hover { transform: translateY(-7px); border-color: rgba(129,140,248,.55); box-shadow: 0 24px 48px rgba(5,8,26,.55); }
.game-card-cover { position: relative; display: block; height: 168px; overflow: hidden; }
.game-card-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,14,30,.85), transparent 62%); }
.game-card-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.game-card:hover .game-card-cover img { transform: scale(1.07); }
.game-card-type { position: absolute; top: 12px; left: 12px; z-index: 2; padding: 4px 10px; border-radius: 999px; font-size: 10px; color: #fff; background: rgba(8,12,28,.68); border: 1px solid rgba(255,255,255,.2); }
.game-card-score { position: absolute; right: 12px; bottom: 12px; z-index: 2; padding: 5px 11px; border-radius: 9px; font-weight: 800; font-size: 15px; color: #1b1300; background: linear-gradient(120deg, #fde68a, var(--g-gold)); box-shadow: 0 6px 16px rgba(251,191,36,.3); }
.game-card-body { position: relative; padding: 0 16px 16px; }
.game-card-icon { position: absolute; top: -30px; left: 16px; width: 60px; height: 60px; border-radius: 15px; overflow: hidden; border: 3px solid #141b33; box-shadow: 0 8px 18px rgba(0,0,0,.4); }
.game-card-icon img { width: 100%; height: 100%; object-fit: cover; }
.game-card-title { padding-top: 36px; }
.game-card-title a { font-size: 16px; font-weight: 700; color: #fff; }
.game-card-title p { margin: 6px 0 0; font-size: 12px; color: var(--g-muted); line-height: 1.6; min-height: 38px; }
.game-card-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0; min-height: 24px; }
.game-chip { display: inline-block; padding: 3px 9px; border-radius: 7px; font-size: 11px; color: #a5f3fc; background: rgba(34,211,238,.1); border: 1px solid rgba(34,211,238,.22); }
.game-chip-tag { color: #ddd6fe; background: rgba(139,92,246,.12); border-color: rgba(139,92,246,.25); }
.game-chip-lg { padding: 6px 12px; font-size: 12px; }
.game-card-meta { display: flex; align-items: center; gap: 10px; padding-top: 12px; border-top: 1px solid var(--g-line); font-size: 12px; color: var(--g-muted); }
.game-card-count { display: inline-flex; align-items: center; gap: 4px; }
.game-follow-mini { margin-left: auto; border: 0; background: transparent; color: #f472b6; font-size: 17px; cursor: pointer; }
.game-follow-mini.on { color: #ec4899; }

.game-stars { position: relative; display: inline-block; font-size: 14px; line-height: 1; letter-spacing: 2px; color: #3b4563; white-space: nowrap; }
.game-stars::before, .game-stars-fill::before { content: "★★★★★"; }
.game-stars-fill { position: absolute; left: 0; top: 0; width: calc(var(--stars) * 20%); overflow: hidden; white-space: nowrap; color: var(--g-gold); }
.game-stars-sm { font-size: 12px; letter-spacing: 1px; }

.game-pagination { margin-top: 26px; text-align: center; }
.game-pagination .page { margin: 0; }
.game-pagination .page a, .game-pagination .page span {
    display: inline-block; min-width: 34px; padding: 7px 11px; margin: 0 3px;
    border-radius: 8px; background: rgba(255,255,255,.05); color: var(--g-muted); font-size: 12px;
}
.game-pagination .page a:hover { background: rgba(109,94,252,.5); color: #fff; }
.game-pagination .page .current, .game-pagination .page strong { background: var(--g-primary); color: #fff; }

.game-empty, .game-empty-small { text-align: center; padding: 50px 20px; color: var(--g-muted); }
.game-empty i { font-size: 44px; color: #475569; }
.game-empty h4 { margin: 16px 0 8px; color: #fff; }
.game-empty p { margin-bottom: 20px; font-size: 13px; }
.game-empty-small { padding: 26px 10px; font-size: 13px; }

/* ---------------- Sidebar ---------------- */
.game-rank { list-style: none; margin: 0; padding: 0; }
.game-rank li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--g-line); font-size: 13px; }
.game-rank li:last-child { border-bottom: 0; }
.game-rank-no { width: 24px; height: 24px; flex: 0 0 24px; display: flex; align-items: center; justify-content: center; border-radius: 7px; background: rgba(109,94,252,.18); color: #a5b4fc; font-size: 11px; font-weight: 700; }
.game-rank li:nth-child(-n+3) .game-rank-no { background: linear-gradient(120deg,#fbbf24,#f59e0b); color: #2b1a00; }
.game-rank a { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.game-rank em { font-style: normal; color: var(--g-muted); font-size: 11px; }
.game-follow-list { display: flex; flex-direction: column; gap: 10px; }
.game-follow-list > a { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 12px; background: rgba(255,255,255,.035); font-size: 13px; }
.game-follow-list > a:hover { background: rgba(255,255,255,.09); color: #fff; }
.game-follow-list img { width: 42px; height: 42px; border-radius: 10px; object-fit: cover; }
.game-follow-list span { flex: 1; }
.game-follow-list small { display: block; margin-top: 4px; font-size: 11px; }
.game-review-list { display: flex; flex-direction: column; gap: 12px; }
.game-review-list > a { display: block; padding: 12px; border-radius: 12px; background: rgba(255,255,255,.035); border: 1px solid transparent; }
.game-review-list > a:hover { border-color: rgba(129,140,248,.4); background: rgba(255,255,255,.07); color: #fff; }
.game-review-list-head { display: flex; align-items: center; gap: 7px; font-size: 11px; color: var(--g-muted); }
.game-review-list-head img { width: 22px; height: 22px; border-radius: 50%; }
.game-review-list strong { display: block; margin: 8px 0 5px; font-size: 13px; color: #fff; }
.game-review-list small { font-size: 11px; }
.game-review-list em { font-style: normal; color: var(--g-gold); font-size: 12px; }
.game-tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.game-tag-cloud a { padding: 6px 11px; border-radius: 8px; font-size: 12px; color: #c4b5fd; background: rgba(139,92,246,.1); border: 1px solid rgba(139,92,246,.2); }
.game-tag-cloud a:hover { background: rgba(139,92,246,.3); color: #fff; }
.game-tag-cloud em { font-style: normal; opacity: .6; font-size: 10px; }
.game-panel-cta { background: linear-gradient(150deg, rgba(109,94,252,.22), rgba(34,211,238,.1)); border-color: rgba(129,140,248,.3); }
.game-panel-cta h4 { margin: 0 0 8px; font-size: 16px; }
.game-panel-cta p { color: #b9c6e8; font-size: 12px; line-height: 1.8; margin-bottom: 16px; }

/* ---------------- Detail ---------------- */
.game-detail-hero { position: relative; overflow: hidden; background: linear-gradient(115deg, #1b1748, #243a75 60%, #10485c); padding: 34px 0 42px; margin-bottom: 24px; }
.game-detail-backdrop { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .18; filter: blur(22px); transform: scale(1.1); }
.game-detail-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(7,11,22,.1), rgba(7,11,22,.75)); }
.game-detail-hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 180px minmax(0,1fr) 190px; gap: 28px; align-items: end; }
.game-detail-cover { position: relative; }
.game-detail-cover img { width: 180px; height: 180px; border-radius: 26px; object-fit: cover; border: 4px solid rgba(255,255,255,.16); box-shadow: 0 20px 45px rgba(0,0,0,.5); }
.game-verified { display: inline-flex; align-items: center; gap: 4px; margin-top: 12px; padding: 5px 11px; border-radius: 999px; font-size: 11px; color: #a7f3d0; background: rgba(52,211,153,.14); border: 1px solid rgba(52,211,153,.35); }
.game-detail-bread { font-size: 12px; color: #b3c1e5; margin-bottom: 8px; }
.game-detail-info h1 { margin: 0 0 8px; font-size: 38px; line-height: 1.2; }
.game-detail-subtitle { margin: 0 0 16px; color: #cbd5f5; font-size: 15px; }
.game-detail-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.game-detail-author { display: flex; align-items: center; gap: 9px; font-size: 12px; color: #b3c1e5; }
.game-detail-author img { width: 28px; height: 28px; border-radius: 50%; }
.game-detail-author em { font-style: normal; margin-left: 12px; }
.game-detail-side { text-align: center; }
.game-score-ring { width: 132px; height: 132px; margin: 0 auto 12px; border-radius: 50%; padding: 9px; background: conic-gradient(var(--g-gold) calc(var(--score) * 10%), rgba(255,255,255,.12) 0); box-shadow: 0 0 32px rgba(251,191,36,.2); }
.game-score-ring > div { width: 100%; height: 100%; border-radius: 50%; background: #141a32; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.game-score-ring strong { font-size: 34px; line-height: 1; color: #fff; }
.game-score-ring span { margin-top: 6px; font-size: 11px; color: var(--g-muted); }
.game-detail-side small { display: block; margin-top: 8px; font-size: 11px; }
.game-action-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.game-gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.game-shot { position: relative; display: block; border-radius: 12px; overflow: hidden; aspect-ratio: 16 / 9; background: #111827; }
.game-shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.game-shot:hover img { transform: scale(1.06); }
.game-shot span { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(7,11,22,.5); opacity: 0; transition: opacity .25s ease; font-size: 24px; color: #fff; }
.game-shot:hover span { opacity: 1; }
.game-about-content { line-height: 1.9; font-size: 14px; color: #cfd8f0; }
.game-about-content p { margin: 0 0 10px; }
.game-info-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; margin: 20px 0 4px; }
.game-info-grid > div { padding: 12px 14px; border-radius: 11px; background: rgba(255,255,255,.04); }
.game-info-grid span { display: block; font-size: 11px; color: var(--g-muted); margin-bottom: 6px; }
.game-info-grid strong { font-size: 13px; }
.game-about-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.game-about-tags a { padding: 5px 11px; border-radius: 8px; font-size: 12px; color: #c4b5fd; background: rgba(139,92,246,.12); }
.game-score-bars { display: flex; flex-direction: column; gap: 11px; }
.game-score-bar { display: flex; align-items: center; gap: 12px; font-size: 12px; color: var(--g-muted); }
.game-score-bar span { width: 44px; flex: 0 0 44px; }
.game-score-bar > div { flex: 1; height: 9px; border-radius: 999px; background: rgba(255,255,255,.07); overflow: hidden; }
.game-score-bar > div i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--g-primary), var(--g-primary-2)); }
.game-score-bar em { font-style: normal; width: 24px; text-align: right; }
.game-notice-timeline { position: relative; padding-left: 20px; }
.game-notice-timeline::before { content: ""; position: absolute; left: 5px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--g-primary), rgba(34,211,238,.1)); }
.game-notice-item { position: relative; padding: 0 0 20px 6px; }
.game-notice-dot { position: absolute; left: -19px; top: 5px; width: 10px; height: 10px; border-radius: 50%; background: var(--g-primary-2); box-shadow: 0 0 0 4px rgba(34,211,238,.15); }
.game-notice-head { display: flex; align-items: center; gap: 10px; }
.game-notice-head strong { font-size: 14px; }
.game-notice-head time { font-size: 11px; color: var(--g-muted); }
.game-notice-head a { margin-left: auto; color: #fca5a5; }
.game-notice-body { margin-top: 8px; padding: 12px 14px; border-radius: 10px; background: rgba(255,255,255,.035); font-size: 13px; line-height: 1.8; color: #cbd5f5; }
.game-review-cards { display: flex; flex-direction: column; gap: 14px; }
.game-review-card { padding: 16px; border-radius: 14px; background: rgba(255,255,255,.035); border: 1px solid var(--g-line); transition: border-color .25s ease; }
.game-review-card:hover { border-color: rgba(129,140,248,.45); }
.game-review-card-head { display: flex; align-items: center; gap: 10px; }
.game-review-card-head img { width: 34px; height: 34px; border-radius: 50%; }
.game-review-card-head > div { flex: 1; font-size: 12px; }
.game-review-card-head > div a { font-weight: 700; color: #fff; }
.game-review-card-head > div span { display: block; color: var(--g-muted); margin-top: 2px; }
.game-play-badge { padding: 4px 10px; border-radius: 999px; font-size: 11px; white-space: nowrap; }
.game-play-badge.playing { color: #a7f3d0; background: rgba(52,211,153,.14); border: 1px solid rgba(52,211,153,.35); }
.game-play-badge.played { color: #bfdbfe; background: rgba(59,130,246,.14); border: 1px solid rgba(59,130,246,.35); }
.game-review-card h4 { margin: 12px 0 8px; font-size: 16px; }
.game-review-card-score { display: flex; align-items: center; gap: 8px; }
.game-review-card-score strong { color: var(--g-gold); font-size: 15px; }
.game-review-card > p { margin: 10px 0 12px; color: var(--g-muted); font-size: 12px; line-height: 1.8; }
.game-review-card-foot { display: flex; justify-content: space-between; font-size: 12px; color: var(--g-muted); border-top: 1px solid var(--g-line); padding-top: 10px; }
.game-review-card-foot a { color: #7ee7f5; font-weight: 600; }
.game-write-cta { text-align: center; background: linear-gradient(150deg, rgba(251,191,36,.14), rgba(244,114,182,.1)); border-color: rgba(251,191,36,.28); }
.game-write-cta > i { font-size: 34px; color: var(--g-gold); }
.game-write-cta h4 { margin: 10px 0; }
.game-write-cta p { color: #c4cee8; font-size: 12px; line-height: 1.8; }
.game-mini-game { display: flex; align-items: center; gap: 12px; }
.game-mini-game img { width: 62px; height: 62px; border-radius: 13px; object-fit: cover; }
.game-mini-game > div { flex: 1; }
.game-mini-game span { display: block; font-size: 11px; color: var(--g-muted); }
.game-mini-game strong { display: block; margin: 4px 0; font-size: 14px; }
.game-mini-game small { font-size: 11px; }
.game-lightbox { position: fixed; inset: 0; z-index: 9999; display: none; align-items: center; justify-content: center; background: rgba(3,6,16,.92); padding: 40px; }
.game-lightbox.on { display: flex; }
.game-lightbox img { max-width: 100%; max-height: 88vh; border-radius: 14px; box-shadow: 0 24px 70px rgba(0,0,0,.7); }
.game-lightbox-close { position: absolute; top: 22px; right: 26px; border: 0; background: rgba(255,255,255,.12); color: #fff; width: 42px; height: 42px; border-radius: 50%; font-size: 20px; cursor: pointer; }

/* ---------------- Forms ---------------- */
.game-crumb { font-size: 12px; color: var(--g-muted); margin: 6px 0 20px; }
.game-crumb a { color: #8fa3d0; }
.game-form-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 22px; align-items: start; }
.game-form-layout-wide { grid-template-columns: minmax(0, 1fr) 280px; }
.game-form-panel { padding: 26px; }
.game-form-head { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; padding-bottom: 18px; border-bottom: 1px solid var(--g-line); }
.game-form-icon { width: 52px; height: 52px; flex: 0 0 52px; border-radius: 15px; display: flex; align-items: center; justify-content: center; font-size: 24px; color: #fff; background: linear-gradient(135deg, var(--g-primary), var(--g-primary-2)); box-shadow: 0 10px 24px rgba(109,94,252,.35); }
.game-form-head h2 { margin: 0 0 5px; font-size: 21px; }
.game-form-head p { margin: 0; color: var(--g-muted); font-size: 12px; }
.game-field { margin-bottom: 20px; }
.game-field > label { display: block; margin-bottom: 9px; font-size: 13px; font-weight: 600; color: #dbe3fb; }
.game-field > label em { color: #f87171; font-style: normal; }
.game-field > label small { font-weight: 400; }
.game-field > small { display: block; margin-top: 6px; font-size: 11px; }
.game-field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.game-app .form-control, .game-app textarea.form-control {
    background: rgba(8,13,29,.7); border: 1px solid rgba(148,163,184,.24); color: #e9edff;
    border-radius: 10px; padding: 11px 14px; font-size: 14px; outline: 0;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.game-app .form-control:focus { border-color: var(--g-primary); box-shadow: 0 0 0 3px rgba(109,94,252,.18); background: rgba(8,13,29,.9); color: #fff; }
.game-app .form-control::placeholder { color: #64748b; }
.game-app textarea.form-control { resize: vertical; line-height: 1.7; }
.game-check-grid { display: flex; flex-wrap: wrap; gap: 9px; }
.game-check { position: relative; cursor: pointer; }
.game-check input { position: absolute; opacity: 0; }
.game-check span { display: block; padding: 8px 14px; border-radius: 9px; font-size: 12px; color: var(--g-muted); background: rgba(255,255,255,.04); border: 1px solid var(--g-line); transition: all .2s ease; }
.game-check input:checked + span { color: #fff; background: linear-gradient(120deg, rgba(109,94,252,.6), rgba(34,211,238,.3)); border-color: rgba(129,140,248,.6); }
.game-check-grid-age .game-check span { min-width: 72px; text-align: center; }
.game-upload input[type=file] { color: var(--g-muted); font-size: 12px; }
.game-upload small { display: block; margin-top: 8px; }
.game-upload-grid { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 9px; }
.game-upload-box { position: relative; display: block; cursor: pointer; border-radius: 10px; border: 1px dashed rgba(129,140,248,.4); background: rgba(109,94,252,.06); text-align: center; overflow: hidden; }
.game-upload-box input { position: absolute; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.game-upload-box span { display: block; padding: 18px 5px; font-size: 11px; color: #a5b4fc; }
.game-upload-box span i { display: block; font-size: 18px; margin-bottom: 5px; }
.game-current-img img { width: 90px; height: 90px; border-radius: 12px; object-fit: cover; margin-bottom: 10px; }
.game-current-shots { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.game-current-shots img { width: 90px; height: 55px; object-fit: cover; border-radius: 8px; }
.game-form-actions { display: flex; gap: 12px; padding-top: 8px; margin-top: 6px; }
.game-tip-list { list-style: none; margin: 0 0 16px; padding: 0; }
.game-tip-list li { padding: 9px 0; font-size: 12px; line-height: 1.7; color: #c2cee9; border-bottom: 1px dashed var(--g-line); }
.game-tip-list i { color: var(--g-green); margin-right: 8px; }
.game-notice-box { padding: 13px 15px; border-radius: 10px; margin-bottom: 18px; font-size: 12px; color: #a5f3d0; background: rgba(52,211,153,.1); border: 1px solid rgba(52,211,153,.3); }
.game-notice-box.danger { color: #fecaca; background: rgba(239,68,68,.1); border-color: rgba(239,68,68,.3); }
.game-dev-hero { display: flex; align-items: center; gap: 18px; padding: 26px; margin-bottom: 24px; border-radius: 20px; background: linear-gradient(120deg, rgba(109,94,252,.28), rgba(34,211,238,.12)); border: 1px solid rgba(129,140,248,.28); }
.game-dev-hero-icon { width: 62px; height: 62px; flex: 0 0 62px; border-radius: 18px; display: flex; align-items: center; justify-content: center; font-size: 30px; color: #fff; background: linear-gradient(135deg, var(--g-primary), var(--g-primary-2)); }
.game-dev-hero > div:nth-child(2) { flex: 1; }
.game-dev-hero h1 { margin: 0 0 6px; font-size: 27px; }
.game-dev-hero p { margin: 0; color: #c0cceb; font-size: 13px; }
.game-status { display: inline-block; padding: 8px 16px; border-radius: 999px; font-size: 12px; background: rgba(255,255,255,.08); border: 1px solid var(--g-line); white-space: nowrap; }
.game-status.ok { color: #a7f3d0; background: rgba(52,211,153,.12); border-color: rgba(52,211,153,.35); }
.game-status.wait { color: #fde68a; background: rgba(251,191,36,.12); border-color: rgba(251,191,36,.35); }
.game-status.no { color: #fecaca; background: rgba(239,68,68,.1); border-color: rgba(239,68,68,.3); }
.game-dev-actions { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
.game-dev-action { display: flex; flex-direction: column; gap: 6px; padding: 20px; border-radius: 14px; background: rgba(255,255,255,.04); border: 1px solid var(--g-line); }
.game-dev-action:hover { border-color: rgba(129,140,248,.5); background: rgba(109,94,252,.1); color: #fff; transform: translateY(-3px); }
.game-dev-action i { font-size: 26px; color: var(--g-primary-2); }
.game-dev-action strong { font-size: 14px; }
.game-dev-action small { font-size: 11px; }
.game-dev-games > a { display: flex; align-items: center; gap: 13px; padding: 10px; border-radius: 11px; background: rgba(255,255,255,.035); margin-bottom: 8px; }
.game-dev-games img { width: 52px; height: 52px; border-radius: 11px; object-fit: cover; }
.game-dev-games > div { flex: 1; }
.game-dev-games small { display: block; margin-top: 5px; font-size: 11px; }

/* ---------------- Star input / play choose ---------------- */
.game-play-choose { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
.game-play-option { cursor: pointer; }
.game-play-option input { position: absolute; opacity: 0; }
.game-play-option > span { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 18px; border-radius: 14px; background: rgba(255,255,255,.04); border: 1px solid var(--g-line); transition: all .2s ease; }
.game-play-option input:checked + span { background: linear-gradient(135deg, rgba(109,94,252,.35), rgba(34,211,238,.18)); border-color: var(--g-primary); box-shadow: 0 8px 22px rgba(109,94,252,.2); }
.game-play-option i { font-size: 26px; color: var(--g-primary-2); }
.game-play-option strong { font-size: 15px; }
.game-play-option small { font-size: 11px; }
.game-star-input { display: flex; align-items: center; gap: 8px; }
.game-star-input i { font-size: 34px; font-style: normal; color: #3b4563; cursor: pointer; transition: transform .18s ease, color .18s ease; }
.game-star-input i:hover { transform: scale(1.16); }
.game-star-input i.on { color: var(--g-gold); text-shadow: 0 0 16px rgba(251,191,36,.45); }
.game-star-input strong { margin-left: 12px; color: var(--g-gold); font-size: 18px; }

/* ---------------- Review article & comments ---------------- */
.game-article { padding: 28px; }
.game-article-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.game-article-author { display: flex; align-items: center; gap: 11px; font-size: 12px; }
.game-article-author img { width: 42px; height: 42px; border-radius: 50%; }
.game-article-author a { font-weight: 700; font-size: 14px; color: #fff; }
.game-article-author span { display: block; margin-top: 4px; color: var(--g-muted); }
.game-article h1 { font-size: 28px; line-height: 1.4; margin: 0 0 16px; }
.game-article-score { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-radius: 12px; background: rgba(251,191,36,.07); border: 1px solid rgba(251,191,36,.22); }
.game-article-score strong { color: var(--g-gold); font-size: 21px; }
.game-article-content { margin: 24px 0; font-size: 15px; line-height: 2; color: #d3dcf5; }
.game-article-content img { border-radius: 12px; }
.game-article-foot { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 18px; border-top: 1px solid var(--g-line); }
.game-comments-body { padding-top: 6px; }
.game-app .comment ul { list-style: none; margin: 0; padding: 0; }
.game-app .comment li { padding: 14px 0; border-bottom: 1px dashed var(--g-line); }
.game-app .comment .user-face img { width: 34px; height: 34px; border-radius: 50%; }
.game-app .comment .reply-doc h4 { font-size: 12px; font-weight: 500; color: var(--g-muted); }
.game-app .comment .reply-doc h4 a { color: #fff; font-weight: 700; }
.game-app .comment .reply-doc .fs14 { color: #d4def8; font-size: 13px; line-height: 1.8; }
.game-app .comment .recomment { padding: 10px 12px; margin-top: 8px; border-radius: 9px; background: rgba(255,255,255,.035); font-size: 12px; }
.game-app .comment .recomment a { color: #a5b4fc; }
.game-app .comment .alert-warning { background: rgba(251,191,36,.1); color: #fde68a; border-color: rgba(251,191,36,.25); }
.game-app .comment a { color: #7ee7f5; }
.game-comment-form { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--g-line); }
.game-comment-form textarea { margin-bottom: 12px; }
.game-comment-code { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.game-comment-code img { height: 34px; border-radius: 6px; cursor: pointer; }
.game-comments .page { text-align: center; margin-top: 14px; }

/* ---------------- Toast ---------------- */
.game-toast { position: fixed; left: 50%; top: 24px; z-index: 10000; transform: translate(-50%, -18px); opacity: 0; pointer-events: none; padding: 12px 24px; border-radius: 12px; color: #fff; font-size: 13px; background: rgba(15,23,42,.95); border: 1px solid rgba(129,140,248,.45); box-shadow: 0 16px 40px rgba(0,0,0,.45); transition: all .25s ease; }
.game-toast.on { opacity: 1; transform: translate(-50%, 0); }

/* ---------------- Responsive ---------------- */
@media (max-width: 991px) {
    .game-hero-inner { grid-template-columns: 1fr; gap: 26px; }
    .game-featured { max-width: 480px; }
    .game-detail-hero-inner { grid-template-columns: 130px minmax(0,1fr); }
    .game-detail-cover img { width: 130px; height: 130px; }
    .game-detail-side { grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; gap: 16px; }
    .game-score-ring { width: 90px; height: 90px; margin: 0; }
    .game-score-ring strong { font-size: 24px; }
    .game-form-layout, .game-form-layout-wide { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
    .game-hero { padding-top: 36px; }
    .game-hero-copy h1 { font-size: 36px; }
    .game-hero-stats { gap: 22px; }
    .game-hero-stats strong { font-size: 21px; }
    .game-grid { grid-template-columns: 1fr; }
    .game-gallery-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .game-info-grid { grid-template-columns: 1fr; }
    .game-field-row { grid-template-columns: 1fr; gap: 0; }
    .game-upload-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
    .game-dev-hero { flex-wrap: wrap; }
    .game-dev-status { width: 100%; }
    .game-quickbar a { flex: 1 1 30%; }
    .game-detail-info h1 { font-size: 28px; }
}
@media (max-width: 575px) {
    .game-app { padding-bottom: 30px; }
    .game-hero-inner { padding: 0 14px 30px; }
    .game-hero-copy h1 { font-size: 30px; }
    .game-hero-actions .game-btn { flex: 1 1 45%; }
    .game-search { padding: 8px; }
    .game-search button { padding: 9px 14px; }
    .game-panel { padding: 16px; border-radius: 14px; }
    .game-form-panel { padding: 18px; }
    .game-upload-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .game-gallery-grid { grid-template-columns: 1fr 1fr; }
    .game-dev-actions { grid-template-columns: 1fr; }
    .game-action-bar .game-btn { flex: 1 1 45%; }
    .game-star-input i { font-size: 28px; }
}
