.banner {
  position: relative;
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: stretch;
  margin:
    clamp(5px, 1.111vw, 6px)
    var(--chat-inline-padding, 16px)
    clamp(8px, 1.852vw, 10px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: var(--responsive-card-radius-sm, 22px);
  background:
    radial-gradient(circle at 14% 0%, rgba(255, 255, 255, 0.72), transparent 34%),
    linear-gradient(135deg, #fff0b8 0%, #ffd1df 45%, #ff61a7 100%);
  box-shadow: 0 14px 34px rgba(114, 21, 63, 0.22);
  color: #2c111d;
  animation: firstRechargeBannerIn 260ms ease-out both;
}

.banner::after {
  position: absolute;
  right: clamp(-34px, -6.296vw, -28px);
  bottom: clamp(-52px, -9.63vw, -42px);
  width: clamp(104px, 23.333vw, 126px);
  height: clamp(104px, 23.333vw, 126px);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  content: "";
  pointer-events: none;
}

.contentButton {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: clamp(8px, 1.852vw, 10px);
  align-items: center;
  min-width: 0;
  padding:
    clamp(10px, 2.222vw, 12px)
    clamp(7px, 1.481vw, 8px)
    clamp(10px, 2.222vw, 12px)
    clamp(12px, 2.593vw, 14px);
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  text-align: left;
}

.iconWrap {
  display: inline-flex;
  width: clamp(30px, 6.296vw, 34px);
  height: clamp(30px, 6.296vw, 34px);
  align-items: center;
  justify-content: center;
  border-radius: clamp(12px, 2.593vw, 14px);
  background: rgba(255, 255, 255, 0.52);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.42);
}

.icon {
  color: #fb2f89;
}

.copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 3px;
}

.eyebrow {
  color: rgba(44, 17, 29, 0.74);
  font-size: var(--responsive-micro, 11px);
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
}

.title {
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  gap: var(--responsive-inline-gap-xs, 5px);
  align-items: baseline;
  color: #241019;
  font-size: var(--responsive-caption, 13px);
  font-weight: 750;
  line-height: 1.18;
}

.title strong {
  color: #f90073;
  font-size: var(--responsive-section-title, 20px);
  font-weight: 950;
  letter-spacing: -0.04em;
  line-height: 1;
}

.arrow {
  color: rgba(44, 17, 29, 0.58);
}

.closeButton {
  position: relative;
  z-index: 1;
  display: flex;
  width: var(--responsive-icon-button-size, 42px);
  min-height: 100%;
  align-items: center;
  justify-content: center;
  border: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.16);
  color: rgba(44, 17, 29, 0.68);
  cursor: pointer;
}

.compactButton {
  display: grid;
  width: min(100%, 240px);
  min-width: 0;
  max-width: 240px;
  min-height: 50px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 16px;
  background:
    radial-gradient(circle at 15% 0%, rgba(255, 255, 255, 0.68), transparent 38%),
    linear-gradient(135deg, #fff0b8 0%, #ffd0df 50%, #ff6cab 100%);
  color: #2c111d;
  cursor: pointer;
  font: inherit;
  text-align: left;
  box-shadow: 0 9px 24px rgba(114, 21, 63, 0.2);
  animation: firstRechargeBannerIn 260ms ease-out both;
}

.compactIcon {
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.55);
  color: #f90073;
}

.compactCopy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 2px;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.05;
  text-transform: uppercase;
}

.compactCopy span,
.compactCopy strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.compactCopy span {
  color: rgba(44, 17, 29, 0.68);
  letter-spacing: 0.03em;
}

.compactCopy strong {
  color: #ec006d;
  font-size: 17px;
  font-weight: 950;
  letter-spacing: -0.02em;
}

.contentButton:focus-visible,
.closeButton:focus-visible,
.compactButton:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.94);
  outline-offset: -3px;
}

@keyframes firstRechargeBannerIn {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 360px) {
  .title {
    flex-direction: column;
    gap: 2px;
  }

  .compactButton {
    gap: 5px;
    padding-inline: 6px;
  }

  .compactIcon {
    width: 26px;
    height: 26px;
  }
}
