/**
 * 히어로 소개영상 모달 (joyn-player-pro)
 */
.hcjm-hero-video-player-host--offscreen {
	position: fixed;
	left: -9999px;
	top: 0;
	width: 1px;
	height: 1px;
	overflow: hidden;
	pointer-events: none;
	opacity: 0;
	z-index: -1;
}
.hcjm-hero-gumlet-modal[hidden] {
	display: none !important;
}
.hcjm-hero-gumlet-modal:not([hidden]) {
	display: flex;
	align-items: center;
	justify-content: center;
	position: fixed;
	inset: 0;
	z-index: 100050;
	padding: 20px;
	box-sizing: border-box;
}
.hcjm-hero-gumlet-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.72);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
}
.hcjm-hero-gumlet-modal__dialog {
	position: relative;
	z-index: 1;
	width: min(960px, 100%);
	max-height: min(90vh, 900px);
	background: #0f0f12;
	border-radius: 16px;
	box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.08);
	overflow: hidden;
	display: flex;
	flex-direction: column;
}
.hcjm-hero-gumlet-modal__head {
	position: relative;
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 10px;
	min-height: 52px;
	padding: 10px 12px 10px 14px;
	box-sizing: border-box;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	background: #16161c;
}
.hcjm-hero-gumlet-modal__close {
	position: static;
	width: 44px;
	height: 44px;
	border: none;
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 22px;
	line-height: 1;
	transition: background 0.15s;
	flex-shrink: 0;
}
.hcjm-hero-gumlet-modal__close:hover {
	background: rgba(255, 255, 255, 0.18);
}
.hcjm-hero-gumlet-modal__close i {
	color: #fff !important;
}
.hcjm-hero-gumlet-modal__slot {
	flex: 1 1 auto;
	min-height: 0;
	width: 100%;
	line-height: 0;
	overflow: hidden;
}
.hcjm-hero-gumlet-modal__slot iframe {
	display: block;
	width: 100% !important;
	max-width: 100%;
	border: 0;
	aspect-ratio: 16 / 9;
	min-height: 200px;
	height: auto;
	max-height: min(80vh, 540px);
}
.hcjm-hero-gumlet-modal__slot > div {
	position: relative;
	width: 100%;
}
.hcjm-hero-gumlet-modal__slot > div iframe {
	position: absolute;
	inset: 0;
	width: 100% !important;
	height: 100% !important;
	max-height: none;
}
.hcjm-hero-gumlet-modal__slot video {
	display: block;
	width: 100% !important;
	max-height: min(80vh, 540px);
	background: #000;
}
.hcjm-hero-gumlet-modal__slot .joyn-player-wrapper {
	width: 100%;
	max-height: min(80vh, 540px);
}
.hcjm-hero-gumlet-modal__loading,
.hcjm-hero-gumlet-modal__error {
	margin: 0;
	padding: 48px 24px;
	text-align: center;
	color: rgba(255, 255, 255, 0.85);
	font-size: 15px;
	line-height: 1.5;
}
.hcjm-hero-gumlet-modal__error {
	color: #f87171;
}
.hcjm-hero-gumlet-modal__sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
