/* ═══════════════════════════════════════════════════════════
   VIDEO LIST LAYOUT (VLL) DESIGN SYSTEM
   ═══════════════════════════════════════════════════════════ */

/* ══ TOKENS ══════════════════════════════════════════════════ */
:root {
    --vll-bg:       #f0f3f8;
    --vll-surface:  #ffffff;
    --vll-surface2: #e8eef8;
    --vll-border:   rgba(26,92,191,0.10);
    --vll-border2:  rgba(26,92,191,0.18);
    --vll-blue:     #1a5cbf;
    --vll-blue-dk:  #1448a0;
    --vll-blue-lt:  #dce8fb;
    --vll-blue-xl:  #eef4fd;
    --vll-text:     #111827;
    --vll-text2:    #374151;
    --vll-muted:    #6b7280;
    --vll-red:      #c8263a;
    --vll-green:    #16803c;
    --vll-shadow:   0 1px 3px rgba(26,92,191,0.08), 0 4px 16px rgba(26,92,191,0.06);
    --vll-shadow-lg:0 8px 32px rgba(26,92,191,0.12), 0 2px 8px rgba(26,92,191,0.06);
}

/* ══ SHELL ═══════════════════════════════════════════════════ */
.vll-shell {
    background: var(--vll-bg);
    height: 100%;
    display: flex;
    flex-direction: column;
    font-family: 'Geist', 'Plus Jakarta Sans', 'Roboto', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: var(--vll-text);
    overflow: hidden;
}
.vll-inner {
    flex: 1;
    min-height: 0;
    display: flex;
    align-items: stretch;
}

/* ══ MOBILE HEADER ═══════════════════════════════════════════ */
.vll-mobile-header {
    flex-shrink: 0;
    padding: 8px 16px;
    background: var(--vll-surface);
    border-bottom: 1px solid var(--vll-border);
    position: relative;
    z-index: 1001;
}
@media (max-width: 991px) {
    .vll-mobile-header .btn {
        padding: 3px 6px;
        font-size: 11.5px;
        line-height: 1.2;
        border-radius: 6px;
    }
}
@media (min-width: 992px) { .vll-mobile-header { display: none; } }

/* ══ MAIN ════════════════════════════════════════════════════ */
.vll-main {
    flex: 1;
    min-width: 0;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 0;
}

/* ══ PLAYER CARD ═════════════════════════════════════════════ */
.vll-player-card {
    flex-shrink: 0;
    background: #0f1c2e;
    border-radius: 0;
    overflow: hidden;
    border: 1px solid rgba(26,92,191,0.15);
    box-shadow: var(--vll-shadow-lg);
}

/* ══ DANCE LIST ══════════════════════════════════════════════ */
.vll-dance-list {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 4px;
    list-style: none;
    margin: 0;
    animation: vllUp 0.4s 0.12s ease both;
}
.vll-dance-list .list-group,
.vll-dance-list.list-group,
.vll-dance-list .list-group-numbered {
    border: none; background: transparent;
    display: flex; flex-direction: column; gap: 4px;
}
.vll-dance-list .list-group-item {
    border: none; background: transparent; padding: 0;
}

/* ══ VIDEO ITEM (dance row) ══════════════════════════════════ */
.vll-dance-list .video-item {
    display: flex;
    align-items: center;
    padding: 12px 14px 12px 10px;
    border: 1px solid var(--vll-border) !important;
    cursor: pointer;
    background: var(--vll-surface);
    transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s, background 0.15s;
    box-shadow: 0 1px 2px rgba(26,92,191,0.04);
    position: relative;
}
.vll-dance-list .video-item > .row {
    flex: 1;
    width: 100%;
    min-width: 0;
}
.vll-dance-list .video-item .col-auto  { flex-shrink: 0; }
.vll-dance-list .video-item .col       { min-width: 0; overflow: hidden; }
.vll-dance-list .video-item .col-12.col-sm-auto { flex-shrink: 0; margin-left: auto; }

.vll-dance-list .video-item:hover {
    border-color: var(--vll-border2) !important;
    box-shadow: var(--vll-shadow);
    transform: translateX(2px);
}

