@property --halo {
  syntax: '<color>';
  inherits: true;
  initial-value: #fff5e6;
}

:root {
  --safe-t: env(safe-area-inset-top, 0px);
  --safe-r: env(safe-area-inset-right, 0px);
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-l: env(safe-area-inset-left, 0px);
  --dark: color-mix(in srgb, var(--ak-ink) 86%, transparent);
  --dim: color-mix(in srgb, var(--ak-ink) 34%, transparent);
  --lip: color-mix(in srgb, var(--ak-ink-muted) 70%, var(--ak-ink));
  --spot-x: 50%;
  --spot-y: 46%;
  --row-gap: 6px;
  --pick-w: 60px;
  --say-size: clamp(15px, 4.3vw, 21px);
  --slow: 1.8s;
}

* { box-sizing: border-box; }

html,
body {
  height: 100%;
  margin: 0;
}

body {
  overflow: hidden;
  font-family: var(--ak-font-body);
  color: var(--ak-ink);
  background-color: var(--ak-bg);
  background-image: var(--ak-backdrop-layer, var(--ak-bg-art));
  background-size: cover;
  background-position: center 62%;
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
  touch-action: manipulation;
}

button:focus-visible {
  outline: 3px solid var(--ak-focus);
  outline-offset: 3px;
}

/* The dark around the stage. The house lights fading up is this layer going away. */
.house {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 78% 62% at var(--spot-x) var(--spot-y), transparent 0 42%, var(--dark) 100%),
    linear-gradient(var(--dim), var(--dim));
  transition: opacity var(--slow) ease;
}

.stage {
  position: fixed;
  inset: 0;
  z-index: 2;
  max-width: 560px;
  margin: 0 auto;
  display: grid;
  grid-template:
    "head" auto
    "goal" auto
    "board" minmax(0, 1fr)
    "dock" auto
    / minmax(0, 1fr);
  gap: 8px;
  padding:
    calc(var(--safe-t) + 8px)
    calc(var(--safe-r) + 12px)
    calc(var(--safe-b) + 10px)
    calc(var(--safe-l) + 12px);
  touch-action: manipulation;
}

/* Chrome sits in the shadows: dimmed, never competing with the counter. */
.head {
  grid-area: head;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 60px;
  opacity: 0.78;
  transition: opacity var(--slow) ease;
}

