.oppak-slideshow {
	--oppak-radius: 10px;
	--oppak-dark: rgba(20, 20, 22, 0.72);
	--oppak-text: #1a1a1a;
	--oppak-muted: #6b6b6b;
	max-width: 760px;
	margin: 24px auto;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	color: var(--oppak-text);
	box-sizing: border-box;
}
.oppak-slideshow *, .oppak-slideshow *::before, .oppak-slideshow *::after { box-sizing: border-box; }

/* ---------- Compact stage ---------- */
.oppak-ss-stage {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	background: #111;
	border-radius: var(--oppak-radius);
	overflow: hidden;
	box-shadow: 0 1px 3px rgba(0,0,0,0.15);
	cursor: zoom-in;
}

.oppak-ss-image {
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	object-fit: cover !important;
	display: block;
	cursor: zoom-in;
	border: none;
	padding: 0;
	outline: none;
	position: relative;
	z-index: 1;
}
.oppak-ss-image:focus-visible {
	outline: 2px solid #1a73e8;
	outline-offset: -2px;
}

.oppak-ss-play,
.oppak-ss-expand,
.oppak-ss-counter {
	position: absolute;
	top: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--oppak-dark);
	color: #fff;
	border: none;
	border-radius: 6px;
	z-index: 3;
}

.oppak-ss-play {
	left: 14px;
	width: 34px;
	height: 34px;
	cursor: pointer;
	padding: 0;
}
.oppak-ss-play svg { width: 16px; height: 16px; fill: #fff; }
.oppak-ss-play.is-playing .oppak-icon-play { opacity: 0.5; }

.oppak-ss-counter {
	right: 56px;
	height: 34px;
	padding: 0 12px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.02em;
}

.oppak-ss-expand {
	right: 14px;
	width: 34px;
	height: 34px;
	cursor: pointer;
	padding: 0;
}
.oppak-ss-expand svg { width: 16px; height: 16px; fill: #fff; }

.oppak-ss-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 42px;
	height: 64px;
	background: rgba(255,255,255,0.85);
	border: none;
	border-radius: 6px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	z-index: 3;
	transition: background 0.15s ease;
}
.oppak-ss-nav:hover { background: #fff; }
.oppak-ss-nav svg { width: 20px; height: 20px; fill: none; stroke: #111; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.oppak-ss-prev, .oppak-lb-prev { left: 14px; }
.oppak-ss-next, .oppak-lb-next { right: 14px; }

/* ---------- Thumbnail strip ---------- */
.oppak-ss-thumbs,
.oppak-lb-thumbs {
	display: flex;
	gap: 8px;
	overflow-x: auto;
	padding: 12px 2px 4px;
	scrollbar-width: thin;
}
.oppak-ss-thumbs::-webkit-scrollbar, .oppak-lb-thumbs::-webkit-scrollbar { height: 6px; }
.oppak-ss-thumbs::-webkit-scrollbar-thumb, .oppak-lb-thumbs::-webkit-scrollbar-thumb { background: #d0d0d0; border-radius: 3px; }

.oppak-ss-thumb {
	flex: 0 0 auto;
	width: 84px;
	height: 60px;
	padding: 0;
	border: 2px solid transparent;
	border-radius: 6px;
	overflow: hidden;
	cursor: pointer;
	background: none;
	opacity: 0.55;
	transition: opacity 0.15s ease, border-color 0.15s ease;
}
.oppak-ss-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.oppak-ss-thumb:hover { opacity: 0.85; }
.oppak-ss-thumb.is-active { opacity: 1; border-color: #1a73e8; }

/* ---------- Headline / text ---------- */
.oppak-ss-headline {
	font-size: 22px;
	line-height: 1.3;
	font-weight: 700;
	margin: 16px 0 2px;
}
.oppak-ss-credit,
.oppak-lb-credit {
	font-size: 12px;
	color: var(--oppak-muted);
	margin: 0 0 10px;
}
.oppak-ss-text {
	font-size: 15px;
	line-height: 1.65;
	color: #333;
}
.oppak-ss-text p { margin: 0 0 12px; }

/* ---------- Lightbox ---------- */
.oppak-ss-lightbox {
	position: fixed;
	inset: 0;
	background: #fff;
	z-index: 2147483000;
	display: none;
	flex-direction: column;
}
.oppak-ss-lightbox.is-open { display: flex; }
body.oppak-lb-locked { overflow: hidden; }

.oppak-lb-close {
	position: absolute;
	top: 16px;
	left: 16px;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: #fff;
	border: 1px solid #e2e2e2;
	box-shadow: 0 1px 4px rgba(0,0,0,0.12);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	z-index: 5;
	pointer-events: auto;
}
.oppak-lb-close svg { width: 16px; height: 16px; fill: none; stroke: #111; stroke-width: 2; stroke-linecap: round; pointer-events: none; }

.oppak-lb-body {
	flex: 1;
	display: flex;
	min-height: 0;
}

.oppak-lb-imagewrap {
	position: relative;
	flex: 1 1 65%;
	background: #0d0d0d;
	min-width: 0;
	overflow: hidden;
}
.oppak-lb-image {
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	object-fit: cover !important;
	display: block;
}

.oppak-lb-sidebar {
	flex: 0 0 420px;
	max-width: 420px;
	padding: 28px 32px;
	overflow-y: auto;
	display: flex;
	flex-direction: column;
}

.oppak-lb-sidebar-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 18px;
}
.oppak-lb-counter {
	font-size: 13px;
	font-weight: 600;
	color: var(--oppak-muted);
	letter-spacing: 0.02em;
}
.oppak-lb-share {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	border: 1px solid #e2e2e2;
	background: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}
.oppak-lb-share svg { width: 16px; height: 16px; fill: #444; }
.oppak-lb-share.is-copied { background: #eaf4ea; border-color: #b7ddb7; }

.oppak-lb-headline {
	font-size: 24px;
	line-height: 1.3;
	font-weight: 700;
	margin: 0 0 2px;
}
.oppak-lb-text {
	font-size: 15px;
	line-height: 1.65;
	color: #333;
	flex: 1;
}
.oppak-lb-text p { margin: 0 0 12px; }

.oppak-lb-ad {
	margin-top: 20px;
	padding: 28px 12px;
	text-align: center;
	background: #f6f6f7;
	border: 1px dashed #d7d7d7;
	border-radius: 6px;
}
.oppak-lb-ad-label {
	font-size: 11px;
	letter-spacing: 0.08em;
	color: #9b9b9b;
	font-weight: 600;
}

.oppak-lb-thumbs {
	border-top: 1px solid #eee;
	padding: 10px 16px;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
	.oppak-lb-body { flex-direction: column; }
	.oppak-lb-imagewrap { flex: 1 1 55%; }
	.oppak-lb-sidebar { flex: 1 1 45%; max-width: none; padding: 20px; }
}

@media (max-width: 560px) {
	.oppak-slideshow { margin: 16px auto; }
	.oppak-ss-headline { font-size: 19px; }
	.oppak-ss-nav { width: 34px; height: 52px; }
	.oppak-lb-headline { font-size: 20px; }
	.oppak-lb-sidebar { padding: 16px; }
}
