/* ============================================================
   learnSongs.css — Practice Songs Section
   Same dark purple theme as existing project.
   All classes prefixed with "ls-" to avoid conflicts.
   ============================================================ */

/* ── Practice Section Header — title row with Surprise Me button ─ */
.ls-practice-header-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.ls-practice-header-top .ls-surprise-btn {
    float: none;          /* override the float:right from base style */
    margin-top: 3rem;
    flex-shrink: 0;
    align-self: flex-start;
}

/* ── Song Count Row ──────────────────────────────────────────── */
.ls-count-row {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-bottom: 0.75rem;
}

.ls-song-count-badge {
    font-family: 'Outfit', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    color: #f0abfc;
    background: rgba(217, 70, 239, 0.12);
    border: 1px solid rgba(217, 70, 239, 0.3);
    padding: 0.35rem 0.85rem;
    border-radius: 20px;
    white-space: nowrap;
    letter-spacing: 0.2px;
}

/* ── Filter Bar ──────────────────────────────────────────────── */
.ls-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .ls-count-row {
        margin-bottom: 0.5rem;
    }
    .ls-song-count-badge {
        font-size: 0.74rem;
        padding: 0.28rem 0.7rem;
    }
    .ls-filter-bar {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 0.5rem;
        margin-bottom: 1.2rem;
        gap: 0.5rem;
    }
    .ls-filter-bar::-webkit-scrollbar {
        display: none;
    }
    .ls-filter-btn {
        flex-shrink: 0;
        white-space: nowrap;
        padding: 0.45rem 0.95rem;
        font-size: 0.78rem;
    }
}

.ls-filter-btn {
    padding: 0.5rem 1.1rem;
    border-radius: 50px;
    border: 1.5px solid rgba(217, 70, 239, 0.3);
    background: rgba(217, 70, 239, 0.08);
    color: var(--text-dim);
    font-family: 'Outfit', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s;
    letter-spacing: 0.3px;
}

.ls-filter-btn:hover {
    background: rgba(217, 70, 239, 0.2);
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-1px);
}

.ls-filter-btn.active {
    background: linear-gradient(135deg, #d946ef, #a855f7);
    border-color: transparent;
    color: white;
    box-shadow: 0 4px 15px rgba(217, 70, 239, 0.4);
}

/* ── Songs Grid ──────────────────────────────────────────────── */
.ls-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.8rem;
    margin-bottom: 4rem;
}

/* ── Song Card ───────────────────────────────────────────────── */
.ls-card {
    background: var(--detail-bg, linear-gradient(135deg,rgba(26,15,46,0.92),rgba(18,8,32,0.92)));
    border: 2px solid rgba(217, 70, 239, 0.25);
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    position: relative;
    /* stagger animation */
    animation: lsCardIn 0.5s ease both;
}

@keyframes lsCardIn {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

.ls-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(217, 70, 239, 0.08), rgba(239, 68, 68, 0.08));
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
}

.ls-card:hover::before { opacity: 1; }

.ls-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--primary);
    box-shadow: 0 18px 50px rgba(217, 70, 239, 0.55);
}

/* ── Thumbnail ───────────────────────────────────────────────── */
.ls-thumb-wrap {
    position: relative;
    width: 100%;
    height: 190px;
    overflow: hidden;
}

.ls-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s;
}

.ls-card:hover .ls-thumb {
    transform: scale(1.07);
}

