/* ==========================================================================
   Happy Birthday Cake world (the shared tier layout in cake colours and type).
   Loaded on the 3 Happy Birthday Cake product routes only, after every shared layer.
   Every rule is scoped to .bm-* or [data-world="happy-birthday-cake"].

   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.
   The measured faces are listed in the "Happy Birthday Cake join" block below.
   ========================================================================== */

@font-face {
  font-family: 'Lilita One';
  src: url('../fonts/hbcake/lilita-one.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Josefin Sans';
  src: url('../fonts/hbcake/josefin-sans-variable.woff2') format('woff2');
  font-weight: 100 700;
  font-style: normal;
  font-display: swap;
}

main[data-world="happy-birthday-cake"],
[data-world="happy-birthday-cake"] {
  --orn-w: min(100vw, calc(32vw + 280px), 900px);
  --orn-h: calc(var(--orn-w) / 3.777);
  /* cake is bright: light blue frame centres, so text becomes dark ink (Sabrina, 2026-09-28). */
  --bm-gold: #C2185B;
  --bm-gold-soft: #8C1350;
  --bm-ivory: #16161F;
  --bm-ivory-dim: #5E5868;
  --bm-navy: #FFFFFF;
  --bm-veil: rgb(22 22 31 / 0.72);
  --bm-ease: cubic-bezier(0.22, 1, 0.36, 1); /* the site's --ease-enter */
  --bm-serif: 'Lilita One', 'Impact', sans-serif;
  --bm-sans: 'Josefin Sans', 'Helvetica Neue', Arial, sans-serif;
}
/* Type, ink and alignment: the cake sections only. The shared footer
   (.closing) sits inside <main> and keeps its site-wide styling. */
main[data-world="happy-birthday-cake"] > section,
section[data-world="happy-birthday-cake"] {
  --font-display: var(--bm-serif);
  --font-body: var(--bm-sans);
  font-family: var(--bm-sans);
  color: var(--bm-ivory);
  text-align: center;
  font-synthesis: none; /* the display font has one weight; don't let the browser fake-bold it (Sabrina, 2026-09-28) */
}
/* The shared celebration layer forces DM Serif Display on every h1-h3 with
   !important; this page keeps the display font (higher specificity, loaded later). */
section.bm-details :is(h1, h2, h3, h4, h5, p, li, dt, dd, a, button),
dialog.bm-dialog :is(h1, h2, h3, h4, h5, p, li, dt, dd, a, button) {
  font-family: var(--bm-sans) !important;
  letter-spacing: normal;
}
section.bm-details :is(h2, h3),
dialog.bm-dialog :is(h2, h3),
section.bm-details :is(dt, dd, .bm-details__lead),
dialog.bm-dialog :is(dt, dd, .bm-dialog__label, .bm-faq__label) {
  font-family: var(--bm-serif) !important;
  letter-spacing: 0.02em; /* was "normal" (0); the display font reads better with a touch of tracking (Sabrina, 2026-09-28) */
}
main[data-world="happy-birthday-cake"] > section ::selection { background: var(--bm-gold); color: var(--bm-navy); }

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

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

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

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

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

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

/* ---------- Check your HQ card (frame 32) ---------------------------------- */
.bm-hq {
  position: relative;
  width: min(100%, 460px);
  aspect-ratio: 1122 / 1402;
  container-type: inline-size;
}
.bm-hq__frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.bm-hq__safe {
  position: absolute;
  inset: 21cqi 17cqi 23cqi;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.2cqi;
}
.bm-lettering--hq { width: 56cqi; margin: 0; }
.bm-hq__open {
  position: static;       /* its hit area (::after) spans the whole card */
  display: block;
  width: 100%;
}
.bm-hq__open::after {
  content: '';
  position: absolute;
  inset: -21cqi -17cqi -23cqi;        /* from the safe area out to the whole frame */
  z-index: 2;
  border-radius: 3cqi;
}
.bm-hq__diagram-wrap {
  position: relative;
  display: block;
  transition: transform 140ms var(--bm-ease);
}
.bm-hq__diagram { display: block; width: 100%; height: auto; transition: filter 280ms var(--bm-ease); }
.bm-hq__hint {
  position: absolute;
  /* Pinned on the diagram's visible top-right corner (the art spans
     x 7.3-88.9%, y 5.6-97.3% of its canvas). */
  left: 88.9%;
  top: 5.6%;
  display: grid;
  place-items: center;
  width: 7.4cqi;
  height: 7.4cqi;
  border: 1.5px solid var(--bm-gold);
  border-radius: 50%;
  background: var(--bm-navy);
  box-shadow: 0 2px 6px rgb(22 22 31 / 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, the display font). */
.bm-dims {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1cqi 2cqi;
  width: 100%;
  margin: 0;
  text-align: center;
}
.bm-dims__item { display: grid; gap: 0.35em; }
.bm-dims dt {
  font-size: max(11px, 2.5cqi);
  font-weight: 600;
  letter-spacing: 0.04em !important;
  text-transform: uppercase;
  color: var(--bm-gold);
  line-height: 1.1;
}
.bm-dims dd {
  margin: 0;
  font-size: max(15px, 4.1cqi);
  font-weight: 600;
  line-height: 1.1;
  color: var(--bm-ivory);
  font-variant-numeric: lining-nums tabular-nums;
  white-space: nowrap;
}
@container (max-width: 470px) {
  .bm-dims--card { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2.4cqi; }
  .bm-lettering--hq { width: 50cqi; margin: 0; }
  .bm-hq__open { width: 94%; }
}

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

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

/* ---------- Popups -------------------------------------------------------- */
dialog.bm-dialog {
  --dw: min(92vw, 1000px, calc((100dvh - 32px) * 1.3333));
  position: fixed;
  inset: 0;
  margin: auto;
  width: var(--dw);
  height: auto;
  max-width: none;
  max-height: none;
  aspect-ratio: 1448 / 1086;
  padding: 0;
  border: 0;
  background: none;
  color: var(--bm-ivory);
  overflow: visible;
  font-family: var(--bm-sans);
  --bm-gold: #C2185B;
  --bm-gold-soft: #8C1350;
  --bm-ivory: #16161F;
  --bm-navy: #FFFFFF;
  --bm-serif: 'Lilita One', 'Impact', sans-serif;
  --bm-sans: 'Josefin Sans', 'Helvetica Neue', Arial, sans-serif;
  --bm-ease: cubic-bezier(0.22, 1, 0.36, 1);
  font-synthesis: none;
  opacity: 1;
  transform: scale(1);
  transition:
    opacity 220ms var(--bm-ease),
    transform 220ms var(--bm-ease),
    overlay 220ms allow-discrete,
    display 220ms allow-discrete;
}
dialog.bm-dialog:not([open]) {
  opacity: 0;
  transform: scale(0.98);
  transition-duration: 150ms;
}
@starting-style {
  dialog.bm-dialog[open] { opacity: 0; transform: scale(0.96); }
}
dialog.bm-dialog::backdrop {
  background: rgb(22 22 31 / 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(22 22 31 / 0.86)); }
@starting-style {
  dialog.bm-dialog[open]::backdrop { background: rgb(22 22 31 / 0); }
}
dialog.bm-dialog:focus { outline: none; }
html:has(dialog.bm-dialog[open]) { overflow: hidden; }

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

main[data-world="happy-birthday-cake"] {
  background: var(--bm-navy) !important;
  /* Shared chip and button tokens (cohesion.css) in the cake palette. */
  --chip-edge: rgb(194 24 91 / 0.55);
  --chip-glow: #C2185B;
  --focus-ink: #16161F;
}

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

/* Plaque buttons: CTA shell 15 with a live the display font label in its navy plaque. */
main[data-world="happy-birthday-cake"] .bm-plaque-btn {
  position: relative;
  display: grid;
  place-items: center;
  width: min(100%, 320px);
  aspect-ratio: 960 / 298; /* cake cta-shell, trimmed */
  margin-inline: auto;
  color: #C2185B;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transition: transform 140ms var(--bm-ease);
}
main[data-world="happy-birthday-cake"] .bm-plaque-btn__shell {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  transition: filter 280ms var(--bm-ease);
}
main[data-world="happy-birthday-cake"] .bm-plaque-btn__label {
  position: relative;
  display: inline-flex;
  align-items: center;
  font-family: var(--bm-serif);
  font-size: clamp(15px, 1.25vw, 20px);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
  text-shadow: 0 1px 10px rgb(194 24 91 / 0.35);
}
main[data-world="happy-birthday-cake"] .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="happy-birthday-cake"] .bm-plaque-btn::after {
  content: '';
  position: absolute;
  inset: 7.3% 2.1% 9.1%;
  border-radius: 999px;
  pointer-events: none;
}
main[data-world="happy-birthday-cake"] .bm-plaque-btn:focus-visible { outline: none; }
main[data-world="happy-birthday-cake"] .bm-plaque-btn:focus-visible::after { outline: 2px solid var(--bm-ivory); outline-offset: 3px; }
main[data-world="happy-birthday-cake"] .bm-plaque-btn:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) {
  main[data-world="happy-birthday-cake"] .bm-plaque-btn:hover .bm-plaque-btn__shell { filter: brightness(1.14) saturate(1.05); }
  main[data-world="happy-birthday-cake"] .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="happy-birthday-cake"] .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="happy-birthday-cake"] .bm-switch__input {
  position: absolute !important;
  opacity: 0;
  width: 1px !important;
  height: 1px !important;
  margin: 0;
}
main[data-world="happy-birthday-cake"] .bm-switch__track {
  position: relative;
  flex: none;
  width: 48px;
  height: 28px;
  border: 1.5px solid var(--bm-gold);
  border-radius: 999px;
  background: rgb(255 255 255 / 0.6);
  transition: background-color 200ms var(--bm-ease);
}
main[data-world="happy-birthday-cake"] .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="happy-birthday-cake"] .bm-switch__input:checked + .bm-switch__track { background: var(--bm-gold); }
main[data-world="happy-birthday-cake"] .bm-switch__input:checked + .bm-switch__track::after { transform: translateX(20px); background: var(--bm-navy); }
main[data-world="happy-birthday-cake"] .bm-switch__input:focus-visible + .bm-switch__track { outline: 2px solid var(--bm-ivory); outline-offset: 3px; }
main[data-world="happy-birthday-cake"] .bm-switch:active .bm-switch__track::after { width: 23px; }
main[data-world="happy-birthday-cake"] .bm-switch__input:checked + .bm-switch__track:active::after { transform: translateX(16px); }

/* ---------- 1. Hero ------------------------------------------------------- */
main[data-world="happy-birthday-cake"] .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="happy-birthday-cake"] .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="happy-birthday-cake"] .bm-hero__scenery img { object-position: 50% 40%; }
main[data-world="happy-birthday-cake"] .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="happy-birthday-cake"] .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="happy-birthday-cake"] .bm-hero__product {
  position: relative;
  width: min(100%, 820px);
  justify-self: center;
  padding-bottom: 5%;
}
main[data-world="happy-birthday-cake"] .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="happy-birthday-cake"] .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="happy-birthday-cake"] .bm-hero__copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}
main[data-world="happy-birthday-cake"] :is(.bm-hero__eyebrow, .bm-hero__title, .bm-hero__tagline) { margin: 0; line-height: 0; }
main[data-world="happy-birthday-cake"] :is(.bm-hero__eyebrow, .bm-hero__title, .bm-hero__tagline) img { display: block; width: 100%; height: auto; }
main[data-world="happy-birthday-cake"] .bm-hero__eyebrow { width: min(84%, 360px); }
main[data-world="happy-birthday-cake"] .bm-hero__title { width: min(100%, 560px); }
main[data-world="happy-birthday-cake"] .bm-hero__tagline { width: min(80%, 340px); }
main[data-world="happy-birthday-cake"] .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="happy-birthday-cake"] .bm-hero__copy .phero__line:empty { display: none; }
main[data-world="happy-birthday-cake"] .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="happy-birthday-cake"] .bm-hero__booking:has(.rental-rates) .world-price { display: none; }
main[data-world="happy-birthday-cake"] .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="happy-birthday-cake"] :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="happy-birthday-cake"] :is(.rental-rates, .wetdry) legend {
  width: 100%;
  margin: 0 0 8px;
  padding: 0;
  font-family: var(--bm-serif) !important;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: center;
  color: var(--bm-gold);
}
main[data-world="happy-birthday-cake"] .wetdry__group { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
main[data-world="happy-birthday-cake"] :is(.rental-rates, .wetdry) label { position: relative; display: block; margin: 0; cursor: pointer; }
main[data-world="happy-birthday-cake"] :is(.rental-rates, .wetdry) input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  margin: 0;
  cursor: pointer;
}
main[data-world="happy-birthday-cake"] :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(194 24 91 / 0.55) !important;
  border-radius: 999px !important;
  background: rgb(255 255 255 / 0.78) !important;
  color: var(--bm-ivory) !important;
  box-shadow: none !important;
  font-family: var(--bm-sans) !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  letter-spacing: 0.02em !important;
  transition: background-color 200ms var(--bm-ease), border-color 200ms var(--bm-ease), box-shadow 200ms var(--bm-ease), transform 140ms var(--bm-ease) !important;
}
main[data-world="happy-birthday-cake"] .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="happy-birthday-cake"] .wetdry__opt svg { width: 12px; height: 12px; margin-right: 6px; color: #C2185B; }
main[data-world="happy-birthday-cake"] :is(.rental-rates input:checked + span, .wetdry__opt input:checked + span) {
  border-color: var(--bm-gold) !important;
  background: linear-gradient(rgb(194 24 91 / 0.22), rgb(194 24 91 / 0.1)), rgb(255 255 255 / 0.86) !important;
  box-shadow: inset 0 0 0 1px var(--bm-gold), 0 0 22px rgb(194 24 91 / 0.28) !important;
}
main[data-world="happy-birthday-cake"] :is(.rental-rates input:checked + span, .wetdry__opt input:checked + span)::after {
  color: var(--bm-gold);
  margin-left: 2px !important;
}
main[data-world="happy-birthday-cake"] :is(.rental-rates, .wetdry) input:focus-visible + span { outline: 2px solid var(--bm-ivory) !important; outline-offset: 3px !important; }
main[data-world="happy-birthday-cake"] :is(.rental-rates, .wetdry) label:active > span { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) {
  main[data-world="happy-birthday-cake"] :is(.rental-rates, .wetdry) input:not(:checked):hover + span { border-color: var(--bm-gold) !important; }
}
main[data-world="happy-birthday-cake"] .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="happy-birthday-cake"] .wetdry:has(input[value="wet"]:checked) .wetdry__note { display: block; }
main[data-world="happy-birthday-cake"] .bm-hero__actions { width: 100%; margin-top: 4px; }

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

