/* Container for notification Queue */
#broadcast-container {
    /* Position handled by JS (Absolute in #dkplam, Fixed in Body) */
    z-index: 99999;
    width: auto;
    max-width: 720px;
    display: flex;
    flex-direction: column;
    gap: 9px;
    pointer-events: none;
}

/* Individual Notification Item */
.broadcast-item {
    background: rgba(0, 0, 0, 0.7);
    border-left: 7px solid #00aaff;
    color: #fff;
    padding: 12px 20px;
    border-radius: 8px;
    font-family: 'Kanit', sans-serif;
    font-size: 22px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.3);

    /* Animation: Slide In only. JS handles FadeOut. */
    opacity: 0;
    transform: translateX(-36px);
    animation: slideIn 0.5s forwards;
}

/* Icons */
.broadcast-icon-speaker {
    width: 36px;
    height: 36px;
    background-image: url('https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj7sC5W5j_r5p6r6t7y8u9i0o1p2a3s4d5f/s1600/megaphone.png');
    background-size: contain;
    background-repeat: no-repeat;
    filter: drop-shadow(0 0 2px red);
}

.broadcast-item-img {
    width: 44px;
    height: 44px;
    object-fit: contain;
}

/* Text Styling */
.broadcast-text {
    line-height: 1.4;
    text-shadow: 1px 1px 2px #000;
}

.broadcast-player {
    color: #00eeff;
    font-weight: bold;
}

.broadcast-action {
    color: #ccc;
}

.broadcast-itm-name {
    color: #00ffaa;
}

@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@media screen and (max-width: 2600px) {
    #broadcast-container {
        transform: scale(0.9);
        transform-origin: bottom left;
        /* Move up higher and further right */
        bottom: 150px !important;
        left: 40px !important;
    }
}

@media screen and (max-width: 2000px) {
    #broadcast-container {
        transform: scale(0.9);
        transform-origin: bottom left;
        /* Move up higher and further right */
        bottom: 250px !important;
        left: 40px !important;
    }
}

/* Responsive Adjustments */
@media screen and (max-width: 1600px) {
    #broadcast-container {
        transform: scale(0.9);
        transform-origin: bottom left;
        /* Move up higher and further right */
        bottom: 250px !important;
        left: 150px !important;
    }
}

@media screen and (max-width: 1366px) {
    #broadcast-container {
        transform: scale(0.85);
        /* Slightly bigger than 0.8 for better visibility */
        bottom: 300px !important;
        /* Move up significantly */
        left: 200px !important;
    }
}

@media screen and (max-height: 800px) {
    #broadcast-container {
        bottom: 320px !important;
    }
}