/* H67 Video Player - Reusable Component */
.h67-video-section {
    margin: 16px 0 20px;
    font-family: Inter, -apple-system, sans-serif;
}
.h67-video-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}
.h67-video-header h3 {
    font-size: 16px;
    font-weight: 700;
    color: #111827;
    margin: 0;
}
.h67-video-header .h67-vid-count {
    background: #f3f4f6;
    color: #6b7280;
    font-size: 12px;
    font-weight: 600;
    padding: 2px 10px;
    border-radius: 12px;
}
/* Main player area */
.h67-video-player {
    position: relative;
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    background: #000;
}
.h67-video-player video {
    width: 100%;
    display: block;
    max-height: 520px;
    background: #000;
    cursor: pointer;
}
/* Custom controls bar */
.h67-vctrl {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    background: #1a1a1a;
    color: #fff;
    font-size: 13px;
    font-family: Inter, -apple-system, sans-serif;
    user-select: none;
}
.h67-vctrl button {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 2px;
    display: flex;
    align-items: center;
}
.h67-vctrl button:hover { color: #c084fc; }
.h67-vctrl button svg { width: 20px; height: 20px; }
.h67-vctrl-time {
    font-size: 12px;
    font-variant-numeric: tabular-nums;
    color: #d1d5db;
    white-space: nowrap;
    min-width: 80px;
}
.h67-vctrl-progress {
    flex: 1;
    height: 20px;
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
}
.h67-vctrl-progress-track {
    position: absolute;
    left: 0;
    right: 0;
    height: 4px;
    background: #374151;
    border-radius: 2px;
}
.h67-vctrl-progress-bar {
    position: absolute;
    left: 0;
    height: 4px;
    background: #8a3995;
    border-radius: 2px;
    width: 0%;
    pointer-events: none;
}
.h67-vctrl-scrubber {
    position: absolute;
    left: 0%;
    width: 10px;
    height: 10px;
    background: #fff;
    border-radius: 50%;
    transform: translateX(-50%) scale(0);
    box-shadow: 0 0 2px rgba(0,0,0,0.5);
    pointer-events: none;
    opacity: 0;
    transition: transform 0.15s, opacity 0.15s;
}
.h67-vctrl-progress.dragging .h67-vctrl-scrubber {
    transform: translateX(-50%) scale(1);
    opacity: 1;
}
.h67-vctrl-vol {
    display: flex;
    align-items: center;
    gap: 4px;
}
.h67-vctrl-vol input[type=range] {
    width: 60px;
    height: 4px;
    -webkit-appearance: none;
    appearance: none;
    background: #374151;
    border-radius: 2px;
    outline: none;
    cursor: pointer;
}
.h67-vctrl-vol input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
}
@media (max-width: 575px) {
    .h67-vctrl { gap: 6px; padding: 6px 8px; }
    .h67-vctrl-vol input[type=range] { width: 40px; }
}
/* Thumbnail strip */
.h67-video-thumbs {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
}
.h67-video-thumb {
    position: relative;
    flex-shrink: 0;
    width: 140px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s;
    background: #f3f4f6;
}
.h67-video-thumb:hover { border-color: #8a3995; }
.h67-video-thumb.active { border-color: #8a3995; box-shadow: 0 0 0 2px rgba(138,57,149,0.2); }
.h67-video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.h67-video-thumb-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.h67-video-thumb:hover .h67-video-thumb-overlay { background: rgba(0,0,0,0.15); }
.h67-video-thumb-overlay svg {
    width: 28px;
    height: 28px;
    color: #fff;
    filter: drop-shadow(0 1px 3px rgba(0,0,0,0.4));
}
.h67-video-thumb-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 3px 6px;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    font-size: 11px;
    font-weight: 500;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.h67-video-thumb-duration {
    position: absolute;
    top: 4px;
    right: 4px;
    padding: 1px 5px;
    background: rgba(0,0,0,0.7);
    color: #fff;
    border-radius: 3px;
    font-size: 10px;
    font-weight: 600;
}
/* Single video -- no thumbstrip */
.h67-video-section.single-video .h67-video-thumbs { display: none; }
