/* Feed page styles — extracted from feed.html inline <style> blocks */
            :root {
                --primary-purple: #8B5CF6;
                --light-purple: #C4B5FD;
                --dark-purple: #7C3AED;
                --secondary-pink: #EC4899;
                --light-pink: #F9A8D4;
                --light-gray: #F3F4F6;
                --medium-gray: #D1D5DB;
                --dark-gray: #6B7280;
                --background-color: #F9FAFB;
                --text-color: #374151;
                --success-green: #10B981;
                --error-red: #EF4444;
                --warning-yellow: #F59E0B;
                --card-background: #ffffff;
                --border-color: #E5E7EB;
            }

            /* Wallet container styles */
            .wallet-container {
                display: flex;
                align-items: center;
                gap: 8px;
                margin-right: 8px;
            }

            .token-balance {
                display: flex;
                align-items: center;
                background: linear-gradient(45deg, var(--primary-purple), var(--secondary-pink));
                color: white;
                padding: 4px 8px;
                border-radius: 1rem;
                font-weight: 600;
                font-size: 0.875rem;
                transition: all 0.3s ease;
                box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
            }

            .token-balance:hover {
                transform: translateY(-2px);
                box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            }

            .token-balance.hidden {
                display: none;
            }

            .token-symbol {
                margin-left: 4px;
                font-size: 0.75rem;
                opacity: 0.9;
            }

            /* Animation for token balance updates */
            @keyframes pulse {
                0% {
                    transform: scale(1);
                }

                50% {
                    transform: scale(1.1);
                }

                100% {
                    transform: scale(1);
                }
            }

            .token-balance.updated {
                animation: pulse 0.5s ease;
            }

            body {
                font-family: 'Inter', sans-serif;
                line-height: 1.5;
                background-color: var(--background-color);
                color: var(--text-color);
                margin: 0;
                padding: 0;
                box-sizing: border-box;
            }

            /* Feed transition animations */
            @keyframes fadeOut {
                from {
                    opacity: 1;
                    transform: translateY(0);
                }

                to {
                    opacity: 0;
                    transform: translateY(-20px);
                }
            }

            @keyframes fadeIn {
                from {
                    opacity: 0;
                    transform: translateY(20px);
                }

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

            .feed-transition-out {
                animation: fadeOut 0.3s ease-out forwards;
            }

            .feed-transition-in {
                animation: fadeIn 0.3s ease-out forwards;
            }

            .feed-style-btn {
                padding: 0.5rem 1.5rem !important;
                border-radius: 0.5rem !important;
                border: none !important;
                cursor: pointer !important;
                font-weight: 500 !important;
                transition: all 0.3s ease !important;
                position: relative;
                background: #f3f4f6 !important;
                /* Default background */
                color: #666 !important;
                /* Default text color */
                overflow: visible;
                /* Changed from hidden to visible */
            }

            .feed-style-btn:before {
                content: '';
                position: absolute;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
                background: linear-gradient(to right, var(--primary-purple), var(--primary-pink));
                border-radius: 0.5rem;
                z-index: 0;
                /* Set to 0 to go behind text */
                opacity: 0;
                transition: opacity 0.3s ease;
            }

            .feed-style-btn.active {
                color: white !important;
                /* Force white text for active button */
            }

            .feed-style-btn.active:before {
                opacity: 1;
            }

            .feed-style-btn span {
                position: relative;
                z-index: 1;
                /* Make text appear above the background */
            }

            .feed-style-btn:active {
                transform: scale(0.95) !important;
            }

            .feed-style-btn:hover {
                transform: translateY(-2px);
                box-shadow: 0 4px 6px rgba(139, 92, 246, 0.1);
            }

            .feed-style-selector {
                background: white;
                border-radius: 1rem;
                padding: 1rem;
                margin-bottom: 2rem;
                box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
                display: flex;
                justify-content: center;
                gap: 1rem;
                transition: all 0.3s ease;
            }

            .loading-indicator {
                display: flex;
                flex-direction: column;
                align-items: center;
                justify-content: center;
                padding: 2rem;
                opacity: 0;
                animation: fadeIn 0.3s ease-out forwards;
            }

            .loading-indicator .spinner {
                width: 40px;
                height: 40px;
                border: 3px solid rgba(139, 92, 246, 0.2);
                border-radius: 50%;
                border-top-color: var(--primary-purple);
                animation: spin 1s linear infinite;
                margin-bottom: 1rem;
            }

            @keyframes spin {
                to {
                    transform: rotate(360deg);
                }
            }

            #feedTitle {
                transition: opacity 0.3s;
                font-weight: 600;
                background: linear-gradient(to right, var(--primary-purple), var(--primary-pink));
                -webkit-background-clip: text;
                background-clip: text;
                color: transparent;
                display: inline-block;
            }

            /* Add premium post badge styles */
            .premium-post-badge {
                position: absolute;
                top: -8px;
                right: -8px;
                background: linear-gradient(135deg, #8B5CF6, #EC4899);
                color: white;
                border-radius: 50%;
                width: 22px;
                height: 22px;
                display: flex;
                align-items: center;
                justify-content: center;
                font-size: 12px;
                box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
                z-index: 1;
            }

            .post {
                position: relative;
            }

            /* Compose box styles */
            #compose-container {
                background-color: #fff;
                border-radius: 12px;
                box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
                margin-bottom: 20px;
                overflow: visible;
                position: relative;
                border: 1px solid #e1e8ed;
                transition: height 0.3s ease, max-height 0.3s ease;
            }

            .collapsed-post-box {
                padding: 16px;
                display: flex;
                align-items: center;
                cursor: pointer;
                border-radius: 12px;
            }

            .collapsed-post-content {
                display: flex;
                align-items: center;
                flex: 1;
            }

            .collapsed-avatar {
                width: 40px;
                height: 40px;
                border-radius: 50%;
                margin-right: 12px;
                object-fit: cover;
            }

            .collapsed-prompt {
                color: #777;
                flex: 1;
            }

            .collapsed-icons {
                display: flex;
                gap: 12px;
            }

            .collapsed-icon {
                color: #555;
                font-size: 18px;
            }

            /* Expanded compose box */
            #create-post {
                background-color: #fff;
                border-radius: 10px;
                padding: 20px;
                margin-bottom: 0;
                box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
                max-height: 650px;
                transition: max-height 0.28s ease-in-out, padding 0.28s ease-in-out, opacity 0.22s ease-in-out, margin 0.28s ease-in-out;
                overflow: visible;
                display: flex;
                flex-direction: column;
                position: relative;
            }

            #create-post.compose-closing {
                max-height: 0 !important;
                padding-top: 0 !important;
                padding-bottom: 0 !important;
                margin: 0 !important;
                opacity: 0;
                overflow: hidden !important;
                pointer-events: none;
            }

            #compose-container.compose-expanded #collapsed-post-box {
                display: none !important;
            }

            #collapsed-post-box.compose-reveal {
                animation: composeCollapsedIn 0.2s ease-out;
            }

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

            #compose-container.compose-expanded #create-post:not(.compose-closing) {
                padding-bottom: 34px;
            }

            #compose-container .compose-collapse-btn {
                display: none;
                position: absolute;
                bottom: 4px;
                right: 8px;
                width: 22px;
                height: 22px;
                align-items: center;
                justify-content: center;
                padding: 0;
                border: 1px solid #e5e7eb;
                border-radius: 6px;
                background: #f9fafb;
                color: #6b7280;
                cursor: pointer;
                transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.15s;
                z-index: 20;
                line-height: 0;
            }

            #compose-container.compose-expanded .compose-collapse-btn {
                display: inline-flex;
            }

            #compose-container .compose-collapse-btn:hover {
                background: #f3f4f6;
                color: #374151;
                border-color: #d1d5db;
            }

            #compose-container .compose-collapse-btn:active {
                transform: scale(0.92);
            }

            .dark-mode #compose-container .compose-collapse-btn {
                background: #374151;
                border-color: #4b5563;
                color: #d1d5db;
            }

            .dark-mode #compose-container .compose-collapse-btn:hover {
                background: #4b5563;
                color: #f3f4f6;
                border-color: #6b7280;
            }

            #create-post.hidden {
                max-height: 0;
                padding: 0;
                border: 0;
                margin: 0;
                overflow: hidden;
            }

            #create-post:not(.hidden) {
                max-height: 800px;
                /* Increased from 600px to accommodate MeerPlus+ editor */
            }

            /* Specific styling for MeerPlus+ users */
            .user-premium #create-post:not(.hidden),
            .user-admin #create-post:not(.hidden) {
                max-height: 1000px;
                /* Extra space for premium users with rich text editor */
            }

            #create-post .post-input {
                min-height: 120px;
                margin-bottom: 12px;
                padding: 10px;
                border: 1px solid #e1e8ed;
                border-radius: 4px;
                resize: vertical;
                font-size: 16px;
                transition: min-height 0.2s ease;
            }

            #create-post .post-input:focus {
                border-color: #1da1f2;
                outline: none;
                min-height: 150px;
            }

            /* Ensure dropdowns appear above other elements */
            .meerplus-options {
                position: relative;
                z-index: 15;
            }

            /* Support for styling options panel */
            .post-styling-options {
                background: #f8f8f8;
                border: 1px solid #e1e8ed;
                border-radius: 4px;
                padding: 12px;
                margin-bottom: 10px;
                display: flex;
                flex-wrap: wrap;
                gap: 10px;
            }

            .style-option {
                display: flex;
                align-items: center;
                gap: 5px;
            }

            /* Ensure image uploads work with rich text */
            #imagePreview {
                margin-top: 10px;
                max-width: 100%;
                border-radius: 8px;
                max-height: 300px;
                overflow: hidden;
            }

            #imagePreview img {
                max-width: 100%;
                border-radius: 8px;
            }

            /* Character count styling */
            .char-count {
                font-size: 14px;
                color: #657786;
                text-align: right;
                margin-top: 5px;
            }

            /* MeerPlus+ Rich Text Editor styling */
            .meerplus-editor {
                position: relative;
                width: 100%;
                overflow: visible;
            }

            .rich-text-toolbar {
                background: #f8f8f8;
                border-bottom: 1px solid #e1e8ed;
                border-radius: 4px 4px 0 0;
                padding: 8px;
                display: flex;
                flex-wrap: wrap;
                gap: 5px;
                margin-bottom: 10px;
                z-index: 20;
                position: relative;
                overflow: visible;
            }

            .rich-text-toolbar button {
                background: transparent;
                border: 1px solid #ccd6dd;
                border-radius: 4px;
                padding: 4px 8px;
                cursor: pointer;
                font-size: 14px;
                transition: background-color 0.2s;
                position: relative;
                z-index: 5;
                overflow: visible;
            }

            .rich-text-toolbar button:hover {
                background-color: #e8f5fd;
            }

            .rich-text-toolbar button.active {
                background-color: #1da1f2;
                color: white;
                border-color: #1da1f2;
            }

            .rich-text-toolbar .dropdown {
                position: relative;
                display: inline-block;
            }

            .rich-text-toolbar .dropdown-content {
                display: none;
                position: absolute;
                background-color: #fff;
                min-width: 160px;
                box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
                z-index: 20;
                border-radius: 4px;
                top: 100%;
                left: 0;
                margin-top: 5px;
                overflow: visible;
            }

            .rich-text-toolbar .dropdown-content a {
                color: black;
                padding: 8px 12px;
                text-decoration: none;
                display: block;
                cursor: pointer;
            }

            .rich-text-toolbar .dropdown-content a:hover {
                background-color: #f1f1f1;
            }

            .rich-text-toolbar .dropdown:hover .dropdown-content {
                display: block;
            }

            /* Ensure MeerPlus+ toolbar is visible */
            .meerplus-toolbar {
                position: relative;
                z-index: 15;
                visibility: visible !important;
                opacity: 1 !important;
            }

            /* Ensure any dropdowns from rich editor appear properly */
            .meerplus-dropdown {
                position: absolute;
                z-index: 30;
                background-color: #fff;
                border-radius: 4px;
                box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
                padding: 8px 0;
                overflow: visible;
            }

            .cancel-button {
                background: #f3f4f6;
                color: #666;
                border: none;
                border-radius: 8px;
                padding: 8px 16px;
                font-weight: 500;
                cursor: pointer;
                transition: all 0.2s ease;
            }

            .cancel-button:hover {
                background: #e5e7eb;
            }

            /* MeerPlus+ Post Styling panel */
            .meer-plus-styler {
                margin-top: 1rem;
                margin-bottom: 1rem;
                border-radius: 0.5rem;
                overflow: visible;
                position: relative;
                z-index: 15;
            }

            .styler-content {
                position: relative;
                z-index: 20;
                max-height: 500px;
                overflow-y: auto;
            }

            .preset-buttons {
                display: flex;
                flex-wrap: wrap;
                gap: 0.5rem;
                overflow: visible;
            }

            /* Ensure compose box can accommodate full styler */
            #create-post:not(.hidden) {
                max-height: 1200px;
            }

            /* Specific styling for MeerPlus+ users */
            .user-premium #create-post:not(.hidden),
            .user-admin #create-post:not(.hidden) {
                max-height: 1500px;
                /* Extra space for premium users with rich text editor and styler */
            }

            .reduced-motion .celebration-overlay,
            .reduced-motion .reaction-animate {
                display: none !important;
            }

            /* Wallet button styles */
            #wallet-button {
                cursor: pointer;
                position: relative;
                margin-left: 8px;
                display: flex;
                align-items: center;
                justify-content: center;
                border-radius: 50%;
                width: 40px;
                height: 40px;
                transition: background-color 0.2s;
            }

            #wallet-button:hover {
                background-color: rgba(139, 92, 246, 0.1);
            }

            .wallet-indicator {
                position: absolute;
                bottom: 0;
                right: 0;
                width: 12px;
                height: 12px;
                border-radius: 50%;
                background-color: #10B981;
                border: 2px solid white;
            }

            /* Wallet modal */
            .wallet-modal {
                position: fixed;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
                background-color: rgba(0, 0, 0, 0.5);
                display: flex;
                align-items: center;
                justify-content: center;
                z-index: 1000;
                opacity: 0;
                visibility: hidden;
                transition: opacity 0.3s, visibility 0.3s;
            }

            .wallet-modal.show {
                opacity: 1;
                visibility: visible;
            }

            .wallet-modal-content {
                background-color: white;
                border-radius: 12px;
                padding: 24px;
                width: 90%;
                max-width: 400px;
                box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
                position: relative;
            }

            .wallet-modal-close {
                position: absolute;
                top: 16px;
                right: 16px;
                font-size: 24px;
                cursor: pointer;
                color: #666;
                line-height: 1;
            }

            .wallet-content {
                margin-top: 10px;
            }

            .wallet-address {
                background-color: #f8f9fa;
                padding: 10px;
                border-radius: 4px;
                font-family: monospace;
                word-break: break-all;
                margin: 10px 0;
            }

            .connect-wallet-btn {
                background: linear-gradient(to right, var(--primary-purple), var(--primary-pink));
                color: white;
                border: none;
                border-radius: 8px;
                padding: 12px 20px;
                font-weight: 600;
                cursor: pointer;
                width: 100%;
                transition: transform 0.2s, box-shadow 0.2s;
            }

            .connect-wallet-btn:hover {
                transform: translateY(-2px);
                box-shadow: 0 4px 12px rgba(139, 92, 246, 0.2);
            }

            .wallet-reward-status {
                margin-top: 16px;
                padding: 12px;
                border-radius: 8px;
                background-color: #fef3c7;
                color: #92400e;
            }

            /* Additional CSS for pulsating effect */
            @keyframes pulsate {
                0% {
                    transform: scale(1);
                    box-shadow: 0 0 10px rgba(255, 77, 77, 0.5);
                }

                50% {
                    transform: scale(1.05);
                    box-shadow: 0 0 20px rgba(255, 77, 77, 0.8);
                }

                100% {
                    transform: scale(1);
                    box-shadow: 0 0 10px rgba(255, 77, 77, 0.5);
                }
            }

            /* Off-chain MEER balance display */
            .meer-balance {
                display: flex;
                align-items: center;
                gap: 4px;
                background: linear-gradient(135deg, #10B981, #059669);
                color: white;
                padding: 4px 10px;
                border-radius: 1rem;
                font-weight: 600;
                font-size: 0.85rem;
                transition: all 0.3s ease;
                box-shadow: 0 2px 6px rgba(16, 185, 129, 0.3);
                cursor: pointer;
                white-space: nowrap;
            }
            .meer-balance:hover {
                transform: translateY(-1px);
                box-shadow: 0 4px 10px rgba(16, 185, 129, 0.4);
            }
            .meer-icon { font-size: 0.8rem; line-height: 1; }
            .meer-label { font-size: 0.7rem; opacity: 0.85; letter-spacing: 0.5px; }
            @keyframes meerPulse {
                0% { transform: scale(1); }
                50% { transform: scale(1.15); }
                100% { transform: scale(1); }
            }
            .meer-balance.pulse { animation: meerPulse 0.4s ease-in-out; }

            /* MEER Leaderboard inside Top Meers */
            .meer-leaderboard-container {
                max-width: 600px;
                margin: 0 auto 1.5rem;
            }
            .leaderboard-toggle {
                display: flex;
                gap: 0;
                margin-bottom: 1rem;
                background: #f3f4f6;
                border-radius: 8px;
                padding: 3px;
            }
            .leaderboard-toggle button {
                flex: 1;
                padding: 8px 16px;
                border: none;
                border-radius: 6px;
                font-weight: 600;
                font-size: 0.85rem;
                cursor: pointer;
                background: transparent;
                color: #6B7280;
                transition: all 0.2s ease;
            }
            .leaderboard-toggle button.active {
                background: white;
                color: #111;
                box-shadow: 0 1px 3px rgba(0,0,0,0.1);
            }
            .leaderboard-list {
                display: flex;
                flex-direction: column;
                gap: 6px;
            }
            .leaderboard-entry {
                display: flex;
                align-items: center;
                gap: 12px;
                padding: 10px 14px;
                background: white;
                border-radius: 10px;
                border: 1px solid #f0f0f0;
                transition: all 0.2s ease;
                cursor: pointer;
                text-decoration: none;
                color: inherit;
            }
            .leaderboard-entry:hover {
                border-color: #d1d5db;
                transform: translateX(4px);
            }
            .leaderboard-rank {
                font-weight: 700;
                font-size: 0.9rem;
                color: #9CA3AF;
                min-width: 28px;
                text-align: center;
            }
            .leaderboard-rank.top-1 { color: #F59E0B; font-size: 1.1rem; }
            .leaderboard-rank.top-2 { color: #9CA3AF; font-size: 1rem; }
            .leaderboard-rank.top-3 { color: #CD7F32; font-size: 1rem; }
            .leaderboard-avatar {
                width: 36px;
                height: 36px;
                border-radius: 50%;
                object-fit: cover;
            }
            .leaderboard-username {
                flex: 1;
                font-weight: 600;
                font-size: 0.9rem;
                overflow: hidden;
                text-overflow: ellipsis;
                white-space: nowrap;
            }
            .leaderboard-value {
                font-weight: 700;
                font-size: 0.85rem;
                color: #10B981;
                white-space: nowrap;
            }
            .leaderboard-value.xp { color: var(--primary-purple, #8B5CF6); }

        /* ======================== */
        /* PUMP BADGE ANIMATIONS    */
        /* ======================== */
        .pump-badge-container {
            display: flex;
            align-items: center;
            gap: 8px;
            margin-bottom: 8px;
            padding: 6px 12px;
            border-radius: 8px;
            font-weight: 600;
            font-size: 0.8rem;
            letter-spacing: 0.5px;
        }
        .pump-badge-container.pump-tier-1 {
            background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(16, 185, 129, 0.05));
            border: 1px solid rgba(16, 185, 129, 0.3);
            color: #059669;
        }
        .pump-badge-container.pump-tier-2 {
            background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(59, 130, 246, 0.05));
            border: 1px solid rgba(59, 130, 246, 0.3);
            color: #2563eb;
        }
        .pump-badge-container.pump-tier-3 {
            background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(139, 92, 246, 0.05));
            border: 1px solid rgba(139, 92, 246, 0.3);
            color: #7c3aed;
        }
        .pump-badge-container.pump-tier-4 {
            background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(239, 68, 68, 0.05));
            border: 1px solid rgba(239, 68, 68, 0.3);
            color: #dc2626;
        }
        .pump-badge-label {
            display: flex;
            align-items: center;
            gap: 6px;
            flex-shrink: 0;
        }
        .pump-badge-emoji {
            font-size: 1.1rem;
            animation: pumpWiggle 2s ease-in-out infinite, pumpPulse 1.5s ease-in-out infinite;
        }
        .pump-tier-3 .pump-badge-emoji,
        .pump-tier-4 .pump-badge-emoji {
            animation: pumpWiggle 1.2s ease-in-out infinite, pumpPulse 1s ease-in-out infinite;
            filter: drop-shadow(0 0 4px currentColor);
        }
        .pump-badge-text {
            text-transform: uppercase;
            font-size: 0.7rem;
        }
        .pump-timer-bar {
            flex: 1;
            height: 6px;
            background: rgba(0, 0, 0, 0.08);
            border-radius: 3px;
            overflow: hidden;
            min-width: 60px;
        }
        .pump-timer-fill {
            height: 100%;
            border-radius: 3px;
            transition: width 60s linear;
        }
        .pump-timer-fill.pump-tier-1 { background: linear-gradient(90deg, #10B981, #34d399); }
        .pump-timer-fill.pump-tier-2 { background: linear-gradient(90deg, #3b82f6, #60a5fa); }
        .pump-timer-fill.pump-tier-3 { background: linear-gradient(90deg, #8B5CF6, #a78bfa); }
        .pump-timer-fill.pump-tier-4 { background: linear-gradient(90deg, #ef4444, #f87171); }

        @keyframes pumpWiggle {
            0%, 100% { transform: rotate(0deg); }
            25% { transform: rotate(-8deg); }
            75% { transform: rotate(8deg); }
        }
        @keyframes pumpPulse {
            0%, 100% { transform: scale(1); }
            50% { transform: scale(1.15); }
        }

        /* Pump action button */
        .pump-action-btn {
            color: var(--primary-purple) !important;
            font-size: 1rem !important;
        }
        .pump-action-btn:hover {
            background: rgba(139, 92, 246, 0.1) !important;
            transform: scale(1.1);
        }

        /* ======================== */
        /* PUMP MODAL               */
        /* ======================== */
        #meerPumpModal {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 10000;
            display: none;
        }
        #meerPumpModal[style*="display: flex"],
        #meerPumpModal.active {
            display: flex !important;
            align-items: center;
            justify-content: center;
        }
        .meer-pump-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.6);
            backdrop-filter: blur(4px);
        }
        .meer-pump-modal-content {
            position: relative;
            z-index: 1;
            background: white;
            border-radius: 16px;
            padding: 24px;
            width: 90%;
            max-width: 480px;
            max-height: 90vh;
            overflow-y: auto;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
            animation: pumpModalIn 0.3s ease-out;
        }
        @keyframes pumpModalIn {
            from { opacity: 0; transform: scale(0.9) translateY(20px); }
            to { opacity: 1; transform: scale(1) translateY(0); }
        }
        .meer-pump-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 4px;
        }
        .meer-pump-header h3 {
            margin: 0;
            font-size: 1.4rem;
        }
        .meer-pump-close {
            background: none;
            border: none;
            font-size: 1.8rem;
            cursor: pointer;
            color: #999;
            line-height: 1;
        }
        .meer-pump-subtitle {
            color: #666;
            font-size: 0.9rem;
            margin: 0 0 16px 0;
        }
        .pump-tier-cards {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }
        .pump-tier-card {
            border: 2px solid #e5e7eb;
            border-radius: 12px;
            padding: 14px 16px;
            cursor: pointer;
            transition: all 0.2s ease;
            display: flex;
            align-items: center;
            gap: 12px;
        }
        .pump-tier-card:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        }
        .pump-tier-card.tier-1:hover { border-color: #10B981; }
        .pump-tier-card.tier-2:hover { border-color: #3b82f6; }
        .pump-tier-card.tier-3:hover { border-color: #8B5CF6; }
        .pump-tier-card.tier-4:hover { border-color: #ef4444; }
        .pump-tier-card .tier-emoji {
            font-size: 1.6rem;
            animation: pumpWiggle 2s ease-in-out infinite;
        }
        .pump-tier-card .tier-info {
            flex: 1;
        }
        .pump-tier-card .tier-name {
            font-weight: 700;
            font-size: 0.95rem;
        }
        .pump-tier-card.tier-1 .tier-name { color: #059669; }
        .pump-tier-card.tier-2 .tier-name { color: #2563eb; }
        .pump-tier-card.tier-3 .tier-name { color: #7c3aed; }
        .pump-tier-card.tier-4 .tier-name { color: #dc2626; }
        .pump-tier-card .tier-duration {
            font-size: 0.8rem;
            color: #888;
        }
        .pump-tier-card .tier-cost {
            font-weight: 700;
            font-size: 0.95rem;
            color: #333;
            white-space: nowrap;
        }
        .pump-tier-card.tier-disabled {
            opacity: 0.5;
            cursor: not-allowed;
        }
        .pump-loading {
            text-align: center;
            padding: 30px;
            color: #888;
        }
        .pump-error {
            background: #fef2f2;
            color: #dc2626;
            padding: 10px 14px;
            border-radius: 8px;
            font-size: 0.85rem;
            margin-top: 10px;
        }
        .pump-current-status {
            background: #f0fdf4;
            border: 1px solid #bbf7d0;
            border-radius: 8px;
            padding: 10px 14px;
            margin-bottom: 12px;
            font-size: 0.85rem;
            color: #166534;
        }
        /* Tip button style */
        .tip-action-btn {
            color: #f59e0b !important;
            font-size: 1rem !important;
        }
        .tip-action-btn:hover {
            background: rgba(245, 158, 11, 0.1) !important;
            transform: scale(1.1);
        }

        /* Super Meerply: Highlighted */
        .comment.super-meerply-highlighted {
            background: linear-gradient(135deg, rgba(251, 191, 36, 0.08), rgba(252, 211, 77, 0.05));
            border: 1px solid rgba(251, 191, 36, 0.3);
            border-radius: 8px;
            padding: 8px !important;
        }
        /* Super Meerply: Animated */
        .comment.super-meerply-animated {
            background: linear-gradient(135deg, rgba(168, 85, 247, 0.08), rgba(139, 92, 246, 0.05));
            border: 1px solid rgba(168, 85, 247, 0.3);
            border-radius: 8px;
            padding: 8px !important;
            animation: superMeerplyShimmer 3s ease-in-out infinite;
        }
        @keyframes superMeerplyShimmer {
            0%, 100% { box-shadow: 0 0 0 0 rgba(168, 85, 247, 0); }
            50% { box-shadow: 0 0 12px 2px rgba(168, 85, 247, 0.15); }
        }
        /* Super Meerply: Pinned */
        .comment.super-meerply-pinned {
            background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(96, 165, 250, 0.05));
            border: 1px solid rgba(59, 130, 246, 0.3);
            border-radius: 8px;
            padding: 8px !important;
        }
        /* Super Meerply Badges */
        .super-meerply-badge {
            display: inline-block;
            font-size: 0.65rem;
            font-weight: 700;
            padding: 2px 8px;
            border-radius: 4px;
            margin-bottom: 4px;
            letter-spacing: 0.5px;
            text-transform: uppercase;
        }
        .super-meerply-badge-highlighted { background: rgba(251, 191, 36, 0.15); color: #b45309; }
        .super-meerply-badge-animated { background: rgba(168, 85, 247, 0.15); color: #7c3aed; }
        .super-meerply-badge-pinned { background: rgba(59, 130, 246, 0.15); color: #2563eb; }

        /* Super Meerply Button */
        .super-meerply-btn {
            background: none;
            border: none;
            cursor: pointer;
            font-size: 0.9rem;
            padding: 2px 6px;
            border-radius: 4px;
            transition: all 0.2s;
            color: #888;
        }
        .super-meerply-btn:hover {
            background: rgba(251, 191, 36, 0.15);
            color: #b45309;
            transform: scale(1.1);
        }

        /* Pinned Meerply Cycling */
        .pinned-meerplies-container {
            border-bottom: 1px solid rgba(59, 130, 246, 0.2);
            margin-bottom: 8px;
            padding-bottom: 4px;
        }
        .pinned-cycle-controls {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 12px;
            padding: 4px 0;
        }
        .pinned-cycle-btn {
            background: none;
            border: 1px solid #e5e7eb;
            border-radius: 50%;
            width: 24px;
            height: 24px;
            cursor: pointer;
            font-size: 0.7rem;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.2s;
        }
        .pinned-cycle-btn:hover { background: #f3f4f6; }
        .pinned-cycle-counter {
            font-size: 0.75rem;
            color: #888;
        }

        /* Super Meerply Modal */
        #superMeerplyModal {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 10000;
            display: none;
        }
        #superMeerplyModal.active {
            display: flex !important;
            align-items: center;
            justify-content: center;
        }
