/* The narrators site's look: the main site's (website/assets/site.css, docs/DESIGN_LANGUAGE.md). Morrow is a reading
   instrument: one hairline, one sun on it. White paper, ink, the sun a step deeper than dawn, dusk for what is playing.
   Literata for titles, names and book text; IBM Plex Sans for everything else, both served by the site at /assets.
   Light and dark, following the computer's setting. */
@import url("/assets/fonts.css");
:root {
  --paper: #FDFCFA; --page: #FFFFFF; --sepia: #F4EEE2; --ink: #141318; --muted: #6B6660;
  --dawn: #C9611F; --dawn-ink: #A34B14; --ember: #A4431A; --dusk: #3A3058; --on-dusk: #FDFCFA;
  --hair: rgba(20, 19, 24, 0.12); --hair-2: rgba(20, 19, 24, 0.28);
  --focus: var(--ink); --warn: #A4431A; --dusk-ink: #3A3058;
  --sun-0: #C9611F; --sun-1: #E6A93F; --sun-2: #A4431A; --sun-3: #3A3058;
  --serif: "Literata", "Iowan Old Style", Charter, Georgia, serif;
  --sans: "IBM Plex Sans", -apple-system, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --card: var(--page); --wash: var(--sepia); --band: var(--sepia); --hairline: var(--hair);   /* the old names, where a rule still uses one */
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #15131C; --page: #1C1924; --sepia: #1F1B24; --ink: #F1ECE3; --muted: #ABA4B8;
    --dawn: #E3B38C; --dawn-ink: #E9C2A2; --ember: #C6602A; --dusk: #8A78A8; --on-dusk: #15131C;
    --hair: rgba(241, 236, 227, 0.16); --hair-2: rgba(241, 236, 227, 0.34);
    --focus: var(--dawn); --warn: #E0805A; --dusk-ink: #B5A6D6;
    --sun-0: #E3B38C; --sun-1: #E8C27A; --sun-2: #C6602A; --sun-3: #8A78A8;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #15131C; --page: #1C1924; --sepia: #1F1B24; --ink: #F1ECE3; --muted: #ABA4B8;
  --dawn: #E3B38C; --dawn-ink: #E9C2A2; --ember: #C6602A; --dusk: #8A78A8; --on-dusk: #15131C;
  --hair: rgba(241, 236, 227, 0.16); --hair-2: rgba(241, 236, 227, 0.34);
  --focus: var(--dawn); --warn: #E0805A; --dusk-ink: #B5A6D6;
  --sun-0: #E3B38C; --sun-1: #E8C27A; --sun-2: #C6602A; --sun-3: #8A78A8;
  color-scheme: dark;
}

/* ---------- Ground ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.55 var(--sans); -webkit-font-smoothing: antialiased; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: underline; text-decoration-color: var(--hair-2); text-underline-offset: 0.16em; text-decoration-thickness: 1px; transition: text-decoration-color 0.15s; }
a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 1px solid var(--focus); outline-offset: 4px; border-radius: 2px; }
button, input, select, textarea { font: inherit; color: inherit; }
img, svg { max-width: 100%; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------- The ruler along the top edge: where you are on the page, the sun warming as you go ---------- */
.ruler { position: fixed; z-index: 40; top: 0; left: 0; right: 0; height: 1px; background: var(--hair); pointer-events: none; }
.ruler i { position: absolute; top: 0; width: 1px; height: 5px; background: var(--hair-2); }
.ruler b { position: absolute; top: 50%; left: 0; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; border-radius: 50%; background: var(--sun, var(--dawn)); opacity: 0; transition: opacity 0.4s, background 0.3s; }
.ruler.lit b { opacity: 1; }

