/* 18 Nov: the accessibility floor, after Hallmark (github.com/nutlope/hallmark, references/gates.md). Loaded last.
   Each rule fixes something tests/floor-audit.browser.js measured on a live page; nothing here changes the layout,
   the art or the brand colours. Notes: verification/hallmark-floor-20261118.md. */

/* 26a: the section tabs and the welcome menu showed no ring when reached with the keyboard */
html body .hdr #nav button:focus-visible, html body .hdr #nav .nav-drop > button:focus-visible,
html body .ld-opt:focus-visible, html body #demo-badge:focus-visible {
  outline: 2px solid var(--o) !important; outline-offset: -4px !important; }
html body .ld-opt:focus-visible { outline-offset: 2px !important; }

/* 40: small text that fell under 4.5:1 */
:root { --o-ink: #c2410c; } /* the orange, deep enough to read as small text on paper (4.6:1); fills keep --o */
#shell .gchip:not(.on) span, #shell .gchip:not(.on) small { color: #5f594c !important; }          /* genre counts: 3.6 → 5.5 */
#shell .gchip.on span, #shell .gchip.on small, #shell .erabar .on small, #shell .erabar .on span { color: #fff !important; } /* counts on orange: 2.5 → 3.1, as the label */
html body .bg-sim em:not(.bg-when), html body .roster-tile:not(.picked):not(.ghost) em, html body .pc-name { color: var(--o-ink) !important; }
html body #view-blend .roster-tile.ghost:not(.picked) em { color: #5f594c !important; } /* COMPARE on the more-people tiles: 4.3 → 6 */
html body .bg-sim small { color: #5a5f53 !important; }
html body .bg-sim em.bg-when { color: #0e6e37 !important; }
html body .roster-tile.picked small { color: #c9c4b4 !important; } /* the picked (dark) tile kept its grey line: 2.2 → 8 */

/* 49a: labels that broke onto two lines */
#shell .year-rail .rail-more, html body #roster-sort button { white-space: nowrap !important; }
@media (max-width: 760px) { html body #roster-sort button { font-size: 10px !important; letter-spacing: .02em !important; padding-inline: 8px !important; } }

/* 39a: small tap targets on touch screens get a bigger hit area without growing */
@media (hover: none), (max-width: 760px) {
  html body .hdr #demo-badge, html body #fol-all, html body .track-download { position: relative; }
  html body .hdr #demo-badge::after, html body #fol-all::after, html body .track-download::after { content: ""; position: absolute; inset: -8px -4px; }
}
