body {
    margin: 0;
    font-family: "Inter";
}

/* Prueba: iconos de Google (Material Symbols) en el chat de la home.
   Necesita !important porque theme.js aplica *{font-family:...!important}
   para la tipografía elegida en el panel — igual que hace bootstrap-icons
   con los suyos, si no la fuente de iconos se pisa y se ve el nombre en texto. */
.material-symbols-outlined {
    font-family: 'Material Symbols Outlined' !important;
    font-weight: normal;
    font-style: normal;
    font-size: inherit;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
}

#btn-session-manana {
    border-radius: 25px 0 0 25px;
}

#btn-session-tarde {
    border-radius: 0 25px 25px 0;
}

#btn-session-manana,
#btn-session-tarde {
    width: 150px;
}


.logout-button {
    margin-left: auto;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.logout-button:hover {
    opacity: 1;
}

input {
    font-family: "Inter";
    font-weight: 400;
}

a {
    color: white;
    text-decoration: none;
}

h2 {
    color: orange;
    padding: 0 10px;
    border-radius: 10px;
}

.date_item {
    background-color: rgba(255, 200, 87, 0.55);
    border-radius: 15px;
    margin: 10px;
    padding: 10px;
    font-size: 14px;
    font-weight: 600;
    align-self: center;
    box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.25);
}



#content_container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#content_inner {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.sbetween {
    justify-content: space-between;
}

#media_container {
    display: flex;
    width: 100%;
    justify-content: center;
    gap: 20px;
    margin: 15px 0;
}

.vw70 {
    width: 70vw;
}

#username_info {
    text-overflow: ellipsis;
    overflow: hidden;
    font-size: 0.9em;
}

#video,
.video {
    width: clamp(480px, 58vw, 900px);
    height: auto;
    aspect-ratio: 16 / 9;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.14);
}


.ondemand-video {
    height: auto;
    width: 40%;
}

#chat {
    /* alto: se iguala al del vídeo mediante align-items:stretch en #media_container,
       y como tope nunca debe superar el alto real del vídeo (mismo cálculo que su aspect-ratio) */
    width: 350px;
    max-height: calc(clamp(480px, 58vw, 900px) * 9 / 16 + 2px);
    background-color: white;
    background-clip: padding-box;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 10px;
    flex-direction: column;
    position: relative;
}



#chat_header {
    /* background-color: rgb(25, 17, 102); */
    background: #000615;
    /* border-radius: 10px 10px 0 0; */
    color: white;
    font-size: 1.2em;
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 50px;
    padding: 0 10px;
}


#chat_body {
    /* background-image: url(./imgs/fondo-chat.png); */
    /* background-image: url(./imgs/fondo-chat.jpg); */
    background-size: cover;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    overflow-y: auto;
    height: 350px;
}



#chat_icon_container {
    position: absolute;
    bottom: 50px;
    left: 0;
    right: 0;
    background-color: #333333;
    width: 100%;
    height: 40px;
    flex-direction: row;
    align-items: center;
    animation: none;
}

#chat_icon_container.visible {
    animation: iconContainerSlideUp 0.22s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes iconContainerSlideUp {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#chat_icon_subcontainer {
    display: flex;
    background-color: #333333;
    width: 100%;
    height: 40px;
    overflow: hidden;
    flex-direction: row;
    align-items: center;
}

.icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    cursor: pointer;
    user-select: none;
}

.selected_flag {
    border: 2px solid #0d5981;
    padding: 5px;
    border-radius: 5px;
}

.flag {
    height: 20px;
    width: 30px;
    cursor: pointer;
}

.icon_small {
    height: 20px;
    width: 20px;
}



.logos_container {
    display: flex;
    justify-content: center;
    flex-direction: row;
    flex-wrap: wrap;
    padding-bottom: 50px;
}

.white_icon {
    color: white;
    font-size: 30px;
}

#chat_footer {
    background-color: rgb(255, 255, 255);
    /* border-radius: 0 0 10px 10px; */
    color: rgb(73, 73, 73);
    font-size: 16px;
    display: grid;
    align-items: center;
    padding: 0 10px;
    gap: 10px;
    grid-template-columns: 1fr 20px 20px;
    cursor: text;
    min-height: 50px;
}



#chat_header:hover {
    background-color: orange;
    color: #153F63;
}

