/* The Stardew section's palette: Ginger Island. Lagoon turquoise, coral and warm
 * sand; night is a tropical evening. Anna chose it from twelve options on
 * 2026-10-24 (testing/stardew_palettes.html) and asked for coral on every page.
 *
 * Every Stardew page links this file LAST, so it re-tunes both the site-wide base
 * tokens and each page's own accent family (--water, --cc, --cal, --ck, --mu,
 * --mn, --td, --tailor, --sh, --fx, --cf, the gift tastes). All of them now run on one coral, with the teal
 * kept as --accent for secondary bits. Light-mode tones are deeper than the
 * swatches suggest because the pages use these colours as SMALL text (prices,
 * counts, season chips, badges); every visible string was measured at 4.5:1 or
 * better in both themes (3:1 for large text). To drop the palette, remove the
 * link line from the pages; nothing else refers to it. */

:root {
  /* base */
  --bg: #fbf3e3;            /* warm sand */
  --bg-decoration: #f4e3c6;
  --card: #ffffff;
  --btn: #ffffff;
  --ink: #1f3b45;            /* deep sea ink */
  --muted: #4e7079;          /* deep enough to read as small text on sand and white */
  --primary: #b94531;        /* coral, deep enough to be a link on sand and to carry white text */
  --primary-dark: #963626;
  --accent: #177d74;         /* lagoon */
  --border: #e3ddd0;
  --pick-bg: #fde4de;
  --pick-border: #b94531;
  --shadow: 0 4px 14px rgba(31, 59, 69, 0.08);
  --shadow-hover: 0 6px 20px rgba(31, 59, 69, 0.14);
  --gold: #7f5f0e;           /* used as text (prices); the bright gold lives on dark */

  /* Every page runs on coral (Anna: "make sure the subpages use coral as well");
   * the lagoon teal stays as --accent for secondary bits. */
  --water: #b94531; --water-dark: #963626; --water-bg: #fde8e2;
  --spring: #246e42; --summer: #8a6300; --fall: #9c4c18; --winter: #2f6f99;
  --legend: #8e4a86; --crab: #b94531;
  /* bundles: palm green */
  --cc: #b94531; --cc-dark: #963626; --cc-bg: #fde8e2;
  /* calendar: coral */
  --cal: #b94531; --cal-dark: #963626; --cal-bg: #fde8e2;
  --s-spring: #246e42; --s-summer: #8a6300; --s-fall: #9c4c18; --s-winter: #2f6f99;
  /* cooking: mango */
  --ck: #b94531; --ck-dark: #963626; --ck-bg: #fde8e2;
  /* museum: shell lilac */
  --mu: #b94531; --mu-dark: #963626; --mu-bg: #fde8e2;
  /* mines: deep ocean */
  --mn: #b94531; --mn-dark: #963626; --mn-bg: #fde8e2;
  /* clothing, shops, item lookup, crafting */
  --tailor: #b94531; --tailor-dark: #963626; --tailor-bg: #fde8e2;
  --sh: #b94531; --sh-dark: #963626; --sh-bg: #fde8e2;
  --fx: #b94531; --fx-dark: #963626; --fx-bg: #fde8e2;
  --cf: #b94531; --cf-dark: #963626; --cf-bg: #fde8e2;
  /* item quality: the game's own tiers, so not coral, just deep enough to read */
  --q-silver: #5f6875; --q-gold: #8a6300; --q-irid: #6f45b3; --q-irid-bg: #efe6fb;
  /* today: sunrise */
  --td: #b94531; --td-dark: #963626; --td-bg: #fde8e2;
  --td-have: #2a7a50; --td-have-bg: #e2f4ea; --td-have-border: #a8dcbd;
  --td-now: #8a5a00; --td-now-bg: #fdefcf; --td-now-border: #ecc978;
  /* gifts */
  --love: #b94531; --love-bg: #fde4de;
  --like: #2a7a50; --like-bg: #e2f4ea;
  --dislike: #c8861f; --dislike-bg: #fbeed4;
  --hate: #b04a4a; --hate-bg: #f7e0e0;
  --neutral: #4e7079;
}

