/* Full decorative assets in reserved space, outside the illustration cards. */
body.volume.v1,body.volume.v2{background-image:url('decorations/rope.webp')!important;background-size:clamp(900px,115vw,1750px) auto!important;background-position:center 520px!important;background-repeat:repeat-y!important;}
.volume-main .gallery-decor-band{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.5fr) minmax(0,1fr);align-items:center;min-height:clamp(220px,29vw,370px);position:relative;isolation:isolate;overflow:visible;margin:0 auto;}
.volume-main .gallery-decor-band h2{grid-column:2;margin:0;background:transparent!important;z-index:2;}
.volume-main .gallery-decor-layer{display:contents;}
.volume-main .gallery-decor-band .motion-piece{position:relative;inset:auto;width:100%;max-width:100%;grid-row:1;justify-self:center;align-self:center;z-index:1;pointer-events:none;transform:translateZ(var(--fly-z,0px)) scale(var(--fly-scale,1));}
.volume-main .gallery-decor-band .flowers{grid-column:1;width:min(90%,240px);display:block;}
.volume-main .gallery-decor-band .pearls{grid-column:3;width:min(85%,210px);display:block;}
.volume-main .gallery-decor-band .butterfly{position:absolute;top:5%;left:48%;width:clamp(30px,5vw,65px);}
.volume-main .gallery-decor-band .motion-piece img{width:100%;height:auto;object-fit:contain;animation-name:volume-decor-drift;}
@keyframes volume-decor-drift{from{transform:translateY(-5px) rotate(-2deg)}to{transform:translateY(5px) rotate(2deg)}}
@media(max-width:700px){body.volume.v1,body.volume.v2{background-image:none!important}.volume-main .gallery-decor-band{min-height:160px;grid-template-columns:1fr 1.65fr 1fr;gap:6px}.volume-main .gallery-decor-band h2{font-size:clamp(20px,5vw,32px)}.volume-main .gallery-decor-band .flowers,.volume-main .gallery-decor-band .pearls{width:92%}.volume-main .gallery-decor-band .butterfly{top:0;left:47%;}}

/* Volume 2: suppress the preceding repeated rope above the first intended tile. */
@media (min-width:701px){
 body.volume.v2{
  background-image:linear-gradient(to bottom,#D6EBF3 0px,#D6EBF3 520px,transparent 520px),url('decorations/rope.webp')!important;
  background-size:100% 100%,clamp(900px,115vw,1750px) auto!important;
  background-position:center top,center 520px!important;
  background-repeat:no-repeat,repeat-y!important;
 }
}

@media (min-width:701px){
 body.volume.v1{
  background-image:linear-gradient(to bottom,#F3C8DD 0px,#F3C8DD 520px,transparent 520px),url('decorations/rope.webp')!important;
  background-size:100% 100%,clamp(900px,115vw,1750px) auto!important;
  background-position:center top,center 520px!important;
  background-repeat:no-repeat,repeat-y!important;
 }
}

/* Continuous canvas: the gallery is not a separate colored panel. */
body.volume.v1 .volume-main,body.volume.v2 .volume-main{background:transparent!important;background-image:none!important;overflow:visible!important;}
body.volume .volume-main .gallery-decor-band{display:block;min-height:0;height:auto;margin:clamp(32px,5vw,64px) auto 12px;overflow:visible;isolation:auto;}
body.volume .volume-main .gallery-decor-band h2{position:relative;margin:0;padding:0;background:transparent!important;}
body.volume .volume-main .gallery-decor-layer{display:block;position:absolute;inset:0;overflow:visible;z-index:0;pointer-events:none;}
body.volume .volume-main .gallery-decor-band .motion-piece{position:absolute;inset:auto;max-width:none;transform:translateY(var(--scroll,0px)) scale(var(--fly-scale,1));}
body.volume .volume-main .gallery-decor-band .flowers{left:0;top:35px;width:clamp(110px,15vw,240px);}
body.volume .volume-main .gallery-decor-band .pearls{right:0;top:65px;width:clamp(90px,12vw,190px);}
body.volume .volume-main .gallery-decor-band .butterfly{left:calc(50% + 155px);top:-25px;width:48px;}
body.volume .volume-main .interior-previews.freeform{background:transparent!important;margin:0 auto!important;width:76%;height:clamp(400px,65vw,720px);z-index:1;}
@media(max-width:700px){body.volume .volume-main .gallery-decor-band{margin-top:30px;margin-bottom:8px;}body.volume .volume-main .gallery-decor-band .flowers{left:-12px;top:42px;width:75px;}body.volume .volume-main .gallery-decor-band .pearls{right:-8px;top:55px;width:65px;}body.volume .volume-main .gallery-decor-band .butterfly{left:auto;right:0;top:-18px;width:30px;}body.volume .volume-main .interior-previews.freeform{width:100%;height:clamp(360px,105vw,540px);}}
