/* Ortak Nokta: the four-by-four grid of words, the found groups as coloured bars above it */
.o-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 4px 6px; container-type: inline-size; --fs: 15px; }
.o-tile { min-height: 58px; padding: 4px 2px; background: #f4ead0; color: var(--edge); font: 700 clamp(10px, 3.1vw, 15px)/1.15 var(--px);
  display: grid; place-items: center; text-align: center; white-space: nowrap; overflow: hidden; letter-spacing: 0; box-shadow: 0 3px 0 #b9ad8a; }
.o-tile.sel { background: #4b5a99; color: #fff; box-shadow: 0 3px 0 #2a3462; transform: translateY(1px); }
.o-tile.shake { animation: shake .35s steps(6); }
.o-done { display: grid; gap: 6px; margin: 0 6px; }
.o-group { padding: 8px 6px; text-align: center; color: #121212; animation: tpop .3s steps(5); }
.o-group b { display: block; font: 700 13px/1.2 var(--px); }
.o-group small { font: 600 12px var(--mono); }
/* on a computer (and a streamer's screen) the grid was phone-sized (owner, 23 Nov 2026): bigger tiles and words, and
   on a wide screen the game takes more of its half */
@media (min-width: 900px) {
  .o-grid { gap: 8px; --fs: 19px; }
  .o-tile { min-height: 84px; font-size: 19px; padding: 6px 4px; }
  .o-group { padding: 12px 8px; }
  .o-group b { font-size: 17px; }
  .o-group small { font-size: 15px; }
}
@media (min-width: 1200px) {
  body.side .deck:has(.o-grid) { width: min(820px, 100%); }
  .o-grid { --fs: 26px; }
  .o-tile { min-height: 108px; font-size: 26px; }
  .o-group b { font-size: 20px; }
  .o-group small { font-size: 17px; }
}

/* the mistakes left: red hearts, a lost one grey (owner, 24 Nov 2026) */
#o-mist .h { font-weight: 400; color: #e23a4e; margin-left: 1px; }
#o-mist .h.off { color: rgba(60, 40, 60, .3); }