/* ---------- 4. Carousel: the shared in-action carousel, framed ------------- */
main[data-world="happy-birthday-cake"] .bm-gallery {
  position: relative;
  padding: clamp(32px, 5vw, 72px) clamp(16px, 4vw, 64px);
  background: radial-gradient(ellipse 70% 60% at 50% 45%, #4a2f12 0%, rgb(255 255 255 / 0) 72%);
}
/* A thin antique-gold rule: the slides (2274x1280 and 1916x821) do not fit
   frame 41's 1.86:1 opening, so the frame art is not used here. */
main[data-world="happy-birthday-cake"] .bm-gallery__stage {
  position: relative;
  width: min(100%, 1240px);
  margin-inline: auto;
  padding: 8px;
  border: 1px solid rgb(194 24 91 / 0.7);
  box-shadow: 0 30px 60px -30px rgb(0 0 0 / 0.8);
}
main[data-world="happy-birthday-cake"] .bm-gallery__stage::before {
  content: '';
  position: absolute;
  inset: 3px;
  border: 1px solid rgb(194 24 91 / 0.22);
  pointer-events: none;
}
main[data-world="happy-birthday-cake"] .bm-gallery .mbm-car { aspect-ratio: 2 / 1; background: var(--bm-navy); }
main[data-world="happy-birthday-cake"] .bm-gallery .mbm-car__slide { transition: opacity 600ms var(--bm-ease); }
main[data-world="happy-birthday-cake"] .bm-gallery .mbm-car__arw {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 1.5px solid var(--bm-gold);
  border-radius: 50%;
  background: rgb(255 255 255 / 0.62);
  font-size: 0;
  line-height: 0;
  color: transparent;
  text-shadow: none;
  transition: background-color 200ms ease, transform 140ms var(--bm-ease);
}
main[data-world="happy-birthday-cake"] .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="happy-birthday-cake"] .bm-gallery .mbm-car__prev::before { transform: scaleX(-1); }
main[data-world="happy-birthday-cake"] .bm-gallery .mbm-car__prev { left: 18px; }
main[data-world="happy-birthday-cake"] .bm-gallery .mbm-car__next { right: 18px; }
main[data-world="happy-birthday-cake"] .bm-gallery .mbm-car__arw:active { transform: translateY(-50%) scale(0.94); }
main[data-world="happy-birthday-cake"] .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="happy-birthday-cake"] .bm-gallery .mbm-car__arw:hover { background: rgb(194 24 91 / 0.2); opacity: 1; }
}
main[data-world="happy-birthday-cake"] .bm-gallery .mbm-car__dots { gap: 6px; bottom: 14px; }
main[data-world="happy-birthday-cake"] .bm-gallery .mbm-car__dot {
  position: relative;
  width: 28px;
  height: 28px;
  background: none;
  box-shadow: none;
}
main[data-world="happy-birthday-cake"] .bm-gallery .mbm-car__dot::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 8px;
  height: 8px;
  translate: -50% -50%;
  border-radius: 999px;
  background: rgb(243 234 213 / 0.55);
  box-shadow: 0 1px 4px rgb(0 0 0 / 0.6);
  transition: width 300ms var(--bm-ease), background-color 300ms ease;
}
main[data-world="happy-birthday-cake"] .bm-gallery .mbm-car__dot.on::before { width: 22px; background: var(--bm-gold); }
main[data-world="happy-birthday-cake"] .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="happy-birthday-cake"] .bm-cta {
  position: relative;
  isolation: isolate;
  min-height: clamp(560px, 52vw, 820px);
  display: grid;
  place-items: center;
  padding: 120px 20px;
}
main[data-world="happy-birthday-cake"] .bm-cta__scenery img { object-position: 50% 60%; }
main[data-world="happy-birthday-cake"] .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="happy-birthday-cake"] .bm-cta__inner::before {
  content: '';
  position: absolute;
  inset: -60px -90px;
  z-index: -1;
  background: radial-gradient(closest-side, rgb(255 255 255 / 0.72), rgb(255 255 255 / 0.4) 60%, rgb(255 255 255 / 0));
  pointer-events: none;
}
main[data-world="happy-birthday-cake"] .bm-cta__title { width: min(92%, 560px); margin: 0; line-height: 0; }
main[data-world="happy-birthday-cake"] .bm-cta__line {
  margin: 0;
  font-family: var(--bm-serif);
  font-size: clamp(18px, 1.6vw, 24px);
  letter-spacing: 0.04em;
  color: var(--bm-ivory);
}
main[data-world="happy-birthday-cake"] .bm-plaque-btn--cta { width: min(100%, 360px); }
main[data-world="happy-birthday-cake"] .bm-lettering__img { display: block; width: 100%; height: auto; }

/* ---------- 6. Concessions ------------------------------------------------ */
main[data-world="happy-birthday-cake"] .bm-treats {
  position: relative;
  isolation: isolate;
  padding: 110px clamp(16px, 5vw, 72px) 110px !important;
}
main[data-world="happy-birthday-cake"] .bm-treats .treats__inner { max-width: 1120px; margin-inline: auto; align-items: center; }
main[data-world="happy-birthday-cake"] .bm-treats .treats__head { margin: 0 auto 34px; text-align: center; }
main[data-world="happy-birthday-cake"] :is(#treats-title, #related-title) {
  display: block;
  width: min(80%, 460px);
  height: auto;
  margin-inline: auto;
  font-family: var(--bm-serif) !important;
  font-weight: 600 !important;
  line-height: 1.1 !important;
  letter-spacing: 0.03em !important;
  color: var(--bm-gold);
  text-shadow: 0 2px 18px rgb(255 255 255 / 0.9);
  text-align: center;
}
main[data-world="happy-birthday-cake"] .treats__line {
  margin: 10px auto 0;
  max-width: 44ch;
  font-size: 17px;
  color: var(--bm-ivory);
  text-shadow: 0 1px 10px rgb(255 255 255 / 0.95);
}
main[data-world="happy-birthday-cake"] .bm-treats .treats__grid { justify-content: center; gap: 28px; }
main[data-world="happy-birthday-cake"] .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(194 24 91 / 0.7) !important;
  background: linear-gradient(180deg, rgb(255 255 255 / 0.55), rgb(255 255 255 / 0.92) 58%) !important;
  box-shadow: 0 26px 50px -24px rgb(0 0 0 / 0.85) !important;
  transition: border-color 240ms var(--bm-ease), box-shadow 240ms var(--bm-ease);
}
main[data-world="happy-birthday-cake"] .bm-treats .treat::before {
  content: '';
  position: absolute;
  inset: 4px;
  border: 1px solid rgb(194 24 91 / 0.2);
  pointer-events: none;
}
main[data-world="happy-birthday-cake"] .bm-treats .treat.is-on {
  border-color: var(--bm-gold) !important;
  box-shadow: 0 0 0 1px var(--bm-gold), 0 0 30px rgb(194 24 91 / 0.25), 0 26px 50px -24px rgb(0 0 0 / 0.85) !important;
}
main[data-world="happy-birthday-cake"] .bm-treats .treat__media {
  aspect-ratio: 5 / 4;
  height: auto;
  overflow: hidden;
  border: 1px solid rgb(194 24 91 / 0.35);
  background: var(--bm-navy);
}
main[data-world="happy-birthday-cake"] .bm-treats .treat__media img { width: 100%; height: 100%; object-fit: cover; }
main[data-world="happy-birthday-cake"] .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="happy-birthday-cake"] .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="happy-birthday-cake"] .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="happy-birthday-cake"] .bm-treats .addon-add {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 132px;
  min-height: 46px !important;
  margin-top: 8px;
  padding: 0 24px !important;
  border: 1.5px solid var(--bm-gold) !important;
  border-radius: 999px !important;
  background: transparent !important;
  color: var(--bm-gold) !important;
  box-shadow: none !important;
  font-family: var(--bm-serif) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase;
  transition: background-color 200ms var(--bm-ease), color 200ms var(--bm-ease), transform 140ms var(--bm-ease) !important;
}
main[data-world="happy-birthday-cake"] .bm-treats .addon-add__icon { display: none; }
main[data-world="happy-birthday-cake"] .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="happy-birthday-cake"] .bm-treats .addon-add[aria-pressed="true"] { background: var(--bm-gold) !important; color: var(--bm-navy) !important; }
main[data-world="happy-birthday-cake"] .bm-treats .addon-add[aria-pressed="true"]::after { margin-left: 0 !important; }
main[data-world="happy-birthday-cake"] .bm-treats .addon-add:active { transform: scale(0.97); }
main[data-world="happy-birthday-cake"] .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="happy-birthday-cake"] .bm-treats .addon-add[aria-pressed="false"]:hover { background: rgb(194 24 91 / 0.16) !important; }
}
/* The shared mobile carousel controls, in gold. */
main[data-world="happy-birthday-cake"] :is(.bm-treats, .bm-related) .carousel-arrow,
main[data-world="happy-birthday-cake"] :is(.bm-treats, .bm-related) .carousel-position { color: var(--bm-gold); }

