/* Sprint 13 — `parchment` legacy theme.
 *
 * Warm-cream paper, olive felt + russet accents — an aged-manuscript
 * vibe. Migrated from public/styles/themes.css (Sprint 7 legacy axis).
 *
 * Self-contained per the Sprint 13 refactor contract: every theme
 * file ships all 13 primary tokens + card-back tokens.
 *
 * Authoring note: don't put leading `--name:` in comments — the L5
 * contrast linter regex matches the first occurrence.
 */

body[data-theme="parchment"] {
  --bg:          #efe0bf;
  --paper:       #fff6d8;
  --ink:         #2d2216;
  --ink-soft:    #7a6348;
  --felt-mid:    #8da369;
  --card-bg:     #fffaf0;
  --card-border: #d7c7a2;
  --red:         #9f4635;
  --spade:       #261a0e;
  --accent:      #9a5c2c;
  --team-ns:     #527c45;
  --team-ew:     #9a5c2c;
  --amber:       #f59e0b;
  /* Sprint 11 L5 A3 — contrast audit. color-mix(in oklab, #527c45 70%, black)
     resolves to ≈ #2f4a27. Contrast on paper (#fff6d8) ≈ 9.12:1 — passes AA
     (≥4.5:1) by wide margin. No baking needed. */
  --name-on-paper-ns: color-mix(in oklab, var(--team-ns) 70%, black);
  /* Sprint 13 bespoke card back — Victorian filigree. Aged parchment
     ground, sepia/brown corner flourishes, central wreath surrounding
     a small spade. Spiral curves at each corner suggest an old playing-
     card maker's mark from the 1800s. */
  --card-back-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 144'%3E%3Crect width='100' height='144' fill='%23e8dec0'/%3E%3Crect x='4' y='4' width='92' height='136' fill='none' stroke='%237c3a1a' stroke-width='0.8'/%3E%3Crect x='8' y='8' width='84' height='128' fill='none' stroke='%237c3a1a' stroke-width='0.4'/%3E%3Cg fill='none' stroke='%237c3a1a' stroke-width='0.7' opacity='0.85'%3E%3Cpath d='M 12 12 q 8 0 8 8 q 0 -8 8 -8 M 12 12 q 0 8 8 8 q -8 0 -8 8'/%3E%3Cpath d='M 88 12 q -8 0 -8 8 q 0 -8 -8 -8 M 88 12 q 0 8 -8 8 q 8 0 8 8'/%3E%3Cpath d='M 12 132 q 8 0 8 -8 q 0 8 8 8 M 12 132 q 0 -8 8 -8 q -8 0 -8 -8'/%3E%3Cpath d='M 88 132 q -8 0 -8 -8 q 0 8 -8 8 M 88 132 q 0 -8 -8 -8 q 8 0 8 -8'/%3E%3C/g%3E%3Ccircle cx='50' cy='72' r='22' fill='none' stroke='%237c3a1a' stroke-width='0.8'/%3E%3Ccircle cx='50' cy='72' r='17' fill='none' stroke='%237c3a1a' stroke-width='0.4'/%3E%3Cg stroke='%237c3a1a' stroke-width='0.5' fill='none' opacity='0.7'%3E%3Cpath d='M 28 72 q 4 -8 12 -8 M 72 72 q -4 -8 -12 -8 M 28 72 q 4 8 12 8 M 72 72 q -4 8 -12 8'/%3E%3C/g%3E%3Ctext x='50' y='82' font-family='Georgia, serif' font-size='22' text-anchor='middle' fill='%237c3a1a'%3E%E2%99%A0%3C/text%3E%3C/svg%3E");
  --card-back-size: 100% 100%;
  --card-back-repeat: no-repeat;
  --card-back-position: center;
  --card-back-mask: none;
  --card-emblem-display: none;
}
