/* Scope to the affected components. No global grid or font changes. */
body .aw-focus-track { display:inline-flex; width:max-content; min-width:max-content; animation-name:aw-r36-focus; will-change:transform; -webkit-backface-visibility:hidden; backface-visibility:hidden; }
body .aw-focus-group { flex:0 0 auto; }
@keyframes aw-r36-focus { from { transform:translate3d(0,0,0); } to { transform:translate3d(-50%,0,0); } }
/* Touch browsers can retain :hover after a tap; don't let it freeze the ticker. */
@media (hover:none), (pointer:coarse) {
  body .aw-focus-track:hover,body .aw-focus-track:focus-within { animation-play-state:running; }
}
body .aw-r36-focus-toggle { flex:0 0 auto; padding:0 6px; min-width:24px; min-height:22px; border:0; background:transparent; color:var(--ink); font:inherit; cursor:pointer; }
body .aw-r36-focus-toggle[hidden] { display:none; }
body .aw-ticker.aw-r36-paused .aw-focus-track { animation:none; transform:none; will-change:auto; }
body .aw-ticker.aw-r36-paused .aw-focus-window { overflow-x:auto; scrollbar-width:none; }
body .aw-ticker.aw-r36-paused .aw-focus-group[aria-hidden=true] { display:none; }
body .aw-ticker.aw-r36-paused .aw-focus-window::after { display:none; }
@media(prefers-reduced-motion:reduce) {
  body .aw-focus-track { animation:none!important; transform:none; will-change:auto; }
  body .aw-focus-window { overflow-x:auto; scrollbar-width:none; }
  body .aw-focus-group[aria-hidden=true] { display:none; }
  body .aw-r36-focus-toggle { display:none!important; }
}
/* Do not crop portraits. The space around a non-matching ratio is intentional. */
body .aw-r12-star-feature .aw-r36-star-link { display:flex; align-items:center; gap:clamp(14px,3vw,26px); }
body .aw-r12-star-feature .aw-r36-star-link img { display:block; width:clamp(230px,34vw,360px); height:clamp(230px,34vw,360px); max-width:100%; object-fit:contain; object-position:center; background:var(--surface2); flex-shrink:0; }
body .aw-r8-hero-star .aw-hero-media img { object-fit:contain; object-position:center top; transform:none!important; }
body .aw-r8-star-single .aw-r8-star-photo img { display:block; width:100%; height:auto; max-height:none; object-fit:contain; object-position:center; }
body .aw-r8-star-single .aw-r8-star-prose img { max-width:100%; height:auto; object-fit:contain; }
@media(max-width:620px) {
  body .aw-r12-star-feature .aw-r36-star-link { flex-direction:column; align-items:stretch; gap:12px; }
  body .aw-r12-star-feature .aw-r36-star-link img { width:100%; height:auto; max-height:460px; aspect-ratio:auto; }
}
/* The wrapper is explicit for Safari's picture/percentage-height layout. */
body.post-type-archive-aw_music #aw-new-releases .aw-release-art { display:block; position:relative; width:100%; height:auto; max-height:none; aspect-ratio:1/1; padding:0; overflow:hidden; }
body.post-type-archive-aw_music #aw-new-releases .aw-release-art picture { display:block; position:absolute; inset:0; width:100%; height:100%; }
body.post-type-archive-aw_music #aw-new-releases .aw-release-art img,
body.post-type-archive-aw_music #aw-new-releases .aw-release-art .aw-image-fallback { display:block; position:absolute; inset:0; width:100%; height:100%; max-width:none; max-height:none; aspect-ratio:auto; object-fit:cover; object-position:center; }
/* Keep the badge over the artwork regardless of picture wrapper. */
body.post-type-archive-aw_music #aw-new-releases .aw-play-badge { z-index:1; }
body .aw-r36-snoop-tagline { margin:0 0 12px; color:var(--muted); font-size:13px; }
body .aw-r36-share { margin:20px 0; max-width:540px; border:1px solid var(--line); border-radius:12px; background:var(--surface); color:var(--ink); }
body .aw-r36-share summary { cursor:pointer; font-weight:650; padding:13px 16px; }
body .aw-r36-share summary:focus-visible,body .aw-r36-focus-toggle:focus-visible { outline:2px solid var(--blue); outline-offset:2px; }
body .aw-r36-share-panel { padding:0 14px 14px; }
body .aw-r36-share-panel button[hidden] { display:none; }
body .aw-r36-share-panel [data-aw-r36-native] { width:100%; padding:10px; margin-bottom:10px; border:1px solid var(--line); border-radius:9px; color:var(--ink); background:var(--surface2); cursor:pointer; }
body .aw-r36-copy-label { display:block; font-size:12px; }
body .aw-r36-copy-label input { width:100%; min-width:0; margin:6px 0 10px; padding:8px; font-size:16px; border:1px solid var(--line); border-radius:7px; background:var(--surface2); color:var(--ink); }
body .aw-r36-share-status { display:block; font-size:12px; }
