/* Theme C - retro tackle shop (Joe 2026-12-06: "c"; docs/mockups/ui-styles.jpg row C). The ONLY theme.
   Cream price-card paper, hand-painted sign headings, slab-serif + typewriter text, red / forest green / mustard / navy,
   tackle-box compartment cards, enamel-sign buttons. Flat colours: no gradients (test/theme.test.mjs checks).
   Variables first; the few rules below only restyle what /app.css lays out. Fonts: SIL OFL, self-hosted in /fonts. */
@font-face { font-family: "Alfa Slab One"; font-weight: 400; font-display: swap; src: url(/fonts/alfa-slab-one-400.woff2) format("woff2"); }
@font-face { font-family: "Zilla Slab"; font-weight: 600; font-display: swap; src: url(/fonts/zilla-slab-600.woff2) format("woff2"); }
@font-face { font-family: "Zilla Slab"; font-weight: 700; font-display: swap; src: url(/fonts/zilla-slab-700.woff2) format("woff2"); }
@font-face { font-family: "Courier Prime"; font-weight: 400; font-display: swap; src: url(/fonts/courier-prime-400.woff2) format("woff2"); }

:root {
  --cream: #f4e8c8; --paper: #fbf3dc; --red: #c43a28; --green: #2e5a36; --green-dk: #20412a; --mustard: #e1b44a;
  --navy: #22385e; --tan: #b48a55; --brown: #4a3220;
  --slab: "Zilla Slab", Rockwell, "Roboto Slab", Georgia, serif;
  --sign: "Alfa Slab One", Rockwell, "Roboto Slab", Georgia, serif;
  --type: "Courier Prime", "Courier New", monospace;

  --font: 600 17px/1.35 var(--slab);
  --brand-font: 400 22px/0.95 var(--sign);
  --head-font: 400 21px/1.2 var(--sign);
  --btn-font: 400 25px/1.1 var(--sign);
  --chip-font: 700 15px/1.2 var(--slab);
  --tab-font: 700 15px/1 var(--slab);
  --card-font: 700 15px/1.2 var(--slab);
  --r: 7px;
  --ink: #2b2116; --ink-2: #6b5a43; --brand: var(--green); --ink-field: var(--brown);
  /* Price-card paper: flat cream plus a faint SVG fibre speckle (not a gradient). */
  --bg: var(--cream) url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="120" height="120"><filter id="n"><feTurbulence type="fractalNoise" baseFrequency=".9" numOctaves="2" stitchTiles="stitch"/><feColorMatrix values="0 0 0 0 .35 0 0 0 0 .25 0 0 0 0 .1 0 0 0 .07 0"/></filter><rect width="120" height="120" filter="url(%23n)"/></svg>');
  --bar: var(--cream);
  --edge: var(--brown);
  --panel: var(--paper);
  --panel-shadow: inset 0 0 0 3px var(--paper), inset 0 0 0 5px rgba(180, 138, 85, .55), 0 3px 0 rgba(74, 50, 32, .35);
  --head: var(--green); --head-bg: var(--mustard); --head-border: 3px solid var(--brown);
  --chip: var(--green); --field: var(--paper);
  --accent: var(--red); --accent-ink: var(--paper); --btn-shadow: inset 0 0 0 3px var(--accent), inset 0 0 0 5px var(--paper), 0 3px 0 var(--brown);
  --hot: var(--red); --tab-on: var(--green-dk); --tab-on-ink: var(--mustard);
  /* Empty art slot: flat tan tackle-box stripes, drawn in SVG so there is no gradient. */
  --skeleton: #dccfa8 url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24"><path d="M-6 6 6-6M0 24 24 0M18 30 30 18" stroke="%23cbbb8f" stroke-width="7"/></svg>');
  --rule: rgba(180, 138, 85, .6);
  /* Red-and-white crankbait with two treble hooks. */
  --lure: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 40 32"><path d="M4 14c6-9 22-10 31-2l3-4v9c-9 8-26 8-34-3z" fill="%23fbf3dc" stroke="%234a3220" stroke-width="2"/><path d="M14 8c4 3 4 12 0 15M22 7c4 4 4 12 0 16" stroke="%23c43a28" stroke-width="4"/><circle cx="9" cy="13" r="2.2" fill="%234a3220"/><path d="M12 22v5m-2 0a2 2 0 0 0 4 0M28 22v5m-2 0a2 2 0 0 0 4 0" fill="none" stroke="%234a3220" stroke-width="1.6"/></svg>');
}

header.top { border-bottom: 3px double var(--green); }
.brand .lure { width: 38px; }
.brand .name { color: var(--green); letter-spacing: .5px; text-shadow: 1.5px 1.5px 0 var(--mustard); }
.search input { border-color: var(--green); border-radius: 10px; }
.avatar { border-color: var(--mustard); background-color: var(--green); box-shadow: 0 0 0 2px var(--brown); }
header.top .back { color: var(--paper); }

/* Chips: small green enamel tags; the picked one is red. */
.chip { color: var(--paper); border-color: var(--green-dk); border-radius: 9px; }
.chip.on { border-color: #8d2618; }

/* Panels: tackle-box compartments (tan double rim on paper). The heading is a painted mustard shop sign. */
.panel { border-color: var(--tan); }
.panel > h2 { padding: 1px 16px 3px; box-shadow: inset 0 -3px 0 rgba(74, 50, 32, .18), 0 2px 0 var(--brown); }

/* Enamel sign button: red plate, cream pinstripe, dark edge. */
.btn { letter-spacing: 1px; border-radius: 10px; }
.btn:active { transform: translateY(2px); box-shadow: inset 0 0 0 3px var(--accent), inset 0 0 0 5px var(--paper), 0 1px 0 var(--brown); }

/* Hero: a navy-framed picture; the tag is a red paper ribbon. */
.hero { border-color: var(--navy); }
.hero .tag { font-family: var(--sign); font-weight: 400; letter-spacing: .5px; color: var(--paper); border: 2px solid var(--paper);
  box-shadow: 0 0 0 2px #8d2618; transform: rotate(-3deg); }

/* Game cards: a compartment with a price-tag strip under the art. */
.card { border-color: var(--tan); box-shadow: 0 2px 0 rgba(74, 50, 32, .3); }
.card .art { border-bottom: 2px solid var(--tan); }
.card .t { color: var(--green-dk); text-align: left; padding: 6px 8px; }

/* Typewriter for small print, like a price tag. */
.muted { font: 400 15px/1.35 var(--type); letter-spacing: -.6px; }

/* Bottom bar: forest-green enamel with cream lettering. */
nav.tabs { background: var(--green); color: var(--paper); border-top: 3px solid var(--brown); }
.tab { border-right-color: var(--green-dk); }
