/* Limited to the new dialog and reading controls; preserve the existing cards. */
.mass-mode {
    width: min(30rem, calc(100vw - 2rem));
    max-height: calc(100dvh - 2rem);
    overflow: auto;
    box-sizing: border-box;
    padding: 1.2rem;
    border: 1px solid #bac8cf;
    border-radius: 16px;
    background: #faf8f3;
    color: #29485b;
    font: inherit;
}
.mass-mode::backdrop { background: rgba(20, 38, 48, .48); }
.mass-mode__heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.mass-mode__heading h2 { margin: 0; font-size: 1.35rem; }
.mass-mode__heading form { margin: 0; }
.mass-mode__choice { display: flex; align-items: center; gap: .7rem; min-height: 44px; margin-top: .8rem; font-weight: 600; }
.mass-mode__choice input { width: 1.2rem; height: 1.2rem; flex-shrink: 0; }
.mass-mode__close, .mass-mode__settings, #cancioneiro .js-mass-screen-toggle {
    display: inline-block;
    min-height: 44px;
    box-sizing: border-box;
    border: 1px solid #bac8cf;
    border-radius: 10px;
    padding: .55rem .7rem;
    background: #fff;
    color: #29485b;
    font: inherit;
    font-size: .9rem;
    cursor: pointer;
}
#cancioneiro .js-mass-screen-toggle[aria-pressed="true"] { background: #e8f0f3; }
.mass-mode__status, #cancioneiro [data-mass-screen-status] { font-size: .85rem; color: #536570; }
#cancioneiro .song-reading-controls { flex: 1 1 100%; flex-wrap: nowrap; min-width: 0; }
#cancioneiro .song-reading-controls > button { flex: 0 0 auto; }
#cancioneiro .song-reading-controls .js-mass-screen-toggle { flex: 1 1 auto; min-width: 0; }
#mass-mode-dialog .mass-mode__settings,
#mass-mode-dialog .mass-mode__settings:hover,
#mass-mode-dialog .mass-mode__settings:focus-visible { color: #29485b; text-decoration: none; }
.mass-mode :focus-visible, #cancioneiro .js-mass-screen-toggle:focus-visible { outline: 3px solid #1f5fbf; outline-offset: 3px; }
