/**
 * Live — SOLO lo que framework.js.php necesita y no existe en event-dark.css.
 * Todo lo demás lo resuelve event-dark.css (modo cine replay).
 */

/* Hooks framework ocultos */
.live-fw-hooks {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	opacity: 0 !important;
	pointer-events: none !important;
}

.live-legacy {
	display: none !important;
}

/* Spinner centro hasta is-live-ready (sync + video mapeado) */
#spinnerPlayer,
.ev-yt__stage-spinner {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	z-index: 5;
	display: none;
	align-items: center;
	justify-content: center;
	width: auto;
	height: auto;
	background: none;
	border: none;
	box-shadow: none;
	pointer-events: none;
}

.ev-yt__stage-spinner__ring {
	display: block;
	width: 2.125rem;
	height: 2.125rem;
	border-radius: 50%;
	border: 1.5px solid rgba(255, 255, 255, 0.14);
	border-top-color: rgba(255, 255, 255, 0.78);
	animation: live-stage-spin 0.9s linear infinite;
}

@keyframes live-stage-spin {
	to { transform: rotate(360deg); }
}

body.gopass-event--replay-mode .ev-cinema .ev-yt[data-ee="2"]:not(.is-live-ready):not(.is-playing) #spinnerPlayer {
	display: flex !important;
}

body.gopass-event--replay-mode .ev-cinema .ev-yt:not([data-ee="2"]) #spinnerPlayer,
body.gopass-event--replay-mode .ev-cinema .ev-yt.is-live-ready #spinnerPlayer,
body.gopass-event--replay-mode .ev-cinema .ev-yt.is-playing #spinnerPlayer {
	display: none !important;
}

body.gopass-event--replay-mode .ev-cinema .ev-yt[data-ee]:not([data-ee="2"]) .ev-yt__play-overlay {
	opacity: 0 !important;
	visibility: hidden !important;
	pointer-events: none !important;
}

body.gopass-event--replay-mode .ev-cinema .ev-yt[data-ee="2"]:not(.is-live-ready) .ev-yt__play-overlay {
	opacity: 0 !important;
	visibility: hidden !important;
	pointer-events: none !important;
}

body.gopass-event--replay-mode .ev-cinema .ev-yt[data-ee="2"]:not(.is-live-ready) .ev-yt__shield {
	pointer-events: none;
}

body.gopass-event--replay-mode .ev-cinema .ev-yt[data-ee]:not([data-ee="2"]) .ev-yt__shield {
	pointer-events: none;
}

/* Poster: transiciones de framework.js.php (solo al reproducir) */
.poster-video {
	transition: filter 5s ease;
}

/* Pausa: flyer, bandas y overlay al instante (sin fade) */
body.gopass-event--replay-mode .ev-cinema .ev-yt.is-paused .ev-yt__poster {
	opacity: 1 !important;
	visibility: visible !important;
	transition: none !important;
}

body.gopass-event--replay-mode .ev-cinema .ev-yt.is-paused .ev-yt__stage::before,
body.gopass-event--replay-mode .ev-cinema .ev-yt.is-paused .ev-yt__stage::after {
	opacity: 0 !important;
	transition: none !important;
}

body.gopass-event--replay-mode .ev-cinema .ev-yt.is-paused .ev-yt__controls {
	opacity: 1 !important;
	transform: none !important;
	transition: none !important;
}

body.gopass-event--replay-mode .ev-cinema .ev-yt.is-paused .ev-yt__info {
	transition: none !important;
}

body.gopass-event--replay-mode .ev-cinema .ev-yt.is-paused .ev-yt__play-overlay {
	transition: none !important;
}

.poster-video.grayscale {
	filter: grayscale(100%);
}

.poster-video.blur-effect {
	filter: blur(2px);
}

/* Ocultar controles hasta sync en vivo (ee==2) */
body.gopass-event--replay-mode .ev-yt[data-ee]:not(.is-live-ready) .ev-yt__controls {
	display: none !important;
}

