.vfhls-player-wrap {
    max-width: 720px;
    margin: 20px auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.vfhls-player-wrap video {
    width: 100%;
    height: auto;
    border-radius: 8px;
    background: #000;
    display: block;
}
/* Hero mode — full-width, cover-fit, no border radius, no max-width. */
.vfhls-player-wrap--hero {
    max-width: 100%;
    margin: 0;
}
.vfhls-player-wrap--hero video {
    width: 100%;
    height: 100%;
    min-height: 100%;
    border-radius: 0;
    object-fit: cover;
    display: block;
}
.vfhls-processing {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 32px 24px;
    text-align: center;
}
.vfhls-processing-icon {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 3px solid #e9ecef;
    border-top-color: #2271b1;
    border-radius: 50%;
    animation: vfhls-spin 0.8s linear infinite;
    margin-bottom: 16px;
}
@keyframes vfhls-spin {
    to { transform: rotate(360deg); }
}
.vfhls-processing p {
    margin: 0 0 12px;
    color: #495057;
    font-size: 15px;
}
.vfhls-processing .vfhls-pct {
    font-size: 24px;
    font-weight: 700;
    color: #1d2327;
    margin-bottom: 12px;
}
.vfhls-bar-bg {
    background: #e9ecef;
    border-radius: 8px;
    height: 10px;
    overflow: hidden;
    max-width: 360px;
    margin: 0 auto;
}
.vfhls-bar-fill {
    height: 100%;
    border-radius: 8px;
    background: linear-gradient(90deg, #2271b1, #135e96);
    transition: width 0.5s ease;
}
.vfhls-error {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 8px;
    padding: 24px;
    text-align: center;
    color: #721c24;
}
.vfhls-gallery {
    display: grid;
    grid-template-columns: repeat(var(--vfhls-cols, 2), 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}
.vfhls-gallery-item {
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.15);
    transition: transform 0.2s, box-shadow 0.2s;
}
.vfhls-gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}
.vfhls-gallery-item video {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 16/9;
    object-fit: cover;
}
.vfhls-gallery-item .vfhls-gallery-title {
    padding: 12px 16px;
    background: #1d2327;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
}
@media (max-width: 768px) {
    .vfhls-gallery { grid-template-columns: 1fr; }
}
