/* Personajele campaniilor (Campanii\Personaje, assets/personaje/personaje.js): o scenă scurtă în colțul din dreapta jos
   (în stânga jos, dacă dreapta e ocupată), jucată o dată pe vizită. Ascunsă până o pornește scriptul (data-stare), apoi
   totul merge pe un singur ceas de 5 secunde (.bc-personaj__ceas): fiecare bucată are animația ei de 5 secunde, cu
   momentele scrise în procente (1% = 50 ms). Doar transform și opacity, ca să meargă lin și pe telefon. Stă sub tot ce e
   lipit de ecran (antetul, cuprinsul, filtrele catalogului, bara de jos, bara mică a campaniei, cookie-urile), deci nu le
   poate acoperi niciodată; scriptul o pornește doar când colțul nu atinge prețul, butoanele sau formularele paginii. Fără
   clicuri pe desen: doar butonul mic de închidere se apasă. Cu „mișcare redusă” și la tipărire nu apare deloc; doar în
   previzualizarea din administrare, cu „mișcare redusă”, apare un singur cadru nemișcat (data-static). */

.bc-personaj {
	display: none;
	/* semnul că stilurile au venit: fără ele, scriptul nu arată nimic (desenele ar ieși goale, la capătul paginii) */
	--bcp-stil: 1;
}
.bc-personaj[data-stare] {
	display: block;
	position: fixed;
	z-index: 39;
	right: var(--bcp-margine, 8px);
	bottom: 0;
	/* scena, plus 40 px în stânga ei pentru butonul de închidere; dedesubt, podeaua (bara de jos, dacă e) */
	width: calc(var(--bcp-l, 160) * var(--bcp-s, 1) * 1px + 40px);
	height: calc(var(--bcp-h, 320) * var(--bcp-s, 1) * 1px + var(--bcp-podea, 0px));
	overflow: hidden;
	pointer-events: none;
	transition: opacity .25s ease;
}
.bc-personaj[data-stare="iese"] {
	opacity: 0;
}
.bc-personaj[data-pauza] *,
.bc-personaj[data-pauza] *::before,
.bc-personaj[data-pauza] *::after {
	animation-play-state: paused !important;
}
.bc-personaj__scena {
	position: absolute;
	right: 0;
	bottom: var(--bcp-podea, 0px);
	width: calc(var(--bcp-l, 160) * 1px);
	height: calc(var(--bcp-h, 320) * 1px);
	transform: scale(var(--bcp-s, 1));
	transform-origin: 100% 100%;
}
.bc-personaj__scena > div,
.bc-personaj__scena > div > div {
	position: absolute;
}
.bc-personaj__scena svg {
	display: block;
	width: 100%;
	height: 100%;
	overflow: visible;
}
.bc-personaj__ceas {
	position: absolute;
	width: 0;
	height: 0;
}
.bc-personaj[data-stare] .bc-personaj__ceas {
	animation: bcp-ceas 5s linear both;
}
@keyframes bcp-ceas {
	from { opacity: 0; }
	to { opacity: 0; }
}
/* în stânga jos (scriptul, când colțul din dreapta e ocupat): scena lipită de marginea ecranului, butonul în dreapta ei */
.bc-personaj[data-latura="stanga"] {
	right: auto;
	left: var(--bcp-margine, 8px);
}
.bc-personaj[data-latura="stanga"] .bc-personaj__scena {
	right: auto;
	left: 0;
	transform-origin: 0 100%;
}
.bc-personaj[data-latura="stanga"] .bc-personaj__inchide {
	left: auto;
	right: 4px;
}
/* previzualizarea din administrare cu „mișcare redusă”: fiecare bucată stă la momentul --bcp-cadru al scenei (pisica se
   uită peste umăr, Moș Crăciun face cu mâna din horn, dopul sare); merge doar ceasul, ca după 5 secunde să se stingă */
