.playgrove-preview {
  background: #fff7e6;
  color: #231c46;
}
.kids-welcome {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 26px clamp(20px, 4vw, 52px);
  border: 3px solid #302263;
  border-radius: 28px;
  background: #6341c9;
  color: #fff;
  box-shadow: 0 5px 0 #302263;
}
.kids-welcome h1 {
  margin: 0;
  font: 1000 clamp(40px, 6vw, 76px)/.98 Nunito, sans-serif;
  letter-spacing: -.055em;
}
.kids-welcome p {
  margin: 10px 0 0;
  font-size: clamp(15px, 2vw, 22px);
  font-weight: 700;
}
.kids-welcome img {
  width: clamp(85px, 15vw, 155px);
  height: auto;
  flex: none;
  margin-left: auto;
  filter: drop-shadow(0 6px 0 #3a23737d);
}
.kids-surprise {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  flex: none;
  min-height: 52px;
  padding: 10px 16px;
  border: 2px solid #31205f;
  border-radius: 15px;
  background: #ffdb53;
  color: #2a1b54;
  box-shadow: 0 4px 0 #31205f;
  font: 1000 17px Nunito, sans-serif;
}
.kids-surprise span { font-size: 22px; }
.kids-shelf {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: clamp(12px, 2vw, 24px);
  margin: 28px 0 24px;
}
.kids-game {
  display: block;
  width: 100%;
  padding: 8px;
  text-align: left;
  border: 2px solid #302263;
  border-radius: 21px;
  background: var(--tile-color);
  color: #281f49;
  box-shadow: 0 5px 0 #302263;
  transition: transform .15s, box-shadow .15s;
}
.kids-game--jump { --tile-color: #ffdb5c; }
.kids-game--draw { --tile-color: #ffadcd; }
.kids-game--solve { --tile-color: #a9dffc; }
.kids-game--music { --tile-color: #b0e68a; }
.kids-game:hover { transform: translateY(-3px); box-shadow: 0 8px 0 #302263; }
.kids-game img {
  width: 100%;
  height: auto;
  display: block;
  border: 2px solid #302263;
  border-radius: 13px;
}
.kids-game > span {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  align-items: center;
  gap: 1px 8px;
  padding: 8px 3px 4px;
}
.kids-game small { font: 800 13px Nunito, sans-serif; }
.kids-game strong { grid-row: 2; font: 1000 clamp(16px,2vw,23px)/1.05 Nunito, sans-serif; }
.kids-game b {
  grid-column: 2;
  grid-row: 1 / span 2;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #302263;
  color: #fff;
  width: 34px;
  height: 34px;
  font-size: 12px;
}
.kids-shortcuts { display:flex; flex-wrap:wrap; gap:10px; margin-bottom: 8px; }
.kids-shortcuts :is(a,button) {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  border: 2px solid #daccf3;
  border-radius: 999px;
  padding: 7px 14px;
  background: #fff;
  color: #36266a;
  font-weight: 800;
}
.playgrove-preview .age-section { padding-block: 14px 20px; }
.playgrove-preview #grid .card { background: #fff; border: 2px solid #e2d5f4; border-radius: 18px; }
.playgrove-preview #grid .card h3 { color: #2c224b; min-height: 0; }
.playgrove-preview #grid .card p { color: #493f5a; font-size: 13px; }
.playgrove-preview #grid .card-bottom :is(button,a) { min-height: 44px; }
.playgrove-preview :is(a,button,input,select):focus-visible {
  outline: 3px solid #433094;
  outline-offset: 3px;
  box-shadow: 0 0 0 3px white;
}
@media (max-width: 760px) {
  .kids-shelf { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .kids-welcome { display: grid; grid-template-columns: 1fr auto; gap: 15px; }
  .kids-welcome img { grid-column: 2; grid-row: 1 / 3; }
  .kids-surprise { justify-self: start; }
}
@media (prefers-reduced-motion: reduce) {
  .kids-game { transition: none; }
  .kids-game:hover { transform: none; }
}

.expansion-tap-grid button { min-height: 44px; }
#shuffle-collection { margin-bottom: 20px; }
#collection-status:empty { display: none; }
#shuffle-games { margin: 0 0 0 6px; }
