/* ==========================================================================
   55 Foot Obstacle Course world (batch 2026-10-10): the fixed Moon Bounce world CSS
   copied whole, world swapped in the "55 Foot Obstacle Course join" block at the end.
   Loaded on /rentals/obstacle-course-50ft/ only, after every shared layer. Every rule
   is scoped to .bm-* or [data-world="obstacle-course-50ft"].
   Supplied art only (final assets/Obstacle Courses/50 Foot Obstacle Course and the
   batch art-shared folder).

   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.
   Safe areas were measured on the converted art (see the join block at the end).
   ========================================================================== */

@font-face {
  font-family: 'Chewy';
  src: url('../fonts/obstacle55/chewy.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Patrick Hand';
  src: url('../fonts/obstacle55/patrick-hand.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  size-adjust: 112%;
}

main[data-world="obstacle-course-50ft"],
[data-world="obstacle-course-50ft"] {
  --orn-w: min(100vw, calc(32vw + 280px), 900px);
  --orn-h: calc(var(--orn-w) / 3.777);
  /* Bright Finding Nemo world (Sabrina, 2026-09-28): pale aqua frame interiors, deep ocean ink. */
  --bm-gold: #0B5FA5;
  --bm-gold-soft: #084A85;
  --bm-ivory: #0A2A55;
  --bm-ivory-dim: #3D5B80;
  --bm-navy: #EAF8FF;
  --bm-veil: rgb(10 42 85 / 0.72);
  --bm-ease: cubic-bezier(0.22, 1, 0.36, 1); /* the site's --ease-enter */
  --bm-serif: 'Chewy', 'Trebuchet MS', cursive;
  --bm-sans: 'Patrick Hand', 'Comic Sans MS', cursive;
  font-synthesis: none;
}
/* Type, ink and alignment: the Finding Nemo sections only. The shared footer
   (.closing) sits inside <main> and keeps its site-wide styling. */
main[data-world="obstacle-course-50ft"] > section,
section[data-world="obstacle-course-50ft"] {
  --font-display: var(--bm-serif);
  --font-body: var(--bm-sans);
  font-family: var(--bm-sans);
  color: var(--bm-ivory);
  text-align: center;
}
/* The shared celebration layer forces DM Serif Display on every h1-h3 with
   !important; this page keeps Chewy (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;
}
main[data-world="obstacle-course-50ft"] > 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: 1632 / 912;
  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: 1200 / 360; /* Finding Nemo cta-shell, trimmed (2009x446) */
  /* 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(10 42 85 / 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, Chewy). */
.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.14em !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(234 248 255 / 0.9) 0%, rgb(234 248 255 / 0.84) 52%, rgb(234 248 255 / 0.5) 76%, rgb(234 248 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.7895));
  position: fixed;
  inset: 0;
  margin: auto;
  width: var(--dw);
  height: auto;
  max-width: none;
  max-height: none;
  aspect-ratio: 1632 / 912;
  padding: 0;
  border: 0;
  background: none;
  color: var(--bm-ivory);
  overflow: visible;
  font-family: var(--bm-sans);
  --bm-gold: #0B5FA5;
  --bm-gold-soft: #084A85;
  --bm-ivory: #0A2A55;
  --bm-navy: #EAF8FF;
  --bm-serif: 'Chewy', 'Trebuchet MS', cursive;
  --bm-sans: 'Patrick Hand', 'Comic Sans MS', cursive;
  --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(234 248 255 / 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(234 248 255 / 0.86)); }
@starting-style {
  dialog.bm-dialog[open]::backdrop { background: rgb(234 248 255 / 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.16em !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(255 138 30 / 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.16em !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: rgb(10 42 85 / 0.9); }
.bm-faq__a p + p { margin-top: 0.4em; }
.bm-faq__a [data-placeholder="true"] { color: rgb(10 42 85 / 0.72); 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.7895)); }
.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: Chewy (display, labels,
   prices) and Patrick Hand (body). Scenery sits behind each section and
   feathers into the navy page ground, so sections join without edges.
   ========================================================================== */

main[data-world="obstacle-course-50ft"] {
  background: var(--bm-navy) !important;
  /* Shared chip and button tokens (cohesion.css) in the template palette. */
  --chip-edge: rgb(11 95 165 / 0.55);
  --chip-glow: #FF8A1E;
  --focus-ink: #0A2A55;
}

/* Scenery layers: cover, feathered top and bottom into the navy ground. */
main[data-world="obstacle-course-50ft"] .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="obstacle-course-50ft"] .bm-scenery img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* The shared sections' own painted grounds give way to the template scenery. */
main[data-world="obstacle-course-50ft"] :is(.treats, .related)::before { content: none !important; }
main[data-world="obstacle-course-50ft"] :is(.treats, .related) { background: none !important; }

/* Plaque buttons: CTA shell 15 with a live Chewy label in its navy plaque. */
main[data-world="obstacle-course-50ft"] .bm-plaque-btn {
  position: relative;
  display: grid;
  place-items: center;
  width: min(100%, 320px);
  aspect-ratio: 1200 / 360; /* Finding Nemo cta-shell, trimmed (2009x446) */
  margin-inline: auto;
  color: #16161F;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transition: transform 140ms var(--bm-ease);
}
main[data-world="obstacle-course-50ft"] .bm-plaque-btn__shell {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  transition: filter 280ms var(--bm-ease);
}
main[data-world="obstacle-course-50ft"] .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.14em;
  text-transform: uppercase;
  line-height: 1;
  text-shadow: 0 1px 10px rgb(255 138 30 / 0.35);
}
main[data-world="obstacle-course-50ft"] .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="obstacle-course-50ft"] .bm-plaque-btn::after {
  content: '';
  position: absolute;
  inset: 7.3% 2.1% 9.1%;
  border-radius: 999px;
  pointer-events: none;
}
main[data-world="obstacle-course-50ft"] .bm-plaque-btn:focus-visible { outline: none; }
main[data-world="obstacle-course-50ft"] .bm-plaque-btn:focus-visible::after { outline: 2px solid var(--bm-ivory); outline-offset: 3px; }
main[data-world="obstacle-course-50ft"] .bm-plaque-btn:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) {
  main[data-world="obstacle-course-50ft"] .bm-plaque-btn:hover .bm-plaque-btn__shell { filter: brightness(1.14) saturate(1.05); }
  main[data-world="obstacle-course-50ft"] .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="obstacle-course-50ft"] .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="obstacle-course-50ft"] .bm-switch__input {
  position: absolute !important;
  opacity: 0;
  width: 1px !important;
  height: 1px !important;
  margin: 0;
}
main[data-world="obstacle-course-50ft"] .bm-switch__track {
  position: relative;
  flex: none;
  width: 48px;
  height: 28px;
  border: 1.5px solid var(--bm-gold);
  border-radius: 999px;
  background: rgb(234 248 255 / 0.6);
  transition: background-color 200ms var(--bm-ease);
}
main[data-world="obstacle-course-50ft"] .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="obstacle-course-50ft"] .bm-switch__input:checked + .bm-switch__track { background: var(--bm-gold); }
main[data-world="obstacle-course-50ft"] .bm-switch__input:checked + .bm-switch__track::after { transform: translateX(20px); background: var(--bm-navy); }
main[data-world="obstacle-course-50ft"] .bm-switch__input:focus-visible + .bm-switch__track { outline: 2px solid var(--bm-ivory); outline-offset: 3px; }
main[data-world="obstacle-course-50ft"] .bm-switch:active .bm-switch__track::after { width: 23px; }
main[data-world="obstacle-course-50ft"] .bm-switch__input:checked + .bm-switch__track:active::after { transform: translateX(16px); }

/* ---------- 1. Hero ------------------------------------------------------- */
main[data-world="obstacle-course-50ft"] .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="obstacle-course-50ft"] .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="obstacle-course-50ft"] .bm-hero__scenery img { object-position: 50% 40%; }
main[data-world="obstacle-course-50ft"] .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="obstacle-course-50ft"] .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="obstacle-course-50ft"] .bm-hero__product {
  position: relative;
  width: min(100%, 820px);
  justify-self: center;
  padding-bottom: 5%;
}
main[data-world="obstacle-course-50ft"] .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="obstacle-course-50ft"] .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="obstacle-course-50ft"] .bm-hero__copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}
main[data-world="obstacle-course-50ft"] :is(.bm-hero__eyebrow, .bm-hero__title, .bm-hero__tagline) { margin: 0; line-height: 0; }
main[data-world="obstacle-course-50ft"] :is(.bm-hero__eyebrow, .bm-hero__title, .bm-hero__tagline) img { display: block; width: 100%; height: auto; }
main[data-world="obstacle-course-50ft"] .bm-hero__eyebrow { width: min(84%, 360px); }
main[data-world="obstacle-course-50ft"] .bm-hero__title { width: min(100%, 560px); }
main[data-world="obstacle-course-50ft"] .bm-hero__tagline { width: min(80%, 340px); }
main[data-world="obstacle-course-50ft"] .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="obstacle-course-50ft"] .bm-hero__copy .phero__line:empty { display: none; }
main[data-world="obstacle-course-50ft"] .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="obstacle-course-50ft"] .bm-hero__booking:has(.rental-rates) .world-price { display: none; }
main[data-world="obstacle-course-50ft"] .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="obstacle-course-50ft"] :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="obstacle-course-50ft"] :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.18em;
  text-transform: uppercase;
  text-align: center;
  color: var(--bm-gold);
}
main[data-world="obstacle-course-50ft"] .wetdry__group { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
main[data-world="obstacle-course-50ft"] :is(.rental-rates, .wetdry) label { position: relative; display: block; margin: 0; cursor: pointer; }
main[data-world="obstacle-course-50ft"] :is(.rental-rates, .wetdry) input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  margin: 0;
  cursor: pointer;
}
main[data-world="obstacle-course-50ft"] :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(11 95 165 / 0.55) !important;
  border-radius: 999px !important;
  background: rgb(234 248 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="obstacle-course-50ft"] .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="obstacle-course-50ft"] .wetdry__opt svg { width: 12px; height: 12px; margin-right: 6px; color: #16161F; }
main[data-world="obstacle-course-50ft"] :is(.rental-rates input:checked + span, .wetdry__opt input:checked + span) {
  border-color: var(--bm-gold) !important;
  background: linear-gradient(rgb(255 138 30 / 0.22), rgb(255 138 30 / 0.1)), rgb(234 248 255 / 0.86) !important;
  box-shadow: inset 0 0 0 1px var(--bm-gold), 0 0 22px rgb(255 138 30 / 0.28) !important;
}
main[data-world="obstacle-course-50ft"] :is(.rental-rates input:checked + span, .wetdry__opt input:checked + span)::after {
  color: var(--bm-gold);
  margin-left: 2px !important;
}
main[data-world="obstacle-course-50ft"] :is(.rental-rates, .wetdry) input:focus-visible + span { outline: 2px solid var(--bm-ivory) !important; outline-offset: 3px !important; }
main[data-world="obstacle-course-50ft"] :is(.rental-rates, .wetdry) label:active > span { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) {
  main[data-world="obstacle-course-50ft"] :is(.rental-rates, .wetdry) input:not(:checked):hover + span { border-color: var(--bm-gold) !important; }
}
main[data-world="obstacle-course-50ft"] .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="obstacle-course-50ft"] .wetdry:has(input[value="wet"]:checked) .wetdry__note { display: block; }
main[data-world="obstacle-course-50ft"] .bm-hero__actions { width: 100%; margin-top: 4px; }

/* ---------- 3. Attendant + water ------------------------------------------ */
main[data-world="obstacle-course-50ft"] .bm-crew {
  position: relative;
  isolation: isolate;
  padding: calc(var(--orn-h) * 0.4 + 56px) 20px 110px;
}
main[data-world="obstacle-course-50ft"] .bm-crew__scenery img { object-position: 50% 55%; }
main[data-world="obstacle-course-50ft"] .bm-crew__title { width: min(86%, 520px); margin: 0 auto clamp(18px, 2.6vw, 36px); }
main[data-world="obstacle-course-50ft"] .bm-crew__panels {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(20px, 4vw, 64px);
}
main[data-world="obstacle-course-50ft"] .bm-crew__panel {
  position: relative;
  width: min(100%, 440px);
  aspect-ratio: 1122 / 1402;
  container-type: inline-size;
}
main[data-world="obstacle-course-50ft"] .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="obstacle-course-50ft"] .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="obstacle-course-50ft"] .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="obstacle-course-50ft"] .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="obstacle-course-50ft"] .bm-crew__safe > p.attendant__note { font-size: max(13px, 3cqi); color: var(--bm-ivory-dim); }
main[data-world="obstacle-course-50ft"] .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="obstacle-course-50ft"] .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="obstacle-course-50ft"] .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="obstacle-course-50ft"] .bm-stepper__row { display: inline-flex; align-items: center; gap: 6px; }
main[data-world="obstacle-course-50ft"] .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="obstacle-course-50ft"] .bm-stepper__btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
main[data-world="obstacle-course-50ft"] .bm-stepper__btn:disabled { opacity: 0.32; cursor: default; }
main[data-world="obstacle-course-50ft"] .bm-stepper__btn:not(:disabled):active { transform: scale(0.93); }
main[data-world="obstacle-course-50ft"] .bm-stepper__btn:focus-visible { outline: 2px solid var(--bm-ivory); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) {
  main[data-world="obstacle-course-50ft"] .bm-stepper__btn:not(:disabled):hover { background: rgb(255 138 30 / 0.14); }
}
main[data-world="obstacle-course-50ft"] .bm-stepper input {
  width: 52px !important;
  min-height: 44px !important;
  padding: 0 !important;
  border: 1px solid rgb(11 95 165 / 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="obstacle-course-50ft"] .bm-stepper input::-webkit-inner-spin-button,
main[data-world="obstacle-course-50ft"] .bm-stepper input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
main[data-world="obstacle-course-50ft"] .bm-stepper input:disabled { opacity: 0.5; }
main[data-world="obstacle-course-50ft"] .bm-stepper input:focus-visible { outline: 2px solid var(--bm-ivory); outline-offset: 2px; }
main[data-world="obstacle-course-50ft"] .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="obstacle-course-50ft"] .bm-crew__panel--attendant:has(#attendant:not(:checked)) .bm-stepper output { opacity: 0.55; }
main[data-world="obstacle-course-50ft"] .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="obstacle-course-50ft"] .bm-water__note { margin: 0; font-size: max(14px, 3.3cqi); color: var(--bm-ivory-dim); }

/* ---------- 4. Carousel: the shared in-action carousel, framed ------------- */
main[data-world="obstacle-course-50ft"] .bm-gallery {
  position: relative;
  padding: clamp(32px, 5vw, 72px) clamp(16px, 4vw, 64px);
  background: radial-gradient(ellipse 70% 60% at 50% 45%, #0A2A55 0%, rgb(234 248 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="obstacle-course-50ft"] .bm-gallery__stage {
  position: relative;
  width: min(100%, 1240px);
  margin-inline: auto;
  padding: 8px;
  border: 1px solid rgb(11 95 165 / 0.7);
  box-shadow: 0 30px 60px -30px rgb(0 0 0 / 0.8);
}
main[data-world="obstacle-course-50ft"] .bm-gallery__stage::before {
  content: '';
  position: absolute;
  inset: 3px;
  border: 1px solid rgb(11 95 165 / 0.22);
  pointer-events: none;
}
main[data-world="obstacle-course-50ft"] .bm-gallery .mbm-car { aspect-ratio: 2 / 1; background: var(--bm-navy); }
main[data-world="obstacle-course-50ft"] .bm-gallery .mbm-car__slide { transition: opacity 600ms var(--bm-ease); }
main[data-world="obstacle-course-50ft"] .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(234 248 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="obstacle-course-50ft"] .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="obstacle-course-50ft"] .bm-gallery .mbm-car__prev::before { transform: scaleX(-1); }
main[data-world="obstacle-course-50ft"] .bm-gallery .mbm-car__prev { left: 18px; }
main[data-world="obstacle-course-50ft"] .bm-gallery .mbm-car__next { right: 18px; }
main[data-world="obstacle-course-50ft"] .bm-gallery .mbm-car__arw:active { transform: translateY(-50%) scale(0.94); }
main[data-world="obstacle-course-50ft"] .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="obstacle-course-50ft"] .bm-gallery .mbm-car__arw:hover { background: rgb(255 138 30 / 0.2); opacity: 1; }
}
main[data-world="obstacle-course-50ft"] .bm-gallery .mbm-car__dots { gap: 6px; bottom: 14px; }
main[data-world="obstacle-course-50ft"] .bm-gallery .mbm-car__dot {
  position: relative;
  width: 28px;
  height: 28px;
  background: none;
  box-shadow: none;
}
main[data-world="obstacle-course-50ft"] .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(11 95 165 / 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="obstacle-course-50ft"] .bm-gallery .mbm-car__dot.on::before { width: 22px; background: var(--bm-gold); }
main[data-world="obstacle-course-50ft"] .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="obstacle-course-50ft"] .bm-cta {
  position: relative;
  isolation: isolate;
  min-height: clamp(560px, 52vw, 820px);
  display: grid;
  place-items: center;
  padding: 120px 20px;
}
main[data-world="obstacle-course-50ft"] .bm-cta__scenery img { object-position: 50% 60%; }
main[data-world="obstacle-course-50ft"] .bm-cta__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  width: min(100%, 620px);
}
/* A soft moonlit reading zone behind the words, no edges. */
main[data-world="obstacle-course-50ft"] .bm-cta__inner::before {
  content: '';
  position: absolute;
  inset: -60px -90px;
  z-index: -1;
  background: radial-gradient(closest-side, rgb(234 248 255 / 0.72), rgb(234 248 255 / 0.4) 60%, rgb(234 248 255 / 0));
  pointer-events: none;
}
main[data-world="obstacle-course-50ft"] .bm-cta__title { width: min(92%, 560px); margin: 0; line-height: 0; }
main[data-world="obstacle-course-50ft"] .bm-cta__line {
  margin: 0;
  font-family: var(--bm-serif);
  font-size: clamp(18px, 1.6vw, 24px);
  letter-spacing: 0.06em;
  color: var(--bm-ivory);
}
main[data-world="obstacle-course-50ft"] .bm-plaque-btn--cta { width: min(100%, 360px); }
main[data-world="obstacle-course-50ft"] .bm-lettering__img { display: block; width: 100%; height: auto; }

/* ---------- 6. Concessions ------------------------------------------------ */
main[data-world="obstacle-course-50ft"] .bm-treats {
  position: relative;
  isolation: isolate;
  padding: 110px clamp(16px, 5vw, 72px) 110px !important;
}
main[data-world="obstacle-course-50ft"] .bm-treats .treats__inner { max-width: 1120px; margin-inline: auto; align-items: center; }
main[data-world="obstacle-course-50ft"] .bm-treats .treats__head { margin: 0 auto 34px; text-align: center; }
main[data-world="obstacle-course-50ft"] :is(#treats-title, #related-title) {
  font-family: var(--bm-serif) !important;
  font-size: clamp(30px, 3vw, 44px) !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(234 248 255 / 0.9);
  text-align: center;
}
main[data-world="obstacle-course-50ft"] .treats__line {
  margin: 10px auto 0;
  max-width: 44ch;
  font-size: 17px;
  color: var(--bm-ivory);
  text-shadow: 0 1px 10px rgb(234 248 255 / 0.95);
}
main[data-world="obstacle-course-50ft"] .bm-treats .treats__grid { justify-content: center; gap: 28px; }
main[data-world="obstacle-course-50ft"] .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(11 95 165 / 0.7) !important;
  background: linear-gradient(180deg, rgb(234 248 255 / 0.55), rgb(234 248 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="obstacle-course-50ft"] .bm-treats .treat::before {
  content: '';
  position: absolute;
  inset: 4px;
  border: 1px solid rgb(11 95 165 / 0.2);
  pointer-events: none;
}
main[data-world="obstacle-course-50ft"] .bm-treats .treat.is-on {
  border-color: var(--bm-gold) !important;
  box-shadow: 0 0 0 1px var(--bm-gold), 0 0 30px rgb(255 138 30 / 0.25), 0 26px 50px -24px rgb(0 0 0 / 0.85) !important;
}
main[data-world="obstacle-course-50ft"] .bm-treats .treat__media {
  aspect-ratio: 5 / 4;
  height: auto;
  overflow: hidden;
  border: 1px solid rgb(11 95 165 / 0.35);
  background: var(--bm-navy);
}
main[data-world="obstacle-course-50ft"] .bm-treats .treat__media img { width: 100%; height: 100%; object-fit: cover; }
main[data-world="obstacle-course-50ft"] .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="obstacle-course-50ft"] .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="obstacle-course-50ft"] .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="obstacle-course-50ft"] .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.14em !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="obstacle-course-50ft"] .bm-treats .addon-add__icon { display: none; }
main[data-world="obstacle-course-50ft"] .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="obstacle-course-50ft"] .bm-treats .addon-add[aria-pressed="true"] { background: var(--bm-gold) !important; color: var(--bm-navy) !important; }
main[data-world="obstacle-course-50ft"] .bm-treats .addon-add[aria-pressed="true"]::after { margin-left: 0 !important; }
main[data-world="obstacle-course-50ft"] .bm-treats .addon-add:active { transform: scale(0.97); }
main[data-world="obstacle-course-50ft"] .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="obstacle-course-50ft"] .bm-treats .addon-add[aria-pressed="false"]:hover { background: rgb(255 138 30 / 0.16) !important; }
}
/* The shared mobile carousel controls, in gold. */
main[data-world="obstacle-course-50ft"] :is(.bm-treats, .bm-related) .carousel-arrow,
main[data-world="obstacle-course-50ft"] :is(.bm-treats, .bm-related) .carousel-position { color: var(--bm-gold); }

/* ---------- 7. Related ---------------------------------------------------- */
main[data-world="obstacle-course-50ft"] .bm-related {
  position: relative;
  isolation: isolate;
  padding: 110px clamp(16px, 5vw, 72px) 150px !important;
}
main[data-world="obstacle-course-50ft"] .bm-related .related__head { margin: 0 auto 38px; text-align: center; }
main[data-world="obstacle-course-50ft"] .bm-related .related__grid { justify-content: center; gap: clamp(20px, 3vw, 48px); }
main[data-world="obstacle-course-50ft"] .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="obstacle-course-50ft"] .bm-related .card__media { position: relative; display: block; background: none !important; overflow: visible; aspect-ratio: 1; }
main[data-world="obstacle-course-50ft"] .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="obstacle-course-50ft"] .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="obstacle-course-50ft"] .bm-related .card:nth-child(2) .card__cutout { animation-delay: -0.4s !important; }
main[data-world="obstacle-course-50ft"] .bm-related .card:nth-child(3) .card__cutout { animation-delay: -0.8s !important; }
main[data-world="obstacle-course-50ft"] .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="obstacle-course-50ft"] .bm-related .card:nth-child(2) .card__stage::after { animation-delay: -0.4s; }
main[data-world="obstacle-course-50ft"] .bm-related .card:nth-child(3) .card__stage::after { animation-delay: -0.8s; }
main[data-world="obstacle-course-50ft"] .bm-related .card__info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding-top: 14px;
  text-align: center;
}
main[data-world="obstacle-course-50ft"] .bm-related .card__name { margin: 0; font-size: 21px !important; font-weight: 600 !important; line-height: 1.2 !important; }
main[data-world="obstacle-course-50ft"] .bm-related .card__name a { color: var(--bm-ivory); text-decoration: none; text-shadow: 0 1px 10px rgb(234 248 255 / 0.95); }
main[data-world="obstacle-course-50ft"] .bm-related .card__price { margin: 0; color: var(--bm-gold) !important; font-size: 16px !important; font-weight: 600 !important; }
main[data-world="obstacle-course-50ft"] .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(234 248 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.14em !important;
  text-transform: uppercase !important;
  transition: background-color 200ms var(--bm-ease), transform 140ms var(--bm-ease) !important;
}
main[data-world="obstacle-course-50ft"] .bm-related .card__cta:active { transform: scale(0.97) !important; }
main[data-world="obstacle-course-50ft"] .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="obstacle-course-50ft"] .bm-related .card__cta:hover { background: rgb(255 138 30 / 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 #0B5FA5;
  border-radius: 999px;
  background: rgb(234 248 255 / 0.94);
  box-shadow: 0 12px 30px rgb(0 0 0 / 0.5);
  color: #16161F;
  font-family: 'Patrick Hand', 'Comic Sans MS', cursive;
  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="obstacle-course-50ft"] .bm-hero__stage { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (max-width: 767px) {
  main[data-world="obstacle-course-50ft"] .bm-hero {
    display: block;
    min-height: 0;
    padding: 76px 16px calc(var(--orn-h) * 0.4 + 36px);
  }
  main[data-world="obstacle-course-50ft"] .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="obstacle-course-50ft"] .bm-hero__scenery img { object-position: 50% 30%; }
  main[data-world="obstacle-course-50ft"] .bm-hero__bats { top: 64px; left: auto; right: 6%; width: 120px; }
  main[data-world="obstacle-course-50ft"] .bm-hero__stage { display: block; }
  main[data-world="obstacle-course-50ft"] .bm-hero__product { width: min(100%, 480px); margin: 30vw auto 0; padding-bottom: 6%; }
  main[data-world="obstacle-course-50ft"] .bm-hero__img { --bounce-travel: 16px; }
  main[data-world="obstacle-course-50ft"] .bm-hero__copy { margin-top: 10px; gap: 10px; }
  main[data-world="obstacle-course-50ft"] .bm-hero__eyebrow { width: min(84%, 300px); }
  main[data-world="obstacle-course-50ft"] .bm-hero__tagline { width: min(84%, 300px); }
  main[data-world="obstacle-course-50ft"] :is(.rental-rates label > span, .wetdry__opt span) { padding: 8px 16px !important; }
  main[data-world="obstacle-course-50ft"] .bm-hero__actions .bm-plaque-btn { width: min(100%, 330px); }
  main[data-world="obstacle-course-50ft"] .bm-plaque-btn__label { font-size: 17px; }

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

  main[data-world="obstacle-course-50ft"] .bm-gallery .mbm-car { aspect-ratio: 16 / 10; }
  main[data-world="obstacle-course-50ft"] .bm-gallery .mbm-car__arw { width: 44px; height: 44px; }
  main[data-world="obstacle-course-50ft"] .bm-gallery .mbm-car__prev { left: 8px; }
  main[data-world="obstacle-course-50ft"] .bm-gallery .mbm-car__next { right: 8px; }

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

  main[data-world="obstacle-course-50ft"] .bm-treats { padding: 96px 16px 96px !important; }
  main[data-world="obstacle-course-50ft"] .bm-treats .treat { flex: 0 0 100%; }
  main[data-world="obstacle-course-50ft"] .bm-related { padding: 96px 16px 120px !important; }
  main[data-world="obstacle-course-50ft"] .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="obstacle-course-50ft"] :is(.bm-hero__img, .bm-hero__shadow, .bm-related .card__cutout, .bm-related .card__stage::after) { animation: none !important; }
  main[data-world="obstacle-course-50ft"] :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="obstacle-course-50ft"] .bm-switch__track { border-color: ButtonText; }
  main[data-world="obstacle-course-50ft"] .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 template page
   keeps its navy ground so no ivory shows between sections. */
body main#main[data-world="obstacle-course-50ft"] { background-color: var(--bm-navy) !important; }

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

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

/* Related: the shared carousel wraps the cards (carousel.js); keep them
   floating with their caption below, centred. */
main[data-world="obstacle-course-50ft"] .bm-related .carousel-shell { width: min(100%, 1160px); margin-inline: auto; }
main[data-world="obstacle-course-50ft"] .bm-related .carousel-shell .card { aspect-ratio: auto !important; overflow: visible !important; border-radius: 0 !important; }
main[data-world="obstacle-course-50ft"] .bm-related .carousel-shell .card__media { height: auto; aspect-ratio: 1; }
main[data-world="obstacle-course-50ft"] .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="obstacle-course-50ft"] .bm-related .carousel-card__caption .card__name { font-size: 21px !important; }
main[data-world="obstacle-course-50ft"] .bm-related .card__name a { display: inline-flex; align-items: center; min-height: 44px; }
main[data-world="obstacle-course-50ft"] .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="obstacle-course-50ft"] :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="obstacle-course-50ft"] :is(.bm-treats, .bm-related) .carousel-dot { width: 44px !important; height: 44px !important; color: var(--bm-gold) !important; }
main[data-world="obstacle-course-50ft"] :is(.bm-treats, .bm-related) .carousel-shell { grid-template-columns: 44px minmax(0, 1fr) 44px; }
main[data-world="obstacle-course-50ft"] :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="obstacle-course-50ft"] .bm-gallery .mbm-car__dots { gap: 0; bottom: 4px; }
main[data-world="obstacle-course-50ft"] .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="obstacle-course-50ft"] .bm-stepper { flex-wrap: wrap !important; row-gap: 2px !important; }
  main[data-world="obstacle-course-50ft"] .bm-stepper output { width: 100%; }
  main[data-world="obstacle-course-50ft"] .bm-crew__safe { gap: 1.2cqi; }
}
/* Desktop related row fits its track exactly (no sideways scroll). */
@media (min-width: 768px) {
  main[data-world="obstacle-course-50ft"] .bm-related .related__grid { gap: 36px; overflow: visible; }
  main[data-world="obstacle-course-50ft"] .bm-related .card { flex: 0 1 calc((100% - 72px) / 3); max-width: 320px; min-width: 0; }
}
main[data-world="obstacle-course-50ft"] .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="obstacle-course-50ft"] .bm-related .carousel-shell .card__media { aspect-ratio: auto; }
main[data-world="obstacle-course-50ft"] .bm-related .card__stage { height: auto !important; padding-bottom: 14px; }
main[data-world="obstacle-course-50ft"] .bm-related .card__cutout { height: auto; aspect-ratio: 1; }
main[data-world="obstacle-course-50ft"] .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="obstacle-course-50ft"] .bm-related .card__cta { align-self: center !important; margin-inline: auto !important; }
main[data-world="obstacle-course-50ft"] :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(234 248 255 / 0.7) !important;
  box-shadow: none !important;
  font-family: var(--bm-sans) !important;
  line-height: 1 !important;
}
main[data-world="obstacle-course-50ft"] :is(.bm-treats, .bm-related) .carousel-arrow:disabled { opacity: 0 !important; pointer-events: none; }
main[data-world="obstacle-course-50ft"] :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="obstacle-course-50ft"] .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 reef scenery (26 desktop, 2 mobile in its sky crop). */
main[data-world="obstacle-course-50ft"] .bm-gallery {
  isolation: isolate;
  padding: 120px clamp(16px, 4vw, 64px) 130px;
  background: none;
}
main[data-world="obstacle-course-50ft"] .bm-gallery__scenery img { object-position: 50% 88%; }
main[data-world="obstacle-course-50ft"] .bm-gallery__stage {
  border: 1px solid #0B5FA5;
  background: rgb(234 248 255 / 0.55);
  box-shadow: 0 0 0 1px rgb(10 42 85 / 0.6), 0 34px 70px -30px rgb(0 0 0 / 0.9), 0 0 40px rgb(255 138 30 / 0.12);
}
main[data-world="obstacle-course-50ft"] .bm-gallery__stage::before { border-color: rgb(11 95 165 / 0.38); }
/* Arrows match the diagram "+": painted navy disc, antique-gold ring. */
main[data-world="obstacle-course-50ft"] .bm-gallery .mbm-car__arw {
  background: var(--bm-navy);
  box-shadow: 0 2px 6px rgb(10 42 85 / 0.55);
}
/* Dots: gold marks on a translucent navy base. */
main[data-world="obstacle-course-50ft"] .bm-gallery .mbm-car__dots {
  padding: 0 8px !important;
  border: 1px solid rgb(11 95 165 / 0.4) !important;
  border-radius: 999px !important;
  background: rgb(234 248 255 / 0.62) !important;
  box-shadow: 0 4px 14px rgb(0 0 0 / 0.45) !important;
}
main[data-world="obstacle-course-50ft"] .bm-gallery .mbm-car__dot::before { background: rgb(11 95 165 / 0.45); box-shadow: none; }
main[data-world="obstacle-course-50ft"] .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="obstacle-course-50ft"] .bm-related .card__cutout { filter: none; }

@media (max-width: 767px) {
  main[data-world="obstacle-course-50ft"] .bm-gallery { padding: 100px 12px 110px; }
  main[data-world="obstacle-course-50ft"] .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="obstacle-course-50ft"] :is(.bm-treats, .bm-related) .carousel-shell { display: block !important; position: relative; }
  main[data-world="obstacle-course-50ft"] :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="obstacle-course-50ft"] .bm-treats .carousel-shell .treat,
  main[data-world="obstacle-course-50ft"] .bm-related .carousel-shell .card { flex: 0 0 78% !important; max-width: none; scroll-snap-align: center; }
  main[data-world="obstacle-course-50ft"] :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(10 42 85 / 0.55) !important;
  }
  main[data-world="obstacle-course-50ft"] :is(.bm-treats, .bm-related) .carousel-shell > .carousel-arrow:first-child { left: 2px; }
  main[data-world="obstacle-course-50ft"] :is(.bm-treats, .bm-related) .carousel-shell > .carousel-arrow[data-direction="1"] { right: 2px; }
  main[data-world="obstacle-course-50ft"] :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(11 95 165 / 0.4);
    border-radius: 999px;
    background: rgb(234 248 255 / 0.62);
  }
  main[data-world="obstacle-course-50ft"] :is(.bm-treats, .bm-related) .carousel-dot::before { background: var(--bm-gold) !important; }
  main[data-world="obstacle-course-50ft"] .bm-treats .carousel-controls--mobile { display: none !important; }
}
main[data-world="obstacle-course-50ft"] :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="obstacle-course-50ft"],
main[data-world="obstacle-course-50ft"] .bm-details {
  --orn-h: clamp(196px, 7.4vw + 93px, 237px);
}
main[data-world="obstacle-course-50ft"] .bm-ornament {
  left: 0;
  width: 100%;
  height: var(--orn-h);
  object-fit: fill;
}
main[data-world="obstacle-course-50ft"] .bm-ornament--top { transform: translateY(-40%); }
main[data-world="obstacle-course-50ft"] .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="obstacle-course-50ft"] .bm-hero { min-height: 0; padding-top: 92px; }
main[data-world="obstacle-course-50ft"] .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="obstacle-course-50ft"] .bm-hero__title {
  grid-area: title;
  justify-self: center;
  width: min(62vw, 1000px);
  filter: drop-shadow(0 6px 22px rgb(10 42 85 / 0.7));
}
main[data-world="obstacle-course-50ft"] .bm-hero__product { grid-area: product; align-self: center; }
main[data-world="obstacle-course-50ft"] .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(11 95 165 / 0.75);
  background: linear-gradient(180deg, rgb(234 248 255 / 0.74), rgb(234 248 255 / 0.92));
  box-shadow: 0 30px 60px -28px rgb(0 0 0 / 0.85), 0 0 36px rgb(255 138 30 / 0.1);
}
main[data-world="obstacle-course-50ft"] .bm-hero__card::before {
  inset: 4px;
  z-index: 0;
  border: 1px solid rgb(11 95 165 / 0.22);
  background: none;
}
main[data-world="obstacle-course-50ft"] .bm-hero__card > * { position: relative; z-index: 1; }
main[data-world="obstacle-course-50ft"] .bm-hero__card .bm-hero__tagline { width: min(84%, 340px); }
main[data-world="obstacle-course-50ft"] .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="obstacle-course-50ft"] .bm-crew__panels { width: min(88%, 1400px); margin-inline: auto; gap: 48px; }
main[data-world="obstacle-course-50ft"] .bm-crew__panel { flex: 1 1 0; width: auto; max-width: none; }
/* This product has no water panel, so the attendant panel sits alone,
   centred, at the same card size as the paired version (Sabrina, 2026-09-28;
   Avengers method, its solo panel is tier-gated, this one is always solo). */
main[data-world="obstacle-course-50ft"] .bm-crew__panel--solo { flex: 0 1 calc(50% - 24px); margin-inline: auto; }
main[data-world="obstacle-course-50ft"] .bm-crew__heading { font-size: clamp(21px, 5.9cqi, 30px) !important; }
main[data-world="obstacle-course-50ft"] .bm-crew__safe > p,
main[data-world="obstacle-course-50ft"] .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="obstacle-course-50ft"] .bm-crew__intro > p.attendant__note { font-size: clamp(13px, 3cqi, 15px); color: var(--bm-ivory-dim); }
main[data-world="obstacle-course-50ft"] .bm-crew__intro { display: flex; flex-direction: column; align-items: center; gap: 1.6cqi; }
main[data-world="obstacle-course-50ft"] .bm-crew__hire {
  display: grid;
  grid-template-columns: 36% minmax(0, 1fr);
  align-items: center;
  gap: 3cqi;
  width: 100%;
}
main[data-world="obstacle-course-50ft"] .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="obstacle-course-50ft"] .bm-crew__controls { display: flex; flex-direction: column; align-items: center; gap: 2cqi; text-align: center; }
main[data-world="obstacle-course-50ft"] .bm-crew .attendant__rate strong { font-size: clamp(28px, 8cqi, 38px); }
main[data-world="obstacle-course-50ft"] .bm-crew__controls .bm-stepper { flex-wrap: wrap !important; row-gap: 4px !important; }
main[data-world="obstacle-course-50ft"] .bm-crew__controls .bm-stepper output { width: 100%; }
main[data-world="obstacle-course-50ft"] .bm-water__img { width: 52%; }
main[data-world="obstacle-course-50ft"] .bm-crew__panel--water .bm-crew__heading { max-width: 16ch; }
@media (min-width: 768px) and (max-width: 1099px) {
  main[data-world="obstacle-course-50ft"] .bm-crew__panels { flex-direction: column; align-items: center; }
  main[data-world="obstacle-course-50ft"] .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="obstacle-course-50ft"] .bm-gallery { padding-inline: 2.5vw; }
main[data-world="obstacle-course-50ft"] .bm-gallery__stage { width: 100%; max-width: none; }

/* 4b. Dive right in: the product cut-out stands on the wet floor; the
   words and Book Now gather beneath it over the floor. */
