/* JK Lightbox — đi theo ngôn ngữ site: nền mực, chữ đếm mono, nút tròn trắng mờ. */
.jk-lb {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(17, 17, 17, .94);
	animation: jk-lb-in .18s ease;
}
@keyframes jk-lb-in { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .jk-lb { animation: none; } }
html.jk-lb-open { overflow: hidden; }

.jk-lb__fig {
	margin: 0;
	max-width: 92vw;
	max-height: 90vh;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
}
.jk-lb__img {
	max-width: 92vw;
	max-height: 84vh;
	width: auto;
	height: auto;
	border-radius: 12px;   /* --jk-r-thumb, nhưng biến theme không chắc có mặt ở đây */
	box-shadow: 0 24px 80px -24px rgba(0, 0, 0, .8);
}
.jk-lb__cap {
	color: #fff;
	font-size: 15px;
	line-height: 1.5;
	text-align: center;
	max-width: 80vw;
}

.jk-lb__btn {
	position: absolute;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border: 0;
	border-radius: 999px;
	background: rgba(255, 255, 255, .12);
	color: #fff;
	font-size: 26px;
	line-height: 1;
	cursor: pointer;
	transition: background .12s ease;
}
.jk-lb__btn:hover { background: rgba(255, 255, 255, .26); }
.jk-lb__x { top: 18px; right: 18px; }
.jk-lb__p { left: 14px; top: 50%; transform: translateY(-50%); }
.jk-lb__n { right: 14px; top: 50%; transform: translateY(-50%); }

.jk-lb__count {
	position: absolute;
	left: 50%;
	bottom: 16px;
	transform: translateX(-50%);
	color: rgba(255, 255, 255, .75);
	font-family: 'JetBrains Mono', ui-monospace, monospace;
	font-size: 13px;
	letter-spacing: .02em;
}

@media (max-width: 767px) {
	.jk-lb__btn { width: 40px; height: 40px; }
	.jk-lb__p { left: 8px; }
	.jk-lb__n { right: 8px; }
	.jk-lb__img { max-width: 96vw; border-radius: 8px; }
}
