/* Party Extras (/party-extras/), 2026-10-13.
   Six full-screen "mini worlds", one per extra. Each world: Codex art
   (PC 16:9, phone 9:16), a huge one-line title with a gold script word,
   a calm white card with the lines, prices and a painted sitewide button.
   Everything is scoped to body.pe-page so the shared layers that load
   after this file cannot reach in, and nothing here leaks out. */

@font-face{font-family:'DM Serif Display';font-style:normal;font-weight:400;font-display:swap;src:url('../fonts/dm-serif-display.ttf') format('truetype')}
@font-face{font-family:Allura;font-style:normal;font-weight:400;font-display:swap;src:url('../fonts/allura.ttf') format('truetype')}

html body.pe-page{
  --pe-ink:#1E1A26;
  --pe-ink-soft:#4B4356;
  --pe-gold:#A47A36;
  --pe-tint:#F4C6DA;
  --pe-glow:255,240,247;
  --pe-ease:cubic-bezier(0.23,1,0.32,1);
  background:#FDEFF6;
  color:var(--pe-ink);
}
html body.pe-page ::selection{background:#F4C6DA;color:#1E1A26}

html body.pe-page .pe-sr{
  position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0;
}

/* ---- One world ------------------------------------------------------- */
html body.pe-page main.pe{padding:0;margin:0;background:transparent}
html body.pe-page .pe-world{
  position:relative;
  isolation:isolate;
  overflow:hidden;
  height:100vh;
  height:100svh;
  min-height:640px;
  display:grid;
  grid-template-columns:minmax(0,1fr);
  grid-template-rows:auto 1fr;
  padding:clamp(78px,10vh,112px) clamp(24px,6vw,104px) clamp(28px,6vh,64px);
  box-sizing:border-box;
  margin:0;
}
html body.pe-page .pe-art{position:absolute;inset:0;z-index:-2;display:block;margin:0}
html body.pe-page .pe-art img{
  width:100%;height:100%;display:block;object-fit:cover;object-position:center;
  max-width:none;border-radius:0;
  transform-origin:70% 60%;
}

/* World colours: the title glow and the card edge take the world's tint. */
html body.pe-page .pe-world--cotton{--pe-tint:#F3B9D3;--pe-glow:255,236,246;background:#FBE3EF}
html body.pe-page .pe-world--popcorn{--pe-tint:#F6D58E;--pe-glow:255,248,232;background:#FFF1DA}
html body.pe-page .pe-world--sno{--pe-tint:#B9DDF3;--pe-glow:240,249,255;background:#E6F3FC}
html body.pe-page .pe-world--dunk{--pe-tint:#A9D4F2;--pe-glow:240,249,255;background:#DDF0FC}
html body.pe-page .pe-world--attendant{--pe-tint:#CDBDEB;--pe-glow:246,241,255;background:#EEE7FB}
html body.pe-page .pe-world--power{--pe-tint:#F5BFA6;--pe-glow:255,242,234;background:#FCE5DA}

/* ---- Title: huge, one line, centred ---------------------------------- */
html body.pe-page .pe-world .pe-title{
  position:relative;
  grid-row:1;
  justify-self:center;
  margin:0;
  padding:0 .3em;
  max-width:100%;
  white-space:nowrap;
  text-align:center;
  font-family:'DM Serif Display',Georgia,serif;
  font-weight:400;
  font-size:clamp(56px,7.2vw,124px)!important;
  line-height:1.02;
  letter-spacing:-0.01em;
  color:var(--pe-ink);
  text-transform:none;
  text-shadow:0 1px 0 rgba(255,255,255,.7),0 0 26px rgba(var(--pe-glow),.95);
}
html body.pe-page .pe-world .pe-title::before{
  content:"";
  position:absolute;
  inset:-34% -8% -30%;
  z-index:-1;
  background:radial-gradient(closest-side,rgba(var(--pe-glow),.92),rgba(var(--pe-glow),.6) 55%,rgba(var(--pe-glow),0));
  filter:blur(6px);
  pointer-events:none;
}
html body.pe-page .pe-world .pe-script{
  font-family:Allura,'Snell Roundhand',cursive;
  font-weight:400;
  font-size:1.22em;
  line-height:.8;
  color:var(--pe-gold);
  letter-spacing:0;
  padding-right:.06em;
  text-shadow:0 1px 0 rgba(255,255,255,.8),0 0 22px rgba(var(--pe-glow),1);
}

/* ---- Card: calm, white, on the calm side of the art ------------------ */
html body.pe-page .pe-world .pe-card{
  grid-row:2;
  align-self:center;
  justify-self:start;
  width:min(550px,40vw);
  box-sizing:border-box;
  margin:0 0 0 clamp(0px,2vw,40px);
  padding:clamp(26px,3.4vh,38px) clamp(26px,2.6vw,40px) clamp(24px,3vh,34px);
  background:rgba(255,255,255,var(--pe-card-a,.35));
  border-radius:30px;
  box-shadow:
    inset 0 0 0 1.5px color-mix(in srgb,var(--pe-tint) 70%,#fff),
    inset 0 0 0 2.5px rgba(255,255,255,.6),
    0 2px 6px -2px rgba(60,30,60,.10),
    0 30px 60px -28px color-mix(in srgb,var(--pe-tint) 80%,#3a2440);
  text-align:center;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:clamp(16px,2.4vh,24px);
}
html body.pe-page .pe-world .pe-lines{
  margin:0;
  font-family:Manrope,system-ui,sans-serif;
  font-size:17px;
  line-height:1.5;
  font-weight:500;
  color:rgba(22,22,31,.72);
  text-wrap:pretty;
  max-width:34ch;
}

/* Prices: big serif numerals, plain labels, thin tinted rules between. */
html body.pe-page .pe-world .pe-prices{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  justify-content:center;
  align-items:flex-start;
  width:100%;
}
html body.pe-page .pe-world .pe-prices li{
  flex:1 1 0;
  min-width:0;
  margin:0;
  padding:0 clamp(8px,1vw,16px);
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:6px;
}
html body.pe-page .pe-world .pe-prices li::before{content:none}
html body.pe-page .pe-world .pe-prices li + li{border-left:1.5px solid color-mix(in srgb,var(--pe-tint) 75%,#fff)}
html body.pe-page .pe-world .pe-price{
  font-family:'DM Serif Display',Georgia,serif;
  font-size:clamp(44px,3.7vw,60px);
  line-height:1;
  color:var(--pe-ink);
  font-variant-numeric:lining-nums tabular-nums;
}
html body.pe-page .pe-world .pe-label{
  font-family:Manrope,system-ui,sans-serif;
  font-size:15px;
  line-height:1.3;
  font-weight:600;
  color:var(--pe-ink-soft);
  text-wrap:balance;
}
html body.pe-page .pe-world .pe-prices li:only-child .pe-price{font-size:clamp(56px,4.6vw,76px)}
html body.pe-page .pe-world .pe-prices li:only-child .pe-label{font-size:16px}

/* ---- CTA: painted sitewide button art, never a CSS pill ------------- */
html body.pe-page .pe-world a.pe-cta{
  position:relative;
  display:grid;
  place-items:center;
  width:min(310px,100%);
  aspect-ratio:var(--pe-btn-ratio,2.88);
  height:auto;
  padding:0 0 4px;
  margin:0;
  box-sizing:border-box;
  background:var(--pe-btn) center/100% 100% no-repeat;
  border:0;
  border-radius:0;
  box-shadow:none;
  font-family:'DM Serif Display',Georgia,serif;
  font-size:22px;
  line-height:1;
  white-space:nowrap;
  color:var(--pe-ink);
  text-decoration:none;
  text-transform:none;
  letter-spacing:0;
  filter:drop-shadow(0 10px 14px rgba(70,40,70,.16));
  transition:transform 200ms var(--pe-ease),filter 200ms var(--pe-ease);
  -webkit-tap-highlight-color:transparent;
}
html body.pe-page .pe-world a.pe-cta::before,
html body.pe-page .pe-world a.pe-cta::after{content:none}
html body.pe-page .pe-world a.pe-cta span{display:block;transform:translateY(-1px)}
html body.pe-page .pe-world a.pe-cta--pink{--pe-btn:url('../bundled/preview-polish/btn-soft-pink.webp');--pe-btn-ratio:1086/377}
html body.pe-page .pe-world a.pe-cta--ivory{--pe-btn:url('../bundled/preview-polish/btn-sw-ivory.webp');--pe-btn-ratio:720/247}
html body.pe-page .pe-world a.pe-cta--blue{--pe-btn:url('../bundled/preview-polish/btn-soft-blue.webp');--pe-btn-ratio:1086/358}
html body.pe-page .pe-world a.pe-cta--lilac{--pe-btn:url('../bundled/preview-polish/btn-lilac.webp');--pe-btn-ratio:1086/378}
html body.pe-page .pe-world a.pe-cta--gold{--pe-btn:url('../bundled/preview-polish/btn-gold.webp');--pe-btn-ratio:1086/368}
@media (hover:hover) and (pointer:fine){
  html body.pe-page .pe-world a.pe-cta:hover{transform:translateY(-3px);filter:drop-shadow(0 16px 18px rgba(70,40,70,.22))}
}
html body.pe-page .pe-world a.pe-cta:active{transform:translateY(0) scale(.97);transition-duration:120ms}
html body.pe-page .pe-world a.pe-cta:focus-visible{outline:3px solid var(--pe-ink);outline-offset:4px;border-radius:40px}

/* ---- Attendant: the approved Moonbounce Man superhero ---------------- */
html body.pe-page .pe-world .pe-hero{
  position:absolute;
  z-index:-1;
  right:clamp(40px,14vw,260px);
  bottom:3vh;
  height:min(68vh,640px);
  width:auto;
  max-width:none;
  filter:drop-shadow(0 26px 30px rgba(60,40,90,.28));
  transform-origin:50% 100%;
}

/* ---- Motion: ambient loops while a world is on screen, card on scroll -- */
@media (prefers-reduced-motion:no-preference){
  html body.pe-page .pe-world.is-live .pe-art img{animation:pe-breathe 22s ease-in-out infinite alternate}
  html body.pe-page .pe-world.is-live .pe-hero{animation:pe-float 5.2s ease-in-out infinite alternate}
  html.pe-js body.pe-page .pe-world .pe-card{
    opacity:0;
    transform:translateY(28px);
    filter:blur(6px);
    transition:opacity 700ms var(--pe-ease),transform 900ms var(--pe-ease),filter 700ms var(--pe-ease);
  }
  html.pe-js body.pe-page .pe-world.is-in .pe-card{opacity:1;transform:none;filter:none}
}
@keyframes pe-breathe{from{transform:scale(1)}to{transform:scale(1.045)}}
@keyframes pe-float{from{transform:translateY(0)}to{transform:translateY(-14px)}}
html.mbm-motion-off body.pe-page .pe-world .pe-art img,
html.mbm-motion-off body.pe-page .pe-world .pe-hero{animation:none!important}
html.mbm-motion-off body.pe-page .pe-world .pe-card{opacity:1!important;transform:none!important;filter:none!important}

/* ---- Phone: title on top, product in the middle, card at the bottom -- */
@media (max-width:767px){
  html body.pe-page .pe-world{
    min-height:600px;
    padding:70px 16px 16px;
    grid-template-rows:auto 1fr auto;
  }
  html body.pe-page .pe-world .pe-title{font-size:clamp(34px,10.4vw,48px)!important;padding:0 .2em}
  html body.pe-page .pe-world .pe-title::before{inset:-30% -6% -26%}
  html body.pe-page .pe-world .pe-card{
    grid-row:3;
    align-self:end;
    justify-self:stretch;
    width:auto;
    margin:0;
    padding:20px 18px 18px;
    border-radius:26px;
    gap:14px;
  }
  html body.pe-page .pe-world .pe-lines{font-size:15px;line-height:1.45}
  html body.pe-page .pe-world .pe-prices li{padding:0 6px;gap:4px}
  html body.pe-page .pe-world .pe-price{font-size:32px}
  html body.pe-page .pe-world .pe-label{font-size:12.5px}
  html body.pe-page .pe-world .pe-prices li:only-child .pe-price{font-size:46px}
  html body.pe-page .pe-world .pe-prices li:only-child .pe-label{font-size:14px}
  html body.pe-page .pe-world a.pe-cta{width:min(260px,100%);font-size:20px}
  html body.pe-page .pe-world .pe-hero{
    right:auto;
    left:50%;
    bottom:auto;
    top:17svh;
    height:37svh;
    margin-left:calc(37svh * -0.275);
  }
  html body.pe-page .pe-world .pe-art img{transform-origin:50% 35%}
}
@media (max-width:767px) and (max-height:700px){
  html body.pe-page .pe-world .pe-lines{font-size:15px}
}

/* ---- Order card: the three machines (2026-10-13 redesign) -------------
   One coherent "build your order" card, replacing the stacked override
   blocks. Rows share one left edge: check, name over detail, price right.
   Money is set in DM Serif Display; the total is the biggest number. The
   world's own tint marks what is selected. Inputs are real checkboxes,
   visually replaced, so rows stay keyboard and screen-reader native. */
html body.pe-page .pe-world:has(.pe-card--order){height:auto;min-height:100vh;min-height:100svh}
html body.pe-page .pe-world .pe-card--order{
  --pe-sel:color-mix(in srgb,var(--pe-tint) 34%,#fff);
  --pe-sel-edge:color-mix(in srgb,var(--pe-tint) 92%,#16161F);
  --pe-hair:rgba(22,22,31,.10);
  background:rgba(255,255,255,var(--pe-card-a,.35));
  width:min(500px,40vw);
  align-items:stretch;
  text-align:left;
  gap:22px;
  padding:30px 30px 26px;
}
html body.pe-page .pe-world .pe-card--order .pe-lines{max-width:none;font-size:17px;line-height:1.5;color:#4B4356;text-wrap:pretty}

html body.pe-page .pe-world .pe-pick{display:flex;flex-direction:column;gap:20px;font-family:Manrope,system-ui,sans-serif;color:#16161F}
html body.pe-page .pe-world .pe-opts{display:flex;flex-direction:column;gap:8px}

/* One option row */
html body.pe-page .pe-world .pe-opt{
  position:relative;
  display:block;
  margin:0;
  border-radius:18px;
  background:transparent;box-shadow:inset 0 0 0 1px rgba(22,22,31,.12);
  box-shadow:inset 0 0 0 1.5px var(--pe-hair);
  transition:background-color 200ms var(--pe-ease),box-shadow 200ms var(--pe-ease);
}
html body.pe-page .pe-world label.pe-opt,
html body.pe-page .pe-world .pe-opt__row,
html body.pe-page .pe-world .pe-opt--base{
  display:grid;
  grid-template-columns:24px minmax(0,1fr) auto;
  align-items:center;
  column-gap:14px;
  min-height:64px;
  padding:11px 18px 11px 16px;
  box-sizing:border-box;
  cursor:pointer;
  -webkit-tap-highlight-color:transparent;
}
html body.pe-page .pe-world .pe-opt__row{position:relative;margin:0;border-radius:18px}
html body.pe-page .pe-world .pe-opt--sup{padding:0}
html body.pe-page .pe-world .pe-opt.is-on{background:var(--pe-sel);box-shadow:inset 0 0 0 1.5px var(--pe-sel-edge)}
@media (hover:hover) and (pointer:fine){
  html body.pe-page .pe-world label.pe-opt:not(.is-on):hover,
  html body.pe-page .pe-world .pe-opt--sup:not(.is-on):has(.pe-opt__row:hover){box-shadow:inset 0 0 0 1.5px rgba(22,22,31,.28)}
}

/* The real checkbox sits under the drawn one: native focus, click, keys. */
html body.pe-page .pe-world .pe-opt__input{position:absolute;left:16px;top:50%;opacity:0;width:24px;height:24px;margin:-12px 0 0;pointer-events:none}
html body.pe-page .pe-world .pe-opt__box{
  grid-column:1;
  display:grid;
  place-items:center;
  width:24px;height:24px;
  box-sizing:border-box;
  border-radius:8px;
  background:#fff;
  box-shadow:inset 0 0 0 1.5px rgba(22,22,31,.55);
  transition:background-color 160ms var(--pe-ease),box-shadow 160ms var(--pe-ease),transform 160ms var(--pe-ease);
}
html body.pe-page .pe-world .pe-opt__box svg{width:19px;height:19px;fill:none;stroke:#16161F;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:16;stroke-dashoffset:16;transition:stroke-dashoffset 200ms var(--pe-ease)}
html body.pe-page .pe-world .pe-opt__input:checked + .pe-opt__box{background:var(--pe-tint);box-shadow:inset 0 0 0 1.5px #16161F}
html body.pe-page .pe-world .pe-opt__input:checked + .pe-opt__box svg{stroke-dashoffset:0}
html body.pe-page .pe-world label.pe-opt:active .pe-opt__box,
html body.pe-page .pe-world .pe-opt__row:active .pe-opt__box{transform:scale(.9)}
html body.pe-page .pe-world .pe-opt:has(> .pe-opt__input:focus-visible),
html body.pe-page .pe-world .pe-opt__row:has(.pe-opt__input:focus-visible){outline:3px solid #16161F;outline-offset:2px}

html body.pe-page .pe-world .pe-opt__text{grid-column:2;display:flex;flex-direction:column;gap:2px;min-width:0}
html body.pe-page .pe-world .pe-opt__name{font-size:17px;font-weight:700;line-height:1.25;white-space:nowrap;color:#16161F}
html body.pe-page .pe-world .pe-opt__sub{font-size:14px;font-weight:500;line-height:1.3;white-space:nowrap;color:#4B4356}
html body.pe-page .pe-world .pe-opt__price{
  grid-column:3;
  justify-self:end;
  font-family:'DM Serif Display',Georgia,serif;
  font-size:24px;
  line-height:1;
  white-space:nowrap;
  color:#16161F;
  font-variant-numeric:lining-nums tabular-nums;
}
html body.pe-page .pe-world .pe-opt--sup:not(.is-on) .pe-sup__price{font-family:Manrope,system-ui,sans-serif;font-size:14px;font-weight:700}

/* Supplies: the servings stepper opens inside the row. */
html body.pe-page .pe-world .pe-opt__more{
  display:grid;
  grid-template-rows:0fr;
  opacity:0;
  transition:grid-template-rows 260ms var(--pe-ease),opacity 200ms var(--pe-ease);
}
html body.pe-page .pe-world .pe-opt--sup.is-on .pe-opt__more{grid-template-rows:1fr;opacity:1}
html body.pe-page .pe-world .pe-opt__more > .pe-step{min-height:0;overflow:hidden}
html body.pe-page .pe-world .pe-step{
  display:flex;
  align-items:center;
  gap:10px;
  margin:0 18px 0 54px;
  white-space:nowrap;
}
html body.pe-page .pe-world .pe-opt--sup.is-on .pe-step{padding:10px 0 12px;border-top:1px solid color-mix(in srgb,var(--pe-sel-edge) 70%,transparent)}
html body.pe-page .pe-world .pe-step__label{margin-right:auto;font-size:15px;font-weight:600;color:#16161F;text-transform:none;letter-spacing:0}
html body.pe-page .pe-world .pe-step__val{min-width:3ch;font-family:'DM Serif Display',Georgia,serif;font-size:24px;line-height:1;text-align:center;font-variant-numeric:lining-nums tabular-nums}
html body.pe-page .pe-world .pe-step__btn{
  display:grid;place-items:center;
  width:44px;height:44px;padding:0;
  border:0;border-radius:50%;
  background:#fff;
  box-shadow:inset 0 0 0 1.5px rgba(22,22,31,.55),0 1px 2px rgba(22,22,31,.08);
  color:#16161F;cursor:pointer;
  transition:transform 140ms var(--pe-ease),opacity 200ms ease,background-color 200ms ease;
}
html body.pe-page .pe-world .pe-step__btn svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round}
html body.pe-page .pe-world .pe-step__btn:disabled{opacity:.35;cursor:default}
html body.pe-page .pe-world .pe-step__btn:not(:disabled):active{transform:scale(.92)}
html body.pe-page .pe-world .pe-step__btn:focus-visible{outline:3px solid #16161F;outline-offset:2px}
@media (hover:hover) and (pointer:fine){html body.pe-page .pe-world .pe-step__btn:not(:disabled):hover{background:color-mix(in srgb,var(--pe-tint) 55%,#fff)}}

/* Total: label left, the biggest number right. */
html body.pe-page .pe-world .pe-sum{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:16px;
  padding:16px 4px 0;
  border-top:1.5px solid var(--pe-hair);
}
html body.pe-page .pe-world .pe-sum__label{font-size:16px;font-weight:700;color:#16161F;white-space:nowrap}
html body.pe-page .pe-world .pe-total{font-family:'DM Serif Display',Georgia,serif;font-size:46px;line-height:1;color:#16161F;font-variant-numeric:lining-nums tabular-nums;white-space:nowrap}
html body.pe-page .pe-world .pe-card--order a.pe-cta{align-self:center;margin-top:-2px}

@media (prefers-reduced-motion:reduce){
  html body.pe-page .pe-world .pe-opt,
  html body.pe-page .pe-world .pe-opt__box,
  html body.pe-page .pe-world .pe-opt__box svg,
  html body.pe-page .pe-world .pe-opt__more,
  html body.pe-page .pe-world .pe-step__btn{transition:none}
}
html.mbm-motion-off body.pe-page .pe-world .pe-opt__more{transition:none}

@media (max-width:767px){
  html body.pe-page .pe-world .pe-card--order{width:auto;padding:20px 16px 18px;gap:16px}
  html body.pe-page .pe-world .pe-card--order .pe-lines{font-size:15px;line-height:1.45}
  html body.pe-page .pe-world .pe-pick{gap:14px}
  html body.pe-page .pe-world .pe-opts{gap:6px}
  html body.pe-page .pe-world label.pe-opt,
  html body.pe-page .pe-world .pe-opt__row,
  html body.pe-page .pe-world .pe-opt--base{column-gap:12px;min-height:58px;padding:9px 14px 9px 12px;grid-template-columns:22px minmax(0,1fr) auto}
  html body.pe-page .pe-world .pe-opt,html body.pe-page .pe-world .pe-opt__row{border-radius:16px}
  html body.pe-page .pe-world .pe-opt__box{width:22px;height:22px;border-radius:7px}
  html body.pe-page .pe-world .pe-opt__input{left:12px}
  html body.pe-page .pe-world .pe-opt__name{font-size:15.5px}
  html body.pe-page .pe-world .pe-opt__sub{font-size:13px}
  html body.pe-page .pe-world .pe-opt__price{font-size:21px}
  html body.pe-page .pe-world .pe-opt--sup:not(.is-on) .pe-sup__price{font-size:13px}
  html body.pe-page .pe-world .pe-step{margin:0 14px 0 46px}
  html body.pe-page .pe-world .pe-step__label{font-size:14px}
  html body.pe-page .pe-world .pe-step__val{font-size:22px}
  html body.pe-page .pe-world .pe-sum{padding-top:12px}
  html body.pe-page .pe-world .pe-sum__label{font-size:15px}
  html body.pe-page .pe-world .pe-total{font-size:38px}
  html body.pe-page .pe-world .pe-card--order a.pe-cta{width:min(240px,100%)}
}

/* ---- Phone: whole machine above the card (2026-10-13) -----------------
   The 9:16 phone art sits at its natural size at the top; the card starts
   below the machine (--pe-mach = share of the art height the machine and
   its props occupy) so nothing covers the product. The art's floor fades
   into the world's floor colour under the card. */
@media (max-width:767px){
  html body.pe-page .pe-world{
    --pe-mach:.58;
    --pe-floor:#FDBEE3;
    --pe-artH:177.78vw;
    display:block;
    height:auto;
    min-height:0;
    padding:calc(var(--pe-artH) * var(--pe-mach)) 16px 20px;
    background:var(--pe-floor);
  }
  html body.pe-page .pe-world--cotton{--pe-mach:.58;--pe-floor:#FDBEE3}
  html body.pe-page .pe-world--popcorn{--pe-mach:.58;--pe-floor:#FDB1B6}
  html body.pe-page .pe-world--sno{--pe-mach:.58;--pe-floor:#D9D0FD}
  html body.pe-page .pe-world--dunk{--pe-mach:.67;--pe-floor:#E4B9E3}
  html body.pe-page .pe-world--attendant{--pe-mach:.6;--pe-floor:#F6CADE}
  html body.pe-page .pe-world--power{--pe-mach:.6;--pe-floor:#F4BBB8}
  html body.pe-page .pe-world .pe-art{inset:0 0 auto 0;height:var(--pe-artH)}
  html body.pe-page .pe-world .pe-art img{
    height:100%;object-position:center top;
    -webkit-mask-image:linear-gradient(#000 82%,transparent);
    mask-image:linear-gradient(#000 82%,transparent);
  }
  html body.pe-page .pe-world .pe-title{
    position:absolute;top:70px;left:50%;transform:translateX(-50%);
    width:max-content;max-width:calc(100% - 16px);
  }
  html body.pe-page .pe-world .pe-card{display:flex;margin:0}
  html body.pe-page .pe-world .pe-hero{
    top:122px;
    height:calc(var(--pe-artH) * var(--pe-mach) - 138px);
    margin-left:calc((var(--pe-artH) * var(--pe-mach) - 138px) * -0.275);
  }
}

/* Cotton candy colour choice: two radio chips, same tint and edge as the rows. */
html body.pe-page .pe-world .pe-colour{display:grid;grid-template-columns:1fr 1fr;gap:8px}
html body.pe-page .pe-world .pe-colour__opt{
  position:relative;display:flex;align-items:center;gap:12px;min-height:64px;box-sizing:border-box;
  padding:10px 16px 10px 12px;border-radius:18px;background:transparent;box-shadow:inset 0 0 0 1px rgba(22,22,31,.12);cursor:pointer;
  box-shadow:inset 0 0 0 1.5px var(--pe-hair);
  transition:background-color 200ms var(--pe-ease),box-shadow 200ms var(--pe-ease);
  -webkit-tap-highlight-color:transparent;
}
html body.pe-page .pe-world .pe-colour__opt.is-on{background:var(--pe-sel);box-shadow:inset 0 0 0 1.5px var(--pe-sel-edge)}
html body.pe-page .pe-world .pe-colour__opt img{width:44px;height:44px;flex:none;border-radius:12px;object-fit:cover;background:#fff}
html body.pe-page .pe-world .pe-colour__name{font-size:17px;font-weight:700;line-height:1.25;white-space:nowrap;color:#16161F}
html body.pe-page .pe-world .pe-colour__input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}
html body.pe-page .pe-world .pe-colour__opt:has(.pe-colour__input:focus-visible){outline:3px solid #16161F;outline-offset:2px}
@media (hover:hover) and (pointer:fine){
  html body.pe-page .pe-world .pe-colour__opt:not(.is-on):hover{box-shadow:inset 0 0 0 1.5px rgba(22,22,31,.28)}
}
@media (max-width:767px){
  html body.pe-page .pe-world .pe-colour{gap:6px}
  html body.pe-page .pe-world .pe-colour__opt{min-height:58px;padding:7px 10px;gap:10px;border-radius:16px}
  html body.pe-page .pe-world .pe-colour__name{font-size:15.5px}
}

/* Blue cotton candy machine picked: the whole section turns blue. */
html body.pe-page .pe-world--cotton.pe-world--blue{--pe-tint:#B9DDF3;--pe-glow:240,249,255;background:#E6F3FC}
@media (max-width:767px){html body.pe-page .pe-world--cotton.pe-world--blue{--pe-floor:#CFE8FA}}
html body.pe-page .pe-world--cotton.pe-world--blue a.pe-cta--pink{--pe-btn:url('../bundled/preview-polish/btn-soft-blue.webp');--pe-btn-ratio:1086/358}

/* =====================================================================
   2026-10-14: hero with the four extras as tiles, and every section
   exactly one screen tall (no scrolling inside a section). The order
   card keeps its design; only its spacing and type scale with the
   screen height so it always fits.
   ===================================================================== */

/* ---- Hero ------------------------------------------------------------ */
html body.pe-page .pe-intro{
  position:relative;
  isolation:isolate;
  overflow:hidden;
  display:grid;
  place-items:center;
  padding:clamp(96px,12vh,128px) clamp(24px,4vw,72px) clamp(40px,6vh,64px);
  box-sizing:border-box;
  margin:0;
  background:#E7EEFB;
  --pe-glow:255,244,250;
}
html body.pe-page .pe-intro::after{content:"";position:absolute;left:0;right:0;bottom:0;height:clamp(60px,11vh,110px);z-index:-1;pointer-events:none;background:linear-gradient(180deg,rgba(252,196,225,0),rgb(252,196,225))}
html body.pe-page .pe-intro__art{position:absolute;inset:0;z-index:-1;display:block;margin:0}
html body.pe-page .pe-intro__art img{width:100%;height:100%;display:block;object-fit:cover;object-position:center;max-width:none;border-radius:0;transform-origin:50% 60%}
html body.pe-page .pe-intro__inner{
  width:100%;
  max-width:1360px;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:clamp(20px,4.4vh,52px);
}
html body.pe-page .pe-intro .pe-intro__title{
  width:100%;
  margin:0;
  padding:0;
  white-space:nowrap;
  text-align:center;
  font-family:'DM Serif Display',Georgia,serif;
  font-weight:400;
  font-size:clamp(56px,min(7.2vw,11vh),124px)!important;
  line-height:1.02;
  letter-spacing:-0.01em;
  color:#1E1A26;
  text-transform:none;
  text-shadow:0 1px 0 rgba(255,255,255,.7),0 0 26px rgba(var(--pe-glow),.95),0 0 60px rgba(var(--pe-glow),.8);
}
html body.pe-page .pe-intro .pe-script{
  font-family:Allura,'Snell Roundhand',cursive;
  font-weight:400;
  font-size:1.22em;
  line-height:.8;
  color:#A47A36;
  letter-spacing:0;
  padding-right:.06em;
  text-shadow:0 1px 0 rgba(255,255,255,.8),0 0 22px rgba(var(--pe-glow),1);
}

/* Four tiles: one row on PC (wide art), 2x2 on phone (tall art). */
/* Rental category bar, the same pills as the Rentals page. */
html body.pe-page .pe-cats{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;width:100%;max-width:1048px;margin:0 auto}
html body.pe-page .pe-cat{
  --h:52px;--ph:190;--pill:url('../images/rentals-refresh/pill-popular.webp');
  position:relative;isolation:isolate;display:inline-flex;align-items:center;justify-content:center;flex:none;
  width:256px;height:var(--h);box-sizing:border-box;
  padding:0 calc(var(--h) * 60 / var(--ph)) 0 calc(var(--h) * 232 / var(--ph));
  color:#0F1C3F;text-decoration:none;white-space:nowrap;
  font-family:'DM Serif Display',Georgia,serif;font-weight:400;font-size:13.3px;line-height:1.1;
  transition:transform 180ms var(--pe-ease);-webkit-tap-highlight-color:transparent;
}
html body.pe-page .pe-cat::before{
  content:"";position:absolute;inset:0;z-index:-1;
  border-style:solid;border-color:transparent;
  border-width:0 calc(var(--h) * 90 / var(--ph)) 0 calc(var(--h) * 235 / var(--ph));
  border-image:var(--pill) 0 90 0 235 fill / 0 calc(var(--h) * 90 / var(--ph)) 0 calc(var(--h) * 235 / var(--ph)) stretch;
}
html body.pe-page .pe-cat::after{content:"";position:absolute;inset:5px 4px 7px;z-index:-1;border-radius:999px;pointer-events:none;transition:box-shadow 200ms ease}
html body.pe-page .pe-cat[data-rx-pill="popular"]{--pill:url('../images/rentals-refresh/pill-popular.webp');--ph:188}
html body.pe-page .pe-cat[data-rx-pill="water"]{--pill:url('../images/rentals-refresh/pill-water.webp');--ph:202}
html body.pe-page .pe-cat[data-rx-pill="hearts"]{--pill:url('../images/rentals-refresh/pill-hearts.webp');--ph:200}
html body.pe-page .pe-cat[data-rx-pill="obstacle"]{--pill:url('../images/rentals-refresh/pill-obstacle.webp');--ph:185}
html body.pe-page .pe-cat[data-rx-pill="classic"]{--pill:url('../images/rentals-refresh/pill-classic.webp');--ph:189}
html body.pe-page .pe-cat[data-rx-pill="deluxe"]{--pill:url('../images/rentals-refresh/pill-deluxe.webp');--ph:202}
html body.pe-page .pe-cat[data-rx-pill="ultimate"]{--pill:url('../images/rentals-refresh/pill-ultimate.webp');--ph:182}
html body.pe-page .pe-cat[data-rx-pill="extras"]{--pill:url('../images/rentals-refresh/pill-hearts.webp');--ph:200}
html body.pe-page .pe-cat[data-rx-pill="extras"]::before{filter:hue-rotate(38deg) saturate(1.15)}
html body.pe-page #main .pe-cats .pe-cat[data-rx-pill="extras"]{display:inline-flex!important}
html body.pe-page .pe-cat[aria-current="page"]{transform:translateY(-2px)}
html body.pe-page .pe-cat[aria-current="page"]::after{box-shadow:0 8px 18px -8px rgb(154 107 42 / .55)}
@media (hover:hover) and (pointer:fine){html body.pe-page .pe-cat:hover{transform:translateY(-2px)}}
html body.pe-page .pe-cat:active{transform:translateY(1px) scale(.98)}
html body.pe-page .pe-cat:focus-visible{outline:2px solid #0F1C3F;outline-offset:3px}
@media (max-width:767px){
  html body.pe-page .pe-cats{gap:10px}
  html body.pe-page .pe-cat{--h:49px;width:min(184px,calc((100% - 10px) / 2));font-size:12.5px}
}
html body.pe-page .pe-tiles{
  list-style:none;
  margin:0;
  padding:0;
  width:100%;
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:clamp(14px,1.6vw,28px);
}
html body.pe-page .pe-tile{margin:0;padding:0;min-width:0}
html body.pe-page .pe-tile::before{content:none}
html body.pe-page .pe-tile__link{
  display:flex;
  flex-direction:column;
  padding:clamp(8px,.8vw,12px) clamp(8px,.8vw,12px) 0;
  border-radius:28px;
  background:rgba(255,255,255,var(--pe-card-a,.35));
  color:#1E1A26;
  text-decoration:none;
  box-shadow:
    inset 0 0 0 1.5px var(--pe-edge,#F3C9DD),
    inset 0 0 0 2.5px rgba(255,255,255,.6),
    0 2px 6px -2px rgba(60,30,60,.10),
    0 26px 50px -26px rgba(70,40,90,.45);
  transition:transform 220ms var(--pe-ease),box-shadow 220ms var(--pe-ease);
  -webkit-tap-highlight-color:transparent;
}
html body.pe-page .pe-tile--cotton{--pe-edge:#F3B9D3}
html body.pe-page .pe-tile--popcorn{--pe-edge:#F5C2B0}
html body.pe-page .pe-tile--sno{--pe-edge:#B9D6F5}
html body.pe-page .pe-tile--dunk{--pe-edge:#A9D4F2}
html body.pe-page .pe-tile--attendant{--pe-edge:#CDBDEB}
html body.pe-page .pe-tile--power{--pe-edge:#F5BFA6}
@media (hover:hover) and (pointer:fine){
  html body.pe-page .pe-tile__link:hover{transform:translateY(-6px);box-shadow:inset 0 0 0 1.5px var(--pe-edge,#F3C9DD),inset 0 0 0 2.5px rgba(255,255,255,.6),0 4px 10px -4px rgba(60,30,60,.14),0 34px 60px -26px rgba(70,40,90,.55)}
}
html body.pe-page .pe-tile__link:active{transform:translateY(0) scale(.98);transition-duration:120ms}
html body.pe-page .pe-tile__link:focus-visible{outline:3px solid #1E1A26;outline-offset:4px}

html body.pe-page .pe-tile__art{
  position:relative;
  display:flex;
  aspect-ratio:1/1;
  border-radius:20px;
  overflow:hidden;
  background:#fff;
}
html body.pe-page .pe-tile__img{width:100%;height:100%;display:block;max-width:none;border-radius:0;object-fit:cover;object-position:50% 50%}
html body.pe-page .pe-tile__man{
  position:absolute;
  left:50%;
  bottom:0;
  height:92%;
  width:auto;
  max-width:none;
  transform:translateX(-50%);
  filter:drop-shadow(0 14px 16px rgba(60,40,90,.28));
}
html body.pe-page .pe-tile__name{
  display:block;
  padding:clamp(10px,1.4vh,16px) 4px clamp(10px,1.4vh,16px);
  text-align:center;
  white-space:nowrap;
  font-family:'DM Serif Display',Georgia,serif;
  font-weight:400;
  font-size:clamp(15px,1.35vw,22px);
  line-height:1.1;
  color:#1E1A26;
}

@media (prefers-reduced-motion:no-preference){
  html body.pe-page .pe-intro__art img{animation:pe-breathe 22s ease-in-out infinite alternate}
  html body.pe-page .pe-tile{animation:pe-tile-in 800ms var(--pe-ease) both}
  html body.pe-page .pe-tile:nth-child(2){animation-delay:90ms}
  html body.pe-page .pe-tile:nth-child(3){animation-delay:180ms}
  html body.pe-page .pe-tile:nth-child(4){animation-delay:270ms}
}
@keyframes pe-tile-in{from{opacity:0;transform:translateY(32px)}to{opacity:1;transform:none}}
html.mbm-motion-off body.pe-page .pe-intro__art img,
html.mbm-motion-off body.pe-page .pe-tile{animation:none!important}

/* ---- Every section: exactly one screen ------------------------------- */
html body.pe-page .pe-world,
html body.pe-page .pe-world:has(.pe-card--order){
  height:100vh;
  height:100svh;
  min-height:0;
}
@media (min-width:768px){
  html body.pe-page .pe-world{padding:clamp(72px,9vh,104px) clamp(24px,6vw,104px) clamp(20px,4vh,48px)}
  html body.pe-page .pe-world .pe-title{font-size:clamp(56px,min(7.2vw,11vh),124px)!important}

  /* Order card: same design, spacing and type follow the screen height. */
  html body.pe-page .pe-world .pe-card--order{
    gap:clamp(10px,1.8vh,20px);
    padding:clamp(16px,2.6vh,30px) clamp(20px,2vw,30px) clamp(16px,2.4vh,26px);
  }
  html body.pe-page .pe-world .pe-card--order .pe-lines{font-size:clamp(14px,1.9vh,17px);line-height:1.4}
  html body.pe-page .pe-world .pe-pick{gap:clamp(10px,1.6vh,18px)}
  html body.pe-page .pe-world .pe-opts{gap:clamp(4px,.8vh,8px)}
  html body.pe-page .pe-world label.pe-opt,
  html body.pe-page .pe-world .pe-opt__row,
  html body.pe-page .pe-world .pe-opt--base{min-height:clamp(44px,6.4vh,62px);padding-top:clamp(5px,1vh,10px);padding-bottom:clamp(5px,1vh,10px)}
  html body.pe-page .pe-world .pe-colour__opt{min-height:clamp(44px,6.4vh,62px);padding-top:clamp(4px,.9vh,9px);padding-bottom:clamp(4px,.9vh,9px)}
  html body.pe-page .pe-world .pe-colour__opt img{width:clamp(32px,4.6vh,44px);height:clamp(32px,4.6vh,44px)}
  html body.pe-page .pe-world .pe-opt__name,
  html body.pe-page .pe-world .pe-colour__name{font-size:clamp(15px,2vh,17px)}
  html body.pe-page .pe-world .pe-opt__sub{font-size:clamp(12.5px,1.6vh,14px)}
  html body.pe-page .pe-world .pe-opt__price{font-size:clamp(20px,2.6vh,24px)}
  html body.pe-page .pe-world .pe-opt--sup.is-on .pe-step{padding:clamp(5px,1vh,10px) 0 clamp(6px,1.2vh,12px)}
  html body.pe-page .pe-world .pe-step__btn{width:clamp(36px,4.6vh,44px);height:clamp(36px,4.6vh,44px)}
  html body.pe-page .pe-world .pe-sum{padding-top:clamp(8px,1.6vh,16px)}
  html body.pe-page .pe-world .pe-total{font-size:clamp(32px,4.8vh,46px)}
  html body.pe-page .pe-world .pe-card--order a.pe-cta{width:clamp(200px,30vh,290px);font-size:clamp(18px,2.4vh,22px)}

  /* Simple cards: tighter on short screens. */
  html body.pe-page .pe-world .pe-card:not(.pe-card--order){gap:clamp(12px,2.2vh,24px);padding:clamp(18px,3vh,38px) clamp(24px,2.6vw,40px) clamp(18px,2.8vh,34px)}
  html body.pe-page .pe-world .pe-card:not(.pe-card--order) a.pe-cta{width:clamp(220px,32vh,310px)}
}

/* ---- Phone ----------------------------------------------------------- */
@media (max-width:767px){
  html body.pe-page .pe-intro{padding:76px 16px 28px}
  html body.pe-page .pe-intro__inner{gap:18px}
  html body.pe-page .pe-intro .pe-intro__title{font-size:clamp(40px,12vw,56px)!important}
  html body.pe-page .pe-tiles{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
  html body.pe-page .pe-tile__link{padding:6px 6px 0;border-radius:22px}
  html body.pe-page .pe-tile__name{padding:8px 2px 9px;font-size:17px}

  /* Sections: one screen, art on top, the card pinned to the bottom. */
  html body.pe-page .pe-world{
    display:flex;
    flex-direction:column;
    justify-content:flex-end;
    padding:0 12px 12px;
  }
  html body.pe-page .pe-world .pe-card{flex:none}
  html body.pe-page .pe-world .pe-card--order{padding:14px 14px 12px;gap:10px}
  html body.pe-page .pe-world .pe-card--order .pe-lines{font-size:14px;line-height:1.4}
  html body.pe-page .pe-world .pe-pick{gap:10px}
  html body.pe-page .pe-world .pe-opts{gap:4px}
  html body.pe-page .pe-world label.pe-opt,
  html body.pe-page .pe-world .pe-opt__row,
  html body.pe-page .pe-world .pe-opt--base{min-height:44px;padding:5px 12px 5px 10px}
  html body.pe-page .pe-world .pe-opt__input{left:10px}
  html body.pe-page .pe-world .pe-colour__opt{min-height:44px;padding:4px 10px 4px 6px}
  html body.pe-page .pe-world .pe-colour__opt img{width:34px;height:34px;border-radius:10px}
  html body.pe-page .pe-world .pe-opt__name,
  html body.pe-page .pe-world .pe-colour__name{font-size:15px}
  html body.pe-page .pe-world .pe-opt__sub{font-size:12.5px}
  html body.pe-page .pe-world .pe-opt__price{font-size:20px}
  html body.pe-page .pe-world .pe-opt--sup.is-on .pe-step{padding:5px 0 6px}
  html body.pe-page .pe-world .pe-step{margin:0 12px 0 42px}
  html body.pe-page .pe-world .pe-step__btn{width:36px;height:36px}
  html body.pe-page .pe-world .pe-sum{padding-top:8px}
  html body.pe-page .pe-world .pe-total{font-size:32px}
  html body.pe-page .pe-world .pe-card--order a.pe-cta{width:min(210px,100%);font-size:18px}
  html body.pe-page .pe-world .pe-card:not(.pe-card--order){padding:16px 16px 14px;gap:12px}
  html body.pe-page .pe-world .pe-card:not(.pe-card--order) a.pe-cta{width:min(230px,100%)}
}
@media (max-width:767px){
  /* Concessions bands: each machine shown whole, right-aligned in its band. */
  html body.pe-page .pe-tile__art--trio .pe-tile__slice img{
    position:absolute;right:0;top:50%;left:auto;
    width:115%;height:auto;object-fit:fill;
    transform:translateY(var(--ty,-50%));
  }
  html body.pe-page .pe-tile__slice--cotton{--ty:-65%}
  html body.pe-page .pe-tile__slice--popcorn{--ty:-60%}
  html body.pe-page .pe-tile__slice--sno{--ty:-57%}
  /* Attendant fills the room between the title and the card. */
  html body.pe-page .pe-world--attendant{--pe-manH:calc(100svh - 420px)}
  html body.pe-page .pe-world--attendant .pe-hero{
    top:122px;
    height:var(--pe-manH);
    margin-left:calc(var(--pe-manH) * -0.275);
  }
}
