/* PC용 Top 버튼 스타일 - view.php와 100% 동일한 방식 */
/* .topBtn 관련 버튼 완전 숨김 (맨위로 텍스트 버튼 제거) */
.topBtn,
.topBtn *,
[class*="topBtn"],
a[href*="moveScroll_top"],
a[onclick*="moveScroll_top"] {
	display: none !important;
	visibility: hidden !important;
	opacity: 0 !important;
	height: 0 !important;
	width: 0 !important;
	overflow: hidden !important;
	position: absolute !important;
	left: -9999px !important;
	top: -9999px !important;
}

.pub-top-button,
#pub-top-button,
.top-btn,
.btn-top,
#topBtn,
a[href="#top"],
a[onclick*="scrollTo"],
a[onclick*="scrollTop"] {
	position: fixed !important;
	bottom: 30px !important;
	right: 30px !important;
	width: 50px !important;
	height: 50px !important;
	background-color: #333 !important;
	color: #fff !important;
	border: none !important;
	border-radius: 50% !important;
	cursor: pointer !important;
	display: none !important;
	z-index: 99999 !important;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3) !important;
	transition: all 0.3s ease !important;
	text-align: center !important;
	line-height: 50px !important;
	font-size: 20px !important;
	text-decoration: none !important;
	font-family: Arial, sans-serif !important;
	opacity: 0 !important;
	visibility: hidden !important;
}

/* 스크롤 시 표시 클래스 */
.pub-top-button.show,
#pub-top-button.show,
.top-btn.show,
.btn-top.show,
#topBtn.show,
a[href="#top"].show,
a[onclick*="scrollTo"].show,
a[onclick*="scrollTop"].show {
	display: block !important;
	opacity: 1 !important;
	visibility: visible !important;
}

.pub-top-button:hover,
#pub-top-button:hover,
.top-btn:hover,
.btn-top:hover,
#topBtn:hover,
a[href="#top"]:hover,
a[onclick*="scrollTo"]:hover,
a[onclick*="scrollTop"]:hover {
	background-color: #555 !important;
	transform: translateY(-3px) !important;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4) !important;
	text-decoration: none !important;
}

.pub-top-button::before,
#pub-top-button::before {
	content: "↑" !important;
	display: block !important;
	font-weight: bold !important;
}

/* 모바일 숨김 */
@media screen and (max-width: 768px) {
	.pub-top-button,
	#pub-top-button,
	.top-btn,
	.btn-top,
	#topBtn,
	a[href="#top"],
	a[onclick*="scrollTo"],
	a[onclick*="scrollTop"] {
		display: none !important;
	}
}

