body.checking-account #accountGate:not([hidden]) {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: 24px;
  background: #fcfafb;
  color: #341226;
  font: 500 14px/1.5 system-ui, sans-serif;
}
#accountGate .studio-loader { display: grid; justify-items: center; gap: 24px; }
#accountGate .studio-loader[hidden], #accountGate .studio-loader-error[hidden] { display: none; }
.studio-loader img { display: block; width: min(180px, 62vw); height: auto; }
.studio-loader-track { display: block; width: 88px; height: 2px; background: #eadce3; border-radius: 8px; overflow: hidden; }
.studio-loader-track::after { content: ""; display: block; width: 40%; height: 100%; background: #a22256; border-radius: inherit; animation: studio-loading 1.35s ease-in-out infinite alternate; }
@keyframes studio-loading { to { transform: translateX(150%); } }
@media (prefers-reduced-motion: reduce) { .studio-loader-track::after { animation: none; } }
.studio-loader-error { display: grid; justify-items: center; text-align: center; gap: 12px; }
.studio-loader-error button { padding: 9px 18px; border: 0; border-radius: 6px; background: #721238; color: white; font: inherit; cursor: pointer; }
.studio-loader-error a { color: inherit; text-decoration: underline; }

body.loading #gate:has(.studio-loader) {
  position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center;
  margin: 0; padding: 24px; max-width: none; background: #fcfafb;
}
#gate .studio-loader { display: grid; justify-items: center; gap: 24px; }
.studio-loader .sr-only, .studio-skeleton .sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
.studio-skeleton {
  position: relative; display: block; width: min(230px, 75%); height: 12px; margin: 14px 0;
  border-radius: 8px; overflow: hidden; background: #f0e8ec;
}
.studio-skeleton::after {
  content: ""; position: absolute; inset: 0; background: linear-gradient(90deg,transparent,#fff9,transparent);
  animation: studio-shimmer 1.5s ease-in-out infinite;
}
@keyframes studio-shimmer { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
@media (prefers-reduced-motion: reduce) { .studio-skeleton::after { animation: none; } }
