/* v21 only: keep the v20.1 compact two-row genres, sidebar and all ad slots unchanged. */
.mm-player-plus{display:inline-grid;place-items:center;border:1px solid #e9e4ff;border-radius:14px;background:#6546d7;color:#fff;cursor:pointer;box-shadow:0 4px 12px rgba(92,65,198,.17);flex:0 0 44px;width:44px;height:44px;padding:0;transition:transform .15s,background .15s;line-height:1}
.mm-player-plus>span{display:block;font-family:Arial,sans-serif;font-size:34px;font-weight:400;line-height:1;transform:translateY(-1px)}
.mm-player-plus:hover{background:#4f31bb;transform:translateY(-1px)}
.mm-player-plus:focus-visible{outline:3px solid #ab93ff;outline-offset:3px}
body.mm-shell-v19 #mmGlobalPlayer .mm-player-info{flex:0 1 195px;width:clamp(100px,15vw,195px)}
body.mm-shell-v19 #mmGlobalPlayer #mmPlayerQueueAdd{width:44px;height:44px;flex-basis:44px;margin-right:4px}
body.mm-shell-v19 #mmQueueDrawer .mm-queue-head{display:grid;grid-template-columns:minmax(68px,1fr) minmax(160px,190px) 24px;align-items:center;gap:8px;flex:0 0 auto;padding:16px 13px 12px}
body.mm-shell-v19 #mmQueueDrawer .mm-queue-head h2{font-size:18px;margin:0;white-space:nowrap;letter-spacing:-.5px}
.mm-playlist-tabs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));grid-template-rows:repeat(2,30px);gap:5px}
.mm-playlist-tabs button{appearance:none;border:1px solid #e1e3ee;border-radius:8px;min-width:0;background:#fff;color:#757287;font-size:12px;font-weight:700;cursor:pointer;padding:0}
.mm-playlist-tabs button[aria-pressed=true]{background:#6546d7;border-color:#6546d7;color:#fff;box-shadow:0 2px 7px rgba(83,58,169,.14)}
.mm-playlist-tabs button:hover{border-color:#967adb}.mm-playlist-tabs button:focus-visible{outline:2px solid #6546d7;outline-offset:2px}
#mmQueueDrawer button:disabled{cursor:default;opacity:.55}
#mmQueueDrawer [hidden]{display:none!important}
.mm-playlist-toolbar{display:flex;align-items:center;gap:8px;flex:0 0 auto;padding:12px 17px 8px;min-width:0}
.mm-playlist-name-view{display:flex;align-items:center;min-width:0;gap:6px;flex:1}
.mm-playlist-name-view h3{font-size:15px;line-height:1.5;letter-spacing:-.25px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin:0;min-width:0}
#mmPlaylistRename{flex:0 0 28px;width:28px;height:28px;padding:5px;border:0;border-radius:7px;color:#8a7bab;background:#f0ecf7;cursor:pointer}
#mmPlaylistRename svg{display:block;width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
#mmPlaylistNameForm{display:flex;align-items:center;gap:4px;min-width:0;flex:1}
#mmPlaylistNameInput{width:100%;min-width:0;flex:1;border:1px solid #bca9eb;background:#fff;color:#30283f;padding:7px;border-radius:7px;font:inherit;font-size:12px;height:34px}
#mmPlaylistNameForm button{font-size:11px;white-space:nowrap;background:#f0ebfb;border:0;color:#644699;border-radius:6px;padding:7px 5px;cursor:pointer}
#mmQueueClear{flex-shrink:0;font-size:11px!important;white-space:nowrap}
.mm-playlist-current{display:flex;align-items:center;gap:8px;flex:0 0 auto;margin:3px 14px 7px;padding:10px;border:1px solid #e4dcf6;border-radius:10px;background:#f4f0fc}
.mm-playlist-current>div{flex:1;min-width:0}.mm-playlist-current small{font-size:9px;color:#847697;display:block;line-height:1.5}
.mm-playlist-current strong{font-size:11px;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:3px;color:#41344f}
#mmQueueAddCurrent{white-space:nowrap;flex-shrink:0;font-size:10px;font-weight:700;color:#fff;border:0;border-radius:7px;padding:9px 8px;background:#6546d7;cursor:pointer;min-height:33px}
#mmQueueAddCurrent:disabled{color:#7b6b94;background:#e7e0f2;opacity:1!important}
.mm-playlist-status-row{display:flex;gap:6px;padding:0 17px 7px;align-items:center;flex:0 0 auto;min-width:0}
#mmPlaylistStatus{font-size:10px;line-height:1.6;color:#8e869b;flex:1;overflow-wrap:anywhere}
#mmPlaylistStatus.is-error{color:#aa384d}
#mmPlaylistRetry{border:0;background:transparent;color:#6743ae;text-decoration:underline;cursor:pointer;font-size:10px;flex-shrink:0;padding:4px 0}
.mm-playlist-import{display:flex;gap:8px;align-items:center;justify-content:space-between;padding:9px 12px;margin:0 14px 8px;border-radius:8px;border:1px solid #e7ddf5;background:#fff9ed;flex:0 0 auto;font-size:10px;line-height:1.6;color:#7c6850}
.mm-playlist-import button{border:0;background:#fff;color:#694aa5;border-radius:5px;padding:6px;font-size:10px;flex-shrink:0;cursor:pointer}
body.mm-shell-v19 #mmQueueDrawer .mm-queue-list{flex:1 1 auto;min-height:50px;overflow-y:auto;overscroll-behavior:contain;padding-top:0;padding-bottom:12px}
body.mm-shell-v19 #mmQueueDrawer .mm-queue-item{min-height:62px}
body.mm-shell-v19 #mmQueueDrawer .mm-queue-main{display:flex;align-items:center;text-align:left;gap:10px;min-width:0;cursor:default;border:0;background:none;padding:0;color:inherit}
.mm-queue-art-button{border:0;background:transparent;padding:0;flex:0 0 44px;width:44px;height:44px;border-radius:8px;cursor:pointer;overflow:hidden;color:inherit}
.mm-queue-art-button .mm-queue-cover-wrap{display:block;position:relative;width:44px;height:44px}.mm-queue-art-button img{display:block;width:44px;height:44px;object-fit:cover}
#mmQueueDrawer .mm-queue-copy{flex:1;min-width:0;display:block}
#mmQueueDrawer .mm-queue-title-link,#mmQueueDrawer .mm-queue-artist-link{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-decoration:none;max-width:100%}
#mmQueueDrawer .mm-queue-title-link{font-size:12px;font-weight:700;line-height:1.6;color:#292b35}
#mmQueueDrawer .mm-queue-artist-link{font-size:10px;line-height:1.6;margin-top:2px;color:#8d8699}
#mmQueueDrawer a.mm-queue-title-link:hover,#mmQueueDrawer a.mm-queue-artist-link:hover{color:#6344bf;text-decoration:underline}
#mmQueueDrawer a:focus-visible,#mmQueueDrawer button:focus-visible{outline:2px solid #9476da;outline-offset:2px}
.mm-queue-artist-link.is-unavailable{color:#a7a0af}
#mmQueueDrawer .mm-queue-grip{touch-action:none;cursor:grab}
#mmQueueDrawer .mm-queue-cover-play{pointer-events:none}
#mmQueueDrawer .mm-queue-art-button:hover .mm-queue-cover-play{opacity:1}
.mm-playlist-guest{flex:0 0 auto;margin-top:auto;padding:12px 16px;background:#f3f0f9;border-top:1px solid #e6e1ee;font-size:10px;line-height:1.7;color:#82758f}
.mm-playlist-guest p{margin:0}.mm-playlist-guest strong{display:block;color:#655477;font-weight:650;margin-bottom:3px}
.mm-playlist-guest>div{display:flex;gap:12px;margin-top:6px}.mm-playlist-guest a{color:#6843bc;font-size:11px;font-weight:700;text-decoration:none}
.mm-now-meta{display:flex;align-items:center;gap:12px}.mm-now-meta-copy{flex:1;min-width:0}
#mmNowAdd{flex-shrink:0}
@media(min-width:768px) and (max-width:1100px){body.mm-shell-v19 #mmGlobalPlayer .mm-player-info{flex-basis:125px}body.mm-shell-v19 #mmQueueDrawer .mm-queue-head{grid-template-columns:68px minmax(144px,1fr) 22px;gap:6px;padding-inline:10px}body.mm-shell-v19 #mmQueueDrawer .mm-queue-head h2{font-size:16px}}
@media(max-width:767px){
 body.mm-shell-v19 #mmGlobalPlayer .mm-player-inner{grid-template-columns:30px 31px minmax(0,1fr) 38px 24px 27px;column-gap:6px}
 body.mm-shell-v19 #mmGlobalPlayer .mm-player-info{width:auto;min-width:0}
 body.mm-shell-v19 #mmGlobalPlayer #mmPlayerQueueAdd{grid-column:4;grid-row:1;width:36px;height:36px;margin:0;border-radius:11px}
 body.mm-shell-v19 #mmGlobalPlayer #mmPlayerQueueAdd>span{font-size:29px}
 body.mm-shell-v19 #mmQueueDrawer{top:8px;height:auto;max-height:calc(100dvh - var(--mm-player-space) - var(--mm-promo-height) - 12px);bottom:calc(var(--mm-player-space) + var(--mm-promo-height) + env(safe-area-inset-bottom));border-radius:16px 16px 0 0}
 body.mm-shell-v19.mm-now-open #mmQueueDrawer{top:calc(48px + env(safe-area-inset-top));bottom:var(--mm-now-ad-height);max-height:none}
 body.mm-shell-v19 #mmQueueDrawer .mm-queue-head{grid-template-columns:minmax(70px,1fr) minmax(170px,220px) 24px;padding:12px 14px 10px;gap:8px}
 #mmNowAdd{width:44px;height:44px;border-radius:13px}
 .mm-playlist-toolbar{padding-top:8px}.mm-playlist-guest{padding:9px 14px}.mm-playlist-guest strong{font-size:10px}
 .mm-now-buttons{justify-content:space-around}
}
@media(max-width:360px){body.mm-shell-v19 #mmGlobalPlayer .mm-player-inner{column-gap:4px;padding-inline:8px}body.mm-shell-v19 #mmQueueDrawer .mm-queue-head{grid-template-columns:70px minmax(145px,1fr) 22px;gap:6px}#mmQueueDrawer .mm-queue-head h2{font-size:16px!important}.mm-playlist-current small{font-size:8px}}
@media(max-height:640px){
 body.mm-shell-v19 #mmQueueDrawer{overflow-y:auto;overscroll-behavior:contain}
 body.mm-shell-v19 #mmQueueDrawer .mm-queue-list{flex:0 0 auto;overflow-y:visible;min-height:0}
 .mm-playlist-guest{margin-top:8px}
}
@media(prefers-reduced-motion:reduce){.mm-player-plus{transition:none}}