.visible {
    display: flex;
    flex-direction: column;
}

.hidden {
    display: none;
}

.pointer {
    cursor: pointer;
}

#message,
#message:focus {
    border: 0;
    outline: 0;
}

.msj_username {
    font-size: 12.5px;
    color: #008069;
    font-weight: 600;
}

/* Estilo WhatsApp: en tus propios mensajes no se repite tu nombre */
.msj_item .msj_username {
    display: none;
}

.msj_item,
.reply_item {
    color: #1a1a1a;
    font-size: 14px;
    width: fit-content;
    display: flex;
    flex-direction: column;
    margin: 4px;
    padding: 8px;
    align-items: flex-start;
    height: fit-content;
    box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.25);
    animation: fadeIn 1s;
    overflow-wrap: anywhere;
}

.msj_header {
    display: flex;
    gap: 10px;
    width: 100%;
    padding-bottom: 2px;
    justify-content: space-between;
}

.msj_item {
    background-color: white;
    /* color: white; */
    border-radius: 15px 15px 0px 15px;
}

.reply_item {
    align-self: flex-start;
    border-radius: 15px 15px 15px 0px;
    background-color: #ffffff;
}

.msj_body {
    display: flex;
    gap: 4px;
    align-items: center;
    flex-wrap: wrap;
    overflow-wrap: anywhere;
}

.msj_date {
    color: rgba(0, 0, 0, 0.45);
    font-weight: 500;
    font-size: 11px;
    align-self: flex-end;
    min-width: 32px;
    /* animation: fadeInOut 10s infinite; */
    /* display: none; */
}

.program-item-label {
    padding-top: 20px;
    padding-bottom: 20px;
}

.transparent {
    display: none;
}

.grid {
    display: grid;
}

#message {
    font-size: 14px;
    height: 50px;
}

#fullscreen-chat-footer #message {
    font-size: 18px;
}

.dacast-scope .dc-top-bar-wrapper {
    display: none !important;
}

/* FULLSCREEN */

.date_item_fullscreen {
    background-color: #f5ff9f;
    border-radius: 5px;
    margin: 10px;
    padding: 10px;
    font-size: 18px;
    align-self: center;
}

.date_item_fullscreen,
.msj_item_fullscreen,
.reply_item_fullscreen {
    box-shadow: 0px 5px 5px rgba(0, 0, 0, 0.25);
    font-weight: 700;
}

.msj_item_fullscreen .msj_body,
.reply_item_fullscreen .msj_body {
    font-weight: 400;
}

#fullscreen-chat {
    width: 100%;
    height: 100%;
}


#fullscreen-chat-header {
    height: 50px;
    background: linear-gradient(#000615, rgb(0, 0, 0));
    display: flex;
    align-items: center;
    color: white;
    font-size: 20px;
    font-weight: 700;
    padding: 0 20px;
}

#chat_body,
#fullscreen-chat-body {
    background-color: rgb(218, 217, 217);
    /* background-image: url(./imgs/fondo-chat.jpg); */
    background-size: cover;
    /* background-image: url(./imgs/fondo-chat.png); */
}

#fullscreen-chat-body {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    overflow-y: auto;
    height: calc(100% - 100px);
}


#fullscreen-chat-icon-container {
    position: absolute;
    bottom: 50px;
    background-color: #333333;
    width: 100%;
    height: 40px;
    flex-direction: row;
    align-items: center;
    animation: none;
}

#fullscreen-chat-icon-container.visible {
    animation: iconContainerSlideUp 0.22s cubic-bezier(0.22, 1, 0.36, 1) both;
}

#fullscreen-chat-icon-subcontainer {
    display: flex;
    background-color: #333333;
    width: 100%;
    height: 40px;
    overflow: hidden;
    flex-direction: row;
    align-items: center;
}

#fullscreen-chat-footer {
    background-color: rgb(255, 255, 255);
    /* border-radius: 0 0 10px 10px; */
    color: rgb(73, 73, 73);
    font-size: 20px;
    display: grid;
    align-items: center;
    padding: 0 10px;
    gap: 10px;
    grid-template-columns: 1fr 20px 20px;
    cursor: text;
    height: 50px;
}


.msj_username_fullscreen {
    color: #008069;
    font-size: 14px;
    font-weight: 600;
}

