/* ==========================================================================
   POVESTE FOTO – galerii. Folosește culorile și fonturile temei Cursuri Foto
   (variabilele din base.css); în altă temă se folosesc valorile de rezervă.
   ========================================================================== */
.cfpf {
	--cfpf-bg: var(--black, #0a0a0a);
	--cfpf-panel: var(--panel, #111);
	--cfpf-card: var(--card, #151515);
	--cfpf-text: var(--text, #f3f0e9);
	--cfpf-muted: var(--muted, #a5a29c);
	--cfpf-line: var(--line, rgba(243, 240, 233, .18));
	--cfpf-lime: var(--lime, #bfff19);
	--cfpf-lime-pale: var(--lime-pale, #e5ff9b);
	--cfpf-lime-soft: var(--lime-soft, #d9ff5a);
	--cfpf-sans: var(--sans, Inter, "Helvetica Neue", Helvetica, Arial, sans-serif);
	--cfpf-serif: var(--serif, Georgia, "Times New Roman", serif);
	--cfpf-pad: var(--pad, clamp(22px, 5vw, 76px));
	--cfpf-max: var(--max, 1320px);
	--cfpf-vh: 100vh;
	background: var(--cfpf-bg);
	color: var(--cfpf-text);
	font-family: var(--cfpf-sans);
}
@supports (height: 100svh) { .cfpf { --cfpf-vh: 100svh; } }
.cfpf *, .cfpf *::before, .cfpf *::after { box-sizing: border-box; }
.cfpf a { color: inherit; text-decoration: none; }
.cfpf img { max-width: 100%; height: auto; }
.cfpf h1, .cfpf h2, .cfpf h3 { margin: 0; font-weight: 500; line-height: 1.02; letter-spacing: -.04em; color: inherit; }
.cfpf h1 { font-size: clamp(40px, 6vw, 92px); }
.cfpf h2 { font-size: clamp(32px, 4.6vw, 64px); }
.cfpf h3 { font-size: clamp(18px, 1.8vw, 24px); line-height: 1.15; letter-spacing: -.02em; }
.cfpf h1 em, .cfpf h2 em { font-family: var(--cfpf-serif); font-weight: 400; font-style: italic; color: var(--cfpf-em, var(--cfpf-lime)); }
.cfpf-wrap { width: 100%; max-width: var(--cfpf-max); margin-inline: auto; padding-inline: var(--cfpf-pad); }
.cfpf-index { margin-bottom: 14px; font-size: 10px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--cfpf-muted); }
.cfpf-eyebrow { margin: 0 0 20px; font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--cfpf-lime); }
.cfpf-text-link { display: inline-flex; gap: 8px; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; border-bottom: 1px solid currentColor; padding-bottom: 4px; transition: opacity .25s; }
.cfpf-text-link:hover { opacity: .65; }
.cfpf-button { display: inline-flex; align-items: center; gap: 10px; padding: 16px 26px; border: 1px solid #0a0a0a; background: #0a0a0a; color: #fff !important; font-family: var(--cfpf-sans); font-size: 11px; line-height: 1.2; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; transition: background-color .25s, color .25s; }
.cfpf-button:hover, .cfpf-button:focus-visible { background: #fff; color: #000 !important; } /* la fel ca butoanele temei pe fundal deschis */
.cfpf-bw { filter: grayscale(1); transition: filter .45s ease; }
a:hover .cfpf-bw, a:focus-visible .cfpf-bw { filter: grayscale(0); }
.cfpf :focus-visible { outline: 2px solid var(--cfpf-lime); outline-offset: 4px; }
.cfpf-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 44px; }
.cfpf-section-head > p { max-width: 280px; margin: 0; font-size: 12px; line-height: 1.8; color: var(--cfpf-muted); }

/* Pe toată lățimea ecranului și când e pus într-o pagină îngustă (PageLayer, editor). */
.cfpf-bleed { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }
html:has(.cfpf-bleed) { overflow-x: clip; }

/* ---------- Antet ---------- */
.cfpf-head { padding: clamp(48px, 7vw, 110px) 0 clamp(36px, 5vw, 70px); }
.cfpf-crumbs { margin-bottom: 26px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--cfpf-muted); }
.cfpf-crumbs a:hover { color: var(--cfpf-lime); }
.cfpf-head__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(30px, 6vw, 90px); align-items: end; }
.cfpf-head h1 { max-width: 14ch; }
.cfpf-head__intro { font-size: 15px; line-height: 1.85; color: var(--cfpf-muted); max-width: 46ch; }
.cfpf-head__intro p { margin: 0 0 1em; }
.cfpf-head__intro a { color: var(--cfpf-lime); }
.cfpf-tags { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 6px; }
.cfpf-tags a { font-size: 13px; color: var(--cfpf-lime); }
.cfpf-tags a:hover { text-decoration: underline; }
.cfpf-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--cfpf-line); font-size: 10px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--cfpf-muted); }
.cfpf-meta b { color: var(--cfpf-text); font-weight: 600; }
.cfpf-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 26px; }
.cfpf-chips a { padding: 9px 16px; border: 1px solid var(--cfpf-line); font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; transition: background-color .25s, color .25s, border-color .25s; }
.cfpf-chips a:hover, .cfpf-chips a.is-on { background: var(--cfpf-lime); border-color: var(--cfpf-lime); color: #000; }
@media (max-width: 800px) {
	.cfpf-head__grid { grid-template-columns: 1fr; }
	.cfpf-chips { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--cfpf-pad)); padding-inline: var(--cfpf-pad); scrollbar-width: none; }
	.cfpf-chips a { flex: none; }
}

