/* Rainbow Dark Elements palette, scoped to the performance page. */
#panel-content:has(.performance-song),#detail-dialog:has(.performance-song){background:#19181c;color:#faf7fb;color-scheme:dark}
#detail-dialog:has(.performance-song) .panel-toolbar{background:#19181c;color:#faf7fb}
.performance-song{padding:1rem;max-width:46rem;margin:auto;overflow-wrap:anywhere}
.performance-poster{display:grid;align-items:center;gap:1rem;padding:1.3rem 0 .95rem;background:linear-gradient(110deg,#efadc8,#d6b6f1,#abcaf4,#a9dfcc,#f3dfa7) top/100% .45rem no-repeat}
.performance-song h2{font-size:clamp(1.9rem,8vw,3.8rem);color:#faf7fb;line-height:1.05;margin:0 0 .3rem}
.performance-song h3{color:#faf7fb;font-size:1.35rem;margin:.15rem 0 .3rem}
.performance-kicker,.performance-song figcaption,.performance-note{color:#cfc6d3}
.performance-kicker{letter-spacing:.12em;text-transform:uppercase;font-weight:700}
.performance-artist{font-size:1.25rem;color:#efb1df}
.performance-song figure{margin:0;max-width:100%}
.performance-song figure img{display:block;max-width:100%;max-height:52vh;object-fit:contain;border:1px solid #776d80}
.performance-context,.performance-related{border-top:1px solid #776d80;padding:.85em 0}
.performance-song a{color:#b6dfd4;display:inline-flex;align-items:center;min-height:44px;text-decoration:underline}
.performance-song a:focus-visible{outline:2px solid #fff;outline-offset:2px}

.performance-poster.has-picture{grid-template-columns:minmax(0,1.5fr) minmax(0,.9fr)}
.performance-song .performance-artist a{color:#efb1df;font-weight:650}
.performance-context{margin:1.2rem 0 1rem}
.performance-context p:not(.performance-kicker){font-size:1.1rem;line-height:1.55}
.performance-related summary{cursor:pointer;min-height:44px;width:fit-content;font-size:1.12rem;font-weight:650;padding:.55rem .15rem .45rem 0}
.performance-related summary:focus-visible{outline:2px solid #fff;outline-offset:2px}
@media(max-width:580px){.performance-poster.has-picture{grid-template-columns:minmax(0,1fr)}}
@font-face{font-family:ElementsArchivo;src:url("fonts/archivo.woff2") format("woff2");font-weight:100 900;font-display:swap}
@font-face{font-family:ElementsBarlow;src:url("fonts/barlow-condensed-extra-bold.woff2") format("woff2");font-weight:800;font-display:swap}
#detail-dialog:has(.elements-page,.performance-song){
  color-scheme:dark;background:#19181c;color:#faf7fb;width:min(100%,62rem);max-width:100%;max-height:100dvh;
}
#detail-dialog:has(.elements-page,.performance-song) :is(.panel-toolbar,#panel-content){background:#19181c;color:#faf7fb}
#detail-dialog:has(.elements-page,.performance-song) .icon-button{background:#302b36;color:#faf7fb;border-color:#776d80}
#panel-content :is(.elements-page,.performance-song){padding:clamp(.75rem,3vw,2rem);font:1.12rem/1.42 ElementsArchivo,system-ui,sans-serif;overflow-wrap:anywhere;max-width:58rem;margin:auto}
.elements-head,.performance-poster{padding:1.4rem 0 1rem;border-bottom:2px solid #776d80;background:linear-gradient(115deg,#efadc8,#d6b6f1 24%,#abcaf4 43%,#a9dfcc 64%,#f3dfa7 82%,#efadc8) top/100% 8px no-repeat}
.elements-head p,.performance-kicker{color:#efb1df;font:800 1rem/1.2 ElementsArchivo,system-ui,sans-serif;text-transform:uppercase;letter-spacing:.12em;margin:.5rem 0}
#panel-content :is(.elements-page,.performance-song) #panel-title{font:800 clamp(2.6rem,8vw,5rem)/.98 ElementsBarlow,sans-serif;color:#faf7fb;letter-spacing:-.02em;margin:.2em 0}
.elements-page h3{color:#faf7fb;font:800 1.8rem/1.1 ElementsBarlow,sans-serif;margin:1.2rem 0 .6rem}
.elements-page a,.performance-song .performance-year{color:#b6dfd4;text-decoration:underline;text-underline-offset:3px}
.elements-page a:focus-visible,.elements-page button:focus-visible{outline:2px solid #fff;outline-offset:2px}
.elements-record,.year-weeks a{display:flex;justify-content:space-between;align-items:center;gap:.65rem;min-height:3.55rem;padding:.6rem .25rem;border-bottom:1px solid #776d80}
.elements-record small,.year-weeks small{display:block;color:#cfc6d3;font-size:1rem}
.elements-portals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.6rem;margin:1rem 0}
.elements-portals a{display:grid;justify-items:center;align-content:end;gap:.4rem;background:#302b36;padding:.5rem;border:1px solid #776d80}
.elements-portals svg{width:100%;height:clamp(3.2rem,12vw,7.5rem)}
.elements-inline{display:inline-flex;align-items:center;min-height:44px}
@media(max-width:600px){#detail-dialog:has(.elements-page,.performance-song){inset:0;margin:0;width:100%;height:100dvh;max-height:100dvh;border:0;border-radius:0}}
/* The public shell has a legacy important theme. Scope the Elements tokens to these pages. */
html.brand-approved #detail-dialog:has(.elements-page,.performance-song){
  --paper:#19181c;--cream:#302b36;--ink:#faf7fb;--red:#efb1df;--muted:#cfc6d3;
  background:var(--paper)!important;color:var(--ink)!important;border-color:#776d80!important;box-shadow:none!important;
}
html.brand-approved #panel-content :is(.elements-page,.performance-song) h2{
  font:800 clamp(2.6rem,8vw,5rem)/.98 ElementsBarlow,sans-serif!important;color:#faf7fb!important;
  text-shadow:none!important;letter-spacing:-.02em!important;
}
html.brand-approved #panel-content :is(.elements-page,.performance-song) h3{
  font:800 1.8rem/1.1 ElementsBarlow,sans-serif!important;color:#faf7fb!important;
}
html.brand-approved #panel-content :is(.elements-page,.performance-song) a{color:#b6dfd4!important}
html.brand-approved #panel-content :is(.elements-page,.performance-song) :is(.elements-credit,.performance-artist) a{color:#efb1df!important;display:inline-flex;align-items:center;min-height:44px}
.elements-page button{background:#302b36;color:#faf7fb;border:1px solid #776d80;padding:.5rem .9rem;min-height:44px}
/* Consistent neutral reading surface: keep the video and records, not legacy
   wallpaper or rotated comic labels. The idle jukebox retains its own styling. */
html.brand-approved[data-decade] body{background:#14141a!important;color:#f7f7fa!important}
html.brand-approved[data-decade] #main .feature{border:0!important;outline:0!important;inset:0!important;background:#14141a!important}
html.brand-approved[data-decade] #main .feature-copy{left:18px!important;right:18px!important;bottom:24px!important;gap:10px!important;max-height:52%!important}
html.brand-approved[data-decade] #main :is(#hero-title-link,#hero-artist,#hero-year){background:#21222b!important;color:#f7f7fa!important;border:1px solid #727587!important;border-radius:8px!important;box-shadow:none!important;transform:none!important;text-shadow:none!important;padding:10px 14px!important}
html.brand-approved[data-decade] #main #featured-title{font-family:ElementsArchivo,system-ui,sans-serif!important;font-weight:800!important;font-size:clamp(26px,9vw,64px);line-height:1.08!important;color:#f7f7fa!important;-webkit-text-stroke:0!important}
html.brand-approved[data-decade] #main .artist-line #hero-artist,html.brand-approved[data-decade] #main .home-year-area #hero-year{font:650 clamp(17px,5.2vw,32px)/1.25 ElementsArchivo,system-ui,sans-serif!important;letter-spacing:0!important;overflow-wrap:anywhere}
html.brand-approved[data-decade] #main #hero-screen .thumbnail-fallback:not([hidden]){display:block!important;position:absolute;top:38%;left:16px;right:16px;text-align:center;color:#c6c7d3;font:500 16px/1.5 ElementsArchivo,system-ui,sans-serif!important;text-shadow:none!important}
html.brand-approved[data-decade] .search-trigger{background:#252631!important;color:#f7f7fa!important;border:1px solid #77798a!important;border-radius:50%!important;box-shadow:none!important}
html.brand-approved #detail-dialog:has(.search-page){--paper:#19181c;--cream:#302b36;--ink:#faf7fb;--red:#efb1df;--muted:#cfc6d3;background:#19181c!important;color:#faf7fb!important;border:0!important;box-shadow:none!important}
html.brand-approved #detail-dialog:has(.search-page) :is(.panel-toolbar,.search-page,.search-page-inner,#search-results,.empty-state,.search-options,.search-answer){background:#19181c!important;background-image:none!important;box-shadow:none!important;color:#faf7fb!important}
html.brand-approved #detail-dialog:has(.search-page) #panel-content h2{font:800 2.3rem/1.1 ElementsArchivo,system-ui,sans-serif!important;color:#faf7fb!important;text-shadow:none!important}
html.brand-approved #detail-dialog:has(.search-page) #panel-content :is(h3,p,label,summary,input,button,a,li){font-family:ElementsArchivo,system-ui,sans-serif!important;text-shadow:none!important;color:#faf7fb!important}
html.brand-approved #detail-dialog:has(.search-page) #panel-content :is(input,button,.search-field){background:#302b36!important;border-color:#77798a!important;box-shadow:none!important}
.live-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:14px 0}
.live-facts>div{padding:12px;background:#302b36;border-radius:8px}
.live-facts dt{color:#cfc6d3;font-size:.9rem}.live-facts dd{font-size:1.35rem;font-weight:800;margin:5px 0 0}
.warehouse-related{border-top:1px solid #615c6a;margin:1rem 0;padding:.75rem 0}
.warehouse-related h4{font:700 1rem/1.3 ElementsArchivo,system-ui,sans-serif;color:#e4e2e9;margin:.8rem 0 .25rem}
.warehouse-records{list-style:none;margin:0;padding:0}
.warehouse-records li{border-bottom:1px solid #555360;margin:0;padding:0}
.warehouse-records a{display:flex!important;flex-direction:column;align-items:flex-start!important;gap:.2rem;padding:12px 4px;width:100%;min-height:44px;text-decoration:none!important}
.warehouse-records strong{font:700 1.07rem/1.3 ElementsArchivo,system-ui,sans-serif;color:#f7f7fa;overflow-wrap:anywhere}
.warehouse-records small{font:400 .86rem/1.4 ElementsArchivo,system-ui,sans-serif;color:#cfc6d3}
.warehouse-facts{display:grid;gap:8px}.warehouse-facts>div{padding:10px;background:#302b36;border-radius:8px}.warehouse-facts dt{color:#cfc6d3;font-size:.9rem}.warehouse-facts dd{margin:4px 0 0;overflow-wrap:anywhere}
.warehouse-image{width:100%;max-height:50vh;object-fit:contain}
html.brand-approved[data-decade] #main #hero-thumbnail[data-media-kind="cover"]{object-fit:contain;object-position:center 25%;background:#14141a}
html.brand-approved #detail-dialog .warehouse-search-options{display:block!important;margin:.65rem 0;padding:0!important;border:0!important}
html.brand-approved #detail-dialog .warehouse-search-options .filter-tabs{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:.35rem;margin:.3rem 0}
html.brand-approved #detail-dialog .warehouse-search-options .filter-tabs button{font:650 .9rem/1.2 ElementsArchivo,system-ui,sans-serif!important;min-height:44px;padding:.45rem .2rem;letter-spacing:0!important}
html.brand-approved #detail-dialog .warehouse-search-options .filter-tabs button[aria-pressed="true"]{background:#55596d!important;border-color:#c7c8d4!important}
/* Editorial V2: data-led, comfortable at phone widths, with no decorative
   database terminology or neon frames. Scoped to detail pages only. */
html.brand-approved #detail-dialog:has(.elements-page,.performance-song){--paper:#151716;--cream:#222725;--ink:#f7f5ee;--muted:#b7bcb6;--red:#deac78;background:#151716!important;color:#f7f5ee!important;border:0!important;outline:0!important;width:100%;max-height:100dvh;box-shadow:none!important}
html.brand-approved #detail-dialog:has(.elements-page,.performance-song) .panel-toolbar{background:#151716!important;border:0!important;box-shadow:none!important;min-height:52px!important;padding:4px 14px!important;display:flex;justify-content:space-between;align-items:center}
html.brand-approved #detail-dialog:has(.elements-page,.performance-song) .panel-toolbar .icon-button{width:44px!important;height:44px!important;min-height:44px!important;border:0!important;border-radius:50%!important;background:#242925!important;color:#f7f5ee!important;box-shadow:none!important}
html.brand-approved #detail-dialog:has(.elements-page,.performance-song) #panel-content{background:transparent!important;padding:0 0 32px!important}
html.brand-approved #panel-content :is(.elements-page,.performance-song){padding:12px 18px 30px!important;max-width:44rem;font:1rem/1.5 ElementsArchivo,system-ui,sans-serif;color:#f7f5ee}
html.brand-approved #panel-content :is(.elements-page,.performance-song) #panel-title{font:750 clamp(30px,8.5vw,45px)/1.04 ElementsArchivo,system-ui,sans-serif!important;letter-spacing:-.045em!important;color:#f7f5ee!important;margin:0 0 8px!important;outline:none!important;box-shadow:none!important;border:0!important;text-shadow:none!important}
html.brand-approved #panel-content :is(.elements-page,.performance-song) #panel-title:focus{outline:none!important;box-shadow:none!important}
html.brand-approved #panel-content :is(.elements-page,.performance-song) h3{font:750 1.36rem/1.2 ElementsArchivo,system-ui,sans-serif!important;letter-spacing:-.025em!important;margin:18px 0 9px;color:#f7f5ee!important}
html.brand-approved #panel-content :is(.elements-page,.performance-song) h4{font:650 .9rem/1.3 ElementsArchivo,system-ui,sans-serif!important;color:#c3c9c1!important;margin:12px 0 5px}
html.brand-approved #panel-content :is(.elements-head,.performance-poster){background:none!important;border:0!important;padding:5px 0 12px!important;gap:8px}
html.brand-approved #panel-content :is(.elements-head,.performance-poster) p:not(.artist-count){margin:0;color:#b7bcb6!important;letter-spacing:0;text-transform:none;font:500 1rem/1.4 ElementsArchivo,system-ui,sans-serif}
html.brand-approved #panel-content :is(.elements-page,.performance-song) a{color:#f7f5ee!important;text-decoration:none!important;text-shadow:none!important}
html.brand-approved #panel-content :is(.elements-credit,.performance-artist) a{color:#c5d6b3!important;font-weight:650!important;min-height:36px!important;text-decoration:none!important}
html.brand-approved #panel-content .performance-year{color:#e1b888!important;font-weight:700!important;min-height:32px!important}
.editorial-artist{display:grid;grid-template-columns:minmax(0,1fr) 108px;grid-template-areas:'title image' 'count image';column-gap:14px;align-items:center}
.editorial-artist #panel-title{grid-area:title;align-self:end}
.editorial-artist .artist-count{grid-area:count;text-transform:none!important;letter-spacing:0!important;font:500 .95rem/1.35 ElementsArchivo,system-ui,sans-serif!important;color:#b7bcb6!important;margin:0!important;align-self:start}
.editorial-artist .artist-hero{grid-area:image;width:108px;height:98px;object-fit:cover;border-radius:9px;display:block}
.artist-jumps{display:flex;gap:6px;overflow:auto;scrollbar-width:none;margin:12px 0 14px;padding:1px 0}
html.brand-approved #panel-content .artist-jump{flex-shrink:0;min-height:42px!important;border:0!important;border-radius:24px!important;background:#272d28!important;color:#e5eddd!important;font:650 .86rem/1 ElementsArchivo,system-ui,sans-serif!important;padding:0 13px!important;box-shadow:none!important}
html.brand-approved #panel-content :is(.elements-record,.warehouse-records a){display:flex!important;flex-direction:row!important;gap:12px;min-height:59px!important;padding:9px 0!important;align-items:center!important;border-bottom:1px solid #343b35!important;justify-content:initial!important}
html.brand-approved #panel-content .warehouse-records li{border:0!important}
#panel-content :is(.record-preview,.record-placeholder){width:48px;height:40px;border-radius:5px;object-fit:cover;flex:0 0 48px;background:#30382e;color:#c5d6b3;display:grid;place-items:center;font-size:23px}
#panel-content .record-copy{min-width:0;flex:1;display:block}
#panel-content .record-copy strong{display:block;font:650 1.0rem/1.32 ElementsArchivo,system-ui,sans-serif;color:#f7f5ee;letter-spacing:-.012em;overflow-wrap:anywhere}
#panel-content .record-copy small{display:block;font:450 .85rem/1.38 ElementsArchivo,system-ui,sans-serif;color:#b7bcb6;margin-top:3px}
#panel-content .record-peak{color:#e1b888!important;white-space:nowrap;font:750 .94rem/1 ElementsArchivo,system-ui,sans-serif}
#panel-content .row-chevron{font-size:1.6rem;color:#a3afa0;flex:0 0 12px;line-height:1}
html.brand-approved #panel-content .editorial-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin:6px 0 12px;gap:6px}
html.brand-approved #panel-content .editorial-facts>div{background:#232a24;border-radius:8px;padding:10px 8px;min-width:0}
#panel-content .editorial-facts dt{color:#b9c6b1;font:600 .75rem/1.28 ElementsArchivo,system-ui,sans-serif}
#panel-content .editorial-facts dd{color:#f3e0bc;font:750 clamp(14px,4.2vw,24px)/1.15 ElementsArchivo,system-ui,sans-serif;margin:6px 0 0;overflow-wrap:anywhere}
#panel-content .performance-poster.has-picture{grid-template-columns:1fr}
#panel-content .editorial-video{width:100%;margin:0;overflow:hidden;border-radius:8px;background:#0d100e}
#panel-content .editorial-video img{width:100%;aspect-ratio:16/9;max-height:32vh;object-fit:contain;border:0!important;display:block}
#panel-content .editorial-video figcaption{font-size:.75rem;padding:4px 8px}
#panel-content :is(.performance-context,.warehouse-related,.year-hits){border:0!important;padding:5px 0!important;margin:8px 0 16px}
#panel-content .tag-details{font-size:.84rem;color:#b7bcb6;margin:10px 0}
#panel-content .tag-details summary{min-height:40px;cursor:pointer}
html.brand-approved #panel-content .editorial-year #panel-title{font-size:clamp(54px,18vw,82px)!important;letter-spacing:-.055em!important}
html.brand-approved #panel-content .elements-portals{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:4px 0 20px}
html.brand-approved #panel-content .elements-portals a{background:#222923!important;border:0!important;border-radius:12px!important;min-height:106px;padding:12px 5px 10px!important;display:grid;gap:8px;align-content:center;justify-items:center}
html.brand-approved #panel-content .elements-portals a :is(svg,img){max-width:86px!important;width:90%;height:52px!important;object-fit:contain}
html.brand-approved #panel-content .elements-portals a strong{font:700 .9rem/1.1 ElementsArchivo,system-ui,sans-serif!important;color:#e5eddd}
html.brand-approved #panel-content .editorial-link{color:#c5d6b3!important;font-weight:650;min-height:44px;display:inline-flex;align-items:center}
html.brand-approved #panel-content :is(a,button):focus-visible{outline:2px solid #c5d6b3!important;outline-offset:2px!important}
@media(max-width:360px){html.brand-approved #panel-content :is(.elements-page,.performance-song){padding-left:12px!important;padding-right:12px!important}.editorial-artist{grid-template-columns:minmax(0,1fr) 86px}.editorial-artist .artist-hero{width:86px;height:82px}}
#panel-content .culture-card{margin:12px 0 16px;padding:14px 12px 8px;background:#202622;border-radius:12px}
#panel-content .culture-card header{display:flex;align-items:baseline;justify-content:space-between;gap:8px;margin-bottom:5px}
html.brand-approved #panel-content .culture-card h3{margin:0!important;font-size:1.18rem!important}
#panel-content .culture-card header>span{font:500 .72rem/1.3 ElementsArchivo,system-ui,sans-serif;color:#b1bbad;text-align:right}
#panel-content .culture-list,#panel-content .album-tracklist ol{list-style:none;padding:0;margin:0}
#panel-content .culture-list li{display:flex;gap:9px;align-items:center;padding:9px 0;border-bottom:1px solid #343c33}
#panel-content .culture-list li:last-child{border-bottom:0}
#panel-content .culture-rank{color:#e1b888;font:700 .94rem/1 ElementsArchivo,system-ui,sans-serif;flex:0 0 20px;text-align:center}
#panel-content .culture-list strong{display:block;color:#f7f5ee;font:650 .98rem/1.25 ElementsArchivo,system-ui,sans-serif}
#panel-content .culture-list small{display:block;color:#bbc4b8;font:450 .82rem/1.4 ElementsArchivo,system-ui,sans-serif;margin-top:2px}
#panel-content .culture-card .editorial-link{min-height:36px;font-size:.87rem}
#panel-content .culture-person{margin:10px 0;color:#f7f5ee;font-weight:650}
#panel-content .album-tracklist li{border-bottom:1px solid #343b35}
#panel-content .album-tracklist :is(a,.album-row){display:flex!important;gap:12px;align-items:center;min-height:44px;padding:8px 0}
#panel-content .album-tracklist strong{flex:1;font-size:.98rem;line-height:1.3}
#panel-content .album-tracklist small{color:#b7bcb6;white-space:nowrap}
