/* Fix intrinsic flex widths at the component level, without clipping the page. */
.popular-games>div,.home-progressive-jackpot,.home-progressive-jackpot div,.download-apk>div{min-width:0}
.popular-games>[data-section="left"]{flex:0 0 235px;max-width:100%}
.popular-games>[data-section="right"]{flex:1 1 0;max-width:100%}
.scrtabs-tabs-fixed-container{max-width:100%;overflow-x:auto!important;scroll-behavior:smooth}
.scrtabs-tabs-movable-container{left:0!important;width:max-content!important}
.target-tabs{display:flex;width:max-content;flex-wrap:nowrap}
.target-tabs>li{float:none;flex-shrink:0}
.scrtabs-tab-container{max-width:100%;height:auto!important}
.scrtabs-tab-scroll-arrow{cursor:pointer}
.popular-games .scrtabs-tabs-fixed-container{scrollbar-width:none}
.popular-games .scrtabs-tabs-fixed-container::-webkit-scrollbar{display:none}
.popular-games>[data-section="left"]>picture img{display:block;width:100%;height:auto}
@media(min-width:992px){
 .popular-games .popular-game-list{width:65%}
 .popular-games .tab-pane>picture:first-child{position:absolute;right:0;top:0;width:35%;height:100%;overflow:hidden}
 .popular-games .tab-pane>picture:first-child .animated-image{width:100%!important;max-width:100%;height:100%;object-fit:contain;opacity:1;transform:none;animation:none}
}
@media(min-width:768px) and (max-width:991px){
 .popular-games>[data-section="left"]{flex-basis:210px}
 .popular-games .tab-pane>picture:first-child{display:block;height:100px;text-align:center}
 .popular-games .tab-pane>picture:first-child .animated-image{position:static;width:auto!important;height:100%;max-width:100%;opacity:1;animation:none}
}
.menu-slide{min-width:0}
.menu-slide .top-menu{display:flex;flex-wrap:nowrap;overflow-x:auto;scroll-behavior:smooth}
.menu-slide .top-menu>li{flex-shrink:0}
.menu-slide .top-menu>li>a{min-width:78px}
.menu-slide .top-menu>li:focus-within>.game-list{display:block}
.menu-slide .left_trigger,.menu-slide .right_trigger{cursor:pointer}
[role="button"][aria-disabled="true"]{opacity:.4;cursor:default}
.banner-carousel .slick-list,.banner-carousel .slick-track{height:auto!important;width:100%!important;transform:none!important}
.banner-carousel .slick-track>.slick-slide{display:none!important;width:100%!important;float:none!important;min-height:0!important}
.banner-carousel .slick-track>.slick-slide.is-current{display:block!important}
.banner-carousel img{width:100%!important;height:auto!important;max-width:100%}
.banner-carousel{position:relative}
.banner-carousel>.carousel-previous,.banner-carousel>.carousel-next{position:absolute;top:50%;transform:translateY(-50%);z-index:2;background:#10204bcc;color:#ffd700;border:1px solid #ffd70080;width:36px;height:44px;border-radius:4px;font:28px/1 Arial}
.banner-carousel>.carousel-previous{left:10px}.banner-carousel>.carousel-next{right:10px}
.banner-carousel>button:hover,.banner-carousel>button:focus-visible{background:#ffd700;color:#1a2a6c}
.banner-carousel .carousel-indicators{display:flex!important;flex-wrap:wrap;justify-content:center;gap:4px}
.banner-carousel>.carousel-indicators{position:static!important;margin:0!important;width:100%!important;padding:8px;background:#101c46}
.banner-carousel .carousel-indicators li{flex:0 0 18px;width:18px;height:18px;margin:0;padding:2px;border:0;background:transparent!important}
.banner-carousel .carousel-indicators button{display:block!important;width:14px;height:14px;padding:0;margin:0;border:1px solid #ffd700;border-radius:50%;text-indent:-9999px;overflow:hidden;background:#142354}
.banner-carousel .carousel-indicators button[aria-selected="true"]{background:#ffd700}
.banner-carousel .carousel-indicators button:focus-visible{outline:2px solid white;outline-offset:2px}
.banner-carousel .carousel-indicators li[hidden]{display:none!important}
.mobile-banner-caption{display:none}
.scrtabs-tab-container{display:flex;align-items:center}
.scrtabs-tab-scroll-arrow{flex:0 0 28px;height:48px!important;display:flex!important;align-items:center;justify-content:center}
.scrtabs-tabs-fixed-container{flex:1;min-width:0}
.popular-games .tab-pane{position:relative;isolation:isolate}
.popular-games .tab-pane>.picture{pointer-events:none}
.popular-games .animated-image{width:auto!important;max-width:100%;height:100%;object-fit:contain;object-position:right bottom;opacity:.35}
.popular-games .popular-game-list{z-index:1}
.site-info .social-media-list a{display:inline-block;padding:8px 12px;border:1px solid #ba9c35;border-radius:4px;color:#ffd700}
.announcement-container [data-section="announcements"]{min-width:0}
.announcement-container .tickercontainer,.announcement-container .mask{height:auto!important;min-width:0}
.announcement-container .tickercontainer,.announcement-container .mask{overflow:hidden}
.announcement-container .announcement-list{width:max-content!important;max-width:none;left:0!important;margin:0;padding:0;list-style:none}
.announcement-container .announcement-list>li{float:none!important;white-space:nowrap!important;width:auto!important}
.announcement-container .announcement-list.is-scrolling{display:flex;gap:48px;animation:announcement-scroll var(--ticker-duration,25s) linear infinite;will-change:transform}
.announcement-container [data-section="announcements"]:hover .announcement-list,
.announcement-container [data-section="announcements"]:focus-within .announcement-list{animation-play-state:paused}
@keyframes announcement-scroll{
 from{transform:translateX(var(--ticker-start,0px))}
 to{transform:translateX(-100%)}
}
.download-apk>div{opacity:1!important;transform:none!important}
.download-apk>div>picture>img{max-width:100%;height:auto}
.download-apk-container{background-image:radial-gradient(ellipse at 20% 50%,#314789 0,#1a2a6c 35%,#0a1230 100%)!important}
.download-apk .btn{background:linear-gradient(#ffe56d,#c9a12f);color:#14204b}
.telegram-banner-container>a{display:flex;align-items:center;justify-content:center;gap:24px;min-height:120px;padding:24px;background:linear-gradient(110deg,#101d4a,#223777);border:1px solid #b99a38;color:#ffdf4b}
.telegram-banner-container picture{flex:0 0 64px}
.telegram-banner-container img{width:64px!important;height:64px!important;filter:brightness(0) saturate(100%) invert(80%) sepia(88%) saturate(1600%) hue-rotate(359deg)}
.telegram-banner-container .telegram-copy{font-size:24px;font-weight:bold}
.telegram-banner-container .telegram-copy small{display:block;font-size:14px;font-weight:normal;color:#f2eee1}
.game-item:focus-within .link-container{opacity:1!important;background:rgba(0,0,0,.7)}
.modal.ui-open{display:block!important;background:rgba(4,9,28,.83);overflow-y:auto;z-index:10000}
.modal.ui-open .modal-dialog{max-width:calc(100% - 24px);margin:24px auto}
.modal .close{color:#ffd700;opacity:1}
.modal [hidden],.search-popup-container[hidden],[hidden]{display:none!important}
.search-popup-container.ui-open{display:flex!important;position:fixed;inset:0;z-index:10001;background:rgba(4,9,28,.88);align-items:flex-start;justify-content:center;overflow-y:auto;padding:24px}
.catalog-search{position:relative;width:600px;max-width:100%;padding:24px;background:#142354;border:1px solid #ffd700;color:#fff;border-radius:12px}
.catalog-search label{display:block;font-size:20px;color:#ffd700;margin-right:28px}
.catalog-search input{width:100%;padding:12px;color:#111b39;background:#fff;border:2px solid #b3942c;border-radius:4px;margin:12px 0}
.catalog-search button.close-search{position:absolute;right:10px;top:10px;background:#1a2a6c;border:1px solid #ffd700;color:#ffd700;width:32px;height:32px}
.catalog-search ul{padding:0;list-style:none}
.catalog-search li a{display:block;padding:10px;border-bottom:1px solid #ffffff26;color:#fff0a0}
.catalog-search a:hover,.catalog-search a:focus{background:#233970}
.language-selector-trigger{cursor:pointer}
.language-selector-container.open .language-selector{display:block}
@media(max-width:767px){
 .topbar-container .row{display:flex;flex-wrap:wrap;margin:0}
 .topbar-left-container,.topbar-right-container{width:100%!important;float:none!important}
 .topbar-left-section{display:flex;justify-content:center;flex-wrap:wrap}
 .login-panel{display:flex;justify-content:center;padding:6px 0}
 .site-header .logo{display:block;text-align:center;padding:12px 0!important}
 .site-header .logo img{position:static;transform:none;margin:0;max-width:min(100%,300px);height:auto}
 .site-header .menu-slide{margin-top:10px}
 .menu-slide .top-menu>li>a{min-width:82px}
 .menu-slide .top-menu>li>.game-list{max-width:calc(100vw - 30px)}
 .home-progressive-jackpot{width:100%;max-width:100%;padding:6px}
 .home-progressive-jackpot .outer-container,.home-progressive-jackpot .inner-container{padding:5px}
 .home-progressive-jackpot .border-container{flex-direction:column;gap:10px;padding:8px}
 .home-progressive-jackpot .jackpot-play-section{margin:0;align-items:center}
 .home-progressive-jackpot .jackpot-container{width:100%;font-size:clamp(18px,6vw,30px);letter-spacing:1px;padding:4px}
 .home-progressive-jackpot .jackpot-inner-container{padding:4px}
 .home-progressive-jackpot .jackpot-border-container{flex-wrap:wrap;line-height:1.3;padding:4px}
 .popular-games{flex-direction:column}
 .popular-games>[data-section="left"]{flex:auto;margin-right:0}
 .popular-games>[data-section="right"]{flex:auto;width:100%!important}
 .popular-games .scrtabs-tabs-fixed-container{width:100%!important}
 .popular-games .animated-image{max-width:100%;object-fit:contain}
 .popular-games .tab-pane>picture:first-child{display:block;height:125px;text-align:center}
 .popular-games .tab-pane>picture:first-child .animated-image{position:static;height:125px;width:auto!important;max-width:100%;opacity:1;object-fit:contain;animation:none}
 .popular-game-title-container .container-content .game-list .games-group{width:42%;min-width:120px}
 .download-apk{flex-direction:column;gap:16px}
 .download-apk>div{width:100%;flex-basis:auto}
 .download-apk .h2{font-size:27px}
 .download-apk .h2>strong{text-align:left}
 .download-apk-info{flex-wrap:wrap}
 .download-apk-info .download-apk-section{flex-basis:100%}
 .announcement-container,.announcement-content{min-width:0;max-width:100%}
 .announcement-container{flex-wrap:wrap}
 .announcement-container [data-section="announcements"]{flex-basis:100%;order:3;width:100%!important;padding-top:8px}
 .announcement-container [data-section="date"]{white-space:nowrap}
 .announcement-container .announcement-list{white-space:normal}
 .modal.ui-open .modal-dialog{width:calc(100% - 24px)}
 #sungaitoto_offer{overflow-y:auto;min-height:100dvh;height:auto!important;bottom:0}
 #sungaitoto_offer>div{margin:auto 0;max-height:none}
 .catalog-search{padding:18px}
 .telegram-banner-container>a{gap:16px;padding:18px}
 .telegram-banner-container .telegram-copy{font-size:20px}
 .mobile-banner-caption{display:block;color:#fff0ab;background:#111e4a;padding:12px 16px;margin:0;font-size:16px;line-height:1.45;text-align:center}
}