/* ---------- Masthead and footer, as the main site's ---------- */
.wrap { width: 100%; max-width: 80rem; margin-inline: auto; padding-inline: var(--gutter); }
.masthead { padding-block: 1.5rem; }
.masthead .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: 0.65rem; text-decoration: none; font: 500 1.25rem/1 var(--serif); letter-spacing: -0.005em; }
.brand img { width: 28px; height: 28px; display: block; }
.nav { display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 2rem); font: 500 0.9375rem/1 var(--sans); }
.nav a { color: var(--muted); text-decoration: none; padding-block: 0.9rem; margin-block: -0.9rem; white-space: nowrap; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav .get { color: var(--paper); background: var(--ink); padding: 0.6rem 0.95rem; border-radius: 6px; margin-block: 0; }
.nav .get:hover { color: var(--paper); background: color-mix(in srgb, var(--ink) 82%, var(--dawn)); }
.nav .back { background: none; border: 0; padding: 0.9rem 0.25rem; margin-block: -0.9rem; cursor: pointer; color: var(--muted); font: 500 0.9375rem/1 var(--sans); white-space: nowrap; }
.nav .back:hover { color: var(--ink); }
.daynight { width: 2.75rem; height: 2.75rem; margin: -0.5rem -0.6rem -0.5rem -0.4rem; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; color: var(--muted); }
.daynight i { width: 0.875rem; height: 0.875rem; border-radius: 50%; box-shadow: inset 0 0 0 1px currentColor; transition: background 0.2s, box-shadow 0.2s; }
.daynight:hover { color: var(--ink); }
:root[data-theme="dark"] .daynight i { background: var(--dawn); box-shadow: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .daynight i { background: var(--dawn); box-shadow: none; } }
@media (max-width: 560px) { .nav .hide-sm { display: none; } }
@media (max-width: 350px) { .nav a:not(.get) { display: none; } }
@media (max-width: 400px) { .nav { gap: 0.9rem; } .brand { font-size: 1.125rem; } }
footer.footer { display: block; border-top: 1px solid var(--hair); padding-block: 2.5rem 4rem; font: 400 0.875rem/1.5 var(--sans); color: var(--muted); }
footer.footer .wrap { display: flex; flex-wrap: wrap; gap: 0.75rem 2rem; justify-content: space-between; align-items: baseline; }
footer.footer nav { display: flex; flex-wrap: wrap; gap: 0 1.25rem; }
footer.footer a { text-decoration: none; display: inline-block; padding-block: 0.6rem; }
footer.footer a:hover { color: var(--ink); }

/* ---------- The three steps at the top: a hairline track, the done part in ink, the sun at the step you are on ---------- */
.steps { max-width: 46rem; margin: 0.5rem auto 0; padding: 0 var(--gutter); display: flex; gap: 0; list-style: none; }
.steps li { position: relative; flex: 1; font: 400 0.8125rem/1.3 var(--sans); color: var(--muted); padding-top: 0.9rem; border-top: 1px solid var(--hair); }
.steps li.done { border-top-color: var(--ink); color: var(--ink); }
.steps li.on { color: var(--ink); font-weight: 500; }
.steps li.on::before { content: ""; position: absolute; left: 0; top: -4px; width: 7px; height: 7px; border-radius: 50%; background: var(--dawn); }

/* ---------- The page ---------- */
main { max-width: 46rem; margin: 0 auto; padding: clamp(1.5rem, 4vw, 2.5rem) var(--gutter) 4rem; }
.screen { display: grid; gap: 1.5rem; animation: in .35s var(--ease); }
@keyframes in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.screen > * { min-width: 0; }
h1 { font: 300 clamp(2rem, 4.5vw, 3rem)/1.1 var(--serif); letter-spacing: -0.014em; margin: 0; text-wrap: balance; }
h2 { font: 400 1.5rem/1.2 var(--serif); margin: 0; letter-spacing: -0.01em; }
h3, p { margin: 0; }
.lede { color: var(--muted); margin: 0.5rem 0 0; font: 400 1.0625rem/1.5 var(--sans); max-width: 36rem; }
.label, h2.label { font: 500 0.9375rem/1.4 var(--sans); color: var(--muted); letter-spacing: 0; text-transform: none; margin: 0; }
h2.label { padding-top: 1.25rem; border-top: 1px solid var(--hair-2); color: var(--ink); }
.muted { color: var(--muted); }
.small { font-size: 0.875rem; line-height: 1.5; }
.fineprint { font: 400 0.8125rem/1.5 var(--sans); color: var(--muted); max-width: 38rem; }
.warn { color: var(--warn); }
.center-text { text-align: center; margin: 0; }
.ml-auto { margin-left: auto; }
.gap-below { margin-bottom: 0.6rem; }
.gap-above { margin: 0.6rem 0 0; }
.row { display: flex; gap: 0.6rem; align-items: center; flex-wrap: wrap; }
.row.split > * { flex: 1; }
div.footer { display: grid; gap: 0.5rem; }                   /* a screen's closing controls (the page's footer is footer.footer) */
.foot { display: grid; gap: 0.5rem; margin-top: 0.5rem; padding-top: 1rem; border-top: 1px solid var(--hair); }

/* Fields: no boxes. A change of subject is a change of ground (sepia) or a hairline rule. */
.card { padding: 1.1rem 0 0; border-top: 1px solid var(--hair-2); }
.wash, .stage, .suggest, .warn-box { background: var(--sepia); padding: 1rem 1.1rem; }
.stage { display: grid; gap: 0.15rem; min-height: 4.6em; }
.stage b { font-weight: 500; }
.stage span { color: var(--muted); font-size: 0.9375rem; }
.suggest { display: flex; gap: 0.75rem; align-items: baseline; justify-content: space-between; }
.suggest .link { min-height: 2rem; flex: none; }
.quote { font: 400 1.25rem/1.45 var(--serif); }

/* ---------- Buttons ---------- */
.primary, .secondary, .vget-btn, .pill-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 3rem; padding: 0.6rem 1.1rem;
  border: 0; border-radius: 6px; background: var(--ink); color: var(--paper); font: 500 0.9375rem/1 var(--sans); text-decoration: none; cursor: pointer;
  transition: background 0.15s, box-shadow 0.15s;
}
.primary { width: 100%; }
.primary:hover:not(:disabled), .vget-btn:hover:not(:disabled) { background: color-mix(in srgb, var(--ink) 82%, var(--dawn)); }
.primary:disabled, .vget-btn:disabled { opacity: .35; cursor: default; }
.primary.pulse { box-shadow: 0 0 0 2px var(--paper), 0 0 0 3px var(--dawn); animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 2px var(--paper), 0 0 0 3px transparent; } }
.secondary, .pill-btn { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--hair-2); width: 100%; }
.secondary:hover:not(:disabled), .pill-btn:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.secondary:disabled { opacity: .35; cursor: default; }
.pill-btn { width: auto; min-height: 2.5rem; font-size: 0.875rem; }
.pill-btn.big { min-height: 3rem; font-size: 0.9375rem; }
a.primary.small-btn, .small-btn { width: auto; min-height: 2.75rem; padding: 0.5rem 1rem; }
.secondary.more { margin-top: 0.25rem; }
.link { background: none; border: 0; color: var(--ink); min-height: 2.75rem; padding: 0.5rem 0; cursor: pointer; text-decoration: underline; text-decoration-color: var(--hair-2); text-underline-offset: 0.16em; font: 500 0.9375rem/1.3 var(--sans); }
.link:hover { text-decoration-color: currentColor; }
.link.small { font-size: 0.875rem; }
.link.muted { color: var(--muted); }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; }
.vlink { background: none; border: 0; padding: 11px 0; margin: -11px 0; font: inherit; color: var(--muted); cursor: pointer; text-decoration: none; }
.vlink:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.vlink.strong { color: var(--ink); font-weight: 500; }

