/* ==========================================================================
   Radar1 — Spacing, radii, sizing
   4px base grid. Broadcast layouts are rectilinear and dense at the edges
   (safe-area margins) with generous internal padding.
   ========================================================================== */
:root {
  /* ---- Space scale (4px base) ---- */
  --space-0:  0;
  --space-1:  4px;
  --space-2:  8px;
  --space-3:  12px;
  --space-4:  16px;
  --space-5:  20px;
  --space-6:  24px;
  --space-8:  32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;

  /* ---- Broadcast safe-area (title-safe inset for 16:9) ---- */
  --safe-x: 5%;   /* @kind other */
  --safe-y: 6%;   /* @kind other */

  /* ---- Radii ---- */
  --radius-0:  0;        /* tickers, full-bleed bars */
  --radius-xs: 2px;
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 10px;
  --radius-pill: 999px;  /* live-status dots ONLY — pills are otherwise avoided */

  /* ---- SIGNATURE: asymmetric corner — square left, rounded right ----
     The Radar1 "sweep": all containers square off the leading (left) edge and
     round the trailing (right) edge, reading as left-to-right motion and
     echoing the logo's channel block. Compose as `border-radius: 0 R R 0`.
     Use the ready-made aliases below by element scale. */
  --sweep-sm:  0 var(--radius-sm) var(--radius-sm) 0;   /* buttons, tags, badges */
  --sweep-md:  0 var(--radius-md) var(--radius-md) 0;   /* cards, tiles, inputs */
  --sweep-lg:  0 var(--radius-lg) var(--radius-lg) 0;   /* panels, players, hero */
  --sweep-r:   var(--radius-md);  /* the trailing-corner radius, for custom use */

  /* ---- Control sizing ---- */
  --control-h-sm: 30px;
  --control-h-md: 38px;
  --control-h-lg: 46px;

  /* ---- Common widths ---- */
  --rail-w: 300px;       /* side rail / breaking list */
  --ticker-h: 44px;      /* bottom news crawl */
  --chyron-h: 128px;     /* lower-third stack height */
}
