/* Local candidate refinement: every word tile has one calm surface color. */
.word { background: var(--soft); }
.word.selected { background: var(--soft); }

/* Image-first memory cards: the hero is large, the label stays readable on it. */
.memory-card { position: relative; height: 190px; padding: 0; }
.memory-card img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; }
.memory-card strong { position: absolute; left: 8px; right: 8px; bottom: 8px; margin: 0; padding: 5px 7px; border-radius: 6px; color: #fff; background: rgb(0 0 0 / 62%); font-size: 13px; text-align: center; }
.memory-card.matched strong { background: rgb(18 68 45 / 78%); }
@media(max-width:620px){
  .memory-card { height: 145px; }
  .memory-card strong { left: 5px; right: 5px; bottom: 5px; padding: 4px 5px; font-size: 10px; }
}
