/* =========================================================================
   henry. — v3. One prompt box over a dither field. Near-black ground,
   bone-white type and dots, and signal orange as the only accent.
   ========================================================================= */
:root {
  --paper: #0e0e0c; --card: #181816; --ink: #ece8de; --accent: #ff6a2b;
  --muted: #8d8a80; --soft: #26251f; --soft-ink: #cfcbbf; --border: #2c2b26;
  --faint: rgba(236, 232, 222, 0.3);
  color-scheme: dark;
  --ease: cubic-bezier(0.2, 0.75, 0.1, 1); --spring: cubic-bezier(0.34, 1.4, 0.64, 1);
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --sans: "Geist", system-ui, -apple-system, sans-serif;
}
html { box-sizing: border-box; -webkit-text-size-adjust: 100%; }
*, *::before, *::after { box-sizing: inherit; margin: 0; padding: 0; }
body { min-height: 100vh; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.45; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
::selection { background: var(--accent); color: var(--paper); }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- the engraving ---------- */
.engraving { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: 0; transition: opacity 1.4s ease; }
body.is-ready .engraving { opacity: 1; }
body.no-gl { background: repeating-linear-gradient(-4deg, transparent 0 4px, rgba(0, 0, 0, 0.05) 4px 5px), var(--paper); }
body.no-gl::before { content: "henry."; position: fixed; left: 0; right: 0; top: 18vh; text-align: center; font: 400 clamp(6rem, 22vw, 18rem)/1 var(--serif); color: var(--ink); pointer-events: none; }

/* ---------- chrome ---------- */
.top { position: absolute; top: 0; left: 0; right: 0; z-index: 10; display: flex; justify-content: space-between; align-items: center; padding: 1.3rem 1.6rem; }
.brand { display: inline-flex; align-items: center; gap: 0.55rem; font: 600 1rem var(--sans); letter-spacing: -0.01em; }
.nav { display: flex; gap: 0.45rem; font: 500 0.82rem var(--sans); }
.nav a { padding: 0.5em 1em; border-radius: 999px; background: var(--soft); color: var(--soft-ink); transition: background 0.2s, color 0.2s; }
.nav a:last-child { background: var(--ink); color: var(--paper); }
.nav a:hover { background: var(--accent); color: var(--paper); }

/* ---------- layout: bar sits under the engraved word, then rises when results open ---------- */
.main { position: relative; z-index: 1; width: min(40rem, 100% - 2rem); margin: 0 auto; padding-top: 58vh; padding-bottom: 4rem; transition: padding-top 0.8s var(--ease); }
body.has-results .main { padding-top: 6.5rem; }

.kicker { display: inline-block; font: 500 0.7rem var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.7rem; }

/* ---------- the ask bar ---------- */
.bar { position: relative; display: flex; align-items: center; gap: 0.35rem; background: var(--card); border: 1px solid var(--border); border-radius: 999px; padding: 0 0.45rem 0 0; transition: border-color 0.25s, box-shadow 0.35s var(--ease), transform 0.35s var(--ease); }
.bar:focus-within { border-color: #4a4840; box-shadow: 0 10px 34px rgba(0, 0, 0, 0.07), 0 0 0 4px rgba(255, 106, 43, 0.35); }
.bar.is-stamp { animation: stamp 0.6s var(--ease); }
@keyframes stamp { 25% { transform: scale(0.985); box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06), 0 0 0 8px rgba(255, 106, 43, 0.5); } }
.bar input, .ghost { font: 400 1.05rem/1.4 var(--sans); letter-spacing: -0.005em; padding: 1rem 1.4rem; white-space: pre; }
.bar input { flex: 1; min-width: 0; background: transparent; border: 0; outline: 0; color: var(--ink); caret-color: var(--ink); position: relative; z-index: 1; }
.bar input.is-untyping { color: transparent; caret-color: transparent; }
.ghost { position: absolute; left: 0; top: 0; right: 3.6rem; overflow: hidden; pointer-events: none; color: transparent; }
.ghost .typed.is-untyping { color: var(--ink); }
.ghost .rest { color: var(--faint); }
.ghost .rest.is-hint { color: var(--muted); opacity: 0.75; }

.ghost .rest.is-new { animation: ghostIn 0.25s var(--ease); }
@keyframes ghostIn { from { opacity: 0; filter: blur(2px); } }
.ghost .caret { display: inline-block; width: 1px; height: 1.15em; background: var(--ink); vertical-align: -0.2em; animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.bar input.is-accepted { animation: accepted 0.45s var(--ease); }
@keyframes accepted { 0% { text-shadow: 0 0 0 var(--accent); background: linear-gradient(90deg, rgba(255, 106, 43, 0.45), transparent) no-repeat; } }
.key { flex: none; font: 500 0.72rem var(--sans); color: var(--soft-ink); background: var(--soft); border-radius: 999px; padding: 0.55em 0.95em; transition: background 0.2s, color 0.2s, opacity 0.25s, transform 0.2s var(--spring); position: relative; z-index: 1; }
.key[type="submit"] { background: var(--ink); color: var(--paper); }
.key:hover, .key:focus-visible { background: var(--accent); color: var(--paper); outline: 0; }
.key:active { transform: scale(0.95); }
.hint { display: table; margin: 0.85rem 0 0 0.8rem; padding: 0.2rem 0.6rem; border-radius: 999px; background: var(--paper); font: 0.8rem var(--sans); color: var(--muted); }
.k { display: inline-block; padding: 0 0.45em; border-radius: 6px; color: var(--soft-ink); background: var(--soft); font: 500 0.72rem/1.6 var(--sans); }

.chips { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 0.9rem; padding-left: 1rem; }
.chips-label { font: 0.8rem var(--sans); color: var(--muted); align-self: center; margin-right: 0.2rem; }
.chip { font: 500 0.82rem var(--sans); border-radius: 999px; background: var(--soft); color: var(--soft-ink); padding: 0.45em 1em; animation: pop 0.4s var(--spring) both; transition: background 0.2s, transform 0.2s var(--spring); }
.chip:nth-child(2) { animation-delay: 0.04s; } .chip:nth-child(3) { animation-delay: 0.08s; } .chip:nth-child(n + 4) { animation-delay: 0.12s; }
.chip:hover, .chip:focus-visible { background: var(--accent); color: var(--paper); transform: translateY(-1px); outline: 0; }
.chip .k { margin-right: 0.35em; background: var(--card); }
@keyframes pop { from { opacity: 0; transform: scale(0.9) translateY(6px); } }

/* ---------- pinned ---------- */
.pinned { margin-top: 1.6rem; }
body.has-results .pinned { display: none; }
.pinned-label { display: inline-block; font: 500 0.7rem var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); background: var(--paper); border-radius: 999px; padding: 0.2rem 0.7rem; margin: 0 0 0.5rem 0.8rem; }
.pins { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.8rem; }
/* a soft dithered frame that fades inward, drawn by src/tiledither.js on a canvas behind the text; hover thickens it and turns it orange */
.pin { position: relative; display: grid; align-content: start; gap: 0.15rem; text-align: left; padding: 1.15rem 1.3rem 1.2rem; isolation: isolate;
  background: var(--paper); box-shadow: 0 0 0 8px var(--paper); animation: reveal 0.6s var(--ease) both; animation-delay: calc(0.4s + var(--i) * 70ms); }
.pin:focus-visible { outline: 0; }
.pin-dots { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; image-rendering: pixelated; }
.pin-kicker { font: 500 0.66rem "Geist Mono", monospace; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.pin-title { font: italic 400 1.9rem/1.05 var(--serif); letter-spacing: -0.005em; }

/* ---------- results ---------- */
.results { margin-top: 2.4rem; scroll-margin-top: 5rem; }
.results-head .act.is-soft { background: var(--paper); }
.results-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.results-title { font: 600 1.6rem/1.1 var(--sans); letter-spacing: -0.02em; }
.results-title .ch { display: inline-block; animation: letter 0.55s var(--ease) both; animation-delay: calc(var(--i) * 22ms); white-space: pre; }
@keyframes letter { from { opacity: 0; transform: translateY(0.45em); filter: blur(3px); } }
.results.is-single .results-head { justify-content: flex-end; }
.results.is-single .results-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.answer { margin: 0 0 1rem; padding: 1rem 1.3rem; position: relative; font: 400 1.05rem/1.5 var(--sans); color: var(--ink); background: var(--card); border: 1px solid var(--border); border-radius: 20px; animation: pop 0.4s var(--spring) both; }
.turns { display: grid; gap: 0.8rem; }
.turn-q { margin: 0; font: 500 0.9rem/1.4 var(--sans); color: var(--muted); }
.turn-a { margin: 0; }
.turn + .turn { padding-top: 0.8rem; border-top: 1px solid var(--border); animation: pop 0.4s var(--spring) both; }
.follow { display: flex; gap: 0.5rem; align-items: center; margin-top: 0.9rem; padding: 0.3rem 0.3rem 0.3rem 1rem; background: var(--paper); border: 1px solid var(--border); border-radius: 999px; transition: border-color 0.2s, box-shadow 0.2s; }
.follow:focus-within { border-color: var(--ink); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 55%, transparent); }
.follow input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: 400 0.95rem/1.4 var(--sans); color: var(--ink); }
.follow input::placeholder { color: var(--muted); }
.follow .key { cursor: pointer; }
.turn-a:not(.is-done)::after { content: ""; display: inline-block; width: 2px; height: 1.05em; margin-left: 2px; background: var(--ink); vertical-align: -0.15em; animation: caret 0.8s steps(1) infinite; }
.cards { display: grid; gap: 1rem; }
.card { position: relative; min-width: 0; padding: 1.5rem 1.6rem; background: var(--card); border: 1px solid var(--border); border-radius: 22px; animation: deal 0.7s var(--ease) both; animation-delay: calc(0.1s + var(--i, 0) * 60ms); transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease); }
.card:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.07); }
@keyframes deal { from { opacity: 0; transform: translateY(26px) scale(0.98); filter: blur(4px); } }
.card h3 { font: 600 1.75rem/1.1 var(--sans); letter-spacing: -0.025em; margin-bottom: 0.45rem; }
.card p { color: var(--soft-ink); max-width: 34rem; }
.card .kicker { margin-bottom: 0.55rem; }
.card .tags { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-top: 1rem; }
.card .tags span { font: 500 0.72rem var(--sans); color: var(--soft-ink); background: var(--soft); border-radius: 999px; padding: 0.3em 0.8em; }
.card .list { list-style: none; display: grid; gap: 0.4rem; margin-top: 0.4rem; }
.card .list li { font: 500 1.2rem/1.2 var(--sans); letter-spacing: -0.01em; display: flex; align-items: center; gap: 0.6rem; }
.card .list li::before { content: "—"; color: var(--muted); font-weight: 400; flex: none; }
.fig { margin-top: 1rem; max-width: 20rem; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; background: #fff; transition: transform 0.4s var(--ease); }
.fig:hover { transform: scale(1.02); }
.fig img { display: block; width: 100%; }
.fig figcaption { font: 0.72rem var(--sans); color: var(--muted); padding: 0.5rem 0.75rem; border-top: 1px solid var(--border); }
/* a row of screenshots that scrolls sideways; each opens full size in a new tab */
.gallery { display: flex; gap: 0.75rem; margin: 1rem -1.6rem 0; padding: 0 1.6rem 0.4rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 1.6rem; scrollbar-width: thin; }
.gallery .fig { flex: 0 0 min(22rem, 78%); max-width: none; margin: 0; scroll-snap-align: start; background: var(--paper); }
.gallery .fig img { aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.acts { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 1.2rem; align-items: center; }
.act { display: inline-flex; align-items: center; font: 500 0.84rem var(--sans); border-radius: 999px; padding: 0.55em 1.1em; background: var(--ink); color: var(--paper); transition: background 0.2s, color 0.2s, transform 0.2s var(--spring); }
.act:hover { background: var(--accent); color: var(--paper); }
.act:active { transform: scale(0.96); }
.acts .act + .act { background: var(--soft); color: var(--soft-ink); }
.acts .act + .act:hover { background: var(--accent); color: var(--paper); }
.act.is-soft { background: transparent; color: var(--muted); padding: 0.3em 0.5em; }
.act.is-soft:hover { background: transparent; color: var(--ink); }

.foot { display: table; margin: 3rem auto 0; padding: 0.3rem 0.9rem; border-radius: 999px; background: var(--paper); font: 0.8rem var(--sans); color: var(--muted); text-align: center; }
.foot .act { font-size: 0.8rem; }
.noscript { margin-top: 2rem; display: grid; gap: 1rem; }

a:focus-visible, button:focus-visible, .act:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ---------- small screens ---------- */
@media (max-width: 700px) {
  .top { padding: 1rem; }
  .nav { font-size: 0.76rem; }
  .main { padding-top: 46vh; }
  body.has-results .main { padding-top: 5rem; }
  .bar input, .ghost { font-size: 1rem; padding: 0.9rem 1.1rem; }
  .ghost { right: 3.4rem; }
  .card { padding: 1.25rem 1.2rem; border-radius: 18px; }
  .gallery { margin-inline: -1.2rem; padding-inline: 1.2rem; scroll-padding: 0 1.2rem; }
    .hint .opt { display: none; }
  .pins { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- intro: only the prompt box, asking who you are ---------- */
body.is-intro .ask .hint, body.is-intro .ask .chips, body.is-intro .pinned, body.is-intro .foot, body.is-intro .crowd { display: none; }
body.is-intro .ghost .rest.is-hint::before { content: "who are you? "; color: var(--ink); opacity: 1; }
body.is-intro .ghost .rest.is-hint { opacity: 0.9; }
body.is-revealing .pinned, body.is-revealing .foot, body.is-revealing .crowd, body.is-revealing .ask .hint { animation: reveal 0.9s var(--ease) both; }
body.is-revealing .foot { animation-delay: 0.25s; } body.is-revealing .crowd { animation-delay: 0.35s; }
@keyframes reveal { from { opacity: 0; transform: translateY(14px); filter: blur(4px); } }
.change { margin-left: 0.5rem; font: inherit; letter-spacing: inherit; text-transform: inherit; color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.pin-sub { font: 400 0.8rem/1.35 var(--sans); color: #a8a498; margin-top: 0.25rem; text-wrap: balance; }
.tease { display: table; margin: 1rem auto 0; padding: 0.3rem 0.9rem; border-radius: 999px; background: var(--paper); font: 500 0.82rem var(--sans); color: var(--soft-ink); transition: background 0.2s, transform 0.25s var(--spring); }
.tease:hover { background: var(--accent); color: var(--paper); transform: translateY(2px); }

/* ---------- who's been here ---------- */
.crowd { margin-top: 5rem; padding: 1.6rem; background: var(--card); border: 1px solid var(--border); border-radius: 24px; scroll-margin-top: 2rem; }
body.has-results .crowd { margin-top: 3rem; }
.crowd-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.4rem; }
.crowd-title { font: 400 2rem/1 "Instrument Serif", serif; letter-spacing: -0.01em; }
.sample { font: 500 0.7rem var(--sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); background: var(--soft); border-radius: 999px; padding: 0.3rem 0.7rem; }
.chart { margin: 0; }
.chart figcaption { display: flex; justify-content: space-between; }
.drag-hint { letter-spacing: 0.04em; text-transform: none; color: var(--muted); opacity: 0.8; }
.chart-roles { margin-top: 2rem; }
.readout { font: 400 0.85rem var(--mono); color: var(--muted); margin: -0.2rem 0 0.6rem; min-height: 1.3em; }
.readout b { font: 400 1.6rem/1 var(--serif); color: var(--accent); margin-right: 0.3rem; }
.cols { cursor: grab; touch-action: pan-y; user-select: none; outline: 0; border-radius: 6px; }
.cols.is-dragging { cursor: grabbing; }
.cols:focus-visible { box-shadow: 0 0 0 2px var(--accent); }
.row { cursor: default; border-radius: 6px; outline: 0; transition: color 0.2s; }
.row.is-lit { color: var(--accent); }
.row em { font-style: normal; font: 500 0.66rem var(--sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--paper); background: var(--accent); border-radius: 999px; padding: 0.05rem 0.4rem; margin-left: 0.3rem; }
.wall-q { display: block; }
.chart figcaption, .wall-q { font: 500 0.7rem var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.8rem; }
.rows { display: grid; gap: 0.45rem; }
.row { display: grid; grid-template-columns: 11rem 1fr 2.6rem; align-items: center; gap: 0.6rem; font: 400 0.8rem var(--sans); color: var(--soft-ink); }
.row.is-you { color: var(--ink); font-weight: 600; }
.row-bar { width: 100%; height: 0.9rem; display: block; }
.row-n { text-align: right; font-family: "Geist Mono", monospace; color: var(--muted); }
.cols { width: 100%; height: 12rem; display: block; }
.cols-axis { display: flex; justify-content: space-between; font: 400 0.72rem "Geist Mono", monospace; color: var(--muted); margin-top: 0.4rem; }
.wall { margin-top: 2rem; padding-top: 1.6rem; border-top: 1px solid var(--border); }
.wall-bar { display: flex; gap: 0.5rem; align-items: center; padding: 0.3rem 0.3rem 0.3rem 1rem; background: var(--paper); border: 1px solid var(--border); border-radius: 999px; transition: border-color 0.2s, box-shadow 0.2s; }
.wall-bar .key { background: var(--ink); color: var(--paper); cursor: pointer; }
.wall-bar:focus-within { border-color: var(--ink); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 45%, transparent); }
.wall-bar input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: 400 0.95rem/1.4 var(--sans); color: var(--ink); }
.wall-bar input::placeholder { color: var(--muted); }
.wall-note { min-height: 1.2em; margin: 0.4rem 0 0 1rem; font: 0.8rem var(--sans); color: var(--muted); }
.posts { list-style: none; margin: 0.6rem 0 0; padding: 0; display: grid; gap: 0.2rem; }
.post { display: grid; grid-template-columns: 9.5rem 1fr auto; gap: 0.8rem; align-items: baseline; padding: 0.55rem 0.2rem; border-bottom: 1px dashed var(--border); font: 400 0.92rem/1.35 var(--sans); animation: pop 0.4s var(--spring) both; }
.post-role { font: 500 0.72rem var(--sans); color: var(--muted); }
.post-t { font: 400 0.72rem "Geist Mono", monospace; color: var(--muted); }
.post.is-you .post-text { justify-self: start; color: var(--accent); }

@media (max-width: 700px) {
  .crowd { padding: 1.2rem; margin-top: 3.5rem; }
  .row { grid-template-columns: 8.5rem 1fr 2.4rem; font-size: 0.74rem; }
  .post { grid-template-columns: 1fr auto; } .post-role { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) { body.is-revealing * , .post { animation: none !important; } }

/* ---------- the enter button: orange dither dots fill it from left to right on hover (src/fill.js draws the dots) ---------- */
.key.fill { --h: 2.1rem; width: 3.4rem; height: var(--h); padding: 0; overflow: hidden; isolation: isolate; cursor: pointer;
  background: var(--ink) !important; color: var(--paper) !important; }
.key.fill-wide { width: 4.6rem; }
.fill-dots { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; display: block; }
.fill-label { position: absolute; inset: 0; display: grid; place-items: center; font: 500 0.78rem var(--sans); letter-spacing: 0.01em; }
.fill-front, .fill-back { grid-area: 1 / 1; transition: opacity 0.25s var(--ease), transform 0.35s var(--ease); }
.fill-front { font-size: 0.95rem; }
.fill-wide .fill-front { font-size: 0.78rem; }
.fill-back { opacity: 0; transform: translateX(-0.4em); font-weight: 600; }
.key.fill.is-filled .fill-front { opacity: 0; transform: translateX(0.4em); }
.key.fill.is-filled .fill-back { opacity: 1; transform: none; }
.key.fill:active { transform: scale(0.94); }
@media (max-width: 700px) { .key.fill { --h: 2.3rem; width: 3.6rem; } }

/* the cursor's dither trail, under the cursor and over everything else */
.trail { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 99; pointer-events: none; opacity: 0.85; }

/* ---------- the cursor: chunky pixel art, drawn as real system cursors so it never lags (pixel grids at 2px per pixel) ---------- */
html { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='28' viewBox='0 0 10 14' shape-rendering='crispEdges'%3E%3Cpath fill='%230e0e0c' d='M0 0h1v1h-1zM0 1h1v1h-1zM0 2h1v1h-1zM0 3h1v1h-1zM0 4h1v1h-1zM0 5h1v1h-1zM0 6h1v1h-1zM0 7h1v1h-1zM0 8h1v1h-1zM0 9h1v1h-1zM0 10h1v1h-1zM0 11h1v1h-1zM1 0h1v1h-1zM1 11h1v1h-1zM2 0h1v1h-1zM2 1h1v1h-1zM2 10h1v1h-1zM2 11h1v1h-1zM3 1h1v1h-1zM3 2h1v1h-1zM3 11h1v1h-1zM3 12h1v1h-1zM3 13h1v1h-1zM4 2h1v1h-1zM4 3h1v1h-1zM4 13h1v1h-1zM5 3h1v1h-1zM5 4h1v1h-1zM5 9h1v1h-1zM5 10h1v1h-1zM5 13h1v1h-1zM6 4h1v1h-1zM6 5h1v1h-1zM6 9h1v1h-1zM6 10h1v1h-1zM6 11h1v1h-1zM6 12h1v1h-1zM6 13h1v1h-1zM7 5h1v1h-1zM7 6h1v1h-1zM7 9h1v1h-1zM8 6h1v1h-1zM8 7h1v1h-1zM8 9h1v1h-1zM9 7h1v1h-1zM9 8h1v1h-1zM9 9h1v1h-1z'/%3E%3Cpath fill='%23ece8de' d='M1 1h1v1h-1zM1 2h1v1h-1zM1 3h1v1h-1zM1 4h1v1h-1zM1 5h1v1h-1zM1 6h1v1h-1zM1 7h1v1h-1zM1 8h1v1h-1zM1 9h1v1h-1zM1 10h1v1h-1zM2 2h1v1h-1zM2 3h1v1h-1zM2 4h1v1h-1zM2 5h1v1h-1zM2 6h1v1h-1zM2 7h1v1h-1zM2 8h1v1h-1zM2 9h1v1h-1zM3 3h1v1h-1zM3 4h1v1h-1zM3 5h1v1h-1zM3 6h1v1h-1zM3 7h1v1h-1zM3 8h1v1h-1zM3 9h1v1h-1zM3 10h1v1h-1zM4 4h1v1h-1zM4 5h1v1h-1zM4 6h1v1h-1zM4 7h1v1h-1zM4 8h1v1h-1zM4 9h1v1h-1zM4 10h1v1h-1zM4 11h1v1h-1zM4 12h1v1h-1zM5 5h1v1h-1zM5 6h1v1h-1zM5 7h1v1h-1zM5 8h1v1h-1zM5 11h1v1h-1zM5 12h1v1h-1zM6 6h1v1h-1zM6 7h1v1h-1zM6 8h1v1h-1zM7 7h1v1h-1zM7 8h1v1h-1zM8 8h1v1h-1z'/%3E%3C/svg%3E") 2 2, auto; }
a, button, [data-pin], .row, label, summary { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='28' viewBox='0 0 10 14' shape-rendering='crispEdges'%3E%3Cpath fill='%230e0e0c' d='M0 0h1v1h-1zM0 1h1v1h-1zM0 2h1v1h-1zM0 3h1v1h-1zM0 4h1v1h-1zM0 5h1v1h-1zM0 6h1v1h-1zM0 7h1v1h-1zM0 8h1v1h-1zM0 9h1v1h-1zM0 10h1v1h-1zM0 11h1v1h-1zM1 0h1v1h-1zM1 11h1v1h-1zM2 0h1v1h-1zM2 1h1v1h-1zM2 10h1v1h-1zM2 11h1v1h-1zM3 1h1v1h-1zM3 2h1v1h-1zM3 11h1v1h-1zM3 12h1v1h-1zM3 13h1v1h-1zM4 2h1v1h-1zM4 3h1v1h-1zM4 13h1v1h-1zM5 3h1v1h-1zM5 4h1v1h-1zM5 9h1v1h-1zM5 10h1v1h-1zM5 13h1v1h-1zM6 4h1v1h-1zM6 5h1v1h-1zM6 9h1v1h-1zM6 10h1v1h-1zM6 11h1v1h-1zM6 12h1v1h-1zM6 13h1v1h-1zM7 5h1v1h-1zM7 6h1v1h-1zM7 9h1v1h-1zM8 6h1v1h-1zM8 7h1v1h-1zM8 9h1v1h-1zM9 7h1v1h-1zM9 8h1v1h-1zM9 9h1v1h-1z'/%3E%3Cpath fill='%23ff6a2b' d='M1 1h1v1h-1zM1 2h1v1h-1zM1 3h1v1h-1zM1 4h1v1h-1zM1 5h1v1h-1zM1 6h1v1h-1zM1 7h1v1h-1zM1 8h1v1h-1zM1 9h1v1h-1zM1 10h1v1h-1zM2 2h1v1h-1zM2 3h1v1h-1zM2 4h1v1h-1zM2 5h1v1h-1zM2 6h1v1h-1zM2 7h1v1h-1zM2 8h1v1h-1zM2 9h1v1h-1zM3 3h1v1h-1zM3 4h1v1h-1zM3 5h1v1h-1zM3 6h1v1h-1zM3 7h1v1h-1zM3 8h1v1h-1zM3 9h1v1h-1zM3 10h1v1h-1zM4 4h1v1h-1zM4 5h1v1h-1zM4 6h1v1h-1zM4 7h1v1h-1zM4 8h1v1h-1zM4 9h1v1h-1zM4 10h1v1h-1zM4 11h1v1h-1zM4 12h1v1h-1zM5 5h1v1h-1zM5 6h1v1h-1zM5 7h1v1h-1zM5 8h1v1h-1zM5 11h1v1h-1zM5 12h1v1h-1zM6 6h1v1h-1zM6 7h1v1h-1zM6 8h1v1h-1zM7 7h1v1h-1zM7 8h1v1h-1zM8 8h1v1h-1z'/%3E%3C/svg%3E") 2 2, pointer !important; }
input, textarea { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='28' viewBox='0 0 7 14' shape-rendering='crispEdges'%3E%3Cpath fill='%230e0e0c' d='M0 0h1v1h-1zM0 1h1v1h-1zM0 2h1v1h-1zM0 11h1v1h-1zM0 12h1v1h-1zM0 13h1v1h-1zM1 0h1v1h-1zM1 2h1v1h-1zM1 11h1v1h-1zM1 13h1v1h-1zM2 0h1v1h-1zM2 2h1v1h-1zM2 3h1v1h-1zM2 4h1v1h-1zM2 5h1v1h-1zM2 6h1v1h-1zM2 7h1v1h-1zM2 8h1v1h-1zM2 9h1v1h-1zM2 10h1v1h-1zM2 11h1v1h-1zM2 13h1v1h-1zM3 0h1v1h-1zM3 1h1v1h-1zM3 12h1v1h-1zM3 13h1v1h-1zM4 0h1v1h-1zM4 2h1v1h-1zM4 3h1v1h-1zM4 4h1v1h-1zM4 5h1v1h-1zM4 6h1v1h-1zM4 7h1v1h-1zM4 8h1v1h-1zM4 9h1v1h-1zM4 10h1v1h-1zM4 11h1v1h-1zM4 13h1v1h-1zM5 0h1v1h-1zM5 2h1v1h-1zM5 11h1v1h-1zM5 13h1v1h-1zM6 0h1v1h-1zM6 1h1v1h-1zM6 2h1v1h-1zM6 11h1v1h-1zM6 12h1v1h-1zM6 13h1v1h-1z'/%3E%3Cpath fill='%23ece8de' d='M1 1h1v1h-1zM1 12h1v1h-1zM2 1h1v1h-1zM2 12h1v1h-1zM3 2h1v1h-1zM3 3h1v1h-1zM3 4h1v1h-1zM3 5h1v1h-1zM3 6h1v1h-1zM3 7h1v1h-1zM3 8h1v1h-1zM3 9h1v1h-1zM3 10h1v1h-1zM3 11h1v1h-1zM4 1h1v1h-1zM4 12h1v1h-1zM5 1h1v1h-1zM5 12h1v1h-1z'/%3E%3C/svg%3E") 7 14, text !important; }
.cols { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='14' viewBox='0 0 11 7' shape-rendering='crispEdges'%3E%3Cpath fill='%230e0e0c' d='M0 1h1v1h-1zM0 2h1v1h-1zM0 3h1v1h-1zM0 4h1v1h-1zM0 5h1v1h-1zM1 0h1v1h-1zM1 1h1v1h-1zM1 5h1v1h-1zM1 6h1v1h-1zM2 0h1v1h-1zM2 6h1v1h-1zM3 0h1v1h-1zM3 1h1v1h-1zM3 2h1v1h-1zM3 4h1v1h-1zM3 5h1v1h-1zM3 6h1v1h-1zM4 2h1v1h-1zM4 4h1v1h-1zM5 2h1v1h-1zM5 4h1v1h-1zM6 2h1v1h-1zM6 4h1v1h-1zM7 0h1v1h-1zM7 1h1v1h-1zM7 2h1v1h-1zM7 4h1v1h-1zM7 5h1v1h-1zM7 6h1v1h-1zM8 0h1v1h-1zM8 6h1v1h-1zM9 0h1v1h-1zM9 1h1v1h-1zM9 5h1v1h-1zM9 6h1v1h-1zM10 1h1v1h-1zM10 2h1v1h-1zM10 3h1v1h-1zM10 4h1v1h-1zM10 5h1v1h-1z'/%3E%3Cpath fill='%23ece8de' d='M1 2h1v1h-1zM1 3h1v1h-1zM1 4h1v1h-1zM2 1h1v1h-1zM2 2h1v1h-1zM2 3h1v1h-1zM2 4h1v1h-1zM2 5h1v1h-1zM3 3h1v1h-1zM4 3h1v1h-1zM5 3h1v1h-1zM6 3h1v1h-1zM7 3h1v1h-1zM8 1h1v1h-1zM8 2h1v1h-1zM8 3h1v1h-1zM8 4h1v1h-1zM8 5h1v1h-1zM9 2h1v1h-1zM9 3h1v1h-1zM9 4h1v1h-1z'/%3E%3C/svg%3E") 11 7, grab !important; }
.cols.is-dragging { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='14' viewBox='0 0 11 7' shape-rendering='crispEdges'%3E%3Cpath fill='%230e0e0c' d='M0 1h1v1h-1zM0 2h1v1h-1zM0 3h1v1h-1zM0 4h1v1h-1zM0 5h1v1h-1zM1 0h1v1h-1zM1 1h1v1h-1zM1 5h1v1h-1zM1 6h1v1h-1zM2 0h1v1h-1zM2 6h1v1h-1zM3 0h1v1h-1zM3 1h1v1h-1zM3 2h1v1h-1zM3 4h1v1h-1zM3 5h1v1h-1zM3 6h1v1h-1zM4 2h1v1h-1zM4 4h1v1h-1zM5 2h1v1h-1zM5 4h1v1h-1zM6 2h1v1h-1zM6 4h1v1h-1zM7 0h1v1h-1zM7 1h1v1h-1zM7 2h1v1h-1zM7 4h1v1h-1zM7 5h1v1h-1zM7 6h1v1h-1zM8 0h1v1h-1zM8 6h1v1h-1zM9 0h1v1h-1zM9 1h1v1h-1zM9 5h1v1h-1zM9 6h1v1h-1zM10 1h1v1h-1zM10 2h1v1h-1zM10 3h1v1h-1zM10 4h1v1h-1zM10 5h1v1h-1z'/%3E%3Cpath fill='%23ff6a2b' d='M1 2h1v1h-1zM1 3h1v1h-1zM1 4h1v1h-1zM2 1h1v1h-1zM2 2h1v1h-1zM2 3h1v1h-1zM2 4h1v1h-1zM2 5h1v1h-1zM3 3h1v1h-1zM4 3h1v1h-1zM5 3h1v1h-1zM6 3h1v1h-1zM7 3h1v1h-1zM8 1h1v1h-1zM8 2h1v1h-1zM8 3h1v1h-1zM8 4h1v1h-1zM8 5h1v1h-1zM9 2h1v1h-1zM9 3h1v1h-1zM9 4h1v1h-1z'/%3E%3C/svg%3E") 11 7, grabbing !important; }
@media (prefers-reduced-motion: reduce) { .fill-front, .fill-back { transition: none; } }

/* ---------- the opening sequence (src/boot.js) ---------- */
.boot { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 200; pointer-events: none; image-rendering: pixelated; transition: opacity 0.5s var(--ease); }
.boot.is-gone { opacity: 0; pointer-events: none; }
html.is-booting body { overflow: hidden; background: var(--paper); }
html.is-booting body > :not(.boot) { visibility: hidden; }   /* set before first paint, so the page never flashes under it */
