/* Shared fixes only. The original layout and individual art direction remain in each HTML. */
html{scroll-padding-top:6rem}
body{overflow-x:clip}
body[class*="template-"] .portrait{height:auto!important;min-height:0!important;max-height:none!important;border-radius:var(--portrait-corner,0px)!important;clip-path:none!important;align-self:center}
.aoh-portrait-media{display:block;position:relative;isolation:isolate;width:100%;aspect-ratio:1;overflow:hidden;background:var(--surface,#171717)}
body[class*="template-"] .portrait .aoh-portrait-media img{position:absolute;inset:0;display:block;width:100%;height:100%;max-height:none;object-fit:cover;border-radius:0!important;clip-path:none!important;object-position:var(--portrait-position,50% 36%)}
body[class*="template-"] .portrait figcaption{z-index:2;letter-spacing:.08em;line-height:1.5}
body[class*="template-"] .artwork{display:block;width:100%;height:auto!important;min-height:0!important;aspect-ratio:auto!important;align-self:start;clip-path:none!important;border-radius:0!important}
.aoh-cover-media{display:block;position:relative;width:100%;aspect-ratio:1;overflow:hidden;background:var(--surface,#171717)}
body[class*="template-"] .artwork .aoh-cover-media img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;border-radius:0!important;clip-path:none!important;transform:none!important}
body[class*="template-"] .detail-art img{width:100%;height:auto;aspect-ratio:1;object-fit:contain;max-height:none!important;border-radius:0!important;clip-path:none!important}
body[class*="template-"] .collection-strip .release-card{min-height:0}
body[class*="template-"] .collection-ticket .release-info{min-width:0}
body[class*="template-"] .collection-poster .release-card{display:block;min-height:0!important;aspect-ratio:auto;clip-path:none!important;border-radius:var(--poster-corner,0px)!important}
body[class*="template-"] .collection-poster .artwork{position:relative;inset:auto;z-index:0}
body[class*="template-"] .collection-poster .release-info{position:absolute;inset:auto 0 0;z-index:2;padding:clamp(1rem,2.4vw,2rem);padding-right:3.5rem}
body[class*="template-"] .collection-poster .release-card::after{z-index:1;pointer-events:none;background:linear-gradient(180deg,transparent 24%,#06070935 46%,#060709ed 100%)}
body[class*="template-"] .collection-poster .release-title{font-size:clamp(1.25rem,2.6vw,2.35rem);overflow-wrap:anywhere;text-wrap:balance}
body[class*="template-"] .collection-poster .card-action{z-index:3}
/* A square record jacket, with the disc visible behind it: keep the vinyl concept. */
body[class*="template-"] .collection-vinyl .artwork{background:none;border:0!important;outline:0;overflow:visible}
.collection-vinyl .artwork::before{content:"";position:absolute;top:7%;right:0;width:85%;aspect-ratio:1;border-radius:50%;background:radial-gradient(circle,var(--accent) 0 5%,#161619 5.5% 13%,transparent 13.5%),repeating-radial-gradient(circle,#19191d 0 2px,#333338 3px,#17171b 4px);box-shadow:0 9px 20px #0003;transition:transform .6s ease}
.collection-vinyl .aoh-cover-media{width:86%;box-shadow:0 10px 24px #0004;z-index:1}
.collection-vinyl .release-card:hover .artwork::before{transform:translateX(3%)}
body[class*="template-"] .hero-cinema .portrait{inset:50% 0 auto auto;width:min(72vw,780px);transform:translateY(-50%)}
.template-64 .hero-cinema .portrait{left:0!important;right:auto!important}
/* Remove large arch masks on surrounding blocks; retain each block's proportions and placement. */
body[class*="template-"] :is(.horizon-band,.hero-pop,.support-section){border-radius:var(--block-corner,0px)!important}
body[class*="template-"] .collection-shelf .release-card{border-radius:var(--shelf-corner,0px)!important}
.template-51 .collection-strip .release-card{border-radius:6px!important}
.template-47 .hero-recital .hero-name{border-radius:16px!important}
.template-18 .collection-mosaic .release-card{clip-path:none}
body[class*="template-"] .release-info{min-width:0}
body[class*="template-"] .release-title{overflow-wrap:anywhere}
a,button,summary{-webkit-tap-highlight-color:transparent}
:is(a,button,summary):focus-visible{outline:2px solid var(--accent,currentColor)!important;outline-offset:5px}
.aoh-carousel{--aoh-gap:24px;--aoh-control-radius:4px;position:relative;min-width:0;color:var(--ink,inherit)}
.aoh-viewport{overflow:hidden;touch-action:pan-y pinch-zoom;padding:8px 0 26px;cursor:grab}
.aoh-viewport.is-dragging{cursor:grabbing;user-select:none}
.aoh-track{position:relative!important;scrollbar-width:none!important;scroll-snap-type:none!important;overflow:visible!important;padding-bottom:0!important;transform:none!important;transition:none!important}
.aoh-track::-webkit-scrollbar{display:none}
.aoh-track.aoh-running{display:block!important}
.aoh-track.aoh-running>.aoh-slide{position:absolute!important;top:0;left:0;width:var(--aoh-width)!important;max-width:none;flex:none!important;margin:0!important;transition:none!important;will-change:transform}
.aoh-track:not(.aoh-running)>.aoh-slide{transform:none!important}
.aoh-nav{display:flex;align-items:center;justify-content:center;gap:10px;padding-top:16px;border-top:1px solid var(--line,currentColor);color:inherit}
.aoh-nav[hidden]{display:none}
.aoh-nav [hidden]{display:none!important}
.aoh-nav button{display:grid;place-items:center;flex:0 0 auto;width:42px;height:42px;margin:0;padding:0;background:transparent;color:inherit;border:1px solid var(--line,currentColor);border-radius:var(--aoh-control-radius);cursor:pointer;transition:background-color .2s,color .2s,border-color .2s}
.aoh-nav button:hover{background:var(--surface,#ffffff15);border-color:var(--accent,currentColor)}
.aoh-nav svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.aoh-dots{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:0;margin-inline:clamp(0px,2vw,24px)}
.aoh-dots button{width:30px;height:42px;border:0;background:none!important}
.aoh-dots button span{width:5px;height:5px;border-radius:50%;background:currentColor;opacity:.35;transition:opacity .25s,box-shadow .25s}
.aoh-dots [aria-current="true"] span{opacity:1;box-shadow:0 0 0 4px var(--bg,#000),0 0 0 5px currentColor}
.aoh-sr{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip-path:inset(50%)!important;white-space:nowrap!important;border:0!important}
.aoh-platforms{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:12px 0}
.aoh-platforms[hidden]{display:none!important}
.aoh-platforms a{display:block;padding:10px 12px;border:1px solid currentColor;border-radius:4px;font:500 12px/1.4 sans-serif;text-decoration:none;color:inherit}
@media(max-width:700px){
 body[class*="template-"] .hero-cinema .portrait{inset:0 0 auto;width:100%;transform:none}
 body[class*="template-"] .detail-art{max-width:min(100%,46dvh)}
 .aoh-nav{gap:5px}.aoh-dots{margin:0}.aoh-dots button{width:25px}
 .collection-poster .releases{grid-template-columns:repeat(2,minmax(0,1fr))}
 body[class*="template-"] .collection-poster .release-title{font-size:clamp(1.05rem,4.2vw,1.55rem)}
 body[class*="template-"] .collection-poster .release-info{padding:12px 34px 12px 12px}
 body[class*="template-"] .collection-poster .card-action{width:26px;height:26px;right:7px;bottom:12px}
 body[class*="template-"] .collection-poster .meta{font-size:.56rem;letter-spacing:.05em}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}.aoh-nav [data-aoh-toggle]{display:none}}

/* Shared release transport: the artwork stays template-specific, while every
   album and single shelf keeps a useful card scale and carousel interaction. */
body .aoh-release-carousel{container-type:inline-size;width:100%;min-width:0}
body .aoh-release-carousel .aoh-viewport{overflow:hidden!important;padding-inline:1px}
body .aoh-release-carousel .aoh-track{display:flex!important;grid-template-columns:none!important;align-items:flex-start;gap:var(--aoh-gap,24px)!important;width:100%;min-width:0}
body .aoh-release-carousel .aoh-track>.aoh-slide[hidden]{display:none!important}
body .aoh-release-carousel .aoh-track:not(.aoh-running)>.aoh-slide{box-sizing:border-box;flex:0 0 clamp(250px,calc((100% - var(--aoh-gap,24px) - var(--aoh-gap,24px))/3),430px)!important;width:clamp(250px,calc((100% - var(--aoh-gap,24px) - var(--aoh-gap,24px))/3),430px)!important;max-width:430px!important;margin-inline:0!important}
body .aoh-release-carousel[data-card-size="wide"] .aoh-track:not(.aoh-running)>.aoh-slide{flex-basis:clamp(320px,calc((100% - var(--aoh-gap,24px))/2),560px)!important;width:clamp(320px,calc((100% - var(--aoh-gap,24px))/2),560px)!important;max-width:560px!important}
body .aoh-release-carousel .aoh-track.aoh-running>.aoh-slide{width:var(--aoh-width)!important;max-width:none!important;will-change:translate}
body .aoh-release-carousel .aoh-slide>.aoh-card-with-player,
body .aoh-release-carousel .aoh-slide>[data-aoh-player-id]{width:100%!important;max-width:100%!important}
body .aoh-release-carousel .aoh-cover-play{left:50%!important;top:50%!important;transform:translate(-50%,-50%)!important}
/* The old billboard lead occupied the entire grid. In a carousel it has the
   same bounded width as its neighbours: keep the cover/title proportions too.
   Container sizing also covers narrow desktop columns, not just phones. */
body .collection-billboard .aoh-release-carousel .release-card{
 container:release-billboard / inline-size;grid-template-columns:repeat(2,minmax(0,1fr));grid-column:auto
}
body .collection-billboard .aoh-release-carousel .release-card .release-info{
 padding:3.5rem 1.25rem 1.5rem;min-width:0;gap:.5rem;justify-content:center
}
body .collection-billboard .aoh-release-carousel .release-card .release-title{
 font-size:clamp(1.3rem,5cqw,1.75rem);line-height:1.18;padding-right:0;text-wrap:balance
}
body .collection-billboard .aoh-release-carousel .release-card .release-desc{font-size:.875rem;line-height:1.5}
@container release-billboard (max-width:440px){
 body .collection-billboard .aoh-release-carousel .release-card>.artwork,
 body .collection-billboard .aoh-release-carousel .release-card>.release-info{grid-column:1/-1}
 body .collection-billboard .aoh-release-carousel .release-card .release-info{padding:1.25rem}
 body .collection-billboard .aoh-release-carousel .release-card .release-title{font-size:clamp(1.3rem,7cqw,1.75rem)}
}
@media(max-width:900px){
 body .aoh-release-carousel .aoh-track:not(.aoh-running)>.aoh-slide,
 body .aoh-release-carousel[data-card-size="wide"] .aoh-track:not(.aoh-running)>.aoh-slide{flex-basis:clamp(250px,calc((100% - var(--aoh-gap,20px))/2),420px)!important;width:clamp(250px,calc((100% - var(--aoh-gap,20px))/2),420px)!important;max-width:420px!important}
}
@media(max-width:620px){
 body .aoh-release-carousel{--aoh-gap:14px}
 body .aoh-release-carousel .aoh-track:not(.aoh-running)>.aoh-slide,
 body .aoh-release-carousel[data-card-size="wide"] .aoh-track:not(.aoh-running)>.aoh-slide{flex-basis:min(82cqw,360px)!important;width:min(82cqw,360px)!important;max-width:min(82cqw,360px)!important}
 body .aoh-release-carousel .aoh-nav{grid-template-columns:44px minmax(0,1fr) auto 44px;gap:6px}
 body .aoh-release-carousel .aoh-nav>button{width:44px;height:44px}
}
