/* Kagami device UI. Muted charcoal, mint signal, red-orange hits.
   Layout: solid header bar / screen body / solid bottom bar (tab bar or lens deck). */
:root {
  --bg: #17191a;
  --bar: #1b1d1e;
  --raise: #232627;
  --raise-2: #2a2e2f;
  --line: rgba(233, 231, 225, 0.12);
  --mint: #74e3c6;
  --mint-dim: rgba(116, 227, 198, 0.4);
  --mint-faint: rgba(116, 227, 198, 0.08);
  --red: #e5533d;
  --text: #e9e7e1;
  --soft: #c9cbc6;
  --muted: #8e938f;
  --label: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Barlow", "Avenir Next", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --jp: "Noto Sans JP", "Hiragino Sans", sans-serif;
  --gl: max(16px, env(safe-area-inset-left, 0px));
  --gr: max(16px, env(safe-area-inset-right, 0px));
  --head-h: calc(env(safe-area-inset-top, 0px) + 56px);
  --tab-h: calc(env(safe-area-inset-bottom, 0px) + 62px);
  color-scheme: dark;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; height: 100%; background: var(--bg); color: var(--text); font-family: var(--body); font-size: 15px; overflow: hidden; -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
button:focus-visible, label:focus-within, input:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; }
.lbl { font-family: var(--label); font-weight: 600; text-transform: uppercase; letter-spacing: .16em; }

