/*
Theme Name: JU88 Studio
Author: JU88
Description: Local Vietnamese game encyclopedia. Reference-inspired blue layout, original editorial content, responsive library and article pages.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 8.0
Text Domain: ju88-studio
*/
:root{--blue:#04a6ec;--deep:#087fc4;--ink:#192c3b;--muted:#647785;--paper:#fff;--bg:#f4f5f6;--line:#e2e9ed;--radius:14px}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:25px}body{margin:0;font-family:Arial,"Segoe UI",sans-serif;font-size:15px;line-height:1.65;color:var(--ink);background:var(--bg)}a{color:inherit;text-decoration:none}button,input{font:inherit}button,a,input,summary{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid #165b96;outline-offset:4px}img{max-width:100%;display:block}h1,h2,h3,p{margin-top:0}h1,h2,h3{line-height:1.25}p{margin-bottom:20px}.wrap{width:min(1150px,calc(100% - 48px));margin-inline:auto}.skip{position:fixed;left:15px;top:-90px;background:white;padding:12px;z-index:200}.skip:focus{top:12px}.site-header{background:var(--blue);color:#fff;border-radius:0 0 45px 45px;position:relative;z-index:20}.header-top{height:62px;display:flex;align-items:center;gap:24px}.brand{font-size:40px;font-weight:950;font-style:italic;letter-spacing:-3px;line-height:1;display:inline-block;color:#fff}.brand span{letter-spacing:-2px}.brand-caption{font-size:10px;letter-spacing:2px;border-left:1px solid #ffffff70;padding-left:23px}.header-actions{margin-left:auto;display:flex;gap:10px}.small-button{font-size:12px;background:#ffffff25;padding:7px 15px;border-radius:9px}.small-button.light{background:#e0f9ff;color:#036a9b;font-weight:bold}.main-nav{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:41px;font-size:14px;padding-bottom:9px}.main-nav>a,.nav-group>a{padding:7px 0;white-space:nowrap}.main-nav a:hover,.main-nav a[aria-current]{text-shadow:0 0 .5px white;text-decoration:underline;text-underline-offset:7px}.nav-group{display:flex;position:relative;align-items:center;gap:3px}.submenu-toggle{border:0;background:none;color:white;padding:6px 3px;font-size:15px}.submenu{display:none;position:absolute;left:-18px;top:100%;min-width:215px;padding:12px;background:white;border-radius:12px;box-shadow:0 12px 36px #153c5925;color:var(--ink)}.submenu a{display:block;padding:8px 10px;border-radius:6px}.submenu a:hover{background:#edf9ff;color:#007ab8;text-decoration:none}.nav-group.is-open .submenu{display:block}.menu-toggle{display:none}.home-main{padding-top:39px}.hero{min-height:397px;position:relative;overflow:hidden;background:linear-gradient(112deg,#127ed3 0%,#07a9ed 49%,#a1eafe 100%);display:flex;align-items:center;color:white;isolation:isolate}.hero:before{content:"";position:absolute;inset:0;background:repeating-linear-gradient(125deg,transparent 0,transparent 50px,#ffffff09 51px,#ffffff09 52px);z-index:-1}.hero-copy{padding:43px 48px;width:58%;z-index:2}.eyebrow{display:block;font-size:11px;letter-spacing:1.8px;font-weight:bold;color:#087db1;margin-bottom:17px}.hero .eyebrow{color:#d0f1ff}.hero h1{font-size:45px;line-height:1.12;letter-spacing:-1.4px;margin:0 0 19px}.hero p{font-size:15px;line-height:1.7;color:#effaff;margin-bottom:25px}.button{display:inline-flex;align-items:center;justify-content:center;gap:27px;background:var(--blue);color:white;padding:12px 21px;border:0;border-radius:8px;font-size:14px;font-weight:bold}.hero .button{background:white;color:#087ebc}.button:hover{filter:brightness(.96)}.hero-art{position:absolute;right:0;top:0;width:49%;height:100%;pointer-events:none}.hero-orbit{position:absolute;width:420px;height:420px;border:1px solid #ffffff60;border-radius:50%;top:15px;right:0;box-shadow:0 0 0 40px #ffffff0b,0 0 0 80px #ffffff08}.hero-art img{position:absolute;width:185px;height:238px;object-fit:cover;border-radius:15px;box-shadow:0 20px 35px #064b7750;border:4px solid #ffffff90}.art-one{left:22px;top:95px;transform:rotate(-14deg)}.art-two{left:155px;top:62px;transform:rotate(4deg);z-index:2}.art-three{left:300px;top:122px;transform:rotate(15deg)}.feature-section{margin-top:37px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:0 0 20px}.section-heading h2{font-size:18px;margin:0;padding:3px 0 3px 12px;border-left:4px solid var(--blue)}.section-heading>a,.row-actions>a{font-size:12px;color:#317b9d}.features{display:grid;grid-template-columns:1fr 1fr;gap:28px}.feature{height:158px;border-radius:18px;overflow:hidden;display:flex;position:relative;padding:23px 27px;color:#123f5a;background:#dbf4fc}.feature>span{z-index:2}.feature small{display:block;font-size:10px;letter-spacing:1.8px;margin-bottom:8px;color:#1685af}.feature strong{font-size:22px;line-height:1.18;display:block}.feature-link{display:block;font-size:11px;margin-top:9px;color:#397c99}.feature img{position:absolute;width:155px;height:199px;object-fit:cover;right:18px;top:-9px;transform:rotate(10deg);border-radius:15px;box-shadow:0 6px 20px #12647925}.feature-teal{background:#d8f4e9}.feature-teal img{transform:rotate(-8deg)}.catalog{margin-top:39px}.category-row{margin:0 0 30px}.category-row .section-heading{margin-bottom:15px}.category-row .section-heading h2{border:0;padding-left:0;font-size:17px}.row-actions{display:flex;align-items:center;gap:9px}.row-actions>a{margin-right:10px}.scroll-row{width:27px;height:27px;border:1px solid #d9e6ec;background:white;border-radius:50%;color:#4a829c;font-size:23px;line-height:20px}.card-rail{display:flex;gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;padding:3px 1px 12px;scrollbar-width:thin;scrollbar-color:#c6d6de transparent}.game-card{display:block;min-width:0}.card-rail .game-card{flex:0 0 172px;scroll-snap-align:start;text-align:center}.card-visual{position:relative;display:block;overflow:hidden;border-radius:12px;background:#dcebf0;aspect-ratio:280/324}.card-visual img{width:100%;height:100%;object-fit:cover;transition:transform .25s}.game-card:hover .card-visual img{transform:scale(1.035)}.card-arrow{position:absolute;right:9px;bottom:9px;border-radius:50%;background:#fff;color:#177da8;width:28px;height:28px;display:grid;place-items:center;opacity:0;transform:translateY(8px);transition:.2s}.game-card:hover .card-arrow,.game-card:focus .card-arrow{opacity:1;transform:none}.card-name{font-size:14px;font-weight:600;display:block;margin-top:9px;line-height:1.4}.reading-banner{margin:40px 0;display:grid;grid-template-columns:230px 1fr;gap:48px;align-items:center;background:#e4f4fb;padding:40px 55px;border-radius:18px}.reading-symbol{font-size:88px;font-weight:bold;letter-spacing:-8px;color:#159bd6;line-height:1}.reading-symbol span{display:block;font-size:14px;letter-spacing:4px;margin-top:15px}.reading-banner h2{font-size:29px;letter-spacing:-.6px;margin-bottom:14px}.reading-banner p{color:#486877;max-width:680px}.text-link{color:#0588c1;font-weight:bold;font-size:14px}.home-editorial{padding:10px 0 35px}.home-editorial h2{font-size:29px}.home-editorial p{line-height:1.9;color:#4e6573}.editorial-columns{display:grid;grid-template-columns:1fr 1fr;gap:38px}.editorial-columns h3{font-size:20px}.faq{margin-bottom:55px}.faq details{border-bottom:1px solid var(--line);background:white;padding:18px 23px}.faq details:first-of-type{border-radius:12px 12px 0 0}.faq details:last-child{border-radius:0 0 12px 12px}.faq summary{cursor:pointer;font-size:16px;font-weight:600}.faq details p{margin:15px 0 0;color:var(--muted)}.site-footer{background:#e9edf0;padding-top:45px;color:#506877}.footer-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr;gap:35px}.site-footer .brand{color:var(--blue);font-size:42px;margin-bottom:20px}.footer-grid h2{font-size:14px;color:#2e4d60;margin-bottom:18px}.footer-grid p{font-size:13px;line-height:1.9}.footer-grid>div>a:not(.brand){display:block;font-size:13px;margin-bottom:9px}.footer-grid a:hover{color:var(--deep)}.language{display:block;font-size:10px;letter-spacing:1.5px;margin-top:20px}.footer-bottom{border-top:1px solid #d3dfe6;margin-top:30px;padding-top:18px;padding-bottom:20px;font-size:11px;display:flex;justify-content:space-between;gap:20px}.back-top{position:fixed;bottom:22px;right:24px;width:40px;height:40px;border:0;border-radius:50%;background:var(--blue);color:white;box-shadow:0 5px 20px #058fd538;opacity:0;pointer-events:none;z-index:25}.back-top.visible{opacity:1;pointer-events:auto}.inner-main{padding-top:26px;padding-bottom:55px}.breadcrumb{display:flex;flex-wrap:wrap;gap:10px;font-size:12px;color:#7c8e98;margin-bottom:24px}.breadcrumb a{color:#1683b2}.category-hero{min-height:220px;background:linear-gradient(110deg,#e0f3fd,#f0fbff);display:flex;justify-content:space-between;align-items:center;overflow:hidden;border-radius:14px;padding:32px 42px;position:relative}.category-hero>div{position:relative;z-index:1;max-width:75%}.category-hero h1{font-size:40px;letter-spacing:-1px;margin-bottom:14px}.category-hero p{color:#54707e;max-width:600px;margin:0}.category-hero>img{position:absolute;right:45px;width:155px;height:200px;object-fit:cover;transform:rotate(10deg);top:38px;border-radius:12px;box-shadow:0 10px 25px #4292b327}.library-controls{margin:31px 0 22px}.library-controls>label{display:block;font-weight:bold;font-size:13px;margin-bottom:9px}.search-field{display:flex;align-items:center;border:1px solid #dbe4e9;background:white;border-radius:10px;max-width:650px;overflow:hidden;min-height:49px}.search-field>span{font-size:25px;padding:0 15px;color:#528298}.search-field input{width:100%;border:0;background:none;padding:12px 5px;outline-offset:-4px}.search-field button{border:0;background:none;padding:5px 15px;font-size:22px;color:#668692}.filter-list{display:flex;flex-wrap:wrap;gap:8px;margin-top:20px}.filter-list button{border:1px solid #dce6eb;border-radius:25px;background:white;color:#5b7380;padding:7px 16px;font-size:12px}.filter-list button.active{background:var(--blue);color:white;border-color:var(--blue)}.result-count{font-size:12px;color:#70838e;margin:18px 0 0}.library-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:27px 24px}.wide-card{background:white;border-radius:13px;overflow:hidden;border:1px solid #e8eef1;padding-bottom:17px}.wide-card .card-visual{border-radius:0;aspect-ratio:1.35}.wide-card .card-visual img{object-position:center 24%}.wide-card .card-name{font-size:17px;margin:15px 17px 7px}.card-summary{display:block;color:#70808a;font-size:13px;line-height:1.6;margin:0 17px 14px}.card-category{display:block;margin:0 17px;font-size:10px;letter-spacing:1px;color:#0d8dc4;text-transform:uppercase}.no-results{padding:50px;text-align:center}.no-results p{color:var(--muted)}[hidden]{display:none!important}.article-layout{display:grid;grid-template-columns:minmax(0,830px) 270px;gap:30px;align-items:start}.article-paper{background:white;border-radius:14px;padding:38px 42px}.article-heading h1{font-size:38px;letter-spacing:-.8px;margin-bottom:13px}.article-subtitle{font-size:19px;line-height:1.5;color:#597686;margin-bottom:16px}.article-meta{font-size:11px;color:#8a99a2}.article-meta>span{margin:0 10px}.article-image{margin:29px 0 24px;border-radius:12px;overflow:hidden;background:linear-gradient(120deg,#def4fd,#eef8fb);display:flex;flex-direction:column;align-items:center}.article-image img{height:230px;width:auto;max-width:100%;object-fit:contain}.article-image.landscape img{height:auto;width:100%;max-height:360px;object-fit:contain;image-rendering:auto}.article-image figcaption{font-size:11px;color:#617f8e;padding:10px 16px;background:#f2f8fb;width:100%;text-align:center}.article-intro{font-size:16px;line-height:1.9;color:#3c5868}.facts{display:flex;gap:8px;flex-wrap:wrap;border-block:1px solid var(--line);padding:17px 0;margin-bottom:29px}.facts span{background:#edf8fd;color:#2588b1;font-size:11px;padding:5px 11px;border-radius:5px}.article-body h2{font-size:24px;line-height:1.35;margin:32px 0 15px;scroll-margin-top:25px}.article-body p{font-size:16px;line-height:1.95;color:#46606f}.article-body ul,.article-body ol{padding-left:24px}.article-body a{color:var(--deep);text-decoration:underline}.article-end{display:flex;gap:15px;justify-content:space-between;border-top:1px solid var(--line);padding-top:20px;font-size:12px;color:#7c929e;margin-top:33px}.article-end a{color:#0983b9}.article-sidebar{position:sticky;top:25px;display:grid;gap:20px}.toc-box,.side-categories{background:white;border:1px solid #e4ecf0;border-radius:12px;padding:23px}.article-sidebar h2{font-size:15px;margin-bottom:15px}.toc-links{margin:0;padding-left:20px}.toc-links li{font-size:13px;padding:7px 0;color:#6a808d}.toc-links a.active,.toc-links a:hover{color:#058dca}.side-categories a{display:flex;justify-content:space-between;border-bottom:1px solid #edf2f4;padding:9px 0;font-size:13px;color:#627f8d}.side-categories a:last-child{border:0}.side-categories a span{color:#08a0dc}.mobile-toc{display:none}.related{margin-top:35px}.related-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.empty-page{min-height:450px;padding-block:80px}.empty-page h1{font-size:42px}
@media(min-width:1000px){.nav-group:hover .submenu,.nav-group:focus-within .submenu{display:block}}
@media(max-width:1100px){.brand-caption{display:none}.main-nav{font-size:12px;gap:7px}.hero-copy{padding:35px;width:58%}.hero h1{font-size:41px}.hero-art{transform:translateX(25px)}.hero-art img{width:160px;height:206px}.art-one{left:0}.art-two{left:110px}.art-three{left:240px}.article-layout{grid-template-columns:minmax(0,1fr) 240px;gap:22px}.article-paper{padding:30px}.library-grid{gap:20px}.feature img{right:0}.feature strong{font-size:20px}}
@media(max-width:800px){.wrap{width:calc(100% - 32px)}.site-header{border-radius:0 0 24px 24px}.header-top{height:70px}.brand{font-size:37px}.header-actions{gap:7px}.small-button{padding:6px 10px;font-size:11px}.header-actions>a:first-child{display:none}.menu-toggle{display:block;background:none;border:1px solid #ffffff70;border-radius:6px;font-size:23px;color:white;line-height:1;width:35px;height:34px}.main-nav{display:none;max-height:70vh;overflow:auto;padding:5px 0 20px;font-size:14px}.main-nav.is-open{display:flex;flex-direction:column;align-items:stretch;gap:0}.main-nav>a,.nav-group>a{padding:11px 10px}.nav-group{flex-wrap:wrap;border-top:1px solid #ffffff26}.nav-group>a{flex:1}.submenu-toggle{padding:9px 15px}.submenu{position:static;width:100%;margin:0 0 8px;box-shadow:none}.nav-guide{border-top:1px solid #ffffff26}.home-main{padding-top:23px}.hero{min-height:370px}.hero-copy{padding:30px;width:64%}.hero h1{font-size:35px}.hero p{font-size:13px;max-width:280px}.hero-art{width:42%;transform:translateX(0)}.hero-art img{width:136px;height:175px}.art-one{left:0;top:155px}.art-two{left:45px;top:55px}.art-three{left:110px;top:230px}.hero-orbit{width:300px;height:300px;right:-100px}.features{gap:16px}.feature{padding:20px;height:170px}.feature img{width:105px;height:135px;top:50px;right:-25px;opacity:.8}.feature strong{font-size:20px}.feature-link{max-width:170px}.reading-banner{grid-template-columns:100px 1fr;gap:25px;padding:28px}.reading-symbol{font-size:65px}.reading-symbol span{font-size:9px;letter-spacing:2px}.reading-banner h2{font-size:24px}.article-layout{grid-template-columns:1fr}.article-sidebar{display:none}.mobile-toc{display:block;border:1px solid var(--line);padding:17px;border-radius:9px}.mobile-toc summary{cursor:pointer;color:#1689bc;font-weight:bold;font-size:14px}.mobile-toc ol{padding-top:10px}.library-grid{grid-template-columns:repeat(3,1fr);gap:16px}.wide-card .card-name{font-size:16px;margin-inline:13px}.card-summary,.card-category{margin-inline:13px}.footer-grid{grid-template-columns:1.2fr 1fr;gap:25px}.footer-bottom{font-size:10px}.category-hero{padding:28px}.category-hero h1{font-size:34px}.category-hero>img{right:10px;opacity:.8}.category-hero>div{max-width:68%}}
@media(max-width:520px){body{font-size:14px}.header-top{gap:14px}.hero{min-height:420px;align-items:flex-start}.hero-copy{padding:27px 23px;width:100%}.hero .eyebrow{font-size:9px}.hero h1{font-size:36px;max-width:280px}.hero p{max-width:260px;margin-bottom:20px;font-size:13px}.hero .button{font-size:12px;padding:10px 16px}.hero-art{top:auto;bottom:-85px;height:210px;width:210px;right:-20px;opacity:.85;z-index:-1}.hero-art img{width:115px;height:148px}.art-one{left:-15px;top:20px}.art-two{left:65px;top:0}.art-three{display:none}.hero-orbit{right:-40px;top:-40px}.features{grid-template-columns:1fr;gap:13px}.feature{height:147px;padding:21px}.feature img{width:120px;height:154px;top:0;right:20px;opacity:1}.feature strong{font-size:21px}.feature-link{max-width:none}.section-heading{gap:10px}.section-heading h2{font-size:15px}.section-heading>a,.row-actions>a{font-size:10px}.row-actions{gap:5px}.scroll-row{display:none}.card-rail .game-card{flex-basis:145px}.card-rail{gap:12px}.card-name{font-size:13px}.category-row{margin-bottom:25px}.reading-banner{display:block;padding:26px;margin-top:30px}.reading-symbol{display:none}.reading-banner h2{font-size:25px}.editorial-columns{grid-template-columns:1fr;gap:0}.home-editorial h2{font-size:25px}.home-editorial p{font-size:14px}.faq summary{font-size:14px}.faq details{padding:17px}.footer-grid{grid-template-columns:1fr 1fr;gap:24px 18px}.footer-grid>div:first-child{grid-column:1/-1}.footer-grid>div:last-child{grid-column:1/-1}.footer-bottom{flex-direction:column;gap:7px}.site-footer{padding-top:30px}.category-hero{min-height:210px;padding:25px}.category-hero h1{font-size:30px}.category-hero p{font-size:13px}.category-hero>div{max-width:75%}.category-hero>img{width:100px;height:129px;right:-25px;top:82px;opacity:.5}.category-hero .eyebrow{font-size:9px}.library-grid{grid-template-columns:1fr 1fr;gap:15px 12px}.wide-card .card-name{font-size:15px;line-height:1.35;margin:12px 12px 7px}.card-summary{font-size:12px;line-height:1.55;margin:0 12px 12px}.card-category{font-size:9px;margin-inline:12px}.filter-list{gap:7px}.filter-list button{padding:6px 12px;font-size:11px}.article-paper{padding:25px 20px}.article-heading h1{font-size:31px}.article-subtitle{font-size:17px}.article-image{margin:23px 0}.article-image img{height:190px}.article-intro,.article-body p{font-size:15px;line-height:1.9}.article-body h2{font-size:22px}.related-grid{grid-template-columns:1fr 1fr;gap:12px}.related-grid .game-card:last-child:nth-child(3){display:none}.article-end{font-size:11px;flex-wrap:wrap}.back-top{right:14px;bottom:15px;width:35px;height:35px}.inner-main{padding-top:20px}.breadcrumb{font-size:11px}.no-results{padding:30px 10px}.search-field input{font-size:13px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important;animation:none!important}}
/* Homepage banners: original artwork, with a preview of the next slide. */
.studio-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.banner-track{position:relative;display:flex;gap:2%;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:thin;scrollbar-color:#929292 #fff;overscroll-behavior-x:contain}
.banner-track:after{content:"";flex:0 0 8%}
.banner-slide{flex:0 0 90%;min-width:0;scroll-snap-align:start}
.banner-slide picture{display:block}.banner-slide img{width:100%;height:400px;object-fit:cover;object-position:center}
.banner-controls{display:flex;align-items:center;justify-content:center;gap:12px;margin-top:12px}.banner-controls[hidden]{display:none}
.banner-controls>button{width:32px;height:32px;border:1px solid #d4e4ed;border-radius:50%;background:#fff;color:#087fc4;font-size:23px;line-height:1}.banner-controls .banner-pause{font-size:13px}
.banner-dots{display:flex;gap:2px}.banner-dots button{width:28px;height:28px;border:0;background:transparent;position:relative}.banner-dots button:before{content:"";position:absolute;inset:9px;border-radius:50%;background:#bed3df}.banner-dots button[aria-pressed=true]:before{background:#04a6ec}
@media(max-width:1024px){.banner-slide img{height:260px}}
@media(max-width:767px){.banner-slide img{height:auto;aspect-ratio:750/420;object-fit:cover}.banner-controls{margin-top:8px;gap:8px}}

@media(min-width:801px){.main-nav{font-size:12px;gap:8px}.main-nav .nav-service:first-of-type{margin-left:auto}}
@media(min-width:801px) and (max-width:1100px){.main-nav{flex-wrap:wrap;justify-content:flex-start;column-gap:18px;row-gap:0}}
@media(max-width:800px){.main-nav .nav-service{border-top:1px solid #ffffff26}}

.service-action{margin:24px 0;padding:22px;background:#eff9ff;border:1px solid #d8edf8;border-radius:12px}.service-action p{margin:12px 0 0;font-size:13px;color:#647785}.service-action .button{gap:12px;text-align:center}
/* Promotion category rail and image-led campaign cards. */
.promo-page{width:min(1450px,calc(100% - 64px));padding-top:50px;padding-bottom:45px}.promo-layout{display:grid;grid-template-columns:245px minmax(0,1fr);gap:25px;align-items:start}.promo-sidebar{background:#fff;display:flex;flex-direction:column}.promo-sidebar button{display:flex;align-items:center;gap:12px;padding:30px 22px;min-height:93px;border:0;background:#fff;text-align:left;color:#111;font-size:16px}.promo-sidebar button img{width:30px;height:30px;object-fit:contain;flex-shrink:0}.promo-sidebar button:hover,.promo-sidebar button[aria-pressed=true]{background:#f3f7fb;color:#008bd1}.promo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:30px}.promo-results{min-width:0;padding-top:22px}.offer-card{background:white;border-radius:14px;overflow:hidden;box-shadow:0 6px 14px #00000012}.offer-card[hidden]{display:none}.offer-image{width:100%;height:auto;aspect-ratio:423/164;object-fit:cover}.offer-body{padding:26px 20px 28px}.offer-body>h2{font-size:20px;line-height:1.5;color:#151515;margin:0 0 12px;font-weight:700}.offer-time{font-size:12px;line-height:1.7;color:#7b8795;margin:0 0 14px}.offer-button{border:0;border-radius:6px;background:#00a8ef;color:white;padding:7px 20px;font-size:14px;font-weight:600;line-height:1.3}.offer-button:hover{background:#087fc4}.promo-pagination{display:flex;gap:8px;justify-content:center;margin:30px 0;flex-wrap:wrap}.promo-pagination button{min-width:36px;height:36px;border:1px solid #d9e5ec;border-radius:6px;background:white;color:#087fc4}.promo-pagination button[aria-current=page]{background:#04a6ec;color:white}.promo-pagination button:disabled{opacity:.4;cursor:default}.promo-source-note{font-size:12px;color:#647785;line-height:1.7;margin-top:25px}.promo-source-note a{color:#087fc4;text-decoration:underline}.promo-empty{background:white;padding:35px}.offer-dialog{border:0;border-radius:15px;padding:28px;width:min(620px,calc(100% - 32px));max-height:85vh;overflow:auto;color:#192c3b;box-shadow:0 20px 80px #0005}.offer-dialog::backdrop{background:#122737aa}.offer-dialog>img{width:100%;height:auto;border-radius:8px;margin:18px 0 22px}.offer-dialog h2{font-size:24px;line-height:1.4}.offer-dialog p{line-height:1.8}.offer-dialog form{margin:0;display:flex;justify-content:flex-end}.offer-close{background:#eff6fa;border:0;border-radius:50%;width:32px;height:32px;font-size:24px;color:#192c3b}
@media(max-width:1200px){.promo-layout{grid-template-columns:190px minmax(0,1fr);gap:20px}.promo-sidebar button{padding:23px 15px;font-size:14px;min-height:80px}.promo-grid{gap:20px}.offer-body{padding:20px 16px}.offer-body>h2{font-size:17px}}
@media(max-width:1000px){.promo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.promo-page{width:calc(100% - 32px);padding-top:24px}.promo-layout{display:block}.promo-sidebar{flex-direction:row;overflow-x:auto;gap:6px;padding:8px;scrollbar-width:thin;border-radius:10px}.promo-sidebar button{white-space:nowrap;min-height:48px;padding:10px 12px;gap:7px;border-radius:6px;flex-shrink:0}.promo-sidebar button img{width:24px;height:24px}.promo-results{padding-top:22px}.promo-grid{gap:16px}.offer-body>h2{font-size:16px}.offer-body{padding:17px 14px}.offer-dialog{padding:20px}}
@media(max-width:460px){.promo-grid{grid-template-columns:1fr}.offer-body>h2{font-size:19px}.offer-body{padding:22px}.offer-button{min-height:38px}}

.header-actions .small-button{white-space:nowrap}.header-actions [aria-disabled=true]{opacity:.65}@media(max-width:800px){.header-actions>a:first-child{display:inline-block}}
.referral-table-wrap{overflow-x:auto;margin:24px 0 32px;border-radius:15px 15px 0 0;box-shadow:0 4px 10px #0000000d}.referral-table{width:100%;border-collapse:collapse;min-width:490px;font-size:16px;text-align:center}.referral-table th,.referral-table td{padding:16px 12px;border:1px solid #dedede}.referral-table thead tr:first-child th{background:#04a6ec;color:white;border-color:#049bdc;font-weight:700}.referral-table thead tr:nth-child(2) th{background:#f1f1f1;color:#192c3b}.referral-table tbody tr:nth-child(even){background:#f8f8f8}.referral-table .referral-amount{color:#009cf0}.article-body .referral-examples,.article-body .referral-notes{padding-left:24px;line-height:1.85;margin-bottom:28px}.referral-examples li,.referral-notes li{margin-bottom:10px}@media(max-width:520px){.referral-table{font-size:14px}.referral-table th,.referral-table td{padding:13px 10px}}

/* Make the four service navigation links easier to read. */
.main-nav .nav-service{font-size:16px;font-weight:500}
@media(min-width:801px) and (max-width:1100px){.main-nav .nav-service{font-size:15px}}
.home-offers{margin-top:37px}.home-events{margin-top:28px;margin-bottom:36px}.home-offer-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:36px}.home-offer{display:block;border-radius:22px;overflow:hidden}.home-offer img{display:block;width:100%;height:auto}.home-offers .section-heading,.home-events .section-heading{margin-bottom:20px}.home-offers .section-heading h2,.home-events .section-heading h2{font-size:20px}@media(max-width:600px){.home-offer-grid{grid-template-columns:1fr;gap:18px}.home-offer{border-radius:16px}.home-offers .section-heading h2,.home-events .section-heading h2{font-size:17px}.home-events{margin-top:24px}}
.ju88-studio .wrap{width:min(1200px,calc(100% - 96px));max-width:1200px}
.catalog-section{margin:30px 0 42px}.catalog-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px}.catalog-card{display:flex;flex-direction:column;min-width:0;color:#162a39;background:#fff;border-radius:15px;overflow:hidden;transition:box-shadow .18s,transform .18s}.catalog-card:hover{box-shadow:0 8px 22px #17354f16;transform:translateY(-2px)}.catalog-card>img{display:block;width:100%;height:auto;aspect-ratio:758/525;object-fit:cover}.catalog-card-copy{display:block;padding:17px 18px;line-height:1.5}.catalog-card-copy strong{display:block;font-size:17px}.catalog-card-copy>span{display:block;font-size:16px;margin-top:4px}.catalog-platforms{grid-template-columns:repeat(2,minmax(0,1fr));gap:40px}.platform-card{flex-direction:row;align-items:center;gap:24px;padding:25px 40px;border-radius:25px}.platform-card>img{width:30%;flex:none;aspect-ratio:1;object-fit:cover;border-radius:12px}.platform-card .catalog-card-copy{padding:0}.platform-card strong{font-size:24px}.catalog-providers{grid-template-columns:repeat(6,minmax(0,1fr))}.catalog-providers .catalog-card>img{aspect-ratio:280/360;object-fit:cover}.catalog-types .catalog-card>img{aspect-ratio:2/1;object-fit:contain}.category-banners{margin-bottom:26px}.category-banners .banner-slide img{height:auto;aspect-ratio:1920/317;object-fit:cover}.category-banners:has(.banner-slide:only-child) .banner-slide{flex-basis:100%}.category-banners:has(.banner-slide:only-child) .banner-track:after{display:none}.platform-feature{display:grid;grid-template-columns:280px 1fr;gap:50px;align-items:center;background:#e5f5ff;padding:45px;border-radius:24px;margin:42px 0}.platform-feature>img{width:100%;border-radius:18px}.platform-feature h2{font-size:32px;margin:12px 0}.platform-feature p{font-size:19px;line-height:1.8;max-width:750px}.category-editorial{margin:40px 0;padding:40px}.category-editorial>h2{font-size:30px}.category-editorial .article-body{columns:2;column-gap:50px}.category-editorial .article-body section{break-inside:avoid;margin-bottom:26px}.category-editorial .article-body h3{font-size:22px}.catalog-home-rail .catalog-card{flex:0 0 218px}.catalog-home-rail .catalog-card>img{aspect-ratio:280/360}.catalog-home-rail .catalog-card-copy{text-align:center;padding:12px}.catalog-home-rail{align-items:stretch}.main-nav .submenu{max-height:65vh;overflow:auto}.app-download-hero{display:grid;grid-template-columns:1fr 1fr;gap:35px;align-items:center;background:#eaf8ff;border-radius:24px;padding:40px;margin:35px 0}.app-download-hero>img{width:100%;height:330px;object-fit:contain}.app-download-hero h2{font-size:36px;margin:12px 0}.app-download-hero p{font-size:20px}.app-device-actions{display:flex;flex-wrap:wrap;gap:14px;margin:24px 0}.service-steps{background:#fff;padding:35px;border-radius:20px;margin:32px 0}.service-steps>div{display:grid;grid-template-columns:repeat(3,1fr);gap:28px;margin:30px 0}.service-steps article{display:flex;align-items:center;gap:18px}.service-steps article>span{font-size:36px;color:#00a5ec}.service-steps h3{font-size:19px}.support-hero{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:40px;background:#fff;border-radius:24px;padding:40px}.support-hero img{width:100%;height:auto;border-radius:18px}.support-hero h1{font-size:36px}.support-hero p{font-size:19px;line-height:1.8}.support-layout{display:grid;grid-template-columns:280px minmax(0,1fr);gap:35px;margin-top:40px}.support-layout>nav{background:#fff;border-radius:18px;padding:25px;align-self:start}.support-layout h2{font-size:22px}.support-layout nav a{display:block;padding:14px 0;border-bottom:1px solid #edf0f2}.support-questions details{background:#fff;border:1px solid #e2ebf0;border-radius:10px;padding:20px;margin-bottom:14px;scroll-margin-top:120px}.support-questions summary{cursor:pointer;font-size:19px;font-weight:600}.support-questions p{line-height:1.9}.page-referrer-activity .category-banners .banner-slide img{aspect-ratio:auto}.page-download-app .category-banners{display:none}
@media(min-width:1101px){.main-nav{font-size:16px;gap:10px}.article-layout{grid-template-columns:minmax(0,1fr) 300px}}
@media(max-width:1100px){.catalog-providers{grid-template-columns:repeat(4,minmax(0,1fr))}.platform-card{padding:22px;gap:20px}.platform-card strong{font-size:21px}.catalog-platforms{gap:24px}.app-download-hero{padding:28px}.platform-feature{grid-template-columns:230px 1fr;padding:28px;gap:30px}}
@media(max-width:767px){.ju88-studio .wrap{width:calc(100% - 32px)}.catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.catalog-platforms{grid-template-columns:1fr;gap:18px}.platform-card{padding:20px;border-radius:18px}.platform-card>img{width:31%}.platform-card strong{font-size:21px}.catalog-card-copy{padding:12px}.catalog-card-copy strong{font-size:16px}.platform-card .catalog-card-copy strong{font-size:20px}.catalog-card-copy>span{font-size:15px}.catalog-section{margin:24px 0 30px}.category-banners .banner-slide img{aspect-ratio:1029/438}.platform-feature{grid-template-columns:100px 1fr;gap:20px;padding:20px}.platform-feature h2{font-size:23px}.platform-feature p{font-size:16px}.category-editorial{padding:24px}.category-editorial .article-body{columns:1}.category-editorial>h2{font-size:25px}.app-download-hero,.support-hero{grid-template-columns:1fr;padding:24px;gap:20px}.app-download-hero>img{height:220px}.app-download-hero h2,.support-hero h1{font-size:29px}.service-steps{padding:24px}.service-steps>div{grid-template-columns:1fr;gap:15px}.support-layout{grid-template-columns:1fr;gap:24px}.support-layout>nav{display:flex;gap:10px;overflow-x:auto;align-items:center;padding:14px}.support-layout nav h2{display:none}.support-layout nav a{flex-shrink:0;white-space:nowrap;border:0;font-size:15px}.catalog-home-rail .catalog-card{flex-basis:165px}}
.article-layout,.article-layout>*,.support-layout>*{min-width:0}
@media(max-width:800px){.article-layout{grid-template-columns:minmax(0,1fr)}}
.catalog-providers{display:flex;overflow-x:auto;scroll-snap-type:x proximity;padding-bottom:12px;scrollbar-width:thin}
.catalog-providers>.catalog-card{flex:0 0 218px;scroll-snap-align:start}
@media(max-width:767px){.catalog-providers>.catalog-card{flex-basis:165px}}
.catalog-card-copy small{display:block;margin-top:4px;font-size:14px;color:#647785}
.editorial-table-wrap{max-width:100%;overflow-x:auto;margin:24px 0;border:1px solid #d9e7ee;border-radius:12px}
.editorial-table{width:100%;border-collapse:collapse;font-size:16px;line-height:1.6;text-align:left}
.editorial-table caption{text-align:left;padding:14px 16px;background:#eaf7ff;font-weight:700;color:#17364b}
.editorial-table th,.editorial-table td{padding:12px 16px;border-bottom:1px solid #e4edf2;vertical-align:top;overflow-wrap:anywhere}
.editorial-table th{width:37%;font-weight:600;background:#f8fbfd}.editorial-table tr:last-child>*{border-bottom:0}
.offer-dialog section{margin-top:22px}.offer-dialog h3{font-size:20px;margin:0 0 8px}.offer-dialog p{line-height:1.75}
.offer-dialog .offer-status{padding:10px 14px;background:#fff6e9;border-left:3px solid #d99b31;color:#73521b;font-size:15px}
.offer-unit-note{font-size:14px;color:#607488}.category-reading{margin:30px 0}.category-reading li{margin:12px 0;line-height:1.6}
@media(max-width:600px){.editorial-table{font-size:14px}.editorial-table th,.editorial-table td{padding:10px}.offer-dialog h3{font-size:18px}.offer-dialog{overflow-wrap:anywhere}}

.page-seo-title{font-size:clamp(25px,3vw,36px);line-height:1.3;margin:0 0 18px;color:#17354b}.page-seo-intro{font-size:17px;line-height:1.75;max-width:960px;margin:0 0 28px;color:#4b6478}.promo-page>.page-seo-title{padding-top:20px}@media(max-width:767px){.page-seo-intro{font-size:16px}}

/* Give the home page more breathing room on wide screens. */
.ju88-studio .home-main{width:min(1200px,calc(100% - 96px));max-width:1200px}
.home-main>.banner-carousel{margin-top:32px}
.home-main .banner-track{scrollbar-width:none}
.home-main .banner-track::-webkit-scrollbar{display:none}
.home-main .banner-slide img{height:auto;aspect-ratio:1680/600;object-fit:contain}
.home-main .banner-controls{margin-top:18px}
.home-main .home-offers{margin-top:52px}
.home-main .home-events{margin-top:40px;margin-bottom:48px}
.home-main .home-offer-grid{gap:32px}
.home-main .page-seo-intro{max-width:850px}
@media(max-width:767px){
 .ju88-studio .home-main{width:calc(100% - 32px)}
 .home-main>.banner-carousel{margin-top:24px}
 .home-main .banner-slide img{aspect-ratio:750/420}
 .home-main .home-offers{margin-top:32px}
 .home-main .home-events{margin-top:28px;margin-bottom:32px}
 .home-main .home-offer-grid{gap:18px}
}

/* Keep the desktop masthead aligned with the calmer home-page width. */
@media(min-width:801px){
 .ju88-studio .site-header{width:min(1200px,calc(100% - 96px));margin:0 auto;border-radius:0 0 24px 24px}
 .ju88-studio .site-header>.wrap{width:calc(100% - 48px);max-width:none}
 .ju88-studio .site-header .main-nav{flex-wrap:wrap;justify-content:space-between;column-gap:8px;row-gap:4px}
}

/* Consistent spacing for category, provider, article and service pages. */
.home-main .catalog-home-rail .catalog-card{flex-basis:180px}
.home-main .catalog-home-rail .catalog-card-copy{padding:10px 8px}
.home-main .catalog-home-rail .catalog-card-copy strong{font-size:16px}
@media(max-width:767px){
 .home-main .catalog-home-rail .catalog-card{flex-basis:140px}
 .home-main .catalog-home-rail .catalog-card-copy strong{font-size:14px}
}
@media(min-width:768px){
 .inner-main .catalog-section{margin:38px 0 48px}
 .inner-main .catalog-grid{gap:28px}
 .inner-main .catalog-platforms{gap:32px}
 .inner-main .article-layout{gap:32px}
 .inner-main .category-editorial{margin-top:48px}
}
@media(min-width:768px) and (max-width:1100px){
 .inner-main .catalog-grid:not(.catalog-platforms):not(.catalog-providers){grid-template-columns:repeat(3,minmax(0,1fr))}
}

/* Keep small game-type icons compact instead of stretching them across cards. */
.inner-main .catalog-grid.catalog-types{grid-template-columns:repeat(auto-fill,minmax(140px,160px));gap:18px}
.catalog-types .catalog-card{align-items:center;padding-top:18px}
.catalog-types .catalog-card>img{width:64px;height:64px;aspect-ratio:1;object-fit:scale-down}
.catalog-types .catalog-card-copy{text-align:center;padding:12px 8px 16px}
.catalog-types .catalog-card-copy strong{font-size:15px}
@media(max-width:520px){.inner-main .catalog-grid.catalog-types{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}}

/* Slide the same navigation into view after the masthead scrolls away. */
.header-scroll-spacer{height:0;pointer-events:none}
.ju88-studio .site-header.is-scroll-pinned{position:fixed;top:var(--header-top,0px);left:0;right:0;margin-inline:auto;z-index:1000;box-shadow:0 8px 24px #17354b1f;animation:header-slide-in .55s cubic-bezier(.22,1,.36,1) both}
@keyframes header-slide-in{from{transform:translateY(calc(-100% - var(--header-top,0px)));opacity:0}to{transform:translateY(0);opacity:1}}
@media(prefers-reduced-motion:reduce){.ju88-studio .site-header.is-scroll-pinned{animation:none}}

/* Readable, editable homepage manuscript. */
.home-manuscript{max-width:960px;margin-inline:auto}.home-manuscript h2{font-size:26px;margin-top:40px;margin-bottom:18px}.home-manuscript h2:first-child{margin-top:0}.home-manuscript h3{font-size:20px;margin:28px 0 12px;line-height:1.5}.home-manuscript p,.home-manuscript li{font-size:16px;line-height:1.9}.home-manuscript li{margin-bottom:12px}.home-manuscript ul,.home-manuscript ol{padding-left:24px}@media(max-width:767px){.home-manuscript h2{font-size:23px}.home-manuscript h3{font-size:18px}.home-manuscript p,.home-manuscript li{font-size:15px}}

/* Media-library logo: preserve proportions within the existing header. */
.brand .jv-brand-logo{display:block;width:auto;height:auto;max-width:180px;max-height:56px;object-fit:contain}.brand:has(.jv-brand-logo){font-size:0;line-height:1;flex-shrink:0}.site-footer .brand .jv-brand-logo{max-width:180px;max-height:56px}@media(max-width:800px){.brand .jv-brand-logo{max-width:110px;max-height:42px}}
