.mini-game-board.sprout {
  display: block;
  min-height: clamp(410px, 58vh, 540px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0)),
    radial-gradient(
      circle at 20% 24%,
      rgba(255, 255, 255, 0.58),
      transparent 18%
    ),
    radial-gradient(
      circle at 78% 20%,
      rgba(255, 249, 170, 0.72),
      transparent 13%
    ),
    linear-gradient(180deg, #bff8ca 0%, #a8efc0 44%, #74d978 100%);
  overflow: hidden;
}
.mini-splash-hint {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 128px;
  color: #1f6e3b;
  font-size: 0.88rem;
  font-weight: 800;
  text-align: center;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.72);
  z-index: 3;
}
.mini-pop-sprout,
.mini-paint-star {
  position: absolute;
  z-index: 2;
  cursor: pointer;
}
.mini-pop-sprout {
  width: 62px;
  height: 62px;
  margin-left: -31px;
  margin-top: -31px;
  border: 3px solid #237c42;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 24%, #fff, #88f28f 42%, #24a85a);
  color: #fff7b8;
  font-size: 34px;
  box-shadow: 0 10px 18px rgba(20, 96, 43, 0.28);
  animation: sprout-pop 0.24s ease both;
}
.mini-pop-sprout.rainbow {
  border-color: #ffd86b;
  background:
    radial-gradient(circle at 35% 24%, #fff 0 18%, transparent 19%),
    conic-gradient(#ff8ac0, #ffd86b, #7be0c8, #88d8f5, #c89bff, #ff8ac0);
  color: #fff;
  text-shadow: 0 2px 5px rgba(107, 34, 71, 0.32);
  box-shadow:
    0 10px 22px rgba(20, 96, 43, 0.22),
    0 0 24px rgba(255, 216, 107, 0.72);
}
.mini-pop-sprout.rainbow::before {
  content: "match";
  position: absolute;
  right: -10px;
  top: -12px;
  width: 48px;
  height: 24px;
  display: grid;
  place-items: center;
  border: 2px solid rgba(35, 124, 66, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: #237c42;
  font:
    900 13px "Arial Rounded MT Bold",
    "Trebuchet MS",
    Arial,
    sans-serif;
  box-shadow: 0 6px 10px rgba(20, 96, 43, 0.16);
}
.mini-pop-sprout::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -16px;
  width: 8px;
  height: 24px;
  border-radius: 999px;
  background: #237c42;
  transform: translateX(-50%);
  z-index: -1;
}
.mini-pop-sprout.watered {
  transform: scale(1.55);
  opacity: 0;
  transition:
    opacity 0.28s ease,
    transform 0.28s ease;
}
.mini-pop-sprout.watered.growing {
  opacity: 1;
  transform: none;
}
.mini-pop-sprout.missed {
  transform: scale(0.5);
  opacity: 0;
  transition:
    opacity 0.22s ease,
    transform 0.22s ease;
}
@keyframes sprout-pop {
  from {
    transform: translateY(20px) scale(0.4);
  }
  to {
    transform: translateY(0) scale(1);
  }
}
@keyframes mint-flower-grow {
  0% {
    background-position: 0 0;
  }
  14% {
    background-position: 33.333% 0;
  }
  28% {
    background-position: 66.666% 0;
  }
  42% {
    background-position: 100% 0;
  }
  56% {
    background-position: 0 100%;
  }
  70% {
    background-position: 33.333% 100%;
  }
  84% {
    background-position: 66.666% 100%;
  }
  100% {
    background-position: 100% 100%;
  }
}
.mini-game-board.cupcake {
  display: block;
  min-height: clamp(410px, 58vh, 540px);
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.1),
      rgba(255, 235, 210, 0.32)
    ),
    url("../../data/mini_game_worlds/cupcake_kitchen_world.png") center / cover
      no-repeat;
  overflow: hidden;
}
.mini-cupcake-basket {
  position: absolute;
  left: 50%;
  bottom: 54px;
  width: 92px;
  height: 66px;
  margin-left: -46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 24px;
  background: #fff;
  border: 4px solid #9d4f20;
  font-size: 46px;
  box-shadow: 0 8px 0 rgba(157, 79, 32, 0.22);
  z-index: 3;
  transition:
    filter 0.16s ease,
    transform 0.16s ease;
}
.mini-cupcake-basket.scooping {
  transform: translateY(-10px) scale(1.08);
  filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.95));
}
.mini-cupcake-basket.bumped {
  animation: cupcake-bump 0.16s ease 2;
}
.mini-cupcake-hint {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 126px;
  color: #7b351b;
  font-size: 0.86rem;
  font-weight: 800;
  text-align: center;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.7);
  z-index: 2;
}
@keyframes cupcake-bump {
  0%,
  100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(8px) rotate(4deg);
  }
}
.mini-game-board.paint-stars {
  display: block;
  min-height: clamp(410px, 58vh, 540px);
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.1),
      rgba(224, 216, 255, 0.24)
    ),
    url("../../data/mini_game_worlds/moon_star_library.png") center / cover no-repeat;
  overflow: hidden;
}
.mini-game-board.paint-stars .mini-prop-paintbrush {
  left: 4%;
  top: 18%;
  opacity: 0.94;
  transform: rotate(-18deg);
}
.mini-library-window {
  position: absolute;
  left: 10%;
  right: 10%;
  top: 28px;
  height: 118px;
  border: 5px solid rgba(80, 86, 158, 0.25);
  border-radius: 24px 24px 12px 12px;
  background:
    radial-gradient(circle at 18% 28%, #fff8b8 0 8px, transparent 9px),
    radial-gradient(circle at 64% 42%, #fff 0 5px, transparent 6px),
    linear-gradient(180deg, #778ee8, #c9edff);
  box-shadow: inset 0 -16px 0 rgba(255, 255, 255, 0.26);
}
.mini-library-window span {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 4px;
  background: rgba(255, 255, 255, 0.72);
}
.mini-library-window span:nth-child(1) {
  left: 33%;
}
.mini-library-window span:nth-child(2) {
  left: 66%;
}
.mini-library-window span:nth-child(3) {
  left: 50%;
  top: 50%;
  width: auto;
  right: 0;
  height: 4px;
}
.mini-library-moon {
  position: absolute;
  right: 16%;
  top: 38px;
  color: #fff7a8;
  font-size: 52px;
  text-shadow: 0 0 18px rgba(255, 255, 255, 0.9);
}
.mini-library-shelf {
  position: absolute;
  left: 4%;
  right: 4%;
  bottom: 20px;
  height: 78px;
  border-radius: 20px;
  background: repeating-linear-gradient(
    90deg,
    #6fa3ff 0 20px,
    #ff82b8 20px 38px,
    #ffd96d 38px 58px,
    #9ee6c4 58px 76px
  );
  border: 4px solid rgba(82, 65, 135, 0.18);
  box-shadow: inset 0 12px 0 rgba(255, 255, 255, 0.25);
}
.mini-paint-hint {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 110px;
  color: #4c3b8e;
  font-size: 0.9rem;
  font-weight: 800;
  text-align: center;
  z-index: 2;
}
.mini-paint-star {
  position: absolute;
  width: 64px;
  height: 64px;
  margin-left: -32px;
  margin-top: -32px;
  display: grid;
  place-items: center;
  border: 3px dashed rgba(107, 34, 71, 0.42);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.74);
  color: #a56a8a;
  font-size: 40px;
  line-height: 1;
  font-family: "Arial Rounded MT Bold", "Trebuchet MS", Arial, sans-serif;
  cursor: pointer;
  z-index: 3;
  box-shadow: 0 10px 22px rgba(87, 65, 147, 0.18);
  transition:
    transform 0.18s ease,
    opacity 0.18s ease,
    background 0.18s ease;
}
.mini-paint-star.painted {
  border-style: solid;
  color: #fff;
  text-shadow: 0 2px 5px rgba(80, 30, 70, 0.24);
  transform: rotate(8deg) scale(1.06);
}
.mini-paint-star.nearby::after,
.mini-paint-star.pattern-next::after,
.mini-paint-star.painted::after {
  position: absolute;
  left: 50%;
  bottom: -16px;
  transform: translateX(-50%);
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: #7a2a60;
  font:
    900 11px "Arial Rounded MT Bold",
    "Trebuchet MS",
    Arial,
    sans-serif;
  line-height: 1;
  box-shadow: 0 5px 10px rgba(87, 65, 147, 0.14);
}
.mini-paint-star.nearby::after {
  content: "paint";
}
.mini-paint-star.pattern-next::after {
  content: attr(data-paint-cue);
  bottom: -20px;
  min-width: 54px;
  padding: 4px 9px;
  border: 2px solid rgba(255, 216, 107, 0.82);
  background: rgba(255, 250, 226, 0.96);
  color: #7a5514;
  font-size: 12px;
  text-transform: uppercase;
}
.mini-paint-star.painted::after {
  content: attr(data-paint-cue);
  border: 2px solid rgba(123, 224, 160, 0.75);
  background: rgba(239, 255, 235, 0.94);
  color: #237c42;
}
.mini-paint-star.comet {
  border-style: solid;
  border-color: rgba(255, 216, 107, 0.8);
  background: radial-gradient(circle at 34% 28%, #fff, #ffe78f 48%, #c89bff);
  color: #8a2f64;
  box-shadow:
    0 10px 22px rgba(87, 65, 147, 0.18),
    0 0 24px rgba(255, 216, 107, 0.68);
}
.mini-game-board.paint-stars.constellation-glow .mini-library-window {
  filter: drop-shadow(0 0 18px rgba(255, 255, 255, 0.9))
    drop-shadow(0 0 20px rgba(255, 216, 107, 0.54));
}
.mini-paint-star.pink {
  background: #ff75b6;
}
.mini-paint-star.gold {
  background: #ffd86b;
}
.mini-paint-star.blue {
  background: #72cfff;
}
.mini-paint-star.mint {
  background: #7be0a0;
}
.mini-paint-star.grape {
  background: #b57cff;
}
.mini-pad.lit,
.mini-choice:hover,
.mini-dance:hover {
  background: linear-gradient(180deg, #fff6c9 0%, #ffd86b 100%);
  border-color: #ffb400;
}
.mini-dance {
  font-size: 42px;
}
.mini-floating-token,
.mini-bubble {
  position: absolute;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.78);
  background: radial-gradient(circle at 34% 28%, #fff, #ff6f9f 52%, #b03579);
  color: #fff;
  font-size: 34px;
  font-weight: 700;
  cursor: pointer;
  touch-action: manipulation;
  box-shadow:
    0 12px 26px rgba(176, 53, 121, 0.34),
    inset 0 0 18px rgba(255, 255, 255, 0.56);
  animation: mini-float 1.8s ease-in-out infinite alternate;
}
.mini-floating-token:nth-child(2n),
.mini-bubble:nth-child(2n) {
  animation-delay: -0.8s;
}
.mini-floating-token.next-scan-token {
  animation: none;
  outline: 5px solid rgba(255, 255, 255, 0.96);
  box-shadow:
    0 0 0 8px rgba(255, 216, 107, 0.64),
    0 12px 26px rgba(176, 53, 121, 0.34),
    inset 0 0 18px rgba(255, 255, 255, 0.56);
}
.mini-floating-token.next-scan-token::after {
  content: attr(data-scan-clue);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 8px);
  max-width: 132px;
  padding: 4px 8px;
  border: 2px solid rgba(255, 216, 107, 0.82);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: #6b2247;
  font:
    900 11px/1 "Arial Rounded MT Bold",
    "Trebuchet MS",
    Arial,
    sans-serif;
  text-transform: uppercase;
  transform: translateX(-50%);
  white-space: nowrap;
  pointer-events: none;
  box-shadow: 0 5px 12px rgba(107, 34, 71, 0.16);
}
.mini-floating-token.scan-wait-token {
  animation: none;
  border-color: rgba(255, 216, 107, 0.92);
  box-shadow:
    0 0 0 6px rgba(255, 216, 107, 0.22),
    0 12px 26px rgba(176, 53, 121, 0.24),
    inset 0 0 18px rgba(255, 255, 255, 0.56);
}
.mini-floating-token.scan-wait-token::after {
  content: "wait";
  position: absolute;
  left: 50%;
  bottom: calc(100% + 8px);
  padding: 4px 8px;
  border: 2px solid rgba(255, 216, 107, 0.82);
  border-radius: 999px;
  background: rgba(255, 247, 200, 0.96);
  color: #7a3f00;
  font:
    900 11px/1 "Arial Rounded MT Bold",
    "Trebuchet MS",
    Arial,
    sans-serif;
  text-transform: uppercase;
  transform: translateX(-50%);
  white-space: nowrap;
  pointer-events: none;
  box-shadow: 0 5px 12px rgba(107, 34, 71, 0.14);
}
.mini-floating-token.caught,
.mini-bubble.popped {
  transform: scale(1.8);
  opacity: 0;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}
.mini-bubble {
  background: radial-gradient(circle at 28% 25%, #fff, #bff7ff 48%, #6ab3ff);
  color: #4f2a6f;
  transform: translate(-50%, -50%);
}
.mini-bubble.popped {
  transform: translate(-50%, -50%) scale(1.8);
}
@keyframes mini-float {
  from {
    translate: 0 -8px;
  }
  to {
    translate: 0 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .mini-floating-token,
  .mini-bubble {
    animation: none;
  }
}

/* ---------- Royal Word Family Sort ---------- */
.mini-game-board.word-families {
  min-height: clamp(420px, 62vh, 680px);
  padding: 0;
  border-color: rgba(93, 170, 166, 0.5);
  background: #f6d7c9;
}
.word-family-stage {
  position: relative;
  box-sizing: border-box;
  display: grid;
  grid-template-rows: auto auto minmax(120px, 1fr) auto;
  gap: clamp(10px, 2vw, 18px);
  width: 100%;
  min-height: inherit;
  padding: clamp(12px, 2vw, 24px);
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 248, 235, 0.08), rgba(48, 22, 58, 0.16)),
    url("../../data/word_families/word-family-reading-nook-3d.png") center / cover
      no-repeat;
  isolation: isolate;
}
.word-family-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(255, 247, 232, 0.08), transparent 38%),
    radial-gradient(circle at 52% 42%, rgba(255, 255, 255, 0.22), transparent 35%),
    linear-gradient(0deg, rgba(38, 19, 44, 0.32), transparent 45%);
  pointer-events: none;
}
.word-family-card-tray,
.word-family-baskets,
.word-family-reading-level,
.word-family-voice-ladder {
  position: relative;
  z-index: 1;
}
.word-family-reading-level {
  display: grid;
  gap: 3px;
  width: min(100%, 980px);
  margin: 0 auto;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 8px;
  background: rgba(255, 250, 238, 0.82);
  color: #3f315d;
  box-shadow: 0 12px 28px rgba(58, 31, 55, 0.2);
  backdrop-filter: blur(5px);
}
.word-family-level-badge {
  font:
    800 12px/1.1 "Arial Rounded MT Bold",
    "Trebuchet MS",
    Arial,
    sans-serif;
  color: #7d5278;
  text-transform: uppercase;
}
.word-family-level-title {
  font:
    900 clamp(18px, 2.1vw, 26px) / 1.05 "Georgia",
    serif;
}
.word-family-level-prompt {
  font:
    800 clamp(12px, 1.5vw, 15px) / 1.25 "Arial Rounded MT Bold",
    "Trebuchet MS",
    Arial,
    sans-serif;
  color: #4f607a;
}
.word-family-voice-ladder {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(7px, 1vw, 12px);
  width: min(100%, 980px);
  margin: 0 auto;
}
.word-family-voice-step {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas:
    "num label"
    "num prompt";
  align-items: center;
  gap: 2px 8px;
  min-height: 54px;
  padding: 7px 9px;
  border: 2px solid rgba(255, 255, 255, 0.78);
  border-radius: 8px;
  background: rgba(246, 255, 242, 0.82);
  color: #31465d;
  box-shadow: 0 10px 22px rgba(54, 34, 70, 0.18);
  cursor: pointer;
  text-align: left;
}
.word-family-voice-step span {
  grid-area: num;
  display: grid;
  place-items: center;
  width: 30px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #ffe27d;
  color: #533359;
  font:
    900 15px/1 "Arial Rounded MT Bold",
    "Trebuchet MS",
    Arial,
    sans-serif;
}
.word-family-voice-step strong {
  grid-area: label;
  font:
    900 14px/1.05 "Arial Rounded MT Bold",
    "Trebuchet MS",
    Arial,
    sans-serif;
}
.word-family-voice-step em {
  grid-area: prompt;
  font:
    800 11px/1.15 "Arial Rounded MT Bold",
    "Trebuchet MS",
    Arial,
    sans-serif;
  color: #58667b;
}
.word-family-voice-step:focus-visible {
  outline: 4px solid rgba(255, 223, 102, 0.95);
  outline-offset: 2px;
}
.word-family-voice-step:hover {
  border-color: #7bded1;
  background: rgba(255, 255, 247, 0.92);
  transform: translateY(-2px);
}
.word-family-card-tray {
  align-self: start;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(92px, 1fr));
  gap: clamp(8px, 1.3vw, 14px);
  width: min(100%, 980px);
  margin: 0 auto;
  padding: clamp(8px, 1.6vw, 14px);
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 8px;
  background: rgba(42, 26, 55, 0.28);
  box-shadow: 0 16px 36px rgba(58, 31, 55, 0.22);
  backdrop-filter: blur(5px);
}
.word-family-card {
  display: grid;
  place-items: center;
  gap: 4px;
  min-width: 0;
  min-height: 92px;
  padding: 8px 6px;
  border: 2px solid rgba(255, 255, 255, 0.88);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 240, 218, 0.9)),
    #fff6e8;
  color: #4a2854;
  box-shadow: 0 9px 18px rgba(68, 31, 64, 0.18);
  cursor: grab;
  touch-action: none;
  user-select: none;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    border-color 0.15s ease;
}
.word-family-card:focus-visible,
.word-family-basket:focus-visible {
  outline: 4px solid rgba(255, 223, 102, 0.95);
  outline-offset: 2px;
}
.word-family-card:hover,
.word-family-card.selected {
  border-color: #ffd866;
  box-shadow: 0 12px 24px rgba(76, 35, 75, 0.28);
  transform: translateY(-3px);
}
.word-family-card.dragging {
  z-index: 8;
  opacity: 0.92;
  cursor: grabbing;
  transform: scale(1.06);
}
.word-family-card.placed {
  min-height: 74px;
  cursor: default;
  box-shadow: 0 6px 14px rgba(67, 37, 48, 0.16);
}
.word-family-picture {
  display: grid;
  place-items: center;
  width: 48px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 25%, #ffffff, #dff7ef 58%, #98cfc8);
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1;
}
.word-family-card strong {
  max-width: 100%;
  font:
    900 clamp(15px, 1.9vw, 20px) / 1 "Arial Rounded MT Bold",
    "Trebuchet MS",
    Arial,
    sans-serif;
  letter-spacing: 0;
  overflow-wrap: anywhere;
  text-transform: lowercase;
}
.word-family-context {
  display: block;
  max-width: 100%;
  color: #6a3d63;
  font:
    800 clamp(11px, 1.25vw, 13px) / 1.18 "Trebuchet MS",
    Arial,
    sans-serif;
  overflow-wrap: anywhere;
  text-align: center;
}
.word-family-baskets {
  align-self: end;
  display: grid;
  grid-template-columns: repeat(var(--word-family-baskets, 3), minmax(0, 1fr));
  gap: clamp(10px, 1.8vw, 18px);
  width: min(100%, 940px);
  margin: 0 auto;
}
.word-family-basket {
  display: grid;
  gap: 6px;
  min-height: 178px;
  padding: 12px;
  border: 2px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  background: rgba(255, 249, 235, 0.74);
  color: #3b315f;
  box-shadow: 0 16px 34px rgba(60, 33, 54, 0.2);
  backdrop-filter: blur(4px);
  cursor: pointer;
  transition:
    transform 0.16s ease,
    border-color 0.16s ease,
    background 0.16s ease;
}
.word-family-basket.over,
.word-family-basket:hover {
  border-color: #7bded1;
  background: rgba(255, 255, 247, 0.88);
  transform: translateY(-3px);
}
.word-family-basket.needs-helper {
  animation: word-family-helper 0.42s ease;
}
.word-family-basket > strong {
  font:
    900 clamp(24px, 3vw, 34px) / 1 "Georgia",
    serif;
  color: #7a3f7d;
}
.word-family-basket > span {
  font:
    800 12px/1.2 "Arial Rounded MT Bold",
    "Trebuchet MS",
    Arial,
    sans-serif;
  color: #4d5874;
}
.word-family-drop-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  min-height: 78px;
}
.word-family-drop-list .word-family-card {
  min-height: 68px;
  padding: 5px;
}
.word-family-drop-list .word-family-picture {
  width: 36px;
  font-size: 24px;
}
.word-family-drop-list .word-family-card strong {
  font-size: 13px;
}
.word-family-live {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
@keyframes word-family-helper {
  0%,
  100% {
    transform: translateY(0);
  }
  35% {
    transform: translateY(-5px);
  }
  70% {
    transform: translateY(4px);
  }
}
@media (max-width: 760px) {
  .mini-game-board.word-families {
    min-height: min(660px, calc(100vh - 156px));
  }
  .word-family-stage {
    grid-template-rows: auto auto auto 1fr;
    gap: 7px;
    width: 100%;
    max-width: 100%;
    padding: 8px;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .word-family-card-tray,
  .word-family-baskets,
  .word-family-reading-level,
  .word-family-voice-ladder {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .word-family-reading-level {
    padding: 7px 9px;
  }
  .word-family-level-title {
    font-size: 17px;
  }
  .word-family-level-prompt {
    font-size: 11px;
  }
  .word-family-voice-ladder {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }
  .word-family-voice-step {
    min-height: 46px;
    padding: 5px 7px;
  }
  .word-family-voice-step span {
    width: 26px;
    font-size: 13px;
  }
  .word-family-voice-step strong {
    font-size: 12px;
  }
  .word-family-voice-step em {
    font-size: 10px;
  }
  .word-family-card-tray {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    padding: 7px;
  }
  .word-family-card {
    min-height: 58px;
    gap: 2px;
    padding: 5px 4px;
  }
  .word-family-picture {
    width: 32px;
    font-size: 23px;
  }
  .word-family-card strong {
    font-size: 13px;
  }
  .word-family-context {
    font-size: 10px;
    line-height: 1.12;
  }
  .word-family-baskets {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .word-family-basket {
    min-height: 112px;
    grid-template-columns: auto 1fr;
    align-items: center;
    padding: 8px 10px;
  }
  .word-family-basket > strong {
    font-size: 24px;
  }
  .word-family-basket > span {
    justify-self: start;
    font-size: 11px;
  }
  .word-family-drop-list {
    grid-column: 1 / -1;
    min-height: 42px;
  }
}
