html, body {
    font-family: Roboto, 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

h1:focus {
    outline: none;
}

.centered-page {
    min-height: calc(100vh - 64px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
}

.movie-poster {
    width: 92px;
    height: 138px;
    flex: none;
    object-fit: cover;
    border-radius: 4px;
    background: var(--mud-palette-background-grey);
}

.movie-poster-empty {
    display: flex;
    align-items: center;
    justify-content: center;
}

.season-option {
    display: flex;
    align-items: center;
    gap: 8px;
}

.season-missing td {
    background-color: var(--mud-palette-warning-hover);
}

.cover-art {
    width: 92px;
    height: 92px;
    flex: none;
    object-fit: cover;
    border-radius: 4px;
    background: var(--mud-palette-background-grey);
}

.cover-art-empty {
    display: flex;
    align-items: center;
    justify-content: center;
}

.artist-avatar {
    position: relative;
    flex: none;
    background: var(--mud-palette-background-grey);
}

.artist-avatar-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.artist-avatar-img[hidden] {
    display: none;
}

.album-missing td {
    background-color: var(--mud-palette-warning-hover);
}

.release-highlight td {
    outline: 2px solid var(--mud-palette-primary);
    outline-offset: -2px;
}

.edition-heading {
    text-align: left;
    background-color: var(--mud-palette-background-grey);
}

/* Phones (MudBlazor xs, below 600px). app.css loads before MudBlazor.min.css, so overrides of MudBlazor
   rules need a more specific selector than the rule they replace. */
@media (max-width: 599.98px) {
    /* Toolbars that sit in a row on wider screens (search field + filters/buttons) get a line each. */
    .d-flex.stack-on-xs {
        flex-direction: column !important;
        align-items: stretch !important;
    }

    .movie-poster {
        width: 72px;
        height: 108px;
    }

    .cover-art {
        width: 72px;
        height: 72px;
    }

    /* Full-width dialogs keep 32px margins a side by default, which leaves little room for the release tables. */
    .mud-dialog.mud-dialog-width-full {
        width: calc(100% - 16px);
    }

    .mud-dialog-container .mud-dialog .mud-dialog-content {
        padding: 8px 16px;
    }
}
