/* The same loading surface carries across navigation, then crossfades with the
   catalogue. Keep this short opacity transition visible with Reduce Motion. */
.sf-login-glass, .sf-catalog-reveal {
  position: fixed; inset: 0; z-index: 10000; display: grid; place-items: center;
  box-sizing: border-box; padding: max(24px, env(safe-area-inset-top)) 24px;
  background: radial-gradient(ellipse at 18% 20%, #dcfff32b, transparent 55%),
    radial-gradient(ellipse at 82% 76%, #dbeaff38, transparent 55%), #edf2f8;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.sf-catalog-reveal { pointer-events: none; }
.sf-login-handoff .sf-login-glass { animation: none; opacity: 1; }
.sf-login-glass-panel, .sf-catalog-reveal-panel {
  position: relative; overflow: hidden; isolation: isolate;
  box-sizing: border-box; width: min(100%, 380px); padding: 44px 30px;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  text-align: center; color: #183f37; border-radius: 40px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px; line-height: 1.5;
  background: radial-gradient(ellipse at 8% 0%, #ffffffe0, transparent 58%),
    linear-gradient(135deg, #ffffffa8, #eef8f43d 55%, #ffffff80);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  border: 1px solid #ffffffe6;
  box-shadow: 0 30px 90px #1c494126, 0 8px 28px #213c4112, inset 0 2px 2px #fff, inset 0 -1px 2px #ffffffa6;
}
.sf-login-glass-panel::before, .sf-catalog-reveal-panel::before {
  content: ''; position: absolute; z-index: -1; inset: -90%; pointer-events: none;
  background: conic-gradient(from 30deg, transparent 0 20%, #ffffffb8 25%, transparent 32% 58%, #bce8dd52 64%, transparent 72%);
  filter: blur(12px);
}
.sf-login-glass-panel::after, .sf-catalog-reveal-panel::after {
  content: ''; position: absolute; inset: 5px; border: 1px solid #ffffff7a; border-radius: 35px; pointer-events: none;
}
.sf-login-glass-panel strong, .sf-catalog-reveal-panel strong { font-size: 19.2px; font-weight: 600; letter-spacing: -.025em; }
.sf-login-glass-panel > span:last-child, .sf-catalog-reveal-panel > span:last-child { color: #587068; font-size: 14.4px; line-height: 1.5; }
.sf-login-arrival body > :is(header, main, footer) { opacity: 0; }
.sf-login-arrival.sf-login-revealing body > :is(header, main, footer) { animation: sf-catalog-content-in 680ms ease-in-out both; will-change: opacity; }
.sf-catalog-reveal.is-leaving { animation: sf-catalog-glass-out 680ms ease-in-out both; will-change: opacity; }
.sf-catalog-reveal.is-leaving .sf-catalog-reveal-panel { animation: sf-catalog-panel-out 680ms ease-in-out both; will-change: transform; }
@keyframes sf-catalog-glass-out { from { opacity: 1; } to { opacity: 0; } }
@keyframes sf-catalog-content-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes sf-catalog-panel-out { from { transform: scale(1); border-radius: 40px; } to { transform: scale(1.08); border-radius: 48px; } }
