/* =====================================================
   FEED LETTERBOXD — timeline social com pôster grande
   Aplicado em body.feed-lbx-page (override de feed.css)
   ===================================================== */

:root {
    --lbx-bg: #07090f;
    --lbx-card: rgba(255,255,255,0.025);
    --lbx-card-hover: rgba(255,255,255,0.035);
    --lbx-border: rgba(255,255,255,0.05);
    --lbx-border-strong: rgba(200,168,75,0.25);
    --lbx-text: #e2e6f0;
    --lbx-text-dim: #cdd3e2;
    --lbx-text-muted: #7a8298;
    --lbx-accent: #c8a84b;
    --lbx-accent-hover: #d8b85b;
    --lbx-accent-soft: rgba(200,168,75,0.13);
    --lbx-radius: 16px;
    --lbx-radius-sm: 10px;
}

.feed-lbx-page {
    background: var(--lbx-bg);
}

/* === ESCONDE LAYOUTS ANTIGOS === */
.feed-lbx-page .main-layout,
.feed-lbx-page #recomendacoesSection {
    display: none !important;
}

/* === HERO BANNER ESTILO STREAMING (Netflix / HBO Max) === */
.feed-lbx-page .hero-section {
    --hero-dyn-accent: var(--lbx-accent);
    --hero-dyn-soft: rgba(200,168,75,0.16);
    display: block !important;
    position: relative;
    width: 100%;
    height: clamp(460px, 68vh, 620px);
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-size: cover;
    background-position: center 22%;
    background-repeat: no-repeat;
    background-color: #0a0d15;
    isolation: isolate;
    touch-action: pan-y pinch-zoom;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    transition: background-image 0.35s ease, background-position 0.35s ease;
}

.feed-lbx-page .hero-section.is-dragging {
    cursor: grabbing;
}

.feed-lbx-page .hero-story-viewport {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: -6px;
    z-index: 0;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    scrollbar-color: transparent transparent;
    border: 0;
    outline: 0;
    overscroll-behavior-x: contain;
    touch-action: pan-y pinch-zoom;
}

.feed-lbx-page .hero-story-viewport::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

.feed-lbx-page .hero-story-track {
    display: flex;
    width: 100%;
    height: 100%;
}

.feed-lbx-page .hero-story-slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    position: relative;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    background-size: cover;
    background-position: center 22%;
    background-repeat: no-repeat;
    background-color: #0a0d15;
    overflow: hidden;
    pointer-events: none;
}

.feed-lbx-page .hero-story-slide.hero-story-music::before {
    content: "";
    position: absolute;
    inset: -8%;
    background-image: inherit;
    background-position: center;
    background-size: cover;
    filter: blur(42px) brightness(.52) saturate(1.45);
    opacity: .96;
    transform: scale(1.08);
}

.feed-lbx-page .hero-story-slide.hero-story-music::after {
    content: "";
    position: absolute;
    top: 50%;
    right: clamp(34px, 9vw, 150px);
    width: min(37vw, 470px);
    aspect-ratio: 1;
    background-image: inherit;
    background-position: center;
    background-size: cover;
    border-radius: 12px;
    opacity: .56;
    box-shadow:
        0 28px 90px rgba(0,0,0,.72),
        0 0 0 1px rgba(255,255,255,.14);
    transform: translateY(-50%) rotate(-2deg);
}

.feed-lbx-page .hero-section.is-dragging .hero-story-viewport,
.feed-lbx-page .hero-section.is-snapping .hero-story-viewport {
    scroll-snap-type: none;
    scroll-behavior: auto;
}

.feed-lbx-page .hero-section[data-reason-type="rating"] {
    --hero-dyn-accent: #f5c451;
    --hero-dyn-soft: rgba(245,196,81,0.18);
}
.feed-lbx-page .hero-section[data-reason-type="queue"] {
    --hero-dyn-accent: #7dd3fc;
    --hero-dyn-soft: rgba(125,211,252,0.17);
}
.feed-lbx-page .hero-section[data-reason-type="genre"] {
    --hero-dyn-accent: #f472b6;
    --hero-dyn-soft: rgba(244,114,182,0.16);
}
.feed-lbx-page .hero-section[data-reason-type="cross"] {
    --hero-dyn-accent: #34d399;
    --hero-dyn-soft: rgba(52,211,153,0.16);
}
.feed-lbx-page .hero-section[data-reason-type="actor"],
.feed-lbx-page .hero-section[data-reason-type="developer"],
.feed-lbx-page .hero-section[data-reason-type="visited_actor"],
.feed-lbx-page .hero-section[data-reason-type="visited_developer"] {
    --hero-dyn-accent: #fb923c;
    --hero-dyn-soft: rgba(251,146,60,0.16);
}
.feed-lbx-page .hero-section[data-reason-type="mood"] {
    --hero-dyn-accent: #a7f3d0;
    --hero-dyn-soft: rgba(167,243,208,0.15);
}
.feed-lbx-page .hero-section[data-reason-type="streaming"] {
    --hero-dyn-accent: #93c5fd;
    --hero-dyn-soft: rgba(147,197,253,0.16);
}

/* desabilita o overlay legacy do feed.css (::after) — usamos ::before próprio */
.feed-lbx-page .hero-section::after { display: none; content: none; }

.feed-lbx-page .hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to top, var(--lbx-bg) 0%, rgba(7,9,15,0.55) 32%, rgba(7,9,15,0) 70%),
        linear-gradient(to right, rgba(7,9,15,0.88) 0%, rgba(7,9,15,0.55) 32%, rgba(7,9,15,0) 65%);
    z-index: 1;
    pointer-events: none;
}

.feed-lbx-page .hero-overlay { display: none; }

.feed-lbx-page .hero-content {
    position: absolute;
    left: clamp(24px, 5vw, 80px);
    right: auto;
    bottom: 96px;
    max-width: 600px;
    z-index: 3;
    color: #fff;
    text-align: left;
    transform: none;
}

.feed-lbx-page .hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--hero-dyn-accent);
    background: none;
    border: none;
    padding: 0;
    border-radius: 0;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    margin-bottom: 14px;
}
.feed-lbx-page .hero-tag i { font-size: 0.78rem; }

.feed-lbx-page .hero-content h1#heroTitle {
    font-family: 'DM Serif Display', 'Outfit', serif;
    font-weight: 400;
    font-size: clamp(2rem, 4.4vw, 3.6rem);
    line-height: 1.05;
    letter-spacing: 0;
    color: #fff;
    margin: 0 0 14px;
    text-shadow: 0 4px 24px rgba(0,0,0,0.55);
}

.feed-lbx-page .hero-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    flex-wrap: wrap;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.85);
}
.feed-lbx-page .hero-meta .rating {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: none;
    border: none;
    padding: 0;
    color: var(--hero-dyn-accent);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.04em;
}
.feed-lbx-page .hero-meta .type-badge {
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.feed-lbx-page .hero-desc {
    font-size: 1rem;
    line-height: 1.55;
    color: rgba(255,255,255,0.88);
    margin-bottom: 22px;
    text-shadow: 0 2px 12px rgba(0,0,0,0.5);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-width: 560px;
}

.feed-lbx-page .hero-taste-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: -6px 0 20px;
}

.feed-lbx-page .hero-taste-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    max-width: 210px;
    min-height: 28px;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(0,0,0,0.32);
    border: 1px solid rgba(255,255,255,0.14);
    color: rgba(255,255,255,0.86);
    font-size: 0.76rem;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.feed-lbx-page .hero-taste-chip i {
    color: var(--hero-dyn-accent);
    font-size: 0.72rem;
    flex-shrink: 0;
}

