/* ==========================================================================
   Princess Castle world (v1.10.42 batch), copied from the Batman template. Loaded on /rentals/disney-princess-combo/
   only, after every shared layer. Every rule is scoped to .bm-* or
   [data-world="princesscastle"].

   Section 2: description and dimensions. Supplied art only: scenery 26
   (desktop) / 2 (mobile), ornament 40 across both seams, frame 39 for the
   story panel and the Mission popups, frame 32 for the Check your HQ card
   (and all popups on phones), frame 27 for the dimensions popup, CTA shell 15
   for the Mission plaques, lettering 17, 22, 33, 34, 35 and diagram 7.

   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 full-resolution alpha/luminance:
     39: inner gold line x 9.9-90.1%, y 20.7-76.6%
     32: inner rim x 13.9-86.0%, y 15.0-84.0%
     27: inner line x 12.0-87.5%, y 21.7-78.1%
     15: navy plaque x 8.4-91.6%, y 28.7-69.3%
   ========================================================================== */

@font-face {
  font-family: 'Yeseva One';
  src: url('../fonts/princesscastle/yeseva-one.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Lora';
  src: url('../fonts/princesscastle/lora-variable.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

main[data-world="princesscastle"],
[data-world="princesscastle"] {
  --orn-w: min(100vw, calc(32vw + 280px), 900px);
  --orn-h: calc(var(--orn-w) / 3.777);
  /* Colours taken from the art: antique gold trim, moonlit ivory, painted navy. */
  --bm-gold: #B42363;
  --bm-gold-soft: #D4769A;
  --bm-ivory: #4A1640;
  --bm-ivory-dim: #7B4C70;
  --bm-navy: #FFF6F0;
  --bm-veil: rgb(74 22 64 / 0.55);
  --bm-ease: cubic-bezier(0.22, 1, 0.36, 1); /* the site's --ease-enter */
  --bm-serif: 'Yeseva One', 'Didot', 'Bodoni 72', Georgia, serif;
  --bm-sans: 'Lora', 'Iowan Old Style', Georgia, serif;
}
/* Type, ink and alignment: the Batman sections only. The shared footer
   (.closing) sits inside <main> and keeps its site-wide styling. */
main[data-world="princesscastle"] > section,
section[data-world="princesscastle"] {
  --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 Cinzel (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="princesscastle"] > section ::selection { background: var(--bm-gold); color: var(--bm-navy); }

/* ---------- Section and scenery ------------------------------------------ */
.bm-details {
  /* Ornament 40, trimmed to its visible alpha (1920x508, ratio 3.777):
     about 103px tall at 390, 196px at 1440, 237px at 1920. It stays in the
     middle of the seam, clear of the fixed chrome columns on desktop. */
  --orn-w: min(100vw, calc(32vw + 280px), 900px);
  --orn-h: calc(var(--orn-w) / 3.777);
  position: relative;
  z-index: 1;                          /* the top ornament rises over the hero's lower edge */
  isolation: isolate;
  padding: calc(var(--orn-h) * 0.6 + 40px) 0 calc(var(--orn-h) * 0.6 + 40px);
  background: none;
}
.bm-details__scenery,
.bm-details__scenery img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.bm-details__scenery {
  z-index: -2;
  overflow: hidden;
  /* Feathered top and bottom: the scenery dissolves into its neighbours
     instead of ending on a straight line; the ornament sits on the seam. */
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 110px, #000 calc(100% - 110px), transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 110px, #000 calc(100% - 110px), transparent 100%);
}
.bm-details__scenery img { object-fit: cover; object-position: 50% 60%; }

/* Ornament 40 sits centred on each seam at its natural ratio. At most 40%
   of its height reaches into the neighbouring section. */
.bm-ornament {
  position: absolute;
  left: 50%;
  width: var(--orn-w);
  height: auto;
  pointer-events: none;
}
.bm-ornament--top { top: 0; z-index: 3; transform: translate(-50%, -40%); }
.bm-ornament--bottom { bottom: 0; z-index: 3; transform: translate(-50%, 40%); }

/* ---------- Stage ---------------------------------------------------------- */
.bm-details__stage {
  position: relative;
  width: min(100% - 64px, 1000px);
  margin-inline: auto;
  display: grid;
  justify-items: center;
  gap: 40px;
}

/* ---------- Story panel (frame 39) ---------------------------------------- */
.bm-panel {
  position: relative;
  width: 100%;
  aspect-ratio: 1448 / 1086;
  container-type: inline-size;
}
.bm-panel__frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
/* Inside the frame's inner gold line (x 9.9-90.1%, y 20.7-76.6%) with a
   clear margin. Story on the left, the three plaques in the right half. */
.bm-panel__safe {
  position: absolute;
  inset: 16.6cqi 11.2cqi 18.2cqi;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 40cqi;
  column-gap: 2.2cqi;
  align-items: center;
}
.bm-panel__story {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-height: 100%;
  min-height: 0;
}
.bm-lettering { margin: 0; line-height: 0; }
.bm-lettering__img { display: block; width: 100%; height: auto; }
/* Lettering 17 is 1120x373 with clear canvas above (13%) and below (5%) the
   words; negative margins trim that air so spacing follows the visible art. */
.bm-lettering--title { width: 30cqi; margin: 0 auto; }

.bm-details__description {
  margin-top: 1.6cqi;
  min-height: 0;
  overflow-y: auto;                     /* a longer saved description scrolls inside the frame */
  scrollbar-width: thin;
  scrollbar-color: var(--bm-gold-soft) transparent;
  font-size: 1.7cqi;
  line-height: 1.48;
  color: var(--bm-ivory);
  max-width: 50ch;
  text-align: center;
}
.bm-details__description p + p { margin-top: 0.7em; }
.bm-details__lead {
  font-size: 1.08em;
  font-weight: 600;
  line-height: 1.28;
  letter-spacing: 0.02em !important;
  color: var(--bm-gold);
  text-wrap: balance;
}
.bm-details__description.is-placeholder { color: var(--bm-ivory-dim); font-style: italic; }

/* ---------- Mission plaques (CTA shell 15 + lettering) --------------------- */
.bm-missions {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}
.bm-mission {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 960 / 320;
  /* 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(255 236 242 / 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, Cinzel). */
.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(255 243 238 / 0.9) 0%, rgb(255 243 238 / 0.84) 52%, rgb(255 243 238 / 0.5) 76%, rgb(255 243 238 / 0) 100%);
    pointer-events: none;
  }
  .bm-lettering--title { width: min(100%, 380px); margin: 0 auto; }
  .bm-details__description {
    margin-top: 14px;
    overflow: visible;
    font-size: 17px;
    line-height: 1.55;
    max-width: 34ch;
    text-align: center;
  }
  .bm-details__lead { font-size: 17px; text-align: center; }
  .bm-missions { gap: 4px; width: min(100%, 370px); margin-inline: auto; }
  .bm-hq { width: min(100%, 420px); }
}
@media (max-width: 899px) and (min-width: 560px) {
  .bm-details__description { max-width: 48ch; }
}

/* ---------- Popups -------------------------------------------------------- */
dialog.bm-dialog {
  --dw: min(92vw, 1000px, calc((100dvh - 32px) * 1.3333));
  position: fixed;
  inset: 0;
  margin: auto;
  width: var(--dw);
  height: auto;
  max-width: none;
  max-height: none;
  aspect-ratio: 1448 / 1086;
  padding: 0;
  border: 0;
  background: none;
  color: var(--bm-ivory);
  overflow: visible;
  font-family: var(--bm-sans);
  --bm-gold: #B42363;
  --bm-gold-soft: #D4769A;
  --bm-ivory: #4A1640;
  --bm-navy: #FFF6F0;
  --bm-serif: 'Yeseva One', 'Didot', 'Bodoni 72', Georgia, serif;
  --bm-sans: 'Lora', 'Iowan Old Style', Georgia, serif;
  --bm-ease: cubic-bezier(0.22, 1, 0.36, 1);
  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(255 243 238 / 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(255 243 238 / 0.86)); }
@starting-style {
  dialog.bm-dialog[open]::backdrop { background: rgb(255 243 238 / 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(180 35 99 / 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(74 22 64 / 0.9); }
.bm-faq__a p + p { margin-top: 0.4em; }
.bm-faq__a [data-placeholder="true"] { color: rgb(74 22 64 / 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.3333)); }
.bm-dialog--dims .bm-dialog__safe { inset: 17.4cqi 14cqi 17.6cqi; gap: 1cqi; }
.bm-dialog--dims .bm-dialog__title { width: 24cqi; margin: 0; }
/* Diagram fills the body height; the measurements stand in a column beside it. */
.bm-dialog__body--dims {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: minmax(0, 1fr);
  align-items: center;
  column-gap: 3cqi;
  overflow: hidden;
  padding: 0 1cqi;
}
.bm-dialog__diagram {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
}
.bm-dims--dialog { grid-template-columns: 1fr; gap: 2.4cqi; text-align: center; }
.bm-dims--dialog dt { font-size: max(11px, 1.35cqi); }
.bm-dims--dialog dd { font-size: max(15px, 2.2cqi); }

/* Phones: every popup uses the portrait painted frame 32. */
@media (max-width: 767px) {
  dialog.bm-dialog,
  dialog.bm-dialog--dims {
    --dw: min(94vw, 480px, calc((100dvh - 24px) * 0.8003));
    aspect-ratio: 1122 / 1402;
  }
  .bm-dialog__safe,
  .bm-dialog--dims .bm-dialog__safe { inset: 21cqi 16cqi 23cqi; gap: 3cqi; }
  .bm-dialog__head { padding-inline: 12.5cqi; gap: 1.6cqi; padding-top: 1cqi; }
  .bm-dialog__title { width: 44cqi; margin: 0; }
  .bm-dialog--dims .bm-dialog__title { width: 44cqi; margin: 0; }
  .bm-dialog__close { right: 0; top: 0; }
  .bm-dialog__body { padding-inline: 1cqi; font-size: max(15px, 4.2cqi); }
  .bm-dialog__body--dims { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto; row-gap: 3cqi; }
  .bm-dims--dialog { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3cqi 2cqi; text-align: center; }
  .bm-dims--dialog dt { font-size: max(11px, 2.9cqi); }
  .bm-dims--dialog dd { font-size: max(15px, 4.4cqi); }
}

/* ---------- Reveal (shared motion kit; JS adds .bm-motion only when allowed) -- */
.bm-motion :is(.bm-panel, .bm-hq) {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition: opacity 700ms var(--bm-ease), transform 700ms var(--bm-ease);
}
.bm-motion .bm-hq { transition-delay: 90ms; }
.bm-motion :is(.bm-panel, .bm-hq).is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  dialog.bm-dialog,
  dialog.bm-dialog:not([open]) { transform: none; }
  @starting-style {
    dialog.bm-dialog[open] { transform: none; }
  }
  .bm-mission,
  .bm-mission:active,
  .bm-hq__open:active .bm-hq__diagram-wrap,
  .bm-dialog__close:active { transform: none; }
  .bm-mission__plus { transition: none; }
  @media (hover: hover) and (pointer: fine) {
    .bm-mission:hover .bm-mission__plus,
    .bm-hq:hover .bm-hq__hint .bm-mission__plus { transform: none; }
  }
}
@media (forced-colors: active) {
  .bm-mission:focus-visible .bm-mission__ring,
  .bm-hq__open:focus-visible::after { outline-color: Highlight; }
  .bm-dialog__close { border-color: ButtonText; color: ButtonText; }
}


/* ==========================================================================
   Full page (v1.10.41): 1 hero, 3 attendant + water, 4 carousel,
   5 image + CTA, 6 concessions, 7 related. Section 2 is above.
   All text is centred (Sabrina). Live type: Cinzel (display, labels,
   prices) and Josefin Sans (body). Scenery sits behind each section and
   feathers into the navy page ground, so sections join without edges.
   ========================================================================== */

main[data-world="princesscastle"] {
  background: var(--bm-navy) !important;
  /* Shared chip and button tokens (cohesion.css) in the Batman palette. */
  --chip-edge: rgb(180 35 99 / 0.55);
  --chip-glow: #B42363;
  --focus-ink: #4A1640;
}

/* Scenery layers: cover, feathered top and bottom into the navy ground. */
main[data-world="princesscastle"] .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="princesscastle"] .bm-scenery img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* The shared sections' own painted grounds give way to the Batman scenery. */
main[data-world="princesscastle"] :is(.treats, .related)::before { content: none !important; }
main[data-world="princesscastle"] :is(.treats, .related) { background: none !important; }

/* Plaque buttons: CTA shell 15 with a live Cinzel label in its navy plaque. */
main[data-world="princesscastle"] .bm-plaque-btn {
  position: relative;
  display: grid;
  place-items: center;
  width: min(100%, 320px);
  aspect-ratio: 960 / 320;
  margin-inline: auto;
  color: #5A1248;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transition: transform 140ms var(--bm-ease);
}
main[data-world="princesscastle"] .bm-plaque-btn__shell {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  transition: filter 280ms var(--bm-ease);
}
main[data-world="princesscastle"] .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(180 35 99 / 0.35);
}
main[data-world="princesscastle"] .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="princesscastle"] .bm-plaque-btn::after {
  content: '';
  position: absolute;
  inset: 7.3% 2.1% 9.1%;
  border-radius: 999px;
  pointer-events: none;
}
main[data-world="princesscastle"] .bm-plaque-btn:focus-visible { outline: none; }
main[data-world="princesscastle"] .bm-plaque-btn:focus-visible::after { outline: 2px solid var(--bm-ivory); outline-offset: 3px; }
main[data-world="princesscastle"] .bm-plaque-btn:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) {
  main[data-world="princesscastle"] .bm-plaque-btn:hover .bm-plaque-btn__shell { filter: brightness(1.14) saturate(1.05); }
  main[data-world="princesscastle"] .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="princesscastle"] .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="princesscastle"] .bm-switch__input {
  position: absolute !important;
  opacity: 0;
  width: 1px !important;
  height: 1px !important;
  margin: 0;
}
main[data-world="princesscastle"] .bm-switch__track {
  position: relative;
  flex: none;
  width: 48px;
  height: 28px;
  border: 1.5px solid var(--bm-gold);
  border-radius: 999px;
  background: rgb(255 246 240 / 0.6);
  transition: background-color 200ms var(--bm-ease);
}
main[data-world="princesscastle"] .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="princesscastle"] .bm-switch__input:checked + .bm-switch__track { background: var(--bm-gold); }
main[data-world="princesscastle"] .bm-switch__input:checked + .bm-switch__track::after { transform: translateX(20px); background: var(--bm-navy); }
main[data-world="princesscastle"] .bm-switch__input:focus-visible + .bm-switch__track { outline: 2px solid var(--bm-ivory); outline-offset: 3px; }
main[data-world="princesscastle"] .bm-switch:active .bm-switch__track::after { width: 23px; }
main[data-world="princesscastle"] .bm-switch__input:checked + .bm-switch__track:active::after { transform: translateX(16px); }