/* play overlay on hover */
.ls-play-overlay {
    position: absolute;
    inset: 0;
    background: var(--overlay-bg, rgba(0,0,0,0.52));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.ls-card:hover .ls-play-overlay { opacity: 1; }

.ls-play-circle {
    width: 58px;
    height: 58px;
    background: linear-gradient(135deg, #d946ef, #ef4444);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: white;
    box-shadow: 0 4px 20px rgba(217, 70, 239, 0.7);
    animation: lsPulse 2s infinite;
}

@keyframes lsPulse {
    0%, 100% { transform: scale(1); }
    50%       { transform: scale(1.12); }
}

/* ── Card Body ───────────────────────────────────────────────── */
.ls-card-body {
    padding: 1.3rem 1.4rem 1.4rem;
}

.ls-card-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.3rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ls-card-artist {
    font-size: 0.88rem;
    color: var(--text-dim);
    margin-bottom: 0.9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ── Tags ────────────────────────────────────────────────────── */
.ls-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.ls-tag {
    padding: 0.28rem 0.75rem;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    border: 1px solid transparent;
}

.ls-tag-beginner {
    background: rgba(34, 197, 94, 0.2);
    color: #86efac;
    border-color: rgba(34, 197, 94, 0.4);
}
.ls-tag-intermediate {
    background: rgba(249, 115, 22, 0.2);
    color: #fdba74;
    border-color: rgba(249, 115, 22, 0.4);
}
.ls-tag-advanced {
    background: rgba(239, 68, 68, 0.2);
    color: #fca5a5;
    border-color: rgba(239, 68, 68, 0.4);
}
.ls-tag-hindi {
    background: rgba(168, 85, 247, 0.2);
    color: #e9d5ff;
    border-color: rgba(168, 85, 247, 0.4);
}
.ls-tag-english {
    background: rgba(59, 130, 246, 0.2);
    color: #bfdbfe;
    border-color: rgba(59, 130, 246, 0.4);
}
.ls-tag-bollywood {
    background: rgba(249, 115, 22, 0.2);
    color: #fdba74;
    border-color: rgba(249, 115, 22, 0.4);
}
.ls-tag-pop {
    background: rgba(236, 72, 153, 0.2);
    color: #fbcfe8;
    border-color: rgba(236, 72, 153, 0.4);
}
.ls-tag-rock {
    background: rgba(239, 68, 68, 0.2);
    color: #fca5a5;
    border-color: rgba(239, 68, 68, 0.4);
}
.ls-tag-acoustic {
    background: rgba(34, 197, 94, 0.2);
    color: #86efac;
    border-color: rgba(34, 197, 94, 0.4);
}
/* All other tags (any language / genre) get colors auto-generated
   via lsTagColor() in learnSongs.js — no new CSS class needed ever. */

/* ── No Results ──────────────────────────────────────────────── */
.ls-no-results {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-dim);
    font-family: 'Outfit', sans-serif;
    grid-column: 1/-1;
}
.ls-no-results .ls-no-emoji { font-size: 3rem; margin-bottom: 1rem; }

/* ── Full Empty State (no songs at all) ─────────────────────── */
.ls-empty-state {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 4rem 2rem 5rem;
    background: rgba(255,255,255,0.015);
    border: 1.5px dashed rgba(217,70,239,0.2);
    border-radius: 20px;
    animation: ls-fade-in 0.45s ease both;
}
@keyframes ls-fade-in {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0);    }
}
.ls-empty-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 14px rgba(217,70,239,0.4));
    animation: ls-icon-float 3s ease-in-out infinite;
}
@keyframes ls-icon-float {
    0%,100% { transform: translateY(0);   }
    50%      { transform: translateY(-6px); }
}
.ls-empty-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary, #f1f0ff);
    margin: 0 0 0.5rem;
}
.ls-empty-sub {
    font-family: 'Outfit', sans-serif;
    font-size: 0.88rem;
    color: var(--text-dim, #9ca3af);
    margin: 0 0 1.6rem;
    max-width: 320px;
    line-height: 1.6;
}
.ls-empty-cta {
    background: linear-gradient(135deg, #d946ef, #a855f7);
    border: none;
    border-radius: 50px;
    padding: 0.7rem 2rem;
    color: #fff;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(217,70,239,0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.ls-empty-cta:hover  { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(217,70,239,0.55); }
.ls-empty-cta:active { transform: translateY(0); }
@media (max-width: 480px) {
    .ls-empty-state { padding: 3rem 1.5rem 4rem; }
    .ls-empty-icon  { font-size: 2.8rem; }
    .ls-empty-title { font-size: 1.05rem; }
}

/* ── SONG DETAIL MODAL ───────────────────────────────────────── */
.ls-detail-modal {
    display: none;
    position: fixed;
    top: 3rem;         /* below ticker (desktop) */
    left: 260px;       /* beside sidebar */
    right: 0;
    bottom: 0;
    background: var(--page-bg, linear-gradient(135deg,#0a0514,#1a0a2e,#16001e));
    z-index: 500;
    overflow-y: auto;
    padding: 2rem 3rem 6rem;   /* TASK 3: slightly tighter top for alignment */
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.ls-detail-modal.active {
    display: block;
    transform: translateY(0);
}

/* Close button */
.ls-detail-close {
    position: fixed;
    top: 4.2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #ef4444, #d946ef);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.3rem;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(239, 68, 68, 0.5);
    transition: all 0.3s;
    z-index: 501;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ls-detail-close:hover {
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 6px 28px rgba(239, 68, 68, 0.7);
}

/* Detail Header */
.ls-detail-header {
    display: flex;
    gap: 2.5rem;
    align-items: flex-start;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

/* ── Thumbnail wrap — hosts thumbnail img OR inline YT player ── */
.ls-detail-thumb-wrap {
    width: 280px;
    aspect-ratio: 1 / 1;      /* square for thumbnail */
    border-radius: 18px;
    overflow: hidden;
    flex-shrink: 0;
    align-self: flex-start;   /* TASK 3: never stretch to match info column height */
    position: relative;
    box-shadow: 0 16px 50px rgba(217, 70, 239, 0.45);
    border: 3px solid rgba(217, 70, 239, 0.4);
    background: var(--card-bg);
    transition: aspect-ratio 0.3s ease, box-shadow 0.3s ease;
}

/* When player is active — wider 16:9, vertically centered in flex row */
.ls-detail-thumb-wrap.ls-wrap-playing {
    width: 340px;            /* wider → taller 16:9 = 191px, less visual drop */
    aspect-ratio: 16 / 9;
    align-self: center;      /* center in flex row so it doesn't sit at very top */
    box-shadow: 0 8px 40px rgba(217, 70, 239, 0.6);
}

.ls-detail-thumb {
    width: 100%;
    height: 100%;
    border-radius: 0;
    object-fit: cover;
    box-shadow: none;
    border: none;
    display: block;
    flex-shrink: 0;
}

/* ── Inline YouTube player ─────────────────────────────────────── */
#lsInlinePlayer {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

#lsInlinePlayer iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* ── Custom play/pause overlay (Chordify-style) ───────────────────
   Sits on top of the iframe (cross-origin, so we can't touch YT's
   native controls directly). Intercepts all clicks → toggle play/pause.
   controls: 0 in playerVars removes YouTube's own control bar entirely.
──────────────────────────────────────────────────────────────────── */
#lsPlayerOverlay {
    position: absolute;
    inset: 0;
    z-index: 3;                  /* above iframe, below fallback */
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
}

/* The circular button in the centre */
.ls-overlay-btn {
    width: 60px;
    height: 60px;
    background: rgba(0, 0, 0, 0.62);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.65rem;
    color: #fff;
    opacity: 0;
    transform: scale(0.88);
    transition: opacity 0.22s ease, transform 0.18s ease;
    pointer-events: none;        /* overlay div handles the click */
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    box-shadow: 0 2px 18px rgba(0,0,0,0.45);
    user-select: none;
}

/* Show button on hover over overlay */
#lsPlayerOverlay:hover .ls-overlay-btn {
    opacity: 1;
    transform: scale(1);
}

/* Keep visible when paused (so user knows how to resume) */
#lsPlayerOverlay.ls-overlay-paused .ls-overlay-btn {
    opacity: 1;
    transform: scale(1);
}

/* Brief flash animation when toggling — fades quickly while playing */
#lsPlayerOverlay.ls-overlay-flash .ls-overlay-btn {
    opacity: 1;
    transform: scale(1.08);
}

/* ── Embed-disabled fallback UI ───────────────────────────────── */
.ls-embed-fallback {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(13, 13, 20, 0.95);
    text-align: center;
}

.ls-embed-fallback-icon {
    font-size: 2rem;
    line-height: 1;
}

.ls-embed-fallback-msg {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.6);
    margin: 0;
    line-height: 1.4;
}

.ls-embed-fallback-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 1.1rem;
    background: linear-gradient(135deg, #d946ef, #ef4444);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: opacity 0.2s ease, transform 0.15s ease;
    white-space: nowrap;
}

.ls-embed-fallback-btn:hover {
    opacity: 0.88;
    transform: translateY(-1px);
}

.ls-detail-info {
    flex: 1;
    min-width: 220px;
}

.ls-detail-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.4rem;
    font-weight: 700;
    background: linear-gradient(90deg, #d946ef, #ef4444);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.ls-detail-artist {
    font-size: 1.2rem;
    color: var(--text-dim);
    margin-bottom: 1rem;
}

.ls-detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0;   /* action bar owns its own top margin */
}

/* ── Unified Action Bar ──────────────────────────────────────────
   Holds Watch Tutorial, Play, divider, and Key selector in one row.
   Wraps gracefully on mobile.
────────────────────────────────────────────────────────────────── */
.ls-detail-actions {
    display: flex;
    align-items: center;
    gap: 0.9rem;          /* T4: 14.4px desktop rhythm */
    flex-wrap: wrap;
    margin-top: 1.4rem;
}

/* Shared pill height & padding for visual rhythm */
.ls-action-btn {
    height: 44px;          /* T1: fixed height — matches .ls-action-key */
    padding: 0 1.5rem;
    border-radius: 50px;
    border: none;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease,  /* T3: unified timing */
                background 0.18s ease, border-color 0.18s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    white-space: nowrap;
    flex-shrink: 0;
}

.ls-action-primary {
    background: linear-gradient(135deg, #d946ef, #ef4444);
    color: #fff;
    box-shadow: 0 4px 18px rgba(217, 70, 239, 0.45);
}
.ls-action-primary:hover {
    transform: translateY(-1px);          /* T3: subtle lift, no scale jitter */
    box-shadow: 0 6px 20px rgba(217, 70, 239, 0.55);
}
.ls-action-primary:active { transform: translateY(0); }

.ls-action-secondary {
    background: rgba(217, 70, 239, 0.12);
    color: #f0e6ff;
    border: 1.5px solid rgba(217, 70, 239, 0.45);
}
.ls-action-secondary:hover {
    background: rgba(217, 70, 239, 0.22);
    border-color: rgba(217, 70, 239, 0.75);
    transform: translateY(-1px);          /* T3: matches primary lift magnitude */
    box-shadow: 0 4px 10px rgba(217, 70, 239, 0.2);
}
.ls-action-secondary:active { transform: translateY(0); }

/* Thin vertical divider between buttons and key selector */
.ls-action-divider {
    width: 1px;
    height: 28px;
    background: rgba(167, 139, 250, 0.25);
    border-radius: 1px;
    flex-shrink: 0;
    align-self: center;
    margin: 0 0.15rem;
}

/* ── Key Selector inside the action bar ──────────────────────── */
.ls-action-key {
    height: 44px;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    background: rgba(139, 92, 246, 0.1);
    border: 1.5px solid rgba(139, 92, 246, 0.4);
    border-radius: 50px;
    padding: 0 0.85rem 0 1.1rem;
    transition: border-color 0.18s ease, background 0.18s ease,  /* T3: unified timing */
                box-shadow 0.18s ease, transform 0.18s ease;
    flex-shrink: 0;
    cursor: default;
}
.ls-action-key:hover {
    background: rgba(139, 92, 246, 0.16);
    border-color: rgba(167, 139, 250, 0.65);
    box-shadow: 0 3px 10px rgba(139, 92, 246, 0.15); /* T3: subtle, not glaring */
    transform: translateY(-1px);                       /* T3: same lift as buttons */
}

.ls-action-key-label {
    font-size: 0.75rem;
    font-weight: 500;          /* T2: reduced from 700 — label recedes */
    color: #c4b5fd;
    opacity: 0.72;             /* T2: dimmed so key value reads first */
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
    user-select: none;
    pointer-events: none;
}

/* select + caret wrapper */
.ls-action-key-select-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.ls-action-key-select {
    appearance: none;
    -webkit-appearance: none;
    opacity: 1;                /* T2: full brightness — key value dominates */
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.55), rgba(109, 40, 217, 0.65));
    border: 1.5px solid rgba(167, 139, 250, 0.6);
    border-radius: 30px;
    color: #fff;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 700;
    font-family: inherit;
    letter-spacing: 0.02em;
    /* extra right padding for the caret */
    padding: 0.28rem 1.75rem 0.28rem 0.8rem;
    outline: none;
    min-width: 58px;
    text-align: center;
    line-height: 1;
    box-shadow: 0 2px 8px rgba(139, 92, 246, 0.3);
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.ls-action-key-select:hover {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.75), rgba(109, 40, 217, 0.85));
    border-color: #a78bfa;
    box-shadow: 0 4px 14px rgba(139, 92, 246, 0.45);
}
.ls-action-key-select:focus {
    outline: none;             /* T5: suppress browser default */
}
.ls-action-key-select:focus-visible {
    outline: none;
    border-color: #c4b5fd;
    box-shadow: 0 0 0 2px rgba(168, 85, 247, 0.35); /* T5: soft purple, accessible */
}
.ls-action-key-select option {
    background: var(--card-bg);
    color: #e9d5ff;
    font-weight: 600;
}