/* Pausado o controles ocultos: sin bandas extra (estilo event-dark en la barra) */
body.gopass-event--replay-mode .ev-cinema .ev-yt.is-paused .ev-yt__controls,
body.gopass-event--replay-mode .ev-cinema .ev-yt.is-playing.is-controls-hidden .ev-yt__controls {
	background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.55) 35%, rgba(0, 0, 0, 0.92) 100%);
	padding: 2.25rem 1rem 1rem;
}

body.gopass-event--replay-mode .ev-cinema .ev-yt.is-paused .ev-yt__controls::before,
body.gopass-event--replay-mode .ev-cinema .ev-yt.is-controls-hidden .ev-yt__controls::before {
	display: none;
}

/* Reproduciendo + controles visibles: banda superior (doble altura) + inferior en el stage */
body.gopass-event--replay-mode .ev-cinema .ev-yt .ev-yt__stage::before,
body.gopass-event--replay-mode .ev-cinema .ev-yt .ev-yt__stage::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	pointer-events: none;
	opacity: 0;
	transition: opacity 0.32s ease;
}

body.gopass-event--replay-mode .ev-cinema .ev-yt .ev-yt__stage::after {
	top: 0;
	height: 8rem;
	z-index: 7;
	background: linear-gradient(
		180deg,
		#000 0%,
		#000 32%,
		rgba(0, 0, 0, 0.48) 66%,
		transparent 100%
	);
}

body.gopass-event--replay-mode .ev-cinema .ev-yt .ev-yt__stage::before {
	bottom: 0;
	height: 8rem;
	z-index: 6;
	background: linear-gradient(
		0deg,
		#000 0%,
		#000 38%,
		rgba(0, 0, 0, 0.48) 66%,
		transparent 100%
	);
}

body.gopass-event--replay-mode .ev-cinema .ev-yt.is-playing:not(.is-controls-hidden) .ev-yt__stage::before,
body.gopass-event--replay-mode .ev-cinema .ev-yt.is-playing:not(.is-controls-hidden) .ev-yt__stage::after {
	opacity: 1;
}

/* Barra superior al reproducir: canal | título */
body.gopass-event--replay-mode .ev-cinema .ev-yt__topbar {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	z-index: 8;
	display: flex;
	align-items: flex-start;
	padding: 0.85rem 1rem 0;
	pointer-events: none;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.32s ease, visibility 0.32s ease;
}

body.gopass-event--replay-mode .ev-cinema .ev-yt.is-playing:not(.is-controls-hidden) .ev-yt__topbar {
	opacity: 1;
	visibility: visible;
}

body.gopass-event--replay-mode .ev-cinema .ev-yt.is-paused .ev-yt__topbar,
body.gopass-event--replay-mode .ev-cinema .ev-yt.is-controls-hidden .ev-yt__topbar {
	opacity: 0 !important;
	visibility: hidden !important;
	transition: none !important;
}

body.gopass-event--replay-mode .ev-cinema .ev-yt__topbar-inner {
	display: flex;
	align-items: center;
	gap: 0.85rem;
	min-width: 0;
	max-width: 100%;
}