.feed-lbx-page .hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.feed-lbx-page .hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 11px 22px;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 700;
    font-family: inherit;
    border: none;
    cursor: pointer;
    transition: transform 0.18s, background 0.18s, border-color 0.18s;
    text-decoration: none;
}
.feed-lbx-page .hero-btn:hover { transform: translateY(-1px); }
.feed-lbx-page .hero-btn-primary {
    background: var(--hero-dyn-accent);
    color: #0a0d15;
}
.feed-lbx-page .hero-btn-primary:hover { filter: brightness(1.06); }
.feed-lbx-page .hero-btn-secondary {
    background: rgba(255,255,255,0.16);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.feed-lbx-page .hero-btn-secondary:hover {
    background: rgba(255,255,255,0.24);
    border-color: rgba(255,255,255,0.32);
}
.feed-lbx-page .hero-btn i { font-size: 0.92rem; }

.feed-lbx-page .hero-dot:focus-visible {
    outline: 2px solid var(--hero-dyn-accent);
    outline-offset: 3px;
}

/* Navegação do carrossel */
.feed-lbx-page .hero-carousel-controls {
    position: absolute;
    bottom: 26px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 4;
}
.feed-lbx-page .hero-carousel-controls[hidden] { display: none; }
.feed-lbx-page .hero-dots {
    display: flex;
    align-items: center;
    gap: 8px;
}
.feed-lbx-page .hero-arrow {
    display: none;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.16);
    background: rgba(7,9,15,0.58);
    color: #fff;
    cursor: pointer;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.feed-lbx-page .hero-dot {
    width: 28px;
    height: 4px;
    min-width: 28px;
    min-height: 4px;
    border-radius: 2px;
    border: 0;
    padding: 0;
    background: rgba(255,255,255,0.28);
    cursor: pointer;
    transition: all 0.25s;
}
.feed-lbx-page .hero-dot:hover { background: rgba(255,255,255,0.5); }
.feed-lbx-page .hero-dot.active {
    background: var(--hero-dyn-accent);
    width: 44px;
}

.feed-lbx-page .hero-section.is-switching .hero-content > * {
    animation: heroContentIn 0.42s ease both;
}
.feed-lbx-page .hero-section.is-switching .hero-content > *:nth-child(2) { animation-delay: 0.03s; }
.feed-lbx-page .hero-section.is-switching .hero-content > *:nth-child(3) { animation-delay: 0.06s; }
.feed-lbx-page .hero-section.is-switching .hero-content > *:nth-child(4) { animation-delay: 0.09s; }
.feed-lbx-page .hero-section.is-switching .hero-content > *:nth-child(5) { animation-delay: 0.12s; }
.feed-lbx-page .hero-section.is-switching .hero-content > *:nth-child(6) { animation-delay: 0.15s; }

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

/* Light theme — ajusta gradientes */
.light-theme.feed-lbx-page .hero-section { background-color: #d9dde6; }
.light-theme.feed-lbx-page .hero-section::before {
    background:
        linear-gradient(to top, var(--lbx-bg) 0%, rgba(245,245,247,0.55) 32%, rgba(245,245,247,0) 70%),
        linear-gradient(to right, rgba(20,22,30,0.72) 0%, rgba(20,22,30,0.4) 32%, rgba(20,22,30,0) 65%);
}
.light-theme.feed-lbx-page .hero-content h1#heroTitle,
.light-theme.feed-lbx-page .hero-desc,
.light-theme.feed-lbx-page .hero-meta { color: #fff; }

/* Mobile */
@media (max-width: 740px) {
    .feed-lbx-page .hero-section { height: clamp(310px, 50svh, 380px); }
    .feed-lbx-page .hero-story-slide.hero-story-music::after {
        top: 28%;
        right: -18vw;
        width: min(82vw, 340px);
        opacity: .26;
        transform: translateY(-50%) rotate(-4deg);
    }
    .feed-lbx-page .hero-content { bottom: 56px; left: 16px; right: 16px; max-width: none; }
    .feed-lbx-page .hero-content h1#heroTitle { font-size: 1.55rem; margin-bottom: 8px; }
    .feed-lbx-page .hero-tag { margin-bottom: 7px; font-size: 0.64rem; }
    .feed-lbx-page .hero-meta { margin-bottom: 8px; }
    .feed-lbx-page .hero-desc { font-size: 0.84rem; -webkit-line-clamp: 2; margin-bottom: 10px; line-height: 1.4; }
    .feed-lbx-page .hero-taste-strip { gap: 5px; margin: -2px 0 10px; }
    .feed-lbx-page .hero-taste-chip { min-height: 24px; max-width: 145px; padding: 4px 8px; font-size: 0.66rem; }
    .feed-lbx-page .hero-btn { padding: 7px 12px; font-size: 0.78rem; border-radius: 8px; }
    .feed-lbx-page .hero-carousel-controls {
        bottom: 12px;
        gap: 0;
        padding: 6px 9px;
        border: 1px solid rgba(255,255,255,0.1);
        border-radius: 999px;
        background: rgba(7,9,15,0.48);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }
    .feed-lbx-page .hero-arrow {
        display: none;
    }
    .feed-lbx-page .hero-dots { gap: 6px; }
    .feed-lbx-page .hero-dot {
        width: 6px;
        height: 6px;
        min-width: 6px;
        min-height: 6px;
        border-radius: 50%;
    }
    .feed-lbx-page .hero-dot.active { width: 18px; min-width: 18px; border-radius: 999px; }
}

@media (prefers-reduced-motion: reduce) {
    .feed-lbx-page .hero-section,
    .feed-lbx-page .hero-section.is-switching .hero-content > *,
    .feed-lbx-page .hero-dot {
        animation: none !important;
        transition: none !important;
    }
}

/* === TOPBAR === */
.feed-lbx-page .topbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    height: 60px;
    padding: 0 28px;
    background: rgba(7,9,15,0.92);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    border-bottom: 1px solid var(--lbx-border);
    gap: 24px;
}

.feed-lbx-page .topbar.scrolled {
    background: rgba(7,9,15,0.96);
    border-bottom-color: rgba(255,255,255,0.08);
}

.feed-lbx-page .navcentral {
    position: static;
    transform: none;
    justify-self: center;
    flex: none;
    display: flex;
    gap: 4px;
    align-items: center;
    padding: 4px;
    border: 1px solid var(--lbx-border);
    border-radius: 14px;
    background: rgba(255,255,255,0.025);
}

.feed-lbx-page .nc-link {
    background: none;
    border: none;
    color: var(--lbx-text-muted);
    font-size: 0.88rem;
    font-family: inherit;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    padding: 8px 12px;
    border-radius: 10px;
    flex-shrink: 0;
    white-space: nowrap;
    text-decoration: none;
    transition: all 0.18s;
}
.feed-lbx-page .nc-link:hover { color: var(--lbx-accent); background: var(--lbx-accent-soft); }
.feed-lbx-page .nc-link.active { color: #fff; background: rgba(255,255,255,0.04); }
.feed-lbx-page .nc-link i { font-size: 0.92rem; flex: 0 0 1em; width: 1em; text-align: center; }

.feed-lbx-page .nc-more-wrap { position: relative; }
.feed-lbx-page .nc-chevron { font-size: 0.7rem !important; margin-left: 2px; transition: transform 0.2s; }
.feed-lbx-page .nc-more-wrap.open .nc-chevron { transform: rotate(180deg); }

.feed-lbx-page .nc-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: #11141d;
    border: 1px solid var(--lbx-border);
    border-radius: 14px;
    padding: 8px;
    min-width: 240px;
    box-shadow: 0 16px 40px rgba(0,0,0,0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.18s;
    z-index: 50;
}
.feed-lbx-page .nc-more-wrap.open .nc-dropdown,
.feed-lbx-page .nc-user-wrap.open .nc-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.feed-lbx-page .nc-dropdown-right { left: auto; right: 0; }

.feed-lbx-page .nc-drop-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 8px;
    color: var(--lbx-text-dim);
    font-size: 0.88rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    transition: background 0.15s;
    font-family: inherit;
}
.feed-lbx-page .nc-drop-item:hover { background: rgba(255,255,255,0.05); color: #fff; }
.feed-lbx-page .nc-drop-item i { color: var(--lbx-accent); width: 18px; text-align: center; font-size: 0.92rem; }
.feed-lbx-page .nc-drop-section { padding: 8px 14px 4px; font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--lbx-text-muted); font-weight: 600; }
.feed-lbx-page .nc-drop-sep { height: 1px; background: var(--lbx-border); margin: 6px 4px; }
.feed-lbx-page .nc-drop-danger { color: #ff8a8a; }
.feed-lbx-page .nc-drop-danger i { color: #ff8a8a; }
.feed-lbx-page .nc-drop-danger:hover { background: rgba(255,80,80,0.08); }

.feed-lbx-page .header-left { flex: 0 0 auto; gap: 0; }
.feed-lbx-page .logo-header img { height: 34px; }

.feed-lbx-page .header-right {
    justify-self: end;
    width: 100%;
    max-width: 418px;
    min-width: 0;
    margin-left: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.feed-lbx-page .search-wrapper {
    position: relative;
    width: 280px;
    min-width: 0;
    flex: 1 1 280px;
    height: 40px;
    display: flex;
    align-items: center;
    padding: 0;
    gap: 0;
    background: rgba(255,255,255,0.045);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
    transition: background 0.18s, border-color 0.18s, box-shadow 0.18s;
}
.feed-lbx-page .search-wrapper:focus-within {
    background: rgba(255,255,255,0.07);
    border-color: rgba(200,168,75,0.36);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.05),
        0 0 0 3px rgba(200,168,75,0.08);
}
.feed-lbx-page .search-input {
    width: 100%;
    height: 100%;
    padding: 0 14px 0 40px;
    border-radius: inherit;
    background: transparent;
    border: 0;
    color: var(--lbx-text);
    font-size: 0.85rem;
    font-family: inherit;
    outline: none;
    transition: color 0.18s;
}
.feed-lbx-page .search-input:focus { border-color: transparent; }
.feed-lbx-page .search-input::placeholder { color: rgba(205,211,226,0.56); }
.feed-lbx-page .search-icon-btn {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(205,211,226,0.7);
    font-size: 0.82rem;
    cursor: pointer;
    transition: color 0.18s;
}
.feed-lbx-page .search-wrapper:focus-within .search-icon-btn { color: var(--lbx-accent); }

.feed-lbx-page .btn-header {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--lbx-text-dim);
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    position: relative;
    font-size: 1rem;
}
.feed-lbx-page .btn-header:hover { background: rgba(255,255,255,0.06); color: var(--lbx-accent); }

.feed-lbx-page .notif-badge {
    position: absolute;
    top: 4px;
    right: 4px;
    background: var(--lbx-accent);
    color: #0a0d15;
    font-size: 0.62rem;
    font-weight: 700;
    padding: 1px 5px;
    border-radius: 8px;
    min-width: 16px;
    text-align: center;
    line-height: 1.4;
}

.feed-lbx-page .notif-wrapper { position: relative; }
.feed-lbx-page .notif-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: #11141d;
    border: 1px solid var(--lbx-border);
    border-radius: 14px;
    width: 360px;
    max-height: 480px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
    z-index: 50;
}
.feed-lbx-page .notif-dropdown-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    border-bottom: 1px solid var(--lbx-border);
}
.feed-lbx-page .notif-dropdown-header h3 { font-size: 1rem; color: #fff; font-weight: 700; }
.feed-lbx-page .notif-mark-all {
    background: none;
    border: none;
    color: var(--lbx-accent);
    font-size: 0.78rem;
    cursor: pointer;
    font-family: inherit;
    font-weight: 600;
}
.feed-lbx-page .notif-dropdown-list { flex: 1; overflow-y: auto; }
.feed-lbx-page .notif-empty { padding: 30px; text-align: center; color: var(--lbx-text-muted); font-size: 0.88rem; }

/* === LAYOUT 3 COLUNAS === */
.feed-lbx-page .social-layout {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr) 320px;
    max-width: 1340px;
    margin: 0 auto;
    gap: 32px;
    padding: 24px 28px 80px;
}

/* === LEFT NAV === */
.feed-lbx-page .social-leftnav {
    position: sticky;
    top: 84px;
    align-self: flex-start;
    display: flex;
    flex-direction: column;
}

.feed-lbx-page .lbx-nav-block {
    background: var(--lbx-card);
    border: 1px solid var(--lbx-border);
    border-radius: var(--lbx-radius);
    padding: 8px;
    margin-bottom: 14px;
}
.feed-lbx-page .sln-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 14px;
    border-radius: 10px;
    color: var(--lbx-text-dim);
    font-size: 0.92rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.15s;
}
.feed-lbx-page .sln-item:hover { background: rgba(255,255,255,0.04); color: #fff; }
.feed-lbx-page .sln-item.active { background: var(--lbx-accent-soft); color: var(--lbx-accent); }
.feed-lbx-page .sln-item i { font-size: 1rem; width: 20px; text-align: center; }

.feed-lbx-page .sln-post-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--lbx-accent);
    color: #0a0d15;
    font-weight: 700;
    padding: 12px 0;
    border-radius: 12px;
    width: 100%;
    font-size: 0.92rem;
    font-family: inherit;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
}
.feed-lbx-page .sln-post-btn:hover { background: var(--lbx-accent-hover); }
.feed-lbx-page .sln-post-btn i { font-size: 0.92rem; }

