/* ============================================================
   XY — SPACING & LAYOUT TOKENS
   4px base grid. Phone-first: the canonical XY surface is a
   webview embedded in a club app (~390px wide).
   ============================================================ */
:root {
  --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;

  /* screen rhythm */
  --gutter:        20px;   /* default screen side padding */
  --section-gap:   28px;   /* between stacked sections     */
  --stack:         12px;   /* between related items        */

  /* canonical embedded viewport */
  --viewport-w:    390px; /* @kind spacing */
  --viewport-max:  430px; /* @kind spacing */
}
