/* Ava's chat, 6a-2 (core/ava-exchange.js, ava-reply.js; design/runs/6/AvaChatWork; docs/phase-6-brief.md):
   her replies keeping their shape, in her mono voice and colours; your last question's pencil and its
   edit field; ↻ Retry. Her pane itself is capsules.css. */

/* her reply: blocks, not one run of words (it was white-space: normal, so its breaks went) */
.ap-a > * { margin: 0; }
.ap-a > * + * { margin-top: 10px; }
.ap-a strong { color: var(--fg-strong); font-weight: 500; }
.ap-a em { font-style: italic; }
.ap-a .ap-h strong { color: var(--fg-strong); }
.ap-a .ap-c { padding: 1px 4px; border-radius: 4px; background: var(--fill); color: var(--fg-strong); font: inherit; font-size: 12px; }
.ap-a .ap-link { color: var(--accent-text); text-decoration: underline; text-decoration-color: var(--faint); text-underline-offset: 2px; }
@media (hover: hover) {
  .ap-a .ap-link:hover { text-decoration-color: currentColor; }
}
.ap-a .ap-list { padding-left: 24px; }
.ap-a .ap-list .ap-list { margin: 2px 0 0; }
.ap-a li + li { margin-top: 2px; }
.ap-a li::marker { color: var(--muted); }
/* code and tables: on a quiet fill, corners at 5, scrolling sideways rather than widening her pane */
.ap-a .ap-pre {
  max-width: 100%;
  padding: 8px 10px;
  box-sizing: border-box;
  overflow-x: auto;
  border-radius: 5px;
  background: var(--fill);
  color: var(--fg-strong);
  font: 12px/1.55 var(--font-mono);
  white-space: pre;
}
.ap-a .ap-pre code { font: inherit; }
.ap-a .ap-tbl { max-width: 100%; overflow-x: auto; border-radius: 5px; background: var(--fill); }
.ap-a table { min-width: 100%; border-collapse: collapse; font: 12px/1.5 var(--font-mono); }
.ap-a th,
.ap-a td { padding: 4px 10px; border-top: 1px solid var(--sep); text-align: left; vertical-align: top; white-space: nowrap; }
.ap-a th { border-top: 0; color: var(--fg-strong); font-weight: 600; }
.ap-a .ap-pre:focus-visible,
.ap-a .ap-tbl:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
/* (the caret rides at the end of the last block, a code block's too) */
.ap-a .ap-pre .ap-caret { margin-left: 0; }

/* your question, a quiet bubble at the right (6e), reaching 8 px past the column as her card does, so both share
   one right edge; its pencil to its left on hover or focus (the last one only, once she's done) */
.ap-qrow { display: flex; flex-direction: row-reverse; align-items: center; justify-content: flex-start; gap: 4px; margin-right: -8px; }
.ap-qrow .ap-q { flex: 0 1 auto; max-width: 80%; padding: 8px 12px; border-radius: 14px; background: var(--fill); }
.ava-pane.full .ap-q { font-size: 14px; }
.ava-pane.full .ap-qrow .ap-q { max-width: 70%; }
.ava-pane.full .ap-a { font-size: 13px; }
.ap-qed {
  display: grid;
  flex: none;
  place-items: center;
  width: 24px;
  height: 24px;
  margin-top: -1px;
  padding: 0;
  border: 0;
  border-radius: 12px;
  color: var(--muted);
  opacity: 0;
  transition: opacity 120ms var(--ease), background-color 120ms var(--ease);
}
.ap-qed[hidden] { display: none; }
.ap-ex:hover .ap-qed,
.ap-qed:focus-visible { opacity: 1; }
@media (hover: none) {
  .ap-qed { opacity: 1; }
}
/* the question as a field, in place: Cancel and Send under it */
.ap-edit { display: flex; flex-direction: column; gap: 8px; }
.ap-edit-in {
  width: 100%;
  min-height: 48px;
  box-sizing: border-box;
  padding: 8px 12px;
  border: 1px solid var(--accent);
  border-radius: 14px;
  outline: none;
  background: transparent;
  box-shadow: 0 0 0 3px var(--accent-soft);
  color: var(--fg-strong);
  font: 600 14px/1.45 var(--font-ui);
  resize: none;
}
.ap-edit-row { display: flex; justify-content: flex-end; gap: 8px; }
.ap-btn,
.ap-pri { height: 28px; padding: 0 12px; border: 0; border-radius: 14px; color: var(--fg); font: 500 12px var(--font-ui); }
/* (button.b's own transparent background would win over a class alone) */
button.ap-pri { background: var(--pri); color: var(--pri-fg); }
@media (hover: hover) {
  button.ap-pri:hover { background: var(--pri-hover); }
}

