/* ════════════════════════════════════════════════════════════
   EYE NEWS BD — PREMIUM MODERN SYSTEM STYLES (HOMEPAGE SCOPED)
   ════════════════════════════════════════════════════════════ */
.news-feed-wrap,
.quickers-section,
.qk-modal-overlay,
.qk-view-overlay,
.top-slider-section {
    --pt-accent: #3399ff;
    --pt-accent-hover: #1a88f5;
    --pt-accent-rgb: 51, 153, 255;
    --pt-success: #4caf50;
    --pt-danger: #e53935;
    --pt-card-bg: #1e1e24;
    --pt-card-hover: #25252e;
    --pt-border: #2a2a35;
    --pt-border-glow: rgba(51, 153, 255, 0.45);
    --pt-text-main: #f3f4f6;
    --pt-text-muted: #9ca3af;
    --pt-glass-bg: rgba(30, 30, 36, 0.55);
    --pt-glass-border: rgba(255, 255, 255, 0.06);
    --pt-font: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Base resets inside homepage scope */
.quickers-section,
.top-slider-section,
.news-feed-wrap {
    font-family: var(--pt-font);
    -webkit-font-smoothing: antialiased;
}

/* ════════════════════════════════
   QUICKERS SECTION & HEADERS
   ════════════════════════════════ */
.quickers-section {
    max-width: 660px;
    margin: 20px auto 14px;
    padding: 0 16px;
}

.quickers-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.breaking-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    background: rgba(229, 57, 53, 0.15);
    border: 1px solid rgba(229, 57, 53, 0.25);
    padding: 4px 10px;
    border-radius: 20px;
}

.breaking-dot {
    width: 8px;
    height: 8px;
    background: var(--pt-danger);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--pt-danger);
    animation: blink-glow 1.2s infinite ease-in-out;
    flex-shrink: 0;
}

@keyframes blink-glow {
    0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 8px var(--pt-danger); }
    50%      { opacity: 0.3; transform: scale(0.85); box-shadow: 0 0 2px var(--pt-danger); }
}

.quickers-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--pt-accent);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* ════════════════════════════════
   CREATE QUICKER BOX (FB STYLE)
   ════════════════════════════════ */

.quickers-create-box {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 18px;
    padding: 14px 20px;
    margin-bottom: 18px;
    border: 1.5px solid rgba(255, 255, 255, 0.08);
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.quickers-create-box:hover {
    border-color: rgba(51, 153, 255, 0.5);
    box-shadow: 0 12px 35px rgba(51, 153, 255, 0.15), 0 0 50px rgba(51, 153, 255, 0.05);
    transform: translateY(-3px);
}

.qk-create-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.quickers-create-box:hover .qk-create-avatar {
    border-color: var(--pt-accent);
    transform: scale(1.05);
}

.qk-create-placeholder {
    flex: 1;
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
    pointer-events: none;
    padding-left: 12px;
}

.qk-create-img-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    color: var(--pt-accent);
    background: rgba(51, 153, 255, 0.1);
    border: 1px solid rgba(51, 153, 255, 0.15);
    border-radius: 10px;
    padding: 8px 14px;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.qk-create-img-btn:hover {
    background: rgba(51, 153, 255, 0.2);
    border-color: var(--pt-accent);
    transform: scale(1.02);
}

/* ════════════════════════════════
   CUSTOM QUICK ACTION BUTTONS (UPDATED)
   ════════════════════════════════ */
.qk-custom-action-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    width: 100%;
}

.qk-action-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border-radius: 14px;
    padding: 12px 18px;
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none !important;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.qk-action-icon-wrap {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    flex-shrink: 0;
}

.qk-action-icon-wrap svg {
    width: 18px;
    height: 18px;
}

.qk-action-label {
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
}

/* Hover & Active States */
.qk-action-btn:hover {
    transform: translateY(-4px);
}

.qk-action-btn:active {
    transform: translateY(-1px);
}

/* Specific Button Themes */

/* 1. Upload Video Button */
.qk-action-btn.qk-action-upload {
    background: linear-gradient(135deg, rgba(0, 198, 255, 0.08) 0%, rgba(0, 114, 255, 0.03) 100%);
    border: 1px solid rgba(0, 198, 255, 0.25);
    box-shadow: 0 4px 15px rgba(0, 198, 255, 0.05);
}
.qk-action-btn.qk-action-upload .qk-action-icon-wrap {
    background: rgba(0, 198, 255, 0.15);
    color: #00c6ff;
    border: 1px solid rgba(0, 198, 255, 0.2);
}
.qk-action-btn.qk-action-upload:hover {
    background: linear-gradient(135deg, rgba(0, 198, 255, 0.2) 0%, rgba(0, 114, 255, 0.1) 100%);
    border-color: #00c6ff;
    box-shadow: 0 8px 25px rgba(0, 198, 255, 0.25), inset 0 0 10px rgba(0, 198, 255, 0.15);
}
.qk-action-btn.qk-action-upload:hover .qk-action-icon-wrap {
    background: #00c6ff;
    color: #0d0f17;
    transform: scale(1.1) translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 198, 255, 0.4);
    animation: qk-bounce 1s infinite alternate;
}

/* 2. Shorts News Button */
.qk-action-btn.qk-action-shorts {
    background: linear-gradient(135deg, rgba(255, 79, 129, 0.08) 0%, rgba(255, 31, 90, 0.03) 100%);
    border: 1px solid rgba(255, 79, 129, 0.25);
    box-shadow: 0 4px 15px rgba(255, 79, 129, 0.05);
}
.qk-action-btn.qk-action-shorts .qk-action-icon-wrap {
    background: rgba(255, 79, 129, 0.15);
    color: #ff4f81;
    border: 1px solid rgba(255, 79, 129, 0.2);
}
.qk-action-btn.qk-action-shorts:hover {
    background: linear-gradient(135deg, rgba(255, 79, 129, 0.2) 0%, rgba(255, 31, 90, 0.1) 100%);
    border-color: #ff4f81;
    box-shadow: 0 8px 25px rgba(255, 79, 129, 0.25), inset 0 0 10px rgba(255, 79, 129, 0.15);
}
.qk-action-btn.qk-action-shorts:hover .qk-action-icon-wrap {
    background: #ff4f81;
    color: #0d0f17;
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 4px 15px rgba(255, 79, 129, 0.4);
    animation: qk-pulse 1.2s infinite ease-in-out;
}

