/* css.slopped.site exhibit: Who’s on tonight. From css/exhibits/bill.mjs. */
.x-bill .bill { display: grid; gap: 16px; }
.x-bill .kinds { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; border: 0; }
.x-bill legend { margin-bottom: 8px; padding: 0; font-weight: 700; }
.x-bill .kind { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1.5px solid var(--ink); border-radius: 999px; font-weight: 700; cursor: pointer; }
.x-bill .kind input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.x-bill .kind:has(:checked) { background: var(--ink); color: var(--paper); }
.x-bill .kind:has(:checked) span::before { content: "\2713  "; }
.x-bill .kind:has(:focus-visible) { outline: 3px solid var(--focus); outline-offset: 3px; }
.x-bill .acts { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.x-bill .act { display: grid; align-content: start; gap: 2px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
.x-bill .act b { font-size: 18px; letter-spacing: -.3px; }
.x-bill .genre { justify-self: start; padding: 0 8px; border-radius: 999px; background: var(--acid); color: var(--on-acid); font-size: 13px; font-weight: 700; }
.x-bill .line { color: var(--muted); font-size: 14px; }
.x-bill .count { margin: 0; font: 1000 26px/1.1 var(--head); letter-spacing: -.6px; font-synthesis: none; }
@media (forced-colors: active) { .x-bill .kind:has(:checked) { forced-color-adjust: none; background: Highlight; color: HighlightText; } }
/* key */
/* tick any kind and every act hides, then the ticked kinds come back */
.x-bill .bill:has(.kinds :checked) .act { display: none; }
.x-bill .bill:has(#k-human:checked) .act[data-being=human],
.x-bill .bill:has(#k-robot:checked) .act[data-being=robot],
.x-bill .bill:has(#k-animal:checked) .act[data-being=animal],
.x-bill .bill:has(#k-slop:checked) .act[data-being=slop],
.x-bill .bill:has(#k-alien:checked) .act[data-being=alien] { display: grid; }

/* count what's showing: a hidden act is display: none, and boxes that aren't drawn don't count */
.x-bill .acts { counter-reset: shown; }
.x-bill .act { counter-increment: shown; }
.x-bill .count::before { content: "Showing " counter(shown) " of 14 acts"; }
/* /key */

/* live support notes (built from css/exhibits.js) */
.sup-has .sup-no { display: none; }
@supports not selector(:has(*)) { .sup-has .sup-yes { display: none; } .sup-has .sup-no { display: inline; } .sup-has { --sup: var(--no); } }
.sup-counters .sup-no { display: none; }
@supports not (counter-increment: a) { .sup-counters .sup-yes { display: none; } .sup-counters .sup-no { display: inline; } .sup-counters { --sup: var(--no); } }
