/* The demo's colours (APP_THEME=impro-planer, see pages/layout.js), taken
   from its pineapple icon: the crown's green for links and buttons, cream
   like the landing page's for the page, white cards on it (as there), yellow for highlights. Trainings
   (--green elsewhere) are petrol here, so they stand apart from shows,
   which take a deep green, darker than the accent so a show isn't a
   button. Loaded after style.css and only overrides its
   colour tokens, light and dark in the same three blocks.

   Its display font is Fraunces (SIL Open Font License, see
   impro-planer/OFL-fraunces.txt), a soft serif, instead of our League
   Gothic from the Pretty Flower logo. It's much wider, so the headings
   are smaller. */
@font-face {
  font-family: 'Fraunces';
  src: url('/themes/impro-planer/display.woff2') format('woff2');
  font-weight: 600;
  font-display: swap;
}
:root {
  --display: 'Fraunces', Georgia, serif;
  --bg: #fbf6ea;
  --fg: #1e2a22;
  --muted: #586a5d;
  --accent: #1d6b4f;
  --accent-fg: #ffffff;
  --brand: #1d6b4f;
  --kind-show: #0f4a36;
  --green: #0d6b76;
  --green-soft: #e2f0f1;
  --gold: #8a5d00;
  --gold-soft: #f8e6b0;
  --card: #ffffff;
  --border: #ecdfbf;
  --highlight: #f2c94c;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --bg: #111612;
    --fg: #ebf0e6;
    --muted: #a3b1a4;
    --accent: #6fcf9e;
    --accent-fg: #111612;
    --brand: #6fcf9e;
    --kind-show: #3a9e72;
    --green: #5bc6d1;
    --green-soft: #16282a;
    --gold: #e3bd5b;
    --gold-soft: #2b2312;
    --card: #1b211c;
    --border: #2c362d;
  }
}
:root[data-theme='dark'] {
  --bg: #111612;
  --fg: #ebf0e6;
  --muted: #a3b1a4;
  --accent: #6fcf9e;
  --accent-fg: #111612;
  --brand: #6fcf9e;
  --kind-show: #3a9e72;
  --green: #5bc6d1;
  --green-soft: #16282a;
  --gold: #e3bd5b;
  --gold-soft: #2b2312;
  --card: #1b211c;
  --border: #2c362d;
}

/* Fraunces is about twice as wide as League Gothic */
.brand span { font-size: 1.3rem; font-weight: 600; letter-spacing: 0; white-space: nowrap; }
.page-title { font-size: 2.05rem; font-weight: 600; letter-spacing: -0.01em; }
h2 { font-size: 1.12rem; font-weight: 600; letter-spacing: 0.05em; }
.ig-tile-value { font-size: 1.7rem; font-weight: 600; }
/* the name on the login page's poster: a group's name may hold a long word
   ("Performance"), and the login page now shows it (pages/layout.ts) */
.poster-name { font-size: clamp(2rem, 9vw, 4rem); font-weight: 600; }
