/* ==========================================================================
   Jungle world (the elephant jungle art panel): Classic, Deluxe, Ultimate.
   Built from the shared tier world, with the jungle art swapped in.
   Loaded on the 3 Jungle product routes only, after every shared layer.
   Every rule is scoped to .bm-* or [data-world="jungle-module"].

   Frame interiors are sized in container units (cqi = 1% of the frame's
   width), so live text keeps the same place inside the art at every width.

   Art: parchment frame family (bamboo, vines, elephant statues) drawn as a
   9-slice so its corners keep their shape; parchment button plaque with
   carved bamboo and hibiscus; gold lettering with elephants.
   Type: Passion One (display) and Baloo 2 (body), both self-hosted (OFL).
   Ink on the parchment faces is deep jungle green; labels and prices are
   burnt orange.
   ========================================================================== */

@font-face {
  font-family: 'Passion One';
  src: url('../fonts/junglemod/passion-one.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Baloo 2';
  src: url('../fonts/junglemod/baloo-2-variable.woff2') format('woff2');
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

main[data-world="jungle-module"],
[data-world="jungle-module"] {
  --orn-w: min(100vw, calc(32vw + 280px), 900px);
  --orn-h: calc(var(--orn-w) / 3.777);
  /* Parchment faces: dark ink for text, burnt orange for labels and prices. */
  --bm-gold: #9C3B0B;
  --bm-gold-soft: #7A2C08;
  --bm-ivory: #2C3E1F;
  --bm-ivory-dim: #5B5638;
  --bm-navy: #FFF6DA;
  --bm-veil: rgb(34 28 10 / 0.72);
  --bm-ease: cubic-bezier(0.22, 1, 0.36, 1); /* the site's --ease-enter */
  --bm-serif: 'Passion One', 'Impact', sans-serif;
  --bm-sans: 'Baloo 2', 'Trebuchet MS', Arial, sans-serif;
}
/* Type, ink and alignment: the Jungle sections only. The shared footer
   (.closing) sits inside <main> and keeps its site-wide styling. */
main[data-world="jungle-module"] > section,
section[data-world="jungle-module"] {
  --font-display: var(--bm-serif);
  --font-body: var(--bm-sans);
  font-family: var(--bm-sans);
  color: var(--bm-ivory);
  text-align: center;
  font-synthesis: none; /* Passion One has one weight; don't let the browser fake-bold it (Sabrina, 2026-09-28) */
}
/* The shared celebration layer forces DM Serif Display on every h1-h3 with
   !important; this page keeps its own faces (higher specificity, loaded later). */
section.bm-details :is(h1, h2, h3, h4, h5, p, li, dt, dd, a, button),
dialog.bm-dialog :is(h1, h2, h3, h4, h5, p, li, dt, dd, a, button) {
  font-family: var(--bm-sans) !important;
  letter-spacing: normal;
}
section.bm-details :is(h2, h3),
dialog.bm-dialog :is(h2, h3),
section.bm-details :is(dt, dd, .bm-details__lead),
dialog.bm-dialog :is(dt, dd, .bm-dialog__label, .bm-faq__label) {
  font-family: var(--bm-serif) !important;
  letter-spacing: 0.02em; /* a touch of tracking for the display face (Sabrina, 2026-09-28) */
}
main[data-world="jungle-module"] > section ::selection { background: var(--bm-gold); color: var(--bm-navy); }

/* ---------- Section and scenery ------------------------------------------ */
.bm-details {
  /* Ornament 40, trimmed to its visible alpha (1920x508, ratio 3.777):
     about 103px tall at 390, 196px at 1440, 237px at 1920. It stays in the
     middle of the seam, clear of the fixed chrome columns on desktop. */
  --orn-w: min(100vw, calc(32vw + 280px), 900px);
  --orn-h: calc(var(--orn-w) / 3.777);
  position: relative;
  z-index: 1;                          /* the top ornament rises over the hero's lower edge */
  isolation: isolate;
  padding: calc(var(--orn-h) * 0.6 + 40px) 0 calc(var(--orn-h) * 0.6 + 40px);
  background: none;
}
.bm-details__scenery,
.bm-details__scenery img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.bm-details__scenery {
  z-index: -2;
  overflow: hidden;
  /* Feathered top and bottom: the scenery dissolves into its neighbours
     instead of ending on a straight line; the ornament sits on the seam. */
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 110px, #000 calc(100% - 110px), transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 110px, #000 calc(100% - 110px), transparent 100%);
}
.bm-details__scenery img { object-fit: cover; object-position: 50% 60%; }

/* Ornament 40 sits centred on each seam at its natural ratio. At most 40%
   of its height reaches into the neighbouring section. */
.bm-ornament {
  position: absolute;
  left: 50%;
  width: var(--orn-w);
  height: auto;
  pointer-events: none;
}
.bm-ornament--top { top: 0; z-index: 3; transform: translate(-50%, -40%); }
.bm-ornament--bottom { bottom: 0; z-index: 3; transform: translate(-50%, 40%); }

/* ---------- Stage ---------------------------------------------------------- */
.bm-details__stage {
  position: relative;
  width: min(100% - 64px, 1000px);
  margin-inline: auto;
  display: grid;
  justify-items: center;
  gap: 40px;
}

/* ---------- Story panel (frame 39) ---------------------------------------- */
.bm-panel {
  position: relative;
  width: 100%;
  aspect-ratio: 1448 / 1086;
  container-type: inline-size;
}
.bm-panel__frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
/* Inside the frame's inner gold line (x 9.9-90.1%, y 20.7-76.6%) with a
   clear margin. Story on the left, the three plaques in the right half. */
.bm-panel__safe {
  position: absolute;
  inset: 16.6cqi 11.2cqi 18.2cqi;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 40cqi;
  column-gap: 2.2cqi;
  align-items: center;
}
.bm-panel__story {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-height: 100%;
  min-height: 0;
}
.bm-lettering { margin: 0; line-height: 0; }
.bm-lettering__img { display: block; width: 100%; height: auto; }
/* Lettering 17 is 1120x373 with clear canvas above (13%) and below (5%) the
   words; negative margins trim that air so spacing follows the visible art. */
.bm-lettering--title { width: 30cqi; margin: 0 auto; }

.bm-details__description {
  margin-top: 1.6cqi;
  min-height: 0;
  overflow-y: auto;                     /* a longer saved description scrolls inside the frame */
  scrollbar-width: thin;
  scrollbar-color: var(--bm-gold-soft) transparent;
  font-size: 1.7cqi;
  line-height: 1.48;
  color: var(--bm-ivory);
  max-width: 50ch;
  text-align: center;
}
.bm-details__description p + p { margin-top: 0.7em; }
.bm-details__lead {
  font-size: 1.08em;
  font-weight: 600;
  line-height: 1.28;
  letter-spacing: 0.02em !important;
  color: var(--bm-gold);
  text-wrap: balance;
}
.bm-details__description.is-placeholder { color: var(--bm-ivory-dim); font-style: italic; }

/* ---------- Mission plaques (CTA shell 15 + lettering) --------------------- */
.bm-missions {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}
.bm-mission {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 960 / 298; /* Jungle cta-shell, trimmed */
  /* The shell canvas has clear air above (7%) and below (9%) the plaque;
     neighbouring plaques tuck into it. */
  margin-block: -1.8%;
  -webkit-tap-highlight-color: transparent;
  transition: transform 140ms var(--bm-ease);
}
.bm-mission__shell {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  transition: filter 280ms var(--bm-ease);
}
/* Live content fills the painted navy plaque (x 8.4-91.6%, y 28.7-69.3%).
   The lettering, trimmed to its visible alpha, takes the plaque's full calm
   height less about 1.5% of the shell at top and bottom. */
.bm-mission__face {
  position: absolute;
  inset: 30.2% 10% 30.8% 10%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5%;
}
.bm-mission__word {
  display: block;
  height: 100%;
  width: auto;
  max-width: 80%;
  object-fit: contain;
  transition: filter 280ms var(--bm-ease);
}
.bm-mission__plus {
  flex: 0 0 auto;
  width: auto;
  height: 52%;
  aspect-ratio: 1;
  fill: none;
  stroke: var(--bm-gold);
  stroke-width: 2.2;
  stroke-linecap: round;
  transition: transform 280ms var(--bm-ease);
}
/* Focus ring traced on the visible plaque, not the PNG canvas. */
.bm-mission__ring {
  position: absolute;
  inset: 7.3% 2.1% 9.1%;
  border-radius: 999px;
  pointer-events: none;
}
.bm-mission:focus-visible { outline: none; }
.bm-mission:focus-visible .bm-mission__ring { outline: 2px solid var(--bm-gold); outline-offset: 3px; }
.bm-mission:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) {
  .bm-mission:hover .bm-mission__shell { filter: brightness(1.12) saturate(1.05); }
  .bm-mission:hover .bm-mission__word { filter: brightness(1.12); }
  .bm-mission:hover .bm-mission__plus { transform: rotate(90deg); }
}

/* ---------- Check your HQ card (frame 32) ---------------------------------- */
.bm-hq {
  position: relative;
  width: min(100%, 460px);
  aspect-ratio: 1122 / 1402;
  container-type: inline-size;
}
.bm-hq__frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.bm-hq__safe {
  position: absolute;
  inset: 21cqi 17cqi 23cqi;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.2cqi;
}
.bm-lettering--hq { width: 56cqi; margin: 0; }
.bm-hq__open {
  position: static;       /* its hit area (::after) spans the whole card */
  display: block;
  width: 100%;
}
.bm-hq__open::after {
  content: '';
  position: absolute;
  inset: -21cqi -17cqi -23cqi;        /* from the safe area out to the whole frame */
  z-index: 2;
  border-radius: 3cqi;
}
.bm-hq__diagram-wrap {
  position: relative;
  display: block;
  transition: transform 140ms var(--bm-ease);
}
.bm-hq__diagram { display: block; width: 100%; height: auto; transition: filter 280ms var(--bm-ease); }
.bm-hq__hint {
  position: absolute;
  /* Pinned on the diagram's visible top-right corner (the art spans
     x 7.3-88.9%, y 5.6-97.3% of its canvas). */
  left: 88.9%;
  top: 5.6%;
  display: grid;
  place-items: center;
  width: 7.4cqi;
  height: 7.4cqi;
  border: 1.5px solid var(--bm-gold);
  border-radius: 50%;
  background: var(--bm-navy);
  box-shadow: 0 2px 6px rgb(40 34 12 / 0.55);
  pointer-events: none;
  transform: translate(-60%, -40%);
}
.bm-hq__hint .bm-mission__plus { height: 60%; }
.bm-hq__open:focus-visible { outline: none; }
.bm-hq__open:focus-visible::after { outline: 2px solid var(--bm-gold); outline-offset: -7cqi; border-radius: 5cqi; }
.bm-hq__open:active .bm-hq__diagram-wrap { transform: scale(0.985); }
@media (hover: hover) and (pointer: fine) {
  .bm-hq:hover .bm-hq__diagram { filter: brightness(1.08); }
  .bm-hq:hover .bm-hq__hint .bm-mission__plus { transform: rotate(90deg); }
}

/* Measurements (live, Passion One). */
.bm-dims {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1cqi 2cqi;
  width: 100%;
  margin: 0;
  text-align: center;
}
.bm-dims__item { display: grid; gap: 0.35em; }
.bm-dims dt {
  font-size: max(11px, 2.5cqi);
  font-weight: 600;
  letter-spacing: 0.04em !important;
  text-transform: uppercase;
  color: var(--bm-gold);
  line-height: 1.1;
}
.bm-dims dd {
  margin: 0;
  font-size: max(15px, 4.1cqi);
  font-weight: 600;
  line-height: 1.1;
  color: var(--bm-ivory);
  font-variant-numeric: lining-nums tabular-nums;
  white-space: nowrap;
}
@container (max-width: 470px) {
  .bm-dims--card { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2.4cqi; }
  .bm-lettering--hq { width: 50cqi; margin: 0; }
  .bm-hq__open { width: 94%; }
}

/* ---------- Desktop composition: panel left, HQ right --------------------- */
/* Side by side from 1440px: the lowest width at which the plaque lettering
   meets its size targets (plaque about 350px: single-line caps 22px+, gear
   15px+ per line) inside a panel of at most 62% of the content width. */
@media (min-width: 1440px) {
  .bm-details__stage {
    width: min(100% - 28px, 1800px);
    grid-template-columns: 62% 35%;
    column-gap: 3%;
    align-items: center;
    justify-items: stretch;
  }
  .bm-hq { width: 100%; }
}
/* 900-1439: one column. The panel leads at up to 1000px; the HQ card follows,
   set to the right so the pair reads as a composed sequence. */
@media (min-width: 900px) and (max-width: 1439px) {
  .bm-details__stage { gap: 16px; }
  .bm-hq { width: min(46%, 440px); justify-self: end; margin-right: 3%; }
}

/* ---------- Phones and narrow tablets: own composition --------------------- */
@media (max-width: 899px) {
  .bm-details { padding: calc(var(--orn-h) * 0.6 + 28px) 0 calc(var(--orn-h) * 0.6 + 32px); }
  .bm-details__scenery img { object-position: 50% 40%; }
  .bm-details__stage { width: min(100% - 32px, 560px); gap: 28px; }
  .bm-panel { aspect-ratio: auto; container-type: normal; }
  .bm-panel__frame { display: none; }
  .bm-panel__safe {
    position: static;
    display: flex;
    flex-direction: column;
    gap: 26px;
  }
  .bm-panel__story { position: relative; max-height: none; align-items: center; text-align: center; }
  /* A soft navy reading zone behind the copy only: feathered, no edges. */
  .bm-panel__story::before {
    content: '';
    position: absolute;
    inset: -28px -40px -36px;
    z-index: -1;
    background: radial-gradient(ellipse 58% 52% at 50% 55%, rgb(255 255 255 / 0.9) 0%, rgb(255 255 255 / 0.84) 52%, rgb(255 255 255 / 0.5) 76%, rgb(255 255 255 / 0) 100%);
    pointer-events: none;
  }
  .bm-lettering--title { width: min(100%, 380px); margin: 0 auto; }
  .bm-details__description {
    margin-top: 14px;
    overflow: visible;
    font-size: 17px;
    line-height: 1.55;
    max-width: 34ch;
    text-align: center;
  }
  .bm-details__lead { font-size: 17px; text-align: center; }
  .bm-missions { gap: 4px; width: min(100%, 370px); margin-inline: auto; }
  .bm-hq { width: min(100%, 420px); }
}
@media (max-width: 899px) and (min-width: 560px) {
  .bm-details__description { max-width: 48ch; }
}

/* ---------- Popups -------------------------------------------------------- */
dialog.bm-dialog {
  --dw: min(92vw, 1000px, calc((100dvh - 32px) * 1.3333));
  position: fixed;
  inset: 0;
  margin: auto;
  width: var(--dw);
  height: auto;
  max-width: none;
  max-height: none;
  aspect-ratio: 1448 / 1086;
  padding: 0;
  border: 0;
  background: none;
  color: var(--bm-ivory);
  overflow: visible;
  font-family: var(--bm-sans);
  --bm-gold: #9C3B0B;
  --bm-gold-soft: #7A2C08;
  --bm-ivory: #2C3E1F;
  --bm-navy: #FFF6DA;
  --bm-serif: 'Passion One', 'Impact', sans-serif;
  --bm-sans: 'Baloo 2', 'Trebuchet MS', Arial, sans-serif;
  --bm-ease: cubic-bezier(0.22, 1, 0.36, 1);
  font-synthesis: none;
  opacity: 1;
  transform: scale(1);
  transition:
    opacity 220ms var(--bm-ease),
    transform 220ms var(--bm-ease),
    overlay 220ms allow-discrete,
    display 220ms allow-discrete;
}
dialog.bm-dialog:not([open]) {
  opacity: 0;
  transform: scale(0.98);
  transition-duration: 150ms;
}
@starting-style {
  dialog.bm-dialog[open] { opacity: 0; transform: scale(0.96); }
}
dialog.bm-dialog::backdrop {
  background: rgb(40 34 12 / 0);
  transition: background-color 220ms var(--bm-ease), overlay 220ms allow-discrete, display 220ms allow-discrete;
}
dialog.bm-dialog[open]::backdrop { background: var(--bm-veil, rgb(40 34 12 / 0.86)); }
@starting-style {
  dialog.bm-dialog[open]::backdrop { background: rgb(40 34 12 / 0); }
}
dialog.bm-dialog:focus { outline: none; }
html:has(dialog.bm-dialog[open]) { overflow: hidden; }

.bm-dialog__frame {
  position: relative;
  width: 100%;
  height: 100%;
  container-type: inline-size;
}
.bm-dialog__art,
.bm-dialog__art img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
/* Frame 39: inside the inner gold line. */
.bm-dialog__safe {
  position: absolute;
  inset: 17.3cqi 12.5cqi 18.8cqi;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto minmax(0, 1fr);
  gap: 1.6cqi;
}
.bm-dialog__head {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 0.8cqi;
  padding-inline: 6cqi;              /* keeps the heading clear of the close button */
}
.bm-dialog__title { width: 40cqi; margin: 0; }
.bm-dialog__label {
  font-size: max(12px, 1.45cqi);
  font-weight: 600;
  letter-spacing: 0.04em !important;
  text-transform: uppercase;
  color: var(--bm-gold);
}
.bm-dialog__close {
  position: absolute;
  top: 0;
  right: 0;
  display: grid;
  place-items: center;
  width: max(44px, 5cqi);
  height: max(44px, 5cqi);
  border: 1.5px solid var(--bm-gold);
  border-radius: 50%;
  color: var(--bm-gold);
  transition: transform 140ms var(--bm-ease), background-color 200ms ease;
}
.bm-dialog__close svg {
  width: 44%;
  height: 44%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}
.bm-dialog__close:focus-visible { outline: 2px solid var(--bm-ivory); outline-offset: 3px; }
.bm-dialog__close:active { transform: scale(0.95); }
@media (hover: hover) and (pointer: fine) {
  .bm-dialog__close:hover { background: rgb(156 59 11 / 0.14); }
}
.bm-dialog__body {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--bm-gold-soft) transparent;
  font-size: max(15px, 1.9cqi);
  line-height: 1.55;
  color: var(--bm-ivory);
  padding-inline: 4cqi;
  text-align: center;
}
.bm-dialog__body > * { max-width: 56ch; margin-inline: auto; }
/* Scroll cue: the bottom edge fades while more copy waits below. */
.bm-dialog__body.is-scrollable:not(.is-end) {
  -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 56px), transparent);
  mask-image: linear-gradient(to bottom, #000 calc(100% - 56px), transparent);
}
.bm-dialog__body:focus-visible { outline: 2px solid var(--bm-gold); outline-offset: 4px; }
.bm-dialog__body ul { display: grid; gap: 0.9em; margin: 0 auto; padding: 0; list-style: none; }
.bm-dialog__body li { position: relative; }
.bm-dialog__body li::before {
  content: '';
  display: block;
  width: 1.4em;
  height: 1.5px;
  margin: 0 auto 0.5em;
  background: var(--bm-gold);
}
.bm-dialog__body p + p { margin-top: 0.8em; }
/* Mission protocol: the FAQ's delivery and policy questions. */
.bm-faq__group + .bm-faq__group { margin-top: 1.5em; }
.bm-faq__label {
  margin: 0 0 0.7em;
  font-size: 0.78em;
  font-weight: 600;
  letter-spacing: 0.04em !important;
  text-transform: uppercase;
  color: var(--bm-gold);
}
.bm-faq__qa + .bm-faq__qa { margin-top: 1em; }
.bm-faq__q {
  margin: 0 0 0.3em;
  font-size: 1em;
  font-weight: 600;
  line-height: 1.4;
  color: var(--bm-ivory);
}
.bm-faq__a p { color: #16161F; } /* Jungle ink (was Batman ivory) */
.bm-faq__a p + p { margin-top: 0.4em; }
.bm-faq__a [data-placeholder="true"] { color: #5B5638; font-style: italic; }
.bm-faq__more { margin-top: 1.6em; }
.bm-link {
  color: var(--bm-gold);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}
.bm-link:focus-visible { outline: 2px solid var(--bm-gold); outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) {
  .bm-link:hover { color: var(--bm-ivory); }
}

/* Dimensions popup: frame 27, diagram as large as the frame allows. */
dialog.bm-dialog--dims { --dw: min(94vw, 1280px, calc((100dvh - 24px) * 1.3333)); }
.bm-dialog--dims .bm-dialog__safe { inset: 17.4cqi 14cqi 17.6cqi; gap: 1cqi; }
.bm-dialog--dims .bm-dialog__title { width: 24cqi; margin: 0; }
/* Diagram fills the body height; the measurements stand in a column beside it. */
.bm-dialog__body--dims {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: minmax(0, 1fr);
  align-items: center;
  column-gap: 3cqi;
  overflow: hidden;
  padding: 0 1cqi;
}
.bm-dialog__diagram {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
}
.bm-dims--dialog { grid-template-columns: 1fr; gap: 2.4cqi; text-align: center; }
.bm-dims--dialog dt { font-size: max(11px, 1.35cqi); }
.bm-dims--dialog dd { font-size: max(15px, 2.2cqi); }

/* Phones: every popup uses the portrait painted frame 32. */
@media (max-width: 767px) {
  dialog.bm-dialog,
  dialog.bm-dialog--dims {
    --dw: min(94vw, 480px, calc((100dvh - 24px) * 0.8003));
    aspect-ratio: 1122 / 1402;
  }
  .bm-dialog__safe,
  .bm-dialog--dims .bm-dialog__safe { inset: 21cqi 16cqi 23cqi; gap: 3cqi; }
  .bm-dialog__head { padding-inline: 12.5cqi; gap: 1.6cqi; padding-top: 1cqi; }
  .bm-dialog__title { width: 44cqi; margin: 0; }
  .bm-dialog--dims .bm-dialog__title { width: 44cqi; margin: 0; }
  .bm-dialog__close { right: 0; top: 0; }
  .bm-dialog__body { padding-inline: 1cqi; font-size: max(15px, 4.2cqi); }
  .bm-dialog__body--dims { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto; row-gap: 3cqi; }
  .bm-dims--dialog { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3cqi 2cqi; text-align: center; }
  .bm-dims--dialog dt { font-size: max(11px, 2.9cqi); }
  .bm-dims--dialog dd { font-size: max(15px, 4.4cqi); }
}

/* ---------- Reveal (shared motion kit; JS adds .bm-motion only when allowed) -- */
.bm-motion :is(.bm-panel, .bm-hq) {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition: opacity 700ms var(--bm-ease), transform 700ms var(--bm-ease);
}
.bm-motion .bm-hq { transition-delay: 90ms; }
.bm-motion :is(.bm-panel, .bm-hq).is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  dialog.bm-dialog,
  dialog.bm-dialog:not([open]) { transform: none; }
  @starting-style {
    dialog.bm-dialog[open] { transform: none; }
  }
  .bm-mission,
  .bm-mission:active,
  .bm-hq__open:active .bm-hq__diagram-wrap,
  .bm-dialog__close:active { transform: none; }
  .bm-mission__plus { transition: none; }
  @media (hover: hover) and (pointer: fine) {
    .bm-mission:hover .bm-mission__plus,
    .bm-hq:hover .bm-hq__hint .bm-mission__plus { transform: none; }
  }
}
@media (forced-colors: active) {
  .bm-mission:focus-visible .bm-mission__ring,
  .bm-hq__open:focus-visible::after { outline-color: Highlight; }
  .bm-dialog__close { border-color: ButtonText; color: ButtonText; }
}

/* ==========================================================================
   Full page (v1.10.41): 1 hero, 3 attendant + water, 4 carousel,
   5 image + CTA, 6 concessions, 7 related. Section 2 is above.
   All text is centred (Sabrina). Live type: Passion One (display, labels,
   prices) and Baloo 2 (body). Scenery sits behind each section and
   feathers into the navy page ground, so sections join without edges.
   ========================================================================== */

main[data-world="jungle-module"] {
  background: var(--bm-navy) !important;
  /* Shared chip and button tokens (cohesion.css) in the Jungle palette. */
  --chip-edge: rgb(156 59 11 / 0.55);
  --chip-glow: #9C3B0B;
  --focus-ink: #2C3E1F;
}

/* Scenery layers: cover, feathered top and bottom into the navy ground. */
main[data-world="jungle-module"] .bm-scenery {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 120px, #000 calc(100% - 120px), transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 120px, #000 calc(100% - 120px), transparent 100%);
}
main[data-world="jungle-module"] .bm-scenery img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* The shared sections' own painted grounds give way to the Jungle scenery. */
main[data-world="jungle-module"] :is(.treats, .related)::before { content: none !important; }
main[data-world="jungle-module"] :is(.treats, .related) { background: none !important; }

/* Plaque buttons: CTA shell 15 with a live Passion One label in its navy plaque. */
main[data-world="jungle-module"] .bm-plaque-btn {
  position: relative;
  display: grid;
  place-items: center;
  width: min(100%, 320px);
  aspect-ratio: 960 / 298; /* Jungle cta-shell, trimmed */
  margin-inline: auto;
  color: #f1d38c;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transition: transform 140ms var(--bm-ease);
}
main[data-world="jungle-module"] .bm-plaque-btn__shell {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  transition: filter 280ms var(--bm-ease);
}
main[data-world="jungle-module"] .bm-plaque-btn__label {
  position: relative;
  display: inline-flex;
  align-items: center;
  font-family: var(--bm-serif);
  font-size: clamp(15px, 1.25vw, 20px);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
  text-shadow: 0 1px 10px rgb(156 59 11 / 0.35);
}
main[data-world="jungle-module"] .bm-plaque-btn__arrow {
  position: absolute;
  right: 15%;
  top: 50%;
  width: 7%;
  height: auto;
  aspect-ratio: 1;
  translate: 0 -50%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 280ms var(--bm-ease);
}
main[data-world="jungle-module"] .bm-plaque-btn::after {
  content: '';
  position: absolute;
  inset: 7.3% 2.1% 9.1%;
  border-radius: 999px;
  pointer-events: none;
}
main[data-world="jungle-module"] .bm-plaque-btn:focus-visible { outline: none; }
main[data-world="jungle-module"] .bm-plaque-btn:focus-visible::after { outline: 2px solid var(--bm-ivory); outline-offset: 3px; }
main[data-world="jungle-module"] .bm-plaque-btn:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) {
  main[data-world="jungle-module"] .bm-plaque-btn:hover .bm-plaque-btn__shell { filter: brightness(1.14) saturate(1.05); }
  main[data-world="jungle-module"] .bm-plaque-btn:hover .bm-plaque-btn__arrow { transform: translateX(4px); }
}