/* 3. News Post Button */
.qk-action-btn.qk-action-article {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(5, 150, 105, 0.03) 100%);
    border: 1px solid rgba(16, 185, 129, 0.25);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.05);
}
.qk-action-btn.qk-action-article .qk-action-icon-wrap {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.2);
}
.qk-action-btn.qk-action-article:hover {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2) 0%, rgba(5, 150, 105, 0.1) 100%);
    border-color: #10b981;
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.25), inset 0 0 10px rgba(16, 185, 129, 0.15);
}
.qk-action-btn.qk-action-article:hover .qk-action-icon-wrap {
    background: #10b981;
    color: #0d0f17;
    transform: scale(1.1) translateY(-2px) rotate(-5deg);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}

/* Micro-animations */
@keyframes qk-bounce {
    0% { transform: scale(1.1) translateY(-1px); }
    100% { transform: scale(1.1) translateY(-4px); }
}

@keyframes qk-pulse {
    0% { transform: scale(1.1) rotate(10deg); box-shadow: 0 0 0 0 rgba(255, 79, 129, 0.4); }
    70% { transform: scale(1.15) rotate(10deg); box-shadow: 0 0 0 8px rgba(255, 79, 129, 0); }
    100% { transform: scale(1.1) rotate(10deg); box-shadow: 0 0 0 0 rgba(255, 79, 129, 0); }
}

/* Mobile responsive styles */
@media (max-width: 580px) {
    .qk-custom-action-row {
        gap: 8px;
    }
    .qk-action-btn {
        padding: 8px 10px;
        font-size: 11.5px;
        gap: 6px;
        border-radius: 10px;
    }
    .qk-action-icon-wrap {
        width: 26px;
        height: 26px;
        border-radius: 6px;
    }
    .qk-action-icon-wrap svg {
        width: 14px;
        height: 14px;
    }
    /* Mobile responsive toggle buttons inside header */
    .buy-sell-toggle-btn, .ai-chatbot-toggle-btn, .ai-news-toggle-btn, .photo-frame-toggle-btn, .academy-toggle-btn, .video-gen-toggle-btn {
        height: 32px !important;
        border-radius: 16px !important;
        padding: 0 8px !important;
        font-size: 9.5px !important;
        gap: 3px !important;
        width: auto !important;
        min-width: auto !important;
        flex: 1 1 auto !important;
    }
    .buy-sell-toggle-btn svg, .ai-chatbot-toggle-btn svg, .ai-news-toggle-btn svg, .photo-frame-toggle-btn svg, .academy-toggle-btn svg, .video-gen-toggle-btn svg {
        width: 13px !important;
        height: 13px !important;
    }
    .ai-header-actions {
        width: 100% !important;
        gap: 4px !important;
        flex-wrap: nowrap !important;
        justify-content: space-between !important;
    }
}