/* SVG caret overlaid on the select */
.ls-action-key-caret {
    position: absolute;
    right: 0.55rem;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 6px;
    color: #c4b5fd;
    pointer-events: none;
    flex-shrink: 0;
}

/* Detail Sections */
.ls-detail-section {
    background: var(--card-bg-alpha, rgba(26,15,46,0.4));
    border: 2px solid rgba(217, 70, 239, 0.25);
    border-radius: 18px;
    padding: 1.8rem 2rem;
    margin-bottom: 1.8rem;
    backdrop-filter: blur(10px);
}

.ls-detail-section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1.2rem;
    padding-bottom: 0.7rem;
    border-bottom: 1px solid rgba(217, 70, 239, 0.2);
}

.ls-detail-desc {
    color: var(--text-dim);
    line-height: 1.8;
    font-size: 1rem;
}

/* Chords Grid */
.ls-chords-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 1rem;
}

.ls-chord-card {
    background: linear-gradient(135deg, rgba(217, 70, 239, 0.15), rgba(239, 68, 68, 0.15));
    border: 2px solid rgba(217, 70, 239, 0.35);
    border-radius: 14px;
    padding: 1.2rem;
    text-align: center;
    transition: all 0.3s;
}
.ls-chord-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: 0 8px 24px rgba(217, 70, 239, 0.4);
}
.ls-chord-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
    font-family: 'Space Grotesk', sans-serif;
}
.ls-chord-type {
    font-size: 0.78rem;
    color: var(--text-dim);
    margin-top: 0.2rem;
}