body.gopass-event--replay-mode .ev-cinema .ev-yt__topbar-avatar {
	flex-shrink: 0;
	width: 2.125rem;
	height: 2.125rem;
	border-radius: 50%;
	object-fit: cover;
	border: 1px solid rgba(255, 255, 255, 0.32);
	background: rgba(255, 255, 255, 0.08);
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

body.gopass-event--replay-mode .ev-cinema .ev-yt__topbar-channel,
body.gopass-event--replay-mode .ev-cinema .ev-yt__topbar-title {
	font-size: 1.3125rem;
	font-weight: 700;
	line-height: 1.2;
	color: #fff;
	text-shadow: 0 2px 14px rgba(0, 0, 0, 0.65);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

body.gopass-event--replay-mode .ev-cinema .ev-yt__topbar-channel {
	flex-shrink: 0;
	max-width: min(44vw, 14rem);
}

body.gopass-event--replay-mode .ev-cinema .ev-yt__topbar-divider {
	flex-shrink: 0;
	width: 2px;
	height: 1.65rem;
	background: rgba(255, 255, 255, 0.5);
	border-radius: 1px;
}

body.gopass-event--replay-mode .ev-cinema .ev-yt__topbar-title {
	flex: 1;
	min-width: 0;
}

@media (min-width: 768px) {
	body.gopass-event--replay-mode .ev-cinema .ev-yt__topbar {
		padding: 1rem 1.35rem 0;
	}

	body.gopass-event--replay-mode .ev-cinema .ev-yt__topbar-avatar {
		width: 2.25rem;
		height: 2.25rem;
	}

	body.gopass-event--replay-mode .ev-cinema .ev-yt__topbar-channel,
	body.gopass-event--replay-mode .ev-cinema .ev-yt__topbar-title {
		font-size: 1.5rem;
	}

	body.gopass-event--replay-mode .ev-cinema .ev-yt__topbar-channel {
		max-width: min(34vw, 18rem);
	}

	body.gopass-event--replay-mode .ev-cinema .ev-yt__topbar-divider {
		height: 1.85rem;
	}
}

/* Barra de controles transparente: el negro lo pinta el ::before del stage */
body.gopass-event--replay-mode .ev-cinema .ev-yt.is-playing:not(.is-controls-hidden) .ev-yt__controls {
	background: transparent;
	padding: 0.75rem 1rem 0.9rem;
}

body.gopass-event--replay-mode .ev-cinema .ev-yt.is-playing:not(.is-controls-hidden) .ev-yt__controls::before {
	display: none;
}

body.gopass-event--replay-mode .ev-cinema .ev-yt__toolbar {
	position: relative;
	z-index: 1;
}

/* EN VIVO eyebrow — estilo index (nx-hero__eyebrow--live) */
body.gopass-event--replay-mode .ev-yt-hero__eyebrow--live {
	color: #fff;
	background: rgba(255, 45, 45, 0.22);
	border-color: rgba(255, 45, 45, 0.45);
	box-shadow: 0 0 20px rgba(255, 45, 45, 0.2);
}

body.gopass-event--replay-mode .ev-yt-hero__eyebrow--live i {
	font-size: 0.45rem;
	color: #ff2d2d;
	vertical-align: middle;
	animation: live-pulse 1.4s ease-in-out infinite;
}

@keyframes live-pulse {
	0%, 100% { opacity: 1; }
	50% { opacity: 0.35; }
}

/* En venta */
body.gopass-event--replay-mode .ev-yt-hero__eyebrow--sale {
	color: #fff;
	background: rgba(59, 130, 246, 0.2);
	border-color: rgba(96, 165, 250, 0.42);
}

body.gopass-event--replay-mode .ev-yt-hero__eyebrow--sale i {
	font-size: 0.75rem;
	color: #93c5fd;
}

/* Finalizado */
body.gopass-event--replay-mode .ev-yt-hero__eyebrow--ended {
	color: #fff;
	background: rgba(113, 113, 122, 0.28);
	border-color: rgba(161, 161, 170, 0.38);
}

body.gopass-event--replay-mode .ev-yt-hero__eyebrow--ended i {
	font-size: 0.72rem;
	color: #d4d4d8;
}

body.gopass-event--replay-mode .ev-yt-hero__live-note--waiting,
body.gopass-event--replay-mode .ev-yt-hero__live-note--countdown {
	color: #bfdbfe;
}

body.gopass-event--replay-mode .ev-yt-hero__live-note--delayed {
	color: #f87171 !important;
	font-weight: 700;
}

body.gopass-event--replay-mode .ev-yt-hero__live-note--delayed i {
	color: #ef4444;
}

body.gopass-event--replay-mode .ev-yt-hero__live-note--ended {
	color: #d4d4d8;
}

/* Badge privado amarillo (como ev-chip--private) */
body.gopass-event--replay-mode .ev-yt-hero__private {
	color: #fbbf24;
	border-color: rgba(251, 191, 36, 0.25);
	background: rgba(251, 191, 36, 0.08);
}

body.gopass-event--replay-mode .ev-yt-hero__private i {
	color: #fbbf24;
}

/* Aviso en vivo — entre categoría y canal */
body.gopass-event--replay-mode .ev-yt-hero__live-note {
	margin: 0 0 0.85rem;
	font-size: 0.875rem;
	font-weight: 600;
	color: #bbf7d0;
	line-height: 1.35;
}

body.gopass-event--replay-mode .ev-yt-hero__live-note i {
	margin-right: 0.35rem;
	opacity: 0.9;
}

body.gopass-event--replay-mode .ev-yt-hero__chip--static {
	cursor: default;
}

body.gopass-event--replay-mode .ev-yt-hero__chip--static:hover {
	color: rgba(244, 244, 245, 0.95);
	background: rgba(255, 255, 255, 0.1);
	border-color: rgba(255, 255, 255, 0.14);
}

body.gopass-event--replay-mode .ev-yt-hero__creator--static {
	cursor: default;
}

body.gopass-event--replay-mode .ev-yt-hero__creator--static:hover {
	color: #fff !important;
}

/* Calificación — UI custom (live-cinema-chrome.js) */
body.gopass-event--replay-mode .ev-yt-hero__rating {
	margin-top: 0.85rem;
	padding-top: 0;
	border-top: none;
}

.live-rating {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.45rem;
	max-width: 100%;
}

.live-rating__label {
	font-size: 0.8125rem;
	font-weight: 600;
	color: #a1a1aa;
	line-height: 1.2;
	white-space: nowrap;
}

.live-rating__stars {
	display: inline-flex;
	align-items: center;
	gap: 0.15rem;
}

.live-rating__star {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.65rem;
	height: 1.65rem;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
	line-height: 1;
	flex-shrink: 0;
}

.live-rating__star i {
	display: block;
	font-size: 1.35rem;
	line-height: 1;
	width: 1.35rem;
	height: 1.35rem;
	text-align: center;
	color: rgba(255, 255, 255, 0.22);
}

.live-rating__star i.fas {
	color: #fbbf24;
}

.live-rating__score {
	font-size: 0.8125rem;
	font-weight: 600;
	color: #a1a1aa;
	line-height: 1.2;
	white-space: nowrap;
}

.live-rating__inputs {
	display: none !important;
}

/* Redes separadas del bloque live + play */
.ev-yt__toolbar-cluster {
	display: flex;
	align-items: center;
	flex-wrap: nowrap;
	gap: 0.35rem;
}

body.gopass-event--replay-mode .ev-yt__toolbar-group--main {
	gap: 0.35rem;
}

body.gopass-event--replay-mode .ev-yt__toolbar-cluster--playback .ev-yt__btn--play {
	margin-left: 0 !important;
}

body.gopass-event--replay-mode .ev-yt__toolbar-cluster--playback .ev-yt__volume {
	max-width: 7.5rem;
}

body.gopass-event--replay-mode .ev-yt__toolbar-cluster--channel {
	display: flex;
	align-items: center;
	flex-wrap: nowrap;
	gap: 0.35rem;
}

@media (max-width: 899px) {
	body.gopass-event--replay-mode .ev-cinema .ev-yt__toolbar-group--main {
		flex: 1 1 auto;
		min-width: 0;
	}

	body.gopass-event--replay-mode .ev-cinema .ev-yt__toolbar-cluster--playback {
		flex: 1 1 auto;
		min-width: 0;
	}

	body.gopass-event--replay-mode .ev-cinema .ev-yt__toolbar-cluster--playback .ev-yt__volume {
		max-width: none;
		flex: 1 1 auto;
		min-width: 0;
		width: auto !important;
	}

	body.gopass-event--replay-mode .ev-cinema .ev-yt__toolbar-cluster--playback .ev-yt__volume-range {
		flex: 1 1 auto;
		min-width: 5.5rem;
		width: 100%;
		max-width: 9.5rem;
	}

	body.gopass-event--replay-mode .ev-cinema .ev-yt__toolbar-group--side {
		flex: 0 0 auto;
		min-width: 0;
		justify-content: flex-end;
	}
}

/* Botón contacto */
.ev-yt__btn--contact i {
	font-size: 0.9rem;
	line-height: 1;
}

/* Modal contacto canal */
.live-contact-popup.swal2-popup {
	border: 1px solid rgba(255, 255, 255, 0.1) !important;
	border-radius: 14px !important;
	padding: 1.15rem 1.15rem 1rem !important;
	text-align: left !important;
}

.live-contact-popup .swal2-title.live-contact-title {
	padding: 0 2rem 0.85rem 0 !important;
	margin: 0 !important;
	font-size: 1.05rem !important;
	font-weight: 700 !important;
	color: #f4f4f5 !important;
	text-align: left !important;
	line-height: 1.3 !important;
}

.live-contact-popup .swal2-html-container.live-contact-html {
	margin: 0 !important;
	padding: 0 !important;
	overflow: visible !important;
	text-align: left !important;
	max-width: 100% !important;
	font-size: 0.875rem !important;
	line-height: 1.45 !important;
}

.live-contact-popup .swal2-close.live-contact-close {
	position: absolute !important;
	top: 0.65rem !important;
	right: 0.65rem !important;
	width: 2rem !important;
	height: 2rem !important;
	color: #a1a1aa !important;
}

.live-contact-modal {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	width: 100%;
	box-sizing: border-box;
}

.live-contact-modal *,
.live-contact-modal *::before,
.live-contact-modal *::after {
	box-sizing: border-box;
}

.live-contact-modal__channel {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin-bottom: 1rem;
	width: 100%;
}

.live-contact-modal__channel img {
	width: 48px !important;
	height: 48px !important;
	min-width: 48px;
	border-radius: 50%;
	object-fit: cover;
	border: 2px solid rgba(255, 255, 255, 0.14);
	flex-shrink: 0;
	display: block;
}

.live-contact-modal__channel-body {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 0.2rem;
	min-width: 0;
	flex: 1 1 auto;
}

.live-contact-modal__name {
	display: block;
	font-size: 0.95rem;
	font-weight: 700;
	color: #fff !important;
	line-height: 1.25;
}

.live-contact-modal__hint {
	display: block;
	font-size: 0.78rem;
	color: #a1a1aa !important;
	line-height: 1.2;
}

.live-contact-modal__socials {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.5rem;
	margin-bottom: 0.85rem;
	width: 100%;
}

.live-contact-social {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 0.45rem;
	min-width: 0;
	padding: 0.55rem 0.65rem;
	border-radius: 8px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	background: rgba(255, 255, 255, 0.06);
	color: #f4f4f5 !important;
	text-decoration: none !important;
	font-size: 0.78rem;
	font-weight: 600;
	line-height: 1.2;
	transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.live-contact-social span {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.live-contact-social:hover {
	background: rgba(246, 88, 82, 0.14);
	border-color: rgba(246, 88, 82, 0.35);
	color: #fff !important;
}

.live-contact-social i {
	font-size: 1rem;
	line-height: 1;
	flex-shrink: 0;
}

.live-contact-social--wsp i { color: #25d366 !important; }
.live-contact-social--yt i { color: #ff0000 !important; }
.live-contact-social--fb i { color: #1877f2 !important; }
.live-contact-social--ig i { color: #e4405f !important; }

.live-contact-modal__form {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.45rem;
	width: 100%;
	margin-bottom: 0;
	padding: 0.65rem 0.85rem;
	border-radius: 10px;
	border: 1px solid rgba(246, 88, 82, 0.35);
	background: rgba(246, 88, 82, 0.12);
	color: #fff !important;
	text-decoration: none !important;
	font-size: 0.85rem;
	font-weight: 700;
	line-height: 1.2;
	transition: background 0.15s, border-color 0.15s;
}

.live-contact-modal__form i {
	flex-shrink: 0;
	line-height: 1;
}

.live-contact-modal__form:hover {
	background: rgba(246, 88, 82, 0.2);
	border-color: rgba(246, 88, 82, 0.5);
	color: #fff !important;
}

.live-contact-modal__legal {
	display: flex;
	align-items: flex-start;
	gap: 0.55rem;
	margin: 0 0 0.85rem;
	padding: 0.75rem 0.85rem;
	border-radius: 10px;
	background: rgba(251, 191, 36, 0.08);
	border: 1px solid rgba(251, 191, 36, 0.22);
	font-size: 0.78rem;
	line-height: 1.45;
	color: #e4e4e7 !important;
	text-align: left;
	width: 100%;
}

.live-contact-modal__legal > i {
	color: #fbbf24 !important;
	margin-top: 0.12rem;
	flex-shrink: 0;
	font-size: 0.9rem;
	line-height: 1;
}

.live-contact-modal__legal > span {
	display: block;
	flex: 1 1 auto;
	min-width: 0;
}

.live-contact-modal__legal strong {
	color: #f4f4f5 !important;
	font-weight: 700;
}

.live-contact-modal__legal a {
	color: #fbbf24 !important;
	font-weight: 700;
	text-decoration: underline !important;
}

.live-contact-modal__legal a:hover {
	color: #fde68a !important;
}

@media (max-width: 380px) {
	.live-contact-modal__socials {
		grid-template-columns: 1fr;
	}
}

/* Modal Enviar al TV */
.live-cast-popup.swal2-popup {
	border: 1px solid rgba(255, 255, 255, 0.1) !important;
	border-radius: 14px !important;
	padding: 1.15rem 1.15rem 0.95rem !important;
	text-align: left !important;
	overflow: hidden !important;
}

.live-cast-popup .swal2-title.live-cast-title {
	padding: 0 0 0.75rem !important;
	margin: 0 !important;
	font-size: 1.05rem !important;
	font-weight: 700 !important;
	color: #f4f4f5 !important;
	text-align: left !important;
	line-height: 1.3 !important;
}

.live-cast-popup .swal2-html-container.live-cast-html {
	margin: 0 !important;
	padding: 0 !important;
	overflow: hidden !important;
	max-height: none !important;
	text-align: left !important;
}

.live-cast-popup .swal2-actions.live-cast-actions {
	margin: 0.85rem 0 0 !important;
	padding: 0 !important;
	width: 100% !important;
	gap: 0.5rem !important;
	flex-wrap: nowrap !important;
}

.live-cast-popup .swal2-actions.live-cast-actions .swal2-styled {
	margin: 0 !important;
	flex: 1 1 0 !important;
	min-height: 2.5rem !important;
	border-radius: 8px !important;
	font-size: 0.85rem !important;
	font-weight: 700 !important;
	padding: 0.55rem 0.75rem !important;
	box-shadow: none !important;
}

.live-cast-btn--confirm {
	background: #f65852 !important;
	color: #fff !important;
}

.live-cast-btn--confirm:hover {
	background: #e04a44 !important;
}

.live-cast-btn--cancel {
	background: rgba(255, 255, 255, 0.08) !important;
	color: #f4f4f5 !important;
	border: 1px solid rgba(255, 255, 255, 0.14) !important;
}

.live-cast-btn--cancel:hover {
	background: rgba(255, 255, 255, 0.12) !important;
}

.live-cast-modal {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	width: 100%;
	box-sizing: border-box;
}

.live-cast-modal *,
.live-cast-modal *::before,
.live-cast-modal *::after {
	box-sizing: border-box;
}

.live-cast-lead {
	margin: 0 0 0.85rem;
	font-size: 0.8125rem;
	line-height: 1.45;
	color: #d4d4d8 !important;
}

.live-cast-lead strong {
	color: #f4f4f5 !important;
	font-weight: 700;
}

.live-cast-qr-scan {
	margin: 0 0 0.85rem;
	text-align: center;
}

.live-cast-qr-scan__frame {
	position: relative;
	width: min(100%, 12.5rem);
	margin: 0 auto;
	aspect-ratio: 1;
	border-radius: 14px;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.14);
	background: #0a0a0c;
}

.live-cast-qr-scan__frame video {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	background: #000;
}

.live-cast-qr-scan__overlay {
	position: absolute;
	inset: 18%;
	border: 2px solid rgba(246, 88, 82, 0.55);
	border-radius: 10px;
	box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.38);
	pointer-events: none;
}

.live-cast-qr-scan__switch {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.45rem;
	margin: 0.7rem auto 0;
	padding: 0.55rem 0.9rem;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.06);
	color: #e4e4e7;
	font: inherit;
	font-size: 0.82rem;
	font-weight: 600;
	cursor: pointer;
}

.live-cast-qr-scan__switch:hover,
.live-cast-qr-scan__switch:focus-visible {
	border-color: rgba(246, 88, 82, 0.45);
	color: #fff;
}

.live-cast-qr-scan__hint,
.live-cast-qr-scan__error {
	margin: 0.55rem 0 0;
	text-align: center;
	font-size: 0.82rem;
	line-height: 1.4;
}

.live-cast-qr-scan__hint {
	color: #a1a1aa !important;
}

.live-cast-qr-scan__error {
	color: #f87171 !important;
}

.live-cast-qr-scan__error[hidden] {
	display: none !important;
}

.live-cast-divider-or {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin: 0.85rem 0;
}

.live-cast-divider-or__line {
	flex: 1 1 auto;
	height: 1px;
	background: rgba(255, 255, 255, 0.14);
}

.live-cast-divider-or__text {
	flex: 0 0 auto;
	font-size: 0.95rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: lowercase;
	color: #a1a1aa !important;
	line-height: 1;
	padding: 0.2rem 0.55rem;
}

.live-cast-code-block {
	margin-bottom: 0.25rem;
}

.live-cast-code-label {
	display: block;
	margin-bottom: 0.55rem;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: #a1a1aa !important;
}

.live-cast-code {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 0.45rem;
	width: 100%;
	max-width: 22rem;
	margin: 0 auto;
	box-sizing: border-box;
}

.live-cast-code__digit {
	display: block;
	width: 100%;
	min-width: 0;
	height: 3rem;
	margin: 0;
	padding: 0;
	border: 2px solid #52525b;
	border-radius: 10px;
	background: #0a0a0c;
	color: #f4f4f5;
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 2.85rem;
	text-align: center;
	caret-color: #f65852;
	outline: none;
	box-sizing: border-box;
	-moz-appearance: textfield;
	appearance: none;
}

.live-cast-code__digit::-webkit-outer-spin-button,
.live-cast-code__digit::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.live-cast-code__digit:focus {
	border-color: #f65852;
	background: #121214;
}

.live-cast-code__digit.is-filled {
	border-color: #a1a1aa;
	background: #101012;
}

.live-cast-code__error {
	margin: 0.55rem 0 0;
	text-align: center;
	font-size: 0.82rem;
	line-height: 1.4;
	color: #f87171 !important;
}

.live-cast-code__error[hidden] {
	display: none !important;
}

/* SweetAlert2 dentro de fullscreen (nativo o pseudo) */
.ev-yt.is-fullscreen .swal2-container,
.gopass-event .ev-yt:fullscreen .swal2-container {
	position: fixed !important;
	inset: 0 !important;
	z-index: 99999 !important;
}
