body.alpha-follow-prompt-open {
  overflow: hidden !important;
}

.alpha-follow-dialog {
  width: min(440px, calc(100vw - 40px));
  max-width: none;
  max-height: calc(100dvh - 40px);
  margin: auto;
  padding: 0;
  overflow: auto;
  color: #161922;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #ffffff;
  border: 1px solid rgba(82, 102, 239, 0.18);
  border-radius: 24px;
  box-shadow: 0 28px 80px rgba(24, 31, 54, 0.24);
  color-scheme: light;
}

.alpha-follow-dialog::backdrop {
  background: rgba(22, 25, 34, 0.54);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}

.alpha-follow-dialog[open] {
  animation: alpha-follow-enter 220ms ease-out both;
}

.alpha-follow-card {
  position: relative;
  display: grid;
  justify-items: center;
  padding: 42px 36px 34px;
  text-align: center;
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 226, 118, 0.28), transparent 38%),
    linear-gradient(145deg, #ffffff 35%, #f6f8ff 100%);
}

.alpha-follow-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  width: 44px;
  height: 44px;
  padding: 0;
  place-items: center;
  color: #667085;
  font: inherit;
  font-size: 26px;
  line-height: 1;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(137, 145, 164, 0.18);
  border-radius: 50%;
  cursor: pointer;
}

.alpha-follow-mark {
  display: grid;
  width: 66px;
  height: 66px;
  margin-bottom: 20px;
  place-items: center;
  color: #ffffff;
  background: #101217;
  border: 6px solid rgba(82, 102, 239, 0.1);
  border-radius: 22px;
  box-shadow: 0 14px 30px rgba(16, 18, 23, 0.18);
}

.alpha-follow-mark svg {
  width: 31px;
  height: 31px;
  fill: currentColor;
}

.alpha-follow-dialog h2 {
  margin: 0;
  color: #161922;
  font-size: clamp(25px, 4.8vw, 31px);
  font-weight: 850;
  letter-spacing: -0.035em;
  line-height: 1.2;
}

.alpha-follow-handle {
  color: #4260e9;
}

.alpha-follow-description {
  max-width: 330px;
  margin: 13px 0 0;
  color: #737b8f;
  font-size: 15px;
  font-weight: 560;
  line-height: 1.65;
}

.alpha-follow-actions {
  display: grid;
  width: 100%;
  margin-top: 28px;
  gap: 10px;
}

.alpha-follow-primary {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 12px 18px;
  font: inherit;
  font-size: 15px;
  font-weight: 750;
  text-decoration: none;
  border-radius: 13px;
  cursor: pointer;
}

.alpha-follow-primary {
  gap: 9px;
  color: #ffffff;
  background: #4f67ed;
  border: 1px solid #4f67ed;
  box-shadow: 0 10px 24px rgba(79, 103, 237, 0.24);
}

.alpha-follow-x-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: currentColor;
}

.alpha-follow-primary:hover {
  background: #4059df;
}

.alpha-follow-close:hover {
  color: #313849;
  background: #eef1f7;
}

.alpha-follow-primary:focus-visible,
.alpha-follow-close:focus-visible {
  outline: 3px solid rgba(79, 103, 237, 0.34);
  outline-offset: 3px;
}

@keyframes alpha-follow-enter {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 560px) {
  .alpha-follow-dialog {
    width: calc(100vw - 28px);
    max-height: calc(100dvh - 28px);
    border-radius: 22px;
  }

  .alpha-follow-card {
    padding: 38px max(22px, env(safe-area-inset-right)) max(26px, env(safe-area-inset-bottom)) max(22px, env(safe-area-inset-left));
  }

  .alpha-follow-mark {
    width: 60px;
    height: 60px;
    margin-bottom: 17px;
    border-radius: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .alpha-follow-dialog[open] {
    animation: none;
  }

  .alpha-follow-primary,
  .alpha-follow-close {
    scroll-behavior: auto;
    transition: none;
  }
}
