/* 그림 위 글자 층 — 글자를 지운 바탕 그림 위에 원래 자리·색·굵기로 그 언어 글자를 얹는다.
   글자 크기는 층 폭 대비(cqw)라 그림이 줄면 함께 준다. 자리는 그림 픽셀 대비 % 다. */
.imgtx {
  position: absolute; top: 0; left: 0; display: block; width: 100%; aspect-ratio: var(--ar);
  container-type: inline-size; direction: ltr; pointer-events: none; visibility: hidden;
  margin: 0; padding: 0; line-height: normal; text-align: left;
}
img + .imgtx.is-on, picture ~ .imgtx.is-on { visibility: visible; }
.imgtx > .imgtx-t {
  position: absolute; display: flex; align-items: center; box-sizing: border-box;
  margin: 0; padding: 0; border: 0; background: none;
  font-family: 'Pretendard', 'Noto Sans', 'Noto Sans JP', 'Noto Sans SC', 'Noto Sans Thai', 'Noto Sans Arabic', 'Apple SD Gothic Neo', sans-serif;
  font-size: max(var(--min, 0px), calc(var(--fs) * 1cqw * var(--fit, 1))); line-height: var(--lh); letter-spacing: 0;
  white-space: pre-line; word-break: normal; overflow-wrap: anywhere; unicode-bidi: plaintext; text-shadow: none; overflow: visible;
}
