/* ═══════════════════════════════════════════
   ui.css — clock, bottom text, toast, video overlay
═══════════════════════════════════════════ */

/* ── Clock (bottom left) ── */
.clock {
  position: fixed;
  bottom: 34px;
  left: 28px;
  z-index: var(--z-ui);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.75;
  letter-spacing: 0.07em;
  color: rgba(255, 255, 255, 0.42);
}


/* ── Toast notification ── */
.toast {
  position: fixed;
  top: 22px;
  left: 50%;
  z-index: var(--z-toast);

  display: flex;
  align-items: center;
  gap: 8px;

  font-family: var(--font-mono);
  font-size: 13px;
  color: #aaccff;
  white-space: nowrap;

  background:      rgba(14, 18, 48, 0.92);
  border:          1px solid rgba(100, 150, 255, 0.28);
  border-radius:   6px;
  padding:         11px 22px;
  backdrop-filter: blur(14px);

  /* Hidden by default */
  transform: translateX(-50%) translateY(-80px);
  opacity: 0;
  transition:
    transform 0.45s var(--ease-spring),
    opacity   0.45s ease;
}

.toast.toast--visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.toast__icon {
  font-size: 15px;
}

/* ── Video overlay (fullscreen, no close) ── */
.video-overlay {
  position: fixed;
  inset: 0;
  z-index: var(--z-video);
  background: #000;

  display: none;        /* toggled by JS */
  align-items: center;
  justify-content: center;
}

.video-overlay.video-overlay--active {
  display: flex;
}

.video-overlay video {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  pointer-events: none;  /* no right-click menu */
}
