/*
 * HES Design System tokens used by the game (subset), as CSS custom properties.
 * Canvas drawing uses the same values from src/design/tokens.ts; tokens.test.ts keeps the two
 * files in step.
 */
:root {
  --hes-orange: #ff471f;
  --hes-vibrant-red: #eb2a00;
  --hes-coral: #ff7152;
  --hes-charcoal-blue: #343f49;
  --hes-slate-gray: #495967;
  --hes-light-ash: #f4f4f4;
  --hes-cloud-gray: #eeeeee;
  --hes-pale-silver: #d0d1d2;
  --hes-silver-fog: #8e8e8e;
  --hes-muted-gray: #6f7a84;
  --hes-white: #ffffff;
  --border-on-dark: rgba(255, 255, 255, 0.24);
  --overlay: rgba(52, 63, 73, 0.72);

  /* Game-surface colour outside the HES palette (Phase 0 plan, section 5). */
  --game-table-background: #03120c;

  --radius-control: 4px;
  --control-height: 40px;

  /* Game-specific prompt tokens: larger than the 40px control so they are easy to hit on a phone. */
  --prompt-control-height: 52px;
  --prompt-button-min-width: 92px;
  --prompt-button-padding-x: 22px;
  --prompt-button-font-size: 17px;
  --prompt-suit-width: 60px;
  --prompt-suit-glyph-size: 30px;
  --prompt-check-size: 30px;
  --prompt-check-label-size: 16px;
  --prompt-question-size: 16px;
  --prompt-padding-y: 12px;
  --prompt-padding-x: 14px;
  --prompt-gap: 10px;

  --font-display:
    'Inter Tight', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  --font-text: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;

  /* Safe-area insets (notches, home indicators, rounded corners). */
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
}