/* ── PREMIUM HEADER BUTTONS AND ACTION CLASSES ── */
.ai-header-actions {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    flex-wrap: wrap !important;
}
.buy-sell-toggle-btn, .ai-chatbot-toggle-btn, .ai-news-toggle-btn, .photo-frame-toggle-btn, .academy-toggle-btn, .video-gen-toggle-btn {
    height: 44px !important;
    border-radius: 22px !important;
    padding: 0 16px !important;
    margin: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    overflow: visible !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    gap: 8px !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
    text-decoration: none !important;
    width: auto !important;
    min-width: auto !important;
}
.buy-sell-toggle-btn {
    background: linear-gradient(135deg, #00c6ff 0%, #0072ff 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(0, 114, 255, 0.35) !important;
}
.ai-news-toggle-btn {
    background: linear-gradient(135deg, #8b5cf6 0%, #4f46e5 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.35) !important;
}
.ai-chatbot-toggle-btn {
    background: linear-gradient(135deg, #ff007f 0%, #7928ca 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(255, 0, 127, 0.35) !important;
}
.photo-frame-toggle-btn {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.35) !important;
}
.academy-toggle-btn {
    background: linear-gradient(135deg, #a855f7 0%, #6366f1 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.35) !important;
}
.video-gen-toggle-btn {
    background: linear-gradient(135deg, #e60026 0%, #9b0000 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(230, 0, 38, 0.35) !important;
}
.buy-sell-toggle-btn:hover {
    transform: translateY(-2px) scale(1.04) !important;
    border-color: #00c6ff !important;
    box-shadow: 0 6px 18px rgba(0, 114, 255, 0.5) !important;
}
.ai-news-toggle-btn:hover {
    transform: translateY(-2px) scale(1.04) !important;
    border-color: #8b5cf6 !important;
    box-shadow: 0 6px 18px rgba(139, 92, 246, 0.5) !important;
}
@keyframes aiLivePulse {
    0%   { opacity: 1; transform: scale(1); box-shadow: 0 0 0 0 rgba(239,68,68,0.7); }
    50%  { opacity: 0.7; transform: scale(1.3); box-shadow: 0 0 0 5px rgba(239,68,68,0); }
    100% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 0 rgba(239,68,68,0); }
}
.ai-chatbot-toggle-btn:hover {
    transform: translateY(-2px) scale(1.04) !important;
    border-color: #ff007f !important;
    box-shadow: 0 6px 18px rgba(255, 0, 127, 0.5) !important;
}
.photo-frame-toggle-btn:hover {
    transform: translateY(-2px) scale(1.04) !important;
    border-color: #10b981 !important;
    box-shadow: 0 6px 18px rgba(16, 185, 129, 0.5) !important;
}
.academy-toggle-btn:hover {
    transform: translateY(-2px) scale(1.04) !important;
    border-color: #a855f7 !important;
    box-shadow: 0 6px 18px rgba(168, 85, 247, 0.5) !important;
}
.video-gen-toggle-btn:hover {
    transform: translateY(-2px) scale(1.04) !important;
    border-color: #e60026 !important;
    box-shadow: 0 6px 18px rgba(230, 0, 38, 0.5) !important;
}

/* ════════════════════════════════
   DYNAMIC SCROLLING NEWS TICKER
   ════════════════════════════════ */
.pt-news-ticker {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(30, 30, 36, 0.75), rgba(20, 20, 24, 0.85));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1.5px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    margin-bottom: 22px;
    overflow: hidden;
    height: 44px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    width: 100%;
    position: relative;
}

.ticker-badge {
    background: linear-gradient(135deg, #e53935 0%, #e35d5b 100%);
    color: #fff;
    padding: 0 18px;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    z-index: 10;
    border-radius: 12px 0 0 12px;
    box-shadow: 4px 0 12px rgba(0, 0, 0, 0.25);
    position: relative;
}

.ticker-badge-dot {
    width: 7px;
    height: 7px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 8px #fff;
    animation: ticker-pulse 1s infinite ease-in-out;
}

@keyframes ticker-pulse {
    0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 8px #fff; }
    50% { opacity: 0.3; transform: scale(0.85); box-shadow: 0 0 2px #fff; }
}

.ticker-content {
    flex: 1;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
}

.ticker-track {
    display: flex;
    align-items: center;
    white-space: nowrap;
    animation: ticker-marquee-seamless 35s linear infinite;
    will-change: transform;
}

.ticker-track:hover {
    animation-play-state: paused;
}

.ticker-item {
    padding: 0 24px;
    flex-shrink: 0;
    color: var(--pt-text-main) !important;
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none !important;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s ease;
}

.ticker-item:hover {
    color: var(--pt-accent) !important;
}

.ticker-bullet {
    color: #e53935;
    font-size: 10px;
    text-shadow: 0 0 6px rgba(229, 57, 53, 0.6);
}

@keyframes ticker-marquee-seamless {
    0%   { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); }
}

/* Mobile responsive ticker styles */
@media (max-width: 580px) {
    .pt-news-ticker {
        height: 38px;
        margin-bottom: 14px;
    }
    .ticker-badge {
        padding: 0 12px;
        font-size: 11px;
        gap: 5px;
    }
    .ticker-item {
        padding: 0 16px;
        font-size: 12px;
        gap: 6px;
    }
}

/* ════════════════════════════════
   REEL-STYLE SLIDERS WITH NAV BUTTONS
   ════════════════════════════════ */
.qk-slider-outer,
.top-slider-outer {
    display: flex;
    align-items: center;
    position: relative;
    width: 100%;
}

.qk-slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%) scale(0.9);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(30, 30, 36, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #ffffff;
    font-size: 22px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    padding: 0;
    user-select: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    z-index: 10;
    opacity: 0;
    pointer-events: none;
}

.qk-slider-nav.prev-btn {
    left: -16px;
}

.qk-slider-nav.next-btn {
    right: -16px;
}

/* Hover behaviors to fade-in control arrows */
.top-slider-outer:hover .qk-slider-nav,
.qk-slider-outer:hover .qk-slider-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(-50%) scale(1);
}

.qk-slider-nav:hover {
    background: var(--pt-accent);
    border-color: rgba(51, 153, 255, 0.8);
    color: #fff;
    box-shadow: 0 0 20px rgba(51, 153, 255, 0.6);
    transform: translateY(-50%) scale(1.15) !important;
}

.quickers-slider-wrap,
.top-slide-wrap {
    flex: 1;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    overflow-x: auto;
    padding: 8px 12px 14px 12px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.quickers-slider-wrap::-webkit-scrollbar,
.top-slide-wrap::-webkit-scrollbar {
    display: none;
}

/* Short video portrait card (Shorts / Reels) */
.top-slider-section {
    max-width: 660px;
    margin: 0 auto 16px;
    padding: 0 16px;
}

.top-slider-header {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.top-slider-label {
    font-size: 13px;
    font-weight: 800;
    color: var(--pt-text-main);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-left: 3.5px solid var(--pt-danger);
    padding-left: 10px;
}

.top-slide-card {
    flex-shrink: 0;
    width: 138px;
    display: block;
    scroll-snap-align: start;
    text-decoration: none !important;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}

.top-slide-card:hover {
    transform: translateY(-5px) scale(1.03);
}

.top-slide-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 9/16;
    border-radius: 14px;
    overflow: hidden;
    background: #121214;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 20px rgba(0,0,0,0.35);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.top-slide-card:hover .top-slide-thumb {
    border-color: rgba(51, 153, 255, 0.6);
    box-shadow: 0 12px 28px rgba(51, 153, 255, 0.3);
}

.top-slide-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.top-slide-card:hover .top-slide-thumb img {
    transform: scale(1.06);
}

.top-slide-dur {
    position: absolute;
    bottom: 8px;
    left: 8px;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 2.5px 6.5px;
    border-radius: 6px;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.top-slide-views-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    color: #fff;
    font-size: 9px;
    font-weight: 600;
    padding: 2.5px 6px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 3px;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.top-slide-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to top, rgba(0,0,0,0.5), rgba(0,0,0,0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.top-slide-play svg {
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5));
    transition: transform 0.3s;
}

.top-slide-card:hover .top-slide-play {
    opacity: 1;
}

.top-slide-card:hover .top-slide-play svg {
    transform: scale(1.15);
}

.top-slide-title {
    margin: 8px 0 0;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--pt-text-main);
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s;
    height: 36px;
}

.top-slide-card:hover .top-slide-title {
    color: var(--pt-accent);
}

/* BBC-style landscape slide cards */
.slide-card {
    flex-shrink: 0;
    width: 226px;
    text-decoration: none !important;
    color: inherit;
    scroll-snap-align: start;
    display: block;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}

.slide-card:hover {
    transform: translateY(-4px);
}

.slide-card-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    border-radius: 14px;
    background: #121214;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 6px 16px rgba(0,0,0,0.3);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.slide-card:hover .slide-card-thumb {
    border-color: rgba(51, 153, 255, 0.5);
    box-shadow: 0 10px 24px rgba(51, 153, 255, 0.25);
}

.slide-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.slide-card:hover .slide-card-thumb img {
    transform: scale(1.05);
}

.slide-card-type {
    position: absolute;
    top: 8px;
    left: 8px;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    background: rgba(0,0,0,0.6);
    border: 1px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    color: var(--pt-accent);
    padding: 2.5px 7px;
    border-radius: 5px;
    letter-spacing: 0.5px;
    z-index: 2;
}

.slide-card-dur {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 5px;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.slide-card-title {
    margin: 8px 0 0;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.45;
    color: var(--pt-text-main);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: calc(1.45em * 2);
    transition: color 0.2s;
}

.slide-card:hover .slide-card-title {
    color: var(--pt-accent);
}

/* Mobile responsive slider scaling and overrides */
@media (max-width: 580px) {
    .top-slide-card {
        width: 118px;
    }
    .slide-card {
        width: 194px;
    }
    .qk-slider-nav {
        display: none !important; /* Hide arrows on touchscreens to simplify layout */
    }
    .quickers-slider-wrap,
    .top-slide-wrap {
        padding: 4px 4px 10px 4px;
        gap: 10px;
    }
}

/* ════════════════════════════════
   QUICKERS CREATE / VIEW MODALS
   ════════════════════════════════ */
.qk-modal-overlay,
.qk-view-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 12, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.qk-modal-overlay.open,
.qk-view-overlay.open {
    display: flex;
}

.qk-modal,
.qk-view-modal {
    background: var(--pt-card-bg);
    border: 1px solid var(--pt-border);
    border-radius: 20px;
    width: 100%;
    max-width: 500px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(51, 153, 255, 0.05);
    animation: modalScaleIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) both;
    will-change: transform, opacity;
}