/* ---------- 7. Related ---------------------------------------------------- */
main[data-world="happy-birthday-cake"] .bm-related {
  position: relative;
  isolation: isolate;
  padding: 110px clamp(16px, 5vw, 72px) 150px !important;
}
main[data-world="happy-birthday-cake"] .bm-related .related__head { margin: 0 auto 38px; text-align: center; }
main[data-world="happy-birthday-cake"] .bm-related .related__grid { justify-content: center; gap: clamp(20px, 3vw, 48px); }
main[data-world="happy-birthday-cake"] .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="happy-birthday-cake"] .bm-related .card__media { position: relative; display: block; background: none !important; overflow: visible; aspect-ratio: 1; }
main[data-world="happy-birthday-cake"] .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="happy-birthday-cake"] .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="happy-birthday-cake"] .bm-related .card:nth-child(2) .card__cutout { animation-delay: -0.4s !important; }
main[data-world="happy-birthday-cake"] .bm-related .card:nth-child(3) .card__cutout { animation-delay: -0.8s !important; }
main[data-world="happy-birthday-cake"] .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="happy-birthday-cake"] .bm-related .card:nth-child(2) .card__stage::after { animation-delay: -0.4s; }
main[data-world="happy-birthday-cake"] .bm-related .card:nth-child(3) .card__stage::after { animation-delay: -0.8s; }
main[data-world="happy-birthday-cake"] .bm-related .card__info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding-top: 14px;
  text-align: center;
}
main[data-world="happy-birthday-cake"] .bm-related .card__name { margin: 0; font-size: 21px !important; font-weight: 600 !important; line-height: 1.2 !important; }
main[data-world="happy-birthday-cake"] .bm-related .card__name a { color: var(--bm-ivory); text-decoration: none; text-shadow: 0 1px 10px rgb(255 255 255 / 0.95); }
main[data-world="happy-birthday-cake"] .bm-related .card__price { margin: 0; color: var(--bm-gold) !important; font-size: 16px !important; font-weight: 600 !important; }
main[data-world="happy-birthday-cake"] .bm-related .card__cta {
  min-height: 46px !important;
  margin-top: 6px;
  padding: 0 26px !important;
  border: 1.5px solid var(--bm-gold) !important;
  border-radius: 999px !important;
  background: rgb(255 255 255 / 0.55) !important;
  color: var(--bm-gold) !important;
  box-shadow: none !important;
  font-family: var(--bm-serif) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  transition: background-color 200ms var(--bm-ease), transform 140ms var(--bm-ease) !important;
}
main[data-world="happy-birthday-cake"] .bm-related .card__cta:active { transform: scale(0.97) !important; }
main[data-world="happy-birthday-cake"] .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="happy-birthday-cake"] .bm-related .card__cta:hover { background: rgb(194 24 91 / 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 #C2185B;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.94);
  box-shadow: 0 12px 30px rgb(0 0 0 / 0.5);
  color: #16161F;
  font-family: 'Josefin Sans', 'Helvetica Neue', Arial, sans-serif;
  font-size: 15px;
  line-height: 1.35;
  text-align: center;
  opacity: 0;
  transform: translate(-50%, 16px);
  pointer-events: none;
  transition: opacity 200ms cubic-bezier(0.22, 1, 0.36, 1), transform 200ms cubic-bezier(0.22, 1, 0.36, 1);
}
.bm-toast.is-shown { opacity: 1; transform: translate(-50%, 0); }

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

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

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

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

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

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

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

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

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

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

  main[data-world="happy-birthday-cake"] .bm-gallery { padding-inline: 12px; }

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

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

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

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

@media (max-width: 767px) {
  main[data-world="happy-birthday-cake"] .bm-hero__features { font-size: 15px; }
  main[data-world="happy-birthday-cake"] .bm-hero__features .bm-hero__features-break { display: block; flex-basis: 100%; height: 0; }
  main[data-world="happy-birthday-cake"] .bm-details__heading { width: min(100%, 380px); margin-bottom: 18px; }
  main[data-world="happy-birthday-cake"] .bm-panel__safe { display: flex; }
  main[data-world="happy-birthday-cake"] .bm-details__description { font-size: 17px; }
  main[data-world="happy-birthday-cake"] .bm-missions { width: min(100%, 330px); gap: 2px; }
  main[data-world="happy-birthday-cake"] .bm-mission__label { font-size: 15px; }
  main[data-world="happy-birthday-cake"] .bm-crew__safe { inset: auto; gap: 12px; }
  main[data-world="happy-birthday-cake"] .bm-crew__media { height: 300px; }
  main[data-world="happy-birthday-cake"] .bm-crew__panel--water .bm-crew__media img,
  main[data-world="happy-birthday-cake"] .bm-crew__media img { width: auto; height: 100%; max-width: 100%; }
  main[data-world="happy-birthday-cake"] .bm-crew__controls .bm-stepper { flex-wrap: wrap !important; }
  main[data-world="happy-birthday-cake"] .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="happy-birthday-cake"] .bm-hero__card { border-color: transparent; }
main[data-world="happy-birthday-cake"] .bm-hero__card::before { content: none; }
main[data-world="happy-birthday-cake"] .bm-hero__title { position: relative; z-index: 3; }
main[data-world="happy-birthday-cake"] .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="happy-birthday-cake"] .bm-hero__frame > span {
  display: block;
  background-image: url('../../assets/bundled/product-worlds/happy-birthday-cake/frame-card.webp');
  background-repeat: no-repeat;
}
main[data-world="happy-birthday-cake"] .bm-hero__frame-tl { grid-area: tl; background-size: 482.667% 362%; background-position: 0% 0%; }
main[data-world="happy-birthday-cake"] .bm-hero__frame-t1 { grid-area: t1; background-size: 461.146% 362%; background-position: 26.455% 0%; }
main[data-world="happy-birthday-cake"] .bm-hero__frame-tc { grid-area: tc; background-size: 658.182% 362%; background-position: 50% 0%; }
main[data-world="happy-birthday-cake"] .bm-hero__frame-t2 { grid-area: t2; background-size: 461.146% 362%; background-position: 73.545% 0%; }
main[data-world="happy-birthday-cake"] .bm-hero__frame-tr { grid-area: tr; background-size: 482.667% 362%; background-position: 100% 0%; }
main[data-world="happy-birthday-cake"] .bm-hero__frame-l { grid-area: l; background-size: 482.667% 223.457%; background-position: 0% 50%; }
main[data-world="happy-birthday-cake"] .bm-hero__frame-r { grid-area: r; background-size: 482.667% 223.457%; background-position: 100% 50%; }
main[data-world="happy-birthday-cake"] .bm-hero__frame-bl { grid-area: bl; background-size: 482.667% 362%; background-position: 0% 100%; }
main[data-world="happy-birthday-cake"] .bm-hero__frame-b1 { grid-area: b1; background-size: 461.146% 362%; background-position: 26.455% 100%; }
main[data-world="happy-birthday-cake"] .bm-hero__frame-bc { grid-area: bc; background-size: 658.182% 362%; background-position: 50% 100%; }
main[data-world="happy-birthday-cake"] .bm-hero__frame-b2 { grid-area: b2; background-size: 461.146% 362%; background-position: 73.545% 100%; }
main[data-world="happy-birthday-cake"] .bm-hero__frame-br { grid-area: br; background-size: 482.667% 362%; background-position: 100% 100%; }
@media (max-width: 767px) {
  main[data-world="happy-birthday-cake"] .bm-hero__card > .bm-hero__frame { --s: 0.17; --it: 20px; --is: 16px; --ib: 22px; }
}
@media (max-width: 767px) {
  main[data-world="happy-birthday-cake"] .bm-hero__features .bm-hero__features-break + li::before { display: none; }
  main[data-world="happy-birthday-cake"] .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="happy-birthday-cake"] .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="happy-birthday-cake"] .bm-treats #treats-title {
  font-family: var(--bm-serif) !important;
  font-weight: 700 !important;
  line-height: 1.08 !important;
  letter-spacing: 0.02em !important;
  color: var(--bm-gold);
  text-shadow: 0 2px 4px rgb(255 255 255 / 0.9), 0 4px 22px rgb(255 255 255 / 0.85);
  white-space: nowrap;
}
main[data-world="happy-birthday-cake"] .bm-treats .treats__inner { width: 100%; max-width: 1120px; margin-inline: auto; }
main[data-world="happy-birthday-cake"] .bm-treats .treats__head { width: 100%; margin: 0 auto 34px; text-align: center; }
main[data-world="happy-birthday-cake"] .bm-treats .treats__grid { margin-inline: auto; }
@media (max-width: 767px) {
  main[data-world="happy-birthday-cake"] :is(#treats-title, #related-title) { width: min(84%, 320px); }
  main[data-world="happy-birthday-cake"] .bm-treats #treats-title { white-space: normal; text-wrap: balance; }
  main[data-world="happy-birthday-cake"] .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="happy-birthday-cake"] :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="happy-birthday-cake"] .bm-treats .carousel-shell .treat,
  main[data-world="happy-birthday-cake"] .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="happy-birthday-cake"] .bm-hero__card .bm-hero__tagline { aspect-ratio: 920 / 281; display: flex; align-items: center; justify-content: center; }
main[data-world="happy-birthday-cake"] .bm-hero__card .bm-hero__tagline img { width: 100%; height: auto; }

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

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

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

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

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

/* ---------- cake join: per-asset values (Fable, 2026-09-28) ----------
   The cake lettering is about 1.37:1 (template's title was 3.1:1), so the
   widths below keep the same on-screen HEIGHT as the template lettering. */
