.livestream_body-watch #footer {
    display: none !important;
}

.w2g-empty {
    padding: 60px 0;
    opacity: .6;
    width: 100%;
}

.block_area-live-create .live_content {
    display: flex;
    gap: 30px;
}

.block_area-live-create .w2g-preview-col {
    width: 340px;
    flex-shrink: 0;
}

.block_area-live-create .w2g-preview-col .live__-wrap .item {
    width: 100%;
    margin: 15px 0 0;
    float: none;
}

.block_area-live-create .live__-create {
    flex: 1;
    min-width: 0;
}

.w2g-choice .nav {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
}

.w2g-bottom {
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 0;
}

.w2g-alert-link {
    text-decoration: underline !important;
    color: #000;
}

.w2g-dock {
    position: relative;
    z-index: 20;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    clear: both;
    margin-top: 24px;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, .07);
    border-radius: 14px;
    background: rgba(10, 14, 36, .45);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .18);
}

.w2g-dock button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    color: #fff;
    font-family: inherit;
    line-height: 1;
    cursor: pointer;
    transition: background .15s, color .15s, opacity .15s, transform .15s;
}

.w2g-dock button i {
    line-height: 1;
}

.w2g-dock button:focus-visible,
.w2g-dock input:focus-visible {
    box-shadow: 0 0 0 2px var(--accent-color);
}

.w2g-dock button:disabled {
    opacity: .35;
    cursor: default;
}

.w2g-dock-group {
    display: flex;
    align-items: center;
    gap: 6px;
}

.w2g-dock-btn {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .07);
    font-size: 13px;
}

.w2g-dock-btn:hover:not(:disabled),
.w2g-dock-pick:hover:not(:disabled),
.w2g-dock-pick[aria-expanded="true"] {
    background: rgba(255, 255, 255, .14);
}

.w2g-dock .w2g-dock-btn.is-primary {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
    border-radius: 50%;
    background: var(--accent-color);
    color: #111;
    font-size: 14px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .25);
}

.w2g-dock .w2g-dock-btn.is-primary:hover:not(:disabled) {
    background: var(--accent-color);
    transform: scale(1.06);
}

/* The play triangle looks off-centre without a nudge. */
.w2g-dock .w2g-dock-btn.is-primary .fa-play {
    margin-left: 2px;
}

.w2g-dock-time {
    display: flex;
    align-items: center;
    height: 36px;
    padding-left: 4px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .07);
}

#w2g-ctl-seek {
    width: 58px;
    height: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 13px;
    font-variant-numeric: tabular-nums;
    text-align: center;
    outline: 0;
    box-shadow: none;
}

#w2g-ctl-seek::placeholder {
    color: rgba(255, 255, 255, .35);
}

.w2g-dock #w2g-ctl-seek-btn {
    width: 32px;
    height: 28px;
    margin-right: 4px;
    border-radius: 8px;
    background: transparent;
    font-size: 12px;
    opacity: .7;
}

.w2g-dock #w2g-ctl-seek-btn:hover {
    background: rgba(255, 255, 255, .1);
    opacity: 1;
}

.w2g-menu {
    position: relative;
}

.w2g-dock-pick {
    gap: 8px;
    height: 36px;
    max-width: 200px;
    padding: 0 12px !important;
    border-radius: 10px;
    background: rgba(255, 255, 255, .07);
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
}

.w2g-dock-pick span {
    overflow: hidden;
    text-overflow: ellipsis;
}

.w2g-dock-pick .fa-server {
    font-size: 12px;
    opacity: .6;
}

.w2g-dock-pick .fa-chevron-up {
    font-size: 9px;
    opacity: .6;
    transition: transform .15s;
}

.w2g-dock-pick[aria-expanded="true"] .fa-chevron-up {
    transform: rotate(180deg);
}

.w2g-dock-segment {
    display: flex;
    align-items: center;
    height: 36px;
    padding: 3px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .07);
}

.w2g-dock-segment button {
    height: 100%;
    padding: 0 12px !important;
    border-radius: 8px;
    background: transparent;
    color: rgba(255, 255, 255, .6) !important;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .05em;
}

.w2g-dock-segment button:hover:not(:disabled):not(.is-active) {
    color: #fff !important;
}

.w2g-dock .w2g-dock-segment button.is-active {
    background: var(--accent-color);
    color: #111 !important;
}

.w2g-dock-end {
    gap: 8px;
    height: 36px;
    margin-left: auto;
    padding: 0 14px !important;
    border-radius: 10px;
    background: rgba(255, 77, 79, .1);
    color: #ff8486 !important;
    font-size: 13px;
    font-weight: 500;
}

.w2g-dock-end:hover {
    background: rgba(255, 77, 79, .22);
    color: #fff !important;
}

.w2g-dock-end i {
    font-size: 10px;
}

/* Popups: open above the button, theme navy, titled from data-title. */
.w2g-pop {
    display: none;
    position: absolute;
    z-index: 30;
    bottom: calc(100% + 10px);
    left: 0;
    min-width: 200px;
    max-height: 300px;
    padding: 8px;
    overflow-y: auto;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 12px;
    background: #1d2142;
    box-shadow: 0 16px 40px rgba(0, 0, 0, .5);
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, .2) transparent;
}

