/* Askii Read: the archive as one field, one command line, results that come and go.
   Tokens, base, chrome and toasts come from ../studio/studio.css; everything here is prefixed k-. */
body.kr { height: 100%; overflow: hidden; overscroll-behavior: none; }
html { height: 100%; }
.kr .chrome { position: fixed; left: 0; right: 0; top: 0; }
.kr .k-askii { display: none; font: 500 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; padding: 6px 0 5px; border-bottom: 2px solid var(--or); }
.kr .chrome .cbtn .n { margin-right: -2px; }
.kr .chrome { z-index: 60; }

/* history menu */
.k-menu { position: absolute; right: 32px; top: 58px; width: min(380px, calc(100vw - 32px)); max-height: min(70vh, 560px); overflow: auto; background: var(--raise); border: 1px solid var(--hair); box-shadow: var(--shadow-lg); padding: 6px 0; z-index: 70; }
.k-menu button { display: grid; grid-template-columns: 22px 1fr; gap: 2px 10px; width: 100%; text-align: left; padding: 10px 16px; background: none; border: 0; cursor: pointer; }
.k-menu button:hover, .k-menu button:focus-visible { background: var(--or-wash); outline: none; }
.k-menu button .ico { grid-row: span 2; width: 18px; height: 18px; margin-top: 1px; color: var(--ink2); }
.k-menu button b { font: 500 15px/1.25 var(--sans); color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.k-menu button small { font: 400 12px/1.3 var(--mono); color: var(--ink3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.k-menu button.on b { color: var(--or-t); }
.k-menu .k-clear { display: block; border-top: 1px solid var(--hair); margin-top: 6px; padding: 12px 16px 8px; font: 500 11px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ink2); }
.k-menu .k-clear:hover { color: var(--or-t); background: none; }

/* the field */
.k-stage { position: fixed; left: 0; right: 0; top: 64px; bottom: 0; overflow: hidden; touch-action: none; cursor: grab; background: var(--paper); }
.k-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.k-stage.pick { cursor: pointer; }
.k-stage.drag { cursor: grabbing; }
/* the welcome: what this is in five seconds, then how to use it */
.k-hero { position: absolute; left: 32px; top: 36px; width: 330px; pointer-events: none; transition: opacity .5s, transform .7s var(--ease); z-index: 4; }
.k-hero > * { pointer-events: auto; }
.k-eye { margin: 0 0 14px; font: 500 11px/1.35 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--or-t); }
.k-eye span { color: var(--ink3); margin: 0 .2em; }
.k-hero h1 { margin: 0; font: 500 46px/1 var(--sans); letter-spacing: -.028em; text-wrap: balance; }
.k-dek { margin: 16px 0 0; font: 400 19px/1.36 var(--serif); color: var(--ink2); text-wrap: pretty; text-shadow: 0 0 14px var(--paper), 0 0 4px var(--paper); }
.k-kinds { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: auto auto; gap: 7px 16px; font: 400 12.5px/1.2 var(--sans); color: var(--ink2); }
.k-kinds li { white-space: nowrap; text-shadow: 0 0 8px var(--paper); }
.k-kinds i { display: inline-block; width: 7px; height: 7px; margin: 0 7px 1px 0; vertical-align: middle; }
.k-kinds b { font: 500 12px/1 var(--mono); color: var(--ink); margin-right: 2px; }
.k-how { list-style: none; margin: 22px 0 0; padding: 16px 0 0; border-top: 1px solid var(--hair); display: grid; gap: 10px; }
.k-how li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: baseline; font: 400 14.5px/1.3 var(--sans); color: var(--ink2); text-shadow: 0 0 8px var(--paper); }
.k-how .n { font: 500 11px/1 var(--mono); color: var(--or-t); }   /* plain numerals, no boxes (Peter's rule; design review 11 Oct 2026) */
.k-how b { font-weight: 500; color: var(--ink); }
.k-hero.gone { opacity: 0; transform: translateY(-10px); pointer-events: none; }
.k-hero.gone > * { pointer-events: none; }
/* zoom levels: what zooming does, and a way to jump between them */
.k-levels { position: absolute; left: 20px; bottom: 16px; display: flex; gap: 0; transition: opacity .4s; z-index: 3; }
.k-levels button { height: 30px; padding: 0 11px; border: 0; background: none; text-shadow: 0 0 8px var(--paper), 0 0 2px var(--paper); cursor: pointer; font: 500 10px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ink3); position: relative; }
.k-levels button:hover { color: var(--ink); }
.k-levels button.on { color: var(--ink); }
.k-levels button.on::after { content: ''; position: absolute; left: 11px; right: 11px; bottom: 6px; height: 2px; background: var(--or); }
.k-zoom { position: absolute; right: 20px; bottom: 18px; display: flex; gap: 6px; transition: opacity .4s; z-index: 3; }
.k-zoom .cbtn { background: none; border-color: transparent; height: 30px; text-shadow: 0 0 8px var(--paper); }
.k-zoom .cbtn:hover { border-color: transparent; color: var(--or-t); }
.k-zoom .cbtn.icon { width: 30px; font-size: 15px; }
/* hover: a museum label */
.k-tip { position: absolute; left: 0; top: 0; width: max-content; max-width: 330px; background: var(--raise); border: 1px solid var(--hair); box-shadow: var(--shadow); padding: 11px 13px 12px; opacity: 0; transition: opacity .15s; pointer-events: none; z-index: 8; }
.k-tip.img { display: grid; grid-template-columns: auto 1fr; gap: 0 13px; align-items: start; max-width: 400px; }
.k-tip.on { opacity: 1; }
.k-ph { display: block; flex: none; box-shadow: 0 0 0 1px var(--hair); background-color: var(--card); }
.k-tip .tx { min-width: 0; max-width: 270px; }
.k-tip small { display: block; font: 500 10px/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--or-t); }
.k-tip b { display: block; margin-top: 5px; font: 500 15px/1.22 var(--sans); letter-spacing: -.005em; }
.k-tip .nt { display: block; margin-top: 3px; font: 400 12.5px/1.3 var(--sans); color: var(--ink2); }
.k-tip p { margin: 6px 0 0; font: 400 14px/1.35 var(--serif); color: var(--ink2); }
.k-tip em { display: block; margin-top: 7px; font: 400 10.5px/1.2 var(--mono); font-style: normal; color: var(--ink3); }
.k-tip em:empty { display: none; }
/* the picked piece: a place card */
.k-card { position: absolute; left: 24px; top: 24px; width: 344px; max-height: calc(100% - 200px); overflow: auto; background: var(--raise); border: 1px solid var(--hair); box-shadow: var(--shadow-lg); padding: 16px 16px 14px; z-index: 6; scrollbar-width: thin; }
.k-card.k-pop { animation: kCard .45s var(--ease) both; }
@keyframes kCard { from { opacity: 0; transform: translateY(-8px); } }
.k-card .x { position: absolute; right: 8px; top: 8px; width: 28px; height: 28px; border: 0; background: none; font: 400 20px/1 var(--sans); color: var(--ink3); cursor: pointer; }
.k-card .x:hover { color: var(--ink); }
.k-card .k-ph.big { margin: 0 0 13px; max-width: 100%; }
.k-card small { display: block; padding-right: 28px; font: 500 10.5px/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--or-t); }
.k-card h2 { margin: 6px 0 0; font: 500 21px/1.15 var(--sans); letter-spacing: -.012em; text-wrap: balance; }
.k-card .nt { display: block; margin-top: 4px; font: 400 13.5px/1.3 var(--sans); color: var(--ink2); }
.k-card p { margin: 9px 0 0; font: 400 16px/1.38 var(--serif); color: var(--ink2); }
.k-card .ft { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 12px; margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--hair2); font: 400 11px/1.3 var(--mono); color: var(--ink3); }
.k-card .ft a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--or); }
.k-card .ft a:hover { color: var(--or-t); }
/* beside a result: what it was made from */
.k-scap { position: absolute; left: 20px; top: 18px; width: calc(var(--k-strip, 360px) - 40px); z-index: 4; pointer-events: none; font: 400 13px/1.35 var(--sans); color: var(--ink2); text-shadow: 0 0 8px var(--paper), 0 0 3px var(--paper); }
.k-scap b { display: block; font: 500 10.5px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--or-t); margin-bottom: 3px; }
body.k-open .k-levels, body.k-open .k-zoom { opacity: 0; pointer-events: none; visibility: hidden; }