/* Switches (attendant, water): a real checkbox, drawn as a gold switch. */
main[data-world="jungle-module"] .bm-switch {
  position: relative;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 44px;
  padding: 0 4px;
  cursor: pointer;
  font-family: var(--bm-sans);
  font-size: 16px;
  color: var(--bm-ivory);
}
main[data-world="jungle-module"] .bm-switch__input {
  position: absolute !important;
  opacity: 0;
  width: 1px !important;
  height: 1px !important;
  margin: 0;
}
main[data-world="jungle-module"] .bm-switch__track {
  position: relative;
  flex: none;
  width: 48px;
  height: 28px;
  border: 1.5px solid var(--bm-gold);
  border-radius: 999px;
  background: rgb(255 255 255 / 0.6);
  transition: background-color 200ms var(--bm-ease);
}
main[data-world="jungle-module"] .bm-switch__track::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: var(--bm-gold);
  transition: transform 200ms var(--bm-ease), background-color 200ms var(--bm-ease);
}
main[data-world="jungle-module"] .bm-switch__input:checked + .bm-switch__track { background: var(--bm-gold); }
main[data-world="jungle-module"] .bm-switch__input:checked + .bm-switch__track::after { transform: translateX(20px); background: var(--bm-navy); }
main[data-world="jungle-module"] .bm-switch__input:focus-visible + .bm-switch__track { outline: 2px solid var(--bm-ivory); outline-offset: 3px; }
main[data-world="jungle-module"] .bm-switch:active .bm-switch__track::after { width: 23px; }
main[data-world="jungle-module"] .bm-switch__input:checked + .bm-switch__track:active::after { transform: translateX(16px); }

/* ---------- 1. Hero ------------------------------------------------------- */
main[data-world="jungle-module"] .bm-hero {
  position: relative;
  isolation: isolate;
  min-height: max(820px, 100svh);
  padding: 104px clamp(20px, 4vw, 72px) calc(var(--orn-h) * 0.4 + 48px);
  display: grid;
  align-items: center;
  overflow: hidden;
}
main[data-world="jungle-module"] .bm-hero__scenery {
  -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 180px), transparent);
  mask-image: linear-gradient(to bottom, #000 calc(100% - 180px), transparent);
}
main[data-world="jungle-module"] .bm-hero__scenery img { object-position: 50% 40%; }
main[data-world="jungle-module"] .bm-hero__bats {
  position: absolute;
  top: 118px;
  left: 30%;
  z-index: -1;
  width: clamp(150px, 14vw, 250px);
  height: auto;
  opacity: 0.5;
  pointer-events: none;
}
main[data-world="jungle-module"] .bm-hero__stage {
  width: min(100%, 1560px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: center;
  gap: clamp(16px, 3vw, 56px);
}
main[data-world="jungle-module"] .bm-hero__product {
  position: relative;
  width: min(100%, 820px);
  justify-self: center;
  padding-bottom: 5%;
}
main[data-world="jungle-module"] .bm-hero__img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  --bounce-travel: 26px;
  animation: world-bounce 1.25s ease-in-out infinite alternate;
}
/* A separate shadow: it tightens and fades while the product rises. */
main[data-world="jungle-module"] .bm-hero__shadow {
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: 2%;
  height: 8%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgb(0 0 0 / 0.7), rgb(0 0 0 / 0.32) 55%, transparent);
  animation: bm-shadow 1.25s ease-in-out infinite alternate;
}
@keyframes bm-shadow {
  from { transform: scaleX(1); opacity: 1; }
  to { transform: scaleX(0.8); opacity: 0.55; }
}
main[data-world="jungle-module"] .bm-hero__copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}
main[data-world="jungle-module"] :is(.bm-hero__eyebrow, .bm-hero__title, .bm-hero__tagline) { margin: 0; line-height: 0; }
main[data-world="jungle-module"] :is(.bm-hero__eyebrow, .bm-hero__title, .bm-hero__tagline) img { display: block; width: 100%; height: auto; }
main[data-world="jungle-module"] .bm-hero__eyebrow { width: min(84%, 360px); }
main[data-world="jungle-module"] .bm-hero__title { width: min(100%, 560px); }
main[data-world="jungle-module"] .bm-hero__tagline { width: min(80%, 340px); }
main[data-world="jungle-module"] .bm-hero__copy .phero__line {
  max-width: 40ch;
  font-family: var(--bm-sans);
  font-size: 17px;
  line-height: 1.5;
  color: var(--bm-ivory);
}
main[data-world="jungle-module"] .bm-hero__copy .phero__line:empty { display: none; }
main[data-world="jungle-module"] .bm-hero__booking {
  width: min(100%, 520px);
  display: grid;
  justify-items: center;
  gap: 14px;
  margin-top: 6px;
}
/* Both rental lengths carry their own price, so the single price hides. */
main[data-world="jungle-module"] .bm-hero__booking:has(.rental-rates) .world-price { display: none; }
main[data-world="jungle-module"] .world-price { margin: 0; font-family: var(--bm-serif); font-size: 30px; color: var(--bm-gold); }

