/* Layout and light login colors from Login.vue and styles/auth.css.
   tokens.css and milk media are copied from shared/coldwave-ui by Docker. */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.auth-shell {
  --text-primary: #252933;
  --text-secondary: #505968;
  --text-muted: #535d6b;
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-6);
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  padding: var(--space-10) var(--space-6);
  text-align: center;
  overflow: hidden;
}
.auth-brand { display: flex; align-items: center; justify-content: center; }
.auth-brand img { width: 180px; height: auto; opacity: 1; filter: brightness(0); }
.auth-title {
  margin: 0;
  font-size: var(--font-size-xl);
  font-weight: 650;
  line-height: var(--line-height-tight);
  color: var(--text-primary);
}
/* Exact backdrop layers from CwLiquidBackdrop.vue. */
.cw-liquid-backdrop {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-color: var(--liquid-canvas);
  pointer-events: none;
  contain: strict;
}
.cw-liquid-backdrop__poster, .cw-liquid-backdrop__video {
  position: absolute; inset: 0; width: 100%; height: 100%;
}
.cw-liquid-backdrop__poster {
  background: url('/assets/milk-poster.jpg') center / cover;
  opacity: var(--liquid-backdrop-opacity, 1);
}
.cw-liquid-backdrop__video {
  object-fit: cover;
  opacity: 0;
  transition: opacity 700ms var(--ease-standard);
}
.cw-liquid-backdrop__video.is-ready { opacity: var(--liquid-backdrop-opacity, 1); }
@media (max-width: 480px) { .auth-brand img { width: 160px; } }
@media (prefers-reduced-motion: reduce) { .cw-liquid-backdrop__video { transition: none; } }
