/* Theme "D: snow globe" (design/design-system.md). Every colour, radius, font and shadow lives here. */
:root {
  --wine: #86081c;
  --wine-ink: #5e0a14;
  --wine-deep: #4a0611;
  --pine: #14482b;
  --pine-band: #204424;
  --cream: #f9e8d3;
  --paper: #fff6e9;
  --gold: #e2b45a;
  --wood: #5a3018;
  --wood-light: #8a5028;
  --ink: #1b1b1b;
  --ink-soft: #5f4b43;
  --danger: #a0101f;
  --snow: #ffffff;

  /* roles */
  --bg: var(--cream);
  --surface: var(--paper);
  --surface-soft: #f3dfc4;
  --line: var(--wine-ink);
  --primary: var(--pine);
  --primary-ink: var(--paper);
  --accent: var(--wine);
  --door-1: var(--wine);
  --door-2: var(--pine);
  --door-3: var(--wine);
  --door-4: var(--pine);
  --door-ink: var(--gold);
  --plank: rgb(0 0 0 / 16%);
  --card-line: rgb(226 180 90 / 50%);
  --swatch-snowglobe: linear-gradient(135deg, #86081c 50%, #14482b 50%);
  --swatch-frost: linear-gradient(135deg, #14305c 50%, #1f6f8b 50%);
  --swatch-gingerbread: linear-gradient(135deg, #7a3b12 50%, #2f5d3a 50%);
  --glass: rgb(255 255 255 / 14%);
  --glass-edge: rgb(255 255 255 / 55%);
  --flake: rgb(255 255 255 / 75%);
  --scrim: rgb(74 6 17 / 60%);

  --radius: 14px;
  --radius-small: 10px;
  --radius-pill: 999px;
  --radius-door: 999px 999px 6px 6px;
  --font: system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-head: ui-serif, Georgia, "Times New Roman", serif;
  --sticker-border: 2px solid var(--gold);
  --sticker-shadow: 0 2px 6px rgb(74 6 17 / 18%);
  --glow: 0 0 0 3px var(--gold), 0 0 16px 6px var(--gold);

  /* holly sprig shape, used as a mask so it takes any colour */
  --sprig: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 20'%3E%3Cpath d='M2 11h26l-1 2H2zM12 11C9 3 15 2 18 1c1 5-1 9-6 10zm8 2c0 7 6 6 9 6 0-5-3-7-9-6zm6-3c0-6 5-8 11-8 0 6-4 9-11 8z'/%3E%3Ccircle cx='31' cy='13' r='2.5'/%3E%3C/svg%3E");
}

/* the other two calendar themes: same roles, other colours */
html[data-theme="frost"] {
  --wine: #14305c;
  --wine-ink: #10264a;
  --wine-deep: #0a1833;
  --pine: #1f6f8b;
  --pine-band: #12283f;
  --cream: #eaf3fb;
  --paper: #f8fbff;
  --gold: #b9dcf5;
  --surface-soft: #d8e8f6;
  --card-line: rgb(31 111 139 / 40%);
  --scrim: rgb(10 24 51 / 65%);
}
html[data-theme="gingerbread"] {
  --wine: #7a3b12;
  --wine-ink: #4e250b;
  --wine-deep: #3a1b07;
  --pine: #2f5d3a;
  --pine-band: #4e2f1a;
  --cream: #f6e7d4;
  --paper: #fff7ec;
  --gold: #f0b653;
  --surface-soft: #efd9bd;
  --card-line: rgb(122 59 18 / 35%);
  --scrim: rgb(58 27 7 / 65%);
}
