/* Styles for the slicer document (/app): the first-paint splash and the
   no-JavaScript fallback. Kept as a real stylesheet so the page works under a
   strict `style-src 'self'` Content-Security-Policy. */

#nozzle-splash {
  --splash-bg: #0c0d0a;
  --splash-fg: #fafaf4;
  --splash-accent: #ffd400;
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--splash-bg);
  font-family:
    "Space Grotesk", ui-sans-serif, system-ui, -apple-system, sans-serif;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: none;
  cursor: none;
}
@media (prefers-color-scheme: light) {
  #nozzle-splash {
    --splash-bg: #f3f4ee;
    --splash-fg: #0c0d0a;
  }
}
#nozzle-splash .logo {
  font-weight: 700;
  font-size: min(200px, 15vw);
  line-height: 1;
  color: var(--splash-fg);
  letter-spacing: -0.04em;
  white-space: nowrap;
}
#nozzle-splash .accent {
  color: var(--splash-accent);
}
#nozzle-splash .splash {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
#nozzle-splash .version {
  font-family: "Space Mono", ui-monospace, monospace;
  font-size: 0.875rem;
  font-weight: 700;
  white-space: nowrap;
  color: color-mix(in srgb, var(--splash-fg) 55%, transparent);
}

/* No-JavaScript fallback, shown instead of the slicer. */
.nozzle-noscript {
  max-width: 44rem;
  margin: 4rem auto;
  padding: 0 1.5rem;
  font-family: "Space Grotesk", system-ui, sans-serif;
}
.nozzle-noscript h1 {
  font-size: 1.5rem;
}
.nozzle-noscript p {
  line-height: 1.6;
  margin-top: 1rem;
}
