.r10-medialink {
	cursor: pointer;
	text-decoration: underline;
	text-decoration-style: dotted;
	text-underline-offset: 3px;
}

.r10-medialink[data-type="video"] {
	text-decoration-color: #d32f2f;
}

.r10-medialink[data-type="audio"] {
	text-decoration-color: #1565c0;
}

/* Viñeta (globo) de preview */
.r10ml-bubble {
	position: absolute;
	z-index: 9998;
	max-width: 260px;
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18);
	opacity: 0;
	transform: translateY(-6px);
	pointer-events: none;
	transition: opacity 0.15s ease, transform 0.15s ease;
	overflow: hidden;
}

.r10ml-bubble.is-visible {
	opacity: 1;
	transform: translateY(0);
	pointer-events: auto;
}

.r10ml-bubble-inner {
	display: flex;
	flex-direction: column;
}

.r10ml-bubble-thumb-wrap {
	position: relative;
	line-height: 0;
}

.r10ml-bubble-thumb {
	width: 100%;
	display: block;
}

.r10ml-play-icon {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background: rgba(0, 0, 0, 0.6);
	color: #fff;
	border-radius: 50%;
	width: 36px;
	height: 36px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 14px;
}

.r10ml-bubble-audio {
	flex-direction: row;
	align-items: center;
	padding: 12px;
	gap: 10px;
}

.r10ml-audio-icon {
	font-size: 20px;
}

.r10ml-bubble-caption {
	padding: 8px 12px;
	font-size: 13px;
	line-height: 1.4;
	color: #222;
}

/* Modal de reproducción */
.r10ml-modal {
	position: fixed;
	inset: 0;
	z-index: 9999;
	background: rgba(0, 0, 0, 0.75);
	display: none;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.r10ml-modal.is-open {
	display: flex;
}

.r10ml-modal-inner {
	position: relative;
	width: 100%;
	max-width: 800px;
}

.r10ml-modal-close {
	position: absolute;
	top: -40px;
	right: 0;
	background: none;
	border: none;
	color: #fff;
	font-size: 30px;
	line-height: 1;
	cursor: pointer;
}

.r10ml-video-wrap {
	position: relative;
	width: 100%;
	padding-top: 56.25%; /* 16:9 */
}

.r10ml-video-wrap iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.r10ml-audio-wrap {
	background: #fff;
	border-radius: 8px;
	padding: 24px;
}

.r10ml-audio-wrap audio {
	width: 100%;
}