/* ---------- 1. Hero ------------------------------------------------------- */
main[data-world="princesscastle"] .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="princesscastle"] .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="princesscastle"] .bm-hero__scenery img { object-position: 50% 40%; }
main[data-world="princesscastle"] .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="princesscastle"] .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="princesscastle"] .bm-hero__product {
  position: relative;
  width: min(100%, 820px);
  justify-self: center;
  padding-bottom: 5%;
}
main[data-world="princesscastle"] .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="princesscastle"] .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="princesscastle"] .bm-hero__copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}
main[data-world="princesscastle"] :is(.bm-hero__eyebrow, .bm-hero__title, .bm-hero__tagline) { margin: 0; line-height: 0; }
main[data-world="princesscastle"] :is(.bm-hero__eyebrow, .bm-hero__title, .bm-hero__tagline) img { display: block; width: 100%; height: auto; }
main[data-world="princesscastle"] .bm-hero__eyebrow { width: min(84%, 360px); }
main[data-world="princesscastle"] .bm-hero__title { width: min(100%, 560px); }
main[data-world="princesscastle"] .bm-hero__tagline { width: min(80%, 340px); }
main[data-world="princesscastle"] .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="princesscastle"] .bm-hero__copy .phero__line:empty { display: none; }
main[data-world="princesscastle"] .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="princesscastle"] .bm-hero__booking:has(.rental-rates) .world-price { display: none; }
main[data-world="princesscastle"] .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="princesscastle"] :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="princesscastle"] :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="princesscastle"] .wetdry__group { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
main[data-world="princesscastle"] :is(.rental-rates, .wetdry) label { position: relative; display: block; margin: 0; cursor: pointer; }
main[data-world="princesscastle"] :is(.rental-rates, .wetdry) input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  margin: 0;
  cursor: pointer;
}
main[data-world="princesscastle"] :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(180 35 99 / 0.55) !important;
  border-radius: 999px !important;
  background: rgb(255 246 240 / 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="princesscastle"] .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="princesscastle"] .wetdry__opt svg { width: 12px; height: 12px; margin-right: 6px; color: #8fc6ff; }
main[data-world="princesscastle"] :is(.rental-rates input:checked + span, .wetdry__opt input:checked + span) {
  border-color: var(--bm-gold) !important;
  background: linear-gradient(rgb(180 35 99 / 0.22), rgb(180 35 99 / 0.1)), rgb(255 246 240 / 0.86) !important;
  box-shadow: inset 0 0 0 1px var(--bm-gold), 0 0 22px rgb(180 35 99 / 0.28) !important;
}
main[data-world="princesscastle"] :is(.rental-rates input:checked + span, .wetdry__opt input:checked + span)::after {
  color: var(--bm-gold);
  margin-left: 2px !important;
}
main[data-world="princesscastle"] :is(.rental-rates, .wetdry) input:focus-visible + span { outline: 2px solid var(--bm-ivory) !important; outline-offset: 3px !important; }
main[data-world="princesscastle"] :is(.rental-rates, .wetdry) label:active > span { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) {
  main[data-world="princesscastle"] :is(.rental-rates, .wetdry) input:not(:checked):hover + span { border-color: var(--bm-gold) !important; }
}
main[data-world="princesscastle"] .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="princesscastle"] .wetdry:has(input[value="wet"]:checked) .wetdry__note { display: block; }
main[data-world="princesscastle"] .bm-hero__actions { width: 100%; margin-top: 4px; }

/* ---------- 3. Attendant + water ------------------------------------------ */
main[data-world="princesscastle"] .bm-crew {
  position: relative;
  isolation: isolate;
  padding: calc(var(--orn-h) * 0.4 + 56px) 20px 110px;
}
main[data-world="princesscastle"] .bm-crew__scenery img { object-position: 50% 55%; }
main[data-world="princesscastle"] .bm-crew__title { width: min(86%, 520px); margin: 0 auto clamp(18px, 2.6vw, 36px); }
main[data-world="princesscastle"] .bm-crew__panels {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(20px, 4vw, 64px);
}
main[data-world="princesscastle"] .bm-crew__panel {
  position: relative;
  width: min(100%, 440px);
  aspect-ratio: 1122 / 1402;
  container-type: inline-size;
}
main[data-world="princesscastle"] .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="princesscastle"] .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="princesscastle"] .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="princesscastle"] .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="princesscastle"] .bm-crew__safe > p.attendant__note { font-size: max(13px, 3cqi); color: var(--bm-ivory-dim); }
main[data-world="princesscastle"] .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="princesscastle"] .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="princesscastle"] .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="princesscastle"] .bm-stepper__row { display: inline-flex; align-items: center; gap: 6px; }
main[data-world="princesscastle"] .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="princesscastle"] .bm-stepper__btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
main[data-world="princesscastle"] .bm-stepper__btn:disabled { opacity: 0.32; cursor: default; }
main[data-world="princesscastle"] .bm-stepper__btn:not(:disabled):active { transform: scale(0.93); }
main[data-world="princesscastle"] .bm-stepper__btn:focus-visible { outline: 2px solid var(--bm-ivory); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) {
  main[data-world="princesscastle"] .bm-stepper__btn:not(:disabled):hover { background: rgb(180 35 99 / 0.14); }
}
main[data-world="princesscastle"] .bm-stepper input {
  width: 52px !important;
  min-height: 44px !important;
  padding: 0 !important;
  border: 1px solid rgb(180 35 99 / 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="princesscastle"] .bm-stepper input::-webkit-inner-spin-button,
main[data-world="princesscastle"] .bm-stepper input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
main[data-world="princesscastle"] .bm-stepper input:disabled { opacity: 0.5; }
main[data-world="princesscastle"] .bm-stepper input:focus-visible { outline: 2px solid var(--bm-ivory); outline-offset: 2px; }
main[data-world="princesscastle"] .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="princesscastle"] .bm-crew__panel--attendant:has(#attendant:not(:checked)) .bm-stepper output { opacity: 0.55; }
main[data-world="princesscastle"] .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="princesscastle"] .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="princesscastle"] .bm-gallery {
  position: relative;
  padding: clamp(32px, 5vw, 72px) clamp(16px, 4vw, 64px);
  background: radial-gradient(ellipse 70% 60% at 50% 45%, #FCE4EC 0%, rgb(255 246 240 / 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="princesscastle"] .bm-gallery__stage {
  position: relative;
  width: min(100%, 1240px);
  margin-inline: auto;
  padding: 8px;
  border: 1px solid rgb(180 35 99 / 0.7);
  box-shadow: 0 30px 60px -30px rgb(0 0 0 / 0.8);
}
main[data-world="princesscastle"] .bm-gallery__stage::before {
  content: '';
  position: absolute;
  inset: 3px;
  border: 1px solid rgb(180 35 99 / 0.22);
  pointer-events: none;
}
main[data-world="princesscastle"] .bm-gallery .mbm-car { aspect-ratio: 2 / 1; background: var(--bm-navy); }
main[data-world="princesscastle"] .bm-gallery .mbm-car__slide { transition: opacity 600ms var(--bm-ease); }
main[data-world="princesscastle"] .bm-gallery .mbm-car__arw {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 1.5px solid var(--bm-gold);
  border-radius: 50%;
  background: rgb(255 246 240 / 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="princesscastle"] .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="princesscastle"] .bm-gallery .mbm-car__prev::before { transform: scaleX(-1); }
main[data-world="princesscastle"] .bm-gallery .mbm-car__prev { left: 18px; }
main[data-world="princesscastle"] .bm-gallery .mbm-car__next { right: 18px; }
main[data-world="princesscastle"] .bm-gallery .mbm-car__arw:active { transform: translateY(-50%) scale(0.94); }
main[data-world="princesscastle"] .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="princesscastle"] .bm-gallery .mbm-car__arw:hover { background: rgb(180 35 99 / 0.2); opacity: 1; }
}
main[data-world="princesscastle"] .bm-gallery .mbm-car__dots { gap: 6px; bottom: 14px; }
main[data-world="princesscastle"] .bm-gallery .mbm-car__dot {
  position: relative;
  width: 28px;
  height: 28px;
  background: none;
  box-shadow: none;
}
main[data-world="princesscastle"] .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(74 22 64 / 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="princesscastle"] .bm-gallery .mbm-car__dot.on::before { width: 22px; background: var(--bm-gold); }
main[data-world="princesscastle"] .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="princesscastle"] .bm-cta {
  position: relative;
  isolation: isolate;
  min-height: clamp(560px, 52vw, 820px);
  display: grid;
  place-items: center;
  padding: 120px 20px;
}
main[data-world="princesscastle"] .bm-cta__scenery img { object-position: 50% 60%; }
main[data-world="princesscastle"] .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="princesscastle"] .bm-cta__inner::before {
  content: '';
  position: absolute;
  inset: -60px -90px;
  z-index: -1;
  background: radial-gradient(closest-side, rgb(255 243 238 / 0.72), rgb(255 243 238 / 0.4) 60%, rgb(255 243 238 / 0));
  pointer-events: none;
}
main[data-world="princesscastle"] .bm-cta__title { width: min(92%, 560px); margin: 0; line-height: 0; }
main[data-world="princesscastle"] .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="princesscastle"] .bm-plaque-btn--cta { width: min(100%, 360px); }
main[data-world="princesscastle"] .bm-lettering__img { display: block; width: 100%; height: auto; }

/* ---------- 6. Concessions ------------------------------------------------ */
main[data-world="princesscastle"] .bm-treats {
  position: relative;
  isolation: isolate;
  padding: 110px clamp(16px, 5vw, 72px) 110px !important;
}
main[data-world="princesscastle"] .bm-treats .treats__inner { max-width: 1120px; margin-inline: auto; align-items: center; }
main[data-world="princesscastle"] .bm-treats .treats__head { margin: 0 auto 34px; text-align: center; }
main[data-world="princesscastle"] :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(255 243 238 / 0.9);
  text-align: center;
}
main[data-world="princesscastle"] .treats__line {
  margin: 10px auto 0;
  max-width: 44ch;
  font-size: 17px;
  color: var(--bm-ivory);
  text-shadow: 0 1px 10px rgb(255 243 238 / 0.95);
}
main[data-world="princesscastle"] .bm-treats .treats__grid { justify-content: center; gap: 28px; }
main[data-world="princesscastle"] .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(180 35 99 / 0.7) !important;
  background: linear-gradient(180deg, rgb(255 246 240 / 0.55), rgb(255 246 240 / 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="princesscastle"] .bm-treats .treat::before {
  content: '';
  position: absolute;
  inset: 4px;
  border: 1px solid rgb(180 35 99 / 0.2);
  pointer-events: none;
}
main[data-world="princesscastle"] .bm-treats .treat.is-on {
  border-color: var(--bm-gold) !important;
  box-shadow: 0 0 0 1px var(--bm-gold), 0 0 30px rgb(180 35 99 / 0.25), 0 26px 50px -24px rgb(0 0 0 / 0.85) !important;
}
main[data-world="princesscastle"] .bm-treats .treat__media {
  aspect-ratio: 5 / 4;
  height: auto;
  overflow: hidden;
  border: 1px solid rgb(180 35 99 / 0.35);
  background: var(--bm-navy);
}
main[data-world="princesscastle"] .bm-treats .treat__media img { width: 100%; height: 100%; object-fit: cover; }
main[data-world="princesscastle"] .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="princesscastle"] .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="princesscastle"] .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="princesscastle"] .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="princesscastle"] .bm-treats .addon-add__icon { display: none; }
main[data-world="princesscastle"] .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="princesscastle"] .bm-treats .addon-add[aria-pressed="true"] { background: var(--bm-gold) !important; color: var(--bm-navy) !important; }
main[data-world="princesscastle"] .bm-treats .addon-add[aria-pressed="true"]::after { margin-left: 0 !important; }
main[data-world="princesscastle"] .bm-treats .addon-add:active { transform: scale(0.97); }
main[data-world="princesscastle"] .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="princesscastle"] .bm-treats .addon-add[aria-pressed="false"]:hover { background: rgb(180 35 99 / 0.16) !important; }
}
/* The shared mobile carousel controls, in gold. */
main[data-world="princesscastle"] :is(.bm-treats, .bm-related) .carousel-arrow,
main[data-world="princesscastle"] :is(.bm-treats, .bm-related) .carousel-position { color: var(--bm-gold); }

