@media (max-width: 900px) {
  .hud-layer {
    flex-direction: column;
    align-items: stretch;
  }
  .hud-right {
    justify-content: flex-end;
  }
  .magic-actions {
    right: 14px;
    bottom: 132px;
  }
}

@media (max-width: 640px) {
  .hud-layer {
    left: 10px;
    right: 10px;
    top: 10px;
  }
  .icon-pill .btn-label {
    display: none;
  }
  .icon-pill {
    padding: 8px 10px;
  }
  .music-player {
    left: 10px;
    right: 10px;
    bottom: 38px;
    width: auto;
    padding: 8px 10px;
    gap: 8px;
  }
  .player-art-wrap {
    width: 42px;
    height: 42px;
  }
  .volume-wrap {
    display: none;
  }
  .magic-actions {
    right: 10px;
    bottom: 118px;
    flex-direction: row;
    gap: 8px;
  }
  .magic-cta {
    padding: 9px 12px;
    font-size: 11px;
  }
  .final-card {
    padding: 22px 18px;
  }
}
