/* PrismReader — access gate + SEO supplement (logic in reader-access.js; styles isolated). */

.reader-seo-supplement {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.reader-access-overlay {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 24px 16px;
  box-sizing: border-box;
  overflow-y: auto;
  animation: reader-access-fade-in 0.22s ease-out;
}

@keyframes reader-access-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.reader-access-dialog {
  position: relative;
  width: min(420px, 100%);
  max-height: none;
  overflow: visible;
  background: #fafafa;
  color: #1a1a1a;
  border-radius: 20px;
  box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.35);
  padding: 72px 22px 24px;
  box-sizing: border-box;
  margin: 56px auto 0;
}

.reader-access-cover-wrap {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 112px;
  height: auto;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.35);
  background: #fff;
  line-height: 0;
}

.reader-access-cover-wrap img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.reader-access-lead {
  text-align: center;
  font-size: 1rem;
  line-height: 1.45;
  margin: 12px 0 18px;
  font-weight: 500;
  color: #222;
}

.reader-access-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.reader-access-form label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #555;
}

.reader-access-form input[type='email'] {
  width: 100%;
  padding: 14px 14px;
  border-radius: 12px;
  border: 1px solid #ccc;
  font-size: 1rem;
  box-sizing: border-box;
  background: #fff;
}

.reader-access-form input[type='email']:focus {
  outline: none;
  border-color: #333;
}

.reader-access-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 6px;
}

.reader-access-submit {
  width: 100%;
  padding: 14px 16px;
  border: none;
  border-radius: 12px;
  background: #1a1a1a;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
}

.reader-access-submit:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.reader-access-secondary {
  background: transparent;
  color: #555;
  border: none;
  font-size: 0.9rem;
  cursor: pointer;
  padding: 8px;
}

.reader-access-denied-msg {
  font-size: 0.95rem;
  line-height: 1.45;
  color: #333;
  margin-bottom: 12px;
  text-align: center;
}

.reader-access-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.reader-access-links a {
  display: block;
  text-align: center;
  padding: 12px 14px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #ccc;
  color: #111;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.reader-access-links a:hover {
  border-color: #111;
}

.reader-access-error {
  color: #b00020;
  font-size: 0.88rem;
  text-align: center;
}

.reader-access-hidden {
  display: none !important;
}
