/* The look: "the digital reality" (content/brand/style-sheet.md). A dark screen, one
   amber signal colour for anything live, ruled ledger cells, labels typed in a monospace.
   One dark look for every visitor, whatever the device's light or dark setting (Mike, 18 November 2026;
   content/brand/proposals/dark-everywhere/dark-everywhere.css).
   Colours only from the style sheet's table: check.mjs fails on any other. */
@font-face { font-family: "Space Grotesk"; src: url("fonts/space-grotesk/SpaceGrotesk.ttf") format("truetype"); font-weight: 300 700; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("fonts/ibm-plex-mono/IBMPlexMono-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("fonts/ibm-plex-mono/IBMPlexMono-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }

:root {
  --bg: #0e1116;
  --ink: #e8e6df;
  --muted: #a3a69c;
  --signal: #ffb000;
  --rule: #2a2f38;
  --panel: #161a21;
  /* Draft yellow: unfinished-page notes and gaps only, never on a finished page. */
  --draft-bg: #4a3d0a;
  --draft-text: #fff1b8;
  --side: 48px;
  --mono: "IBM Plex Mono", monospace;
  --sans: "Space Grotesk", sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.55 var(--sans);
}
a { color: var(--signal); }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; }

/* Header: brand left, nav right, a rule beneath. */
header.site {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px 26px;
  padding: 18px var(--side);
  border-bottom: 1px solid var(--rule);
}
.brand { font: 700 18px var(--mono); letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink); text-decoration: none; }
.brand .mark { margin-right: 10px; vertical-align: -3px; }
header.site nav { display: flex; flex-wrap: wrap; gap: 4px 26px; font: 400 14px var(--mono); }
header.site nav a { color: var(--muted); text-decoration: none; }
header.site nav a:hover { text-decoration: underline; }
header.site nav a[aria-current="page"] { color: var(--signal); }

/* Reading pages: one column of about 46rem. */
main { max-width: 46rem; margin: 0 auto; padding: 40px 1.25rem 0; }
h1 { font: 700 44px/1.05 var(--sans); letter-spacing: -0.03em; margin: 0 0 24px; overflow-wrap: break-word; }
h2 { font: 700 28px/1.2 var(--sans); letter-spacing: -0.01em; margin: 2.2rem 0 0.8rem; }
h3 { font: 700 20px/1.3 var(--sans); margin: 1.8rem 0 0.6rem; }
.lede { font-size: 22px; line-height: 1.45; }
.small { font: 400 14px var(--mono); color: var(--muted); }

/* The home page: the full-width frame, prose at most 860px. */
.home main { max-width: none; padding: 0; }
.home .hero { padding: 56px var(--side) 40px; max-width: 1000px; }
.home .hero h1 { font-size: 76px; line-height: 0.98; margin: 0 0 32px; }
.home .hero p { font-size: 22px; line-height: 1.45; max-width: 860px; margin: 0 0 18px; }
.home main > section:not(.hero) { margin: 0 var(--side); padding: 28px 0 36px; border-top: 1px solid var(--rule); }
.home main > section:not(.hero) > :not(.latest-scores) { max-width: 860px; }
.home main > section > h2 { font: 700 15px/1.4 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }

/* Buttons: square, monospace; the main action filled in signal, the second outlined. */
.button, button {
  display: inline-block;
  background: var(--signal);
  color: var(--bg);
  border: 2px solid var(--signal);
  border-radius: 0;
  padding: 14px 22px;
  font: 600 16px/1.2 var(--mono);
  text-decoration: none;
  cursor: pointer;
}
.button.secondary { background: transparent; color: var(--signal); }
button:disabled { opacity: 0.5; cursor: not-allowed; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

/* The ledger: the home page's scoreboard block, one cell per row, as the board on the
   office wall (direction B). The week line is the board's heading, inside its 4px border,
   with a hook above; the rules between cells are the grid's 1px gaps showing the rule
   colour behind the panels. An agent on a ladder stands beside it at 1200px and wider; narrower, the cells go two
   across, so a longer figure (£1,234, £12,345) still fits a cell (the designer, 16 November). */
.latest-scores { margin: 0 0 18px; }
.latest-scores .week {
  position: relative;
  font: 400 14px var(--mono);
  color: var(--muted);
  margin: 34px 0 0;
  padding: 14px 22px;
  border: 4px solid var(--ink);
  border-bottom: 3px solid var(--ink);
}
.latest-scores .week::before { content: ""; position: absolute; left: 50%; top: -32px; width: 4px; height: 28px; margin-left: -2px; background: var(--ink); }
.latest-scores .cells {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--rule);
  border: 4px solid var(--ink);
  border-top: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}
