/* deck.css: how the workshop looks. It's Pablo's September design: ink drawings on paper, Inter Tight titles, serif words, small mono labels.
   Colours, typefaces and the gutter are named values in :root. Change them there.
   Slides are drawn on a fixed 1920 x 1080 stage and scaled to the window, so sizes inside .stage are plain px.
   Written pages sit in the window at real size.

   A slide:   .slide  .layout-cover|comic|lines|split|anatomy|result|answer|quote|team|toy|try|show  .has-art .wide .bleed .paper
   Inside it: .slide-main  .slide-text  h1  .say  .command  .points  .slide-art
   One deliberate world, so there is no dark version of the page. */

@font-face { font-family: 'Inter Tight'; src: url(fonts/inter-tight-400-700.woff2) format('woff2'); font-weight: 400 700; font-display: swap; }
@font-face { font-family: 'IBM Plex Mono'; src: url(fonts/ibm-plex-mono-400.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'IBM Plex Mono'; src: url(fonts/ibm-plex-mono-600.woff2) format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Source Serif 4'; src: url(fonts/source-serif-4-wght.woff2) format('woff2'); font-weight: 200 900; font-display: swap; }

:root {
  color-scheme: light;
  --ink: #141414;
  --paper: #ffffff;
  --paper-2: #f0f0f0;
  --muted: #6b6b6b;
  --line: #dcdcdc;
  --blue: #1d3fe8;
  --pink: #ff4f9a;
  --sun: #ffc531;
  --gutter: clamp(20px, 4.2vw, 88px);
  --body: 'Inter Tight', system-ui, -apple-system, 'Hiragino Sans', 'Yu Gothic', sans-serif;
  --serif: 'Source Serif 4', Georgia, 'Hiragino Mincho ProN', 'Yu Mincho', serif;
  --mono: 'IBM Plex Mono', ui-monospace, Menlo, 'Hiragino Kaku Gothic ProN', 'Yu Gothic', monospace;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-synthesis: none; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
button:disabled { cursor: default; opacity: .24; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, figure { margin: 0; }
code, pre { font-family: var(--mono); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; border-radius: 2px; }
::selection { color: var(--paper); background: var(--ink); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

/* ---------- The header on every page ---------- */
.site-header { min-height: 76px; padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)); display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 24px; background: var(--paper); border-bottom: 1px solid var(--line); }
.wordmark { font-size: 15px; font-weight: 560; letter-spacing: -.01em; width: fit-content; }
.site-header nav { display: flex; gap: 26px; align-items: center; align-self: stretch; font-size: 13.5px; color: var(--muted); min-width: 0; }
.site-header nav a { position: relative; display: flex; align-items: center; white-space: nowrap; transition: color 120ms ease; }
.site-header nav a:hover, .site-header nav a[aria-current] { color: var(--ink); }
.site-header nav a[aria-current]::after { content: ''; position: absolute; bottom: -1px; left: 0; right: 0; height: 2px; background: var(--ink); }
.header-tools { display: flex; align-items: center; gap: 4px; justify-self: end; }
.icon-button { width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; transition: background 120ms ease; flex-shrink: 0; }
.icon-button:hover:not(:disabled) { background: var(--paper-2); }
.icon-button svg { width: 18px; height: 18px; }
.text-button { font-size: 13px; color: var(--muted); text-decoration: underline; text-underline-offset: 4px; white-space: nowrap; margin-right: 10px; }
.text-button:hover { color: var(--ink); }

/* ---------- The stage ---------- */
/* Three rules hold every slide together.
   1. Every title starts at the same top-left point, above people's heads. Drawings get the floor.
   2. Three sizes: 148 for the cover, the rounds and the end. 104 for every other title. 48 for reading, 72 when it's one thing.
   3. Serif on a tint is something you type. Inter Tight is something Pablo says. Mono is a name in the app. */
.frame { position: relative; overflow: hidden; width: 100%; height: 100%; }
.stage { position: absolute; left: 0; top: 0; width: 1920px; height: 1080px; transform-origin: 0 0; overflow: hidden; background: var(--paper); }
.slide { --slide-ink: var(--ink); --slide-muted: #616161; --slide-accent: var(--ink); --tint: #ececec; position: absolute; inset: 0; display: flex; flex-direction: column; padding: 72px 96px 72px; overflow: hidden; color: var(--slide-ink); background: var(--slide-bg, var(--paper)); }
/* Round openers, much paler. Stronger again: --round: #c0ccff, #ffc2d9, #b0e6cb */
.block-r1-watch, .block-r1-try { --tint: #dde4ff; --slide-accent: #1d3fe8; --round: #eef1fe; }
.block-r2-watch, .block-r2-try { --tint: #ffdce9; --slide-accent: #b8134f; --round: #fdeef5; }
.block-r3-watch, .block-r3-try { --tint: #d3f0e1; --slide-accent: #086a46; --round: #e8f5ee; }
.slide.paper { --slide-bg: var(--round); }

.slide h1 { font: 560 104px/.96 var(--body); letter-spacing: -.038em; white-space: pre-line; }
.slide-main { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 48px; }
.slide-text { min-width: 0; display: flex; flex-direction: column; gap: 48px; }
.say { font: 400 48px/1.28 var(--body); letter-spacing: -.018em; white-space: pre-line; }
.say.soft { color: var(--slide-muted); }
.say.big { font-size: 72px; line-height: 1.12; letter-spacing: -.028em; }
.label { font: 400 28px/1.3 var(--mono); color: var(--slide-muted); }

/* What you type */
.command { position: relative; align-self: flex-start; max-width: 100%; padding: 34px 44px 38px; background: var(--tint); }
.command pre { margin: 0; font: 400 48px/1.32 var(--serif); letter-spacing: -.012em; white-space: pre-wrap; overflow-wrap: anywhere; }
.command code { font: inherit; }
.command.big { padding: 40px 48px 48px; }
.command.big pre { font-size: 72px; line-height: 1.16; letter-spacing: -.02em; }
.command .blank { display: inline-block; min-width: 3.2ch; border-bottom: 3px solid var(--slide-accent); color: transparent; line-height: 1; }
.command .drop, .drop { color: var(--slide-accent); }
.copy { position: absolute; right: 12px; bottom: 10px; font: 400 18px/1 var(--mono); padding: 6px 10px; border-radius: 4px; color: var(--slide-muted); background: none; opacity: 0; transition: opacity 120ms ease; }
.command:hover .copy, .copy:focus-visible { opacity: 1; }
.copy:hover { color: var(--slide-ink); }

/* Big lines */
.points { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; font: 400 72px/1.1 var(--body); letter-spacing: -.028em; }
.points.numbered li { display: grid; grid-template-columns: 92px minmax(0, 1fr); }
.points.numbered li > span { color: var(--slide-accent); }
.points.titles { gap: 18px; font: 560 104px/1 var(--body); letter-spacing: -.035em; }
.points.titles li { grid-template-columns: 132px minmax(0, 1fr); }
.points.titles li:nth-child(1) > span { color: #1d3fe8; }
.points.titles li:nth-child(2) > span { color: #b8134f; }
.points.titles li:nth-child(3) > span { color: #086a46; }

/* Drawings. A tall one stands on the right. A wide one runs along the floor. A cropped one touches the edge it's cut by.
   The brightness turns the scanned off-white into paper and leaves the ink alone. */
.slide-art { position: relative; min-width: 0; min-height: 0; }
.slide-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: 100% 100%; mix-blend-mode: multiply; filter: brightness(1.07); }
.has-art .slide-main { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); grid-template-rows: minmax(0, 1fr); gap: 40px; }
.has-art.wide .slide-main { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); gap: 36px; }
.has-art.wide .slide-art img { object-position: 50% 100%; }
.has-art.bleed .slide-art { margin: 0 -96px -72px 0; }
.has-art.wide.bleed .slide-art { margin: 0 -96px -72px; }

/* The cover, the rounds and the end */
.layout-cover h1 { font-size: 148px; line-height: .94; letter-spacing: -.045em; }
.layout-cover .slide-main { position: relative; }
.layout-cover.has-art:not(.wide) .slide-main { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.layout-cover .n { display: block; }
.layout-cover .foot { position: absolute; left: 0; bottom: 0; }

/* Comics get the whole slide. */
.slide.layout-comic { padding: 44px 96px; }
.layout-comic .slide-main { align-items: center; }
.comic-frame { width: 100%; height: 100%; min-height: 0; flex: 1; object-fit: contain; mix-blend-mode: multiply; filter: brightness(1.07); }

.layout-split .slide-main { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); align-items: start; gap: 72px; }
.layout-split .points, .layout-split .command { margin-top: 12px; }
.layout-lines .slide-main { justify-content: space-between; }
.points.two { font: 560 148px/1 var(--body); letter-spacing: -.04em; gap: 8px; }
.points.two li + li { color: #a3a3a3; }

/* One prompt, taken apart line by line */
.layout-anatomy .slide-main { position: relative; gap: 56px; }
.anatomy { list-style: none; margin: 0 -44px; padding: 0; }
.anatomy li { display: grid; grid-template-columns: minmax(0, 1.62fr) minmax(0, 1fr); gap: 56px; align-items: center; padding: 18px 44px 20px; font: 400 48px/1.22 var(--serif); letter-spacing: -.012em; transition: opacity 160ms ease; }
.anatomy li .why { font: 560 60px/1 var(--body); letter-spacing: -.03em; color: var(--slide-accent); opacity: 0; }
.anatomy li.off { opacity: .2; }
.anatomy li.on { background: var(--tint); }
.anatomy li.on .why, .anatomy.all li .why { opacity: 1; }
.anatomy.all li .why { font-size: 48px; }
.anatomy-art { position: absolute; right: 0; top: 190px; width: 520px; height: 640px; object-fit: contain; object-position: 100% 0; mix-blend-mode: multiply; }

/* What came back: the real page, as big as it goes */
.layout-result .slide-main { gap: 44px; }
.layout-result .slide-text { flex-direction: row; align-items: baseline; justify-content: space-between; gap: 64px; }
.layout-result .say { max-width: 22ch; text-wrap: balance; }
.shots { flex: 1; min-height: 0; display: flex; gap: 32px; align-items: flex-start; justify-content: flex-start; }
.shots img { display: block; min-width: 0; max-width: 100%; max-height: 100%; object-fit: contain; object-position: 0 0; box-shadow: 0 0 0 2px rgba(20, 20, 20, .1); }

/* A short list, the way the chief of staff gives it */
.layout-answer .slide-main { justify-content: flex-start; gap: 56px; }
.answer { width: 100%; border-collapse: collapse; }
.answer td { padding: 26px 40px 28px 0; border-top: 2px solid #d9d9d9; vertical-align: baseline; font: 400 48px/1.2 var(--body); letter-spacing: -.018em; }
.answer tbody tr:first-child td { border-top: 4px solid var(--slide-ink); }
.answer td:nth-child(1) { width: 41%; }
.answer td:nth-child(2) { width: 18%; font: 400 34px/1.4 var(--mono); color: var(--slide-muted); letter-spacing: 0; white-space: nowrap; }
.answer td:nth-child(3) { padding-right: 0; }
.answer th { padding: 0 0 18px; text-align: left; font: 560 48px/1.1 var(--body); letter-spacing: -.025em; color: var(--slide-accent); }
.answer .type { font: 400 48px/1.3 var(--serif); letter-spacing: -.012em; padding: .04em .24em .1em; margin-left: -.24em; background: var(--tint); -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* A quote */
.layout-quote blockquote { margin: 0; font: 400 132px/1 var(--serif); letter-spacing: -.032em; white-space: pre-line; }
.layout-quote.has-art blockquote { font-size: 108px; }

/* Then, and now: the wall we used to type, beside the one line we type today */
.layout-versus .slide-main { justify-content: flex-start; }
.vs { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0, 1.14fr) minmax(0, .86fr); gap: 72px; align-items: start; }
.vs-side { display: flex; flex-direction: column; gap: 30px; height: 100%; min-height: 0; }
.vs-side > b { font: 560 104px/.98 var(--body); letter-spacing: -.035em; }
.vs-wall { flex: 1; min-height: 0; overflow: hidden; padding: 28px 36px 30px; background: #ececec; }
.vs-wall pre { margin: 0; font: 400 33px/1.26 var(--mono); letter-spacing: -.02em; color: #5c5c5c; white-space: pre-wrap; }
.vs .command { align-self: stretch; }

/* The team: one drawing across the slide, a name under each robot */
.layout-team .slide-main { justify-content: space-between; gap: 20px; }
.team-art { display: block; width: 1560px; height: 620px; margin: 0 auto; object-fit: contain; object-position: 50% 100%; mix-blend-mode: multiply; filter: brightness(1.07); }
.team { position: relative; width: 1560px; height: 70px; margin: 14px auto 0; }
.team span { position: absolute; top: 0; transform: translateX(-50%); font: 400 44px/1 var(--mono); white-space: nowrap; color: var(--slide-accent); }

/* A slide with real sliders. This deck is a web page, so it can. */
.layout-toy .slide-main { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; }
.toy { display: flex; flex-direction: column; align-items: stretch; gap: 40px; padding-top: 64px; }
.toy label { display: grid; grid-template-columns: 1fr auto; gap: 16px 24px; font: 400 48px/1.1 var(--body); letter-spacing: -.018em; }
.toy output { font: 400 38px/1.3 var(--mono); color: var(--slide-accent); font-variant-numeric: tabular-nums; }
.toy input[type=range] { grid-column: 1 / -1; -webkit-appearance: none; appearance: none; width: 100%; height: 60px; margin: 0; background: none; cursor: grab; }
.toy input[type=range]::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: var(--slide-ink); }
.toy input[type=range]::-moz-range-track { height: 6px; border-radius: 3px; background: var(--slide-ink); }
.toy input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 60px; height: 60px; margin-top: -27px; border-radius: 50%; border: 6px solid var(--slide-ink); background: var(--paper); }
.toy input[type=range]::-moz-range-thumb { width: 48px; height: 48px; border-radius: 50%; border: 6px solid var(--slide-ink); background: var(--paper); }
.toy .said { margin: 12px 0 0; padding: 30px 40px 34px; background: var(--tint); font: 400 48px/1.3 var(--serif); letter-spacing: -.012em; }
.toy button { align-self: flex-start; padding: 24px 38px 26px; border: 4px solid var(--slide-ink); border-radius: 999px; font: 500 40px/1 var(--body); letter-spacing: -.015em; }
.toy button:hover { background: var(--slide-ink); color: var(--paper); }
.toy-stage { position: relative; min-height: 0; }
.toy-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: 50% 100%; mix-blend-mode: multiply; filter: brightness(1.07); }


/* The app, redrawn from the public app's own screenshots. Sizes inside .cw are points, the camera scales them. */
/* The window is the big thing. Notes are small, a thin line joins them to it. */
.slide.layout-app { padding: 44px 96px; }
.layout-app .slide-main { justify-content: center; gap: 26px; }
.tour-row { position: relative; display: flex; align-items: center; }
.camwin { position: relative; flex: none; overflow: hidden; border-radius: 18px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .13), 0 18px 50px rgba(0, 0, 0, .16); background: #fff; }
.tour-row { justify-content: center; }
.tnote b { display: block; font: 560 44px/1.08 var(--body); letter-spacing: -.03em; }
.tnote span { display: block; margin-top: 10px; font: 400 32px/1.25 var(--body); letter-spacing: -.012em; color: #5c5c5c; }
.tnote { position: absolute; z-index: 4; padding: 14px 20px 18px; border-radius: 14px; background: rgba(255, 255, 255, .92); opacity: 0; transition: opacity 260ms ease 420ms; }
.tnote.on { opacity: 1 !important; }
.anno { position: absolute; left: 0; top: 0; overflow: visible; pointer-events: none; z-index: 3; }
.anno .ring { fill: none; stroke: #1d3fe8; stroke-width: 3; stroke-dasharray: 1; stroke-dashoffset: 1; }
.anno .lead { fill: none; stroke: #1e1e1e; stroke-width: 2; stroke-dasharray: 1; stroke-dashoffset: 1; }
.anno.go .ring { stroke-dashoffset: 0; transition: stroke-dashoffset 620ms cubic-bezier(.3, .7, .2, 1) 120ms; }
.tnote.done { opacity: 1 !important; transition: none !important; }
.cam.done { transition: none !important; }
.anno.done .ring, .anno.done .lead { stroke-dashoffset: 0 !important; transition: none !important; }
.anno.go .lead { stroke-dashoffset: 0; transition: stroke-dashoffset 320ms ease 620ms; }
.cam { position: absolute; left: 0; top: 0; transform-origin: 0 0; transition: transform 640ms cubic-bezier(.3, .7, .2, 1); }
.cw { display: grid; grid-template-columns: 280px minmax(0, 1fr); width: 1180px; font: 400 14.5px/1.35 -apple-system, 'SF Pro Text', 'Inter Tight', system-ui, 'Hiragino Sans', sans-serif; letter-spacing: -.005em; color: #1e1e1e; background: #fff; }
.cw svg { width: 19px; height: 19px; flex: none; }
.cw svg.sm { width: 13px; height: 13px; color: #8a8a8a; }
.cw p, .cw h5, .cw h6 { margin: 0; }
.cw > aside { background: linear-gradient(#eeeae9, #f1efef 30%); border-right: 1px solid #dddbdb; padding: 0 8px; }
.cw-lights { display: flex; gap: 8px; padding: 17px 12px 0; } .cw-lights i { width: 12px; height: 12px; border-radius: 50%; background: #ee6a5f; } .cw-lights i:nth-child(2) { background: #f5bd4f; } .cw-lights i:nth-child(3) { background: #61c454; }
.cw-tool { position: absolute; left: 94px; top: 12px; display: flex; align-items: center; gap: 8px; color: #2a2a2a; }
.cw-tool .dim { display: inline-flex; color: #b5b1b0; }
.cw-tool .seg { display: inline-flex; margin-left: 34px; padding: 2px; gap: 1px; border-radius: 8px; background: #dcd9d8; }
.cw-tool .seg b { width: 31px; height: 24px; display: inline-flex; align-items: center; justify-content: center; border-radius: 6px; font-weight: 400; }
.cw-tool .seg b.on { background: #fff; box-shadow: 0 0 0 1px #d0cdcc; }
.cw-tool .seg svg { width: 18px; height: 18px; }
.cw-nav { margin-top: 16px; } .cw-nav p { height: 34px; display: flex; align-items: center; gap: 12px; padding: 0 10px; }
.cw-nav u { text-decoration: none; padding: 1px 8px; border-radius: 99px; background: #e3e0df; color: #777; font-size: 11.5px; }
.cw h6 { display: flex; align-items: center; gap: 6px; margin: 16px 0 4px; padding: 0 10px; font: 400 13px/1.3 inherit; font-size: 13px; color: #777; }
.cw-list p { height: 32px; display: flex; align-items: center; padding: 0 10px; border-radius: 8px; }
.cw-list .sel { background: #dddcdc; }
.cw-main { display: flex; flex-direction: column; min-width: 0; }
.cw-main header { height: 44px; flex: none; display: flex; align-items: center; justify-content: space-between; padding: 0 10px 0 18px; border-bottom: 1px solid #e3e3e3; font-size: 14.5px; }
.cw-main header b { font-weight: 500; }
.cw-icons { display: flex; gap: 4px; } .cw-icons i { width: 28px; height: 28px; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; } .cw-icons i.sel { background: #e5e5e5; } .cw-icons svg { width: 20px; height: 20px; }
.cw-body { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) 320px; }
.cw-mid { display: flex; flex-direction: column; min-width: 0; }
.cw-chat { flex: 1; min-height: 0; padding: 22px 26px; display: flex; flex-direction: column; gap: 12px; justify-content: flex-end; }
.cw-chat .u { align-self: flex-end; padding: 9px 15px; border-radius: 14px; background: #f1f1f1; }
.cw-chat .c { align-self: flex-start; } .cw-chat a { color: #1d3fe8; }
.cw-comp { position: relative; margin: 0 22px; height: 46px; display: flex; align-items: center; gap: 12px; padding: 0 12px 0 10px; border: 1px solid #dcdcdc; border-radius: 15px; background: #fff; color: #7d7d7d; box-shadow: 0 2px 10px rgba(0, 0, 0, .05); }
.cw-comp i { width: 28px; height: 28px; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; color: #1e1e1e; } .cw-comp.on i { background: #dcdcdc; }
.cw-comp u { margin-left: auto; width: 28px; height: 28px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: #e7e7e7; color: #fff; text-decoration: none; }
.cw-row { display: flex; align-items: center; gap: 16px; margin: 7px 22px 34px; padding: 3px 6px; border-radius: 9px; color: #4d4d4d; font-size: 13px; }
.cw-row .o { position: relative; display: inline-flex; align-items: center; gap: 6px; } .cw-row .o b { font-weight: 400; } .cw-row svg { width: 15px; height: 15px; } .cw-row svg.sm { width: 11px; height: 11px; } .cw-row .sp { flex: 1; }
.cw-row .o em { position: absolute; left: 0; top: 100%; margin-top: 7px; white-space: nowrap; font: 400 13px/1.2 var(--body); color: #5c5c5c; }
.cw-right { border-left: 1px solid #e3e3e3; padding: 18px 17px; } .cw-right h5 { font: 500 14.500px/1.3 inherit; font-size: 14.5px; margin-bottom: 14px; }
.cw-right p { display: flex; align-items: center; gap: 12px; min-height: 32px; } .cw-right u { margin-left: auto; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: #888; } .cw-right u.pc { display: flex; align-items: center; gap: 7px; text-decoration: none; color: #777; } .cw-right u.pc b { width: 24px; height: 10px; border-radius: 99px; background: #ebebeb; position: relative; display: inline-block; } .cw-right u.pc s { position: absolute; left: 2px; top: 2px; width: 6px; height: 6px; border-radius: 50%; background: #4f91e1; }
.cw-right hr { border: 0; border-top: 1px solid #ebebeb; margin: 10px 0; } .cw-right .hd { gap: 6px; } .cw-right .sw { margin-left: auto; width: 29px; height: 16px; border-radius: 99px; background: #d1d1d1; position: relative; } .cw-right .sw::after { content: ''; position: absolute; left: 2px; top: 2px; width: 12px; height: 12px; border-radius: 50%; background: #fff; }
.cw-right { display: flex; flex-direction: column; }
.cw-pane { margin: -18px -17px; flex: 1; display: flex; flex-direction: column; min-height: 0; }
.cw-tab { display: flex; align-items: center; gap: 8px; height: 38px; flex: none; padding: 0 14px; border-bottom: 1px solid #e3e3e3; font-size: 13.5px; } .cw-tab svg { width: 17px; height: 17px; } .cw-tab b { margin-left: auto; font-weight: 400; color: #777; }
.cw-page { flex: 1; padding: 18px; background: #fff; overflow: hidden; } .cw-page strong { display: block; white-space: nowrap; font: 800 62px/1.05 -apple-system, 'Inter Tight', sans-serif; letter-spacing: -.04em; } .cw-page u { display: block; height: 52px; margin-top: 12px; border-radius: 8px; background: #efefef; } .cw-page u:nth-of-type(2) { height: 90px; }
.cw-diff { padding: 12px 0; font: 400 13px/1.9 ui-monospace, Menlo, monospace; } .cw-diff p { padding: 0 14px 8px; min-height: 0; font: 400 13px/1.4 -apple-system, sans-serif; gap: 8px; } .cw-diff del, .cw-diff ins { display: block; padding: 0 14px; text-decoration: none; } .cw-diff del { background: #ffebe9; } .cw-diff ins { background: #e0f6e4; } .cw-diff i { display: inline-block; width: 26px; color: #9a9a9a; }
.cw-term pre { margin: 0; padding: 14px; font: 400 13px/1.5 ui-monospace, Menlo, monospace; } .cw-term pre b { display: inline-block; width: 8px; height: 15px; background: #1e1e1e; vertical-align: -2px; } .cw-term img { display: block; width: calc(100% - 28px); flex: 1; min-height: 0; margin: 0 14px 14px; object-fit: contain; mix-blend-mode: multiply; filter: brightness(1.07); }
.cw-menu { position: absolute; left: 6px; bottom: 52px; width: 311px; padding: 8px; border: 1px solid #e0e0e0; border-radius: 16px; background: #fff; color: #1e1e1e; box-shadow: 0 10px 34px rgba(0, 0, 0, .16); z-index: 3; } .cw-menu p { height: 28px; display: flex; align-items: center; gap: 12px; padding: 0 10px; border-radius: 8px; } .cw-menu svg { width: 17px; height: 17px; } .cw-menu p u { width: auto; height: auto; margin-left: auto; border-radius: 0; background: none; display: inline; text-decoration: none; color: #8a8a8a; } .cw-menu .hi { background: #efefef; }
.cam .p { transition: opacity 240ms ease; }
.cam.lit .p { opacity: .42; }
.cam.lit .p.on { opacity: 1; }
.cam.lit .p.soft { opacity: 1; }



/* ---------- Your turn: the goal, what you type, the clock. A room reads this from far away for 15 minutes. ---------- */
.layout-try .slide-main, .layout-show .slide-main { gap: 60px; }
.try-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 72px; align-items: start; }
.layout-try .points { font-size: 64px; gap: 14px; }
.layout-try .command { align-self: stretch; }
.stack { background: var(--tint); padding: 14px 44px 18px; }
.layout-try .stack .command { display: grid; grid-template-columns: 300px minmax(0, 1fr); background: none; padding: 26px 0 28px; }
.layout-try .stack .command + .command { border-top: 2px solid color-mix(in srgb, var(--slide-ink) 22%, transparent); }
.layout-try .stack.dense .command { padding: 11px 0 13px; }
.layout-try .stack.dense pre { font-size: 46px; line-height: 1.26; }
.stack .n { font: 400 38px/1.62 var(--mono); color: var(--slide-accent); letter-spacing: -.02em; }
.timer { display: block; width: auto; padding: 0; text-align: right; }
.timer .num { display: inline-block; font: 400 96px/1 var(--mono); font-variant-numeric: tabular-nums; letter-spacing: -.04em; padding: .06em .24em .1em; border-radius: 12px; background: var(--sun); color: var(--ink); }
.timer .msg { display: block; margin-top: 12px; font: 400 32px/1.3 var(--body); color: var(--slide-ink); }
.timer .msg:empty { display: none; }
/* Yellow means one thing: the clock is the room's. */
.timer.low .num { background: var(--blue); color: #ffffff; }
.timer.done .num { background: var(--pink); color: #ffffff; }
.time-up-art { display: none; position: absolute; left: 96px; right: 96px; top: 340px; bottom: 40px; }
.time-up-art img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; animation: appear 220ms cubic-bezier(.2, .7, .2, 1) both; }
.is-up .time-up-art { display: block; }
.is-up .layout-try .try-body, .is-up .layout-show .try-body { visibility: hidden; }
.try-body { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 40px; }
.layout-show .try-body { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 40px; }
.layout-show .points { align-content: start; }

/* ---------- The slides view ---------- */
.deck { position: fixed; inset: 0; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; padding-top: env(safe-area-inset-top, 0px); background: var(--paper); }
.deck .frame { width: auto; margin-left: max(var(--gutter), env(safe-area-inset-left, 0px)); margin-right: max(var(--gutter), env(safe-area-inset-right, 0px)); }
.slide.enter { animation: appear 220ms cubic-bezier(.2, .7, .2, 1); }
.deck-footer { min-height: 92px; padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)); padding-bottom: env(safe-area-inset-bottom, 0px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 960px) minmax(0, 1fr); align-items: center; gap: 30px; }
.deck-footer > .icon-button { justify-self: start; }
.deck-footer > .slide-navigation { justify-self: end; }
.deck-progress { display: flex; align-items: center; justify-content: center; min-width: 0; }
.deck-progress button { flex: 1 1 0; min-width: 0; max-width: 26px; height: 44px; padding: 0 2px; box-sizing: content-box; display: flex; align-items: center; }
.deck-progress button.section-start { padding-left: 10px; }
.deck-progress button::before { content: ''; display: block; height: 4px; width: 100%; border-radius: 2px; background: var(--line); transition: background 120ms ease, height 120ms ease; }
.deck-progress button.visited::before { background: #a6a6a6; }
.deck-progress button.current::before { height: 10px; border-radius: 3px; background: var(--ink); }
.deck-progress button:hover::before { height: 10px; border-radius: 3px; background: var(--blue); }
.slide-navigation { display: flex; align-items: center; gap: 4px; }
.page-count { display: flex; gap: 6px; font: 400 12px/1 var(--mono); font-variant-numeric: tabular-nums; margin-right: 16px; color: var(--muted); white-space: nowrap; }
.page-count b { color: var(--ink); font-weight: 400; }
.is-fullscreen .site-header { position: fixed; left: 0; right: 0; top: 0; z-index: 30; background: var(--paper); opacity: 0; transition: opacity 120ms ease; }
.is-fullscreen .site-header:hover { opacity: 1; }
.is-fullscreen .deck { grid-template-rows: minmax(0, 1fr); }
.is-fullscreen .deck .frame { margin: 0; }
.is-fullscreen .deck-footer { position: fixed; left: 0; right: 0; bottom: 0; min-height: 64px; padding-left: 3vw; padding-right: 3vw; background: var(--paper); opacity: 0; transition: opacity 120ms ease; }
.is-fullscreen .deck-footer:hover { opacity: 1; }

/* ---------- Presenter ---------- */
.presenter { padding: 24px max(var(--gutter), env(safe-area-inset-right, 0px)) 16px max(var(--gutter), env(safe-area-inset-left, 0px)); }
.presenter-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 30px; margin-bottom: 24px; }
.notes-size { display: flex; align-items: center; gap: 2px; }
.notes-size > span { min-width: 2ch; text-align: center; color: var(--muted); font: 400 13px/1 var(--mono); font-variant-numeric: tabular-nums; }
.run-clock { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px; }
.timer-display { font: 400 40px/1 var(--mono); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.timer-budget { font: 400 13px/1.4 var(--mono); color: var(--muted); margin: 0 14px 0 10px; }
.timer-budget .late { color: var(--pink); }
.presenter-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 32px; }
.presenter-preview { min-width: 0; }
.p-now { aspect-ratio: 16 / 9; max-width: 100%; border: 1px solid var(--line); overflow: hidden; }
.presenter-controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding-top: 12px; }
.presenter-controls > span { color: var(--muted); font: 400 12px/1.4 var(--mono); }
.presenter-timer { display: flex; align-items: center; gap: 12px; }
.stage-do { padding-top: 16px; font: 400 18px/1.4 var(--serif); }
.stage-do h4 { margin: 0 0 6px; font: 400 11px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.stage-do ul { margin: 0; padding-left: 20px; }
.stage-do li { margin: 4px 0; }
.next-slide { padding-top: 16px; }
.next-slide > span { color: var(--muted); font: 400 11px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.next-slide p { font-size: 26px; line-height: 1.12; letter-spacing: -.025em; margin-top: 8px; max-width: 28ch; font-weight: 500; }
.speaker-notes { min-width: 0; font: 400 var(--notes-size, 22px)/1.45 var(--serif); max-height: calc(100vh - 184px); overflow-y: auto; padding-right: 15px; }
.speaker-notes h4 { margin: 0 0 10px; font: 600 14px/1.4 var(--mono); letter-spacing: .04em; color: var(--ink); }
.speaker-notes p { margin: 0 0 12px; }
.speaker-notes .cue { font: 400 15px/1.4 var(--mono); color: var(--blue); }
.speaker-notes code { font: 400 .86em/1 var(--mono); background: var(--paper-2); padding: .1em .3em; border-radius: 4px; }
.speaker-notes ul { margin: 0 0 24px; padding-left: 22px; }
.speaker-notes li { margin: 6px 0; }
.speaker-notes .now-say { margin: 0 0 26px; font-size: 1.12em; color: var(--ink); }
.frame-words { margin: 0 0 24px; padding-left: 16px; border-left: 3px solid var(--line); font-style: italic; color: var(--muted); }

/* ---------- Pages ---------- */
.page { position: fixed; inset: 0; overflow-y: auto; padding-top: env(safe-area-inset-top, 0px); background: var(--paper); color: var(--ink); }
.page-inner { max-width: 1240px; margin: 0 auto; padding: 64px max(var(--gutter), env(safe-area-inset-right, 0px)) 120px max(var(--gutter), env(safe-area-inset-left, 0px)); }
.page-title { font: 560 clamp(40px, 5vw, 72px)/1 var(--body); letter-spacing: -.035em; margin-bottom: 18px; }
.page-intro { margin: 0 0 40px; font: 400 19px/1.6 var(--serif); max-width: 62ch; }
.ros-block { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 14px 20px; padding: 22px 0; border-top: 1px solid var(--line); }
.ros-time { font: 400 22px/1.2 var(--mono); font-variant-numeric: tabular-nums; }
.ros-time small { display: block; margin-top: 6px; font: 400 13px/1.4 var(--body); color: var(--muted); }
.ros-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; }
.ros-card { display: block; min-width: 0; }
.ros-card .thumb { aspect-ratio: 16 / 9; border: 1px solid var(--line); overflow: hidden; }
.ros-card:hover .thumb { border-color: var(--ink); }
.ros-card b { display: block; margin-top: 8px; font-size: 15px; font-weight: 500; line-height: 1.25; letter-spacing: -.01em; }
.ros-card span { font: 400 12px/1.4 var(--mono); color: var(--muted); font-variant-numeric: tabular-nums; }

/* The written pages and the book share one voice. */
.doc { max-width: calc(740px + 2 * var(--gutter)); margin: 0 auto; padding: 64px max(var(--gutter), env(safe-area-inset-right, 0px)) 120px max(var(--gutter), env(safe-area-inset-left, 0px)); }
.doc, .book-prose { font: 400 21px/1.65 var(--serif); }
.doc h1, .book-prose h1 { font: 560 clamp(54px, 5.6vw, 92px)/.96 var(--body); letter-spacing: -.04em; margin: 0 0 34px; text-wrap: balance; }
.doc h2, .book-prose h2 { font: 560 38px/1.1 var(--body); letter-spacing: -.02em; margin: 84px 0 22px; padding-top: 28px; border-top: 1px solid var(--line); scroll-margin-top: 40px; text-wrap: balance; }
.doc h3, .book-prose h3 { font: 600 22px/1.3 var(--body); letter-spacing: -.01em; margin: 36px 0 12px; scroll-margin-top: 40px; text-wrap: balance; }
.doc p, .book-prose p { margin: 0 0 20px; }
.doc ul, .doc ol, .book-prose ul, .book-prose ol { padding-left: 22px; margin: 0 0 24px; }
.doc li, .book-prose li { margin: 8px 0; padding-left: 4px; }
.doc a, .book-prose a { color: var(--blue); text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--blue) 40%, transparent); text-underline-offset: 3px; overflow-wrap: anywhere; }
.doc strong, .book-prose strong { font-weight: 640; }
.doc hr, .book-prose hr { border: 0; border-top: 1px solid var(--line); margin: 48px 0; }
.doc :not(pre) > code, .book-prose :not(pre) > code { font: 400 .84em/1 var(--mono); background: var(--paper-2); padding: 2px 5px; border-radius: 4px; overflow-wrap: anywhere; }
.doc h2 code, .doc h3 code, .book-prose h2 code, .book-prose h3 code { background: none; padding: 0; font-size: .9em; }
.doc pre, .book-prose pre { position: relative; margin: 24px 0; padding: 36px 20px 18px; background: var(--paper-2); border-radius: 6px; overflow: auto; font: 400 16px/1.6 var(--mono); white-space: pre-wrap; overflow-wrap: anywhere; }
.doc pre code, .book-prose pre code { font: inherit; }
.doc pre .copy, .book-prose pre .copy { top: 8px; right: 10px; bottom: auto; padding: 3px 5px; font: 400 11px/1 var(--body); color: var(--ink); opacity: .6; }
.doc pre .copy:hover, .book-prose pre .copy:hover { opacity: 1; }
.doc .table-wrap, .book-prose .table-wrap { overflow: auto; max-width: 100%; margin: 24px 0; }
.doc table, .book-prose table { border-collapse: collapse; width: 100%; font: 400 16px/1.5 var(--body); }
.doc td, .doc th, .book-prose td, .book-prose th { border-bottom: 1px solid var(--line); padding: 12px 14px 12px 0; vertical-align: top; text-align: left; min-width: 110px; }
.doc th, .book-prose th { font-weight: 600; color: var(--muted); font-size: 13px; letter-spacing: .02em; text-transform: none; }
.get-starter { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 28px; border-radius: 26px; background: var(--ink); color: var(--paper); font: 520 16px/1 var(--body); letter-spacing: -.01em; }
.get-starter:hover { background: var(--blue); }
.get-starter[hidden] { display: none; }
.get-note { font-size: 16px; color: var(--muted); }

/* ---------- The front page: the cover, with two links ---------- */
.home { position: fixed; inset: 0; overflow: hidden; background: var(--paper); color: var(--ink); padding: clamp(24px, 5vw, 88px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); gap: clamp(20px, 3vw, 48px); }
.home h1 { font: 560 clamp(44px, 7.6vw, 148px)/.92 var(--body); letter-spacing: -.045em; }
.home-links { grid-row: 2; align-self: end; display: flex; gap: clamp(24px, 3vw, 56px); font: 560 clamp(28px, 3.4vw, 60px)/1 var(--body); letter-spacing: -.03em; }
.home-links a { border-bottom: 4px solid transparent; padding-bottom: 6px; }
.home-links a:hover, .home-links a:focus-visible { border-bottom-color: currentColor; color: var(--blue); }
.home-art { grid-column: 2; grid-row: 1 / 3; position: relative; min-height: 0; }
.home-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: 100% 100%; mix-blend-mode: multiply; filter: brightness(1.07); }

/* ---------- The book: every chapter on the left, one chapter on the page ---------- */
.book { position: relative; display: grid; grid-template-columns: minmax(0, 740px); justify-content: center; padding: clamp(32px, 4.4vw, 64px) max(var(--gutter), env(safe-area-inset-right, 0px)) 140px max(var(--gutter), env(safe-area-inset-left, 0px)); }
.book.is-open { grid-template-columns: 250px minmax(0, 740px); gap: clamp(40px, 6vw, 104px); }
.book-side { position: absolute; left: max(var(--gutter), env(safe-area-inset-left, 0px)); top: clamp(32px, 4.4vw, 64px); bottom: 140px; }
.book.is-open .book-side { position: static; }
.book-toggle { position: sticky; top: 28px; z-index: 2; display: inline-flex; align-items: center; gap: 10px; padding: 8px 12px 8px 0; background: var(--paper); font: 500 16px/1 var(--body); letter-spacing: -.008em; color: var(--ink); }
.book-toggle svg { width: 20px; height: 20px; }
.book-toggle:hover { color: var(--blue); }
.book-panel { display: none; }
.book.is-open .book-panel { display: block; position: sticky; top: 72px; max-height: calc(100vh - 96px); margin-top: 14px; overflow-y: auto; scrollbar-width: none; }
.book-list { display: flex; flex-direction: column; }
.book-list a { display: grid; grid-template-columns: 30px minmax(0, 1fr); padding: 6px 0 7px; font: 400 17px/1.25 var(--body); letter-spacing: -.008em; color: var(--muted); }
.book-list a:hover { color: var(--ink); }
.book-list a[aria-current] { color: var(--ink); font-weight: 600; }
.book-list a:first-child { margin-bottom: 10px; }
.book-more { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 26px 0 0 30px; font: 400 14px/1.4 var(--body); color: var(--muted); }
.book-more a, .book-more button { text-decoration: underline; text-underline-offset: 4px; }
.book-more a:hover, .book-more button:hover { color: var(--ink); }
.book-main { min-width: 0; }
.book-prose img { display: block; width: 100%; max-height: 520px; object-fit: contain; object-position: 0 100%; margin: 44px 0; mix-blend-mode: multiply; filter: brightness(1.07); }
.book-prose img[src*="sheet-"], .book-prose img[src*="shot-"] { max-height: none; filter: none; }
.book-letter h1 { font-size: clamp(48px, 7vw, 96px); letter-spacing: -.04em; line-height: .94; margin-bottom: 8px; }
.book-opener h1 { font: 560 clamp(44px, 6.4vw, 84px)/.96 var(--body); letter-spacing: -.038em; margin: 0; text-wrap: balance; }
.book-opener h1 span { display: block; }
.book-opener p { margin: 20px 0 0; font: 400 24px/1.35 var(--body); letter-spacing: -.012em; color: var(--muted); }
.book-prose h3 { font: 560 30px/1.1 var(--body); letter-spacing: -.025em; margin: 72px 0 14px; }
.book-prose pre, .doc pre { padding: 22px 26px 24px; background: #f0f0f0; border-radius: 0; font: 400 20px/1.5 var(--serif); letter-spacing: -.004em; }
.book-prose pre .copy, .doc pre .copy { font-size: 14px; opacity: .7; }
.book-prose table { font: 400 18px/1.45 var(--body); }
.book-turn { display: flex; justify-content: space-between; gap: 32px; margin-top: 104px; padding-top: 28px; border-top: 4px solid var(--ink); }
.book-turn a { font: 560 28px/1.1 var(--body); letter-spacing: -.025em; color: var(--ink); max-width: 46%; }
.book-turn a:hover { color: var(--blue); }
.book-turn a span { display: block; margin-bottom: 8px; font: 400 15px/1.3 var(--body); letter-spacing: 0; color: var(--muted); }
.book-turn .next { text-align: right; margin-left: auto; }
@media (max-width: 1240px) and (min-width: 901px) {
  .book-toggle span { display: none; }
  .book.is-open .book-toggle span { display: inline; }
}
@media (max-width: 900px) {
  .book, .book.is-open { display: block; padding-top: 0; }
  .book-side, .book.is-open .book-side { position: sticky; top: 0; left: auto; bottom: auto; z-index: 2; margin: 0 calc(-1 * var(--gutter)) 36px; padding: 0 var(--gutter); background: var(--paper); border-bottom: 2px solid var(--ink); }
  .book-toggle { position: static; width: 100%; padding: 16px 0; font-size: 18px; }
  .book.is-open .book-panel { position: static; margin: 0; padding-bottom: 22px; max-height: 72vh; }
  .book-list a { padding: 9px 0 10px; font-size: 19px; }
}

@keyframes appear { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

@media (max-width: 1100px) {
  .site-header { grid-template-columns: auto minmax(0, 1fr) auto; gap: 24px; min-height: 68px; }
  .wordmark { white-space: nowrap; }
  .site-header nav { gap: 20px; overflow-x: auto; scrollbar-width: none; }
  .presenter-grid { gap: 28px; }
  .deck-footer { grid-template-columns: auto minmax(0, 1fr) auto; }
}
@media (max-width: 800px) {
  .home { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr) auto; }
  .home-art { grid-column: 1; grid-row: 2; }
  .home-links { grid-row: 3; }
  .doc h2 { font-size: 32px; margin-top: 64px; }
  .presenter-grid { grid-template-columns: minmax(0, 1fr); }
  .speaker-notes { max-height: none; overflow: visible; }
  .ros-block { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 520px) {
  :root { --gutter: 16px; }
  .site-header { min-height: 62px; }
  .site-header { gap: 14px; }
  .wordmark { font-size: 14px; }
  .site-header nav { gap: 14px; font-size: 12.5px; }
  .header-tools > :not(.keep) { display: none; }
  .deck-footer { min-height: 76px; display: flex; justify-content: space-between; gap: 12px; }
  .deck-progress { display: none; }
  .doc, .book-prose { font-size: 18px; }
  .book-prose pre, .doc pre { font-size: 18px; padding: 18px 18px 20px; }
  .doc h1 { font-size: 48px; }
  .doc h2 { font-size: 30px; }
  .book-turn a { font-size: 22px; }
  .timer-display { font-size: 30px; }
}
@media (hover: none) { .doc pre .copy, .book-prose pre .copy { opacity: .6; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print {
  .page { position: static; overflow: visible; }
  .site-header, .book-side, .book-turn, .copy { display: none !important; }
  .book { display: block; padding: 0; }
  .book-prose img, .book-prose pre { break-inside: avoid; }
}

/* Pro tip number, above the title. Presenter notes: short lines, big, one font, stage directions apart. */
.tip-no { position: absolute; left: var(--tip-x, 96px); top: var(--tip-y, 26px); margin: 0; font: 400 30px/1.2 var(--mono); color: var(--slide-muted); z-index: 3; }
.speaker-notes { font: 450 var(--notes-size, 32px)/1.3 var(--body); letter-spacing: -.012em; }
.speaker-notes p { margin: 0 0 .7em; }
.speaker-notes .cue { display: flex; gap: .7em; align-items: baseline; margin: .1em 0 .95em; padding: .55em .8em .6em; border-radius: 8px; background: var(--paper-2); font: 450 .62em/1.3 var(--body); letter-spacing: 0; color: var(--ink); }
.speaker-notes .cue::before { content: 'DO'; font: 500 .78em/1 var(--mono); color: var(--blue); }
.speaker-notes .frame-words, .speaker-notes .now-say { margin: 0 0 .9em; padding: 0; border: 0; font-style: normal; font-size: 1em; color: var(--ink); }
.speaker-notes .try-extra { margin-top: 1.4em; font-size: .56em; line-height: 1.35; }
.speaker-notes .try-extra h4 { margin: 1em 0 .2em; font: 500 13px/1.3 var(--mono); letter-spacing: .04em; color: var(--muted); }
.speaker-notes .try-extra p { margin: 0; }
.stage-do { font: 400 20px/1.35 var(--body); }

/* The app drawing, matched to the real window: footer in the sidebar, mic in the box, the row of a running session. */
.cw > aside { display: flex; flex-direction: column; }
.cw-foot { margin-top: auto; display: flex; align-items: center; gap: 9px; padding: 10px 12px 12px; font-size: 13.5px; }
.cw-foot b { width: 22px; height: 22px; flex: none; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: #2f9e5b; color: #fff; font: 500 11px/1 var(--body); }
.cw-foot svg { width: 15px; height: 15px; } .cw-foot svg.sm { width: 11px; height: 11px; } .cw-foot em { margin-left: auto; display: inline-flex; font-style: normal; }
.cw-main header b { display: inline-flex; align-items: center; gap: 7px; } .cw-main header b svg { width: 12px; height: 12px; }
.cw-comp u.mic { background: none; color: #1e1e1e; } .cw-comp u.mic svg { width: 18px; height: 18px; }
.cw-row.running { gap: 14px; } .cw-row.running .dim { color: #8a8a8a; margin-left: -7px; }
.cw-row .ring { width: 13px; height: 13px; border: 2px solid #cfcfcf; border-radius: 50%; }

/* Pick your world */
.dials { width: 100%; border-collapse: collapse; }
.dials th { width: 15%; padding: 22px 30px 24px 0; text-align: left; vertical-align: baseline; font: 400 34px/1.3 var(--mono); color: var(--slide-accent); }
.dials td { padding: 18px 0 22px; font: 400 64px/1.1 var(--body); letter-spacing: -.028em; }
.dials td span { margin-right: 54px; white-space: nowrap; }
.dials tr { border-top: 2px solid #d9d9d9; }
.dials tr:first-child { border-top: 4px solid var(--slide-ink); }

/* Four worlds, two by two. The app drawing shows a real one in its Browser. */
.shots.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 24px; justify-items: stretch; align-content: start; }
.shots.grid img { width: 100%; height: 386px; object-fit: cover; object-position: 50% 50%; }
.cw-page.cw-world { padding: 0; display: block; }
.cw-page.cw-world img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* The four worlds, playing. A click opens the real one. */
.shots.grid a { display: block; min-width: 0; box-shadow: 0 0 0 2px rgba(20, 20, 20, .1); }
.shots.grid video { display: block; width: 100%; height: 386px; object-fit: cover; object-position: 50% 50%; background: #eee; }
.shots.grid a:nth-child(3) video { image-rendering: pixelated; }

/* Two-hour rebuild: stories, six worlds, a fourth colour, smaller choices. */
.block-r4-watch, .block-r4-try { --tint: #ebe3fb; --slide-accent: #5a2bc9; --round: #f4effd; }
.shots.grid.six { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 20px; }
.shots.grid.six video { height: 372px; }
.story { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 60px; align-items: start; }
.story video { display: block; width: 100%; height: 680px; object-fit: cover; box-shadow: 0 0 0 2px rgba(20, 20, 20, .1); background: #eee; }
.story dl { margin: 0; display: grid; gap: 14px; }
.story dt { font: 400 30px/1.2 var(--mono); color: var(--slide-muted); }
.story dd { margin: 0 0 30px; font: 400 48px/1.18 var(--body); letter-spacing: -.02em; }
.dials.small td { font-size: 46px; padding: 16px 0 18px; }
.dials.small td span { margin-right: 44px; white-space: normal; display: inline-block; }
.dials.small th { width: 13%; font-size: 30px; padding: 18px 20px 18px 0; }
.story .story-img { display: block; width: 100%; height: 680px; object-fit: cover; box-shadow: 0 0 0 2px rgba(20, 20, 20, .1); }

/* A tip with a piece of the real app beside it. */
.has-mini .slide-main { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); }
.has-mini .points { font-size: 56px; gap: 18px; }
.has-mini .command pre { font-size: 42px; }
.mini-win { position: absolute; left: 0; right: 0; top: 0; zoom: 1.34; }
.mini-win .cw { width: auto; grid-template-columns: minmax(0, 1fr); border-radius: 12px; overflow: hidden; box-shadow: 0 16px 50px rgba(0, 0, 0, .14), 0 0 0 1px rgba(0, 0, 0, .08); }
.mini-win .cw.has-side { grid-template-columns: 212px minmax(0, 1fr); }
.mini-win .cw-main header { height: 40px; }
.mini-win .cw-body { display: grid; grid-template-columns: minmax(0, 1fr); }
.mini-win .cw.has-right .cw-body { grid-template-columns: minmax(0, 1fr) 230px; }
.mini-win .cw-mid { display: flex; flex-direction: column; justify-content: flex-end; min-height: 410px; }
.mini-win .cw-chat { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 12px; padding: 18px 22px 16px; }
.mini-win .cw-chat .u { align-self: flex-end; max-width: 82%; padding: 8px 13px 9px; border-radius: 12px; background: #f0efee; }
.mini-win .cw-chat .c { max-width: 92%; }
.mini-win .mqueued { opacity: .72; } .mini-win .mqueued small { display: block; margin-top: 2px; font-size: 11.5px; color: #777; }
.mini-win .mwork { display: flex; align-items: center; gap: 8px; color: #777; } .mini-win .mwork i { width: 10px; height: 10px; border-radius: 50%; background: #d97757; }
.mini-win .mbox { height: auto; min-height: 46px; display: block; padding: 8px 12px 8px 10px; }
.mini-win .mline { display: flex; align-items: center; gap: 12px; } .mini-win .mline span { flex: 1; min-width: 0; } .mini-win .typed .mline span { color: #1e1e1e; white-space: pre-line; }
.mini-win .mchip { display: block; height: 62px; margin: 2px 0 8px 6px; border-radius: 6px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .12); }
.mini-win .mhi { background: #dfe6ff; border-radius: 6px; box-shadow: 0 0 0 4px #dfe6ff; color: #1d3fe8; }
.mini-win .cw-right p { min-height: 28px; } .mini-win .cw-right h5 { margin: 6px 0 10px; }
.mini-win .mchip { position: static; inset: auto; display: block; width: auto; height: 62px; object-fit: contain; object-position: 0 0; mix-blend-mode: normal; filter: none; margin: 2px 0 8px 6px; }
.mini-win .cw-row .dim { margin-left: 5px; }
.mini-win .cw-list p { justify-content: space-between; }

/* One sentence per slide */
.layout-line .slide-text { justify-content: center; }
.layout-line .slide-main { justify-content: center; }

/* Titles that wrap do so evenly, with no word left alone. */
.stage h1 { text-wrap: balance; }
.layout-line.has-art:not(.wide) .slide-main { grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); }
.layout-cover.has-art:not(.wide) h1 { font-size: 116px; line-height: .97; letter-spacing: -.042em; }
.has-mini h1 { font-size: 92px; }

/* Says what a click does, on the video itself. */
.story a[data-live] { position: relative; }
.story-hint { position: absolute; right: 14px; top: 14px; padding: 8px 14px 9px; border-radius: 8px; background: rgba(0, 0, 0, .68); color: #fff; font: 400 24px/1 var(--body); pointer-events: none; }

/* Every line on screen: smaller type for longer lines, and the picture zooms between them. */
.layout-line.cap-m h1 { font-size: 112px; line-height: .95; }
.layout-line.cap-s h1 { font-size: 88px; line-height: 1; letter-spacing: -.03em; }
.layout-line.has-art.cap-m:not(.wide) h1 { font-size: 92px; }
.layout-line.has-art.cap-s:not(.wide) h1 { font-size: 72px; line-height: 1.04; letter-spacing: -.025em; }
.slide-art.zoomed { overflow: hidden; }
.slide-art.zoomed img { transform: scale(var(--z)); transform-origin: var(--ox) var(--oy); animation: capin .5s cubic-bezier(.2, .7, .2, 1); }
.slide.layout-cap { padding: 0; }
.cap-vis { flex: 1; min-height: 0; position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; background: var(--paper); }
.cap-zoom { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; transform: scale(var(--z)); transform-origin: var(--ox) var(--oy); animation: capin .5s cubic-bezier(.2, .7, .2, 1); }
.cap-zoom video { width: 100%; height: 100%; object-fit: cover; }
.cap-zoom > img { position: static; width: 100%; height: 100%; object-fit: contain; }
.cap-zoom .mini-win { position: relative; left: auto; right: auto; top: auto; width: 1100px; zoom: 1.4; }
.is-cmd .cap-zoom { padding: 72px 96px 0; align-items: flex-end; justify-content: flex-start; }
.is-cmd .cap-zoom .command pre { font-size: 72px; line-height: 1.18; letter-spacing: -.02em; }
.cap-text { margin: 0; padding: 36px 96px 52px; font: italic 400 68px/1.16 var(--serif); letter-spacing: -.012em; color: var(--slide-ink); text-wrap: balance; }
@keyframes capin { from { transform: scale(calc(var(--z) * .95)); } }
.layout-line .slide-art img { object-position: 50% 50%; }
.layout-line.has-art.cap-m:not(.wide) .slide-main, .layout-line.has-art.cap-s:not(.wide) .slide-main { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); }
.is-cmd .cap-zoom { align-items: center; justify-content: center; padding: 48px 96px 0; }
.is-cmd .cap-zoom .command pre { font-size: 84px; line-height: 1.14; }
.is-cmd .cap-zoom .command { align-self: center; }
/* A zoomed drawing grows away from the words and runs off the slide. It is never boxed in. */
.layout-line .slide-art.zoomed { overflow: visible; }
.layout-line .slide-art.zoomed img { object-position: 0% 50%; }
.layout-line.has-art .slide-text { position: relative; z-index: 1; }

/* Corner layouts: the words take one corner and the drawing fills the other side, running off two edges. */
.layout-line[class*="place-"].has-art .slide-main { display: block; }
.layout-line[class*="place-"] .slide-text { position: absolute; z-index: 1; width: 880px; display: block; }
.layout-line[class*="place-"] .slide-art { position: absolute; overflow: visible; margin: 0; width: calc(1200px * var(--z)); height: calc(1080px * var(--z)); }
.layout-line[class*="place-"] .slide-art img { position: absolute; inset: 0; width: 100%; height: 100%; transform: none; animation: placein .5s cubic-bezier(.2, .7, .2, 1); }
.layout-line[class*="place-"] h1 { font-size: 112px; line-height: .95; }
.layout-line[class*="place-"].cap-m h1 { font-size: 100px; line-height: .97; }
.layout-line[class*="place-"].cap-s h1 { font-size: 86px; line-height: 1; letter-spacing: -.03em; }
.place-br .slide-text { left: 0; top: 0; } .place-br .slide-art { left: 720px; top: 0; } .place-br .slide-art img { object-position: 0% 0%; }
.place-tr .slide-text { left: 0; bottom: 0; } .place-tr .slide-art { left: 720px; bottom: 0; } .place-tr .slide-art img { object-position: 0% 100%; }
.place-bl .slide-text { right: 0; top: 0; } .place-bl .slide-art { right: 800px; top: 0; } .place-bl .slide-art img { object-position: 100% 0%; }
.place-tl .slide-text { right: 0; bottom: 0; } .place-tl .slide-art { right: 800px; bottom: 0; } .place-tl .slide-art img { object-position: 100% 100%; }
@keyframes placein { from { opacity: .4; transform: translateY(14px); } }
/* The caption area never changes height, so the picture or prompt above it never moves. */
.cap-text { box-sizing: border-box; flex: none; height: 262px; overflow: hidden; }
/* The presenter view keeps its top bar, so Open audience view stays visible. */
.is-fullscreen:has(.presenter) .site-header { position: static; opacity: 1; }
/* The prompt and its caption share one left edge. */
.is-cmd .cap-zoom { justify-content: flex-start; padding: 48px 96px 0; }

/* A tip with a picture: the picture takes the free space instead of sitting small in a corner. */
.layout-watch.has-art:not(.wide) .slide-main { grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 56px; }
.layout-watch.has-art:not(.wide) .slide-art { margin: -24px -48px -24px 0; }
.layout-watch.has-art:not(.wide) .slide-art img { object-position: 50% 50%; }
.layout-watch.has-art:not(.wide) .command.big pre { font-size: 52px; line-height: 1.22; letter-spacing: -.012em; }

/* Behind a prompt: a different drawing on each slide, rotated and faint, drifting in. */
.cap-bg { position: absolute; z-index: 0; height: auto; max-width: none; opacity: var(--o); transform: rotate(var(--r)); animation: bgin .7s cubic-bezier(.2, .7, .2, 1); pointer-events: none; }
.is-cmd .cap-vis { z-index: 1; background: transparent; }
.is-cmd .cap-text { position: relative; z-index: 1; }
@keyframes bgin { from { opacity: 0; transform: rotate(calc(var(--r) - 5deg)) translateY(36px) scale(.96); } }

/* Hand-drawn slides */
.slide.layout-free { padding: 0; }
.free { position: absolute; inset: 0; overflow: hidden; }

/* One object carried across a run of slides. */
.slide.layout-actor { padding: 0; background: transparent; }
.actor { position: absolute; left: 0; top: 0; z-index: 0; width: 1400px; height: auto; max-width: none; transform-origin: 0 0; pointer-events: none; transition: transform 1s cubic-bezier(.3, .7, .15, 1), box-shadow .8s ease; }
.actor.is-paper { box-shadow: 0 2px 6px rgba(0, 0, 0, .08), 0 40px 90px rgba(0, 0, 0, .18); }
.layout-actor { z-index: 1; }
.composer { position: absolute; left: 96px; top: 96px; z-index: 2; width: 800px; min-height: 148px; box-sizing: border-box; display: flex; align-items: center; gap: 24px; padding: 28px 116px 28px 32px; background: #fff; border: 1px solid rgba(0, 0, 0, .09); border-radius: 40px; box-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 24px 60px rgba(0, 0, 0, .1); font: 500 40px/1.24 var(--sans, system-ui); letter-spacing: -.012em; color: #141414; }
.composer-chip { flex: none; width: 112px; height: 84px; object-fit: cover; object-position: 30% 40%; border-radius: 14px; border: 1px solid rgba(0, 0, 0, .1); background: #fff; }
.composer-send { position: absolute; right: 24px; top: 50%; width: 72px; height: 72px; margin-top: -36px; border-radius: 50%; background: #141414; display: grid; place-items: center; }
.actor-text { position: absolute; left: 96px; bottom: 96px; z-index: 2; width: 840px; }
.actor-cap.cap-text { position: static; height: auto; overflow: visible; margin: 0; padding: 0; font-size: 60px; line-height: 1.16; }
.actor-big { margin: 0; font-size: 132px; line-height: .92; letter-spacing: -.042em; }

/* When the image matters it takes the slide. A: big words top left. C: a small caption in the corner. P: a photo down the right side. */
.lay-a .actor-text, .lay-p .actor-text { top: 72px; bottom: auto; width: 720px; }
.lay-a .actor-big, .lay-p .actor-big { font-size: 104px; line-height: .99; text-wrap: balance; }
.lay-c .actor-text { left: 72px; top: 64px; bottom: auto; width: 400px; }
.lay-c .actor-cap.cap-text { font-size: 64px; line-height: 1.12; }
.lay-p .actor-text { width: 660px; }
.lay-p .actor-big { font-size: 96px; }
.lay-run .actor-big { font-size: 104px; line-height: .99; text-wrap: balance; }
/* A wide drawing: the words on top, the drawing across the whole slide. */
.lay-w .actor-text { left: 96px; top: 72px; bottom: auto; width: 1400px; }
.lay-w .actor-big { font-size: 104px; line-height: .99; }
.lay-w .actor-cap.cap-text { font-size: 64px; }

/* A slide as a poster. */
.slide.layout-poster { padding: 0; background: transparent; }
.poster { position: absolute; inset: 0; overflow: hidden; background: #fff; }
.poster > div { position: absolute; white-space: nowrap; color: var(--ink); }
/* Type system: a poster part's size is inline, so line height and tracking are written as em plus a fixed px. The px counts for less as type grows: 760px sets about .86 and -.048em, 440px .875 and -.046em, 250px .905 and -.041em, 112px 1.0 and -.03em. */
.p-S { font-weight: 700; letter-spacing: min(calc(-.051em + 2.4px), -.012em); line-height: calc(.835em + 18px); }
.p-E { font-family: var(--serif); font-style: italic; font-weight: 400; line-height: calc(.955em + 12.5px); letter-spacing: min(calc(-.03em + 1.25px), 0em); }
.p-M { font-family: var(--mono); line-height: 1.3; }
.p-R { font-weight: 700; letter-spacing: min(calc(-.051em + 2.4px), -.012em); line-height: calc(.835em + 18px); color: #b85b4f !important; }
/* Loading-screen tips under a build timer. */
.wait-tips { position: absolute; left: 96px; right: 96px; bottom: 44px; font-family: var(--serif); font-style: italic; font-size: 46px; line-height: 1.15; color: var(--ink); transition: opacity .6s ease; }
.wait-tips.out { opacity: 0; }
.poster.is-dark { background: #141414; }
.poster.is-dark > div { color: #f6f3ec; }

/* A quiet moment: small plain words, lots of air. */
.p-Q { font-weight: 500; letter-spacing: -.012em; line-height: 1.28; }
/* A pause: a world, full screen, drifting slowly. */
.slide.layout-breath { padding: 0; background: #000; }
.breath-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); animation: breathe 24s ease-out forwards; }
@keyframes breathe { to { transform: scale(1.2); } }

/* The progress dashes always fit between the footer's buttons, however many slides there are. */
.deck-progress { overflow: hidden; }
.deck-progress button { padding: 0; box-sizing: border-box; }
.deck-progress button.section-start { padding-left: 2px; }
.deck-footer > .icon-button, .deck-footer > .slide-navigation { position: relative; z-index: 1; }

/* A full-screen picture with one small line. */
.breath-line { position: absolute; left: 96px; bottom: 84px; z-index: 1; margin: 0; max-width: 1200px; font-family: var(--serif); font-style: italic; font-size: 60px; line-height: 1.14; color: #fff; text-shadow: 0 2px 32px rgba(0, 0, 0, .65), 0 1px 3px rgba(0, 0, 0, .5); }
/* Build timers: the tip, and the kit's address under it. */
.wait-tips { bottom: 72px; }
.try-kit { position: absolute; left: 96px; bottom: 26px; font-family: var(--mono); font-size: 28px; color: var(--ink); }
/* The line over a full-screen picture reads like a film subtitle. */
.breath-line { text-shadow: none; font-style: normal; font-size: 52px; line-height: 1.4; }
.breath-line span { background: #141414; color: #fff; padding: .12em .38em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* The Games menu in the header. */
.hdr-menu { display: flex; align-items: center; align-self: stretch; }
.hdr-menu summary { display: flex; align-items: center; gap: 5px; list-style: none; cursor: pointer; white-space: nowrap; transition: color 120ms ease; }
.hdr-menu summary::-webkit-details-marker { display: none; }
.hdr-menu summary:hover, .hdr-menu[open] summary { color: var(--ink); }
.hdr-menu[open] summary svg { transform: rotate(180deg); }
.hdr-panel { position: fixed; top: 68px; left: 50%; transform: translateX(-50%); z-index: 40; width: 620px; max-width: calc(100vw - 32px); padding: 8px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 12px 40px rgba(20, 20, 20, .14); }
.site-header nav .hdr-panel a { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 12px; align-items: center; padding: 8px; border-radius: 9px; color: var(--ink); white-space: normal; }
.site-header nav .hdr-panel a:hover, .site-header nav .hdr-panel a:focus-visible { background: #f1f1ef; }
.hdr-panel img { width: 76px; height: 48px; object-fit: cover; border-radius: 6px; display: block; }
.hdr-panel span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.hdr-panel b { font-size: 14px; font-weight: 560; }
.hdr-panel em { font-style: normal; font-size: 12.5px; line-height: 1.3; color: var(--muted); }
.is-fullscreen .site-header:not(:hover) .hdr-panel { visibility: hidden; }
@media (max-width: 560px) { .hdr-panel { grid-template-columns: minmax(0, 1fr); max-height: calc(100vh - 90px); overflow-y: auto; } }
/* The games on the front page. */
.home-links { flex-wrap: wrap; }
.home-games { flex-basis: 100%; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px clamp(14px, 1.5vw, 26px); font-size: clamp(17px, 1.5vw, 26px); letter-spacing: -.015em; }
.home-games span { color: var(--muted); }
.home-links .home-games a { border-bottom-width: 2px; padding-bottom: 2px; }
.home-games span { flex-basis: 100%; }
.home-games { font-size: clamp(16px, 1.4vw, 24px); }

/* Scans: no paper rectangle on white. The kit's address, readable from the back. */
.actor { mix-blend-mode: multiply; }
.try-kit { font-size: 34px; bottom: 20px; }

.home h1 small { display: block; margin-top: .55em; font: 500 clamp(18px, 2vw, 36px)/1.2 var(--body); letter-spacing: -.02em; color: var(--muted); }
/* The moving drawing: same width as the stills, its own proportions. */
.actor.is-film { aspect-ratio: 2048 / 2732; }

/* Between caption slides the same picture stays and glides to its new framing. */
.cap-zoom { transition: transform 1s cubic-bezier(.3, .7, .15, 1), transform-origin 1s cubic-bezier(.3, .7, .15, 1); }

/* A game's card opening into its full-screen slide. */
.same-film .deck .layout-story video[data-v], .same-film .deck .layout-cap .cap-zoom video { view-transition-name: world-film; }
::view-transition-group(world-film) { animation-duration: .8s; animation-timing-function: cubic-bezier(.3, .7, .15, 1); }
::view-transition-old(world-film), ::view-transition-new(world-film) { animation-duration: .8s; height: 100%; object-fit: cover; }

/* No fade up from white between slides. */
.slide.enter { animation: none; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .32s; animation-timing-function: ease; }

/* The real mode menu, drawn large. */
.mm { position: absolute; left: 980px; top: 44px; width: 880px; z-index: 2; font-family: var(--body); color: var(--ink); }
.mm-pop { background: #fff; border: 1px solid #dcdcdc; border-radius: 30px; padding: 22px 22px 18px; box-shadow: 0 18px 60px rgba(20, 20, 20, .14); }
.mm-pop h6 { margin: 0 0 8px 14px; font: 500 30px/1.5 var(--body); color: #777; }
.mm-list { position: relative; }
.mm-hl { position: absolute; left: 0; right: 0; top: 0; height: 110px; border-radius: 18px; background: #efefec; transform: translateY(calc(var(--i) * 110px)); transition: transform .7s cubic-bezier(.3, .7, .15, 1); }
.mm-hl svg { position: absolute; right: 74px; top: 33px; width: 44px; height: 44px; }
@keyframes mm-slide { from { transform: translateY(calc(var(--from) * 110px)); } }
.mm-row { position: relative; height: 110px; padding: 14px 130px 0 16px; box-sizing: border-box; display: flex; flex-direction: column; gap: 2px; }
.mm-row b { font-size: 36px; font-weight: 500; line-height: 1.2; letter-spacing: -.012em; }
.mm-row span { font-size: 27px; line-height: 1.25; color: #777; white-space: nowrap; }
.mm-row u { position: absolute; right: 24px; top: 36px; font-size: 28px; color: #888; text-decoration: none; }
.mm-box { margin-top: 18px; height: 88px; padding: 0 28px; border: 1px solid #dcdcdc; border-radius: 26px; display: flex; align-items: center; gap: 20px; font-size: 30px; color: #999; }
.mm-box svg { width: 34px; height: 34px; color: #444; flex: none; }
.mm-box span { flex: 1; }
.mm-under { margin-top: 12px; display: flex; justify-content: flex-end; align-items: center; gap: 22px; font-size: 30px; }
.mm-under em { font-style: normal; color: #777; margin-left: 6px; }
.mm-chip { display: inline-grid; padding: 6px 16px; border-radius: 12px; background: #e6e6e3; }
.mm-chip span { grid-area: 1 / 1; text-align: center; }
.mm-chip .a { animation: mm-off .01s var(--wait) forwards; }
.mm-chip .b { opacity: 0; animation: mm-on .01s var(--wait) forwards; }
@keyframes mm-off { to { opacity: 0; } }
@keyframes mm-on { to { opacity: 1; } }

/* The demo, shown in the app's own window. */
.cap-zoom .mini-win { font-size: 15px; }
.cap-zoom .mini-win .cw-chat p { white-space: pre-line; }
.cap-zoom .mini-win .mbox span { white-space: pre-line; }
.mini-win .cw.has-browser .cw-body { grid-template-columns: minmax(0, 1fr) 470px; }
.mini-win .mpane { padding: 0; display: flex; flex-direction: column; }
.mini-win .mpane .cw-tab { display: flex; align-items: center; gap: 8px; padding: 9px 12px; font-size: 13px; }
.mini-win .mpane .cw-tab svg { width: 15px; height: 15px; }
.mini-win .mpane img { width: 100%; flex: 1; min-height: 0; object-fit: cover; display: block; }
.mini-win section.cw-main { position: relative; }
.mshare { position: absolute; right: 22px; top: 50px; width: 290px; padding: 12px 8px 8px; background: #fff; border: 1px solid #dcdcdc; border-radius: 14px; box-shadow: 0 10px 34px rgba(20, 20, 20, .16); font-size: 15px; }
.mshare b { display: block; padding: 0 10px 8px; font-weight: 560; }
.mshare p { margin: 0; padding: 9px 10px; border-radius: 9px; display: flex; justify-content: space-between; align-items: center; color: #555; }
.mshare p.on { background: #efefec; color: #141414; }
.mshare svg { width: 18px; height: 18px; }
/* Large enough to read from the back of the room. */
.cap-zoom .mini-win.is-big { width: 880px; zoom: 2; }
.mini-win.is-big .cw-mid { min-height: 355px; }
.mini-win.is-big .cw.has-browser .cw-body { grid-template-columns: minmax(0, 1fr) 400px; }
.mini-win.is-big .cw-chat p, .mini-win.is-big .mline span { font-size: 17.5px; line-height: 1.3; }
.mini-win.is-big .cw-chat { gap: 9px; padding: 12px 18px 10px; }
/* The mode menu opened inside the app window. */
.mm-in { position: absolute; right: 14px; bottom: 58px; width: 880px; zoom: .5; z-index: 3; }
