/* El Rincón Cómics Gallery - Lector a pantalla completa */

.rccg-reader {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.96);
	z-index: 999999;
	display: none;
	align-items: center;
	justify-content: center;
}

.rccg-reader.is-open {
	display: flex;
}

body.rccg-reader-open {
	overflow: hidden;
}

.rccg-reader-stage {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	overflow: hidden;
	touch-action: none;
	-webkit-user-select: none;
	user-select: none;
}

.rccg-reader-stage.is-zoomed {
	cursor: zoom-out;
}

.rccg-reader-img {
	max-width: 92vw;
	max-height: 92vh;
	object-fit: contain;
	user-select: none;
	-webkit-user-drag: none;
	pointer-events: none;
	will-change: transform;
}

.rccg-reader-close {
	position: absolute;
	top: 14px;
	right: 18px;
	font-size: 2.1rem;
	line-height: 1;
	background: none;
	border: none;
	color: #fff;
	cursor: pointer;
	z-index: 2;
	padding: 6px 10px;
}

.rccg-reader-counter {
	position: absolute;
	top: 18px;
	left: 18px;
	color: #fff;
	font-size: 0.85rem;
	background: rgba(255, 255, 255, 0.12);
	padding: 5px 12px;
	border-radius: 20px;
	z-index: 2;
}

.rccg-reader-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(255, 255, 255, 0.08);
	border: none;
	color: #fff;
	font-size: 1.3rem;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	cursor: pointer;
	z-index: 2;
}

.rccg-reader-nav:hover {
	background: rgba(255, 255, 255, 0.18);
}

.rccg-reader-prev {
	left: 14px;
}

.rccg-reader-next {
	right: 14px;
}

@media (max-width: 600px) {
	.rccg-reader-nav {
		display: none; /* en móvil se navega tocando la imagen o con swipe */
	}
}

/* Marca de agua superpuesta sobre las imágenes de la entrada */
.rccg-watermark-wrap {
	position: relative;
	display: inline-block;
	max-width: 100%;
	line-height: 0;
}

.rccg-watermark-wrap img {
	display: block;
	max-width: 100%;
	height: auto;
}

.rccg-watermark-text {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	text-align: center;
	font-size: 0.8rem;
	letter-spacing: 0.5px;
	color: rgba(255, 255, 255, 0.85);
	background: linear-gradient(to top, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0) 100%);
	padding: 18px 8px 8px;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.7);
	pointer-events: none;
}