/* the result: a sheet over the field, the field keeps a strip on the left with the sources lit */
.k-sheet { position: fixed; z-index: 30; top: 64px; bottom: 0; right: 0; left: var(--k-strip, 360px); background: var(--paper); border-left: 1px solid var(--hair); box-shadow: -30px 0 60px -40px rgba(1,16,21,.35); display: flex; flex-direction: column; }
html[data-theme=dark] .k-sheet { box-shadow: -30px 0 60px -40px rgba(0,0,0,.9); }
.k-sheet.pair { left: 0; border-left: 0; }
.k-sh { flex: none; display: flex; align-items: center; gap: 14px; height: 48px; padding: 0 16px 0 28px; border-bottom: 1px solid var(--hair2); }
.k-kick { flex: 1; min-width: 0; display: flex; align-items: baseline; gap: 10px; white-space: nowrap; overflow: hidden; }
.k-kick b { font: 500 10.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--or-t); }
.k-kick span { font: 400 14px/1.2 var(--serif); font-style: italic; color: var(--ink2); overflow: hidden; text-overflow: ellipsis; }
.k-acts { flex: none; display: flex; gap: 6px; position: relative; }
.k-acts .cbtn { height: 30px; padding: 0 10px; font-size: 10px; background: var(--paper); }
.k-acts .cbtn.icon { width: 30px; padding: 0; }
.k-acts .k-save { position: absolute; right: 36px; top: 36px; min-width: 220px; background: var(--raise); border: 1px solid var(--hair); box-shadow: var(--shadow-lg); padding: 6px 0; z-index: 5; }
.k-acts .k-save button { display: block; width: 100%; text-align: left; padding: 9px 14px; background: none; border: 0; font: 400 14px/1.3 var(--sans); cursor: pointer; }
.k-acts .k-save button:hover { background: var(--or-wash); }
.k-body { flex: 1; min-height: 0; overflow: auto; overscroll-behavior: contain; padding-bottom: 48px; scrollbar-width: thin; }
.k-body > .k-mount { min-height: 100%; }
.k-says { margin: 18px 28px 0; font: 400 16px/1.4 var(--serif); font-style: italic; color: var(--ink2); }
.k-pair { display: grid; grid-template-columns: 1fr 1fr; min-height: 100%; }
.k-pair > div { min-width: 0; border-right: 1px solid var(--hair); }
.k-pair > div:last-child { border-right: 0; }
.k-pair .k-plab { position: sticky; top: 0; z-index: 3; padding: 9px 22px; font: 500 10.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink2); background: var(--paper); border-bottom: 1px solid var(--hair2); }
.k-unfold { animation: kUnfold .7s var(--ease) both; }
@keyframes kUnfold { from { opacity: 0; transform: translateX(28px); clip-path: inset(0 0 0 30%); } to { opacity: 1; transform: none; clip-path: inset(0 0 0 0); } }
.k-fold { animation: kFold .28s var(--ease-io) both; }
@keyframes kFold { to { opacity: 0; transform: translateX(24px); } }
/* the shell's renderers inside the sheet: no second set of "make" buttons, the command line does that */
.k-body .rd-more, .k-body .rd-makes, .k-body .rd-end .rd-chips, .k-body .r-slides .rs-bar [data-a=present] { display: none !important; }
.k-mark { background: rgba(255,76,0,.22); color: inherit; padding: 0 .06em; box-shadow: 0 0 0 1px rgba(255,76,0,.18); }
html[data-theme=dark] .k-mark { background: rgba(255,122,69,.30); }
.k-flash { animation: kFlash 2.4s var(--ease) both; }
@keyframes kFlash { 0%, 30% { background: var(--or-wash); box-shadow: -14px 0 0 var(--or-wash), 14px 0 0 var(--or-wash); } 100% { background: transparent; box-shadow: none; } }
/* display changes the reader asks for */
.k-body.k-cols2 .r-article .rd-body { column-count: 2; column-gap: 44px; max-width: none !important; }
.k-body.k-cols2 .r-article .rd-body > * { break-inside: avoid-column; }
.k-body.k-cols2 .r-article .rd-grid { --rd-measure: 100%; }
.k-body.k-wide .r-article .rd-body { max-width: none !important; }