@keyframes modalScaleIn {
    from { transform: scale(0.92) translateY(10px); opacity: 0; }
    to   { transform: scale(1) translateY(0);       opacity: 1; }
}

.qk-modal-head,
.qk-view-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--pt-border);
}

.qk-modal-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 700;
    color: var(--pt-text-main);
}

.qk-modal-close,
.qk-view-close {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.06);
    color: var(--pt-text-muted);
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: all 0.2s ease;
}

.qk-modal-close:hover,
.qk-view-close:hover {
    background: rgba(229, 57, 53, 0.15);
    color: var(--pt-danger);
    transform: rotate(90deg);
}

.qk-modal-body {
    padding: 18px 20px;
}

.qk-modal-user {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.qk-modal-avatar,
.qk-view-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--pt-border);
}

.qk-modal-uname {
    font-size: 15px;
    font-weight: 700;
    color: var(--pt-text-main);
}

.qk-modal-textarea {
    width: 100%;
    min-height: 120px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--pt-border);
    border-radius: 12px;
    color: var(--pt-text-main);
    font-size: 15px;
    line-height: 1.6;
    padding: 14px;
    resize: none;
    outline: none;
    font-family: var(--pt-font);
    box-sizing: border-box;
    transition: all 0.25s ease;
}

.qk-modal-textarea:focus {
    border-color: var(--pt-accent);
    box-shadow: 0 0 10px rgba(51, 153, 255, 0.15);
    background: rgba(0, 0, 0, 0.35);
}

.qk-char-counter {
    text-align: right;
    font-size: 12px;
    color: var(--pt-text-muted);
    margin-top: 8px;
    font-weight: 500;
}

.qk-char-counter.warn { color: #ffa726; }
.qk-char-counter.over { color: var(--pt-danger); }

.qk-img-preview-wrap {
    position: relative;
    margin-top: 14px;
    display: none;
    border-radius: 12px;
    overflow: hidden;
    max-height: 220px;
    border: 1px solid var(--pt-border);
    box-shadow: inset 0 0 10px rgba(0,0,0,0.5);
}

.qk-img-preview-wrap img {
    width: 100%;
    display: block;
    object-fit: cover;
    max-height: 220px;
}

.qk-img-remove {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.85);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, transform 0.2s;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.qk-img-remove:hover {
    background: var(--pt-danger);
    transform: scale(1.1);
}

.qk-modal-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px 18px;
    border-top: 1px solid var(--pt-border);
    gap: 12px;
}

.qk-foot-left { display: flex; align-items: center; gap: 8px; }

.qk-img-upload-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(51, 153, 255, 0.1);
    border: 1px solid rgba(51, 153, 255, 0.15);
    border-radius: 10px;
    color: var(--pt-accent);
    font-size: 13px;
    font-weight: 700;
    padding: 9px 16px;
    cursor: pointer;
    transition: all 0.2s;
}

.qk-img-upload-btn:hover {
    background: rgba(51, 153, 255, 0.25);
    border-color: var(--pt-accent);
}

.qk-post-btn {
    background: var(--pt-accent);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-size: 14.5px;
    font-weight: 700;
    padding: 10px 26px;
    cursor: pointer;
    transition: all 0.3s;
    min-width: 100px;
    box-shadow: 0 4px 12px rgba(51, 153, 255, 0.2);
}

.qk-post-btn:hover:not(:disabled) {
    background: var(--pt-accent-hover);
    box-shadow: 0 6px 16px rgba(51, 153, 255, 0.35);
    transform: translateY(-1px);
}

.qk-post-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    box-shadow: none;
}

/* Quicker View Modal */
.qk-view-modal {
    max-width: 460px;
}

.qk-view-meta {
    flex: 1;
    margin-left: 12px;
}

.qk-view-author {
    font-size: 14.5px;
    font-weight: 700;
    color: var(--pt-text-main);
    text-decoration: none !important;
    display: inline-block;
    transition: color 0.2s;
}

.qk-view-author:hover {
    color: var(--pt-accent);
}

.qk-view-time {
    font-size: 12px;
    color: var(--pt-text-muted);
    display: block;
    margin-top: 2px;
}

.qk-view-img {
    width: 100%;
    display: block;
    max-height: 320px;
    object-fit: cover;
    border-bottom: 1px solid var(--pt-border);
}

.qk-view-text {
    padding: 18px 20px;
    font-size: 16px;
    line-height: 1.7;
    color: var(--pt-text-main);
    white-space: pre-wrap;
    word-break: break-word;
}

.qk-view-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0 20px 16px;
    font-size: 11px;
    font-weight: 800;
    color: var(--pt-danger);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    background: rgba(229, 57, 53, 0.12);
    padding: 3px 8px;
    border-radius: 4px;
    border: 1px solid rgba(229, 57, 53, 0.2);
}

/* ════════════════════════════════
   MAIN NEWS FEED & CARDS (FB STYLE)
   ════════════════════════════════ */
.news-feed-wrap {
    max-width: 660px;
    margin: 0 auto;
    padding: 10px 16px 60px;
}

.feed-card {
    background: var(--pt-card-bg);
    border: 1px solid var(--pt-border);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.18);
    opacity: 0;
    transform: translateY(18px);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    will-change: transform, opacity;
    animation: fcIn 0.45s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* Entry Animation (fade and slide-up) */