.w2g-pop::before {
    content: attr(data-title);
    display: block;
    padding: 4px 6px 8px;
    color: rgba(255, 255, 255, .5);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.w2g-pop.is-open {
    display: block;
}

.w2g-dock .w2g-pop button {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 9px 10px;
    border-radius: 8px;
    background: transparent;
    font-size: 13px;
    text-align: left;
}

.w2g-dock .w2g-pop button + button {
    margin-top: 2px;
}

.w2g-dock .w2g-pop button:hover {
    background: rgba(255, 255, 255, .08);
}

.w2g-dock .w2g-pop button.is-active {
    background: rgba(255, 255, 255, .06);
    color: var(--accent-color);
    font-weight: 600;
}

.w2g-dock #w2g-server-pop button.is-active::after {
    content: "\f00c";
    font-family: "Font Awesome 5 Free", "Font Awesome 6 Free", "FontAwesome";
    font-weight: 900;
    font-size: 11px;
}

.w2g-pop-episodes {
    width: 284px;
}

.w2g-pop-episodes.is-open {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 6px;
}

.w2g-pop-episodes::before {
    grid-column: 1 / -1;
}

.w2g-dock .w2g-pop-episodes button {
    justify-content: center;
    height: 36px;
    padding: 0;
    border-radius: 8px;
    background: rgba(255, 255, 255, .06);
    font-variant-numeric: tabular-nums;
}

.w2g-dock .w2g-pop-episodes button + button {
    margin-top: 0;
}

.w2g-dock .w2g-pop-episodes button:hover {
    background: rgba(255, 255, 255, .14);
}

.w2g-dock .w2g-pop-episodes button.is-active {
    background: var(--accent-color);
    color: #111;
}

.w2g-sync-note {
    padding: 8px 15px;
    font-size: 13px;
    text-align: center;
    background: rgba(255, 255, 255, .06);
    color: rgba(255, 255, 255, .75);
}

.t_c-chatlist {
    overflow-y: auto;
}

.chat-timestamp {
    color: var(--accent-color);
    text-decoration: underline;
}

.w2g-chat-empty {
    opacity: .6;
}

@media screen and (max-width: 860px) {
    .w2g-dock-end {
        margin-left: 0;
    }

    .block_area-live-create .live_content {
        flex-direction: column;
    }

    .block_area-live-create .w2g-preview-col {
        width: 100%;
    }
}

/* Waiting / countdown blocks sit above the blurred poster cover so the
   Start now button and share link are clickable (same as the Laravel room). */
.livestream_page-watch #player-wrapper { height: calc(100vh - 315px) !important; padding-bottom: 0 !important; margin-bottom: 0 !important; }
.livestream_page-watch .player-notice { z-index: 10; display: block; position: relative; padding-top: 120px; }
.livestream_page-watch .player-countdown { z-index: 10; position: relative; padding-top: 120px; text-align: center; }
.livestream_page-watch .player-notice .cb-button { width: 100%; max-width: 300px; margin: 16px auto 0; }
.livestream_page-watch .ls___-detail { overflow: visible; }
.w2g-pop::before { position: sticky; top: -8px; z-index: 1; margin: -8px -8px 0; padding: 10px 14px 8px; background: #1d2142; }

/* Live player fills the whole player area. */
.livestream_page-watch #player-container { position: absolute; top: 0; left: 0; right: 0; bottom: 0; z-index: 5; background: #000; }
.livestream_page-watch #player-container iframe { display: block; width: 100%; height: 100%; border: 0; }
.livestream_page-watch .w2g-sync-note { position: absolute; left: 0; right: 0; bottom: 0; z-index: 6; }

/* Room activity lines (host changed server / episode / audio / seek). */
#chat-content .w2g-chat-event { display: block; padding: 4px 6px; }
#chat-content .w2g-chat-event .w2g-event-line {
    display: block;
    padding: 7px 12px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .05);
    border-left: 3px solid var(--accent-color);
    color: rgba(255, 255, 255, .75);
    font-size: 12px;
    line-height: 1.45;
}
#chat-content .w2g-chat-event strong { color: var(--accent-color); font-weight: 600; }
#chat-content .w2g-chat-event .w2g-event-time { float: right; margin-left: 8px; opacity: .45; font-size: 11px; }

/* Emoji picker for room chat; the input sits at the bottom, so it opens upward. */
#w2g-emo .w2g-emo-panel {
    display: none;
    position: absolute;
    bottom: calc(100% + 18px);
    left: -6px;
    z-index: 40;
    width: 18rem;
    max-width: calc(100vw - 2rem);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(0, 0, 0, .5);
}
#w2g-emo.show .w2g-emo-panel { display: block; }
#w2g-emo .w2g-emo-panel emoji-picker {
    --border-radius: 12px;
    --border-color: transparent;
    --num-columns: 7;
    display: block;
    width: 100%;
    height: 20rem;
}
