        :root {
            --bg-dark: #121417;
            --panel-bg: #1e2227;
            --text-gray: #a0aab4;
            --thumb-metal: linear-gradient(180deg, #666, #222);
            --border-color: #2c313a;
            --track-bg: #111;
            --knob-glow: #00f2ff;
            --accent-cyan: #00f2ff;
            --header-bg: rgba(53, 57, 63, 0.5);
            --card-bg: #161a1f;
        }

        @keyframes fadeIn {
            from { 
                opacity: 0; 
            }
            to { 
                opacity: 1; 
            }
        }



        /* Prevent horizontal "swing" and rubber-banding */
        html, body {
            background-color: var(--bg-dark);
            color: white;
            font-family: 'Inter', -apple-system, sans-serif;
            margin: 0;
            width: 100%;
            overflow-x: hidden;
            display: flex;
            justify-content: center;
            align-items: flex-start; /* Better for mobile scrolling */
            min-height: 100vh;
        }

        body { 
            padding-top: 80px;
            box-sizing: border-box;
            animation: fadeIn 0.8s ease-out forwards;
        }


        .logo-text { 
            font-size: 18px; 
            font-weight: 800; 
            letter-spacing: 3px; 
            color: #fff; 
        }

        .logo-text a {
            text-decoration: none;
            color: white;
        }

        .logo-text span { 
            color: var(--accent-cyan);
         }

        .knob-wrapper-logo { 
            display: flex; 
            align-items: center; 
            gap: 12px;
            cursor: pointer;
        }

        .knob-wrapper-logo a { 
            text-decoration: none;
            color: white;
        }

        .logo-area a { text-decoration: none; }

        .knob-outer-logo {
            width: 40px;
            height: 40px;
            background: #111;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            box-shadow: 0 4px 10px rgba(0,0,0,0.5);
            margin-bottom: 1px;
        }

        .knob-ring-logo {
            position: absolute;
            width: 100%;
            height: 100%;
            border-radius: 50%;
            background: conic-gradient(var(--knob-glow) var(--knob-deg, 360deg), transparent 0deg);
            opacity: 0.25;
            filter: blur(2px);
        }

        .knob-logo {
            width: 30px;
            height: 30px;
            background: radial-gradient(circle at 35% 35%, #444, #181818);
            border-radius: 50%;
            border: 2px solid #222;
            position: relative;
            z-index: 2;
            transition: transform 0.1s linear;
            rotate: 135deg;
        }

        .knob-logo::after {
            content: '';
            position: absolute;
            top: 5px;
            left: 50%;
            width: 3px;
            height: 10px;
            background: var(--knob-glow);
            transform: translateX(-50%);
            border-radius: 2px;
            box-shadow: 0 0 8px var(--knob-glow);
        }


        .control-panel {
            background: var(--panel-bg);
            /* Fluid width for mobile, capped for desktop */
            width: 92vw;
            max-width: 460px;
            padding: 20px;
            margin: 20px auto;
            border-radius: 16px;
            border: 1px solid var(--border-color);
            box-shadow: 0 30px 60px rgba(0,0,0,0.6);
            box-sizing: border-box; /* Padding stays inside width */
        }

        .control-panel2 {
            background: var(--panel-bg);
            /* Fluid width for mobile, capped for desktop */
            width: 92vw;
            max-width: 300px;
            padding: 20px;
            margin: 20px auto;
            border-radius: 16px;
            border: 1px solid var(--border-color);
            box-shadow: 0 30px 60px rgba(0,0,0,0.6);
            box-sizing: border-box; /* Padding stays inside width */
        }

        h2 { 
            font-size: 11px; 
            text-transform: uppercase; 
            letter-spacing: 2px; 
            color: var(--text-gray); 
            margin-bottom: 25px; 
            border-bottom: 1px solid var(--border-color); 
            padding-bottom: 8px; 
            text-align: center; 
            opacity: 0.8;
        }

        .input-text {
            width: 100%;
            height: 50px;
            padding: 10px 14px;
            background: #111;
            border: 1px solid var(--border-color);
            border-radius: 4px;
            color: white;
            font-size: 13px;
            box-sizing: border-box;
        }

        .input-text:focus {
            border-color: var(--accent-cyan);
            outline: none;
        }


        /* --- Range Sliders --- */
        .slider-group { margin-bottom: 30px; position: relative; }

        .slider-label { 
            display: flex; 
            justify-content: space-between; 
            align-items: center; 
            font-size: 10px; 
            margin-bottom: 0px; 
            color: var(--text-gray); 
            font-weight: 700; 
            text-transform: uppercase;
        }

        .value-display { 
            color: var(--accent-cyan); 
            font-size: 10px; 
            background: rgba(0,0,0,0.3); 
            padding: 4px 8px; 
            border-radius: 4px; 
            white-space: pre; /* Essential for space padding */
            min-width: 95px; 
            text-align: center; 
            border: 1px solid rgba(255,255,255,0.05);
            font-family: 'Courier New', Courier, monospace; /* Consistent width */
        }

        .range-container { 
            position: relative; 
            height: 26px; 
            width: 100%; 
            touch-action: none; /* Prevents page swing while sliding */
        }

        .track-background { 
            position: absolute; 
            top: 10px; 
            height: 6px; 
            width: 100%; 
            /*background: linear-gradient(to right, #0000ff, #ff0000);   */        
            background: var(--track-bg);
            border-radius: 3px; 
            box-shadow: inset 0 2px 4px rgba(0,0,0,0.5); 
            z-index: 1; 
        }

        /* 0.0 Center Notch */
        .track-background::before { 
            content: ''; 
            position: absolute; 
            left: 50%; 
            top: -4px; 
            width: 2px; 
            height: 14px; 
            background: rgba(255,255,255,0.15); 
            z-index: 1; 
        }

        .track-highlight { 
            position: absolute; 
            top: 10px; 
            height: 6px;
            background: rgba(255,255,255,0.08);
            border-radius: 3px; 
            z-index: 2; 
        }

        input[type="range"] { 
            -webkit-appearance: none; 
            appearance: none; 
            width: 100%; 
            background: transparent; 
            position: absolute; 
            top: 1px; 
            margin: 0; 
            pointer-events: none; 
            z-index: 3; 
        }

        input[type="range"]::-webkit-slider-thumb { 
            -webkit-appearance: none; 
            pointer-events: auto; 
            height: 24px; 
            width: 16px; 
            background: var(--thumb-metal); 
            border-radius: 2px; 
            border: 1px solid #000; 
            cursor: pointer; 
            box-shadow: 0 0 var(--glow-size, 0px) var(--glow-color, transparent), 0 4px 8px rgba(0,0,0,0.6); 
            transition: box-shadow 0.1s ease; 
        }

        /* --- Knob Mixer --- */
        .priority-mixer { 
            display: grid; 
            grid-template-columns: repeat(4, 1fr); 
            gap: 10px; 
            margin-top: 20px; 
        }











    /* Container for the Knob + Readout */
    .knob-module {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
        padding: 5px;
        background: rgba(0, 0, 0, 0.2);
        border-radius: 8px;
        border: 1px solid var(--border-color);
        width: 70px;
    }

    .knob-label {
        font-size: 10px;
        letter-spacing: 2px;
        color: var(--text-gray);
        text-transform: uppercase;
    }

    /* The Digital Display */
    .knob-display {
        font-family: 'Courier New', Courier, monospace;
        background: #050505;
        color: var(--accent-cyan);
        padding: 4px 8px;
        border-radius: 4px;
        font-size: 12px;
        font-weight: bold;
        border: 1px solid #1a1a1a;
        box-shadow: inset 0 0 5px rgba(0, 242, 255, 0.2);
        min-width: 40px;
        text-align: center;
    }

    /* The actual Knob graphic */
    .knob-dial {
        width: 50px;
        height: 50px;
        background: linear-gradient(145deg, #2a2e35, #161a1f);
        border-radius: 50%;
        border: 2px solid #333;
        position: relative;
        
        /* CRITICAL FOR MOBILE: Prevents the page from scrolling 
           while the user is rotating the knob */
        touch-action: none; 
        
        cursor: grab;
        box-shadow: 5px 5px 15px rgba(0,0,0,0.5);
        user-select: none; /* Prevents text selection while turning */
    }

    .knob-dial:active {
        cursor: grabbing;
    }
    
    /* The Indicator Line on the Knob */
    .knob-indicator {
        position: absolute;
        top: 5px;
        left: 50%;
        width: 2px;
        height: 8px;
        background: var(--accent-cyan);
        transform: translateX(-50%);
        border-radius: 2px;
        box-shadow: 0 0 8px var(--accent-cyan);
    }







        /*ORIGINAL KNOB  START- - - - - - - - - - - - - - - - - - - - -*/
        .knob-wrapper { 
            display: flex; 
            flex-direction: column; 
            align-items: center; 
            touch-action: none; /* Critical for mobile knobs */
        }
        
        .knob-outer {
            width: 60px;
            height: 60px;
            background: #111;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            box-shadow: 0 4px 10px rgba(0,0,0,0.5);
            margin-bottom: 10px;
        }

        .knob-ring {
            position: absolute;
            width: 100%;
            height: 100%;
            border-radius: 50%;
            background: conic-gradient(var(--knob-glow) var(--knob-deg, deg), transparent 0deg);
            opacity: 0.25;
            filter: blur(2px);
            rotate: -135deg;
        }

        .knob {
            width: 46px;
            height: 46px;
            background: radial-gradient(circle at 35% 35%, #444, #181818);
            border-radius: 50%;
            border: 2px solid #222;
            position: relative;
            z-index: 2;
            transition: transform 0.1s linear;
        }

        .knob::after {
            content: '';
            position: absolute;
            top: 5px;
            left: 50%;
            width: 3px;
            height: 10px;
            background: var(--knob-glow);
            transform: translateX(-50%);
            border-radius: 2px;
            box-shadow: 0 0 8px var(--knob-glow);
        }

        .knob-label { 
            font-size: 8px; 
            color: var(--text-gray); 
            text-transform: uppercase; 
            letter-spacing: 1px; 
            font-weight: 700; 
            text-align: center; }

        /*ORIGINAL KNOB  END - - - - - - - - - - - - - - - - - - - - -*/

        .reset-btn { 
            width: 100%; 
            padding: 14px; 
            background: #2c313a; 
            border: 1px solid #444; 
            border-radius: 8px; 
            color: var(--text-gray); 
            font-weight: bold; 
            cursor: pointer; 
            margin-top: 30px; 
            transition: all 0.2s; 
            letter-spacing: 1px; 
            font-size: 11px;
        }
        .reset-btn:hover { background: #3a414a; color: #fff; border-color: #666; }

        /* --- HEADER --- */
    .main-header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 60px;
        background: rgba(53, 57, 63, 0.5); 
        -webkit-backdrop-filter: blur(12px) saturate(180%);
        backdrop-filter: blur(12px) saturate(180%);
        border-bottom: 1px solid var(--border-color);
        z-index: 1000;
        display: flex;
        align-items: center;
    }

        .header-container {
            width: 100%; 
            max-width: 1200px; 
            margin: 0 auto;
            padding: 0 20px; 
            display: flex; 
            justify-content: space-between; 
        }
        /* --- TIMELINE --- */
        .timeline { max-width: 600px; margin: 0 auto; padding: 0 15px 100px 15px; }
        
        .post-card {
            background: var(--card-bg);
            border: 1px solid var(--border-color);
            border-radius: 12px;
            margin-bottom: 25px;
            overflow: hidden;
            transition: background 0.2s;
            position: relative;
        }

        .post-card:hover {
            border: 1px solid var(--accent-cyan);
            transition: ease 0.3s;
            box-shadow: 
                0 0 3px teal, 
                0 0 8px teal, 
                0 0 15px teal;
                    }

        .main-link::after {
            content: "";
            position: absolute;
            top: 0;
            right: 0;
            bottom: 0;
            left: 0;
            z-index: 1; /* Sets it behind secondary links */
        }

        .post-header { 
            padding: 15px; 
            display: flex; 
            justify-content: space-between; 
            gap: 12px; 
        }

        .post-header a, .follow, .avatar {
            z-index: 10; /* Higher than main-link */
            position: relative; /* Necessary for z-index */
        }

        .post-group-left {
            display: flex;
            flex-direction: row;
            gap: 10px;
            align-items: center;

        }

        .post-group-right {
            display: flex;
            flex-direction: row;
            gap: 10px;
            align-items: center;
        }


        .post-group-right a {
            text-decoration: none;
            color: white;        
        }

        .post-group-right a:hover {
            filter: drop-shadow(0 0 4px white) drop-shadow(0 0 8px rgba(255, 255, 255, 0.8));
            transition: 0.2s ease;
        }

        .avatar { 
            width: 40px; 
            height: 40px; 
            border-radius: 50%; 
            background: #333; 
            border: 1px solid var(--accent-cyan); }

        .avatar:hover {
            filter: drop-shadow(0 0 3px rgb(0, 229, 255)) drop-shadow(0 0 8px rgba(0, 225, 255, 0.5));
            transition: 0.2s ease;
        }

        .user-info b { 
            display: block; 
            font-size: 14px; 
            color: white;
        }

        .user-info b a {
            text-decoration: none;
            color: white;
        }

        .user-info b a:hover {
            transition: 0.2s ease;
            filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.8)) drop-shadow(0 0 8px rgba(255, 255, 255, 0.5));
    }

        .user-info span { 
            font-size: 11px; 
            color: var(--text-gray); 
        }


        .user-followers { font-size: 12px; color: var(--text-gray); }

        .post-img {
            /* Set the maximum height you want for all images */
            max-height: 80vh;
            overflow: hidden; /* Ensures the portrait crop is hidden */
            display: flex;
            justify-content: center;
            align-items: center;
            }

        .post-img img {
            width: 100%;
            height: auto; /* Maintains ratio for landscape */
            max-height: 80vh; /* Caps the height */
            /* CRITICAL: Forces portrait images to fill the height and crop sides */
            object-fit: cover; 
            /* Optional: keeps the crop centered */
            object-position: center; 
            }

        .post-content { 
            padding: 15px; 
            font-size: 15px; 
            line-height: 1.5; 
            color: #e0e0e0; 
            max-height: 150px;
        }

        .post-content a { 
            position: relative;
            color: #ffffff; 
            text-decoration: underline;
            z-index: 10;
        }
   
        .post-content a:hover { 
            filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.8)) drop-shadow(0 0 8px rgba(255, 255, 255, 0.5));
        }

        .post-stats { 
            padding: 10px 15px; border-top: 1px solid var(--border-color); 
            display: flex; gap: 20px; font-size: 11px; color: var(--text-gray); 
        }

        /* --- SLIDE-OUT CONSOLE --- */
        .console-drawer {
            position: fixed;
            bottom: -85vh; /* Hidden state */
            left: 0; 
            width: 100%; 
            height: 85vh;
            background: var(--panel-bg);
            border-top: 2px solid var(--accent-cyan);
            z-index: 100;
            transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
            box-shadow: 0 -20px 40px rgba(0,0,0,0.8);
            display: flex; 
            flex-direction: column;
        }

        .console-drawer.open { transform: translateY(-85vh); }

        .drawer-handle {
            width: 100%; 
            height: 40px;
            display: flex; 
            justify-content: center; 
            align-items: center;
            cursor: pointer; 
            background: rgba(0,0,0,0.2);
        }
        .handle-bar { 
            width: 40px; 
            height: 4px; 
            background: 
            var(--border-color); 
            border-radius: 2px; }

        .drawer-content {
            margin: auto;/* This centers it vertically AND horizontally */    
            width: 100%; 
            overflow-y: auto; 
            box-sizing: border-box;
        }




        .console-drawer2 {
            position: fixed;
            bottom: -85vh; /* Hidden state */
            left: 0; 
            width: 100%; 
            height: 85vh;
            background: transparent;
            z-index: 100;
            transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
            display: flex; 
            flex-direction: column;
        }

        .console-drawer2.open { transform: translateY(-85vh); }

        .drawer-handle2 {
            width: 100%; 
            height: 40px;
            display: flex; 
            justify-content: center; 
            align-items: center;
            cursor: pointer; 
            background: rgba(0,0,0,1);
        }
        .handle-bar2 { 
            width: 40px; 
            height: 4px; 
            background: 
            var(--border-color); 
            border-radius: 2px; }

        .drawer-content2 {
            margin-left: auto;
            width: 80%; 
            overflow-y: auto; 
            box-sizing: border-box;
            background: rgba(31, 34, 39, 0.2);
        }

        /* Float Toggle Button */
        .toggle-trigger {
            position: fixed; bottom: 30px; right: 30px;
            width: 60px; height: 60px; border-radius: 50%;
            background: var(--accent-cyan); color: #000;
            border: none; font-weight: 900; font-size: 20px;
            box-shadow: 0 0 20px var(--accent-cyan);
            cursor: pointer; z-index: 1500;
        }

    .toggle-trigger2 {
        position: fixed; 
        bottom: 30px; 
        right: 30px;
        height: 80px; 
        border-radius: 10px;
        padding: 10px;
        background: var(--panel-bg); 
        color: #000;
        border: transparent; 
        cursor: pointer; 
        z-index: 1500;
        align-items:center;
        border: cyan 5px solid;
    }

    .toggle-trigger2 img {
        height: 65px;
        width: 65px;
        padding: 0px;
        border: cyan 5px solid;
        border-radius: 10px;
    }

    .toggle-trigger2 img:hover {
            box-shadow: 0 0 20px var(--accent-cyan);

    }

    .toggle-trigger2:hover {
            box-shadow: 0 0 20px var(--accent-cyan);

    }
        /* Mix-in the styles from your master console here... */
        /* [Insert Slider/Knob CSS from previous steps] */

    /* Logo Styling */
    .logo-area {
        display: flex;
        align-items: center;
        gap: 12px;
        cursor: pointer;
    }

    /* Dropdown Styling */
    .nav-dropdown {
        position: relative;
        display: inline-block;
        text-align: right;
    }

    .drop-btn {
        background: transparent;
        border: 1px solid var(--border-color);
        color: var(--text-gray);
        padding: 8px 16px;
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 1.5px;
        border-radius: 4px;
        cursor: pointer;
        transition: all 0.3s;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .drop-btn:hover {
        border-color: var(--accent-cyan);
        color: #fff;
        box-shadow: 0 0 10px rgba(0, 242, 255, 0.1);
    }

    .gen-button {
        background: transparent;
        border: 1px solid var(--border-color);
        color: var(--text-gray);
        cursor: pointer;
        transition: all 0.3s;
        border-radius: 5px;
        padding: 8px;
    }

    .gen-button:hover {
        border-color: var(--accent-cyan);
        color: #fff;
        box-shadow: 0 0 10px rgba(0, 242, 255, 1);
    }


    .chevron {
        font-size: 8px;
        transition: transform 0.3s;
    }

    .dropdown-content {
        display: none;
        position: absolute;
        right: 0;
        top: 45px;
        background: #1e2227;
        min-width: 200px;
        border: 1px solid var(--border-color);
        border-radius: 8px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.5);
        overflow: hidden;
        z-index: 2000;
        text-transform: uppercase;
    }

    .dropdown-content a {
        color: var(--text-gray);
        padding: 12px 20px;
        text-decoration: none;
        display: block;
        font-size: 11px;
        font-weight: 600;
        letter-spacing: 1px;
        transition: all 0.2s;
        z-index: 2000;
    }

    .dropdown-content a:hover {
        background: rgba(0, 242, 255, 0.05);
        color: var(--accent-cyan);
        padding-left: 25px; /* Subtle slide effect */
    z-index: 2000;
    }

    .divider {
        height: 1px;
        background: var(--border-color);
        margin: 5px 0;
    }

    .logout {
        color: #ff4d4d !important;
    }

    .logout:hover {
        background: rgba(255, 77, 77, 0.1) !important;
    }

    /* Utility Class to show menu */
    .show { display: block; }

        /* --- Filter Status Headline --- */
    .filter-status {
        max-width: 600px;
        margin: 0 auto 20px auto;
        padding: 0 15px;
        display: flex;
        justify-content: space-between;
        align-items: flex-end;
        border-bottom: 1px solid var(--border-color);
        padding-bottom: 10px;
    }

    .status-count {
        font-size: 11px;
        text-transform: uppercase;
        letter-spacing: 2px;
        color: var(--text-gray);
    }

    .status-count span {
        color: var(--accent-cyan);
        font-weight: 800;
        font-family: monospace;
        font-size: 14px;
        text-shadow: 0 0 10px rgba(0, 242, 255, 0.3);
    }

    .live-indicator {
        font-size: 15px;
        color: #4CAF50;
        display: flex;
        align-items: center;
        gap: 5px;
        letter-spacing: 1px;
    }

    .pulse-dot {
        width: 6px;
        height: 6px;
        background: #4CAF50;
        border-radius: 50%;
        animation: pulse 2s infinite;
    }

    @keyframes pulse {
        0% { opacity: 1; transform: scale(1); }
        50% { opacity: 0.3; transform: scale(1.2); }
        100% { opacity: 1; transform: scale(1); }
    }

    /* --- Floating Compose Button --- */
    .compose-btn {
        position: fixed;
        bottom: 30px;
        left: 30px; /* Opposite side of the Console Toggle */
        width: 60px;
        height: 60px;
        border-radius: 50%;
        background: var(--panel-bg);
        border: 1px solid var(--accent-cyan);
        color: var(--accent-cyan);
        font-size: 24px;
        cursor: pointer;
        z-index: 1500;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 10px 20px rgba(0,0,0,0.4);
        transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }

    .compose-btn:hover {
        transform: scale(1.1) rotate(90deg);
        background: var(--accent-cyan);
        color: var(--bg-dark);
        box-shadow: 0 0 20px var(--accent-cyan);
    }

    /* SVG tweak for the button */
    .compose-btn svg {
        width: 24px;
        height: 24px;
        fill: currentColor;
    }