.feed-lbx-page .sln-mini-section { margin-top: 14px; padding: 0 6px; }
.feed-lbx-page .sln-mini-title {
    font-size: 0.7rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--lbx-text-muted);
    font-weight: 600;
    margin-bottom: 8px;
    padding: 0 8px;
}
.feed-lbx-page .sln-mini {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 8px;
    color: var(--lbx-text-muted);
    font-size: 0.82rem;
    text-decoration: none;
    transition: all 0.15s;
}
.feed-lbx-page .sln-mini:hover { color: var(--lbx-accent); background: var(--lbx-accent-soft); }
.feed-lbx-page .sln-mini i { font-size: 0.82rem; width: 16px; text-align: center; }

/* === CENTER TIMELINE === */
.feed-lbx-page .social-timeline {
    min-width: 0;
}

/* HEADER (tabs + filters) — card único */
.feed-lbx-page .feed-main-tabs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    container: feed-navigation / inline-size;
    background:
        radial-gradient(120% 140% at 0% 0%, rgba(200,168,75,0.07) 0%, rgba(200,168,75,0) 55%),
        var(--lbx-card);
    border: 1px solid var(--lbx-border);
    border-radius: var(--lbx-radius) var(--lbx-radius) 0 0;
    border-bottom: none;
    overflow: hidden;
    margin-bottom: 0;
    position: relative;
}
.feed-lbx-page .feed-main-tabs::before {
    content: none;
}
.feed-lbx-page .feed-main-tab + .feed-main-tab {
    border-left: 1px solid var(--lbx-border);
}

.feed-lbx-page .friends-panel {
    padding: 28px;
    border: 1px solid var(--lbx-border);
    border-radius: 0 0 var(--lbx-radius) var(--lbx-radius);
    background: var(--lbx-card);
}
.feed-lbx-page .friends-heading h2 {
    margin: 4px 0 6px;
    color: var(--lbx-text);
    font-size: clamp(1.4rem, 3vw, 1.9rem);
}
.feed-lbx-page .friends-heading p,
.feed-lbx-page .friends-hint { color: var(--lbx-text-muted); }
.feed-lbx-page .friends-kicker {
    color: var(--lbx-accent);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .14em;
}
.feed-lbx-page .friends-self-id {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin: 22px 0;
    padding: 14px 16px;
    border: 1px solid var(--lbx-border-strong);
    border-radius: 10px;
    color: var(--lbx-text-dim);
    background: var(--lbx-accent-soft);
}
.feed-lbx-page .friends-self-id[hidden] { display: none; }
.feed-lbx-page .friends-self-id strong { color: var(--lbx-accent); margin-left: 5px; }
.feed-lbx-page .friends-self-id button,
.feed-lbx-page .friends-follow-btn {
    border: 1px solid var(--lbx-border-strong);
    border-radius: 8px;
    padding: 8px 12px;
    background: var(--lbx-accent-soft);
    color: var(--lbx-accent);
    cursor: pointer;
    font: inherit;
    font-weight: 700;
    white-space: nowrap;
}
.feed-lbx-page .friends-follow-btn.is-following { color: var(--lbx-text-dim); border-color: var(--lbx-border); background: rgba(255,255,255,.04); }
.feed-lbx-page .friends-follow-btn:disabled { opacity: .55; cursor: wait; }
.feed-lbx-page .friends-search-box {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
    padding: 13px 16px;
    border: 1px solid var(--lbx-border-strong);
    border-radius: 10px;
    color: var(--lbx-text-muted);
    background: rgba(255,255,255,.035);
}
.feed-lbx-page .friends-search-box:focus-within { outline: 2px solid var(--lbx-accent); outline-offset: 2px; }
.feed-lbx-page .friends-search-box input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--lbx-text);
    font: inherit;
}
.feed-lbx-page .friends-results-title { margin: 26px 0 12px; color: var(--lbx-text); font-weight: 700; }
.feed-lbx-page .friends-hint { padding: 18px 0; }
.feed-lbx-page .friends-user-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 13px 0;
    border-top: 1px solid var(--lbx-border);
}
.feed-lbx-page .friends-user-link { display: flex; align-items: center; gap: 13px; min-width: 0; color: var(--lbx-text); text-decoration: none; }
.feed-lbx-page .friends-user-link:hover strong { color: var(--lbx-accent); }
.feed-lbx-page .friends-avatar {
    display: grid;
    place-items: center;
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    overflow: hidden;
    border-radius: 50%;
    background: rgba(255,255,255,.06);
    color: var(--lbx-text-muted);
    font-size: 1.5rem;
}
.feed-lbx-page .friends-avatar img { width: 100%; height: 100%; object-fit: cover; }
.feed-lbx-page .friends-user-info { display: flex; flex-direction: column; min-width: 0; }
.feed-lbx-page .friends-user-info strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.feed-lbx-page .friends-user-info small { margin-top: 3px; color: var(--lbx-text-muted); }
@media (max-width: 640px) {
    .feed-lbx-page .friends-panel { padding: 20px 16px; }
    .feed-lbx-page .friends-self-id { align-items: flex-start; flex-direction: column; }
}
.feed-lbx-page .feed-main-tab {
    min-width: 0;
    min-height: 60px;
    padding: 14px 10px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--lbx-text-muted);
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
    transition: color 0.18s ease, background 0.18s ease, transform 0.15s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    overflow: hidden;
}
.feed-lbx-page .feed-main-tab .fmt-heading {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.feed-lbx-page .feed-main-tab:focus-visible,
.feed-lbx-page .nc-more-btn:focus-visible,
.feed-lbx-page .nc-user-wrap .btn-header:focus-visible,
.feed-lbx-page .nc-dropdown a:focus-visible,
.feed-lbx-page .nc-dropdown button:focus-visible {
    outline: 2px solid #e8c96a;
    outline-offset: -3px;
}
.feed-lbx-page .feed-main-tab .fmt-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    color: var(--lbx-text-muted);
    font-size: 0.82rem;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.25s ease, box-shadow 0.25s ease;
    flex-shrink: 0;
}
.feed-lbx-page .feed-main-tab .fmt-label {
    font-weight: 700;
    letter-spacing: 0.01em;
    white-space: nowrap;
}
.feed-lbx-page .feed-main-tab .fmt-sub {
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--lbx-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    white-space: nowrap;
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
    opacity: 0.85;
}
.feed-lbx-page .feed-main-tab:hover:not(.active) {
    background: rgba(255,255,255,0.025);
    color: var(--lbx-text-dim);
}
.feed-lbx-page .feed-main-tab:hover:not(.active) .fmt-icon {
    color: var(--lbx-accent);
    border-color: rgba(200,168,75,0.22);
    background: rgba(200,168,75,0.08);
}
.feed-lbx-page .feed-main-tab.active {
    color: #fff;
    background:
        radial-gradient(80% 100% at 50% 100%, rgba(200,168,75,0.10) 0%, rgba(200,168,75,0) 70%),
        rgba(255,255,255,0.015);
}
.feed-lbx-page .feed-main-tab.active .fmt-icon {
    background: linear-gradient(135deg, #f4d978 0%, #c8a84b 60%, #9c7c2a 100%);
    color: #1a1408;
    border-color: rgba(255,221,128,0.55);
    box-shadow:
        0 6px 16px rgba(200,168,75,0.32),
        0 1px 0 rgba(255,255,255,0.4) inset,
        0 -1px 0 rgba(0,0,0,0.15) inset;
    transform: scale(1.05);
}
.feed-lbx-page .feed-main-tab.active .fmt-sub {
    color: var(--lbx-accent);
    border-color: rgba(200,168,75,0.32);
    background: rgba(200,168,75,0.10);
    opacity: 1;
}
.feed-lbx-page .feed-main-tab.active::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 70%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--lbx-accent) 50%, transparent);
    border-radius: 2px 2px 0 0;
    box-shadow: 0 0 12px rgba(200,168,75,0.55);
}
/* Adapta as abas à coluna do feed, inclusive em monitores largos. */
@container feed-navigation (max-width: 640px) {
    .feed-lbx-page .feed-main-tab .fmt-sub { display: none; }
}
@container feed-navigation (max-width: 540px) {
    .feed-lbx-page .feed-main-tab .fmt-icon { display: none; }
    .feed-lbx-page .feed-main-tab {
        min-height: 52px;
        padding: 12px 6px;
    }
    .feed-lbx-page .feed-main-tab .fmt-label { font-size: 0.84rem; }
}

