/* 언어별 배치 보정 (src/i18n, 2026-11-11). 영어 문구가 한국어보다 길어 넘치는 곳만 :lang(en)으로 고친다.
   pixel.css 다음에 불러 덮는다. 한국어 화면은 바뀌지 않는다. */

/* 유닛 고르기 카드 이름: 한 줄 말줄임 대신 두 줄까지 (Storm Gryphon Rider 등) */
html:lang(en) .pick-card .name { white-space: normal; text-overflow: clip; overflow: visible; line-height: 1.15; min-height: 2.3em; display: flex; align-items: center; justify-content: center; overflow-wrap: anywhere; }

/* 가로 폰(낮은 화면): 영어 유닛 설명이 길어 화면 높이(390px)를 넘었다 → 창을 넓혀 줄 수를 줄인다 */
@media (max-height: 560px) { html:lang(en) .unit-tip { width: min(390px, calc(100vw - 16px)); } }

/* 편성판 머리줄의 작은 'Front' 글자가 칸보다 3px 넓어 가운데 정렬로 양쪽에 나눠 넘친다 */
html:lang(en) .grid-front { display: flex; justify-content: center; text-align: center; overflow: visible; white-space: nowrap; }

/* 멀티 대기실 컴퓨터 자리의 종족·난이도 고르기: 고정 폭(5.6em)에 Random/Normal이 잘려 내용 폭으로 */
html:lang(en) .lobby-players .bot-controls select { width: 6.6em; padding: 0 0.15em; }
