/* Use the entrance composition throughout Premium regional content. */
body[data-package-tier="premium"].premium-adat :is(#mempelai,#rsvp) .premium-adat-world{mask-image:none;-webkit-mask-image:none}
body[data-package-tier="premium"].premium-adat :is(#mempelai,#rsvp) .world-atmosphere{display:block!important;width:95%!important;left:-22%!important;right:auto!important;top:-9%!important;bottom:auto!important}
body[data-package-tier="premium"].premium-adat :is(#mempelai,#rsvp) .world-horizon{display:block!important;width:150%!important;left:-25%!important;right:auto!important;top:auto!important;bottom:-16%!important}
body[data-package-tier="premium"].premium-adat :is(#mempelai,#rsvp) .world-tree{display:block!important;width:76%!important;left:-43%!important;right:auto!important;top:auto!important;bottom:4%!important}
body[data-package-tier="premium"].premium-adat :is(#mempelai,#rsvp) .world-feature{width:80%!important;left:auto!important;right:-9%!important;top:auto!important;bottom:0!important}
body[data-package-tier="premium"].premium-adat :is(#mempelai,#rsvp) .world-shrub{width:57%!important;left:auto!important;right:-24%!important;top:auto!important;bottom:-7%!important}
body[data-package-tier="premium"].premium-adat :is(#mempelai,#rsvp) .world-foreground{width:58%!important;left:-19%!important;right:auto!important;top:auto!important;bottom:-11%!important}

/* Aceh uses the same viewport-sized composition as its entrance, not a stretched profile section. */
body.design-aceh :is(#mempelai,#rsvp,#gallery-section) .aceh-layered-scene{top:auto;bottom:0;height:min(760px,100svh);background:linear-gradient(180deg,#f5ecd9 0%,#faf3e5 46%,#e3e2cd 78%,#c6c6a3 100%)}
body.design-aceh :is(#mempelai,#rsvp,#gallery-section) .aceh-house{width:94%;right:-5%;bottom:4.5%;opacity:.35}
body.design-aceh :is(#mempelai,#rsvp,#gallery-section) .aceh-hills{width:145%;left:-22%;bottom:11%;opacity:.37}
body.design-aceh :is(#mempelai,#rsvp,#gallery-section) .aceh-tree-layer{opacity:.4}
body.design-aceh :is(#mempelai,#rsvp,#gallery-section) :is(.aceh-garden-layer,.aceh-foreground-layer){opacity:.4}
body.design-aceh #gallery-section{isolation:isolate;background:#faf3e5}
body.design-aceh #gallery-section>.theme-scene{position:absolute;inset:0;z-index:-1;pointer-events:none}

/* Override the old full-section Aceh scene sizing: scenery sits below the profiles. */
body.design-aceh.tier-standard #mempelai{padding-bottom:clamp(240px,38svh,340px)!important;background:#faf3e5!important}
body.design-aceh.tier-standard #mempelai>.theme-scene .aceh-layered-scene{inset:auto 0 0!important;top:auto!important;bottom:0!important;width:100%!important;height:clamp(240px,38svh,340px)!important;min-height:0!important;mask-image:linear-gradient(transparent,#000 18%);-webkit-mask-image:linear-gradient(transparent,#000 18%)}
body.design-aceh #mempelai .couple-profiles{position:relative;z-index:2}
body.design-aceh #mempelai .couple-profiles :is(h3,p,.kicker){color:#593d27!important;opacity:1!important;text-shadow:none!important}
body.design-aceh #mempelai .couple-profiles h3{font-weight:600!important}

/* Aceh event scenery has its own space below the readable event cards. */
body.design-aceh.tier-standard #events{padding-bottom:clamp(240px,38svh,340px)!important}
body.design-aceh.tier-standard #events>.theme-scene .aceh-layered-scene{inset:auto 0 0!important;top:auto!important;bottom:0!important;width:100%!important;height:clamp(240px,38svh,340px)!important;min-height:0!important;mask-image:linear-gradient(transparent,#000 18%);-webkit-mask-image:linear-gradient(transparent,#000 18%)}
body.design-aceh #events>:is(h2,.section-number,.countdown,.event-cards){position:relative;z-index:2}
body.design-aceh #events>:is(h2,.section-number){color:#593d27!important;opacity:1!important;text-shadow:none!important}

/* Blend the gallery scenery into the paper instead of exposing its top edge. */
body.design-aceh #gallery-section .aceh-layered-scene{mask-image:linear-gradient(to bottom,transparent 0%,#000 28%);-webkit-mask-image:linear-gradient(to bottom,transparent 0%,#000 28%)}


/* Aceh events share the couple chapter's warm ivory paper and scene blend. */
body.design-aceh.tier-standard #events{background:#faf3e5!important;--location-bg:#faf3e5!important}
body.design-aceh.tier-standard #events>.theme-scene .aceh-layered-scene{background:linear-gradient(180deg,#f5ecd9 0%,#faf3e5 46%,#e3e2cd 78%,#c6c6a3 100%)!important}

/* Shared Premium format approved on Aceh: readable paper above a dedicated scenic base. */
body[data-package-tier="premium"]:not(.design-aceh) :is(#mempelai,#events,#rsvp){padding-bottom:clamp(240px,38svh,340px)!important;background:var(--paper)!important}
body[data-package-tier="premium"]:not(.design-aceh) #events{--location-bg:var(--paper)!important;--location-ink:var(--location-card-ink,var(--color))!important}
body[data-package-tier="premium"]:not(.design-aceh) :is(#mempelai,#events,#rsvp,#gallery-section){isolation:isolate}
body[data-package-tier="premium"]:not(.design-aceh) :is(#mempelai,#events,#rsvp,#gallery-section)>.theme-scene{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;overflow:hidden!important;pointer-events:none;z-index:0}
body[data-package-tier="premium"]:not(.design-aceh) :is(#mempelai,#events,#rsvp,#gallery-section) .standard-scene-depth{position:absolute!important;inset:auto 0 0!important;top:auto!important;bottom:0!important;width:100%!important;height:clamp(240px,38svh,340px)!important;min-height:0!important;transform:none!important;translate:none!important;mask-image:linear-gradient(transparent,#000 18%);-webkit-mask-image:linear-gradient(transparent,#000 18%)}
body[data-package-tier="premium"]:not(.design-aceh) :is(#mempelai,#events,#rsvp,#gallery-section)>:not(.theme-scene,.standard-foreground,.falling-leaves,.playful-assets){position:relative;z-index:2}
body[data-package-tier="premium"]:not(.design-aceh) #gallery-section{background:var(--paper)!important}
body[data-package-tier="premium"]:not(.design-aceh) #mempelai .couple-profiles :is(h3,p,.kicker){color:var(--location-card-ink,var(--color))!important;text-shadow:none!important;opacity:1!important}
body[data-package-tier="premium"]:not(.design-aceh) #mempelai .couple-profiles h3{font-weight:600}
body[data-package-tier="premium"]:not(.design-aceh) #events>.section-number{color:var(--location-card-ink,var(--color))!important}


/* Preserve the entrance canvas proportions instead of compressing its composition. */
body[data-package-tier="premium"].design-baduy-premium :is(#mempelai,#events) .standard-scene-depth{height:clamp(240px,38svh,340px)!important;mask-image:linear-gradient(transparent,#000 18%)!important;-webkit-mask-image:linear-gradient(transparent,#000 18%)!important}
body[data-package-tier="premium"].design-baduy-premium #rsvp{background:var(--paper)!important;padding-bottom:80px!important}
body.design-baduy-premium #rsvp :is(.theme-scene,.standard-foreground,.playful-assets,.falling-leaves){display:none!important}

/* Baduy's gallery composition occupies a separate footer beneath each chapter. */
body[data-package-tier="premium"].design-baduy-premium :is(#mempelai,#events){position:relative!important;padding-bottom:calc(clamp(240px,38svh,340px) + 48px)!important}
body[data-package-tier="premium"].design-baduy-premium :is(#mempelai,#events)>.theme-scene{position:absolute!important;inset:auto 0 0!important;top:auto!important;bottom:0!important;height:clamp(240px,38svh,340px)!important;width:100%!important;overflow:hidden!important;transform:none!important;translate:none!important}
body[data-package-tier="premium"].design-baduy-premium :is(#mempelai,#events)>.theme-scene .premium-adat-world{position:absolute!important;inset:0!important;top:0!important;bottom:0!important;height:100%!important;min-height:0!important;transform:none!important;translate:none!important}

/* Baileo RSVP uses plain theme paper without scenic overlays. */
body[data-package-tier="premium"].design-baileo-premium #rsvp{background:var(--paper)!important;padding-bottom:80px!important}
body.design-baileo-premium #rsvp :is(.theme-scene,.standard-foreground,.playful-assets,.falling-leaves){display:none!important}

/* Baduy's gallery composition occupies a separate footer beneath each chapter. */
body[data-package-tier="premium"].design-baileo-premium :is(#mempelai,#events){position:relative!important;padding-bottom:calc(clamp(240px,38svh,340px) + 48px)!important}
body[data-package-tier="premium"].design-baileo-premium :is(#mempelai,#events)>.theme-scene{position:absolute!important;inset:auto 0 0!important;top:auto!important;bottom:0!important;height:clamp(240px,38svh,340px)!important;width:100%!important;overflow:hidden!important;transform:none!important;translate:none!important}
body[data-package-tier="premium"].design-baileo-premium :is(#mempelai,#events)>.theme-scene .premium-adat-world{position:absolute!important;inset:0!important;top:0!important;bottom:0!important;height:100%!important;min-height:0!important;transform:none!important;translate:none!important}


/* Matched gallery artwork sits below the reading content on every Premium theme. */
body[data-package-tier="premium"] :is(#mempelai,#events).premium-gallery-matched{position:relative!important;padding-bottom:calc(clamp(240px,38svh,340px) + 48px)!important;isolation:isolate}
body[data-package-tier="premium"] .premium-gallery-matched>:is(.theme-scene,.standard-foreground,.playful-assets){display:none!important}
.premium-gallery-backdrop{position:absolute!important;inset:auto 0 0!important;top:auto!important;bottom:0!important;width:100%!important;height:clamp(240px,38svh,340px)!important;overflow:hidden!important;pointer-events:none!important;z-index:0!important;mask-image:linear-gradient(transparent,#000 15%);-webkit-mask-image:linear-gradient(transparent,#000 15%)}

/* Tidung keeps one stable composition; scroll parallax must not move gallery cutouts away from their copies. */
body.design-tidung-premium :is(#gallery-section,.premium-gallery-backdrop) .world-cutout{transform:none!important;translate:none!important;rotate:0deg!important;scale:none!important;animation:none!important}

/* Tidung RSVP stays plain and focused on the form. */
body[data-package-tier="premium"].design-tidung-premium #rsvp{background:var(--paper)!important;padding-bottom:80px!important}
body.design-tidung-premium #rsvp :is(.theme-scene,.standard-foreground,.playful-assets,.falling-leaves){display:none!important}
