/* The initial HTML and React loading state share this self-contained palette.
   Keep it independent of workspace themes, which arrive after the first paint. */
html body #app .vp-workspace-loading {
  min-height:100vh;
  min-height:100dvh;
  width:100%;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  position:relative;
  isolation:isolate;
  overflow:hidden;
  box-sizing:border-box;
  padding:32px;
  background:radial-gradient(ellipse at 50% 42%,#393431 0%,#242221 48%,#1c1a1a 100%)!important;
  color:#f5eee8!important;
}
html body #app .vp-loader-glass {
  width:min(680px,100%);
  box-sizing:border-box;
  padding:48px 38px 38px;
  border:1px solid #b39c8459!important;
  border-radius:28px;
  background:linear-gradient(140deg,#383430d9,#211f1ee8)!important;
  box-shadow:0 24px 80px #0004,inset 0 1px 0 #f5eee81a!important;
  -webkit-backdrop-filter:blur(24px);
  backdrop-filter:blur(24px);
  display:flex;
  flex-direction:column;
  align-items:center;
}
html body #app .vp-loader-eyes {
  display:flex;
  gap:28px;
  width:100%;
  max-width:600px;
  align-items:center;
  justify-content:center;
  margin:0;
}
.vp-loader-eye {
  display:block;
  width:calc(50% - 14px);
  height:auto;
  overflow:visible;
  animation:vp-loader-blink 3.6s ease-in-out infinite;
  transform-origin:center;
}
.vp-loader-eye-right {transform:scaleX(-1);animation-name:vp-loader-blink-right}
.vp-eye-white {fill:#eeedf4}
.vp-eye-outline {stroke:#1a111d;stroke-width:5}
.vp-eye-red>circle {fill:#df293c;stroke:#21101b;stroke-width:2}
.vp-eye-iris {stroke:#22101b;stroke-width:2;transform-origin:120px 51px;animation:vp-loader-iris 2s linear infinite}
.vp-eye-pupil {fill:#22101b;stroke:none}
.vp-eye-violet {opacity:0;animation:vp-loader-violet 3.6s ease-in-out infinite;filter:drop-shadow(0 0 9px #d783ff)}
.vp-eye-violet>circle:first-child {fill:#e0b6f4}
.vp-eye-violet g {stroke:#624279;stroke-width:1.8}
.vp-eye-violet .vp-eye-pupil {fill:#543466}
html body #app .vp-loader-copy {text-align:center;margin:26px 0 0;padding:0;max-width:100%}
html body #app .vp-loader-copy>b {
  font:600 15px/1.5 system-ui,sans-serif;
  letter-spacing:2px;
  color:#f5eee8!important;
}
html body #app .vp-loader-copy>p {font:14px/1.6 system-ui,sans-serif;color:#d3c5b9!important;margin:12px 0 22px}
html body #app .vp-loader-copy>.vp-btn {
  min-height:44px;
  background:#dcc6b0!important;
  color:#0a0b0b!important;
  border:1px solid #dcc6b0!important;
  box-shadow:none!important;
}
html body #app .vp-loader-copy>.vp-btn:focus-visible {outline:2px solid #f5eee8;outline-offset:4px}
html body #app .vp-loader-line {
  display:block;
  height:3px;
  width:112px;
  background:#f5eee81a!important;
  overflow:hidden;
  border-radius:5px;
  margin:auto;
}
html body #app .vp-loader-line i {
  display:block;
  height:100%;
  width:35%;
  background:#dcc6b0!important;
  border-radius:5px;
  animation:vp-loader-line 1.5s ease-in-out infinite;
}
/* The recovery message shares the surface but needs no space for missing eyes. */
.vp-loader-glass>.vp-loader-copy:first-child {margin-top:0!important}
body:has(.vp-loader-eyes) #eco-root {visibility:hidden}
@keyframes vp-loader-iris {to{transform:rotate(360deg)}}
@keyframes vp-loader-blink {0%,40%,50%,100%{transform:scaleY(1)}44%,46%{transform:scaleY(.2)}}
@keyframes vp-loader-blink-right {0%,40%,50%,100%{transform:scaleX(-1) scaleY(1)}44%,46%{transform:scaleX(-1) scaleY(.2)}}
@keyframes vp-loader-violet {0%,35%,95%,100%{opacity:0}48%,88%{opacity:1}}
@keyframes vp-loader-line {0%{transform:translateX(-110%)}100%{transform:translateX(400%)}}
@media(max-width:600px) {
  html body #app .vp-workspace-loading {padding:20px}
  html body #app .vp-loader-glass {padding:38px 20px 32px;border-radius:24px}
  html body #app .vp-loader-eyes {gap:14px}
  .vp-loader-eye {width:calc(50% - 7px)}
  html body #app .vp-loader-copy {margin-top:24px}
}
@media(prefers-reduced-motion:reduce) {
  .vp-workspace-loading * {animation:none!important}
  .vp-loader-eye-right {transform:scaleX(-1)}
  .vp-eye-violet {opacity:0}
  html body #app .vp-loader-line i {width:100%}
}
