.local-preview .modal.show { display:block; overflow-y:auto; }
.local-preview .modal.show .modal-dialog { opacity:1; transform:none; }
.local-preview .modal-backdrop.show { opacity:.55; }
.local-preview .dropdown-menu.show { display:block; }
.local-preview #popup_modal_body img { max-width:100%; height:auto; }
.local-preview .preview-search-results { display:grid; max-height:42vh; overflow:auto; margin-top:10px; }
.local-preview .preview-search-results button { background:transparent; color:inherit; border:0; padding:7px; text-align:left; }
.local-preview .preview-search-results button:is(:hover,:focus) { text-decoration:underline; }
.local-preview #menu_slides .top-menu { overflow-x:auto; scrollbar-width:none; }
.local-preview .announcement-container [data-section="announcements"] { overflow:hidden; }
.local-preview #announcement_list { display:flex; width:max-content; white-space:nowrap; gap:2rem; overflow:visible; }
.local-preview #announcement_list li { display:block; flex:none; }
.local-preview #banner_carousel .preview-banner-controls { position:absolute; inset:auto 0 5px; display:flex; justify-content:center; gap:5px; }
.local-preview .preview-banner-controls button { background:#242424; border:1px solid white; border-radius:100%; width:12px; height:12px; padding:0; }
.local-preview .preview-banner-controls button[aria-pressed="true"] { background:#247fdf; }
.local-preview .tab-pane.active { display:block; opacity:1; }


.local-preview .jackpot-border-container { position:relative; }
.local-preview .preview-jackpot-label { display:block; font:10px/1.1 sans-serif; color:#ddd; letter-spacing:.04em; }
.local-preview [data-section='announcements'][role='button'] {cursor:pointer;}

/* Recreate the single scrolling row in the saved desktop page. */
.local-preview .popular-games [data-section="right"] { min-width: 0; }
.local-preview .preview-provider-strip {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr) 20px;
    align-items: stretch;
    height: 55px;
    background: var(--popular-games-scrtabs-tab-cntr-bg);
}
.local-preview #popular_providers {
    display: flex; flex-flow: row nowrap; overflow-x: auto; overflow-y: hidden;
    min-width: 0; margin: 0; padding: 0; scrollbar-width: none;
}
.local-preview #popular_providers::before, .local-preview #popular_providers::after { display: none; }
.local-preview #popular_providers > li { flex: none; float: none; }
.local-preview .preview-provider-strip button {
    padding: 0; border: 0; background: var(--popular-games-scroll-arrow-bg);
    color: var(--popular-games-scroll-arrow-color); font: bold 23px/1 sans-serif;
}
.local-preview .preview-provider-strip button:disabled { opacity:.55; }
.local-preview .popular-games .animated-image {
    max-width: 37%; object-fit: contain; object-position: right bottom;
}
.local-preview #download_apk > div {
    min-width: 0; opacity: 1; transform: none;
}
.local-preview #download_apk > div:first-child img { max-width:100%; object-fit: contain; }
.local-preview .provider-section .hover-list img { display:block; object-fit:contain; }
@media (max-width: 991px) {
    .local-preview .popular-games { position:relative; }
    .local-preview .popular-games [data-section="left"] { width: 23%; min-width:0; }
    .local-preview .popular-games [data-section="right"] { width: 43%; }
    .local-preview .popular-games .animated-image { max-width: 32%; }
}
@media (max-width: 640px) {
    .local-preview .popular-games { flex-wrap:wrap; }
    .local-preview .popular-games [data-section="left"] { width:100%; margin:0 0 10px; }
    .local-preview .popular-games [data-section="right"] { position:relative; width:100%; }
    .local-preview .popular-games .animated-image { position:static; display:block; max-width:100%; width:auto; height:145px; margin:auto; }
    .local-preview #download_apk { flex-direction:column; gap:12px; }
    .local-preview #download_apk > div { width:100%; }
}