/* ---------- 7. Related ---------------------------------------------------- */
main[data-world="princesscastle"] .bm-related {
  position: relative;
  isolation: isolate;
  padding: 110px clamp(16px, 5vw, 72px) 150px !important;
}
main[data-world="princesscastle"] .bm-related .related__head { margin: 0 auto 38px; text-align: center; }
main[data-world="princesscastle"] .bm-related .related__grid { justify-content: center; gap: clamp(20px, 3vw, 48px); }
main[data-world="princesscastle"] .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="princesscastle"] .bm-related .card__media { position: relative; display: block; background: none !important; overflow: visible; aspect-ratio: 1; }
main[data-world="princesscastle"] .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="princesscastle"] .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="princesscastle"] .bm-related .card:nth-child(2) .card__cutout { animation-delay: -0.4s !important; }
main[data-world="princesscastle"] .bm-related .card:nth-child(3) .card__cutout { animation-delay: -0.8s !important; }
main[data-world="princesscastle"] .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="princesscastle"] .bm-related .card:nth-child(2) .card__stage::after { animation-delay: -0.4s; }
main[data-world="princesscastle"] .bm-related .card:nth-child(3) .card__stage::after { animation-delay: -0.8s; }
main[data-world="princesscastle"] .bm-related .card__info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding-top: 14px;
  text-align: center;
}
main[data-world="princesscastle"] .bm-related .card__name { margin: 0; font-size: 21px !important; font-weight: 600 !important; line-height: 1.2 !important; }
main[data-world="princesscastle"] .bm-related .card__name a { color: var(--bm-ivory); text-decoration: none; text-shadow: 0 1px 10px rgb(255 243 238 / 0.95); }
main[data-world="princesscastle"] .bm-related .card__price { margin: 0; color: var(--bm-gold) !important; font-size: 16px !important; font-weight: 600 !important; }
main[data-world="princesscastle"] .bm-related .card__cta {
  min-height: 46px !important;
  margin-top: 6px;
  padding: 0 26px !important;
  border: 1.5px solid var(--bm-gold) !important;
  border-radius: 999px !important;
  background: rgb(255 246 240 / 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="princesscastle"] .bm-related .card__cta:active { transform: scale(0.97) !important; }
main[data-world="princesscastle"] .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="princesscastle"] .bm-related .card__cta:hover { background: rgb(180 35 99 / 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 #B42363;
  border-radius: 999px;
  background: rgb(255 246 240 / 0.94);
  box-shadow: 0 12px 30px rgb(0 0 0 / 0.5);
  color: #4A1640;
  font-family: 'Lora', Georgia, serif;
  font-size: 15px;
  line-height: 1.35;
  text-align: center;
  opacity: 0;
  transform: translate(-50%, 16px);
  pointer-events: none;
  transition: opacity 200ms cubic-bezier(0.22, 1, 0.36, 1), transform 200ms cubic-bezier(0.22, 1, 0.36, 1);
}
.bm-toast.is-shown { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Tablet and phone --------------------------------------------- */
@media (max-width: 1099px) {
  main[data-world="princesscastle"] .bm-hero__stage { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (max-width: 767px) {
  main[data-world="princesscastle"] .bm-hero {
    display: block;
    min-height: 0;
    padding: 76px 16px calc(var(--orn-h) * 0.4 + 36px);
  }
  main[data-world="princesscastle"] .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="princesscastle"] .bm-hero__scenery img { object-position: 50% 30%; }
  main[data-world="princesscastle"] .bm-hero__bats { top: 64px; left: auto; right: 6%; width: 120px; }
  main[data-world="princesscastle"] .bm-hero__stage { display: block; }
  main[data-world="princesscastle"] .bm-hero__product { width: min(100%, 480px); margin: 30vw auto 0; padding-bottom: 6%; }
  main[data-world="princesscastle"] .bm-hero__img { --bounce-travel: 16px; }
  main[data-world="princesscastle"] .bm-hero__copy { margin-top: 10px; gap: 10px; }
  main[data-world="princesscastle"] .bm-hero__eyebrow { width: min(84%, 300px); }
  main[data-world="princesscastle"] .bm-hero__tagline { width: min(84%, 300px); }
  main[data-world="princesscastle"] :is(.rental-rates label > span, .wetdry__opt span) { padding: 8px 16px !important; }
  main[data-world="princesscastle"] .bm-hero__actions .bm-plaque-btn { width: min(100%, 330px); }
  main[data-world="princesscastle"] .bm-plaque-btn__label { font-size: 17px; }

  main[data-world="princesscastle"] .bm-crew { padding: calc(var(--orn-h) * 0.4 + 36px) 4px 80px; }
  main[data-world="princesscastle"] .bm-crew__panels { flex-direction: column; align-items: center; gap: 12px; }
  main[data-world="princesscastle"] .bm-crew__panel { width: min(100%, 420px); }
  main[data-world="princesscastle"] .bm-crew__safe { gap: 1.8cqi; }

  main[data-world="princesscastle"] .bm-gallery .mbm-car { aspect-ratio: 16 / 10; }
  main[data-world="princesscastle"] .bm-gallery .mbm-car__arw { width: 44px; height: 44px; }
  main[data-world="princesscastle"] .bm-gallery .mbm-car__prev { left: 8px; }
  main[data-world="princesscastle"] .bm-gallery .mbm-car__next { right: 8px; }

  main[data-world="princesscastle"] .bm-cta { min-height: min(170vw, 720px); padding: 100px 16px; }
  main[data-world="princesscastle"] .bm-cta__inner::before { inset: -40px -24px; }

  main[data-world="princesscastle"] .bm-treats { padding: 96px 16px 96px !important; }
  main[data-world="princesscastle"] .bm-treats .treat { flex: 0 0 100%; }
  main[data-world="princesscastle"] .bm-related { padding: 96px 16px 120px !important; }
  main[data-world="princesscastle"] .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="princesscastle"] :is(.bm-hero__img, .bm-hero__shadow, .bm-related .card__cutout, .bm-related .card__stage::after) { animation: none !important; }
  main[data-world="princesscastle"] :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="princesscastle"] .bm-switch__track { border-color: ButtonText; }
  main[data-world="princesscastle"] .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 Batman page
   keeps its navy ground so no ivory shows between sections. */
body main#main[data-world="princesscastle"] { background-color: var(--bm-navy) !important; }

/* Hero: a soft moonlit reading zone behind the copy and controls. */
main[data-world="princesscastle"] .bm-hero__copy { position: relative; }
main[data-world="princesscastle"] .bm-hero__copy::before {
  content: '';
  position: absolute;
  inset: -40px -60px;
  z-index: -1;
  background: radial-gradient(closest-side, rgb(255 243 238 / 0.78), rgb(255 243 238 / 0.5) 62%, rgb(255 243 238 / 0));
  pointer-events: none;
}
main[data-world="princesscastle"] :is(.rental-rates, .wetdry) legend { text-shadow: 0 1px 8px rgb(255 243 238 / 0.95); }
main[data-world="princesscastle"] .bm-hero__copy .phero__line { text-shadow: 0 1px 10px rgb(255 243 238 / 0.95); }

/* Plaque arrow sits inline after the label; the longer hero label goes without. */
main[data-world="princesscastle"] .bm-plaque-btn__arrow {
  position: static;
  width: 16px;
  margin-left: 10px;
  translate: none;
}
main[data-world="princesscastle"] .bm-plaque-btn { display: flex; align-items: center; justify-content: center; }
main[data-world="princesscastle"] .bm-plaque-btn--hero .bm-plaque-btn__arrow { display: none; }
main[data-world="princesscastle"] .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="princesscastle"] .bm-related .carousel-shell { width: min(100%, 1160px); margin-inline: auto; }
main[data-world="princesscastle"] .bm-related .carousel-shell .card { aspect-ratio: auto !important; overflow: visible !important; border-radius: 0 !important; }
main[data-world="princesscastle"] .bm-related .carousel-shell .card__media { height: auto; aspect-ratio: 1; }
main[data-world="princesscastle"] .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="princesscastle"] .bm-related .carousel-card__caption .card__name { font-size: 21px !important; }
main[data-world="princesscastle"] .bm-related .card__name a { display: inline-flex; align-items: center; min-height: 44px; }
main[data-world="princesscastle"] .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="princesscastle"] :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="princesscastle"] :is(.bm-treats, .bm-related) .carousel-dot { width: 44px !important; height: 44px !important; color: var(--bm-gold) !important; }
main[data-world="princesscastle"] :is(.bm-treats, .bm-related) .carousel-shell { grid-template-columns: 44px minmax(0, 1fr) 44px; }
main[data-world="princesscastle"] :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="princesscastle"] .bm-gallery .mbm-car__dots { gap: 0; bottom: 4px; }
main[data-world="princesscastle"] .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="princesscastle"] .bm-stepper { flex-wrap: wrap !important; row-gap: 2px !important; }
  main[data-world="princesscastle"] .bm-stepper output { width: 100%; }
  main[data-world="princesscastle"] .bm-crew__safe { gap: 1.2cqi; }
}
/* Desktop related row fits its track exactly (no sideways scroll). */
@media (min-width: 768px) {
  main[data-world="princesscastle"] .bm-related .related__grid { gap: 36px; overflow: visible; }
  main[data-world="princesscastle"] .bm-related .card { flex: 0 1 calc((100% - 72px) / 3); max-width: 320px; min-width: 0; }
}
main[data-world="princesscastle"] .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="princesscastle"] .bm-related .carousel-shell .card__media { aspect-ratio: auto; }
main[data-world="princesscastle"] .bm-related .card__stage { height: auto !important; padding-bottom: 14px; }
main[data-world="princesscastle"] .bm-related .card__cutout { height: auto; aspect-ratio: 1; }
main[data-world="princesscastle"] .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="princesscastle"] .bm-related .card__cta { align-self: center !important; margin-inline: auto !important; }
main[data-world="princesscastle"] :is(.bm-treats, .bm-related) .carousel-arrow {
  display: grid !important;
  place-items: center;
  border: 1.5px solid var(--bm-gold) !important;
  border-radius: 50% !important;
  background: rgb(255 246 240 / 0.7) !important;
  box-shadow: none !important;
  font-family: var(--bm-sans) !important;
  line-height: 1 !important;
}
main[data-world="princesscastle"] :is(.bm-treats, .bm-related) .carousel-arrow:disabled { opacity: 0 !important; pointer-events: none; }
main[data-world="princesscastle"] :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="princesscastle"] .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 Gotham scenery (26 desktop, 2 mobile in its sky crop). */
main[data-world="princesscastle"] .bm-gallery {
  isolation: isolate;
  padding: 120px clamp(16px, 4vw, 64px) 130px;
  background: none;
}
main[data-world="princesscastle"] .bm-gallery__scenery img { object-position: 50% 88%; }
main[data-world="princesscastle"] .bm-gallery__stage {
  border: 1px solid #D4769A;
  background: rgb(255 246 240 / 0.55);
  box-shadow: 0 0 0 1px rgb(255 246 240 / 0.6), 0 34px 70px -30px rgb(0 0 0 / 0.9), 0 0 40px rgb(180 35 99 / 0.12);
}
main[data-world="princesscastle"] .bm-gallery__stage::before { border-color: rgb(180 35 99 / 0.38); }
/* Arrows match the diagram "+": painted navy disc, antique-gold ring. */
main[data-world="princesscastle"] .bm-gallery .mbm-car__arw {
  background: var(--bm-navy);
  box-shadow: 0 2px 6px rgb(255 236 242 / 0.55);
}
/* Dots: gold marks on a translucent navy base. */
main[data-world="princesscastle"] .bm-gallery .mbm-car__dots {
  padding: 0 8px !important;
  border: 1px solid rgb(180 35 99 / 0.4) !important;
  border-radius: 999px !important;
  background: rgb(255 246 240 / 0.62) !important;
  box-shadow: 0 4px 14px rgb(0 0 0 / 0.45) !important;
}
main[data-world="princesscastle"] .bm-gallery .mbm-car__dot::before { background: rgb(180 35 99 / 0.45); box-shadow: none; }
main[data-world="princesscastle"] .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="princesscastle"] .bm-related .card__cutout { filter: none; }

@media (max-width: 767px) {
  main[data-world="princesscastle"] .bm-gallery { padding: 100px 12px 110px; }
  main[data-world="princesscastle"] .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="princesscastle"] :is(.bm-treats, .bm-related) .carousel-shell { display: block !important; position: relative; }
  main[data-world="princesscastle"] :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="princesscastle"] .bm-treats .carousel-shell .treat,
  main[data-world="princesscastle"] .bm-related .carousel-shell .card { flex: 0 0 78% !important; max-width: none; scroll-snap-align: center; }
  main[data-world="princesscastle"] :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(255 236 242 / 0.55) !important;
  }
  main[data-world="princesscastle"] :is(.bm-treats, .bm-related) .carousel-shell > .carousel-arrow:first-child { left: 2px; }
  main[data-world="princesscastle"] :is(.bm-treats, .bm-related) .carousel-shell > .carousel-arrow[data-direction="1"] { right: 2px; }
  main[data-world="princesscastle"] :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(180 35 99 / 0.4);
    border-radius: 999px;
    background: rgb(255 246 240 / 0.62);
  }
  main[data-world="princesscastle"] :is(.bm-treats, .bm-related) .carousel-dot::before { background: var(--bm-gold) !important; }
  main[data-world="princesscastle"] .bm-treats .carousel-controls--mobile { display: none !important; }
}
main[data-world="princesscastle"] :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="princesscastle"],
main[data-world="princesscastle"] .bm-details {
  --orn-h: clamp(196px, 7.4vw + 93px, 237px);
}
main[data-world="princesscastle"] .bm-ornament {
  left: 0;
  width: 100%;
  height: var(--orn-h);
  object-fit: fill;
}
main[data-world="princesscastle"] .bm-ornament--top { transform: translateY(-40%); }
main[data-world="princesscastle"] .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="princesscastle"] .bm-hero { min-height: 0; padding-top: 92px; }
main[data-world="princesscastle"] .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="princesscastle"] .bm-hero__title {
  grid-area: title;
  justify-self: center;
  width: min(62vw, 1000px);
  filter: drop-shadow(0 6px 22px rgb(255 236 242 / 0.7));
}
main[data-world="princesscastle"] .bm-hero__product { grid-area: product; align-self: center; }
main[data-world="princesscastle"] .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(180 35 99 / 0.75);
  background: linear-gradient(180deg, rgb(255 246 240 / 0.74), rgb(255 246 240 / 0.92));
  box-shadow: 0 30px 60px -28px rgb(0 0 0 / 0.85), 0 0 36px rgb(180 35 99 / 0.1);
}
main[data-world="princesscastle"] .bm-hero__card::before {
  inset: 4px;
  z-index: 0;
  border: 1px solid rgb(180 35 99 / 0.22);
  background: none;
}
main[data-world="princesscastle"] .bm-hero__card > * { position: relative; z-index: 1; }
main[data-world="princesscastle"] .bm-hero__card .bm-hero__tagline { width: min(84%, 340px); }
main[data-world="princesscastle"] .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="princesscastle"] .bm-crew__panels { width: min(88%, 1400px); margin-inline: auto; gap: 48px; }
main[data-world="princesscastle"] .bm-crew__panel { flex: 1 1 0; width: auto; max-width: none; }
main[data-world="princesscastle"] .bm-crew__heading { font-size: clamp(21px, 5.9cqi, 30px) !important; }
main[data-world="princesscastle"] .bm-crew__safe > p,
main[data-world="princesscastle"] .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="princesscastle"] .bm-crew__intro > p.attendant__note { font-size: clamp(13px, 3cqi, 15px); color: var(--bm-ivory-dim); }
main[data-world="princesscastle"] .bm-crew__intro { display: flex; flex-direction: column; align-items: center; gap: 1.6cqi; }
main[data-world="princesscastle"] .bm-crew__hire {
  display: grid;
  grid-template-columns: 36% minmax(0, 1fr);
  align-items: center;
  gap: 3cqi;
  width: 100%;
}
main[data-world="princesscastle"] .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="princesscastle"] .bm-crew__controls { display: flex; flex-direction: column; align-items: center; gap: 2cqi; text-align: center; }
main[data-world="princesscastle"] .bm-crew .attendant__rate strong { font-size: clamp(28px, 8cqi, 38px); }
main[data-world="princesscastle"] .bm-crew__controls .bm-stepper { flex-wrap: wrap !important; row-gap: 4px !important; }
main[data-world="princesscastle"] .bm-crew__controls .bm-stepper output { width: 100%; }
main[data-world="princesscastle"] .bm-water__img { width: 52%; }
main[data-world="princesscastle"] .bm-crew__panel--water .bm-crew__heading { max-width: 16ch; }
@media (min-width: 768px) and (max-width: 1099px) {
  main[data-world="princesscastle"] .bm-crew__panels { flex-direction: column; align-items: center; }
  main[data-world="princesscastle"] .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="princesscastle"] .bm-gallery { padding-inline: 2.5vw; }
main[data-world="princesscastle"] .bm-gallery__stage { width: 100%; max-width: none; }

/* 4b. Enter the night: the product cut-out stands on the wet floor; the
   words and Book Now gather beneath it over the floor. */
main[data-world="princesscastle"] .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="princesscastle"] .bm-cta__scenery img { object-position: 50% 55%; }
main[data-world="princesscastle"] .bm-cta__product { position: relative; width: min(56vw, 860px); }
main[data-world="princesscastle"] .bm-cta__img { position: relative; z-index: 1; display: block; width: 100%; height: auto; }
main[data-world="princesscastle"] .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="princesscastle"] .bm-cta__inner { margin-top: 6px; gap: 12px; }
main[data-world="princesscastle"] .bm-cta__title { width: min(88%, 500px); }

@media (max-width: 767px) {
  main[data-world="princesscastle"],
  main[data-world="princesscastle"] .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="princesscastle"] .bm-hero__stage { display: grid; grid-template-columns: 1fr; grid-template-areas: "product" "title" "card"; row-gap: 10px; }
  main[data-world="princesscastle"] .bm-hero__title { width: calc(100vw - 20px); }
  main[data-world="princesscastle"] .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="princesscastle"] .bm-crew { padding-inline: 12px; }
  main[data-world="princesscastle"] .bm-crew__panels { width: 100%; }
  main[data-world="princesscastle"] .bm-crew__panel {
    width: 100%;
    aspect-ratio: auto;
    border: 1px solid rgb(180 35 99 / 0.75);
    background: linear-gradient(180deg, rgb(255 246 240 / 0.76), rgb(255 246 240 / 0.93));
    box-shadow: 0 24px 50px -24px rgb(0 0 0 / 0.85);
  }
  main[data-world="princesscastle"] .bm-crew__panel::before {
    content: '';
    position: absolute;
    inset: 4px;
    border: 1px solid rgb(180 35 99 / 0.22);
    pointer-events: none;
  }
  main[data-world="princesscastle"] .bm-crew__frame { display: none; }
  main[data-world="princesscastle"] .bm-crew__safe { position: relative; inset: auto; padding: 30px 18px 32px; gap: 16px; }
  main[data-world="princesscastle"] .bm-crew__hire { grid-template-columns: 1fr; justify-items: center; gap: 14px; }
  main[data-world="princesscastle"] .bm-crew__character { width: 132px; max-height: none; }
  main[data-world="princesscastle"] .bm-water__img { width: 48%; }

  main[data-world="princesscastle"] .bm-gallery { padding-inline: 12px; }

  main[data-world="princesscastle"] .bm-cta { min-height: 0; padding: 96px 12px 88px; }
  main[data-world="princesscastle"] .bm-cta__product { width: 94vw; }
  main[data-world="princesscastle"] .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="princesscastle"] .bm-crew__panel--water .bm-crew__safe { gap: 2.2cqi; }
