/* ============================================================
           FEED SOCIAL — FULL REDESIGN
           Premium glassmorphic Twitter/X style
           ============================================================ */

        /* Reset body for feed */
        body.feed-page { overflow-x: hidden; }

        /* === LAYOUT === */
        .feed-shell {
            width: 100%;
            max-width: 1440px;
            margin: 70px auto 0;
            padding: 0;
            box-sizing: border-box;
            display: grid;
            grid-template-columns: 300px minmax(0, 1fr) 320px;
            min-height: calc(100vh - 70px);
        }

        /* Vertical dividers baked into columns */
        .feed-col {
            border-right: 1px solid rgba(255,255,255,0.06);
        }
        .feed-col:last-child { border-right: none; }

        /* Sticky inner wrappers */
        .feed-col--left .feed-col-inner,
        .feed-col--right .feed-col-inner {
            position: sticky;
            top: 70px;
            height: calc(100vh - 70px);
            overflow-y: auto;
            scrollbar-width: thin;
            scrollbar-color: rgba(255,255,255,0.08) transparent;
        }

        /* === LEFT SIDEBAR === */
        .feed-col--left {
            padding: 0;
        }
        .feed-col--left .feed-col-inner {
            display: flex;
            flex-direction: column;
            padding: 1.5rem 1.25rem;
            gap: 0;
        }

        /* Profile widget */
        .feed-profile {
            padding-bottom: 1.25rem;
            border-bottom: 1px solid rgba(255,255,255,0.06);
            margin-bottom: 0.75rem;
        }
        .feed-profile-head {
            display: flex;
            align-items: center;
            gap: 14px;
            margin-bottom: 1rem;
        }
        .feed-profile-avatar {
            width: 56px;
            height: 56px;
            border-radius: 50%;
            object-fit: cover;
            border: 2.5px solid #00f5d4;
            box-shadow: 0 0 20px rgba(0,245,212,0.25);
            flex-shrink: 0;
        }
        .feed-profile-name {
            font-family: var(--font-heading);
            font-weight: 850;
            font-size: 1.05rem;
            color: #fff;
            line-height: 1.2;
        }
        .feed-profile-handle {
            font-size: 0.8rem;
            color: #00f5d4;
            font-weight: 700;
        }

        /* Bio editor */
        .feed-bio-area {
            width: 100%;
            background: rgba(255,255,255,0.03);
            border: 1px solid rgba(255,255,255,0.08);
            border-radius: 12px;
            padding: 10px 12px;
            color: #e0e0ee;
            font-family: 'Inter', sans-serif;
            font-size: 0.82rem;
            resize: vertical;
            min-height: 60px;
            outline: none;
            box-sizing: border-box;
            transition: border-color 0.3s, box-shadow 0.3s;
        }
        .feed-bio-area:focus {
            border-color: rgba(0,245,212,0.5);
            box-shadow: 0 0 0 3px rgba(0,245,212,0.08);
        }
        .feed-bio-save {
            display: inline-flex;
            align-items: center;
            gap: 4px;
            margin-top: 8px;
            padding: 6px 14px;
            border-radius: 8px;
            border: none;
            background: linear-gradient(135deg, #00f5d4 0%, #00d4aa 100%);
            color: #080814;
            font-weight: 800;
            font-size: 0.75rem;
            cursor: pointer;
            transition: transform 0.2s, box-shadow 0.2s;
            float: right;
        }
        .feed-bio-save:hover {
            transform: translateY(-1px);
            box-shadow: 0 4px 16px rgba(0,245,212,0.3);
        }

        /* Logged out card */
        .feed-logged-out {
            text-align: center;
            padding: 1rem 0;
        }
        .feed-logged-out-icon {
            font-size: 2.5rem;
            margin-bottom: 0.5rem;
            filter: drop-shadow(0 0 12px rgba(0,245,212,0.4));
        }
        .feed-logged-out h4 {
            font-family: var(--font-heading);
            font-weight: 850;
            font-size: 1.1rem;
            color: #fff;
            margin: 0 0 6px 0;
        }
        .feed-logged-out p {
            font-size: 0.8rem;
            color: var(--text-muted);
            margin: 0 0 1rem 0;
            line-height: 1.5;
        }
        .feed-login-btn {
            display: block;
            width: 100%;
            padding: 11px;
            border: none;
            border-radius: 50px;
            background: linear-gradient(135deg, #b5179e, #7209b7);
            color: #fff;
            font-weight: 850;
            font-size: 0.88rem;
            cursor: pointer;
            transition: transform 0.2s, box-shadow 0.2s;
            box-shadow: 0 4px 20px rgba(181,23,158,0.35);
        }
        .feed-login-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 30px rgba(181,23,158,0.5);
        }

        /* Navigation tabs */
        .feed-nav {
            display: flex;
            flex-direction: column;
            gap: 2px;
            flex: 1;
        }
        .feed-nav-btn {
            display: flex;
            align-items: center;
            gap: 14px;
            padding: 13px 18px;
            border-radius: 50px;
            background: transparent;
            border: none;
            color: #9e9eb8;
            font-family: 'Inter', sans-serif;
            font-weight: 700;
            font-size: 0.92rem;
            cursor: pointer;
            transition: all 0.2s ease;
            text-align: left;
        }
        .feed-nav-btn .nav-icon {
            font-size: 1.15rem;
            width: 24px;
            text-align: center;
        }
        .feed-nav-btn:hover {
            background: rgba(255,255,255,0.04);
            color: #fff;
        }
        .feed-nav-btn.active {
            background: rgba(0,245,212,0.08);
            color: #00f5d4;
            font-weight: 800;
        }

        /* === CENTER COLUMN === */
        .feed-col--center {
            display: flex;
            flex-direction: column;
            min-width: 0;
        }

        /* Tab header bar */
        .feed-tab-header {
            display: flex;
            position: sticky;
            top: 70px;
            z-index: 50;
            background: rgba(8,8,20,0.85);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border-bottom: 1px solid rgba(255,255,255,0.06);
        }
        .feed-tab-header-btn {
            flex: 1;
            padding: 16px 0;
            border: none;
            background: transparent;
            color: #7e7e9a;
            font-family: 'Inter', sans-serif;
            font-weight: 700;
            font-size: 0.88rem;
            cursor: pointer;
            position: relative;
            transition: color 0.2s;
        }
        .feed-tab-header-btn:hover { color: #c8c8e0; }
        .feed-tab-header-btn.active { color: #fff; font-weight: 800; }
        .feed-tab-header-btn.active::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 48px;
            height: 3px;
            border-radius: 99px;
            background: linear-gradient(90deg, #00f5d4, #b5179e);
        }

        /* === FEED V2 SEARCH & FILTER BAR === */
        .feed-search-container {
            padding: 10px 1.25rem;
            background: rgba(8,8,20,0.6);
            border-bottom: 1px solid rgba(255,255,255,0.06);
            display: flex;
            flex-direction: column;
            gap: 10px;
        }
        .feed-search-box {
            display: flex;
            align-items: center;
            background: rgba(255,255,255,0.04);
            border: 1px solid rgba(255,255,255,0.1);
            border-radius: 50px;
            padding: 8px 16px;
            gap: 10px;
            transition: border-color 0.25s, box-shadow 0.25s;
        }
        .feed-search-box:focus-within {
            border-color: rgba(0,245,212,0.5);
            box-shadow: 0 0 15px rgba(0,245,212,0.12);
        }
        .feed-search-input {
            background: transparent;
            border: none;
            outline: none;
            color: #fff;
            font-family: 'Inter', sans-serif;
            font-size: 0.88rem;
            width: 100%;
        }
        .feed-search-input::placeholder { color: #6e6e88; }
        .feed-chips-scroll {
            display: flex;
            gap: 8px;
            overflow-x: auto;
            scrollbar-width: none;
            padding-bottom: 2px;
        }
        .feed-chips-scroll::-webkit-scrollbar { display: none; }
        .feed-chip {
            padding: 5px 14px;
            border-radius: 50px;
            background: rgba(255,255,255,0.04);
            border: 1px solid rgba(255,255,255,0.08);
            color: #9e9eb8;
            font-size: 0.78rem;
            font-weight: 700;
            cursor: pointer;
            white-space: nowrap;
            transition: all 0.2s;
        }
        .feed-chip:hover {
            background: rgba(255,255,255,0.08);
            color: #fff;
        }
        .feed-chip.active {
            background: rgba(0,245,212,0.12);
            border-color: rgba(0,245,212,0.3);
            color: #00f5d4;
        }

        /* === EMOJI PICKER POPOVER === */
        .feed-emoji-popover {
            position: absolute;
            bottom: 45px;
            left: 0;
            z-index: 100;
            background: #0e0e1e;
            border: 1px solid rgba(255,255,255,0.12);
            border-radius: 16px;
            padding: 10px;
            display: grid;
            grid-template-columns: repeat(7, 1fr);
            gap: 6px;
            box-shadow: 0 15px 35px rgba(0,0,0,0.8);
            width: 250px;
        }
        .emoji-item {
            font-size: 1.25rem;
            padding: 6px;
            border-radius: 8px;
            cursor: pointer;
            text-align: center;
            transition: background 0.15s, transform 0.15s;
        }
        .emoji-item:hover {
            background: rgba(0,245,212,0.12);
            transform: scale(1.2);
        }

        /* === MEDIA GRID V2 === */
        .media-grid-1 {
            border-radius: 16px;
            overflow: hidden;
            max-height: 480px;
        }
        .media-grid-2 {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4px;
            border-radius: 16px;
            overflow: hidden;
            height: 260px;
        }
        .media-grid-3 {
            display: grid;
            grid-template-columns: 1fr 1fr;
            grid-template-rows: 1fr 1fr;
            gap: 4px;
            border-radius: 16px;
            overflow: hidden;
            height: 300px;
        }
        .media-grid-3 .media-item-0 {
            grid-row: span 2;
            height: 100%;
        }
        .media-grid-4 {
            display: grid;
            grid-template-columns: 1fr 1fr;
            grid-template-rows: 1fr 1fr;
            gap: 4px;
            border-radius: 16px;
            overflow: hidden;
            height: 320px;
        }
        .feed-post-media .feed-media-item {
            width: 100%;
            height: 100%;
            overflow: hidden;
            position: relative;
            background: #080814;
        }
        .feed-post-media .feed-media-item img,
        .feed-post-media .feed-media-item video {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }

        /* === SKELETON LOADERS V2 === */
        .skeleton-post {
            padding: 1.25rem;
            border-bottom: 1px solid rgba(255,255,255,0.06);
            display: flex;
            gap: 14px;
        }
        .skeleton-avatar {
            width: 46px;
            height: 46px;
            border-radius: 50%;
            background: linear-gradient(90deg, rgba(255,255,255,0.04) 25%, rgba(255,255,255,0.08) 50%, rgba(255,255,255,0.04) 75%);
            background-size: 200% 100%;
            animation: skeleton-shimmer 1.5s infinite;
        }
        .skeleton-body {
            flex: 1;
            display: flex;
            flex-direction: column;
            gap: 10px;
        }
        .skeleton-line {
            height: 14px;
            border-radius: 6px;
            background: linear-gradient(90deg, rgba(255,255,255,0.04) 25%, rgba(255,255,255,0.08) 50%, rgba(255,255,255,0.04) 75%);
            background-size: 200% 100%;
            animation: skeleton-shimmer 1.5s infinite;
        }
        .skeleton-line.short { width: 40%; }
        .skeleton-line.medium { width: 70%; }
        .skeleton-line.long { width: 95%; }
        .skeleton-box {
            height: 180px;
            border-radius: 14px;
            background: linear-gradient(90deg, rgba(255,255,255,0.04) 25%, rgba(255,255,255,0.08) 50%, rgba(255,255,255,0.04) 75%);
            background-size: 200% 100%;
            animation: skeleton-shimmer 1.5s infinite;
        }

        @keyframes skeleton-shimmer {
            0% { background-position: 200% 0; }
            100% { background-position: -200% 0; }
        }

        /* === TOAST NOTIFICATIONS ENGINE V2 === */
        #feed-toast-container {
            position: fixed;
            bottom: 24px;
            right: 24px;
            z-index: 9999999;
            display: flex;
            flex-direction: column;
            gap: 10px;
            pointer-events: none;
        }
        .feed-toast {
            background: rgba(14,14,30,0.95);
            border: 1px solid rgba(0,245,212,0.3);
            border-radius: 50px;
            padding: 10px 20px;
            color: #fff;
            font-family: 'Inter', sans-serif;
            font-size: 0.85rem;
            font-weight: 700;
            display: flex;
            align-items: center;
            gap: 10px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.6);
            backdrop-filter: blur(12px);
            animation: toastIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
            pointer-events: auto;
        }
        .feed-toast.fade-out {
            animation: toastOut 0.3s forwards;
        }
        @keyframes toastIn {
            from { opacity: 0; transform: translateY(20px) scale(0.9); }
            to { opacity: 1; transform: translateY(0) scale(1); }
        }
        @keyframes toastOut {
            from { opacity: 1; transform: translateY(0) scale(1); }
            to { opacity: 0; transform: translateY(-10px) scale(0.9); }
        }

        /* Composer */
        .feed-composer {
            padding: 1rem 1.25rem;
            border-bottom: 1px solid rgba(255,255,255,0.06);
            display: flex;
            gap: 14px;
        }
        .feed-composer-avatar {
            width: 44px;
            height: 44px;
            border-radius: 50%;
            object-fit: cover;
            flex-shrink: 0;
            border: 2px solid rgba(255,255,255,0.1);
        }
        .feed-composer-body { flex: 1; min-width: 0; }
        .feed-composer-textarea {
            width: 100%;
            background: transparent;
            border: none;
            outline: none;
            color: #fff;
            font-family: 'Inter', sans-serif;
            font-size: 1.05rem;
            line-height: 1.6;
            resize: none;
            min-height: 72px;
            box-sizing: border-box;
            padding: 8px 0;
        }
        .feed-composer-textarea::placeholder {
            color: #6e6e88;
        }
        .feed-composer-pending {
            display: flex;
            gap: 8px;
            flex-wrap: wrap;
            margin-top: 4px;
        }
        .feed-composer-toolbar {
            display: flex;
            align-items: center;
            justify-content: space-between;
            border-top: 1px solid rgba(255,255,255,0.06);
            padding-top: 10px;
            margin-top: 4px;
        }
        .feed-composer-actions {
            display: flex;
            align-items: center;
            gap: 4px;
        }
        .feed-tool-btn {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            border: none;
            background: transparent;
            color: #00f5d4;
            font-size: 1.05rem;
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            transition: background 0.2s;
        }
        .feed-tool-btn:hover {
            background: rgba(0,245,212,0.1);
        }
        .feed-char-counter {
            font-size: 0.78rem;
            font-weight: 700;
            color: #6e6e88;
            margin-left: 4px;
        }
        .feed-char-counter.warning { color: #ffb703; }
        .feed-char-counter.danger  { color: #ff4a75; }

        .feed-publish-btn {
            padding: 9px 22px;
            border: none;
            border-radius: 50px;
            background: linear-gradient(135deg, #b5179e, #7209b7);
            color: #fff;
            font-weight: 850;
            font-size: 0.85rem;
            cursor: pointer;
            transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
            box-shadow: 0 4px 18px rgba(181,23,158,0.35);
        }
        .feed-publish-btn:hover {
            transform: translateY(-1px);
            box-shadow: 0 6px 24px rgba(181,23,158,0.5);
        }

        /* Timeline */
        .feed-timeline {
            display: flex;
            flex-direction: column;
        }

        /* Post card */
        .feed-post {
            display: flex;
            gap: 14px;
            padding: 1rem 1.25rem;
            border-bottom: 1px solid rgba(255,255,255,0.06);
            transition: background 0.15s;
            content-visibility: auto;
            contain-intrinsic-size: 140px;
            will-change: transform, opacity;
            transform: translateZ(0);
        }
        .feed-post:hover {
            background: rgba(255,255,255,0.015);
        }
        .feed-post-avatar {
            width: 46px;
            height: 46px;
            border-radius: 50%;
            object-fit: cover;
            flex-shrink: 0;
            border: 2px solid rgba(255,255,255,0.08);
        }
        .feed-post-body { flex: 1; min-width: 0; }

        .feed-post-head {
            display: flex;
            align-items: center;
            gap: 6px;
            flex-wrap: wrap;
            margin-bottom: 2px;
        }
        .feed-post-name {
            font-weight: 800;
            color: #fff;
            font-size: 0.92rem;
        }
        .feed-post-badge {
            font-size: 0.68rem;
            background: rgba(0,245,212,0.1);
            color: #00f5d4;
            border: 1px solid rgba(0,245,212,0.2);
            padding: 1px 7px;
            border-radius: 50px;
            font-weight: 700;
        }
        .feed-post-handle {
            color: #6e6e88;
            font-size: 0.82rem;
        }
        .feed-post-dot {
            color: #4e4e66;
            font-size: 0.7rem;
        }
        .feed-post-time {
            color: #6e6e88;
            font-size: 0.82rem;
        }

        .feed-post-text {
            font-size: 0.94rem;
            line-height: 1.65;
            color: #e4e4f0;
            white-space: pre-wrap;
            word-break: break-word;
            margin-top: 4px;
        }

        .hashtag {
            color: #00f5d4;
            font-weight: 700;
            cursor: pointer;
        }
        .hashtag:hover { text-decoration: underline; }
        .mention {
            color: #c77dff;
            font-weight: 700;
        }

        /* Media */
        .feed-post-media {
            margin-top: 12px;
            border-radius: 16px;
            overflow: hidden;
            border: 1px solid rgba(255,255,255,0.08);
            display: flex;
            flex-direction: column;
            gap: 2px;
        }
        .feed-media-item {
            position: relative;
            cursor: pointer;
            background: #080814;
            max-height: 520px;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
            transition: opacity 0.2s;
        }
        .feed-media-item:hover { opacity: 0.92; }
        .feed-media-item img {
            width: 100%;
            height: auto;
            max-height: 520px;
            object-fit: contain;
            display: block;
        }
        .feed-media-item video {
            width: 100%;
            max-height: 520px;
            object-fit: contain;
            display: block;
        }

        /* Action bar */
        .feed-post-actions {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-top: 10px;
            max-width: 480px;
        }
        .feed-act {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            background: transparent;
            border: none;
            color: #6e6e88;
            font-size: 0.82rem;
            font-weight: 600;
            cursor: pointer;
            padding: 6px 10px;
            border-radius: 50px;
            transition: all 0.2s;
        }
        .feed-act .act-icon { font-size: 1rem; transition: transform 0.2s; }
        .feed-act:hover { background: rgba(255,255,255,0.04); color: #b0b0cc; }
        .feed-act:hover .act-icon { transform: scale(1.15); }

        .feed-act.act-comment:hover { color: #00f5d4; background: rgba(0,245,212,0.06); }
        .feed-act.act-like:hover    { color: #ff007f; background: rgba(255,0,127,0.06); }
        .feed-act.act-like.liked    { color: #ff007f; }
        .feed-act.act-dislike:hover { color: #ff4a75; background: rgba(255,74,117,0.06); }
        .feed-act.act-dislike.disliked { color: #ff4a75; }
        .feed-act.act-bookmark:hover { color: #ffb703; background: rgba(255,183,3,0.06); }
        .feed-act.act-bookmark.bookmarked { color: #ffb703; }

        /* Comments */
        .feed-comments-section {
            border-top: 1px solid rgba(255,255,255,0.04);
            margin-top: 10px;
            padding-top: 10px;
        }
        .feed-comment {
            display: flex;
            gap: 10px;
            padding: 8px 0;
        }
        .feed-comment-avatar {
            width: 30px;
            height: 30px;
            border-radius: 50%;
            object-fit: cover;
            flex-shrink: 0;
        }
        .feed-comment-body { flex: 1; min-width: 0; }
        .feed-comment-author {
            font-weight: 800;
            font-size: 0.82rem;
            color: #fff;
        }
        .feed-comment-time {
            font-size: 0.68rem;
            color: #6e6e88;
            font-weight: 400;
            margin-left: 6px;
        }
        .feed-comment-text {
            font-size: 0.84rem;
            color: #b8b8d0;
            line-height: 1.5;
            margin-top: 2px;
        }
        .feed-comment-actions {
            display: flex;
            gap: 6px;
            margin-top: 6px;
            align-items: center;
        }
        .feed-comment-actions .feed-act {
            padding: 2px 8px;
            font-size: 0.74rem;
        }
        .feed-comment-actions .feed-act .act-icon { font-size: 0.85rem; }
        .feed-comment-compose {
            display: flex;
            gap: 10px;
            margin-top: 8px;
            align-items: center;
        }
        .feed-comment-input {
            flex: 1;
            padding: 9px 14px;
            border-radius: 50px;
            border: 1px solid rgba(255,255,255,0.1);
            background: rgba(255,255,255,0.03);
            color: #fff;
            font-family: 'Inter', sans-serif;
            font-size: 0.82rem;
            outline: none;
            transition: border-color 0.3s;
        }
        .feed-comment-input:focus {
            border-color: rgba(0,245,212,0.4);
        }
        .feed-comment-input::placeholder { color: #5e5e78; }
        .feed-comment-send {
            padding: 8px 18px;
            border: none;
            border-radius: 50px;
            background: linear-gradient(135deg, #00f5d4, #00d4aa);
            color: #080814;
            font-weight: 800;
            font-size: 0.78rem;
            cursor: pointer;
            transition: transform 0.2s, box-shadow 0.2s;
            white-space: nowrap;
        }
        .feed-comment-send:hover {
            transform: translateY(-1px);
            box-shadow: 0 4px 14px rgba(0,245,212,0.3);
        }

        /* Empty state */
        .feed-empty {
            text-align: center;
            padding: 4rem 2rem;
        }
        .feed-empty-icon {
            font-size: 3rem;
            margin-bottom: 1rem;
            filter: drop-shadow(0 0 20px rgba(0,245,212,0.3));
        }
        .feed-empty h3 {
            font-family: var(--font-heading);
            font-weight: 850;
            font-size: 1.15rem;
            color: #fff;
            margin: 0 0 6px 0;
        }
        .feed-empty p {
            font-size: 0.85rem;
            color: #6e6e88;
            margin: 0;
        }

        /* === RIGHT SIDEBAR === */
        .feed-col--right {
            padding: 0;
        }
        .feed-col--right .feed-col-inner {
            padding: 1.5rem 1.25rem;
            display: flex;
            flex-direction: column;
            gap: 1.25rem;
        }

        .feed-widget {
            background: rgba(255,255,255,0.025);
            border: 1px solid rgba(255,255,255,0.06);
            border-radius: 16px;
            padding: 1.25rem;
        }
        .feed-widget-title {
            font-family: var(--font-heading);
            font-weight: 850;
            font-size: 1.1rem;
            color: #fff;
            margin: 0 0 1rem 0;
        }
        .feed-trend-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 10px 12px;
            border-radius: 12px;
            cursor: pointer;
            transition: background 0.15s, transform 0.15s;
        }
        .feed-trend-item:hover {
            background: rgba(255,255,255,0.04);
            transform: translateX(2px);
        }
        .feed-trend-tag {
            font-weight: 850;
            color: #00f5d4;
            font-size: 0.92rem;
        }
        .feed-trend-count {
            font-size: 0.7rem;
            color: #6e6e88;
            margin-top: 1px;
        }
        .feed-trend-category {
            font-size: 0.72rem;
            background: rgba(255,255,255,0.05);
            padding: 3px 10px;
            border-radius: 50px;
            color: #7e7e9a;
            font-weight: 700;
            white-space: nowrap;
        }

        /* Post Detail Modal (Grand Plan V2) */
        .feed-post { cursor: pointer; }
        .feed-detail-modal {
            position: fixed;
            inset: 0;
            background: rgba(4,4,14,0.9);
            backdrop-filter: blur(24px);
            -webkit-backdrop-filter: blur(24px);
            z-index: 99999;
            display: none;
            align-items: center;
            justify-content: center;
            padding: 1.5rem;
            box-sizing: border-box;
        }
        .feed-detail-card {
            background: rgba(12, 12, 28, 0.97);
            border: 1px solid rgba(0, 245, 212, 0.2);
            border-radius: 28px;
            width: 100%;
            max-width: 780px;
            max-height: 90vh;
            overflow-y: auto;
            padding: 2.25rem;
            box-shadow: 0 30px 80px rgba(0, 0, 0, 0.95), 0 0 40px rgba(0, 245, 212, 0.08);
            position: relative;
            scrollbar-width: thin;
            scrollbar-color: rgba(0,245,212,0.3) transparent;
            animation: modalPopIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }
        @keyframes modalPopIn {
            from { opacity: 0; transform: scale(0.94) translateY(15px); }
            to { opacity: 1; transform: scale(1) translateY(0); }
        }
        .feed-detail-close {
            position: absolute;
            top: 1.25rem;
            right: 1.25rem;
            background: rgba(255,255,255,0.06);
            border: 1px solid rgba(255,255,255,0.1);
            color: #fff;
            font-size: 1.4rem;
            width: 42px;
            height: 42px;
            border-radius: 50%;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.25s ease;
            z-index: 10;
        }
        .feed-detail-close:hover {
            background: rgba(255,74,117,0.2);
            border-color: rgba(255,74,117,0.4);
            color: #ff4a75;
            transform: scale(1.1) rotate(90deg);
        }


        /* User Profile Popup Modal V2 */
        .user-profile-modal {
            position: fixed;
            inset: 0;
            background: rgba(4,4,14,0.9);
            backdrop-filter: blur(24px);
            -webkit-backdrop-filter: blur(24px);
            z-index: 999999;
            display: none;
            align-items: center;
            justify-content: center;
            padding: 1.5rem;
            box-sizing: border-box;
        }
        .user-profile-card {
            background: rgba(12, 12, 28, 0.97);
            border: 1px solid rgba(0, 245, 212, 0.25);
            border-radius: 28px;
            width: 100%;
            max-width: 700px;
            max-height: 88vh;
            overflow-y: auto;
            position: relative;
            box-shadow: 0 30px 80px rgba(0, 0, 0, 0.95), 0 0 40px rgba(0, 245, 212, 0.08);
            scrollbar-width: thin;
            scrollbar-color: rgba(0,245,212,0.3) transparent;
            animation: modalPopIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }
        .user-banner-header {
            width: 100%;
            height: 170px;
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            position: relative;
            background: linear-gradient(135deg, #16162e 0%, #00f5d4 100%);
        }
        .user-profile-avatar-large {
            width: 88px;
            height: 88px;
            border-radius: 50%;
            object-fit: cover;
            border: 4px solid #0d0d1e;
            box-shadow: 0 0 20px rgba(0,245,212,0.4);
            position: absolute;
            bottom: -35px;
            left: 1.75rem;
            background: #0d0d1e;
        }
        .user-profile-details {
            padding: 44px 1.75rem 1.5rem 1.75rem;
        }

        /* Lightbox */
        .feed-lightbox {
            position: fixed;
            inset: 0;
            background: rgba(4,4,14,0.92);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            z-index: 9999999;
            display: none;
            align-items: center;
            justify-content: center;
        }
        .feed-lightbox-inner {
            position: relative;
            max-width: 90vw;
            max-height: 90vh;
            display: flex;
            flex-direction: column;
            align-items: center;
        }
        .feed-lightbox-close {
            position: absolute;
            top: -45px;
            right: 0;
            font-size: 2.2rem;
            color: #fff;
            cursor: pointer;
            background: none;
            border: none;
            text-shadow: 0 0 10px rgba(0,0,0,0.8);
        }
        .feed-lightbox-img {
            max-width: 88vw;
            max-height: 80vh;
            border-radius: 16px;
            box-shadow: 0 20px 60px rgba(0,0,0,0.9);
            object-fit: contain;
        }
        .feed-lightbox-dl {
            margin-top: 18px;
            padding: 10px 24px;
            border: none;
            border-radius: 50px;
            background: linear-gradient(135deg, #00f5d4, #00d4aa);
            color: #080814;
            font-weight: 800;
            font-size: 0.85rem;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 6px;
            transition: transform 0.2s;
        }
        .feed-lightbox-dl:hover { transform: translateY(-2px); }

        /* GIF Picker */
        .feed-gif-modal {
            position: fixed;
            inset: 0;
            background: rgba(4,4,14,0.85);
            backdrop-filter: blur(12px);
            z-index: 999999;
            display: none;
            align-items: center;
            justify-content: center;
        }
        .feed-gif-card {
            background: rgba(18,18,36,0.96);
            border: 1px solid rgba(255,255,255,0.1);
            border-radius: 20px;
            padding: 1.5rem;
            max-width: 500px;
            width: 90%;
        }

        /* Dedicated Options Dropdown V2 */
        .post-options-dropdown {
            position: absolute;
            right: 0;
            top: 36px;
            width: 210px;
            background: rgba(18, 18, 36, 0.96);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border: 1px solid rgba(255, 255, 255, 0.12);
            border-radius: 16px;
            padding: 8px;
            box-shadow: 0 14px 40px rgba(0, 0, 0, 0.7), 0 0 20px rgba(0, 245, 212, 0.12);
            z-index: 999999;
            display: none;
            flex-direction: column;
            gap: 4px;
        }
        .post-options-item {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 10px 14px;
            border-radius: 10px;
            font-size: 0.85rem;
            font-weight: 700;
            color: #e0e0ee;
            cursor: pointer;
            transition: all 0.2s ease;
            user-select: none;
        }
        .post-options-item:hover {
            background: rgba(255, 255, 255, 0.08);
            color: #fff;
            transform: translateX(2px);
        }
        .post-options-item.danger {
            color: #ff4a75;
        }
        .post-options-item.danger:hover {
            background: rgba(255, 74, 117, 0.15);
            color: #ff4a75;
        }

        /* ============================================================
           MOBILE & TABLET RESPONSIVE OVERHAUL (< 900px & < 600px)
           ============================================================ */

        /* Mobile Bottom Navigation Bar (< 900px) */
        .mobile-bottom-nav {
            display: none;
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            height: 64px;
            background: rgba(10, 10, 24, 0.90);
            backdrop-filter: blur(20px) saturate(180%);
            -webkit-backdrop-filter: blur(20px) saturate(180%);
            border-top: 1px solid rgba(255, 255, 255, 0.08);
            z-index: 99990;
            align-items: center;
            justify-content: space-around;
            padding: 0 4px calc(env(safe-area-inset-bottom, 0px) + 2px) 4px;
            box-shadow: 0 -6px 30px rgba(0,0,0,0.8);
        }
        .mobile-bottom-nav-btn {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 2px;
            background: transparent;
            border: none;
            color: #8e8ea6;
            font-size: 0.68rem;
            font-weight: 700;
            cursor: pointer;
            padding: 6px 4px;
            flex: 1;
            min-height: 48px;
            border-radius: 12px;
            transition: all 0.2s ease;
            position: relative;
            touch-action: manipulation;
            -webkit-tap-highlight-color: transparent;
        }
        .mobile-bottom-nav-btn .mob-nav-icon {
            font-size: 1.25rem;
            line-height: 1;
            transition: transform 0.2s ease;
        }
        .mobile-bottom-nav-btn:active {
            transform: scale(0.92);
        }
        .mobile-bottom-nav-btn.active {
            color: #00f5d4;
            font-weight: 800;
        }
        .mobile-bottom-nav-btn.active .mob-nav-icon {
            transform: scale(1.15);
            filter: drop-shadow(0 0 6px rgba(0, 245, 212, 0.6));
        }
        .mobile-bottom-nav-btn .mob-badge {
            position: absolute;
            top: 4px;
            right: 50%;
            transform: translateX(14px);
            background: #ff4a75;
            color: #fff;
            font-size: 0.65rem;
            font-weight: 800;
            padding: 2px 6px;
            border-radius: 50px;
            box-shadow: 0 2px 8px rgba(255,74,117,0.5);
        }

        /* FAB Circle for Compose Tab */
        .mobile-bottom-nav-btn.mob-btn-compose {
            overflow: visible;
        }
        .mob-compose-fab {
            width: 48px;
            height: 48px;
            border-radius: 50%;
            background: linear-gradient(135deg, #00f5d4 0%, #b5179e 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 4px 20px rgba(0, 245, 212, 0.4), 0 0 15px rgba(181, 23, 158, 0.3);
            color: #080814;
            font-size: 1.25rem;
            font-weight: 800;
            transform: translateY(-8px);
            transition: transform 0.2s ease, box-shadow 0.2s ease;
        }
        .mobile-bottom-nav-btn.mob-btn-compose:active .mob-compose-fab {
            transform: translateY(-4px) scale(0.92);
        }

        /* Bottom-Sheet Drag Handle */
        .bottom-sheet-handle,
        .mobile-drawer-handle {
            width: 44px;
            height: 5px;
            background: rgba(255, 255, 255, 0.3);
            border-radius: 99px;
            margin: 0 auto 1.25rem auto;
            display: block;
            flex-shrink: 0;
            cursor: grab;
        }

        /* Mobile Navigation & Profile Drawer Modal */
        .mobile-drawer-modal {
            position: fixed;
            inset: 0;
            background: rgba(4, 4, 14, 0.85);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            z-index: 99999;
            display: none;
            align-items: flex-end;
            justify-content: center;
        }
        .mobile-drawer-content {
            background: rgba(14, 14, 30, 0.98);
            border: 1px solid rgba(0, 245, 212, 0.25);
            border-radius: 24px 24px 0 0;
            width: 100%;
            max-height: 88vh;
            overflow-y: auto;
            padding: 1.25rem 1.25rem 2.5rem 1.25rem;
            box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.9);
            animation: slideUpBottomSheet 0.3s cubic-bezier(0.16, 1, 0.3, 1);
            box-sizing: border-box;
        }
        @keyframes slideUpBottomSheet {
            from { transform: translateY(100%); opacity: 0; }
            to { transform: translateY(0); opacity: 1; }
        }

        /* Responsive Breakpoints */
        @media (max-width: 1200px) {
            .feed-shell { grid-template-columns: 72px minmax(0, 1fr) 280px; }
            .feed-col--left .feed-col-inner { padding: 1rem 0.5rem; align-items: center; }
            .feed-profile { display: none; }
            .feed-col--left .feed-nav-btn span:not(.nav-icon) { display: none; }
            .feed-col--left .feed-nav-btn { justify-content: center; padding: 13px; border-radius: 50%; width: 48px; height: 48px; }
        }

        /* Mobile Navigation Drawer Buttons High Contrast & Text Labels */
        #modal-mobile-drawer .feed-nav-btn {
            width: 100% !important;
            height: auto !important;
            min-height: 50px !important;
            padding: 12px 18px !important;
            border-radius: 14px !important;
            justify-content: space-between !important;
            background: rgba(255, 255, 255, 0.08) !important;
            border: 1px solid rgba(255, 255, 255, 0.16) !important;
            margin-bottom: 6px !important;
        }

        #modal-mobile-drawer .feed-nav-btn span:not(.nav-icon) {
            display: inline-block !important;
            color: #ffffff !important;
            font-size: 1.05rem !important;
            font-weight: 700 !important;
            margin-left: 8px !important;
        }

        #modal-mobile-drawer .feed-nav-btn::after {
            content: '›' !important;
            color: #00f5d4 !important;
            font-size: 1.4rem !important;
            font-weight: 800 !important;
            margin-left: auto !important;
        }

        @media (max-width: 900px) {
            /* 1-Column Mobile Layout */
            .feed-shell {
                display: block !important;
                grid-template-columns: 100% !important;
                margin-top: 60px !important;
                padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px)) !important;
                min-height: calc(100vh - 60px - 80px) !important;
                width: 100% !important;
                max-width: 100% !important;
                box-sizing: border-box !important;
            }
            .feed-col--left, .feed-col--right { display: none !important; }
            .feed-col--center {
                width: 100% !important;
                max-width: 100% !important;
                border-right: none !important;
            }
            .mobile-bottom-nav { display: flex !important; }

            .feed-tab-header {
                top: 60px;
                padding: 0 0.5rem;
            }
            .feed-tab-header-btn {
                padding: 14px 8px;
                font-size: 0.84rem;
            }

            .feed-search-container {
                padding: 8px 1rem;
            }

            .feed-composer {
                padding: 1rem;
            }

            .feed-post {
                padding: 1rem;
                border-radius: 16px;
            }

            #feed-toast-container {
                bottom: calc(76px + env(safe-area-inset-bottom, 0px)) !important;
                right: 16px;
                left: 16px;
            }
            .feed-toast {
                justify-content: center;
            }

            /* Transform ALL Popups into Mobile Bottom-Sheet Dialogs */
            .feed-detail-modal,
            .user-profile-modal,
            .feed-gif-modal,
            .feed-lightbox {
                position: fixed !important;
                inset: 0 !important;
                background: rgba(4, 4, 14, 0.85) !important;
                backdrop-filter: blur(20px) !important;
                -webkit-backdrop-filter: blur(20px) !important;
                z-index: 999999 !important;
                align-items: flex-end !important;
                justify-content: center !important;
                padding: 0 !important;
            }

            .feed-detail-card,
            .user-profile-card,
            .feed-gif-card,
            .feed-lightbox-inner {
                width: 100% !important;
                max-width: 100% !important;
                border-radius: 24px 24px 0 0 !important;
                border: 1px solid rgba(0, 245, 212, 0.25) !important;
                border-bottom: none !important;
                background: rgba(14, 14, 30, 0.98) !important;
                backdrop-filter: blur(20px) !important;
                -webkit-backdrop-filter: blur(20px) !important;
                max-height: 88vh !important;
                overflow-y: auto !important;
                padding: 1.25rem 1.25rem 2.5rem 1.25rem !important;
                box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.9) !important;
                animation: slideUpBottomSheet 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
                box-sizing: border-box !important;
                margin: 0 !important;
            }

            /* Touch Action Buttons */
            .feed-post-actions {
                max-width: 100% !important;
                margin-top: 10px !important;
                justify-content: space-between !important;
                gap: 4px !important;
            }
            .feed-act {
                min-height: 42px !important;
                min-width: 44px !important;
                padding: 8px 12px !important;
                font-size: 0.82rem !important;
                border-radius: 50px !important;
                touch-action: manipulation !important;
                -webkit-tap-highlight-color: transparent !important;
            }
            .feed-act:active {
                transform: scale(0.92) !important;
                background: rgba(255, 255, 255, 0.08) !important;
            }
            .feed-act .act-icon {
                font-size: 1.1rem !important;
            }

            /* Media Grids Mobile (< 900px) */
            .media-grid-2 { height: 220px !important; }
            .media-grid-3 { height: 240px !important; grid-template-rows: repeat(2, 115px) !important; }
            .media-grid-4 { height: 240px !important; grid-template-rows: repeat(2, 115px) !important; }
        }

        @media (max-width: 600px) {
            .feed-shell {
                margin-top: 60px;
                padding-bottom: 80px;
            }

            /* Tab bar & chips on small screens */
            .feed-tab-header-btn {
                font-size: 0.8rem;
                padding: 12px 4px;
            }
            .feed-search-container {
                padding: 8px 0.75rem;
                gap: 8px;
            }
            .feed-search-box {
                padding: 6px 14px;
            }
            .feed-search-input {
                font-size: 16px; /* Prevents auto-zoom on iOS */
            }
            .feed-chip {
                padding: 4px 11px;
                font-size: 0.75rem;
            }

            /* Composer adjustments */
            .feed-composer {
                padding: 0.85rem 0.75rem;
                gap: 10px;
            }
            .feed-composer-avatar {
                width: 38px;
                height: 38px;
            }
            .feed-composer-textarea {
                font-size: 16px; /* Prevents auto-zoom on iOS */
                min-height: 76px;
                padding: 4px 0;
            }
            .feed-composer-toolbar {
                flex-wrap: wrap;
                gap: 8px;
                padding-top: 8px;
            }
            .feed-composer-actions {
                gap: 4px;
            }
            .feed-tool-btn {
                width: 42px;
                height: 42px;
                font-size: 1.15rem;
            }
            .feed-publish-btn {
                padding: 10px 20px;
                font-size: 0.84rem;
                min-height: 42px;
            }

            /* Emoji Popover on Mobile */
            .feed-emoji-popover {
                width: calc(100vw - 32px);
                max-width: 320px;
                bottom: 50px;
                left: auto;
                right: 0;
                grid-template-columns: repeat(7, 1fr);
                padding: 8px;
            }
            .emoji-item {
                font-size: 1.3rem;
                padding: 8px 4px;
                min-height: 40px;
                display: flex;
                align-items: center;
                justify-content: center;
            }

            .mc-reactions-bar {
                display: flex !important;
                align-items: center !important;
                gap: 6px !important;
                margin: 8px 0 10px 0 !important;
                padding: 4px 10px !important;
                background: rgba(255, 255, 255, 0.03) !important;
                border: 1px solid rgba(255, 255, 255, 0.08) !important;
                border-radius: 50px !important;
                width: fit-content !important;
                max-width: 100% !important;
                flex-wrap: wrap !important;
            }

            .mc-react-btn {
                background: transparent !important;
                border: none !important;
                color: #fff !important;
                cursor: pointer !important;
                font-size: 0.95rem !important;
                display: inline-flex !important;
                align-items: center !important;
                gap: 4px !important;
                padding: 6px 10px !important;
                min-height: 38px !important;
                border-radius: 12px !important;
                transition: all 0.2s !important;
                touch-action: manipulation !important;
            }

            /* Post Cards on Mobile */
            .feed-post {
                padding: 0.85rem 0.75rem;
                gap: 10px;
            }
            .feed-post-avatar {
                width: 40px;
                height: 40px;
            }
            .feed-post-name {
                font-size: 0.88rem;
            }
            .feed-post-handle, .feed-post-time {
                font-size: 0.78rem;
            }
            .feed-post-text {
                font-size: 0.9rem;
                line-height: 1.55;
            }

            /* Comments Section Mobile */
            .feed-comments-section {
                margin-top: 8px;
                padding-top: 8px;
            }
            .feed-comment {
                gap: 8px;
                padding: 6px 0;
            }
            .feed-comment-avatar {
                width: 28px;
                height: 28px;
            }
            .feed-comment-input {
                font-size: 16px; /* Prevents auto-zoom on iOS */
                padding: 8px 14px;
            }
            .feed-comment-send {
                padding: 8px 14px;
                font-size: 0.75rem;
                min-height: 36px;
            }

            .feed-detail-close {
                top: 0.85rem;
                right: 0.85rem;
                width: 38px;
                height: 38px;
                font-size: 1.2rem;
            }
            .user-banner-header {
                height: 130px;
                margin: -1.25rem -1rem 0 -1rem;
                width: calc(100% + 2rem);
                border-radius: 24px 24px 0 0;
            }
            .user-profile-avatar-large {
                width: 72px;
                height: 72px;
                bottom: -28px;
                left: 1rem;
            }
            .user-profile-details {
                padding: 36px 0.25rem 1rem 0.25rem;
            }
            .feed-lightbox-img {
                max-width: 96vw;
                max-height: 75vh;
            }
        }

        /* === TWITTER / X STYLE PROFILE CARD OVERRIDES === */
        .twitter-profile-card {
            background: rgba(14, 14, 30, 0.95) !important;
            border: 1px solid rgba(255, 255, 255, 0.12) !important;
            border-radius: 20px !important;
            overflow: hidden !important;
            margin-bottom: 1.5rem !important;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
        }

        .twitter-banner-box {
            position: relative !important;
            height: 200px !important;
            width: 100% !important;
            overflow: hidden !important;
            background-color: #1a1a38 !important;
        }

        .twitter-banner-img {
            width: 100% !important;
            height: 200px !important;
            object-fit: cover !important;
            object-position: center !important;
            display: block !important;
        }

        .banner-edit-btn {
            position: absolute !important;
            top: 12px !important;
            right: 12px !important;
            background: rgba(0, 0, 0, 0.75) !important;
            backdrop-filter: blur(8px) !important;
            border: 1px solid rgba(255, 255, 255, 0.3) !important;
            color: #ffffff !important;
            padding: 6px 14px !important;
            border-radius: 20px !important;
            font-size: 0.8rem !important;
            font-weight: 700 !important;
            cursor: pointer !important;
            z-index: 10 !important;
        }

        .banner-edit-btn:hover {
            background: rgba(0, 0, 0, 0.9) !important;
            border-color: #00f5d4 !important;
            color: #00f5d4 !important;
        }

        .twitter-profile-header {
            display: flex !important;
            justify-content: space-between !important;
            align-items: flex-end !important;
            padding: 0 1.5rem !important;
            margin-top: -55px !important;
            position: relative !important;
            z-index: 5 !important;
        }

        .twitter-avatar-wrapper {
            position: relative !important;
            width: 110px !important;
            height: 110px !important;
            border-radius: 50% !important;
            border: 4px solid #0e0e1e !important;
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.7) !important;
            background: #14142b !important;
            overflow: hidden !important;
            flex-shrink: 0 !important;
        }

        .twitter-profile-avatar {
            width: 100% !important;
            height: 100% !important;
            border-radius: 50% !important;
            object-fit: cover !important;
            display: block !important;
        }

        .avatar-edit-btn {
            position: absolute !important;
            inset: 0 !important;
            border-radius: 50% !important;
            background: rgba(0, 0, 0, 0.5) !important;
            color: #ffffff !important;
            border: none !important;
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
            font-size: 1.4rem !important;
            opacity: 0 !important;
            transition: opacity 0.2s ease !important;
            cursor: pointer !important;
        }

        .twitter-avatar-wrapper:hover .avatar-edit-btn {
            opacity: 1 !important;
        }

        .twitter-profile-actions {
            margin-bottom: 8px !important;
        }

        .btn-edit-profile {
            background: rgba(255, 255, 255, 0.08) !important;
            border: 1px solid rgba(255, 255, 255, 0.25) !important;
            color: #ffffff !important;
            padding: 8px 18px !important;
            border-radius: 20px !important;
            font-weight: 800 !important;
            font-size: 0.9rem !important;
            cursor: pointer !important;
            transition: all 0.2s ease !important;
            display: inline-flex !important;
            align-items: center !important;
            gap: 6px !important;
        }

        .btn-edit-profile:hover {
            background: #ffffff !important;
            color: #0e0e1e !important;
            border-color: #ffffff !important;
        }

        .twitter-user-info {
            padding: 1.2rem 1.5rem 1.5rem !important;
        }

        .twitter-display-name {
            font-size: 1.4rem !important;
            font-weight: 900 !important;
            color: #ffffff !important;
            margin-bottom: 2px !important;
            display: flex !important;
            align-items: center !important;
            gap: 8px !important;
        }

        .twitter-handle {
            color: #8e8ea8 !important;
            font-size: 0.9rem !important;
            font-weight: 600 !important;
            margin-bottom: 0.75rem !important;
        }

        .twitter-bio {
            color: #e0e0ee !important;
            font-size: 0.95rem !important;
            line-height: 1.5 !important;
            margin-bottom: 1rem !important;
            white-space: pre-line !important;
        }

        .twitter-meta-details {
            display: flex !important;
            flex-wrap: wrap !important;
            gap: 1rem !important;
            color: #8e8ea8 !important;
            font-size: 0.85rem !important;
            margin-bottom: 1rem !important;
        }

        .twitter-social-links {
            display: flex !important;
            flex-wrap: wrap !important;
            gap: 0.6rem !important;
            margin-bottom: 1.25rem !important;
        }

        .social-badge {
            display: inline-flex !important;
            align-items: center !important;
            gap: 6px !important;
            padding: 5px 12px !important;
            border-radius: 20px !important;
            font-size: 0.82rem !important;
            font-weight: 700 !important;
            text-decoration: none !important;
            transition: transform 0.2s ease, box-shadow 0.2s ease !important;
        }

        .social-badge:hover {
            transform: translateY(-2px) !important;
        }

        .social-badge-twitter { background: rgba(29, 155, 240, 0.15) !important; color: #1d9bf0 !important; border: 1px solid rgba(29, 155, 240, 0.3) !important; }
        .social-badge-youtube { background: rgba(255, 0, 0, 0.15) !important; color: #ff4d4d !important; border: 1px solid rgba(255, 0, 0, 0.3) !important; }
        .social-badge-twitch { background: rgba(145, 70, 255, 0.15) !important; color: #a970ff !important; border: 1px solid rgba(145, 70, 255, 0.3) !important; }
        .social-badge-tiktok { background: rgba(254, 44, 85, 0.15) !important; color: #ff4069 !important; border: 1px solid rgba(254, 44, 85, 0.3) !important; }
        .social-badge-website { background: rgba(0, 245, 212, 0.15) !important; color: #00f5d4 !important; border: 1px solid rgba(0, 245, 212, 0.3) !important; }

        .twitter-stats-bar {
            display: flex !important;
            gap: 1.5rem !important;
            font-size: 0.9rem !important;
            color: #8e8ea8 !important;
            padding-top: 0.75rem !important;
            border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
        }

        .twitter-stats-bar .stat-item {
            cursor: pointer !important;
            transition: color 0.2s ease !important;
        }

        .twitter-stats-bar .stat-item:hover {
            color: #00f5d4 !important;
        }

        .twitter-stats-bar .stat-item strong {
            color: #ffffff !important;
            font-weight: 800 !important;
        }

        .twitter-profile-tabs {
            display: flex !important;
            border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
            background: rgba(0, 0, 0, 0.2) !important;
        }

        .profile-subtab {
            flex: 1 !important;
            padding: 12px !important;
            background: transparent !important;
            border: none !important;
            border-bottom: 2px solid transparent !important;
            color: #8e8ea8 !important;
            font-weight: 700 !important;
            font-size: 0.9rem !important;
            cursor: pointer !important;
            transition: all 0.2s ease !important;
        }

        .profile-subtab:hover {
            color: #ffffff !important;
            background: rgba(255, 255, 255, 0.03) !important;
        }

        .profile-subtab.active {
            color: #00f5d4 !important;
            border-bottom-color: #00f5d4 !important;
            background: rgba(0, 245, 212, 0.05) !important;
        }
        }

/* ============================================================
   SKELETON LOADERS — SHIMMER EFFECT
   ============================================================ */
@keyframes shimmerPulse {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.skeleton-shimmer {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.03) 25%, rgba(255, 255, 255, 0.09) 50%, rgba(255, 255, 255, 0.03) 75%) !important;
    background-size: 200% 100% !important;
    animation: shimmerPulse 1.8s infinite ease-in-out !important;
    border-radius: 8px;
}

.skeleton-post-card {
    background: rgba(14, 14, 28, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.skeleton-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
}

.skeleton-title {
    height: 16px;
    width: 35%;
}

.skeleton-text {
    height: 14px;
    width: 100%;
}

.skeleton-text-short {
    height: 14px;
    width: 60%;
}

.skeleton-media-box {
    height: 180px;
    width: 100%;
    border-radius: 14px;
}