/* phone */
@media (max-width: 699px) {
  .kr .chrome { height: 54px; padding: 0 16px; gap: 12px; }
  .kr .chrome .logo, .kr .chrome .logo img { height: 19px; }
  .kr .chrome nav { display: none; }
  .kr .k-askii { display: inline-block; }
  .k-menu { right: 16px; top: 50px; }
  .k-stage { top: 54px; }
  .k-hero { left: 16px; right: 16px; top: 14px; width: auto; }
  .k-eye { margin-bottom: 8px; font-size: 10px; }
  .k-hero h1 { font-size: 27px; letter-spacing: -.022em; }
  .k-dek { font-size: 15.5px; margin-top: 7px; line-height: 1.3; }
  .k-kinds, .k-how .more { display: none; }
  .k-how { margin-top: 9px; padding-top: 0; border-top: 0; display: flex; flex-wrap: wrap; gap: 4px 12px; }
  .k-how li { display: block; font-size: 12.5px; }
  .k-how li .n { display: none; }
  .k-how li { white-space: nowrap; }
  .k-how li + li::before { content: '·'; margin-right: 12px; color: var(--ink3); }
  .k-levels { display: none; }
  .k-zoom { display: none; }
  .k-card { left: 10px; right: 10px; top: 10px; width: auto; display: grid; grid-template-columns: auto 1fr; gap: 0 12px; padding: 12px 12px 11px; max-height: 46%; }
  .k-card .k-ph.big { margin: 0; }
  .k-card h2 { font-size: 17px; }
  .k-card p { display: none; }
  .k-card .ft { grid-column: 1 / -1; margin-top: 9px; padding-top: 8px; }
  .k-tip { display: none; }
  .k-sheet { top: 54px; left: 0 !important; border-left: 0; box-shadow: none; }
  .k-sh { padding: 0 10px 0 16px; height: 44px; }
  .k-kick span { display: none; }
  .k-acts .cbtn .lbl { display: none; }
  .k-pair { grid-template-columns: 1fr; }
  .k-pair > div { border-right: 0; border-bottom: 1px solid var(--hair); }
  .k-body { padding-bottom: 32px; }
  .toasts { bottom: 150px; }
}
@media (prefers-reduced-motion: reduce) { .k-unfold, .k-fold { animation: none; } .k-words .caret { animation: none; } }
/* over a result on a phone (or two side by side) the reader's words keep a band of map under the sheet */
.k-sheet { bottom: var(--k-dockh, 0px); }
.k-sheet { transition: bottom .25s var(--ease); }
/* data and explore renderers expect a padded column */
.k-t-dashboard, .k-t-chart, .k-t-table, .k-t-map, .k-t-timeline, .k-t-network, .k-t-playlist, .k-t-quiz, .k-t-path, .k-t-carousel, .k-t-custom { padding: 26px 32px 0; }
@media (max-width: 699px) { .k-t-dashboard, .k-t-chart, .k-t-table, .k-t-map, .k-t-timeline, .k-t-network, .k-t-playlist, .k-t-quiz, .k-t-path, .k-t-carousel, .k-t-custom { padding: 18px 14px 0; } .k-says { margin: 14px 16px 0; } }