/* ══ SELECTED / PLAYING STATE ════════════════════════════════ */
.vll-dance-list .video-item.is-selected {
    border-color: var(--vll-blue) !important;
    background: var(--vll-blue-xl);
    box-shadow: 0 0 0 3px rgba(26,92,191,0.08);
    transform: none;
}
.vll-dance-list .video-item.is-selected::before { display: none; }
.vll-dance-list .video-item.is-selected .video-title a { color: var(--vll-blue); }

/* ══ THUMBNAIL ═══════════════════════════════════════════════ */
.vll-dance-list .video-item .col-auto.pe-2 {
    align-self: stretch;
    display: flex;
    align-items: center;
}
.vll-dance-list .video-thumbnail {
    border-radius: 0;
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
    height: 100%;
    max-height: 90px;
    aspect-ratio: 16 / 9;
}
.vll-dance-list .video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ══ INFO ════════════════════════════════════════════════════ */
.vll-dance-list .video-info { padding: 0; }
.vll-dance-list .video-title {
    font-size: 14px; font-weight: 600; line-height: 1.25;
    color: var(--vll-text); margin-bottom: 2px;
}
.vll-dance-list .video-title a { color: var(--vll-text); text-decoration: none; }
.vll-dance-list .video-title a:hover { text-decoration: underline; }
.vll-dance-list .video-meta {
    font-size: 11.5px; color: var(--vll-muted);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    line-height: 1.4;
}
.vll-dance-list .video-meta a { color: var(--vll-muted); text-decoration: none; }
.vll-dance-list .video-meta a:hover { color: var(--vll-blue); }
.vll-dance-list .video-meta:last-child { font-style: normal; }

/* Badges */
.vll-badge {
    display: inline-block;
    font-family: 'Geist Mono', 'IBM Plex Mono', monospace !important;
    font-size: 9px !important; font-weight: 500 !important;
    padding: 3px 8px !important; border-radius: 6px !important;
    letter-spacing: 0.03em !important;
    border: 1px solid transparent !important;
    white-space: nowrap;
}
.vll-badge-level {
    background: var(--vll-blue-xl) !important;
    color: var(--vll-blue) !important;
    border-color: var(--vll-border) !important;
}
.vll-badge-count {
    background: rgba(22,128,60,0.06) !important;
    color: var(--vll-green) !important;
    border-color: rgba(22,128,60,0.12) !important;
}
.vll-badge-wall {
    background: rgba(200,38,58,0.06) !important;
    color: var(--vll-red) !important;
    border-color: rgba(200,38,58,0.12) !important;
}

/* ══ RATING BUTTONS ══════════════════════════════════════════ */
.vll-dance-list .video-ratings {
    display: flex; flex-direction: column;
    align-items: flex-end; gap: 4px;
}
.vll-dance-list .video-ratings-row {
    display: flex; align-items: center; gap: 2px;
}
.vll-dance-list .video-ratings .btn {
    width: 26px; height: 26px; border-radius: 6px;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    display: flex; align-items: center; justify-content: center;
    padding: 0; color: var(--vll-muted); font-size: 12px;
    transition: color 0.14s, background 0.14s;
}
.vll-dance-list .video-ratings .btn:hover {
    color: var(--vll-blue) !important;
    background: var(--vll-blue-xl) !important;
}
.vll-dance-list .video-ratings .btn-danger {
    color: var(--vll-red) !important;
}
.vll-dance-list .video-ratings .btn-success {
    color: var(--vll-green) !important;
}
.vll-dance-list .video-ratings .btn-secondary {
    color: var(--vll-muted) !important;
}
.vll-dance-list .video-ratings i[class*="icofont"] { font-size: 12px; }

/* ══ OVERLAYS ════════════════════════════════════════════════ */
.vll-dance-list .video-position-overlay {
    position: absolute; bottom: 0; left: 0;
    background: rgba(26,92,191,0.55);
    color: white;
    font-family: 'Geist Mono', monospace;
    font-size: 9px; font-weight: 500;
    padding: 2px 6px;
    border-top-right-radius: 4px; border-bottom-left-radius: 8px;
    z-index: 2;
}
.vll-dance-list .video-thumbnail.is-new::after {
    content: "NEW";
    position: absolute; top: 6px; right: -28px;
    transform: rotate(45deg);
    background: var(--vll-red); color: white;
    font-weight: 700; padding: 2px 30px; font-size: 8px;
    z-index: 1; pointer-events: none;
}

