/* 짝! SLAP CLUB 다섯 언어 덧씌움 CSS(11-23 10F). 빌드 때 다섯 HTML에 연결된다. */
/* 언어 고르는 작은 목록. 단추 자리·크기는 그대로 두고 목록만 덧댄다. */
/* 10F: 목록은 body 바로 아래에 붙는다(fixed, 자리 잡기는 slap-i18n.mjs).
   게임 상단줄(.hud)은 쌓임 맥락(z6)이라 안에 두면 z-index가 갇혀
   시작 카드(z8) 뒤에 깔린다. 카드(z8)·수상 띠(z9)·소개 상단줄(z10)
   위, 시험 광고 가림막(z50) 아래에 뜨게 40으로 둔다. */
.sl5-wrap{position:relative;display:inline-flex}
.sl5-menu{position:fixed;z-index:40;min-width:148px;max-width:calc(100vw - 16px);
 max-height:min(60dvh,320px);overflow-y:auto;overscroll-behavior:contain;
 padding:6px;border:3px solid #25102f;border-radius:14px;background:#fff5df;color:#25102f;
 box-shadow:4px 5px 0 #25102f}
.sl5-menu[hidden]{display:none}
/* 항목은 스스로 크림 바탕+진한 글자(원본 header button보다 센 선택자).
   크림 #fff5df+진밤 #25102f ≈16:1, 고른 노랑 #ffdb41 ≈13:1(4.5 이상). */
.sl5-menu.sl5-menu .sl5-item.sl5-item{display:flex;align-items:center;width:100%;min-height:44px;
 padding:8px 12px;border:0;border-radius:9px;background:#fff5df;color:#25102f;
 font-weight:800;font-size:15px;text-align:left}
.sl5-menu.sl5-menu .sl5-item.sl5-item[aria-checked="true"]{background:#ffdb41}
.sl5-item:focus-visible{outline:3px solid #4fb4ff;outline-offset:1px}
/* 중국어 글꼴 순서(캔버스는 slap-i18n.mjs canvasFontStack). */
html[lang="zh-Hans"]{--font:"PingFang SC","Noto Sans SC","Noto Sans CJK SC",system-ui,-apple-system,"Segoe UI",sans-serif;
 --display:"PingFang SC","Noto Sans SC",system-ui,sans-serif}
html[lang="zh-Hant"]{--font:"PingFang TC","Noto Sans TC","Noto Sans CJK TC",system-ui,-apple-system,"Segoe UI",sans-serif;
 --display:"PingFang TC","Noto Sans TC",system-ui,sans-serif}
/* 스페인어는 길어서 넘치는 자리만 조금 줄인다(필살기 이름·HUD·카드·결과). */
html[lang="es"] .hand b{font-size:11px}
html[lang="es"] .char small{font-size:10px}
html[lang="es"] .meter small{font-size:9px;letter-spacing:-.2px}
html[lang="es"] .pop-text{white-space:normal;max-width:86vw;text-align:center}
html[lang="es"] .bubble{font-size:14px}
html[lang="es"] .cta{font-size:19px}
html[lang="es"] .grade{font-size:21px}
html[lang="es"] .diff small{font-size:10px}
html[lang="es"] .helpline{font-size:13px}
html[lang="es"] .tcell{font-size:11px}
/* 10F: es 게임 첫 화면 — 기울어진 제목(¡SLAP!) 아래쪽이 부제를 덮어서
   제목 아래 간격을 벌린다. ko·en은 그대로, zh(拍!)는 내림 글자 없어 그대로. */
html[lang="es"] #startCard h1{margin-bottom:12px}
/* 12-01 AS: 소개 첫 화면 App Store 배지 한 개(주 단추 아래).
   보는 언어의 배지 한 장만 보인다(짝 언어 방식: html lang). */
.sl5-store{margin:14px 0 0;text-align:center}
.sl5-badge{display:inline-block;line-height:0;border-radius:10px}
.sl5-badge img{height:40px;width:auto}
.sl5-badge img[lang]{display:none}
html[lang="ko"] .sl5-badge img[lang="ko"]{display:inline-block}
html[lang="en"] .sl5-badge img[lang="en"]{display:inline-block}
html[lang="zh-Hans"] .sl5-badge img[lang="zh-Hans"]{display:inline-block}
html[lang="zh-Hant"] .sl5-badge img[lang="zh-Hant"]{display:inline-block}
html[lang="es"] .sl5-badge img[lang="es"]{display:inline-block}
