/* Kept identical in Affiliate and Profiles for cross-origin sign-in. */
.profile-opening {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  overflow: auto;
  box-sizing: border-box;
  min-height: 100dvh;
  padding: 32px 24px;
  background: #f7f7f3;
  color: #213c32;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-align: center;
}
.profile-opening[hidden] { display: none; }
.profile-opening__content { width: 100%; max-width: 460px; }
.profile-opening .profile-opening__brand {
  margin: 0 0 24px;
  color: #52695d;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.profile-opening .profile-opening__title {
  margin: 0 0 12px;
  color: #213c32;
  font-size: clamp(24px, 5vw, 32px);
  font-weight: 500;
  line-height: 1.25;
}
.profile-opening .profile-opening__message {
  margin: 0;
  color: #52695d;
  font-size: 15px;
  line-height: 1.6;
}
.profile-opening__indicator {
  display: block;
  width: 12px;
  height: 12px;
  margin: 0 auto 28px;
  border-radius: 50%;
  background: #436c56;
  box-shadow: 0 0 0 8px #436c5614;
  animation: profile-opening-pulse 1.8s ease-in-out infinite;
}
.profile-opening__recovery { margin-top: 24px; }
.profile-opening__recovery a { color: #285a40; text-decoration: underline; }
.profile-opening__recovery p { margin: 12px 0; }
@keyframes profile-opening-pulse {
  50% { opacity: .45; }
}
@media (prefers-reduced-motion: reduce) {
  .profile-opening__indicator { animation: none; }
}
