/* RELOOP Auth Session Restore Splash v1 */
:root{
  --rl-restore-blue:#168BFF;
  --rl-restore-blue-deep:#0879E8;
  --rl-restore-ink:#173452;
  --rl-restore-muted:#6E879B;
}
html.reloop-auth-restoring body{
  overflow:hidden;
}
html.reloop-auth-restoring #auth{
  visibility:hidden!important;
  opacity:0!important;
  pointer-events:none!important;
}
#reloopAuthRestoreSplash{
  display:none;
}
html.reloop-auth-restoring #reloopAuthRestoreSplash{
  position:fixed;
  inset:0;
  z-index:2147483400;
  display:grid;
  place-items:center;
  padding:24px;
  background:
    radial-gradient(circle at 22% 18%,rgba(22,139,255,.13),transparent 31%),
    radial-gradient(circle at 82% 76%,rgba(39,198,161,.10),transparent 29%),
    linear-gradient(180deg,#F9FCFF 0%,#F2F8FD 100%);
  font-family:Prompt,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  opacity:1;
  transition:opacity .18s ease;
}
#reloopAuthRestoreSplash.is-leaving{
  opacity:0;
  pointer-events:none;
}
.rl-restore-shell{
  position:relative;
  width:min(520px,100%);
  overflow:hidden;
  padding:31px 30px 27px;
  border:1px solid rgba(174,207,231,.72);
  border-radius:30px;
  background:rgba(255,255,255,.90);
  box-shadow:0 32px 90px rgba(23,65,95,.16);
  backdrop-filter:blur(18px);
  -webkit-backdrop-filter:blur(18px);
  text-align:center;
}
.rl-restore-orb{
  position:absolute;
  border-radius:50%;
  pointer-events:none;
}
.rl-restore-orb.one{
  width:190px;height:190px;right:-82px;top:-92px;
  background:linear-gradient(135deg,rgba(22,139,255,.16),rgba(54,190,255,.05));
}
.rl-restore-orb.two{
  width:130px;height:130px;left:-72px;bottom:-72px;
  background:rgba(35,180,126,.08);
}
.rl-restore-logo-wrap{
  position:relative;
  z-index:1;
  display:flex;
  justify-content:center;
  margin-bottom:17px;
}
.rl-restore-logo{
  display:block;
  width:auto;
  height:38px;
  object-fit:contain;
}
.rl-restore-logo-dark{display:none}
.rl-restore-kicker{
  position:relative;
  z-index:1;
  display:inline-flex;
  align-items:center;
  gap:7px;
  padding:6px 10px;
  border:1px solid #CCE5F8;
  border-radius:999px;
  background:#EEF8FF;
  color:#0879E8;
  font-size:9px;
  font-weight:900;
  letter-spacing:.075em;
}
.rl-restore-kicker i{
  width:7px;height:7px;border-radius:50%;
  background:#26B47E;
  box-shadow:0 0 0 4px rgba(38,180,126,.12);
}
.rl-restore-shell h1{
  position:relative;
  z-index:1;
  margin:13px 0 7px;
  color:var(--rl-restore-ink);
  font-size:26px;
  line-height:1.22;
  letter-spacing:-.02em;
}
.rl-restore-shell p{
  position:relative;
  z-index:1;
  margin:0 auto;
  max-width:390px;
  color:var(--rl-restore-muted);
  font-size:11.5px;
  line-height:1.7;
}
.rl-restore-progress{
  position:relative;
  z-index:1;
  width:min(310px,82%);
  height:5px;
  overflow:hidden;
  margin:22px auto 12px;
  border-radius:999px;
  background:#E5EFF7;
}
.rl-restore-progress:after{
  content:"";
  position:absolute;
  inset:0;
  width:42%;
  border-radius:inherit;
  background:linear-gradient(90deg,#31A8FF,#0879E8,#38C5E8);
  animation:reloopRestoreProgress 1.05s ease-in-out infinite;
}
@keyframes reloopRestoreProgress{
  0%{transform:translateX(-105%)}
  100%{transform:translateX(245%)}
}
.rl-restore-status{
  position:relative;
  z-index:1;
  display:flex;
  justify-content:center;
  align-items:center;
  gap:7px;
  color:#7690A3;
  font-size:9.5px;
  font-weight:700;
}
.rl-restore-status span{
  width:6px;height:6px;border-radius:50%;
  background:#168BFF;
  animation:reloopRestorePulse 1s ease-in-out infinite;
}
@keyframes reloopRestorePulse{
  0%,100%{opacity:.35;transform:scale(.8)}
  50%{opacity:1;transform:scale(1.18)}
}
.rl-restore-safe{
  position:relative;
  z-index:1;
  display:flex;
  justify-content:center;
  align-items:center;
  gap:5px;
  margin-top:17px;
  padding-top:14px;
  border-top:1px solid #E8EFF5;
  color:#8BA0AF;
  font-size:8.5px;
}
html[data-theme="dark"].reloop-auth-restoring #reloopAuthRestoreSplash,
html.bf-dark.reloop-auth-restoring #reloopAuthRestoreSplash{
  background:
    radial-gradient(circle at 20% 18%,rgba(22,139,255,.18),transparent 31%),
    radial-gradient(circle at 82% 76%,rgba(35,180,126,.10),transparent 28%),
    linear-gradient(180deg,#0B1B28,#0E2434);
}
html[data-theme="dark"] .rl-restore-shell,
html.bf-dark .rl-restore-shell{
  border-color:#31516A;
  background:rgba(15,37,53,.92);
  box-shadow:0 32px 90px rgba(0,0,0,.30);
}
html[data-theme="dark"] .rl-restore-logo-light,
html.bf-dark .rl-restore-logo-light{display:none}
html[data-theme="dark"] .rl-restore-logo-dark,
html.bf-dark .rl-restore-logo-dark{display:block}
html[data-theme="dark"] .rl-restore-shell h1,
html.bf-dark .rl-restore-shell h1{color:#EDF8FF}
html[data-theme="dark"] .rl-restore-shell p,
html.bf-dark .rl-restore-shell p,
html[data-theme="dark"] .rl-restore-status,
html.bf-dark .rl-restore-status{color:#9FB5C5}
html[data-theme="dark"] .rl-restore-progress,
html.bf-dark .rl-restore-progress{background:#1A3A50}
html[data-theme="dark"] .rl-restore-safe,
html.bf-dark .rl-restore-safe{border-top-color:#29465B;color:#829AAA}
@media(max-width:600px){
  html.reloop-auth-restoring #reloopAuthRestoreSplash{padding:16px}
  .rl-restore-shell{padding:27px 20px 23px;border-radius:24px}
  .rl-restore-logo{height:34px}
  .rl-restore-shell h1{font-size:23px}
  .rl-restore-shell p{font-size:11px}
}
@media(prefers-reduced-motion:reduce){
  .rl-restore-progress:after,.rl-restore-status span{animation:none}
}