.feed-card-entering {
    animation: fcIn 0.45s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes fcIn {
    to { opacity: 1; transform: translateY(0); }
}

.feed-card:hover {
    border-color: rgba(51, 153, 255, 0.25);
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

.feed-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.feed-card-avatar-link {
    flex-shrink: 0;
}

.feed-card-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    border: 1px solid var(--pt-border);
}

.feed-card-meta {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.feed-card-author {
    font-size: 14.5px;
    font-weight: 700;
    color: var(--pt-text-main);
    text-decoration: none !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
    transition: color 0.2s;
}

.feed-card-author:hover {
    color: var(--pt-accent);
}

.feed-card-time {
    font-size: 12px;
    color: var(--pt-text-muted);
    line-height: 1;
}

.feed-card-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 800;
    padding: 5px 12px;
    border-radius: 20px;
    white-space: nowrap;
    flex-shrink: 0;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

.feed-card-badge--video   { background: rgba(51, 153, 255, 0.12); border: 1px solid rgba(51, 153, 255, 0.2); color: var(--pt-accent); }
.feed-card-badge--article { background: rgba(76, 175, 80, 0.12);  border: 1px solid rgba(76, 175, 80, 0.2);  color: var(--pt-success); }
.feed-card-badge--short   { background: rgba(229, 57, 53, 0.12);  border: 1px solid rgba(229, 57, 53, 0.2);  color: var(--pt-danger); }
.feed-card-badge--quicker { background: rgba(229, 57, 53, 0.12);  border: 1px solid rgba(229, 57, 53, 0.2);  color: var(--pt-danger); }

.qk-slide-type-tag {
    position: absolute;
    top: 8px;
    left: 8px;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    color: #fff;
    padding: 3px 8px;
    border-radius: 5px;
    letter-spacing: 0.5px;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.qk-feed-del-btn {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: none;
    background: rgba(229, 57, 53, 0.1);
    color: var(--pt-danger);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    margin-left: 6px;
}

.qk-feed-del-btn:hover {
    background: rgba(229, 57, 53, 0.25);
    transform: scale(1.1);
}

.feed-qk-text {
    padding: 16px 18px 12px;
    font-size: 16px;
    line-height: 1.7;
    color: var(--pt-text-main);
    white-space: pre-wrap;
    word-break: break-word;
}

.feed-qk-img {
    line-height: 0;
    border-bottom: 1px solid rgba(255,255,255,0.03);
}

.feed-qk-img img {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    display: block;
}

.feed-card--quicker .feed-card-body {
    padding: 10px 18px 18px;
}

.feed-card-media {
    display: block;
    position: relative;
    overflow: hidden;
    background: #0d0d0f;
    line-height: 0;
    border-bottom: 1px solid rgba(255,255,255,0.02);
}

.feed-card-media img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    display: block;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.3s;
}

.feed-card-media:hover img {
    transform: scale(1.03);
    opacity: 0.9;
}

.feed-card-media--short img {
    aspect-ratio: 9/16;
    max-height: 440px;
    width: auto;
    margin: 0 auto;
}

.feed-card-duration {
    position: absolute;
    bottom: 10px;
    right: 12px;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
    color: #fff;
    font-size: 11.5px;
    font-weight: 700;
    padding: 2.5px 7px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.feed-card-play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to top, rgba(0,0,0,0.4), rgba(0,0,0,0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feed-card-play-overlay svg {
    filter: drop-shadow(0 2px 10px rgba(0,0,0,0.5));
    transition: transform 0.3s;
}

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

.feed-card-media:hover .feed-card-play-overlay svg {
    transform: scale(1.15);
}

.feed-card-body {
    padding: 16px 18px 18px;
}

.feed-card-title {
    margin: 0 0 8px;
    font-size: 15px;
    line-height: 1.45;
}

.feed-card-title a {
    color: var(--pt-text-main);
    text-decoration: none !important;
    font-weight: 700;
    transition: color 0.2s;
}

.feed-card-title a:hover {
    color: var(--pt-accent);
}

.feed-card-desc {
    margin: 0 0 12px;
    font-size: 13.5px;
    color: var(--pt-text-muted);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.feed-card-stats {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    color: var(--pt-text-muted);
    font-weight: 500;
}

.feed-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 7px;
    padding: 20px 0 10px;
    opacity: 0;
    transition: opacity 0.3s;
    height: 12px;
}

.feed-dots.visible {
    opacity: 1;
}

.feed-dots span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--pt-accent);
    animation: dotPulse 1.1s infinite ease-in-out both;
}

.feed-dots span:nth-child(1) { animation-delay: 0s; }
.feed-dots span:nth-child(2) { animation-delay: 0.18s; }
.feed-dots span:nth-child(3) { animation-delay: 0.36s; }

@keyframes dotPulse {
    0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
    40%           { transform: scale(1.1);  opacity: 1; }
}

.feed-end-msg {
    text-align: center;
    font-size: 13.5px;
    color: var(--pt-text-muted);
    padding: 16px 0 24px;
    display: none;
    font-weight: 600;
    letter-spacing: 0.3px;
}

/* ════════════════════════════════
   SKELETON ANIMATIONS & PLACEHOLDERS
   ════════════════════════════════ */
#feed-skeletons {
    display: none;
    flex-direction: column;
    gap: 20px;
}

.sh-card {
    background: var(--pt-card-bg);
    border: 1px solid var(--pt-border);
    border-radius: 16px;
    overflow: hidden;
    padding: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.18);
}

.sh-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.sh-pulse {
    background: linear-gradient(90deg, #25252e 25%, #2d2d38 50%, #25252e 75%);
    background-size: 200% 100%;
    animation: shPulse 1.5s infinite linear;
}

@keyframes shPulse {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.sh-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    flex-shrink: 0;
}

.sh-meta-lines {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sh-line-title {
    height: 12px;
    width: 40%;
    border-radius: 4px;
}

.sh-line-sub {
    height: 10px;
    width: 20%;
    border-radius: 4px;
}

.sh-badge {
    height: 20px;
    width: 60px;
    border-radius: 12px;
    margin-left: auto;
}

.sh-media {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 12px;
    margin-bottom: 14px;
}

.sh-title-box {
    height: 14px;
    width: 80%;
    border-radius: 4px;
    margin-bottom: 8px;
}

.sh-desc-box {
    height: 10px;
    width: 95%;
    border-radius: 4px;
    margin-bottom: 6px;
}

.sh-desc-box-short {
    height: 10px;
    width: 60%;
    border-radius: 4px;
}

@media (max-width: 680px) {
    .news-feed-wrap { padding: 8px 8px 40px; }
    .feed-card, .sh-card { border-radius: 12px; margin-bottom: 12px; }
    .quickers-section { padding: 0 10px; }
    .qk-modal, .qk-view-modal { border-radius: 16px; }
}

/* ════════════════════════════════
   PREMIUM CARD ACTION BAR & ACTIONS
   ════════════════════════════════ */
.feed-card-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--pt-border);
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.01);
}

.feed-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: transparent;
    border: none;
    padding: 6px 12px;
    border-radius: 8px;
    color: var(--pt-text-muted);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.feed-action-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--pt-text-main);
}

.feed-action-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: inherit;
    transition: transform 0.2s ease;
}

.feed-action-btn:hover .feed-action-icon {
    transform: scale(1.08);
}

/* Bookmark Active (Gold State) */
.btn-bookmark.active {
    color: #ffa726 !important;
}

.btn-bookmark.active svg {
    fill: #ffa726;
    stroke: #ffa726;
}

