/* ---------------- the toy's furniture ---------------- */
#ui {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 5;
  font-family: 'Chakra Petch', sans-serif;
  color: var(--cream);
}
#ui button {
  pointer-events: auto;
  font: inherit;
  color: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
#ui svg {
  width: 1.5em;
  height: 1.5em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.brand {
  position: absolute;
  left: calc(var(--u) * 1.6 + env(safe-area-inset-left));
  top: calc(var(--u) * 1.2 + env(safe-area-inset-top));
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.brand .b1 {
  font: 600 calc(var(--u) * 2.3) Fraunces, Georgia, serif;
  color: var(--gold);
  letter-spacing: 0.04em;
  text-shadow: 0 2px 0 #6b3d0c, 0 0 18px rgba(255, 200, 90, 0.35);
}
.brand .b2 {
  font: 500 calc(var(--u) * 0.95) 'Chakra Petch', sans-serif;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-top: calc(var(--u) * 0.35);
}
.spotBtn {
  position: absolute;
  right: calc(var(--u) * 1.4 + env(safe-area-inset-right));
  top: calc(var(--u) * 1.2 + env(safe-area-inset-top));
  display: flex;
  align-items: center;
  gap: 0.45em;
  padding: 0.5em 0.9em 0.5em 0.7em;
  border-radius: 999px;
  border: 2px solid rgba(255, 211, 107, 0.65);
  background: linear-gradient(180deg, rgba(70, 30, 34, 0.85), rgba(36, 14, 20, 0.85));
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  font-size: calc(var(--u) * 1.15) !important;
  font-weight: 700 !important;
  color: var(--gold) !important;
}
.spotBtn.bump {
  animation: bump 0.6s cubic-bezier(0.3, 1.8, 0.5, 1);
}
@keyframes bump {
  30% {
    transform: scale(1.35) rotate(-6deg);
  }
}
.bar {
  position: absolute;
  left: 50%;
  bottom: calc(var(--u) * 1.3 + env(safe-area-inset-bottom));
  /* --dx / --lift: set by the UI to keep clear of the kit's home buttons */
  transform: translate(calc(-50% + var(--dx, 0px)), calc(-1 * var(--lift, 0px)));
  display: flex;
  align-items: center;
  gap: calc(var(--u) * 0.5);
  padding: calc(var(--u) * 0.45);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(64, 28, 32, 0.78), rgba(30, 12, 18, 0.82));
  border: 1px solid rgba(255, 211, 107, 0.35);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  pointer-events: auto;
}
.bar button {
  display: flex;
  align-items: center;
  gap: 0.4em;
  border: 0;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  padding: 0.55em 1em 0.55em 0.8em;
  font-size: calc(var(--u) * 1.1) !important;
  font-weight: 600 !important;
  letter-spacing: 0.04em;
  transition: background 0.15s, transform 0.12s;
  touch-action: none;
}
.bar button:hover {
  background: rgba(255, 211, 107, 0.18);
}
.bar button:active,
.bar button.on {
  transform: scale(0.94);
  background: rgba(255, 211, 107, 0.3);
}
.bar button.big {
  background: linear-gradient(180deg, #ffd96e, #e59a2a);
  color: #3a1706 !important;
  box-shadow: 0 3px 0 #9a5a12, 0 6px 14px rgba(229, 154, 42, 0.35);
}
.bar button.big.on {
  animation: jiggle 0.12s linear infinite;
}
@keyframes jiggle {
  25% {
    transform: translate(-2px, 1px) rotate(-3deg) scale(0.96);
  }
  75% {
    transform: translate(2px, -1px) rotate(3deg) scale(0.96);
  }
}
.bar button.sm {
  padding: 0.55em;
}
.bar .sep {
  width: 1px;
  align-self: stretch;
  margin: 0.3em 0.15em;
  background: rgba(255, 255, 255, 0.15);
}
.pops {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.pop,
.shout {
  position: absolute;
  left: 50%;
  top: 38%;
  transform: translate(calc(-50% + var(--x, 0px)), -50%) rotate(var(--r, 0deg));
  font: 400 calc(var(--u) * 3) 'Russo One', sans-serif;
  color: #fff;
  -webkit-text-stroke: calc(var(--u) * 0.18) #3a1706;
  paint-order: stroke fill;
  text-shadow: 0 calc(var(--u) * 0.35) 0 #3a1706, 0 0 24px rgba(255, 220, 120, 0.6);
  white-space: nowrap;
  animation: popUp 1.5s cubic-bezier(0.2, 1.6, 0.4, 1) both;
}
.pop.gold {
  color: var(--gold);
}
@keyframes popUp {
  0% {
    opacity: 0;
    scale: 0.2;
  }
  14% {
    opacity: 1;
    scale: 1.15;
  }
  24% {
    scale: 1;
  }
  75% {
    opacity: 1;
    translate: 0 -4vh;
  }
  100% {
    opacity: 0;
    translate: 0 -12vh;
  }
}
.shout {
  top: 30%;
  font-size: calc(var(--u) * 5.2);
  color: #bfe8ff;
  animation: shout 2.2s cubic-bezier(0.2, 1.7, 0.4, 1) both;
}
.shout.storm {
  color: #fff;
  text-shadow: 0 calc(var(--u) * 0.4) 0 #12325a, 0 0 36px rgba(140, 210, 255, 0.85);
  -webkit-text-stroke-color: #12325a;
}
.shout.too {
  font-size: calc(var(--u) * 7);
  color: #ff5a6e;
  -webkit-text-stroke-color: #3a0610;
  text-shadow: 0 calc(var(--u) * 0.45) 0 #3a0610, 0 0 40px rgba(255, 80, 100, 0.7);
  animation: shout 2.2s cubic-bezier(0.2, 1.7, 0.4, 1) both, wobble 0.18s 0.3s 6 ease-in-out;
}
@keyframes shout {
  0% {
    opacity: 0;
    scale: 2.6;
  }
  12% {
    opacity: 1;
    scale: 0.9;
  }
  20% {
    scale: 1.05;
  }
  26% {
    scale: 1;
  }
  80% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    scale: 1.08;
  }
}
@keyframes wobble {
  50% {
    rotate: 4deg;
  }
}
.toasts {
  position: absolute;
  left: 50%;
  top: calc(var(--u) * 7 + env(safe-area-inset-top));
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5em;
}
.toast {
  font-size: calc(var(--u) * 1.2);
  padding: 0.55em 1.2em;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(70, 30, 34, 0.92), rgba(36, 14, 20, 0.92));
  border: 1px solid rgba(255, 211, 107, 0.4);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  white-space: nowrap;
  animation: toastIn 0.5s cubic-bezier(0.2, 1.6, 0.4, 1) both;
  transition: opacity 0.5s, transform 0.5s;
}
.toast.out {
  opacity: 0;
  transform: translateY(-12px);
}
.toast b {
  color: var(--gold);
}
.toast em {
  font-style: normal;
  opacity: 0.7;
  margin-left: 0.3em;
}
.toast i {
  font-style: normal;
  color: var(--gold);
}
.toast.spot {
  border-color: var(--gold);
  box-shadow: 0 0 24px rgba(255, 211, 107, 0.35), 0 6px 20px rgba(0, 0, 0, 0.35);
}
.toast.night {
  background: linear-gradient(180deg, rgba(24, 30, 70, 0.92), rgba(12, 14, 36, 0.92));
  border-color: rgba(160, 190, 255, 0.5);
}
@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateY(-16px) scale(0.8);
  }
}
.book {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(10, 4, 8, 0.55);
  pointer-events: auto;
  transition: opacity 0.3s;
}
.book.hidden {
  opacity: 0;
  pointer-events: none;
}
.bookIn {
  width: min(92vw, 620px);
  max-height: 86vh;
  overflow: auto;
  padding: calc(var(--u) * 1.6);
  border-radius: calc(var(--u) * 1.4);
  background: linear-gradient(180deg, #fff6e0, #f1dfb8);
  color: var(--ink);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), inset 0 0 0 3px #c98a24, inset 0 0 0 6px #fff6e0, inset 0 0 0 7px #c98a24;
  transform: rotate(-1deg);
}
.bookHd {
  display: flex;
  align-items: center;
  gap: 1em;
}
.bookHd b {
  font: 600 calc(var(--u) * 2) Fraunces, Georgia, serif;
  color: #8a2a1a;
}
.bookHd span {
  flex: 1;
  font-weight: 600;
  opacity: 0.7;
}
.bookHd .x {
  border: 0;
  background: none;
  font-size: calc(var(--u) * 1.4);
  color: var(--ink) !important;
}
.bookSub {
  font-size: calc(var(--u) * 1.05);
  opacity: 0.75;
  margin: 0.3em 0 1em;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(calc(var(--u) * 10), 1fr));
  gap: calc(var(--u) * 0.8);
}
.stk {
  aspect-ratio: 1.15;
  border-radius: calc(var(--u) * 0.9);
  border: 2px dashed rgba(42, 20, 8, 0.25);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.3em;
  text-align: center;
  padding: 0.5em;
  font-size: calc(var(--u) * 0.95);
  font-weight: 600;
  color: rgba(42, 20, 8, 0.45);
  transform: rotate(var(--r));
}
.stk i {
  font-style: normal;
  font: 400 calc(var(--u) * 2.2) 'Russo One', sans-serif;
}
.stk.found {
  border: 0;
  background: linear-gradient(160deg, #ff6b6b, #c2253a);
  color: #fff;
  box-shadow: 0 3px 0 #7a1020, 0 6px 14px rgba(0, 0, 0, 0.25), inset 0 0 0 3px rgba(255, 255, 255, 0.6);
}
.stk.found:nth-child(3n + 1) {
  background: linear-gradient(160deg, #57d38c, #1f8a50);
  box-shadow: 0 3px 0 #0d5a30, 0 6px 14px rgba(0, 0, 0, 0.25), inset 0 0 0 3px rgba(255, 255, 255, 0.6);
}
.stk.found:nth-child(3n + 2) {
  background: linear-gradient(160deg, #6fb7ff, #2a62c9);
  box-shadow: 0 3px 0 #173a80, 0 6px 14px rgba(0, 0, 0, 0.25), inset 0 0 0 3px rgba(255, 255, 255, 0.6);
}
.stk.found i {
  color: #ffd36b;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.3);
}
@media (max-width: 640px) {
  .bar button span {
    display: none;
  }
  .bar button {
    padding: 0.6em;
  }
  .brand .b2 {
    display: none;
  }
  .toast {
    white-space: normal;
    text-align: center;
    max-width: 70vw;
  }
}
@media (max-height: 480px) {
  .bar button span {
    display: none;
  }
  .bar button {
    padding: 0.5em;
  }
  /* a phone on its side: the book goes wide, seven stickers a row, so it all fits in one look */
  .bookIn {
    width: min(96vw, 860px);
    max-height: 92vh;
    padding: calc(var(--u) * 1.1) calc(var(--u) * 1.4);
  }
  .bookSub {
    display: none;
  }
  .grid {
    grid-template-columns: repeat(7, 1fr);
    gap: calc(var(--u) * 0.6);
  }
  .stk {
    aspect-ratio: 1.3;
  }
}

/* phone motion: the opt-in card */
.motionCard {
  position: absolute;
  left: 50%;
  bottom: calc(var(--u) * 9 + env(safe-area-inset-bottom));
  transform: translateX(-50%);
  width: min(92vw, 26em);
  font-size: max(14px, calc(var(--u) * 1.15));
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.4em 0.9em;
  padding: 1em 1.1em;
  border-radius: 1.1em;
  background: linear-gradient(180deg, rgba(70, 30, 34, 0.96), rgba(36, 14, 20, 0.96));
  border: 1px solid rgba(255, 211, 107, 0.55);
  box-shadow: 0 0 30px rgba(255, 211, 107, 0.2), 0 10px 30px rgba(0, 0, 0, 0.45);
  pointer-events: auto;
  animation: toastIn 0.5s cubic-bezier(0.2, 1.6, 0.4, 1) both;
  z-index: 5;
}
.motionCard.hidden {
  display: none;
}
.mcIcon svg {
  width: 2.2em;
  height: 2.2em;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.mcText {
  line-height: 1.35;
}
.mcText b {
  display: block;
  color: var(--gold);
  font-size: 1.12em;
  margin-bottom: 0.2em;
}
.mcText i {
  font-style: normal;
  color: var(--gold);
}
.mcBtns {
  grid-column: 1 / -1;
  display: flex;
  gap: 0.6em;
  justify-content: flex-end;
  margin-top: 0.3em;
}
.mcBtns button,
.mcBtns a {
  font: inherit;
  color: #fff;
  text-decoration: none;
  padding: 0.55em 1.1em;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}
#ui .mcBtns .mcYes,
#ui .mcBtns .mcGo {
  color: #2a1208;
  font-weight: 700;
  border-color: transparent;
  background: linear-gradient(180deg, #ffe39a, #f0b43c);
}


/* ---------------- Wibble Wobble's own bits ---------------- */
.confetti {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
}
/* every letter of a shout wobbles on its own, like jelly */
.shout b {
  display: inline-block;
  font-weight: 400;
  animation: letterWob 0.5s calc(var(--i) * -0.07s) ease-in-out infinite alternate;
}
@keyframes letterWob {
  from {
    transform: translateY(-0.04em) scale(1.06, 0.94) rotate(-3deg);
  }
  to {
    transform: translateY(0.04em) scale(0.94, 1.08) rotate(3deg);
  }
}
.shout.jelly {
  color: #ff6b7d;
  -webkit-text-stroke-color: #4a0616;
  text-shadow: 0 calc(var(--u) * 0.4) 0 #4a0616, 0 0 34px rgba(255, 90, 120, 0.75);
}
.shout.gold {
  color: #ffd36b;
  -webkit-text-stroke-color: #4a2606;
  text-shadow: 0 calc(var(--u) * 0.4) 0 #4a2606, 0 0 34px rgba(255, 200, 90, 0.8);
}
.shout.xmas {
  font-size: calc(var(--u) * 6);
  color: #fff;
  -webkit-text-stroke-color: #7a0b1d;
  text-shadow: 0 calc(var(--u) * 0.45) 0 #7a0b1d, 0 0 40px rgba(255, 210, 120, 0.9);
}
.pop.small {
  font-size: calc(var(--u) * 2);
}
.pop.red {
  color: #ff8a9a;
}
.pop.green {
  color: #9dffb4;
}
.note {
  position: absolute;
  transform: translate(-50%, -50%);
  font: 400 calc(var(--u) * 3.4) 'Russo One', sans-serif;
  color: hsl(calc(45deg + var(--h)), 100%, 70%);
  -webkit-text-stroke: calc(var(--u) * 0.14) #3a1706;
  paint-order: stroke fill;
  animation: noteUp 1.3s ease-out both;
}
@keyframes noteUp {
  0% {
    opacity: 0;
    scale: 0.3;
  }
  20% {
    opacity: 1;
    scale: 1.2;
  }
  100% {
    opacity: 0;
    translate: calc(var(--u) * 2) calc(var(--u) * -8);
    rotate: 20deg;
  }
}
/* the song's words, karaoke style */
.karaoke {
  position: absolute;
  left: 50%;
  bottom: calc(var(--u) * 10.5 + env(safe-area-inset-bottom));
  transform: translateX(-50%);
  width: max-content;
  max-width: 92vw;
  text-align: center;
  font: 400 calc(var(--u) * 2.6) 'Russo One', sans-serif;
  color: rgba(255, 255, 255, 0.55);
  -webkit-text-stroke: calc(var(--u) * 0.12) #3a1706;
  paint-order: stroke fill;
  opacity: 0;
  transition: opacity 0.4s;
}
.karaoke.on {
  opacity: 1;
}
.karaoke b {
  display: inline-block;
  font-weight: 400;
  transition: color 0.1s, transform 0.15s;
}
.karaoke b.sung {
  color: #ffd36b;
}
.karaoke b.now {
  color: #ff6b7d;
  transform: scale(1.3) translateY(-0.12em) rotate(-4deg);
}
/* the cracker joke: a curled paper slip */
.joke {
  position: absolute;
  left: 50%;
  top: 12%;
  translate: -50% 0;
  transform: rotate(-2deg);
  width: min(78vw, calc(var(--u) * 34));
  padding: calc(var(--u) * 1.2) calc(var(--u) * 1.6);
  background: linear-gradient(180deg, #fffaf0, #f3e6c8);
  color: #3a1706;
  border-radius: 4px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), inset 0 -8px 12px rgba(150, 100, 40, 0.15);
  font: 600 calc(var(--u) * 1.25) Fraunces, Georgia, serif;
  text-align: center;
  pointer-events: auto;
  cursor: pointer;
  animation: jokeIn 0.6s cubic-bezier(0.2, 1.6, 0.4, 1) both;
}
.joke::before,
.joke::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 10px;
  background: radial-gradient(circle at 0 50%, transparent 5px, #fffaf0 5.5px) 0 0 / 10px 14px repeat-y;
}
.joke::before {
  left: -9px;
  transform: scaleX(-1);
}
.joke::after {
  right: -9px;
}
.joke .ja {
  margin-top: 0.6em;
  font: 400 calc(var(--u) * 1.5) 'Russo One', sans-serif;
  color: #c4122f;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.3s, transform 0.4s cubic-bezier(0.2, 1.8, 0.4, 1);
}
.joke .ja.show {
  opacity: 1;
  transform: none;
}
.joke.hidden {
  display: none;
}
.joke.out {
  animation: jokeOut 0.5s ease-in both;
}
@keyframes jokeIn {
  from {
    opacity: 0;
    transform: translateY(-40px) rotate(-12deg) scale(0.6);
  }
}
@keyframes jokeOut {
  to {
    opacity: 0;
    transform: translateY(-30px) rotate(6deg) scale(0.8);
  }
}
/* on a wide screen the joke sits to the right, over the fireplace, out of the way of the jelly's words */
@media (min-aspect-ratio: 1/1) {
  .joke {
    left: auto;
    right: calc(var(--u) * 2 + env(safe-area-inset-right));
    top: 30%;
    translate: none;
    width: min(30vw, calc(var(--u) * 26));
    transform: rotate(2deg);
  }
}
/* spoon mode: the spoon itself is the pointer */
#ui.spooning ~ canvas,
body:has(#ui.spooning) #c,
body:has(#ui.shaking) #c {
  cursor: none;
}
/* the book's bonus sticker and the moulds row */
.stk.bonus {
  border-color: rgba(196, 18, 47, 0.45);
}
.stk.bonus.found {
  background: linear-gradient(160deg, #ffd96e, #e59a2a);
  box-shadow: 0 3px 0 #9a5a12, 0 6px 14px rgba(0, 0, 0, 0.25), inset 0 0 0 3px rgba(255, 255, 255, 0.7);
}
.stk.bonus.found i {
  color: #c4122f;
}
.mouldHd {
  margin: calc(var(--u) * 1.2) 0 calc(var(--u) * 0.5);
  font: 600 calc(var(--u) * 1.2) Fraunces, Georgia, serif;
  color: #5a2a0c;
}
.moulds {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: calc(var(--u) * 0.8);
}
.mld {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3em;
  font-size: calc(var(--u) * 0.95);
  font-weight: 600;
  color: rgba(42, 20, 8, 0.45);
  text-align: center;
}
.mld i {
  width: calc(var(--u) * 4);
  height: calc(var(--u) * 3.4);
  border-radius: 45% 45% 12% 12% / 60% 60% 14% 14%;
  border: 2px dashed rgba(42, 20, 8, 0.25);
}
.mld.seen {
  color: #3a1706;
}
.mld.seen i {
  border: 0;
  background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.75), transparent 28%), var(--c);
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.25), inset 0 -6px 10px rgba(0, 0, 0, 0.25);
  animation: mldWob 1.2s ease-in-out infinite alternate;
}
@keyframes mldWob {
  from {
    transform: skewX(-4deg) scaleY(1.03);
  }
  to {
    transform: skewX(4deg) scaleY(0.97);
  }
}

/* ---------------- the full spoon: eat it, or splat it ---------------- */
.spoonPick {
  position: absolute;
  left: 50%;
  bottom: calc(var(--u) * 7 + env(safe-area-inset-bottom));
  transform: translateX(-50%);
  display: flex;
  gap: calc(var(--u) * 0.9);
  pointer-events: none;
  visibility: hidden;
}
.spoonPick.on {
  visibility: visible;
}
.spoonPick button {
  display: flex;
  align-items: center;
  gap: 0.55em;
  min-height: 56px;
  padding: 0.45em 1.3em 0.45em 0.6em;
  border-radius: 999px;
  font-size: max(15px, calc(var(--u) * 1.25)) !important;
  text-align: left;
  opacity: 0;
  transform: translateY(18px) scale(0.6);
  transition: opacity 0.18s, transform 0.18s, filter 0.2s;
}
.spoonPick.on button {
  pointer-events: auto;
  opacity: 1;
  transform: none;
  transition: opacity 0.25s, transform 0.42s cubic-bezier(0.2, 1.7, 0.4, 1), filter 0.2s, box-shadow 0.2s;
}
.spoonPick.on .pkSplat {
  transition-delay: 0.06s;
}
#ui .spoonPick svg {
  width: 2em;
  height: 2em;
  flex: none;
  padding: 0.22em;
  border-radius: 50%;
}
.spoonPick span {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}
.spoonPick b {
  font: 400 1.15em 'Russo One', sans-serif;
  letter-spacing: 0.02em;
}
.spoonPick small {
  font-size: 0.7em;
  font-weight: 600;
  opacity: 0.78;
  margin-top: 0.2em;
  white-space: nowrap;
}
.spoonPick .pkEat {
  color: #3a1706 !important;
  border: 2px solid #fff0b8;
  background: linear-gradient(180deg, #fff1b8, #ffd36b 45%, #e59a2a);
  box-shadow: 0 4px 0 #9a5a12, 0 10px 22px rgba(0, 0, 0, 0.35);
}
.spoonPick .pkEat svg {
  background: rgba(255, 255, 255, 0.45);
}
.spoonPick .pkSplat {
  color: #fff6f0 !important;
  border: 2px solid #ffb3c0;
  background: linear-gradient(180deg, #ff7b93, #e3254a 50%, #9c0a26);
  box-shadow: 0 4px 0 #5e0616, 0 10px 22px rgba(0, 0, 0, 0.35);
  text-shadow: 0 1px 0 rgba(80, 0, 16, 0.6);
}
.spoonPick .pkSplat svg {
  background: rgba(255, 255, 255, 0.2);
}
.spoonPick.on button:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
}
.spoonPick.on button:active {
  transform: translateY(2px) scale(0.97);
}
/* while you hold the full spoon, the choice that letting go would make swells, and the other steps back */
.spoonPick.on button.arm {
  transform: scale(1.1);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.55), 0 0 30px rgba(255, 220, 140, 0.85), 0 10px 22px rgba(0, 0, 0, 0.35);
}
.spoonPick.on:has(.arm) button:not(.arm) {
  opacity: 0.45;
  transform: scale(0.92);
}
.spoonPick.on .pkSplat.arm svg {
  animation: splatArm 0.32s ease-in-out infinite alternate;
}
@keyframes splatArm {
  to {
    transform: rotate(18deg) scale(1.15);
  }
}

/* phones: icons you can hit with a thumb (24px+ icons on 48px buttons) */
@media (max-width: 640px) {
  .bar {
    gap: 3px;
    padding: 4px;
  }
  .bar button,
  .bar button.sm {
    width: 48px;
    height: 48px;
    padding: 0;
    justify-content: center;
    font-size: 16px !important;
  }
  #ui .bar svg {
    width: 26px;
    height: 26px;
  }
  .bar .sep {
    margin: 8px 1px;
  }
  .spotBtn {
    min-height: 44px;
    font-size: 15px !important;
  }
  .toasts {
    top: calc(108px + env(safe-area-inset-top));
  }
  .spoonPick {
    gap: 8px;
  }
  .spoonPick button {
    padding: 0.4em 0.9em 0.4em 0.45em;
    font-size: 15px !important;
  }
}
@media (max-height: 480px) {
  .bar button,
  .bar button.sm {
    min-width: 46px;
    min-height: 46px;
    justify-content: center;
    font-size: 15px !important;
  }
  #ui .bar svg {
    width: 24px;
    height: 24px;
  }
  .spoonPick button {
    min-height: 48px;
  }
}
/* the kit's intro card: our highlighted words in gold */
.tkCard li strong {
  color: #ffd36b;
}
