/* [GARUDA-RED v5] shell bersama — tabbar diport 1:1 dari PageLayout garuda (nilai persis), aset buatan kita (img5/shell) */
.g4 .tabbar{position:fixed;bottom:0;width:100%;z-index:9;height:92px;padding-bottom:env(safe-area-inset-bottom,0px);box-sizing:border-box;
  background:url('img5/shell/tab-bg.webp') center center/100% 100% no-repeat !important;
  transform:translate(-50%);max-width:var(--mobile-max-width);left:50% !important;}
.g4 .tabbar .tabbar-arrow{position:absolute;bottom:26px;left:50%;transform:translate(-50%);height:64px;width:120px;border-radius:40px;display:flex;justify-content:center;padding-top:5px;cursor:pointer;background:none;}
.g4 .tabbar .tabbar-arrow .arrow-coins{height:8px;width:auto;transition:transform .3s;}
.g4 .tabbar .tab-grid{position:absolute;bottom:0;left:0;right:0;height:64px;z-index:2;display:flex;}
.g4 .tabbar .tab-left-bg{flex:1 1 0%;display:flex;align-items:center;justify-content:space-evenly;height:100%;margin-right:64px;}
.g4 .tabbar .tab-right-bg{flex:1 1 0%;display:flex;align-items:center;justify-content:space-evenly;height:100%;}
.g4 .tabbar .tab-item{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;transition:color .2s;color:#fff;background:none;}
.g4 .tabbar .tab-item .tab-icon{height:32px;width:auto;object-fit:contain;}
.g4 .tabbar .tab-item .tab-label{font-weight:400;font-size:13px;text-transform:capitalize;line-height:100%;color:#fff;margin-top:0;}
.g4 .tabbar .tab-item.active .tab-label{color:rgb(255,234,0);}
/* lingkaran tengah: transparan 64x64, dome+cincin sudah ada di gambar latar */
.g4 .tabbar .tab-item.circle{position:absolute;z-index:2;bottom:10px;left:50%;transform:translate(-50%);height:64px;width:64px;box-sizing:border-box;justify-content:center;
  background:none !important;box-shadow:none !important;border-radius:0;animation:none !important;}
.g4 .tabbar .tab-item.circle .tab-icon{height:32px;}
.g4 .tabbar .tab-item.circle .tab-label{font-size:13px;margin-top:0;}
.g4 .tabbar .tab-item .unread-badge{position:absolute;top:0;right:0;min-width:18px;height:18px;padding:0 4px;box-sizing:border-box;display:flex;align-items:center;justify-content:center;background:linear-gradient(90deg,rgb(99,0,21),red);border-radius:50%;pointer-events:none;}
.g4 .tabbar .tab-item .unread-badge span{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%) scale(.8);font-size:13px;line-height:1;color:#fff;white-space:nowrap;}

/* ---------- home: akun + ikon cepat (HomePage css garuda, nilai persis) ---------- */
.g4 .login-user-info .logged-in-info .user-row{background:url('img5/shell/account-bg.webp') center center/100% 100% no-repeat !important;border:0 !important;box-shadow:none !important;border-radius:0 !important;padding:6px 10px;}
.g4 .login-user-info .logged-in-info .user-row .vip-badge .vip-icon{height:15px;width:auto;}
.g4 .login-user-info .logged-in-info .user-row .dropdown-icon{width:13px;height:auto;}
.g4 .login-user-info .logged-in-info .user-row .copy-btn{height:16px;width:auto;padding:0;background:none;border:0;display:flex;}
.g4 .login-user-info .logged-in-info .user-row .copy-btn img{height:16px;width:auto;display:block;}
.g4 .login-user-info .quick-links .quick-link-item .quick-item{padding:4px;}
.g4 .login-user-info .quick-links .quick-link-item .quick-item .icon{height:26px !important;width:26px !important;filter:none;}
.g4 .seamless-announce-bar .icon-radio{height:100%;width:auto;}
/* ---------- jackpot (gambar kita 1200x370, rasio sama 563:174) ---------- */
.g4 .jackpot-info{position:relative;overflow:visible;}
.g4 .jackpot-info .jackpot{width:100%;display:block;}
.g4 .jackpot-info .value{bottom:37%;font-size:20px;font-weight:600;line-height:100%;color:rgb(255,216,0);}
/* ---------- section header + Lainnya pill (icon_more_bg) ---------- */
.g4 .hot-games .header-actions{display:flex;align-items:center;justify-content:space-between;gap:6px;padding:5px 10px;min-width:120px;box-sizing:border-box;
  background:url('img5/shell/more-bg.webp') center center/100% 100% no-repeat !important;border:0 !important;border-radius:0 !important;box-shadow:none !important;}
.g4 .hot-games .nav-btn{width:24px;height:24px;background:rgba(45,0,9,.61);border-radius:3px;border:0;padding:0;}
.g4 .hot-games .nav-btn svg{width:100%;height:100%;display:block;color:#fff;}
/* ---------- favorit (25x25, gambar kita) ---------- */
.g4 .hot-games .badge-fav{position:absolute;top:0;right:0;height:25px;width:25px;z-index:3;padding:0;background:none;border:0;}
.g4 .badge-fav img{width:100%;height:100%;object-fit:contain;display:block;}
.g4 .badge-fav .fav-on{display:none;} .g4 .badge-fav.on .fav-on{display:block;} .g4 .badge-fav.on .fav-off{display:none;}
/* ---------- header (PageLayout navbar) ---------- */
.g4 .navbar .header-nav .menu-btn{height:34px;top:7px;left:12px;}
.g4 .navbar .header-nav .menu-btn .menu{height:100%;width:auto;}
.g4 .navbar .header-nav .gift-btn{height:34px;width:auto;}
.g4 .navbar .header-nav .contact-btn{height:34px;width:auto;}
.g4 .login-user-info .quick-links .quick-link-item .quick-item{background:url('img5/shell/item-bg.webp') center center/100% 100% no-repeat !important;}
.g4 .login-user-info .logged-in-info .balance-row{background:url('img5/shell/amount-bg.webp') center center/100% 100% no-repeat !important;border:0 !important;box-shadow:none !important;border-radius:0 !important;}
.g4 .login-user-info .logged-in-info .icon-account{height:28px;width:auto;border-radius:0;border:0;}
.g4 .login-user-info .quick-links .divide-icon{width:1px;height:33px;background:linear-gradient(180deg,rgba(204,119,138,0),rgba(204,127,144,.55) 50%,rgba(204,119,138,0));}

/* ===== v5: latar halaman + side drawer (port PageLayout / SideDrawer) ===== */
.g4 .app-layout{background-color:#280008;background-image:url(img5/shell/page-bg.webp);background-position:center bottom;background-size:100% 100%;background-repeat:no-repeat;background-attachment:fixed;}
.g4 .app-layout.no-page-bg{background-image:none;}
.gr-drawer.drawer-overlay{position:fixed;inset:0;z-index:1040;display:block;background:rgba(67,0,14,.49);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);opacity:0;pointer-events:none;transition:opacity .3s;}
.gr-drawer.drawer-overlay.open{opacity:1;pointer-events:auto;}
.gr-drawer .gr-drawer-in.drawer-content{position:fixed;top:0;bottom:0;left:0;width:272px;max-width:none;margin:0;padding:0 0 var(--safe-bottom,0);background:url(img5/shell/side-bg.webp) center center/100% 100% no-repeat;z-index:11;overflow:hidden auto;overscroll-behavior:contain;touch-action:pan-y;transform:translate(-100%);transition:transform .3s ease-out;animation:none;opacity:0;visibility:hidden;}
.gr-drawer.open .gr-drawer-in.drawer-content{visibility:visible;opacity:1;transform:translate(0);}
@media (min-width:768px){.gr-drawer .gr-drawer-in.drawer-content{left:calc(50% - var(--gr-colw,430px)/2);}}
.drawer-content .drawer-inner{display:flex;flex-direction:column;gap:16px;padding:16px 12px;}
.drawer-content .search-content{background:rgba(64,0,14,.68);box-shadow:rgba(255,255,255,.15) 0 0 1px 1px inset;height:32px;border-radius:16px;padding:0 16px;display:flex;align-items:center;text-decoration:none;}
.drawer-content .search-content .search-text{color:#fff;font-size:14px;font-weight:500;text-transform:uppercase;line-height:100%;flex:1 1 0%;}
.drawer-content .search-content .icon-search{height:16px;}
.drawer-content .game-category-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:5px;}
.drawer-content .category-card{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;padding:12px 6px;background:url(img5/shell/drawer/item-bg.webp) center center/100% 100% no-repeat;text-decoration:none;}
.drawer-content .category-card .category-icon{height:23px;aspect-ratio:61/46;object-fit:contain;}
.drawer-content .category-card .category-label{font-size:14px;font-weight:500;color:#fff;text-align:center;text-transform:uppercase;line-height:100%;word-break:break-word;}
.drawer-content .divide-line{height:1px;background:linear-gradient(90deg,rgb(222,158,3),rgb(255,222,0) 46.63%,rgb(255,234,0));}
.drawer-content .func-menu-list{display:grid;grid-template-columns:1fr;gap:6px;}
.drawer-content .func-menu-card{position:relative;display:flex;align-items:center;padding:0 8px;height:42px;background:url(img5/shell/drawer/item-bg-2.webp) center center/100% 100% no-repeat;text-decoration:none;}
.drawer-content .func-menu-card .func-menu-icon{height:28px;aspect-ratio:57/57;object-fit:contain;flex-shrink:0;}
.drawer-content .func-menu-card .func-menu-label{flex:1 1 0%;font-size:14px;font-weight:500;line-height:100%;color:#fff;text-transform:uppercase;text-align:center;}
.drawer-content .func-menu-card .unread-badge{position:absolute;top:-5px;right:-5px;min-width:20px;height:20px;padding:0 4px;box-sizing:border-box;display:flex;align-items:center;justify-content:center;background:red;border-radius:50%;pointer-events:none;}
.drawer-content .func-menu-card .unread-badge span{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%) scale(.8);font-size:14px;font-weight:400;line-height:1;color:#fff;white-space:nowrap;}
.drawer-content .section-title{margin:0;font-size:18px;font-weight:600;color:#fff;text-transform:uppercase;}
/* render-match: font kita (500) tampil lebih tebal dari system font garuda */
.drawer-content .search-content .search-text,.drawer-content .category-card .category-label,.drawer-content .func-menu-card .func-menu-label{font-weight:400;}
