/* Analytics lives inside the existing four sections; no navigation or shell changes. */
#xg21 .xga-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:10px}
#xg21 .xga-heading h2{margin:0;font-size:16px;color:#252b33}
#xg21 .xga-caption{font-size:12px;color:#737b84;line-height:1.5}
#xg21 .xga-latest{margin:0 0 18px;padding-bottom:14px;border-bottom:1px solid #e5e8eb}
#xg21 .xga-update-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 22px}
#xg21 .xga-update{position:relative;padding:12px 0;border-bottom:1px solid #eef0f2;min-width:0}
#xg21 .xga-event{display:inline-block;font-size:11px;font-weight:800;letter-spacing:.035em;padding:2px 6px;border-radius:4px;background:#eef4f0;color:#008b4c;margin-bottom:5px}
#xg21 .xga-event-peak{background:#fff7df;color:#8e6400}#xg21 .xga-event-out{background:#f6f0f0;color:#9c4545}
#xg21 .xga-news-open{display:block;width:100%;min-height:0;border:0;background:none;text-align:left;font-size:14px;font-weight:750;color:#252b33;padding:0;line-height:1.5;cursor:pointer}
#xg21 .xga-event-context,#xg21 .xga-event-date{display:block;font-size:12px;line-height:1.5;color:#737b84;margin:3px 0 0}
#xg21 .xga-edition{font-size:12px;line-height:1.4;color:#737b84;margin:0 0 0 auto}
#xg21 .xga-profile{margin:4px 0 18px;padding-top:12px;border-top:1px solid #e5e8eb}
#xg21 .xga-profile .xga-heading select{flex:1;max-width:650px;font-size:12px;min-height:34px}
#xg21 .xga-record-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
#xg21 .xga-record{padding:12px;border:1px solid #e5e8eb;border-radius:8px;min-width:0}
#xg21 .xga-record-label{display:block;font-size:12px;color:#737b84;margin-bottom:5px}
#xg21 .xga-record-value{display:block;font-size:18px;color:#252b33;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
#xg21 .xga-profile-events{display:flex;gap:6px 18px;flex-wrap:wrap}
#xg21 .xga-profile-event{font-size:12px;color:#737b84;margin:0}
#xg21 .xga-entry-label{white-space:nowrap;font-size:10px!important}
@media(max-width:767px){
 #xg21 .xga-update-list{grid-template-columns:minmax(0,1fr)}
 
 #xg21 .xga-edition{flex-basis:100%;order:5;margin:2px 0}
 #xg21 .xga-record-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 #xg21 .xga-profile .xga-heading select{width:100%;max-width:100%;min-width:0;font-size:12px}
 #xg21 .xga-record-value{font-size:16px}
 #xg21 .xga-heading h2{font-size:15px}
}

/* R7.2: small release-led updates beneath the overview metrics. */
#xg21 .xga-latest{margin:16px 0 20px;padding:0;border:0}
#xg21 .xga-latest .xga-heading{margin-bottom:8px;gap:8px}
#xg21 .xga-latest .xga-heading h2{font-size:14px}
#xg21 .xga-latest .xga-caption{font-size:11px}
#xg21 .xga-update-list{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
#xg21 .xga-update{display:flex;align-items:center;gap:9px;padding:10px;border:1px solid #e8ebee;border-radius:9px;background:#fafbfc;min-width:0}
#xg21 .xga-update .evo-song-art{display:flex;align-items:center;justify-content:center;position:relative;flex:0 0 40px;width:40px;height:40px;border-radius:6px;overflow:hidden;background:#edf1f5;color:#8793a2;font-size:12px;font-weight:750}
#xg21 .xga-update .evo-song-art img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
#xg21 .xga-update-body{min-width:0;flex:1}
#xg21 .xga-update-top{display:flex;align-items:center;justify-content:space-between;gap:6px;margin-bottom:4px}
#xg21 .xga-update .xga-event{font-size:9px;line-height:1.3;letter-spacing:.02em;padding:2px 4px;margin:0}
#xg21 .xga-update .xga-event-date{font-size:10px;line-height:1.3;white-space:nowrap;margin:0}
#xg21 .xga-update .xga-news-open{font-size:12px;line-height:1.4;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
#xg21 .xga-update .xga-event-context{font-size:10px;line-height:1.45;margin:4px 0 0;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
#xg21 .xga-update .xga-event-context:hover{-webkit-line-clamp:unset}
#xg21 .xga-news-open:focus-visible{outline:2px solid #2684ff;outline-offset:2px;border-radius:2px}
@media(min-width:768px) and (max-width:1099px){#xg21 .xga-update-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:767px){
 #xg21 .xga-latest{margin:14px 0 18px}
 #xg21 .xga-update-list{display:flex;gap:8px;overflow-x:auto;scroll-snap-type:x proximity;padding-bottom:6px;overscroll-behavior-x:contain}
 #xg21 .xga-update{flex:0 0 min(280px,86%);scroll-snap-align:start;align-self:stretch}
 #xg21 .xga-update .xga-news-open{font-size:13px}
 #xg21 .xga-update .xga-event-context{font-size:11px}
}

