/* FJRR Video Funnel */
.fjrr-vf {
	--vf-ink: #111013;
	--vf-red: var(--clb-color-primary, #ff303e);
	--vf-cream: #fffbf5;
	--vf-sand: #f4ede2;
	--vf-font: var(--clb-title-font-family, "Sora"), system-ui, sans-serif;
	font-family: var(--vf-font);
	color: var(--vf-ink);
	-webkit-font-smoothing: antialiased;
}
.fjrr-vf[hidden] { display: none; }
.fjrr-vf button { font: inherit; margin: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.fjrr-vf button:focus-visible { outline: 2px solid var(--vf-red); outline-offset: 2px; }
.fjrr-vf svg { width: 18px; height: 18px; display: block; }

/* Burbuja */
.fjrr-vf.-float { position: fixed; bottom: 24px; z-index: 99990; }
.fjrr-vf.-float.-right { right: 24px; }
.fjrr-vf.-float.-left { left: 24px; }
.fjrr-vf__launcher { position: relative; }
.fjrr-vf__open { display: flex; align-items: center; gap: 12px; padding: 0; border: 0; background: none; color: inherit; }
.fjrr-vf.-right .fjrr-vf__open { flex-direction: row-reverse; }
.fjrr-vf__thumb { position: relative; display: block; flex: none; width: 76px; height: 76px; border-radius: 50%; overflow: hidden; background: var(--vf-ink) center / cover no-repeat; border: 3px solid var(--vf-cream); outline: 2px solid var(--vf-red); transition: transform .3s ease, width .3s ease, height .3s ease; }
.fjrr-vf__thumb video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .4s ease; }
.fjrr-vf__thumb.-video video { opacity: 1; }
.fjrr-vf__thumb::after { content: ""; position: absolute; inset: -3px; border-radius: inherit; border: 2px solid var(--vf-red); opacity: 0; animation: fjrr-vf-ring 2.8s ease-out 1.5s infinite; pointer-events: none; }
.fjrr-vf.-story .fjrr-vf__thumb { width: 88px; height: 140px; border-radius: 16px; }
.fjrr-vf__open:hover .fjrr-vf__thumb { transform: scale(1.05); }
.fjrr-vf__tag { display: inline-flex; align-items: center; height: 36px; padding: 0 16px; border-radius: 999px; background: var(--vf-ink); color: var(--vf-cream); font-size: 12.4px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; transition: opacity .25s ease, transform .25s ease; }
.fjrr-vf__dismiss { position: absolute; top: -6px; width: 24px; height: 24px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: var(--vf-cream); color: var(--vf-ink); opacity: 0; transition: opacity .2s ease; }
.fjrr-vf.-right .fjrr-vf__dismiss { right: -4px; }
.fjrr-vf.-left .fjrr-vf__dismiss { left: 56px; }
.fjrr-vf.-story.-left .fjrr-vf__dismiss { left: 68px; }
.fjrr-vf__dismiss svg { width: 12px; height: 12px; }
.fjrr-vf__launcher:hover .fjrr-vf__dismiss, .fjrr-vf__dismiss:focus-visible { opacity: 1; }
@media (hover: none) { .fjrr-vf__dismiss { opacity: 1; } }
.fjrr-vf.-mini .fjrr-vf__tag, .fjrr-vf.-mini .fjrr-vf__dismiss { display: none; }
.fjrr-vf.-mini .fjrr-vf__thumb { width: 52px; height: 52px; border-radius: 50%; }
.fjrr-vf.-mini .fjrr-vf__thumb::after { animation: none; }
.fjrr-vf.-open .fjrr-vf__launcher { visibility: hidden; opacity: 0; }
@keyframes fjrr-vf-ring { 0% { opacity: .7; transform: scale(1); } 70%, 100% { opacity: 0; transform: scale(1.35); } }

/* Tarjeta común */
.fjrr-vf__card { position: relative; overflow: hidden; }
.fjrr-vf__media { position: relative; overflow: hidden; background: var(--vf-ink); }
.fjrr-vf__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; cursor: pointer; }
.fjrr-vf__bar { position: absolute; top: 0; left: 0; right: 0; height: 4px; background: rgba(255,251,245,.28); z-index: 2; }
.fjrr-vf__bar i { display: block; height: 100%; background: var(--vf-red); transform: scaleX(0); transform-origin: left; transition: transform .25s linear; }
.fjrr-vf__top { position: absolute; top: 14px; left: 14px; right: 14px; z-index: 3; display: flex; align-items: center; justify-content: flex-end; gap: 6px; }
.fjrr-vf__time { margin-right: auto; padding: 0 10px; height: 30px; display: inline-flex; align-items: center; border-radius: 999px; background: rgba(17,16,19,.5); color: var(--vf-cream); font-size: 12px; font-variant-numeric: tabular-nums; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.fjrr-vf__ctl { width: 34px; height: 34px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: rgba(17,16,19,.5); color: var(--vf-cream); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: background .2s ease, color .2s ease; }
.fjrr-vf__ctl:hover { background: rgba(17,16,19,.75); }
.fjrr-vf__ctl.-cc.-active { background: var(--vf-cream); color: var(--vf-ink); }
.fjrr-vf__cap { pointer-events: none; text-align: center; opacity: 0; transition: opacity .2s ease; }
.fjrr-vf__cap.-on { opacity: 1; }
.fjrr-vf__cap span { display: inline; padding: 3px 8px; border-radius: 6px; background: rgba(17,16,19,.72); color: #fff; font-size: 15px; line-height: 1.55; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.fjrr-vf__bigplay { position: absolute; top: 50%; left: 50%; z-index: 3; width: 64px; height: 64px; transform: translate(-50%, -50%); display: none; place-items: center; padding: 0; border: 0; border-radius: 50%; background: rgba(17,16,19,.55); color: var(--vf-cream); }
.fjrr-vf__bigplay svg { width: 26px; height: 26px; }
.fjrr-vf__media.-paused:not(.-automuted) .fjrr-vf__bigplay { display: grid; }
.fjrr-vf__unmute { position: absolute; top: 50%; left: 50%; z-index: 3; transform: translate(-50%, -50%); display: none; align-items: center; gap: 8px; height: 44px; padding: 0 18px; border: 0; border-radius: 999px; background: var(--vf-cream); color: var(--vf-ink); font-size: 12.4px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.fjrr-vf__media.-automuted .fjrr-vf__unmute { display: inline-flex; }
.fjrr-vf__msg { margin: 0; }
.fjrr-vf__msg.-typing::after { content: ""; display: inline-block; width: 2px; height: 1em; margin-left: 2px; vertical-align: -2px; background: currentColor; animation: fjrr-vf-blink .8s steps(1) infinite; }
@keyframes fjrr-vf-blink { 50% { opacity: 0; } }
.fjrr-vf__answers { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.fjrr-vf__answers li { margin: 0; padding: 0; opacity: 0; transform: translateY(8px); }
.fjrr-vf__answers.-in li { animation: fjrr-vf-in .35s ease forwards; animation-delay: calc(var(--i, 0) * 70ms + 150ms); }
.fjrr-vf__answers li::before, .fjrr-vf__answers li::marker { content: none; display: none; }
@keyframes fjrr-vf-in { to { opacity: 1; transform: none; } }
.fjrr-vf__answer { width: 100%; min-height: 50px; display: flex; align-items: center; gap: 12px; padding: 7px 18px 7px 8px; border: 1px solid transparent; border-radius: 999px; background: var(--vf-sand); color: var(--vf-ink); font-size: 15px; font-weight: 500; line-height: 1.25; text-align: left; transition: border-color .2s ease, background .2s ease; }
.fjrr-vf__answer:hover { border-color: var(--vf-ink); }
.fjrr-vf__letter { flex: none; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--vf-red); color: #fff; font-size: 12px; font-weight: 600; }

/* Flotante abierta */
.fjrr-vf.-float .fjrr-vf__card { position: fixed; bottom: 24px; width: 380px; height: min(680px, calc(100vh - 48px)); border-radius: 20px; background: var(--vf-ink); visibility: hidden; opacity: 0; transform: translateY(16px) scale(.96); transition: opacity .3s ease, transform .3s ease, visibility 0s linear .3s; }
.fjrr-vf.-float.-right .fjrr-vf__card { right: 24px; transform-origin: bottom right; }
.fjrr-vf.-float.-left .fjrr-vf__card { left: 24px; transform-origin: bottom left; }
.fjrr-vf.-float.-open { z-index: 2147483000; }
.fjrr-vf.-float.-open .fjrr-vf__card { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
.fjrr-vf.-float .fjrr-vf__media { position: absolute; inset: 0; }
.fjrr-vf.-float .fjrr-vf__panel { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; display: flex; flex-direction: column; gap: 10px; padding: 16px; }
.fjrr-vf.-float .fjrr-vf__cap { margin-bottom: 2px; }
.fjrr-vf.-float .fjrr-vf__msg { align-self: flex-start; max-width: 100%; padding: 9px 13px; border-radius: 14px; background: rgba(17,16,19,.62); color: var(--vf-cream); font-size: 14px; line-height: 1.4; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.fjrr-vf.-float .fjrr-vf__msg:empty { display: none; }
.fjrr-vf.-float .fjrr-vf__answer { background: rgba(255,251,245,.94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.fjrr-vf.-float .fjrr-vf__answer:hover { background: var(--vf-cream); border-color: var(--vf-red); }
html.fjrr-vf-lock, html.fjrr-vf-lock body { overflow: hidden; }

/* Ampliada (Hablemos) */
.fjrr-vf.-full { width: 100%; max-width: 1040px; margin: 0 auto; }
.fjrr-vf.-full .fjrr-vf__ph, .fjrr-vf.-full .fjrr-vf__card { height: clamp(520px, 78vh, 700px); border-radius: 24px; }
.fjrr-vf.-full .fjrr-vf__ph { background: var(--vf-sand) left center / auto 100% no-repeat; }
.fjrr-vf.-full .fjrr-vf__card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: #fff; border: 1px solid rgba(17,16,19,.08); }
.fjrr-vf.-full .fjrr-vf__cap { position: absolute; left: 20px; right: 20px; bottom: 26px; z-index: 2; }
.fjrr-vf.-full .fjrr-vf__panel { display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 48px; }
.fjrr-vf.-full .fjrr-vf__msg { width: 100%; max-width: 400px; margin-bottom: 24px; font-size: 22px; font-weight: 500; line-height: 1.3; letter-spacing: -.01em; }
.fjrr-vf.-full .fjrr-vf__answers { width: 100%; max-width: 400px; }

@media (max-width: 767px) {
	.fjrr-vf.-full .fjrr-vf__ph { height: calc(min(72vh, 600px) + 202px); }
	.fjrr-vf.-full .fjrr-vf__card { height: auto; grid-template-columns: 1fr; border-radius: 20px; }
	.fjrr-vf.-full .fjrr-vf__media { height: min(72vh, 600px); }
	.fjrr-vf.-full .fjrr-vf__panel { padding: 24px 18px 26px; }
	.fjrr-vf.-full .fjrr-vf__msg { font-size: 18px; margin-bottom: 18px; }
}
@media (max-width: 600px) {
	.fjrr-vf.-float { bottom: 16px; }
	.fjrr-vf.-float.-right { right: 16px; }
	.fjrr-vf.-float.-left { left: 16px; }
	.fjrr-vf.-float.-hide-mobile { display: none; }
	.fjrr-vf__thumb { width: 64px; height: 64px; }
	.fjrr-vf.-story .fjrr-vf__thumb { width: 72px; height: 116px; }
	.fjrr-vf.-float .fjrr-vf__card { top: calc(8px + env(safe-area-inset-top)); right: 8px !important; left: 8px !important; bottom: calc(8px + env(safe-area-inset-bottom)); width: auto; height: auto; border-radius: 18px; }
	.fjrr-vf.-float::before { content: ""; position: fixed; inset: 0; background: rgba(17,16,19,.72); opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility 0s linear .3s; }
	.fjrr-vf.-float.-open::before { opacity: 1; visibility: visible; transition-delay: 0s; }
	.fjrr-vf.-float.-open .fjrr-vf__launcher { visibility: hidden; }
}
@media (prefers-reduced-motion: reduce) {
	.fjrr-vf *, .fjrr-vf *::after { animation: none !important; transition: none !important; }
	.fjrr-vf__answers li { opacity: 1; transform: none; }
}
