.pacman-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  width: 100%;
  min-width: 0;
  max-width: 100%;
}
.pacman-actions > div { min-width: 0; max-width: 100%; }
.pacman-actions select { min-width: 0; max-width: 100%; min-height: 44px; }
.pacman-actions button { min-height: 44px; white-space: normal; }
.pacman-actions button svg { width: 1em; height: 1em; }
.pacman-touch-controls {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 72px));
  grid-template-areas: ". up ." "left down right" "actions actions actions";
  gap: 8px;
  justify-content: center;
  margin: .5rem auto .5rem;
}
.pacman-direction { height: 56px; touch-action: manipulation; user-select: none; }
.pacman-direction svg { width: 24px; height: 24px; }
.pacman-direction--up { grid-area: up; }
.pacman-direction--down { grid-area: down; }
.pacman-direction--left { grid-area: left; }
.pacman-direction--right { grid-area: right; }
.pacman-direction--right svg { transform: rotate(180deg); }
.pacman-touch-actions {
  grid-area: actions;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.pacman-touch-actions button {
  min-height: 44px;
  flex: 1 1 0;
  min-width: 0;
  padding: .5rem .25rem;
  font-size: .875rem;
  overflow-wrap: anywhere;
  touch-action: manipulation;
}
@media (max-width: 575.98px) {
  [data-controller="musical-pacman"] .experience-shell__stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    min-width: 0;
  }
  [data-controller="musical-pacman"] .experience-stat { min-width: 0; }
}
