/* Party Rental Simulator — front end styles */

.prs-root {
	--prs-brand: #ff5a4e;
	--ink: #211f3d;
	--ink-2: #5b5878;
	--paper: #fff9f1;
	--card: #ffffff;
	--line: rgba(33, 31, 61, .12);
	--t-p: #ff4d5a;
	--t-s: #ffc93c;
	--t-a: #2bb3ff;
	--sky1: #86cdf9;
	--sky2: #fff0cf;
	--head: "Fredoka", "Nunito", ui-rounded, system-ui, sans-serif;
	--body: "Nunito", ui-rounded, system-ui, -apple-system, "Segoe UI", sans-serif;
	--top: calc(var(--wp-admin--admin-bar--height, 0px) + 16px);
	--ease-back: cubic-bezier(.3, 1.45, .5, 1);
	position: relative;
	box-sizing: border-box;
	color: var(--ink);
	font-family: var(--body);
	font-size: 16px;
	line-height: 1.5;
	container-type: inline-size;
	container-name: prs;
}
.prs-root.prs-full {
	width: calc(100vw - var(--prs-sbw, 0px));
	max-width: none !important;
	margin-left: calc(50% - (100vw - var(--prs-sbw, 0px)) / 2) !important;
	margin-right: 0 !important;
}
.prs-root *, .prs-root *::before, .prs-root *::after { box-sizing: border-box; }
/* Light reset against aggressive theme styles */
.prs-root button { text-transform: none; letter-spacing: normal; min-height: 0; text-shadow: none; margin: 0; }
.prs-root svg { max-width: none; }
.prs-root ul, .prs-root li { list-style: none; }
.prs-root p { margin-left: 0; margin-right: 0; }
.prs-root .prs-loading { padding: 80px 20px; text-align: center; color: var(--ink-2); }

.prs-root.prs { background: var(--paper); border-radius: 0; }
.prs-layout {
	display: grid;
	grid-template-columns: minmax(0, 1.55fr) minmax(360px, 1fr);
	gap: clamp(20px, 3vw, 48px);
	padding: 16px clamp(16px, 3vw, 40px) 40px;
	max-width: 1560px;
	margin: 0 auto;
}

/* ---------- Stage ---------- */
.prs-stage {
	position: sticky;
	top: var(--top);
	align-self: start;
	aspect-ratio: 6 / 5;
	max-height: calc(100vh - var(--top) - 16px);
	max-height: calc(100svh - var(--top) - 16px);
	min-height: 420px;
	border-radius: 28px;
	overflow: hidden;
	background: var(--sky1);
	box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 24px 60px -28px rgba(33,31,61,.45);
	transition: background-color 1s ease;
	isolation: isolate;
}
.prs-scene, .prs-svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.prs-svg { overflow: visible; }