main[data-world="princesscastle"] .bm-crew__panel--water .bm-crew__heading { max-width: none; font-size: clamp(20px, 4.6cqi, 26px) !important; }
main[data-world="princesscastle"] .bm-crew__panel--water .bm-water__img {
  width: 65%;
  height: auto;
  margin-block: 0;
  object-fit: contain;
}
@media (max-width: 767px) {
  main[data-world="princesscastle"] .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="princesscastle"] .bm-crew__controls .bm-switch__text { white-space: nowrap; font-size: clamp(14px, 3.1cqi, 16px); }
main[data-world="princesscastle"] .bm-crew__controls .bm-switch { gap: 10px; }
@media (max-width: 767px) {
  main[data-world="princesscastle"] .bm-cta { padding-top: 190px; }
}

/* ---------- Sabrina edits (v1.10.41, round 4) ---------------------------- */

/* 4. Hero card: the main features, Cinzel small caps in antique gold,
   separated by small gold diamonds. Two clean lines on phones. */
main[data-world="princesscastle"] .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="princesscastle"] .bm-hero__features li { display: inline-flex; align-items: center; white-space: nowrap; }
main[data-world="princesscastle"] .bm-hero__features li + li::before {
  content: '';
  width: 5px;
  height: 5px;
  margin: 0 12px;
  background: var(--bm-gold);
  transform: rotate(45deg);
}
main[data-world="princesscastle"] .bm-hero__features .bm-hero__features-break { display: none; }
main[data-world="princesscastle"] .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 Cinzel labels. */
main[data-world="princesscastle"] .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="princesscastle"] .bm-panel__safe { grid-template-columns: minmax(0, 1fr) 32cqi; column-gap: 3cqi; }
main[data-world="princesscastle"] .bm-panel__story { justify-content: center; }
main[data-world="princesscastle"] .bm-details__description { margin-top: 0; font-size: 1.9cqi; line-height: 1.55; max-width: 52ch; }
main[data-world="princesscastle"] .bm-missions { gap: 0.6cqi; align-content: center; }
main[data-world="princesscastle"] .bm-mission__face { gap: 4%; inset: 30% 10% 30.5%; }
main[data-world="princesscastle"] .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: #7A1E52;
  text-align: center;
  white-space: nowrap;
  text-shadow: 0 1px 8px rgb(180 35 99 / 0.3);
}
main[data-world="princesscastle"] .bm-mission__plus { height: 42%; }
@media (hover: hover) and (pointer: fine) {
  main[data-world="princesscastle"] .bm-mission:hover .bm-mission__label { color: #9B2C66; }
}

/* 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="princesscastle"] .bm-crew__safe { inset: 19.5cqi 16.5cqi 21cqi; justify-content: flex-start; gap: 1.5cqi; }
main[data-world="princesscastle"] .bm-crew__media {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 100%;
  height: 47cqi;
  flex: none;
}
main[data-world="princesscastle"] .bm-crew__media img {
  display: block;
  width: auto;
  height: 100%;
  max-width: 100%;
  max-height: none;
  object-fit: contain;
}
main[data-world="princesscastle"] .bm-crew__panel--water .bm-water__img { width: auto; height: 100%; }
main[data-world="princesscastle"] .bm-crew__heading { margin-top: 1cqi; font-size: clamp(20px, 4.9cqi, 28px) !important; }
main[data-world="princesscastle"] .bm-crew__panel--water .bm-crew__heading { font-size: clamp(20px, 4.9cqi, 28px) !important; }
main[data-world="princesscastle"] .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="princesscastle"] .bm-crew__controls { display: flex; flex-direction: column; align-items: center; gap: 1.2cqi; }
main[data-world="princesscastle"] .bm-crew__row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px 16px; }
main[data-world="princesscastle"] .bm-crew__row .attendant__rate { margin: 0; }
main[data-world="princesscastle"] .bm-crew__controls .bm-stepper { flex-wrap: nowrap !important; }
main[data-world="princesscastle"] .bm-crew__controls .bm-stepper output { width: auto; }

@media (max-width: 767px) {
  main[data-world="princesscastle"] .bm-hero__features { font-size: 15px; }
  main[data-world="princesscastle"] .bm-hero__features .bm-hero__features-break { display: block; flex-basis: 100%; height: 0; }
  main[data-world="princesscastle"] .bm-details__heading { width: min(100%, 380px); margin-bottom: 18px; }
  main[data-world="princesscastle"] .bm-panel__safe { display: flex; }
  main[data-world="princesscastle"] .bm-details__description { font-size: 17px; }
  main[data-world="princesscastle"] .bm-missions { width: min(100%, 330px); gap: 2px; }
  main[data-world="princesscastle"] .bm-mission__label { font-size: 15px; }
  main[data-world="princesscastle"] .bm-crew__safe { inset: auto; gap: 12px; }
  main[data-world="princesscastle"] .bm-crew__media { height: 300px; }
  main[data-world="princesscastle"] .bm-crew__panel--water .bm-crew__media img,
  main[data-world="princesscastle"] .bm-crew__media img { width: auto; height: 100%; max-width: 100%; }
  main[data-world="princesscastle"] .bm-crew__controls .bm-stepper { flex-wrap: wrap !important; }
  main[data-world="princesscastle"] .bm-crew__controls .bm-stepper output { width: 100%; }
}

/* 5. Hero card frame: asset 41 as a sliced overlay around the card. The
   overlay is absolutely positioned, so the card's box, position and
   content do not change. Its rails sit on the card's own padding (never
   over content) and reach outward; transparent parts show the scenery.
   Source 1448x1086: corners 300x300, crest 220 wide (x 614-834), rails
   stretch between them; rail inner edges x 130 / y 205 / y 895. */
main[data-world="princesscastle"] .bm-hero__card { border-color: transparent; }
main[data-world="princesscastle"] .bm-hero__card::before { content: none; }
main[data-world="princesscastle"] .bm-hero__title { position: relative; z-index: 3; }
main[data-world="princesscastle"] .bm-hero__card > .bm-hero__frame {
  --s: 0.22;
  --it: 24px;
  --is: 26px;
  --ib: 26px;
  position: absolute;
  z-index: 2;
  top: calc(var(--it) - 205px * var(--s));
  left: calc(var(--is) - 130px * var(--s));
  right: calc(var(--is) - 130px * var(--s));
  bottom: calc(var(--ib) - 191px * var(--s));
  display: grid;
  grid-template-columns: calc(300px * var(--s)) minmax(0, 1fr) calc(220px * var(--s)) minmax(0, 1fr) calc(300px * var(--s));
  grid-template-rows: calc(300px * var(--s)) minmax(0, 1fr) calc(300px * var(--s));
  grid-template-areas:
    "tl t1 tc t2 tr"
    "l  .  .  .  r"
    "bl b1 bc b2 br";
  pointer-events: none;
}
main[data-world="princesscastle"] .bm-hero__frame > span {
  display: block;
  background-image: url('../../assets/bundled/product-worlds/batman-combo/frame-card.webp');
  background-repeat: no-repeat;
}
main[data-world="princesscastle"] .bm-hero__frame-tl { grid-area: tl; background-size: 482.667% 362%; background-position: 0% 0%; }
main[data-world="princesscastle"] .bm-hero__frame-t1 { grid-area: t1; background-size: 461.146% 362%; background-position: 26.455% 0%; }
main[data-world="princesscastle"] .bm-hero__frame-tc { grid-area: tc; background-size: 658.182% 362%; background-position: 50% 0%; }
main[data-world="princesscastle"] .bm-hero__frame-t2 { grid-area: t2; background-size: 461.146% 362%; background-position: 73.545% 0%; }
main[data-world="princesscastle"] .bm-hero__frame-tr { grid-area: tr; background-size: 482.667% 362%; background-position: 100% 0%; }
main[data-world="princesscastle"] .bm-hero__frame-l { grid-area: l; background-size: 482.667% 223.457%; background-position: 0% 50%; }
main[data-world="princesscastle"] .bm-hero__frame-r { grid-area: r; background-size: 482.667% 223.457%; background-position: 100% 50%; }
main[data-world="princesscastle"] .bm-hero__frame-bl { grid-area: bl; background-size: 482.667% 362%; background-position: 0% 100%; }
main[data-world="princesscastle"] .bm-hero__frame-b1 { grid-area: b1; background-size: 461.146% 362%; background-position: 26.455% 100%; }
main[data-world="princesscastle"] .bm-hero__frame-bc { grid-area: bc; background-size: 658.182% 362%; background-position: 50% 100%; }
main[data-world="princesscastle"] .bm-hero__frame-b2 { grid-area: b2; background-size: 461.146% 362%; background-position: 73.545% 100%; }
main[data-world="princesscastle"] .bm-hero__frame-br { grid-area: br; background-size: 482.667% 362%; background-position: 100% 100%; }
@media (max-width: 767px) {
  main[data-world="princesscastle"] .bm-hero__card > .bm-hero__frame { --s: 0.17; --it: 20px; --is: 16px; --ib: 22px; }
}
@media (max-width: 767px) {
  main[data-world="princesscastle"] .bm-hero__features .bm-hero__features-break + li::before { display: none; }
  main[data-world="princesscastle"] .bm-missions { width: min(100%, 300px); }
}

/* ---------- Round 5 (Sabrina, 2026-09-28) -------------------------------- */
/* Details heading: lettering 28 "Enter the night", where lettering 17 was. */
main[data-world="princesscastle"] .bm-details__heading { width: min(84%, 640px); }

/* Concessions: "Fuel for the Hero Crew.", larger and easier to read; one
   line on desktop, at most two on phones. Everything on the section's
   centre line. */
main[data-world="princesscastle"] .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(255 243 238 / 0.9), 0 4px 22px rgb(255 243 238 / 0.85);
  white-space: nowrap;
}
main[data-world="princesscastle"] .bm-treats .treats__inner { width: 100%; max-width: 1120px; margin-inline: auto; }
main[data-world="princesscastle"] .bm-treats .treats__head { width: 100%; margin: 0 auto 34px; text-align: center; }
main[data-world="princesscastle"] .bm-treats .treats__grid { margin-inline: auto; }
@media (max-width: 767px) {
  main[data-world="princesscastle"] .bm-treats #treats-title { font-size: 36px !important; white-space: normal; text-wrap: balance; }
  main[data-world="princesscastle"] .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="princesscastle"] :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="princesscastle"] .bm-treats .carousel-shell .treat,
  main[data-world="princesscastle"] .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="princesscastle"] .bm-hero__card .bm-hero__tagline { aspect-ratio: 920 / 281; display: flex; align-items: center; justify-content: center; }
main[data-world="princesscastle"] .bm-hero__card .bm-hero__tagline img { width: 100%; height: auto; }

/* ---------- Round 6 (Sabrina, 2026-09-28) -------------------------------- */
/* 1. Hero card labels: clear Josefin Sans labels, distinct from the Cinzel. */
main[data-world="princesscastle"] .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="princesscastle"] .bm-hero__water { flex-direction: column; align-items: center; gap: 4px; }
main[data-world="princesscastle"] .bm-hero__water .bm-switch { margin-inline: auto; }
main[data-world="princesscastle"] .bm-hero__water .wetdry__note { display: none; }
main[data-world="princesscastle"] .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="princesscastle"] .bm-hq__safe {
  inset: 19.5cqi 15cqi 20.5cqi;
  justify-content: space-between;
  gap: 1cqi;
}
main[data-world="princesscastle"] .bm-lettering--hq { width: 54cqi; margin: 0; }
main[data-world="princesscastle"] .bm-hq__open { width: 122.5%; margin: 0 auto 0 -8.94%; }
main[data-world="princesscastle"] .bm-dims--card { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 1.2cqi; }
main[data-world="princesscastle"] .bm-dims--card dt { font-size: max(10px, 2.1cqi); letter-spacing: 0.12em !important; }
main[data-world="princesscastle"] .bm-dims--card dd { font-size: max(13px, 3.3cqi); }
@container (max-width: 470px) {
  main[data-world="princesscastle"] .bm-dims--card { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 0; }
  main[data-world="princesscastle"] .bm-lettering--hq { width: 54cqi; margin: 0; }
  main[data-world="princesscastle"] .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="princesscastle"] .bm-crew__media { height: 50cqi; }
main[data-world="princesscastle"] .bm-crew__panel--water .bm-crew__text { margin-top: -0.4cqi; }
@media (max-width: 767px) {
  main[data-world="princesscastle"] .bm-hero__card :is(.rental-rates, .wetdry) legend { font-size: 15px; }
  main[data-world="princesscastle"] .bm-crew__media { height: 330px; }
}

/* 5. Related: readable names and prices over the lit floor, same style. */
main[data-world="princesscastle"] .bm-related .carousel-card__caption { position: relative; isolation: isolate; }
main[data-world="princesscastle"] .bm-related .carousel-card__caption::before {
  content: '';
  position: absolute;
  inset: -18px -34px -10px;
  z-index: -1;
  background: radial-gradient(closest-side, rgb(255 243 238 / 0.86), rgb(255 243 238 / 0.62) 55%, rgb(255 243 238 / 0));
  pointer-events: none;
}
main[data-world="princesscastle"] .bm-related .carousel-card__caption .card__name { font-size: 22px !important; font-weight: 700 !important; }
main[data-world="princesscastle"] .bm-related .card__name a { text-shadow: 0 1px 2px rgb(255 236 242 / 0.9), 0 2px 12px rgb(255 236 242 / 0.8); }
main[data-world="princesscastle"] .bm-related .carousel-shell .carousel-card__caption .card__price {
  font-size: 18px !important;
  font-weight: 600 !important;
  text-shadow: 0 1px 2px rgb(255 236 242 / 0.9), 0 2px 10px rgb(255 236 242 / 0.8);
}
@media (max-width: 767px) {
  main[data-world="princesscastle"] .bm-related .carousel-card__caption .card__name { font-size: 20px !important; }
}
main[data-world="princesscastle"] .bm-crew__safe { gap: 1.1cqi; }
@media (max-width: 767px) { main[data-world="princesscastle"] .bm-crew__safe { gap: 12px; } }
main[data-world="princesscastle"] .bm-related .carousel-card__caption::before {
  inset: -24px -52px -16px;
  background: radial-gradient(closest-side, rgb(255 243 238 / 0.94), rgb(255 243 238 / 0.84) 50%, rgb(255 243 238 / 0.45) 78%, rgb(255 243 238 / 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="princesscastle"] .bm-hero__stage { grid-template-columns: minmax(0, 1fr); grid-template-areas: "title" "product" "card"; }
  main[data-world="princesscastle"] .bm-hero__title { justify-self: center; margin-top: 6px; }
  main[data-world="princesscastle"] .bm-hero__product { margin: 4px auto 0; }
  main[data-world="princesscastle"] .bm-hero__card { width: 100%; justify-self: center; }
  main[data-world="princesscastle"] .bm-hero__card > .bm-hero__frame { --s: 0.2; --it: 20px; --is: 12px; --ib: 22px; }
}

/* ---------- Round 7 (Sabrina, 2026-09-28) -------------------------------- */
/* Title lettering raised: less space above it on desktop and phones. The
   chrome (menu, Book Now) sits in the corners, clear of the centred title. */
main[data-world="princesscastle"] .bm-hero { padding-top: 48px; }
@media (max-width: 767px) {
  main[data-world="princesscastle"] .bm-hero { padding-top: 62px; }
  main[data-world="princesscastle"] .bm-hero__title { margin-top: 0; }
}

/* 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="princesscastle"] .bm-gallery .mbm-car__arw { position: absolute; }
main[data-world="princesscastle"] .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="princesscastle"] .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%); }

/* ==========================================================================
   Princess Castle motion skin for the shared engine (motion-engine.css / .js). Lane A migration 2026-10-12.
   Only this world's look lives here: particle opacity, the hero ambient layer and the popup-burst pieces.
   Everything sits behind the words, transform/opacity only (one blur of 8px or less on the ambient layer).
   ========================================================================== */
main[data-world="princesscastle"][data-mbe] { --mbe-o: 0.75; }
/* Particles wobble sideways while they drift (the old Pack A motion). */
main[data-world="princesscastle"][data-mbe] .mbe-p--none > i { animation: mbe-wob-princesscastle 1.6s ease-in-out infinite alternate; }
@keyframes mbe-wob-princesscastle { from { translate: -5px 0; } to { translate: 5px 0; } }



/* ==== 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; }
}
@media (max-width: 767px) {
  /* Popups: everything on the card without scrolling for the short lists (Sabrina 2026-10-03: same quality as PC). */
  html body main dialog.bm-dialog--info .bm-dialog__title .bm-lettering__img { height: 52px !important; width: auto !important; max-width: 74% !important; margin: 0 auto !important; object-fit: contain; }
  html body main dialog.bm-dialog--info .bm-dialog__head { min-height: 0 !important; }
  html body main dialog.bm-dialog--info .bm-dialog__label { margin: 2px 0 6px !important; }
  html body main dialog.bm-dialog--info .bm-dialog__body { font-size: 14px !important; line-height: 1.32 !important; }
  html body main dialog.bm-dialog--info .bm-dialog__body li { padding-top: 5px !important; padding-bottom: 5px !important; margin-top: 0 !important; margin-bottom: 0 !important; }
}
@media (max-width: 767px) {
  /* Popups: the title is centred on the card; the close X sits in the top-right corner of the text area, clear of the title. */
  html body main dialog.bm-dialog--info .bm-dialog__head { position: static !important; display: block !important; padding: 0 44px !important; text-align: center; }
  html body main dialog.bm-dialog--info .bm-dialog__title { margin-left: auto !important; margin-right: auto !important; text-align: center !important; }
  html body main dialog.bm-dialog--info .bm-dialog__close { position: absolute !important; top: -6px !important; right: -10px !important; left: auto !important; translate: none !important; margin: 0 !important; z-index: 3; }
}
@media (max-width: 767px) { html body main[data-world] button.bm-mission :is(.bm-mission__label, .bm-mission__plus) { translate: 13px 0; } }

