/* 왜: GCS HTML5 비디오 플레이어 스타일 — 16:9 반응형 + 보안 */

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
  width: 100%;
  height: 100%;
  background: #000;
  overflow: hidden;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.vp-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
}

.vp-container video,
.vp-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  outline: none;
}

/* 왜: 다운로드 방지 — 우클릭, 드래그 차단 */
.vp-container video {
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

/* 왜: 워터마크 — 반투명, 주기적 표시, 조작 불가 */
.vp-watermark {
  position: absolute;
  top: 16px;
  right: 20px;
  color: rgba(255, 255, 255, 0.35);
  font-size: 12px;
  font-family: 'Courier New', monospace;
  letter-spacing: 1px;
  pointer-events: none;
  user-select: none;
  z-index: 10;
  opacity: 1;
  transition: opacity 1s ease;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

/* 왜: iOS safe-area 대응 */
@supports (padding: env(safe-area-inset-top)) {
  .vp-container {
    padding-top: env(safe-area-inset-top);
    padding-bottom: env(safe-area-inset-bottom);
  }
}

video::-webkit-media-controls-fullscreen-button { display: block; }
video::cue { font-size: 14px; }
