.troggen-embed {
	position: relative;
	width: 100%;
	aspect-ratio: var(--troggen-ratio, 16 / 10);
	overflow: hidden;
	background: #1d140d;
	margin: 0 auto 1.5em;
	line-height: 0;
}
.troggen-embed .troggen-stage {
	position: absolute;
	top: 0;
	left: 0;
	width: var(--troggen-w, 1280px);
	height: var(--troggen-h, 800px);
	transform-origin: 0 0;
}
/* fixed internal size – themes/page builders (e.g. Elementor) often set iframe { width: 100% } */
.troggen-embed .troggen-stage iframe.troggen-frame {
	display: block !important;
	position: static !important;
	width: 100% !important;
	height: 100% !important;
	min-width: 0 !important;
	max-width: none !important;
	min-height: 0 !important;
	max-height: none !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	aspect-ratio: auto !important;
	background: #1d140d;
}
.troggen-embed .troggen-toolbar {
	position: absolute;
	top: 8px;
	right: 8px;
	display: flex;
	gap: 6px;
	z-index: 2;
	opacity: .55;
	transition: opacity .2s;
}
.troggen-embed:hover .troggen-toolbar,
.troggen-embed .troggen-toolbar:focus-within { opacity: 1; }
.troggen-embed .troggen-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	padding: 0;
	border: 0;
	border-radius: 4px;
	background: rgba(0, 0, 0, .6);
	color: #fff;
	cursor: pointer;
	text-decoration: none;
	line-height: 1;
}
.troggen-embed .troggen-btn:hover,
.troggen-embed .troggen-btn:focus { background: rgba(0, 0, 0, .85); color: #fff; }
.troggen-embed:fullscreen { aspect-ratio: auto; width: 100vw; height: 100vh; max-width: none; background: #000; }
.troggen-embed:-webkit-full-screen { width: 100vw; height: 100vh; max-width: none; background: #000; }
.troggen-embed.troggen-pseudo-fullscreen {
	position: fixed;
	inset: 0;
	width: 100vw;
	height: 100vh;
	max-width: none;
	aspect-ratio: auto;
	z-index: 999999;
	background: #000;
	margin: 0;
}