/* Tabs Box */
.ls-tabs-box {
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(217, 70, 239, 0.2);
    border-radius: 10px;
    padding: 1.3rem 1.5rem;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    color: var(--text-dim);
    line-height: 1.9;
    white-space: pre-wrap;
    overflow-x: auto;
    /* ── Inner scroll: page stays fixed, tabs box scrolls internally ── */
    max-height: min(60vh, 520px);
    overflow-y: auto;
    overscroll-behavior: contain;
}

/* Practice Notes in Detail */
.ls-notes-list {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.ls-note-item {
    background: rgba(217, 70, 239, 0.08);
    border-left: 3px solid #d946ef;
    border-radius: 8px;
    padding: 0.6rem 0.9rem;
    font-size: 0.88rem;
    color: var(--text-dim);
}
.ls-note-date {
    font-size: 0.72rem;
    color: #d946ef;
    margin-bottom: 0.2rem;
    font-weight: 600;
}
.ls-note-empty {
    color: var(--text-dim);
    font-size: 0.88rem;
    font-style: italic;
}

/* ── MOBILE ──────────────────────────────────────────────────── */
@media (max-width: 768px) {
    /* TASK 4B: Modal must sit below ticker(26px) + app-header(55px) = 81px */
    .ls-detail-modal {
        top: 81px;
        left: 0;
        padding: 1.2rem 1rem 5rem;
        /* Ensure it never overlaps the fixed app-header above it */
        max-height: calc(100dvh - 81px);
    }
    /* Close button: show on mobile, repositioned to top of modal */
    .ls-detail-close {
        display: flex;
        position: sticky;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        height: 44px;
        border-radius: 0;
        background: rgba(10, 5, 20, 0.92);
        border-bottom: 1px solid rgba(217, 70, 239, 0.2);
        justify-content: flex-start;
        align-items: center;
        padding: 0 1rem;
        gap: 0.5rem;
        font-size: 0.9rem;
        font-family: 'Outfit', sans-serif;
        font-weight: 600;
        color: rgba(217, 70, 239, 0.9);
        box-shadow: none;
        z-index: 502;
        margin-bottom: 0.5rem;
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
    }
    .ls-detail-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1.2rem;
    }
    .ls-detail-thumb-wrap {
        width: 100%;
        max-width: 320px;
        aspect-ratio: 1 / 1;
        align-self: center;
    }
    .ls-detail-thumb-wrap.ls-wrap-playing {
        width: 100%;
        max-width: 320px;
        aspect-ratio: 16 / 9;
    }
    .ls-detail-thumb {
        width: 100%;
        height: 100%;
    }
    .ls-detail-title { font-size: 1.8rem; }
    .ls-detail-tags { justify-content: center; }
    .ls-detail-actions {
        justify-content: center;
        gap: 0.65rem;
    }
    /* TASK 4C: Timeline — clear separation from buttons above it */
    .ls-timeline-bar {
        margin-top: 1rem;
        padding: 0 0.25rem;  /* slight inset so thumb never clips edges */
    }
    /* On narrow screens the divider becomes a full-width row break */
    .ls-action-divider {
        width: 100%;
        height: 1px;
        margin: 0.1rem 0;
    }
    .ls-grid {
        grid-template-columns: 1fr;
    }
    .ls-filter-bar {
        gap: 0.4rem;
    }
    .ls-filter-btn {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }
    /* Tabs inner scroll: shorter on mobile to leave room for player + actions */
    .ls-tabs-box {
        max-height: 55vh;
    }
}