/* ============ the reader's words, set on the map (10 Oct 2026): no box, no field, no panel ============ */
.k-in { position: fixed; left: 0; top: 0; width: 1px; height: 1px; padding: 0; border: 0; margin: 0; opacity: 0; font-size: 16px; pointer-events: none; z-index: -1; }
.k-words { position: absolute; left: 0; top: 0; z-index: 7; width: max-content; max-width: min(580px, calc(100vw - 40px)); pointer-events: none; --glow: 0 0 22px var(--paper), 0 0 9px var(--paper), 0 0 3px var(--paper), 0 0 1px var(--paper); }
.k-words[hidden], .k-words [hidden] { display: none !important; }
.k-words > * { pointer-events: auto; }
.k-words p { margin: 0; }
.w-q { font: 500 52px/1.02 var(--sans); letter-spacing: -.026em; color: var(--ink); text-shadow: var(--glow); overflow-wrap: anywhere; white-space: pre-wrap; cursor: text; text-wrap: pretty; }
.w-q .ph { color: var(--ink3); }
.k-words .caret { display: inline-block; width: 3px; height: .82em; background: var(--or); margin: 0 2px 0 3px; vertical-align: -.06em; animation: kBlink 1.06s steps(1) infinite; }
@keyframes kBlink { 50% { opacity: 0; } }
.k-words.m-float.run { transition: transform .7s var(--ease); }
@media (prefers-reduced-motion: reduce) { .k-words.m-float.run { transition: none; } }
.w-this { margin-bottom: 9px !important; font: 500 10.5px/1.5 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--or-t); text-shadow: var(--glow); }
.w-this b { font: 500 14px/1.3 var(--sans); letter-spacing: -.003em; text-transform: none; color: var(--ink); margin: 0 10px 0 7px; }
.w-this button, .w-stop { background: none; border: 0; padding: 0; font: inherit; letter-spacing: inherit; text-transform: inherit; color: var(--ink2); cursor: pointer; text-decoration: underline; text-decoration-color: var(--or); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.w-this button:hover, .w-stop:hover { color: var(--or-t); }
.w-stop { padding: 10px 8px; margin: -10px -8px; }   /* a bigger target for a thumb */
.w-hint { margin-top: 12px !important; font: 500 11px/1.45 var(--mono); letter-spacing: .05em; color: var(--ink2); text-shadow: var(--glow); }
.w-hint.err { color: var(--or-t); }
/* the wait: a line that grows, a line to read, the plan ticking off, the piece being read */
.w-run { margin-top: 16px; min-width: min(340px, calc(100vw - 40px)); max-width: 460px; }
.w-line { position: relative; height: 2px; width: 100%; }
.w-line::before { content: ''; position: absolute; inset: 0; background: var(--or); opacity: .14; }
.w-line i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--or); transition: width .5s linear; }
.w-quip { margin-top: 12px !important; font: italic 400 20px/1.3 "EB Garamond", var(--serif); color: var(--ink); text-shadow: var(--glow); transition: opacity .3s ease; }
.w-quip.fade, .w-now.fade { opacity: 0; }
.w-meta { margin-top: 7px !important; display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: baseline; font: 500 11px/1.45 var(--mono); letter-spacing: .03em; color: var(--ink2); text-shadow: var(--glow); }
.w-meta span:empty { display: none; }
.w-plan { list-style: none; margin: 12px 0 0; padding: 0; font: 400 12px/1.65 var(--mono); color: var(--ink3); text-shadow: var(--glow); }
.w-plan li::before { content: '○'; display: inline-block; width: 18px; color: var(--ink3); }
.w-plan li.go { color: var(--ink); }
.w-plan li.go::before { content: '◐'; color: var(--or); }
.w-plan li.ok { color: var(--ink2); }
.w-plan li.ok::before { content: '●'; color: var(--or); }
.w-now { margin-top: 12px !important; font: 400 13.5px/1.35 var(--sans); color: var(--ink2); text-shadow: var(--glow); transition: opacity .3s ease; }
.w-now small { display: block; margin-bottom: 2px; font: 500 10px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--or-t); }
.w-now b { font-weight: 500; color: var(--ink); }
/* suggestions: lines of type you can click, each with a fine leader line to where it draws from */
.w-sugg { margin-top: 18px; display: grid; justify-items: start; gap: 2px; }
.m-home .w-sugg { margin-top: 0; }
.w-sugg .w-kick { margin-bottom: 5px; font: 500 10.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--or-t); text-shadow: var(--glow); }
.w-sugg .w-wait { font: italic 400 16px/1.3 "EB Garamond", var(--serif); color: var(--ink2); text-shadow: var(--glow); }
.w-sugg button { display: block; max-width: 100%; background: none; border: 0; padding: 3px 0; text-align: left; cursor: pointer; font: 500 16.5px/1.25 var(--sans); letter-spacing: -.004em; color: var(--ink); text-shadow: var(--glow); }
.w-sugg button.q { font: italic 400 19px/1.22 "EB Garamond", var(--serif); }
.w-sugg button i { display: inline-block; width: 7px; height: 7px; margin: 0 9px 2px 0; vertical-align: middle; }
.w-sugg button span { text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 1px; text-underline-offset: 4px; transition: text-decoration-color .2s, color .2s; }
.w-sugg button:hover span, .w-sugg button:focus-visible span { color: var(--or-t); text-decoration-color: var(--or); }
.w-sugg button:focus-visible { outline: none; }
/* where the words sit */
.k-words.m-home { left: 32px; top: var(--k-homey, 470px); width: 330px; }
.k-words.m-home.low { top: auto; bottom: 62px; }
.k-words.m-strip { left: 20px; top: auto; bottom: calc(22px + var(--k-kb, 0px)); width: calc(var(--k-strip, 360px) - 40px); max-width: none; }
.k-words.m-strip .w-q { font-size: 30px; }
.k-words.m-strip .w-run { min-width: 0; }
.k-words.m-band { left: 28px; right: 28px; top: auto; bottom: calc(14px + var(--k-kb, 0px)); width: auto; max-width: 760px; }
.k-words.m-band .w-q { font-size: 28px; }
.k-words.m-band .w-sugg { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 2px 18px; }
@media (max-width: 699px) {
  .w-q { font-size: 32px; }
  .k-words { max-width: calc(100vw - 28px); }
  .k-words.m-home, .k-words.m-home.low { left: 16px; right: 16px; top: auto; bottom: calc(14px + env(safe-area-inset-bottom)); width: auto; }
  .k-words.m-band { left: 16px; right: 16px; bottom: calc(10px + env(safe-area-inset-bottom) + var(--k-kb, 0px)); }
  .k-words.m-band .w-q { font-size: 23px; }
  .k-words.m-band .w-sugg { display: flex; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; gap: 0 18px; margin-right: -16px; padding-right: 16px; }
  .k-words.m-band .w-sugg::-webkit-scrollbar { display: none; }
  .k-words.m-band .w-sugg button { flex: none; white-space: nowrap; }
  .k-words.m-band .w-sugg .w-kick { display: none; }
  .w-sugg button { font-size: 15.5px; padding: 4px 0; }
  .w-sugg button.q { font-size: 18px; }
  .w-quip { font-size: 18px; }
  .w-plan { font-size: 11px; line-height: 1.55; }
  .toasts { bottom: 24px; }
}