/* Estilo WhatsApp: en tus propios mensajes no se repite tu nombre */
.msj_item_fullscreen .msj_username_fullscreen {
    display: none;
}

.msj_header_fullscreen {
    display: flex;
    gap: 15px;
    padding-bottom: 2px;
    width: 100%;
    justify-content: space-between;
}

.msj_item_fullscreen,
.reply_item_fullscreen {
    color: #1a1a1a;
    width: fit-content;
    display: flex;
    flex-direction: column;
    margin: 5px 10px;
    padding: 8px 10px;
    align-items: flex-start;
    height: fit-content;
    animation: fadeIn 1s;
    overflow-wrap: anywhere;
    font-size: 18px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.msj_item_fullscreen {
    background-color: #d9fdd3;
    border-radius: 12px 12px 2px 12px;
}

.reply_item_fullscreen {
    align-self: flex-start;
    border-radius: 12px 12px 12px 2px;
    background-color: #ffffff;
}

.msj_date_fullscreen {
    color: rgba(0, 0, 0, 0.45);
    font-weight: 500;
    font-size: 12px;
    align-self: flex-end;
}


/* ── EMISIÓN ACTUAL ─────────────────────────────────── */

#current_broadcast {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 80, 0, 0.12);
    border: 1px solid rgba(255, 130, 0, 0.35);
    border-radius: 24px;
    padding: 8px 20px;
    color: orange;
    font-weight: 700;
    font-size: 14px;
    animation: fadeSlideUp 0.5s ease both;
    max-width: 90%;
    text-align: center;
}

#current_broadcast_dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ff5500;
    flex-shrink: 0;
    animation: broadcastPulse 1.4s ease-in-out infinite;
}

@keyframes broadcastPulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.35;
        transform: scale(0.75);
    }
}

/* ── MODERNIZACIÓN ────────────────────────────────────── */

/* Entrada general */
#main_container {
    animation: mainFadeIn 0.5s ease both;
}

/* Header: glassmorphism + slide-down */
.header {
    animation: headerSlideDown 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
    background: rgba(0, 6, 21, 0.82) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* Vídeo: bordes redondeados + hover */
#video,
.video {
    border-radius: 14px;
    transition: box-shadow 0.35s, border-color 0.35s;
}

.video:hover {
    box-shadow: 0 14px 38px rgba(0, 0, 0, 0.45);
    border-color: rgba(255, 255, 255, 0.24);
}

/* Media container: slide-up */
#media_container {
    animation: mediaSlideUp 0.65s 0.15s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* Chat: layout flex + overflow oculto */
#chat {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: box-shadow 0.35s, border-color 0.35s;
}

#chat:hover {
    box-shadow: 0 14px 38px rgba(0, 0, 0, 0.45);
    border-color: rgba(255, 255, 255, 0.24);
}

#chat_header {
    flex: 0 0 50px;
}

#chat_body {
    flex: 1;
    height: unset;
    min-height: 0;
}

#chat_footer {
    flex: 0 0 50px;
    min-height: unset;
}

/* Chat header: gradiente y transición */
#chat_header {
    background: linear-gradient(135deg, #000615, #0d1f3c) !important;
    transition: background 0.2s;
}

#chat_header:hover {
    background: linear-gradient(135deg, #0d1f3c, #1a3560) !important;
    color: white !important;
}

/* Chat body: fondo más oscuro para contrastar */
#chat_body {
    background-color: #d6dde6 !important;
    padding: 6px 4px;
}

/* Burbujas de mensajes — estilo WhatsApp */
.msj_item {
    background-color: #d9fdd3 !important;
    border-radius: 7.5px 7.5px 2px 7.5px !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15) !important;
    animation: msgPop 0.3s cubic-bezier(0.22, 1, 0.36, 1) both !important;
    margin: 3px 6px !important;
    padding: 6px 8px !important;
}

.reply_item {
    background-color: #ffffff !important;
    border-radius: 7.5px 7.5px 7.5px 2px !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15) !important;
    animation: msgPop 0.3s cubic-bezier(0.22, 1, 0.36, 1) both !important;
    margin: 3px 6px !important;
    padding: 6px 8px !important;
}

.date_item {
    background: rgba(255, 200, 87, 0.55) !important;
    border-radius: 20px !important;
    padding: 3px 12px !important;
    font-size: 11px !important;
    color: #5c4413;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12) !important;
}

