/**
 * O Universo do Barbieri Audio Player - compact HTML5 stylesheet.
 * Original extension by ProJoom.
 * New edition directed by Antonio Celso Barbieri, 2026.
 * Contact: barbieri@2bstar.com | https://www.2bstar.com/
 * License: GNU GPL version 3 or later.
 */
.nmap-player,
.nmap-player * {
    box-sizing: border-box;
}

.nmap-player {
    width: min(100%, var(--nmap-max-width, 440px));
    max-width: 100%;
    margin: 1rem auto;
    padding: .65rem;
    overflow: hidden;
    color: var(--nmap-fg, #fff);
    background: var(--nmap-bg, #444);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 3px;
    box-shadow: 0 5px 18px rgba(0, 0, 0, .2);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    line-height: 1.2;
}

.nmap-cover {
    display: block;
    width: 100%;
    height: auto;
    margin: 0 0 .55rem;
    object-fit: cover;
    background: #111;
    border-radius: 4px;
}

/* Optional commercial brand. It is hidden by default in the PHP settings. */
.nmap-heading {
    margin: 0 0 .55rem;
    color: var(--nmap-fg, #fff);
    line-height: 1.15;
    text-align: center;
}

.nmap-heading-main,
.nmap-heading-subtitle {
    display: block;
}

.nmap-heading-main {
    font-size: 1rem;
}

.nmap-heading-subtitle {
    margin-top: .1em;
    font-size: .82rem;
    font-weight: 600;
}

.nmap-album-title,
.nmap-now {
    display: block;
    width: 100%;
    min-width: 0;
    padding: .44rem .75rem;
    overflow: hidden;
    color: var(--nmap-fg, #fff);
    background: var(--nmap-panel, #333);
    border-radius: 7px;
    text-align: left;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nmap-album-title {
    margin: 0 0 .45rem;
    font-size: .86rem;
    letter-spacing: .035em;
    text-transform: uppercase;
}

.nmap-now {
    min-height: 0;
    margin: 0 0 .3rem;
}

.nmap-now-title {
    display: block;
    overflow: hidden;
    color: var(--nmap-fg, #fff);
    font-size: .86rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nmap-now-artist {
    display: none;
}

.nmap-audio {
    display: block;
    width: 100%;
    min-height: 44px;
    margin: 0;
}

.nmap-player.is-enhanced .nmap-audio {
    position: absolute;
    width: 1px;
    height: 1px;
    min-height: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

.nmap-notice {
    margin: .35rem 0;
    padding: .42rem .55rem;
    color: #111;
    background: #ffe082;
    border-radius: 4px;
    font-size: .78rem;
}

.nmap-transport {
    display: grid;
    grid-template-columns: repeat(3, 30px);
    gap: .1rem;
    align-items: center;
    justify-content: center;
    margin: .25rem 0 .08rem;
}

.nmap-nav-button,
.nmap-play-button,
.nmap-copy-button,
.nmap-track-button {
    font: inherit;
    -webkit-tap-highlight-color: transparent;
}

.nmap-nav-button,
.nmap-play-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    min-width: 30px;
    height: 30px;
    min-height: 30px;
    padding: 0;
    color: var(--nmap-transport, #b8b8b8);
    background: transparent;
    border: 0;
    border-radius: 4px;
    cursor: pointer;
    font-size: .95rem;
    line-height: 1;
}

.nmap-nav-button:hover,
.nmap-play-button:hover,
.nmap-nav-button:focus-visible,
.nmap-play-button:focus-visible {
    color: var(--nmap-fg, #fff);
    background: rgba(0, 0, 0, .18);
    outline: none;
}

.nmap-play-icon {
    display: block;
    min-width: 1rem;
    text-align: center;
}

.nmap-timeline {
    display: grid;
    grid-template-columns: 3rem minmax(0, 1fr) 3rem;
    gap: .35rem;
    align-items: center;
    margin: 0;
}

.nmap-time {
    color: var(--nmap-muted, #b8b8b8);
    font-size: .72rem;
    font-variant-numeric: tabular-nums;
}

.nmap-remaining {
    text-align: right;
}

.nmap-seek {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 24px;
    margin: 0;
    padding: 0;
    background: transparent;
    cursor: pointer;
    accent-color: var(--nmap-accent, #e53935);
}

.nmap-seek::-webkit-slider-runnable-track {
    height: 6px;
    background: linear-gradient(to right,
        var(--nmap-accent, #e53935) 0,
        var(--nmap-accent, #e53935) var(--nmap-progress, 0%),
        rgba(255, 255, 255, .35) var(--nmap-progress, 0%),
        rgba(255, 255, 255, .35) 100%);
    border-radius: 999px;
}

.nmap-seek::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    margin-top: -6px;
    background: #fff;
    border: 3px solid var(--nmap-accent, #e53935);
    border-radius: 50%;
}

.nmap-seek::-moz-range-track {
    height: 6px;
    background: rgba(255, 255, 255, .35);
    border-radius: 999px;
}

.nmap-seek::-moz-range-progress {
    height: 6px;
    background: var(--nmap-accent, #e53935);
    border-radius: 999px;
}

.nmap-seek::-moz-range-thumb {
    width: 14px;
    height: 14px;
    background: #fff;
    border: 3px solid var(--nmap-accent, #e53935);
    border-radius: 50%;
}

.nmap-seek:disabled {
    cursor: wait;
    opacity: .55;
}

.nmap-position {
    margin: -.05rem 0 .35rem;
    color: var(--nmap-muted, #b8b8b8);
    font-size: .72rem;
    font-weight: 600;
    text-align: center;
    white-space: nowrap;
}

.nmap-playlist {
    max-height: var(--nmap-playlist-height, 360px);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    overflow-y: auto;
    list-style: none;
    background: rgba(0, 0, 0, .08);
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 2px;
    scrollbar-color: var(--nmap-accent, #e53935) rgba(255, 255, 255, .08);
}

.nmap-show-all .nmap-playlist {
    max-height: none;
    overflow-y: visible;
}

.nmap-track {
    display: flex;
    align-items: stretch;
    margin: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .09);
}

.nmap-track:last-child {
    border-bottom: 0;
}

.nmap-track-button {
    display: grid;
    grid-template-columns: 2rem minmax(0, 1fr);
    gap: .15rem;
    align-items: center;
    width: 100%;
    min-height: 25px;
    padding: .1rem .35rem;
    overflow: hidden;
    color: var(--nmap-muted, #b8b8b8);
    background: transparent;
    border: 0;
    cursor: pointer;
    text-align: left;
}

.nmap-track-button:hover,
.nmap-track-button:focus-visible {
    color: var(--nmap-fg, #fff);
    background: rgba(0, 0, 0, .16);
    outline: none;
}

.nmap-track-button.is-active {
    color: var(--nmap-fg, #fff);
    background: rgba(0, 0, 0, .12);
}

.nmap-track-number {
    color: inherit;
    font-size: .8rem;
    font-variant-numeric: tabular-nums;
    text-align: left;
}

.nmap-track-description {
    min-width: 0;
    overflow: hidden;
}

.nmap-track-description strong,
.nmap-track-description small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nmap-track-description strong {
    font-size: .86rem;
    font-weight: 400;
    line-height: 1.1;
}

.nmap-track-button.is-active .nmap-track-description strong {
    font-weight: 700;
}

.nmap-track-description small {
    margin-top: .08rem;
    color: inherit;
    font-size: .72rem;
}

.nmap-download {
    display: inline-flex;
    align-items: center;
    padding: 0 .45rem;
    color: var(--nmap-fg, #fff);
    font-size: .7rem;
}

.nmap-support {
    margin-top: .65rem;
    padding: .7rem;
    text-align: center;
    background: rgba(0, 0, 0, .22);
    border-radius: 5px;
}

.nmap-support p {
    margin: .25rem 0;
}

.nmap-support-heading {
    display: block;
    color: var(--nmap-accent, #e53935);
    font-size: .92rem;
}

.nmap-support-label,
.nmap-support-recipient {
    color: var(--nmap-muted, #b8b8b8);
    font-size: .78rem;
}

.nmap-support-key {
    color: #ffeb3b;
    font-size: .96rem;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.nmap-copy-button {
    min-height: 36px;
    margin-top: .45rem;
    padding: .45rem .65rem;
    color: var(--nmap-button-text, #fff);
    background: var(--nmap-accent, #e53935);
    border: 0;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 700;
}

.nmap-copy-status {
    display: block;
    min-height: 1.2em;
    margin-top: .3rem;
    color: var(--nmap-muted, #b8b8b8);
    font-size: .75rem;
}

.nmap-message {
    padding: .75rem;
    color: #332701;
    background: #fff3cd;
    border: 1px solid #d9a400;
}

@media (max-width: 480px) {
    .nmap-player {
        width: 100%;
        margin: .5rem auto;
        padding: .5rem;
    }

    .nmap-album-title,
    .nmap-now {
        padding: .42rem .6rem;
    }

    .nmap-timeline {
        grid-template-columns: 2.65rem minmax(0, 1fr) 2.65rem;
        gap: .25rem;
    }
}

@media (pointer: coarse) {
    .nmap-transport {
        grid-template-columns: repeat(3, 36px);
    }

    .nmap-nav-button,
    .nmap-play-button {
        width: 36px;
        min-width: 36px;
        height: 36px;
        min-height: 36px;
    }

    .nmap-track-button {
        min-height: 32px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .nmap-player * {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}
