/* Mariachi: the stage and lanes are one canvas; the song list is real buttons laid over the lanes. */
.mr-canvas {
  direction: ltr;
  border-radius: 18px;
  box-shadow: 0 0 0 2px rgba(255, 182, 39, 0.28), 0 14px 34px rgba(0, 0, 0, 0.4);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  -webkit-user-select: none;
}
body[data-game="mariachi"] .fa-dock:empty { display: none; }
.mr-menu {
  position: absolute;
  box-sizing: border-box;
  padding: 31% 7% 5%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.7em;
  pointer-events: none;
}
.mr-menu[hidden] { display: none; }
.mr-choose {
  margin: 0;
  text-align: center;
  color: var(--parchment);
  font-family: var(--font-display);
  font-size: 1.15em;
  text-shadow: 0 2px 0 #1B0829;
}
.mr-card {
  pointer-events: auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 0.8em;
  min-height: 4.2em;
  padding: 0.6em 0.9em;
  border: 0;
  border-radius: 1em;
  background: var(--lapis-raise);
  color: var(--parchment);
  font: inherit;
  text-align: start;
  cursor: pointer;
  box-shadow: inset 0 0 0 2px var(--mr-col), 0 6px 0 rgba(0, 0, 0, 0.35);
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.08s;
}
.mr-card:active { transform: translateY(3px); }
.mr-card:focus-visible { outline: 3px solid var(--parchment); outline-offset: 2px; }
.mr-card--0 { --mr-col: var(--w-pink); }
.mr-card--1 { --mr-col: var(--w-marigold); }
.mr-card--2 { --mr-col: var(--w-turquoise); }
.mr-card__n {
  grid-row: 1 / 3;
  width: 2.3em; height: 2.3em;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--mr-col);
  color: #1B0829;
  font-family: var(--font-display);
  font-size: 1.1em;
}
.mr-card__name { font-family: var(--font-display); font-size: 1.15em; line-height: 1.2; }
html[lang="ar"] .mr-card__name, html[lang="ar"] .mr-choose { font-family: inherit; font-weight: 800; }
.mr-card__stars { grid-column: 2; color: var(--gold); font-size: 1.2em; letter-spacing: 0.12em; direction: ltr; text-align: start; }
html[dir="rtl"] .mr-card__stars { text-align: end; }
.mr-card__best { grid-column: 3; grid-row: 1 / 3; color: var(--mist); font-weight: 800; font-variant-numeric: tabular-nums; }
@media (prefers-reduced-motion: reduce) { .mr-card { transition: none; } }