/* the tagline and the basic instructions never leave the map (Peter, 10 Oct 2026) */
.k-tag { position: absolute; z-index: 5; left: 32px; top: 14px; margin: 0; max-width: calc(100% - 64px); display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; font: 500 12px/1.3 var(--sans); color: var(--ink); pointer-events: none; opacity: 0; transition: opacity .4s ease; text-shadow: 0 0 8px var(--paper), 0 0 2px var(--paper); }
.k-tag b { font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--or-t, #C93D00); }
.k-tag .sep { color: var(--ink2); }
.k-tag .how { display: inline-flex; flex-wrap: wrap; gap: 4px 14px; margin-left: 8px; font: 400 11px/1.3 var(--mono); color: var(--ink2); }
.k-tag .how span::before { content: "·"; margin-right: 6px; color: var(--or); }
.k-hero.gone ~ .k-tag, body.k-tag-on .k-tag { opacity: 1; }
body.k-open:not(.k-pairing) .k-tag { max-width: calc(var(--k-strip, 360px) - 40px); }
body.k-open:not(.k-pairing) .k-tag .how { margin-left: 0; }
@media (max-width: 600px) { .k-tag { left: 16px; top: 8px; max-width: calc(100% - 32px); font-size: 11px; } .k-tag .how { margin-left: 0; font-size: 10px; } }
/* keep the tagline legible over pictures: the map fades out under it (a fade, not a box) */
.k-stage::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 58px; z-index: 4; pointer-events: none; background: linear-gradient(180deg, var(--paper) 0%, var(--paper) 52%, transparent 100%); opacity: 0; transition: opacity .4s ease; }
body.k-tag-on .k-stage::after { opacity: 1; }
@media (max-width: 600px) { .k-stage::after { height: 64px; } }

