/* ═══ CSS Variables ═══ */
:root {
    --lc-bg: #0a0a0f;
    --lc-surface: #16161f;
    --lc-surface2: #1e1e2a;
    --lc-border: #2a2a3d;
    --lc-primary: #6c5ce7;
    --lc-primary-glow: rgba(108, 92, 231, 0.35);
    --lc-green: #00b894;
    --lc-green-dark: #00a381;
    --lc-red: #e53e3e;
    --lc-text: #e8e8f0;
    --lc-muted: #888899;
    --lc-overlay: rgba(0,0,0,0.72);
    --lc-safe-bottom: env(safe-area-inset-bottom, 0px);
}

/* ═══ FULLSCREEN MODE — hide theme chrome EXCEPT bottom nav and cart ═══ */
body.lc-fullscreen-active {
    overflow: hidden !important;
}
body.lc-fullscreen-active .navbar,
body.lc-fullscreen-active .mobile-menu-overlay,
body.lc-fullscreen-active footer,
body.lc-fullscreen-active .footer-section,
body.lc-fullscreen-active .header-top,
body.lc-fullscreen-active .site-header {
    display: none !important;
}
body.lc-fullscreen-active .main-content {
    padding: 0 !important;
    margin: 0 !important;
    max-width: none !important;
}
/* Mobile bottom nav: HIDE during live fullscreen — lc-bottom-bar replaces it */
body.lc-fullscreen-active .mobile-bottom-nav {
    display: none !important;
}
/* Cart sidebar must work over fullscreen for live shopping */
body.lc-fullscreen-active .cart-sidebar {
    z-index: 10010 !important;
}
body.lc-fullscreen-active .cart-overlay {
    z-index: 10009 !important;
}
/* Mobile search overlay above fullscreen */
body.lc-fullscreen-active .mobile-search-overlay {
    z-index: 10008 !important;
}

/* ═══ Fullscreen: lock body, prevent scroll/zoom ═══ */
html.lc-live-page, body.lc-fullscreen-active {
    overflow-x: hidden !important;
}
body.lc-fullscreen-active {
    /* position:fixed odstránené — blokuje pull-to-refresh na mobile */
    touch-action: manipulation;
    -webkit-overflow-scrolling: auto;
}
#lc-fullscreen {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100%; /* 100% nie 100vw — vylúči scrollbar width na Androide */
    height: 100vh;
    height: 100dvh;
    background: #000;
    z-index: 9999;
    overflow: hidden;
}
#lc-fs-video {
    touch-action: none;
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    background: #000;
    touch-action: none;
    -webkit-user-select: none;
    user-select: none;
    pointer-events: none;
}
/* Mobile: hide ALL chrome, video fills screen above bottom nav */
@media (max-width: 767px) {
    body.lc-fullscreen-active .giga-navbar,
    body.lc-fullscreen-active .navbar,
    body.lc-fullscreen-active #mainNavbar,
    body.lc-fullscreen-active .main-content > *:not(#lc-fullscreen):not(#lc-normal-section):not(#lc-inline-auth):not(script) {
        display: none !important;
    }
    /* Full height — mobile-bottom-nav is hidden during live */
    #lc-fullscreen {
        height: 100vh;
        height: 100dvh;
    }
    /* Bottom bar flush at bottom with safe area */
    #lc-bottom-bar {
        bottom: 0 !important;
        padding-bottom: calc(8px + env(safe-area-inset-bottom, 0px)) !important;
    }
}

/* ═══ Desktop: ALWAYS fullscreen immersive (like FB/IG Live) ═══ */
@media (min-width: 768px) {
    #lc-fullscreen {
        position: fixed;
        top: 0; left: 0;
        width: 100vw;
        height: 100dvh;
        max-width: none;
        aspect-ratio: auto;
        border-radius: 0;
        z-index: 9999;
        margin: 0;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    #lc-fs-video {
        position: relative;
        width: auto;
        height: 100dvh;
        aspect-ratio: 9/16;
        max-width: 100vw;
        object-fit: cover;
    }
    /* Desktop — already fullscreen, hide toggle */
    @media (min-width: 768px) { .lc-fab-fullscreen-toggle { display: none !important; } }
    /* Show close button */
    #lc-fab-close { display: flex; }
    /* Hide normal section when live */
    #lc-fullscreen.lc-live-active ~ #lc-normal-section { display: none !important; }

    /* Constrain overlays to video width */
    #lc-fullscreen #lc-unmute-overlay,
    #lc-fullscreen #lc-comments-float,
    #lc-fullscreen #lc-product-card,
    #lc-fullscreen #lc-bottom-bar,
    #lc-fullscreen #lc-comment-expand {
        max-width: calc(100dvh * 9 / 16);
        left: 50% !important;
        transform: translateX(-50%);
    }
    #lc-fullscreen #lc-fab-stack {
        right: calc(50% - (100dvh * 9 / 16 / 2) + 12px) !important;
    }

    /* ═══ VOD expanded — wider container on desktop ═══ */
    #lc-fullscreen.lc-vod-active {
        position: relative;
        max-width: 800px;
        height: auto;
        overflow: visible;
        margin: 0 auto 32px;
    }
    #lc-fullscreen.lc-vod-active #lc-fs-video { display: none; }
    #lc-fullscreen.lc-vod-active #lc-unmute-overlay,
    #lc-fullscreen.lc-vod-active #lc-gradient-top,
    #lc-fullscreen.lc-vod-active #lc-gradient-bottom,
    #lc-fullscreen.lc-vod-active #lc-top-bar,
    #lc-fullscreen.lc-vod-active #lc-fab-stack,
    #lc-fullscreen.lc-vod-active #lc-product-card,
    #lc-fullscreen.lc-vod-active #lc-bottom-bar,
    #lc-fullscreen.lc-vod-active #lc-comment-expand,
    #lc-fullscreen.lc-vod-active #lc-comments-float,
    #lc-fullscreen.lc-vod-active .lc-gradient-top,
    #lc-fullscreen.lc-vod-active .lc-gradient-bottom,
    #lc-fullscreen.lc-vod-active .lc-fab-fullscreen-toggle {
        display: none !important;
    }
    #lc-fullscreen.lc-vod-active .lc-vod-player-wrap {
        max-width: 420px;
        aspect-ratio: 9/16;
        max-height: 80vh;
        margin: 0 auto 24px;
    }
}

/* ═══ Unmute overlay ═══ */
#lc-unmute-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    cursor: pointer; z-index: 10;
    background: rgba(0,0,0,.3);
}
#lc-unmute-overlay.hidden { display: none; }
.lc-unmute-circle {
    background: rgba(255,255,255,.95);
    border-radius: 50%;
    width: 72px; height: 72px;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 20px rgba(0,0,0,.3);
}
.lc-unmute-text {
    color: #fff; font-weight: 700; font-size: 15px;
    margin-top: 16px;
    text-shadow: 0 2px 8px rgba(0,0,0,.5);
}

/* ═══ Gradients for readability ═══ */
.lc-gradient-top {
    position: absolute; top: 0; left: 0; right: 0;
    height: 120px;
    background: linear-gradient(to bottom, rgba(0,0,0,.6), transparent);
    pointer-events: none; z-index: 5;
}
.lc-gradient-bottom {
    position: absolute; bottom: 0; left: 0; right: 0;
    height: 280px;
    background: linear-gradient(to top, rgba(0,0,0,.7), transparent);
    pointer-events: none; z-index: 5;
}

/* ═══ Top bar — FB Live style ═══ */
#lc-top-bar {
    position: absolute; top: 0; left: 0; right: 0;
    display: flex; align-items: center; justify-content: space-between;
    padding: 12px 16px;
    padding-top: max(12px, env(safe-area-inset-top, 0px));
    background: linear-gradient(to bottom, rgba(0,0,0,.55) 0%, rgba(0,0,0,.25) 60%, transparent 100%);
    z-index: 20;
    pointer-events: none;
}
#lc-top-bar > * { pointer-events: auto; }
.lc-top-left {
    display: flex; align-items: center; gap: 8px;
}
.lc-top-right {
    display: flex; align-items: center; gap: 8px;
}
.lc-top-close {
    background: rgba(0,0,0,.4); border: none; color: #fff;
    width: 36px; height: 36px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transition: background .15s;
}
.lc-top-close:hover { background: rgba(255,255,255,.15); }
#lc-gm-banner {
    position: absolute; top: 0; left: 0;
    width: 100%; box-sizing: border-box;
    background: rgba(220,220,220,.55);
    padding: 10px 14px;
    z-index: 20;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    -webkit-font-smoothing: antialiased;
}
/* Effects layer — for future: countdown, lower-third, confetti, etc. */
#lc-effects-layer {
    position: absolute; inset: 0; pointer-events: none; z-index: 25; overflow: hidden;
}
@keyframes lcConfettiFall { to { transform: translateY(110vh) rotate(720deg); opacity: 0; } }
@keyframes lcBannerIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
#lc-gm-banner-code {
    font-size: 22px; font-weight: 800; color: #111;
    line-height: 1.3;
}
#lc-gm-banner-variants {
    font-size: 13px; font-weight: 500; color: #333;
    line-height: 1.4; margin-top: 2px;
}
#lc-gm-banner-product {
    font-size: 13px; font-weight: 500; color: #333;
    line-height: 1.4; margin-top: 1px;
}
#lc-gm-banner-price {
    font-size: 14px; font-weight: 700; color: #111;
    line-height: 1.4; margin-top: 1px;
}
/* Selmo-style banner - no marquee needed */
.gm-howto-text {
    font-size: 11px; color: rgba(255,255,255,.85);
    font-weight: 600;
    letter-spacing: 0.03em;
    animation: howto-pulse 3s ease-in-out infinite;
}
.gm-howto-text strong {
    color: #22c55e; font-weight: 800;
    padding: 1px 6px; border-radius: 4px;
    background: rgba(34,197,94,.15);
}
@keyframes howto-pulse {
    0%, 100% { opacity: .8; }
    50% { opacity: 1; }
}
.lc-live-badge {
    background: var(--lc-red);
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
    letter-spacing: .5px;
}
.lc-live-dot {
    width: 8px; height: 8px;
    background: #fff;
    border-radius: 50%;
    animation: lc-pulse 1.2s infinite;
}
.lc-viewers-pill {
    background: rgba(0,0,0,.6);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: #fff; font-size: 13px;
    padding: 4px 12px; border-radius: 20px;
    display: flex; align-items: center; gap: 5px;
}
.lc-latency-pill {
    background: rgba(0,0,0,.6);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: rgba(255,255,255,.85); font-size: 11px;
    padding: 4px 10px; border-radius: 20px;
    display: flex; align-items: center; gap: 4px;
    font-variant-numeric: tabular-nums;
}

/* ═══ Floating action buttons (right side) ═══ */
#lc-fab-stack {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    display: flex; flex-direction: column;
    gap: 12px;
    z-index: 20;
}
.lc-fab {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: rgba(0,0,0,.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,.15);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    transition: background .2s, transform .1s;
    position: relative;
}
.lc-fab:hover { background: rgba(255,255,255,.2); }
.lc-fab:active { transform: scale(.92); }
.lc-fab svg { stroke: #fff; }
/* Volume slider panel */
#lc-vol-slider-panel {
    display: none;
    position: absolute;
    top: 52px; right: 0;
    width: 44px;
    background: rgba(0,0,0,.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 22px;
    padding: 12px 0;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 8px;
    z-index: 30;
}
#lc-vol-slider-panel.open { display: flex; }
.lc-vol-track {
    width: 4px; height: 80px;
    background: rgba(255,255,255,.2);
    border-radius: 2px;
    position: relative;
    cursor: pointer;
    touch-action: none;
}
.lc-vol-fill {
    position: absolute; bottom: 0; left: 0; right: 0;
    background: #fff;
    border-radius: 2px;
    transition: height .05s;
}
.lc-vol-thumb {
    position: absolute;
    left: 50%; transform: translateX(-50%);
    width: 14px; height: 14px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 1px 4px rgba(0,0,0,.5);
    cursor: grab;
}
.lc-fab-badge {
    position: absolute; top: -4px; right: -4px;
    background: var(--lc-red); color: #fff;
    font-size: 10px; font-weight: 700;
    min-width: 18px; height: 18px;
    border-radius: 9px;
    display: none;
    align-items: center; justify-content: center;
    padding: 0 4px;
}
.lc-fab-badge.visible { display: flex; }

/* ═══ Comments — Facebook Live style ═══ */
#lc-comments-float {
    position: absolute;
    bottom: 56px; left: 0; right: 60px;
    max-height: 240px;
    overflow: hidden;
    display: flex; flex-direction: column;
    justify-content: flex-end;
    gap: 0; padding: 0 12px 0 10px;
    z-index: 18;
    pointer-events: none;
}
#lc-comments-float .lc-fc-item { pointer-events: auto; }
#lc-comments-float.hidden { display: none; }
#lc-comments-float.lc-fc-expanded {
    max-height: 55vh;
    overflow-y: auto; overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    justify-content: flex-start;
    pointer-events: auto;
    mask-image: linear-gradient(transparent 0%, black 8%);
    -webkit-mask-image: linear-gradient(transparent 0%, black 8%);
}
#lc-comments-float.lc-fc-expanded::-webkit-scrollbar { display: none; }

/* Toggle: show/hide + expand — skrytý, nahradený FAB šípkou */
#lc-fc-ctrl {
    display: none !important;
}
#lc-fc-ctrl button {
    pointer-events: auto;
    background: rgba(255,255,255,.12);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    color: rgba(255,255,255,.85);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 20px;
    padding: 5px 14px;
    font-size: 11px; font-weight: 600;
    cursor: pointer;
    transition: all .2s;
    white-space: nowrap;
}
#lc-fc-ctrl button:active { transform: scale(.95); }
#lc-fc-ctrl button:hover { background: rgba(255,255,255,.18); color: #fff; }
#lc-fc-toggle { display: none; }

/* Comment item */
.lc-fc-item {
    display: flex; align-items: flex-start; gap: 10px;
    padding: 8px 14px 8px 10px;
    margin-bottom: 2px;
    background: rgba(0,0,0,.18);
    border-radius: 14px;
    width: 100%;
    animation: lcFcIn .35s cubic-bezier(.16,1,.3,1);
    pointer-events: auto;
    flex-shrink: 0;
    transition: background .2s;
}
.lc-fc-item:active { background: rgba(255,255,255,.06); }

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

