/* example-cards (.contracts/example-cards.md): the «Example song» block of the home page and the occasion pages
   (js/examples.js). Every rule is keyed on .exs / .exc, which only examples.js makes, and only on a page with cards:
   a page without cards keeps an empty mount with no box. The cover is the quiz's sound-step cover (sound-panel.css
   .snd-tile: a two-color gradient per genre, the name in white, the symbol big and white in the corner), the 13 color
   pairs repeated from sound-panel.css (whose rules are keyed on #snd) — test/example-cards.test.ts keeps them equal.
   Every control 44 px or more. */
.exs { padding: 34px 0 36px; }
.exs .lz-h2 { margin: 0; }
.exs-sub { margin: 8px auto 0; max-width: 460px; text-align: center; color: var(--muted); }
.exs-list { display: grid; gap: 14px; max-width: 460px; margin: 18px auto 0; }
@media (min-width: 900px) { .exs-list { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 940px; } }

.exc { min-width: 0; padding: 14px; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--paper); color: var(--ink); }
.exc-top { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 12px; align-items: start; }
.exc-cov { position: relative; display: block; width: 92px; height: 92px; padding: 8px 10px; border-radius: var(--r-sm); overflow: hidden;
  color: #fff; background: linear-gradient(135deg, var(--c1), var(--c2)); box-shadow: 0 4px 12px rgba(42, 30, 27, .14); }
.exc-g { position: relative; display: block; font: 700 .82rem/1.15 var(--sans); text-shadow: 0 1px 2px rgba(0, 0, 0, .25); }
.exc-sym { position: absolute; right: 3px; bottom: -6px; width: 44px; height: 44px; fill: none; stroke: #fff; stroke-width: 1.6;
  stroke-linecap: round; stroke-linejoin: round; opacity: .92; transform: rotate(-8deg); pointer-events: none; }
.exc-txt { min-width: 0; }
.exc-k { display: block; color: var(--accent-text); font: 700 .8rem/1.2 var(--sans); letter-spacing: .04em; text-transform: uppercase; }
.exc-h { margin: 4px 0 0; font: 650 1.12rem/1.25 var(--display); color: var(--ink); }
.exc-m { margin: 4px 0 0; color: var(--muted); font-size: .95rem; line-height: 1.35; }

.exc-ctl { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; align-items: center; gap: 10px; margin: 12px 0 0; }
.exc-pp { display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 0; border-radius: 50%; background: var(--accent);
  color: #fff; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.exc-pp svg { width: 18px; height: 18px; fill: currentColor; }
.exc-pp .i-play { margin-left: 2px; }
.exc-pp .i-pause, .exc-pp[data-playing="true"] .i-play { display: none; }
.exc-pp[data-playing="true"] .i-pause { display: block; }
.exc-seek { width: 100%; min-width: 0; min-height: 44px; margin: 0; accent-color: var(--accent); cursor: pointer; }
.exc-tm { color: var(--muted); font: 600 .85rem/1 var(--sans); font-variant-numeric: tabular-nums; white-space: nowrap; }
.exc-vo { margin: 2px 0 0; color: var(--ink-2); font: 600 .9rem/1.3 var(--sans); }

.exc-lyr { margin: 8px 0 0; border-top: 1px solid var(--line); }
.exc-lyr summary { display: flex; align-items: center; min-height: 44px; color: var(--accent-text); font: 700 1rem/1.2 var(--sans); cursor: pointer; }
.exc-lyr-b { max-height: 320px; overflow: auto; padding: 0 0 6px; }
.exc-sec { margin: 0 0 12px; line-height: 1.45; }
.exc-sec b { display: block; color: var(--muted); font: 700 .78rem/1.4 var(--sans); letter-spacing: .04em; text-transform: uppercase; }
.exc-like { display: flex; width: 100%; min-height: 48px; margin: 8px 0 0; justify-content: center; }

/* the 13 genres — sound-panel.css, pair for pair */
.exc-cov[data-g="country-love"] { --c1: #8E2F1F; --c2: #B83A25; }
.exc-cov[data-g="rnb"] { --c1: #2A1F47; --c2: #553A85; }
.exc-cov[data-g="piano-pop"] { --c1: #3D2A63; --c2: #62458F; }
.exc-cov[data-g="acoustic"] { --c1: #6B4214; --c2: #8F5A1C; }
.exc-cov[data-g="softrock70"] { --c1: #6E3A12; --c2: #9C5A22; }
.exc-cov[data-g="upbeat-country"] { --c1: #7A4B00; --c2: #9A6005; }
.exc-cov[data-g="feelgood"] { --c1: #8A2A55; --c2: #B23C6E; }
.exc-cov[data-g="soul60"] { --c1: #5A2A0A; --c2: #8A4312; }
.exc-cov[data-g="heartland"] { --c1: #123848; --c2: #1D5E73; }
.exc-cov[data-g="worship"] { --c1: #1F405A; --c2: #33678A; }
.exc-cov[data-g="gospel"] { --c1: #43205F; --c2: #6E3792; }
.exc-cov[data-g="country-gospel"] { --c1: #4E3016; --c2: #7A5029; }
.exc-cov[data-g="xmas"] { --c1: #0F4A28; --c2: #1A6B3D; }
.exc-cov[data-g="gentle-piano"] { --c1: #3E4A5C; --c2: #61718A; } /* memory-refs-live: Gentle Piano & Strings */