/* Share Dropdown Wrapper & Dropdown Popover */
.feed-share-wrapper {
    position: relative;
    display: inline-block;
}

.feed-share-dropdown {
    position: absolute;
    bottom: calc(100% + 8px);
    right: 0;
    background: rgba(30, 30, 36, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--pt-border);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 0 1px rgba(255, 255, 255, 0.1);
    padding: 6px;
    z-index: 100;
    display: none;
    flex-direction: column;
    gap: 4px;
    min-width: 145px;
    transform: scale(0.95) translateY(5px);
    transform-origin: bottom right;
    opacity: 0;
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.15), opacity 0.2s ease;
    pointer-events: none;
}

.feed-share-dropdown.show {
    display: flex;
    transform: scale(1) translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.share-opt {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--pt-text-main) !important;
    text-decoration: none !important;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.share-opt svg {
    flex-shrink: 0;
}

.share-opt:hover {
    background: rgba(255, 255, 255, 0.06);
}

.share-opt.opt-fb:hover {
    color: #1877f2 !important;
    background: rgba(24, 119, 242, 0.12);
}

.share-opt.opt-wa:hover {
    color: #25d366 !important;
    background: rgba(37, 211, 102, 0.12);
}

.share-opt.opt-cp:hover {
    color: var(--pt-accent) !important;
    background: rgba(51, 153, 255, 0.12);
}

/* Toast Notifications */
.feed-toast-notification {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(40px);
    background: rgba(30, 30, 36, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--pt-accent);
    color: #fff;
    padding: 10px 20px;
    border-radius: 30px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), 0 0 10px rgba(51, 153, 255, 0.15);
    font-size: 13.5px;
    font-weight: 600;
    z-index: 100000;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0;
    pointer-events: none;
}

.feed-toast-notification.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.feed-toast-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pt-accent);
}

.feed-toast-text {
    white-space: nowrap;
}

/* Read time stats badge */
.feed-card-readtime {
    color: var(--pt-text-muted);
    font-size: 11.5px;
    margin-left: 6px;
    font-weight: 500;
}

/* ════════════════════════════════════════════════════════════
   JOURNALISM ACADEMY PREMIUM STYLES
   ════════════════════════════════════════════════════════════ */

/* Feed Spotlight Banner */
.academy-spotlight-card {
    position: relative;
    background: linear-gradient(135deg, rgba(30, 30, 36, 0.75), rgba(20, 20, 24, 0.85));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1.5px solid rgba(168, 85, 247, 0.2);
    border-radius: 20px;
    padding: 24px;
    margin: 15px auto 22px auto;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}
.academy-spotlight-glow {
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.3) 0%, rgba(99, 102, 241, 0) 70%);
    filter: blur(20px);
    pointer-events: none;
    z-index: 1;
}
.academy-spotlight-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    z-index: 2;
    flex-wrap: wrap;
}
.academy-spotlight-left {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    flex: 1;
    min-width: 280px;
}
.academy-spotlight-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: rgba(168, 85, 247, 0.15);
    border: 1px solid rgba(168, 85, 247, 0.3);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #a855f7;
    font-size: 22px;
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.25);
    flex-shrink: 0;
    position: relative;
}
.academy-badge-old {
    position: absolute;
    bottom: -6px;
    background: #a855f7;
    color: #fff;
    font-size: 8px;
    font-weight: 800;
    padding: 1px 4px;
    border-radius: 4px;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    white-space: nowrap;
}
.academy-spotlight-meta h3 {
    font-size: 19px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 6px 0;
    letter-spacing: -0.2px;
}
.academy-spotlight-meta p {
    font-size: 13.5px;
    color: var(--pt-text-muted, #9ca3af);
    line-height: 1.6;
    margin: 0 0 12px 0;
}
.academy-features-list {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}
.academy-features-list span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    background: rgba(255, 255, 255, 0.05);
    padding: 4px 10px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.academy-features-list i {
    color: #a855f7;
}
.academy-spotlight-right {
    flex-shrink: 0;
}
.academy-launch-btn {
    background: linear-gradient(135deg, #a855f7 0%, #6366f1 100%);
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.35);
    transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.academy-launch-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(168, 85, 247, 0.5);
}

/* Academy Modal Structure */
#journalism-academy-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 12, 0.86);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}
#journalism-academy-modal.active {
    display: flex;
    opacity: 1;
}
#journalism-academy-modal .creator-modal-container {
    background: rgba(18, 19, 21, 0.97);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 24px;
    box-shadow: 0 28px 60px rgba(0,0,0,0.5);
    width: 95%;
    max-width: 1000px;
    height: 90vh;
    max-height: 850px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    animation: modal-slide 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes modal-slide {
    from { transform: translateY(20px) scale(0.96); opacity: 0; }
    to { transform: translateY(0) scale(1); opacity: 1; }
}
#journalism-academy-modal h2 {
    font-size: 26px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 6px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}
#journalism-academy-modal h2 i {
    color: #a855f7;
    filter: drop-shadow(0 0 8px rgba(168, 85, 247, 0.4));
}
.academy-subtitle {
    font-size: 14px;
    color: var(--pt-text-muted);
    margin: 0;
}
.academy-header-block {
    padding: 24px 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255,255,255,0.01);
}
#academy-main-view, .academy-content-view {
    display: flex;
    flex-direction: column;
    flex: 1;
    overflow: hidden;
    height: 100%;
}
.academy-module-grid-wrapper {
    flex: 1;
    overflow-y: auto;
    padding: 24px 28px;
}
#academy-module-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
}

/* Module Card Style */
.academy-module-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 135px;
    transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}
.academy-module-card.locked {
    opacity: 0.55;
    cursor: not-allowed;
    background: rgba(0,0,0,0.2);
}
.academy-module-card.unlocked {
    cursor: pointer;
}
.academy-module-card.unlocked:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(168, 85, 247, 0.35);
    box-shadow: 0 8px 25px rgba(168, 85, 247, 0.12);
}
.academy-module-card.unlocked.active {
    border-color: rgba(168, 85, 247, 0.55);
    background: rgba(168, 85, 247, 0.04);
    box-shadow: 0 8px 30px rgba(168, 85, 247, 0.15);
}
.module-card-header {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}
.module-card-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.05);
    color: #9ca3af;
    font-size: 16px;
    flex-shrink: 0;
}
.academy-module-card.unlocked .module-card-icon {
    background: rgba(168, 85, 247, 0.1);
    color: #a855f7;
}
.academy-module-card.unlocked.active .module-card-icon {
    background: #a855f7;
    color: #fff;
    box-shadow: 0 0 10px rgba(168, 85, 247, 0.4);
}
.module-card-title h4 {
    font-size: 13.5px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 3px 0;
    line-height: 1.4;
}
.module-card-title span {
    font-size: 11.5px;
    color: var(--pt-text-muted);
}
.module-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 14px;
    border-top: 1px solid rgba(255,255,255,0.04);
    padding-top: 10px;
}
.module-card-progress {
    font-size: 11px;
    font-weight: 700;
    color: var(--pt-text-muted);
}
.module-card-action button {
    border: none;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}
