/* 724Bets Chat V2 Engine - Isolated Scoped CSS */
#chat-v2-backdrop {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 99998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}



#chat-v2-drawer.no-transition { transition: none !important; }
#chat-v2-drawer {
    position: fixed;
    top: 0; right: -380px; bottom: 0;
    width: 360px;
    background: #06080c;
    z-index: 99999;
    border-left: 1px solid rgba(255,255,255,0.05);
    display: flex;
    flex-direction: column;
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#chat-v2-drawer.open {
    right: 0;
}

.cv2-header {
    height: 72px;
    min-height: 72px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    background: #06080c;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    flex-shrink: 0;
}

.cv2-header-left {
    display: flex;
    align-items: center;
    font-size: 16px;
    font-weight: 800;
    color: #fff;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.cv2-live-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    margin-right: 8px;
    box-shadow: 0 0 8px #10b981;
    animation: cv2PulseDot 2s infinite;
}

@keyframes cv2PulseDot {
    0%, 100% { transform: scale(0.95); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.5; }
}

.cv2-online-count {
    background: rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    margin-left: 8px;
}

.cv2-header-btn {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #94a3b8;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cv2-header-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    color: #fff;
    transform: scale(1.05);
}


body.sports-page 







.cv2-messages {
    min-height: 0;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    flex: 1;
    overflow-y: auto;
    scroll-behavior: smooth;
    overflow-x: hidden;
    padding: 16px 14px 16px 14px !important;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cv2-messages::-webkit-scrollbar { display: none !important; width: 0 !important; }


.cv2-msg-row {
    flex-shrink: 0;
    display: flex;
    gap: 12px;
    padding: 14px 16px; /* Increased padding */
    margin-bottom: 4px; /* Added spacing between messages */
    border-bottom: 1px solid rgba(255, 255, 255, 0.02); /* Subtle divider */
    transition: background 0.1s ease;
}


@keyframes cv2FadeInMsg {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
}

.cv2-msg-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
    padding: 0 4px;
}

.cv2-msg-user {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
}

.cv2-msg-time {
    color: #64748b;
    font-size: 11.5px;
    font-weight: 600;
}



.cv2-footer {
    padding: 16px;
    background: #0b0f19;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    flex-shrink: 0;
}

.cv2-login-prompt {
    display: flex;
    gap: 8px;
}

.cv2-btn-secondary, .cv2-btn-primary {
    flex: 1;
    padding: 12px;
    border-radius: 8px;
    font-weight: 800;
    cursor: pointer;
    text-align: center;
    border: none;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 13px;
}
.cv2-btn-secondary { background: #1e293b; color: #fff; }
.cv2-btn-primary { background: #00e5ff; color: #000; }

.cv2-logged-input-wrap {
    display: flex;
    background: #1e293b;
    border-radius: 8px;
    padding: 4px;
    align-items: center;
}

.cv2-text-input {
    flex: 1;
    background: transparent;
    border: none;
    color: #fff;
    padding: 8px 12px;
    font-size: 13px;
    outline: none;
}

.cv2-send-btn {
    background: #00e5ff;
    border: none;
    color: #000;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.cv2-coupon-card {
    background: rgba(0,0,0,0.2);
    border: 1px solid rgba(255,255,255,0.04);
    border-left: 3px solid #10b981;
    border-radius: 6px;
    padding: 10px 12px;
    margin-top: 4px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
    transition: all 0.2s;
}
.cv2-coupon-card:hover {
    background: rgba(0,0,0,0.4);
    border-left: 3px solid #34d399;
}

@media (max-width: 1024px) {
    #chat-v2-drawer.no-transition { transition: none !important; }
    #chat-v2-drawer {
        width: 100% !important;
        right: -100%;
        top: 72px !important;
        height: calc(100dvh - 72px) !important;
        max-height: calc(100dvh - 72px) !important;
    }
    #chat-v2-backdrop.open {
        opacity: 1;
        pointer-events: all;
    }
}



    html:not(.chat-drawer-open) body {
        padding-right: 0;
        transition: padding-right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }



