/* haiku board · sumi paper + Pebble-chunky pixel UI
   UI type: ChiKareGo2 (Chicago homage) and FindersKeepers (Geneva 9 homage) by Giles Booth, both CC BY (attribution required),
   via bitfontmaker2. Both are pixel-exact at multiples of 16px, so they are only used at 16 / 32 / 48px. */
@font-face { font-family: 'ChiKareGo2'; src: url(../assets/fonts/ChiKareGo2.ttf) format('truetype'); font-display: block; }
@font-face { font-family: 'FindersKeepers'; src: url(../assets/fonts/FindersKeepers.ttf) format('truetype'); font-display: block; }
:root {
  --paper: #f4ecda; --paper-hi: #fffaf0; --ink: #1a181c; --ink-2: #2a2830; --mist: #8a8590;
  --blue: #3f6fb5; --red: #d9432f; --gold: #e2a72e; --green: #3e9a52; --sakura: #e889a6;
  --px: 4px;                                  /* the "pixel" unit for borders & shadows */
  --ui: 'ChiKareGo2', 'DotGothic16', monospace;
  --small: 'FindersKeepers', 'ChiKareGo2', monospace;
  --text: 'DotGothic16', 'Silkscreen', monospace;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  -webkit-font-smoothing: none; font-smooth: never;
  margin: 0; min-height: 100dvh; color: var(--ink); font-family: var(--text);
  background: var(--paper) url(../assets/paper.png) repeat; background-size: 192px;
  image-rendering: pixelated; overflow-x: hidden; position: relative;
  -webkit-tap-highlight-color: transparent;
}
button { font: inherit; color: inherit; }

/* round 15.12h: iOS long-press was selecting the whole board (Copy / Look Up / Translate, a blue wash
   over the scroll) because only .poem opted out, and -webkit-touch-callout is not inherited.
   A hold that opens the reaction picker must not also start a page selection. Compose fields opt
   back in so the caret, selection, and paste callout still work. Poem tap-to-copy and the
   contact@ address stay on their own clipboard path; they are not a native selection. */
*:not(input):not(textarea) {
  -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; -webkit-user-drag: none;
}
input, textarea, [contenteditable="true"] {
  -webkit-user-select: text; user-select: text; -webkit-touch-callout: default;
}

/* ---------- infinite sumi background ---------- */
#ink-layer { position: absolute; top: 0; left: 50%; width: min(100vw, 860px); transform: translateX(-50%); pointer-events: none; z-index: 0; overflow: hidden; }
.ink-tile { position: absolute; image-rendering: pixelated; user-select: none; }


main { position: relative; z-index: 1; max-width: 480px; margin: 0 auto; padding: calc(4px + env(safe-area-inset-top)) 14px 110px; }

/* ---------- chunky pixel box: notched corners via stacked shadows ---------- */
.pixbox {
  background: var(--paper-hi);
  box-shadow:
    0 calc(-1 * var(--px)) 0 0 var(--ink), 0 var(--px) 0 0 var(--ink),
    calc(-1 * var(--px)) 0 0 0 var(--ink), var(--px) 0 0 0 var(--ink),
    calc(2 * var(--px)) calc(2 * var(--px)) 0 0 rgba(26,24,28,.88);
}

/* ---------- noren header (src/noren.js): one little flag per character of haiku.ooo, with a hidden egg ---------- */
.noren-head { --nh: calc(min(390px, 100vw) * 36 / 130); position: relative; margin: 0 -14px; padding: calc(var(--nh) + 8px) 0 14px; }   /* round 14.5: the © / credits row and the Japanese name flow under the curtains (the row may wrap) */
.noren-cv { position: absolute; left: 50%; top: 0; width: min(390px, 100%); aspect-ratio: 130 / 36; transform: translateX(-50%); z-index: 2;
  image-rendering: pixelated; touch-action: pan-y; cursor: grab; -webkit-tap-highlight-color: transparent; user-select: none; }