/* ══ RIGHT SIDEBAR ═══════════════════════════════════════════ */
.vll-sidebar {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}
@media (min-width: 992px) {
    .vll-sidebar {
        position: sticky;
        display: flex; flex-direction: column;
        width: 200px; flex-shrink: 0;
        background: var(--vll-surface);
        border-left: 1px solid var(--vll-border);
        margin-left: 10px;
        top: 0;
        height: calc(100vh - 60px);
        overflow-y: auto;
        opacity: 1;
        pointer-events: auto;
        transition: width 0.2s ease, opacity 0.2s ease, margin-left 0.2s ease;
    }
    .vll-sidebar--collapsed {
        width: 0 !important;
        opacity: 0 !important;
        pointer-events: none !important;
        overflow: hidden !important;
        margin-left: 0 !important;
        border-left: none !important;
    }
    .vll-sidebar::-webkit-scrollbar { width: 4px; }
    .vll-sidebar::-webkit-scrollbar-thumb { background: var(--vll-border2); border-radius: 2px; }
}
/* sidebar expand tab — shown when sidebar is collapsed (desktop only) */
.vll-sidebar-expand-tab {
    display: none;
}
@media (min-width: 992px) {
    .vll-sidebar-expand-tab {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 22px;
        height: 52px;
        flex-shrink: 0;
        align-self: flex-start;
        margin-top: 10px;
        background: var(--vll-surface);
        border: 1px solid var(--vll-border);
        border-radius: 0 6px 6px 0;
        color: var(--vll-muted);
        cursor: pointer;
        transition: background 0.14s, color 0.14s;
    }
    .vll-sidebar-expand-tab:hover {
        background: var(--vll-blue-xl);
        color: var(--vll-blue);
    }
}