.logo {
  display: block;
  height: 46px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.mute {
  position: fixed;
  z-index: 5;
  top: calc(var(--safe-t) + 8px);
  left: calc(var(--safe-l) + 12px);
  width: 48px;
  height: 48px;
  padding: 11px;
  border: 0;
  border-radius: 50%;
  background: var(--ak-ink-muted);
  opacity: 0.8;
  transition: opacity var(--slow) ease;
}

.mute svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: var(--ak-bg);
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mute svg path:first-child { fill: var(--ak-bg); }
.mute .mute-off,
.mute[aria-pressed="true"] .mute-on { display: none; }
.mute[aria-pressed="true"] .mute-off { display: block; }

.sign {
  grid-area: goal;
  border-radius: 3px;
  background: var(--ak-surface);
}

.goal {
  margin: 0;
  padding: 8px 14px 4px;
  color: var(--ak-ink);
  font-family: var(--ak-font-display);
  font-weight: var(--ak-title-weight);
  font-size: clamp(15px, 4vw, 19px);
  line-height: 1.2;
  text-align: center;
}

/* The lit counter: one long slab with a front lip, light pooling from above. */
.board {
  grid-area: board;
  position: relative;
  container-type: size;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--row-gap);
  padding: 10px 10px 8px 12px;
  border-radius: 6px 6px 2px 2px;
  border-bottom: 10px solid var(--lip);
  background:
    radial-gradient(ellipse 90% 70% at 50% -12%, color-mix(in srgb, #fff 70%, transparent), transparent 70%),
    var(--ak-bg);
  box-shadow: 0 0 70px 16px color-mix(in srgb, var(--ak-bg) 26%, transparent);
}

.row {
  --row: clamp(50px, calc((100cqh - 4 * var(--row-gap)) / 5), 96px);
  position: relative;
  height: var(--row);
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) var(--pick-w);
  align-items: center;
  column-gap: 10px;
  isolation: isolate;
}

.row + .row::before {
  content: "";
  position: absolute;
  left: 4px;
  right: 4px;
  top: calc(var(--row-gap) / -2 - 1px);
  border-top: 2px dotted color-mix(in srgb, var(--ak-ink-muted) 35%, transparent);
}

/* A coworker: tap to leave a note. The halo is their own little spotlight. */
.face {
  position: relative;
  height: calc(var(--row) - 6px);
  aspect-ratio: 76 / 94;
  min-width: 44px;
  margin-right: 10px;
  padding: 0;
  border: 0;
  background: none;
  --halo: color-mix(in srgb, var(--ak-bg) 70%, #fff);
  transition: --halo 1.2s ease;
}

.halo {
  position: absolute;
  inset: -6px -10px -2px;
  border-radius: 50%;
  background: radial-gradient(closest-side, var(--halo) 0 48%, color-mix(in srgb, var(--halo) 0%, transparent) 100%);
}

.face[data-mark="trust"] { --halo: color-mix(in srgb, var(--ak-accent-2) 75%, #fff); }
.face[data-mark="lie"] { --halo: color-mix(in srgb, var(--ak-accent) 55%, #fff); }
.face[data-mark="unsure"] { --halo: color-mix(in srgb, var(--ak-ink-muted) 40%, #fff); }
.row.is-fib .face { --halo: color-mix(in srgb, var(--ak-accent) 70%, #fff); }

.crop {
  position: absolute;
  inset: 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent);
}

.crop img {
  position: absolute;
  top: 0;
  left: calc(var(--x) / 76 * -100%);
  width: 505.27%;
  max-width: none;
  height: auto;
  pointer-events: none;
  user-select: none;
}

.chip {
  position: absolute;
  right: -16px;
  bottom: -2px;
  width: 44px;
  height: 44px;
  background-image: url("./art/mark-chips.png");
  background-repeat: no-repeat;
  display: none;
}

.chip[data-mark="trust"] { display: block; background-size: 204% 196%; background-position: 50% 0%; }
.chip[data-mark="lie"] { display: block; background-size: 202% 200%; background-position: 0% 100%; }
.chip[data-mark="unsure"] { display: block; background-size: 202% 200%; background-position: 100% 100%; }

/* An empty spot where a note will land, so the face reads as tappable. */
.face .chip[data-mark="none"] {
  display: block;
  background:
    linear-gradient(var(--ak-ink-muted), var(--ak-ink-muted)) center / 12px 3px no-repeat,
    linear-gradient(var(--ak-ink-muted), var(--ak-ink-muted)) center / 3px 12px no-repeat,
    var(--ak-surface);
  border: 2px dashed var(--ak-ink-muted);
  border-radius: 50%;
  width: 22px;
  height: 22px;
  right: -6px;
  bottom: 2px;
}

.stage[data-state="solved"] .face .chip[data-mark="none"] { display: none; }

/* The key: which notes there are, in the order a tap goes through them. */
.key {
  margin: 0;
  padding: 2px 12px 8px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2px 8px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--ak-ink);
}

.key-lead {
  color: var(--ak-ink-muted);
}

.key-steps {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.key-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.key .key-chip {
  position: static;
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
}

.key-next {
  width: 9px;
  height: 12px;
  fill: none;
  stroke: var(--ak-ink-muted);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* What they say: cream card, piped mint edge, tail toward the speaker. */
.bubble {
  position: relative;
  max-height: calc(var(--row) - 2px);
  margin: 0;
  padding: 3px 10px 3px 9px;
  border: 3px solid var(--ak-accent-2);
  border-radius: 14px;
  background: var(--ak-surface);
  font-size: var(--say-size);
  line-height: 1.13;
  color: var(--ak-ink);
  transition: border-color 0.9s ease;
}

.bubble::before {
  content: "";
  position: absolute;
  left: -11px;
  top: 50%;
  width: 14px;
  height: 14px;
  margin-top: -7px;
  background: var(--ak-surface);
  border-left: 3px solid var(--ak-accent-2);
  border-bottom: 3px solid var(--ak-accent-2);
  transform: rotate(45deg);
  border-radius: 0 0 0 3px;
  transition: border-color 0.9s ease;
}

.who {
  font-family: var(--ak-font-display);
  font-weight: var(--ak-title-weight);
  color: var(--ak-ink-muted);
  margin-right: 0.25em;
}

.tag {
  position: absolute;
  top: -12px;
  right: -9px;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border: 3px solid var(--ak-accent-2);
  border-radius: 50%;
  background: var(--ak-surface);
}

.tag svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke-width: 3.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke: var(--ak-accent-2);
}

.tag.is-false { border-color: var(--ak-accent); }
.tag.is-false svg { stroke: var(--ak-accent); }

.row.is-broken .bubble,
.row.is-broken .bubble::before,
.row.is-fib .bubble,
.row.is-fib .bubble::before {
  border-color: var(--ak-accent);
}

/* The accusation: the cake slice lands next to whoever you pick. */
.pick {
  width: var(--pick-w);
  height: calc(var(--row) - 8px);
  max-height: 80px;
  min-height: 48px;
  padding: 3px 2px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  border: 2px solid var(--ak-choice-border);
  border-radius: 10px;
  background: var(--ak-choice-bg);
  color: var(--ak-choice-ink);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.05;
  text-align: center;
  transition: background-color 0.6s ease, box-shadow 0.9s ease;
}

.pick[aria-pressed="true"] {
  border-width: 3px;
  background: var(--ak-choice-selected-bg);
  border-color: var(--ak-choice-selected-border);
  color: var(--ak-choice-selected-ink);
  box-shadow: 0 0 0 3px var(--ak-bg), 0 0 20px 6px color-mix(in srgb, var(--ak-accent) 45%, transparent);
}

/* The accused stands in a warm pool of light across their whole row. */
.row.is-picked::after {
  content: "";
  position: absolute;
  inset: -2px -6px -2px -6px;
  z-index: -1;
  border-radius: 14px;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--ak-accent) 16%, transparent) 30%, color-mix(in srgb, var(--ak-accent) 24%, transparent));
}

/* A hint lights up the statements it is talking about. */
.row.is-focus .bubble {
  border-color: var(--ak-ink-muted);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--ak-accent-2) 45%, transparent);
}

.row.is-focus .bubble::before { border-color: var(--ak-ink-muted); }

.slice {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}

.slice svg {
  width: 26px;
  height: 26px;
  stroke: var(--ak-ink-muted);
  stroke-width: 1.8;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.slice .cake-body { fill: color-mix(in srgb, var(--ak-accent) 30%, var(--ak-surface)); }
.slice .cake-frost { fill: none; stroke: var(--ak-ink-muted); stroke-width: 3.2; }
.slice .cake-layer { fill: none; stroke: var(--ak-surface); stroke-width: 2; }
.slice .cake-stem { fill: none; }
.slice .cake-cherry { fill: var(--ak-accent); }

/* The chosen slice: the painted cake, bigger, perched on the top edge of the button. */
.pick[aria-pressed="true"] .slice {
  width: 36px;
  height: 36px;
  margin-top: -14px;
  border: 2px solid var(--ak-choice-selected-border);
  background: var(--ak-bg) url("./art/cake-slice.png") center / 72% auto no-repeat;
}

.pick[aria-pressed="true"] .slice svg { display: none; }

.stage[data-state="solved"] .pick:not([aria-pressed="true"]) {
  visibility: hidden;
}

/* The answer side: status, the check, and how it landed. */
.dock {
  grid-area: dock;
  position: relative;
  min-height: 0;
  padding: 10px 12px 12px;
  border-radius: 4px;
  background: var(--ak-surface);
}

.play {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.say {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.msg {
  margin: 0;
  font-size: 18px;
  line-height: 1.3;
  color: var(--ak-ink);
}

.msg:empty { display: none; }

.msg.is-warn {
  padding-left: 10px;
  border-left: 4px solid var(--ak-accent);
  font-weight: 700;
}

.msg-label {
  font-family: var(--ak-font-display);
  font-weight: var(--ak-title-weight);
  color: var(--ak-ink-muted);
  margin-right: 0.35em;
}

.guide {
  position: relative;
  padding: 8px 14px 10px;
  border: 3px solid var(--ak-accent);
  border-radius: 12px;
  background: var(--ak-bg);
  color: var(--ak-ink);
}

.guide-label {
  font-family: var(--ak-font-display);
  font-weight: var(--ak-title-weight);
  font-size: 16px;
  color: var(--ak-ink-muted);
  margin-right: 0.3em;
}

.guide-main {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
}

.guide-sub {
  margin: 4px 0 0;
  font-size: 18px;
  line-height: 1.25;
}

.guide-sub:empty { display: none; }

.guide-arrow {
  position: absolute;
  width: 26px;
  height: 26px;
  fill: var(--ak-accent);
  stroke: var(--ak-bg);
  stroke-width: 2;
  stroke-linejoin: round;
  left: calc(50% - 13px);
  top: -30px;
}

.guide[data-arrow="down"] { margin-bottom: 14px; }

.guide[data-arrow="down"] .guide-arrow {
  top: auto;
  bottom: -30px;
  transform: rotate(180deg);
}

.guide[data-arrow="left"] .guide-arrow {
  width: 22px;
  height: 22px;
  top: calc(50% - 11px);
  left: -26px;
  transform: rotate(-90deg);
}

.acts {
  display: flex;
  gap: 10px;
}

.hint {
  flex: 0 0 auto;
  min-width: 76px;
  min-height: 52px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 2px solid var(--ak-choice-border);
  border-radius: 999px;
  background: var(--ak-choice-bg);
  color: var(--ak-choice-ink);
  font-weight: 700;
  font-size: 17px;
}

.hint svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.check {
  flex: 1 1 auto;
  min-height: 52px;
  padding: 0 14px;
  white-space: nowrap;
  border: 0;
  border-radius: 999px;
  background: var(--ak-btn-fill);
  color: var(--ak-btn-ink);
  font-family: var(--ak-font-display);
  font-weight: var(--ak-title-weight);
  font-size: clamp(18px, 5vw, 22px);
  opacity: 0.82;
  transition: opacity 0.8s ease, box-shadow 1.2s ease;
}

.check.is-ready {
  opacity: 1;
  box-shadow: 0 0 22px 4px color-mix(in srgb, var(--ak-accent) 45%, transparent);
}

.check:active { background: var(--ak-btn-active); }
.check:disabled { cursor: default; opacity: 0.6; box-shadow: none; }

.verdict {
  display: grid;
  grid-template:
    "card acts" auto
    "text text" auto
    / auto minmax(0, 1fr);
  gap: 10px 12px;
  align-items: center;
}

.verdict[hidden],
.play[hidden] { display: none; }

.verdict-card {
  grid-area: card;
  position: relative;
  container-type: inline-size;
  width: clamp(132px, 42vw, 190px);
  aspect-ratio: 384 / 264;
  background: url("./art/speech-card.png") center / 100% 100% no-repeat;
}

.verdict-big {
  position: absolute;
  inset: 32% 10% 25%;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--ak-font-display);
  font-weight: var(--ak-title-weight);
  font-size: 12.5cqw;
  line-height: 1;
  color: var(--ak-ink);
}

.verdict-acts {
  grid-area: acts;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.verdict-acts button {
  min-height: 48px;
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 17px;
  line-height: 1.1;
}

.again {
  border: 0;
  background: var(--ak-btn-fill);
  color: var(--ak-btn-ink);
}

.again:active { background: var(--ak-btn-active); }

.settings {
  border: 2px solid var(--ak-choice-border);
  background: var(--ak-choice-bg);
  color: var(--ak-choice-ink);
}

.verdict-text {
  grid-area: text;
  margin: 0;
  font-size: 18px;
  line-height: 1.3;
}

/* The guided ring: a soft pool of light around the next thing to do. */
.ring {
  position: fixed;
  z-index: 30;
  pointer-events: none;
  border: 4px solid var(--ak-accent);
  border-radius: 18px;
  box-shadow: 0 0 0 3px var(--ak-bg);
}

.sprinkles {
  position: fixed;
  inset: 0;
  z-index: 31;
  pointer-events: none;
  overflow: hidden;
}

.sprinkle {
  position: absolute;
  width: 4px;
  height: 11px;
  border-radius: 3px;
  opacity: 0;
}

/* House lights up: the dark lifts and the chrome comes out of the shadows. */
body.is-lit .house { opacity: 0; }
body.is-lit .head,
body.is-lit .mute { opacity: 1; }

@media (orientation: landscape) {
  :root {
    --spot-x: 38%;
    --spot-y: 50%;
    --say-size: clamp(15px, 2.2vw, 20px);
    --pick-w: 70px;
  }

  .stage {
    max-width: 1040px;
    grid-template:
      "gut board head" auto
      "gut board goal" auto
      "gut board dock" minmax(0, 1fr)
      / 48px minmax(0, 1fr) minmax(250px, 38%);
    column-gap: 14px;
    padding-top: calc(var(--safe-t) + 10px);
  }

  .head {
    height: 48px;
    justify-content: flex-start;
    padding: 0 60px 0 0;
  }

  .logo { height: 46px; }

  .goal {
    font-size: clamp(14px, 1.8vw, 19px);
    text-align: left;
  }

  .key { justify-content: flex-start; }

  .check { font-size: clamp(16px, 2.1vw, 22px); }

  .hint { min-width: 68px; padding: 0 10px; font-size: 16px; }

  .board {
    align-self: center;
    height: 100%;
    max-height: 540px;
  }

  .dock { align-self: start; }

  .verdict-card { width: clamp(118px, 15vw, 180px); }

  .verdict-acts button { font-size: 16px; }

  .msg,
  .verdict-text { font-size: 18px; }
}

@media (orientation: landscape) and (max-height: 430px) {
  .stage { row-gap: 6px; }
  .head { height: 40px; }
  .logo { height: 40px; }
  .goal { padding: 6px 10px 2px; }
  .key { padding: 0 10px 4px; font-size: 14px; }
  .key .key-chip { width: 22px; height: 22px; }
  .verdict { gap: 8px 10px; }
  .verdict-card { width: 116px; }
  .verdict-text { font-size: 16px; line-height: 1.25; }
  .verdict-acts button { min-height: 48px; padding: 4px 10px; }
  .dock { padding: 8px 10px 10px; }
  .play { gap: 8px; }
  .guide { padding: 6px 12px 8px; }
  .check,
  .hint { min-height: 50px; }
}

@media (orientation: portrait) and (max-height: 780px) {
  .goal { padding: 6px 10px 2px; font-size: clamp(14px, 3.9vw, 17px); }
  .key { padding: 0 8px 6px; font-size: 14px; gap: 2px 6px; }
  .key .key-chip { width: 22px; height: 22px; }
  .key-item { gap: 3px; }
  .dock { padding: 8px 10px 10px; }
  .verdict { gap: 8px 10px; }
  .verdict-card { width: clamp(118px, 34vw, 170px); }
  .verdict-text { font-size: 16px; line-height: 1.25; }
  .verdict-acts button { font-size: 16px; }
}

@media (prefers-reduced-motion: no-preference) {
  .ring { animation: ring-pulse 1.8s ease-in-out infinite; }

  .chip.is-landing { animation: chip-drop 420ms cubic-bezier(0.3, 1.4, 0.5, 1); }

  .pick[aria-pressed="true"] .slice { animation: slice-settle 520ms cubic-bezier(0.3, 1.5, 0.5, 1); }

  .stage[data-state="playing"] .pick[aria-pressed="true"] { animation: pick-breathe 2.6s ease-in-out infinite; }

  .row.is-picked::after { animation: pool-in 900ms ease-out; }

  .tag { animation: tag-settle 600ms cubic-bezier(0.25, 1.3, 0.5, 1) both; animation-delay: var(--delay, 0ms); }

  .row.is-broken .bubble { animation: broken-glow 1.4s ease-in-out 1; }

  .row.is-cheer .crop { animation: cheer 900ms ease-in-out 2; animation-delay: var(--delay, 0ms); }

  .sprinkle { animation: sprinkle-fall var(--fall, 3s) linear var(--wait, 0s) 1 both; }
}

@keyframes pick-breathe {
  0%, 100% { box-shadow: 0 0 0 3px var(--ak-bg), 0 0 14px 4px color-mix(in srgb, var(--ak-accent) 35%, transparent); }
  50% { box-shadow: 0 0 0 3px var(--ak-bg), 0 0 26px 9px color-mix(in srgb, var(--ak-accent) 55%, transparent); }
}

@keyframes pool-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes ring-pulse {
  0%, 100% { box-shadow: 0 0 0 3px var(--ak-bg), 0 0 0 0 color-mix(in srgb, var(--ak-accent) 40%, transparent); }
  50% { box-shadow: 0 0 0 3px var(--ak-bg), 0 0 0 10px color-mix(in srgb, var(--ak-accent) 0%, transparent); }
}

@keyframes chip-drop {
  0% { transform: translateY(-22px) scale(1.25); opacity: 0; }
  55% { transform: translateY(0) scale(1.12, 0.84); opacity: 1; }
  78% { transform: scale(0.95, 1.06); }
  100% { transform: none; }
}

@keyframes slice-settle {
  0% { transform: translateY(-14px) rotate(-12deg) scale(1.3); }
  60% { transform: translateY(0) rotate(4deg) scale(0.94); }
  100% { transform: none; }
}

@keyframes tag-settle {
  0% { transform: translateY(-10px); opacity: 0; }
  100% { transform: none; opacity: 1; }
}

@keyframes broken-glow {
  0%, 100% { box-shadow: 0 0 0 0 transparent; }
  45% { box-shadow: 0 0 16px 3px color-mix(in srgb, var(--ak-accent) 45%, transparent); }
}

@keyframes cheer {
  0%, 100% { transform: none; }
  35% { transform: translateY(-12%); }
  60% { transform: translateY(-2%); }
}

@keyframes sprinkle-fall {
  0% { transform: translate(0, -20px) rotate(var(--spin0, 0deg)); opacity: 1; }
  85% { opacity: 1; }
  100% { transform: translate(var(--drift, 0px), var(--drop, 400px)) rotate(var(--spin1, 180deg)); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .house,
  .head,
  .mute,
  .face,
  .bubble,
  .bubble::before,
  .pick,
  .check { transition-duration: 0.01s; }
}
