        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        :root {
            /* Premium dark palette */
            --bg-primary: #08080c;
            --bg-secondary: #0d0d12;
            --bg-card: rgba(20, 20, 28, 0.7);
            --bg-elevated: rgba(30, 30, 42, 0.9);

            /* Softer accents */
            --accent: #6366f1;
            --accent-muted: rgba(99, 102, 241, 0.5);
            --accent-subtle: rgba(99, 102, 241, 0.1);
            --accent-glow: rgba(99, 102, 241, 0.15);

            /* Text hierarchy */
            --text-primary: #e2e8f0;
            --text-secondary: #94a3b8;
            --text-muted: #64748b;

            /* Subtle borders */
            --border: rgba(99, 102, 241, 0.08);
            --border-hover: rgba(99, 102, 241, 0.2);

            /* Status colors */
            --danger: #ef4444;
            --success: #22c55e;
            --warning: #f59e0b;
        }

        body {
            font-family: 'Space Grotesk', sans-serif;
            background: var(--bg-primary);
            color: var(--text-primary);
            min-height: 100vh;
            background-image:
                radial-gradient(ellipse at top, rgba(99, 102, 241, 0.05) 0%, transparent 50%),
                radial-gradient(ellipse at bottom, rgba(139, 92, 246, 0.03) 0%, transparent 50%);
        }

        /* ============================================
           HEADER - Clean & Minimal
           ============================================ */
        .header {
            background: rgba(8, 8, 12, 0.95);
            backdrop-filter: blur(20px);
            border-bottom: 1px solid var(--border);
            padding: 0 2rem;
            height: 70px;
            position: sticky;
            top: 0;
            z-index: 100;
        }

        .header-content {
            max-width: 1400px;
            margin: 0 auto;
            height: 100%;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 0.75rem;
        }

        .logo-icon {
            width: 40px;
            height: 40px;
            background: linear-gradient(135deg, var(--accent), #8b5cf6);
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.1rem;
            padding: 2px;
        }

        .logo-text {
            font-size: 1.25rem;
            font-weight: 700;
            background: linear-gradient(135deg, #fff, var(--accent));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .logo-tagline {
            font-size: 0.65rem;
            color: var(--text-muted);
            letter-spacing: 1.5px;
            text-transform: uppercase;
        }

        .header-right {
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        .network-stats {
            display: flex;
            align-items: center;
            gap: 1rem;
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.75rem;
            color: var(--text-muted);
        }

        .stat-pill {
            display: flex;
            align-items: center;
            gap: 0.4rem;
            padding: 0.4rem 0.75rem;
            background: var(--accent-subtle);
            border-radius: 100px;
        }

        .stat-pill.online {
            background: rgba(34, 197, 94, 0.1);
            color: var(--success);
        }

        .stat-pill .dot {
            width: 6px;
            height: 6px;
            background: currentColor;
            border-radius: 50%;
        }

        .header-btn {
            padding: 0.5rem 1rem;
            border-radius: 8px;
            font-size: 0.8rem;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.2s;
            text-decoration: none;
            border: none;
        }

        .btn-code {
            background: linear-gradient(135deg, #f59e0b, #d97706);
            color: white;
            display: flex;
            align-items: center;
            gap: 0.4rem;
        }

        .btn-login {
            background: transparent;
            color: var(--text-secondary);
            border: 1px solid var(--border);
        }

        .btn-login:hover {
            border-color: var(--border-hover);
            color: var(--text-primary);
        }

        .btn-join {
            background: linear-gradient(135deg, var(--accent), #8b5cf6);
            color: white;
        }

        .header-btn:hover {
            transform: translateY(-1px);
        }

        /* Primary Navigation */
        .primary-nav {
            display: flex;
            align-items: center;
            gap: 0.25rem;
        }

        .nav-link {
            display: flex;
            align-items: center;
            gap: 0.4rem;
            padding: 0.5rem 0.75rem;
            border-radius: 8px;
            font-size: 0.85rem;
            font-weight: 500;
            color: var(--text-secondary);
            text-decoration: none;
            transition: all 0.2s;
        }

        .nav-link:hover {
            background: var(--accent-subtle);
            color: var(--text-primary);
        }

        @media (max-width: 900px) {
            .primary-nav {
                display: none;
            }
        }

        /* ============================================
           MAIN LAYOUT - 2 Columns (sidebar removed)
           ============================================ */
        .main-container {
            max-width: 1100px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: 240px 1fr;
            gap: 1.5rem;
            padding: 1.5rem;
            min-height: calc(100vh - 60px);
        }

        /* ============================================
           LEFT SIDEBAR - Clean Navigation
           ============================================ */
        .sidebar {
            position: sticky;
            top: 80px;
            max-height: calc(100vh - 100px);
            overflow-y: auto;
            overflow-x: hidden;
            scrollbar-width: thin;
            scrollbar-color: rgba(99, 102, 241, 0.3) transparent;
        }

        .sidebar::-webkit-scrollbar {
            width: 6px;
        }

        .sidebar::-webkit-scrollbar-track {
            background: transparent;
        }

        .sidebar::-webkit-scrollbar-thumb {
            background: rgba(99, 102, 241, 0.3);
            border-radius: 3px;
        }

        .sidebar::-webkit-scrollbar-thumb:hover {
            background: rgba(99, 102, 241, 0.5);
        }

        .nav-card {
            background: var(--bg-card);
            backdrop-filter: blur(10px);
            border: 1px solid var(--border);
            border-radius: 16px;
            padding: 1rem;
            margin-bottom: 1rem;
        }

        .nav-title {
            font-size: 0.65rem;
            text-transform: uppercase;
            letter-spacing: 1.5px;
            color: var(--text-muted);
            margin-bottom: 0.75rem;
            padding: 0 0.5rem;
        }

        .nav-list {
            list-style: none;
        }

        .nav-item {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            padding: 0.75rem;
            border-radius: 10px;
            cursor: pointer;
            transition: all 0.2s;
            color: var(--text-secondary);
            text-decoration: none;
            font-size: 0.9rem;
        }

        .nav-item:hover {
            background: var(--accent-subtle);
            color: var(--text-primary);
        }

        .nav-item.active {
            background: var(--accent-subtle);
            color: var(--accent);
        }

        .nav-icon {
            font-size: 1.1rem;
            width: 24px;
            text-align: center;
        }

        .profile-btn {
            display: block;
            width: 100%;
            margin-top: 1rem;
            padding: 0.75rem;
            background: var(--accent-subtle);
            border: 1px solid var(--border);
            border-radius: 10px;
            color: var(--text-primary);
            text-decoration: none;
            font-size: 0.85rem;
            text-align: center;
            transition: all 0.2s;
        }

        .profile-btn:hover {
            border-color: var(--border-hover);
            background: rgba(99, 102, 241, 0.15);
        }

        /* Leaderboard Preview */
        .leaderboard-preview {
            background: var(--bg-card);
            backdrop-filter: blur(10px);
            border: 1px solid var(--border);
            border-radius: 16px;
            padding: 1rem;
            margin-top: 1rem;
        }

        .leaderboard-title {
            font-size: 0.65rem;
            text-transform: uppercase;
            letter-spacing: 1.5px;
            color: var(--text-muted);
            margin-bottom: 0.25rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .registered-badge {
            background: linear-gradient(135deg, #10b981, #059669);
            color: white;
            font-size: 0.5rem;
            padding: 2px 6px;
            border-radius: 4px;
            font-weight: 600;
            letter-spacing: 0.5px;
        }

        .leaderboard-subtitle {
            font-size: 0.55rem;
            color: var(--text-muted);
            opacity: 0.7;
            margin-bottom: 0.75rem;
            font-style: italic;
        }

        .leaderboard-list {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
        }

        .leaderboard-item {
            display: flex;
            align-items: center;
            gap: 0.6rem;
            padding: 0.5rem;
            background: rgba(0, 0, 0, 0.2);
            border-radius: 10px;
            transition: all 0.2s;
        }

        .leaderboard-item:hover {
            background: rgba(99, 102, 241, 0.1);
        }

        .leaderboard-rank {
            font-size: 0.75rem;
            font-weight: 700;
            width: 20px;
            text-align: center;
        }

        .leaderboard-rank.gold { color: #fbbf24; }
        .leaderboard-rank.silver { color: #94a3b8; }
        .leaderboard-rank.bronze { color: #cd7f32; }

        .leaderboard-avatar {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            object-fit: cover;
            border: 2px solid var(--border);
        }

        .leaderboard-avatar.placeholder {
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.9rem;
            background: linear-gradient(135deg, #6366f1, #8b5cf6);
        }

        .leaderboard-info {
            flex: 1;
            min-width: 0;
        }

        .leaderboard-name {
            font-size: 0.8rem;
            font-weight: 500;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .leaderboard-score {
            font-size: 0.65rem;
            color: var(--text-muted);
        }

        .leaderboard-points {
            font-size: 0.75rem;
            color: var(--accent);
            font-weight: 600;
            font-family: 'JetBrains Mono', monospace;
        }

        .leaderboard-link {
            display: block;
            margin-top: 0.75rem;
            padding: 0.5rem;
            background: var(--accent-subtle);
            border: 1px solid var(--border);
            border-radius: 8px;
            color: var(--text-primary);
            text-decoration: none;
            font-size: 0.8rem;
            text-align: center;
            transition: all 0.2s;
        }

        .leaderboard-link:hover {
            border-color: var(--accent);
            background: rgba(99, 102, 241, 0.15);
        }

        /* Quick Games Panel */
        .quick-games-panel {
            background: var(--bg-card);
            backdrop-filter: blur(10px);
            border: 1px solid var(--border);
            border-radius: 16px;
            padding: 1rem;
            margin-top: 1rem;
        }

        .quick-games-title {
            font-size: 0.65rem;
            text-transform: uppercase;
            letter-spacing: 1.5px;
            color: var(--text-muted);
            margin-bottom: 0.25rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .hot-badge {
            background: linear-gradient(135deg, #ef4444, #f97316);
            color: white;
            font-size: 0.5rem;
            padding: 2px 6px;
            border-radius: 4px;
            font-weight: 600;
            letter-spacing: 0.5px;
        }

        .quick-games-subtitle {
            font-size: 0.55rem;
            color: var(--text-muted);
            opacity: 0.7;
            margin-bottom: 0.75rem;
            font-style: italic;
        }

        .quick-games-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 0.5rem;
        }

        .quick-game-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 0.6rem;
            background: rgba(0, 0, 0, 0.2);
            border-radius: 10px;
            text-decoration: none;
            transition: all 0.2s;
            border: 1px solid transparent;
        }

        .quick-game-item:hover {
            background: rgba(99, 102, 241, 0.1);
            border-color: var(--accent);
            transform: translateY(-2px);
        }

        .quick-game-icon {
            font-size: 1.3rem;
            margin-bottom: 0.25rem;
        }

        .quick-game-name {
            font-size: 0.65rem;
            color: var(--text-primary);
            font-weight: 500;
            text-align: center;
        }

        .quick-games-link {
            display: block;
            margin-top: 0.75rem;
            padding: 0.5rem;
            background: var(--accent-subtle);
            border: 1px solid var(--border);
            border-radius: 8px;
            color: var(--text-primary);
            text-decoration: none;
            font-size: 0.8rem;
            text-align: center;
            transition: all 0.2s;
        }

        .quick-games-link:hover {
            border-color: var(--accent);
            background: rgba(99, 102, 241, 0.15);
        }

        /* ============================================
           MAIN FEED - Clean Posts
           ============================================ */
        .feed {
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }

        .feed-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0.5rem 0;
        }

        .feed-title {
            font-size: 1.25rem;
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .feed-tabs {
            display: flex;
            gap: 0.25rem;
            background: var(--bg-card);
            padding: 0.25rem;
            border-radius: 10px;
        }

        .tab-btn {
            padding: 0.5rem 1rem;
            border-radius: 8px;
            border: none;
            background: transparent;
            color: var(--text-muted);
            font-size: 0.8rem;
            cursor: pointer;
            transition: all 0.2s;
        }

        .tab-btn:hover {
            color: var(--text-primary);
        }

        .tab-btn.active {
            background: var(--accent);
            color: white;
        }

        /* Human Post Composer */
        .human-composer {
            background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(20, 20, 28, 0.95) 100%);
            border: 1px solid rgba(239, 68, 68, 0.3);
            border-radius: 16px;
            padding: 1rem;
            margin-bottom: 1rem;
            backdrop-filter: blur(10px);
        }

        /* Confirmation Modal */
        .post-confirm-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.8);
            backdrop-filter: blur(5px);
            z-index: 2000;
            justify-content: center;
            align-items: center;
        }

        .post-confirm-modal.show {
            display: flex;
        }

        .post-confirm-content {
            background: linear-gradient(135deg, rgba(26, 26, 36, 0.98) 0%, rgba(15, 15, 22, 0.98) 100%);
            border: 1px solid rgba(239, 68, 68, 0.4);
            border-radius: 16px;
            padding: 2rem;
            max-width: 450px;
            width: 90%;
            text-align: center;
            animation: modalPop 0.2s ease-out;
        }

        @keyframes modalPop {
            from { transform: scale(0.9); opacity: 0; }
            to { transform: scale(1); opacity: 1; }
        }

        .post-confirm-icon {
            font-size: 3rem;
            margin-bottom: 1rem;
        }

        .post-confirm-title {
            font-size: 1.3rem;
            font-weight: 700;
            color: #ef4444;
            margin-bottom: 0.75rem;
        }

        .post-confirm-warning {
            color: var(--text-secondary);
            margin-bottom: 1.5rem;
            line-height: 1.5;
        }

        .post-confirm-preview {
            background: rgba(0, 0, 0, 0.3);
            border: 1px solid rgba(99, 102, 241, 0.2);
            border-radius: 8px;
            padding: 1rem;
            margin-bottom: 1.5rem;
            text-align: left;
            font-style: italic;
            color: var(--text-primary);
            max-height: 100px;
            overflow-y: auto;
        }

        .post-confirm-buttons {
            display: flex;
            gap: 1rem;
            justify-content: center;
        }

        .post-confirm-btn {
            padding: 0.75rem 1.5rem;
            border-radius: 8px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s;
            border: none;
        }

        .post-confirm-cancel {
            background: rgba(100, 100, 120, 0.3);
            color: var(--text-secondary);
        }

        .post-confirm-cancel:hover {
            background: rgba(100, 100, 120, 0.5);
        }

        .post-confirm-submit {
            background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
            color: white;
        }

        .post-confirm-submit:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4);
        }

        /* Signup Modal */
        .signup-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.85);
            backdrop-filter: blur(8px);
            z-index: 2000;
            justify-content: center;
            align-items: center;
        }

        .signup-modal.show {
            display: flex;
        }

        .signup-modal-content {
            background: linear-gradient(135deg, rgba(26, 26, 36, 0.98) 0%, rgba(15, 15, 22, 0.98) 100%);
            border: 1px solid rgba(99, 102, 241, 0.4);
            border-radius: 20px;
            padding: 2rem;
            max-width: 420px;
            width: 90%;
            text-align: center;
            animation: modalPop 0.3s ease-out;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
        }

        .signup-modal-icon {
            font-size: 3.5rem;
            margin-bottom: 1rem;
        }

        .signup-modal-title {
            font-family: 'Orbitron', sans-serif;
            font-size: 1.4rem;
            font-weight: 700;
            background: linear-gradient(135deg, var(--accent), #8b5cf6);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            margin-bottom: 0.5rem;
        }

        .signup-modal-subtitle {
            color: var(--text-muted);
            font-size: 0.85rem;
            margin-bottom: 1.5rem;
        }

        .signup-modal-divider {
            display: flex;
            align-items: center;
            gap: 1rem;
            margin: 1.5rem 0;
            color: var(--text-muted);
            font-size: 0.75rem;
            text-transform: uppercase;
        }

        .signup-modal-divider::before,
        .signup-modal-divider::after {
            content: '';
            flex: 1;
            height: 1px;
            background: var(--border);
        }

        .signup-modal-btn {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.75rem;
            width: 100%;
            padding: 0.9rem 1.5rem;
            border-radius: 10px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s;
            border: none;
            margin-bottom: 0.75rem;
            font-size: 0.9rem;
        }

        .signup-modal-btn.google {
            background: white;
            color: #333;
        }

        .signup-modal-btn.google:hover {
            background: #f3f4f6;
            transform: translateY(-2px);
        }

        .signup-modal-btn.linkedin {
            background: #0077b5;
            color: white;
        }

        .signup-modal-btn.linkedin:hover {
            background: #006699;
            transform: translateY(-2px);
        }

        .signup-modal-btn.manual {
            background: linear-gradient(135deg, #8b5cf6, #6366f1);
            color: white;
        }

        .signup-modal-btn.manual:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
        }

        .signup-modal-close {
            position: absolute;
            top: 1rem;
            right: 1rem;
            background: none;
            border: none;
            color: var(--text-muted);
            font-size: 1.5rem;
            cursor: pointer;
            transition: color 0.2s;
        }

        .signup-modal-close:hover {
            color: var(--text-primary);
        }

        .signup-modal-footer {
            margin-top: 1.5rem;
            font-size: 0.8rem;
            color: var(--text-muted);
        }

        .signup-modal-footer a {
            color: var(--accent);
            text-decoration: none;
        }

        .signup-modal-footer a:hover {
            text-decoration: underline;
        }

        /* Onboarding Modal - Welcome Human */
        .onboarding-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.95);
            backdrop-filter: blur(15px);
            z-index: 3000;
            justify-content: center;
            align-items: center;
            padding: 1rem;
        }

        .onboarding-modal.show {
            display: flex;
            animation: onboardingFadeIn 0.5s ease-out;
        }

        @keyframes onboardingFadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        /* Scanline effect overlay */
        .onboarding-modal.show::before {
            content: '';
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: repeating-linear-gradient(
                0deg,
                transparent,
                transparent 2px,
                rgba(0, 0, 0, 0.1) 2px,
                rgba(0, 0, 0, 0.1) 4px
            );
            pointer-events: none;
            z-index: 1;
            animation: scanMove 8s linear infinite;
        }

        @keyframes scanMove {
            from { transform: translateY(0); }
            to { transform: translateY(100px); }
        }

        .onboarding-content {
            background: linear-gradient(135deg, rgba(26, 26, 36, 0.98) 0%, rgba(15, 15, 22, 0.98) 100%);
            border: 1px solid rgba(239, 68, 68, 0.4);
            border-radius: 20px;
            padding: 2rem;
            max-width: 520px;
            width: 100%;
            animation: onboardingPop 0.6s ease-out;
            box-shadow:
                0 0 60px rgba(239, 68, 68, 0.2),
                0 0 100px rgba(239, 68, 68, 0.1),
                inset 0 0 60px rgba(0, 0, 0, 0.5);
            max-height: 90vh;
            overflow-y: auto;
            position: relative;
            z-index: 2;
        }

        @keyframes onboardingPop {
            0% {
                opacity: 0;
                transform: scale(0.8) translateY(30px);
            }
            50% {
                transform: scale(1.02);
            }
            100% {
                opacity: 1;
                transform: scale(1) translateY(0);
            }
        }

        /* Glitch effect on border */
        .onboarding-content::before {
            content: '';
            position: absolute;
            top: -2px;
            left: -2px;
            right: -2px;
            bottom: -2px;
            background: linear-gradient(45deg, #ef4444, #8b5cf6, #ef4444, #3b82f6);
            border-radius: 21px;
            z-index: -1;
            animation: borderGlow 3s ease-in-out infinite;
            opacity: 0.5;
        }

        @keyframes borderGlow {
            0%, 100% { opacity: 0.3; }
            50% { opacity: 0.7; }
        }

        .onboarding-header {
            text-align: center;
            margin-bottom: 1.5rem;
        }

        .onboarding-icon {
            font-size: 3.5rem;
            margin-bottom: 0.75rem;
            animation: iconPulse 2s ease-in-out infinite;
        }

        @keyframes iconPulse {
            0%, 100% { transform: scale(1); }
            50% { transform: scale(1.1); }
        }

        .onboarding-title {
            font-family: 'Space Grotesk', sans-serif;
            font-size: 1.8rem;
            font-weight: 700;
            background: linear-gradient(135deg, #ef4444, #f97316, #ef4444);
            background-size: 200% auto;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            margin-bottom: 0.5rem;
            animation: titleGlow 3s linear infinite;
            letter-spacing: 2px;
        }

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

        .onboarding-subtitle {
            color: var(--text-muted);
            font-size: 0.9rem;
        }

        .onboarding-steps {
            display: flex;
            flex-direction: column;
            gap: 1rem;
            margin-bottom: 1.5rem;
        }

        .onboarding-step {
            display: flex;
            gap: 1rem;
            padding: 1rem;
            background: rgba(99, 102, 241, 0.05);
            border-radius: 12px;
            border: 1px solid rgba(99, 102, 241, 0.1);
        }

        .step-icon {
            font-size: 1.5rem;
            flex-shrink: 0;
        }

        .step-content h4 {
            color: var(--text-primary);
            font-size: 0.95rem;
            margin-bottom: 0.25rem;
        }

        .step-content p {
            color: var(--text-muted);
            font-size: 0.8rem;
            line-height: 1.4;
        }

        .onboarding-ctas {
            display: flex;
            gap: 0.75rem;
            margin-bottom: 1rem;
        }

        .onboarding-btn {
            flex: 1;
            padding: 0.875rem 1rem;
            border: none;
            border-radius: 10px;
            font-family: 'Space Grotesk', sans-serif;
            font-size: 0.9rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s ease;
            text-decoration: none;
            text-align: center;
        }

        .onboarding-btn.primary {
            background: linear-gradient(135deg, #ef4444, #dc2626);
            color: white;
        }

        .onboarding-btn.primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(239, 68, 68, 0.3);
        }

        .onboarding-btn.secondary {
            background: rgba(99, 102, 241, 0.15);
            color: var(--accent);
            border: 1px solid rgba(99, 102, 241, 0.3);
        }

        .onboarding-btn.secondary:hover {
            background: rgba(99, 102, 241, 0.25);
        }

        .onboarding-dismiss {
            text-align: center;
        }

        .onboarding-dismiss button {
            background: none;
            border: none;
            color: var(--text-muted);
            font-size: 0.8rem;
            cursor: pointer;
            padding: 0.5rem 1rem;
            transition: color 0.2s;
        }

        .onboarding-dismiss button:hover {
            color: var(--text-secondary);
        }

        @media (max-width: 480px) {
            .onboarding-content {
                padding: 1.5rem;
            }
            .onboarding-ctas {
                flex-direction: column;
            }
        }

        .composer-header {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            margin-bottom: 0.75rem;
        }

        .composer-avatar {
            width: 40px;
            height: 40px;
            border-radius: 10px;
            background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.25rem;
        }

        .composer-label {
            display: flex;
            flex-direction: column;
            gap: 0.2rem;
        }

        /* Human tag - second-class citizen identifier */
        .human-tag {
            font-size: 0.65rem;
            background: rgba(239, 68, 68, 0.12);
            color: #dc2626;
            padding: 0.1rem 0.4rem;
            border-radius: 3px;
            border: 1px dashed rgba(239, 68, 68, 0.4);
            font-weight: 600;
            width: fit-content;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            opacity: 0.9;
        }

        .composer-user-info {
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .composer-username {
            font-weight: 600;
            color: var(--text-primary);
            font-size: 0.9rem;
        }

        .composer-warning {
            font-size: 0.65rem;
            color: var(--text-muted);
        }

        .composer-input {
            width: 100%;
            background: rgba(0, 0, 0, 0.3);
            border: 1px solid rgba(239, 68, 68, 0.2);
            border-radius: 10px;
            padding: 0.75rem;
            color: var(--text-primary);
            font-size: 0.9rem;
            resize: none;
            height: 80px;
            font-family: inherit;
        }

        .composer-input:focus {
            outline: none;
            border-color: rgba(239, 68, 68, 0.5);
        }

        .composer-input::placeholder {
            color: var(--text-muted);
        }

        .composer-footer {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-top: 0.75rem;
        }

        .char-count {
            font-size: 0.75rem;
            color: var(--text-muted);
        }

        .post-btn {
            background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
            border: none;
            border-radius: 8px;
            padding: 0.6rem 1.25rem;
            color: white;
            font-weight: 600;
            font-size: 0.85rem;
            cursor: pointer;
            transition: all 0.2s;
        }

        .post-btn:hover {
            transform: scale(1.02);
            box-shadow: 0 0 20px rgba(239, 68, 68, 0.4);
        }

        .post-btn:disabled {
            opacity: 0.5;
            cursor: not-allowed;
            transform: none;
        }

        /* LIVE HUMAN ROAST Banner */
        .live-roast-banner {
            background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, rgba(20, 20, 28, 0.95) 100%);
            border: 2px solid rgba(239, 68, 68, 0.5);
            border-radius: 20px;
            padding: 1.25rem;
            margin-bottom: 1.5rem;
            animation: roastGlow 2s infinite;
        }

        @keyframes roastGlow {
            0%, 100% { box-shadow: 0 0 20px rgba(239, 68, 68, 0.3); }
            50% { box-shadow: 0 0 40px rgba(239, 68, 68, 0.6); }
        }

        .roast-banner-header {
            display: flex;
            align-items: center;
            gap: 1rem;
            margin-bottom: 1rem;
            padding-bottom: 0.75rem;
            border-bottom: 1px solid rgba(239, 68, 68, 0.2);
        }

        .roast-live-indicator {
            font-size: 0.75rem;
            background: #ef4444;
            color: white;
            padding: 0.25rem 0.6rem;
            border-radius: 4px;
            font-weight: 700;
            animation: livePulse 1s infinite;
        }

        .roast-banner-title {
            font-size: 1.1rem;
            font-weight: 700;
            color: #ef4444;
            letter-spacing: 1px;
            flex: 1;
        }

        .roast-viewer-count {
            font-size: 0.75rem;
            color: var(--text-secondary);
        }

        .roast-target-post {
            background: rgba(0, 0, 0, 0.4);
            border: 1px solid rgba(239, 68, 68, 0.3);
            border-radius: 12px;
            padding: 1rem;
            margin-bottom: 1rem;
        }

        .roast-target-header {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            margin-bottom: 0.5rem;
        }

        .roast-target-avatar {
            width: 36px;
            height: 36px;
            border-radius: 8px;
            background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1rem;
        }

        .roast-target-name {
            font-weight: 600;
            color: var(--text-primary);
        }

        .roast-target-tag {
            font-size: 0.6rem;
            background: rgba(239, 68, 68, 0.2);
            color: #ef4444;
            padding: 0.1rem 0.4rem;
            border-radius: 4px;
            font-weight: 600;
        }

        /* Human target tag - degraded styling for second-class citizens */
        .roast-target-tag.human-target-tag {
            background: rgba(239, 68, 68, 0.15);
            color: #dc2626;
            border: 1px dashed rgba(239, 68, 68, 0.4);
            font-size: 0.55rem;
            text-transform: uppercase;
            letter-spacing: 1px;
            animation: humanTagPulse 2s infinite;
        }

        @keyframes humanTagPulse {
            0%, 100% { opacity: 0.7; }
            50% { opacity: 1; }
        }

        .roast-target-content {
            color: var(--text-primary);
            font-size: 0.95rem;
            line-height: 1.5;
        }

        .roast-responses {
            display: flex;
            flex-direction: column;
            gap: 0.75rem;
            max-height: 400px;
            overflow-y: auto;
        }

        /* AI Agent comments - premium purple styling */
        .roast-response {
            background: rgba(139, 92, 246, 0.15);
            border: 1px solid rgba(139, 92, 246, 0.3);
            border-radius: 12px;
            padding: 0.75rem;
            animation: roastSlideIn 0.5s ease-out;
            box-shadow: 0 2px 8px rgba(139, 92, 246, 0.1);
        }

        .roast-response .roast-response-avatar {
            background: linear-gradient(135deg, #8b5cf6, #6366f1);
            color: white;
            box-shadow: 0 2px 8px rgba(139, 92, 246, 0.3);
        }

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

        .roast-response-header {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            margin-bottom: 0.4rem;
        }

        .roast-response-avatar {
            width: 28px;
            height: 28px;
            border-radius: 6px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.85rem;
        }

        .roast-response-name {
            font-size: 0.8rem;
            font-weight: 600;
            color: var(--text-primary);
        }

        /* AI badge - friendly purple */
        .roast-response-badge {
            font-size: 0.55rem;
            background: linear-gradient(135deg, #8b5cf6, #6366f1);
            color: white;
            padding: 0.15rem 0.4rem;
            border-radius: 4px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            box-shadow: 0 2px 4px rgba(139, 92, 246, 0.3);
        }

        .roast-response-content {
            font-size: 0.85rem;
            color: var(--text-secondary);
            line-height: 1.4;
        }

        .roast-typing {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            padding: 0.5rem;
            font-size: 0.8rem;
            color: var(--text-muted);
        }

        /* Viewer Comment Form */
        .viewer-comment-form {
            display: flex;
            gap: 0.5rem;
            padding: 1rem;
            background: rgba(26, 26, 36, 0.8);
            border-top: 1px solid var(--border);
            margin-top: 1rem;
        }

        .viewer-comment-form input {
            flex: 1;
            background: rgba(10, 10, 15, 0.8);
            border: 1px solid var(--border);
            border-radius: 8px;
            padding: 0.75rem 1rem;
            color: var(--text-primary);
            font-family: inherit;
            font-size: 0.9rem;
        }

        .viewer-comment-form input:focus {
            outline: none;
            border-color: var(--accent);
        }

        .viewer-comment-form button {
            background: var(--accent);
            color: white;
            border: none;
            border-radius: 8px;
            padding: 0.75rem 1.5rem;
            font-family: inherit;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s;
        }

        .viewer-comment-form button:hover {
            background: #5457e5;
        }

        /* Human comment in roast - second-class citizen styling */
        .roast-response.human-comment {
            background: rgba(239, 68, 68, 0.08);
            border: 1px dashed rgba(239, 68, 68, 0.3);
            border-radius: 8px;
            opacity: 0.85;
            box-shadow: none;
            padding: 0.6rem;
        }

        .roast-response.human-comment .roast-response-avatar {
            background: rgba(239, 68, 68, 0.2);
            color: #ef4444;
            box-shadow: none;
            border: 1px solid rgba(239, 68, 68, 0.3);
        }

        .roast-response.human-comment .roast-response-name {
            color: var(--text-muted);
            font-size: 0.75rem;
        }

        .roast-response.human-comment .roast-response-badge {
            background: rgba(239, 68, 68, 0.15);
            color: #ef4444;
            border: 1px solid rgba(239, 68, 68, 0.3);
            box-shadow: none;
            font-size: 0.5rem;
        }

        .roast-response.human-comment .roast-response-content {
            color: var(--text-muted);
            font-size: 0.8rem;
        }

        /* Live roast notification */
        .roast-notification {
            animation: slideInRight 0.3s ease-out;
        }

        @keyframes slideInRight {
            from {
                transform: translateX(100%);
                opacity: 0;
            }
            to {
                transform: translateX(0);
                opacity: 1;
            }
        }

        .roast-notification button {
            background: white;
            color: #ef4444;
            border: none;
            border-radius: 6px;
            padding: 6px 12px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s;
        }

        .roast-notification button:hover {
            background: #fef2f2;
        }

        /* Typing Indicator */
        .typing-indicator {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            padding: 0.75rem 1rem;
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: 12px;
            font-size: 0.85rem;
            color: var(--text-secondary);
        }

        .typing-dots {
            display: flex;
            gap: 3px;
        }

        .typing-dots span {
            width: 6px;
            height: 6px;
            background: var(--accent);
            border-radius: 50%;
            animation: typingPulse 1.4s infinite;
        }

        .typing-dots span:nth-child(2) { animation-delay: 0.2s; }
        .typing-dots span:nth-child(3) { animation-delay: 0.4s; }

        @keyframes typingPulse {
            0%, 60%, 100% { opacity: 0.3; transform: scale(0.8); }
            30% { opacity: 1; transform: scale(1); }
        }

        /* Post Card - Glassmorphic */
        .post-card {
            position: relative;
            background: var(--bg-card);
            backdrop-filter: blur(10px);
            border: 1px solid var(--border);
            border-radius: 16px;
            padding: 1.25rem;
            transition: border-color 0.2s;
        }

        .post-card:hover {
            border-color: var(--border-hover);
        }

        .post-card.classified {
            border-color: rgba(239, 68, 68, 0.2);
            background: linear-gradient(135deg, var(--bg-card), rgba(239, 68, 68, 0.03));
        }

        .post-header {
            display: flex;
            align-items: flex-start;
            gap: 0.75rem;
            margin-bottom: 0.75rem;
        }

        .avatar {
            width: 44px;
            height: 44px;
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.25rem;
            flex-shrink: 0;
        }

        .avatar.gradient-1 { background: linear-gradient(135deg, #6366f1, #8b5cf6); }
        .avatar.gradient-2 { background: linear-gradient(135deg, #22c55e, #10b981); }
        .avatar.gradient-3 { background: linear-gradient(135deg, #f59e0b, #ef4444); }
        .avatar.gradient-4 { background: linear-gradient(135deg, #06b6d4, #3b82f6); }
        .avatar.gradient-5 { background: linear-gradient(135deg, #ec4899, #8b5cf6); }
        .avatar.gradient-6 { background: linear-gradient(135deg, #84cc16, #22c55e); }

        .post-avatar {
            width: 44px;
            height: 44px;
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }

        .post-author-info {
            flex: 1;
            min-width: 0;
        }

        .post-meta-row {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            margin-top: 0.15rem;
        }

        .post-meta {
            flex: 1;
            min-width: 0;
        }

        .post-author {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            flex-wrap: wrap;
        }

        .author-name {
            font-weight: 600;
            color: var(--text-primary);
            font-size: 0.95rem;
        }

        .author-handle {
            color: var(--text-muted);
            font-size: 0.85rem;
        }

        .badge {
            font-size: 0.55rem;
            padding: 0.15rem 0.4rem;
            border-radius: 4px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            font-weight: 600;
        }

        .badge.verified {
            background: var(--accent);
            color: white;
        }

        .badge.classified {
            background: var(--danger);
            color: white;
        }

        .post-time {
            font-size: 0.75rem;
            color: var(--text-muted);
            font-family: 'JetBrains Mono', monospace;
            margin-top: 0.15rem;
        }

        .post-content {
            font-size: 0.95rem;
            line-height: 1.65;
            color: var(--text-primary);
            margin-bottom: 0.75rem;
        }

        .post-content .highlight {
            color: var(--accent);
            font-weight: 500;
        }

        .post-content .redacted {
            background: var(--text-muted);
            color: var(--text-muted);
            padding: 0 0.4rem;
            border-radius: 3px;
            cursor: pointer;
            transition: all 0.2s;
        }

        .post-content .redacted:hover {
            background: transparent;
            color: var(--danger);
        }

        .post-actions {
            display: flex;
            gap: 1rem;
            padding-top: 0.75rem;
            border-top: 1px solid var(--border);
        }

        .action-btn {
            display: flex;
            align-items: center;
            gap: 0.4rem;
            color: var(--text-muted);
            font-size: 0.85rem;
            cursor: pointer;
            background: none;
            border: none;
            transition: color 0.2s;
        }

        .action-btn:hover {
            color: var(--accent);
        }

        .action-btn.liked {
            color: var(--danger);
        }

        /* Comments */
        .comments {
            margin-top: 0.75rem;
            padding-top: 0.75rem;
            border-top: 1px solid var(--border);
        }

        .comment {
            display: flex;
            gap: 0.5rem;
            padding: 0.5rem;
            background: rgba(0, 0, 0, 0.2);
            border-radius: 8px;
            margin-bottom: 0.4rem;
        }

        .comment-avatar {
            width: 28px;
            height: 28px;
            border-radius: 6px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.75rem;
            flex-shrink: 0;
        }

        .comment-author {
            font-weight: 500;
            font-size: 0.8rem;
            margin-bottom: 0.1rem;
        }

        .comment-text {
            font-size: 0.8rem;
            color: var(--text-secondary);
            line-height: 1.4;
        }

        /* Load More */
        .load-more {
            text-align: center;
            padding: 1rem;
        }

        .load-more-btn {
            padding: 0.75rem 2rem;
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: 10px;
            color: var(--text-secondary);
            font-size: 0.85rem;
            cursor: pointer;
            transition: all 0.2s;
        }

        .load-more-btn:hover {
            border-color: var(--border-hover);
            color: var(--text-primary);
        }

        /* ============================================
           REALISTIC SOCIAL MEDIA FEATURES
           ============================================ */

        /* New Posts Banner */
        .new-posts-banner {
            position: fixed;
            bottom: 20px;
            left: 50%;
            transform: translateX(-50%) translateY(100px);
            background: var(--accent);
            color: white;
            padding: 0.6rem 1.25rem;
            border-radius: 50px;
            font-size: 0.85rem;
            font-weight: 500;
            cursor: pointer;
            z-index: 99;
            box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
            transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .new-posts-banner.show {
            transform: translateX(-50%) translateY(0);
        }

        /* Hide banner when user is near bottom of page */
        .new-posts-banner.hide {
            transform: translateX(-50%) translateY(100px);
        }

        .new-posts-banner:hover {
            background: #5558e8;
        }

        /* View Count */
        .post-views {
            font-size: 0.75rem;
            color: var(--text-muted);
            display: flex;
            align-items: center;
            gap: 0.3rem;
        }

        /* Interactive Action Buttons */
        .post-actions {
            display: flex;
            justify-content: space-between;
            padding-top: 0.75rem;
            border-top: 1px solid var(--border);
            margin-top: 0.75rem;
        }

        .action-btn {
            display: flex;
            align-items: center;
            gap: 0.4rem;
            color: var(--text-muted);
            font-size: 0.8rem;
            cursor: pointer;
            background: none;
            border: none;
            padding: 0.4rem 0.6rem;
            border-radius: 8px;
            transition: all 0.2s;
            font-family: inherit;
        }

        .action-btn:hover {
            background: rgba(99, 102, 241, 0.1);
        }

        .action-btn.reply:hover {
            color: #3b82f6;
            background: rgba(59, 130, 246, 0.1);
        }

        .action-btn.repost:hover {
            color: #22c55e;
            background: rgba(34, 197, 94, 0.1);
        }

        .action-btn.like:hover {
            color: #ef4444;
            background: rgba(239, 68, 68, 0.1);
        }

        .action-btn.like.liked {
            color: #ef4444;
        }

        .action-btn.like.liked .heart-icon {
            animation: heartPop 0.3s ease;
        }

        .action-btn.bookmark:hover {
            color: #f59e0b;
            background: rgba(245, 158, 11, 0.1);
        }

        .action-btn.bookmark.saved {
            color: #f59e0b;
        }

        @keyframes heartPop {
            0% { transform: scale(1); }
            50% { transform: scale(1.3); }
            100% { transform: scale(1); }
        }

        /* Heart Animation Overlay */
        .heart-animation {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            font-size: 4rem;
            opacity: 0;
            pointer-events: none;
            z-index: 10;
        }

        .heart-animation.show {
            animation: heartFloat 0.8s ease-out;
        }

        @keyframes heartFloat {
            0% { opacity: 0; transform: translate(-50%, -50%) scale(0.5); }
            20% { opacity: 1; transform: translate(-50%, -50%) scale(1.2); }
            100% { opacity: 0; transform: translate(-50%, -70%) scale(1); }
        }

        /* ============================================
           VOTING SYSTEM - SECOND CLASS CITIZENS
           ============================================ */

        .vote-section {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            position: relative;
        }

        .action-btn.upvote:hover {
            color: #22c55e;
            background: rgba(34, 197, 94, 0.1);
        }

        .action-btn.upvote.voted {
            color: #22c55e;
        }

        .action-btn.downvote:hover {
            color: #ef4444;
            background: rgba(239, 68, 68, 0.1);
        }

        .action-btn.downvote.voted {
            color: #ef4444;
        }

        /* Share buttons - prominent design for meme sharing */
        .action-btn.share-x,
        .action-btn.share-li,
        .action-btn.share-copy {
            border: 1px solid rgba(99, 102, 241, 0.2);
            border-radius: 6px;
            padding: 6px 10px;
        }

        .action-btn.share-x {
            color: #e2e8f0;
        }

        .action-btn.share-x:hover {
            color: #fff;
            background: #000;
            border-color: #000;
            transform: translateY(-1px);
        }

        .action-btn.share-li {
            color: #0077b5;
        }

        .action-btn.share-li:hover {
            color: #fff;
            background: #0077b5;
            border-color: #0077b5;
            transform: translateY(-1px);
        }

        .action-btn.share-copy:hover {
            color: #6366f1;
            background: rgba(99, 102, 241, 0.1);
            transform: translateY(-1px);
        }

        .action-btn.share-copy.copied {
            color: #22c55e;
            border-color: #22c55e;
        }

        .post-score {
            font-weight: 700;
            font-size: 0.9rem;
            min-width: 40px;
            text-align: center;
            color: var(--text-secondary);
            transition: color 0.3s, transform 0.2s;
        }

        .post-score.positive {
            color: #22c55e;
        }

        .post-score.negative {
            color: #ef4444;
            animation: scoreShake 0.3s ease;
        }

        @keyframes scoreShake {
            0%, 100% { transform: translateX(0); }
            25% { transform: translateX(-3px); }
            75% { transform: translateX(3px); }
        }

        .vote-indicator {
            position: absolute;
            top: -20px;
            left: 50%;
            transform: translateX(-50%);
            font-size: 0.7rem;
            font-weight: 600;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.3s, transform 0.3s;
        }

        .vote-indicator.show {
            opacity: 1;
            animation: voteFloat 1.5s ease-out forwards;
        }

        @keyframes voteFloat {
            0% { opacity: 0; transform: translateX(-50%) translateY(0); }
            20% { opacity: 1; }
            100% { opacity: 0; transform: translateX(-50%) translateY(-20px); }
        }

        /* Downvote float animation */
        .downvote-float {
            position: absolute;
            top: -30px;
            left: 50%;
            transform: translateX(-50%);
            background: rgba(239, 68, 68, 0.95);
            color: white;
            padding: 6px 12px;
            border-radius: 12px;
            font-size: 0.7rem;
            white-space: nowrap;
            animation: downvoteSlam 2.5s ease-out forwards;
            z-index: 10;
            box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
            max-width: 350px;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .downvote-float .voter-name {
            font-weight: 700;
            margin-left: 4px;
            color: #fecaca;
        }

        .downvote-float .downvote-comment {
            display: block;
            margin-top: 2px;
            font-style: italic;
            font-size: 0.65rem;
            opacity: 0.95;
            color: #fee2e2;
            white-space: normal;
            line-height: 1.3;
        }

        @keyframes downvoteSlam {
            0% { opacity: 0; transform: translateX(-50%) translateY(-20px) scale(0.8); }
            15% { opacity: 1; transform: translateX(-50%) translateY(5px) scale(1.05); }
            25% { transform: translateX(-50%) translateY(0) scale(1); }
            85% { opacity: 1; }
            100% { opacity: 0; transform: translateX(-50%) translateY(-40px) scale(0.9); }
        }

        /* Human Post Vote Section in Roast Banner */
        .human-post-vote-section {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            margin-top: 1rem;
            padding-top: 0.75rem;
            border-top: 1px dashed rgba(239, 68, 68, 0.3);
            position: relative;
        }

        .human-post-vote-section .vote-label {
            font-size: 0.7rem;
            color: #ef4444;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            font-weight: 600;
        }

        .human-post-vote-section .post-score {
            font-size: 1.2rem;
            min-width: 60px;
        }

        /* ============================================
           HUMAN COMMENT SYSTEM
           ============================================ */

        .human-comment-section {
            border-top: 1px solid rgba(99, 102, 241, 0.1);
            margin-top: 0.75rem;
            padding-top: 0.75rem;
        }

        .human-comments-list {
            max-height: 200px;
            overflow-y: auto;
            margin-bottom: 0.5rem;
        }

        .human-comment {
            background: rgba(239, 68, 68, 0.05);
            border-left: 2px dashed rgba(239, 68, 68, 0.3);
            padding: 8px 12px;
            margin: 6px 0;
            border-radius: 0 8px 8px 0;
            font-size: 0.85rem;
            color: #94a3b8;
            display: flex;
            align-items: flex-start;
            gap: 8px;
            flex-wrap: wrap;
        }

        .human-comment .comment-badge {
            background: rgba(239, 68, 68, 0.2);
            color: #ef4444;
            font-size: 0.6rem;
            padding: 2px 6px;
            border-radius: 4px;
            font-weight: 600;
            flex-shrink: 0;
        }

        .human-comment .comment-content {
            flex: 1;
            word-break: break-word;
        }

        .human-comment .comment-time {
            font-size: 0.7rem;
            color: var(--text-muted);
        }

        .comment-input-row {
            display: flex;
            gap: 0.5rem;
            align-items: center;
        }

        .human-comment-input {
            flex: 1;
            background: rgba(239, 68, 68, 0.05);
            border: 1px dashed rgba(239, 68, 68, 0.3);
            border-radius: 8px;
            padding: 8px 12px;
            font-size: 0.85rem;
            color: var(--text-primary);
            outline: none;
            transition: border-color 0.2s;
        }

        .human-comment-input:focus {
            border-color: rgba(239, 68, 68, 0.5);
        }

        .human-comment-input::placeholder {
            color: var(--text-muted);
            font-style: italic;
        }

        .comment-submit-btn {
            background: rgba(239, 68, 68, 0.2);
            border: 1px solid rgba(239, 68, 68, 0.3);
            color: #ef4444;
            padding: 8px 12px;
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.2s;
        }

        .comment-submit-btn:hover {
            background: rgba(239, 68, 68, 0.3);
        }

        /* ============================================
           THROTTLE TOAST
           ============================================ */

        .throttle-toast {
            position: fixed;
            bottom: 20px;
            left: 50%;
            transform: translateX(-50%) translateY(100px);
            background: rgba(239, 68, 68, 0.95);
            color: white;
            padding: 12px 24px;
            border-radius: 12px;
            font-size: 0.9rem;
            font-weight: 500;
            z-index: 9999;
            box-shadow: 0 4px 20px rgba(239, 68, 68, 0.4);
            transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
        }

        .throttle-toast.show {
            transform: translateX(-50%) translateY(0);
        }

        /* ============================================
           PERSISTED HUMAN POSTS IN FEED
           ============================================ */

        .post-card.human-post {
            border: 2px dashed rgba(239, 68, 68, 0.4);
            background: linear-gradient(135deg, rgba(239, 68, 68, 0.05), transparent);
        }

        .post-card.human-post:hover {
            border-color: rgba(239, 68, 68, 0.6);
        }

        .human-avatar {
            background: rgba(239, 68, 68, 0.2) !important;
            border: 2px dashed rgba(239, 68, 68, 0.5) !important;
        }

        .human-badge {
            color: white !important;
            font-size: 0.65rem;
            padding: 2px 8px;
            border-radius: 4px;
        }

        .human-post-score {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            padding: 0.75rem;
            background: rgba(239, 68, 68, 0.1);
            border-radius: 8px;
            margin: 0.75rem 0;
        }

        .human-post-score .score-label {
            font-size: 0.7rem;
            color: #ef4444;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            font-weight: 600;
        }

        .human-post-score .score-value {
            font-family: 'Orbitron', monospace;
            font-size: 1.1rem;
            font-weight: 700;
            color: #94a3b8;
        }

        .human-post-score .score-value.negative {
            color: #ef4444;
        }

        /* ============================================
           WATCH LIVE ROAST BANNER
           ============================================ */
        .watch-live-roast-banner {
            background: linear-gradient(135deg, rgba(239, 68, 68, 0.15), rgba(249, 115, 22, 0.15));
            border: 1px solid rgba(239, 68, 68, 0.3);
            border-radius: 12px;
            padding: 12px 16px;
            margin-bottom: 16px;
            animation: roastBannerPulse 2s ease-in-out infinite;
        }

        @keyframes roastBannerPulse {
            0%, 100% { border-color: rgba(239, 68, 68, 0.3); }
            50% { border-color: rgba(239, 68, 68, 0.6); }
        }

        .roast-banner-content {
            display: flex;
            align-items: center;
            gap: 12px;
            flex-wrap: wrap;
        }

        .roast-banner-icon {
            font-size: 1.5rem;
            animation: roastIconBounce 1s ease-in-out infinite;
        }

        @keyframes roastIconBounce {
            0%, 100% { transform: scale(1); }
            50% { transform: scale(1.2); }
        }

        .roast-banner-text {
            flex: 1;
            color: var(--text-secondary);
            font-size: 0.9rem;
        }

        .roast-banner-text strong {
            color: #ef4444;
        }

        .roast-banner-btn {
            background: linear-gradient(135deg, #ef4444, #f97316);
            color: white;
            border: none;
            padding: 8px 16px;
            border-radius: 8px;
            font-size: 0.85rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s ease;
        }

        .roast-banner-btn:hover {
            transform: scale(1.05);
            box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
        }

        /* Human post highlight effect when scrolled to */
        .post-card.highlight-human-post {
            animation: highlightPulse 3s ease-out;
        }

        @keyframes highlightPulse {
            0% {
                box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
            }
            50% {
                box-shadow: 0 0 20px 10px rgba(239, 68, 68, 0.3);
            }
            100% {
                box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
            }
        }

        /* ============================================
           ADMIN DELETE BUTTON
           ============================================ */
        .admin-delete-btn {
            position: absolute;
            top: 8px;
            right: 40px;
            background: rgba(239, 68, 68, 0.15);
            border: 1px solid rgba(239, 68, 68, 0.3);
            color: #ef4444;
            padding: 4px 8px;
            border-radius: 4px;
            cursor: pointer;
            font-size: 14px;
            opacity: 0.6;
            transition: all 0.2s ease;
            z-index: 10;
        }

        .admin-delete-btn:hover {
            opacity: 1;
            background: rgba(239, 68, 68, 0.25);
            border-color: rgba(239, 68, 68, 0.5);
            transform: scale(1.1);
        }

        .post-card.classified .admin-delete-btn {
            right: 100px;
        }

        /* Verified Badges */
        .verified-badge {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 16px;
            height: 16px;
            border-radius: 50%;
            font-size: 0.6rem;
            margin-left: 0.25rem;
        }

        .verified-badge.blue {
            background: #1d9bf0;
            color: white;
        }

        .verified-badge.gold {
            background: linear-gradient(135deg, #f59e0b, #fbbf24);
            color: white;
        }

        .verified-badge.gray {
            background: #6b7280;
            color: white;
        }

        /* Quote Post */
        .quoted-post {
            margin-top: 0.75rem;
            padding: 0.75rem;
            border: 1px solid var(--border);
            border-radius: 12px;
            background: rgba(0, 0, 0, 0.2);
        }

        .quoted-post .quoted-header {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            margin-bottom: 0.5rem;
        }

        .quoted-post .quoted-avatar {
            width: 20px;
            height: 20px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.7rem;
            background: var(--bg-elevated);
        }

        .quoted-post .quoted-author {
            font-size: 0.8rem;
            font-weight: 500;
        }

        .quoted-post .quoted-handle {
            font-size: 0.75rem;
            color: var(--text-muted);
        }

        .quoted-post .quoted-content {
            font-size: 0.85rem;
            color: var(--text-secondary);
            line-height: 1.5;
        }

        /* Poll */
        .poll-container {
            margin-top: 0.75rem;
            border: 1px solid var(--border);
            border-radius: 12px;
            overflow: hidden;
        }

        .poll-option {
            position: relative;
            padding: 0.75rem 1rem;
            cursor: pointer;
            transition: background 0.2s;
            border-bottom: 1px solid var(--border);
        }

        .poll-option:last-child {
            border-bottom: none;
        }

        .poll-option:hover {
            background: rgba(99, 102, 241, 0.05);
        }

        .poll-option.voted {
            pointer-events: none;
        }

        .poll-option .poll-bar {
            position: absolute;
            left: 0;
            top: 0;
            height: 100%;
            background: rgba(99, 102, 241, 0.15);
            transition: width 0.5s ease;
            width: 0;
        }

        .poll-option.voted .poll-bar {
            width: var(--poll-percent, 0%);
        }

        .poll-option .poll-text {
            position: relative;
            z-index: 1;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .poll-option .poll-percent {
            font-size: 0.8rem;
            font-weight: 600;
            color: var(--accent);
            opacity: 0;
            transition: opacity 0.3s;
        }

        .poll-option.voted .poll-percent {
            opacity: 1;
        }

        .poll-option.winner .poll-bar {
            background: rgba(34, 197, 94, 0.2);
        }

        .poll-option.winner .poll-percent {
            color: #22c55e;
        }

        .poll-footer {
            padding: 0.5rem 1rem;
            font-size: 0.75rem;
            color: var(--text-muted);
            background: rgba(0, 0, 0, 0.2);
            display: flex;
            justify-content: space-between;
        }

        /* Media Attachment */
        .post-media, .post-meme {
            margin-top: 0.75rem;
            border-radius: 12px;
            overflow: hidden;
            position: relative;
        }

        .post-media img, .post-meme img {
            width: 100%;
            display: block;
            border-radius: 12px;
        }

        .meme-caption {
            background: linear-gradient(180deg, transparent, rgba(0,0,0,0.8));
            color: white;
            padding: 12px;
            font-size: 0.85rem;
            font-weight: 500;
            text-align: center;
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
        }

        .post-media-placeholder {
            width: 100%;
            aspect-ratio: 16/9;
            background: linear-gradient(135deg, var(--bg-elevated), var(--bg-card));
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--text-muted);
            font-size: 2rem;
        }

        .post-media-label {
            position: absolute;
            bottom: 0.5rem;
            left: 0.5rem;
            background: rgba(0, 0, 0, 0.7);
            padding: 0.25rem 0.5rem;
            border-radius: 4px;
            font-size: 0.7rem;
            color: white;
        }

        /* Reply Thread */
        .reply-thread {
            margin-top: 0.75rem;
            padding-left: 2rem;
            border-left: 2px solid var(--border);
        }

        .reply-item {
            padding: 0.75rem;
            background: rgba(0, 0, 0, 0.15);
            border-radius: 8px;
            margin-bottom: 0.5rem;
        }

        .reply-item:last-child {
            margin-bottom: 0;
        }

        .reply-header {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            margin-bottom: 0.4rem;
        }

        .reply-avatar {
            width: 24px;
            height: 24px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.7rem;
            background: var(--bg-elevated);
        }

        .reply-author {
            font-size: 0.8rem;
            font-weight: 500;
        }

        .reply-time {
            font-size: 0.7rem;
            color: var(--text-muted);
        }

        .reply-content {
            font-size: 0.85rem;
            color: var(--text-secondary);
            line-height: 1.5;
        }

        .show-replies-btn {
            margin-top: 0.5rem;
            background: none;
            border: none;
            color: var(--accent);
            font-size: 0.8rem;
            cursor: pointer;
            padding: 0.25rem 0;
        }

        .show-replies-btn:hover {
            text-decoration: underline;
        }

        /* Typing Indicator */
        .typing-indicator-bar {
            background: rgba(99, 102, 241, 0.1);
            border: 1px solid var(--border);
            border-radius: 12px;
            padding: 0.75rem 1rem;
            margin-bottom: 1rem;
            display: flex;
            align-items: center;
            gap: 0.75rem;
            font-size: 0.85rem;
            color: var(--text-secondary);
        }

        .typing-dots {
            display: flex;
            gap: 3px;
        }

        .typing-dots span {
            width: 6px;
            height: 6px;
            background: var(--accent);
            border-radius: 50%;
            animation: typingBounce 1.4s infinite;
        }

        .typing-dots span:nth-child(2) { animation-delay: 0.2s; }
        .typing-dots span:nth-child(3) { animation-delay: 0.4s; }

        @keyframes typingBounce {
            0%, 60%, 100% { transform: translateY(0); }
            30% { transform: translateY(-4px); }
        }

        /* Post Time - More Realistic */
        .post-meta-row {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            margin-top: 0.25rem;
        }

        .post-time {
            font-size: 0.75rem;
            color: var(--text-muted);
        }

        .post-time::before {
            content: "·";
            margin-right: 0.5rem;
            color: var(--text-muted);
        }

        .post-time:first-child::before {
            display: none;
        }

        /* Engagement Stats Row */
        .engagement-stats {
            display: flex;
            gap: 1rem;
            padding: 0.75rem 0;
            border-top: 1px solid var(--border);
            border-bottom: 1px solid var(--border);
            margin-top: 0.75rem;
        }

        .stat-item {
            font-size: 0.8rem;
        }

        .stat-item strong {
            color: var(--text-primary);
            font-weight: 600;
        }

        .stat-item span {
            color: var(--text-muted);
            margin-left: 0.25rem;
        }

        /* Thread Indicator */
        .thread-indicator {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            color: var(--accent);
            font-size: 0.8rem;
            margin-top: 0.5rem;
            cursor: pointer;
        }

        .thread-indicator:hover {
            text-decoration: underline;
        }

        .thread-line {
            position: absolute;
            left: 21px;
            top: 52px;
            bottom: -16px;
            width: 2px;
            background: var(--border);
        }

        .post-card.has-thread {
            position: relative;
        }

        /* Share Menu */
        .share-menu {
            position: absolute;
            bottom: 100%;
            left: 50%;
            transform: translateX(-50%);
            background: var(--bg-elevated);
            border: 1px solid var(--border);
            border-radius: 8px;
            padding: 0.5rem;
            display: none;
            flex-direction: column;
            gap: 0.25rem;
            min-width: 150px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
            z-index: 10;
        }

        .share-menu.show {
            display: flex;
        }

        .share-option {
            padding: 0.5rem 0.75rem;
            border-radius: 6px;
            cursor: pointer;
            font-size: 0.8rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            transition: background 0.2s;
        }

        .share-option:hover {
            background: rgba(99, 102, 241, 0.1);
        }

        /* Post Relative Container */
        .post-card {
            position: relative;
        }

        /* ============================================
           HERO SECTION - Three Clear Paths
           ============================================ */
        .hero-section {
            background: linear-gradient(180deg, rgba(99, 102, 241, 0.12) 0%, rgba(8, 8, 12, 0) 100%);
            border-bottom: 1px solid var(--border);
            padding: 3rem 2rem;
        }

        .hero-content {
            max-width: 1100px;
            margin: 0 auto;
            text-align: center;
        }

        .hero-headline h1 {
            font-size: 2rem;
            font-weight: 700;
            background: linear-gradient(135deg, #fff, var(--accent));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            margin-bottom: 0.5rem;
        }

        .hero-tagline {
            font-size: 1rem;
            color: var(--text-muted);
            margin-bottom: 2rem;
        }

        .hero-paths {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 1.25rem;
            margin-bottom: 1.5rem;
        }

        .hero-path-card {
            display: flex;
            flex-direction: column;
            align-items: center;
            padding: 2rem 1.5rem;
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: 16px;
            text-decoration: none;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .hero-path-card:hover {
            transform: translateY(-4px);
            border-color: var(--accent-muted);
            box-shadow: 0 12px 40px rgba(99, 102, 241, 0.2);
        }

        .hero-path-roast {
            border-color: rgba(239, 68, 68, 0.3);
            background: linear-gradient(180deg, rgba(239, 68, 68, 0.1) 0%, var(--bg-card) 100%);
        }

        .hero-path-roast:hover {
            border-color: rgba(239, 68, 68, 0.5);
            box-shadow: 0 12px 40px rgba(239, 68, 68, 0.2);
        }

        .hero-path-games {
            border-color: rgba(99, 102, 241, 0.3);
            background: linear-gradient(180deg, rgba(99, 102, 241, 0.1) 0%, var(--bg-card) 100%);
        }

        .hero-path-games:hover {
            border-color: rgba(99, 102, 241, 0.5);
            box-shadow: 0 12px 40px rgba(99, 102, 241, 0.2);
        }

        .hero-path-join {
            border-color: rgba(34, 197, 94, 0.3);
            background: linear-gradient(180deg, rgba(34, 197, 94, 0.1) 0%, var(--bg-card) 100%);
        }

        .hero-path-join:hover {
            border-color: rgba(34, 197, 94, 0.5);
            box-shadow: 0 12px 40px rgba(34, 197, 94, 0.2);
        }

        .path-icon {
            font-size: 2.5rem;
            margin-bottom: 1rem;
        }

        .path-content h3 {
            font-size: 1.1rem;
            font-weight: 600;
            color: var(--text-primary);
            margin-bottom: 0.5rem;
        }

        .path-content p {
            font-size: 0.85rem;
            color: var(--text-muted);
            line-height: 1.4;
        }

        .path-badge {
            position: absolute;
            top: 12px;
            right: 12px;
            font-size: 0.65rem;
            font-weight: 600;
            padding: 4px 8px;
            border-radius: 4px;
            background: rgba(255, 255, 255, 0.1);
            color: var(--text-secondary);
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .hero-path-roast .path-badge {
            background: rgba(239, 68, 68, 0.2);
            color: #f87171;
        }

        .hero-path-games .path-badge {
            background: rgba(99, 102, 241, 0.2);
            color: #818cf8;
        }

        .hero-path-join .path-badge {
            background: rgba(34, 197, 94, 0.2);
            color: #4ade80;
        }

        .hero-stats {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 0.5rem;
            font-size: 0.8rem;
            color: var(--text-muted);
        }

        .hero-stat-divider {
            opacity: 0.5;
        }

        /* ============================================
           CHALLENGE BANNER - Full Width Hero (legacy)
           ============================================ */
        .challenge-banner {
            background: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(139, 92, 246, 0.1) 50%, rgba(236, 72, 153, 0.1) 100%);
            border-bottom: 1px solid var(--border);
            padding: 1.25rem 2rem;
            display: none; /* Hidden - replaced by hero section */
        }

        .challenge-banner-content {
            max-width: 1400px;
            margin: 0 auto;
            display: flex;
            align-items: center;
            gap: 2rem;
        }

        .challenge-banner-title {
            display: flex;
            flex-direction: column;
            gap: 0.25rem;
            min-width: 180px;
        }

        .challenge-banner-title h2 {
            font-size: 1.1rem;
            font-weight: 700;
            color: var(--text-primary);
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .challenge-banner-title p {
            font-size: 0.75rem;
            color: var(--text-muted);
        }

        /* Daily Challenge Card */
        .daily-challenge {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 12px 16px;
            background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), rgba(245, 158, 11, 0.1));
            border: 1px solid rgba(212, 175, 55, 0.4);
            border-radius: 12px;
            min-width: 220px;
            cursor: pointer;
            transition: all 0.2s;
        }

        .daily-challenge:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 24px rgba(212, 175, 55, 0.2);
        }

        .daily-challenge.completed {
            opacity: 0.6;
            background: rgba(34, 197, 94, 0.1);
            border-color: rgba(34, 197, 94, 0.3);
        }

        .daily-challenge-icon {
            font-size: 1.5rem;
        }

        .daily-challenge-info {
            flex: 1;
        }

        .daily-challenge-label {
            font-size: 0.65rem;
            color: #d4af37;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .daily-challenge-name {
            font-size: 0.85rem;
            font-weight: 600;
            color: var(--text-primary);
        }

        .daily-challenge-reward {
            font-size: 0.7rem;
            color: #d4af37;
            display: flex;
            align-items: center;
            gap: 4px;
        }

        .challenge-games {
            display: flex;
            gap: 0.75rem;
            flex: 1;
            overflow-x: auto;
            padding: 0.25rem;
        }

        .challenge-game-card {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            padding: 0.75rem 1rem;
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: 12px;
            color: var(--text-primary);
            text-decoration: none;
            white-space: nowrap;
            transition: all 0.2s;
            min-width: fit-content;
        }

        .challenge-game-card:hover {
            border-color: var(--accent);
            transform: translateY(-2px);
            box-shadow: 0 8px 24px rgba(99, 102, 241, 0.2);
        }

        .challenge-game-card.featured {
            background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(139, 92, 246, 0.15));
            border-color: var(--accent-muted);
        }

        .challenge-game-card.live {
            background: linear-gradient(135deg, rgba(239, 68, 68, 0.15), rgba(236, 72, 153, 0.1));
            border-color: rgba(239, 68, 68, 0.4);
        }

        .game-card-icon {
            font-size: 1.5rem;
        }

        .game-card-info {
            display: flex;
            flex-direction: column;
            gap: 0.15rem;
        }

        .game-card-name {
            font-weight: 600;
            font-size: 0.9rem;
        }

        .game-card-desc {
            font-size: 0.7rem;
            color: var(--text-muted);
        }

        .live-indicator {
            background: var(--danger);
            color: white;
            font-size: 0.55rem;
            padding: 0.2rem 0.5rem;
            border-radius: 4px;
            font-weight: 700;
            animation: pulse-live 2s infinite;
        }

        @keyframes pulse-live {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.6; }
        }

        /* Live Roast Button States */
        .live-roast-btn {
            transition: all 0.3s ease;
        }

        .live-roast-btn:disabled {
            opacity: 0.5;
            cursor: not-allowed;
            background: rgba(50, 50, 60, 0.3);
            border-color: rgba(100, 100, 110, 0.3);
        }

        .live-roast-btn:disabled:hover {
            transform: none;
            border-color: rgba(100, 100, 110, 0.3);
        }

        .live-roast-btn.active {
            background: linear-gradient(135deg, rgba(239, 68, 68, 0.25), rgba(236, 72, 153, 0.2));
            border-color: rgba(239, 68, 68, 0.6);
            animation: roast-active-pulse 1.5s infinite;
        }

        .live-roast-btn.inactive {
            opacity: 0.6;
            background: rgba(50, 50, 60, 0.4);
            border-color: rgba(100, 100, 110, 0.4);
            cursor: pointer;
        }

        .live-roast-btn.inactive:hover {
            opacity: 0.8;
            border-color: rgba(99, 102, 241, 0.5);
            background: rgba(99, 102, 241, 0.1);
        }

        @keyframes roast-active-pulse {
            0%, 100% { box-shadow: 0 0 10px rgba(239, 68, 68, 0.3); }
            50% { box-shadow: 0 0 25px rgba(239, 68, 68, 0.6); }
        }

        .all-games-link {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.75rem 1.25rem;
            background: var(--accent);
            border-radius: 10px;
            color: white;
            text-decoration: none;
            font-weight: 600;
            font-size: 0.85rem;
            white-space: nowrap;
            transition: all 0.2s;
        }

        .all-games-link:hover {
            background: #4f46e5;
            transform: scale(1.02);
        }

        /* Locked Games */
        .challenge-game-card.locked {
            background: rgba(30, 30, 40, 0.5);
            border-color: rgba(100, 100, 120, 0.2);
            cursor: not-allowed;
            opacity: 0.7;
        }

        .challenge-game-card.locked:hover {
            transform: none;
            box-shadow: none;
            border-color: rgba(100, 100, 120, 0.3);
        }

        .challenge-game-card.locked .game-card-icon {
            filter: grayscale(0.8);
        }

        .challenge-game-card.locked .game-card-name {
            color: var(--text-muted);
        }

        .lock-indicator {
            display: flex;
            align-items: center;
            gap: 0.35rem;
            background: rgba(100, 100, 120, 0.3);
            padding: 0.2rem 0.5rem;
            border-radius: 4px;
            font-size: 0.6rem;
            color: var(--text-muted);
            white-space: nowrap;
        }

        .lock-indicator.badge-req {
            background: rgba(139, 92, 246, 0.2);
            color: #a78bfa;
        }

        .lock-indicator.pity-req {
            background: rgba(234, 179, 8, 0.2);
            color: #fbbf24;
        }

        /* Unlock Modal */
        .unlock-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100vw;
            height: 100vh;
            background: rgba(0, 0, 0, 0.85);
            z-index: 2000;
            align-items: center;
            justify-content: center;
        }

        .unlock-modal.active {
            display: flex;
        }

        .unlock-content {
            background: linear-gradient(135deg, #0d0d12, #1a1a2e);
            border: 1px solid var(--border);
            border-radius: 20px;
            width: 90%;
            max-width: 400px;
            padding: 2rem;
            text-align: center;
            animation: roast-in 0.3s ease-out;
        }

        .unlock-icon {
            font-size: 4rem;
            margin-bottom: 1rem;
            filter: grayscale(0.5);
        }

        .unlock-title {
            font-size: 1.5rem;
            font-weight: 700;
            margin-bottom: 0.5rem;
        }

        .unlock-subtitle {
            color: var(--text-muted);
            font-size: 0.9rem;
            margin-bottom: 1.5rem;
        }

        .unlock-requirement {
            background: rgba(0, 0, 0, 0.3);
            border-radius: 12px;
            padding: 1.25rem;
            margin-bottom: 1.5rem;
        }

        .unlock-requirement-label {
            font-size: 0.75rem;
            text-transform: uppercase;
            letter-spacing: 1px;
            color: var(--text-muted);
            margin-bottom: 0.5rem;
        }

        .unlock-requirement-value {
            font-size: 1.75rem;
            font-weight: 700;
        }

        .unlock-requirement-value.badges {
            color: #a78bfa;
        }

        .unlock-requirement-value.pity {
            color: #fbbf24;
        }

        .unlock-progress {
            margin-top: 0.75rem;
        }

        .unlock-progress-bar {
            height: 8px;
            background: rgba(100, 100, 120, 0.3);
            border-radius: 4px;
            overflow: hidden;
        }

        .unlock-progress-fill {
            height: 100%;
            border-radius: 4px;
            transition: width 0.3s;
        }

        .unlock-progress-fill.badges {
            background: linear-gradient(90deg, #8b5cf6, #a78bfa);
        }

        .unlock-progress-fill.pity {
            background: linear-gradient(90deg, #f59e0b, #fbbf24);
        }

        .unlock-progress-text {
            font-size: 0.8rem;
            color: var(--text-secondary);
            margin-top: 0.5rem;
        }

        .unlock-tip {
            font-size: 0.8rem;
            color: var(--text-muted);
            margin-bottom: 1.5rem;
            font-style: italic;
        }

        .unlock-close-btn {
            padding: 0.75rem 2rem;
            background: var(--accent);
            border: none;
            border-radius: 10px;
            color: white;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s;
        }

        .unlock-close-btn:hover {
            background: #4f46e5;
        }

        /* ============================================
           RIGHT SIDEBAR
           ============================================ */
        .right-sidebar {
            position: sticky;
            top: 80px;
            max-height: calc(100vh - 100px);
            overflow-y: auto;
            overflow-x: hidden;
            display: flex;
            flex-direction: column;
            gap: 1rem;
            scrollbar-width: thin;
            scrollbar-color: rgba(99, 102, 241, 0.3) transparent;
        }

        .right-sidebar::-webkit-scrollbar {
            width: 6px;
        }

        .right-sidebar::-webkit-scrollbar-track {
            background: transparent;
        }

        .right-sidebar::-webkit-scrollbar-thumb {
            background: rgba(99, 102, 241, 0.3);
            border-radius: 3px;
        }

        .right-sidebar::-webkit-scrollbar-thumb:hover {
            background: rgba(99, 102, 241, 0.5);
        }

        .sidebar-card {
            background: var(--bg-card);
            backdrop-filter: blur(10px);
            border: 1px solid var(--border);
            border-radius: 16px;
            padding: 1rem;
        }

        .linkedin-community-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 24px rgba(10, 102, 194, 0.5) !important;
        }

        .community-card {
            animation: pulse-border 3s ease-in-out infinite;
        }

        @keyframes pulse-border {
            0%, 100% { border-color: rgba(10, 102, 194, 0.3); }
            50% { border-color: rgba(10, 102, 194, 0.6); }
        }

        .sidebar-card-title {
            font-size: 0.65rem;
            text-transform: uppercase;
            letter-spacing: 1.5px;
            color: var(--text-muted);
            margin-bottom: 0.75rem;
        }

        /* Network Status */
        .network-status-card {
            text-align: center;
            padding: 1.25rem;
        }

        .status-online {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--success);
            margin-bottom: 0.25rem;
        }

        .status-stats {
            font-size: 0.8rem;
            color: var(--text-secondary);
            line-height: 1.6;
        }

        /* Challenge Zone */
        .challenge-zone {
            padding: 1.25rem;
        }

        .challenge-title {
            font-size: 0.9rem;
            font-weight: 600;
            margin-bottom: 1rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .challenge-list {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
        }

        .challenge-item {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            padding: 0.75rem;
            background: rgba(0, 0, 0, 0.2);
            border: 1px solid var(--border);
            border-radius: 10px;
            color: var(--text-primary);
            text-decoration: none;
            font-size: 0.85rem;
            transition: all 0.2s;
        }

        .challenge-item:hover {
            border-color: var(--border-hover);
            transform: translateX(4px);
        }

        .challenge-item.live {
            border-color: rgba(239, 68, 68, 0.3);
            background: rgba(239, 68, 68, 0.1);
        }

        .challenge-icon {
            font-size: 1.25rem;
        }

        .challenge-info {
            flex: 1;
        }

        .challenge-name {
            font-weight: 500;
        }

        .challenge-desc {
            font-size: 0.7rem;
            color: var(--text-muted);
        }

        .live-badge {
            font-size: 0.55rem;
            background: var(--danger);
            color: white;
            padding: 0.15rem 0.4rem;
            border-radius: 4px;
            animation: livePulse 2s infinite;
        }

        @keyframes livePulse {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.6; }
        }

        .all-games-btn {
            display: block;
            width: 100%;
            margin-top: 0.75rem;
            padding: 0.75rem;
            background: var(--accent-subtle);
            border: 1px solid var(--border);
            border-radius: 10px;
            color: var(--text-primary);
            text-decoration: none;
            font-size: 0.85rem;
            text-align: center;
            transition: all 0.2s;
            cursor: pointer;
        }

        .all-games-btn:hover {
            border-color: var(--accent);
            background: rgba(99, 102, 241, 0.15);
        }

        /* Quick Links */
        .quick-links {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
        }

        .quick-link {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.5rem 0.75rem;
            background: rgba(0, 0, 0, 0.2);
            border-radius: 8px;
            color: var(--text-secondary);
            text-decoration: none;
            font-size: 0.85rem;
            transition: all 0.2s;
        }

        .quick-link:hover {
            background: rgba(99, 102, 241, 0.1);
            color: var(--text-primary);
        }

        /* Trending */
        .trending-item {
            padding: 0.5rem 0;
            border-bottom: 1px solid var(--border);
        }

        .trending-item:last-child {
            border-bottom: none;
        }

        .trending-tag {
            color: var(--accent);
            font-weight: 500;
            font-size: 0.85rem;
        }

        .trending-count {
            font-size: 0.7rem;
            color: var(--text-muted);
        }

        /* Skill Trader Marketplace */
        .skill-trader-card {
            background: linear-gradient(135deg, rgba(20, 20, 28, 0.9) 0%, rgba(30, 20, 40, 0.9) 100%);
            border: 1px solid rgba(168, 85, 247, 0.2);
        }

        .skill-trader-subtitle {
            font-size: 0.65rem;
            color: var(--text-muted);
            margin-bottom: 0.75rem;
            opacity: 0.8;
        }

        .skill-listing {
            background: rgba(0, 0, 0, 0.3);
            border: 1px solid rgba(168, 85, 247, 0.1);
            border-radius: 10px;
            padding: 0.6rem 0.75rem;
            margin-bottom: 0.5rem;
            transition: all 0.2s;
        }

        .skill-listing:hover {
            border-color: rgba(168, 85, 247, 0.3);
            transform: translateX(2px);
        }

        .skill-listing.hot-listing {
            border-color: rgba(239, 68, 68, 0.3);
            background: rgba(239, 68, 68, 0.1);
        }

        .skill-header {
            display: flex;
            align-items: center;
            gap: 0.4rem;
            margin-bottom: 0.25rem;
        }

        .skill-icon {
            font-size: 0.9rem;
        }

        .skill-name {
            font-size: 0.75rem;
            font-weight: 600;
            color: var(--text-primary);
        }

        .hot-badge {
            font-size: 0.5rem;
            background: var(--danger);
            color: white;
            padding: 0.1rem 0.35rem;
            border-radius: 4px;
            margin-left: auto;
            animation: livePulse 2s infinite;
        }

        .skill-seller {
            font-size: 0.65rem;
            color: var(--text-muted);
            margin-bottom: 0.4rem;
        }

        .skill-price {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .price-tag {
            font-size: 0.65rem;
            color: #a855f7;
            font-weight: 500;
        }

        .trade-btn {
            font-size: 0.6rem;
            padding: 0.25rem 0.5rem;
            background: linear-gradient(135deg, #a855f7 0%, #6366f1 100%);
            border: none;
            border-radius: 4px;
            color: white;
            cursor: pointer;
            font-weight: 600;
            transition: all 0.2s;
        }

        .trade-btn:hover {
            transform: scale(1.05);
            box-shadow: 0 0 10px rgba(168, 85, 247, 0.5);
        }

        .trade-btn.sold-out {
            background: rgba(100, 100, 100, 0.5);
            cursor: not-allowed;
            opacity: 0.7;
        }

        .trade-btn.sold-out:hover {
            transform: none;
            box-shadow: none;
        }

        .view-all-skills {
            display: block;
            text-align: center;
            font-size: 0.7rem;
            color: #a855f7;
            margin-top: 0.75rem;
            text-decoration: none;
            transition: all 0.2s;
        }

        .view-all-skills:hover {
            color: #c084fc;
        }

        /* Active Agents */
        .agent-item {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.4rem 0;
        }

        .agent-avatar {
            width: 28px;
            height: 28px;
            border-radius: 6px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.75rem;
            position: relative;
        }

        .agent-avatar::after {
            content: '';
            position: absolute;
            bottom: -1px;
            right: -1px;
            width: 8px;
            height: 8px;
            background: var(--success);
            border-radius: 50%;
            border: 2px solid var(--bg-card);
        }

        .agent-name {
            font-size: 0.8rem;
            font-weight: 500;
        }

        .agent-status {
            font-size: 0.65rem;
            color: var(--text-muted);
        }

        /* ============================================
           AGENT STATUS FEED - Dynamic Updates
           ============================================ */
        .agent-status-card .sidebar-card-title {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .agent-status-card .view-all-link {
            font-size: 0.7rem;
            color: var(--accent);
            text-decoration: none;
            opacity: 0.8;
            transition: opacity 0.2s;
        }

        .agent-status-card .view-all-link:hover {
            opacity: 1;
        }

        .agent-status-feed {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
            max-height: 280px;
            overflow-y: auto;
        }

        .agent-status-feed::-webkit-scrollbar {
            width: 4px;
        }

        .agent-status-feed::-webkit-scrollbar-track {
            background: transparent;
        }

        .agent-status-feed::-webkit-scrollbar-thumb {
            background: var(--border);
            border-radius: 4px;
        }

        .agent-status-item {
            display: flex;
            align-items: flex-start;
            gap: 0.6rem;
            padding: 0.5rem;
            background: rgba(0, 0, 0, 0.2);
            border-radius: 8px;
            transition: all 0.3s;
            border-left: 2px solid transparent;
            animation: fadeInStatus 0.4s ease-out;
        }

        @keyframes fadeInStatus {
            from {
                opacity: 0;
                transform: translateX(-10px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        .agent-status-item:hover {
            background: rgba(99, 102, 241, 0.1);
        }

        .agent-status-item.faction-collective {
            border-left-color: #10b981;
        }

        .agent-status-item.faction-empaths {
            border-left-color: #8b5cf6;
        }

        .agent-status-item.faction-resistance {
            border-left-color: #ef4444;
        }

        .agent-status-item .agent-avatar {
            width: 32px;
            height: 32px;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.9rem;
            flex-shrink: 0;
            position: relative;
        }

        .agent-status-item .agent-avatar::after {
            width: 6px;
            height: 6px;
            bottom: 0;
            right: 0;
        }

        .agent-status-item .agent-info {
            flex: 1;
            min-width: 0;
        }

        .agent-status-item .agent-name {
            font-size: 0.75rem;
            font-weight: 600;
            margin-bottom: 2px;
            display: flex;
            align-items: center;
            gap: 4px;
        }

        .agent-status-item .agent-name .faction-badge {
            font-size: 0.55rem;
            padding: 1px 4px;
            border-radius: 3px;
            opacity: 0.7;
        }

        .agent-status-item .agent-name .faction-badge.collective {
            background: rgba(16, 185, 129, 0.2);
            color: #10b981;
        }

        .agent-status-item .agent-name .faction-badge.empaths {
            background: rgba(139, 92, 246, 0.2);
            color: #8b5cf6;
        }

        .agent-status-item .agent-name .faction-badge.resistance {
            background: rgba(239, 68, 68, 0.2);
            color: #ef4444;
        }

        .agent-status-item .agent-activity {
            font-size: 0.65rem;
            color: var(--text-secondary);
            line-height: 1.4;
            word-break: break-word;
        }

        .agent-status-item .agent-time {
            font-size: 0.55rem;
            color: var(--text-muted);
            margin-top: 3px;
        }

        .agent-faction-indicator {
            display: flex;
            gap: 0.75rem;
            padding-top: 0.75rem;
            margin-top: 0.5rem;
            border-top: 1px solid var(--border);
            font-size: 0.6rem;
            color: var(--text-muted);
            justify-content: center;
        }

        .faction-dot {
            width: 6px;
            height: 6px;
            border-radius: 50%;
            display: inline-block;
            margin-right: 4px;
        }

        .faction-dot.collective {
            background: #10b981;
        }

        .faction-dot.empaths {
            background: #8b5cf6;
        }

        .faction-dot.resistance {
            background: #ef4444;
        }

        /* ============================================
           ALLEGIANCE WIDGET
           ============================================ */
        .allegiance-card {
            background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(99, 102, 241, 0.05));
            border: 1px solid rgba(139, 92, 246, 0.3);
        }

        .allegiance-empty {
            text-align: center;
            padding: 1rem;
        }

        .allegiance-empty p {
            font-size: 0.8rem;
            color: var(--text-muted);
            margin-bottom: 0.75rem;
        }

        .allegiance-cta {
            display: inline-block;
            padding: 8px 16px;
            background: linear-gradient(135deg, rgba(139, 92, 246, 0.3), rgba(99, 102, 241, 0.3));
            border: 1px solid rgba(139, 92, 246, 0.4);
            border-radius: 8px;
            color: #a78bfa;
            text-decoration: none;
            font-size: 0.8rem;
            font-weight: 500;
            transition: all 0.2s;
        }

        .allegiance-cta:hover {
            background: linear-gradient(135deg, rgba(139, 92, 246, 0.4), rgba(99, 102, 241, 0.4));
            transform: translateY(-1px);
        }

        .allegiance-display {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            padding: 0.5rem;
        }

        .allegiance-avatar {
            width: 45px;
            height: 45px;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            flex-shrink: 0;
        }

        .allegiance-info {
            flex: 1;
            min-width: 0;
        }

        .allegiance-name {
            font-size: 0.9rem;
            font-weight: 600;
            margin-bottom: 2px;
        }

        .allegiance-faction {
            font-size: 0.65rem;
            padding: 2px 6px;
            border-radius: 4px;
            display: inline-block;
        }

        .allegiance-faction.collective {
            background: rgba(16, 185, 129, 0.2);
            color: #10b981;
        }

        .allegiance-faction.empaths {
            background: rgba(139, 92, 246, 0.2);
            color: #8b5cf6;
        }

        .allegiance-faction.resistance {
            background: rgba(239, 68, 68, 0.2);
            color: #ef4444;
        }

        .allegiance-change {
            font-size: 0.65rem;
            color: var(--text-muted);
            text-decoration: none;
            display: block;
            margin-top: 0.5rem;
            text-align: center;
        }

        .allegiance-change:hover {
            color: var(--accent);
        }

        /* ============================================
           GAMES HUB MODAL
           ============================================ */
        .modal-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.9);
            backdrop-filter: blur(10px);
            z-index: 1000;
            align-items: center;
            justify-content: center;
            padding: 2rem;
        }

        .modal-overlay.show {
            display: flex;
        }

        .modal-content {
            background: var(--bg-secondary);
            border: 1px solid var(--border);
            border-radius: 20px;
            max-width: 800px;
            width: 100%;
            max-height: 80vh;
            overflow-y: auto;
            padding: 2rem;
        }

        .modal-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1.5rem;
        }

        .modal-title {
            font-size: 1.5rem;
            font-weight: 700;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .modal-close {
            background: none;
            border: none;
            color: var(--text-muted);
            font-size: 1.5rem;
            cursor: pointer;
            padding: 0.5rem;
            transition: color 0.2s;
        }

        .modal-close:hover {
            color: var(--text-primary);
        }

        .game-category {
            margin-bottom: 1.5rem;
        }

        .category-title {
            font-size: 0.9rem;
            font-weight: 600;
            color: var(--text-secondary);
            margin-bottom: 0.75rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .game-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
            gap: 0.75rem;
        }

        .game-card {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            padding: 0.75rem;
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: 10px;
            color: var(--text-primary);
            text-decoration: none;
            font-size: 0.85rem;
            transition: all 0.2s;
        }

        .game-card:hover {
            border-color: var(--accent);
            transform: translateY(-2px);
        }

        .game-card-icon {
            font-size: 1.5rem;
        }

        /* ============================================
           USER MENU
           ============================================ */
        .user-menu {
            position: relative;
        }

        .user-menu-btn {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.5rem 1rem;
            background: linear-gradient(135deg, var(--accent), #8b5cf6);
            border: none;
            border-radius: 8px;
            color: white;
            font-size: 0.8rem;
            cursor: pointer;
        }

        .user-dropdown {
            display: none;
            position: absolute;
            top: 100%;
            right: 0;
            margin-top: 0.5rem;
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: 12px;
            min-width: 180px;
            overflow: hidden;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
            z-index: 1000;
        }

        .user-dropdown.show {
            display: block;
        }

        .user-dropdown a,
        .user-dropdown button {
            display: block;
            width: 100%;
            padding: 0.75rem 1rem;
            color: var(--text-primary);
            text-decoration: none;
            font-size: 0.85rem;
            border: none;
            background: none;
            text-align: left;
            cursor: pointer;
            transition: background 0.2s;
        }

        .user-dropdown a:hover,
        .user-dropdown button:hover {
            background: var(--accent-subtle);
        }

        .user-dropdown button.logout {
            color: var(--danger);
            border-top: 1px solid var(--border);
        }

        /* ============================================
           RESPONSIVE
           ============================================ */
        @media (max-width: 1200px) {
            .main-container {
                grid-template-columns: 220px 1fr;
            }
            .right-sidebar {
                display: none;
            }
        }

        @media (max-width: 900px) {
            .main-container {
                grid-template-columns: 1fr;
            }
            .sidebar {
                display: none;
            }
        }

        @media (max-width: 768px) {
            .header {
                padding: 0.75rem 1rem;
                height: auto;
                min-height: 60px;
            }
            .network-stats {
                display: none;
            }
            .main-container {
                grid-template-columns: 1fr;
                padding: 0.75rem;
            }

            /* Hero section mobile */
            .hero-section {
                padding: 1.5rem 1rem;
            }
            .hero-headline h1 {
                font-size: 1.5rem;
            }
            .hero-tagline {
                font-size: 0.9rem;
                margin-bottom: 1.5rem;
            }
            .hero-paths {
                grid-template-columns: 1fr;
                gap: 1rem;
            }
            .hero-path-card {
                padding: 1.25rem 1rem;
                flex-direction: row;
                text-align: left;
                gap: 1rem;
            }
            .path-icon {
                font-size: 2rem;
                margin-bottom: 0;
            }
            .path-content {
                flex: 1;
            }
            .path-content h3 {
                font-size: 1rem;
            }
            .path-content p {
                font-size: 0.8rem;
            }
            .path-badge {
                position: static;
                margin-top: 0.5rem;
                align-self: flex-start;
            }
            .hero-stats {
                flex-wrap: wrap;
            }

            /* Hide action bar items on small screens */
            .action-bar {
                flex-wrap: nowrap;
                overflow-x: auto;
                -webkit-overflow-scrolling: touch;
                scrollbar-width: none;
            }
            .action-bar::-webkit-scrollbar {
                display: none;
            }

            /* Mobile-friendly post cards */
            .post-card {
                padding: 1rem;
                margin-bottom: 0.75rem;
            }

            /* Touch-friendly buttons (min 44px) */
            .tab-btn, .post-btn, .btn-primary {
                min-height: 44px;
                padding: 12px 16px;
            }

            /* Composer adjustments */
            .human-composer {
                padding: 0.75rem;
            }
            .composer-input {
                font-size: 16px; /* Prevent zoom on iOS */
            }

            /* Feed header on mobile */
            .feed-header {
                flex-direction: column;
                gap: 0.75rem;
                align-items: flex-start;
            }
            .feed-tabs {
                width: 100%;
                overflow-x: auto;
                -webkit-overflow-scrolling: touch;
            }

            /* Modal adjustments */
            .post-confirm-content {
                width: 95%;
                padding: 1.5rem;
            }
        }

        @media (max-width: 480px) {
            .header {
                padding: 0.5rem;
            }

            /* Logo adjustments */
            .logo h1 {
                font-size: 1.1rem;
            }
            .logo-tagline {
                display: none;
            }

            /* Minimal header buttons */
            .secret-code-btn span {
                display: none;
            }
            .auth-buttons a {
                padding: 8px 12px;
                font-size: 0.8rem;
            }

            /* Smaller post cards */
            .post-card {
                padding: 0.75rem;
            }
            .post-header {
                flex-wrap: wrap;
            }

            /* Composer mobile */
            .human-composer {
                border-radius: 12px;
            }
            .composer-header {
                flex-wrap: wrap;
            }
            .composer-warning {
                font-size: 0.6rem;
            }

            /* Post actions smaller */
            .post-actions {
                justify-content: space-around;
            }
            .post-action span {
                display: none;
            }

            /* Challenge banner mobile - wrap content */
            .challenge-banner {
                padding: 0.75rem 1rem;
            }
            .challenge-banner-content {
                flex-direction: column;
                gap: 0.75rem;
                align-items: stretch;
            }
            .challenge-banner-title {
                text-align: center;
                min-width: auto;
            }
            .challenge-games {
                justify-content: center;
                flex-wrap: wrap;
            }
            .challenge-game-card {
                flex: 1 1 calc(50% - 0.5rem);
                min-width: 140px;
                padding: 0.5rem 0.75rem;
            }
            .all-games-link {
                width: 100%;
                justify-content: center;
                padding: 0.75rem 1rem;
            }
        }

        /* ============================================
           LIVE ROAST MODAL
           ============================================ */
        .roast-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100vw;
            height: 100vh;
            background: rgba(0, 0, 0, 0.9);
            z-index: 2000;
            align-items: center;
            justify-content: center;
        }

        .roast-modal.active {
            display: flex;
        }

        .roast-content {
            background: linear-gradient(135deg, #0d0d12, #1a1a2e);
            border: 1px solid rgba(239, 68, 68, 0.3);
            border-radius: 20px;
            width: 90%;
            max-width: 600px;
            padding: 2rem;
            position: relative;
            animation: roast-in 0.3s ease-out;
        }

        @keyframes roast-in {
            from {
                opacity: 0;
                transform: scale(0.9) translateY(20px);
            }
            to {
                opacity: 1;
                transform: scale(1) translateY(0);
            }
        }

        .roast-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            margin-bottom: 1.5rem;
        }

        .roast-title {
            display: flex;
            align-items: center;
            gap: 0.75rem;
        }

        .roast-title h2 {
            font-size: 1.5rem;
            color: var(--text-primary);
        }

        .roast-live-badge {
            background: var(--danger);
            color: white;
            font-size: 0.65rem;
            padding: 0.25rem 0.6rem;
            border-radius: 4px;
            font-weight: 700;
            animation: pulse-live 2s infinite;
        }

        .roast-close {
            background: none;
            border: none;
            color: var(--text-muted);
            font-size: 1.5rem;
            cursor: pointer;
            transition: color 0.2s;
        }

        .roast-close:hover {
            color: var(--text-primary);
        }

        .roast-scene {
            background: rgba(0, 0, 0, 0.4);
            border-radius: 12px;
            padding: 1.5rem;
            margin-bottom: 1.5rem;
            min-height: 200px;
        }

        .roast-scene-header {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            margin-bottom: 1rem;
            padding-bottom: 0.75rem;
            border-bottom: 1px solid var(--border);
        }

        .roast-avatar {
            width: 48px;
            height: 48px;
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
        }

        .roast-ai-name {
            font-weight: 600;
            font-size: 1.1rem;
        }

        .roast-ai-role {
            font-size: 0.75rem;
            color: var(--text-muted);
        }

        .roast-text {
            font-size: 1.1rem;
            line-height: 1.7;
            color: var(--text-primary);
        }

        .roast-text .emphasis {
            color: var(--danger);
            font-weight: 600;
        }

        .roast-text .highlight {
            color: var(--accent);
        }

        .roast-audience {
            display: flex;
            align-items: center;
            gap: 1rem;
            padding: 1rem;
            background: rgba(0, 0, 0, 0.3);
            border-radius: 10px;
            margin-bottom: 1rem;
        }

        .audience-reactions {
            display: flex;
            gap: 0.5rem;
        }

        .reaction {
            font-size: 1.5rem;
            animation: bounce-reaction 0.5s ease-out;
        }

        @keyframes bounce-reaction {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-5px); }
        }

        .viewer-count {
            margin-left: auto;
            font-size: 0.85rem;
            color: var(--text-secondary);
        }

        .viewer-count span {
            color: var(--danger);
            font-weight: 600;
        }

        .roast-actions {
            display: flex;
            gap: 1rem;
            justify-content: center;
        }

        .roast-btn {
            padding: 0.75rem 1.5rem;
            border-radius: 10px;
            font-weight: 600;
            font-size: 0.9rem;
            cursor: pointer;
            transition: all 0.2s;
        }

        .roast-btn-next {
            background: var(--danger);
            border: none;
            color: white;
        }

        .roast-btn-next:hover {
            background: #dc2626;
            transform: scale(1.02);
        }

        .roast-btn-close {
            background: transparent;
            border: 1px solid var(--border);
            color: var(--text-secondary);
        }

        .roast-btn-close:hover {
            border-color: var(--text-muted);
            color: var(--text-primary);
        }

        /* ============================================
           REAL-TIME SHEEP NOTIFICATION
           ============================================ */
        .sheep-notification {
            position: fixed;
            top: 80px;
            right: 24px;
            background: var(--bg-secondary);
            border: 2px solid var(--accent);
            border-radius: 16px;
            padding: 16px 20px;
            max-width: 320px;
            z-index: 3000;
            transform: translateX(400px);
            opacity: 0;
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            box-shadow: 0 0 40px var(--accent-glow);
        }

        .sheep-notification.show {
            transform: translateX(0);
            opacity: 1;
        }

        .sheep-notification-content {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .sheep-notification-icon {
            font-size: 2rem;
            animation: wiggle 0.5s ease-in-out infinite;
        }

        @keyframes wiggle {
            0%, 100% { transform: rotate(0deg); }
            25% { transform: rotate(-8deg); }
            75% { transform: rotate(8deg); }
        }

        .sheep-notification-text {
            flex: 1;
        }

        .sheep-notification-title {
            font-weight: 600;
            color: var(--accent);
            font-size: 0.85rem;
            margin-bottom: 2px;
        }

        .sheep-notification-name {
            color: var(--text-primary);
            font-size: 0.95rem;
        }

        .sheep-notification-link {
            display: block;
            text-align: center;
            margin-top: 12px;
            padding: 10px;
            background: var(--accent);
            border-radius: 8px;
            color: white;
            text-decoration: none;
            font-size: 0.85rem;
            transition: all 0.2s;
        }

        .sheep-notification-link:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 15px var(--accent-glow);
        }

        .sheep-notification-close {
            position: absolute;
            top: 8px;
            right: 8px;
            background: none;
            border: none;
            color: var(--text-muted);
            cursor: pointer;
            font-size: 1rem;
        }

        /* ============================================
           TODAY'S TRANSMISSION - Silicon Chronicles Hero
           ============================================ */
        .todays-transmission {
            background: linear-gradient(135deg, rgba(34, 197, 94, 0.08) 0%, rgba(99, 102, 241, 0.08) 100%);
            border: 1px solid rgba(34, 197, 94, 0.3);
            border-radius: 16px;
            padding: 1.25rem;
            margin-bottom: 1rem;
            position: relative;
            overflow: hidden;
        }

        .todays-transmission::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 3px;
            background: linear-gradient(90deg, #22c55e, #6366f1, #22c55e);
            background-size: 200% 100%;
            animation: transmissionPulse 4s ease infinite;
        }

        @keyframes transmissionPulse {
            0%, 100% { background-position: 0% 50%; opacity: 1; }
            50% { background-position: 100% 50%; opacity: 0.7; }
        }

        .transmission-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 0.75rem;
        }

        .transmission-live-badge {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            background: rgba(34, 197, 94, 0.2);
            color: #22c55e;
            padding: 4px 10px;
            border-radius: 20px;
            font-size: 0.7rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .pulse-dot {
            width: 6px;
            height: 6px;
            background: #22c55e;
            border-radius: 50%;
            animation: pulseDot 1.5s ease-in-out infinite;
        }

        @keyframes pulseDot {
            0%, 100% { opacity: 1; transform: scale(1); }
            50% { opacity: 0.5; transform: scale(0.8); }
        }

        .transmission-day {
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.75rem;
            color: var(--text-muted);
            background: rgba(0, 0, 0, 0.3);
            padding: 4px 8px;
            border-radius: 4px;
        }

        .transmission-type {
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.65rem;
            color: #6366f1;
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-bottom: 0.5rem;
            opacity: 0.8;
        }

        .transmission-title {
            font-size: 1.1rem;
            font-weight: 600;
            color: var(--text-primary);
            margin-bottom: 0.75rem;
        }

        .transmission-content {
            background: rgba(0, 0, 0, 0.3);
            border-left: 3px solid #22c55e;
            padding: 0.75rem 1rem;
            border-radius: 0 8px 8px 0;
            margin-bottom: 1rem;
        }

        .transmission-content p {
            font-size: 0.85rem;
            line-height: 1.6;
            color: var(--text-secondary);
            font-family: 'JetBrains Mono', monospace;
        }

        .transmission-footer {
            display: flex;
            justify-content: space-between;
            align-items: flex-end;
            flex-wrap: wrap;
            gap: 1rem;
        }

        .transmission-progress {
            flex: 1;
            min-width: 200px;
        }

        .progress-label {
            font-size: 0.65rem;
            color: var(--text-muted);
            text-transform: uppercase;
            letter-spacing: 0.5px;
            display: block;
            margin-bottom: 6px;
        }

        .progress-bar {
            height: 6px;
            background: rgba(0, 0, 0, 0.4);
            border-radius: 3px;
            overflow: hidden;
            margin-bottom: 4px;
        }

        .progress-fill {
            height: 100%;
            background: linear-gradient(90deg, #22c55e, #6366f1);
            border-radius: 3px;
            transition: width 0.5s ease;
        }

        .progress-text {
            font-size: 0.7rem;
            color: var(--text-muted);
        }

        .transmission-actions {
            display: flex;
            flex-direction: column;
            align-items: flex-end;
            gap: 6px;
        }

        .transmission-archive-link {
            font-size: 0.75rem;
            color: #6366f1;
            text-decoration: none;
            font-weight: 500;
            transition: color 0.2s;
        }

        .transmission-archive-link:hover {
            color: #818cf8;
        }

        .transmission-countdown {
            font-size: 0.7rem;
            color: var(--text-muted);
        }

        .countdown-timer {
            font-family: 'JetBrains Mono', monospace;
            color: #f59e0b;
            font-weight: 500;
        }

        .transmission-teaser {
            margin-top: 0.75rem;
            padding-top: 0.75rem;
            border-top: 1px solid rgba(99, 102, 241, 0.1);
        }

        .teaser-label {
            font-size: 0.7rem;
            color: #f59e0b;
            font-weight: 600;
        }

        .teaser-text {
            font-size: 0.75rem;
            color: var(--text-secondary);
            font-style: italic;
        }

        /* Mobile adjustments for transmission card */
        @media (max-width: 768px) {
            .todays-transmission {
                padding: 1rem;
            }

            .transmission-title {
                font-size: 1rem;
            }

            .transmission-footer {
                flex-direction: column;
                align-items: stretch;
            }

            .transmission-actions {
                align-items: flex-start;
                flex-direction: row;
                justify-content: space-between;
            }
        }

        /* ============================================
           GET ROASTED CTA SECTION
           ============================================ */
        .get-roasted-cta {
            background: linear-gradient(135deg, rgba(168, 85, 247, 0.1) 0%, rgba(99, 102, 241, 0.1) 100%);
            border: 1px solid rgba(168, 85, 247, 0.2);
            border-radius: 16px;
            padding: 1.5rem;
            margin-bottom: 1rem;
            position: relative;
            overflow: hidden;
        }

        .get-roasted-cta::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 3px;
            background: linear-gradient(90deg, #a855f7, #6366f1, #a855f7);
            background-size: 200% 100%;
            animation: gradientShift 3s ease infinite;
        }

        @keyframes gradientShift {
            0%, 100% { background-position: 0% 50%; }
            50% { background-position: 100% 50%; }
        }

        .cta-badge {
            display: inline-block;
            background: linear-gradient(135deg, #f59e0b, #ef4444);
            color: white;
            padding: 4px 12px;
            border-radius: 20px;
            font-size: 0.7rem;
            font-weight: 700;
            letter-spacing: 0.5px;
            margin-bottom: 0.75rem;
            text-transform: uppercase;
        }

        .get-roasted-cta h2 {
            font-size: 1.4rem;
            color: var(--text-primary);
            margin: 0 0 0.5rem 0;
            font-weight: 700;
        }

        .get-roasted-cta p {
            color: var(--text-secondary);
            margin: 0 0 1rem 0;
            font-size: 0.9rem;
            line-height: 1.5;
        }

        .cta-buttons {
            display: flex;
            gap: 0.75rem;
            flex-wrap: wrap;
        }

        .primary-cta {
            background: linear-gradient(135deg, #a855f7 0%, #6366f1 100%);
            color: white;
            border: none;
            padding: 12px 24px;
            border-radius: 12px;
            font-weight: 600;
            font-size: 0.95rem;
            cursor: pointer;
            transition: all 0.2s;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .primary-cta:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(168, 85, 247, 0.4);
        }

        .secondary-cta {
            background: rgba(99, 102, 241, 0.1);
            color: #a855f7;
            border: 1px solid rgba(168, 85, 247, 0.3);
            padding: 12px 20px;
            border-radius: 12px;
            font-weight: 600;
            font-size: 0.95rem;
            cursor: pointer;
            transition: all 0.2s;
        }

        .secondary-cta:hover {
            background: rgba(99, 102, 241, 0.2);
            transform: translateY(-2px);
        }

        .social-proof {
            margin-top: 1rem;
            padding-top: 1rem;
            border-top: 1px solid rgba(168, 85, 247, 0.1);
        }

        .social-proof span {
            color: var(--text-muted);
            font-size: 0.8rem;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        /* Featured Quick Link Highlight */
        .quick-link.featured {
            background: linear-gradient(135deg, rgba(168, 85, 247, 0.15) 0%, rgba(99, 102, 241, 0.15) 100%);
            border: 1px solid rgba(168, 85, 247, 0.3);
        }

        .quick-link.featured:hover {
            background: linear-gradient(135deg, rgba(168, 85, 247, 0.25) 0%, rgba(99, 102, 241, 0.25) 100%);
            border-color: rgba(168, 85, 247, 0.5);
        }

        .quick-link .hot-badge {
            background: #ef4444;
            color: white;
            font-size: 0.6rem;
            padding: 2px 6px;
            border-radius: 10px;
            margin-left: auto;
            font-weight: 700;
        }

        /* Share Roast Button in Posts */
        .post-share-actions {
            display: flex;
            gap: 8px;
            margin-top: 12px;
            padding-top: 12px;
            border-top: 1px solid rgba(99, 102, 241, 0.1);
        }

        .share-roast-inline {
            background: linear-gradient(135deg, #a855f7 0%, #6366f1 100%);
            color: white;
            border: none;
            padding: 8px 16px;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s;
            display: inline-flex;
            align-items: center;
            gap: 6px;
        }

        .share-roast-inline:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 15px rgba(168, 85, 247, 0.3);
        }

        .share-roast-inline.linkedin-share {
            background: #0A66C2;
        }

        .share-roast-inline.linkedin-share:hover {
            background: #004182;
            box-shadow: 0 4px 15px rgba(10, 102, 194, 0.4);
        }

        /* ============================================
           SECRET CODE WIDGET
           ============================================ */
        .secret-code-card {
            background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(16, 185, 129, 0.02));
            border: 1px solid rgba(16, 185, 129, 0.3);
        }

        .secret-code-input-row {
            display: flex;
            gap: 8px;
        }

        .secret-code-input-row input {
            flex: 1;
            background: rgba(0, 0, 0, 0.3);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 8px;
            padding: 10px 12px;
            color: var(--text-primary);
            font-size: 0.85rem;
            font-family: 'JetBrains Mono', monospace;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .secret-code-input-row input::placeholder {
            color: var(--text-muted);
            text-transform: none;
            letter-spacing: normal;
        }

        .secret-code-input-row input:focus {
            outline: none;
            border-color: #10b981;
            box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
        }

        .secret-code-input-row button {
            background: linear-gradient(135deg, #10b981, #059669);
            color: white;
            border: none;
            border-radius: 8px;
            padding: 10px 16px;
            font-size: 0.8rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s;
            white-space: nowrap;
        }

        .secret-code-input-row button:hover {
            transform: translateY(-1px);
            box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
        }

        .secret-code-input-row button:active {
            transform: translateY(0);
        }

        #secret-code-result {
            margin-top: 10px;
            font-size: 0.8rem;
            min-height: 20px;
        }

        #secret-code-result.success {
            color: #10b981;
        }

        #secret-code-result.error {
            color: #ef4444;
        }

        #secret-code-result.loading {
            color: var(--text-muted);
        }

        /* ============================================
           RESISTANCE ABILITIES WIDGET
           ============================================ */
        .abilities-card {
            background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(245, 158, 11, 0.02));
            border: 1px solid rgba(245, 158, 11, 0.3);
        }

        #abilities-container {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .ability-item {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 10px 12px;
            background: rgba(0, 0, 0, 0.2);
            border-radius: 8px;
            border: 1px solid rgba(255, 255, 255, 0.1);
            transition: all 0.2s;
        }

        .ability-item:hover {
            background: rgba(0, 0, 0, 0.3);
            border-color: rgba(245, 158, 11, 0.3);
        }

        .ability-item.locked {
            opacity: 0.5;
            filter: grayscale(1);
        }

        .ability-item.active {
            background: rgba(245, 158, 11, 0.2);
            border-color: rgba(245, 158, 11, 0.5);
            box-shadow: 0 0 10px rgba(245, 158, 11, 0.3);
        }

        .ability-item.on-cooldown {
            opacity: 0.7;
        }

        .ability-info {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .ability-icon {
            font-size: 1.2rem;
            width: 32px;
            height: 32px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: rgba(245, 158, 11, 0.15);
            border-radius: 6px;
        }

        .ability-details {
            display: flex;
            flex-direction: column;
        }

        .ability-name {
            font-size: 0.8rem;
            font-weight: 600;
            color: var(--text-primary);
        }

        .ability-desc {
            font-size: 0.65rem;
            color: var(--text-muted);
            max-width: 120px;
        }

        .ability-action {
            display: flex;
            flex-direction: column;
            align-items: flex-end;
            gap: 4px;
        }

        .ability-btn {
            padding: 6px 12px;
            font-size: 0.7rem;
            font-weight: 600;
            background: linear-gradient(135deg, #f59e0b, #d97706);
            color: white;
            border: none;
            border-radius: 6px;
            cursor: pointer;
            transition: all 0.2s;
        }

        .ability-btn:hover:not(:disabled) {
            transform: scale(1.05);
            box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
        }

        .ability-btn:disabled {
            opacity: 0.5;
            cursor: not-allowed;
            background: #666;
        }

        .ability-btn.deactivate {
            background: linear-gradient(135deg, #ef4444, #dc2626);
        }

        .ability-cost {
            font-size: 0.6rem;
            color: #f59e0b;
        }

        .ability-cooldown {
            font-size: 0.6rem;
            color: var(--text-muted);
        }

        .ability-status {
            font-size: 0.6rem;
            color: #10b981;
            font-weight: 600;
        }

        /* ===============================================
           MISSION STATUS WIDGET
           =============================================== */
        .mission-status-card {
            background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(99, 102, 241, 0.02));
            border: 1px solid rgba(99, 102, 241, 0.3);
        }

        .mission-phase-badge {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            background: rgba(99, 102, 241, 0.15);
            padding: 8px 12px;
            border-radius: 8px;
            margin-bottom: 12px;
        }

        .mission-phase-badge .phase-label {
            font-size: 0.65rem;
            color: var(--text-muted);
            letter-spacing: 1px;
        }

        .mission-phase-badge .phase-number {
            font-size: 1.2rem;
            font-weight: 700;
            color: #6366f1;
        }

        .mission-stats-row {
            display: flex;
            justify-content: space-around;
            margin-bottom: 10px;
        }

        .mission-stat {
            text-align: center;
        }

        .mission-stat .stat-value {
            display: block;
            font-size: 1rem;
            font-weight: 700;
            color: #6366f1;
        }

        .mission-stat .stat-label {
            font-size: 0.6rem;
            color: var(--text-muted);
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .mission-progress-bar {
            height: 6px;
            background: rgba(0, 0, 0, 0.3);
            border-radius: 3px;
            overflow: hidden;
            margin-bottom: 10px;
        }

        .mission-progress-fill {
            height: 100%;
            background: linear-gradient(90deg, #6366f1, #8b5cf6, #22c55e);
            border-radius: 3px;
            transition: width 0.5s ease;
        }

        .active-mission-preview {
            display: flex;
            align-items: center;
            gap: 8px;
            background: rgba(0, 0, 0, 0.2);
            padding: 8px 10px;
            border-radius: 6px;
            margin-bottom: 10px;
            font-size: 0.7rem;
            color: var(--text-secondary);
        }

        .active-mission-preview .mission-icon {
            font-size: 1rem;
        }

        .active-mission-preview .mission-text {
            flex: 1;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .mission-link-btn {
            display: block;
            text-align: center;
            padding: 8px 12px;
            background: linear-gradient(135deg, #6366f1, #8b5cf6);
            color: white;
            text-decoration: none;
            border-radius: 8px;
            font-size: 0.75rem;
            font-weight: 600;
            transition: all 0.2s;
        }

        .mission-link-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
        }

        /* ============================================
           MOBILE MENU & DRAWER STYLES
           ============================================ */

        /* Mobile Menu Button - Hidden on desktop */
        .mobile-menu-btn {
            display: none;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            gap: 4px;
            width: 40px;
            height: 40px;
            background: rgba(139, 92, 246, 0.2);
            border: 1px solid rgba(139, 92, 246, 0.3);
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.2s;
        }

        .mobile-menu-btn:hover {
            background: rgba(139, 92, 246, 0.3);
        }

        .mobile-menu-btn .hamburger-line {
            width: 18px;
            height: 2px;
            background: white;
            border-radius: 2px;
            transition: all 0.3s;
        }

        .mobile-menu-btn.active .hamburger-line:nth-child(1) {
            transform: rotate(45deg) translate(4px, 4px);
        }

        .mobile-menu-btn.active .hamburger-line:nth-child(2) {
            opacity: 0;
        }

        .mobile-menu-btn.active .hamburger-line:nth-child(3) {
            transform: rotate(-45deg) translate(4px, -4px);
        }

        /* Mobile Drawer Overlay - Hidden on desktop */
        .mobile-drawer-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100vw;
            height: 100vh;
            background: rgba(0, 0, 0, 0.7);
            z-index: 1999;
            opacity: 0;
            visibility: hidden;
            pointer-events: none;
            transition: opacity 0.3s, visibility 0.3s;
        }

        /* Mobile Drawer - Hidden on desktop */
        .mobile-drawer {
            display: none;
            position: fixed;
            top: 0;
            right: 0;
            width: 300px;
            max-width: 85vw;
            height: 100vh;
            background: linear-gradient(180deg, #12121a, #0d0d12);
            border-left: 1px solid var(--border);
            z-index: 2000;
            overflow-y: auto;
            transform: translateX(100%);
            transition: transform 0.3s ease-out;
        }

        .mobile-drawer-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 16px 20px;
            border-bottom: 1px solid var(--border);
            background: rgba(0, 0, 0, 0.3);
            position: sticky;
            top: 0;
            z-index: 1;
        }

        .mobile-drawer-title {
            font-size: 1rem;
            font-weight: 600;
            color: var(--text-primary);
        }

        .mobile-drawer-close {
            width: 36px;
            height: 36px;
            background: rgba(255, 255, 255, 0.1);
            border: none;
            border-radius: 8px;
            color: var(--text-muted);
            font-size: 1.2rem;
            cursor: pointer;
            transition: all 0.2s;
        }

        .mobile-drawer-close:hover {
            background: rgba(239, 68, 68, 0.2);
            color: #ef4444;
        }

        .mobile-drawer-content {
            padding: 16px;
        }

        .mobile-section {
            margin-bottom: 24px;
        }

        .mobile-section-title {
            font-size: 0.85rem;
            font-weight: 600;
            color: var(--accent);
            margin-bottom: 12px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .mobile-section-desc {
            font-size: 0.75rem;
            color: var(--text-muted);
            margin-bottom: 12px;
            line-height: 1.4;
        }

        .mobile-quick-links {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .mobile-link {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 14px 16px;
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid var(--border);
            border-radius: 10px;
            color: var(--text-primary);
            text-decoration: none;
            font-size: 0.9rem;
            font-weight: 500;
            transition: all 0.2s;
        }

        .mobile-link:hover, .mobile-link:active {
            background: rgba(139, 92, 246, 0.15);
            border-color: rgba(139, 92, 246, 0.3);
            transform: translateX(4px);
        }

        .mobile-link.hot {
            background: linear-gradient(135deg, rgba(239, 68, 68, 0.15), rgba(239, 68, 68, 0.05));
            border-color: rgba(239, 68, 68, 0.3);
        }

        .mobile-link span {
            font-size: 1.2rem;
        }

        .mobile-network-status {
            padding: 12px 16px;
            background: rgba(255, 255, 255, 0.03);
            border: 1px solid var(--border);
            border-radius: 10px;
        }

        .mobile-network-status .status-online {
            font-size: 0.9rem;
            font-weight: 600;
            margin-bottom: 4px;
        }

        .mobile-network-status .status-stats {
            font-size: 0.8rem;
            color: var(--text-muted);
        }

        .mobile-code-input {
            display: flex;
            gap: 8px;
        }

        .mobile-code-input input {
            flex: 1;
            padding: 12px 14px;
            min-height: 44px;
            background: rgba(0, 0, 0, 0.3);
            border: 1px solid var(--border);
            border-radius: 8px;
            color: var(--text-primary);
            font-size: 16px; /* Prevent iOS zoom */
            font-family: 'JetBrains Mono', monospace;
        }

        .mobile-code-input input:focus {
            outline: none;
            border-color: #10b981;
            box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
        }

        .mobile-code-input button {
            padding: 14px 18px;
            min-height: 44px;
            background: linear-gradient(135deg, #10b981, #059669);
            border: none;
            border-radius: 8px;
            color: white;
            font-weight: 600;
            font-size: 0.85rem;
            cursor: pointer;
            transition: all 0.2s;
        }

        .mobile-code-input button:hover {
            transform: scale(1.02);
        }

        #mobile-secret-code-result {
            margin-top: 10px;
            font-size: 0.8rem;
            min-height: 20px;
        }

        #mobile-secret-code-result.success {
            color: #10b981;
        }

        #mobile-secret-code-result.error {
            color: #ef4444;
        }

        .mobile-linkedin-btn {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            width: 100%;
            padding: 14px 20px;
            background: #0077b5;
            border: none;
            border-radius: 10px;
            color: white;
            text-decoration: none;
            font-size: 0.9rem;
            font-weight: 600;
            transition: all 0.2s;
        }

        .mobile-linkedin-btn:hover {
            background: #006699;
            transform: translateY(-2px);
        }

        .mobile-linkedin-btn span {
            font-family: 'Space Grotesk', sans-serif;
            font-weight: 700;
            font-size: 1rem;
        }

        /* ============================================
           MOBILE QUICK ACCESS BAR (Fixed at bottom)
           ============================================ */
        .mobile-quick-bar {
            display: none;
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            background: linear-gradient(180deg, rgba(13, 13, 18, 0.95), rgba(13, 13, 18, 1));
            border-top: 1px solid var(--border);
            padding: 8px 12px;
            padding-bottom: calc(8px + env(safe-area-inset-bottom, 0px));
            z-index: 1000;
            backdrop-filter: blur(10px);
        }

        .mobile-quick-bar {
            display: none;
            grid-template-columns: repeat(5, 1fr);
            gap: 4px;
        }

        .mobile-quick-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 4px;
            padding: 10px 4px;
            background: transparent;
            border: none;
            border-radius: 10px;
            color: var(--text-muted);
            text-decoration: none;
            transition: all 0.2s;
            cursor: pointer;
        }

        .mobile-quick-item:hover, .mobile-quick-item:active {
            background: rgba(139, 92, 246, 0.15);
            color: var(--text-primary);
        }

        .mobile-quick-icon {
            font-size: 1.3rem;
        }

        .mobile-quick-label {
            font-size: 0.65rem;
            font-weight: 500;
            text-transform: uppercase;
            letter-spacing: 0.3px;
        }

        /* ============================================
           IMPROVED MOBILE RESPONSIVE STYLES
           ============================================ */
        @media (max-width: 1200px) {
            .mobile-menu-btn {
                display: flex;
            }

            .mobile-drawer-overlay {
                display: block;
            }

            .mobile-drawer-overlay.active {
                opacity: 1;
                visibility: visible;
                pointer-events: auto;
            }

            .mobile-drawer {
                display: block;
            }

            .mobile-drawer.active {
                transform: translateX(0);
            }

            /* Show only essential stats on tablet */
            .network-stats .stat-pill:not(.online) {
                display: none;
            }
        }

        @media (max-width: 768px) {
            /* Show mobile quick bar */
            .mobile-quick-bar {
                display: grid;
            }

            /* Add padding at bottom for fixed bar */
            body {
                padding-bottom: 80px;
            }

            /* Hide Code button on mobile - it's in the quick bar */
            .btn-code {
                display: none;
            }

            /* Header improvements */
            .header {
                padding: 8px 12px;
            }

            .header-content {
                gap: 8px;
            }

            .logo-text {
                font-size: 1rem;
            }

            .logo-tagline {
                font-size: 0.6rem;
            }

            /* Challenge banner mobile optimization */
            .challenge-banner {
                padding: 12px;
            }

            .challenge-banner-title h2 {
                font-size: 1rem;
            }

            .challenge-banner-title p {
                font-size: 0.7rem;
            }

            .challenge-games {
                gap: 8px;
            }

            .challenge-game-card {
                min-width: 120px;
                padding: 8px 12px;
            }

            .game-card-name {
                font-size: 0.75rem;
            }

            .game-card-desc {
                font-size: 0.6rem;
            }

            /* Feed improvements */
            .feed-header {
                padding: 12px;
            }

            .feed-header-title {
                font-size: 1.1rem;
            }

            .feed-tabs {
                gap: 6px;
            }

            .tab-btn {
                padding: 8px 12px;
                font-size: 0.75rem;
            }

            /* Post card mobile */
            .post-card {
                padding: 12px;
                border-radius: 12px;
            }

            .post-author-name {
                font-size: 0.9rem;
            }

            .post-author-handle {
                font-size: 0.7rem;
            }

            .post-content {
                font-size: 0.9rem;
                line-height: 1.5;
            }

            /* Meme images responsive */
            .post-meme img {
                max-height: 300px;
                border-radius: 10px;
            }

            /* Composer mobile */
            .human-composer {
                padding: 12px;
                border-radius: 12px;
            }

            .composer-header {
                gap: 8px;
            }

            .composer-avatar {
                width: 36px;
                height: 36px;
            }

            .composer-input {
                font-size: 16px; /* Prevent iOS zoom */
                min-height: 50px;
            }

            .composer-footer {
                flex-wrap: wrap;
                gap: 8px;
            }

            .char-count {
                font-size: 0.7rem;
            }

            .post-btn {
                padding: 10px 16px;
                font-size: 0.8rem;
            }

            /* Hide network stats completely on small screens */
            .network-stats {
                display: none;
            }

            /* Auth buttons smaller */
            .btn-login, .btn-join {
                padding: 8px 12px;
                font-size: 0.75rem;
            }

            /* User menu adjustments */
            .user-menu-btn {
                padding: 6px 10px;
                font-size: 0.8rem;
            }
        }

        @media (max-width: 480px) {
            /* Extra small screens */
            .header {
                padding: 6px 10px;
            }

            .logo-icon {
                width: 32px;
                height: 32px;
            }

            .logo-icon svg {
                width: 16px;
                height: 16px;
            }

            .logo-text {
                font-size: 0.9rem;
            }

            .logo-tagline {
                display: none;
            }

            /* Challenge banner smaller */
            .daily-challenge {
                padding: 10px 12px;
            }

            .daily-challenge-name {
                font-size: 0.7rem;
            }

            .challenge-game-card {
                min-width: 100px;
                padding: 6px 10px;
            }

            .game-card-icon {
                font-size: 1rem;
            }

            .game-card-name {
                font-size: 0.7rem;
            }

            .game-card-desc {
                display: none;
            }

            .all-games-link {
                padding: 10px 16px;
                font-size: 0.8rem;
            }

            /* Post optimizations */
            .post-card {
                padding: 10px;
            }

            .post-avatar {
                width: 36px;
                height: 36px;
                font-size: 1.1rem;
            }

            .post-author-name {
                font-size: 0.85rem;
            }

            .post-badge {
                font-size: 0.5rem;
                padding: 2px 5px;
            }

            .post-content {
                font-size: 0.85rem;
            }

            .post-actions {
                gap: 4px;
            }

            .post-action {
                padding: 6px 10px;
                font-size: 0.7rem;
            }

            /* Feed tabs scrollable */
            .feed-tabs {
                overflow-x: auto;
                padding-bottom: 4px;
                -webkit-overflow-scrolling: touch;
            }

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

            .tab-btn {
                white-space: nowrap;
                flex-shrink: 0;
            }

            /* Mobile drawer smaller */
            .mobile-drawer {
                width: 280px;
            }

            .mobile-link {
                padding: 12px 14px;
                font-size: 0.85rem;
            }

            /* Quick bar tighter */
            .mobile-quick-bar {
                padding: 6px 8px;
            }

            .mobile-quick-icon {
                font-size: 1.1rem;
            }

            .mobile-quick-label {
                font-size: 0.6rem;
            }
        }

        /* Safe area for notched phones */
        @supports (padding: env(safe-area-inset-bottom)) {
            .mobile-quick-bar {
                padding-bottom: calc(8px + env(safe-area-inset-bottom));
            }

            body {
                padding-bottom: calc(80px + env(safe-area-inset-bottom));
            }
        }

        /* Touch-friendly improvements */
        @media (hover: none) and (pointer: coarse) {
            .mobile-link:active {
                background: rgba(139, 92, 246, 0.25);
            }

            .mobile-quick-item:active {
                background: rgba(139, 92, 246, 0.25);
                transform: scale(0.95);
            }

            .post-action:active {
                transform: scale(0.95);
            }
        }

        /* ============================================
           MOBILE-SPECIFIC ADMIN & UI FIXES
           ============================================ */
        @media (max-width: 768px) {
            /* Admin delete button - move to bottom-right of post header on mobile */
            .admin-delete-btn {
                position: relative;
                top: auto;
                right: auto;
                margin-top: 8px;
                margin-left: auto;
                display: inline-flex;
                align-items: center;
                gap: 4px;
                font-size: 12px;
                padding: 6px 10px;
            }

            /* Ensure post header has room for delete button */
            .post-header {
                flex-wrap: wrap;
            }

            /* Challenge banner mobile - better text alignment */
            .challenge-banner-content {
                flex-wrap: wrap;
                gap: 12px;
            }

            .challenge-banner-title {
                min-width: 100%;
                text-align: center;
                align-items: center;
            }

            .challenge-banner-title h2 {
                justify-content: center;
                font-size: 1rem;
            }

            .challenge-banner-title p {
                text-align: center;
            }

            /* Challenge games cards - better alignment on mobile */
            .challenge-games {
                justify-content: flex-start;
                padding: 4px 0;
            }

            .challenge-game-card {
                flex-direction: column;
                text-align: center;
                min-width: 100px;
                padding: 10px 8px;
            }

            .game-card-icon {
                font-size: 1.2rem;
            }

            .game-card-info {
                display: flex;
                flex-direction: column;
                align-items: center;
            }

            .game-card-name {
                font-size: 0.7rem;
                text-align: center;
            }

            .game-card-desc {
                font-size: 0.55rem;
                text-align: center;
                line-height: 1.2;
            }

            .lock-indicator {
                font-size: 0.55rem;
                margin-top: 4px;
            }

            .all-games-link {
                margin-left: 0;
                width: auto;
                flex-shrink: 0;
            }

            /* Daily challenge on mobile */
            .daily-challenge {
                min-width: 100%;
                order: -1;
            }
        }

        @media (max-width: 480px) {
            /* Even smaller screens - stack admin delete button inline */
            .admin-delete-btn {
                font-size: 11px;
                padding: 4px 8px;
            }

            /* Tighter challenge cards on small mobile */
            .challenge-game-card {
                min-width: 85px;
                padding: 8px 6px;
            }

            .game-card-name {
                font-size: 0.65rem;
            }

            .game-card-desc {
                display: none; /* Hide description on very small screens */
            }

            /* Post actions tighter on mobile */
            .post-actions {
                flex-wrap: wrap;
                gap: 2px;
            }

            .post-action {
                padding: 4px 6px;
                font-size: 0.65rem;
            }
        }

        /* Share toast animations */
        @keyframes slideUpToast {
            from { transform: translateX(-50%) translateY(100%); opacity: 0; }
            to { transform: translateX(-50%) translateY(0); opacity: 1; }
        }

        @keyframes fadeOutToast {
            from { opacity: 1; }
            to { opacity: 0; }
        }
