/* NEON - the launcher's face (design/starters/neon/launcher.css). Contract version 1.

   A night-club sign after midnight: a near-black wall, hot-pink and ice-blue tube light, letters that hum.

   A STARTER DESIGN (designer-css-plan section 2.6): ours, read-only, loaded and changed and saved as a workspace's own
   design. Written ONLY against the --cv-* tokens and the data-cv-* parts, moments, turns, states and screens of
   design/contract.json - never a class name, never an !important. A design's CSS lands in the cascade layer cv.design (the
   server wraps it; on the go site's stage, Tests/Design/ShotCases.Starters.cs does), so it beats our default bundle
   without a specificity war. url() reaches only this package's own files.

   1. THE TOKENS - on :root of the launcher frame - announced, not built: the frame that will wear this file is P3
      (designer-css-plan 2.8); until then Tests/Design/ShotCases.Starters.cs draws it on a stand-in frame. They equal
      manifest.json's tokens, value for value (Tests/Design/StarterLibraryTests).
   2. THE LOOK - every shape, glow, picture and motion is scoped to the conversation's own screen
      ([data-cv-screen="thread"]). A protected screen (confirm, consent, payment, sign-in) and a protected part (the
      verified note, Powered by, a signature, an action's confirm) take COLOURS ONLY, inside the contrast floor - so when
      the locked layer lands (P1) nothing here has to move. Motion runs only when the reader has not asked for less. */

:root {
  /* reference */
  --cv-color-brand: #ff2bd6;
  --cv-color-ink: #f6eaff;
  --cv-color-paper: #0d0716;
  --cv-font-body: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --cv-font-display: "Neon Oxanium", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --cv-radius-s: 10px;
  --cv-radius-m: 14px;
  --cv-radius-l: 18px;
  --cv-shadow-1: 0 0 6px rgba(255, 43, 214, .35);
  --cv-shadow-2: 0 0 16px rgba(255, 43, 214, .4);
  --cv-shadow-3: 0 0 44px rgba(33, 230, 255, .3);
  --cv-motion-fast: 140ms;
  --cv-motion-slow: 1800ms;
  /* semantic */
  --cv-surface: #150b22;
  --cv-on-surface: var(--cv-color-ink);
  --cv-accent: #ff2bd6;
  --cv-on-accent: #14001c;
  --cv-muted: #bba6d8;
  --cv-danger: #ff7a95;
  --cv-focus: #21e6ff;
  --cv-bubble-me-bg: #2a0b35;
  --cv-bubble-me-ink: #ffe6fb;
  --cv-bubble-them-bg: #0e1a2c;
  --cv-bubble-them-ink: #e2fbff;
  --cv-field-font-size: 16px;
}

/* ── Neon ─────────────────────────────────────────────────────────────────────────────────────── */

@font-face {
  font-family: "Neon Oxanium";
  src: url("assets/fonts/oxanium-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

/* A round tube of pink light that breathes; the badge an ice-blue spark. */
[data-cv-part="launcher"] {
  background: #0d0716; color: #ff2bd6; border: 2px solid #ff2bd6;
  box-shadow: 0 0 6px #ff2bd6, 0 0 22px rgba(255, 43, 214, .55), inset 0 0 12px rgba(255, 43, 214, .35);
}
[data-cv-part="launcher-icon"] { filter: drop-shadow(0 0 4px #ff2bd6); }
[data-cv-part="launcher-badge"] {
  background: #21e6ff; color: #04131a; font-family: var(--cv-font-display);
  box-shadow: 0 0 10px #21e6ff;
}
[data-cv-part="teaser"] {
  background: #120a1e; color: #f6eaff; font-family: var(--cv-font-display); letter-spacing: .02em;
  border: 1px solid #ff2bd6; box-shadow: 0 0 6px #ff2bd6, 0 0 22px rgba(255, 43, 214, .35);
}
[data-cv-part="teaser-close"] { color: #21e6ff; }
@media (prefers-reduced-motion: no-preference) {
  [data-cv-part="launcher"] { animation: cv-neon-breathe 2.4s ease-in-out infinite; }
}
@keyframes cv-neon-breathe {
  0%, 100% { box-shadow: 0 0 6px #ff2bd6, 0 0 22px rgba(255, 43, 214, .55), inset 0 0 12px rgba(255, 43, 214, .35); }
  50% { box-shadow: 0 0 10px #ff2bd6, 0 0 36px rgba(255, 43, 214, .8), inset 0 0 16px rgba(255, 43, 214, .5); }
}
