    /* The way in wears music's colours: its border, words and microphone are windows onto the same
       pale warm field the demo paints music with (10°→55° and back, one cycle per 240 px of screen along a 45° slant
       (a 240 px square tile, the stripes 240/√2 px apart, so a 240 px shift is one seamless cycle) —
       narrower than music's 1400 so the whole band shows across the button and reads as a flow —
       moving 50 px a second, a little under music's 70), in music's hues at full saturation, lit near white (as loud music is) yet still coloured.
       The button's own markup is owner-gated text; only its look is set here. */
    :root { --try-s: 100%; --try-l: 88%; }   /* lit near white: the page is always dark, whatever the system theme */
    #try, #try svg, #live-stats .glow, .live-cap .glow, .live-cap .ic { --try-field: repeating-linear-gradient(135deg, hsl(10 var(--try-s) var(--try-l)) 0.000px, hsl(21 var(--try-s) var(--try-l)) 21.213px, hsl(32 var(--try-s) var(--try-l)) 42.426px, hsl(44 var(--try-s) var(--try-l)) 63.640px, hsl(55 var(--try-s) var(--try-l)) 84.853px, hsl(44 var(--try-s) var(--try-l)) 106.066px, hsl(32 var(--try-s) var(--try-l)) 127.279px, hsl(21 var(--try-s) var(--try-l)) 148.492px, hsl(10 var(--try-s) var(--try-l)) 169.706px); }
    /* #try:hover too: the page's own hover rule sets the background shorthand, which would wipe these */
    #try, #try:hover { color: transparent; border-color: transparent;
           background-image: var(--try-field), linear-gradient(var(--try-fill), var(--try-fill)), linear-gradient(Canvas, Canvas), var(--try-field);
           -webkit-background-clip: text, padding-box, padding-box, border-box; background-clip: text, padding-box, padding-box, border-box;
           background-origin: border-box; background-repeat: repeat, no-repeat, no-repeat, repeat; background-size: 240px 240px, auto, auto, 240px 240px;
           background-position: var(--try-x, 0px) var(--try-y, 0px), 0 0, 0 0, var(--try-x, 0px) var(--try-y, 0px); }
    /* The field is fixed to the screen and slides 50 px a second, but not with background-attachment: fixed: that made
       browsers repaint the button on every scroll frame and its words trailed the page while scrolling. live-demo.js
       places it instead (--try-x/--try-y, the screen's corner and the slide, measured from the button's own box). */
    #try { --try-l: 95%; }   /* the button and its microphone alone sit closer to white (the page's 88% is every other glowing thing's) */
    #try { --try-fill: rgba(127,127,127,.12); } @media (hover: hover) { #try:hover { --try-fill: rgba(127,127,127,.24); } }
    #try { filter: drop-shadow(0 0 2.5px #ffc98255); }   /* the lit things' one halo, as on the flying bird and the lit footer bird */
    /* the microphone: its strokes are transparent like the words, so the field shows through its shape */
    #try svg { background: var(--try-field) var(--try-x, 0px) var(--try-y, 0px) / 240px 240px;
               -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='16' viewBox='0 0 12 16' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round'%3E%3Crect x='3.5' y='1' width='5' height='9' rx='2.5'/%3E%3Cpath d='M1 7.5a5 5 0 0 0 10 0M6 12.5V15'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
                       mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='16' viewBox='0 0 12 16' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round'%3E%3Crect x='3.5' y='1' width='5' height='9' rx='2.5'/%3E%3Cpath d='M1 7.5a5 5 0 0 0 10 0M6 12.5V15'/%3E%3C/svg%3E") center / 100% 100% no-repeat; }
    /* Firefox paints background-clip:text only when it is the element's single background layer: with the fill and
       the ring layers listed too it fills the whole button with the field. There the words keep the field as one
       layer, the ring is an overlay masked to the 1 px border, and the faint fill is left out (it would sit over the
       words). Chrome and Safari keep the rules above. */
    @supports (-moz-appearance: none) {
      #try, #try:hover { background: var(--try-field) var(--try-x, 0px) var(--try-y, 0px) / 240px 240px border-box; -webkit-background-clip: text; background-clip: text; }
      #try::before { content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
                     background: var(--try-field) var(--try-x, 0px) var(--try-y, 0px) / 240px 240px;
                     mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
    }
    #live { position: fixed; inset: 0; z-index: 20; display: flex; flex-direction: column; align-items: center;
            background: Canvas; color: CanvasText;
            font: 15px/1.45 system-ui, -apple-system, Segoe UI, Roboto, sans-serif; opacity: 0; transition: opacity .4s; }
    /* One narrow column, the width of the page's own text; below that width the margins simply run
       out and the timeline goes edge to edge. border-box or the padding lands OUTSIDE the 100% and
       a 375 px phone gets 407 px children with the ✕ hanging off the right edge (measured). */
    #live > * { width: 100%; max-width: 46rem; box-sizing: border-box; }
    #live[hidden] { display: none; }
    #live.on { opacity: 1; }
    #live-bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: baseline; column-gap: 12px; padding: 12px 12px; }
    /* a line arriving fades in, quickly; lines rebuilt (a view switch, a relabel) just appear */
    @keyframes lv-in { from { opacity: 0; } } .lv-new { animation: lv-in .2s ease-out; }
    @keyframes lv-fixed { from { background: rgba(127,127,127,.32); } } .live-cap.lv-fixed { animation: lv-fixed 1.4s ease-out; }   /* a row whose speaker was corrected */
    @media (prefers-reduced-motion: reduce) { .lv-new, .live-cap.lv-fixed { animation: none; } }
    .lv-off { opacity: 0 !important; pointer-events: none; } #live-view, #live-stats { transition: opacity .2s; } #live-stats.lv-slow { transition-duration: 1s; }
    #live-view { margin-left: 0; } #live-close { margin-right: -8px; }   /* the toggle's own edge sits on the content edge */
    #live-view { justify-self: start; display: flex; align-items: center; gap: 2px; font-family: var(--mono); font-size: 14px; }
    #live-view button { font: inherit; color: inherit; background: none; border: none; border-radius: 3px; padding: 3px 7px; opacity: .45; cursor: pointer; line-height: 1; }
    /* one toggle: tap anywhere on it to switch; the current view's half is lit */
    #live-toggle { display: flex; align-items: center; padding: 2px !important; opacity: 1 !important; border-radius: 5px !important;
                   background: rgba(127,127,127,.10) !important; }
    #live-toggle span { display: flex; align-items: center; height: 20px; padding: 0 7px; border-radius: 3px; opacity: .45; transition: opacity .2s, background .2s; }
    #live-toggle span.on { opacity: 1; background: rgba(127,127,127,.22); }
    #live-toggle svg { display: block; } #live-toggle span[data-v=json] { font-size: 15px; font-weight: 600; letter-spacing: 1.5px; }
    #live-dl { margin-left: 6px; align-self: center; line-height: 0; } #live-dl svg { display: block; } @media (hover: hover) { #live-dl:hover { opacity: 1; } }
    #live-timer { display: flex; align-items: baseline; gap: 10px; justify-self: center; }
    #live-dot { align-self: center; width: 10px; height: 10px; border-radius: 50%; background: currentColor; opacity: .25; }
    #live-dot.on { background: #ff3b30; animation: live-pulse 1.4s ease-in-out infinite; }
    @keyframes live-pulse { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
    @media (prefers-reduced-motion: reduce) { #live-dot.on { animation: none; opacity: .9; } #live { transition: none; } }
    #live-clock { font-family: var(--mono); font-size: 18px; }
    /* scaling up: amber while Verbi scales up, a moment of green when it is done, then nothing. Hung off the
       timer's right edge so the clock never moves; on a phone only the dot (its title says the rest). */
    #live-timer { position: relative; }
    #live-scale { display: none; position: absolute; left: 100%; margin-left: 12px; top: 50%; transform: translateY(-50%);
                  align-items: center; gap: 6px; white-space: nowrap; transition: opacity .6s ease; }
    #live-scale.on, #live-scale.done { display: inline-flex; }
    #live-scale.fade { opacity: 0; }
    /* three bars of rising height fill left to right, a meter building up; done = all lit, green */
    #live-scale .bars { display: inline-flex; align-items: flex-end; gap: 2px; height: 12px; color: #ffb300; }
    #live-scale .bars i { display: block; width: 3px; border-radius: 1px; background: currentColor; opacity: .22;
                          transform-origin: bottom; }
    #live-scale .bars i:nth-child(1) { height: 5px; } #live-scale .bars i:nth-child(2) { height: 8px; }
    #live-scale .bars i:nth-child(3) { height: 12px; }
    #live-scale.on .bars i:nth-child(1) { animation: lv-up1 1.5s linear infinite; }
    #live-scale.on .bars i:nth-child(2) { animation: lv-up2 1.5s linear infinite; }
    #live-scale.on .bars i:nth-child(3) { animation: lv-up3 1.5s linear infinite; }
    #live-scale.done .bars { color: #34c759; } #live-scale.done .bars i { opacity: 1; }
    /* each bar waits at the previous bar's height (the first at 2 px) and grows to its own as it fades in
       (5 px <- 2, 8 <- 5, 12 <- 8); at the reset all three fade out at full height, and only once dim do
       they drop back to the waiting height for the next cycle */
    @keyframes lv-up1 { 0% { opacity: .22; transform: scaleY(.4); } 15%, 88% { opacity: 1; transform: scaleY(1); }
                        99.9% { opacity: .22; transform: scaleY(1); } 100% { opacity: .22; transform: scaleY(.4); } }
    @keyframes lv-up2 { 0%, 30% { opacity: .22; transform: scaleY(.625); } 45%, 88% { opacity: 1; transform: scaleY(1); }
                        99.9% { opacity: .22; transform: scaleY(1); } 100% { opacity: .22; transform: scaleY(.625); } }
    @keyframes lv-up3 { 0%, 60% { opacity: .22; transform: scaleY(.667); } 75%, 88% { opacity: 1; transform: scaleY(1); }
                        99.9% { opacity: .22; transform: scaleY(1); } 100% { opacity: .22; transform: scaleY(.667); } }
    /* its own class: the billed counter's `#live-timer .w` (later in this file) would otherwise restyle it */
    #live-scale .lbl { font-family: var(--mono); font-size: 11px; font-style: italic; opacity: .6; }
    @media (max-width: 480px) { #live-scale .lbl { display: none; } }
    @media (prefers-reduced-motion: reduce) { #live-scale .bars i { animation: none !important; opacity: .7; }
                                              #live-scale.done .bars i { opacity: 1; } #live-scale { transition: none; } }
    /* what the stream has billed so far */
    #live-timer .w { font-family: var(--mono); font-size: 14px; opacity: .4; margin: 0 -4px; } #live-timer .sl { font-size: 18px; margin: 0; }
    /* notes: what the page itself has to say, as lines among the captions and messages — faint, or
       standing out when something went wrong; never in the downloads */
    .live-cap.note, .live-msg.note { font-family: var(--mono); font-size: 13px; opacity: .6; }
    .live-cap.note .t { opacity: .7; }
    .live-cap.note.err, .live-msg.note.err { opacity: 1; color: #ff6b6b; }
    #live-end { justify-self: end; align-self: center; display: flex; align-items: center; gap: 4px; position: relative; }
    #live-close { font: inherit; font-size: 19px; line-height: 1; padding: 2px 8px; background: none; border: none; color: inherit; opacity: .55; cursor: pointer; }
    @media (hover: hover) { #live-close:hover { opacity: 1; } }
    /* The translation switch (R-LIVE-DEMO-TRANSLATE), by the ✕: the icon alone while the captions are as heard,
       lit with the language's code once one is chosen and a key is in; its list opens under it, the visitor's own
       LLM key (kept in this browser, never sent to Verbi) at its top. */
    #live-lang { display: flex; align-items: center; gap: 4px; font-family: var(--mono); font-size: 13px; line-height: 1; padding: 3px 6px; border-radius: 4px;
                 background: none; border: none; color: inherit; opacity: .55; cursor: pointer; }
    #live-lang svg { display: block; } #live-lang .v:empty { display: none; }
    #live-lang.on { opacity: 1; background: rgba(127,127,127,.22); }
    /* the speakers switch beside it (owner, 2026-11-24): lit while the speakers are shown */
    #live-spk { display: flex; align-items: center; padding: 3px 6px; border-radius: 4px; background: none; border: none; color: inherit; opacity: .55; cursor: pointer; }
    #live-spk svg { display: block; }
    #live-spk.on { opacity: .9; }
    #live-spk { position: relative; transition: opacity .4s; margin-right: 8px; }   /* room before A文 (owner, 2026-11-24) */
    #live-spk:not(.on)::after { content: ''; position: absolute; left: 3px; right: 3px; top: 50%; height: 2px; margin-top: -1px; background: currentColor; border-radius: 1px;
                                box-shadow: 0 0 0 1.5px Canvas; transform: rotate(-40deg); }   /* struck through while hidden: a 2px bar, cut out of the icon by a ring of the page colour */
    @media (hover: hover) { #live-spk:hover { opacity: 1; } }
    #live.nospk .live-who, #live.nospk .live-cap .ov { display: none; }
    #live.nospk .live-cap:not(.ev):not(.note) > span:nth-child(2) { color: inherit !important; }
    #live.nospk .live-cap .ovw { text-decoration: none; }
    @media (hover: hover) { #live-lang:hover { opacity: 1; } }
    /* One size for both stages (owner, 2026-11-04: the popup must not resize between them); it stays inside a phone's
       width (16px gutters) and the language list scrolls inside it. */
    #live-langs { position: absolute; right: 0; top: calc(100% + 6px); z-index: 2; box-sizing: border-box; width: 20em; max-width: calc(100vw - 32px);
                  height: min(60vh, 26em); overflow-y: auto; overscroll-behavior: contain;
                  padding: 4px; border-radius: 8px; background: Canvas; border: 1px solid rgba(127,127,127,.35);
                  box-shadow: 0 8px 24px rgba(0,0,0,.25), 0 0 0 200vmax rgba(0,0,0,.5); }   /* everything else dimmed while it is open (owner, 2026-11-24) */
    #live-langs[hidden] { display: none; }
    /* the key stage: the field and one line under it, centred in the popup */
    #live-langs.keystage:not([hidden]) { display: flex; align-items: center; justify-content: center; }
    #live-langs .trkey.stage { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; align-self: stretch; width: 100%;
                               padding: 44px 18px 14px; box-sizing: border-box; text-align: center; }
    #live-langs .trkey input { box-sizing: border-box; font-family: var(--mono); font-size: 16px; padding: 6px 2px; border: 0; border-bottom: 1px solid rgba(127,127,127,.45);
                               border-radius: 0; background: none; color: inherit; width: 100%; text-align: center; outline: none; }
    #live-langs .trkey input:focus { border-color: currentColor; }
    #live-langs .trkey small { font-size: 11px; line-height: 1.35; opacity: .5; }
    #live-langs .trkey .trhead { display: flex; flex-direction: column; gap: 6px; }
    #live-langs .trkey .trhead b { font-size: 17px; font-weight: 600; line-height: 1.3; }
    #live-langs .trkey .trhead span { font-size: 14px; line-height: 1.4; opacity: .65; }
    #live-langs .trkey .trmid { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 100%; }
    #live-langs .trkey .trvendors { font-size: 12px; opacity: .55; }
    #live-langs .trforget { position: relative; overflow: hidden; width: auto; font-size: 12px; padding: 4px 10px; opacity: .55; text-align: center;
                            border: 1px solid color-mix(in srgb, CanvasText 35%, transparent); border-radius: 6px;   /* reads as a button (owner, 2026-11-24) */
                            -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; touch-action: none; }
    #live-langs .trforget::before { content: ''; position: absolute; inset: 0; background: rgba(127,127,127,.35); transform: scaleX(0); transform-origin: left; }
    #live-langs .trforget.holding { opacity: .9; }
    #live-langs .trforget.holding::before { transform: scaleX(1); transition: transform .7s linear; }   /* fills while held */
    #live-langs .trforget span { font-size: 15px; line-height: 0; margin-right: 2px; }
    /* with no key the button keeps its place, unseen, so the field stands where it does with one (owner, 2026-11-24) */
    #live-langs .trforget[hidden-keep] { visibility: hidden; pointer-events: none; }
    /* the field sits higher (owner, 2026-11-24): the heading stays at the top, the small print at the foot (margin-top: auto),
       and the hint keeps halfway between the heading and the field */
    #live-langs .trkey.stage > small { margin-top: auto; }
    #live-langs .trhold { margin: 22px 0; font-size: 12px; font-style: italic; opacity: 0; transition: opacity .25s ease; min-height: 1.3em; line-height: 1.3; }
    #live-langs .trhold.on { opacity: .5; }
    #live-langs .trhold.now { transition: none; }          /* "key deleted": there at once */
    #live-langs .trhold.slow { transition-duration: .9s; }  /* and out slowly */   /* halfway between the intro and the field */
    /* the key field in a full box (owner, 2026-11-23), not a single underline, with its apply arrow inside it */
    #live-langs .trfield { display: flex; align-items: center; width: 100%; border: 1px solid rgba(127,127,127,.45); border-radius: 6px; box-sizing: border-box; }
    #live-langs .trfield:focus-within { border-color: currentColor; }
    /* smaller text (owner, 2026-11-24); a phone keeps 16px, under which iOS zooms the page on focus */
    /* Safari's password-manager key sat over the end of the centred placeholder (owner, 2026-11-24): its key button is
       hidden (an API key is not a saved password) and the password managers are told to stay out (live-demo.js) */
    #live-langs .trkey .trfield input { border: 0; border-radius: 6px; padding: 9px 4px 9px 36px; flex: 1; min-width: 0; font-size: 13px; text-align: center; }   /* centred again, the browsers' icons hidden (owner, 2026-11-24); 36px on the left balances the apply arrow */
    #live-langs .trkey .trfield input::-webkit-credentials-auto-fill-button, #live-langs .trkey .trfield input::-webkit-contacts-auto-fill-button {
      visibility: hidden; display: none !important; pointer-events: none; width: 0; margin: 0; }
    @media (pointer: coarse) { #live-langs .trkey .trfield input { font-size: 16px; padding-top: 7px; padding-bottom: 7px; } }
    #live-langs .trapply { width: auto; padding: 6px 8px; line-height: 0; opacity: .6; }
    /* the way back from the key: a left arrow in the popup's top-left corner (owner, 2026-11-23) */
    #live-langs .trback { position: absolute; top: 6px; left: 6px; width: auto; padding: 4px 6px; line-height: 0; opacity: .6; }
    #live-langs .trarrow { line-height: 0; }
    /* the language stage's top line: vendor · model (a tap lists the models) · key */
    #live-langs .trbar { display: flex; align-items: center; gap: 6px; padding: 4px 6px 6px 10px; margin-bottom: 2px; font-family: var(--mono); font-size: 12px;
                         border-bottom: 1px solid rgba(127,127,127,.2); }
    #live-langs .trbar > span { opacity: .55; }
    #live-langs .trbar button { width: auto; font-size: 12px; padding: 3px 6px; }
    #live-langs .trbar .trmodel { flex: 1; min-width: 0; display: flex; align-items: center; gap: 6px; opacity: .9; }
    #live-langs .trbar .trmodel span:first-child, #live-langs button.mdl span:first-child { flex: 1; min-width: 0; overflow: hidden; overflow-wrap: anywhere;
      display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; }
    /* the model bar stays put while the languages scroll under it (owner, 2026-11-11) */
    /* sticks exactly where it rests (owner, 2026-11-11: it shrank a little as the list began to scroll): the popup has no
       top padding under a bar, so the bar starts at the scroll top, and it carries that 4px itself */
    #live-langs:not(.keystage) { padding-top: 0; }
    #live-langs .trbar { position: sticky; top: 0; z-index: 1; background: Canvas; padding-top: 8px; }
    #live-langs .trbar .trkeybtn { opacity: .5; text-decoration: underline; text-underline-offset: 3px; }   /* a link back to the key (owner, 2026-11-24) */
    #live-langs button.mdl { display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 13px; }
    #live-langs .avg { font-size: 11px; opacity: .55; white-space: nowrap; font-variant-numeric: tabular-nums; }
    #live-langs .trload { padding: 10px; font-size: 13px; opacity: .5; }
    #live-langs button { display: block; width: 100%; text-align: left; font: inherit; font-size: 15px; line-height: 1.3; padding: 5px 10px; border-radius: 4px;
                         background: none; border: none; color: inherit; opacity: .8; cursor: pointer; }
    #live-langs button.on { opacity: 1; background: rgba(127,127,127,.22); }
    @media (hover: hover) { #live-langs button:hover { opacity: 1; background: rgba(127,127,127,.14); } }
    /* A translated line: the utterance's first row carries it (the others fold away), a tap brings the words
       as heard back. The morph: words taken back from the end, then typed in behind a caret (live-demo.js morph). */
    .live-cap.tr-hide { display: none; }
    .live-cap.tr { cursor: pointer; }
    .live-cap .tw > span { display: inline-block; }
    .live-cap .tw .tr-out { opacity: 0; transform: translateY(-.35em); transition: opacity .1s ease-in, transform .1s ease-in; }
    .live-cap .tw .tr-in { animation: tr-in .12s ease-out; }   /* the morph 1.5x faster (owner, 2026-11-24): 9/19 ms a word, live-demo.js */
    @keyframes tr-in { from { opacity: 0; transform: translateY(.35em); } }
    /* the caret takes no width (owner, 2026-11-24: on a line with no room left it wrapped alone, the captions scrolled for it
       and back): a zero-width box, drawn by its ::after, so it can never push the line into a second one */
    .live-cap .tw .caret { display: inline-block; position: relative; width: 0; height: .95em; vertical-align: -.12em; animation: caret .5s steps(1) infinite; }
    .live-cap .tw .caret::after { content: ''; position: absolute; left: 1px; top: 0; width: 2px; height: 100%; background: currentColor; }
    @keyframes caret { 50% { opacity: 0; } }
    @media (prefers-reduced-motion: reduce) { .live-cap .tw .tr-in, .live-cap .tw .caret { animation: none; } .live-cap .tw .tr-out { transition: none; } }
    #live-caps { position: relative; flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 2px;
                 padding: 12px 12px 26px; overflow-y: auto; overscroll-behavior: contain;
                 mask-image: linear-gradient(to bottom, transparent 0, black 1.4em, black calc(100% - 1.4em), transparent 100%); scrollbar-width: none; }
    #live-caps::-webkit-scrollbar { display: none; }
    /* The talk rises from the timeline and fills upward; auto margin, not justify-content, or the
       scrollback above becomes unreachable. Nothing fades: alpha on a word means confidence, only. */
    /* Nothing fades: confidence is the only thing the alpha of a word means. */
    .live-cap { display: grid; grid-template-columns: 42px 1fr; gap: 10px; align-items: baseline;
                font-size: 20px; line-height: 1.4; padding: 2px 6px; margin: 0 -6px; border-radius: 3px; position: relative; }
    /* while Verbi scaled up: one thin neutral line on the right edge of that stretch, unbroken (live-demo.js drawSu) */
    .live-su { position: absolute; width: 2px; border-radius: 1px; background: rgba(127,127,127,.35); pointer-events: none; }
    .live-cap .t { font-family: var(--mono); font-size: 11px; opacity: .4; text-align: left; }
    /* the timestamp in the middle of the row's first line (owner, 2026-11-24), not on its baseline: a line box as tall
       as the text's (font-size x 1.4) */
    .live-cap .t { align-self: start; line-height: var(--lh); }
    .live-cap.note { --lh: 18.2px; }
    /* a line's translation (R-LIVE-DEMO-TRANSLATE), a dot level with its timestamp: waiting (pulses), done, nothing to
       change (a ring), failed (red; the line's hover says why) — owner, 2026-11-24 */
    .live-cap { --lh: 28px; }
    .live-cap[data-tr]::before { content: ''; position: absolute; left: 40px; top: calc(2px + var(--lh) / 2); width: 6px; height: 6px; margin-top: -3px;
                                 border-radius: 50%; box-sizing: border-box; background: currentColor; opacity: .35; }   /* on the row, so the timestamp's .4 does not dim the red */
    .live-cap[data-tr="busy"]::before { opacity: .45; animation: trbusy 1s ease-in-out infinite; }
    @keyframes trbusy { 50% { opacity: .1; } }
    .live-cap[data-tr="same"]::before { background: none; border: 1.2px solid currentColor; opacity: .45; }
    .live-cap[data-tr="err"]::before { background: #ff6b5b; opacity: 1; }
    @media (prefers-reduced-motion: reduce) { .live-cap[data-tr="busy"]::before { animation: none; } }
    .live-cap.ev.plain .evx { opacity: .85; }   /* a sound (knock, cough, typing...) a little fainter than music, vocals and birdsong, which glow */
    .live-cap.ev .evx { font-style: italic; }   /* an event's row in the words' own size and strength (a confident word's), set apart by its italic */
    .live-cap.ev .em { font-size: .8em; }    /* and its emoji a size below that */
    .live-cap.ev .em { font-style: normal; }   /* the row's italic would slant the emoji too (a browser skews a glyph it has no italic of): upright */
    /* Music, vocals and bird rows wear the page's one glow, as their lines over the waveform do: the field and halo of
       Try it live, slid from script (--glow-x) on the button's clock, brighter where the audio is louder, as on their lines. Words show it through their letters, the icon
       (flat, in place of an emoji) through its shape, as the button's microphone does. */
    .live-cap .glow, .live-cap .ic { --try-l: var(--gl, 88%); }   /* lit as the row's own line is (live-demo.js rowLight, --gl on the row) */
    .live-cap .glow { color: transparent; background: var(--try-field) var(--glow-x, 0px) 0 / 240px 240px fixed;
                      -webkit-background-clip: text; background-clip: text; filter: drop-shadow(0 0 2.5px #ffc98255); }
    .live-cap .ic { display: inline-block; width: 1.05em; height: 1.05em; vertical-align: middle; position: relative; top: -.1em;
                    background: var(--try-field) var(--glow-x, 0px) 0 / 240px 240px fixed;
                    -webkit-mask: var(--ic) center / contain no-repeat; mask: var(--ic) center / contain no-repeat; }
    .ic-music { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18V5l12-2v13'/%3E%3Ccircle cx='6' cy='18' r='3' fill='black'/%3E%3Ccircle cx='18' cy='16' r='3' fill='black'/%3E%3C/svg%3E"); }
    .ic-vocals { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cmask id='g'%3E%3Crect width='24' height='24' fill='white'/%3E%3Cpath d='M12.6 4.4l7 7' stroke='black' stroke-width='1.3'/%3E%3C/mask%3E%3Ccircle cx='15.5' cy='8.5' r='5.5' mask='url(%23g)'/%3E%3Cpath d='M11 13 4.5 19.5' stroke='black' stroke-width='3.6' stroke-linecap='round'/%3E%3C/svg%3E"); }
    .ic-bird { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-19.24 -23.54 51.3 51.3' fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M0 0 L-12.03 -36.64' stroke-width='3.68' stroke-opacity='.55'/%3E%3Cpath d='M0 0 L-25.24 -25.84' stroke-width='3.68'/%3E%3Cpath d='M0 0 C9.7 2.77 6.89 13.2 -3.59 13.27' stroke-width='4'/%3E%3Cpath d='M-3.59 13.27 L-11.05 21.65 L-7.59 9.36' stroke-width='4'/%3E%3Cpath d='M0 0 C-3.14 -12.25 6.18 -16.08 12.52 -5.93' stroke-width='4'/%3E%3Cpath d='M12.52 -5.93 L27.77 -9.31' stroke-width='4'/%3E%3C/svg%3E"); width: 1.25em; height: 1.25em; }   /* the mark's box has room around the bird */
    .live-who { font-family: var(--mono); font-size: 13px; margin: 6px 0 4px 52px; padding-top: 10px; position: relative; }
    .live-who .hs { color: CanvasText; opacity: .35; font-style: italic; }   /* italic always (owner, 2026-11-24) */   /* seconds of the voice heard before (heard_sec) */
    .live-who.tentative { font-style: italic; opacity: .6; }   /* under a minute heard: the name may still change (owner, 2026-11-24) */
    .live-cap .ovw { text-decoration: underline dotted; text-underline-offset: 3px; }   /* a second voice talks over these words */
    .live-cap .ov { font-family: var(--mono); font-size: 12px; margin-left: 10px; white-space: nowrap; }   /* ...and is named after them */
    .live-who::before { content: ''; position: absolute; top: 0; left: -52px; right: -6px; border-top: 1px solid rgba(127,127,127,.18); }   /* as far above the name's letters as they are above the caption's (the caption's line height adds ~6 px) */
    /* a music row keeps the caption grid (so its time sits in the time column), its words in mono */
    /* Music, wherever it is drawn, is a window onto ONE pale rainbow fixed to the screen that flows
       slowly sideways (fixed attachment: every window shows the part of the field behind it; the
       canvas computes the same field). Brightness = how loud the music is right now. */
    #live { --rb-x: 0px; --ml: 80%; }
    .mu { color: transparent; -webkit-background-clip: text; background-clip: text; background-attachment: fixed;
          background-image: linear-gradient(90deg, hsl(10 80% var(--ml)), hsl(21 80% var(--ml)), hsl(32 80% var(--ml)), hsl(44 80% var(--ml)), hsl(55 80% var(--ml)), hsl(44 80% var(--ml)), hsl(32 80% var(--ml)), hsl(21 80% var(--ml)), hsl(10 80% var(--ml)));
          background-size: 1400px 100%; background-position: var(--rb-x) 0; }
    .sid.mu { color: transparent; background-image: linear-gradient(90deg, hsl(10 80% var(--ml)), hsl(21 80% var(--ml)), hsl(32 80% var(--ml)), hsl(44 80% var(--ml)), hsl(55 80% var(--ml)), hsl(44 80% var(--ml)), hsl(32 80% var(--ml)), hsl(21 80% var(--ml)), hsl(10 80% var(--ml))), linear-gradient(rgba(127,127,127,.24), rgba(127,127,127,.24));
              -webkit-background-clip: text, padding-box; background-clip: text, padding-box; background-attachment: fixed, scroll;
              background-size: 1400px 100%, auto; background-position: var(--rb-x) 0, 0 0; background-repeat: repeat, no-repeat; }
    /* A caption and the stretch of audio it came from light up together, whichever one you point at. */
    .live-cap.hot { background: rgba(127,127,127,.04); } .live-cap:hover { background: rgba(127,127,127,.16); }
    .live-hint { opacity: .55; font-size: 17px; text-align: center; margin: auto 0; line-height: 1.5; }
    .live-hint.live-quiet { margin: 18px 0 6px; }   /* under the captions, not centred in the field */
    .live-hint small { font-size: 14px; }
    .live-hint a { color: inherit; }
    #live-timeline { position: relative; padding-top: 14px; user-select: none; }
    #live-timeline canvas { display: block; width: 100%; }
    #live-axis { height: 28px; } #live-wave { height: calc(130px + var(--lanes, 0) * 5px); }   /* 5 = LANE; --lanes (the lanes beyond the two main lines) is set on #live-timeline */
    @media (max-width: 600px) { #live-wave { height: calc(84px + var(--lanes, 0) * 5px); } .live-cap { font-size: 18px; --lh: 25.2px; }
                                
    }
    #live-playhead { position: absolute; top: 0; bottom: 0; width: 1px; background: currentColor; opacity: .7; pointer-events: none; }
    #live-timeline { padding-bottom: 8px; }
    /* the running counters: under the timeline, left-aligned, refreshed once a second */
    #live-stats { font-family: var(--mono); font-size: 11px; line-height: 1.7; padding: 12px 12px 5px;
                  display: grid; grid-template-columns: repeat(3, auto); justify-content: center; column-gap: 12px; }
    #live-stats span { white-space: nowrap; opacity: .85; } #live-stats .dim { opacity: .5; }
    #live-stats .n { text-align: right; } #live-stats .traffic { grid-column: 1 / -1; text-align: center; }   /* numbers right-aligned in their column, so digits line up */
    /* the music row wears the page's one glow, as bright as the caption rows': the field and halo of Try it live and the birds, slid
       from script (--glow-x) on page time, the button's clock, so it shows the colour they show at the same screen spot */
    #live-stats .glow { --try-l: var(--gl-stats, 88%); }   /* lit as the music rows are (live-demo.js --gl-stats) */
    #live-stats .glow { color: transparent; background: var(--try-field) var(--glow-x, 0px) 0 / 240px 240px fixed;
                        -webkit-background-clip: text; background-clip: text; filter: drop-shadow(0 0 2.5px #ffc98255); }
    @media (max-width: 600px) { #live-timeline { width: calc(100% - 20px); } #live-stats { padding: 12px 10px 4px; } }
    /* unfolded, the first line of the stats starts where the current-time line ends: its text's top on that level (measured: 16.5 px
       below it before = the 12 px padding + 4.5 px of line box above the letters); the ruler ends 8 px above that level, clear of it */
    #live-timeline:not(.mini) + #live-stats { padding-top: 0; margin-top: -4.5px; }
    /* microphone sensitivity: upright, in the gutter right of the current-time line */
    #live-gain { position: absolute; right: 0; top: 4px; bottom: 10px; width: 48px; display: flex; flex-direction: column;
                 align-items: center; gap: 4px; font-family: var(--mono); font-size: 10px; opacity: .55; }
    #live-gain input { writing-mode: vertical-lr; direction: rtl; flex: 1; min-height: 0; width: 22px; margin: 0; }
    /* both sliders drawn like the page's other lines: a hairline and a small square */
    #live-gain input { -webkit-appearance: none; appearance: none; cursor: pointer; }
    #live-gain input::-webkit-slider-runnable-track { width: 2px; background: none; }
    /* its hairline is the input's own background: bright below the knob, dimmer above */
    #live-gain input { background: center / 2px 100% no-repeat; }
    #live-gain input::-webkit-slider-thumb {
      -webkit-appearance: none; width: 14px; height: 14px; border-radius: 0; background: currentColor; border: none; }
    #live-gain input::-webkit-slider-thumb { margin-left: -6px; }
    #live-gain input::-moz-range-track { background: currentColor; border: none; }
    #live-gain input::-moz-range-track { width: 2px; background: none; }
    #live-gain input::-moz-range-thumb { width: 14px; height: 14px; border-radius: 0; background: currentColor; border: none; }
    @media (hover: hover) { #live-gain:hover { opacity: 1; } }
    /* the switch that folds the waveform away (more room for the captions): at the top of the gutter, the slider below it */
    #live-mini { position: absolute; right: 0; top: 2px; width: 48px; height: 18px; padding: 0;
                  display: flex; align-items: center; justify-content: center; background: none; border: none; color: inherit;
                  opacity: .55; cursor: pointer; }   /* as the controls around it: the slider, its labels, the ✕ */
    #live-mini svg { display: block; } #live-gain { top: 30px; }
    /* a short rule under the switch, between it and the slider's "mic", so the two read as two controls */
    #live-timeline:not(.mini) #live-mini::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: -5px;
                                                 border-top: 1px solid currentColor; opacity: 1; }
    @media (hover: hover) { #live-mini:hover { opacity: 1; } }
    /* folded: a strip of the audio level with the switch (and the current-time line across it); the captions (flex: 1) take the rest */
    #live-timeline.mini { padding-top: 2px; padding-bottom: 2px; } #live-timeline.mini #live-wave { height: 18px; }
    #live-timeline.mini #live-axis, #live-timeline.mini #live-gain { display: none; }
    #live-gain.held { opacity: 1; }   /* bright while held or dragged, not after the finger lifts */
    /* unfolded, the gutter's controls span the current-time line exactly: the arrow's stroke starts at its top
       (the path's top is 3.5 of the icon's 12 px, less half the 1.75 stroke) and the dB figure's baseline sits on its bottom */
    #live-timeline:not(.mini) #live-mini { top: 0; align-items: flex-start; }
    #live-timeline:not(.mini) #live-mini svg { margin-top: -2.625px; }
    #live-timeline:not(.mini) #live-gain { top: 17.375px; bottom: 0; }
    #live-timeline:not(.mini) #live-gain input { margin-top: -2.7px; }   /* "mic" 2 px higher, and the slider reaches up until its two gaps (to "mic", to the dB figure) are both 4.9 px */   /* "mic" stays 5 px under the rule, as it always was: the slider takes the room */
    /* what sits below the arrow moves up with it, so the slider is as long as it can be
       and the slider is the longer for it; the switch keeps its 18 px hit area, only its rule moves */
    #live-timeline:not(.mini) #live-mini::after { bottom: 3.625px; }   /* the rule 3 px closer to the arrow: stroke -> rule 7.6 px (was 10.6) */
    #live-timeline:not(.mini) #live-gain .v { line-height: 10px; margin-bottom: var(--gain-v-drop, 0px); }
    /* Portrait only. A phone on its side keeps the bar — never trap the visitor without the ✕ —
       and trades the captions and the timeline for one line. Bounded by pointer:coarse so a short
       desktop window is left alone. */
    #live-json { flex: 1; min-height: 0; margin: 0; padding: 12px 12px 26px; overflow-y: auto; overscroll-behavior: contain;
                 display: flex; flex-direction: column; gap: 0; font: 12px/1.5 var(--mono);
                 scrollbar-width: none; mask-image: linear-gradient(to bottom, transparent 0, black 1.4em, black calc(100% - 1.4em), transparent 100%); }
    .sid { padding: 0 4px; border-radius: 3px; background: rgba(127,127,127,.24); font-weight: 600; }
    .live-msg { display: grid; grid-template-columns: 42px 1fr; gap: 10px; align-items: baseline; }
    .live-msg .t { font-size: 11px; opacity: .4; text-align: left; }
    .live-msg summary { list-style: none; cursor: pointer; opacity: .85; }
    .live-msg summary::-webkit-details-marker { display: none; }
    .live-msg summary::after { content: ' ▸'; opacity: .45; }
    .live-msg details[open] summary::after { content: ' ▾'; }
    .live-msg summary:hover { opacity: 1; }
    .live-msg pre { margin: 4px 0 2px; padding: 0 0 0 1.2em; background: none; border-radius: 0; font: inherit; opacity: .7;
                    white-space: pre-wrap; word-break: break-all; }
    .live-msg > div { opacity: .85; }
    .live-msg { padding: 6.5px 6px; margin: 0 -6px; }   /* padding, not gap: neighbours' highlights touch, no flicker between them */
    .live-msg.faint summary { opacity: .6; } .live-msg.fainter summary { opacity: .42; }             /* stats set back when closed; opened it reads like the rest */
    .live-msg.hot { background: rgba(127,127,127,.04); } .live-msg:hover { background: rgba(127,127,127,.16); }
    #live-json::-webkit-scrollbar { display: none; }
    #live-json { background: none; border-radius: 0; }       /* not the page's code-block look */
    #live-caps[hidden], #live-json[hidden] { display: none; }
    #live-rotate { display: none; }
    @media (orientation: landscape) and (max-height: 30rem) and (pointer: coarse) {
      #live-caps, #live-json, #live-timeline { display: none; }
      #live-rotate { display: block; margin: auto; padding: 0 1.25rem; text-align: center;
                     opacity: .6; font-size: 17px; line-height: 1.5; }
    }
