@font-face {
    font-family: 'Rubik';
    src: url('../fonts/rubik-regular.woff2') format('woff2');
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

* {
    font-family: Rubik, Arial, sans-serif;
    box-sizing: border-box;
}

html {
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    color: #212529;
    text-align: left;
    line-height: 1.5;
    background: linear-gradient(rgba(50, 50, 50, 0.781), rgba(0, 0, 0, 0.377));
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
    background-size: contain;
    background-color: #000000;
    /* background-size: 100%; */
}

h1 {
    text-align: center;
    color: #fff;
}

a:hover {
    text-decoration: none;
}

.container {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.adv {
    justify-content: center;
    display: flex;
    flex-wrap: wrap;
}

img {
    vertical-align: middle;
    border-style: none;
}

.col2{
    width: 50%;
}

.left{
    text-align: left;
}

.right{
    text-align: right;
}

.mrtop10{
    margin-top: 10px;
}

.hr{
    width: 100%;
    height: 2px;
    background: #333333;
    float: left;
}

.bg-blue-button{
    background: #3f93b1;
}

.bg-black-button{
    background: #535353;
}

.popip-button{
    cursor: pointer;
    width: 50%;
    float: left;
    height: 40px;
}

.popip-button:hover{
    background: #3f93b1;
}

/* Slideshow container */
.slideshow-images-container {
  max-width: 100%;
  position: relative;
  margin: auto;
  margin-bottom: 6px;
}

/* Hide the images by default */
.slideshow-images {
  display: none;
}

/* Next & previous buttons */
.prev-slideshow-images, .next-slideshow-images {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -14px;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}


.title {
    display: flex;
    justify-content: center;
    padding: 20px;
	margin-bottom: 5px;
}

.title-text {
    color: white;
    font-size: 2.5rem;
	font-weight: 900;
}

.slot {
    display: block;
}

.spinner {
    animation: 0.5s ease-in-out 0s normal none infinite running sk-scaleout;
    background-color: red;
    border-radius: 100%;
    display: inline-table;
    position: relative;
    float: inherit;
    height: 20px;
    margin: -8px 0 0 -12px;
    position: absolute;
    width: 20px;
    z-index: 2;
}

@keyframes sk-scaleout {0% {transform: scale(0);} 100% {opacity: 0; transform: scale(1);}}

.logo {
	text-align: center;
}

.logo img {
	height: 70px;
}

.root {
    float: none;
    width: 100%;
    padding: 0;
    flex: 0 0 100%;
    max-width: 100%;
   /*  background: #1a1a1a; */
    display: inline-block;
	padding: 5px;
    border-radius: 15px;
}

.slot-sidebar {
    max-height: 90vh;
    overflow-y: auto;
    position: sticky;
    top: 10px;
}

.slot-sidebar::-webkit-scrollbar {
    display: none;
}

.slot-sidebar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.slot .slot-sidebar {
    float: left;
    width: 20%;
    flex: 0 0 20%;
    max-width: 20%;
    padding-right: 10px;
    padding-left: 0;
    margin-top: 5px;
    background-color: #ffffff00;
}

.slot-sidebar-nav {
	display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
    overflow: auto;
    overflow-y: hidden;
}

.slot-sidebar-nav > li {
    border-bottom: 1px solid #333;
    width: 100%;
    position: relative;
    display: block;
}

.slot-sidebar-nav > li > a {
    color: #fff;
    font-size: 13px;
    padding: 10px 15px;
    display: block;
}

.btn-provider i {
    margin-right: 5px;
}

.enter {
    display: none;
}

.btn-provider span {
    position: absolute;
    font-size: 15px;
    transform: translateY(15px);
	vertical-align: middle;
}

.btn-provider h2 {
    font-size: 13px;
}

.Home {
    background-image: url(../home.svg);
    display: inline-block;
    background-position: center;
    background-repeat: no-repeat;
    height: 30px;
    width: 32px;
    background-size: 20px;
}

.Favorit {
    background-image: url(../favorit.svg);
    display: inline-block;
    background-position: center;
    background-repeat: no-repeat;
    height: 50px;
    width: 50px;
    background-size: 20px;
}

.pragma-logo,
.pg-logo,
.hks-logo,
.micro-logo,
.fp-logo,
.nlc-logo,
.jl-logo,
.haba-logo,
.gg-logo,
.spd-logo,
.fs-logo,
.joker-logo,
.octo-logo,
.ss-logo,
.ap-logo,
.fkg-logo,
.lv-logo,
.ps-logo,
.spx-logo,
.cp-logo,
.bp-logo,
.vp-logo,
.wm-logo,
.fc-logo,
.slot88-logo,
.ion-logo,
.amb-logo,
.mc-logo,
.ds-logo,
.fng-logo,
.naga-logo,
.jdb-logo,
.cq9-logo,
.oyp-logo,
.ntt-logo,
.btg-logo,
.rdt-logo,
.syd-logo,
.ygg-logo,
.png-logo,
.ttg-logo,
.sg-logo {
    display: inline-block;
    background-position: center;
    background-repeat: no-repeat;
    height: 50px;
    width: 50px;
    background-size: 32px;
}

li.active a, i {
    color: #333;
    filter: drop-shadow(0px 0px 0px black);
}

.contents {
    color: #fff;
    text-align: justify;
}

.contents h3 {
    font-weight: bolder;
    text-transform: uppercase;
    font-size: 18px;
}

.contents img {
    position: relative;
    max-width: 100%;
}

.slot .content {
    float: right;
    width: 80%;
    padding: 0;
    flex: 0 0 80%;
    max-width: 80%;
}

.wrapper {
    width: 100%;
    padding: 0;
   /* white-space: nowrap;*/
    /*overflow: hidden;*/
    position: relative;
    z-index: 0;
}

.card {
    float: left;
    width: 25%;
    background: transparent;
    border: none;
    text-align: center;
    position: relative;
	padding: 5px;
}

.card-content {
    background: #212529;
    margin: 5px;
    color: #fff;
    font-size: 12px;
    border: none;
    overflow: hidden;
    position: relative;
}

.percent {
    height: 30px;
    display: flex;
    overflow: hidden;
    line-height: 0;
    font-size: 0.75rem;
    background-color: #e9ecef;
    /* border-radius: .25rem; */
    position: relative;
    z-index: 1;
}

.percent p {
    z-index: 15;
    position: absolute;
    text-align: center;
    width: 100%;
    font-size: 14px;
    font-weight: bold;
    transform: translateY(14px);
    color: black;
}

.percent-bar {
    /* background-color: #ffc107; */
    background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
    background-size: 1rem 1rem;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    -ms-flex-pack: center;
    justify-content: center;
    overflow: hidden;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    /* background-color: #007bff; */
    transition: width 0.6s ease;
    -webkit-animation: progress-bar-stripes 1s linear infinite;
    animation: progress-bar-stripes 1s linear infinite;
    /* animation: ; */
    z-index: 10;
}

.yellow {
    background-color: #ffb900;
}

.green {
    background-color: #28a745;
}

.red {
    background-color: #dc3545;
}

/* TOMBOL DAFTAR */
.bg-blue-button{
    background: #3f93b1;
}

.bg-black-button{
    background: #535353;
}

.popip-button{
    cursor: pointer;
    width: 50%;
    float: left;
    height: 40px;
}

.popip-button:hover{
    background: #3f93b1;
}

.hover-btn {
    position: absolute;
    opacity: 0;
    transition: all 0.45s ease-in-out;
    z-index: 10;
    width: 100%;
}

.play-btn {
	font-size: 15px;
    text-decoration: none;
    color: white;
    text-align: center;
    align-items: center;
    width: 80%;
    margin: 27% auto;
    padding: 8px;
    background-color: #c10000;
}

.img-zoom {
    transition: all 0.45s ease-in-out;
    height: 141px;
}

.hover-btn:hover {
    opacity: 100%;
}

.next-btn {
    display: none;
    width: 30%;
}

.mySlides {
    display: none;
}

.next-btn {
    background-color: #292a2b;
    border: none;
    color: #fff;
}

@media (min-width: 576px) {
    .container {
        max-width: 540px;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .container {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

@media (max-width: 992px) {

    .slot-sidebar {
        position: static !important;
        float: none !important;
        width: 100% !important;
        max-width: 100% !important;
        padding-right: 0 !important;
        margin-bottom: 10px !important;
        overflow-y: visible !important;
        max-height: unset !important;
    }

    .slot-sidebar-nav {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        white-space: nowrap !important;
        padding: 5px 0 !important;
        gap: 10px !important;
        justify-content: flex-start !important;
        border-bottom: 1px solid #333 !important;
        height: auto !important;
    }

    .slot-sidebar-nav li {
        display: inline-block !important;
        flex: none !important;
        width: auto !important;
        border: none !important;
        padding: 0 !important;
    }

    .slot-sidebar-nav li a {
        padding: 5px !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        height: 70px !important;
    }

    .slot-sidebar-nav li img {
        height: 50px !important;
        width: 50px !important;
        object-fit: contain !important;
        object-position: center !important;
        margin: 0 auto !important;
    }

    .slot-sidebar-nav li a span {
        display: none !important;
    }

    .content {
        float: none !important;
        width: 100% !important;
        flex: none !important;
        max-width: 100% !important;
    }

    .card {
        width: 50% !important;
    }

    .hover-btn:hover {
        opacity: 0;
    }

    .img-zoom {
        height: auto;
    }

    .next-btn {
        display: block;
    }
}

@media (max-width: 768px) {
    .card {
        width: 50% !important; /* 2 kolom per baris */
    }

    .card-content .game-name {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis; /* Supaya teks yang panjang tidak turun baris, jadi titik-titik (...) */
        font-size: 0.8rem;
    }

    .card-content .jamgacorjdl,
    .card-content .jamgacorRange {
        font-size: 0.75rem;
        white-space: nowrap;
    }

    .card-content .pola h5,
    .card-content .pola h6 {
        font-size: 0.7rem;
        margin-top: 4px;
    }

    .pola-row {
        font-size: 0.65rem;
        white-space: nowrap;
        overflow: hidden;
        justify-content: center;
    }

    .percent {
        height: 25px;
    }

    .percent p {
        font-size: 12px;
    }
	

	
	.slot-sidebar-nav li a span {
        display: none !important;
    }
    .slot-sidebar-nav li {
        width: auto !important;
        border: none;
    }
    .slot-sidebar-nav li a {
        padding: 5px !important;
        display: flex !important;
        justify-content: center;
        align-items: center;
    }

    .slot-sidebar-nav {
        display: flex !important;
        justify-content: center;
        align-items: center;
        gap: 10px;
        overflow-x: auto !important;
        padding: 5px 0 !important;
    }

    .slot-sidebar-nav li a i {
        height: 50px !important;
        width: 50px !important;
        background-size: contain !important;
        background-position: center;
        display: block !important;
        margin: 0 auto !important;
    }
}

.player-counter-container > h2 {
    display: inline-block;
    outline: none;
    box-sizing: border-box;
    border-radius: 0.3em;
    text-transform: uppercase;
    box-shadow: inset 0 -2px 5px 1px rgb(255, 230, 0), inset 0 -1px 1px 3px rgb(255, 208, 0);
    background-image: linear-gradient(0deg, #ffb900, #ffb900, #ffb900, #ffb900, #ffb900);
    border: 1px solid #000000;
    color: #ffffff;
    text-shadow: 0 2px 2px rgb(0 0 0);
    transition: all .2s ease-in-out;
    background-size: 100% 100%;
    background-position: center;
    max-width: 500px;
    z-index: 5;
    padding: 15px;
    letter-spacing: 0;
    font-size: 2vw;
    font-weight: bold;
    margin: 10px auto;
    line-height: inherit;
    text-align: center;
}

.player-counter-wrapper{
	display: flex;
	vertical-align: middle;
	align-items: center;
}

.player-counter-wrapper > span {
    position: absolute;
    font-size: 6.5vw;
    z-index: 1;
    color: rgb(255, 255, 255);
    font-weight: bold;
    left: 0;
    right: 0;
    text-align: center;
}

.player-counter-wrapper > img{
	width: 100%;
}

.announcement {
    width: 100%;
    padding: 7px;
    color: white;
    background: #333;
    position: relative;
    display: flex;
}

.announcement i {
    width: 28px;
    height: 25px;
    line-height: 25px;
    font-size: 1rem;
    position: relative;
    left: 0;
    color: #c10000;
}

.announcement-icon {
    width: 28px;
    height: 25px;
    line-height: 25px;
    font-size: 1rem;
    position: relative;
    left: 0;
    color: #c10000;
}

.announcement-marquee {
    min-width: 0;
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
}

.announcement-marquee > span {
    display: inline-block;
    min-width: 100%;
    padding-left: 100%;
    animation: announcement-scroll 18s linear infinite;
}

.announcement-marquee:hover > span {
    animation-play-state: paused;
}

.announcement-separator {
    margin: 0 10px;
    color: rgba(255, 255, 255, .5);
}

.announcement-update {
    color: #ffd35a;
    font-weight: 600;
}

@keyframes announcement-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-100%); }
}

.link-container {
    display: flex;
    justify-content: center;
    font-size: var(--x-large-font);
    padding: 0;
    width: 100%;
}

.link-container a {
    width: 50%;
    text-align: center;
    padding: 10px;
    text-transform: uppercase;
    color: #ffffff;
    text-decoration: none;
}

.register-button {
    background-image: linear-gradient(#f17a77, #ee5f5b 60%, #ec4d49);
    color: #0c0002;
    border-color: rgb(108, 55, 255);
    border-radius: 10px;
}

.login-button {
    background-image: linear-gradient(#74cae3, #5bc0de 60%, #4ab9db);
    color: #fedc3d;
    border-color: #e72d13;
    border-radius: 10px;
}

.home-logo {
    display: inline-block;
    height: 50px;
    width: 50px;
    color: #ffffff;
}

@media (prefers-reduced-motion: reduce) {
    .percent-bar,
    .img-zoom,
    .hover-btn {
        animation: none !important;
        transition: none !important;
    }

    .announcement-marquee > span {
        animation: none !important;
        padding-left: 0;
    }
}

.game-report-toggle{position:absolute;z-index:15;top:43px;right:7px;width:31px;height:31px;display:grid;place-items:center;color:#f4d8a1;background:linear-gradient(145deg,rgba(44,18,23,.96),rgba(18,20,25,.96));border:1px solid rgba(255,201,40,.34);border-radius:9px;box-shadow:0 5px 15px rgba(0,0,0,.34);text-decoration:none;transition:color .18s ease,border-color .18s ease,transform .18s ease}.game-report-toggle svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.game-report-toggle:focus-visible{outline:2px solid #ffd55e;outline-offset:2px}@media(hover:hover){.game-report-toggle:hover{color:#fff2bf;border-color:#ffd55e;transform:translateY(-1px)}}@media(max-width:600px){.game-report-toggle{top:40px;right:6px;width:29px;height:29px}.game-report-toggle svg{width:15px;height:15px}}@media(prefers-reduced-motion:reduce){.game-report-toggle{transition:none}}

.rtp-mission-tracker{margin:0 8px 14px;padding:11px 13px;display:flex;align-items:center;gap:11px;color:#f7f4e9;background:linear-gradient(100deg,rgba(35,24,27,.98),rgba(16,19,25,.98));border:1px solid rgba(255,201,40,.22);border-radius:12px;box-shadow:0 12px 28px rgba(0,0,0,.2)}.rtp-mission-tracker--home{min-height:50px;margin:0 5px 10px;padding:9px 11px}.rtp-mission-tracker__icon{width:36px;height:36px;display:grid;place-items:center;flex:0 0 auto;color:#ffc928;background:rgba(255,201,40,.1);border-radius:9px}.rtp-mission-tracker>div{min-width:0;flex:1;display:grid;gap:3px}.rtp-mission-tracker strong{font-size:12px}.rtp-mission-tracker small{color:#9da3ad;font-size:10px}.rtp-mission-tracker i{height:3px;overflow:hidden;background:rgba(255,255,255,.08);border-radius:3px}.rtp-mission-tracker i b{display:block;width:0;height:100%;background:linear-gradient(90deg,#dc1738,#ffc928);transition:width .45s ease}.rtp-mission-tracker>a{padding:8px 10px;flex:0 0 auto;color:#1a1000;background:#ffc928;border-radius:8px;font-size:9px;font-weight:900;text-decoration:none}.rtp-mission-tracker.is-complete{border-color:rgba(48,205,124,.38)}.rtp-mission-tracker.is-complete .rtp-mission-tracker__icon{color:#77ecae;background:rgba(48,205,124,.1)}.rtp-mission-tracker.has-error{border-color:rgba(220,23,56,.35)}.rtp-mission-tracker--guest i{display:none}.mission-complete-toast{position:fixed;z-index:100;right:18px;bottom:18px;padding:13px 16px;color:#eafff3;background:#153321;border:1px solid rgba(48,205,124,.4);border-radius:11px;box-shadow:0 18px 50px rgba(0,0,0,.45);font-size:12px;font-weight:900;opacity:0;transform:translateY(15px);transition:.25s ease}.mission-complete-toast.is-visible{opacity:1;transform:none}.floating-menu__link--member{color:#ffe38a!important}
@media(max-width:600px){.rtp-mission-tracker{margin:0 4px 11px;padding:10px}.rtp-mission-tracker__icon{width:32px;height:32px}.rtp-mission-tracker strong{font-size:11px}.rtp-mission-tracker>a{padding:7px 8px}.mission-complete-toast{right:12px;bottom:12px;max-width:calc(100% - 24px)}}

/* Pondokwin branded action system: scoped to controls added by the optimization layer. */
.filter-chip,
.load-more-button,
.back-to-top,
.sticky-action,
.sticky-search button,
.search-form button {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    font-family: inherit;
    font-weight: 800;
    letter-spacing: .015em;
    -webkit-tap-highlight-color: transparent;
}

.filter-chip {
    color: #dce4ec;
    border: 1px solid rgba(255, 255, 255, .11);
    border-bottom-color: rgba(255, 191, 36, .22);
    background:
        linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.025)),
        #11151b;
    box-shadow: inset 0 1px rgba(255,255,255,.055), 0 5px 14px rgba(0,0,0,.16);
}

.filter-chip::before {
    content: '';
    position: absolute;
    z-index: -1;
    inset: 0;
    opacity: 0;
    background: linear-gradient(120deg, rgba(255,255,255,.32), transparent 38%);
    transition: opacity .18s ease;
}

.filter-chip:hover,
.filter-chip.is-active {
    color: #170f00;
    border-color: #f4c851;
    background: linear-gradient(180deg, #ffe078 0%, #eeb629 55%, #c88a0a 100%);
    box-shadow: inset 0 1px rgba(255,255,255,.62), inset 0 -1px rgba(88,52,0,.22), 0 7px 18px rgba(238,182,41,.2);
    transform: translateY(-1px);
}

.filter-chip:hover::before,
.filter-chip.is-active::before { opacity: 1; }

.load-more-button {
    min-width: 190px;
    padding: 11px 24px 11px 52px;
    color: #1a1100;
    border: 1px solid #ffd45c;
    border-bottom-color: #9b6500;
    border-radius: 10px;
    background: linear-gradient(180deg, #ffe379 0%, #efba2f 54%, #c8890a 100%);
    box-shadow: inset 0 1px rgba(255,255,255,.62), inset 0 -2px rgba(83,48,0,.18), 0 9px 24px rgba(238,185,47,.2);
    transition: transform .16s ease, box-shadow .16s ease, filter .16s ease;
}

.load-more-button::before {
    content: '↓';
    position: absolute;
    left: 12px;
    top: 50%;
    width: 27px;
    height: 27px;
    display: grid;
    place-items: center;
    color: #fff;
    border-radius: 7px;
    background: #a71320;
    box-shadow: inset 0 1px rgba(255,255,255,.2);
    transform: translateY(-50%);
}

.load-more-button:hover:not(:disabled) {
    filter: saturate(1.08) brightness(1.04);
    box-shadow: inset 0 1px rgba(255,255,255,.7), inset 0 -2px rgba(83,48,0,.18), 0 12px 28px rgba(238,185,47,.29);
    transform: translateY(-2px);
}

.load-more-button:active:not(:disabled) { transform: translateY(0); }
.load-more-button:disabled { filter: grayscale(.25); box-shadow: none; }

.back-to-top {
    color: #fff;
    border: 1px solid rgba(255, 215, 105, .85);
    background: linear-gradient(145deg, #ef3e4c 0%, #bc1d2a 55%, #77101a 100%);
    box-shadow: inset 0 1px rgba(255,255,255,.25), 0 0 0 3px rgba(13,17,22,.88), 0 10px 28px rgba(190,29,42,.32);
}

.back-to-top:hover {
    color: #1a1100;
    background: linear-gradient(145deg, #ffe279, #d89b16);
    transform: translateY(-3px);
}

.back-to-top.is-visible:hover { transform: translateY(-3px); }

.sticky-action {
    border: 1px solid rgba(255,255,255,.17);
    box-shadow: inset 0 1px rgba(255,255,255,.2), 0 6px 16px rgba(0,0,0,.22);
    transition: transform .16s ease, filter .16s ease, box-shadow .16s ease;
}

.sticky-action--login {
    background: linear-gradient(180deg, #f25762 0%, #c5202c 55%, #8e131d 100%);
}

.sticky-action--register {
    color: #071419;
    border-color: rgba(157,235,255,.55);
    background: linear-gradient(180deg, #8fe7fa 0%, #47b5d1 58%, #25839e 100%);
}

.sticky-action:hover { filter: brightness(1.08); box-shadow: inset 0 1px rgba(255,255,255,.25), 0 9px 20px rgba(0,0,0,.27); transform: translateY(-1px); }
.sticky-action:active { transform: translateY(0); }

.sticky-search button,
.search-form button {
    border: 1px solid #f2c64c;
    background: linear-gradient(180deg, #ffdb68 0%, #e7a916 100%);
    box-shadow: inset 0 1px rgba(255,255,255,.55), 0 5px 14px rgba(231,169,22,.2);
}

.sticky-search button:hover,
.search-form button:hover { color: #fff; background: linear-gradient(180deg, #e43a47, #aa1722); border-color: #f36570; }

.filter-chip:focus-visible,
.load-more-button:focus-visible,
.back-to-top:focus-visible,
.sticky-action:focus-visible,
.sticky-search button:focus-visible,
.search-form button:focus-visible {
    outline: 3px solid rgba(100, 214, 241, .85);
    outline-offset: 3px;
}

@media (max-width: 600px) {
    .filter-chip { min-height: 38px; padding-inline: 12px; }
    .load-more-button { width: min(100%, 250px); min-height: 46px; }
    .back-to-top { width: 43px; height: 43px; }
}

@media (prefers-reduced-motion: reduce) {
    .filter-chip,
    .filter-chip::before,
    .load-more-button,
    .back-to-top,
    .sticky-action { transition: none !important; }
}

.banner{
   /* padding: 5px; */
}

.banner img {
    width: 100%;
}
.game {
    text-align: center;
    position: relative;
    color: #fff;
    padding: 15px;
}
/* Menu Navigation Buttom */
.menu-bottom{
    display: none;
    height: 63px;
    width: 100vw;
    position: fixed;
    bottom: 0;
    background: black;
    border-top: 2px solid #707070;
}

.sub-menu-bottom{
    width: 25vw;
    height: 100%;
    float: left;
}

.sub-menu-bottom:hover{
    background: #525252;
}

.icon-menu{
    width: 4vw;
    height: auto;
    margin: 8px;
}

.text-menu{
    font-size: 12px;
    padding: 0px;
    margin: 0px;
    color: white;
}

@media (max-width: 992px){
    .menu-bottom{
        display: block;
    }
}

@media (max-width: 992px){
    .card {
        width: 50% !important;
    }
    .game-name {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        font-size: 0.8rem;
    }
    .jamgacorjdl, .jamgacorRange, .pola-row {
        font-size: 0.7rem;
    }
}

@media (min-width: 768px){
    .menu-bottom{
        height: 82px;
    }
}

.card-content .img-zoom {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center;
}

.card-content .game-name {
  text-align: center;
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  margin: 6px 0 4px;
  width: 100%;
  display: inline-block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.category-title {
    color: #fff;
    font-size: 1.4rem;
    margin-top: 30px;
    padding: 5px 10px;
    border-radius: 8px;
    text-align: left;
    width: max-content;
}

.card-content .jamgacorjdl,
.card-content .jamgacorRange {
    font-size: 0.75rem;
    white-space: nowrap;
}

.card-content .pola h5,
.card-content .pola h6 {
    font-size: 0.75rem;
    margin-top: 4px;
}

.card-content .pola-row {
    font-size: 0.7rem;
    gap: 4px;
}

.card-content .game-name {
    font-size: 0.8rem;
    margin-top: 4px;
    margin-bottom: 4px;
}

.sidebar-right {
    position: relative;
}

.search-form {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    right: 5px;
    top: 5px;
}

.search-form input {
    padding: 4px 8px;
    border-radius: 5px;
    border: 1px solid #ddd;
    font-size: 13px;
    outline: none;
}

.search-form button {
    background-color: #ffb900;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 5px 10px;
    cursor: pointer;
    margin-left: 5px;
}

.search-form button:hover {
    background-color: #e8a800;
}

@media (max-width: 768px) {
    .search-form {
        width: 100%;
        justify-content: center;
        padding: 5px;
        margin-bottom: 10px;
    }

    .search-form input {
        flex: 1;
        width: 100%;
    }

    .search-form button {
        flex-shrink: 0;
    }
}

@media (max-width: 768px) {
    .slot-sidebar {
        position: static !important;
        max-height: unset !important;
        overflow-y: visible !important;
        margin-bottom: 10px !important;
    }

    .slot-sidebar-nav {
        display: flex !important;
        overflow-x: auto !important;
        white-space: nowrap !important;
        padding: 5px 0 !important;
        gap: 10px !important;
        justify-content: flex-start !important;
        position: relative !important;
    }

    .slot-sidebar-nav li {
        display: inline-block !important;
        flex: none !important;
        width: auto !important;
        border: none !important;
    }

    .slot-sidebar-nav li a {
        padding: 5px !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
    }

    .slot-sidebar-nav li img {
        height: 50px !important;
        width: 50px !important;
        object-fit: contain !important;
        object-position: center !important;
        margin: 0 auto !important;
    }

    .slot-sidebar-nav li a span {
        display: none !important;
    }
}

h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
    margin-bottom: .5rem;
    font-weight: 500;
    line-height: 1.2;
}

p {
    margin-top: 0;
    margin-bottom: 1rem;
}

ul {
    margin-top: 0;
    margin-bottom: 1rem;
}

button, input {
    margin: 0;
    overflow: visible;
    font: inherit;
    line-height: inherit;
}

.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;
}

#load-sentinel {
    clear: both;
    width: 100%;
    min-height: 1px;
}

/* Pondokwin professional experience layer. The original layout remains the base. */
:root {
    --pw-bg: #08090b;
    --pw-panel: #17191d;
    --pw-panel-soft: #202329;
    --pw-line: rgba(255, 255, 255, .11);
    --pw-red: #ef4d4d;
    --pw-red-dark: #a71319;
    --pw-cyan: #58c5e3;
    --pw-gold: #ffbf24;
    --pw-green: #2dcf72;
    --pw-text: #f7f7f8;
    --pw-muted: #a9adb6;
    --pw-radius: 12px;
    --pw-gutter: 16px;
}

body {
    min-width: 320px;
    overflow-x: hidden;
    background-color: var(--pw-bg);
    background-image:
        radial-gradient(circle at 50% -20%, rgba(239, 77, 77, .12), transparent 34rem),
        linear-gradient(180deg, #202020 0, #0c0d0f 28rem, #050607 100%);
}

body > .container {
    width: min(calc(100% - (var(--pw-gutter) * 2)), 1140px);
    max-width: 1140px;
}

.brand-logo-link,
.brand-logo {
    display: block;
    margin-inline: auto;
}

.brand-logo {
    width: min(100%, 320px);
    height: auto;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
    outline: 3px solid rgba(88, 197, 227, .7);
    outline-offset: 3px;
}

.sticky-toolbar {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1000;
    padding: 8px var(--pw-gutter);
    background: rgba(8, 9, 11, .92);
    border-bottom: 1px solid rgba(255, 191, 36, .25);
    box-shadow: 0 12px 36px rgba(0, 0, 0, .38);
    backdrop-filter: blur(14px);
    transform: translateY(-115%);
    opacity: 0;
    pointer-events: none;
    transition: transform .22s ease, opacity .22s ease;
}

.sticky-toolbar.is-visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.sticky-toolbar__inner {
    width: min(100%, 1140px);
    min-height: 44px;
    margin-inline: auto;
    display: grid;
    grid-template-columns: 160px minmax(180px, 1fr) auto auto;
    gap: 10px;
    align-items: center;
}

.sticky-brand img {
    display: block;
    width: 150px;
    height: auto;
}

.sticky-search {
    display: flex;
    min-width: 0;
}

.sticky-search input {
    width: 100%;
    min-width: 0;
    padding: 9px 12px;
    color: var(--pw-text);
    background: #111318;
    border: 1px solid var(--pw-line);
    border-radius: 9px 0 0 9px;
}

.sticky-search button,
.sticky-action {
    border: 0;
    padding: 9px 14px;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}

.sticky-search button {
    background: var(--pw-gold);
    color: #171000;
    border-radius: 0 9px 9px 0;
}

.sticky-action {
    border-radius: 9px;
    text-align: center;
    text-transform: uppercase;
}

.sticky-action--login { background: linear-gradient(180deg, #fb7474, var(--pw-red)); }
.sticky-action--register { background: linear-gradient(180deg, #70d0e9, #42abc9); }
.sticky-search-trigger { display: none; }

.link-container {
    gap: 5px;
}

.link-container a {
    min-height: 44px;
    display: grid;
    place-items: center;
    font-weight: 700;
    letter-spacing: .02em;
    box-shadow: inset 0 1px rgba(255, 255, 255, .22), 0 8px 20px rgba(0, 0, 0, .18);
    transition: filter .18s ease, transform .18s ease;
}

.link-container a:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
}

.announcement {
    align-items: center;
    min-height: 42px;
    border: 1px solid var(--pw-line);
    border-radius: 10px;
    background: linear-gradient(90deg, #292b30, #17191d 55%, #292b30);
    box-shadow: 0 8px 22px rgba(0, 0, 0, .22);
}

.announcement-icon {
    display: grid;
    place-items: center;
    flex: 0 0 30px;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, .35));
}

.slot .slot-sidebar {
    top: 72px;
}

.provider-rail-wrap {
    position: relative;
}

.provider-swipe-hint {
    display: none;
}

.btn-provider {
    position: relative;
    border-radius: 8px;
    transition: background-color .16s ease, box-shadow .16s ease, color .16s ease;
}

.provider-new-mark {
    position: absolute;
    top: 3px;
    right: 4px;
    padding: 2px 4px;
    color: #201300;
    background: #ffc928;
    border-radius: 4px;
    box-shadow: 0 3px 9px rgba(0, 0, 0, .3);
    font-size: 7px;
    font-style: normal;
    font-weight: 950;
    letter-spacing: .04em;
    line-height: 1;
}

.btn-provider:hover,
.btn-provider.is-active {
    color: #fff;
    background: linear-gradient(90deg, rgba(239, 77, 77, .22), rgba(255, 191, 36, .08));
    box-shadow: inset 3px 0 var(--pw-red);
}

.btn-provider.is-active img {
    filter: drop-shadow(0 0 8px rgba(255, 191, 36, .42));
}

@media (min-width: 993px) {
    .provider-rail-wrap {
        padding: 4px;
        border: 1px solid rgba(255, 205, 74, .1);
        border-radius: 13px;
        background: linear-gradient(180deg, rgba(32, 34, 39, .8), rgba(12, 13, 16, .65));
        box-shadow: inset 0 1px rgba(255, 255, 255, .025), 0 12px 28px rgba(0, 0, 0, .16);
    }

    .provider-rail-wrap .slot-sidebar-nav {
        gap: 4px;
        padding: 2px;
    }

    .provider-rail-wrap .slot-sidebar-nav > li {
        border: 0;
    }

    .provider-rail-wrap .slot-sidebar-nav > li > .btn-provider {
        min-height: 64px;
        padding: 7px 12px 7px 8px;
        display: grid;
        grid-template-columns: 48px minmax(0, 1fr);
        align-items: center;
        gap: 14px;
        overflow: hidden;
        border: 1px solid transparent;
        border-radius: 10px;
        background: rgba(255, 255, 255, .018);
        text-decoration: none;
    }

    .provider-rail-wrap .btn-provider:hover,
    .provider-rail-wrap .btn-provider.is-active {
        border-color: rgba(255, 202, 65, .17);
        background: linear-gradient(100deg, rgba(218, 42, 52, .22), rgba(255, 191, 36, .065) 68%, rgba(255, 255, 255, .015));
    }

    .provider-rail-wrap .btn-provider img {
        width: 48px;
        height: 48px;
        display: block;
        object-fit: contain;
    }

    .provider-rail-wrap .btn-provider span {
        position: static;
        min-width: 0;
        overflow: hidden;
        color: #f5f5f6;
        font-size: 13px;
        font-weight: 780;
        letter-spacing: .015em;
        line-height: 1.25;
        text-overflow: ellipsis;
        text-shadow: 0 1px 3px rgba(0, 0, 0, .55);
        text-decoration: none;
        transform: none;
        white-space: nowrap;
    }

    .provider-rail-wrap .provider-new-mark {
        top: 5px;
        right: 6px;
    }
}

.provider-select-wrap {
    display: none;
}

.search-form {
    position: relative;
    justify-content: stretch;
    margin-bottom: 8px;
}

.search-form input {
    width: 100%;
    min-height: 38px;
    padding: 8px 38px 8px 10px;
    color: #181818;
    background: #fff;
    border-color: transparent;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .2);
}

.search-clear {
    position: absolute;
    right: 50px;
    top: 50%;
    translate: 0 -50%;
    width: 26px;
    height: 26px;
    display: grid;
    place-items: center;
    color: #63666d;
    font-size: 20px;
    line-height: 1;
    text-decoration: none;
}

.search-form button {
    min-width: 42px;
    min-height: 38px;
    color: #1c1500;
    background: linear-gradient(180deg, #ffd45a, var(--pw-gold));
    box-shadow: 0 6px 16px rgba(0, 0, 0, .2);
}

.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 7px;
    min-height: 26px;
    margin: 5px 5px 10px;
    color: var(--pw-muted);
    font-size: 12px;
}

.breadcrumbs a {
    color: var(--pw-cyan);
    text-decoration: none;
}

.filter-bar {
    display: flex;
    gap: 7px;
    margin: 0 5px 15px;
    padding: 2px 0 5px;
    overflow-x: auto;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
}

.filter-bar::-webkit-scrollbar { display: none; }

.filter-chip {
    flex: 0 0 auto;
    scroll-snap-align: start;
    padding: 8px 11px;
    color: #d7d9dd;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid var(--pw-line);
    border-radius: 999px;
    background: #15171b;
    transition: color .16s ease, border-color .16s ease, background .16s ease;
}

.filter-chip:hover,
.filter-chip.is-active {
    color: #171000;
    border-color: var(--pw-gold);
    background: linear-gradient(180deg, #ffd96b, var(--pw-gold));
}

.listing-heading {
    margin: 12px 5px 9px;
    padding-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: var(--pw-text);
    border-bottom: 1px solid rgba(255, 191, 36, .2);
}

.listing-heading h2 {
    position: relative;
    max-width: 100%;
    margin: 0;
    padding: 2px 12px 3px 1px;
    display: inline-block;
    color: #fffdf8;
    font-size: 1.3rem;
    font-weight: 900;
    line-height: 1.14;
    letter-spacing: .02em;
    -webkit-text-fill-color: #fffdf8;
    -webkit-text-stroke: .6px #d72839;
    paint-order: stroke fill;
    text-shadow: 0 0 2px rgba(255, 215, 103, .88), 0 0 8px rgba(255, 191, 36, .16);
}

.listing-heading h2::after {
    content: '';
    position: absolute;
    left: 1px;
    bottom: -3px;
    width: min(118px, 58%);
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, #f04452 0%, rgba(240, 68, 82, .48) 68%, transparent 100%);
    box-shadow: none;
}

.eyebrow {
    color: var(--pw-gold);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .14em;
}

.result-count {
    flex: 0 0 auto;
    color: var(--pw-muted);
    font-size: 11px;
}

.category-title {
    position: relative;
    min-height: 58px;
    margin: 22px 5px 10px;
    padding: 9px 11px 9px 9px;
    max-width: calc(100% - 10px);
    display: flex;
    align-items: center;
    gap: 10px;
    border-left: 3px solid #f04452;
    border-radius: 10px;
    background:
        linear-gradient(90deg, rgba(240, 68, 82, .105), rgba(255, 191, 36, .032) 48%, rgba(255, 255, 255, .012)),
        #17191d;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .035);
    overflow: hidden;
}

.category-title::after {
    content: '';
    position: absolute;
    right: 10px;
    bottom: 0;
    left: 9px;
    height: 1px;
    background: linear-gradient(90deg, #f04452 0%, rgba(255, 201, 61, .78) 34%, transparent 78%);
    pointer-events: none;
}

.category-title__icon {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    display: grid;
    place-items: center;
    color: #ffce58;
    border: 1px solid rgba(255, 198, 61, .28);
    border-radius: 9px;
    background: linear-gradient(145deg, rgba(240, 68, 82, .18), rgba(255, 191, 36, .065));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07);
}

.category-title--hot .category-title__icon {
    color: #6ddaf0;
    border-color: rgba(109, 218, 240, .28);
    background: linear-gradient(145deg, rgba(109, 218, 240, .14), rgba(255, 191, 36, .045));
}

.category-title--admin .category-title__icon {
    color: #ffdb78;
    background: linear-gradient(145deg, rgba(255, 191, 36, .16), rgba(240, 68, 82, .065));
}

.category-title__icon svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.category-title__copy {
    min-width: 0;
    display: grid;
    gap: 2px;
}

.category-title__copy h2 {
    margin: 0;
    color: #fffdf8;
    font-size: 1.05rem;
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: .035em;
    -webkit-text-fill-color: #fffdf8;
    -webkit-text-stroke: 0;
    text-shadow: none;
}

.category-title__copy > span {
    color: #d2ad4a;
    font-size: 9px;
    font-weight: 750;
    line-height: 1.2;
    letter-spacing: .055em;
}

.category-title__all {
    min-height: 32px;
    margin-left: auto;
    padding: 6px 10px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #f5d575;
    font-size: 9px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: .055em;
    text-decoration: none;
    white-space: nowrap;
    border: 1px solid rgba(255, 199, 67, .24);
    border-radius: 999px;
    background: rgba(255, 191, 36, .045);
    transition: color .18s ease, border-color .18s ease, background-color .18s ease;
}

.category-title__all > span {
    font-size: 16px;
    line-height: .7;
    transition: transform .18s ease;
}

@media (hover: hover) and (pointer: fine) {
    .category-title__all:hover {
        color: #fff3c1;
        border-color: rgba(255, 199, 67, .46);
        background: rgba(255, 191, 36, .085);
    }

    .category-title__all:hover > span {
        transform: translateX(2px);
    }
}

.category-title__all:focus-visible {
    outline: 2px solid rgba(109, 218, 240, .92);
    outline-offset: 2px;
}

.game-section::after,
#game-container::after {
    content: '';
    display: table;
    clear: both;
}

.card {
    padding: 5px;
}

.card-content {
    display: flex;
    flex-direction: column;
    min-height: 328px;
    margin: 0;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: var(--pw-radius);
    background: linear-gradient(180deg, #25282d, #191b1f);
    box-shadow: 0 8px 18px rgba(0, 0, 0, .2);
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.card-content .img-zoom {
    flex: 0 0 auto;
    border-radius: 10px 10px 0 0;
    transition: transform .28s ease, filter .28s ease;
}

.card-content .game-name {
    margin: 7px 8px 1px;
    font-size: .82rem;
}

.game-provider {
    min-height: 17px;
    padding: 0 8px 4px;
    color: #aeb2bb;
    font-size: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.game-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 12;
    padding: 4px 7px;
    color: #fff;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 999px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .32);
    backdrop-filter: blur(7px);
}

.game-badge--popular { background: rgba(190, 38, 45, .9); }
.game-badge--hot { background: rgba(15, 133, 73, .92); }
.game-badge--choice { color: #241800; background: rgba(255, 191, 36, .94); }

.game-favorite-toggle {
    position: absolute;
    z-index: 16;
    top: 7px;
    right: 7px;
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    color: #f7f0dc;
    border: 1px solid rgba(255, 224, 139, .42);
    border-radius: 50%;
    background: rgba(11, 13, 17, .82);
    box-shadow: 0 7px 18px rgba(0, 0, 0, .38), inset 0 1px rgba(255,255,255,.08);
    transition: color .18s ease, background-color .18s ease, border-color .18s ease, transform .18s ease;
}

.game-favorite-toggle svg { width: 17px; height: 17px; fill: transparent; stroke: currentColor; stroke-width: 1.8; }
.game-favorite-toggle.is-active { color: #341900; border-color: #ffe594; background: linear-gradient(145deg, #ffe787, #ffbf24); }
.game-favorite-toggle.is-active svg { fill: currentColor; }
.game-favorite-toggle.is-busy { pointer-events: none; opacity: .62; }
.game-favorite-toggle:focus-visible { outline: 2px solid #74d8f0; outline-offset: 2px; }

@media (hover: hover) and (pointer: fine) {
    .game-favorite-toggle:hover { color: #ffd45d; border-color: #ffd45d; transform: translateY(-1px); }
    .game-favorite-toggle.is-active:hover { color: #351b00; }
}

@media (max-width: 768px) {
    .game-favorite-toggle { top: 6px; right: 6px; width: 29px; height: 29px; }
    .game-favorite-toggle svg { width: 15px; height: 15px; }
}

.card-content .jam {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-inline: 5px;
}

.card-content .jamgacor,
.card-content .pola {
    min-height: 42px;
}

.card-content .pola {
    min-height: 88px;
}

.card-content .pola-row {
    min-height: 16px;
    line-height: 1.25;
}

.percent {
    flex: 0 0 auto;
    margin-top: auto;
}

.percent-bar {
    width: 0;
    animation: none;
}

.empty-state {
    margin: 28px 5px;
    padding: 30px 18px;
    color: var(--pw-muted);
    text-align: center;
    border: 1px dashed rgba(255, 191, 36, .32);
    border-radius: var(--pw-radius);
    background: rgba(255, 255, 255, .025);
}

.empty-state > span {
    display: block;
    color: var(--pw-gold);
    font-size: 30px;
}

.empty-state h3 {
    margin: 7px 0 5px;
    color: var(--pw-text);
}

.empty-state p { margin-bottom: 12px; }

.empty-state a {
    color: var(--pw-cyan);
    font-weight: 700;
}

.image-fallback {
    padding: 22%;
    object-fit: contain !important;
    background: radial-gradient(circle, #2d3036, #141619);
}

@media (hover: hover) and (pointer: fine) {
    .card-content:hover {
        transform: translateY(-3px);
        border-color: rgba(255, 191, 36, .5);
        box-shadow: 0 12px 28px rgba(0, 0, 0, .38), 0 0 0 1px rgba(239, 77, 77, .12);
    }

    .card-content:hover .img-zoom {
        transform: scale(1.035);
        filter: brightness(.66);
    }

    .hover-btn:hover .play-btn {
        transform: scale(1.04);
        background: linear-gradient(180deg, #f05252, var(--pw-red-dark));
    }
}

.play-btn {
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: 8px;
    box-shadow: 0 9px 22px rgba(0, 0, 0, .35);
    transition: transform .18s ease, background .18s ease;
}

.card-enter {
    animation: card-enter .36s both;
    animation-delay: var(--enter-delay, 0ms);
}

@keyframes card-enter {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

#load-sentinel {
    padding: 18px 5px 8px;
    text-align: center;
    color: var(--pw-muted);
}

.load-status {
    min-height: 20px;
    margin-bottom: 9px;
    font-size: 12px;
}

.load-more-button {
    min-height: 42px;
    padding: 9px 20px;
    color: #171000;
    font-weight: 800;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(180deg, #ffd96b, var(--pw-gold));
    box-shadow: 0 8px 18px rgba(0, 0, 0, .25);
    cursor: pointer;
}

.load-more-button:disabled {
    opacity: .55;
    cursor: wait;
}

.skeleton-grid {
    display: none;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 12px;
}

#load-sentinel.is-loading .skeleton-grid {
    display: none;
}

#load-sentinel.is-loading .load-more-button {
    background-size: 200% 100%;
    background-image: linear-gradient(100deg, var(--pw-gold), #ffe6a0, var(--pw-gold));
    animation: skeleton-shimmer 1.15s linear infinite;
}

.skeleton-card {
    min-height: 150px;
    padding: 8px;
    border-radius: 10px;
    background: #1a1c20;
    overflow: hidden;
}

.skeleton-card i,
.skeleton-card b,
.skeleton-card em {
    display: block;
    border-radius: 6px;
    background: linear-gradient(90deg, #23262c 25%, #343840 50%, #23262c 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.15s linear infinite;
}

.skeleton-card i { height: 94px; }
.skeleton-card b { width: 78%; height: 10px; margin: 10px auto 7px; }
.skeleton-card em { width: 48%; height: 8px; margin: auto; }

@keyframes skeleton-shimmer {
    to { background-position: -200% 0; }
}

.back-to-top {
    position: fixed;
    right: max(var(--pw-gutter), calc((100vw - 1140px) / 2));
    bottom: 22px;
    z-index: 900;
    width: 44px;
    height: 44px;
    color: #1b1200;
    font-size: 22px;
    font-weight: 900;
    border: 0;
    border-radius: 50%;
    background: linear-gradient(180deg, #ffd96b, var(--pw-gold));
    box-shadow: 0 10px 24px rgba(0, 0, 0, .36);
    opacity: 0;
    transform: translateY(12px);
    pointer-events: none;
    transition: opacity .18s ease, transform .18s ease;
}

.back-to-top.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.site-footer {
    clear: both;
    margin: 34px 5px 20px;
    padding: 20px;
    color: var(--pw-muted);
    font-size: 12px;
    text-align: center;
    border-top: 1px solid rgba(255, 191, 36, .23);
    background: linear-gradient(180deg, rgba(255, 255, 255, .03), transparent);
}

.responsible-note {
    max-width: 760px;
    margin: 0 auto 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.responsible-note > span {
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 11px;
    font-weight: 900;
    border: 2px solid var(--pw-red);
    border-radius: 50%;
}

.responsible-note p,
.site-footer > p { margin: 0; }

.site-footer nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin-bottom: 13px;
}

.site-footer a {
    color: #d8dbe0;
    text-decoration: none;
}

.site-footer a:hover { color: var(--pw-gold); }

.info-shell {
    min-height: 100vh;
    padding: 30px var(--pw-gutter);
    color: var(--pw-text);
}

.info-logo {
    margin: 0;
    text-align: center;
}

.info-logo img {
    max-width: 90%;
    height: auto;
}

.info-card {
    max-width: 760px;
    margin: 35px auto;
    padding: clamp(22px, 5vw, 38px);
    border: 1px solid var(--pw-line);
    border-top: 3px solid var(--pw-red);
    border-radius: 14px;
    background: linear-gradient(145deg, #23262b, #15171a);
    box-shadow: 0 22px 55px rgba(0, 0, 0, .36);
}

.info-card h1 {
    margin: 8px 0 18px;
    text-align: left;
    font-size: clamp(1.55rem, 4vw, 2.25rem);
}

.info-card > p {
    color: #d5d7dc;
    line-height: 1.75;
}

.info-updated {
    color: var(--pw-muted) !important;
    font-size: 12px;
}

.info-links {
    display: flex;
    flex-wrap: wrap;
    gap: 9px 16px;
    padding-top: 16px;
    border-top: 1px solid var(--pw-line);
}

.info-links a {
    color: var(--pw-cyan);
    font-size: 12px;
    font-weight: 700;
}

@media (max-width: 992px) {
    :root { --pw-gutter: 14px; }

    .provider-rail-wrap::before,
    .provider-rail-wrap::after {
        content: '';
        position: absolute;
        z-index: 2;
        top: 0;
        bottom: 0;
        width: 34px;
        opacity: 0;
        pointer-events: none;
        transition: opacity .16s ease;
    }

    .provider-rail-wrap::before {
        left: 0;
        background: linear-gradient(90deg, var(--pw-bg), transparent);
    }

    .provider-rail-wrap::after {
        right: 0;
        background: linear-gradient(90deg, transparent, var(--pw-bg));
    }

    .provider-rail-wrap.can-scroll-left::before,
    .provider-rail-wrap.can-scroll-right::after {
        opacity: .9;
    }

    .provider-swipe-hint {
        position: absolute;
        z-index: 4;
        top: 50%;
        left: 50%;
        display: flex;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translate3d(-50%, -50%, 0);
        transition: opacity .2s ease, visibility .2s ease;
        contain: layout paint;
    }

    .provider-swipe-hint.is-visible {
        opacity: 1;
        visibility: visible;
    }

    .provider-swipe-hint__motion {
        min-height: 34px;
        padding: 6px 11px 6px 8px;
        display: inline-flex;
        align-items: center;
        gap: 7px;
        color: #fff3ca;
        white-space: nowrap;
        border: 1px solid rgba(255, 202, 70, .52);
        border-radius: 999px;
        background: rgba(16, 18, 22, .92);
        box-shadow: 0 8px 22px rgba(0, 0, 0, .46), inset 0 1px rgba(255, 255, 255, .08);
        backdrop-filter: blur(5px);
    }

    .provider-swipe-hint.is-visible .provider-swipe-hint__motion {
        animation: provider-swipe-cue 2.35s cubic-bezier(.4, 0, .2, 1) both;
    }

    .provider-swipe-hint svg {
        width: 20px;
        height: 20px;
        fill: none;
        stroke: #ffd365;
        stroke-width: 1.7;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    .provider-swipe-hint span span {
        font-size: 9px;
        font-weight: 900;
        letter-spacing: .045em;
        text-transform: uppercase;
    }

    .slot-sidebar-nav {
        scroll-snap-type: x proximity;
        overscroll-behavior-inline: contain;
        scrollbar-width: none;
    }

    .slot-sidebar-nav::-webkit-scrollbar { display: none; }
    .slot-sidebar-nav > li { scroll-snap-align: start; }

    .btn-provider.is-active {
        box-shadow: inset 0 -3px var(--pw-red);
    }

    .provider-select-wrap {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr);
        align-items: center;
        gap: 9px;
        margin: 2px 5px 5px;
        color: var(--pw-muted);
        font-size: 11px;
    }

    .provider-select-wrap select {
        min-width: 0;
        width: 100%;
        padding: 8px 30px 8px 10px;
        color: var(--pw-text);
        border: 1px solid var(--pw-line);
        border-radius: 8px;
        background: #17191d;
    }

    .card-content {
        min-height: 0;
        height: 100%;
    }

    .game-section,
    #game-container {
        display: flow-root;
    }
}

@keyframes provider-swipe-cue {
    0%, 100% { transform: translate3d(0, 0, 0); }
    28% { transform: translate3d(13px, 0, 0); }
    62% { transform: translate3d(-13px, 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
    .provider-swipe-hint,
    .provider-swipe-hint__motion,
    .provider-rail-wrap::before,
    .provider-rail-wrap::after {
        animation: none !important;
        transition: none !important;
    }
}

@media (max-width: 768px) {
    :root { --pw-gutter: 12px; }

    body > .container {
        width: calc(100% - 24px);
    }

    .root {
        padding: 0;
        border-radius: 10px;
    }

    .title {
        padding-inline: 4px;
    }

    .logo img {
        width: min(100%, 320px);
        height: auto;
    }

    .link-container.container {
        width: 100%;
        max-width: none;
        padding: 0;
    }

    .link-container a {
        min-width: 0;
        min-height: 44px;
        padding: 9px 6px;
        border-radius: 9px;
    }

    .announcement {
        margin-inline: 0;
        border-radius: 9px;
    }

    .slot-sidebar {
        margin-bottom: 5px !important;
    }

    .search-form {
        position: sticky;
        top: 61px;
        z-index: 80;
        width: 100%;
        margin: 0 0 8px;
        padding: 6px 0;
        background: rgba(8, 9, 11, .94);
        backdrop-filter: blur(12px);
    }

    .search-form input,
    .search-form button {
        min-height: 42px;
    }

    .slot-sidebar-nav {
        margin-inline: 0;
        padding: 5px 2px 8px !important;
    }

    .slot-sidebar-nav li:first-child { margin-left: 1px; }

    .sticky-toolbar {
        padding: 7px 12px;
    }

    .sticky-toolbar__inner {
        grid-template-columns: minmax(0, 1fr) auto auto;
        gap: 6px;
        min-height: 42px;
    }

    .sticky-brand { display: none; }

    .sticky-search {
        display: flex;
        min-width: 0;
    }

    .sticky-search input {
        min-width: 0;
        padding: 8px;
        font-size: 12px;
    }

    .sticky-search button {
        width: 38px;
        padding: 8px 5px;
        font-size: 0;
    }

    .sticky-search button::after {
        content: '⌕';
        font-size: 20px;
    }

    .sticky-search-trigger {
        display: none;
        place-items: center;
        width: 38px;
        height: 38px;
        padding: 0;
        color: #1c1500;
        font-size: 24px;
        border: 0;
        border-radius: 9px;
        background: var(--pw-gold);
    }

    .sticky-action {
        padding: 8px 9px;
        font-size: 10px;
    }

    .breadcrumbs,
    .filter-bar,
    .listing-heading,
    .category-title {
        margin-left: 4px;
        margin-right: 4px;
    }

    .filter-bar {
        padding-bottom: 7px;
    }

    .filter-chip {
        min-height: 36px;
        display: grid;
        place-items: center;
        padding-inline: 12px;
    }

    .category-title {
        margin-top: 20px;
    }

    .listing-heading {
        align-items: center;
    }

    .listing-heading h2 { font-size: 1rem; }

    .card {
        padding: 4px !important;
    }

    .card-content {
        margin: 0;
        border-radius: 10px;
    }

    .card-content .img-zoom {
        border-radius: 9px 9px 0 0;
    }

    .game-badge {
        top: 6px;
        left: 6px;
        max-width: calc(100% - 12px);
        padding: 3px 6px;
        font-size: 8px;
    }

    .card-content .game-name {
        margin: 6px 6px 0;
        font-size: .73rem;
    }

    .game-provider {
        min-height: 15px;
        padding: 0 6px 3px;
        font-size: 9px;
    }

    .card-content .jam {
        padding-inline: 3px;
    }

    .card-content .jamgacor {
        min-height: 39px;
    }

    .card-content .pola {
        min-height: 82px;
    }

    .card-content .pola-row {
        min-height: 15px;
        font-size: .58rem;
    }

    .skeleton-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .skeleton-card:nth-child(n+3) { display: none; }

    .site-footer {
        margin: 28px 4px 72px;
        padding: 18px 8px;
    }

    .responsible-note {
        align-items: flex-start;
        text-align: left;
    }

    .site-footer nav {
        gap: 10px 13px;
    }

    .back-to-top {
        right: 14px;
        bottom: 76px;
    }

}

@media (max-width: 370px) {
    :root { --pw-gutter: 10px; }
    body > .container { width: calc(100% - 20px); }
    .sticky-toolbar__inner { grid-template-columns: minmax(0, 1fr) auto auto; }
    .sticky-action { padding-inline: 7px; font-size: 9px; }
    .card { padding: 3px !important; }
    .card-content .pola-row { font-size: .54rem; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .sticky-toolbar,
    .link-container a,
    .btn-provider,
    .card-content,
    .card-content .img-zoom,
    .play-btn,
    .back-to-top {
        transition: none !important;
    }
    .card-enter,
    #load-sentinel.is-loading .load-more-button,
    .skeleton-card i,
    .skeleton-card b,
    .skeleton-card em {
        animation: none !important;
    }
}

/* Final cascade for the branded controls; kept last to win over legacy template rules. */
body .filter-chip {
    color: #dce4ec;
    border: 1px solid rgba(255,255,255,.11);
    border-bottom-color: rgba(255,191,36,.22);
    background: linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.025)), #11151b;
    box-shadow: inset 0 1px rgba(255,255,255,.055), 0 5px 14px rgba(0,0,0,.16);
}

body .filter-chip:hover,
body .filter-chip.is-active {
    color: #170f00;
    border-color: #f4c851;
    background: linear-gradient(180deg, #ffe078 0%, #eeb629 55%, #c88a0a 100%);
    box-shadow: inset 0 1px rgba(255,255,255,.62), inset 0 -1px rgba(88,52,0,.22), 0 7px 18px rgba(238,182,41,.2);
    transform: translateY(-1px);
}

body .load-more-button {
    min-width: 190px;
    padding: 11px 24px 11px 52px;
    color: #1a1100;
    border: 1px solid #ffd45c;
    border-bottom-color: #9b6500;
    border-radius: 10px;
    background: linear-gradient(180deg, #ffe379 0%, #efba2f 54%, #c8890a 100%);
    box-shadow: inset 0 1px rgba(255,255,255,.62), inset 0 -2px rgba(83,48,0,.18), 0 9px 24px rgba(238,185,47,.2);
}

body .back-to-top {
    color: #fff;
    border: 1px solid rgba(255,215,105,.85);
    background: linear-gradient(145deg, #ef3e4c 0%, #bc1d2a 55%, #77101a 100%);
    box-shadow: inset 0 1px rgba(255,255,255,.25), 0 0 0 3px rgba(13,17,22,.88), 0 10px 28px rgba(190,29,42,.32);
}

body .sticky-action--login { background: linear-gradient(180deg, #f25762 0%, #c5202c 55%, #8e131d 100%); }
body .sticky-action--register { color: #071419; background: linear-gradient(180deg, #8fe7fa 0%, #47b5d1 58%, #25839e 100%); }
body .sticky-search button,
body .search-form button { border-color: #f2c64c; background: linear-gradient(180deg, #ffdb68 0%, #e7a916 100%); box-shadow: inset 0 1px rgba(255,255,255,.55), 0 5px 14px rgba(231,169,22,.2); }

@media (max-width: 600px) {
    body .filter-chip { min-height: 38px; padding-inline: 12px; }
    body .load-more-button { width: min(100%, 250px); min-height: 46px; }
    body .back-to-top { width: 43px; height: 43px; }
}

/* Low-RTP state: replaces jam/pattern content, so unrecommended cards never expose a pattern. */
.card-content .jam--blocked {
    min-height: 136px;
    justify-content: stretch;
}

.rtp-warning {
    position: relative;
    width: 100%;
    min-height: 136px;
    flex: 1 1 auto;
    padding: 13px 8px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: #fff;
    text-align: center;
    border: 1px solid rgba(255, 104, 112, .68);
    border-bottom-color: #700d16;
    border-radius: 9px;
    background:
        linear-gradient(135deg, rgba(255,255,255,.08) 25%, transparent 25%, transparent 50%, rgba(255,255,255,.05) 50%, rgba(255,255,255,.05) 75%, transparent 75%),
        linear-gradient(180deg, #bd202d 0%, #85131d 58%, #540a11 100%);
    background-size: 18px 18px, auto;
    box-shadow: inset 0 1px rgba(255,255,255,.18), inset 0 -2px rgba(34,0,3,.28), 0 7px 18px rgba(130,16,26,.24);
}

.rtp-warning::after {
    content: '';
    position: absolute;
    right: -24px;
    bottom: -34px;
    width: 92px;
    height: 92px;
    border: 12px solid rgba(255,193,63,.08);
    border-radius: 50%;
}

.rtp-warning__mark {
    width: 39px;
    height: 39px;
    margin: 0 0 10px;
    display: grid;
    place-items: center;
    color: #5b080f;
    border: 2px solid #ffe071;
    border-radius: 50%;
    background: linear-gradient(180deg, #ffe985, #dda318);
    font-size: 24px;
    font-weight: 950;
    line-height: 1;
    box-shadow: inset 0 1px rgba(255,255,255,.62), 0 6px 14px rgba(31,0,3,.3);
}

.rtp-warning strong {
    position: relative;
    z-index: 1;
    font-size: .82rem;
    line-height: 1.05;
    letter-spacing: .055em;
    text-shadow: 0 2px 5px rgba(40,0,3,.55);
}

.rtp-warning > span:last-child {
    position: relative;
    z-index: 1;
    margin-top: 5px;
    color: #ffe071;
    font-size: .68rem;
    font-weight: 900;
    letter-spacing: .035em;
}

@media (max-width: 600px) {
    .card-content .jam--blocked,
    .rtp-warning { min-height: 121px; }
    .rtp-warning { padding-inline: 5px; }
    .rtp-warning__mark { width: 34px; height: 34px; margin-bottom: 8px; font-size: 21px; }
    .rtp-warning strong { font-size: .7rem; }
    .rtp-warning > span:last-child { font-size: .58rem; }
}

/* Replace the legacy float layout with a stable card grid to prevent blank columns. */
.game-section,
#game-container[data-mode="search"] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: stretch;
}

.game-section::after,
#game-container::after { display: none; }

.game-section > .wrapper,
#game-container[data-mode="search"] > .wrapper {
    width: auto;
    min-width: 0;
    height: 100%;
}

.game-section > .wrapper > .card,
#game-container[data-mode="search"] > .wrapper > .card {
    float: none;
    width: 100% !important;
    height: 100%;
}

#game-container[data-mode="search"] > .empty-state,
#game-container[data-mode="search"] > #load-sentinel { grid-column: 1 / -1; }

@media (max-width: 768px) {
    .game-section,
    #game-container[data-mode="search"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Floating quick navigation: fixed positioning prevents layout shift. */
.floating-menu {
    position: fixed;
    z-index: 1050;
    left: max(14px, calc((100vw - 1240px) / 2));
    top: auto;
    bottom: max(22px, env(safe-area-inset-bottom));
    color: var(--pw-text);
    transform: none;
}

.floating-menu__toggle {
    position: relative;
    z-index: 2;
    width: 54px;
    min-height: 62px;
    padding: 10px 7px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    overflow: hidden;
    color: #fff7e6;
    cursor: pointer;
    border: 1px solid rgba(255, 218, 111, .82);
    border-radius: 16px;
    background: linear-gradient(150deg, #ee4753 0%, #b71925 56%, #6f0b13 100%);
    box-shadow:
        inset 0 1px rgba(255,255,255,.28),
        0 0 0 4px rgba(8,9,11,.86),
        0 12px 30px rgba(151,17,29,.36);
    -webkit-tap-highlight-color: transparent;
    transition: transform .22s ease, filter .22s ease, box-shadow .22s ease;
}

.floating-menu__toggle::after {
    content: '';
    position: absolute;
    inset: -40% -70%;
    z-index: -1;
    opacity: 0;
    background: linear-gradient(115deg, transparent 38%, rgba(255,255,255,.34) 49%, transparent 60%);
    transform: translateX(-35%);
    transition: opacity .2s ease, transform .42s ease;
}

.floating-menu__toggle:hover {
    filter: brightness(1.08) saturate(1.04);
    box-shadow:
        inset 0 1px rgba(255,255,255,.32),
        0 0 0 4px rgba(8,9,11,.9),
        0 15px 34px rgba(188,25,39,.45);
    transform: translateX(2px);
}

.floating-menu__toggle:hover::after { opacity: 1; transform: translateX(32%); }
.floating-menu__toggle:active { transform: scale(.96); }

.floating-menu__bars {
    width: 23px;
    height: 17px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.floating-menu__bars i {
    width: 100%;
    height: 2px;
    display: block;
    border-radius: 99px;
    background: #ffe06e;
    box-shadow: 0 1px 2px rgba(40,0,4,.5);
    transform-origin: center;
    transition: transform .24s ease, opacity .18s ease, width .2s ease;
}

.floating-menu__bars i:nth-child(2) { width: 72%; align-self: flex-end; }
.floating-menu.is-open .floating-menu__bars i:first-child { transform: translateY(7.5px) rotate(45deg); }
.floating-menu.is-open .floating-menu__bars i:nth-child(2) { width: 0; opacity: 0; }
.floating-menu.is-open .floating-menu__bars i:last-child { transform: translateY(-7.5px) rotate(-45deg); }

.floating-menu__toggle-text {
    font-size: 9px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.floating-menu__panel {
    position: absolute;
    left: calc(100% + 14px);
    top: auto;
    bottom: 0;
    width: 268px;
    padding: 10px;
    overflow: hidden;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    border: 1px solid rgba(255, 218, 111, .28);
    border-radius: 17px;
    background:
        radial-gradient(circle at 100% 0, rgba(255,191,36,.11), transparent 38%),
        linear-gradient(155deg, rgba(31,34,40,.985), rgba(10,12,15,.985));
    box-shadow: inset 0 1px rgba(255,255,255,.07), 0 20px 50px rgba(0,0,0,.52);
    transform: translateX(-14px) scale(.97);
    transform-origin: left bottom;
    transition: opacity .18s ease, transform .24s cubic-bezier(.2,.8,.2,1), visibility 0s linear .24s;
}

.floating-menu.is-open .floating-menu__panel {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0) scale(1);
    transition-delay: 0s;
}

.floating-menu__heading {
    margin: 0 2px 8px;
    padding: 5px 7px 10px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    border-bottom: 1px solid rgba(255,255,255,.09);
}

.floating-menu__heading span {
    color: var(--pw-gold);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .13em;
}

.floating-menu__heading small { color: var(--pw-muted); font-size: 10px; }
.floating-menu__links { display: grid; gap: 5px; }

.floating-menu__link {
    min-width: 0;
    min-height: 43px;
    padding: 9px 11px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #e8ebef;
    cursor: pointer;
    text-align: left;
    text-decoration: none;
    font: inherit;
    font-size: 11px;
    font-weight: 800;
    border: 1px solid transparent;
    border-radius: 10px;
    background: transparent;
    transition: color .16s ease, border-color .16s ease, background-color .16s ease, transform .16s ease;
}

.floating-menu__link svg {
    width: 19px;
    height: 19px;
    flex: 0 0 19px;
    fill: none;
    stroke: #f0bd38;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.floating-menu__link:hover,
.floating-menu__link.is-active {
    color: #fff;
    border-color: rgba(255,207,75,.2);
    background: linear-gradient(90deg, rgba(185,25,38,.42), rgba(255,191,36,.07));
    transform: translateX(2px);
}

.floating-menu__link.is-active {
    box-shadow: inset 3px 0 #ef4050;
}

.floating-menu__link.is-active svg { stroke: #ffe276; }

.floating-menu__link--main {
    border-color: rgba(239,64,80,.38);
    background: linear-gradient(90deg, rgba(185,25,38,.46), rgba(255,191,36,.08));
    box-shadow: inset 3px 0 #ef4050;
}

.floating-menu__link--whatsapp svg { stroke: #50d890; }
.floating-menu__link--whatsapp:hover {
    border-color: rgba(80,216,144,.28);
    background: linear-gradient(90deg, rgba(23,132,78,.35), rgba(80,216,144,.06));
}

.floating-menu__link--wheel {
    border-color: rgba(255,202,54,.25);
    background: linear-gradient(90deg, rgba(126,72,5,.38), rgba(35,180,212,.06));
}
.floating-menu__link--wheel svg { stroke: #ffd45d; }
.floating-menu__link--wheel:hover {
    border-color: rgba(255,215,94,.42);
    background: linear-gradient(90deg, rgba(151,87,5,.48), rgba(44,188,220,.1));
}

.floating-menu__link.is-disabled {
    opacity: .48;
    cursor: not-allowed;
    filter: grayscale(.35);
}

.floating-menu__link.is-disabled:hover {
    color: #e8ebef;
    border-color: transparent;
    background: transparent;
    transform: none;
}

.floating-menu__toggle:focus-visible,
.floating-menu__link:focus-visible {
    outline: 3px solid rgba(100,214,241,.88);
    outline-offset: 3px;
}

@media (max-width: 768px) {
    .floating-menu {
        left: max(12px, env(safe-area-inset-left));
        top: auto;
        bottom: calc(76px + env(safe-area-inset-bottom));
        transform: none;
    }

    .floating-menu__toggle {
        width: 48px;
        min-height: 48px;
        padding: 0;
        border-radius: 14px;
    }

    .floating-menu__toggle-text { display: none; }

    .floating-menu__panel {
        left: 0;
        top: auto;
        bottom: calc(100% + 13px);
        width: min(320px, calc(100vw - 24px));
        max-height: min(430px, calc(100svh - 150px));
        overflow-y: auto;
        transform: translateY(12px) scale(.97);
        transform-origin: left bottom;
    }

    .floating-menu.is-open .floating-menu__panel { transform: translateY(0) scale(1); }
    .floating-menu__links { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
    .floating-menu__link { min-height: 48px; padding: 9px; gap: 8px; font-size: 10px; }
    .floating-menu__link:hover,
    .floating-menu__link.is-active { transform: none; }
}

@media (max-width: 370px) {
    .floating-menu { left: max(10px, env(safe-area-inset-left)); bottom: calc(70px + env(safe-area-inset-bottom)); }
    .floating-menu__panel { width: calc(100vw - 20px); }
}

@media (max-height: 620px) and (min-width: 769px) {
    .floating-menu { top: auto; bottom: 18px; transform: none; }
    .floating-menu__panel { top: auto; bottom: 0; transform: translateX(-14px) scale(.97); transform-origin: left bottom; }
    .floating-menu.is-open .floating-menu__panel { transform: translateX(0) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
    .floating-menu__toggle,
    .floating-menu__toggle::after,
    .floating-menu__bars i,
    .floating-menu__panel,
    .floating-menu__link { transition: none !important; }
}

/* Compact floating header: keeps search and actions visually aligned. */
.sticky-toolbar { padding-block: 6px; }

.sticky-toolbar__inner { min-height: 38px; }

.sticky-search {
    height: 38px;
    align-items: stretch;
}

.sticky-search input,
.sticky-search button {
    height: 38px;
    min-height: 38px;
    line-height: 1.1;
}

.sticky-search input {
    padding: 6px 10px;
    font-size: 13px;
}

.sticky-search button {
    padding: 6px 12px;
    font-size: 11px;
}

.sticky-action {
    min-height: 38px;
    padding: 6px 12px;
    display: grid;
    place-items: center;
    font-size: 11px;
    line-height: 1.1;
}

@media (max-width: 768px) {
    .sticky-toolbar { padding: 5px 10px; }
    .sticky-toolbar__inner { min-height: 40px; }
    .sticky-search { height: 40px; }

    .sticky-search input,
    .sticky-search button {
        height: 40px;
        min-height: 40px;
    }

    .sticky-search input { padding: 6px 9px; font-size: 12px; }
    .sticky-search button { width: 36px; padding: 0; font-size: 0; }
    .sticky-search button::after { font-size: 18px; }
    .sticky-action { min-height: 36px; padding: 6px 8px; font-size: 10px; }
}

@media (max-width: 370px) {
    .sticky-toolbar { padding-inline: 8px; }
    .sticky-toolbar__inner { gap: 5px; }
    .sticky-action { padding-inline: 6px; font-size: 9px; }
}

/* Pondokwin game tiles: retain the original lobby structure with a richer gaming finish. */
.game-card .card-content {
    --pw-game-signal-height: 158px;
    height: 100%;
    isolation: isolate;
    border-color: rgba(255, 206, 84, .2);
    background:
        radial-gradient(circle at 50% 0, rgba(255, 191, 36, .075), transparent 30%),
        linear-gradient(180deg, #24272c 0%, #1c1f24 58%, #15171b 100%);
    box-shadow:
        inset 0 1px rgba(255,255,255,.08),
        inset 0 -1px rgba(0,0,0,.5),
        0 8px 22px rgba(0,0,0,.3);
}

.game-card .card-content::before {
    content: '';
    position: absolute;
    z-index: 11;
    top: 0;
    left: 12px;
    right: 12px;
    height: 2px;
    pointer-events: none;
    background: linear-gradient(90deg, transparent, var(--pw-red) 22%, #ffd868 50%, var(--pw-red) 78%, transparent);
    box-shadow: 0 1px 9px rgba(255,191,36,.25);
}

.game-card .card-content::after {
    content: '';
    position: absolute;
    z-index: 11;
    inset: 1px;
    pointer-events: none;
    border-radius: calc(var(--pw-radius) - 1px);
    background:
        linear-gradient(135deg, rgba(255,216,104,.17) 0 1px, transparent 1px) top left / 28px 28px no-repeat,
        linear-gradient(315deg, rgba(239,77,77,.18) 0 1px, transparent 1px) bottom right / 34px 34px no-repeat;
}

.game-card .card-content .img-zoom {
    display: block;
    border-bottom: 1px solid rgba(255, 199, 52, .28);
    background: #111318;
    filter: saturate(1.04) contrast(1.02);
}

.game-card .game-name {
    position: relative;
    min-height: 24px;
    color: #fffdf7;
    font-weight: 750;
    letter-spacing: -.015em;
    text-shadow: 0 2px 7px rgba(0,0,0,.65);
}

.game-card .game-name::after {
    content: '';
    display: block;
    width: 30px;
    height: 1px;
    margin: 5px auto 0;
    background: linear-gradient(90deg, transparent, rgba(255,191,36,.82), transparent);
}

.game-card .game-provider {
    color: #9fa6b2;
    font-weight: 600;
    letter-spacing: .015em;
}

.game-card .game-provider::before {
    content: '◆';
    margin-right: 4px;
    color: rgba(255,191,36,.78);
    font-size: 6px;
    vertical-align: 1px;
}

.game-card .card-content .jam {
    min-height: var(--pw-game-signal-height);
    padding: 1px 7px 6px;
}

.game-card .card-content .jamgacor {
    min-height: 45px;
    margin: 1px 0 4px;
    padding: 5px 4px 3px;
    border-top: 1px solid rgba(255,191,36,.12);
    border-bottom: 1px solid rgba(255,191,36,.12);
    background: linear-gradient(90deg, transparent, rgba(255,191,36,.035), transparent);
}

.game-card .card-content .jamgacorjdl {
    color: #f3f3f4;
    letter-spacing: .025em;
}

.game-card .card-content .jamgacorRange {
    color: #fff;
    font-weight: 800;
    text-shadow: 0 1px 8px rgba(255,191,36,.18);
}

.game-card .card-content .pola {
    min-height: 91px;
    margin: 0;
    padding: 4px 4px 5px;
    border: 1px solid rgba(255,255,255,.055);
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(255,255,255,.026), rgba(0,0,0,.08));
    box-shadow: inset 0 1px rgba(255,255,255,.025);
}

.game-card .card-content .pola h5,
.game-card .card-content .pola h6 {
    color: #ffd86b;
    letter-spacing: .03em;
}

.game-card .card-content .pola-row {
    color: #f0f1f3;
}

.pola-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 3px 0;
    color: #c9cbd0;
    font-size: 10px;
    line-height: 1.4;
    text-align: center;
}

.pola-empty .pola-empty__report {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 26px;
    padding: 3px 12px;
    border: 1px solid rgba(255, 201, 40, .4);
    border-radius: 6px;
    background: #2a181b;
    color: #ffd86b;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.4;
    text-decoration: none;
}

.pola-empty .pola-empty__report:hover {
    background: #3c1d23;
    border-color: #ffd86b;
}

.pola-empty .pola-empty__report:focus-visible {
    outline: 2px solid #ffd86b;
    outline-offset: 2px;
}

.game-card .percent {
    height: 29px;
    align-items: center;
    border-top: 1px solid rgba(255,255,255,.2);
    background-color: #e7ebf0;
    box-shadow: inset 0 2px 5px rgba(17,20,24,.12);
}

.game-card .percent::before {
    content: 'Return To Player / RTP';
    position: absolute;
    z-index: 15;
    top: 50%;
    left: 8px;
    right: 48px;
    color: #0c0f12;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .01em;
    line-height: 1.15;
    white-space: normal;
    -webkit-text-stroke: .15px currentColor;
    transform: translateY(-50%);
}

.game-card .percent p {
    top: 50%;
    right: 8px;
    width: auto;
    margin: 0;
    color: #090b0d;
    font-size: 13px;
    line-height: 1;
    text-shadow: 0 1px rgba(255,255,255,.38);
    transform: translateY(-50%);
}

.game-card .percent-bar {
    height: 100%;
    box-shadow: inset 0 1px rgba(255,255,255,.28), inset 0 -1px rgba(0,0,0,.12);
}

.game-card .game-card-actions {
    inset: 0 0 auto;
    aspect-ratio: 1 / 1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-content: center;
    gap: 8px;
    padding: 0 10%;
    background: radial-gradient(circle, rgba(9,10,12,.2) 0%, rgba(9,10,12,.73) 72%);
    transition: opacity .22s ease;
}

.game-card .game-card-action {
    min-width: 0;
    min-height: 38px;
    padding: 9px 10px;
    display: grid;
    place-items: center;
    appearance: none;
    color: #fff;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid rgba(255,225,137,.65);
    border-radius: 999px;
    font: inherit;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .09em;
    line-height: 1;
    transition: transform .16s ease, border-color .16s ease, filter .16s ease, box-shadow .16s ease;
}

.game-card .game-card-action--main {
    background: linear-gradient(180deg, #f25860 0%, #be1d29 60%, #801019 100%);
    box-shadow: inset 0 1px rgba(255,255,255,.3), 0 10px 25px rgba(0,0,0,.45), 0 0 18px rgba(209,35,47,.25);
}

.game-card .game-card-action--demo {
    color: #ffe081;
    border-color: rgba(255,205,68,.72);
    background: linear-gradient(180deg, rgba(49,51,56,.96), rgba(19,21,25,.98));
    box-shadow: inset 0 1px rgba(255,255,255,.11), 0 10px 22px rgba(0,0,0,.4);
}

.game-card .game-card-action--demo.is-unavailable {
    color: #c9ad62;
    border-style: dashed;
    filter: saturate(.72);
}

.game-card .game-card-actions:focus-within {
    opacity: 1;
    outline: 3px solid rgba(88,197,227,.9);
    outline-offset: -4px;
}

.game-card .game-card-action:focus-visible {
    outline: 2px solid #74d8f0;
    outline-offset: 2px;
}

@media (hover: hover) and (pointer: fine) {
    .game-card .card-content:hover {
        border-color: rgba(255,204,75,.62);
        box-shadow:
            inset 0 1px rgba(255,255,255,.1),
            0 15px 34px rgba(0,0,0,.46),
            0 0 0 1px rgba(239,77,77,.15),
            0 0 22px rgba(255,191,36,.07);
    }

    .game-card .game-card-action:hover {
        transform: translateY(-1px);
        border-color: #ffe18a;
        filter: brightness(1.08);
    }
}

@media (max-width: 768px) {
    .game-card .card-content { --pw-game-signal-height: 149px; }
    .game-card .card-content::before { left: 9px; right: 9px; }
    .game-card .card-content::after { border-radius: 9px; }
    .game-card .game-name { min-height: 21px; margin-top: 6px; }
    .game-card .game-name::after { width: 22px; margin-top: 4px; }
    .game-card .game-provider::before { margin-right: 3px; }
    .game-card .card-content .jam { padding: 0 4px 5px; }
    .game-card .card-content .jamgacor { min-height: 41px; padding-inline: 2px; }
    .game-card .card-content .pola { min-height: 84px; padding-inline: 2px; }
    .game-card .game-card-actions {
        position: static;
        order: 5;
        width: auto;
        aspect-ratio: auto;
        gap: 5px;
        padding: 6px;
        opacity: 1;
        border-top: 1px solid rgba(255,191,36,.12);
        background: linear-gradient(180deg, rgba(255,255,255,.018), rgba(0,0,0,.08));
    }
    .game-card .game-card-action { min-height: 29px; padding: 6px 5px; font-size: 8px; }
    .game-card .percent { order: 6; }
    .game-card .percent::before { left: 6px; font-size: 8px; }
    .game-card .percent p { right: 6px; font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
    .game-card .game-card-actions,
    .game-card .game-card-action { transition: none !important; }
}

.demo-notice {
    position: fixed;
    z-index: 1400;
    left: 50%;
    bottom: 24px;
    width: min(440px, calc(100vw - 28px));
    min-height: 70px;
    padding: 11px 12px;
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    color: #f7f7f8;
    pointer-events: none;
    opacity: 0;
    border: 1px solid rgba(255,199,52,.45);
    border-left: 3px solid var(--pw-red);
    border-radius: 13px;
    background:
        radial-gradient(circle at 0 0, rgba(239,77,77,.14), transparent 45%),
        linear-gradient(180deg, rgba(34,37,43,.98), rgba(15,17,21,.99));
    box-shadow: inset 0 1px rgba(255,255,255,.07), 0 18px 45px rgba(0,0,0,.52);
    transform: translate(-50%, 14px);
    transition: opacity .2s ease, transform .2s ease;
}

.demo-notice.is-visible {
    pointer-events: auto;
    opacity: 1;
    transform: translate(-50%, 0);
}

.demo-notice__mark {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    color: #211600;
    font-size: 19px;
    font-weight: 950;
    border: 1px solid #ffe28a;
    border-radius: 50%;
    background: linear-gradient(180deg, #ffe078, #d99b13);
    box-shadow: 0 6px 15px rgba(0,0,0,.3);
}

.demo-notice__copy { min-width: 0; display: grid; gap: 2px; }
.demo-notice__copy strong { color: #fff; font-size: 12px; }
.demo-notice__copy span { color: #aeb3bd; font-size: 10px; line-height: 1.35; }
.demo-notice__actions { display: flex; align-items: center; gap: 6px; }

.demo-notice__support,
.demo-notice__close {
    min-height: 34px;
    display: grid;
    place-items: center;
    border-radius: 8px;
}

.demo-notice__support {
    padding: 7px 10px;
    color: #072214;
    font-size: 9px;
    font-weight: 900;
    text-decoration: none;
    border: 1px solid #72dfa3;
    background: linear-gradient(180deg, #65df9c, #28a967);
}

.demo-notice__close {
    width: 34px;
    padding: 0;
    color: #cdd1d8;
    cursor: pointer;
    border: 1px solid rgba(255,255,255,.13);
    background: rgba(255,255,255,.055);
    font-size: 20px;
}

.demo-notice__support:focus-visible,
.demo-notice__close:focus-visible { outline: 2px solid #74d8f0; outline-offset: 2px; }

@media (max-width: 600px) {
    .demo-notice {
        bottom: calc(84px + env(safe-area-inset-bottom));
        grid-template-columns: 34px minmax(0, 1fr) auto;
        gap: 8px;
        padding: 10px;
    }
    .demo-notice__mark { width: 34px; height: 34px; font-size: 17px; }
    .demo-notice__actions { justify-content: flex-end; }
    .demo-notice__actions:has(.demo-notice__support) { grid-column: 1 / -1; justify-content: stretch; }
    .demo-notice__actions:has(.demo-notice__support) .demo-notice__support { flex: 1 1 auto; }
    .demo-notice__close { flex: 0 0 34px; }
}

@media (prefers-reduced-motion: reduce) {
    .demo-notice { transition: none !important; }
}

/* Compact branded lobby: brings game cards into the first viewport. */
.lobby-masthead {
    position: relative;
    min-height: 76px;
    margin: 0 5px 9px;
    padding: 9px 12px;
    display: grid;
    grid-template-columns: minmax(230px, 320px) minmax(0, 1fr);
    align-items: center;
    gap: clamp(18px, 4vw, 52px);
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 191, 36, .18);
    background:
        radial-gradient(circle at 16% 45%, rgba(255, 191, 36, .08), transparent 14rem),
        linear-gradient(90deg, rgba(239, 77, 77, .025), transparent 38%, rgba(88, 197, 227, .025));
}

.lobby-masthead::after {
    content: '';
    position: absolute;
    inset: auto 8% -1px;
    height: 1px;
    pointer-events: none;
    background: linear-gradient(90deg, transparent, rgba(239, 77, 77, .48), rgba(255, 191, 36, .55), transparent);
}

.lobby-masthead .title {
    position: relative;
    z-index: 1;
    justify-content: flex-start;
    margin: 0;
    padding: 0;
}

.lobby-masthead .brand-logo {
    width: min(100%, 252px);
    height: auto;
}

.lobby-masthead .link-container {
    position: relative;
    z-index: 1;
    width: auto;
    justify-content: flex-end;
    gap: 10px;
}

.lobby-masthead .link-container a {
    flex: 0 1 210px;
    min-height: 42px;
    padding: 8px 14px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 10px;
}

.announcement {
    min-height: 34px;
    padding-block: 4px;
    font-size: 12px;
}

.announcement-icon {
    flex-basis: 26px;
    width: 26px;
    height: 24px;
    line-height: 24px;
}

.mobile-search-trigger {
    display: none;
}

.mobile-search-trigger svg,
.mobile-search-dialog__mark svg,
.mobile-search-dialog__close svg,
.mobile-search-form__field > svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

body.mobile-search-open {
    overflow: hidden;
}

.mobile-search-overlay {
    position: fixed;
    inset: 0;
    z-index: 1800;
    padding: max(68px, env(safe-area-inset-top)) 12px 24px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    background:
        radial-gradient(circle at 50% 8%, rgba(239, 77, 77, .2), transparent 20rem),
        rgba(3, 4, 6, .78);
    backdrop-filter: blur(12px) saturate(.78);
    transition: opacity .2s ease, visibility .2s ease;
}

.mobile-search-overlay.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.mobile-search-dialog {
    position: relative;
    width: min(100%, 560px);
    margin-inline: auto;
    overflow: hidden;
    color: var(--pw-text);
    border: 1px solid rgba(255, 191, 36, .28);
    border-top: 2px solid var(--pw-gold);
    border-radius: 16px;
    background:
        linear-gradient(135deg, rgba(239, 77, 77, .08), transparent 34%),
        linear-gradient(180deg, #24272d, #131519);
    box-shadow: 0 28px 80px rgba(0, 0, 0, .62), inset 0 1px rgba(255, 255, 255, .07);
    transform: translateY(-14px) scale(.985);
    transition: transform .22s cubic-bezier(.2, .75, .25, 1);
}

.mobile-search-overlay.is-visible .mobile-search-dialog {
    transform: translateY(0) scale(1);
}

.mobile-search-dialog::after {
    content: '';
    position: absolute;
    inset: 0 12% auto;
    height: 1px;
    pointer-events: none;
    background: linear-gradient(90deg, transparent, rgba(255, 218, 104, .9), transparent);
}

.mobile-search-dialog__head {
    min-height: 68px;
    padding: 13px 14px;
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) 38px;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.mobile-search-dialog__mark {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    color: #1e1500;
    border-radius: 11px;
    background: linear-gradient(145deg, #ffe078, #e8a813);
    box-shadow: inset 0 1px rgba(255, 255, 255, .7), 0 7px 18px rgba(232, 168, 19, .2);
}

.mobile-search-dialog__mark svg {
    width: 20px;
    height: 20px;
}

.mobile-search-dialog__eyebrow {
    display: block;
    margin-bottom: 1px;
    color: var(--pw-gold);
    font-size: 8px;
    font-weight: 900;
    letter-spacing: .13em;
}

.mobile-search-dialog h2 {
    margin: 0;
    color: #fff;
    font-size: 17px;
    line-height: 1.2;
}

.mobile-search-dialog__close {
    width: 38px;
    height: 38px;
    padding: 0;
    display: grid;
    place-items: center;
    color: #d9dce2;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 10px;
    background: rgba(255, 255, 255, .045);
    transition: color .16s ease, border-color .16s ease, background .16s ease, transform .16s ease;
}

.mobile-search-dialog__close:hover {
    color: #fff;
    border-color: rgba(239, 77, 77, .55);
    background: rgba(239, 77, 77, .16);
    transform: rotate(4deg);
}

.mobile-search-dialog__close svg {
    width: 19px;
    height: 19px;
}

.mobile-search-form {
    padding: 15px 14px 13px;
}

.mobile-search-form__field {
    min-height: 48px;
    padding-left: 13px;
    display: grid;
    grid-template-columns: 21px minmax(0, 1fr) auto;
    align-items: center;
    gap: 9px;
    border: 1px solid rgba(88, 197, 227, .28);
    border-radius: 12px;
    background: #0d0f12;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, .34), 0 0 0 3px transparent;
    transition: border-color .16s ease, box-shadow .16s ease;
}

.mobile-search-form__field:focus-within {
    border-color: rgba(88, 197, 227, .75);
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, .34), 0 0 0 3px rgba(88, 197, 227, .12);
}

.mobile-search-form__field > svg {
    width: 20px;
    height: 20px;
    color: var(--pw-cyan);
}

.mobile-search-form input {
    min-width: 0;
    height: 46px;
    padding: 0;
    color: #fff;
    font-size: 14px;
    border: 0;
    outline: 0;
    background: transparent;
}

.mobile-search-form input::placeholder {
    color: #7f858f;
}

.mobile-search-form button {
    align-self: stretch;
    min-width: 68px;
    padding: 0 14px;
    color: #1b1300;
    cursor: pointer;
    border: 0;
    border-radius: 0 10px 10px 0;
    background: linear-gradient(180deg, #ffda68, #e5a514);
    box-shadow: inset 0 1px rgba(255, 255, 255, .55);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .05em;
}

.mobile-search-form__foot {
    min-height: 24px;
    padding: 8px 2px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: #8f949e;
    font-size: 10px;
}

.mobile-search-form__foot a {
    color: var(--pw-cyan);
    font-weight: 700;
}

.mobile-search-trigger:focus-visible,
.mobile-search-dialog__close:focus-visible,
.mobile-search-form button:focus-visible {
    outline: 3px solid rgba(88, 197, 227, .8);
    outline-offset: 3px;
}

@media (max-width: 992px) {
    .lobby-masthead {
        grid-template-columns: minmax(200px, 270px) minmax(0, 1fr);
        gap: 16px;
    }

    .slot .slot-sidebar {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) 44px;
        align-items: center;
        gap: 8px;
        margin: 5px 4px 7px !important;
        padding: 0 !important;
    }

    .slot-sidebar > .search-form,
    .provider-select-wrap {
        display: none;
    }

    .provider-rail-wrap {
        display: block;
        min-width: 0;
        overflow: hidden;
    }

    .slot-sidebar-nav {
        height: 60px !important;
        gap: 6px !important;
        margin: 0 !important;
        padding: 3px 5px 4px 1px !important;
        border-bottom-color: rgba(255, 255, 255, .1) !important;
    }

    .slot-sidebar-nav li a {
        width: 52px;
        height: 52px !important;
        padding: 4px !important;
        border: 1px solid transparent;
        border-radius: 12px;
    }

    .slot-sidebar-nav li img {
        width: 43px !important;
        height: 43px !important;
    }

    .mobile-search-trigger {
        position: relative;
        width: 44px;
        height: 44px;
        padding: 0;
        display: grid;
        place-items: center;
        align-self: center;
        color: #1b1300;
        cursor: pointer;
        border: 1px solid #f3c84e;
        border-radius: 12px;
        background: linear-gradient(145deg, #ffdf70, #e5a514);
        box-shadow: inset 0 1px rgba(255, 255, 255, .65), 0 7px 18px rgba(229, 165, 20, .2);
        transition: transform .16s ease, filter .16s ease, box-shadow .16s ease;
    }

    .mobile-search-trigger:hover,
    .mobile-search-trigger:active {
        filter: brightness(1.06);
        transform: translateY(-1px);
        box-shadow: inset 0 1px rgba(255, 255, 255, .7), 0 9px 22px rgba(229, 165, 20, .25);
    }

    .mobile-search-trigger svg {
        width: 22px;
        height: 22px;
    }

    .mobile-search-trigger.has-query::after {
        content: '';
        position: absolute;
        top: 5px;
        right: 5px;
        width: 7px;
        height: 7px;
        border: 1px solid #201400;
        border-radius: 50%;
        background: var(--pw-red);
        box-shadow: 0 0 0 2px var(--pw-gold);
    }
}

@media (max-width: 768px) {
    .lobby-masthead {
        min-height: 62px;
        margin: 0 0 6px;
        padding: 7px 1px;
        grid-template-columns: minmax(132px, 1.1fr) minmax(0, 1fr);
        gap: 8px;
    }

    .lobby-masthead .brand-logo {
        width: min(100%, 178px);
    }

    .lobby-masthead .link-container {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 6px;
    }

    .lobby-masthead .link-container a {
        width: auto;
        min-height: 40px;
        padding: 6px 3px;
        font-size: 10px;
        border-radius: 9px;
    }

    .announcement {
        min-height: 32px;
        margin-bottom: 4px;
        padding: 3px 6px;
        font-size: 11px;
    }

    .announcement-icon {
        flex-basis: 24px;
        width: 24px;
        font-size: 12px;
    }

    .slot .slot-sidebar {
        grid-template-columns: minmax(0, 1fr) 42px;
        gap: 6px;
        margin: 0 4px 7px !important;
    }

    .slot-sidebar-nav {
        height: 56px !important;
        gap: 5px !important;
    }

    .slot-sidebar-nav li a {
        width: 48px;
        height: 48px !important;
        border-radius: 11px;
    }

    .slot-sidebar-nav li img {
        width: 40px !important;
        height: 40px !important;
    }

    .mobile-search-trigger {
        width: 42px;
        height: 42px;
        border-radius: 11px;
    }

    .filter-bar {
        gap: 6px;
        margin-top: 0;
        margin-bottom: 7px;
        padding: 0 0 3px;
    }

    body .filter-chip {
        min-height: 34px;
        padding: 6px 10px;
        font-size: 11px;
    }

    .category-title {
        min-height: 52px;
        margin-top: 8px;
        margin-bottom: 7px;
        padding: 7px 8px 7px 7px;
        gap: 8px;
        border-radius: 9px;
    }

    .category-title__icon {
        width: 30px;
        height: 30px;
        flex-basis: 30px;
        border-radius: 8px;
    }

    .category-title__icon svg {
        width: 17px;
        height: 17px;
    }

    .category-title__copy h2 {
        font-size: .88rem;
        letter-spacing: .025em;
    }

    .category-title__copy > span {
        font-size: 8px;
    }

    .category-title__all {
        min-height: 29px;
        padding: 5px 8px;
        font-size: 8px;
    }
}

@media (max-width: 370px) {
    body {
        min-width: 0;
    }

    .lobby-masthead {
        grid-template-columns: minmax(118px, 1fr) minmax(0, 1.08fr);
        gap: 6px;
    }

    .lobby-masthead .brand-logo {
        width: min(100%, 150px);
    }

    .lobby-masthead .link-container a {
        padding-inline: 2px;
        font-size: 9px;
    }

    .slot .slot-sidebar {
        grid-template-columns: minmax(0, 1fr) 40px;
    }

    .mobile-search-trigger {
        width: 40px;
        height: 40px;
    }

    .mobile-search-form {
        padding-inline: 10px;
    }

    .mobile-search-form button {
        min-width: 60px;
        padding-inline: 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mobile-search-overlay,
    .mobile-search-dialog,
    .mobile-search-trigger,
    .mobile-search-dialog__close {
        transition: none !important;
    }
}

/* Compact game navigation, scoped away from other branded controls. */
body .filter-bar--pondok {
    position: relative;
    align-items: center;
    gap: 4px;
    max-width: 100%;
    margin: 0 5px 12px;
    padding: 5px;
    border: 1px solid #d5b46b26;
    border-radius: 13px;
    background: linear-gradient(110deg, #1d1b1c, #121315 70%);
    box-shadow: inset 0 1px 0 #ffffff06;
    scroll-padding-inline: 5px;
    overscroll-behavior-x: contain;
}
body .filter-bar--pondok .filter-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex: 1 0 auto;
    min-height: 44px;
    padding: 10px 15px;
    color: #b8b5b2;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
    letter-spacing: .01em;
    border: 1px solid transparent;
    border-radius: 9px;
    background: transparent;
    box-shadow: none;
    transform: none;
    transition: color .16s ease, background-color .16s ease, border-color .16s ease;
}
body .filter-bar--pondok .filter-chip::before { content: none; }
body .filter-bar--pondok .filter-chip svg { display: block; flex: none; color: #b99b65; }
body .filter-bar--pondok .filter-chip:hover { color: #fff0d2; border-color: #c9a76330; background: #ffffff06; }
body .filter-bar--pondok .filter-chip.is-active {
    color: #fff0d5;
    border-color: #d4ad636b;
    background: linear-gradient(120deg, #8b202b, #5a1822);
    box-shadow: inset 0 1px 0 #ffffff0a;
}
body .filter-bar--pondok .filter-chip.is-active svg { color: #f4cc7d; }
body .filter-bar--pondok .filter-chip:focus-visible { outline: 2px solid #f4cc7d; outline-offset: -3px; }
@media (max-width: 767px) {
    body .filter-bar--pondok { margin-bottom: 8px; padding: 4px; border-radius: 11px; }
    body .filter-bar--pondok .filter-chip { flex: 0 0 auto; padding: 9px 12px; gap: 6px; font-size: 11px; }
    body .filter-bar--pondok .filter-chip svg { width: 16px; height: 16px; }
}
@media (prefers-reduced-motion: reduce) {
    body .filter-bar--pondok .filter-chip { transition: none; }
}

/* Compact captions for the horizontal provider rail; desktop stays unchanged. */
@media (max-width: 992px) {
    .provider-rail-wrap .slot-sidebar-nav {
        height: 75px !important;
    }

    .provider-rail-wrap .slot-sidebar-nav > li > .btn-provider {
        width: 64px;
        height: 67px !important;
        display: flex !important;
        flex-direction: column;
        gap: 3px;
        padding: 2px 1px !important;
        text-decoration: none;
    }

    .provider-rail-wrap .slot-sidebar-nav > li > .btn-provider > img {
        flex: none;
    }

    .provider-rail-wrap .slot-sidebar-nav > li > .btn-provider > span {
        display: block !important;
        position: static;
        transform: none;
        flex: none;
        width: 100%;
        min-width: 0;
        margin: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        color: #c6c7cb;
        font-size: 10px;
        font-weight: 600;
        line-height: 13px;
        letter-spacing: 0;
        text-align: center;
        text-decoration: none;
        text-shadow: none;
    }

    .provider-rail-wrap .slot-sidebar-nav > li > .btn-provider.is-active > span {
        color: #ffd86b;
    }
}

@media (max-width: 768px) {
    .provider-rail-wrap .slot-sidebar-nav { height: 71px !important; }
    .provider-rail-wrap .slot-sidebar-nav > li > .btn-provider { height: 63px !important; }
}

/* Desktop sidebar search: one compact frame aligned with the provider rail. */
@media (min-width: 993px) {
    .slot-sidebar > .search-form {
        top: auto;
        right: auto;
        width: 100%;
        height: 40px;
        gap: 3px;
        margin: 0 0 8px;
        padding: 3px;
        border: 1px solid #d5b46b38;
        border-radius: 11px;
        background: linear-gradient(110deg, #1d1b1c, #121315);
        box-shadow: inset 0 1px 0 #ffffff06;
        transition: border-color .16s ease, box-shadow .16s ease;
    }

    .slot-sidebar > .search-form:focus-within {
        border-color: #d4ad63;
        box-shadow: 0 0 0 2px #d4ad631f;
    }

    .slot-sidebar > .search-form > #search-game {
        flex: 1 1 0;
        width: 0;
        min-width: 0;
        height: 32px;
        min-height: 32px;
        padding: 6px 7px;
        border: 0;
        border-radius: 7px;
        color: #f8f1e5;
        background: transparent;
        box-shadow: none;
        font: inherit;
        font-size: 12px;
        line-height: 18px;
        color-scheme: dark;
    }

    .slot-sidebar > .search-form > #search-game::placeholder { color: #a9a4a0; opacity: 1; }
    .slot-sidebar > .search-form:has(.search-clear) > #search-game { padding-right: 29px; }
    .slot-sidebar > .search-form:has(.search-clear) > #search-game::-webkit-search-cancel-button { display: none; }

    .slot-sidebar > .search-form > button {
        display: grid;
        place-items: center;
        flex: 0 0 32px;
        width: 32px;
        min-width: 32px;
        height: 32px;
        min-height: 32px;
        margin: 0;
        padding: 0;
        border: 1px solid #d4ad636b;
        border-radius: 7px;
        color: #fff0d5;
        background: linear-gradient(120deg, #8b202b, #5a1822);
        box-shadow: inset 0 1px 0 #ffffff0a;
    }

    .slot-sidebar > .search-form > button:hover { border-color: #f4cc7d; filter: brightness(1.1); }
    .slot-sidebar > .search-form > button:focus-visible,
    .slot-sidebar > .search-form > .search-clear:focus-visible { outline: 2px solid #f4cc7d; outline-offset: -2px; }
    .slot-sidebar > .search-form > .search-clear { right: 39px; color: #c4c0bd; border-radius: 5px; }
}

@media (min-width: 993px) and (prefers-reduced-motion: reduce) {
    .slot-sidebar > .search-form { transition: none; }
}

/* Match the floating search to the desktop sidebar without enlarging mobile. */
.sticky-toolbar .sticky-search {
    height: 40px;
    align-items: center;
    gap: 3px;
    margin: 0;
    padding: 3px;
    border: 1px solid #d5b46b38;
    border-radius: 11px;
    background: linear-gradient(110deg, #1d1b1c, #121315);
    box-shadow: inset 0 1px 0 #ffffff06;
    transition: border-color .16s ease, box-shadow .16s ease;
}

.sticky-toolbar .sticky-search:focus-within {
    border-color: #d4ad63;
    box-shadow: 0 0 0 2px #d4ad631f;
}

.sticky-toolbar .sticky-search > input {
    flex: 1 1 0;
    width: 0;
    min-width: 0;
    height: 32px;
    min-height: 32px;
    padding: 6px 7px;
    border: 0;
    border-radius: 7px;
    outline: none;
    color: #f8f1e5;
    background: transparent;
    box-shadow: none;
    font: inherit;
    font-size: 12px;
    line-height: 18px;
    color-scheme: dark;
}

.sticky-toolbar .sticky-search > input::placeholder { color: #a9a4a0; opacity: 1; }

.sticky-toolbar .sticky-search > button {
    display: grid;
    place-items: center;
    flex: 0 0 32px;
    width: 32px;
    min-width: 32px;
    height: 32px;
    min-height: 32px;
    margin: 0;
    padding: 0;
    border: 1px solid #d4ad636b;
    border-radius: 7px;
    color: #fff0d5;
    background: linear-gradient(120deg, #8b202b, #5a1822);
    box-shadow: inset 0 1px 0 #ffffff0a;
    line-height: 1;
}

.sticky-toolbar .sticky-search > button::after { content: none; }
.sticky-toolbar .sticky-search > button:hover { border-color: #f4cc7d; filter: brightness(1.1); }
.sticky-toolbar .sticky-search > button:focus-visible { outline: 2px solid #f4cc7d; outline-offset: -2px; }

@media (prefers-reduced-motion: reduce) {
    .sticky-toolbar .sticky-search { transition: none; }
}
