/* ============================================ */
/* PROFILE PAGE — NEON GLASS REDESIGN           */
/* Inspired by: Bento UI + Glassmorphism + Y2K  */
/* ============================================ */
.profile-page-column {
    background: var(--bg-dark);
    border-right: none;
}

/* === STICKY HEADER (Transparent Blur) === */
.profile-header-fixed {
    z-index: 1000;
    position: sticky;
    top: 0;
    background: rgba(10, 10, 10, 0.65);
    backdrop-filter: blur(20px) saturate(1.5);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    transition: background 0.3s;
}

/* === BANNER — Cinematic Widescreen === */
.profile-banner {
    width: 100%;
    height: 260px;
    background: #080808;
    overflow: hidden;
    position: relative;
    border-bottom: none;
}

.profile-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.8);
    transition: transform 0.5s ease;
}

.profile-banner:hover img {
    transform: scale(1.02);
}

/* Gradient overlay para destacar as informações que sobrepõem */
.profile-banner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 50%, rgba(10, 10, 10, 0.8) 100%);
    pointer-events: none;
}

@media (max-width: 768px) {
    .profile-banner {
        height: 180px;
    }
}

/* Obsoleto agora tratado no HTML */

.profile-avatar-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
}

.profile-avatar-large {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    border: 4px solid var(--bg-dark);
    overflow: hidden;
    background: var(--bg-panel);
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.profile-avatar-large:hover {
    transform: scale(1.03);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}

.profile-avatar-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* === EDIT BUTTON — Glass Pill === */
.edit-profile-btn-floating {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    z-index: 10;
}

.edit-profile-btn-floating:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.reply-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

/* === YOUTUBE STYLE POSTS GRID === */
.youtube-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
    padding: 20px;
    background: transparent;
}

.yt-video-card-vibe {
    display: flex;
    flex-direction: column;
    gap: 10px;
    cursor: pointer;
    background: transparent;
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.yt-video-card-vibe:hover {
    transform: scale(1.02);
}

.yt-video-thumb {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    background: var(--bg-panel);
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.yt-video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: filter 0.3s;
}

.yt-video-card-vibe:hover .yt-video-thumb img {
    filter: brightness(1.1);
}

.yt-text-fallback {
    width: 100%;
    height: 100%;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    background: linear-gradient(135deg, #111, #080808);
}

.yt-video-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 0 4px;
}

.yt-video-title {
    font-weight: 600;
    font-size: 1rem;
    color: #f1f1f1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}

.yt-video-meta {
    font-size: 0.85rem;
    color: var(--text-secondary);
    display: flex;
    gap: 6px;
}

/* === FOLLOWER STACK (Overlap Effect com Glow) === */
.profile-follower-stack {
    display: inline-flex;
    align-items: center;
    flex-direction: row-reverse;
}

.profile-follower-stack img {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    /* Removemos a borda sólida e adicionamos o brilho */
    border: none;
    box-shadow: 0 0 8px rgba(255, 0, 0, 0.6);

    object-fit: cover;
    margin-left: -8px;
    transition: transform 0.2s, box-shadow 0.2s;
}

/* Garante que o primeiro da direita não tenha margem sobrando */
.profile-follower-stack img:first-child {
    margin-left: 0;
}

.profile-follower-stack img:hover {
    transform: scale(1.2);
    z-index: 10;
    /* Intensifica o brilho no hover para um efeito mais dinâmico */
    box-shadow: 0 0 12px rgba(255, 0, 0, 0.9);
}


/* === FEATURED CASE SECTION (YouTube Style) === */
.featured-case-section {
    padding: 24px 40px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, b255, 255, 0.05);
}

.featured-card {
    display: flex;
    gap: 24px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 20px;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.featured-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

.featured-thumb {
    width: 320px;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
    background: #000;
}

.featured-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--accent-red);
    color: #fff;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: 700;
    letter-spacing: 1px;
    z-index: 2;
}

.featured-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
}

