/* 냥냥 배구 전용 스타일 (공통은 ../style.css) */
.court-wrap { display: flex; justify-content: center; }
#court { 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; }
.status { text-align: center; font-weight: 700; margin: 6px 0 8px; }
.pad { display: none; justify-content: space-between; align-items: center; gap: 10px; touch-action: none; user-select: none; -webkit-user-select: none; }
/* 휴대폰: 방향·점프 버튼은 화면 맨 아래에 붙인다 (게임기처럼 양손 엄지로) */
@media (pointer: coarse) {
  /* 맨 아래 끝보다 조금 위(엄지가 편한 높이)에 크게 */
  .pad { display: flex; position: fixed; left: 0; right: 0; bottom: calc(92px + env(safe-area-inset-bottom)); z-index: 5; padding: 0 16px; }
  .pad .pad-btn { height: 104px; min-width: 100px; border-radius: 24px; font-size: 1.9rem; }
  .pad .pad-jump { flex: 1; max-width: 200px; font-size: 1.6rem; }
  body.playing main { padding-bottom: 200px; }
}
.pad-btn { min-width: 76px; height: 64px; border-radius: 18px; font-size: 1.5rem; font-weight: 900; border: 1.5px solid #3a2f2a; background: #fffdf8; color: #3a2f2a; touch-action: none; -webkit-tap-highlight-color: transparent; }
.pad-btn.down { background: #f2cf6b; transform: translateY(1px); }
#padR { margin-right: auto; }
.pad-jump { min-width: 120px; font-size: 1.2rem; background: #f0a868; color: #fff; }
.pad-jump.down { background: #d9774f; }
.controls { display: flex; justify-content: center; gap: 8px; margin-top: 10px; }
body.playing { overscroll-behavior: none; }
body.playing .rules { display: none; }