/* A choice: a hairline row, ink when chosen, the tick a small sun */
.choice { display: flex; align-items: center; gap: 0.75rem; width: 100%; min-height: 3.5rem; padding: 0 1rem; border-radius: 4px; cursor: pointer;
  border: 1px solid var(--hair-2); background: transparent; text-align: left; font: 400 1.0625rem/1.3 var(--sans); color: var(--ink); }
.choice .tick { margin-left: auto; width: 1rem; height: 1rem; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--hair-2); flex: none; }
.choice[aria-pressed="true"] { border-color: var(--ink); }
.choice[aria-pressed="true"] .tick { background: var(--dawn); box-shadow: none; }

/* Tabs where there were chips: text, the chosen one underlined in ink */
.chips { display: flex; gap: 0 1.25rem; margin: 0.25rem 0 0.75rem; border-bottom: 1px solid var(--hair); }
.chip { border: 0; background: none; color: var(--muted); padding: 0.6rem 0; margin: 0 0 -1px; border-bottom: 1px solid transparent; font: 500 0.9375rem/1 var(--sans); cursor: pointer; white-space: nowrap; border-radius: 0; }
.chip:hover { color: var(--ink); }
.chip[aria-pressed="true"] { color: var(--ink); border-bottom-color: var(--ink); }
/* the examples under Describe are suggestions, not a filter: hairline-bordered, 4 px */
.row.chips { border-bottom: 0; gap: 0.5rem; margin: 0; }
.row.chips .chip { border: 1px solid var(--hair-2); border-radius: 4px; padding: 0.5rem 0.75rem; font-weight: 400; white-space: normal; text-align: left; margin: 0; line-height: 1.3; }
.row.chips .chip:hover { border-color: var(--ink); }
@media (max-width: 520px) {
  .chips:not(.row) { overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); }
  .chips::-webkit-scrollbar { display: none; }
  .chips:not(.row) .chip { flex: none; }
}

