/* Party plan and checkout retain the house shapes while showing the actual selected cast. */
.yp-head { min-width: 0; padding-top: 14px; padding-bottom: 18px; align-items: center; }
.yp-head .yp-title { min-width: 0; max-width: 100%; line-height: 1.18; padding: .06em .12em .12em; margin-left: -.12em; }
.yp-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.yp-card { position: relative; display: flex; flex-direction: column; align-items: stretch; padding: 10px; gap: 10px; border-radius: 24px; }
.yp-card-face { display: block; width: 100%; padding: 0; border: 0; border-radius: 18px; background: none; cursor: zoom-in; }
.yp-card-face img { width: 100%; height: 190px; border-radius: 18px; object-fit: contain; background: #fff; }
.yp-card-face { transition: box-shadow .2s ease; }
.yp-card-face:hover { box-shadow: 0 0 0 3px var(--lilac); }
.yp-card-who { padding: 0 4px 4px; }
.yp-card-name { white-space: normal; font-size: 17px; }
.yp-card > .yp-x { position: absolute; top: 16px; right: 16px; background: #fff; box-shadow: 0 4px 18px #28183c18; }
.yp-finder { padding: 18px; border: 1px solid var(--line); border-radius: 24px; background: #faf8ff; gap: 14px; }
.yp-finder-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.yp-finder-head h3 { margin: 0; font-size: 20px; }
.yp-filters { display: flex; gap: 7px; flex-wrap: wrap; }
.yp-filters .quiz-chip { font-size: 13px; min-height: 36px; }
.yp-gallery-status { margin: 0; font-size: 13px; color: var(--ink-3); }
.yp-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; gap: 14px; }
.yp-gallery-card { display: flex; flex-direction: column; gap: 8px; min-width: 0; padding: 8px; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.yp-gallery-photo { display: block; position: relative; width: 100%; border: 0; padding: 0; border-radius: 14px; background: var(--lilac-2); cursor: zoom-in; overflow: hidden; }
.yp-gallery-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: contain; }
.yp-gallery-photo img { transition: transform .3s cubic-bezier(.22, 1, .36, 1); }
.yp-gallery-photo:hover img { transform: scale(1.025); }
.yp-photo-hint { position: absolute; bottom: 6px; right: 6px; padding: 4px 7px; border-radius: 8px; background: #ffffffeb; color: var(--ink-2); font-size: 10px; }
.yp-gallery-name { color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 650; line-height: 1.3; }
.yp-gallery-name:hover { text-decoration: underline; }
.yp-gallery-add { margin-top: auto; width: 100%; min-height: 40px; padding: 9px 6px; font-size: 12px; }
.yp-gallery-add[aria-pressed="true"] { background: var(--green-2, #def3e7); color: var(--green-ink); opacity: 1; }
.yp-finder .yp-suggest { border-top: 1px solid var(--line); padding-top: 14px; }
.yp-suggest > summary { cursor: pointer; font-size: 14px; font-weight: 600; }
.yp-photo-dialog { position: fixed; width: min(540px, calc(100vw - 28px)); max-height: calc(100dvh - 32px); border: 0; border-radius: 28px; padding: 24px; background: #fff; color: var(--ink); box-shadow: 0 30px 90px #26163f35; overflow: auto; }
.yp-photo-dialog:not([open]) { display: none; }
.yp-photo-dialog[open] { animation: photo-dialog-in .24s cubic-bezier(.22, 1, .36, 1); }
.yp-photo-dialog::backdrop { background: #21152c80; backdrop-filter: blur(4px); }
.yp-photo-dialog[open]::backdrop { animation: photo-dialog-fade .2s ease; }
@keyframes photo-dialog-in { from { opacity: 0; transform: translateY(10px) scale(.98); } }
@keyframes photo-dialog-fade { from { opacity: 0; } }
.yp-photo-dialog > .yp-x { position: absolute; top: 14px; right: 14px; background: #fff; z-index: 1; }
.yp-photo-dialog > img { display: block; width: 100%; height: min(48dvh, 430px); object-fit: contain; border-radius: 18px; background: var(--lilac-2); }
.yp-photo-dialog h2 { margin: 16px 0 6px; font-size: 25px; }
.yp-photo-dialog p { color: var(--ink-3); font-size: 13px; }
.yp-photo-dialog .hero-actions { align-items: center; flex-wrap: wrap; gap: 14px; }
.ck-summary .price-summary-item { gap: 6px; }
.ck-summary .price-summary-item b { line-height: 1.35; overflow-wrap: anywhere; }
.ck-summary .price-summary-item span { line-height: 1.5; }
.yp-card, .yp-gallery-card { transition: border-color .2s ease, box-shadow .2s ease; }
.yp-gallery-card:focus-within { border-color: var(--violet); box-shadow: 0 0 0 2px var(--lilac); }
@media (max-width: 700px) {
  .yp-finder { padding: 12px; }
  .yp-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .yp-card-face img { height: 155px; }
  .yp-card-name { font-size: 15px; }
  .yp-sec-head { flex-wrap: wrap; }
  .yp-sec-meta { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .yp-card, .yp-gallery-card, .yp-card-face, .yp-gallery-photo img { transition: none; }
  .yp-gallery-photo:hover img { transform: none; }
  .yp-photo-dialog[open], .yp-photo-dialog[open]::backdrop { animation: none; }
}

/* Small visual anchors keep planning readable without adding another step. */
.flow-mark { display: inline-grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 13px; color: var(--flow-accent, #7252be); background: var(--flow-tint, #eee7fc); }
.flow-mark .ic { width: 21px; height: 21px; }
.yp-sec { --flow-accent: #7252be; --flow-tint: #eee7fc; background: linear-gradient(135deg, var(--flow-tint), #fff 170px); }
.yp-sec[data-yp-sec="when"] { --flow-accent: #327482; --flow-tint: #e3f2f4; }
.yp-sec[data-yp-sec="length"] { --flow-accent: #a46534; --flow-tint: #fff0df; }
.yp-sec[data-yp-sec="kid"] { --flow-accent: #a84b6c; --flow-tint: #fbe7ef; }
.yp-sec-head { padding-bottom: 12px; border-bottom: 1px solid var(--flow-tint); margin-bottom: 16px; }
.yp-sec-head h2 { margin: 0; }
.yp-sec .yp-lede { font-size: 14px; line-height: 1.5; }
.yp-main .yp-program { padding: 0; margin-top: 16px; background: #fff8ef; border: 1px solid #ecdcc9; overflow: hidden; }
.yp-program > summary { display: flex; align-items: center; gap: 10px; padding: 12px 14px; list-style: none; cursor: pointer; font-size: 14px; font-weight: 650; }
.yp-program > summary::-webkit-details-marker { display: none; }
.yp-program summary small { display: block; margin-top: 3px; font-size: 12px; font-weight: 400; color: var(--ink-3); }
.yp-program .flow-mark { width: 32px; height: 32px; }
.yp-program .program-chevron { margin-left: auto; flex: none; width: 18px; transition: transform .2s ease; }
.yp-program[open] .program-chevron { transform: rotate(180deg); }
.yp-program-body { padding: 0 14px 12px; }
.yp-program-body .yp-sub { margin: 2px 0 6px; font-size: 14px; }
.yp-program-body .yp-hour-note { font-size: 12px; }
.yp-program-body .pl-act { padding: 9px 0; grid-template-columns: 54px minmax(0, 1fr) auto; gap: 10px; }
.yp-program-body .pl-body b { font-size: 13px; }
.yp-program-body .pl-body span, .yp-program-body .pl-time, .yp-program-body .pl-len { font-size: 12px; }
.yp-program-body .pl-body span { line-height: 1.4; }
.yp-program > summary:focus-visible { outline: 3px solid var(--violet); outline-offset: -4px; border-radius: 18px; }
.flow-heading { display: flex; align-items: center; gap: 10px; }
#party-checkout .field > label { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
#party-checkout .field > label > .optional { margin-left: 2px; }
@media (max-width: 700px) {
  .flow-mark { width: 32px; height: 32px; border-radius: 11px; }
  .flow-mark .ic { width: 18px; height: 18px; }
  .yp-sec-head { padding-bottom: 10px; margin-bottom: 14px; }
  .yp-program-body .pl-body span { display: none; }
}
@media (prefers-reduced-motion: reduce) { .yp-program .program-chevron { transition: none; } }

/* ---------- Plan your party in steps: one card open at a time, a folded card says what it holds ---------- */
.yp-step { padding: 0; transition: border-color .2s ease, box-shadow .2s ease; }
.yp-step:not(.is-open) { box-shadow: none; }
.yp-step.is-open { border-color: #DCD3F2; box-shadow: 0 24px 50px -38px rgba(42, 26, 62, .6); }
.yp-step > .yp-sec-head { position: relative; display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; align-items: center; gap: 12px; margin: 0; padding: 14px 18px; }
.yp-step > .yp-sec-head h2 { min-width: 0; margin: 0; font-size: inherit; }
.yp-toggle { display: grid; gap: 2px; width: 100%; min-height: 44px; align-content: center; padding: 0; border: 0; background: none; color: var(--ink); font: inherit; text-align: left; cursor: pointer; }
.yp-toggle::after { content: ''; position: absolute; inset: 0; border-radius: 24px; }
.yp-toggle:focus-visible { outline: none; }
.yp-toggle:focus-visible::after { box-shadow: inset 0 0 0 3px #9972E7; }
.yp-toggle-title { font-size: 19px; font-weight: 660; line-height: 1.2; letter-spacing: -.02em; }
.yp-sum { overflow: hidden; font-size: 14.5px; font-weight: 600; line-height: 1.35; color: var(--ink-2); white-space: nowrap; text-overflow: ellipsis; }
.yp-sum.is-empty { font-weight: 500; color: var(--ink-3); }
.yp-step.is-open .yp-sum { display: none; }
.yp-num { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--lilac-2); color: var(--dusk); font-size: 15px; font-weight: 700; transition: background-color .2s ease, color .2s ease; }
.yp-num .ic { display: none; width: 16px; height: 16px; }
.yp-step.is-open .yp-num { background: var(--dusk); color: #fff; }
.yp-step.is-done .yp-num { background: var(--green); color: #fff; }
.yp-step.is-done .yp-num > span { display: none; }
.yp-step.is-done .yp-num .ic { display: block; }
.is-live .yp-step.is-done .yp-num { animation: yp-tick .45s cubic-bezier(.3, 1.6, .5, 1); }
.yp-change { font-size: 14px; font-weight: 650; color: var(--dusk); text-decoration: underline; text-underline-offset: 3px; }
.yp-step.is-open .yp-change, .yp-step:not(.is-done) .yp-change { display: none; }
.yp-step-body { padding: 2px 18px 20px; }
.yp-step-body[hidden] { display: none !important; }
.is-live .yp-step.is-open .yp-step-body { animation: yp-open .3s cubic-bezier(.2, .8, .2, 1); }
@keyframes yp-open { from { opacity: 0; translate: 0 -6px; } }
.yp-step-foot { display: grid; gap: 10px; margin-top: 18px; }
.yp-say { margin: 0; padding: 10px 12px; border-radius: 12px; background: #FFF1F1; font-size: 14.5px; font-weight: 600; line-height: 1.4; color: #B4232A; }
.yp-say:not([hidden]) { animation: yp-say .3s cubic-bezier(.2, .8, .2, 1); }
.pf-say:not([hidden]) { animation: yp-say .3s cubic-bezier(.2, .8, .2, 1); }
@keyframes yp-say { from { opacity: 0; translate: 0 -4px; } }
.yp-next { justify-self: start; min-width: 150px; }

/* Who's coming: the chosen ones as rows, then the search, then the most booked or the matches */
.yp-step .yp-cards { grid-template-columns: minmax(0, 1fr); gap: 8px; margin: 0 0 16px; }
.yp-step .yp-card { display: grid; grid-template-columns: 56px minmax(0, 1fr) 40px; flex-direction: row; align-items: center; gap: 12px; padding: 8px; border-radius: 18px; background: var(--lilac-2); }
.yp-step .yp-card-face { width: 56px; border-radius: 14px; }
.yp-step .yp-card-face img { width: 56px; height: 56px; border-radius: 14px; background: #fff; object-fit: cover; }
.yp-step .yp-card-who { padding: 0; }
.yp-step .yp-card-name { font-size: 16px; white-space: nowrap; }
.yp-step .yp-card > .yp-x { position: static; box-shadow: none; }
.yp-step .yp-maybe { margin: -4px 0 14px; }
.yp-step .yp-maybe .yp-sub { margin-top: 0; }
.yp-step .yp-full { margin: 0 0 4px; }
.yp-step .yp-finder { gap: 10px; margin: 0; padding: 0; border: 0; border-radius: 0; background: none; }
.yp-step .yp-finder[hidden] { display: none; }
.yp-search { position: relative; padding-right: 6px; }
.yp-search input { height: 52px; }
.yp-search input::-webkit-search-cancel-button { display: none; }
.yp-search-clear { display: grid; flex: none; place-items: center; width: 38px; height: 38px; padding: 0; border: 0; border-radius: 50%; background: var(--lilac-2); color: var(--ink-2); cursor: pointer; }
.yp-search-clear[hidden] { display: none; }
.yp-search-clear .ic { width: 16px; height: 16px; color: inherit; }
.yp-status { margin: 2px 0 0; font-size: 15px; line-height: 1.4; color: var(--ink-2); }
.yp-status:empty { display: none; }
.yp-status b { font-weight: 700; color: var(--ink); }
.yp-popular .yp-sub { margin: 6px 0 0; font-size: 15px; color: var(--ink); }
.yp-popular[hidden], .yp-rows[hidden] { display: none; }
.yp-rows { display: grid; margin: 0; padding: 0; list-style: none; }
.yp-row { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.yp-row:last-child { border-bottom: 0; }
.yp-row-face { display: block; padding: 0; border: 0; border-radius: 14px; background: none; cursor: zoom-in; }
.yp-row-face img { display: block; width: 56px; height: 56px; border-radius: 14px; background: var(--lilac-2); object-fit: cover; object-position: 50% 18%; }
.yp-row-who { display: grid; gap: 1px; min-width: 0; }
.yp-row-name { overflow: hidden; font-size: 16px; font-weight: 650; line-height: 1.3; letter-spacing: -.01em; color: var(--ink); text-decoration: none; white-space: nowrap; text-overflow: ellipsis; }
.yp-row-name:hover { text-decoration: underline; text-underline-offset: 3px; }
.yp-row-who small { font-size: 13px; font-weight: 500; color: var(--ink-3); }
.yp-row-add { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 88px; height: 42px; padding: 0 16px; border: 1.5px solid var(--dusk); border-radius: 999px; background: #fff; color: var(--dusk); font: inherit; font-size: 15px; font-weight: 650; cursor: pointer; transition: background-color .2s ease, border-color .2s ease, color .2s ease, scale .15s ease; }
.yp-row-add:hover { background: var(--lilac-2); }
.yp-row-add:active { scale: .96; }
.yp-row-add .ic { display: none; width: 16px; height: 16px; }
.yp-row-add[aria-pressed="true"] { border-color: var(--green); background: var(--green); color: #fff; }
.yp-row-add[aria-pressed="true"] .ic { display: block; }
.yp-row-add:disabled { opacity: .4; cursor: not-allowed; }
.yp-all { display: inline-block; margin-top: 8px; font-size: 15px; font-weight: 600; }
.yp-step .yp-more { justify-self: start; }
.yp-step .yp-none { margin: 0; font-size: 15px; }
.yp-step .yp-suggest { margin-top: 4px; padding-top: 12px; border-top: 1px solid var(--line); }
.yp-len-note { margin-top: 10px; }
@media (min-width: 761px) { .yp-step .lengths { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.yp-step .yp-kids { margin-top: 18px; }
.yp-share-link { justify-self: center; margin-top: -4px; padding: 6px 0; border: 0; background: none; font: inherit; font-size: 14.5px; font-weight: 600; color: var(--dusk); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* The phone bar: today's price and the way on, in place of the site's dock */
.yp-bar { position: fixed; z-index: 46; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: rgba(255, 255, 255, .96); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 -12px 30px -20px rgba(42, 26, 62, .4); }
.yp-bar[hidden] { display: none; }
.yp-bar-price { display: grid; min-width: 0; margin: 0; line-height: 1.2; }
.yp-bar-price b { font-size: 20px; font-weight: 700; letter-spacing: -.02em; color: var(--green-ink); font-variant-numeric: tabular-nums; }
.yp-bar-price span { overflow: hidden; font-size: 13px; color: var(--ink-2); white-space: nowrap; text-overflow: ellipsis; }
.yp-bar-go { flex: none; min-width: 128px; height: 50px; padding: 0 22px; font-size: 16px; }
.has-yp-bar .sticky { display: none !important; }
@media (max-width: 999px) {
  .has-yp-bar body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .has-yp-bar .toast { bottom: calc(86px + env(safe-area-inset-bottom)); }
  .yp-next { display: none; }
  .yp-step-foot { margin-top: 14px; }
  .yp-step-foot:has(> .yp-say[hidden]) { display: none; }
  /* Below the cards the ticket keeps the price and the other ways on; the bar holds the date. */
  .yp-layout .yp-ticket .yp-facts, .yp-layout .yp-ticket .yp-hold { display: none; }
  .yp-layout .yp-ticket .yp-poster { gap: 14px; padding-bottom: 16px; }
  .yp-layout .yp-ticket .yp-poster > :not(.yp-poster-top) { margin-inline: 16px; }
  .yp-layout .yp-ticket .yp-poster-top { display: flex; align-items: center; gap: 12px; padding: 14px 16px 12px; }
  .yp-layout .yp-ticket .yp-faces { min-height: 0; }
  .yp-layout .yp-ticket .yp-faces:empty { display: none; }
  .yp-layout .yp-ticket .yp-faces img { width: 44px; height: 44px; }
  .yp-layout .yp-ticket .yp-faces img + img { margin-left: -12px; }
  .yp-layout .yp-ticket .yp-ticket-title { margin: 0; font-size: 32px; }
  .yp-layout .yp-ticket .btn-soft { margin-top: 0; }
}
@media (max-width: 760px) {
  .yp-hero .breadcrumbs { display: none; }
  .yp-stage { padding-bottom: 12px; }
  .yp-head { gap: 8px 16px; margin-top: 4px; padding-top: 10px; padding-bottom: 6px; }
  .yp-head .yp-title { font-size: 48px; }
  .yp-note { padding: 8px 12px; font-size: 13px; }
  .yp-note-hand { font-size: 20px; }
  .yp-body { padding-top: 10px; }
  .yp-main { gap: 10px; }
  .yp-step > .yp-sec-head { padding: 12px 14px; gap: 10px; }
  .yp-step-body { padding: 2px 14px 18px; }
  .yp-toggle-title { font-size: 18px; }
}
@media (min-width: 1000px) {
  .yp-bar { display: none !important; }
  .yp-step > .yp-sec-head { padding: 18px 26px; }
  .yp-step-body { padding: 2px 26px 26px; }
}
@media (prefers-reduced-motion: reduce) {
  .is-live .yp-step.is-open .yp-step-body, .yp-say:not([hidden]), .pf-say:not([hidden]), .is-live .yp-step.is-done .yp-num { animation: none; }
}
.ticket .error-notice:not([hidden]), .yp-poster .error-notice:not([hidden]) { animation: yp-say .3s cubic-bezier(.2, .8, .2, 1); }