/* FILTERS */
.feed-lbx-page .filters {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 8px 10px;
    background: rgba(10, 13, 21, 0.76);
    border: 1px solid var(--lbx-border);
    border-radius: 14px;
    margin-bottom: 18px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.16), 0 1px 0 rgba(255,255,255,0.025) inset;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: relative;
    container-type: inline-size;
}
.feed-lbx-page .filter-tabs {
    display: flex;
    align-items: stretch;
    gap: 12px;
    flex: 1;
    min-width: 0;
    flex-wrap: nowrap;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
}
.feed-lbx-page .filter-tab-group {
    display: flex;
    align-items: stretch;
    gap: 3px;
    flex: 0 0 auto;
}
.feed-lbx-page .filter-tab-group-primary {
    padding-right: 12px;
    border-right: 1px solid rgba(255,255,255,0.08);
}
.feed-lbx-page .filter-tab-group-media {
    flex: 0 0 auto;
}
.feed-lbx-page .filter-tab {
    position: relative;
    min-height: 40px;
    padding: 8px 12px;
    border-radius: 9px;
    background: transparent;
    border: 1px solid transparent;
    color: var(--lbx-text-muted);
    font-size: 0.82rem;
    font-family: inherit;
    font-weight: 600;
    letter-spacing: 0.01em;
    white-space: nowrap;
    cursor: pointer;
    transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.15s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex: 0 0 auto;
}
.feed-lbx-page .filter-tab i {
    width: 18px;
    font-size: 0.78rem;
    opacity: 0.72;
    transition: opacity 0.2s ease, transform 0.2s ease;
}
.feed-lbx-page .filter-tab:hover:not(.active) {
    color: #fff;
    background: rgba(255,255,255,0.045);
    border-color: rgba(255,255,255,0.055);
}
.feed-lbx-page .filter-tab:hover:not(.active) i {
    opacity: 1;
    color: var(--lbx-accent);
    transform: translateY(-1px);
}
.feed-lbx-page .filter-tab.active {
    background: rgba(200,168,75,0.11);
    color: #f2d776;
    border-color: rgba(200,168,75,0.22);
    font-weight: 700;
    box-shadow: 0 1px 0 rgba(255,255,255,0.035) inset;
}
.feed-lbx-page .filter-tab.active::after {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: -1px;
    height: 2px;
    border-radius: 2px 2px 0 0;
    background: var(--lbx-accent);
    box-shadow: 0 0 9px rgba(200,168,75,0.45);
}
.feed-lbx-page .filter-tab.active i {
    opacity: 1;
    color: var(--lbx-accent);
}
.feed-lbx-page .filter-tab:focus-visible {
    outline: 2px solid var(--lbx-accent);
    outline-offset: 2px;
}

/* Quando a própria barra fica estreita, as mídias viram ícones legíveis e estáveis. */
@container (max-width: 820px) {
    .feed-lbx-page .filter-tab-group-media .filter-tab {
        width: 40px;
        min-width: 40px;
        padding-inline: 0;
    }
    .feed-lbx-page .filter-tab-group-media .filter-tab span { display: none; }
    .feed-lbx-page .filter-tab-group-media .filter-tab i {
        width: auto;
        font-size: 0.86rem;
    }
}

/* Compactação responsiva — em telas estreitas os dois grupos viram uma faixa rolável */
@media (max-width: 760px) {
    .feed-lbx-page .filter-tabs {
        overflow-x: auto;
        scrollbar-width: none;
        overscroll-behavior-inline: contain;
        scroll-snap-type: inline proximity;
        padding-bottom: 2px;
    }
    .feed-lbx-page .filter-tab-group { flex: 0 0 auto; }
    .feed-lbx-page .filter-tab { scroll-snap-align: start; }
    .feed-lbx-page .filter-tabs::-webkit-scrollbar { display: none; }
}

.feed-lbx-page .filter-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
    align-self: center;
    border-left: 1px solid rgba(255,255,255,0.08);
    padding-left: 14px;
    margin-left: auto;
}
.feed-lbx-page .btn-action {
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 9px;
    background: transparent;
    border: 1px solid transparent;
    color: var(--lbx-text-muted);
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
    font-size: 0.88rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.feed-lbx-page .btn-action:hover {
    background: rgba(255,255,255,0.045);
    color: var(--lbx-accent);
    border-color: rgba(200,168,75,0.18);
}
.feed-lbx-page .btn-action:focus-visible {
    outline: 2px solid var(--lbx-accent);
    outline-offset: 2px;
}
.feed-lbx-page .btn-action:active { transform: translateY(0); }
.feed-lbx-page #refreshBtn:hover i { animation: btnSpin 0.7s linear; }
@keyframes btnSpin { from { transform: rotate(0); } to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
    .feed-lbx-page .filter-tab,
    .feed-lbx-page .filter-tab i,
    .feed-lbx-page .btn-action,
    .feed-lbx-page #refreshBtn:hover i {
        animation: none !important;
        transition: none !important;
    }
}

/* SMART FILTER PANEL */
.feed-lbx-page .smart-filter-panel {
    background: var(--lbx-card);
    border: 1px solid var(--lbx-border);
    border-radius: var(--lbx-radius);
    padding: 18px 20px;
    margin-bottom: 16px;
    transition: all 0.25s;
}
.feed-lbx-page .smart-filter-panel.hidden { display: none; }
.feed-lbx-page .filter-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}
.feed-lbx-page .filter-panel-header h3 {
    font-size: 1rem;
    color: #fff;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}
.feed-lbx-page .filter-panel-header h3 i { color: var(--lbx-accent); }
.feed-lbx-page .btn-clear-filters {
    background: none;
    border: 1px solid var(--lbx-border);
    color: var(--lbx-text-muted);
    padding: 5px 12px;
    border-radius: 14px;
    font-size: 0.8rem;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.15s;
}
.feed-lbx-page .btn-clear-filters:hover { color: var(--lbx-accent); border-color: var(--lbx-border-strong); }
.feed-lbx-page .filter-groups { display: flex; flex-direction: column; gap: 14px; }
.feed-lbx-page .filter-group { }
.feed-lbx-page .filter-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--lbx-text-dim);
    font-weight: 600;
    margin-bottom: 8px;
}
.feed-lbx-page .filter-label i { color: var(--lbx-accent); font-size: 0.82rem; }
.feed-lbx-page .filter-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.feed-lbx-page .filter-chip {
    padding: 5px 12px;
    border-radius: 14px;
    background: rgba(255,255,255,0.04);
    border: 1px solid transparent;
    color: var(--lbx-text-muted);
    font-size: 0.78rem;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.15s;
    display: flex;
    align-items: center;
    gap: 6px;
}
.feed-lbx-page .filter-chip.active {
    background: var(--lbx-accent-soft);
    color: var(--lbx-accent);
    border-color: var(--lbx-border-strong);
    font-weight: 600;
}
.feed-lbx-page .filter-chip:hover:not(.active) { color: var(--lbx-accent); }
.feed-lbx-page .filter-chip i { font-size: 0.7rem; }
.feed-lbx-page .btn-apply-filters {
    margin-top: 14px;
    width: 100%;
    padding: 11px 0;
    background: var(--lbx-accent);
    color: #0a0d15;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.88rem;
    cursor: pointer;
    font-family: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.2s;
}
.feed-lbx-page .btn-apply-filters:hover { background: var(--lbx-accent-hover); }

/* COMPOSER (clica → abre search overlay pra avaliar mídia) */
.feed-lbx-page .lbx-composer {
    display: flex;
    gap: 14px;
    padding: 18px 20px;
    background: var(--lbx-card);
    border: 1px solid var(--lbx-border);
    border-radius: var(--lbx-radius);
    margin-bottom: 16px;
    cursor: pointer;
    transition: border-color 0.2s;
}
.feed-lbx-page .lbx-composer:hover { border-color: var(--lbx-border-strong); }
.feed-lbx-page .lbx-composer .cmp-av {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--lbx-accent-soft);
    color: var(--lbx-accent);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}
.feed-lbx-page .lbx-composer .cmp-av img { width: 100%; height: 100%; object-fit: cover; }
.feed-lbx-page .lbx-composer .cmp-body { flex: 1; }
.feed-lbx-page .lbx-composer .cmp-prompt {
    color: var(--lbx-text-muted);
    font-size: 1rem;
    padding: 8px 0;
}
.feed-lbx-page .lbx-composer .cmp-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
}
.feed-lbx-page .lbx-composer .cmp-tools {
    display: flex;
    gap: 4px;
    color: var(--lbx-accent);
}
.feed-lbx-page .lbx-composer .cmp-tools i {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.92rem;
    transition: background 0.15s;
}
.feed-lbx-page .lbx-composer .cmp-tools i:hover { background: var(--lbx-accent-soft); }
.feed-lbx-page .lbx-composer .cmp-btn {
    background: var(--lbx-accent);
    color: #0a0d15;
    padding: 8px 18px;
    border-radius: 14px;
    font-size: 0.85rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

/* === FEED CONTENT (tweets) === */
.feed-lbx-page .feed-grid,
.feed-lbx-page .feed-sections,
.feed-lbx-page .timeline {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.feed-lbx-page .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 4px;
    margin-bottom: 4px;
}
.feed-lbx-page .section-header h2 {
    font-size: 1.05rem;
    color: var(--lbx-text-dim);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}
.feed-lbx-page .section-header h2 i { color: var(--lbx-accent); font-size: 0.95rem; }
.feed-lbx-page .feed-source-caption {
    margin: 4px 0 0;
    color: var(--lbx-text-muted);
    font-size: 0.78rem;
    line-height: 1.4;
}
.feed-lbx-page .section-refresh-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255,255,255,0.04);
    border: none;
    color: var(--lbx-text-muted);
    cursor: pointer;
    transition: all 0.15s;
    font-size: 0.82rem;
    font-family: inherit;
}
.feed-lbx-page .section-refresh-icon:hover { background: var(--lbx-accent-soft); color: var(--lbx-accent); }
.feed-lbx-page .section-see-all {
    color: var(--lbx-accent);
    font-size: 0.85rem;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.feed-lbx-page .section-see-all:hover { text-decoration: underline; }

/* === TWEET LETTERBOXD === */
.feed-lbx-page .tweet-lbx {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 18px;
    padding: 20px;
    background: var(--lbx-card);
    border: 1px solid var(--lbx-border);
    border-radius: var(--lbx-radius);
    cursor: pointer;
    transition: all 0.2s;
}
.feed-lbx-page .tweet-lbx:hover { border-color: var(--lbx-border-strong); background: var(--lbx-card-hover); }

.feed-lbx-page .tweet-lbx.no-media { grid-template-columns: 1fr; }

.feed-lbx-page .hero-meta [hidden],
.feed-lbx-page .hero-actions[hidden],
.feed-lbx-page .hero-section[hidden] { display: none !important; }

.feed-lbx-page .tlbx-poster-col { position: relative; }
.feed-lbx-page .tlbx-poster {
    width: 120px;
    height: 180px;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.5);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s;
    background: #1a1d28;
}
.feed-lbx-page .tlbx-poster:hover { transform: scale(1.03); }
.feed-lbx-page .tlbx-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.feed-lbx-page .tlbx-poster::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.5));
    pointer-events: none;
}
.feed-lbx-page .tlbx-rating {
    position: absolute;
    bottom: 8px;
    left: 8px;
    background: rgba(0,0,0,0.85);
    color: var(--lbx-accent);
    font-size: 0.75rem;
    padding: 3px 8px;
    border-radius: 8px;
    font-weight: 700;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2;
    letter-spacing: 0.05em;
}
.feed-lbx-page .tlbx-type {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(0,0,0,0.7);
    color: #fff;
    font-size: 0.65rem;
    padding: 2px 7px;
    border-radius: 6px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2;
    font-weight: 600;
}

