/* ACRYL talk decks (acryl.dev/demo/<conference>/): reveal.js with the acryl.dev brand.
   Layout: one idea per slide; screenshots carry the proof, text stays short enough to read from the back row. */
:root {
  --bg: #121212; --surface: #1c1c1c; --surface-2: #242424; --line: rgba(255, 255, 255, .14);
  --text: #f7f7f5; --dim: #a8a8a3; --accent: #5b8cff; --accent-dim: rgba(91, 140, 255, .16);
  --ok: #5fcf8f; --wait: #e6b450;
  --display: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
}
html, body, .reveal-viewport { background: var(--bg); color-scheme: dark; }
.reveal { font-family: var(--display); color: var(--text); font-size: 30px; }
.reveal .slides { text-align: left; }
.split, .center { min-height: 0; }
.reveal h1, .reveal h2, .reveal h3 { font-family: var(--display); color: var(--text); text-transform: none; letter-spacing: -.02em; text-wrap: balance; margin: 0 0 .5em; }
.reveal h1 { font-size: 2.6em; font-weight: 700; line-height: 1.02; }
.reveal h2 { font-size: 1.6em; font-weight: 650; line-height: 1.1; }
.reveal h3 { font-size: 1.05em; font-weight: 600; }
.reveal p, .reveal li { line-height: 1.45; }
.reveal .slides p { margin: 0 0 .6em; max-width: 34em; }
.reveal .slides .center p { margin-inline: auto; }
.reveal ul { margin: 0; padding-left: 1.1em; display: grid; gap: .35em; }
.reveal a { color: var(--accent); }
.reveal code, .reveal .mono { font-family: var(--mono); font-size: .8em; }
.eyebrow { font-family: var(--mono); font-size: .5em; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 1em; display: block; }
.dim { color: var(--dim); }
.small { font-size: .7em; }
.big { font-size: 1.25em; }

/* Layouts */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: 1.2em; align-items: center; }
.split.flip { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); }
.split > div { min-width: 0; }
.stack { display: grid; gap: .6em; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6em; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .5em; }
.center { display: grid; place-content: center; text-align: center; }
.center p { margin-inline: auto; }