main[data-world="obstacle-course-50ft"] .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="obstacle-course-50ft"] .bm-cta__scenery img { object-position: 50% 55%; }
main[data-world="obstacle-course-50ft"] .bm-cta__product { position: relative; width: min(56vw, 860px); }
main[data-world="obstacle-course-50ft"] .bm-cta__img { position: relative; z-index: 1; display: block; width: 100%; height: auto; }
main[data-world="obstacle-course-50ft"] .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="obstacle-course-50ft"] .bm-cta__inner { margin-top: 6px; gap: 12px; }
main[data-world="obstacle-course-50ft"] .bm-cta__title { width: min(88%, 500px); }

@media (max-width: 767px) {
  main[data-world="obstacle-course-50ft"],
  main[data-world="obstacle-course-50ft"] .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="obstacle-course-50ft"] .bm-hero__stage { display: grid; grid-template-columns: 1fr; grid-template-areas: "product" "title" "card"; row-gap: 10px; }
  main[data-world="obstacle-course-50ft"] .bm-hero__title { width: calc(100vw - 20px); }
  main[data-world="obstacle-course-50ft"] .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="obstacle-course-50ft"] .bm-crew { padding-inline: 12px; }
  main[data-world="obstacle-course-50ft"] .bm-crew__panels { width: 100%; }
  main[data-world="obstacle-course-50ft"] .bm-crew__panel {
    width: 100%;
    aspect-ratio: auto;
    border: 1px solid rgb(11 95 165 / 0.75);
    background: linear-gradient(180deg, rgb(234 248 255 / 0.76), rgb(234 248 255 / 0.93));
    box-shadow: 0 24px 50px -24px rgb(0 0 0 / 0.85);
  }
  main[data-world="obstacle-course-50ft"] .bm-crew__panel::before {
    content: '';
    position: absolute;
    inset: 4px;
    border: 1px solid rgb(11 95 165 / 0.22);
    pointer-events: none;
  }
  main[data-world="obstacle-course-50ft"] .bm-crew__frame { display: none; }
  main[data-world="obstacle-course-50ft"] .bm-crew__safe { position: relative; inset: auto; padding: 30px 18px 32px; gap: 16px; }
  main[data-world="obstacle-course-50ft"] .bm-crew__hire { grid-template-columns: 1fr; justify-items: center; gap: 14px; }
  main[data-world="obstacle-course-50ft"] .bm-crew__character { width: 132px; max-height: none; }
  main[data-world="obstacle-course-50ft"] .bm-water__img { width: 48%; }

  main[data-world="obstacle-course-50ft"] .bm-gallery { padding-inline: 12px; }

  main[data-world="obstacle-course-50ft"] .bm-cta { min-height: 0; padding: 96px 12px 88px; }
  main[data-world="obstacle-course-50ft"] .bm-cta__product { width: 94vw; }
  main[data-world="obstacle-course-50ft"] .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="obstacle-course-50ft"] .bm-crew__panel--water .bm-crew__safe { gap: 2.2cqi; }
main[data-world="obstacle-course-50ft"] .bm-crew__panel--water .bm-crew__heading { max-width: none; font-size: clamp(20px, 4.6cqi, 26px) !important; }
main[data-world="obstacle-course-50ft"] .bm-crew__panel--water .bm-water__img {
  width: 65%;
  height: auto;
  margin-block: 0;
  object-fit: contain;
}
@media (max-width: 767px) {
  main[data-world="obstacle-course-50ft"] .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="obstacle-course-50ft"] .bm-crew__controls .bm-switch__text { white-space: nowrap; font-size: clamp(14px, 3.1cqi, 16px); }
main[data-world="obstacle-course-50ft"] .bm-crew__controls .bm-switch { gap: 10px; }
@media (max-width: 767px) {
  main[data-world="obstacle-course-50ft"] .bm-cta { padding-top: 190px; }
}

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

/* 4. Hero card: the main features, Chewy small caps in antique gold,
   separated by small gold diamonds. Two clean lines on phones. */
main[data-world="obstacle-course-50ft"] .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.1em;
  color: var(--bm-gold);
  line-height: 1.3;
}
main[data-world="obstacle-course-50ft"] .bm-hero__features li { display: inline-flex; align-items: center; white-space: nowrap; }
main[data-world="obstacle-course-50ft"] .bm-hero__features li + li::before {
  content: '';
  width: 5px;
  height: 5px;
  margin: 0 12px;
  background: var(--bm-gold);
  transform: rotate(45deg);
}
main[data-world="obstacle-course-50ft"] .bm-hero__features .bm-hero__features-break { display: none; }
main[data-world="obstacle-course-50ft"] .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 Chewy labels. */
main[data-world="obstacle-course-50ft"] .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="obstacle-course-50ft"] .bm-panel__safe { grid-template-columns: minmax(0, 1fr) 32cqi; column-gap: 3cqi; }
main[data-world="obstacle-course-50ft"] .bm-panel__story { justify-content: center; }
main[data-world="obstacle-course-50ft"] .bm-details__description { margin-top: 0; font-size: 1.9cqi; line-height: 1.55; max-width: 52ch; }
main[data-world="obstacle-course-50ft"] .bm-missions { gap: 0.6cqi; align-content: center; }
main[data-world="obstacle-course-50ft"] .bm-mission__face { gap: 4%; inset: 30% 10% 30.5%; }
main[data-world="obstacle-course-50ft"] .bm-mission__label {
  font-family: var(--bm-serif) !important;
  font-size: clamp(13px, 1.6cqi, 17px);
  font-weight: 700;
  letter-spacing: 0.05em !important;
  line-height: 1;
  color: #16161F;
  text-align: center;
  white-space: nowrap;
  text-shadow: 0 1px 8px rgb(255 138 30 / 0.3);
}
main[data-world="obstacle-course-50ft"] .bm-mission__plus { height: 42%; }
@media (hover: hover) and (pointer: fine) {
  main[data-world="obstacle-course-50ft"] .bm-mission:hover .bm-mission__label { color: #16161F; }
}

/* 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="obstacle-course-50ft"] .bm-crew__safe { inset: 19.5cqi 16.5cqi 21cqi; justify-content: flex-start; gap: 1.5cqi; }
main[data-world="obstacle-course-50ft"] .bm-crew__media {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 100%;
  height: 47cqi;
  flex: none;
}
main[data-world="obstacle-course-50ft"] .bm-crew__media img {
  display: block;
  width: auto;
  height: 100%;
  max-width: 100%;
  max-height: none;
  object-fit: contain;
}
main[data-world="obstacle-course-50ft"] .bm-crew__panel--water .bm-water__img { width: auto; height: 100%; }
main[data-world="obstacle-course-50ft"] .bm-crew__heading { margin-top: 1cqi; font-size: clamp(20px, 4.9cqi, 28px) !important; }
main[data-world="obstacle-course-50ft"] .bm-crew__panel--water .bm-crew__heading { font-size: clamp(20px, 4.9cqi, 28px) !important; }
main[data-world="obstacle-course-50ft"] .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="obstacle-course-50ft"] .bm-crew__controls { display: flex; flex-direction: column; align-items: center; gap: 1.2cqi; }
main[data-world="obstacle-course-50ft"] .bm-crew__row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px 16px; }
main[data-world="obstacle-course-50ft"] .bm-crew__row .attendant__rate { margin: 0; }
main[data-world="obstacle-course-50ft"] .bm-crew__controls .bm-stepper { flex-wrap: nowrap !important; }
main[data-world="obstacle-course-50ft"] .bm-crew__controls .bm-stepper output { width: auto; }

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

main[data-world="obstacle-course-50ft"] .bm-hero__card { border-color: transparent; }
main[data-world="obstacle-course-50ft"] .bm-hero__card::before { content: none; }
main[data-world="obstacle-course-50ft"] .bm-hero__title { position: relative; z-index: 3; }
@media (max-width: 767px) {
  }
@media (max-width: 767px) {
  main[data-world="obstacle-course-50ft"] .bm-hero__features .bm-hero__features-break + li::before { display: none; }
  main[data-world="obstacle-course-50ft"] .bm-missions { width: min(100%, 300px); }
}

/* ---------- Round 5 (Sabrina, 2026-09-28) -------------------------------- */
/* Details heading: lettering 28 "Dive right in", where lettering 17 was. */
main[data-world="obstacle-course-50ft"] .bm-details__heading { width: min(84%, 640px); }

/* Concessions: "Reef-Side 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="obstacle-course-50ft"] .bm-treats #treats-title {
  font-family: var(--bm-serif) !important;
  font-size: clamp(44px, 4.2vw, 62px) !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(234 248 255 / 0.9), 0 4px 22px rgb(234 248 255 / 0.85);
  white-space: nowrap;
}
main[data-world="obstacle-course-50ft"] .bm-treats .treats__inner { width: 100%; max-width: 1120px; margin-inline: auto; }
main[data-world="obstacle-course-50ft"] .bm-treats .treats__head { width: 100%; margin: 0 auto 34px; text-align: center; }
main[data-world="obstacle-course-50ft"] .bm-treats .treats__grid { margin-inline: auto; }
@media (max-width: 767px) {
  main[data-world="obstacle-course-50ft"] .bm-treats #treats-title { font-size: 36px !important; white-space: normal; text-wrap: balance; }
  main[data-world="obstacle-course-50ft"] .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="obstacle-course-50ft"] :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="obstacle-course-50ft"] .bm-treats .carousel-shell .treat,
  main[data-world="obstacle-course-50ft"] .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="obstacle-course-50ft"] .bm-hero__card .bm-hero__tagline img { width: 100%; height: auto; }

/* ---------- Round 6 (Sabrina, 2026-09-28) -------------------------------- */
/* 1. Hero card labels: clear Patrick Hand labels, distinct from the Chewy. */
main[data-world="obstacle-course-50ft"] .bm-hero__card :is(.rental-rates, .wetdry) legend {
  font-family: var(--bm-sans) !important;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: none;
  color: var(--bm-ivory);
  margin-bottom: 10px;
}
/* 2. Hero water: one centred "Add water" switch; off = dry. */
main[data-world="obstacle-course-50ft"] .bm-hero__water { flex-direction: column; align-items: center; gap: 4px; }
main[data-world="obstacle-course-50ft"] .bm-hero__water .bm-switch { margin-inline: auto; }
main[data-world="obstacle-course-50ft"] .bm-hero__water .wetdry__note { display: none; }
main[data-world="obstacle-course-50ft"] .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="obstacle-course-50ft"] .bm-hq__safe {
  inset: 19.5cqi 15cqi 20.5cqi;
  justify-content: space-between;
  gap: 1cqi;
}
main[data-world="obstacle-course-50ft"] .bm-lettering--hq { width: 54cqi; margin: 0; }
main[data-world="obstacle-course-50ft"] .bm-hq__open { width: 122.5%; margin: 0 auto 0 -8.94%; }
main[data-world="obstacle-course-50ft"] .bm-dims--card { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 1.2cqi; }
main[data-world="obstacle-course-50ft"] .bm-dims--card dt { font-size: max(10px, 2.1cqi); letter-spacing: 0.12em !important; }
main[data-world="obstacle-course-50ft"] .bm-dims--card dd { font-size: max(13px, 3.3cqi); }
@container (max-width: 470px) {
  main[data-world="obstacle-course-50ft"] .bm-dims--card { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 0; }
  main[data-world="obstacle-course-50ft"] .bm-lettering--hq { width: 54cqi; margin: 0; }
  main[data-world="obstacle-course-50ft"] .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="obstacle-course-50ft"] .bm-crew__media { height: 50cqi; }
main[data-world="obstacle-course-50ft"] .bm-crew__panel--water .bm-crew__text { margin-top: -0.4cqi; }
@media (max-width: 767px) {
  main[data-world="obstacle-course-50ft"] .bm-hero__card :is(.rental-rates, .wetdry) legend { font-size: 15px; }
  main[data-world="obstacle-course-50ft"] .bm-crew__media { height: 330px; }
}

