:root {
  --page: #ECECEE;
  --page-ink: #1A1A1C;
  --page-muted: #6B6A67;
  --bg: #161619;
  --ink: #F4F4F6;
  --ink2: #D2D2D8;
  --muted: #A1A1A8;
  --line: rgba(255, 255, 255, .09);
  --line2: rgba(255, 255, 255, .16);
  --code: #0D0D0F;
  --kbd: #26262B;
  --link: #F28DC2;
  --soft: rgba(255, 255, 255, .05);
  --action: #C93384;
  --action-hover: #B32C74;
  --sans: "Hanken Grotesk", system-ui, -apple-system, "Helvetica Neue", sans-serif;
  --mono: "Space Mono", ui-monospace, Menlo, monospace;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  background: radial-gradient(120% 90% at 50% 45%, #F4F4F6 0%, var(--page) 55%, #E2E2E6 100%) fixed var(--page);
  color: var(--page-ink); font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
button { font: inherit; cursor: pointer; }

.stage {
  position: relative; z-index: 2; flex: 1; display: flex; flex-direction: column; align-items: center;
  padding: calc(50vh - 30px) 16px 72px; pointer-events: none;
  transition: padding-top 420ms var(--ease);
}
/* The question line: a dark island with a comet of light running round its edge.
   Idle it drifts slowly; focus brightens it; thinking makes it run. */
@property --sweep { syntax: "<angle>"; inherits: true; initial-value: 0deg; }
.halo {
  position: relative; width: 100%; max-width: 640px; pointer-events: auto;
  --ring: .55; --glow: .22; --lap: 9s;
  animation: sweep var(--lap) linear infinite;
  transition: max-width 320ms var(--ease);
}
.halo::before {
  content: ""; position: absolute; inset: -2px; border-radius: 38px; z-index: -1;
  background: conic-gradient(from var(--sweep), transparent 0deg 230deg, rgba(224, 70, 155, .9) 300deg, #FFD9EC 340deg, transparent 360deg);
  filter: blur(18px); opacity: var(--glow); transition: opacity 400ms var(--ease);
}
.busy .halo { max-width: 760px; }
.halo:focus-within { --ring: .9; --glow: .42; }
.halo.thinking { --ring: 1; --glow: .6; }  /* and a lap of 1.6 s: ask.js speeds the comet up (pace) */
.island {
  width: 100%; color: var(--ink); border-radius: 36px; overflow: hidden;
  border: 1.5px solid transparent;
  background:
    linear-gradient(var(--bg), var(--bg)) padding-box,
    conic-gradient(from var(--sweep), rgba(255, 255, 255, .07) 0deg 230deg, rgba(224, 70, 155, var(--ring)) 300deg, rgba(255, 228, 242, var(--ring)) 340deg, rgba(255, 255, 255, .07) 360deg) border-box;
  box-shadow: 0 1px 2px rgba(20, 18, 15, .06), 0 18px 40px rgba(20, 18, 15, .16);
  transition: border-radius 320ms var(--ease);
}
.busy .island { border-radius: 28px; }
@keyframes sweep { to { --sweep: 360deg; } }

.ask-row { display: flex; align-items: center; gap: 8px; height: 68px; padding: 0 12px 0 28px; }
#ask { flex: 1; min-width: 0; height: 100%; background: transparent; border: 0; outline: none; color: var(--ink); font: inherit; font-size: 18px; letter-spacing: -.005em; }
#ask::placeholder { color: #8E8E96; }

/* Send: drawn by send.js from points, like the big ring. The colour of the
   points comes from `color`: grey at rest, dark on white with text, pink thinking. */
.send {
  position: relative; flex-shrink: 0; width: 46px; height: 46px; padding: 0; border: 0; border-radius: 999px;
  background: transparent; color: #8E8E96; display: grid; place-items: center;
  transition: background-color 220ms var(--ease), color 220ms var(--ease), transform 160ms var(--ease);
}
.send-dots { width: 40px; height: 40px; }
.ask-row.has-text .send { background: #FFF; color: var(--bg); }
.send:active { transform: scale(.94); }
.thinking .ask-row .send { background: transparent; color: #E0469B; }
.send:focus-visible { outline: 2px solid #C93384; outline-offset: 2px; }
.icon {
  width: 40px; height: 40px; border-radius: 999px; border: 0; background: transparent; color: var(--muted);
  display: flex; align-items: center; justify-content: center; transition: background-color 120ms, color 120ms;
}
.icon:hover { background: var(--soft); color: var(--ink); }

.status { border-top: 1px solid var(--line); padding: 18px 28px 22px; font-size: 15px; color: var(--muted); }
.answer {
  border-top: 1px solid var(--line); padding: 22px 28px 26px;
  display: flex; flex-direction: column; gap: 20px; animation: rise 220ms ease-out both;
}

.lead { margin: 0; font-size: 20px; line-height: 1.45; color: var(--ink); max-width: 62ch; }
/* The answer in one word before the sentence: yes, expected, a bug. */
.verdict {
  display: inline-flex; align-items: center; gap: 7px; margin-right: 10px; padding: 1px 10px 1px 8px; border-radius: 999px;
  background: var(--soft); font-size: 15px; font-weight: 600; line-height: 26px; vertical-align: 1px; color: var(--ink2);
}
.verdict i { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); }
.verdict.yes, .verdict.expected { color: #6FCF97; }
.verdict.yes i, .verdict.expected i { background: #6FCF97; }
.verdict.known, .verdict.likely, .verdict.not_yet { color: #F2B84B; }
.verdict.known i, .verdict.likely i, .verdict.not_yet i { background: #F2B84B; }
.verdict.bug { color: var(--link); }
.verdict.bug i { background: #E0469B; }
/* Text first: the answer rises in place, a beat per block and per step. */
.answer > *, .steps > li { animation: up 180ms var(--ease) backwards; animation-delay: calc(var(--i, 0) * 40ms); }
@keyframes up { from { opacity: 0; transform: translateY(4px); } }
.stage.answered #ask:not(:focus) { font-size: 15px; color: var(--ink2); }
.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.steps li { display: flex; gap: 14px; align-items: flex-start; }
.num {
  flex-shrink: 0; width: 26px; height: 26px; border-radius: 999px; border: 1px solid var(--line2);
  color: var(--muted); font-size: 13px; font-weight: 600; display: flex; align-items: center; justify-content: center;
  font-variant-numeric: tabular-nums;
}
.step-body { display: flex; flex-direction: column; gap: 6px; padding-top: 2px; min-width: 0; font-size: 15px; line-height: 1.55; color: var(--ink2); }
.step-line { line-height: 1.75; }
/* A word the app itself shows: a label to look for, not a phrase to read. */
.ui { padding: 1px 6px; border-radius: 6px; background: var(--kbd); color: var(--ink); font-weight: 600; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.ref {
  display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; margin-left: 6px; border-radius: 50%;
  border: 1px solid #E0469B; color: var(--link); font-size: 11px; font-weight: 700; line-height: 1; vertical-align: 1px; font-variant-numeric: tabular-nums;
}
.step-warn { display: flex; gap: 6px; align-items: flex-start; font-size: 13px; line-height: 1.45; color: #F2B84B; }
.step-warn svg { flex-shrink: 0; width: 14px; height: 14px; margin-top: 2px; }
.step-body > .side-card.inline { margin: 6px 0 0 -40px; }
/* Where something lives in the app, with the app's own icons. */
.place {
  display: inline-flex; flex-wrap: wrap; align-items: center; gap: 2px 5px; min-height: 26px; max-width: 100%; padding: 1px 9px 1px 7px;
  border-radius: 8px; background: var(--kbd); border: 1px solid var(--line2); color: var(--ink);
  font-size: 13px; font-weight: 600; line-height: 1.3; vertical-align: middle;
}
.place .crumb { display: inline-flex; align-items: center; gap: 5px; }
.place svg { flex-shrink: 0; width: 14px; height: 14px; }
.place .sep { color: var(--muted); font-weight: 400; }
.place.big { min-height: 40px; padding: 4px 14px 4px 11px; gap: 4px 8px; border-radius: 12px; font-size: 16px; }
.place.big svg { width: 18px; height: 18px; }
kbd {
  display: inline-block; margin: 0 2px; padding: 1px 8px; border-radius: 7px;
  background: var(--kbd); border: 1px solid var(--line2); border-bottom-width: 2px;
  color: var(--ink); font-family: var(--sans); font-size: 13px; font-weight: 600; line-height: 20px;
}
.where { font-size: 13px; color: var(--muted); }
.show { font-size: 14px; font-weight: 600; color: var(--link); text-decoration: none; align-self: flex-start; }
.show:hover { text-decoration: underline; }

.kicker { font-size: 13px; font-weight: 600; letter-spacing: .02em; color: var(--muted); margin-bottom: 10px; }
.choice { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; }
.choice > div { padding: 14px 16px; border-radius: 16px; background: var(--soft); border: 1px solid transparent; display: flex; flex-direction: column; gap: 6px; }
.choice > .picked { border-color: #E0469B; }
.choice .rec { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--link); }
.choice strong { font-size: 16px; color: var(--ink); }
.choice span { font-size: 14px; line-height: 1.5; color: var(--ink2); }
.choice em { font-style: normal; font-size: 13px; color: var(--muted); }

/* Not one answer: the readings to pick from, each one a question to ask. */
.clarify-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.clarify-opt {
  display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 10px 14px; text-align: left;
  border-radius: 16px; border: 1px solid var(--line2); background: transparent; color: var(--ink);
  transition: background-color 120ms, border-color 120ms;
}
.clarify-opt:hover { background: var(--soft); border-color: rgba(224, 70, 155, .5); }
.clarify-opt .ico { flex-shrink: 0; width: 32px; height: 32px; margin: 0; }
.clarify-words { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.clarify-words strong { font-size: 14px; font-weight: 600; line-height: 1.35; }
.clarify-words small { font-size: 13px; line-height: 1.4; color: var(--muted); }
.clarify-after { margin: -6px 0 0; font-size: 14px; color: var(--muted); }
.link-btn { padding: 0; border: 0; background: none; color: var(--link); font-size: 14px; font-weight: 600; text-align: left; }
.link-btn:hover { text-decoration: underline; }
@media (max-width: 559px) { .clarify-grid { grid-template-columns: 1fr; } }

/* Not in the code or docs: said plainly, with what was looked for. */
.gap { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 1px dashed var(--line2); border-radius: 16px; font-size: 14px; line-height: 1.5; color: var(--muted); }
.gap-dot { flex: 0 0 12px; height: 12px; margin-top: 5px; border-radius: 50%; border: 1.5px solid var(--muted); }
.gap-body { min-width: 0; }
.gap p { margin: 0 0 6px; color: var(--ink2); }
.gap .looked { display: block; margin-bottom: 8px; font-family: var(--mono); font-size: 12px; overflow-wrap: anywhere; }

.api { border: 1px solid var(--line2); border-radius: 18px; overflow: hidden; }
.api-head { padding: 14px 18px; display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: baseline; }
.api-head code { font-family: var(--mono); font-size: 14px; font-weight: 700; color: var(--ink); }
.api-head span { font-size: 14px; color: var(--muted); }
.param { display: flex; flex-wrap: wrap; gap: 4px 18px; padding: 12px 18px; border-top: 1px solid var(--line); }
.param code { flex: 0 0 150px; font-family: var(--mono); font-size: 13px; color: var(--link); overflow-wrap: anywhere; }
.param span { flex: 1 1 260px; font-size: 14px; line-height: 1.5; color: var(--ink2); }

.code { border-radius: 16px; background: var(--code); overflow: hidden; }
.code-head { display: flex; justify-content: space-between; align-items: center; padding: 8px 8px 8px 16px; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.copy { background: transparent; border: 0; color: var(--muted); font-size: 13px; font-weight: 600; padding: 6px 10px; border-radius: 8px; }
.copy:hover { color: var(--ink); }
.code pre { margin: 0; padding: 14px 16px 16px; overflow-x: auto; font-family: var(--mono); font-size: 13px; line-height: 1.6; color: var(--ink); }

.note { display: flex; gap: 12px; align-items: flex-start; padding: 12px 16px; border-radius: 14px; background: var(--soft); font-size: 14px; line-height: 1.5; color: var(--ink2); }
.note svg { flex-shrink: 0; margin-top: 1px; color: var(--muted); }

.open { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.open .hint { margin: 0; font-size: 15px; line-height: 1.5; color: var(--ink2); }
.open.spot { border-radius: 16px; }
.open.spot::after { inset: -10px -12px; padding: 1.5px; }
.open .spot-tag { top: -22px; left: 0; }

.pills { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.pills.next { border-top: 1px solid var(--line); padding-top: 16px; }
.pills .label { font-size: 13px; font-weight: 600; color: var(--muted); margin-right: 4px; }
.pill {
  font-size: 14px; color: var(--ink2); background: transparent; border: 1px solid var(--line2);
  border-radius: 999px; padding: 7px 12px; transition: background-color 120ms;
}
.next .pill { border-color: transparent; }
.pill:hover { background: var(--soft); }

.icon:focus-visible, .pill:focus-visible, .copy:focus-visible, .clarify-opt:focus-visible, .link-btn:focus-visible,
.show:focus-visible, .open a:focus-visible, .orb:focus-visible {
  outline: 2px solid #C93384; outline-offset: 2px;
}

/* Research steps, live under the question: the running one turns like the
   ring, done ones settle into a dot. After the answer they fold into one line. */
.trace { list-style: none; margin: 0; padding: 16px 28px 20px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 9px; }
.trace li { display: flex; align-items: baseline; gap: 10px; min-width: 0; font-size: 14px; line-height: 1.45; color: var(--muted); animation: rise 200ms ease-out both; }
.trace li.now { color: var(--ink); }
.trace .what { flex-shrink: 0; }
.trace .detail { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; color: var(--muted); }
.trace code.detail { font-family: var(--mono); font-size: 12px; }
.trace li.now code.detail { color: var(--link); }
.file-chip { padding: 0 6px; border-radius: 6px; background: var(--soft); font-family: var(--mono); font-size: 12px; }
.file-chip .dir { color: var(--muted); }
.file-chip .base { color: var(--ink2); }
.trace li.now .file-chip .base { color: var(--ink); }
.trace .count { flex-shrink: 0; font-size: 12px; color: var(--muted); }
.trace .count:empty { display: none; }
.trace li.more { padding-left: 24px; font-size: 12px; color: var(--muted); animation: none; }
.tick { position: relative; flex: 0 0 14px; height: 14px; align-self: center; }
.tick::before { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: var(--muted); opacity: .6; transition: background-color 200ms, opacity 200ms; }
.now .tick::before { inset: 1px; opacity: 1;
  background: conic-gradient(from 0deg, transparent 0 35%, rgba(224, 70, 155, .35) 60%, #E0469B 100%);
  -webkit-mask: radial-gradient(circle, transparent 3.6px, #000 4.2px); mask: radial-gradient(circle, transparent 3.6px, #000 4.2px);
  animation: turn 800ms linear infinite; }
.done .tick::before { background: #6FCF97; opacity: .9; }
@keyframes turn { to { transform: rotate(360deg); } }
.trace-sum { margin: -6px 0 -10px; }
.trace-sum summary { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; list-style: none; font-size: 13px; color: var(--muted); padding: 4px 0; }
.trace-sum summary::-webkit-details-marker { display: none; }
.trace-sum summary::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #6FCF97; }
.trace-sum summary::after { content: "›"; transition: transform 160ms var(--ease); }
.trace-sum[open] summary::after { transform: rotate(90deg); }
.trace-sum summary:hover { color: var(--ink2); }
.trace-sum .trace { border: 0; padding: 8px 0 4px 2px; }
.sources { list-style: none; margin: 8px 0 4px; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.sources li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; font-size: 13px; color: var(--ink2); }
.sources a { font-family: var(--mono); font-size: 12px; color: var(--link); text-decoration: none; overflow-wrap: anywhere; }
.sources a:hover { text-decoration: underline; }
.sources .more { color: var(--muted); }
.trace-head { margin: 12px 0 0; font-size: 12px; font-weight: 600; color: var(--muted); }

/* An app icon inside the text, as it looks on the island. */
.ico { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; margin: -4px 6px -4px 0; vertical-align: middle;
  border-radius: 8px; background: var(--kbd); border: 1px solid var(--line2); color: var(--ink); }
.ico svg { width: 15px; height: 15px; }

/* Cards: each kind has its own shape, not just its own label. */
.side-card .kicker { display: flex; align-items: center; gap: 7px; margin-bottom: 12px; }
.side-card .kicker svg { width: 15px; height: 15px; }
.side-card.inline { padding: 14px 16px 16px; border-radius: 18px; background: var(--soft); box-shadow: none; opacity: 1; transform: none; }
.side-card .code { margin: 0 -6px; }
.side-card .code pre { white-space: pre-wrap; overflow-wrap: anywhere; }
.side-card.inline .code { margin: 0; }
.command pre code { display: block; padding-left: 2ch; text-indent: -2ch; white-space: pre-wrap; overflow-wrap: anywhere; }
.command pre code::before { content: "$\00a0"; color: var(--muted); }
.slot { display: inline-block; padding: 0 4px; border: 1px dashed #E0469B; border-radius: 5px; color: var(--link); text-indent: 0; line-height: 1.35; }
.var { color: var(--link); }
.slot-hint { margin: -6px 0 0; padding: 0 16px 12px; font-size: 13px; line-height: 1.6; color: var(--muted); }
.slot-hint .slot { font-family: var(--mono); font-size: 12px; }
.cmd-warn { padding: 10px 16px 12px; border-top: 1px solid var(--line); box-shadow: inset 3px 0 0 #F2B84B; font-size: 13px; line-height: 1.5; color: var(--ink2); }
.side-card[data-hot] { box-shadow: 0 0 0 1px #E0469B, 0 18px 40px rgba(20, 18, 15, .16); transform: translateY(-2px); }
.side-card .kicker .ref { margin: 0 2px 0 0; }
.code-head .file { font-family: var(--mono); font-size: 12px; color: var(--ink2); }
.side-card .hint { margin: 10px 0 0; font-size: 14px; line-height: 1.5; color: var(--ink2); }
.big-keys kbd { font-size: 18px; line-height: 30px; padding: 2px 12px; border-radius: 10px; border-bottom-width: 3px; margin: 0 6px 0 0; }
.setting-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.setting-row strong { font-size: 16px; color: var(--ink); }
.switch { position: relative; flex-shrink: 0; width: 38px; height: 22px; border-radius: 999px; background: var(--kbd); border: 1px solid var(--line2); transition: background-color 240ms var(--ease), border-color 240ms; }
.switch::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: var(--muted); transition: transform 240ms var(--ease), background-color 240ms; }
.value-chip { flex-shrink: 0; padding: 3px 10px; border-radius: 8px; background: var(--kbd); border: 1px solid var(--line2); font-size: 13px; font-weight: 600; color: var(--ink); }
.setting-card .subtitle { margin: 6px 0 10px; font-size: 13px; line-height: 1.5; color: var(--muted); }
.switch.on { background: var(--action); border-color: transparent; }
.switch.on::after { transform: translateX(16px); background: #FFF; }
.side-card.heads { box-shadow: inset 3px 0 0 #F2B84B, 0 1px 2px rgba(20, 18, 15, .06), 0 18px 40px rgba(20, 18, 15, .16); }
.side-card.heads.inline { box-shadow: inset 3px 0 0 #F2B84B; }
.side-card.heads .kicker { color: #F2B84B; }
.note.warn { padding: 0; background: none; font-size: 15px; }
.issue-head { display: flex; align-items: center; gap: 10px; }
.issue-num { font-family: var(--mono); font-size: 14px; font-weight: 700; color: var(--ink); }
.issue-state { display: inline-flex; align-items: center; gap: 6px; padding: 2px 9px 2px 7px; border-radius: 999px; border: 1px solid transparent; font-size: 12px; font-weight: 600; color: var(--ink2); }
.issue-state i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); }
.issue-state.opened { color: #6FCF97; }
.issue-state.opened i { background: #6FCF97; }
.issue-state.related { border-color: var(--line2); color: var(--muted); }
.issue-state.related i { display: none; }
.issue-state.fixed { color: #B9A2FF; }
.issue-state.fixed i { width: 9px; height: 5px; border-radius: 0; background: none; border: solid currentColor; border-width: 0 0 2px 2px; transform: rotate(-45deg) translate(1px, -1px); }
.issue-state.closed { color: var(--muted); }
.issue-state.draft { border-color: rgba(242, 184, 75, .55); color: #F2B84B; }
.issue-state.draft i { display: none; }
.issue-title { display: block; margin-top: 8px; font-size: 15px; line-height: 1.4; color: var(--ink); }
.issue-meta { margin: 8px 0 0; font-size: 12px; line-height: 1.5; color: var(--muted); }
.issue-checks { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 10px 0 0; padding: 0; font-size: 12px; color: var(--muted); }
.issue-checks li::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 6px; border: 1px solid var(--line2); border-radius: 3px; vertical-align: -1px; }
.issue-filed { margin-top: 10px; font-size: 13px; color: var(--ink2); }
.issue-filed summary { cursor: pointer; color: var(--muted); }
.issue-filed p { margin: 8px 0 4px; line-height: 1.5; }
.issue-filed small { color: var(--muted); font-style: italic; }
.issue-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 12px; }
.issue-actions .primary {
  display: inline-flex; align-items: center; min-height: 34px; padding: 0 14px; border-radius: 999px;
  background: var(--action); color: #FFF; font-size: 13px; font-weight: 600; text-decoration: none; transition: background-color 120ms;
}
.issue-actions .primary:hover { background: var(--action-hover); }
.issue-actions .primary:focus-visible { outline: 2px solid #FFF; outline-offset: 2px; }
.issue-actions .show { align-self: center; }
.issue-actions button { border: 0; font-family: inherit; cursor: pointer; }
.issue-actions button.show { background: none; padding: 0; font-size: 13px; }
.issue-actions button:disabled { cursor: progress; opacity: .7; }
/* A report the person completes in the card: plain fields on the paper, the preview in the code face. */
.report { display: grid; gap: 12px; margin-top: 14px; }
.report-field { display: grid; gap: 5px; }
.report-field span { font-size: 12.5px; font-weight: 600; color: var(--ink2); }
.report-k { font: 10.5px/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.report-field input, .report-field textarea {
  width: 100%; box-sizing: border-box; padding: 8px 10px; border: 1px solid var(--line2); border-radius: 8px;
  background: rgba(255, 255, 255, .55); color: var(--ink); font-family: inherit; font-size: 14px; line-height: 1.45; resize: vertical;
}
.report-field textarea { min-height: 0; }
.report-field input::placeholder, .report-field textarea::placeholder { color: var(--muted); opacity: .75; }
.report-field input:focus-visible, .report-field textarea:focus-visible { outline: 2px solid #E0469B; outline-offset: 1px; border-color: transparent; }
.report-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.report-warn { margin: 0; font-size: 12px; line-height: 1.5; color: #8A5A00; }
.report-said { margin: 8px 0 0; font-size: 13px; line-height: 1.5; color: #B42318; }
.report-said:empty { display: none; }
.report-look { display: grid; gap: 8px; margin-top: 14px; }
.report-body {
  margin: 0; max-height: 260px; overflow: auto; padding: 10px 12px; border-radius: 8px; background: var(--code);
  font: 12px/1.55 var(--mono); color: var(--ink2); white-space: pre-wrap; overflow-wrap: anywhere;
}
.report-body:focus-visible { outline: 2px solid #E0469B; outline-offset: 1px; }
.report-tags { display: flex; gap: 6px; margin: 0; }
.report-tags span { padding: 2px 8px; border-radius: 999px; border: 1px solid var(--line2); font: 11px/1.4 var(--mono); color: var(--ink2); }

/* Show in Whytap: opens the app at the place; the hint appears only when nothing did. */
.show-wrap { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.show-btn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 14px 0 12px; border-radius: 999px;
  background: var(--action); color: #FFF; font-size: 14px; font-weight: 600; text-decoration: none;
  transition: background-color 120ms, transform 160ms var(--ease);
}
.show-btn svg { width: 16px; height: 16px; }
.show-btn::after { content: "↗"; font-size: 13px; opacity: .8; }
.show-btn:hover { background: var(--action-hover); }
.show-btn:active { transform: scale(.97); }
.show-btn:focus-visible { outline: 2px solid #FFF; outline-offset: 2px; }
.open .show-btn { min-height: 44px; padding: 0 20px 0 16px; font-size: 15px; }
.steps .show-wrap { margin-top: 10px; }  /* a step's own button: the download, or the place it opens */
.show-hint { font-size: 13px; line-height: 1.5; color: var(--muted); animation: rise 200ms ease-out both; }

/* Spotlight: the first thing to do glows with the same comet as the question
   line while the rest of the page steps back; afterwards it keeps a faint mark. */
.answer > *, .side-card, .steps > li, .ask-row, .ring, .milestones { transition: opacity 520ms var(--ease), filter 520ms var(--ease), transform 360ms var(--ease); }
body.spotlight .answer > :not(.spot):not(:has(.spot)), body.spotlight .steps.holds-spot > li:not(.spot),
body.spotlight .side-card:not(.spot), body.spotlight .ask-row, body.spotlight .ring, body.spotlight .milestones {
  opacity: .28; filter: saturate(.5);
}
.spot { position: relative; z-index: 1; }
.side-card.spot { transform: scale(1.025); box-shadow: 0 0 0 1px rgba(224, 70, 155, .45), 0 0 56px rgba(224, 70, 155, .38), 0 18px 40px rgba(20, 18, 15, .2); }
.side-card.spot, .side-card.focus { transition: opacity 520ms var(--ease), transform 360ms var(--ease), box-shadow 600ms var(--ease); }
.spot::after {
  content: ""; position: absolute; inset: -2px; border-radius: inherit; padding: 2px; pointer-events: none;
  background: conic-gradient(from var(--sweep), transparent 0deg 200deg, rgba(224, 70, 155, .95) 300deg, #FFE4F2 345deg, transparent 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: sweep 1.3s linear infinite;
}
.steps li.spot { border-radius: 14px; }
.steps li.spot::after { inset: -7px -10px; padding: 1.5px; }
.steps li.focus .num { border-color: #E0469B; color: var(--link); }
.side-card.focus:not(.spot) { box-shadow: inset 0 0 0 1px rgba(224, 70, 155, .4), 0 1px 2px rgba(20, 18, 15, .06), 0 18px 40px rgba(20, 18, 15, .16); }
.side-card.inline.focus:not(.spot) { box-shadow: inset 0 0 0 1px rgba(224, 70, 155, .4); }
.spot-tag {
  position: absolute; z-index: 2; top: -11px; left: 14px; padding: 3px 9px; border-radius: 999px;
  background: #E0469B; color: #FFF; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  animation: rise 240ms ease-out both; transition: opacity 300ms;
}
.steps li .spot-tag { top: -16px; left: 30px; }
:not(.spot) > .spot-tag { opacity: 0; }

/* Off-topic: the page tears for a moment and comes back as it was. */
.toast {
  position: fixed; z-index: 6; top: 22px; left: 0; right: 0; margin: 0 auto; width: max-content; max-width: calc(100vw - 32px);
  padding: 12px 20px; border-radius: 999px; background: var(--bg); color: var(--ink); font-size: 15px;
  box-shadow: 0 18px 40px rgba(20, 18, 15, .22); animation: rise 240ms ease-out both;
}
.toast:has(.toast-pills) { border-radius: 22px; padding: 14px 16px; text-align: center; }
.toast-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 10px; }
.toast .pill { font-size: 13px; padding: 6px 11px; }
body.glitch .stage, body.glitch .ring, body.glitch .corner { animation: tear 450ms steps(1) both; }
body.glitch::after {
  content: ""; position: fixed; inset: 0; z-index: 5; pointer-events: none; mix-blend-mode: multiply;
  background:
    repeating-linear-gradient(0deg, rgba(0, 0, 0, .14) 0 1px, transparent 1px 3px),
    linear-gradient(transparent 0 18%, rgba(224, 70, 155, .5) 18% 21%, transparent 21% 54%, rgba(0, 200, 255, .45) 54% 56%, transparent 56% 79%, rgba(20, 20, 25, .7) 79% 80%, transparent 80%);
  animation: bars 450ms steps(6) both;
}
@keyframes tear {
  0% { transform: none; filter: none; }
  8% { transform: translate(-14px, 3px) skewX(-6deg); filter: drop-shadow(5px 0 rgba(255, 0, 90, .8)) drop-shadow(-5px 0 rgba(0, 210, 255, .8)); clip-path: inset(12% 0 40% 0); }
  18% { transform: translate(18px, -2px); clip-path: inset(48% 0 8% 0); }
  30% { transform: translate(-6px, 0) scaleY(1.04); filter: drop-shadow(-8px 0 rgba(255, 0, 90, .7)) drop-shadow(8px 0 rgba(0, 210, 255, .7)) contrast(1.6); clip-path: none; }
  44% { transform: translate(10px, 4px) skewX(8deg); clip-path: inset(0 0 66% 0); }
  58% { transform: translate(-22px, -3px); filter: invert(1) hue-rotate(180deg); clip-path: inset(30% 0 22% 0); }
  70% { transform: translate(4px, 0); filter: drop-shadow(3px 0 rgba(255, 0, 90, .8)) drop-shadow(-3px 0 rgba(0, 210, 255, .8)); clip-path: none; }
  84% { transform: translate(-3px, 1px); opacity: .4; }
  100% { transform: none; filter: none; opacity: 1; clip-path: none; }
}
@keyframes bars { 0% { background-position: 0 0, 0 0; } 100% { background-position: 0 6px, 0 -340px; } }

/* Corner links: a circle with a logo that opens into a labelled pill. */
.corner { position: fixed; z-index: 3; top: 16px; right: clamp(12px, 2vw, 24px); display: flex; gap: 8px; }
.orb {
  display: flex; align-items: center; height: 44px; border-radius: 999px; overflow: hidden;
  color: var(--page-ink); text-decoration: none; font-size: 14px; font-weight: 600; white-space: nowrap;
  background: rgba(255, 255, 255, .72); border: 1px solid rgba(20, 20, 25, .08);
  -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: 0 1px 2px rgba(20, 18, 15, .05), 0 6px 18px rgba(20, 18, 15, .06);
  transition: background-color 160ms, box-shadow 160ms;
}
.orb svg { flex: none; width: 42px; height: 20px; }  /* Safari sizes the pill from the svg's width, not its flex-basis */
.orb-label { max-width: 0; opacity: 0; transition: max-width 320ms var(--ease), opacity 180ms, padding-right 320ms var(--ease); }
.orb:hover, .orb:focus-visible { background: #FFF; box-shadow: 0 1px 2px rgba(20, 18, 15, .05), 0 10px 26px rgba(20, 18, 15, .10); }
.orb:hover .orb-label, .orb:focus-visible .orb-label { max-width: 220px; opacity: 1; padding-right: 16px; }

/* The ring: a canvas figure behind everything; labels and cards sit on top. */
body { position: relative; }
.ring { position: absolute; top: 0; left: 0; z-index: 1; pointer-events: none; }
.milestones, .cards { position: absolute; top: 0; left: 0; width: 100%; height: 0; z-index: 3; }
.milestone {
  position: absolute; display: flex; align-items: baseline; gap: 7px; padding: 6px 8px; border: 0; border-radius: 10px;
  background: transparent; color: var(--page-ink); font-size: 13px; font-weight: 600; white-space: nowrap;
  transition: background-color 140ms;
}
.milestone .year { font-family: var(--mono); font-size: 11px; font-weight: 400; color: var(--page-muted); }
.milestone:hover { background: rgba(255, 255, 255, .7); }
.milestone:focus-visible { outline: 2px solid #C93384; outline-offset: 2px; }

.slogan {
  position: absolute; left: 0; right: 0; bottom: calc(100% + 26px); margin: 0; text-align: center;
  font-size: 15px; line-height: 1.5; color: var(--page-muted); transition: opacity 300ms var(--ease);
  text-shadow: 0 0 10px var(--page), 0 0 4px var(--page), 0 0 2px var(--page);
}
.slogan em { display: block; font-family: "Instrument Serif", Georgia, serif; font-size: clamp(26px, 3.4vw, 38px); line-height: 1.1; color: var(--page-ink); margin-bottom: 6px; }
.busy .slogan { opacity: 0; pointer-events: none; }

.stage.answered { padding-top: var(--answer-top, 84px); }
.cards-col { position: absolute; width: 260px; display: flex; flex-direction: column; gap: 16px; }
.cards-col.right { left: calc(50% + 404px); }
.cards-col.left { right: calc(50% + 404px); }
.side-card {
  padding: 16px 18px 18px; border-radius: 20px; background: var(--bg); color: var(--ink);
  box-shadow: 0 1px 2px rgba(20, 18, 15, .06), 0 18px 40px rgba(20, 18, 15, .16);
  opacity: 0; transform: translateY(6px); transition: opacity 360ms var(--ease), transform 360ms var(--ease), box-shadow 200ms var(--ease);
}
.side-card.shown { opacity: 1; transform: none; }
.side-card .choice { grid-template-columns: 1fr; }

.explain {
  width: min(560px, calc(100vw - 32px)); max-height: calc(100vh - 48px); padding: 28px 28px 26px; border: 0; border-radius: 26px;
  background: var(--bg); color: var(--ink); box-shadow: 0 30px 80px rgba(10, 10, 14, .35);
}
.explain::backdrop { background: rgba(236, 236, 238, .55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.explain[open] { animation: rise 240ms ease-out both; }
.explain .close { position: absolute; top: 14px; right: 14px; }
.explain .kicker { font-family: var(--mono); font-weight: 400; color: var(--link); }
.explain h2 { margin: 0 36px 6px 0; font-size: 22px; line-height: 1.25; font-weight: 600; letter-spacing: -.01em; }
.explain .authors { margin: 0 0 18px; font-size: 14px; color: var(--muted); }
.explain dl { margin: 0; display: grid; gap: 4px 0; }
.explain dt { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-top: 10px; }
.explain dd { margin: 0; font-size: 15px; line-height: 1.55; color: var(--ink2); }
.explain .paper {
  display: inline-flex; align-items: center; min-height: 44px; margin-top: 22px; padding: 0 18px; border-radius: 999px;
  background: var(--action); color: #FFF; font-size: 14px; font-weight: 600; text-decoration: none;
}
.explain .paper:hover { background: var(--action-hover); }
.explain .paper:focus-visible { outline: 2px solid #FFF; outline-offset: 2px; }

@media (max-width: 759px) {
  .slogan { font-size: 14px; }
}

/* A motion video of the feature. The box keeps 16:9 from the first frame, so nothing
   moves when the file loads; the poster is its background until then. */
.video { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.video-frame {
  position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden;
  background: var(--code) center / cover no-repeat; border: 1px solid var(--line2);
}
.video-frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; background: transparent; }
.video-frame:fullscreen { border-radius: 0; border: 0; background: #000; }
.video-frame:fullscreen video { object-fit: contain; }
.video-play {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 10px;
  border: 0; padding: 0; color: #FFF; background: linear-gradient(rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, .5));
  transition: opacity 200ms var(--ease);
}
.video-play svg {
  width: 52px; height: 52px; padding: 15px 13px 15px 17px; border-radius: 999px; fill: #FFF; stroke: none;
  background: rgba(22, 22, 25, .74); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .16);
}
.video-watch { font-size: 13px; font-weight: 600; letter-spacing: .01em; padding: 3px 10px; border-radius: 999px; background: rgba(22, 22, 25, .74); }
.video-play:hover svg { background: var(--action); }
.video-play:focus-visible { outline: none; }
.video-play:focus-visible svg { box-shadow: 0 0 0 2px #FFF; }
.video[data-state="playing"] .video-play { opacity: 0; }
.video[data-state="playing"] .video-play:hover { opacity: 1; }
.video[data-state="playing"] .video-play:focus-visible { opacity: 1; }
.video[data-state="paused"] .video-watch { display: none; }
.video-controls { position: absolute; bottom: 0; left: 0; right: 0; padding: 4px 14px 8px; color: #FFF; background: linear-gradient(transparent, rgba(0, 0, 0, .88)); }
.video-bar { position: relative; height: 32px; border-radius: 6px; }
.video-track { position: absolute; left: 6px; right: 6px; top: 14px; height: 4px; border-radius: 2px; background: #444; box-shadow: 0 0 0 1px #AAA; pointer-events: none; }
.video-fill { position: absolute; inset: 0; border-radius: 2px; background: var(--link); transform: scaleX(0); transform-origin: left; }
.video-tick { position: absolute; top: -2px; width: 2px; height: 8px; margin-left: -1px; border-radius: 1px; background: #DDD; }
.video-seek { position: absolute; inset: 0; width: 100%; height: 32px; margin: 0; padding: 0; appearance: none; -webkit-appearance: none; background: transparent; cursor: pointer; touch-action: pan-y; border: 0; border-radius: 6px; }
.video-seek::-webkit-slider-runnable-track { height: 4px; background: transparent; }
.video-seek::-moz-range-track { height: 4px; background: transparent; }
.video-seek::-webkit-slider-thumb { appearance: none; -webkit-appearance: none; width: 12px; height: 12px; margin-top: -4px; border: 0; border-radius: 50%; background: #FFF; box-shadow: 0 0 0 2px #222; }
.video-seek::-moz-range-thumb { width: 12px; height: 12px; border: 0; border-radius: 50%; background: #FFF; box-shadow: 0 0 0 2px #222; }
.video-bar:has(.video-seek:not(:disabled):hover) { background: rgba(255, 255, 255, .16); }
.video-bar:has(.video-seek:not(:disabled):active) { background: rgba(255, 255, 255, .26); }
.video-seek:focus-visible { outline: 2px solid #FFF; outline-offset: 1px; }
.video-seek:disabled { cursor: not-allowed; opacity: .4; }
.video-time { display: block; padding-left: 6px; font: 11px/14px var(--mono); font-variant-numeric: tabular-nums; }
.video-preview { position: absolute; top: -17px; min-width: 42px; padding: 3px 6px; border-radius: 5px; color: #FFF; background: #161619; font: 11px/16px var(--mono); text-align: center; transform: translateX(-50%); pointer-events: none; opacity: 0; }
.video-bar:has(.video-seek:not(:disabled):hover) .video-preview, .video-bar:has(.video-seek:focus-visible) .video-preview { opacity: 1; }
.video[data-state="error"] .video-controls { opacity: .4; }
.video-frame:fullscreen .video-controls, .video-frame:fullscreen .video-play, .video-frame:fullscreen .video-big { display: none; }
@media (pointer: coarse) {
  .video-bar, .video-seek { height: 44px; }
  .video-track { top: 20px; }
}
.video-big {
  position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
  border: 0; border-radius: 10px; color: #FFF; background: rgba(22, 22, 25, .6); opacity: 0; transition: opacity 160ms var(--ease);
}
.video-frame:hover .video-big, .video-big:focus-visible { opacity: 1; }
.video-big:focus-visible { outline: 2px solid #FFF; outline-offset: 1px; }
.video-big:hover { background: var(--action); }
.video-big:active, .video-play:active svg { background: var(--action-hover); }
.video-oops { display: none; position: absolute; inset: 0; align-items: center; justify-content: center; font-size: 14px; color: var(--ink2); background: rgba(13, 13, 15, .82); }
.video[data-state="error"] .video-oops { display: flex; }
.video[data-state="error"] .video-play, .video[data-state="error"] .video-big { display: none; }
.video figcaption { display: flex; flex-direction: column; gap: 8px; }
.video-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; font-size: 13px; color: var(--muted); }
.video-line strong { font-size: 14px; font-weight: 600; color: var(--ink); }
.video-line em { font-style: normal; padding: 1px 8px; border-radius: 999px; border: 1px solid var(--line2); }
.video-say { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; font-size: 14px; line-height: 1.5; }
.video-say dt { color: var(--muted); font-size: 13px; padding-top: 1px; }
.video-say dd { margin: 0; color: var(--ink2); }
.video-beats { display: flex; flex-wrap: wrap; gap: 6px; }
.answer.chaptered .video-beats, .charms.chaptered .video-beats { display: none; }  /* the steps carry the moments */
.beat {
  min-height: 32px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line2); background: transparent;
  color: var(--ink2); font-size: 13px; font-weight: 600;
}
.beat:hover, .beat.now { border-color: var(--link); color: var(--ink); }
.chapter-play {
  display: none; vertical-align: -5px; width: 24px; height: 24px; margin-left: 6px; padding: 0; border-radius: 999px;
  border: 1px solid var(--line2); background: transparent; color: var(--ink2);
}
.chapter-play svg { width: 10px; height: 10px; margin-left: 2px; fill: currentColor; stroke: none; }
.has-video .chapter-play { display: inline-flex; align-items: center; justify-content: center; }
.chapter-play:hover, .steps li.playing .chapter-play { border-color: var(--link); color: var(--link); }
.steps li.playing .num { border-color: var(--link); color: var(--link); }
@media (max-width: 759px) {
  .video-big { display: none; }
  .video-play svg { width: 46px; height: 46px; padding: 13px 11px 13px 15px; }
  .video-say { grid-template-columns: 1fr; gap: 0; }
  .video-say dd + dt { margin-top: 6px; }
}

@keyframes rise { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@keyframes pulse { from { opacity: .35; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .stage, .island, .icon, .pill, .open a, .orb, .orb-label, .side-card, .slogan { transition: none; }
  .answer, .answer > *, .steps > li, .halo, .explain[open], .trace li, .toast, .now .tick::before, .spot::after, .spot-tag { animation: none; }
  .switch, .switch::after { transition: none; }
  .video-play, .video-big { transition: none; }
  .side-card.spot { transform: none; }
  body.glitch .stage, body.glitch .ring, body.glitch .corner, body.glitch::after { animation: none; }
}

/* ---- Подвески ------------------------------------------------------------------
   From the question on, the island is a capsule in the middle of the ring (ring.js
   says where that is through --ring-x, --ring-y and --ring-r). The answer hangs
   under the ring as cards: ring.js draws each card's edge, its thread and its
   clasp on the canvas behind, so a card itself has no box of its own. */
.capsule-q, .capsule-step { display: none; }
.stage.capsule .halo {
  position: absolute; left: var(--ring-x, 50%); top: var(--ring-y, 50vh); z-index: 2;
  width: clamp(150px, calc(var(--ring-r, 170px) * 1.3), 232px); max-width: none;
  transform: translate(-50%, -50%); transition: width 420ms var(--ease);
}
.stage.capsule.editing .halo { width: min(560px, calc(100vw - 32px)); }
.stage.capsule .slogan, .stage.capsule .trace, .stage.capsule .answer, .stage.capsule .status { display: none !important; }
.stage.capsule .island { border-radius: 26px; }
.stage.capsule:not(.editing) .island { cursor: pointer; }
.stage.capsule:not(.editing) .ask-row { display: none; }
.stage.capsule:not(.editing) .capsule-q {
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
  width: 100%; margin: 0 auto; padding: 12px 16px 3px; border: 0; background: none; cursor: inherit;
  font: inherit; font-size: 12.5px; line-height: 1.38; color: var(--ink); text-align: center;
  animation: up 260ms 160ms var(--ease) backwards;
}
.stage.capsule:not(.editing) .capsule-q:focus-visible { outline: 2px solid #C93384; outline-offset: -4px; border-radius: 22px; }
.stage.capsule:not(.editing) .capsule-step {
  display: block; padding: 0 14px 11px; font: 10px/1.5 var(--mono); letter-spacing: .04em; color: var(--muted);
  text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.stage.capsule.answered:not(.editing) .capsule-step { font-size: 0; }
.stage.capsule.answered:not(.editing) .capsule-step::after { content: "ASK AGAIN ↵"; font-size: 10px; letter-spacing: .08em; }

.charms { display: none; }
.stage.capsule.answered { padding-top: calc(var(--answer-top, 420px) + 18px); }
.stage.capsule.answered .charms {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: 0 30px;
  width: 100%; max-width: 1010px; pointer-events: auto;
}
.charm-col { width: 310px; display: flex; flex-direction: column; gap: 64px; }
.charms[data-cols="3"] .c0 { margin-top: 48px; }
.charms[data-cols="3"] .c2 { margin-top: 76px; }
.charms[data-cols="2"] .c1 { margin-top: 44px; }
.charms[data-cols="1"] .charm-col { width: min(358px, 100%); }
.charm {
  position: relative; padding: 32px 20px 20px; color: var(--page-ink);
  --ink: #1A1A1C; --ink2: #3A3A3E; --muted: #6B6A67; --line: rgba(26, 26, 28, .1); --line2: rgba(26, 26, 28, .22);
  --soft: rgba(26, 26, 28, .05); --kbd: rgba(26, 26, 28, .07); --code: rgba(26, 26, 28, .05); --link: #C93384;
  opacity: 0; transform: translateY(8px); transition: opacity 460ms var(--ease), transform 460ms var(--ease);
  display: flex; flex-direction: column; gap: 14px;
}
.charm.shown { opacity: 1; transform: none; }
.charm-label {
  display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: -2px;
  font: 10.5px/1 var(--mono); letter-spacing: .09em; text-transform: uppercase; color: var(--page-muted);
}
.charm-label .ref { margin: 0 6px 0 0; }
.charm .lead { font-size: 17px; line-height: 1.5; }
.charm .note:not(.warn) { padding: 12px 0 0; border-radius: 0; background: none; border-top: 1px dashed rgba(26, 26, 28, .22); font-size: 13.5px; color: #4A4A4E; }
.charm .note:not(.warn) svg { display: none; }
.charm .note:not(.warn) span::before { content: "Note."; font-family: "Instrument Serif", Georgia, serif; font-style: italic; font-size: 16px; color: var(--page-ink); margin-right: 5px; }
.charm.k-heads .note.warn { font-size: 14.5px; line-height: 1.5; color: var(--page-ink); }
.charm.k-heads .note.warn svg { color: #E0469B; }
.charm .steps { gap: 14px; }
.charm .step-body { font-size: 14.5px; }
.charm .num { width: 22px; height: 22px; font: 10.5px/1 var(--mono); border-color: rgba(26, 26, 28, .5); color: var(--page-ink); }
.charm .steps li.focus .num { border-color: #E0469B; color: #C93384; }
.charm .pills.next { border: 0; padding: 0; flex-direction: column; align-items: stretch; gap: 0; }
.charm .pills.next .label { display: none; }
.charm .pills.next .pill { border: 0; border-top: 1px solid rgba(26, 26, 28, .1); border-radius: 0; background: none; padding: 9px 0; text-align: left; font-size: 14.5px; color: var(--page-ink); }
.charm .pills.next .pill:first-of-type { border-top: 0; }
.charm .pills.next .pill:hover { color: #C93384; background: none; }
.charm.k-watch .video { margin: 0 -6px; }
.charm .video-say { display: none; }
/* the states' colours are set for the dark page; on paper they need more ink */
.charm .issue-state.opened { color: #19744A; }
.charm .issue-state.opened i { background: #19744A; }
.charm .issue-state.draft { color: #8A5A00; border-color: rgba(138, 90, 0, .45); }
.charm .issue-state.fixed { color: #6A4FD0; }
.charm .clarify-grid { grid-template-columns: 1fr; gap: 8px; }  /* a card is one column wide: one reading per row */
.charm .clarify-opt { min-height: 0; padding: 10px 12px; gap: 10px; }
.charm .clarify-opt .ico { width: 28px; height: 28px; }
.said { display: grid; gap: 8px; }
.said-k { font: 10.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--page-muted); }
.said-say { margin: 0 0 6px; font-size: 14.5px; line-height: 1.6; color: #3A3A3E; }
.said-say s { text-decoration: none; position: relative; color: #C93384; }
.said-say s::after { content: ""; position: absolute; left: -2px; right: -2px; top: 54%; height: 1.5px; background: #E0469B; transform: rotate(-3deg); }
.said-got { margin: 0; font-size: 16px; line-height: 1.45; font-weight: 500; }
.verdict-word { font-family: "Instrument Serif", Georgia, serif; font-style: italic; font-weight: 400; font-size: 1.32em; line-height: 1; margin-right: 7px; color: var(--ink); }
.verdict-word.bug { color: #C93384; }
.charm-foot { flex-basis: 100%; display: flex; justify-content: center; padding: 56px 0 72px; --ink: #1A1A1C; --ink2: #3A3A3E; --muted: #6B6A67; --line: rgba(26, 26, 28, .1); --link: #C93384; }
.charm-foot .trace-sum { margin: 0; max-width: 640px; }
.charm-foot .trace-sum summary { font: 11px/1.4 var(--mono); letter-spacing: .03em; color: var(--page-muted); }
.charm-foot .trace-sum summary::before { width: 7px; height: 7px; background: none; border: 1px solid currentColor; }
@media (max-width: 759px) {
  .stage.capsule .halo { width: clamp(140px, calc(var(--ring-r, 125px) * 1.22), 180px); }
  .stage.capsule.answered .charms { gap: 0; }
  .charm-col { gap: 56px; }
}
@media (prefers-reduced-motion: reduce) {
  .charm { transition: none; transform: none; }
  .stage.capsule .halo { transition: none; }
  .stage.capsule:not(.editing) .capsule-q { animation: none; }
}
