/* Local account links and responsive adjustments. */
html { overflow-x: clip; }
[hidden] { display: none !important; }
body { min-width: 0; }
.access-links { gap: 8px; align-items: center; }
.access-links .btn { display: inline-flex; align-items: center; justify-content: center; min-width: 96px; text-decoration: none; }
#marquee .running { flex: 1; min-width: 0; }
#marquee .marquee-content { gap: 18px; }
#marquee .broadcast { width: max-content !important; animation: announcement 22s linear infinite; }
.broadcast > span { padding-left: 40px; }
@keyframes announcement { from { transform: translateX(0); } to { transform: translateX(-50%); } }
#mobile-slider { width: 100%; aspect-ratio: 5 / 1; overflow: hidden; }
#mobile-slider .carousel-inner, #mobile-slider .carousel-item { height: 100%; }
#mobile-slider img { width: 100%; height: 100%; object-fit: cover; display: block; }
.carousel-indicators { z-index: 4; }
.carousel-indicators button { cursor: pointer; }
.result { text-decoration: none; }
.show-more { cursor: pointer; }
.togel-content.expanded { max-height: 1000px; }
.snapshot-note { width: min(1000px, 92%); margin: 16px auto 6px; color: #bdab93; font-size: 11px; text-align: center; }
#boxprivacy { display: flex; align-items: center; justify-content: space-between; gap: 12px; border: 1px solid #999; padding: 15px; }
#boxprivacy .cookie-copy { font-size: 1rem; line-height: 1.5; }
.cookie-close { flex-shrink: 0; color: #d0c074; background: transparent; font-size: 28px; border: 0; width: 32px; line-height: 1; }
.btn:focus-visible, a:focus-visible, button:focus-visible { outline: 2px solid #fff600; outline-offset: 4px; }
.c-circle-menu__item { pointer-events: none; }
.c-circle-menu.is-active .c-circle-menu__item { pointer-events: auto; }
.btn-telegram-neon { display: inline-flex; align-items: center; justify-content: center; }
.iframe-kupon { border: 0; height: 140px; }
@media (min-width: 1001px) {
  .header-content, .marquee-content, .togel-content { max-width: calc(100% - 32px); }
  #hover { top: 148px; }
  #desktoplogin { flex-shrink: 0; }
}
@media (max-width: 1000px) {
  body#desktop .wrapper { grid-template-columns: minmax(0,1fr) !important; width: 100%; min-width: 0; }
  body#desktop .wrapper > * { min-width: 0; width: 100%; }
  body#desktop .header .logo { display: flex !important; }
  body#desktop .header-content { width: 100% !important; min-width: 0; }
  body#desktop #mobilelogin .access-links { flex-direction: row !important; margin: 0 !important; width: 100% !important; }
  body#desktop #mobilelogin .access-links > a { flex: 1 1 0; min-width: 0; margin: 0 !important; }
  body#desktop { background: #070707 !important; padding-bottom: 70px; }
  .wrapper > * > * { width: 100%; max-width: 100%; }
  .header { height: auto !important; }
  .header-content { display: flex !important; flex-direction: column; align-items: center; width: 100%; padding: 12px 0 0 !important; gap: 10px; }
  .logo { justify-content: center; width: 100%; }
  .logoimg { max-width: 210px; height: 70px !important; object-position: center; }
  #marquee-mobile { margin: 0; padding: 7px 12px; background: linear-gradient(#fca91c, #f98619); color: #15100a; }
  #marquee-mobile .broadcast { font-size: 11px; width: max-content; animation: announcement 25s linear infinite; }
  .header .login { width: 100%; padding: 0 16px 10px !important; }
  #mobilelogin { width: 100%; }
  #mobilelogin .access-links { display: flex; width: 100%; gap: 12px; padding: 0 !important; }
  #mobilelogin .access-links .btn { width: 50%; height: 40px !important; font-size: 17px; }
  .header .mslider, .header .promosi, .header .menu-content { display: none !important; }
  .header .menu { display: flex !important; flex-wrap: nowrap; width: 100%; overflow-x: auto; scrollbar-width: none; justify-content: flex-start; padding: 0 8px; background: radial-gradient(circle at top, #4f2500, #000); }
  .header .menu::-webkit-scrollbar { display: none; }
  .header .menu-item { flex: 0 0 69px; min-width: 69px; height: 77px; padding: 10px 4px; gap: 7px; }
  .header .menu-item label { font-size: 9px; }
  .header .menu-item .menu-item-icon { font-size: 24px; }
  .header .menu .promosi { display: none !important; }
  #content-primary { padding: 0 !important; }
  #mobile-slider { aspect-ratio: 5 / 1; min-height: 0; height: auto !important; }
  #mobile-slider .carousel-indicators { margin-bottom: 3px; }
  #mobile-slider .carousel-indicators button { width: 5px; height: 5px; margin: 0 3px; }
  #togel-mobile { display: block !important; padding: 16px !important; background: #090705; }
  .mobile-result-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px 10px; }
  body#desktop #togel-mobile .mobile-result-grid .result { height: 103px; width: 100%; position: relative; display: grid; grid-template: 'badge' 0 'pasaran' 25px 'keluaran' 1fr 'tanggal' 23px / 1fr; background: #9c4f06 !important; border: 2px solid #fca91c !important; padding: 0 !important; margin: 0 !important; border-radius: 8px; box-shadow: 0 0 7px #fdb91f80; }
  .mobile-result-grid .result .pasaran { display: grid; place-items: center; color: #fff !important; font-size: 9px !important; opacity: 1; line-height: 1.2; }
  .mobile-result-grid .result .keluaran { display: grid; place-items: center; font-family: Oswald, sans-serif; color: #fff600 !important; font-size: 30px !important; line-height: 1; }
  .mobile-result-grid .result .tanggal { display: grid; place-items: center; color: #000 !important; font-size: 11px !important; background: linear-gradient(#fca91c,#f98619); opacity: 1; }
  body#desktop #togel-mobile .mobile-result-grid .result > div { justify-content: center !important; align-items: center !important; text-align: center; padding: 0 !important; margin: 0 !important; }
  body#desktop .wrapper > .widget-kupon { width: calc(100% - 32px); margin: 0 16px; padding-top: 12px; }
  .iframe-kupon { width: 100%; height: 260px; }
  .widget-sbo { padding-top: 0; }
  .match-slider-wrap { margin: 12px 0 24px; padding: 0 16px; width: 100%; }
  .match-card { min-height: 190px; }
  .match-slider-wrap .carousel-control-prev, .match-slider-wrap .carousel-control-next { width: 24px; }
  .transaksi, .guidelines { display: none; }
  .bantuan { padding: 14px 16px; }
  .bantuan-content { flex-wrap: wrap; justify-content: center; gap: 12px; font-size: 10px; }
  .bantuan-devider { display: none; }
  .footer { width: 100%; padding: 20px 16px; }
  .footer > * { max-width: 100%; }
  .footer .link-sosmed { padding: 0; }
  .footer .footer-group { flex-wrap: wrap; justify-content: center; gap: 14px; width: 100%; }
  .footer .copyright { text-align: center; flex-direction: column; font-size: 10px; }
  .footer-group img { max-width: 100%; }
  .snapshot-note { font-size: 10px; line-height: 1.5; }
  #boxprivacy { padding: 10px; bottom: 50px !important; }
  #boxprivacy .cookie-copy { font-size: 10px; }
  .c-circle-menu { left: 12px; bottom: 170px; }
  .c-circle-menu__toggle { width: 42px; height: 42px; }
  .my-navbar { height: 50px; }
  .navbar-item-content { top: -9px; }
  .navbar-item-content > label { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
