.nova-ios-home-float {
  position: fixed;
  right: 14px;
  bottom: 64px;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 50%;
  z-index: 2147483000;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0;
  padding: 0;
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 900;
  text-align: center;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.94) 0 9%, transparent 10%),
    linear-gradient(145deg, #ffe073 0%, #ff9630 45%, #7047ff 100%);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.34), 0 0 12px rgba(255, 208, 65, 0.48);
  cursor: pointer;
  opacity: 0.98;
  transform-origin: center;
  animation: nova-ios-home-breathe 1.85s ease-in-out infinite;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.nova-ios-home-float.is-visible { display: flex; }
.nova-ios-home-float.is-hidden { display: none !important; }
.nova-ios-home-float.is-dragging { opacity: 0.9; transform: scale(1.04); animation: none; }

@keyframes nova-ios-home-breathe {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.34), 0 0 12px rgba(255, 208, 65, 0.48);
  }
  50% {
    transform: scale(1.09);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.38), 0 0 20px rgba(255, 208, 65, 0.72);
  }
}

.nova-ios-home-float__plus {
  width: 20px;
  height: 20px;
  line-height: 19px;
  border-radius: 50%;
  color: #261934;
  font-size: 18px;
  font-weight: 900;
  background: #fff;
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.14);
}

.nova-ios-home-float__text {
  max-width: 42px;
  color: #fff;
  font-size: 8px;
  line-height: 10px;
  letter-spacing: 0;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
  white-space: nowrap;
}

.nova-ios-home-dialog {
  position: fixed;
  inset: 0;
  z-index: 2147483001;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(4, 7, 18, 0.64);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-tap-highlight-color: transparent;
}

.nova-ios-home-dialog.is-open { display: flex; }

.nova-ios-home-dialog__panel {
  width: min(306px, calc(100vw - 42px));
  border: 1px solid rgba(255, 224, 115, 0.5);
  border-radius: 8px;
  overflow: hidden;
  color: #fff;
  text-align: left;
  background:
    radial-gradient(circle at 14% 0%, rgba(255, 224, 115, 0.2), transparent 28%),
    radial-gradient(circle at 100% 20%, rgba(120, 76, 255, 0.22), transparent 34%),
    linear-gradient(160deg, rgba(35, 27, 60, 0.985), rgba(11, 17, 34, 0.985));
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.54), 0 0 18px rgba(122, 66, 255, 0.3);
}

.nova-ios-home-dialog__hero {
  padding: 15px 17px 10px;
  background: linear-gradient(90deg, rgba(255, 224, 115, 0.14), rgba(89, 232, 255, 0.06));
}

.nova-ios-home-dialog__title {
  margin: 0 0 6px;
  color: #ffe073;
  font-size: 17px;
  line-height: 22px;
  font-weight: 900;
  letter-spacing: 0;
}

.nova-ios-home-dialog__message {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  line-height: 19px;
  letter-spacing: 0;
}

.nova-ios-home-dialog__steps {
  margin: 0;
  padding: 12px 17px 8px;
  list-style: none;
}

.nova-ios-home-dialog__step {
  display: grid;
  grid-template-columns: 27px 1fr;
  align-items: center;
  min-height: 30px;
  color: rgba(255, 255, 255, 0.94);
  font-size: 13px;
  line-height: 18px;
  letter-spacing: 0;
}

.nova-ios-home-dialog__badge {
  display: inline-flex;
  width: 20px;
  height: 20px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #24142e;
  font-size: 11px;
  font-weight: 900;
  background: linear-gradient(135deg, #ffe073, #ff9a34);
  box-shadow: 0 0 8px rgba(255, 198, 64, 0.24);
}

.nova-ios-home-dialog__note {
  margin: 0;
  padding: 0 17px 13px;
  color: rgba(137, 234, 255, 0.92);
  font-size: 11px;
  line-height: 16px;
  letter-spacing: 0;
}

.nova-ios-home-dialog__actions {
  display: grid;
  grid-template-columns: 0.76fr 1fr;
  gap: 1px;
  background: rgba(255, 255, 255, 0.12);
}

.nova-ios-home-dialog__button {
  min-height: 42px;
  border: 0;
  border-radius: 0;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.nova-ios-home-dialog__button:active { transform: translateY(1px); }

.nova-ios-home-dialog__button--primary {
  color: #24142e;
  background: linear-gradient(135deg, #ffe073, #ff9a34);
}

@media (max-width: 420px) {
  .nova-ios-home-float {
    width: 42px;
    height: 42px;
    right: 12px;
    bottom: 58px;
  }

  .nova-ios-home-float__plus {
    width: 18px;
    height: 18px;
    line-height: 17px;
    font-size: 17px;
  }

  .nova-ios-home-float__text {
    max-width: 38px;
    font-size: 8px;
    line-height: 9px;
  }
}