/* ================================================================
   SURPRISE / RECENTLY UPDATED BUTTON
   Premium glowing gradient button in Practice Songs header
   ================================================================ */

.ls-surprise-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 1.2rem;
    background: linear-gradient(135deg, #d946ef 0%, #a855f7 60%, #7c3aed 100%);
    border: none;
    border-radius: 50px;
    color: #fff;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    float: right;
    margin-top: 0.5rem;
    position: relative;
    box-shadow:
        0 0 18px rgba(217, 70, 239, 0.55),
        0 4px 20px rgba(168, 85, 247, 0.35),
        inset 0 1px 0 rgba(255,255,255,0.15);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    animation: lsSurprisePulse 2.8s ease-in-out infinite;
}

.ls-surprise-btn:hover {
    transform: translateY(-2px) scale(1.04);
    box-shadow:
        0 0 28px rgba(217, 70, 239, 0.75),
        0 8px 28px rgba(168, 85, 247, 0.5),
        inset 0 1px 0 rgba(255,255,255,0.2);
    animation: none; /* pause pulse on hover so glow stays bright */
}

.ls-surprise-btn:active {
    transform: translateY(0) scale(0.98);
}

.ls-surprise-icon {
    font-size: 1rem;
    display: inline-block;
    animation: lsSpinStar 4s linear infinite;
}

@keyframes lsSurprisePulse {
    0%, 100% { box-shadow: 0 0 14px rgba(217,70,239,0.45), 0 4px 16px rgba(168,85,247,0.3), inset 0 1px 0 rgba(255,255,255,0.15); }
    50%       { box-shadow: 0 0 26px rgba(217,70,239,0.75), 0 6px 24px rgba(168,85,247,0.5), inset 0 1px 0 rgba(255,255,255,0.2); }
}

@keyframes lsSpinStar {
    0%   { transform: rotate(0deg) scale(1); }
    50%  { transform: rotate(180deg) scale(1.15); }
    100% { transform: rotate(360deg) scale(1); }
}


/* ================================================================
   RANDOM PICK MODAL — Premium upgrade
   ================================================================ */

.ls-random-modal-backdrop {
    /* Override generic .modal display — keep base .modal show/hide behaviour */
    backdrop-filter: blur(12px) !important;
    background: rgba(5, 0, 20, 0.82) !important;
}

