/* Homepage modules and layout for the current GameX theme. */
body.gx-body .gx-shell { margin-left:0 !important; padding-left:0 !important; }
body.gx-body .gx-page { margin-left:0 !important; }
body.gx-body .gx-topbar { padding-left:20px !important; flex-wrap:wrap; }
body.gx-body .gx-topbar__center { padding-left:0 !important; }
body.gx-body .gx-header-brand { color:#f5c518; font-family:Georgia,serif; font-size:24px; font-weight:700; text-decoration:none; text-shadow:0 0 12px #b47714; white-space:nowrap; }
body.gx-body .gx-breadcrumb { display:none; }
body.gx-body .gx-user-card__wallets { grid-template-columns:1fr; }
.gx-home-raffles { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); margin:18px 0; padding:18px; gap:24px; border:1px solid rgba(245,197,24,.35); border-radius:16px; background:linear-gradient(135deg,#1e1b15,#14141c); }
.gx-home-raffle { display:flex; flex-direction:column; align-items:center; min-width:0; }
.gx-home-raffle + .gx-home-raffle { border-left:1px solid rgba(245,197,24,.16); }
.gx-home-raffle h3 { color:#f5c518; font-size:15px; font-weight:800; margin:0 0 12px; text-align:center; }
.gx-home-countdown { display:flex; gap:6px; }
.gx-home-countdown > span { display:flex; flex-direction:column; align-items:center; min-width:44px; padding:6px; border:1px solid rgba(245,197,24,.3); border-radius:8px; background:rgba(245,197,24,.07); }
.gx-home-countdown b { font-size:22px; line-height:1.2; color:#fff; font-variant-numeric:tabular-nums; }
.gx-home-countdown small { color:#a9a6a0; font-size:10px; }
.gx-home-raffle__status { margin:8px 0; font-size:11px; color:#ded9c9; }
.gx-home-raffle__count { align-self:flex-end; color:#9996a2; font-size:11px; }
.gx-home-raffle__link { align-self:flex-end; margin-top:10px; color:#f5c518; font-weight:700; font-size:12px; }
.gx-home-birthdays { margin-bottom:18px; padding:16px 18px; border:1px solid rgba(245,197,24,.3); border-radius:16px; background:#17171f; }
.gx-home-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:12px; flex-wrap:wrap; }
.gx-home-heading h3 { margin:0; color:#fff; font-size:14px; font-weight:800; }
.gx-home-heading time { color:#9996a2; font-size:11px; }
.gx-home-birthdays__names { font-size:12px; line-height:1.8; }
.gx-home-count { display:inline-flex; justify-content:center; align-items:center; min-width:22px; margin-left:5px; padding:2px 5px; border-radius:5px; background:rgba(245,197,24,.12); border:1px solid rgba(245,197,24,.25); color:#f5c518; font-size:11px; font-weight:700; }
.gx-home-muted { color:#9996a2; font-size:12px; }
.gx-home-visitors summary { cursor:pointer; font-size:13px; font-weight:700; list-style:none; display:flex; align-items:center; gap:6px; flex-wrap:wrap; }
.gx-home-visitors summary::-webkit-details-marker { display:none; }
.gx-home-visitors summary:focus-visible { outline:2px solid #f5c518; outline-offset:4px; }
.gx-home-visitors__more { margin-left:auto; font-size:10px; color:#f5c518; }
.gx-home-users { display:flex; flex-wrap:wrap; gap:9px; max-height:300px; overflow-y:auto; }
.gx-home-visitors[open] .gx-home-users { margin-top:14px; }
.gx-home-users > a { display:inline-flex; width:32px; height:32px; flex:0 0 32px; position:relative; }
.gx-home-users > a > span:not(:first-child) { display:none; }
.gx-home-users img { width:32px; height:32px; object-fit:cover; border-radius:50%; }
.gx-home-top { margin-top:12px; }
.gx-home-player { display:flex; align-items:center; gap:7px; min-height:49px; border-bottom:1px solid rgba(255,255,255,.05); font-size:11px; }
.gx-home-player:last-child { border-bottom:0; }
.gx-home-player__rank { width:10px; color:#9996a2; }
.gx-home-player img,.gx-home-avatar-empty { width:28px; height:28px; border-radius:50%; flex-shrink:0; }
.gx-home-avatar-empty { display:flex; align-items:center; justify-content:center; background:rgba(245,197,24,.12); color:#f5c518; }
.gx-home-player__name { flex:1; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:#f5c518; }
.gx-home-player > span[title] { white-space:nowrap; color:#bbb9c5; font-size:10px; }
body.gx-body .gx-shop-hub__grid { grid-template-columns:repeat(12,minmax(0,1fr)) !important; gap:16px !important; }
body.gx-body .gx-shop-hub__card { grid-column:span 3; min-height:0 !important; aspect-ratio:auto !important; border-radius:14px; padding:10px !important; background:#11121a !important; overflow:hidden; }
body.gx-body .gx-shop-hub__card:nth-child(n+5) { grid-column:span 4; }
body.gx-body .gx-shop-hub__main-link { display:flex !important; position:relative !important; inset:auto !important; width:100% !important; height:auto !important; flex-direction:column; gap:10px; text-decoration:none; }
body.gx-body .gx-shop-hub__main-link img { display:block !important; width:100% !important; height:190px !important; max-height:none !important; margin:0 !important; object-fit:contain !important; object-position:center; border-radius:9px; }
body.gx-body .gx-shop-hub__title { color:#f5c518; font-size:13px; line-height:1.4; font-weight:800; text-align:center; min-height:36px; display:flex; align-items:center; justify-content:center; }
body.gx-body .gx-shop-hub__shine { display:none; }
body.gx-body .gx-shop-hub__badge { top:14px; left:14px; font-size:10px; }
/* RCON shop cards use the same dark/gold palette as the site. */
body.gx-body .rcon-shop-product { border:1px solid rgba(245,197,24,.35); border-radius:16px; background:#17171f; padding:12px; }
body.gx-body .rcon-shop-product .image { border-radius:12px; background-size:contain !important; background-repeat:no-repeat; background-position:center; background-color:#101116; height:220px; }
body.gx-body .rcon-shop-product .actions { display:flex; gap:8px; margin-top:12px; }
body.gx-body .rcon-shop-product .buy-btn { flex:1; background:#f5c518; border-color:#d1a713; color:#15110a; font-weight:800; border-radius:10px; }
body.gx-body .rcon-shop-product .description-btn { flex:1; border-radius:10px; background:#202027; border-color:#393939; color:#fff; }
@media(max-width:991.98px) {
  body.gx-body .gx-header-brand { font-size:20px; }
  body.gx-body .gx-topbar__center { justify-content:flex-end; }
  body.gx-body .gx-topbar__actions { margin-left:auto; }
  body.gx-body .gx-shop-hub__card,body.gx-body .gx-shop-hub__card:nth-child(n+5) { grid-column:span 6; }
}
@media(max-width:575.98px) {
  body.gx-body .gx-topbar { padding:10px 12px !important; gap:10px; }
  .gx-home-raffles { grid-template-columns:1fr; gap:18px; }
  .gx-home-raffle + .gx-home-raffle { border-left:0; border-top:1px solid rgba(245,197,24,.16); padding-top:18px; }
  body.gx-body .gx-shop-hub__grid { gap:10px !important; }
  body.gx-body .gx-shop-hub__main-link img { height:140px !important; }
  body.gx-body .gx-shop-hub__title { font-size:11px; }
}

/* Consistent account cards, including dynamically loaded lists. */
body.gx-body .gx-account-card { display:flex; align-items:center; gap:10px; min-width:0; min-height:44px; padding:6px 8px; text-decoration:none; color:#f5c518; border-radius:10px; }
body.gx-body a.gx-account-card:hover { background:rgba(255,255,255,.04); }
body.gx-body .gx-account-name { min-width:0; font-size:12px; font-weight:700; line-height:1.4; overflow-wrap:anywhere; }
body.gx-body .gx-account-card > .gx-avatar { --gx-avatar-size:32px; --gx-avatar-radius:50%; --gx-frame-scale:1.42; display:inline-block; flex:0 0 32px; width:32px !important; height:32px !important; overflow:visible; }
body.gx-body .gx-account-card > img,body.gx-body .gx-account-card .gx-avatar__img { width:32px !important; height:32px !important; border-radius:50%; object-fit:cover; }
body.gx-body .gx-account-card .gx-avatar__frame { max-width:none; border-radius:0; }
body.gx-body .gx-home-users { display:flex; flex-direction:column; flex-wrap:nowrap; gap:2px; }
body.gx-body .gx-home-users > .gx-account-card { width:100%; height:auto; flex:0 0 auto; }
body.gx-body .gx-home-users > .gx-account-card > .gx-account-name { display:block; }
body.gx-body .gx-home-player__name { white-space:normal; overflow:visible; }
body.gx-body .gx-home-birthdays__names { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr)); gap:2px 12px; }
body.gx-body .gx-home-heading h3 { color:#f5c518; }
@media(max-width:991.98px) { body.gx-body .gx-header-brand { display:none !important; } }