/* Category Icon Container */
/* --- Core Category Styling --- */

.cat-icon {
    display: flex;        /* Makes children (images) sit side-by-side */
    gap: 8px;             /* This will now space the images correctly */
    justify-content: flex-end; /* Keeps them on the right side */
    position: relative;
    z-index: 5;

}


.cat-icon img {
    width: 32px;
    height: 32px;
}

    .post-metadata {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        padding: 10px 15px;
        background: var(--card-bg);
        border-bottom: 1px solid var(--border-color);
        justify-content:space-between;
    }

    
    .post-categories {
        display: flex;
        justify-content: flex-end;
        padding: 10px 15px;
        background: rgba(0,0,0,0.2);
        border-bottom: 1px solid var(--border-color);
        flex-direction: row; 
    }

    .rating-pill {
        font-size: 9px;
        font-weight: 800;
        text-transform: uppercase;
        padding: 2px 8px;
        border-radius: 4px;
        letter-spacing: 0.5px;
        display: flex;
        align-items: center;
        gap: 4px;
        border: 1px solid rgba(255,255,255,0.1);
    }

    .rating-pill2 {
        font-size: 12px;
        font-weight: 800;
        text-transform: uppercase;
        padding: 5px 12px;
        border-radius: 12px;
        letter-spacing: 0.5px;
        display: flex;
        align-items: center;
        width: 80px;
        gap: 8px;
        border: 1px solid rgba(255,255,255,0.1);
        background-color: black;
    }

    /* Dynamic Colors based on your Console Logic */
    .pill-pol-pro { color: #2196F3; border-color: rgba(33, 150, 243, 0.3); }
    .pill-pol-con { color: #F44336; border-color: rgba(244, 67, 54, 0.3); }
    .pill-veracity { color: #00f2ff; border-color: rgba(0, 242, 255, 0.3); }
    .pill-humor { color: #FF9800; border-color: rgba(255, 152, 0, 0.3); }
    .pill-approval { color: #4CAF50; border-color: rgba(76, 175, 80, 0.3); }

    .pill-val { font-family: monospace; }

.engage-container {
        margin-top: 30px;
        padding-bottom: 40px; /* Extra space for thumb reach */
        display: flex;
        justify-content: center;
    }

    .btn-engage {
        width: 100%;
        max-width: 300px;
        padding: 16px;
        background: transparent;
        border: 2px solid var(--accent-cyan);
        color: var(--accent-cyan);
        font-family: 'Inter', sans-serif;
        font-weight: 900;
        font-size: 14px;
        letter-spacing: 4px;
        text-transform: uppercase;
        cursor: pointer;
        position: relative;
        overflow: hidden;
        transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
        border-radius: 4px;
        box-shadow: 0 0 15px rgba(0, 242, 255, 0.1);
        display: block;
        margin: 0 auto;
    }

    /* The "Glitch" or Glow Hover effect */
    .btn-engage:hover {
        background: var(--accent-cyan);
        color: var(--bg-dark);
        box-shadow: 0 0 30px var(--accent-cyan);
        transform: translateY(-2px);
    }

    .btn-engage:active {
        transform: translateY(1px);
        box-shadow: 0 0 10px var(--accent-cyan);
    }

    /* Sub-label for clarity */
    .btn-hint {
        display: block;
        font-size: 10px;
        margin-top: 8px;
        color: var(--text-gray);
        letter-spacing: 1px;
        text-align: center;
        opacity: 0.6;
    }

/* The Search/Input Box */
    .search-input {
        width: 100%;
        background: #0a0c0f;
        border: 1px solid #333;
        padding: 12px;
        color: var(--accent-cyan);
        font-family: 'Inter', sans-serif;
        font-size: 13px;
        border-radius: 4px;
        outline: none;
        transition: border-color 0.3s;
        box-sizing: border-box;
    }

    .search-input:focus {
        border-color: var(--accent-cyan);
        box-shadow: 0 0 10px rgba(0, 242, 255, 0.1);
    }

    .dropdown-container-categories {
        position: relative; /* Essential for the floating list */
        margin-bottom: 20px;
    }

    .options-list {
        position: absolute;
        bottom: 100%; /* Makes the list open UPWARD so it doesn't hit the Engage button */
        left: 0;
        width: 100%;
        max-height: 250px; /* Limits the height */
        overflow-y: auto;
        background: #161a1f;
        border: 1px solid var(--accent-cyan);
        box-shadow: 0 -10px 30px rgba(0,0,0,0.8);
        z-index: 2100;
        border-radius: 8px 8px 0 0;
    }

    .options-list2 {
        position: absolute;
        left: 0;
        width: 100%;
        max-height: 250px; /* Limits the height */
        overflow-y: auto;
        background: #161a1f;
        border: 1px solid var(--accent-cyan);
        box-shadow: 0 -10px 30px rgba(0,0,0,0.8);
        z-index: 2100;
        border-radius: 8px 8px 0 0;
    }
    /* Custom Scrollbar to keep it looking high-tech */
    .options-list::-webkit-scrollbar {
        width: 4px;
    }
    .options-list::-webkit-scrollbar-thumb {
        background: var(--accent-cyan);
        border-radius: 10px;
    }

    .option {
        padding: 10px;
        font-size: 12px;
        color: var(--text-gray);
        cursor: pointer;
        display: flex;
        align-items: center;
        gap: 10px;
        border-bottom: 1px solid #222;
    }

    .option:hover {
        background: rgba(0, 242, 255, 0.05);
        color: white;
    }

    /* The Selected Tags (The "Data Chips") */
    .selected-tags {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        margin-top: 15px;
    }

    .tag {
        background: rgba(0, 242, 255, 0.1);
        border: 1px solid var(--accent-cyan);
        color: var(--accent-cyan);
        padding: 4px 10px;
        border-radius: 4px;
        font-size: 10px;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 1px;
        display: flex;
        align-items: center;
        gap: 8px;
        animation: fadeIn 0.3s ease;
    }

    .tag .remove-tag {
        cursor: pointer;
        color: #fff;
        font-size: 14px;
        line-height: 1;
    }

    .tag .remove-tag:hover {
        color: #ff4d4d;
    }

    .control-header {
        font-size: 10px;
        letter-spacing: 3px;
        color: var(--accent-cyan);
        margin: 25px 0 15px 0;
        text-transform: uppercase;
        text-align: center;
        opacity: 0.8;
    }

    .console-divider {
        border: 0;
        height: 1px;
        background: linear-gradient(to right, transparent, var(--border-color), transparent);
        margin: 30px 0;
    }    

    
    .photoThumb {
        display: flex;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        vertical-align: middle;
        margin-right: 8px;
        float: left;
        aspect-ratio: 1 / 1; 
        object-fit: cover; 
        object-position: center;
    }


    .iconImg {
        height: 30px;
        width: auto;

    }

        
    .follow {
        position: relative;
        margin-top: 0px;
        width: 25px;
        padding: 2px;
        background: transparent;
        z-index: 2;
        border: none;
        opacity: 75%;
    } 

    .follow:hover {
    opacity: 100%;
    background-color: transparent;
    transition: 0.2s ease;
    filter: drop-shadow(0 0 4px white) drop-shadow(0 0 8px rgba(255, 255, 255, 0.8));
    }


    .iconImg2 {
        height: 20px;
        width: auto;
        margin-right: 3px;    
        margin-top: 5px;
    }
        /* Secondary links must have a higher z-index to remain clickable */
        .secondary-link {
        position: relative; 
        z-index: 2; 
        color: blue;
        text-decoration: underline;
    }

    .disabled-element {
        opacity: 0.2;
        filter: saturate(0%);
    }

    
    .disabled-div {
        pointer-events: none; /* Disables mouse events */
        opacity: 0.2;        /* Optional: Makes it look disabled/greyed out */
        filter: saturate(0%);
        cursor: not-allowed; /* Optional: Changes the cursor to indicate it's not interactive */
    }


    .hidden-element {
         visibility: hidden;
    }

    
.hidden-text {
  /* Hide the text initially */
  opacity: 0;
  height: 0;
  overflow: hidden;
  transition: opacity 0.3s ease; /* Smooth transition */
  position: absolute;
  margin-top: 32px;
  margin-left: -20px;
  font-size: 12px;
}

/* Reveal the text when the trigger is focused */
.trigger:focus + .hidden-text {
  opacity: 0.5;
  height: auto; /* Allow height to adjust */
  position: absolute;
  margin-top: 32px;
  margin-left: -20px;
  font-size: 12px;
}

.register-card {
    background: var(--panel-bg);
    width: 92vw;
    max-width: 500px;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    position: relative;
    z-index: 10;
    box-sizing: border-box;
}


.comment-box {
    position: flex;
    background-color: var(--bg-dark); /* Light gray background for the boxes #f5f5f5 */
    padding: 10px;             /* Space inside the boxes */
    border-radius: 10px;       /* Rounded corners */
    text-align: left;  
    margin-bottom: 20px;
    font-size:15px;
    position: relative;
    z-index: 2;
    border: 1px solid var(--border-color);
    width: 95%;
    justify-content: space-between; 
}

.comment-box a {
    color: white;
    text-decoration: underline;

}

.comment-box a:hover {
    filter: drop-shadow(0 0 4px white) drop-shadow(0 0 8px rgba(255, 255, 255, 0.8));
    transition: 0.2s ease;

}

.hoverdefault {
    text-decoration: none;
    color: #ccc;
    opacity: 80%;
}


.hoverdefault:hover {
    opacity: 100%;
    background-color: transparent;
    filter: drop-shadow(0 0 4px white) drop-shadow(0 0 8px rgba(255, 255, 255, 0.8));
    transition: 0.2s ease;
}

.editdelete {
    height: 15px;
    width: auto;
    opacity: 80%;
}


.editdelete:hover {
    opacity: 100%;
    background-color: transparent;
    transition: 0.2s ease;
    filter: drop-shadow(0 0 4px white) drop-shadow(0 0 8px rgba(255, 255, 255, 0.8));
}

.comments-container {
    background-color: var(--panel-bg); /* Light gray background for the boxes #f5f5f5 */
    padding: 10px;             /* Space inside the boxes */
    border-radius: 10px;       /* Rounded corners */
    text-align: left;  
    margin-bottom: 20px;
    font-size:15px;
    position: relative;
    z-index: 2;
    border: 1px solid var(--border-color);
    width: 85%;
    margin-left: 5%;

}

.comment-table { 
    width: 100%; 
    table-layout: fixed;
}

.col-left { text-align: left; width: 33%; }

.col-center { text-align: center; width: 34%; }

.col-right { text-align: right; width: 33%; }


.commentIcon {
    font-size: 12px;
    display:flex;
}

.commentIcon a {
    text-decoration: none;
    color: white;
}

.commentIcon a:hover {
    filter: drop-shadow(0 0 4px white) drop-shadow(0 0 8px rgba(255, 255, 255, 0.8));
    transition: 0.2s ease;

}

.commentIcon img {
    width: auto;
    height: 15px;
}

.commentIcon table td img {
    width: auto;
    height: 15px;
}

.topline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}


.input-newtext {
    margin-bottom: 10px;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.input-newtext label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #555;
}

.input-newtext textarea {
    width: 100%;
    height: 100px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box; /* Ensures padding doesn't affect width */
    font-size: 15px;
    background-color: black;
    color: white;
}

.input-newtext textarea:focus {
    outline: none;
    border-color: var(--accent-cyan);
}



.post_date {
    color: rgb(130, 130, 130);
    font-size: 10px;
}

.upload-section {
    display: flex;
    align-items: center;
    flex-direction: column;
}

.upload-label {
        background: black;
        color: var(--text-gray);
        border: 1px solid var(--accent-cyan);
        color: var(--text-gray);
        cursor: pointer;
        transition: all 0.3s;
        border-radius: 5px;
        padding: 8px;
        margin-top: 20px;
        width: 95%;
        display: flex;
        font-family: monospace;
        text-transform: uppercase;
        justify-content: center;
}

.upload-label:hover {
        color: #fff;
        box-shadow: 0 0 10px rgba(0, 242, 255, 1);
}

        .container {
            max-width: 600px;
            margin: 0 auto;
            padding: 20px;
        }


/* Pagination Wrapper */
.pageListContainer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 40px 0;
    padding: 20px;
    background: rgba(22, 26, 31, 0.5); /* Semi-transparent panel */
    border-top: 1px solid var(--border-color);
    font-family: 'JetBrains Mono', monospace; /* Or any monospace font */
}

/* Base style for all pagination links */
.pageList {
    color: var(--text-gray);
    text-decoration: none;
    padding: 8px 14px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 14px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: #000;
}

/* Hover state: Cyan glow to match your knobs */
.pageList:hover {
    color: var(--accent-cyan);
    border-color: var(--accent-cyan);
    box-shadow: 0 0 10px rgba(0, 242, 255, 0.3);
    transform: translateY(-2px);
}

/* Current Page: The "Active Frequency" */
.currentPage {
    color: #000;
    background: var(--accent-cyan);
    padding: 8px 14px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 14px;
    border: 1px solid var(--accent-cyan);
    box-shadow: 0 0 15px rgba(0, 242, 255, 0.5);
    cursor: default;
}

/* Styling the "Pages" header title */
h3 {
    text-align: center;
    font-family: monospace;
    font-size: 12px;
    letter-spacing: 3px;
    color: var(--text-gray);
    text-transform: uppercase;
    margin-bottom: -10px;
}

/* Special styling for << and >> arrows */
.pageList:first-child, 
.pageList:last-child {
    color: var(--accent-cyan);
    border-color: var(--accent-cyan);
}

.pageList:first-child:hover, 
.pageList:last-child:hover {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 10px var(--accent-cyan);
}

/* Container and Layout */
.profile-header-card {
    display: flex;
    gap: 30px;
    background: var(--panel-bg);
    border: 1px solid var(--border-color);
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

/* The Photo "Frame" */
.photo-frame {
    width: 180px;
    height: 180px;
    border: 1px solid var(--accent-cyan);
    position: relative;
    padding: 5px;
    background: #000;
}

.photo-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(40%) contrast(110%);
}

/* Technical Overlay Effect */
.photo-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(rgba(0, 242, 255, 0.05) 50%, rgba(0, 0, 0, 0) 50%);
    background-size: 100% 4px; /* Scanline effect */
    pointer-events: none;
}

/* Data Column Styling */
.profile-data-column {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.operator-id {
    margin-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
}

.value-name {
    font-size: 1rem;
    font-weight: bold;
    color: #fff;
    font-family: monospace;
    text-transform:uppercase;
}

.value-location {
    font-size: .9rem;
    font-weight: bold;
    color: #fff;
    font-family: monospace;
    text-transform:uppercase;
}

.label {
    color: var(--text-gray);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 2px;
}

/* Grid for Location and Political ID */
.data-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.value-id {
    color: var(--accent-magenta);
    font-family: monospace;
    font-weight: bold;
}

/* Follower Stats */
.stats-row {
    display: flex;
    gap: 15px;
}

.stat-box {
    background: #000;
    padding: 5px 10px;
    border-left: 3px solid var(--accent-cyan);
    min-width: 100px;
}

.stat-num {
    display: block;
    font-size: 12px;
    font-weight: bold;
    color: var(--accent-cyan);
    font-family: monospace;
}

.stat-label {
    font-size: 12px;
    color: var(--text-gray);
    text-transform: uppercase;
}

        /* Mobile specific shrinkage */
        @media (max-width: 400px) {
            .knob-outer { width: 45px; height: 45px; }
            .knob { width: 40px; height: 40px; }
            .value-display { min-width: 85px; font-size: 11px; }
            .knob-module { width: 60px; gap: 5px;}
            .priority-mixer { gap: 0px;}
            .timeline {max-width: 98vw;}
            .toggle-trigger2 {
            bottom: 20px; 
            right: 20px;
            width: 50px; 
            height: 50px; 
            border-radius: 6px;
            }
                .toggle-trigger2 img {
                height: 45px;
                width: 45px;
                border: cyan 3px solid;
                border-radius: 6px;
            }
            .toggle-trigger2 img:hover {
                    box-shadow: 0 0 10px var(--accent-cyan);

            }


        }
