/* Shared Spotify lightbox: compact native player, restrained controls. */
.spotify-desktop-viewer{position:fixed;inset:0;margin:0;box-sizing:border-box;width:100%;height:100%;max-width:none;max-height:none;border:0;padding:18px;background:transparent;color:#fff;font:13px system-ui,-apple-system,Segoe UI,sans-serif}
.spotify-desktop-viewer[open]{display:flex;align-items:center;justify-content:center}
.spotify-desktop-viewer::backdrop{background:transparent}
.spotify-desktop-viewer *{box-sizing:border-box;min-width:0}
.spotify-desktop-viewer .media-viewer-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.65);backdrop-filter:blur(2px)}
.spotify-desktop-viewer .media-viewer-card{position:relative;z-index:1;width:min(680px,calc(100vw - 36px));height:auto;max-height:calc(100dvh - 36px);background:#0f0f0f;border-radius:12px;border:1px solid #ffffff1a;overflow:hidden;box-shadow:0 20px 60px #0006;display:flex;flex-direction:column}
.spotify-desktop-viewer .media-viewer-h{flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 12px;border-bottom:1px solid #ffffff14}
.spotify-desktop-viewer .media-viewer-title{font-size:12px;font-weight:500;line-height:1.4;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.spotify-desktop-viewer button{background:transparent;color:#dce1e7;border:1px solid #ffffff26;border-radius:6px;padding:6px 10px;min-height:32px;cursor:pointer;font:12px/1.3 system-ui,sans-serif;flex:none}
.spotify-desktop-viewer .media-viewer-body{flex:0 0 auto;min-height:0;background:#0f0f0f}
.spotify-desktop-viewer iframe{width:100%;height:152px;border:0;display:block}
.spotify-desktop-viewer .spotify-viewer-status{padding:20px;color:#fff}
.spotify-desktop-viewer a{color:#fff}
.spotify-desktop-viewer :focus-visible{outline:2px solid #90c8ff;outline-offset:3px}
.spotify-desktop-viewer [hidden]{display:none!important}
@media(min-width:768px) and (max-width:900px){.spotify-desktop-viewer{padding:18px 14px max(72px,env(safe-area-inset-bottom))}.spotify-desktop-viewer .media-viewer-card{height:auto;max-height:calc(100dvh - 100px);width:min(680px,calc(100vw - 28px))}.spotify-desktop-viewer .media-viewer-body{overflow:auto;-webkit-overflow-scrolling:touch}}

/* Keep the public article main-width rule out of the shared mobile portal. */
.solution-page .mobile-spotify main{width:100%;max-width:none}

.spotify-desktop-viewer button:hover{background:#ffffff0d;border-color:#ffffff45}
