/* Tallyrow: the site's own look, on top of the Schlosser Studio kit (/studio/studio.css, kit version 2).
   Palette "graphite needle case": a neutral grey page so yarn colors read true, one dye-red accent (cochineal).
   Dark is the default; the app can switch to light with data-ss-theme="light" on <html> (DESIGN.md section 2).
   Checked with the kit's check-accent tool on 2026-11-24: dark, dark with the footer color and --light, every line PASS. */
:root {
  --ss-bg: #1c1b1a;            /* graphite needle case: the page */
  --ss-surface: #292826;       /* cards, sheets, the counter well */
  --ss-ink: #f2efea;           /* body text, the count */
  --ss-muted: #c6c1b9;         /* labels, units */
  --ss-line: #46433e;          /* rules, swatch and strip edges */
  --ss-accent: #ff7088;        /* cochineal: buttons, stripe, focus ring, repeat ticks */
  --ss-accent-ink: #1c1b1a;    /* text on the accent */
  --ss-accent-text-dark: #ffa3b1; /* links */
  --ss-footer-bg: #141312;
}
:root[data-ss-theme="light"] {
  --ss-bg: #ecebe8;            /* undyed-cotton grey */
  --ss-surface: #ffffff;
  --ss-ink: #1c1b1a;
  --ss-muted: #57534d;
  --ss-line: #c9c6c0;
  --ss-accent: #b8233f;
  --ss-accent-ink: #ffffff;
  --ss-accent-text: #a51f39;
  --ss-footer-bg: var(--ss-surface);
}

/* The full edition (the Android app, or a phone that remembers it) never shows a way to the buy box: app/js/edition-boot.js
   marks <html data-edition="full"> before the first paint, and this hides every link to /android/ and the list item around it. */
[data-edition="full"] a[href^="/android"],
[data-edition="full"] li:has(> a[href^="/android"]) { display: none !important; }

/* The Google Play app (opened at /app/?src=play, kept for the visit) is the free lite with no way to a buy path and no mention of
   one: edition-boot.js marks <html data-platform="play"> before the first paint. Same hiding of /android/ links, the header's
   nav (its words are "Free version" and "Full edition"), and every block a page marks .web-only (the website's own words about
   buying or another edition); .play-only is the Play app's replacement line, shown only there. */
[data-platform="play"] a[href^="/android"],
[data-platform="play"] li:has(> a[href^="/android"]),
[data-platform="play"] .ss-nav,
[data-platform="play"] .web-only { display: none !important; }
.play-only { display: none; }
[data-platform="play"] li.play-only { display: list-item; }
[data-platform="play"] .ss-actions.play-only { display: flex; }
