.mini-game-board.paint-stars,
.mini-game-board.ribbon-dance,
.mini-game-board.sprout,
.mini-game-board.cupcake-map {
  display: block;
  min-height: clamp(430px, 62vh, 590px);
  padding: 0;
  background: #fff7df;
}
.ribbon-dance-world {
  position: absolute;
  inset: 0;
  overflow: hidden;
  touch-action: none;
  background: #efe5ff;
}
.ribbon-dance-layer {
  position: absolute;
  left: 0;
  top: 0;
  width: 1500px;
  height: 900px;
  pointer-events: none;
  background:
    radial-gradient(
      circle at 18% 18%,
      rgba(255, 255, 255, 0.42) 0 100px,
      transparent 104px
    ),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.12),
      rgba(200, 155, 255, 0.16)
    ),
    url("../../data/mini_game_worlds/ribbon_direction_dance_world.png") center / cover
      no-repeat;
  transition: transform 0.06s linear;
  will-change: transform;
}
.ribbon-dance-layer::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(
      circle at 12% 80%,
      rgba(255, 255, 255, 0.38),
      transparent 17%
    ),
    radial-gradient(
      circle at 82% 14%,
      rgba(255, 216, 107, 0.24),
      transparent 14%
    );
}
.ribbon-dance-path {
  position: absolute;
  left: 180px;
  top: 190px;
  width: 1160px;
  height: 540px;
  border-radius: 48% 44% 50% 42%;
  background: repeating-linear-gradient(
    115deg,
    rgba(255, 138, 192, 0.2) 0 54px,
    rgba(255, 216, 107, 0.2) 54px 108px,
    rgba(200, 155, 255, 0.22) 108px 162px,
    rgba(123, 224, 200, 0.18) 162px 216px
  );
  border: 6px solid rgba(255, 255, 255, 0.42);
  box-shadow: inset 0 0 42px rgba(122, 42, 96, 0.1);
  transform: rotate(-3deg);
  pointer-events: none;
}
.ribbon-dance-card {
  position: absolute;
  left: 180px;
  top: 104px;
  z-index: 5;
  width: 330px;
  padding: 11px 14px;
  border: 3px solid rgba(107, 34, 71, 0.18);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.88);
  color: #5b2142;
  box-shadow: 0 12px 22px rgba(107, 34, 71, 0.14);
}
.ribbon-dance-card b,
.ribbon-dance-card span {
  display: block;
}
.ribbon-dance-card b {
  margin-bottom: 4px;
  color: #8a2f64;
  font:
    900 12px "Arial Rounded MT Bold",
    "Trebuchet MS",
    Arial,
    sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.ribbon-dance-card span {
  font:
    900 17px/1.18 "Georgia",
    serif;
}
.ribbon-dance-avatar {
  position: absolute;
  left: 170px;
  top: 690px;
  z-index: 6;
  width: 72px;
  height: 96px;
  transform: translate(-50%, -78%);
  background: url("../../data/princess4.png") 0 0 / 400% 400% no-repeat;
  filter: drop-shadow(0 11px 12px rgba(91, 33, 66, 0.22));
  pointer-events: none;
}
.ribbon-dance-avatar.moving {
  animation: ruby-maze-step 0.22s ease-in-out infinite;
  background-position: 66.666% 0;
}
.ribbon-dance-avatar.facing-left {
  scale: -1 1;
}
.ribbon-dance-step {
  position: absolute;
  z-index: 8;
  width: 76px;
  height: 76px;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  border: 4px solid rgba(255, 255, 255, 0.76);
  border-radius: 50%;
  background:
    radial-gradient(
      circle at 34% 24%,
      rgba(255, 255, 255, 0.95),
      transparent 30%
    ),
    conic-gradient(from 20deg, #c89bff, #ff8ac0, #ffd86b, #7be0c8, #c89bff);
  color: #6b2247;
  box-shadow: 0 12px 20px rgba(91, 33, 66, 0.2);
  cursor: pointer;
  pointer-events: auto;
  animation: unicorn-map-wish 1.25s ease-in-out infinite alternate;
}
.ribbon-dance-step strong {
  font:
    900 32px "Georgia",
    serif;
}
.ribbon-dance-step em {
  position: absolute;
  left: 50%;
  top: 70px;
  min-width: 68px;
  padding: 3px 8px;
  transform: translateX(-50%);
  border: 2px solid rgba(107, 34, 71, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: #6b2247;
  font:
    900 13px "Arial Rounded MT Bold",
    "Trebuchet MS",
    Arial,
    sans-serif;
  font-style: normal;
  line-height: 1.05;
}
.ribbon-dance-step.next {
  border-color: rgba(255, 216, 107, 0.95);
  box-shadow:
    0 12px 20px rgba(91, 33, 66, 0.2),
    0 0 0 9px rgba(255, 255, 255, 0.48),
    0 0 28px rgba(255, 216, 107, 0.78);
  animation:
    unicorn-map-wish 1s ease-in-out infinite alternate,
    recipe-target-pulse 0.78s ease-in-out infinite alternate;
}
.ribbon-dance-step.waiting {
  opacity: 0.54;
  filter: saturate(0.78);
}
.ribbon-dance-step.bumped {
  animation: unicorn-wait-nudge 0.22s ease;
}
.ribbon-dance-step.collected {
  opacity: 0;
  transform: translate(-50%, -50%) scale(1.55) rotate(12deg);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}
.ribbon-dance-crown {
  position: absolute;
  z-index: 8;
  width: 84px;
  height: 100px;
  transform: translate(-50%, -50%);
  border: 4px solid rgba(255, 255, 255, 0.74);
  border-radius: 999px 999px 18px 18px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.9),
    rgba(255, 216, 107, 0.84)
  );
  color: #8a2f64;
  font-size: 48px;
  cursor: pointer;
  pointer-events: auto;
  opacity: 0.62;
  box-shadow: 0 10px 28px rgba(107, 34, 71, 0.18);
}
.ribbon-dance-crown.ready {
  opacity: 1;
  animation: goal-ready 0.7s ease-in-out infinite alternate;
}
.mini-map-viewport {
  position: absolute;
  inset: 0;
  overflow: hidden;
  touch-action: none;
  background: #eafaff;
}
.mini-map-layer {
  position: absolute;
  left: 0;
  top: 0;
  width: 1500px;
  height: 900px;
  transform: translate(0, 0);
  transition: transform 0.06s linear;
  will-change: transform;
}
.library-map-layer {
  background:
    radial-gradient(
      circle at 18% 20%,
      rgba(255, 255, 255, 0.32) 0 90px,
      transparent 94px
    ),
    radial-gradient(
      circle at 72% 18%,
      rgba(255, 216, 107, 0.22) 0 120px,
      transparent 124px
    ),
    url("../../data/mini_game_worlds/moon_star_library.png") center / cover no-repeat;
}
.greenhouse-map-layer {
  background:
    radial-gradient(
      circle at 18% 18%,
      rgba(255, 255, 255, 0.34) 0 120px,
      transparent 124px
    ),
    linear-gradient(
      180deg,
      rgba(236, 255, 245, 0.15),
      rgba(115, 214, 151, 0.12)
    ),
    url("../../data/mini_game_worlds/mint_greenhouse_world.png") center / cover
      no-repeat;
}
.cupcake-map-layer {
  background:
    radial-gradient(
      circle at 16% 18%,
      rgba(255, 255, 255, 0.34) 0 118px,
      transparent 122px
    ),
    radial-gradient(
      circle at 82% 14%,
      rgba(255, 216, 107, 0.24) 0 116px,
      transparent 120px
    ),
    url("../../data/mini_game_worlds/cupcake_kitchen_world.png") center / cover
      no-repeat;
}
.library-map-layer::before,
.greenhouse-map-layer::before,
.cupcake-map-layer::before {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: 1;
}
.library-map-layer::before {
  left: 130px;
  top: 135px;
  width: 1260px;
  height: 620px;
  border-radius: 42% 48% 38% 44%;
  background:
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.08) 0 44px,
      rgba(255, 216, 107, 0.08) 44px 88px,
      rgba(136, 216, 245, 0.08) 88px 132px
    ),
    rgba(34, 38, 92, 0.08);
  border: 5px dashed rgba(255, 255, 255, 0.42);
  box-shadow:
    inset 0 0 45px rgba(56, 56, 145, 0.16),
    0 0 34px rgba(255, 255, 255, 0.2);
}
.greenhouse-map-layer::before {
  left: 110px;
  top: 220px;
  width: 1300px;
  height: 560px;
  border-radius: 46% 42% 44% 40%;
  background:
    repeating-linear-gradient(
      -18deg,
      rgba(35, 124, 66, 0.18) 0 52px,
      rgba(255, 255, 255, 0.12) 52px 82px,
      rgba(255, 216, 107, 0.12) 82px 118px
    ),
    rgba(224, 255, 232, 0.22);
  border: 5px solid rgba(255, 255, 255, 0.52);
  box-shadow:
    inset 0 0 54px rgba(30, 119, 65, 0.16),
    0 0 36px rgba(126, 237, 176, 0.28);
}
.cupcake-map-layer::before {
  left: 120px;
  top: 245px;
  width: 1280px;
  height: 520px;
  border-radius: 36% 44% 34% 42%;
  background:
    repeating-linear-gradient(
      90deg,
      rgba(255, 138, 192, 0.14) 0 58px,
      rgba(255, 216, 107, 0.16) 58px 116px,
      rgba(255, 255, 255, 0.12) 116px 160px
    ),
    rgba(255, 245, 225, 0.2);
  border: 5px solid rgba(255, 255, 255, 0.54);
  box-shadow:
    inset 0 0 54px rgba(214, 94, 134, 0.14),
    0 0 34px rgba(255, 216, 107, 0.28);
}
.mini-map-layer::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(
      circle at 12% 88%,
      rgba(255, 255, 255, 0.35),
      transparent 16%
    ),
    radial-gradient(
      circle at 88% 12%,
      rgba(255, 216, 107, 0.22),
      transparent 14%
    );
}
.map-window {
  position: absolute;
  left: 1080px;
  top: 115px;
  z-index: 2;
  transform: scale(1.25);
}
.map-moon {
  position: absolute;
  left: 1160px;
  top: 70px;
  z-index: 3;
  font-size: 68px;
  color: #fff6a8;
  text-shadow:
    0 0 16px rgba(255, 246, 168, 0.9),
    0 4px 10px rgba(76, 44, 130, 0.24);
}
.map-shelf {
  position: absolute;
  left: 220px;
  top: 185px;
  z-index: 2;
  width: 360px;
  height: 170px;
  transform: rotate(-2deg);
}
.moon-pattern-card {
  position: absolute;
  left: 600px;
  top: 86px;
  z-index: 5;
  width: 420px;
  padding: 10px 13px;
  border: 3px solid rgba(51, 31, 84, 0.18);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.84);
  color: #5b2142;
  box-shadow: 0 12px 22px rgba(51, 31, 84, 0.14);
  pointer-events: none;
}
.mini-paint-next-cue {
  position: absolute;
  left: 12px;
  right: 12px;
  top: 12px;
  z-index: 6;
  max-width: 430px;
  padding: 8px 12px;
  border: 3px solid rgba(255, 216, 107, 0.7);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  color: #5b2142;
  box-shadow:
    0 10px 20px rgba(51, 31, 84, 0.12),
    0 0 18px rgba(255, 216, 107, 0.36);
  pointer-events: none;
}
.mini-paint-next-cue b,
.mini-paint-next-cue span {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
}
.mini-paint-next-cue b {
  color: #8a2f64;
  font:
    900 16px/1.05 "Arial Rounded MT Bold",
    "Trebuchet MS",
    Arial,
    sans-serif;
}
.mini-paint-next-cue span {
  margin-top: 3px;
  color: #4c3b8e;
  font:
    900 12px/1.2 "Trebuchet MS",
    Arial,
    sans-serif;
}
.mini-paint-next-cue[data-color="pink"] {
  border-color: rgba(255, 117, 182, 0.72);
}
.mini-paint-next-cue[data-color="gold"] {
  border-color: rgba(255, 216, 107, 0.86);
}
.mini-paint-next-cue[data-color="blue"] {
  border-color: rgba(114, 207, 255, 0.76);
}
.mini-paint-next-cue[data-color="mint"] {
  border-color: rgba(123, 224, 160, 0.78);
}
.mini-paint-next-cue[data-color="grape"] {
  border-color: rgba(181, 124, 255, 0.76);
}
.moon-pattern-card b {
  display: block;
  margin-bottom: 6px;
  color: #8a2f64;
  font:
    900 12px "Arial Rounded MT Bold",
    "Trebuchet MS",
    Arial,
    sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.moon-pattern-card span {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
}
.moon-pattern-card i {
  min-width: 0;
  padding: 5px 6px;
  border: 2px solid rgba(91, 33, 66, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  font:
    900 12px "Arial Rounded MT Bold",
    "Trebuchet MS",
    Arial,
    sans-serif;
  font-style: normal;
  text-align: center;
  text-transform: lowercase;
}
.moon-pattern-card i.pink {
  color: #9f2362;
  background: rgba(255, 158, 199, 0.25);
}
.moon-pattern-card i.gold {
  color: #7a5514;
  background: rgba(255, 216, 107, 0.28);
}
.moon-pattern-card i.blue {
  color: #17688c;
  background: rgba(136, 216, 245, 0.3);
}
.moon-pattern-card i.mint {
  color: #237c42;
  background: rgba(156, 240, 177, 0.28);
}
.moon-pattern-card i.grape {
  color: #6540a7;
  background: rgba(200, 155, 255, 0.28);
}
.moon-pattern-card i.current {
  border-color: rgba(255, 216, 107, 0.92);
  box-shadow:
    0 0 0 4px rgba(255, 255, 255, 0.46),
    0 0 16px rgba(255, 216, 107, 0.68);
}
.greenhouse-map-bed {
  position: absolute;
  left: 170px;
  top: 515px;
  z-index: 2;
  width: 1160px;
  height: 220px;
  border-radius: 999px 999px 38px 38px;
  background:
    radial-gradient(
      circle at 14% 45%,
      rgba(255, 216, 107, 0.28) 0 36px,
      transparent 38px
    ),
    radial-gradient(
      circle at 72% 42%,
      rgba(255, 138, 192, 0.22) 0 42px,
      transparent 44px
    ),
    linear-gradient(180deg, rgba(91, 176, 91, 0.34), rgba(29, 119, 61, 0.46));
  border: 5px solid rgba(255, 255, 255, 0.58);
  box-shadow: inset 0 -22px 0 rgba(35, 124, 66, 0.16);
}
.greenhouse-map-can {
  position: absolute;
  left: 1165px;
  top: 285px;
  z-index: 3;
  transform: scale(1.22) rotate(5deg);
}
.plant-story-card {
  position: absolute;
  left: 510px;
  top: 94px;
  z-index: 5;
  width: 500px;
  padding: 10px 13px;
  border: 3px solid rgba(35, 124, 66, 0.18);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.86);
  color: #1f6e3b;
  box-shadow: 0 12px 22px rgba(20, 96, 43, 0.14);
  pointer-events: none;
}
.plant-story-card b {
  display: block;
  margin-bottom: 6px;
  color: #237c42;
  font:
    900 12px "Arial Rounded MT Bold",
    "Trebuchet MS",
    Arial,
    sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.plant-story-card span {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}
.plant-story-card i {
  min-width: 0;
  padding: 5px 6px;
  border: 2px solid rgba(35, 124, 66, 0.14);
  border-radius: 999px;
  background: rgba(241, 255, 249, 0.88);
  color: #237c42;
  font:
    900 12px "Arial Rounded MT Bold",
    "Trebuchet MS",
    Arial,
    sans-serif;
  font-style: normal;
  text-align: center;
  text-transform: lowercase;
}
.plant-story-card i.current {
  border-color: rgba(255, 216, 107, 0.92);
  background: rgba(255, 250, 225, 0.92);
  color: #7a5514;
  box-shadow:
    0 0 0 4px rgba(255, 255, 255, 0.46),
    0 0 16px rgba(255, 216, 107, 0.68);
}
.plant-story-card i.done {
  border-color: rgba(123, 224, 200, 0.78);
  background: rgba(220, 255, 241, 0.9);
  color: #237c42;
}
.plant-story-card i.done::before {
  content: "✓ ";
}
.cupcake-map-counter {
  position: absolute;
  left: 150px;
  top: 595px;
  z-index: 2;
  width: 1210px;
  height: 150px;
  border-radius: 34px;
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.68),
      rgba(255, 230, 195, 0.72)
    ),
    repeating-linear-gradient(
      90deg,
      rgba(176, 53, 121, 0.12) 0 80px,
      rgba(255, 216, 107, 0.18) 80px 160px
    );
  border: 5px solid rgba(255, 255, 255, 0.64);
  box-shadow: 0 18px 28px rgba(107, 34, 71, 0.16);
}
.cupcake-map-oven {
  position: absolute;
  left: 1120px;
  top: 245px;
  z-index: 3;
  width: 160px;
  height: 145px;
  border: 6px solid rgba(107, 34, 71, 0.42);
  border-radius: 26px;
  background: linear-gradient(180deg, #fff5cf, #ffb86c);
  box-shadow:
    inset 0 -18px 0 rgba(176, 53, 121, 0.16),
    0 0 24px rgba(255, 216, 107, 0.48);
  cursor: pointer;
  transition:
    filter 0.18s ease,
    transform 0.18s ease;
}
.cupcake-map-oven.ready {
  filter: drop-shadow(0 0 16px rgba(255, 255, 255, 0.9))
    drop-shadow(0 0 22px rgba(255, 216, 107, 0.82));
  animation: cupcake-oven-ready 0.72s ease-in-out infinite alternate;
}
.cupcake-map-oven.baking {
  animation: cupcake-oven-bake 0.42s ease-in-out 2;
}
.cupcake-map-oven span {
  position: absolute;
  bottom: 22px;
  width: 26px;
  height: 38px;
  border-radius: 999px 999px 18px 18px;
  background: #fff6a8;
  box-shadow: 0 0 16px rgba(255, 216, 107, 0.9);
}
.cupcake-map-oven span:nth-child(1) {
  left: 36px;
}
.cupcake-map-oven span:nth-child(2) {
  left: 68px;
  height: 52px;
}
.cupcake-map-oven span:nth-child(3) {
  left: 100px;
}
.cupcake-map-pantry {
  position: absolute;
  left: 220px;
  top: 185px;
  z-index: 3;
  width: 330px;
  height: 155px;
  border-radius: 22px;
  background:
    radial-gradient(circle at 18% 45%, #ff8ac0 0 22px, transparent 24px),
    radial-gradient(circle at 45% 36%, #ffd86b 0 20px, transparent 22px),
    radial-gradient(circle at 72% 46%, #7be0c8 0 22px, transparent 24px),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.78),
      rgba(255, 230, 245, 0.62)
    );
  border: 5px solid rgba(255, 255, 255, 0.64);
  box-shadow: 0 14px 24px rgba(107, 34, 71, 0.16);
  display: none;
}
.cupcake-map-recipe-board {
  position: absolute;
  left: 50%;
  top: clamp(76px, 10vh, 92px);
  z-index: 9;
  width: min(400px, calc(100% - 148px));
  aspect-ratio: 3 / 2;
  transform: translateX(-50%);
  background: url("../../data/mini_game_art/cupcake_recipe_board_generated.png")
    center / contain no-repeat;
  filter: drop-shadow(0 18px 20px rgba(107, 34, 71, 0.18)) saturate(1.05);
  cursor: pointer;
  pointer-events: auto;
}
.cupcake-map-recipe-board.show-placement {
  animation: recipe-board-placed-glow 0.78s ease both;
}
.cupcake-map-guide {
  position: absolute;
  left: 50%;
  top: 20px;
  z-index: 12;
  max-width: min(500px, calc(100% - 36px));
  padding: 10px 18px;
  border: 4px solid rgba(255, 216, 107, 0.88);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: #8a2f64;
  transform: translateX(-50%);
  font:
    900 20px/1.1 "Arial Rounded MT Bold",
    "Trebuchet MS",
    Arial,
    sans-serif;
  text-align: center;
  box-shadow:
    0 10px 18px rgba(107, 34, 71, 0.15),
    0 0 22px rgba(255, 216, 107, 0.42);
  pointer-events: none;
}
.cupcake-bake-now {
  position: absolute;
  right: 18px;
  bottom: 138px;
  z-index: 12;
  min-width: 156px;
  min-height: 56px;
  padding: 10px 18px;
  border: 4px solid rgba(107, 34, 71, 0.26);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: rgba(107, 34, 71, 0.42);
  font:
    900 17px/1 "Arial Rounded MT Bold",
    "Trebuchet MS",
    Arial,
    sans-serif;
  box-shadow: 0 10px 18px rgba(107, 34, 71, 0.12);
  cursor: default;
  opacity: 0.42;
  transition:
    opacity 0.18s ease,
    scale 0.18s ease,
    filter 0.18s ease;
}
.cupcake-bake-now.ready {
  opacity: 1;
  cursor: pointer;
  background: linear-gradient(180deg, #fff8cf, #ffcf75);
  color: #7a351b;
  border-color: rgba(255, 216, 107, 0.95);
  box-shadow:
    0 12px 18px rgba(107, 34, 71, 0.18),
    0 0 0 8px rgba(255, 255, 255, 0.48),
    0 0 26px rgba(255, 216, 107, 0.82);
}
.cupcake-bake-now:focus-visible {
  outline: 4px solid rgba(123, 224, 200, 0.9);
  outline-offset: 3px;
}
.recipe-board-confirmation {
  position: absolute;
  left: 50%;
  top: 44%;
  z-index: 6;
  min-width: 176px;
  padding: 10px 15px 11px;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas:
    "icon word"
    "icon step";
  column-gap: 11px;
  align-items: center;
  border: 4px solid rgba(255, 216, 107, 0.9);
  border-radius: 24px;
  background:
    radial-gradient(
      circle at 24% 22%,
      rgba(255, 255, 255, 0.96),
      transparent 30%
    ),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.96),
      rgba(255, 243, 190, 0.94)
    );
  box-shadow:
    0 12px 20px rgba(107, 34, 71, 0.2),
    0 0 0 8px rgba(255, 255, 255, 0.38),
    0 0 26px rgba(255, 216, 107, 0.72);
  color: #8a2f64;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.72);
}
.cupcake-map-recipe-board.show-placement .recipe-board-confirmation {
  animation: recipe-placement-pop 0.78s ease both;
}
.recipe-board-confirmation span {
  grid-area: icon;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: #fff;
  font-size: 34px;
  box-shadow: inset 0 0 0 3px rgba(255, 216, 107, 0.36);
}
.recipe-board-confirmation strong {
  grid-area: word;
  font:
    900 19px "Arial Rounded MT Bold",
    "Trebuchet MS",
    Arial,
    sans-serif;
}
.recipe-board-confirmation small {
  grid-area: step;
  font:
    900 12px "Arial Rounded MT Bold",
    "Trebuchet MS",
    Arial,
    sans-serif;
  letter-spacing: 0;
  text-transform: uppercase;
  color: #b03579;
}
.recipe-board-status {
  position: absolute;
  left: 50%;
  top: 58px;
  transform: translateX(-50%);
  min-width: 124px;
  padding: 5px 14px;
  border: 3px solid rgba(255, 216, 107, 0.78);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: #8a2f64;
  font:
    900 17px "Arial Rounded MT Bold",
    "Trebuchet MS",
    Arial,
    sans-serif;
  text-align: center;
  box-shadow: 0 7px 14px rgba(107, 34, 71, 0.14);
}
.recipe-board-equation {
  position: absolute;
  left: 50%;
  top: 102px;
  transform: translateX(-50%);
  min-width: 168px;
  padding: 4px 12px;
  border: 2px solid rgba(176, 53, 121, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: #5f2b86;
  font:
    900 15px/1 "Arial Rounded MT Bold",
    "Trebuchet MS",
    Arial,
    sans-serif;
  text-align: center;
}
.recipe-board-slots {
  position: absolute;
  left: 42px;
  right: 42px;
  bottom: 28px;
  height: 78px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(58px, 1fr));
  gap: 10px;
  align-items: center;
}
.recipe-board-slots b {
  position: relative;
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  justify-self: center;
  border: 4px solid rgba(255, 216, 107, 0.62);
  border-radius: 24px;
  background:
    radial-gradient(
      circle at 34% 24%,
      rgba(255, 255, 255, 0.96),
      transparent 28%
    ),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.88),
      rgba(255, 242, 188, 0.86)
    );
  color: #7a2a60;
  font-size: 44px;
  font-style: normal;
  box-shadow:
    inset 0 0 0 3px rgba(255, 255, 255, 0.46),
    0 9px 16px rgba(107, 34, 71, 0.14);
}
.recipe-board-slots b::after {
  content: attr(data-step);
  position: absolute;
  right: -16px;
  top: -10px;
  min-width: 34px;
  height: 26px;
  padding: 0 5px;
  display: grid;
  place-items: center;
  border: 3px solid rgba(107, 34, 71, 0.28);
  border-radius: 999px;
  background: #fff;
  color: #8a2f64;
  font:
    900 12px "Arial Rounded MT Bold",
    "Trebuchet MS",
    Arial,
    sans-serif;
  box-shadow: 0 5px 10px rgba(107, 34, 71, 0.16);
}
.recipe-board-slots b.current {
  border-color: rgba(255, 138, 192, 0.95);
  cursor: pointer;
  box-shadow:
    0 0 0 8px rgba(255, 255, 255, 0.46),
    0 0 28px rgba(255, 216, 107, 0.86);
  animation: recipe-target-pulse 0.78s ease-in-out infinite alternate;
}
.recipe-board-slots b.done {
  border-color: rgba(123, 224, 200, 0.95);
  background:
    radial-gradient(
      circle at 34% 24%,
      rgba(255, 255, 255, 0.98),
      transparent 30%
    ),
    linear-gradient(180deg, #eafff7, #7be0c8);
  transform: scale(0.92);
  box-shadow:
    inset 0 0 0 3px rgba(255, 255, 255, 0.56),
    0 0 0 7px rgba(123, 224, 200, 0.24),
    0 12px 18px rgba(35, 124, 66, 0.16);
}
.recipe-board-slots b.done::before {
  content: "✓";
  position: absolute;
  left: -9px;
  top: -9px;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #7be0c8;
  color: #fff;
  font:
    900 15px "Arial Rounded MT Bold",
    "Trebuchet MS",
    Arial,
    sans-serif;
  box-shadow: 0 5px 10px rgba(35, 124, 66, 0.18);
}
.recipe-board-slots b.done::after {
  content: "on board";
  right: 50%;
  top: auto;
  bottom: -16px;
  width: auto;
  min-width: 62px;
  height: 22px;
  padding: 0 8px;
  transform: translateX(50%);
  border-color: rgba(35, 124, 66, 0.2);
  border-radius: 999px;
  background: #f1fff9;
  color: #237c42;
  font-size: 10px;
  text-transform: uppercase;
}
.paint-map-avatar,
.mini-water-princess.map-avatar,
.cupcake-map-avatar {
  position: absolute;
  z-index: 6;
  pointer-events: none;
  transform: translate(-50%, -50%);
}
.paint-map-avatar {
  width: 72px;
  height: 72px;
  filter: drop-shadow(0 10px 14px rgba(51, 31, 84, 0.22));
}
.mini-paint-range,
.mini-water-range {
  position: absolute;
  z-index: 4;
  width: 184px;
  height: 184px;
  margin-left: -92px;
  margin-top: -92px;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.28;
  transform: scale(0.78);
  transition:
    opacity 0.16s ease,
    transform 0.16s ease;
}
.mini-paint-range {
  border: 4px dashed rgba(255, 216, 107, 0.62);
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.16),
    rgba(136, 216, 245, 0.08) 58%,
    transparent 60%
  );
}
.mini-water-range {
  border: 4px dashed rgba(90, 211, 134, 0.66);
  background: radial-gradient(
    circle,
    rgba(210, 255, 232, 0.18),
    rgba(123, 224, 200, 0.08) 58%,
    transparent 60%
  );
}
.mini-paint-range.active,
.mini-water-range.active {
  opacity: 0.72;
  transform: scale(1);
}
.mini-water-princess.map-avatar {
  --mint-scale-x: 1;
  width: 150px;
  height: 150px;
  z-index: 7;
  background-image: url("../../data/mint_bloom/princess_watering_4x3_alpha.png?v=fresh-imagegen-down-row-1");
  background-repeat: no-repeat;
  background-size: 600px 600px;
  background-position: 0 0;
  filter: drop-shadow(0 14px 14px rgba(20, 96, 43, 0.22))
    drop-shadow(0 0 12px rgba(187, 255, 224, 0.38));
  transform: translate(-50%, -66%) scaleX(var(--mint-scale-x));
  transform-origin: 50% 88%;
  image-rendering: auto;
}
.mini-water-princess.map-avatar.facing-left {
  --mint-scale-x: -1;
}
.mini-water-princess.map-avatar.watering.facing-left {
  --mint-scale-x: -1;
}
.mini-water-princess.map-avatar.facing-up {
  filter: drop-shadow(0 14px 14px rgba(20, 96, 43, 0.22))
    drop-shadow(0 0 12px rgba(187, 255, 224, 0.38)) brightness(1.03);
}
.mini-water-princess.map-avatar.facing-down {
  translate: 0 2px;
}
.mini-water-princess.map-avatar.moving {
  filter: drop-shadow(0 16px 14px rgba(20, 96, 43, 0.24))
    drop-shadow(0 0 14px rgba(187, 255, 224, 0.5));
}
.mini-water-princess.map-avatar.watering {
  animation: mint-princess-water 0.36s ease-in-out;
  filter: drop-shadow(0 14px 14px rgba(20, 96, 43, 0.22))
    drop-shadow(0 0 18px rgba(187, 255, 224, 0.92))
    drop-shadow(0 0 20px rgba(255, 216, 107, 0.42));
}
.mini-water-princess.map-avatar.celebrating {
  background-position: 100% 50%;
}
.cupcake-map-avatar {
  left: 165px;
  top: 650px;
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  border: 4px solid rgba(107, 34, 71, 0.35);
  border-radius: 50%;
  background: radial-gradient(circle at 34% 24%, #fff, #ffe2f0 42%, #ff8ac0);
  box-shadow:
    0 12px 18px rgba(107, 34, 71, 0.22),
    0 0 18px rgba(255, 216, 107, 0.52);
  font-size: 38px;
}
.cupcake-map-avatar.scooping {
  transform: translate(-50%, -58%) scale(1.08);
  filter: drop-shadow(0 0 14px rgba(255, 216, 107, 0.95));
}
.mini-water-princess.map-avatar.watering {
  transform: translate(-50%, -68%) scaleX(var(--mint-scale-x)) scale(1.06);
}
.mini-water-spray {
  position: absolute;
  z-index: 6;
  width: 150px;
  height: 94px;
  margin-left: 22px;
  margin-top: -94px;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%) rotate(-14deg) scale(0.7);
  transform-origin: 12% 82%;
}
.mini-water-spray::before,
.mini-water-spray::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    radial-gradient(
      circle at 78% 24%,
      rgba(255, 255, 255, 0.95) 0 5px,
      transparent 6px
    ),
    radial-gradient(
      circle at 64% 42%,
      rgba(141, 235, 255, 0.88) 0 5px,
      transparent 6px
    ),
    radial-gradient(
      circle at 84% 62%,
      rgba(187, 255, 224, 0.9) 0 4px,
      transparent 5px
    ),
    radial-gradient(
      circle at 54% 70%,
      rgba(255, 255, 255, 0.86) 0 3px,
      transparent 4px
    );
  border-top: 8px dotted rgba(141, 235, 255, 0.78);
  filter: drop-shadow(0 0 10px rgba(187, 255, 224, 0.74));
}
.mini-water-spray::after {
  inset: 16px 8px 0 20px;
  opacity: 0.72;
  transform: rotate(12deg);
}
.mini-water-spray.active {
  opacity: 1;
  animation: mint-water-spray 0.28s ease-out both;
}
@keyframes mint-princess-water {
  0% {
    background-position: -300px -150px;
    rotate: -2deg;
  }
  50% {
    background-position: -300px -150px;
    rotate: 3deg;
  }
  100% {
    background-position: -300px -150px;
    rotate: 0deg;
  }
}
@keyframes mint-water-spray {
  from {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(-18deg) scale(0.48);
  }
  35% {
    opacity: 1;
  }
  to {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(-8deg) scale(1.12);
  }
}
.library-map-layer .mini-paint-star,
.greenhouse-map-layer .mini-pop-sprout,
.cupcake-map-layer .cupcake-map-pickup {
  position: absolute;
  z-index: 5;
}
.library-map-layer .mini-paint-star {
  width: 66px;
  height: 66px;
  margin-left: -33px;
  margin-top: -33px;
  font-size: 36px;
}
.greenhouse-map-layer .mini-pop-sprout {
  width: 70px;
  height: 70px;
  margin-left: -35px;
  margin-top: -35px;
}
.greenhouse-map-layer .mini-pop-sprout span {
  display: block;
  line-height: 1;
}
.greenhouse-map-layer .mini-pop-sprout.growing {
  width: 118px;
  height: 118px;
  margin-left: -59px;
  margin-top: -94px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  opacity: 1;
  transform: none;
  transition: none;
  z-index: 7;
}
.greenhouse-map-layer .mini-pop-sprout.growing::after,
.greenhouse-map-layer .mini-pop-sprout.growing::before {
  display: none;
}
.greenhouse-map-layer .mini-pop-sprout.growing span {
  width: 118px;
  height: 118px;
  color: transparent;
  background: url("../../data/mint_bloom/flower_growth_structured_alpha.png?v=1") 0
    0 / 400% 200% no-repeat;
  filter: drop-shadow(0 12px 14px rgba(20, 96, 43, 0.18))
    drop-shadow(0 0 16px rgba(187, 255, 224, 0.7));
  animation: mint-flower-grow 1.05s steps(1, end) both;
}
.greenhouse-map-layer .mini-pop-sprout.growing.grown span {
  animation: none;
  background-position: 100% 100%;
}
.greenhouse-map-layer .mini-pop-sprout.growing em {
  top: -14px;
  bottom: auto;
  border-color: rgba(35, 124, 66, 0.36);
  background: rgba(255, 255, 255, 0.94);
  box-shadow:
    0 8px 14px rgba(20, 96, 43, 0.14),
    0 0 12px rgba(187, 255, 224, 0.48);
  z-index: 2;
}
.greenhouse-map-layer .mini-pop-sprout em {
  position: absolute;
  left: 50%;
  bottom: -22px;
  min-width: 70px;
  padding: 3px 8px;
  transform: translateX(-50%);
  border: 2px solid rgba(35, 124, 66, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: #237c42;
  font:
    900 12px "Arial Rounded MT Bold",
    "Trebuchet MS",
    Arial,
    sans-serif;
  font-style: normal;
  line-height: 1.05;
  text-transform: lowercase;
  box-shadow: 0 7px 14px rgba(20, 96, 43, 0.14);
}
.greenhouse-map-layer .mini-pop-sprout.not-next {
  opacity: 0.54;
  filter: saturate(0.8);
}
.greenhouse-map-layer .mini-pop-sprout.next-word {
  opacity: 1;
  border-color: rgba(255, 216, 107, 0.96);
  box-shadow:
    0 12px 18px rgba(20, 96, 43, 0.22),
    0 0 0 9px rgba(255, 255, 255, 0.52),
    0 0 26px rgba(255, 216, 107, 0.82);
  animation:
    sprout-pop 0.24s ease both,
    recipe-target-pulse 0.82s ease-in-out infinite alternate;
}
.greenhouse-map-layer .mini-pop-sprout.next-word em {
  border-color: rgba(255, 216, 107, 0.7);
  color: #7a5514;
  box-shadow:
    0 7px 14px rgba(20, 96, 43, 0.14),
    0 0 16px rgba(255, 216, 107, 0.58);
}
.cupcake-map-layer .cupcake-map-pickup {
  width: 82px;
  height: 82px;
  margin-left: -41px;
  margin-top: -41px;
  border: 4px solid rgba(107, 34, 71, 0.32);
  border-radius: 50%;
  background: radial-gradient(circle at 34% 24%, #fff, #fff1cf 42%, #ffd86b);
  box-shadow:
    0 12px 18px rgba(107, 34, 71, 0.2),
    0 0 16px rgba(255, 216, 107, 0.5);
  font-size: 42px;
}
.cupcake-map-layer .cupcake-map-pickup.not-next {
  opacity: 0.38;
  filter: grayscale(0.28) saturate(0.82);
}
.cupcake-map-layer .cupcake-map-pickup.recipe-target {
  opacity: 1;
  filter: none;
  transform: scale(1.14);
  border-color: rgba(255, 216, 107, 0.92);
  box-shadow:
    0 12px 18px rgba(107, 34, 71, 0.2),
    0 0 22px rgba(255, 216, 107, 0.86),
    0 0 0 8px rgba(255, 255, 255, 0.56),
    0 0 0 15px rgba(255, 216, 107, 0.22);
}
.cupcake-map-layer .cupcake-map-pickup.recipe-target::before {
  content: "Tap";
  position: absolute;
  left: 50%;
  bottom: -28px;
  min-width: 60px;
  padding: 4px 10px;
  transform: translateX(-50%);
  border: 3px solid rgba(255, 216, 107, 0.8);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: #8a2f64;
  font:
    900 13px/1 "Arial Rounded MT Bold",
    "Trebuchet MS",
    Arial,
    sans-serif;
  box-shadow: 0 6px 12px rgba(107, 34, 71, 0.16);
}
.cupcake-map-layer .cupcake-map-pickup.recipe-target::after {
  content: attr(data-step);
  position: absolute;
  right: -16px;
  top: -10px;
  min-width: 36px;
  height: 28px;
  padding: 0 5px;
  display: grid;
  place-items: center;
  border: 3px solid rgba(107, 34, 71, 0.32);
  border-radius: 999px;
  background: #fff;
  color: #8a2f64;
  font:
    900 12px "Arial Rounded MT Bold",
    "Trebuchet MS",
    Arial,
    sans-serif;
  box-shadow: 0 6px 12px rgba(107, 34, 71, 0.18);
}
.library-map-layer .mini-paint-star.nearby,
.greenhouse-map-layer .mini-pop-sprout.nearby {
  outline: 5px solid rgba(255, 255, 255, 0.72);
  box-shadow:
    0 12px 18px rgba(107, 34, 71, 0.18),
    0 0 0 9px rgba(255, 216, 107, 0.28),
    0 0 24px rgba(255, 216, 107, 0.72);
  animation:
    topping-float 1.2s ease-in-out infinite alternate,
    recipe-target-pulse 0.72s ease-in-out infinite alternate;
}
.library-map-layer .mini-paint-star.pattern-waiting {
  opacity: 0.52;
  filter: grayscale(0.18) saturate(0.84);
}
.library-map-layer .mini-paint-star.pattern-next {
  opacity: 1;
  border-color: rgba(255, 216, 107, 0.9);
  box-shadow:
    0 12px 18px rgba(107, 34, 71, 0.2),
    0 0 0 9px rgba(255, 255, 255, 0.58),
    0 0 24px rgba(255, 216, 107, 0.82);
  animation:
    topping-float 1.2s ease-in-out infinite alternate,
    recipe-target-pulse 0.72s ease-in-out infinite alternate;
}
.library-map-layer .mini-paint-star::before {
  content: attr(data-color);
  position: absolute;
  left: 50%;
  bottom: -21px;
  min-width: 58px;
  padding: 2px 7px;
  transform: translateX(-50%);
  border: 2px solid rgba(91, 33, 66, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: #5b2142;
  font:
    900 11px "Arial Rounded MT Bold",
    "Trebuchet MS",
    Arial,
    sans-serif;
  line-height: 1.05;
  text-transform: lowercase;
  box-shadow: 0 6px 12px rgba(51, 31, 84, 0.12);
}
.library-map-layer .mini-paint-star.painted::before {
  opacity: 0;
}
.cupcake-map-layer .cupcake-map-pickup.caught {
  pointer-events: none;
  animation: cupcake-pickup 0.26s ease both;
}
.cupcake-map-layer .cupcake-map-pickup.silly-bounce {
  animation: cupcake-silly-bounce 0.36s ease both;
}
.cupcake-map-avatar.celebrating {
  animation: cupcake-celebrate 0.7s ease-in-out infinite alternate;
  box-shadow:
    0 12px 18px rgba(107, 34, 71, 0.22),
    0 0 24px rgba(255, 216, 107, 0.9),
    0 0 0 10px rgba(255, 255, 255, 0.48);
}
.mini-paint-hint,
.mini-splash-hint,
.mini-cupcake-hint {
  pointer-events: none;
  left: 14px;
  right: 14px;
  bottom: 82px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 8px 18px rgba(107, 34, 71, 0.14);
}
@keyframes topping-float {
  from {
    transform: translateY(-5px) rotate(-3deg);
  }
  to {
    transform: translateY(6px) rotate(4deg);
  }
}
@keyframes cupcake-silly-bounce {
  0% {
    transform: translateY(0) rotate(0deg) scale(1);
  }
  45% {
    transform: translateY(-18px) rotate(-10deg) scale(1.08);
  }
  100% {
    transform: translateY(0) rotate(8deg) scale(1);
  }
}
@keyframes cupcake-celebrate {
  from {
    transform: translate(-50%, -54%) rotate(-4deg) scale(1.04);
  }
  to {
    transform: translate(-50%, -62%) rotate(5deg) scale(1.14);
  }
}
@keyframes recipe-target-pulse {
  from {
    scale: 1;
  }
  to {
    scale: 1.14;
  }
}
@keyframes recipe-board-placed-glow {
  35% {
    filter: drop-shadow(0 20px 22px rgba(107, 34, 71, 0.2))
      drop-shadow(0 0 24px rgba(255, 216, 107, 0.78)) saturate(1.12);
  }
}
@keyframes recipe-placement-pop {
  0% {
    opacity: 0;
    transform: translate(-50%, -42%) scale(0.68);
  }
  22%,
  68% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -58%) scale(0.9);
  }
}
@keyframes cupcake-oven-ready {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-5px);
  }
}
@keyframes cupcake-oven-bake {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.08) rotate(2deg);
  }
}
@keyframes cupcake-pickup {
  to {
    opacity: 0;
    transform: translateY(-18px) scale(1.35);
  }
}
.mini-map-controls {
  gap: 10px;
  padding: 10px 12px 12px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 0.88)
  );
}
.mini-map-controls button {
  min-width: 58px;
  width: auto;
  padding: 0 14px;
}
.mini-map-controls .mini-paint-action {
  min-width: 78px;
  height: 50px;
  display: grid;
  place-items: center;
  gap: 0;
  padding: 4px 13px;
  border-color: rgba(255, 216, 107, 0.88);
  background: #fff9d7;
  color: #7a2a60;
  font-family: "Arial Rounded MT Bold", "Trebuchet MS", Arial, sans-serif;
  box-shadow:
    inset 0 0 0 2px rgba(255, 255, 255, 0.72),
    0 6px 12px rgba(87, 65, 147, 0.14);
}
.mini-map-controls .mini-paint-action span,
.mini-map-controls .mini-paint-action small {
  display: block;
  line-height: 1;
}
.mini-map-controls .mini-paint-action span {
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}
.mini-map-controls .mini-paint-action small {
  margin-top: 2px;
  color: #4c3b8e;
  font-size: 11px;
  font-weight: 900;
  text-transform: lowercase;
}
.mini-map-controls .mini-paint-action[data-color="pink"] {
  border-color: rgba(255, 117, 182, 0.82);
}
.mini-map-controls .mini-paint-action[data-color="gold"] {
  border-color: rgba(255, 216, 107, 0.95);
}
.mini-map-controls .mini-paint-action[data-color="blue"] {
  border-color: rgba(114, 207, 255, 0.86);
}
.mini-map-controls .mini-paint-action[data-color="mint"] {
  border-color: rgba(123, 224, 160, 0.88);
}
.mini-map-controls .mini-paint-action[data-color="grape"] {
  border-color: rgba(181, 124, 255, 0.84);
}