@media (min-width: 1025px) {
    /* Topbar behaves exactly like the main wrapper, shrinking its width */
    html.chat-drawer-open .topbar {
        width: calc(100vw - var(--sidebar-width, 290px) - 360px) !important;
        transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    html:not(.chat-drawer-open) .topbar {
        width: calc(100vw - var(--sidebar-width, 290px) - 80px) !important;
        transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    /* Shrink the main app layout width */
    html.chat-drawer-open .app-layout {
        width: calc(100vw - var(--sidebar-width, 290px) - 360px) !important;
        transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    html:not(.chat-drawer-open) .app-layout {
        width: calc(100vw - var(--sidebar-width, 290px) - 80px) !important;
        transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    
    /* Ensure body doesn't do anything weird */
    html.chat-drawer-open body {
        padding-right: 0 !important;
        overflow-x: hidden;
    }
}

/* Level & VIP Badges */
.cv2-lvl-badge {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 2px 6px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2px;
}

/* Hover Actions */
.cv2-msg-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}
.cv2-msg-actions {
    display: flex;
    gap: 4px;
    opacity: 0;
    transition: opacity 0.2s;
}
.cv2-msg-row:hover .cv2-msg-actions {
    opacity: 1;
}
.cv2-msg-actions button {
    background: transparent;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    border-radius: 4px;
    padding: 2px 4px;
    font-size: 14px;
    transition: color 0.2s;
}
.cv2-msg-actions button:hover {
    color: #fff;
    background: rgba(255,255,255,0.1);
}

/* Coupon Copy Button */
.cv2-coupon-add-btn {
    background: rgba(16,185,129,0.1);
    border: none;
    color: #10b981;
    border-radius: 4px;
    padding: 6px 12px;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.2s;
}
.cv2-coupon-add-btn:hover {
    background: rgba(16,185,129,0.25);
    color: #34d399;
}

/* Glow Message Effect */
.cv2-glow-msg {
    border-left: 2px solid #fbbf24;
    background: linear-gradient(90deg, rgba(251,191,36,0.08) 0%, rgba(0,0,0,0) 100%);
    padding: 6px 10px;
    border-radius: 0 6px 6px 0;
    color: #fcd34d !important;
    margin-left: 20px;
}

/* Guest Blur Overlay */



/* Sleek Rain Banner */
.sleek-rain-card {
    background: linear-gradient(90deg, rgba(16,185,129,0.1) 0%, rgba(16,185,129,0.02) 100%);
    border: 1px solid rgba(16,185,129,0.2);
    border-radius: 8px;
    padding: 12px 14px;
    margin: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    position: relative;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.rain-info {
    display: flex;
    align-items: center;
    gap: 10px;
}
.rain-icon-wrap {
    width: 24px; height: 24px;
    background: rgba(16,185,129,0.2);
    border-radius: 6px;
    display: flex; align-items: center; justify-content: center;
    color: #10b981; font-size: 14px;
}
.rain-title { color: #fff; font-weight: 700; font-size: 12px; }
.text-green { color: #10b981; font-weight: 800; }
.rain-join-btn {
    background: #10b981;
    color: #064e3b;
    border: none;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.2s;
}
.rain-join-btn:hover {
    background: #34d399;
}


.cv2-msg-user i:not(.ph-crown) { color: #64748b !important; }
.cv2-msg-user .ph-crown { color: #d4af37 !important; filter: none !important; font-size: 11px !important; margin-left: 2px !important; }

/* Segmented Control Header */

.cv2-segment-pill {
    display: flex;
    align-items: center;
    background: #141824;
    border: none;
    border-radius: 9px;
    padding: 5px 2px;
    gap: 2px;
    width: 100%;
}
.cv2-tab-btn {
    flex: 1;
    text-align: center;
    padding: 9px 4px;
    background: transparent;
    border: none;
    border-radius: 7px;
    color: #7e8b9f;
    font-weight: 700;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.15s ease;
    white-space: nowrap;
    font-family: inherit;
}
.cv2-tab-btn.active {
    background: #1e293b;
    color: #cbd5e1;
    font-weight: 800;
}
.cv2-tab-btn:hover:not(.active) {
    color: #ffffff;
}
.cv2-tab-btn.active i {
    color: #00e5ff;
}

.cv2-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 15px;
    flex-shrink: 0;
}
.cv2-msg-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
    margin-bottom: 4px;
}
.cv2-msg-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}
.cv2-msg-user {
    display: flex;
    align-items: center;
    gap: 6px;
}
.cv2-level-badge {
    color: #fff;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
}
.cv2-username { font-size: 14px; font-weight: 700; color: #cbd5e1; }
.cv2-msg-time {
    color: #64748b;
    font-size: 12px;
}
.cv2-msg-bubble {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.02);
    color: #cbd5e1;
    padding: 8px 12px;
    margin-top: 6px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.55;
    word-break: break-word;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.cv2-msg-content[style*="background: linear-gradient"] {
    background: transparent !important;
    border: none !important;
    padding-left: 0 !important;
}

.cv2-msg-content[style*="rgba(239,68,68,0.1)"] .cv2-msg-bubble {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.2);
    border-radius: 8px;
}

.cv2-msg-content[style*="rgba(16,185,129,0.1)"] .cv2-msg-bubble {
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.2);
    border-radius: 8px;
}
.cv2-guest-btn {
    width: 100%;
    background: #1e293b;
    color: #94a3b8;
    border: none;
    padding: 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s;
}
.cv2-guest-btn:hover {
    background: #334155;
    color: #fff;
}
.cv2-rain-graphic-card {
    background: linear-gradient(135deg, #0f172a 0%, #06080c 100%);
    border: 1px solid rgba(0,229,255,0.2);
    border-radius: 12px;
    padding: 16px;
    margin-top: 8px;
    position: relative;
    overflow: hidden;
}
.cv2-rain-graphic-card::after {
    content: '☁️';
    position: absolute;
    right: -20px;
    bottom: -20px;
    font-size: 100px;
    opacity: 0.1;
    pointer-events: none;
}
.rain-graphic-title { color: #94a3b8; font-size: 12px; }
.text-cyan { color: #00e5ff; font-weight: 800; }
.rain-graphic-amount { color: #fbbf24; font-size: 24px; font-weight: 900; margin: 4px 0; text-shadow: 0 0 12px rgba(251,191,36,0.3); }
.rain-graphic-desc { color: #cbd5e1; font-size: 11px; margin-bottom: 12px; line-height: 1.4; max-width: 80%; }
.rain-graphic-btn {
    background: #00e5ff;
    color: #000;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}
.rain-graphic-btn:hover { background: #38bdf8; }



/* Vault Rain Banner */
.vault-rain-card {
    background: linear-gradient(145deg, #0f1523 0%, #070a13 100%);
    border: 1px solid rgba(0, 229, 255, 0.15);
    border-radius: 12px;
    padding: 16px;
    margin: 12px 16px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}
.vault-rain-card:hover {
    border-color: rgba(0, 229, 255, 0.4);
    box-shadow: 0 10px 30px rgba(0,229,255,0.1);
    transform: translateY(-2px);
}
.vault-rain-content {
    position: relative;
    z-index: 2;
}
.vault-rain-header {
    font-size: 13px;
    margin-bottom: 6px;
}
.vault-rain-amount {
    font-size: 28px;
    font-weight: 900;
    color: #fbbf24;
    margin-bottom: 8px;
    text-shadow: 0 2px 10px rgba(251, 191, 36, 0.3);
    font-family: 'Montserrat', sans-serif;
    letter-spacing: -0.5px;
}
.vault-rain-desc {
    font-size: 13px;
    color: #e2e8f0;
    line-height: 1.4;
    margin-bottom: 16px;
    font-weight: 500;
}
.vault-rain-progress-wrap {
    width: 100%;
    height: 6px;
    background: rgba(255,255,255,0.05);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 16px;
    border: 1px solid rgba(255,255,255,0.02);
}
.vault-rain-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #00e5ff, #3b82f6);
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(0,229,255,0.5);
    transition: width 0.3s ease;
}
.vault-join-btn {
    width: 100%;
    background: #00e5ff;
    color: #000;
    border: none;
    padding: 10px 0;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(0,229,255,0.3);
    transition: all 0.2s ease;
}
.vault-join-btn:hover {
    background: #fff;
    box-shadow: 0 4px 20px rgba(255,255,255,0.4);
}
.vault-bg-icon {
    position: absolute;
    right: -20px;
    bottom: -20px;
    font-size: 100px;
    color: rgba(255,255,255,0.03);
    z-index: 1;
    pointer-events: none;
    transform: rotate(-15deg);
}

/* Animations */
@keyframes shakeVault {
    0% { transform: translate(1px, 1px) rotate(0deg); }
    10% { transform: translate(-1px, -2px) rotate(-1deg); }
    20% { transform: translate(-3px, 0px) rotate(1deg); }
    30% { transform: translate(3px, 2px) rotate(0deg); }
    40% { transform: translate(1px, -1px) rotate(1deg); }
    50% { transform: translate(-1px, 2px) rotate(-1deg); }
    60% { transform: translate(-3px, 1px) rotate(0deg); }
    70% { transform: translate(3px, 1px) rotate(-1deg); }
    80% { transform: translate(-1px, -1px) rotate(1deg); }
    90% { transform: translate(1px, 2px) rotate(0deg); }
    100% { transform: translate(1px, -2px) rotate(-1deg); }
}
.vault-shake {
    animation: shakeVault 0.5s;
    animation-iteration-count: infinite;
    border-color: #ef4444 !important;
    box-shadow: 0 0 20px rgba(239,68,68,0.3) !important;
}
.vault-rain-progress-fill.danger {
    background: #ef4444 !important;
    box-shadow: 0 0 10px rgba(239,68,68,0.5) !important;
}

/* Minimalist Critical State for Vault */
.vault-rain-card.vault-critical {
    border-color: rgba(239, 68, 68, 0.3);
    background: linear-gradient(180deg, rgba(239, 68, 68, 0.02) 0%, rgba(6, 8, 12, 0) 100%);
    transition: all 0.3s ease;
}

.sys-err-content .cv2-msg-bubble {
    background: transparent !important;
    color: #ef4444;
}
.sys-succ-content .cv2-msg-bubble {
    background: transparent !important;
    color: #00e5ff;
}

.chat-mod-tools {
    opacity: 0.3;
    transition: opacity 0.2s;
}
.cv2-msg-user:hover .chat-mod-tools {
    opacity: 1;
}
.chat-mod-tools i:hover {
    transform: scale(1.2);
    filter: brightness(1.3);
}

@media (max-width: 991px) {
    #chat-v2-backdrop.active {
        opacity: 1;
        pointer-events: auto;
    }
    #chat-v2-drawer {
        width: 100%;
        right: -100%;
        max-width: 400px; /* Limits width on tablets */
    }
}

.cv2-messages::after {
    content: '';
    display: block;
    min-height: 24px;
    flex-shrink: 0;
}


/* Persistent collapsed drawer on desktop */
@media (min-width: 1025px) {
    #chat-v2-drawer {
        right: 0 !important;
        width: 80px !important;
        border-left: 1px solid rgba(255,255,255,0.05);
    }
    #chat-v2-drawer.open {
        width: 360px !important;
    }
    
    /* Collapsed state styling */
    #chat-v2-drawer:not(.open) .stake-toggle-text {
        display: none !important;
    }
    #chat-v2-drawer:not(.open) .cv2-header {
        flex-direction: column !important;
        padding: 16px 4px 8px 4px !important;
        height: auto !important;
        gap: 12px !important;
        align-items: center !important;
    }
    /* Removed first-child override to let wrapper CSS take over */
    #chat-v2-drawer:not(.open) .stake-toggle-btn {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0 !important;
        width: 48px !important;
        height: 48px !important;
        border-radius: 12px !important;
        flex: none !important;
        margin: 0 auto !important;
    }
    #chat-v2-drawer:not(.open) .stake-toggle-bg-icon {
        position: static !important;
        transform: none !important;
        opacity: 1 !important;
        font-size: 24px !important;
        color: #fff !important;
    }
    #chat-v2-drawer:not(.open) #cv2-chat-area,
    #chat-v2-drawer:not(.open) #cv2-betslip-area,
    #chat-v2-drawer:not(.open) #cv2-destek-area {
        display: none !important;
    }
    #chat-v2-drawer:not(.open) .cv2-burger-wrapper {
        display: flex !important;
        margin-bottom: 8px !important;
    }
}

.cv2-messages::before {
    content: '';
    margin-top: auto;
}


/* Right Sidebar Toggle styling to match Left Sidebar */
.right-sidebar-toggle-wrap {
    background: #1a2235 !important;
    border-radius: 14px !important;
    padding: 4px !important;
    border: 1px solid rgba(255,255,255,0.04) !important;
    box-shadow: inset 0 2px 6px rgba(0,0,0,0.3) !important;
    transition: all 0.2s ease;
}
#chat-v2-drawer .stake-toggle-btn {
    background: transparent !important;
    border-radius: 10px !important;
    height: 44px !important;
    flex: 1;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    transition: all 0.2s ease;
}
#chat-v2-drawer .stake-toggle-btn.active {
    background: #0f75f9 !important; /* Rainbet Blue */
    box-shadow: 0 4px 12px rgba(15, 117, 249, 0.4) !important;
}
#chat-v2-drawer .stake-toggle-btn.active .stake-toggle-bg-icon,
#chat-v2-drawer .stake-toggle-btn.active .stake-toggle-text {
    color: #fff !important;
}
#chat-v2-drawer .stake-toggle-btn:not(.active) .stake-toggle-bg-icon {
    color: #475569 !important;
}
#chat-v2-drawer .stake-toggle-btn:not(.active) .stake-toggle-text {
    color: #64748b !important;
}