.msj_item.read,
.reply_item.read,
.msj_item_fullscreen.read,
.reply_item_fullscreen.read {
    background: #6ee7b7 !important;
    color: #065f46 !important;
}

.msj_item.read .msj_date,
.reply_item.read .msj_date,
.msj_item_fullscreen.read .msj_date_fullscreen,
.reply_item_fullscreen.read .msj_date_fullscreen {
    color: #063d2c !important;
}

.msj_item.read .msj_date::after,
.reply_item.read .msj_date::after,
.msj_item_fullscreen.read .msj_date_fullscreen::after,
.reply_item_fullscreen.read .msj_date_fullscreen::after {
    content: "✓✓";
    margin-left: 5px;
    font-weight: 700;
    color: #064e3b;
}

/* Chat footer: borde superior */
#chat_footer {
    border-top: 1px solid rgba(0, 0, 0, 0.07);
}

#chat_footer i {
    transition: color 0.15s, transform 0.15s;
    cursor: pointer;
}

#chat_footer i:hover {
    color: #00a572;
    transform: scale(1.08);
}

/* Emojis: hover */
.icon {
    transition: transform 0.15s;
}

.icon:hover {
    transform: scale(1.08);
}

/* Logout: escala */
.logout-button {
    transition: opacity 0.2s, transform 0.2s;
}

.logout-button:hover {
    transform: scale(1.08);
}

/* Sección info */
.info-area {
    animation: fadeSlideUp 0.6s 0.3s ease both;
}

/* Banderas de idioma */
.language-picture {
    transition: transform 0.2s, border-color 0.2s !important;
}

.language-picture:hover {
    transform: scale(1.08) !important;
}

/* Footer logos */
.bottom-logo-container img {
    transition: transform 0.25s, filter 0.25s;
}

.bottom-logo-container img:hover {
    filter: brightness(1.1);
}

.footer-link {
    transition: opacity 0.2s;
}

.footer-link:hover {
    opacity: 0.7;
}

/* ── PROGRAMA ───────────────────────────────────────── */

/* Botones programa / ponentes */
.program-button {
    font-weight: 700 !important;
    letter-spacing: 0.5px;
    transition: all 0.2s ease !important;
}

/* Cabecera de día */
#program .vw70 {
    border-left: 3px solid orange;
    padding-left: 14px !important;
    margin-top: 28px;
    margin-bottom: 6px;
}

.program-item-label {
    font-size: 12px !important;
    font-weight: 800 !important;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: orange;
}

/* ── Tarjeta de evento (speaker-block style) ── */
.program-card {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 16px 20px 16px 26px;
    margin: 6px 0;
    transition: background 0.2s, border-color 0.2s;
}

/* Marca de línea de tiempo — diferencia la tarjeta de agenda de la de ponentes */
/* .program-card::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 12px;
    bottom: 12px;
    width: 3px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.2);
} */

.program-card.current-event::before {
    background: orange;
}

.program-card:hover {
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(255, 255, 255, 0.18);
}

.program-card h3 {
    margin: 0 !important;
    padding: 0 !important;
    font-size: 15px !important;
    font-weight: 600;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    line-height: 1.4;
}

/* Evento actual */
.program-card.current-event {
    background: rgba(255, 165, 0, 0.1) !important;
    border-color: orange !important;
}

.program-card.current-event h3 {
    padding: 5px !important;
}

.program-card.current-event h3::after {
    content: "●";
    float: right;
    font-weight: 800;
    color: orange;
    letter-spacing: 1.5px;
    animation: broadcastPulse 1.4s ease-in-out infinite;
    line-height: inherit;
}

/* Personas dentro de la tarjeta */
.program-people {
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.program-person {
    align-items: center;
    padding: 3px 0;
}

.program-person .person-item {
    flex-direction: column;
    gap: 1px;
    justify-content: center;
}

.program-person .person-name {
    font-size: 13px !important;
    font-weight: 700 !important;
}

.program-person .person-job {
    font-size: 12px !important;
    opacity: 0.7;
}

/* ── PONENTES ───────────────────────────────────────── */

#speakers .speaker {
    padding: 20px 24px !important;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: background 0.2s, border-color 0.2s;
    margin-bottom: 25px;
}

