/* Gillzy header: scoped layout, separate from legacy utility spacing. */
.gzy-header.header__menu{box-sizing:border-box;position:fixed;inset:0 0 auto;width:100%;height:80px;padding:0;z-index:21;border-bottom:1px solid rgba(154,107,194,.12);background:rgba(14,7,42,.96);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);color:#fff;font-family:inherit}
.gzy-header *,.mobile__menu.gzy-mobile-menu *{box-sizing:border-box}
.gzy-header a,.gzy-header button,.mobile__menu.gzy-mobile-menu a,.mobile__menu.gzy-mobile-menu button{font-family:inherit;text-decoration:none;-webkit-tap-highlight-color:transparent}
.gzy-header a:focus-visible,.gzy-header button:focus-visible,.mobile__menu.gzy-mobile-menu a:focus-visible,.mobile__menu.gzy-mobile-menu button:focus-visible{outline:2px solid #e8b8ff;outline-offset:3px}
.gzy-header button,.mobile__menu.gzy-mobile-menu button{cursor:pointer}
.gzy-header svg,.mobile__menu.gzy-mobile-menu svg{display:block;flex:none}
.gzy-header__inner{box-sizing:border-box;display:flex;align-items:center;flex-wrap:nowrap;gap:16px;width:100%;max-width:1460px;height:100%;margin:0 auto;padding:0 24px}
.gzy-header .gzy-header__brand{display:flex;align-items:center;justify-content:center;flex:0 0 100px;width:100px;height:44px;margin:0}
.gzy-header__brand img{display:block;width:100px;height:41px;object-fit:contain}
.gzy-header .gzy-header__nav{display:flex;align-items:center;flex:0 0 auto;gap:3px;margin:0;padding:0;white-space:nowrap}
.gzy-header .gzy-header__nav>a{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;flex:none;min-height:44px;margin:0;padding:0 8px;border:1px solid transparent;border-radius:10px;color:#ede6f5;font-size:14px;font-weight:550;line-height:20px;white-space:nowrap;transition:background .16s,color .16s,border-color .16s}
.gzy-header .gzy-header__nav>a:hover{color:#fff;background:rgba(157,100,194,.1)}
.gzy-header .gzy-header__nav>a.gzy-nav-skins{min-height:44px;margin:0;padding:0 8px;border:1px solid #67417f;border-radius:10px;background:rgba(106,45,138,.2);color:#ebc7ff!important;font-weight:650;line-height:20px}
.gzy-header .gzy-header__nav>a.gzy-nav-skins:hover{border-color:#a36bc4;background:rgba(123,57,157,.29)}
.gzy-header .gzy-header__search{display:inline-flex;align-items:center;justify-content:space-between;gap:12px;flex:0 0 auto;width:156px;height:44px;margin:0 0 0 auto;padding:0 13px;border:1px solid #37214c;border-radius:11px;background:#10091f;color:#bca9ce;line-height:20px;transition:border-color .16s,background .16s}
.gzy-header__search-label{display:block;font-size:12px;font-weight:450;line-height:20px;white-space:nowrap}
.gzy-header .gzy-header__search:hover{border-color:#7c4c99;background:#1a0d2d;color:#e4cfef}
.gzy-header .gzy-header__actions{display:flex;align-items:center;flex:0 0 auto;gap:8px;margin:0;min-width:0;white-space:nowrap}
.gzy-header .gzy-header__balance{display:block;flex:none;margin:0;padding:0 5px 0 0;color:#e5d9ef;font-size:12px;font-weight:550;line-height:20px;font-variant-numeric:tabular-nums;white-space:nowrap}
.gzy-header .gzy-header__topup,.gzy-header .gzy-header__register{display:inline-flex;align-items:center;justify-content:center;flex:none;min-height:44px;margin:0;padding:0 9px;border:1px solid transparent;border-radius:10px;font-size:12px;font-weight:550;line-height:20px;white-space:nowrap;transition:color .16s,background .16s}
.gzy-header .gzy-header__topup{color:#ede3f7}
.gzy-header .gzy-header__register{color:#d9aeea}
.gzy-header .gzy-header__topup:hover,.gzy-header .gzy-header__register:hover{background:rgba(159,103,192,.11);color:#fff}
.gzy-header .gzy-header__login,.gzy-header .gzy-header__profile{display:inline-flex;align-items:center;justify-content:center;gap:8px;flex:none;min-height:44px;margin:0;padding:0 17px;border:1px solid rgba(241,177,255,.18);border-radius:12px;background:linear-gradient(105deg,#e71bcc,#9560ec);box-shadow:inset 0 1px 0 rgba(255,220,255,.1);color:#fff;font-size:13px;font-weight:650;line-height:20px;white-space:nowrap;transition:filter .16s}
.gzy-header .gzy-header__login:hover,.gzy-header .gzy-header__profile:hover{filter:brightness(1.1);color:#fff}
.gzy-header .gzy-header__profile-icon{display:none}
.gzy-header .gzy-header__toggle,.gzy-header .gzy-header__logout{align-items:center;justify-content:center;flex:0 0 44px;width:44px;height:44px;margin:0;padding:0;border:1px solid transparent;border-radius:11px;background:transparent;color:#bca5d0;line-height:1;transition:color .16s,background .16s,border-color .16s}
.gzy-header .gzy-header__toggle{display:none}
.gzy-header .gzy-header__logout{display:inline-flex}
.gzy-header .gzy-header__toggle:hover,.gzy-header .gzy-header__logout:hover{background:#2a163d;border-color:#513265;color:#f2e5fb}
.gzy-header.is-compact .gzy-header__nav{display:none}
.gzy-header.is-compact .gzy-header__toggle{display:inline-flex}

/* The drawer keeps mobile__menu/.active hooks; header.js owns ARIA and focus. */
html.gzy-menu-open,html.gzy-menu-open body{overflow:hidden}
.mobile__menu.gzy-mobile-menu{box-sizing:border-box;position:fixed;top:0;right:0;bottom:0;left:0;z-index:999;width:100%;height:100vh;height:100dvh;margin:0;padding:0;background:rgba(4,1,17,.66);color:#fff;font-family:inherit;visibility:hidden;opacity:0;pointer-events:none;transition:opacity .18s ease,visibility 0s linear .18s}
.mobile__menu.gzy-mobile-menu::after{display:none;content:none}
.mobile__menu.gzy-mobile-menu.active{right:0;visibility:visible;opacity:1;pointer-events:auto;transition-delay:0s}
.mobile__menu.gzy-mobile-menu .gzy-mobile-menu__panel{position:relative;display:flex;flex-direction:column;gap:22px;width:min(400px,calc(100% - 32px));height:100%;max-height:100%;margin:0;padding:20px;overflow-y:auto;overscroll-behavior:contain;background:#130a2c;border-right:1px solid #49305e;box-shadow:20px 0 70px rgba(0,0,0,.23);transform:translateX(-18px);transition:transform .18s ease}
.mobile__menu.gzy-mobile-menu.active .gzy-mobile-menu__panel{transform:translateX(0)}
.mobile__menu.gzy-mobile-menu .gzy-mobile-menu__heading{display:flex;align-items:center;justify-content:space-between;flex:none;gap:16px;min-height:44px}
.mobile__menu.gzy-mobile-menu .gzy-mobile-menu__brand{display:inline-flex;align-items:center;min-height:44px;margin:0;padding:0}
.mobile__menu.gzy-mobile-menu .gzy-mobile-menu__brand img{display:block;width:88px;height:36px;object-fit:contain}
.mobile__menu.gzy-mobile-menu .mobile__menu-close{position:static;display:inline-flex;align-items:center;justify-content:center;flex:0 0 44px;width:44px;height:44px;margin:0;padding:0;border:1px solid #4f315f;border-radius:11px;background:#201135;color:#d9c2e9;font-size:inherit;line-height:1;cursor:pointer}
.mobile__menu.gzy-mobile-menu .mobile__menu-close:hover{background:#35194a;color:#fff}
.mobile__menu.gzy-mobile-menu .gzy-mobile-menu__nav.header__menu-links{position:static;display:flex;align-items:stretch;flex-direction:column;flex:none;gap:4px;width:100%;height:auto;min-height:0;margin:0;padding:0;background:none;backdrop-filter:none;-webkit-backdrop-filter:none}
.mobile__menu.gzy-mobile-menu .gzy-mobile-menu__nav>a{display:flex;align-items:center;justify-content:flex-start;min-height:44px;margin:0;padding:10px 12px;border:1px solid transparent;border-radius:10px;color:#e8ddef;font-size:15px;font-weight:550;line-height:22px;text-transform:none;white-space:normal;overflow-wrap:anywhere;transition:background .16s,border-color .16s}
.mobile__menu.gzy-mobile-menu .gzy-mobile-menu__nav>a:hover{background:#28133c;color:#fff}
.mobile__menu.gzy-mobile-menu .gzy-mobile-menu__nav>a.gzy-nav-skins{display:flex;margin:0;padding:10px 12px;border:1px solid #754d8f;border-radius:10px;background:#2a143f;color:#ebc7ff!important;font-size:15px;line-height:22px}
.mobile__menu.gzy-mobile-menu .gzy-skins-mobile-games{display:flex;align-items:stretch;flex-wrap:wrap;gap:6px;margin:3px 0 8px;padding:0;border:0}
.mobile__menu.gzy-mobile-menu .gzy-skins-mobile-games a{display:flex;align-items:center;justify-content:center;flex:1 1 60px;width:auto;min-width:0;min-height:44px;margin:0!important;padding:9px 8px!important;border:1px solid #4e315e;border-radius:9px;background:#1d102d;color:#dfc6ef!important;font-size:12px!important;font-weight:550;line-height:20px;text-transform:none}
.mobile__menu.gzy-mobile-menu .gzy-skins-mobile-games a:hover{border-color:#9b65b6;background:#321944;color:#fff!important}
.mobile__menu.gzy-mobile-menu .gzy-mobile-menu__account{display:flex;align-items:stretch;flex-direction:column;flex:none;gap:8px;margin-top:auto;padding-top:20px;border-top:1px solid #402450}
.mobile__menu.gzy-mobile-menu .gzy-mobile-menu__balance{display:block;margin:0 0 8px}
.mobile__menu.gzy-mobile-menu .gzy-mobile-menu__balance>span{display:block;margin-bottom:4px;color:#a98abb;font-size:11px;line-height:16px}
.mobile__menu.gzy-mobile-menu .gzy-mobile-menu__balance>strong{display:block;color:#f1e4fa;font-size:17px;font-weight:650;line-height:24px;font-variant-numeric:tabular-nums;white-space:nowrap}
.mobile__menu.gzy-mobile-menu .gzy-mobile-menu__account-link{display:flex;align-items:center;justify-content:center;gap:12px;min-height:44px;margin:0;padding:11px 14px;border:1px solid #533566;border-radius:10px;background:#201033;color:#e6d7ef;font-size:13px;font-weight:550;line-height:20px;text-transform:none}
.mobile__menu.gzy-mobile-menu .gzy-mobile-menu__account-link:hover{border-color:#a267bd;background:#321746;color:#fff}
.mobile__menu.gzy-mobile-menu .gzy-mobile-menu__account-link--primary{border-color:rgba(235,168,255,.2);background:linear-gradient(105deg,#cb21b8,#8854dc);color:#fff}
.mobile__menu.gzy-mobile-menu .gzy-mobile-menu__account-link--logout{justify-content:space-between;border-color:transparent;background:transparent;color:#bfa6cf}

@media(max-width:1379px){
.gzy-header .gzy-header__search{justify-content:center;width:44px;padding:0}
.gzy-header__search-label{display:none}
}
@media(max-width:1239px){
.gzy-header__inner{gap:14px}
.gzy-header .gzy-header__nav{display:none}
.gzy-header .gzy-header__toggle{display:inline-flex}
}
@media(min-width:1000px) and (max-width:1239px){
.gzy-header .gzy-header__search{justify-content:space-between;width:220px;padding:0 13px}
.gzy-header__search-label{display:block}
}
@media(max-width:999px){
.gzy-header__inner{gap:12px;padding:0 18px}
}
@media(max-width:767px){
.gzy-header.header__menu{height:68px}
.gzy-header__inner{gap:8px;padding:0 12px}
.gzy-header .gzy-header__brand{flex-basis:88px;width:88px}
.gzy-header__brand img{width:88px;height:36px}
.gzy-header .gzy-header__actions{gap:6px}
.gzy-header .gzy-header__register,.gzy-header .gzy-header__balance,.gzy-header .gzy-header__logout{display:none}
.gzy-header .gzy-header__profile{width:44px;padding:0;border-radius:11px}
.gzy-header .gzy-header__profile-label{display:none}
.gzy-header .gzy-header__profile-icon{display:block}
.gzy-header .gzy-header__topup{font-size:12px;padding:0 8px}
.gzy-header .gzy-header__login{padding:0 15px;font-size:12px;border-radius:11px}
.mobile__menu.gzy-mobile-menu .gzy-mobile-menu__panel{gap:18px;padding:16px}
}
@media(max-width:479px){
.gzy-header .gzy-header__topup{display:none}
}
@media(max-width:359px){
.gzy-header__inner{gap:6px}
.gzy-header .gzy-header__brand{flex-basis:82px;width:82px}
.gzy-header__brand img{width:82px;height:auto}
}
@media(prefers-reduced-motion:reduce){
.gzy-header a,.gzy-header button,.mobile__menu.gzy-mobile-menu,.mobile__menu.gzy-mobile-menu .gzy-mobile-menu__panel,.mobile__menu.gzy-mobile-menu a{transition:none!important}
}
