/* ===== Round 18 (26 Nov): only what Jonathan named. ===== */
/* 1 · Ask → Dictation, two new transitions to choose from (?tr=notch | ?tr=fade); the old seam stays until he picks */
html[data-tr] .ask::after { display: none !important; } html[data-tr] .inkline { display: none !important; }
/* A · the page pours out of the notch: a white shape grows from the notch until it is the whole screen */
.tr-pour { position: fixed; z-index: 34; inset: 0; background: var(--surface); pointer-events: none; display: none; }
html[data-tr="notch"] .tr-pour { display: block; }
/* B · one long, soft fade, no edge: black melts into the paper over a screen and a half */
html[data-tr="fade"] .ask::before { content: ""; position: absolute; z-index: 3; inset: auto 0 -70svh; block-size: 150svh; pointer-events: none;
  background: linear-gradient(transparent, color-mix(in srgb, var(--surface) 6%, transparent) 22%, color-mix(in srgb, var(--surface) 30%, transparent) 42%, color-mix(in srgb, var(--surface) 66%, transparent) 60%, color-mix(in srgb, var(--surface) 92%, transparent) 76%, var(--surface) 88%); }
@media (prefers-color-scheme: dark) { html[data-tr]:not([data-theme="light"]) .tr-pour { display: none; } }
html[data-theme="dark"][data-tr] .tr-pour { display: none; }
/* Round 20 (26 Nov): the fade is now the live Ask → Dictation transition (default in r18.js). Plain and calm: black eases
   into Dictation's paper over the last screen of Ask, entirely inside Ask (Dictation's own background used to cut it off). */
html[data-tr="fade"] .ask::before { inset: auto 0 0; block-size: 110svh;
  background: linear-gradient(transparent, color-mix(in srgb, var(--surface) 3%, transparent) 18%, color-mix(in srgb, var(--surface) 12%, transparent) 34%, color-mix(in srgb, var(--surface) 30%, transparent) 50%, color-mix(in srgb, var(--surface) 55%, transparent) 65%, color-mix(in srgb, var(--surface) 80%, transparent) 79%, color-mix(in srgb, var(--surface) 95%, transparent) 91%, var(--surface)); }
/* Round 20 launch pass: every keyboard stop shows where you are */
.door-app { outline: none; } .door-app:focus-visible .da-ic { box-shadow: 0 0 0 3px var(--focus); }
.pad-free:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 8px; }
.d2-term:focus-within { box-shadow: 0 0 0 2px var(--focus), 0 18px 40px -16px rgb(var(--shade-rgb) / .55); }
/* Round 22 (26 Nov): the fade no longer sits over Ask's last screen (it washed out the answer). It is its own calm stretch
   of page right after Ask: black → Dictation's paper over about one screen, nothing on it. */
html[data-tr="fade"] .ask::before { display: none; }
.ask-fade { block-size: 32svh; margin-block-start: -1px; pointer-events: none;
  background: linear-gradient(black, color-mix(in srgb, var(--surface) 4%, black) 16%, color-mix(in srgb, var(--surface) 14%, black) 32%, color-mix(in srgb, var(--surface) 32%, black) 48%, color-mix(in srgb, var(--surface) 56%, black) 64%, color-mix(in srgb, var(--surface) 80%, black) 79%, color-mix(in srgb, var(--surface) 95%, black) 91%, var(--surface)); }
/* Round 23: the stretch is about a third of a screen (32svh), and its lower part lies over Dictation's own empty top,
   so "Say it messy." arrives right after the fade instead of after another empty screen. */
.ask-fade { position: relative; z-index: 2; margin-block-end: -22svh; }
