    /* 🧵 Thread Board Frame */
    .thread-block {
        display: flex;
        flex-direction: column;
        position: relative;
        width: 100%;
    }
    
    .thread-board {
        background-color: #191c22;
        border: 1px solid var(--x-border, #2f3336);
        border-radius: 12px;
        /* 🌟 FIX: Dropped top/bottom padding to 6px to stop pushing the text down */
        padding: 6px 20px; 
        font-size: 15px;
        line-height: 1.5;
        color: var(--x-text-main, #ffffff);
        box-shadow: 0 4px 8px rgba(0,0,0,0.3);
        position: relative;
        z-index: 2;
        box-sizing: border-box;
    }

    /* 🌟 FIX: Absolute force collapse on any browser-default paragraph behaviors */
    .thread-board p, .thread-board div, .thread-board span {
        margin: 0 !important;
        padding: 0 !important;
        line-height: 1.5 !important;
    }

    /* 🔩 Metallic Eyelet Ring (Shifted closer to the corners to avoid text lines) */
    .eyelet-ring {
        position: absolute;
        width: 8px; 
        height: 8px;
        background: #000000;
        border: 1.5px solid #8c8c8c; 
        border-radius: 50%;
        z-index: 3;
        box-shadow: inset 0 1px 1px rgba(0,0,0,0.8);
        box-sizing: border-box;
    }
    /* 🌟 FIX: Moved rings right into the padding zone so they float independently of text content */
    .eyelet-ring.top-left { top: 4px; left: 8px; }
    .eyelet-ring.top-right { top: 4px; right: 8px; }
    .eyelet-ring.bottom-left { bottom: 4px; left: 8px; }
    .eyelet-ring.bottom-right { bottom: 4px; right: 8px; }

    /* 🪢 Rope Container (Tightened vertical overlap matrix) */
    .rope-container {
        display: flex;
        justify-content: space-between;
        width: 100%;
        height: 40px; 
        /* 🌟 FIX: Shifted padding inwards slightly to stay locked straight inside the new eyelet positions */
        padding: 0 11px; 
        box-sizing: border-box;
        position: relative;
        /* 🌟 FIX: Adjusted snap pull to stay flush with the tighter boards */
        margin: -56px 0; 
        z-index: 1; 
    }

    .rope-left, .rope-right {
        width: 10px;
        height: 100%;
        background: linear-gradient(to right, #5c4a33, #8a7355, #443522);
        box-shadow: 1px 0 1px rgba(0,0,0,0.4);
    }

    .expanded-threads-hidden {
        display: none;
        opacity: 0;
        transition: opacity 0.2s ease-in-out;
    }
        /* Modal Backdrop Dark Overlay Blend */
    .modal-backdrop {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.6);
        z-index: 1000;
        display: none; /* Controlled by JS */
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    /* Active visibility state logic */
    .modal-backdrop.show {
        display: block;
        opacity: 1;
    }

    /* 🗂️ Bottom Sheet Viewport Frame */
    .comment-bottom-sheet {
        position: fixed;
        bottom: 0;
        left: 50%;
        transform: translate(-50%, 100%); /* Starts completely hidden below */
        width: 100%;
        max-width: 600px; /* Aligns cleanly with feed max-widths */
        height: 50vh; /* 🌟 Restricts view size to exactly mid half screen */
        background-color: #191c22;
        border-top: 1px solid var(--x-border, #2f3336);
        border-top-left-radius: 20px;
        border-top-right-radius: 20px;
        display: flex;
        flex-direction: column;
        transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
        box-sizing: border-box;
    }

    /* Slide Up Animation execution class trigger */
    .modal-backdrop.show .comment-bottom-sheet {
        transform: translate(-50%, 0);
    }

    /* Grab handlebar visual design decoration */
    .sheet-handlebar {
        width: 40px;
        height: 50px;
        background-color: #3e424a;
        border-radius: 3px;
        margin: 8px auto 4px auto;
        cursor: pointer;
    }

    .sheet-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 20px 10px 20px;
        border-bottom: 1px solid var(--x-border, #2f3336);
    }

    .sheet-header h3 {
        margin: 0;
        color: #ffffff;
        font-size: 18px;
    }

    .sheet-close-btn {
        background: none;
        border: none;
        color: var(--x-text-sub, #858585);
        font-size: 18px;
        cursor: pointer;
    }

    /* Scrollable Comments Lane Container */
    .sheet-body {
        flex: 1;
        overflow-y: auto;
        padding: 15px 20px;
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    /* Dynamic Inner Comment Card Layout Style */
    .modal-comment-item {
        background-color: #16181c;
        border: 1px solid var(--x-border, #2f3336);
        padding: 12px;
        border-radius: 12px;
    }
        /* Fixed form lane on sheet floor baseline */
    .sheet-footer-form {
        padding: 12px 20px;
        border-top: 1px solid var(--x-border, #2f3336);
        background-color: #191c22;
        box-sizing: border-box;
    }

    /* Subtle hover indicator utility states for buttons */
    .sheet-footer-form button:hover {
        opacity: 0.85;
    }

    .sheet-footer-form input::placeholder {
        color: var(--x-text-sub, #858585);
    }
