/* Navidad is seasonal: its tile shows only in the Christmas window
   (shared/christmas-window.js), like its home-page card. */
html:not([data-christmas]) .board-grid.table-game-grid .table-game[data-table-game="navidad"] { display: none; }
.is-section .board-grid.table-game-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.is-section .board-grid.table-game-grid .table-game {
  flex-direction: column;
  justify-content: flex-start;
  text-align: center;
  gap: .5rem;
  padding: .7rem .3rem;
  font-size: clamp(14px, 2vw, 18px);
}
.table-game::after {
  content: none;
}
.table-game-art {
  position: relative;
  flex: none;
  display: block;
  width: min(100%, 106px);
  aspect-ratio: 1;
  border-radius: .85rem;
  isolation: isolate;
  filter: drop-shadow(0 3px 3px #23152d66);
}
.table-game-art > img,
.table-game-art > svg {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.table-game-stamp {
  position: absolute;
  right: 1%;
  bottom: 3%;
  padding: .16em .45em .1em;
  border: 2px solid #fff5db;
  border-radius: .35em;
  background: #6f4a86;
  color: #fff;
  box-shadow: 0 2px 3px #28133566;
  font-size: clamp(11px, 1.6vw, 14px);
  letter-spacing: .03em;
  line-height: 1.15;
  transform: rotate(-8deg);
}
[data-table-game="navidad"] .table-game-art {
  background: #28465e url("../navidad/assets/sky-calm.webp") center / cover;
  box-shadow: inset 0 0 0 3px #e8dbbe;
}
[data-table-game="atrapamates"] .table-game-art {
  background: #b78455 url("../atrapamates/assets/board-kraft.webp") center / 100% 100%;
}
.table-game-art img[class] {
  position: absolute;
  height: auto;
}
.table-game-art .table-art-elf { width: 79%; left: 3%; bottom: 7%; }
.table-game-art .table-art-box { width: 42%; right: 1%; top: 14%; transform: rotate(13deg); }
.table-game-art .table-art-bat { width: 73%; left: 4%; top: 5%; }
.table-game-art .table-art-gift { width: 39%; right: 7%; top: 38%; transform: rotate(12deg); }
.table-game-art .table-art-pumpkin { width: 43%; left: 7%; bottom: 8%; }
/* Six games: 2 columns on phones, 3 x 2 from 600px (4 would leave 4 + 2). */
@media (min-width: 600px) {
  .is-section .board-grid.table-game-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Picture cards: name and age under the art. menu-curriculum.js's longer
   description is for the row tiles; it doesn't fit a card. */
.table-game .menu-curriculum-copy { width: 100%; }
.table-game .menu-curriculum-description { display: none; }