/* Desktop details: description and diagram remain beside one another at every non-mobile width. */
@media (min-width: 768px) {
  html body main[data-world] .bm-details__stage {
    display: grid !important;
    grid-template-columns: minmax(0, 62fr) minmax(0, 35fr) !important;
    column-gap: 3% !important;
    width: min(calc(100% - 28px), 1800px) !important;
    margin-inline: auto !important;
    align-items: center !important;
    justify-items: stretch !important;
  }
  html body main[data-world] .bm-details__stage > :is(.bm-panel, .bm-hq) {
    width: 100% !important;
    min-width: 0;
    justify-self: stretch !important;
    margin-inline: 0 !important;
    margin-top: 0 !important;
  }
}
@media (min-width: 768px) and (max-width: 899px) {
  html body main[data-world] .bm-details__stage > .bm-panel { container-type: inline-size; aspect-ratio: 1448 / 1086; }
  html body main[data-world] .bm-panel__frame { display: block; }
  html body main[data-world] .bm-panel__safe { position: absolute; display: grid; }
  html body main[data-world] .bm-panel__story::before { content: none; }
}

/* ==========================================================================
   PRINCESS CASTLE WORLD (v1.10.42 batch, 2026-10-04)
   Everything above is the locked Batman template, copied with the world
   tokens swapped (navy ground -> cream, antique gold -> rose, ivory ink ->
   plum, Cinzel/Josefin -> Yeseva One/Lora). This block holds the values tied
   to the princess art's own pixels and the Scooby-Doo hero pattern (the
   two-line title lettering heads the card). Measured on the full-size art:
     card (2)   hero card, 1448x1086: 5x5 slice, cols 0/500/529/920/949/1448,
                rows 0/521/543/662/684/1086 (only the 2% plain rail runs
                stretch); face top 25%, face sides 9%, bottom crest top 78%
     cards (14) story panel + popups, trimmed to its art 1439x1010 (so the
                box is the painted edge): face x 9.7-90.2%, y 31.7-88.6%
     cards (8)  map card, crew cards, phone popups, trimmed 1056x1390: face
                x 11.7-88.3%, y 13.7% (centre) / 24.8% (under the corner
                roses) to 81.4%
     cta (2)    plaque shell, 2172x724: pink face x 12-88%, y 30-76%
   ========================================================================== */
