:root{
  --bg:#101a4a;
  --bg-2:#16225d;
  --card:#111b52;
  --card-2:#1a2866;
  --line:#223276;
  --text:#eef3ff;
  --muted:#8fa4eb;
  --accent:#4ea7ff;
  --accent-2:#6dc3ff;
  --success:#35d58a;
  --danger:#ff6d7a;
  --warn:#f8cf59;
  --shadow:0 16px 34px rgba(2,9,34,.32);
  --radius:18px;
  --chatw:0px;
}
*{box-sizing:border-box}
html,body{margin:0;padding:0;background:var(--bg);color:var(--text);font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif}
a{color:var(--accent);text-decoration:none}
a:hover{color:var(--accent-2)}
.gb-topbar{position:sticky;top:0;z-index:40;background:rgba(18,27,80,.98);backdrop-filter:blur(10px);border-bottom:1px solid rgba(255,255,255,.05)}
.gb-topbar-inner{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 18px;height:60px}
.gb-logo{display:flex;align-items:center;gap:12px;font-size:1.2rem;font-weight:900;color:#5ab6ff;min-width:210px}
.gb-logo:hover{color:#85cbff}
.gb-logo-mark{display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:linear-gradient(135deg,#56b6ff,#78cbff);color:#0b2459;font-size:.9rem}
.gb-mainnav{display:flex;align-items:stretch;gap:10px;flex:1}
.gb-mainnav a{min-width:72px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;padding:6px 8px;color:#ccd7ff;border-radius:12px;font-size:.74rem;font-weight:700}
.gb-mainnav a.active,.gb-mainnav a:hover{background:#1d2b6c;color:#fff}
.gb-top-actions{display:flex;align-items:center;gap:12px;min-width:220px;justify-content:flex-end}
.gb-balance{font-weight:800;color:#ffd978}
.gb-user{width:38px;height:38px;border-radius:14px;background:#6f80e8;display:grid;place-items:center;color:#fff;font-weight:800}
.gb-iconbtn{width:38px;height:38px;border-radius:12px;background:#1d2b6c;border:1px solid #2a3c86;display:grid;place-items:center;color:#dce8ff;font-size:1rem;font-weight:800}\n.gb-iconbtn:hover{background:#24357f;color:#fff}\n.gb-ticker-wrap{padding:0 8px 10px}
.gb-ticker{display:flex;gap:8px;overflow:auto;padding:0 8px}
.gb-ticker::-webkit-scrollbar{height:8px}.gb-ticker::-webkit-scrollbar-thumb{background:#314391;border-radius:999px}
.gb-ticker-item{min-width:155px;background:#1c2a67;border:1px solid #233274;border-radius:10px;padding:8px 10px;box-shadow:var(--shadow)}
.gb-ticker-name{font-size:.78rem;font-weight:700;color:#dfe7ff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.gb-ticker-meta{font-size:.76rem;color:#6fb8ff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.gb-layout{display:flex;align-items:stretch}
.gb-page{flex:1;min-width:0;padding:26px 22px 32px 22px;transition:none}
.gb-chat-user{font-size:.82rem;font-weight:800;color:#82c5ff;margin-bottom:4px}
.gb-chat-text{font-size:.9rem;color:#e8efff;line-height:1.35}
.card,.table-responsive,.list-group-item,.alert,.accordion-item,.modal-content{background:var(--card)!important;border:1px solid var(--line)!important;border-radius:var(--radius)!important;box-shadow:var(--shadow)!important;color:var(--text)}
.card .card{box-shadow:none!important}
.card-body{padding:20px}
.gf-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:18px}.gf-col-3{grid-column:span 3}.gf-col-4{grid-column:span 4}.gf-col-5{grid-column:span 5}.gf-col-6{grid-column:span 6}.gf-col-7{grid-column:span 7}.gf-col-8{grid-column:span 8}.gf-col-12{grid-column:span 12}
.gf-title{font-size:2rem;font-weight:900;margin:0 0 4px;color:#67b8ff}.gf-sub{color:#dfe7ff;font-size:1.2rem;font-weight:700;margin:0 0 24px}.gf-muted{color:var(--muted)}
.gf-section-title{font-size:1.05rem;font-weight:800;margin-bottom:12px;color:#fff}
.gf-stat{padding:20px}.gf-stat-label{color:#93a5e9;font-size:.86rem;font-weight:700}.gf-stat-value{font-size:2rem;font-weight:900;margin-top:6px}.gf-stat-note{color:#7f93da;margin-top:8px;font-size:.9rem}
.gf-hero-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:22px 0 14px}.gf-hero-tile{background:#101949;border:1px solid #223071;border-radius:18px;padding:28px 18px;text-align:center;min-height:110px;display:grid;place-items:center;box-shadow:var(--shadow)}
.gf-hero-tile strong{display:block;font-size:1.05rem}.gf-hero-tile span{display:block;color:#66bbff;font-weight:800}
.gf-brand-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-top:14px}
.gf-brand-stat{background:#101949;border:1px solid #223071;border-radius:16px;padding:14px 16px;text-align:center}
.gf-brand-stat .num{font-size:1.8rem;font-weight:900}.gf-brand-stat .lab{color:#93a5e9;font-weight:700}
.gf-panel-header{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px;flex-wrap:wrap}
.gf-chip{display:inline-flex;align-items:center;padding:6px 10px;border-radius:999px;background:#1d2b69;border:1px solid #29418c;color:#c9d7ff;font-size:.82rem;font-weight:700}
.gf-offer-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.gf-offer-card{display:flex;align-items:center;justify-content:center;min-height:92px;background:linear-gradient(135deg,#f2f5ff,#d9e5ff);border-radius:12px;border:1px solid rgba(255,255,255,.25);color:#18336b;font-size:1.35rem;font-weight:900;box-shadow:var(--shadow)}.gf-offer-card.disabled{background:linear-gradient(135deg,#112447,#0d1333);color:#4ea7ff;border-color:#1f3d69}
.gf-cash-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.gf-cash-card{display:flex;align-items:center;justify-content:center;min-height:88px;border-radius:12px;font-weight:900;font-size:1.3rem;color:#14214c;background:#eff4ff}
.gf-cash-card.disabled{background:linear-gradient(135deg,#082437,#2b0541);color:#48b5ff}
.gf-profile-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.gf-profile-hero{display:grid;grid-template-columns:120px 1fr;gap:14px;align-items:center}.gf-avatar{width:120px;height:120px;border-radius:16px;background:#6c7ddd;display:grid;place-items:center;font-size:4rem;font-weight:300}
.gf-progress{height:12px;border-radius:999px;background:#223071;overflow:hidden}.gf-progress > span{display:block;height:100%;background:linear-gradient(90deg,#65bbff,#7dd5ff)}
.gf-toolbar{display:flex;gap:10px;flex-wrap:wrap}.gf-toolbar .btn{flex:1 1 0}
.table{color:var(--text);margin:0}.table thead th{border-color:#26357a!important;color:#7ebfff;font-size:.82rem;text-transform:uppercase;letter-spacing:.04em}.table td,.table th{border-color:#243374!important;vertical-align:middle}.table-striped>tbody>tr:nth-of-type(odd)>*{color:var(--text);background:rgba(255,255,255,.02)}
.badge{border-radius:999px;padding:.55em .8em}.bg-success{background:rgba(53,213,138,.18)!important;color:#79efb2!important}.bg-warning{background:rgba(248,207,89,.18)!important;color:#ffe48c!important}.bg-danger{background:rgba(255,109,122,.18)!important;color:#ff98a1!important}
.btn{border-radius:12px;font-weight:800;padding:.7rem 1rem;border:1px solid transparent}.btn-primary{background:linear-gradient(135deg,#48a9ff,#7fd1ff)!important;color:#0c2359!important;border:none}.btn-primary:hover{filter:brightness(1.03);color:#0c2359}.btn-outline-secondary,.btn-outline-light,.btn-light{background:#1c2a67;border-color:#2c3b81;color:#d8e4ff}.btn-outline-secondary:hover,.btn-outline-light:hover,.btn-light:hover{background:#22316f;color:#fff;border-color:#4051a3}.btn-success{background:linear-gradient(135deg,#2cd37e,#79efb2);color:#062818;border:none}.btn-danger{background:linear-gradient(135deg,#ff6977,#ff96a0);border:none;color:#4d0910}.btn-warning{background:linear-gradient(135deg,#f5c84c,#ffe48c);border:none;color:#433100}
.form-control,.form-select,textarea{background:#101949!important;border:1px solid #2a3b81!important;color:#eef3ff!important;border-radius:12px!important;padding:.78rem .95rem!important;box-shadow:none!important}.form-control::placeholder,textarea::placeholder{color:#798ed4}.form-control:focus,.form-select:focus,textarea:focus{border-color:#5cb7ff!important;box-shadow:0 0 0 3px rgba(78,167,255,.16)!important}
.gf-public-actions{display:flex;gap:12px;align-items:center;justify-content:flex-end}
.gf-auth{min-height:calc(100vh - 100px);display:grid;place-items:center;padding:24px}.gf-auth-card{width:min(100%,520px)}
body.admin-page{background:var(--bg)} body.admin-page .navbar{background:#121e58!important;border-bottom:1px solid #25357b} body.admin-page .card{background:var(--card)!important;border-color:var(--line)!important;color:var(--text)} body.admin-page .sidebar .list-group-item{background:transparent!important;color:#d6e4ff;border:0!important;box-shadow:none!important} body.admin-page .sidebar .list-group-item.active,body.admin-page .sidebar .list-group-item:hover{background:#1f2d6d!important;color:#fff!important}
@media (max-width:1200px){.gf-offer-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.gf-cash-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:991px){.gb-mainnav{overflow:auto}.gb-page{padding:18px}.gf-grid,.gf-hero-grid,.gf-brand-stats,.gf-offer-grid,.gf-cash-grid,.gf-profile-grid{grid-template-columns:1fr!important}.gf-col-3,.gf-col-4,.gf-col-5,.gf-col-6,.gf-col-7,.gf-col-8,.gf-col-12{grid-column:auto}.gb-logo{min-width:auto}.gb-top-actions{min-width:auto}.gb-mainnav a{min-width:66px}.gf-profile-hero{grid-template-columns:1fr;text-align:center;justify-items:center}}

.gb-guest-actions{display:flex;gap:10px;align-items:center}
.gb-chat-form input:disabled{opacity:.9;cursor:not-allowed}
.gb-chat-form button:disabled{opacity:.6;cursor:not-allowed}


.gf-shell{background:linear-gradient(180deg,#152164 0%, #11184a 100%);border:1px solid #23367c;border-radius:22px;box-shadow:var(--shadow)}
.gf-hero-wrap{padding:28px 24px 22px}
.gf-hero-actions{display:flex;gap:12px;justify-content:center;flex-wrap:wrap;margin-top:12px}
.gf-home-stats,.gf-dashboard-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-top:18px}
.gf-home-stat,.gf-dashboard-stat{background:#101949;border:1px solid #223071;border-radius:16px;padding:14px 16px;text-align:center}
.gf-home-stat .num,.gf-dashboard-stat .num{font-size:1.9rem;font-weight:900}
.gf-home-stat .lab,.gf-dashboard-stat .lab{color:#93a5e9;font-weight:700;margin-bottom:4px}
.gf-dashboard-panels{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-top:18px}
.gf-mini-card{background:#101949;border:1px solid #223071;border-radius:18px;padding:18px}
.gf-mini-card .label{color:#93a5e9;font-weight:800;font-size:.86rem}
.gf-mini-card .value{font-size:2rem;font-weight:900;margin-top:8px}
.gf-ann-list{margin-top:18px;background:#101949;border:1px solid #223071;border-radius:16px;padding:14px 18px}
.gf-ann-item{padding:10px 0;border-bottom:1px solid #243374}
.gf-ann-item:last-child{border-bottom:0;padding-bottom:0}
.gf-action-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-top:18px}
.gf-action-card{display:flex;align-items:center;justify-content:center;min-height:92px;background:#101949;border:1px solid #223071;border-radius:16px;color:#eef3ff;font-weight:900;font-size:1.02rem;box-shadow:var(--shadow)}
.gf-action-card span{color:#66bbff;display:block}
.gf-action-card:hover{background:#16215d;color:#fff}
@media (max-width:991px){.gf-home-stats,.gf-dashboard-stats,.gf-dashboard-panels,.gf-action-grid{grid-template-columns:1fr!important}}


.gf-hero-link{color:#eef3ff;text-decoration:none}
.gf-hero-link:hover{color:#ffffff;background:#16215d}
.gf-home-stats-user .gf-home-stat .num{font-size:1.8rem}
.gf-home-stat-small{font-size:1.35rem!important;line-height:1.2}


.gf-withdraw-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.gf-gift-grid{grid-template-columns:repeat(2,minmax(0,1fr));max-width:760px}
.gf-payout-btn{border:1px solid rgba(255,255,255,.12);box-shadow:var(--shadow);transition:transform .15s ease,filter .15s ease}
.gf-payout-btn:hover{transform:translateY(-2px);filter:brightness(1.02)}
.modal-header .btn-close{filter:invert(1) grayscale(1) brightness(1.8)}
@media (max-width:991px){.gf-withdraw-grid,.gf-gift-grid{grid-template-columns:1fr!important}}


.gf-payout-btn{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;min-height:138px;padding:18px 16px;text-align:center}
.gf-payout-logo{width:56px;height:56px;object-fit:contain;display:block;filter:drop-shadow(0 4px 10px rgba(0,0,0,.2))}
.gf-payout-name{font-weight:800;font-size:1.05rem;letter-spacing:.01em;color:#fff}
.gf-withdraw-grid{grid-template-columns:repeat(auto-fit,minmax(170px,1fr))}
@media (max-width: 768px){.gf-payout-logo{width:46px;height:46px}.gf-payout-btn{min-height:124px}}

.gf-payout-btn{background:#101949;border:1px solid #223071;min-height:108px;padding:0 18px;border-radius:12px}
.gf-payout-btn .gf-payout-brand{display:flex;align-items:center;justify-content:center;width:100%}
.gf-payout-logo{width:170px;max-width:88%;height:48px;object-fit:contain;filter:none}
.gf-brand-btc{background:#f2dfd0}
.gf-brand-sol{background:#151827}
.gf-brand-lite{background:linear-gradient(135deg,#cfd4ef,#8f93b3)}
.gf-brand-doge{background:#e7e7ea}
.gf-brand-eth{background:#c8d0dc}
.gf-brand-usdt{background:#d6f0e7}
.gf-brand-roblox{background:#f1342f}
.gf-brand-riot{background:#f4ebe3}
.gf-payout-name{display:none}
.gf-panel-header{margin-bottom:10px}
.gf-gift-grid{max-width:none;grid-template-columns:repeat(2,minmax(0,1fr))}
@media (max-width:768px){.gf-payout-logo{width:140px;height:42px}}


/* Shop logo card polish */
.gf-payout-btn{gap:10px;padding:14px 16px;min-height:122px}
.gf-payout-btn .gf-payout-brand{min-height:52px}
.gf-payout-logo{width:180px;max-width:86%;height:54px;object-fit:contain;display:block}
.gf-payout-name{display:block;font-weight:800;font-size:.98rem;letter-spacing:.01em;color:#0e183f}
.gf-brand-sol .gf-payout-name,.gf-brand-roblox .gf-payout-name{color:#fff}
.gf-brand-btc,.gf-brand-lite,.gf-brand-doge,.gf-brand-eth,.gf-brand-usdt,.gf-brand-riot{color:#0f1738}
.gf-brand-sol,.gf-brand-roblox{color:#fff}
@media (max-width:768px){.gf-payout-logo{width:148px;height:46px}.gf-payout-btn{min-height:114px}}


/* V8 shop payout card match */
.gf-withdraw-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.gf-gift-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.gf-payout-btn{
  min-height:120px;
  padding:16px 18px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.08);
  box-shadow:var(--shadow);
  display:flex;
  align-items:center;
  justify-content:center;
  gap:0;
}
.gf-payout-btn .gf-payout-brand{
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  min-height:56px;
}
.gf-payout-logo{
  width:190px;
  max-width:88%;
  height:54px;
  object-fit:contain;
  display:block;
}
.gf-payout-name{display:none !important}

.gf-brand-btc{background:linear-gradient(135deg,#ead8c6 0%,#dccbbb 100%);}
.gf-brand-lite{background:linear-gradient(135deg,#cfd3dc 0%,#bcc2cc 100%);}
.gf-brand-doge{background:linear-gradient(135deg,#e4e5e8 0%,#d7d9df 100%);}
.gf-brand-sol{background:linear-gradient(135deg,#101525 0%,#161b2f 100%);}
.gf-brand-eth{background:linear-gradient(135deg,#d0d6e2 0%,#c2cad8 100%);}
.gf-brand-usdt{background:linear-gradient(135deg,#d8efe5 0%,#cce7dc 100%);}
.gf-brand-roblox{background:linear-gradient(135deg,#ff3b31 0%,#f5332e 100%);}
.gf-brand-riot{background:linear-gradient(135deg,#ece3dc 0%,#e4d9d0 100%);}

.gf-brand-btc .gf-payout-logo{width:205px;height:58px;}
.gf-brand-sol .gf-payout-logo{width:215px;height:60px;}
.gf-brand-roblox .gf-payout-logo{width:190px;height:58px;}
.gf-brand-riot .gf-payout-logo{width:200px;height:56px;}

@media (max-width: 991px){
  .gf-withdraw-grid,.gf-gift-grid{grid-template-columns:1fr !important;}
}
@media (max-width: 768px){
  .gf-payout-logo{width:160px;height:46px;}
  .gf-brand-btc .gf-payout-logo,.gf-brand-sol .gf-payout-logo,.gf-brand-roblox .gf-payout-logo,.gf-brand-riot .gf-payout-logo{width:170px;height:48px;}
}


/* Match-up patch: earn + leaders */
.gf-page-head{display:flex;align-items:center;gap:14px;justify-content:space-between;flex-wrap:wrap;margin:6px 0 18px}.gf-page-head>div:nth-child(2){flex:1}.gf-page-kicker{font-size:1.35rem;color:#7bc2ff}.gf-page-title{margin:0;font-size:2rem;font-weight:900;color:#fff}.gf-page-sub{margin-top:6px;color:#e7efff;font-weight:700}.gf-page-head-leaders{align-items:flex-start}.gf-announce-bar{display:block;border-radius:14px;background:#253472;color:#58b7ff;font-weight:800;padding:10px 14px}.gf-brand-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.gf-brand-grid-surveys{grid-template-columns:repeat(6,minmax(0,1fr))}.gf-brand-tile{min-height:96px;border-radius:10px;display:flex;align-items:center;justify-content:center;text-align:center;font-size:1.18rem;font-weight:900;letter-spacing:.01em;border:1px solid rgba(255,255,255,.06);box-shadow:var(--shadow);padding:12px 10px}.gf-brand-tile span{display:block}.gf-brand-tile.disabled,.gf-brand-disabled{background:linear-gradient(135deg,#0b2542,#11162f)!important;color:#52b4ff!important}.gf-brand-empty{background:transparent!important;border-color:transparent!important;box-shadow:none!important}.gf-brand-torox{background:#d8b2ff;color:#382b68}.gf-brand-ascend{background:#f1f1f1;color:#10385d}.gf-brand-ayet{background:#23384b;color:#fff}.gf-brand-adtowall{background:#f5f4f7;color:#514a7c}.gf-brand-mmwall{background:#f7db2f;color:#fff;font-size:1.7rem;line-height:.95}.gf-brand-timewall{background:#58bf73;color:#fff}.gf-brand-lootably{background:#3eb1d8;color:#fff}.gf-brand-adgem{background:#7b61b4;color:#fff}.gf-brand-revu{background:#f4f4f4;color:#385b80}.gf-brand-monlix{background:#39d778;color:#21495e}.gf-brand-hangads{background:#3a3836;color:#fff}.gf-brand-mychips{background:#f5f5f5;color:#252f38}.gf-brand-otik{background:#5870e5;color:#18396f}.gf-brand-wax{background:#1f3a4d;color:#34ead3}.gf-brand-cherries{background:#f7f7f7;color:#111}.gf-brand-inbrain{background:#f8f8f8;color:#16253e}.gf-brand-bitlabs{background:#1581ff;color:#fff}.gf-brand-cpx{background:#4d95f3;color:#fff}.gf-brand-theorem{background:#4d12b4;color:#fff}.gf-period-tabs{display:flex;gap:0;background:#1b275f;border-radius:999px;overflow:hidden}.gf-period-tabs a{padding:10px 18px;color:#61a9ff;font-weight:800}.gf-period-tabs a.active{background:#17385d;color:#63df9e}.gf-podium-wrap{display:grid;grid-template-columns:1fr 1fr 1fr;gap:18px;align-items:end;margin-top:10px}.gf-podium-card{position:relative;background:#121b4b;border-radius:16px;padding:48px 18px 18px;text-align:center;min-height:188px}.gf-podium-card.rank-1{min-height:210px}.gf-podium-card.rank-2,.gf-podium-card.rank-3{min-height:165px}.gf-podium-reward{position:absolute;top:10px;left:50%;transform:translateX(-50%);background:#1c275f;color:#f3c04c;font-weight:800;border-radius:10px;padding:4px 10px;font-size:.95rem}.gf-podium-avatar{width:62px;height:62px;border-radius:12px;display:grid;place-items:center;color:#fff;font-size:2rem;margin:0 auto 14px;font-weight:500}.gf-podium-avatar.rank-1{background:#8b67e6}.gf-podium-avatar.rank-2{background:#ff6427}.gf-podium-avatar.rank-3{background:#d85b18}.gf-podium-rank{position:absolute;left:12px;top:98px;background:#7f5b6c;color:#ffd38a;border-radius:8px;padding:6px 8px;font-weight:800;font-size:.9rem}.gf-podium-name{font-size:1.05rem;font-weight:900;color:#53a9ff}.gf-podium-earned{margin-top:8px;color:#66b3ff}.gf-podium-earned strong{color:#ffc64a}.gf-rank-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;margin-top:20px}.gf-rank-card{background:#121b4b;border-radius:12px;padding:10px 12px}.gf-rank-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.gf-rank-badge{display:inline-flex;align-items:center;justify-content:center;padding:5px 9px;border-radius:8px;background:#13364d;color:#59e2ff;font-size:.82rem;font-weight:800}.gf-rank-avatar{width:34px;height:34px;border-radius:9px;display:grid;place-items:center;background:#8d6a58;color:#fff;font-weight:800}.gf-rank-name{font-weight:800;color:#53a9ff;margin-bottom:6px}.gf-rank-earned{color:#66b3ff;font-size:.95rem}.gf-rank-earned strong{color:#ffc64a}.gf-rank-reward{margin-top:8px;display:inline-block;background:#1c275f;color:#f3c04c;font-weight:800;border-radius:10px;padding:4px 10px;font-size:.9rem}@media (max-width:1200px){.gf-brand-grid,.gf-brand-grid-surveys,.gf-rank-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (max-width:991px){.gf-podium-wrap{grid-template-columns:1fr}.gf-brand-grid,.gf-brand-grid-surveys,.gf-rank-grid{grid-template-columns:1fr 1fr !important}.gf-period-tabs{width:100%}}@media (max-width:640px){.gf-brand-grid,.gf-brand-grid-surveys,.gf-rank-grid{grid-template-columns:1fr !important}}

/* Bottom rainbow LED only when a multiplier is active */
body.user-page::after{content:none}
body.user-page.multiplier-active::after{
  content:'';
  position:fixed;left:0;right:0;bottom:0;height:5px;pointer-events:none;z-index:55;
  background:linear-gradient(90deg,#ff3ea5,#ff9d00,#ffe24a,#35f0a1,#4fd7ff,#7a7cff,#ff3ea5);
  box-shadow:0 0 12px rgba(255,86,166,.55),0 0 18px rgba(71,204,255,.35);
}
.gf-app,.gb-layout,.gb-page,/* Inventory nav spacing */
.gb-mainnav{flex-wrap:wrap}

/* Offerwall tiles logo fit */
.gf-brand-tile img{max-width:78%;max-height:58px;object-fit:contain}
.gf-brand-grid .gf-brand-tile{background:#101949}
.gf-brand-grid .gf-brand-tile.disabled{display:flex;align-items:center;justify-content:center}

/* Remove discord banner bar remnants */
.gf-discord-bar{display:none !important}

.gb-user{overflow:hidden}.gb-user-img{width:100%;height:100%;object-fit:cover;display:block}


/* v14 avatar fix */
.gb-top-actions .gb-user{width:44px !important;height:44px !important;min-width:44px;border-radius:14px;overflow:hidden;display:flex;align-items:center;justify-content:center;padding:0;line-height:1;flex:0 0 44px}
.gb-top-actions .gb-user .gb-user-img{width:100% !important;height:100% !important;max-width:none !important;max-height:none !important;object-fit:cover;display:block;border-radius:14px}

/* v14 offerwall logo fill */
.gf-brand-grid .gf-brand-tile{padding:0 !important;overflow:hidden}
.gf-brand-grid .gf-brand-tile img{width:100% !important;height:100% !important;max-width:none !important;max-height:none !important;object-fit:cover;display:block}
.gf-brand-grid.surveys .gf-brand-tile img{object-fit:contain;padding:10px 12px}
.gf-brand-grid .gf-brand-tile.disabled{padding:0 16px !important;font-size:1.05rem}

/* v15 header avatar hard clamp */
.gb-top-actions{overflow:hidden}
.gb-top-actions .gb-user{width:44px!important;height:44px!important;min-width:44px!important;max-width:44px!important;max-height:44px!important;flex:0 0 44px!important;overflow:hidden!important;border-radius:14px!important;padding:0!important}
.gb-top-actions .gb-user img.gb-user-img{width:44px!important;height:44px!important;min-width:44px!important;max-width:44px!important;min-height:44px!important;max-height:44px!important;object-fit:cover!important;object-position:center!important;display:block!important;border-radius:14px!important}

/* v15 profile refresh */
.gf-prof-shell{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-bottom:14px}.gf-prof-panel{background:#121b4b;border:1px solid #24357a;border-radius:16px;padding:16px;box-shadow:var(--shadow)}.gf-prof-header{display:grid;grid-template-columns:120px 1fr;gap:14px;align-items:center}.gf-prof-avatar-lg{width:120px;height:120px;border-radius:16px;background:#6f7fe8;display:grid;place-items:center;overflow:hidden;font-size:4rem;color:#fff;font-weight:300}.gf-prof-avatar-lg img{width:100%;height:100%;object-fit:cover}.gf-prof-stats{display:grid;grid-template-columns:1fr 1fr;gap:8px 18px}.gf-prof-stats .lab{color:#dce8ff;font-size:.85rem;font-weight:800}.gf-prof-stats .val{color:#fff;font-size:1.02rem;font-weight:800}.gf-prof-uploadbar{display:flex;gap:10px;align-items:center;margin-top:12px}.gf-prof-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:14px 0}.gf-prof-tabs{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:14px 0}.gf-prof-tab{background:#151f58;border:1px solid #24357a;border-radius:12px;padding:14px 16px;text-align:center;color:#7fbfff;font-weight:800}.gf-prof-tab.active{background:#21306f;color:#61adff}.gf-prof-sec-title{font-size:1.05rem;font-weight:900;color:#fff;margin-bottom:10px}.gf-input-row{display:grid;grid-template-columns:1fr auto;gap:10px;align-items:center}.gf-prof-note{color:#d7e7ff;font-weight:700}.gf-progress-labels{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:10px;color:#fff;font-weight:800}.gf-progress-labels span:last-child{color:#dce8ff}.gf-applefix{max-width:100%}
@media (max-width:980px){.gf-prof-shell,.gf-prof-form-grid,.gf-prof-tabs{grid-template-columns:1fr}.gf-prof-header{grid-template-columns:1fr;text-align:center;justify-items:center}.gf-prof-stats{grid-template-columns:1fr 1fr}}

/* v15 leaderboard polish */
.gf-lb-head .gf-lb-sub{font-weight:800}.gf-podium-card2,.gf-rank-card2{border:1px solid rgba(255,255,255,.03)}.gf-podium-avatar2.na,.gf-rank-avatar2.na{background:#8d6a58}.gf-lb-tabs a{display:block}


/* v16 layout tighten */
.gb-page{max-width:1720px;margin:0 auto;width:100%}
.page-profile .gb-page,.page-leaderboards .gb-page,.page-marketplace .gb-page,.page-inventory .gb-page,.page-shop .gb-page,.page-offerwalls .gb-page{max-width:1560px}
.gf-prof-wrap,.gf-lb-wrap,.gf-market-wrap,.gf-inv-wrap,.gf-shop-wrap,.gf-page-wrap{max-width:1500px;margin:0 auto}
.page-profile .gf-prof-head h1{font-size:2.2rem;margin-bottom:6px}.page-profile .gf-prof-head p{color:#d7e7ff;font-weight:700;margin-bottom:18px}.page-profile .gf-prof-shell{grid-template-columns:1.05fr .95fr}.page-profile .gf-prof-panel{padding:18px}.page-profile .gf-prof-header{grid-template-columns:140px 1fr;align-items:center}.page-profile .gf-prof-avatar-lg{width:140px;height:140px}.page-profile .gf-prof-uploadbar{flex-direction:column;align-items:flex-start}.page-profile .gf-prof-uploadbar .form-control,.page-profile .gf-prof-uploadbar .btn{width:140px}.page-profile .gf-prof-link{margin-top:14px;background:#17235d;border:1px solid #263b86;border-radius:12px;padding:12px 14px;color:#e7efff;word-break:break-all}.page-profile .gf-prof-tabs{margin-top:8px}.page-profile .table-responsive{overflow:hidden;border-radius:14px}
.page-profile .gb-top-actions .gb-user,.page-leaderboards .gb-top-actions .gb-user,.page-offerwalls .gb-top-actions .gb-user,.page-shop .gb-top-actions .gb-user{width:32px!important;height:32px!important;min-width:32px!important;max-width:32px!important;max-height:32px!important;border-radius:10px!important}.page-profile .gb-top-actions .gb-user .gb-user-img,.page-leaderboards .gb-top-actions .gb-user .gb-user-img,.page-offerwalls .gb-top-actions .gb-user .gb-user-img,.page-shop .gb-top-actions .gb-user .gb-user-img{width:32px!important;height:32px!important;border-radius:10px!important}.page-profile .gb-balance,.page-leaderboards .gb-balance,.page-offerwalls .gb-balance,.page-shop .gb-balance{font-size:1rem}
.page-leaderboards .gf-podium-wrap2{max-width:1400px}.page-leaderboards .gf-rank-grid2{max-width:1400px}.page-marketplace .gf-grid,.page-inventory .gf-grid{gap:14px}.page-inventory .gf-prof-panel,.page-marketplace .gf-prof-panel{padding:16px}
.page-shop .gf-payout-btn{min-height:78px}.page-shop .gf-gift-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.page-shop .gf-payout-logo{max-width:64%;max-height:40px}.page-shop .gf-brand-sol .gf-payout-logo{max-width:58%;max-height:38px}.page-shop .gf-brand-btc .gf-payout-logo,.page-shop .gf-brand-riot .gf-payout-logo,.page-shop .gf-brand-roblox .gf-payout-logo,.page-shop .gf-brand-amazon .gf-payout-logo{max-width:60%;max-height:36px}
.page-offerwalls .gf-brand-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}.page-offerwalls .gf-brand-grid.surveys{grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.page-offerwalls .gf-brand-tile{min-height:88px;border-radius:12px}.page-offerwalls .gf-brand-tile img{width:88%!important;height:74%!important;max-width:none!important;max-height:none!important;object-fit:contain!important}.page-offerwalls .gf-brand-tile.disabled{font-size:.98rem}
@media (max-width:991px){.page-profile .gf-prof-shell,.page-profile .gf-prof-form-grid,.page-profile .gf-prof-tabs{grid-template-columns:1fr}.page-profile .gf-prof-header{grid-template-columns:1fr;justify-items:center;text-align:center}.page-profile .gf-prof-stats{grid-template-columns:1fr 1fr}.page-shop .gf-gift-grid,.page-shop .gf-withdraw-grid,.page-offerwalls .gf-brand-grid,.page-offerwalls .gf-brand-grid.surveys,.page-leaderboards .gf-rank-grid2{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media (max-width:640px){.page-profile .gf-prof-stats{grid-template-columns:1fr}.page-shop .gf-gift-grid,.page-shop .gf-withdraw-grid,.page-offerwalls .gf-brand-grid,.page-offerwalls .gf-brand-grid.surveys,.page-leaderboards .gf-rank-grid2{grid-template-columns:1fr!important}}


/* v17 compact layout */
.gb-layout{align-items:flex-start}
.gb-page{max-width:none}
.gb-top-actions{align-items:center;gap:10px}
.gb-top-actions .gb-user{box-shadow:none;border:1px solid rgba(255,255,255,.08)}
.page-offerwalls .gf-page-wrap,.page-offerwalls .gf-brand-wrap,.page-offerwalls .gf-prof-wrap,.page-profile .gf-prof-wrap,.page-marketplace .gf-market-wrap,.page-inventory .gf-inv-wrap,.page-leaderboards .gf-lb-wrap,.page-shop .gf-shop-wrap{max-width:1240px;margin:0 auto}
.page-offerwalls .gf-brand-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}
.page-offerwalls .gf-brand-grid.surveys{grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}
.page-offerwalls .gf-brand-tile{min-height:76px;border-radius:12px}
.page-offerwalls .gf-brand-tile img{width:100%!important;height:100%!important;object-fit:contain!important;padding:10px 14px}
.page-offerwalls .gf-brand-tile.disabled{font-size:1rem}
.page-offerwalls .gf-page-head{margin-bottom:14px}
.page-leaderboards .gf-lb-wrap{max-width:1240px}
.page-leaderboards .gf-podium-wrap2{gap:12px}
.page-leaderboards .gf-podium-card2{min-height:145px;padding:34px 14px 14px}
.page-leaderboards .gf-podium-card2.rank-1{min-height:158px}
.page-leaderboards .gf-podium-card2.rank-2,.page-leaderboards .gf-podium-card2.rank-3{min-height:145px}
.page-leaderboards .gf-podium-avatar2{width:48px;height:48px;font-size:1.45rem}
.page-leaderboards .gf-podium-rank2{top:76px}
.page-leaderboards .gf-rank-grid2{grid-template-columns:repeat(7,minmax(0,1fr));gap:10px}
.page-leaderboards .gf-rank-card2{min-height:116px}
.page-profile .gf-prof-wrap{max-width:1240px;margin:0 auto}
.page-profile .gf-prof-head{margin-bottom:16px}
.page-profile .gf-prof-shell{display:grid;grid-template-columns:1.05fr .95fr;gap:14px}
.page-profile .gf-prof-panel{padding:16px;border-radius:14px}
.page-profile .gf-prof-header{grid-template-columns:120px 1fr;gap:14px;align-items:start}
.page-profile .gf-prof-avatar-lg{width:120px;height:120px}
.page-profile .gf-prof-uploadbar{display:grid;grid-template-columns:1fr;gap:10px;max-width:140px}
.page-profile .gf-prof-uploadbar .form-control,.page-profile .gf-prof-uploadbar .btn{width:100%}
.page-profile .gf-prof-stats{grid-template-columns:1fr 1fr;gap:10px 18px}
.page-profile .gf-prof-form-grid{grid-template-columns:1fr 1fr;gap:14px}
.page-profile .gf-input-row{grid-template-columns:1fr auto}
.page-profile .gf-input-row.passwords{grid-template-columns:1fr 1fr 1fr auto}
.page-profile .gf-prof-tabs{grid-template-columns:repeat(4,1fr)}
.page-profile .table-responsive{overflow:hidden;border-radius:12px}
.page-marketplace .gf-market-wrap,.page-inventory .gf-inv-wrap{max-width:1240px}
.page-marketplace .card,.page-inventory .card{border-radius:14px}
.page-marketplace .gf-market-filters .row,.page-inventory .table{font-size:.97rem}
@media (max-width:991px){.page-offerwalls .gf-brand-grid,.page-offerwalls .gf-brand-grid.surveys,.page-leaderboards .gf-rank-grid2,.page-profile .gf-prof-shell,.page-profile .gf-prof-form-grid,.page-profile .gf-prof-tabs{grid-template-columns:1fr 1fr!important}.page-profile .gf-prof-header{grid-template-columns:1fr;justify-items:center;text-align:center}.page-profile .gf-input-row.passwords{grid-template-columns:1fr!important}}
@media (max-width:640px){.page-offerwalls .gf-brand-grid,.page-offerwalls .gf-brand-grid.surveys,.page-leaderboards .gf-rank-grid2,.page-profile .gf-prof-shell,.page-profile .gf-prof-form-grid,.page-profile .gf-prof-tabs{grid-template-columns:1fr!important}}

html,body{overflow-x:hidden}
.gf-app{overflow-x:hidden}

.page-offerwalls .gf-page-wrap{max-width:1460px}
.page-offerwalls .card{background:#121b4b!important}
.page-offerwalls .gf-brand-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}
.page-offerwalls .gf-brand-grid.surveys{grid-template-columns:repeat(5,minmax(0,1fr))}
.page-offerwalls .gf-brand-tile{min-height:106px;padding:12px;border-radius:10px;background:#0f1a4a;border:1px solid rgba(255,255,255,.06)}
.page-offerwalls .gf-brand-tile img{width:100%!important;height:72px!important;max-width:100%!important;max-height:72px!important;object-fit:contain!important;padding:0!important}
.page-offerwalls .gf-brand-tile.disabled{font-size:1rem;font-weight:900;padding:0 12px!important;background:linear-gradient(135deg,#0b2542,#11162f)!important;color:#52b4ff!important}
.page-offerwalls .gf-brand-grid .gf-brand-tile[href]:hover{transform:translateY(-2px);box-shadow:0 12px 24px rgba(0,0,0,.24)}
.page-offerwalls .gf-section-label{font-size:1.1rem}
.page-offerwalls .gf-page-head h1{font-size:2.2rem}


/* v120 force right slideout chat */
.gb-layout,
.gb-page{
  position:relative !important;
}

body.chat-open .gb-page,
body.chat-open .gb-topbar-inner,
body.chat-open .gb-ticker-wrap{
  padding-right:0 !important;
}

#gf-chatbar






/* v128 keep navbar fixed while chat opens */
body.chat-open .gb-topbar-inner,
body.chat-open .gb-ticker-wrap{
  padding-right:0 !important;
}


/* v131 chat tabs + rules modal */
.gb-chat-tabs{
  display:flex;
  align-items:center;
  gap:8px;
}
.gb-chat-tab{
  appearance:none;
  -webkit-appearance:none;
  background:#2a376f;
  border:1px solid #334892;
  color:#cfe3ff;
  border-radius:12px;
  padding:8px 14px;
  font-weight:700;
}
.gb-chat-tab.active{
  background:#1a274c;
  border-color:#4357a4;
  color:#fff;
}
.gf-rules-modal{
  background:#15235c !important;
  border:1px solid #2b3d8b !important;
  border-radius:16px !important;
  color:#eef3ff !important;
}
.gf-rules-modal .modal-header{
  border-bottom:1px solid #2a3a82 !important;
  background:#21306f !important;
}
.gf-rules-modal .modal-body{
  background:#15235c !important;
}
.gf-rules-list{
  margin:0;
  padding-left:1.1rem;
}
.gf-rules-list li{
  margin-bottom:.7rem;
  color:#eef3ff;
}


/* v132 FIX CHAT LAYOUT */
.gb-chat-head{
  display:flex !important;
  justify-content:space-between !important;
  align-items:center !important;
  gap:10px;
}

.gb-chat-tabs{
  display:flex;
  gap:6px;
}

#gf-chat-close{
  margin-left:auto;
  font-size:12px;
}

.gb-chat-body{
  display:flex;
  flex-direction:column;
  height:100%;
}

#gf-chat-messages{
  flex:1 1 auto !important;
  overflow-y:auto !important;
  padding-right:4px;
}

#gf-chat-messages p{
  margin-top:0 !important;
}


/* v133 grindbux-like chat messages */
.gb-chat-message{
  background:#24316f;
  border:1px solid #2f418f;
  border-radius:12px;
  padding:10px;
  margin-bottom:10px;
}
.gb-chat-meta{
  display:flex;
  align-items:center;
  gap:8px;
  margin-bottom:8px;
}
.gb-chat-avatar{
  width:28px;
  height:28px;
  border-radius:8px;
  object-fit:cover;
  border:1px solid #3e57ab;
  background:#1b2554;
}
.gb-chat-headline{
  display:flex;
  align-items:center;
  gap:8px;
  min-width:0;
}
.gb-chat-level{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:22px;
  height:20px;
  padding:0 6px;
  border-radius:6px;
  background:#3554a5;
  color:#dfeaff;
  font-size:.72rem;
  font-weight:800;
}
.gb-chat-user{
  color:#ffffff;
  font-size:.86rem;
  font-weight:800;
  margin:0;
}
.gb-chat-text{
  color:#d7e3ff;
  font-size:.9rem;
  line-height:1.4;
  white-space:pre-wrap;
  word-break:break-word;
}
.gb-chat-empty{
  color:#b7c7ff;
}


/* v134 chat cleanup */
#gf-chatbar{
  top: 110px !important;
  height: calc(100vh - 170px) !important;
  max-height: calc(100vh - 170px) !important;
}

#gf-chatbar .alert,
#gf-chatbar .alert-info{
  display:none !important;
}

#gf-chatbar .gb-chat-messages{
  padding-top: 8px !important;
}

#gf-chatbar .gb-chat-form .btn{
  min-width: 58px;
}


/* v136 no send button */
.gb-chat-form{
  display:block !important;
}
.gb-chat-form input{
  width:100% !important;
}


/* v140 dark table cleanup */
.page-profile .table,
.page-profile .table th,
.page-profile .table td,
.page-shop .table,
.page-shop .table th,
.page-shop .table td{
  background-color: transparent !important;
  color:#dce8ff;
  border-color:rgba(255,255,255,.08) !important;
}
.page-profile .table thead th,
.page-shop .table thead th{
  background:rgba(255,255,255,.06) !important;
  color:#7fb3ff !important;
}
.page-profile .table-striped > tbody > tr:nth-of-type(odd) > *,
.page-shop .table-striped > tbody > tr:nth-of-type(odd) > *{
  background:rgba(255,255,255,.03) !important;
}
.page-profile .table-striped > tbody > tr:nth-of-type(even) > *,
.page-shop .table-striped > tbody > tr:nth-of-type(even) > *{
  background:transparent !important;
}
.page-profile .table-responsive,
.page-shop .table-responsive{
  background:transparent !important;
}
.page-profile .bg-white,
.page-profile .bg-light,
.page-shop .bg-white,
.page-shop .bg-light{
  background:transparent !important;
}