/* predictive text: grey completion after the caret, and suggestion lines under the words (text, never boxes) */
.w-q .gh { color: var(--ink3, rgba(1,16,21,.32)); }
.w-q .gh .tab { display: inline-block; margin-left: .35em; font: 500 10px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink2); vertical-align: .9em; }
.w-pred { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 5px; }
.w-pred[hidden] { display: none; }
.w-pred li { cursor: pointer; font: 400 15px/1.3 var(--sans); color: var(--ink2); text-shadow: var(--glow); }
.w-pred li b { font-weight: 500; color: var(--ink); }
.w-pred li small { margin-left: 8px; font: 400 10px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink3, rgba(1,16,21,.4)); }
.w-pred li.on, .w-pred li:hover { color: var(--ink); }
.w-pred li.on::before, .w-pred li:hover::before { content: "→ "; color: var(--or); }
@media (max-width: 600px) { .w-pred li { font-size: 14px; } }

/* design review 11 Oct 2026: touch screens get touch words */
.k-tag .how .tch, .k-how .tch { display: none; }
@media (hover: none) and (pointer: coarse) { .k-tag .how .ptr, .k-how .ptr { display: none; } .k-tag .how .tch, .k-how .tch { display: inline; } }
.k-tag .how i { font-style: normal; }

/* design proposal (?v=next), 11 Oct 2026: the first screen shows that you type, at headline size, with a blinking caret */
.k-ask { margin: 10px 0 0; font: 500 46px/1 var(--sans); letter-spacing: -.028em; color: var(--ink3); cursor: text; }
.k-ask .cr { display: inline-block; width: 3px; height: .86em; margin: 0 .1em 0 0; vertical-align: -.08em; background: var(--or); animation: kBlink 1.1s steps(1) infinite; }
.k-ask .tch { display: none; }
@media (hover: none) and (pointer: coarse) { .k-ask .ptr { display: none; } .k-ask .tch { display: inline; } }
@keyframes kBlink { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .k-ask .cr { animation: none; } }
@media (max-width: 760px) { .k-ask { font-size: 27px; letter-spacing: -.022em; } }
body.v-caret .k-how { display: none; }   /* the proposal: the caret line replaces the 1-2-3 list */
body.v-caret .k-hero .k-dek { margin-top: 18px; }

/* third-party re-review (R3): an unfinished or unchecked result says so wherever it is shown */
.k-kick .k-inc { font: 500 10.5px/1 Rules, "Helvetica Neue", Arial, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--or-t); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 46ch; }
#kMenu small.inc { color: var(--or-t); }
.k-opening { margin: 28px 0; font: italic 400 18px/1.4 "EB Garamond", Georgia, serif; color: var(--ink2); }

/* the AI and privacy note (launch, 14 Oct 2026) */
.k-note { margin: 22px 0 0; max-width: 30rem; font: 400 11.5px/1.5 Rules, "Helvetica Neue", Arial, sans-serif; color: var(--ink3); }
.k-note a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

/* the bot check's box, only for the few readers Cloudflare asks to confirm (managed mode) */
.k-ts { position: fixed; left: 50%; bottom: 76px; transform: translateX(-50%); z-index: 60; }
.k-ts:not(.on) { pointer-events: none; }

/* the hero on a short screen, once the Try suggestions sit under the cursor line (14 Oct 2026): the how-to, then the counts, then the dek step aside; the AI and privacy note always stays */
.k-hero.t1 .k-how, .k-hero.t2 .k-kinds, .k-hero.t3 .k-dek { display: none; }
.k-words.m-home.few .w-sugg button:nth-of-type(n+3) { display: none; }

