/* 긴 번역은 카드·말풍선 안에서 줄바꿈한다. 한국어 배치는 그대로 둔다. */
html:not([lang=ko]) .guide-page .wrap > *,
html:not([lang=ko]) .guide-page .host > p { min-width: 0; }
html:not([lang=ko]) .guide-page .zlist a { grid-template-columns: minmax(0, 1fr); }
html:not([lang=ko]) .guide-page :is(h1, h2, h3, p, a) { overflow-wrap: anywhere; }
/* 열 제목과 첫 열의 줄바꿈 금지를 풀어 영문 표도 모바일 폭에 맞춘다. */
html:not([lang=ko]) .guide-page .tbl :is(th, td) { white-space: normal; overflow-wrap: break-word; }
html:not([lang=ko]) .guide-page .tbl .ico { min-width: 40px; }
/* 로더가 준비한 언어별 글꼴을 본문과 제목에도 쓴다. */
html[lang=ja] .guide-page { --guide-font: "Noto Sans JP", sans-serif; }
html[lang=zh-TW] .guide-page { --guide-font: "Noto Sans TC", sans-serif; }
html[lang=th] .guide-page { --guide-font: "Noto Sans Thai", sans-serif; }
html[lang=vi] .guide-page { --guide-font: "Noto Sans", sans-serif; }
html:not([lang=ko]) .guide-page { font-family: var(--guide-font, system-ui, sans-serif); }
html:not([lang=ko]) .guide-page :is(h1, h2, .zlist b, .cta b) { font-family: inherit; }
/* 여섯 열을 억지로 줄이지 않고 열 이름이 있는 두 칸 카드로 바꾼다. */
@media (max-width: 500px) {
  html:not([lang=ko]) .guide-page .guide-units,
  html:not([lang=ko]) .guide-page .guide-units tbody { display: block; }
  html:not([lang=ko]) .guide-page .guide-units thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  html:not([lang=ko]) .guide-page .guide-units tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 14px; margin-bottom: 12px; border-radius: 16px; background: var(--surface); }
  html:not([lang=ko]) .guide-page .guide-units td { display: block; min-width: 0; padding: 0; border: 0; }
  html:not([lang=ko]) .guide-page .guide-units td:nth-child(-n+2) { grid-column: 1 / -1; }
  html:not([lang=ko]) .guide-page .guide-units td::before { content: attr(data-label); display: block; margin-bottom: 4px; color: var(--sub); font-size: 12px; }
}
