/* 아케이드 게임 공통 글자 규칙 — 벳스토아 감싸기 단계(apps/web/scripts/build-arcade.py)가 모든 게임 끝에 붙인다(10-14 사장님 「글자 칸 맞춰서」).
   ui-ux-pro-max: Heading Line Balance(text-wrap balance/pretty, 강제 줄바꿈 금지) · Compact Label Overflow(단추 글자 한 줄).
   한국어 = 낱말 단위 줄바꿈(keep-all) · 일본어 = 띄어쓰기가 없어 keep-all 이면 칸 밖으로 넘친다 → 구절 단위(auto-phrase, 안 되는 브라우저는 normal) */
.card p,.card li,.card h3,.card .lead,.card .note,.card .prev,.card .tip,.rules li{word-break:keep-all;overflow-wrap:break-word;text-wrap:pretty}
.card .lead,.card .note,.card .prev,.card .tip{text-wrap:balance}
:lang(ja) .card p,:lang(ja) .card li,:lang(ja) .card h3,:lang(ja) .card .lead,:lang(ja) .card .note,:lang(ja) .card .prev,:lang(ja) .card .tip,:lang(ja) .rules li,:lang(ja) .stat span{word-break:normal;word-break:auto-phrase;line-break:strict}
.card .btn{white-space:nowrap}
.card .btn>span{min-width:0;overflow:hidden;text-overflow:ellipsis}
.card .btn>.lbl{overflow:visible}
/* 결과 화면 두 단추(다시 하기 · 홈) — 한 줄에 들어가면 나란히, 안 들어가면(긴 언어 · 좁은 폰) 저절로 위아래로 */
.card .btns{display:flex;flex-wrap:wrap;gap:10px}
.card .btns>.btn{flex:1 1 auto;width:auto}
/* 좁은 폰 — 설명 글의 억지 줄바꿈(br)을 끄고 줄 맞춤(balance)에 맡긴다(끝 낱말 외톨이) */
@media (max-width:360px){.card .lead br{display:none}}