.start-btn {
    background: #a855f7;
    color: #fff;
}
.start-btn:hover {
    background: #9333ea;
}
.locked-btn {
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.3);
    cursor: not-allowed !important;
}
.completed-badge {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.25) !important;
    cursor: default !important;
}

/* Modal Inner Views styling */
.academy-content-view {
    padding: 24px 28px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}
.academy-back-btn {
    align-self: flex-start;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 20px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
}
.academy-back-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}
.output-display {
    font-size: 15px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 25px;
}
.output-display h2, .output-display h3 {
    color: #fff;
    margin-top: 1.5em;
    margin-bottom: 0.6em;
}
.output-display p {
    margin-bottom: 1.2em;
}
.process-tts-button {
    background: linear-gradient(135deg, #a855f7 0%, #6366f1 100%);
    color: #fff;
    border: none;
    padding: 14px 28px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.3);
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
}
.process-tts-button:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(168, 85, 247, 0.45);
}
.process-tts-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* MCQ Exam Layout */
.exam-question-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 14px;
    padding: 18px;
    margin-bottom: 16px;
}
.exam-question-item p {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 12px 0;
}
.exam-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.exam-options label {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    padding: 10px 14px;
    cursor: pointer;
    font-size: 13px;
    color: rgba(255,255,255,0.85);
    transition: all 0.2s;
}
.exam-options label:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.12);
}
.exam-options input[type="radio"] {
    accent-color: #a855f7;
}

/* Spinner Loader */
.spinner-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 0;
    width: 100%;
}

/* ════════════════════════════════════════════════════════════
   PROFESSIONAL PREMIUM DYNAMIC CERTIFICATE LAYOUT
   ════════════════════════════════════════════════════════════ */
.academy-certificate-view {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 24px;
    gap: 20px;
}
.certificate-preview-box {
    position: relative;
    width: 100%;
    max-width: 600px;
    background: #111;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
    aspect-ratio: 1.414;
    display: flex;
    align-items: center;
    justify-content: center;
}
.certificate-mock-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.certificate-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 420px;
}
.cert-input {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    padding: 12px 16px;
    color: #fff;
    font-size: 14px;
    text-align: center;
    outline: none;
    transition: all 0.2s;
}
.cert-input:focus {
    border-color: #a855f7;
    background: rgba(255,255,255,0.06);
}

/* Professional certificate drawing structure - styled premium */
#certificate-to-download {
    position: absolute;
    left: -9999px;
    top: -9999px;
    width: 840px;
    height: 595px;
    background: linear-gradient(135deg, #11141a 0%, #171d26 100%);
    border: 12px double #d4af37; /* Double golden border */
    padding: 25px;
    color: #e3e3e3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}
.cert-inner-border {
    border: 2px solid rgba(212, 175, 55, 0.3);
    width: 100%;
    height: 100%;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
    position: relative;
}
.cert-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 250px;
    height: 250px;
    opacity: 0.04;
    background-image: url('https://eyenewsbd.com/themes/youplay/img/Eyropedia.png');
    background-size: contain;
    background-repeat: no-repeat;
    pointer-events: none;
}
.cert-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.cert-logo {
    width: 64px;
    height: 64px;
}
.cert-academy-title {
    font-size: 26px;
    font-weight: 800;
    color: #d4af37; /* Royal gold color */
    letter-spacing: 0.5px;
    margin: 0;
}
.cert-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin: 15px 0;
}
.cert-subtext {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    letter-spacing: 0.5px;
}
.cert-recipient-name {
    font-size: 32px;
    font-weight: 800;
    color: #fff;
    border-bottom: 2px solid #d4af37;
    padding: 5px 30px;
    margin: 10px 0;
    min-width: 320px;
    text-align: center;
    letter-spacing: 0.5px;
}
.cert-completion-msg {
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    margin: 8px 0 0 0;
    max-width: 580px;
}
.cert-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    width: 100%;
    margin-top: 15px;
}
.cert-sig-block {
    text-align: center;
    width: 180px;
}
.cert-sig-line {
    border-top: 1.5px solid rgba(255, 255, 255, 0.3);
    padding-top: 6px;
    margin-top: 4px;
}
.cert-sig-name {
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    margin: 0;
}
.cert-sig-role {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}
.cert-badge-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}
.cert-seal-outer {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle, #e3c46b 0%, #ab8b38 100%);
    border: 3px double #fff;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    position: relative;
}
.cert-seal-star {
    font-size: 24px;
    color: #11141a;
}
.cert-verification-id {
    font-size: 9px;
    font-family: monospace;
    color: rgba(212, 175, 87, 0.5);
    margin-top: 6px;
    letter-spacing: 0.5px;
}

/* Premium Header Buttons Mobile Responsive */
@media (max-width: 580px) {
    .buy-sell-toggle-btn, .ai-chatbot-toggle-btn, .ai-news-toggle-btn, .photo-frame-toggle-btn, .academy-toggle-btn {
        height: 32px !important;
        border-radius: 16px !important;
        padding: 0 8px !important;
        font-size: 9.5px !important;
        gap: 3px !important;
        width: auto !important;
        min-width: auto !important;
        flex: 1 1 auto !important;
    }
    .buy-sell-toggle-btn svg, .ai-chatbot-toggle-btn svg, .ai-news-toggle-btn svg, .photo-frame-toggle-btn svg, .academy-toggle-btn svg {
        width: 13px !important;
        height: 13px !important;
    }
    .academy-spotlight-card {
        padding: 16px;
        border-radius: 16px;
    }
    .academy-spotlight-left {
        flex-direction: column;
        gap: 12px;
        align-items: center;
        text-align: center;
    }
    .academy-spotlight-meta h3 {
        font-size: 17px;
    }
    .academy-spotlight-meta p {
        font-size: 12px;
    }
    .academy-features-list {
        justify-content: center;
    }
    .academy-spotlight-right {
        width: 100%;
        text-align: center;
    }
    .academy-launch-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    #journalism-academy-modal .creator-modal-container {
        width: 100% !important;
        height: 100% !important;
        max-height: 100% !important;
        border-radius: 0 !important;
        border: none !important;
    }
    .academy-header-block {
        padding: 16px 20px !important;
    }
    .academy-module-grid-wrapper {
        padding: 16px 20px !important;
    }
    #journalism-academy-modal h2 {
        font-size: 20px !important;
    }
}