.featured-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.featured-excerpt {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.featured-meta {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    font-family: var(--font-mono);
}

@media (max-width: 900px) {
    .featured-card {
        flex-direction: column;
        padding: 15px;
    }

    .featured-thumb {
        width: 100%;
    }

    .featured-info {
        gap: 8px;
    }

    .featured-case-section {
        padding: 20px;
    }
}

.profile-text-info h1 {
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: -1px;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.profile-handle-tag {
    color: var(--text-secondary);
    font-family: var(--font-ui);
    font-size: 0.95rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    max-width: 250px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* === ACTION BUTTONS — Pill Design === */
.profile-actions-row {
    display: flex;
    gap: 10px;
    margin-top: 0;
    flex-shrink: 0;
}

.btn-follow-action,
.btn-friend-action {
    padding: 10px 22px;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    font-family: var(--font-ui);
    border: 1px solid transparent;
    letter-spacing: 0.3px;
}

.btn-follow-action {
    background: linear-gradient(135deg, #da373c 0%, #ff6b6b 100%);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(218, 55, 60, 0.3);
}

.btn-follow-action:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 25px rgba(218, 55, 60, 0.4);
}

.btn-follow-action.active {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: none;
}

.btn-friend-action {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(8px);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.12);
}

.btn-friend-action:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.btn-friend-action.connected {
    border-color: rgba(34, 197, 94, 0.4);
    color: #22c55e;
    background: rgba(34, 197, 94, 0.08);
}

.btn-friend-action:disabled {
    opacity: 0.4;
    cursor: wait;
}

/* === BIO — Glassmorphic Card === */
.profile-secondary-info {
    padding: 24px 40px;
}

.profile-bio {
    margin: 0 0 20px;
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(255, b255, 255, 0.85);
    font-family: var(--font-ui);
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(8px);
    padding: 20px 22px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    position: relative;
    overflow: hidden;
    max-width: 800px;
}

.profile-bio::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, var(--accent-red), rgba(218, 55, 60, 0.1));
    border-radius: 3px;
}

/* === META DATA — Chip Style === */
.profile-meta-data {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-bottom: 22px;
}

.profile-meta-data span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(255, 255, 255, 0.04);
    padding: 6px 14px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: 0.2s;
}

.profile-meta-data span:hover {
    background: rgba(255, 255, 255, 0.08);
}

.profile-meta-data span i {
    color: var(--accent-red);
    font-size: 0.75rem;
}

/* === TAB NAVIGATION — YouTube Style === */
.profile-tabs {
    display: flex;
    padding: 0 24px;
    gap: 32px;
    background: transparent;
    overflow-x: auto;
    scrollbar-width: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 10px;
}

.profile-tabs::-webkit-scrollbar {
    display: none;
}

.tab-item {
    padding: 16px 0;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    white-space: nowrap;
    border-radius: 0;
    font-family: var(--font-ui);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tab-item:hover {
    color: #fff;
}

.tab-item.active {
    color: #fff;
    background: transparent;
    box-shadow: none;
}

.tab-item.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--text-primary);
    border-radius: 3px 3px 0 0;
    display: block;
}

