:root {
  color-scheme: light;
  --vc-shell-bg: hsl(42 34% 95%);
  --vc-shell-fg: hsl(220 25% 18%);
  --vc-shell-muted: hsl(220 12% 43%);
  --vc-shell-card: hsl(24 62% 98% / 0.9);
  --vc-shell-border: hsl(28 20% 84% / 0.85);
  --vc-shell-accent: hsl(22 86% 54%);
  --vc-shell-bloom-a: rgb(255 229 0 / 0.18);
  --vc-shell-bloom-b: rgb(0 212 255 / 0.14);
  --vc-shell-grid: rgb(20 27 42 / 0.06);
  --vc-shell-shadow: 0 26px 72px -44px rgb(15 23 42 / 0.62);
}

html.dark {
  color-scheme: dark;
  --vc-shell-bg: hsl(210 29% 15%);
  --vc-shell-fg: hsl(210 40% 98%);
  --vc-shell-muted: hsl(215 20% 69%);
  --vc-shell-card: hsl(222 29% 22% / 0.86);
  --vc-shell-border: hsl(218 24% 29% / 0.8);
  --vc-shell-accent: hsl(22 86% 58%);
  --vc-shell-bloom-a: rgb(123 45 255 / 0.22);
  --vc-shell-bloom-b: rgb(0 212 255 / 0.16);
  --vc-shell-grid: rgb(255 255 255 / 0.06);
  --vc-shell-shadow: 0 28px 80px -42px rgb(2 8 23 / 0.9);
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  color: var(--vc-shell-fg);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica Neue, Arial, sans-serif;
  background-color: var(--vc-shell-bg);
  background-image:
    radial-gradient(95% 95% at 10% 10%, var(--vc-shell-bloom-a), transparent 58%),
    radial-gradient(90% 90% at 90% 0%, var(--vc-shell-bloom-b), transparent 62%),
    linear-gradient(180deg, hsl(42 34% 95%) 0%, var(--vc-shell-bg) 36%, var(--vc-shell-bg) 100%);
}

html.dark body {
  background-image:
    radial-gradient(95% 95% at 10% 10%, var(--vc-shell-bloom-a), transparent 58%),
    radial-gradient(90% 90% at 90% 0%, var(--vc-shell-bloom-b), transparent 62%),
    linear-gradient(180deg, hsl(225 32% 20%) 0%, var(--vc-shell-bg) 42%, var(--vc-shell-bg) 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, var(--vc-shell-grid) 1px, transparent 1px),
    linear-gradient(to bottom, var(--vc-shell-grid) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.45;
}

#root {
  position: relative;
  z-index: 2;
  min-height: 100vh;
}

.vc-app-shell {
  position: fixed;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 3vw, 2rem);
  pointer-events: none;
  transition: opacity 180ms ease, visibility 180ms ease;
}

#root:not(:empty) + .vc-app-shell {
  opacity: 0;
  visibility: hidden;
}

.vc-app-shell__panel {
  width: min(34rem, 100%);
  border-radius: 1.4rem;
  border: 1px solid var(--vc-shell-border);
  box-shadow: var(--vc-shell-shadow);
  background: var(--vc-shell-card);
  backdrop-filter: blur(10px);
  padding: clamp(1rem, 3.2vw, 1.7rem);
}

.vc-app-shell__tag {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid var(--vc-shell-border);
  background: hsl(0 0% 100% / 0.6);
  padding: 0.3rem 0.72rem;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

html.dark .vc-app-shell__tag {
  background: hsl(220 19% 27% / 0.72);
}

.vc-app-shell__title {
  margin: 0.78rem 0 0;
  color: var(--vc-shell-fg);
  font-family: Merriweather, Georgia, Cambria, Times New Roman, serif;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  letter-spacing: -0.02em;
  line-height: 1.22;
}

.vc-app-shell__copy {
  margin: 0.66rem 0 0;
  color: var(--vc-shell-muted);
  font-size: 0.96rem;
  line-height: 1.6;
}

.vc-app-shell__status {
  margin-top: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.52rem;
  color: var(--vc-shell-fg);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.vc-app-shell__dot {
  width: 0.58rem;
  height: 0.58rem;
  border-radius: 999px;
  background: var(--vc-shell-accent);
  box-shadow: 0 0 0 0 rgb(249 115 22 / 0.38);
  animation: vc-shell-pulse 1.2s ease-in-out infinite;
}

.vc-app-shell__noscript {
  margin-top: 1rem;
  color: var(--vc-shell-muted);
  font-size: 0.86rem;
  line-height: 1.5;
  pointer-events: auto;
}

.vc-app-shell__noscript a {
  color: var(--vc-shell-accent);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.16em;
}

.vc-app-shell__noscript a:hover {
  text-decoration: none;
}

@keyframes vc-shell-pulse {
  0% {
    transform: scale(0.9);
    box-shadow: 0 0 0 0 rgb(249 115 22 / 0.38);
  }
  65% {
    transform: scale(1);
    box-shadow: 0 0 0 0.7rem rgb(249 115 22 / 0);
  }
  100% {
    transform: scale(0.9);
    box-shadow: 0 0 0 0 rgb(249 115 22 / 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .vc-app-shell {
    transition: none;
  }

  .vc-app-shell__dot {
    animation: none;
  }
}