/* Avatar */
.lc-fc-avatar {
    width: 32px; height: 32px; border-radius: 50%;
    background: linear-gradient(145deg, #6c5ce7, #a855f7);
    display: flex; align-items: center; justify-content: center;
    font-size: 13px; font-weight: 700; flex-shrink: 0;
    color: #fff;
    box-shadow: 0 2px 8px rgba(108,92,231,.3);
}

/* Content */
.lc-fc-content { flex: 1; min-width: 0; }
.lc-fc-name {
    font-size: 13px; font-weight: 700;
    color: rgba(255,255,255,.9);
    line-height: 1.3;
    display: flex; align-items: center; gap: 6px;
}
.lc-fc-reply-to {
    font-weight: 500; font-size: 11px;
    color: rgba(255,255,255,.4);
}
.lc-fc-msg {
    font-size: 14px; line-height: 1.4;
    color: #fff;
    word-break: break-word;
    margin-top: 1px;
}

/* Actions — show on hover/tap */
.lc-fc-actions {
    display: flex; align-items: center; gap: 4px;
    margin-top: 4px;
    opacity: 0; height: 0; overflow: hidden;
    transition: opacity .2s, height .2s;
}
.lc-fc-item:hover .lc-fc-actions,
.lc-fc-item.active .lc-fc-actions {
    opacity: 1; height: auto;
}
.lc-fc-action {
    background: rgba(255,255,255,.08); border: none;
    color: rgba(255,255,255,.6);
    font-size: 12px; cursor: pointer;
    padding: 3px 10px; border-radius: 12px;
    -webkit-tap-highlight-color: transparent;
    transition: all .15s;
}
.lc-fc-action:hover { background: rgba(255,255,255,.15); color: #fff; }
.lc-fc-like-btn { font-size: 14px; padding: 2px 8px; }
.lc-fc-like-btn.liked { background: rgba(239,68,68,.15); color: #f87171; }

/* GM code */
.lc-fc-item.is-gm {
    background: rgba(253,203,110,.12);
    border-left: 3px solid rgba(253,203,110,.5);
}
.lc-fc-item.is-gm .lc-fc-msg { color: #fde68a; font-weight: 600; }

/* ═══ Product card (bottom overlay) ═══ */
#lc-product-card {
    position: fixed; /* fixed = mimo overflow:hidden parent, vždy celé viditeľné */
    bottom: 80px;
    left: 0; right: 0;
    background: rgba(10,10,15,0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(255,255,255,.18);
    border-radius: 16px 16px 0 0;
    padding: 12px 14px 20px;
    z-index: 10050; /* nad #lc-fullscreen z-index:9999 */
    animation: lcSlideUp .25s ease;
    /* NO overflow/scroll — render everything */
}
#lc-product-card-backdrop {
    position: fixed; inset: 0;
    z-index: 10040; /* pod nav (10044) — nav vždy klikateľný */
}
.lc-pc-collapse {
    text-align: center; padding: 4px 0 2px; color: rgba(255,255,255,.5);
    font-size: 14px; cursor: pointer; user-select: none;
}
.lc-pc-collapse:active { color: #fff; }
.lc-pc-inner {
    max-width: 560px; margin: 0 auto;
    display: flex; align-items: center; gap: 12px;
}
.lc-pc-img {
    width: 56px; height: 56px; border-radius: 10px;
    object-fit: cover; flex-shrink: 0;
    background: var(--lc-surface2);
}
.lc-pc-info { flex: 1; min-width: 0; }
.lc-pc-name {
    font-size: 0.85rem; font-weight: 600; color: #fff;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.lc-pc-price {
    font-size: 0.95rem; font-weight: 700;
    color: var(--lc-green); margin-top: 2px;
}
.lc-pc-add-btn {
    padding: 10px 18px; border-radius: 10px;
    background: var(--lc-green); color: #fff;
    border: none; font-size: 0.82rem; font-weight: 700;
    cursor: pointer; white-space: nowrap;
    transition: background .15s, transform .1s;
    flex-shrink: 0;
}
.lc-pc-add-btn:hover { background: var(--lc-green-dark); }
.lc-pc-add-btn:active { transform: scale(.97); }

/* Variant selector sheet */
#lc-variant-sheet {
    padding-top: 8px;
    border-top: 1px solid rgba(255,255,255,.08);
    margin-top: 8px;
}
.lc-variant-list {
    display: flex; flex-direction: column; gap: 6px;
    margin-bottom: 8px;
    /* NO max-height / scroll — render all variants */
}
.lc-var-row {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 12px; border-radius: 12px;
    border: 1px solid var(--lc-border);
    background: var(--lc-surface2);
    transition: border-color .15s, background .15s;
    cursor: pointer;
    min-height: 48px;
}
.lc-var-row.selected {
    border-color: var(--lc-primary);
    background: var(--lc-primary-glow);
}
.lc-var-name {
    flex: 1; font-size: 0.9rem; font-weight: 600; color: #fff;
}
.lc-var-stock {
    font-size: 0.75rem; color: var(--lc-text-muted, #888); margin-right: 2px;
}
.lc-var-qty {
    display: flex; align-items: center; gap: 6px;
}
.lc-var-qty-btn {
    width: 40px; height: 40px; border-radius: 50%;
    border: 1px solid rgba(255,255,255,.2);
    background: rgba(255,255,255,.1); color: #fff;
    font-size: 1.2rem; font-weight: 600; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    line-height: 1; transition: background .15s, transform .1s;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}
.lc-var-qty-btn:hover { background: rgba(255,255,255,.2); }
.lc-var-qty-btn:active { transform: scale(.9); background: rgba(255,255,255,.25); }
.lc-var-qty-val {
    font-size: 1rem; font-weight: 700; min-width: 24px; text-align: center; color: #fff;
}
.lc-variant-confirm-btn {
    width: 100%;
    padding: 15px 20px; border-radius: 14px;
    background: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
    color: #fff; border: none;
    font-size: 1rem; font-weight: 700; letter-spacing: .02em;
    cursor: pointer; transition: opacity .15s, transform .1s;
    display: flex; align-items: center; justify-content: center; gap: 8px;
}
.lc-variant-confirm-btn:active { transform: scale(.97); opacity: .9; }
.lc-variant-confirm-btn:disabled { opacity: .45; cursor: default; transform: none; }

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

/* ═══ Bottom action bar (2 pills) ═══ */
#lc-bottom-bar {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    z-index: 30;
    display: flex; align-items: center; gap: 8px;
    padding: 8px 10px;
    padding-bottom: calc(8px + var(--lc-safe-bottom));
    background: linear-gradient(transparent, rgba(0,0,0,.6));
}
.lc-bb-pill {
    display: flex; align-items: center; gap: 6px;
    padding: 10px 16px;
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,.15);
    background: rgba(0,0,0,.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: rgba(255,255,255,.7);
    font-size: 0.82rem; font-weight: 500;
    cursor: pointer;
    transition: background .2s, border-color .2s, color .2s;
    white-space: nowrap;
    overflow: hidden; text-overflow: ellipsis;
    max-width: 50%;
}
.lc-bb-pill:hover { background: rgba(255,255,255,.12); color: #fff; }
.lc-bb-pill:active { transform: scale(.97); }
.lc-bb-pill svg { stroke: currentColor; flex-shrink: 0; }
/* Messenger pill */
.lc-bb-messenger {
    background: rgba(0,132,255,.2);
    border-color: rgba(0,132,255,.45);
    color: #5af;
    text-decoration: none;
    padding: 10px 12px;
}
.lc-bb-messenger:hover { background: rgba(0,132,255,.35); color: #fff; }
.lc-bb-messenger svg { fill: #0084ff; stroke: none; flex-shrink: 0; }
.lc-bb-messenger:hover svg { fill: #fff; }
.lc-bb-msng-text { font-size: 0.78rem; }
@media (max-width: 380px) {
    .lc-bb-msng-text { display: none; }
    .lc-bb-messenger { padding: 10px; }
}
.lc-bb-cart {
    margin-left: auto;
    background: rgba(34,197,94,.2);
    border-color: rgba(34,197,94,.4);
    color: var(--lc-green);
}
.lc-bb-cart:hover { background: rgba(34,197,94,.35); }
.lc-bb-cart.has-product {
    background: rgba(34,197,94,.25);
    border-color: rgba(34,197,94,.6);
    color: #fff;
}
.lc-bb-badge {
    background: var(--lc-red, #e53935); color: #fff;
    font-size: 10px; font-weight: 700;
    min-width: 18px; height: 18px;
    border-radius: 9px;
    display: none;
    align-items: center; justify-content: center;
    padding: 0 4px;
    margin-left: 2px;
}
.lc-bb-badge.visible { display: flex; }
#lc-bb-product-name {
    overflow: hidden; text-overflow: ellipsis;
    max-width: 120px;
}

/* ═══ Expandable comment input ═══ */
#lc-comment-expand {
    position: fixed; /* fixed = nad navom, nie clipped */
    bottom: 58px; /* tesne nad nav barom */
    left: 0; right: 0;
    z-index: 10055; /* nad nav (10044) aj nad product bannerom (10045) */
    background: rgba(10,10,15,0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(255,255,255,.18);
    padding: 12px 12px;
    animation: lcSlideUp .2s ease;
}
#lc-comment-expand-inner {
    display: flex; align-items: center; gap: 8px;
}
#lc-comment-input {
    flex: 1;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 20px;
    padding: 10px 14px;
    color: #fff; font-size: 16px;
    outline: none;
    transition: border-color .15s;
}
#lc-comment-input::placeholder { color: rgba(255,255,255,.4); }
#lc-comment-input:focus { border-color: var(--lc-primary); }
#lc-comment-send {
    background: var(--lc-primary); color: #fff;
    border: none; border-radius: 50%;
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem; cursor: pointer;
    transition: background .15s;
    flex-shrink: 0;
}
#lc-comment-send:hover { background: rgba(108,92,231,.8); }
.lc-comment-login-btn {
    background: var(--lc-primary); color: #fff; border: none;
    border-radius: 20px; padding: 10px 18px; font-size: 14px;
    font-weight: 600; cursor: pointer; width: 100%;
}
.lc-gm-order-toast {
    background: linear-gradient(135deg, #6c5ce7, #a29bfe);
    color: #fff;
    padding: 10px 16px;
    border-radius: 12px;
    font-size: 0.85rem;
    text-align: center;
}
.lc-gm-order-toast a { color: #ffd700; text-decoration: underline; }

/* ═══ Inline Auth Sheet ═══ */
#lc-inline-auth {
    position: fixed; inset: 0;
    z-index: 10200; display: flex; align-items: flex-end; justify-content: center;
}
.lc-ia-backdrop {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,.6); backdrop-filter: blur(4px);
}
.lc-ia-sheet {
    position: relative; z-index: 1;
    width: 100%; max-width: 420px;
    background: var(--lc-surface, #16161f);
    border-radius: 20px 20px 0 0;
    padding: 20px 20px 28px;
    animation: lcIaSlideUp .25s ease-out;
}
@keyframes lcIaSlideUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
.lc-ia-close {
    position: absolute; top: 12px; right: 16px;
    background: none; border: none; color: #888; font-size: 24px; cursor: pointer; line-height: 1;
}
.lc-ia-close:hover { color: #fff; }
.lc-ia-title {
    font-size: 17px; font-weight: 700; color: #fff; text-align: center; margin-bottom: 14px;
}
.lc-ia-tabs {
    display: flex; gap: 0; margin-bottom: 16px; border-bottom: 1px solid var(--lc-border, #2a2a3d);
}
.lc-ia-tab {
    flex: 1; background: none; border: none; border-bottom: 2px solid transparent;
    color: #888; font-size: 14px; font-weight: 600; padding: 8px 0; cursor: pointer; transition: .2s;
}
.lc-ia-tab.active { color: var(--lc-primary, #6c5ce7); border-bottom-color: var(--lc-primary, #6c5ce7); }
.lc-ia-input {
    width: 100%; padding: 12px 14px; border-radius: 10px;
    border: 1px solid var(--lc-border, #2a2a3d);
    background: var(--lc-surface2, #1e1e2a); color: #fff;
    font-size: 15px; margin-bottom: 10px; outline: none; box-sizing: border-box;
}
.lc-ia-input:focus { border-color: var(--lc-primary, #6c5ce7); }
.lc-ia-input::placeholder { color: #666; }
.lc-ia-row { display: flex; gap: 8px; }
.lc-ia-row .lc-ia-input { flex: 1; }
.lc-ia-btn {
    width: 100%; padding: 13px; border: none; border-radius: 10px;
    font-size: 15px; font-weight: 700; color: #fff; cursor: pointer; margin-top: 4px; transition: .2s;
}
.lc-ia-btn:disabled { opacity: .5; cursor: not-allowed; }
.lc-ia-btn-login { background: var(--lc-primary, #6c5ce7); }
.lc-ia-btn-login:hover:not(:disabled) { background: #5a4bd1; }
.lc-ia-btn-reg { background: var(--lc-green, #00b894); }
.lc-ia-btn-reg:hover:not(:disabled) { background: #00a381; }
.lc-ia-err {
    color: #e53e3e; font-size: 13px; margin-top: 8px; text-align: center; min-height: 18px;
}
.lc-ia-link {
    display: block; text-align: center; color: #888; font-size: 13px; margin-top: 10px;
    text-decoration: none;
}
.lc-ia-link:hover { color: var(--lc-primary, #6c5ce7); }
.lc-ia-eye {
    position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
    background: none; border: none; color: rgba(255,255,255,.4); cursor: pointer; padding: 4px;
}
.lc-ia-eye:hover { color: rgba(255,255,255,.7); }
.lc-ia-eye.active { color: var(--lc-primary, #6c5ce7); }
@media (min-width: 768px) {
    #lc-inline-auth { align-items: center; }
    .lc-ia-sheet { border-radius: 16px; max-width: 380px; }
}

/* Orders panel (instant mode) */
#lc-orders-panel { position: fixed; inset: 0; z-index: 200; }
.lc-op-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.5); }
.lc-op-sheet {
    position: absolute; bottom: 0; left: 0; right: 0;
    max-height: 60vh; background: #1a1a2e; border-radius: 16px 16px 0 0;
    display: flex; flex-direction: column; overflow: hidden;
}
.lc-op-header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 14px 16px; border-bottom: 1px solid rgba(255,255,255,.1);
    font-weight: 700; font-size: 15px; color: #fff;
}
.lc-op-header button { background: none; border: none; color: #fff; font-size: 18px; cursor: pointer; padding: 4px 8px; }
.lc-op-list { overflow-y: auto; padding: 8px 12px 80px; flex: 1; }
.lc-op-empty { text-align: center; color: rgba(255,255,255,.4); padding: 32px 0; font-size: 14px; }
.lc-op-item {
    display: flex; align-items: center; gap: 10px;
    padding: 10px; margin-bottom: 6px;
    background: rgba(255,255,255,.06); border-radius: 10px;
}
.lc-op-item-img { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; background: rgba(255,255,255,.1); }
.lc-op-item-info { flex: 1; min-width: 0; }
.lc-op-item-name { font-size: 13px; font-weight: 600; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lc-op-item-variant { font-size: 11px; color: rgba(255,255,255,.5); }
.lc-op-item-price { font-size: 13px; font-weight: 700; color: #22c55e; white-space: nowrap; }
.lc-op-item-qty { font-size: 11px; color: rgba(255,255,255,.4); }
.lc-op-status { font-size: 10px; padding: 2px 8px; border-radius: 10px; background: rgba(251,191,36,.2); color: #fbbf24; font-weight: 600; }

/* ═══ Add-to-cart success flash ═══ */
#lc-added-flash {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%,-50%);
    z-index: 50;
    text-align: center;
    pointer-events: none;
    animation: lcFlashIn 1.5s ease forwards;
}
.lc-added-check {
    font-size: 3rem; font-weight: 900;
    color: var(--lc-green);
    text-shadow: 0 0 30px rgba(0,184,148,0.6);
}
.lc-added-text {
    font-size: 1rem; font-weight: 700;
    color: #fff; margin-top: 4px;
    text-shadow: 0 2px 8px rgba(0,0,0,.5);
}
@keyframes lcFlashIn {
    0%   { opacity: 0; transform: translate(-50%,-50%) scale(.6); }
    15%  { opacity: 1; transform: translate(-50%,-50%) scale(1.1); }
    30%  { transform: translate(-50%,-50%) scale(1); }
    70%  { opacity: 1; }
    100% { opacity: 0; transform: translate(-50%,-50%) scale(.8); }
}

/* ═══ Cart panel ═══ */
#lc-cart-overlay {
    position: fixed; inset: 0;
    background: var(--lc-overlay);
    z-index: 10001;
    display: none;
}
#lc-cart-overlay.open { display: block; }
#lc-cart-panel {
    position: fixed; top: 0; right: 0; bottom: 0;
    width: 360px; max-width: 100vw;
    background: var(--lc-surface);
    border-left: 1px solid var(--lc-border);
    z-index: 10002;
    display: flex; flex-direction: column;
    transform: translateX(100%);
    transition: transform .28s cubic-bezier(.4,0,.2,1);
    overflow: hidden;
    color: var(--lc-text);
}
#lc-cart-panel.open { transform: translateX(0); }
.lc-cart-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px; border-bottom: 1px solid var(--lc-border);
    font-weight: 700; font-size: 1rem;
}
.lc-cart-close {
    background: none; border: none; color: var(--lc-muted);
    font-size: 1.3rem; cursor: pointer; padding: 4px; line-height: 1;
}
.lc-cart-close:hover { color: var(--lc-text); }
#lc-cart-body {
    flex: 1; overflow-y: auto; padding: 12px;
    display: flex; flex-direction: column; gap: 10px;
}
#lc-cart-body::-webkit-scrollbar { width: 4px; }
#lc-cart-body::-webkit-scrollbar-thumb { background: var(--lc-border); border-radius: 2px; }
.lc-cart-empty {
    text-align: center; color: var(--lc-muted);
    padding: 40px 20px; font-size: 0.9rem;
}
.lc-cart-item {
    display: flex; gap: 10px; align-items: center;
    padding: 8px; border-radius: 8px;
    background: var(--lc-surface2);
}
.lc-ci-img {
    width: 48px; height: 48px; border-radius: 6px;
    object-fit: cover; background: var(--lc-bg); flex-shrink: 0;
}
.lc-ci-info { flex: 1; min-width: 0; }
.lc-ci-name {
    font-size: 0.82rem; font-weight: 600;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.lc-ci-qty-row {
    display: flex; align-items: center; gap: 4px; margin-top: 4px;
}
.lc-ci-qty-btn {
    width: 24px; height: 24px; border-radius: 50%;
    border: 1px solid var(--lc-border);
    background: var(--lc-surface); color: var(--lc-text);
    font-size: 0.9rem; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    line-height: 1;
}
.lc-ci-qty-btn:hover { background: var(--lc-border); }
.lc-ci-qty-val {
    font-size: 0.8rem; font-weight: 700;
    min-width: 18px; text-align: center;
}
.lc-ci-price { font-size: 0.85rem; font-weight: 700; color: var(--lc-green); margin-top: 3px; }
.lc-ci-remove {
    background: none; border: none; color: var(--lc-muted);
    font-size: 1rem; cursor: pointer; flex-shrink: 0;
}
.lc-ci-remove:hover { color: var(--lc-red); }
.lc-cart-footer { padding: 12px; border-top: 1px solid var(--lc-border); }
.lc-cart-total {
    display: flex; justify-content: space-between;
    font-size: 1rem; font-weight: 700; margin-bottom: 12px;
}
.lc-cart-total span:last-child { color: var(--lc-green); }
.lc-checkout-btn {
    width: 100%; padding: 13px;
    background: var(--lc-primary); color: #fff;
    border: none; border-radius: 8px;
    font-size: 1rem; font-weight: 700; cursor: pointer;
    transition: background .15s;
}
.lc-checkout-btn:hover { background: #5a4bd1; }

/* Checkout form */
#lc-checkout-form {
    padding: 12px; border-top: 1px solid var(--lc-border);
}
.lc-form-title {
    font-size: 0.9rem; font-weight: 700;
    margin-bottom: 10px; color: var(--lc-text);
}
.lc-form-group { margin-bottom: 8px; }
.lc-form-label {
    display: block; font-size: 0.72rem;
    color: var(--lc-muted); margin-bottom: 3px;
    font-weight: 600; text-transform: uppercase; letter-spacing: .04em;
}
.lc-form-input {
    width: 100%; padding: 9px 12px;
    background: var(--lc-surface2); border: 1px solid var(--lc-border);
    border-radius: 8px; color: var(--lc-text);
    font-size: 0.875rem; outline: none;
    transition: border-color .15s;
}
.lc-form-input:focus { border-color: var(--lc-primary); }
.lc-checkout-submit-btn {
    width: 100%; padding: 11px;
    background: var(--lc-green); color: #fff;
    border: none; border-radius: 8px;
    font-size: 0.95rem; font-weight: 700;
    cursor: pointer; margin-top: 6px;
    transition: background .15s;
}
.lc-checkout-submit-btn:hover { background: var(--lc-green-dark); }

#lc-order-success {
    text-align: center; padding: 20px; color: var(--lc-green);
}

/* ═══ Auth modal ═══ */
#lc-auth-overlay {
    position: fixed; inset: 0;
    background: var(--lc-overlay);
    z-index: 10003;
    align-items: flex-end; justify-content: center;
}
#lc-auth-overlay.open { display: flex; }
#lc-auth-sheet {
    width: 100%; max-width: 440px;
    background: var(--lc-surface);
    border-radius: 16px 16px 0 0;
    max-height: 85vh; overflow-y: auto;
    animation: lcSlideUp .25s ease;
    position: relative;
    color: var(--lc-text);
}
.lc-auth-close {
    position: absolute; top: 10px; right: 14px;
    background: none; border: none; color: var(--lc-muted);
    font-size: 1.3rem; cursor: pointer;
}
.lc-auth-tabs {
    display: flex; border-bottom: 1px solid var(--lc-border);
}
.lc-auth-tab {
    flex: 1; padding: 14px; text-align: center;
    font-size: 0.9rem; font-weight: 700;
    color: var(--lc-muted); background: none; border: none;
    cursor: pointer; border-bottom: 2px solid transparent;
    transition: color .15s, border-color .15s;
}
.lc-auth-tab.active { color: var(--lc-primary); border-bottom-color: var(--lc-primary); }
.lc-auth-body { padding: 16px; }
.lc-auth-panel { }
.lc-auth-submit-btn {
    width: 100%; padding: 12px;
    color: #fff; border: none; border-radius: 8px;
    font-weight: 700; cursor: pointer;
    margin-top: 8px; text-align: center;
    font-size: 0.9rem;
}
.lc-auth-err {
    color: var(--lc-red); font-size: .8rem;
    margin-top: 6px; display: none;
}

/* ═══ Toast ═══ */
#lc-toast {
    position: fixed; top: 60px; left: 50%; transform: translateX(-50%);
    background: var(--lc-green); color: #fff;
    padding: 10px 20px; border-radius: 24px;
    font-size: 0.9rem; font-weight: 600;
    z-index: 99999; opacity: 0; pointer-events: none;
    transition: opacity .25s;
    white-space: nowrap;
}
#lc-toast.show { opacity: 1; }

/* ═══ NORMAL SECTION — mobile-first centered layout ═══ */
.lc-normal {
    max-width: 480px;
    margin: 0 auto;
    padding: 16px 14px 32px;
    background: #0a0a0f;
    color: #e8e8f0;
}
@media (min-width: 768px) {
    .lc-normal { max-width: 1100px; padding: 32px 20px 48px; border-radius: 12px; }
}

/* ═══ Stream Ended Banner ═══ */
.lc-ended-banner {
    margin-bottom: 16px;
    animation: lcFadeIn .3s ease;
}
.lc-ended-inner {
    background: linear-gradient(135deg, rgba(229,62,62,.12) 0%, rgba(108,92,231,.08) 100%);
    border: 1px solid rgba(229,62,62,.2);
    border-radius: 16px;
    padding: 20px 16px;
    text-align: center;
}
.lc-ended-badge {
    display: inline-flex; align-items: center; gap: 6px;
    background: var(--lc-red, #e53e3e); color: #fff;
    padding: 5px 14px; border-radius: 20px;
    font-size: 12px; font-weight: 700; text-transform: uppercase;
    letter-spacing: .5px; margin-bottom: 8px;
}
.lc-ended-text {
    color: var(--lc-muted, #888); font-size: 13px; margin: 0 0 12px;
}
.lc-ended-dismiss {
    background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12);
    color: var(--lc-text, #e8e8f0); padding: 8px 20px; border-radius: 10px;
    font-size: 13px; font-weight: 600; cursor: pointer;
    transition: background .15s;
}
.lc-ended-dismiss:hover { background: rgba(255,255,255,.14); }
@keyframes lcFadeIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }

/* ═══ Waiting state — compact, centered ═══ */
.lc-waiting-wrap {
    position: fixed; inset: 0; z-index: 600;
    background: rgba(0,0,0,.65);
    backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
    display: flex; align-items: center; justify-content: center;
    padding: 20px;
    opacity: 0; pointer-events: none;
    transition: opacity .3s;
}
.lc-waiting-wrap.lc-popup-open { opacity: 1; pointer-events: all; }
.lc-waiting {
    text-align: center;
    padding: 36px 24px 28px;
    background: #16161f;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,.08);
    position: relative;
    overflow: hidden;
    max-width: 360px; width: 100%;
    box-shadow: 0 24px 60px rgba(0,0,0,.6);
}
.lc-waiting-close {
    position: absolute; top: 12px; right: 12px;
    background: rgba(255,255,255,.07); border: none; color: #aaa;
    width: 28px; height: 28px; border-radius: 50%;
    font-size: 16px; line-height: 1; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background .15s, color .15s;
}
.lc-waiting-close:hover { background: rgba(255,255,255,.14); color: #fff; }
.lc-waiting > * { position: relative; z-index: 1; }
.lc-waiting-icon { margin-bottom: 12px; }
.lc-waiting-icon-circle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 56px; height: 56px; border-radius: 50%;
    background: rgba(229,62,62,.08);
    color: var(--lc-red, #e53e3e);
}
.lc-waiting-title {
    font-size: 17px; font-weight: 700; margin: 0 0 4px;
    color: var(--text-color, #e8e8f0);
}
.lc-waiting-sub {
    color: var(--text-muted, #888); margin: 0; font-size: 13px;
}
.lc-waiting-pulse {
    position: absolute;
    top: 50%; left: 50%;
    width: 140px; height: 140px;
    margin: -70px 0 0 -70px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(229,62,62,.06) 0%, transparent 70%);
    animation: lcPulseBg 3s ease-in-out infinite;
    pointer-events: none; z-index: 0;
}

/* ═══ View Mode Tabs ═══ */
.lc-view-tabs {
    display: flex; gap: 6px; padding: 12px 14px 8px;
    justify-content: center;
}
.lc-view-tab {
    background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25);
    color: rgba(255,255,255,.85); font-size: 13px; font-weight: 600;
    padding: 8px 16px; border-radius: 20px; cursor: pointer;
    transition: all .2s;
}
.lc-view-tab:hover { background: rgba(255,255,255,.2); color: #fff; }
.lc-view-tab.active {
    background: var(--lc-accent, #e53e3e); border-color: var(--lc-accent, #e53e3e);
    color: #fff;
}
/* ═══ Product Index ═══ */
.lc-product-index { padding: 0 14px 16px; }
.lc-pi-search {
    display: flex; gap: 8px; margin-bottom: 14px;
}
.lc-pi-search-input {
    flex: 1; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
    border-radius: 12px; padding: 10px 14px; color: #fff; font-size: 14px;
    outline: none; transition: border-color .2s;
}
.lc-pi-search-input:focus { border-color: var(--lc-accent, #e53e3e); }
.lc-pi-search-input::placeholder { color: rgba(255,255,255,.3); }
.lc-pi-search-btn {
    background: var(--lc-accent, #e53e3e); border: none; border-radius: 12px;
    width: 44px; display: flex; align-items: center; justify-content: center;
    cursor: pointer; color: #fff; flex-shrink: 0;
}
.lc-pi-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px;
}
.lc-pi-card {
    background: rgba(255,255,255,.05); border-radius: 12px; overflow: hidden;
    cursor: pointer; transition: transform .15s, background .2s;
    border: 1px solid rgba(255,255,255,.06);
}
.lc-pi-card:active { transform: scale(0.97); }
.lc-pi-card-img {
    width: 100%; aspect-ratio: 1; object-fit: cover; display: block;
    background: rgba(255,255,255,.03);
}
.lc-pi-card-body { padding: 8px 10px 10px; }
.lc-pi-card-name {
    color: #fff; font-size: 13px; font-weight: 600; line-height: 1.3;
    margin-bottom: 3px; overflow: hidden; text-overflow: ellipsis;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.lc-pi-card-price {
    color: var(--lc-accent, #e53e3e); font-size: 14px; font-weight: 700;
    margin-bottom: 4px;
}
.lc-pi-card-meta {
    display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
}
.lc-pi-card-gm {
    background: rgba(255,255,255,.1); color: rgba(255,255,255,.7);
    font-size: 10px; font-weight: 700; padding: 2px 6px; border-radius: 4px;
}
.lc-pi-card-ts {
    color: rgba(255,255,255,.4); font-size: 11px;
}
.lc-pi-card-ts::before { content: '▶ '; }
.lc-pi-card-stock {
    color: rgba(76,175,80,.8); font-size: 10px; font-weight: 600;
}
.lc-pi-loading {
    grid-column: 1/-1; text-align: center; padding: 30px;
    color: rgba(255,255,255,.3); font-size: 13px;
}
.lc-pi-empty {
    grid-column: 1/-1; text-align: center; padding: 40px 20px;
    color: rgba(255,255,255,.3); font-size: 14px;
}
@media (min-width: 480px) {
    .lc-pi-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ═══ VOD section ═══ */
.lc-vod-section { }
.lc-vod-header {
    display: flex; align-items: center; gap: 8px;
    margin-bottom: 14px;
}
.lc-vod-heading {
    font-size: 16px; font-weight: 700; margin: 0;
    color: var(--text-color, #e8e8f0);
}
.lc-vod-count {
    background: rgba(255,255,255,.08);
    color: var(--lc-muted, #888);
    padding: 2px 8px; border-radius: 10px;
    font-size: 12px; font-weight: 600;
}

/* ═══ VOD grid — 2 columns on mobile, 3-4 on desktop ═══ */
.lc-vod-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}
@media (min-width: 768px) {
    .lc-vod-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
}
.lc-vod-card {
    text-decoration: none; color: inherit; display: block;
    background: var(--card-bg, #1a1a2e);
    border-radius: 12px; overflow: hidden;
    border: 1px solid var(--border-color, rgba(255,255,255,.06));
    transition: transform .2s, box-shadow .2s;
    cursor: pointer;
}
.lc-vod-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 24px rgba(0,0,0,.25);
}
.lc-vod-card:active { transform: scale(.98); }
.lc-vod-thumb {
    position: relative; aspect-ratio: 9/16;
    background: #0a0a12; overflow: hidden;
}
.lc-vod-thumb img, .lc-vod-thumb video {
    width: 100%; height: 100%; object-fit: cover;
}
.lc-vod-thumb-placeholder {
    width: 100%; height: 100%;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    display: flex; align-items: center; justify-content: center;
}
.lc-vod-dur {
    position: absolute; bottom: 6px; right: 6px;
    background: rgba(0,0,0,.8); color: #fff;
    padding: 2px 8px; border-radius: 4px;
    font-size: 11px; font-weight: 600;
}
.lc-vod-play-overlay {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    background: rgba(0,0,0,.15);
    opacity: 0; transition: opacity .2s;
}
.lc-vod-card:hover .lc-vod-play-overlay { opacity: 1; }
@media (max-width: 767px) {
    .lc-vod-play-overlay { opacity: 1; background: rgba(0,0,0,.08); }
}
.lc-vod-play-btn {
    width: 40px; height: 40px; border-radius: 50%;
    background: rgba(0,0,0,.5); backdrop-filter: blur(4px);
    display: flex; align-items: center; justify-content: center;
}
.lc-vod-info { padding: 10px; }
.lc-vod-title {
    font-weight: 600; font-size: 13px; margin-bottom: 3px;
    overflow: hidden; text-overflow: ellipsis;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    line-height: 1.3;
}
.lc-vod-meta {
    font-size: 11px; color: var(--text-muted, #888);
    display: flex; align-items: center; gap: 4px;
}
.lc-vod-meta-dot {
    width: 3px; height: 3px; border-radius: 50%;
    background: var(--text-muted, #666);
}

/* ═══ VOD Expanded View ═══ */
.lc-vod-exp-header {
    display: flex; align-items: center; gap: 10px;
    margin-bottom: 14px;
}
.lc-vod-exp-title-text {
    font-size: 15px; font-weight: 700; margin: 0;
    flex: 1; text-align: center;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
    color: var(--text-color, #e8e8f0);
}
.lc-vod-back-btn {
    background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
    color: var(--text-color, #e8e8f0); padding: 7px 12px; border-radius: 10px;
    font-size: 13px; cursor: pointer; white-space: nowrap;
    display: flex; align-items: center; gap: 4px;
    transition: background .2s;
}
.lc-vod-back-btn:hover { background: rgba(255,255,255,.1); }
.lc-vod-cart-fab {
    position: relative; background: var(--lc-primary, #6c5ce7);
    border: none; color: #fff; width: 38px; height: 38px;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    cursor: pointer; flex-shrink: 0;
}
.lc-vod-cart-badge {
    position: absolute; top: -4px; right: -4px;
    background: var(--lc-red, #e53e3e); color: #fff;
    font-size: 10px; font-weight: 700; min-width: 18px; height: 18px;
    border-radius: 9px; display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: opacity .2s;
}
.lc-vod-cart-badge.visible { opacity: 1; }

/* ═══ VOD Feed (TikTok-style vertical scroll) ═══ */
#lc-vod-feed {
    position: fixed; top: 0; left: 0; width: 100%; height: 100dvh;
    z-index: 9999; background: #000;
}
.lc-vod-feed-back {
    position: fixed; top: 12px; left: 12px; z-index: 10001;
    background: rgba(0,0,0,.5); border: none; border-radius: 20px;
    padding: 8px 16px; width: auto; height: auto;
    display: flex; align-items: center; justify-content: center; gap: 6px;
    cursor: pointer; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.lc-vf-counter {
    position: fixed; top: 14px; right: 14px; z-index: 10001;
    background: rgba(0,0,0,.5); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    color: #fff; font-size: 13px; font-weight: 600;
    padding: 5px 12px; border-radius: 16px;
}
.lc-vf-scroll-top {
    position: fixed; bottom: 140px; right: 14px; z-index: 10001;
    background: var(--lc-accent, #e53e3e); border: none; border-radius: 50%;
    width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
    cursor: pointer; box-shadow: 0 4px 16px rgba(0,0,0,.4);
    transition: opacity .3s, transform .3s; opacity: .7;
}
.lc-vf-scroll-top:active { transform: scale(0.9); }
.lc-vod-feed-scroll {
    height: 100%; overflow-y: scroll; scroll-snap-type: y mandatory;
    -webkit-overflow-scrolling: touch; scroll-behavior: smooth;
}
.lc-vod-feed-item {
    position: relative; width: 100%; height: 100dvh;
    scroll-snap-align: start; scroll-snap-stop: always;
    background: #000; display: flex; align-items: center; justify-content: center;
    overflow: hidden;
}
.lc-vf-video {
    width: 100%; height: 100%; object-fit: cover; display: block;
}
.lc-vf-tap-zone {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0; z-index: 1;
}
/* Bottom overlay gradient */
.lc-vf-bottom {
    position: absolute; bottom: 0; left: 0; right: 0; z-index: 2;
    padding: 80px 14px 10px;
    background: linear-gradient(transparent 0%, rgba(0,0,0,.15) 20%, rgba(0,0,0,.65) 60%, rgba(0,0,0,.85) 100%);
    pointer-events: none;
}
.lc-vf-bottom > * { pointer-events: auto; }
.lc-vf-info { margin-bottom: 8px; }
.lc-vf-title {
    color: #fff; font-size: 16px; font-weight: 700;
    text-shadow: 0 1px 4px rgba(0,0,0,.5); margin-bottom: 3px;
    line-height: 1.3;
}
.lc-vf-meta {
    color: rgba(255,255,255,.7); font-size: 12px;
    text-shadow: 0 1px 3px rgba(0,0,0,.5);
}
/* ── Action bar (horizontal below info) ── */
.lc-vf-actions {
    display: flex; gap: 4px; margin: 10px 0 8px;
    justify-content: flex-start;
}
.lc-vf-action-btn {
    display: flex; align-items: center; gap: 5px;
    background: rgba(255,255,255,.12); border: none; border-radius: 20px;
    padding: 7px 13px; cursor: pointer; color: #fff;
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    transition: background .2s, transform .15s;
    white-space: nowrap;
}
.lc-vf-action-btn:active { transform: scale(0.93); }
.lc-vf-action-btn:hover { background: rgba(255,255,255,.2); }
.lc-vf-action-icon { flex-shrink: 0; display: block; }
.lc-vf-action-label { font-size: 12px; font-weight: 500; }
/* Liked state */
.lc-vf-like-btn[data-liked="1"] svg { fill: #e53e3e; stroke: #e53e3e; }
.lc-vf-like-btn[data-liked="1"] { background: rgba(229,62,62,.2); }
/* ── Product button in action bar (accent colored) ── */
.lc-vf-products-btn {
    background: rgba(108,92,231,.35) !important; border: 1px solid rgba(108,92,231,.5) !important;
    border-radius: 20px !important; color: #a78bfa !important;
}
.lc-vf-products-btn svg { stroke: #a78bfa; }
.lc-vf-products-btn .lc-vf-action-label { color: #a78bfa; font-weight: 700; }
.lc-vf-products-label { font-size: 10px; color: #c4b5fd; letter-spacing: .5px; white-space: nowrap; }

/* ── Product sheet (slide-up overlay like Selmo) ── */
.lc-pl-sheet-overlay {
    display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,.4); z-index: 10010;
}
.lc-pl-sheet-overlay.open { display: block; }
.lc-pl-sheet {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 10011;
    background: #fff; border-radius: 20px 20px 0 0;
    max-height: 55vh; transform: translateY(100%); transition: transform .3s cubic-bezier(.4,0,.2,1);
    display: flex; flex-direction: column; overflow: hidden;
    box-shadow: 0 -8px 40px rgba(0,0,0,.3);
    overscroll-behavior: contain;
}
.lc-pl-sheet.open { transform: translateY(0); }
.lc-pl-sheet-handle {
    width: 40px; height: 4px; border-radius: 2px; background: #ccc;
    margin: 10px auto 6px; flex-shrink: 0;
}
.lc-pl-sheet-header {
    display: flex; align-items: center; gap: 10px; padding: 6px 16px 12px;
    border-bottom: 1px solid #eee; flex-shrink: 0;
}
.lc-pl-sheet-title { font-size: 18px; font-weight: 700; color: #1a1a2e; }
.lc-pl-badge {
    background: #6c5ce7; color: #fff; font-size: 12px; font-weight: 700;
    min-width: 24px; height: 24px; border-radius: 12px; display: flex;
    align-items: center; justify-content: center; padding: 0 8px;
}
.lc-pl-sheet-close {
    margin-left: auto; background: none; border: none; font-size: 28px;
    color: #999; cursor: pointer; padding: 0 4px; line-height: 1;
}
.lc-pl-list { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }

/* ── Product row (light theme — inside white sheet) ── */
.lc-pl-row {
    display: flex; align-items: center; gap: 12px; padding: 10px 16px;
    cursor: pointer; transition: background .15s; border-bottom: 1px solid #f0f0f0;
}
.lc-pl-row:last-child { border-bottom: none; }
.lc-pl-row:active { background: #f5f5ff; }
.lc-pl-row.lc-pl-active { background: #f0eeff; }
.lc-pl-thumb {
    width: 56px; height: 56px; border-radius: 10px; object-fit: cover; flex-shrink: 0;
    background: #f0f0f0; border: 1px solid #e8e8e8;
}
.lc-pl-info { flex: 1; min-width: 0; }
.lc-pl-name { color: #1a1a2e; font-size: 14px; font-weight: 600; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lc-pl-meta { display: flex; align-items: center; gap: 8px; margin-top: 3px; }
.lc-pl-price { color: #1a1a2e; font-size: 14px; font-weight: 700; }
.lc-pl-ts {
    color: #6c5ce7; font-size: 10px; font-weight: 600;
    background: #f0eeff; padding: 2px 6px; border-radius: 4px;
}
.lc-pl-ts::before { content: '⏱ '; }
.lc-pl-stock { color: #e53e3e; font-size: 11px; flex-shrink: 0; font-weight: 600; }
.lc-pl-cart-icon {
    flex-shrink: 0; width: 44px; height: 44px; border-radius: 10px;
    background: #4361ee; display: flex; align-items: center; justify-content: center;
    transition: transform .15s;
}
.lc-pl-cart-icon:active { transform: scale(0.9); }
.lc-pl-cart-icon svg { width: 18px; height: 18px; stroke: #fff; fill: none; stroke-width: 2; }

/* ── Expanded buy panel (inline, light theme) ── */
.lc-pl-expand {
    display: none; padding: 10px 16px 14px; background: #fafaff;
    border-top: 1px solid #ede8ff;
}
.lc-pl-expand.open { display: block; animation: lcPlSlideDown .2s ease; }
@keyframes lcPlSlideDown { from { opacity: 0; } to { opacity: 1; } }
.lc-pl-var-row { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.lc-pl-var-chip {
    padding: 6px 14px; border-radius: 20px; border: 1.5px solid #ddd;
    background: #fff; color: #333; font-size: 13px; font-weight: 500;
    cursor: pointer; transition: all .15s;
}
.lc-pl-var-chip:active { transform: scale(0.95); }
.lc-pl-var-chip.selected { background: #6c5ce7; border-color: #6c5ce7; color: #fff; }
.lc-pl-var-chip.no-stock { opacity: .35; pointer-events: none; text-decoration: line-through; }
.lc-pl-buy-row { display: flex; align-items: center; gap: 10px; }
.lc-pl-qty { display: flex; align-items: center; gap: 0; border: 1.5px solid #ddd; border-radius: 10px; overflow: hidden; background: #fff; }
.lc-pl-qty button {
    width: 36px; height: 36px; background: #fff; border: none; color: #333;
    font-size: 18px; cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.lc-pl-qty button:active { background: #f0f0f0; }
.lc-pl-qty span { width: 32px; text-align: center; color: #1a1a2e; font-size: 15px; font-weight: 700; }
.lc-pl-add-btn {
    flex: 1; padding: 10px 16px; border-radius: 10px; border: none;
    background: #4361ee; color: #fff; font-size: 14px; font-weight: 700;
    cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px;
    transition: all .15s;
}
.lc-pl-add-btn:active { transform: scale(0.97); }
.lc-pl-add-btn:disabled { opacity: .4; pointer-events: none; }
.lc-pl-add-btn.success { background: #00b894; }
.lc-pl-add-btn.success::after { content: ' ✓ Pridané!'; }
/* ── Progress bar ── */
.lc-vf-progress {
    height: 3px; background: rgba(255,255,255,.15); border-radius: 2px;
    overflow: hidden; margin-top: 6px;
}
.lc-vf-progress-bar {
    height: 100%; background: var(--lc-accent, #e53e3e);
    border-radius: 2px; transition: width .25s linear;
}
/* ── Play icon (center, shown when paused) ── */
.lc-vf-play-icon {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
    pointer-events: none; opacity: 0.8; transition: opacity .3s; z-index: 1;
}
.lc-vod-feed-item.playing .lc-vf-play-icon { opacity: 0; }
/* ── Mute indicator ── */
.lc-vf-mute-icon {
    position: absolute; top: 16px; right: 16px;
    background: rgba(0,0,0,.55); border-radius: 50%;
    width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    z-index: 4; pointer-events: none;
    transition: opacity .25s;
}
.lc-vf-mute-icon.lc-vf-muted-state { opacity: 1; }
.lc-vf-mute-icon:not(.lc-vf-muted-state) { opacity: 0; }
/* ── Double-tap heart animation ── */
.lc-vf-heart-anim {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%) scale(0);
    z-index: 5; pointer-events: none; opacity: 0;
}
.lc-vf-heart-anim.pop {
    animation: lcVfHeartPop .8s ease forwards;
}
@keyframes lcVfHeartPop {
    0% { opacity: 1; transform: translate(-50%,-50%) scale(0); }
    20% { opacity: 1; transform: translate(-50%,-50%) scale(1.3); }
    40% { opacity: 1; transform: translate(-50%,-50%) scale(1); }
    100% { opacity: 0; transform: translate(-50%,-50%) scale(1.4); }
}
/* ── Comment sheet (bottom slide-up) ── */
.lc-vf-comment-sheet {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 10002;
    background: #1a1a2e; border-radius: 16px 16px 0 0;
    padding: 14px 14px 20px; transform: translateY(100%);
    transition: transform .3s ease; max-height: 50vh; overflow-y: auto;
}
.lc-vf-comment-sheet.open { transform: translateY(0); }
.lc-vf-comment-sheet-header {
    display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px;
}
.lc-vf-comment-sheet-title { color: #fff; font-size: 15px; font-weight: 700; }
.lc-vf-comment-sheet-close {
    background: none; border: none; color: rgba(255,255,255,.6); font-size: 24px;
    cursor: pointer; padding: 0 4px; line-height: 1;
}
.lc-vf-comment-input-row {
    display: flex; gap: 8px; margin-top: 10px;
    position: sticky; bottom: 0; background: #1a1a2e; padding-top: 8px;
}
.lc-vf-comment-input {
    flex: 1; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12);
    border-radius: 20px; padding: 9px 14px; color: #fff; font-size: 16px; outline: none;
}
.lc-vf-comment-input::placeholder { color: rgba(255,255,255,.35); }
.lc-vf-comment-send {
    background: var(--lc-accent, #e53e3e); border: none; border-radius: 50%;
    width: 38px; height: 38px; display: flex; align-items: center; justify-content: center;
    cursor: pointer; flex-shrink: 0;
}
.lc-vf-comment-item {
    display: flex; gap: 8px; margin-bottom: 10px;
}
.lc-vf-comment-avatar {
    width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,.1);
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,.5); font-size: 14px; font-weight: 600; flex-shrink: 0;
}
.lc-vf-comment-body { flex: 1; }
.lc-vf-comment-name { color: rgba(255,255,255,.6); font-size: 11px; font-weight: 600; margin-bottom: 2px; }
.lc-vf-comment-text { color: #fff; font-size: 13px; line-height: 1.4; }
/* ── Toast ── */
.lc-vf-toast {
    position: fixed; bottom: 80px; left: 50%; transform: translateX(-50%);
    background: rgba(0,0,0,.85); color: #fff; padding: 10px 20px;
    border-radius: 20px; font-size: 13px; font-weight: 500; z-index: 10003;
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    opacity: 0; transition: opacity .3s; pointer-events: none;
}
.lc-vf-toast.show { opacity: 1; }

/* ── Product overlay (floating on video) ── */
.lc-prod-overlay-el {
    position: fixed;
    /* left/width/bottom nastavuje JS podľa feedItem.getBoundingClientRect() */
    background: linear-gradient(to top, rgba(10,10,15,.98) 0%, rgba(10,10,15,.94) 100%);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border-radius: 20px 20px 0 0;
    padding: 16px 16px 20px;
    z-index: 10050;
    max-height: calc(70vh - 56px);
    overflow-y: auto;
    overscroll-behavior: contain;
    animation: prodOverlayUp .25s ease;
    box-shadow: 0 -4px 24px rgba(0,0,0,.5);
    box-sizing: border-box;
}
@keyframes prodOverlayUp {
    from { transform: translateY(100%); opacity: 0; }
    to   { transform: translateY(0); opacity: 1; }
}
.lc-po-header { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.lc-po-img { width: 60px; height: 60px; border-radius: 10px; object-fit: cover; flex-shrink: 0; background: #222; }
.lc-po-meta { flex: 1; min-width: 0; }
.lc-po-name { font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 4px; line-height: 1.3; }
.lc-po-price { font-size: 18px; font-weight: 800; color: #00b894; }
.lc-po-close { width: 30px; height: 30px; border-radius: 50%; border: none; background: rgba(255,255,255,.1); color: #fff; font-size: 20px; cursor: pointer; display: flex; align-items: center; justify-content: center; flex-shrink: 0; line-height: 1; }
.lc-po-attr-label { font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.5); margin-bottom: 8px; }
.lc-po-attr-label em { color: #fff; font-style: normal; font-weight: 600; font-size: 11px; margin-left: 4px; text-transform: none; letter-spacing: 0; }
.lc-po-attr-group { margin-bottom: 14px; }
.lc-po-sizes { display: flex; flex-wrap: wrap; gap: 8px; }
.lc-po-size-btn { min-width: 48px; height: 44px; padding: 0 12px; border-radius: 10px; border: 1.5px solid rgba(255,255,255,.2); background: rgba(255,255,255,.07); color: #fff; font-size: 14px; font-weight: 700; cursor: pointer; touch-action: manipulation; transition: all .15s; }
.lc-po-size-btn.selected { border-color: #6c5ce7; background: #6c5ce7; }
.lc-po-size-btn:disabled { opacity: .25; text-decoration: line-through; cursor: not-allowed; }
.lc-po-swatches { display: flex; flex-wrap: wrap; gap: 12px; }
.lc-po-swatch-wrap { display: flex; flex-direction: column; align-items: center; gap: 4px; cursor: pointer; }
.lc-po-swatch { width: 36px; height: 36px; border-radius: 50%; border: 2.5px solid transparent; outline: 2px solid transparent; outline-offset: 2px; cursor: pointer; touch-action: manipulation; transition: all .15s; flex-shrink: 0; }
.lc-po-swatch.selected { border-color: rgba(255,255,255,.85); outline-color: #6c5ce7; }
.lc-po-swatch:disabled { cursor: not-allowed; }
.lc-po-swatch-lbl { font-size: 9px; color: rgba(255,255,255,.6); text-align: center; max-width: 44px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; line-height: 1.1; }
.lc-po-bottom { display: flex; align-items: center; gap: 10px; margin-top: 16px; }
.lc-po-qty { display: flex; align-items: center; gap: 8px; background: rgba(255,255,255,.08); border-radius: 10px; padding: 6px 12px; }
.lc-po-qty-btn { width: 32px; height: 32px; border-radius: 50%; border: none; background: rgba(255,255,255,.12); color: #fff; font-size: 18px; font-weight: 700; cursor: pointer; display: flex; align-items: center; justify-content: center; touch-action: manipulation; }
.lc-po-qty-val { font-size: 16px; font-weight: 700; color: #fff; min-width: 24px; text-align: center; }
.lc-po-add-btn { flex: 1; height: 50px; border-radius: 14px; border: none; background: linear-gradient(135deg, #e84393 0%, #f97316 100%); color: #fff; font-size: 15px; font-weight: 800; cursor: pointer; touch-action: manipulation; display: flex; align-items: center; justify-content: center; gap: 8px; }
.lc-po-add-btn:disabled { opacity: .4; cursor: not-allowed; }
.lc-po-add-btn.success { background: linear-gradient(135deg, #00b894 0%, #00cec9 100%); }

/* ── Desktop ── */
@media (min-width: 768px) {
    .lc-vod-feed-scroll { max-width: 480px; margin: 0 auto; }
    .lc-vf-scroll-top { bottom: 32px; right: 32px; }
}

/* ── Swipe hint ── */
.lc-vf-swipe-hint {
    position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%);
    z-index: 10001; display: flex; flex-direction: column; align-items: center; gap: 6px;
    color: #fff; font-size: 13px; font-weight: 500;
    text-shadow: 0 1px 4px rgba(0,0,0,.6); pointer-events: none;
    animation: lcVfSwipeHint 1.2s ease-in-out 2;
    animation-fill-mode: forwards;
}
@keyframes lcVfSwipeHint {
    0% { opacity: 1; transform: translate(-50%, -50%); }
    50% { opacity: 1; transform: translate(-50%, calc(-50% - 20px)); }
    100% { opacity: 0.6; transform: translate(-50%, -50%); }
}
.lc-vf-swipe-hint.hide { opacity: 0; transition: opacity .3s; pointer-events: none; }

/* ── Scroll dot indicator ── */
.lc-vf-dots {
    position: fixed; right: 14px; top: 50%; transform: translateY(-50%);
    z-index: 10001; display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.lc-vf-dot {
    width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.4);
    cursor: pointer; transition: all .25s; border: none; padding: 0;
}
.lc-vf-dot.active { width: 10px; height: 10px; background: #fff; }
.lc-vf-dot-more {
    color: rgba(255,255,255,.4); font-size: 10px; letter-spacing: 1px; pointer-events: none;
}

/* ── Next video button ── */
.lc-vf-next-btn {
    position: fixed; bottom: 180px; left: 50%; transform: translateX(-50%);
    z-index: 9999; display: flex; align-items: center; gap: 6px;
    background: rgba(0,0,0,.45); border: 1px solid rgba(255,255,255,.15); border-radius: 20px;
    padding: 6px 14px; color: rgba(255,255,255,.7); font-size: 12px; font-weight: 500;
    cursor: pointer; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    transition: opacity .3s;
}

/* ── Sticky bottom bar ── */
.lc-vf-bottom-bar {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 10002;
    background: rgba(0,0,0,.9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255,255,255,.1);
    height: 56px; display: flex !important; align-items: center; justify-content: space-around;
    width: 100%; box-sizing: border-box; flex-wrap: nowrap; overflow: visible;
    padding: 0 env(safe-area-inset-right) 0 env(safe-area-inset-left);
    padding-bottom: env(safe-area-inset-bottom);
}
.lc-vf-bar-btn {
    display: flex; flex-direction: column; align-items: center; gap: 2px;
    background: none; border: none; color: #fff; cursor: pointer; padding: 4px 8px;
    position: relative; font-family: inherit; flex: 1 1 0; min-width: 0;
}
.lc-vf-bar-btn span:last-child { font-size: 10px; opacity: .7; }
.lc-vf-bar-badge {
    position: absolute; top: -2px; right: 4px;
    background: var(--lc-accent, #e53e3e); color: #fff; font-size: 9px; font-weight: 700;
    min-width: 16px; height: 16px; border-radius: 8px; display: flex;
    align-items: center; justify-content: center; padding: 0 4px;
}

/* ── Search overlay sheet ── */
.lc-vf-search-sheet {
    position: fixed; bottom: 56px; left: 0; right: 0; z-index: 10003;
    background: #1a1a2e; border-radius: 16px 16px 0 0;
    max-height: 60vh; transform: translateY(100%); transition: transform .3s ease;
    display: flex; flex-direction: column; overflow: hidden;
}
.lc-vf-search-sheet.open { transform: translateY(0); }
.lc-vf-search-header {
    display: flex; gap: 8px; padding: 14px 14px 10px; align-items: center;
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.lc-vf-search-input {
    flex: 1; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12);
    border-radius: 20px; padding: 9px 14px; color: #fff; font-size: 14px; outline: none;
    font-family: inherit;
}
.lc-vf-search-input::placeholder { color: rgba(255,255,255,.35); }
.lc-vf-search-close {
    background: none; border: none; color: rgba(255,255,255,.6); font-size: 24px;
    cursor: pointer; padding: 0 4px; line-height: 1;
}
.lc-vf-search-results {
    overflow-y: auto; padding: 10px 14px 20px; flex: 1;
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    align-content: start;
}
.lc-vf-search-card {
    background: rgba(255,255,255,.08); border-radius: 10px; overflow: hidden;
    cursor: pointer; transition: transform .15s;
}
.lc-vf-search-card:active { transform: scale(0.96); }
.lc-vf-search-card img {
    width: 100%; aspect-ratio: 1; object-fit: cover; display: block;
}
.lc-vf-search-card-body { padding: 6px 8px; }
.lc-vf-search-card-name {
    color: #fff; font-size: 12px; font-weight: 600; line-height: 1.3;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-bottom: 2px;
}
.lc-vf-search-card-price { color: var(--lc-accent, #e53e3e); font-size: 13px; font-weight: 700; }
.lc-vf-search-empty {
    grid-column: 1 / -1; text-align: center; color: rgba(255,255,255,.4);
    font-size: 13px; padding: 30px 0;
}

/* ── Adjust existing elements for bottom bar ── */
#lc-vod-feed .lc-vf-bottom { padding-bottom: 66px; }
#lc-vod-feed .lc-vf-comment-sheet { bottom: 56px; }
#lc-vod-feed .lc-vf-scroll-top { bottom: 72px; }
#lc-vod-feed .lc-vf-toast { bottom: 136px; }

@media (min-width: 768px) {
    .lc-vf-bottom-bar { max-width: 480px; left: 50%; transform: translateX(-50%); border-radius: 16px 16px 0 0; }
    .lc-vf-search-sheet { max-width: 480px; left: 50%; right: auto; transform: translateX(-50%) translateY(100%); }
    .lc-vf-search-sheet.open { transform: translateX(-50%) translateY(0); }
    .lc-vf-next-btn { bottom: 180px; }
}

/* ═══ Old player wrap (keep for desktop fallback) ═══ */
.lc-vod-player-wrap {
    position: relative; width: 100%; margin: 0 auto 16px;
    border-radius: 12px; overflow: hidden;
    background: #000; aspect-ratio: 9/16;
}
@media (min-width: 768px) {
    .lc-vod-player-wrap { max-width: 420px; max-height: 85vh; border-radius: 14px; }
}
.lc-vod-player-wrap video {
    width: 100%; height: 100%; object-fit: cover;
    background: #000; display: block;
}

/* ═══ Product Timeline Strip ═══ */
.lc-vod-timeline-section {
    margin-bottom: 16px;
}
.lc-vod-section-title {
    font-size: 14px; font-weight: 700;
    margin: 0 0 10px;
    color: var(--text-color, #e8e8f0);
}
.lc-vod-timeline {
    display: flex; gap: 10px; overflow-x: auto;
    padding: 2px 2px 10px; -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.lc-vod-timeline::-webkit-scrollbar { display: none; }

.lc-vod-tl-card {
    flex-shrink: 0; width: 90px; cursor: pointer;
    background: var(--card-bg, #1a1a2e);
    border: 2px solid transparent;
    border-radius: 10px; overflow: hidden;
    transition: border-color .2s, transform .15s;
    position: relative;
}
.lc-vod-tl-card:hover { transform: translateY(-2px); }
.lc-vod-tl-card.active {
    border-color: var(--lc-primary, #6c5ce7);
    box-shadow: 0 0 10px var(--lc-primary-glow, rgba(108,92,231,.3));
}
.lc-vod-tl-img {
    width: 100%; aspect-ratio: 1; object-fit: cover;
    background: var(--lc-surface, #16161f);
}
.lc-vod-tl-body { padding: 5px 6px 6px; }
.lc-vod-tl-name {
    font-size: 10px; font-weight: 600; line-height: 1.3;
    overflow: hidden; text-overflow: ellipsis;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    color: var(--text-color, #e8e8f0);
}
.lc-vod-tl-price { font-size: 11px; font-weight: 700; color: var(--lc-green, #00b894); margin-top: 2px; }
.lc-vod-tl-time {
    font-size: 9px; color: var(--lc-muted, #888899);
    margin-top: 2px; display: flex; align-items: center; gap: 3px;
}
.lc-vod-tl-time svg { flex-shrink: 0; }

/* ═══ Product Detail Panel ═══ */
.lc-vod-detail {
    background: var(--card-bg, #1a1a2e);
    border: 1px solid var(--border-color, rgba(255,255,255,.06));
    border-radius: 14px; padding: 14px; margin-bottom: 24px;
    animation: lcVodDetailIn .25s ease;
}
@keyframes lcVodDetailIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

.lc-vod-detail-inner {
    display: flex; gap: 12px; align-items: flex-start;
}
@media (max-width: 767px) {
    .lc-vod-detail-inner { flex-direction: column; gap: 10px; }
}
.lc-vod-pd-img {
    width: 100%; max-width: 140px; aspect-ratio: 3/4; object-fit: cover;
    border-radius: 10px; flex-shrink: 0;
    background: var(--lc-surface, #16161f);
}
@media (max-width: 767px) {
    .lc-vod-pd-img { max-width: 100%; max-height: 200px; aspect-ratio: auto; }
}
.lc-vod-pd-info { flex: 1; min-width: 0; }
.lc-vod-pd-name { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.lc-vod-pd-price { font-size: 20px; font-weight: 800; color: var(--lc-green, #00b894); margin-bottom: 6px; }
.lc-vod-pd-desc {
    font-size: 12px; color: var(--lc-muted, #888899);
    line-height: 1.5; margin-bottom: 8px;
    overflow: hidden; text-overflow: ellipsis;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
}
.lc-vod-pd-stock { font-size: 12px; margin-bottom: 10px; }
.lc-vod-pd-stock.in-stock { color: var(--lc-green, #00b894); }
.lc-vod-pd-stock.out-of-stock { color: var(--lc-red, #e53e3e); }

.lc-vod-pd-variants {
    display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px;
}
.lc-vod-var-chip {
    padding: 5px 12px; border-radius: 20px;
    background: var(--lc-surface2, #1e1e2a);
    border: 1.5px solid var(--lc-border, #2a2a3d);
    color: var(--text-color, #e8e8f0);
    font-size: 12px; font-weight: 500; cursor: pointer;
    transition: border-color .2s, background .2s;
}
.lc-vod-var-chip:hover { border-color: var(--lc-primary, #6c5ce7); }
.lc-vod-var-chip.selected {
    background: var(--lc-primary, #6c5ce7); color: #fff;
    border-color: var(--lc-primary, #6c5ce7);
}
.lc-vod-var-chip.out {
    opacity: .4; pointer-events: none; text-decoration: line-through;
}

.lc-vod-pd-actions { display: flex; align-items: center; gap: 10px; }
.lc-vod-qty-row { display: flex; align-items: center; gap: 0; }
.lc-vod-qty-btn {
    width: 32px; height: 32px; border: 1px solid var(--lc-border, #2a2a3d);
    background: var(--lc-surface2, #1e1e2a); color: var(--text-color, #e8e8f0);
    font-size: 15px; cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.lc-vod-qty-btn:first-child { border-radius: 8px 0 0 8px; }
.lc-vod-qty-btn:last-child { border-radius: 0 8px 8px 0; }
.lc-vod-qty-val {
    width: 36px; height: 32px; display: flex; align-items: center; justify-content: center;
    border-top: 1px solid var(--lc-border, #2a2a3d);
    border-bottom: 1px solid var(--lc-border, #2a2a3d);
    background: var(--lc-surface, #16161f);
    font-size: 13px; font-weight: 600;
}
@media (max-width: 767px) {
    .lc-vod-pd-actions { flex-direction: column; align-items: stretch; }
    .lc-vod-qty-row { justify-content: center; }
}
.lc-vod-add-btn {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 20px; border-radius: 12px;
    background: var(--lc-green, #00b894); color: #fff;
    border: none; font-size: 14px; font-weight: 700;
    cursor: pointer; transition: background .2s, transform .1s;
    width: 100%;
}
.lc-vod-add-btn:hover { background: var(--lc-green-dark, #00a381); }
.lc-vod-add-btn:active { transform: scale(.97); }
.lc-vod-add-btn:disabled { opacity: .5; cursor: not-allowed; }

.lc-vod-add-success {
    color: var(--lc-green, #00b894); font-size: 13px; font-weight: 700;
    margin-top: 6px; text-align: center;
    animation: lcVodSuccessPop .4s ease;
}
@keyframes lcVodSuccessPop { 0% { opacity: 0; transform: scale(.8); } 60% { transform: scale(1.1); } 100% { opacity: 1; transform: scale(1); } }

/* ═══ Animations ═══ */
@keyframes lc-pulse { 0%,100% { opacity: 1; } 50% { opacity: .4; } }
@keyframes lcPulseBg { 0%,100% { transform: scale(1); opacity: .5; } 50% { transform: scale(1.5); opacity: 0; } }
@keyframes lcBadgePulse { 0% { transform: scale(1); } 50% { transform: scale(1.35); } 100% { transform: scale(1); } }

/* ═══ Mobile responsive extras ═══ */
@media (max-width: 640px) {
    #lc-cart-panel { width: 100vw; }
}
@media (max-width: 380px) {
    .lc-pc-img { width: 44px; height: 44px; }
    .lc-pc-add-btn { padding: 8px 12px; font-size: .78rem; }
    .lc-vod-grid { gap: 8px; }
    .lc-vod-info { padding: 8px; }
    .lc-vod-title { font-size: 12px; }
}

/* ═══ Mobile live fixes ════════════════════════════ */
@media (max-width: 767px) {
    /* Bottom bar — taller pills, better tap targets */
    .lc-bb-pill {
        padding: 12px 14px !important;
        font-size: 0.8rem !important;
        min-height: 46px;
    }
    #lc-bottom-bar {
        padding: 8px 8px calc(8px + env(safe-area-inset-bottom,0px)) !important;
        gap: 6px !important;
    }
    /* Send comment button — bigger */
    #lc-comment-send {
        width: 46px !important; height: 46px !important;
        font-size: 1.1rem !important;
        flex-shrink: 0 !important;
    }
    #lc-comment-input {
        font-size: 16px !important; /* prevent iOS zoom */
        min-height: 44px;
    }
    /* Variant confirm button — always full width, min tap height */
    .lc-variant-confirm-btn {
        min-height: 52px !important;
        font-size: 1rem !important;
    }
    /* Variant rows — bigger tap */
    .lc-var-row { min-height: 52px !important; }
    .lc-var-qty-btn { width: 44px !important; height: 44px !important; }
    /* Product add button */
    .lc-pc-add-btn {
        padding: 12px 18px !important;
        font-size: 0.88rem !important;
        min-height: 48px;
    }
    /* Product index — visible sticky heading */
    .lc-product-index {
        scroll-margin-top: 8px;
    }
    /* FAB buttons — bigger on mobile */
    .lc-fab {
        width: 44px !important; height: 44px !important;
    }
    /* When comment expand open, shift product card up */
    body.lc-comment-open #lc-product-card {
        bottom: 160px !important;
    }
}

/* ═══ Feature 1: Live Viewer Counter ═══ */
.lc-viewer-count {
    display: inline-flex; align-items: center; gap: 5px;
    background: rgba(0,0,0,.55); backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: #fff; font-size: 12px; font-weight: 600;
    padding: 3px 10px; border-radius: 16px;
    margin-left: 6px; transition: opacity .3s;
}
.lc-viewer-count svg { opacity: .8; }
.lc-viewer-count .lc-vc-num {
    display: inline-block; min-width: 16px; text-align: center;
    transition: transform .3s ease, opacity .15s;
}
.lc-viewer-count .lc-vc-num.lc-vc-bump {
    animation: lcVcBump .35s ease;
}
@keyframes lcVcBump {
    0% { transform: translateY(0); opacity: 1; }
    30% { transform: translateY(-4px); opacity: .6; }
    100% { transform: translateY(0); opacity: 1; }
}

/* ═══ Feature 2: VOD Skip Dead Parts ═══ */
.lc-vod-skip-btn {
    position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%);
    z-index: 200; display: flex; align-items: center; gap: 8px;
    background: rgba(0,0,0,.75); backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #fff; font-size: 14px; font-weight: 600;
    padding: 12px 22px; border-radius: 28px;
    border: 1px solid rgba(255,255,255,.2);
    cursor: pointer; white-space: nowrap;
    animation: lcSkipFadeIn .4s ease;
    box-shadow: 0 4px 20px rgba(0,0,0,.4);
    transition: background .2s, transform .1s;
}
.lc-vod-skip-btn:hover { background: rgba(0,0,0,.9); }
.lc-vod-skip-btn:active { transform: translate(-50%, -50%) scale(.95); }
@keyframes lcSkipFadeIn {
    0% { opacity: 0; transform: translate(-50%, -50%) scale(.85); }
    100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

/* ═══ Feature 3: Product Compare (long-press) ═══ */
.lc-vf-prod-card.lc-compare-selected {
    box-shadow: 0 0 0 2px var(--lc-accent, #e53e3e), 0 0 12px rgba(229,62,62,.4);
    position: relative;
}
.lc-vf-prod-card .lc-compare-badge {
    position: absolute; top: 4px; right: 4px;
    width: 20px; height: 20px; border-radius: 50%;
    background: var(--lc-accent, #e53e3e); color: #fff;
    font-size: 11px; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    z-index: 2; box-shadow: 0 1px 4px rgba(0,0,0,.3);
    animation: lcBadgePulse .5s ease;
}
.lc-compare-modal {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    z-index: 9999; display: flex; align-items: center; justify-content: center;
}
.lc-compare-backdrop {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,.7); backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.lc-compare-sheet {
    position: relative; z-index: 1;
    background: #1a1a2e; border-radius: 16px;
    width: 95%; max-width: 600px; max-height: 90vh;
    overflow-y: auto; box-shadow: 0 8px 40px rgba(0,0,0,.5);
    border: 1px solid rgba(255,255,255,.1);
}
.lc-compare-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 18px; border-bottom: 1px solid rgba(255,255,255,.1);
}
.lc-compare-title { color: #fff; font-size: 16px; font-weight: 700; }
.lc-compare-close {
    background: none; border: none; color: rgba(255,255,255,.6);
    font-size: 28px; cursor: pointer; line-height: 1;
    padding: 0 4px; transition: color .2s;
}
.lc-compare-close:hover { color: #fff; }
.lc-compare-body {
    display: grid; grid-template-columns: 1fr 1fr; gap: 0;
    padding: 16px;
}
.lc-compare-col {
    display: flex; flex-direction: column; align-items: center;
    padding: 0 10px; text-align: center;
}
.lc-compare-col:first-child {
    border-right: 1px solid rgba(255,255,255,.1);
}
.lc-compare-col img {
    width: 100%; max-width: 160px; aspect-ratio: 1;
    object-fit: cover; border-radius: 10px; margin-bottom: 10px;
}
.lc-compare-col .lc-cmp-name {
    color: #fff; font-size: 13px; font-weight: 600;
    margin-bottom: 6px; line-height: 1.3;
}
.lc-compare-col .lc-cmp-price {
    font-size: 18px; font-weight: 800; margin-bottom: 8px;
}
.lc-cmp-price.lc-cmp-cheaper { color: #00b894; }
.lc-cmp-price.lc-cmp-expensive { color: var(--lc-accent, #e53e3e); }
.lc-cmp-price.lc-cmp-same { color: #ffd93d; }
.lc-compare-col .lc-cmp-variants {
    color: rgba(255,255,255,.7); font-size: 11px; margin-bottom: 6px;
}
.lc-compare-col .lc-cmp-stock {
    font-size: 12px; font-weight: 600; margin-bottom: 10px;
}
.lc-cmp-stock.in-stock { color: #00b894; }
.lc-cmp-stock.out-of-stock { color: var(--lc-accent, #e53e3e); }
.lc-compare-col .lc-cmp-add-btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 10px 16px; border-radius: 10px;
    background: var(--lc-green, #00b894); color: #fff;
    border: none; font-size: 12px; font-weight: 700;
    cursor: pointer; transition: background .2s, transform .1s;
    width: 100%;
}
.lc-compare-col .lc-cmp-add-btn:hover { background: var(--lc-green-dark, #00a381); }
.lc-compare-col .lc-cmp-add-btn:active { transform: scale(.96); }
.lc-compare-col .lc-cmp-add-btn:disabled { opacity: .5; cursor: not-allowed; }
@media (max-width: 480px) {
    .lc-compare-sheet { width: 100%; max-width: 100%; border-radius: 16px 16px 0 0;
        position: fixed; bottom: 0; max-height: 85vh; }
    .lc-compare-col img { max-width: 120px; }
    .lc-compare-col .lc-cmp-name { font-size: 12px; }
    .lc-compare-col .lc-cmp-price { font-size: 15px; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   SHOPPING UX IMPROVEMENTS
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── 1. Urgency badge (stock < 5) ── */
.lc-urgency-badge {
    position: absolute; top: -6px; right: -6px; background: #e53e3e; color: #fff;
    font-size: 10px; padding: 2px 6px; border-radius: 8px; font-weight: 700;
    z-index: 3; white-space: nowrap; pointer-events: none;
    animation: lcUrgencyPulse 2s ease-in-out infinite;
}
.lc-urgency-badge.sold-out { background: #666; animation: none; }
@keyframes lcUrgencyPulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.08); } }
.lc-vf-prod-card { position: relative; }
.lc-pi-card { position: relative; }
.lc-vf-prod-card.lc-sold-out { opacity: .5; pointer-events: none; }
.lc-pi-card.lc-sold-out { opacity: .5; pointer-events: none; }

/* ── 2. Quick buy button ── */
.lc-quick-buy {
    position: absolute; bottom: 8px; right: 8px; width: 32px; height: 32px;
    border-radius: 50%; background: rgba(255,255,255,.2); border: none;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; z-index: 4; transition: background .2s, transform .15s;
    backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
    font-size: 16px; line-height: 1; color: #fff;
}
.lc-quick-buy:active { transform: scale(0.88); }
.lc-quick-buy.lc-qb-success { background: #00b894 !important; }

/* ── 3. Wishlist heart ── */
.lc-wish-heart {
    position: absolute; top: 6px; left: 6px; width: 28px; height: 28px;
    background: rgba(0,0,0,.4); border-radius: 50%; border: none;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; z-index: 4; transition: transform .15s;
    backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}
.lc-wish-heart:active { transform: scale(0.85); }
.lc-wish-heart svg { width: 16px; height: 16px; transition: fill .15s, stroke .15s; }
.lc-wish-heart.active svg { fill: #e53e3e; stroke: #e53e3e; }
.lc-wish-heart:not(.active) svg { fill: none; stroke: #fff; }

/* ── 4. New product notification ── */
.lc-new-product-notif {
    position: fixed; top: 0; left: 0; right: 0; z-index: 9998;
    background: rgba(0,0,0,.9); backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px); padding: 12px 16px;
    display: flex; align-items: center; gap: 12px;
    transform: translateY(-100%); transition: transform .4s cubic-bezier(.22,1,.36,1);
    border-bottom: 1px solid rgba(255,255,255,.1);
}
.lc-new-product-notif.lc-npn-visible { transform: translateY(0); }
.lc-new-product-notif img {
    width: 48px; height: 48px; border-radius: 8px; object-fit: cover; flex-shrink: 0;
}
.lc-new-product-notif-info { flex: 1; min-width: 0; }
.lc-new-product-notif-label {
    font-size: 10px; color: var(--lc-red); font-weight: 700;
    text-transform: uppercase; letter-spacing: .5px; margin-bottom: 2px;
}
.lc-new-product-notif-name {
    color: #fff; font-size: 14px; font-weight: 600;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.lc-new-product-notif-price { color: var(--lc-accent, #e53e3e); font-size: 13px; font-weight: 700; }
.lc-new-product-notif-btn {
    flex-shrink: 0; background: var(--lc-green); color: #fff; border: none;
    border-radius: 8px; padding: 8px 14px; font-size: 12px; font-weight: 700;
    cursor: pointer; transition: background .15s;
}
.lc-new-product-notif-btn:active { background: var(--lc-green-dark); }

/* ── 5. Social proof "Kupilo X ludi" ── */
.lc-social-proof { color: rgba(255,255,255,.5); font-size: 10px; margin-top: 1px; }

/* ── 6. Sticky cart FAB ── */
.lc-cart-fab {
    position: fixed; bottom: 20px; right: 16px; width: 56px; height: 56px;
    border-radius: 50%; border: none; cursor: pointer; z-index: 9990;
    background: linear-gradient(135deg, #e53e3e 0%, #c53030 100%);
    box-shadow: 0 4px 20px rgba(229,62,62,.4);
    display: flex; align-items: center; justify-content: center;
    transition: transform .2s, box-shadow .2s, opacity .3s;
    opacity: 0; pointer-events: none;
}
.lc-cart-fab.lc-fab-visible { opacity: 1; pointer-events: auto; }
.lc-cart-fab:active { transform: scale(0.9); }
.lc-cart-fab svg { color: #fff; stroke: #fff; }
.lc-cart-fab-badge {
    position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px;
    background: #fff; color: #e53e3e; border-radius: 10px; font-size: 11px;
    font-weight: 800; display: flex; align-items: center; justify-content: center;
    padding: 0 5px;
}
.lc-cart-fab-badge.lc-badge-bounce { animation: lcFabBadgeBounce .4s ease; }
@keyframes lcFabBadgeBounce {
    0% { transform: scale(1); } 40% { transform: scale(1.4); } 100% { transform: scale(1); }
}
.lc-cart-fab.lc-fab-pulse { animation: lcFabPulseGlow .6s ease; }
@keyframes lcFabPulseGlow {
    0% { box-shadow: 0 4px 20px rgba(229,62,62,.4); }
    50% { box-shadow: 0 4px 30px rgba(229,62,62,.7); }
    100% { box-shadow: 0 4px 20px rgba(229,62,62,.4); }
}
/* When VOD feed is visible, raise above bottom bar */
#lc-vod-feed[style*="display: block"] ~ .lc-cart-fab,
#lc-vod-feed:not([style*="display:none"]):not([style*="display: none"]) ~ .lc-cart-fab { bottom: 76px; }

/* ── 7. Fly animation ── */
.lc-fly-img {
    position: fixed; z-index: 99999; pointer-events: none; border-radius: 8px;
    object-fit: cover; box-shadow: 0 4px 16px rgba(0,0,0,.4);
}

/* ── 8. Hot moments markers on progress bar ── */
.lc-vf-progress { position: relative; overflow: visible; }
.lc-hot-dot {
    position: absolute; top: 50%; width: 6px; height: 6px; border-radius: 50%;
    background: #f6e05e; transform: translate(-50%, -50%); z-index: 2;
    cursor: pointer; box-shadow: 0 0 4px rgba(246,224,94,.6);
}
.lc-hot-dot:hover { transform: translate(-50%, -50%) scale(1.5); }

/* ── 9. Product chapter markers on progress bar ── */
.lc-chapter-seg {
    position: absolute; top: 0; height: 100%; opacity: .6; z-index: 1;
    border-radius: 2px; cursor: pointer; transition: opacity .15s;
}
.lc-chapter-seg:hover { opacity: 1; }
.lc-chapter-tooltip {
    position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%);
    background: rgba(0,0,0,.85); color: #fff; font-size: 10px; padding: 3px 8px;
    border-radius: 4px; white-space: nowrap; pointer-events: none;
    opacity: 0; transition: opacity .15s; z-index: 3;
}
.lc-chapter-seg:hover .lc-chapter-tooltip { opacity: 1; }
/* ═══ Emoji Trigger (in bottom bar) ═══ */
.lc-emoji-trigger { position: relative; }
.lc-bb-emoji {
    min-width: 42px; padding: 0 10px; font-size: 18px;
    display: flex; align-items: center; justify-content: center;
}
.lc-emoji-popup {
    position: absolute; bottom: calc(100% + 8px); left: 50%;
    transform: translateX(-50%) scale(0.8);
    background: rgba(16,16,24,0.95); backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 24px; padding: 6px 8px;
    display: none; gap: 4px;
    z-index: 35; white-space: nowrap;
    opacity: 0; transition: opacity .15s, transform .15s;
}
.lc-emoji-popup.open {
    display: flex; opacity: 1;
    transform: translateX(-50%) scale(1);
}
.lc-ep-btn {
    width: 40px; height: 40px; border-radius: 50%;
    background: rgba(255,255,255,.08); border: none;
    font-size: 20px; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: transform .1s, background .1s;
    -webkit-tap-highlight-color: transparent;
}
.lc-ep-btn:active { transform: scale(1.3); background: rgba(255,255,255,.15); }
#lc-emoji-rain {
    position: absolute; bottom: 100px; left: 10px;
    width: 60px; height: 50vh;
    pointer-events: none; z-index: 19; overflow: visible;
}
.lc-flying-emoji {
    position: absolute; bottom: 0;
    font-size: 28px; opacity: 1;
    animation: lcEmojiFloat 2.2s ease-out forwards;
    pointer-events: none;
}
@keyframes lcEmojiFloat {
    0%   { opacity: 1; transform: translateY(0) scale(1); }
    50%  { opacity: 1; transform: translateY(-25vh) scale(1.2); }
    100% { opacity: 0; transform: translateY(-48vh) scale(0.6); }
}
/* ═══ Purchase Toast (social proof) ═══ */
.lc-purchase-toast {
    position: fixed; top: 60px; left: 50%; transform: translateX(-50%) translateY(-80px);
    background: rgba(10,10,15,0.92); backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(0,184,148,.3);
    border-radius: 14px; padding: 10px 18px;
    color: #fff; font-size: 13px; font-weight: 600;
    z-index: 10015; white-space: nowrap; max-width: 90vw;
    overflow: hidden; text-overflow: ellipsis;
    transition: transform .35s cubic-bezier(.4,0,.2,1);
    pointer-events: none;
}
.lc-purchase-toast.show { transform: translateX(-50%) translateY(0); }
.lc-purchase-toast .lc-pt-icon { margin-right: 6px; }
.lc-purchase-toast .lc-pt-name { color: var(--lc-green); }
/* ═══ Pinned Comment ═══ */
.lc-pinned-bar {
    position: absolute; top: 70px; left: 8px; right: 8px;
    background: rgba(22,22,31,0.85); backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-radius: 10px; padding: 8px 12px;
    display: none; align-items: flex-start; gap: 6px;
    z-index: 22; cursor: pointer;
    border: 1px solid rgba(255,255,255,.08);
    max-height: 42px; overflow: hidden;
    transition: max-height .25s ease;
}
.lc-pinned-bar.expanded { max-height: 200px; }
.lc-pinned-bar.visible { display: flex; }
.lc-pinned-icon { font-size: 14px; flex-shrink: 0; }
.lc-pinned-text {
    color: #fff; font-size: 12px; line-height: 1.4;
    overflow: hidden;
}
.lc-pinned-author { font-weight: 700; color: var(--lc-primary); margin-right: 4px; }

/* ═══ Stock Urgency ═══ */
.lc-stock-urgent {
    display: inline-block; font-size: 10px; font-weight: 700;
    color: #e53e3e; margin-left: 6px;
    animation: lcStockPulse 1.5s ease infinite;
}
@keyframes lcStockPulse {
    0%, 100% { opacity: 1; } 50% { opacity: .5; }
}
.lc-stock-low { display: inline-block; font-size: 10px; color: #d69e2e; margin-left: 6px; }
.lc-stock-out { opacity: .35; pointer-events: none; }
.lc-stock-out-badge {
    display: inline-block; font-size: 10px; font-weight: 700;
    color: #888; margin-left: 6px;
}
.lc-stock-bar {
    height: 3px; border-radius: 2px; margin-top: 3px;
    background: rgba(255,255,255,.1); overflow: hidden;
}
.lc-stock-bar-fill {
    height: 100%; border-radius: 2px;
    transition: width .4s ease;
}

/* ═══ Product Switch Notification ═══ */
.lc-product-notify {
    position: absolute; top: 50%; right: 0;
    transform: translateY(-50%) translateX(110%);
    background: rgba(10,10,15,0.92); backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 14px 0 0 14px; padding: 10px 14px;
    display: flex; align-items: center; gap: 10px;
    z-index: 30; max-width: 280px;
    transition: transform .4s cubic-bezier(.4,0,.2,1);
}
.lc-product-notify.show { transform: translateY(-50%) translateX(0); }
.lc-pn-img { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; flex-shrink: 0; background: var(--lc-surface2); }
.lc-pn-info { flex: 1; min-width: 0; }
.lc-pn-label { font-size: 10px; color: var(--lc-primary); font-weight: 700; text-transform: uppercase; letter-spacing: .5px; }
.lc-pn-name { font-size: 13px; font-weight: 600; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; }
.lc-pn-price { font-size: 14px; font-weight: 700; color: var(--lc-green); margin-top: 2px; }
.lc-pn-btn {
    background: var(--lc-primary); color: #fff; border: none;
    border-radius: 8px; padding: 6px 12px; font-size: 12px; font-weight: 700;
    cursor: pointer; white-space: nowrap; flex-shrink: 0;
}

/* ═══ Checkout Nudge ═══ */
.lc-checkout-nudge {
    position: absolute; bottom: 52px; left: 0; right: 0;
    background: rgba(10,10,15,0.95); backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(0,184,148,.25);
    padding: 10px 14px; display: none; align-items: center; gap: 10px;
    z-index: 28; animation: lcSlideUp .25s ease;
}
.lc-checkout-nudge.visible { display: flex; }
.lc-cn-text { flex: 1; color: #fff; font-size: 13px; }
.lc-cn-text strong { color: var(--lc-green); }
.lc-cn-btn {
    background: var(--lc-green); color: #fff; border: none;
    border-radius: 10px; padding: 8px 16px; font-size: 13px; font-weight: 700;
    cursor: pointer; white-space: nowrap; animation: lcNudgePulse 2s ease infinite;
}
@keyframes lcNudgePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(0,184,148,.4); }
    50% { box-shadow: 0 0 0 8px rgba(0,184,148,0); }
}
.lc-cn-close {
    background: none; border: none; color: rgba(255,255,255,.4);
    font-size: 18px; cursor: pointer; padding: 0 4px;
}
/* ═══ Instant Order Confirm ═══ */
.lc-instant-confirm {
    position: absolute; bottom: 52px; left: 0; right: 0;
    background: rgba(10,30,20,0.95); backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 2px solid var(--lc-green);
    padding: 14px; z-index: 28;
    animation: lcSlideUp .25s ease;
    display: none;
}
.lc-instant-confirm.visible { display: block; }
.lc-ic-header { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.lc-ic-check { width: 28px; height: 28px; border-radius: 50%; background: var(--lc-green); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 700; }
.lc-ic-title { color: #fff; font-size: 15px; font-weight: 700; }
.lc-ic-items { margin: 8px 0; }
.lc-ic-item { display: flex; justify-content: space-between; color: rgba(255,255,255,.8); font-size: 13px; padding: 3px 0; }
.lc-ic-total { display: flex; justify-content: space-between; color: var(--lc-green); font-size: 15px; font-weight: 700; padding-top: 6px; border-top: 1px solid rgba(255,255,255,.1); margin-top: 6px; }
.lc-ic-continue {
    width: 100%; margin-top: 10px; padding: 10px;
    background: rgba(255,255,255,.1); color: #fff;
    border: 1px solid rgba(255,255,255,.15); border-radius: 10px;
    font-size: 13px; font-weight: 600; cursor: pointer;
}
/* ═══ Next Stream Schedule ═══ */
.lc-next-stream {
    margin: 12px 0 8px; text-align: center;
}
.lc-next-title { font-size: 15px; font-weight: 700; color: var(--lc-text); margin-bottom: 4px; }
.lc-next-date { font-size: 14px; color: var(--lc-primary); font-weight: 600; }
.lc-next-countdown {
    font-size: 22px; font-weight: 800; color: #fff;
    margin-top: 8px; font-variant-numeric: tabular-nums;
    letter-spacing: 1px;
}
.lc-notify-btn {
    display: inline-flex; align-items: center; gap: 8px;
    margin-top: 16px; padding: 12px 24px;
    background: var(--lc-primary); color: #fff;
    border: none; border-radius: 12px;
    font-size: 14px; font-weight: 700; cursor: pointer;
    transition: background .15s, transform .1s;
}
.lc-notify-btn:active { transform: scale(.96); }
.lc-notify-btn.subscribed {
    background: rgba(0,184,148,.2); color: var(--lc-green);
    pointer-events: none;
}
/* ═══ Poll / Anketa ═══ */
.lc-poll-overlay {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    display: flex; align-items: center; justify-content: center;
    z-index: 32; background: rgba(0,0,0,.3);
    animation: lcFadeIn .25s ease;
}
@keyframes lcFadeIn { from { opacity: 0; } to { opacity: 1; } }
.lc-poll-card {
    background: rgba(16,16,24,0.95); backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 16px; padding: 20px;
    max-width: 340px; width: calc(100% - 40px);
}
.lc-poll-q {
    font-size: 16px; font-weight: 700; color: #fff;
    text-align: center; margin-bottom: 16px; line-height: 1.4;
}
.lc-poll-options { display: flex; flex-direction: column; gap: 8px; }
.lc-poll-option {
    position: relative; overflow: hidden;
    background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.1);
    border-radius: 10px; padding: 12px 14px;
    color: #fff; font-size: 14px; font-weight: 600;
    cursor: pointer; user-select: none;
    transition: border-color .15s;
    -webkit-tap-highlight-color: transparent;
}
.lc-poll-option:active { border-color: var(--lc-primary); }
.lc-poll-option.voted { border-color: var(--lc-primary); background: rgba(108,92,231,.15); }
.lc-poll-option.disabled { pointer-events: none; }
.lc-poll-result-bar {
    position: absolute; left: 0; top: 0; bottom: 0;
    background: rgba(108,92,231,.2);
    width: 0; transition: width .5s ease;
    border-radius: 10px;
}
.lc-poll-option-text { position: relative; z-index: 1; display: flex; justify-content: space-between; }
.lc-poll-option-pct { color: var(--lc-primary); font-weight: 700; }
.lc-poll-total {
    text-align: center; margin-top: 10px;
    font-size: 12px; color: rgba(255,255,255,.4);
}

/* ═══ Mobile Compact Mode (phones) ═══ */
@media (max-width: 767px) {
    /* Top bar: smaller, tighter */
    #lc-top-bar {
        top: 8px; left: 8px; gap: 5px;
    }
    .lc-live-badge {
        font-size: 10px; padding: 3px 8px;
    }
    .lc-viewers-pill {
        font-size: 11px; padding: 3px 8px;
    }
    .lc-latency-pill {
        display: none; /* hide latency on mobile — unnecessary for customers */
    }

    /* GM banner: below top bar, no overlap with pinned */
    #lc-gm-banner {
        padding: 8px 10px;
    }
    #lc-gm-banner-code { font-size: 18px; }
    #lc-gm-banner-variants, #lc-gm-banner-product { font-size: 11px; }
    #lc-gm-banner-price { font-size: 12px; }

    /* Pinned bar: pushed below GM banner */
    .lc-pinned-bar {
        top: auto !important;
        bottom: 120px !important;
        left: 8px !important; right: 60px !important;
        position: absolute !important;
    }

    /* FAB stack: smaller buttons, tighter spacing */
    #lc-fab-stack {
        right: 8px;
        gap: 8px;
    }
    .lc-fab {
        width: 36px; height: 36px;
    }
    .lc-fab svg {
        width: 16px; height: 16px;
    }

    /* Comments: mobile — just above bottom bar */
    #lc-comments-float {
        bottom: calc(52px + env(safe-area-inset-bottom, 0px));
        right: 48px;
        max-height: 210px;
        padding: 0 6px;
    }
    #lc-comments-float.lc-fc-expanded { max-height: 50vh; }
    #lc-fc-ctrl { bottom: calc(52px + env(safe-area-inset-bottom, 0px)); }
    .lc-fc-item { padding: 6px 10px 6px 8px; border-radius: 12px; gap: 8px; }
    .lc-fc-avatar { width: 28px; height: 28px; font-size: 11px; }
    .lc-fc-name { font-size: 12px; }
    .lc-fc-msg { font-size: 13px; }
    .lc-fc-item { padding: 4px 8px; margin-bottom: 2px; }
    .lc-fc-msg { font-size: 12px; }
    .lc-fc-name { font-size: 10px; }
    .lc-fc-avatar { width: 22px; height: 22px; font-size: 9px; }

    /* Bottom bar: compact, ensure visible above safe area */
    #lc-bottom-bar {
        padding: 8px 8px calc(12px + var(--lc-safe-bottom)) !important;
        gap: 6px;
        bottom: 0 !important;
        z-index: 30;
    }
    .lc-bb-pill {
        height: 44px;
        font-size: 12px;
        padding: 0 10px;
    }
    .lc-bb-emoji {
        min-width: 44px;
        font-size: 18px;
    }
    .lc-ep-btn {
        width: 44px; height: 44px;
        font-size: 18px;
    }

    /* Product card: fixed, above everything */
    #lc-product-card {
        position: fixed !important;
        bottom: calc(80px + var(--lc-safe-bottom)) !important;
        z-index: 10050 !important;
    }
    .lc-pc-img {
        width: 56px; height: 56px;
    }
    /* Variant confirm button: big enough to tap */
    .lc-variant-confirm-btn {
        padding: 12px 20px;
        font-size: 14px;
        margin-bottom: 4px;
    }
    .lc-pc-add-btn {
        padding: 12px 16px;
        font-size: 13px;
    }

    /* Product notify: smaller toast */
    .lc-product-notify {
        top: 44px;
        margin: 0 8px;
    }

    /* Comment input: position fixed nad navom — definované v hlavnom CSS */

    /* Gradients: shorter on mobile for more visible area */
    .lc-gradient-top { height: 80px; }
    .lc-gradient-bottom { height: 180px; }

    /* Emoji rain: above bottom bar + bottom nav */
    #lc-emoji-rain {
        bottom: 124px;
        height: 35vh;
    }

    /* Poll overlay: smaller on mobile */
    .lc-poll-card {
        max-width: 85vw;
    }
}

/* ═══ Very small phones (≤380px) ═══ */
@media (max-width: 380px) {
    .lc-fab { width: 32px; height: 32px; }
    .lc-fab svg { width: 14px; height: 14px; }
    #lc-fab-stack { gap: 6px; right: 6px; }
    .lc-bb-pill { height: 44px; font-size: 11px; padding: 0 8px; }
    #lc-comments-float { width: min(220px, 55vw); max-height: 30vh; }
    .lc-viewers-pill { font-size: 10px; padding: 2px 6px; }
}

/* ═══ Landscape Mode ═══ */
@media (orientation: landscape) and (max-height: 500px) {
    #lc-fullscreen #lc-top-bar { padding: 4px 8px; }
    #lc-fullscreen .lc-live-badge { font-size: 11px; padding: 2px 8px; }
    #lc-fullscreen #lc-fab-stack { top: 4px; gap: 6px; }
    #lc-fullscreen #lc-fab-stack .lc-fab { width: 36px; height: 36px; font-size: 14px; }
    #lc-fullscreen #lc-comments-float { bottom: 44px; right: 52px; max-height: 240px; }
    #lc-fullscreen #lc-comments-float.lc-fc-expanded { max-height: 55vh; }
    #lc-fullscreen #lc-fc-ctrl { bottom: 44px; }
    #lc-fullscreen #lc-bottom-bar { padding: 4px 8px; }
    #lc-fullscreen .lc-bb-pill { height: 32px; font-size: 12px; }
    #lc-fullscreen #lc-product-card { position: fixed !important; z-index: 10050 !important; }
    #lc-fullscreen #lc-gm-banner { font-size: 11px; padding: 4px 10px; }
    #lc-fullscreen .lc-bb-emoji { min-width: 36px; font-size: 15px; }
    #lc-fullscreen .lc-ep-btn { width: 32px; height: 32px; font-size: 15px; }
    #lc-fullscreen #lc-emoji-rain { bottom: 80px; height: 30vh; }
    #lc-fullscreen .lc-pinned-bar { top: 50px; }
}

/* ═══ Compare Tooltip ═══ */
.lc-compare-tip {
    position: absolute; bottom: calc(100% + 6px); left: 50%;
    transform: translateX(-50%);
    background: rgba(16,16,24,0.95); color: #fff;
    font-size: 11px; font-weight: 600;
    padding: 6px 12px; border-radius: 8px;
    white-space: nowrap; z-index: 50;
    box-shadow: 0 4px 12px rgba(0,0,0,.4);
    animation: lcFadeIn .3s ease;
    transition: opacity .3s;
    pointer-events: auto; cursor: pointer;
}
.lc-compare-tip::after {
    content: ''; position: absolute; top: 100%; left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: rgba(16,16,24,0.95);
}

/* ═══ DIZAJN UPGRADE 2026-04-28 — výkonnostne bezpečné zmeny ═══ */

/* Waiting state — brand farby bez animácií box-shadow */
.lc-waiting {
    background: linear-gradient(160deg,rgba(108,92,231,.12) 0%,rgba(10,10,20,.98) 100%);
    border: 1px solid rgba(108,92,231,.2);
    border-radius: 24px;
    padding: 48px 20px 36px;
}
.lc-waiting-icon-circle {
    width: 72px; height: 72px;
    background: rgba(108,92,231,.15);
    border: 1px solid rgba(108,92,231,.3);
    color: #a78bfa;
}
.lc-waiting-title { font-size: 22px; font-weight: 800; color: #fff; margin: 16px 0 6px; }
.lc-waiting-sub { font-size: 14px; color: rgba(255,255,255,.45); margin: 0 0 18px; }
.lc-next-stream {
    background: rgba(108,92,231,.1); border: 1px solid rgba(108,92,231,.2);
    border-radius: 14px; padding: 16px 20px; margin: 14px auto 0; max-width: 280px;
}
.lc-next-title { font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 4px; }
.lc-next-date  { font-size: 13px; color: #a78bfa; font-weight: 600; }
.lc-next-countdown { font-size: 24px; font-weight: 800; color: #fff; margin-top: 8px; }

/* Notify button — gradient, bez box-shadow animácie */
.lc-notify-btn {
    width: 100%; max-width: 300px; margin-top: 20px;
    padding: 15px 24px; font-size: 15px; font-weight: 700;
    background: linear-gradient(135deg,#6c5ce7,#a78bfa);
    border-radius: 14px; border: none;
    transition: opacity .15s;
}
.lc-notify-btn:hover { opacity: .9; }
.lc-notify-btn:active { opacity: .8; }
.lc-notify-btn.subscribed { background: rgba(0,184,148,.2) !important; }

/* View tabs — aktívny fialový */
.lc-view-tab.active {
    background: #6c5ce7; border-color: #6c5ce7; color: #fff;
}

/* VOD heading */
.lc-vod-heading { font-size: 18px; font-weight: 800; }
.lc-vod-count { background: rgba(108,92,231,.15); color: #a78bfa; }
.lc-vod-dur { background: rgba(108,92,231,.7); border-radius: 6px; font-weight: 700; }
.lc-pi-card-price { color: #a78bfa; font-weight: 800; }

/* Variant confirm button */
.lc-variant-confirm-btn { background: #6c5ce7 !important; }

/* Desktop */
@media (min-width: 768px) {
    .lc-waiting { max-width: 560px; margin: 0 auto; }
    .lc-vod-grid { grid-template-columns: repeat(3,1fr); gap: 18px; }
}

/* ── VOD bottom bar — cart button highlight ── */
#lc-vf-bar-cart.has-items { color: #22c55e !important; }
#lc-vf-bar-cart.has-items svg { stroke: #22c55e !important; }
#lc-vf-bar-cart.has-items span:last-child { color: #22c55e !important; opacity: 1 !important; font-weight: 700; }
.lc-vf-bar-badge {
    background: #e53e3e !important; font-size: 10px !important; font-weight: 800 !important;
    min-width: 18px !important; height: 18px !important; border-radius: 9px !important;
    border: 2px solid rgba(0,0,0,.8);
}
/* Search sheet nesmie zakrývať bottom bar */
.lc-vf-search-sheet { bottom: 56px !important; max-height: calc(70vh - 56px) !important; }

/* ═══════════════════════════════════════════
   PRODUCT BANNER (Selmo štýl)
   ═══════════════════════════════════════════ */
#lc-product-banner {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 10045;
    background: #fff;
    border-top: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    padding-bottom: max(8px, env(safe-area-inset-bottom, 8px));
    box-shadow: 0 -2px 12px rgba(0,0,0,.15);
    animation: lcSlideUp .25s ease;
}
.lc-pb-img {
    width: 48px; height: 48px;
    border-radius: 8px; object-fit: cover;
    flex-shrink: 0; background: #f3f4f6;
}
.lc-pb-info { flex: 1; min-width: 0; }
.lc-pb-name {
    font-size: 13px; font-weight: 700;
    color: #111; white-space: nowrap;
    overflow: hidden; text-overflow: ellipsis;
}
.lc-pb-price {
    font-size: 15px; font-weight: 800;
    color: #16a34a; margin-top: 1px;
}
.lc-pb-btn {
    display: flex; align-items: center; gap: 6px;
    padding: 10px 18px;
    background: linear-gradient(135deg, #6c5ce7, #a855f7);
    color: #fff; border: none;
    border-radius: 10px;
    font-size: 14px; font-weight: 700;
    cursor: pointer; flex-shrink: 0;
    white-space: nowrap;
    transition: opacity .15s, transform .1s;
    min-height: 44px;
}
.lc-pb-btn:active { transform: scale(.96); opacity: .9; }

/* Pozície nad nav barom (58px) */

/* Product banner — tesne nad navom */
body.lc-pb-active #lc-product-banner {
    bottom: calc(58px + max(0px, env(safe-area-inset-bottom, 0px)));
}
/* Product card — nad bannerom (banner ~66px + nav 58px = 124px) */
body.lc-pb-active #lc-product-card {
    bottom: calc(132px + max(0px, env(safe-area-inset-bottom, 0px))) !important;
}
/* Komentáre nad bannerom */
body.lc-pb-active #lc-comments-float {
    bottom: calc(130px + max(0px, env(safe-area-inset-bottom, 0px)));
}
/* Bez banera — product card 80px nad navom */
#lc-product-card {
    bottom: calc(80px + max(0px, env(safe-area-inset-bottom, 0px))) !important;
}
#lc-comments-float {
    bottom: calc(66px + max(0px, env(safe-area-inset-bottom, 0px)));
}

/* ═══════════════════════════════════════════
   LIVE BOTTOM NAV (Facebook Live štýl)
   ═══════════════════════════════════════════ */
#lc-bottom-bar.lc-live-nav {
    position: fixed !important;
    bottom: 0; left: 0; right: 0;
    z-index: 10044;
    background: rgba(10,10,15,0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255,255,255,.08);
    display: flex !important;
    align-items: stretch;
    justify-content: space-around;
    padding: 0;
    padding-bottom: max(0px, env(safe-area-inset-bottom, 0px));
    height: 58px;
    gap: 0;
}
.lc-nav-item {
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 3px; flex: 1;
    background: none; border: none;
    color: rgba(255,255,255,.6);
    font-size: 10px; font-weight: 500;
    cursor: pointer; text-decoration: none;
    transition: color .15s;
    padding: 6px 4px;
    -webkit-tap-highlight-color: transparent;
    min-height: 58px;
}
.lc-nav-item:active, .lc-nav-item:hover { color: #fff; }
.lc-nav-item.active { color: #818cf8; }
.lc-nav-comment.active { color: #34d399; }
.lc-nav-cart-wrap { position: relative; display: inline-flex; }
.lc-nav-badge {
    position: absolute; top: -4px; right: -8px;
    background: #e74c3c; color: #fff;
    font-size: 9px; font-weight: 700;
    min-width: 16px; height: 16px;
    border-radius: 8px; padding: 0 3px;
    display: flex; align-items: center; justify-content: center;
}
/* FAB cart — skryť na mobile (nahradený v nav) */
@media (max-width: 767px) {
    #lc-fab-cart { display: none !important; }
}
/* Product banner — vyššie keď nav aktívny */
body.lc-pb-active #lc-product-banner {
    bottom: 58px;
    bottom: calc(58px + max(0px, env(safe-area-inset-bottom, 0px)));
}
body.lc-pb-active #lc-bottom-bar.lc-live-nav {
    /* nav ostáva dole, banner je nad ním */
}

/* ═══════════════════════════════════════════
   EMOJI V KOMENTÁRI
   ═══════════════════════════════════════════ */
.lc-ce-emoji-wrap { position: relative; flex-shrink: 0; }
.lc-ce-emoji-btn {
    background: none; border: none;
    font-size: 22px; cursor: pointer;
    padding: 4px 6px; line-height: 1;
    transition: transform .1s;
    -webkit-tap-highlight-color: transparent;
}
.lc-ce-emoji-btn:active { transform: scale(1.2); }
.lc-ce-emoji-popup {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 0;
    background: rgba(16,16,24,.97);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 14px;
    padding: 8px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 4px;
    z-index: 10060;
    box-shadow: 0 8px 24px rgba(0,0,0,.5);
    animation: lcSlideUp .15s ease;
}
.lc-ce-ep-btn {
    background: none; border: none;
    font-size: 22px; cursor: pointer;
    padding: 5px; border-radius: 8px;
    transition: background .1s;
    -webkit-tap-highlight-color: transparent;
    line-height: 1;
}
.lc-ce-ep-btn:hover, .lc-ce-ep-btn:active { background: rgba(255,255,255,.12); }

/* ═══ Embedded VOD listing (vod-embed) ══════════════════════════════════════ */
.vod-embed {
    --surface:   #16161f; --surface2: #1e1e2a; --border: #2a2a3d;
    --primary:   #6c5ce7; --primary-g: rgba(108,92,231,.35);
    --text:      #e8e8f0; --muted: #888899;
    --radius:    12px;    --radius-sm: 8px;
    margin-top: 16px;
}
.vod-embed .vod-section-title { font-size:1.3rem;font-weight:800;margin-bottom:20px;display:flex;align-items:center;gap:10px; }
.vod-embed .vod-section-badge { background:var(--surface2);border:1px solid var(--border);color:var(--muted);font-size:.75rem;font-weight:600;padding:2px 8px;border-radius:20px; }
.vod-embed .vod-grid { display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:18px; }
.vod-embed .vod-card { background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);overflow:hidden;cursor:pointer;transition:transform .18s,border-color .18s,box-shadow .18s;display:block;color:var(--text);text-decoration:none; }
.vod-embed .vod-card:hover { transform:translateY(-3px);border-color:var(--primary);box-shadow:0 8px 24px rgba(108,92,231,.2); }
.vod-embed .vod-thumb { position:relative;width:100%;padding-top:56.25%;background:var(--surface2);overflow:hidden; }
.vod-embed .vod-thumb img, .vod-embed .vod-thumb video { position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block; }
.vod-embed .vod-dur-pill { position:absolute;bottom:8px;right:8px;background:rgba(0,0,0,.75);color:#fff;font-size:.7rem;font-weight:700;padding:2px 7px;border-radius:4px; }
.vod-embed .vod-play-overlay { position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:rgba(0,0,0,0);transition:background .18s; }
.vod-embed .vod-card:hover .vod-play-overlay { background:rgba(0,0,0,.35); }
.vod-embed .vod-play-circle { width:48px;height:48px;border-radius:50%;background:rgba(108,92,231,.9);display:flex;align-items:center;justify-content:center;opacity:0;transform:scale(.8);transition:opacity .18s,transform .18s; }
.vod-embed .vod-card:hover .vod-play-circle { opacity:1;transform:scale(1); }
.vod-embed .vod-card-info { padding:12px; }
.vod-embed .vod-card-title { font-size:.9rem;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-bottom:6px; }
.vod-embed .vod-card-meta { display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:.75rem;color:var(--muted); }
.vod-embed .vod-card-meta-dot { width:3px;height:3px;background:var(--border);border-radius:50%; }
.vod-embed .vod-products-pill { margin-top:8px;display:inline-flex;align-items:center;gap:4px;background:var(--primary-g);border:1px solid var(--primary);color:#d4cff8;font-size:.72rem;font-weight:600;padding:2px 8px;border-radius:20px; }
.vod-embed .vod-empty { text-align:center;padding:60px 20px;color:var(--muted); }
.vod-embed .vod-empty-icon { font-size:3rem;margin-bottom:12px; }
.vod-embed .vod-empty-title { font-size:1.1rem;font-weight:700;margin-bottom:6px;color:var(--text); }
.vod-embed .vod-pagination { display:flex;align-items:center;justify-content:center;gap:8px;margin-top:36px;flex-wrap:wrap; }
.vod-embed .vod-page-btn { background:var(--surface);border:1px solid var(--border);color:var(--text);padding:8px 14px;border-radius:var(--radius-sm);font-size:.85rem;cursor:pointer;text-decoration:none;display:inline-block;transition:background .15s; }
.vod-embed .vod-page-btn:hover { background:var(--surface2); }
.vod-embed .vod-page-btn.active { background:var(--primary);border-color:var(--primary);color:#fff; }
.vod-embed .vod-page-btn.disabled { opacity:.4;pointer-events:none; }
.vod-embed .vod-page-info { font-size:.8rem;color:var(--muted); }
@media (max-width:600px) { .vod-embed .vod-grid { grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:12px; } }
@media (max-width:380px) { .vod-embed .vod-grid { grid-template-columns:1fr; } }