/* Small text the pages colour by hand rather than by token. */
html:not(.dark) .tagline { color: var(--muted); }
html:not(.dark) .ck-sell, html:not(.dark) .mu-sell, html:not(.dark) .bd-reward { color: #6e5208; }

html.dark {
  --bg: #0d2230;            /* tropical night */
  --bg-decoration: #163445;
  --card: #163445;
  --btn: #1e4257;
  --ink: #ecf7f6;
  --muted: #9cc1c6;
  --primary: #ff8e7a;
  --primary-dark: #ffb0a2;
  --accent: #3fd0c0;
  --border: #255164;
  --pick-bg: #2a3c4a;
  --pick-border: #ff8e7a;
  --shadow: 0 4px 16px rgba(0, 0, 0, 0.45);
  --shadow-hover: 0 8px 26px rgba(0, 0, 0, 0.55);
  --gold: #f2c35c;

  --water: #ff8e7a; --water-dark: #ffb0a2; --water-bg: rgba(255, 142, 122, 0.16);
  --spring: #7fd39a; --summer: #f2c35c; --fall: #f0a06a; --winter: #8fc4e6;
  --legend: #d9a3d0; --crab: #ff8e7a;
  --cc: #ff8e7a; --cc-dark: #ffb0a2; --cc-bg: rgba(255, 142, 122, 0.18);
  --cal: #ff8e7a; --cal-dark: #ffb0a2; --cal-bg: rgba(255, 142, 122, 0.18);
  --s-spring: #7fd39a; --s-summer: #f2c35c; --s-fall: #f0a06a; --s-winter: #8fc4e6;
  --ck: #ff8e7a; --ck-dark: #ffb0a2; --ck-bg: rgba(255, 142, 122, 0.18);
  --mu: #ff8e7a; --mu-dark: #ffb0a2; --mu-bg: rgba(255, 142, 122, 0.18);
  --mn: #ff8e7a; --mn-dark: #ffb0a2; --mn-bg: rgba(255, 142, 122, 0.18);
  --tailor: #ff8e7a; --tailor-dark: #ffb0a2; --tailor-bg: rgba(255, 142, 122, 0.18);
  --sh: #ff8e7a; --sh-dark: #ffb0a2; --sh-bg: rgba(255, 142, 122, 0.18);
  --fx: #ff8e7a; --fx-dark: #ffb0a2; --fx-bg: rgba(255, 142, 122, 0.18);
  --cf: #ff8e7a; --cf-dark: #ffb0a2; --cf-bg: rgba(255, 142, 122, 0.18);
  --q-silver: #c3cad4; --q-gold: #f2c35c; --q-irid: #c9a8f2; --q-irid-bg: rgba(201, 168, 242, 0.16);
  --td: #ff8e7a; --td-dark: #ffb0a2; --td-bg: rgba(255, 142, 122, 0.16);
  --td-have: #7fd39a; --td-have-bg: rgba(127, 211, 154, 0.16); --td-have-border: #4f9a6a;
  --td-now: #f2c35c; --td-now-bg: rgba(242, 195, 92, 0.16); --td-now-border: #b08a3a;
  --love: #ffb0a2; --love-bg: #3d2a30;
  --like: #a4e4b6; --like-bg: #1f3a30;
  --dislike: #f2c35c; --dislike-bg: #3a3222;
  --hate: #f09a9a; --hate-bg: #3d2626;
  --neutral: #9cc1c6;
}

/* The site's dark-mode card rules hard-code the pink corner dot and border
 * (see the site-redesign note); on these pages they follow the palette. */
html.dark .project-card { border-left-color: var(--primary); }
html.dark .project-card::before { background: var(--primary); }
/* Fishing badges are white-on-accent; at night the accent is pastel coral, so the text goes dark. */
html.dark .fc-badge { color: #0d2230; }
/* Buttons that put white text on the accent: at night the coral is pastel, so the text goes dark. */
html.dark .cl-gb.picked { color: #0d2230; }
/* The picked gold quality pill hard-codes its text colour; deepen it by day. */
html:not(.dark) .pill.q-pill.picked.q-gold { color: #7a5600; }