/* Inputs */
textarea, input.say, form.signin input {
  width: 100%; font: 400 1.0625rem/1.5 var(--sans); padding: 0.75rem 0.9rem; border-radius: 4px; border: 1px solid var(--hair-2); background: var(--page); color: var(--ink); resize: vertical;
}
textarea:focus-visible, input.say:focus-visible, form.signin input:focus-visible { outline: 1px solid var(--ink); outline-offset: 0; border-color: var(--ink); }
input.say { padding: 0.6rem 0.9rem; flex: 1; min-width: 0; font-size: 1rem; }
.desc { display: grid; gap: 0.4rem; }
.desc textarea { font-size: 1rem; }
form.signin { display: grid; gap: 0.75rem; max-width: 26rem; }

/* ---------- Progress ---------- */
.bar { height: 2px; background: var(--hair); overflow: hidden; }
.bar > i { display: block; height: 100%; width: 0; background: var(--ink); transition: width .4s; }
.model-line.quiet { transition: opacity .8s ease, max-height .8s ease; max-height: 60px; overflow: hidden; }
.model-line.quiet.gone { opacity: 0; max-height: 0; margin: 0; }
.model-line.quiet .bar { height: 1px; }
.status-line { margin: -0.5rem 0 0; }
[data-reading] { font-variant-numeric: tabular-nums; }