/* Rental length and water: pill choices on navy, gold when chosen. */
main[data-world="jungle-module"] :is(.rental-rates, .wetdry) {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
main[data-world="jungle-module"] :is(.rental-rates, .wetdry) legend {
  width: 100%;
  margin: 0 0 8px;
  padding: 0;
  font-family: var(--bm-serif) !important;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: center;
  color: var(--bm-gold);
}
main[data-world="jungle-module"] .wetdry__group { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
main[data-world="jungle-module"] :is(.rental-rates, .wetdry) label { position: relative; display: block; margin: 0; cursor: pointer; }
main[data-world="jungle-module"] :is(.rental-rates, .wetdry) input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  margin: 0;
  cursor: pointer;
}
main[data-world="jungle-module"] :is(.rental-rates label > span, .wetdry__opt span) {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px !important;
  padding: 8px 22px !important;
  border: 1px solid rgb(156 59 11 / 0.55) !important;
  border-radius: 999px !important;
  background: rgb(255 255 255 / 0.78) !important;
  color: var(--bm-ivory) !important;
  box-shadow: none !important;
  font-family: var(--bm-sans) !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  letter-spacing: 0.02em !important;
  transition: background-color 200ms var(--bm-ease), border-color 200ms var(--bm-ease), box-shadow 200ms var(--bm-ease), transform 140ms var(--bm-ease) !important;
}
main[data-world="jungle-module"] .rental-rates__price {
  font-family: var(--bm-serif) !important;
  font-size: 19px;
  font-weight: 700;
  color: var(--bm-gold);
  font-variant-numeric: lining-nums;
}
main[data-world="jungle-module"] .wetdry__opt svg { width: 12px; height: 12px; margin-right: 6px; color: #f0c96a; }
main[data-world="jungle-module"] :is(.rental-rates input:checked + span, .wetdry__opt input:checked + span) {
  border-color: var(--bm-gold) !important;
  background: linear-gradient(rgb(156 59 11 / 0.22), rgb(156 59 11 / 0.1)), rgb(255 255 255 / 0.86) !important;
  box-shadow: inset 0 0 0 1px var(--bm-gold), 0 0 22px rgb(156 59 11 / 0.28) !important;
}
main[data-world="jungle-module"] :is(.rental-rates input:checked + span, .wetdry__opt input:checked + span)::after {
  color: var(--bm-gold);
  margin-left: 2px !important;
}
main[data-world="jungle-module"] :is(.rental-rates, .wetdry) input:focus-visible + span { outline: 2px solid var(--bm-ivory) !important; outline-offset: 3px !important; }
main[data-world="jungle-module"] :is(.rental-rates, .wetdry) label:active > span { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) {
  main[data-world="jungle-module"] :is(.rental-rates, .wetdry) input:not(:checked):hover + span { border-color: var(--bm-gold) !important; }
}
main[data-world="jungle-module"] .wetdry__note {
  display: none;
  width: 100%;
  margin-top: 4px;
  font-family: var(--bm-sans);
  font-size: 14px;
  color: var(--bm-ivory-dim);
  text-align: center;
}
main[data-world="jungle-module"] .wetdry:has(input[value="wet"]:checked) .wetdry__note { display: block; }
main[data-world="jungle-module"] .bm-hero__actions { width: 100%; margin-top: 4px; }

/* ---------- 3. Attendant + water ------------------------------------------ */
main[data-world="jungle-module"] .bm-crew {
  position: relative;
  isolation: isolate;
  padding: calc(var(--orn-h) * 0.4 + 56px) 20px 110px;
}
main[data-world="jungle-module"] .bm-crew__scenery img { object-position: 50% 55%; }
main[data-world="jungle-module"] .bm-crew__title { width: min(86%, 520px); margin: 0 auto clamp(18px, 2.6vw, 36px); }
main[data-world="jungle-module"] .bm-crew__panels {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(20px, 4vw, 64px);
}
main[data-world="jungle-module"] .bm-crew__panel {
  position: relative;
  width: min(100%, 440px);
  aspect-ratio: 1122 / 1402;
  container-type: inline-size;
}
main[data-world="jungle-module"] .bm-crew__frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
/* Frame 32 inner rim: x 13.9-86.0%, y 15.0-84.0% of its height. */
main[data-world="jungle-module"] .bm-crew__safe {
  position: absolute;
  inset: 21cqi 16.5cqi 22.5cqi;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.3cqi;
  text-align: center;
}
main[data-world="jungle-module"] .bm-crew__heading {
  margin: 0;
  font-family: var(--bm-serif) !important;
  font-size: max(21px, 5.9cqi) !important;
  font-weight: 600 !important;
  line-height: 1.12 !important;
  letter-spacing: 0.02em !important;
  color: var(--bm-gold);
  text-wrap: balance;
}
main[data-world="jungle-module"] .bm-crew__safe > p {
  margin: 0;
  max-width: 30ch;
  font-size: max(15px, 3.7cqi);
  line-height: 1.45;
  color: var(--bm-ivory);
}
main[data-world="jungle-module"] .bm-crew__safe > p.attendant__note { font-size: max(13px, 3cqi); color: var(--bm-ivory-dim); }
main[data-world="jungle-module"] .bm-crew .attendant__rate {
  margin: 0;
  font-family: var(--bm-sans);
  font-size: max(14px, 3.4cqi);
  color: var(--bm-ivory-dim);
}
main[data-world="jungle-module"] .bm-crew .attendant__rate strong {
  font-family: var(--bm-serif);
  font-size: max(28px, 8cqi);
  font-weight: 700;
  color: var(--bm-ivory);
  font-variant-numeric: lining-nums;
}
/* Hours stepper with the live total on one line. */
main[data-world="jungle-module"] .bm-stepper {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center;
  justify-content: center;
  gap: 8px !important;
  font-family: var(--bm-sans);
  font-size: 15px !important;
  color: var(--bm-ivory);
}
main[data-world="jungle-module"] .bm-stepper__row { display: inline-flex; align-items: center; gap: 6px; }
main[data-world="jungle-module"] .bm-stepper__btn {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1.5px solid var(--bm-gold);
  border-radius: 50%;
  color: var(--bm-gold);
  transition: transform 140ms var(--bm-ease), opacity 200ms ease, background-color 200ms ease;
}
main[data-world="jungle-module"] .bm-stepper__btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
main[data-world="jungle-module"] .bm-stepper__btn:disabled { opacity: 0.32; cursor: default; }
main[data-world="jungle-module"] .bm-stepper__btn:not(:disabled):active { transform: scale(0.93); }
main[data-world="jungle-module"] .bm-stepper__btn:focus-visible { outline: 2px solid var(--bm-ivory); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) {
  main[data-world="jungle-module"] .bm-stepper__btn:not(:disabled):hover { background: rgb(156 59 11 / 0.14); }
}
main[data-world="jungle-module"] .bm-stepper input {
  width: 52px !important;
  min-height: 44px !important;
  padding: 0 !important;
  border: 1px solid rgb(156 59 11 / 0.5) !important;
  border-radius: 10px !important;
  background: transparent !important;
  color: var(--bm-ivory) !important;
  font-family: var(--bm-serif);
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  -moz-appearance: textfield;
  appearance: textfield;
}
main[data-world="jungle-module"] .bm-stepper input::-webkit-inner-spin-button,
main[data-world="jungle-module"] .bm-stepper input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
main[data-world="jungle-module"] .bm-stepper input:disabled { opacity: 0.5; }
main[data-world="jungle-module"] .bm-stepper input:focus-visible { outline: 2px solid var(--bm-ivory); outline-offset: 2px; }
main[data-world="jungle-module"] .bm-stepper output {
  min-width: 3.4em;
  font-family: var(--bm-serif);
  font-size: 22px !important;
  font-weight: 700 !important;
  color: var(--bm-gold);
  font-variant-numeric: lining-nums tabular-nums;
}
main[data-world="jungle-module"] .bm-crew__panel--attendant:has(#attendant:not(:checked)) .bm-stepper output { opacity: 0.55; }
main[data-world="jungle-module"] .bm-water__img { width: 50%; height: auto; margin-block: -1cqi; filter: drop-shadow(0 12px 14px rgb(0 0 0 / 0.45)); }
main[data-world="jungle-module"] .bm-water__note { margin: 0; font-size: max(14px, 3.3cqi); color: var(--bm-ivory-dim); }
main[data-world="jungle-module"] .bm-water__lettering { display: block; width: 70%; height: auto; margin-inline: auto; }

/* ---------- 4. Carousel: the shared in-action carousel, framed ------------- */
main[data-world="jungle-module"] .bm-gallery {
  position: relative;
  padding: clamp(32px, 5vw, 72px) clamp(16px, 4vw, 64px);
  background: radial-gradient(ellipse 70% 60% at 50% 45%, #4a2f12 0%, rgb(255 255 255 / 0) 72%);
}
/* A thin antique-gold rule: the slides (2274x1280 and 1916x821) do not fit
   frame 41's 1.86:1 opening, so the frame art is not used here. */
main[data-world="jungle-module"] .bm-gallery__stage {
  position: relative;
  width: min(100%, 1240px);
  margin-inline: auto;
  padding: 8px;
  border: 1px solid rgb(156 59 11 / 0.7);
  box-shadow: 0 30px 60px -30px rgb(0 0 0 / 0.8);
}
main[data-world="jungle-module"] .bm-gallery__stage::before {
  content: '';
  position: absolute;
  inset: 3px;
  border: 1px solid rgb(156 59 11 / 0.22);
  pointer-events: none;
}
main[data-world="jungle-module"] .bm-gallery .mbm-car { aspect-ratio: 2 / 1; }
main[data-world="jungle-module"] .bm-gallery .mbm-car__slide { transition: opacity 600ms var(--bm-ease); }
/* Photos keep their whole frame (the catalog shots are square): the photo sits centred at the stage height and its outer edge feathers into the parchment stage. */
main[data-world="jungle-module"] .bm-gallery .mbm-car { background: radial-gradient(ellipse 60% 85% at 50% 45%, #FDF8EC 55%, #F6EBD0 100%); }
main[data-world="jungle-module"] .bm-gallery .mbm-car__slide { display: flex; align-items: center; justify-content: center; box-sizing: border-box; padding: 8px 0 52px; }
body main[data-world="jungle-module"] .bm-gallery .mbm-car__slide > img {
  position: static !important; top: auto !important; left: auto !important; transform: none !important; will-change: auto;
  width: auto; height: 100%; max-width: 100%; object-fit: contain;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent), linear-gradient(180deg, transparent, #000 7%, #000 93%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent), linear-gradient(180deg, transparent, #000 7%, #000 93%, transparent);
  mask-composite: intersect;
}
main[data-world="jungle-module"] .bm-gallery .mbm-car__arw {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 1.5px solid var(--bm-gold);
  border-radius: 50%;
  background: rgb(255 255 255 / 0.62);
  font-size: 0;
  line-height: 0;
  color: transparent;
  text-shadow: none;
  transition: background-color 200ms ease, transform 140ms var(--bm-ease);
}
main[data-world="jungle-module"] .bm-gallery .mbm-car__arw::before {
  content: '';
  width: 18px;
  height: 18px;
  background: var(--bm-gold);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 5l7 7-7 7'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 5l7 7-7 7'/%3E%3C/svg%3E") center / contain no-repeat;
}
main[data-world="jungle-module"] .bm-gallery .mbm-car__prev::before { transform: scaleX(-1); }
main[data-world="jungle-module"] .bm-gallery .mbm-car__prev { left: 18px; }
main[data-world="jungle-module"] .bm-gallery .mbm-car__next { right: 18px; }
main[data-world="jungle-module"] .bm-gallery .mbm-car__arw:active { transform: translateY(-50%) scale(0.94); }
main[data-world="jungle-module"] .bm-gallery .mbm-car__arw:focus-visible { outline: 2px solid var(--bm-ivory); outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) {
  main[data-world="jungle-module"] .bm-gallery .mbm-car__arw:hover { background: rgb(156 59 11 / 0.2); opacity: 1; }
}
main[data-world="jungle-module"] .bm-gallery .mbm-car__dots { gap: 6px; bottom: 14px; }
main[data-world="jungle-module"] .bm-gallery .mbm-car__dot {
  position: relative;
  width: 28px;
  height: 28px;
  background: none;
  box-shadow: none;
}
main[data-world="jungle-module"] .bm-gallery .mbm-car__dot::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 8px;
  height: 8px;
  translate: -50% -50%;
  border-radius: 999px;
  background: rgb(243 234 213 / 0.55);
  box-shadow: 0 1px 4px rgb(0 0 0 / 0.6);
  transition: width 300ms var(--bm-ease), background-color 300ms ease;
}
main[data-world="jungle-module"] .bm-gallery .mbm-car__dot.on::before { width: 22px; background: var(--bm-gold); }
main[data-world="jungle-module"] .bm-gallery .mbm-car__dot:focus-visible { outline: 2px solid var(--bm-ivory); outline-offset: 0; border-radius: 50%; }

/* ---------- 5. Image + CTA ------------------------------------------------ */
main[data-world="jungle-module"] .bm-cta {
  position: relative;
  isolation: isolate;
  min-height: clamp(560px, 52vw, 820px);
  display: grid;
  place-items: center;
  padding: 120px 20px;
}
main[data-world="jungle-module"] .bm-cta__scenery img { object-position: 50% 60%; }
main[data-world="jungle-module"] .bm-cta__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  width: min(100%, 620px);
}
/* A soft warm reading zone behind the words, no edges. */
main[data-world="jungle-module"] .bm-cta__inner::before {
  content: '';
  position: absolute;
  inset: -60px -90px;
  z-index: -1;
  background: radial-gradient(closest-side, rgb(255 255 255 / 0.72), rgb(255 255 255 / 0.4) 60%, rgb(255 255 255 / 0));
  pointer-events: none;
}
main[data-world="jungle-module"] .bm-cta__title { width: min(92%, 560px); margin: 0; line-height: 0; }
main[data-world="jungle-module"] .bm-cta__line {
  margin: 0;
  font-family: var(--bm-serif);
  font-size: clamp(18px, 1.6vw, 24px);
  letter-spacing: 0.04em;
  color: var(--bm-ivory);
}
main[data-world="jungle-module"] .bm-plaque-btn--cta { width: min(100%, 360px); }
main[data-world="jungle-module"] .bm-lettering__img { display: block; width: 100%; height: auto; }

/* ---------- 6. Concessions ------------------------------------------------ */
main[data-world="jungle-module"] .bm-treats {
  position: relative;
  isolation: isolate;
  padding: 110px clamp(16px, 5vw, 72px) 110px !important;
}
main[data-world="jungle-module"] .bm-treats .treats__inner { max-width: 1120px; margin-inline: auto; align-items: center; }
main[data-world="jungle-module"] .bm-treats .treats__head { margin: 0 auto 34px; text-align: center; }
main[data-world="jungle-module"] :is(#treats-title, #related-title) {
  display: block;
  width: min(80%, 460px);
  height: auto;
  margin-inline: auto;
  font-family: var(--bm-serif) !important;
  font-weight: 600 !important;
  line-height: 1.1 !important;
  letter-spacing: 0.03em !important;
  color: var(--bm-gold);
  text-shadow: 0 2px 18px rgb(255 255 255 / 0.9);
  text-align: center;
}
main[data-world="jungle-module"] .treats__line {
  margin: 10px auto 0;
  max-width: 44ch;
  font-size: 17px;
  color: var(--bm-ivory);
  text-shadow: 0 1px 10px rgb(255 255 255 / 0.95);
}
main[data-world="jungle-module"] .bm-treats .treats__grid { justify-content: center; gap: 28px; }
main[data-world="jungle-module"] .bm-treats .treat {
  flex: 0 0 calc((100% - 56px) / 3);
  aspect-ratio: auto;
  display: flex;
  flex-direction: column;
  overflow: visible;
  padding: 12px 12px 22px;
  border: 1px solid rgb(156 59 11 / 0.7) !important;
  background: linear-gradient(180deg, rgb(255 255 255 / 0.55), rgb(255 255 255 / 0.92) 58%) !important;
  box-shadow: 0 26px 50px -24px rgb(0 0 0 / 0.85) !important;
  transition: border-color 240ms var(--bm-ease), box-shadow 240ms var(--bm-ease);
}
main[data-world="jungle-module"] .bm-treats .treat::before {
  content: '';
  position: absolute;
  inset: 4px;
  border: 1px solid rgb(156 59 11 / 0.2);
  pointer-events: none;
}
main[data-world="jungle-module"] .bm-treats .treat.is-on {
  border-color: var(--bm-gold) !important;
  box-shadow: 0 0 0 1px var(--bm-gold), 0 0 30px rgb(156 59 11 / 0.25), 0 26px 50px -24px rgb(0 0 0 / 0.85) !important;
}
main[data-world="jungle-module"] .bm-treats .treat__media {
  aspect-ratio: 5 / 4;
  height: auto;
  overflow: hidden;
  border: 1px solid rgb(156 59 11 / 0.35);
  background: var(--bm-navy);
}
main[data-world="jungle-module"] .bm-treats .treat__media img { width: 100%; height: 100%; object-fit: cover; }
main[data-world="jungle-module"] .bm-treats .treat__info {
  position: static;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 18px 8px 0;
  background: none;
  color: var(--bm-ivory);
  text-align: center;
}
main[data-world="jungle-module"] .bm-treats .treat__name {
  font-family: var(--bm-serif) !important;
  font-size: 20px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  color: var(--bm-ivory);
}
main[data-world="jungle-module"] .bm-treats .treat__price {
  font-family: var(--bm-sans) !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  color: var(--bm-gold);
}
main[data-world="jungle-module"] .bm-treats .addon-add {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 132px;
  min-height: 46px !important;
  margin-top: 8px;
  padding: 0 24px !important;
  border: 1.5px solid var(--bm-gold) !important;
  border-radius: 999px !important;
  background: transparent !important;
  color: var(--bm-gold) !important;
  box-shadow: none !important;
  font-family: var(--bm-serif) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase;
  transition: background-color 200ms var(--bm-ease), color 200ms var(--bm-ease), transform 140ms var(--bm-ease) !important;
}
main[data-world="jungle-module"] .bm-treats .addon-add__icon { display: none; }
main[data-world="jungle-module"] .bm-treats .addon-add[aria-pressed="false"]::before {
  content: '';
  width: 12px;
  height: 12px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 4v16M4 12h16'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 4v16M4 12h16'/%3E%3C/svg%3E") center / contain no-repeat;
}
main[data-world="jungle-module"] .bm-treats .addon-add[aria-pressed="true"] { background: var(--bm-gold) !important; color: var(--bm-navy) !important; }
main[data-world="jungle-module"] .bm-treats .addon-add[aria-pressed="true"]::after { margin-left: 0 !important; }
main[data-world="jungle-module"] .bm-treats .addon-add:active { transform: scale(0.97); }
main[data-world="jungle-module"] .bm-treats .addon-add:focus-visible { outline: 2px solid var(--bm-ivory) !important; outline-offset: 3px !important; }
@media (hover: hover) and (pointer: fine) {
  main[data-world="jungle-module"] .bm-treats .addon-add[aria-pressed="false"]:hover { background: rgb(156 59 11 / 0.16) !important; }
}
/* The shared mobile carousel controls, in gold. */
main[data-world="jungle-module"] :is(.bm-treats, .bm-related) .carousel-arrow,
main[data-world="jungle-module"] :is(.bm-treats, .bm-related) .carousel-position { color: var(--bm-gold); }

/* ---------- 7. Related ---------------------------------------------------- */
main[data-world="jungle-module"] .bm-related {
  position: relative;
  isolation: isolate;
  padding: 110px clamp(16px, 5vw, 72px) 150px !important;
}
main[data-world="jungle-module"] .bm-related .related__head { margin: 0 auto 38px; text-align: center; }
main[data-world="jungle-module"] .bm-related .related__grid { justify-content: center; gap: clamp(20px, 3vw, 48px); }
main[data-world="jungle-module"] .bm-related .card {
  flex: 0 0 calc((100% - 2 * clamp(20px, 3vw, 48px)) / 3);
  max-width: 340px;
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
  aspect-ratio: auto;
  overflow: visible;
}
main[data-world="jungle-module"] .bm-related .card__media { position: relative; display: block; background: none !important; overflow: visible; aspect-ratio: 1; }
main[data-world="jungle-module"] .bm-related .card__stage { position: relative; display: block; width: 100%; height: 100%; background: none !important; }
/* Floating, frameless: the product's own image on the shared bounce with a separate shadow. */
main[data-world="jungle-module"] .bm-related .card__cutout {
  position: relative;
  z-index: 1;
  display: block;
  width: 86%;
  height: 86%;
  margin: 0 auto;
  object-fit: contain;
  --bounce-travel: 14px;
  animation: world-bounce 1.25s ease-in-out infinite alternate !important;
  filter: drop-shadow(0 10px 18px rgb(0 0 0 / 0.45));
}
main[data-world="jungle-module"] .bm-related .card:nth-child(2) .card__cutout { animation-delay: -0.4s !important; }
main[data-world="jungle-module"] .bm-related .card:nth-child(3) .card__cutout { animation-delay: -0.8s !important; }
main[data-world="jungle-module"] .bm-related .card__stage::after {
  content: '';
  position: absolute;
  left: 18%;
  right: 18%;
  bottom: 2%;
  height: 7%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgb(0 0 0 / 0.65), transparent);
  animation: bm-shadow 1.25s ease-in-out infinite alternate;
}
main[data-world="jungle-module"] .bm-related .card:nth-child(2) .card__stage::after { animation-delay: -0.4s; }
main[data-world="jungle-module"] .bm-related .card:nth-child(3) .card__stage::after { animation-delay: -0.8s; }
main[data-world="jungle-module"] .bm-related .card__info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding-top: 14px;
  text-align: center;
}
main[data-world="jungle-module"] .bm-related .card__name { margin: 0; font-size: 21px !important; font-weight: 600 !important; line-height: 1.2 !important; }
main[data-world="jungle-module"] .bm-related .card__name a { color: var(--bm-ivory); text-decoration: none; text-shadow: 0 1px 10px rgb(255 255 255 / 0.95); }
main[data-world="jungle-module"] .bm-related .card__price { margin: 0; color: var(--bm-gold) !important; font-size: 16px !important; font-weight: 600 !important; }
main[data-world="jungle-module"] .bm-related .card__cta {
  min-height: 46px !important;
  margin-top: 6px;
  padding: 0 26px !important;
  border: 1.5px solid var(--bm-gold) !important;
  border-radius: 999px !important;
  background: rgb(255 255 255 / 0.55) !important;
  color: var(--bm-gold) !important;
  box-shadow: none !important;
  font-family: var(--bm-serif) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  transition: background-color 200ms var(--bm-ease), transform 140ms var(--bm-ease) !important;
}
main[data-world="jungle-module"] .bm-related .card__cta:active { transform: scale(0.97) !important; }
main[data-world="jungle-module"] .bm-related :is(.card__cta, .card__media, .card__name a):focus-visible { outline: 2px solid var(--bm-ivory) !important; outline-offset: 3px !important; }
@media (hover: hover) and (pointer: fine) {
  main[data-world="jungle-module"] .bm-related .card__cta:hover { background: rgb(156 59 11 / 0.18) !important; transform: none !important; box-shadow: none !important; }
}

/* ---------- Toast (live selection feedback) ------------------------------- */
.bm-toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 900;
  max-width: min(92vw, 460px);
  padding: 12px 22px;
  border: 1px solid #9C3B0B;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.94);
  box-shadow: 0 12px 30px rgb(0 0 0 / 0.5);
  color: #16161F;
  font-family: 'Baloo 2', 'Trebuchet MS', Arial, sans-serif;
  font-size: 15px;
  line-height: 1.35;
  text-align: center;
  opacity: 0;
  transform: translate(-50%, 16px);
  pointer-events: none;
  transition: opacity 200ms cubic-bezier(0.22, 1, 0.36, 1), transform 200ms cubic-bezier(0.22, 1, 0.36, 1);
}
.bm-toast.is-shown { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Tablet and phone --------------------------------------------- */
@media (max-width: 1099px) {
  main[data-world="jungle-module"] .bm-hero__stage { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (max-width: 767px) {
  main[data-world="jungle-module"] .bm-hero {
    display: block;
    min-height: 0;
    padding: 76px 16px calc(var(--orn-h) * 0.4 + 36px);
  }
  main[data-world="jungle-module"] .bm-hero__scenery {
    bottom: auto;
    height: min(178vw, 760px);
    -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent);
    mask-image: linear-gradient(to bottom, #000 72%, transparent);
  }
  main[data-world="jungle-module"] .bm-hero__scenery img { object-position: 50% 30%; }
  main[data-world="jungle-module"] .bm-hero__bats { top: 64px; left: auto; right: 6%; width: 120px; }
  main[data-world="jungle-module"] .bm-hero__stage { display: block; }
  main[data-world="jungle-module"] .bm-hero__product { width: min(100%, 480px); margin: 30vw auto 0; padding-bottom: 6%; }
  main[data-world="jungle-module"] .bm-hero__img { --bounce-travel: 16px; }
  main[data-world="jungle-module"] .bm-hero__copy { margin-top: 10px; gap: 10px; }
  main[data-world="jungle-module"] .bm-hero__eyebrow { width: min(84%, 300px); }
  main[data-world="jungle-module"] .bm-hero__tagline { width: min(84%, 300px); }
  main[data-world="jungle-module"] :is(.rental-rates label > span, .wetdry__opt span) { padding: 8px 16px !important; }
  main[data-world="jungle-module"] .bm-hero__actions .bm-plaque-btn { width: min(100%, 330px); }
  main[data-world="jungle-module"] .bm-plaque-btn__label { font-size: 17px; }

  main[data-world="jungle-module"] .bm-crew { padding: calc(var(--orn-h) * 0.4 + 36px) 4px 80px; }
  main[data-world="jungle-module"] .bm-crew__panels { flex-direction: column; align-items: center; gap: 12px; }
  main[data-world="jungle-module"] .bm-crew__panel { width: min(100%, 420px); }
  main[data-world="jungle-module"] .bm-crew__safe { gap: 1.8cqi; }

  main[data-world="jungle-module"] .bm-gallery .mbm-car { aspect-ratio: 1 / 1; }
  main[data-world="jungle-module"] .bm-gallery .mbm-car__arw { width: 44px; height: 44px; }
  main[data-world="jungle-module"] .bm-gallery .mbm-car__prev { left: 8px; }
  main[data-world="jungle-module"] .bm-gallery .mbm-car__next { right: 8px; }

  main[data-world="jungle-module"] .bm-cta { min-height: min(170vw, 720px); padding: 100px 16px; }
  main[data-world="jungle-module"] .bm-cta__inner::before { inset: -40px -24px; }

  main[data-world="jungle-module"] .bm-treats { padding: 96px 16px 96px !important; }
  main[data-world="jungle-module"] .bm-treats .treat { flex: 0 0 100%; }
  main[data-world="jungle-module"] .bm-related { padding: 96px 16px 120px !important; }
  main[data-world="jungle-module"] .bm-related .card { flex: 0 0 82%; max-width: none; }
}

/* ---------- Reveals (shared motion kit; .bm-motion only when allowed) ------ */
.bm-motion :is(.bm-crew__panel, .bm-gallery__stage, .bm-cta__inner, .bm-crew__title) {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition: opacity 700ms var(--bm-ease), transform 700ms var(--bm-ease);
}
.bm-motion .bm-crew__panel--water { transition-delay: 90ms; }
.bm-motion :is(.bm-crew__panel, .bm-gallery__stage, .bm-cta__inner, .bm-crew__title).is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  main[data-world="jungle-module"] :is(.bm-hero__img, .bm-hero__shadow, .bm-related .card__cutout, .bm-related .card__stage::after) { animation: none !important; }
  main[data-world="jungle-module"] :is(.bm-plaque-btn, .bm-plaque-btn:active, .bm-stepper__btn:active, .addon-add:active, .rental-rates label:active > span, .wetdry label:active > span) { transform: none !important; }
  .bm-toast { transform: translate(-50%, 0); }
}
@media (forced-colors: active) {
  main[data-world="jungle-module"] .bm-switch__track { border-color: ButtonText; }
  main[data-world="jungle-module"] .bm-plaque-btn:focus-visible::after { outline-color: Highlight; }
}

/* ---------- Corrections after the first full render ---------------------- */
/* The shared polish layer paints #main ivory (with an id); the Jungle page
   keeps its navy ground so no ivory shows between sections. */
body main#main[data-world="jungle-module"] { background-color: var(--bm-navy) !important; }

/* Hero: a soft warm reading zone behind the copy and controls. */
main[data-world="jungle-module"] .bm-hero__copy { position: relative; }
main[data-world="jungle-module"] .bm-hero__copy::before {
  content: '';
  position: absolute;
  inset: -40px -60px;
  z-index: -1;
  background: radial-gradient(closest-side, rgb(255 255 255 / 0.78), rgb(255 255 255 / 0.5) 62%, rgb(255 255 255 / 0));
  pointer-events: none;
}
main[data-world="jungle-module"] :is(.rental-rates, .wetdry) legend { text-shadow: 0 1px 8px rgb(255 255 255 / 0.95); }
main[data-world="jungle-module"] .bm-hero__copy .phero__line { text-shadow: 0 1px 10px rgb(255 255 255 / 0.95); }

/* Plaque arrow sits inline after the label; the longer hero label goes without. */
main[data-world="jungle-module"] .bm-plaque-btn__arrow {
  position: static;
  width: 16px;
  margin-left: 10px;
  translate: none;
}
main[data-world="jungle-module"] .bm-plaque-btn { display: flex; align-items: center; justify-content: center; }
main[data-world="jungle-module"] .bm-plaque-btn--hero .bm-plaque-btn__arrow { display: none; }
main[data-world="jungle-module"] .bm-plaque-btn--hero .bm-plaque-btn__label { letter-spacing: 0.04em; }

/* Related: the shared carousel wraps the cards (carousel.js); keep them
   floating with their caption below, centred. */
main[data-world="jungle-module"] .bm-related .carousel-shell { width: min(100%, 1160px); margin-inline: auto; }
main[data-world="jungle-module"] .bm-related .carousel-shell .card { aspect-ratio: auto !important; overflow: visible !important; border-radius: 0 !important; }
main[data-world="jungle-module"] .bm-related .carousel-shell .card__media { height: auto; aspect-ratio: 1; }
main[data-world="jungle-module"] .bm-related .carousel-card__caption {
  position: static;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 14px 0 0;
  background: none;
  pointer-events: auto;
  text-align: center;
}
main[data-world="jungle-module"] .bm-related .carousel-card__caption .card__name { font-size: 21px !important; }
main[data-world="jungle-module"] .bm-related .card__name a { display: inline-flex; align-items: center; min-height: 44px; }
main[data-world="jungle-module"] .bm-related .carousel-shell .carousel-card__caption .card__price { font-size: 16px !important; color: var(--bm-gold) !important; }

/* Shared carousel controls (concessions and related on phones): 44px, gold. */
main[data-world="jungle-module"] :is(.bm-treats, .bm-related) .carousel-arrow {
  width: 44px !important;
  height: 44px !important;
  color: var(--bm-gold) !important;
  font-size: 28px !important;
}
main[data-world="jungle-module"] :is(.bm-treats, .bm-related) .carousel-dot { width: 44px !important; height: 44px !important; color: var(--bm-gold) !important; }
main[data-world="jungle-module"] :is(.bm-treats, .bm-related) .carousel-shell { grid-template-columns: 44px minmax(0, 1fr) 44px; }
main[data-world="jungle-module"] :is(.bm-treats, .bm-related) .carousel-position { font-family: var(--bm-serif); color: var(--bm-ivory); }

/* Carousel dots: a 44px target around a small gold mark. */
main[data-world="jungle-module"] .bm-gallery .mbm-car__dots { gap: 0; bottom: 4px; }
main[data-world="jungle-module"] .bm-gallery .mbm-car__dot { width: 44px; height: 44px; }

/* Narrow attendant panel: the total drops under the stepper. */
@container (max-width: 400px) {
  main[data-world="jungle-module"] .bm-stepper { flex-wrap: wrap !important; row-gap: 2px !important; }
  main[data-world="jungle-module"] .bm-stepper output { width: 100%; }
  main[data-world="jungle-module"] .bm-crew__safe { gap: 1.2cqi; }
}
/* Desktop related row fits its track exactly (no sideways scroll). */
@media (min-width: 768px) {
  main[data-world="jungle-module"] .bm-related .related__grid { gap: 36px; overflow: visible; }
  main[data-world="jungle-module"] .bm-related .card { flex: 0 1 calc((100% - 72px) / 3); max-width: 320px; min-width: 0; }
}
main[data-world="jungle-module"] .bm-related .card__stage { position: relative !important; inset: auto !important; left: 0 !important; width: 100% !important; height: 100% !important; margin: 0 !important; }
main[data-world="jungle-module"] .bm-related .carousel-shell .card__media { aspect-ratio: auto; }
main[data-world="jungle-module"] .bm-related .card__stage { height: auto !important; padding-bottom: 14px; }
main[data-world="jungle-module"] .bm-related .card__cutout { height: auto; aspect-ratio: 1; }
main[data-world="jungle-module"] .bm-related .card__price {
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
  box-shadow: none !important;
  font-family: var(--bm-serif) !important;
}
main[data-world="jungle-module"] .bm-related .card__cta { align-self: center !important; margin-inline: auto !important; }
main[data-world="jungle-module"] :is(.bm-treats, .bm-related) .carousel-arrow {
  display: grid !important;
  place-items: center;
  border: 1.5px solid var(--bm-gold) !important;
  border-radius: 50% !important;
  background: rgb(255 255 255 / 0.7) !important;
  box-shadow: none !important;
  font-family: var(--bm-sans) !important;
  line-height: 1 !important;
}
main[data-world="jungle-module"] :is(.bm-treats, .bm-related) .carousel-arrow:disabled { opacity: 0 !important; pointer-events: none; }
main[data-world="jungle-module"] :is(.bm-treats, .bm-related) .carousel-arrow:focus-visible { outline: 2px solid var(--bm-ivory) !important; outline-offset: 2px !important; filter: none !important; }
main[data-world="jungle-module"] .bm-treats .addon-add { align-self: center !important; justify-self: center !important; }
/* Phones: popup lettering stays clear of the close button. */
@media (max-width: 767px) {
  dialog.bm-dialog .bm-dialog__title,
  dialog.bm-dialog--dims .bm-dialog__title { width: 38cqi; }
}

/* ---------- Review fixes (v1.10.41, round 2) ------------------------------ */
/* 4. Carousel on jungle scenery (26 desktop, 2 mobile in its sky crop). */
main[data-world="jungle-module"] .bm-gallery {
  isolation: isolate;
  padding: 120px clamp(16px, 4vw, 64px) 130px;
  background: none;
}
main[data-world="jungle-module"] .bm-gallery__scenery img { object-position: 50% 88%; }
main[data-world="jungle-module"] .bm-gallery__stage {
  border: 1px solid #9C3B0B;
  background: rgb(255 255 255 / 0.55);
  box-shadow: 0 0 0 1px rgb(40 34 12 / 0.6), 0 34px 70px -30px rgb(0 0 0 / 0.9), 0 0 40px rgb(156 59 11 / 0.12);
}
main[data-world="jungle-module"] .bm-gallery__stage::before { border-color: rgb(156 59 11 / 0.38); }
/* Arrows match the diagram "+": painted navy disc, antique-gold ring. */
main[data-world="jungle-module"] .bm-gallery .mbm-car__arw {
  background: var(--bm-navy);
  box-shadow: 0 2px 6px rgb(40 34 12 / 0.55);
}
/* Dots: gold marks on a translucent navy base. */
main[data-world="jungle-module"] .bm-gallery .mbm-car__dots {
  padding: 0 8px !important;
  border: 1px solid rgb(156 59 11 / 0.4) !important;
  border-radius: 999px !important;
  background: rgb(255 255 255 / 0.62) !important;
  box-shadow: 0 4px 14px rgb(0 0 0 / 0.45) !important;
}
main[data-world="jungle-module"] .bm-gallery .mbm-car__dot::before { background: rgb(156 59 11 / 0.45); box-shadow: none; }
main[data-world="jungle-module"] .bm-gallery .mbm-car__dot.on::before { background: var(--bm-gold); }

/* 7. Related: cut-outs float on the scenery, no card box. */
main[data-world="jungle-module"] .bm-related .card__cutout { filter: none; }

@media (max-width: 767px) {
  main[data-world="jungle-module"] .bm-gallery { padding: 100px 12px 110px; }
  main[data-world="jungle-module"] .bm-gallery__scenery img { object-position: 50% 12%; }

  /* Concessions and related on phones: the shared swipe, with the next item
     peeking in, gold arrows over the edges and gold dots beneath. */
  main[data-world="jungle-module"] :is(.bm-treats, .bm-related) .carousel-shell { display: block !important; position: relative; }
  main[data-world="jungle-module"] :is(.bm-treats, .bm-related) .carousel-shell > [data-carousel-track] {
    display: flex !important;
    gap: 14px !important;
    padding-inline: 11% !important;
    scroll-padding-inline: 11%;
    scroll-snap-type: x mandatory;
  }
  main[data-world="jungle-module"] .bm-treats .carousel-shell .treat,
  main[data-world="jungle-module"] .bm-related .carousel-shell .card { flex: 0 0 78% !important; max-width: none; scroll-snap-align: center; }
  main[data-world="jungle-module"] :is(.bm-treats, .bm-related) .carousel-shell > .carousel-arrow {
    display: grid !important;
    position: absolute;
    top: 30%;
    z-index: 3;
    background: var(--bm-navy) !important;
    box-shadow: 0 2px 6px rgb(40 34 12 / 0.55) !important;
  }
  main[data-world="jungle-module"] :is(.bm-treats, .bm-related) .carousel-shell > .carousel-arrow:first-child { left: 2px; }
  main[data-world="jungle-module"] :is(.bm-treats, .bm-related) .carousel-shell > .carousel-arrow[data-direction="1"] { right: 2px; }
  main[data-world="jungle-module"] :is(.bm-treats, .bm-related) .carousel-shell > .carousel-dots {
    display: flex !important;
    justify-content: center;
    width: max-content;
    margin: 16px auto 0;
    padding: 0 8px;
    border: 1px solid rgb(156 59 11 / 0.4);
    border-radius: 999px;
    background: rgb(255 255 255 / 0.62);
  }
  main[data-world="jungle-module"] :is(.bm-treats, .bm-related) .carousel-dot::before { background: var(--bm-gold) !important; }
  main[data-world="jungle-module"] .bm-treats .carousel-controls--mobile { display: none !important; }
}
main[data-world="jungle-module"] :is(.bm-treats, .bm-related) .carousel-dots:has(> :only-child) { display: none !important; }

/* ---------- Sabrina edits (v1.10.41, round 3) ---------------------------- */

/* 2. Ornament 40, stretched to the full screen width (asset scaled
   horizontally only to 2560px). Height: 196-237px desktop, 80-110px phone. */
main[data-world="jungle-module"],
main[data-world="jungle-module"] .bm-details {
  --orn-h: clamp(196px, 7.4vw + 93px, 237px);
}
main[data-world="jungle-module"] .bm-ornament {
  left: 0;
  width: 100%;
  height: var(--orn-h);
  object-fit: fill;
}
main[data-world="jungle-module"] .bm-ornament--top { transform: translateY(-40%); }
main[data-world="jungle-module"] .bm-ornament--bottom { transform: translateY(40%); }

/* 1. Hero: the title lettering is the product title, large; everything
   beneath it sits in one navy card with an antique-gold rule. */
main[data-world="jungle-module"] .bm-hero { min-height: 0; padding-top: 92px; }
main[data-world="jungle-module"] .bm-hero__stage {
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  grid-template-areas: "title title" "product card";
  row-gap: 4px;
}
main[data-world="jungle-module"] .bm-hero__title {
  grid-area: title;
  justify-self: center;
  width: min(62vw, 1000px);
  filter: drop-shadow(0 6px 22px rgb(40 34 12 / 0.7));
}
main[data-world="jungle-module"] .bm-hero__product { grid-area: product; align-self: center; }
main[data-world="jungle-module"] .bm-hero__card {
  grid-area: card;
  justify-self: center;
  align-self: center;
  width: min(100%, 540px);
  padding: 28px 30px 30px;
  gap: 14px;
  border: 1px solid rgb(156 59 11 / 0.75);
  background: linear-gradient(180deg, rgb(255 255 255 / 0.74), rgb(255 255 255 / 0.92));
  box-shadow: 0 30px 60px -28px rgb(0 0 0 / 0.85), 0 0 36px rgb(156 59 11 / 0.1);
}
main[data-world="jungle-module"] .bm-hero__card::before {
  inset: 4px;
  z-index: 0;
  border: 1px solid rgb(156 59 11 / 0.22);
  background: none;
}
main[data-world="jungle-module"] .bm-hero__card > * { position: relative; z-index: 1; }
main[data-world="jungle-module"] .bm-hero__card .bm-hero__tagline { width: min(84%, 340px); }
main[data-world="jungle-module"] .bm-hero__card .bm-hero__booking { width: 100%; margin-top: 2px; }

/* 3. Attendant + water: larger cards (together ~88% of the content width),
   the attendant character beside the controls. */
main[data-world="jungle-module"] .bm-crew__panels { width: min(88%, 1400px); margin-inline: auto; gap: 48px; }
main[data-world="jungle-module"] .bm-crew__panel { flex: 1 1 0; width: auto; max-width: none; }
/* Classic (water: false): the attendant panel sits alone, centred, at the
   same card size as the paired version (Sabrina, 2026-09-28). */
main[data-tier="classic"] .bm-crew__panel--solo { flex: 0 1 calc(50% - 24px); margin-inline: auto; }
main[data-world="jungle-module"] .bm-crew__heading { font-size: clamp(21px, 5.9cqi, 30px) !important; }
main[data-world="jungle-module"] .bm-crew__safe > p,
main[data-world="jungle-module"] .bm-crew__intro > p { margin: 0 auto; max-width: 32ch; font-size: clamp(15px, 3.7cqi, 18px); line-height: 1.45; color: var(--bm-ivory); }
main[data-world="jungle-module"] .bm-crew__intro > p.attendant__note { font-size: clamp(13px, 3cqi, 15px); color: var(--bm-ivory-dim); }
main[data-world="jungle-module"] .bm-crew__intro { display: flex; flex-direction: column; align-items: center; gap: 1.6cqi; }
main[data-world="jungle-module"] .bm-crew__hire {
  display: grid;
  grid-template-columns: 36% minmax(0, 1fr);
  align-items: center;
  gap: 3cqi;
  width: 100%;
}
main[data-world="jungle-module"] .bm-crew__character {
  display: block;
  width: 100%;
  height: auto;
  max-height: 44cqi;
  object-fit: contain;
  filter: drop-shadow(0 10px 14px rgb(0 0 0 / 0.5));
}
main[data-world="jungle-module"] .bm-crew__controls { display: flex; flex-direction: column; align-items: center; gap: 2cqi; text-align: center; }
main[data-world="jungle-module"] .bm-crew .attendant__rate strong { font-size: clamp(28px, 8cqi, 38px); }
main[data-world="jungle-module"] .bm-crew__controls .bm-stepper { flex-wrap: wrap !important; row-gap: 4px !important; }
main[data-world="jungle-module"] .bm-crew__controls .bm-stepper output { width: 100%; }
main[data-world="jungle-module"] .bm-water__img { width: 52%; }
main[data-world="jungle-module"] .bm-crew__panel--water .bm-crew__heading { max-width: 16ch; }
@media (min-width: 768px) and (max-width: 1099px) {
  main[data-world="jungle-module"] .bm-crew__panels { flex-direction: column; align-items: center; }
  main[data-world="jungle-module"] .bm-crew__panel { flex: none; width: min(88vw, 600px); }
}

/* 4. Carousel at 95% of the viewport width, same frame and slide ratio. */
main[data-world="jungle-module"] .bm-gallery { padding-inline: 2.5vw; }
main[data-world="jungle-module"] .bm-gallery__stage { width: 100%; max-width: none; }

/* 4b. Trail map and details: the product cut-out stands on the wet floor; the
   words and Book Now gather beneath it over the floor. */
main[data-world="jungle-module"] .bm-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  min-height: clamp(780px, 64vw, 1100px);
  padding: 130px 20px 110px;
}
main[data-world="jungle-module"] .bm-cta__scenery img { object-position: 50% 55%; }
main[data-world="jungle-module"] .bm-cta__product { position: relative; width: min(56vw, 860px); }
main[data-world="jungle-module"] .bm-cta__img { position: relative; z-index: 1; display: block; width: 100%; height: auto; }
main[data-world="jungle-module"] .bm-cta__shadow {
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: -1%;
  height: 9%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgb(0 0 0 / 0.72), rgb(0 0 0 / 0.3) 58%, transparent);
}
main[data-world="jungle-module"] .bm-cta__inner { margin-top: 6px; gap: 12px; }
main[data-world="jungle-module"] .bm-cta__title { width: min(88%, 500px); }

@media (max-width: 767px) {
  main[data-world="jungle-module"],
  main[data-world="jungle-module"] .bm-details {
    --orn-h: clamp(80px, 22vw + 14px, 110px);
  }
  /* Hero: product on the scene, then the title as large as fits, then the card. */
  main[data-world="jungle-module"] .bm-hero__stage { display: grid; grid-template-columns: 1fr; grid-template-areas: "product" "title" "card"; row-gap: 10px; }
  main[data-world="jungle-module"] .bm-hero__title { width: calc(100vw - 20px); }
  main[data-world="jungle-module"] .bm-hero__card { width: 100%; padding: 24px 16px 26px; margin-top: 4px; }

  /* Attendant + water: full width minus the gutter. On a phone the portrait
     frame cannot hold the character and the controls at a readable size, so
     both cards take the navy panel with the antique-gold rule. */
  main[data-world="jungle-module"] .bm-crew { padding-inline: 12px; }
  main[data-world="jungle-module"] .bm-crew__panels { width: 100%; }
  main[data-world="jungle-module"] .bm-crew__panel {
    width: 100%;
    aspect-ratio: auto;
    border: 1px solid rgb(156 59 11 / 0.75);
    background: linear-gradient(180deg, rgb(255 255 255 / 0.76), rgb(255 255 255 / 0.93));
    box-shadow: 0 24px 50px -24px rgb(0 0 0 / 0.85);
  }
  main[data-world="jungle-module"] .bm-crew__panel::before {
    content: '';
    position: absolute;
    inset: 4px;
    border: 1px solid rgb(156 59 11 / 0.22);
    pointer-events: none;
  }
  main[data-world="jungle-module"] .bm-crew__frame { display: none; }
  main[data-world="jungle-module"] .bm-crew__safe { position: relative; inset: auto; padding: 30px 18px 32px; gap: 16px; }
  main[data-world="jungle-module"] .bm-crew__hire { grid-template-columns: 1fr; justify-items: center; gap: 14px; }
  main[data-world="jungle-module"] .bm-crew__character { width: 132px; max-height: none; }
  main[data-world="jungle-module"] .bm-water__img { width: 48%; }

  main[data-world="jungle-module"] .bm-gallery { padding-inline: 12px; }

  main[data-world="jungle-module"] .bm-cta { min-height: 0; padding: 96px 12px 88px; }
  main[data-world="jungle-module"] .bm-cta__product { width: 94vw; }
  main[data-world="jungle-module"] .bm-cta__scenery img { object-position: 50% 62%; }
}

/* 6. Water card: the slide illustration (42) is the dominant element,
   about 65% of the card's inner height on desktop, natural ratio. */
main[data-world="jungle-module"] .bm-crew__panel--water .bm-crew__safe { gap: 2.2cqi; }
main[data-world="jungle-module"] .bm-crew__panel--water .bm-crew__heading { max-width: none; font-size: clamp(20px, 4.6cqi, 26px) !important; }
main[data-world="jungle-module"] .bm-crew__panel--water .bm-water__img {
  width: 65%;
  height: auto;
  margin-block: 0;
  object-fit: contain;
}
@media (max-width: 767px) {
  main[data-world="jungle-module"] .bm-crew__panel--water .bm-water__img { width: 92%; }
}

/* Round 3 finish: the switch label stays on one line beside its toggle; on
   phones the image-section product stands on the wet floor. */
main[data-world="jungle-module"] .bm-crew__controls .bm-switch__text { white-space: nowrap; font-size: clamp(14px, 3.1cqi, 16px); }
main[data-world="jungle-module"] .bm-crew__controls .bm-switch { gap: 10px; }
@media (max-width: 767px) {
  main[data-world="jungle-module"] .bm-cta { padding-top: 190px; }
}

/* ---------- Sabrina edits (v1.10.41, round 4) ---------------------------- */

/* 4. Hero card: the main features, Passion One small caps in hero red,
   separated by small gold diamonds. Two clean lines on phones. */
main[data-world="jungle-module"] .bm-hero__features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 4px 0;
  margin: 2px 0 0;
  padding: 0;
  list-style: none;
  font-family: var(--bm-serif);
  font-size: 16px;
  font-weight: 600;
  font-variant: small-caps;
  letter-spacing: 0.04em;
  color: var(--bm-gold);
  line-height: 1.3;
}
main[data-world="jungle-module"] .bm-hero__features li { display: inline-flex; align-items: center; white-space: nowrap; }
main[data-world="jungle-module"] .bm-hero__features li + li::before {
  content: '';
  width: 5px;
  height: 5px;
  margin: 0 12px;
  background: var(--bm-gold);
  transform: rotate(45deg);
}
main[data-world="jungle-module"] .bm-hero__features .bm-hero__features-break { display: none; }
main[data-world="jungle-module"] .bm-hero__features .bm-hero__features-break + li::before { content: ''; }