#speakers .speaker:hover {
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(255, 255, 255, 0.18);
}

#speakers .speaker-picture {
    width: 200px !important;
    height: 200px !important;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.25) !important;
    flex-shrink: 0;
    transition: border-color 0.2s, transform 0.2s;
}

#speakers .speaker:hover .speaker-picture {
    border-color: rgba(255, 255, 255, 0.6) !important;
    /* transform: scale(1.04); */
}

#speakers .person-name {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #a0c4ff !important;
    margin-bottom: 2px;
}

#speakers .person-job {
    font-size: 14px !important;
    opacity: 0.75;
    line-height: 1.4;
}

#speakers .person-bio {
    font-size: 14px !important;
    color: rgba(255, 255, 255, 0.65) !important;
    line-height: 1.6;
    margin-top: 8px;
    border-left: 2px solid rgba(255, 255, 255, 0.15);
    padding-left: 10px !important;
}

/* Animación slide-in para items del programa */
#program .fade-in,
#speakers .fade-in {
    animation: programItemIn 0.45s ease both;
}

@keyframes programItemIn {
    from {
        opacity: 0;
        transform: translateX(-16px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ── KEYFRAMES ──────────────────────────────────────── */

@keyframes mainFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes headerSlideDown {
    from {
        opacity: 0;
        transform: translateY(-18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes mediaSlideUp {
    from {
        opacity: 0;
        transform: translateY(28px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes msgPop {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(6px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Animaciones */

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}


@keyframes fadeInOut {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.sponsors {
    width: 70vw;
    min-width: 1280px;
}

@media screen and (max-width:1200px) {

    #media_container {
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }

    #chat {
        height: 450px;
        max-height: none;
        width: 95vw;
        border-radius: 0px;
        box-shadow: none;
    }

    #video,
    .video {
        height: auto;
        width: 95vw;
        border-radius: 0px;
    }

    body {
        font-size: 1em;
    }

    #chat_header {
        height: 50px;
        font-size: 1.4em;
        border-radius: 0px;
    }

    #chat_footer {
        height: 50px;
        font-size: 24px;
        grid-template-columns: 1fr auto auto;
    }

    #message {
        height: 100%;
        width: 100%;
    }

    #media_container {
        /* gap: 0; */
    }

    .person-item {
        flex-direction: column;
    }

    .msj_username_fullscreen {
        font-size: 14px;
    }

    .msj_header_fullscreen {
        gap: 15px;
    }

    .msj_item_fullscreen,
    .reply_item_fullscreen {
        font-size: 14px;
    }

    .msj_date_fullscreen {
        font-size: 12px;
    }

    .date_item_fullscreen {
        font-size: 14px;
    }

    .ondemand-video {
        height: auto;
        width: 90%;
    }

    .sponsors {
        width: 100%;
        min-width: 100%;
    }

}

/* ── THEATER MODE ─────────────────────────────────────── */

body.theater-mode #media_container {
    position: fixed;
    inset: 0;
    z-index: 9990;
    background: #000;
    display: flex !important;
    flex-direction: row !important;
    gap: 0 !important;
    padding: 0 !important;
    max-width: none !important;
    margin: 0 !important;
    width: 100vw;
    height: 100vh;
    align-items: stretch;
}

body.theater-mode #video-container {
    flex: 1 !important;
    min-width: 0 !important;
    height: 100vh !important;
    display: flex !important;
    flex-direction: column !important;
    position: relative;
}

body.theater-mode .video {
    flex: 1 !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    aspect-ratio: unset !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    border: none !important;
}

body.theater-mode #session-selector {
    position: fixed !important;
    bottom: 16px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    z-index: 9995;
    flex-shrink: 0;
}

body.theater-mode #chat {
    width: 340px !important;
    min-width: 340px !important;
    max-width: 340px !important;
    height: 100vh !important;
    max-height: none !important;
    flex-shrink: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

body.theater-mode #chat_body {
    height: calc(100vh - 100px) !important;
}

body.theater-mode .logout-button {
    display: none;
}

#theater-btn {
    transition: color 0.15s, transform 0.15s;
}

#theater-btn:hover {
    transform: scale(1.08);
}

body.theater-mode #theater-btn {
    color: #58a6ff !important;
}

@media (max-width: 1200px) {
    #theater-btn {
        display: none !important;
    }
}