/* ---------- Reading ---------- */
.page-text { font: 400 clamp(1.5rem, 4.2vw, 1.9375rem)/1.5 var(--serif); min-height: 9em; margin: 0; }
.ribbon { display: grid; gap: 0.25rem; }
.ribbon canvas { width: 100%; height: 36px; display: block; }
.ribbon .row { font-size: 0.875rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.ribbon .hot { color: var(--warn); font-weight: 500; }
.checks { display: grid; gap: 0.6rem; margin: 0; padding: 0; list-style: none; }
.checks li { display: flex; gap: 0.6rem; align-items: baseline; padding-bottom: 0.6rem; border-bottom: 1px solid var(--hair); }
.checks .v { margin-left: auto; color: var(--muted); font-variant-numeric: tabular-nums; }
.checks .bad { color: var(--warn); }
.trim .trim-bar { margin-top: 0.5rem; gap: 0.4rem; }
.trim .trim-bar .link { min-height: 2rem; }
canvas.wave { flex: 1; width: 100%; height: 64px; min-width: 0; touch-action: none; cursor: col-resize; display: block; }
.tile { min-height: 4.25rem; border-radius: 4px; border: 1px solid var(--hair-2); background: transparent; display: grid; place-items: center; align-content: center; gap: 2px; cursor: pointer; color: var(--muted); font: 500 0.875rem/1.2 var(--sans); }
.tile.ready { color: var(--ink); border-color: var(--ink); }
.tile.own.ready { border-color: var(--dusk); color: var(--dusk-ink); }
.tile.after.ready { background: var(--dusk); color: var(--on-dusk); border-color: var(--dusk); }
.tile .icon { font-size: 1rem; line-height: 1; }
.tile.round { width: 3.5rem; min-height: 3.5rem; border-radius: 50%; flex: none; }
.compare { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
.ask { text-align: center; font-weight: 500; margin: 0.4rem 0; }

/* ---------- Faces: the drawing in ink on the paper, inside a hairline ring; no disc ---------- */
.face, .vface, .pm .pm-face { position: relative; border-radius: 50%; background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--hair-2); }
.face { width: 112px; height: 112px; flex: none; }
.face.big { width: 160px; height: 160px; }
.face svg, .vface .face-art, .vface .face-art svg, .pm .pm-face svg { width: 100%; height: 100%; display: block; }
.face svg, .vface .face-art svg, .pm .pm-face svg { padding: 6%; }
/* a hairline at any size: the stroke in user units shrinks as the face grows */
.face svg path, .face svg circle { stroke-width: 0.72; }
.face.big svg path, .face.big svg circle { stroke-width: 0.5; }
.vface svg path, .vface svg circle { stroke-width: 1.05; }
.vcard.big .vface svg path, .vcard.big .vface svg circle { stroke-width: 0.71; }
.face-btn { position: relative; background: none; border: 0; cursor: pointer; padding: 0; }
.face-btn .again { position: absolute; right: 4px; bottom: 4px; width: 2rem; height: 2rem; border-radius: 50%; background: var(--paper); box-shadow: inset 0 0 0 1px var(--hair-2); display: grid; place-items: center; font-size: 0.9375rem; }

/* ---------- The voice card: a hairline rule above, the face, the name in the book face, Get at the right ---------- */
.vgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 0 2rem; }
.vcard { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: 1rem 1.1rem; align-items: start; padding: 1.1rem 0 1.25rem; border-top: 1px solid var(--hair); min-width: 0; }
.vcard.big { grid-template-columns: 112px minmax(0, 1fr) auto; gap: 1.25rem 1.5rem; padding: 1.5rem 0; border-top: 1px solid var(--hair-2); }
.vface { width: 76px; height: 76px; border: 0; padding: 0; cursor: pointer; }
.vcard.big .vface { width: 112px; height: 112px; }
/* the sun at the shoulder: a hairline ring until the narrator reads; the glyph stays for the reader who needs it */
.vbadge { position: absolute; right: 2%; bottom: 4%; width: 1.125rem; height: 1.125rem; border-radius: 50%; background: var(--paper); box-shadow: inset 0 0 0 1px var(--hair-2); color: transparent; font-size: 0.625rem; line-height: 1.125rem; text-align: center; overflow: hidden; transition: background 0.2s, transform 0.3s var(--ease), box-shadow 0.15s; }
.vcard.big .vbadge { width: 1.375rem; height: 1.375rem; line-height: 1.375rem; }
.vbadge.on { background: var(--dawn); box-shadow: none; transform: translateY(-15%); }
.vface:hover .vbadge { box-shadow: inset 0 0 0 1px var(--ink); }
.vface:hover .vbadge.on { box-shadow: none; }
.vface:disabled { cursor: default; }
.vtext { display: flex; flex-direction: column; gap: 0.15rem; min-width: 0; }
.vname { font: 500 1.25rem/1.25 var(--serif); margin: 0; letter-spacing: 0; }
.vcard.big .vname { font-size: 2rem; font-weight: 400; }
.vname-input { width: 100%; min-width: 0; font: 400 2rem/1.15 var(--serif); border: 0; border-bottom: 1px solid var(--hair-2); border-radius: 0; background: transparent; color: var(--ink); padding: 0 0 2px; }
.vname-input:focus-visible { outline: none; border-bottom-color: var(--ink); }
.vmeta { font: 400 0.8125rem/1.4 var(--sans); color: var(--muted); }
.vblurb { font: 400 0.875rem/1.45 var(--sans); color: var(--muted); display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.vcard.big .vblurb { font-size: 0.9375rem; }
.vfoot { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 0.5rem; margin-top: 0.5rem; font: 400 0.8125rem/1.4 var(--sans); color: var(--muted); min-height: 1.4rem; }
.vplaying { color: var(--dawn-ink); font-weight: 500; }
.vtrack { flex: 1; min-width: 60px; height: 1px; background: var(--hair-2); overflow: hidden; }
.vtrack i { display: block; height: 100%; width: 0; background: var(--ink); }
.vtime { font-variant-numeric: tabular-nums; }
.vget-btn { min-height: 2.5rem; padding: 0.5rem 0.9rem; white-space: nowrap; }
.vcard.big .vget-btn { min-height: 2.75rem; padding: 0.6rem 1.1rem; }
.shared-dot { display: inline-flex; align-items: center; gap: 5px; color: var(--ink); }
.shared-dot::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--dusk); }
.share-box { grid-column: 1 / -1; display: grid; gap: 0.5rem; font-size: 0.875rem; }
.share-box a { word-break: break-all; }
.share-box .secondary { font-size: 1rem; width: 100%; }
.share-err { grid-column: 1 / -1; margin: 0; }
.shared-card { margin-top: -0.25rem; }
@media (max-width: 520px) {
  .vgrid { grid-template-columns: minmax(0, 1fr); }
  .vcard { grid-template-columns: 64px minmax(0, 1fr) auto; gap: 0.75rem; }
  .vface { width: 64px; height: 64px; }
  .vface svg path, .vface svg circle { stroke-width: 1.2; }
  .vcard.big { grid-template-columns: 80px minmax(0, 1fr); }
  .vcard.big .vface { width: 80px; height: 80px; }
  .vcard.big .vget { grid-column: 1 / -1; }
  .vcard.big .vget-btn { width: 100%; justify-content: center; }
  .vname-input, .vcard.big .vname { font-size: 1.625rem; }
}

