/**
 * FISH CASINO — theme10 로고 (정사형 엠블럼, 그림자 없음)
 */
.theme_logo_img a {
	max-width: min(420px, 94vw) !important;
	height: 168px !important;
}

.theme_logo_img img,
.theme_logo_img img.mainlogo {
	width: auto !important;
	max-width: 100% !important;
	height: 100% !important;
	max-height: 168px !important;
	object-fit: contain !important;
	object-position: center center !important;
	filter: none !important;
}

.panel.left .panel_logo img,
.pop_logo img.popuplogo,
.footer .logo img.footerlogo {
	max-width: min(360px, 90vw);
	width: auto;
	height: auto;
	max-height: 112px;
	object-fit: contain;
	object-position: center;
	filter: none !important;
}

.login .theme_logo_img a {
	height: 152px !important;
}

@media screen and (min-width: 768px) {
	.login .header_wrap {
		display: flex;
		justify-content: flex-end;
		align-items: flex-start;
		position: relative;
	}

	.login .theme_logo_img {
		position: absolute;
		left: 50%;
		top: 50%;
		transform: translate(-50%, -50%);
		z-index: 998;
		pointer-events: none;
	}

	.login .theme_logo_img a {
		pointer-events: auto;
	}

	.login .theme_login,
	.login .header_wrap > .theme_myMenu {
		position: relative;
		z-index: 1000;
		margin-left: auto;
	}
}

@media screen and (max-width: 767px) {
	.theme_logo_img a {
		height: 108px !important;
		max-width: min(320px, 92vw) !important;
	}

	.login .theme_logo_img a {
		height: 96px !important;
	}
}

/* [LUCAS 20260721] 스크롤 로고 사이즈 모션 — 상단=작게 / 스크롤시=크게 (#header.scroll 토글 활용, .a 스케일로 로그인/컨테이너 transform 비간섭) */
.theme_logo_img a{
	transition: transform 0.4s ease !important;
	transform-origin: top center;
	will-change: transform;
}
#header:not(.scroll) .theme_logo_img a{
	transform: none !important;
}
#header.scroll .theme_logo_img a{
	transform: scale(1) !important;
}


/* [P-FIX 20260914 LUCAS-LOGO] 투명 로고 확대 + 헤더 상단 잘림 방지
   - 헤더가 로고를 잘라내지 않도록 overflow 해제
   - 로고는 헤더 '상단 기준' 배치 → 뷰포트 위로 넘치지 않는다(아래로만 오버행)
   - 스크롤 축소 모션 제거(상시 최대 크기) */
#header,
#header .header,
#header .header_wrap,
#header .site_gnb {
	overflow: visible !important;
}

.theme_logo_img,
.login .theme_logo_img {
	position: absolute !important;
	left: 50% !important;
	top: 0 !important;
	bottom: auto !important;
	transform: translate(-50%, 4px) !important;
	z-index: 998 !important;
	pointer-events: none;
	display: block !important;
}

.theme_logo_img a,
.login .theme_logo_img a {
	pointer-events: auto;
	display: block !important;
	height: 300px !important;
	min-height: 300px !important;
	max-height: 300px !important;
	max-width: min(820px, 94vw) !important;
	transform: none !important;
	background: transparent !important;
}

.theme_logo_img img,
.theme_logo_img img.mainlogo {
	width: auto !important;
	height: 100% !important;
	max-height: 300px !important;
	max-width: 100% !important;
	object-fit: contain !important;
	object-position: center top !important;
	background: transparent !important;
	/* 투명 PNG 가장자리를 배경에 자연스럽게 얹는다 */
	filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.55)) !important;
}

@media screen and (max-width: 1030px) {
	.theme_logo_img a,
	.login .theme_logo_img a {
		height: 260px !important;
		min-height: 260px !important;
		max-height: 260px !important;
	}
	.theme_logo_img img,
	.theme_logo_img img.mainlogo {
		max-height: 260px !important;
	}
}

@media screen and (max-width: 767px) {
	.theme_logo_img a,
	.login .theme_logo_img a {
		height: 210px !important;
		min-height: 210px !important;
		max-height: 210px !important;
		max-width: min(600px, 94vw) !important;
	}
	.theme_logo_img img,
	.theme_logo_img img.mainlogo {
		max-height: 210px !important;
	}
}

/* 팝업·푸터·사이드 로고도 흰 배경 잔재 없이 */
.panel.left .panel_logo img,
.pop_logo img.popuplogo,
.footer .logo img.footerlogo {
	background: transparent !important;
	filter: none !important;
}

/* [P-FIX 20260915 LUCAS-LOGO-FLOAT] 로고 확대분을 본문 padding 으로 밀어내지 않는다.
   밀면 히어로 슬라이드와 좌측상단 메뉴 드롭다운 아래 공간까지 통째로 내려간다(마스터 지적).
   로고는 absolute + 높은 z-index 로 헤더 밖으로 겹쳐 떠 있게 둔다. */
