.wstream-ads-premium {
  --wap-accent: var(--avg-color, #fcd34d);
  --wap-accent-text: var(--avg-color-text, #18181b);
  --wap-primary: var(--primary-color, #e11d48);
  --wap-card: var(--wrapper-color, #1f1d2b);
  --wap-input: var(--body-color, #23212e);
  --wap-border: rgba(255, 255, 255, 0.08);
  width: 100%;
  max-width: 1120px;
  margin: 0 auto 2rem;
}

body.wstream-ads-premium-page .cont--aside > .aside,
body.wstream-ads-premium-page .aside {
  display: none !important;
}

body.wstream-ads-premium-page .cont--aside > .main,
body.wstream-ads-premium-page .cont .main {
  width: 100%;
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
}

.wstream-ads-premium-pagewrap {
  max-width: 1120px;
  padding-top: 1.25rem;
  padding-bottom: 3rem;
}

.wstream-ads-premium-pagewrap .headline {
  text-align: center;
  margin-bottom: 1.25rem;
}

.wstream-ads-premium-pagewrap .headline__title,
.wstream-ads-premium-pagewrap .post__header h1 {
  text-align: center;
}

.wstream-ads-premium-intro {
  margin-bottom: 1.5rem;
  text-align: center;
}

.wstream-ads-premium-lead {
  margin: 0 auto;
  opacity: 0.78;
  line-height: 1.55;
  max-width: 40rem;
}

.wstream-ads-premium-hint {
  margin: 0.55rem auto 0;
  font-size: 0.92rem;
  color: var(--wap-primary);
  opacity: 0.95;
  max-width: 40rem;
}

.wstream-ads-premium-flash {
  padding: 0.85rem 1rem;
  border-radius: 10px;
  margin-bottom: 1.25rem;
  font-weight: 600;
}

.wstream-ads-premium-flash.is-success {
  background: rgba(34, 197, 94, 0.18);
  color: #86efac;
}

.wstream-ads-premium-flash.is-error {
  background: rgba(220, 38, 38, 0.18);
  color: #fca5a5;
}

.wstream-ads-premium-flash.is-info {
  background: rgba(59, 130, 246, 0.18);
  color: #93c5fd;
}

.wstream-ads-premium-status {
  background: var(--wap-card);
  border: 1px solid var(--wap-border);
  border-radius: 14px;
  padding: 1rem 1.15rem;
  margin-bottom: 1.5rem;
}

.wstream-ads-premium-status.is-active {
  border-color: var(--wap-accent);
}

.wstream-ads-premium-status strong {
  display: block;
  margin-bottom: 0.35rem;
}

.wstream-ads-premium-status p {
  margin: 0;
  opacity: 0.85;
}

.wstream-ads-premium-note {
  margin-top: 1.5rem;
  padding: 1rem 1.15rem;
  border-radius: 14px;
  background: var(--wap-card);
  border: 1px solid var(--wap-border);
  border-left: 4px solid var(--wap-accent);
  text-align: left;
}

.wstream-ads-premium-note strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--wap-accent);
}

.wstream-ads-premium-note p {
  margin: 0;
  opacity: 0.85;
  line-height: 1.5;
}

.wstream-ads-premium-grid {
  display: grid;
  gap: 1.15rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
}

@media (max-width: 1024px) {
  .wstream-ads-premium-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .wstream-ads-premium-grid {
    grid-template-columns: 1fr;
    max-width: 22rem;
    margin-left: auto;
    margin-right: auto;
  }
}

.wstream-ads-premium-card {
  position: relative;
  background: var(--wap-card);
  border: 1px solid var(--wap-border);
  border-radius: 14px;
  padding: 1.45rem 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.wstream-ads-premium-card.is-featured {
  border-color: var(--wap-accent);
  box-shadow: 0 0 0 1px var(--wap-accent);
}

.wstream-ads-premium-badge {
  position: absolute;
  top: -0.6rem;
  left: 1rem;
  background: var(--wap-accent);
  color: var(--wap-accent-text);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
}

.wstream-ads-premium-card h3 {
  margin: 0.4rem 0 0;
  font-size: 1.15rem;
}

.wstream-ads-premium-price {
  margin: 0.35rem 0 0;
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--wap-accent);
}

.wstream-ads-premium-duration {
  margin: 0;
  font-weight: 600;
  opacity: 0.9;
}

.wstream-ads-premium-desc,
.wstream-ads-premium-wait {
  margin: 0.25rem 0 0.75rem;
  opacity: 0.75;
  font-size: 0.92rem;
  flex: 1;
}

.wstream-ads-premium-card form {
  margin-top: auto;
}

.wstream-ads-premium-card > .wstream-ads-premium-btn {
  margin-top: auto;
}

.wstream-ads-premium-btn {
  display: inline-flex;
  width: 100%;
  justify-content: center;
  align-items: center;
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  padding: 0.75rem 1rem;
  font-weight: 800;
  background: var(--wap-accent);
  color: var(--wap-accent-text);
}

.wstream-ads-premium-btn:hover {
  filter: brightness(1.05);
}

.wstream-ads-premium-btn:disabled {
  opacity: 0.55;
  cursor: wait;
}

body.wstream-ads-auth-open {
  overflow: hidden;
}

.wstream-ads-auth {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}

.wstream-ads-auth[hidden] {
  display: none;
}

.wstream-ads-auth__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 7, 14, 0.72);
  backdrop-filter: blur(6px);
}

.wstream-ads-auth__dialog {
  position: relative;
  width: min(26rem, 100%);
  background: var(--wap-card);
  color: var(--text-color, #fff);
  border: 1px solid var(--wap-border);
  border-radius: 14px;
  padding: 1.5rem 1.4rem 1.45rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.wstream-ads-auth__close {
  position: absolute;
  top: 0.7rem;
  right: 0.8rem;
  width: 2rem;
  height: 2rem;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0.65;
}

.wstream-ads-auth__close:hover {
  opacity: 1;
}

.wstream-ads-auth__dialog h2 {
  margin: 0 1.5rem 0.45rem 0;
  font-size: 1.35rem;
}

.wstream-ads-auth__lead {
  margin: 0 0 0.75rem;
  opacity: 0.78;
  line-height: 1.5;
}

.wstream-ads-auth__plan {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--wap-accent);
}

.wstream-ads-auth__tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem;
  margin: 0 0 1rem;
  padding: 0.3rem;
  border-radius: 999px;
  background: var(--wap-input);
}

.wstream-ads-auth__tabs button {
  border: 0;
  background: transparent;
  color: inherit;
  border-radius: 999px;
  padding: 0.55rem 0.75rem;
  font-weight: 700;
  cursor: pointer;
  opacity: 0.7;
}

.wstream-ads-auth__tabs button.is-active {
  background: var(--wap-accent);
  color: var(--wap-accent-text);
  opacity: 1;
}

.wstream-ads-auth__error {
  margin: 0 0 0.85rem;
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  background: rgba(220, 38, 38, 0.18);
  color: #fca5a5;
  font-size: 0.9rem;
}

.wstream-ads-auth__form label {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 0.85rem;
  font-size: 0.85rem;
  font-weight: 600;
}

.wstream-ads-auth__form input[type="text"],
.wstream-ads-auth__form input[type="email"],
.wstream-ads-auth__form input[type="password"] {
  width: 100%;
  border: 1px solid var(--wap-border);
  background: var(--wap-input);
  color: var(--text-color, #fff);
  border-radius: 10px;
  padding: 0.75rem 0.9rem;
  font: inherit;
  outline: none;
}

.wstream-ads-auth__form input:focus {
  border-color: var(--wap-primary);
}

.wstream-ads-auth__remember {
  flex-direction: row !important;
  align-items: center;
  gap: 0.5rem !important;
  font-weight: 500 !important;
  opacity: 0.9;
}

.wstream-ads-auth__register-off {
  margin: 0.75rem 0 0;
  font-size: 0.9rem;
  opacity: 0.7;
}

.wstream-ads-premium-cta {
  position: fixed;
  left: 20px;
  right: auto;
  bottom: 24px;
  z-index: 89;
  display: inline-flex;
  align-items: center;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--avg-color, #fcd34d);
  color: var(--avg-color-text, #18181b);
  font-weight: 800;
  font-size: 0.9rem;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}

.wstream-ads-premium-cta:hover {
  transform: translateY(-2px);
  color: var(--avg-color-text, #18181b);
}

@media (max-width: 640px) {
  .wstream-ads-premium-cta {
    left: 16px;
    bottom: 20px;
  }

  .wstream-ads-auth {
    padding: 0.75rem;
    align-items: end;
  }

  .wstream-ads-auth__dialog {
    width: 100%;
    border-radius: 16px 16px 10px 10px;
  }
}
