/* 냥이 점프 전용 스타일 (공통은 ../style.css) */

.best { text-align: center; margin: 0 0 4px; color: var(--muted); }
.best b { color: var(--accent); font-size: 1.4rem; }
.pick-title { text-align: center; margin: 8px 0; font-weight: 700; }
.char-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.char {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 10px;
  border: 2px solid var(--border);
  border-radius: 14px;
}
.char canvas { width: 80px; height: 80px; }
.char small { color: var(--muted); }
.char.on { border-color: var(--accent); background: #fff3c4; box-shadow: 0 0 0 3px rgba(181, 72, 45, 0.15); }
.center { text-align: center; }

.hud {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 10px 0 8px;
  font-weight: 700;
  flex-wrap: wrap;
}
.hud-item { display: inline-flex; align-items: center; gap: 4px; }
.hud-item img { width: 22px; height: 22px; }
.hud-score { color: var(--accent); font-size: 1.15rem; }
.hud button { padding: 4px 10px; }

.stage-wrap { display: flex; justify-content: center; }
#stage {
  display: block;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

.over-score { margin: 4px 0 0; font-size: 2.2rem; font-weight: 800; color: var(--accent); }

.legend { list-style: none; padding-left: 0 !important; }
.legend li { display: flex; align-items: center; gap: 6px; margin: 2px 0; }
.legend img { width: 24px; height: 24px; }

/* 게임 중에는 아래 설명을 숨겨 판에 집중 */
.playing .rules { display: none; }

/* 게임 중에는 화면 어디를 눌러도 스크롤·확대·텍스트 선택이 되지 않게 (터치 이동용) */
body.playing {
  touch-action: none;
  overscroll-behavior: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

