.esouzatec-sala-app,
.esouzatec-speaker-body {
    --esouzatec-bg: #070707;
    --esouzatec-primary: #635bff;
    --esouzatec-text: #fff;
    --esouzatec-muted: #b9b9c5;
    --esouzatec-card: #19191d;
    background: var(--esouzatec-bg);
    color: var(--esouzatec-text);
    min-height: 100vh;
    font-family: Inter, Roboto, Arial, sans-serif;
    position: relative;
    overflow-x: hidden;
}

.esouzatec-sala-app * { box-sizing: border-box; }
.esouzatec-bg-image { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .14; pointer-events: none; }
.esouzatec-topbar { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 86px; padding: 22px 34px; border-bottom: 1px solid rgba(255,255,255,.12); }
.esouzatec-brand { display: flex; align-items: center; gap: 14px; min-width: 0; }
.esouzatec-brand img { max-width: 170px; max-height: 54px; object-fit: contain; display: block; }
.esouzatec-brand strong { font-size: 20px; color: var(--esouzatec-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.esouzatec-brand-mark { width: 42px; height: 42px; border-radius: 16px; display: inline-block; background: conic-gradient(from 90deg, #5d5cff, #30e080, #5d5cff); }
.esouzatec-top-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; justify-content: flex-end; }
.esouzatec-ask-toggle { appearance: none; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.07); color: var(--esouzatec-text); border-radius: 999px; padding: 10px 16px; font-weight: 800; cursor: pointer; transition: .2s ease; }
.esouzatec-ask-toggle:hover { border-color: var(--esouzatec-primary); transform: translateY(-1px); }
.esouzatec-live-badge, .esouzatec-viewers { color: var(--esouzatec-text); display: inline-flex; align-items: center; gap: 7px; font-weight: 800; }
.esouzatec-live-badge i { width: 12px; height: 12px; background: #ff493d; border-radius: 50%; display: inline-block; box-shadow: 0 0 0 4px rgba(255,73,61,.25); }
.esouzatec-room-shell { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 18px; padding: 26px 30px 20px; align-items: stretch; transition: .35s ease; }
.esouzatec-question-open .esouzatec-room-shell { grid-template-columns: minmax(0, 1fr) 360px 330px; }
.esouzatec-chat-left .esouzatec-room-shell { grid-template-columns: 360px minmax(0, 1fr); }
.esouzatec-chat-left.esouzatec-question-open .esouzatec-room-shell { grid-template-columns: 360px minmax(0, 1fr) 330px; }
.esouzatec-no-chat .esouzatec-room-shell { grid-template-columns: minmax(0, 1fr); }
.esouzatec-no-chat.esouzatec-question-open .esouzatec-room-shell { grid-template-columns: minmax(0, 1fr) 360px; }
.esouzatec-chat-left .esouzatec-video-card { order: 2; }
.esouzatec-chat-left .esouzatec-chat-panel { order: 1; }
.esouzatec-chat-left .esouzatec-question-panel { order: 3; }
.esouzatec-video-card, .esouzatec-chat-panel, .esouzatec-question-panel { background: linear-gradient(145deg, rgba(255,255,255,.08), rgba(255,255,255,.03)); border: 1px solid rgba(255,255,255,.08); border-radius: 14px; box-shadow: 0 22px 70px rgba(0,0,0,.38); overflow: hidden; }
.esouzatec-video-card { min-height: 520px; display: flex; align-items: center; justify-content: center; }
.esouzatec-video-embed { width: 100%; height: 100%; aspect-ratio: 16 / 9; background: #111; display: flex; }
.esouzatec-video-embed iframe { width: 100% !important; height: 100% !important; min-height: 520px; border: 0; display: block; }
.esouzatec-video-placeholder { width: 100%; min-height: 520px; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 18px; color: var(--esouzatec-muted); }
.esouzatec-play-big { width: 96px; height: 96px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(255,255,255,.1); color: #fff; font-size: 38px; padding-left: 7px; }
.esouzatec-panel-head { min-height: 68px; padding: 20px 22px; display: flex; align-items: center; justify-content: center; border-bottom: 1px solid rgba(255,255,255,.1); position: relative; }
.esouzatec-panel-head strong { font-size: 16px; }
.esouzatec-close-questions { position: absolute; right: 14px; top: 14px; width: 36px; height: 36px; border: 0; background: rgba(255,255,255,.08); color: var(--esouzatec-text); border-radius: 10px; cursor: pointer; font-size: 24px; line-height: 1; }
.esouzatec-question-panel { display: none; }
.esouzatec-question-open .esouzatec-question-panel { display: block; animation: esouzatecSlideIn .25s ease; }
@keyframes esouzatecSlideIn { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: translateX(0); } }
.esouzatec-question-form { padding: 20px; border-bottom: 1px solid rgba(255,255,255,.1); }
.esouzatec-question-form label { display: block; color: var(--esouzatec-muted); font-size: 13px; margin-bottom: 8px; }
.esouzatec-question-form select, .esouzatec-question-form textarea, .esouzatec-chat-form textarea { width: 100%; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); color: var(--esouzatec-text); border-radius: 10px; padding: 13px; outline: 0; resize: none; }
.esouzatec-question-form select { margin-bottom: 10px; }
.esouzatec-question-form textarea { min-height: 115px; }
.esouzatec-question-form button, .esouzatec-chat-form button { width: 100%; border: 0; border-radius: 10px; padding: 13px 18px; background: var(--esouzatec-primary); color: #fff; font-weight: 900; cursor: pointer; box-shadow: 0 10px 30px color-mix(in srgb, var(--esouzatec-primary) 38%, transparent); }
.esouzatec-question-form button { margin-top: 10px; }
.esouzatec-question-feedback { color: var(--esouzatec-muted); font-size: 13px; min-height: 18px; margin-top: 10px; }
.esouzatec-my-questions { padding: 18px 20px; }
.esouzatec-my-questions h3 { font-size: 15px; margin: 0 0 14px; color: var(--esouzatec-text); }
.esouzatec-my-question { background: rgba(255,255,255,.06); border-radius: 12px; padding: 13px; margin-bottom: 10px; }
.esouzatec-my-question div { display: flex; justify-content: space-between; gap: 10px; color: var(--esouzatec-primary); font-size: 13px; }
.esouzatec-my-question small { color: var(--esouzatec-muted); display: block; margin: 6px 0; }
.esouzatec-my-question p { margin: 0; font-size: 13px; line-height: 1.45; }
.esouzatec-chat-panel { display: grid; grid-template-rows: 68px minmax(0, 1fr) auto; min-height: 520px; }
.esouzatec-chat-messages { overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.esouzatec-chat-msg { background: rgba(255,255,255,.07); border-radius: 12px; padding: 13px 14px; }
.esouzatec-chat-msg.is-mine { background: rgba(99,91,255,.22); }
.esouzatec-chat-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.esouzatec-chat-meta strong { color: var(--esouzatec-primary); font-size: 13px; }
.esouzatec-chat-meta span { color: var(--esouzatec-muted); font-size: 12px; }
.esouzatec-chat-msg p { margin: 0; font-size: 13px; line-height: 1.45; color: var(--esouzatec-text); }
.esouzatec-chat-form { display: grid; grid-template-columns: minmax(0, 1fr) 78px; gap: 10px; padding: 14px; border-top: 1px solid rgba(255,255,255,.1); }
.esouzatec-chat-form button { width: auto; padding: 0 14px; }
.esouzatec-sponsors-bar { position: relative; z-index: 2; background: #fff; color: #494957; margin: 4px 30px 30px; border-radius: 14px; padding: 24px 28px 28px; box-shadow: 0 18px 50px rgba(0,0,0,.28); }
.esouzatec-sponsors-bar h2 { font-size: 16px; margin: 0 0 22px; color: #666; }
.esouzatec-sponsors-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 18px; align-items: center; }
.esouzatec-sponsors-list a { color: inherit; text-decoration: none; }
.esouzatec-sponsor-item { min-height: 54px; display: flex; align-items: center; justify-content: center; gap: 13px; border-right: 1px solid #ddd; padding: 0 16px; }
.esouzatec-sponsor-item img { max-height: 42px; max-width: 120px; object-fit: contain; }
.esouzatec-sponsor-item strong { font-size: 14px; color: #4a4a58; }
.esouzatec-login-needed { padding: 34px; background: #111; color: #fff; border-radius: 12px; }
.esouzatec-login-needed a { color: #fff; background: #635bff; padding: 10px 15px; border-radius: 8px; display: inline-block; text-decoration: none; }

.esouzatec-speaker-body { margin: 0; }
.esouzatec-speaker-page { min-height: 100vh; background: radial-gradient(circle at top left, rgba(99,91,255,.15), transparent 32%), var(--esouzatec-bg); }
.esouzatec-speaker-main { max-width: 1100px; margin: 0 auto; padding: 34px 22px; }
.esouzatec-speaker-title { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.esouzatec-speaker-title h1 { color: var(--esouzatec-text); margin: 0; font-size: clamp(30px, 5vw, 54px); }
.esouzatec-speaker-title p { color: var(--esouzatec-muted); margin: 0; max-width: 480px; }
.esouzatec-speaker-questions { display: grid; gap: 16px; }
.esouzatec-speaker-question { background: linear-gradient(145deg, rgba(255,255,255,.1), rgba(255,255,255,.04)); border: 1px solid rgba(255,255,255,.1); border-radius: 18px; padding: 22px; box-shadow: 0 16px 55px rgba(0,0,0,.28); }
.esouzatec-speaker-question header { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 12px; }
.esouzatec-speaker-question header strong { color: var(--esouzatec-primary); display: block; font-size: 16px; }
.esouzatec-speaker-question header span { color: var(--esouzatec-muted); font-size: 12px; }
.esouzatec-speaker-question header em { font-style: normal; background: rgba(255,255,255,.08); border-radius: 999px; padding: 7px 10px; color: var(--esouzatec-muted); font-size: 12px; }
.esouzatec-speaker-question p { margin: 0 0 18px; color: var(--esouzatec-text); font-size: 21px; line-height: 1.45; }
.esouzatec-speaker-question footer { display: flex; flex-wrap: wrap; gap: 8px; }
.esouzatec-speaker-question button { border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.08); color: var(--esouzatec-text); border-radius: 10px; padding: 10px 12px; cursor: pointer; }
.esouzatec-speaker-question button:hover { border-color: var(--esouzatec-primary); }
.esouzatec-status-later { opacity: .72; }
.esouzatec-status-answered { opacity: .55; }
.esouzatec-empty-speaker { text-align: center; color: var(--esouzatec-muted); padding: 80px 20px; border: 1px dashed rgba(255,255,255,.16); border-radius: 18px; }

@media (max-width: 1180px) {
    .esouzatec-room-shell, .esouzatec-question-open .esouzatec-room-shell, .esouzatec-chat-left .esouzatec-room-shell, .esouzatec-chat-left.esouzatec-question-open .esouzatec-room-shell, .esouzatec-no-chat.esouzatec-question-open .esouzatec-room-shell { grid-template-columns: 1fr; }
    .esouzatec-chat-left .esouzatec-video-card, .esouzatec-chat-left .esouzatec-chat-panel, .esouzatec-chat-left .esouzatec-question-panel { order: initial; }
    .esouzatec-question-panel { display: none; }
    .esouzatec-question-open .esouzatec-question-panel { display: block; }
    .esouzatec-video-card, .esouzatec-video-placeholder, .esouzatec-video-embed iframe, .esouzatec-chat-panel { min-height: 390px; }
}

@media (max-width: 720px) {
    .esouzatec-topbar { padding: 18px; align-items: flex-start; flex-direction: column; }
    .esouzatec-top-actions { justify-content: flex-start; }
    .esouzatec-room-shell { padding: 16px; }
    .esouzatec-sponsors-bar { margin: 0 16px 16px; padding: 20px; }
    .esouzatec-video-card, .esouzatec-video-placeholder, .esouzatec-video-embed iframe, .esouzatec-chat-panel { min-height: 280px; }
    .esouzatec-chat-form { grid-template-columns: 1fr; }
    .esouzatec-speaker-title { align-items: flex-start; flex-direction: column; }
}