/* Elements */
.shot { width: 100%; border: 1px solid var(--line); border-radius: 10px; display: block; margin: 0; box-shadow: 0 18px 50px rgba(0, 0, 0, .45); }
.reveal img.shot { max-height: 74vh; object-fit: contain; object-position: top; }
.prompt { font-family: var(--mono); font-size: .62em; line-height: 1.5; background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: 8px; padding: .7em .9em; }
.prompt::before { content: "you"; display: block; font-size: .8em; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: .3em; }
.timing { font-family: var(--mono); font-size: .5em; color: var(--dim); display: flex; flex-wrap: wrap; gap: .5em 1.2em; }
.timing b { color: var(--text); font-weight: 500; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: .7em .8em; }
.card h3 { margin-bottom: .25em; }
.card p { font-size: .62em; color: var(--dim); margin: 0; }
.chip { display: inline-block; font-family: var(--mono); font-size: .5em; border: 1px solid var(--line); border-radius: 999px; padding: .3em .7em; margin: 0 .3em .4em 0; color: var(--text); background: var(--surface); }
.chip.on { border-color: var(--accent); background: var(--accent-dim); }
.term { font-family: var(--mono); font-size: .55em; background: #0b0b0b; border: 1px solid var(--line); border-radius: 10px; padding: .9em 1em; display: grid; gap: .35em; }
.term .row { display: flex; align-items: center; gap: .6em; }
.term .row code { flex: 1; font-size: 1em; color: var(--text); overflow-wrap: anywhere; }
.term .row code::before { content: "$ "; color: var(--dim); }
.term .out { color: var(--dim); padding-left: 1.2em; }
.copy { font-family: var(--mono); font-size: .8em; background: transparent; color: var(--dim); border: 1px solid var(--line); border-radius: 6px; padding: .15em .55em; cursor: pointer; }
.copy:hover, .copy:focus-visible { color: var(--text); border-color: var(--accent); outline: none; }
.pill { font-family: var(--mono); font-size: .45em; padding: .25em .6em; border-radius: 999px; background: rgba(95, 207, 143, .14); color: var(--ok); white-space: nowrap; }
.pill.next { background: rgba(230, 180, 80, .14); color: var(--wait); }
.quote { font-size: 1.15em; line-height: 1.35; border-left: 3px solid var(--accent); padding-left: .8em; color: var(--text); max-width: 26em; }
.footer-note { position: absolute; left: 0; bottom: 0; font-family: var(--mono); font-size: .42em; color: var(--dim); }

/* Live registry and feature map */
.live { font-family: var(--mono); font-size: .45em; color: var(--dim); display: inline-flex; align-items: center; gap: .5em; }
.live i { width: .6em; height: .6em; border-radius: 50%; background: var(--dim); display: inline-block; }
.live.ok i { background: var(--ok); }
.reg { display: grid; grid-template-columns: repeat(auto-fill, minmax(8.5em, 1fr)); gap: .45em; max-height: 52vh; overflow: auto; }
.reg .card h3 { font-size: .7em; }
.reg .card p { font-size: .5em; }
.areas { display: flex; flex-wrap: wrap; gap: 0; }
.areas button { font-family: var(--mono); font-size: .45em; background: var(--surface); color: var(--dim); border: 1px solid var(--line); border-radius: 999px; padding: .35em .75em; margin: 0 .35em .4em 0; cursor: pointer; }
.areas button[aria-pressed="true"] { color: var(--text); border-color: var(--accent); background: var(--accent-dim); }
.feature-list { columns: 2; column-gap: 1.4em; font-size: .55em; margin-top: .6em; }
.feature-list li { break-inside: avoid; margin-bottom: .3em; list-style: none; }
.feature-list li::before { content: "●"; color: var(--ok); margin-right: .5em; font-size: .7em; }
.feature-list li.partly::before { color: var(--wait); }

/* Mini sequencer */
.seq { display: grid; gap: .3em; }
.seq .track { display: grid; grid-template-columns: 4.2em repeat(16, minmax(0, 1fr)); gap: .22em; align-items: center; }
.seq .track span { font-family: var(--mono); font-size: .45em; color: var(--dim); }
.seq button.step { aspect-ratio: 1; border-radius: 4px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; padding: 0; }
.seq button.step.on { background: var(--accent); border-color: var(--accent); }
.seq button.step.beat { border-color: rgba(255, 255, 255, .3); }
.seq button.step.now { outline: 2px solid var(--text); outline-offset: 1px; }
.seq-controls { display: flex; flex-wrap: wrap; gap: .5em; align-items: center; margin-top: .5em; }
.seq-controls button { font-family: var(--mono); font-size: .5em; background: var(--surface); color: var(--text); border: 1px solid var(--line); border-radius: 6px; padding: .35em .8em; cursor: pointer; }
.seq-controls button.primary { background: var(--accent); border-color: var(--accent); color: #0b0b0b; }

/* Reveal chrome */
.reveal .progress { color: var(--accent); height: 3px; }
.reveal .controls { color: var(--dim); }
.reveal .slide-number { font-family: var(--mono); background: transparent; color: var(--dim); font-size: 14px; left: 16px; right: auto; bottom: 12px; }
@media (prefers-reduced-motion: reduce) { .reveal .slides section { transition: none !important; } }

/* Title logo: the wordmark fills 75% of the PNG's width and 43% of its height (empty 33% above, 24% below); the margins cancel the empty bands. */
.reveal .slides img.hero-logo { width: 21em; max-width: 90%; margin: 0 auto .9em; border: 0; background: none; box-shadow: none; }

/* Cordis fiber demo */
.fiber { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 1em; align-items: start; }
.fiber .box { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: .7em .9em; display: grid; gap: .45em; min-width: 0; }
.fiber .provider { font-family: var(--mono); font-size: .55em; padding: .6em .8em; border-radius: 8px; border: 1px dashed var(--line); color: var(--dim); }
.fiber .provider.on { border-style: solid; border-color: var(--ok); color: var(--ok); background: rgba(95, 207, 143, .08); }
.fiber .state { font-family: var(--mono); font-size: .9em; font-weight: 500; letter-spacing: .04em; }
.fiber .state[data-s="PENDING"] { color: var(--wait); }
.fiber .state[data-s="LOADING"], .fiber .state[data-s="UNLOADING"] { color: var(--accent); }
.fiber .state[data-s="ACTIVE"] { color: var(--ok); }
.fiber ul.effects, .fiber ul.log { list-style: none; margin: 0; padding: 0; display: grid; gap: .25em; font-family: var(--mono); font-size: .45em; }
.fiber ul.effects li { padding: .3em .6em; border-radius: 6px; border: 1px solid var(--line); color: var(--dim); white-space: pre; transition: all .25s ease; }
.fiber ul.effects li.on { color: var(--text); border-color: var(--ok); background: rgba(95, 207, 143, .08); }
.fiber ul.effects li.reverted { text-decoration: line-through; color: var(--wait); border-color: var(--wait); }
.fiber ul.log li { color: var(--dim); }
.fiber ul.log li:first-child { color: var(--text); }
.fiber .btns { display: flex; gap: .5em; flex-wrap: wrap; }
.fiber .btns button { font-family: var(--mono); font-size: .5em; background: var(--surface-2); color: var(--text); border: 1px solid var(--line); border-radius: 6px; padding: .4em .8em; cursor: pointer; }
.fiber .btns button.primary { background: var(--accent); border-color: var(--accent); color: #0b0b0b; }
.layers { display: grid; gap: .35em; }
.layers .layer { display: grid; grid-template-columns: 9em minmax(0, 1fr); gap: .8em; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: .55em .9em; }
.layers .layer b { font-family: var(--mono); font-size: .55em; color: var(--accent); font-weight: 500; letter-spacing: .06em; text-transform: uppercase; }
.layers .layer span { font-size: .62em; color: var(--text); }
.layers .layer.top { border-color: var(--accent); background: var(--accent-dim); }
.formula { font-family: var(--mono); font-size: .95em; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: .7em 1em; display: inline-block; }
.formula em { font-style: normal; color: var(--accent); }
.code { font-family: var(--mono); font-size: .5em; line-height: 1.55; background: #0b0b0b; border: 1px solid var(--line); border-radius: 10px; padding: .9em 1em; white-space: pre; overflow: auto; margin: 0; color: var(--text); }
.code .c { color: var(--dim); }
.code .k { color: var(--accent); }

/* Diagrams: inline SVG drawn in the deck's tokens so they stay sharp on a projector. */
svg.dg { width: 100%; height: auto; display: block; overflow: visible; }
svg.dg .box { fill: var(--surface); stroke: var(--line); stroke-width: 1.5; }
svg.dg .box.accent { fill: var(--accent-dim); stroke: var(--accent); }
svg.dg .box.ok { fill: rgba(95, 207, 143, .1); stroke: var(--ok); }
svg.dg .box.wait { fill: rgba(230, 180, 80, .1); stroke: var(--wait); }
svg.dg .box.bad { fill: rgba(240, 110, 100, .1); stroke: #f06e64; }
svg.dg .box.ghost { fill: none; stroke: var(--line); stroke-dasharray: 6 5; }
svg.dg text { fill: var(--text); font-family: var(--display); font-size: 22px; }
svg.dg text.t-mono { font-family: var(--mono); font-size: 18px; }
svg.dg text.t-dim { fill: var(--dim); font-size: 17px; }
svg.dg text.t-small { font-size: 15px; fill: var(--dim); font-family: var(--mono); }
svg.dg text.t-accent { fill: var(--accent); }
svg.dg text.t-ok { fill: var(--ok); }
svg.dg text.t-wait { fill: var(--wait); }
svg.dg text.t-bad { fill: #f06e64; }
svg.dg text.t-bold { font-weight: 600; }
svg.dg .ln { stroke: var(--dim); stroke-width: 2; fill: none; }
svg.dg .ln.accent { stroke: var(--accent); }
svg.dg .ln.ok { stroke: var(--ok); }
svg.dg .ln.wait { stroke: var(--wait); }
svg.dg .ln.bad { stroke: #f06e64; }
svg.dg .ln.dash { stroke-dasharray: 6 6; }
svg.dg .ah { fill: var(--dim); }
svg.dg .ah.accent { fill: var(--accent); }
svg.dg .ah.ok { fill: var(--ok); }
svg.dg .ah.wait { fill: var(--wait); }
svg.dg .ah.bad { fill: #f06e64; }
.dg-wrap { min-width: 0; }
.caption { font-family: var(--mono); font-size: .45em; color: var(--dim); margin-top: .4em; }

/* Motion: diagrams assemble step by step. Each arrow key press adds the next step; lines draw themselves; reverts strike through LIFO. */
.reveal svg.dg .fragment.build { opacity: 0; visibility: hidden; transform: translateY(14px); transform-box: fill-box; transition: opacity .45s cubic-bezier(.16, 1, .3, 1), transform .6s cubic-bezier(.16, 1, .3, 1), visibility 0s .45s; }
.reveal svg.dg .fragment.build.visible { opacity: 1; visibility: inherit; transform: none; transition: opacity .45s cubic-bezier(.16, 1, .3, 1), transform .6s cubic-bezier(.16, 1, .3, 1); }
.reveal svg.dg .enter { opacity: 0; transition: opacity .5s cubic-bezier(.16, 1, .3, 1) .1s; }
.reveal section.present svg.dg .enter, .reveal.overview svg.dg .enter { opacity: 1; }
.reveal svg.dg .ln.draw { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .8s cubic-bezier(.16, 1, .3, 1) .12s; }
.reveal section.present svg.dg .enter .ln.draw, .reveal svg.dg .fragment.visible .ln.draw, .reveal.overview svg.dg .ln.draw { stroke-dashoffset: 0; }
.reveal svg.dg .ln.draw.dash { stroke-dasharray: .015 .012; stroke-dashoffset: 0; }
.reveal svg.dg .strike { stroke: var(--wait); stroke-width: 3; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .35s ease-out var(--d, 0s); }
.reveal svg.dg .fragment.visible .strike { stroke-dashoffset: 0; }
.reveal .slides img.hero-logo { clip-path: inset(0 100% 0 0); filter: blur(6px); transition: clip-path 1.3s cubic-bezier(.65, 0, .35, 1) .2s, filter 1.1s ease-out .4s; }
.reveal section.present img.hero-logo, .reveal.overview img.hero-logo { clip-path: inset(0 0 0 0); filter: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal svg.dg .fragment.build, .reveal svg.dg .enter { transform: none !important; transition: opacity .2s linear !important; }
  .reveal svg.dg .ln.draw, .reveal svg.dg .strike { transition: none !important; }
  .reveal svg.dg .ln.draw { stroke-dashoffset: 0; }
  .reveal .slides img.hero-logo { clip-path: none; filter: none; transition: none; }
}

/* Prompts and quotes without a thick colored rail; selection and scrollbars in the deck's colors. */
.prompt { border: 1px solid rgba(91, 140, 255, .45); border-left-width: 1px; background: rgba(91, 140, 255, .07); }
.quote { border-left: 0; padding-left: 0; font-size: 1.4em; font-weight: 500; letter-spacing: -.02em; }
.tag { font-family: var(--mono); font-size: .5em; color: var(--dim); margin-top: -.4em; }
::selection { background: rgba(91, 140, 255, .4); color: var(--text); }
* { scrollbar-color: rgba(255, 255, 255, .25) transparent; scrollbar-width: thin; }
svg.dg text { white-space: pre; }

/* Closing slide: one QR per place to go, dark modules on white so phones read them from the back of the room. */
.reveal .closing { text-align: center; }
.reveal .closing p { margin-inline: auto; }
.reveal .closing h1 { font-size: 2em; margin-bottom: .45em; }
.qr-row { display: flex; justify-content: center; gap: 30px; margin: 0 auto .7em; }
.reveal a.qr-card { display: flex; flex-direction: column; align-items: center; gap: 10px; width: 270px; color: var(--text); text-decoration: none; }
.qr-card svg.qr { width: 270px; height: 270px; border-radius: 14px; display: block; }
.qr-title { font-weight: 600; font-size: .78em; line-height: 1.1; }
.qr-url { font-family: var(--mono); font-size: .46em; color: var(--dim); line-height: 1.2; }

/* Navigator: a chapter strip that always shows where the talk is, and a contents sidebar (T or the top-left button) to jump anywhere. */
.nav-strip { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 30; display: flex; gap: 6px; font: 12px/1 var(--mono); pointer-events: none; }
.nav-strip button { white-space: nowrap; pointer-events: auto; background: none; border: 0; color: var(--dim); opacity: .45; font: inherit; padding: 4px 6px; border-radius: 4px; cursor: pointer; transition: opacity .2s, color .2s; }
.nav-strip button:hover { opacity: .9; }
.nav-strip button[aria-current="true"] { color: var(--accent); opacity: 1; }
.nav-strip button.done { opacity: .7; }
.nav-toggle { position: fixed; top: calc(14px + env(safe-area-inset-top, 0px)); left: calc(14px + env(safe-area-inset-left, 0px)); z-index: 32; width: 36px; height: 36px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); color: var(--dim); opacity: .35; cursor: pointer; display: grid; place-items: center; transition: opacity .2s; }
.nav-toggle:hover, .nav-toggle:focus-visible, .nav-open .nav-toggle { opacity: 1; outline: none; color: var(--text); }
.nav-panel { position: fixed; inset: 0 auto 0 0; width: min(380px, 86vw); z-index: 31; background: var(--surface); border-right: 1px solid var(--line); overflow-y: auto; scroll-padding-top: 72px; padding: 0 14px 24px calc(14px + env(safe-area-inset-left, 0px)); box-sizing: border-box; transform: translateX(-100%); transition: transform .28s cubic-bezier(.2, .7, .2, 1); font-family: var(--display); }
.nav-open .nav-panel { transform: none; }
.nav-head { position: sticky; top: 0; z-index: 1; background: var(--surface); margin: 0 -14px 8px; padding: calc(22px + env(safe-area-inset-top, 0px)) 14px 14px 64px; font: 600 15px/1 var(--display); color: var(--text); border-bottom: 1px solid var(--line); }
.nav-head span { color: var(--dim); font: 12px var(--mono); margin-left: 8px; }
.nav-panel h4 { margin: 18px 8px 6px; font: 600 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.nav-head + h4 { margin-top: 6px; }
.nav-panel h4.here { color: var(--accent); }
.nav-panel ol { list-style: none; margin: 0; padding: 0; }
.nav-panel li button { display: grid; grid-template-columns: 2.2em 1fr; width: 100%; text-align: left; background: none; border: 0; border-radius: 6px; padding: 6px 8px; color: var(--text); font: 15px/1.3 var(--display); cursor: pointer; }
.nav-panel li button:hover { background: var(--surface-2); }
.nav-panel li button .n { font: 12px/1.6 var(--mono); color: var(--dim); }
.nav-panel li button[aria-current="true"] { background: var(--accent-dim); color: var(--text); }
.nav-panel li button[aria-current="true"] .n { color: var(--accent); }
@media (prefers-reduced-motion: reduce) { .nav-panel { transition: none; } }

/* The ACRYL mark on every slide, top right, out of the way of the contents button; the title slide shows the large one instead. */
.deck-mark { position: fixed; top: calc(18px + env(safe-area-inset-top, 0px)); right: calc(22px + env(safe-area-inset-right, 0px)); width: 120px; height: auto; z-index: 30; opacity: .9; pointer-events: none; transition: opacity .3s; }
body.on-title .deck-mark { opacity: 0; }

/* The event RSVP link: one accent pill, title and closing slides. */
.reveal p.rsvp { margin: .6em auto 0; }
.reveal p.rsvp a { display: inline-block; font-family: var(--mono); font-size: .62em; color: var(--text); text-decoration: none; border: 1px solid var(--accent); background: var(--accent-dim); border-radius: 999px; padding: .35em 1em; }
.reveal p.rsvp a:hover, .reveal p.rsvp a:focus-visible { background: var(--accent); outline: none; }
.reveal p.event { max-width: none; white-space: nowrap; margin: .5em auto 0; font-family: var(--mono); font-size: .5em; line-height: 1.55; color: var(--dim); }

/* Real app screenshots: a gallery slide, a wide single shot, and click-to-enlarge on any figure marked data-zoom. */
.reveal .slides img.shot.wide { width: auto; max-width: 100%; max-height: 60vh; display: block; margin: 0 auto; }
.reveal .gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: .4em; }
.reveal .gallery figure { margin: 0; display: grid; gap: 6px; min-width: 0; }
.reveal .gallery img { width: 100%; height: auto; border-radius: 8px; border: 1px solid var(--line); display: block; margin: 0; }
.reveal .gallery figcaption { font-family: var(--mono); font-size: 14px; color: var(--dim); line-height: 1.3; text-align: left; }
.reveal .gallery .note { align-content: center; font-size: 18px; color: var(--dim); line-height: 1.45; text-align: left; }
.reveal .gallery .note p { margin: 0; }
.reveal [data-zoom] { cursor: zoom-in; }
.zoom-layer { position: fixed; inset: 0; z-index: 40; background: rgba(8, 8, 8, .92); display: grid; place-items: center; padding: 24px; cursor: zoom-out; }
.zoom-layer img { max-width: 100%; max-height: 100%; border-radius: 10px; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }

/* Closing slide with six codes and the contact strip */
.qr-row.six { gap: 22px; margin-bottom: .55em; }
.qr-row.six .qr-card { width: 210px; }
.qr-row.six .qr-card svg.qr { width: 210px; height: 210px; }
.qr-row.six .qr-title { font-size: .62em; }
.qr-row.six .qr-url { font-size: .4em; }
.reveal a.qr-card.featured svg.qr { outline: 5px solid var(--accent); outline-offset: 4px; }
.reveal a.qr-card.featured .qr-title { color: var(--accent); }
.contact-strip { display: flex; align-items: center; justify-content: center; gap: 22px; margin: .35em auto 0; text-align: left; }
.contact-strip img { width: 104px; height: 104px; margin: 0; border-radius: 50%; object-fit: cover; border: 2px solid var(--accent); }
.reveal .contact-strip p { margin: 0; max-width: none; white-space: nowrap; }
.reveal .contact-strip .contact-name { font-size: .7em; font-weight: 600; line-height: 1.2; }
.reveal .contact-strip .contact-name span { color: var(--dim); font-weight: 400; }
.reveal .contact-strip .contact-links { margin-top: .25em; font-family: var(--mono); font-size: .44em; line-height: 1.6; color: var(--text); }
.contact-strip .contact-qr { display: flex; flex-direction: column; align-items: center; gap: 4px; margin-left: 8px; text-decoration: none; }
.contact-strip .contact-qr .qr { width: 132px; height: 132px; border-radius: 10px; }
.reveal .contact-strip .contact-qr span { font-size: .5em; font-weight: 600; color: var(--text); }
.reveal .closing p.small { max-width: none; margin-top: .5em; font-size: .46em; }

/* Phone remote: a faint dot only the presenter knows about, and the pairing QR */
.remote-dot { position: fixed; z-index: 40; right: 14px; bottom: 54px; width: 12px; height: 12px; padding: 0; border: 1px solid rgba(255, 255, 255, .22); border-radius: 50%; background: transparent; opacity: .35; cursor: pointer; transition: opacity 160ms ease; }
.remote-dot:hover, .remote-dot:focus-visible { opacity: 1; outline: none; }
.remote-dot.busy { border-color: var(--accent); }
.remote-dot.live { border-color: rgba(91, 140, 255, .5); }
.remote-dot.paired { border-color: #37b26c; background: rgba(55, 178, 108, .35); }
.remote-dot.failed { border-color: #e5484d; opacity: 1; }
.remote-layer { position: fixed; z-index: 60; inset: 0; display: grid; place-items: center; background: rgba(10, 10, 10, .82); cursor: pointer; }
.remote-card { display: grid; justify-items: center; gap: 14px; padding: 26px; border-radius: 18px; background: #fff; color: #111; }
.remote-qr svg { display: block; width: 320px; height: 320px; }
.remote-hint { margin: 0; font-family: var(--display); font-size: 20px; font-weight: 600; }
.remote-link { margin: 0; font-family: var(--mono); font-size: 12px; color: #666; }

/* Phones: the chapter strip does not fit beside the slide number; the contents button (top left) and swiping still navigate. */
@media (max-width: 600px) { .nav-strip { display: none; } }
