.ayaos-protected-article {
  --protected-accent: var(--accent, #7c8cff);
  --protected-accent-soft: color-mix(in srgb, var(--protected-accent) 18%, transparent);
  --protected-border: color-mix(in srgb, currentColor 16%, transparent);
  display: grid;
  min-height: min(30rem, 62vh);
  place-items: center;
  padding: clamp(1.25rem, 4vw, 3rem);
}

.ayaos-protected-article__panel {
  position: relative;
  width: min(100%, 31rem);
  overflow: hidden;
  padding: clamp(1.5rem, 5vw, 2.5rem);
  border: 1px solid var(--protected-border);
  border-radius: 12px;
  background:
    radial-gradient(circle at 15% 0%, var(--protected-accent-soft), transparent 42%),
    color-mix(in srgb, var(--background, #10121a) 92%, transparent);
  box-shadow: 0 1.5rem 5rem color-mix(in srgb, #000 24%, transparent);
  text-align: center;
  backdrop-filter: blur(1rem);
}

.ayaos-protected-article__panel h2 {
  margin: 1rem 0 0.55rem;
  font-size: clamp(1.35rem, 3vw, 1.8rem);
}

.ayaos-protected-article__panel > p:not(.ayaos-protected-article__status) {
  margin: 0 auto 1.5rem;
  max-width: 26rem;
  opacity: 0.68;
  line-height: 1.7;
}

.ayaos-protected-article__icon {
  position: relative;
  width: 3rem;
  height: 3rem;
  margin: 0 auto;
  border: 1px solid var(--protected-border);
  border-radius: 50%;
  background: var(--protected-accent-soft);
  box-shadow: 0 0 2.5rem var(--protected-accent-soft);
}

.ayaos-protected-article__icon::before {
  content: "";
  position: absolute;
  top: 0.72rem;
  left: 50%;
  width: 0.9rem;
  height: 0.75rem;
  border: 0.12rem solid currentColor;
  border-bottom: 0;
  border-radius: 0.6rem 0.6rem 0 0;
  transform: translateX(-50%);
}

.ayaos-protected-article__icon span {
  position: absolute;
  top: 1.42rem;
  left: 50%;
  width: 1.3rem;
  height: 1rem;
  border-radius: 0.25rem;
  background: currentColor;
  transform: translateX(-50%);
}

.ayaos-protected-article form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.65rem;
  text-align: left;
}

.ayaos-protected-article label span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.ayaos-protected-article input,
.ayaos-protected-article button {
  min-height: 2.85rem;
  border: 1px solid var(--protected-border);
  border-radius: 0.7rem;
  font: inherit;
}

.ayaos-protected-article input {
  width: 100%;
  padding: 0 0.9rem;
  background: color-mix(in srgb, var(--background, #10121a) 72%, transparent);
  color: inherit;
  outline: none;
}

.ayaos-protected-article input:focus {
  border-color: var(--protected-accent);
  box-shadow: 0 0 0 0.2rem var(--protected-accent-soft);
}

.ayaos-protected-article button {
  padding: 0 1rem;
  border-color: transparent;
  background: var(--protected-accent);
  color: #fff;
  cursor: pointer;
  font-weight: 650;
}

.ayaos-protected-article button:disabled,
.ayaos-protected-article input:disabled {
  cursor: wait;
  opacity: 0.55;
}

.ayaos-protected-article__status {
  min-height: 1.5em;
  font-size: 14px !important;
  margin: 0.75rem 0 0;
  text-align: left;
  color: color-mix(in srgb, currentColor 72%, var(--protected-accent));
}

.ayaos-protected-article--unlocked {
  display: block;
  min-height: 0;
  padding: 0;
}

@media (max-width: 34rem) {
  .ayaos-protected-article form {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ayaos-protected-article *,
  .ayaos-protected-article *::before,
  .ayaos-protected-article *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
