:root{--jp-app-header:64px;--jp-app-sidebar:220px;}
.jp-header{position:sticky!important;top:0!important;z-index:110!important;background:#0c0e14!important;}
.admin-bar .jp-header{top:32px!important;}.admin-bar{--jp-app-offset:32px;}
.jp-header>.jp-container{width:100%!important;max-width:none!important;padding:0 20px!important;box-sizing:border-box;}
.jp-header .jp-header-inner{display:grid!important;grid-template-columns:240px minmax(200px,620px) 240px;justify-content:space-between!important;align-items:center!important;gap:20px!important;min-height:64px!important;padding:0!important;flex-wrap:nowrap!important;}
.jp-header-brand{display:flex;gap:10px;align-items:center;min-width:0;}
.jp-header .jp-logo{margin:0!important;min-width:0;}.jp-header .jp-logo-link svg{height:44px!important;width:auto!important;max-width:170px!important;}
.jp-header .jp-logo-full{display:inline-flex!important;}.jp-header .jp-logo-mobile{display:none!important;}
.jp-app-menu,.jp-header-games,.jp-sidebar-close{display:flex;align-items:center;justify-content:center;gap:8px;min-height:42px;min-width:42px;padding:9px;border:1px solid transparent;border-radius:12px;background:transparent;color:#d3d7e2;cursor:pointer;font:650 13px/1.2 system-ui;}
.jp-app-menu svg,.jp-header-games svg,.jp-sidebar-close svg{width:22px;height:22px;flex-shrink:0;}
.jp-app-menu:hover,.jp-header-games:hover,.jp-sidebar-close:hover{background:#20232e;color:#ffe000;}
.jp-header-games{justify-self:end;padding-inline:14px;background:#191c25;border-color:#292e3a;}
.jp-header .jp-search{display:block!important;position:relative!important;width:100%!important;max-width:620px!important;min-width:0!important;margin:0!important;order:initial!important;}
.jp-header .jp-search input[type=search]{width:100%!important;min-height:42px!important;font-size:16px!important;padding:10px 18px!important;border-radius:999px!important;box-sizing:border-box;}
.jp-header .jp-search-results{left:0!important;right:0!important;width:100%!important;max-height:65dvh;overflow:auto;}
.jp-app-menu:focus-visible,.jp-header-games:focus-visible,.jp-app-sidebar :focus-visible{outline:2px solid #ffe000;outline-offset:2px;}
.jp-app-sidebar{position:fixed;z-index:105;left:0;top:calc(var(--jp-app-header) + var(--jp-app-offset,0px));bottom:0;width:var(--jp-app-sidebar);padding:12px 10px 20px;box-sizing:border-box;overflow-y:auto;overscroll-behavior:contain;background:#11131b;border-right:1px solid #262a36;transform:translateX(-100%);visibility:hidden;}
.jp-sidebar-open .jp-app-sidebar{transform:none;visibility:visible;}
.jp-app-sidebar nav{display:grid;gap:4px;}.jp-app-sidebar .jp-side-cat{display:flex!important;align-items:center;gap:11px;padding:11px 10px!important;border-radius:9px;color:#c8cdda;font-size:13px;text-decoration:none;}
.jp-app-sidebar .jp-side-cat:hover{background:#232734;color:#ffe000;}.jp-app-sidebar .jp-side-cat svg{width:21px;height:21px;flex-shrink:0;}.jp-app-sidebar .jp-category-icon{width:21px;flex:0 0 21px;}
.jp-app-sidebar .jp-category-name{flex:1;}.jp-app-sidebar b{font-size:10px;color:#8c96aa;}
.jp-app-sidebar .jp-side-title{margin:17px 10px 7px;padding-top:15px;border-top:1px solid #282c36;font-size:10px;letter-spacing:1px;color:#939caf;text-transform:uppercase;}
.jp-sidebar-heading{display:flex;align-items:center;justify-content:space-between;padding:0 10px 8px;font-size:14px;}
.jp-sidebar-close{min-width:32px;min-height:32px;padding:6px;}
.jp-sidebar-backdrop{position:fixed;inset:64px 0 0;z-index:104;background:#0009;border:0;}.jp-sidebar-backdrop[hidden]{display:none!important;}
.jp-sidebar-overlay{overflow:hidden;}
@media(min-width:1081px){
 body.jp-app-nav-ready.home .jp-cg-sidebar{display:none!important;}
 body.jp-app-nav-ready.home .jp-cg-layout{grid-template-columns:minmax(0,1fr)!important;}
 body.jp-sidebar-open:not(.single-jogo)>main,body.jp-sidebar-open:not(.single-jogo)>.jp-footer{margin-left:var(--jp-app-sidebar);}
}
@media(min-width:1800px){body.single-jogo.jp-sidebar-open>main,body.single-jogo.jp-sidebar-open>.jp-footer{margin-left:var(--jp-app-sidebar);}}
@media(min-width:761px){
 .jp-header .jp-mobile-search-toggle{display:none!important;}
 #jp-mobile-favorites[open]{display:block;position:fixed;inset:10vh 20px auto auto;width:460px;max-width:calc(100vw - 40px);max-height:78vh;padding:24px;box-sizing:border-box;border:1px solid #343a49;border-radius:18px;background:#14171f;color:#eef0f7;overflow:auto;}
 #jp-mobile-favorites::backdrop{background:#0009;}
 #jp-mobile-favorites .jp-mobile-sheet-head{display:flex;justify-content:space-between;align-items:center;gap:16px;}#jp-mobile-favorites h2{font-size:22px;}#jp-mobile-favorites [data-jp-sheet-close]{width:40px;height:40px;background:#262b38;border:0;border-radius:50%;color:white;font-size:26px;cursor:pointer;}
 #jp-mobile-favorites .jp-mobile-storage-note{font-size:13px;line-height:1.5;color:#aeb7c8;}#jp-mobile-favorites .jp-mobile-favorite-item{display:flex;align-items:center;gap:12px;padding:12px 0;color:white;border-bottom:1px solid #303542;text-decoration:none;}#jp-mobile-favorites img{width:96px;height:54px;object-fit:cover;border-radius:8px;}
}
@media(min-width:761px) and (max-width:1080px){.jp-header .jp-header-inner{grid-template-columns:210px minmax(160px,1fr) auto;gap:14px!important;}.jp-header .jp-logo-link svg{max-width:155px!important;}}
@media(max-width:760px){
 .jp-header>.jp-container{padding:0 12px!important;}.jp-header .jp-header-inner{display:flex!important;flex-wrap:wrap!important;gap:0!important;}
 .jp-header-brand{gap:3px;flex:1;}.jp-header .jp-logo-link svg{height:44px!important;max-width:170px!important;}.jp-header .jp-logo{max-width:none!important;}
 .jp-header-games{display:none;}.jp-header .jp-mobile-search-toggle{display:flex!important;}.jp-header .jp-search{display:none!important;}
 .jp-header.jp-mobile-search-open .jp-search{display:block!important;order:3!important;flex:0 0 100%!important;margin:0 0 12px!important;}
 .jp-app-sidebar{width:min(290px,86vw);padding-bottom:calc(90px + env(safe-area-inset-bottom,0px));}.jp-sidebar-backdrop{bottom:0;}
 .admin-bar .jp-header{top:0!important;}.admin-bar{--jp-app-offset:0px;}
}
.jp-game-categories-end{grid-column:1/-1;margin:28px 0 0;padding:20px;border:1px solid #252b39;border-radius:16px;background:#11151e;}
.jp-game-categories-end h2{font-size:21px;margin:0 0 6px;}.jp-game-categories-end p{font-size:13px;color:#aeb8c9;margin:0 0 16px;}
.jp-game-category-tiles{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;}
.jp-game-category-tiles a{display:flex;align-items:center;gap:12px;min-height:78px;padding:14px;border:1px solid #2d3546;border-radius:11px;background:linear-gradient(125deg,#242b43,#151a26);color:#eef0fa;text-decoration:none;font-weight:700;font-size:13px;box-sizing:border-box;}
.jp-game-category-tiles a:nth-child(3n+2){background:linear-gradient(125deg,#233c3b,#151d24);}.jp-game-category-tiles a:nth-child(3n){background:linear-gradient(125deg,#382c40,#1e1928);}
.jp-game-category-tiles .jp-category-icon{width:28px;flex-shrink:0;color:#b6adff;}.jp-game-category-tiles svg{width:28px;height:28px;}.jp-game-category-tiles a:hover{border-color:#ffe000;color:#ffe000;}.jp-game-category-tiles a:focus-visible{outline:2px solid #ffe000;outline-offset:3px;}
@media(max-width:760px){.jp-game-categories-end{padding:15px;margin-top:22px;}.jp-game-categories-end h2{font-size:18px;}.jp-game-category-tiles{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;}.jp-game-category-tiles a{min-height:70px;padding:12px 10px;font-size:12px;gap:9px;}.jp-game-category-tiles .jp-category-icon{width:23px;}.jp-game-category-tiles svg{width:23px;height:23px;}}

/* Reset inherited fixed-search offsets; align all header content on one axis. */
:root{--jp-app-sidebar:248px;}
.jp-header,.admin-bar .jp-header{top:var(--jp-app-offset,0px)!important;margin:0!important;padding:0!important;overflow:visible!important;}
html.jp-no-admin-toolbar{margin-top:0!important;}
.jp-header>.jp-container,.jp-header .jp-header-inner{overflow:visible!important;}
.jp-header .jp-header-inner{grid-template-columns:minmax(240px,1fr) minmax(240px,640px) minmax(240px,1fr);height:64px!important;min-height:64px!important;box-sizing:border-box;}
.jp-header .jp-search{position:relative!important;inset:auto!important;top:auto!important;left:auto!important;right:auto!important;bottom:auto!important;transform:none!important;justify-self:center!important;align-self:center!important;height:44px!important;min-height:44px!important;max-width:640px!important;padding:0!important;z-index:auto!important;}
.jp-header .jp-search::after{content:none!important;display:none!important;}
.jp-header .jp-search input[type=search]{height:42px!important;min-height:42px!important;max-width:none!important;margin:0!important;display:block!important;}
.jp-header .jp-search-results{top:calc(100% + 8px)!important;z-index:120!important;}
.jp-app-sidebar{scrollbar-width:thin;scrollbar-color:#363d4e #11131b;scrollbar-gutter:stable;padding:14px 12px 20px;}
.jp-app-sidebar::-webkit-scrollbar{width:5px;}.jp-app-sidebar::-webkit-scrollbar-track{background:#11131b;}.jp-app-sidebar::-webkit-scrollbar-thumb{background:#363d4e;border-radius:10px;}.jp-app-sidebar::-webkit-scrollbar-thumb:hover{background:#69718a;}
.jp-app-sidebar .jp-side-cat{justify-content:flex-start!important;min-height:42px!important;padding:10px!important;gap:12px!important;line-height:1.25!important;}
.jp-app-sidebar .jp-side-cat>span:not(.jp-category-icon){flex:1;text-align:left;white-space:nowrap;}
.jp-app-sidebar .jp-side-cat b{display:none!important;}
.jp-app-sidebar .jp-side-title{margin:12px 10px 6px;padding-top:12px;}
.jp-sidebar-heading{padding:0 2px 10px 10px;gap:6px;}.jp-sidebar-heading strong{font-size:13px;white-space:nowrap;}
@media(min-width:1081px){body.jp-sidebar-open.tax-jogo_categoria .jp-category-nav{display:none!important;}}
@media(min-width:761px) and (max-width:1080px){.jp-header .jp-header-inner{grid-template-columns:210px minmax(180px,1fr) auto;}}
@media(max-width:760px){.jp-header .jp-header-inner{height:auto!important;min-height:64px!important;}.jp-header.jp-mobile-search-open .jp-search{height:44px!important;}.jp-app-sidebar{width:min(290px,88vw);}}