/* R7.3: real cover art leads each compact update. */
#xg21 .xga-update{background:linear-gradient(135deg,#fff 55%,#f5f7fa);padding:11px;gap:11px;border-color:#e3e8ee;transition:border-color .15s,box-shadow .15s}
#xg21 .xga-update:hover,#xg21 .xga-update:focus-within{border-color:#c4ceda;box-shadow:0 3px 12px #182b4710}
#xg21 .xga-update .evo-song-art{flex-basis:68px;width:68px;height:68px;border-radius:8px;box-shadow:0 2px 7px #10254015}
#xg21 .xga-update .xga-news-open{font-size:13px;line-height:1.4}
#xg21 .xga-update .xga-event-context{font-size:11px;line-height:1.4}
@media(max-width:767px){#xg21 .xga-update{flex-basis:min(310px,90%)}#xg21 .xga-update .evo-song-art{width:64px;height:64px;flex-basis:64px}}

/* R7.5: mobile performance rows show every metric without horizontal scrolling. */
@media(max-width:767px){
 html body#xg21 #page-performance,html body#xg21 #page-performance .performance-content,html body#xg21 #page-performance .panel{min-width:0!important;max-width:100%;width:100%;box-sizing:border-box}
 html body#xg21 #page-performance .performance-content{flex-direction:column}
 html body#xg21 #page-performance .performance-heading{align-items:flex-start!important;flex-direction:column;gap:6px!important;min-width:0}
 html body#xg21 #page-performance .catalog-summary{display:flex;flex-wrap:wrap;justify-content:flex-start!important;min-width:0;max-width:100%;gap:4px 8px;overflow-wrap:anywhere}
 html body#xg21 #page-performance .catalog-summary>*{min-width:0;max-width:100%;white-space:normal!important;overflow-wrap:anywhere}
 html body#xg21 #page-performance .toolbar{display:grid!important;grid-template-columns:minmax(0,1fr) auto;gap:7px!important;min-width:0;width:100%;box-sizing:border-box}
 html body#xg21 #page-performance .toolbar>input{grid-column:1/-1;width:100%;min-width:0!important;box-sizing:border-box}
 html body#xg21 #page-performance .toolbar>select{width:100%;min-width:0!important;max-width:100%;box-sizing:border-box}
 html body#xg21 #page-performance .toolbar>.count{margin:0;font-size:11px;align-self:center;white-space:normal}
 html body#xg21 #page-performance .tablewrap{min-width:0!important;width:100%;max-width:100%;overflow:visible!important;box-sizing:border-box}
 html body#xg21 #page-performance .performance-content table{display:block;min-width:0!important;width:100%!important;max-width:100%;table-layout:fixed}
 html body#xg21 #page-performance .performance-content thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
 html body#xg21 #page-performance .performance-content tbody{display:block;width:100%;min-width:0}
 html body#xg21 #page-performance .performance-content tbody>tr{display:grid;grid-template-columns:22px minmax(0,1fr) minmax(0,1fr);gap:7px 9px;padding:12px 0;border-bottom:1px solid #e7ebef;width:100%;min-width:0;box-sizing:border-box}
 html body#xg21 #page-performance .performance-content tbody>tr>td{display:block;min-width:0;width:auto!important;padding:0!important;border:0;white-space:normal!important;overflow:visible!important;overflow-wrap:anywhere;font-size:13px!important;box-sizing:border-box;text-align:left}
 html body#xg21 #page-performance .performance-content tbody>tr>td:nth-child(1){grid-column:1;grid-row:1/3;color:#7e8792;font-size:11px!important;padding-top:2px!important;text-align:center}
 html body#xg21 #page-performance .performance-content tbody>tr>td:nth-child(2){grid-column:2/-1;grid-row:1;line-height:1.5}
 html body#xg21 #page-performance .performance-content tbody>tr>td:nth-child(3){grid-column:2;grid-row:2;font-variant-numeric:tabular-nums;font-weight:600;line-height:1.45}
 html body#xg21 #page-performance .performance-content tbody>tr>td:nth-child(4){grid-column:3;grid-row:2;font-variant-numeric:tabular-nums;font-weight:600;line-height:1.45}
 html body#xg21 #page-performance .performance-content tbody>tr>td:nth-child(n+3)::before{display:block;font-size:10px;font-weight:400;color:#737f8c;line-height:1.5;margin-bottom:1px}
 html body#xg21 #performance-spotify td:nth-child(3)::before{content:'Total streams'}
 html body#xg21 #performance-spotify td:nth-child(4)::before{content:'Daily streams'}
 html body#xg21 #performance-youtube td:nth-child(3)::before{content:'Total views'}
 html body#xg21 #performance-youtube td:nth-child(4)::before{content:'Daily views'}
 html body#xg21 #page-performance .performance-content tbody>tr>td[colspan]{grid-column:1/-1!important;grid-row:auto!important;text-align:left;font-size:13px!important}
}
@media(max-width:767px){
 html body#xg21 #page-performance .toolbar{grid-template-columns:minmax(0,1fr)}
 html body#xg21 #page-performance .toolbar>:is(input,select,.count){grid-column:1/-1}
 html body#xg21 #page-performance .performance-content tbody>tr>td{border:none!important}
 html body#xg21 #page-performance .performance-content tbody>tr>td:nth-child(2) strong{font-size:13px!important}
}

/* R7.6: let the document scroll through the entire mobile performance list. */
@media(max-width:767px){
 html body#xg21 .app:has(#page-performance.active){height:auto!important;min-height:100dvh;max-height:none!important;overflow:visible!important}
 html body#xg21 .app .main:has(>#page-performance.active){height:auto!important;max-height:none!important;flex:none!important;overflow:visible!important}
 html body#xg21 #page-performance.active{height:auto!important;max-height:none!important;flex:none!important;overflow:visible!important}
 html body#xg21 #page-performance .performance-content:not([hidden]){height:auto!important;max-height:none!important;flex:none!important;overflow:visible!important}
 html body#xg21 #page-performance .performance-content>.panel{height:auto!important;max-height:none!important;flex:none!important;overflow:visible!important}
 html body#xg21 #page-performance .tablewrap{height:auto!important;max-height:none!important;flex:none!important;overflow:visible!important}
}