/* 3. Details: the lettering heads the section above the panel and the HQ
   card; the Mission rows are smaller plaques with live Passion One labels. */
main[data-world="jungle-module"] .bm-details__heading {
  position: relative;
  z-index: 2;
  width: min(84%, 640px);
  margin: 0 auto clamp(16px, 2.2vw, 34px);
  line-height: 0;
}
main[data-world="jungle-module"] .bm-panel__safe { grid-template-columns: minmax(0, 1fr) 32cqi; column-gap: 3cqi; }
main[data-world="jungle-module"] .bm-panel__story { justify-content: center; }
main[data-world="jungle-module"] .bm-details__description { margin-top: 0; font-size: 1.9cqi; line-height: 1.55; max-width: 52ch; }
main[data-world="jungle-module"] .bm-missions { gap: 0.6cqi; align-content: center; }
main[data-world="jungle-module"] .bm-mission__face { gap: 4%; inset: 30% 10% 30.5%; }
main[data-world="jungle-module"] .bm-mission__label {
  font-family: var(--bm-serif) !important;
  font-size: clamp(13px, 1.6cqi, 17px);
  font-weight: 700;
  letter-spacing: 0.04em !important;
  line-height: 1;
  color: #9C3B0B;
  text-align: center;
  white-space: nowrap;
  text-shadow: 0 1px 8px rgb(156 59 11 / 0.3);
}
main[data-world="jungle-module"] .bm-mission__plus { height: 42%; }
@media (hover: hover) and (pointer: fine) {
  main[data-world="jungle-module"] .bm-mission:hover .bm-mission__label { color: #9C3B0B; }
}

/* 1 + 2. Attendant and water: a matched pair. Each card: the image zone at
   the top (same height), then the heading, then the text and controls. */
main[data-world="jungle-module"] .bm-crew__safe { inset: 19.5cqi 16.5cqi 21cqi; justify-content: flex-start; gap: 1.5cqi; }
main[data-world="jungle-module"] .bm-crew__media {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 100%;
  height: 47cqi;
  flex: none;
}
main[data-world="jungle-module"] .bm-crew__media img {
  display: block;
  width: auto;
  height: 100%;
  max-width: 100%;
  max-height: none;
  object-fit: contain;
}
main[data-world="jungle-module"] .bm-crew__panel--water .bm-water__img { width: auto; height: 100%; }
main[data-world="jungle-module"] .bm-crew__heading { margin-top: 1cqi; font-size: clamp(20px, 4.9cqi, 28px) !important; }
main[data-world="jungle-module"] .bm-crew__panel--water .bm-crew__heading { font-size: clamp(20px, 4.9cqi, 28px) !important; }
main[data-world="jungle-module"] .bm-crew__text { margin: 0 auto; max-width: 34ch; font-size: clamp(15px, 3.1cqi, 17px); line-height: 1.45; color: var(--bm-ivory); }
main[data-world="jungle-module"] .bm-crew__controls { display: flex; flex-direction: column; align-items: center; gap: 1.2cqi; }
main[data-world="jungle-module"] .bm-crew__row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px 16px; }
main[data-world="jungle-module"] .bm-crew__row .attendant__rate { margin: 0; }
main[data-world="jungle-module"] .bm-crew__controls .bm-stepper { flex-wrap: nowrap !important; }
main[data-world="jungle-module"] .bm-crew__controls .bm-stepper output { width: auto; }

@media (max-width: 767px) {
  main[data-world="jungle-module"] .bm-hero__features { font-size: 15px; }
  main[data-world="jungle-module"] .bm-hero__features .bm-hero__features-break { display: block; flex-basis: 100%; height: 0; }
  main[data-world="jungle-module"] .bm-details__heading { width: min(100%, 380px); margin-bottom: 18px; }
  main[data-world="jungle-module"] .bm-panel__safe { display: flex; }
  main[data-world="jungle-module"] .bm-details__description { font-size: 17px; }
  main[data-world="jungle-module"] .bm-missions { width: min(100%, 330px); gap: 2px; }
  main[data-world="jungle-module"] .bm-mission__label { font-size: 15px; }
  main[data-world="jungle-module"] .bm-crew__safe { inset: auto; gap: 12px; }
  main[data-world="jungle-module"] .bm-crew__media { height: 300px; }
  main[data-world="jungle-module"] .bm-crew__panel--water .bm-crew__media img,
  main[data-world="jungle-module"] .bm-crew__media img { width: auto; height: 100%; max-width: 100%; }
  main[data-world="jungle-module"] .bm-crew__controls .bm-stepper { flex-wrap: wrap !important; }
  main[data-world="jungle-module"] .bm-crew__controls .bm-stepper output { width: 100%; }
}

/* 5. Hero card frame: asset 41 as a sliced overlay around the card. The
   overlay is absolutely positioned, so the card's box, position and
   content do not change. Its rails sit on the card's own padding (never
   over content) and reach outward; transparent parts show the scenery.
   Source 1448x1086: corners 300x300, crest 220 wide (x 614-834), rails
   stretch between them; rail inner edges x 130 / y 205 / y 895. */
main[data-world="jungle-module"] .bm-hero__card { border-color: transparent; }
main[data-world="jungle-module"] .bm-hero__card::before { content: none; }
main[data-world="jungle-module"] .bm-hero__title { position: relative; z-index: 3; }
main[data-world="jungle-module"] .bm-hero__card > .bm-hero__frame {
  --s: 0.22;
  --it: 24px;
  --is: 26px;
  --ib: 26px;
  position: absolute;
  z-index: 2;
  top: calc(var(--it) - 205px * var(--s));
  left: calc(var(--is) - 130px * var(--s));
  right: calc(var(--is) - 130px * var(--s));
  bottom: calc(var(--ib) - 191px * var(--s));
  display: grid;
  grid-template-columns: calc(300px * var(--s)) minmax(0, 1fr) calc(220px * var(--s)) minmax(0, 1fr) calc(300px * var(--s));
  grid-template-rows: calc(300px * var(--s)) minmax(0, 1fr) calc(300px * var(--s));
  grid-template-areas:
    "tl t1 tc t2 tr"
    "l  .  .  .  r"
    "bl b1 bc b2 br";
  pointer-events: none;
}
main[data-world="jungle-module"] .bm-hero__frame > span {
  display: block;
  background-image: url('../../assets/bundled/product-worlds/jungle-module/frame-card.webp');
  background-repeat: no-repeat;
}
main[data-world="jungle-module"] .bm-hero__frame-tl { grid-area: tl; background-size: 482.667% 362%; background-position: 0% 0%; }
main[data-world="jungle-module"] .bm-hero__frame-t1 { grid-area: t1; background-size: 461.146% 362%; background-position: 26.455% 0%; }
main[data-world="jungle-module"] .bm-hero__frame-tc { grid-area: tc; background-size: 658.182% 362%; background-position: 50% 0%; }
main[data-world="jungle-module"] .bm-hero__frame-t2 { grid-area: t2; background-size: 461.146% 362%; background-position: 73.545% 0%; }
main[data-world="jungle-module"] .bm-hero__frame-tr { grid-area: tr; background-size: 482.667% 362%; background-position: 100% 0%; }
main[data-world="jungle-module"] .bm-hero__frame-l { grid-area: l; background-size: 482.667% 223.457%; background-position: 0% 50%; }
main[data-world="jungle-module"] .bm-hero__frame-r { grid-area: r; background-size: 482.667% 223.457%; background-position: 100% 50%; }
main[data-world="jungle-module"] .bm-hero__frame-bl { grid-area: bl; background-size: 482.667% 362%; background-position: 0% 100%; }
main[data-world="jungle-module"] .bm-hero__frame-b1 { grid-area: b1; background-size: 461.146% 362%; background-position: 26.455% 100%; }
main[data-world="jungle-module"] .bm-hero__frame-bc { grid-area: bc; background-size: 658.182% 362%; background-position: 50% 100%; }
main[data-world="jungle-module"] .bm-hero__frame-b2 { grid-area: b2; background-size: 461.146% 362%; background-position: 73.545% 100%; }
main[data-world="jungle-module"] .bm-hero__frame-br { grid-area: br; background-size: 482.667% 362%; background-position: 100% 100%; }
@media (max-width: 767px) {
  main[data-world="jungle-module"] .bm-hero__card > .bm-hero__frame { --s: 0.17; --it: 20px; --is: 16px; --ib: 22px; }
}
@media (max-width: 767px) {
  main[data-world="jungle-module"] .bm-hero__features .bm-hero__features-break + li::before { display: none; }
  main[data-world="jungle-module"] .bm-missions { width: min(100%, 300px); }
}

