.nby-popup {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: min(380px, calc(100vw - 24px));
  background: #ffffff;
  color: #24343a;
  border-radius: 18px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(251, 96, 0, 0.14);
  overflow: hidden;
  z-index: 99999;
  transform: translateY(20px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease, transform 0.28s ease;
  font-family: inherit;
}

.nby-popup.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.nby-popup-topbar {
  height: 4px;
  background: linear-gradient(90deg, #fb6000 0%, #ff8c3a 100%);
}

.nby-popup-inner {
  padding: 16px 16px 14px;
}

.nby-popup-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.nby-popup-brand {
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
}

.nby-popup-icon {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border-radius: 12px;
  background: rgba(251, 96, 0, 0.1);
  color: #fb6000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nby-popup-kicker {
  display: inline-block;
  font-size: 0.74rem;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fb6000;
  margin-bottom: 5px;
}

.nby-popup-title {
  margin: 0;
  font-size: 1.04rem;
  line-height: 1.3;
  font-weight: 800;
  color: #24343a;
}

.nby-popup-close {
  border: 0;
  background: transparent;
  color: #7a8a90;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
}

.nby-popup-close:hover {
  color: #24343a;
}

.nby-popup-text {
  margin: 0 0 14px;
  font-size: 0.96rem;
  line-height: 1.6;
  color: #435d62;
}

.nby-popup-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.nby-popup-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: 0.2s ease;
  font-size: 0.95rem;
  border: 0;
  cursor: pointer;
  font-family: inherit;
}

.nby-popup-btn-primary {
  background: #fb6000;
  color: #fff;
  box-shadow: 0 10px 22px rgba(251, 96, 0, 0.22);
}

.nby-popup-btn-primary:hover {
  background: #e35700;
  color: #fff;
}

.nby-popup-btn-secondary {
  background: #f4f7f8;
  color: #435d62;
}

.nby-popup-btn-secondary:hover {
  background: #eaf0f2;
  color: #24343a;
}

@media (max-width: 576px) {
  .nby-popup {
    left: 12px;
    right: 12px;
    bottom: 12px;
    width: auto;
    border-radius: 16px;
  }

  .nby-popup-inner {
    padding: 14px 14px 13px;
  }

  .nby-popup-title {
    font-size: 1rem;
  }

  .nby-popup-text {
    font-size: 0.93rem;
  }

  .nby-popup-actions {
    flex-direction: column;
  }

  .nby-popup-btn {
    width: 100%;
  }
}