/* AusCelebs Gallery lightbox - matches the legacy mobile UI:
   top-left play/pause, top-right close, mid-left/right nav, bottom-left meta,
   bottom-right counter. */

.acnet-lb {
	position: fixed;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, 0.92);
	z-index: 100000;
	opacity: 0;
	transition: opacity 0.18s ease;
	user-select: none;
	-webkit-user-select: none;
	touch-action: pinch-zoom;
}

.acnet-lb.is-open {
	opacity: 1;
}

.acnet-lb-stage {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	overflow: hidden;
	touch-action: pinch-zoom;
}

.acnet-lb-stage img {
	max-width: 100%;
	max-height: 100%;
	display: block;
	object-fit: contain;
	transition: opacity 0.15s ease;
	touch-action: pinch-zoom;
}

.acnet-lb-stage.is-loading img {
	opacity: 0;
}

/* Overlay controls */
.acnet-lb-btn {
	position: absolute;
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	padding: 0;
	border: none;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.35);
	color: #fff;
	cursor: pointer;
	transition: background 0.15s ease, transform 0.15s ease;
	-webkit-tap-highlight-color: transparent;
	z-index: 10;
}

.acnet-lb-btn:hover,
.acnet-lb-btn:focus {
	background: rgba(0, 0, 0, 0.6);
	outline: none;
}

.acnet-lb-btn svg {
	width: 60%;
	height: 60%;
	fill: currentColor;
}

.acnet-lb-play,
.acnet-lb-close {
	top: 12px;
	width: 44px;
	height: 44px;
}

.acnet-lb-play  { left: 12px; }
.acnet-lb-close { right: 12px; }

.acnet-lb-prev,
.acnet-lb-next {
	top: 50%;
	transform: translateY(-50%);
	width: 50px;
	height: 50px;
}

.acnet-lb-prev { left: 12px; }
.acnet-lb-next { right: 12px; }

.acnet-lb-prev:hover,
.acnet-lb-next:hover {
	transform: translateY(-50%) scale(1.08);
}

.acnet-lb-prev[disabled],
.acnet-lb-next[disabled] {
	opacity: 0.25;
	cursor: default;
}

/* Bottom bars */
.acnet-lb-bottom {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	padding: 10px 14px;
	pointer-events: none;
	color: #fff;
	font-size: 13px;
	z-index: 10;
}

.acnet-lb-meta {
	font-family: Menlo, Consolas, monospace;
	background: rgba(0, 0, 0, 0.5);
	padding: 3px 8px;
	border-radius: 3px;
}

.acnet-lb-counter {
	background: rgba(0, 0, 0, 0.5);
	padding: 3px 8px;
	border-radius: 3px;
}

/* Hide chrome while pinching zoomed image (optional polish) */
.acnet-lb.is-zoomed .acnet-lb-btn,
.acnet-lb.is-zoomed .acnet-lb-bottom {
	opacity: 0;
	pointer-events: none;
}