main[data-world="happy-birthday-cake"] .bm-hero__title { width: min(32vw, 460px); }
main[data-world="happy-birthday-cake"] .bm-hero__card .bm-hero__tagline { width: min(70%, 250px); aspect-ratio: 920 / 691; }
main[data-world="happy-birthday-cake"] .bm-plaque-btn__label { color: #16161F; text-shadow: 0 1px 0 rgb(255 255 255 / 0.7); }
@media (max-width: 767px) {
  main[data-world="happy-birthday-cake"] .bm-hero__title { width: min(76vw, 300px); }
  main[data-world="happy-birthday-cake"] .bm-hero__card .bm-hero__tagline { width: min(64%, 220px); }
}
/* cake diagrams are trimmed to their art, so no widening (template's
   122.5% / -8.94% came from art spanning x 7.3-88.9% of its canvas). The
   Deluxe diagram is portrait (1120x1332), so it is narrower to keep its height. */
main[data-world="happy-birthday-cake"] .bm-hq__open { width: 100%; margin: 0 auto; }
main[data-tier="deluxe"] .bm-hq__open { width: 76%; }
@media (max-width: 767px) {
  main[data-world="happy-birthday-cake"] .bm-hq__open { width: 100%; }
  main[data-tier="deluxe"] .bm-hq__open { width: 76%; }
}
/* Section lettering: the cake art is 1.3-1.9:1 (template's was 3-4.3:1),
   so each slot is narrowed to keep close to the template on-screen height. */
main[data-world="happy-birthday-cake"] .bm-crew__title { width: min(70%, 340px); }
main[data-world="happy-birthday-cake"] .bm-details__heading { width: min(60%, 300px); }
main[data-world="happy-birthday-cake"] .bm-lettering--hq { width: 36cqi; }
main[data-world="happy-birthday-cake"] .bm-hq__open { width: 84%; }
main[data-tier="deluxe"] .bm-hq__open { width: 62%; }
dialog.bm-dialog .bm-dialog__title, dialog.bm-dialog--dims .bm-dialog__title { width: 22cqi; }
@media (max-width: 767px) {
  main[data-world="happy-birthday-cake"] .bm-details__heading { width: min(70%, 260px); }
  main[data-world="happy-birthday-cake"] .bm-lettering--hq { width: 40cqi; }
  main[data-world="happy-birthday-cake"] .bm-hq__open { width: 84%; }
  main[data-tier="deluxe"] .bm-hq__open { width: 62%; }
  dialog.bm-dialog .bm-dialog__title, dialog.bm-dialog--dims .bm-dialog__title { width: 32cqi; }
}
/* cake frame safe areas (measured from the blue painted interior):
   panel (Portrait-01 rotated) x 19-84%, y 18-82%; dimensions (Portrait-02
   rotated) x 21-82%, y 19-81%; portrait (Portrait-04) x 17-83%, y 21-79%.
   cqi = % of frame width; y% x 0.75 for the 1448x1086 frames, x 1.25 for 1122x1402. */
@media (min-width: 768px) {
  main[data-world="happy-birthday-cake"] .bm-panel__safe { inset: 14.5cqi 16.5cqi 14.5cqi 19.5cqi; }
  .bm-dialog__safe { inset: 14.5cqi 16.5cqi 14.5cqi 19.5cqi; }
  .bm-dialog--dims .bm-dialog__safe { inset: 15cqi 18.5cqi 15cqi 21.5cqi; }
}
main[data-world="happy-birthday-cake"] .bm-hq__safe { inset: 23cqi 17cqi 25cqi; }
main[data-world="happy-birthday-cake"] .bm-hq__open::after { inset: -23cqi -17cqi -25cqi; }
@media (max-width: 767px) {
  .bm-dialog__safe, .bm-dialog--dims .bm-dialog__safe { inset: 24cqi 17cqi 25cqi; }
}
main[data-world="happy-birthday-cake"] .bm-hq__open { width: 60%; }
main[data-tier="deluxe"] .bm-hq__open { width: 44%; }
main[data-tier="ultimate"] .bm-hq__diagram-wrap--carousel { width: 70%; margin-inline: auto; }

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

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

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

/* Features line: the house's features, the card's lead line (template sets
   them as its main line under the tagline). the display font at a readable size. */
main[data-world="happy-birthday-cake"] .bm-hero__features {
  font-size: 23px;
  font-weight: 400;
  font-variant: normal;
  letter-spacing: 0.04em;
  color: #C2185B;
  text-shadow: 1.5px 1.5px 0 rgb(22 22 31 / 0.85);
}
main[data-world="happy-birthday-cake"] .bm-hero__features li + li::before { width: 7px; height: 7px; margin: 0 12px; background: #C2185B; }
@media (max-width: 767px) {
  main[data-world="happy-birthday-cake"] .bm-hero__features { font-size: 19px; }
}

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

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


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

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

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

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

/* Hero: "cake" (1280x304) takes the space template's title did; the
   tagline "Worth melting for" is 1280x420, close to template's ratio. */
main[data-world="happy-birthday-cake"] .bm-hero__title { width: min(66vw, 1060px); filter: drop-shadow(0 6px 22px rgb(22 22 31 / 0.45)); }
main[data-world="happy-birthday-cake"] .bm-hero__card .bm-hero__tagline { width: min(84%, 340px); aspect-ratio: auto; }
@media (max-width: 767px) {
  main[data-world="happy-birthday-cake"] .bm-hero__title { width: calc(100vw - 20px); }
  main[data-world="happy-birthday-cake"] .bm-hero__card .bm-hero__tagline { width: min(80%, 290px); }
}

/* Section lettering: the cake art is 3-5.9:1, like template's, so template's widths. */
main[data-world="happy-birthday-cake"] .bm-details__heading { width: min(84%, 640px); }
main[data-world="happy-birthday-cake"] .bm-crew__title { width: min(86%, 560px); }
main[data-world="happy-birthday-cake"] :is(#treats-title, #related-title) img { width: min(80%, 520px); }
@media (max-width: 767px) {
  main[data-world="happy-birthday-cake"] .bm-details__heading { width: min(92%, 380px); }
  main[data-world="happy-birthday-cake"] .bm-crew__title { width: min(92%, 380px); }
  main[data-world="happy-birthday-cake"] :is(#treats-title, #related-title) img { width: min(88%, 340px); }
}

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

/* Hero card 9-slice: frame-card is the cake frame (1448x1086) with its
   side and bar sections made plain so they stretch cleanly; the crest
   (x 434-1014) and bottom gem are the fixed centre pieces. Inner edges
   T314 L214 R178 B229. background-size = source / piece; position =
   piece start / (source - piece). */
main[data-world="happy-birthday-cake"] .bm-hero__card > .bm-hero__frame {
  top: calc(var(--it) - 314px * var(--s));
  left: calc(var(--is) - 214px * var(--s));
  right: calc(var(--is) - 178px * var(--s));
  bottom: calc(var(--ib) - 229px * var(--s));
  grid-template-columns: calc(300px * var(--s)) minmax(0, 1fr) calc(580px * var(--s)) minmax(0, 1fr) calc(300px * var(--s));
  grid-template-rows: calc(300px * var(--s)) minmax(0, 1fr) calc(300px * var(--s));
}
main[data-world="happy-birthday-cake"] .bm-hero__frame-tl { background-size: 482.667% 362%; background-position: 0% 0%; }
main[data-world="happy-birthday-cake"] .bm-hero__frame-t1 { background-size: 1080.597% 362%; background-position: 22.831% 0%; }
main[data-world="happy-birthday-cake"] .bm-hero__frame-tc { background-size: 249.655% 362%; background-position: 50% 0%; }
main[data-world="happy-birthday-cake"] .bm-hero__frame-t2 { background-size: 1080.597% 362%; background-position: 77.169% 0%; }
main[data-world="happy-birthday-cake"] .bm-hero__frame-tr { background-size: 482.667% 362%; background-position: 100% 0%; }
main[data-world="happy-birthday-cake"] .bm-hero__frame-l { background-size: 482.667% 223.457%; background-position: 0% 50%; }
main[data-world="happy-birthday-cake"] .bm-hero__frame-r { background-size: 482.667% 223.457%; background-position: 100% 50%; }
main[data-world="happy-birthday-cake"] .bm-hero__frame-bl { background-size: 482.667% 362%; background-position: 0% 100%; }
main[data-world="happy-birthday-cake"] .bm-hero__frame-b1 { background-size: 1080.597% 362%; background-position: 22.831% 100%; }
main[data-world="happy-birthday-cake"] .bm-hero__frame-bc { background-size: 249.655% 362%; background-position: 50% 100%; }
main[data-world="happy-birthday-cake"] .bm-hero__frame-b2 { background-size: 1080.597% 362%; background-position: 77.169% 100%; }
main[data-world="happy-birthday-cake"] .bm-hero__frame-br { background-size: 482.667% 362%; background-position: 100% 100%; }
/* Card fill: the ice-white fill is painted into frame-card.webp up to the
   rails; this flat fill (same colour) sits well inside them, and the
   booking block sits above the frame so the rails never cover the buttons. */
main[data-world="happy-birthday-cake"] .bm-hero__card::before { inset: calc(var(--it) + 10px) calc(var(--is) + 20px) calc(var(--ib) + 20px); background: #FFFAEE; }
main[data-world="happy-birthday-cake"] .bm-hero__card > .bm-hero__booking { z-index: 3; }

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

/* ---------- cake art: dividers and characters (Sabrina, 2026-09-28) ----------
   Between sections, ice overlays and character dividers take turns:
   hero > details: ice band (the details top ornament)
   details > gallery: pair and pair lying on the snow
   gallery > crew: ice band (overlay, turned sideways)
   crew > treats: crown's ice magic from the left
   treats > related: ice band (right overlay, turned sideways)
   Characters stand on frames and the ground; all decorative. */
main[data-world="happy-birthday-cake"] :is(.bm-hq, .bm-gallery__stage, .bm-crew__panels, .treats__inner) { position: relative; }
main[data-world="happy-birthday-cake"] :is(.bm-divider, .bm-char) { position: absolute; height: auto; pointer-events: none; }
main[data-world="happy-birthday-cake"] .bm-char { z-index: 3; filter: drop-shadow(0 8px 10px rgb(22 22 31 / 0.28)); }
main[data-world="happy-birthday-cake"] :is(.bm-divider--band, .bm-divider--band2) {
  left: 0; top: 0; z-index: 4; width: 100%; height: var(--orn-h, 200px); object-fit: fill; transform: translateY(-40%);
}
main[data-world="happy-birthday-cake"] .bm-related { --orn-h: clamp(196px, 7.4vw + 93px, 237px); }
main[data-world="happy-birthday-cake"] .bm-divider--pair-a { z-index: 5; left: 50%; bottom: 0; width: min(46vw, 640px); transform: translate(-50%, 42%); }
main[data-world="happy-birthday-cake"] .bm-divider--crown { z-index: 4; left: 0; top: 0; width: min(38vw, 520px); transform: translateY(-38%); }

/* crown peeks out from behind the dimensions card's left edge. */
main[data-world="happy-birthday-cake"] .bm-char--peek { z-index: 0; width: 22%; right: 88%; top: 30%; }
/* pair waves from the carousel frame's bottom-left corner, outside the
   sliding track, so he stays put as the photos change. */
main[data-world="happy-birthday-cake"] .bm-char--pair { z-index: 5; width: clamp(96px, 10vw, 160px); left: -1.5%; bottom: -4%; }
/* crown and pair stand to the left of the crew cards, pair to the right. */
main[data-world="happy-birthday-cake"] .bm-char--group-a { width: min(16vw, 250px); left: 0; bottom: 0; }
main[data-world="happy-birthday-cake"] .bm-char--pair { width: min(11vw, 170px); right: 1%; bottom: 0; }
/* pair and pair peek over the Sno Cone card, from behind it. */
main[data-world="happy-birthday-cake"] .treats__grid { position: relative; z-index: 4; }
main[data-world="happy-birthday-cake"] .bm-char--pair-b { width: 190px; right: 12%; top: 0; }
/* The whole gang stands on the ground beside the related cards. */
main[data-world="happy-birthday-cake"] .bm-char--group { width: min(20vw, 300px); right: 1%; bottom: 30px; }
@media (max-width: 767px) {
  main[data-world="happy-birthday-cake"] :is(.bm-char--group-a, .bm-char--pair, .bm-char--peek) { display: none; }
  main[data-world="happy-birthday-cake"] .bm-divider--pair-a { width: 86vw; }
  main[data-world="happy-birthday-cake"] .bm-divider--crown { width: 62vw; }
  main[data-world="happy-birthday-cake"] .bm-char--pair { width: 64px; left: -1%; bottom: -10%; }
  main[data-world="happy-birthday-cake"] .bm-char--pair-b { width: 120px; right: 4%; }
  main[data-world="happy-birthday-cake"] .bm-char--group { width: 130px; right: 2%; bottom: 16px; }
}
/* Section order is hero, details, crew, gallery, treats, related: the ice
   band crosses crew > gallery, and the details section paints above the
   crew so pair and pair lie across that boundary. */
main[data-world="happy-birthday-cake"] .bm-details { position: relative; z-index: 6; }
main[data-world="happy-birthday-cake"] .bm-gallery { --orn-h: clamp(196px, 7.4vw + 93px, 237px); }
main[data-world="happy-birthday-cake"] .bm-divider--crown { width: min(30vw, 400px); }
main[data-world="happy-birthday-cake"] .bm-char--pair-b { top: 24px; right: 8%; }
@media (max-width: 767px) {
  main[data-world="happy-birthday-cake"] .bm-divider--crown { width: 56vw; }
}
/* Deluxe and Ultimate pair two crew cards across the width, so the
   standing characters beside them are Classic only. */
main[data-world="happy-birthday-cake"]:not([data-tier="classic"]) :is(.bm-char--group-a, .bm-char--pair) { display: none; }
@media (max-width: 767px) {
  main[data-world="happy-birthday-cake"] .bm-char--pair-b { display: none; }
  main[data-world="happy-birthday-cake"] .bm-divider--crown { width: 44vw; transform: translateY(-58%); }
}
/* pair and pair (Sabrina, 2026-09-28): the art is mirrored so pair lies
   on the left and his cropped side meets the screen's left edge. */
main[data-world="happy-birthday-cake"] .bm-divider--pair-a { left: 0; transform: translateY(42%) scaleX(-1); }

/* ---------- cake edit round 1 (Sabrina, 2026-09-29) ---------- */

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

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

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

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

/* Dividers: crown's ice magic on the right at hero > details (mirrored so
   crown sits at the right edge, whole); pair and pair lie on the white
   seam at details > crew. The stretched ice bands are gone. */
main[data-world="happy-birthday-cake"] .bm-divider--crown { left: auto; right: 0; top: 0; z-index: 5; width: min(34vw, 480px); transform: translateY(-46%) scaleX(-1); }
main[data-world="happy-birthday-cake"] .bm-divider--pair-a { transform: translateY(12%) scaleX(-1); }
/* pair and pair in the treats section's bottom-left corner. */
main[data-world="happy-birthday-cake"] .bm-char--pair-b { top: auto; right: auto; left: 0; bottom: 0; width: min(16vw, 230px); display: block; }
@media (max-width: 767px) {
  main[data-world="happy-birthday-cake"] .bm-divider--crown { width: 52vw; transform: translateY(-40%) scaleX(-1); }
  main[data-world="happy-birthday-cake"] .bm-char--pair-b { width: 110px; }
}
/* Hero alignment (Sabrina, 2026-09-29): the crown makes the card's face
   sit low in its box (face centre ~60% down), so on desktop the house
   moves down to line up with the face centre. */
@media (min-width: 768px) {
  main[data-world="happy-birthday-cake"] .bm-hero__stage { align-items: center; }
  main[data-world="happy-birthday-cake"] .bm-hero__product { align-self: center; transform: translateY(96px); }
}

/* ---------- cake edit round 2 (Sabrina, 2026-09-29) ---------- */
/* pair and pair: the add-ons section's bottom-right corner. */
main[data-world="happy-birthday-cake"] .bm-char--pair-b { left: auto; right: 0; }
/* Measurements under the diagram, smaller. */
main[data-world="happy-birthday-cake"] .bm-dims--card dt { font-size: max(10px, 1.9cqi); }
main[data-world="happy-birthday-cake"] .bm-dims--card dd { font-size: max(12px, 3cqi); }
/* Detail buttons: the label centres on the plaque; the + sits at the right
   end of the face instead of pushing the text off centre. */
main[data-world="happy-birthday-cake"] .bm-mission__face { justify-content: center; }
main[data-world="happy-birthday-cake"] .bm-mission__label { flex: 1 1 auto; text-align: center; padding-inline: 11%; }
main[data-world="happy-birthday-cake"] .bm-mission__face .bm-mission__plus { position: absolute; right: 1%; top: 50%; height: 46%; transform: translateY(-50%); }
@media (hover: hover) and (pointer: fine) {
  main[data-world="happy-birthday-cake"] .bm-mission:hover .bm-mission__face .bm-mission__plus { transform: translateY(-50%) rotate(90deg); }
}
/* Popups: title and text start below the frame's crest and end above its
   bottom gem (frame 4: crest to y 35.5%, gem from y 70.4%; frame.png:
   crest to 31.8%, gem from 76%). */
@media (min-width: 768px) {
  .bm-dialog__safe { inset: 27cqi 15cqi 23cqi; }
  .bm-dialog--dims .bm-dialog__safe { inset: 25cqi 15cqi 19cqi; }
}
/* Description: a light, see-through blue behind the text. */
main[data-world="happy-birthday-cake"] .bm-details__description {
  background: linear-gradient(160deg, rgb(170 205 120 / 0.26), rgb(110 170 80 / 0.2));
  border-color: rgb(210 176 104 / 0.9);
}
main[data-world="happy-birthday-cake"] .bm-mission__label { font-size: clamp(14px, 1.95cqi, 20px); padding-inline: 12%; }
@media (max-width: 767px) {
  main[data-world="happy-birthday-cake"] .bm-mission__label { font-size: 17px; }
}
/* crown divider in its original orientation (Sabrina, 2026-09-29): on the
   right, her train runs off the right edge as drawn. */
main[data-world="happy-birthday-cake"] .bm-divider--crown { transform: translateY(-46%); }
@media (max-width: 767px) {
  main[data-world="happy-birthday-cake"] .bm-divider--crown { transform: translateY(-40%); }
}
/* Detail button labels: the display font's capitals sit above the middle of the line
   box, so the label drops 0.12em to centre the letters on the plaque face. */
main[data-world="happy-birthday-cake"] .bm-mission__label { position: relative; top: 0.08em; }
/* crown's dress edge sits on the white seam between hero and details. */
main[data-world="happy-birthday-cake"] .bm-divider--crown { transform: translateY(-100%); }
@media (max-width: 767px) {
  main[data-world="happy-birthday-cake"] .bm-divider--crown { transform: translateY(-100%); }
}
/* Plaque buttons (Check availability): the capitals drop 0.12em to the
   face centre, and a leading pad equal to the letter-spacing balances the
   space the tracking leaves after the last letter. */
main[data-world="happy-birthday-cake"] .bm-plaque-btn__label { position: relative; top: 0.06em; padding-left: 0.1em; }
/* pair and pair flipped (Sabrina, 2026-09-29). */
main[data-world="happy-birthday-cake"] .bm-char--pair-b { transform: scaleX(-1); }
/* Phones: the hero background runs behind the whole hero, card included,
   fading only at the very bottom (the page below is light, not navy). */
@media (max-width: 767px) {
  main[data-world="happy-birthday-cake"] .bm-hero__scenery {
    bottom: 0;
    height: auto;
    -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 120px), transparent);
    mask-image: linear-gradient(to bottom, #000 calc(100% - 120px), transparent);
  }
  main[data-world="happy-birthday-cake"] .bm-hero__scenery img { object-position: 50% 50%; }
}
/* Phones: the crew cards keep the silver ice frame (Sabrina, 2026-09-29).
   The frame (1122x1402; face x 21-79%, y 19-87%) is drawn as a border that
   grows with the card, full width, so it never stretches sideways. */
@media (max-width: 767px) {
  main[data-world="happy-birthday-cake"] .bm-crew__panel {
    --k: 0.31;
    width: calc(1122px * var(--k));
    max-width: 100%;
    margin-inline: auto;
    background: none;
    border: 0;
    box-shadow: none;
    border-style: solid;
    border-color: transparent;
    border-width: calc(300px * var(--k)) calc(230px * var(--k)) calc(250px * var(--k));
    border-image: url('../../assets/bundled/product-worlds/happy-birthday-cake/frame-hq.webp') 300 230 250 fill / calc(300px * var(--k)) calc(230px * var(--k)) calc(250px * var(--k)) stretch;
  }
  main[data-world="happy-birthday-cake"] .bm-crew__panel::before { content: none; }
  main[data-world="happy-birthday-cake"] .bm-crew__safe { padding: 0 0 6px; margin: -18px -8px -24px; }
}
@media (max-width: 380px) {
  main[data-world="happy-birthday-cake"] .bm-crew__panel { --k: 0.29; }
}
@media (max-width: 767px) {
  main[data-world="happy-birthday-cake"] .bm-crew__safe { margin: -14px 8px 10px; padding: 0; gap: 12px; }
  main[data-world="happy-birthday-cake"] .bm-crew__character { width: 112px; }
  main[data-world="happy-birthday-cake"] .bm-crew__text { font-size: 15px; }
  main[data-world="happy-birthday-cake"] .bm-crew__panel--water .bm-water__img { width: 70%; }
}
/* pair and pair: the snow's cut side (the art's right edge, shown on the
   left once flipped) softens into the scene; the figures stay untouched. */
main[data-world="happy-birthday-cake"] .bm-char--pair-b {
  -webkit-mask-image: linear-gradient(#000, #000), linear-gradient(to right, #000 62%, transparent 100%);
  -webkit-mask-size: 100% 60%, 100% 100%;
  -webkit-mask-position: top, center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-composite: source-over;
  mask-image: linear-gradient(#000, #000), linear-gradient(to right, #000 62%, transparent 100%);
  mask-size: 100% 60%, 100% 100%;
  mask-position: top, center;
  mask-repeat: no-repeat;
  mask-composite: add;
}
/* Description card: Sabrina's wide silver-ice frame (1448x815; face
   x 7-93%, y 21-83%, crests reach y 31% and from y 72% at the centre). */
@media (min-width: 768px) {
  main[data-world="happy-birthday-cake"] .bm-panel { aspect-ratio: 1448 / 815; }
  main[data-world="happy-birthday-cake"] .bm-panel__safe { inset: 14cqi 9cqi 13cqi; }
}
/* Description text sits straight on the frame's ice face, no card behind it (Sabrina, 2026-09-29). */
main[data-world="happy-birthday-cake"] .bm-details__description { background: none; border: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }

/* Carousel arrows (Sabrina, 2026-09-29): the chevron is pinned to the
   circle's exact centre (the hidden glyph no longer shares the grid), drawn
   on a symmetric path. */
main[data-world="happy-birthday-cake"] .bm-gallery .mbm-car__arw { position: absolute; }
main[data-world="happy-birthday-cake"] .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="happy-birthday-cake"] .bm-gallery .mbm-car__arw svg { display: none; }

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

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


/* ---------- Happy Birthday Cake join: per-asset values ----------
   Measured from the cake art (frames trimmed to their alpha bounds). Fractions of the trimmed frame:
     frame-description / -panel / -card-wide / -dimensions (cream landscape) 1429x1060: face x 7-93%, y 17-87%;
        bunting hangs to y 27% and the icing rises from y 80%, so text stays in x 12-88%, y 30-80%
     frame-hq / frame-portrait (blue, square-ish) 1111x1374: face x 16-85%, y 22-84%; clean x 21-79%, y 27-80%
     frame-card (blue, tall) 923x1618: face x 14-86%, y 29-90%; clean x 20-80%, y 33-86%
     cta-shell (Book now marquee, painted label) 2113x678; mission-plus (square plus button) 1144x1088
   All paints use tokens: ink #16161F, berry #C2185B, glow #FFF1F7. */

/* Page ground: a pale pink to pale blue glow, so every seam is a tint of the world, never white. */
body main#main[data-world="happy-birthday-cake"] { background: linear-gradient(180deg, #FFF1F7, #EAF4FF 50%, #FFF1F7) !important; }

/* Typed titles (no lettering art is supplied): display font, ink, a pale glow so they read on the busy scenery. */
html body main#main[data-world="happy-birthday-cake"] .bm-type-title {
  display: inline-block;
  font-family: var(--bm-serif) !important;
  font-weight: 400 !important;
  letter-spacing: 0.01em !important;
  line-height: 1.15 !important;
  white-space: nowrap;
  color: var(--bm-ivory);
  text-shadow: 0 0 2px #fff, 0 0 6px #fff, 0 0 14px #FFF1F7, 0 0 26px #FFF1F7, 0 0 40px #FFF1F7;
}
html body main#main[data-world="happy-birthday-cake"] :is(.bm-details__heading, .bm-crew__title, #treats-title, #related-title) {
  filter: none;
  text-align: center;
  white-space: nowrap;
  font-family: var(--bm-serif) !important;
  font-weight: 400 !important;
  color: var(--bm-ivory);
  line-height: 1.15 !important;
  width: 100% !important;
  max-width: none !important;
}
html body main#main[data-world="happy-birthday-cake"] :is(.bm-details__heading, .bm-crew__title) { font-size: clamp(40px, 4.2vw, 60px) !important; }
html body main#main[data-world="happy-birthday-cake"] :is(#treats-title, #related-title) { text-shadow: none; }
@media (max-width: 767px) {
  html body main#main[data-world="happy-birthday-cake"] :is(.bm-details__heading, .bm-crew__title, #treats-title, #related-title) { font-size: clamp(28px, 8.4vw, 36px) !important; margin-inline: auto; }
  html body main#main[data-world="happy-birthday-cake"] :is(.bm-details__heading, .bm-crew__title) { width: 100% !important; }
}

/* Hero title: one line, as large as the stage allows. */
html body main#main[data-world="happy-birthday-cake"] .bm-hero__title { grid-area: title; justify-self: center; text-align: center; white-space: nowrap; filter: none; width: 100% !important; max-width: none !important; font-family: var(--bm-serif) !important; font-weight: 400 !important; color: var(--bm-ivory); font-size: min(7vw, 104px) !important; line-height: 1.6 !important; margin: 0; z-index: 3; }
html body main#main[data-world="happy-birthday-cake"] .bm-hero__title .bm-hero__title-text { font-size: inherit; line-height: inherit !important; position: relative; }
html body main#main[data-world="happy-birthday-cake"] .bm-hero__title .bm-hero__title-text::before { content: ''; position: absolute; z-index: -1; inset: -6% -9% -4%; border-radius: 50%; background: radial-gradient(closest-side, rgb(255 241 247 / 0.94), rgb(255 241 247 / 0.78) 62%, rgb(255 241 247 / 0)); pointer-events: none; }
@media (max-width: 767px) {
  html body main#main[data-world="happy-birthday-cake"] .bm-hero__title { font-size: 40px !important; line-height: 84px !important; height: 84px; margin-top: 6px; }
}

/* Hero stage: product and card share the row, gap wide enough for the frame's overhang. */
html body main#main[data-world="happy-birthday-cake"] .bm-hero { padding-top: 40px; }
@media (min-width: 1100px) {
  html body main#main[data-world="happy-birthday-cake"] .bm-hero__stage { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(32px, 3vw, 56px); }
  html body main#main[data-world="happy-birthday-cake"] .bm-hero__product { align-self: center; transform: none; margin-top: 0; justify-self: center; width: 100%; }
  html body main#main[data-world="happy-birthday-cake"] .bm-hero__card { justify-self: end; }
}
@media (min-width: 1100px) and (max-width: 1399px) {
  html body main#main[data-world="happy-birthday-cake"] .bm-hero__stage { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
}
html body main#main[data-world="happy-birthday-cake"] .bm-hero__img { translate: none !important; }

/* Hero card: the cream cake frame behind the content, never stretched. The frame sits centred and a little
   wider than the card box (its balloons hang into the gap); the content lives in the clean face. */
html body main#main[data-world="happy-birthday-cake"] .bm-hero__card {
  container-type: inline-size;
  position: relative;
  display: block;
  width: min(100%, 640px);
  max-width: 100%;
  min-height: 0;
  aspect-ratio: 1 / 0.9;
  padding: 0;
  margin: 0;
  gap: 0;
  border: 0;
  background: none;
  box-shadow: none;
  --it: 0px; --is: 0px; --ib: 0px;
}
html body main#main[data-world="happy-birthday-cake"] .bm-hero__card::before { content: none !important; }
html body main#main[data-world="happy-birthday-cake"] .bm-hero__card > .bm-hero__frame {
  position: absolute;
  inset: auto;
  left: 50%;
  top: 50%;
  width: 112%;
  height: auto;
  translate: -50% -50%;
  display: block;
  border: 0;
  border-image: none;
  background: none;
  z-index: 0;
  pointer-events: none;
}
html body main#main[data-world="happy-birthday-cake"] .bm-hero__card > .bm-hero__frame picture, html body main#main[data-world="happy-birthday-cake"] .bm-hero__card > .bm-hero__frame img { display: block; width: 100%; height: auto; }
html body main#main[data-world="happy-birthday-cake"] .bm-hero__card-in {
  position: absolute;
  inset: 26.2cqi 7.4cqi 22.3cqi;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: 3cqi;
  align-items: center;
}
html body main#main[data-world="happy-birthday-cake"] .bm-hero__lead { display: flex; flex-direction: column; align-items: center; gap: 1.4cqi; min-width: 0; }
html body main#main[data-world="happy-birthday-cake"] .bm-hero__card-in > .bm-hero__booking { width: 100%; margin: 0; gap: 0.8cqi; z-index: 3; }
html body main#main[data-world="happy-birthday-cake"] .bm-hero__card .bm-hero__tagline { width: 100%; max-width: none; aspect-ratio: auto; margin: 0; line-height: 1; text-align: center; }
html body main#main[data-world="happy-birthday-cake"] .bm-hero__card .bm-hero__tagline-text { font-size: 6.6cqi; text-shadow: none; }
html body main#main[data-world="happy-birthday-cake"] .bm-hero__card .bm-hero__features { font-size: 4cqi; margin: 0; gap: 1cqi 0; color: var(--bm-gold); text-shadow: none; font-variant: normal; }
html body main#main[data-world="happy-birthday-cake"] .bm-hero__card .bm-hero__features li + li::before { background: var(--bm-gold); margin: 0 1.2cqi; width: 1.1cqi; height: 1.1cqi; }
html body main#main[data-world="happy-birthday-cake"] .bm-hero__card .bm-hero__features li { white-space: nowrap; }
html body main#main[data-world="happy-birthday-cake"] .bm-hero__card p.bm-hero__blurb--phone { font-size: 2.8cqi !important; line-height: 1.35 !important; margin: 0 !important; padding: 0 !important; color: var(--bm-ivory); text-shadow: none; }
html body main#main[data-world="happy-birthday-cake"] .bm-hero__card :is(.rental-rates, .wetdry) { gap: 0.8cqi; flex-direction: column; flex-wrap: nowrap; align-items: center; }
html body main#main[data-world="happy-birthday-cake"] .bm-hero__card :is(.rental-rates, .wetdry) legend { font-size: 2.6cqi; margin: 0 0 0.6cqi; text-shadow: none; color: var(--bm-ivory); line-height: 1.1; }
html body main#main[data-world="happy-birthday-cake"] .bm-hero__card :is(.rental-rates label > span, .wetdry__opt span) { min-height: 6.6cqi !important; padding: 0.4cqi 3cqi !important; font-size: 2.65cqi !important; background: rgb(255 255 255 / 0.9) !important; }
html body main#main[data-world="happy-birthday-cake"] .bm-hero__card .rental-rates__price { font-size: 3.3cqi; }
html body main#main[data-world="happy-birthday-cake"] .bm-hero__card .bm-hero__water { gap: 0.4cqi; }
html body main#main[data-world="happy-birthday-cake"] .bm-hero__card .bm-hero__water .bm-switch { min-height: 6.4cqi; }
html body main#main[data-world="happy-birthday-cake"] .bm-hero__card .bm-switch__text { font-size: 2.7cqi; }
html body main#main[data-world="happy-birthday-cake"] .bm-hero__card .bm-hero__actions { margin-top: 0.6cqi; }
/* Book now marquee: the painted lettering is the label. */
html body main#main[data-world="happy-birthday-cake"] .bm-plaque-btn { aspect-ratio: 2113 / 678; width: min(100%, 290px); display: block; container-type: normal; }
html body main#main[data-world="happy-birthday-cake"] .bm-hero__card .bm-plaque-btn--hero { width: 88%; margin-inline: auto; }
html body main#main[data-world="happy-birthday-cake"] .bm-plaque-btn__shell { position: absolute; inset: 0; width: 100%; height: 100%; }
html body main#main[data-world="happy-birthday-cake"] .bm-plaque-btn::after { inset: 8% 2% 12%; border-radius: 22px; }