/* ---------- the calm version (?v=calm, 14 Oct 2026): a still, soft map behind; the words in one clear column ---------- */
.c-note { display: none; }
body.v-calm .k-hero, body.v-calm .k-tag, body.v-calm .k-levels, body.v-calm .k-zoom, body.v-calm .k-tip, body.v-calm .k-card, body.v-calm .k-scap { display: none !important; }
body.v-calm .k-stage { cursor: text; }
body.v-calm .k-stage canvas { opacity: .34; filter: blur(1.4px) saturate(.8); pointer-events: none; transition: opacity .6s; }
body.v-calm .k-stage::before { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(ellipse 62% 70% at 50% 42%, var(--paper) 0 34%, transparent 78%); }
body.v-calm.k-open .k-stage canvas { opacity: .5; filter: none; }
body.v-calm.k-open .k-stage::before, body.v-calm.k-open .k-calm, body.v-calm.k-open .c-note { display: none; }
.k-calm { position: absolute; z-index: 6; left: 0; right: 0; top: clamp(28px, 11vh, 120px); margin: 0 auto; width: min(780px, calc(100vw - 48px)); cursor: text; }
.k-calm .c-eye { margin: 0 0 14px; font: 500 11px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--or-t); }
.k-calm .c-eye span { color: var(--ink3); margin: 0 4px; }
.k-calm .c-h { margin: 0; font: 400 44px/1.06 "EB Garamond", var(--serif); letter-spacing: -.012em; color: var(--ink); text-wrap: balance; }
.k-calm .c-dek { margin: 14px 0 0; max-width: 33em; font: 400 17px/1.45 var(--sans); color: var(--ink2); text-wrap: pretty; }
body.v-calm .k-words.m-home, body.v-calm .k-words.m-home.low { left: 0; right: 0; bottom: auto; top: var(--k-calmy, 46vh); margin: 0 auto; width: min(780px, calc(100vw - 48px)); max-width: none; transform: none !important; }
/* Peter, 14 Oct 2026: bigger, more obvious and simple, but never a text box: large words on one strong rule */
body.v-calm .k-words.m-home .w-q { font-size: 64px; line-height: 1.04; padding-bottom: 16px; border-bottom: 2px solid var(--ink); }
body.v-calm .k-words.m-home .w-q:hover { border-bottom-color: var(--or); }
body.v-calm .k-words.m-home .w-sugg { margin-top: 18px; }
body.v-calm .c-note { display: block; position: absolute; z-index: 6; left: 0; right: 0; bottom: 18px; margin: 0 auto; width: min(780px, calc(100vw - 48px)); font: 400 12px/1.45 var(--sans); color: var(--ink2); }
body.v-calm .c-note a { color: inherit; }
body.v-calm .k-hero ~ .k-note, body.v-calm .k-note { display: none; }
@media (max-width: 760px) {
  .k-calm { top: 14px; width: calc(100vw - 32px); }
  .k-calm .c-h { font-size: 29px; }
  .k-calm .c-dek { font-size: 14.5px; margin-top: 8px; }
  body.v-calm .k-words.m-home, body.v-calm .k-words.m-home.low { width: calc(100vw - 32px); }
  body.v-calm .k-words.m-home .w-q { font-size: 36px; padding-bottom: 12px; }
  body.v-calm .c-note { bottom: calc(10px + env(safe-area-inset-bottom)); width: calc(100vw - 32px); font-size: 11px; }
}

