/* Bangs Music Distro global player v50.0.0 */
:root {
    --bmd-player-h: 92px;
    --bmd-player-bg: #181818;
    --bmd-player-panel: #121212;
    --bmd-player-raised: #242424;
    --bmd-player-line: rgba(255, 255, 255, .13);
    --bmd-player-text: #fff;
    --bmd-player-muted: #b3b3b3;
    --bmd-player-accent: #1ed760;
    --bmd-player-danger: #ff5d67;
    --bmd-player-shadow: 0 -8px 36px rgba(0, 0, 0, .38);
    --bmd-safe-bottom: env(safe-area-inset-bottom, 0px);
}

body.bmd-player-active {
    padding-bottom: calc(var(--bmd-player-h) + var(--bmd-safe-bottom));
}

.bmd-svg-sprite {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

.bmd-player,
.bmd-player *,
.bmd-now-playing,
.bmd-now-playing *,
.bmd-drawer,
.bmd-drawer *,
.bmd-device-popover,
.bmd-device-popover *,
.bmd-player-toast,
.bmd-player-toast * {
    box-sizing: border-box;
}

.bmd-player[hidden],
.bmd-now-playing[hidden],
.bmd-drawer[hidden],
.bmd-device-popover[hidden],
.bmd-player-toast[hidden] {
    display: none !important;
}

.bmd-player {
    position: fixed;
    z-index: 10000;
    right: 0;
    bottom: 0;
    left: 0;
    height: calc(var(--bmd-player-h) + var(--bmd-safe-bottom));
    padding: 11px 16px calc(11px + var(--bmd-safe-bottom));
    display: grid;
    grid-template-columns: minmax(220px, 30%) minmax(330px, 40%) minmax(250px, 30%);
    align-items: center;
    color: var(--bmd-player-text);
    background: var(--bmd-player-bg);
    border-top: 1px solid var(--bmd-player-line);
    box-shadow: var(--bmd-player-shadow);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    isolation: isolate;
}

.bmd-player__mobile-progress {
    display: none;
}

.bmd-player button,
.bmd-now-playing button,
.bmd-drawer button,
.bmd-device-popover button,
.bmd-player-toast button {
    font: inherit;
}

.bmd-player__track {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.bmd-player__cover-button {
    flex: 0 0 auto;
    width: 58px;
    height: 58px;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 5px;
    background: #282828;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .35);
    cursor: pointer;
}

.bmd-player__cover {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bmd-player__meta {
    min-width: 0;
    display: grid;
    gap: 3px;
}

.bmd-player__title,
.bmd-player__artist,
.bmd-now-playing__copy a {
    overflow: hidden;
    color: var(--bmd-player-text);
    text-decoration: none;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bmd-player__title {
    max-width: 100%;
    font-size: 14px;
    font-weight: 650;
    line-height: 1.35;
}

.bmd-player__artist-line {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.bmd-player__artist {
    color: var(--bmd-player-muted);
    font-size: 11.5px;
    line-height: 1.35;
}

.bmd-player__title:hover,
.bmd-player__artist:hover,
.bmd-now-playing__copy a:hover {
    text-decoration: underline;
}

.bmd-player__explicit {
    flex: 0 0 auto;
    padding: 1px 4px;
    color: #121212;
    background: #b3b3b3;
    border-radius: 2px;
    font-size: 8px;
    font-weight: 800;
    line-height: 1.2;
}

.bmd-player__like {
    flex: 0 0 auto;
    margin-left: 4px;
}

.bmd-icon-button {
    position: relative;
    width: 34px;
    height: 34px;
    padding: 7px;
    display: inline-grid;
    place-items: center;
    color: var(--bmd-player-muted);
    background: transparent;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    transition: color .15s ease, transform .15s ease, background .15s ease;
}

.bmd-icon-button svg,
.bmd-dj-button svg,
.bmd-dj-card svg,
.bmd-now-playing__bottom svg,
.bmd-device-row svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.bmd-icon-button:hover,
.bmd-icon-button:focus-visible {
    color: #fff;
    transform: scale(1.06);
}

.bmd-icon-button:focus-visible,
.bmd-play-button:focus-visible,
.bmd-dj-button:focus-visible,
.bmd-now-playing button:focus-visible,
.bmd-drawer button:focus-visible,
.bmd-device-popover button:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

.bmd-icon-button[aria-pressed="true"],
.bmd-icon-button.is-active,
.bmd-dj-button[aria-pressed="true"] {
    color: var(--bmd-player-accent);
}

.bmd-icon-button[aria-pressed="true"]::after,
.bmd-icon-button.is-active::after {
    position: absolute;
    bottom: 1px;
    left: 50%;
    width: 4px;
    height: 4px;
    background: currentColor;
    border-radius: 50%;
    content: "";
    transform: translateX(-50%);
}

#bmdLike[aria-pressed="true"] svg,
#bmdSheetLike[aria-pressed="true"] svg {
    fill: currentColor;
}

.bmd-player__transport {
    min-width: 0;
    display: grid;
    justify-items: center;
    gap: 6px;
}

.bmd-player__controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.bmd-control-main {
    color: #d8d8d8;
}

.bmd-control-secondary {
    width: 30px;
    height: 30px;
    padding: 6px;
}

.bmd-play-button {
    position: relative;
    width: 34px;
    height: 34px;
    padding: 8px;
    display: inline-grid;
    place-items: center;
    color: #000;
    background: #fff;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    transition: transform .12s ease, opacity .12s ease;
}

.bmd-play-button:hover {
    transform: scale(1.06);
}

.bmd-play-button svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.bmd-player[data-state="playing"] .bmd-play-icon,
.bmd-player[data-state="loading"] .bmd-play-icon,
.bmd-now-playing[data-state="playing"] .bmd-play-icon,
.bmd-now-playing[data-state="loading"] .bmd-play-icon {
    display: none;
}

.bmd-player:not([data-state="playing"]) .bmd-pause-icon,
.bmd-player[data-state="loading"] .bmd-pause-icon,
.bmd-now-playing:not([data-state="playing"]) .bmd-pause-icon,
.bmd-now-playing[data-state="loading"] .bmd-pause-icon {
    display: none;
}

.bmd-player__spinner {
    display: none;
    width: 17px;
    height: 17px;
    border: 2px solid rgba(0, 0, 0, .25);
    border-top-color: #000;
    border-radius: 50%;
    animation: bmd-spin .7s linear infinite;
}

.bmd-player[data-state="loading"] .bmd-player__spinner,
.bmd-now-playing[data-state="loading"] .bmd-player__spinner {
    display: block;
}

@keyframes bmd-spin { to { transform: rotate(360deg); } }

.bmd-repeat-one {
    position: absolute;
    inset: 0;
    display: none;
    place-items: center;
    padding-top: 1px;
    color: currentColor;
    font-size: 8px;
    font-weight: 900;
}

[data-mode="one"] .bmd-repeat-one {
    display: grid;
}

.bmd-player__timeline {
    width: min(100%, 580px);
    display: grid;
    grid-template-columns: 40px minmax(80px, 1fr) 40px;
    align-items: center;
    gap: 8px;
}

.bmd-player__time {
    color: var(--bmd-player-muted);
    font-variant-numeric: tabular-nums;
    font-size: 10.5px;
    text-align: center;
}

.bmd-range-wrap {
    position: relative;
    min-width: 0;
    height: 12px;
    display: flex;
    align-items: center;
}

.bmd-range-buffer {
    position: absolute;
    z-index: 0;
    top: 50%;
    left: 0;
    width: 0;
    height: 4px;
    background: rgba(255, 255, 255, .32);
    border-radius: 999px;
    pointer-events: none;
    transform: translateY(-50%);
}

.bmd-range {
    --bmd-range-progress: 0%;
    position: relative;
    z-index: 1;
    width: 100%;
    height: 4px;
    margin: 0;
    appearance: none;
    -webkit-appearance: none;
    background: linear-gradient(to right, #fff 0 var(--bmd-range-progress), #535353 var(--bmd-range-progress) 100%);
    border-radius: 999px;
    cursor: pointer;
}

.bmd-range:hover,
.bmd-range:focus-visible {
    background: linear-gradient(to right, var(--bmd-player-accent) 0 var(--bmd-range-progress), #535353 var(--bmd-range-progress) 100%);
    outline: none;
}

.bmd-range::-webkit-slider-thumb {
    width: 12px;
    height: 12px;
    appearance: none;
    -webkit-appearance: none;
    background: #fff;
    border: 0;
    border-radius: 50%;
    box-shadow: 0 1px 5px rgba(0, 0, 0, .45);
    opacity: 0;
}

.bmd-range::-moz-range-thumb {
    width: 12px;
    height: 12px;
    background: #fff;
    border: 0;
    border-radius: 50%;
    box-shadow: 0 1px 5px rgba(0, 0, 0, .45);
    opacity: 0;
}

.bmd-range:hover::-webkit-slider-thumb,
.bmd-range:focus-visible::-webkit-slider-thumb,
.bmd-range:hover::-moz-range-thumb,
.bmd-range:focus-visible::-moz-range-thumb {
    opacity: 1;
}

.bmd-player__tools {
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 3px;
}

.bmd-dj-button {
    height: 30px;
    padding: 5px 9px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--bmd-player-muted);
    background: transparent;
    border: 1px solid var(--bmd-player-line);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
}

.bmd-dj-button svg {
    width: 15px;
    height: 15px;
}

.bmd-dj-button:hover {
    color: #fff;
    border-color: #fff;
}

.bmd-player__volume {
    width: 126px;
    display: flex;
    align-items: center;
}

.bmd-range--volume {
    width: 82px;
}

.bmd-player:not(.is-muted) .bmd-muted-icon,
.bmd-player.is-muted .bmd-volume-icon {
    display: none;
}

.bmd-nav-progress {
    position: fixed;
    z-index: 11000;
    top: 0;
    right: 0;
    left: 0;
    height: 3px;
    pointer-events: none;
    opacity: 0;
    transition: opacity .18s ease;
}

.bmd-nav-progress span {
    display: block;
    width: 25%;
    height: 100%;
    background: var(--bmd-player-accent);
    box-shadow: 0 0 10px rgba(30, 215, 96, .8);
    transform: translateX(-110%);
}

.bmd-nav-progress.is-active {
    opacity: 1;
}

.bmd-nav-progress.is-active span {
    animation: bmd-nav 1.1s ease-in-out infinite;
}

@keyframes bmd-nav { to { transform: translateX(510%); } }

/* Full player */
.bmd-now-playing {
    position: fixed;
    z-index: 12000;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 24px;
    color: #fff;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.bmd-now-playing__backdrop {
    position: absolute;
    inset: 0;
    background-color: #151515;
    background-image: linear-gradient(180deg, rgba(0, 0, 0, .18), rgba(0, 0, 0, .93) 75%), var(--bmd-art-url, none);
    background-position: center;
    background-size: cover;
    filter: saturate(.72);
}

.bmd-now-playing__backdrop::after {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 10, .2);
    backdrop-filter: blur(50px);
    content: "";
}

.bmd-now-playing__content {
    position: relative;
    width: min(100%, 480px);
    max-height: min(920px, calc(100vh - 48px));
    display: grid;
    gap: 18px;
}

.bmd-now-playing__header {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) 40px;
    align-items: center;
    text-align: center;
}

.bmd-now-playing__header > div {
    min-width: 0;
    display: grid;
    gap: 2px;
}

.bmd-now-playing__header span {
    font-size: 9px;
    font-weight: 750;
    letter-spacing: .12em;
}

.bmd-now-playing__header strong {
    overflow: hidden;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bmd-now-playing__art-wrap {
    width: min(54vh, 100%);
    aspect-ratio: 1;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 22px 70px rgba(0, 0, 0, .55);
}

.bmd-now-playing__art {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.bmd-provider-stage {
    width: min(54vh, 100%);
    aspect-ratio: 16 / 9;
    margin: 0 auto;
    overflow: hidden;
    background: #000;
    border-radius: 8px;
    box-shadow: 0 22px 70px rgba(0, 0, 0, .55);
}

.bmd-provider-stage iframe,
.bmd-provider-stage > div,
.bmd-provider-stage #bmdYoutubeHost iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.bmd-now-playing__details {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.bmd-now-playing__copy {
    min-width: 0;
    flex: 1;
    display: grid;
    gap: 4px;
}

.bmd-now-playing__copy #bmdSheetTitle {
    font-size: clamp(20px, 4vw, 26px);
    font-weight: 760;
    line-height: 1.15;
}

.bmd-now-playing__copy #bmdSheetArtist {
    color: rgba(255, 255, 255, .72);
    font-size: 14px;
}

.bmd-like-large {
    width: 42px;
    height: 42px;
    padding: 8px;
}

.bmd-now-playing__timeline {
    display: grid;
    gap: 5px;
}

.bmd-now-playing__times {
    display: flex;
    justify-content: space-between;
    color: rgba(255, 255, 255, .72);
    font-variant-numeric: tabular-nums;
    font-size: 11px;
}

.bmd-now-playing__controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.bmd-sheet-skip {
    width: 48px;
    height: 48px;
    padding: 9px;
    color: #fff;
}

.bmd-play-button--large {
    width: 64px;
    height: 64px;
    padding: 17px;
}

.bmd-now-playing__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.bmd-now-playing__bottom > button {
    padding: 7px 12px;
    display: flex;
    align-items: center;
    gap: 7px;
    color: #fff;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 999px;
    font-weight: 750;
    cursor: pointer;
}

.bmd-now-playing__bottom > button svg {
    width: 18px;
    height: 18px;
}

.bmd-now-playing__bottom > div {
    display: flex;
}

/* Queue and lyrics */
.bmd-drawer {
    position: fixed;
    z-index: 12500;
    right: 0;
    bottom: calc(var(--bmd-player-h) + var(--bmd-safe-bottom));
    width: min(430px, 100vw);
    height: min(720px, calc(100vh - var(--bmd-player-h) - var(--bmd-safe-bottom)));
    padding: 18px;
    display: grid;
    grid-template-rows: auto auto minmax(0, 1fr) auto;
    gap: 14px;
    color: #fff;
    background: #121212;
    border: 1px solid var(--bmd-player-line);
    border-radius: 14px 0 0 0;
    box-shadow: -16px -12px 42px rgba(0, 0, 0, .46);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.bmd-drawer--lyrics {
    grid-template-rows: auto minmax(0, 1fr);
    background: #6f391f;
}

.bmd-drawer__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.bmd-drawer__header h2,
.bmd-drawer__header p {
    margin: 0;
}

.bmd-drawer__header h2 {
    font-size: 22px;
}

.bmd-drawer__header p {
    margin-top: 3px;
    color: var(--bmd-player-muted);
    font-size: 12px;
}

.bmd-dj-card {
    padding: 12px;
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    background: linear-gradient(120deg, rgba(30, 215, 96, .16), rgba(93, 63, 211, .2));
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 9px;
}

.bmd-dj-card__icon {
    width: 40px;
    height: 40px;
    padding: 9px;
    color: var(--bmd-player-accent);
    background: #101010;
    border-radius: 50%;
}

.bmd-dj-card > div:nth-child(2) {
    min-width: 0;
    display: grid;
    gap: 2px;
}

.bmd-dj-card span {
    overflow: hidden;
    color: #c8c8c8;
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bmd-dj-card__actions {
    display: grid;
    gap: 5px;
}

.bmd-dj-card__actions button {
    padding: 7px 12px;
    color: #000;
    background: #fff;
    border: 0;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
}

.bmd-dj-card__actions #bmdDjVoiceToggle {
    padding-block: 5px;
    color: #ddd;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, .28);
    font-size: 10px;
}

.bmd-dj-card__actions #bmdDjVoiceToggle[aria-pressed="true"] {
    color: var(--bmd-player-accent);
    border-color: var(--bmd-player-accent);
}

.bmd-drawer__list {
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-color: #505050 transparent;
}

.bmd-queue-empty {
    padding: 60px 20px;
    color: var(--bmd-player-muted);
    text-align: center;
}

.bmd-queue-item {
    padding: 8px 3px;
    display: grid;
    grid-template-columns: 22px 44px minmax(0, 1fr) auto;
    align-items: center;
    gap: 9px;
    border-radius: 7px;
}

.bmd-queue-item:hover,
.bmd-queue-item.is-current {
    background: rgba(255, 255, 255, .08);
}

.bmd-queue-item.is-current .bmd-queue-item__title {
    color: var(--bmd-player-accent);
}

.bmd-queue-item__grip {
    width: 20px;
    height: 30px;
    padding: 4px;
    color: #727272;
    background: transparent;
    border: 0;
    cursor: grab;
}

.bmd-queue-item__cover {
    width: 44px;
    height: 44px;
    object-fit: cover;
    border-radius: 4px;
}

.bmd-queue-item__copy {
    min-width: 0;
    display: grid;
    gap: 2px;
}

.bmd-queue-item__title,
.bmd-queue-item__artist,
.bmd-queue-item__reason {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bmd-queue-item__title {
    font-size: 13px;
    font-weight: 620;
}

.bmd-queue-item__artist,
.bmd-queue-item__reason {
    color: var(--bmd-player-muted);
    font-size: 11px;
}

.bmd-queue-item__reason {
    color: #8ed9a9;
}

.bmd-queue-item__remove {
    width: 30px;
    height: 30px;
    padding: 7px;
    color: #999;
    background: transparent;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
}

.bmd-drawer__clear {
    justify-self: center;
    padding: 8px 14px;
    color: #ddd;
    background: transparent;
    border: 1px solid #626262;
    border-radius: 999px;
    cursor: pointer;
}

.bmd-lyrics {
    min-height: 0;
    padding: 4px 10px 40px 0;
    overflow-y: auto;
    white-space: pre-wrap;
    scrollbar-color: rgba(255, 255, 255, .35) transparent;
}

.bmd-lyrics p,
.bmd-lyric-line {
    margin: 0 0 18px;
    color: rgba(255, 255, 255, .58);
    font-size: clamp(22px, 4vw, 32px);
    font-weight: 760;
    line-height: 1.3;
    transition: color .18s ease, transform .18s ease;
}

.bmd-lyric-line.is-active {
    color: #fff;
    transform: translateX(6px);
}

/* Device chooser */
.bmd-device-popover {
    position: fixed;
    z-index: 13000;
    right: 18px;
    bottom: calc(var(--bmd-player-h) + var(--bmd-safe-bottom) + 12px);
    width: min(340px, calc(100vw - 24px));
    padding: 16px;
    color: #fff;
    background: #282828;
    border: 1px solid var(--bmd-player-line);
    border-radius: 10px;
    box-shadow: 0 16px 50px rgba(0, 0, 0, .55);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.bmd-device-popover header {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.bmd-device-row {
    width: 100%;
    padding: 9px;
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    color: #fff;
    background: transparent;
    border: 0;
    border-radius: 7px;
    text-align: left;
}

button.bmd-device-row {
    cursor: pointer;
}

.bmd-device-row:hover {
    background: rgba(255, 255, 255, .08);
}

.bmd-device-row svg {
    width: 28px;
    height: 28px;
}

.bmd-device-row > div {
    min-width: 0;
    display: grid;
    gap: 2px;
}

.bmd-device-row span {
    color: var(--bmd-player-muted);
    font-size: 11px;
}

.bmd-device-row.is-active,
.bmd-device-row.is-active span {
    color: var(--bmd-player-accent);
}

/* Toast */
.bmd-player-toast {
    position: fixed;
    z-index: 14000;
    right: 18px;
    bottom: calc(var(--bmd-player-h) + var(--bmd-safe-bottom) + 18px);
    max-width: min(430px, calc(100vw - 36px));
    min-height: 46px;
    padding: 11px 44px 11px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    background: #2d2d2d;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 7px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, .55);
    font: 13px/1.35 Inter, ui-sans-serif, system-ui, sans-serif;
}

.bmd-player-toast a {
    color: var(--bmd-player-accent);
    font-weight: 750;
    text-decoration: none;
}

.bmd-player-toast button {
    position: absolute;
    top: 7px;
    right: 7px;
    width: 30px;
    height: 30px;
    color: #fff;
    background: transparent;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
}

/* Tablet */
@media (max-width: 1040px) {
    .bmd-player {
        grid-template-columns: minmax(210px, 34%) minmax(320px, 1fr) auto;
    }

    .bmd-player__tools .bmd-dj-button,
    .bmd-player__tools #bmdLyrics,
    .bmd-player__tools #bmdDevices,
    .bmd-player__tools #bmdExpand {
        display: none;
    }

    .bmd-player__volume {
        width: 105px;
    }

    .bmd-range--volume {
        width: 64px;
    }
}

/* Phone: compact bar + full-screen sheet */
@media (max-width: 760px) {
    :root { --bmd-player-h: 68px; }

    body.bmd-player-active {
        padding-bottom: calc(var(--bmd-player-h) + var(--bmd-safe-bottom) + 6px);
    }

    .bmd-player {
        right: 8px;
        bottom: calc(6px + var(--bmd-safe-bottom));
        left: 8px;
        width: auto;
        height: var(--bmd-player-h);
        padding: 8px;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 6px;
        background: #292929;
        border: 0;
        border-radius: 7px;
        box-shadow: 0 8px 28px rgba(0, 0, 0, .48);
    }

    .bmd-player__mobile-progress {
        position: absolute;
        right: 5px;
        bottom: 1px;
        left: 5px;
        height: 2px;
        display: block;
        overflow: hidden;
        background: rgba(255, 255, 255, .22);
        border-radius: 999px;
    }

    .bmd-player__mobile-progress span {
        display: block;
        width: 0;
        height: 100%;
        background: #fff;
    }

    .bmd-player__track {
        gap: 9px;
        cursor: pointer;
    }

    .bmd-player__cover-button {
        width: 52px;
        height: 52px;
        border-radius: 5px;
    }

    .bmd-player__title { font-size: 13px; }
    .bmd-player__artist { font-size: 11px; }
    .bmd-player__like { display: none; }

    .bmd-player__transport {
        display: block;
    }

    .bmd-player__controls {
        height: 52px;
        gap: 0;
    }

    .bmd-player__controls #bmdShuffle,
    .bmd-player__controls #bmdPrevious,
    .bmd-player__controls #bmdRepeat {
        display: none;
    }

    .bmd-player__controls #bmdNext {
        width: 36px;
        height: 36px;
        padding: 8px;
        color: #fff;
    }

    .bmd-player .bmd-play-button {
        width: 40px;
        height: 40px;
        padding: 10px;
        color: #fff;
        background: transparent;
    }

    .bmd-player__timeline,
    .bmd-player__tools {
        display: none;
    }

    .bmd-now-playing {
        padding: 0;
        place-items: stretch;
    }

    .bmd-now-playing__content {
        width: 100%;
        max-height: none;
        min-height: 100dvh;
        padding: max(12px, env(safe-area-inset-top)) 22px max(18px, env(safe-area-inset-bottom));
        grid-template-rows: auto minmax(0, 1fr) auto auto auto auto;
        align-content: center;
        gap: clamp(15px, 2.6vh, 24px);
    }

    .bmd-now-playing__art-wrap {
        width: min(100%, 52vh);
        align-self: center;
    }

    .bmd-provider-stage {
        width: 100%;
        align-self: center;
    }

    .bmd-now-playing__copy #bmdSheetTitle {
        font-size: clamp(20px, 6vw, 26px);
    }

    .bmd-drawer {
        top: 0;
        bottom: 0;
        width: 100%;
        height: 100dvh;
        padding: max(18px, env(safe-area-inset-top)) 16px max(18px, env(safe-area-inset-bottom));
        border: 0;
        border-radius: 0;
    }

    .bmd-device-popover {
        right: 12px;
        bottom: calc(var(--bmd-player-h) + var(--bmd-safe-bottom) + 16px);
        left: 12px;
        width: auto;
    }

    .bmd-player-toast {
        right: 12px;
        bottom: calc(var(--bmd-player-h) + var(--bmd-safe-bottom) + 16px);
        left: 12px;
        max-width: none;
    }
}

@media (max-width: 760px) and (orientation: landscape) {
    .bmd-now-playing__content {
        padding-inline: 8vw;
        grid-template-columns: minmax(180px, .8fr) minmax(260px, 1fr);
        grid-template-rows: auto auto auto auto auto;
        column-gap: 6vw;
    }

    .bmd-now-playing__header { grid-column: 1 / -1; }
    .bmd-now-playing__art-wrap,
    .bmd-provider-stage { grid-row: 2 / 6; grid-column: 1; width: min(58vh, 100%); }
    .bmd-now-playing__details { grid-row: 2; grid-column: 2; align-self: end; }
    .bmd-now-playing__timeline { grid-row: 3; grid-column: 2; }
    .bmd-now-playing__controls { grid-row: 4; grid-column: 2; }
    .bmd-now-playing__bottom { grid-row: 5; grid-column: 2; align-self: start; }
}

@media (prefers-reduced-motion: reduce) {
    .bmd-player *,
    .bmd-now-playing *,
    .bmd-drawer *,
    .bmd-nav-progress * {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}

@media (forced-colors: active) {
    .bmd-player,
    .bmd-drawer,
    .bmd-device-popover {
        border: 1px solid CanvasText;
    }

    .bmd-range {
        forced-color-adjust: none;
    }
}
