/* 하단 사업자 정보 (2026-10-29) — 모든 화면 하단이 같이 쓰는 모양 한 곳.
   · .ati-bf         : 묶음 줄 하단. 가운데 정렬, 한 묶음 = 한 줄. 구분점은 같은 줄의 묶음 사이에만 있어 줄 끝에 혼자 남지 않는다.
   · .ati-bf-narrow  : 좁은 화면(600px 이하)에서만 보이는 하단. 넓은 화면은 옛 하단(.ati-bf-wide)을 그대로 보인다.
   · .ati-bf-fold    : 관리 화면 — 이용약관·개인정보처리방침·[사업자 정보 ▾] 줄과 © 줄은 늘 보이고 사업자 정보는 접는다
                       (assets/js/biz-footer.js). 스크립트가 안 돌면 버튼은 숨은 채로, 사업자 정보는 펼친 채로 보인다.
   · .ati-bf-host    : 원래 흐리게(opacity) 그린 하단 — 좁은 화면에서는 읽을 수 있게 흐림을 푼다. */
.ati-bf { display: block; width: 100%; box-sizing: border-box; margin: 0; padding: 4px 12px; text-align: center; font-size: 12px; line-height: 1.7; font-weight: 400; color: #8b95a1; letter-spacing: -0.2px; word-break: keep-all; }
.ati-bf.ati-bf-app { padding: 24px 10px 8px; }
.ati-bf.ati-bf-page { padding: 20px 16px 28px; }
.ati-bf .ati-bf-line, .ati-bf .ati-bf-links, .ati-bf .ati-bf-copy { margin: 0; padding: 0; font-size: inherit; line-height: inherit; color: inherit; }
.ati-bf .ati-bf-nw { white-space: nowrap; }
.ati-bf .ati-bf-dot { margin: 0 6px; color: #c4cbd3; }
.ati-bf .ati-bf-links { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; margin-top: 2px; }
.ati-bf.ati-bf-fold .ati-bf-links { margin-top: 0; }
.ati-bf .ati-bf-links a { display: inline-block; padding: 10px 2px; color: #6b7684; font-weight: 600; text-decoration: none; }
.ati-bf .ati-bf-links a.ati-bf-privacy { color: #4e5968; font-weight: 800; }
.ati-bf .ati-bf-toggle { display: inline-flex; align-items: center; min-height: 44px; margin: 0; padding: 0 4px; border: 0; background: none; font: inherit; font-weight: 600; color: #6b7684; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.ati-bf .ati-bf-arrow { margin-left: 4px; font-size: 10px; }
.ati-bf .ati-bf-info { padding-bottom: 6px; }
.ati-bf .ati-bf-copy { color: #8b95a1; }
.ati-bf [hidden] { display: none !important; }
.ati-bf.ati-bf-narrow { display: none; }
@media (max-width: 600px) {
    .ati-bf-wide { display: none !important; }
    .ati-bf.ati-bf-narrow { display: block; }
    footer.ati-bf-host { opacity: 1 !important; }
}
/* [10/30] 링크 줄 "이용약관 · 개인정보처리방침 · 사업자 정보 ▾" 는 늘 한 줄 — 줄바꿈 대신 칸이 좁으면 글자·간격을 칸 폭에 맞춰 줄인다
   (최대 12px·최소 10px). 칸 폭 기준(cqi)이라 글꼴이 늦게 도착하거나 화면 폭이 바뀌어도 브라우저가 알아서 다시 맞춘다 — 스크립트로 재지 않음.
   23 = 이 줄이 차지하는 폭(글자 크기의 약 22배)에 여유를 둔 값. 간격·안쪽 여백도 em 이라 글자와 같이 줄어든다. */
.ati-bf { container-type: inline-size; }
.ati-bf .ati-bf-links { flex-wrap: nowrap; white-space: nowrap; font-size: clamp(10px, calc(100cqi / 23), 12px); }
.ati-bf .ati-bf-links .ati-bf-dot { margin: 0 0.5em; }
.ati-bf .ati-bf-links a { padding: 10px 0.17em; }
.ati-bf .ati-bf-links .ati-bf-toggle { padding: 0 0.33em; }
.ati-bf .ati-bf-links .ati-bf-arrow { margin-left: 0.33em; font-size: 0.83em; }
.ati-bf .ati-bf-tglwrap { display: inline-flex; align-items: center; white-space: nowrap; }
/* [11/05] 링크 줄에 환불정책이 늘어 "이용약관 · 개인정보처리방침 · 환불정책 · 사업자 정보 ▾" 4개. 4개 한 줄은 글자 12px 일 때만 들어가므로
   하단 칸 안쪽 폭이 360px 이하면 "사업자 정보 ▾"(앞 구분점 빼고)만 다음 줄 가운데로 내린다. 링크 3개는 그대로 한 줄.
   칸 폭으로만 정해져 글꼴이 늦게 와도 모양이 바뀌지 않는다(스크립트로 재지 않음).
   360 = 실측 4개 한 줄 폭(12px): 애플 고딕 약 295px · Noto 약 307px · 가장 넓은 시험 글꼴 AppleMyungjo 약 355px(361px 칸에서 여유 6px). */
@container (max-width: 360px) {
    .ati-bf .ati-bf-links { flex-wrap: wrap; }
    .ati-bf .ati-bf-tglwrap { flex-basis: 100%; justify-content: center; }
    .ati-bf .ati-bf-tglwrap > .ati-bf-dot { display: none; }
}
/* 칸 폭 단위(cqi)를 모르는 옛 브라우저: 조금 작은 고정 크기 + "사업자 정보 ▾"는 늘 다음 줄(칸 폭을 물을 수 없어 안전한 쪽) */
@supports not (width: 1cqi) {
    .ati-bf .ati-bf-links { font-size: 11px; flex-wrap: wrap; }
    .ati-bf .ati-bf-tglwrap { flex-basis: 100%; justify-content: center; }
    .ati-bf .ati-bf-tglwrap > .ati-bf-dot { display: none; }
}
/* [2026-11-13] 앱 8개 화면의 하단(.ati-bf-app)만 — 시안 App-Footer.html: 위에 얇은 선 · 전부 왼쪽 정렬 · Pretendard 12px.
   PC·손님 화면 하단은 위 규칙 그대로다(아래 규칙은 모두 .ati-bf.ati-bf-app 로 시작).
   · 링크 네 개는 한 줄. 하단 칸 폭이 304px 이하(폭 320 휴대폰 등)면 "사업자 정보 ▾"만 다음 줄로(왼쪽). 칸 폭으로만 정하므로 글꼴이 늦게 와도 줄 수가 바뀌지 않는다.
   · 아주 넓은 대체 글꼴이라 넓은 칸에서도 한 줄에 안 들어가면 "사업자 정보 ▾"가 통째로 다음 줄로 넘어간다(화면 가로 넘침 없음).
     그때 줄 맨 앞에 온 구분점이 보이지 않게: 링크 줄을 구분점 폭(11px)만큼 왼쪽으로 당기고 첫 링크는 그만큼 다시 밀어 둔 뒤, 하단이 왼쪽 끝 밖을 자른다.
     줄 맨 앞에 온 구분점은 그 잘리는 자리에 놓인다. 스크립트로 재지 않는다. */
.ati-bf.ati-bf-app { width: auto; margin: 24px 4px 0; padding: 8px 0 0; border-top: 1px solid #E2E8F0; overflow: hidden; text-align: left; font-family: 'Pretendard', -apple-system, 'Apple SD Gothic Neo', 'Noto Sans KR', sans-serif; font-size: 12px; line-height: 16px; font-weight: 500; color: #64748B; letter-spacing: 0; }
.ati-bf.ati-bf-app * { font-family: inherit; }
.ati-bf.ati-bf-app .ati-bf-dot { margin: 0 4px; color: #94A3B8; }
.ati-bf.ati-bf-app .ati-bf-links { justify-content: flex-start; flex-wrap: wrap; margin: 0 0 0 -11px; font-size: 12px; }
.ati-bf.ati-bf-app .ati-bf-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 2px; color: #64748B; font-weight: 500; }
.ati-bf.ati-bf-app .ati-bf-links a:first-child { margin-left: 11px; padding-left: 0; }
.ati-bf.ati-bf-app .ati-bf-links a.ati-bf-privacy { color: #334155; font-weight: 700; }
.ati-bf.ati-bf-app .ati-bf-tglwrap { flex-basis: auto; justify-content: flex-start; }
.ati-bf.ati-bf-app .ati-bf-tglwrap > .ati-bf-dot { display: inline-block; width: 11px; margin: 0; text-align: center; }
.ati-bf.ati-bf-app .ati-bf-links .ati-bf-toggle { padding: 0 2px; font-size: 12px; font-weight: 500; color: #64748B; }
.ati-bf.ati-bf-app .ati-bf-links .ati-bf-arrow { margin-left: 4px; font-size: 10px; }
.ati-bf.ati-bf-app .ati-bf-info { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 2px 0 12px; line-height: 18px; }
.ati-bf.ati-bf-app .ati-bf-copy { color: #64748B; }
@container (max-width: 304px) {
    .ati-bf.ati-bf-app .ati-bf-tglwrap { flex-basis: 100%; margin-top: -8px; }
    .ati-bf.ati-bf-app .ati-bf-links .ati-bf-toggle { padding-left: 0; }
}
/* [2026-11-19 지시 45] 공개 화면 하단(.ati-bf-more — 손님 화면·로그인 창·약관·처리방침·환불정책)을 앱 하단처럼: 처음엔 링크 줄 + © 만 보이고,
   「사업자 정보 ▾」를 누르면 상호·대표 / 주소 / 전화·이메일 / 사업자등록번호 / 통신판매업신고 / 호스팅제공자 6줄이 한 덩어리로 펼쳐진다. 전부 왼쪽 정렬.
   · 보이는 순서만 바꾼다(HTML 그대로): 링크 줄 0 → 위 3줄 1 → 접는 칸 3줄 2 → © 3.
   · 위 3줄은 접기 스크립트가 돈 상자(ati-bf-js)에서 닫혀 있을 때(ati-bf-open 없음)만 숨긴다 — 스크립트가 안 돌면 6줄이 모두 보인다.
     :has() 는 옛 WebView 가 몰라 쓰지 않는다.
   · 왼쪽 끝 맞추기: 첫 링크의 왼쪽 안쪽 여백 0. 「사업자 정보 ▾」의 왼쪽 안쪽 여백은 바로 앞 구분점의 오른쪽 여백으로 옮겼다(0.5em + 0.33em) —
     같은 줄이면 간격이 그대로이고, 칸 360px 이하·옛 브라우저에서 다음 줄로 내려가면 구분점이 숨어 글자가 첫 링크와 같은 왼쪽 끝에서 시작한다.
     링크 줄은 360px 넘는 칸에서 줄바꿈 금지라 구분점이 줄 맨 앞에 올 일이 없다. */
.ati-bf.ati-bf-more { flex-direction: column; text-align: left; }
.ati-bf.ati-bf-more.ati-bf-page { display: flex; }
@media (max-width: 600px) {
    .ati-bf.ati-bf-more.ati-bf-narrow { display: flex; }
}
.ati-bf.ati-bf-more > .ati-bf-links { order: 0; justify-content: flex-start; }
.ati-bf.ati-bf-more > .ati-bf-line { order: 1; }
.ati-bf.ati-bf-more > .ati-bf-info { order: 2; }
.ati-bf.ati-bf-more > .ati-bf-copy { order: 3; }
.ati-bf.ati-bf-more.ati-bf-js:not(.ati-bf-open) > .ati-bf-line { display: none; }
.ati-bf.ati-bf-more .ati-bf-links a:first-child { padding-left: 0; }
.ati-bf.ati-bf-more .ati-bf-tglwrap { justify-content: flex-start; }
.ati-bf.ati-bf-more .ati-bf-tglwrap > .ati-bf-dot { margin-right: 0.83em; }
.ati-bf.ati-bf-more .ati-bf-links .ati-bf-toggle { padding-left: 0; }