/* === MOBILE RESPONSIVE — App-Native Feel === */
@media (max-width: 768px) {

    /* Banner: shorter, with stronger gradient */
    .profile-banner {
        height: 160px;
    }

    .profile-banner::after {
        background: linear-gradient(180deg, transparent 15%, rgba(10, 10, 10, 1) 100%);
    }

    /* Info block: centered layout like Instagram / Channel */
    .profile-info-block {
        padding: 0 15px;
        margin-top: -45px;
        padding-bottom: 20px;
        text-align: center;
    }

    /* Avatar row: center the avatar, stack vertically */
    .profile-avatar-row {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        width: 100%;
    }

    .profile-avatar-large {
        width: 100px;
        height: 100px;
        border-radius: 20px;
        border-width: 3px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
        margin-bottom: 5px;
    }

    /* Edit button: full width, below avatar info */
    .edit-profile-btn-floating {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
        font-size: 0.85rem;
        border-radius: 12px;
        margin-top: 15px;
        order: 10;
        /* Enviar para o final da área de info */
    }

    /* Name & Handle: centered */
    .profile-text-info {
        margin-top: 5px;
        width: 100%;
    }

    .profile-text-info h1 {
        font-size: 1.4rem;
        letter-spacing: -0.5px;
        margin-bottom: 4px;
    }

    .profile-handle-tag {
        font-size: 0.85rem;
        justify-content: center;
        opacity: 0.7;
    }

    /* Action buttons: full width row */
    .profile-actions-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        width: 100%;
        gap: 10px;
        margin-top: 20px;
    }

    .btn-follow-action,
    .btn-friend-action {
        width: 100%;
        justify-content: center;
        padding: 12px 5px;
        font-size: 0.85rem;
        border-radius: 50px;
    }

    /* Featured Case (Relatório de Impacto): Stacking */
    .featured-case-section {
        padding: 15px;
        margin-top: 10px;
    }

    .featured-card {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
        border-radius: 12px;
    }

    .featured-thumb {
        width: 100%;
        aspect-ratio: 16 / 9;
        border-radius: 8px;
    }

    .featured-title {
        font-size: 1.1rem;
    }

    .featured-excerpt {
        font-size: 0.85rem;
        -webkit-line-clamp: 4;
    }

    /* Tabs: scrollable pills, compact */
    .profile-tabs {
        padding: 0 10px;
        gap: 20px;
        margin-top: 10px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .tab-item {
        padding: 14px 0;
        font-size: 0.8rem;
    }

    /* Bio & Info Secondary */
    .profile-secondary-info {
        padding: 15px 15px 0;
    }

    .profile-bio {
        font-size: 0.88rem;
        padding: 14px 16px;
        margin-bottom: 15px;
        border-radius: 14px;
        text-align: left;
        line-height: 1.6;
    }

    /* YouTube Posts Grid: 1 Column */
    .youtube-posts-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 15px;
    }

    .yt-video-card-vibe {
        gap: 8px;
    }

    .yt-video-title {
        font-size: 0.95rem;
    }
}

/* === ULTRA NARROW (iPhone SE, Galaxy Fold) === */
@media (max-width: 380px) {
    .profile-info-block {
        padding: 0 12px;
        margin-top: -50px;
    }

    .profile-avatar-large {
        width: 80px;
        height: 80px;
        border-radius: 20px;
    }

    .profile-text-info h1 {
        font-size: 1.3rem;
    }

    .profile-handle-tag {
        font-size: 0.75rem;
    }

    .btn-follow-action,
    .btn-friend-action {
        font-size: 0.75rem;
        padding: 10px 8px;
    }

    .profile-bio {
        font-size: 0.82rem;
        padding: 12px 14px;
    }

    .profile-stat-card b {
        font-size: 1.1rem;
    }

    .profile-stat-card span {
        font-size: 0.55rem;
    }

    .tab-item {
        padding: 8px 12px;
        font-size: 0.72rem;
    }

    .edit-profile-btn-floating {
        font-size: 0.78rem;
        padding: 10px 16px;
    }

    .profile-meta-data span {
        padding: 4px 9px;
        font-size: 0.7rem;
    }
}

/* === EVIDENCE GRID — Instagram Masonry === */
.evidence-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3px;
    padding: 3px;
}

.grid-item {
    aspect-ratio: 1 / 1;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    background: #111;
    border-radius: 4px;
}

.grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.4s;
    filter: grayscale(20%) brightness(0.9);
}

.grid-item:hover img {
    transform: scale(1.1);
    filter: grayscale(0%) brightness(1);
}

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(218, 55, 60, 0.5), rgba(0, 0, 0, 0.4));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.3s;
    color: #fff;
    font-size: 1.2rem;
    backdrop-filter: blur(3px);
}

.grid-item:hover .grid-overlay {
    opacity: 1;
}

/* === FEATURED CASE — Premium Highlight Card === */
.featured-case-section {
    padding: 24px;
    margin: 18px;
    border-radius: 20px;
    position: relative;
    background: #111;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.featured-case-section::after {
    content: 'DESTAQUE';
    position: absolute;
    top: 16px;
    right: 16px;
    font-family: var(--font-ui);
    font-size: 0.65rem;
    letter-spacing: 2px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-secondary);
    padding: 4px 12px;
    border-radius: 50px;
    font-weight: 700;
    pointer-events: none;
}