.bc-personaj[data-static] .bc-personaj__scena *:not(.bc-personaj__ceas) {
	animation-delay: calc(-1 * var(--bcp-cadru, 1.4s)) !important;
	animation-play-state: paused !important;
}
@media (prefers-reduced-motion: reduce) {
	.bc-personaj:not([data-static]),
	.bc-personaj[data-stare]:not([data-static]) {
		display: none !important;
	}
}
@media print {
	.bc-personaj,
	.bc-personaj[data-stare] {
		display: none !important;
	}
}

/* ------------------------------------------------------------------ butonul de închidere: jos, în stânga personajului,
   la 12 px deasupra podelei (departe de butoanele barei de jos) */
.bc-personaj__inchide {
	position: absolute;
	bottom: calc(var(--bcp-podea, 0px) + 12px);
	left: 4px;
	z-index: 1;
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	/* ca butoanele rotunde ale site-ului: alb, cu un fir subțire, ca să nu tragă ochiul de la personaj */
	background: #fff;
	color: var(--navy, #0b2545);
	box-shadow: inset 0 0 0 1px rgba(11, 37, 69, .22), 0 3px 10px -3px rgba(11, 37, 69, .5);
	cursor: pointer;
	pointer-events: auto;
	opacity: 0;
	-webkit-tap-highlight-color: transparent;
}
/* locul de apăsat e mai mare decât cercul (38 px) */
.bc-personaj__inchide::before {
	content: '';
	position: absolute;
	inset: -4px;
}
.bc-personaj__inchide svg {
	width: 14px;
	height: 14px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2.4;
	stroke-linecap: round;
}
.bc-personaj__inchide:focus-visible {
	outline: 2px solid var(--bleu, #1f6fb2);
	outline-offset: 2px;
}
.bc-personaj[data-stare] .bc-personaj__inchide {
	animation: bcp-buton 5s linear both;
}
@keyframes bcp-buton {
	0%, 6% { opacity: 0; }
	12%, 100% { opacity: 1; }
}

/* ------------------------------------------------------------------ pisica (Black Friday): scena de 160 × 320
   0–0,4 s urcă și se așază cu spatele; 0,58–1,9 s se uită peste umăr, ca în clipul arătat de Stefan (capul se întoarce
   în 0,3 s, botul și primul ochi ies din marginea capului, al doilea ochi apare la 0,8–1,05 s; clipește la 1,45 s; la
   1,65 s privește în sus, spre unde sare; în 0,15 s se întoarce la loc); 1,95–2,2 s se ghemuiește; 2,2–2,4 s sare;
   2,4 s se lipește de geam; 2,56–3,95 s alunecă și lasă zgârieturi; 3,95–4,3 s cade; 4,3–5 s se șterg zgârieturile.
   Ochii sunt albi, mari, cu pupila neagră (Stefan, 23.11: privirea spre vizitator trebuie să se vadă bine). */
.bc-personaj--pisica {
	--bcp-ochi: #fff;
	--bcp-cadru: 1.4s;
}
.bc-personaj--pisica .bcp-p-urme {
	left: 0;
	top: 0;
	width: 160px;
	height: 320px;
	transform: scaleY(0);
}
.bc-personaj--pisica .bcp-p-urme--fata {
	transform-origin: 0 31.6px;
}
.bc-personaj--pisica .bcp-p-urme--spate {
	transform-origin: 0 181.5px;
}
/* așezată e mai mare decât desenul (100 × 120) cu un sfert, ca privirea peste umăr să se vadă bine și pe telefon
   (Stefan, 23.11); mijlocul ei rămâne unde era */
.bc-personaj--pisica .bcp-p-spate {
	left: 33.5px;
	top: 170px;
	width: 125px;
	height: 150px;
	opacity: 0;
	transform-origin: 50% 100%;
}
.bc-personaj--pisica .bcp-p-salt {
	left: 51px;
	top: 170px;
	width: 90px;
	height: 150px;
	opacity: 0;
}
.bc-personaj--pisica .bcp-p-fata {
	left: 10px;
	top: 20px;
	width: 140px;
	height: 170px;
	opacity: 0;
	transform-origin: 50% 40%;
}
.bc-personaj--pisica .bcp-ps-coada,
.bc-personaj--pisica .bcp-ps-cap,
.bc-personaj--pisica .bcp-ps-bot,
.bc-personaj--pisica .bcp-ps-ochi1,
.bc-personaj--pisica .bcp-ps-ochi2,
.bc-personaj--pisica .bcp-ps-clipeste,
.bc-personaj--pisica .bcp-ps-pupile,
.bc-personaj--pisica .bcp-pf-ochi,
.bc-personaj--pisica .bcp-pf-pupile {
	transform-box: view-box;
}
.bc-personaj--pisica .bcp-ps-coada {
	transform-origin: 36px 114px;
}
/* capul se ridică din gât și se apleacă spre vizitator */
.bc-personaj--pisica .bcp-ps-cap {
	transform-origin: 50px 51px;
}
/* botul crește din cap spre dreapta; ochii vin dinspre marginea dreaptă a capului, ca și cum capul s-ar întoarce */
.bc-personaj--pisica .bcp-ps-bot {
	transform-origin: 59px 42px;
}
.bc-personaj--pisica .bcp-ps-ochi1 {
	transform-origin: 66px 36.2px;
}
.bc-personaj--pisica .bcp-ps-ochi2 {
	transform-origin: 65.4px 37.2px;
}
.bc-personaj--pisica .bcp-ps-clipeste {
	transform-origin: 50px 36.6px;
}
.bc-personaj--pisica .bcp-pf-ochi {
	transform-origin: 70px 64px;
}

.bc-personaj--pisica[data-stare] .bcp-p-spate { animation: bcp-pisica-spate 5s linear both; }
.bc-personaj--pisica[data-stare] .bcp-ps-coada { animation: bcp-pisica-coada 5s ease-in-out both; }
.bc-personaj--pisica[data-stare] .bcp-ps-cap { animation: bcp-pisica-cap 5s linear both; }
.bc-personaj--pisica[data-stare] .bcp-ps-mustati { animation: bcp-pisica-mustati 5s linear both; }
.bc-personaj--pisica[data-stare] .bcp-ps-bot { animation: bcp-pisica-bot 5s linear both; }
.bc-personaj--pisica[data-stare] .bcp-ps-fata { animation: bcp-pisica-chip 5s linear both; }
.bc-personaj--pisica[data-stare] .bcp-ps-ochi1 { animation: bcp-pisica-ochi1 5s linear both; }
.bc-personaj--pisica[data-stare] .bcp-ps-ochi2 { animation: bcp-pisica-ochi2 5s linear both; }
.bc-personaj--pisica[data-stare] .bcp-ps-clipeste { animation: bcp-pisica-clipeste-spate 5s linear both; }
.bc-personaj--pisica[data-stare] .bcp-ps-pupile { animation: bcp-pisica-pupile-spate 5s ease-in-out both; }
.bc-personaj--pisica[data-stare] .bcp-p-salt { animation: bcp-pisica-salt 5s linear both; }
.bc-personaj--pisica[data-stare] .bcp-p-fata { animation: bcp-pisica-fata 5s linear both; }
.bc-personaj--pisica[data-stare] .bcp-pf-pupile { animation: bcp-pisica-pupile 5s ease-in-out both; }
.bc-personaj--pisica[data-stare] .bcp-pf-ochi { animation: bcp-pisica-clipeste 5s linear both; }
.bc-personaj--pisica[data-stare] .bcp-p-urme { animation: bcp-pisica-urme 5s linear both, bcp-pisica-urme-stinge 5s linear both; }

/* urcă de după marginea de jos, se așază; la 1,95 s se ghemuiește și la 2,2 s pleacă în săritură */
@keyframes bcp-pisica-spate {
	0% { opacity: 0; transform: translateY(130px); animation-timing-function: cubic-bezier(.2, .9, .3, 1.12); }
	2.4% { opacity: 1; }
	8.4% { opacity: 1; transform: none; }
	39% { opacity: 1; transform: none; animation-timing-function: cubic-bezier(.4, 0, .6, 1); }
	43.8% { opacity: 1; transform: scale(1.07, .85); }
	44%, 100% { opacity: 0; transform: scale(1.07, .85); }
}
@keyframes bcp-pisica-coada {
	0%, 10% { transform: none; }
	15% { transform: rotate(-9deg); }
	20% { transform: rotate(4deg); }
	25% { transform: rotate(-5deg); }
	30%, 100% { transform: none; }
}
/* privirea peste umăr (0,58–1,9 s): capul se ridică și se apleacă spre vizitator (mai mare cu 20%, ca ochii să se vadă
   bine și pe telefon), cu o legănare ușoară */
@keyframes bcp-pisica-cap {
	0%, 11.5% { transform: none; animation-timing-function: cubic-bezier(.3, .7, .4, 1); }
	17% { transform: rotate(-7deg) scale(1.2); animation-timing-function: ease-in-out; }
	24% { transform: rotate(-5deg) scale(1.2); animation-timing-function: ease-in-out; }
	30% { transform: rotate(-7deg) scale(1.2); animation-timing-function: ease-in-out; }
	35% { transform: rotate(-6deg) scale(1.2); animation-timing-function: cubic-bezier(.5, 0, .7, 1); }
	38%, 100% { transform: none; }
}
/* mustățile din spate (de o parte și de alta a capului) pleacă odată cu întoarcerea capului */
@keyframes bcp-pisica-mustati {
	0%, 11.5% { opacity: 1; }
	12.5%, 37% { opacity: 0; }
	38%, 100% { opacity: 1; }
}
@keyframes bcp-pisica-chip {
	0%, 11.4% { opacity: 0; }
	11.5%, 37.9% { opacity: 1; }
	38%, 100% { opacity: 0; }
}
@keyframes bcp-pisica-bot {
	0%, 11.4% { opacity: 0; transform: scaleX(.15); }
	11.5% { opacity: 1; transform: scaleX(.15); animation-timing-function: cubic-bezier(.3, .7, .4, 1); }
	17.5% { opacity: 1; transform: none; }
	35% { opacity: 1; transform: none; animation-timing-function: cubic-bezier(.5, 0, .8, .6); }
	37.9% { opacity: 1; transform: scaleX(.15); }
	38%, 100% { opacity: 0; transform: scaleX(.15); }
}
/* primul ochi iese din marginea capului (0,58–0,83 s), al doilea după el (0,8–1,05 s); la întoarcere intră la loc */
@keyframes bcp-pisica-ochi1 {
	0%, 11.5% { transform: scaleX(.08); animation-timing-function: cubic-bezier(.3, .7, .4, 1); }
	16.5% { transform: none; }
	35% { transform: none; animation-timing-function: cubic-bezier(.5, 0, .8, .6); }
	38%, 100% { transform: scaleX(.08); }
}
@keyframes bcp-pisica-ochi2 {
	0%, 15.9% { opacity: 0; transform: scaleX(.08); }
	16% { opacity: 1; transform: scaleX(.08); animation-timing-function: cubic-bezier(.3, .7, .4, 1); }
	21% { opacity: 1; transform: none; }
	34.5% { opacity: 1; transform: none; animation-timing-function: cubic-bezier(.5, 0, .8, .6); }
	37% { opacity: 1; transform: scaleX(.08); }
	37.1%, 100% { opacity: 0; transform: scaleX(.08); }
}
@keyframes bcp-pisica-clipeste-spate {
	0%, 29% { transform: none; }
	30% { transform: scaleY(.1); }
	31.4%, 100% { transform: none; }
}
/* pupilele: spre vizitator, apoi, înainte de săritură, în sus, spre geam */
@keyframes bcp-pisica-pupile-spate {
	0%, 22% { transform: none; }
	26%, 32% { transform: translate(.5px, .6px); }
	34%, 100% { transform: translate(.4px, -1.4px); }
}
/* săritura: o clipă, de pe podea până sub locul unde se lipește, tot mai aproape de geam */
@keyframes bcp-pisica-salt {
	0%, 43.9% { opacity: 0; transform: scale(1.04); }
	44% { opacity: 1; transform: translate(0, 0) scale(1.04); animation-timing-function: cubic-bezier(.15, .7, .35, 1); }
	48% { opacity: 1; transform: translate(-16px, -146px) scale(1.1); }
	48.1%, 100% { opacity: 0; transform: translate(-16px, -146px) scale(1.1); }
}
/* lipită de geam: se turtește puțin la atingere, alunecă tot mai repede 78 px, apoi cade sub marginea de jos */
@keyframes bcp-pisica-fata {
	0%, 47.9% { opacity: 0; transform: scale(1.12, .86); }
	48% { opacity: 1; transform: scale(1.12, .86); animation-timing-function: cubic-bezier(.25, 1.6, .5, 1); }
	51.2% { opacity: 1; transform: none; animation-timing-function: cubic-bezier(.55, .05, .8, .45); }
	79% { opacity: 1; transform: translateY(78px); animation-timing-function: cubic-bezier(.5, 0, .9, .5); }
	86% { opacity: 1; transform: translateY(350px) rotate(-10deg); }
	86.1%, 100% { opacity: 0; transform: translateY(350px) rotate(-10deg); }
}
/* ochii: în sus, la gheare; spre vizitator; în jos, unde alunecă */
@keyframes bcp-pisica-pupile {
	0%, 50% { transform: none; }
	53%, 63% { transform: translateY(-2.8px); }
	66%, 74% { transform: translate(.4px, .8px); }
	77%, 100% { transform: translateY(2.8px); }
}
@keyframes bcp-pisica-clipeste {
	0%, 69% { transform: none; }
	70.2% { transform: scaleY(.08); }
	71.6%, 100% { transform: none; }
}
/* zgârieturile cresc exact cât alunecă pisica (aceeași curbă, aceleași momente), apoi se șterg */
@keyframes bcp-pisica-urme {
	0%, 51.2% { transform: scaleY(0); animation-timing-function: cubic-bezier(.55, .05, .8, .45); }
	79%, 100% { transform: scaleY(1); }
}
@keyframes bcp-pisica-urme-stinge {
	0%, 86% { opacity: 1; }
	100% { opacity: 0; }
}

/* ------------------------------------------------------------------ Moș Crăciun pe horn: scena de 170 × 320
   0–0,42 s urcă hornul; 0,38–0,76 s cade Moșul în horn, până la brâu; 0,52–1 s cade sacul lângă el; 1–1,85 s salută
   (clipește la 1,5 s); 2,05–2,45 s intră în horn; 2,45–2,63 s sacul tresare; 2,63–3,35 s e tras în gura hornului și
   rămâne înțepenit; 3,35–3,5 s intră și el; 3,42–4,3 s iese funinginea; 4,15–4,65 s coboară hornul. */
.bc-personaj--mos {
	--bcp-cadru: 1.35s;
}
.bc-personaj--mos .bcp-m-horn-spate,
.bc-personaj--mos .bcp-m-horn {
	left: 35px;
	top: 216px;
	width: 100px;
	height: 150px;
}
/* gura hornului: ce trece de ea (Moșul, sacul) nu se mai vede */
.bc-personaj--mos .bcp-m-gura {
	left: 0;
	top: 0;
	width: 170px;
	height: 221px;
	overflow: hidden;
}
.bc-personaj--mos .bcp-m-mos {
	left: 40px;
	top: 122px;
	width: 90px;
	height: 140px;
	opacity: 0;
	transform-origin: 50% 70.7%;
}
.bc-personaj--mos .bcp-m-sac {
	left: 71px;
	top: 165px;
	width: 64px;
	height: 56px;
	opacity: 0;
	transform-origin: 50% 100%;
}
.bc-personaj--mos .bcp-m-fum {
	left: 50px;
	top: 188px;
	width: 40px;
	height: 30px;
	opacity: 0;
}
.bc-personaj--mos .bcp-m-fum--2 {
	left: 65px;
	top: 180px;
	--dx: 2px;
}
.bc-personaj--mos .bcp-m-fum--1 {
	--dx: -22px;
}
.bc-personaj--mos .bcp-m-fum--3 {
	left: 80px;
	--dx: 22px;
}
.bc-personaj--mos .bcp-mos-mana-st,
.bc-personaj--mos .bcp-mos-ochi {
	transform-box: view-box;
}
.bc-personaj--mos .bcp-mos-mana-st {
	transform-origin: 25px 66px;
}
.bc-personaj--mos .bcp-mos-ochi {
	transform-origin: 45px 43.6px;
}

.bc-personaj--mos[data-stare] .bcp-m-horn-spate,
.bc-personaj--mos[data-stare] .bcp-m-horn { animation: bcp-mos-horn 5s linear both; }
.bc-personaj--mos[data-stare] .bcp-m-mos { animation: bcp-mos-mos 5s linear both; }
.bc-personaj--mos[data-stare] .bcp-mos-mana-st { animation: bcp-mos-salut 5s ease-in-out both; }
.bc-personaj--mos[data-stare] .bcp-mos-ochi { animation: bcp-mos-clipeste 5s linear both; }
.bc-personaj--mos[data-stare] .bcp-m-sac { animation: bcp-mos-sac 5s linear both; }
.bc-personaj--mos[data-stare] .bcp-m-fum { animation: bcp-mos-fum 5s linear both; }
.bc-personaj--mos[data-stare] .bcp-m-fum--2 { animation-delay: 90ms; }
.bc-personaj--mos[data-stare] .bcp-m-fum--3 { animation-delay: 180ms; }

@keyframes bcp-mos-horn {
	0% { transform: translateY(132px); animation-timing-function: cubic-bezier(.2, .9, .3, 1.1); }
	8.4% { transform: none; }
	83% { transform: none; animation-timing-function: cubic-bezier(.5, 0, .9, .6); }
	93%, 100% { transform: translateY(150px); }
}
/* Moșul: cade de sus în horn, se turtește puțin la oprire, stă; la 2,05 s se ridică o idee și intră în horn */
@keyframes bcp-mos-mos {
	0%, 7.6% { opacity: 0; transform: translateY(-176px); animation-timing-function: cubic-bezier(.45, 0, .9, .55); }
	10% { opacity: 1; }
	15.2% { opacity: 1; transform: none; animation-timing-function: ease-out; }
	16.6% { transform: scale(1.05, .93); animation-timing-function: ease-in-out; }
	18.4% { transform: none; }
	41% { transform: none; animation-timing-function: ease-out; }
	43% { opacity: 1; transform: translateY(-7px); animation-timing-function: cubic-bezier(.5, 0, .9, .5); }
	49% { opacity: 1; transform: translateY(150px); }
	49.1%, 100% { opacity: 0; transform: translateY(150px); }
}
@keyframes bcp-mos-salut {
	0%, 20% { transform: none; }
	23% { transform: rotate(16deg); }
	26% { transform: rotate(-8deg); }
	29% { transform: rotate(16deg); }
	32% { transform: rotate(-8deg); }
	35% { transform: rotate(12deg); }
	37.5%, 100% { transform: none; }
}
@keyframes bcp-mos-clipeste {
	0%, 30% { transform: none; }
	31.2% { transform: scaleY(.1); }
	32.6%, 100% { transform: none; }
}
/* sacul: cade lângă Moș; după ce intră el, tresare, e tras în gură, se înțepenește (mai lat, mai turtit), se zbate, apoi intră */
@keyframes bcp-mos-sac {
	0%, 10.4% { opacity: 0; transform: translateY(-190px); animation-timing-function: cubic-bezier(.45, 0, .9, .55); }
	12.4% { opacity: 1; }
	17.2% { opacity: 1; transform: none; animation-timing-function: ease-out; }
	18.6% { transform: translateY(-7px); animation-timing-function: ease-in; }
	20% { transform: none; }
	49% { transform: none; animation-timing-function: ease-in-out; }
	50.4% { transform: rotate(-5deg); }
	51.8% { transform: rotate(3deg); }
	52.6% { transform: none; animation-timing-function: cubic-bezier(.3, 0, .2, 1); }
	57% { transform: translate(-18px, 9px) scale(1.12, .86); animation-timing-function: ease-in-out; }
	59.5% { transform: translate(-18px, 7px) scale(1.1, .88) rotate(-5deg); }
	62% { transform: translate(-18px, 10px) scale(1.12, .86) rotate(4deg); }
	64.5% { transform: translate(-18px, 7px) scale(1.1, .88) rotate(-4deg); }
	67% { opacity: 1; transform: translate(-18px, 11px) scale(1.14, .84); animation-timing-function: cubic-bezier(.6, 0, .9, .4); }
	70% { opacity: 1; transform: translate(-18px, 110px) scale(.84, 1.14); }
	70.1%, 100% { opacity: 0; transform: translate(-18px, 110px) scale(.84, 1.14); }
}
@keyframes bcp-mos-fum {
	0%, 69% { opacity: 0; transform: translateY(12px) scale(.35); animation-timing-function: cubic-bezier(.2, .7, .3, 1); }
	71.5% { opacity: .95; }
	78% { opacity: .8; }
	88%, 100% { opacity: 0; transform: translate(var(--dx, 0px), -58px) scale(1.75); }
}

/* ------------------------------------------------------------------ șampania (Anul Nou): scena de 150 × 320
   0–0,45 s urcă sticla; 0,6–1,35 s se clatină, iar dopul iese câte puțin; 1,35 s sare dopul (urcă, se rotește, cade),
   sticla se smucește înapoi și stropii aurii zboară din gât, apoi cad; 3,6–4,3 s coboară sticla. */
.bc-personaj--sampanie {
	--bcp-cadru: 1.55s;
}
.bc-personaj--sampanie .bcp-s-sticla {
	left: 47px;
	top: 140px;
	width: 56px;
	height: 180px;
	transform-origin: 50% 100%;
}
.bc-personaj--sampanie .bcp-s-dop {
	left: 16px;
	top: -4px;
	width: 24px;
	height: 26px;
}
.bc-personaj--sampanie .bcp-s-stropi {
	left: 26px;
	top: 4px;
	width: 4px;
	height: 4px;
}
.bc-personaj--sampanie .bcp-s-stropi i {
	position: absolute;
	left: 0;
	top: 0;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: var(--bcp-acc, #e2b84a);
	box-shadow: 0 0 0 .7px #b08a36;
	opacity: 0;
}
.bc-personaj--sampanie .bcp-s-stropi i:nth-child(3n) {
	width: 3.5px;
	height: 3.5px;
}
.bc-personaj--sampanie .bcp-s-stropi i:nth-child(4n) {
	width: 6.5px;
	height: 6.5px;
}
/* spuma de la gât */
.bc-personaj--sampanie .bcp-s-stropi b {
	position: absolute;
	left: -5px;
	top: -5px;
	width: 13px;
	height: 13px;
	border-radius: 50%;
	background: #fffaf0;
	box-shadow: inset 0 0 0 1px rgba(176, 138, 54, .45);
	opacity: 0;
}

.bc-personaj--sampanie[data-stare] .bcp-s-sticla { animation: bcp-sampanie-sticla 5s linear both; }
.bc-personaj--sampanie[data-stare] .bcp-s-dop { animation: bcp-sampanie-dop 5s linear both; }
.bc-personaj--sampanie[data-stare] .bcp-s-stropi i { animation: bcp-sampanie-strop 5s linear both; animation-delay: calc(var(--i, 0) * 35ms); }
.bc-personaj--sampanie[data-stare] .bcp-s-stropi b { animation: bcp-sampanie-spuma 5s linear both; }

@keyframes bcp-sampanie-sticla {
	0% { transform: translateY(200px); animation-timing-function: cubic-bezier(.2, .9, .3, 1.1); }
	9% { transform: none; animation-timing-function: ease-in-out; }
	12% { transform: rotate(-6deg); animation-timing-function: ease-in-out; }
	15% { transform: rotate(-10deg); }
	18% { transform: rotate(-5deg); }
	21% { transform: rotate(-10deg); }
	24% { transform: rotate(-6deg); }
	27% { transform: rotate(-9deg); animation-timing-function: cubic-bezier(.2, .8, .3, 1); }
	28.6% { transform: translateY(6px) rotate(-2deg); animation-timing-function: ease-in-out; }
	34% { transform: rotate(-7deg); }
	72% { transform: rotate(-7deg); animation-timing-function: cubic-bezier(.5, 0, .9, .6); }
	86%, 100% { transform: translateY(210px) rotate(-7deg); }
}
/* dopul iese câte puțin, sare de-a lungul gâtului rotindu-se, apoi cade pe lângă sticlă */
@keyframes bcp-sampanie-dop {
	0%, 14% { opacity: 1; transform: none; }
	18% { transform: translateY(-2px); }
	22% { transform: translateY(-3px) rotate(5deg); }
	25% { transform: translateY(-5px) rotate(-4deg); }
	27% { opacity: 1; transform: translateY(-6px); animation-timing-function: cubic-bezier(.15, .75, .35, 1); }
	39% { transform: translate(-26px, -196px) rotate(-400deg); animation-timing-function: cubic-bezier(.55, 0, .9, .45); }
	56% { opacity: 1; transform: translate(-70px, 150px) rotate(-720deg); }
	56.1%, 100% { opacity: 0; transform: translate(-70px, 150px) rotate(-720deg); }
}
/* fiecare strop urcă spre --x, --y, apoi cade și se stinge */
@keyframes bcp-sampanie-strop {
	0%, 27% { opacity: 0; transform: scale(.5); animation-timing-function: cubic-bezier(.15, .75, .35, 1); }
	27.6% { opacity: 1; }
	40% { opacity: 1; transform: translate(calc(var(--x, 0px) * .8), var(--y, 0px)); animation-timing-function: cubic-bezier(.5, 0, .9, .5); }
	62% { opacity: 0; transform: translate(var(--x, 0px), calc(var(--y, 0px) + 260px)) scale(.8); }
	100% { opacity: 0; transform: translate(var(--x, 0px), calc(var(--y, 0px) + 260px)) scale(.8); }
}
@keyframes bcp-sampanie-spuma {
	0%, 27% { opacity: 0; transform: scale(.2); animation-timing-function: cubic-bezier(.2, .8, .3, 1); }
	28% { opacity: 1; }
	33% { opacity: .9; transform: translate(var(--x, 0px), var(--y, 0px)) scale(1); }
	40%, 100% { opacity: 0; transform: translate(calc(var(--x, 0px) * 1.4), calc(var(--y, 0px) - 10px)) scale(1.25); }
}