/* 5. Related: readable names and prices over the lit floor, same style. */
main[data-world="obstacle-course-50ft"] .bm-related .carousel-card__caption { position: relative; isolation: isolate; }
main[data-world="obstacle-course-50ft"] .bm-related .carousel-card__caption::before {
  content: '';
  position: absolute;
  inset: -18px -34px -10px;
  z-index: -1;
  background: radial-gradient(closest-side, rgb(234 248 255 / 0.86), rgb(234 248 255 / 0.62) 55%, rgb(234 248 255 / 0));
  pointer-events: none;
}
main[data-world="obstacle-course-50ft"] .bm-related .carousel-card__caption .card__name { font-size: 22px !important; font-weight: 700 !important; }
main[data-world="obstacle-course-50ft"] .bm-related .card__name a { text-shadow: 0 1px 2px rgb(10 42 85 / 0.9), 0 2px 12px rgb(10 42 85 / 0.8); }
main[data-world="obstacle-course-50ft"] .bm-related .carousel-shell .carousel-card__caption .card__price {
  font-size: 18px !important;
  font-weight: 600 !important;
  text-shadow: 0 1px 2px rgb(10 42 85 / 0.9), 0 2px 10px rgb(10 42 85 / 0.8);
}
@media (max-width: 767px) {
  main[data-world="obstacle-course-50ft"] .bm-related .carousel-card__caption .card__name { font-size: 20px !important; }
}
main[data-world="obstacle-course-50ft"] .bm-crew__safe { gap: 1.1cqi; }
@media (max-width: 767px) { main[data-world="obstacle-course-50ft"] .bm-crew__safe { gap: 12px; } }
main[data-world="obstacle-course-50ft"] .bm-related .carousel-card__caption::before {
  inset: -24px -52px -16px;
  background: radial-gradient(closest-side, rgb(234 248 255 / 0.94), rgb(234 248 255 / 0.84) 50%, rgb(234 248 255 / 0.45) 78%, rgb(234 248 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="obstacle-course-50ft"] .bm-hero__stage { grid-template-columns: minmax(0, 1fr); grid-template-areas: "title" "product" "card"; }
  main[data-world="obstacle-course-50ft"] .bm-hero__title { justify-self: center; margin-top: 6px; }
  main[data-world="obstacle-course-50ft"] .bm-hero__product { margin: 4px auto 0; }
  main[data-world="obstacle-course-50ft"] .bm-hero__card { width: 100%; justify-self: center; }
  }

/* ---------- 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="obstacle-course-50ft"] .bm-hero { padding-top: 48px; }
@media (max-width: 767px) {
  main[data-world="obstacle-course-50ft"] .bm-hero { padding-top: 62px; }
  main[data-world="obstacle-course-50ft"] .bm-hero__title { margin-top: 0; }
}

/* ---------- Nemo join: per-asset values (Fable, 2026-09-28) ----------
   Measured from the Nemo art (JOIN-NOTES.md). cqi = % of frame width;
   y% x 0.75 for the 1448x1086 frames, x 1.25 for the 1122x1402 portrait. */

/* Hero card 9-slice: frame-card is card 2 (1448x1086, the same canvas as
   template's, so sizes and positions carry over); inner edges T215 L/R113 B239. */
/* Card fill only inside the frame, tucked under its band (no rectangle). */
main[data-world="obstacle-course-50ft"] .bm-hero__card { background: none; border: 0; box-shadow: none; --it: 24px; --is: 26px; --ib: 26px; }
main[data-world="obstacle-course-50ft"] .bm-hero__card::before {
  content: '';
  position: absolute;
  inset: calc(var(--it) - 10px) calc(var(--is) - 10px) calc(var(--ib) - 10px);
  z-index: 0;
  border: 0;
  background: radial-gradient(120% 90% at 50% 40%, #F4FCFF 0%, #EAF8FF 60%, #D6EFFB 100%);
}
@media (max-width: 767px) {
  main[data-world="obstacle-course-50ft"] .bm-hero__card { --it: 20px; --is: 12px; --ib: 22px; }
}

/* Lettering: the Nemo art is 1.3-1.9:1 (template's 3-4.3:1). */
main[data-world="obstacle-course-50ft"] .bm-hero__title { width: min(34vw, 480px); }
main[data-world="obstacle-course-50ft"] .bm-crew__title { width: min(80%, 470px); }
main[data-world="obstacle-course-50ft"] .bm-details__heading { width: min(70%, 420px); }
main[data-world="obstacle-course-50ft"] .bm-lettering--hq { width: 34cqi; }
dialog.bm-dialog .bm-dialog__title, dialog.bm-dialog--dims .bm-dialog__title { width: 22cqi; }
main[data-world="obstacle-course-50ft"] :is(#treats-title, #related-title) { font-size: clamp(44px, 4.6vw, 68px) !important; }
@media (max-width: 767px) {
  main[data-world="obstacle-course-50ft"] .bm-hero__title { width: min(80vw, 320px); }
  main[data-world="obstacle-course-50ft"] .bm-hero__card .bm-hero__tagline { width: min(66%, 230px); }
  main[data-world="obstacle-course-50ft"] .bm-crew__title { width: min(84%, 340px); }
  main[data-world="obstacle-course-50ft"] .bm-details__heading { width: min(76%, 300px); }
  main[data-world="obstacle-course-50ft"] :is(#treats-title, #related-title) { font-size: 42px !important; }
  dialog.bm-dialog .bm-dialog__title, dialog.bm-dialog--dims .bm-dialog__title { width: 34cqi; }
}

/* Plaques: face x 5.6-95.7%, y 26.7-69.4% of the 960x255 shell. */
main[data-world="obstacle-course-50ft"] .bm-mission__face { inset: 29% 10% 32%; justify-content: center; }

/* Frame safe areas. Panel (card 1): x 17.4-83.4%, y 21-74%. Portrait
   (card 2, rebuilt): x 10-90% mid / 20-80% near the ends, y 18.7-83.5%.
   Dimensions popup (card 2): x 7.9-92.1%, y 19.9-77.9%. */
@media (min-width: 768px) {
  main[data-world="obstacle-course-50ft"] .bm-panel__safe { inset: 16.8cqi 17.6cqi 20.4cqi 18.5cqi; }
  .bm-dialog__safe { inset: 16.8cqi 17.6cqi 20.4cqi 18.5cqi; }
  .bm-dialog--dims .bm-dialog__safe { inset: 16cqi 11cqi 17.6cqi; }
  main[data-world="obstacle-course-50ft"] .bm-crew__safe { inset: 25cqi 17cqi 22cqi; }
}
main[data-world="obstacle-course-50ft"] .bm-hq__safe { inset: 25cqi 18cqi 22cqi; }
main[data-world="obstacle-course-50ft"] .bm-hq__open { width: 100%; margin: 0 auto; }
/* The plan is drawn on white; multiply lets it take the frame face's pale aqua. */
main[data-world="obstacle-course-50ft"] .bm-hq__diagram { mix-blend-mode: multiply; }
main[data-world="obstacle-course-50ft"] .bm-hq__open::after { inset: -25cqi -18cqi -22cqi; }
@media (max-width: 767px) {
  .bm-dialog__safe, .bm-dialog--dims .bm-dialog__safe { inset: 25cqi 18cqi 22cqi; }
}

/* ---------- Nemo parity pass (readability and fit, Fable 2026-09-28) ---------- */
/* Plaque labels: dark ink on the cream shells. */
main[data-world="obstacle-course-50ft"] :is(.bm-plaque-btn__label, .bm-mission__label) { color: #16161F !important; text-shadow: 0 1px 0 rgb(255 255 255 / 0.8) !important; }
main[data-world="obstacle-course-50ft"] .bm-mission__label { font-size: clamp(16px, 2.2cqi, 23px); }
/* Features: the card's lead line, readable. */
main[data-world="obstacle-course-50ft"] .bm-hero__features { font-size: 25px; font-variant: normal; letter-spacing: 0.04em; color: #16161F; }
main[data-world="obstacle-course-50ft"] .bm-hero__features li + li::before { background: #FF8A1E; }
/* Related captions: ink on the cream zone. */
main[data-world="obstacle-course-50ft"] .bm-related .card__name a { color: #16161F !important; text-shadow: 0 1px 10px rgb(234 248 255 / 0.95) !important; }
main[data-world="obstacle-course-50ft"] .bm-related .card__price { color: #16161F !important; }
/* Dimensions card: the diagram fits inside the frame with the measurements. */
main[data-world="obstacle-course-50ft"] .bm-hq__open { width: 64%; }
/* Crew cards: controls row clear of the frame's side curls. */
@media (min-width: 768px) {
  main[data-world="obstacle-course-50ft"] .bm-crew__safe { inset: 25cqi 19cqi 23cqi; }
  main[data-world="obstacle-course-50ft"] .bm-panel__safe { grid-template-columns: minmax(0, 1fr) 33cqi; column-gap: 2.5cqi; }
  main[data-world="obstacle-course-50ft"] .bm-details__description { font-size: 2.1cqi; line-height: 1.45; }
}
/* Phones: the panel frame is hidden (template), so the description sits on
   a cream caption card instead of floating on the scenery. */
@media (max-width: 767px) {
  main[data-world="obstacle-course-50ft"] .bm-details__description { padding: 16px 18px; background: #EAF8FF; border: 3px solid #0B5FA5; border-radius: 18px; box-shadow: 4px 4px 0 #0B5FA5; color: #16161F; font-size: 19px; }
  main[data-world="obstacle-course-50ft"] .bm-hero__features { font-size: 21px; }
}
main[data-world="obstacle-course-50ft"] .bm-lettering--hq { width: 27cqi; }
main[data-world="obstacle-course-50ft"] .bm-hq__open { width: 58%; }
main[data-world="obstacle-course-50ft"] .bm-dims--card { display: flex; justify-content: center; gap: 0 6cqi; }
@media (min-width: 768px) {
  main[data-world="obstacle-course-50ft"] .bm-crew__safe { inset: 25cqi 21cqi 23cqi; }
}
/* Crew card: the frame narrows toward its bottom curls (x 21-79% at 75%
   height), so the character area is a little shorter and everything sits
   higher, with the rate and switch on one centred row. */
@media (min-width: 768px) {
  main[data-world="obstacle-course-50ft"] .bm-crew__safe { inset: 24cqi 20cqi 23cqi; }
  main[data-world="obstacle-course-50ft"] .bm-crew__media { height: 44cqi; }
  main[data-world="obstacle-course-50ft"] .bm-crew__row { justify-content: center; gap: 2.4cqi; }
}
@media (min-width: 768px) {
  main[data-world="obstacle-course-50ft"] .bm-crew__safe { inset: 23cqi 20cqi 19cqi; gap: 0.8cqi; }
  main[data-world="obstacle-course-50ft"] .bm-crew__media { height: 40cqi; }
}

/* ---------- Hero same as Avengers (Sabrina, 2026-09-28) ----------
   The title lettering heads the card in place of the tagline, runs wider
   than the card and forms its top edge (the frame's top strip is hidden). */
main[data-world="obstacle-course-50ft"] .bm-hero__stage { grid-template-areas: "product card"; row-gap: 0; align-items: center; }
main[data-world="obstacle-course-50ft"] .bm-hero__product { align-self: center; }
main[data-world="obstacle-course-50ft"] .bm-hero__card .bm-hero__title {
  grid-area: auto;
  position: relative;
  z-index: 3;
  width: 120%;
  max-width: none;
  align-self: center;
  justify-self: center;
  margin: -150px 0 -16px;
  filter: drop-shadow(0 4px 10px rgb(10 42 85 / 0.28));
}
main[data-world="obstacle-course-50ft"] .bm-hero { padding-top: 196px; }
main[data-world="obstacle-course-50ft"] .bm-hero__card::before { top: 140px; }
main[data-world="obstacle-course-50ft"] .bm-hero__card .bm-hero__actions { margin-top: -5px; }
main[data-world="obstacle-course-50ft"] .bm-hero__card { padding-bottom: 42px; }
@media (max-width: 767px) {
  main[data-world="obstacle-course-50ft"] .bm-hero { padding-top: 64px; }
  main[data-world="obstacle-course-50ft"] .bm-hero__stage { grid-template-areas: "product" "card"; row-gap: 96px; }
  main[data-world="obstacle-course-50ft"] .bm-hero__card .bm-hero__title { width: 108%; margin: -108px 0 -12px; }
  main[data-world="obstacle-course-50ft"] .bm-hero__card::before { top: 96px; }
  main[data-world="obstacle-course-50ft"] .bm-hero__card .bm-hero__actions { margin-top: -4px; }
  main[data-world="obstacle-course-50ft"] .bm-hero__card { padding-bottom: 35px; }
}
/* Card fill (Sabrina, 2026-09-28): the frame's rails are wavy, so no
   rectangle can match them. The cream is painted into frame-card.webp up to
   its inner edge, and this flat fill (same cream) sits well inside the rails
   to cover the middle, so nothing shows outside the frame or between. */
main[data-world="obstacle-course-50ft"] .bm-hero__card::before { left: calc(var(--is) + 20px); right: calc(var(--is) + 20px); bottom: calc(var(--ib) + 20px); background: #EAF8FF; }
main[data-world="obstacle-course-50ft"] .bm-hero__card::before { bottom: var(--ib); }
/* The booking block sits above the frame, so the cream painted into the
   rails never covers the button ends. */
main[data-world="obstacle-course-50ft"] .bm-hero__card > .bm-hero__booking { z-index: 3; }

/* ---------- Edit round (Sabrina, 2026-09-28): characters, dimensions card ---------- */

/* Dimensions card without its title lettering: the diagram is larger and
   the measurements sit higher, all centred in the portrait frame's face. */
.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="obstacle-course-50ft"] .bm-hq__safe { inset: 24cqi 15cqi 34cqi; justify-content: center; gap: 2cqi; }
main[data-world="obstacle-course-50ft"] .bm-hq__open::after { inset: -24cqi -15cqi -34cqi; }
main[data-world="obstacle-course-50ft"] .bm-hq__open { width: 84%; }

/* Character art: decorative, set on the frames and the ground so it reads
   as part of the scene. */
main[data-world="obstacle-course-50ft"] :is(.bm-panel, .bm-hq, .bm-crew__panels, .treats__inner, .bm-related) { position: relative; }
main[data-world="obstacle-course-50ft"] .bm-char {
  position: absolute;
  z-index: 3;
  height: auto;
  pointer-events: none;
  filter: drop-shadow(0 6px 8px rgb(10 42 85 / 0.28));
}
main[data-world="obstacle-course-50ft"] .treats__grid { position: relative; z-index: 4; }
@media (max-width: 767px) {
  /* Phones: room above the dimensions card for Nemo, and under the attendant
     card for Squirt. */
  main[data-world="obstacle-course-50ft"] .bm-hq { margin-top: 150px; }
  main[data-world="obstacle-course-50ft"] .bm-crew__panels { padding-bottom: 170px; }
}
/* Nemo peeks over the dimensions card from behind its frame. */
main[data-world="obstacle-course-50ft"] .bm-hq { isolation: isolate; }
main[data-world="obstacle-course-50ft"] .bm-hq__frame { z-index: 1; }
main[data-world="obstacle-course-50ft"] .bm-hq__safe { z-index: 2; }
@media (max-width: 767px) {
  main[data-world="obstacle-course-50ft"] .bm-hq { margin-top: 90px; }
}
/* The carousel stage is the positioning parent for its controls. */
main[data-world="obstacle-course-50ft"] .bm-gallery__stage { position: relative; }
@media (max-width: 767px) {
}

/* 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="obstacle-course-50ft"] .bm-gallery .mbm-car__arw { position: absolute; }
main[data-world="obstacle-course-50ft"] .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="obstacle-course-50ft"] .bm-gallery .mbm-car__arw svg { display: none; }

/* 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%); }


/* ==========================================================================
   Finding Nemo join (2026-09-29). Everything below is this world's own
   composition: live-text titles (no lettering art was supplied), the glass
   pill CTA, the coral frames, the characters and the seam glow. It comes last
   so it wins over the copied template layout rules above.
   Measured values (JOIN-NOTES.md):
     cta-shell   2009x446 (ratio 4.504), face x 1.4-98.6%, y 13-84.5%
     frame-card  1650x1196: interior x 256-1387 (L256 R262), y 234-1093 (T234 B102)
     frame-panel 1632x912 (ratio 1.7895): safe x 23.6-79.7%, y 26.5-69%
     frame-portrait 1122x1402: safe x 26-80%, y 19-71%
     ornament    2155x687 (ratio 3.137), shown at its natural ratio
   ========================================================================== */

/* Seam glow: the light between the scenes, taken from the reef's own sunbeams. */
body main#main[data-world="obstacle-course-50ft"] { background: linear-gradient(180deg, #DDF4FF 0%, #BDE9FB 50%, #DDF4FF 100%) !important; }

/* Ornament at its natural ratio (2155x687), centred on each seam. */
main[data-world="obstacle-course-50ft"], main[data-world="obstacle-course-50ft"] .bm-details { --orn-w: min(100vw, calc(28vw + 240px), 760px); --orn-h: calc(var(--orn-w) / 3.137); }
main[data-world="obstacle-course-50ft"] .bm-ornament { left: 50%; width: var(--orn-w); height: auto; object-fit: contain; }
main[data-world="obstacle-course-50ft"] .bm-ornament--top { transform: translate(-50%, -40%); }
main[data-world="obstacle-course-50ft"] .bm-ornament--bottom { transform: translate(-50%, 40%); }

/* Section titles are live text in the display face: white with an ocean outline and a soft glow. */
main[data-world="obstacle-course-50ft"] :is(.bm-details__heading, .bm-crew__title, #treats-title, #related-title) {
  width: auto !important;
  max-width: 94% !important;
  margin-inline: auto;
  font-family: var(--bm-serif) !important;
  font-weight: 400 !important;
  line-height: 1.05 !important;
  letter-spacing: 0.02em !important;
  color: #fff !important;
  -webkit-text-stroke: 3px #0A2A55;
  paint-order: stroke fill;
  text-shadow: 0 3px 0 rgb(10 42 85 / 0.35), 0 0 26px rgb(255 255 255 / 0.55) !important;
  text-wrap: balance;
  white-space: normal !important;
  text-align: center;
}
main[data-world="obstacle-course-50ft"] .bm-details__heading { font-size: clamp(38px, 4.4vw, 66px); margin-bottom: clamp(16px, 2.2vw, 34px); }
main[data-world="obstacle-course-50ft"] .bm-crew__title { font-size: clamp(36px, 4.2vw, 60px); margin-bottom: clamp(18px, 2.6vw, 36px); }
main[data-world="obstacle-course-50ft"] :is(#treats-title, #related-title) { font-size: clamp(38px, 4.4vw, 62px) !important; }
main[data-world="obstacle-course-50ft"] .bm-treats .treats__head { margin-bottom: 30px; }

/* ---------- Hero: card frame is one overlay; the title is live text ---------- */
main[data-world="obstacle-course-50ft"] .bm-hero { padding-top: 112px; }
main[data-world="obstacle-course-50ft"] .bm-hero__scenery img { object-position: 50% 62%; }
main[data-world="obstacle-course-50ft"] .bm-hero__bats { opacity: 0.6; top: 96px; }
main[data-world="obstacle-course-50ft"] .bm-hero__stage { grid-template-areas: "product card"; row-gap: 0; align-items: center; }
main[data-world="obstacle-course-50ft"] .bm-hero__card {
  --ps: 20px;
  --pt: 18px;
  --pb: 18px;
  position: relative;
  container-type: inline-size;
  width: min(100%, 470px);
  padding: var(--pt) var(--ps) var(--pb);
  gap: 12px;
  background: none;
  border: 0;
  box-shadow: none;
}
main[data-world="obstacle-course-50ft"] .bm-hero__card::before { content: none !important; }
/* Overlay: the frame's inner edge sits on the card's padding box. Wo = the frame's drawn width
   (interior 68.6% of the canvas); rails T 14.18% / B 6.18% / L 15.52% / R 15.88% of Wo. */
main[data-world="obstacle-course-50ft"] .bm-hero__card > .bm-hero__frame {
  --wo: calc((100cqi - 2 * var(--ps)) / 0.686);
  position: absolute;
  z-index: 0;
  display: block;
  pointer-events: none;
  left: calc(var(--ps) - 0.1552 * var(--wo));
  right: calc(var(--ps) - 0.1588 * var(--wo));
  top: calc(var(--pt) - 0.1418 * var(--wo));
  bottom: calc(var(--pb) - 0.0618 * var(--wo));
  background: url('../../assets/bundled/product-worlds/obstacle-course-50ft/frame-card.webp') center / 100% 100% no-repeat;
}
main[data-world="obstacle-course-50ft"] .bm-hero__card > :not(.bm-hero__frame) { position: relative; z-index: 1; }
main[data-world="obstacle-course-50ft"] .bm-hero__card > .bm-hero__booking { z-index: 3; }
main[data-world="obstacle-course-50ft"] .bm-hero__card .bm-hero__title {
  grid-area: auto;
  width: 100%;
  max-width: none;
  margin: 0;
  filter: none;
  font-family: var(--bm-serif) !important;
  font-weight: 400 !important;
  font-size: clamp(30px, 9.6cqi, 46px);
  line-height: 1.02;
  letter-spacing: 0.02em;
  color: #D9500B;
  text-shadow: 0 2px 0 rgb(10 42 85 / 0.18);
  text-wrap: balance;
}
main[data-world="obstacle-course-50ft"] .bm-hero__card .bm-hero__actions { margin-top: 2px; }
main[data-world="obstacle-course-50ft"] .bm-hero__features { font-size: clamp(18px, 5cqi, 23px); }
main[data-world="obstacle-course-50ft"] .bm-hero__features li + li::before { background: #FF8A1E; }
/* Pill CTA: the plaque takes the shell's own ratio and rim (no arrow, label centred on the face). */
main[data-world="obstacle-course-50ft"] .bm-plaque-btn { aspect-ratio: 1200 / 360; }
main[data-world="obstacle-course-50ft"] .bm-plaque-btn::after { inset: 0; border-radius: 999px; }
main[data-world="obstacle-course-50ft"] .bm-plaque-btn__label { padding-top: 0.06em; text-shadow: 0 1px 0 rgb(255 255 255 / 0.75) !important; }
main[data-world="obstacle-course-50ft"] .bm-plaque-btn--hero { width: min(100%, 340px); }

/* ---------- Story panel (frame-panel 1632x912) and its three plaques ---------- */
main[data-world="obstacle-course-50ft"] .bm-panel { aspect-ratio: 1632 / 912; }
@media (min-width: 900px) {
  main[data-world="obstacle-course-50ft"] .bm-panel__safe { inset: 14.8cqi 20.3cqi 17.3cqi 23.6cqi; grid-template-columns: minmax(0, 1fr) 21.5cqi; column-gap: 2.2cqi; }
  main[data-world="obstacle-course-50ft"] .bm-details__description { font-size: 1.72cqi; line-height: 1.42; max-width: none; background: none; border: 0; box-shadow: none; }
  main[data-world="obstacle-course-50ft"] .bm-details__description p + p { margin-top: 0.55em; }
}
@media (min-width: 768px) { .bm-dialog__safe { inset: 14.8cqi 20.3cqi 17.3cqi 23.6cqi; } }
main[data-world="obstacle-course-50ft"] .bm-missions { gap: 1.1cqi; align-content: center; }
main[data-world="obstacle-course-50ft"] .bm-mission { aspect-ratio: 1200 / 360; margin-block: 0; }
main[data-world="obstacle-course-50ft"] .bm-mission::after { content: ''; position: absolute; inset: -3px 0; }
main[data-world="obstacle-course-50ft"] .bm-mission__shell { inset: 0; }
main[data-world="obstacle-course-50ft"] .bm-mission__ring { inset: 0; }
main[data-world="obstacle-course-50ft"] .bm-mission__face { inset: 20% 9% 20%; gap: 4%; }
main[data-world="obstacle-course-50ft"] .bm-mission__label { font-size: clamp(13px, 1.72cqi, 18px); letter-spacing: 0.02em !important; padding-top: 0.05em; color: #16161F !important; text-shadow: none !important; }
main[data-world="obstacle-course-50ft"] .bm-mission__plus { height: 44%; stroke: #0B5FA5; }

/* ---------- Dimensions card (frame-portrait 1122x1402, safe x 26-80%, y 19-71%) ---------- */
main[data-world="obstacle-course-50ft"] .bm-hq__safe { inset: 24cqi 20cqi 34cqi 26cqi; justify-content: center; gap: 2cqi; }
main[data-world="obstacle-course-50ft"] .bm-hq__open { width: 100%; margin: 0 auto; }
main[data-world="obstacle-course-50ft"] .bm-hq__open::after { inset: -24cqi -20cqi -34cqi -26cqi; }
main[data-world="obstacle-course-50ft"] .bm-hq__hint { left: 92%; top: 6%; }
main[data-world="obstacle-course-50ft"] .bm-dims--card { display: flex; justify-content: center; flex-wrap: wrap; gap: 0 4cqi; }
main[data-world="obstacle-course-50ft"] .bm-dims--card dt { font-size: max(10px, 2.3cqi); }
main[data-world="obstacle-course-50ft"] .bm-dims--card dd { font-size: max(14px, 3.6cqi); }
/* Nemo peeks over the card's top rail from behind the frame. */
main[data-world="obstacle-course-50ft"] .bm-char--nemo { z-index: 0; width: 34%; left: 50%; bottom: calc(100% - 21cqi); transform: translateX(-50%) rotate(-5deg); }

/* ---------- Popups: text titles in the display face; frame-panel on desktop, portrait on phones ---------- */
dialog.bm-dialog .bm-dialog__title--text {
  width: auto;
  margin: 0;
  font-family: var(--bm-serif) !important;
  font-weight: 400;
  font-size: clamp(22px, 3.4cqi, 34px);
  line-height: 1.05;
  color: #16161F;
  text-shadow: 0 1px 0 rgb(255 255 255 / 0.7);
}
.bm-dialog__body { font-size: max(15px, 1.75cqi); }
@media (max-width: 767px) {
  dialog.bm-dialog .bm-dialog__title--text { font-size: 22px; padding-inline: 0; }
  .bm-dialog__safe, .bm-dialog--dims .bm-dialog__safe { inset: 24cqi 20cqi 33cqi 26cqi; }
  .bm-dialog__body { font-size: max(15px, 3.6cqi); }
}
.bm-faq__a p { color: rgb(10 42 85 / 0.92); }

/* ---------- Crew: one portrait card, centred (frame-portrait) ---------- */
main[data-world="obstacle-course-50ft"] .bm-crew__panels { position: relative; justify-content: center; }
main[data-world="obstacle-course-50ft"] .bm-crew__panel--solo { flex: 0 0 auto; width: min(88vw, 620px); }
@media (min-width: 768px) {
  main[data-world="obstacle-course-50ft"] .bm-crew__safe { inset: 25cqi 20cqi 34cqi 26cqi; gap: 1.2cqi; justify-content: center; }
  main[data-world="obstacle-course-50ft"] .bm-crew__media { height: 26cqi; }
}
main[data-world="obstacle-course-50ft"] .bm-crew__heading { font-size: clamp(19px, 4.4cqi, 26px) !important; color: #16161F; margin-top: 0; }
main[data-world="obstacle-course-50ft"] .bm-crew__text { font-size: clamp(14px, 2.9cqi, 16px); max-width: 30ch; }
main[data-world="obstacle-course-50ft"] .attendant__hours { display: none !important; }
main[data-world="obstacle-course-50ft"] .bm-crew__row { flex-direction: column; align-items: center; gap: 4px; }
main[data-world="obstacle-course-50ft"] .bm-crew__controls { width: 100%; align-items: center; }
main[data-world="obstacle-course-50ft"] .bm-crew .attendant__rate strong { font-size: clamp(24px, 6cqi, 32px); }
main[data-world="obstacle-course-50ft"] .bm-crew__controls .bm-switch__text { white-space: normal; text-align: left; font-size: clamp(13px, 2.8cqi, 15px); }
main[data-world="obstacle-course-50ft"] .bm-crew__character { filter: drop-shadow(0 8px 10px rgb(10 42 85 / 0.35)); }
/* Squirt floats beside the card on wide screens, below it on phones and tablets. */
main[data-world="obstacle-course-50ft"] .bm-char--squirt { width: clamp(120px, 14vw, 300px); left: 1%; bottom: 8px; }
@media (max-width: 1099px) {
  main[data-world="obstacle-course-50ft"] .bm-crew__panels { padding-bottom: 150px; }
  main[data-world="obstacle-course-50ft"] .bm-char--squirt { width: 150px; left: 50%; bottom: 0; transform: translateX(-50%); }
}
/* Phones: the card keeps its frame as a 9-slice, so only the kelp band stretches with the taller content. */
@media (max-width: 767px) {
  main[data-world="obstacle-course-50ft"] .bm-crew__panel {
    --k: 0.22;
    width: 100%;
    aspect-ratio: auto;
    border-style: solid;
    border-color: transparent;
    border-width: calc(330px * var(--k)) calc(300px * var(--k)) calc(430px * var(--k));
    border-image: url('../../assets/bundled/product-worlds/obstacle-course-50ft/frame-portrait.webp') 330 300 430 fill / calc(330px * var(--k)) calc(300px * var(--k)) calc(430px * var(--k)) stretch;
    background: none;
    box-shadow: none;
  }
  main[data-world="obstacle-course-50ft"] .bm-crew__panel::before { content: none; }
  main[data-world="obstacle-course-50ft"] .bm-crew__frame { display: none; }
  main[data-world="obstacle-course-50ft"] .bm-crew__safe { position: relative; inset: auto; padding: 0; margin: -14px 0 -22px; gap: 10px; }
  main[data-world="obstacle-course-50ft"] .bm-crew__media { height: 130px; }
  main[data-world="obstacle-course-50ft"] .bm-crew .bm-switch { flex-direction: column; gap: 6px; }
  main[data-world="obstacle-course-50ft"] .bm-crew__controls .bm-switch__text { text-align: center; }
}

/* ---------- Carousel: 16:9 stage; the square outdoor photo is contained ---------- */
main[data-world="obstacle-course-50ft"] .bm-gallery .mbm-car { aspect-ratio: 16 / 9; }
main[data-world="obstacle-course-50ft"] .bm-gallery .mbm-car__slide img[src*="gallery-2"] { object-fit: contain; background: rgb(234 248 255 / 0.9); }
@media (max-width: 767px) { main[data-world="obstacle-course-50ft"] .bm-gallery .mbm-car { aspect-ratio: 4 / 3; } }
main[data-world="obstacle-course-50ft"] .bm-gallery__scenery img { object-position: 50% 70%; }
main[data-world="obstacle-course-50ft"] .bm-gallery .mbm-car__dot::before { background: rgb(11 95 165 / 0.45); }

/* ---------- Concessions and related ---------- */
main[data-world="obstacle-course-50ft"] .bm-treats .treat { border-color: #0B5FA5 !important; }
main[data-world="obstacle-course-50ft"] .bm-char--dory { width: 150px; left: 4%; bottom: 40px; }
@media (max-width: 767px) {
  main[data-world="obstacle-course-50ft"] .bm-char--dory { width: 90px; left: 6%; bottom: 24px; }
  main[data-world="obstacle-course-50ft"] .bm-hero { padding-top: 64px; }
}
main[data-world="obstacle-course-50ft"] .bm-related .card__name a { text-shadow: 0 1px 10px rgb(234 248 255 / 0.95) !important; }

/* ---------- Phones and narrow tablets: hero and story ---------- */
@media (max-width: 899px) {
  main[data-world="obstacle-course-50ft"] .bm-hero__stage { grid-template-columns: minmax(0, 1fr); grid-template-areas: "product" "card"; row-gap: 56px; }
  main[data-world="obstacle-course-50ft"] .bm-hero__card { --ps: 13cqi; --pt: 14px; --pb: 14px; width: min(100%, 470px); padding-inline: min(13%, 61px); justify-self: center; margin-top: 0; }
  main[data-world="obstacle-course-50ft"] .bm-hero__card .bm-hero__title { font-size: clamp(28px, 10cqi, 40px); }
  main[data-world="obstacle-course-50ft"] .bm-hero__features { font-size: clamp(17px, 5.4cqi, 21px); }
  main[data-world="obstacle-course-50ft"] .bm-hero__product { margin: 0 auto; }
  main[data-world="obstacle-course-50ft"] .bm-missions { width: min(100%, 250px); gap: 8px; }
  main[data-world="obstacle-course-50ft"] .bm-mission__label { font-size: 15px; }
  main[data-world="obstacle-course-50ft"] .bm-details__description { background: rgb(234 248 255 / 0.92); border: 1.5px solid rgb(11 95 165 / 0.55); border-radius: 22px; box-shadow: 0 12px 30px -14px rgb(8 50 100 / 0.5); color: #16161F; font-size: 17px; padding: 16px 18px; }
  main[data-world="obstacle-course-50ft"] .bm-hq { margin-top: 90px; }
}
@media (max-width: 767px) {
  main[data-world="obstacle-course-50ft"] .bm-hero { padding-top: 64px; }
  main[data-world="obstacle-course-50ft"] .bm-hero__stage { row-gap: 56px; }
  main[data-world="obstacle-course-50ft"] .bm-details__heading { font-size: 36px; }
  main[data-world="obstacle-course-50ft"] .bm-crew__title { font-size: 34px; }
  main[data-world="obstacle-course-50ft"] :is(#treats-title, #related-title) { font-size: 34px !important; }
}
@media (prefers-reduced-motion: reduce) {
  main[data-world="obstacle-course-50ft"] .bm-hero__bats { animation: none; }
}

/* ==========================================================================
   Nemo fixes round (2026-09-29)
   ========================================================================== */

/* 1. Phones and narrow tablets: details stack (description, plaques, dimensions card) inside 16px gutters. */
@media (max-width: 899px) {
  main[data-world="obstacle-course-50ft"] .bm-details__stage { width: calc(100% - 32px); max-width: 560px; grid-template-columns: minmax(0, 1fr); justify-items: center; margin-inline: auto; }
  main[data-world="obstacle-course-50ft"] .bm-details__stage > * { min-width: 0; max-width: 100%; }
  main[data-world="obstacle-course-50ft"] .bm-panel { aspect-ratio: auto; width: 100%; container-type: normal; }
  main[data-world="obstacle-course-50ft"] .bm-panel__safe { position: static; inset: auto; display: flex; flex-direction: column; align-items: center; gap: 22px; width: 100%; }
  main[data-world="obstacle-course-50ft"] .bm-panel__story { width: 100%; min-width: 0; }
  main[data-world="obstacle-course-50ft"] .bm-details__description { box-sizing: border-box; width: 100%; max-width: none; margin: 0; overflow-wrap: anywhere; }
  main[data-world="obstacle-course-50ft"] .bm-missions { width: min(100%, 300px); margin-inline: auto; }
  main[data-world="obstacle-course-50ft"] .bm-hq { width: min(100%, 400px); margin-inline: auto; }
}

/* 2. Desktop hero: product smaller and lowered so it clears the chrome and centres on the card. */
@media (min-width: 900px) {
  main[data-world="obstacle-course-50ft"] .bm-hero__product { width: min(100%, 600px); justify-self: center; align-self: center; margin-top: 44px; }
}

/* 3. Dimensions card: four measurements in one row on the face (desktop), tidy 2x2 on phones. */
main[data-world="obstacle-course-50ft"] .bm-dims--card { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 1.6cqi; margin-inline: -7cqi; text-align: center; }
main[data-world="obstacle-course-50ft"] .bm-dims--card .bm-dims__item { min-width: 0; justify-items: center; align-content: start; }
main[data-world="obstacle-course-50ft"] .bm-dims--card dt { font-size: max(10px, 2.2cqi); white-space: nowrap; }
main[data-world="obstacle-course-50ft"] .bm-dims--card dd { font-size: max(12px, 2.7cqi); line-height: 1.2; overflow-wrap: normal; text-wrap: balance; }
@media (max-width: 899px) {
  main[data-world="obstacle-course-50ft"] .bm-dims--card { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.4cqi 1.6cqi; margin-inline: -2cqi; }
  main[data-world="obstacle-course-50ft"] .bm-dims--card dt { font-size: max(11px, 3cqi); }
  main[data-world="obstacle-course-50ft"] .bm-dims--card dd { font-size: max(13px, 3.4cqi); }
}

/* 5. Section titles: big, white fill, navy outline, soft glow. */
main[data-world="obstacle-course-50ft"] :is(.bm-details__heading, .bm-crew__title, #treats-title, #related-title) {
  -webkit-text-stroke: 0.07em #0A2A55;
  text-shadow: 0 4px 0 rgb(10 42 85 / 0.4), 0 0 34px rgb(255 255 255 / 0.75), 0 0 12px rgb(120 214 255 / 0.7) !important;
}
main[data-world="obstacle-course-50ft"] :is(.bm-details__heading, .bm-crew__title, #treats-title, #related-title) { font-size: clamp(56px, 7vw, 108px) !important; line-height: 1 !important; }
@media (max-width: 767px) {
  main[data-world="obstacle-course-50ft"] :is(.bm-details__heading, .bm-crew__title, #treats-title, #related-title) { font-size: clamp(42px, 12.4vw, 56px) !important; }
}

/* 6. Attendant card: larger card, character and text fill the face. */
main[data-world="obstacle-course-50ft"] .bm-crew__panel--solo { width: min(88vw, 740px); }
@media (min-width: 768px) {
  main[data-world="obstacle-course-50ft"] .bm-crew__media { height: 31cqi; }
  main[data-world="obstacle-course-50ft"] .bm-crew__heading { font-size: clamp(22px, 5.4cqi, 40px) !important; }
  main[data-world="obstacle-course-50ft"] .bm-crew__text { font-size: clamp(15px, 3.3cqi, 23px); max-width: 32ch; }
  main[data-world="obstacle-course-50ft"] .bm-crew .attendant__rate strong { font-size: clamp(26px, 6.8cqi, 44px); }
  main[data-world="obstacle-course-50ft"] .bm-crew__controls .bm-switch__text { font-size: clamp(14px, 3.1cqi, 20px); }
}

/* 7. Square outdoor photo: aqua world tint instead of white bars. */
main[data-world="obstacle-course-50ft"] .bm-gallery .mbm-car__slide:has(img[src*="gallery-2"]) { background: #CBEEFA; }
main[data-world="obstacle-course-50ft"] .bm-gallery .mbm-car__slide img[src*="gallery-2"] { background: transparent; }
main[data-world="obstacle-course-50ft"] .bm-treats #treats-title { font-size: clamp(56px, 7vw, 108px) !important; line-height: 1 !important; width: auto !important; max-width: 94% !important; white-space: normal !important; text-wrap: balance; -webkit-text-stroke: 0.07em #0A2A55; }
@media (max-width: 767px) { main[data-world="obstacle-course-50ft"] .bm-treats #treats-title { font-size: clamp(42px, 12.4vw, 56px) !important; } }
main[data-world="obstacle-course-50ft"] .bm-treats #treats-title { color: #fff !important; font-weight: 400 !important; paint-order: stroke fill; text-shadow: 0 4px 0 rgb(10 42 85 / 0.4), 0 0 34px rgb(255 255 255 / 0.75), 0 0 12px rgb(120 214 255 / 0.7) !important; }
@media (max-width: 899px) {
  main[data-world="obstacle-course-50ft"] .bm-hq__safe { inset: 22cqi 20cqi 36cqi 26cqi; gap: 1.4cqi; }
  main[data-world="obstacle-course-50ft"] .bm-hq__open { width: 86%; }
  main[data-world="obstacle-course-50ft"] .bm-dims--card { margin-inline: 0; gap: 2cqi 1cqi; }
  main[data-world="obstacle-course-50ft"] .bm-dims--card dd { font-size: max(12px, 3.1cqi); }
  main[data-world="obstacle-course-50ft"] .bm-dims--card dt { font-size: max(10px, 2.7cqi); }
}
@media (min-width: 900px) {
  main[data-world="obstacle-course-50ft"] .bm-dims--card { margin-inline: -2cqi; gap: 0 1cqi; }
  main[data-world="obstacle-course-50ft"] .bm-dims--card dt { font-size: max(10px, 2cqi); }
  main[data-world="obstacle-course-50ft"] .bm-dims--card dd { font-size: max(12px, 2.5cqi); }
}
@media (min-width: 768px) {
  main[data-world="obstacle-course-50ft"] .bm-crew__safe { inset: 24cqi 17cqi 31cqi 23cqi; gap: 1cqi; }
  main[data-world="obstacle-course-50ft"] .bm-crew__media { height: 37cqi; }
  main[data-world="obstacle-course-50ft"] .bm-crew__heading { font-size: clamp(24px, 6cqi, 46px) !important; }
  main[data-world="obstacle-course-50ft"] .bm-crew__text { font-size: clamp(16px, 3.6cqi, 27px); max-width: 34ch; line-height: 1.3; }
  main[data-world="obstacle-course-50ft"] .bm-crew .attendant__rate strong { font-size: clamp(28px, 7.6cqi, 54px); }
  main[data-world="obstacle-course-50ft"] .bm-crew__controls .bm-switch__text { font-size: clamp(15px, 3.4cqi, 24px); }
  main[data-world="obstacle-course-50ft"] .bm-hero__product { margin-top: 24px; }
}

/* ==== Sabrina 2026-09-30: TITLES MUCH BIGGER (every page, standing rule) ==== */
main[data-world="obstacle-course-50ft"] :is(.bm-details__heading, .bm-crew__title, #treats-title, #related-title),
main[data-world="obstacle-course-50ft"] .bm-treats #treats-title { font-size: clamp(76px, 10.4vw, 156px) !important; line-height: 0.98 !important; text-wrap: balance; }
main[data-world="obstacle-course-50ft"] .bm-hero__card .bm-hero__title { font-size: clamp(64px, 6.4vw, 100px) !important; line-height: 0.95 !important; }
@media (max-width: 767px) {
  main[data-world="obstacle-course-50ft"] :is(.bm-details__heading, .bm-crew__title, #treats-title, #related-title),
  main[data-world="obstacle-course-50ft"] .bm-treats #treats-title { font-size: clamp(54px, 16vw, 68px) !important; }
  main[data-world="obstacle-course-50ft"] .bm-hero__card .bm-hero__title { font-size: clamp(54px, 15vw, 64px) !important; }
}

/* ---- Sabrina 2026-09-30: CTA labels centred on their plaque (the plus sits
   at the right edge and no longer pushes the words off-centre). ---- */
main[data-world="obstacle-course-50ft"] .bm-mission__face { justify-content: center; }
main[data-world="obstacle-course-50ft"] .bm-mission__label { text-align: center; padding-inline: 1.3em; }
main[data-world="obstacle-course-50ft"] .bm-mission__plus { position: absolute; right: 3%; top: 0; bottom: 0; margin: auto 0; }
main[data-world="obstacle-course-50ft"] .bm-plaque-btn__label { text-align: center; }

/* ---- Sabrina 2026-09-30: the description card NEVER scrolls. ---- */
main[data-world="obstacle-course-50ft"] .bm-details__description { overflow: visible !important; max-height: none !important; scrollbar-width: none; }
main[data-world="obstacle-course-50ft"] .bm-details__description::-webkit-scrollbar { display: none; }

/* ==== Sabrina 2026-09-30: never squeeze a frame. The attendant and dimensions
   cards use frame-attendant-wide-v2 (source 02_07_28 AM-1) at its natural
   1536x1024 shape. Water face: x 22-80%, y 17-68%. PC = wide cards with a BIG
   attendant and no empty space; phones keep the natural corners (border-image). ==== */
@media (min-width: 768px) {
  main[data-world="obstacle-course-50ft"] .bm-crew__panel--solo { width: min(92vw, 1120px) !important; aspect-ratio: 1536 / 1024 !important; }
  main[data-world="obstacle-course-50ft"] .bm-crew__panel--solo::before { content: none !important; }
  main[data-world="obstacle-course-50ft"] .bm-crew__panel--solo .bm-crew__frame { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: fill; }
  main[data-world="obstacle-course-50ft"] .bm-crew__panel--solo .bm-crew__safe {
    position: absolute !important; inset: 15% 19% 30% 21% !important;
    display: grid !important; grid-template-columns: 40% 1fr; grid-template-rows: 1fr auto auto 1fr;
    column-gap: 3%; row-gap: 0.8cqi; align-items: center; justify-items: center; text-align: center;
  }
  main[data-world="obstacle-course-50ft"] .bm-crew__panel--solo .bm-crew__media { grid-column: 1; grid-row: 1 / 5; height: 100% !important; width: 100%; display: flex; align-items: center; justify-content: center; }
  main[data-world="obstacle-course-50ft"] .bm-crew__panel--solo .bm-crew__character { height: 112% !important; width: auto !important; max-width: none !important; max-height: none !important; }
  main[data-world="obstacle-course-50ft"] .bm-crew__panel--solo .bm-crew__heading { grid-column: 2; grid-row: 1; align-self: end; font-size: clamp(30px, 3.4vw, 50px) !important; line-height: 1.02; }
  main[data-world="obstacle-course-50ft"] .bm-crew__panel--solo .bm-crew__text { grid-column: 2; grid-row: 2; font-size: clamp(17px, 1.6vw, 23px) !important; max-width: 26ch; line-height: 1.35; }
  main[data-world="obstacle-course-50ft"] .bm-crew__panel--solo .bm-crew__controls { grid-column: 2; grid-row: 3 / 5; align-self: start; }
  main[data-world="obstacle-course-50ft"] .bm-crew__panel--solo .attendant__rate strong { font-size: clamp(36px, 3.6vw, 54px) !important; }
  main[data-world="obstacle-course-50ft"] .bm-crew__panel--solo .attendant__rate { font-size: clamp(18px, 1.6vw, 24px); }
  main[data-world="obstacle-course-50ft"] .bm-crew__panel--solo .bm-switch__text { font-size: clamp(16px, 1.4vw, 20px) !important; }

  /* Dimensions card: same natural frame, diagram left, measurements right. */
  main[data-world="obstacle-course-50ft"] .bm-hq { aspect-ratio: 1536 / 1024 !important; }
  main[data-world="obstacle-course-50ft"] .bm-hq__frame { position: absolute; inset: 0; width: 100% !important; height: 100% !important; object-fit: fill; }
  main[data-world="obstacle-course-50ft"] .bm-hq__safe {
    position: absolute !important; inset: 16% 19% 31% 22% !important;
    display: grid !important; grid-template-columns: 56% 1fr; column-gap: 5%; align-items: center; justify-items: center; gap: 0 5%;
  }
  main[data-world="obstacle-course-50ft"] .bm-hq__open { width: 100% !important; height: 100%; display: flex; align-items: center; }
  main[data-world="obstacle-course-50ft"] .bm-hq__open::after { inset: 0 !important; }
  main[data-world="obstacle-course-50ft"] .bm-hq__diagram-wrap { width: 100%; }
  main[data-world="obstacle-course-50ft"] .bm-hq__diagram { width: 100% !important; height: auto; max-height: 100%; object-fit: contain; }
  main[data-world="obstacle-course-50ft"] .bm-dims--card { display: grid !important; grid-template-columns: 1fr 1fr; gap: 1.2cqi 3cqi !important; margin: 0 !important; }
  main[data-world="obstacle-course-50ft"] .bm-dims--card dt { font-size: max(11px, 2.4cqi) !important; }
  main[data-world="obstacle-course-50ft"] .bm-dims--card dd { font-size: max(15px, 3.6cqi) !important; line-height: 1.1; }
  main[data-world="obstacle-course-50ft"] .bm-char--nemo { width: 26% !important; bottom: calc(100% - 14cqi) !important; }
}
@media (max-width: 767px) {
  main[data-world="obstacle-course-50ft"] .bm-crew__panel,
  main[data-world="obstacle-course-50ft"] .bm-hq {
    --k: 0.2;
    aspect-ratio: auto !important;
    border-style: solid; border-color: transparent;
    border-width: calc(175px * var(--k)) calc(307px * var(--k)) calc(330px * var(--k)) calc(338px * var(--k)) !important;
    border-image: url('../../assets/bundled/product-worlds/obstacle-course-50ft/frame-attendant-wide-v2.webp') 175 307 330 338 fill / calc(175px * var(--k)) calc(307px * var(--k)) calc(330px * var(--k)) calc(338px * var(--k)) round !important;
    background: none !important; box-shadow: none !important;
  }
  main[data-world="obstacle-course-50ft"] .bm-hq__frame { display: none !important; }
  main[data-world="obstacle-course-50ft"] .bm-hq__safe { position: relative !important; inset: auto !important; padding: 6px 0 0; }
  main[data-world="obstacle-course-50ft"] .bm-crew__media { height: 230px !important; }
  main[data-world="obstacle-course-50ft"] .bm-crew__heading { font-size: 30px !important; }
  main[data-world="obstacle-course-50ft"] .bm-crew__text { font-size: 17px !important; }
}
@media (min-width: 768px) {
  main[data-world="obstacle-course-50ft"] .bm-details__stage { grid-template-columns: minmax(0, 1fr) 50cqi !important; }
  main[data-world="obstacle-course-50ft"] .bm-details__description { font-size: 2.75cqi !important; line-height: 1.4 !important; max-width: none !important; }
  main[data-world="obstacle-course-50ft"] .bm-hq__safe { inset: 20% 19% 30% 23% !important; grid-template-columns: 50% 1fr; }
  main[data-world="obstacle-course-50ft"] .bm-dims--card { grid-template-columns: 1fr !important; gap: 0.6cqi !important; text-align: center; }
  main[data-world="obstacle-course-50ft"] .bm-dims--card > div { display: flex; flex-direction: column; align-items: center; }
  main[data-world="obstacle-course-50ft"] .bm-dims--card dt { font-size: max(10px, 2cqi) !important; }
  main[data-world="obstacle-course-50ft"] .bm-dims--card dd { font-size: max(13px, 2.9cqi) !important; white-space: nowrap; }
  main[data-world="obstacle-course-50ft"] .bm-crew__panel--solo .bm-crew__safe { inset: 23% 19% 27% 21% !important; }
  main[data-world="obstacle-course-50ft"] .bm-crew__panel--solo .bm-crew__character { height: 108% !important; }
}
@media (min-width: 768px) {
  main[data-world="obstacle-course-50ft"] .bm-details__stage { grid-template-columns: minmax(0, 1fr) 44cqi !important; }
  main[data-world="obstacle-course-50ft"] .bm-details__description { font-size: 2.35cqi !important; line-height: 1.38 !important; }
  main[data-world="obstacle-course-50ft"] .bm-hq__hint { left: auto !important; right: 4% !important; top: 4% !important; }
  main[data-world="obstacle-course-50ft"] .bm-crew__panel--solo .bm-crew__heading { margin-top: 2.6cqi !important; }
}
@media (min-width: 768px) {
  main[data-world="obstacle-course-50ft"] .bm-hq__safe { inset: 22% 19% 30% 23% !important; }
  main[data-world="obstacle-course-50ft"] .bm-dims--card { gap: 0.2cqi !important; align-self: center; }
  main[data-world="obstacle-course-50ft"] .bm-dims--card dt { font-size: max(10px, 1.7cqi) !important; }
  main[data-world="obstacle-course-50ft"] .bm-dims--card dd { font-size: max(13px, 2.5cqi) !important; }
}
/* Phones: the folder has no tall frame and a wide frame must never be squeezed
   or tiled, so the attendant and dimensions cards use the same aqua card as the
   phone description card (Sabrina, 2026-09-30). */
@media (max-width: 767px) {
  main[data-world="obstacle-course-50ft"] .bm-crew__panel,
  main[data-world="obstacle-course-50ft"] .bm-hq {
    border: 3px solid #0B5FA5 !important; border-image: none !important;
    border-radius: 22px !important; background: #EAF8FF !important;
    box-shadow: 5px 5px 0 #0B5FA5 !important; padding: 18px 16px 20px !important;
    width: calc(100% - 32px) !important; margin-inline: auto !important;
  }
  main[data-world="obstacle-course-50ft"] .bm-crew__frame, main[data-world="obstacle-course-50ft"] .bm-hq__frame { display: none !important; }
  main[data-world="obstacle-course-50ft"] .bm-crew__safe { margin: 0 !important; gap: 10px !important; }
  main[data-world="obstacle-course-50ft"] .bm-crew__media { height: 300px !important; }
}

/* ==== Hero (Sabrina 2026-09-30): Batman layout. HUGE live title above the
   product and card; the card frame is frame-card-natural-v2 (source
   02_07_29 AM-2, 1659x948) at its NATURAL shape. Opening: x 16-84%,
   y 24-83% of the frame, so the card box = the opening and the frame hangs
   around it (Wo = card width / 0.68; frame height = 0.5714 Wo). ==== */
main[data-world="obstacle-course-50ft"] .bm-hero__stage > .bm-hero__title {
  grid-area: title; justify-self: center; width: auto !important; max-width: 94vw !important; margin: 0 auto 0.1em !important;
  font-family: var(--bm-serif) !important; font-weight: 400 !important; line-height: 0.95 !important; letter-spacing: 0.01em;
  font-size: clamp(84px, 9.4vw, 150px) !important; text-align: center; text-wrap: balance;
  color: #FF7A1A !important; -webkit-text-stroke: 0.06em #0A2A55; paint-order: stroke fill;
  text-shadow: 0 5px 0 rgb(10 42 85 / 0.45), 0 0 36px rgb(255 255 255 / 0.7) !important; filter: none;
}
@media (min-width: 768px) {
  main[data-world="obstacle-course-50ft"] .bm-hero__stage { grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr) !important; grid-template-areas: "title title" "product card" !important; align-items: center; }
  main[data-world="obstacle-course-50ft"] .bm-hero__card {
    width: min(100%, 500px) !important; aspect-ratio: 2.02 !important; justify-self: center;
    padding: 0 !important; display: flex !important; flex-direction: column; justify-content: center; align-items: center; gap: 8px !important;
    background: #EAF8FF !important; border-radius: 28px; box-shadow: 0 0 0 12px #EAF8FF !important;
  }
  main[data-world="obstacle-course-50ft"] .bm-hero__card > .bm-hero__frame {
    --wo: calc(100cqi / 0.68);
    left: calc(-0.16 * var(--wo)) !important; right: calc(-0.16 * var(--wo)) !important;
    top: calc(-0.1371 * var(--wo)) !important; bottom: calc(-0.0971 * var(--wo)) !important;
    background: url('../../assets/bundled/product-worlds/obstacle-course-50ft/frame-card-natural-v2.webp') center / 100% 100% no-repeat !important;
  }
  main[data-world="obstacle-course-50ft"] .bm-hero__features { font-size: clamp(22px, 5.4cqi, 30px) !important; margin: 0 !important; }
  main[data-world="obstacle-course-50ft"] .bm-hero__card .bm-plaque-btn--hero { width: min(78%, 340px) !important; }
}
@media (max-width: 767px) {
  main[data-world="obstacle-course-50ft"] .bm-hero__stage { grid-template-areas: "title" "product" "card" !important; }
  main[data-world="obstacle-course-50ft"] .bm-hero__stage > .bm-hero__title { font-size: clamp(56px, 16vw, 68px) !important; }
  main[data-world="obstacle-course-50ft"] .bm-hero__card {
    width: calc(100% - 32px) !important; margin-inline: auto !important; padding: 22px 16px 24px !important;
    background: #EAF8FF !important; border: 3px solid #0B5FA5 !important; border-radius: 22px !important; box-shadow: 5px 5px 0 #0B5FA5 !important;
  }
  main[data-world="obstacle-course-50ft"] .bm-hero__card > .bm-hero__frame { display: none !important; }
}
@media (min-width: 768px) {
  main[data-world="obstacle-course-50ft"] :is(#treats-title, #related-title, .bm-details__heading:not(.bm-lettering), .bm-crew__title:not(.bm-lettering)) { max-width: none !important; text-align: center; }
}
/* Hero card heading (Sabrina 2026-09-30): big, one line, Nemo orange. */
main[data-world="obstacle-course-50ft"] .bm-hero__card-title {
  position: relative; z-index: 1; margin: 0; white-space: nowrap; text-align: center;
  font-family: var(--bm-serif); font-weight: 400; line-height: 1; letter-spacing: 0.01em;
  font-size: clamp(40px, 11.5cqi, 64px); color: #FF7A1A;
  -webkit-text-stroke: 0.07em #0A2A55; paint-order: stroke fill; text-shadow: 0 3px 0 rgb(10 42 85 / 0.35);
}
@media (min-width: 768px) {
  main[data-world="obstacle-course-50ft"] .bm-hero__card { width: min(100%, 540px) !important; aspect-ratio: 1.97 !important; gap: 4px !important; }
  /* Frame always at its natural height (0.5714 Wo), its opening centre (53.5% down) on the card centre. */
  main[data-world="obstacle-course-50ft"] .bm-hero__card > .bm-hero__frame { bottom: auto !important; height: calc(0.5714 * var(--wo)) !important; top: calc(50% - 0.535 * 0.5714 * var(--wo)) !important; }
}
@media (max-width: 767px) { main[data-world="obstacle-course-50ft"] .bm-hero__card-title { font-size: clamp(38px, 12vw, 48px); } }
/* Sabrina 2026-09-30: details + dimensions cards bigger, SIDE BY SIDE (never stacked).
   The coral rims bleed a little off the page edges and overlap in the middle;
   everything inside grows to fill the water face. */
@media (min-width: 1024px) {
  main[data-world="obstacle-course-50ft"] .bm-details__stage { width: calc(100% + 70px) !important; max-width: none !important; margin-left: -35px !important; column-gap: 0 !important; grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr) !important; }
  main[data-world="obstacle-course-50ft"] .bm-hq { margin-left: -40px !important; width: calc(100% + 40px) !important; }
  main[data-world="obstacle-course-50ft"] .bm-panel__safe { grid-template-columns: minmax(0, 1fr) 25cqi !important; column-gap: 2.4cqi !important; }
  main[data-world="obstacle-course-50ft"] .bm-details__description { font-size: 2.55cqi !important; line-height: 1.36 !important; }
  main[data-world="obstacle-course-50ft"] .bm-mission__label { font-size: clamp(15px, 2.05cqi, 22px) !important; }
  main[data-world="obstacle-course-50ft"] .bm-hq__safe { inset: 19% 18% 29% 21% !important; grid-template-columns: 56% 1fr !important; }
  main[data-world="obstacle-course-50ft"] .bm-dims--card dt { font-size: max(12px, 2.1cqi) !important; }
  main[data-world="obstacle-course-50ft"] .bm-dims--card dd { font-size: max(15px, 3.2cqi) !important; }
}
@media (min-width: 1024px) {
  main[data-world="obstacle-course-50ft"] .bm-details__description { font-size: 2.3cqi !important; line-height: 1.32 !important; }
  main[data-world="obstacle-course-50ft"] .bm-hq__safe { inset: 23% 18% 30% 21% !important; grid-template-columns: 52% 1fr !important; }
  main[data-world="obstacle-course-50ft"] .bm-dims--card { gap: 0 !important; }
  main[data-world="obstacle-course-50ft"] .bm-dims--card dt { font-size: max(11px, 1.8cqi) !important; }
  main[data-world="obstacle-course-50ft"] .bm-dims--card dd { font-size: max(14px, 2.8cqi) !important; line-height: 1.05; }
}

/* ==========================================================================
   Sabrina 2026-09-30: new folder art. Title lettering replaces the typed
   titles; new scenery; three new card frames, each at its natural ratio:
     frame-card-v3 (card 1, 1448x1086): water opening x 6-94%, y 18-85%
     frame-panel-v2 (card 2, 1672x941): safe x 14-89%, y 19-77%
     frame-attendant-wide-v3 (card thick border, 1536x1024): opening x 20-85%, y 31-73%
   ========================================================================== */
/* Lettering titles: the image is the title, so no text stroke, shadow or fit script. */
main[data-world="obstacle-course-50ft"] :is(.bm-hero__stage > .bm-hero__title, .bm-details__heading, .bm-crew__title, #treats-title, #related-title):has(> .bm-lettering__img, > .bm-hero__title-img) {
  -webkit-text-stroke: 0 !important; text-shadow: none !important; line-height: 0 !important; font-size: 0 !important;
  max-width: none !important; margin-inline: auto !important; translate: none !important; white-space: normal !important;
}
main[data-world="obstacle-course-50ft"] :is(.bm-hero__title-img, .bm-hero__card-title-img) { display: block; width: 100%; height: auto; }
main[data-world="obstacle-course-50ft"] .bm-hero__stage > .bm-hero__title { width: min(50vw, 760px) !important; filter: drop-shadow(0 6px 18px rgb(10 42 85 / 0.35)); }
main[data-world="obstacle-course-50ft"] :is(.bm-details__heading, #treats-title) { width: min(84vw, 1180px) !important; }
main[data-world="obstacle-course-50ft"] .bm-crew__title { width: min(56vw, 780px) !important; }
main[data-world="obstacle-course-50ft"] #related-title { width: min(70vw, 1000px) !important; }
@media (max-width: 767px) {
  main[data-world="obstacle-course-50ft"] .bm-hero__stage > .bm-hero__title { width: 92vw !important; }
  main[data-world="obstacle-course-50ft"] :is(.bm-details__heading, #treats-title) { width: 94vw !important; }
  main[data-world="obstacle-course-50ft"] .bm-crew__title { width: 86vw !important; }
  main[data-world="obstacle-course-50ft"] #related-title { width: 92vw !important; }
}
main[data-world="obstacle-course-50ft"] .bm-hero__card-title { width: min(62%, 300px); font-size: 0; line-height: 0; -webkit-text-stroke: 0; text-shadow: none; white-space: normal; }

/* Hero card: card 1, the box is the water opening and the frame hangs around it (Wo = width / 0.88, height 0.75 Wo). */
@media (min-width: 768px) {
  main[data-world="obstacle-course-50ft"] .bm-hero__card {
    width: min(100%, 580px) !important; aspect-ratio: 1.75 !important; gap: 6px !important;
    background: transparent !important; box-shadow: none !important; padding: 0 12% !important;
  }
  main[data-world="obstacle-course-50ft"] .bm-hero__card > .bm-hero__frame {
    --wo: calc(100cqi / 0.88);
    left: calc(-0.06 * var(--wo)) !important; right: calc(-0.06 * var(--wo)) !important;
    top: calc(-0.135 * var(--wo)) !important; bottom: auto !important; height: calc(0.75 * var(--wo)) !important;
    background: url('../../assets/bundled/product-worlds/obstacle-course-50ft/frame-card-v3.webp') center / 100% 100% no-repeat !important;
  }
}

/* Description card: card 2. */
main[data-world="obstacle-course-50ft"] .bm-panel { aspect-ratio: 1672 / 941 !important; }
@media (min-width: 900px) {
  main[data-world="obstacle-course-50ft"] .bm-panel__safe { inset: 10.7cqi 11cqi 13cqi 14cqi !important; }
}
@media (min-width: 768px) {
  .bm-dialog:not(.bm-dialog--dims) .bm-dialog__frame { aspect-ratio: 1672 / 941 !important; }
  .bm-dialog:not(.bm-dialog--dims) .bm-dialog__safe { inset: 10.7cqi 11cqi 13cqi 14cqi !important; }
}

/* Attendant and dimensions cards: card thick border, natural 1536x1024. */
@media (min-width: 768px) {
  main[data-world="obstacle-course-50ft"] .bm-crew__panel--solo .bm-crew__safe { inset: 32% 16% 28% 21% !important; }
  main[data-world="obstacle-course-50ft"] .bm-hq__safe { inset: 32% 17% 29% 22% !important; }
}
@media (max-width: 767px) {
  main[data-world="obstacle-course-50ft"] :is(.bm-crew__panel--solo, .bm-hq) { border-image: none !important; }
}

/* Fit pass: title widths win over the older lettering rules; the dimensions
   card uses card 2 like the description card (the thick-border card leaves too
   little room for the diagram); the attendant stands on the bottom rim and
   rises above it so the copy gets the width. */
@media (min-width: 768px) {
  html body main[data-world="obstacle-course-50ft"] section h2.bm-crew__title { width: min(52vw, 740px) !important; }
  html body main[data-world="obstacle-course-50ft"] section :is(h2.bm-details__heading, h2#treats-title) { width: min(80vw, 1120px) !important; }
  html body main[data-world="obstacle-course-50ft"] section h2#related-title { width: min(66vw, 940px) !important; }

  main[data-world="obstacle-course-50ft"] .bm-hq { aspect-ratio: 1672 / 941 !important; }
  main[data-world="obstacle-course-50ft"] .bm-hq__safe { inset: 19% 11% 23% 16% !important; grid-template-columns: 54% 1fr !important; }
  main[data-world="obstacle-course-50ft"] .bm-dims--card dt { font-size: max(12px, 2.2cqi) !important; }
  main[data-world="obstacle-course-50ft"] .bm-dims--card dd { font-size: max(15px, 3.4cqi) !important; }
  main[data-world="obstacle-course-50ft"] .bm-details__description { font-size: 3.1cqi !important; line-height: 1.34 !important; }

  main[data-world="obstacle-course-50ft"] .bm-crew__panel--solo .bm-crew__safe { inset: 31% 16% 27% 21% !important; grid-template-columns: 34% 1fr !important; row-gap: 0.6cqi !important; }
  main[data-world="obstacle-course-50ft"] .bm-crew__panel--solo .bm-crew__media { align-items: flex-end !important; align-self: end; height: 100% !important; overflow: visible; }
  main[data-world="obstacle-course-50ft"] .bm-crew__panel--solo .bm-crew__character { height: 165% !important; }
  main[data-world="obstacle-course-50ft"] .bm-crew__panel--solo .bm-crew__heading { font-size: clamp(24px, 2.3vw, 34px) !important; margin-top: 0 !important; }
  main[data-world="obstacle-course-50ft"] .bm-crew__panel--solo .bm-crew__text { font-size: clamp(15px, 1.25vw, 19px) !important; max-width: 36ch; }
  main[data-world="obstacle-course-50ft"] .bm-crew__panel--solo .attendant__rate strong { font-size: clamp(28px, 2.6vw, 40px) !important; }
}
/* Id selectors: the older title rule matches through an id, so these must too. */
html body main[data-world="obstacle-course-50ft"] #bm-crew-title { width: min(52vw, 740px) !important; }
@media (max-width: 767px) { html body main[data-world="obstacle-course-50ft"] #bm-crew-title { width: 86vw !important; } }
@media (min-width: 768px) {
  main[data-world="obstacle-course-50ft"] .bm-crew__panel--solo { width: min(96vw, 1320px) !important; }
  main[data-world="obstacle-course-50ft"] .bm-crew__panel--solo .bm-crew__character { height: 135% !important; }
  main[data-world="obstacle-course-50ft"] .bm-crew__panel--solo .bm-crew__heading { font-size: clamp(26px, 2.5vw, 38px) !important; }
  main[data-world="obstacle-course-50ft"] .bm-crew__panel--solo .bm-crew__text { font-size: clamp(16px, 1.4vw, 21px) !important; }
  main[data-world="obstacle-course-50ft"] .bm-dims--card dd { font-size: max(14px, 2.7cqi) !important; }
  main[data-world="obstacle-course-50ft"] .bm-hq__safe { grid-template-columns: 56% 1fr !important; right: 13% !important; }
}
@media (min-width: 768px) {
  html body main[data-world="obstacle-course-50ft"] #bm-crew-title { width: min(58vw, 840px) !important; }
  main[data-world="obstacle-course-50ft"] .bm-crew__panel--solo .bm-crew__safe { right: 19% !important; }
}

/* ==========================================================================
   Nemo motion pilot (Sabrina 2026-09-30). Everything is an extra layer drawn
   in code: the supplied art is never moved, faded or resized, and the bubbles
   sit behind the words (z-index -1, above the scenery). Off for reduced motion.
   ========================================================================== */
.bm-bubbles { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.bm-bubble {
  position: absolute; bottom: -40px; width: var(--s); height: var(--s); border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, rgb(255 255 255 / 0.95) 0 9%, rgb(255 255 255 / 0.18) 22%, rgb(140 220 255 / 0.10) 58%, rgb(255 255 255 / 0.55) 72%, rgb(255 255 255 / 0) 76%);
  box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / 0.6), 0 0 12px rgb(160 230 255 / 0.35);
  animation: bm-bubble-rise var(--d) cubic-bezier(0.3, 0, 0.7, 1) forwards;
}
.bm-bubble > i { display: block; width: 100%; height: 100%; border-radius: 50%; animation: bm-bubble-wobble 1.6s ease-in-out infinite alternate; }
@keyframes bm-bubble-rise { to { transform: translate(var(--dx), calc(-1 * var(--h))); } }
@keyframes bm-bubble-wobble { from { translate: -5px 0; } to { translate: 5px 0; } }
.bm-bubble.is-pop { animation: bm-bubble-pop 320ms cubic-bezier(0.22, 1, 0.36, 1) forwards; }
@keyframes bm-bubble-pop {
  0% { scale: 1; opacity: 1; box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / 0.6), 0 0 0 0 rgb(255 255 255 / 0.8); }
  100% { scale: 1.6; opacity: 0; box-shadow: inset 0 0 0 0 rgb(255 255 255 / 0), 0 0 0 10px rgb(255 255 255 / 0); }
}

/* Button bubbles: a thin stream rises off the shell while it is hovered. */
.bm-btn-bubble {
  position: fixed; z-index: 60; width: var(--s); height: var(--s); border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle at 32% 28%, #fff 0 12%, rgb(255 255 255 / 0.15) 30%, rgb(255 255 255 / 0.6) 70%, transparent 74%);
  animation: bm-btn-bubble 900ms cubic-bezier(0.3, 0, 0.6, 1) forwards;
}
@keyframes bm-btn-bubble { 0% { opacity: 0; transform: translate(0, 0); } 20% { opacity: 1; } 100% { opacity: 0; transform: translate(var(--dx), -70px); } }

/* Lettering titles sway as if underwater on hover (once on scroll-in for touch). */
@keyframes bm-sway {
  0%, 100% { transform: translateY(0) rotate(0); }
  25% { transform: translateY(-5px) rotate(-1.2deg); }
  75% { transform: translateY(4px) rotate(1.2deg); }
}
main[data-world="obstacle-course-50ft"] :is(.bm-hero__title-img, .bm-hero__card-title-img, h2 > .bm-lettering__img) { transform-origin: 50% 60%; }
@media (hover: hover) {
  main[data-world="obstacle-course-50ft"] :is(.bm-hero__stage > .bm-hero__title, .bm-hero__card-title, h2:has(> .bm-lettering__img)):hover > img { animation: bm-sway 1.8s ease-in-out infinite; }
}
main[data-world="obstacle-course-50ft"] .is-sway > img { animation: bm-sway 1.8s ease-in-out 1; }

/* Hero: soft sunlight ripples over the sea (a light layer above the scenery). */
.bm-caustics {
  position: absolute; inset: -10% -10% 30%; z-index: -1; pointer-events: none; mix-blend-mode: soft-light; opacity: 0.55;
  background:
    radial-gradient(ellipse 18% 6% at 20% 30%, rgb(255 255 255 / 0.8), transparent 70%),
    radial-gradient(ellipse 14% 5% at 62% 18%, rgb(255 255 255 / 0.7), transparent 70%),
    radial-gradient(ellipse 22% 7% at 84% 42%, rgb(255 255 255 / 0.6), transparent 70%),
    radial-gradient(ellipse 16% 5% at 40% 52%, rgb(255 255 255 / 0.5), transparent 70%);
  filter: blur(6px);
  animation: bm-caustics 11s ease-in-out infinite alternate;
}
@keyframes bm-caustics { from { transform: translate(-2%, 0) skewX(-4deg); } to { transform: translate(3%, 2%) skewX(5deg); } }
.bm-caustics.is-paused { animation-play-state: paused; }

@media (prefers-reduced-motion: reduce) {
  .bm-bubbles, .bm-btn-bubble, .bm-caustics { display: none !important; }
  main[data-world="obstacle-course-50ft"] :is(.bm-hero__title-img, .bm-hero__card-title-img, .bm-lettering__img) { animation: none !important; }
}
@media (min-width: 900px) { main[data-world="obstacle-course-50ft"] .bm-panel__safe { left: 15.5cqi !important; } }
@media (min-width: 768px) {
  main[data-world="obstacle-course-50ft"] .bm-hq__safe { right: 16% !important; }
  main[data-world="obstacle-course-50ft"] .bm-dims--card dd { font-size: max(13px, 2.4cqi) !important; }
}

/* ==========================================================================
   Round 2 (Sabrina 2026-09-30). Busy/calm pairing: only one layer per section
   is busy. Details and carousel sit on calm reefs; the attendant keeps the busy
   reef with a calm card. No section dividers. Characters with a job in every section.
     frame-panel-v3 ("card thick borders 3", 1536x1024): calm face; safe x 20-79%, y 24-76%
     frame-attendant-wide-v3 ("card thick border", 1536x1024): face x 20-85%, y 31-73%
     frame-card-v3 ("card 1", 1448x1086): face x 6-94%, y 18-85%; coral in all four corners
   ========================================================================== */
main[data-world="obstacle-course-50ft"] :is(.bm-ornament, .bm-divider) { display: none !important; }

/* ---------- Details: two equal calm-reef cards, side by side ---------- */
main[data-world="obstacle-course-50ft"] .bm-panel { aspect-ratio: 1536 / 1024 !important; }
main[data-world="obstacle-course-50ft"] .bm-panel__frame { z-index: 1; }
main[data-world="obstacle-course-50ft"] .bm-panel__safe { z-index: 2; }
@media (min-width: 900px) {
  main[data-world="obstacle-course-50ft"] .bm-panel__safe {
    inset: 16cqi 21cqi 16cqi 20cqi !important;
    grid-template-columns: minmax(0, 1fr) 21cqi !important; column-gap: 2.4cqi !important;
    align-items: center !important; align-content: center !important;
  }
  main[data-world="obstacle-course-50ft"] .bm-details__description { font-size: 2.55cqi !important; line-height: 1.34 !important; text-align: center; }
  main[data-world="obstacle-course-50ft"] .bm-missions { gap: 1.4cqi !important; }
  main[data-world="obstacle-course-50ft"] .bm-mission__label { font-size: clamp(13px, 1.75cqi, 19px) !important; }
}
@media (min-width: 1024px) {
  main[data-world="obstacle-course-50ft"] .bm-details__stage { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important; width: calc(100% + 60px) !important; margin-left: -30px !important; column-gap: 0 !important; align-items: center; }
  main[data-world="obstacle-course-50ft"] .bm-hq { margin-left: -20px !important; width: calc(100% + 20px) !important; }
}
main[data-world="obstacle-course-50ft"] .bm-hq { aspect-ratio: 1536 / 1024 !important; }
@media (min-width: 768px) {
  main[data-world="obstacle-course-50ft"] .bm-hq__frame { z-index: 1 !important; }
  main[data-world="obstacle-course-50ft"] .bm-hq__safe {
    z-index: 2 !important; inset: 34% 18% 30% 24% !important; right: 18% !important;
    display: grid !important; grid-template-columns: 48% 1fr !important; column-gap: 5% !important;
    align-items: center !important; justify-items: center !important;
  }
  main[data-world="obstacle-course-50ft"] .bm-hq__open { height: 100% !important; width: 100% !important; display: flex !important; align-items: center; justify-content: center; }
  main[data-world="obstacle-course-50ft"] .bm-hq__diagram-wrap { width: auto !important; height: 100% !important; aspect-ratio: 1; max-width: 100%; }
  main[data-world="obstacle-course-50ft"] .bm-hq__diagram { width: 100% !important; height: 100% !important; max-height: none !important; object-fit: contain; }
  main[data-world="obstacle-course-50ft"] .bm-dims--card { grid-template-columns: 1fr 1fr !important; gap: 1.6cqi 2cqi !important; align-self: center; }
  main[data-world="obstacle-course-50ft"] .bm-dims--card dt { font-size: max(10px, 1.55cqi) !important; }
  main[data-world="obstacle-course-50ft"] .bm-dims--card dd { font-size: max(13px, 2.3cqi) !important; white-space: normal !important; line-height: 1.1 !important; }
  main[data-world="obstacle-course-50ft"] .bm-hq__hint { right: 19% !important; top: 30% !important; }
}

/* ---------- Attendant: card 1 (calm face) on the busy reef, big and centred ---------- */
@media (min-width: 768px) {
  main[data-world="obstacle-course-50ft"] .bm-crew__panel--solo { width: min(84vw, 1060px) !important; aspect-ratio: 1600 / 656 !important; }
  main[data-world="obstacle-course-50ft"] .bm-crew__panel--solo .bm-crew__safe {
    inset: 21% 13% 19% 14% !important; right: 13% !important;
    grid-template-columns: 42% 1fr !important; grid-template-rows: 1fr auto auto auto 1fr !important;
    column-gap: 3% !important; row-gap: 1.4cqi !important;
  }
  main[data-world="obstacle-course-50ft"] .bm-crew__panel--solo .bm-crew__media { grid-row: 1 / 6 !important; height: 100% !important; align-items: flex-end !important; }
  main[data-world="obstacle-course-50ft"] .bm-crew__panel--solo .bm-crew__character { height: 112% !important; }
  main[data-world="obstacle-course-50ft"] .bm-crew__panel--solo .bm-crew__heading { grid-row: 2 !important; font-size: clamp(30px, 3vw, 46px) !important; }
  main[data-world="obstacle-course-50ft"] .bm-crew__panel--solo .bm-crew__text { grid-row: 3 !important; font-size: clamp(17px, 1.6vw, 23px) !important; max-width: 30ch; }
  main[data-world="obstacle-course-50ft"] .bm-crew__panel--solo .bm-crew__controls { grid-row: 4 !important; align-self: center !important; }
}

/* ---------- Popups: the calm card, content centred on its face ---------- */
@media (min-width: 768px) {
  .bm-dialog--info .bm-dialog__frame { aspect-ratio: 1536 / 1024 !important; }
  .bm-dialog--info .bm-dialog__safe {
    inset: 17cqi 22cqi 17cqi 21cqi !important;
    display: flex !important; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 1.6cqi;
  }
  .bm-dialog--info .bm-dialog__head { width: 100%; padding-inline: 7cqi !important; }
  .bm-dialog--info .bm-dialog__close { top: 50% !important; translate: 0 -50%; }
  .bm-dialog--info .bm-dialog__body { max-height: 100%; overflow: visible !important; text-align: center; }
}
@media (max-width: 767px) {
  .bm-dialog--info .bm-dialog__art { display: none !important; }
  .bm-dialog--info .bm-dialog__frame {
    aspect-ratio: auto !important; height: auto !important;
    background: #EAF8FF !important; border: 3px solid #0B5FA5 !important; border-radius: 22px !important; box-shadow: 5px 5px 0 #0B5FA5 !important;
  }
  .bm-dialog--info .bm-dialog__safe { position: relative !important; inset: auto !important; padding: 20px 18px 24px !important; display: flex !important; flex-direction: column; align-items: center; text-align: center; gap: 12px; }
  .bm-dialog--info .bm-dialog__body { text-align: center; }
}

/* ---------- Characters, each with a job ---------- */
main[data-world="obstacle-course-50ft"] .bm-char { pointer-events: none; }
/* Hero: Marlin swims up to the card's lower left corner. */
main[data-world="obstacle-course-50ft"] .bm-hero__card > img.bm-char--marlin { position: absolute !important; z-index: 3 !important; width: 34%; left: -24%; bottom: -14%; top: auto; right: auto; margin: 0; }
/* Details: Pearl peeks over the description card's top rim; Nemo over the dimensions card. */
main[data-world="obstacle-course-50ft"] .bm-panel > .bm-char--pearl { position: absolute; z-index: 0; width: 13%; left: 56%; bottom: calc(100% - 17cqi); top: auto; transform: rotate(6deg); }
main[data-world="obstacle-course-50ft"] .bm-char--nemo { z-index: 0 !important; width: 22% !important; left: 50% !important; bottom: calc(100% - 20cqi) !important; }
/* Attendant: the turtle cruises past the card's right edge. */
main[data-world="obstacle-course-50ft"] .bm-crew > .bm-char--squirt { z-index: 2; width: clamp(170px, 17vw, 270px) !important; left: auto !important; right: 2%; bottom: 6% !important; transform: none; }
/* Carousel: Peach is stuck to the top corner of the glass. */
main[data-world="obstacle-course-50ft"] .bm-gallery__stage { position: relative; }
main[data-world="obstacle-course-50ft"] .bm-gallery__stage > .bm-char--peach { position: absolute; z-index: 6; width: clamp(96px, 9vw, 150px); right: -3%; top: -7%; transform: rotate(14deg); }
/* Snacks: Dory lounges on top of the middle treat card. */
main[data-world="obstacle-course-50ft"] .treat--dory { position: relative; }
main[data-world="obstacle-course-50ft"] .treat--dory > .bm-char--dory { position: absolute; z-index: 3; width: 58%; left: 50%; bottom: calc(100% - 26px); transform: translateX(-50%); }
/* Related: Bruce, "fish are friends", grins in from the left. */
main[data-world="obstacle-course-50ft"] .bm-related > .bm-char--bruce { position: absolute; z-index: 1; width: clamp(240px, 24vw, 400px); left: -2%; bottom: 4%; top: auto; }
@media (max-width: 767px) {
  main[data-world="obstacle-course-50ft"] .bm-hero__card > img.bm-char--marlin { width: 104px; left: -8px; bottom: auto; top: -64px; }
  main[data-world="obstacle-course-50ft"] .bm-panel > .bm-char--pearl { display: none; }
  main[data-world="obstacle-course-50ft"] .bm-crew > .bm-char--squirt { width: 120px !important; right: 2%; bottom: 1% !important; }
  main[data-world="obstacle-course-50ft"] .bm-gallery__stage > .bm-char--peach { width: 70px; right: -2%; top: -30px; }
  main[data-world="obstacle-course-50ft"] .treat--dory > .bm-char--dory { width: 46%; bottom: calc(100% - 16px); }
  main[data-world="obstacle-course-50ft"] .bm-related > .bm-char--bruce { width: 150px; left: -4%; bottom: 1%; }
}

/* ---------- Motion round 2 ---------- */
/* Underwater lettering: a live water warp (SVG displacement) plus a slow bob. */
@keyframes bm-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@media (hover: hover) {
  main[data-world="obstacle-course-50ft"] :is(.bm-hero__stage > .bm-hero__title, .bm-hero__card-title, h2:has(> .bm-lettering__img)):hover > img { animation: bm-bob 2.6s ease-in-out infinite !important; filter: url(#bm-water); }
}
main[data-world="obstacle-course-50ft"] .is-sway > img { animation: bm-bob 2.6s ease-in-out 2 !important; filter: url(#bm-water); }

/* Sunlight ripples: two drifting caustic layers that shimmer where they cross. */
.bm-caustics {
  inset: 0 0 30% 0 !important; opacity: 0.5 !important; mix-blend-mode: overlay !important; filter: none !important;
  background: none !important; overflow: hidden;
  -webkit-mask-image: linear-gradient(#000 0 45%, transparent); mask-image: linear-gradient(#000 0 45%, transparent);
  animation: none !important;
}
.bm-caustics::before, .bm-caustics::after {
  content: ''; position: absolute; inset: -20%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='520' height='520'%3E%3Cfilter id='c'%3E%3CfeTurbulence type='turbulence' baseFrequency='0.011 0.017' numOctaves='2' seed='4' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 -16 0 0 0 2.6'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23c)'/%3E%3C/svg%3E");
  background-size: 520px 520px;
  animation: bm-caustic-a 18s linear infinite;
}
.bm-caustics::after { background-size: 680px 680px; opacity: 0.8; animation: bm-caustic-b 23s linear infinite; }
@keyframes bm-caustic-a { to { transform: translate(520px, 260px); } }
@keyframes bm-caustic-b { to { transform: translate(-680px, 340px); } }
.bm-caustics.is-paused::before, .bm-caustics.is-paused::after { animation-play-state: paused; }

/* Popup close: the card pops like a bubble. */
@keyframes bm-dialog-pop { 0% { scale: 1; opacity: 1; } 35% { scale: 1.06; opacity: 1; } 100% { scale: 1.14; opacity: 0; } }
dialog.bm-dialog.is-popping .bm-dialog__frame { animation: bm-dialog-pop 320ms cubic-bezier(0.22, 1, 0.36, 1) forwards; }
.bm-pop-drop {
  position: fixed; z-index: 10; width: var(--s); height: var(--s); border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle at 32% 28%, #fff 0 14%, rgb(255 255 255 / 0.2) 32%, rgb(160 225 255 / 0.7) 70%, transparent 74%);
  animation: bm-pop-drop 520ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
@keyframes bm-pop-drop { 0% { transform: translate(0, 0) scale(0.4); opacity: 1; } 100% { transform: translate(var(--dx), var(--dy)) scale(1); opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  dialog.bm-dialog.is-popping .bm-dialog__frame { animation: none; }
  .bm-pop-drop, .bm-caustics { display: none !important; }
  main[data-world="obstacle-course-50ft"] :is(h2, .bm-hero__title, .bm-hero__card-title) > img { filter: none !important; animation: none !important; }
}
/* Round 2 fit pass: the description fills its calm face; the dimensions stay on the
   thick card's water; Peach clears the chrome; Bruce clears the site dog and the cards. */
@media (min-width: 900px) {
  main[data-world="obstacle-course-50ft"] .bm-panel__safe { grid-template-columns: minmax(0, 1fr) 23cqi !important; }
  main[data-world="obstacle-course-50ft"] .bm-details__description { font-size: 3.05cqi !important; line-height: 1.3 !important; }
  main[data-world="obstacle-course-50ft"] .bm-mission__label { font-size: clamp(14px, 2cqi, 21px) !important; }
}
@media (min-width: 768px) {
  main[data-world="obstacle-course-50ft"] .bm-hq__safe { inset: 34% 22% 30% 24% !important; right: 22% !important; grid-template-columns: 52% 1fr !important; column-gap: 4% !important; }
  main[data-world="obstacle-course-50ft"] .bm-dims--card { grid-template-columns: 1fr !important; gap: 0.5cqi !important; }
  main[data-world="obstacle-course-50ft"] .bm-dims--card > div { display: flex !important; flex-direction: column; align-items: center; }
  main[data-world="obstacle-course-50ft"] .bm-dims--card dt { font-size: max(9px, 1.35cqi) !important; }
  main[data-world="obstacle-course-50ft"] .bm-dims--card dd { font-size: max(12px, 2cqi) !important; white-space: nowrap !important; }
}
main[data-world="obstacle-course-50ft"] .bm-gallery__stage > .bm-char--peach { right: auto !important; top: auto !important; left: -3%; bottom: -6%; transform: rotate(-12deg); }
main[data-world="obstacle-course-50ft"] .bm-related > .bm-char--bruce { width: clamp(220px, 20vw, 340px) !important; left: -3% !important; bottom: 22% !important; }
main[data-world="obstacle-course-50ft"] .treat--dory { position: relative; overflow: visible !important; }
@media (max-width: 767px) {
  main[data-world="obstacle-course-50ft"] .bm-gallery__stage > .bm-char--peach { left: -2%; bottom: -24px; width: 70px; }
  main[data-world="obstacle-course-50ft"] .bm-related > .bm-char--bruce { width: 130px !important; bottom: 3% !important; }
}
/* Description text stays on the calm water, clear of the corner coral. */
@media (min-width: 900px) {
  main[data-world="obstacle-course-50ft"] .bm-panel__safe { inset: 17cqi 21cqi 18cqi 24cqi !important; }
  main[data-world="obstacle-course-50ft"] .bm-details__description { font-size: 2.6cqi !important; }
}
/* Popups: bigger card, bigger words. */
@media (min-width: 768px) {
  dialog.bm-dialog--info { width: min(90vw, 1040px, calc(88vh * 1.5)) !important; max-width: none !important; height: auto !important; max-height: none !important; }
  .bm-dialog--info .bm-dialog__title { width: auto !important; font-size: max(24px, 3.6cqi) !important; }
  .bm-dialog--info .bm-dialog__body { font-size: max(16px, 2cqi) !important; line-height: 1.45; }
}
/* Ripples: one large seamless sheet per layer, drifting (no tile seams). */
.bm-caustics::before, .bm-caustics::after {
  inset: -12% !important; background-repeat: no-repeat !important; background-size: 100% 100% !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1800' height='900' viewBox='0 0 1800 900' preserveAspectRatio='none'%3E%3Cfilter id='c' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='turbulence' baseFrequency='0.006 0.011' numOctaves='2' seed='4'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 -16 0 0 0 2.6'/%3E%3C/filter%3E%3Crect width='1800' height='900' filter='url(%23c)'/%3E%3C/svg%3E") !important;
  animation: bm-caustic-a 9s ease-in-out infinite alternate !important;
}
.bm-caustics::after { transform: scaleX(-1); animation: bm-caustic-b 12s ease-in-out infinite alternate !important; }
@keyframes bm-caustic-a { from { translate: -4% -2%; } to { translate: 4% 2%; } }
@keyframes bm-caustic-b { from { translate: 5% 1%; } to { translate: -5% -2%; } }
/* ==== Round 3 (Sabrina 2026-09-30): nothing spills out of a card at any width ==== */
/* Dimensions card: the row is the face height, the diagram is a square that fits it,
   the plus sits small on the diagram's corner, measurements stay left of the shell. */
@media (min-width: 768px) {
  main[data-world="obstacle-course-50ft"] .bm-hq__safe { inset: 34% 25% 30% 24% !important; right: 25% !important; grid-template-rows: minmax(0, 1fr) !important; grid-template-columns: auto minmax(0, 1fr) !important; column-gap: 5% !important; }
  main[data-world="obstacle-course-50ft"] .bm-hq__open { height: 100% !important; min-height: 0 !important; width: auto !important; }
  main[data-world="obstacle-course-50ft"] .bm-hq__diagram-wrap { position: relative; display: block; height: 100% !important; width: auto !important; aspect-ratio: 1 / 1; max-width: none !important; }
  main[data-world="obstacle-course-50ft"] .bm-hq__diagram { width: 100% !important; height: 100% !important; }
  main[data-world="obstacle-course-50ft"] .bm-hq__hint { position: absolute !important; left: auto !important; top: auto !important; right: -8% !important; bottom: -8% !important; width: 26% !important; height: auto !important; aspect-ratio: 1; transform: none !important; translate: none !important; }
  main[data-world="obstacle-course-50ft"] .bm-dims--card { min-width: 0; }
  main[data-world="obstacle-course-50ft"] .bm-dims--card dt { font-size: max(9px, 1.3cqi) !important; }
  main[data-world="obstacle-course-50ft"] .bm-dims--card dd { font-size: max(11px, 1.75cqi) !important; white-space: normal !important; }
}
/* Hero card: everything inside the water. The rate pills say the hours, so the
   "Rental duration" label is kept for screen readers only. */
@media (min-width: 768px) {
  main[data-world="obstacle-course-50ft"] .bm-hero__card { justify-content: center !important; gap: 0.6cqi !important; padding: 2% 11% 3% !important; }
  main[data-world="obstacle-course-50ft"] .bm-hero__card-title { width: 44% !important; }
  main[data-world="obstacle-course-50ft"] .bm-hero__card .rental-rates legend { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  main[data-world="obstacle-course-50ft"] .bm-hero__features { font-size: clamp(16px, 3.6cqi, 22px) !important; }
  main[data-world="obstacle-course-50ft"] .bm-hero__booking { gap: 1.4cqi !important; margin: 0 !important; }
  main[data-world="obstacle-course-50ft"] .bm-hero__card .bm-plaque-btn--hero { width: min(62%, 300px) !important; }
  main[data-world="obstacle-course-50ft"] .bm-hero__card > img.bm-char--marlin { width: 30% !important; left: -30% !important; bottom: -4% !important; }
}
/* Attendant: the turtle swims in above the card's top right corner, fully in view. */
main[data-world="obstacle-course-50ft"] .bm-char--squirt { left: auto !important; right: 4% !important; top: 4% !important; bottom: auto !important; width: clamp(150px, 13vw, 230px) !important; transform: none !important; }
@media (max-width: 767px) { main[data-world="obstacle-course-50ft"] .bm-char--squirt { width: 110px !important; right: 3% !important; top: auto !important; bottom: 1% !important; } }
/* ==== Scooby-Doo hero (Sabrina 2026-09-30): the title is three lines, so the
   product sits large on the left and the title lettering heads the card on the
   right, overlapping the card's top rim. ==== */
@media (min-width: 768px) {
  main[data-world="obstacle-course-50ft"] .bm-hero__stage {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr) !important;
    grid-template-areas: "product title" "product card" !important;
    grid-template-rows: auto auto !important; align-content: center !important; align-items: end !important; column-gap: 3vw !important;
  }
  main[data-world="obstacle-course-50ft"] .bm-hero__product { grid-area: product !important; align-self: center !important; }
  main[data-world="obstacle-course-50ft"] .bm-hero__stage > .bm-hero__title { grid-area: title !important; width: min(38vw, 600px) !important; justify-self: center !important; align-self: end !important; margin: 0 auto calc(-1 * min(3.4vw, 54px)) !important; position: relative; z-index: 4; }
  main[data-world="obstacle-course-50ft"] .bm-hero__card { grid-area: card !important; align-self: start !important; width: min(100%, 540px) !important; padding: 7% 11% 3% !important; gap: 1cqi !important; }
  main[data-world="obstacle-course-50ft"] .bm-hero__card > img.bm-char--marlin { left: auto !important; right: -14% !important; bottom: -16% !important; width: 26% !important; }
}
/* Characters stay whole on screen. */
main[data-world="obstacle-course-50ft"] .bm-gallery__stage > .bm-char--peach { left: 0 !important; }
main[data-world="obstacle-course-50ft"] .bm-related > .bm-char--bruce { left: 0 !important; }
@media (min-width: 768px) {
  main[data-world="obstacle-course-50ft"] .bm-hero__card > img.bm-char--marlin { right: auto !important; left: -20% !important; bottom: -14% !important; width: 26% !important; }
  main[data-world="obstacle-course-50ft"] .bm-hero__features { font-size: clamp(20px, 5cqi, 28px) !important; }
  main[data-world="obstacle-course-50ft"] .bm-hero__stage > .bm-hero__title { width: min(41vw, 640px) !important; }
}
/* ==== Round 4 (Sabrina 2026-09-30) ==== */
/* Hero card as wide as the title, so it's in proportion; everything well inside the water. */
@media (min-width: 768px) {
  main[data-world="obstacle-course-50ft"] .bm-hero__stage { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important; }
  main[data-world="obstacle-course-50ft"] .bm-hero__card { width: min(100%, 41vw, 640px) !important; padding: 8% 13% 9% !important; gap: 1.6cqi !important; justify-content: center !important; }
  main[data-world="obstacle-course-50ft"] .bm-hero__blurb { position: relative; z-index: 1; margin: 0; max-width: 34ch; text-align: center; font-size: clamp(15px, 3.2cqi, 20px); line-height: 1.35; color: #16161F; }
  main[data-world="obstacle-course-50ft"] .bm-hero__card .bm-plaque-btn--hero { width: min(58%, 300px) !important; margin-top: 0.6cqi; }
}
@media (max-width: 767px) {
  main[data-world="obstacle-course-50ft"] .bm-hero__blurb { margin: 0; text-align: center; font-size: 16px; line-height: 1.4; color: #16161F; }
}
/* Dimensions: the Nemo reef diagram (transparent) fills the water face; the plus is the
   folder's bubble button, small on the diagram's corner. */
@media (min-width: 768px) {
  main[data-world="obstacle-course-50ft"] .bm-hq__safe { inset: 30% 20% 27% 22% !important; right: 20% !important; column-gap: 6% !important; }
  main[data-world="obstacle-course-50ft"] .bm-hq__diagram { background: none !important; box-shadow: none !important; border: 0 !important; }
  main[data-world="obstacle-course-50ft"] .bm-dims--card dt { font-size: max(10px, 1.45cqi) !important; }
  main[data-world="obstacle-course-50ft"] .bm-dims--card dd { font-size: max(13px, 2.2cqi) !important; }
}
main[data-world="obstacle-course-50ft"] .bm-hq__hint {
  background: url('../../assets/bundled/product-worlds/obstacle-course-50ft/plus-button.webp') center / contain no-repeat !important;
  border: 0 !important; box-shadow: none !important; border-radius: 50%; width: 22% !important; right: -6% !important; bottom: -6% !important;
}
main[data-world="obstacle-course-50ft"] .bm-hq__hint svg { display: none !important; }
main[data-world="obstacle-course-50ft"] .bm-hq__hint::before, main[data-world="obstacle-course-50ft"] .bm-hq__hint::after { content: none !important; }
/* Popup close, stronger (Sabrina 2026-09-30: it has to read as a bubble bursting):
   the card wobbles like a bubble skin, then bursts into droplets and a ring. */
@keyframes bm-dialog-pop {
  0% { scale: 1 1; opacity: 1; }
  25% { scale: 1.06 0.94; opacity: 1; }
  50% { scale: 0.96 1.05; opacity: 1; }
  62% { scale: 1.1 1.1; opacity: 1; }
  72% { scale: 1.16 1.16; opacity: 0; }
  100% { scale: 1.16 1.16; opacity: 0; }
}
dialog.bm-dialog.is-popping .bm-dialog__frame { animation: bm-dialog-pop 560ms cubic-bezier(0.3, 0, 0.3, 1) forwards !important; }
dialog.bm-dialog.is-popping::backdrop { transition: background-color 400ms ease 200ms; }
.bm-pop-drop { animation: bm-pop-drop 520ms cubic-bezier(0.22, 1, 0.36, 1) 330ms both !important; }
.bm-pop-ring {
  position: fixed; z-index: 11; width: var(--w); aspect-ratio: 1; border-radius: 50%; pointer-events: none;
  translate: -50% -50%; border: 4px solid rgb(255 255 255 / 0.9); box-shadow: 0 0 24px rgb(170 230 255 / 0.9), inset 0 0 18px rgb(255 255 255 / 0.6);
  animation: bm-pop-ring 420ms cubic-bezier(0.22, 1, 0.36, 1) 330ms both;
}
@keyframes bm-pop-ring { 0% { scale: 0.55; opacity: 0.95; } 100% { scale: 1.35; opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .bm-pop-ring { display: none; } }
/* Popup text sits in the middle of the water. */
@media (min-width: 768px) {
  .bm-dialog--info .bm-dialog__safe { inset: 17cqi 21cqi 16cqi 20cqi !important; justify-content: center !important; }
  .bm-dialog--info .bm-dialog__body { flex: 0 1 auto !important; min-height: 0; }
}
/* Hero card: the button clears the bottom rim (content ends by 86% of the card). */
@media (min-width: 768px) {
  main[data-world="obstacle-course-50ft"] .bm-hero__stage > .bm-hero__title { margin-bottom: calc(-1 * min(2vw, 30px)) !important; }
  main[data-world="obstacle-course-50ft"] .bm-hero__card { padding: 5% 13% 12% !important; gap: 1.1cqi !important; }
  main[data-world="obstacle-course-50ft"] .bm-hero__features { font-size: clamp(18px, 4.2cqi, 24px) !important; }
  main[data-world="obstacle-course-50ft"] .bm-hero__blurb { font-size: clamp(14px, 2.9cqi, 18px) !important; }
  main[data-world="obstacle-course-50ft"] .bm-hero__card .bm-plaque-btn--hero { margin-top: 0 !important; }
  main[data-world="obstacle-course-50ft"] .bm-hq__safe { top: 32% !important; }
}
@media (min-width: 768px) {
  main[data-world="obstacle-course-50ft"] .bm-hero__stage { grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr) !important; }
  main[data-world="obstacle-course-50ft"] .bm-hero__card { width: min(100%, 47vw, 720px) !important; padding: 4% 14% 17% !important; }
}
/* ==== Round 5 (Sabrina 2026-09-30): the new "card pc" set, each shown at its drawn shape.
     frame-hero-pc     = card pc (1), 1268x901  (1.41): face x 5-95%, y 14-86%
     frame-hero-phone  = card pc (4), 1079x1349 (0.80): face x 5-95%, y 6-94%
     frame-popup       = card pc (5), 1073x1348 (0.80): face x 5-95%, y 6-94%
     frame-popup-phone = card pc (6), 1065x1330 (0.80)
   The card box is the whole drawing; padding keeps content on the water. ==== */
main[data-world="obstacle-course-50ft"] .bm-hero__card > .bm-hero__frame { display: none !important; }
@media (min-width: 768px) {
  main[data-world="obstacle-course-50ft"] .bm-hero__card {
    aspect-ratio: 1426 / 1065 !important; width: min(100%, 47vw, 720px) !important;
    background: url('../../assets/bundled/product-worlds/obstacle-course-50ft/frame-hero-pc.webp') center / 100% 100% no-repeat !important;
    border: 0 !important; box-shadow: none !important; border-radius: 0 !important;
    padding: 15% 12% 13% !important; gap: 1.4cqi !important; justify-content: center !important;
  }
  main[data-world="obstacle-course-50ft"] .bm-hero__stage > .bm-hero__title { margin-bottom: calc(-1 * min(4.6vw, 70px)) !important; }
  main[data-world="obstacle-course-50ft"] .bm-hero__features { font-size: clamp(20px, 4.4cqi, 28px) !important; }
  main[data-world="obstacle-course-50ft"] .bm-hero__blurb { font-size: clamp(15px, 3.1cqi, 20px) !important; }
  main[data-world="obstacle-course-50ft"] .bm-hero__card > img.bm-char--marlin { left: -16% !important; bottom: -8% !important; }
}
@media (max-width: 767px) {
  main[data-world="obstacle-course-50ft"] .bm-hero__card {
    aspect-ratio: 1086 / 1372 !important; height: auto !important;
    background: url('../../assets/bundled/product-worlds/obstacle-course-50ft/frame-hero-phone.webp') center / 100% 100% no-repeat !important;
    border: 0 !important; box-shadow: none !important; border-radius: 0 !important;
    padding: 12% 11% 12% !important; display: flex !important; flex-direction: column; justify-content: center; align-items: center; gap: 10px !important;
  }
}
/* Popups: the tall card on every screen, content centred on the water. */
dialog.bm-dialog--info { width: min(92vw, 720px, calc(90dvh * 0.796)) !important; max-width: none !important; height: auto !important; max-height: none !important; }
.bm-dialog--info .bm-dialog__art { display: none !important; }
.bm-dialog--info .bm-dialog__frame {
  aspect-ratio: 1063 / 1308 !important; height: auto !important; width: 100% !important;
  background: url('../../assets/bundled/product-worlds/obstacle-course-50ft/frame-popup.webp') center / 100% 100% no-repeat !important;
  border: 0 !important; border-radius: 0 !important; box-shadow: none !important;
}
.bm-dialog--info .bm-dialog__safe {
  position: absolute !important; inset: 10% 11% 10% 11% !important; padding: 0 !important;
  display: flex !important; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 2.4cqi !important;
}
.bm-dialog--info .bm-dialog__head { width: 100%; padding-inline: 12% !important; }
.bm-dialog--info .bm-dialog__close { top: 50% !important; translate: 0 -50%; right: 0 !important; }
.bm-dialog--info .bm-dialog__title { width: auto !important; font-size: max(24px, 6.4cqi) !important; line-height: 1.05; }
.bm-dialog--info .bm-dialog__body { flex: 0 1 auto !important; min-height: 0; max-height: 100%; overflow-y: auto !important; overscroll-behavior: contain; text-align: center; font-size: max(15px, 3.3cqi) !important; line-height: 1.45; scrollbar-width: thin; }
@media (max-width: 767px) {
  .bm-dialog--info .bm-dialog__frame { background-image: url('../../assets/bundled/product-worlds/obstacle-course-50ft/frame-popup-phone.webp') !important; aspect-ratio: 1063 / 1308 !important; }
}
/* Stronger selectors: an older rule matched through :not() and squeezed the tall card. */
html body dialog.bm-dialog.bm-dialog--info { aspect-ratio: auto !important; }
html body dialog.bm-dialog.bm-dialog--info .bm-dialog__frame { aspect-ratio: 1063 / 1308 !important; height: auto !important; }
html body dialog.bm-dialog.bm-dialog--info .bm-dialog__safe { inset: 10% 11% 10% 11% !important; }
@media (max-width: 767px) { html body dialog.bm-dialog.bm-dialog--info .bm-dialog__frame { aspect-ratio: 1063 / 1308 !important; } }
/* ==== Hero = Scooby-Doo geometry (Sabrina 2026-09-30), measured on Scooby at 1440:
   product about 48% of the page wide, centred on the card; the title sits in the card's
   cell and covers the card's top (one third of the title above the card, two thirds
   over it). The card is the taller "card pc (4)" (1079x1349) so the content still
   has water below the title. Title height = width / 1.884. ==== */
@media (min-width: 768px) {
  main[data-world="obstacle-course-50ft"] .bm-hero__stage {
    --tw: min(39vw, 560px);
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) !important;
    grid-template-areas: "product card" !important; grid-template-rows: auto !important;
    align-items: center !important; align-content: center !important; column-gap: 3vw !important;
    padding-top: calc(var(--tw) / 1.884 * 0.36) !important;
  }
  main[data-world="obstacle-course-50ft"] .bm-hero__product { grid-area: product !important; align-self: center !important; justify-self: center !important; width: 100% !important; max-width: 700px !important; margin: 0 !important; }
  main[data-world="obstacle-course-50ft"] .bm-hero__stage > .bm-hero__title {
    grid-area: card !important; align-self: start !important; justify-self: center !important;
    width: min(100%, var(--tw)) !important; margin: calc(var(--tw) / 1.884 * -0.33) auto 0 !important; z-index: 5 !important;
  }
  main[data-world="obstacle-course-50ft"] .bm-hero__card {
    grid-area: card !important; align-self: center !important; justify-self: center !important;
    width: min(100%, 35vw, 500px) !important; aspect-ratio: 1086 / 1372 !important;
    background-image: url('../../assets/bundled/product-worlds/obstacle-course-50ft/frame-hero-phone.webp') !important;
    padding: calc(var(--tw) / 1.884 * 0.67 + 2%) 12% 10% !important; justify-content: center !important; gap: 1.8cqi !important;
  }
  main[data-world="obstacle-course-50ft"] .bm-hero__features { font-size: clamp(22px, 6cqi, 32px) !important; }
  main[data-world="obstacle-course-50ft"] .bm-hero__blurb { font-size: clamp(16px, 4cqi, 21px) !important; }
  main[data-world="obstacle-course-50ft"] .bm-hero__card .rental-rates { font-size: clamp(15px, 3.6cqi, 19px); }
  main[data-world="obstacle-course-50ft"] .bm-hero__card .bm-plaque-btn--hero { width: min(84%, 340px) !important; }
  main[data-world="obstacle-course-50ft"] .bm-hero__card > img.bm-char--marlin { left: -22% !important; bottom: 4% !important; width: 30% !important; }
}
/* PC hero card stays WIDE (standing rule: never a portrait card on the PC hero):
   card pc (1), 1268x901. The title sits 45% above the card and covers the rest of
   the card's top, so the content still has water below it. */
@media (min-width: 768px) {
  main[data-world="obstacle-course-50ft"] .bm-hero__stage { padding-top: calc(var(--tw) / 1.884 * 0.48) !important; }
  main[data-world="obstacle-course-50ft"] .bm-hero__stage > .bm-hero__title { margin-top: calc(var(--tw) / 1.884 * -0.45) !important; }
  main[data-world="obstacle-course-50ft"] .bm-hero__card {
    width: min(100%, 42vw, 620px) !important; aspect-ratio: 1426 / 1065 !important;
    background-image: url('../../assets/bundled/product-worlds/obstacle-course-50ft/frame-hero-pc.webp') !important;
    padding: calc(var(--tw) / 1.884 * 0.55 + 1%) 12% 11% !important; gap: 1.3cqi !important;
  }
  main[data-world="obstacle-course-50ft"] .bm-hero__features { font-size: clamp(20px, 4.4cqi, 28px) !important; }
  main[data-world="obstacle-course-50ft"] .bm-hero__blurb { font-size: clamp(15px, 3cqi, 19px) !important; max-width: 40ch; }
  main[data-world="obstacle-course-50ft"] .bm-hero__card .rental-rates { font-size: clamp(14px, 2.6cqi, 18px); }
  main[data-world="obstacle-course-50ft"] .bm-hero__card .bm-plaque-btn--hero { width: min(60%, 320px) !important; }
}
/* Bottoms line up like Scooby (product bottom = card bottom), and the title is pinned
   to the card's top edge: 55% of the title hangs over the card. Card width is fixed
   so its height is known: card H = card W / 1.339. */
@media (min-width: 768px) {
  main[data-world="obstacle-course-50ft"] .bm-hero__stage { --cw: min(40vw, 580px); align-items: end !important; padding-top: 0 !important; }
  main[data-world="obstacle-course-50ft"] .bm-hero__product { align-self: end !important; }
  main[data-world="obstacle-course-50ft"] .bm-hero__card { width: var(--cw) !important; align-self: end !important; }
  main[data-world="obstacle-course-50ft"] .bm-hero__stage > .bm-hero__title { align-self: end !important; margin: 0 auto calc(var(--cw) / 1.339 - var(--tw) / 1.884 * 0.55) !important; }
  main[data-world="obstacle-course-50ft"] .bm-hero__card { padding-bottom: 12% !important; }
}
@media (min-width: 768px) {
  main[data-world="obstacle-course-50ft"] .bm-hero__stage { --cw: min(43vw, 620px); grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr) !important; }
  main[data-world="obstacle-course-50ft"] .bm-hero__card { height: calc(var(--cw) / 1.339) !important; padding-top: calc(var(--tw) / 1.884 * 0.48 + 1%) !important; padding-bottom: 10% !important; gap: 1cqi !important; }
  main[data-world="obstacle-course-50ft"] .bm-hero__stage > .bm-hero__title { margin-bottom: calc(var(--cw) / 1.339 - var(--tw) / 1.884 * 0.5) !important; }
  main[data-world="obstacle-course-50ft"] .bm-hero__product { margin-bottom: calc(var(--cw) * 0.02) !important; }
}
/* ==== Round 6 (Sabrina 2026-10-01) ==== */
/* Description and dimensions: card pc (3) and card pc (9), both about 1.55 : 1.
   Face x 6-94%, y 12-86%; content kept to x 9-91%, y 16-82%. */
main[data-world="obstacle-course-50ft"] .bm-panel { aspect-ratio: 1600 / 675 !important; }
main[data-world="obstacle-course-50ft"] .bm-hq { aspect-ratio: 1600 / 675 !important; }
@media (min-width: 900px) {
  main[data-world="obstacle-course-50ft"] .bm-panel__safe { inset: 10.5cqi 9cqi 11.5cqi 9.5cqi !important; grid-template-columns: minmax(0, 1fr) 26cqi !important; column-gap: 3cqi !important; }
  main[data-world="obstacle-course-50ft"] .bm-details__description { font-size: 3.3cqi !important; line-height: 1.32 !important; }
  main[data-world="obstacle-course-50ft"] .bm-mission__label { font-size: clamp(14px, 2.3cqi, 22px) !important; }
  main[data-world="obstacle-course-50ft"] .bm-missions { gap: 2cqi !important; }
}
@media (min-width: 768px) {
  main[data-world="obstacle-course-50ft"] .bm-hq__safe { inset: 16% 10% 17% 10% !important; right: 10% !important; top: 16% !important; column-gap: 7% !important; }
  main[data-world="obstacle-course-50ft"] .bm-dims--card { gap: 1.2cqi !important; }
  main[data-world="obstacle-course-50ft"] .bm-dims--card dt { font-size: max(11px, 1.9cqi) !important; }
  main[data-world="obstacle-course-50ft"] .bm-dims--card dd { font-size: max(15px, 3.1cqi) !important; }
  main[data-world="obstacle-course-50ft"] .bm-hq__hint { width: 18% !important; right: -4% !important; bottom: -4% !important; }
}
main[data-world="obstacle-course-50ft"] .bm-panel > .bm-char--pearl { bottom: calc(100% - 7cqi) !important; left: 58% !important; }
main[data-world="obstacle-course-50ft"] .bm-char--nemo { bottom: calc(100% - 8cqi) !important; }

/* Hero: the bounce house spans exactly from the title's top to the card's bottom,
   so it lines up with the title + card group top and bottom.
   Group height = title above the card (half the title) + card height. */
@media (min-width: 768px) {
  main[data-world="obstacle-course-50ft"] .bm-hero__stage { --gh: calc(var(--tw) / 1.884 * 0.5 + var(--cw) / 1.339); }
  main[data-world="obstacle-course-50ft"] .bm-hero__product {
    align-self: end !important; justify-self: center !important; margin: 0 !important; padding: 0 !important;
    height: var(--gh) !important; width: auto !important; max-width: 100% !important; aspect-ratio: 1369 / 1139;
  }
  main[data-world="obstacle-course-50ft"] .bm-hero__img { width: 100% !important; height: 100% !important; max-width: none !important; object-fit: contain; object-position: center bottom; }
}

/* Attendant: same card; the attendant is smaller so she stays clear of the rim. */
@media (min-width: 768px) {
  main[data-world="obstacle-course-50ft"] .bm-crew__panel--solo .bm-crew__media { align-items: center !important; align-self: center !important; height: 100% !important; }
  main[data-world="obstacle-course-50ft"] .bm-crew__panel--solo .bm-crew__character { height: 88% !important; max-height: 88% !important; }
}
/* The card sits on top of the turtle (the turtle stays where he is). */
main[data-world="obstacle-course-50ft"] .bm-crew__panel--solo { position: relative; z-index: 3 !important; }
main[data-world="obstacle-course-50ft"] .bm-char--squirt { z-index: 1 !important; }
/* Popup bubble burst (Sabrina 2026-10-01): droplets live inside the dialog, absolute. */
html body dialog.bm-dialog.bm-dialog--info { overflow: visible !important; }
.bm-spray { position: absolute; inset: 0; overflow: visible; pointer-events: none; z-index: 3; }
.bm-spray__drop {
  position: absolute; border-radius: 50%; will-change: transform, opacity;
  background: radial-gradient(circle at 32% 28%, #fff 0 16%, rgb(255 255 255 / 0.25) 34%, rgb(140 215 255 / 0.85) 72%, transparent 76%);
  box-shadow: 0 0 6px rgb(160 225 255 / 0.7);
}
dialog.bm-dialog--info::backdrop { transition: opacity 400ms ease; }
dialog.bm-dialog--info.is-closing::backdrop { opacity: 0; }
/* Hero, Scooby geometry: the bounce house is centred on the card, its bottom on the
   card's bottom, and 1.2 x the card's height (Scooby measures 1.13 with a squarer card). */
@media (min-width: 768px) {
  main[data-world="obstacle-course-50ft"] .bm-hero__product { height: calc(var(--cw) / 1.339 * 1.2) !important; margin-bottom: -8px !important; }
}
/* Attendant card above the turtle: lift the whole panel row's stacking, turtle behind. */
main[data-world="obstacle-course-50ft"] .bm-crew__panels { position: relative; isolation: isolate; }
main[data-world="obstacle-course-50ft"] .bm-crew__panels > .bm-crew__panel--solo { position: relative !important; z-index: 2 !important; }
main[data-world="obstacle-course-50ft"] .bm-crew__panels > .bm-char--squirt { z-index: 1 !important; }
/* Bubble burst v2 (Sabrina 2026-10-01). No exit transition on these popups, so
   nothing reappears after the pop; the dim fades out from the pop instead. */
/* Open keeps its soft fade-in; the close is the burst (nothing to show after it). */
html body dialog.bm-dialog.bm-dialog--info::backdrop { transition: opacity 420ms ease !important; opacity: 1; }
html body dialog.bm-dialog.bm-dialog--info.is-burst::backdrop { opacity: 0; }
html body dialog.bm-dialog.bm-dialog--info.is-closing::backdrop { opacity: 1; }
.bm-burst { position: absolute; inset: 0; overflow: visible; pointer-events: none; z-index: 5; }
.bm-burst__flash {
  position: absolute; background: radial-gradient(ellipse at 50% 45%, #fff 0 45%, rgb(200 240 255 / 0.9) 75%, rgb(120 210 255 / 0.6));
  -webkit-mask-size: 100% 100%; mask-size: 100% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  filter: drop-shadow(0 0 18px rgb(255 255 255 / 0.9)); will-change: transform, opacity;
}
.bm-burst__ring { position: absolute; border-radius: 50%; border: 6px solid rgb(255 255 255 / 0.95); box-shadow: 0 0 30px rgb(150 225 255 / 0.95), inset 0 0 22px rgb(255 255 255 / 0.7); will-change: transform, opacity; }
.bm-burst__drop {
  position: absolute; border-radius: 50%; will-change: transform, opacity;
  background: radial-gradient(circle at 32% 28%, #fff 0 18%, rgb(225 247 255 / 0.9) 36%, rgb(70 175 240 / 0.95) 78%, rgb(20 110 200) 82%, transparent 86%);
  box-shadow: 0 2px 6px rgb(10 60 120 / 0.35);
}
.bm-burst__flash { filter: none !important; }
/* ==== Characters (Sabrina 2026-10-01) ==== */
/* Nemo peeks out from behind the "Shark Bait" lettering. */
main[data-world="obstacle-course-50ft"] .bm-details__heading { position: relative; isolation: isolate; }
main[data-world="obstacle-course-50ft"] .bm-details__heading > .bm-char--nemo {
  position: absolute !important; z-index: -1 !important; width: 15% !important; height: auto;
  left: auto !important; right: -6% !important; top: -38% !important; bottom: auto !important; transform: rotate(8deg) !important;
}
/* Pearl at the section's bottom left. */
main[data-world="obstacle-course-50ft"] .bm-details { position: relative; }
main[data-world="obstacle-course-50ft"] .bm-details > .bm-char--pearl {
  position: absolute !important; z-index: 4 !important; width: clamp(110px, 10vw, 170px) !important;
  left: 1.5% !important; bottom: 2% !important; top: auto !important; transform: none !important;
}
/* Dory pops out from behind the popcorn machine photo, on its left side. */
main[data-world="obstacle-course-50ft"] .treat--dory { overflow: visible !important; }
main[data-world="obstacle-course-50ft"] .treat--dory .treat__media { position: relative; isolation: isolate; overflow: visible !important; }
main[data-world="obstacle-course-50ft"] .treat--dory .treat__media > img:not(.bm-char) { position: relative; z-index: 1; }
main[data-world="obstacle-course-50ft"] .treat--dory .treat__media > .bm-char--dory {
  position: absolute !important; z-index: 0 !important; width: 62% !important; height: auto !important; max-width: none !important;
  left: -22% !important; top: 18% !important; bottom: auto !important; transform: rotate(-6deg) !important; object-fit: contain !important; aspect-ratio: auto !important;
}
@media (max-width: 767px) {
  main[data-world="obstacle-course-50ft"] .bm-details > .bm-char--pearl { width: 84px !important; }
  main[data-world="obstacle-course-50ft"] .bm-details__heading > .bm-char--nemo { width: 18% !important; right: -4% !important; }
}
/* Description + dimensions (Sabrina 2026-10-01): a bit smaller, fully on screen,
   side by side with a small gap and a clear margin on both page edges. */
@media (min-width: 1024px) {
  html body main[data-world="obstacle-course-50ft"] .bm-details__stage {
    width: min(94vw, 1500px) !important; max-width: none !important; margin-left: auto !important; margin-right: auto !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important; column-gap: 1.5vw !important;
    position: relative; left: 50%; translate: -50% 0;
  }
  html body main[data-world="obstacle-course-50ft"] .bm-hq { margin-left: 0 !important; width: 100% !important; }
  html body main[data-world="obstacle-course-50ft"] .bm-panel { width: 100% !important; margin: 0 !important; }
}
@media (min-width: 1024px) {
  html body main[data-world="obstacle-course-50ft"] .bm-details__stage { left: auto !important; translate: none !important; justify-self: center !important; align-self: auto; }
}
/* No sideways jump when a popup opens or closes (Sabrina 2026-10-01): the scrollbar's
   space stays reserved while the page is locked behind the popup. */
/* 2026-10-03: reserve the scrollbar space only while a popup is open (keeps the 2026-10-01 no-jump fix without an empty strip down the right edge). */
html:has(main[data-world="obstacle-course-50ft"]):has(dialog[open]) { scrollbar-gutter: stable; }

/* ==========================================================================
   SpongeBob join (2026-10-02). Per-asset values for the SpongeBob folder art
   (product-briefs/spongebob/BUILD-NOTES.md). Everything above is the Nemo
   world, kept whole; this block only swaps palette, per-asset numbers and
   wording-driven sizes. It comes last so it wins.
     frame-hero-pc    1426x1065 (1.339): face x 16-84%, y 21-72% at the centre; coral band at the bottom
     frame-hero-phone 1086x1372 (0.79): face x 16-84%, y 17-62%; empty pill at the bottom
     frame-popup      1063x1308 (0.81): yellow face x 6-94%, y 5-94%
     frame-desc-pc / frame-dims-pc 1600x675 (2.37): face x 6-94%, y 13-88%
     frame-card-v3    1600x656 (2.44): yellow face x 4-97%, y 12-93% (flower top left, coral bottom right)
     cta-shell        1200x360 (3.33): glass face x 22.5-80%, y 17-85%
     hero-product     1369x1139; lettering-title (logo) 1500x796
   ========================================================================== */

/* Seam glow: pale sand-and-sunlight tint from the Bikini Bottom scenery, never white. */
body main#main[data-world="obstacle-course-50ft"] { background: linear-gradient(180deg, #E4F8FF 0%, #FFF3BE 50%, #E4F8FF 100%) !important; }

/* Titles: SpongeBob yellow with a deep-blue outline. */
main[data-world="obstacle-course-50ft"] :is(.bm-details__heading, .bm-crew__title, #treats-title, #related-title),
main[data-world="obstacle-course-50ft"] .bm-treats #treats-title {
  color: #FFE24A !important;
  -webkit-text-stroke: 0.07em #0B3E8C !important;
  text-shadow: 0 4px 0 rgb(8 40 110 / 0.45), 0 0 34px rgb(255 255 255 / 0.7), 0 0 12px rgb(120 214 255 / 0.7) !important;
}
@media (min-width: 768px) {
  html body main[data-world="obstacle-course-50ft"] section :is(h2.bm-crew__title, h2.bm-details__heading, h2#treats-title, h2#related-title) { width: auto !important; max-width: none !important; }
  html body main[data-world="obstacle-course-50ft"] #bm-crew-title { width: auto !important; }
}

/* CTA pill: label centred on the glass face (x 22.5-80%, y 17-85% of the shell). */
main[data-world="obstacle-course-50ft"] .bm-plaque-btn__label { margin-left: 2.5%; font-size: clamp(14px, 1.05vw, 17px); letter-spacing: 0.06em; white-space: nowrap; }
main[data-world="obstacle-course-50ft"] .bm-mission__face { inset: 17% 20% 15% 22.5%; }
main[data-world="obstacle-course-50ft"] .bm-mission__label { padding-inline: 0; white-space: nowrap; font-size: clamp(12px, 1.5cqi, 16px) !important; letter-spacing: 0.01em !important; }
main[data-world="obstacle-course-50ft"] .bm-mission__plus { display: none; }
main[data-world="obstacle-course-50ft"] .bm-hq__hint .bm-mission__plus { display: block; position: static; margin: 0; stroke: #0B3E8C; }

/* Diagram "plus": no plus-button art in this folder, so a yellow dot with a blue plus. */
main[data-world="obstacle-course-50ft"] .bm-hq__hint { background: #FFE24A !important; border: 2.5px solid #0B3E8C !important; box-shadow: 0 2px 0 rgb(8 40 110 / 0.45) !important; }
main[data-world="obstacle-course-50ft"] .bm-hq__hint svg { display: block !important; }

/* Hero (PC): the logo heads the card; card 1426x1065 with its coral band at the bottom. */
@media (min-width: 768px) {
  main[data-world="obstacle-course-50ft"] .bm-hero__stage { --tw: min(30vw, 430px); --cw: min(47vw, 690px); grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr) !important; }
  main[data-world="obstacle-course-50ft"] .bm-hero__stage > .bm-hero__title { margin-bottom: calc(var(--cw) / 1.339 - var(--tw) / 1.884 * 0.38) !important; }
  main[data-world="obstacle-course-50ft"] .bm-hero__card { padding: calc(var(--tw) / 1.884 * 0.38 + 14px) 17% 27% !important; gap: 0.8cqi !important; }
  main[data-world="obstacle-course-50ft"] .bm-hero__features { font-size: clamp(20px, 3.8cqi, 27px) !important; }
  main[data-world="obstacle-course-50ft"] .bm-hero__blurb { font-size: clamp(14px, 2.6cqi, 18px) !important; max-width: 44ch; }
  main[data-world="obstacle-course-50ft"] .bm-hero__card .rental-rates { font-size: clamp(13px, 2.3cqi, 17px); }
  main[data-world="obstacle-course-50ft"] .bm-hero__card .bm-plaque-btn--hero { width: min(74%, 330px) !important; }
}

/* Description and dimensions cards: frame 1600x675, side by side, rims bleed a little off the page edges. */
main[data-world="obstacle-course-50ft"] .bm-panel { aspect-ratio: 1600 / 675 !important; }
main[data-world="obstacle-course-50ft"] .bm-hq { aspect-ratio: 1600 / 675 !important; }
@media (min-width: 900px) {
  main[data-world="obstacle-course-50ft"] .bm-panel__safe { inset: 6.5cqi 9cqi 6.5cqi 9cqi !important; left: 9cqi !important; grid-template-columns: minmax(0, 1fr) 30cqi !important; column-gap: 2.5cqi !important; }
  main[data-world="obstacle-course-50ft"] .bm-details__description { font-size: 2.55cqi !important; line-height: 1.3 !important; }
}
@media (min-width: 1024px) {
  html body main[data-world="obstacle-course-50ft"] .bm-details__stage { width: min(103vw, 1600px) !important; column-gap: 0 !important; }
}
@media (min-width: 768px) {
  main[data-world="obstacle-course-50ft"] .bm-hq__safe { inset: 8cqi 11cqi 7cqi 11cqi !important; right: 11cqi !important; top: 8cqi !important; column-gap: 6% !important; grid-template-columns: auto minmax(0, 1fr) !important; }
  main[data-world="obstacle-course-50ft"] .bm-dims--card dt { font-size: max(11px, 1.7cqi) !important; }
  main[data-world="obstacle-course-50ft"] .bm-dims--card dd { font-size: max(14px, 2.7cqi) !important; }
}

/* Attendant: calm yellow card (1600x656), character left, words right, all on the yellow face. */
@media (min-width: 768px) {
  main[data-world="obstacle-course-50ft"] .bm-crew__panel--solo { aspect-ratio: 1600 / 656 !important; }
  main[data-world="obstacle-course-50ft"] .bm-crew__panel--solo .bm-crew__safe { inset: 12% 10% 10% 9% !important; right: 10% !important; grid-template-columns: 36% 1fr !important; }
  main[data-world="obstacle-course-50ft"] .bm-crew__panel--solo .bm-crew__heading { margin-top: 0 !important; color: #16161F; }
}

/* Related: the group stands to the left of the first card, clear of its caption. */
main[data-world="obstacle-course-50ft"] .bm-related > .bm-char--bruce { width: clamp(120px, 13vw, 190px) !important; left: 0 !important; bottom: 14% !important; }

/* Join fixes, round 2 */
@media (min-width: 768px) {
  main[data-world="obstacle-course-50ft"] .bm-hero__card { padding-bottom: 19% !important; }
}
main[data-world="obstacle-course-50ft"] .bm-plaque-btn__label { padding-top: 0.14em; }
main[data-world="obstacle-course-50ft"] .bm-mission__label { font-size: clamp(13px, 1.9cqi, 17px) !important; }
@media (min-width: 1024px) {
  html body main[data-world="obstacle-course-50ft"] .bm-details__stage { width: min(98vw, 1560px) !important; }
}
main[data-world="obstacle-course-50ft"] .bm-details__heading > .bm-char--nemo { left: 64% !important; right: auto !important; width: 11% !important; top: -30% !important; }

/* Join fixes, round 3: phone hero card (face y 17-62%, bottom pill left empty), dots, spacing */
main[data-world="obstacle-course-50ft"] .bm-hq__hint { aspect-ratio: 1 !important; height: auto !important; }
@media (max-width: 767px) {
  main[data-world="obstacle-course-50ft"] .bm-hero__card { padding: 21% 14% 21% !important; gap: 8px !important; }
  main[data-world="obstacle-course-50ft"] .bm-hero__blurb { display: none; }
  main[data-world="obstacle-course-50ft"] .bm-hero__card .rental-rates legend { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  main[data-world="obstacle-course-50ft"] .bm-hq { margin-top: 28px !important; }
}
main[data-world="obstacle-course-50ft"] .bm-details__heading > .bm-char--nemo { left: 100% !important; top: -14% !important; width: 13% !important; }
@media (max-width: 767px) { main[data-world="obstacle-course-50ft"] .bm-details__heading > .bm-char--nemo { left: auto !important; right: -2% !important; top: -34% !important; width: 18% !important; } }
@media (max-width: 767px) { main[data-world="obstacle-course-50ft"] .bm-hero__card { padding: 19% 14% 29% !important; gap: 6px !important; } }

/* ==========================================================================
   Fix round 1 (Sabrina). Exact edits only.
   1 hero card heading, 2 attendant card character, 3 phone hero pill, 4 diagram multiply
   ========================================================================== */

/* 1. Hero card heading: one line, display face, yellow with a blue outline like the section titles. */
main[data-world="obstacle-course-50ft"] .bm-hero__heading {
  position: relative; z-index: 1; margin: 0; white-space: nowrap; text-align: center;
  font-family: var(--bm-serif) !important; font-weight: 400 !important; line-height: 1 !important; letter-spacing: 0.02em !important;
  font-size: clamp(34px, 8.4cqi, 54px) !important;
  color: #FFE24A !important; -webkit-text-stroke: 0.07em #0B3E8C; paint-order: stroke fill;
  text-shadow: 0 3px 0 rgb(8 40 110 / 0.45) !important;
}

/* 2. Attendant: SpongeBob cut-out big on the left, as tall as the card; words on the right. */
@media (min-width: 768px) {
  main[data-world="obstacle-course-50ft"] .bm-crew__panel--solo .bm-crew__safe { grid-template-columns: 50% 1fr !important; }
  main[data-world="obstacle-course-50ft"] .bm-crew__panel--solo .bm-crew__media { overflow: visible !important; }
  main[data-world="obstacle-course-50ft"] .bm-crew__panel--solo .bm-crew__character {
    position: absolute !important; left: -6cqi; bottom: -2.9cqi;
    width: auto !important; height: 40cqi !important; max-width: none !important; max-height: none !important;
  }
}

/* 3. Phone hero card: the button sits inside the empty pill at the bottom of the card art, label centred. */
@media (max-width: 767px) {
  main[data-world="obstacle-course-50ft"] .bm-hero__stage { row-gap: 10px !important; }
  main[data-world="obstacle-course-50ft"] .bm-hero__product { margin-top: 46px !important; }
  main[data-world="obstacle-course-50ft"] .bm-hero__card > .bm-hero__booking { position: static !important; }
  main[data-world="obstacle-course-50ft"] .bm-hero__card .bm-hero__actions {
    position: absolute; left: 14%; right: 14%; bottom: 4.6%; height: 10.4%; margin: 0; width: auto;
    display: flex; align-items: center; justify-content: center;
  }
  main[data-world="obstacle-course-50ft"] .bm-hero__card .bm-hero__actions .bm-plaque-btn--hero { width: 100% !important; height: 100%; aspect-ratio: auto; margin: 0; }
  main[data-world="obstacle-course-50ft"] .bm-hero__card .bm-hero__actions .bm-plaque-btn__shell { display: none; }
  main[data-world="obstacle-course-50ft"] .bm-hero__card .bm-hero__actions .bm-plaque-btn__label { padding-top: 0; margin: 0; justify-content: center; text-align: center; }
}

/* 4. Dimensions diagram: the multiply needs the card face behind it, so the safe area must not form its own stacking context. */
html body main[data-world="obstacle-course-50ft"] .bm-hq__frame,
html body main[data-world="obstacle-course-50ft"] .bm-hq__safe { z-index: auto !important; }
html body main[data-world="obstacle-course-50ft"] .bm-hq__diagram { mix-blend-mode: multiply; }

/* 2 (phone). The tall card: SpongeBob sized to the card width, no blank band above him. */
@media (max-width: 767px) {
  main[data-world="obstacle-course-50ft"] .bm-crew__media { height: auto !important; }
  main[data-world="obstacle-course-50ft"] .bm-crew__media img.bm-crew__character { width: min(100%, 320px) !important; height: auto !important; max-height: none !important; }
  main[data-world="obstacle-course-50ft"] .bm-crew__safe { padding-top: 22px !important; }
}

/* ==== Fix round 2 (Sabrina 2026-10-03) ==== */
/* A. Every button label dead centre on the whole button box. */
main[data-world="obstacle-course-50ft"] .bm-mission__face { inset: 0 !important; display: flex; align-items: center; justify-content: center; gap: 0 !important; }
main[data-world="obstacle-course-50ft"] .bm-mission__label { margin: 0 !important; padding: 0 !important; text-align: center; white-space: nowrap; }
main[data-world="obstacle-course-50ft"] .bm-plaque-btn--hero .bm-plaque-btn__label { margin: 0 !important; padding: 0 !important; }
main[data-world="obstacle-course-50ft"] .bm-treats .addon-add { position: relative; }
main[data-world="obstacle-course-50ft"] .bm-treats .addon-add[aria-pressed="false"]::before { position: absolute; left: 20px; top: 50%; translate: 0 -50%; }
/* Hero (PC): the 2-line logo heads the CARD (standing rule 9, Scooby layout); fix-2 full-width logo row reverted 2026-10-03. */
/* C. Hero card heading: at least 64px on PC, 40px on phone. */
@media (min-width: 768px) { main[data-world="obstacle-course-50ft"] .bm-hero__heading { font-size: 64px !important; } }
@media (max-width: 767px) { main[data-world="obstacle-course-50ft"] .bm-hero__heading { font-size: 40px !important; } }
/* Optical nudge so the glyph box (not the line box) is centred in the button. */
@media (min-width: 768px) { main[data-world="obstacle-course-50ft"] .bm-plaque-btn--hero .bm-plaque-btn__label { padding-top: 1.2px !important; } }
main[data-world="obstacle-course-50ft"] .bm-treats .addon-add { padding-top: 1.6px !important; }
main[data-world="obstacle-course-50ft"] .bm-related .card__cta { padding: 1.4px 26px 0 !important; }

/* ==========================================================================
   Fix round 3 (Sabrina 2026-10-03). Comes last so it wins.
   1 hero = "Heor Mockup"  2 titles in Lilita One navy  3 new scenery (PHP)
   4 diagram alone  5 labels centred on the face  6 cards aligned
     hero-card-fix3 (folder "card", trimmed) 1063x1308: yellow face x 9-91%, y 7-93%
     cta-shell 1200x360: open glass face x 20-80%, y 16-88%
     frame-dims-pc 1600x675: water face x 5-95%, y 10-90%
   ========================================================================== */
@font-face {
  font-family: 'Lilita One';
  src: url('../fonts/obstacle55/lilita-one.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
main[data-world="obstacle-course-50ft"] { --sbx-navy: #173E9E; --sbx-navy-deep: #0B2A6E; --sbx-title: 'Lilita One', 'Chewy', 'Trebuchet MS', sans-serif; }

/* ---------- 1. Hero ---------- */
html body main[data-world="obstacle-course-50ft"] .sbx-hero {
  position: relative; min-height: max(100svh, 640px); padding: 96px clamp(20px, 4vw, 72px) 40px !important;
  display: grid; align-items: center; overflow: hidden;
}
main[data-world="obstacle-course-50ft"] .sbx-hero > .bm-hero__scenery { position: absolute; inset: 0; z-index: 0; }
main[data-world="obstacle-course-50ft"] .sbx-hero > .bm-hero__scenery img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
main[data-world="obstacle-course-50ft"] .sbx-hero__stage {
  position: relative; z-index: 2; width: min(100%, 1500px); margin-inline: auto;
  display: grid; grid-template-columns: minmax(0, 1.2fr) auto; align-items: center; column-gap: clamp(16px, 2.5vw, 48px);
}
main[data-world="obstacle-course-50ft"] .sbx-hero__product { position: relative; justify-self: center; width: min(100%, 780px); padding-bottom: 3%; }
main[data-world="obstacle-course-50ft"] .sbx-hero__img {
  position: relative; z-index: 1; display: block; width: 100%; height: auto;
  --bounce-travel: 22px; animation: world-bounce 1.25s ease-in-out infinite alternate;
}
main[data-world="obstacle-course-50ft"] .sbx-hero__card {
  position: relative; justify-self: center;
  width: min(40vw, calc((100svh - 150px) * 0.8127), 600px); aspect-ratio: 1063 / 1308;
  container-type: inline-size;
}
main[data-world="obstacle-course-50ft"] .sbx-hero__card-art { position: absolute; inset: 0; width: 100%; height: 100%; display: block; pointer-events: none; }
main[data-world="obstacle-course-50ft"] .sbx-hero__face {
  position: absolute; inset: 9% 12% 9% 12%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6cqi;
}
html body main[data-world="obstacle-course-50ft"] .sbx-hero h1.sbx-hero__title {
  margin: 0; padding: 0; width: auto; max-width: none;
  font-family: var(--sbx-title) !important; font-weight: 400 !important; font-size: 12.4cqi !important; line-height: 1 !important;
  letter-spacing: 0.005em !important; text-transform: none !important; text-align: center;
  color: var(--sbx-navy) !important; -webkit-text-stroke: 0.11em #fff; paint-order: stroke fill;
  text-shadow: 0 0.045em 0 var(--sbx-navy-deep) !important;
}
main[data-world="obstacle-course-50ft"] .sbx-hero__title > span { display: block; white-space: nowrap; }
main[data-world="obstacle-course-50ft"] .sbx-hero__booking { width: 100%; display: grid; justify-items: center; gap: 6cqi; margin: 0; }
main[data-world="obstacle-course-50ft"] .sbx-hero__booking:has(.rental-rates) .world-price { display: none; }
/* Duration pills: yellow when chosen with a blue check, sand-white otherwise. */
html body main[data-world="obstacle-course-50ft"] :is(.sbx-hero, .ob-card) .rental-rates {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3cqi; width: 100%; margin: 0; padding: 0; border: 0;
}
html body main[data-world="obstacle-course-50ft"] :is(.sbx-hero, .ob-card) .rental-rates legend {
  position: static !important; width: auto !important; height: auto !important; clip: auto !important; overflow: visible !important;
  display: block; grid-column: 1 / -1; margin: 0 0 1.6cqi 1.5cqi; padding: 0;
  font-family: var(--sbx-title) !important; font-size: 4.6cqi !important; letter-spacing: 0 !important; text-transform: none !important;
  font-weight: 400 !important; text-align: left; color: var(--sbx-navy) !important;
}
html body main[data-world="obstacle-course-50ft"] :is(.sbx-hero, .ob-card) .rental-rates label { position: relative; display: block; margin: 0; }
html body main[data-world="obstacle-course-50ft"] :is(.sbx-hero, .ob-card) .rental-rates label > span {
  display: flex !important; align-items: center; justify-content: center; gap: 2.2cqi; width: 100%;
  min-height: 12cqi !important; padding: 0 3cqi !important; box-sizing: border-box;
  border: 0.55cqi solid #D9CC93 !important; border-radius: 999px !important;
  background: #FFFBEA !important; color: var(--sbx-navy) !important; box-shadow: 0 0.6cqi 0 rgb(11 42 110 / 0.12) !important;
  font-family: var(--bm-sans) !important; font-size: 4.6cqi !important; font-weight: 400 !important; letter-spacing: 0 !important; white-space: nowrap;
}
html body main[data-world="obstacle-course-50ft"] :is(.sbx-hero, .ob-card) .rental-rates__price { font-family: var(--sbx-title) !important; font-size: 5cqi !important; font-weight: 400 !important; color: var(--sbx-navy) !important; }
html body main[data-world="obstacle-course-50ft"] :is(.sbx-hero, .ob-card) .rental-rates input:checked + span {
  border-color: #1B4FC0 !important; background: linear-gradient(180deg, #FFEE80, #FFD43B) !important;
  box-shadow: 0 0.6cqi 0 rgb(11 42 110 / 0.3) !important;
}
html body main[data-world="obstacle-course-50ft"] :is(.sbx-hero, .ob-card) .rental-rates input + span::after { content: none !important; }
html body main[data-world="obstacle-course-50ft"] :is(.sbx-hero, .ob-card) .rental-rates input:checked + span::after {
  content: '' !important; flex: none; width: 4.6cqi; height: 4.6cqi; margin: 0 !important; border-radius: 50%; -webkit-mask: none !important; mask: none !important;
  background: #1E5BD8 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 70% no-repeat;
}
html body main[data-world="obstacle-course-50ft"] :is(.sbx-hero, .ob-card) .rental-rates input:focus-visible + span { outline: 3px solid var(--sbx-navy) !important; outline-offset: 3px !important; }
/* The yellow "Check Availability" pill. The arrow sits apart on the right so the words are centred on the pill. */
main[data-world="obstacle-course-50ft"] .sbx-hero__actions { width: 100%; display: flex; justify-content: center; }
html body main[data-world="obstacle-course-50ft"] .sbx-hero a.sbx-cta {
  position: relative; display: flex; align-items: center; justify-content: center; box-sizing: border-box;
  width: 100%; height: 15cqi; padding: 0; border: 0.7cqi solid #1B4FC0; border-radius: 999px;
  background: linear-gradient(180deg, #FFF39A 0%, #FFDC3D 52%, #F8C519 100%);
  box-shadow: 0 1.1cqi 0 #123C94, inset 0 0.8cqi 0 rgb(255 255 255 / 0.65), 0 2cqi 3cqi rgb(11 42 110 / 0.25);
  color: var(--sbx-navy); text-decoration: none; transition: transform 160ms var(--bm-ease), box-shadow 160ms var(--bm-ease);
}
html body main[data-world="obstacle-course-50ft"] .sbx-hero .sbx-cta__label {
  display: block; margin: 0; padding: 0; white-space: nowrap; line-height: 1;
  font-family: var(--sbx-title) !important; font-size: 5.8cqi !important; font-weight: 400 !important; letter-spacing: 0 !important; text-transform: none !important;
  color: var(--sbx-navy) !important;
}
main[data-world="obstacle-course-50ft"] .sbx-cta__arrow { position: absolute; right: 6%; top: 50%; width: 5cqi; height: 5cqi; translate: 0 -50%; fill: none; stroke: var(--sbx-navy); stroke-width: 3.4; stroke-linecap: round; stroke-linejoin: round; }
@media (hover: hover) and (pointer: fine) {
  html body main[data-world="obstacle-course-50ft"] .sbx-hero a.sbx-cta:hover { transform: translateY(-2px); }
}
html body main[data-world="obstacle-course-50ft"] .sbx-hero a.sbx-cta:active { transform: translateY(0.8cqi); box-shadow: 0 0.3cqi 0 #123C94, inset 0 0.8cqi 0 rgb(255 255 255 / 0.65); }
html body main[data-world="obstacle-course-50ft"] .sbx-hero a.sbx-cta:focus-visible { outline: 3px solid var(--sbx-navy); outline-offset: 4px; }
@media (prefers-reduced-motion: reduce) {
  main[data-world="obstacle-course-50ft"] :is(.sbx-hero__img, .sbx-hero__shadow) { animation: none !important; }
  html body main[data-world="obstacle-course-50ft"] .sbx-hero a.sbx-cta { transition: none; }
}
@media (max-width: 767px) {
  html body main[data-world="obstacle-course-50ft"] .sbx-hero { min-height: 0; padding: 84px 14px 36px !important; }
  main[data-world="obstacle-course-50ft"] .sbx-hero__stage { grid-template-columns: 1fr; row-gap: 14px; }
  main[data-world="obstacle-course-50ft"] .sbx-hero__product { width: min(100%, 480px); }
  main[data-world="obstacle-course-50ft"] .sbx-hero__img { --bounce-travel: 12px; }
  main[data-world="obstacle-course-50ft"] .sbx-hero__card { width: min(100%, 440px); }
}

/* ---------- 2. Section titles: Lilita One navy lettering like the hero title, one line on PC ---------- */
html body main[data-world="obstacle-course-50ft"] section :is(h2.bm-details__heading, h2.bm-crew__title, h2#treats-title, h2#related-title),
html body main[data-world="obstacle-course-50ft"] section.bm-treats h2#treats-title {
  font-family: var(--sbx-title) !important; font-weight: 400 !important; letter-spacing: 0.005em !important; text-transform: none !important;
  color: var(--sbx-navy) !important; -webkit-text-stroke: 0.11em #fff !important; paint-order: stroke fill;
  text-shadow: 0 0.045em 0 var(--sbx-navy-deep) !important;
  line-height: 1.05 !important;
}
@media (min-width: 768px) {
  html body main[data-world="obstacle-course-50ft"] section h2.bm-details__heading { font-size: min(140px, 13vw) !important; white-space: nowrap !important; }
}

/* ---------- 4. Dimensions card: the diagram alone, centred on the water face with a margin ---------- */
html body main[data-world="obstacle-course-50ft"] .bm-hq .bm-dims { display: none !important; }
@media (min-width: 900px) {
  html body main[data-world="obstacle-course-50ft"] .bm-hq__safe {
    position: absolute !important; inset: 11% 12% 11% 12% !important; top: 11% !important; right: 12% !important; bottom: 11% !important; left: 12% !important;
    display: grid !important; grid-template-columns: 1fr !important; place-items: center !important; padding: 0 !important; gap: 0 !important;
  }
  html body main[data-world="obstacle-course-50ft"] .bm-hq__open { width: auto !important; height: 100% !important; margin: 0 !important; display: block !important; }
  html body main[data-world="obstacle-course-50ft"] .bm-hq__diagram-wrap { display: block !important; position: relative; height: 100% !important; width: auto !important; aspect-ratio: 1; }
  html body main[data-world="obstacle-course-50ft"] .bm-hq__diagram { width: 100% !important; height: 100% !important; max-height: none !important; object-fit: contain; }
}

/* ---------- 5. Pill buttons: the label centred on the open glass between the corals ---------- */
html body main[data-world="obstacle-course-50ft"] .bm-mission__face { position: absolute !important; inset: 16% 20% 12% 20% !important; display: flex !important; align-items: center !important; justify-content: center !important; }

/* ==========================================================================
   Fix round 4 (Sabrina 2026-10-03)
   ========================================================================== */
/* 1. Hero card: the mockup's price bubble sits under the title. */
html body main[data-world="obstacle-course-50ft"] .sbx-hero__booking:has(.rental-rates) .world-price {
  display: flex !important; align-items: center; justify-content: center; margin: 0;
  min-width: 40cqi; padding: 1cqi 7cqi 1.8cqi; box-sizing: border-box; border-radius: 999px;
  background: radial-gradient(ellipse at 30% 25%, rgb(255 255 255 / 0.95), rgb(214 243 255 / 0.9) 55%, rgb(150 215 245 / 0.85));
  border: 0.5cqi solid rgb(255 255 255 / 0.9);
  box-shadow: 0 0 0 0.35cqi rgb(120 195 235 / 0.55), inset 0 -1cqi 2cqi rgb(80 170 225 / 0.35), 0 1.2cqi 2.4cqi rgb(11 42 110 / 0.16);
}
html body main[data-world="obstacle-course-50ft"] :is(.sbx-hero, .ob-card) .world-price strong {
  font-family: var(--sbx-title) !important; font-weight: 400 !important; font-size: 13cqi !important; line-height: 1 !important;
  color: var(--sbx-navy) !important; letter-spacing: 0 !important;
}
main[data-world="obstacle-course-50ft"] .sbx-hero__booking { gap: 3.4cqi; }
main[data-world="obstacle-course-50ft"] .sbx-hero__face { gap: 3cqi; }

/* 3. Treat "+ Add": plus absolutely at the right edge, the word dead centre. */
main[data-world="obstacle-course-50ft"] .bm-treats .addon-add[aria-pressed="false"]::before { left: auto !important; right: 18px !important; }
main[data-world="obstacle-course-50ft"] .bm-treats .addon-add { gap: 0 !important; }
html body main[data-world="obstacle-course-50ft"] :is(.sbx-hero, .ob-card) .world-price strong { background: none !important; box-shadow: none !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; }
/* 2. Details description: bigger text filling the open face (no scroll), clear of the three buttons. */
@media (min-width: 900px) {
  html body main[data-world="obstacle-course-50ft"] .bm-details__description { font-size: 3.15cqi !important; line-height: 1.3 !important; overflow: visible !important; max-height: none !important; }
  html body main[data-world="obstacle-course-50ft"] .bm-details__description p + p { margin-top: 0.5em; }
}

/* Fix round 5 (2026-10-03): phone duration pills sat on the card's inner edge; inset them into the yellow face. */
@media (max-width: 767px) {
  html body main[data-world="obstacle-course-50ft"] :is(.sbx-hero, .ob-card) .rental-rates { width: 88%; margin: 0 auto; gap: 2.4cqi; }
  html body main[data-world="obstacle-course-50ft"] :is(.sbx-hero, .ob-card) .rental-rates label > span { padding: 0 2cqi !important; }
}

/* ==========================================================================
   Round 6 (Sabrina, 2026-10-03): the updated "SpongeBob Bounce House" folder
   art at the Batman template's proportions. Comes last so it wins. New sb6-
   classes, so none of the older layers above reach these elements.
   Per-asset values (full canvas, measured on the folder PNGs):
     title-r6 1513x789 (trimmed "hero title"); lettering lt-*-r6 trimmed to alpha
     card-hero-pc-r6 ("pc card") 1400x612: yellow face x 10.5-94%, y 14.5-84%;
       flower top left (to x 16%, y 33%), coral bottom right (from x 82%, y 62%)
     card-tall-r6 ("mobile hero cta") 1000x1250: face x 15-87%, y 17-79.7%;
       bottom plaque light face x 11.1-89.5%, y 82.4-94.5%
     card-blur-r6 ("blur card") 1448x1086: face x 15.3-84.5%, y 20.5-85.4%
     card-calm-r6 ("card rotate for pc") 1600x686: face x 4-96%, y 10-90%;
       flower top left (to x 15%, y 30%), coral bottom right (from x 86%, y 60%)
     cta-r6 ("cta") 1000x333: glass face x 19-80%, y 21-80%
   Template ratios (Batman at 1440 / 390, measured by page-rules-check):
     hero title 0.62 / 0.95, card block 0.375 / 0.92 of the screen, card block
     height/width 0.97 / 1.62; details title 0.44 / 0.84, cards 0.98 / 0.92,
     height/width 0.46 / 1.53; attendant title 0.36 / 0.81; treats title
     0.56 / 0.88; related title 0.29 / 0.77.
   ========================================================================== */
html body main[data-world="obstacle-course-50ft"] { --sb6-navy: #173E9E; --sb6-navy-deep: #0B2A6E; --sb6-ink: #0E2C6B; --sb6-title: 'Lilita One', 'Chewy', 'Trebuchet MS', sans-serif; }

/* ---------- Shared: scenery, lettering titles ---------- */
html body main[data-world="obstacle-course-50ft"] :is(.sb6-hero, .sb6-details, .sb6-crew, .sb6-gallery) { position: relative; isolation: isolate; overflow: hidden; }
html body main[data-world="obstacle-course-50ft"] :is(.sb6-hero, .sb6-details, .sb6-crew, .sb6-gallery) > .bm-scenery { position: absolute !important; inset: 0 !important; z-index: 0 !important; display: block !important; width: 100% !important; height: 100% !important; margin: 0 !important; opacity: 1 !important; -webkit-mask: none !important; mask: none !important; }
html body main[data-world="obstacle-course-50ft"] :is(.sb6-hero, .sb6-details, .sb6-crew, .sb6-gallery) > .bm-scenery img { display: block !important; width: 100% !important; height: 100% !important; max-width: none !important; object-fit: cover !important; object-position: 50% 50% !important; -webkit-mask: none !important; mask: none !important; filter: none !important; opacity: 1 !important; }
html body main[data-world="obstacle-course-50ft"] section h2.sb6-lettering,
html body main[data-world="obstacle-course-50ft"] section :is(#bm-details-title, #bm-crew-title, #treats-title, #related-title, #sb6-gallery-title).sb6-lettering {
  position: relative; z-index: 2; display: block !important;
  width: fit-content !important; max-width: none !important; margin: 0 auto !important; padding: 0 !important;
  font-size: 0 !important; line-height: 0 !important; translate: none !important; transform: none;
  -webkit-text-stroke: 0 !important; text-shadow: none !important; background: none !important; color: transparent;
}
html body main[data-world="obstacle-course-50ft"] section h2.sb6-lettering > img.sb6-lettering__img { display: block !important; width: var(--lw) !important; max-width: none !important; height: auto !important; margin: 0 !important; filter: drop-shadow(0 6px 14px rgb(11 42 110 / 0.22)); }
html body main[data-world="obstacle-course-50ft"] h2.sb6-lettering::before, html body main[data-world="obstacle-course-50ft"] h2.sb6-lettering::after { content: none !important; }

/* Title widths: the template's title share of the screen. */
html body main[data-world="obstacle-course-50ft"] .sb6-details { --lw: min(44vw, 760px); }
html body main[data-world="obstacle-course-50ft"] .sb6-crew { --lw: min(36vw, 620px); }
html body main[data-world="obstacle-course-50ft"] .sb6-gallery { --lw: min(44vw, 760px); }
html body main[data-world="obstacle-course-50ft"] .bm-treats { --lw: min(56vw, 960px); }
html body main[data-world="obstacle-course-50ft"] .bm-related { --lw: min(30vw, 520px); }
@media (max-width: 767px) {
  html body main[data-world="obstacle-course-50ft"] .sb6-details { --lw: 84vw; }
  html body main[data-world="obstacle-course-50ft"] .sb6-crew { --lw: 81vw; }
  html body main[data-world="obstacle-course-50ft"] .sb6-gallery { --lw: 86vw; }
  html body main[data-world="obstacle-course-50ft"] .bm-treats { --lw: 88vw; }
  html body main[data-world="obstacle-course-50ft"] .bm-related { --lw: 77vw; }
}

/* ---------- 1. Hero ---------- */
html body main[data-world="obstacle-course-50ft"] section.sb6-hero {
  min-height: 0 !important; display: block !important;
  padding: clamp(64px, 5.6vw, 84px) clamp(16px, 4vw, 64px) clamp(32px, 3.4vw, 56px) !important;
}
html body main[data-world="obstacle-course-50ft"] .sb6-hero__stage {
  position: relative; z-index: 2; width: 100%; max-width: 1500px; margin: 0 auto;
  display: grid; grid-template-columns: auto auto; grid-template-areas: "title title" "product card";
  justify-content: center; align-items: center; column-gap: clamp(24px, 4vw, 72px); row-gap: clamp(4px, 0.6vw, 12px);
}
html body main[data-world="obstacle-course-50ft"] h1.sb6-hero__title { grid-area: title; justify-self: center; margin: 0 !important; padding: 0 !important; width: fit-content !important; max-width: none !important; font-size: 0 !important; line-height: 0 !important; }
html body main[data-world="obstacle-course-50ft"] .sb6-hero__title-img { display: block; width: min(53vw, 920px); height: auto; max-width: none; filter: drop-shadow(0 8px 18px rgb(11 42 110 / 0.25)); }

/* The card block: lettering heading, the sponge card, the glass button. */
html body main[data-world="obstacle-course-50ft"] .sb6-hero__card { grid-area: card; position: relative; width: min(35.5vw, 620px); display: flex; flex-direction: column; align-items: center; }
html body main[data-world="obstacle-course-50ft"] p.sb6-hero__crest { position: relative; z-index: 2; margin: 0 0 -1.2% !important; padding: 0; width: 94%; line-height: 0; }
html body main[data-world="obstacle-course-50ft"] .sb6-hero__heading { display: block; width: 100%; height: auto; filter: drop-shadow(0 4px 8px rgb(11 42 110 / 0.25)); }
html body main[data-world="obstacle-course-50ft"] .sb6-hero__sponge { position: relative; width: 100%; container-type: inline-size; display: grid; grid-template-columns: 100%; }
html body main[data-world="obstacle-course-50ft"] .sb6-hero__art { grid-area: 1 / 1; display: block; width: 100%; line-height: 0; pointer-events: none; }
html body main[data-world="obstacle-course-50ft"] .sb6-hero__art img { display: block; width: 100%; height: auto; }
html body main[data-world="obstacle-course-50ft"] .sb6-hero__face {
  grid-area: 1 / 1; position: relative; z-index: 1; align-self: stretch;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.8cqi;
  padding: 7.5% 15% 6.5% 16%; box-sizing: border-box;
}
html body main[data-world="obstacle-course-50ft"] ul.sb6-features {
  display: flex !important; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0 0.5em; margin: 0 !important; padding: 0 !important; list-style: none;
  font-family: 'Chewy', var(--sb6-title) !important; font-size: clamp(14px, 4cqi, 24px) !important; line-height: 1.15 !important; letter-spacing: 0.02em !important;
  color: var(--sb6-navy) !important; text-transform: none !important; font-variant: normal !important;
}
html body main[data-world="obstacle-course-50ft"] ul.sb6-features li { position: relative; margin: 0; padding: 0; color: inherit !important; font: inherit !important; }
html body main[data-world="obstacle-course-50ft"] ul.sb6-features li + li::before { content: '\2726'; display: inline-block; margin-right: 0.5em; vertical-align: 0.12em; font-size: 0.6em; color: #F08A1C; }
html body main[data-world="obstacle-course-50ft"] ul.sb6-features li::after { content: none !important; }
html body main[data-world="obstacle-course-50ft"] :is(.sb6-hero, .ob-card) .sbx-hero__booking.sb6-hero__booking { width: 100%; display: grid; justify-items: center; gap: 1.2cqi; margin: 0; }
html body main[data-world="obstacle-course-50ft"] :is(.sb6-hero, .ob-card) .sbx-hero__booking:has(.rental-rates) .world-price { display: none !important; }
html body main[data-world="obstacle-course-50ft"] :is(.sb6-hero, .ob-card) .rental-rates { display: grid !important; grid-template-columns: 1fr 1fr; gap: 2.4cqi !important; width: 100% !important; margin: 0 !important; }
html body main[data-world="obstacle-course-50ft"] :is(.sb6-hero, .ob-card) .rental-rates legend { grid-column: 1 / -1; margin: 0 0 1cqi !important; text-align: center !important; font-size: clamp(13px, 3.6cqi, 21px) !important; color: var(--sb6-navy) !important; float: none; width: 100% !important; }
html body main[data-world="obstacle-course-50ft"] :is(.sb6-hero, .ob-card) .rental-rates label > span { min-height: clamp(34px, 8.6cqi, 52px) !important; font-size: clamp(13px, 3.4cqi, 20px) !important; gap: 1.6cqi !important; padding: 0 2.4cqi !important; border-width: max(2px, 0.4cqi) !important; }
html body main[data-world="obstacle-course-50ft"] :is(.sb6-hero, .ob-card) .rental-rates__price { font-size: clamp(14px, 3.7cqi, 22px) !important; }
html body main[data-world="obstacle-course-50ft"] :is(.sb6-hero, .ob-card) .rental-rates input:checked + span::after { width: clamp(14px, 3.4cqi, 20px) !important; height: clamp(14px, 3.4cqi, 20px) !important; }

/* PC button: the folder's "cta" glass art; the label sits on the glass face's centre. */
html body main[data-world="obstacle-course-50ft"] .sb6-hero__actions { grid-area: 2 / 1; display: flex; justify-content: center; margin-top: 0.6%; }
html body main[data-world="obstacle-course-50ft"] a.sb6-cta {
  position: relative; display: block; width: 76cqi; aspect-ratio: 1200 / 400; margin: 0; padding: 0; border: 0; border-radius: 0; box-shadow: none;
  background: url('../../assets/bundled/product-worlds/obstacle-course-50ft/cta.webp') center / 100% 100% no-repeat; text-decoration: none;
  transition: transform 180ms var(--bm-ease), filter 180ms var(--bm-ease);
}
html body main[data-world="obstacle-course-50ft"] .sb6-cta__label {
  position: absolute; left: 19%; right: 20%; top: 21%; bottom: 20%;
  display: flex; align-items: center; justify-content: center; margin: 0; padding: 0; white-space: nowrap; line-height: 1;
  font-family: var(--sb6-title) !important; font-size: clamp(14px, 4.6cqi, 27px) !important; font-weight: 400 !important; letter-spacing: 0.01em !important; text-transform: none !important;
  color: var(--sb6-navy-deep) !important; text-shadow: 0 1px 0 rgb(255 255 255 / 0.7);
}
@media (hover: hover) and (pointer: fine) { html body main[data-world="obstacle-course-50ft"] a.sb6-cta:hover { transform: translateY(-2px); filter: brightness(1.05); } }
html body main[data-world="obstacle-course-50ft"] a.sb6-cta:active { transform: translateY(1px); }
html body main[data-world="obstacle-course-50ft"] a.sb6-cta:focus-visible { outline: 3px solid var(--sb6-navy); outline-offset: 2px; border-radius: 40px; }
@media (prefers-reduced-motion: reduce) { html body main[data-world="obstacle-course-50ft"] a.sb6-cta { transition: none; } }

/* The product: same height as the card block, never cropped. */
html body main[data-world="obstacle-course-50ft"] .sb6-hero__product { grid-area: product; position: relative; justify-self: end; width: min(39vw, 660px) !important; padding: 0 !important; margin: 0 !important; }
html body main[data-world="obstacle-course-50ft"] .sb6-hero__product .sbx-hero__img { width: 100% !important; height: auto !important; }

/* 768-1199: the product above the card (the wide card is never squeezed). */
@media (max-width: 1199px) {
  html body main[data-world="obstacle-course-50ft"] .sb6-hero__stage { grid-template-columns: auto; grid-template-areas: "title" "product" "card"; row-gap: 10px; }
  html body main[data-world="obstacle-course-50ft"] .sb6-hero__product { justify-self: center; width: min(62vw, 560px) !important; }
  html body main[data-world="obstacle-course-50ft"] .sb6-hero__card { width: min(64vw, 600px); }
  html body main[data-world="obstacle-course-50ft"] .sb6-hero__title-img { width: min(70vw, 760px); }
}
/* Phones: title, product, then the tall card; its bottom plaque is the button. */
@media (max-width: 767px) {
  html body main[data-world="obstacle-course-50ft"] section.sb6-hero { padding: 64px 14px 28px !important; }
  html body main[data-world="obstacle-course-50ft"] .sb6-hero__stage { row-gap: 0; }
  html body main[data-world="obstacle-course-50ft"] .sb6-hero__title-img { width: 94vw; }
  html body main[data-world="obstacle-course-50ft"] .sb6-hero__product { width: min(92vw, 460px) !important; margin-top: 4px !important; }
  html body main[data-world="obstacle-course-50ft"] .sb6-hero__card { width: 92vw; margin-top: -5vw; }
  html body main[data-world="obstacle-course-50ft"] .sb6-hero__face { padding: 15% 15% 23% 15%; gap: 3cqi; }
  html body main[data-world="obstacle-course-50ft"] ul.sb6-features { font-size: 4.9cqi !important; flex-wrap: nowrap; white-space: nowrap; }
  html body main[data-world="obstacle-course-50ft"] :is(.sb6-hero, .ob-card) .rental-rates { grid-template-columns: 1fr !important; gap: 3cqi !important; width: 92% !important; }
  html body main[data-world="obstacle-course-50ft"] :is(.sb6-hero, .ob-card) .rental-rates legend { font-size: 5.6cqi !important; }
  html body main[data-world="obstacle-course-50ft"] :is(.sb6-hero, .ob-card) .rental-rates label > span { min-height: 13.5cqi !important; font-size: 5.4cqi !important; }
  html body main[data-world="obstacle-course-50ft"] :is(.sb6-hero, .ob-card) .rental-rates__price { font-size: 5.8cqi !important; }
  html body main[data-world="obstacle-course-50ft"] :is(.sb6-hero, .ob-card) .rental-rates input:checked + span::after { width: 5.2cqi !important; height: 5.2cqi !important; }
  html body main[data-world="obstacle-course-50ft"] .sb6-hero__actions { grid-area: 1 / 1; position: relative; z-index: 2; align-self: start; margin: 0; width: 100%; height: 100%; display: block; pointer-events: none; }
  html body main[data-world="obstacle-course-50ft"] a.sb6-cta { position: absolute; left: 11.1%; right: 10.5%; top: 82.4%; bottom: 5.5%; width: auto; aspect-ratio: auto; background: none; pointer-events: auto; border-radius: 999px; }
  html body main[data-world="obstacle-course-50ft"] .sb6-cta__label { inset: 0; font-size: 6.4cqi !important; }
}

/* ---------- 2. Details ---------- */
html body main[data-world="obstacle-course-50ft"] section.sb6-details { padding: clamp(56px, 6vw, 96px) 0 clamp(56px, 6vw, 96px) !important; margin: 0 !important; background: none !important; }
html body main[data-world="obstacle-course-50ft"] .sb6-details__stage {
  --span: min(92vw, 1500px); --gap: 2.5vw; --H: calc((var(--span) - var(--gap)) / 2.1336);
  position: relative; z-index: 2; display: flex; justify-content: center; align-items: stretch; gap: var(--gap);
  width: var(--span); margin: clamp(20px, 2.4vw, 40px) auto 0;
}
html body main[data-world="obstacle-course-50ft"] .sb6-story { position: relative; width: calc(var(--H) * 1448 / 1086); height: var(--H); flex: none; container-type: inline-size; }
html body main[data-world="obstacle-course-50ft"] img.sb6-story__panel { position: absolute; inset: 0; display: block; width: 100%; height: 100%; pointer-events: none; }
html body main[data-world="obstacle-course-50ft"] .sb6-story__safe {
  position: absolute; left: 18%; right: 17%; top: 24%; bottom: 20%;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); align-items: center; column-gap: 2.4cqi;
}
html body main[data-world="obstacle-course-50ft"] .sb6-story__text .bm-details__description { margin: 0 !important; padding: 0 !important; max-height: none !important; overflow: visible !important; font-size: clamp(14px, 2.75cqi, 24px) !important; line-height: 1.32 !important; color: var(--sb6-ink) !important; text-align: center; }
html body main[data-world="obstacle-course-50ft"] .sb6-story__text .bm-details__description p { margin: 0 !important; font: inherit !important; color: inherit !important; }
html body main[data-world="obstacle-course-50ft"] .sb6-story__text .bm-details__description p + p { margin-top: 0.55em !important; }
html body main[data-world="obstacle-course-50ft"] ul.sb6-missions { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.6cqi; justify-items: center; }
html body main[data-world="obstacle-course-50ft"] li.sb6-missions__li { margin: 0; padding: 0; width: 100%; }
html body main[data-world="obstacle-course-50ft"] button.sb6-pill {
  position: relative; display: block; width: 100%; aspect-ratio: 1200 / 400; margin: 0; padding: 0; border: 0; border-radius: 0; box-shadow: none; cursor: pointer;
  background: url('../../assets/bundled/product-worlds/obstacle-course-50ft/cta.webp') center / 100% 100% no-repeat !important;
  transition: transform 180ms var(--bm-ease), filter 180ms var(--bm-ease);
}
html body main[data-world="obstacle-course-50ft"] .sb6-pill__label {
  position: absolute; left: 19%; right: 20%; top: 21%; bottom: 20%; display: flex; align-items: center; justify-content: center; white-space: nowrap; line-height: 1;
  font-family: var(--sb6-title) !important; font-size: clamp(12px, 2.25cqi, 20px) !important; font-weight: 400 !important; letter-spacing: 0.01em !important; color: var(--sb6-navy-deep) !important; text-shadow: 0 1px 0 rgb(255 255 255 / 0.7);
}
html body main[data-world="obstacle-course-50ft"] button.sb6-pill .bm-mission__plus { display: none !important; }
@media (hover: hover) and (pointer: fine) { html body main[data-world="obstacle-course-50ft"] button.sb6-pill:hover { transform: translateY(-2px); filter: brightness(1.05); } }
html body main[data-world="obstacle-course-50ft"] button.sb6-pill:focus-visible { outline: 3px solid var(--sb6-navy); outline-offset: 2px; border-radius: 30px; }

html body main[data-world="obstacle-course-50ft"] .sb6-hq { position: relative; width: calc(var(--H) * 1122 / 1402); height: var(--H); flex: none; container-type: inline-size; }
html body main[data-world="obstacle-course-50ft"] img.sb6-hq__frame { position: absolute; inset: 0; display: block; width: 100%; height: 100%; pointer-events: none; }
html body main[data-world="obstacle-course-50ft"] .sb6-hq .bm-hq__sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; margin: 0; padding: 0; }
html body main[data-world="obstacle-course-50ft"] button.sb6-hq__open {
  position: absolute; left: 17%; right: 15%; top: 19%; bottom: 22%; margin: 0; padding: 0; border: 0; background: none; cursor: zoom-in;
  display: flex; align-items: center; justify-content: center;
}
html body main[data-world="obstacle-course-50ft"] img.sb6-hq__diagram { display: block; width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
html body main[data-world="obstacle-course-50ft"] button.sb6-hq__open:focus-visible { outline: 3px solid var(--sb6-navy); outline-offset: 4px; border-radius: 12px; }
html body main[data-world="obstacle-course-50ft"] button.sb6-plaque {
  position: absolute; left: 11.1%; right: 10.5%; top: 82.4%; bottom: 5.5%; margin: 0; padding: 0; border: 0; border-radius: 999px; background: none; cursor: pointer;
  display: block;
}
html body main[data-world="obstacle-course-50ft"] .sb6-plaque__label {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; white-space: nowrap; line-height: 1;
  font-family: var(--sb6-title) !important; font-size: clamp(14px, 6.2cqi, 30px) !important; font-weight: 400 !important; letter-spacing: 0.01em !important; color: var(--sb6-navy-deep) !important;
}
html body main[data-world="obstacle-course-50ft"] button.sb6-plaque .bm-mission__plus { display: block !important; position: absolute; z-index: 1; right: 10.5%; top: 50%; translate: 0 -50%; width: 6cqi; height: 6cqi; fill: none; stroke: var(--sb6-navy-deep); stroke-width: 3; stroke-linecap: round; }
html body main[data-world="obstacle-course-50ft"] button.sb6-plaque:focus-visible { outline: 3px solid var(--sb6-navy); outline-offset: 2px; }

/* Tablets: the two cards one above the other, each at its natural ratio. */
@media (max-width: 1023px) {
  html body main[data-world="obstacle-course-50ft"] .sb6-details__stage { flex-direction: column; align-items: center; width: 100%; gap: 28px; }
  html body main[data-world="obstacle-course-50ft"] .sb6-story { width: min(88vw, 720px); height: auto; aspect-ratio: 1448 / 1086; }
  html body main[data-world="obstacle-course-50ft"] .sb6-hq { width: min(60vw, 420px); height: auto; aspect-ratio: 1122 / 1402; }
}
/* Phones: description and buttons on the scenery (template), then the tall diagram card. */
@media (max-width: 767px) {
  html body main[data-world="obstacle-course-50ft"] section.sb6-details { padding: 56px 0 48px !important; }
  html body main[data-world="obstacle-course-50ft"] .sb6-story { width: 92vw; aspect-ratio: auto; container-type: normal; }
  html body main[data-world="obstacle-course-50ft"] img.sb6-story__panel { display: none; }
  html body main[data-world="obstacle-course-50ft"] .sb6-story__safe { position: static; display: flex; flex-direction: column; align-items: center; gap: 20px; padding: 0; }
  html body main[data-world="obstacle-course-50ft"] .sb6-story__text .bm-details__description { font-size: 17px !important; line-height: 1.4 !important; }
  html body main[data-world="obstacle-course-50ft"] ul.sb6-missions { width: min(100%, 330px); gap: 8px; }
  html body main[data-world="obstacle-course-50ft"] .sb6-pill__label { font-size: 17px !important; }
  html body main[data-world="obstacle-course-50ft"] .sb6-hq { width: 92vw; }
}

/* ---------- 3. Attendant: the card on the open water to the right ---------- */
html body main[data-world="obstacle-course-50ft"] section.sb6-crew { padding: clamp(56px, 5vw, 88px) 0 clamp(60px, 6vw, 104px) !important; margin: 0 !important; background: none !important; text-align: center; }
html body main[data-world="obstacle-course-50ft"] .sb6-crew__col { position: relative; z-index: 2; width: min(52vw, 900px); margin-left: 44.5vw; display: flex; flex-direction: column; align-items: center; gap: clamp(14px, 1.8vw, 28px); }
html body main[data-world="obstacle-course-50ft"] .sb6-crew__card { position: relative; width: 100%; aspect-ratio: 1600 / 686; container-type: inline-size; }
html body main[data-world="obstacle-course-50ft"] .sb6-crew__art { position: absolute; inset: 0; display: block; line-height: 0; pointer-events: none; }
html body main[data-world="obstacle-course-50ft"] .sb6-crew__art img { display: block; width: 100%; height: 100%; }
html body main[data-world="obstacle-course-50ft"] .sb6-crew__media { position: absolute; left: 6%; bottom: 9%; width: 38%; line-height: 0; }
html body main[data-world="obstacle-course-50ft"] img.sb6-crew__character { display: block; width: 100%; height: auto; max-width: none; filter: drop-shadow(0 6px 10px rgb(11 42 110 / 0.18)); }
html body main[data-world="obstacle-course-50ft"] .sb6-crew__words { position: absolute; left: 44%; right: 14%; top: 11%; bottom: 8%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.8cqi; text-align: center; }
html body main[data-world="obstacle-course-50ft"] h3.sb6-crew__heading { margin: 0 !important; font-family: var(--sb6-title) !important; font-weight: 400 !important; font-size: clamp(14px, 2.9cqi, 28px) !important; line-height: 1.05 !important; letter-spacing: 0 !important; text-transform: none !important; color: var(--sb6-navy) !important; -webkit-text-stroke: 0 !important; text-shadow: none !important; white-space: nowrap; }
html body main[data-world="obstacle-course-50ft"] p.sb6-crew__text { margin: 0 !important; font-family: var(--bm-sans) !important; font-size: clamp(12px, 2.2cqi, 20px) !important; line-height: 1.28 !important; color: var(--sb6-ink) !important; max-width: 36ch; }
html body main[data-world="obstacle-course-50ft"] .sb6-crew__rate .attendant__rate { margin: 0 !important; font-family: var(--sb6-title) !important; color: var(--sb6-navy) !important; font-size: clamp(13px, 2.2cqi, 22px) !important; line-height: 1 !important; white-space: nowrap; }
html body main[data-world="obstacle-course-50ft"] .sb6-crew__rate .attendant__rate * { font-family: inherit !important; color: inherit !important; }
html body main[data-world="obstacle-course-50ft"] .sb6-crew__rate .attendant__rate span, html body main[data-world="obstacle-course-50ft"] .sb6-crew__rate .attendant__rate small { font-size: 0.6em !important; font-family: var(--bm-sans) !important; }
html body main[data-world="obstacle-course-50ft"] .sb6-crew__stepper { display: flex !important; align-items: center; justify-content: center; gap: 1.2cqi; margin: 0 !important; color: var(--sb6-ink) !important; font-size: clamp(12px, 2.1cqi, 18px) !important; }
html body main[data-world="obstacle-course-50ft"] .sb6-crew__stepper label { color: var(--sb6-ink) !important; font-size: inherit !important; }
html body main[data-world="obstacle-course-50ft"] .sb6-crew__stepper .bm-stepper__btn { width: clamp(28px, 5cqi, 42px) !important; height: clamp(28px, 5cqi, 42px) !important; border: 2px solid var(--sb6-navy) !important; background: #FFFBEA !important; color: var(--sb6-navy) !important; stroke: var(--sb6-navy) !important; }
html body main[data-world="obstacle-course-50ft"] .sb6-crew__stepper .bm-stepper__btn svg { stroke: var(--sb6-navy) !important; }
html body main[data-world="obstacle-course-50ft"] .sb6-crew__stepper input { width: clamp(36px, 6cqi, 54px) !important; height: clamp(28px, 5cqi, 42px) !important; border: 2px solid var(--sb6-navy) !important; background: #FFFBEA !important; color: var(--sb6-navy) !important; font-size: inherit !important; }
html body main[data-world="obstacle-course-50ft"] .sb6-crew__stepper output { color: var(--sb6-navy) !important; font-family: var(--sb6-title) !important; font-size: 1.15em !important; }
html body main[data-world="obstacle-course-50ft"] .sb6-crew__row { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.4cqi; }
html body main[data-world="obstacle-course-50ft"] .sb6-crew__rate .attendant__rate strong { font-size: 1.55em !important; line-height: 1 !important; }
html body main[data-world="obstacle-course-50ft"] .sb6-crew__switch { display: flex; align-items: center; justify-content: center; }
html body main[data-world="obstacle-course-50ft"] .sb6-crew__stepper, html body main[data-world="obstacle-course-50ft"] .sb6-crew__stepper .bm-stepper__row { flex-wrap: nowrap !important; }
html body main[data-world="obstacle-course-50ft"] .sb6-crew__stepper output { display: inline-block !important; margin: 0 !important; min-width: 0 !important; white-space: nowrap; }
html body main[data-world="obstacle-course-50ft"] .sb6-crew__switch label.attendant__pick.bm-switch { margin: 0 !important; display: inline-flex !important; flex-direction: row !important; align-items: center !important; justify-content: center !important; width: auto !important; height: auto !important; padding: 0 !important; gap: 1.2cqi; color: var(--sb6-ink) !important; font-size: clamp(13px, 2.4cqi, 21px) !important; white-space: nowrap; }
html body main[data-world="obstacle-course-50ft"] .sb6-crew__switch label.bm-switch .bm-switch__text { margin: 0 !important; padding: 0 !important; line-height: 1.1 !important; color: var(--sb6-ink) !important; font-family: var(--bm-sans) !important; font-size: inherit !important; }

/* Tablets: the card centred under its title. */
@media (max-width: 1023px) {
  html body main[data-world="obstacle-course-50ft"] .sb6-crew__col { width: min(90vw, 720px); margin-inline: auto; }
  html body main[data-world="obstacle-course-50ft"] .sb6-crew { --lw: min(60vw, 520px); }
}
/* Phones: the tall card; SpongeBob and the words on its face, the switch in its bottom plaque. */
@media (max-width: 767px) {
  html body main[data-world="obstacle-course-50ft"] section.sb6-crew { padding: 56px 0 56px !important; }
  html body main[data-world="obstacle-course-50ft"] .sb6-crew { --lw: 81vw; }
  html body main[data-world="obstacle-course-50ft"] .sb6-crew__col { width: 92vw; gap: 14px; }
  html body main[data-world="obstacle-course-50ft"] .sb6-crew__card { aspect-ratio: 1122 / 1402; }
  html body main[data-world="obstacle-course-50ft"] .sb6-crew__media { left: 50%; translate: -50% 0; bottom: auto; top: 16.5%; width: 34%; }
  html body main[data-world="obstacle-course-50ft"] .sb6-crew__words { left: 18%; right: 18%; top: 41%; bottom: 19%; gap: 1.6cqi; justify-content: center; }
  html body main[data-world="obstacle-course-50ft"] h3.sb6-crew__heading { font-size: 4.6cqi !important; }
  html body main[data-world="obstacle-course-50ft"] p.sb6-crew__text { font-size: 3.8cqi !important; line-height: 1.22 !important; }
  html body main[data-world="obstacle-course-50ft"] .sb6-crew__stepper > label { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  html body main[data-world="obstacle-course-50ft"] .sb6-crew__rate .attendant__rate { font-size: 5.6cqi !important; }
  html body main[data-world="obstacle-course-50ft"] .sb6-crew__stepper { font-size: 3.8cqi !important; gap: 1.6cqi !important; }
  html body main[data-world="obstacle-course-50ft"] .sb6-crew__stepper .bm-stepper__row { gap: 1.4cqi !important; }
  html body main[data-world="obstacle-course-50ft"] .sb6-crew__stepper input { width: 10cqi !important; }
  html body main[data-world="obstacle-course-50ft"] .sb6-crew__stepper .bm-stepper__btn, html body main[data-world="obstacle-course-50ft"] .sb6-crew__stepper input { height: 9cqi !important; }
  html body main[data-world="obstacle-course-50ft"] .sb6-crew__stepper .bm-stepper__btn { width: 9cqi !important; }
  /* The switch sits in the plaque (x 11.1-89.5%, y 82.4-94.5% of the card), placed from the words box (x 16-86%, y 43-81%). */
  /* words box here is x 18-82%, y 41-81% of the card */
  html body main[data-world="obstacle-course-50ft"] .sb6-crew__switch { position: absolute; top: 103.5%; height: 30.25%; left: -10.8%; right: -11.7%; }
  html body main[data-world="obstacle-course-50ft"] .sb6-crew__switch label.attendant__pick.bm-switch { font-size: 4.8cqi !important; gap: 2.4cqi; }
}

/* ---------- 4. Carousel ---------- */
html body main[data-world="obstacle-course-50ft"] section.sb6-gallery { padding-top: clamp(48px, 5vw, 84px) !important; }
html body main[data-world="obstacle-course-50ft"] .sb6-gallery__title { margin-bottom: clamp(16px, 2vw, 32px) !important; }
html body main[data-world="obstacle-course-50ft"] .sb6-gallery > .bm-gallery__stage { position: relative; z-index: 2; }

/* ---------- 5. Concessions and 6. Related: lettering titles ---------- */
html body main[data-world="obstacle-course-50ft"] section.bm-treats h2#treats-title.sb6-lettering { margin-bottom: clamp(18px, 2.4vw, 40px) !important; }
html body main[data-world="obstacle-course-50ft"] section.bm-related h2#related-title.sb6-lettering { margin-bottom: clamp(16px, 2vw, 32px) !important; }

/* ---------- Popups: "blur card" on wider screens, the tall card on phones ---------- */
html body main dialog.bm-dialog.sb6-dialog { width: min(88vw, 900px, calc(84dvh * 1448 / 1086)) !important; max-width: none !important; height: auto !important; max-height: none !important; aspect-ratio: auto !important; overflow: visible !important; padding: 0 !important; background: none !important; border: 0 !important; }
html body main dialog.bm-dialog.sb6-dialog .bm-dialog__frame {
  position: relative; width: 100% !important; height: auto !important; aspect-ratio: 1448 / 1086 !important; container-type: inline-size;
  background: url('../../assets/bundled/product-worlds/obstacle-course-50ft/card-desc.webp') center / 100% 100% no-repeat !important;
  border: 0 !important; border-radius: 0 !important; box-shadow: none !important; padding: 0 !important;
}
html body main dialog.bm-dialog.sb6-dialog .bm-dialog__safe { position: absolute !important; inset: 22% 18% 19% 18% !important; padding: 0 !important; display: flex !important; flex-direction: column; align-items: center; justify-content: center; gap: 1.6cqi !important; text-align: center; }
html body main dialog.bm-dialog.sb6-dialog .bm-dialog__title { font-family: var(--sb6-title) !important; color: var(--sb6-navy) !important; font-size: clamp(22px, 4.2cqi, 40px) !important; line-height: 1.05 !important; }
html body main dialog.bm-dialog.sb6-dialog .bm-dialog__body { color: var(--sb6-ink) !important; font-size: clamp(14px, 2cqi, 19px) !important; }
html body main dialog.bm-dialog.sb6-dialog .bm-dialog__body--dims { flex: 1 1 auto; min-height: 0; width: 100%; display: flex; align-items: center; justify-content: center; overflow: visible !important; }
html body main dialog.bm-dialog.sb6-dialog .bm-dialog__diagram { display: block; width: auto !important; height: 100% !important; max-width: 100% !important; max-height: 100% !important; object-fit: contain; mix-blend-mode: multiply; }
html body main dialog.bm-dialog.sb6-dialog .sb6-dialog__done { display: none; }
@media (max-width: 767px) {
  html body main dialog.bm-dialog.sb6-dialog { width: min(94vw, 440px, calc(90dvh * 1000 / 1250)) !important; }
  html body main dialog.bm-dialog.sb6-dialog .bm-dialog__frame { aspect-ratio: 1122 / 1402 !important; background-image: url('../../assets/bundled/product-worlds/obstacle-course-50ft/card-tall-b.webp') !important; }
  html body main dialog.bm-dialog.sb6-dialog .bm-dialog__safe { inset: 18% 16% 22% 16% !important; gap: 3cqi !important; }
  html body main dialog.bm-dialog.sb6-dialog .bm-dialog__title { font-size: 6cqi !important; }
  html body main dialog.bm-dialog.sb6-dialog .bm-dialog__head { padding-inline: 15% !important; }
  html body main dialog.bm-dialog.sb6-dialog .bm-dialog__body { font-size: max(14px, 3.9cqi) !important; }
  html body main dialog.bm-dialog.sb6-dialog .sb6-dialog__done { display: block; position: absolute; left: 11.1%; right: 10.5%; top: 82.4%; bottom: 5.5%; margin: 0; padding: 0; border: 0; border-radius: 999px; background: none; cursor: pointer; }
  html body main dialog.bm-dialog.sb6-dialog .sb6-dialog__done-label { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; line-height: 1; font-family: var(--sb6-title) !important; font-size: 6.4cqi; color: var(--sb6-navy-deep); }
}

/* ---------- Button label plates ----------
   Each label sits on a calm, even "glass" plate centred on the light face of
   its art (cta glass: x 19-80%, y 21-80%, centre 49.5% / 50.5%; card plaque:
   the whole button box), so the words are centred on what the eye reads as the
   face. The plus stays absolute at the right edge. */
html body main[data-world="obstacle-course-50ft"] .sb6-face {
  box-sizing: border-box; border-radius: 999px;
  background: #F1FAFF !important; border: 1.5px solid rgb(30 110 190 / 0.5);
  box-shadow: 0 1px 0 rgb(255 255 255 / 0.8), inset 0 -2px 0 rgb(30 110 190 / 0.08);
  text-shadow: none !important;
}
html body main[data-world="obstacle-course-50ft"] :is(.sb6-cta__label, .sb6-pill__label).sb6-face { left: 24.5% !important; right: 25.5% !important; top: 30% !important; bottom: 29% !important; inset: 30% 25.5% 29% 24.5% !important; }
html body main[data-world="obstacle-course-50ft"] .sb6-cta__label.sb6-face { font-size: clamp(13px, 3.9cqi, 22px) !important; }
html body main[data-world="obstacle-course-50ft"] .sb6-pill__label.sb6-face { font-size: clamp(11px, 1.95cqi, 17px) !important; }
html body main[data-world="obstacle-course-50ft"] .sb6-plaque__label.sb6-face { inset: 13% 7% 13% 7% !important; font-size: clamp(14px, 5.6cqi, 26px) !important; }
@media (max-width: 767px) {
  html body main[data-world="obstacle-course-50ft"] .sb6-cta__label.sb6-face { inset: 13% 7% 13% 7% !important; font-size: 6cqi !important; }
  html body main[data-world="obstacle-course-50ft"] .sb6-pill__label.sb6-face { font-size: 15px !important; }
  html body main dialog.bm-dialog.sb6-dialog .sb6-dialog__done-label.sb6-face { inset: 13% 7% 13% 7%; }
}

/* Description sits straight on the card's calm face (no inner box) from 768px up. */
@media (min-width: 768px) {
  html body main[data-world="obstacle-course-50ft"] .sb6-story__text .bm-details__description { background: none !important; border: 0 !important; box-shadow: none !important; border-radius: 0 !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  html body main[data-world="obstacle-course-50ft"] .sb6-story__text .bm-details__description { font-size: 2.6cqi !important; }
  html body main[data-world="obstacle-course-50ft"] .sb6-pill__label.sb6-face { font-size: 2.1cqi !important; }
}
/* 1024-1279: the attendant card a little wider so its words stay readable. */
@media (min-width: 1024px) and (max-width: 1279px) {
  html body main[data-world="obstacle-course-50ft"] .sb6-crew__col { width: 60vw; margin-left: 37vw; }
}

/* Popups: centred on the screen over a dimmed page; words kept on the calm face, clear of the corner coral. */
html body main dialog.bm-dialog.sb6-dialog[open] { position: fixed !important; top: 50% !important; left: 50% !important; right: auto !important; bottom: auto !important; margin: 0 !important; translate: -50% -50% !important; }
html body main dialog.bm-dialog.sb6-dialog::backdrop { background: rgb(8 30 70 / 0.55) !important; opacity: 1; }
html body main dialog.bm-dialog.sb6-dialog .bm-dialog__safe { inset: 21% 20% 23% 20% !important; }
html body main dialog.bm-dialog.sb6-dialog .bm-dialog__head { position: relative; width: 100%; min-height: 44px; display: flex !important; align-items: center; justify-content: center; padding-inline: 12% !important; flex: none; }
html body main dialog.bm-dialog.sb6-dialog .bm-dialog__title { display: block !important; position: static !important; width: auto !important; height: auto !important; clip: auto !important; overflow: visible !important; margin: 0 !important; }
html body main dialog.bm-dialog.sb6-dialog .bm-dialog__close { position: absolute !important; top: 50% !important; right: 0 !important; left: auto !important; translate: 0 -50% !important; margin: 0 !important; }
html body main dialog.bm-dialog.sb6-dialog .bm-dialog__body { width: 100%; min-height: 0; overflow-y: auto !important; overscroll-behavior: contain; }
@media (max-width: 767px) {
  html body main dialog.bm-dialog.sb6-dialog .bm-dialog__safe { inset: 17% 22% 24% 22% !important; }
}
html body main dialog.bm-dialog.sb6-dialog.bm-dialog--dims .bm-dialog__head { position: relative !important; inset: auto !important; top: auto !important; left: auto !important; right: auto !important; bottom: auto !important; transform: none !important; translate: none !important; order: 0; }
html body main dialog.bm-dialog.sb6-dialog.bm-dialog--dims .bm-dialog__body--dims { order: 1; position: relative !important; inset: auto !important; }

/* ==== Round 7 (2026-10-03): centred on the painted face ====
   Face rects are measured from the art pixels (fractions of the art, see
   bundled/product-worlds/obstacle-course-50ft/faces.json). cta-r6 glass panel
   centre 51% / 50%; hero card (yellow) centre 51.4% / 52%; tall card main
   face centre 51.8% / 47.4%; tall card plaque centre 50.2% / 88.2%;
   attendant yellow card centre 50% / 51%. */
/* Glass label plates (cta + mission pills) centred on the glass panel (x 51%). */
html body main[data-world="obstacle-course-50ft"] .sb6-pill__label.sb6-face { left: 26% !important; right: 24% !important; inset: 30% 24% 29% 26% !important; }
@media (min-width: 768px) {
  html body main[data-world="obstacle-course-50ft"] .sb6-cta__label.sb6-face { left: 26% !important; right: 24% !important; inset: 30% 24% 29% 26% !important; }
  /* Hero card content block centred on the yellow face. */
  html body main[data-world="obstacle-course-50ft"] .sb6-hero__face { padding: 8.9% 13.3% 5.1% 17.7%; }
}
@media (max-width: 767px) {
  html body main[data-world="obstacle-course-50ft"] .sb6-hero__face { padding: 17% 13.1% 21% 16.9%; }
}
/* "Check Your Space": words + plus icon as ONE group centred on the plaque.
   The pale plate moves to the button so the label and the icon can sit side by side. */
html body main[data-world="obstacle-course-50ft"] button.sb6-plaque { display: flex; align-items: center; justify-content: center; gap: 3.4cqi; }
html body main[data-world="obstacle-course-50ft"] button.sb6-plaque::before {
  content: ''; position: absolute; inset: 13% 7%; box-sizing: border-box; border-radius: 999px;
  background: #F1FAFF; border: 1.5px solid rgb(30 110 190 / 0.5);
  box-shadow: 0 1px 0 rgb(255 255 255 / 0.8), inset 0 -2px 0 rgb(30 110 190 / 0.08);
}
html body main[data-world="obstacle-course-50ft"] .sb6-plaque__label.sb6-face {
  position: relative; inset: auto !important; z-index: 1; flex: none; display: block; padding: 0; border: 0; border-radius: 0; box-shadow: none; background: none !important;
}
html body main[data-world="obstacle-course-50ft"] button.sb6-plaque .bm-mission__plus { position: relative !important; z-index: 1; right: auto !important; top: auto !important; translate: none !important; flex: none; }
/* Attendant card: character + words travel as one group, centred on the yellow face (PC) / the main face (phone). */
@media (min-width: 768px) {
  html body main[data-world="obstacle-course-50ft"] .sb6-crew__media { left: 10.5%; bottom: 12%; }
  html body main[data-world="obstacle-course-50ft"] .sb6-crew__words { left: 48.5%; right: 9.5%; top: 8.15%; bottom: 10.85%; }
}
@media (max-width: 767px) {
  html body main[data-world="obstacle-course-50ft"] .sb6-crew__media { left: 51.6%; }
  html body main[data-world="obstacle-course-50ft"] .sb6-crew__words { padding-left: 3.2%; }
}
/* Popups: the text block centred on the card's light face (blur card centre 50.7% / 52%, tall card 51.8% / 47.4%). */
html body main dialog.bm-dialog.sb6-dialog .bm-dialog__safe { inset: 24% 19.3% 20% 20.7% !important; }
@media (max-width: 767px) {
  html body main dialog.bm-dialog.sb6-dialog .bm-dialog__safe { inset: 17.9% 20.2% 23.1% 23.8% !important; }
}

/* 2026-10-03: PC attendant words sat about 9px high on the yellow face; centre them. */
@media (min-width: 768px) { html body main[data-world="obstacle-course-50ft"] .sb6-crew__words { translate: 0 9px; } }

/* 2026-10-03: product visible centre on the hero card centre (desktop). */
@media (min-width: 1200px) and (max-width: 1700px) { html body main[data-world="obstacle-course-50ft"] .sbx-hero__img { translate: 0 1.3vw; } }

/* ==== 2026-10-03: ONE hero card (Sabrina: "why is the hero card in 3 seperate assets?").
   PC: the wide "pc card" holds the heading lettering, features, rental duration, pills and the
   Check Availability plaque. The card is drawn as a 9-slice so it takes Batman's card shape
   without stretching the flowers, coral or rim. Sizes follow the Batman hero ratios. ==== */
@media (min-width: 768px) {
  html body main[data-world="obstacle-course-50ft"] .sb6-hero__art { display: none !important; }
  html body main[data-world="obstacle-course-50ft"] .sb6-hero__sponge {
    display: flex !important; flex-direction: column; align-items: center; justify-content: center; isolation: isolate;
    padding: 9% 9% 8% 11%; box-sizing: border-box; gap: 0; --cw: min(64vw, 600px);
  }
  html body main[data-world="obstacle-course-50ft"] .sb6-hero__sponge::before {
    content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none; box-sizing: border-box;
    border-style: solid; border-width: calc(var(--cw) * 0.214) calc(var(--cw) * 0.107) calc(var(--cw) * 0.164) calc(var(--cw) * 0.143);
    background: rgb(251 237 53) padding-box; /* plain face in the stretched middle: no smeared flower pattern */
    border-image: url('../../assets/bundled/product-worlds/obstacle-course-50ft/card-desc.webp') 300 150 230 200 stretch;
  }
  html body main[data-world="obstacle-course-50ft"] .sb6-hero__face { position: relative; z-index: 1; padding: 0 !important; width: 100%; gap: 1.6cqi; flex: 0 0 auto; }
  html body main[data-world="obstacle-course-50ft"] p.sb6-hero__crest { margin: 0 0 1cqi !important; width: 86%; }
  html body main[data-world="obstacle-course-50ft"] .sb6-hero__face { gap: 2.4cqi !important; }
  html body main[data-world="obstacle-course-50ft"] ul.sb6-features { font-size: 4.6cqi !important; }
  html body main[data-world="obstacle-course-50ft"] :is(.sb6-hero, .ob-card) .rental-rates { width: 92% !important; gap: 3cqi !important; }
  html body main[data-world="obstacle-course-50ft"] :is(.sb6-hero, .ob-card) .rental-rates legend { font-size: 4.2cqi !important; margin-bottom: 1.6cqi !important; }
  html body main[data-world="obstacle-course-50ft"] :is(.sb6-hero, .ob-card) .rental-rates label > span { min-height: 10.5cqi !important; font-size: 3.9cqi !important; }
  html body main[data-world="obstacle-course-50ft"] :is(.sb6-hero, .ob-card) .rental-rates__price { font-size: 4.3cqi !important; }
  html body main[data-world="obstacle-course-50ft"] .sb6-hero__actions { position: relative; z-index: 1; margin: 0; }
  html body main[data-world="obstacle-course-50ft"] .sb6-hero__actions { margin-top: 3cqi !important; }
  html body main[data-world="obstacle-course-50ft"] a.sb6-cta { width: 70cqi; }
  html body main[data-world="obstacle-course-50ft"] a.sb6-cta .sb6-cta__label { font-size: 4.1cqi !important; }
}
@media (min-width: 1200px) {
  html body main[data-world="obstacle-course-50ft"] .sb6-hero__card { width: 40vw; }
  html body main[data-world="obstacle-course-50ft"] .sb6-hero__sponge { height: 33vw; --cw: 40vw; }
  html body main[data-world="obstacle-course-50ft"] .sb6-hero__product { width: 43vw !important; }
  html body main[data-world="obstacle-course-50ft"] .sb6-hero__title-img { width: 38vw; }
  html body main[data-world="obstacle-course-50ft"] .sbx-hero__img { translate: none; }
}
@media (max-width: 1199px) { html body main[data-world="obstacle-course-50ft"] .sb6-hero__card { justify-self: center !important; margin-inline: auto !important; } }

/* 2026-10-03: phone hero at the Batman ratios (title height 0.30 of the width, product 0.43 of the card height). */
@media (max-width: 767px) { html body main[data-world="obstacle-course-50ft"] .sb6-hero__title-img { width: 60vw !important; } }

/* ==== Mobile round M1 (Sabrina, 2026-10-03). Phones only. ====
   Hero: ONE tall card drawn as a 9-slice (card-tall-r6, 1000x1250; the top 30% with the jellyfish and the
   bottom plaque are never stretched), the Welcome lettering high on the card, a short line under the features,
   everything centred on the light face (x 51.8%); the plaque at the bottom of the card is Check Availability.
   Description and text popups: the calm yellow card (card-calm-r6, 1600x686) as a 9-slice that grows with the text.
   Dimensions: the blur card at its natural ratio, the diagram cut out (no blue multiply), no plaque under it. */
@media (max-width: 767px) {
  html body main[data-world="obstacle-course-50ft"] .sb6-hero__card { width: 92vw !important; margin-top: -4vw; }
  html body main[data-world="obstacle-course-50ft"] .sb6-hero__art { display: none !important; }
  html body main[data-world="obstacle-course-50ft"] .sb6-hero__sponge {
    --cw: 92vw; display: flex !important; flex-direction: column; align-items: center; isolation: isolate; box-sizing: border-box;
    padding: calc(var(--cw) * 0.13) calc(var(--cw) * 0.15) calc(var(--cw) * 0.27) calc(var(--cw) * 0.186);
  }
  html body main[data-world="obstacle-course-50ft"] .sb6-hero__sponge::before {
    content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none; box-sizing: border-box; border-style: solid;
    border-width: calc(var(--cw) * 0.30) calc(var(--cw) * 0.13) calc(var(--cw) * 0.254) calc(var(--cw) * 0.15);
    border-image: url('../../assets/bundled/product-worlds/obstacle-course-50ft/card-tall-b.webp') 375 130 254 150 fill stretch;
  }
  html body main[data-world="obstacle-course-50ft"] .sb6-hero__face { position: relative; z-index: 1; padding: 0 !important; width: 100%; gap: 3.2cqi !important; }
  html body main[data-world="obstacle-course-50ft"] p.sb6-hero__crest { width: 100%; margin: 0 0 1cqi !important; }
  html body main[data-world="obstacle-course-50ft"] p.sb6-hero__blurb {
    display: block; margin: 0 !important; max-width: 100%; text-align: center;
    font-family: 'Chewy', var(--sb6-title) !important; font-size: 5cqi !important; line-height: 1.3 !important; letter-spacing: 0.01em; color: var(--sb6-navy-deep, #0B2A6E) !important;
  }
  html body main[data-world="obstacle-course-50ft"] .sb6-hero__actions { position: absolute !important; inset: auto 0 0 0 !important; height: calc(var(--cw) * 0.254) !important; width: auto !important; z-index: 2; margin: 0 !important; pointer-events: none; display: block !important; }
  html body main[data-world="obstacle-course-50ft"] a.sb6-cta { position: absolute !important; left: 11.1% !important; right: 10.5% !important; top: auto !important; bottom: calc(var(--cw) * 0.055) !important; height: calc(var(--cw) * 0.151) !important; width: auto !important; }

  /* Description: the yellow card around the text, with room on every side. */
  html body main[data-world="obstacle-course-50ft"] .sb6-story__text {
    position: relative; isolation: isolate; box-sizing: border-box; width: 92vw; margin: 0 auto;
    padding: 12vw 11vw 15vw 11vw !important; background: none !important; border: 0 !important; box-shadow: none !important; border-radius: 0 !important;
  }
  html body main[data-world="obstacle-course-50ft"] .sb6-story__text::before {
    content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; box-sizing: border-box; border-style: solid;
    border-width: 8.6vw 8vw 12vw 8vw;
    border-image: url('../../assets/bundled/product-worlds/obstacle-course-50ft/card-desc.webp') 150 140 210 140 fill stretch;
  }
  html body main[data-world="obstacle-course-50ft"] .sb6-story__text .bm-details__description { background: none !important; padding: 0 !important; margin: 0 !important; border: 0 !important; box-shadow: none !important; color: var(--sb6-navy-deep, #0B2A6E) !important; font-size: 16px !important; line-height: 1.5 !important; text-align: center; }

  /* Dimensions: blur card at its natural ratio, the cut-out diagram centred on its face, no plaque. */
  html body main[data-world="obstacle-course-50ft"] .sb6-hq { width: 96vw !important; height: auto !important; aspect-ratio: 1448 / 1086 !important; background: url('../../assets/bundled/product-worlds/obstacle-course-50ft/card-desc.webp') center / 100% 100% no-repeat; }
  html body main[data-world="obstacle-course-50ft"] img.sb6-hq__frame, html body main[data-world="obstacle-course-50ft"] button.sb6-plaque { display: none !important; }
  html body main[data-world="obstacle-course-50ft"] button.sb6-hq__open { left: 15.3% !important; right: 15.5% !important; top: 20.5% !important; bottom: 14.6% !important; padding: 3% !important; box-sizing: border-box; }
  html body main[data-world="obstacle-course-50ft"] button.sb6-hq__open picture { display: contents; }
  html body main[data-world="obstacle-course-50ft"] img.sb6-hq__diagram { mix-blend-mode: normal !important; width: 100%; height: 100%; object-fit: contain; }

  /* Popups: the yellow card, sized by its text, centred on the screen, no button on the card (the close X stays). */
  html body main dialog.bm-dialog.sb6-dialog { width: 92vw !important; margin: auto !important; inset: 0 !important; }
  html body main dialog.bm-dialog.sb6-dialog .bm-dialog__frame { aspect-ratio: auto !important; background: none !important; isolation: isolate; }
  html body main dialog.bm-dialog.sb6-dialog .bm-dialog__frame::before {
    content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; box-sizing: border-box; border-style: solid;
    border-width: 8.6vw 8vw 12vw 8vw;
    border-image: url('../../assets/bundled/product-worlds/obstacle-course-50ft/card-desc.webp') 150 140 210 140 fill stretch;
  }
  html body main dialog.bm-dialog.sb6-dialog .bm-dialog__safe { position: relative !important; inset: auto !important; padding: 12vw 11vw 15vw !important; gap: 3vw !important; }
  html body main dialog.bm-dialog.sb6-dialog .bm-dialog__title { font-size: 26px !important; }
  html body main dialog.bm-dialog.sb6-dialog .bm-dialog__body { font-size: 16px !important; line-height: 1.45 !important; }
  html body main dialog.bm-dialog.sb6-dialog .sb6-dialog__done { display: none !important; }
  html body main dialog.bm-dialog.sb6-dialog .bm-dialog__close { top: 5vw !important; right: 5vw !important; }
  /* The dimensions popup: the blur card at its natural ratio, the cut-out diagram on its face. */
  html body main dialog.bm-dialog.sb6-dialog#bm-dialog-dims .bm-dialog__frame { aspect-ratio: 1448 / 1086 !important; background: url('../../assets/bundled/product-worlds/obstacle-course-50ft/card-desc.webp') center / 100% 100% no-repeat !important; }
  html body main dialog.bm-dialog.sb6-dialog#bm-dialog-dims .bm-dialog__frame::before { content: none; }
  html body main dialog.bm-dialog.sb6-dialog#bm-dialog-dims .bm-dialog__safe { position: absolute !important; inset: 20.5% 15.5% 14.6% 15.3% !important; padding: 2% !important; }
  html body main dialog.bm-dialog.sb6-dialog#bm-dialog-dims .bm-dialog__head { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  html body main dialog.bm-dialog.sb6-dialog .bm-dialog__diagram { mix-blend-mode: normal !important; }
  html body main dialog.bm-dialog.sb6-dialog picture { display: contents; }
}
@media (min-width: 768px) { html body main[data-world="obstacle-course-50ft"] p.sb6-hero__blurb { display: none !important; } }
/* M1: the dimensions card grows to a square face (9-slice of the blur card; only the plain rim band at y 30-55% stretches). */
@media (max-width: 767px) {
  html body main[data-world="obstacle-course-50ft"] .sb6-hq { width: 96vw !important; height: 92vw !important; aspect-ratio: auto !important; background: none !important; isolation: isolate; }
  html body main[data-world="obstacle-course-50ft"] .sb6-hq::before {
    content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; box-sizing: border-box; border-style: solid;
    border-width: 21.8vw 14.9vw 32.5vw 14.7vw;
    border-image: url('../../assets/bundled/product-worlds/obstacle-course-50ft/card-desc.webp') 330 224 490 222 fill stretch;
  }
  html body main[data-world="obstacle-course-50ft"] button.sb6-hq__open { left: 14.7vw !important; right: 14.9vw !important; top: 14.8vw !important; bottom: 10.5vw !important; padding: 2.5vw !important; }
}
/* M1: the dimensions popup uses the same square blur card; the close X stays, the title is for screen readers. */
@media (max-width: 767px) {
  html body main dialog.bm-dialog.sb6-dialog#bm-dialog-dims .bm-dialog__frame { aspect-ratio: auto !important; height: 88vw !important; background: none !important; }
  html body main dialog.bm-dialog.sb6-dialog#bm-dialog-dims .bm-dialog__frame::before {
    content: '' !important; border-width: 20.9vw 14.3vw 31.1vw 14.1vw;
    border-image: url('../../assets/bundled/product-worlds/obstacle-course-50ft/card-desc.webp') 330 224 490 222 fill stretch;
  }
  html body main dialog.bm-dialog.sb6-dialog#bm-dialog-dims .bm-dialog__safe { inset: 14.2vw 14.3vw 10vw 14.1vw !important; padding: 2.4vw !important; }
  html body main dialog.bm-dialog.sb6-dialog#bm-dialog-dims .bm-dialog__head { position: static; width: auto; height: auto; overflow: visible; clip-path: none; }
  html body main dialog.bm-dialog.sb6-dialog#bm-dialog-dims .bm-dialog__title { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  html body main dialog.bm-dialog.sb6-dialog#bm-dialog-dims .bm-dialog__close { position: absolute !important; top: 3vw !important; right: 3vw !important; z-index: 3; }
  html body main dialog.bm-dialog.sb6-dialog#bm-dialog-dims .bm-dialog__body--dims { height: 100%; }
  html body main dialog.bm-dialog.sb6-dialog#bm-dialog-dims .bm-dialog__diagram { width: 100% !important; height: 100% !important; object-fit: contain; }
}
/* M1: popup title centred on the card; the close X sits in the top-right corner of the face (navy ring, like the text popups). */
@media (max-width: 767px) {
  html body main dialog.bm-dialog.sb6-dialog .bm-dialog__head { display: block !important; position: static !important; padding: 0 !important; margin: 0 !important; background: none !important; border: 0 !important; box-shadow: none !important; text-align: center; }
  html body main dialog.bm-dialog.sb6-dialog .bm-dialog__title { padding: 0 9vw !important; text-align: center !important; }
  html body main dialog.bm-dialog.sb6-dialog .bm-dialog__close { position: absolute !important; top: 7vw !important; right: 7vw !important; z-index: 3; color: var(--sb6-navy, #1A3E8C) !important; background: rgb(255 255 255 / 0.85) !important; border: 2px solid var(--sb6-navy, #1A3E8C) !important; }
  html body main dialog.bm-dialog.sb6-dialog#bm-dialog-dims .bm-dialog__close { top: 12vw !important; right: 12vw !important; }
}
@media (max-width: 767px) {
  html body main dialog.bm-dialog.sb6-dialog#bm-dialog-dims .bm-dialog__head { position: absolute !important; top: 0 !important; right: 0 !important; width: 0 !important; height: 0 !important; min-height: 0 !important; }
  html body main dialog.bm-dialog.sb6-dialog#bm-dialog-dims .bm-dialog__close { top: -2vw !important; right: -2vw !important; translate: none !important; }
  html body main dialog.bm-dialog.sb6-dialog#bm-dialog-dims .bm-dialog__frame::after { content: none !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 (Avengers 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: 30vw; 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; }
}

/* Desktop details: retain the supplied cards' own proportions below the former tablet breakpoint. */
@media (min-width: 768px) and (max-width: 1023px) {
  html body main[data-world="obstacle-course-50ft"] .sb6-details__stage { flex-direction: row; align-items: stretch; width: var(--span); gap: var(--gap); }
  html body main[data-world="obstacle-course-50ft"] .sb6-story { width: calc(var(--H) * 1448 / 1086); height: var(--H); }
  html body main[data-world="obstacle-course-50ft"] .sb6-hq { width: calc(var(--H) * 1122 / 1402); height: var(--H); }
}


/* ==========================================================================
   55 Foot Obstacle Course join (batch 2026-10-10). Everything above is the
   fixed Moon Bounce world CSS, copied whole (class names kept: sb6-, sbx-, ck-).
   This block swaps only the world: palette, fonts, typed title, motion skin and
   the per-asset values for the cream inflatable frames. It comes last so it wins.
   Per-asset values (full canvas, measured on the supplied PNGs, cream face):
     card-hero / card-desc  1448x1086 landscape: face x 11.9-88.0%, y 22.6-80.3%
                (central purple bump top and bottom, green side pads);
                9-slice 240 175 215 170
     card-tall / card-tall-b 1122x1402 portrait: face x 17.9-82.0%, y 21.9-80.5%
                (yellow plaque and red knob on top, purple bump below);
                9-slice 300 200 275 200; the red knob sits under the "+" button
     cta        2172x724 cream bar (kept 1500x500): calm face x 10.8-89.2%, y 32-67%
     title      trimmed 1600x444; lt-features 1400x405; lt-description 1400x339;
                lt-dimensions 1400x332; lt-concessions 1400x314; lt-related 1400x254
     hero-product trimmed 1288x984
   Painted rims (checker's own scan, middle 40% of the width, alpha > 200 on half the row):
     landscape 4.42% to 97.42% of its height; portrait 1.07% to 99.29%.
   ========================================================================== */
html body main#main[data-world="obstacle-course-50ft"] {
  --sb6-navy: #14307F; --sb6-navy-deep: #0F2466; --sb6-ink: #14285F;
  --ck-red: #D91F2B; --ck-yellow: #FFD21F; --ck-cream: #FFF8E6;
  --sb6-title: 'Lilita One', 'Chewy', 'Trebuchet MS', sans-serif;
  --bm-gold: #14307F; --bm-gold-soft: #0F2466; --bm-ivory: #14285F;
}
/* Seam glow: the warm butter-yellow light of the yellow arches, never white. */
body main#main[data-world="obstacle-course-50ft"] { background: linear-gradient(180deg, #FFF3C8 0%, #FFE9A8 50%, #FFF3C8 100%) !important; }
html body main#main[data-world="obstacle-course-50ft"] > section ::selection { background: #FFD21F; color: #16161F; }

/* ---------- Typed title (STAND-IN, attendant section): cream letters, deep blue edge and a red base, in the lettering's colours ---------- */
html body main#main[data-world="obstacle-course-50ft"] section h2.ck-typed-title {
  position: relative; z-index: 2; display: block !important; width: fit-content !important; max-width: none !important;
  margin: 0 auto clamp(18px, 2.4vw, 40px) !important; padding: 0 !important;
  font-family: var(--sb6-title) !important; font-weight: 400 !important; line-height: 1.02 !important; letter-spacing: 0.01em !important; text-transform: none !important;
  color: #FFF8E6 !important; -webkit-text-stroke: 0.11em #14307F !important; paint-order: stroke fill;
  text-shadow: 0 0.07em 0 #D91F2B, 0 0.13em 0 rgb(15 36 102 / 0.55) !important;
  background: none !important;
}
html body main#main[data-world="obstacle-course-50ft"] section h2.ck-typed-title::before,
html body main#main[data-world="obstacle-course-50ft"] section h2.ck-typed-title::after { content: none !important; }

/* ---------- Lettering widths: every section title image is ONE size (R31: at most 520px at 1440) ---------- */
html body main#main[data-world="obstacle-course-50ft"] :is(.sb6-details, .sb6-crew, .sb6-gallery, .bm-treats, .bm-related) { --lw: min(36vw, 520px); }
@media (max-width: 767px) {
  html body main#main[data-world="obstacle-course-50ft"] :is(.sb6-details, .sb6-crew, .sb6-gallery, .bm-treats, .bm-related) { --lw: 74vw; }
}
html body main#main[data-world="obstacle-course-50ft"] section h2.sb6-lettering > img.sb6-lettering__img { filter: drop-shadow(0 6px 12px rgb(15 36 102 / 0.3)); }

/* ---------- 1. Hero ---------- */
html body main#main[data-world="obstacle-course-50ft"] .sb6-hero__title-img { filter: drop-shadow(0 8px 16px rgb(15 36 102 / 0.35)); }
@media (min-width: 1200px) {
  html body main#main[data-world="obstacle-course-50ft"] .sb6-hero__title-img { width: 58vw; }
  html body main#main[data-world="obstacle-course-50ft"] .sb6-hero__product { width: 47.5vw !important; }
}
/* PC: ONE card, the cream landscape frame as a 9-slice at its own scale; the cream centre fills the face. */
@media (min-width: 768px) {
  html body main#main[data-world="obstacle-course-50ft"] .sb6-hero__sponge {
    height: auto !important; min-height: calc(var(--cw) * 0.9);
    padding: calc(var(--cw) * 0.1857) calc(var(--cw) * 0.1409) calc(var(--cw) * 0.1685) calc(var(--cw) * 0.1374) !important;
  }
  html body main#main[data-world="obstacle-course-50ft"] .sb6-hero__sponge::before {
    border-width: calc(var(--cw) * 240 / 1448) calc(var(--cw) * 175 / 1448) calc(var(--cw) * 215 / 1448) calc(var(--cw) * 170 / 1448) !important;
    background: none !important;
    border-image: url('../../assets/bundled/product-worlds/obstacle-course-50ft/card-desc.webp') 240 175 215 170 fill stretch !important;
    filter: drop-shadow(0 14px 22px rgb(15 36 102 / 0.28));
  }
  html body main#main[data-world="obstacle-course-50ft"] .sb6-hero__face { gap: 2cqi !important; }
  html body main#main[data-world="obstacle-course-50ft"] p.sb6-hero__crest { width: 56% !important; margin: 0 0 0.5cqi !important; }
  html body main#main[data-world="obstacle-course-50ft"] ul.sb6-features { font-size: clamp(15px, 5cqi, 21px) !important; flex-wrap: nowrap !important; white-space: nowrap; }
  /* the short line shows on PC too, 16px, dark ink, inside the card face */
  html body main#main[data-world="obstacle-course-50ft"] p.sb6-hero__blurb, html body main#main[data-world="obstacle-course-50ft"] p.bm-hero__blurb--phone { display: block !important; font-size: 16px !important; line-height: 1.35 !important; max-width: 36ch !important; margin: 0 !important; text-align: center; color: #16161F !important; }
  html body main#main[data-world="obstacle-course-50ft"] :is(.sb6-hero, .ob-card) .rental-rates { width: 100% !important; gap: 3.4cqi !important; }
  html body main#main[data-world="obstacle-course-50ft"] :is(.sb6-hero, .ob-card) .rental-rates legend { font-size: clamp(15px, 4.6cqi, 19px) !important; margin-bottom: 1.6cqi !important; }
  html body main#main[data-world="obstacle-course-50ft"] :is(.sb6-hero, .ob-card) .rental-rates label > span { min-height: clamp(42px, 12cqi, 52px) !important; font-size: clamp(14px, 4.4cqi, 18px) !important; }
  html body main#main[data-world="obstacle-course-50ft"] :is(.sb6-hero, .ob-card) .rental-rates__price { font-size: clamp(15px, 4.8cqi, 20px) !important; }
}
html body main#main[data-world="obstacle-course-50ft"] ul.sb6-features li + li::before { color: var(--ck-red); }

/* Bars (Check Availability and the three details buttons): the label sits on the bar's own calm cream face. */
html body main#main[data-world="obstacle-course-50ft"] .sb6-face { background: none !important; border: 0 !important; box-shadow: none !important; border-radius: 0 !important; }
html body main#main[data-world="obstacle-course-50ft"] :is(.sb6-cta__label, .sb6-pill__label).sb6-face { inset: 33% 11% 33.8% 11% !important; left: 11% !important; right: 11% !important; top: 33% !important; bottom: 33.8% !important; color: var(--sb6-navy-deep) !important; text-shadow: none !important; }
html body main#main[data-world="obstacle-course-50ft"] :is(a.sb6-cta, button.sb6-pill) { background: url('../../assets/bundled/product-worlds/obstacle-course-50ft/cta.webp') center / 100% 100% no-repeat !important; aspect-ratio: 3 / 1 !important; filter: drop-shadow(0 4px 6px rgb(15 36 102 / 0.25)); }
html body main#main[data-world="obstacle-course-50ft"] :is(a.sb6-cta, button.sb6-pill):focus-visible { outline: 3px solid var(--sb6-navy); outline-offset: 2px; border-radius: 40px; }
@media (min-width: 768px) {
  html body main#main[data-world="obstacle-course-50ft"] a.sb6-cta { width: 60cqi !important; }
  html body main#main[data-world="obstacle-course-50ft"] a.sb6-cta .sb6-cta__label { font-size: clamp(15px, 4.6cqi, 21px) !important; }
  html body main#main[data-world="obstacle-course-50ft"] .sb6-hero__actions { margin-top: 1.5cqi !important; }
}

/* Phones: title, product, then ONE tall cream card (9-slice, never squeezed sideways); the bar sits on its face. */
@media (max-width: 767px) {
  html body main#main[data-world="obstacle-course-50ft"] .sb6-hero__title-img { width: 96vw !important; }
  html body main#main[data-world="obstacle-course-50ft"] .sb6-hero__sponge {
    padding: calc(var(--cw) * 0.205) calc(var(--cw) * 0.145) calc(var(--cw) * 0.19) calc(var(--cw) * 0.145) !important;
  }
  html body main#main[data-world="obstacle-course-50ft"] .sb6-hero__sponge::before {
    border-width: calc(var(--cw) * 0.6 * 300 / 1122) calc(var(--cw) * 0.6 * 200 / 1122) calc(var(--cw) * 0.6 * 275 / 1122) calc(var(--cw) * 0.6 * 200 / 1122) !important;
    border-image: url('../../assets/bundled/product-worlds/obstacle-course-50ft/card-tall-b.webp') 300 200 275 200 fill stretch !important;
    filter: drop-shadow(0 12px 18px rgb(15 36 102 / 0.28));
  }
  html body main#main[data-world="obstacle-course-50ft"] p.sb6-hero__crest { width: 74% !important; margin: 0 0 1cqi !important; }
  html body main#main[data-world="obstacle-course-50ft"] ul.sb6-features { font-size: 15px !important; flex-wrap: wrap !important; white-space: normal !important; row-gap: 2px !important; }
  html body main#main[data-world="obstacle-course-50ft"] ul.sb6-features li.ck-feat-2 { flex-basis: 100%; width: 100%; display: block !important; text-align: center !important; }
  html body main#main[data-world="obstacle-course-50ft"] ul.sb6-features li.ck-feat-2::before { content: none !important; display: none !important; }
  html body main#main[data-world="obstacle-course-50ft"] p.sb6-hero__blurb { font-size: 15px !important; line-height: 1.35 !important; font-family: var(--sb6-title) !important; color: #16161F !important; }
  html body main#main[data-world="obstacle-course-50ft"] :is(.sb6-hero, .ob-card) .rental-rates legend { font-size: 6cqi !important; }
  html body main#main[data-world="obstacle-course-50ft"] :is(.sb6-hero, .ob-card) .rental-rates label > span { min-height: 46px !important; font-size: 14px !important; }
  html body main#main[data-world="obstacle-course-50ft"] :is(.sb6-hero, .ob-card) .rental-rates__price { font-size: 15px !important; }
  html body main#main[data-world="obstacle-course-50ft"] :is(.sb6-hero, .ob-card) .rental-rates input:checked + span::after { width: 14px !important; height: 14px !important; }
  html body main#main[data-world="obstacle-course-50ft"] :is(.sb6-hero, .ob-card) .rental-rates { width: 100% !important; grid-template-columns: 1fr 1fr !important; gap: 2.4cqi !important; }
  html body main#main[data-world="obstacle-course-50ft"] :is(.sb6-hero, .ob-card) .rental-rates label > span { padding: 0 1.6cqi !important; gap: 1.2cqi !important; white-space: nowrap; }
  html body main#main[data-world="obstacle-course-50ft"] .sb6-hero__face { gap: 2.2cqi !important; }
  html body main#main[data-world="obstacle-course-50ft"] .sb6-hero__actions { position: relative !important; inset: auto !important; height: auto !important; width: 100% !important; display: flex !important; justify-content: center; margin: 3cqi 0 0 !important; pointer-events: auto; }
  html body main#main[data-world="obstacle-course-50ft"] a.sb6-cta { position: relative !important; left: auto !important; right: auto !important; top: auto !important; bottom: auto !important; width: 70cqi !important; height: auto !important; }
  html body main#main[data-world="obstacle-course-50ft"] a.sb6-cta .sb6-cta__label { font-size: 15px !important; }
}

/* ---------- 2. Details ---------- */
html body main#main[data-world="obstacle-course-50ft"] .sb6-story__safe { left: 14% !important; right: 14% !important; top: 26% !important; bottom: 22% !important; grid-template-columns: minmax(0, 1.6fr) minmax(0, 0.8fr) !important; column-gap: 3cqi !important; }
@media (min-width: 900px) {
  html body main#main[data-world="obstacle-course-50ft"] .sb6-story__text .bm-details__description { font-size: clamp(14px, 2.3cqi, 20px) !important; line-height: 1.34 !important; }
}
html body main#main[data-world="obstacle-course-50ft"] .sb6-pill__label.sb6-face { font-size: clamp(12px, 2.05cqi, 18px) !important; }
@media (max-width: 767px) {
  /* Description: the cream landscape frame as a 9-slice around the text (only the plain rails grow). */
  html body main#main[data-world="obstacle-course-50ft"] .sb6-story__text { padding: 17vw 12vw 14vw !important; }
  html body main#main[data-world="obstacle-course-50ft"] .sb6-story__text .bm-details__description { font-size: 15px !important; line-height: 1.45 !important; overflow: visible !important; max-height: none !important; }
  html body main#main[data-world="obstacle-course-50ft"] ul.sb6-missions { width: min(100%, 250px) !important; gap: 6px !important; }
  html body main#main[data-world="obstacle-course-50ft"] .sb6-story__text::before {
    border-width: calc(92vw * 0.75 * 240 / 1448) calc(92vw * 0.75 * 175 / 1448) calc(92vw * 0.75 * 215 / 1448) calc(92vw * 0.75 * 170 / 1448) !important;
    border-image: url('../../assets/bundled/product-worlds/obstacle-course-50ft/card-desc.webp') 240 175 215 170 fill stretch !important;
  }
  html body main#main[data-world="obstacle-course-50ft"] .sb6-pill__label.sb6-face { font-size: 16px !important; translate: 0 1.6px; }
  }

/* ---------- 3. Attendant: one calm cream card, attendant left, words right ---------- */
html body main#main[data-world="obstacle-course-50ft"] img.sb6-crew__character { filter: drop-shadow(0 8px 10px rgb(15 36 102 / 0.25)); }
@media (min-width: 768px) {
  html body main#main[data-world="obstacle-course-50ft"] .sb6-crew__col { --cw: min(86vw, 1400px); margin-inline: auto !important; width: var(--cw) !important; }
  html body main#main[data-world="obstacle-course-50ft"] .sb6-crew__card { aspect-ratio: 5 / 3 !important; isolation: isolate; }
  html body main#main[data-world="obstacle-course-50ft"] .sb6-crew__art { display: none !important; }
  /* Frame scale k = card height / 1086 = 0.6 x width / 1086: corners and rail thickness at their drawn size. */
  html body main#main[data-world="obstacle-course-50ft"] .sb6-crew__card::before {
    content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; box-sizing: border-box; border-style: solid;
    border-width: calc(var(--cw) * 0.6 * 240 / 1086) calc(var(--cw) * 0.6 * 175 / 1086) calc(var(--cw) * 0.6 * 215 / 1086) calc(var(--cw) * 0.6 * 170 / 1086);
    border-image: url('../../assets/bundled/product-worlds/obstacle-course-50ft/card-desc.webp') 240 175 215 170 fill stretch;
    filter: drop-shadow(0 14px 24px rgb(15 36 102 / 0.28));
  }
  /* The face: x 9.4-90.3%, y 22.1-80.2% of the card. Attendant fills the left part of it, the words the right. */
  html body main#main[data-world="obstacle-course-50ft"] .sb6-crew__media { left: 11.5% !important; right: auto !important; top: 26% !important; bottom: 22.5% !important; width: 27% !important; display: flex; align-items: center; justify-content: center; }
  html body main#main[data-world="obstacle-course-50ft"] .sb6-crew__media img.sb6-crew__character { width: auto !important; height: 100% !important; max-width: 100%; object-fit: contain; }
  html body main#main[data-world="obstacle-course-50ft"] .sb6-crew__words { left: 41% !important; right: 11% !important; top: 26% !important; bottom: 22.5% !important; translate: none !important; gap: 1.6cqi !important; }
  html body main#main[data-world="obstacle-course-50ft"] h3.sb6-crew__heading { font-size: clamp(20px, 3.6cqi, 46px) !important; color: var(--ck-red) !important; }
  html body main#main[data-world="obstacle-course-50ft"] p.sb6-crew__text { font-size: clamp(14px, 1.9cqi, 22px) !important; max-width: 34ch; }
  html body main#main[data-world="obstacle-course-50ft"] .sb6-crew__rate .attendant__rate { font-size: clamp(16px, 2.4cqi, 28px) !important; }
  html body main#main[data-world="obstacle-course-50ft"] .sb6-crew__switch label.attendant__pick.bm-switch { font-size: clamp(14px, 1.9cqi, 22px) !important; }
  html body main#main[data-world="obstacle-course-50ft"] .sb6-crew__stepper { font-size: clamp(13px, 1.7cqi, 20px) !important; }
}
@media (min-width: 768px) and (max-width: 1023px) { html body main#main[data-world="obstacle-course-50ft"] .sb6-crew__col { --cw: 92vw; } }
/* Phones: the cream portrait frame as a 9-slice that grows with the attendant and the words. */
@media (max-width: 767px) {
  html body main#main[data-world="obstacle-course-50ft"] .sb6-crew__col { width: 92vw !important; }
  html body main#main[data-world="obstacle-course-50ft"] .sb6-crew__card {
    --cw: 92vw; aspect-ratio: auto !important; isolation: isolate; box-sizing: border-box;
    display: flex; flex-direction: column; align-items: center; gap: 3cqi;
    padding: calc(var(--cw) * 0.205) calc(var(--cw) * 0.15) calc(var(--cw) * 0.19);
  }
  html body main#main[data-world="obstacle-course-50ft"] .sb6-crew__card::before {
    content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; box-sizing: border-box; border-style: solid;
    border-width: calc(var(--cw) * 0.6 * 300 / 1122) calc(var(--cw) * 0.6 * 200 / 1122) calc(var(--cw) * 0.6 * 275 / 1122) calc(var(--cw) * 0.6 * 200 / 1122);
    border-image: url('../../assets/bundled/product-worlds/obstacle-course-50ft/card-tall-b.webp') 300 200 275 200 fill stretch;
    filter: drop-shadow(0 12px 18px rgb(15 36 102 / 0.28));
  }
  html body main#main[data-world="obstacle-course-50ft"] .sb6-crew__art { display: none !important; }
  html body main#main[data-world="obstacle-course-50ft"] .sb6-crew__media { position: relative !important; left: auto !important; top: auto !important; bottom: auto !important; translate: none !important; width: 52% !important; }
  html body main#main[data-world="obstacle-course-50ft"] .sb6-crew__words { position: relative !important; inset: auto !important; padding: 0 !important; width: 100%; gap: 2.4cqi !important; }
  html body main#main[data-world="obstacle-course-50ft"] h3.sb6-crew__heading { font-size: 24px !important; white-space: normal; color: var(--ck-red) !important; }
  html body main#main[data-world="obstacle-course-50ft"] p.sb6-crew__text { font-size: 15px !important; line-height: 1.35 !important; }
  html body main#main[data-world="obstacle-course-50ft"] .sb6-crew__rate .attendant__rate { font-size: 20px !important; }
  html body main#main[data-world="obstacle-course-50ft"] .sb6-crew__switch { position: static !important; height: auto !important; }
  html body main#main[data-world="obstacle-course-50ft"] .sb6-crew__switch label.attendant__pick.bm-switch { font-size: 15px !important; gap: 10px !important; }
  html body main#main[data-world="obstacle-course-50ft"] .sb6-crew__stepper { font-size: 15px !important; gap: 8px !important; }
  html body main#main[data-world="obstacle-course-50ft"] .sb6-crew__stepper .bm-stepper__btn { width: 44px !important; height: 44px !important; }
  html body main#main[data-world="obstacle-course-50ft"] .sb6-crew__stepper input { width: 48px !important; height: 44px !important; }
}

/* ---------- Popups: the cream landscape frame (natural) on wider screens; a 9-slice of it on phones ---------- */
html body main dialog.bm-dialog.sb6-dialog .bm-dialog__frame { background-image: url('../../assets/bundled/product-worlds/obstacle-course-50ft/card-desc.webp') !important; }
html body main dialog.bm-dialog.sb6-dialog .bm-dialog__safe { inset: 26% 15% 22% 15% !important; }
html body main dialog.bm-dialog.sb6-dialog .bm-dialog__title { color: #D91F2B !important; }
@media (min-width: 768px) {
  html body main dialog.bm-dialog.sb6-dialog .bm-dialog__title { font-size: clamp(24px, 4.4cqi, 42px) !important; }
  html body main dialog.bm-dialog.sb6-dialog .bm-dialog__body { font-size: clamp(16px, 2.2cqi, 20px) !important; line-height: 1.45 !important; }
}
html body main dialog.bm-dialog.sb6-dialog::backdrop { background: rgb(15 30 80 / 0.55) !important; }
@media (max-width: 767px) {
  html body main dialog.bm-dialog.sb6-dialog .bm-dialog__frame { background: none !important; }
  html body main dialog.bm-dialog.sb6-dialog .bm-dialog__frame::before {
    border-width: calc(92vw * 240 / 1448) calc(92vw * 175 / 1448) calc(92vw * 215 / 1448) calc(92vw * 170 / 1448) !important;
    border-image: url('../../assets/bundled/product-worlds/obstacle-course-50ft/card-desc.webp') 240 175 215 170 fill stretch !important;
  }
  html body main dialog.bm-dialog.sb6-dialog .bm-dialog__safe { inset: auto !important; padding: 21vw 13.5vw 19vw !important; }
  html body main dialog.bm-dialog.sb6-dialog .bm-dialog__close { top: 17vw !important; right: 13vw !important; }
  /* Long lists (Rules & Policies) scroll inside the card with the fade cue, so the card always fits the screen. */
  html body main dialog.bm-dialog.sb6-dialog.bm-dialog--info .bm-dialog__body { max-height: 50dvh; overflow-y: auto !important; }
}

/* ---------- Motion skin: racer balls hop up, a starting-line sweep, a title hop, a ball-and-confetti pop ---------- */
main[data-world="obstacle-course-50ft"] .bm-bubble {
  bottom: -40px; top: auto; width: var(--s); height: var(--s); border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, rgb(255 255 255 / 0.85) 0 11%, var(--c, #E3262E) 38%, var(--c, #E3262E) 100%); box-shadow: inset -3px -4px 0 rgb(15 36 102 / 0.22);
  animation: ob-rise var(--d) cubic-bezier(0.3, 0, 0.7, 1) forwards;
}
main[data-world="obstacle-course-50ft"] .bm-bubble > i { display: block; width: 100%; height: 100%; border-radius: 50%; animation: ob-hop-ball 0.8s ease-in-out infinite alternate; }
@keyframes ob-rise { to { transform: translate(var(--dx), calc(-1 * var(--h))); } }
@keyframes ob-hop-ball { from { translate: 0 0; scale: 1.06 0.92; } to { translate: 0 -14px; scale: 0.94 1.06; } }
main[data-world="obstacle-course-50ft"] .bm-bubble.is-pop { animation: ob-ball-pop 320ms cubic-bezier(0.22, 1, 0.36, 1) forwards; }
@keyframes ob-ball-pop { to { scale: 1.8; opacity: 0; } }
.bm-btn-bubble { background: radial-gradient(circle at 32% 28%, rgb(255 255 255 / 0.8) 0 12%, var(--c, #E3262E) 40%); border-radius: 50%; box-shadow: inset -2px -2px 0 rgb(15 36 102 / 0.2); }
/* Hero: a starting-line sweep of light that crosses the lawn (no sunlight ripples in this world). */
main[data-world="obstacle-course-50ft"] .bm-caustics { mix-blend-mode: soft-light !important; opacity: 0.8 !important; -webkit-mask-image: none; mask-image: none; inset: 0 !important; filter: none !important;
  background: linear-gradient(100deg, transparent 0, rgb(255 244 190 / 0.9) 50%, transparent 100%) no-repeat !important; background-size: 38% 100% !important; background-position: -40% 0; animation: ob-sweep 7s ease-in-out infinite !important; transform: none !important; }
main[data-world="obstacle-course-50ft"] .bm-caustics::before, main[data-world="obstacle-course-50ft"] .bm-caustics::after { content: none !important; display: none !important; }
@keyframes ob-sweep { 0% { background-position: -40% 0; } 70%, 100% { background-position: 150% 0; } }
/* Lettering: a quick hop instead of the water warp. */
@keyframes ob-hop { 0%, 100% { transform: translateY(0) scale(1, 1); } 30% { transform: translateY(-10px) scale(0.99, 1.03); } 55% { transform: translateY(0) scale(1.02, 0.97); } 75% { transform: translateY(-3px); } }
@media (hover: hover) {
  main[data-world="obstacle-course-50ft"] :is(.sb6-hero__title, h2:has(> .sb6-lettering__img)):hover > img { animation: ob-hop 700ms cubic-bezier(0.22, 1, 0.36, 1) 1 !important; filter: drop-shadow(0 8px 16px rgb(15 36 102 / 0.35)) !important; }
}
main[data-world="obstacle-course-50ft"] .is-sway > img { animation: ob-hop 700ms cubic-bezier(0.22, 1, 0.36, 1) 1 !important; }
/* Popup close: confetti and balls instead of droplets. */
main[data-world="obstacle-course-50ft"] .bm-burst__drop { border-radius: 50%; background: var(--c, #E3262E) !important; box-shadow: none; }
main[data-world="obstacle-course-50ft"] .bm-burst__ring { border-color: rgb(255 244 200 / 0.95); box-shadow: 0 0 30px rgb(255 210 31 / 0.8), inset 0 0 22px rgb(255 255 255 / 0.5); }
main[data-world="obstacle-course-50ft"] .bm-burst__flash { background: radial-gradient(ellipse at 50% 45%, #fff 0 45%, rgb(255 244 200 / 0.9) 75%, rgb(255 210 31 / 0.6)) !important; }
@media (prefers-reduced-motion: reduce) {
  main[data-world="obstacle-course-50ft"] :is(.sb6-hero__title, h2) > img { animation: none !important; }
  main[data-world="obstacle-course-50ft"] .bm-bubbles, main[data-world="obstacle-course-50ft"] .bm-caustics { display: none !important; }
}

/* ---------- 5. Concessions cards: calm cream cards with the frames' blue edge (the inside-course scenery is busy) ---------- */
html body main#main[data-world="obstacle-course-50ft"] .bm-treats .treat {
  border: 2px solid #14307F !important;
  background: linear-gradient(180deg, rgb(255 250 235 / 0.97), rgb(255 245 218 / 0.99) 58%) !important;
  box-shadow: 0 0 0 4px rgb(255 210 31 / 0.9), 0 14px 26px rgb(15 36 102 / 0.28) !important;
}
html body main#main[data-world="obstacle-course-50ft"] .bm-treats .treat::before { border-color: rgb(217 31 43 / 0.25) !important; }
html body main#main[data-world="obstacle-course-50ft"] .bm-treats .treat__media { background: #FFF6DE; border-color: rgb(20 48 127 / 0.35); }
html body main#main[data-world="obstacle-course-50ft"] .bm-treats .treat__name { color: #16161F !important; }
html body main#main[data-world="obstacle-course-50ft"] .bm-treats .treat__price { color: #16161F !important; }

/* ---------- 6. Related: the Discover button gets a cream face; the label sits on its centre ---------- */
html body main#main[data-world="obstacle-course-50ft"] .bm-related .btn { background: #FFF6DE !important; padding-block: 0 2px !important; }
html body main#main[data-world="obstacle-course-50ft"] .bm-treats .addon-add > :is(.addon-add__icon, .addon-add__label) { translate: 0 0 !important; }

/* Section titles: the one typed title stays on one line at every width. */
html body main#main[data-world="obstacle-course-50ft"] section h2.ck-typed-title { white-space: nowrap !important; text-wrap: nowrap; }
html body main#main[data-world="obstacle-course-50ft"] .bm-related .card__cta { padding-top: 3px !important; padding-bottom: 0 !important; display: inline-flex !important; align-items: center !important; justify-content: center !important; }
@media (min-width: 768px) { html body main#main[data-world="obstacle-course-50ft"] h2.ck-typed-title { font-size: min(5.8vw, 84px) !important; white-space: nowrap !important; } }

/* Related cards sit inside the world's themed card, the same card as the concessions. */
html body main[data-world="obstacle-course-50ft"] .bm-related .card { padding: 14px 14px 24px !important; border: 2px solid rgb(20, 48, 127) !important; background: linear-gradient(rgba(255, 250, 235, 0.97), rgba(255, 245, 218, 0.99) 58%) !important; box-shadow: rgba(255, 210, 31, 0.9) 0px 0px 0px 4px, rgba(15, 36, 102, 0.28) 0px 14px 26px 0px !important; border-radius: 0px !important; overflow: visible !important; }
html body main#main[data-world="obstacle-course-50ft"] .bm-related :is(.carousel-card__caption, .card__info) { gap: 10px !important; }
html body main#main[data-world="obstacle-course-50ft"] .bm-related :is(.carousel-card__caption, .card__info) > * { margin: 0 !important; }
html body main#main[data-world="obstacle-course-50ft"] .bm-related :is(.carousel-card__caption, .card__info) .card__name a { min-height: 0 !important; display: inline !important; }

/* ==========================================================================
   Revision 1 (Sabrina, 2026-10-10). New page order:
     1 hero: the course name lettering, then the SIDE-VIEW cut-out at full width
       (hero-product-side.webp, 1437x861) on the plain lawn (lawn-desktop-b / lawn-phone);
     2 the hero card and the description card together (two equal wide cards on PC
       sharing their top and bottom edges, stacked on phones), the three popup
       buttons in one centred row under them (stacked on phones), on the old
       details scenery; no dimensions card;
     3 carousel, 4 attendant, 5 concessions, 6 related.
   Both cards are 9-slices of the cream landscape frame (card-hero / card-desc,
   1448x1086, slice 240 175 215 170) on PC and of the cream portrait frame on
   phones, so one grid row gives them the same height.
   ========================================================================== */
/* ---------- 1. Hero: title, then the side view at full width ---------- */
html body main#main[data-world="obstacle-course-50ft"] section.sb6-hero { padding: clamp(64px, 5.6vw, 84px) 4vw clamp(24px, 2.6vw, 44px) !important; }
html body main#main[data-world="obstacle-course-50ft"] .sb6-hero__stage { display: flex; flex-direction: column; align-items: center; width: 100%; max-width: none; margin: 0; row-gap: clamp(0px, 0.8vw, 12px); }
html body main#main[data-world="obstacle-course-50ft"] h1.sb6-hero__title { margin: 0 !important; }
html body main#main[data-world="obstacle-course-50ft"] .sb6-hero__title-img { width: min(52vw, 860px); }
html body main#main[data-world="obstacle-course-50ft"] .sb6-hero__product { width: 100% !important; max-width: none; margin: 0 !important; padding: 0 0 2% !important; justify-self: auto; }
html body main#main[data-world="obstacle-course-50ft"] .sb6-hero__product .sbx-hero__img { width: 100% !important; height: auto !important; translate: none !important; --bounce-travel: 10px; filter: drop-shadow(0 10px 14px rgb(15 36 102 / 0.22)); }
@media (max-width: 767px) {
  html body main#main[data-world="obstacle-course-50ft"] section.sb6-hero { padding: 64px 16px 24px !important; }
  html body main#main[data-world="obstacle-course-50ft"] .sb6-hero__title-img { width: 92vw !important; }
  html body main#main[data-world="obstacle-course-50ft"] .sb6-hero__product .sbx-hero__img { --bounce-travel: 6px; }
}

/* ---------- 2. The cards row ---------- */
html body main#main[data-world="obstacle-course-50ft"] .sb6-details__stage {
  --ob-rw: min(92vw, 1500px); --ob-gap: clamp(20px, 2.5vw, 40px); --ob-cw: calc((var(--ob-rw) - var(--ob-gap)) / 2);
  position: relative; z-index: 2; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--ob-gap); row-gap: clamp(22px, 2.4vw, 40px);
  align-items: stretch; justify-content: center; width: var(--ob-rw); margin: 0 auto; flex: none;
}
html body main#main[data-world="obstacle-course-50ft"] .ob-card { grid-area: auto; align-self: stretch; margin: 0 !important; }
html body main#main[data-world="obstacle-course-50ft"] .sb6-hero__card { width: 100% !important; justify-self: stretch !important; display: flex; flex-direction: column; }
html body main#main[data-world="obstacle-course-50ft"] .sb6-hero__card .sb6-hero__sponge { --cw: var(--ob-cw); flex: 1 1 auto; width: 100%; height: auto !important; min-height: calc(var(--cw) * 0.86); }
/* PC: the description card, the same 9-slice of the same frame */
@media (min-width: 768px) {
  html body main#main[data-world="obstacle-course-50ft"] .sb6-story {
    --cw: var(--ob-cw); width: 100%; height: auto; aspect-ratio: auto; flex: none; display: flex; box-sizing: border-box; isolation: isolate;
    padding: calc(var(--cw) * 0.1857) calc(var(--cw) * 0.1409) calc(var(--cw) * 0.1685) calc(var(--cw) * 0.1374);
  }
  html body main#main[data-world="obstacle-course-50ft"] .sb6-story::before {
    content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none; box-sizing: border-box; border-style: solid;
    border-width: calc(var(--cw) * 240 / 1448) calc(var(--cw) * 175 / 1448) calc(var(--cw) * 215 / 1448) calc(var(--cw) * 170 / 1448);
    border-image: url('../../assets/bundled/product-worlds/obstacle-course-50ft/card-desc.webp') 240 175 215 170 fill stretch;
    filter: drop-shadow(0 14px 22px rgb(15 36 102 / 0.28));
  }
  html body main#main[data-world="obstacle-course-50ft"] .sb6-story img.sb6-story__panel { display: none !important; }
  html body main#main[data-world="obstacle-course-50ft"] .sb6-story .sb6-story__safe {
    position: relative; z-index: 1; inset: auto !important; left: auto !important; right: auto !important; top: auto !important; bottom: auto !important;
    display: flex !important; flex-direction: column; justify-content: center; align-items: center; width: 100%; flex: 1 1 auto; grid-template-columns: none !important;
  }
  html body main#main[data-world="obstacle-course-50ft"] .sb6-story .sb6-story__text { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 2.2cqi; }
}
html body main#main[data-world="obstacle-course-50ft"] h2.sb6-story__heading { margin: 0 !important; padding: 0 !important; width: 100%; display: flex; justify-content: center; font-size: 0 !important; line-height: 0 !important; background: none; -webkit-text-stroke: 0; text-shadow: none; }
html body main#main[data-world="obstacle-course-50ft"] .sb6-story__heading img.sb6-lettering__img { display: block; width: 60%; max-width: 300px; height: auto; filter: drop-shadow(0 4px 8px rgb(15 36 102 / 0.28)); }

/* The three popup buttons: one centred row under the cards on PC */
@media (min-width: 768px) {
  html body main#main[data-world="obstacle-course-50ft"] ul.sb6-missions { grid-column: 1 / -1; display: flex !important; flex-direction: row; justify-content: center; align-items: center; gap: clamp(14px, 2vw, 32px); width: 100% !important; margin: 0; padding: 0; }
  html body main#main[data-world="obstacle-course-50ft"] ul.sb6-missions li.sb6-missions__li { width: clamp(215px, 19vw, 270px); flex: none; }
}
/* 768-1023: one column, hero card first */
@media (min-width: 768px) and (max-width: 1023px) {
  html body main#main[data-world="obstacle-course-50ft"] .sb6-details__stage { --ob-cw: min(88vw, 640px); grid-template-columns: var(--ob-cw); width: 100%; }
}
/* Phones: hero card, description card, buttons, all stacked */
@media (max-width: 767px) {
  html body main#main[data-world="obstacle-course-50ft"] .sb6-details__stage { --ob-cw: 92vw; display: flex; flex-direction: column; align-items: center; gap: 22px; width: 100%; }
  html body main#main[data-world="obstacle-course-50ft"] .sb6-hero__card { width: var(--ob-cw) !important; }
  html body main#main[data-world="obstacle-course-50ft"] .sb6-hero__card .sb6-hero__sponge { min-height: 0; }
  html body main#main[data-world="obstacle-course-50ft"] .sb6-story .sb6-story__text { padding-top: 15vw !important; }
  html body main#main[data-world="obstacle-course-50ft"] .sb6-story__heading { margin-bottom: 14px !important; }
  html body main#main[data-world="obstacle-course-50ft"] .sb6-story__heading img.sb6-lettering__img { width: 58%; }
  html body main#main[data-world="obstacle-course-50ft"] ul.sb6-missions { display: grid; gap: 8px; width: min(100%, 270px) !important; margin: 0; padding: 0; }
}

/* Popup titles stay on one line on phones ("What's Included" no longer wraps). */
@media (max-width: 767px) {
  html body main dialog.bm-dialog.sb6-dialog .bm-dialog__title { font-size: 21px !important; white-space: nowrap; }
}
/* Simplify (the calm mode), PC: the two plain cards share one top and bottom edge, with the same inner space. */
@media (min-width: 768px) {
  html body main#main[data-world="obstacle-course-50ft"][data-mbm-simplify-pc]:not(#x):not(#y) .ob-card { align-self: stretch !important; }
  html body main#main[data-world="obstacle-course-50ft"][data-mbm-simplify-pc]:not(#x):not(#y) .sb6-hero__card .sb6-hero__sponge { min-height: 0 !important; }
  html body main#main[data-world="obstacle-course-50ft"][data-mbm-simplify-pc]:not(#x):not(#y) .sb6-story { padding: 32px !important; }
}

/* Orchestrator fix 2026-10-10: clear space between the course lettering and the side view on phone. */
@media (max-width: 767px) { html body main#main[data-world="obstacle-course-50ft"] .sb6-hero__product { margin-top: 18px !important; } }
/* Orchestrator fix 2026-10-10: phone description text keeps clear of the painted side rims and top plaque. */
@media (max-width: 767px) {
  html body main#main[data-world="obstacle-course-50ft"] .sb6-story .sb6-story__text { padding: 19vw 14vw 15vw !important; box-sizing: border-box; }
}

/* Sabrina 2026-10-11: the sunset photo is the hero (the course is in the photo, shown whole). */
@media (min-width: 768px) {
  html body main#main[data-world="obstacle-course-50ft"] section.sb6-hero { min-height: 0 !important; height: calc(100vw * 941 / 1672) !important; padding: 4.6vw 0 0 !important; display: block !important; overflow: hidden; }
  html body main#main[data-world="obstacle-course-50ft"] section.sb6-hero .bm-hero__scenery img { width: 100% !important; height: 100% !important; object-fit: cover !important; object-position: center bottom !important; }
  html body main#main[data-world="obstacle-course-50ft"] .sb6-hero__product { display: none !important; }
  html body main#main[data-world="obstacle-course-50ft"] .sb6-hero__stage { display: flex !important; justify-content: center; }
  html body main#main[data-world="obstacle-course-50ft"] .sb6-hero__title-img { width: 32vw !important; }
}
@media (max-width: 767px) {
  html body main#main[data-world="obstacle-course-50ft"] section.sb6-hero { min-height: 0 !important; height: calc(100vw * 1672 / 941) !important; padding: 64px 0 0 !important; display: block !important; overflow: hidden; }
  html body main#main[data-world="obstacle-course-50ft"] section.sb6-hero .bm-hero__scenery img { width: 100% !important; height: 100% !important; object-fit: cover !important; object-position: center bottom !important; }
  html body main#main[data-world="obstacle-course-50ft"] .sb6-hero__product { display: none !important; }
  html body main#main[data-world="obstacle-course-50ft"] .sb6-hero__stage { display: flex !important; justify-content: center; }
  html body main#main[data-world="obstacle-course-50ft"] .sb6-hero__title-img { width: 92vw !important; }
}

/* ==========================================================================
   Polish round (2026-10-13)
   ========================================================================== */
/* Phone: the features card and the description card hugged the left edge (0 left, 31px right); centred with equal margins. */
@media (max-width: 767px) {
  html body main#main[data-world="obstacle-course-50ft"] .sb6-details__stage > .ob-card { margin-left: auto !important; margin-right: auto !important; justify-self: center !important; align-self: center !important; }
}

/* Crew title as painted lettering (2026-10-13). It runs about 5:1, like Batman's "Enter the night":
   one line at about 140px tall on PC (the shared title rule sizes it from --st-w). */
main[data-world="obstacle-course-50ft"] section.bm-crew { --st-w: min(48.6vw, 700px); }
html body main#main[data-world="obstacle-course-50ft"] .bm-crew__title:has(> img) { font-size: 0 !important; line-height: 0 !important; text-shadow: none !important; white-space: normal !important; }
html body main#main[data-world="obstacle-course-50ft"] .bm-crew__title > img.sb6-lettering__img { display: block; width: 100% !important; max-width: none !important; height: auto !important; margin: 0 !important; }
@media (max-width: 767px) {
  html body main#main[data-world="obstacle-course-50ft"] section .bm-crew__title:has(> img):not(#a):not(#b) { width: 88vw !important; max-width: none !important; margin-left: auto !important; margin-right: auto !important; }
}

/* ==========================================================================
   Fix 2026-10-15 (Sabrina): the price panel (Features, rental pills, Check Availability) is in the hero.
   PC: bottom-right of the hero, standing on the seam into section two. Phone: under the product, on the lawn.
   Section two keeps the Description card (and the three buttons).
   ========================================================================== */
@media (min-width: 768px) {
  html body main#main[data-world="obstacle-course-50ft"] section.sb6-hero { overflow: visible !important; z-index: 3; }
  html body main#main[data-world="obstacle-course-50ft"] section.sb6-hero > .sb6-hero__card { --ob-cw: 32vw; position: absolute; right: 3vw; bottom: -16vw; width: var(--ob-cw) !important; z-index: 4; margin: 0 !important; }
  html body main#main[data-world="obstacle-course-50ft"] .sb6-details__stage { --ob-cw: min(56vw, 860px); display: flex; flex-direction: column; align-items: flex-start; width: var(--ob-cw); margin: 0 0 0 4vw; }
  html body main#main[data-world="obstacle-course-50ft"] .sb6-details__stage > .sb6-story { width: 100%; }
  html body main#main[data-world="obstacle-course-50ft"] .sb6-details__stage > ul.sb6-missions { align-self: flex-start; width: 92vw !important; margin-left: 0; }
}
@media (min-width: 768px) and (max-width: 1099px) {
  html body main#main[data-world="obstacle-course-50ft"] section.sb6-hero > .sb6-hero__card { --ob-cw: 46vw; bottom: -24vw; }
  html body main#main[data-world="obstacle-course-50ft"] .sb6-details__stage { --ob-cw: min(86vw, 760px); margin: 0 auto; align-items: center; padding-top: 24vw; }
  html body main#main[data-world="obstacle-course-50ft"] .sb6-details__stage > ul.sb6-missions { margin-left: 0; width: 100% !important; }
}
@media (max-width: 767px) {
  html body main#main[data-world="obstacle-course-50ft"] section.sb6-hero { overflow: visible !important; z-index: 3; }
  html body main#main[data-world="obstacle-course-50ft"] section.sb6-hero > .sb6-hero__card { --ob-cw: 92vw; position: absolute; left: 4vw; top: calc(100% - 200px); width: var(--ob-cw) !important; z-index: 4; margin: 0 !important; }
  html body main#main[data-world="obstacle-course-50ft"] section.sb6-details { padding-top: calc(92vw * 1.2 - 200px + 30px) !important; }
}

/* Hero fits one screen (Sabrina, 2026-10-15/16). PC (1100px and up): the hero is never taller than the screen and the course
   photo is never cropped at the sides; the price panel stands inside the hero at the bottom right (Check Availability always
   on screen), as tall as the course is in the photo; the course lettering is sized from the hero height too. Hero sizing only. */
@media (min-width: 1100px) {
  html body main#main[data-world="obstacle-course-50ft"] section.sb6-hero { box-sizing: border-box !important; height: min(100svh, calc(100vw * 941 / 1672)) !important; padding-top: 78px !important; }
  html body main#main[data-world="obstacle-course-50ft"] .sb6-hero__title-img { width: min(32vw, calc((min(100svh, calc(100vw * 941 / 1672)) - 78px) * 0.5)) !important; }
  html body main#main[data-world="obstacle-course-50ft"] section.sb6-hero > .sb6-hero__card { --ob-cw: min(calc(100vw * 941 / 1672 * 0.442 / 0.96), calc((min(100svh, calc(100vw * 941 / 1672)) - 90px) / 0.96)); bottom: 12px; top: auto; }
}