@media (max-width: 767px) {
  html body main#main[data-world="happy-birthday-cake"] .bm-hero__stage { grid-template-columns: minmax(0, 1fr); grid-template-areas: "title" "product" "card"; row-gap: 6px; }
  html body main#main[data-world="happy-birthday-cake"] .bm-hero__card { width: min(100%, 366px); aspect-ratio: 923 / 1618; margin-inline: auto; justify-self: center; min-height: 0; display: block; }
  html body main#main[data-world="happy-birthday-cake"] .bm-hero__card > .bm-hero__frame { left: 0; top: 0; width: 100%; translate: none; }
  html body main#main[data-world="happy-birthday-cake"] .bm-hero__card-in { inset: 55cqi 19cqi 24cqi; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2.4cqi; }
  html body main#main[data-world="happy-birthday-cake"] .bm-hero__lead { gap: 1.6cqi; width: 100%; }
  html body main#main[data-world="happy-birthday-cake"] .bm-hero__card-in > .bm-hero__booking { gap: 2cqi; }
  html body main#main[data-world="happy-birthday-cake"] .bm-hero__card .bm-hero__tagline-text { font-size: 8.6cqi; }
  html body main#main[data-world="happy-birthday-cake"] .bm-hero__card .bm-hero__features { font-size: 5.4cqi; }
  html body main#main[data-world="happy-birthday-cake"] .bm-hero__card .bm-hero__features li + li::before { margin: 0 2cqi; width: 1.8cqi; height: 1.8cqi; }
  html body main#main[data-world="happy-birthday-cake"] .bm-hero__card p.bm-hero__blurb--phone { font-size: 3.6cqi !important; line-height: 1.32 !important; }
  html body main#main[data-world="happy-birthday-cake"] .bm-hero__card :is(.rental-rates, .wetdry) { flex-direction: row; flex-wrap: wrap; gap: 2cqi; justify-content: center; }
  html body main#main[data-world="happy-birthday-cake"] .bm-hero__card :is(.rental-rates, .wetdry) legend { font-size: 3.5cqi; margin: 0; }
  html body main#main[data-world="happy-birthday-cake"] .bm-hero__card :is(.rental-rates label > span, .wetdry__opt span) { min-height: 10.4cqi !important; padding: 1cqi 3.4cqi !important; font-size: 3.6cqi !important; }
  html body main#main[data-world="happy-birthday-cake"] .bm-hero__card .rental-rates__price { font-size: 4.2cqi; }
  html body main#main[data-world="happy-birthday-cake"] .bm-hero__card .bm-switch { min-height: 10cqi; }
  html body main#main[data-world="happy-birthday-cake"] .bm-hero__card .bm-switch__text { font-size: 3.7cqi; }
  html body main#main[data-world="happy-birthday-cake"] .bm-hero__card .bm-plaque-btn--hero { width: 78%; }
}

