@charset "UTF-8";
/* ==========================================================================
   중문(간체) 페이지 전용 (cn/index.html) - font-noto-sans-sc.css, style.css 다음에 로드
   레이아웃은 style.css 공통, 여기서는 언어별 폰트·줄바꿈·자간만 덮어씀
   ※ 모든 선택자 앞에 .lang-cn (cn/index.html 의 body 클래스) → 다른 언어에 영향 없고 style.css 보다 우선 적용됨
   ========================================================================== */

/* ================================== 폰트 ================================== */
/* 본문 : Noto Sans SC (font-noto-sans-sc.css, 글자 범위별 조각 로드) */
/* 인트로·리뷰 제목 : Paperlogy 대신 MaokenAssortedSans (SIL OFL 1.1) */
/* - 사용 글자만 남긴 서브셋 (문구 변경 시 _tools/subset-maoken.py 재실행) */
/* - 굵기가 1가지라 font-weight 100~900 전체에 같은 파일 지정 → 브라우저가 억지로 굵게 만들지 않음 (강조는 색으로 구분) */
@font-face { font-family: 'MaokenAssortedSans'; font-weight: 100 900; font-display: swap; src: url('../fonts/cn/MaokenAssortedSans.subset.woff2') format('woff2'); }
/* 따옴표(‘ ’ “ ”)만 Poppins 로 대체 : Maoken 따옴표는 전각 폭(0.78em)이라 뒤 문장부호와 간격이 벌어짐 (위 선언보다 뒤에 있어야 우선 적용) */
@font-face { font-family: 'MaokenAssortedSans'; font-weight: 100 900; font-display: swap; src: url('../fonts/Poppins-500.woff2') format('woff2'); unicode-range: U+2018-2019, U+201C-201D; }

.lang-cn {
  --ff-base: 'Poppins', 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --ff-badge: 'Burbank Big Wide', 'Poppins', 'Noto Sans SC', sans-serif;
  --ff-intro: 'MaokenAssortedSans', 'Noto Sans SC', sans-serif;
}
.lang-cn .intro .intro__tit,
.lang-cn .intro .intro__desc,
.lang-cn .review .review__tit { font-synthesis: none; }

/* ================================== 줄바꿈 ================================== */
/* keep-all 은 띄어쓰기 없는 중국어를 한 줄로 이어 붙여 화면 밖으로 넘치게 함 → 기본값 */
/* line-break: strict → 문장부호(，。！ 등)가 줄 맨 앞에 오지 않도록 */
body.lang-cn { word-break: normal; line-break: strict; overflow-wrap: break-word; }

/* ================================== 자간 ================================== */
/* 한국어 기준 좁은 자간은 정사각형 한자에서 글자가 붙어 보임 → 해제 (중문 문구 적용 후 시안에 맞춰 조정) */
.lang-cn .intro .intro__world,
.lang-cn .intro .intro__one,
.lang-cn .intro .intro__desc,
.lang-cn .story .story__desc p,
.lang-cn .review .review__tit,
.lang-cn .review .review__body,
.lang-cn .review .review__src { letter-spacing: 0; }

/* ================================== Footer 주소 ================================== */
@media (max-width: 440px) {
  /* 국문(16px)보다 약간 작게 */
  .lang-cn .footer .footer__info { font-size: 14px; }
}


/* ================================== Intro ================================== */
@media (max-width: 440px) {
  .lang-cn .intro .intro__world {margin-top:0;}
  .lang-cn .intro .intro__desc {letter-spacing: -0.05em;}
}

/* ================================== Visual ================================== */
/* 메인 비주얼 오브젝트 : 문구를 중문으로 바꾼 이미지 (_tools/localize-images.py 로 생성) */
.lang-cn .visual .visual__img::after { background-image: url('../img/cn/hero_obj.webp'); }
@media (max-width: 767px) {
  .lang-cn .visual .visual__img::after { background-image: url('../img/cn/hero_obj_mo.webp'); }
}