/* ════════════════════════════════
   REAL-TIME QUICKERS UPDATES PILL & GLOWS
   ════════════════════════════════ */
.qk-updates-pill-container {
    position: sticky;
    top: 70px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    z-index: 99;
    margin-bottom: -15px;
    margin-top: 10px;
    pointer-events: none;
}

.qk-updates-pill {
    pointer-events: auto;
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #4f46e5, #3b82f6);
    color: #ffffff;
    font-size: 13.5px;
    font-weight: 700;
    padding: 10px 18px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 25px rgba(79, 70, 229, 0.35), 0 0 0 1px rgba(79, 70, 229, 0.1);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    animation: qkPillSlideIn 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
}

.qk-updates-pill:hover {
    background: linear-gradient(135deg, #4338ca, #2563eb);
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 12px 30px rgba(79, 70, 229, 0.45);
}

.qk-updates-pulse {
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 8px #fff;
    animation: qkPulse 1.2s infinite ease-in-out;
}

@keyframes qkPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.7); }
}

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

/* Animations for Flashing Cards (Hardware-Accelerated) */
@keyframes qkSelfPostFlash {
    0% {
        border-color: #10b981;
        box-shadow: 0 0 20px rgba(16, 185, 129, 0.6), inset 0 0 10px rgba(16, 185, 129, 0.1);
    }
    50% {
        border-color: #10b981;
        box-shadow: 0 0 25px rgba(16, 185, 129, 0.8), inset 0 0 15px rgba(16, 185, 129, 0.2);
    }
    100% {
        border-color: var(--pt-border);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.18);
    }
}

@keyframes qkThirdPartyFlash {
    0% {
        border-color: #4f46e5;
        box-shadow: 0 0 20px rgba(79, 70, 229, 0.6), inset 0 0 10px rgba(79, 70, 229, 0.1);
    }
    50% {
        border-color: #4f46e5;
        box-shadow: 0 0 25px rgba(79, 70, 229, 0.8), inset 0 0 15px rgba(79, 70, 229, 0.2);
    }
    100% {
        border-color: var(--pt-border);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.18);
    }
}

.qk-self-post-flash {
    will-change: box-shadow, border-color, transform, opacity;
    animation: qkSelfPostFlash 2.5s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

.qk-third-party-flash {
    will-change: box-shadow, border-color, transform, opacity;
    animation: qkThirdPartyFlash 2.5s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

/* ════════════════════════════════
   QUICKERS NESTED THREADING & REPLIES ENGINE
   ════════════════════════════════ */
.qk-replies-section {
    border-top: 1px solid var(--pt-border);
    background: rgba(255, 255, 255, 0.01);
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.qk-replies-header {
    font-size: 13.5px;
    font-weight: 800;
    color: var(--pt-text-muted);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.qk-replies-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.qk-reply-item {
    display: flex;
    gap: 12px;
    position: relative;
}

/* Vertical thread connector line for nested replies */
.qk-reply-item:not(.qk-reply-item--nested)::after {
    content: '';
    position: absolute;
    left: 17px;
    top: 36px;
    bottom: -14px;
    width: 2px;
    background: rgba(255, 255, 255, 0.06);
    z-index: 1;
}

/* Remove connector from last child in list */
.qk-reply-item:last-child::after {
    display: none;
}

.qk-reply-item--nested {
    margin-left: 46px; /* Indent child replies */
    margin-top: 8px;
}

.qk-reply-item--nested::before {
    content: '';
    position: absolute;
    left: -29px;
    top: -12px;
    width: 22px;
    height: 30px;
    border-left: 2px solid rgba(255, 255, 255, 0.06);
    border-bottom: 2px solid rgba(255, 255, 255, 0.06);
    border-bottom-left-radius: 8px;
    z-index: 1;
}

.qk-reply-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    z-index: 2;
}

.qk-reply-content-box {
    flex: 1;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 10px 14px;
}

.qk-reply-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
    position: relative;
}

.qk-reply-author {
    font-size: 13px;
    font-weight: 700;
    color: var(--pt-text-main);
    text-decoration: none !important;
}

.qk-reply-time {
    font-size: 11px;
    color: var(--pt-text-muted);
}

.qk-reply-del-btn {
    position: absolute;
    right: 0;
    top: -2px;
    background: transparent;
    border: none;
    color: var(--pt-text-muted);
    font-size: 16px;
    cursor: pointer;
    line-height: 1;
    padding: 0 4px;
    transition: color 0.2s;
}

.qk-reply-del-btn:hover {
    color: var(--pt-danger);
}

.qk-reply-text {
    font-size: 13.5px;
    line-height: 1.5;
    color: var(--pt-text-main);
    white-space: pre-wrap;
    word-break: break-word;
}

.qk-reply-actions {
    display: flex;
    gap: 12px;
    margin-top: 6px;
}

.qk-reply-action-btn {
    background: transparent;
    border: none;
    padding: 0;
    color: var(--pt-accent);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.2s;
}

.qk-reply-action-btn:hover {
    opacity: 0.8;
}

/* Reply input containers */
.qk-reply-input-box {
    display: flex;
    gap: 10px;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    padding-top: 12px;
    margin-top: 4px;
}

.qk-reply-input-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.qk-reply-input-field-wrap, .qk-nested-reply-box {
    flex: 1;
    display: flex;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 3px 6px 3px 14px;
    align-items: center;
}

.qk-reply-input, .qk-nested-reply-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-size: 13px;
    height: 30px;
    padding: 0;
}

.qk-reply-submit-btn, .qk-nested-reply-submit-btn {
    background: var(--pt-accent);
    color: #fff;
    border: none;
    border-radius: 16px;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.2s;
}

.qk-reply-submit-btn:hover, .qk-nested-reply-submit-btn:hover {
    opacity: 0.9;
}

.qk-nested-reply-box-wrap {
    margin-top: 8px;
    margin-left: 46px;
}

.qk-reply-login-promo {
    background: rgba(255, 255, 255, 0.02);
    border: 1px dashed rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    text-align: center;
    padding: 10px;
    font-size: 12.5px;
    color: var(--pt-text-muted);
    cursor: pointer;
    font-weight: 600;
    transition: background 0.2s, border-color 0.2s;
}

.qk-reply-login-promo:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--pt-accent);
    color: var(--pt-text-main);
}

.qk-nested-replies-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