/* ---------- The welcome screen: two ways to make a narrator, as ruled rows ---------- */
.make { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2rem; }
.make-card { display: grid; gap: 0.25rem; align-content: start; text-align: left; padding: 1rem 0 1.1rem; border: 0; border-top: 1px solid var(--hair-2); border-radius: 0; cursor: pointer;
  background: transparent; color: var(--ink); font: 400 0.9375rem/1.5 var(--sans); }
.make-card b { font: 400 1.375rem/1.25 var(--serif); letter-spacing: -0.01em; }
.make-card span { color: var(--muted); }
.make-card .t { color: var(--ink); font-weight: 500; margin-top: 0.25rem; }
.make-card:hover:not(:disabled) b { text-decoration: underline; text-decoration-color: var(--hair-2); text-underline-offset: 0.16em; }
.make-card:disabled { opacity: .45; cursor: default; }
@media (max-width: 520px) { .make { grid-template-columns: 1fr; } }

/* the described cast: three candidates */
.cast { display: grid; gap: 0; }
.cand { display: grid; grid-template-columns: 88px 1fr; gap: 0.4rem 1rem; align-items: center; padding: 1.1rem 0; border-top: 1px solid var(--hair); }
.cand .face { width: 88px; height: 88px; grid-row: span 2; }
.cand .face svg path, .cand .face svg circle { stroke-width: 0.9; }
.cand .row { grid-column: 2; }
.cand.picked { border-top-color: var(--ink); }
.cand.picked .face { box-shadow: inset 0 0 0 1px var(--dawn); }

/* sliders */
.sliders { display: grid; gap: 0.9rem; }
.slider { display: grid; grid-template-columns: 70px 1fr 70px; align-items: center; gap: 0.6rem; font: 400 0.875rem/1.3 var(--sans); color: var(--muted); }
.slider span:last-child { text-align: right; }
.slider input[type=range] { width: 100%; accent-color: var(--dusk); }
.slider select { font: inherit; padding: 0.3rem 0.5rem; border-radius: 4px; border: 1px solid var(--hair-2); background: var(--page); color: var(--ink); }
.slider.acc { grid-template-columns: 70px auto 1fr 52px; }

