/* Niwa AI — Launcher (badge button + label) */

#za-launcher {
  position: fixed;
  z-index: 99999;
  display: flex;
  align-items: center;
  gap: 10px;
  pointer-events: none; /* Container doesn't block clicks */
}

#za-launcher .za-badge {
  height: 66px;
  width: 66px;
  border-radius: 999px;
  color: var(--za-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
  pointer-events: auto !important; /* Ensure clickable */
  /* Glass */
  background: rgba(255, 255, 255, 0.25) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 1px solid var(--niwa-border);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
  /* SVG badge */
  position: relative !important;
  overflow: hidden;
}

#za-launcher .za-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 60px rgba(2, 12, 10, .36);
}

#za-launcher .za-label {
  padding: 8px 12px;
  border-radius: 12px;
  box-shadow: var(--za-shadow);
  font-size: 13px;
  background: var(--za-dark);
  color: var(--za-white);
  pointer-events: auto !important; /* Ensure clickable */
}

#za-launcher .za-ico {
  font-size: 22px;
  line-height: 1;
}

#za-launcher .za-badge .za-ico,
#za-launcher .za-badge i,
#za-launcher .za-badge svg,
#za-launcher .za-badge img {
  display: none !important;
}

#za-launcher .za-badge::before {
  content: "";
  position: absolute;
  inset: 2%;
  background-image: url('../img/Niwa.webp');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  pointer-events: none;
}

@media (max-width: 640px) {
  #za-launcher .za-badge::before {
    inset: 2% !important;
  }

  #za-launcher .za-badge {
    height: 70px !important;
    width: 70px !important;
  }
}