/* ---------- Shared chrome ---------- */
.bar-head { position: fixed; top: 0; left: 0; right: 0; z-index: 5; height: var(--head-h); padding: env(safe-area-inset-top, 0px) var(--gr) 0 var(--gl); display: flex; justify-content: space-between; align-items: center; gap: 12px; background: var(--bar); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: baseline; gap: 10px; }
.brand .grid { font-family: var(--label); font-style: italic; font-weight: 800; font-size: 30px; letter-spacing: .02em; line-height: 1; }
.brand .slash { color: var(--muted); font-size: 22px; font-weight: 300; }
.brand .jp { font-family: var(--jp); font-weight: 700; font-size: 22px; color: var(--mint); letter-spacing: .04em; }
.head-right { display: flex; align-items: center; gap: 14px; font-size: 14px; color: var(--soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.head-right::before { content: ""; width: 2px; height: 22px; background: var(--red); flex: none; }
.back { background: none; border: 0; padding: 6px 10px 6px 0; margin-right: 2px; color: var(--mint); font-size: 26px; line-height: 1; }

.screen { position: fixed; inset: 0; }
.scroll { position: absolute; top: var(--head-h); bottom: var(--tab-h); left: 0; right: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 22px var(--gr) 28px var(--gl); -webkit-user-select: text; user-select: text; }
.wrap { max-width: 560px; margin: 0 auto; display: grid; gap: 18px; }

.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 6; height: var(--tab-h); padding: 0 var(--gr) env(safe-area-inset-bottom, 0px) var(--gl); background: var(--bar); border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(4, 1fr); }
.tabbar button { position: relative; background: none; border: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; font-size: 13px; color: var(--muted); }
.tabbar svg { width: 24px; height: 24px; }
.tabbar [aria-current=page] { color: var(--mint); }
.tabbar [aria-current=page]::after { content: ""; position: absolute; top: -1px; left: 22%; right: 22%; height: 2px; background: var(--mint); }
.badge { position: absolute; top: 8px; left: calc(50% + 8px); min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--red); color: #fff; font-family: var(--body); font-size: 11px; font-weight: 600; letter-spacing: 0; display: grid; place-items: center; }

.eyebrow { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }
.eyebrow::before { content: ""; width: 2px; height: 16px; background: var(--red); }
.title { margin: 0; font-family: var(--label); font-style: italic; font-weight: 800; font-size: clamp(38px, 11vw, 60px); line-height: .92; text-transform: uppercase; text-wrap: balance; }
.h2 { margin: 6px 0 0; font-size: 13px; color: var(--muted); }

.btn { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 16px; border-radius: 2px; border: 1px solid var(--line); background: var(--raise); font-family: var(--label); font-weight: 600; font-size: 16px; letter-spacing: .14em; text-transform: uppercase; }
.btn svg { width: 22px; height: 22px; }
.btn.primary { background: var(--text); color: var(--bg); border-color: var(--text); }
.btn.mint { background: none; color: var(--mint); border-color: var(--mint-dim); }
.btn:disabled { opacity: .4; cursor: default; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* ---------- Boot ---------- */
#boot { display: grid; grid-template-rows: auto 1fr auto; padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 24px); background: radial-gradient(90% 60% at 70% 35%, #24292a 0%, var(--bg) 70%); z-index: 20; }
#boot .bar-head { position: static; }
.boot-body { align-self: end; padding: 0 var(--gr) 0 var(--gl); }
#boot h1 { margin: 10px 0 0; font-family: var(--label); font-style: italic; font-weight: 800; font-size: min(21vw, 96px); line-height: .9; text-transform: uppercase; }
.sub { margin: 8px 0 20px; font-size: 15px; color: var(--mint); }
#bootlog { margin: 0 0 22px; padding: 12px 14px; min-height: 120px; background: rgba(0,0,0,.25); border: 1px solid var(--line); border-left: 2px solid var(--mint); font-family: var(--mono); font-size: 11.5px; line-height: 1.75; color: #aeb2ad; white-space: pre-wrap; }
#bootlog .ok { color: var(--mint); } #bootlog .warn { color: var(--red); }
.boot-actions { display: grid; gap: 10px; max-width: 440px; padding: 0 var(--gr) 0 var(--gl); transition: opacity .3s; }

/* ---------- Case (home) ---------- */
.pips { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; }
.pips span { height: 4px; background: var(--raise-2); }
.pips .done { background: var(--mint); }
.pips .now { background: none; outline: 1px solid var(--mint); outline-offset: -1px; }
.card { position: relative; background: var(--raise); border: 1px solid var(--line); padding: 18px 16px; display: grid; gap: 12px; }
.card.focus { border-color: var(--mint-dim); }
.card.focus::before, .card.focus::after { content: ""; position: absolute; width: 12px; height: 12px; border: 2px solid var(--mint); }
.card.focus::before { left: -1px; top: -1px; border-right: 0; border-bottom: 0; }
.card.focus::after { right: -1px; bottom: -1px; border-left: 0; border-top: 0; border-color: var(--red); }
.card .k { font-size: 13px; color: var(--mint); }
.card h3 { margin: 0; font-family: var(--label); font-weight: 700; font-size: 26px; line-height: 1.05; text-transform: uppercase; letter-spacing: .03em; }
.loc { display: flex; gap: 8px; align-items: center; color: var(--soft); font-size: 14px; }
.loc svg { width: 16px; height: 16px; color: var(--red); flex: none; }
.card p { margin: 0; line-height: 1.5; color: var(--soft); }
.preview { display: grid; grid-template-columns: 34px 1fr; gap: 10px; align-items: start; text-align: left; background: var(--bg); border: 1px solid var(--line); padding: 10px; color: var(--soft); font-size: 14px; line-height: 1.4; }
.preview b { display: block; color: var(--text); font-weight: 600; font-size: 13px; }
.hints { display: grid; gap: 8px; }
.hint { border-left: 2px solid var(--red); padding: 4px 0 4px 12px; color: var(--soft); font-size: 14px; line-height: 1.45; }
.hint b { color: var(--red); font-family: var(--label); font-weight: 600; letter-spacing: .14em; font-size: 12px; text-transform: uppercase; display: block; }
.tools-list { display: grid; gap: 10px; }
.closed { text-align: center; padding: 26px 16px; }
.stamp-big { display: inline-block; padding: 8px 16px; border: 3px solid var(--mint); color: var(--mint); font-family: var(--label); font-weight: 800; font-style: italic; font-size: 34px; letter-spacing: .06em; text-transform: uppercase; transform: rotate(-4deg); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.stats div { background: var(--raise); padding: 12px 8px; text-align: center; }
.stats b { display: block; font-family: var(--label); font-weight: 700; font-size: 26px; font-variant-numeric: tabular-nums; }
.stats span { font-size: 12px; color: var(--muted); }

/* ---------- Comms ---------- */
.thread { display: grid; gap: 12px; }
.msg { display: grid; grid-template-columns: 34px 1fr; gap: 10px; align-items: end; max-width: 92%; }
.avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--raise-2); border: 1px solid var(--mint-dim); display: grid; place-items: center; color: var(--mint); }
.avatar svg { width: 22px; height: 22px; }
.bubble { background: var(--raise); border: 1px solid var(--line); border-left: 2px solid var(--mint); padding: 10px 12px; line-height: 1.45; font-size: 15px; }
.bubble.hint { border-left-color: var(--red); }
.bubble.hint::before { content: "HINT"; display: block; font-family: var(--label); font-weight: 600; letter-spacing: .16em; font-size: 11px; color: var(--red); margin-bottom: 2px; }
.who { font-size: 12px; color: var(--muted); margin: 0 0 4px; }
.sys { justify-self: center; text-align: center; max-width: 90%; font-family: var(--mono); font-size: 11.5px; line-height: 1.5; color: var(--muted); padding: 4px 10px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sys.objective { color: var(--mint); }
.sys.finding { color: var(--mint); }
.reveal { border: 1px solid var(--mint-dim); background: var(--mint-faint); padding: 14px; line-height: 1.5; color: var(--soft); }
.reveal b { display: block; color: var(--mint); font-family: var(--label); font-weight: 600; letter-spacing: .16em; text-transform: uppercase; font-size: 13px; margin-bottom: 4px; }
.typing { display: flex; gap: 5px; padding: 14px 12px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--mint); opacity: .3; animation: dot 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 50% { opacity: 1; } }
.comms-cta { position: sticky; bottom: 0; padding-top: 14px; background: linear-gradient(transparent, var(--bg) 30%); }

/* ---------- Dossier ---------- */
.section-h { margin: 8px 0 0; font-size: 13px; color: var(--muted); }
.findings { display: grid; gap: 10px; }
.finding { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center; background: var(--raise); border: 1px solid var(--line); padding: 12px 14px; }
.finding .no { font-family: var(--label); font-weight: 800; font-style: italic; font-size: 24px; color: var(--mint); font-variant-numeric: tabular-nums; }
.finding b { display: block; font-weight: 600; }
.finding span { color: var(--soft); font-size: 14px; }
.finding.locked { opacity: .45; }
.finding.locked .no { color: var(--muted); }
.empty { color: var(--muted); font-size: 14px; }
.danger { color: var(--red); border-color: rgba(229,83,61,.4); background: none; }

/* ---------- Answer sheet + stamp ---------- */
.scrim { position: fixed; inset: 0; z-index: 29; background: rgba(0,0,0,.55); }
.sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 20px var(--gr) calc(env(safe-area-inset-bottom, 0px) + 16px) var(--gl); background: var(--bar); border-top: 1px solid var(--mint-dim); display: grid; gap: 12px; max-height: 88%; overflow-y: auto; }
.sheet-h { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.sheet-h h2 { margin: 0; font-family: var(--label); font-style: italic; font-weight: 800; font-size: 28px; letter-spacing: .04em; text-transform: uppercase; }
.sheet-h span { font-family: var(--jp); font-weight: 700; font-size: 14px; color: var(--mint); }
.q { margin: 0; font-size: 18px; line-height: 1.4; font-weight: 500; }
.keys { display: flex; flex-wrap: wrap; gap: 8px; }
.key { border: 1px solid var(--mint-dim); color: var(--mint); padding: 6px 10px; font-size: 13px; }
.key b { font-family: var(--label); letter-spacing: .12em; text-transform: uppercase; font-weight: 600; margin-right: 6px; }
.field { width: 100%; padding: 14px; background: var(--bg); border: 1px solid var(--line); border-bottom: 2px solid var(--mint); font-size: 20px; letter-spacing: .04em; -webkit-user-select: text; user-select: text; }
.choices { display: grid; gap: 8px; }
.choice { text-align: left; padding: 14px; background: var(--raise); border: 1px solid var(--line); font-size: 16px; }
.choice[aria-pressed=true] { border-color: var(--mint); color: var(--mint); background: var(--mint-faint); }
.fb { min-height: 20px; font-size: 14px; color: var(--red); }
.shake { animation: shake .35s; }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.close { justify-self: center; background: none; border: 0; color: var(--muted); font-size: 14px; padding: 8px; }

/* Correct-answer result, shown in place inside the answer sheet */
.ok-head { display: flex; align-items: center; gap: 10px; color: var(--mint); font-size: 20px; }
.ok-head svg { width: 26px; height: 26px; }
.ok-answer { font-size: 14px; color: var(--muted); }
.ok-answer b { color: var(--text); font-weight: 600; letter-spacing: .04em; }
.stamp-inline { justify-self: center; width: min(320px, 92%); padding: 14px 16px; border: 3px solid var(--mint); background: var(--mint-faint); text-align: center; transform: rotate(-2.5deg); animation: thunk .4s .15s cubic-bezier(.2,1.6,.4,1) both; }
.stamp-inline .lbl { color: var(--mint); font-size: 13px; }
.stamp-inline b { display: block; margin: 4px 0 2px; font-family: var(--label); font-style: italic; font-weight: 800; font-size: 28px; line-height: 1; text-transform: uppercase; }
.stamp-inline span { color: var(--soft); font-size: 14px; }
.continue { position: relative; overflow: hidden; }
.continue::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--mint); transform-origin: left; animation: fill var(--auto, 4s) linear forwards; }
@keyframes fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes thunk { from { transform: rotate(-2.5deg) scale(1.5); opacity: 0; } }

