@charset "utf-8";

/* ============================================================
   ComicInfo — Footer  (skin/footer/comicinfo/style.css)
   기본 푸터(GW_basic) 구조 기반 / CI 전용 컬러
   ============================================================ */

#ci_footer {
	padding: 56px 0 72px;
	background: #1e2330;
	position: relative;
}

/* ── 링크 + SNS 상단 행 ───────────────────────────── */
.ci_footer_link_info_container {
	margin-bottom: 36px;
	padding: 16px 0 28px;
	border-bottom: 1px solid #2e3347;
}

.ci_footer_top_wrap {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 32px;
}

/* 링크 버튼 */
.ci_footer_link {
	font-size: 0;
}
.ci_footer_link li {
	display: inline-block;
	margin-right: 4px;
}
.ci_footer_link li a {
	display: block;
	padding: 10px 24px;
	background: #2a3045;
	color: #c8ccd8;
	font-size: 13px;
	transition: background .3s ease;
}
.ci_footer_link li a:hover {
	background: #3a4160;
	color: #e8eaf2;
}

/* SNS 아이콘 */
.ci_footer_sns > a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	position: relative;
}
.ci_footer_sns > a > i {
	color: #8890a8;
	font-size: 22px;
	transition: color .3s;
}
.ci_footer_sns > a:hover > i {
	color: #e8eaf2;
}

/* ── 사업자 정보 ───────────────────────────────────── */
.ci_footer_info_wrap {
	margin-bottom: 24px;
}

.ci_footer_info {
	color: #6b7285;
	font-size: 13px;
}
.ci_footer_info p {
	margin-bottom: 8px;
}
.ci_footer_info i {
	display: inline-block;
	width: 16px;
	text-align: center;
}
.ci_footer_info i:after {
	content: "/";
	position: relative;
	top: -1px;
	font-size: 9px;
	font-weight: 600;
}
i.ci_footer_info_divider_mobile {
	display: none;
}

/* ── 카피라이트 ────────────────────────────────────── */
.ci_footer_copy_container {
	position: relative;
}
.ci_footer_copy {
	color: #6b7285;
	font-size: 13px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}
.ci_footer_copy b {
	color: #8890a8;
}

/* ── 에스크로 ──────────────────────────────────────── */
.ci_footer_escrow {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: 4px;
}
.ci_footer_escrow img {
	width: 52px;
	opacity: .65;
	transition: opacity .3s;
}
.ci_footer_escrow img:hover {
	opacity: 1;
}
.ci_footer_escrow_text {
	font-size: 12px;
	color: #6b7285;
}
.ci_footer_escrow_text p {
	margin: 3px 0 0;
}
.ci_footer_escrow_text a {
	color: #5b7fff;
	text-decoration: underline;
	font-size: 12px;
}
.ci_footer_escrow_text a:hover {
	color: #7f9fff;
}

/* ── TOP 버튼 ──────────────────────────────────────── */
#ci_top_btn {
	position: absolute;
	top: 0;
	right: 120px;
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: 50%;
	background: #4285F4;
	color: #fff;
	font-size: 16px;
	cursor: pointer;
	transition: background .25s, transform .25s, opacity .25s;
	z-index: 90;
	display: flex;
	align-items: center;
	justify-content: center;
}
#ci_top_btn > p {
	display: none;
}
#ci_top_btn:hover {
	background: #7f9fff;
	transform: translateY(-3px);
}
#ci_top_btn.ci_go_top_fixed {
	position: fixed;
	bottom: 32px;
	top: auto;
	right: 32px;
}
#ci_top_btn.ci_go_top_hide {
	opacity: 0;
	pointer-events: none;
}
#ci_top_btn:not(.ci_go_top_hide) {
	opacity: 1;
	pointer-events: auto;
}

/* ============================================================
   1200px
   ============================================================ */
@media screen and (max-width: 1200px) {
	#ci_top_btn { right: 24px; }
	#ci_top_btn.ci_go_top_fixed { right: 24px; }
}

/* ============================================================
   768px  (아이패드 세로)
   ============================================================ */
@media screen and (max-width: 768px) {
	#ci_footer { padding: 44px 0 60px; }

	.ci_footer_top_wrap {
		flex-direction: column;
		align-items: flex-start;
		gap: 16px;
		margin-bottom: 24px;
	}
	.ci_footer_link { margin-bottom: 0; }
	.ci_footer_sns > a { width: 34px; height: 34px; }
	.ci_footer_info p { margin-bottom: 4px; }
	.ci_footer_copy { font-size: 12px; }
}

/* ============================================================
   560px  (스마트폰)
   ============================================================ */
@media screen and (max-width: 560px) {
	.ci_footer_link_info_container {
		margin-bottom: 0;
		padding: 48px 0 28px;
		border: 0;
	}
	.ci_footer_link li a { padding: 5px 15px; font-size: 12px; }

	/* 사업자정보 인라인 → 줄바꿈 처리 */
	.ci_footer_info p {
		display: inline;
		margin-bottom: 0;
		line-height: 1.7;
		word-break: keep-all;
		font-size: 12px;
	}
	i.ci_footer_info_divider_mobile { display: inline-block; }

	.ci_footer_copy { font-size: 11px; }
	#ci_top_btn { right: 16px; }
	#ci_top_btn.ci_go_top_fixed { right: 16px; bottom: 20px; }
}

/* ============================================================
   320px
   ============================================================ */
@media screen and (max-width: 320px) {
	.ci_footer_link li a { padding: 4px 10px; }
}

/* 모바일 바텀네브 겹침 방지 */
@media (max-width: 960px) {
    #ci_footer {
        padding-bottom: calc(60px + env(safe-area-inset-bottom) + 24px);
    }

    #ci_top_btn.ci_go_top_fixed {
        bottom: calc(60px + env(safe-area-inset-bottom) + 16px);
    }
}