body[data-auth-loading="true"] { overflow: hidden; }
body[data-auth-loading="true"] > :not(#coastal-auth-loader) { visibility: hidden; }
#coastal-auth-loader[hidden] { display: none; }
#coastal-auth-loader {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: grid;
  place-items: center;
  padding: 28px;
  background: radial-gradient(ellipse at 50% 45%, #fff 0%, #fff 30%, #fbf4f5 100%);
  color: #262125;
  font-family: Montserrat, system-ui, sans-serif;
}
.coastal-loader-content { width: min(320px, 100%); text-align: center; }
.coastal-loader-mark { width: 72px; height: 72px; object-fit: contain; margin: 0 auto 24px; display: block; }
.coastal-loader-brand { margin: 0 0 12px; color: #86132d; font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.coastal-loader-title { margin: 0 0 30px; font-size: clamp(22px, 4vw, 28px); font-weight: 600; letter-spacing: -.04em; }
.coastal-loader-track { height: 5px; border-radius: 10px; overflow: hidden; background: #eadde0; position: relative; }
.coastal-loader-track::after { content: ""; display: block; position: absolute; inset: 0 auto 0 0; width: 45%; border-radius: inherit; background: linear-gradient(90deg, #86132d, #c46b80, #86132d); animation: coastal-loader-sweep 1.5s ease-in-out infinite; }
.coastal-loader-caption { margin: 16px 0 0; font-size: 12px; color: #83767b; letter-spacing: .02em; }
@keyframes coastal-loader-sweep { from { transform: translateX(-110%); } to { transform: translateX(330%); } }
@media (prefers-reduced-motion: reduce) { .coastal-loader-track::after { animation: none; width: 100%; opacity: .65; } }