.feed-lbx-page .tlbx-body {
    min-width: 0;
    display: flex;
    flex-direction: column;
}
.feed-lbx-page .tlbx-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    font-size: 0.88rem;
    flex-wrap: wrap;
}
.feed-lbx-page .tlbx-av {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--lbx-accent-soft);
    color: var(--lbx-accent);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    flex-shrink: 0;
    overflow: hidden;
    cursor: pointer;
    transition: opacity 0.2s;
}
.feed-lbx-page .tlbx-av:hover { opacity: 0.8; }
.feed-lbx-page .tlbx-av img { width: 100%; height: 100%; object-fit: cover; }
.feed-lbx-page .tlbx-name {
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}
.feed-lbx-page .tlbx-name:hover { text-decoration: underline; }
.feed-lbx-page .tlbx-handle,
.feed-lbx-page .tlbx-when {
    color: var(--lbx-text-muted);
    font-size: 0.82rem;
}
.feed-lbx-page .tlbx-sep { color: var(--lbx-text-muted); opacity: 0.5; }
.feed-lbx-page .tlbx-more {
    margin-left: auto;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: none;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--lbx-text-muted);
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.15s;
}
.feed-lbx-page .tlbx-more:hover { background: rgba(255,255,255,0.06); color: var(--lbx-accent); }

.feed-lbx-page .tlbx-mtitle-row {
    display: flex;
    align-items: baseline;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 6px;
}
.feed-lbx-page .tlbx-mtitle {
    font-family: 'DM Serif Display', 'Outfit', serif;
    color: #fff;
    font-size: 1.5rem;
    line-height: 1.1;
    cursor: pointer;
}
.feed-lbx-page .tlbx-mtitle:hover { color: var(--lbx-accent); }
.feed-lbx-page .tlbx-myear {
    color: var(--lbx-text-muted);
    font-size: 1.05rem;
    font-weight: 500;
}

.feed-lbx-page .tlbx-action {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--lbx-text-muted);
    font-size: 0.8rem;
    margin-bottom: 10px;
    flex-wrap: wrap;
}
.feed-lbx-page .tlbx-stars {
    display: inline-flex;
    align-items: center;
    gap: 2px;
}
.feed-lbx-page .tlbx-stars .star-svg-inline {
    width: 0.95rem; height: 0.95rem; display: block;
    filter: drop-shadow(0 0 4px rgba(200,168,75,0.3));
}
.feed-lbx-page .tlbx-action i { font-size: 0.78rem; }

.feed-lbx-page .tlbx-text {
    color: var(--lbx-text-dim);
    font-size: 0.96rem;
    line-height: 1.55;
    margin-bottom: 14px;
    word-wrap: break-word;
    flex: 1;
}

.feed-lbx-page .tlbx-spoiler-toggle {
    align-self: flex-start;
    margin-bottom: 14px;
    padding: 7px 11px;
    border: 1px solid var(--lbx-border-strong);
    border-radius: 8px;
    background: var(--lbx-accent-soft);
    color: var(--lbx-accent);
    font: inherit;
    font-size: 0.82rem;
    cursor: pointer;
}

.feed-lbx-page .tlbx-spoiler-toggle:focus-visible {
    outline: 2px solid var(--lbx-accent);
    outline-offset: 2px;
}

.feed-lbx-page .feed-load-more {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px 0 22px;
}

