.album-player {
    /* display: flex; */
    /* flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    align-content: center; */
    height: calc(100vh - 48px - 48px);
    /* background-color: bisque; */

    display: grid;
    grid-template-columns: repeat(2, 50%);
    grid-template-rows: 1fr 86px 60px 40px 24px 136px;
    grid-column-gap: 8px;
    grid-row-gap: 0px;

    /* >* {
        outline: 1px solid blue;
    } */
}

.album-player .list-wrapper {
    grid-area: 1 / 1 / 7 / 1;
    overflow-y: scroll;
    overflow-x: hidden;
}

.album-player .img-wrapper {
    grid-area: 1 / 2 / 1 / 2;

    .img-block {
        display: grid;
        margin: auto;
        width: 100%;
        height: 100%;
        /* outline: 2px solid blue; */

        .cover-art {
            /* outline: 2px solid green; */
            max-width: 100%;
            width: auto;
            height: 100%;
            object-fit: cover;
            min-width: 0;
            min-height: 0;
            aspect-ratio: 1/1;
            margin: auto;
            max-height: calc(100vh - 48px - 86px - 60px - 40px - 24px - 136px);
        }
    }
}

.album-player .title-wrapper {
    grid-area: 2 / 2 / 2 / 2;
}

.album-player .details-wrapper {
    grid-area: 3 / 2 / 3 / 3;
}

.album-player .progress-wrapper {
    grid-area: 4 / 2 / 4 / 2;
}

.album-player .time-label-wrapper {
    grid-area: 5 / 2 / 5 / 2;
}

.album-player .controls-wrapper {
    grid-area: 6 / 2 / 6 / 2;
}

.album-player .title {
    text-wrap: balance;
}

.album-player .album-player>.content {
    width: calc(100% - 36px);
    margin-left: 18px;
    margin-right: 18px;
}

.album-player-album .dynamic-menu-dialog {
    z-index: 200;
    inset: 10% auto 10% auto;
}

/* default is arcs */
.album-player-album #the-visualizer-canvas {
    width: 100%;
    height: 75%;
    margin: auto;
    top: 0;
}

.album-player-album #the-visualizer-canvas.boxes {
    width: 100%;
    height: 100%;
    margin-top: 0;
    margin: auto;
    top: 0;
}

.album-player-album #the-visualizer-canvas.waves {
    width: 100%;
    height: 100%;
    margin-top: 0;
    margin: auto;
    top: 0;
}

.album-player-album #the-visualizer-canvas.globs {
    width: 150%;
    height: 90%;
    margin-top: -5%;
    margin-left: -25%;
    top: 5%;
}

/* some responsive experiments */
@media only screen and (max-width: 1439px) {
    .album-player {

        h3,
        h3.small {
            font-size: 1.5rem;
        }

        h4 {
            font-size: 1.4rem;
        }

        nav,
        .row {
            column-gap: 4px;
        }

        article.large-padding {
            padding: 16px 16px 16px 16px;
        }
    }
}

.active-player-album {
    --offset-x: 50%;
    --offset-y: 50%;
    .page-bg {
        background-position: calc(100% - var(--offset-x)) calc(100% - var(--offset-y));
    }
}