/* V28.27: mobile navigation, clipped game effects and contextual token header. */
html #nekonGameTokenWallet{display:none!important}
html #headerGameTokenChip{display:none!important}
html.nekon-games-balance-only #headerWalletWrap:not([hidden]){display:inline-flex!important}
html.nekon-games-balance-only #headerGameTokenChip{display:flex!important}
html.nekon-games-balance-only #headerWalletChip,html.nekon-games-balance-only #headerWalletPopover{display:none!important}
#headerGameTokenPopover[hidden]{display:none!important}
#headerGameTokenPopover{position:fixed;z-index:10020;box-sizing:border-box;padding:16px;border:1px solid var(--border,#60587b);border-radius:18px;background:var(--surface,#201a35);color:var(--text,#fff);box-shadow:0 12px 36px #0003;display:grid;gap:10px}
#headerGameTokenPopover p{margin:0;font-size:13px;color:inherit}
#headerGameTokenPopover button{min-height:44px;border:1px solid currentColor;border-radius:12px;background:transparent;color:inherit;font:inherit}
#headerGameTokenBalance{font:inherit}
#headerGameTokenChip .header-game-token-unit{font-size:10px}
html[data-theme="light"]:is(#nekon-mobile,:root):is(#nekon-polish,:root) #headerGameTokenPopover{background:#fff!important;color:#171717!important;border:1px solid #171717!important;outline:none!important}
html[data-theme="light"]:is(#nekon-mobile,:root):is(#nekon-polish,:root) #menu :is(.mobile-menu-profile,.mobile-menu-profile__button){background:transparent!important;border:0!important;outline:0!important;box-shadow:none!important}
html[data-theme="light"] #mobileMenuProfileId{color:#424242!important}
html[data-theme="light"]:is(#nekon-mobile,:root):is(#nekon-polish,:root) .arena-bottom-nav button{color:#424242!important;background:transparent!important;box-shadow:none!important;border-radius:14px!important}
html[data-theme="light"]:is(#nekon-mobile,:root):is(#nekon-polish,:root) .arena-bottom-nav button :is(span,svg){color:inherit!important;background:transparent!important}
html[data-theme="light"]:is(#nekon-mobile,:root):is(#nekon-polish,:root) .arena-bottom-nav button.is-active{background:#171717!important;color:#fff!important}
html[data-theme="light"]:is(#nekon-mobile,:root):is(#nekon-polish,:root) #recargas-operadoras .recharge-request-card>header,html[data-theme="light"]:is(#nekon-mobile,:root):is(#nekon-polish,:root) #recargas-operadoras .recharge-request-card>header>strong{background:transparent!important;border:0!important;outline:0!important;box-shadow:none!important;backdrop-filter:none!important}
#juegos-nekon .scratch8-shell{position:relative!important;isolation:isolate!important;overflow:hidden!important}
#juegos-nekon .scratch8-shell>.scratch8-ambient{position:absolute!important;inset:0!important;overflow:hidden!important;z-index:0!important;pointer-events:none!important}
#juegos-nekon .scratch8-shell>.scratch8-ambient :is(i,b){position:absolute!important}
#juegos-nekon .scratch8-shell>:is(.scratch8-hero,.scratch8-controls,.scratch8-content-flow){position:relative!important;z-index:1!important}
#juegos-nekon .scratch8-hero{isolation:isolate!important;overflow:hidden!important}
#juegos-nekon .scratch8-bg-orbs{position:absolute!important;inset:0!important;z-index:0!important;pointer-events:none!important}
html[data-theme="light"] #juegos-nekon .scratch8-shell::before,html[data-theme="light"] #juegos-nekon .scratch8-shell::after{content:none!important}
html[data-theme="light"] #juegos-nekon .scratch8-ambient i{background:#d8d8d8!important;opacity:.15!important}
html[data-theme="light"] #juegos-nekon .scratch8-bg-orbs i{background:#dedede!important;opacity:.25!important}
html[data-theme="light"]:is(#nekon-mobile,:root):is(#nekon-polish,:root) #juegos-nekon :is(.scratch8-shell,.scratch8-hero,.scratch8-controls,.scratch8-game-panel,.scratch8-board-frame,.scratch8-board,.scratch8-board-empty,.scratch8-prizes-panel,.scratch8-leaders-panel,.scratch8-modal-card,.scratch8-history-item,.scratch8-gift-card,.scratch8-loaded,.scratch8-stepper,.scratch8-live-note,.scratch8-hero-wallet article){background:#fff!important;color:#171717!important;border-color:#171717!important}
html[data-theme="light"]:is(#nekon-mobile,:root):is(#nekon-polish,:root) #juegos-nekon .scratch8-shell :is(h2,h3,p,small,strong,em,b,label,.scratch8-control-copy span,.scratch8-kicker,.scratch8-empty-copy){color:#171717!important;text-shadow:none!important}
html[data-theme="light"]:is(#nekon-mobile,:root):is(#nekon-polish,:root) #juegos-nekon :is(.scratch8-tools button,.scratch8-stepper button){background:#f4f4f4!important;color:#171717!important;border:1px solid #171717!important;box-shadow:none!important}
html[data-theme="light"]:is(#nekon-mobile,:root):is(#nekon-polish,:root) #juegos-nekon :is(.scratch8-tools button span,.scratch8-stepper button span){color:inherit!important}
html[data-theme="light"]:is(#nekon-mobile,:root):is(#nekon-polish,:root) #scratchBuyButton{background:#171717!important;color:#fff!important;border:1px solid #171717!important}
html[data-theme="light"]:is(#nekon-mobile,:root):is(#nekon-polish,:root) #scratchBuyButton :is(span,b){color:#fff!important}
html #notificationCenterDialog{border:0!important;outline:0!important;border-radius:30px!important;overflow:hidden!important;background:transparent!important}
html #notificationCenterDialog .notification-center-shell{border-radius:inherit!important;outline:0!important;overflow:hidden!important}
html #notificationBell{border-radius:16px!important}
html[data-theme="light"]:is(#nekon-mobile,:root):is(#nekon-polish,:root) #notificationCenterDialog{color:#171717!important}
html[data-theme="light"]:is(#nekon-mobile,:root):is(#nekon-polish,:root) #notificationCenterDialog :is(.notification-center-shell,.notification-center-topbar,.notification-center-tabs,.notification-center-list,.notification-center-empty,.notification-item,.notification-center-title__icon){background:#fff!important;color:#171717!important;border-color:#171717!important}
html[data-theme="light"]:is(#nekon-mobile,:root):is(#nekon-polish,:root) #notificationCenterDialog :is(h2,h3,strong,small,p,button,span){color:#171717!important;text-shadow:none!important}
html #notificationCenterDialog :is(#pushPermissionButton,.notification-center-close){outline:0!important;box-shadow:none!important;border-radius:12px!important}
html #notificationCenterDialog button:focus-visible{outline:2px solid currentColor!important;outline-offset:2px!important}
@media(max-width:760px){
 html #notificationCenterDialog{position:fixed!important;inset:0!important;margin:0!important;width:100%!important;max-width:100%!important;height:100dvh!important;max-height:100dvh!important;border-radius:0!important}
 html #notificationCenterDialog .notification-center-shell{border:0!important;border-radius:0!important;height:100%!important;max-height:100%!important}
 html #notificationCenterDialog .notification-center-topbar{padding-top:max(12px,env(safe-area-inset-top))!important;gap:8px!important}
 html #notificationCenterDialog .notification-center-title{min-width:0!important;gap:8px!important}
 html #notificationCenterDialog .notification-center-title__icon{width:32px!important;height:32px!important;flex-basis:32px!important}
 html #notificationCenterDialog .notification-center-title h2{font-size:1.08rem!important;white-space:normal!important}
 html #notificationCenterDialog .notification-center-actions{gap:5px!important}
 html #notificationCenterDialog .notification-center-list{padding-bottom:max(16px,env(safe-area-inset-bottom))!important}
}
html[data-theme="light"]:is(#nekon-mobile,:root):is(#nekon-polish,:root) #headerGameTokenPopover p,html[data-theme="light"]:is(#nekon-mobile,:root):is(#nekon-polish,:root) #headerGameTokenChip .header-game-token-unit{color:#424242!important;opacity:1!important}
html[data-theme="light"]:is(#nekon-mobile,:root):is(#nekon-polish,:root) #juegos-nekon :is(.scratch8-message,.scratch8-message span,.scratch8-live-note span,.scratch8-loader-card,.scratch8-loader-card h2,.scratch8-loader-card strong){color:#424242!important}
html[data-theme="light"]:is(#nekon-mobile,:root):is(#nekon-polish,:root) #juegos-nekon .scratch8-stack i{background:#dedede!important;border-color:#171717!important}
html[data-theme="light"] #scratchGameLoader{background:#f4f4f4!important}
html[data-theme="light"] #scratchGameLoader .scratch8-loader-card{background:#fff!important;border-color:#171717!important;color:#171717!important}
html[data-theme="light"]:is(#nekon-mobile,:root):is(#nekon-polish,:root) #notificationCenterDialog :is(.notification-center-close,#pushPermissionButton){background:#f4f4f4!important;color:#171717!important;border:1px solid #171717!important;opacity:1!important}
html[data-theme="light"]:is(#nekon-mobile,:root):is(#nekon-polish,:root) #notificationCenterDialog :is(.notification-center-close svg,.notification-center-title__icon svg){color:#171717!important;stroke:currentColor!important}
html #notificationCenterDialog h2{font-family:inherit!important;font-weight:700!important}

html[data-theme="light"]:is(#nekon-mobile,:root):is(#nekon-polish,:root) #notificationCenterDialog :is(.notification-accordion-item,.notification-list-item,.notification-list-item__content,.notification-inline-detail,.notification-inline-detail__header,.notification-inline-detail__footer,.notification-empty){background:#fff!important;color:#171717!important;border-color:#d0d0d0!important}
html[data-theme="light"]:is(#nekon-mobile,:root):is(#nekon-polish,:root) #notificationCenterDialog :is(.notification-list-item__icon,.notification-detail-card__action){background:#f4f4f4!important;color:#171717!important;border-color:#171717!important}
html[data-theme="light"]:is(#nekon-mobile,:root):is(#nekon-polish,:root) #notificationCenterDialog .notification-inline-detail{isolation:isolate!important;opacity:1!important;animation:none!important;filter:none!important}
html[data-theme="light"]:is(#nekon-mobile,:root):is(#nekon-polish,:root) #notificationCenterDialog .notification-inline-detail :is(strong,p,time,span){color:#171717!important;-webkit-text-fill-color:currentColor!important;opacity:1!important;position:relative!important;z-index:2!important}
html[data-theme="light"] #notificationCenterDialog .notification-accordion-item::after{content:none!important}
html[data-theme="light"]:is(#nekon-mobile,:root):is(#nekon-polish,:root) #juegos-nekon :is(.scratch8-leaders,.scratch8-leader-card,.scratch8-prize,.scratch8-prize-note,.scratch8-side-facts,.scratch8-modal,.scratch8-progress){background:#f7f7f7!important;color:#171717!important;border-color:#171717!important}
html[data-theme="light"]:is(#nekon-mobile,:root):is(#nekon-polish,:root) #juegos-nekon .scratch8-shell span:not(button span){color:#424242!important;text-shadow:none!important}
html[data-theme="light"]:is(#nekon-mobile,:root):is(#nekon-polish,:root) #scratchGameLoader :is(small,strong,p,b){color:#171717!important;text-shadow:none!important}
html[data-theme="light"] #scratchGameLoader .scratch8-loader-orbs i{background:#dedede!important;opacity:.25!important}
html[data-theme="light"]:is(#nekon-mobile,:root):is(#nekon-polish,:root) #juegos-nekon :is(.scratch8-prize,.scratch8-leader-card){animation:none!important;opacity:1!important}
html[data-theme="light"]:is(#nekon-mobile,:root):is(#nekon-polish,:root) #juegos-nekon .scratch8-prize :is(small,strong,b,em){position:relative!important;z-index:2!important;color:#171717!important;-webkit-text-fill-color:currentColor!important}
