/* R247: scoped additions for Home and Listen only. */
.home-html .mpb-playlists {width:100%;margin:28px 0 20px;padding:0;box-sizing:border-box;scroll-margin-top:24px;color:#17304f;clear:both}
.home-html .mpb-playlists-heading {padding:0 3.5% 20px}
.home-html .mpb-playlists h2 {font-size:clamp(23px,2.7vw,34px);line-height:1.2;letter-spacing:-.035em;margin:0 0 9px;font-weight:800;color:#17304f}
.home-html .mpb-playlists-intro {font-size:14px;line-height:1.5;margin:0;color:#657487}
.home-html .mpb-playlist-grid {display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:12px;width:100%;direction:ltr}
.home-html a.mpb-playlist-card {position:relative;display:block;min-width:0;aspect-ratio:1;border:3px solid #132b48;border-radius:12px;padding:3px;background:#132b48;box-sizing:border-box;overflow:hidden;box-shadow:0 4px 12px #17304f1c;transition:transform .18s ease,box-shadow .18s ease;text-decoration:none;color:#fff}
.home-html .mpb-playlist-card img {display:block;width:100%;height:100%;aspect-ratio:1;object-fit:contain;border-radius:6px}
.home-html .mpb-playlist-card .mpb-card-listen {position:absolute;right:7px;bottom:7px;display:flex;align-items:center;justify-content:center;gap:5px;min-height:30px;max-width:calc(100% - 14px);padding:6px 10px;box-sizing:border-box;background:#132b48;color:#fffaf5;border:1px solid #fffaf5;border-radius:999px;box-shadow:0 3px 10px #17304f40;font-size:11px;font-weight:750;line-height:1.25;text-align:center}
.home-html .mpb-playlist-card:hover {transform:translateY(-3px);box-shadow:0 10px 20px #17304f35}
.home-html .mpb-playlist-card:hover .mpb-card-listen {background:#a95850}
.home-html .mpb-playlist-card:focus-visible {outline:3px solid #146ef5;outline-offset:3px}
.home-html .mpb-playlists-note {font-size:12px;color:#657487;line-height:1.5;margin:14px 3.5% 0}
.home-html .mpb-playlists-note a {text-decoration:underline}
.home-html .mpb-grand-catalogue-note {font-size:13px;line-height:1.5;color:#657487}
.home-html .mpb-grand-catalogue-note a {text-decoration:underline}
.mpb-playlist-dialog {box-sizing:border-box;position:fixed;inset:0;max-width:620px;width:calc(100% - 40px);height:min(780px,calc(100dvh - 44px));max-height:calc(100dvh - 44px);margin:auto;padding:0;border:1px solid #f0d9cf;border-radius:26px;background:#fffaf5;color:#17304f;box-shadow:0 28px 80px #17304f47;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;overflow:hidden}
.mpb-playlist-dialog[open] {display:flex;flex-direction:column}
.mpb-playlist-dialog::backdrop {background:#142b4799;backdrop-filter:blur(4px)}
.mpb-dialog-header {flex:0 0 auto;display:flex;align-items:flex-start;justify-content:space-between;gap:15px;padding:22px 22px 16px;border-bottom:1px solid #eedfd4;background:#fffaf5}
.mpb-dialog-header h2 {font-size:26px;line-height:1.2;margin:0;letter-spacing:-.035em;color:#17304f;font-weight:800}
.mpb-dialog-header p {font-size:12px;color:#657487;margin:8px 0 0;line-height:1.5}
.mpb-dialog-close {display:inline-flex;gap:7px;align-items:center;flex-shrink:0;min-height:44px;padding:9px 12px;border:1px solid #d5c5bb;border-radius:24px;background:#fff;color:#17304f;cursor:pointer;font:600 13px/1.2 -apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif}
.mpb-dialog-close span[aria-hidden] {font-size:22px;font-weight:400}
.mpb-dialog-close:focus-visible,.mpb-dialog-external:focus-visible {outline:3px solid #146ef5;outline-offset:3px}
.mpb-dialog-scroll {min-height:0;flex:1;overflow:auto;padding:18px 22px 22px;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
.mpb-dialog-scroll iframe {display:block;width:100%;height:100%;min-height:352px;border:0;border-radius:14px;background:#fff}
.mpb-dialog-external {display:block;color:#17304f;background:#fff;border:1px solid #17304f;border-radius:24px;padding:12px 18px;margin:16px 0 0;text-decoration:none;text-align:center;font-size:13px;font-weight:700;line-height:1.4;min-height:44px;box-sizing:border-box}
.mpb-dialog-note {font-size:12px;line-height:1.5;color:#657487;margin:13px 0 0}
html.mpb-playlist-open,html.mpb-playlist-open body {overflow:hidden}
@media(max-width:760px) {
 .home-html .mpb-playlist-grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;width:90%;margin-inline:auto}
 .home-html .mpb-playlists {margin-top:25px}
 .home-html .mpb-playlists-heading {padding-inline:5%}
 .home-html .mpb-playlists-note {margin-inline:5%}
 .home-html .mpb-playlist-card .mpb-card-listen {min-height:38px;padding:8px 12px;font-size:12px}
 .mpb-playlist-dialog {width:calc(100% - 16px);max-width:none;height:calc(100dvh - 16px);max-height:calc(100dvh - 16px);border-radius:20px}
 .mpb-dialog-header {padding:16px 14px 14px;gap:10px}
 .mpb-dialog-header h2 {font-size:23px}
 .mpb-dialog-scroll {padding:14px}
}
@media(prefers-reduced-motion:reduce) {.home-html a.mpb-playlist-card {transition:none}}

/* Validated 16 October: buttons below covers and one heading arrow. */
.home-html .mpb-playlist-choice{min-width:0}
.home-html a.mpb-playlist-card{aspect-ratio:auto;border:0;padding:0;background:transparent;overflow:visible;box-shadow:none;border-radius:12px;cursor:pointer}
.home-html .mpb-playlist-card img{height:auto;aspect-ratio:1;object-fit:contain;border:3px solid #132b48;padding:3px;background:#132b48;box-sizing:border-box;border-radius:12px;box-shadow:0 4px 12px #17304f15}
.home-html .mpb-playlist-card .mpb-card-listen{position:static;display:flex;width:100%;max-width:none;min-height:44px;margin-top:10px;padding:10px 8px;border:0;border-radius:9px;background:#132b48;color:#fffaf5;font-size:13px;font-weight:650;line-height:1.3;box-shadow:none;gap:8px}
.home-html .mpb-playlist-card .mpb-card-listen span{font-size:10px}
.home-html a.mpb-playlist-card:hover{box-shadow:none;transform:translateY(-2px)}
.home-html .mpb-playlist-card:hover .mpb-card-listen{background:#234766}
.home-html .mpb-heading-arrow{position:relative;display:inline-block;width:44px;height:52px;margin-inline-start:12px;vertical-align:top;color:#132b48}
.home-html .mpb-heading-arrow::before{content:"";position:absolute;left:0;top:14px;width:30px;height:32px;border-top:3px solid currentColor;border-right:3px solid currentColor}
.home-html .mpb-heading-arrow::after{content:"";position:absolute;left:25px;top:36px;width:12px;height:12px;border-right:3px solid currentColor;border-bottom:3px solid currentColor;transform:rotate(45deg)}
.home-html [dir=rtl] .mpb-heading-arrow{transform:scaleX(-1)}
@media(max-width:760px){.home-html .mpb-playlist-card .mpb-card-listen{font-size:14px;margin-top:9px}.home-html .mpb-playlist-grid{row-gap:22px}}
