/* ========== wsh_video_player.css — WSH 전용 동영상 플레이어 (2026-06-08 UI refresh) ========== */
.wsh-vp { --wsh-vp-accent: #22d3ee; --wsh-vp-accent-soft: rgba(34, 211, 238, 0.35); --wsh-vp-glass: rgba(8, 12, 22, 0.62); --wsh-vp-glass-strong: rgba(6, 10, 18, 0.88); --wsh-vp-border: rgba(255, 255, 255, 0.1); --wsh-vp-text: #f1f5f9; --wsh-vp-muted: #94a3b8; position: relative; width: 100%; height: 100%; overflow: visible; background: #000; box-sizing: border-box; margin: 0; padding: 0; line-height: normal; font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.wsh-vp.zine-video-player { width: 100%; height: 100%; }
.wsh-vp__media { position: absolute; inset: 0; z-index: 1; overflow: hidden; border-radius: inherit; }
.wsh-vp__iframe, .wsh-vp__video { display: block; width: 100%; height: 100%; border: 0; margin: 0; padding: 0; box-sizing: border-box; }
.wsh-vp__video { object-fit: cover; }
.wsh-vp__chrome { position: absolute; left: 0; right: 0; bottom: 0; z-index: 4; padding: 0 10px 10px; box-sizing: border-box; opacity: 0; pointer-events: none; transform: translateY(6px); transition: opacity 0.32s cubic-bezier(0.4, 0, 0.2, 1), transform 0.32s cubic-bezier(0.4, 0, 0.2, 1); overflow: visible; }
.wsh-vp__chrome-inner { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 14px; border: 1px solid var(--wsh-vp-border); background: linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%), var(--wsh-vp-glass); backdrop-filter: blur(16px) saturate(160%); -webkit-backdrop-filter: blur(16px) saturate(160%); box-shadow: 0 12px 32px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.08); box-sizing: border-box; }
.wsh-vp:hover .wsh-vp__chrome, .wsh-vp.wsh-vp--chrome-visible .wsh-vp__chrome { opacity: 1; pointer-events: auto; transform: translateY(0); }
.wsh-vp.wsh-vp--playing.wsh-vp--chrome-auto-hidden:not(:hover):not(.wsh-vp--chrome-visible) .wsh-vp__chrome { opacity: 0; pointer-events: none; transform: translateY(10px); }
.wsh-vp--no-chrome .wsh-vp__chrome { display: none !important; }
.wsh-vp__btn { flex-shrink: 0; width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--wsh-vp-border); border-radius: 50%; background: rgba(255, 255, 255, 0.06); color: var(--wsh-vp-text); cursor: pointer; transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease; padding: 0; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06); }
.wsh-vp__btn:hover { background: rgba(34, 211, 238, 0.18); color: #fff; border-color: rgba(34, 211, 238, 0.45); box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.1); transform: scale(1.04); }
.wsh-vp__btn:active { transform: scale(0.96); }
.wsh-vp__btn i { font-size: 13px; line-height: 1; pointer-events: none; }
.wsh-vp__btn--play i { margin-left: 1px; }
.wsh-vp__time { flex-shrink: 0; min-width: 72px; font-size: 11px; font-weight: 600; color: var(--wsh-vp-muted); letter-spacing: 0.03em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.wsh-vp__time-cur { color: var(--wsh-vp-text); }
.wsh-vp__time-sep { opacity: 0.45; margin: 0 1px; }
.wsh-vp__progress { flex: 1 1 auto; min-width: 56px; height: 18px; display: flex; align-items: center; padding: 0 2px; cursor: pointer; touch-action: none; }
.wsh-vp__progress-rail { position: relative; width: 100%; height: 4px; border-radius: 999px; background: rgba(255, 255, 255, 0.14); overflow: visible; transition: height 0.18s ease; }
.wsh-vp__progress:hover .wsh-vp__progress-rail, .wsh-vp__progress:focus-within .wsh-vp__progress-rail { height: 6px; }
.wsh-vp__progress-bar { display: block; position: relative; height: 100%; width: 0%; border-radius: 999px; background: linear-gradient(90deg, #06b6d4 0%, #22d3ee 55%, #67e8f9 100%); box-shadow: 0 0 12px var(--wsh-vp-accent-soft); transition: width 0.12s linear; }
.wsh-vp__progress-bar::after { content: ''; position: absolute; right: 0; top: 50%; width: 12px; height: 12px; margin-top: -6px; margin-right: -6px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 2px rgba(34, 211, 238, 0.5), 0 2px 8px rgba(0, 0, 0, 0.35); opacity: 0; transform: scale(0.6); transition: opacity 0.18s ease, transform 0.18s ease; pointer-events: none; }
.wsh-vp__progress:hover .wsh-vp__progress-bar::after, .wsh-vp__progress:focus-within .wsh-vp__progress-bar::after { opacity: 1; transform: scale(1); }
.wsh-vp[data-wsh-vp-tracking="1"] .wsh-vp__progress--idle .wsh-vp__progress-bar, .wsh-vp.wsh-vp--playing .wsh-vp__progress--idle .wsh-vp__progress-bar { width: 0%; animation: none; }
.wsh-vp__progress--idle .wsh-vp__progress-bar { width: 35%; animation: wsh-vp-progress-pulse 1.4s ease-in-out infinite; }
@keyframes wsh-vp-progress-pulse { 0%, 100% { opacity: 0.35; } 50% { opacity: 0.95; } }
.wsh-vp__volume-wrap { position: relative; flex-shrink: 0; width: 34px; height: 34px; overflow: visible; }
.wsh-vp__volume-wrap::before { content: ''; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: 44px; height: 128px; pointer-events: auto; z-index: 0; }
.wsh-vp__volume-panel { position: absolute; left: 50%; bottom: 38px; width: 38px; height: 92px; padding: 10px 8px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--wsh-vp-border); border-radius: 14px; background: linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.02) 100%), var(--wsh-vp-glass-strong); backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%); box-shadow: 0 14px 36px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 0.22s ease, visibility 0.22s ease, transform 0.22s cubic-bezier(0.4, 0, 0.2, 1); transform: translateX(-50%) translateY(8px) scale(0.96); z-index: 2; box-sizing: border-box; }
.wsh-vp__volume-wrap:hover .wsh-vp__volume-panel, .wsh-vp__volume-wrap:focus-within .wsh-vp__volume-panel, .wsh-vp__volume-wrap.wsh-vp__volume-wrap--open .wsh-vp__volume-panel { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0) scale(1); }
.wsh-vp__volume-wrap .wsh-vp__btn--mute { position: relative; z-index: 1; }
.wsh-vp__volume { width: 72px; height: 4px; margin: 0; padding: 0; cursor: pointer; accent-color: var(--wsh-vp-accent); background: transparent; transform: rotate(-90deg); transform-origin: center center; -webkit-appearance: none; appearance: none; position: relative; z-index: 1; }
.wsh-vp__volume::-webkit-slider-runnable-track { height: 4px; border-radius: 999px; background: rgba(255, 255, 255, 0.2); }
.wsh-vp__volume::-webkit-slider-thumb { -webkit-appearance: none; width: 12px; height: 12px; margin-top: -4px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 0 0 2px rgba(34, 211, 238, 0.55), 0 2px 6px rgba(0, 0, 0, 0.3); }
.wsh-vp__volume::-moz-range-track { height: 4px; border-radius: 999px; background: rgba(255, 255, 255, 0.2); border: 0; }
.wsh-vp__volume::-moz-range-thumb { width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 0 0 2px rgba(34, 211, 238, 0.55), 0 2px 6px rgba(0, 0, 0, 0.3); }
.wsh-vp__placeholder, .wsh-vp__error { position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; justify-content: center; padding: 16px; text-align: center; font-size: 11px; font-weight: 600; box-sizing: border-box; letter-spacing: 0.02em; }
.wsh-vp__placeholder { color: var(--wsh-vp-muted); background: radial-gradient(ellipse at center, rgba(15, 23, 42, 0.95) 0%, rgba(0, 0, 0, 0.98) 100%); }
.wsh-vp__error { color: #fda4af; background: radial-gradient(ellipse at center, rgba(40, 10, 18, 0.92) 0%, rgba(0, 0, 0, 0.96) 100%); }
.wsh-vp--background { position: absolute; inset: 0; width: 100%; height: 100%; overflow: hidden; }
.wsh-vp__poster { position: absolute; inset: 0; z-index: 3; display: flex; align-items: center; justify-content: center; background: #070a13; cursor: pointer; overflow: hidden; }
.wsh-vp__poster-vignette { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(ellipse at center, transparent 35%, rgba(0, 0, 0, 0.55) 100%), linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, transparent 35%, rgba(0, 0, 0, 0.45) 100%); }
.wsh-vp__poster-img { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.88; pointer-events: none; transform: scale(1.02); transition: transform 0.45s ease, opacity 0.35s ease; }
.wsh-vp__poster:hover .wsh-vp__poster-img { transform: scale(1.06); opacity: 0.95; }
.wsh-vp__center-play { position: relative; z-index: 2; width: 64px; height: 64px; border: 0; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: linear-gradient(145deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.08) 100%); color: #fff; box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.35); cursor: pointer; transition: transform 0.22s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.22s ease; padding: 0; padding-left: 4px; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.wsh-vp__center-play-ring { position: absolute; inset: -8px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.28); opacity: 0.85; animation: wsh-vp-play-ring 2.4s ease-out infinite; pointer-events: none; }
.wsh-vp__center-play-ring::after { content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid rgba(34, 211, 238, 0.35); opacity: 0; animation: wsh-vp-play-ring 2.4s ease-out 0.6s infinite; }
@keyframes wsh-vp-play-ring { 0% { transform: scale(0.92); opacity: 0.75; } 70% { transform: scale(1.18); opacity: 0; } 100% { transform: scale(1.18); opacity: 0; } }
.wsh-vp__center-play:hover { transform: scale(1.08); box-shadow: 0 12px 40px rgba(34, 211, 238, 0.28), 0 8px 32px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.4); }
.wsh-vp__center-play:active { transform: scale(0.98); }
.wsh-vp__center-play i { font-size: 22px; line-height: 1; pointer-events: none; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.35)); }
.wsh-vp.wsh-vp--playing .wsh-vp__poster { display: none !important; }
.wsh-vp--editor .wsh-vp__media, .wsh-vp--editor .wsh-vp__iframe, .wsh-vp--editor .wsh-vp__video { pointer-events: none; }
.wsh-vp--editor .wsh-vp__poster { pointer-events: none; cursor: default; }
.wsh-vp--editor .wsh-vp__center-play { pointer-events: none; }
.wsh-vp--editor .wsh-vp__chrome { pointer-events: none; opacity: 0 !important; }
.wsh-vp__swipe-pass { position: absolute; inset: 0; z-index: 3; background: transparent; touch-action: pan-y pinch-zoom; pointer-events: auto; }
.wsh-vp--viewer-swipe .wsh-vp__iframe, .wsh-vp--viewer-swipe .wsh-vp__video { pointer-events: none !important; }
.wsh-vp--viewer-swipe .wsh-vp__chrome, .wsh-vp--viewer-swipe .wsh-vp__swipe-pass { pointer-events: auto; touch-action: manipulation; }
/* 2026-06-08: 모바일 — 터치 영역·가독성 확대 */
@media (max-width: 599px) {
.wsh-vp__chrome { padding: 0 8px 8px; }
.wsh-vp__chrome-inner { gap: 6px; padding: 7px 8px; border-radius: 12px; }
.wsh-vp__btn { width: 38px; height: 38px; touch-action: manipulation; }
.wsh-vp__btn i { font-size: 14px; }
.wsh-vp__time { min-width: 68px; font-size: 10px; }
.wsh-vp__progress { min-width: 44px; height: 22px; }
.wsh-vp__progress-rail { height: 5px; }
.wsh-vp__progress:hover .wsh-vp__progress-rail { height: 7px; }
.wsh-vp__progress-bar::after { width: 14px; height: 14px; margin-top: -7px; margin-right: -7px; opacity: 1; transform: scale(1); }
.wsh-vp__volume-wrap { width: 38px; height: 38px; touch-action: manipulation; }
.wsh-vp__volume-wrap::before { width: 48px; height: 136px; }
.wsh-vp__volume-panel { bottom: 42px; width: 42px; height: 96px; padding: 10px 9px; }
.wsh-vp__volume { width: 76px; height: 5px; }
.wsh-vp__volume::-webkit-slider-runnable-track { height: 5px; }
.wsh-vp__volume::-webkit-slider-thumb { width: 14px; height: 14px; margin-top: -4.5px; }
.wsh-vp__volume::-moz-range-track { height: 5px; }
.wsh-vp__volume::-moz-range-thumb { width: 14px; height: 14px; }
.wsh-vp__center-play { width: 72px; height: 72px; }
.wsh-vp__center-play i { font-size: 24px; }
}
/* ========== wsh_video_player.css 끝 ========== */
