/* Mantiene stabile il layout mentre il player passa da inattivo a riproduzione. */
.inline-flex.flex-col.gap-2:has(> button.group.inline-flex.items-center.gap-3.rounded-full) {
  min-height: 74px;
}

.inline-flex.flex-col.gap-2 > button.group.inline-flex.items-center.gap-3.rounded-full {
  min-height: 60px;
}

.inline-flex.flex-col.gap-2 > button.group.inline-flex.items-center.gap-3.rounded-full > span.flex.flex-col {
  min-height: 36px;
  justify-content: center;
}

.inline-flex.flex-col.gap-2 > button.group.inline-flex.items-center.gap-3.rounded-full > span.flex.flex-col > span:last-child {
  box-sizing: border-box;
  height: 14px;
  min-height: 14px;
  line-height: 14px;
  overflow: hidden;
}

.inline-flex.flex-col.gap-2 > button.group.inline-flex.items-center.gap-3.rounded-full > span.flex.flex-col > span:last-child.flex {
  align-items: center;
}

/* Impedisce il trascinamento orizzontale della pagina sui dispositivi mobili. */
html,
body,
#root {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  overscroll-behavior-x: none;
}

@supports (overflow: clip) {
  html,
  body,
  #root {
    overflow-x: clip;
  }
}

@media (max-width: 767px) {
  body,
  #root {
    position: relative;
    min-width: 0;
  }

  main,
  header,
  nav,
  section,
  footer {
    max-width: 100%;
  }
}
