/* Orange Beam & Trail Effects */
.chat-beam {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to top, transparent, var(--asguard-orange));
    z-index: 100005;
    pointer-events: none;
    border-radius: 2px;
    box-shadow: 0 0 15px var(--asguard-orange);
}

.chat-trail {
    position: absolute;
    right: 0;
    width: 2px;
    background: var(--asguard-orange);
    opacity: 0.4;
    filter: blur(1px);
    z-index: 100004;
    pointer-events: none;
}

/* Integrated Chat Window */
.cyber-chat-window {
    position: absolute !important; 
    right: 0; /* Managed by JS */
    bottom: 30px !important; 
    width: 0; /* Start with 0 width */
    height: 0; 
    background: #000; 
    border-left: 1px solid var(--asguard-orange);
    border-top: 1px solid var(--asguard-orange);
    display: flex !important;
    flex-direction: column;
    z-index: 100003;
    overflow: hidden;
    transform: none; /* No more sliding from off-screen */
    box-shadow: none; 
    visibility: hidden;
}

.cyber-chat-window.open {
    visibility: visible;
}

.cyber-chat-window.open {
    transform: translateX(0);
}

/* Hide default LHC widgets */
#lhc_status_widget_v2, #lhc_container_v2, .lhc-status-widget-v2 {
    display: none !important;
}

/* Style the internal chat iframe */
.cyber-chat-window iframe {
    color-scheme: dark;
}

@media (max-width: 768px) {
    /* Mobile chat styles are handled entirely in style-v21.css now */
}