/* ---------- Lens ---------- */
#lens { background: #000; }
#stage { position: fixed; inset: 0; touch-action: none; overflow: hidden; background: #000; }
#live, #demo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
#plate { position: absolute; transform-origin: center; pointer-events: none; will-change: transform; }
#plate img { display: block; width: 100%; height: 100%; }
#plate.framed { outline: 1px solid var(--mint-dim); }
#plate i { position: absolute; width: 12px; height: 12px; }
#plate i::before, #plate i::after { content: ""; position: absolute; background: var(--mint); }
#plate i::before { left: 5.5px; top: 0; width: 1px; height: 12px; }
#plate i::after { top: 5.5px; left: 0; height: 1px; width: 12px; }
#plate:not(.framed) i { display: none; }
#plate .p1 { left: -6px; top: -6px; } #plate .p2 { right: -6px; top: -6px; } #plate .p3 { left: -6px; bottom: -6px; } #plate .p4 { right: -6px; bottom: -6px; }
#lens.mode-changes #plate { mix-blend-mode: difference; }
#lens.mode-ghost #plate { mix-blend-mode: screen; }
#lens.mode-ghost #plate img { filter: grayscale(1) sepia(1) hue-rotate(115deg) saturate(3) contrast(1.4); }

.corner { position: absolute; width: 30px; height: 30px; border: 2px solid var(--mint); pointer-events: none; }
.c-tl { top: calc(var(--head-h) + 22px); left: var(--gl); border-right: 0; border-bottom: 0; }
.c-tr { top: calc(var(--head-h) + 22px); right: var(--gr); border-left: 0; border-bottom: 0; border-color: var(--red); }
.c-bl { bottom: calc(var(--panel-h, 240px) + 22px); left: var(--gl); border-right: 0; border-top: 0; border-color: var(--red); }
.c-br { bottom: calc(var(--panel-h, 240px) + 22px); right: var(--gr); border-left: 0; border-top: 0; }
.tick { position: absolute; top: calc((var(--head-h) + 100% - var(--panel-h, 240px)) / 2); width: 14px; height: 2px; background: rgba(233,231,225,.75); pointer-events: none; }
.t-l { left: var(--gl); } .t-r { right: var(--gr); }