/* Mission buttons (Setup needs, What's included, Rules and policies): each row is the painted sitewide soft pink
   button (button-plank.webp, 2080x591) at its own ratio with the label pixel-centred on its face (faces.json). */
html body main#main[data-world="happy-birthday-cake"] .bm-details .bm-mission:not(#x):not(#y) { position: relative; display: block; width: 100% !important; max-width: 100% !important; aspect-ratio: 2080 / 591; height: auto !important; margin: 0 0 1.4cqi !important; padding: 0 !important; background: none; border: 0; border-radius: 0; box-shadow: none; }
html body main#main[data-world="happy-birthday-cake"] .bm-details .bm-mission__shell:not(#x):not(#y) { position: absolute; inset: 0; right: auto; top: auto; width: 100%; height: 100%; aspect-ratio: auto; translate: none; object-fit: fill; pointer-events: none; }
html body main#main[data-world="happy-birthday-cake"] .bm-details .bm-mission__face:not(#x):not(#y) { position: absolute; inset: 12% 12% 16% !important; left: 12% !important; right: 12% !important; display: flex; align-items: center; justify-content: center; padding: 0 !important; margin: 0 !important; width: auto !important; font-size: inherit !important; min-width: 0 !important; }
html body main#main[data-world="happy-birthday-cake"] .bm-details .bm-mission__label:not(#x):not(#y) {
  position: static; flex: 1 1 auto !important; width: 100% !important; min-width: 0 !important; max-width: 100% !important; margin: 0 !important; padding: 0 !important; top: 0; translate: none;
  font-family: var(--bm-serif) !important; font-size: 18px !important; font-weight: 400 !important; letter-spacing: 0.01em !important; line-height: 1.1 !important;
  text-transform: none; white-space: nowrap !important; text-align: center; color: var(--bm-ivory); text-shadow: none;
}
html body main#main[data-world="happy-birthday-cake"] .bm-details .bm-mission__ring:not(#x):not(#y) { inset: 0; border-radius: 999px; }
html body main#main[data-world="happy-birthday-cake"] .bm-details .bm-mission .bm-mission__plus { display: none !important; }
@media (hover: hover) and (pointer: fine) {
  html body main#main[data-world="happy-birthday-cake"] .bm-mission:hover .bm-mission__shell { filter: brightness(1.06) saturate(1.06); }
}
html body main#main[data-world="happy-birthday-cake"] .bm-mission__shell { transition: filter 280ms var(--bm-ease); }
@media (max-width: 767px) {
  html body main#main[data-world="happy-birthday-cake"] .bm-details .bm-missions:not(#x) { width: min(100%, 230px); margin-inline: auto; }
  html body main#main[data-world="happy-birthday-cake"] .bm-details .bm-mission:not(#x):not(#y) { margin: 0 0 4px !important; }
  html body main#main[data-world="happy-birthday-cake"] .bm-details .bm-mission__label:not(#x):not(#y) { font-size: 18px !important; }
  html body main#main[data-world="happy-birthday-cake"] .bm-details .bm-mission__face:not(#x):not(#y) { inset: 20% 12% 8% !important; left: 12% !important; right: 12% !important; }
}

/* Description panel (PC): the cream cake frame; face x 12-88%, y 30-80%. */
@media (min-width: 768px) {
  html body main#main[data-world="happy-birthday-cake"] .bm-panel { aspect-ratio: 1429 / 1060; }
  html body main#main[data-world="happy-birthday-cake"] .bm-panel__safe { inset: 23cqi 14.5cqi 15cqi 15cqi; grid-template-columns: minmax(0, 1fr) 28cqi; column-gap: 3cqi; align-items: center; }
  html body main#main[data-world="happy-birthday-cake"] .bm-details__description { font-size: 2.2cqi; line-height: 1.34; padding: 0; background: none; border: 0; box-shadow: none; }
  html body main#main[data-world="happy-birthday-cake"] .bm-details__description p + p { margin-top: 0.55em; }
  html body main#main[data-world="happy-birthday-cake"] .bm-missions { gap: 0; }
  html body main#main[data-world="happy-birthday-cake"] .bm-missions__item:last-child .bm-mission { margin-bottom: 0 !important; }
}
html body main#main[data-world="happy-birthday-cake"] .bm-details__description { overflow: visible; max-height: none; color: var(--bm-ivory); }
html body main#main[data-world="happy-birthday-cake"] .bm-panel__story { max-height: none; overflow: visible; }
/* Phones: the description and the buttons share one calm cream card over the busy room scenery. */
@media (max-width: 767px) {
  html body main#main[data-world="happy-birthday-cake"] .bm-panel__safe { background: rgb(255 249 244 / 0.96); border: 2px solid rgb(194 24 91 / 0.55); border-radius: 26px; padding: 22px 18px 16px; box-shadow: 0 18px 40px -22px rgb(22 22 31 / 0.6); }
  html body main#main[data-world="happy-birthday-cake"] .bm-details__description { padding: 0; background: none; border: 0; box-shadow: none; }
  html body main#main[data-world="happy-birthday-cake"] .bm-panel__story::before { content: none; }
}

