/* 패널 1115 작업 A: 문제(전투) 화면의 배치·단추. 앞 파일들 규칙 위에 덮어쓰는 작은 규칙만 둔다. */

/* ① 낮은 화면(높이 700 이하, 360×640)에서 1~2학년 보기·조각이 아래 줄에 가리지 않게: 무대와 보기 칸을 조금 낮춘다(정책서 11절 보기 칸 60 이상은 지킨다) */
@media (max-height: 700px) and (max-width: 699px) {
  html[data-band="1-2"] .screen.learn[data-screen="battle"]:is([data-phase="ask"], [data-phase="retry"]):not([data-phase="result"]) { --bt-stage-h: 108px; --bt-mon: 60px; }
  html[data-band="1-2"] .screen.learn[data-screen="battle"] .learn-choice { min-height: 60px; }
}

/* ② 문제 번호 줄은 이 화면의 제목(h1)이지만 보이는 모양은 그대로 */
h1.learn-count { margin: 0; font-family: inherit; line-height: inherit; text-wrap: nowrap; }

/* ④ '이상해요'는 문제 카드 아래 오른쪽 끝에 작게(누르는 칸 48, 보이는 칸 32). 위 오른쪽에 떠 있으면 문제 글 첫 줄 폭을 먹어 글이 일찍 꺾였다 */
.learn-report.is-corner { float: none; display: flex; justify-content: flex-end; margin: -4px -8px -14px 0; }
