/* Bloque horizontal 16:9 con un detalle / juego propio de cada proyecto.
   Todos comparten caja, texto de ayuda y contador; solo cambia lo que pasa dentro. */
.game {
  position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden;
  background: #0d0d0d; color: #fff; cursor: pointer;
  user-select: none; -webkit-user-select: none; touch-action: manipulation;
}
.game img { -webkit-user-drag: none; user-select: none; pointer-events: none; }
.game .g-hint, .game .g-count {
  position: absolute; bottom: 20px; z-index: 5; font-size: calc(var(--fs, 14px) * .78);
  letter-spacing: .02em; opacity: .5; pointer-events: none;
}
.game .g-hint { left: 24px; }
.game .g-count { right: 24px; font-variant-numeric: tabular-nums; }

/* 1 · Logo que gira y cambia (Petanca) */
.g-logo { position: absolute; left: 50%; top: 50%; width: min(30%, 380px); aspect-ratio: 1; translate: -50% -50%; perspective: 900px; }
.g-logo img { width: 100%; height: 100%; object-fit: contain; filter: invert(1); will-change: transform; }

@media (max-width: 640px) {
  .game .g-hint, .game .g-count { bottom: 12px; }
  .game .g-hint { left: 14px; } .game .g-count { right: 14px; }
  .g-logo { width: 46%; }
}