.feed-lbx-page .feed-load-more button {
    padding: 10px 20px;
    border: 1px solid var(--lbx-border-strong);
    border-radius: 10px;
    background: var(--lbx-card);
    color: var(--lbx-accent);
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.feed-lbx-page .feed-load-more button:hover { background: var(--lbx-accent-soft); }
.feed-lbx-page .feed-load-more button:disabled { opacity: 0.6; cursor: wait; }
.feed-lbx-page .feed-load-more button:focus-visible {
    outline: 2px solid var(--lbx-accent);
    outline-offset: 2px;
}

.feed-lbx-page .tlbx-genres {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 14px;
}
.feed-lbx-page .tlbx-genres span {
    padding: 3px 10px;
    background: rgba(200,168,75,0.08);
    color: var(--lbx-accent);
    border: 1px solid rgba(200,168,75,0.2);
    border-radius: 12px;
    font-size: 0.72rem;
    font-weight: 500;
}

.feed-lbx-page .tlbx-repost-label {
    color: #5ec88a;
    font-size: 0.78rem;
    font-weight: 600;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
    grid-column: 1 / -1;
}
.feed-lbx-page .tlbx-repost-label i { font-size: 0.82rem; }

.feed-lbx-page .tlbx-actions {
    display: flex;
    gap: 18px;
    color: var(--lbx-text-muted);
    font-size: 0.85rem;
    padding-top: 12px;
    border-top: 1px solid var(--lbx-border);
    margin-top: auto;
}
.feed-lbx-page .tw-action {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 5px 8px;
    border-radius: 14px;
    background: none;
    border: none;
    color: var(--lbx-text-muted);
    cursor: pointer;
    transition: all 0.15s;
    font-size: 0.85rem;
    font-family: inherit;
}
.feed-lbx-page .tw-action:hover { color: var(--lbx-accent); background: rgba(200,168,75,0.08); }
.feed-lbx-page .tw-action.tw-like:hover,
.feed-lbx-page .tw-action.liked { color: #e85078; }
.feed-lbx-page .tw-action.tw-like:hover { background: rgba(232,80,120,0.08); }
.feed-lbx-page .tw-action.liked { background: rgba(232,80,120,0.12); }
.feed-lbx-page .tw-action.liked:hover { background: rgba(232,80,120,0.18); }
.feed-lbx-page .tw-action.tw-repost:hover,
.feed-lbx-page .tw-action.reposted { color: #5ec88a; }
.feed-lbx-page .tw-action.tw-repost:hover { background: rgba(94,200,138,0.08); }
.feed-lbx-page .tw-action.reposted { background: rgba(94,200,138,0.12); }
.feed-lbx-page .tw-action:disabled { opacity: 0.4; cursor: default; }
.feed-lbx-page .tw-action:disabled:hover { background: none; color: var(--lbx-text-muted); }
.feed-lbx-page .tw-action i { font-size: 0.92rem; }

/* Empty state */
.feed-lbx-page .feed-empty-msg {
    padding: 60px 30px;
    text-align: center;
    background: var(--lbx-card);
    border: 1px solid var(--lbx-border);
    border-radius: var(--lbx-radius);
    color: var(--lbx-text-muted);
}
.feed-lbx-page .feed-empty-msg i {
    font-size: 2rem;
    color: var(--lbx-accent);
    margin-bottom: 14px;
    display: block;
}
.feed-lbx-page .feed-empty-msg h3 {
    font-size: 1.15rem;
    color: #fff;
    margin-bottom: 8px;
    font-weight: 700;
}
.feed-lbx-page .feed-empty-msg p { font-size: 0.9rem; line-height: 1.5; }
.feed-lbx-page .feed-empty-msg a { color: var(--lbx-accent); text-decoration: none; font-weight: 600; }

/* === RIGHT SIDEBAR === */
.feed-lbx-page .social-rightsidebar {
    position: sticky;
    top: 84px;
    align-self: flex-start;
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
}
.feed-lbx-page .social-rightsidebar::-webkit-scrollbar { width: 0; }
.feed-lbx-page .social-rightsidebar > .srs-card,
.feed-lbx-page .social-rightsidebar > .srs-footer {
    flex: 0 0 auto;
}

.feed-lbx-page .srs-card {
    background: var(--lbx-card);
    border: 1px solid var(--lbx-border);
    border-radius: var(--lbx-radius);
    padding: 18px;
}
.feed-lbx-page .srs-title {
    font-size: 1.05rem;
    color: #fff;
    margin-bottom: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}
.feed-lbx-page .srs-title i { color: var(--lbx-accent); font-size: 0.92rem; }

/* QUIZ CARD */
.feed-lbx-page .srs-quiz {
    background: linear-gradient(135deg, #1f1810, #3a2814 72%, rgba(200,168,75,0.22));
    border-color: rgba(200,168,75,0.4);
    position: relative;
    overflow: hidden;
    min-height: 154px;
    padding: 18px 18px 16px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.feed-lbx-page .srs-quiz::before {
    content: "";
    position: absolute;
    right: -36px;
    top: -42px;
    width: 104px;
    height: 104px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(200,168,75,0.14), rgba(200,168,75,0));
    pointer-events: none;
}
.feed-lbx-page .srs-quiz-kicker {
    font-size: 0.7rem;
    line-height: 1;
    letter-spacing: 0.16em;
    color: var(--lbx-accent);
    font-weight: 700;
    margin-bottom: 10px;
    position: relative;
    z-index: 2;
    text-transform: uppercase;
}
.feed-lbx-page .srs-quiz-title {
    font-family: 'DM Serif Display', 'Outfit', serif;
    font-size: 1.3rem;
    color: #fff;
    margin-bottom: 6px;
    position: relative;
    z-index: 2;
    line-height: 1.2;
}
.feed-lbx-page .srs-quiz-desc {
    color: rgba(255,255,255,0.75);
    font-size: 0.85rem;
    margin-bottom: 14px;
    position: relative;
    z-index: 2;
}
.feed-lbx-page .srs-btn {
    display: inline-block;
    padding: 8px 16px;
    background: var(--lbx-accent);
    color: #0a0d15;
    border-radius: 14px;
    font-weight: 700;
    font-size: 0.82rem;
    text-decoration: none;
    position: relative;
    z-index: 2;
    transition: background 0.2s;
}
.feed-lbx-page .srs-btn:hover { background: var(--lbx-accent-hover); }

/* NEWS CARD */
.feed-lbx-page .srs-news {
    position: relative;
    background:
        radial-gradient(circle at 100% 0, rgba(56,189,248,0.10), transparent 36%),
        linear-gradient(155deg, rgba(11,23,36,0.98), rgba(7,16,28,0.98));
    border-color: rgba(125,211,252,0.24);
    overflow: hidden;
    box-shadow: 0 16px 38px rgba(0,0,0,0.18);
}
.feed-lbx-page .srs-news::before {
    content: '';
    position: absolute;
    inset: 0 18px auto;
    height: 1px;
    background: linear-gradient(90deg, #38bdf8, rgba(56,189,248,0));
}
.feed-lbx-page .srs-news-kicker {
    color: #38bdf8;
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.feed-lbx-page .srs-news-kicker > span:first-child {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex: 0 0 auto;
}
.feed-lbx-page .srs-news-kicker-line {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, rgba(56,189,248,0.30), transparent);
}
.feed-lbx-page .srs-news-media {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    margin: 0 0 13px;
    overflow: hidden;
    border-radius: 11px;
    background:
        radial-gradient(circle at 78% 18%, rgba(56,189,248,0.28), transparent 34%),
        linear-gradient(145deg, #102536, #0b1724 70%);
    color: rgba(125,211,252,0.72);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06);
}
.feed-lbx-page .srs-news-media-fallback {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-size: 1.3rem;
}
.feed-lbx-page .srs-news-media-fallback i {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border: 1px solid rgba(125,211,252,0.22);
    border-radius: 50%;
    background: rgba(4,17,28,0.32);
}
.feed-lbx-page .srs-news-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.001);
    transition: transform 0.3s ease, filter 0.3s ease;
}
.feed-lbx-page .srs-news-media.has-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(4,17,28,0.02) 45%, rgba(4,17,28,0.52));
    pointer-events: none;
}
.feed-lbx-page .srs-news-media.has-image:hover img {
    transform: scale(1.04);
    filter: saturate(1.08);
}
.feed-lbx-page .srs-news-category {
    position: absolute;
    z-index: 2;
    left: 10px;
    bottom: 9px;
    padding: 5px 8px;
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 7px;
    background: rgba(4,17,28,0.72);
    backdrop-filter: blur(8px);
    color: #e8f7ff;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1;
    text-transform: uppercase;
}
.feed-lbx-page .srs-news-media:focus-visible,
.feed-lbx-page .srs-news-headline:focus-visible,
.feed-lbx-page .srs-news-btn:focus-visible {
    outline: 2px solid #7dd3fc;
    outline-offset: 3px;
}
.feed-lbx-page .srs-news-meta {
    align-items: center;
    gap: 7px;
    margin-bottom: 7px;
    color: var(--lbx-text-muted);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}
.feed-lbx-page .srs-news-meta:not([hidden]) { display: flex; }
.feed-lbx-page .srs-news-meta-dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #38bdf8;
    flex: 0 0 auto;
}
.feed-lbx-page .srs-news-headline {
    display: block;
    color: inherit;
    text-decoration: none;
}
.feed-lbx-page .srs-news-title {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    font-family: 'DM Serif Display', 'Outfit', serif;
    font-size: 1.12rem;
    font-weight: 400;
    line-height: 1.22;
    margin: 0 0 7px;
    color: #fff;
    transition: color 0.2s ease;
}
.feed-lbx-page .srs-news-headline:hover .srs-news-title {
    color: #7dd3fc;
}
.feed-lbx-page .srs-news-desc {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    color: var(--lbx-text-muted);
    font-size: 0.78rem;
    margin-bottom: 0;
    line-height: 1.45;
}
.feed-lbx-page .srs-news-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 12px;
    margin-top: 14px;
    padding: 13px 0 0;
    border-top: 1px solid rgba(125,211,252,0.14);
    color: #dff5ff;
    font-weight: 700;
    font-size: 0.76rem;
    text-decoration: none;
    transition: color 0.2s ease;
}
.feed-lbx-page .srs-news-btn-icon {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: #38bdf8;
    color: #04111c;
    transition: transform 0.2s ease, background 0.2s ease;
}
.feed-lbx-page .srs-news-btn:hover {
    color: #7dd3fc;
}
.feed-lbx-page .srs-news-btn:hover .srs-news-btn-icon {
    transform: translateX(2px);
    background: #7dd3fc;
}

@media (prefers-reduced-motion: reduce) {
    .feed-lbx-page .srs-news-media img,
    .feed-lbx-page .srs-news-title,
    .feed-lbx-page .srs-news-btn,
    .feed-lbx-page .srs-news-btn-icon { transition: none; }
}

/* TRENDING (lista numerada) */
.feed-lbx-page .srs-trending {
    display: flex;
    flex-direction: column;
}
.feed-lbx-page .trending-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 0;
    cursor: pointer;
    transition: background 0.15s;
}
.feed-lbx-page .trending-item:not(:last-child) { border-bottom: 1px solid rgba(255,255,255,0.04); }
.feed-lbx-page .trending-item:hover .ti-name { color: var(--lbx-accent); }
.feed-lbx-page .ti-num {
    font-family: 'DM Serif Display', serif;
    font-style: italic;
    font-size: 1.5rem;
    color: var(--lbx-accent);
    width: 24px;
    text-align: center;
    flex-shrink: 0;
}
.feed-lbx-page .ti-poster {
    width: 36px;
    height: 54px;
    border-radius: 5px;
    flex-shrink: 0;
    background: #1a1d28;
    object-fit: cover;
}
.feed-lbx-page .ti-info { flex: 1; min-width: 0; }
.feed-lbx-page .ti-name {
    color: #fff;
    font-size: 0.88rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.15s;
}
.feed-lbx-page .ti-meta { color: var(--lbx-text-muted); font-size: 0.76rem; margin-top: 2px; }
.feed-lbx-page .ti-meta .star { color: var(--lbx-accent); font-weight: 700; }

/* SHORTCUTS */
.feed-lbx-page .srs-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    color: var(--lbx-text-dim);
    font-size: 0.88rem;
    text-decoration: none;
    transition: color 0.15s;
}
.feed-lbx-page .srs-link:hover { color: var(--lbx-accent); }
.feed-lbx-page .srs-link i {
    color: var(--lbx-accent);
    font-size: 0.85rem;
    width: 18px;
    text-align: center;
}

/* FOOTER */
.feed-lbx-page .srs-footer {
    color: var(--lbx-text-muted);
    font-size: 0.78rem;
    text-align: center;
    padding: 8px 0 20px;
    line-height: 1.6;
}
.feed-lbx-page .srs-footer a {
    color: var(--lbx-text-muted);
    text-decoration: none;
}
.feed-lbx-page .srs-footer a:hover { color: var(--lbx-accent); }

/* === SEARCH AUTOCOMPLETE (mantém o existente, override visual) === */
.feed-lbx-page .search-autocomplete {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: #11141d;
    border: 1px solid var(--lbx-border);
    border-radius: 12px;
    max-height: 360px;
    overflow-y: auto;
    box-shadow: 0 16px 40px rgba(0,0,0,0.5);
    z-index: 50;
    display: none;
}
.feed-lbx-page .search-autocomplete.active { display: block; }

