/* 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.
   Dark is the default; a device set to light gets the same page in warm light colours.
   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 light;
}
@media (prefers-color-scheme: light) {
  :root {
    --bg: #f6f4ee;
    --ink: #14171c;
    --muted: #5b5e5a;
    --signal: #8a5a00;
    --rule: #d6d2c6;
    --panel: #ebe8df;
    --draft-bg: #fff3c4;
    --draft-text: #5c4700;
  }
}
* { 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); }
/* The header keeps the office's dark colours in both schemes, so a light page doesn't put a
   cream strip above the dark hero (content/brand/proposals/light-top.md, approved 16 November). */
header.site { --bg: #0e1116; --ink: #e8e6df; --muted: #a3a69c; --signal: #ffb000; --rule: #2a2f38; background: var(--bg); color: var(--ink); border-bottom-color: var(--rule); }

/* 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; }
.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; }
blockquote { margin: 1.25rem 0; padding: 4px 20px; background: var(--panel); border-left: 2px solid var(--rule); }
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).
   The band is always the dark office, in both colour schemes, so its words keep the dark
   colours. 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;
  --bg: #0e1116;
  --ink: #e8e6df;
  --muted: #a3a69c;
  --signal: #ffb000;
  --rule: #2a2f38;
  --panel: #161a21;
  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); }
}
@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; }

/* "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; }
}

/* 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; }
}
