
/* JAKSKY HOME FLOAT V2 */

#jakskySupportV2{
  position:fixed;
  right:14px;
  bottom:calc(102px + env(safe-area-inset-bottom));
  z-index:900;
  font-family:inherit;
}

#jakskySupportV2 .jakskySupportToggleV2{
  min-height:46px;
  padding:0 16px;
  border:1px solid rgba(180,213,255,.35);
  border-radius:16px;
  background:linear-gradient(135deg,#178ff2,#4866f1);
  color:white;
  font-size:13px;
  font-weight:800;
  box-shadow:0 8px 24px rgba(0,0,0,.35);
  cursor:pointer;
}

#jakskySupportV2 .jakskySupportMenuV2{
  position:absolute;
  right:0;
  bottom:calc(100% + 10px);
  width:min(220px,75vw);
  display:flex;
  flex-direction:column;
  gap:8px;
  padding:10px;
  background:#101d37;
  border:1px solid rgba(145,183,250,.3);
  border-radius:16px;
  box-shadow:0 12px 35px rgba(0,0,0,.45);
}

#jakskySupportV2 .jakskySupportMenuV2[hidden]{
  display:none!important;
}

#jakskySupportV2 .jakskySupportMenuV2 a,
#jakskySupportV2 .jakskySupportMenuV2 button{
  display:block;
  width:100%;
  box-sizing:border-box;
  padding:13px;
  border-radius:10px;
  border:1px solid rgba(145,183,250,.18);
  background:#1a3055;
  color:#fff;
  font:600 13px inherit;
  text-align:left;
  text-decoration:none;
  cursor:pointer;
}

@media(max-width:820px){
  html body{
    padding-bottom:calc(120px + env(safe-area-inset-bottom))!important;
  }

  html body #grid{
    padding-bottom:80px;
  }
}

@media(min-width:821px){
  #jakskySupportV2{
    bottom:24px;
    right:24px;
  }
}

/* JAKSKY_CS_DUPLICATE_FIX_V21 */

/* Sembunyikan launcher CS lama, pertahankan fungsi JS */
html body .jakCsLauncher,
html body button:has(> .jakCsLauncherIcon),
html body div:has(> .jakCsLauncherIcon),
html body a:has(> .jakCsLauncherIcon),
html body [role="button"]:has(> .jakCsLauncherIcon) {
  opacity:0!important;
  visibility:hidden!important;
  pointer-events:none!important;
}

/* Tombol Bantuan */
@media(max-width:820px) {
  #jakskySupportV2 {
    right:12px!important;
    bottom:calc(100px + env(safe-area-inset-bottom))!important;
  }

  #jakskySupportV2 .jakskySupportToggleV2 {
    min-height:42px;
    border-radius:14px;
    padding:0 13px;
    font-size:12px;
  }
}
