.e-payment-methods {
  margin: 22px 0 18px;
  padding: 15px;
  background: #17171b;
  color: #fff;
  border: 1px solid #34343a;
  box-shadow: 4px 4px 0 #d8ff00;
  position: relative;
  overflow: hidden;
}
.e-payment-methods:after {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  right: -66px;
  top: -76px;
  border: 18px solid #ff5208;
  border-radius: 50%;
  opacity: 0.28;
}
.e-payment-methods > span {
  display: block;
  color: #d8ff00;
  font:
    700 10px/1 Oswald,
    sans-serif;
  letter-spacing: 1.6px;
}
.e-payment-methods > div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin-top: 12px;
}
.e-payment-methods button {
  position: relative;
  z-index: 1;
  min-height: 57px;
  padding: 9px 8px;
  color: #9d9da5;
  background: #232329;
  border: 1px solid #3a3a40;
  font:
    700 12px/1.1 Oswald,
    sans-serif;
  cursor: pointer;
}
.e-payment-methods button small {
  display: block;
  margin-top: 5px;
  color: #77777f;
  font:
    600 8px/1.15 Inter,
    sans-serif;
}
.e-payment-methods button.active {
  background: #d8ff00;
  color: #17171b;
  border-color: #d8ff00;
  box-shadow: 2px 2px 0 #ff5208;
  transform: translate(-1px, -1px);
}
.e-payment-methods button.active small {
  color: #4a5100;
}
.e-payment-methods > p {
  position: relative;
  z-index: 1;
  margin: 12px 0 0;
  color: #a6a6ad;
  font-size: 9px;
  line-height: 1.45;
}
.e-payment-methods > p b {
  color: #fff;
}
.e-hide-for-stars {
  display: none !important;
}
.e-stars-mode button[data-e-product] {
  background: #17171b !important;
  color: #fff !important;
  border-color: #3b3b42 !important;
  display: grid !important;
  grid-template-columns: 1fr auto;
  align-items: center;
  text-align: left;
  gap: 10px;
  box-shadow: 3px 3px 0 #d8ff00 !important;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}
.e-stars-mode button[data-e-product] span {
  display: block;
}
.e-stars-mode button[data-e-product] span > small {
  display: block;
  color: #ff5208;
  font:
    800 8px/1 Inter,
    sans-serif;
  letter-spacing: 1.2px;
  margin-bottom: 7px;
}
.e-stars-mode button[data-e-product] span > em {
  display: block;
  color: #8f8f96;
  font:
    500 8px/1.2 Inter,
    sans-serif;
  margin-top: 6px;
}
.e-stars-mode button[data-e-product] strong {
  color: #d8ff00;
  white-space: nowrap;
  font:
    700 20px/1 Oswald,
    sans-serif;
}
.e-stars-mode button[data-e-product]:not(:disabled):active {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 #d8ff00 !important;
}
.e-payment-busy button[data-e-product] {
  pointer-events: none;
  opacity: 0.5;
}
.e-payment-busy:before {
  content: "ОТКРЫВАЕМ TELEGRAM…";
  position: fixed;
  z-index: 300;
  inset: 0;
  background: #17171bea;
  color: #d8ff00;
  display: grid;
  place-items: center;
  font:
    700 19px/1 Oswald,
    sans-serif;
  letter-spacing: 1px;
  animation: ePayFade 0.18s ease-out;
}
.e-payment-busy:after {
  content: "";
  position: fixed;
  z-index: 301;
  left: calc(50% - 22px);
  top: calc(50% + 30px);
  width: 44px;
  height: 4px;
  background: #ff5208;
  animation: ePayLoad 0.75s ease-in-out infinite alternate;
}
#e-payment-toast {
  position: fixed;
  z-index: 500;
  left: 50%;
  bottom: calc(86px + env(safe-area-inset-bottom));
  width: min(360px, calc(100% - 28px));
  box-sizing: border-box;
  padding: 14px 16px;
  background: #17171b;
  color: #fff;
  border: 1px solid #3b3b42;
  box-shadow: 4px 4px 0 #d8ff00;
  font:
    700 12px/1.4 Inter,
    sans-serif;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 18px);
  transition: 0.24s ease;
}
#e-payment-toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
#e-payment-toast[data-tone="orange"] {
  box-shadow: 4px 4px 0 #ff5208;
}
#e-payment-toast[data-tone="neutral"] {
  box-shadow: 4px 4px 0 #8f8f96;
}
.e-payment-success {
  position: fixed;
  z-index: 600;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 22px;
  background: #111115f4;
  opacity: 0;
  transition: opacity 0.24s ease;
}
.e-payment-success.show {
  opacity: 1;
}
.e-payment-success-card {
  position: relative;
  width: min(390px, 100%);
  box-sizing: border-box;
  padding: 36px 24px 25px;
  background: #f4f1e9;
  color: #17171b;
  border: 1px solid #fff;
  box-shadow: 8px 8px 0 #d8ff00;
  overflow: hidden;
  transform: translateY(20px) rotate(-0.5deg);
  transition: transform 0.34s cubic-bezier(0.2, 0.9, 0.2, 1.15);
}
.e-payment-success.show .e-payment-success-card {
  transform: translateY(0) rotate(-0.5deg);
}
.e-payment-success-card > span {
  color: #ff5208;
  font:
    800 9px/1 Inter,
    sans-serif;
  letter-spacing: 1.8px;
}
.e-payment-success-card h2 {
  margin: 12px 0 10px;
  font:
    700 42px/0.95 Oswald,
    sans-serif;
  text-transform: uppercase;
}
.e-payment-success-card p {
  max-width: 310px;
  margin: 0;
  color: #606067;
  font-size: 13px;
  line-height: 1.5;
}
.e-success-line {
  height: 5px;
  margin: 24px 0;
  background: #d8d3c9;
  overflow: hidden;
}
.e-success-line i {
  display: block;
  width: 100%;
  height: 100%;
  background: #d8ff00;
  animation: eSuccess 1.1s ease-out;
}
.e-payment-success-card button {
  width: 100%;
  min-height: 54px;
  border: 0;
  background: #ff5208;
  color: #fff;
  box-shadow: 4px 4px 0 #17171b;
  font:
    700 16px/1 Oswald,
    sans-serif;
  cursor: pointer;
}
.e-confetti {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 18%, #d8ff00 0 3px, transparent 4px),
    radial-gradient(circle at 82% 22%, #ff5208 0 4px, transparent 5px),
    radial-gradient(circle at 72% 72%, #17171b 0 3px, transparent 4px),
    radial-gradient(circle at 22% 82%, #ff5208 0 3px, transparent 4px);
  animation: eConfetti 0.8s ease-out both;
}
@keyframes ePayFade {
  from {
    opacity: 0;
  }
}
@keyframes ePayLoad {
  to {
    transform: translateX(24px);
    background: #d8ff00;
  }
}
@keyframes eSuccess {
  from {
    width: 0;
  }
}
@keyframes eConfetti {
  from {
    opacity: 0;
    transform: scale(0.7) rotate(-8deg);
  }
  to {
    opacity: 1;
    transform: scale(1) rotate(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .e-payment-methods button,
  #e-payment-toast,
  .e-payment-success,
  .e-payment-success-card,
  .e-confetti,
  .e-success-line i {
    animation: none !important;
    transition: none !important;
  }
}
.e-rub-mode.e-payment-busy:before {
  content: "ОТКРЫВАЕМ ЮKASSA…";
}
.e-rub-mode button[data-e-product] {
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease;
}
.e-rub-mode button[data-e-product]:not(:disabled):active {
  transform: translate(2px, 2px);
}

.variant-map button.locked {
  position: relative;
  color: #8f8f96;
  border-color: #d8d3c9;
  background: #ebe7dd;
}
.variant-map button.locked::after {
  content: "PRO";
  position: absolute;
  right: 1px;
  bottom: 1px;
  color: #ff5208;
  font: 800 5px/1 Inter, sans-serif;
  letter-spacing: 0.2px;
}

.paywall-capacity small,
.paywall-consent,
.paywall-email small,
.paywall-legal,
.e-payment-methods > p {
  font-size: 11px !important;
  line-height: 1.45 !important;
}
.paywall-capacity label,
.paywall-consent {
  min-height: 48px;
}
.paywall-products button,
.paywall-main,
.paywall-stay {
  min-height: 52px;
}

.paywall-sheet h2 {
  margin: 14px 0 16px;
  font-size: clamp(32px, 9vw, 37px);
  line-height: 1.04;
  letter-spacing: -1.6px;
}
.paywall-sheet h2 em {
  display: inline-block;
  margin-top: 6px;
  line-height: 1.02;
}