.ls-random-modal-content {
    position: relative;
    background: linear-gradient(145deg, #1a0a2e 0%, #110720 55%, #0d0518 100%);
    border: 2px solid rgba(217, 70, 239, 0.55);
    border-radius: 24px;
    padding: 2.8rem 2.4rem 2.2rem;
    width: 100%;
    max-width: 420px;
    margin: 1rem;
    text-align: center;
    box-shadow:
        0 0 60px rgba(217, 70, 239, 0.3),
        0 30px 80px rgba(5, 0, 20, 0.7),
        inset 0 1px 0 rgba(255,255,255,0.06);
    animation: lsModalScaleIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes lsModalScaleIn {
    from { opacity: 0; transform: scale(0.82) translateY(20px); }
    to   { opacity: 1; transform: scale(1)    translateY(0); }
}

.ls-random-close {
    position: absolute;
    top: 1rem;
    right: 1.1rem;
    background: none;
    border: none;
    color: rgba(196, 181, 212, 0.7);
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    transition: color 0.2s, transform 0.2s;
}
.ls-random-close:hover {
    color: #d946ef;
    transform: scale(1.15);
}

.ls-random-header {
    margin-bottom: 1.8rem;
}

.ls-random-dice {
    font-size: 3.2rem;
    margin-bottom: 0.4rem;
    display: inline-block;
    animation: lsDiceBounce 0.6s ease;
}

@keyframes lsDiceBounce {
    0%   { transform: scale(0.4) rotate(-15deg); opacity: 0; }
    60%  { transform: scale(1.15) rotate(8deg); opacity: 1; }
    100% { transform: scale(1) rotate(0deg); }
}

.ls-random-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(90deg, #d946ef, #a855f7, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
}

.ls-random-song-wrap {
    background: rgba(217, 70, 239, 0.07);
    border: 1px solid rgba(217, 70, 239, 0.25);
    border-radius: 16px;
    padding: 1.4rem 1.6rem;
    margin-bottom: 1.8rem;
}

.ls-random-song-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 0.35rem;
}

.ls-random-artist {
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    color: rgba(196, 181, 212, 0.85);
    margin: 0 0 0.4rem;
}

.ls-random-meta {
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    color: rgba(217, 70, 239, 0.8);
    margin: 0;
    font-weight: 600;
}

.ls-random-cta {
    width: 100%;
    padding: 0.9rem 1.5rem;
    background: linear-gradient(135deg, #d946ef 0%, #a855f7 100%);
    border: none;
    border-radius: 50px;
    color: #fff;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 6px 24px rgba(217, 70, 239, 0.5);
    transition: transform 0.2s, box-shadow 0.2s;
    margin-bottom: 1rem;
}
.ls-random-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 32px rgba(217, 70, 239, 0.65);
}

.ls-random-hint {
    font-family: 'Outfit', sans-serif;
    font-size: 0.82rem;
    color: rgba(196, 181, 212, 0.5);
    margin: 0;
    transition: color 0.2s;
}
.ls-random-hint:hover {
    color: rgba(217, 70, 239, 0.8);
}

/* Mobile */
@media (max-width: 480px) {
    .ls-random-modal-content {
        padding: 2.2rem 1.5rem 1.8rem;
    }
    .ls-random-song-name {
        font-size: 1.3rem;
    }
    .ls-surprise-btn {
        font-size: 0.7rem;
        padding: 0.45rem 0.9rem;
    }
}

/* ================================================================
   WEEKLY CHALLENGE BADGE — on song cards in Learn Songs grid
   ================================================================ */

/* Wrapper — sits over the thumbnail, top-left corner */
.ls-weekly-badge-wrap {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 2;
    pointer-events: none;
}

/* Badge pill */
.ls-weekly-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.22rem 0.65rem;
    background: linear-gradient(135deg, rgba(217,70,239,0.92), rgba(168,85,247,0.92));
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.67rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.3px;
    white-space: nowrap;
    box-shadow: 0 2px 10px rgba(217, 70, 239, 0.5);
    backdrop-filter: blur(4px);
}

/* Subtle border glow on the card itself when it's the challenge song */
.ls-card--challenge {
    border-color: rgba(217, 70, 239, 0.5) !important;
    box-shadow:
        0 0 0 1.5px rgba(217, 70, 239, 0.25),
        0 4px 20px rgba(168, 85, 247, 0.2);
}

/* Make sure ls-thumb-wrap is position:relative for badge to overlay */
.ls-thumb-wrap {
    position: relative;
}

/* ================================================================
   DAILY 3-MINUTE CHALLENGE CARD
   Sits above song grid in Practice section.
   All classes prefixed dc- to avoid conflicts.
   ================================================================ */

/* ── Outer card ─────────────────────────────────────────────────── */
.dc-card {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg,
        rgba(30,10,60,0.97) 0%,
        rgba(20,5,45,0.98) 60%,
        rgba(28,8,50,0.97) 100%);
    border: 1.5px solid rgba(217,70,239,0.4);
    border-radius: 18px;
    padding: 1.4rem 1.6rem;
    margin-bottom: 1.6rem;
    box-shadow:
        0 0 0 1px rgba(168,85,247,0.1),
        0 8px 36px rgba(168,85,247,0.18),
        0 2px 6px rgba(0,0,0,0.35);
    transition: border-color 0.3s, box-shadow 0.3s;
    animation: dc-enter 0.45s cubic-bezier(0.34,1.4,0.64,1) both;
}

@keyframes dc-enter {
    from { opacity:0; transform:translateY(-10px); }
    to   { opacity:1; transform:translateY(0);     }
}