/* ↻ Retry: a round arrow at the end of her actions line, or alone */
.ap-tb.ic { display: inline-grid; width: 24px; padding: 0; place-items: center; color: var(--muted); }

/* a fact she saved (6b-1), in the actions line's place and style, with View (Settings › Ava) */
.ap-mem { display: flex; align-items: center; gap: 6px; min-height: 24px; margin: 0; color: var(--muted); font-size: 11px; animation: rise 200ms var(--ease) both; }
.ap-mem span { min-width: 0; overflow: hidden; font-family: var(--font-mono); text-overflow: ellipsis; white-space: nowrap; }
.ap-mem a { flex: none; padding: 0 6px; border-radius: 6px; color: var(--fg); font-weight: 500; text-decoration: none; }
.ap-mem svg { flex: none; color: var(--ava); }
@media (prefers-reduced-motion: reduce) {
  .ap-mem { animation: none; }
}

/* ---- 6b-2: chats (design/runs/6/AvaChatWork, pane and full-screen views; core/ava-pane-head.js,
   ava-chat-list.js, ava-ask.js, ava-space.js) */

/* the header: the chat's title (or Ava), Chats, Open Full Screen, × */
.ap-head { position: relative; z-index: 6; }
.ap-head h2 { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ap-ic { display: grid; flex: none; place-items: center; width: 28px; height: 28px; padding: 0; border: 0; border-radius: 14px; color: var(--muted); transition: opacity 100ms var(--ease), background-color 120ms var(--ease); }
.ap-ic[hidden] { display: none; }
.ap-head .ap-close { transition: opacity 100ms var(--ease), background-color 120ms var(--ease); }
/* Chats open: the header row is the menu's head ("Chats"), the other buttons fade out */
.ap-head.menu-on h2 { opacity: 1; transition-delay: 0s; }
.ap-head.menu-on .ap-expand,
.ap-head.menu-on .ap-close { opacity: 0; pointer-events: none; }

/* the Chats menu drops from the header: a solid panel growing down from its row (clip, 380 ms on the
   spring), its rows fading in after; it closes at once */
@keyframes ap-drop { from { clip-path: inset(0 0 calc(100% - 48px) 0 round 14px); } to { clip-path: inset(0 0 0 0 round 14px); } }
@keyframes ap-in { from { opacity: 0; } to { opacity: 1; } }
.ap-menu {
  position: absolute;
  z-index: 5;
  top: 4px;
  right: 4px;
  left: 4px;
  display: flex;
  flex-direction: column;
  max-height: calc(100% - 8px);
  padding: 48px 4px 4px;
  box-sizing: border-box;
  border-radius: 14px;
  background: var(--solid);
  box-shadow: var(--drop), inset 0 0 0 1px var(--sep);
  animation: ap-drop 380ms var(--sp-smooth) both;
}
.ap-menu-in { display: flex; flex-direction: column; min-height: 0; overflow-y: auto; animation: ap-in 200ms var(--ease) 120ms both; }
.ap-msep { flex: none; height: 1px; margin: 4px 6px; background: var(--sep); }

/* a list of chats: by day, each row its title and its time; ⋯ on hover (or with the keyboard on it) */
.ac-list { display: flex; flex-direction: column; }
.ac-label { margin: 8px 10px 2px; color: var(--muted); font-size: 11px; font-weight: 500; }
.ac-row { position: relative; display: flex; align-items: center; }
.ac-row .ap-mi { flex: 1; min-width: 0; }
.ap-mi .tm { flex: none; color: var(--muted); font: 11px var(--font-mono); }
.ac-row .tm { transition: opacity 100ms var(--ease); }
.ac-more { position: absolute; top: 50%; right: 4px; display: grid; place-items: center; width: 24px; height: 24px; padding: 0; border: 0; border-radius: 12px; color: var(--muted); opacity: 0; transform: translateY(-50%); transition: opacity 100ms var(--ease), background-color 120ms var(--ease); }
.ac-row:hover .ac-more,
.ac-row:focus-within .ac-more,
.ac-row.menu-on .ac-more { opacity: 1; }
.ac-row:hover .ap-mi .tm,
.ac-row:focus-within .ap-mi .tm,
.ac-row.menu-on .ap-mi .tm { opacity: 0; }
@media (hover: none) {
  .ac-more { opacity: 1; }
  .ac-row .ap-mi .tm { opacity: 0; }
}
/* renaming: the title as a field in place, its words where they were */
.ac-row.renaming { gap: 8px; min-height: 28px; padding: 0 10px 0 0; }
.ac-rename { flex: 1; min-width: 0; height: 28px; margin: 0; padding: 0 9px; box-sizing: border-box; border: 1px solid var(--accent); border-radius: 10px; outline: none; background: var(--card); box-shadow: 0 0 0 3px var(--accent-soft); color: var(--fg-strong); font: 13px/20px var(--font-ui); }
.ac-none { margin: 8px 10px; color: var(--muted); font-size: 12px; overflow-wrap: anywhere; }

/* Ghost Chat, under the box: on, it's selected; once the chat has begun, it's locked at half strength.
   A ghost chat's box is dashed. */
.ap-ghost[aria-pressed="true"] { background: var(--sel); color: var(--fg-strong); }
.ap-ghost[aria-disabled="true"] { opacity: .5; cursor: default; }
.ava-pane.ghosted .ap-box { border-style: dashed; }

/* ---- her full screen: the pane in the page, beside the sidebar (core/ava-space.js) */
.app-main:has(> .view > .ava-full) { padding: 0; }
.ava-full { position: relative; display: flex; flex: 1; min-width: 0; min-height: 0; }
.ava-full:focus { outline: none; }
.ava-full-in { display: flex; }
.ava-pane.full { flex: 1; width: auto; height: auto; min-width: 0; }
/* her swarm, 160 (her 120 box scaled), at the top centre while the chat is empty (her greeting); once she talks
   she's in the conversation, under her latest card (6e), and it starts 24 under the header */
.ava-pane.full .ap-swarm { left: 50%; transform: translate(-80px, 163px) scale(1.33333); }
.ava-pane.full .ap-hello { margin-top: 256px; }
.ava-pane.full.talking .ap-talk { padding-top: 24px; }
.ava-pane.full .ap-head h2 { opacity: 0 !important; }
/* (clear of the status capsule, when there's one at the top right) */
.ava-pane.full .ap-head { padding-right: calc(12px + var(--tb-rw, 0px)); }
.ava-pane.full .ap-talk > :not(.ap-swarm),
.ava-pane.full .ap-ask > :not(.ap-pop) { width: 100%; max-width: 680px; margin-right: auto; margin-left: auto; box-sizing: border-box; }
.ava-pane.full .ap-chips { max-width: 680px; }
.ava-pane.full .ap-pop { right: max(12px, calc(50% - 328px)); }

/* its sidebar: Ava ⌄, search, New Chat, the chats */
.av-side { display: flex; flex: 1; flex-direction: column; min-height: 0; }
.av-find { display: flex; flex: none; align-items: center; gap: 8px; height: 32px; margin: 0 0 8px; padding: 0 10px; box-sizing: border-box; border-radius: 10px; background: var(--fill); color: var(--muted); }
.av-find-in { flex: 1; min-width: 0; height: 100%; padding: 0; border: 0; outline: none; background: transparent; color: var(--fg-strong); font: 13px var(--font-ui); }
.av-find-in::placeholder { color: var(--placeholder); }
.av-find-in::-webkit-search-cancel-button { display: none; }
.av-find:focus-within { box-shadow: 0 0 0 2px var(--accent); }
.av-key { color: var(--faint); font-size: 11px; }
.av-new { flex: none; }
.av-list { flex: 1; min-height: 0; overflow-y: auto; }
@media (prefers-reduced-motion: reduce) {
  .ap-menu,
  .ap-menu-in { animation: none; }
}

/* ---- 6c-1: reading your app (design/runs/6/AvaChatWork; core/ava-context.js, ava-mention.js, ava-activity.js) */

/* what she can see, over the box: the open note's chip (× hides it from her), the @ ones beside it */
.ap-ctxrow { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 6px; }
.ap-ctxrow[hidden] { display: none; }
.ap-ctx { display: inline-flex; align-items: center; gap: 6px; max-width: 220px; height: 24px; padding: 0 2px 0 8px; box-sizing: border-box; border-radius: 12px; background: var(--fill); color: var(--muted); font-size: 11px; }
.ap-ctx svg { flex: none; }
.ap-ctx .nm { overflow: hidden; color: var(--fg); text-overflow: ellipsis; white-space: nowrap; }
.ap-ctx-x { display: grid; flex: none; place-items: center; width: 20px; height: 20px; padding: 0; border: 0; border-radius: 10px; color: var(--muted); }
/* the greeting's note chips, while she can see a note */
.ap-chip[hidden] { display: none; }

/* @: notes by name, her model menu's panel, rising just above the box (its bottom set from the box) */
.ap-pop.ap-at { right: 12px; left: 12px; width: auto; max-height: 232px; overflow-y: auto; }
.ava-pane.full .ap-pop.ap-at { left: max(12px, calc(50% - 328px)); }
.ap-at .ap-mi.on { background: var(--sel); color: var(--fg-strong); }
.ap-at-none { margin: 0; padding: 6px 10px; color: var(--muted); font-size: 12px; line-height: 20px; }

/* her steps (the list's guide line is in capsules.css): a note she read is named, and the name opens it */
.ap-step-note { padding: 0; border: 0; border-radius: 4px; color: var(--fg); font: inherit; text-decoration: underline; text-decoration-color: var(--sep); text-underline-offset: 2px; }

/* ---- 6c-2: the outside (design/runs/6/AvaChatWork; core/ava-files.js, ava-dictate.js, ava-exchange.js, ava-activity.js) */

/* what she can see and what goes with the next question: the line when a file can't be added, then the chips */
.ap-seen[hidden],
.ap-filenote[hidden] { display: none; }
.ap-filenote { margin: 0 0 6px; color: var(--muted); font-size: 11px; line-height: 16px; overflow-wrap: anywhere; }
/* a file's chip: an image as a 24 px thumbnail and its name, a file as its icon and name; a spinner while it's
   prepared and uploaded */
.ap-ctx.img { padding-left: 0; }
.ap-thumb { flex: none; width: 24px; height: 24px; border-radius: 12px; object-fit: cover; }
.ap-file[aria-busy="true"] .nm { color: var(--muted); }
.ap-file .ap-spin { margin: 0 1px; }
/* files dragged over her box */
.ap-box.drop { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }

/* the mic: listening, it's her blue, with a soft pulse */
@keyframes ap-listen { 0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--ava) 28%, transparent); } 50% { box-shadow: 0 0 0 5px color-mix(in srgb, var(--ava) 0%, transparent); } }
.ap-mic.on { background: var(--accent-soft); color: var(--ava); animation: ap-listen 1600ms var(--ease) infinite; }

