/* Alphabet Soup (sp-) */
.sp-col { gap: 6px; padding: 6px 10px 8px; justify-content: center; }
.sp-sub { min-height: 24px; font-size: 14px; }
.sp-tray {
  direction: ltr;
  display: flex; align-items: center; justify-content: center; gap: 5px;
  width: 100%; max-width: 460px; min-height: 52px; padding: 6px 8px;
  border-radius: 18px;
  background: var(--lapis-deep);
  box-shadow: inset 0 0 0 2px var(--hairline);
  flex: none;
}
.sp-tray__hint { color: var(--mist-dim); font-weight: 650; font-size: 15px; }
.sp-tile {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 40px; flex: 0 1 38px; min-width: 0;
  border-radius: 12px;
  background: var(--w-cream); color: var(--w-tomato);
  box-shadow: 0 3px 0 var(--w-crust);
  font-family: var(--font-display); font-size: 24px; font-weight: 900;
  animation: sp-pop 0.18s ease-out;
}
.sp-tray.is-shake { animation: sp-shake 0.32s ease; }
@keyframes sp-pop { from { transform: translateY(8px) scale(0.6); opacity: 0; } }
@keyframes sp-shake { 25% { transform: translateX(-8px); } 50% { transform: translateX(7px); } 75% { transform: translateX(-4px); } }
.sp-msg {
  min-height: 22px; margin: 0; font-weight: 750; font-size: 15px; color: var(--w-tomato);
  opacity: 0; transition: opacity 0.2s; text-align: center;
}
.sp-msg.is-on { opacity: 1; }
.sp-msg.is-good { color: var(--w-butter); }
.sp-bowl { position: relative; flex: 1 1 auto; min-height: 0; max-height: calc(100vw - 8px); width: 100%; display: flex; align-items: center; justify-content: center; }
.sp-canvas { display: block; touch-action: none; cursor: pointer; }
.sp-found {
  direction: ltr;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 5px;
  width: 100%; max-width: 520px; max-height: 58px; overflow: hidden; flex: none;
}
.sp-word {
  padding: 3px 9px; border-radius: 999px;
  background: var(--lapis-raise); color: var(--parchment);
  font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: 0.04em;
}
.sp-word.is-long { background: var(--w-butter); color: var(--lapis); }
html[data-world] .kit-dock-btn.sp-spoon { min-width: 92px; background: var(--w-tomato); color: var(--w-cream); box-shadow: 0 4px 0 #A8321F; }
html[data-world] .kit-dock-btn.sp-spoon[disabled] { opacity: 0.45; }
html[data-world] .kit-dock-btn.sp-spoon:active { background: #C8392A; }
.kit-dock-btn.sp-spoon .kit-dock-btn__icon svg { width: 26px; height: 26px; }
#timeChip.is-low .fa-chip__value { color: var(--w-tomato); }
.sp-res { direction: ltr; text-align: center; }
.sp-res__title { margin: 0 0 6px; color: var(--mist); font-weight: 700; }
.sp-res__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 5px; max-height: 92px; overflow: auto; }
html[dir="rtl"] .sp-res__title { direction: rtl; }
@media (max-height: 620px) {
  .sp-tray { min-height: 44px; padding: 4px 6px; }
  .sp-tile { height: 34px; font-size: 20px; }
  .sp-found { max-height: 26px; }
  .sp-sub { min-height: 20px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) { .sp-tile, .sp-tray.is-shake { animation: none; } }