/* ══ SIDEBAR TOPBAR ══════════════════════════════════════════ */
.vll-rs-topbar {
    padding: 16px 18px 14px;
    border-bottom: 1px solid var(--vll-border, rgba(26,92,191,0.1));
    display: flex; align-items: center; justify-content: space-between;
    flex-shrink: 0;
}
.vll-rs-title {
    font-family: 'Geist', 'Plus Jakarta Sans', sans-serif;
    font-size: 14px; font-weight: 500;
    color: var(--vll-text, #111827);
    letter-spacing: -0.01em;
}
.vll-rs-actions { display: flex; gap: 6px; }
.vll-rs-btn {
    width: 30px; height: 30px; border-radius: 8px;
    border: 1px solid var(--vll-border2, rgba(26,92,191,0.18));
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; color: var(--vll-muted, #6b7280);
    transition: all 0.14s; background: var(--vll-surface, #fff);
}
.vll-rs-btn:hover, .vll-rs-btn.active {
    background: var(--vll-blue-lt, #dce8fb);
    border-color: var(--vll-blue, #1a5cbf);
    color: var(--vll-blue, #1a5cbf);
}

/* ══ CALENDAR OVERLAY MODAL ══════════════════════════════════ */
.vll-cal-modal {
    border: none;
    border-radius: 20px;
    padding: 0;
    max-width: 320px;
    width: 90%;
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
    background: #ffffff;
    outline: none;
    margin: auto;
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: auto;
    touch-action: auto;
}
.vll-cal-modal * {
    pointer-events: auto;
    touch-action: auto;
}
.vll-cal-modal::backdrop {
    background: rgba(15, 28, 46, 0.6);
    backdrop-filter: blur(4px);
}
.vll-modal-card {
    display: flex;
    flex-direction: column;
}
.vll-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 16px 16px 8px;
}
.vll-modal-subtitle {
    font-family: 'Geist Mono', monospace;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: var(--vll-muted, #6b7280);
    text-transform: uppercase;
    display: block;
    margin-bottom: 4px;
}
.vll-modal-title {
    font-family: 'Geist', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: var(--vll-text, #111827);
    margin: 0;
}
.vll-modal-close {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid var(--vll-border2, rgba(26,92,191,0.18));
    background: var(--vll-blue-xl, #eef4fd);
    color: var(--vll-muted, #6b7280);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.14s;
    padding: 0;
}
.vll-modal-close:hover {
    background: var(--vll-blue-lt, #dce8fb);
    color: var(--vll-blue, #1a5cbf);
    border-color: var(--vll-blue, #1a5cbf);
}

.vll-modal-body {
    padding: 0 16px 12px;
}
.vll-modal-body .vll-cal-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}
.vll-modal-body .vll-cal-month-lbl {
    font-family: 'Geist', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: var(--vll-text, #111827);
}
.vll-modal-body .vll-cal-nav {
    display: flex;
    gap: 6px;
}
.vll-modal-body .vll-cal-nav-btn {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: var(--vll-blue-xl, #eef4fd);
    border: 1px solid var(--vll-border2, rgba(26,92,191,0.18));
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--vll-blue, #1a5cbf);
    font-size: 14px;
    transition: all 0.14s;
    padding: 0;
}
.vll-modal-body .vll-cal-nav-btn:hover {
    background: var(--vll-blue-lt, #dce8fb);
}

.cal-grid { display: grid; grid-template-columns: repeat(7,1fr); gap: 1px; }
.cal-dow span {
    font-family: 'Geist Mono', 'IBM Plex Mono', monospace;
    font-size: 8.5px; color: var(--vll-muted, #6b7280);
    text-align: center; display: block;
    padding: 3px 0 6px; text-transform: uppercase; letter-spacing: 0.06em;
}
.cal-day {
    aspect-ratio: 1;
    display: flex; align-items: center; justify-content: center;
    font-size: 11.5px; border-radius: 7px;
    cursor: pointer; color: var(--vll-muted, #6b7280);
    position: relative; transition: all 0.13s;
}
.cal-day:hover { background: var(--vll-blue-xl, #eef4fd); color: var(--vll-blue, #1a5cbf); }
.cal-day.has { color: #dc2626; font-weight: 700; }
.cal-day.sel { background: var(--vll-blue, #1a5cbf); color: white; font-weight: 700; }
.cal-day.empty, .cal-day.no { opacity: 0.25; pointer-events: none; }

.vll-modal-info-bar {
    background: var(--vll-blue-xl, #eef4fd);
    border-top: 1px solid var(--vll-border, rgba(26,92,191,0.1));
    border-bottom: 1px solid var(--vll-border, rgba(26,92,191,0.1));
    padding: 16px 24px;
}
.vll-info-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}
.vll-info-title {
    font-family: 'Geist Mono', monospace;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--vll-muted, #6b7280);
}
.vll-info-badge {
    font-family: 'Geist Mono', monospace;
    font-size: 9px;
    font-weight: 500;
    padding: 2px 8px;
    border-radius: 100px;
    background: var(--vll-surface, #fff);
    border: 1px solid var(--vll-border, rgba(26,92,191,0.1));
    color: var(--vll-muted, #6b7280);
}
.vll-info-content {
    font-size: 13px;
    color: var(--vll-text2, #374151);
    min-height: 24px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.vll-modal-session-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 8px;
    background: var(--vll-surface, #fff);
    border: 1px solid var(--vll-border, rgba(26,92,191,0.1));
    border-radius: 8px;
    text-decoration: none;
    color: var(--vll-text2, #374151);
    font-weight: 500;
    transition: all 0.12s;
}
.vll-modal-session-link:hover {
    border-color: var(--vll-blue, #1a5cbf);
    color: var(--vll-blue, #1a5cbf);
    background: var(--vll-blue-xl, #eef4fd);
}

.vll-modal-footer {
    display: flex;
    gap: 12px;
    padding: 12px 16px 16px;
    justify-content: flex-end;
}
.vll-btn-cancel {
    padding: 10px 20px;
    border-radius: 12px;
    border: 1px solid var(--vll-border2, rgba(26,92,191,0.18));
    background: var(--vll-surface, #fff);
    color: var(--vll-muted, #6b7280);
    font-family: 'Geist', sans-serif;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.14s;
}
.vll-btn-cancel:hover {
    background: var(--vll-blue-xl, #eef4fd);
    color: var(--vll-blue, #1a5cbf);
    border-color: var(--vll-blue, #1a5cbf);
}
.vll-btn-confirm {
    padding: 10px 20px;
    border-radius: 12px;
    border: none;
    background: var(--vll-blue, #1a5cbf);
    color: #ffffff;
    font-family: 'Geist', sans-serif;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.14s;
}
.vll-btn-confirm:hover {
    background: var(--vll-blue-dk, #1448a0);
}
.vll-btn-confirm:disabled {
    background: var(--vll-border2, rgba(26,92,191,0.18));
    color: var(--vll-muted, #6b7280);
    cursor: not-allowed;
}

/* ══ SESSION LIST ════════════════════════════════════════════ */
.vll-sess-list {
    flex: 1; overflow-y: auto; padding: 8px 0;
}
.vll-sess-item {
    display: flex; align-items: center; gap: 11px;
    padding: 9px 18px;
    cursor: pointer; transition: background 0.13s;
    border-left: 2px solid transparent;
}
.vll-sess-item:hover { background: var(--vll-blue-xl, #eef4fd); }
.vll-sess-item.active {
    background: var(--vll-blue-xl, #eef4fd);
    border-left-color: var(--vll-red, #c8263a);
}
.vll-sess-skip { cursor: default; }
.vll-sess-skip:hover { background: none; }
.vll-sess-item.is-locked { opacity: 0.55; }
.vll-sess-item.is-locked:hover { background: var(--vll-blue-xl, #eef4fd); }
.vll-sess-item.is-locked .vll-sess-date { color: var(--vll-muted, #6b7280); }

.vll-sess-dot {
    width: 8px; height: 8px; border-radius: 50%;
    flex-shrink: 0; transition: all 0.15s;
    background: var(--vll-border2, rgba(26,92,191,0.18));
    border: 1.5px solid transparent;
}
.vll-sess-item.active .vll-sess-dot {
    background: var(--vll-blue, #1a5cbf);
    box-shadow: 0 0 0 3px rgba(26,92,191,0.15);
}

.vll-sess-body { flex: 1; min-width: 0; }
.vll-sess-date {
    font-family: 'Geist Mono', 'IBM Plex Mono', monospace;
    font-size: 12px; font-weight: 500;
    color: var(--vll-text2, #374151); transition: color 0.13s;
    white-space: nowrap;
}
.vll-sess-item.active .vll-sess-date { color: var(--vll-blue, #1a5cbf); }
.vll-sess-item.vll-sess-skip .vll-sess-date { opacity: 0.4; }
.vll-sess-label {
    font-size: 10.5px; color: var(--vll-muted, #6b7280); margin-top: 1px;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.vll-sess-pill {
    font-family: 'Geist Mono', 'IBM Plex Mono', monospace;
    font-size: 9px; font-weight: 500;
    padding: 2px 8px; border-radius: 100px;
    background: var(--vll-surface2, #e8eef8); color: var(--vll-muted, #6b7280);
    flex-shrink: 0;
}
.vll-sess-item.active .vll-sess-pill {
    background: var(--vll-blue-lt, #dce8fb); color: var(--vll-blue, #1a5cbf);
}

/* ── Month headers ────────────────────────────────────────── */
.vll-month-header {
    font-family: 'Geist', 'Plus Jakarta Sans', sans-serif;
    font-size: 11px;
    font-weight: 700;
    color: var(--vll-red, #c8263a);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 8px 14px;
    background: rgba(200, 38, 58, 0.07);
    border-right: none !important;
    margin-top: 10px;
    margin-bottom: 2px;
    border-radius: 4px;
    transition: background 0.2s;
    user-select: none;
}
.vll-month-header:hover {
    background: rgba(200, 38, 58, 0.12);
}

/* ── Child entries ────────────────────────────────────────── */
.vll-sess-child {
    display: flex; align-items: center; gap: 7px;
    padding: 4px 0 4px 4px; margin-top: 4px;
    cursor: pointer; font-size: 11.5px;
    color: var(--vll-muted, #6b7280); transition: color 0.13s;
    border-radius: 4px;
}
.vll-sess-child:hover { color: var(--vll-text2, #374151); }
.vll-sess-child.active { color: var(--vll-blue, #1a5cbf); font-weight: 500; }
.vll-sess-child.is-locked { opacity: 0.55; }
.vll-sess-child.is-locked:hover { color: var(--vll-text2, #374151); }
.vll-sess-child-dot {
    width: 5px; height: 5px; border-radius: 50%;
    background: var(--vll-border2, rgba(26,92,191,0.18)); flex-shrink: 0;
}
.vll-sess-child.active .vll-sess-child-dot { background: var(--vll-blue, #1a5cbf); }

/* ══ LOCK BOX ════════════════════════════════════════════════ */
.vll-lock-box {
    margin: 10px 14px 14px;
    padding: 12px 14px;
    background: var(--vll-bg, #f0f3f8);
    border: 1px solid var(--vll-border2, rgba(26,92,191,0.18));
    border-radius: 10px;
    display: flex; gap: 10px; align-items: flex-start;
    flex-shrink: 0;
}
.vll-lock-ico {
    width: 28px; height: 28px; border-radius: 7px;
    background: var(--vll-blue-lt, #dce8fb);
    border: 1px solid var(--vll-border2, rgba(26,92,191,0.18));
    display: flex; align-items: center; justify-content: center;
    font-size: 13px; flex-shrink: 0;
}
.vll-lock-txt { font-size: 11.5px; color: var(--vll-muted, #6b7280); line-height: 1.5; }
.vll-lock-txt strong { color: var(--vll-text2, #374151); }
.vll-lock-cta {
    display: inline-block; margin-top: 6px;
    font-size: 11px; font-weight: 600; color: var(--vll-blue, #1a5cbf);
    text-decoration: none; cursor: pointer;
}
.vll-lock-cta:hover { text-decoration: underline; }

/* ══ MOBILE MORE BUTTON ══════════════════════════════════════ */
.vll-mobile-more-btn {
    width: 26px;
    height: 26px;
    padding: 0;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    border: none !important;
    background: transparent;
    color: var(--vll-muted);
}
.vll-mobile-more-btn:hover {
    background: var(--vll-blue-xl);
    color: var(--vll-blue);
}

/* ── Mobile info padding (leaves room for controls bar) ─────── */
@media (max-width: 575px) {
    .vll-info-mobile-padded { padding-right: 5.5rem; }
}

/* ── Mobile controls bar (reactions + ⋮) ────────────────────── */
.vll-mobile-controls {
    position: absolute;
    bottom: 8px;
    right: 14px;
    display: flex;
    align-items: center;
    gap: 1px;
}

/* ══ BOOTSTRAP DROPDOWN OVERRIDES ════════════════════════════ */
.vll-dropdown-menu {
    min-width: 190px;
    padding: .25rem 0;
    box-shadow: 0 6px 24px rgba(0,0,0,.12), 0 1px 4px rgba(0,0,0,.06);
    border-color: #e9ecef;
    border-radius: .5rem;
}
.vll-dropdown-item {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .55rem .9rem;
    font-size: .875rem;
    color: #212529;
    width: 100%;
    background: none;
    border: none;
    text-align: left;
}
.vll-dropdown-item i {
    font-size: 1rem;
    width: 1.1rem;
    text-align: center;
    color: #6c757d;
    flex-shrink: 0;
}
.vll-dropdown-item:hover,
.vll-dropdown-item:focus {
    background: #f0f4ff;
    color: var(--vll-blue);
}
.vll-dropdown-item:hover i,
.vll-dropdown-item:focus i {
    color: var(--vll-blue);
}

/* ══ POPUP / SHEET 2-COLUMN ROWS ═════════════════════════════ */
.vll-sheet-row {
    display: flex;
    align-items: center;
    gap: .9rem;
    width: 100%;
    padding: .6rem 0;
    background: none;
    border: none;
    font-size: .9rem;
    color: #212529;
    text-align: left;
    cursor: pointer;
    text-decoration: none;
}
.vll-sheet-row:hover { color: var(--vll-blue); }
.vll-sheet-icon {
    width: 2.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #6c757d;
    font-size: 1rem;
}
.vll-sheet-row:hover .vll-sheet-icon { color: var(--vll-blue); }
.vll-sheet-label { flex: 1; }
.vll-sheet-row--blue .vll-sheet-icon { color: var(--vll-blue); }
.vll-sheet-row--yellow .vll-sheet-icon { color: #d97706; }

/* ── Reaction icon group inside sheet ────────────────────── */
.vll-mobile-reactions-group {
    display: flex;
    gap: 3px;
}
.vll-mobile-reaction-btn {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    border-radius: 6px;
    font-size: .95rem;
    color: #6c757d;
    cursor: pointer;
    transition: color .15s;
    padding: 0;
}
.vll-mobile-reaction-btn:hover { color: #212529; }
.vll-mobile-reaction--red   { color: #c8263a !important; }
.vll-mobile-reaction--green { color: #16803c !important; }
.vll-mobile-reaction--gray  { color: #495057 !important; }

/* ══ LAYOUT SWITCHER ═════════════════════════════════════════ */
.vll-layout-toolbar {
    flex-shrink: 0;
    display: flex;
    justify-content: flex-end;
    gap: 3px;
    padding: 6px 16px;
    background: var(--vll-bg);
    border-bottom: 1px solid var(--vll-border);
}
.vll-layout-btn {
    width: 28px; height: 28px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 6px;
    border: 1px solid var(--vll-border2);
    background: var(--vll-surface);
    color: var(--vll-muted);
    cursor: pointer;
    transition: all 0.14s;
    padding: 3px;
}
.vll-layout-btn svg { width: 100%; height: 100%; }
.vll-layout-btn:hover {
    border-color: var(--vll-blue);
    color: var(--vll-blue);
    background: var(--vll-blue-xl);
}
.vll-layout-btn.active {
    border-color: var(--vll-blue);
    color: var(--vll-blue);
    background: var(--vll-blue-lt);
}

/* ══ LAYOUT MODES ════════════════════════════════════════════ */

/* ── Inline play button (hidden in full, shown in small/title) ── */
.vll-play-inline-btn {
    display: none;
    align-items: center;
    justify-content: center;
    width: 24px; height: 17px;
    background: #ff0000;
    border-radius: 3px;
    border: none;
    cursor: pointer;
    flex-shrink: 0;
    margin-right: 5px;
    padding: 0;
    vertical-align: middle;
    transition: background .15s;
}
.vll-play-inline-btn:hover { background: #cc0000; }
.vll-play-inline-btn svg { width: 8px; height: 8px; display: block; }

.vll-layout-small .vll-play-inline-btn,
.vll-layout-title .vll-play-inline-btn { display: inline-flex; }

/* SMALL: hide thumbnail column */
.vll-layout-small .video-item .col-auto.pe-2 { display: none !important; }

/* TITLE: hide thumbnail + metadata lines + badges */
.vll-layout-title .video-item .col-auto.pe-2  { display: none !important; }
.vll-layout-title .video-item .video-meta     { display: none !important; }
.vll-layout-title .video-item .video-badges-row { display: none !important; }
.vll-layout-title .video-item {
    padding-top: 7px;
    padding-bottom: 7px;
}

/* Duration: Vollbild gets an extra meta row (clock icon, with choreographer/
   music/interpret); Kompakt/Nur Titel show it inline after the title instead.
   Scoped via .vll-layout-small/.vll-layout-title only — .vll-layout-full is
   NOT safe to select on here: <x-linedance.dance-list> always wraps itself
   in its own (always "full", never switched) .vll-layout-full div, which
   would falsely match regardless of the real outer layout mode. */
.video-item .vll-duration-inline { display: none; }
.vll-layout-small .video-item .vll-duration-inline,
.vll-layout-title .video-item .vll-duration-inline { display: inline; }
.vll-layout-small .video-item .vll-duration-row,
.vll-layout-title .video-item .vll-duration-row { display: none !important; }

/* ══ ANIMATIONS ══════════════════════════════════════════════ */
@keyframes vllUp {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ══ LOCKED ITEMS ════════════════════════════════════════════ */
.video-item.is-locked {
    opacity: 0.65;
    cursor: default;
}
.video-item.is-locked .video-thumbnail {
    pointer-events: none;
}