/* Popups: the cream cake frame on PC, the tall blue one on phones. */
html body main#main[data-world="happy-birthday-cake"] dialog.bm-dialog, dialog.bm-dialog { aspect-ratio: 1429 / 1060; --dw: min(92vw, 1000px, calc((100dvh - 32px) * 1.348)); }
@media (min-width: 768px) {
  .bm-dialog__safe, .bm-dialog--dims .bm-dialog__safe { inset: 22.6cqi 13cqi 14.8cqi; }
  .bm-dialog__title--text { font-size: clamp(24px, 3cqi, 34px); }
}
.bm-dialog__title--text { font-family: 'Lilita One', 'Impact', sans-serif; color: #16161F; text-shadow: none; font-weight: 400; }
@media (max-width: 767px) {
  html body main#main[data-world="happy-birthday-cake"] dialog.bm-dialog, html body main#main[data-world="happy-birthday-cake"] dialog.bm-dialog--dims { --dw: min(94vw, 480px, calc((100dvh - 24px) * 0.5704)); aspect-ratio: 923 / 1618; }
  .bm-dialog__safe, .bm-dialog--dims .bm-dialog__safe { inset: 57cqi 19cqi 24cqi; }
  .bm-dialog__head { padding-inline: 38px; gap: 1cqi; padding-top: 0; }
  html body main dialog.bm-dialog .bm-dialog__title--text { font-size: 19px; width: auto !important; max-width: 100%; white-space: nowrap; color: #16161F; text-shadow: none; }
  dialog.bm-dialog:not(.bm-dialog--dims) { --bm-ivory: #16161F; --bm-gold: #C2185B; --bm-gold-soft: #8C1350; color: #16161F; }
  dialog.bm-dialog:not(.bm-dialog--dims) .bm-faq__a p, dialog.bm-dialog:not(.bm-dialog--dims) .bm-faq__a [data-placeholder="true"] { color: #16161F; }
  dialog.bm-dialog:not(.bm-dialog--dims) .bm-link { color: #C2185B; }
  dialog.bm-dialog:not(.bm-dialog--dims) .bm-dialog__close { position: absolute; top: -2px; right: -4px; width: 40px; height: 40px; }
}

/* Dimensions card: the blue cake frame; the picture sits in its clean face (x 21-79%, y 27-80%). */
html body main#main[data-world="happy-birthday-cake"] .bm-hq { aspect-ratio: 1111 / 1374; z-index: 2; }
@media (min-width: 768px) { html body main#main[data-world="happy-birthday-cake"] .bm-details__stage > .bm-hq { translate: 0 -10px !important; } }
html body main#main[data-world="happy-birthday-cake"] .bm-hq__safe { inset: 31cqi 19cqi 23cqi 19cqi; justify-content: center; align-items: center; z-index: 2; gap: 0; }
html body main#main[data-world="happy-birthday-cake"] .bm-hq__open::after { inset: -31cqi -19cqi -23cqi -19cqi; }
html body main#main[data-world="happy-birthday-cake"] .bm-hq__open, html body main#main[data-world="happy-birthday-cake"] .bm-hq__diagram-wrap--carousel { width: 100%; margin: 0; }
html body main#main[data-world="happy-birthday-cake"] .bm-hq__frame { z-index: 1; position: absolute; }
html body main#main[data-world="happy-birthday-cake"] .bm-hq__hint { left: 96%; top: 3%; background: var(--bm-gold); border: 2px solid #fff; box-shadow: 0 2px 8px rgb(22 22 31 / 0.35); }
html body main#main[data-world="happy-birthday-cake"] .bm-hq__hint .bm-mission__plus { stroke: #fff; stroke-width: 3; }
html body main#main[data-world="happy-birthday-cake"] .bm-panel { z-index: 1; isolation: isolate; }

/* Crew cards: the blue cake frame (square-ish on PC, tall on phones). Heading on the top of the clean face,
   picture and text in the middle, price and switch at the bottom. */
html body main#main[data-world="happy-birthday-cake"] .bm-crew__panel {
  --bm-ivory: #16161F; --bm-ivory-dim: #5E5868; --bm-gold: #C2185B; --bm-gold-soft: #8C1350;
  color: #16161F;
  aspect-ratio: 1111 / 1374;
  padding: 0 !important;
  border: 0 !important;
  border-image: none !important;
  background: none;
  box-shadow: none;
  container-type: inline-size;
  position: relative;
  width: min(100%, 580px);
}
html body main#main[data-world="happy-birthday-cake"] .bm-crew__panel::before { content: none !important; }
html body main#main[data-world="happy-birthday-cake"] .bm-crew__frame-pic { position: absolute; inset: 0; display: block; width: 100%; height: 100%; pointer-events: none; }
html body main#main[data-world="happy-birthday-cake"] .bm-crew__frame { display: block !important; position: absolute; inset: 0; width: 100%; height: 100%; }
html body main#main[data-world="happy-birthday-cake"] .bm-crew__top { position: absolute; left: 21cqi; right: 21cqi; top: 33cqi; height: 10.5cqi; display: flex; align-items: center; justify-content: center; text-align: center; z-index: 2; }
html body main#main[data-world="happy-birthday-cake"] .bm-crew__top .bm-crew__heading { margin: 0 !important; padding: 0; max-width: none; white-space: nowrap; font-size: 5.6cqi !important; line-height: 1 !important; color: var(--bm-gold); text-shadow: none; font-family: var(--bm-serif) !important; font-weight: 400 !important; }
html body main#main[data-world="happy-birthday-cake"] .bm-crew__safe { position: absolute; inset: 45.5cqi 21cqi 38cqi; margin: 0; padding: 0; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 1.6cqi; text-align: center; }
html body main#main[data-world="happy-birthday-cake"] .bm-crew__media { height: 29cqi !important; flex: none; width: 100%; display: flex; justify-content: center; align-items: center; margin: 0 !important; }
html body main#main[data-world="happy-birthday-cake"] .bm-crew__media img, html body main#main[data-world="happy-birthday-cake"] .bm-crew__panel--water .bm-crew__media img.bm-water__img { height: 100%; width: auto; max-width: 100%; max-height: 100%; object-fit: contain; filter: drop-shadow(0 6px 8px rgb(22 22 31 / 0.28)); }
html body main#main[data-world="happy-birthday-cake"] .bm-crew__safe .bm-crew__text { position: static; transform: none; max-width: 100%; width: 100%; margin: 0; font-size: max(14px, 3.3cqi); line-height: 1.28; color: var(--bm-ivory); }
html body main#main[data-world="happy-birthday-cake"] .bm-crew__bottom { position: absolute; left: 21cqi; right: 21cqi; top: 85.5cqi; height: 14cqi; display: flex; align-items: center; justify-content: center; z-index: 2; }
html body main#main[data-world="happy-birthday-cake"] .bm-crew__bottom .bm-crew__controls { width: 100%; gap: 0; align-items: center; justify-content: center; }
html body main#main[data-world="happy-birthday-cake"] .bm-crew__bottom .bm-crew__row { flex-direction: column; flex-wrap: nowrap; gap: 0.2cqi; justify-content: center; align-items: center; }
html body main#main[data-world="happy-birthday-cake"] .bm-crew__bottom .attendant__rate { margin: 0; white-space: nowrap; font-size: max(13px, 3.1cqi); }
html body main#main[data-world="happy-birthday-cake"] .bm-crew .bm-crew__bottom .attendant__rate strong { font-size: max(20px, 5cqi); font-family: var(--bm-serif); font-weight: 400; color: var(--bm-ivory); }
html body main#main[data-world="happy-birthday-cake"] .bm-crew .bm-crew__bottom .bm-switch { flex-direction: row; gap: 1.6cqi; margin: 0; min-height: 40px; }
html body main#main[data-world="happy-birthday-cake"] .bm-crew .bm-crew__bottom .bm-switch__text { font-size: max(13px, 2.7cqi); white-space: nowrap; }
html body main#main[data-world="happy-birthday-cake"] .bm-crew__safe .bm-water__note { margin: 0; font-size: max(12px, 2.8cqi); }
html body main#main[data-world="happy-birthday-cake"] .bm-crew__panels { gap: 40px; }
html body main#main[data-world="happy-birthday-cake"] .bm-crew__panel--water .bm-crew__heading { max-width: none; }
@media (max-width: 767px) {
  html body main#main[data-world="happy-birthday-cake"] .bm-crew__panels { gap: 22px; }
  html body main#main[data-world="happy-birthday-cake"] .bm-crew__panel { aspect-ratio: 923 / 1560; width: min(100%, 366px); max-width: none; margin-inline: auto; }
  html body main#main[data-world="happy-birthday-cake"] .bm-crew__frame-pic { inset: 0; }
  html body main#main[data-world="happy-birthday-cake"] .bm-crew__frame { object-fit: contain; }
  html body main#main[data-world="happy-birthday-cake"] .bm-crew__top { left: 20cqi; right: 20cqi; top: 54cqi; height: 11cqi; }
  html body main#main[data-world="happy-birthday-cake"] .bm-crew__top .bm-crew__heading { font-size: 7.3cqi !important; }
  html body main#main[data-world="happy-birthday-cake"] .bm-crew__safe { inset: 67cqi 20cqi 55cqi; gap: 2cqi; }
  html body main#main[data-world="happy-birthday-cake"] .bm-crew__media { height: 40cqi !important; }
  html body main#main[data-world="happy-birthday-cake"] .bm-crew__safe .bm-crew__text { font-size: max(14px, 4.1cqi); line-height: 1.26; }
  html body main#main[data-world="happy-birthday-cake"] .bm-crew__bottom { top: auto; bottom: 27cqi; left: 20cqi; right: 20cqi; height: 21cqi; align-items: flex-end; }
  html body main#main[data-world="happy-birthday-cake"] .bm-crew__bottom .attendant__rate { font-size: max(13px, 4cqi); }
  html body main#main[data-world="happy-birthday-cake"] .bm-crew .bm-crew__bottom .attendant__rate strong { font-size: max(20px, 6.4cqi); }
  html body main#main[data-world="happy-birthday-cake"] .bm-crew .bm-crew__bottom .bm-switch__text { font-size: max(13px, 3.8cqi); }
}
html body main#main[data-world="happy-birthday-cake"][data-tier="classic"] .bm-crew__panel--solo { flex: 0 0 min(88vw, 580px) !important; width: min(88vw, 580px) !important; margin-inline: auto; }
@media (min-width: 768px) {
  html body main#main[data-world="happy-birthday-cake"][data-tier="classic"] .bm-crew__panel--solo { flex: 0 0 min(580px, calc(50% - 24px)) !important; width: min(580px, calc(50% - 24px)) !important; }
  html body main#main[data-world="happy-birthday-cake"] .bm-crew__panel { flex: 1 1 0; max-width: 580px; width: auto; }
}
@media (max-width: 767px) {
  html body main#main[data-world="happy-birthday-cake"][data-tier="classic"] .bm-crew__panel--solo { flex: 0 0 auto !important; width: min(100%, 366px) !important; }
}


/* Treat Add on phones: the shared sheet nudges the label 10px left on every world except a few; here the
   label stays centred on the button. */
@media (max-width: 767px) {
  html body main#main[data-world="happy-birthday-cake"] .addon-add > :is(.addon-add__icon, .addon-add__label):not(#x):not(#y) { translate: none; }
}
/* Treat Add: the plus hangs at the left so the label itself is centred. */
main[data-world="happy-birthday-cake"] .bm-treats .addon-add { position: relative; }
main[data-world="happy-birthday-cake"] .bm-treats .addon-add[aria-pressed="false"]::before { position: absolute; left: 22px; top: 50%; translate: 0 -50%; }

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

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

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

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

/* Details row: description card and dimensions card share one top and one bottom edge.
   Widths split 62.5 : 37.5 so that 1429/1060 and 1111/1374 give the same height. */
@media (min-width: 768px) {
  html body main[data-world="happy-birthday-cake"] .bm-details__stage {
    display: grid !important;
    grid-template-columns: minmax(0, 62.3fr) minmax(0, 37.7fr) !important;
    column-gap: 3% !important;
    width: min(calc(100% - 28px), 1800px) !important;
    margin-inline: auto !important;
    align-items: start !important;
    justify-items: stretch !important;
  }
  html body main[data-world="happy-birthday-cake"] .bm-details__stage > .bm-hq { width: 100% !important; justify-self: end !important; align-self: start !important; translate: none; }
  html body main[data-world="happy-birthday-cake"] .bm-details__stage > .bm-panel {
    width: 100% !important;
    min-width: 0;
    justify-self: stretch !important;
    margin-inline: 0 !important;
    margin-top: 0 !important;
  }
}
@media (min-width: 768px) and (max-width: 899px) {
  html body main[data-world="happy-birthday-cake"] .bm-details__stage > .bm-panel { container-type: inline-size; aspect-ratio: 1429 / 1060; }
  html body main[data-world="happy-birthday-cake"] .bm-panel__frame { display: block; }
  html body main[data-world="happy-birthday-cake"] .bm-panel__safe { position: absolute; display: grid; }
  html body main[data-world="happy-birthday-cake"] .bm-panel__story::before { content: none; }
}


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

/* Phones: the popup card is the tall cake frame at its own shape. */
@media (max-width: 767px) {
  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__head { position: static !important; display: block !important; padding: 0 44px !important; text-align: center; 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: 4px !important; padding-bottom: 4px !important; margin-top: 0 !important; margin-bottom: 0 !important; }
  html body main[data-world] dialog.bm-dialog--info .bm-dialog__safe { top: 57cqi !important; bottom: 24cqi !important; left: 19cqi !important; right: 19cqi !important; z-index: 1; }
  html body main dialog.bm-dialog--info .bm-dialog__close { position: absolute !important; top: -4px !important; right: -6px !important; left: auto !important; translate: none !important; margin: 0 !important; z-index: 3; }
}

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

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

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

/* ==========================================================================
   Polish round (2026-10-13)
   ========================================================================== */
/* The concessions and related sections paint their own scenery, so the shared --world-hero layer under them
   (a variants image that is not installed: a 404 and a console error on every load) is switched off. */
main[data-world="happy-birthday-cake"] :is(.treats, .related)::before { background-image: none !important; }
/* Simplify (plain cards fit their content): parts that were pinned to the frame art (hero tagline and Check Availability,
   the dimensions View button, the attendant art, words and switch) join the card's flow so nothing overlaps. */
@media (min-width: 768px) {
  html body main#main[data-world="happy-birthday-cake"][data-mbm-simplify-pc]:not(#x):not(#y):not(#z) .bm-hero__card > .bm-hero__tagline { position: relative !important; inset: auto !important; left: auto !important; right: auto !important; top: auto !important; bottom: auto !important; transform: none !important; translate: none !important; width: 100% !important; margin: 0 auto 8px !important; }
  html body main#main[data-world="happy-birthday-cake"][data-mbm-simplify-pc]:not(#x):not(#y):not(#z) .bm-hero__card .bm-hero__actions { position: relative !important; inset: auto !important; left: auto !important; right: auto !important; top: auto !important; bottom: auto !important; transform: none !important; translate: none !important; width: 100% !important; height: auto !important; margin: 14px 0 0 !important; display: flex !important; justify-content: center !important; }
  html body main#main[data-world="happy-birthday-cake"][data-mbm-simplify-pc]:not(#x):not(#y):not(#z) .bm-hq { flex-direction: column !important; }
  html body main#main[data-world="happy-birthday-cake"][data-mbm-simplify-pc]:not(#x):not(#y):not(#z) .bm-hq .bm-hq__view { position: relative !important; inset: auto !important; left: auto !important; right: auto !important; top: auto !important; bottom: auto !important; transform: none !important; translate: none !important; margin: 12px auto 0 !important; }
  html body main#main[data-world="happy-birthday-cake"][data-mbm-simplify-pc]:not(#x):not(#y):not(#z) .bm-crew__panel .bm-crew__media { position: relative !important; inset: auto !important; left: auto !important; right: auto !important; top: auto !important; bottom: auto !important; transform: none !important; translate: none !important; width: 100% !important; height: 200px !important; margin: 0 0 8px !important; display: flex !important; justify-content: center !important; align-items: center !important; }
  html body main#main[data-world="happy-birthday-cake"][data-mbm-simplify-pc]:not(#x):not(#y):not(#z) .bm-crew__panel .bm-crew__media img { position: static !important; height: 100% !important; width: auto !important; max-width: 100% !important; }
  html body main#main[data-world="happy-birthday-cake"][data-mbm-simplify-pc]:not(#x):not(#y):not(#z) .bm-crew__panel .bm-crew__text { position: relative !important; inset: auto !important; left: auto !important; right: auto !important; top: auto !important; bottom: auto !important; transform: none !important; translate: none !important; width: auto !important; max-width: 100% !important; margin: 0 !important; }
  html body main#main[data-world="happy-birthday-cake"][data-mbm-simplify-pc]:not(#x):not(#y):not(#z) .bm-crew__panel .bm-crew__controls { position: relative !important; inset: auto !important; left: auto !important; right: auto !important; top: auto !important; bottom: auto !important; transform: none !important; translate: none !important; width: 100% !important; height: auto !important; margin: 8px 0 0 !important; }
}
@media (max-width: 767px) {
  html body main#main[data-world="happy-birthday-cake"][data-mbm-simplify-phone]:not(#x):not(#y):not(#z) .bm-hero__card > .bm-hero__tagline { position: relative !important; inset: auto !important; left: auto !important; right: auto !important; top: auto !important; bottom: auto !important; transform: none !important; translate: none !important; width: 100% !important; margin: 0 auto 8px !important; }
  html body main#main[data-world="happy-birthday-cake"][data-mbm-simplify-phone]:not(#x):not(#y):not(#z) .bm-hero__card .bm-hero__actions { position: relative !important; inset: auto !important; left: auto !important; right: auto !important; top: auto !important; bottom: auto !important; transform: none !important; translate: none !important; width: 100% !important; height: auto !important; margin: 14px 0 0 !important; display: flex !important; justify-content: center !important; }
  html body main#main[data-world="happy-birthday-cake"][data-mbm-simplify-phone]:not(#x):not(#y):not(#z) .bm-hq { flex-direction: column !important; }
  html body main#main[data-world="happy-birthday-cake"][data-mbm-simplify-phone]:not(#x):not(#y):not(#z) .bm-hq .bm-hq__view { position: relative !important; inset: auto !important; left: auto !important; right: auto !important; top: auto !important; bottom: auto !important; transform: none !important; translate: none !important; margin: 12px auto 0 !important; }
  html body main#main[data-world="happy-birthday-cake"][data-mbm-simplify-phone]:not(#x):not(#y):not(#z) .bm-crew__panel .bm-crew__media { position: relative !important; inset: auto !important; left: auto !important; right: auto !important; top: auto !important; bottom: auto !important; transform: none !important; translate: none !important; width: 100% !important; height: 180px !important; margin: 0 0 8px !important; display: flex !important; justify-content: center !important; align-items: center !important; }
  html body main#main[data-world="happy-birthday-cake"][data-mbm-simplify-phone]:not(#x):not(#y):not(#z) .bm-crew__panel .bm-crew__media img { position: static !important; height: 100% !important; width: auto !important; max-width: 100% !important; }
  html body main#main[data-world="happy-birthday-cake"][data-mbm-simplify-phone]:not(#x):not(#y):not(#z) .bm-crew__panel .bm-crew__text { position: relative !important; inset: auto !important; left: auto !important; right: auto !important; top: auto !important; bottom: auto !important; transform: none !important; translate: none !important; width: auto !important; max-width: 100% !important; margin: 0 !important; }
  html body main#main[data-world="happy-birthday-cake"][data-mbm-simplify-phone]:not(#x):not(#y):not(#z) .bm-crew__panel .bm-crew__controls { position: relative !important; inset: auto !important; left: auto !important; right: auto !important; top: auto !important; bottom: auto !important; transform: none !important; translate: none !important; width: 100% !important; height: auto !important; margin: 8px 0 0 !important; }
  html body main#main[data-world="happy-birthday-cake"][data-mbm-simplify-phone]:not(#x):not(#y):not(#z) .bm-hero:has(.bm-hero__title-top) .bm-hero__card .bm-hero__title .mbm-simp-title { display: none !important; }
}
/* The Book now words behind the painted marquee: hidden unless Simplify shows the plain button. */
@media (min-width: 768px) {
  html body main#main[data-world="happy-birthday-cake"]:not([data-mbm-simplify-pc]) .bm-plaque-btn__label--sr { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; clip-path: inset(50%) !important; white-space: nowrap !important; margin: 0 !important; padding: 0 !important; left: 50% !important; top: 50% !important; }
}
@media (max-width: 767px) {
  html body main#main[data-world="happy-birthday-cake"]:not([data-mbm-simplify-phone]) .bm-plaque-btn__label--sr { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; clip-path: inset(50%) !important; white-space: nowrap !important; margin: 0 !important; padding: 0 !important; left: 50% !important; top: 50% !important; }
}
/* Simplify: the attendant card gets its plain card back (this world switches the panel's ::before off for its frame),
   and on phones the hero card is as tall as its content instead of the tall frame's shape. */
@media (min-width: 768px) {
  html body main#main[data-world="happy-birthday-cake"][data-mbm-simplify-pc]:not(#x):not(#y):not(#z) .bm-crew__panel::before { content: "" !important; }
  html body main#main[data-world="happy-birthday-cake"][data-mbm-simplify-pc]:not(#x):not(#y):not(#z) .bm-plaque-btn { aspect-ratio: auto !important; min-height: 48px !important; height: auto !important; display: flex !important; align-items: center !important; justify-content: center !important; padding: 10px 28px !important; box-sizing: border-box; }
}
@media (max-width: 767px) {
  html body main#main[data-world="happy-birthday-cake"][data-mbm-simplify-phone]:not(#x):not(#y):not(#z) .bm-crew__panel::before { content: "" !important; }
  html body main#main[data-world="happy-birthday-cake"][data-mbm-simplify-phone]:not(#x):not(#y):not(#z) .bm-plaque-btn { aspect-ratio: auto !important; min-height: 48px !important; height: auto !important; display: flex !important; align-items: center !important; justify-content: center !important; padding: 10px 28px !important; box-sizing: border-box; }
  html body main#main[data-world="happy-birthday-cake"][data-mbm-simplify-phone]:not(#x):not(#y):not(#z) .bm-hero__card { aspect-ratio: auto !important; height: auto !important; }
  html body main#main[data-world="happy-birthday-cake"][data-mbm-simplify-phone]:not(#x):not(#y):not(#z) .bm-hero__card-in { position: relative !important; inset: auto !important; }
}

/* ==== Painted titles (2026-10-13): lettering images replace the typed stand-ins ==== */
html body main#main[data-world="happy-birthday-cake"] .bm-hero__title:has(> img):not(#a) { width: min(60vw, 860px) !important; height: auto !important; line-height: 0 !important; font-size: 0 !important; filter: drop-shadow(0 6px 18px rgb(22 22 31 / 0.3)); }
html body main#main[data-world="happy-birthday-cake"] .bm-hero__title > img.bm-hero__title-img { display: block; width: 100%; height: auto; }
html body main#main[data-world="happy-birthday-cake"] .bm-hero__card .bm-hero__tagline:has(> img):not(#a) { width: min(84%, 400px); line-height: 0; margin-inline: auto; }
html body main#main[data-world="happy-birthday-cake"] .bm-hero__card .bm-hero__tagline > img { display: block; width: 100%; height: auto; }
/* The lettering runs about 5:1, like Batman's "Enter the night": one line at about 130px tall. */
main[data-world="happy-birthday-cake"] :is(section.bm-details, section.bm-crew, section.bm-treats, section.bm-related) { --st-w: min(48.6vw, 700px); }
html body main#main[data-world="happy-birthday-cake"] :is(.bm-details__heading, .bm-crew__title, #treats-title, #related-title):has(> img) { line-height: 0 !important; text-shadow: none !important; white-space: normal !important; }
@media (max-width: 767px) {
  html body main#main[data-world="happy-birthday-cake"] .bm-hero__title:has(> img):not(#a) { width: 86vw !important; height: auto !important; line-height: 0 !important; }
  html body main#main[data-world="happy-birthday-cake"] .bm-hero__card .bm-hero__tagline:has(> img):not(#a) { width: min(80%, 300px); }
  html body main#main[data-world="happy-birthday-cake"] :is(.bm-details__heading, .bm-crew__title, #treats-title, #related-title):has(> img):not(#a):not(#b) { width: 88vw !important; max-width: none !important; margin-inline: auto !important; }
  html body main#main[data-world="happy-birthday-cake"] :is(.bm-details__heading, .bm-crew__title, #treats-title, #related-title) > img.bm-lettering__img { width: 100% !important; max-width: none !important; height: auto !important; }
}

/* Hero fits one screen (Sabrina, 2026-10-15), Princess Castle approach with the Scooby-Doo balance. PC (1100px and up):
   the hero is exactly one screen; the title lettering above and the card scale together by viewport-height steps
   (--pz) and width steps (--pzw), the card as one piece with zoom; the title clears the chrome. This card is a fixed
   painted cake frame (an image, it cannot stretch), so the house is sized to the frame's height (house art height =
   frame height) and its artwork base lines up with the frame foot. Hero sizing and placement only. */
@media (min-width: 1100px) {
  html body main[data-world="happy-birthday-cake"] .bm-hero { --pz: 1; --pzw: 1; --pw: calc(583px * min(var(--pz), var(--pzw))); box-sizing: border-box; min-height: 0; height: 100svh; padding-top: 72px; padding-bottom: 12px; }
  html body main#main[data-world="happy-birthday-cake"] .bm-hero:not(#a) { padding-top: 72px; }
  html body main[data-world="happy-birthday-cake"] .bm-hero__stage { align-items: start; height: 100%; grid-template-rows: auto minmax(0, 1fr) !important; grid-template-columns: var(--pw) calc(640px * min(var(--pz), var(--pzw))) !important; justify-content: center !important; column-gap: clamp(64px, 5vw, 110px) !important; }
  html body main#main[data-world="happy-birthday-cake"] .bm-hero__title:not(#a):not(#b):not(#c) { width: calc(860px * min(var(--pz), var(--pzw))) !important; }
  html body main#main[data-world="happy-birthday-cake"] .bm-hero__card:not(#a):not(#b) { zoom: min(var(--pz), var(--pzw)); align-self: end !important; justify-self: center; width: 640px; max-width: none; }
  html body main#main[data-world="happy-birthday-cake"] .bm-hero__product:not(#a) { width: var(--pw); max-width: none; justify-self: center; align-self: end; top: 0; translate: none; margin-bottom: calc(var(--pw) * -0.05 + 22px * min(var(--pz), var(--pzw))); }
}
@media (min-width: 1100px) and (max-height: 824px) { html body main[data-world="happy-birthday-cake"] .bm-hero { --pz: 0.97; } }
@media (min-width: 1100px) and (max-height: 799px) { html body main[data-world="happy-birthday-cake"] .bm-hero { --pz: 0.93; } }
@media (min-width: 1100px) and (max-height: 774px) { html body main[data-world="happy-birthday-cake"] .bm-hero { --pz: 0.9; } }
@media (min-width: 1100px) and (max-height: 749px) { html body main[data-world="happy-birthday-cake"] .bm-hero { --pz: 0.86; } }
@media (min-width: 1100px) and (max-height: 724px) { html body main[data-world="happy-birthday-cake"] .bm-hero { --pz: 0.83; } }
@media (min-width: 1100px) and (max-height: 699px) { html body main[data-world="happy-birthday-cake"] .bm-hero { --pz: 0.8; } }
@media (min-width: 1100px) and (max-height: 674px) { html body main[data-world="happy-birthday-cake"] .bm-hero { --pz: 0.76; } }
@media (min-width: 1100px) and (max-height: 649px) { html body main[data-world="happy-birthday-cake"] .bm-hero { --pz: 0.73; } }
@media (min-width: 1100px) and (max-height: 624px) { html body main[data-world="happy-birthday-cake"] .bm-hero { --pz: 0.69; } }
@media (min-width: 1100px) and (max-width: 1599px) { html body main[data-world="happy-birthday-cake"] .bm-hero { --pzw: 0.95; } }
@media (min-width: 1100px) and (max-width: 1519px) { html body main[data-world="happy-birthday-cake"] .bm-hero { --pzw: 0.89; } }
@media (min-width: 1100px) and (max-width: 1439px) { html body main[data-world="happy-birthday-cake"] .bm-hero { --pzw: 0.83; } }
@media (min-width: 1100px) and (max-width: 1359px) { html body main[data-world="happy-birthday-cake"] .bm-hero { --pzw: 0.77; } }
@media (min-width: 1100px) and (max-width: 1279px) { html body main[data-world="happy-birthday-cake"] .bm-hero { --pzw: 0.71; } }
@media (min-width: 1100px) and (max-width: 1199px) { html body main[data-world="happy-birthday-cake"] .bm-hero { --pzw: 0.65; } }

/* Tiers whose house art is a different shape: the house keeps the cake frame height (Sabrina, 2026-10-15). */
@media (min-width: 1100px) {
  html body main[data-world="happy-birthday-cake"][data-tier="deluxe"] .bm-hero { --pw: calc(542.3px * min(var(--pz), var(--pzw))); }
  html body main[data-world="happy-birthday-cake"][data-tier="ultimate"] .bm-hero { --pw: calc(567.8px * min(var(--pz), var(--pzw))); }
}