#lensObjective { position: fixed; top: calc(var(--head-h) + 14px); left: calc(var(--gl) + 44px); right: calc(var(--gr) + 44px); text-align: center; font-size: 13px; line-height: 1.35; color: var(--text); text-shadow: 0 1px 3px #000, 0 0 10px rgba(0,0,0,.8); pointer-events: none; }
#tip { position: fixed; left: var(--gl); bottom: calc(var(--panel-h, 240px) + 34px); max-width: min(330px, calc(100% - 64px)); padding: 10px 26px 10px 14px; background: rgba(23,25,26,.86); border: 1px solid var(--mint-dim); line-height: 1.35; font-size: 15px; pointer-events: none; transition: opacity .35s; }
#tip::after { content: ""; position: absolute; left: 100%; bottom: 40%; width: 46px; height: 1px; background: var(--mint-dim); }
#tip b { display: block; font-weight: 600; }
#tip.warn { border-color: rgba(229,83,61,.6); }

#deck { position: fixed; left: 0; right: 0; bottom: 0; padding: 16px var(--gr) calc(env(safe-area-inset-bottom, 0px) + 12px) var(--gl); background: var(--bar); border-top: 1px solid var(--line); display: grid; gap: 16px; }
.mix { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; font-size: 15px; }
.track { position: relative; }
.track::before { content: ""; position: absolute; left: 0; right: 0; top: -2px; height: 8px; background: linear-gradient(90deg, transparent 0 24.8%, var(--muted) 24.8% 25.2%, transparent 25.2% 49.6%, var(--text) 49.6% 50.4%, transparent 50.4% 74.8%, var(--muted) 74.8% 75.2%, transparent 75.2%); pointer-events: none; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 34px; background: transparent; margin: 0; }
input[type=range]::-webkit-slider-runnable-track { height: 3px; background: linear-gradient(90deg, var(--mint-dim), rgba(196,140,140,.55)); }
input[type=range]::-moz-range-track { height: 3px; background: linear-gradient(90deg, var(--mint-dim), rgba(196,140,140,.55)); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 34px; height: 24px; margin-top: -10.5px; border-radius: 3px; border: 0; transform: skewX(-12deg); background: repeating-linear-gradient(90deg, #f1efe9 0 3px, #bdbab3 3px 4px); box-shadow: 0 2px 6px rgba(0,0,0,.6); }
input[type=range]::-moz-range-thumb { width: 34px; height: 24px; border-radius: 3px; border: 0; background: repeating-linear-gradient(90deg, #f1efe9 0 3px, #bdbab3 3px 4px); }

.modes { display: grid; grid-template-columns: repeat(3, 1fr); transform: skewX(-18deg); border: 1px solid var(--line); margin: 0 10px; }
.modes button { position: relative; background: none; border: 0; padding: 11px 4px 10px; font-size: 18px; color: var(--muted); }
.modes button + button { border-left: 1px solid var(--line); }
.modes button span { display: inline-block; transform: skewX(18deg); }
.modes button[aria-pressed=true] { color: var(--mint); background: rgba(116,227,198,.06); }
.modes button[aria-pressed=true]::after { content: ""; position: absolute; left: -1px; right: -1px; bottom: -1px; height: 3px; background: var(--mint); }

.tools { display: grid; grid-template-columns: 1fr 1.25fr 1fr 1fr; align-items: end; }
.tool { display: flex; flex-direction: column; align-items: center; gap: 8px; background: none; border: 0; padding: 6px 0 4px; font-size: 15px; color: var(--text); position: relative; }
.tool.div::before { content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 1px; background: var(--line); }
.tool svg { width: 36px; height: 36px; }
.tool:disabled { opacity: .35; cursor: default; }
.shutter { width: 74px; height: 74px; border-radius: 50%; border: 3px solid var(--mint); padding: 5px; box-shadow: 0 0 18px rgba(116,227,198,.25); }
.shutter svg { width: 100%; height: 100%; }
.tool.big { font-size: 17px; }
#peek.held svg { color: var(--mint); }
#pin[aria-pressed=true] { color: var(--mint); }
#lens[data-mode=mission] .sandbox-only, #lens[data-mode=sandbox] .mission-only { display: none; }
.file { position: absolute; width: 1px; height: 1px; opacity: 0; }

#plateSheet .group { font-size: 13px; color: var(--muted); margin: 10px 0 2px; }
.opt { display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: center; text-align: left; background: var(--raise); border: 1px solid var(--line); padding: 12px; color: var(--text); cursor: pointer; }
.opt svg { width: 28px; height: 28px; color: var(--mint); justify-self: center; }
.opt.make svg { color: var(--red); }
.opt b { display: block; font-weight: 600; font-size: 15px; }
.opt small { display: block; color: var(--muted); font-size: 13px; line-height: 1.4; margin-top: 2px; }

#maker { position: fixed; inset: 0; z-index: 32; background: #000; touch-action: none; }
#maker img, #maker canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
#maker canvas { cursor: crosshair; }
.mk-top { position: absolute; top: 0; left: 0; right: 0; padding: calc(env(safe-area-inset-top, 0px) + 12px) var(--gr) 14px var(--gl); background: var(--bar); border-bottom: 1px solid var(--line); pointer-events: none; line-height: 1.4; }
.mk-top b { display: block; font-family: var(--label); font-style: italic; font-weight: 800; font-size: 24px; text-transform: uppercase; letter-spacing: .03em; }
.mk-top span { font-size: 14px; color: var(--soft); }
.mk-bar { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px var(--gr) calc(env(safe-area-inset-bottom, 0px) + 14px) var(--gl); background: var(--bar); border-top: 1px solid var(--line); display: grid; gap: 12px; }
.mk-size { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center; font-size: 14px; }
.mk-btns { display: grid; grid-template-columns: 1fr 1fr 1.4fr; gap: 8px; }
.mk-btns button { padding: 13px 4px; background: var(--raise); border: 1px solid var(--line); font-size: 15px; }
.mk-btns .go { background: var(--mint); color: var(--bg); border-color: var(--mint); }

@keyframes flick { 0% { opacity: 1; } 30% { opacity: .2; } 50% { opacity: .9; } 70% { opacity: .1; } 100% { opacity: 0; } }
.flick { animation: flick .35s steps(4) forwards; }
@media (prefers-reduced-motion: reduce) {
  #tip, .boot-actions { transition: none; }
  .flick, .shake, .stamp-inline, .typing i, .continue::after { animation: none; }
}