main[data-world="princesscastle"],
[data-world="princesscastle"] {
  --pc-plum: #4A1640;
  --pc-plum-soft: #7B4C70;
  --pc-rose: #B42363;
  --pc-blush: #FCE4EC;
  --pc-cream: #FFF6F0;
  --pc-gold: #C9963B;
}
/* Section seams: a pale blush-champagne glow from the art's own light (never white). */
body main#main[data-world="princesscastle"] {
  background: linear-gradient(180deg, #FCEFEA, #F7DCE2 50%, #FCEFEA) !important;
}
main[data-world="princesscastle"] > section { color: var(--pc-plum); }
/* Yeseva One has one weight: never synthesise a faux bold. */
main[data-world="princesscastle"], dialog.bm-dialog { font-synthesis: none; }
main[data-world="princesscastle"] ::selection { background: #F7B8CF; color: var(--pc-plum); }
/* The lettering is flat magenta: a light warm edge and soft glow lift it off busy art. */
main[data-world="princesscastle"] :is(.bm-hero__title-img, .bm-hero__title-top-img, .bm-lettering__img) {
  filter: drop-shadow(0 0 1.5px #fff) drop-shadow(0 0 1.5px #fff) drop-shadow(0 0 10px rgb(255 245 248 / 0.95)) drop-shadow(0 6px 16px rgb(74 22 64 / 0.22)) !important;
}

/* ---------- 1. Hero (Scooby-Doo pattern) ---------------------------------- */
main[data-world="princesscastle"] .bm-hero {
  --cw: 580; --s: 0.4087; --pw: 740px;
  padding: 236px clamp(20px, 3vw, 48px) calc(var(--orn-h) * 0.4 + 40px);
}
main[data-world="princesscastle"] .bm-hero__scenery img { object-position: 50% 45%; }
main[data-world="princesscastle"] .bm-hero__stage {
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  grid-template-areas: "product card";
  row-gap: 0;
  align-items: center;
}
main[data-world="princesscastle"] .bm-hero__product { width: min(100%, var(--pw)); padding-bottom: 0; align-self: center; }
main[data-world="princesscastle"] .bm-hero__shadow { bottom: -3%; background: radial-gradient(closest-side, rgb(74 22 64 / 0.42), rgb(74 22 64 / 0.16) 55%, transparent); }
main[data-world="princesscastle"] .bm-hero__card {
  width: calc(var(--cw) * 1px);
  max-width: 100%;
  padding: 0 calc(var(--cw) * 0.0918px + 14px) calc(var(--cw) * 0.167px + 6px);
  gap: 12px;
  border: 0;
  background: none;
  box-shadow: none;
}
main[data-world="princesscastle"] .bm-hero__copy::before,
main[data-world="princesscastle"] .bm-hero__card::before { content: none; }
main[data-world="princesscastle"] .bm-hero__card > .bm-hero__frame {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: grid;
  grid-template-columns: calc(500px * var(--s)) minmax(0, 1fr) calc(391px * var(--s)) minmax(0, 1fr) calc(499px * var(--s));
  grid-template-rows: calc(521px * var(--s)) minmax(0, 1fr) calc(119px * var(--s)) minmax(0, 1fr) calc(402px * var(--s));
  pointer-events: none;
  filter: drop-shadow(0 22px 34px rgb(74 22 64 / 0.26));
}
main[data-world="princesscastle"] .bm-hero__frame > .pc-s {
  display: block;
  background-image: url('../../assets/bundled/product-worlds/princesscastle/frame-card.webp');
  background-repeat: no-repeat;
}
main[data-world="princesscastle"] .pc-s--r0.pc-s--c0 { grid-area: 1 / 1; background-size: 289.600% 208.445%; background-position: 0.000% 0.000%; }
main[data-world="princesscastle"] .pc-s--r0.pc-s--c1 { grid-area: 1 / 2; background-size: 4993.103% 208.445%; background-position: 35.236% 0.000%; }
main[data-world="princesscastle"] .pc-s--r0.pc-s--c2 { grid-area: 1 / 3; background-size: 370.332% 208.445%; background-position: 50.047% 0.000%; }
main[data-world="princesscastle"] .pc-s--r0.pc-s--c3 { grid-area: 1 / 4; background-size: 4993.103% 208.445%; background-position: 64.834% 0.000%; }
main[data-world="princesscastle"] .pc-s--r0.pc-s--c4 { grid-area: 1 / 5; background-size: 290.180% 208.445%; background-position: 100.000% 0.000%; }
main[data-world="princesscastle"] .pc-s--r1.pc-s--c0 { grid-area: 2 / 1; background-size: 289.600% 4936.364%; background-position: 0.000% 48.966%; }
main[data-world="princesscastle"] .pc-s--r1.pc-s--c1 { grid-area: 2 / 2; background-size: 4993.103% 4936.364%; background-position: 35.236% 48.966%; }
main[data-world="princesscastle"] .pc-s--r1.pc-s--c2 { grid-area: 2 / 3; background-size: 370.332% 4936.364%; background-position: 50.047% 48.966%; }
main[data-world="princesscastle"] .pc-s--r1.pc-s--c3 { grid-area: 2 / 4; background-size: 4993.103% 4936.364%; background-position: 64.834% 48.966%; }
main[data-world="princesscastle"] .pc-s--r1.pc-s--c4 { grid-area: 2 / 5; background-size: 290.180% 4936.364%; background-position: 100.000% 48.966%; }
main[data-world="princesscastle"] .pc-s--r2.pc-s--c0 { grid-area: 3 / 1; background-size: 289.600% 912.605%; background-position: 0.000% 56.153%; }
main[data-world="princesscastle"] .pc-s--r2.pc-s--c1 { grid-area: 3 / 2; background-size: 4993.103% 912.605%; background-position: 35.236% 56.153%; }
main[data-world="princesscastle"] .pc-s--r2.pc-s--c2 { grid-area: 3 / 3; background-size: 370.332% 912.605%; background-position: 50.047% 56.153%; }
main[data-world="princesscastle"] .pc-s--r2.pc-s--c3 { grid-area: 3 / 4; background-size: 4993.103% 912.605%; background-position: 64.834% 56.153%; }
main[data-world="princesscastle"] .pc-s--r2.pc-s--c4 { grid-area: 3 / 5; background-size: 290.180% 912.605%; background-position: 100.000% 56.153%; }
main[data-world="princesscastle"] .pc-s--r3.pc-s--c0 { grid-area: 4 / 1; background-size: 289.600% 4936.364%; background-position: 0.000% 62.218%; }
main[data-world="princesscastle"] .pc-s--r3.pc-s--c1 { grid-area: 4 / 2; background-size: 4993.103% 4936.364%; background-position: 35.236% 62.218%; }
main[data-world="princesscastle"] .pc-s--r3.pc-s--c2 { grid-area: 4 / 3; background-size: 370.332% 4936.364%; background-position: 50.047% 62.218%; }
main[data-world="princesscastle"] .pc-s--r3.pc-s--c3 { grid-area: 4 / 4; background-size: 4993.103% 4936.364%; background-position: 64.834% 62.218%; }
main[data-world="princesscastle"] .pc-s--r3.pc-s--c4 { grid-area: 4 / 5; background-size: 290.180% 4936.364%; background-position: 100.000% 62.218%; }
main[data-world="princesscastle"] .pc-s--r4.pc-s--c0 { grid-area: 5 / 1; background-size: 289.600% 270.149%; background-position: 0.000% 100.000%; }
main[data-world="princesscastle"] .pc-s--r4.pc-s--c1 { grid-area: 5 / 2; background-size: 4993.103% 270.149%; background-position: 35.236% 100.000%; }
main[data-world="princesscastle"] .pc-s--r4.pc-s--c2 { grid-area: 5 / 3; background-size: 370.332% 270.149%; background-position: 50.047% 100.000%; }
main[data-world="princesscastle"] .pc-s--r4.pc-s--c3 { grid-area: 5 / 4; background-size: 4993.103% 270.149%; background-position: 64.834% 100.000%; }
main[data-world="princesscastle"] .pc-s--r4.pc-s--c4 { grid-area: 5 / 5; background-size: 290.180% 270.149%; background-position: 100.000% 100.000%; }
main[data-world="princesscastle"] .bm-hero__card > :not(.bm-hero__frame) { position: relative; z-index: 1; }
/* The title lettering crowns the card: wider than the card, its foot on the
   top of the face, the rest above the frame's crest. */
main[data-world="princesscastle"] .bm-hero__card .bm-hero__title {
  grid-area: auto;
  position: relative;
  z-index: 3;
  width: calc(var(--cw) * 1.04px);
  max-width: none;
  justify-self: center;
  align-self: center;
  margin: calc(var(--cw) * -0.3138px + 6px) 0 0;
}
main[data-world="princesscastle"] .bm-hero__features {
  font-family: var(--bm-serif);
  font-size: 16.5px;
  font-weight: 400;
  font-variant: normal;
  letter-spacing: 0.03em;
  color: var(--pc-rose);
  margin-top: 4px;
}
main[data-world="princesscastle"] .bm-hero__features li + li::before { width: 5px; height: 5px; margin: 0 9px; background: var(--pc-gold); }
main[data-world="princesscastle"] .bm-hero__card :is(.rental-rates, .wetdry) legend {
  font-family: var(--bm-sans) !important;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--pc-plum);
  text-shadow: none;
  margin-bottom: 8px;
}
main[data-world="princesscastle"] :is(.rental-rates label > span, .wetdry__opt span) {
  min-height: 48px !important;
  padding: 6px 18px !important;
  border: 1.5px solid rgb(180 35 99 / 0.45) !important;
  background: rgb(255 255 255 / 0.72) !important;
  color: var(--pc-plum) !important;
  font-family: var(--bm-sans) !important;
  font-weight: 600 !important;
}
main[data-world="princesscastle"] .rental-rates__price { font-family: var(--bm-serif) !important; font-weight: 400; color: var(--pc-rose); font-size: 20px; }
main[data-world="princesscastle"] :is(.rental-rates input:checked + span, .wetdry__opt input:checked + span) {
  border-color: var(--pc-rose) !important;
  background: linear-gradient(#FFE3EE, #FFD3E3) !important;
  box-shadow: inset 0 0 0 1px var(--pc-rose), 0 6px 16px -8px rgb(180 35 99 / 0.55) !important;
}
main[data-world="princesscastle"] .bm-hero__booking { gap: 12px; margin-top: 0; }
main[data-world="princesscastle"] .bm-hero__water { gap: 0; }
main[data-world="princesscastle"] .bm-hero__actions { margin-top: 2px; }
main[data-world="princesscastle"] .bm-hero__actions .bm-plaque-btn { width: min(100%, 300px); }

/* Switches: rose track on cream, filled rose when on. */
main[data-world="princesscastle"] .bm-switch { color: var(--pc-plum); font-family: var(--bm-sans); font-weight: 600; }
main[data-world="princesscastle"] .bm-switch__track { border-color: var(--pc-rose); background: rgb(255 255 255 / 0.8); }
main[data-world="princesscastle"] .bm-switch__track::after { background: var(--pc-rose); }
main[data-world="princesscastle"] .bm-switch__input:checked + .bm-switch__track { background: var(--pc-rose); }
main[data-world="princesscastle"] .bm-switch__input:checked + .bm-switch__track::after { background: #fff; }
main[data-world="princesscastle"] .bm-switch__input:focus-visible + .bm-switch__track { outline-color: var(--pc-plum); }

/* Plaque shell cta (2): a live Yeseva label, dead centre on the pink face. */
main[data-world="princesscastle"] .bm-plaque-btn { aspect-ratio: 1086 / 362; color: var(--pc-plum); }
main[data-world="princesscastle"] .bm-plaque-btn__label {
  position: absolute;
  inset: 30% 12% 24%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--bm-serif);
  font-size: clamp(17px, 1.4vw, 21px);
  font-weight: 400;
  letter-spacing: 0.06em !important;
  text-transform: none;
  line-height: 1;
  color: var(--pc-plum);
  text-shadow: 0 1px 0 rgb(255 255 255 / 0.55);
}
main[data-world="princesscastle"] .bm-plaque-btn--hero .bm-plaque-btn__label { letter-spacing: 0.06em; }
main[data-world="princesscastle"] .bm-plaque-btn::after { inset: 28% 10% 22%; }
main[data-world="princesscastle"] .bm-plaque-btn:focus-visible::after { outline-color: var(--pc-plum); }
main[data-world="princesscastle"] .bm-mission { aspect-ratio: 1086 / 362; }
main[data-world="princesscastle"] .bm-mission__face { inset: 30% 12% 24%; gap: 0; }
main[data-world="princesscastle"] .bm-mission__label {
  font-family: var(--bm-serif) !important;
  font-size: clamp(15px, 1.9cqi, 20px);
  font-weight: 400;
  letter-spacing: 0.04em !important;
  color: var(--pc-plum);
  text-shadow: 0 1px 0 rgb(255 255 255 / 0.55);
}
/* The "+" sits at the right end of the face, so the words stay dead centre. */
main[data-world="princesscastle"] .bm-mission__plus { position: absolute; right: 3%; top: 50%; height: 40%; translate: 0 -50%; stroke: var(--pc-plum); }
main[data-world="princesscastle"] .bm-mission__ring { inset: 28% 10% 22%; }
main[data-world="princesscastle"] .bm-mission:focus-visible .bm-mission__ring { outline-color: var(--pc-plum); }
@media (hover: hover) and (pointer: fine) {
  main[data-world="princesscastle"] .bm-mission:hover .bm-mission__label { color: var(--pc-rose); }
  main[data-world="princesscastle"] .bm-mission:hover .bm-mission__plus { transform: none; rotate: 90deg; }
}

/* ---------- 2. Details ---------------------------------------------------- */
main[data-world="princesscastle"] .bm-details__scenery img { object-position: 50% 55%; }
main[data-world="princesscastle"] .bm-details__heading { width: min(44.4vw, 680px); margin: 0 auto clamp(14px, 1.6vw, 26px); }
/* Equal heights: the panel (1448:1086) and the map card (1122:1402) share a
   row, so their widths stand at 1.87538 : 1 (same top, bottom and height). */
@media (min-width: 768px) {
  html body main[data-world="princesscastle"] .bm-details__stage { grid-template-columns: minmax(0, 1.87538fr) minmax(0, 1fr) !important; column-gap: 3% !important; align-items: start !important; }
}
/* Story panel: inside the face (x 10-90%, y 31-84%), centred on it. */
main[data-world="princesscastle"] .bm-panel__safe { inset: 23.5cqi 11.5cqi 9.3cqi; grid-template-columns: minmax(0, 1fr) 31cqi; column-gap: 3cqi; }
main[data-world="princesscastle"] .bm-details__description { font-size: 1.95cqi; line-height: 1.55; color: var(--pc-plum); overflow: visible; max-width: 46ch; margin-inline: auto; }
main[data-world="princesscastle"] .bm-panel__story { max-height: none; }
/* Map card (cards (8)): heading and the clean diagram on the face. */
main[data-world="princesscastle"] .bm-hq__safe { inset: 33.6cqi 15cqi 26.3cqi; justify-content: center; gap: 3cqi; }
main[data-world="princesscastle"] .bm-hq__heading {
  margin: 0;
  font-family: var(--bm-serif) !important;
  font-size: clamp(20px, 6.4cqi, 34px) !important;
  font-weight: 400 !important;
  line-height: 1.1 !important;
  letter-spacing: 0.02em !important;
  color: var(--pc-rose);
  text-align: center;
}
main[data-world="princesscastle"] .bm-hq__open { width: 100%; margin: 0 auto; }
main[data-world="princesscastle"] .bm-hq__open::after { inset: -33.6cqi -15cqi -26.3cqi; }
main[data-world="princesscastle"] .bm-hq__diagram { filter: drop-shadow(0 6px 10px rgb(74 22 64 / 0.18)); }
main[data-world="princesscastle"] .bm-hq__hint { left: 100%; top: 0; background: var(--pc-cream); border-color: var(--pc-rose); transform: translate(-70%, -30%); }
main[data-world="princesscastle"] .bm-hq__hint .bm-mission__plus { position: static; translate: none; height: 60%; stroke: var(--pc-rose); }

/* Popups: typed titles in the display face, inside the frame faces. */
dialog.bm-dialog { --bm-serif: 'Yeseva One', 'Didot', 'Bodoni 72', Georgia, serif; --bm-sans: 'Lora', 'Iowan Old Style', Georgia, serif; --bm-gold: #B42363; --bm-gold-soft: #D4769A; --bm-ivory: #4A1640; --bm-navy: #FFF6F0; color: #4A1640; }
dialog.bm-dialog::backdrop { background: rgb(74 22 64 / 0); }
dialog.bm-dialog[open]::backdrop { background: rgb(74 22 64 / 0.55); }
@starting-style { dialog.bm-dialog[open]::backdrop { background: rgb(74 22 64 / 0); } }
.bm-dialog--info .bm-dialog__safe { inset: 24cqi 12.5cqi 9.5cqi; }
.pc-dialog__title {
  width: auto !important;
  margin: 0;
  font-family: 'Yeseva One', Georgia, serif !important;
  font-size: clamp(24px, 3.4cqi, 40px);
  font-weight: 400;
  line-height: 1.1;
  color: #B42363;
  text-align: center;
  text-wrap: balance;
}
.bm-dialog--info .bm-dialog__close { border-color: #B42363; color: #B42363; background: #FFF6F0; }
.bm-dialog__body { color: #4A1640; }
.bm-faq__a p { color: rgb(74 22 64 / 0.88); }

/* ---------- 3. Attendant + water (cards (8), like the map card) ----------- */
main[data-world="princesscastle"] .bm-crew__title { width: min(36.1vw, 560px); margin: 0 auto clamp(14px, 1.8vw, 28px); }
@media (min-width: 768px) { main[data-world="princesscastle"] .bm-crew__safe { inset: 23cqi 13cqi 26.3cqi; gap: 1.1cqi; justify-content: flex-start; } }
main[data-world="princesscastle"] .bm-crew__media { height: 46cqi; }
main[data-world="princesscastle"] .bm-crew__heading { color: var(--pc-rose); font-family: var(--bm-serif) !important; font-weight: 400 !important; font-size: clamp(20px, 4.8cqi, 28px) !important; }
main[data-world="princesscastle"] .bm-crew__text { color: var(--pc-plum); }
main[data-world="princesscastle"] .bm-crew .attendant__rate { color: var(--pc-plum-soft); }
main[data-world="princesscastle"] .bm-crew .attendant__rate strong { font-weight: 400; color: var(--pc-plum); }
main[data-world="princesscastle"] .bm-stepper__btn { border-color: var(--pc-rose); color: var(--pc-rose); }
main[data-world="princesscastle"] .bm-stepper input { border-color: rgb(180 35 99 / 0.5) !important; color: var(--pc-plum) !important; font-weight: 400; }
main[data-world="princesscastle"] .bm-stepper output { color: var(--pc-rose); font-weight: 400 !important; }
main[data-world="princesscastle"] .bm-crew__character { filter: drop-shadow(0 10px 14px rgb(74 22 64 / 0.28)); }
/* The water card: the approved water play illustration, natural ratio, at the bottom of the shared image zone. */
main[data-world="princesscastle"] .bm-crew__panel--water .bm-water__img { width: auto; height: 100%; max-width: 100%; object-fit: contain; filter: drop-shadow(0 12px 14px rgb(74 22 64 / 0.28)); }

/* ---------- 4. Carousel --------------------------------------------------- */
main[data-world="princesscastle"] .bm-gallery__scenery img { object-position: 50% 60%; }
main[data-world="princesscastle"] .bm-gallery__stage { border-color: var(--pc-gold); background: rgb(255 246 240 / 0.55); }
main[data-world="princesscastle"] .bm-gallery__stage::before { border-color: rgb(201 150 59 / 0.45); }
main[data-world="princesscastle"] .pc-crown { position: absolute; z-index: 3; left: -26px; top: -58px; width: clamp(70px, 7vw, 112px); height: auto; rotate: -14deg; pointer-events: none; filter: drop-shadow(0 6px 10px rgb(74 22 64 / 0.25)); }
/* Arrows: her pink gem medallions. */
main[data-world="princesscastle"] .bm-gallery .mbm-car__arw,
main[data-world="princesscastle"] :is(.bm-treats, .bm-related) .carousel-shell > .carousel-arrow {
  width: 60px !important;
  height: 60px !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: url('../../assets/bundled/product-worlds/princesscastle/arrow-next.webp') center / contain no-repeat !important;
  box-shadow: none !important;
  color: transparent !important;
  font-size: 0 !important;
  filter: drop-shadow(0 4px 8px rgb(74 22 64 / 0.3));
}
main[data-world="princesscastle"] .bm-gallery .mbm-car__prev,
main[data-world="princesscastle"] :is(.bm-treats, .bm-related) .carousel-shell > .carousel-arrow:first-child { background-image: url('../../assets/bundled/product-worlds/princesscastle/arrow-prev.webp') !important; }
main[data-world="princesscastle"] .bm-gallery .mbm-car__arw::before { content: none !important; }
main[data-world="princesscastle"] .bm-gallery .mbm-car__arw:focus-visible { outline: 2px solid var(--pc-plum); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) {
  main[data-world="princesscastle"] .bm-gallery .mbm-car__arw:hover { filter: drop-shadow(0 4px 8px rgb(74 22 64 / 0.3)) brightness(1.08); }
}

/* ---------- 5. Concessions: her lettering heads the section --------------- */
main[data-world="princesscastle"] .bm-treats #treats-title { width: min(56vw, 860px); margin: 0 auto; line-height: 0; white-space: normal; }
main[data-world="princesscastle"] .bm-treats .treat { border-color: rgb(201 150 59 / 0.85) !important; background: linear-gradient(180deg, rgb(255 250 246 / 0.92), #FFF3F5 58%) !important; box-shadow: 0 26px 50px -24px rgb(74 22 64 / 0.45) !important; }
main[data-world="princesscastle"] .bm-treats .treat::before { border-color: rgb(201 150 59 / 0.3); }
main[data-world="princesscastle"] .bm-treats .treat__name { font-weight: 400 !important; color: var(--pc-plum); }
main[data-world="princesscastle"] .bm-treats .treat__price { color: var(--pc-rose); font-weight: 600 !important; }
main[data-world="princesscastle"] .bm-treats .addon-add { font-weight: 400 !important; letter-spacing: 0.08em !important; color: var(--pc-rose) !important; border-color: var(--pc-rose) !important; }
main[data-world="princesscastle"] .bm-treats .addon-add[aria-pressed="true"] { background: var(--pc-rose) !important; color: #fff !important; }

/* ---------- 6. Related ---------------------------------------------------- */
main[data-world="princesscastle"] .bm-related #related-title {
  width: fit-content;
  margin-inline: auto;
  font-size: clamp(30px, 2.3vw, 40px) !important;
  font-weight: 400 !important;
  color: var(--pc-rose);
  text-shadow: 0 0 2px #fff, 0 0 12px rgb(255 245 248 / 0.95), 0 0 26px rgb(255 245 248 / 0.8);
  text-wrap: balance;
}
main[data-world="princesscastle"] .bm-related .card__name a { color: var(--pc-plum); }
main[data-world="princesscastle"] .bm-related .carousel-card__caption .card__name { font-family: var(--bm-serif) !important; font-weight: 400 !important; }
main[data-world="princesscastle"] .bm-related .card__price { color: var(--pc-rose) !important; }
main[data-world="princesscastle"] .bm-related .card__cta { color: var(--pc-rose) !important; border-color: var(--pc-rose) !important; background: rgb(255 246 240 / 0.8) !important; font-weight: 400 !important; }

/* Toast in the princess palette. */
.bm-toast { border-color: #B42363; background: rgb(255 246 240 / 0.97); color: #4A1640; font-family: 'Lora', Georgia, serif; box-shadow: 0 12px 30px rgb(74 22 64 / 0.25); }

/* Motion skin: one soft rose glow breathing over the hero (no searchlight). Blur 8px, breathing driven by opacity only. */
main[data-world="princesscastle"][data-mbe] .mbe-amb::before {
  content: ''; position: absolute; left: 50%; top: 10%; width: 60%; height: 70%; translate: -50% 0;
  background: radial-gradient(closest-side, rgb(255 214 230 / 0.5), rgb(255 214 230 / 0));
  filter: blur(8px); mix-blend-mode: screen;
  animation: pc-glow 9s ease-in-out infinite alternate;
}
@keyframes pc-glow { from { opacity: 0.55; } to { opacity: 1; } }

/* ---------- Breakpoints ----------------------------------------------------- */
@media (min-width: 1100px) and (max-width: 1279px) {
  main[data-world="princesscastle"] .bm-hero { --cw: 520; --s: 0.3665; --pw: 650px; padding-top: 214px; }
}
@media (min-width: 768px) and (max-width: 1099px) {
  main[data-world="princesscastle"] .bm-hero { --cw: 340; --s: 0.2396; --pw: 470px; padding-top: 150px; }
  main[data-world="princesscastle"] .bm-hero__features { font-size: 15px; }
  main[data-world="princesscastle"] .bm-hero__features .bm-hero__features-break { display: block; flex-basis: 100%; height: 0; }
  main[data-world="princesscastle"] .bm-hero__features .bm-hero__features-break + li::before { display: none; }
  main[data-world="princesscastle"] .rental-rates label > span { padding: 6px 12px !important; font-size: 14px !important; }
}
@media (min-width: 1600px) {
  main[data-world="princesscastle"] .bm-hero { --cw: 640; --s: 0.451; --pw: 820px; padding-top: 262px; }
}

/* ---------- Phones -------------------------------------------------------- */
@media (max-width: 767px) {
  main[data-world="princesscastle"] .bm-hero { --cw: 358; --s: 0.2; padding: 64px 16px calc(var(--orn-h) * 0.4 + 30px); }
  main[data-world="princesscastle"] .bm-hero__card { width: 100%; padding: 62px 34px 54px; gap: 8px; }
  main[data-world="princesscastle"] .bm-hero__product { width: min(100%, 420px); margin: 2px auto 0; }
  main[data-world="princesscastle"] .bm-hero__features { font-size: 16px; margin-top: 0; }
  main[data-world="princesscastle"] .bm-hero__features li + li::before { margin: 0 9px; }
  html body main[data-world="princesscastle"] p.bm-hero__blurb--phone { color: var(--pc-plum); font-size: 15px !important; line-height: 1.38 !important; }
  main[data-world="princesscastle"] .bm-hero__booking { gap: 8px; }
  main[data-world="princesscastle"] .rental-rates { flex-wrap: nowrap; gap: 8px; }
  main[data-world="princesscastle"] .rental-rates label > span { min-height: 46px !important; padding: 6px 11px !important; font-size: 14px !important; gap: 6px; }
  main[data-world="princesscastle"] .rental-rates__price { font-size: 17px; }
  main[data-world="princesscastle"] .bm-hero__card :is(.rental-rates, .wetdry) legend { font-size: 15px; margin-bottom: 6px; }
  main[data-world="princesscastle"] .bm-hero__actions .bm-plaque-btn { width: min(100%, 250px); }
  main[data-world="princesscastle"] .bm-plaque-btn__label { font-size: 17px; }

  /* Details: heading, the description (no card of its own), the plaques, the map card. */
  main[data-world="princesscastle"] .bm-details__heading { width: min(76vw, 320px); margin-bottom: 14px; }
  main[data-world="princesscastle"] .bm-panel__story::before { content: none; }
  main[data-world="princesscastle"] .bm-details__description {
    padding: 22px 22px 24px;
    max-width: none;
    font-size: 17px;
  }
  main[data-world="princesscastle"] .bm-missions { width: min(100%, 300px); }
  main[data-world="princesscastle"] .bm-mission__label { font-size: 17px; }
  html body main[data-world="princesscastle"] button.bm-mission :is(.bm-mission__label, .bm-mission__plus) { translate: none; }
  html body main[data-world="princesscastle"] button.bm-mission .bm-mission__plus { translate: 0 -50%; }
  main[data-world="princesscastle"] .bm-hq { width: 100%; }

  /* Crew: the portrait frame cannot hold the attendant big plus the controls
     at a readable size on a phone, so both cards take a themed cream card
     (rule 5: never squeeze a frame). */
  main[data-world="princesscastle"] .bm-crew__title { width: min(82vw, 320px); }
  main[data-world="princesscastle"] .bm-crew__panel {
    border: 1.5px solid rgb(201 150 59 / 0.9);
    border-radius: 26px;
    background: linear-gradient(180deg, #FFFAF6, #FFF0F4);
    box-shadow: 0 24px 50px -24px rgb(74 22 64 / 0.5);
  }
  main[data-world="princesscastle"] .bm-crew__panel::before { inset: 5px; border-color: rgb(180 35 99 / 0.3); border-radius: 21px; }

  main[data-world="princesscastle"] .pc-crown { left: -6px; top: -40px; width: 64px; }
  main[data-world="princesscastle"] .bm-gallery .mbm-car__arw { width: 48px !important; height: 48px !important; }
  main[data-world="princesscastle"] :is(.bm-treats, .bm-related) .carousel-shell > .carousel-arrow { width: 46px !important; height: 46px !important; }

  main[data-world="princesscastle"] .bm-treats #treats-title { width: min(87.7vw, 360px); }
  main[data-world="princesscastle"] .bm-related #related-title { width: auto; max-width: 74vw; font-size: 34px !important; }

  .bm-dialog--info .bm-dialog__safe { inset: 30cqi 15cqi 26cqi; }
  .pc-dialog__title { font-size: 24px; }
}

/* Trimmed frames: the boxes take the art's own ratios. */
main[data-world="princesscastle"] .bm-panel { aspect-ratio: 1439 / 1010; }
main[data-world="princesscastle"] :is(.bm-hq, .bm-crew__panel) { aspect-ratio: 1056 / 1390; }
dialog.bm-dialog.bm-dialog--info { --dw: min(92vw, 1000px, calc((100dvh - 32px) * 1.4247)); aspect-ratio: 1439 / 1010; }
@media (max-width: 767px) {
  dialog.bm-dialog.bm-dialog--info { --dw: min(94vw, 480px, calc((100dvh - 24px) * 0.7597)); aspect-ratio: 1056 / 1390; }
  main[data-world="princesscastle"] :is(.bm-hq) { aspect-ratio: 1056 / 1390; }
  main[data-world="princesscastle"] .bm-crew__panel { aspect-ratio: auto; }
  main[data-world="princesscastle"] .bm-panel { aspect-ratio: auto; }
}
/* Water card: the photo stands clear of the crest. */
/* Gallery arrows at full strength; dots in plum and rose. */
main[data-world="princesscastle"] .bm-gallery .mbm-car__arw { opacity: 1 !important; }
main[data-world="princesscastle"] .bm-gallery .mbm-car__dot::before { background: rgb(74 22 64 / 0.4); }
main[data-world="princesscastle"] .bm-gallery .mbm-car__dot.on::before { background: var(--pc-rose); }
main[data-world="princesscastle"] .bm-gallery .mbm-car__dots { border-color: rgb(201 150 59 / 0.6) !important; background: rgb(255 246 240 / 0.85) !important; }
/* Popups: a short list sits in the middle of the face; a long one fills it and scrolls with the fade cue. */
dialog.bm-dialog--info .bm-dialog__safe { display: flex; flex-direction: column; justify-content: center; gap: 1.6cqi; }
dialog.bm-dialog--info .bm-dialog__body { flex: 0 1 auto; min-height: 0; }
/* Concession Add / Added: the icon sits at the pill's end, so the word is dead centre. */
main[data-world="princesscastle"] .bm-treats .addon-add { position: relative; min-width: 148px; padding: 0 34px !important; }
main[data-world="princesscastle"] .bm-treats .addon-add[aria-pressed="false"]::before { position: absolute; left: 18px; top: 50%; translate: 0 -50%; }
main[data-world="princesscastle"] .bm-treats .addon-add[aria-pressed="true"]::after { position: absolute; right: 16px; top: 50%; translate: 0 -50%; margin: 0 !important; }
/* Crew cards: the attendant and the slide photo share one 41cqi image zone, so the copy and controls stay on the face. */
@media (min-width: 768px) {
  main[data-world="princesscastle"] .bm-crew__media { height: 41cqi; }
  main[data-world="princesscastle"] .bm-crew__heading { font-size: clamp(19px, 4.4cqi, 26px) !important; }
}

/* Map card heading: two lines between the corner roses. */
main[data-world="princesscastle"] .bm-hq__heading { max-width: 52cqi; text-wrap: balance; font-size: clamp(19px, 6cqi, 32px) !important; }
@media (min-width: 768px) and (max-width: 899px) {
  html body main[data-world="princesscastle"] .bm-details__stage > .bm-panel { aspect-ratio: 1439 / 1010; }
}
/* Pills never wrap their words. */
main[data-world="princesscastle"] .rental-rates label > span { white-space: nowrap; }
@media (max-width: 767px) {
  main[data-world="princesscastle"] .bm-hero__card { padding: 58px 30px 52px; gap: 6px; }
  main[data-world="princesscastle"] .bm-hero__booking { gap: 6px; }
  main[data-world="princesscastle"] .rental-rates { gap: 6px; }
  main[data-world="princesscastle"] .rental-rates label > span { padding: 4px 10px !important; min-height: 44px !important; font-size: 13.5px !important; gap: 5px; }
  main[data-world="princesscastle"] .rental-rates__price { font-size: 16px; }
  main[data-world="princesscastle"] .bm-hero__actions .bm-plaque-btn { width: min(100%, 236px); }
  main[data-world="princesscastle"] .bm-hero__product { width: 440px; max-width: none; justify-self: center; margin: 0 auto; }
  main[data-world="princesscastle"] .bm-crew__media { height: 330px; }
  main[data-world="princesscastle"] .bm-crew__panel--water .bm-water__img { width: 100%; height: auto; max-height: 100%; }
}

/* The supplied cut-out keeps clear canvas round the art, so its box may run past the column. */
main[data-world="princesscastle"] .bm-hero__product { width: var(--pw); max-width: none; justify-self: center; }
@media (max-width: 767px) { main[data-world="princesscastle"] .bm-hero__product { width: 440px; } }
/* Map card: the diagram sits inside the clear face with its heading. */
main[data-world="princesscastle"] .bm-hq__open { width: 86%; }
/* Water card: the illustration at the top of the shared image zone, the words in the middle, the switch at the foot, so both cards share the same top and foot lines. */
main[data-world="princesscastle"] .bm-crew__panel--water .bm-crew__safe { justify-content: space-between; }
main[data-world="princesscastle"] .bm-crew__words { display: flex; flex-direction: column; align-items: center; gap: 1.1cqi; }
@media (max-width: 767px) {
  main[data-world="princesscastle"] .bm-crew__panel--water .bm-crew__safe { justify-content: flex-start; }
  main[data-world="princesscastle"] .bm-crew__words { gap: 12px; }
}
/* Concession Add: only the word in the pill (the icon is drawn by ::before at the pill's end). */
main[data-world="princesscastle"] .bm-treats .addon-add__icon { display: none !important; }
main[data-world="princesscastle"] .bm-treats .addon-add { justify-content: center !important; }
/* Phones: the glossy streak at the top of the pink face sits the visible face 2px lower. */


/* Plaque CTA: the painted face (x 12-88%, y 30-76%) is its own box; the label fills it, dead centre. */
main[data-world="princesscastle"] .bm-plaque-btn__face { position: absolute; inset: 30% 12% 24%; display: flex; align-items: center; justify-content: center; }
main[data-world="princesscastle"] .bm-plaque-btn__face .bm-plaque-btn__label { position: static; inset: auto; }
/* Concession Add: the word centred across the whole pill. */
main[data-world="princesscastle"] .bm-treats .addon-add__label { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
@media (max-width: 767px) {
  main[data-world="princesscastle"] .bm-missions { gap: 6px; }
  main[data-world="princesscastle"] .bm-mission { margin-block: 0; }
}
/* The shared cohesion layer nudges Add labels 10px left on phones; this page centres them itself. */
html body main#main[data-world="princesscastle"] .bm-treats .addon-add > :is(.addon-add__icon, .addon-add__label) { translate: 0 0 !important; }
@media (max-width: 767px) {
  /* The glossy streak along the top of the pink face: the visible face sits a little low. */
  main[data-world="princesscastle"] .bm-plaque-btn__face .bm-plaque-btn__label { font-size: 15.5px; translate: 0 1.5px; }
  main[data-world="princesscastle"] .bm-mission__label { font-size: 16px; }
}
/* Hero card (desktop): the features run on one line across the face. */
@media (min-width: 1100px) {
  main[data-world="princesscastle"] .bm-hero__card { padding-inline: calc(var(--cw) * 0.0918px + 4px); }
  main[data-world="princesscastle"] .bm-hero__features { font-size: 16px; letter-spacing: 0.02em; flex-wrap: nowrap; white-space: nowrap; }
  main[data-world="princesscastle"] .bm-hero__features li + li::before { margin: 0 8px; }
}
/* Crew (desktop): the attendant big in the shared image zone; the words and controls fill the face. */
@media (min-width: 768px) {
  main[data-world="princesscastle"] .bm-crew__media { height: 45cqi; }
  main[data-world="princesscastle"] .bm-crew__panel--attendant .bm-crew__safe { justify-content: space-between; }
}

/* Water card: the illustration stays inside the clear face between the corner roses. */
@media (min-width: 768px) {
  main[data-world="princesscastle"] .bm-crew__panel--water .bm-water__img { max-width: 46cqi; height: auto; max-height: 100%; }
}
@media (max-width: 767px) {
  /* The cut-out's box is wider than the column: centred with equal overflow both sides. */
  main[data-world="princesscastle"] .bm-hero__product { width: 440px; margin: 0 calc((100% - 440px) / 2) -34px; }
  main[data-world="princesscastle"] .bm-hero__card { padding-top: 66px; }
  main[data-world="princesscastle"] .bm-hero__card .bm-hero__blurb--phone { margin-top: 2px !important; }
}
/* Popups: head, then a body row that shrinks and scrolls, the pair centred on the face (a long list never rides up under the title). */
html body dialog.bm-dialog--info .bm-dialog__safe { display: grid !important; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, auto); align-content: center; gap: 1.6cqi; }
html body dialog.bm-dialog--info .bm-dialog__body { min-height: 0; max-height: 100%; overflow-y: auto; }
@media (max-width: 767px) {
  html body main dialog.bm-dialog--info .bm-dialog__head { padding: 0 46px !important; }
  html body main dialog.bm-dialog--info .bm-dialog__close { top: -8px !important; right: -14px !important; }
}

/* Fix round 1 (2026-10-04) */
/* 1. PC details: both frames keep their natural ratio and their PAINTED RIMS match.
   Rim rows from the art (alpha width > 70%): panel 1439x1010 rim y 265-966 (26.2%-95.6%),
   portrait 1056x1390 rim y 218-1317 (15.7%-94.7%). Equal rim height means the portrait box
   is 0.8778 of the panel box height, so the widths stand at 2.1365 : 1, and the portrait is
   dropped 14.22% of its own height so the rim tops (and bottoms) line up. */
@media (min-width: 768px) {
  html body main[data-world="princesscastle"] .bm-details__stage { grid-template-columns: minmax(0, 2.1168fr) minmax(0, 1fr) !important; column-gap: 3% !important; align-items: start !important; }
  html body main[data-world="princesscastle"] .bm-details__stage > .bm-hq { translate: 0 14.39%; }
  /* 2. Description fills the face: larger text, centred beside the plaques. */
  main[data-world="princesscastle"] .bm-panel__safe { align-items: center; }
  main[data-world="princesscastle"] .bm-details__description { font-size: max(14px, 2.1cqi); line-height: 1.5; padding-inline: 1.2cqi; }
}
/* 3. Phone: every card body text is at least 15px. */
@media (max-width: 767px) {
  main[data-world="princesscastle"] .bm-details__description,
  main[data-world="princesscastle"] .bm-details__description p { font-size: 17px; }
  main[data-world="princesscastle"] .bm-crew__panel :is(.bm-crew__text, .attendant__note, .attendant__rate, .bm-switch__text, .bm-stepper__label, label, legend, small) { font-size: max(15px, 1em); }
  main[data-world="princesscastle"] .bm-crew__panel .bm-crew__text { font-size: 16px; }
  main[data-world="princesscastle"] .bm-crew__panel .attendant__rate { font-size: 16px; }
  main[data-world="princesscastle"] .bm-crew__controls .bm-switch__text { font-size: 16px; }
  main[data-world="princesscastle"] .bm-crew__panel label:not(.bm-switch) { font-size: 15px; }
  main[data-world="princesscastle"] .bm-crew__safe { padding-inline: max(16px, 18px); }
}

/* Fix round 1b (2026-10-04): between tablet and small desktop the plaque faces are too narrow for the label and the "+",
   so the "+" is dropped there (standing rule 2: drop it where the face is too narrow); the words stay centred. */
@media (min-width: 768px) and (max-width: 1199px) {
  html body main[data-world="princesscastle"] .bm-mission__plus { display: none !important; }
}

/* ==========================================================================
   Map of the Kingdom carousel (Sabrina, 2026-10-04): three views, as on the
   Ultimate pages. The card and the popup share one index (JS). Slides sit
   centred at their natural ratio; slide 1 carries its own canvas margin, the
   two cut-outs are drawn tight, so they get a width that matches its art.
   ========================================================================== */
.bm-dims-carousel { position: relative; width: 100%; touch-action: pan-y; }
.bm-dims-carousel__track { position: relative; display: grid; width: 100%; }
.bm-dims-carousel__slide { display: block; grid-area: 1 / 1; height: auto; transition: opacity 220ms var(--bm-ease), transform 220ms var(--bm-ease); }
.bm-dims-carousel__slide[hidden] { display: none; }
.bm-dims-carousel__arrow { display: grid; place-items: center; padding: 0; border: 0; background: transparent; cursor: pointer; }
.bm-dims-carousel__dots { display: flex; justify-content: center; align-items: center; gap: 10px; }
.bm-dims-carousel__dot { width: 9px; height: 9px; padding: 0; border: 1.5px solid #B42363; border-radius: 50%; background: transparent; cursor: pointer; }
.bm-dims-carousel__dot.is-active { background: #B42363; }
.bm-dims-carousel__dot:focus-visible, .bm-dims-carousel__arrow:focus-visible, .bm-hq__zoom:focus-visible { outline: 2px solid #B42363; outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .bm-dims-carousel__slide { transition: none; } }

/* Card */
main[data-world="princesscastle"] .bm-hq__open--carousel { width: 100%; margin: 0 auto; position: relative; }
main[data-world="princesscastle"] .bm-hq__open--carousel::after { content: none; }
main[data-world="princesscastle"] .bm-hq__diagram-wrap--carousel { position: relative; width: 100%; }
main[data-world="princesscastle"] .bm-hq__carousel .bm-dims-carousel__track { aspect-ratio: 1200 / 1097; place-items: center; }
main[data-world="princesscastle"] .bm-hq__carousel .bm-dims-carousel__slide { max-width: 100%; max-height: 100%; width: auto; }
main[data-world="princesscastle"] .bm-hq__carousel .bm-dims-carousel__slide--1 { width: 100%; }
main[data-world="princesscastle"] .bm-hq__carousel .bm-dims-carousel__slide--2 { width: 80%; }
main[data-world="princesscastle"] .bm-hq__carousel .bm-dims-carousel__slide--3 { width: 78%; }
main[data-world="princesscastle"] .bm-hq__carousel .bm-dims-carousel__arrow {
  position: absolute; top: 50%; z-index: 3; width: 9cqi; height: 9cqi; min-width: 38px; min-height: 38px;
  transform: translateY(-50%); background: url('../../assets/bundled/product-worlds/princesscastle/arrow-next.webp') center / contain no-repeat;
}
main[data-world="princesscastle"] .bm-hq__carousel .bm-dims-carousel__arrow--prev { left: 0; background-image: url('../../assets/bundled/product-worlds/princesscastle/arrow-prev.webp'); }
main[data-world="princesscastle"] .bm-hq__carousel .bm-dims-carousel__arrow--next { right: 0; }
main[data-world="princesscastle"] .bm-hq__carousel .bm-dims-carousel__arrow svg { display: none; }
main[data-world="princesscastle"] .bm-hq__carousel .bm-dims-carousel__arrow:active { transform: translateY(-50%) scale(0.95); }
main[data-world="princesscastle"] .bm-hq__carousel .bm-dims-carousel__dots { position: absolute; left: 0; right: 0; bottom: 0; }
main[data-world="princesscastle"] .bm-hq__zoom {
  position: absolute; left: 100%; top: 0; z-index: 4; display: grid; place-items: center;
  width: 7.4cqi; height: 7.4cqi; min-width: 44px; min-height: 44px; padding: 0; border-radius: 50%;
  background: var(--pc-cream); border: 1.5px solid var(--pc-rose); box-shadow: 0 2px 6px rgb(74 22 64 / 0.25);
  transform: translate(-100%, 0); cursor: pointer;
}
main[data-world="princesscastle"] .bm-hq__zoom:active { transform: translate(-100%, 0) scale(0.95); }
main[data-world="princesscastle"] .bm-hq__carousel .bm-hq__diagram { filter: drop-shadow(0 6px 10px rgb(74 22 64 / 0.18)); }

/* Popup: slides contained, arrows and dots in the popup's own white-on-dark set. */
html body dialog.bm-dialog--dims .bm-dims-carousel__dots { z-index: 3; }
html body dialog.bm-dialog--dims .bm-dims-carousel__dot { border-color: #fff; }
html body dialog.bm-dialog--dims .bm-dims-carousel__dot.is-active { background: #fff; }
html body dialog.bm-dialog--dims .bm-dims-carousel__arrow { cursor: pointer; }
main[data-world="princesscastle"] .bm-hq__safe .bm-hq__heading { margin-top: 1.4cqi; }
main[data-world="princesscastle"] .bm-hq__open--carousel { width: 90%; }

/* 2026-10-04 (Sabrina): "More happily ever afters" bigger, styled like the lettering, readable on the night (phone) and sunset (PC) scenes. */
html body main#main[data-world="princesscastle"] #related-title {
  font-family: 'Yeseva One', Georgia, serif !important; font-weight: 400 !important;
  color: #fff6fb !important; letter-spacing: .01em !important; line-height: 1.02 !important; text-align: center !important;
  -webkit-text-stroke: 0 !important;
  text-shadow: 0 2px 0 #c2185b, 0 4px 0 #8e1450, 0 0 2px #8e1450, 2px 2px 0 #8e1450, -2px 2px 0 #8e1450, 2px -2px 0 #8e1450, -2px -2px 0 #8e1450, 0 8px 22px rgb(60 6 40 / .55), 0 0 34px rgb(255 160 210 / .55) !important;
  font-size: clamp(64px, 6.6vw, 104px) !important; white-space: nowrap !important; max-width: none !important; width: auto !important;
}
@media (max-width: 767px) {
  html body main#main[data-world="princesscastle"] #related-title { font-size: clamp(40px, 11.5vw, 50px) !important; white-space: normal !important; max-width: 92vw !important; margin-inline: auto !important; }
}

/* Related cards sit inside the world's themed card, the same card as the treats (Sabrina 2026-10-04). */
html body main[data-world="princesscastle"] .bm-related .card { padding: 14px 14px 24px !important; border: 1px solid rgba(201, 150, 59, 0.85) !important; background: linear-gradient(rgba(255, 250, 246, 0.92), rgb(255, 243, 245) 58%) !important; box-shadow: rgba(74, 22, 64, 0.45) 0px 26px 50px -24px !important; border-radius: 0px !important; overflow: visible !important; }
/* Price sits exactly halfway between the name and the button. */
html body main#main[data-world="princesscastle"] .bm-related :is(.carousel-card__caption, .card__info) { gap: 10px !important; }
html body main#main[data-world="princesscastle"] .bm-related :is(.carousel-card__caption, .card__info) > * { margin: 0 !important; }
html body main#main[data-world="princesscastle"] .bm-related :is(.carousel-card__caption, .card__info) .card__name a { min-height: 0 !important; display: inline !important; }

/* Client, 2026-10-05 (PC): every section title is the size of "Your fairy godmother" and sits the same distance
   from the top of its section, higher than before, so no screen scrolls by with only a title in it. */
@media (min-width:768px){
  main[data-world="princesscastle"]:not(#pt1):not(#pt2):not(#pt3) :is(.bm-details, .bm-crew, .bm-treats, .bm-related){ padding-top:64px!important; }
  main[data-world="princesscastle"]:not(#pt1):not(#pt2):not(#pt3) :is(.bm-details__heading, .bm-crew__title, .bm-treats .treats__head h2, .bm-related h2.bm-related__title){ width:min(36.1vw, 560px)!important; max-width:none!important; margin:0 auto 26px!important; }
  main[data-world="princesscastle"]:not(#pt1):not(#pt2):not(#pt3) .bm-treats .treats__head h2 .bm-lettering__img{ width:100%!important; }
}
main[data-world="princesscastle"] .bm-related h2.bm-related__title{ line-height:0!important; font-size:0!important; }
main[data-world="princesscastle"] .bm-related h2.bm-related__title .bm-lettering__img{ display:block!important; width:100%!important; height:auto!important; }
@media (max-width:767px){ main[data-world="princesscastle"]:not(#pt1):not(#pt2):not(#pt3) .bm-related h2.bm-related__title{ width:min(82vw, 320px)!important; max-width:none!important; margin:0 auto 18px!important; } }

/* PC (Sabrina, 2026-10-06): the add-ons title sits the same 26px above its cards as every other title (invisible carousel arrows, head margin and row gap removed). */
@media (min-width:768px){
  main.product-world[data-slug="disney-princess-combo"]:not(#p1):not(#p2):not(#p3):not(#p4):not(#p5):not(#p6):not(#p7):not(#p8) .bm-treats .treats__head,
  main.product-world[data-slug="disney-princess-combo"]:not(#p1):not(#p2):not(#p3):not(#p4):not(#p5):not(#p6):not(#p7):not(#p8) .bm-related .related__head{ margin-bottom:0!important; }
  main.product-world[data-slug="disney-princess-combo"]:not(#p1):not(#p2):not(#p3):not(#p4):not(#p5):not(#p6):not(#p7):not(#p8) .bm-treats .treats__inner{ row-gap:0!important; gap:0!important; }
  main.product-world[data-slug="disney-princess-combo"]:not(#p1):not(#p2):not(#p3):not(#p4):not(#p5):not(#p6):not(#p7):not(#p8) .bm-treats .carousel-shell > .carousel-arrow{ display:none!important; }
}

/* ---------- Finish pass (2026-10-13) ---------------------------------------- */
/* PC hero card: the face is measured below the title lettering; 52px more room under the CTA puts the card's contents on the face's centre (it sat 26px low). */
@media (min-width: 1100px) {
  main[data-world="princesscastle"] .bm-hero__card { padding-bottom: calc(var(--cw) * 0.167px + 58px); }
}

/* Titles on one line (2026-10-14): "Map of the Kingdom" never wraps; size only. */
html body main[data-world="princesscastle"] .bm-hq__safe .bm-hq__heading { max-width: none; white-space: nowrap; text-wrap: nowrap; font-size: clamp(12px, 3.7cqi, 20px) !important; letter-spacing: 0.01em !important; }

/* Fix 2026-10-15: the concession Add buttons never wrap their text, at any width. */
html body main#main[data-world="princesscastle"] .bm-treats .addon-add, html body main#main[data-world="princesscastle"] .bm-treats .addon-add__label { white-space: nowrap; }

/* Hero fits one screen (Sabrina, 2026-10-15: "too much empty space on the hero, title and card too big").
   PC: the whole card, title plate included, scales as one piece (zoom) by viewport height, so the title,
   the full card with Check Availability and the whole bounce house fit at 2000x875, 1920x1080, 1440x900
   and 1280x720. The title clears the chrome at 92px; the art base lines up with the card foot (the
   cut-out keeps clear canvas: art spans 14.4% to 87.8% of its box). The short line shows on PC too. */
@media (min-width: 1100px) {
  html body main[data-world="princesscastle"] .bm-hero { --cw: 520; --s: 0.3665; --pz: 1; --pzw: 1; --pw: min(57vw, calc((100svh - 110px) * 1.3), 1000px); box-sizing: border-box; min-height: 0; height: 100svh; padding-top: calc(92px + 157px * min(var(--pz), var(--pzw))); padding-bottom: 12px; align-items: stretch; grid-template-rows: minmax(0, 1fr); }
  html body main[data-world="princesscastle"] .bm-hero__stage { align-items: start; height: 100%; grid-template-rows: minmax(0, 1fr); }
  html body main[data-world="princesscastle"] .bm-hero__card { zoom: min(var(--pz), var(--pzw)); align-self: start; padding-bottom: calc(var(--cw) * 0.167px + 30px); }
  html body main[data-world="princesscastle"] .bm-hero__product { align-self: end; margin-bottom: calc(100svh - 126px - var(--pw) * 0.122 - 808px * min(var(--pz), var(--pzw))); }
  html body main[data-world="princesscastle"] .bm-hero__card p.bm-hero__blurb--phone { display: block !important; margin: 0 auto !important; max-width: 34ch; text-align: center; color: var(--pc-plum); font-size: 16px !important; line-height: 1.38 !important; }
}
@media (min-width: 1100px) and (max-width: 1599px) { html body main[data-world="princesscastle"] .bm-hero { --pzw: 0.78; } }
@media (min-width: 1100px) and (max-width: 1279px) { html body main[data-world="princesscastle"] .bm-hero { --pzw: 0.6; } }
@media (min-width: 1100px) and (max-height: 939px) { html body main[data-world="princesscastle"] .bm-hero { --pz: 0.89; } }
@media (min-width: 1100px) and (max-height: 899px) { html body main[data-world="princesscastle"] .bm-hero { --pz: 0.86; } }
@media (min-width: 1100px) and (max-height: 874px) { html body main[data-world="princesscastle"] .bm-hero { --pz: 0.83; } }
@media (min-width: 1100px) and (max-height: 849px) { html body main[data-world="princesscastle"] .bm-hero { --pz: 0.8; } }
@media (min-width: 1100px) and (max-height: 824px) { html body main[data-world="princesscastle"] .bm-hero { --pz: 0.775; } }
@media (min-width: 1100px) and (max-height: 799px) { html body main[data-world="princesscastle"] .bm-hero { --pz: 0.75; } }
@media (min-width: 1100px) and (max-height: 774px) { html body main[data-world="princesscastle"] .bm-hero { --pz: 0.72; } }
@media (min-width: 1100px) and (max-height: 749px) { html body main[data-world="princesscastle"] .bm-hero { --pz: 0.69; } }
@media (min-width: 1100px) and (max-height: 724px) { html body main[data-world="princesscastle"] .bm-hero { --pz: 0.665; } }
@media (min-width: 1100px) and (max-height: 699px) { html body main[data-world="princesscastle"] .bm-hero { --pz: 0.64; } }
@media (min-width: 1100px) and (max-height: 674px) { html body main[data-world="princesscastle"] .bm-hero { --pz: 0.61; } }
@media (min-width: 768px) and (max-width: 1099px) { html body main[data-world="princesscastle"] .bm-hero__card p.bm-hero__blurb--phone { display: block !important; margin: 0 auto !important; max-width: 34ch; text-align: center; color: var(--pc-plum); font-size: 15px !important; line-height: 1.38 !important; } }

/* Sabrina 2026-10-15: Princess house bigger, card smaller (Scooby balance: the product clearly larger than the card). */

/* Phone footer: one full-width dark band like every other product page, not a card on the pink page. */
@media (max-width: 767px) {
  html body:has(main[data-world="princesscastle"]) .closing.site-footer:not(#f1):not(#f2):not(#f3) { background: #201B37 !important; }
  html body:has(main[data-world="princesscastle"]) .closing.site-footer .closing__inner:not(#f1):not(#f2):not(#f3) { background: transparent !important; box-shadow: none !important; border-radius: 0 !important; }
}

/* Phones: the attendant and water cards keep their painted frames; each card takes the shape of the frame art the phone is served, with the content inside its rim. */
@media (max-width: 767px) {
  main[data-world="princesscastle"] .bm-crew__panel {
    width: min(100%, 420px);
    aspect-ratio: auto;
    border: 0;
    background: none;
    box-shadow: none;
  }
  main[data-world="princesscastle"] .bm-crew__panel::before { content: none; }
  main[data-world="princesscastle"] .bm-crew__frame { display: block !important; position: relative !important; inset: auto !important; width: 100% !important; height: auto !important; }
  main[data-world="princesscastle"] .bm-crew__safe { position: absolute; inset: 19.5cqi 16.5cqi 21cqi; padding: 0; gap: 2cqi; justify-content: center; }
  main[data-world="princesscastle"] .bm-crew__media { height: 30cqi; }
  main[data-world="princesscastle"] .bm-crew__character { width: auto; }
  main[data-world="princesscastle"] .bm-crew__heading { margin-top: 0; font-size: clamp(17px, 5.2cqi, 22px) !important; }
  main[data-world="princesscastle"] .bm-crew__text { font-size: clamp(13px, 3.7cqi, 15px); line-height: 1.35; }
  main[data-world="princesscastle"] .bm-crew__controls { gap: 1.6cqi; }
  main[data-world="princesscastle"] .bm-crew__controls .bm-switch__text { font-size: clamp(13px, 3.6cqi, 15px); }
}
