/* strip */
.dice-game.player-2,
.dice-game.player-1 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-gap: 0.25rem
}

/* positions */
.positions .dice-game li {
  padding: 0.5rem 0;
  display: flex;
  flex-direction: column;
}
.positions img {
  width: 70px;
  height: auto;
  pointer-events: none;
}

@media (max-width: 1300px) {
  .positions-game .clock-wrapper {
    grid-column: 3!important;
    grid-row: 1!important;
    padding: 1rem!important;

  }
  .positions img {
    width: 40px;
  }

  .positions-game .dice-game.player-1 {
    margin-bottom: 0.75rem;
  }

  .positions-game .dice-game {
    padding: 0.25rem;
    font-size: 0.7rem;
  }
  .positions-game .dice-game li {
    padding: 0.2rem 0;
  }
  .positions-game .dice-game-wrapper {
    grid-gap: 0;
    place-items: center;
    grid-template-columns: repeat(3,1fr);
  } 
}

.dice-game li:has(span) {
  display: grid;
}
.dice-game li span {
  pointer-events: none;
}

/* ── Score overlay result box ── */
.result-box {
  background: #fdf6ee;
  border: 2px solid #c9a84c;
  border-radius: 14px;
  padding: 2rem 2.5rem;
  text-align: center;
  max-width: 400px;
  width: 90%;
}

.result-box h2 {
  color: #8b1a2d;
  margin-bottom: 1rem;
  font-size: 1.4rem;
}

.result-box .score-overlay-m {
  color: #333;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  line-height: 1.6;
  font-family: Arial, sans-serif;
}

.result-box .btn {
  min-width: 8rem;
}