/* ---------- Povestea: panouri ---------- */
.cfpf-story { position: relative; }
.cfpf-panel { position: sticky; top: 0; z-index: var(--z, 1); height: var(--cfpf-vh); min-height: 420px; margin: 0; overflow: hidden; background: var(--cfpf-bg); }
.cfpf-panel__in { position: absolute; inset: 0; display: flex; flex-direction: column; transform-origin: 50% 30%; }
.cfpf-photo { flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; gap: clamp(8px, 1.2vw, 18px); padding: clamp(14px, 3vw, 44px) var(--cfpf-pad) 0; }
.cfpf-photo img { display: block; width: 100%; height: 100%; object-fit: contain; min-width: 0; cursor: zoom-in; }
.cfpf-photo--pair img { width: calc(50% - 9px); }
.cfpf-cap { flex: none; display: flex; align-items: flex-end; gap: 22px; flex-wrap: wrap; padding: 16px var(--cfpf-pad) clamp(18px, 3vw, 34px); }
.cfpf-cap__n { font-size: 11px; font-weight: 600; letter-spacing: .22em; color: var(--cfpf-lime); }
.cfpf-cap__t { flex: 1; font-size: clamp(18px, 2vw, 26px); letter-spacing: -.02em; line-height: 1.2; }
.cfpf-cap__c { font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--cfpf-muted); }
.cfpf-shade { position: absolute; inset: 0; background: #000; opacity: 0; pointer-events: none; }
.cfpf-panel--text { background: var(--cfpf-lime-pale); color: #111; --cfpf-em: #111; }
.cfpf-panel--text .cfpf-panel__in { justify-content: center; padding: 0 var(--cfpf-pad); }
.cfpf-quote { width: 100%; max-width: 900px; margin: 0 auto; }
.cfpf-quote .cfpf-index { color: #4b5140; }
.cfpf-quote h2 { margin-bottom: 26px; font-size: clamp(30px, 4.4vw, 60px); }
.cfpf-quote p { max-width: 56ch; margin: 0 0 1em; font-size: 16px; line-height: 1.85; color: #2d3315; }
.cfpf-band { position: relative; z-index: var(--z, 2); display: flex; align-items: center; justify-content: center; height: clamp(84px, 13vh, 140px); padding: 0 20px; background: var(--cfpf-lime); color: #111; font-size: 12px; font-weight: 700; letter-spacing: .22em; text-align: center; text-transform: uppercase; }
@media (max-width: 700px) {
	.cfpf-photo { padding: 10px 0 0; }
	.cfpf-photo--pair { flex-direction: column; }
	.cfpf-photo--pair img { width: 100%; height: calc(50% - 4px); }
	.cfpf-cap { gap: 6px 14px; }
	.cfpf-cap__t { flex-basis: 100%; order: 2; }
	.cfpf-cap__c { order: 3; }
}

/* ---------- Galeria principală: genurile ---------- */
.cfpf-genres { padding-top: clamp(76px, 10vw, 150px); }
.cfpf-gpanel { position: sticky; top: 0; z-index: var(--z, 1); display: block; height: var(--cfpf-vh); min-height: 420px; overflow: hidden; background: var(--cfpf-card); color: #fff; }
.cfpf-gpanel__img { position: absolute; inset: 0; transform-origin: 50% 40%; }
.cfpf-gpanel__img img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.cfpf-gpanel__img picture { display: block; width: 100%; height: 100%; }
.cfpf-gpanel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, .65)); pointer-events: none; }
.cfpf-gpanel__cap { position: absolute; z-index: 1; left: var(--cfpf-pad); right: var(--cfpf-pad); bottom: clamp(28px, 5vw, 64px); display: flex; align-items: flex-end; flex-wrap: wrap; gap: 6px 24px; }
.cfpf-gpanel__n { width: 100%; font-size: 11px; letter-spacing: .22em; color: var(--cfpf-lime); }
.cfpf-gpanel__t { flex: 1; font-size: clamp(36px, 6vw, 92px); font-weight: 500; line-height: 1; letter-spacing: -.045em; }
.cfpf-gpanel__a { font-size: clamp(28px, 4vw, 56px); color: var(--cfpf-lime); }

/* ---------- Animația „apariție lină” ---------- */
.cfpf-anim-reveal .cfpf-panel { position: relative; height: auto; min-height: 0; overflow: visible; }
.cfpf-anim-reveal .cfpf-panel__in { position: relative; inset: auto; }
.cfpf-anim-reveal .cfpf-photo { padding-top: clamp(30px, 5vw, 70px); }
.cfpf-anim-reveal .cfpf-photo img { height: auto; max-height: calc(var(--cfpf-vh) - 160px); }
.cfpf-anim-reveal .cfpf-photo--pair img { width: calc(50% - 9px); }
@media (max-width: 700px) { .cfpf-anim-reveal .cfpf-photo--pair img { width: 100%; height: auto; } }
.cfpf-anim-reveal .cfpf-panel--text { padding: clamp(70px, 10vw, 140px) 0; }
.cfpf-anim-reveal .cfpf-shade { display: none; }
.cfpf-anim-reveal .cfpf-gpanel { position: relative; height: auto; aspect-ratio: 16 / 8; min-height: 0; margin-bottom: 14px; }
.cfpf-anim-reveal .cfpf-band { display: none; }
@media (max-width: 700px) { .cfpf-anim-reveal .cfpf-gpanel { aspect-ratio: 4 / 5; margin-bottom: 6px; } }
.cfpf-js .cfpf-anim-reveal > .cfpf-panel, .cfpf-js .cfpf-anim-reveal > .cfpf-gpanel { opacity: 0; transform: translateY(60px); transition: opacity 1s ease, transform 1s cubic-bezier(.2, .7, .2, 1); }
.cfpf-js .cfpf-anim-reveal > .is-in { opacity: 1; transform: none; }
.cfpf-js .cfpf-anim-reveal .cfpf-photo img, .cfpf-js .cfpf-anim-reveal .cfpf-gpanel__img { clip-path: inset(7% 7% 7% 7%); transition: clip-path 1.2s cubic-bezier(.2, .7, .2, 1) .1s; }
.cfpf-js .cfpf-anim-reveal > .is-in .cfpf-photo img, .cfpf-js .cfpf-anim-reveal > .is-in .cfpf-gpanel__img { clip-path: inset(0 0 0 0); }

/* ---------- Colaboratori ---------- */
.cfpf-credits { position: relative; z-index: 50; background: var(--cfpf-panel); border-top: 1px solid var(--cfpf-line); padding: clamp(70px, 9vw, 130px) 0; }
.cfpf-credit-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--cfpf-line); }
.cfpf-credit { display: grid; grid-template-columns: 170px minmax(0, 1fr) auto auto; gap: 24px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--cfpf-line); }
.cfpf-credit__role { font-size: 10px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--cfpf-muted); }
.cfpf-credit__name { font-size: clamp(20px, 2.4vw, 32px); letter-spacing: -.03em; line-height: 1.1; }
.cfpf-credit__tag { font-size: 13px; color: var(--cfpf-lime); }
.cfpf-credit__tag:hover { text-decoration: underline; }
.cfpf-credit__link { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; border-bottom: 1px solid currentColor; padding-bottom: 3px; white-space: nowrap; }
.cfpf-credit__link:hover { color: var(--cfpf-lime); }
@media (max-width: 700px) {
	.cfpf-section-head { flex-direction: column; align-items: flex-start; gap: 20px; }
	.cfpf-credit { grid-template-columns: 1fr auto; gap: 6px 16px; }
	.cfpf-credit__role { grid-column: 1 / -1; }
	.cfpf-credit__link { grid-column: 2; grid-row: 2 / 4; align-self: center; }
}