/* the making screen */
.now { display: grid; grid-template-columns: 112px 1fr; gap: 1.25rem; align-items: center; }
.now h1 { font-size: clamp(1.75rem, 5vw, 2.375rem); }
.now .lede { margin-top: 0.5rem; }
.tracker { display: grid; gap: 0.9rem; }
.steps-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.75rem; }
.steps-list li { display: grid; grid-template-columns: 1.75rem 1fr auto; gap: 0.75rem; align-items: center; font-size: 1.0625rem; }
.steps-list .mark { width: 1.75rem; height: 1.75rem; border-radius: 50%; display: grid; place-items: center; font: 500 0.8125rem/1 var(--sans); box-shadow: inset 0 0 0 1px var(--hair-2); color: var(--muted); }
.steps-list li.done .mark { background: var(--ink); box-shadow: none; color: var(--paper); }
.steps-list li.now .mark { background: var(--dawn); box-shadow: none; color: var(--paper); }
.steps-list li.now .what { font-weight: 500; }
.steps-list li.later { color: var(--muted); }
.steps-list .t { color: var(--muted); font-variant-numeric: tabular-nums; font-size: 0.9375rem; }
.steps-list .bar.thin { height: 2px; margin-top: 0.4rem; }
.steps-list .bar.thin > i { background: var(--dawn); }
.overall { display: grid; gap: 0.4rem; padding-top: 0.75rem; border-top: 1px solid var(--hair); }
.overall .bar { margin-top: 0.5rem; }
.closer canvas { width: 100%; height: 74px; display: block; }
.learning-from { font: italic 400 1.0625rem/1.5 var(--serif); color: var(--muted); min-height: 4.5em; margin: 0; }
@media (max-width: 520px) { .now { grid-template-columns: 72px 1fr; } .now .face { width: 72px; height: 72px; } .now .face svg path, .now .face svg circle { stroke-width: 1.1; } }

/* Meet */
.meet { text-align: center; display: grid; justify-items: center; gap: 0.6rem; }
.name { font: 400 2.125rem/1.2 var(--serif); text-align: center; border: 0; border-bottom: 1px solid var(--hair-2); border-radius: 0; background: transparent; color: var(--ink); width: min(100%, 420px); padding: 2px 0; }
.name:focus-visible { outline: none; border-bottom-color: var(--ink); }
.drop { border: 1px dashed var(--hair-2); border-radius: 4px; padding: 1.4rem; text-align: center; color: var(--muted); }
.drop.over { border-color: var(--dawn); color: var(--ink); }
details summary { cursor: pointer; color: var(--muted); padding-block: 0.6rem; font: 500 0.9375rem/1.4 var(--sans); }
details summary:hover { color: var(--ink); }
pre.log { font-size: 0.75rem; white-space: pre-wrap; color: var(--muted); max-height: 260px; overflow: auto; }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 0.25rem 1rem; margin: 0; font-size: 0.9375rem; }
.facts dt { color: var(--muted); } .facts dd { margin: 0; }
.beta { font: 500 0.75rem/1.2 var(--sans); color: var(--muted); border: 1px solid var(--hair-2); border-radius: 4px; padding: 0.15rem 0.5rem; }

/* the shared voice page's player (site/share.js) */
.player { width: min(100%, 420px); }
.player .ui { display: none; }
.player.ready .ui { display: flex; align-items: center; gap: 0.9rem; }
.player.ready audio { display: none; }
.player .play-big { width: 3.25rem; height: 3.25rem; flex: none; border-radius: 50%; border: 0; background: var(--dawn); color: var(--paper); font-size: 1.125rem; cursor: pointer; display: grid; place-items: center; }
.player .track { flex: 1; height: 1px; background: var(--hair-2); cursor: pointer; position: relative; }
.player .track i { display: block; height: 100%; width: 0; background: var(--ink); }
.player .time { font-size: 0.875rem; color: var(--muted); font-variant-numeric: tabular-nums; min-width: 6.5em; text-align: right; }
body.scripted audio.fallback { display: none; }
audio.fallback { width: 100%; }
form.inline { display: inline; margin: 0; }

/* the old ready-made grid (no screen renders it now; kept so an old shared page still lays out) */
.premade { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 0 1rem; }
.pm { display: grid; grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 0.5rem; padding: 1rem 0; border-top: 1px solid var(--hair); min-width: 0; overflow: hidden; }
.pm .pm-face { width: 64px; height: 64px; }
.pm-text { display: grid; gap: 2px; }
.pm-text b { font: 500 1.1875rem/1.25 var(--serif); }

@media (prefers-reduced-motion: reduce) { .screen, .primary.pulse { animation: none; } *, *::before, *::after { transition: none !important; } }

/* A phone: the narrators page is already Narrators, so the masthead keeps the name, the switch and Get Morrow. */
@media (max-width: 480px) { .nav a[aria-current="page"] { display: none; } .masthead .wrap { gap: 0.75rem; } }
