.aq-wordpress .create-playlist-row {
    width: 100%;
    max-width: none;
    margin-inline: 0;
}
.aq-wordpress .create-playlist-row .ms_top_artist {
    margin-top: clamp(16px, 3vw, 26px);
    padding: 0;
}
.aq-wordpress .create-playlist-row .ms_top_artist > .container-fluid > .row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 14px;
    margin: 0;
}
.aq-wordpress .create-playlist-row .ms_top_artist > .container-fluid > .row::before,
.aq-wordpress .create-playlist-row .ms_top_artist > .container-fluid > .row::after { display: none; }
.aq-wordpress .create-playlist-row .ms_top_artist > .container-fluid > .row > div {
    min-width: 0;
    width: 100%;
    max-width: none;
    padding: 0;
}
.aq-wordpress .create-playlist-row .row > .col-lg-12 { grid-column: 1 / -1; }
.aq-wordpress .create-playlist-row .ms_rcnt_box { height: 100%; margin-bottom: 0; }
.aq-wordpress .create-playlist-row .ms_rcnt_box_img img.aq-stock-artwork {
    width: 100%;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: 1;
    object-fit: cover;
}
.aq-wordpress .create-playlist-row .create_playlist {
    display: grid;
    place-items: center;
    width: 100%;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: 1;
}
.aq-wordpress .create-playlist-row .ms_rcnt_box_text h3 { overflow-wrap: anywhere; }

