.h5gp-player-wrap {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	background: #0d0d12;
	border-radius: 8px;
	overflow: hidden;
}

.h5gp-game-frame {
	width: 100%;
	height: 100%;
	border: 0;
	display: block;
}

.h5gp-loading,
.h5gp-error {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-size: 1rem;
	background: #0d0d12;
}

.h5gp-fullscreen-btn {
	position: absolute;
	right: 10px;
	bottom: 10px;
	background: rgba(0, 0, 0, 0.6);
	color: #fff;
	border: 1px solid rgba(255, 255, 255, 0.3);
	border-radius: 6px;
	padding: 6px 12px;
	cursor: pointer;
	font-size: 0.85rem;
}

.h5gp-ad-slot {
	display: flex;
	justify-content: center;
	margin: 16px 0;
}

@media (max-width: 600px) {
	.h5gp-player-wrap {
		aspect-ratio: 4 / 3;
		border-radius: 0;
	}
}