/* ---------- Buton spre curs ---------- */
.cfpf-cta { position: relative; z-index: 50; background: var(--cfpf-lime-soft); color: #111; --cfpf-em: #111; padding: clamp(60px, 8vw, 110px) 0; }
.cfpf-cta .cfpf-index { color: #2d3315; }
.cfpf-cta__grid { display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; }
.cfpf-cta h2 { max-width: 18ch; }

/* ---------- Carduri ---------- */
.cfpf-related { position: relative; z-index: 50; background: var(--cfpf-bg); padding: clamp(70px, 9vw, 130px) 0; border-top: 1px solid var(--cfpf-line); }
.cfpf-related--list { border-top: 0; padding-top: 0; }
.cfpf-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.cfpf-card { display: block; border: 1px solid rgba(255, 255, 255, .14); background: var(--cfpf-card); transition: border-color .25s; }
.cfpf-card:hover { border-color: var(--cfpf-lime); }
.cfpf-card__img { aspect-ratio: 4 / 3; overflow: hidden; background: #222; }
.cfpf-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cfpf-card__body { padding: 16px 18px 20px; }
.cfpf-card__cat { font-size: 9px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--cfpf-lime); }
.cfpf-card__body h3 { margin-top: 8px; }
.cfpf-pages, .cfpf .nav-links { display: flex; gap: 8px; justify-content: center; margin-top: 44px; font-size: 13px; }
.cfpf .page-numbers { padding: 8px 14px; border: 1px solid var(--cfpf-line); }
.cfpf .page-numbers.current { background: var(--cfpf-lime); color: #000; border-color: var(--cfpf-lime); }
.cfpf-empty, .cfpf-admin-note { color: var(--cfpf-muted); padding-block: 30px; }
@media (max-width: 900px) { .cfpf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .cfpf-grid { grid-template-columns: 1fr; } }

/* ---------- Pozele pe tot ecranul ---------- */
.cfpf-lb { position: fixed; inset: 0; z-index: 99999; display: flex; flex-direction: column; background: #050505; color: #f3f0e9; font-family: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif; }
.cfpf-lb[hidden] { display: none; }
.cfpf-lb__top { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; font-size: 11px; letter-spacing: .2em; color: #bfff19; }
.cfpf-lb__stage { position: relative; flex: 1; min-height: 0; overflow: hidden; touch-action: pan-y; }
.cfpf-lb__img { position: absolute; top: 0; bottom: 0; left: 74px; right: 74px; width: calc(100% - 148px); height: 100%; object-fit: contain; user-select: none; -webkit-user-drag: none; will-change: transform; }
.cfpf-lb__cap { min-height: 64px; padding: 14px 18px 24px; text-align: center; font-size: 15px; }
.cfpf-lb__cap small { display: block; margin-top: 4px; font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: #a5a29c; }
.cfpf-lb__close, .cfpf-lb__prev, .cfpf-lb__next { width: 46px; height: 46px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 50%; background: none; color: #fff; font-size: 18px; line-height: 1; cursor: pointer; }
.cfpf-lb__close:hover, .cfpf-lb__prev:hover, .cfpf-lb__next:hover, .cfpf-lb__close:focus-visible, .cfpf-lb__prev:focus-visible, .cfpf-lb__next:focus-visible { border-color: #bfff19; color: #bfff19; outline: none; }
.cfpf-lb__prev, .cfpf-lb__next { position: absolute; top: 50%; transform: translateY(-50%); }
.cfpf-lb__prev { left: 14px; }
.cfpf-lb__next { right: 14px; }
@media (max-width: 700px) { .cfpf-lb__img { left: 0; right: 0; width: 100%; } .cfpf-lb__prev, .cfpf-lb__next { display: none; } }
body.cfpf-lb-open { overflow: hidden; }

/* ---------- Butonul Play (redare automată) ---------- */
.cfpf-play { position: fixed; right: clamp(16px, 3vw, 36px); bottom: clamp(16px, 3vw, 36px); z-index: 9000; display: flex; align-items: center; gap: 12px; opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .35s, transform .35s, visibility .35s; font-family: var(--sans, Inter, "Helvetica Neue", Helvetica, Arial, sans-serif); }
.cfpf-play.is-visible { opacity: 1; visibility: visible; transform: none; }
.cfpf-play__label { padding: 8px 14px; background: rgba(10, 10, 10, .78); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border: 1px solid rgba(243, 240, 233, .18); color: #f3f0e9; font-size: 10px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; white-space: nowrap; transition: opacity .3s; }
.cfpf-play.is-playing .cfpf-play__label { opacity: 0; }
@media (hover: hover) { .cfpf-play.is-playing:hover .cfpf-play__label { opacity: 1; } }
.cfpf-play__btn { position: relative; display: grid; place-items: center; width: 60px; height: 60px; padding: 0; border: 0; border-radius: 50%; background: var(--lime, #bfff19); color: #0a0a0a; cursor: pointer; box-shadow: 0 6px 24px rgba(0, 0, 0, .35); transition: background-color .25s, transform .25s; }
.cfpf-play__btn:hover { background: #fff; }
.cfpf-play__btn:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.cfpf-play.is-playing .cfpf-play__btn { background: rgba(10, 10, 10, .78); color: #f3f0e9; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.cfpf-play__btn svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); pointer-events: none; }
.cfpf-play__btn circle { fill: none; stroke-width: 2; }
.cfpf-play__track { stroke: transparent; }
.cfpf-play.is-playing .cfpf-play__track { stroke: rgba(243, 240, 233, .18); }
.cfpf-play__ring { stroke: var(--lime, #bfff19); stroke-dasharray: 170; stroke-dashoffset: 170; }
/* Pictograme: triunghi (play), două bare (pauză), săgeată circulară (de la început) */
.cfpf-play__icon { position: relative; width: 16px; height: 16px; }
.cfpf-play__icon::before { content: ""; position: absolute; left: 3px; top: 0; border-style: solid; border-width: 8px 0 8px 13px; border-color: transparent transparent transparent currentColor; }
.cfpf-play.is-playing .cfpf-play__icon::before { left: 2px; width: 4px; height: 16px; border: 0; background: currentColor; box-shadow: 8px 0 0 currentColor; }
.cfpf-play.is-end .cfpf-play__icon::before { content: "↺"; left: -2px; top: -6px; border: 0; font-size: 22px; font-weight: 700; line-height: 1; }
.cfpf-play.is-nudge .cfpf-play__btn { animation: cfpf-nudge .6s ease; }
@keyframes cfpf-nudge { 0%, 100% { transform: scale(1); } 40% { transform: scale(1.14); } }
@media (max-width: 700px) { .cfpf-play__btn { width: 54px; height: 54px; } .cfpf-play__label { display: none; } } /* pe telefon fără eticheta „Play”, ca să nu acopere titlurile */
body.cfpf-lb-open .cfpf-play:not(.cfpf-play--lb) { opacity: 0; visibility: hidden; }

/* Butonul de reglaje (lângă Play) */
.cfpf-play__opt { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 1px solid rgba(243, 240, 233, .25); border-radius: 50%; background: rgba(10, 10, 10, .78); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: #f3f0e9; cursor: pointer; transition: border-color .25s, color .25s; }
.cfpf-play__opt[hidden] { display: none; }
.cfpf-play__opt:hover, .cfpf-play__opt[aria-expanded="true"] { border-color: var(--lime, #bfff19); color: var(--lime, #bfff19); }
.cfpf-play__opt:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
/* pictograma: trei linii cu cursoare (reglaje) */
.cfpf-play__opt span { position: relative; width: 16px; height: 12px; background: linear-gradient(currentColor, currentColor) 0 0 / 100% 1.5px no-repeat, linear-gradient(currentColor, currentColor) 0 50% / 100% 1.5px no-repeat, linear-gradient(currentColor, currentColor) 0 100% / 100% 1.5px no-repeat; }
.cfpf-play__opt span::before, .cfpf-play__opt span::after { content: ""; position: absolute; width: 4px; height: 4px; border-radius: 50%; background: currentColor; }
.cfpf-play__opt span::before { left: 3px; top: -1.3px; box-shadow: 6px 10px 0 currentColor; }
.cfpf-play__opt span::after { left: 9px; top: 3.7px; }

/* În fereastra pe tot ecranul: butoanele stau jos-dreapta, deasupra pozei */
.cfpf-play--lb { position: absolute; z-index: 3; opacity: 1; visibility: visible; transform: none; }
.cfpf-play--lb[hidden] { display: none; }
.cfpf-play--lb .cfpf-play__label { display: none; }
@media (max-width: 700px) { .cfpf-play--lb { bottom: 78px; } }

/* Fereastra de reglaje */
.cfpf-opts { position: fixed; right: clamp(16px, 3vw, 36px); bottom: calc(clamp(16px, 3vw, 36px) + 74px); z-index: 9100; width: 300px; max-width: calc(100vw - 32px); padding: 4px 16px 16px; background: rgba(14, 14, 14, .96); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border: 1px solid rgba(243, 240, 233, .18); color: #f3f0e9; font: 13px/1.45 var(--sans, Inter, "Helvetica Neue", Helvetica, Arial, sans-serif); box-shadow: 0 18px 50px rgba(0, 0, 0, .5); animation: cfpf-opts-in .25s ease; }
.cfpf-opts[hidden] { display: none; }
.cfpf-opts.is-in-lb { position: absolute; z-index: 4; }
@media (max-width: 700px) { .cfpf-opts.is-in-lb { bottom: 150px; } }
@keyframes cfpf-opts-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.cfpf-opts__head { display: flex; justify-content: space-between; align-items: center; padding: 10px 0 8px; border-bottom: 1px solid rgba(243, 240, 233, .12); font-size: 10px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--lime, #bfff19); }
.cfpf-opts__x { border: 0; background: none; color: #a5a29c; font-size: 14px; cursor: pointer; padding: 4px; }
.cfpf-opts__lbl { display: block; margin: 14px 0 7px; font-size: 10px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #a5a29c; }
.cfpf-opts__lbl b { float: right; font-weight: 600; letter-spacing: 0; color: #f3f0e9; }
.cfpf-opts__lbl input { display: block; width: 100%; margin-top: 8px; accent-color: var(--lime, #bfff19); }
.cfpf-opts__seg { display: flex; gap: 4px; }
.cfpf-opts__seg button { flex: 1; padding: 8px 4px; border: 1px solid rgba(243, 240, 233, .22); background: none; color: #f3f0e9; font-size: 11px; font-weight: 600; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.cfpf-opts__seg button:hover { border-color: var(--lime, #bfff19); }
.cfpf-opts__seg button.is-on { background: var(--lime, #bfff19); border-color: var(--lime, #bfff19); color: #0a0a0a; }
.cfpf-opts__hint { margin: 8px 0 0; font-size: 12px; color: #a5a29c; }
.cfpf-opts__stop[hidden], .cfpf-opts__flow[hidden], .cfpf-opts__go[hidden] { display: none; }
.cfpf-opts__go { width: 100%; margin-top: 16px; padding: 12px; border: 0; background: var(--lime, #bfff19); color: #0a0a0a; font-size: 10px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; cursor: pointer; }
.cfpf-opts__go:hover { background: #fff; }

/* Fără animații pentru cine a cerut asta în sistem. */
@media (prefers-reduced-motion: reduce) {
	.cfpf-panel, .cfpf-gpanel { position: relative; }
	.cfpf-js .cfpf-anim-reveal > * { opacity: 1 !important; transform: none !important; transition: none !important; }
	.cfpf-js .cfpf-anim-reveal img, .cfpf-js .cfpf-anim-reveal .cfpf-gpanel__img { clip-path: none !important; }
	.cfpf-bw { transition: none; }
}