/* a question's files, under its words: images up to 160 wide, files as a row with an icon and the name */
.ap-qfiles { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 6px; margin: 6px 0 2px; }
.ap-qimg { display: block; max-width: 160px; padding: 0; border: 0; border-radius: 10px; overflow: hidden; background: var(--fill); cursor: zoom-in; }
.ap-qimg-in { display: block; max-width: 160px; max-height: 160px; object-fit: contain; }
.ap-qgone { display: block; max-width: 160px; padding: 6px 10px; color: var(--muted); font-size: 11px; text-align: left; }
.ap-qfile { display: inline-flex; align-items: center; gap: 6px; max-width: 240px; height: 28px; padding: 0 10px; box-sizing: border-box; border: 0; border-radius: 10px; background: var(--fill); color: var(--fg); font: 12px var(--font-ui); }
.ap-qfile svg { flex: none; color: var(--muted); }
.ap-qfile .nm { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* a web step, opened: its sources under it, muted, the site first */
.ap-act .ap-steps li.has-src { flex-direction: column; align-items: stretch; gap: 0; height: auto; }
.ap-step-row { display: flex; align-items: center; gap: 8px; min-width: 0; height: 22px; }
.ap-srcs { display: flex; flex-direction: column; margin: 0 0 4px 19px; padding: 0; list-style: none; }
.ap-src { display: flex; gap: 6px; min-width: 0; height: 20px; align-items: center; color: var(--muted); font: 11px var(--font-ui); text-decoration: none; }
.ap-src .site { flex: none; color: var(--fg); }
.ap-src .tt { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (hover: hover) {
  .ap-src:hover .tt { text-decoration: underline; text-underline-offset: 2px; }
}
@media (prefers-reduced-motion: reduce) {
  .ap-mic.on { animation: none; }
}

/* ---- 6d-1: her changes and what she asks first (design/runs/6/AvaChatWork; core/ava-exchange.js, ava-activity.js,
   ava-card.js) */

/* Open and Undo sit after the summary (prod's .ap-tb); once Undo took her changes back, the line reads "Undone" */
.ap-act-btn.undone .ap-sum { color: var(--muted); }
/* a change's own Undo, opened, at the end of its step; then "Undone", muted */
.ap-step-undo { flex: none; height: 20px; margin-left: 2px; padding: 0 6px; border: 0; border-radius: 10px; color: var(--fg-strong); font: 500 11px var(--font-ui); }
.ap-step-undo:disabled { opacity: .5; }
.ap-step-undone { flex: none; margin-left: 2px; color: var(--faint); font: 11px var(--font-ui); }
/* the card: under her words, rising in once she's done (the board's dav-ask); her voice is SF Mono */
.ap-card { display: flex; flex-direction: column; gap: 2px; padding: 12px; border-radius: 14px; background: var(--card); box-shadow: inset 0 0 0 1px var(--sep); animation: rise 200ms var(--ease) both; }
.ap-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.ap-card h3 { margin: 0; color: var(--fg-strong); font: 600 13px/20px var(--font-mono); }
.ap-card p { margin: 0; color: var(--muted); font: 12px/18px var(--font-mono); }
.ap-card-row { display: flex; justify-content: flex-end; gap: 8px; margin-top: 10px; }
.ap-btn.danger { color: var(--drift-text); }
.ap-btn:disabled { opacity: .5; }
/* answered: a done step in its place, or "Cancelled", muted */
.ap-asked { display: flex; align-items: center; gap: 6px; min-height: 24px; margin: 0; color: var(--muted); font-size: 11px; }
.ap-asked.off { color: var(--faint); }
@media (prefers-reduced-motion: reduce) {
  .ap-card { animation: none; }
}

/* ---- 6d-2: Copy and Add to Note on her replies (prod's round .ap-tb, before ↻; core/ava-reply-tools.js) */
.ap-rtools { display: inline-flex; flex: none; align-items: center; gap: 4px; }
.ap-rtools .ap-tb[hidden] { display: none; }
/* Copied: its icon a tick with the word, for 1.5 s */
.ap-copy.done { display: inline-flex; align-items: center; gap: 4px; color: var(--muted); }
/* Added, muted, with Open and Undo beside it */
.ap-added-row { display: inline-flex; align-items: center; gap: 4px; }
.ap-added { padding: 0 4px 0 2px; color: var(--muted); font: 500 11px var(--font-ui); }
/* on earlier replies, on hover or focus (as the pencil); always on the last, and once added (6e: in the row hung
   under the card, below) */
.ap-ex:not(:last-child) .ap-ttools .ap-tb { opacity: 0; transition: opacity 120ms var(--ease), background-color 120ms var(--ease); }
.ap-ex:not(:last-child):hover .ap-ttools .ap-tb,
.ap-ex:not(:last-child) .ap-ttools:focus-within .ap-tb,
.ap-ex:not(:last-child) .ap-ttools .ap-copy.done,
.ap-ex:not(:last-child) .ap-added-row .ap-tb { opacity: 1; }
@media (hover: none) {
  .ap-ex:not(:last-child) .ap-ttools .ap-tb { opacity: 1; }
}

/* ---- 6e: her conversation (design/runs/6/AvaTalkWork; docs/phase-6-brief.md, 6e; core/ava-exchange.js,
   ava-reply.js, ava-activity.js, ava-her-place.js) */

/* a turn, a block of her words, her tools: rising in by 4 px as they arrive (risen once: not again when her pane
   moves into or out of her full screen) */
@keyframes ap-arrive { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.ap-a > .ap-arrive:not(.risen) { animation: ap-arrive 240ms var(--ease) both; }

/* her turn, one card in her blue (7 %, its edge at 30 %, from --ava so it holds in either theme): her actions line,
   then her reply and what follows it. It reaches 8 px past the column on each side */
.ap-turn { display: flex; flex-direction: column; gap: 6px; margin: 0 -8px; padding: 8px 10px 12px; border-radius: 14px; background: color-mix(in srgb, var(--ava) 7%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ava) 30%, transparent); }
.ap-turn:not(.risen) { animation: ap-arrive 240ms var(--ease) both; }
.ap-turn[hidden] { display: none; }
/* (Open and Undo at 6 px sides, so the summary keeps its words) */
.ap-turn .ap-actrow .ap-tb { padding: 0 6px; }
.ap-actrow .ap-act-btn { min-width: 0; }
/* a question's files sit with his bubble, at the right */
.ap-qfiles { justify-content: flex-end; margin-right: -8px; }

/* what she's doing: three dots pulsing where the spinner was */
@keyframes ap-dots { 0%, 100% { opacity: .25; } 40% { opacity: 1; } }
.ap-chev[hidden] { display: none; }
.ap-dots { display: inline-flex; flex: none; gap: 3px; padding: 0 1px; }
.ap-dots i { width: 4px; height: 4px; border-radius: 2px; background: var(--fg); animation: ap-dots 1050ms var(--ease) infinite; }
.ap-dots i:nth-child(2) { animation-delay: 150ms; }
.ap-dots i:nth-child(3) { animation-delay: 300ms; }

/* her row under her latest card: her place (her swarm sits on it), then Copy, Add to Note and ↻, fading in */
.ap-trow { display: flex; align-items: center; gap: 4px; min-height: 32px; margin: -2px 0 0 -6px; }
.ap-slot { flex: none; width: 32px; height: 32px; }
.ava-pane.full .ap-trow { min-height: 40px; }
.ava-pane.full .ap-slot { width: 40px; height: 40px; }
.ap-ttools { display: flex; align-items: center; gap: 4px; }
.ap-ttools:not(:empty):not(.risen) { animation: ap-arrive 240ms var(--ease) both; }
/* under earlier cards: hung below the card in the space between exchanges, so a hidden row leaves no gap; no place
   for her */
.ap-ex:not(:last-child) > .ap-trow { position: absolute; top: 100%; left: 0; min-height: 24px; margin: 2px 0 0 -6px; }
.ap-ex:not(:last-child) .ap-slot { display: none; }

/* her swarm in the conversation: her place set by core/ava-her-place.js, gliding on the shared spring (her first
   glide from the greeting at its 500) */
.ava-pane .ap-talk > .ap-swarm { top: 0; left: 0; transition: transform 420ms var(--sp-smooth); }
.ava-pane .ap-talk > .ap-swarm.first { transition-duration: 500ms; }
/* the greeting, fading as the first question comes, takes no room under it */
.ap-hello.gone { position: absolute; top: 8px; right: 16px; left: 16px; }
.ava-pane.full .ap-hello.gone { right: 0; left: 0; }

/* its edges fade over 24 px, the top only while it's scrolled, the bottom only while there's more below (--ap-fadet,
   --ap-fadeb 0 → 1, from the scroll: core/ava-her-place.js); at rest at the end, nothing is dimmed */
.ava-pane.talking .ap-talk {
  -webkit-mask-image: linear-gradient(to bottom, rgb(0 0 0 / calc(1 - var(--ap-fadet, 0))) 0, #000 24px, #000 calc(100% - 24px), rgb(0 0 0 / calc(1 - var(--ap-fadeb, 0))) 100%);
  mask-image: linear-gradient(to bottom, rgb(0 0 0 / calc(1 - var(--ap-fadet, 0))) 0, #000 24px, #000 calc(100% - 24px), rgb(0 0 0 / calc(1 - var(--ap-fadeb, 0))) 100%);
}
@media (prefers-reduced-motion: reduce) {
  .ap-a > .ap-arrive:not(.risen),
  .ap-turn:not(.risen),
  .ap-ttools:not(:empty):not(.risen) { animation: none; }
  .ap-dots i { animation: none; opacity: .6; }
  .ava-pane .ap-talk > .ap-swarm { transition: none; }
}
/* (the same with `.rm` on the root: she's placed, never glided) */
:root.rm .ava-pane .ap-talk > .ap-swarm { transition: none; }
