/*
 * Rumor Thread: design tokens
 * A campfire at the edge of a starry night. Warm near-black surfaces, a scatter of tiny stars,
 * hand-brushed headlines in campfire orange and cream, typewriter labels like a ship's log,
 * and dashed teal "rumor threads" that tie cards together into a map of clues.
 *
 * Fonts (all free on Google Fonts):
 *   <link href="https://fonts.googleapis.com/css2?family=Caveat+Brush&family=Figtree:wght@400;500;700&family=Courier+Prime:wght@400;700&display=swap" rel="stylesheet">
 */
:root {
  /* Surfaces: warm charcoal night, never blue-black */
  --rt-night: #0c0b09;       /* the page */
  --rt-ash: #15130f;         /* cards, quiet sections */
  --rt-ash-2: #1e1b16;       /* inputs, table heads, hover */
  --rt-line: #2e2921;        /* hairlines */
  --rt-line-bright: #4a4236; /* dashed card edges, ghost buttons */

  /* Text */
  --rt-cream: #f4e8d2;       /* headlines and main text */
  --rt-dust: #b5a990;        /* leads and body */
  --rt-faint: #7a705f;       /* captions, meta */

  /* Accents: campfire for actions, teal only for threads and found clues */
  --rt-fire: #f2793a;
  --rt-fire-deep: #d65a22;
  --rt-fire-soft: rgba(242, 121, 58, .14);
  --rt-glow: rgba(242, 121, 58, .28);  /* the campfire glow under heroes */
  --rt-thread: #5cc4b5;
  --rt-thread-soft: rgba(92, 196, 181, .14);
  --rt-star: #fff6e4;

  /* Status, only inside product UI */
  --rt-ok: #7fbf6a;
  --rt-warn: #e8b64a;

  /* Type */
  --rt-brush: "Caveat Brush", "Marker Felt", cursive;
  --rt-sans: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --rt-type: "Courier Prime", "Courier New", ui-monospace, monospace;

  --rt-text-hero: clamp(52px, 8vw, 104px);
  --rt-text-h2: clamp(38px, 5vw, 60px);
  --rt-text-h3: 22px;
  --rt-text-lead: 19px;
  --rt-text-body: 16px;
  --rt-text-small: 14px;
  --rt-text-label: 12px;

  --rt-tracking-label: .14em;

  /* Shape: small radii, dashed log edges, glow instead of drop shadows */
  --rt-radius-sm: 3px;
  --rt-radius: 6px;
  --rt-radius-lg: 12px;
  --rt-radius-round: 999px;
  --rt-border: 1px solid var(--rt-line);
  --rt-border-dashed: 1px dashed var(--rt-line-bright);
  --rt-thread-line: 1.5px dashed var(--rt-thread);
  --rt-shadow: 0 0 0 1px var(--rt-line), 0 18px 40px rgba(0, 0, 0, .45);
  --rt-shadow-fire: 0 0 0 1px var(--rt-fire), 0 0 36px rgba(242, 121, 58, .22);

  /* The star field, drawn with gradients */
  --rt-stars:
    radial-gradient(1px 1px at 12% 18%, var(--rt-star) 50%, transparent 51%),
    radial-gradient(1px 1px at 34% 62%, rgba(255, 246, 228, .7) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 58% 26%, var(--rt-star) 50%, transparent 51%),
    radial-gradient(1px 1px at 76% 74%, rgba(255, 246, 228, .6) 50%, transparent 51%),
    radial-gradient(1px 1px at 88% 12%, var(--rt-star) 50%, transparent 51%),
    radial-gradient(1px 1px at 22% 86%, rgba(255, 246, 228, .5) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 94% 48%, rgba(92, 196, 181, .8) 50%, transparent 51%),
    radial-gradient(1px 1px at 6% 52%, rgba(255, 246, 228, .6) 50%, transparent 51%);
  --rt-stars-size: 420px 360px;

  /* Space */
  --rt-space-1: 4px;
  --rt-space-2: 8px;
  --rt-space-3: 12px;
  --rt-space-4: 16px;
  --rt-space-5: 24px;
  --rt-space-6: 32px;
  --rt-space-7: 48px;
  --rt-space-8: 72px;
  --rt-space-9: 112px;
  --rt-container: 1160px;
  --rt-narrow: 720px;
}