@media (min-width: 1025px) {
    #chat-v2-drawer:not(.open) .right-sidebar-toggle-wrap {
        flex-direction: column !important;
        gap: 4px !important;
        padding: 6px !important;
        width: 56px !important;
        margin: 0 auto !important;
    }
    #chat-v2-drawer:not(.open) .stake-toggle-btn {
        width: 44px !important;
        height: 44px !important;
        margin: 0 !important;
        flex: none !important;
    }
    #chat-v2-drawer:not(.open) .cv2-header {
        gap: 0 !important;
        padding-top: 12px !important;
    }
}


/* BRUTE FORCE RIGHT SIDEBAR ALIGNMENT */
#chat-v2-drawer .right-sidebar-header {
    height: auto !important;
    min-height: auto !important;
}

#chat-v2-drawer.open .right-sidebar-header {
    flex-direction: row !important;
    padding: 0 16px !important;
    height: 72px !important;
}

#chat-v2-drawer.open .cv2-burger-wrapper {
    width: auto !important;
}
#chat-v2-drawer.open .right-sidebar-toggle-wrap {
    flex-direction: row !important;
    width: 100% !important;
    padding: 4px !important;
    height: auto !important;
}

#chat-v2-drawer:not(.open) .right-sidebar-header {
    flex-direction: column !important;
    padding: 16px 4px 8px 4px !important; /* This matches left sidebar padding exactly */
    gap: 12px !important;
    align-items: center !important;
}
#chat-v2-drawer:not(.open) .cv2-burger-wrapper {
    display: flex !important;
    width: 100% !important;
    justify-content: center !important;
    margin-bottom: 0 !important;
}
#chat-v2-drawer:not(.open) .right-sidebar-toggle-wrap {
    flex-direction: column !important;
    width: 56px !important;
    padding: 10px 6px 2px 6px !important; /* Visually shift down */
    margin: 0 auto !important;
}
#chat-v2-drawer:not(.open) .stake-toggle-btn {
    width: 44px !important;
    height: 44px !important;
    margin: 0 !important;
    padding: 0 !important;
}

@media (min-width: 1025px) {
    html body #chat-v2-drawer {
        top: 0 !important;
        height: 100vh !important;
        max-height: 100vh !important;
    }
}