/* === LIGHT THEME === */
.feed-lbx-page.light-theme,
.light-theme.feed-lbx-page,
.light-theme-early.feed-lbx-page {
    --lbx-bg: #f5f5f7;
    --lbx-card: rgba(0,0,0,0.025);
    --lbx-card-hover: rgba(0,0,0,0.04);
    --lbx-border: rgba(0,0,0,0.08);
    --lbx-border-strong: rgba(200,168,75,0.45);
    --lbx-text: #1a1a2e;
    --lbx-text-dim: #2a2a3e;
    --lbx-text-muted: #526070;
}
.light-theme.feed-lbx-page .search-input::placeholder,
.light-theme.feed-lbx-page .search-overlay-input::placeholder,
html.light-theme-early .feed-lbx-page .search-input::placeholder,
html.light-theme-early .feed-lbx-page .search-overlay-input::placeholder { color: #526070 !important; }
.light-theme.feed-lbx-page .search-overlay-close { color: #526070; }
.light-theme.feed-lbx-page .topbar { background: rgba(255,255,255,0.92); border-bottom-color: rgba(0,0,0,0.08); }
.light-theme.feed-lbx-page .nc-link.active { background: rgba(0,0,0,0.04); color: #1a1a2e; }
.light-theme.feed-lbx-page .nc-dropdown,
.light-theme.feed-lbx-page .notif-dropdown { background: #fff; border-color: rgba(0,0,0,0.1); }
.light-theme.feed-lbx-page .tlbx-mtitle,
.light-theme.feed-lbx-page .tlbx-name { color: #1a1a2e; }
.light-theme.feed-lbx-page .feed-main-tab.active,
.light-theme.feed-lbx-page .srs-title { color: #1a1a2e; }
.light-theme.feed-lbx-page .srs-news { --lbx-text-muted: #9aa9ba; }
.light-theme.feed-lbx-page .srs-news-title { color: #fff; }
.light-theme.feed-lbx-page .filters {
    background: rgba(255,255,255,0.82);
    box-shadow: 0 12px 30px rgba(25,30,45,0.08), 0 1px 0 #fff inset;
}
.light-theme.feed-lbx-page .filter-tab-group-primary,
.light-theme.feed-lbx-page .filter-actions { border-color: rgba(0,0,0,0.09); }
.light-theme.feed-lbx-page .filter-tab:hover:not(.active) {
    color: #1a1a2e;
    background: rgba(0,0,0,0.035);
    border-color: rgba(0,0,0,0.045);
}
.light-theme.feed-lbx-page .filter-tab.active {
    color: #765b0d;
    background: rgba(168,134,47,0.12);
}
.light-theme.feed-lbx-page .btn-action:hover { background: rgba(0,0,0,0.035); }

/* === MOBILE === */
@media (max-width: 740px) {
    .feed-lbx-page .topbar { padding: 0 14px; gap: 10px; }
    .feed-lbx-page .navcentral { display: none; }
    .feed-lbx-page .search-wrapper { width: 100%; }
    .feed-lbx-page .social-layout { padding: 14px 10px 60px; }
    .feed-lbx-page .tweet-lbx { padding: 14px; gap: 12px; grid-template-columns: 90px 1fr; }
    .feed-lbx-page .tlbx-poster { width: 90px; height: 135px; }
    .feed-lbx-page .tlbx-mtitle { font-size: 1.2rem; }
    .feed-lbx-page .tlbx-actions { gap: 10px; }
}

/* ───────────────────────────────────────────────────────── */
/* FRANQUIAS (Marvel, DC, Star Wars, ...) — branding por marca */
/* ───────────────────────────────────────────────────────── */
.feed-lbx-page .franquia-shelf {
    margin: 4px 0 20px;
    padding: 14px 16px 14px;
    background:
        radial-gradient(120% 100% at 100% 0%, rgba(200,168,75,0.05) 0%, transparent 60%),
        linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.005));
    border: 1px solid var(--lbx-border);
    border-radius: var(--lbx-radius);
    position: relative;
    overflow: hidden;
}
.feed-lbx-page .franquia-shelf::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(80% 60% at 0% 100%, rgba(200,168,75,0.04), transparent 70%);
    pointer-events: none;
}
.feed-lbx-page .franquia-shelf-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
    position: relative;
}
.feed-lbx-page .franquia-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--lbx-text-dim);
}
.feed-lbx-page .franquia-kicker i {
    color: var(--lbx-accent);
    font-size: 0.78rem;
}
.feed-lbx-page .franquia-hint {
    font-size: 0.7rem;
    color: var(--lbx-text-muted);
    font-style: italic;
    opacity: 0.7;
}
@media (max-width: 560px) {
    .feed-lbx-page .franquia-hint { display: none; }
}

.feed-lbx-page .franquia-tabs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin: 0;
    padding: 0;
    border: none;
    position: relative;
}
.feed-lbx-page .franquia-tab {
    --fq-color: #c8a84b;
    --fq-color-soft: rgba(200,168,75,0.14);
    --fq-glow: rgba(200,168,75,0.35);
    --fq-grad-a: #e6c45a;
    --fq-grad-b: #a8862f;
    --fq-ink: #0a0d15;
    padding: 8px 12px 8px 8px;
    border-radius: 999px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    color: var(--lbx-text-dim);
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    transition: background 0.22s ease, color 0.22s ease, border-color 0.22s ease, transform 0.18s ease, box-shadow 0.22s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    min-width: 0;
    white-space: nowrap;
}
.feed-lbx-page .franquia-tab .fq-name {
    overflow: hidden;
    text-overflow: ellipsis;
}
@media (max-width: 720px) {
    .feed-lbx-page .franquia-tabs { grid-template-columns: repeat(2, 1fr); }
}
.feed-lbx-page .franquia-tab .fq-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--fq-color-soft);
    color: var(--fq-color);
    font-size: 0.78rem;
    transition: background 0.22s ease, color 0.22s ease, transform 0.25s ease, box-shadow 0.22s ease;
    flex-shrink: 0;
}
.feed-lbx-page .franquia-tab:hover {
    color: #fff;
    background: rgba(255,255,255,0.05);
    border-color: var(--fq-color);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px var(--fq-glow);
}
.feed-lbx-page .franquia-tab:hover .fq-icon {
    background: var(--fq-color);
    color: var(--fq-ink);
    transform: rotate(-6deg) scale(1.08);
    box-shadow: 0 0 12px var(--fq-glow);
}
.feed-lbx-page .franquia-tab.active {
    background: linear-gradient(135deg, var(--fq-grad-a) 0%, var(--fq-grad-b) 100%);
    color: var(--fq-ink);
    border-color: transparent;
    box-shadow: 0 6px 18px var(--fq-glow);
    transform: translateY(-1px);
}
.feed-lbx-page .franquia-tab.active .fq-icon {
    background: rgba(255,255,255,0.92);
    color: var(--fq-grad-b);
    transform: rotate(0) scale(1);
    box-shadow: 0 1px 0 rgba(255,255,255,0.5) inset;
}
.feed-lbx-page .franquia-tab:focus-visible {
    outline: 2px solid var(--fq-color);
    outline-offset: 2px;
}

/* Cores por marca */
.feed-lbx-page .franquia-tab[data-brand="marvel"] {
    --fq-color: #ed1d24;
    --fq-color-soft: rgba(237,29,36,0.14);
    --fq-glow: rgba(237,29,36,0.35);
    --fq-grad-a: #ff3b3b;
    --fq-grad-b: #b00a10;
    --fq-ink: #fff;
}
.feed-lbx-page .franquia-tab[data-brand="dc"] {
    --fq-color: #4596ff;
    --fq-color-soft: rgba(69,150,255,0.14);
    --fq-glow: rgba(69,150,255,0.35);
    --fq-grad-a: #5ba8ff;
    --fq-grad-b: #1c5fc7;
    --fq-ink: #fff;
}
.feed-lbx-page .franquia-tab[data-brand="starwars"] {
    --fq-color: #f5c518;
    --fq-color-soft: rgba(245,197,24,0.14);
    --fq-glow: rgba(245,197,24,0.40);
    --fq-grad-a: #ffe261;
    --fq-grad-b: #c79708;
    --fq-ink: #1a1408;
}
.feed-lbx-page .franquia-tab[data-brand="disney"] {
    --fq-color: #5cc3ff;
    --fq-color-soft: rgba(92,195,255,0.14);
    --fq-glow: rgba(92,195,255,0.35);
    --fq-grad-a: #7ed4ff;
    --fq-grad-b: #2c83c8;
    --fq-ink: #07223a;
}
.feed-lbx-page .franquia-tab[data-brand="pixar"] {
    --fq-color: #ffd23f;
    --fq-color-soft: rgba(255,210,63,0.16);
    --fq-glow: rgba(255,210,63,0.38);
    --fq-grad-a: #ffe27a;
    --fq-grad-b: #d99a00;
    --fq-ink: #2a1a00;
}
.feed-lbx-page .franquia-tab[data-brand="dreamworks"] {
    --fq-color: #7eb0ff;
    --fq-color-soft: rgba(126,176,255,0.14);
    --fq-glow: rgba(126,176,255,0.34);
    --fq-grad-a: #a5c8ff;
    --fq-grad-b: #406ec0;
    --fq-ink: #0c1c3a;
}
.feed-lbx-page .franquia-tab[data-brand="ghibli"] {
    --fq-color: #6dc879;
    --fq-color-soft: rgba(109,200,121,0.14);
    --fq-glow: rgba(109,200,121,0.34);
    --fq-grad-a: #8edb98;
    --fq-grad-b: #3e8a4a;
    --fq-ink: #07220c;
}
.feed-lbx-page .franquia-tab[data-brand="hbo"] {
    --fq-color: #e4e7ee;
    --fq-color-soft: rgba(228,231,238,0.10);
    --fq-glow: rgba(228,231,238,0.28);
    --fq-grad-a: #f5f6fa;
    --fq-grad-b: #8c91a0;
    --fq-ink: #0a0d15;
}

/* =========================================================
   RESPONSIVIDADE DO FEED
   Mantido no fim do arquivo para vencer os estilos desktop.
   ========================================================= */

/* Tablet: remove a navegação lateral redundante e preserva a
   coluna de notícias enquanto ainda houver espaço útil. */
@media (max-width: 1240px) {
    .feed-lbx-page .social-layout {
        grid-template-columns: minmax(0, 1fr) 300px;
        max-width: 1040px;
        gap: 24px;
        padding-inline: 20px;
    }

    .feed-lbx-page .social-leftnav {
        display: none;
    }

    .feed-lbx-page .social-rightsidebar {
        display: flex;
    }
}

/* Tablet estreito: o feed passa a ser a única coluna. A navegação
   principal continua disponível no topo. */
@media (max-width: 900px) {
    .feed-lbx-page .social-layout {
        grid-template-columns: minmax(0, 1fr);
        max-width: 760px;
    }

    .feed-lbx-page .social-leftnav,
    .feed-lbx-page .social-rightsidebar {
        display: none;
    }
}