/* About Askii (14 Oct 2026): a short note under the header button */
.k-about { position: absolute; right: 32px; top: 58px; z-index: 70; width: min(440px, calc(100vw - 32px)); padding: 18px 20px 16px; background: var(--raise); border: 1px solid var(--hair); box-shadow: var(--shadow-lg); font: 400 15px/1.5 var(--sans); color: var(--ink); }
.k-about[hidden] { display: none; }
.k-about p { margin: 0 0 10px; text-wrap: pretty; }
.k-about .a-k { font: 500 11px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--or-t); margin-bottom: 12px; }
.k-about .a-n { margin: 0; font-size: 12.5px; color: var(--ink2); }
.k-about a { color: inherit; }
@media (max-width: 760px) { .k-about { right: 16px; top: 52px; } }
/* the phone header with About and Map view (14 Oct 2026): everything fits on one line at 375px */
@media (max-width: 480px) {
  .kr .chrome .logo img { width: 124px; height: auto; }
  .kr .chrome #kAboutBtn, .kr .chrome #kMode { padding: 0 6px; font-size: 10px; letter-spacing: .08em; }
  .kr .chrome .k-askii { font-size: 10px; letter-spacing: .1em; }
}
/* the taller shared header at desktop widths (73.6px, as on www) */
@media (min-width: 761px) { .k-stage, .k-sheet { top: 73.6px; } .k-menu, .k-about { top: 66px; } }
/* the archive's counts in About (Peter, 14 Oct 2026), filled live like the map's */
.k-about .a-kinds { list-style: none; margin: 4px 0 14px; padding: 0; display: grid; grid-template-columns: auto auto; gap: 7px 18px; font: 400 13px/1.2 var(--sans); color: var(--ink2); }
.k-about .a-kinds li { white-space: nowrap; }
.k-about .a-kinds i { display: inline-block; width: 7px; height: 7px; margin: 0 7px 1px 0; vertical-align: middle; }
.k-about .a-kinds b { font: 500 12.5px/1 var(--mono); color: var(--ink); margin-right: 3px; }
.k-about .a-kinds a { color: inherit; text-decoration: none; border-bottom: 1px solid transparent; }
.k-about .a-kinds a:hover { color: var(--ink); border-bottom-color: var(--or); }
.k-about p a { text-decoration-color: var(--or); text-underline-offset: 3px; }
/* ---------- the archive beside the line (?v=dash, 14 Oct 2026): ideas to ask about, rotating; a plain list, no boxes ---------- */
.k-dash { display: none; }
body.v-calm.v-dash .k-dash { display: block; position: absolute; z-index: 6; top: 26px; right: 32px; bottom: 26px; width: 330px; overflow: hidden; }
body.v-calm.v-dash.k-open .k-dash { display: none; }
.k-dash .d-k { margin: 0 0 14px; font: 500 11px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--or-t); }
.k-dash section { margin: 0 0 16px; }
.k-dash .d-s { margin: 0 0 6px; padding-bottom: 6px; border-bottom: 1px solid var(--hair); font: 500 10px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink2); }
.k-dash ul { list-style: none; margin: 0; padding: 0; }
.k-dash li { transition: opacity .38s ease, transform .38s ease; }
.k-dash li.out, .k-dash li.in { opacity: 0; transform: translateY(4px); }
.k-dash button { display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: center; width: 100%; padding: 5px 0; background: none; border: 0; text-align: left; cursor: pointer; color: var(--ink); }
.k-dash img { width: 44px; height: 44px; object-fit: cover; display: block; background: var(--hair); }
.k-dash .t { display: block; font: 400 15.5px/1.22 "EB Garamond", var(--serif); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.k-dash .m { display: block; margin-top: 2px; font: 400 11px/1.3 var(--sans); color: var(--ink2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.k-dash button:hover .t, .k-dash button:focus-visible .t { color: var(--or-t); }
.k-dash button:focus-visible { outline: 1px solid var(--or); outline-offset: 2px; }
/* the centre column moves left to make room */
@media (min-width: 1101px) {
  body.v-calm.v-dash .k-calm, body.v-calm.v-dash .k-words.m-home, body.v-calm.v-dash .c-note { left: 0; right: 394px; width: min(700px, calc(100vw - 394px - 80px)); }
  body.v-calm.v-dash .k-words.m-home .w-q { font-size: 56px; }
}
@media (max-width: 1100px) { body.v-calm.v-dash .k-dash { display: none; } }
@media (max-height: 760px) { .k-dash section:last-child li:nth-child(n+3) { display: none; } }
/* pointing at an item in the archive column brings the map forward, so its lit place and line read clearly */
body.v-calm.k-peek .k-stage canvas { opacity: .82; filter: none; }
body.v-calm.k-peek .k-stage::before { opacity: .45; }
body.v-calm .k-stage::before { transition: opacity .6s; }
/* the taller phone header (74px, as on www) */
@media (max-width: 760px) { .k-stage, .k-sheet { top: 74px; } .k-menu, .k-about { top: 70px; } .kr .chrome { height: 74px; padding: 16px 12px 0; gap: 0; } }
/* the phone header as on www (repeated here, last, so it wins over the map's own older phone rules above) */
@media (max-width: 760px) {
  .kr .chrome { position: fixed; height: 74px; padding: 16px 12px 0; gap: 0; align-items: flex-start; }
  .kr .chrome .logo { position: absolute; left: 12px; top: 17px; height: 26px; }
  .kr .chrome .logo img { width: 176px; height: 26px; }
  .kr .chrome nav { display: flex; position: absolute; left: 12px; top: 50px; gap: 14px; padding: 0; border: 0; transform: none; line-height: 1; }
  .kr .chrome nav a { font: 500 10px/1 var(--sans); letter-spacing: .1em; color: var(--ink); opacity: .55; padding: 0 0 2px; border-bottom: 1px solid transparent; }
  .kr .chrome nav a.on { opacity: 1; border-bottom-color: #FF4C00; }
  .kr .chrome .k-askii { display: none; }
}

/* the one Le Random header (14 Oct 2026): www's own bar (lrh/) replaces Askii's; the old one stays in the page, hidden, for its buttons' handlers */
.kr .k-oldchrome { display: none !important; }
html { font-size: 16px; }
.k-stage, .k-sheet { top: 74px; }
@media (max-width: 760px) { .k-stage, .k-sheet { top: 132px; } }
.k-tools2 { position: fixed; z-index: 61; top: 86px; right: 32px; }
.k-tools2 .k-menu { top: 40px; right: 0; }
.k-about { position: fixed; top: 80px; right: 32px; }
body:has(#kHist:not([hidden])) .k-dash { top: 56px; }
@media (max-width: 760px) { .k-tools2 { top: 140px; right: 16px; } .k-about { top: 136px; right: 16px; } }

/* shared results (14 Oct 2026, demo) */
.k-shared { margin: 18px 28px 0; font: 400 13px/1.4 var(--sans); color: var(--ink2); }
.k-shared b { font: 500 10.5px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--or-t); margin-right: 4px; }
.k-share { width: 320px; padding: 12px 14px !important; }
.k-share .k-sh-t { margin: 0 0 8px; font: 400 13px/1.4 var(--sans); color: var(--ink2); }
.k-share .k-sh-u { width: 100%; box-sizing: border-box; padding: 7px 8px; border: 1px solid var(--hair); background: var(--paper); color: var(--ink); font: 400 12.5px/1.2 var(--mono); }
.k-share .k-sh-b { display: flex; gap: 14px; margin-top: 10px; align-items: center; }
.k-share .k-sh-b button, .k-share .k-sh-b a { all: unset; cursor: pointer; font: 500 11px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ink); border-bottom: 1px solid var(--or); padding-bottom: 2px; }
/* with a result open, "N made" moves to the top corner of the strip, clear of the result's own buttons */
body.k-open .k-tools2 { right: auto; left: calc(var(--k-strip, 360px) - 118px); }
@media (max-width: 760px) { body.k-open .k-tools2 { display: none; } }
.k-share .k-sh-b .k-sh-del { margin-left: auto; color: var(--ink2); border-bottom-color: var(--hair); }
.k-dash button.on .t { color: var(--or-t); }
