/* pctrs tokens: the one list of colours and faces every page reads.
   Two looks, each in dark and light. Darkroom is the default: bare prints
   edge to edge on near-black, or by day on a light grey that still shows a
   white border. Gallery wall is matted prints and air, on mahogany by
   night and warm paper by day. A cabinet chooses its look, theme and whether its prints wear a
   border; the html element carries them as classes: light, look-gallery,
   border. */

/* Young Serif, one weight, no italic, under the Open Font License
   (public/fonts/OFL-YoungSerif.txt). The app bundles the same face. */
@font-face {
  font-family: "Young Serif";
  src: url("/static/fonts/youngserif-latin-ext.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Young Serif";
  src: url("/static/fonts/youngserif-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #0c0c0e;
  --surface: #151518;
  --field: #0f0f12;
  --line: #26262c;
  --text: #f0efec;
  --muted: #98979f;
  --faint: #7a7a83;
  --accent: #ff6a00;
  --accent-ink: #1c0d02;
  --danger: #ff6b6b;
  /* The gap between frames and the colour of a print's mat or border. */
  --gap: 6px;
  --mat: #ffffff;
}
:root {
  --font-display: "Young Serif", "Iowan Old Style", Georgia, serif;
  --font-ui: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
html.light {
  color-scheme: light;
  --bg: #e6e6e9;
  --surface: #f4f4f6;
  --field: #dbdbdf;
  --line: #c7c7cc;
  --text: #1c1c1e;
  --muted: #5e5e65;
  --faint: #8d8d94;
}

/* Gallery wall: deep mahogany, warm-white mats, air between the frames, and
   the orange kept for what is yours. */
html.look-gallery {
  --bg: #3a1f17;
  --surface: #48291f;
  --field: #2d1811;
  --line: #5d3b2d;
  --text: #f2eade;
  --muted: #c6b2a2;
  --faint: #937d6e;
  --gap: 18px;
  --mat: #f4f1ea;
}
html.look-gallery.light {
  --bg: #e7dfcf;
  --surface: #f8f4eb;
  --field: #dcd3c1;
  --line: #cbc1ae;
  --text: #1c1c1e;
  --muted: #66625a;
  --faint: #938d82;
  --mat: #ffffff;
}
