/* HALLOWEEN_COVER_V3: full 3:2 photo, transparent title and a soft lower edge. */
html body.brand-ui.gallery-page:not(.workspace-ui) #halloween-cover-v2{
 display:flex!important;flex-direction:column!important;position:relative!important;isolation:isolate;
 width:100%!important;max-width:960px!important;height:auto!important;min-height:0!important;
 aspect-ratio:auto!important;margin:0 auto 32px!important;padding:0!important;gap:0!important;
 background:none!important;border:0!important;box-shadow:none!important;overflow:visible!important;
}
html body.brand-ui.gallery-page:not(.workspace-ui) #halloween-cover-v2::before,
html body.brand-ui.gallery-page:not(.workspace-ui) #halloween-cover-v2::after{display:none!important;content:none!important}
html body.brand-ui.gallery-page:not(.workspace-ui) #halloween-cover-v2>.album-cover{
 position:relative!important;inset:auto!important;order:0!important;z-index:0!important;
 width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;
 aspect-ratio:3/2!important;margin:0!important;padding:0!important;transform:none!important;
 background:none!important;box-shadow:none!important;overflow:hidden!important;border-radius:14px 14px 0 0!important;
}
html body.brand-ui.gallery-page:not(.workspace-ui) #halloween-cover-v2 .cover-print{
 position:relative!important;inset:auto!important;width:100%!important;height:100%!important;
 aspect-ratio:3/2!important;max-height:none!important;margin:0!important;padding:0!important;
 transform:none!important;background:none!important;box-shadow:none!important;border-radius:0!important;
}
html body.brand-ui.gallery-page:not(.workspace-ui) #halloween-cover-v2 .cover-print>img{
 display:block!important;position:relative!important;inset:auto!important;width:100%!important;height:100%!important;
 min-height:0!important;max-height:none!important;object-fit:contain!important;object-position:center!important;
 transform:translate(var(--cover-x,0%),var(--cover-y,0%)) scale(var(--cover-zoom,1))!important;transform-origin:center!important;filter:none!important;border:0!important;border-radius:0!important;
}
html body.brand-ui.gallery-page:not(.workspace-ui) #halloween-cover-v2>.album-cover::after{
 content:""!important;display:block!important;position:absolute!important;inset:48% 0 0!important;
 z-index:1!important;pointer-events:none!important;background:linear-gradient(to bottom,rgba(23,17,20,0) 0%,rgba(23,17,20,.35) 45%,var(--page,#171114) 100%)!important;
}
html body.brand-ui.gallery-page:not(.workspace-ui) #halloween-cover-v2>.album-hero{
 display:flex!important;flex-direction:column!important;position:relative!important;inset:auto!important;
 order:1!important;z-index:2!important;flex:none!important;align-items:center!important;text-align:center!important;
 box-sizing:border-box!important;width:100%!important;max-width:none!important;min-height:0!important;
 margin:clamp(-110px,-10vw,-48px) 0 0!important;padding:0 16px 12px!important;gap:18px!important;
 background:none!important;background-image:none!important;border:0!important;box-shadow:none!important;
 backdrop-filter:none!important;transform:none!important;
}
html body.brand-ui.gallery-page:not(.workspace-ui) #halloween-cover-v2 .concept-title-block,
html body.brand-ui.gallery-page:not(.workspace-ui) #halloween-cover-v2 .hero-actions{
 position:relative!important;inset:auto!important;transform:none!important;background:none!important;
 border:0!important;box-shadow:none!important;width:100%!important;max-width:none!important;margin:0!important;padding:0!important;
}
html body.brand-ui.gallery-page:not(.workspace-ui) #halloween-cover-v2 .album-hero h1{
 position:static!important;inset:auto!important;transform:none!important;width:auto!important;max-width:100%!important;
 margin:0!important;padding:0!important;background:none!important;line-height:1.1!important;
 font-size:clamp(34px,5vw,64px)!important;text-align:center!important;overflow-wrap:anywhere!important;
}
html body.brand-ui.gallery-page:not(.workspace-ui) #halloween-cover-v2 .hero-actions{
 display:flex!important;flex-flow:row wrap!important;align-items:center!important;justify-content:center!important;gap:12px!important;
}
html body.brand-ui.gallery-page:not(.workspace-ui) #halloween-cover-v2 .hero-actions>:is(a,button){
 flex:0 1 auto!important;width:auto!important;min-width:0!important;min-height:44px!important;
 padding:12px 18px!important;margin:0!important;font-size:14px!important;box-sizing:border-box!important;
}
html body.brand-ui.gallery-page:not(.workspace-ui) #halloween-cover-v2.no-cover>.album-hero{margin:0!important;padding-top:28px!important}
@media(max-width:600px){
 html body.brand-ui.gallery-page:not(.workspace-ui) #halloween-cover-v2>.album-hero{margin-top:-28px!important;padding-inline:6px!important;gap:14px!important}
 html body.brand-ui.gallery-page:not(.workspace-ui) #halloween-cover-v2 .album-hero h1{font-size:clamp(30px,8vw,42px)!important}
 html body.brand-ui.gallery-page:not(.workspace-ui) #halloween-cover-v2 .hero-actions{gap:8px!important}
 html body.brand-ui.gallery-page:not(.workspace-ui) #halloween-cover-v2 .hero-actions>:is(a,button){padding:10px 12px!important;font-size:12px!important}
 html body.brand-ui.gallery-page:not(.workspace-ui) #halloween-cover-v2.no-cover>.album-hero{margin-top:0!important}
}

/* CENTER_FEW_ALBUMS_V1 */
html body.brand-ui.gallery-page:not(.workspace-ui) #album-photos .collection-grid.collection-grid:has(>article.collection-tile:only-child),
html body.brand-ui.gallery-page:not(.workspace-ui) #album-photos .collection-grid.collection-grid:has(>article.collection-tile:nth-child(2):last-child){display:flex!important;flex-flow:row nowrap!important;justify-content:center!important;align-items:flex-start!important;gap:20px!important;width:100%!important;margin-inline:auto!important}
html body.brand-ui.gallery-page:not(.workspace-ui) #album-photos .collection-grid.collection-grid:has(>article.collection-tile:only-child)>article.collection-tile,
html body.brand-ui.gallery-page:not(.workspace-ui) #album-photos .collection-grid.collection-grid:has(>article.collection-tile:nth-child(2):last-child)>article.collection-tile{flex:0 1 calc((100% - 40px)/3)!important;width:calc((100% - 40px)/3)!important;max-width:360px!important;min-width:0!important;margin:0!important}
@media(max-width:600px){
 html body.brand-ui.gallery-page:not(.workspace-ui) #album-photos .collection-grid.collection-grid:has(>article.collection-tile:only-child),html body.brand-ui.gallery-page:not(.workspace-ui) #album-photos .collection-grid.collection-grid:has(>article.collection-tile:nth-child(2):last-child){gap:14px!important}
 html body.brand-ui.gallery-page:not(.workspace-ui) #album-photos .collection-grid.collection-grid:has(>article.collection-tile:only-child)>article.collection-tile,html body.brand-ui.gallery-page:not(.workspace-ui) #album-photos .collection-grid.collection-grid:has(>article.collection-tile:nth-child(2):last-child)>article.collection-tile{flex-basis:calc((100% - 14px)/2)!important;width:calc((100% - 14px)/2)!important;max-width:220px!important}
}
