/*
Theme Name: Nusaplay
Author: Nusaplay
Description: Tema blok merah dan putih berbahasa Indonesia. Dapat disunting melalui Editor Situs WordPress.
Version: 1.4.7
Requires at least: 6.6
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nusaplay
Tags: block-patterns, full-site-editing, custom-colors, custom-logo, wide-blocks
*/
html{scroll-behavior:smooth;scroll-padding-top:24px}
body{margin:0;-webkit-font-smoothing:antialiased}
*{box-sizing:border-box} img{max-width:100%;height:auto}
a,button,input{touch-action:manipulation}a{text-underline-offset:4px}
:focus-visible{outline:3px solid #2361bc;outline-offset:4px}
.wp-site-blocks{padding-top:0!important;padding-bottom:0!important}
.wp-site-blocks>header,.wp-site-blocks>footer,.wp-site-blocks>main{margin-block-start:0}
.nusa-shell{max-width:1180px;margin-inline:auto!important;padding-inline:28px}
.nusa-header{border-bottom:1px solid #e8eaf0;background:#fff}
.nusa-header-inner{min-height:92px;display:flex;align-items:center;justify-content:space-between;gap:28px;padding-block:18px}
.nusa-brand{font-size:29px;font-weight:850;letter-spacing:-1.4px;font-style:italic;line-height:1;white-space:nowrap;margin:0}
.nusa-brand a{text-decoration:none;color:#242933}.nusa-brand strong{color:#d92332}
.nusa-header .wp-block-navigation{font-size:14px;font-weight:650;margin-left:auto}
.nusa-header .wp-block-navigation__container{gap:24px}
.nusa-header .nusa-mobile-login{display:none!important}
.nusa-header .wp-block-buttons{gap:10px;flex-wrap:nowrap}
.nusa-header .wp-block-button__link{font-size:13px;padding:11px 17px}
.nusa-language{position:relative;flex:none;font-size:14px}
.nusa-language summary{display:flex;align-items:center;justify-content:center;gap:6px;min-height:44px;padding-inline:12px;border:1px solid #dfe3ea;border-radius:9px;cursor:pointer;list-style:none;font-weight:700}
.nusa-language summary::-webkit-details-marker{display:none}
.nusa-language summary::after{content:'';width:6px;height:6px;border:solid currentColor;border-width:0 1.5px 1.5px 0;transform:translateY(-2px) rotate(45deg);margin-inline-start:2px}
.nusa-language summary:focus-visible{outline:2px solid #b3162e;outline-offset:3px}
.nusa-language-list{position:absolute;inset-inline-end:0;top:calc(100% + 8px);z-index:20;min-width:215px;padding:6px;margin:0;list-style:none;background:#fff;border:1px solid #dfe3ea;border-radius:10px;box-shadow:0 8px 24px #2429331a}
.nusa-language-list li{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:7px 9px;white-space:nowrap}
.nusa-language-list li[aria-current]{background:#fff0f1;border-radius:6px;color:#991b2b;font-weight:700}
.nusa-language-list button{font:inherit;color:inherit;text-align:start;width:100%;padding:5px;background:none;border:0;cursor:pointer}
.nusa-language-list small{font-size:11px;color:#5b636f}
@media(max-width:599px){.nusa-language{order:1;margin-inline-start:auto}.nusa-header .nusa-language+.wp-block-navigation{margin-inline-start:0}}
.wp-block-button__link{border-radius:9px;font-weight:650;text-decoration:none;padding:13px 23px;line-height:1.5}
.wp-block-button.is-style-outline>.wp-block-button__link{border:1px solid #d92332;color:#bc1524;padding:12px 22px;background:#fff}
.wp-block-button__link:hover{filter:brightness(.94)}
.nusa-home{padding-top:30px;padding-bottom:72px}
.nusa-hero{display:grid;grid-template-columns:1.05fr 1fr;align-items:center;gap:20px;border-radius:20px;background:#fff0f1;overflow:hidden;min-height:380px;padding:46px 46px 46px 50px}
.nusa-hero-copy h1{font-size:clamp(34px,3.6vw,52px);line-height:1.2;letter-spacing:-1.7px;margin:0 0 20px;font-weight:800}
.nusa-hero-copy p{font-size:16px;line-height:1.8;color:#535b69;max-width:35ch;margin:0 0 26px}
.nusa-hero figure{margin:0}.nusa-hero img{display:block;width:100%}
.nusa-categories{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;background:#f5f6f8;padding:8px;border-radius:12px;margin-top:22px}
.nusa-categories p{margin:0;text-align:center;font-size:15px;font-weight:650}
.nusa-categories a{display:block;text-decoration:none;padding:15px 8px;border-radius:8px;color:#363c49}
.nusa-categories p:first-child a{background:#d92332;color:#fff}.nusa-categories a:hover{background:#fff0f1;color:#b71725}
.nusa-section{margin-top:45px}.nusa-section-heading{display:flex;justify-content:space-between;align-items:center;gap:22px;margin-bottom:19px;flex-wrap:wrap}
.nusa-hero>*,.nusa-categories>*,.nusa-section-heading>*,.nusa-providers>*,.nusa-cards>*,.nusa-feature-grid>*,.nusa-feature>*,.nusa-help>*,.nusa-header-inner>*,.nusa-footer-top>*,.nusa-footer-bottom>*{margin-block-start:0!important;margin-block-end:0!important}
.nusa-section-heading h2{font-size:25px;font-weight:750;letter-spacing:-.6px;margin:0}
.nusa-section-heading p{font-size:13px;color:#606775;margin:0}
.nusa-search{max-width:440px;flex:1;min-width:240px}.nusa-search .wp-block-search__inside-wrapper{border:1px solid #d9dde5;border-radius:9px;padding:4px;background:#fff}
.nusa-search input{min-width:0;border:0;background:transparent;font:inherit;font-size:14px;padding:8px 10px}
.nusa-search .wp-block-search__button{background:#d92332;color:#fff;border:0;border-radius:6px;margin-left:4px;padding:8px 14px;font:inherit;font-size:13px;cursor:pointer}
.nusa-providers{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}.nusa-providers p{margin:0;display:flex;min-height:60px;align-items:center;justify-content:center;background:#f5f6f8;border:1px solid #eef0f4;border-radius:9px;font-size:13px;font-weight:750;text-align:center;padding:12px}
.nusa-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.nusa-card{border:1px solid #e6e8ee;border-radius:13px;overflow:hidden;background:#fff}
.nusa-card figure{margin:0}.nusa-card img{display:block;width:100%;aspect-ratio:1.42;object-fit:cover}
.nusa-card-body{padding:18px}.nusa-card h3{font-size:19px;margin:0 0 6px}.nusa-card p{font-size:13px;color:#606775;margin:0 0 14px;line-height:1.7}.nusa-card a{font-size:14px;font-weight:650;color:#bc1524}
.nusa-note{font-size:12px;color:#717887;margin-top:12px}
.nusa-feature-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.nusa-feature{display:grid;grid-template-columns:1.15fr 1fr;align-items:center;gap:12px;background:#f5f6f8;border-radius:13px;overflow:hidden;padding:25px 28px}
.nusa-feature h3{font-size:25px;margin:0 0 8px}.nusa-feature p{font-size:14px;color:#606775;margin:0 0 16px}.nusa-feature figure{margin:0}
.nusa-feature>*{min-width:0}.nusa-feature p{overflow-wrap:anywhere}
.nusa-help{background:#fff0f1;border:1px solid #f7d9dd;border-radius:15px;padding:30px 34px;display:flex;justify-content:space-between;align-items:center;gap:24px}
.nusa-help h2{font-size:23px;margin:0 0 8px}.nusa-help p{margin:0;font-size:14px;color:#606775;max-width:65ch}
.nusa-footer{background:#f5f6f8;border-top:1px solid #e5e8ee;padding:36px 0 24px}
.nusa-footer-top{display:flex;justify-content:space-between;gap:30px;align-items:flex-start}.nusa-footer .nusa-brand{font-size:25px}
.nusa-footer p{font-size:13px;color:#606775;line-height:1.8}.nusa-footer-links{display:flex;gap:22px;flex-wrap:wrap}.nusa-footer-links p{margin:0}.nusa-footer-links a{color:#424a57;text-decoration:none}
.nusa-footer-bottom{border-top:1px solid #dfe3e9;margin-top:25px;padding-top:18px;display:flex;justify-content:space-between;gap:24px;flex-wrap:wrap}.nusa-footer-bottom p{margin:0;font-size:12px}
.nusa-content{padding-block:56px 80px;min-height:60vh}.nusa-content h1{font-size:clamp(30px,4vw,46px);line-height:1.3;overflow-wrap:anywhere}.nusa-content .wp-block-post-content{line-height:1.85}.nusa-content .wp-block-post-featured-image img{border-radius:12px}
.nusa-posts .wp-block-post{padding:24px;border:1px solid #e6e8ee;border-radius:12px}.nusa-posts .wp-block-post-title{font-size:24px;overflow-wrap:anywhere}.nusa-posts .wp-block-post-title a{text-decoration:none}.nusa-posts .wp-block-post-date{font-size:13px;color:#606775}
@media(min-width:782px){.nusa-posts .wp-block-post-template{display:grid;grid-template-columns:1fr 1fr;gap:22px}}
@media(max-width:960px){.nusa-header-inner{gap:18px}.nusa-header .wp-block-navigation__container{gap:16px}.nusa-header .wp-block-button__link{padding:10px 13px}.nusa-header .wp-block-button.is-style-outline{display:none}.nusa-hero{padding:34px}.nusa-cards{gap:12px}.nusa-card-body{padding:14px}.nusa-providers{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:781px){.nusa-shell{padding-inline:20px}.nusa-header-inner{min-height:76px}.nusa-brand{font-size:25px}.nusa-hero{min-height:0;padding:30px;gap:12px}.nusa-hero-copy h1{font-size:35px}.nusa-hero-copy p{font-size:14px}.nusa-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.nusa-feature-grid{grid-template-columns:1fr}.nusa-help{align-items:flex-start;flex-direction:column}.nusa-categories a{font-size:13px;padding:13px 4px}.nusa-section{margin-top:32px}.nusa-home{padding-bottom:45px}.nusa-header .wp-block-navigation{margin-left:auto}}
@media(max-width:599px){.nusa-shell{padding-inline:16px}.nusa-header-inner{gap:14px;min-height:70px;padding-block:16px}.nusa-header .wp-block-buttons{display:none}.nusa-header .wp-block-navigation{order:2}.nusa-header .wp-block-navigation__responsive-container.is-menu-open{padding:28px;background:#fff}.nusa-home{padding-top:18px}.nusa-hero{grid-template-columns:1fr;padding:28px 26px 0;gap:0}.nusa-hero-copy h1{font-size:36px;letter-spacing:-1.2px}.nusa-hero-copy p{max-width:30ch;margin-bottom:20px}.nusa-hero figure{max-width:280px;margin:0 0 0 auto}.nusa-hero img{max-height:200px;object-fit:contain}.nusa-categories{gap:3px;padding:5px;margin-top:16px}.nusa-categories a{font-size:11px;padding:13px 2px}.nusa-section-heading{gap:15px}.nusa-section-heading h2{font-size:23px}.nusa-search{max-width:none;width:100%;flex-basis:100%}.nusa-providers{gap:7px}.nusa-providers p{font-size:11px;min-height:52px;padding:9px}.nusa-cards{gap:12px}.nusa-card-body{padding:13px}.nusa-card h3{font-size:17px}.nusa-card p{font-size:12px}.nusa-feature{padding:22px}.nusa-feature h3{font-size:23px}.nusa-help{padding:24px}.nusa-footer-top{flex-direction:column;gap:12px}.nusa-footer-links{gap:20px}.nusa-footer-bottom{gap:12px}.nusa-content{padding-block:32px 52px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{animation:none!important;transition:none!important}}
@media(max-width:599px){.nusa-header .nusa-mobile-login{display:flex!important}}
/* Nusaplay 1.1: supplied game artwork and editorial area. */
.nusa-category-preview{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.nusa-category-preview figure{margin:0!important;background:#242933;border-radius:8px;padding:10px;min-width:0;height:65px;display:flex;align-items:center;justify-content:center}
.nusa-category-preview img{max-width:100%;max-height:45px;object-fit:contain;display:block}
.nusa-provider-grid{gap:12px}
.nusa-provider{border:1px solid #e5e8ed;border-radius:11px;padding:12px 10px;background:#fff;min-width:0;text-align:center}
.nusa-provider .nusa-provider-mark{margin:0;height:58px;display:flex;align-items:center;justify-content:center;border-radius:7px;background:#f5f6f8;padding:8px}
.nusa-provider .nusa-provider-mark.is-dark{background:#242933}
.nusa-provider-mark a{display:flex;width:100%;height:100%;align-items:center;justify-content:center}
.nusa-provider-mark img{display:block;max-height:42px;max-width:100%;width:auto;object-fit:contain}
.nusa-providers .nusa-provider p{display:block;background:transparent;min-height:0;padding:0;border:0;font-size:11px;margin:10px 0 0}
.nusa-provider p a{color:#414958;text-decoration:none}
.nusa-game-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px;scroll-margin-top:24px}
.nusa-game-card{border:1px solid #e5e8ed;border-radius:13px;overflow:hidden;min-width:0;background:#fff}
.nusa-game-card figure{margin:0;background:#f5f6f8}
.nusa-game-card figure a{display:block}
.nusa-game-card img{display:block;width:100%;height:auto;aspect-ratio:3/4;object-fit:contain}
.nusa-game-info{padding:15px 17px 17px}
.nusa-game-card>.nusa-game-info{margin-block-start:0}
.nusa-game-info .nusa-game-provider{font-size:11px;font-weight:650;color:#707887;margin:0 0 5px}
.nusa-game-info h3{font-size:18px;line-height:1.4;margin:0 0 11px;overflow-wrap:anywhere;letter-spacing:-.25px}
.nusa-game-info p:last-child{margin:0;font-size:13px}.nusa-game-info a{font-weight:600;color:#bc1524}
.nusa-feature-grid .nusa-feature{min-height:190px}
.nusa-news .wp-block-post-template{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin:0;padding:0}
.nusa-news .wp-block-post{border:1px solid #e5e8ed;border-radius:13px;overflow:hidden;background:#fff;min-width:0;padding:0 20px 20px}
.nusa-news .wp-block-post-featured-image{margin:0 -20px 18px}.nusa-news .wp-block-post-featured-image img{display:block;aspect-ratio:16/9;object-fit:cover;border-radius:0}
.nusa-news .wp-block-post:not(:has(.wp-block-post-featured-image))::before{content:'Nusaplay';display:flex;align-items:center;justify-content:center;aspect-ratio:16/9;margin:0 -20px 18px;background:linear-gradient(135deg,#fff0f1,#ffe1e6);color:#b51b2b;font-size:30px;font-weight:800;font-style:italic}
.nusa-news .wp-block-post-date{font-size:12px;color:#606775;margin-top:0}
.nusa-news .wp-block-post-title{font-size:21px;line-height:1.5;margin:8px 0 10px;overflow-wrap:anywhere}
.nusa-news .wp-block-post-title a{text-decoration:none;color:#242933}
.nusa-news .wp-block-post-excerpt{font-size:14px;line-height:1.8;color:#606775;margin:0}
.nusa-news .wp-block-post-excerpt__more-link{font-weight:600;color:#bc1524}
.nusa-news-empty{padding:32px;border:1px dashed #e7b8bf;border-radius:13px;background:#fff8f9;text-align:center}
.nusa-news-empty h3{font-size:22px;margin:0 0 8px}.nusa-news-empty p{font-size:15px;color:#606775;margin:0}
.nusa-search-panel{display:flex;align-items:center;justify-content:space-between;gap:24px;padding-block:24px;border-top:1px solid #e5e8ed;border-bottom:1px solid #e5e8ed}
.nusa-search-panel h2{font-size:22px;margin:0 0 6px}.nusa-search-panel p{font-size:14px;color:#606775;margin:0}
.nusa-game-grid>*,.nusa-provider-grid>*,.nusa-news .wp-block-post-template>*,.nusa-search-panel>*{margin-block-start:0!important;margin-block-end:0!important}
@media(max-width:960px){.nusa-header .wp-block-button.is-style-outline{display:none}.nusa-header-inner{gap:18px}.nusa-header .wp-block-navigation__container{gap:18px}.nusa-game-grid{gap:16px}.nusa-game-info{padding:13px}.nusa-game-info h3{font-size:16px}}
@media(max-width:781px){.nusa-game-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.nusa-news .wp-block-post-template{grid-template-columns:repeat(2,minmax(0,1fr))}.nusa-search-panel{flex-direction:column;align-items:stretch}.nusa-search-panel .nusa-search{width:100%;max-width:none;flex-basis:auto}.nusa-game-card img{max-height:none}.nusa-feature-grid .nusa-feature{min-height:170px}}
@media(max-width:599px){.nusa-provider-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.nusa-provider{padding:8px 6px}.nusa-provider .nusa-provider-mark{height:48px;padding:7px}.nusa-providers .nusa-provider p{font-size:9px;line-height:1.4;margin-top:8px}.nusa-provider-mark img{max-height:34px}.nusa-game-grid{gap:12px}.nusa-game-info{padding:12px}.nusa-game-info h3{font-size:16px}.nusa-game-info .nusa-game-provider{font-size:9px}.nusa-game-info p:last-child{font-size:12px}.nusa-news .wp-block-post-template{grid-template-columns:1fr;gap:18px}.nusa-news .wp-block-post-title{font-size:21px}.nusa-section-heading p{font-size:12px}.nusa-feature-grid{grid-template-columns:1fr}.nusa-feature-grid .nusa-feature{min-height:160px}.nusa-search-panel{gap:16px}.nusa-search-panel h2{font-size:21px}}


/* Compact homepage based on the Nusaplay red and white mockup. */
.nusa-hero {
 grid-template-columns: 1fr 1fr;
 min-height: 0;
 padding: clamp(20px, 4vw, 52px);
 border-radius: 14px;
 background: linear-gradient(125deg, #fff2f5, #fbdce4 60%, #f9aabb);
}
.nusa-hero-copy { max-width: none; }
.nusa-hero-copy h1 {
 font-family: inherit;
 font-size: clamp(30px, 4.5vw, 60px);
 font-weight: 800;
 line-height: 1.06;
 color: #171c28;
}
.nusa-hero > figure { position: static; width: 100%; padding: 0; }
.nusa-hero img { max-height: 255px; object-fit: contain; }
.nusa-home .nusa-categories { border-radius: 12px; background: #f0f1f3; }
.nusa-home .nusa-categories > :first-child a { background: #cd102a; color: #fff; }
.nusa-home .nusa-provider-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
.nusa-home .nusa-provider { background: #f0f1f3; border: 0; }
.nusa-home .nusa-provider-mark { height: 48px; }
.nusa-home .nusa-game-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
.nusa-home .nusa-game-card { position: relative; overflow: hidden; border-radius: 12px; }
.nusa-home .nusa-game-card figure img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: contain; }
.nusa-home .nusa-game-info { padding: 9px 12px; }
@media(max-width:599px) {
 .nusa-hero { grid-template-columns: minmax(0,1.15fr) minmax(0,1fr); padding: 16px; gap: 4px; align-items: center; }
 .nusa-hero-copy h1 { font-size: clamp(22px, 6vw, 34px); letter-spacing: -.5px; margin-bottom: 10px; }
 .nusa-hero-copy p { font-size: 12px; line-height: 1.4; margin-bottom: 12px; }
 .nusa-hero .wp-block-button__link { padding: 8px 10px; font-size: 12px; }
 .nusa-home .nusa-provider-grid { display: grid; grid-auto-flow: column; grid-auto-columns: 30%; grid-template-columns: none; overflow-x: auto; }
 .nusa-home .nusa-game-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

.nusa-home .nusa-provider-grid { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:10px; }
.nusa-home .nusa-provider { display:flex; align-items:center; justify-content:center; gap:6px; padding:6px; }
.nusa-home .nusa-provider .nusa-provider-mark { width:44px; height:36px; background:transparent; padding:3px; }
.nusa-home .nusa-provider-mark img { max-height:30px; }
.nusa-home .nusa-providers .nusa-provider p { margin:0; min-width:0; overflow-wrap:anywhere; font-weight:700; }
@media(max-width:781px) {
 .nusa-home .nusa-provider-grid { grid-template-columns:none; grid-auto-flow:column; grid-auto-columns:calc((100% - 20px) / 3); overflow-x:auto; scroll-snap-type:x proximity; }
 .nusa-home .nusa-provider { flex-direction:column; scroll-snap-align:start; }
 .nusa-home .nusa-provider .nusa-provider-mark { height:25px; }
}

/* Contrast for provider logos supplied in light colors. */
.nusa-home .nusa-provider .nusa-provider-mark.is-dark,
.nusa-home .nusa-provider .nusa-provider-mark:has(img[alt="HABANERO"]),
.nusa-home .nusa-provider .nusa-provider-mark:has(img[alt="EVOLUTION"]) {
 background: #242933;
}
.nusa-home .nusa-provider .nusa-provider-mark {
 width: clamp(36px, 4vw, 58px);
 flex-shrink: 0;
}
.nusa-home .nusa-provider .nusa-provider-mark img {
 width: 100%;
}

/* Homepage interaction and card hierarchy */
.nusa-home .nusa-section-heading h2 {
 letter-spacing: -.035em;
 text-wrap: balance;
}
.nusa-home .nusa-game-card {
 display: flex;
 flex-direction: column;
 box-shadow: 0 4px 14px rgb(29 35 49 / 6%);
}
.nusa-home .nusa-game-card figure { overflow: hidden; }
.nusa-home .nusa-game-card figure img { background: #f3f4f6; }
.nusa-home .nusa-game-info { flex: 1; padding: clamp(10px, 1.4vw, 16px); }
.nusa-home .nusa-game-info h3 a { color: #171c28; }
.nusa-home .nusa-provider { border: 1px solid #e6e8ec; }
.nusa-home :is(.nusa-provider, .nusa-game-card):focus-within {
 border-color: #c51631;
 box-shadow: 0 0 0 2px #f9c9d3;
}
.nusa-home .nusa-hero .wp-block-button__link {
 border-radius: 12px;
 box-shadow: 0 5px 14px rgb(193 15 45 / 22%);
}
@media (prefers-reduced-motion: no-preference) {
 .nusa-home :is(.nusa-provider, .nusa-game-card, .nusa-hero .wp-block-button__link) {
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
 }
 .nusa-home .nusa-game-card img { transition: transform .24s ease; }
 @media (hover: hover) and (pointer: fine) {
  .nusa-home :is(.nusa-provider, .nusa-game-card, .nusa-hero .wp-block-button__link):hover {
   transform: translateY(-3px);
   box-shadow: 0 10px 22px rgb(29 35 49 / 12%);
  }
  .nusa-home .nusa-game-card:hover img { transform: scale(1.025); }
 }
}
@media (max-width: 599px) {
 .nusa-home .nusa-game-info h3 { line-height: 1.25; }
 .nusa-home .nusa-provider-grid { padding-block: 3px 8px; }
 .nusa-home .nusa-hero .wp-block-button__link { min-height: 44px; display: inline-grid; place-items: center; }
}

.nusa-mobile-nav { display: none; }
@media (max-width: 599px) {
 body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
 .nusa-mobile-nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  position: fixed;
  inset: auto 0 0;
  z-index: 30;
  margin: 0;
  padding: 3px 8px env(safe-area-inset-bottom);
  background: #fff;
  border-top: 1px solid #e5e8ee;
  box-shadow: 0 -4px 16px rgb(36 41 51 / 8%);
 }
 .nusa-mobile-nav a {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 3px;
  min-height: 56px;
  color: #242933;
  text-decoration: none;
  font-size: 12px;
 }
 .nusa-mobile-nav a:focus-visible,
 .home .nusa-mobile-nav a:first-child { color: #bd142c; }
}
/* Internal slot directory and provider pages. */
body.nusa-slot-catalog{font-family:Tahoma,"Noto Sans Thai",system-ui,-apple-system,"Segoe UI",sans-serif;font-size:17px;line-height:1.7;color:#242933;background:#fff}
.nusa-slot-catalog main{padding-top:32px}
.nusa-catalog-provider-art{max-width:440px;min-height:180px;background:#242933;border-radius:14px;padding:35px;margin-bottom:28px;display:flex;align-items:center;justify-content:center}
.nusa-catalog-provider-art img{max-width:100%;max-height:110px;object-fit:contain}
.nusa-slot-breadcrumb{display:flex;flex-wrap:wrap;align-items:center;gap:10px;font-size:13px;margin-bottom:25px;color:#606775}
.nusa-slot-breadcrumb a{color:#606775;text-decoration:none}
.nusa-slot-heading{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:25px}
.nusa-slot-heading h1{margin:0 0 8px;font-size:clamp(32px,4vw,46px);letter-spacing:-1px}
.nusa-slot-heading p{margin:0;color:#606775;font-size:15px}
.nusa-slot-back{font-size:14px;font-weight:600}
.nusa-slot-search{padding:22px 24px;background:#f5f6f8;border:1px solid #e5e8ed;border-radius:13px;margin-bottom:28px}
.nusa-slot-search label{font-size:14px;font-weight:650;display:block;margin-bottom:10px}
.nusa-slot-search>div{display:flex;gap:10px;max-width:620px}
.nusa-slot-search input{min-width:0;width:100%;height:46px;background:#fff;border:1px solid #d8dde5;border-radius:8px;padding:10px 13px;font:inherit;font-size:14px}
.nusa-slot-search button{flex-shrink:0;border:0;border-radius:8px;background:#d92332;color:#fff;padding:10px 23px;font:inherit;font-size:14px;font-weight:650;cursor:pointer}
.nusa-slot-providers{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:18px}
.nusa-slot-provider{min-width:0;border:1px solid #e5e8ed;background:#fff;border-radius:13px;overflow:hidden}
.nusa-slot-provider>a{display:block;padding:16px;color:#242933;text-decoration:none;height:100%}
.nusa-slot-provider>a:hover{background:#fff8f9}
.nusa-slot-logo{display:flex;align-items:center;justify-content:center;height:86px;padding:12px;background:#242933;border-radius:8px}
.nusa-slot-logo img{display:block;max-height:62px;width:100%;object-fit:contain}
.nusa-slot-logo span{color:#fff;text-align:center;font-weight:750;line-height:1.3;font-size:20px}
.nusa-slot-provider h2{font-size:16px;line-height:1.5;margin:14px 0 5px;overflow-wrap:anywhere}
.nusa-slot-provider p{font-size:13px;color:#606775;margin:0}
.nusa-slot-results{font-size:14px;color:#606775;margin:0 0 17px}
.nusa-slot-games{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:20px}
.nusa-slot-game{min-width:0;border:1px solid #e5e8ed;border-radius:12px;overflow:hidden;background:#fff}
.nusa-slot-cover{position:relative;overflow:hidden}
.nusa-slot-cover img{display:block;width:100%;height:auto;aspect-ratio:3/4;object-fit:contain;background:#f5f6f8}
.nusa-slot-game-info{padding:12px 13px 15px}
.nusa-slot-game p{font-size:10px;color:#707887;font-weight:600;margin:0 0 5px}
.nusa-slot-game h2{font-size:15px;line-height:1.45;margin:0;overflow-wrap:anywhere}
.nusa-slot-pagination{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:8px;margin-top:32px}
.nusa-slot-pagination .page-numbers{display:inline-flex;align-items:center;justify-content:center;min-width:42px;min-height:42px;border:1px solid #e0e4eb;border-radius:8px;font-size:14px;padding:8px 12px;text-decoration:none;color:#424a57}
.nusa-slot-pagination .current{background:#d92332;border-color:#d92332;color:#fff}
.nusa-slot-pagination .dots{border:0;padding-inline:0;min-width:20px}
.nusa-slot-empty{padding:48px 24px;border:1px dashed #e5bec4;border-radius:14px;background:#fff8f9;text-align:center}
.nusa-slot-empty h2{font-size:24px;margin:0 0 12px}.nusa-slot-empty p{font-size:15px;color:#606775;margin-bottom:18px}
@media(max-width:1100px){.nusa-slot-providers{grid-template-columns:repeat(4,minmax(0,1fr))}.nusa-slot-games{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:781px){.nusa-slot-providers{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.nusa-slot-games{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.nusa-slot-heading{flex-direction:column;align-items:flex-start;gap:15px}}
@media(max-width:599px){.nusa-slot-catalog main{padding-top:24px}.nusa-slot-breadcrumb{font-size:12px;margin-bottom:20px}.nusa-slot-search{padding:18px}.nusa-slot-search button{padding-inline:17px}.nusa-slot-providers,.nusa-slot-games{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.nusa-slot-provider>a{padding:12px}.nusa-slot-logo{height:72px;padding:8px}.nusa-slot-provider h2{font-size:14px}.nusa-slot-game-info{padding:11px}.nusa-slot-game h2{font-size:14px}}

.nusa-demo{box-sizing:border-box;width:min(920px,calc(100% - 24px));max-height:calc(100dvh - 24px);padding:18px;border:1px solid #ece0e2;border-radius:18px;background:#fff;color:#181a20;overflow:auto}
.nusa-demo::backdrop{background:rgba(25,13,18,.72)}
.nusa-demo-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}
.nusa-demo-header h2{margin:0;font-size:clamp(20px,4vw,28px)}
.nusa-demo-header form{margin:0;flex:none}
.nusa-demo button,.nusa-demo-trigger{padding:8px 12px;min-height:44px;border:0;border-radius:8px;background:#b3162e;color:#fff;font:inherit;font-weight:700;cursor:pointer}
.nusa-cover-play{position:absolute;inset:auto 8px 8px;display:flex;align-items:center;justify-content:center;gap:4px;padding-inline:4px;background:#b3162e;color:#fff;border:1px solid #fff;border-radius:7px;box-shadow:0 3px 12px #25101980;font-size:clamp(11px,2.9vw,14px);line-height:1.25}
.nusa-cover-play svg{flex:none}
.nusa-cover-play:focus-visible{outline:2px solid #fff;outline-offset:2px;background:#8d1125}
.nusa-cover-play:active{background:#780e20}
.nusa-cover-system{box-sizing:border-box;background:#251b23;color:#fff;text-decoration:none}
@media(hover:hover) and (pointer:fine){
 .nusa-cover-play:hover{background:#8d1125}
 .nusa-slot-cover:has(.nusa-cover-play) img{transition:transform .22s ease-out}
 .nusa-slot-cover:has(.nusa-cover-play):is(:hover,:focus-within) img{transform:scale(1.06)}
}
@media(prefers-reduced-motion:reduce){
 .nusa-slot-cover:has(.nusa-cover-play) img{transition:none}
 .nusa-slot-cover:has(.nusa-cover-play):is(:hover,:focus-within) img{transform:none}
}
.nusa-demo-player iframe{display:block;width:100%;height:min(64dvh,600px);border:0;border-radius:10px;background:#17151b}
.nusa-demo-game p{margin:10px 0;font-size:14px}

.nusa-game-detail-cover{display:block}
.nusa-game-detail-cover:focus-visible{outline:3px solid #b3162e;outline-offset:-3px}
.nusa-slot-game-info h2 a{color:inherit;text-underline-offset:.2em}
.nusa-game-detail{max-width:850px;margin:0 auto 48px}
.nusa-game-detail-intro{display:grid;grid-template-columns:165px minmax(0,1fr);align-items:center;gap:28px;padding:clamp(18px,4vw,36px);border:1px solid #ece0e2;border-radius:16px;background:#fff8f9}
.nusa-game-detail-intro img{display:block;width:100%;height:auto;border-radius:10px}
.nusa-game-detail-intro h1{margin:3px 0 10px;font-size:clamp(28px,5vw,44px);line-height:1.15}
.nusa-game-detail-provider{color:#9e1227;font-size:14px;font-weight:700}
.nusa-game-detail-content{padding:14px 4px}
.nusa-game-detail-content h2{margin:20px 0 8px;font-size:24px}
@media(max-width:599px){.nusa-game-detail-intro{grid-template-columns:minmax(0,1fr);gap:16px}.nusa-game-detail-intro img{width:108px}}


/* Homepage artwork */
.nusa-home .nusa-hero {
 background: #fce7ec url("assets/images/home-hero-desktop.webp") center / cover no-repeat;
 grid-template-columns: minmax(0, 48%) 1fr;
 min-height: clamp(235px, 25vw, 320px);
}
.nusa-home .nusa-hero > figure,
.nusa-home .nusa-feature > :nth-child(2) { display: none; }
.nusa-home .nusa-feature-grid .nusa-feature {
 grid-template-columns: minmax(0, 54%) 1fr;
 align-items: stretch;
 color: white;
 background-color: #38101c;
 background-image: var(--category-art);
 background-position: center;
 background-size: cover;
 background-repeat: no-repeat;
}
.nusa-home .nusa-feature > :first-child { display:flex; flex-direction:column; align-items:flex-start; min-width:0; }
.nusa-home .nusa-feature .wp-block-buttons { margin-block-start:auto; padding-block-start:14px; }
.nusa-home .nusa-feature :is(h3, p) { color: inherit; }
.nusa-home #live { --category-art: linear-gradient(90deg,#400817,transparent 78%), url("assets/images/home-casino.webp"); }
.nusa-home #sports { --category-art: linear-gradient(90deg,#101c35,transparent 78%), url("assets/images/home-sports.webp"); }
.nusa-home #slots-category { --category-art: linear-gradient(90deg,#482007 15%,rgb(72 32 7 / 90%) 42%,transparent 80%), url("assets/images/home-slots.webp"); }
.nusa-home #more { --category-art: linear-gradient(90deg,#410e2c,transparent 78%), url("assets/images/home-other.webp"); }
.nusa-home .nusa-help {
 background: #fff2f5 url("assets/images/home-support.webp") left 20px bottom / auto 95% no-repeat;
 padding-inline-start: clamp(115px, 22vw, 235px);
}
@media (max-width: 599px) {
 .nusa-home .nusa-hero {
  background-image: linear-gradient(90deg,#fce7ec 35%,transparent 72%), url("assets/images/home-hero-mobile.webp");
  grid-template-columns: minmax(0, 60%) 1fr;
  min-height: 180px;
 }
 .nusa-home .nusa-feature-grid .nusa-feature { padding: 15px; min-height: 160px; grid-template-columns: minmax(0, 62%) 1fr; }
 .nusa-home .nusa-help { background-size: auto 105px; background-position: left 8px bottom; padding-inline-start: 110px; }
}