.prs-hud-top {
	position: absolute; top: 14px; left: 14px; right: 14px;
	display: flex; justify-content: space-between; gap: 8px; pointer-events: none;
}
.prs-chip {
	pointer-events: auto;
	display: inline-flex; align-items: center; gap: 6px;
	padding: 7px 14px; border-radius: 999px; border: 0;
	background: rgba(255,255,255,.82);
	-webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
	font: 700 13px/1.2 var(--body); color: var(--ink);
	box-shadow: 0 4px 14px -6px rgba(33,31,61,.35);
}
.prs-daynight { cursor: pointer; }
.prs-daynight:hover { background: #fff; }
.prs-dn-icon { width: 14px; height: 14px; border-radius: 50%; background: #2a2f6b; box-shadow: inset -4px -2px 0 0 #ffd667; }
.prs-daynight[aria-pressed="true"] .prs-dn-icon { background: #ffd667; box-shadow: 0 0 0 3px rgba(255,214,103,.35); }

.prs-hud-bottom {
	position: absolute; left: 14px; right: 14px; bottom: 14px;
	display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; pointer-events: none;
}
.prs-dots { display: flex; gap: 2px; pointer-events: auto; background: rgba(255,255,255,.75); border-radius: 999px; padding: 6px 8px; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.prs-dot { width: 22px; height: 22px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; border-radius: 50%; }
.prs-dot span { width: 8px; height: 8px; border-radius: 50%; background: rgba(33,31,61,.25); transition: all .3s var(--ease-back); }
.prs-dot.is-done span { background: var(--ink); }
.prs-dot.is-active span { width: 12px; height: 12px; background: var(--prs-brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--prs-brand) 25%, transparent); }
.prs-dot:focus-visible { outline: 2px solid var(--ink); }

.prs-pricebar {
	pointer-events: auto;
	display: flex; align-items: center; gap: 14px;
	background: rgba(255,255,255,.94);
	-webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
	border-radius: 20px; padding: 10px 10px 10px 18px;
	box-shadow: 0 12px 30px -12px rgba(33,31,61,.45);
}
.prs-price-meta { display: grid; line-height: 1.15; }
.prs-price-label { font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.prs-price-total { font-family: var(--head); font-size: 24px; font-weight: 600; font-variant-numeric: tabular-nums; }
.prs-price-count { font-size: 12px; color: var(--ink-2); }
.prs-root.on-book .prs-goto-book { display: none; }

/* ---------- Steps ---------- */
.prs-steps { display: flex; flex-direction: column; }
.prs-step {
	min-height: 86vh;
	display: flex; align-items: center;
	padding: 6vh 0;
}
.prs-step-venue { align-items: flex-start; padding-top: 0; min-height: 92vh; }
.prs-step-book { min-height: 0; align-items: flex-start; }
.prs-card {
	width: 100%;
	background: var(--card);
	border-radius: 26px;
	padding: clamp(20px, 2.4vw, 32px);
	box-shadow: 0 1px 0 var(--line), 0 18px 40px -26px rgba(33,31,61,.35);
	opacity: .5;
	transform: translateY(14px) scale(.985);
	transition: opacity .5s ease, transform .6s var(--ease-back);
}
.prs-step.is-active .prs-card, .prs-step-book .prs-card { opacity: 1; transform: none; }

.prs-kicker { margin: 0 0 6px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--prs-brand); }
.prs-root .prs-h { margin: 0 0 8px; font-family: var(--head); font-weight: 600; font-size: clamp(26px, 2.6vw, 38px); line-height: 1.08; letter-spacing: -.01em; color: var(--ink); }
.prs-lead { margin: 0 0 20px; color: var(--ink-2); font-size: 16px; }
.prs-scroll-hint { margin: 22px 0 0; font-weight: 800; color: var(--ink-2); font-size: 14px; }
.prs-scroll-hint span { display: inline-block; animation: prs-nudge 1.6s ease-in-out infinite; color: var(--prs-brand); }
@keyframes prs-nudge { 50% { transform: translateY(5px); } }

.prs-field { margin: 0 0 16px; }
.prs-label { display: block; font-size: 13px; font-weight: 800; margin-bottom: 8px; color: var(--ink); }
.prs-label small { font-weight: 600; color: var(--ink-2); }
.prs-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }

.prs-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.prs-pill {
	border: 1.5px solid var(--line); background: #fff; color: var(--ink);
	padding: 8px 14px; border-radius: 999px; cursor: pointer;
	font: 700 14px/1.2 var(--body);
	transition: all .2s ease;
}
.prs-pill:hover { border-color: var(--ink); }
.prs-pill[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }

/* Quantity stepper */
.prs-qty { display: inline-flex; align-items: center; gap: 4px; background: #f4f1ec; border-radius: 999px; padding: 4px; }
.prs-qty output { min-width: 30px; text-align: center; font-weight: 800; font-variant-numeric: tabular-nums; }
.prs-qbtn {
	width: 34px; height: 34px; border-radius: 50%; border: 0; cursor: pointer;
	background: #fff; color: var(--ink); font: 700 18px/1 var(--body);
	box-shadow: 0 2px 6px -2px rgba(33,31,61,.3);
	transition: transform .15s ease, background .2s;
}
.prs-qbtn:hover:not(:disabled) { background: var(--ink); color: #fff; }
.prs-qbtn:active:not(:disabled) { transform: scale(.9); }
.prs-qbtn:disabled { opacity: .35; cursor: not-allowed; box-shadow: none; }

/* Item cards */
.prs-items { display: grid; gap: 10px; }
.prs-item {
	display: grid; grid-template-columns: 70px minmax(0, 1fr) auto; gap: 14px; align-items: center;
	padding: 12px 14px 12px 12px; border-radius: 18px;
	border: 1.5px solid var(--line); background: #fff;
	transition: border-color .25s, background .25s, transform .3s var(--ease-back);
}
.prs-item.is-selected { border-color: var(--prs-brand); background: color-mix(in srgb, var(--prs-brand) 6%, #fff); }
.prs-item.is-out { opacity: .6; }
.prs-item-ico { width: 70px; height: 62px; border-radius: 14px; background: linear-gradient(#dff2ff, #eaf8e6); display: grid; place-items: center; padding: 6px; }
.prs-item-ico svg { width: 100%; height: 100%; overflow: visible; }
.prs-root .prs-item-name { margin: 0; font: 700 16px/1.25 var(--body); color: var(--ink); }
.prs-item-desc { margin: 2px 0 0; font-size: 13px; color: var(--ink-2); line-height: 1.35; }
.prs-item-meta { margin: 6px 0 0; display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; }
.prs-item-price { font-weight: 800; font-size: 14px; }
.prs-item-price small { font-weight: 600; color: var(--ink-2); }
.prs-tag { display: inline-block; font-size: 11px; font-weight: 800; padding: 2px 8px; border-radius: 99px; }
.prs-tag-ok { background: #ddf6e4; color: #12653a; }
.prs-tag-low { background: #fff1cf; color: #8a5800; }
.prs-tag-out { background: #fde2e3; color: #9b1c22; }

.prs-toggle {
	border: 1.5px solid var(--ink); background: #fff; color: var(--ink);
	padding: 9px 16px; border-radius: 999px; cursor: pointer; font: 800 14px/1 var(--body);
	min-width: 92px; transition: all .2s ease;
}
.prs-toggle:hover:not(:disabled) { background: var(--ink); color: #fff; }
.prs-toggle .prs-toggle-on { display: none; }
.prs-toggle[aria-pressed="true"] { background: var(--prs-brand); border-color: var(--prs-brand); color: #fff; }
.prs-toggle[aria-pressed="true"] .prs-toggle-add { display: none; }
.prs-toggle[aria-pressed="true"] .prs-toggle-on { display: inline; }
.prs-toggle:disabled { opacity: .4; cursor: not-allowed; }

.prs-banner-field { display: grid; gap: 4px; margin-top: 10px; font-size: 12px; font-weight: 800; }
.prs-banner-field[hidden] { display: none; }

.prs-link { background: none; border: 0; padding: 0; margin-top: 14px; color: var(--prs-brand); font: 800 14px/1.3 var(--body); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* Themes */
.prs-themes { display: grid; grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); gap: 8px; }
.prs-theme {
	display: grid; gap: 4px; justify-items: start; text-align: left;
	padding: 10px 12px; border-radius: 16px; border: 1.5px solid var(--line); background: #fff; cursor: pointer;
	font-family: var(--body); color: var(--ink); transition: all .2s;
}
.prs-theme:hover { border-color: var(--ink); }
.prs-theme[aria-pressed="true"] { border-color: var(--ink); box-shadow: 0 0 0 2px var(--ink) inset; }
.prs-sw { display: flex; }
.prs-sw i { width: 20px; height: 20px; border-radius: 50%; border: 2px solid #fff; margin-right: -6px; box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.prs-theme-name { font-weight: 800; font-size: 13px; }
.prs-theme-extra { font-size: 12px; color: var(--ink-2); }

/* Summary + form */
.prs-summary { background: #f7f3ec; border-radius: 20px; padding: 18px 18px 14px; margin-bottom: 22px; }
.prs-root .prs-sum-h { margin: 0 0 10px; font: 600 18px/1.2 var(--head); color: var(--ink); }
.prs-lines { list-style: none; margin: 0; padding: 0; }
.prs-lines li { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; font-size: 14px; font-variant-numeric: tabular-nums; }
.prs-lines li b { font-weight: 800; }
.prs-lines-sub { border-top: 1.5px dashed var(--line); margin-top: 8px; padding-top: 6px; color: var(--ink-2); }
.prs-free { color: #12653a; }
.prs-total-row { display: flex; justify-content: space-between; align-items: baseline; border-top: 2px solid var(--ink); margin-top: 8px; padding-top: 10px; }
.prs-total-row span { font-weight: 800; }
.prs-total-row strong { font: 600 28px/1 var(--head); font-variant-numeric: tabular-nums; }
.prs-deposit { margin: 6px 0 0; font-size: 13px; color: var(--ink-2); text-align: right; }
.prs-nudge { margin: 12px 0 0; padding: 8px 12px; border-radius: 12px; background: #fff; font-size: 13px; font-weight: 700; }
.prs-nudge::before { content: "🚚 "; }
.prs-empty { font-weight: 700; color: var(--ink-2); }

.prs-form input[type=text], .prs-form input[type=email], .prs-form input[type=tel], .prs-form input[type=date], .prs-form input[type=time], .prs-form textarea, .prs-banner-input {
	width: 100%; max-width: none; margin: 0;
	padding: 12px 14px; border-radius: 12px;
	border: 1.5px solid var(--line); background: #fff; color: var(--ink);
	font: 600 15px/1.3 var(--body);
	box-shadow: none; transition: border-color .2s, box-shadow .2s;
}
.prs-banner-input { padding: 8px 10px; font-size: 14px; text-transform: uppercase; }
.prs-form input:focus, .prs-form textarea:focus, .prs-banner-input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px color-mix(in srgb, var(--prs-brand) 25%, transparent); }
.prs-form .is-invalid { border-color: #d7262f; box-shadow: 0 0 0 3px rgba(215,38,47,.15); }
.prs-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.prs-avail-status { margin: -6px 0 16px; font-size: 14px; font-weight: 700; color: var(--ink-2); min-height: 1.4em; }
.prs-avail-status.is-ok { color: #12653a; }
.prs-avail-status.is-warn { color: #9b4a00; }

.prs-modes { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.prs-mode { position: relative; cursor: pointer; }
.prs-mode input { position: absolute; opacity: 0; }
.prs-mode span { display: grid; gap: 2px; height: 100%; padding: 12px 14px; border-radius: 16px; border: 1.5px solid var(--line); transition: all .2s; }
.prs-mode strong { font-size: 14px; }
.prs-mode small { font-size: 12px; color: var(--ink-2); line-height: 1.3; }
.prs-mode input:checked + span { border-color: var(--ink); box-shadow: 0 0 0 2px var(--ink) inset; }
.prs-mode input:focus-visible + span { outline: 3px solid color-mix(in srgb, var(--prs-brand) 40%, transparent); }

.prs-form-error { color: #b3141c; font-weight: 700; font-size: 14px; margin: 0 0 10px; min-height: 0; }
.prs-form-error:empty { display: none; }
.prs-fineprint { font-size: 12px; color: var(--ink-2); margin: 10px 0 0; text-align: center; }

.prs-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	border: 0; border-radius: 999px; cursor: pointer;
	background: var(--prs-brand); color: #fff;
	font: 800 15px/1 var(--body);
	padding: 14px 22px;
	box-shadow: 0 10px 22px -10px color-mix(in srgb, var(--prs-brand) 80%, #000);
	transition: transform .2s var(--ease-back), filter .2s;
}
.prs-btn:hover { filter: brightness(1.06); transform: translateY(-1px); }
.prs-btn:active { transform: translateY(1px); }
.prs-btn:disabled { opacity: .6; cursor: progress; }
.prs-btn:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.prs-btn-sm { padding: 11px 16px; font-size: 14px; white-space: nowrap; }
.prs-btn-lg { width: 100%; padding: 18px 22px; font-size: 16px; }
.prs-btn-ghost { background: #fff; color: var(--ink); border: 1.5px solid var(--ink); box-shadow: none; }

.prs-success { text-align: center; padding: 20px 6px; outline: none; }
.prs-success-badge { font-size: 46px; line-height: 1; margin-bottom: 8px; animation: prs-pop .7s var(--ease-back); }
.prs-root .prs-success h3 { font: 600 24px/1.2 var(--head); margin: 0 0 8px; color: var(--ink); }
.prs-muted { color: var(--ink-2); font-size: 14px; }
@keyframes prs-pop { from { transform: scale(0) rotate(-20deg); } }

/* Confetti */
.prs-confetti { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 3; }
.prs-confetti i { position: absolute; top: -20px; width: 9px; height: 14px; border-radius: 2px; animation: prs-fall 3s cubic-bezier(.25,.6,.4,1) forwards; }
@keyframes prs-fall { to { transform: translate(var(--x), 1100px) rotate(var(--r)); } }

/* =========================================================
 * Scene
 * ======================================================= */
.prs-svg * { transition: fill .6s ease, stop-color 1s ease, opacity .8s ease; }
.prs-svg .sky1 { stop-color: var(--sky1); }
.prs-svg .sky-top { fill: var(--sky1); }
.prs-svg .sky2 { stop-color: var(--sky2); }
.prs-svg .g1 { stop-color: #86cf6f; }
.prs-svg .g2 { stop-color: #4ea255; }
.prs-svg .stars circle { fill: #fff; }
.prs-svg .stars { opacity: 0; }
.prs-svg .sun { transition: transform 1.4s cubic-bezier(.5,0,.3,1); }
.prs-svg .sun-core { fill: #ffd667; }
.prs-svg .sun-halo { fill: #ffeaa6; opacity: .45; }
.prs-svg .clouds ellipse { fill: #fff; opacity: .92; }
.prs-svg .cloud-drift { animation: prs-drift 22s ease-in-out infinite alternate; }
.prs-svg .cloud-1 .cloud-drift { animation-duration: 30s; animation-delay: -8s; }
.prs-svg .cloud-2 .cloud-drift { animation-duration: 26s; animation-delay: -14s; }
@keyframes prs-drift { to { transform: translateX(60px); } }
.prs-svg .hill-far { fill: #a7d79c; }
.prs-svg .trees circle { fill: #5fa86c; }
.prs-svg .fence { fill: #fffaf0; }
.prs-svg .mow path { fill: #fff; opacity: .07; }
.prs-svg .tufts path { fill: #3d8a45; }
.prs-svg .ground-hard { opacity: 0; }
.prs-svg .pavers path { stroke: #fff; stroke-opacity: .35; stroke-width: 2; fill: none; }
.prs-svg.venue-hard .ground-hard { opacity: 1; }
.prs-svg.venue-hard .ground-grass { opacity: 0; }
.prs-svg .dusk { fill: #121848; opacity: 0; pointer-events: none; }

/* Evening */
.prs-root.is-evening { --sky1: #1b2258; --sky2: #f2936d; }
.prs-svg.is-evening .dusk { opacity: .36; }
.prs-svg.is-evening .stars { opacity: 1; }
.prs-svg.is-evening .sun { transform: translateY(190px); }
.prs-svg.is-evening .sun-core { fill: #ff8a57; }
.prs-svg.is-evening .clouds ellipse { opacity: .25; }
.prs-svg.is-evening .bulb-glow { opacity: 1; animation: prs-twinkle 2.4s ease-in-out infinite; animation-delay: calc(var(--i) * -.37s); }
.prs-svg.is-evening .bulb { fill: #fff6cf; }
.prs-svg.is-evening .tile-a { animation: prs-disco 1.8s steps(1) infinite; animation-delay: calc(var(--i) * -.22s); }
@keyframes prs-twinkle { 50% { opacity: .55; } }
@keyframes prs-disco { 0% { fill: var(--t-p); } 33% { fill: var(--t-s); } 66% { fill: var(--t-a); } }

/* Item paints */
.prs-root .p { fill: var(--t-p); }
.prs-root .s { fill: var(--t-s); }
.prs-root .a { fill: var(--t-a); }
.prs-root .pd { fill: color-mix(in srgb, var(--t-p) 68%, #211f3d); }
.prs-root .sd { fill: color-mix(in srgb, var(--t-s) 70%, #211f3d); }
.prs-root .w { fill: #fff; }
.prs-root .sh { fill: #17361a; opacity: .2; }
.prs-root .sh2 { fill: #17361a; opacity: .13; }
.prs-root .mesh { fill: url(#prs-mesh); }
.prs-root .hl { fill: none; stroke: #fff; stroke-opacity: .45; stroke-width: 6; stroke-linecap: round; }
.prs-root .hlf { fill: #fff; opacity: .55; }
.prs-root .stick { stroke: #6b6f80; stroke-width: 3; }
.prs-root .water { fill: #86dcff; }
.prs-root .lane { fill: none; stroke: #fff; stroke-opacity: .6; stroke-width: 4; stroke-dasharray: 12 10; }
.prs-root .rail-pd { fill: none; stroke: color-mix(in srgb, var(--t-p) 80%, #211f3d); stroke-width: 16; stroke-linecap: round; }
.prs-root .rail-a { fill: none; stroke: var(--t-a); stroke-width: 16; stroke-linecap: round; }
.prs-root .pole { fill: #8d91a6; }
.prs-root .canvas { fill: #fcfcfe; stroke: #d9dce6; stroke-width: 1.5; }
.prs-root .canvas-dark { fill: #e2e5ee; }
.prs-root .seam { stroke: #d9dce6; stroke-width: 1.5; fill: none; }
.prs-root .cloth { fill: color-mix(in srgb, var(--t-s) 40%, #fff); }
.prs-root .fold { stroke: #000; stroke-opacity: .08; stroke-width: 2; }
.prs-root .chair { fill: #fdfdfd; stroke: #c3c6d2; stroke-width: 1.2; }
.prs-root .chair-leg { stroke: #b5b8c8; stroke-width: 2.4; stroke-linecap: round; fill: none; }
.prs-root .stake { fill: #8a6a4a; }
.prs-root .ban-in { fill: none; stroke: #fff; stroke-opacity: .65; stroke-width: 2; stroke-dasharray: 5 4; }
.prs-root .ban-text { font: 700 22px var(--head); fill: #fff; letter-spacing: .04em; paint-order: stroke; stroke: color-mix(in srgb, var(--t-p) 60%, #211f3d); stroke-width: 4px; stroke-linejoin: round; }
.prs-root .cart-text { font: 700 14px var(--head); fill: color-mix(in srgb, var(--t-p) 70%, #211f3d); letter-spacing: .08em; }
.prs-root .metal { fill: #c8ccd8; }
.prs-root .candy { fill: #ffa3d2; }
.prs-root .candy2 { fill: #a6dcff; }
.prs-root .wheel { fill: #3b3d52; }
.prs-root .tile-a { fill: color-mix(in srgb, var(--t-p) 55%, #fff); }
.prs-root .tile-b { fill: #fff8ee; }
.prs-root .floor-edge { fill: rgba(0,0,0,.18); }
.prs-root .wire { fill: none; stroke: #2d2b45; stroke-width: 2.2; }
.prs-root .wire-ic { fill: none; stroke: #2d2b45; stroke-width: 2; }
.prs-root .bulb { fill: #fff3c4; stroke: rgba(0,0,0,.08); }
.prs-root .bulb-cap { fill: #2d2b45; }
.prs-root .bulb-glow { fill: url(#prs-glow); opacity: .15; }
.prs-root .bulb-glow-ic { fill: #ffe39a; opacity: .5; }

/* Idle "breathing" of inflatables */
.prs-root .prs-breath { transform-box: fill-box; transform-origin: 50% 100%; animation: prs-breathe 3.2s ease-in-out infinite; }
@keyframes prs-breathe { 50% { transform: scale(1.012, .988); } }

/* =========================================================
 * Build animations — elements start hidden; .is-shown builds them
 * ======================================================= */
.prs-anim {
	transform-box: fill-box;
	transform-origin: 50% 100%;
	opacity: 0;
	transition: transform .9s var(--ease-back) var(--d, 0ms), opacity .35s ease var(--d, 0ms);
}
.prs-el.is-shown .prs-anim { opacity: 1; transform: none; }

.anim-inflate { transform: scale(1.18, .04); transition-duration: 1.15s, .25s; transition-timing-function: cubic-bezier(.22, 1.7, .45, 1), ease; }
.anim-unfold { transform: scale(.35, 0); transition-timing-function: cubic-bezier(.2, 1.35, .4, 1), ease; }
.anim-drop { transform: translateY(-80px); transition-duration: .7s, .25s; }
.anim-slide { transform: translateX(160px) rotate(4deg); }
.anim-floor { transform-origin: 50% 50%; transform: scale(.4, 0); }
.anim-pop, .anim-draw { transform: none; }

.prs-svg .bal { transform-box: fill-box; transform-origin: 50% 50%; transform: scale(0); transition: transform .55s cubic-bezier(.3, 1.8, .5, 1) calc(var(--d, 0ms) + var(--i) * 40ms); }
.prs-el.is-shown .bal { transform: none; }

.prs-svg .unroll { transform-box: fill-box; transform-origin: 0 50%; transform: scaleX(0); transition: transform .8s cubic-bezier(.3, 1.3, .5, 1) calc(var(--d, 0ms) + 250ms); }
.prs-el.is-shown .unroll { transform: none; }

.prs-svg .wire { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.3s ease var(--d, 0ms); }
.prs-el.is-shown .wire { stroke-dashoffset: 0; }
.prs-svg .bulb-in { transform-box: fill-box; transform-origin: 50% 0; transform: scale(0); transition: transform .4s cubic-bezier(.3, 1.8, .5, 1) calc(var(--d, 0ms) + 350ms + var(--i) * 40ms); }
.prs-el.is-shown .bulb-in { transform: none; }

/* =========================================================
 * Stacked layout (narrow containers / phones)
 * ======================================================= */
@container prs (max-width: 860px) {
	.prs-layout { grid-template-columns: minmax(0, 1fr); gap: 0; padding: 0 0 24px; }
	.prs-stage { top: var(--wp-admin--admin-bar--height, 0px); aspect-ratio: auto; max-height: none; height: 46vh; height: 46svh; min-height: 280px; border-radius: 0 0 22px 22px; z-index: 5; }
	.prs-steps { padding: 0 14px; }
	.prs-step { min-height: 64vh; padding: 3vh 0; }
	.prs-step-venue { min-height: 70vh; padding-top: 16px; }
	.prs-hud-top { top: 10px; left: 10px; right: 10px; }
	.prs-hud-bottom { left: 10px; right: 10px; bottom: 10px; }
	.prs-chip { padding: 6px 11px; font-size: 12px; }
	.prs-dots { display: none; }
	.prs-pricebar { width: 100%; justify-content: space-between; padding: 8px 8px 8px 14px; border-radius: 16px; }
	.prs-price-total { font-size: 20px; }
	.prs-price-label { display: none; }
	.prs-item { grid-template-columns: 56px minmax(0, 1fr); }
	.prs-item-ico { width: 56px; height: 52px; }
	.prs-item-ctrl { grid-column: 1 / -1; justify-self: end; margin-top: -4px; }
	.prs-card { opacity: 1; transform: none; }
}
@container prs (max-width: 480px) {
	.prs-row2, .prs-modes { grid-template-columns: 1fr; }
}

/* Reduced motion: keep fades, drop movement. */
@media (prefers-reduced-motion: reduce) {
	.prs-anim, .prs-svg .bal, .prs-svg .unroll, .prs-svg .bulb-in { transform: none !important; transition: opacity .3s ease !important; }
	.prs-svg .wire { stroke-dashoffset: 0 !important; }
	.prs-root .prs-breath, .prs-svg .cloud-drift, .prs-scroll-hint span, .prs-svg.is-evening .bulb-glow, .prs-svg.is-evening .tile-a { animation: none !important; }
	.prs-card { transition: opacity .3s ease; transform: none !important; }
}
