/*
 * Emoji Shelf: design tokens
 * Friendly community feed. A white top strip over a pale sky wash, flat white
 * cards with no shadows, big emoji sitting in rounded white tiles, a rounded
 * Japanese gothic for headlines, small outlined tag chips and one bright sky-blue
 * pill for the main action. Sunflower yellow appears only on tiny highlights.
 *
 * Fonts (Google Fonts):
 * <link href="https://fonts.googleapis.com/css2?family=Zen+Maru+Gothic:wght@500;700;900&family=Figtree:wght@400;500;600;700&family=Spline+Sans+Mono:wght@400;500&display=swap" rel="stylesheet">
 */

:root {
  /* Surfaces */
  --es-white: #FFFFFF;
  --es-wash: #EBF4FC;        /* the pale sky page wash under the feed */
  --es-wash-2: #DCEBF8;      /* hover on wash, quiet fills */
  --es-line: #DDE6EF;        /* every border and divider */
  --es-line-strong: #C6D4E2;

  /* Text */
  --es-ink: #1F2A36;
  --es-soft: #5D6B7A;
  --es-faint: #8D9AA8;

  /* Accents */
  --es-sky: #2E98EE;         /* the one action color */
  --es-sky-deep: #1C7DCF;    /* hover, links */
  --es-sky-soft: #E2F0FD;    /* chip fills, selected rows */
  --es-sun: #F6C543;         /* tiny highlights: "new" dots, the featured ribbon */
  --es-sun-soft: #FDF3D3;
  --es-heart: #EC5B7D;       /* the like heart only */
  --es-leaf: #34B37A;        /* success only */
  --es-danger: #E0533F;

  /* Fonts */
  --es-font-head: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", system-ui, sans-serif;
  --es-font-body: "Figtree", system-ui, -apple-system, sans-serif;
  --es-font-mono: "Spline Sans Mono", ui-monospace, monospace;

  /* Type scale */
  --es-text-hero: clamp(36px, 5.6vw, 64px);
  --es-text-h2: clamp(28px, 3.4vw, 40px);
  --es-text-h3: 20px;
  --es-text-lead: 18px;
  --es-text-body: 16px;
  --es-text-small: 14px;
  --es-text-tiny: 12px;

  /* Shape */
  --es-radius-tile: 18px;    /* emoji tiles and cards */
  --es-radius-card: 16px;
  --es-radius-sm: 8px;
  --es-radius-chip: 4px;     /* outlined tag chips stay square-ish */
  --es-radius-pill: 999px;
  --es-border: 1px solid var(--es-line);
  --es-shadow: none;         /* flat on purpose */
  --es-focus: 0 0 0 3px rgba(46, 152, 238, 0.28);

  /* Space */
  --es-space-1: 4px;
  --es-space-2: 8px;
  --es-space-3: 12px;
  --es-space-4: 16px;
  --es-space-5: 24px;
  --es-space-6: 32px;
  --es-space-7: 48px;
  --es-space-8: 72px;
  --es-space-9: 104px;
  --es-container: 1080px;
  --es-narrow: 720px;

  /* Tiles */
  --es-tile: 72px;
  --es-tile-lg: 112px;
}