/* ---------- Round 5 (Sabrina, 2026-09-28) -------------------------------- */
/* Details heading: lettering 28 "Trail map and details", where lettering 17 was. */
main[data-world="jungle-module"] .bm-details__heading { width: min(84%, 640px); }

/* Concessions: "Trading post treats.", larger and easier to read; one
   line on desktop, at most two on phones. Everything on the section's
   centre line. */
main[data-world="jungle-module"] .bm-treats #treats-title {
  font-family: var(--bm-serif) !important;
  font-weight: 700 !important;
  line-height: 1.08 !important;
  letter-spacing: 0.02em !important;
  color: var(--bm-gold);
  text-shadow: 0 2px 4px rgb(255 255 255 / 0.9), 0 4px 22px rgb(255 255 255 / 0.85);
  white-space: nowrap;
}
main[data-world="jungle-module"] .bm-treats .treats__inner { width: 100%; max-width: 1120px; margin-inline: auto; }
main[data-world="jungle-module"] .bm-treats .treats__head { width: 100%; margin: 0 auto 34px; text-align: center; }
main[data-world="jungle-module"] .bm-treats .treats__grid { margin-inline: auto; }
@media (max-width: 767px) {
  main[data-world="jungle-module"] :is(#treats-title, #related-title) { width: min(84%, 320px); }
  main[data-world="jungle-module"] .bm-treats #treats-title { white-space: normal; text-wrap: balance; }
  main[data-world="jungle-module"] .bm-treats .treats__head { margin-bottom: 22px; }
}
@media (max-width: 767px) {
  /* Phone swipe rows start centred: first card on the centre line, the next peeking. */
  main[data-world="jungle-module"] :is(.bm-treats, .bm-related) .carousel-shell > [data-carousel-track] {
    justify-content: flex-start !important;
    padding-inline: calc((100% - 76vw) / 2) !important;
    scroll-padding-inline: calc((100% - 76vw) / 2);
  }
  main[data-world="jungle-module"] .bm-treats .carousel-shell .treat,
  main[data-world="jungle-module"] .bm-related .carousel-shell .card { flex: 0 0 76vw !important; }
}
/* Hero card: lettering 20 in the slot lettering 14 had. The slot keeps the
   old footprint (920:281 at the same width) so the card and its frame keep
   their size; the lettering sits centred in it. */
main[data-world="jungle-module"] .bm-hero__card .bm-hero__tagline { aspect-ratio: 920 / 281; display: flex; align-items: center; justify-content: center; }
main[data-world="jungle-module"] .bm-hero__card .bm-hero__tagline img { width: 100%; height: auto; }

/* ---------- Round 6 (Sabrina, 2026-09-28) -------------------------------- */
/* 1. Hero card labels: clear Baloo 2 labels, distinct from the Passion One. */
main[data-world="jungle-module"] .bm-hero__card :is(.rental-rates, .wetdry) legend {
  font-family: var(--bm-sans) !important;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--bm-ivory);
  margin-bottom: 10px;
}
/* 2. Hero water: one centred "Add water" switch; off = dry. */
main[data-world="jungle-module"] .bm-hero__water { flex-direction: column; align-items: center; gap: 4px; }
main[data-world="jungle-module"] .bm-hero__water .bm-switch { margin-inline: auto; }
main[data-world="jungle-module"] .bm-hero__water .wetdry__note { display: none; }
main[data-world="jungle-module"] .bm-hero__water:has([data-bm-water]:checked) .wetdry__note { display: block; }

/* 3. Check your HQ: lettering at the top of the safe area, measurements
   smaller at its bottom, and the diagram larger between them. The diagram
   canvas carries clear margins (its art spans x 7.3-88.9%), so the image
   is widened until the art itself fills the safe width, fully visible. */
main[data-world="jungle-module"] .bm-hq__safe {
  inset: 19.5cqi 15cqi 20.5cqi;
  justify-content: space-between;
  gap: 1cqi;
}
main[data-world="jungle-module"] .bm-lettering--hq { width: 54cqi; margin: 0; }
main[data-world="jungle-module"] .bm-hq__open { width: 122.5%; margin: 0 auto 0 -8.94%; }
main[data-world="jungle-module"] .bm-dims--card { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 1.2cqi; }
main[data-world="jungle-module"] .bm-dims--card dt { font-size: max(10px, 2.1cqi); letter-spacing: 0.04em !important; }
main[data-world="jungle-module"] .bm-dims--card dd { font-size: max(13px, 3.3cqi); }
@container (max-width: 470px) {
  main[data-world="jungle-module"] .bm-dims--card { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 0; }
  main[data-world="jungle-module"] .bm-lettering--hq { width: 54cqi; margin: 0; }
  main[data-world="jungle-module"] .bm-hq__open { width: 122.5%; }
}

/* 4. Water card: a larger slide and one explanation line; the attendant
   card keeps the same image-zone height, so the pair still matches. */
main[data-world="jungle-module"] .bm-crew__media { height: 50cqi; }
main[data-world="jungle-module"] .bm-crew__panel--water .bm-crew__text { margin-top: -0.4cqi; }
@media (max-width: 767px) {
  main[data-world="jungle-module"] .bm-hero__card :is(.rental-rates, .wetdry) legend { font-size: 15px; }
  main[data-world="jungle-module"] .bm-crew__media { height: 330px; }
}

/* 5. Related: readable names and prices over the lit floor, same style. */
main[data-world="jungle-module"] .bm-related .carousel-card__caption { position: relative; isolation: isolate; }
main[data-world="jungle-module"] .bm-related .carousel-card__caption::before {
  content: '';
  position: absolute;
  inset: -18px -34px -10px;
  z-index: -1;
  background: radial-gradient(closest-side, rgb(255 255 255 / 0.86), rgb(255 255 255 / 0.62) 55%, rgb(255 255 255 / 0));
  pointer-events: none;
}
main[data-world="jungle-module"] .bm-related .carousel-card__caption .card__name { font-size: 22px !important; font-weight: 700 !important; }
main[data-world="jungle-module"] .bm-related .card__name a { text-shadow: 0 1px 2px rgb(255 255 255 / 0.9), 0 2px 12px rgb(255 255 255 / 0.8); }
main[data-world="jungle-module"] .bm-related .carousel-shell .carousel-card__caption .card__price {
  font-size: 18px !important;
  font-weight: 600 !important;
  text-shadow: 0 1px 2px rgb(255 255 255 / 0.9), 0 2px 10px rgb(255 255 255 / 0.8);
}
@media (max-width: 767px) {
  main[data-world="jungle-module"] .bm-related .carousel-card__caption .card__name { font-size: 20px !important; }
}
main[data-world="jungle-module"] .bm-crew__safe { gap: 1.1cqi; }
@media (max-width: 767px) { main[data-world="jungle-module"] .bm-crew__safe { gap: 12px; } }
main[data-world="jungle-module"] .bm-related .carousel-card__caption::before {
  inset: -24px -52px -16px;
  background: radial-gradient(closest-side, rgb(255 255 255 / 0.94), rgb(255 255 255 / 0.84) 50%, rgb(255 255 255 / 0.45) 78%, rgb(255 255 255 / 0));
}

/* Round 6, phones only (under 768px): hero title first, then the product
   on the scene, then the card. Root cause of the off-centre card: the single
   grid column took the title's 100vw-20px width, wider than the stage, so the
   card inherited it and overflowed right. The column is now minmax(0, 1fr)
   and the title overflows it evenly on both sides, so the card and its frame
   sit exactly on the centre line. */
@media (max-width: 767px) {
  main[data-world="jungle-module"] .bm-hero__stage { grid-template-columns: minmax(0, 1fr); grid-template-areas: "title" "product" "card"; }
  main[data-world="jungle-module"] .bm-hero__title { justify-self: center; margin-top: 6px; }
  main[data-world="jungle-module"] .bm-hero__product { margin: 4px auto 0; }
  main[data-world="jungle-module"] .bm-hero__card { width: 100%; justify-self: center; }
  main[data-world="jungle-module"] .bm-hero__card > .bm-hero__frame { --s: 0.2; --it: 20px; --is: 12px; --ib: 22px; }
}

/* ---------- Round 7 (Sabrina, 2026-09-28) -------------------------------- */
/* Title lettering raised: less space above it on desktop and phones. The
   chrome (menu, Book Now) sits in the corners, clear of the centred title. */
main[data-world="jungle-module"] .bm-hero { padding-top: 48px; }
@media (max-width: 767px) {
  main[data-world="jungle-module"] .bm-hero { padding-top: 62px; }
}

/* -------------------------------------------------------------------------
   Ultimate-only dimensions carousel (Sabrina, 2026-09-28): swaps the single
   diagram for dims-1/2/3 inside the same card frame and the same dialog box.
   Inert on Classic and Deluxe (those tiers never render this markup).
   ---------------------------------------------------------------------- */
.bm-dims-carousel { position: relative; width: 100%; touch-action: pan-y; }
.bm-dims-carousel__track { position: relative; width: 100%; }
.bm-dims-carousel__slide {
  display: block;
  width: 100%;
  height: auto;
  grid-area: 1 / 1;
  transition: opacity 220ms var(--bm-ease), transform 220ms var(--bm-ease);
}
.bm-dims-carousel__track { display: grid; }
.bm-dims-carousel__slide[hidden] { display: none; }
.bm-dims-carousel__slide.is-leaving { opacity: 0; transform: translateX(-4%); }
.bm-dims-carousel__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1.5px solid var(--bm-gold);
  border-radius: 50%;
  background: var(--bm-navy);
  box-shadow: 0 2px 6px rgb(40 34 12 / 0.55);
  color: var(--bm-gold);
}
.bm-dims-carousel__arrow svg { width: 40%; height: 40%; stroke: currentColor; stroke-width: 2.2; fill: none; }
.bm-dims-carousel__arrow--prev { left: 4px; }
.bm-dims-carousel__arrow--next { right: 4px; }
.bm-dims-carousel__arrow:active { transform: translateY(-50%) scale(0.95); }
.bm-dims-carousel__dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}
.bm-dims-carousel__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 1.5px solid var(--bm-gold);
  border-radius: 50%;
  background: transparent;
}
.bm-dims-carousel__dot.is-active { background: var(--bm-gold); }
@media (hover: hover) and (pointer: fine) {
  .bm-dims-carousel__arrow:hover { background: rgb(156 59 11 / 0.14); }
}
@media (prefers-reduced-motion: reduce) {
  .bm-dims-carousel__slide { transition: none; }
}

/* The card carousel sits in the same box the single diagram used; the zoom
   button (was the whole-card hint icon) opens the popup on the current slide. */
.bm-hq__diagram-wrap--carousel { position: relative; }
.bm-hq__carousel .bm-hq__diagram { width: 100%; height: auto; }
.bm-hq__zoom {
  position: absolute;
  left: 88.9%;
  top: 5.6%;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 7.4cqi;
  height: 7.4cqi;
  min-width: 44px;
  min-height: 44px;
  border: 1.5px solid var(--bm-gold);
  border-radius: 50%;
  background: var(--bm-navy);
  box-shadow: 0 2px 6px rgb(40 34 12 / 0.55);
  transform: translate(-60%, -40%);
  color: var(--bm-gold);
}
.bm-hq__zoom .bm-mission__plus { height: 60%; }
.bm-hq__zoom:active { transform: translate(-60%, -40%) scale(0.95); }

/* ---------- Template sizing carried over from the tier layer ----------
   Sizes and safe areas below are the template's starting values. The final
   per-asset block at the end of this file (the Jungle join) overrides them. */
