/* Public-world continuity. Content cards retain their own useful boundaries. */
body[data-page] main>section:not(.dimension-entry){background-color:transparent;border-top-color:transparent;border-bottom-color:transparent;box-shadow:none}
body[data-page] main>section+section{margin-top:0}
body[data-page] main>.section{min-height:0;padding-top:clamp(48px,7svh,100px);padding-bottom:clamp(48px,7svh,100px)}
body[data-page] .closing-section{background:transparent;border-top-color:transparent}
body[data-page=dreamers] .dream-scene,body[data-page=triptuner] .trip-scene{mask-image:linear-gradient(#000 0 86%,transparent 100%);-webkit-mask-image:linear-gradient(#000 0 86%,transparent 100%)}
body[data-page=clover] main>#about{display:block!important;height:var(--about-scroll-height,auto)}
body[data-page=clover] #about>.about-stage-frame{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,1fr);gap:4.5%;padding:0!important;align-items:start;min-width:0}
body[data-page=clover] #about .about-stage-frame>div{min-width:0}
body[data-page=clover] #about .about-stage-frame>div:last-child{padding-top:44px}
body[data-page=clover] #about .about-stage-frame>div:last-child>p:first-child{font-size:clamp(1.4rem,1.45vw,2rem);line-height:1.45}
body[data-page=clover] #about[data-choreography=pinned]>.about-stage-frame{position:sticky;top:16px}
body[data-page=clover] #about[data-choreography=pinned] .scene,body[data-page=clover] #about[data-choreography=measuring] .scene{height:clamp(500px,calc(100svh - 350px),1000px)}
body[data-page=clover] #about .press-links{display:flex;gap:20px;flex-wrap:wrap}
@media(max-width:1099px),(max-height:799px){body[data-page=clover] #about .about-stage-frame{grid-template-columns:minmax(0,1fr)}body[data-page=clover] #about .about-stage-frame>div:last-child{padding-top:0}body[data-page=clover] #about .press-links{display:grid;gap:clamp(72px,15svh,150px);padding:32px 0}body[data-page=clover] #about .press-links>a{justify-self:start}body[data-page=clover] #about .about-stage-frame>div:last-child>p:first-child{font-size:1.4rem}}
@media(prefers-reduced-motion:reduce){body[data-page=clover] #about{height:auto!important}body[data-page=clover] #about>.about-stage-frame{position:static!important}body[data-page=clover] #about .press-links{gap:20px}}

body[data-page=clover] #about[data-choreography=flow] .press-links{display:grid;gap:clamp(72px,15svh,150px);padding:32px 0}
body[data-page=clover] #about[data-choreography=flow] .press-links>a{justify-self:start}
body[data-motion=off][data-page=clover] #about .press-links{gap:20px}
@media(prefers-reduced-motion:reduce){body[data-page=clover] #about[data-choreography=flow] .press-links{gap:20px}}

/* Feather the archive scenery, while leaving every gallery control and photo intact. */
body[data-page] .tt-space-dialog.is-inline{background:transparent!important;border-color:transparent!important;box-shadow:none!important}
body[data-page] .tt-space-dialog.is-inline .tt-space-atmosphere{mask-image:linear-gradient(transparent,#000 14%,#000 84%,transparent);-webkit-mask-image:linear-gradient(transparent,#000 14%,#000 84%,transparent)}
body[data-page] .tt-space-dialog.is-inline .tt-space-header,body[data-page] .tt-space-dialog.is-inline .tt-space-footer{background:transparent!important}
body[data-page] .tt-space-dialog.is-inline .tt-space-stage{mask-image:linear-gradient(transparent,#000 8%,#000 92%,transparent);-webkit-mask-image:linear-gradient(transparent,#000 8%,#000 92%,transparent)}

/* Full-width Shop chapters share the same environment; product artwork remains framed. */
body[data-page=shop] main>.section>.free-tool-card{background:transparent;border-color:transparent;box-shadow:none}

/* One floating black deck world, shared by CLOVER and the Shop booth (records.js marks it).
   Only the booth is black: the CLOVER page keeps its own atmosphere, depth field and
   scene backgrounds (a page-wide black override used to hide them all). */
.record-room[data-deck-world=black],.record-room[data-deck-world=black] .dj-deck,.record-room[data-deck-world=black] .record-stage{background:#000!important}
.record-room[data-deck-world=black] .dj-room-backplate,.record-room[data-deck-world=black] .dj-room-trace{display:none}
body[data-page=clover] .artist-entry .dimension-shade{background:none}