/* the Japanese name sits just under the hems */
.noren-head .jp { position: relative; margin: 4px 0 0; z-index: 1; text-align: center;
  font: 400 18px/1 var(--text); letter-spacing: 6px; color: #4a4550; }
.small { font: 400 16px/1.25 var(--small); color: #4a4550; margin: 6px auto 0; max-width: 320px; }
@keyframes bob { 50% { transform: translateY(-3px); } }

/* ---------- the chain (Pebble timeline) ---------- */
#chain { list-style: none; margin: 0; padding: 0; position: relative; }
#chain::before { content: ''; position: absolute; left: 25px; top: -20px; bottom: -20px; width: 4px;
  background: repeating-linear-gradient(to bottom, var(--ink) 0 8px, transparent 8px 16px); opacity: .85; }
.post { position: relative; padding: 0 0 26px 62px; transform-origin: 50% 0; }
.pin { position: absolute; left: 6px; top: 8px; width: 42px; height: 42px; display: grid; place-items: center; background: var(--paper-hi);
  box-shadow: 0 -3px 0 0 var(--ink), 0 3px 0 0 var(--ink), -3px 0 0 0 var(--ink), 3px 0 0 0 var(--ink), 4px 4px 0 1px rgba(26,24,28,.85); z-index: 2; }
.pin .px-icon { display: block; animation: bob 2.2s steps(2) infinite; }
.post:nth-child(3n+1) .pin .px-icon { animation-delay: .5s; } .post:nth-child(3n+2) .pin .px-icon { animation-delay: 1.1s; }
.card { position: relative; padding: 14px 12px 12px 14px; transform-origin: 0 50%; will-change: transform; }
.card::before { /* little pointer from card to the pin */
  content: ''; position: absolute; left: -14px; top: 22px; width: 10px; height: 4px; background: var(--ink); }
.haiku { margin: 0; padding-right: 0; font-size: 16px; line-height: 1.7; letter-spacing: 0; }
.haiku span { display: block; padding-left: 1em; text-indent: -1em; }
.haiku span:nth-child(2) { padding-left: calc(1em + 10px); } .haiku span:nth-child(3) { padding-left: calc(1em + 20px); }
.meta { display: flex; gap: 8px; align-items: center; margin-top: 10px; font: 400 16px var(--small); color: #6b6570; text-transform: lowercase; }
.meta .num { color: var(--ink); font-weight: 700; }
.meta .who.you { color: var(--paper-hi); background: var(--blue); padding: 1px 5px; }
.meta .who.sample { border: 1px dashed #8a8590; padding: 0 4px; }
.hanko { position: absolute; right: 8px; bottom: 8px; width: 30px; height: 30px; display: grid; place-items: center;
  font: 400 10px/1 var(--text); color: var(--red); writing-mode: vertical-rl; letter-spacing: -1px;
  box-shadow: inset 0 0 0 3px var(--red); opacity: .85; }
.post.mine .card { background: #fff6e2; }
.post.fresh .card { background: #fff3c9; transition: background 2.5s steps(6); }

/* round 15.10g (t222u): the end of the board, only once the feed is done (sentinel.end); Japanese over English, then inquiries */
.scroll-end { display: none; text-align: center; padding: 34px 0 96px; position: relative; }   /* (bottom room: at the very end it sits clear above Inky's float line) */
.feed-more.end ~ .scroll-end { display: block; }
.scroll-end p { margin: 0; }
/* round 15.10g3 (t227u): the whole end block speaks in the © row's voice: FindersKeepers, same --crfs ramp, sumi grey, word-spacing.
   FindersKeepers has no kana, so .end-jp leads with it and falls back to DotGothic16 for おわり.
   15.10g4 (t228u): no trailing periods (。/.) so the ink is centred, and no word-spacing on the one-word JP line. */
.scroll-end { --crfs: clamp(16px, calc((100vw - 16px) / 16.3), 22px); }
.scroll-end .end-jp { font: 400 var(--crfs)/1 'FindersKeepers', 'DotGothic16', monospace; letter-spacing: normal; word-spacing: 0; color: #6b6670; }
.scroll-end .end-en { margin-top: 8px; font: 400 var(--crfs)/1 var(--small); letter-spacing: normal; word-spacing: 3px; color: #6b6670; }
/* round 15.10g2 (t226u): the inquiries line is plain text in the © row's voice (FindersKeepers, sumi grey, same size ramp), no box;
   the address is an inline link that shares the run's font + baseline, with the Credits shine and a >= 44 px invisible hit area */
.scroll-end .end-mail { --crfs: clamp(16px, calc((100vw - 16px) / 16.3), 22px); margin-top: 22px; font: 400 var(--crfs)/1 var(--small); letter-spacing: normal; word-spacing: 3px; color: #6b6670; white-space: nowrap; }
.scroll-end .end-mail-a { position: relative; color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
.scroll-end .end-mail-a::before { content: ''; position: absolute; left: -8px; right: -8px; top: -14px; bottom: -14px; }
.scroll-end .end-mail-a:active .cr-w { transform: translateY(3px); }
.scroll-end .end-mail-a:focus-visible { outline: 3px solid #6b6670; outline-offset: 4px; }
#sentinel { height: 1px; }

/* round 15.10g (t222u): boot Inky, a little pixel ink drop that squishes in place until the first poems are painted.
   round 15.10h (t230u/t231u): staged boot. He is on from first paint (no .4 s delay) over a pixel fill bar (12 x 4 px cells, src/boot-inky.js
   drives .bi-fill), stays at least ~1 s, then swooshes away like red Inky's whip while the board fades in under him. */
.boot-inky { position: fixed; z-index: 5; left: 50%; top: 50%; transform: translate(-50%, -50%); display: grid; justify-items: center; pointer-events: none;
  animation: bi-in .16s steps(2) both; }
.boot-inky .bi-blob { display: block; transform-origin: 50% 100%; animation: bi-squish 1.2s steps(1) infinite; }
.boot-inky .bi-eyes { animation: bi-blink 3.2s steps(1) infinite; }
.boot-inky .bi-bar { display: block; width: 48px; height: 6px; margin-top: 10px; background: var(--paper-hi);
  box-shadow: 0 -2px 0 0 var(--ink), 0 2px 0 0 var(--ink), -2px 0 0 0 var(--ink), 2px 0 0 0 var(--ink), 4px 4px 0 0 rgba(26,24,28,.22); }
.boot-inky .bi-fill { display: block; width: 100%; height: 100%; background: var(--ink); transform-origin: 0 50%; transform: scaleX(0); }
.boot-inky.full .bi-blob { animation: bi-full .24s steps(2) both; }
.boot-inky.swoosh .bi-blob { animation: none; }
.boot-inky .bi-bar.popped { animation: bi-pop .1s steps(2) both; }
.boot-inky.gone { animation: bi-out .2s steps(2) both; }
.bi-cv { position: fixed; z-index: 5; pointer-events: none; image-rendering: pixelated; }   /* round 15.10h2: the swoosh, crisp 4 px pixels (src/boot-inky.js) */
@keyframes bi-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes bi-out { from { opacity: 1; } to { opacity: 0; } }
@keyframes bi-squish { 0% { transform: none; } 25% { transform: scale(1.08, .93); } 50% { transform: translateY(-8px) scale(.95, 1.06); } 75% { transform: translateY(-4px); } }
@keyframes bi-full { 0% { transform: translateY(-8px) scale(.92, 1.1); } 100% { transform: none; } }
@keyframes bi-pop { to { transform: scale(1.3, 0); opacity: 0; } }
@keyframes bi-blink { 0%, 92% { opacity: 1; } 94% { opacity: 0; } }
/* the board under him: hidden until boot-inky.js reveals it. round 15.10h2 (t235u): poems, header and chrome just appear at the reveal;
   only the sumi background art (.bg6 tiles, #ink-layer) fades in, stepped. The write button appears rolled shut and unrolls once he is gone
   (app.js: the reverse of its roll-up, with the same fabRoll sound). body keeps its plain paper so he always has something to sit on. */
html.hb-booting body > :not(#boot-inky):not(.bi-cv):not(script) { opacity: 0 !important; pointer-events: none !important; }
html.hb-booting .art-layer .bg6, html.hb-booting #ink-layer { opacity: 0; }
html.hb-reveal .art-layer .bg6, html.hb-reveal #ink-layer { animation: hb-bg-in var(--hb-fade, 560ms) steps(7) both; }
@keyframes hb-bg-in { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { html.hb-reveal .art-layer .bg6, html.hb-reveal #ink-layer { animation: hb-bg-in var(--hb-fade, 200ms) linear both; } }
/* ---------- floating action button ---------- */
.fab { position: fixed; z-index: 30; left: 50%; bottom: calc(14px + env(safe-area-inset-bottom)); transform: translateX(-50%); transform-origin: 50% 100%;
  padding: 0; border: 0; background: none; cursor: pointer; line-height: 0; outline: none; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
/* the pixel-art scroll (src/scroll-button.js): wind ripples on its own canvas; no press box, it rolls up on tap */
.fab-art { display: block; image-rendering: pixelated; }
.fab:focus, .fab:focus-visible, .fab:active { outline: none; box-shadow: none; background: none; filter: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.splat { position: absolute; z-index: 3; background: var(--ink); pointer-events: none; }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; } }

/* ---------- composed scroll (art + poems on one occupancy grid) ---------- */
.scroll { position: relative; margin: 0 -14px; overflow: hidden; background: var(--paper); }
.art-layer { position: absolute; left: 0; top: 0; width: 390px; transform-origin: 0 0; overflow: hidden; }
/* the background: low-res ink canvases upscaled nearest-neighbour, one fixed art grid (130 px across) */
.art-layer .bg6 { position: absolute; left: 0; width: 390px; image-rendering: pixelated; pointer-events: none; z-index: 0; }
.grain { position: absolute; inset: 0; pointer-events: none; z-index: 150; background: url(../assets/grain.png); background-size: 192px; mix-blend-mode: multiply; }
.top-fade { position: absolute; left: 0; right: 0; top: 0; height: 90px; pointer-events: none; z-index: 160; background: linear-gradient(var(--paper), rgba(244,236,218,0)); }
.poem { position: absolute; margin: 0; cursor: pointer; transform-origin: 50% 50%; outline: none; z-index: 100;
  -webkit-tap-highlight-color: transparent; -webkit-touch-callout: none; user-select: none; -webkit-user-select: none; }
.poem:focus, .poem:focus-visible, .poem:active { outline: none; box-shadow: none; background: none; }
.poem .pc { display: block; width: 100%; height: 100%; image-rendering: pixelated; position: relative; pointer-events: none; }
/* seal stamp animation (ScrollView.stampSeal): straight seal on its own canvas, a wet-ink bleed and specks */
.poem .seal-fly, .poem .seal-bleed { position: absolute; image-rendering: pixelated; pointer-events: none; z-index: 2; transform-origin: 50% 60%; }
.poem .seal-bleed { z-index: 1; }
.seal-speck { position: absolute; z-index: 3; background: #d6342a; pointer-events: none; }
.float-note { position: fixed; z-index: 70; pointer-events: none; font: 400 16px/1 var(--ui); color: var(--ink); padding: 3px 5px 2px; white-space: nowrap;
  background: repeating-conic-gradient(rgba(244,236,218,.96) 0 25%, rgba(244,236,218,.7) 0 50%) 0 0 / 2px 2px; }
/* round 15.10g3 (t227u): only the end-of-board address's 'copied' speaks in the © row voice */
.float-note.end-mail-note { --crfs: clamp(16px, calc((100vw - 16px) / 16.3), 22px); font: 400 var(--crfs)/1 var(--small); letter-spacing: normal; word-spacing: 3px; color: #6b6670; }

/* ---------- Inky overlay, speech bubble, denied seal ---------- */
.inky-canvas { position: fixed; left: 0; top: 0; z-index: 60; pointer-events: none; image-rendering: pixelated; }
.bubble { position: fixed; z-index: 70; left: 0; top: 0; max-width: 220px; padding: 7px 10px 6px; pointer-events: none; transform-origin: 80% 110%;
  font: 400 16px/1 var(--ui); color: var(--ink); background: var(--paper-hi);
  box-shadow: 0 -3px 0 0 var(--ink), 0 3px 0 0 var(--ink), -3px 0 0 0 var(--ink), 3px 0 0 0 var(--ink), 3px 6px 0 0 rgba(26,24,28,.25); }
.bubble::after { content: ''; position: absolute; top: calc(100% + 3px); left: var(--tail, 30px); width: 15px; height: 12px; background: var(--ink); clip-path: polygon(0 0, 100% 0, 0 100%); }
.bubble::before { content: ''; position: absolute; z-index: 1; top: 100%; left: calc(var(--tail, 30px) + 3px); width: 8px; height: 7px; background: var(--paper-hi); clip-path: polygon(0 0, 100% 0, 0 100%); }
.bubble.big { font-size: 32px; padding: 10px 14px 8px; color: var(--paper-hi); background: var(--red); max-width: 300px; 
  box-shadow: 0 -4px 0 0 var(--ink), 0 4px 0 0 var(--ink), -4px 0 0 0 var(--ink), 4px 0 0 0 var(--ink), 6px 8px 0 0 var(--ink); }
.bubble.big::before { background: var(--red); }
.bubble[hidden], .seal[hidden] { display: none; }
/* round 13: the board bubble is drawn pixel by pixel (src/pixel-bubble.js) like the compose one */
.bubble.px { background: none; box-shadow: none; padding: 0; max-width: none; display: grid; place-items: center; transform-origin: 50% 100%; }
.bubble.px::before, .bubble.px::after { content: none; }
.bubble.px .bcv { position: absolute; z-index: -1; image-rendering: pixelated; pointer-events: none; }
.bubble.px .bt { position: relative; display: block; padding: 7px 10px 6px; text-align: left; white-space: nowrap; line-height: 1.15; }
.bubble.px.big .bt { color: var(--paper-hi); font-size: 32px; }
.bubble.px[hidden] { display: none; }
/* no zoom on iOS: no double-tap zoom anywhere (taps stay fast, repeated taps on Inky still count); pinch is blocked in src/no-zoom.js */
html, body, button, a, input, textarea, [role="button"], .fab, .poem, .noren-head { touch-action: manipulation; }
body.capture-clean .fab, body.capture-clean .float-note, body.capture-clean .inky-canvas, body.capture-clean .bubble { visibility: hidden; }


/* ---------- round 14.5: the © line + credits (src/credits.js). Under the noren curtains, above the Japanese name. ---------- */
.cr-row { position: relative; z-index: 3; display: flex; justify-content: center; align-items: center; min-height: 36px; padding: 0 4px; }
/* round 14.7b: ONE inline text run: '© 2026 Tiago Ramirez all rights reserved credits'. 'credits' is an inline <button> inside the same <p>, so it shares the font, size, word / letter spacing, baseline and line box, and the gap before it is the normal word gap (a plain space + word-spacing).
   --crfs scales the WHOLE run uniformly on a narrow screen (22px down to 16px at the narrowest), never one word on its own; the run is ~16.15em wide, so it is 22px (+10% over 20px) on every phone from 375 css px up, ~21px at 360. */
.cr-line { --crfs: clamp(16px, calc((100vw - 16px) / 16.3), 22px); margin: 0; font: 400 var(--crfs)/1 var(--small); letter-spacing: normal; word-spacing: 3px; color: #6b6670; white-space: nowrap; text-align: center; }
.cr-btn { position: relative; display: inline; margin: 0; padding: 0; border: 0; background: none; cursor: pointer; font: inherit; letter-spacing: inherit; word-spacing: inherit; font-kerning: inherit; text-shadow: none; color: inherit; -webkit-tap-highlight-color: transparent; }   /* the word itself is inline and no bigger than the text; the >= 44 px hit area is the invisible ::before below */
.cr-btn::before { content: ''; position: absolute; left: -12px; right: -12px; top: -14px; bottom: -14px; }   /* 1 em line + 28 = 48 px tall, word + 24 wide (>= 44) */
/* round 14.7 shine: a lighter copy of the word, masked to a hard-edged, slanted streak that steps across the letters every 3.6 s; at rest the mask is empty, so the resting ink is exactly the (c) line's */
.cr-w { position: relative; display: inline-block; white-space: nowrap; }
.cr-w::after { content: attr(data-t); position: absolute; left: 0; top: 0; color: #c7c0c4; pointer-events: none;
  -webkit-mask-image: linear-gradient(105deg, transparent 0 46%, #000 46% 50.6%, transparent 50.6% 52.6%, #000 52.6% 54%, transparent 54%); mask-image: linear-gradient(105deg, transparent 0 46%, #000 46% 50.6%, transparent 50.6% 52.6%, #000 52.6% 54%, transparent 54%);
  -webkit-mask-size: 300% 100%; mask-size: 300% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: 100% 0; mask-position: 100% 0;
  animation: cr-shine 3.6s steps(1, end) infinite; }
@keyframes cr-shine { 0% { -webkit-mask-position: 100% 0; mask-position: 100% 0; animation-timing-function: steps(16, end); } 24% { -webkit-mask-position: 0% 0; mask-position: 0% 0; } 100% { -webkit-mask-position: 0% 0; mask-position: 0% 0; } }
.cr-btn:active .cr-w { transform: translateY(3px); }
#credits { position: fixed; inset: 0; z-index: 120; --dim: 0; touch-action: manipulation; -webkit-tap-highlight-color: transparent; cursor: pointer; }
#credits[hidden] { display: none; }
#credits::before { content: ''; position: absolute; inset: -60vh -30vw; background: rgba(26,24,28,.66); opacity: var(--dim); }
.cr-stage { position: absolute; left: 0; right: 0; }
.cr-scroll { position: relative; margin: 0 auto; }
.cr-art { position: absolute; left: 0; top: 0; image-rendering: pixelated; }
.cr-win { position: absolute; overflow: hidden; pointer-events: none; }   /* round 14.9: the clip window of the paper that scrolls with the text */
.cr-deco { position: absolute; left: 0; top: 0; image-rendering: pixelated; will-change: transform; }
.cr-paper { position: absolute; overflow: hidden; }
.cr-in { position: relative; display: flex; flex-direction: column; color: var(--ink); }
.cr-title { text-shadow: 4px 0 0 currentColor; margin: 0 0 12px; font: 400 64px/1 var(--small);   /* round 14.8: 2x the 32px body (4 css px per font pixel, whole device px at 3x), the stroke scaled 2px -> 4px */ text-align: center; color: var(--ink); }
.cr-list { color: var(--ink); text-shadow: 2px 0 0 currentColor; flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding: 0 2px 8px; font: 400 32px/1.12 var(--small); scrollbar-width: none; touch-action: pan-y; }   /* round 14.5: the (c) line's face (FindersKeepers), 2x (its next pixel-exact size) */
.cr-list::-webkit-scrollbar { display: none; }
.cr-list section { margin: 0 0 18px; }
.cr-list h3 { text-shadow: 2px 0 0 currentColor; margin: 0 0 6px; font: 400 32px/1.12 var(--small); color: var(--ink); border-bottom: 3px dotted rgba(98,72,46,.5); padding-bottom: 2px; }
.cr-list p { margin: 0 0 10px; overflow-wrap: anywhere; }
.cr-close { text-shadow: 2px 0 0 currentColor; flex: none; margin: 0; padding: 8px 0 6px; text-align: center; font: 400 32px/1.12 var(--small); color: var(--ink); border-top: 3px dotted rgba(98,72,46,.55); }
.cr-poof { position: absolute; image-rendering: pixelated; pointer-events: none; display: none; }
@media (prefers-reduced-motion: reduce) { .cr-btn:active .cr-w { transform: none; } .cr-w::after { display: none; } .cr-w { text-decoration: underline dotted 2px; text-underline-offset: 4px; } }   /* no shine; a dotted underline in the same ink marks it as tappable */

/* round 15.0: the sound toggle, a small pixel speaker at the right end of the 俳句の掲示板 line (scrolls away with the header) */
.snd-btn { display: inline-block; vertical-align: baseline; position: relative; z-index: 3; min-width: 44px; height: 44px; margin: -12px 0 -12px -2px; padding: 0 4px; border: 0; background: none; cursor: pointer; font: inherit; color: inherit; line-height: 44px; -webkit-tap-highlight-color: transparent; }
.snd-art { display: inline-block; font: 400 18px/1 var(--text); color: #4a4550; vertical-align: -2px; }   /* round 15.5: pixel speaker on the DotGothic16 dot grid, same size/colour as the .jp title */
.snd-art svg { display: block; width: 1em; height: 1em; }
.snd-btn.off .snd-art { display: inline-block; font: 400 18px/1 var(--text); color: #4a4550; vertical-align: -2px; }   /* round 15.5: pixel speaker on the DotGothic16 dot grid, same size/colour as the .jp title */
.snd-art svg { display: block; width: 1em; height: 1em; }
.snd-btn:active .snd-art { display: inline-block; font: 400 18px/1 var(--text); color: #4a4550; vertical-align: -2px; }   /* round 15.5: pixel speaker on the DotGothic16 dot grid, same size/colour as the .jp title */
.snd-art svg { display: block; width: 1em; height: 1em; }
.snd-btn:focus-visible { outline: 3px solid #6b6670; outline-offset: -3px; }
body.composing .snd-btn, body.capture-clean .snd-btn { visibility: hidden; }

/* round 15.6b: the shared scroll's older blocks (src/feed.js) and Inky's report ask (src/app.js `ask`) */
.archive { position: relative; }
.archive .scroll.seg { position: relative; }
.feed-more { height: 1px; }
.bubble.px.asking { pointer-events: auto; }
.bubble .ask-row { display: flex; justify-content: space-between; gap: 8px; margin: 6px -6px -4px; }
.bubble .ask-row button { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; margin: 0; border: 0; background: none; cursor: pointer;
  -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.bubble .ask-row button:active { transform: translateY(4px); }
.bubble .ask-row button:focus-visible { outline: 4px solid #6b6670; outline-offset: -2px; }
.bubble .ask-ic { image-rendering: pixelated; pointer-events: none; display: block; }

/* round 15.10 (t205u): "report?" 2x (32px = exactly twice ChiKareGo's 16px grid, stays crisp) and filling the bubble's
   height above the ✕ / ✔: tighter top padding, line-height 1, the icon row tucked up under the word */
.bubble.px .bt:has(> .ask-row) { font-size: 32px; line-height: 1; padding: 6px 12px 6px; text-align: center; }
.bubble.px .bt:has(> .ask-row) .ask-row { margin: 2px -6px -4px; }
