/* 0.7.38.46 — scoped layout and typography refinements. */
body .jp-real-ad-slot script,
body.single-jogo .jp-single-portal-grid .jp-real-ad-slot script,
body .jp-real-ad-slot style { display:none!important; }
body.single-jogo .jp-single-portal-grid .jp-sg-adbox {border:0!important;}

/* Compact category opening: the catalogue is the first visual priority. */
.jp-cat-seo-page { padding-top:20px; }
.jp-category-heading {display:flex;align-items:center;justify-content:space-between;gap:20px;margin:18px 0;}
.jp-category-heading h1 {font-size:clamp(23px,2.4vw,32px);line-height:1.2;margin:0 0 8px;letter-spacing:-.5px;}
.jp-category-heading p {margin:0;color:#adb2bf;font-size:14px;}
.jp-category-sort {display:flex;align-items:center;gap:8px;font-size:13px;}
.jp-category-sort select,.jp-category-sort button {font:inherit;color:#e9eaf0;background:#18191e;border:1px solid #35363f;border-radius:8px;padding:10px;}
.jp-category-sort button {cursor:pointer;}
.jp-category-nav {margin:0 0 18px;}
.jp-category-nav .jp-catbar {display:flex;flex-wrap:nowrap;overflow-x:auto;gap:7px;padding:3px 0 10px;scrollbar-width:thin;margin:0;}
.jp-category-nav .jp-chip {flex-shrink:0;}
.jp-cat-main-grid {scroll-margin-top:80px;}
.jp-cat-main-grid .jp-grid-catalog {grid-template-columns:repeat(8,minmax(0,1fr));gap:12px;}
.jp-cat-main-grid .jp-card {border-radius:12px;}
.jp-cat-main-grid .jp-card .thumb {aspect-ratio:16/10;height:auto;}
.jp-cat-main-grid .jp-card .meta {padding:10px;}
.jp-cat-main-grid .jp-card .t {font-size:13px;line-height:1.4;min-height:2.8em;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
.jp-cat-main-grid .jp-card .c {font-size:11px;}
.jp-pagination .nav-links {display:flex;flex-wrap:wrap;justify-content:center;gap:6px;margin:20px 0;}
.jp-pagination .page-numbers {min-width:40px;padding:10px;text-align:center;border:1px solid #30313b;border-radius:8px;}
.jp-pagination .current {background:#ffe000;color:#151515;}

/* Single: one parent grid controls the player, side columns and both rows. */
body.single-jogo .jp-single-portal-container {width:calc(100% - 24px)!important;max-width:1540px!important;}
body.single-jogo .jp-single-portal-grid {display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:8px!important;align-items:start!important;}
body.single-jogo .jp-single-portal-grid > .jp-sg-main {grid-column:1!important;grid-row:1!important;min-width:0!important;}
body.single-jogo .jp-single-portal-grid > .jp-sg-left,
body.single-jogo .jp-single-portal-grid > .jp-sg-right-games,
body.single-jogo .jp-single-portal-grid > .jp-sg-ads {display:none!important;}
body.single-jogo .jp-single-portal-grid > .jp-sg-ad-row,
body.single-jogo .jp-single-portal-grid > .jp-sg-extra-row {display:grid!important;width:100%!important;min-width:0!important;max-width:100%!important;margin:0!important;padding:0!important;transform:none!important;position:relative!important;left:auto!important;right:auto!important;z-index:auto!important;overflow:visible!important;gap:6px!important;height:auto!important;min-height:0!important;max-height:none!important;grid-column:1/-1!important;}
body.single-jogo .jp-single-portal-grid > .jp-sg-ad-row {grid-row:2!important;grid-template-columns:minmax(0,1fr)!important;}
body.single-jogo .jp-single-portal-grid > .jp-sg-extra-row {grid-row:3!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;}
body.single-jogo .jp-single-portal-grid .jp-sg-ad-row > .jp-sg-card {display:none!important;}
body.single-jogo .jp-single-portal-grid .jp-sg-ad-row > .jp-sg-top-ad {grid-column:1!important;grid-row:1!important;min-width:0!important;max-width:100%!important;width:100%!important;height:90px!important;margin:0!important;border:0!important;box-sizing:content-box!important;}
body.single-jogo .jp-single-portal-grid .jp-sg-extra-row .jp-sg-card,
body.single-jogo .jp-single-portal-grid .jp-sg-ad-row .jp-sg-card,
body.single-jogo .jp-single-portal-grid .jp-discover .jp-sg-card {display:block!important;width:100%!important;min-width:0!important;max-width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;aspect-ratio:1.6;transform:none!important;margin:0!important;position:relative!important;border-radius:8px!important;overflow:hidden!important;}
body.single-jogo .jp-single-portal-grid .jp-sg-card-img,
body.single-jogo .jp-single-portal-grid .jp-sg-card-img img {width:100%!important;height:100%!important;min-height:0!important;max-height:none!important;object-fit:cover!important;}
body.single-jogo .jp-single-portal-grid .jp-sg-card-title {font-size:11px!important;line-height:1.3!important;padding:18px 6px 5px!important;white-space:nowrap!important;text-overflow:ellipsis!important;overflow:hidden!important;}
body.single-jogo .jp-single-portal-grid > .jp-discover {grid-column:1/-1;grid-row:4;min-width:0;margin:16px 0;}
.jp-discover-head {display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px;}
.jp-discover-head h2 {font-size:21px;margin:0;}
.jp-discover-head a {color:#e4cc59;font-size:13px;}
.jp-discover-grid {display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;}
.jp-discover-nav {display:flex;flex-wrap:wrap;gap:10px 20px;margin:16px 0;font-size:13px;}
.jp-discover-nav a {color:#d2d4de;}
body.single-jogo .jp-single-portal-grid > .jp-sg-seo-zone {grid-column:1/-1!important;grid-row:5!important;display:block!important;max-width:1100px!important;width:100%!important;margin:16px auto 0!important;}
body.single-jogo .jp-single-portal-grid .jp-sg-seo-card {margin:0!important;}
body.single-jogo .jp-single-portal-grid .jp-sg-content-ad {display:none!important;}
body.single-jogo .jp-single-portal-grid .jp-sg-player {margin:0!important;width:100%!important;min-width:0!important;}
.jp-sg-card:focus-visible,.jp-card:focus-visible,.jp-side-cat:focus-visible,.jp-chip:focus-visible,.jp-discover-nav a:focus-visible {outline:2px solid #ffe000;outline-offset:3px;}
@media(min-width:1400px) {
  body.single-jogo {--jp-card-uniform-w:147px!important;--jp-side-w:147px!important;--jp-right-w:147px!important;--jp-card-uniform-h:96px!important;--jp-card-h:96px!important;--jp-gap:6px!important;}
  body.single-jogo .jp-single-portal-grid {grid-template-columns:147px minmax(0,1fr) 147px 300px!important;gap:6px!important;}
  body.single-jogo .jp-single-portal-grid > .jp-sg-main {grid-column:2!important;}
  body.single-jogo .jp-single-portal-grid > .jp-sg-left,
  body.single-jogo .jp-single-portal-grid > .jp-sg-right-games {display:grid!important;grid-template-columns:147px!important;grid-auto-rows:96px!important;gap:6px!important;width:147px!important;height:708px!important;max-height:none!important;grid-row:1!important;align-content:start!important;}
  body.single-jogo .jp-single-portal-grid > .jp-sg-left {grid-column:1!important;}
  body.single-jogo .jp-single-portal-grid > .jp-sg-right-games {grid-column:3!important;}
  body.single-jogo .jp-single-portal-grid > .jp-sg-ads {display:grid!important;grid-column:4!important;grid-row:1!important;width:300px!important;gap:6px!important;}
  body.single-jogo .jp-single-portal-grid .jp-sg-left .jp-sg-card,
  body.single-jogo .jp-single-portal-grid .jp-sg-right-games .jp-sg-card,
  body.single-jogo .jp-single-portal-grid .jp-sg-ad-cards .jp-sg-card {width:147px!important;min-width:147px!important;max-width:147px!important;height:96px!important;min-height:96px!important;max-height:96px!important;}
  body.single-jogo .jp-single-portal-grid .jp-sg-player .jp-stage {height:638px!important;min-height:638px!important;max-height:638px!important;aspect-ratio:auto!important;}
  body.single-jogo .jp-single-portal-grid .jp-sg-playerbar {height:70px!important;min-height:70px!important;box-sizing:border-box!important;}
  body.single-jogo .jp-single-portal-grid > .jp-sg-ad-row {grid-template-columns:147px minmax(0,1fr) repeat(3,147px)!important;}
  body.single-jogo .jp-single-portal-grid .jp-sg-ad-row > .jp-sg-card {display:block!important;grid-row:1!important;height:96px!important;min-height:96px!important;max-height:96px!important;}
  body.single-jogo .jp-single-portal-grid .jp-sg-ad-row > .jp-sg-top-ad {grid-column:2!important;align-self:center!important;}
  body.single-jogo .jp-single-portal-grid > .jp-sg-extra-row {grid-template-columns:repeat(10,minmax(0,1fr))!important;}
  body.single-jogo .jp-single-portal-grid > .jp-sg-seo-zone {display:grid!important;grid-template-columns:minmax(0,1fr) 160px!important;gap:28px!important;}
  body.single-jogo .jp-single-portal-grid .jp-sg-content-ad {display:block!important;position:sticky!important;top:86px!important;border:0!important;}
}
@media (max-width:1399px) {
  body.single-jogo .jp-single-portal-grid .jp-sg-player .jp-stage {height:auto!important;min-height:0!important;max-height:none!important;aspect-ratio:16/10!important;}
  body.single-jogo .jp-single-portal-grid .jp-sg-playerbar {height:auto!important;min-height:64px!important;flex-wrap:wrap!important;}
}
/* Content stays readable without competing with games. */
body .jp-home-seo-authority,body .jp-cat-seo-copy {display:block!important;max-width:1100px!important;margin:32px auto 0!important;padding:22px 0 0!important;border:0!important;border-top:1px solid #272931!important;border-radius:0!important;box-shadow:none!important;background:none!important;}
body .jp-seo-authority-card,body.single-jogo .jp-sg-seo-card {padding:0!important;background:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;color:#aeb3c0!important;font-size:14px!important;line-height:1.75!important;}
body .jp-seo-authority-card h2,body .jp-cat-seo-copy h2,body.single-jogo .jp-sg-desc h2,body.single-jogo .jp-sg-seo-head h1 {font-size:18px!important;line-height:1.4!important;color:#c9cdd8!important;letter-spacing:0!important;margin:20px 0 8px!important;}
body .jp-seo-authority-card h3,body.single-jogo .jp-sg-desc h3 {font-size:15px!important;line-height:1.5!important;margin:18px 0 6px!important;color:#c4c9d4!important;}
body .jp-seo-authority-card p,body.single-jogo .jp-sg-desc p,body.single-jogo .jp-sg-desc li {font-size:14px!important;line-height:1.75!important;color:#aeb3c0!important;margin-bottom:10px!important;}
body .jp-seo-columns {display:grid!important;grid-template-columns:1fr 1fr!important;gap:24px!important;margin:12px 0!important;}
body .jp-seo-columns > div,body .jp-seo-linkhub {padding:0!important;background:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;}
body .jp-seo-authority-card a,body.single-jogo .jp-sg-desc a {color:#bdc3cf!important;font-weight:500!important;text-decoration:underline!important;text-underline-offset:3px;}
body .jp-seo-eyebrow {display:block!important;background:none!important;border:0!important;border-radius:0!important;color:#969dac!important;padding:0!important;font-size:10px!important;letter-spacing:1.3px!important;}
body .jp-seo-faq-card {margin-top:22px!important;padding-top:12px!important;border-top:1px solid #272931!important;}
body .jp-seo-faq-card summary {font-size:14px!important;font-weight:500!important;color:#c4c9d4!important;cursor:pointer;}
body .jp-seo-faq-card details {padding:10px 0!important;}
body.single-jogo .jp-sg-seo-head {gap:8px!important;}
body.single-jogo .jp-sg-seo-head .jp-sg-chip {font-size:11px!important;background:#191b22!important;border-color:#2b2e37!important;color:#bfc5d0!important;}
.jp-category-intro {max-width:1100px;margin:24px auto 0;color:#aeb3c0;font-size:14px;line-height:1.75;}
/* Consistent, lightweight inline SVG icons for the home category menu. */
.jp-side-cat {display:flex!important;align-items:center;gap:10px!important;border-radius:10px!important;transition:background .15s,color .15s;}
.jp-side-cat .jp-category-icon {width:28px;height:28px;display:grid;place-items:center;flex:0 0 28px;border:1px solid #30313a;border-radius:8px;color:#aaaebb;background:#1b1c22;}
.jp-category-icon svg {width:17px;height:17px;display:block;}
.jp-side-cat .jp-category-name {flex:1;min-width:0;}
.jp-side-cat b {font-size:11px!important;font-variant-numeric:tabular-nums;color:#979dab!important;}
.jp-side-cat:hover,.jp-side-cat:focus-visible {background:#22232b!important;color:#fff!important;}
.jp-side-cat.is-active .jp-category-icon,.jp-side-cat:hover .jp-category-icon {color:#ffe000;border-color:#5a5129;}
@media(max-width:1100px) {.jp-cat-main-grid .jp-grid-catalog {grid-template-columns:repeat(6,minmax(0,1fr));}}
@media(max-width:760px) {
  .jp-category-heading {align-items:flex-start;flex-direction:column;gap:12px;margin:12px 0;}
  .jp-cat-main-grid .jp-grid-catalog {grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;}
  .jp-discover-grid {grid-template-columns:repeat(3,minmax(0,1fr));}
  body.single-jogo .jp-single-portal-grid > .jp-sg-extra-row {grid-template-columns:repeat(5,minmax(0,1fr))!important;}
  body .jp-seo-columns {grid-template-columns:1fr!important;gap:0!important;}
}
@media(max-width:480px) {
  .jp-cat-main-grid .jp-grid-catalog {grid-template-columns:repeat(2,minmax(0,1fr));}
  body.single-jogo .jp-single-portal-grid > .jp-sg-extra-row {grid-template-columns:repeat(2,minmax(0,1fr))!important;}
  body.single-jogo .jp-single-portal-grid > .jp-sg-extra-row .jp-sg-card:nth-child(n+5) {display:none!important;}
  .jp-discover-grid {grid-template-columns:repeat(2,minmax(0,1fr));}
  .jp-discover-head {align-items:flex-start;flex-direction:column;gap:6px;}
}
body.single-jogo .jp-single-portal-grid .jp-sg-card-title {height:auto!important;min-height:0!important;max-height:none!important;top:auto!important;bottom:0!important;}
body.single-jogo .jp-single-portal-grid .jp-sg-extra-row .jp-sg-card,
body.single-jogo .jp-single-portal-grid .jp-discover .jp-sg-card {aspect-ratio:1.6!important;}
@media(min-width:1400px) {
  body.single-jogo .jp-single-portal-grid .jp-sg-player .jp-stage {height:636px!important;min-height:636px!important;max-height:636px!important;}
  body.single-jogo .jp-single-portal-grid > .jp-sg-ads {gap:5px!important;}
  body.single-jogo .jp-single-portal-grid .jp-sg-ad-cards {height:198px!important;min-height:198px!important;max-height:198px!important;grid-auto-rows:96px!important;gap:6px!important;}
}
@media(max-width:1399px) {
  body.single-jogo .jp-single-portal-grid .jp-sg-ad-row > .jp-sg-card {display:none!important;}
}
@media(max-width:600px) {
  body.single-jogo .jp-single-portal-grid .jp-playerbar {display:flex!important;align-items:stretch!important;padding:10px!important;gap:10px!important;}
  body.single-jogo .jp-single-portal-grid .jp-game-info {width:100%!important;max-width:100%!important;min-width:0!important;flex:1 1 100%!important;}
  body.single-jogo .jp-single-portal-grid .jp-game-copy {min-width:0!important;max-width:100%!important;}
  body.single-jogo .jp-single-portal-grid .jp-game-copy strong {font-size:16px!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;}
  body.single-jogo .jp-single-portal-grid .jp-actions {display:grid!important;grid-template-columns:repeat(7,minmax(0,1fr))!important;width:100%!important;min-width:0!important;gap:5px!important;}
  body.single-jogo .jp-single-portal-grid .jp-actions .jp-btn {width:100%!important;min-width:0!important;height:42px!important;min-height:42px!important;border-radius:10px!important;}
}
body.single-jogo .jp-single-portal-grid .jp-player:fullscreen .jp-stage,
body.single-jogo .jp-single-portal-grid .jp-player.is-jp-fullscreen .jp-stage {height:calc(100dvh - 70px)!important;min-height:0!important;max-height:none!important;aspect-ratio:auto!important;}
@media(prefers-reduced-motion:reduce) {.jp-side-cat {transition:none;}}
