/*
  Croc's Playcentre party booking (P1073), the booking page and the family's own
  party page.

  The rules from "Base" down are the website's own booking interface, copied as
  it is so the page looks exactly like the one families already know. Change
  them only together with the website's copy.

  Everything above "Base" exists because this page lives on the Club surface:
  its fonts are served from here (the policy only allows this site's own), and
  the Club's framework reset is undone inside the page so the copied rules land
  on the same browser defaults they were written against.
*/

@font-face {
  font-family: "Fredoka";
  src: url("/parties/fonts/fredoka-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Nunito";
  src: url("/parties/fonts/nunito.woff2") format("woff2");
  font-weight: 200 1000;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Nunito";
  src: url("/parties/fonts/nunito-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

/*
  The framework's reset zeroes every margin and padding and flattens headings,
  links and icons. The copied rules were written for a browser's defaults, so
  those are put back inside the page. Zero specificity, so every copied rule
  still wins exactly as it did on the website.

  Borders are deliberately left alone: putting them back would also undo the
  payment provider's frame attributes and draw a box around its buttons.
*/
:where(.crocs-party) :where(*) { margin: revert; padding: revert; }
:where(.crocs-party) :where(h1, h2, h3) { font-size: revert; font-weight: revert; font-family: inherit; letter-spacing: normal; text-wrap: wrap; }
:where(.crocs-party) :where(a) { color: revert; text-decoration: revert; }
:where(.crocs-party) :where(svg) { display: revert; vertical-align: revert; }
:where(.crocs-party) :where(textarea) { resize: revert; }
:where(.crocs-party) ::selection { background-color: Highlight; color: HighlightText; }

/* The page has its own skip link to the form; the Club's points at nothing here. */
body > a[href="#main"] { display: none; }

/* ---------- Base (the website's booking interface) ---------- */

:root {
  --pink: #fc0351; --pink-deep: #c80040; --pink-soft: #fff2f6;
  --blue: #05a1d6; --blue-deep: #0479a0; --blue-soft: #f2fafd;
  --green: #69ad41; --green-deep: #3f7a1f;
  --gold-deep: #7a6300; --yellow-soft: #fefdf3;
  --ink: #1d1a2b; --ink-soft: #4f4b63; --mist: #f5f4fa; --line: #e6e6ec; --field-line: #8c899e;
  --r-block: 24px; --r-image: 16px; --r-xl: 12px; --r-pill: 999px;
  --display: "Fredoka", system-ui, sans-serif; --sans: "Nunito", system-ui, sans-serif;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; font-family: var(--sans); font-size: 1rem; line-height: 1.6; color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { margin: 0; line-height: 1.2; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { padding: 0; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; box-shadow: 0 0 0 3px #fff; border-radius: 6px; }
[tabindex="-1"]:focus-visible { outline: none; box-shadow: none; }
.choice:has(input:focus-visible) { outline: 3px solid var(--ink); outline-offset: 3px; box-shadow: 0 0 0 3px #fff; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--r-xl); font-weight: 700; }
.skip:focus { top: 12px; }

.topbar { border-bottom: 1px solid var(--line); background: #fff; }
.topbar .wrap { display: flex; align-items: center; gap: 12px; padding-top: 12px; padding-bottom: 12px; }
.topbar img { width: 48px; height: 48px; border-radius: var(--r-xl); }
.topbar p { font-family: var(--display); font-size: 1.25rem; color: var(--pink-deep); font-weight: 700; }
.wrap { margin: 0 auto; width: 100%; max-width: 1200px; padding-left: 16px; padding-right: 16px; }
@media (min-width: 640px) { .wrap { padding-left: 24px; padding-right: 24px; } }
.page { padding-top: 32px; padding-bottom: 32px; }
@media (min-width: 640px) { .page { padding-top: 48px; padding-bottom: 48px; } }
.layout { display: grid; gap: 32px; }
@media (min-width: 1024px) { .layout { grid-template-columns: minmax(0,1fr) 360px; } }
.stack > * + * { margin-top: 24px; }
.form-stack > * + * { margin-top: 32px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 12px 24px; border: 0; border-radius: var(--r-pill); font-weight: 700; line-height: 1; cursor: pointer; text-decoration: none; transition: transform .15s ease-out, background-color .15s; }
.btn:hover { transform: translateY(-1px); }
.btn:disabled { cursor: not-allowed; opacity: .5; transform: none; }
.btn-pink { background: var(--pink); color: #fff; } .btn-pink:hover { background: var(--pink-deep); }
.btn-ghost { background: var(--mist); color: var(--pink-deep); } .btn-ghost:hover { background: var(--pink-soft); }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: .875rem; }
.btn-block { width: 100%; }

.label { display: block; margin-bottom: 4px; font-weight: 700; }
.field { display: block; width: 100%; min-height: 48px; padding: 10px 16px; border: 2px solid var(--field-line); border-radius: var(--r-xl); background: #fff; }
.field:focus-visible { border-color: var(--ink); }
.field[aria-invalid="true"] { border-color: var(--pink-deep); }
textarea.field { min-height: 96px; }
.field-sm { min-height: 40px; padding: 6px 12px; font-size: .875rem; text-transform: uppercase; }
.hint { font-size: .875rem; color: var(--ink-soft); }
.error-text { font-size: .875rem; font-weight: 700; color: var(--pink-deep); }
.muted { color: var(--ink-soft); }
.small { font-size: .875rem; } .xs { font-size: .75rem; }
.bold { font-weight: 700; }
.mt-1 { margin-top: 4px; } .mt-2 { margin-top: 8px; } .mt-3 { margin-top: 12px; } .mt-4 { margin-top: 16px; } .mt-5 { margin-top: 20px; }
.grid-2 { display: grid; gap: 16px; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: 1fr 1fr; } .span-2 { grid-column: 1 / -1; } }
.link { color: var(--blue-deep); text-decoration: underline; text-underline-offset: 2px; }

.hero { display: flex; gap: 20px; padding: 24px; border: 2px solid; border-radius: var(--r-image); }
.hero .ico { display: none; }
.hero > div { flex: 1; min-width: 0; }
@media (min-width: 640px) { .hero .ico { display: block; } }
.hero h1 { font-family: var(--display); font-size: 1.5rem; font-weight: 700; text-align: center; }

.box { border: 2px solid var(--line); border-radius: var(--r-block); background: #fff; padding: 16px; }
.notice { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 16px; border-radius: var(--r-xl); background: var(--blue-soft); font-size: .875rem; }
.alert { padding: 16px; border: 2px solid var(--pink); border-radius: var(--r-xl); background: var(--pink-soft); color: var(--pink-deep); }
.alert ul { list-style: disc; padding-left: 20px; margin-top: 8px; }
.alert button { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; text-align: left; }
.row-between { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }

/* Stepper */
.stepper { border: 2px solid var(--line); border-radius: var(--r-block); background: #fff; padding: 16px; }
@media (min-width: 640px) { .stepper { padding: 16px 24px; } .stepper .mobile-step { display: none; } }
.stepper ol { display: flex; align-items: flex-start; margin: 0; padding: 0; list-style: none; }
.stepper li { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; }
.stepper .bar { position: absolute; right: 50%; top: 18px; height: 2px; transform: translateY(-50%); margin-right: 18px; width: calc(100% - 36px); background: var(--line); }
.stepper .bar.on { background: var(--green-deep); }
.stepper .node { position: relative; display: flex; flex-direction: column; align-items: center; padding: 0 4px; background: none; border: 0; border-radius: var(--r-xl); }
.stepper button.node { cursor: pointer; min-height: 44px; }
.stepper button.node:hover .dot { border-color: var(--pink); }
.dot { display: flex; width: 36px; height: 36px; flex-shrink: 0; align-items: center; justify-content: center; border: 2px solid var(--field-line); border-radius: 50%; background: #fff; color: var(--ink-soft); font-size: .875rem; font-weight: 700; }
.dot.done { border-color: var(--green-deep); background: var(--green-deep); color: #fff; }
.dot.current { border-color: var(--pink); background: var(--pink); color: #fff; }
.step-label { display: none; margin-top: 6px; text-align: center; font-size: .75rem; line-height: 1.25; color: var(--ink-soft); }
.step-label.current { font-weight: 700; color: var(--ink); }
@media (min-width: 640px) { .step-label { display: block; } }

/* Steps */
.step { border-top: 1px solid var(--line); padding-top: 32px; }
.step:first-child { border-top: 0; padding-top: 0; }
.step > h2 { font-family: var(--display); font-size: 1.25rem; font-weight: 700; text-align: left; outline: none; }
.step-body { margin-top: 16px; }

.opt { display: flex; align-items: center; gap: 16px; padding: 12px; border: 2px solid var(--line); border-radius: var(--r-image); cursor: pointer; transition: border-color .15s; }
.opt:hover { border-color: rgba(252,3,81,.5); }
.opt.on { border-color: var(--pink); background: var(--pink-soft); }
.opt img { width: 80px; height: 80px; flex-shrink: 0; border-radius: var(--r-xl); object-fit: cover; }
.opt input[type=radio] { width: 24px; height: 24px; flex-shrink: 0; accent-color: var(--pink); }
.list-3 > li + li { margin-top: 12px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; justify-content: center; padding: 8px 16px; border: 2px solid var(--field-line); border-radius: var(--r-pill); background: #fff; font-size: .875rem; font-weight: 700; cursor: pointer; }
.chip:hover { border-color: var(--pink); }
.chip.on { border-color: var(--pink); background: var(--pink); color: #fff; }
.chip.off { cursor: not-allowed; border-color: var(--line); color: rgba(79,75,99,.5); text-decoration: line-through; }
.chip-lg { padding: 8px 20px; font-size: 1rem; }
.kids { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
@media (min-width: 640px) { .kids { grid-template-columns: repeat(9, 1fr); } }
.kid { display: flex; height: 44px; align-items: center; justify-content: center; border: 2px solid var(--field-line); border-radius: var(--r-xl); font-weight: 700; cursor: pointer; }
.kid:hover { border-color: var(--pink); }
.kid.on { border-color: var(--pink); background: var(--pink); color: #fff; }

table.hire { margin-top: 20px; width: 100%; max-width: 28rem; border-collapse: collapse; font-size: .875rem; }
table.hire th, table.hire td { padding: 8px 12px; border-left: 1px solid var(--line); text-align: left; vertical-align: top; }
table.hire th:first-child, table.hire td:first-child { border-left: 0; }
table.hire thead tr { background: var(--mist); color: var(--ink-soft); }
table.hire tbody tr { border-top: 1px solid var(--line); }
.extra-box { margin-top: 20px; max-width: 28rem; padding: 16px; border: 2px solid var(--pink); border-radius: var(--r-xl); background: var(--mist); font-size: .875rem; }
.extra-box ul { list-style: disc; padding-left: 20px; margin-top: 8px; }
.extra-box li + li { margin-top: 8px; }

/* Calendar */
.date-grid { display: grid; gap: 24px; }
@media (min-width: 1024px) { .date-grid { grid-template-columns: auto 1fr; } }
.cal { width: 100%; max-width: 28rem; padding: 12px; border: 1px solid var(--line); border-radius: var(--r-block); background: #fff; }
@media (min-width: 640px) { .cal { padding: 16px; } }
.cal-head { display: flex; align-items: center; justify-content: space-between; }
.cal-nav { display: flex; width: 40px; height: 40px; align-items: center; justify-content: center; border: 0; border-radius: var(--r-pill); background: none; cursor: pointer; }
.cal-nav:hover { background: var(--mist); }
.cal-nav:disabled { opacity: .3; cursor: default; }
.cal-row { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; margin-top: 4px; }
.cal-wd { padding: 4px 0; text-align: center; font-size: .75rem; font-weight: 700; color: var(--ink-soft); }
.cal-wd abbr { text-decoration: none; }
.day { display: flex; width: 100%; height: 40px; align-items: center; justify-content: center; border: 0; border-radius: var(--r-xl); background: transparent; color: rgba(79,75,99,.4); font-size: .875rem; font-weight: 700; cursor: default; }
@media (min-width: 640px) { .day { height: 44px; } }
.day.open { background: var(--mist); color: var(--ink); cursor: pointer; }
.day.open:hover { background: var(--pink-soft); color: var(--pink-deep); }
.day.sel { background: var(--pink); color: #fff; }
.legend { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; font-size: .75rem; color: var(--ink-soft); }
.sw { display: inline-block; width: 12px; height: 12px; margin-right: 4px; border-radius: 4px; vertical-align: middle; }
.room-times { padding: 12px; border: 2px solid; border-radius: var(--r-image); }
.room-times + .room-times { margin-top: 12px; }
.room-times p.bold { display: flex; align-items: center; gap: 8px; }
.room-times img { width: 32px; height: 32px; border-radius: 8px; object-fit: cover; }

/* Food and add-ons */
.food-grid { display: grid; gap: 12px; margin-top: 12px; }
@media (min-width: 640px) { .food-grid { grid-template-columns: 1fr 1fr; } }
.item { display: flex; align-items: center; gap: 12px; padding: 8px; border: 2px solid var(--line); border-radius: var(--r-image); }
.item.on { border-color: var(--pink); background: var(--pink-soft); }
.item img, .item .ph { width: 64px; height: 64px; flex-shrink: 0; border-radius: var(--r-xl); object-fit: cover; }
.item .ph { display: flex; align-items: center; justify-content: center; background: var(--mist); color: var(--pink); }
.grow { flex: 1; min-width: 0; }
/* A food's note for families (P1127), for example what meat it is. */
.food-note { display: block; margin-top: 2px; font-weight: 400; font-size: .8125rem; line-height: 1.35; }
/* The no refunds note above the card form (P1127): a border and a bold heading, not colour alone. */
.no-refunds { margin-top: 20px; padding: 14px 16px; border: 2px solid var(--ink); border-radius: var(--r-xl); background: #fff; color: var(--ink); }
.no-refunds h3 { font-size: 1rem; font-weight: 700; }
.qty { display: flex; align-items: center; gap: 4px; }
.qbtn { display: flex; width: 36px; height: 36px; align-items: center; justify-content: center; border: 0; border-radius: var(--r-pill); background: var(--pink); color: #fff; cursor: pointer; }
.qbtn:disabled { opacity: .3; cursor: default; }
.qty output { width: 24px; text-align: center; font-weight: 700; }
.qty input { width: 48px; height: 36px; border: 2px solid var(--field-line); border-radius: var(--r-xl); text-align: center; font-weight: 700; }
.addons { container-type: inline-size; }
.addons ul > li + li { margin-top: 12px; }
.addons .addon { padding: 12px; }
@media (min-width: 640px) { .addons .addon img, .addons .addon .ph { width: 80px; height: 80px; } }
.addons .twoup { display: grid; gap: 12px; }
.addons .twoup > li + li { margin-top: 0; }
.addons .twoup .addon { flex-direction: column; align-items: stretch; }
.addons .twoup .addon .top { display: flex; align-items: flex-start; gap: 12px; }
.addons .twoup .addon .ctl { margin-top: auto; display: flex; justify-content: flex-end; }
@container (min-width: 36rem) { .addons .twoup { grid-template-columns: 1fr 1fr; } .addons .twoup .addon { height: 100%; } }
/* Add-on descriptions show in full, never clamped: families need every word (Kitchen Use's appliance limits were cut off, P1315). */
.addons .addon .desc { overflow-wrap: anywhere; }
.perchild { display: flex; align-items: center; gap: 8px; font-size: .875rem; font-weight: 700; }
.ctl-col { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
input[type=checkbox], input[type=radio] { accent-color: var(--pink); }
.cb { width: 24px; height: 24px; }
.cb-sm { width: 20px; height: 20px; margin-top: 4px; flex-shrink: 0; }
.tick-row { display: flex; align-items: flex-start; gap: 12px; }
.done-text { color: var(--green-deep); }
.panel { padding: 16px; border-radius: var(--r-xl); background: var(--mist); font-size: .875rem; }

/* Party and centre choice */
.types { display: grid; gap: 12px; }
@media (min-width: 640px) { .types { grid-template-columns: 1fr 1fr; } }
.type-card { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border: 2px solid; border-radius: var(--r-image); cursor: pointer; }
.type-card.on { box-shadow: 0 0 0 3px var(--pink); }
.type-card input { width: 22px; height: 22px; }

/* Summary */
.summary { padding: 20px; border: 2px solid var(--pink); border-radius: var(--r-block); background: #fff; }
.summary h2 { font-family: var(--display); font-size: 1.125rem; font-weight: 700; text-align: left; }
.summary .who { display: flex; align-items: center; gap: 12px; margin-top: 12px; }
.summary .who img { width: 56px; height: 56px; border-radius: var(--r-xl); }
.summary details { margin-top: 12px; border-radius: var(--r-xl); background: var(--mist); font-size: .875rem; }
.summary summary { display: flex; align-items: center; justify-content: space-between; padding: 8px 12px; font-weight: 700; cursor: pointer; list-style: none; }
.summary summary::-webkit-details-marker { display: none; }
.summary details[open] summary svg { transform: rotate(180deg); }
.incl { padding: 0 12px 12px; }
.incl ul { list-style: disc; padding-left: 24px; }
.incl li + li { margin-top: 4px; }
.incl p { margin-bottom: 8px; }
.summary dl { margin: 16px 0 0; font-size: .875rem; }
.summary dl > div { display: flex; justify-content: space-between; gap: 8px; }
.summary dl > div + div { margin-top: 4px; }
.summary dd { margin: 0; text-align: right; font-weight: 700; }
.summary .sep { border-top: 1px solid var(--line); padding-top: 8px; }
.summary .total { font-size: 1rem; }
.summary .due { color: var(--pink-deep); font-weight: 700; }
.summary .soft dd { font-weight: 400; }
.side { display: none; }
/*
  The summary never scrolls inside itself (P1153). It stays beside the steps
  only while all of it fits on the screen; viewport.js puts "sum-pin" on the
  page when it does. Taller than the screen, it scrolls with the page, so none
  of it is ever out of reach.
*/
@media (min-width: 1024px) { .side { display: block; } .sum-pin .side .summary { position: sticky; top: 16px; } }
.mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 12px; border-top: 1px solid var(--line); background: #fff; box-shadow: 0 -6px 20px rgba(0,0,0,.08); }
.mbar .row-between { flex-wrap: nowrap; }
.mbar .trunc { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mspacer { height: 80px; }
@media (min-width: 1024px) { .mbar, .mspacer, .sheet { display: none !important; } }
.sheet { position: fixed; inset: 0; z-index: 50; display: flex; align-items: flex-end; background: rgba(0,0,0,.5); }
.sheet > div { width: 100%; max-height: 85vh; overflow-y: auto; padding: 16px; border-radius: var(--r-block) var(--r-block) 0 0; background: #fff; }
.test-note { margin-top: 8px; padding: 12px; border-radius: var(--r-xl); background: var(--yellow-soft); font-size: .75rem; color: var(--gold-deep); }

.nav-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); padding-top: 24px; }
pre.payload { margin: 12px 0 0; padding: 16px; max-height: 420px; overflow: auto; border-radius: var(--r-xl); background: var(--ink); color: #fff; font-size: .8125rem; line-height: 1.5; white-space: pre-wrap; word-break: break-word; }
.hp { display: none; }
.ico svg { display: block; }

/* ---------- Added on the Club surface ---------- */

/* A day whose every time is booked, drawn like the legend's "Fully booked". */
.day.full { text-decoration: line-through; }

/* The deposit payment: one heading and button per way to pay. */
.pay-way + .pay-way { margin-top: 20px; }
.pay-way h3 { font-family: var(--sans); font-size: 1rem; font-weight: 700; margin: 0 0 8px; }
.pay-ph { height: 48px; border-radius: var(--r-pill); background: var(--line); animation: pay-pulse 1.4s ease-in-out infinite; }
.pay-ph + .pay-ph { margin-top: 12px; }
@keyframes pay-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
@media (prefers-reduced-motion: reduce) { .pay-ph { animation: none; } }
.done-head { font-family: var(--sans); font-size: 1.25rem; font-weight: 700; color: var(--green-deep); outline: none; }

/* The family's own page: the guest list. */
.guest-row { display: flex; gap: 8px; align-items: center; }
.guest-row .field { flex: 1; min-width: 0; }
.guest-list > li + li { margin-top: 8px; }
.lock-note { margin-top: 12px; padding: 12px; border-radius: var(--r-xl); background: var(--yellow-soft); color: var(--gold-deep); font-size: .875rem; }
.kid:has(input:disabled) { cursor: not-allowed; border-color: var(--line); color: rgba(79,75,99,.5); }
.kid.on:has(input:disabled) { border-color: var(--pink); color: #fff; }
.qty input:disabled, textarea.field:disabled, .field:disabled { background: var(--mist); cursor: not-allowed; }
@media (min-width: 1024px) { .sum-pin .manage-side .summary { position: sticky; top: 16px; } }
.ok-note { padding: 16px; border: 2px solid var(--green-deep); border-radius: var(--r-xl); background: #f3faf0; color: var(--green-deep); }

/*
  Inside a centre's website (P1077). The frame is made as tall as the page, so
  nothing in it scrolls and "fixed" and "sticky" mean the whole booking, not
  the screen. The website's embed.js reports which part of the frame is on
  screen, and viewport.js turns that into these variables and the "vp" class;
  until it does, the rules above apply unchanged.
    --vp-top, --vp-bottom  the visible part of the frame, from its top
    --vp-h                 the visible height
    --sum-y                how far the summary panel is moved down its column,
                           0 when the panel is taller than the screen (P1153)
*/
.vp .mbar { position: absolute; top: var(--vp-bottom); bottom: auto; transform: translateY(-100%); }
.vp .sheet { position: absolute; inset: auto 0; top: var(--vp-top); height: var(--vp-h); }
.vp .sheet > div { max-height: calc(var(--vp-h) * .85); }
@media (min-width: 1024px) {
  .vp .side .summary, .vp .manage-side .summary { position: relative; top: var(--sum-y, 0px); }
}

/* The centre picker: type to search, grouped by state (P1077). */
.combo { position: relative; }
.combo .field { padding-right: 44px; }
.combo-btn { position: absolute; top: 0; right: 0; width: 44px; height: 100%; display: flex; align-items: center; justify-content: center; border: 0; background: none; color: var(--ink-soft); cursor: pointer; }
.combo-list { position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 4px); max-height: 320px; overflow-y: auto; padding: 4px 0; border: 2px solid var(--field-line); border-radius: var(--r-xl); background: #fff; box-shadow: 0 10px 24px rgba(0,0,0,.12); }
.combo-group { padding: 8px 14px 4px; font-size: .75rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-soft); }
.combo-opt { padding: 8px 14px; min-height: 24px; cursor: pointer; }
.combo-opt .xs { display: block; }
.combo-opt.active, .combo-opt:hover { background: var(--pink-soft); }
.combo-opt[aria-selected="true"] { font-weight: 700; color: var(--pink-deep); }
.combo-empty { padding: 8px 14px; color: var(--ink-soft); }

/* ---------- The opening screen inside the website's frame (P1081) ----------
   The website's own "Choose Your Party" section, drawn from its markup and
   stylesheet so the frame opens on exactly what the page showed before. The
   values are the website's; change them only together with the website. */
@font-face { font-family: "Site Fredoka"; src: url("/parties/fonts/site-fredoka-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Site Nunito"; src: url("/parties/fonts/site-nunito-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Site Nunito"; src: url("/parties/fonts/site-nunito-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
/* The website's own font files, so every line wraps where it did there. */
.cyp { --display: "Site Fredoka", "Fredoka", system-ui, sans-serif; --sans: "Site Nunito", "Nunito", system-ui, sans-serif; font-family: var(--sans); }
.cyp { width: 100%; max-width: 1200px; margin: 0 auto; padding: 48px 16px; background: #fff; }
@media (min-width: 640px) { .cyp { padding-left: 24px; padding-right: 24px; } }
.cyp h1 { margin: 0; font-family: var(--display); font-weight: 700; font-size: 2.25rem; line-height: 1.1; letter-spacing: .005em; color: var(--pink); text-align: center; }
@media (min-width: 640px) { .cyp h1 { font-size: 3rem; } }
.cyp-intro { max-width: 42rem; margin: 12px auto 0; text-align: center; color: var(--ink-soft); font-size: 1rem; line-height: 1.6; }
.cyp-intro b { font-weight: 700; }
.cyp-none { max-width: 42rem; margin: 40px auto 0; text-align: center; color: var(--ink-soft); }
.cyp-none a { color: var(--pink-deep); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.cyp-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; margin: 40px 0 0; padding: 0; list-style: none; }
@media (min-width: 768px) { .cyp-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .cyp-row { grid-template-columns: repeat(min(var(--n, 4), 5), minmax(0, 1fr)); } }
@media (min-width: 1280px) { .cyp-row { grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); } }
.cyp-row > li { margin: 0; padding: 0; }
.cyp-card { position: relative; display: flex; flex-direction: column; height: 100%; padding: 20px; border: 2px solid; border-radius: 24px; text-align: center; color: var(--ink); transition: background-color .2s, color .2s; }
.cyp-card svg { display: block; }
.cyp-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); white-space: nowrap; border-radius: 999px; padding: 2px 12px; font-size: .75rem; line-height: 1rem; font-weight: 700; color: #fff; }
.cyp-ico { display: flex; align-items: center; justify-content: center; width: 64px; height: 64px; margin: 0 auto; }
.cyp-card h2 { margin: 8px 0 0; font-family: var(--display); font-size: 1.25rem; font-weight: 700; line-height: 1.1; letter-spacing: .005em; color: var(--ink); }
.cyp-from { margin: 4px 0 0; font-size: .875rem; line-height: 1.25rem; color: var(--ink-soft); }
.cyp-price { font-family: var(--display); font-size: 1.5rem; line-height: 2rem; font-weight: 700; }
.cyp-desc { margin: 12px 0 0; font-size: .875rem; line-height: 1.25rem; color: var(--ink-soft); }
.cyp-hl { margin: 16px 0 0; padding: 0; list-style: none; text-align: left; font-size: .875rem; line-height: 1.25rem; }
.cyp-hl li { display: flex; gap: 8px; margin: 0; padding: 0; }
.cyp-hl li + li { margin-top: 8px; }
.cyp-hl svg { flex-shrink: 0; box-sizing: border-box; width: 18px; height: 18px; margin-top: 2px; padding: 2px; border-radius: 9999px; background: var(--pink); color: #fff; }
.cyp-inc { margin: 16px 0 0; border-radius: 16px; background: rgba(255, 255, 255, .7); text-align: left; }
.cyp-inc summary { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; font-size: .875rem; line-height: 1.25rem; font-weight: 700; cursor: pointer; list-style: none; }
.cyp-inc summary::-webkit-details-marker { display: none; }
.cyp-inc summary svg { flex-shrink: 0; transition: rotate .15s cubic-bezier(.4, 0, .2, 1); }
.cyp-inc[open] summary svg { rotate: 180deg; }
.cyp-inc-body { padding: 0 16px 16px; font-size: .875rem; line-height: 1.25rem; }
.cyp-inc-body ul { margin: 0; padding-left: 24px; list-style: disc; }
.cyp-inc-body li { margin: 0; padding: 0; }
.cyp-inc-body li + li { margin-top: 4px; }
.cyp-inc-body strong { font-weight: 700; }
.cyp-rooms { margin: 12px 0 0; text-align: left; }
.cyp-rooms p { margin: 0; font-size: .875rem; line-height: 1.25rem; font-weight: 700; }
.cyp-rooms ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 0; padding: 0; list-style: none; }
.cyp-rooms li { margin: 0; padding: 0; }
.cyp-rooms a { display: inline; padding: 4px 12px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font-size: .875rem; line-height: 1.25rem; font-weight: 700; text-decoration: none; }
@media (hover: hover) { .cyp-rooms a:hover { border-color: var(--pink); color: var(--pink-deep); } }
.cyp-go { margin-top: auto; padding-top: 20px; }
.cyp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 44px; padding: 12px 24px; border-radius: 999px; background: var(--pink); color: #fff; font-family: var(--sans); font-size: 1rem; font-weight: 700; line-height: 1; text-decoration: none; user-select: none; transition: transform .15s cubic-bezier(0, 0, .2, 1); }
.cyp-btn:hover { transform: translateY(-1px); }
.cyp-btn:active { transform: translateY(0); }
@media (hover: hover) { .cyp-btn:hover { background: var(--pink-deep); } }
/* Hover or keyboard focus anywhere in a card fills it with the party colour. */
.cyp-card:hover, .cyp-card:focus-within { color: var(--pkg-fg); background: var(--pkg-bg) !important; }
.cyp-card:hover :is(p, h2, li, summary), .cyp-card:focus-within :is(p, h2, li, summary) { color: var(--pkg-fg) !important; }
.cyp-card:hover :is(details, details *), .cyp-card:focus-within :is(details, details *) { color: var(--ink) !important; }
.cyp-card:hover :is(.cyp-price, .cyp-ico), .cyp-card:focus-within :is(.cyp-price, .cyp-ico) { color: var(--pkg-fg) !important; }
@media (prefers-reduced-motion: reduce) { .cyp-card, .cyp-btn, .cyp-inc summary svg { transition: none; } }

/* ---------- The location step on its own, inside the website (P1082) ----------
   As the website's /book/<party> page draws it: a pill search field with a pin,
   Continue beside it, the list of centres floating below grouped by state, and
   the summary in the page rather than a bar on a phone. */
.step.loc-only { border-top: 0; padding-top: 8px; }
.form-stack > .step.loc-only { margin-top: 0; }
.step.loc-only > h2 { line-height: 1.1; letter-spacing: .1px; }
.loc-form { margin-top: 16px; max-width: 576px; }
.loc-form > .label { margin-bottom: 4px; font-size: .875rem; line-height: 1.43; }
.loc-row { display: flex; flex-direction: column; gap: 12px; }
@media (min-width: 640px) { .loc-row { flex-direction: row; align-items: center; gap: 16px; } .loc-go { min-width: 150px; } }
.loc-row .combo-big { flex: 1; min-width: 0; }
.combo-big .field { min-height: 56px; padding: 14px 56px; border-color: var(--pink); border-radius: var(--r-pill); font-size: 1rem; font-weight: 600; line-height: 1.5; color: var(--pink-deep); }
.combo-big .field::placeholder { color: var(--pink-deep); opacity: 1; }
.combo-big .field:focus-visible { border-color: var(--pink-deep); }
.combo-big .field[aria-invalid="true"] { border-color: var(--pink-deep); }
.combo-pin { position: absolute; left: 24px; top: 50%; transform: translateY(-50%); display: flex; color: var(--pink); pointer-events: none; }
.combo-big .combo-btn { right: 8px; width: 48px; color: rgba(29,26,43,.6); }
.combo-big .combo-btn svg { transition: transform .3s; }
.combo-big.open .combo-btn svg { transform: rotate(180deg); }
.combo-big .combo-list { top: calc(100% + 12px); max-height: 450px; padding: 16px; border-color: var(--pink); border-radius: 16px; box-shadow: 0 4px 14px rgba(0,0,0,.12); scrollbar-width: thin; scrollbar-color: #ccc transparent; }
.combo-big .combo-list > [role=group] + [role=group] { margin-top: 20px; }
.combo-big .combo-group { margin-bottom: 10px; padding: 0; font-family: "Site Fredoka", var(--display); font-size: 1.25rem; font-weight: 700; line-height: 1.4; letter-spacing: normal; text-transform: none; color: var(--ink); }
.combo-big .combo-opt { margin-bottom: 8px; padding: 12px 16px; border-radius: 12px; background: #f8f8f8; color: var(--ink); line-height: 1.6; }
.combo-big .combo-opt:last-child { margin-bottom: 0; }
.combo-big .combo-opt.active, .combo-big .combo-opt:hover { background: var(--pink-soft); box-shadow: inset 0 0 0 2px var(--pink); }
.combo-big .combo-opt[aria-selected="true"] { font-weight: 700; color: var(--pink-deep); }
.combo-big .combo-empty { padding: 4px; }
.side.side-stack { display: block; }
.step.loc-only > p, .loc-form .hint, .loc-form .error-text { line-height: 1.43; }