.dc-card:hover {
    border-color: rgba(217,70,239,0.6);
    box-shadow:
        0 0 0 1px rgba(168,85,247,0.18),
        0 12px 46px rgba(168,85,247,0.25),
        0 2px 6px rgba(0,0,0,0.35);
}

/* Decorative glow orb */
.dc-card-orb {
    position: absolute;
    top: -50px; right: -50px;
    width: 180px; height: 180px;
    background: radial-gradient(circle, rgba(168,85,247,0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* ── Label row ──────────────────────────────────────────────────── */
.dc-label-row {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 0.9rem;
    flex-wrap: wrap;
}

.dc-pill {
    display: inline-block;
    background: linear-gradient(135deg, rgba(217,70,239,0.28), rgba(168,85,247,0.22));
    border: 1px solid rgba(217,70,239,0.48);
    border-radius: 50px;
    padding: 0.22rem 0.85rem;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.76rem;
    font-weight: 700;
    color: #e879f9;
    letter-spacing: 0.3px;
}

/* Difficulty badges */
.dc-diff-badge {
    font-family: 'Outfit', sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.18rem 0.65rem;
    border-radius: 50px;
    border: 1px solid;
}
.dc-diff-beginner    { color: #4ade80; border-color: rgba(74,222,128,0.4); background: rgba(74,222,128,0.08); }
.dc-diff-intermediate{ color: #f59e0b; border-color: rgba(245,158,11,0.4); background: rgba(245,158,11,0.08); }
.dc-diff-advanced    { color: #ef4444; border-color: rgba(239,68,68,0.4);  background: rgba(239,68,68,0.08);  }

/* ── Body — text + CTA ──────────────────────────────────────────── */
.dc-body {
    display: flex;
    align-items: flex-end;
    gap: 1.4rem;
    flex-wrap: wrap;
}

.dc-text { flex: 1; min-width: 0; }

.dc-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.05rem, 2.8vw, 1.3rem);
    font-weight: 800;
    background: linear-gradient(90deg, #f0e7ff 0%, #d946ef 55%, #a855f7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0 0 0.4rem;
    line-height: 1.25;
}

.dc-desc {
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    color: rgba(196,181,212,0.75);
    line-height: 1.55;
    margin: 0 0 0.5rem;
    max-width: 500px;
}

.dc-time-hint {
    font-family: 'Outfit', sans-serif;
    font-size: 0.73rem;
    color: rgba(196,181,212,0.42);
    margin: 0;
}

/* ── CTA ────────────────────────────────────────────────────────── */
.dc-cta-wrap { flex-shrink: 0; }

.dc-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.65rem 1.45rem;
    background: linear-gradient(135deg, #d946ef, #a855f7);
    border: none;
    border-radius: 50px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.88rem;
    font-weight: 700;
    color: #fff;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: 0 4px 18px rgba(217,70,239,0.42);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
    letter-spacing: 0.2px;
}

.dc-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(217,70,239,0.58);
}

.dc-cta-btn:active {
    transform: translateY(0);
    opacity: 0.9;
}

/* ── Mobile ─────────────────────────────────────────────────────── */
@media (max-width: 600px) {
    .dc-card {
        padding: 0.85rem 1rem;
        margin-bottom: 1rem;
        border-radius: 14px;
    }

    /* Hide decorative orb on mobile to save space */
    .dc-card-orb { display: none; }

    /* Label row — keep on one line, smaller */
    .dc-label-row {
        gap: 0.35rem;
        margin-bottom: 0.6rem;
        flex-wrap: nowrap;
        align-items: center;
    }

    .dc-pill {
        font-size: 0.66rem;
        padding: 0.14rem 0.6rem;
        white-space: nowrap;
    }

    .dc-diff-badge {
        font-size: 0.63rem;
        padding: 0.12rem 0.45rem;
        white-space: nowrap;
    }

    /* Body — side by side: text left, button right */
    .dc-body {
        flex-direction: row;
        align-items: center;
        gap: 0.75rem;
        flex-wrap: nowrap;
    }

    .dc-text {
        flex: 1;
        min-width: 0; /* allows text to shrink */
    }

    .dc-title {
        font-size: 0.95rem;
        margin-bottom: 0.2rem;
        /* Let it wrap naturally — don't truncate */
        white-space: normal;
        line-height: 1.3;
        -webkit-text-fill-color: unset;
        background: linear-gradient(90deg, #f0e7ff 0%, #d946ef 55%, #a855f7 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    .dc-desc {
        font-size: 0.75rem;
        line-height: 1.4;
        margin-bottom: 0.2rem;
        color: rgba(196,181,212,0.7);
        /* Max 2 lines */
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .dc-time-hint {
        font-size: 0.65rem;
        margin: 0;
    }

    /* CTA — compact vertical button on the right */
    .dc-cta-wrap {
        flex-shrink: 0;
        width: auto;
    }

    .dc-cta-btn {
        flex-direction: column;
        gap: 0.05rem;
        padding: 0.55rem 0.85rem;
        font-size: 0.75rem;
        white-space: nowrap;
        width: auto;
        line-height: 1.25;
        justify-content: center;
        min-width: 90px;
    }
}

/* ================================================================
   CHORD HIGHLIGHT — Guided Playback (lsYouTube.js)
   Applied via JS: .ls-chord-card.ls-chord-active
   ================================================================ */

.ls-chord-card {
    /* Ensure transition covers the new active state properties */
    transition: all 0.18s ease;   /* tightened from 0.3s for snappier sync */
}

/* Active chord — illuminates when song plays this chord */
.ls-chord-card.ls-chord-active {
    transform: translateY(-3px);
    border-color: rgba(168, 85, 247, 0.8);
    box-shadow:
        0 0 0 2px rgba(168, 85, 247, 0.35),
        0 6px 20px rgba(168, 85, 247, 0.25);
    background: linear-gradient(
        135deg,
        rgba(168, 85, 247, 0.2),
        rgba(217, 70, 239, 0.18)
    );
}

/* Active chord name gets a brightness boost */
.ls-chord-card.ls-chord-active .ls-chord-name {
    color: #e879f9;    /* slightly brighter than --primary for pop */
}

/* Subtle pulse animation on initial activation */
@keyframes lsChordPop {
    0%   { transform: translateY(-3px) scale(1); }
    40%  { transform: translateY(-4px) scale(1.04); }
    100% { transform: translateY(-3px) scale(1); }
}
.ls-chord-card.ls-chord-active {
    animation: lsChordPop 0.18s ease forwards;
}

/* Mobile — keep lift but reduce intensity */
@media (max-width: 600px) {
    .ls-chord-card.ls-chord-active {
        transform: translateY(-2px);
    }
}

/* ================================================================
   TIMELINE SLIDER — Chordify-style progress bar
   Sits below the action bar; hidden until a song is loaded.
   ================================================================ */

.ls-timeline-bar {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-top: 0.85rem;
    width: 100%;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

/* Visible state — toggled by JS when player starts */
.ls-timeline-bar.ls-timeline-visible {
    opacity: 1;
    pointer-events: auto;
}

.ls-timeline-time {
    font-size: 0.72rem;
    font-weight: 600;
    color: rgba(255,255,255,0.55);
    letter-spacing: 0.02em;
    min-width: 2.8rem;
    text-align: center;
    font-variant-numeric: tabular-nums;
    user-select: none;
}

/* ── Track ────────────────────────────────────────────────────── */
.ls-timeline-track {
    flex: 1;
    height: 6px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    position: relative;
    cursor: pointer;
    touch-action: none; /* allow custom touch handling */
    transition: height 0.15s ease;
}
.ls-timeline-track:hover,
.ls-timeline-track:focus {
    height: 8px;
    outline: none;
}

/* ── Fill (progress) ──────────────────────────────────────────── */
.ls-timeline-fill {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #a855f7, #7c3aed);
    border-radius: 999px;
    transition: width 0.18s linear;
    pointer-events: none;
}

/* ── Draggable thumb ─────────────────────────────────────────── */
.ls-timeline-thumb {
    position: absolute;
    top: 50%;
    left: 0%;
    transform: translate(-50%, -50%);
    width: 14px;
    height: 14px;
    background: #a855f7;
    border: 2px solid rgba(255,255,255,0.9);
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(168, 85, 247, 0.6);
    cursor: grab;
    transition: width 0.15s ease, height 0.15s ease, box-shadow 0.15s ease;
    pointer-events: none; /* track handles the events */
}
.ls-timeline-track:hover .ls-timeline-thumb,
.ls-timeline-track:focus .ls-timeline-thumb,
.ls-timeline-track.ls-timeline-dragging .ls-timeline-thumb {
    width: 18px;
    height: 18px;
    box-shadow: 0 0 14px rgba(168, 85, 247, 0.85);
}
.ls-timeline-track.ls-timeline-dragging {
    cursor: grabbing;
}
/* Disable fill transition while dragging for instant feedback */
.ls-timeline-track.ls-timeline-dragging .ls-timeline-fill {
    transition: none;
}

/* ── Mobile ───────────────────────────────────────────────────── */
@media (max-width: 600px) {
    .ls-timeline-bar {
        gap: 0.45rem;
        margin-top: 0.7rem;
    }
    .ls-timeline-time {
        font-size: 0.68rem;
        min-width: 2.4rem;
    }
    .ls-timeline-track {
        height: 8px; /* easier to tap on mobile */
    }
    .ls-timeline-thumb {
        width: 18px;
        height: 18px;
    }
}



/* ── Phase-2: Locked Song Cards ──────────────────────────────────── */
.ls-card--locked {
    opacity: 0.55;
    cursor: not-allowed;
    pointer-events: none;
    filter: grayscale(0.6);
}
.ls-thumb-wrap--locked {
    background: rgba(0,0,0,0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    border-radius: 10px 10px 0 0;
}
.ls-locked-overlay {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    padding: 1.4rem;
}
.ls-lock-icon {
    font-size: 2rem;
    opacity: 0.7;
}
.ls-locked-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255,255,255,0.55);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.ls-card-title--locked {
    color: rgba(255,255,255,0.4);
    font-style: italic;
}
