/* ==========================================================================
   tokens.css — palette, type scale, radii, easings, base reset
   ========================================================================== */

:root{
  /* felt */
  --felt-hi:#1f9e60;
  --felt-mid:#0d7745;
  --felt-lo:#054d2c;
  --felt-edge:#02351d;

  /* materials */
  --wood:#8a4a24;
  --wood-dk:#43200e;
  --steel-hi:#f4f7f9;
  --steel:#b6c0c7;
  --steel-dk:#65707a;

  /* accents */
  --gold:#f6cf6e;
  --gold-mid:#d9a12a;
  --gold-dk:#8c6110;
  --ruby:#d21f2c;
  --ruby-lo:#8d0f18;
  --ink:#131619;
  --ink-lo:#04070a;
  --cream:#f7f2e3;
  --cream-dim:rgba(247,242,227,.62);

  /* glass */
  --glass:rgba(255,255,255,.13);
  --glass-line:rgba(255,255,255,.34);

  /* radii */
  --r-xs:4px; --r-sm:8px; --r-md:14px; --r-lg:22px; --r-pill:999px;

  /* shadows */
  --sh-lift:0 4px 0 rgba(0,0,0,.3), 0 10px 20px rgba(0,0,0,.34);
  --sh-soft:0 6px 18px rgba(0,0,0,.32);

  /* motion */
  --ease-cam:cubic-bezier(.42,0,.18,1);
  --ease-pop:cubic-bezier(.2,1.5,.4,1);
  --dur-cam:600ms;

  /* type */
  --font-ui:"Avenir Next","Nunito","Segoe UI Variable",system-ui,-apple-system,"Helvetica Neue",Arial,sans-serif;
  --font-board:Georgia,"Times New Roman","Noto Serif",serif;

  /* camera (written by camera.js) */
  --zoomY:0px;
  --zoomS:1.3;
}

*,*::before,*::after{box-sizing:border-box;-webkit-tap-highlight-color:transparent;}

html,body{
  height:100%;margin:0;padding:0;overflow:hidden;
  overscroll-behavior:none;
}

body{
  font-family:var(--font-ui);
  color:var(--cream);
  background:var(--felt-edge);
  touch-action:manipulation;
  user-select:none;-webkit-user-select:none;
  -webkit-font-smoothing:antialiased;
}

button{
  font-family:inherit;color:inherit;border:0;background:none;
  padding:0;cursor:pointer;
}
button:focus-visible{outline:2px solid var(--gold);outline-offset:2px;}