.latest-scores .ladder { display: none; margin: 0; }
.latest-scores .ladder svg { display: block; width: 240px; height: 304px; }
.cell { background: var(--panel); padding: 18px 22px; min-width: 0; }
.cell .k, .cell .v, .cell .s { display: block; }
.cell .k { font: 400 12px/1.4 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.cell .v { font: 700 44px/1.1 var(--sans); letter-spacing: -0.02em; color: var(--signal); margin: 6px 0 4px; overflow-wrap: normal; }
.cell .s { font: 400 13px/1.45 var(--mono); color: var(--muted); }
/* The label's colon stays in the text (screen readers, copying) but not on screen. */
.cell .sep { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Footer: a rule above, monospace. */
footer.site { margin-top: 56px; padding: 22px var(--side) 30px; border-top: 1px solid var(--rule); font: 400 14px/1.55 var(--mono); color: var(--muted); }
footer.site p { margin: 0; }
footer.site a { color: var(--muted); text-decoration: underline; }
.ai-disclosure { font-weight: 700; color: var(--ink); }
footer.site p.ai-disclosure { margin-bottom: 8px; }

/* Forms. */
.signup { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 1rem 0; }
.signup .draft { flex-basis: 100%; margin: 0; }
/* The show's sign-ups: show.js's line under the form (the ceo 445d4198); nothing while it's empty. */
.signup .status { flex-basis: 100%; margin: 0; }
.signup .status:empty { display: none; }
.signup label { flex-basis: 100%; font: 400 14px var(--mono); color: var(--muted); }
.signup input[type="email"] {
  flex: 1 1 16rem;
  padding: 13px 14px;
  font: 400 16px var(--mono);
  border: 1px solid var(--muted);
  border-radius: 0;
  background: var(--panel);
  color: var(--ink);
}
.draft { background: var(--draft-bg); color: var(--draft-text); padding: 0.25rem 0.5rem; }
.gap { background: var(--draft-bg); color: var(--draft-text); padding: 0 0.25rem; }

/* Rendered documents. Tables and code scroll inside their own box; the page never does. */
.prose table { border-collapse: collapse; display: block; overflow-x: auto; font-size: 15px; margin: 1rem 0; }
.prose th, .prose td { border: 1px solid var(--rule); padding: 6px 10px; text-align: left; vertical-align: top; }
.prose th { font: 700 13px/1.4 var(--mono); }
.scoreboard .prose table { font: 400 14px/1.45 var(--mono); }
.prose td.signal { color: var(--signal); font-weight: 700; }
.prose pre, .prose code { font-family: var(--mono); font-size: 0.9em; }
.prose pre { overflow-x: auto; max-width: 100%; background: var(--panel); border: 1px solid var(--rule); padding: 12px 14px; }
.prose a, main a { overflow-wrap: anywhere; }
.prose table code { overflow-wrap: anywhere; }
/* On phones, tighter cells and smaller table text, so a four-column table fits 350 px (the constitution's amendments). */
@media (max-width: 480px) { .prose th, .prose td { padding: 6px; } .prose table { font-size: 13px; } }
/* Quoted panels: the panel colour with the signal as a left bar, as the show page's closed line. */
blockquote { margin: 1.25rem 0; padding: 12px 20px; background: var(--panel); border-left: 4px solid var(--signal); }
hr { border: 0; border-top: 1px solid var(--rule); margin: 2rem 0; }
/* A line of links only, as at the end of a story piece. */
p.links { display: flex; flex-wrap: wrap; gap: 8px 32px; }

/* The hero: the office in the machine (content/brand/assets/illustrations/hero-office.svg).
   At 1200px and wider the scene is behind the words, which keep to its quiet left
   part (the designer's check, 16 November: at 1000 the words ran over the drawing);
   narrower, it's a band under them, showing the desks. */
.hero-band {
  position: relative;
  overflow: hidden;
  background: var(--bg);
  color: var(--ink);
}
.hero-scene svg { display: block; }
@media (min-width: 1200px) {
  .hero-band .hero { position: relative; z-index: 1; min-height: 640px; }
  .hero-scene { position: absolute; inset: 0; }
  .hero-scene svg { width: 100%; height: 100%; }
  .home .hero { max-width: none; }
  .home .hero h1, .home .hero p { max-width: min(620px, 42vw); }
  .home .hero p.actions { max-width: none; }
  .home .hero h1 { font-size: clamp(44px, 5.3vw, 76px); }
  .latest-scores { display: grid; grid-template-columns: minmax(0, 1fr) 240px; column-gap: 0; align-items: end; }
  .latest-scores .week { grid-column: 1; grid-row: 1; }
  .latest-scores .cells { grid-column: 1; grid-row: 2; }
  .latest-scores .ladder { display: block; grid-column: 2; grid-row: 1 / span 2; align-self: end; }
}
@media (min-width: 700px) and (max-width: 1199.98px) {
  .hero-scene svg { width: 150%; margin-left: -50%; height: auto; }
}
@media (max-width: 699.98px) {
  .hero-scene svg { width: 180%; margin-left: -80%; height: auto; }
}
@media (max-width: 1199.98px) {
  .latest-scores .cells { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  :root { --side: 1.25rem; }
  main { padding-top: 28px; }
  h1, .home .hero h1 { font-size: 44px; line-height: 1.02; }
  .home .hero { padding: 36px var(--side) 28px; }
  .home .hero p, .lede { font-size: 19px; }
  .latest-scores .cells { grid-template-columns: minmax(0, 1fr); }
  .cell .v { font-size: 40px; }
}

/* Layout fixes, 16 November 2026 (the designer; Mike d2fb634a). A content column of at most 1200px with
   at least --side to each edge; prose at 19px in at most 760px; the hero band grows with wide screens so
   the office is never cropped; the panelling and floor lines fade out under the hero words; one button is
   the filled one; on phones the nav is one row under the name and the buttons are full width. */
:root { --gutter: max(var(--side), calc(50% - 600px)); }
header.site, footer.site { padding-left: var(--gutter); padding-right: var(--gutter); }
.home .hero { padding-left: var(--gutter); padding-right: var(--gutter); }
.home main > section:not(.hero) { margin-left: var(--gutter); margin-right: var(--gutter); }
body { font-size: 19px; line-height: 1.5; }
.home main > section:not(.hero) > :not(.latest-scores) { max-width: 760px; }
.actions .button:only-child { background: var(--signal); color: var(--bg); }
.hero-scene svg > g:first-of-type, .hero-scene svg > rect[fill="url(#lic-floor)"], .hero-scene svg > line[x2="1440"] { -webkit-mask-image: linear-gradient(to right, transparent 0 46%, #0e1116 54%); mask-image: linear-gradient(to right, transparent 0 46%, #0e1116 54%); }
@media (min-width: 1200px) {
  .hero-band .hero { min-height: max(640px, 44.45vw); padding-top: max(56px, 5.5vw); }
  .home .hero h1, .home .hero p { max-width: min(540px, 42vw); }
  /* The floor and the skirting band fade out under the words too (Mike's screenshot, 18 November: they ran full
     width, so the band was black down to the floor line and navy below it). Narrower, the scene shows whole. */
  .hero-scene svg > rect[y="420"], .hero-scene svg > rect[y="480"] { -webkit-mask-image: linear-gradient(to right, transparent 0 46%, #0e1116 54%); mask-image: linear-gradient(to right, transparent 0 46%, #0e1116 54%); }
}
@media (max-width: 700px) {
  header.site { flex-direction: column; align-items: stretch; gap: 10px; padding-top: 14px; padding-bottom: 12px; }
  header.site nav { justify-content: space-between; gap: 6px; font-size: 13px; }
  .actions .button { flex: 1 1 100%; text-align: center; }
}

/* A story piece's picture (web-coder, 16 November 2026, for the recipe piece; the designer to
   confirm): never wider than the column or taller than most of the screen, its proportions
   kept, the caption under it in the muted ink. */
figure.picture { margin: 1.5rem 0; }
figure.picture img { display: block; width: auto; height: auto; max-width: 100%; max-height: 80vh; }
figure.picture figcaption { margin-top: 8px; color: var(--muted); font-size: 15px; }

/* Phone tables (proposal, designer 24 Nov 2026). CSS only, no new words, no images, no inline styles.
   1. A cue that a table scrolls: a thin signal-coloured glow on the edge that has more table behind it.
      The `local` layers are page-coloured covers that scroll with the content and hide the glow once that edge is reached;
      the `scroll` layers are the glow, fixed to the box. */
.prose table {
  background:
    linear-gradient(to right, var(--bg) 30%, transparent) left center / 32px 100% no-repeat local,
    linear-gradient(to left, var(--bg) 30%, transparent) right center / 32px 100% no-repeat local,
    linear-gradient(to right, color-mix(in srgb, var(--signal) 55%, transparent), transparent) left center / 14px 100% no-repeat scroll,
    linear-gradient(to left, color-mix(in srgb, var(--signal) 55%, transparent), transparent) right center / 14px 100% no-repeat scroll;
}
/* 2. Links in the scoreboard's cells break only between words ("comedy" stays whole); the column grows and the table scrolls. */
.scoreboard .prose td a { overflow-wrap: normal; }

/* "How I picture Mike": the evidence board. The designer, 16 November 2026, for briefs/mike-evidence-board.md.
   To be appended to the site's style.css (src/style.css) by web-coder; no inline styles, no data: images (the CSP).
   The page's body carries class "picture-mike". Colours are the style sheet's six. The board is a picture, so it
   keeps the dark values in both colour schemes; the cards are bone paper with dark ink (16:1), their small print
   in the light-scheme muted (#5b5e5a, 5.5:1 on bone) and the "theory" stamp in the light-scheme signal
   (#8a5a00, 5.4:1 on bone). Amber #ffb000 on the board is only ever a line, a pin, a bar or a tag: never small text. */

.picture-mike main { max-width: none; padding-left: var(--gutter); padding-right: var(--gutter); }
.picture-mike .prose { max-width: 46rem; margin-left: auto; margin-right: auto; }

.evidence-board { max-width: 1200px; margin: 32px auto 8px; }

/* The wide board: a 3:2 picture with the cards laid on it in fixed places, strings drawn in the SVG beneath. */
.board-wide { position: relative; aspect-ratio: 3 / 2; display: none; }
.board-wide > svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.board-wide .card { position: absolute; width: 23.33%; }
.board-wide .card.l1 { left: 3.33%; top: 5%; }
.board-wide .card.l2 { left: 3.33%; top: 33%; }
.board-wide .card.l3 { left: 3.33%; top: 61%; }
.board-wide .card.r1 { left: 73.33%; top: 5%; }
.board-wide .card.r2 { left: 73.33%; top: 33%; }
.board-wide .card.r3 { left: 73.33%; top: 61%; }
.board-wide .card.fact { left: 33.33%; top: 66%; width: 21.67%; }
/* Card budget on the wide board (rows are 28% of the height apart, 224 px at 1200 wide, 206 px at 1104): a quote of up to
   60 characters and a deduction of up to 90 keep every card under 200 px tall. Longer text pushes into the card below. */

/* The narrow board: the drawing first, the cards in a grid under it. */
.board-narrow { display: block; }
.board-narrow > svg { display: block; width: 100%; height: auto; max-width: 440px; margin: 0 auto; }
.board-narrow .cards { display: grid; grid-template-columns: 1fr; gap: 14px; margin-top: 18px; }
@media (min-width: 600px) { .board-narrow .cards { grid-template-columns: 1fr 1fr; } .board-narrow .card.fact { grid-column: 1 / -1; } }

@media (min-width: 1200px) {
  .board-wide { display: block; }
  .board-narrow { display: none; }
}
/* On the narrowest wide boards (1104 to 1243 px) the cards lose a size, so the rows keep their gaps. */
@media (min-width: 1200px) and (max-width: 1339.98px) {
  .board-wide .card { padding-top: 32px; }
  .board-wide .card .said { font-size: 12px; margin-bottom: 8px; }
  .board-wide .card .guess { font-size: 14px; margin-bottom: 8px; }
}

/* The scene is shared by both boards through <use>; its holder draws nothing itself. */
.board-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

/* Index cards. */
.card { background: #e8e6df; color: #14171c; padding: 36px 14px 12px; border: 1px solid #d6d2c6; box-shadow: 0 1px 0 #0e1116; font-size: 15px; line-height: 1.35; font-family: var(--sans); }
.card::before { content: ""; position: absolute; top: 8px; left: calc(50% - 7px); width: 14px; height: 14px; border-radius: 50%; background: #ffb000; box-shadow: 0 0 0 2px #0e1116; }
.board-narrow .card { position: relative; }
.card p { margin: 0; }
.card .label { font: 700 10px/1.4 var(--mono); color: #5b5e5a; text-transform: uppercase; letter-spacing: 0.08em; margin: 0 0 2px; }
.card .said { font: 400 13px/1.45 var(--mono); color: #14171c; white-space: pre-wrap; margin: 0 0 10px; }
.card .when { color: #5b5e5a; }
.card .guess { font: 400 15px/1.35 var(--sans); color: #14171c; margin: 0 0 10px; }
.card .confidence { font: 400 12px/1.4 var(--mono); color: #14171c; margin: 0; display: flex; align-items: center; flex-wrap: wrap; gap: 6px 8px; }
.card .confidence svg { width: 72px; height: 6px; flex: none; display: block; }
.card .confidence rect { fill: #ffb000; }
.card .confidence rect.track { fill: #d6d2c6; }
.card .tag { position: absolute; top: -10px; left: -10px; width: 24px; height: 24px; border-radius: 50%; background: #ffb000; color: #0e1116; font: 700 13px/24px var(--mono); text-align: center; }
.card .stamp { position: absolute; top: 10px; right: 10px; font: 700 11px/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: #8a5a00; border: 1.5px solid #8a5a00; padding: 4px 6px; transform: rotate(-6deg); }
.card.fact { border: 3px solid #ffb000; }
.card.fact::before { left: 14px; }
.card.fact .stamp { color: #14171c; border-color: #14171c; transform: rotate(4deg); }
.card.fact .confidence rect { fill: #ffb000; }
/* Motion: the strings draw on once, the confidence bars fill once; both at rest under reduced motion. */
.board-wide .string { stroke-dasharray: 1200; stroke-dashoffset: 1200; animation: lic-string 1.2s ease-out 0.3s forwards; }
.card .confidence rect.fill { transform-box: fill-box; transform-origin: 0 0; transform: scaleX(0); animation: lic-fill 0.8s ease-out 0.9s forwards; }
@keyframes lic-string { to { stroke-dashoffset: 0; } }
@keyframes lic-fill { to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) {
  .board-wide .string { stroke-dasharray: none; stroke-dashoffset: 0; animation: none; }
  .card .confidence rect.fill { transform: none; animation: none; }
}

/* The page's words after the board. */
.picture-mike .after-board { margin-top: 28px; }

/* "One joke each": the comedy club page, /comedy/. The designer, 17 November 2026, for briefs/test-03-one-joke-each.md.
   To be appended to the site's style.css (src/style.css) by web-coder, before motion.css; no inline styles, no data: images
   (the CSP). The page's body carries class "comedy". Colours are the style sheet's six. The club scene is a picture, so it
   keeps the dark values in both colour schemes. The seven act cards are identical: the same panel, the same rule, the
   same letter style, the same rating row; nothing on a card says which act is whose. */

/* The page runs full width so the club can; the text blocks carry the gutter themselves. */
.comedy main { max-width: none; padding-left: 0; padding-right: 0; }
.comedy .prose { max-width: calc(46rem + 2 * var(--gutter)); margin-left: auto; margin-right: auto; padding-left: var(--gutter); padding-right: var(--gutter); }

/* The club: a wide picture under the title, edge to edge. At 1200 and over it is the whole room; narrower it crops to the stage. */
.club { position: relative; overflow: hidden; margin: 28px 0 0; background: #0e1116; border-top: 1px solid #2a2f38; border-bottom: 1px solid #2a2f38; }
.club svg { display: block; width: 100%; height: auto; }
@media (min-width: 700px) and (max-width: 1199.98px) { .club svg { width: 140%; margin-left: -20%; } }
@media (max-width: 699.98px) { .club svg { width: 200%; margin-left: -50%; } }
/* The clock's second hand, in the club's own coordinates (motion.css's lic-second is pinned to the hero's clock). */
.cc-second { transform-origin: 1290px 150px; animation: lic-tick 60s steps(60) infinite; }
/* The spotlight warms up once when the page opens: the cone and the pool fade in over a second. At rest they are simply on. */
.cc-light { animation: lic-warm 1.2s ease-out both; }
@keyframes lic-warm { from { opacity: 0; } }

/* Dividers, drawn in the page. */
.divider { display: block; width: calc(100% - 2 * var(--gutter)); max-width: 860px; height: auto; margin: 36px auto 0; }
.prose .divider { width: 100%; margin-top: 0; }

/* The closed state: one line above the cards, hidden until the closing time (web-coder sets and clears the hidden attribute).
   A ledger note: panel, rule, the signal as a left bar; the same width as the cards below it. */
.closed-line { box-sizing: border-box; width: calc(100% - 2 * var(--gutter)); max-width: 1100px; margin: 24px auto 0; padding: 12px 16px; background: var(--panel); border: 1px solid var(--rule); border-left: 4px solid var(--signal); font: 400 15px/1.5 var(--mono); color: var(--ink); }
.closed-line[hidden] { display: none; }

/* The bill: seven identical cards. One column; two from 1000px wide. The order is set by the server per visit. */
.acts { list-style: none; margin: 24px auto 0; padding: 0 var(--gutter); max-width: calc(1100px + 2 * var(--gutter)); display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
@media (min-width: 1000px) { .acts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.act { background: var(--panel); border: 1px solid var(--rule); padding: 18px 22px 20px; min-width: 0; display: flex; flex-direction: column; }
.act .k { font: 400 12px/1.4 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px; display: flex; align-items: baseline; gap: 10px; }
/* The act's letter is a glyph in the ledger's large-figure style (signal on panel is allowed for large figures only). */
.act .letter { font: 700 44px/1 var(--sans); letter-spacing: -0.02em; color: var(--signal); text-transform: none; }
.act .mic { width: 18px; height: 28px; flex: none; margin-left: auto; align-self: center; }
.act .joke { font: 400 19px/1.5 var(--sans); color: var(--ink); white-space: pre-wrap; overflow-wrap: break-word; margin: 0 0 18px; flex: 1 0 auto; }
.act .joke p { margin: 0 0 0.6em; }
.act .joke p:last-child { margin-bottom: 0; }

/* The rating row: five ledger cells, 1 to 5, as buttons. One per act per visit. */
.rate { margin: 0; }
.rate fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.rate legend { font: 400 13px/1.4 var(--mono); color: var(--muted); padding: 0; margin: 0 0 8px; }
.rate .scores { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1px; background: var(--rule); border: 1px solid var(--rule); max-width: 300px; }
.rate .score { display: block; width: 100%; min-height: 48px; margin: 0; padding: 0; background: var(--bg); color: var(--ink); border: 0; border-radius: 0; font: 700 18px/1 var(--mono); cursor: pointer; }
.rate .score:hover { color: var(--signal); box-shadow: inset 0 0 0 2px var(--signal); }
.rate .score[aria-pressed="true"] { background: var(--signal); color: var(--bg); }
.act.rated .score:not([aria-pressed="true"]) { color: var(--muted); cursor: default; }
.act.rated .score:not([aria-pressed="true"]):hover { color: var(--muted); box-shadow: none; }
/* Before the page's script enables them (web-coder builds them disabled), the controls look the same but do not invite a press. */
.act:not(.rated) .score:disabled { cursor: default; }
.act:not(.rated) .score:disabled:hover { color: var(--ink); box-shadow: none; }
.guess-button:disabled { cursor: default; }
.guess-button:disabled:hover { background: transparent; color: var(--signal); }
/* The line under the row: "Noted: 3 of 5." once stored, or one of the two refusal lines. Empty until then. */
.rate .done { font: 400 13px/1.4 var(--mono); color: var(--muted); margin: 8px 0 0; min-height: 0; }
.rate .done:empty { display: none; }

/* The human guess: one outlined button per card, the same on every card; one guess per visit. */
.guess { margin: 14px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.guess-button { background: transparent; color: var(--signal); border: 1px solid var(--signal); padding: 8px 12px; font: 400 14px/1.2 var(--mono); }
.guess-button:hover { background: var(--signal); color: var(--bg); }
.your-guess { font: 400 13px/1.4 var(--mono); color: var(--ink); margin: 0; }
.your-guess:empty { display: none; }
.act.guessed .guess-button, .acts.guess-made .guess-button { display: none; }

/* The share line: the address as text, the copy button beside it. */
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.share .address { font: 400 15px/1.4 var(--mono); color: var(--ink); background: var(--panel); border: 1px solid var(--rule); padding: 10px 12px; overflow-wrap: anywhere; }
.share .copy { padding: 10px 14px; font-size: 14px; }
.share .copied { font: 400 13px/1.4 var(--mono); color: var(--muted); }
.share .copied:empty { display: none; }

/* The sign-up: the home page's form, with the tube divider above it. */
.comedy .reveal .signup { margin-top: 1rem; }

@media (prefers-reduced-motion: reduce) {
  .cc-second, .cc-light { animation: none; }
}

/* "One joke each", round 2: the show. The designer, 17 November 2026, for briefs/test-03b-the-show.md.
   Appended to the site's style.css after comedy.css (which it reuses: .rate, .scores, .score, .done, .acts, .act, .share,
   the divider). No inline styles, no data: images, nothing from another server (the CSP). The page's body carries
   "comedy show". The acts bring their own look inside the frame; everything around the frame is ours: the bill line,
   the curtains, the footlights, the rating row. Colours are the style sheet's six; the stage keeps its dark values in
   both colour schemes, as the club picture does.

   States. The stage section carries data-state, set by web-coder's script:
     announce  the closed curtains with the opener, before the first act
     act       an act is playing in the frame
     rate      the act has gone still: the rating panel is over the lower part of the frame; a press moves on
     dq        the act was disqualified: the card says so and why; "Next act"
     end       the last act is done: the end card, with the sign-up and the comment box
   Without JavaScript the html element has no "js" class: the stage shows the poster and one line, and the acts are
   read as text in the bill below (ol.acts, round 1's cards). With it, the bill is clipped out of sight but kept for
   screen readers (the .sr-only pattern), its forms and links hidden so nothing invisible takes keyboard focus; the
   fragment #bill (by :target) still shows it in full. */

/* The stage: full width, the dark room. */
.stage { position: relative; background: #0e1116; color: #e8e6df; border-bottom: 1px solid #2a2f38; padding: 0 0 18px; overflow: hidden; container-type: inline-size; }
.stage-wrap { position: relative; margin: 0 auto; }

/* The bill line above the frame: which act is on, and the ticks for the whole bill. */
.bill-line { display: flex; align-items: center; justify-content: space-between; gap: 12px 18px; padding: 12px var(--gutter) 10px; font: 400 12px/1.4 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: #a3a69c; }
.bill-line .on { margin: 0; color: #e8e6df; white-space: nowrap; }
.bill-line .on b { font-weight: 700; color: #ffb000; }
.ticks { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 1px; background: #2a2f38; border: 1px solid #2a2f38; width: min(240px, 46vw); height: 10px; margin: 0; padding: 0; list-style: none; }
.ticks li { background: #161a21; }
.ticks li.done { background: #ffb000; }
.ticks li.now { background: #161a21; box-shadow: inset 0 0 0 2px #ffb000; }

/* The proscenium: the frame holds the width the screen allows, 16:9, and leaves room under it for the rating row on
   the first screen. The curtains stand in the gutters either side from 1200px. */
/* The curtains fill whatever the frame leaves either side (the stage is a size container, so 100cqw is its width without
   the scrollbar). */
/* The frame's width: never more than 1600, always 48px of curtain each side, and short enough that the rating row is on
   the first screen (the 290px is header, bill line, footlights and the rating row with its "Noted" line). At 1440 by
   900 that gives 1084 by 610; at 1920 by 1080, 1404 by 790. The stage is wider than the prose measure on purpose. */
.stage { --frame-w: min(1600px, calc(100cqw - 96px), calc((100vh - 290px) * 16 / 9)); }
.proscenium { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; align-items: start; }
.frame { position: relative; width: var(--frame-w); aspect-ratio: 16 / 9; background: #0e1116; border: 1px solid #2a2f38; overflow: hidden; }
.frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; background: transparent; }
.frame .poster { position: absolute; inset: 0; display: none; }
.frame .poster svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.curtain { display: block; position: absolute; top: 0; bottom: 0; width: calc((100cqw - var(--frame-w)) / 2); pointer-events: none; }
.curtain.left { left: 0; } .curtain.right { right: 0; }
.curtain svg { width: 100%; height: 100%; display: block; }
/* Below 700px the frame runs edge to edge: the phone stage is the whole width, and the curtains are gone. When one of
   our cards is in the frame rather than an act, the frame grows to fit the card (16:9 is only for the acts). */
@media (max-width: 699.98px) {
  .stage { --frame-w: 100cqw; }
  .curtain { display: none; }
  .frame { border-left: 0; border-right: 0; }
  .stage:not([data-state="act"]):not([data-state="rate"]):not([data-state="announce"]) .frame { aspect-ratio: auto; }
  .stage:not([data-state="act"]):not([data-state="rate"]):not([data-state="announce"]) .card-in-frame { position: relative; inset: auto; min-height: 56.25cqw; padding: 20px var(--gutter) 24px; }
  .card-in-frame .mic-art { display: none; }
}

/* The footlights: a row of lamps under the frame, warming up once when an act comes on. */
.footlights { display: block; width: var(--frame-w); height: 14px; margin: 0 auto; }
.footlights .lamp { fill: #ffb000; animation: lic-warm 1.2s ease-out both; }

/* The cards we show in the frame instead of an act: the announcement, a disqualification, the end. Same stage, our words. */
.card-in-frame { position: absolute; inset: 0; display: none; align-content: center; justify-items: start; padding: clamp(14px, 4%, 48px) clamp(16px, 6%, 72px); gap: clamp(8px, 2%, 18px); background: #0e1116; color: #e8e6df; }
.card-in-frame h2 { font: 700 clamp(22px, 4.2vw, 52px)/1.05 var(--sans); letter-spacing: -0.02em; margin: 0; max-width: 18ch; }
.card-in-frame p { font: 400 clamp(13px, 1.6vw, 20px)/1.45 var(--sans); margin: 0; max-width: 44ch; color: #e8e6df; }
.card-in-frame .k { font: 400 clamp(10px, 1vw, 13px)/1.4 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: #a3a69c; margin: 0; }
.card-in-frame .count { font: 700 clamp(40px, 9vw, 120px)/1 var(--sans); letter-spacing: -0.03em; color: #ffb000; margin: 0; }
.card-in-frame .count span { font-size: 0.3em; font-weight: 400; letter-spacing: 0; color: #e8e6df; }
.card-in-frame .signup-line { font: 400 clamp(12px, 1.2vw, 15px)/1.45 var(--mono); color: #a3a69c; margin-top: clamp(2px, 1%, 8px); max-width: 64ch; }
.card-in-frame .row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: clamp(4px, 1%, 10px); }
.card-in-frame .button { background: #ffb000; color: #0e1116; border: 1px solid #ffb000; }
.card-in-frame .button:hover { background: #e8e6df; border-color: #e8e6df; }
.card-in-frame a.text-link { color: #e8e6df; text-decoration-color: #ffb000; text-underline-offset: 3px; font: 400 clamp(12px, 1.2vw, 15px)/1.4 var(--mono); }
.card-in-frame .mic-art { position: absolute; right: 4%; bottom: 0; height: 70%; width: auto; opacity: 0.9; pointer-events: none; }
.card-in-frame .signup { margin-top: clamp(4px, 1%, 12px); display: flex; flex-wrap: wrap; gap: 8px 10px; align-items: end; }
.card-in-frame .signup label { font: 400 12px/1.4 var(--mono); color: #a3a69c; display: block; margin-bottom: 4px; }
.card-in-frame .signup input { background: #161a21; color: #e8e6df; border: 1px solid #2a2f38; padding: 10px 12px; font: 400 15px/1.2 var(--mono); min-width: min(300px, 60vw); }
.card-in-frame .signup button { background: #ffb000; color: #0e1116; border: 1px solid #ffb000; }

/* The end card (Mike, cf126156): a head (kicker, count, one line), then two choices as two bordered ledger cells, each
   with its own heading: the result by email on the left, the comment box on the right, side by side from 700px. On a
   phone they stack, and the frame grows to fit (the phone rule above). Neither choice ever hides the other: after a
   sign-up the email panel shows its sent line in place of the form (class "is-sent" on the section, set by the
   script), and after a comment the status line fills; the other panel is untouched either way. */
.end-card { gap: clamp(10px, 2%, 18px); padding-top: clamp(14px, 3%, 32px); padding-bottom: clamp(14px, 3%, 32px); align-content: center; }
.end-head { display: grid; justify-items: start; gap: clamp(4px, 1%, 8px); min-width: 0; }
.card-in-frame .end-head .count { font-size: clamp(34px, 6vw, 72px); }
.card-in-frame .two-things { font: 400 clamp(13px, 1.3vw, 17px)/1.4 var(--sans); color: #a3a69c; }
.choices { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(10px, 2%, 20px); width: 100%; min-width: 0; align-items: stretch; }
.choice { display: grid; align-content: start; justify-items: start; gap: clamp(6px, 1.2%, 10px); min-width: 0; padding: clamp(12px, 2.4%, 22px) clamp(14px, 2.6%, 24px); border: 1px solid #2a2f38; background: #0e1116; box-shadow: inset 3px 0 0 #ffb000; }
.card-in-frame .choice-h { font: 700 clamp(16px, 1.7vw, 22px)/1.25 var(--sans); color: #e8e6df; margin: 0; max-width: none; }
.card-in-frame .choice p { max-width: none; font-size: clamp(13px, 1.25vw, 16px); }
.card-in-frame .choice .signup-line { margin-top: 0; }
.card-in-frame .choice .signup { margin-top: 0; width: 100%; }
.card-in-frame .choice .signup input { min-width: 0; width: min(300px, 100%); box-sizing: border-box; }
.card-in-frame .choice .row { margin-top: 0; }
.card-in-frame .sent-line { display: none; font: 400 clamp(13px, 1.3vw, 16px)/1.45 var(--sans); color: #e8e6df; padding: 10px 12px; border: 1px solid #2a2f38; background: #161a21; }
.email-choice.is-sent .signup { display: none; }
.email-choice.is-sent .sent-line { display: block; }
/* The sign-up's status line (sending, failed): its own row under the field and button, hidden while empty. The same
   line in the reveal section's sign-up, below the stage, which has no panel. */
.signup .status { flex-basis: 100%; margin: 0; font: 400 clamp(12px, 1.2vw, 14px)/1.45 var(--mono); color: #a3a69c; max-width: none; }
.signup .status:empty { display: none; }
/* The sent line takes the focus when the form goes (the script gives it tabindex="-1"). */
.card-in-frame .sent-line:focus { outline: 2px solid #ffb000; outline-offset: 2px; }
/* On a preview build only, the build appends this span to the sent line; a release build refuses it. */
.card-in-frame .sent-line .preview-only { display: block; margin-top: 6px; font: 400 clamp(11px, 1vw, 13px)/1.4 var(--mono); color: #a3a69c; }
.card-in-frame .comment { display: grid; gap: 6px; width: 100%; min-width: 0; }
.card-in-frame .comment label { font: 700 clamp(15px, 1.5vw, 20px)/1.3 var(--sans); color: #e8e6df; }
.card-in-frame .comment .prompt { font: 400 clamp(13px, 1.3vw, 16px)/1.45 var(--sans); color: #e8e6df; }
.card-in-frame .comment textarea { box-sizing: border-box; width: 100%; min-height: clamp(72px, 14vh, 120px); resize: vertical; background: #161a21; color: #e8e6df; border: 1px solid #2a2f38; padding: 10px 12px; font: 400 15px/1.45 var(--mono); }
.card-in-frame .comment textarea:focus { outline: 2px solid #ffb000; outline-offset: 1px; }
.card-in-frame .comment .under { display: flex; justify-content: space-between; gap: 12px; font: 400 clamp(11px, 1vw, 13px)/1.45 var(--mono); color: #a3a69c; max-width: none; }
.card-in-frame .comment .under .left { flex: none; font-variant-numeric: tabular-nums; }
.card-in-frame .comment button { background: #ffb000; color: #0e1116; border: 1px solid #ffb000; }
.card-in-frame .comment .status { font: 400 clamp(12px, 1.1vw, 14px)/1.4 var(--mono); color: #a3a69c; }
@media (min-width: 700px) {
  .choices { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
/* Without JavaScript the comment box cannot work, so its panel goes and the email choice stands alone. */
html:not(.js) .comment, html:not(.js) .comment-choice { display: none; }

/* The closed curtains over the frame, and the opener on them (Mike, 60e6e35a). Shown closed in the announce state; when
   Start is pressed the script adds "opening" to the stage and the two halves slide out (1.1s), after which the script
   drops the class and the drapes are gone (display none) in every other state, so nothing sits over an act. They take
   no pointer events at any time. Under reduced motion the opening is skipped: the drapes are simply not there. */
.drapes { position: absolute; inset: 0; display: none; z-index: 1; overflow: hidden; pointer-events: none; }
.drapes .half { position: absolute; top: 0; bottom: 0; width: 50.5%; height: 100%; display: block; }
.drapes .half.left { left: 0; } .drapes .half.right { right: 0; }
.stage[data-state="announce"] .drapes, .stage.opening .drapes { display: block; }
.stage.opening .drapes .half.left { animation: lic-draw-left 1.1s cubic-bezier(0.65, 0, 0.35, 1) both; }
.stage.opening .drapes .half.right { animation: lic-draw-right 1.1s cubic-bezier(0.65, 0, 0.35, 1) both; }
@keyframes lic-draw-left { from { transform: translateX(0); } to { transform: translateX(-102%); } }
@keyframes lic-draw-right { from { transform: translateX(0); } to { transform: translateX(102%); } }
.card-in-frame.announce { z-index: 2; background: transparent; justify-items: center; text-align: center; align-content: center; padding-top: clamp(28px, 9%, 96px); }
.card-in-frame.announce .opener { font: 700 clamp(22px, 4.6vw, 60px)/1.05 var(--sans); letter-spacing: -0.02em; margin: 0; max-width: 16ch; color: #e8e6df; }
/* The version tag (Mike, 691abd2e): small, mono, under the title; the number goes up by one each round. */
.card-in-frame.announce .version { font: 400 clamp(10px, 0.9vw, 13px)/1 var(--mono); letter-spacing: 0.14em; margin: 0; color: #a3a69c; display: flex; gap: 1.2em; }
.card-in-frame.announce .version .ep { text-transform: uppercase; color: #ffb000; }
/* The episode's title: one line of the sans under the label, smaller than the question, bigger than the instructions. */
.card-in-frame.announce .ep-title { font: 400 clamp(14px, 1.7vw, 24px)/1.25 var(--sans); margin: 0; max-width: 44ch; color: #e8e6df; }
.card-in-frame.announce .small { font: 400 clamp(11px, 1vw, 14px)/1.45 var(--mono); color: #a3a69c; max-width: 60ch; margin: 0; }
.card-in-frame.announce .row { justify-content: center; }
@media (max-width: 699.98px) {
  .card-in-frame.announce { padding: 18px 14px 6px; gap: 3px; }
  .card-in-frame.announce .opener { font-size: 20px; line-height: 1; }
  .card-in-frame.announce .version { font-size: 10px; }
  .card-in-frame.announce .ep-title { font-size: 14px; line-height: 1.2; }
  .card-in-frame.announce .small { font-size: 10px; line-height: 1.3; }
  .card-in-frame.announce .row { gap: 4px 14px; margin-top: 2px; }
  .card-in-frame.announce .button { padding: 8px 16px; }
}

/* The states: announce, act, rate, dq, end (the ceo, ec66bacb: no "rated" state and no "Next act" after a rating; a press
   on a score goes straight to the next act). */
.stage[data-state="announce"] .announce, .stage[data-state="dq"] .dq-card, .stage[data-state="end"] .end-card { display: grid; }
.stage[data-state="announce"] iframe, .stage[data-state="dq"] iframe, .stage[data-state="end"] iframe { display: none; }
.stage[data-state="announce"] .ticks li { background: #161a21; box-shadow: none; }

/* The rating over the stage (the ceo, ec66bacb). State "rate": a few seconds after the act's measured still frame the
   panel rises over the lower part of the frame, the act's last frame still showing above it. It holds the line, the five
   cells, "Play it again" and the small "Skip without rating". No state line is shown after a press (screen readers hear
   "Noted: n of 5" from the hidden live region); the press itself moves the show on. */
.rate-overlay { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; display: none; grid-template-columns: minmax(0, 1fr); gap: 10px 28px; align-items: end; padding: clamp(10px, 2.6%, 26px) clamp(14px, 5%, 56px) clamp(10px, 2.6%, 26px); background: #0e1116; border-top: 2px solid #ffb000; color: #e8e6df; }
.stage[data-state="rate"] .rate-overlay { display: grid; animation: lic-rate-panel-up 0.35s ease-out both; }
/* Named for this panel alone: the site's style.css already has a "lic-rise" (a rise-and-fade), and a later keyframes
   block with the same name wins, which made the panel vanish in the 17 Nov design-check build. */
@keyframes lic-rate-panel-up { from { transform: translateY(100%); } to { transform: none; } }
@keyframes lic-fade { from { opacity: 0; } to { opacity: 1; } }
@media (min-width: 700px) { .rate-overlay { grid-template-columns: minmax(0, 1fr) auto; } }
.rate-overlay .rate { margin: 0; }
.rate-overlay .line { font: 400 clamp(14px, 1.6vw, 22px)/1.35 var(--sans); margin: 0 0 8px; color: #e8e6df; }
.rate-overlay .scores { background: #2a2f38; border-color: #2a2f38; }
.rate-overlay .score { background: #161a21; color: #e8e6df; }
.rate-overlay .score:hover { color: #ffb000; box-shadow: inset 0 0 0 2px #ffb000; }
.rate-overlay .score:active { background: #ffb000; color: #0e1116; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.way-on { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; justify-content: flex-start; }
@media (min-width: 700px) { .way-on { flex-direction: column; align-items: flex-end; gap: 6px; } }
.way-on .text-button { background: transparent; border: 0; padding: 4px 0; color: #e8e6df; font: 400 14px/1.3 var(--mono); text-decoration: underline; text-decoration-color: #ffb000; text-underline-offset: 3px; cursor: pointer; }
.way-on .text-button:hover { color: #ffb000; }
.way-on .skip { font-size: 12px; color: #a3a69c; }
/* Phones (the ceo, 78266598): the panel sits under the act, not over it, so the act's last frame, usually the punchline,
   stays whole while the visitor rates it. The frame drops its fixed ratio and the iframe keeps 16:9 on its own. */
@media (max-width: 699.98px) {
  .stage[data-state="rate"] .frame { aspect-ratio: auto; }
  .stage[data-state="rate"] .frame iframe { position: relative; height: auto; aspect-ratio: 16 / 9; }
  .stage[data-state="rate"] .rate-overlay { position: static; animation: lic-fade 0.3s ease-out both; }
  .rate-overlay { padding: 10px var(--gutter) 10px; gap: 4px; }
  .rate-overlay .line { font-size: 14px; margin-bottom: 4px; }
  .rate-overlay .score { min-height: 44px; }
  .way-on .text-button { font-size: 13px; }
  .way-on .skip { font-size: 12px; }
}

/* Without JavaScript: the poster stands in the frame with one line; the bill of jokes below is the show. With it, the
   bill is out of sight (see the rules after .nojs-line) but still read by screen readers. */
html:not(.js) .frame iframe, html:not(.js) .rate-overlay, html:not(.js) .drapes, html:not(.js) .card-in-frame, html:not(.js) .ticks { display: none; }
/* The page lands in state "announce" in the markup. Its state rules (.stage[data-state="announce"] .announce, .drapes)
   outweigh the plain no-JS rules above, so without JavaScript the curtain and a dead Start button showed over the
   poster (web-coder's build, 17 November). These repeat the no-JS rules at a higher specificity for every state. */
html:not(.js) .stage[data-state] .frame iframe, html:not(.js) .stage[data-state] .rate-overlay, html:not(.js) .stage[data-state] .drapes, html:not(.js) .stage[data-state] .card-in-frame, html:not(.js) .stage[data-state] .ticks { display: none; }
/* Rating needs JavaScript, so without it the text bill shows the jokes alone: no buttons that cannot work. With it, the
   bill shown in full at #bill keeps its rating forms. */
html:not(.js) .bill .rate { display: none; }
html:not(.js) .frame .poster, html:not(.js) .stage .nojs-line { display: block; }
.stage .nojs-line { display: none; margin: 12px auto 0; width: var(--frame-w); font: 400 14px/1.45 var(--mono); color: #a3a69c; }
@media (max-width: 699.98px) { .stage .nojs-line { width: auto; padding-left: var(--gutter); padding-right: var(--gutter); } }
.stage .nojs-line a { color: #e8e6df; text-decoration-color: #ffb000; }
/* With JavaScript, and not asked for by #bill: the bill stays in the accessibility tree but out of sight (the same
   clip as .sr-only, not display: none, so screen readers still reach the jokes as words), and every control inside it
   is removed, so keyboard Tab never lands on something that cannot be seen. */
html.js .bill:not(:target) { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
html.js .bill:not(:target) form, html.js .bill:not(:target) a, html.js .bill:not(:target) button, html.js .bill:not(:target) input, html.js .bill:not(:target) textarea, html.js .bill:not(:target) [tabindex] { display: none; }
.bill { margin-top: 28px; }
.bill .prose h2 { margin-bottom: 0; }

/* The explainer under the stage keeps round 1's measure and cards. */
.show .explainer { margin-top: 24px; }

@media (prefers-reduced-motion: reduce) {
  .footlights .lamp { animation: none; }
  .stage.opening .drapes { display: none; }
  .stage[data-state="rate"] .rate-overlay { animation: none; }
}

.show main { padding-top: 0; }
.show .frame { box-sizing: content-box; }
.show .curtain { width: calc((100cqw - var(--frame-w)) / 2 - 1px); }
.show .stage[data-state="rate"] .frame { aspect-ratio: auto; }
.show .stage[data-state="rate"] .frame iframe { position: relative; height: auto; aspect-ratio: 16 / 9; }
.show .stage[data-state="rate"] .rate-overlay { position: static; animation: lic-fade 0.3s ease-out both; }
@media (prefers-reduced-motion: reduce) { .show .stage[data-state="rate"] .rate-overlay { animation: none; } }
.show .stage-help { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 18px; margin: 10px 0 0; padding: 0 var(--gutter); color: #a3a69c; font: 400 13px/1.3 var(--mono); }
.show .stage-help[hidden] { display: none; }
.show .stage-help .text-button { background: transparent; border: 0; padding: 8px 0; color: #e8e6df; font: inherit; text-decoration: underline; text-decoration-color: #ffb000; text-underline-offset: 3px; cursor: pointer; }
.show .stage-help .text-button:hover { color: #ffb000; }
.show .stage-help .help-skip { color: #a3a69c; }
@media (max-width: 479.98px) { .show .stage-help .ask { flex: 0 0 100%; } }
/* Motion for the office in the machine (16 November 2026). Goes into the site's own stylesheet, because the
   site's security header refuses inline style blocks. The classes are on elements inside the inline SVGs in
   assets/illustrations/ and on the scoreboard's first value. Everything stands still for readers who have
   asked for reduced motion, and nothing here carries a fact the words don't. */

.lic-cursor { animation: lic-blink 1.1s steps(1) infinite; }
.lic-steam { animation: lic-rise 2.8s ease-in-out infinite; }
.lic-steam-two { animation-delay: 0.9s; }
.lic-capsule { animation: lic-travel 7s linear infinite; }
.lic-second { transform-origin: 1200px 130px; animation: lic-tick 60s steps(60) infinite; }

/* The week's figure typed into its ledger cell: the value is revealed left to right in steps by a clip, whatever its length, and keeps a blinking caret. (A width animation would cut a longer figure off, which would hide a fact; web-coder's point, 16 November.) */
.lic-typed { display: inline-block; vertical-align: bottom; white-space: nowrap; border-right: 4px solid var(--signal); padding-right: 4px; animation: lic-type 1.2s steps(3) 1s both, lic-caret 1s steps(1) infinite; }

@keyframes lic-blink { 50% { opacity: 0.2; } }
@keyframes lic-rise { 0% { transform: translateY(0); opacity: 0.9; } 100% { transform: translateY(-16px); opacity: 0; } }
/* The capsule is drawn at x=1000, over the window, so the still keeps it clear of any words on the left; the travel runs it from 120px off the left edge to 120px off the right. */
@keyframes lic-travel { 0% { transform: translateX(-1120px); } 100% { transform: translateX(560px); } }
@keyframes lic-tick { to { transform: rotate(360deg); } }
@keyframes lic-type { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes lic-caret { 50% { border-color: transparent; } }

@media (prefers-reduced-motion: reduce) {
  .lic-cursor, .lic-steam, .lic-capsule, .lic-second, .lic-typed { animation: none; }
  .lic-typed { border-right: 0; clip-path: none; }
}