/* Mantém a navegação e os controles separados antes do layout mobile. */
@media (min-width: 741px) and (max-width: 1100px) {
    .feed-lbx-page .topbar {
        grid-template-columns: auto minmax(0, 1fr) auto;
        gap: 16px;
    }

    .feed-lbx-page .header-right { width: auto; }
    .feed-lbx-page .search-wrapper { width: 40px; flex: 0 0 40px; }
    .feed-lbx-page .search-input { display: none; }
    .feed-lbx-page .search-icon-btn {
        left: 50%;
        transform: translate(-50%, -50%);
    }
}

@media (max-width: 740px) {
    .feed-lbx-page .topbar {
        grid-template-columns: auto minmax(0, 1fr);
        height: 56px;
        padding-inline: 10px;
        gap: 8px;
    }

    .feed-lbx-page .header-left {
        flex: 0 0 auto;
    }

    .feed-lbx-page .logo-header img {
        height: 30px;
    }

    .feed-lbx-page .header-right {
        flex: 1;
        min-width: 0;
        max-width: none;
        gap: 4px;
    }

    .feed-lbx-page .search-wrapper {
        flex: 1 1 auto;
        width: auto;
        min-width: 0;
        height: 38px;
    }

    .feed-lbx-page .search-input {
        min-width: 0;
        padding-right: 10px;
        font-size: 16px;
    }

    .feed-lbx-page .btn-header {
        width: 38px;
        height: 38px;
        min-height: 38px;
        flex: 0 0 38px;
    }

    .feed-lbx-page .notif-dropdown {
        position: fixed;
        top: 62px;
        left: 10px;
        right: 10px;
        width: auto;
        max-height: min(480px, calc(100dvh - 82px));
    }

    .feed-lbx-page .social-layout {
        width: 100%;
        max-width: none;
        padding: 12px 10px 24px;
    }

    .feed-lbx-page .social-timeline {
        width: 100%;
    }

    .feed-lbx-page .clubes-shortcut {
        gap: 11px;
        padding: 11px 12px;
        margin-bottom: 12px;
    }

    .feed-lbx-page .clubes-shortcut .fs-icon {
        width: 38px;
        height: 38px;
        border-radius: 10px;
    }

    .feed-lbx-page .clubes-shortcut .fs-title {
        font-size: 0.92rem;
    }

    .feed-lbx-page .clubes-shortcut .fs-sub {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow: hidden;
        font-size: 0.78rem;
    }

    /* Uma faixa rolável evita que "Músicas" caia sozinho na linha de baixo. */
    .feed-lbx-page .filters {
        flex-flow: row nowrap;
        align-items: center;
        gap: 8px;
        padding: 8px;
        margin-bottom: 14px;
    }

    .feed-lbx-page .filter-tabs {
        display: flex;
        flex: 1 1 auto;
        flex-wrap: nowrap;
        gap: 6px;
        min-width: 0;
        overflow-x: auto;
        overscroll-behavior-inline: contain;
        scroll-snap-type: inline proximity;
        padding: 2px 2px 4px;
    }

    .feed-lbx-page .filter-tab {
        flex: 0 0 auto;
        min-width: 82px;
        min-height: 38px;
        scroll-snap-align: start;
        padding: 8px 11px;
    }

    .feed-lbx-page .filter-actions {
        gap: 4px;
        margin-left: 0;
        padding-left: 8px;
    }

    .feed-lbx-page .btn-action {
        width: 38px;
        height: 38px;
        min-height: 38px;
    }

    .feed-lbx-page .lbx-composer {
        gap: 11px;
        padding: 14px;
        margin-bottom: 14px;
    }

    .feed-lbx-page .lbx-composer .cmp-av {
        width: 38px;
        height: 38px;
    }

    .feed-lbx-page .lbx-composer .cmp-prompt {
        padding: 5px 0;
        font-size: 0.92rem;
    }

    .feed-lbx-page .lbx-composer .cmp-row {
        margin-top: 5px;
    }

    .feed-lbx-page .lbx-composer .cmp-btn {
        min-height: 40px;
        padding: 8px 16px;
    }

    .feed-lbx-page .tweet-lbx {
        grid-template-columns: 88px minmax(0, 1fr);
        gap: 12px;
        padding: 14px;
    }

    .feed-lbx-page .tlbx-poster {
        width: 88px;
        height: 132px;
    }

    .feed-lbx-page .tlbx-actions {
        justify-content: space-between;
        gap: 4px;
    }
}

@media (max-width: 480px) {
    .feed-lbx-page .hero-section {
        height: clamp(270px, 42svh, 310px);
    }

    .feed-lbx-page .hero-content {
        left: 14px;
        right: 14px;
        bottom: 50px;
    }

    .feed-lbx-page .hero-content h1#heroTitle {
        font-size: 1.35rem;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow: hidden;
    }

    .feed-lbx-page .hero-desc {
        font-size: 0.78rem;
        -webkit-line-clamp: 1;
    }

    .feed-lbx-page .hero-taste-chip:nth-child(n + 3) { display: none; }

    .feed-lbx-page .social-layout {
        padding-inline: 8px;
    }

    .feed-lbx-page .clubes-shortcut .fs-arrow {
        display: none;
    }

    .feed-lbx-page .filters {
        padding: 7px;
    }

    .feed-lbx-page .filter-actions {
        padding-left: 6px;
    }

    .feed-lbx-page .tweet-lbx {
        grid-template-columns: 76px minmax(0, 1fr);
        gap: 10px;
        padding: 12px;
    }

    .feed-lbx-page .tlbx-poster {
        width: 76px;
        height: 114px;
        border-radius: 8px;
    }

    .feed-lbx-page .tlbx-mtitle {
        font-size: 1.08rem;
    }

    .feed-lbx-page .tlbx-text {
        font-size: 0.88rem;
    }

    .feed-lbx-page .tw-action {
        min-width: 38px;
        min-height: 38px;
        justify-content: center;
        padding-inline: 7px;
    }
}


/* A mesma paleta vale antes e depois do tema compartilhado aplicar a classe no body. */
:is(html.light-theme-early body, body.light-theme).feed-lbx-page {
    --lbx-bg: #f4f1ea;
    --lbx-card: #fff;
    --lbx-card-hover: #ece9e2;
    --lbx-border: rgba(30,41,59,.14);
    --lbx-border-strong: rgba(128,97,23,.42);
    --lbx-text: #1e293b;
    --lbx-text-dim: #475467;
    --lbx-text-muted: #526070;
    --lbx-accent: #806117;
    --lbx-accent-hover: #684d0b;
}
:is(html.light-theme-early, body.light-theme) .hero-section { --lbx-accent: #c8a84b; --lbx-accent-hover: #e8c96a; --lbx-text: #fff; --lbx-text-muted: #d0d5df; }
:is(html.light-theme-early, body.light-theme) :is(.tlbx-mtitle, .tlbx-name, .ti-name, .srs-title, .feed-empty-msg h3, .notif-dropdown-header h3, .filter-panel-header h3) { color: var(--lbx-text); }
:is(html.light-theme-early, body.light-theme) :is(.search-autocomplete, .notif-dropdown) { background: #fff; border-color: var(--lbx-border); }
:is(html.light-theme-early, body.light-theme) :is(.friends-search-box, .friends-avatar, .friends-follow-btn.is-following, .feed-main-tab .fmt-icon, .feed-main-tab .fmt-sub, .filter-chip, .section-refresh-icon, .franquia-tab) { background: #ece9e2; border-color: var(--lbx-border); }
:is(html.light-theme-early, body.light-theme) :is(.sln-item:hover, .franquia-tab:hover, .tlbx-more:hover, .feed-main-tab.active) { color: var(--lbx-text); }
:is(html.light-theme-early, body.light-theme) .filters { background: rgba(255,255,255,.94); border-color: var(--lbx-border); box-shadow: 0 8px 24px rgba(30,41,59,.08); }
:is(html.light-theme-early, body.light-theme) :is(.filter-tab-group-primary, .filter-actions) { border-color: var(--lbx-border); }
:is(html.light-theme-early, body.light-theme) .filter-tab:hover:not(.active) { color: var(--lbx-text); background: #ece9e2; border-color: var(--lbx-border); }
:is(html.light-theme-early, body.light-theme) .filter-tab.active { color: #806117; background: rgba(200,168,75,.15); }
:is(html.light-theme-early, body.light-theme) :is(.btn-action:hover, .sln-item:hover, .tlbx-more:hover) { background: #ece9e2; }
:is(html.light-theme-early, body.light-theme) :is(.sln-post-btn, .btn-apply-filters, .lbx-composer .cmp-btn, .srs-btn) { color: #17130a; background: #c8a84b; }
:is(html.light-theme-early, body.light-theme) .srs-quiz { background: linear-gradient(135deg, #fff7dd, #f3e6bf); }
:is(html.light-theme-early, body.light-theme) .srs-quiz-title { color: #1e293b; }
:is(html.light-theme-early, body.light-theme) .srs-quiz-desc { color: #526070; }
:is(html.light-theme-early, body.light-theme) .srs-news { --lbx-text-muted: #c8d6e5; --lbx-text: #fff; --lbx-accent: #e8c96a; }
:is(html.light-theme-early, body.light-theme) .srs-news-title { color: #fff; }
:is(html.light-theme-early, body.light-theme) .franquia-shelf { background: #fff; }
:is(html.light-theme-early body, body.light-theme).feed-lbx-page .hero-section { --accent-ink: #e8c96a; --accent-ink-hover: #fff3b2; }
:is(html.light-theme-early body, body.light-theme).feed-lbx-page .hero-section::before { background: linear-gradient(to top, rgba(7,9,15,.9), rgba(7,9,15,.35) 65%, rgba(7,9,15,.16)), linear-gradient(to right, rgba(7,9,15,.84), transparent 78%); }
:is(html.light-theme-early, body.light-theme) .tlbx-rating { --lbx-accent: #e8c96a; }
:is(html.light-theme-early body, body.light-theme).feed-lbx-page .nc-drop-item:hover {
    color: var(--lbx-text);
    background: var(--lbx-card-hover);
}
