/* BEANPOLE iPad 루프 플레이어 — 공통 스타일 */
html, body {
  margin: 0; padding: 0; width: 100%; height: 100%;
  background: #000; overflow: hidden; overscroll-behavior: none;
  -webkit-user-select: none; user-select: none;
  -webkit-touch-callout: none; -webkit-tap-highlight-color: transparent;
  touch-action: none;
}
#player {
  position: fixed; inset: 0;
  width: 100vw; height: 100vh; height: 100dvh;
  object-fit: var(--fit, cover); background: #000;
  pointer-events: none;
}
/* iOS 기본 재생 버튼·컨트롤 숨김 */
#player::-webkit-media-controls,
#player::-webkit-media-controls-start-playback-button { display: none !important; -webkit-appearance: none; }

#boot {
  position: fixed; inset: 0; z-index: 10; background: #000;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
  font: 500 15px/1.4 -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  color: #8a8a8a; letter-spacing: .12em; transition: opacity .6s ease;
}
#boot.hidden { opacity: 0; pointer-events: none; }
#boot-title { color: #e8e8e8; font-size: 20px; letter-spacing: .3em; }
#boot-bar { width: 240px; height: 2px; background: #222; overflow: hidden; }
#boot-fill { width: 0; height: 100%; background: #cfcfcf; transition: width .2s linear; }

/* 관리용: 좌상단 모서리 3초 길게 누르기 → 새로고침 (관람객 눈에는 안 보임) */
#admin-corner { position: fixed; left: 0; top: 0; width: 90px; height: 90px; z-index: 20; }

/* ?debug 로 접속하면 상태 표시 */
#debug {
  position: fixed; left: 12px; bottom: 12px; z-index: 30; display: none;
  font: 12px/1.5 ui-monospace, Menlo, monospace; color: #0f0; background: rgba(0,0,0,.7);
  padding: 8px 10px; white-space: pre; pointer-events: none;
}
#debug.show { display: block; }