main[data-world="jungle-module"] .bm-hero__title { width: min(32vw, 460px); }
main[data-world="jungle-module"] .bm-hero__card .bm-hero__tagline { width: min(70%, 250px); aspect-ratio: 920 / 691; }
main[data-world="jungle-module"] .bm-plaque-btn__label { color: #16161F; text-shadow: 0 1px 0 rgb(255 255 255 / 0.7); }
@media (max-width: 767px) {
  main[data-world="jungle-module"] .bm-hero__title { width: min(76vw, 300px); }
  main[data-world="jungle-module"] .bm-hero__card .bm-hero__tagline { width: min(64%, 220px); }
}
/* The diagrams are trimmed to their art, so no widening. The Deluxe diagram
   is portrait, so it is narrower to keep its height. */
main[data-world="jungle-module"] .bm-hq__open { width: 100%; margin: 0 auto; }
main[data-tier="deluxe"] .bm-hq__open { width: 76%; }
@media (max-width: 767px) {
  main[data-world="jungle-module"] .bm-hq__open { width: 100%; }
  main[data-tier="deluxe"] .bm-hq__open { width: 76%; }
}
/* Section lettering slots (the shared section-titles layer sets the final PC widths). */
main[data-world="jungle-module"] .bm-crew__title { width: min(70%, 340px); }
main[data-world="jungle-module"] .bm-details__heading { width: min(60%, 300px); }
main[data-world="jungle-module"] .bm-lettering--hq { width: 36cqi; }
main[data-world="jungle-module"] .bm-hq__open { width: 84%; }
main[data-tier="deluxe"] .bm-hq__open { width: 62%; }
dialog.bm-dialog .bm-dialog__title, dialog.bm-dialog--dims .bm-dialog__title { width: 22cqi; }
@media (max-width: 767px) {
  main[data-world="jungle-module"] .bm-details__heading { width: min(70%, 260px); }
  main[data-world="jungle-module"] .bm-lettering--hq { width: 40cqi; }
  main[data-world="jungle-module"] .bm-hq__open { width: 84%; }
  main[data-tier="deluxe"] .bm-hq__open { width: 62%; }
  dialog.bm-dialog .bm-dialog__title, dialog.bm-dialog--dims .bm-dialog__title { width: 32cqi; }
}
/* Frame safe areas in container units (cqi = % of frame width). The final block
   at the end of this file sets the values for the parchment 9-slice. */
@media (min-width: 768px) {
  main[data-world="jungle-module"] .bm-panel__safe { inset: 14.5cqi 16.5cqi 14.5cqi 19.5cqi; }
  .bm-dialog__safe { inset: 14.5cqi 16.5cqi 14.5cqi 19.5cqi; }
  .bm-dialog--dims .bm-dialog__safe { inset: 15cqi 18.5cqi 15cqi 21.5cqi; }
}
main[data-world="jungle-module"] .bm-hq__safe { inset: 23cqi 17cqi 25cqi; }
main[data-world="jungle-module"] .bm-hq__open::after { inset: -23cqi -17cqi -25cqi; }
@media (max-width: 767px) {
  .bm-dialog__safe, .bm-dialog--dims .bm-dialog__safe { inset: 24cqi 17cqi 25cqi; }
}
main[data-world="jungle-module"] .bm-hq__open { width: 60%; }
main[data-tier="deluxe"] .bm-hq__open { width: 44%; }
main[data-tier="ultimate"] .bm-hq__diagram-wrap--carousel { width: 70%; margin-inline: auto; }

/* ---------- Jungle parity pass (Sabrina, 2026-09-28) ---------- */

/* Hero card frame: 9-slice recomputed for the Jungle frame-card
   (1122x1402; inner edge L125 R996 T173 B1164; corners 300x300; top and
   bottom crest x 450-672). background-size = source / piece; position =
   piece start / (source - piece). */
main[data-world="jungle-module"] .bm-hero__card > .bm-hero__frame {
  top: calc(var(--it) - 173px * var(--s));
  left: calc(var(--is) - 125px * var(--s));
  right: calc(var(--is) - 126px * var(--s));
  bottom: calc(var(--ib) - 238px * var(--s));
  grid-template-columns: calc(300px * var(--s)) minmax(0, 1fr) calc(222px * var(--s)) minmax(0, 1fr) calc(300px * var(--s));
}
main[data-world="jungle-module"] .bm-hero__frame-tl { background-size: 374% 467.333%; background-position: 0% 0%; }
main[data-world="jungle-module"] .bm-hero__frame-t1 { background-size: 748% 467.333%; background-position: 30.864% 0%; }
main[data-world="jungle-module"] .bm-hero__frame-tc { background-size: 505.405% 467.333%; background-position: 50% 0%; }
main[data-world="jungle-module"] .bm-hero__frame-t2 { background-size: 748% 467.333%; background-position: 69.136% 0%; }
main[data-world="jungle-module"] .bm-hero__frame-tr { background-size: 374% 467.333%; background-position: 100% 0%; }
main[data-world="jungle-module"] .bm-hero__frame-l { background-size: 374% 174.813%; background-position: 0% 50%; }
main[data-world="jungle-module"] .bm-hero__frame-r { background-size: 374% 174.813%; background-position: 100% 50%; }
main[data-world="jungle-module"] .bm-hero__frame-bl { background-size: 374% 467.333%; background-position: 0% 100%; }
main[data-world="jungle-module"] .bm-hero__frame-b1 { background-size: 748% 467.333%; background-position: 30.864% 100%; }
main[data-world="jungle-module"] .bm-hero__frame-bc { background-size: 505.405% 467.333%; background-position: 50% 100%; }
main[data-world="jungle-module"] .bm-hero__frame-b2 { background-size: 748% 467.333%; background-position: 69.136% 100%; }
main[data-world="jungle-module"] .bm-hero__frame-br { background-size: 374% 467.333%; background-position: 100% 100%; }

/* Card fill: no rectangle. The light fill sits only inside the frame and
   tucks 10px under its band, so nothing shows outside the comic edge. */
main[data-world="jungle-module"] .bm-hero__card { background: none; border: 0; box-shadow: none; }
main[data-world="jungle-module"] .bm-hero__card::before {
  content: '';
  position: absolute;
  inset: calc(var(--it, 24px) - 10px) calc(var(--is, 26px) - 10px) calc(var(--ib, 26px) - 10px);
  z-index: 0;
  border: 0;
  background: radial-gradient(120% 90% at 50% 40%, #FFFFFF 0%, #FFF7E8 60%, #F6E7C4 100%);
}
main[data-world="jungle-module"] .bm-hero__card { --it: 24px; --is: 26px; --ib: 26px; }
@media (max-width: 767px) {
  main[data-world="jungle-module"] .bm-hero__card { --it: 20px; --is: 12px; --ib: 22px; }
}

/* Features line: the house's features, the card's lead line (Batman sets
   them as its main line under the tagline). Passion One at a readable size. */
main[data-world="jungle-module"] .bm-hero__features {
  font-size: 23px;
  font-weight: 400;
  font-variant: normal;
  letter-spacing: 0.04em;
  color: #9C3B0B;
  text-shadow: none;
}
main[data-world="jungle-module"] .bm-hero__features li + li::before { width: 7px; height: 7px; margin: 0 12px; background: #9C3B0B; }
@media (max-width: 767px) {
  main[data-world="jungle-module"] .bm-hero__features { font-size: 19px; }
}

/* Mission plaques: larger, label centred on the plaque's blue face
   (face x 11.2-90.1%, y 26.8-73.5% of the trimmed 960x298 shell). */
main[data-world="jungle-module"] .bm-panel__safe { grid-template-columns: minmax(0, 1fr) 40cqi; column-gap: 3cqi; }
main[data-world="jungle-module"] .bm-mission__face { inset: 30% 13% 30%; justify-content: center; gap: 5%; }
main[data-world="jungle-module"] .bm-mission__label {
  font-size: clamp(17px, 2.5cqi, 26px);
  font-weight: 400;
  letter-spacing: 0.04em !important;
  color: #9C3B0B;
  text-shadow: none;
}
main[data-world="jungle-module"] .bm-mission__plus { height: 46%; }
@media (max-width: 767px) {
  main[data-world="jungle-module"] .bm-mission__label { font-size: 21px; }
}

/* Description: a comic caption box, so the copy sits on a card instead of
   floating on the burst. */
main[data-world="jungle-module"] .bm-details__description {
  max-width: none;
  padding: 2.2cqi 2.6cqi;
  background: #FFF8E7;
  border: 3px solid #2C3E1F;
  box-shadow: 6px 6px 0 #2C3E1F;
  color: #16161F;
  font-size: 2.15cqi;
  line-height: 1.45;
  text-align: center;
}
@media (max-width: 767px) {
  main[data-world="jungle-module"] .bm-details__description { padding: 16px 18px; font-size: 19px; box-shadow: 5px 5px 0 #2C3E1F; }
}
/* The Jungle panel's blue face is narrower than Batman's navy one
   (x 15.8-87.5%), so the safe area uses more of it and the columns split
   the width between the caption box and the larger plaques. */
@media (min-width: 768px) {
  main[data-world="jungle-module"] .bm-panel__safe { inset: 14.5cqi 14cqi 14.5cqi 17cqi; grid-template-columns: minmax(0, 1fr) 35cqi; column-gap: 2.5cqi; }
  main[data-world="jungle-module"] .bm-details__description { font-size: 1.72cqi; line-height: 1.4; padding: 1.8cqi 2cqi; }
  main[data-world="jungle-module"] .bm-mission__label { font-size: clamp(17px, 2.3cqi, 24px); }
}

/* Section titles, larger. */
main[data-world="jungle-module"] .bm-crew__title { width: min(80%, 470px); }
main[data-world="jungle-module"] .bm-details__heading { width: min(70%, 420px); }
@media (max-width: 767px) {
  main[data-world="jungle-module"] .bm-crew__title { width: min(84%, 340px); }
  main[data-world="jungle-module"] .bm-details__heading { width: min(76%, 300px); }
}

/* Dimensions card: the safe area opens to the frame's painted face
   (y 17.6-82.3%, x 12.7-87.3%), the diagram is larger and the
   measurements sit on a caption strip so they read clearly. */
main[data-world="jungle-module"] .bm-hq__safe { inset: 23cqi 14.5cqi 23cqi; gap: 1.6cqi; }
main[data-world="jungle-module"] .bm-hq__open::after { inset: -23cqi -14.5cqi -23cqi; }
main[data-world="jungle-module"] .bm-lettering--hq { width: 34cqi; }
main[data-world="jungle-module"] .bm-hq__open { width: 74%; }
main[data-tier="deluxe"] .bm-hq__open { width: 54%; }
main[data-tier="ultimate"] .bm-hq__diagram-wrap--carousel { width: 86%; }
main[data-world="jungle-module"] .bm-dims--card {
  gap: 0 0.8cqi;
  padding: 1.4cqi 1.6cqi;
  background: #FFF8E7;
  border: 2px solid #2C3E1F;
  box-shadow: 3px 3px 0 #2C3E1F;
}
main[data-world="jungle-module"] .bm-dims--card dt { font-size: max(11px, 2.3cqi); color: #9C3B0B; letter-spacing: 0.04em !important; }
main[data-world="jungle-module"] .bm-dims--card dd { font-size: max(15px, 4.1cqi); color: #16161F; }

/* Crew cards: content starts below the frame's top points (face y 21%),
   the character keeps his size, and the copy beneath is tighter. */
@media (min-width: 768px) {
  main[data-world="jungle-module"] .bm-crew__safe { inset: 26cqi 16cqi 22cqi; gap: 1cqi; justify-content: flex-start; }
  main[data-world="jungle-module"] .bm-crew__safe > p { margin: 0; line-height: 1.3; }
  main[data-world="jungle-module"] .bm-crew__heading { margin: 0.4cqi 0 0; }
}
/* Dimensions card without its title (Sabrina, 2026-09-28): the diagram and
   measurements strip centre in the frame's blue face (y 21-79%, x 17-83%). */
.bm-hq__sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
main[data-world="jungle-module"] .bm-hq__safe { inset: 27cqi 17cqi 27cqi; justify-content: center; gap: 2.4cqi; }
main[data-world="jungle-module"] .bm-hq__open::after { inset: -27cqi -17cqi -27cqi; }
main[data-world="jungle-module"] .bm-hq__open { width: 92%; }
main[data-tier="deluxe"] .bm-hq__open { width: 62%; }
main[data-tier="ultimate"] .bm-hq__diagram-wrap--carousel { width: 100%; }
main[data-world="jungle-module"] .bm-hq__open { width: 80%; }
main[data-tier="deluxe"] .bm-hq__open { width: 62%; }

main[data-world="jungle-module"] .bm-hero__title { width: min(66vw, 1060px); filter: drop-shadow(0 6px 22px rgb(40 34 12 / 0.45)); }
main[data-world="jungle-module"] .bm-hero__card .bm-hero__tagline { width: min(84%, 340px); aspect-ratio: auto; }
@media (max-width: 767px) {
  main[data-world="jungle-module"] .bm-hero__title { width: calc(100vw - 20px); }
  main[data-world="jungle-module"] .bm-hero__card .bm-hero__tagline { width: min(80%, 290px); }
}

main[data-world="jungle-module"] .bm-details__heading { width: min(84%, 640px); }
main[data-world="jungle-module"] .bm-crew__title { width: min(86%, 560px); }
main[data-world="jungle-module"] :is(#treats-title, #related-title) img { width: min(80%, 520px); }
@media (max-width: 767px) {
  main[data-world="jungle-module"] .bm-details__heading { width: min(92%, 380px); }
  main[data-world="jungle-module"] .bm-crew__title { width: min(92%, 380px); }
  main[data-world="jungle-module"] :is(#treats-title, #related-title) img { width: min(88%, 340px); }
}

/* Plaque (cta-shell 960x313; face x 12-88%, y 26-74%). */
main[data-world="jungle-module"] .bm-plaque-btn { aspect-ratio: 960 / 313; }
main[data-world="jungle-module"] .bm-mission__face { inset: 28% 13% 28%; }
main[data-world="jungle-module"] :is(.bm-plaque-btn__label, .bm-mission__label) { color: #16161F; text-shadow: 0 1px 0 rgb(255 255 255 / 0.85); }

main[data-world="jungle-module"] .bm-hero__card > .bm-hero__frame {
  top: calc(var(--it) - 314px * var(--s));
  left: calc(var(--is) - 214px * var(--s));
  right: calc(var(--is) - 178px * var(--s));
  bottom: calc(var(--ib) - 229px * var(--s));
  grid-template-columns: calc(300px * var(--s)) minmax(0, 1fr) calc(580px * var(--s)) minmax(0, 1fr) calc(300px * var(--s));
  grid-template-rows: calc(300px * var(--s)) minmax(0, 1fr) calc(300px * var(--s));
}
main[data-world="jungle-module"] .bm-hero__frame-tl { background-size: 482.667% 362%; background-position: 0% 0%; }
main[data-world="jungle-module"] .bm-hero__frame-t1 { background-size: 1080.597% 362%; background-position: 22.831% 0%; }
main[data-world="jungle-module"] .bm-hero__frame-tc { background-size: 249.655% 362%; background-position: 50% 0%; }
main[data-world="jungle-module"] .bm-hero__frame-t2 { background-size: 1080.597% 362%; background-position: 77.169% 0%; }
main[data-world="jungle-module"] .bm-hero__frame-tr { background-size: 482.667% 362%; background-position: 100% 0%; }
main[data-world="jungle-module"] .bm-hero__frame-l { background-size: 482.667% 223.457%; background-position: 0% 50%; }
main[data-world="jungle-module"] .bm-hero__frame-r { background-size: 482.667% 223.457%; background-position: 100% 50%; }
main[data-world="jungle-module"] .bm-hero__frame-bl { background-size: 482.667% 362%; background-position: 0% 100%; }
main[data-world="jungle-module"] .bm-hero__frame-b1 { background-size: 1080.597% 362%; background-position: 22.831% 100%; }
main[data-world="jungle-module"] .bm-hero__frame-bc { background-size: 249.655% 362%; background-position: 50% 100%; }
main[data-world="jungle-module"] .bm-hero__frame-b2 { background-size: 1080.597% 362%; background-position: 77.169% 100%; }
main[data-world="jungle-module"] .bm-hero__frame-br { background-size: 482.667% 362%; background-position: 100% 100%; }
/* Card fill: the ice-white fill is painted into frame-card.webp up to the
   rails; this flat fill (same colour) sits well inside them, and the
   booking block sits above the frame so the rails never cover the buttons. */
main[data-world="jungle-module"] .bm-hero__card::before { inset: calc(var(--it) + 10px) calc(var(--is) + 20px) calc(var(--ib) + 20px); background: #FFFAEE; }
main[data-world="jungle-module"] .bm-hero__card > .bm-hero__booking { z-index: 3; }

/* Story panel (frame 4, 1448x1086): interior x 12.6-87.4% at mid height,
   y 26.7-81.2% at the sides; the crest reaches y 35.5% and the bottom gem
   y 70.4% at the centre. */
@media (min-width: 768px) {
  main[data-world="jungle-module"] .bm-panel__safe { inset: 22cqi 15cqi 18cqi 16cqi; }
}
/* Popups (frame.png 1448x1086): interior x 13.3-86.8%, y 28.4-79.1%. */
@media (min-width: 768px) {
  .bm-dialog__safe, .bm-dialog--dims .bm-dialog__safe { inset: 23cqi 15cqi 17cqi; }
}
/* Dimensions card (card.png 1122x1402): face x 14-86%, y 34.5-85%. */
main[data-world="jungle-module"] .bm-hq__safe { inset: 44cqi 16cqi 20cqi; gap: 2cqi; }
main[data-world="jungle-module"] .bm-hq__open::after { inset: -44cqi -16cqi -20cqi; }
main[data-world="jungle-module"] .bm-hq__open { width: 72%; }
main[data-tier="deluxe"] .bm-hq__open { width: 56%; }
main[data-tier="ultimate"] .bm-hq__diagram-wrap--carousel { width: 100%; }
/* Crew portrait (silver frame 1122x1402): face x 21-79%, y 19-87%. */
@media (min-width: 768px) {
  main[data-world="jungle-module"] .bm-crew__safe { inset: 25cqi 22cqi 18cqi; }
}
@media (max-width: 767px) {
  /* Phones: the ice frame reads as a frame, not a thin line. */
  main[data-world="jungle-module"] .bm-hero__card { width: calc(100% - 20px); margin-inline: auto; --it: 30px; --is: 30px; --ib: 30px; }
  main[data-world="jungle-module"] .bm-hero__card > .bm-hero__frame { --s: 0.25; }
  /* Measurements as a 2 x 2 grid inside the dimensions frame's face. */
  main[data-world="jungle-module"] .bm-hq__safe { inset: 44cqi 17cqi 20cqi; }
  main[data-world="jungle-module"] .bm-dims--card { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1cqi 3cqi; }
}

main[data-world="jungle-module"] :is(.bm-hq, .bm-gallery__stage, .bm-crew__panels, .treats__inner) { position: relative; }

main[data-world="jungle-module"] .bm-related { --orn-h: clamp(196px, 7.4vw + 93px, 237px); }

main[data-world="jungle-module"] .treats__grid { position: relative; z-index: 4; }

/* The whole gang stands on the ground beside the related cards. */

main[data-world="jungle-module"] .bm-details { position: relative; z-index: 6; }
main[data-world="jungle-module"] .bm-gallery { --orn-h: clamp(196px, 7.4vw + 93px, 237px); }

/* Deluxe and Ultimate pair two crew cards across the width, so the
   standing characters beside them are Classic only. */

/* Hero card: Sabrina's ice-crown frame (card.png, 1122x1402) at its own
   shape. The card is 1122 x --k wide, so the frame never stretches
   sideways; only its middle band (y 480-1000) grows a little with the
   content. Face x 14-86%, y 34.5-85%. */
main[data-world="jungle-module"] .bm-hero__card {
  --k: 0.52;
  width: calc(1122px * var(--k));
  max-width: 100%;
  min-height: calc(1402px * var(--k));
  padding: calc(478px * var(--k)) calc(178px * var(--k)) calc(236px * var(--k));
  justify-self: center;
}
main[data-world="jungle-module"] .bm-hero__card::before { content: none; }
main[data-world="jungle-module"] .bm-hero__card > .bm-hero__frame {
  inset: 0;
  z-index: 0;
  display: block;
  border-style: solid;
  border-color: transparent;
  border-width: calc(480px * var(--k)) calc(170px * var(--k)) calc(402px * var(--k));
  border-image: url('../../assets/bundled/product-worlds/jungle-module/frame-card.webp') 480 170 402 fill / calc(480px * var(--k)) calc(170px * var(--k)) calc(402px * var(--k)) stretch;
  background: none;
}
main[data-world="jungle-module"] .bm-hero__card > .bm-hero__frame > span { display: none; }
main[data-world="jungle-module"] .bm-hero__card > :not(.bm-hero__frame) { position: relative; z-index: 3; }
main[data-world="jungle-module"] .bm-hero__card .bm-hero__tagline { width: min(78%, 300px); }
@media (max-width: 767px) {
  main[data-world="jungle-module"] .bm-hero__card { --k: 0.33; width: calc(1122px * var(--k)); margin-inline: auto; }
  main[data-world="jungle-module"] .bm-hero__card .bm-hero__tagline { width: min(82%, 220px); }
}
@media (max-width: 380px) {
  main[data-world="jungle-module"] .bm-hero__card { --k: 0.3; }
}

/* Description and measurements: frosted ice glass instead of the comic box. */
main[data-world="jungle-module"] :is(.bm-details__description, .bm-dims--card) {
  background: linear-gradient(160deg, rgb(255 255 255 / 0.78), rgb(255 246 226 / 0.62));
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border: 1.5px solid rgb(214 180 110 / 0.95);
  border-radius: 18px;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.7), 0 8px 24px -6px rgb(156 59 11 / 0.35);
}
main[data-world="jungle-module"] .bm-dims--card { border-radius: 14px; }

/* Popup titles: text in the display face (the supplied lettering named
   songs, not what each popup shows). */
.bm-dialog__title--text {
  margin: 0;
  font-family: 'Passion One', 'Impact', sans-serif;
  font-weight: 700;
  font-size: clamp(24px, 3.4cqi, 38px);
  line-height: 1.15;
  text-align: center;
  color: #16161F;
  text-shadow: 0 2px 0 #fff, 0 0 18px rgb(156 59 11 / 0.9);
}

/* Section titles: bigger, with a navy outline and glow so the icy
   lettering stands off the icy backgrounds. */
main[data-world="jungle-module"] :is(.bm-hero__title, .bm-details__heading, .bm-crew__title, #treats-title img, #related-title img) {
  filter: drop-shadow(0 0 1px #2C3E1F) drop-shadow(0 0 1px #2C3E1F) drop-shadow(0 3px 0 #2C3E1F) drop-shadow(0 10px 18px rgb(40 34 12 / 0.55));
}
main[data-world="jungle-module"] .bm-details__heading { width: min(92%, 820px); }
main[data-world="jungle-module"] .bm-crew__title { width: min(92%, 740px); }
main[data-world="jungle-module"] :is(#treats-title, #related-title) img { width: min(88%, 700px); }
@media (max-width: 767px) {
  main[data-world="jungle-module"] :is(.bm-details__heading, .bm-crew__title) { width: 96%; }
  main[data-world="jungle-module"] :is(#treats-title, #related-title) img { width: 94%; }
}

/* Hero alignment (Sabrina, 2026-09-29): the crown makes the card's face
   sit low in its box (face centre ~60% down), so on desktop the house
   moves down to line up with the face centre. */
@media (min-width: 768px) {
  main[data-world="jungle-module"] .bm-hero__stage { align-items: center; }
  main[data-world="jungle-module"] .bm-hero__product { align-self: center; transform: translateY(96px); }
}

/* Measurements under the diagram, smaller. */
main[data-world="jungle-module"] .bm-dims--card dt { font-size: max(10px, 1.9cqi); }
main[data-world="jungle-module"] .bm-dims--card dd { font-size: max(12px, 3cqi); }
/* Detail buttons: the label centres on the plaque; the + sits at the right
   end of the face instead of pushing the text off centre. */
main[data-world="jungle-module"] .bm-mission__face { justify-content: center; }
main[data-world="jungle-module"] .bm-mission__label { flex: 1 1 auto; text-align: center; padding-inline: 11%; }
main[data-world="jungle-module"] .bm-mission__face .bm-mission__plus { position: absolute; right: 1%; top: 50%; height: 46%; transform: translateY(-50%); }
@media (hover: hover) and (pointer: fine) {
  main[data-world="jungle-module"] .bm-mission:hover .bm-mission__face .bm-mission__plus { transform: translateY(-50%) rotate(90deg); }
}
/* Popups: title and text start below the frame's crest and end above its
   bottom gem (frame 4: crest to y 35.5%, gem from y 70.4%; frame.png:
   crest to 31.8%, gem from 76%). */
@media (min-width: 768px) {
  .bm-dialog__safe { inset: 27cqi 15cqi 23cqi; }
  .bm-dialog--dims .bm-dialog__safe { inset: 25cqi 15cqi 19cqi; }
}
/* Description: a light, see-through blue behind the text. */
main[data-world="jungle-module"] .bm-details__description {
  background: linear-gradient(160deg, rgb(170 205 120 / 0.26), rgb(110 170 80 / 0.2));
  border-color: rgb(210 176 104 / 0.9);
}
main[data-world="jungle-module"] .bm-mission__label { font-size: clamp(14px, 1.95cqi, 20px); padding-inline: 12%; }
@media (max-width: 767px) {
  main[data-world="jungle-module"] .bm-mission__label { font-size: 17px; }
}

/* Detail button labels: Passion One's capitals sit above the middle of the line
   box, so the label drops 0.12em to centre the letters on the plaque face. */
main[data-world="jungle-module"] .bm-mission__label { position: relative; top: 0.08em; }

/* Plaque buttons (Check availability): the capitals drop 0.12em to the
   face centre, and a leading pad equal to the letter-spacing balances the
   space the tracking leaves after the last letter. */
main[data-world="jungle-module"] .bm-plaque-btn__label { position: relative; top: 0.06em; padding-left: 0.1em; }

/* Phones: the hero background runs behind the whole hero, card included,
   fading only at the very bottom (the page below is light, not navy). */
@media (max-width: 767px) {
  main[data-world="jungle-module"] .bm-hero__scenery {
    bottom: 0;
    height: auto;
    -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 120px), transparent);
    mask-image: linear-gradient(to bottom, #000 calc(100% - 120px), transparent);
  }
  main[data-world="jungle-module"] .bm-hero__scenery img { object-position: 50% 50%; }
}
/* Phones: the crew cards keep the silver ice frame (Sabrina, 2026-09-29).
   The frame (1122x1402; face x 21-79%, y 19-87%) is drawn as a border that
   grows with the card, full width, so it never stretches sideways. */
@media (max-width: 767px) {
  main[data-world="jungle-module"] .bm-crew__panel {
    --k: 0.31;
    width: calc(1122px * var(--k));
    max-width: 100%;
    margin-inline: auto;
    background: none;
    border: 0;
    box-shadow: none;
    border-style: solid;
    border-color: transparent;
    border-width: calc(300px * var(--k)) calc(230px * var(--k)) calc(250px * var(--k));
    border-image: url('../../assets/bundled/product-worlds/jungle-module/frame-card.webp') 300 230 250 fill / calc(300px * var(--k)) calc(230px * var(--k)) calc(250px * var(--k)) stretch;
  }
  main[data-world="jungle-module"] .bm-crew__panel::before { content: none; }
  main[data-world="jungle-module"] .bm-crew__safe { padding: 0 0 6px; margin: -18px -8px -24px; }
}
@media (max-width: 380px) {
  main[data-world="jungle-module"] .bm-crew__panel { --k: 0.29; }
}
@media (max-width: 767px) {
  main[data-world="jungle-module"] .bm-crew__safe { margin: -14px 8px 10px; padding: 0; gap: 12px; }
  main[data-world="jungle-module"] .bm-crew__character { width: 112px; }
  main[data-world="jungle-module"] .bm-crew__text { font-size: 15px; }
  main[data-world="jungle-module"] .bm-crew__panel--water .bm-water__img { width: 70%; }
}

/* Description card: Sabrina's wide silver-ice frame (1448x815; face
   x 7-93%, y 21-83%, crests reach y 31% and from y 72% at the centre). */
@media (min-width: 768px) {
  main[data-world="jungle-module"] .bm-panel { aspect-ratio: 1448 / 815; }
  main[data-world="jungle-module"] .bm-panel__safe { inset: 14cqi 9cqi 13cqi; }
}
/* Description text sits straight on the frame's ice face, no card behind it (Sabrina, 2026-09-29). */
main[data-world="jungle-module"] .bm-details__description { background: none; border: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }

/* Carousel arrows (Sabrina, 2026-09-29): the chevron is pinned to the
   circle's exact centre (the hidden glyph no longer shares the grid), drawn
   on a symmetric path. */
main[data-world="jungle-module"] .bm-gallery .mbm-car__arw { position: absolute; }
main[data-world="jungle-module"] .bm-gallery .mbm-car__arw::before {
  position: absolute;
  inset: 0;
  margin: auto;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 5l6 7-6 7'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 5l6 7-6 7'/%3E%3C/svg%3E");
}
main[data-world="jungle-module"] .bm-gallery .mbm-car__arw svg { display: none; }

/* Attendant: no hours option (one hour is booked; the rest is arranged
   with the booking). Everything centres inside the frame's face. */
main[data-world="jungle-module"] .attendant__hours { display: none; }
main[data-world="jungle-module"] .bm-crew__safe { align-items: center; text-align: center; }
main[data-world="jungle-module"] .bm-crew__row { flex-direction: column; align-items: center; justify-content: center; gap: 10px; }
main[data-world="jungle-module"] .bm-crew__controls { width: 100%; display: flex; flex-direction: column; align-items: center; }
main[data-world="jungle-module"] :is(.bm-crew__text, .bm-crew__heading) { max-width: 100%; margin-inline: auto; text-align: center; }
main[data-world="jungle-module"] :is(.bm-switch, .bm-water__switch) { justify-content: center; margin-inline: auto; }
@media (min-width: 768px) {
  main[data-world="jungle-module"] .bm-crew__safe { inset: 28cqi 25cqi 22cqi; justify-content: center; gap: 1.4cqi; }
  main[data-world="jungle-module"] .bm-crew__text { font-size: clamp(14px, 3.4cqi, 17px); line-height: 1.35; }
}
main[data-world="jungle-module"] .bm-crew .attendant__hours { display: none !important; }
@media (min-width: 768px) {
  main[data-world="jungle-module"] .bm-crew__media { height: 34cqi; }
  main[data-world="jungle-module"] .bm-crew__character, main[data-world="jungle-module"] .bm-water__img { max-height: 100%; width: auto; }
}
@media (max-width: 767px) {
  main[data-world="jungle-module"] .bm-crew__safe { margin: -14px 0 10px; }
  main[data-world="jungle-module"] .bm-crew .bm-switch { gap: 8px; }
  main[data-world="jungle-module"] .bm-crew .bm-switch__text { font-size: 14px; white-space: nowrap; }
  main[data-world="jungle-module"] .bm-crew .bm-switch__track { flex: 0 0 auto; }
}
@media (max-width: 767px) {
  main[data-world="jungle-module"] .bm-crew .bm-switch { flex-direction: column; gap: 6px; }
}

/* Dimensions popup (Sabrina, 2026-09-29): a plain enlarged view of the
   diagram, like tapping a carousel photo. No frame, title card or
   measurements; Ultimate keeps its arrows and dots to step through views. */
html body dialog.bm-dialog.bm-dialog--dims {
  position: fixed; inset: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0; border-radius: 0; background: rgba(8, 10, 14, 0.96); box-shadow: none; overflow: hidden;
}
html body dialog.bm-dialog.bm-dialog--dims::backdrop { background: transparent; }
html body dialog.bm-dialog--dims :is(.bm-dialog__art, .bm-dims--dialog) { display: none !important; }
html body dialog.bm-dialog--dims .bm-dialog__title { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
html body dialog.bm-dialog--dims .bm-dialog__frame { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; aspect-ratio: auto; container-type: normal; background: none; }
html body dialog.bm-dialog--dims .bm-dialog__safe { position: absolute; inset: 0; display: block; padding: 0; }
html body dialog.bm-dialog--dims .bm-dialog__head { position: static; }
html body dialog.bm-dialog--dims .bm-dialog__close {
  position: fixed; top: 14px; right: 16px; left: auto; z-index: 3; width: 44px; height: 44px;
  display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: transparent; color: #fff; box-shadow: none;
}
html body dialog.bm-dialog--dims .bm-dialog__close svg { width: 28px; height: 28px; stroke: #fff; stroke-width: 2.2; fill: none; filter: drop-shadow(0 1px 6px rgba(0,0,0,.6)); }
html body dialog.bm-dialog--dims .bm-dialog__body--dims { position: absolute; inset: 24px; display: grid; place-items: center; grid-template-columns: 1fr; grid-template-rows: 1fr; overflow: visible; }
html body dialog.bm-dialog--dims :is(.bm-dims-carousel, .bm-dims-carousel__track) { position: relative; width: 100%; height: 100%; display: grid; place-items: center; background: none; border: 0; box-shadow: none; }
html body dialog.bm-dialog--dims .bm-dialog__diagram { width: auto; height: auto; max-width: 100%; max-height: calc(100dvh - 48px); object-fit: contain; background: none; border: 0; box-shadow: none; margin: 0; }
html body dialog.bm-dialog--dims .bm-dims-carousel__arrow { position: fixed; top: 50%; width: 52px; height: 52px; display: grid; place-items: center; padding: 0; border: 0; background: transparent; color: #fff; box-shadow: none; transform: translateY(-50%); }
html body dialog.bm-dialog--dims .bm-dims-carousel__arrow svg { width: 32px; height: 32px; stroke: #fff; stroke-width: 2.4; fill: none; filter: drop-shadow(0 1px 6px rgba(0,0,0,.6)); }
html body dialog.bm-dialog--dims .bm-dims-carousel__arrow--prev { left: 10px; right: auto; }
html body dialog.bm-dialog--dims .bm-dims-carousel__arrow--next { right: 10px; left: auto; }
html body dialog.bm-dialog--dims .bm-dims-carousel__dots { position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); }

/* ---------- Jungle join: per-asset values ----------
   Frame: the parchment frame (bamboo rails, vines, elephant statues), trimmed to its
   alpha bounds, 943x1570. Drawn as a 9-slice so the statue corners keep their shape and
   only the plain bamboo rails and the parchment face stretch.
     slices: top 280, right 160, bottom 330, left 160 (source px)
     clear face: x 14-86%, y 11-95% of the frame
   Button plaque (parchment, bamboo rim, hibiscus ends) 2105x659, face x 19.5-79.5%, y 39.8-76.2%. */

/* Page ground: a pale champagne glow from the parchment and the gold lettering. It shows at the seams. */
body main#main[data-world="jungle-module"] { background: linear-gradient(180deg, #F7EDC4, #F0DFA6 50%, #F7EDC4) !important; }

/* Hero title: "JUNGLE MOONBOUNCE" lettering (3.08:1). Same on-screen height as the template's title. */
main[data-world="jungle-module"] .bm-hero__title { width: min(42.4vw, 660px); }
@media (max-width: 767px) { main[data-world="jungle-module"] .bm-hero__title { width: 67.3vw; } }
main[data-world="jungle-module"] .bm-hero__title .bm-hero__title-img { filter: drop-shadow(0 3px 10px rgb(40 34 12 / 0.45)); }

/* The card heading is typed (no tagline lettering is supplied for the card). */
main[data-world="jungle-module"] .bm-hero__tagline .bm-type-placeholder {
  display: block;
  width: 100%;
  font-family: var(--bm-serif);
  font-size: 44px;
  line-height: 1;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-align: center;
  white-space: nowrap;
  color: #9C3B0B;
}

/* Hero card, PC: the parchment frame as a 9-slice (k = scale of the 943x1570 art). */
main[data-world="jungle-module"] .bm-hero__card .bm-hero__tagline { width: 90%; max-width: none; aspect-ratio: auto; }
main[data-world="jungle-module"] .bm-hero__card .rental-rates .rental-rates__options,
main[data-world="jungle-module"] .bm-hero__card .rental-rates > div { flex-wrap: wrap; justify-content: center; }
@media (min-width: 768px) {
  main[data-world="jungle-module"] .bm-hero__card {
    --k: 0.33;
    width: 588px;
    max-width: 100%;
    min-height: 575px;
    padding: calc(225px * var(--k)) calc(200px * var(--k)) calc(190px * var(--k));
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  main[data-world="jungle-module"] .bm-hero__card > .bm-hero__frame {
    border-width: calc(280px * var(--k)) calc(160px * var(--k)) calc(330px * var(--k)) calc(160px * var(--k));
    border-image: url('../../assets/bundled/product-worlds/jungle-module/frame-card.webp') 280 160 330 160 fill / calc(280px * var(--k)) calc(160px * var(--k)) calc(330px * var(--k)) calc(160px * var(--k)) stretch;
  }
  main[data-world="jungle-module"] .bm-hero__card .rental-rates .rental-rates__options,
  main[data-world="jungle-module"] .bm-hero__card .rental-rates > div { flex-wrap: nowrap; }
  main[data-world="jungle-module"] .bm-hero__card .bm-hero__features { font-size: 24px; }
  main[data-world="jungle-module"] .bm-hero__card .bm-hero__tagline .bm-type-placeholder { font-size: 44px; }
}
/* Hero card, phone. */
@media (max-width: 767px) {
  main[data-world="jungle-module"] .bm-hero__card {
    --k: 0.25;
    width: min(100%, 352px);
    max-width: 100%;
    margin-inline: auto;
    padding: calc(215px * var(--k)) calc(205px * var(--k)) calc(160px * var(--k));
  }
  main[data-world="jungle-module"] .bm-hero__card > .bm-hero__frame {
    border-width: calc(280px * var(--k)) calc(160px * var(--k)) calc(330px * var(--k)) calc(160px * var(--k));
    border-image: url('../../assets/bundled/product-worlds/jungle-module/frame-card.webp') 280 160 330 160 fill / calc(280px * var(--k)) calc(160px * var(--k)) calc(330px * var(--k)) calc(160px * var(--k)) stretch;
  }
  main[data-world="jungle-module"] .bm-hero__card :is(.rental-rates, .wetdry) legend { font-size: 14px; }
  main[data-world="jungle-module"] .bm-hero__card .bm-hero__tagline { width: 100%; }
  main[data-world="jungle-module"] .bm-hero__card .bm-hero__tagline .bm-type-placeholder { font-size: 32px; }
  main[data-world="jungle-module"] .bm-hero__card .bm-hero__features { font-size: 19px; }
  main[data-world="jungle-module"] .bm-hero__card { min-height: 520px; display: flex; flex-direction: column; justify-content: center; }
}

/* Plaque buttons (parchment plaque 2105x659). The label sits on the painted face (x 19.5-79.5%, y 39.8-76.2%). */
main[data-world="jungle-module"] .bm-plaque-btn { aspect-ratio: 2105 / 659; container-type: inline-size; }
main[data-world="jungle-module"] .bm-plaque-btn--hero { width: min(100%, 330px); }
main[data-world="jungle-module"] .bm-plaque-btn__arrow { display: none; }
main[data-world="jungle-module"] .bm-plaque-btn__label,
main[data-world="jungle-module"] .bm-mission__label {
  color: #16161F;
  text-shadow: none;
  letter-spacing: 0.04em !important;
  text-transform: uppercase;
  white-space: nowrap;
  line-height: 1;
}
main[data-world="jungle-module"] .bm-plaque-btn__label {
  position: absolute;
  left: 19.5%; right: 20.5%; top: 39.8%; bottom: 23.8%;
  display: flex; align-items: center; justify-content: center;
  margin: 0; padding: 0;
  font-size: 5.6cqi;
  text-align: center;
}
/* The shared details sizing (product-details-sizing.css) pins each label between 30px lanes; here the painted face is the box. */
main[data-world="jungle-module"] .bm-mission__face { position: absolute; inset: 39.8% 20.5% 23.8% 19.5%; display: flex; align-items: center; justify-content: center; gap: 0; padding: 0; }
html body main#main[data-world="jungle-module"] .bm-details .bm-mission:not(#x):not(#y):not(#z):not(#w) { aspect-ratio: 2105 / 659; margin-block: -2%; }
html body main#main[data-world="jungle-module"] .bm-details .bm-mission:not(#x):not(#y):not(#z):not(#w) .bm-mission__face { padding: 0 !important; }
html body main#main[data-world="jungle-module"] .bm-details .bm-mission:not(#x):not(#y):not(#z):not(#w) .bm-mission__face > .bm-mission__label {
  position: absolute !important; left: 16px !important; right: 16px !important; top: 50% !important; transform: translateY(-50%) !important;
  margin: 0 !important; width: auto !important; text-align: center !important; font-size: 16.5px !important; letter-spacing: 0.04em !important;
}
html body main#main[data-world="jungle-module"] .bm-details .bm-mission:not(#x):not(#y):not(#z):not(#w) .bm-mission__plus {
  display: block !important; position: absolute !important; right: 2px !important; left: auto !important; top: 50% !important; bottom: auto !important;
  width: 14px !important; height: 14px !important; transform: translateY(-50%) !important; stroke: #2C3E1F; stroke-width: 3; filter: none;
}
@media (hover: hover) and (pointer: fine) {
  html body main#main[data-world="jungle-module"] .bm-details .bm-mission:hover:not(#x):not(#y):not(#z):not(#w) .bm-mission__plus { transform: translateY(-50%) rotate(90deg) !important; }
}
main[data-world="jungle-module"] .bm-mission__ring { inset: 12% 3% 12%; }
main[data-world="jungle-module"] .bm-plaque-btn::after { inset: 12% 3% 12%; }

/* Description panel (PC, 900px and up): the parchment frame as a 9-slice at the 1401:963 panel shape.
   Under 900px the description, buttons and card stack, as on phones. */
@media (min-width: 900px) {
  main[data-world="jungle-module"] .bm-panel { aspect-ratio: 1401 / 963; }
  main[data-world="jungle-module"] .bm-panel__frame { display: none; }
  main[data-world="jungle-module"] .bm-panel::before {
    content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none; box-sizing: border-box; border-style: solid; border-color: transparent;
    border-width: 11.2cqi 6.4cqi 13.2cqi 6.4cqi;
    border-image: url('../../assets/bundled/product-worlds/jungle-module/frame-card.webp') 280 160 330 160 fill / 11.2cqi 6.4cqi 13.2cqi 6.4cqi stretch;
  }
  main[data-world="jungle-module"] .bm-panel__safe { z-index: 1; inset: 8.6cqi 10.5cqi 7.2cqi 10.5cqi; column-gap: 3cqi; align-items: center; }
  main[data-world="jungle-module"] .bm-details__description { font-size: 2.5cqi; line-height: 1.36; padding: 0; }
  main[data-world="jungle-module"] .bm-details__description p + p { margin-top: 0.55em; }
  main[data-world="jungle-module"] .bm-missions { gap: 1cqi; }
  html body main#main[data-world="jungle-module"] .bm-panel__safe:not(#x):not(#y):not(#z):not(#w) { grid-template-columns: minmax(0, 1fr) 36cqi !important; column-gap: 2cqi !important; }
  html body main#main[data-world="jungle-module"] .bm-details .bm-mission:not(#x):not(#y):not(#z):not(#w) { width: 100% !important; max-width: 100% !important; }
}
main[data-world="jungle-module"] .bm-details__description { overflow: visible; max-height: none; }
/* Phones and tablets: the description sits on a calm parchment card over the busy scenery. */
@media (max-width: 899px) {
  main[data-world="jungle-module"] .bm-details__description { padding: 18px 20px; background: rgb(255 246 218 / 0.95); border: 2px solid rgb(156 59 11 / 0.55); border-radius: 18px; }
}
main[data-world="jungle-module"] .bm-panel__story { max-height: none; overflow: visible; }

/* Popups: the parchment frame as a 9-slice on PC; a taller 9-slice on phones. */
dialog.bm-dialog { aspect-ratio: 1401 / 963; --dw: min(92vw, 1000px, calc((100dvh - 32px) * 1.4549)); }
@media (min-width: 768px) {
  .bm-dialog__art { display: none; }
  .bm-dialog__frame::before {
    content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none; box-sizing: border-box; border-style: solid; border-color: transparent;
    border-width: 11.2cqi 6.4cqi 13.2cqi 6.4cqi;
    border-image: url('../../assets/bundled/product-worlds/jungle-module/frame-card.webp') 280 160 330 160 fill / 11.2cqi 6.4cqi 13.2cqi 6.4cqi stretch;
  }
  .bm-dialog__safe { z-index: 1; inset: 9cqi 10.5cqi 8cqi; }
}
@media (max-width: 767px) {
  dialog.bm-dialog { --dw: min(94vw, 480px, calc((100dvh - 24px) * 0.748)); aspect-ratio: 1054 / 1409; }
}
.bm-dialog__title--text { font-family: 'Passion One', 'Impact', sans-serif; color: #16161F; text-shadow: none; }

/* Dimensions card: the parchment frame as a 9-slice at the 1022:1353 card shape, diagram only. */
main[data-world="jungle-module"] .bm-dims--card { display: none !important; }
main[data-world="jungle-module"] .bm-hq { aspect-ratio: 1022 / 1353; }
main[data-world="jungle-module"] .bm-hq__frame { display: none; }
main[data-world="jungle-module"] .bm-hq::before {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; box-sizing: border-box; border-style: solid; border-color: transparent;
  border-width: 19cqi 11cqi 22.5cqi 11cqi;
  border-image: url('../../assets/bundled/product-worlds/jungle-module/frame-card.webp') 280 160 330 160 fill / 19cqi 11cqi 22.5cqi 11cqi stretch;
}
main[data-world="jungle-module"] .bm-hq__safe { inset: 21cqi 15cqi 19cqi; justify-content: center; align-items: center; z-index: 2; gap: 0; }
main[data-world="jungle-module"] .bm-hq__open::after { inset: -21cqi -15cqi -19cqi; }
main[data-world="jungle-module"] .bm-hq__open,
main[data-tier="classic"][data-world="jungle-module"] .bm-hq__open,
main[data-tier="deluxe"][data-world="jungle-module"] .bm-hq__open { width: 100%; margin: 0; }
main[data-tier="ultimate"][data-world="jungle-module"] .bm-hq__diagram-wrap--carousel { width: 100%; margin: 0; }
main[data-world="jungle-module"] .bm-panel { z-index: 1; isolation: isolate; }
main[data-world="jungle-module"] .bm-hq { z-index: 2; }
main[data-world="jungle-module"] .bm-hq .bm-dims-carousel__arrow--prev { left: -9cqi; }
main[data-world="jungle-module"] .bm-hq .bm-dims-carousel__arrow--next { right: -9cqi; }

/* Crew cards: the parchment frame as a 9-slice at the 1054:1409 card shape (1 card width = 100cqi, card height = 133.7cqi).
   One geometry for PC and phone. Heading at the top of the face, picture and text in the middle, price and switch at the bottom. */
main[data-world="jungle-module"] .bm-crew__panel {
  aspect-ratio: 1054 / 1409;
  padding: 0 !important;
  border: 0 !important;
  border-image: none !important;
  background: none;
  box-shadow: none;
  container-type: inline-size;
  position: relative;
  width: min(100%, 420px);
}
main[data-world="jungle-module"] .bm-crew__panel::before {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none; box-sizing: border-box; border-style: solid; border-color: transparent;
  border-width: 18.5cqi 10.3cqi 21.5cqi 10.3cqi;
  border-image: url('../../assets/bundled/product-worlds/jungle-module/frame-card.webp') 280 160 330 160 fill / 18.5cqi 10.3cqi 21.5cqi 10.3cqi stretch;
}
main[data-world="jungle-module"] .bm-crew__frame { display: none !important; }
main[data-world="jungle-module"] .bm-crew__top {
  position: absolute; left: 14cqi; right: 14cqi; top: 22cqi; height: 10cqi;
  display: flex; align-items: center; justify-content: center; text-align: center; z-index: 2;
}
main[data-world="jungle-module"] .bm-crew__top .bm-crew__heading {
  margin: 0 !important; padding: 0; max-width: none; white-space: nowrap; font-size: 6.4cqi !important; line-height: 1 !important; color: #9C3B0B;
}
main[data-world="jungle-module"] .bm-crew__safe {
  position: absolute; inset: 33cqi 14cqi 38cqi; margin: 0; padding: 0; z-index: 2;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 1.6cqi; text-align: center;
}
main[data-world="jungle-module"] .bm-crew__media { height: 46cqi !important; flex: none; width: 100%; display: flex; justify-content: center; align-items: center; margin: 0 !important; }
main[data-world="jungle-module"] .bm-crew__media img,
main[data-world="jungle-module"] .bm-crew__panel--water .bm-crew__media img.bm-water__img { height: 100%; width: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
main[data-world="jungle-module"] .bm-crew__safe .bm-crew__text { position: static; transform: none; max-width: 66cqi; width: 100%; margin: 0; font-size: max(14px, 3.6cqi); line-height: 1.25; }
main[data-world="jungle-module"] .bm-crew__bottom {
  position: absolute; left: 14cqi; right: 14cqi; top: 94.5cqi; height: 16cqi;
  display: flex; align-items: center; justify-content: center; z-index: 2;
}
main[data-world="jungle-module"] .bm-crew__bottom .bm-crew__controls { width: 100%; gap: 0; align-items: center; justify-content: center; }
main[data-world="jungle-module"] .bm-crew__bottom .bm-crew__row { flex-direction: column; flex-wrap: nowrap; gap: 0.5cqi; justify-content: center; align-items: center; }
main[data-world="jungle-module"] .bm-crew__bottom .attendant__rate { margin: 0; white-space: nowrap; font-size: max(13px, 3.4cqi); }
main[data-world="jungle-module"] .bm-crew .bm-crew__bottom .attendant__rate strong { font-size: max(20px, 5.4cqi); }
main[data-world="jungle-module"] .bm-crew .bm-crew__bottom .bm-switch { flex-direction: row; gap: 1.6cqi; margin: 0; }
main[data-world="jungle-module"] .bm-crew .bm-crew__bottom .bm-switch__text { font-size: max(13px, 3.3cqi); white-space: nowrap; }
main[data-world="jungle-module"] .bm-crew__safe .bm-water__note { margin: 0; font-size: max(12px, 3cqi); }
@media (max-width: 767px) {
  /* Phones: taller card, the same 9-slice, so the face grows and the corners keep their shape. */
  main[data-world="jungle-module"] .bm-crew__panel { aspect-ratio: 1054 / 1560; }
  main[data-world="jungle-module"] .bm-crew__safe { inset: 33cqi 14cqi 42cqi; }
  main[data-world="jungle-module"] .bm-crew__media { height: 56cqi !important; }
  main[data-world="jungle-module"] .bm-crew__bottom { top: auto; bottom: 20cqi; height: 20cqi; }
  main[data-world="jungle-module"] .bm-crew__panels { gap: 28px; }
  main[data-world="jungle-module"] .bm-crew__panel { width: min(100%, 420px); max-width: none; margin-inline: auto; }
}
main[data-tier="classic"][data-world="jungle-module"] .bm-crew__panel--solo { flex: 0 0 min(88vw, 600px) !important; width: min(88vw, 600px) !important; }
@media (min-width: 768px) {
  main[data-tier="classic"][data-world="jungle-module"] .bm-crew__panel--solo { flex: 0 0 calc(50% - 24px) !important; width: calc(50% - 24px) !important; }
}
@media (max-width: 767px) {
  main[data-tier="classic"][data-world="jungle-module"] .bm-crew__panel--solo { flex: 0 0 auto !important; width: min(100%, 420px) !important; }
}

/* Treat Add: the plus hangs at the left so the label itself is centred. */
main[data-world="jungle-module"] .bm-treats .addon-add { position: relative; }
main[data-world="jungle-module"] .bm-treats .addon-add[aria-pressed="false"]::before { position: absolute; left: 22px; top: 50%; translate: 0 -50%; }

main[data-world="jungle-module"] .bm-hero { position: relative; }
main[data-world="jungle-module"] .bm-treats .treats__inner { position: relative; z-index: 4; }

/* Phone section titles (PC titles are sized by product-section-titles.css). */
@media (max-width: 767px) {
  main[data-world="jungle-module"] .bm-details__heading { width: min(84%, 328px); }
  main[data-world="jungle-module"] .bm-crew__title { width: min(81%, 315px); }
  main[data-world="jungle-module"] #treats-title { width: min(84%, 320px) !important; }
  main[data-world="jungle-module"] #related-title { width: min(77%, 300px) !important; }
  main[data-world="jungle-module"] :is(#treats-title, #related-title) img { width: 100%; }
  main[data-world="jungle-module"] :is(.bm-details__heading, .bm-crew__title) img { width: 100%; }
}
main[data-world="jungle-module"] :is(.bm-details__heading, .bm-crew__title, #treats-title img, #related-title img) {
  filter: drop-shadow(0 2px 6px rgb(40 34 12 / 0.45)) drop-shadow(0 0 14px rgb(255 246 218 / 0.5));
}
main[data-world="jungle-module"] :is(#treats-title, #related-title) { width: 100% !important; max-width: none !important; margin-inline: auto; }

/* ---------- Hero proportions matched to Batman ---------- */
@media (min-width: 1100px) {
  main[data-world="jungle-module"] .bm-hero__stage { grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); align-items: center; }
  main[data-world="jungle-module"] .bm-hero__card { align-self: center; min-height: 575px; justify-content: center; }
  main[data-world="jungle-module"] .bm-hero__product { transform: none; align-self: center; margin-top: 0; }
}
@media (min-width: 768px) and (max-width: 1099px) {
  main[data-world="jungle-module"] .bm-hero__stage { grid-template-columns: minmax(0, 1fr); grid-template-areas: "title" "product" "card"; row-gap: 24px; }
  main[data-world="jungle-module"] .bm-hero__product { width: min(100%, 560px); justify-self: center; transform: none; }
}
@media (min-width: 1100px) and (max-width: 1399px) {
  main[data-world="jungle-module"] .bm-hero__stage { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
  main[data-world="jungle-module"] .bm-hero__card .rental-rates { column-gap: 8px; }
  main[data-world="jungle-module"] .bm-hero__card .rental-rates label { font-size: 14px; }
}
@media (min-width: 768px) { main[data-world="jungle-module"] .bm-hero__card { gap: 14px; } }
main[data-world="jungle-module"] .bm-hero__card > .bm-hero__booking { z-index: 3; }

/* 2026-10-08: product visible centre on the hero card centre (desktop). */
@media (min-width: 1024px) { main[data-world="jungle-module"] .bm-hero__img { translate: 0 1.6vw; } }

/* Details row: description card and dimensions card share one top and one bottom edge.
   Widths split 65.8 : 34.2 so that 1401/963 and 1022/1353 give the same height. */
@media (min-width: 900px) {
  html body main[data-world="jungle-module"] .bm-details__stage {
    display: grid !important;
    grid-template-columns: minmax(0, 65.8fr) minmax(0, 34.2fr) !important;
    column-gap: 3% !important;
    width: min(calc(100% - 28px), 1800px) !important;
    margin-inline: auto !important;
    align-items: start !important;
    justify-items: stretch !important;
  }
  html body main[data-world="jungle-module"] .bm-details__stage > .bm-hq { width: 92% !important; justify-self: end !important; align-self: end !important; translate: 0 1.05%; }
  html body main[data-world="jungle-module"] .bm-details__stage > .bm-panel {
    width: 100% !important;
    min-width: 0;
    justify-self: stretch !important;
    margin-inline: 0 !important;
    margin-top: 0 !important;
  }
}
@media (min-width: 768px) and (max-width: 899px) {
  html body main[data-world="jungle-module"] .bm-details__stage > .bm-panel { container-type: normal; aspect-ratio: auto; width: 100% !important; }
  html body main[data-world="jungle-module"] .bm-panel__frame { display: none; }
  html body main[data-world="jungle-module"] .bm-panel__safe { position: static; inset: auto; display: flex; flex-direction: column; gap: 26px; }
  html body main[data-world="jungle-module"] .bm-details__description { font-size: 20px !important; max-width: 40ch !important; }
}
}

/* ==== Mobile round M1 (Sabrina, 2026-10-03), shared by every product page ====
   - No dimension numbers anywhere (standing rule 19/28): the Length/Width/Height/Weight list is gone.
   - Phones: the title lettering sits ABOVE the product (Jungle template once fixed); where the h1 lives
     in the card, a phone-only copy is drawn above the product and the card h1 stays for screen readers.
   - Phones: the Classic house hero card carries a short line under the features. */
html body main[data-world] .bm-dims, html body main[data-world] dl.bm-dims--card { display: none !important; }
@media (min-width: 768px) {
  html body main[data-world] .bm-hero__title-top, html body main[data-world] .bm-hero__blurb--phone { display: none !important; }
}
@media (max-width: 767px) {
  html body main[data-world] .bm-hero__stage:has(> .bm-hero__title-top) { display: grid !important; grid-template-columns: minmax(0, 1fr) !important; grid-template-areas: "ttop" "product" "card" !important; }
  html body main[data-world] .bm-hero__title-top { display: block !important; grid-area: ttop; justify-self: center; margin: 0 auto !important; padding: 0 !important; line-height: 0; position: relative; z-index: 3; }
  html body main[data-world] .bm-hero__title-top-img { display: block; width: auto; height: 22vw; max-width: 92vw; object-fit: contain; filter: drop-shadow(0 6px 14px rgb(0 0 0 / 0.22)); }
  html body main[data-world] .bm-hero__stage:has(> .bm-hero__title-top) .bm-hero__card h1.bm-hero__title {
    position: absolute !important; width: 1px !important; height: 1px !important; margin: 0 !important; padding: 0 !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; clip-path: inset(50%) !important; white-space: nowrap !important;
  }
  html body main[data-world] p.bm-hero__blurb--phone {
    display: block !important; margin: 0 auto !important; padding: 0 2% !important; max-width: 100%; text-align: center !important;
    font-size: 15px !important; line-height: 1.4 !important; letter-spacing: 0 !important; text-transform: none !important; color: inherit;
  }
}
@media (max-width: 767px) {
  /* The card's own top edge shows again now the title no longer covers it. */
  html body main[data-world] .bm-hero__stage:has(> .bm-hero__title-top) .bm-hero__card :is(.bm-hero__frame-tl, .bm-hero__frame-t1, .bm-hero__frame-tc, .bm-hero__frame-t2, .bm-hero__frame-tr) { visibility: visible !important; }
  /* The scenery covers the whole hero (the title above the product makes it taller). */
  html body main[data-world] section.bm-hero:has(.bm-hero__title-top) > .bm-hero__scenery { position: absolute !important; inset: 0 !important; height: 100% !important; }
  html body main[data-world] section.bm-hero:has(.bm-hero__title-top) > .bm-hero__scenery img { width: 100% !important; height: 100% !important; object-fit: cover !important; object-position: 50% 0 !important; }
  html body main[data-world] p.bm-hero__blurb--phone { white-space: normal !important; width: 100% !important; box-sizing: border-box; overflow-wrap: break-word; }
}
@media (max-width: 767px) {
  /* Popups open in the middle of the screen. */
  html body main dialog.bm-dialog[open] { display: flex !important; flex-direction: column; align-items: center; justify-content: center; }
  /* Dimensions card: with the numbers gone, the diagram sits in the middle of the card face. */
  html body main[data-world] .bm-hq__safe { justify-content: center !important; align-items: center !important; }
}

/* Phones: the popup card is the blue card drawn as a 9-slice and grown taller, so the whole list fits on its face. */
@media (max-width: 767px) {
  html body main dialog.bm-dialog--info .bm-dialog__title .bm-lettering__img { height: 52px !important; width: auto !important; max-width: 74% !important; margin: 0 auto !important; object-fit: contain; }
  html body main dialog.bm-dialog--info .bm-dialog__head { min-height: 0 !important; }
  html body main dialog.bm-dialog--info .bm-dialog__label { margin: 2px 0 6px !important; }
  html body main dialog.bm-dialog--info .bm-dialog__body { font-size: 14px !important; line-height: 1.32 !important; }
  html body main dialog.bm-dialog--info .bm-dialog__body li { padding-top: 5px !important; padding-bottom: 5px !important; margin-top: 0 !important; margin-bottom: 0 !important; }
  html body main[data-world] dialog.bm-dialog--info .bm-dialog__art { display: none !important; }
  html body main[data-world] dialog.bm-dialog--info .bm-dialog__frame { aspect-ratio: auto !important; height: 138vw !important; }
  html body main[data-world] dialog.bm-dialog--info .bm-dialog__frame::before {
    content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none; box-sizing: border-box; border-style: solid;
    border-width: 20.1vw 11.5vw 23.7vw 11.5vw;
    border-image: url('../../assets/bundled/product-worlds/jungle-module/frame-card.webp') 280 160 330 160 fill / 20.1vw 11.5vw 23.7vw 11.5vw stretch;
  }
  html body main[data-world] dialog.bm-dialog--info .bm-dialog__safe { top: 23vw !important; bottom: 24vw !important; left: 15vw !important; right: 15vw !important; z-index: 1; }
  html body main dialog.bm-dialog--info .bm-dialog__head { position: static !important; display: block !important; padding: 0 44px !important; text-align: center; }
  html body main dialog.bm-dialog--info .bm-dialog__title { margin-left: auto !important; margin-right: auto !important; text-align: center !important; }
  html body main dialog.bm-dialog--info .bm-dialog__close { position: absolute !important; top: -6px !important; right: -10px !important; left: auto !important; translate: none !important; margin: 0 !important; z-index: 3; }
}

/* M1 phones, Jungle ratios: section titles at the template width;  */
@media (max-width: 767px) {
  html body main[data-world] h2#bm-details-title { width: 76vw !important; max-width: 76vw !important; margin-left: auto !important; margin-right: auto !important; }
  html body main[data-world] h2#bm-details-title img { width: 100% !important; height: auto !important; }
  html body main[data-world] h2#related-title, html body main[data-world] h2#related-title img { max-width: 73vw !important; margin-left: auto !important; margin-right: auto !important; }
}

/* Related cards sit inside the world's themed card, the same card as the treats (Sabrina 2026-10-04). */
html body main[data-world="jungle-module"] .bm-related .card { padding: 14px 14px 24px !important; border: 1px solid rgba(156, 59, 11, 0.7) !important; background: linear-gradient(rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.92) 58%) !important; box-shadow: rgba(0, 0, 0, 0.85) 0px 26px 50px -24px !important; border-radius: 0px !important; overflow: visible !important; }
/* Price sits exactly halfway between the name and the button. */
html body main#main[data-world="jungle-module"] .bm-related :is(.carousel-card__caption, .card__info) { gap: 10px !important; }
html body main#main[data-world="jungle-module"] .bm-related :is(.carousel-card__caption, .card__info) > * { margin: 0 !important; }
html body main#main[data-world="jungle-module"] .bm-related :is(.carousel-card__caption, .card__info) .card__name a { min-height: 0 !important; display: inline !important; }

/* Sabrina 2026-10-08: the Classic hero card's short line shows on PC too, under the features line. */
@media (min-width: 768px) {
  html body main[data-world="jungle-module"] p.bm-hero__blurb--phone {
    display: block !important; margin: 4px auto 6px !important; padding: 0 6% !important; max-width: 100%; box-sizing: border-box;
    text-align: center !important; font-size: 16px !important; line-height: 1.4 !important; letter-spacing: 0 !important; text-transform: none !important;
    white-space: normal !important; color: inherit;
  }
}

/* A pale veil calms the busy lodge scenery behind the floating products (one busy layer per section). */
main[data-world="jungle-module"] .bm-related__scenery::after { content: ''; position: absolute; inset: 0; background: linear-gradient(rgb(255 246 218 / 0.38), rgb(255 246 218 / 0.5)); pointer-events: none; }

/* The shared mobile rule nudges the Add label left for its own plus; here the plus hangs at the left edge, so the label stays centred. */
html body main[data-world="jungle-module"] .bm-treats .addon-add .addon-add__label:not(#x):not(#y) { translate: none !important; }

/* One busy layer per section: a pale parchment veil calms the scenery behind the decorated cards and photos. */
main[data-world="jungle-module"] :is(.bm-details__scenery, .bm-crew__scenery, .bm-gallery__scenery, .bm-treats__scenery)::after { content: ''; position: absolute; inset: 0; background: rgb(255 246 218 / 0.2); pointer-events: none; }
main[data-world="jungle-module"] .bm-treats__scenery::after { background: rgb(255 246 218 / 0.3); }

/* Popup close: a solid parchment disc with a dark ring, so it reads over the vines. */
html body dialog.bm-dialog:not(.bm-dialog--dims) .bm-dialog__close {
  background: #FFF6DA; border: 2px solid #7A2C08; color: #7A2C08; box-shadow: 0 2px 6px rgb(40 34 12 / 0.3);
}
@media (min-width: 768px) {
  html body dialog.bm-dialog:not(.bm-dialog--dims) .bm-dialog__close { right: 2.5cqi; top: 0.5cqi; }
}

/* ==========================================================================
   Polish round (2026-10-13)
   ========================================================================== */
/* Simplify (plain cards fit their content): parts that were pinned to the frame art (hero tagline and Check Availability,
   the dimensions View button, the attendant art, words and switch) join the card's flow so nothing overlaps. */
@media (min-width: 768px) {
  html body main#main[data-world="jungle-module"][data-mbm-simplify-pc]:not(#x):not(#y):not(#z) .bm-hero__card > .bm-hero__tagline { position: relative !important; inset: auto !important; left: auto !important; right: auto !important; top: auto !important; bottom: auto !important; transform: none !important; translate: none !important; width: 100% !important; margin: 0 auto 8px !important; }
  html body main#main[data-world="jungle-module"][data-mbm-simplify-pc]:not(#x):not(#y):not(#z) .bm-hero__card .bm-hero__actions { position: relative !important; inset: auto !important; left: auto !important; right: auto !important; top: auto !important; bottom: auto !important; transform: none !important; translate: none !important; width: 100% !important; height: auto !important; margin: 14px 0 0 !important; display: flex !important; justify-content: center !important; }
  html body main#main[data-world="jungle-module"][data-mbm-simplify-pc]:not(#x):not(#y):not(#z) .bm-hq { flex-direction: column !important; }
  html body main#main[data-world="jungle-module"][data-mbm-simplify-pc]:not(#x):not(#y):not(#z) .bm-hq .bm-hq__view { position: relative !important; inset: auto !important; left: auto !important; right: auto !important; top: auto !important; bottom: auto !important; transform: none !important; translate: none !important; margin: 12px auto 0 !important; }
  html body main#main[data-world="jungle-module"][data-mbm-simplify-pc]:not(#x):not(#y):not(#z) .bm-crew__panel .bm-crew__media { position: relative !important; inset: auto !important; left: auto !important; right: auto !important; top: auto !important; bottom: auto !important; transform: none !important; translate: none !important; width: 100% !important; height: 200px !important; margin: 0 0 8px !important; display: flex !important; justify-content: center !important; align-items: center !important; }
  html body main#main[data-world="jungle-module"][data-mbm-simplify-pc]:not(#x):not(#y):not(#z) .bm-crew__panel .bm-crew__media img { position: static !important; height: 100% !important; width: auto !important; max-width: 100% !important; }
  html body main#main[data-world="jungle-module"][data-mbm-simplify-pc]:not(#x):not(#y):not(#z) .bm-crew__panel .bm-crew__text { position: relative !important; inset: auto !important; left: auto !important; right: auto !important; top: auto !important; bottom: auto !important; transform: none !important; translate: none !important; width: auto !important; max-width: 100% !important; margin: 0 !important; }
  html body main#main[data-world="jungle-module"][data-mbm-simplify-pc]:not(#x):not(#y):not(#z) .bm-crew__panel .bm-crew__controls { position: relative !important; inset: auto !important; left: auto !important; right: auto !important; top: auto !important; bottom: auto !important; transform: none !important; translate: none !important; width: 100% !important; height: auto !important; margin: 8px 0 0 !important; }
}
@media (max-width: 767px) {
  html body main#main[data-world="jungle-module"][data-mbm-simplify-phone]:not(#x):not(#y):not(#z) .bm-hero__card > .bm-hero__tagline { position: relative !important; inset: auto !important; left: auto !important; right: auto !important; top: auto !important; bottom: auto !important; transform: none !important; translate: none !important; width: 100% !important; margin: 0 auto 8px !important; }
  html body main#main[data-world="jungle-module"][data-mbm-simplify-phone]:not(#x):not(#y):not(#z) .bm-hero__card .bm-hero__actions { position: relative !important; inset: auto !important; left: auto !important; right: auto !important; top: auto !important; bottom: auto !important; transform: none !important; translate: none !important; width: 100% !important; height: auto !important; margin: 14px 0 0 !important; display: flex !important; justify-content: center !important; }
  html body main#main[data-world="jungle-module"][data-mbm-simplify-phone]:not(#x):not(#y):not(#z) .bm-hq { flex-direction: column !important; }
  html body main#main[data-world="jungle-module"][data-mbm-simplify-phone]:not(#x):not(#y):not(#z) .bm-hq .bm-hq__view { position: relative !important; inset: auto !important; left: auto !important; right: auto !important; top: auto !important; bottom: auto !important; transform: none !important; translate: none !important; margin: 12px auto 0 !important; }
  html body main#main[data-world="jungle-module"][data-mbm-simplify-phone]:not(#x):not(#y):not(#z) .bm-crew__panel .bm-crew__media { position: relative !important; inset: auto !important; left: auto !important; right: auto !important; top: auto !important; bottom: auto !important; transform: none !important; translate: none !important; width: 100% !important; height: 180px !important; margin: 0 0 8px !important; display: flex !important; justify-content: center !important; align-items: center !important; }
  html body main#main[data-world="jungle-module"][data-mbm-simplify-phone]:not(#x):not(#y):not(#z) .bm-crew__panel .bm-crew__media img { position: static !important; height: 100% !important; width: auto !important; max-width: 100% !important; }
  html body main#main[data-world="jungle-module"][data-mbm-simplify-phone]:not(#x):not(#y):not(#z) .bm-crew__panel .bm-crew__text { position: relative !important; inset: auto !important; left: auto !important; right: auto !important; top: auto !important; bottom: auto !important; transform: none !important; translate: none !important; width: auto !important; max-width: 100% !important; margin: 0 !important; }
  html body main#main[data-world="jungle-module"][data-mbm-simplify-phone]:not(#x):not(#y):not(#z) .bm-crew__panel .bm-crew__controls { position: relative !important; inset: auto !important; left: auto !important; right: auto !important; top: auto !important; bottom: auto !important; transform: none !important; translate: none !important; width: 100% !important; height: auto !important; margin: 8px 0 0 !important; }
  html body main#main[data-world="jungle-module"][data-mbm-simplify-phone]:not(#x):not(#y):not(#z) .bm-hero:has(.bm-hero__title-top) .bm-hero__card .bm-hero__title .mbm-simp-title { display: none !important; }
}

/* Hero fits one screen (Sabrina, 2026-10-15), Princess Castle approach with the Scooby-Doo balance. PC (1100px and up):
   the hero is exactly one screen; the title lettering above and the card scale together by viewport-height steps
   (--pz) and width steps (--pzw), the card as one piece with zoom; the title clears the chrome; the house is about
   1.4 times the card's width (never more than 57vw or the room left under the title); its artwork base lines up with the card foot.
   Hero sizing and placement only. */
@media (min-width: 1100px) {
  html body main[data-world="jungle-module"] .bm-hero { --pz: 1; --pzw: 1; --pw: min(57vw, calc(823.2px * min(var(--pz), var(--pzw))), calc((100svh - 92px - 219px * min(var(--pz), var(--pzw))) / 0.947)); box-sizing: border-box; min-height: 0; height: 100svh; padding-top: 72px; padding-bottom: 12px; }
  html body main#main[data-world="jungle-module"] .bm-hero:not(#a) { padding-top: 72px; }
  html body main[data-world="jungle-module"] .bm-hero__stage { align-items: start; height: 100%; grid-template-rows: auto minmax(0, 1fr) !important; grid-template-columns: var(--pw) calc(588px * min(var(--pz), var(--pzw))) !important; justify-content: center !important; column-gap: clamp(32px, 4vw, 96px) !important; }
  html body main#main[data-world="jungle-module"] .bm-hero__title:not(#a):not(#b):not(#c) { width: calc(660px * min(var(--pz), var(--pzw))) !important; }
  html body main#main[data-world="jungle-module"] .bm-hero__card:not(#a):not(#b) { zoom: min(var(--pz), var(--pzw)); align-self: end !important; justify-self: center; width: 588px; max-width: none; min-height: calc(var(--pw) * 0.903 / min(var(--pz), var(--pzw))) !important; height: auto !important; justify-content: center !important; }
  html body main#main[data-world="jungle-module"] .bm-hero__product:not(#a) { width: var(--pw); max-width: none; justify-self: center; align-self: end; top: 0; translate: none; margin-bottom: calc(var(--pw) * -0.0106 + 0px); }
}
@media (min-width: 1100px) and (max-height: 1099px) { html body main[data-world="jungle-module"] .bm-hero { --pz: 0.98; } }
@media (min-width: 1100px) and (max-height: 1074px) { html body main[data-world="jungle-module"] .bm-hero { --pz: 0.95; } }
@media (min-width: 1100px) and (max-height: 1049px) { html body main[data-world="jungle-module"] .bm-hero { --pz: 0.93; } }
@media (min-width: 1100px) and (max-height: 1024px) { html body main[data-world="jungle-module"] .bm-hero { --pz: 0.9; } }
@media (min-width: 1100px) and (max-height: 999px) { html body main[data-world="jungle-module"] .bm-hero { --pz: 0.88; } }
@media (min-width: 1100px) and (max-height: 974px) { html body main[data-world="jungle-module"] .bm-hero { --pz: 0.85; } }
@media (min-width: 1100px) and (max-height: 949px) { html body main[data-world="jungle-module"] .bm-hero { --pz: 0.83; } }
@media (min-width: 1100px) and (max-height: 924px) { html body main[data-world="jungle-module"] .bm-hero { --pz: 0.8; } }
@media (min-width: 1100px) and (max-height: 899px) { html body main[data-world="jungle-module"] .bm-hero { --pz: 0.78; } }
@media (min-width: 1100px) and (max-height: 874px) { html body main[data-world="jungle-module"] .bm-hero { --pz: 0.75; } }
@media (min-width: 1100px) and (max-height: 849px) { html body main[data-world="jungle-module"] .bm-hero { --pz: 0.73; } }
@media (min-width: 1100px) and (max-height: 824px) { html body main[data-world="jungle-module"] .bm-hero { --pz: 0.7; } }
@media (min-width: 1100px) and (max-height: 799px) { html body main[data-world="jungle-module"] .bm-hero { --pz: 0.68; } }
@media (min-width: 1100px) and (max-height: 774px) { html body main[data-world="jungle-module"] .bm-hero { --pz: 0.65; } }
@media (min-width: 1100px) and (max-height: 749px) { html body main[data-world="jungle-module"] .bm-hero { --pz: 0.63; } }
@media (min-width: 1100px) and (max-height: 724px) { html body main[data-world="jungle-module"] .bm-hero { --pz: 0.6; } }
@media (min-width: 1100px) and (max-height: 699px) { html body main[data-world="jungle-module"] .bm-hero { --pz: 0.58; } }
@media (min-width: 1100px) and (max-height: 674px) { html body main[data-world="jungle-module"] .bm-hero { --pz: 0.55; } }
@media (min-width: 1100px) and (max-height: 649px) { html body main[data-world="jungle-module"] .bm-hero { --pz: 0.53; } }
@media (min-width: 1100px) and (max-height: 624px) { html body main[data-world="jungle-module"] .bm-hero { --pz: 0.5; } }
@media (min-width: 1100px) and (max-width: 1679px) { html body main[data-world="jungle-module"] .bm-hero { --pzw: 0.98; } }
@media (min-width: 1100px) and (max-width: 1599px) { html body main[data-world="jungle-module"] .bm-hero { --pzw: 0.93; } }
@media (min-width: 1100px) and (max-width: 1519px) { html body main[data-world="jungle-module"] .bm-hero { --pzw: 0.87; } }
@media (min-width: 1100px) and (max-width: 1439px) { html body main[data-world="jungle-module"] .bm-hero { --pzw: 0.82; } }
@media (min-width: 1100px) and (max-width: 1359px) { html body main[data-world="jungle-module"] .bm-hero { --pzw: 0.76; } }
@media (min-width: 1100px) and (max-width: 1279px) { html body main[data-world="jungle-module"] .bm-hero { --pzw: 0.71; } }
@media (min-width: 1100px) and (max-width: 1199px) { html body main[data-world="jungle-module"] .bm-hero { --pzw: 0.65; } }

/* Ultimate hero uses the same title and house placement as the other Jungle tiers. */
@media (min-width: 1100px) {
  html body main[data-world="jungle-module"][data-tier="ultimate"] [data-mbm-edit="hero_title_img"]:not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n),
  html body main[data-world="jungle-module"][data-tier="ultimate"] [data-mbm-edit="hero_product_img"]:not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n):not(#mbm-n) { translate: none !important; scale: none !important; }
}
