/* cull-video.css : the Cull video player (CullVideo.mountPlayer). V4 look: dark, Source Sans 3, Tabler icons, red only on the playhead. */
.cv-player { display: flex; flex-direction: column; gap: 8px; background: var(--panel, #131318); border: 1px solid var(--line, #272730); border-radius: 8px; padding: 8px; color: var(--text, #EDECF2); font-family: 'Source Sans 3', system-ui, sans-serif; font-size: 14px; outline: none; min-width: 0; }
.cv-player:focus-visible { box-shadow: 0 0 0 2px var(--line2, #33333D); }
.cv-stage { position: relative; background: #000; border-radius: 6px; overflow: hidden; aspect-ratio: 16 / 9; min-height: 120px; }
.cv-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000; cursor: pointer; }
.cv-msg { position: absolute; inset: auto 8px 8px 8px; padding: 8px 10px; background: rgba(12, 12, 15, .88); border: 1px solid var(--line2, #33333D); border-radius: 6px; color: var(--text, #EDECF2); }
.cv-msg[hidden] { display: none; }
.cv-scrub { display: flex; flex-direction: column; gap: 2px; }
.cv-tl { width: 100%; height: 40px; display: block; background: var(--surface, #0C0C0F); border-radius: 4px; }
.cv-bar { position: relative; height: 18px; cursor: pointer; touch-action: none; background: var(--panel3, #24242D); border-radius: 3px; }
.cv-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: rgba(237, 236, 242, .16); border-radius: 3px 0 0 3px; }
.cv-range { position: absolute; top: 0; bottom: 0; background: rgba(63, 185, 80, .25); border-left: 1px solid #3FB950; border-right: 1px solid #3FB950; display: none; }
.cv-head { position: absolute; top: -2px; bottom: -2px; width: 2px; margin-left: -1px; background: var(--red, #C8070A); pointer-events: none; }
.cv-mark { position: absolute; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: #3FB950; }
.cv-mark[hidden], .cv-best[hidden] { display: none; }
.cv-best { position: absolute; top: -3px; width: 0; height: 0; margin-left: -4px; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 6px solid #D9A60A; }
.cv-ctl { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.cv-sp { flex: 1 1 8px; }
.cv-btn { display: inline-flex; align-items: center; justify-content: center; min-width: 32px; height: 32px; padding: 0 8px; background: var(--panel2, #1B1B22); border: 1px solid var(--line, #272730); border-radius: 6px; color: var(--text, #EDECF2); font: inherit; font-weight: 600; cursor: pointer; }
.cv-btn:hover { background: var(--panel3, #24242D); }
.cv-btn:focus-visible { outline: 2px solid var(--line2, #33333D); outline-offset: 1px; }
.cv-btn.is-on { border-color: #3FB950; color: #3FB950; }
.cv-btn .ti { font-size: 18px; }
.cv-time, .cv-fps, .cv-marks { font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: 12px; color: var(--dim, #A2A2AE); }
.cv-time { margin-left: 4px; color: var(--text, #EDECF2); }
.cv-vol { width: 72px; accent-color: #8A8A95; }
.cv-foot { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.cv-est { font-size: 12px; color: var(--dim, #A2A2AE); }
@media (max-width: 600px) { .cv-btn { min-width: 44px; height: 44px; } .cv-bar { height: 28px; } .cv-vol { width: 56px; } }
@media (prefers-reduced-motion: reduce) { .cv-player * { transition: none !important; animation: none !important; } }