/* Keep play, pause and the timeline within reach while a track is selected. */
.aq-wordpress .ms_player_wrapper {
    inset-inline: 0;
    bottom: 0 !important;
    width: 100%;
    max-width: none;
    height: auto;
    padding: 8px max(8px, env(safe-area-inset-right)) max(8px, env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left));
}
.aq-wordpress .ms_player_wrapper:not(:has(.jp-now-playing .que_data, .jp-playlist-item:not(:empty))) { display: none; }
.aq-wordpress #content > .aq-footer { margin-bottom: 128px; }
.aq-wordpress:not(:has(.ms_player_wrapper .jp-now-playing .que_data, .ms_player_wrapper .jp-playlist-item:not(:empty))) #content > .aq-footer { margin-bottom: 0; }
.aq-wordpress .ms_player_wrapper .ms_player_close { display: none; }
.aq-wordpress .ms_player_wrapper .player_mid { width: 100%; max-width: none; inset: auto; }
.aq-wordpress .ms_player_wrapper .jp-audio {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr) max-content max-content;
    align-items: center;
    gap: 6px;
    width: 100%;
    max-width: 950px;
    margin: 0 auto;
}
.aq-wordpress .ms_player_wrapper .jp-type-playlist,
.aq-wordpress .ms_player_wrapper .jp-gui { display: contents; }
.aq-wordpress .ms_player_wrapper .player_left {
    position: relative;
    inset: auto;
    grid-area: 1 / 1 / 2 / 3;
    gap: 3px;
    min-width: 0;
    width: auto;
    height: auto !important;
    min-height: 44px;
    padding: 0;
    margin: 0;
    background: transparent;
    border-radius: 0;
}
.aq-wordpress .ms_player_wrapper .ms_play_song,
.aq-wordpress .ms_player_wrapper .play_song_name,
.aq-wordpress .ms_player_wrapper .jp-now-playing {
    min-width: 0;
    width: 100%;
    height: auto !important;
    min-height: 0;
    padding: 0;
    margin: 0;
}
.aq-wordpress .ms_player_wrapper .jp-track-name {
    display: flex;
    align-items: center;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 6px;
    height: auto !important;
    padding: 0;
    text-align: left;
}
.aq-wordpress .ms_player_wrapper .jp-now-playing .que_img {
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    float: none;
    margin: 0;
}
.aq-wordpress .ms_player_wrapper .jp-now-playing .que_img img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 5px;
    object-fit: cover;
}
.aq-wordpress .ms_player_wrapper .jp-now-playing .que_data {
    float: none;
    min-width: 0;
    width: auto;
    height: auto;
    margin: 0;
    padding: 0;
    text-align: left;
}
.aq-wordpress .ms_player_wrapper .jp-now-playing .jp-artist-name {
    padding: 0;
    font-size: .73rem;
    line-height: 1.18;
}
.aq-wordpress .ms_player_wrapper .play-left-arrow {
    position: static;
    display: grid;
    place-items: center;
    flex: 0 0 34px;
    width: 34px;
    height: 44px;
    margin: 0;
}
.aq-wordpress .ms_player_wrapper .play_song_options {
    inset: auto auto calc(100% + 5px) 0;
    width: max-content;
    max-width: calc(100vw - 20px);
    padding: 8px;
    margin: 0;
    border-radius: 8px;
    background: var(--aq-surface);
    z-index: 2;
}
.aq-wordpress .ms_player_wrapper .jp_queue_wrapper {
    grid-area: 1 / 4;
    width: auto;
    padding: 0;
    margin: 0;
}
.aq-wordpress .ms_player_wrapper .que_text {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-width: 44px !important;
    width: auto;
    min-height: 44px;
    padding: 0 8px;
    border-radius: 10px;
    text-transform: capitalize;
    font-size: .77rem;
    cursor: pointer;
}
.aq-wordpress .ms_player_wrapper .jp_queue_wrapper .jp-playlist {
    position: absolute;
    right: 8px;
    left: auto;
    bottom: calc(100% + 6px);
    width: min(360px, calc(100vw - 28px));
    max-height: min(50vh, 340px);
    overflow-y: auto;
    background: var(--aq-chrome);
    scrollbar-color: var(--aq-line) var(--aq-chrome);
    scrollbar-width: thin;
    z-index: 3;
}
.aq-wordpress .ms_player_wrapper .jp-controls,
.aq-wordpress .ms_player_wrapper .jp-toggles {
    position: static;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    min-width: 0;
    width: auto;
    padding: 0;
    margin: 0;
}
.aq-wordpress .ms_player_wrapper .jp-controls { grid-area: 2 / 1; }
.aq-wordpress .ms_player_wrapper .jp-toggles { grid-area: 1 / 3; }
.aq-wordpress .ms_player_wrapper .jp-controls button,
.aq-wordpress .ms_player_wrapper .jp-toggles button {
    position: static;
    float: none;
    display: grid;
    place-items: center;
    width: 44px !important;
    height: 44px !important;
    margin: 0 !important;
    padding: 0;
    touch-action: manipulation;
}
.aq-wordpress .ms_player_wrapper .jp-toggles button { width: 36px !important; }
.aq-wordpress .ms_player_wrapper .jp-progress-container {
    display: flex;
    flex-direction: column-reverse;
    grid-area: 2 / 2 / 3 / 5;
    min-width: 0;
    width: 100%;
    height: auto !important;
    padding: 0;
    margin: 0;
}
.aq-wordpress .ms_player_wrapper .jp-time-holder {
    position: static;
    display: flex;
    justify-content: space-between;
    width: 100%;
    height: auto;
}
.aq-wordpress .ms_player_wrapper .jp-current-time,
.aq-wordpress .ms_player_wrapper .jp-duration {
    position: static;
    float: none;
    width: auto;
    margin: 0;
    padding: 0;
    font-size: .72rem;
    line-height: 1.2;
}
.aq-wordpress .ms_player_wrapper .jp-progress {
    position: static;
    width: 100%;
    height: 24px !important;
    overflow: visible;
    background: none;
}
.aq-wordpress .ms_player_wrapper .jp-seek-bar {
    height: 100%;
    background: linear-gradient(transparent 10px, #56617c 10px 14px, transparent 14px);
    touch-action: manipulation;
}
.aq-wordpress .ms_player_wrapper .jp-play-bar { top: 10px; height: 4px; }
.aq-wordpress .ms_player_wrapper .jp-volume-controls { display: none; }

@media (min-width: 601px) {
    .aq-wordpress .ms_player_wrapper .jp-progress-container { grid-column-end: 4; }
    .aq-wordpress .ms_player_wrapper .jp-volume-controls {
        display: flex;
        align-items: center;
        justify-content: center;
        grid-area: 2 / 4;
        width: auto;
        padding: 0;
        margin: 0;
    }
}
@media (max-width: 600px) {
    .aq-wordpress .create-playlist-row .ms_top_artist > .container-fluid > .row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }
}
