.clz-push-control {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, calc(env(safe-area-inset-bottom) + 10px));
  z-index: 38;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(113, 247, 178, 0.38);
  border-radius: 999px;
  padding: 10px 15px;
  color: #f6fff9;
  background: rgba(4, 18, 14, 0.9);
  box-shadow: 0 14px 42px rgba(2, 14, 10, 0.26), 0 0 24px rgba(84, 244, 168, 0.1);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  font: 700 13px/1 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.clz-push-control:hover {
  border-color: rgba(113, 247, 178, 0.86);
  background: rgba(8, 38, 29, 0.95);
  transform: translateY(-2px);
}

.clz-push-control:focus-visible {
  outline: 3px solid rgba(215, 255, 106, 0.66);
  outline-offset: 3px;
}

.clz-push-control[aria-busy="true"] {
  cursor: wait;
  opacity: 0.76;
}

.clz-push-control[data-state="enabled"] {
  border-color: rgba(215, 255, 106, 0.46);
  color: #d7ff6a;
}

.clz-push-control svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
}

.clz-pwa-dialog {
  width: min(420px, calc(100vw - 32px));
  border: 1px solid rgba(113, 247, 178, 0.28);
  border-radius: 8px;
  padding: 0;
  color: #f6fff9;
  background: #071b16;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
}

.clz-pwa-dialog::backdrop {
  background: rgba(1, 7, 5, 0.72);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.clz-pwa-dialog__inner {
  padding: 24px;
}

.clz-pwa-dialog h2 {
  margin: 0;
  font: 750 21px/1.25 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

.clz-pwa-dialog p,
.clz-pwa-dialog ol {
  margin: 14px 0 0;
  color: rgba(246, 255, 249, 0.72);
  font: 400 14px/1.75 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.clz-pwa-dialog ol {
  padding-left: 20px;
}

.clz-pwa-dialog__close {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
  border: 0;
  border-radius: 6px;
  padding: 10px 18px;
  color: #04120e;
  background: #78f0b1;
  font: 750 14px/1 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  cursor: pointer;
}

.clz-pwa-toast {
  position: fixed;
  left: 50%;
  bottom: max(72px, calc(env(safe-area-inset-bottom) + 70px));
  z-index: 120;
  width: max-content;
  max-width: calc(100vw - 32px);
  transform: translate(-50%, 12px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  padding: 11px 14px;
  color: #f6fff9;
  background: rgba(4, 18, 14, 0.96);
  box-shadow: 0 14px 42px rgba(0, 0, 0, 0.28);
  font: 600 13px/1.45 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.clz-pwa-toast[data-visible="true"] {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 640px) {
  .clz-push-control {
    right: max(12px, env(safe-area-inset-right));
    bottom: max(12px, calc(env(safe-area-inset-bottom) + 8px));
    padding: 10px 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .clz-push-control,
  .clz-pwa-toast {
    transition: none;
  }
}
