/* Universal Live Interactions V1.0 */

.uli-panel {
    box-sizing: border-box;
    min-width: 0;
    width: 100%;
    background: #ffffff;
    color: #111111;
    font: 14px Tahoma, Arial, sans-serif;
}

.uli-controls {
    display: flex;
    justify-content: center;
    gap: 24px;
    padding: 10px 6px;
    border-bottom: 1px solid #dddddd;
}

.uli-panel button {
    font: inherit;
    cursor: pointer;
}

.uli-like,
.uli-comment-toggle {
    background: transparent;
    color: #111111;
    border: 0;
    padding: 8px 12px;
    font-size: 17px !important;
}

.uli-like.uli-liked {
    color: #1565c0;
    font-weight: bold;
}

.uli-content[hidden] {
    display: none !important;
}

.uli-heading {
    font-weight: bold;
    padding: 12px;
    border-bottom: 1px solid #eeeeee;
}

.uli-comment-list {
    height: 350px;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 8px 12px;
}

.uli-comment {
    padding: 10px 0;
    border-bottom: 1px solid #eeeeee;
    overflow-wrap: anywhere;
}

.uli-comment-name {
    display: block;
    margin-bottom: 4px;
}

.uli-comment-body {
    display: block;
    white-space: pre-wrap;
}

.uli-comment-form {
    display: flex;
    gap: 6px;
    padding: 10px;
}

.uli-input {
    flex: 1;
    min-width: 0;
    width: 100%;
    padding: 10px;
    border: 1px solid #cccccc;
    background: #ffffff;
    color: #111111;
    border-radius: 5px;
    font-size: 16px !important;
}

.uli-send {
    border: 0;
    border-radius: 5px;
    padding: 8px 12px;
    background: #111111;
    color: #ffffff;
}

.uli-notice,
.uli-empty {
    padding: 8px 12px;
    font-size: 13px;
    color: #666666;
}

@media screen and (min-width: 1024px) {

    .uli-layout {
        display: grid !important;
        grid-template-columns:
            minmax(0, 1fr) minmax(250px, 320px);
        gap: 14px;
        align-items: start;
        width: 100%;
    }

    .uli-layout > .ulive-broadcast {
        min-width: 0;
        max-width: 100%;
    }

    .uli-panel {
        border: 1px solid #dddddd;
    }

    .uli-comment-toggle:disabled {
        opacity: 1;
        cursor: default;
    }
}

@media screen and (max-width: 1023px) {

    .uli-layout {
        display: block !important;
    }

    .uli-panel {
        margin-top: 8px;
    }

    .uli-comment-list {
        height: 230px;
    }
}


/* Universal Live Interactions V1.1
   FamWorlds Dark and Gold Theme */

.uli-panel {
    background: #000000 !important;
    color: #ffffff !important;
    border-color: #333333 !important;
}

.uli-controls {
    background: #000000 !important;
    border-bottom: 1px solid #333333 !important;
    align-items: center;
    flex-wrap: wrap;
}

.uli-like,
.uli-comment-toggle,
.uli-comment-toggle:disabled {
    color: #ffb600 !important;
    background: transparent !important;
}

.uli-like.uli-liked {
    color: #ffb600 !important;
    background: #292000 !important;
    border-radius: 6px;
}

.uli-heading {
    background: #000000 !important;
    color: #ffffff !important;
    border-color: #333333 !important;
}

.uli-comment-list {
    background: #000000 !important;
    color: #ffffff !important;
}

.uli-comment {
    border-bottom-color: #292929 !important;
}

.uli-comment-name {
    color: #ffb600 !important;
}

.uli-comment-body {
    color: #ffffff !important;
}

.uli-comment-form {
    background: #000000 !important;
    padding: 12px 10px !important;
    align-items: center;
}

.uli-input {
    background: #222222 !important;
    color: #ffffff !important;
    border-color: #555555 !important;
}

.uli-input::placeholder {
    color: #bbbbbb !important;
}

.uli-send {
    background: #ffb600 !important;
    color: #000000 !important;
    font-weight: bold !important;
}

.uli-notice,
.uli-empty {
    color: #bbbbbb !important;
    background: #000000 !important;
}

.uli-notice:empty {
    display: none !important;
}

.uli-private-viewers {
    color: #ffb600 !important;
    font-weight: bold;
    font-size: 14px;
}

.uli-private-viewers[hidden] {
    display: none !important;
}

.uli-host-panel {
    width: 100% !important;
    border: 0 !important;
}

.uli-host-panel .uli-controls {
    gap: 8px;
}

.uli-host-panel .uli-comment-list {
    height: 350px;
    max-height: 48vh;
}

@media screen and (max-width: 1023px) {

    .uli-panel {
        margin-top: 0 !important;
    }

    .uli-comment-list {
        height: auto;
        min-height: 60px;
        max-height: 220px;
    }

    .uli-controls {
        padding: 5px !important;
    }

    .uli-host-panel .uli-comment-list {
        height: 180px;
    }
}