.featured-tag {
    background: var(--bg-hover);
    color: var(--text-primary);
    font-size: 0.7rem;
    padding: 6px 14px;
    border-radius: 50px;
    font-family: var(--font-ui);
    display: inline-block;
    margin-bottom: 12px;
    font-weight: 600;
}

/* === FRIENDS GRID — Cards === */
.friends-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 12px;
    padding: 20px;
}

.friend-card-large {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 18px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    transition: all 0.3s;
    backdrop-filter: blur(6px);
}

.friend-card-large:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.friend-card-large img {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.friend-card-name {
    font-weight: 700;
    color: #fff;
    font-size: 1rem;
}

.friend-card-title {
    font-size: 0.78rem;
    color: var(--text-secondary);
    margin-top: 2px;
}

/* === MODAL BOX PROFILE (Edit) === */
.profile-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 25px;
}

.profile-header img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 3px solid var(--border-color);
    margin-bottom: 15px;
}

.profile-stats {
    display: flex;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 20px 0;
    margin-bottom: 25px;
}

.stat {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-right: 1px solid var(--border-color);
}

.stat:last-child {
    border: none;
}

.stat b {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    font-family: var(--font-ui);
}

.stat span {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-top: 4px;
    letter-spacing: 0.5px;
}

.profile-specialties h4 {
    font-size: 0.8rem;
    letter-spacing: 1px;
    color: var(--text-secondary);
    margin-bottom: 10px;
    text-transform: uppercase;
}

.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.profile-tag {
    background: var(--bg-panel);
    border: 1px solid var(--border-color);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--text-primary);
}

/* === EDIT PROFILE FORM INPUTS === */
.profile-edit-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
    padding: 12px 18px;
    border-radius: 14px;
    font-family: var(--font-ui);
    font-size: 0.9rem;
    margin-top: 10px;
    outline: none;
    transition: all 0.3s;
    text-align: left;
}

.profile-edit-input:focus {
    border-color: var(--accent-red);
    box-shadow: 0 0 20px rgba(218, 55, 60, 0.15);
    background: rgba(255, 255, 255, 0.06);
}

.profile-avatar-wrapper {
    position: relative;
    width: 100px;
    height: 100px;
    margin-bottom: 15px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--border-color);
    cursor: pointer;
}

.profile-avatar-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.edit-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.3s;
    color: #fff;
    font-size: 1.5rem;
}

.profile-avatar-wrapper:hover .edit-overlay {
    opacity: 1;
}

/* === AMBIENT ANIMATION === */
@keyframes profilePulse {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }
}

/* === YOUTUBE / INVESTIGATION GRID === */
.youtube-grid-feed {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    padding: 20px 40px;
}

.yt-grid-card {
    background: rgba(10, 10, 10, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
}

.yt-grid-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.yt-grid-thumbnail {
    width: 100%;
    height: 160px;
    object-fit: cover;
    background: #000;
}

/* Thumbnail placeholder for Investigation mode text-only posts */
.yt-grid-thumbnail.text-only {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: repeating-linear-gradient(0deg,
            #050505,
            #050505 2px,
            #111 2px,
            #111 4px);
    color: var(--accent-red);
    font-family: var(--font-mono);
    text-align: center;
    font-size: 0.8rem;
    position: relative;
    border-bottom: 2px solid var(--accent-red);
}

.yt-grid-thumbnail.text-only::before {
    content: 'TOP SECRET';
    position: absolute;
    top: 10px;
    left: 10px;
    color: rgba(255, 0, 0, 0.3);
    font-size: 0.7rem;
    letter-spacing: 2px;
}

.yt-grid-info {
    padding: 12px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.yt-grid-title {
    font-weight: 600;
    font-size: 1rem;
    color: #fff;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.yt-grid-meta {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-family: var(--font-ui);
}

/* === FOLLOWERS STACK (Reaction/Premium Style) === */
.followers-stack-group {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.03);
    padding: 4px 12px 4px 8px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.2s;
}

.followers-stack-group:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.1);
}

.profile-follower-stack {
    display: inline-flex;
    align-items: center;
}

.profile-follower-stack img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid #0a0a0a;
    margin-left: -10px;
    object-fit: cover;
    z-index: 1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.profile-follower-stack img:first-child {
    margin-left: 0;
}