/* BESTTOGEL-only overrides. The reference layout remains governed by the exact live CSS. */
html { scroll-behavior: smooth; }
body.mirror-modal-open { overflow: hidden; }
.banner { padding-bottom: 1.34375px; }

.site-header .logo img,
.logo-container img,
a.logo img {
  object-fit: contain !important;
  max-width: 100% !important;
}

.mirror-carousel-ready {
  position: relative;
  height: 100% !important;
  overflow: hidden;
  touch-action: pan-y;
}
.mirror-main-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform .45s ease;
  will-change: transform;
}
.mirror-main-track.mirror-no-transition,
.mirror-sub-track.mirror-no-transition { transition: none !important; }
.mirror-main-track > .mirror-slide {
  position: relative;
  display: block !important;
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.mirror-carousel-ready .mirror-slide img {
  display: block;
  width: 100%;
  height: 100% !important;
  object-fit: cover;
}
.mirror-sub-ready {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  touch-action: pan-x;
}
.mirror-sub-track {
  width: 100%;
  height: 100%;
  transition: transform .45s ease;
  will-change: transform;
}
.mirror-sub-track > .mirror-sub-slide {
  display: block !important;
  width: 100%;
  height: 100%;
}
.mirror-sub-track > .mirror-sub-slide > a,
.mirror-sub-track > .mirror-sub-slide img { display: block; width: 100%; height: 100% !important; }
.mirror-sub-ready ~ .nav-btn { display: flex !important; }
.mirror-carousel-ready + .carousel-indicators,
.banner .carousel-indicators { z-index: 4; }
.banner .mirror-main-indicators { z-index: 15; }
.banner .mirror-sub-indicators { z-index: 16; }
.banner .carousel-indicators li button {
  display: block !important;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  font-size: 0;
}

#announcement_list.mirror-ticker-list {
  display: flex !important;
  align-items: center;
  flex-wrap: nowrap;
  gap: 60px;
  width: max-content !important;
  will-change: transform;
}
#announcement_list.mirror-ticker-list > li { flex: 0 0 auto; white-space: nowrap; }

#menu_slides .top-menu { scroll-behavior: smooth; scrollbar-width: none; }
#menu_slides .top-menu::-webkit-scrollbar { display: none; }
#menu_slides .left_trigger,
#menu_slides .right_trigger { cursor: pointer; user-select: none; }
#menu_slides .top-menu > li.mirror-open > .game-list { display: flex; }

.scrtabs-tabs-fixed-container { overflow: hidden; }
.scrtabs-tabs-fixed-container { width: calc(100% - 40px) !important; }
.scrtabs-tabs-movable-container { width: max-content !important; transition: transform .25s ease; will-change: transform; }
#popular_providers { display: flex !important; flex-wrap: nowrap !important; width: max-content !important; }
#popular_providers > li { flex: 0 0 138px; }
.scrtabs-tab-scroll-arrow { display: block !important; width: 20px !important; height: 42px !important; cursor: pointer; user-select: none; }
.scrtabs-tab-scroll-arrow.mirror-disabled { opacity: .35; pointer-events: none; }

.hover-list > li { cursor: pointer; outline: none; }
.hover-list > li.mirror-active picture:first-child,
.hover-list > li.mirror-active img:first-child { display: block !important; opacity: 0 !important; }
.hover-list > li.mirror-active picture:last-child,
.hover-list > li.mirror-active img:last-child { display: block !important; opacity: 1 !important; }
.hover-list > li:focus-visible { outline: 2px solid #68a8aa; outline-offset: 3px; }

.language-selector-container.mirror-open .dropdown-menu { display: block !important; }
.language-selector li { cursor: pointer; }
.language-selector .language_selector:not([data-language="id"]):not([data-language="en"]) { display: none !important; }

.ard-sosmed .hamburg { border: 0; cursor: pointer; }
.ard-sosmed .hamburg span { display: block; }

.mirror-livechat-fab {
  position: fixed;
  right: 20px;
  bottom: 24px;
  z-index: 10000;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #1464e9;
  background: #fff;
  box-shadow: 0 1px 10px rgba(0, 0, 0, .28);
  cursor: pointer;
}
.mirror-livechat-fab::before {
  content: '';
  width: 30px;
  height: 25px;
  border: 5px solid #1464e9;
  border-radius: 9px;
  box-sizing: border-box;
}

.mirror-search-panel {
  position: fixed;
  inset: 0;
  z-index: 11000;
  display: none;
  place-items: start center;
  padding-top: 70px;
  background: rgba(0, 0, 0, .55);
}
.mirror-search-panel.mirror-open { display: grid; }
.mirror-search-box {
  display: flex;
  gap: 8px;
  width: min(680px, calc(100% - 24px));
  padding: 14px;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 8px 35px rgba(0, 0, 0, .3);
}
.mirror-search-box input { min-width: 0; flex: 1; height: 42px; padding: 0 12px; border: 1px solid #aaa; }
.mirror-search-box button { width: 42px; border: 0; color: #fff; background: #68a8aa; font-size: 24px; cursor: pointer; }
.mirror-search-hidden { display: none !important; }

.best-login-modal[hidden] { display: none !important; }
.best-login-modal {
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: grid;
  place-items: center;
  padding: 16px;
}
.best-login-backdrop { position: absolute; inset: 0; border: 0; background: rgba(0, 0, 0, .68); }
.best-login-dialog {
  position: relative;
  width: min(390px, 100%);
  padding: 30px;
  border-top: 5px solid #68a8aa;
  border-radius: 8px;
  color: #333;
  background: #fff;
  box-shadow: 0 22px 65px rgba(0, 0, 0, .42);
}
.best-login-dialog > img { display: block; width: 230px; max-width: 78%; height: 74px; margin: 0 auto 8px; object-fit: contain; }
.best-login-dialog h2 { margin: 6px 0 18px; text-align: center; font-size: 22px; }
.best-login-dialog label { display: block; margin: 10px 0; font-weight: 600; }
.best-login-dialog input { display: block; width: 100%; height: 42px; margin-top: 6px; padding: 0 12px; border: 1px solid #bbb; border-radius: 4px; }
.best-login-dialog form > button,
.best-login-dialog form > a { display: block; width: 100%; margin-top: 10px; padding: 11px; border: 0; border-radius: 4px; text-align: center; color: #fff; background: #68a8aa; cursor: pointer; }
.best-login-dialog form > a { background: #146c70; }
.best-login-close { position: absolute; top: 5px; right: 8px; border: 0; background: transparent; font-size: 29px; cursor: pointer; }
.best-login-message { min-height: 18px; margin: 10px 0 0; text-align: center; font-size: 12px; color: #b00020; }

@media (max-width: 767px) {
  .best-login-dialog { padding: 24px 20px; }
  .mirror-search-panel { padding-top: 55px; }
  .provider-section .hover-list > li { -webkit-tap-highlight-color: transparent; }
  .mirror-livechat-fab { right: 14px; bottom: 55px; width: 50px; height: 50px; }
}
