
:root {
  --gp-bg: #0d0d14;
  --gp-card: #12121f;
  --gp-accent: #7c3aed;
  --gp-gold: #f59e0b;
  --gp-danger: #ef4444;
  --gp-success: #10b981;
  --gp-text: #f1f1f5;
  --gp-muted: #9898b0;
  --gp-border: rgba(255,255,255,0.08);
}
.gp-single-game-page { background: var(--gp-bg); color: var(--gp-text); padding: 24px 0 60px; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; }
.gp-game-container { max-width: 1320px; margin: 0 auto; padding: 0 20px; }
.gp-ad-slot { margin: 16px 0; background: rgba(0,0,0,0.25); border: 1px dashed var(--gp-border); border-radius: 8px; text-align: center; padding: 10px; overflow: hidden; }
.gp-game-layout-grid { display: grid; grid-template-columns: 1fr 340px; gap: 24px; }
.gp-game-layout-grid.no-sidebar { grid-template-columns: 1fr; }
.gp-game-header-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.gp-header-left { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.gp-game-title { margin: 0; font-size: 26px; color: #fff; }
.gp-status-pill { padding: 4px 12px; border-radius: 20px; font-size: 12px; font-weight: 800; text-transform: uppercase; }
.gp-pill-earns { background: rgba(16,185,129,0.15); color: var(--gp-success); border: 1px solid var(--gp-success); }
.gp-pill-costs { background: rgba(239,68,68,0.15); color: var(--gp-danger); border: 1px solid var(--gp-danger); }
.gp-pill-free { background: rgba(255,255,255,0.1); color: var(--gp-muted); border: 1px solid var(--gp-border); }
.gp-label-badge { background: linear-gradient(135deg, #f59e0b, #d97706); color: #000; font-weight: 800; font-size: 11px; padding: 3px 8px; border-radius: 6px; }
.gp-gameplay-notice { display: flex; align-items: center; gap: 10px; background: rgba(124,58,237,0.1); border: 1px solid rgba(124,58,237,0.3); border-radius: 8px; padding: 10px 16px; margin-bottom: 14px; font-size: 13.5px; color: #c4b5fd; }
.gp-notice-icon { font-size: 18px; }
.gp-viewport-wrapper { width: 100%; height: 600px; background: #000; border-radius: 12px; overflow: hidden; position: relative; border: 1px solid var(--gp-border); box-shadow: 0 8px 32px rgba(0,0,0,0.6); }
.gp-viewport-wrapper iframe { width: 100%; height: 100%; border: none; display: block; }
.gp-play-overlay { position: absolute; inset: 0; background-size: cover; background-position: center; display: flex; align-items: center; justify-content: center; z-index: 10; text-align: center; }
.gp-play-overlay-content h2 { color: #fff; font-size: 32px; margin-bottom: 18px; text-shadow: 0 2px 10px rgba(0,0,0,0.8); }
.gp-btn-start-game { background: linear-gradient(135deg, #10b981 0%, #059669 100%); color: #fff; border: none; padding: 16px 36px; border-radius: 50px; font-size: 18px; font-weight: 800; cursor: pointer; box-shadow: 0 4px 20px rgba(16,185,129,0.5); transition: 0.2s; }
.gp-btn-start-game:hover { transform: scale(1.05); }

.gp-mobile-game-card { display: none; width: 100%; height: 240px; border-radius: 14px; background-size: cover; background-position: center; position: relative; overflow: hidden; border: 1px solid var(--gp-border); box-shadow: 0 8px 24px rgba(0,0,0,0.5); margin-bottom: 16px; }
.gp-mgc-bottom { position: absolute; bottom: 0; left: 0; right: 0; padding: 16px; display: flex; justify-content: center; }
.gp-btn-mobile-play { background: linear-gradient(135deg, #10b981 0%, #059669 100%); color: #fff; text-decoration: none; padding: 12px 30px; border-radius: 30px; font-weight: 800; font-size: 15px; display: inline-flex; align-items: center; gap: 8px; box-shadow: 0 4px 18px rgba(16,185,129,0.6); letter-spacing: 0.5px; }

.gp-controls-bar { display: flex; justify-content: space-between; align-items: center; background: var(--gp-card); border: 1px solid var(--gp-border); border-radius: 10px; padding: 10px 16px; margin: 12px 0; }
.gp-ctrl-btn { background: #1a1a2e; color: var(--gp-text); border: 1px solid var(--gp-border); padding: 8px 14px; border-radius: 6px; cursor: pointer; font-size: 13px; font-weight: 600; margin-right: 6px; transition: 0.2s; }
.gp-ctrl-btn:hover { background: var(--gp-accent); color: #fff; }
.gp-btn-report { color: #f87171; }
.gp-btn-report:hover { background: var(--gp-danger); color: #fff; }
.gp-tags-section-bar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.gp-tags-title { font-size: 12.5px; color: var(--gp-muted); font-weight: 600; }
.gp-tag-pill-sm { background: rgba(255,255,255,0.05); color: var(--gp-gold); border: 1px solid var(--gp-border); padding: 3px 10px; border-radius: 12px; font-size: 12px; text-decoration: none; }
.gp-content-card { background: var(--gp-card); border: 1px solid var(--gp-border); border-radius: 12px; padding: 24px; margin-bottom: 24px; line-height: 1.6; }
.gp-card-title { color: #fff; margin-top: 0; font-size: 18px; border-bottom: 1px solid var(--gp-border); padding-bottom: 8px; }

.gp-recommendations-block { margin-top: 24px; }
.gp-block-heading { border-bottom: 1px solid var(--gp-border); padding-bottom: 8px; margin-bottom: 16px; }
.gp-block-heading h3 { margin: 0; font-size: 18px; color: #fff; font-weight: 700; }
.gp-games-cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; }
.gp-grid-cols-2 { grid-template-columns: repeat(2, 1fr) !important; }
.gp-grid-cols-3 { grid-template-columns: repeat(3, 1fr) !important; }
.gp-grid-cols-4 { grid-template-columns: repeat(4, 1fr) !important; }
.gp-grid-cols-6 { grid-template-columns: repeat(6, 1fr) !important; }

.gp-game-card-item { background: var(--gp-card); border: 1px solid var(--gp-border); border-radius: 12px; overflow: hidden; text-decoration: none; display: flex; flex-direction: column; transition: transform 0.2s, box-shadow 0.2s; }
.gp-game-card-item:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(124,58,237,0.3); border-color: var(--gp-accent); }
.gp-card-media { position: relative; aspect-ratio: 16/10; width: 100%; background: #000; overflow: hidden; }
.gp-card-media img { width: 100%; height: 100%; object-fit: cover; }
.gp-card-badge { position: absolute; top: 8px; left: 8px; background: var(--gp-gold); color: #000; font-size: 10px; font-weight: 800; padding: 2px 6px; border-radius: 4px; }
.gp-card-pts-pill { position: absolute; top: 8px; right: 8px; font-size: 10.5px; font-weight: 800; padding: 2px 6px; border-radius: 4px; background: rgba(0,0,0,0.7); color: #fff; }
.gp-card-pts-pill.earns { background: rgba(16,185,129,0.9); }
.gp-card-pts-pill.costs { background: rgba(239,68,68,0.9); }
.gp-card-info { padding: 12px; display: flex; flex-direction: column; gap: 8px; flex: 1; justify-content: space-between; }
.gp-card-title-text { margin: 0; font-size: 13.5px; color: #fff; font-weight: 600; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.gp-btn-card-play { font-size: 11.5px; font-weight: 700; color: var(--gp-gold); text-align: right; }

.gp-nav-games { display: flex; justify-content: space-between; margin: 24px 0; }
.gp-nav-link { color: var(--gp-gold); text-decoration: none; font-weight: 600; font-size: 14px; }
.gp-chat-room-container { background: var(--gp-card); border: 1px solid var(--gp-border); border-radius: 12px; padding: 16px; height: 541px; display: flex; flex-direction: column; margin-bottom: 20px; }
.gp-chat-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.gp-chat-header h4 { margin: 0; font-size: 15px; color: #fff; }
.gp-chat-gate-badge { background: rgba(245,158,11,0.15); color: var(--gp-gold); border: 1px solid var(--gp-gold); padding: 2px 6px; border-radius: 4px; font-size: 10.5px; font-weight: 700; }
.gp-chat-header-badges { display: inline-flex; align-items: center; gap: 8px; }
.gp-chat-online { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 700; color: var(--gp-muted); }
.gp-chat-online[hidden] { display: none; }
.gp-chat-online b { color: #fff; font-weight: 800; }
.gp-presence-dot { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 0 rgba(34,197,94,.6); animation: gpOnlinePulse 2s infinite; }
@keyframes gpOnlinePulse { 70% { box-shadow: 0 0 0 6px rgba(34,197,94,0); } 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); } }
@media (prefers-reduced-motion: reduce) { .gp-presence-dot { animation: none; } }
html[data-gp-color-mode="light"] .gp-chat-online b { color: #0f172a; }
.gp-chat-locked-box { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; background: rgba(0,0,0,0.3); border-radius: 8px; text-align: center; padding: 16px; font-size: 12.5px; color: var(--gp-muted); }
.gp-btn-sm-accent { background: var(--gp-accent); color: #fff; text-decoration: none; padding: 6px 14px; border-radius: 6px; font-weight: 700; margin-top: 8px; font-size: 12px; }
.gp-chat-messages-box { flex: 1; background: rgba(0,0,0,0.3); border-radius: 8px; padding: 12px; overflow-y: auto; font-size: 13px; color: var(--gp-muted); }
.gp-chat-input-row input { width: 100%; padding: 8px 12px; background: rgba(0,0,0,0.5); border: 1px solid var(--gp-border); border-radius: 6px; color: #fff; margin-top: 10px; box-sizing: border-box; }
.gp-related-card { background: var(--gp-card); border: 1px solid var(--gp-border); border-radius: 12px; padding: 16px; }
.gp-related-card h4 { margin: 0 0 14px; font-size: 15px; color: #fff; }
.gp-related-grid { display: flex; flex-direction: column; gap: 12px; }
.gp-rel-item { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; }
.gp-rel-thumb-wrap { width: 68px; height: 50px; border-radius: 6px; overflow: hidden; background: #000; flex-shrink: 0; }
.gp-rel-thumb-wrap img { width: 100%; height: 100%; object-fit: cover; }
.gp-rel-meta { display: flex; flex-direction: column; gap: 4px; }
.gp-rel-title { font-size: 13px; font-weight: 600; }
.gp-rel-tag { font-size: 11px; color: var(--gp-muted); }

.gp-modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.7); display: flex; align-items: center; justify-content: center; z-index: 999999; }
.gp-modal-inner { background: #1a1a2e; border: 1px solid var(--gp-border); border-radius: 12px; width: 100%; max-width: 440px; padding: 24px; box-sizing: border-box; }
.gp-modal-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.gp-modal-top h3 { margin: 0; font-size: 18px; color: #fff; }
.gp-close { background: none; border: none; font-size: 24px; color: var(--gp-muted); cursor: pointer; }
.gp-modal-inner textarea { width: 100%; height: 100px; background: rgba(0,0,0,0.4); border: 1px solid var(--gp-border); border-radius: 6px; color: #fff; padding: 10px; box-sizing: border-box; }
.gp-char-counter { font-size: 11px; color: var(--gp-muted); text-align: right; margin-top: 4px; }
.gp-btn-submit { width: 100%; padding: 12px; background: var(--gp-accent); color: #fff; border: none; border-radius: 6px; font-weight: bold; margin-top: 14px; cursor: pointer; }
.gp-notice { margin-top: 10px; font-size: 12px; padding: 8px; border-radius: 4px; display: none; text-align: center; }
.gp-notice.success { background: rgba(16,185,129,0.2); color: #34d399; }
.gp-notice.error { background: rgba(239,68,68,0.2); color: #f87171; }

@media (max-width: 900px) {
  .gp-game-layout-grid { display: flex; flex-direction: column; }
  .gp-game-main-col, .gp-game-side-col { display: contents; }
  .gp-game-header-bar { order: 1; }
  .gp-mobile-game-card { order: 2; display: block; }
  .gp-viewport-wrapper { display: none; }
  .gp-gameplay-notice { order: 3; margin-top: 10px; margin-bottom: 12px; }
  .gp-controls-bar { order: 4; }
  .gp-tags-section-bar { order: 5; }
  .gp-chat-room-container { order: 6; display: flex; margin-bottom: 20px; }
  .gp-rec-similar { order: 7; }
  .gp-content-card { order: 8; }
  .gp-rec-trending { order: 9; }
  .gp-ad-3 { order: 10; }
  .gp-nav-games { order: 11; }
  .gp-ad-2 { order: 12; }
  .gp-related-card { order: 13; }

  .gp-games-cards-grid.gp-mobile-3x6, .gp-mobile-3x6 { grid-template-columns: repeat(3, 1fr) !important; gap: 8px !important; }
  .gp-mobile-3x6 .gp-card-info { padding: 6px !important; }
  .gp-mobile-3x6 .gp-card-title-text { font-size: 11px !important; line-height: 1.3 !important; }
  .gp-mobile-3x6 .gp-card-badge { font-size: 8px !important; padding: 1px 4px !important; }
  .gp-mobile-3x6 .gp-card-pts-pill { font-size: 8.5px !important; padding: 1px 4px !important; }
  .gp-mobile-3x6 .gp-btn-card-play { font-size: 10px !important; }
}


/* Game reactions + live/private chat additions. Existing game UI styles remain unchanged. */
.gp-reaction-btn { white-space: nowrap; }
.gp-reaction-btn.is-active { background: rgba(16,185,129,0.16); border-color: rgba(16,185,129,0.65); color:#6ee7b7; }
.gp-reaction-btn.is-active.is-dislike { background: rgba(239,68,68,0.14); border-color: rgba(239,68,68,0.6); color:#fca5a5; }
.gp-reaction-count { font-size:10px; opacity:.8; margin-left:2px; }
.gp-chat-messages-box { display:flex; flex-direction:column; gap:7px; }
.gp-chat-message { align-self:flex-start; max-width:92%; padding:7px 9px; border-radius:8px; background:rgba(255,255,255,.055); border:1px solid rgba(255,255,255,.05); }
.gp-chat-message.is-mine { align-self:flex-end; background:rgba(124,58,237,.14); }
.gp-chat-author { display:inline; border:0; background:none; padding:0; margin:0 5px 0 0; color:var(--gp-gold); font-size:11px; font-weight:800; cursor:pointer; }
.gp-chat-author:disabled { cursor:default; }
.gp-chat-author { text-decoration:none; }
.gp-chat-author:hover { text-decoration:underline; }
.gp-chat-message-text { color:#fff; font-size:12px; line-height:1.45; overflow-wrap:anywhere; }
.gp-chat-message-time { display:block; margin-top:3px; color:var(--gp-muted); font-size:9px; }
.gp-chat-hint { margin-top:6px; color:var(--gp-muted); font-size:9.5px; text-align:center; }
.gp-chat-input-row { display:flex; gap:7px; align-items:center; }
.gp-chat-input-row input { flex:1; min-width:0; margin-top:10px; }
.gp-chat-send-btn { margin-top:10px; border:0; border-radius:6px; padding:8px 12px; background:var(--gp-accent); color:#fff; font-weight:700; cursor:pointer; }
.gp-chat-send-btn:disabled { opacity:.55; cursor:wait; }
@media (max-width: 650px) {
  .gp-controls-bar { flex-wrap:wrap; gap:6px; }
  .gp-ctrl-right { display:flex; flex-wrap:wrap; gap:5px; }
  .gp-ctrl-btn { margin-right:0; }
  .gp-reaction-label { display:none; }
  .gp-chat-input-row { gap:5px; }
  .gp-chat-send-btn { padding:8px 10px; }
}

.gp-chat-invite-notice{margin-top:8px}.gp-chat-invite-inner{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 10px;border-radius:8px;background:rgba(124,58,237,.10);border:1px solid rgba(124,58,237,.35);color:#fff;font-size:11px}.gp-chat-invite-inner span{color:var(--gp-muted)}.gp-chat-invite-actions{display:flex;gap:5px;align-items:center}.gp-chat-invite-actions button{border:0;border-radius:6px;padding:5px 8px;font-size:10px;font-weight:700;cursor:pointer}.gp-invite-accept{background:var(--gp-accent);color:#fff}.gp-invite-dismiss{background:rgba(255,255,255,.07);color:#fff}@media(max-width:650px){.gp-chat-invite-inner{align-items:flex-start;flex-direction:column}.gp-chat-invite-actions{width:100%}.gp-chat-invite-actions button{flex:1}}


/* Game thumbnails are image-only cards; only Featured and Points Type overlays remain. */
.gp-game-card-item .gp-card-info { display:none !important; }
.gp-game-card-item .gp-card-media { border-radius:inherit; }

/* Search filters: scoped to the Games search UI only. */
.gp-search-filters{display:flex;flex-wrap:wrap;gap:12px;align-items:end;margin-top:12px;padding:14px;border:1px solid var(--gp-border);border-radius:14px;background:rgba(255,255,255,.025)}
.gp-search-filter-field{display:flex;flex-direction:column;gap:6px;min-width:170px;flex:1}
.gp-search-filter-field label{font-size:11px;font-weight:700;color:var(--gp-muted);text-transform:uppercase;letter-spacing:.04em}
.gp-search-filter-field select{width:100%;min-height:42px;padding:10px 12px;border:1px solid var(--gp-border);border-radius:9px;background:#161625;color:#fff}
.gp-search-filter-submit{min-height:42px;padding:10px 18px;border:0;border-radius:9px;cursor:pointer;font-weight:700;background:var(--gp-accent);color:#fff}
@media(max-width:650px){.gp-search-filters{display:grid;grid-template-columns:1fr}.gp-search-filter-field{min-width:0}.gp-search-filter-submit{width:100%}}

/* Dedicated game search page. */
.gp-dedicated-search-page{width:100%;max-width:1200px;margin:0 auto}
.gp-dedicated-search-form{margin-bottom:24px}
.gp-search-main-row{display:flex;gap:10px;margin-bottom:12px}
.gp-search-main-row input{flex:1;min-width:0;height:46px;padding:0 15px;border:1px solid var(--gp-border);border-radius:12px;background:#161625;color:#fff;box-sizing:border-box}
.gp-search-main-row button{height:46px;padding:0 22px;border:0;border-radius:12px;background:var(--gp-accent);color:#fff;font-weight:800;cursor:pointer}
.gp-search-results-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:10px 0 14px}
.gp-search-results-head h2{margin:0;color:#fff;font-size:20px}.gp-search-results-head span{color:var(--gp-muted);font-size:12px}
.gp-search-empty{grid-column:1/-1;padding:28px;text-align:center;color:var(--gp-muted);border:1px dashed var(--gp-border);border-radius:12px}
@media(max-width:650px){.gp-search-main-row{flex-direction:column}.gp-search-main-row button{width:100%}.gp-search-results-head h2{font-size:17px}}

.gp-share-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.58);z-index:999998}.gp-share-modal{position:fixed;left:50%;top:50%;transform:translate(-50%,-50%);z-index:999999;width:min(360px,calc(100vw - 28px));padding:14px;background:#11131d;color:#fff;border:1px solid rgba(255,255,255,.1);border-radius:14px;box-shadow:0 22px 60px rgba(0,0,0,.5)}.gp-share-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.gp-share-head strong{font-size:15px}.gp-share-head button{border:0;background:transparent;color:#aaa;font-size:22px;cursor:pointer}.gp-share-grid{display:grid;grid-template-columns:1fr 1fr;gap:7px}.gp-share-choice{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:9px 10px;border:1px solid rgba(255,255,255,.1);border-radius:9px;background:#191c28;color:#fff;cursor:pointer}.gp-share-choice.active{border-color:rgba(124,58,237,.8);background:#202033}.gp-share-choice-name{font-size:12px;font-weight:700}.gp-share-reward{font-size:11px;font-weight:900;color:#4ade80}.gp-share-hint{margin:10px 2px 8px;color:#9699aa;font-size:10px;line-height:1.45}.gp-share-confirm{width:100%;min-height:38px;border:0;border-radius:9px;background:#7c3aed;color:#fff;font-weight:800;cursor:pointer}.gp-share-confirm:disabled{opacity:.45;cursor:not-allowed}
@media(max-width:650px){.gp-share-modal{top:auto;bottom:78px;transform:translateX(-50%);padding:12px}.gp-share-hint{font-size:9.5px}}

@media(max-width:650px){
  .gp-controls-bar{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 10px;border-radius:14px;}
  .gp-ctrl-left,.gp-ctrl-right{display:flex;align-items:center;gap:7px;}
  .gp-ctrl-right{margin-left:auto;}
  .gp-ctrl-btn{width:42px;height:42px;padding:0;margin:0;border-radius:12px;display:inline-flex;align-items:center;justify-content:center;gap:0;background:linear-gradient(180deg,#1b1d2b,#131521);border:1px solid rgba(255,255,255,.09);box-shadow:0 5px 14px rgba(0,0,0,.22);font-size:17px;}
  .gp-ctrl-btn:hover{background:linear-gradient(180deg,#25283a,#191b2a);}
  .gp-ctrl-icon{display:inline-flex;align-items:center;justify-content:center;line-height:1;}
  .gp-ctrl-label{display:none!important;}
  .gp-reaction-label{display:none!important;}
  .gp-reaction-count{font-size:9px;font-weight:800;margin-left:3px;opacity:.8;}
  #gpBtnFullscreen{width:44px;}
  .gp-btn-report{color:#f87171;}
}

.gp-sc-hover-card .gp-card-media{position:relative;overflow:hidden}.gp-sc-hover-card .gp-sc-hover-image,.gp-sc-hover-card .gp-sc-hover-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity .18s ease;z-index:2;pointer-events:none}.gp-sc-hover-card:hover .gp-sc-hover-image,.gp-sc-hover-card:hover .gp-sc-hover-video{opacity:1}.gp-sc-hover-card:hover .gp-sc-static-media{opacity:0}.gp-grid-cols-dynamic{display:grid!important}
.gp-share-modal-link-only .gp-share-link-box{display:grid;gap:8px}.gp-share-modal-link-only #gpShareReferralLink{width:100%;box-sizing:border-box;padding:11px 12px;border:1px solid rgba(255,255,255,.14);border-radius:9px;background:#0b0e17;color:#fff;font-size:12px;outline:none}.gp-share-modal-link-only .gp-share-copy-status{min-height:16px;margin:0;color:#4ade80;font-size:11px;font-weight:700}.gp-share-modal-link-only .gp-share-note{margin-bottom:2px}

/* Game page background + like people polish */
.gp-single-game-page{position:relative;isolation:isolate;overflow:hidden;min-height:100vh;}
.gp-game-page-bg{position:absolute;z-index:-1;left:0;right:0;top:0;height:650px;pointer-events:none;background-image:linear-gradient(180deg,rgba(13,13,20,.16) 0%,rgba(13,13,20,.34) 22%,rgba(13,13,20,.66) 48%,rgba(13,13,20,.94) 82%,var(--gp-bg) 100%),var(--gp-game-bg);background-size:cover;background-position:center top;background-repeat:no-repeat;filter:saturate(.9);opacity:.92;}
.gp-game-top-header{position:relative;z-index:2;margin:0 auto 16px;padding:10px 0 8px;min-height:54px;}
.gp-game-top-header .gp-game-title{font-size:clamp(28px,3vw,44px);line-height:1.08;text-shadow:0 3px 22px rgba(0,0,0,.75);}
.gp-like-people-bar{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:8px 0 16px;padding:11px 13px;border:1px solid rgba(255,255,255,.08);border-radius:14px;background:rgba(18,18,31,.78);backdrop-filter:blur(12px);box-shadow:0 10px 28px rgba(0,0,0,.2);}
.gp-like-people-main{display:flex;align-items:center;gap:11px;min-width:0;}
.gp-like-avatar-stack{display:flex;align-items:center;flex:0 0 auto;padding-left:4px;}
.gp-like-avatar{width:34px;height:34px;border-radius:50%;overflow:hidden;border:2px solid #12121f;display:block;margin-left:-7px;background:#202033;box-shadow:0 2px 8px rgba(0,0,0,.35);}
.gp-like-avatar:first-child{margin-left:0;}
.gp-like-avatar img{width:100%;height:100%;display:block;object-fit:cover;}
.gp-like-people-copy{min-width:0;display:flex;flex-direction:column;gap:2px;}
.gp-like-people-copy strong{font-size:12px;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.gp-like-people-copy span{font-size:10px;color:var(--gp-muted);}
.gp-like-browse-btn{border:1px solid rgba(124,58,237,.45);background:rgba(124,58,237,.14);color:#d8c8ff;border-radius:9px;padding:8px 11px;font-size:11px;font-weight:800;cursor:pointer;white-space:nowrap;}
.gp-like-browse-btn:hover{background:rgba(124,58,237,.28);color:#fff;}
.gp-like-people-modal{display:none;position:fixed;inset:0;z-index:1000000;align-items:center;justify-content:center;padding:18px;}
.gp-like-people-modal.is-open{display:flex;}
.gp-like-modal-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.78);backdrop-filter:blur(5px);}
.gp-like-modal-box{position:relative;width:min(520px,100%);max-height:min(680px,88vh);display:flex;flex-direction:column;background:#141421;border:1px solid rgba(255,255,255,.1);border-radius:18px;box-shadow:0 28px 90px rgba(0,0,0,.55);overflow:hidden;}
.gp-like-modal-head{display:flex;align-items:center;justify-content:space-between;padding:16px 18px;border-bottom:1px solid rgba(255,255,255,.07);color:#fff;}
.gp-like-modal-head strong{font-size:15px;display:block;}.gp-like-modal-head span{font-size:10px;color:var(--gp-muted);}
.gp-like-modal-head button{width:34px;height:34px;border:0;border-radius:9px;background:rgba(255,255,255,.06);color:#fff;font-size:24px;line-height:1;cursor:pointer;}
.gp-like-people-list{overflow:auto;padding:8px;}
.gp-like-person-row{display:flex;align-items:center;gap:11px;padding:10px;border-radius:11px;text-decoration:none;color:#fff;}
.gp-like-person-row:hover{background:rgba(124,58,237,.1);}
.gp-like-person-row img{width:42px;height:42px;border-radius:50%;object-fit:cover;background:#222238;flex:0 0 auto;}
.gp-like-person-row span{min-width:0;flex:1;}.gp-like-person-row strong{display:block;font-size:12px;}.gp-like-person-row small{display:block;margin-top:2px;color:var(--gp-muted);font-size:10px;}.gp-like-person-row b{font-size:20px;color:#77778d;font-weight:400;}
.gp-like-loading{padding:35px 15px;text-align:center;color:var(--gp-muted);font-size:12px;}
body.gp-like-modal-open{overflow:hidden;}
@media(max-width:900px){
 .gp-single-game-page{padding-top:8px;}
 .gp-game-page-bg{height:600px;background-position:center top;background-image:linear-gradient(180deg,rgba(13,13,20,.12) 0%,rgba(13,13,20,.34) 25%,rgba(13,13,20,.72) 55%,rgba(13,13,20,.96) 86%,var(--gp-bg) 100%),var(--gp-game-bg);}
 .gp-game-top-header{padding:8px 0 4px;margin-bottom:8px;}
 .gp-game-top-header .gp-game-title{font-size:27px;}
 .gp-like-people-bar{order:5;margin-top:8px;}
}
@media(max-width:560px){
 .gp-game-page-bg{height:600px;}
 .gp-game-top-header .gp-header-left{gap:7px;}
 .gp-game-top-header .gp-game-title{width:100%;font-size:25px;}
 .gp-like-people-bar{padding:10px;gap:8px;}
 .gp-like-avatar{width:31px;height:31px;}
 .gp-like-people-copy span{display:none;}
 .gp-like-browse-btn{padding:8px 9px;}
 .gp-like-modal-box{max-height:90vh;border-radius:15px;}
}

/* GP Social 3.1.4 */


/* GP Social 3.1.5 - focused visual refinements only */
.gp-game-intro-card{
  margin:0 0 14px;
  padding:12px 16px 11px;
  border:1px solid rgba(196,181,253,.30);
  border-radius:15px;
  background:rgba(124,58,237,.50);
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
  box-shadow:0 10px 28px rgba(0,0,0,.20);
}
.gp-game-intro-card .gp-game-header-bar{
  margin:0;
  padding:0 0 3px;
  min-height:0;
}
.gp-game-intro-card .gp-header-left{
  gap:7px;
}
.gp-game-intro-card .gp-game-title{
  font-size:clamp(18px,2vw,29px);
  line-height:1.08;
}
.gp-game-intro-card .gp-status-pill{
  padding:3px 8px;
  font-size:8px;
}
.gp-game-intro-card .gp-label-badge{
  font-size:7px;
  padding:2px 7px;
}
.gp-game-intro-card .gp-gameplay-notice{
  margin:1px 0 0;
  padding:3px 8px;
  gap:6px;
  border:0;
  border-radius:8px;
  background:rgba(0,0,0,.14);
  color:#eee8ff;
  font-size:9px;
  line-height:1.3;
}
.gp-game-intro-card .gp-notice-icon{font-size:14px;}

/* Downloads are deliberately below the chat in the sidebar on both desktop and mobile. */
.gp-game-side-col .gp-download-options{
  display:grid;
  grid-template-columns:1fr;
  gap:10px;
  margin:0 0 18px;
}
.gp-download-card{
  position:relative;
  display:flex;
  align-items:center;
  gap:11px;
  padding:12px;
  border:1px solid rgba(255,255,255,.10);
  border-radius:14px;
  background:linear-gradient(135deg,rgba(24,25,43,.94),rgba(42,31,72,.86));
  box-shadow:0 10px 24px rgba(0,0,0,.18);
  transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease;
}
.gp-download-card:hover{
  transform:translateY(-2px);
  border-color:rgba(124,58,237,.55);
  box-shadow:0 14px 30px rgba(0,0,0,.24);
}
.gp-download-icon{
  width:40px;
  height:40px;
  border-radius:12px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.08);
  font-size:20px;
  flex:0 0 auto;
}
.gp-download-copy{min-width:0;flex:1;}
.gp-download-copy strong{font-size:12px;line-height:1.2;}
.gp-download-copy span{font-size:9.5px;line-height:1.35;margin-top:3px;}
.gp-download-copy small{font-size:9px;margin-top:5px;}
.gp-download-btn{
  border:0;
  border-radius:10px;
  padding:8px 10px;
  background:linear-gradient(135deg,#7c3aed,#5b21b6);
  color:#fff;
  font-size:10px;
  font-weight:800;
  cursor:pointer;
  white-space:nowrap;
  box-shadow:0 5px 14px rgba(124,58,237,.28);
}
.gp-download-btn:hover{filter:brightness(1.10);transform:translateY(-1px);}

@media(min-width:701px){
  .gp-download-apk{display:none !important;}
}
@media(max-width:700px){
  .gp-download-exe{display:none !important;}
}

@media(max-width:900px){
  .gp-game-intro-card{margin-bottom:8px;padding:10px 12px 8px;}
  .gp-game-intro-card .gp-game-title{font-size:16px;}
  .gp-game-intro-card .gp-gameplay-notice{font-size:8.8px;padding:3px 6px;}
  .gp-game-side-col .gp-download-options{
    order:7;
    width:100%;
    margin:0 0 16px;
  }
  .gp-download-card{padding:11px;}
}
@media(max-width:650px){
  .gp-game-intro-card .gp-header-left{gap:6px;}
  .gp-game-intro-card .gp-status-pill{font-size:7.5px;padding:2px 7px;}
  .gp-game-intro-card .gp-label-badge{font-size:7px;padding:2px 6px;}
  .gp-game-intro-card .gp-gameplay-notice{font-size:8.8px;line-height:1.3;}
  .gp-download-card{gap:9px;border-radius:12px;}
  .gp-download-icon{width:37px;height:37px;border-radius:10px;font-size:18px;}
  .gp-download-copy strong{font-size:11px;}
  .gp-download-copy span{font-size:8.5px;}
  .gp-download-copy small{font-size:8.5px;}
  .gp-download-btn{padding:8px 9px;font-size:9px;border-radius:9px;}
}


/* GP Social 3.1.7 - mobile game order + compact download card + title sizing */
.gp-download-card{
  display:grid;
  grid-template-columns:minmax(0,3fr) minmax(72px,1fr);
  align-items:center;
  gap:0;
  padding:0;
  overflow:hidden;
  min-height:74px;
}
.gp-download-copy{
  min-width:0;
  padding:11px 13px;
}
.gp-download-copy strong{
  display:block;
  font-size:13px;
  line-height:1.2;
  color:#fff;
  font-weight:850;
}
.gp-download-subline{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  margin-top:4px;
  min-width:0;
}
.gp-download-subline > span{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:9.5px;
  line-height:1.3;
  color:var(--gp-muted);
}
.gp-download-cost,
.gp-download-free{
  flex:0 0 auto;
  font-size:10px;
  line-height:1;
  font-weight:900;
  white-space:nowrap;
}
.gp-download-cost{color:#ff6b6b;}
.gp-download-free{color:#72e6b2;}
.gp-download-btn{
  width:100%;
  height:100%;
  min-height:74px;
  display:flex;
  align-items:center;
  justify-content:center;
  border:0;
  border-left:1px solid rgba(255,255,255,.10);
  border-radius:0;
  padding:0;
  background:linear-gradient(145deg,#8b5cf6,#ec4899);
  color:#fff;
  box-shadow:none;
  cursor:pointer;
}
.gp-download-btn:hover{filter:brightness(1.08);transform:none;}
.gp-download-btn:disabled{opacity:.76;cursor:wait;}
.gp-download-btn-icon,
.gp-download-btn-icon svg{
  width:26px;
  height:26px;
  display:block;
}
.gp-download-spinner{
  width:22px;
  height:22px;
  border:2px solid rgba(255,255,255,.38);
  border-top-color:#fff;
  border-radius:50%;
  animation:gpDownloadSpin .7s linear infinite;
}
@keyframes gpDownloadSpin{to{transform:rotate(360deg);}}

/* Exact mobile reading order requested by the approved layout. */
@media(max-width:900px){
  .gp-controls-bar{order:4;}
  .gp-like-people-bar{order:5;}
  .gp-chat-room-container{order:6;}
  .gp-game-side-col .gp-download-options{order:7;}
  .gp-rec-similar{order:8;}
  .gp-content-card{order:9;}
  .gp-rec-trending{order:10;}
  .gp-nav-games{order:11;}
  .gp-ad-3{order:12;}
  .gp-ad-2{order:13;}
  .gp-related-card{order:14;}
  .gp-tags-section-bar{order:15;}
}

/* The title above the game frame only: 35% smaller than v3.1.5. */
.gp-game-intro-card .gp-game-title{font-size:clamp(11.7px,1.3vw,18.85px);}
@media(max-width:900px){
  .gp-game-intro-card .gp-game-title{font-size:10.4px;}
}
@media(max-width:650px){
  .gp-download-card{min-height:68px;}
  .gp-download-copy{padding:10px 11px;}
  .gp-download-copy strong{font-size:11px;}
  .gp-download-subline > span{font-size:8.3px;}
  .gp-download-cost,.gp-download-free{font-size:9px;}
  .gp-download-btn{min-height:68px;}
  .gp-download-btn-icon,
  .gp-download-btn-icon svg{width:23px;height:23px;}
}

/* v3.1.8 — identify each downloadable build clearly. */
.gp-download-title{display:flex!important;align-items:center;gap:8px;}
.gp-download-title>span:last-child{min-width:0;}
.gp-download-title small{display:inline-flex;vertical-align:middle;margin-left:5px;padding:2px 5px;border-radius:5px;background:rgba(255,255,255,.09);color:#cbd5e1;font-size:8px;letter-spacing:.05em;font-weight:900;}
.gp-download-platform-symbol{width:25px;height:25px;flex:0 0 25px;display:grid;place-items:center;border-radius:7px;background:rgba(124,58,237,.16);color:#c4b5fd;border:1px solid rgba(167,139,250,.18);}
.gp-download-platform-symbol svg{width:17px;height:17px;display:block;}
.gp-download-android-symbol{color:#86efac;background:rgba(34,197,94,.12);border-color:rgba(134,239,172,.17);}
@media(max-width:650px){.gp-download-title{gap:6px}.gp-download-platform-symbol{width:22px;height:22px;flex-basis:22px}.gp-download-platform-symbol svg{width:15px;height:15px}.gp-download-title small{font-size:7px;padding:2px 4px;}}

/* Compact share dialog with the reward amount as the visual focus. */
.gp-share-reward-card{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:14px 13px;margin:5px 0 10px;border:1px solid rgba(74,222,128,.24);border-radius:12px;background:linear-gradient(115deg,rgba(20,83,45,.42),rgba(15,23,42,.72));}
.gp-share-reward-card span{font-size:11px;color:#e2e8f0;font-weight:650;}
.gp-share-reward-card strong{font-size:clamp(20px,5vw,27px);line-height:1;color:#4ade80;font-weight:950;letter-spacing:-.03em;text-shadow:0 0 20px rgba(74,222,128,.17);white-space:nowrap;}
.gp-share-reward-card strong.is-inactive{font-size:16px;color:#9ca3af;text-shadow:none;}
.gp-share-modal-link-only .gp-share-hint{font-size:11px;line-height:1.4;margin:3px 1px 6px;color:#c0c4d2;}
.gp-share-modal-link-only .gp-share-note{font-size:9px;color:#82889b;margin:8px 1px 2px;}
@media(max-width:650px){.gp-share-reward-card{padding:12px}.gp-share-reward-card strong{font-size:22px}.gp-share-modal-link-only .gp-share-hint{font-size:10px}}

/* v3.1.9: clear sign-in gate for visitors attempting point-based games */
.gp-game-login-notice{width:min(360px,calc(100vw - 42px));box-sizing:border-box;margin:15px auto 0;padding:14px 16px;border-radius:14px;border:1px solid rgba(167,139,250,.32);background:rgba(10,12,23,.86);box-shadow:0 12px 32px rgba(0,0,0,.25);color:#fff;text-align:center}
.gp-game-login-notice strong{display:block;font-size:13px;font-weight:850;margin:0 0 5px}
.gp-game-login-notice>span{display:block;color:#b8bdcc;font-size:11px;line-height:1.5}
.gp-game-login-notice>div{display:flex;justify-content:center;gap:8px;margin-top:11px}
.gp-game-login-notice a{display:inline-flex;align-items:center;justify-content:center;min-height:31px;padding:0 12px;border-radius:9px;text-decoration:none;font-size:11px;font-weight:850}
.gp-game-login-notice .gp-game-login-link{background:linear-gradient(135deg,#7c3aed,#ec4899);color:#fff}
.gp-game-login-notice .gp-game-register-link{border:1px solid rgba(255,255,255,.17);background:rgba(255,255,255,.055);color:#f3f4f6}


/* Batch 1: accessible guest-download notice and stable download-button state. */
.gp-download-login-notice{grid-column:1/-1;margin:8px 0 0;padding:10px 12px;border:1px solid rgba(245,158,11,.35);border-radius:10px;background:rgba(245,158,11,.09);color:var(--gp-text,#f5f7fb);font-size:12px;line-height:1.55;overflow-wrap:anywhere}
.gp-download-login-notice a{color:#c4b5fd;font-weight:800;text-decoration:underline;text-underline-offset:2px}
.gp-download-btn.is-loading{transform:none!important}


/* v3.2.4 - Mobile order: the Tags bar sits right under the controls (buttons) bar and the
   likes strip, exactly like desktop. This block comes last so it overrides the earlier
   "order" rules (which pushed the tags to the very bottom). */
@media(max-width:900px){
  .gp-controls-bar{order:4;}
  .gp-like-people-bar{order:5;}
  .gp-tags-section-bar{order:6;margin:4px 0 14px;}
  .gp-chat-room-container{order:7;}
  .gp-game-side-col .gp-download-options{order:8;}
  .gp-rec-similar{order:9;}
  .gp-content-card{order:10;}
  .gp-rec-trending{order:11;}
  .gp-nav-games{order:12;}
  .gp-ad-3{order:13;}
  .gp-ad-2{order:14;}
  .gp-related-card{order:15;}
}

/* GP Games 3.2.5 - spacing between Similar Games and About, clickable chat links, collapsed chat, trending grid */
.gp-recommendations-block + .gp-content-card,
.gp-rec-similar + .gp-content-card { margin-top: 16px; }
.gp-chat-message-text a.gp-chat-link { color: #8ab4ff; text-decoration: underline; word-break: break-all; }
.gp-chat-message.is-mine .gp-chat-message-text a.gp-chat-link { color: #fff; }

/* Chat is collapsed (and nothing is polled) until the player opens it. */
.gp-chat-messages-box.gp-chat-collapsed { position: relative; overflow: hidden; cursor: pointer; }
.gp-chat-messages-box.gp-chat-collapsed .gp-chat-skel { display: block; height: 30px; width: 78%; border-radius: 10px; background: rgba(255,255,255,.14); filter: blur(5px); flex: 0 0 auto; }
.gp-chat-messages-box.gp-chat-collapsed .gp-chat-skel-short { width: 52%; align-self: flex-end; background: rgba(124,58,237,.35); }
.gp-chat-messages-box.gp-chat-collapsed::after { content: "💬  Click to show the chat"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; text-align: center; padding: 12px; font-size: 13px; font-weight: 700; color: #fff; background: rgba(10,10,24,.45); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); transition: background .15s; }
.gp-chat-messages-box.gp-chat-collapsed:hover::after, .gp-chat-messages-box.gp-chat-collapsed:focus-visible::after { background: rgba(124,58,237,.35); }
.gp-chat-messages-box.gp-chat-collapsed:focus-visible { outline: 2px solid #7c3aed; outline-offset: 2px; }

/* Trending games (replaces Quick Links): small responsive game cards.
   The grid auto-fits as many small cards per row as the container allows (3 in the side column, 4 on phones, more in
   wide areas), so the cards stay small wherever the Game Page Builder places the block. */
.gp-trending-side-card h4 { margin-bottom: 12px; }
.gp-trending-side-card .gp-single-trending-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.gp-trending-side-card .gp-single-trending-grid .gp-model-game-card { width: 100%; aspect-ratio: 1 / 1; border-radius: 10px; }
.gp-trending-side-card .gp-single-trending-grid .gp-model-game-card:hover { transform: none; }
.gp-trending-side-card .gp-single-trending-grid .gp-model-game-points { top: 4px; inset-inline-start: 4px; padding: 2px 4px; font-size: 8px; border-radius: 5px; max-width: calc(100% - 28px); }
.gp-trending-side-card .gp-single-trending-grid .gp-model-game-badge { display: none; }
.gp-trending-side-card .gp-single-trending-grid .gp-model-game-like { top: 3px; right: 3px; width: 22px; height: 22px; }
.gp-trending-side-card .gp-single-trending-grid .gp-model-game-like svg { width: 12px; height: 12px; }
.gp-trending-side-card .gp-single-trending-grid .gp-game-card-item { display: block; }
.gp-trending-side-card .gp-single-trending-grid .gp-game-card-item img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; }
@media (max-width: 900px) {
  .gp-trending-side-card .gp-single-trending-grid { grid-template-columns: repeat(auto-fill, minmax(80px, 1fr)); }
}
@media (max-width: 480px) {
  .gp-trending-side-card .gp-single-trending-grid { grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 6px; }
}
/* Self-contained card geometry: the cards stay small even if the theme's models-frontend.css is missing, cached or minified away. */
.gp-single-trending-grid .gp-model-game-card { position: relative; display: block; overflow: hidden; box-sizing: border-box; background: #101421; border: 1px solid rgba(255,255,255,.07); }
.gp-single-trending-grid .gp-model-game-link, .gp-single-trending-grid .gp-model-game-media { position: absolute; inset: 0; display: block; overflow: hidden; }
.gp-single-trending-grid .gp-model-game-media img, .gp-single-trending-grid .gp-model-game-media video { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.gp-single-trending-grid .gp-model-game-hover-image, .gp-single-trending-grid .gp-model-game-hover-video { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.gp-single-trending-grid .gp-model-game-points { position: absolute; z-index: 4; white-space: nowrap; color: #e5e7eb; background: rgba(8,10,20,.8); font-weight: 900; line-height: 1.2; pointer-events: none; }
.gp-single-trending-grid .gp-model-game-points.is-earn { color: #6ee7b7; background: rgba(5,65,48,.88); }
.gp-single-trending-grid .gp-model-game-points.is-cost { color: #fb7185; background: rgba(91,20,34,.9); }
.gp-single-trending-grid .gp-model-game-like { position: absolute; z-index: 5; display: flex; align-items: center; justify-content: center; padding: 0; cursor: pointer; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; background: rgba(8,10,20,.72); color: #fff; }
.gp-single-trending-grid .gp-model-game-like svg { fill: none; stroke: currentColor; stroke-width: 2; }
.gp-single-trending-grid .gp-model-game-like.is-liked { color: #fb7185; }
.gp-single-trending-grid .gp-model-game-like.is-liked svg { fill: currentColor; }

/* ===== GP Games 3.3.0 - Game Page Builder layout =====
   Desktop: zones (top / main / side / bottom). Mobile: every block is a flex item of .gp-pb-layout and is ordered with the
   builder's generated CSS (zones become display:contents). Inner margins are neutralised so the spacing is controlled
   by the builder's "space between sections" setting only. */
.gp-pb-layout { display: grid; grid-template-columns: minmax(0, 1fr) var(--gp-pb-side, 340px); column-gap: 24px; row-gap: 16px; align-items: start; }
.gp-pb-layout.no-sidebar { grid-template-columns: minmax(0, 1fr); }
.gp-pb-zone { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.gp-pb-zone-top, .gp-pb-zone-bottom { grid-column: 1 / -1; }
.gp-pb-zone-m { display: none; }
.gp-pb-block { min-width: 0; }
.gp-pb-block > * { margin-top: 0; margin-bottom: 0; }
.gp-single-game-page .gp-pb-block > .gp-controls-bar,
.gp-single-game-page .gp-pb-block > .gp-tags-section-bar,
.gp-single-game-page .gp-pb-block > .gp-chat-room-container,
.gp-single-game-page .gp-pb-block > .gp-content-card,
.gp-single-game-page .gp-pb-block > .gp-recommendations-block,
.gp-single-game-page .gp-pb-block > .gp-nav-games,
.gp-single-game-page .gp-pb-block > .gp-ad-slot,
.gp-single-game-page .gp-pb-block > .gp-download-options,
.gp-single-game-page .gp-pb-block > .gp-related-card,
.gp-single-game-page .gp-pb-block > .gp-viewport-wrapper,
.gp-single-game-page .gp-pb-block > .gp-mobile-game-card { margin-top: 0; margin-bottom: 0; }
.gp-single-game-page .gp-pb-t-controls .gp-like-people-bar { margin: 8px 0 0; }
.gp-single-game-page .gp-pb-t-downloads .gp-download-options { display: grid; grid-template-columns: 1fr; gap: 10px; }
.gp-single-game-page .gp-pb-t-chat .gp-chat-room-container { margin-bottom: 0; }
.gp-pb-block .gp-block-heading { margin-top: 0; }
.gp-single-game-page .gp-pb-t-similar .gp-recommendations-block,
.gp-single-game-page .gp-pb-t-new_games .gp-recommendations-block { margin-top: 0; }
.gp-pb-custom-text { line-height: 1.6; }
.gp-pb-custom-text > :first-child { margin-top: 0; } .gp-pb-custom-text > :last-child { margin-bottom: 0; }
.gp-pb-custom-image img { display: block; max-width: 100%; height: auto; border-radius: inherit; }
.gp-pb-divider { width: 100%; }

/* Card grids used by Trending and New Games. */
.gp-pb-cards { display: grid; gap: 8px; }
.gp-pb-newgrid { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 12px; }
.gp-pb-newgrid .gp-model-game-card, .gp-pb-newgrid .gp-game-card-item { min-width: 0; }
.gp-pb-newgrid[hidden] { display: none; }
.gp-pb-grid > [hidden] { display: none !important; }
.gp-pb-more-wrap { display: flex; justify-content: center; margin-top: 16px; }
.gp-pb-load-more { background: var(--gp-accent); color: #fff; border: 0; border-radius: 999px; padding: 10px 34px; font-weight: 800; font-size: 14px; cursor: pointer; transition: transform .15s, opacity .15s; }
.gp-pb-load-more:hover { transform: translateY(-1px); }
.gp-pb-load-more:disabled { opacity: .6; cursor: wait; }
.gp-pb-load-more[hidden] { display: none; }
/* Self-contained card geometry for every builder grid (works even if the theme's models stylesheet is not loaded). */
.gp-pb-cards .gp-model-game-card { position: relative; display: block; overflow: hidden; box-sizing: border-box; background: #101421; border: 1px solid rgba(255,255,255,.07); border-radius: 12px; aspect-ratio: 4 / 3.5; }
.gp-pb-cards .gp-model-game-link, .gp-pb-cards .gp-model-game-media { position: absolute; inset: 0; display: block; overflow: hidden; }
.gp-pb-cards .gp-model-game-media img, .gp-pb-cards .gp-model-game-media video { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; }

@media (max-width: 900px) {
  .gp-pb-layout { display: flex; flex-direction: column; gap: 10px; }
  .gp-pb-zone, .gp-pb-zone-m { display: contents; }
  .gp-pb-block { width: 100%; }
  .gp-pb-newgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .gp-pb-load-more { padding: 9px 28px; font-size: 13px; }
}

/* ==========================================================================
   3.4.0 — Custom Code games stay inside the game box; immersive (full screen) player
   ========================================================================== */
.gp-viewport-wrapper .gp-html-engine-wrap,
.gp-viewport-wrapper .gp-iframe-engine-wrap,
.gp-viewport-wrapper .gp-iframe-embed { width: 100%; height: 100%; position: relative; overflow: hidden; }
.gp-viewport-wrapper .gp-iframe-engine-wrap iframe,
.gp-viewport-wrapper .gp-iframe-embed iframe { width: 100% !important; height: 100% !important; border: 0; }
iframe.gp-custom-code-frame { width: 100%; height: 100%; border: 0; display: block; background: #000; }
.gp-viewport-wrapper { contain: layout paint; }

/* The in-game full-screen layer. It sits above the whole site (header, menus, bottom bar, daily bar). */
html.gp-game-immersive, body.gp-game-immersive { overflow: hidden !important; overscroll-behavior: none; touch-action: none; }
.gp-viewport-wrapper.is-immersive {
  display: block !important; position: fixed !important; inset: 0 !important; z-index: 2147483000 !important;
  width: 100vw !important; height: 100vh !important; height: 100dvh !important; max-width: none !important;
  margin: 0 !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; background: #000;
  padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left); box-sizing: border-box;
}
.gp-viewport-wrapper.is-immersive #gpGameActiveFrame { width: 100%; height: 100%; }
.gp-viewport-wrapper:fullscreen { width: 100% !important; height: 100% !important; border-radius: 0; border: 0; background: #000; }
.gp-viewport-wrapper:-webkit-full-screen { width: 100% !important; height: 100% !important; border-radius: 0; border: 0; background: #000; }
body.gp-game-immersive .gp-header, body.gp-game-immersive .gp-mobile-nav, body.gp-game-immersive .gp-auth-mobile-nav,
body.gp-game-immersive .gp-daily-bar, body.gp-game-immersive .gp-wp { visibility: hidden !important; }

.gp-immersive-exit {
  position: absolute; top: calc(10px + env(safe-area-inset-top)); right: calc(10px + env(safe-area-inset-right)); z-index: 5;
  width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: rgba(0,0,0,.55);
  color: #fff; display: flex; align-items: center; justify-content: center; padding: 0; cursor: pointer; opacity: .55;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: opacity .2s;
}
.gp-immersive-exit:hover, .gp-immersive-exit:focus-visible { opacity: 1; }

/* Non-blocking message (never alert(): that would kick the player out of full screen). */
.gp-game-toast {
  position: fixed; left: 50%; bottom: calc(22px + env(safe-area-inset-bottom)); transform: translate(-50%, 16px); opacity: 0; z-index: 2147483100;
  max-width: min(92vw, 420px); padding: 10px 16px; border-radius: 999px; font: 700 13px/1.35 system-ui, sans-serif; color: #fff;
  background: rgba(16,185,129,.92); box-shadow: 0 8px 24px rgba(0,0,0,.35); pointer-events: none; text-align: center; transition: opacity .25s, transform .25s;
}
.gp-viewport-wrapper .gp-game-toast { position: absolute; }
.gp-game-toast.is-in { opacity: 1; transform: translate(-50%, 0); }
.gp-game-toast.is-cost { background: rgba(245,158,11,.94); }
.gp-game-toast.is-error { background: rgba(239,68,68,.94); }

/* ==========================================================================
   3.5.0 - Screenshots block (inside-the-game images / GIF / video) + viewer
   ========================================================================== */
.gp-shots-card{overflow:hidden}
.gp-shots-rail{position:relative}
.gp-shots-track{--shots-cols:3;display:flex;gap:10px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;-webkit-overflow-scrolling:touch;padding:2px 0}
.gp-shots-track::-webkit-scrollbar{display:none}
.gp-shots-item{position:relative;flex:0 0 calc((100% - (var(--shots-cols) - 1) * 10px) / var(--shots-cols));aspect-ratio:16/10;border:1px solid rgba(255,255,255,.1);border-radius:10px;overflow:hidden;background:#0b0f17;padding:0;cursor:zoom-in;scroll-snap-align:start;transition:transform .15s ease,border-color .15s ease}
.gp-shots-item:hover,.gp-shots-item:focus-visible{border-color:var(--gp-accent,#8b5cf6);transform:translateY(-1px);outline:none}
.gp-shots-item img,.gp-shots-item video{display:block;width:100%;height:100%;object-fit:cover}
.gp-shots-item.is-gif::after{content:"GIF";position:absolute;left:6px;top:6px;padding:2px 6px;border-radius:5px;background:rgba(0,0,0,.65);color:#fff;font:800 10px/1.4 system-ui,sans-serif;letter-spacing:.04em}
.gp-shots-play{position:absolute;inset:0;margin:auto;width:42px;height:42px;border-radius:50%;background:rgba(0,0,0,.6);color:#fff;display:flex;align-items:center;justify-content:center;font-size:16px;padding-left:3px;pointer-events:none}
.gp-shots-nav{position:absolute;top:50%;transform:translateY(-50%);z-index:2;width:34px;height:34px;border-radius:50%;border:1px solid rgba(255,255,255,.2);background:rgba(8,12,20,.85);color:#fff;font-size:20px;line-height:1;cursor:pointer;padding:0 0 3px}
.gp-shots-nav[hidden]{display:none}
.gp-shots-prev{left:6px}.gp-shots-next{right:6px}
@media (max-width:900px){.gp-shots-nav{display:none!important}}

.gp-lightbox{position:fixed;inset:0;z-index:2147483200;background:rgba(3,6,12,.94);display:flex;align-items:center;justify-content:center;padding:calc(18px + env(safe-area-inset-top)) 14px calc(18px + env(safe-area-inset-bottom));opacity:0;transition:opacity .18s ease}
.gp-lightbox.is-in{opacity:1}
.gp-lightbox-stage{max-width:min(1200px,100%);max-height:100%;display:flex;align-items:center;justify-content:center}
.gp-lightbox-stage img,.gp-lightbox-stage video{max-width:100%;max-height:calc(100vh - 90px);max-height:calc(100dvh - 90px);border-radius:10px;display:block;background:#000}
.gp-lightbox-btn{position:absolute;width:42px;height:42px;border-radius:50%;border:1px solid rgba(255,255,255,.25);background:rgba(255,255,255,.1);color:#fff;font-size:22px;line-height:1;cursor:pointer;display:flex;align-items:center;justify-content:center;padding:0 0 3px}
.gp-lightbox-btn:hover{background:rgba(255,255,255,.2)}
.gp-lightbox-close{top:calc(12px + env(safe-area-inset-top));right:12px}
.gp-lightbox-prev{left:12px;top:50%;transform:translateY(-50%)}.gp-lightbox-next{right:12px;top:50%;transform:translateY(-50%)}
.gp-lightbox-count{position:absolute;bottom:calc(12px + env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);color:#cbd5e1;font:700 12px/1 system-ui,sans-serif}
html.gp-lightbox-open{overflow:hidden}
@media (max-width:600px){.gp-lightbox-prev,.gp-lightbox-next{top:auto;bottom:calc(8px + env(safe-area-inset-bottom));transform:none}.gp-lightbox-prev{left:14px}.gp-lightbox-next{right:14px}}

/* 3.6.0 - builder headings that differ between Desktop and Mobile */
@media (max-width:900px){.gp-pb-t-d{display:none!important}}
@media (min-width:901px){.gp-pb-t-m{display:none!important}}

/* ---- Shared "?" help bubble (.gp-tip) ---- */
.gp-tip{position:relative;display:inline-flex;align-items:center;justify-content:center;flex:none;width:15px;height:15px;margin:0 0 0 6px;padding:0;border:1px solid currentColor;border-radius:50%;background:transparent;color:inherit;font:700 9px/1 system-ui,-apple-system,Segoe UI,sans-serif;opacity:.6;cursor:help;vertical-align:middle;text-transform:none;letter-spacing:0;box-shadow:none;min-height:0}
.gp-tip::after{content:"";position:absolute;inset:-9px}
.gp-tip:hover,.gp-tip:focus-visible,.gp-tip.is-open{opacity:1;outline:0}
.gp-tip-pop{position:fixed;z-index:2147483600;max-width:250px;padding:9px 11px;border-radius:10px;background:#12141f;color:#e9ebf5;border:1px solid rgba(255,255,255,.16);box-shadow:0 12px 32px rgba(0,0,0,.45);font:500 12px/1.5 system-ui,-apple-system,Segoe UI,sans-serif;text-align:left;pointer-events:none;opacity:0;transform:translateY(3px);transition:opacity .12s,transform .12s}
.gp-tip-pop.is-on{opacity:1;transform:none}

/* ---- v3.7: tags (3 + "All tags"), Info & Controls (2 lines + Show more), mobile control bar without fullscreen ---- */
.gp-tags-section-bar .gp-tag-extra{display:none}
.gp-tags-section-bar.is-open .gp-tag-extra{display:inline-block}
.gp-tag-toggle{border:1px solid rgba(167,139,250,.45);background:rgba(124,58,237,.14);color:#c4b5fd;padding:3px 11px;border-radius:12px;font-size:12px;font-weight:700;line-height:1.4;cursor:pointer;margin:0}
.gp-tag-toggle:hover,.gp-tag-toggle:focus-visible{background:rgba(124,58,237,.28);color:#fff}
.gp-info-card .gp-collapse-body{position:relative;max-height:3.3em;overflow:hidden}
.gp-info-card .gp-desc-body>:first-child{margin-top:0}
.gp-info-card .gp-desc-body>:last-child{margin-bottom:0}
.gp-info-card .gp-how-wrap{margin-top:.5em}
.gp-info-card .gp-how-label{color:#fff}
.gp-info-card.is-collapsible .gp-collapse-body::after{content:"";position:absolute;left:0;right:0;bottom:0;height:1.5em;background:linear-gradient(to bottom,transparent,var(--gp-card,#14151f));pointer-events:none}
.gp-info-card.is-open .gp-collapse-body{max-height:none;overflow:visible}
.gp-info-card.is-open .gp-collapse-body::after{display:none}
.gp-info-card .gp-card-title{margin-bottom:10px}
.gp-collapse-toggle{display:inline-block;margin-top:8px;padding:0;border:0;background:transparent;color:#c4b5fd;font-size:12.5px;font-weight:700;cursor:pointer}
.gp-collapse-toggle:hover{color:#fff;text-decoration:underline}
.gp-collapse-toggle[hidden]{display:none}
.gp-gameplay-notice .gp-tip{margin-left:4px}
@media(max-width:700px){
  #gpBtnFullscreen,.gp-ctrl-left{display:none!important}
  .gp-controls-bar{justify-content:stretch}
  .gp-ctrl-right{margin:0;width:100%;display:flex;flex-wrap:nowrap;justify-content:space-between;gap:6px}
  .gp-ctrl-right .gp-ctrl-btn{flex:1 1 0;width:auto;min-width:0;margin:0}
}
/* ---- Leaderboard block (GP Games 3.7.0) ---- */
.gp-lb{background:var(--gp-card,#14161f);border:1px solid rgba(255,255,255,.08);border-radius:14px;padding:14px 16px;margin:12px 0;color:#e8eaf0}
.gp-lb-head{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin-bottom:10px}
.gp-lb-head h4{margin:0;font-size:16px}
.gp-lb-metric{opacity:.65;font-size:12px;text-align:right}
.gp-lb-list{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.gp-lb-row{display:flex;align-items:center;gap:12px;padding:8px 10px;border-radius:12px;background:rgba(255,255,255,.04);border:1px solid transparent}
.gp-lb-row.is-me{border-color:rgba(255,194,51,.55);background:rgba(255,194,51,.08)}
.gp-lb-rank{width:26px;height:26px;border-radius:50%;display:grid;place-items:center;font-weight:800;font-size:13px;flex:none;background:#2a2e3d;color:#fff}
.gp-lb-row.r1 .gp-lb-rank{background:linear-gradient(135deg,#ffd75e,#e0a21c);color:#2b1c00}
.gp-lb-row.r2 .gp-lb-rank{background:linear-gradient(135deg,#e3e8f2,#a9b3c6);color:#1d2330}
.gp-lb-row.r3 .gp-lb-rank{background:linear-gradient(135deg,#f0b27a,#b8692f);color:#2b1400}
.gp-lb-av{width:34px;height:34px;border-radius:50%;object-fit:cover;flex:none;background:#2a2e3d}
.gp-lb-av-fb{display:inline-flex;align-items:center;justify-content:center;font-weight:800;font-size:14px;color:#fff;background:linear-gradient(135deg,#7c3aed,#ec4899)}
.gp-lb-user{flex:1;min-width:0;display:flex;align-items:center;gap:12px;color:inherit;text-decoration:none}
a.gp-lb-user:hover .gp-lb-name,a.gp-lb-user:focus-visible .gp-lb-name{text-decoration:underline}
a.gp-lb-user:focus-visible{outline:2px solid #ffc233;outline-offset:2px;border-radius:10px}
.gp-lb-name{flex:1;min-width:0;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.gp-lb-score{font-weight:800;font-variant-numeric:tabular-nums;white-space:nowrap}
.gp-lb-score small{font-weight:500;opacity:.65;margin-left:3px}
.gp-lb-empty{opacity:.7;font-size:13px;padding:6px 2px}
.gp-lb-me{margin-top:10px;font-size:13px;opacity:.85}
@media (prefers-reduced-motion:no-preference){.gp-lb-row{transition:background .2s,border-color .2s}}


/* Chat refresh icon + invite-a-friend button (under the chat box) */
.gp-chat-refresh-btn { width: 28px; height: 28px; padding: 0; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(255,255,255,0.06); color: #cbd5e1; border: 1px solid rgba(255,255,255,0.14); cursor: pointer; transition: background .15s, color .15s, transform .15s; }
.gp-chat-refresh-btn svg { width: 15px; height: 15px; display: block; }
.gp-chat-refresh-btn:hover { background: rgba(251,191,36,0.16); color: #fbbf24; border-color: rgba(251,191,36,0.5); }
.gp-chat-refresh-btn.is-spinning svg { animation: gpChatSpin .7s linear 1; }
@keyframes gpChatSpin { to { transform: rotate(360deg); } }
.gp-mp-invite-trigger { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; margin-top: 10px; background: linear-gradient(135deg, #7c3aed, #ec4899); color: #fff; border: 0; border-radius: 12px; padding: 10px 14px; font-size: 14px; font-weight: 700; cursor: pointer; transition: filter .15s, transform .15s; }
.gp-mp-invite-trigger:hover { filter: brightness(1.08); transform: translateY(-1px); }
.gp-chat-locked-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 14px; background: rgba(15,23,42,0.75); border-top: 1px solid rgba(255,255,255,0.08); font-size: 13px; color: #cbd5e1; }
.gp-mp-modal-overlay { position: fixed; inset: 0; z-index: 2147483000; background: rgba(6,9,18,0.82); display: flex; align-items: center; justify-content: center; padding: 16px; }
.gp-mp-modal-card { width: min(440px, 100%); background: linear-gradient(180deg, #161c2e, #0e1320); border: 1px solid rgba(168,85,247,0.45); border-radius: 18px; padding: 20px; color: #fff; box-shadow: 0 22px 60px rgba(0,0,0,0.65); }
.gp-mp-modal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.gp-mp-modal-head h3 { margin: 0; font-size: 18px; }
.gp-mp-modal-close { background: none; border: 0; color: #94a3b8; font-size: 24px; cursor: pointer; line-height: 1; }
.gp-mp-modal-sub { font-size: 13px; color: #cbd5e1; margin: 0 0 14px; }
.gp-mp-send-btn { background: linear-gradient(135deg, #fbbf24, #f59e0b); color: #1b1300; border: 0; border-radius: 10px; padding: 9px 14px; font-weight: 800; font-size: 13px; cursor: pointer; }
.gp-mp-send-btn.is-all { width: 100%; padding: 12px; font-size: 14px; }
.gp-mp-friends-divider { text-align: center; margin: 14px 0 10px; font-size: 12px; color: #94a3b8; }
.gp-mp-friends-list { max-height: 210px; overflow-y: auto; display: grid; gap: 8px; }
.gp-mp-friend-row { display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,0.05); padding: 8px 10px; border-radius: 10px; }
.gp-mp-friend-row img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.gp-mp-friend-row span { flex: 1; min-width: 0; display: flex; flex-direction: column; font-size: 13px; }
.gp-mp-friend-row small { color: #10b981; font-size: 11px; }
.gp-mp-countdown-ring-wrap { position: relative; width: 124px; height: 124px; margin: 14px auto; display: flex; align-items: center; justify-content: center; }
.gp-mp-countdown-svg { width: 124px; height: 124px; transform: rotate(-90deg); }
.gp-mp-countdown-svg circle { fill: none; stroke-width: 7; }
.gp-mp-countdown-svg circle.bg { stroke: rgba(255,255,255,0.1); }
.gp-mp-countdown-svg circle.fg { stroke: #fbbf24; stroke-linecap: round; transition: stroke-dashoffset 0.35s linear; }
.gp-mp-countdown-num { position: absolute; text-align: center; }
.gp-mp-countdown-num strong { display: block; font-size: 30px; font-weight: 900; color: #fbbf24; line-height: 1; }
.gp-mp-countdown-num small { font-size: 11px; color: #94a3b8; }
.gp-mp-sender-status { text-align: center; font-size: 14px; color: #e2e8f0; margin: 10px 0 4px; }

/* ---- 3.12.0: game link cards (Community posts/comments, public and private chat) ---- */
.gp-lc-wrap{display:flex;flex-direction:column;gap:8px;margin-top:8px;max-width:360px}
.gp-lc{display:flex;align-items:center;gap:10px;padding:8px;border-radius:14px;border:1px solid var(--gp-border,rgba(255,255,255,.14));background:var(--gp-card,rgba(255,255,255,.05));text-decoration:none!important;color:inherit!important;transition:transform .15s,border-color .15s}
.gp-lc:hover{transform:translateY(-2px);border-color:var(--gp-accent,#7c3aed)}
.gp-lc-img{flex:none;width:64px;height:64px;border-radius:10px;overflow:hidden;background:#111}
.gp-lc-img img{width:100%;height:100%;object-fit:cover;display:block}
.gp-lc-body{display:flex;flex-direction:column;gap:5px;min-width:0;flex:1}
.gp-lc-title{font-size:14px;line-height:1.3;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.gp-lc-pill{align-self:flex-start;padding:1px 8px;border-radius:999px;font-size:11px;font-weight:800;background:rgba(255,255,255,.12)}
.gp-lc-pill.earns{background:rgba(34,197,94,.22);color:#4ade80}.gp-lc-pill.costs{background:rgba(245,158,11,.22);color:#fbbf24}
.gp-lc-play{flex:none;padding:6px 10px;border-radius:999px;background:var(--gp-accent,#7c3aed);color:#fff;font-size:12px;font-weight:800}

/* ---- GP Games 3.14.0: compact title card, adjustable page width, feature icons, collapsible side blocks on mobile ---- */
.gp-single-game-page { --gp-feat-size: 36px; }
.gp-game-container { max-width: none; margin: 0 auto; padding: 0; } /* width % comes from Game Page Builder > Page layout */
.gp-single-game-page .gp-game-intro-card { padding: 7px 12px 8px; margin-bottom: 10px; border-radius: 12px; }
.gp-single-game-page .gp-game-intro-card .gp-game-header-bar { padding: 0; margin: 0; gap: 10px; }
.gp-single-game-page .gp-game-intro-card .gp-header-left { gap: 6px 12px; }
.gp-single-game-page .gp-game-intro-card .gp-game-title { font-size: clamp(17px, 1.7vw, 23px) !important; line-height: 1.15; text-shadow: none; }
.gp-header-meta { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.gp-single-game-page .gp-header-meta .gp-status-pill, .gp-single-game-page .gp-header-meta .gp-label-badge { display: inline-flex; align-items: center; box-sizing: border-box; height: var(--gp-feat-size); padding: 0 11px; border-radius: 9px; font-size: 10px; line-height: 1; }
.gp-status-pill .gp-tip { margin-left: 6px; width: 14px; height: 14px; text-transform: none; }
.gp-game-features { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.gp-feat-icon { width: var(--gp-feat-size); height: var(--gp-feat-size); display: inline-flex; align-items: center; justify-content: center; border-radius: 9px; background: rgba(0,0,0,.22); border: 1px solid rgba(255,255,255,.18); color: #fff; text-decoration: none; transition: background .15s, border-color .15s, color .15s, transform .15s; }
.gp-feat-icon:hover, .gp-feat-icon:focus-visible { background: rgba(251,191,36,.25); border-color: #fbbf24; color: #fbbf24; transform: translateY(-1px); outline: 0; }
.gp-feat-svg { width: 66%; height: 66%; display: block; }
@media (max-width: 650px) {
  .gp-single-game-page { --gp-feat-size: clamp(25px, 7.2vw, 32px); }
  .gp-single-game-page .gp-game-intro-card { padding: 7px 10px 8px; }
  .gp-single-game-page .gp-game-intro-card .gp-game-title { font-size: 15px !important; width: 100%; }
  .gp-single-game-page .gp-game-intro-card .gp-header-left { width: 100%; gap: 6px; }
  .gp-header-meta { gap: 5px; }
  .gp-game-features { gap: 4px; }
  .gp-single-game-page .gp-header-meta .gp-status-pill, .gp-single-game-page .gp-header-meta .gp-label-badge { padding: 0 7px; font-size: 8.5px; border-radius: 8px; }
  .gp-feat-icon { border-radius: 8px; }
}
.gp-chat-footer-tools { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 8px; }

.gp-collapse-arrow { display: none; }
@media (max-width: 900px) {
  .gp-collapse-arrow { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 28px; height: 28px; padding: 0; border-radius: 50%; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); color: #cbd5e1; cursor: pointer; }
  .gp-collapse-arrow svg { transition: transform .2s ease; }
  .gp-collapsible:not(.is-collapsed) .gp-collapse-arrow svg { transform: rotate(180deg); }
  .gp-collapsible .gp-lb-head, .gp-collapsible .gp-chat-header { cursor: pointer; align-items: center; }
  /* title + badges + "?" sit together on the left, the arrow alone on the right */
  .gp-collapsible .gp-lb-head, .gp-collapsible .gp-chat-header { justify-content: flex-start; gap: 8px; }
  .gp-collapsible .gp-chat-header .gp-tip, .gp-collapsible .gp-lb-head .gp-tip { margin: 0; }
  .gp-collapsible .gp-lb-head .gp-lb-metric { text-align: left; }
  .gp-collapsible .gp-collapse-arrow { margin-left: auto; }
  .gp-lb.is-collapsed .gp-lb-list, .gp-lb.is-collapsed .gp-lb-me { display: none !important; }
  .gp-lb.is-collapsed .gp-lb-head { margin-bottom: 0; }
  .gp-chat-room-container.is-collapsed { height: auto !important; min-height: 0 !important; }
  .gp-chat-room-container.is-collapsed > :not(.gp-chat-header) { display: none !important; }
  .gp-chat-room-container.is-collapsed .gp-chat-header { margin-bottom: 0; }
}
