/* =============================================================================
   NEOSIS LIVE — DESIGN SYSTEM & ESTILOS PRINCIPAIS
   Estética Cyber/Neon Dark Mode, Glassmorphism e Transmissão de Baixa Latência
   ============================================================================= */

:root {
    --bg-base: #06090e;
    --bg-surface: #0c101a;
    --bg-card: rgba(15, 22, 36, 0.82);
    --bg-card-hover: rgba(22, 32, 54, 0.9);
    --bg-glass: rgba(12, 16, 26, 0.85);
    --border-glass: rgba(255, 255, 255, 0.08);
    --border-glass-focus: rgba(0, 242, 254, 0.6);

    --primary: #00f2fe;
    --primary-hover: #38bdf8;
    --primary-gradient: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
    --admin-gradient: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);

    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;

    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;
    --info: #00f2fe;

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-pill: 9999px;

    --shadow-soft: 0 10px 30px -10px rgba(0, 0, 0, 0.6);
    --shadow-glow: 0 0 25px -5px rgba(0, 242, 254, 0.4);
    --shadow-danger-glow: 0 0 25px -5px rgba(239, 68, 68, 0.4);

    --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset Básico */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
    font-family: var(--font-sans);
    background-color: var(--bg-base);
    color: var(--text-primary);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Fundo com Malha Gradiente Sutil NEOSIS */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 15% 15%, rgba(0, 242, 254, 0.08) 0%, transparent 45%),
                radial-gradient(circle at 85% 85%, rgba(79, 172, 254, 0.08) 0%, transparent 45%);
    pointer-events: none;
    z-index: -1;
}

/* Utilitários */
.hidden { display: none !important; }

/* Carregamento Inicial da Aplicação */
.app-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    gap: 16px;
    font-weight: 500;
    color: var(--text-secondary);
}

.spinner-pulse {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary-gradient);
    animation: pulseGlow 1.4s infinite ease-in-out;
}

@keyframes pulseGlow {
    0%, 100% { transform: scale(0.85); opacity: 0.6; }
    50% { transform: scale(1.15); opacity: 1; filter: drop-shadow(0 0 16px rgba(99,102,241,0.6)); }
}

/* =============================================================================
   TELA DE ENTRADA / AUTENTICAÇÃO
   ============================================================================= */
.auth-view {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 24px;
}

.auth-card {
    width: 100%;
    max-width: 440px;
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    box-shadow: var(--shadow-soft);
    animation: fadeInSlide 0.4s ease-out;
}

@keyframes fadeInSlide {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

.auth-header {
    text-align: center;
    margin-bottom: 24px;
}

.brand-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 16px;
    background: var(--bg-surface);
    border: 1px solid var(--border-glass);
    box-shadow: var(--shadow-glow);
    margin-bottom: 12px;
    color: var(--primary);
}

.brand-logo svg {
    width: 32px;
    height: 32px;
}

.brand-title {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.brand-subtitle {
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin-top: 4px;
}

.room-capacity-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(16, 185, 129, 0.1);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.25);
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 14px;
}

.room-capacity-badge.full {
    background: rgba(239, 68, 68, 0.1);
    color: #f87171;
    border-color: rgba(239, 68, 68, 0.25);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: currentColor;
    box-shadow: 0 0 8px currentColor;
}

/* Abas de Autenticação */
.auth-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: rgba(15, 20, 34, 0.6);
    border-radius: var(--radius-md);
    padding: 4px;
    gap: 4px;
    margin-bottom: 20px;
    border: 1px solid var(--border-glass);
}

.tab-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    padding: 10px 12px;
    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition-fast);
}

.tab-btn.active {
    background: var(--bg-surface);
    color: var(--text-primary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

/* Formulário */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: left;
}

.form-group label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.label-hint {
    font-weight: 400;
    color: var(--text-muted);
}

.label-required {
    color: var(--danger);
}

.field-help {
    font-size: 0.74rem;
    color: var(--text-muted);
}

.field-help code {
    font-family: var(--font-mono);
    color: #c084fc;
    background: rgba(168, 85, 247, 0.12);
    padding: 2px 5px;
    border-radius: 4px;
}

input[type="text"],
input[type="password"] {
    width: 100%;
    padding: 12px 14px;
    background: rgba(10, 14, 24, 0.7);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.92rem;
    outline: none;
    transition: var(--transition-fast);
}

input[type="text"]:focus,
input[type="password"]:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

.input-password-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-password-wrapper input {
    padding-right: 44px;
}

.btn-toggle-pwd {
    position: absolute;
    right: 10px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1rem;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: var(--transition-fast);
}

.btn-toggle-pwd:hover {
    color: var(--text-primary);
}

/* Botões */
.btn-primary {
    background: var(--primary-gradient);
    color: #ffffff;
    border: none;
    padding: 14px 20px;
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 0.94rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: var(--shadow-glow);
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-primary:hover:not(:disabled) {
    transform: translateY(-1px);
    filter: brightness(1.1);
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.5);
}

.btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-admin-accent {
    background: var(--admin-gradient);
    box-shadow: 0 0 25px -5px rgba(245, 158, 11, 0.35);
}

.btn-admin-accent:hover:not(:disabled) {
    box-shadow: 0 0 30px rgba(245, 158, 11, 0.5);
}

.btn-block { width: 100%; }

.btn-secondary {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-primary);
    border: 1px solid var(--border-glass);
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
}

.btn-sm {
    padding: 6px 12px;
    font-size: 0.8rem;
}

/* Spinner dentro do botão */
.btn-spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Alertas de Erro / Informação */
.alert-box {
    padding: 12px 14px;
    border-radius: var(--radius-md);
    font-size: 0.84rem;
    line-height: 1.4;
    margin-bottom: 16px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    animation: fadeInSlide 0.3s ease-out;
}

.alert-box.danger {
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.35);
    color: #fca5a5;
}

.alert-box.warning {
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.35);
    color: #fcd34d;
}

.alert-box.info {
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.35);
    color: #7dd3fc;
}

.auth-footer-notes {
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid var(--border-glass);
    font-size: 0.74rem;
    color: var(--text-muted);
    line-height: 1.5;
    text-align: center;
}

/* =============================================================================
   TELA DA SALA PRINCIPAL (LAYOUT RESPONSIVO)
   ============================================================================= */
.room-view {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Barra de Navegação Superior */
.room-navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    padding: 0 24px;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border-glass);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 50;
}

.navbar-left, .navbar-center, .navbar-right {
    display: flex;
    align-items: center;
    gap: 14px;
}

.room-brand {
    display: flex;
    align-items: center;
    gap: 8px;
}

.brand-glow {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 10px var(--primary);
}

.room-title {
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stream-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.stream-status-badge.offline {
    background: rgba(100, 116, 139, 0.15);
    border: 1px solid rgba(100, 116, 139, 0.3);
    color: var(--text-secondary);
}

.stream-status-badge.live {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #f87171;
    box-shadow: var(--shadow-danger-glow);
}

.status-pulse {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: currentColor;
    animation: statusPulseAnim 1.6s infinite ease-in-out;
}

@keyframes statusPulseAnim {
    0%, 100% { opacity: 0.4; transform: scale(0.9); }
    50% { opacity: 1; transform: scale(1.3); }
}

.room-counter-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-glass);
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.user-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 4px 10px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary-gradient);
    color: #fff;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
}

.user-meta {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.user-name {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-primary);
}

.user-tag {
    font-size: 0.68rem;
    color: var(--text-muted);
}

/* Layout Central de Conteúdo */
.room-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 360px;
    flex: 1;
    overflow: hidden;
}

/* Coluna Principal: Player de Vídeo */
.main-stage {
    padding: 24px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.player-stage-container {
    width: 100%;
    position: relative;
}

.video-wrapper {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000000;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-glass);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-soft);
    display: flex;
    align-items: center;
    justify-content: center;
}

#main-video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
}

.video-placeholder-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.35;
}

/* Overlay Visual de Aguardando Transmissão */
.player-overlay-idle,
.player-idle-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle, rgba(15, 20, 34, 0.85) 0%, rgba(7, 9, 14, 0.95) 100%);
    gap: 12px;
    padding: 24px;
    text-align: center;
    z-index: 5;
    pointer-events: auto;
}

.player-overlay-idle button,
.player-idle-overlay button {
    pointer-events: auto;
}

.radar-signal {
    position: relative;
    width: 56px;
    height: 56px;
    margin-bottom: 8px;
}

.radar-signal span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--primary);
    opacity: 0;
    animation: radarRipple 2.4s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
}

.radar-signal span:nth-child(2) { animation-delay: 0.8s; }
.radar-signal span:nth-child(3) { animation-delay: 1.6s; }

@keyframes radarRipple {
    0% { width: 10px; height: 10px; opacity: 1; }
    100% { width: 64px; height: 64px; opacity: 0; }
}

.player-overlay-idle h3 {
    font-size: 1.3rem;
    font-weight: 700;
}

.player-overlay-idle p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    max-width: 420px;
}

.cycle-notice-tag {
    margin-top: 8px;
    background: rgba(99, 102, 241, 0.12);
    border: 1px solid rgba(99, 102, 241, 0.25);
    padding: 6px 12px;
    border-radius: var(--radius-pill);
    font-size: 0.76rem;
    color: #c7d2fe;
}

/* Barra de Controles do Player */
.player-controls-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 14px 18px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.3) 70%, transparent 100%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 10;
    opacity: 0.95;
    transition: opacity var(--transition-fast);
}

.video-wrapper:hover .player-controls-bar {
    opacity: 1;
}

.controls-left, .controls-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.control-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border-glass);
    color: var(--text-primary);
    padding: 6px 10px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 600;
    transition: var(--transition-fast);
}

.control-btn:hover {
    background: rgba(255, 255, 255, 0.16);
    transform: translateY(-1px);
}

.volume-control-group {
    display: flex;
    align-items: center;
    gap: 6px;
}

#player-volume-slider {
    width: 70px;
    accent-color: var(--primary);
    cursor: pointer;
}

.broadcaster-tag {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-muted);
    background: rgba(0, 0, 0, 0.4);
    padding: 4px 8px;
    border-radius: 4px;
}

/* Cartões Informativos Abaixo do Player */
.stage-info-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.info-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    backdrop-filter: blur(10px);
}

.info-card-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.info-card-header h4 {
    font-size: 0.92rem;
    font-weight: 700;
}

.info-card p {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.45;
}

/* Painel Administrativo */
.admin-panel {
    background: rgba(24, 18, 12, 0.7);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: var(--radius-lg);
    padding: 20px 24px;
    backdrop-filter: blur(16px);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.admin-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.admin-title-badge {
    display: flex;
    align-items: center;
    gap: 8px;
}

.admin-title-badge h3 {
    font-size: 1.05rem;
    font-weight: 800;
    color: #fcd34d;
}

.admin-status-indicator {
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.4);
    color: #fcd34d;
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    font-size: 0.72rem;
    font-weight: 700;
}

.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.stat-box {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-label {
    font-size: 0.72rem;
    color: var(--text-muted);
}

.stat-value {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.slots-overview h4 {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.slots-grid {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 6px;
}

.slot-item {
    aspect-ratio: 1;
    border-radius: var(--radius-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: 0.76rem;
    font-weight: 700;
    border: 1px solid var(--border-glass);
    transition: var(--transition-fast);
}

.slot-item.free {
    background: rgba(255, 255, 255, 0.02);
    color: var(--text-muted);
}

.slot-item.occupied {
    background: rgba(99, 102, 241, 0.25);
    border-color: rgba(99, 102, 241, 0.6);
    color: #c7d2fe;
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.3);
}

.slot-item.admin {
    background: rgba(245, 158, 11, 0.25);
    border-color: rgba(245, 158, 11, 0.6);
    color: #fde68a;
}

/* =============================================================================
   BARRA LATERAL (PARTICIPANTES, FILA E CHAT)
   ============================================================================= */
.room-sidebar {
    background: var(--bg-surface);
    border-left: 1px solid var(--border-glass);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.sidebar-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-bottom: 1px solid var(--border-glass);
    background: rgba(0, 0, 0, 0.2);
}

.sidebar-tab-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    padding: 14px 6px;
    font-family: inherit;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: var(--transition-fast);
}

.sidebar-tab-btn:hover {
    color: var(--text-primary);
}

.sidebar-tab-btn.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
    background: rgba(99, 102, 241, 0.05);
}

.sidebar-panel {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.participants-list-header {
    font-size: 0.76rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--border-glass);
}

.participants-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.participant-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 10px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-glass);
    transition: var(--transition-fast);
}

.participant-item:hover {
    background: rgba(255, 255, 255, 0.06);
}

.participant-item.self {
    border-color: rgba(99, 102, 241, 0.4);
    background: rgba(99, 102, 241, 0.08);
}

.participant-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.participant-name-wrapper {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.participant-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
}

.participant-tag {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--text-muted);
}

.participant-badge {
    font-size: 0.68rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
}

.badge-self {
    background: rgba(99, 102, 241, 0.2);
    color: #a5b4fc;
}

.badge-admin {
    background: rgba(245, 158, 11, 0.2);
    color: #fcd34d;
}

/* Painel da Fila FIFO */
.queue-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.queue-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.queue-card h4 {
    font-size: 0.94rem;
    font-weight: 700;
}

.queue-room-state-pill {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: var(--radius-pill);
    letter-spacing: 0.5px;
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.queue-room-state-pill.reserved,
.queue-room-state-pill.starting {
    background: rgba(245, 158, 11, 0.15);
    color: #fbbf24;
    border-color: rgba(245, 158, 11, 0.35);
}

.queue-room-state-pill.live {
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
    border-color: rgba(239, 68, 68, 0.4);
    animation: pulse 1.8s infinite;
}

.queue-explain {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* Card de Convocação Exclusiva */
.queue-summon-card {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(217, 119, 6, 0.08) 100%);
    border: 1px solid rgba(245, 158, 11, 0.45);
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.15);
    border-radius: var(--radius-md);
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    animation: fadeIn 0.3s ease;
}

.summon-header {
    display: flex;
    align-items: center;
    gap: 8px;
}

.summon-pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #f59e0b;
    box-shadow: 0 0 8px #f59e0b;
    animation: pulse 1.2s infinite;
}

.summon-title {
    font-size: 0.95rem;
    color: #fef3c7;
}

.summon-desc {
    font-size: 0.78rem;
    color: #fde68a;
    line-height: 1.35;
}

.summon-timer-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(0, 0, 0, 0.3);
    padding: 6px 10px;
    border-radius: var(--radius-sm);
    font-size: 0.78rem;
    color: var(--text-secondary);
}

.countdown-badge {
    font-family: var(--font-mono);
    font-size: 1.05rem;
    font-weight: 800;
    color: #f59e0b;
}

.summon-actions {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 4px;
}

.btn-start-turn {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
    color: #000 !important;
    font-weight: 800 !important;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
}

.btn-start-turn:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
}

.btn-danger {
    background: rgba(239, 68, 68, 0.16) !important;
    border: 1px solid rgba(239, 68, 68, 0.4) !important;
    color: #fca5a5 !important;
}

.btn-danger:hover {
    background: rgba(239, 68, 68, 0.28) !important;
}

.queue-status-box {
    background: rgba(15, 20, 34, 0.6);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-sm);
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.status-box-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.queue-turn-id {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-muted);
}

.queue-total-count {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: #a5b4fc;
}

.queue-badge {
    font-size: 0.72rem;
    font-weight: 700;
    color: #c084fc;
    background: rgba(168, 85, 247, 0.12);
    padding: 2px 8px;
    border-radius: 4px;
    align-self: flex-start;
}

.queue-current-position {
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--text-primary);
}

.queue-actions {
    margin-top: 4px;
}

.queue-mock-list {
    margin-top: 8px;
    border-top: 1px solid var(--border-glass);
    padding-top: 10px;
}

.queue-mock-header {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 6px;
}

.queue-empty-msg {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-style: italic;
}

.queue-items-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 6px;
}

.queue-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    font-size: 0.82rem;
    transition: var(--transition-fast);
}

.queue-item:hover {
    background: rgba(255, 255, 255, 0.06);
}

.queue-item.self {
    border-color: rgba(0, 242, 254, 0.5);
    background: rgba(0, 242, 254, 0.1);
}

.queue-item-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.queue-pos-badge {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--primary);
    background: rgba(0, 242, 254, 0.15);
    border: 1px solid rgba(0, 242, 254, 0.3);
    padding: 2px 6px;
    border-radius: 4px;
}

.queue-item-name {
    font-weight: 600;
    color: var(--text-primary);
}

/* Painel de Chat Reservado */
.chat-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 12px;
    padding: 32px 16px;
    color: var(--text-secondary);
}

.chat-icon {
    font-size: 2.2rem;
}

.chat-placeholder h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.chat-placeholder p {
    font-size: 0.82rem;
    line-height: 1.45;
    max-width: 280px;
}

.chat-mock-box {
    width: 100%;
    margin-top: 16px;
}

.chat-input-disabled {
    display: flex;
    gap: 6px;
}

.chat-input-disabled input {
    flex: 1;
    opacity: 0.5;
    cursor: not-allowed;
}

.chat-input-disabled button {
    opacity: 0.5;
    cursor: not-allowed;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    border: none;
    padding: 0 14px;
    border-radius: var(--radius-md);
}

/* =============================================================================
   MODO B: MINI PLAYER INTERNO FLUTUANTE (DRAGGABLE & RESIZABLE 16:9)
   ============================================================================= */
.mini-player {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 360px;
    background: #090d16;
    border: 1px solid rgba(99, 102, 241, 0.4);
    border-radius: var(--radius-md);
    box-shadow: 0 16px 40px -8px rgba(0, 0, 0, 0.8), 0 0 20px -4px rgba(99, 102, 241, 0.4);
    z-index: 1000;
    overflow: hidden;
    user-select: none;
    touch-action: none;
}

.mini-player-header {
    background: rgba(15, 20, 34, 0.95);
    padding: 8px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: move;
    border-bottom: 1px solid var(--border-glass);
}

.mini-player-title {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-secondary);
    pointer-events: none;
}

.mini-player-actions {
    display: flex;
    gap: 4px;
}

.mini-action-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 0.9rem;
    cursor: pointer;
    padding: 2px 6px;
    border-radius: 4px;
    transition: var(--transition-fast);
}

.mini-action-btn:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.1);
}

.mini-player-body {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    position: relative;
    overflow: hidden;
}

.mini-video-target {
    width: 100%;
    height: 100%;
}

.mini-video-target video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.mini-resize-handle {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 18px;
    height: 18px;
    cursor: nwse-resize;
    background: linear-gradient(135deg, transparent 50%, var(--primary) 50%);
    border-bottom-right-radius: var(--radius-md);
}

/* =============================================================================
   RESPONSIVIDADE (MOBILE & TABLET)
   ============================================================================= */
@media (max-width: 900px) {
    .room-content-wrapper {
        grid-template-columns: 1fr;
        overflow-y: auto;
    }

    .room-sidebar {
        border-left: none;
        border-top: 1px solid var(--border-glass);
        min-height: 380px;
    }

    .stage-info-cards {
        grid-template-columns: 1fr;
    }

    .admin-stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .slots-grid {
        grid-template-columns: repeat(5, 1fr);
    }

    .btn-label-desktop {
        display: none;
    }

    .mini-player {
        width: 280px;
        bottom: 12px;
        right: 12px;
    }
}

@media (max-width: 520px) {
    .room-navbar {
        padding: 0 12px;
    }

    .room-counter-pill {
        display: none;
    }

    .auth-card {
        padding: 28px 20px;
    }
}

/* =============================================================================
   HOTFIX 03 — ESTILOS DE ÁUDIO, PRESETS, STATS WEBRTC E COMPATIBILIDADE MOBILE
   ============================================================================= */

/* Banner Flutuante de Desbloqueio de Áudio */
.audio-unblock-banner {
    position: absolute;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 25;
    animation: bounceAudioBanner 2s infinite;
}

.btn-unblock-audio {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 700;
    padding: 10px 22px;
    border-radius: var(--radius-pill);
    border: 2px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.6);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-fast);
}

.btn-unblock-audio:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.8);
}

@keyframes bounceAudioBanner {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-5px); }
}

/* Badge de Áudio no Player */
.player-audio-badge {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: var(--radius-pill);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.player-audio-badge.active {
    background: rgba(16, 185, 129, 0.2);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.4);
}

.player-audio-badge.inactive {
    background: rgba(148, 163, 184, 0.15);
    color: #94a3b8;
    border: 1px solid rgba(148, 163, 184, 0.25);
}

/* =============================================================================
   HOTFIX 04 — NOVO DESIGN: SELETOR VISUAL DE QUALIDADE COM 3 CARTÕES GRANDES
   ============================================================================= */
.stream-preset-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 860px;
    margin: 10px auto;
    padding: 0 8px;
    z-index: 10;
}

.preset-section-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 4px;
    margin-bottom: 14px;
}

.preset-label {
    font-size: 0.96rem;
    font-weight: 800;
    color: #00f2fe;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-shadow: 0 0 12px rgba(0, 242, 254, 0.4);
}

.preset-sublabel {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.preset-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    width: 100%;
}

.preset-card {
    position: relative;
    background: rgba(6, 9, 14, 0.92);
    border: 1.5px solid rgba(0, 242, 254, 0.2);
    border-radius: var(--radius-lg);
    padding: 22px 14px 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    cursor: pointer;
    user-select: none;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(14px);
    outline: none;
}

.preset-card:hover {
    border-color: #00f2fe;
    background: rgba(10, 16, 26, 0.96);
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(0, 242, 254, 0.25);
}

.preset-card:focus-visible {
    border-color: #00f2fe;
    outline: 2px solid #00f2fe;
    outline-offset: 3px;
}

/* Estado Selecionado com Destaque Ciano / Glow Neon */
.preset-card.selected {
    border-color: #00f2fe;
    border-width: 2px;
    background: linear-gradient(160deg, rgba(0, 242, 254, 0.14) 0%, rgba(6, 9, 14, 0.98) 75%);
    box-shadow: 0 0 25px rgba(0, 242, 254, 0.45), inset 0 0 16px rgba(0, 242, 254, 0.12);
    transform: translateY(-2px);
}

/* Selos / Badges dos Cartões */
.preset-badge {
    position: absolute;
    top: -11px;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.8px;
    padding: 3px 12px;
    border-radius: var(--radius-pill);
    text-transform: uppercase;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.badge-recommended {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 0 14px rgba(16, 185, 129, 0.55);
}

.badge-new {
    background: linear-gradient(135deg, #00f2fe 0%, #0284c7 100%);
    color: #06090e;
    font-weight: 900;
    border: 1px solid rgba(255, 255, 255, 0.45);
    box-shadow: 0 0 16px rgba(0, 242, 254, 0.65);
}

.badge-demanding {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 0 14px rgba(245, 158, 11, 0.55);
}

/* Conteúdo Interno dos Cartões */
.preset-card-icon {
    font-size: 2rem;
    margin-top: 6px;
    margin-bottom: 6px;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.5));
}

.preset-card-title {
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.6px;
    color: #ffffff;
    margin-bottom: 2px;
}

.preset-card-spec {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 700;
    color: #00f2fe;
    margin-bottom: 6px;
}

.preset-card-desc {
    font-size: 0.77rem;
    color: var(--text-secondary);
    line-height: 1.35;
    margin-bottom: 6px;
    min-height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preset-card-meta {
    font-size: 0.7rem;
    color: var(--text-muted);
    line-height: 1.3;
}

.preset-card-indicator {
    margin-top: 12px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.indicator-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: transparent;
    transition: all 0.2s ease;
}

.preset-card.selected .preset-card-indicator {
    border-color: #00f2fe;
    background: rgba(0, 242, 254, 0.15);
    box-shadow: 0 0 8px #00f2fe;
}

.preset-card.selected .indicator-dot {
    background: #00f2fe;
    box-shadow: 0 0 6px #00f2fe;
}

/* Botão de Transmissão Grande e Contextual */
.btn-share-cta-large {
    max-width: 480px;
    padding: 16px 28px;
    font-size: 1rem;
    font-weight: 800;
    border-radius: var(--radius-md);
    margin: 8px auto 0;
    letter-spacing: 0.3px;
    transition: all 0.25s ease;
}

.btn-share-cta-large:not(:disabled) {
    background: linear-gradient(135deg, #00f2fe 0%, #0284c7 100%);
    color: #06090e;
    box-shadow: 0 0 25px rgba(0, 242, 254, 0.6);
    cursor: pointer;
}

.btn-share-cta-large:not(:disabled):hover {
    transform: translateY(-2px);
    box-shadow: 0 0 35px rgba(0, 242, 254, 0.85);
    filter: brightness(1.08);
}

.btn-share-cta-large:disabled {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-muted);
    border: 1px solid var(--border-glass);
    box-shadow: none;
    cursor: not-allowed;
    opacity: 0.7;
}

/* Responsividade dos Cartões */
@media (max-width: 860px) {
    .preset-cards-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .preset-card {
        padding: 16px 14px 14px;
    }

    .preset-card-desc {
        min-height: auto;
    }
}


/* Painel de Diagnóstico WebRTC */
.webrtc-stats-panel {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 340px;
    max-height: 82vh;
    overflow-y: auto;
    background: rgba(8, 12, 20, 0.95);
    backdrop-filter: blur(14px);
    border: 1px solid var(--border-glass-focus);
    border-radius: var(--radius-md);
    padding: 12px 14px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.85);
    z-index: 30;
    font-size: 0.76rem;
}

.webrtc-stats-panel::-webkit-scrollbar {
    width: 5px;
}
.webrtc-stats-panel::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

.stats-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 700;
    color: var(--primary);
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-glass);
    margin-bottom: 8px;
}

.btn-close-stats {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.1rem;
    cursor: pointer;
    padding: 0 4px;
    line-height: 1;
}

.btn-close-stats:hover {
    color: var(--text-primary);
}

.stats-panel-grid {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.stat-lbl {
    color: var(--text-secondary);
    white-space: nowrap;
}

.stat-val {
    font-family: var(--font-mono);
    font-weight: 600;
    color: var(--text-primary);
    text-align: right;
    word-break: break-word;
}

.stats-panel-footer {
    padding-top: 10px;
    margin-top: 10px;
    border-top: 1px solid var(--border-glass);
    text-align: center;
}

.stats-benchmark-link {
    display: inline-block;
    font-size: 0.72rem;
    color: #38bdf8;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
}

.stats-benchmark-link:hover {
    color: #7dd3fc;
    text-decoration: underline;
}

/* Seção de Diagnóstico Experimental de Codec (Hotfix 05) */
.admin-experimental-section {
    background: rgba(14, 20, 32, 0.65);
    border: 1px solid rgba(56, 189, 248, 0.25);
    border-radius: var(--radius-md);
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.admin-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}

.admin-section-title {
    display: flex;
    align-items: center;
    gap: 8px;
}

.admin-section-icon {
    font-size: 1.15rem;
}

.admin-section-title h4 {
    font-size: 0.92rem;
    font-weight: 700;
    color: #e0f2fe;
}

.badge-experimental {
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    padding: 2px 8px;
    border-radius: var(--radius-pill);
    background: rgba(56, 189, 248, 0.15);
    color: #38bdf8;
    border: 1px solid rgba(56, 189, 248, 0.4);
}

.admin-desc-text {
    font-size: 0.78rem;
    color: var(--text-secondary);
    line-height: 1.45;
}

.codec-selector-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 12px;
}

.codec-radio-card {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: rgba(10, 15, 26, 0.85);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-sm);
    padding: 12px 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.codec-radio-card:hover {
    border-color: rgba(56, 189, 248, 0.4);
    background: rgba(15, 23, 42, 0.9);
}

.codec-radio-card input[type="radio"] {
    margin-top: 3px;
    accent-color: var(--primary);
    cursor: pointer;
}

.codec-card-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.codec-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.codec-title-row strong {
    font-size: 0.84rem;
    color: var(--text-primary);
}

.codec-badge-recommended {
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.codec-badge-experimental {
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    background: rgba(245, 158, 11, 0.15);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.codec-desc {
    font-size: 0.73rem;
    color: var(--text-muted);
    line-height: 1.35;
}

.codec-active-notice {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.78rem;
    color: #cbd5e1;
}

.admin-benchmark-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.35);
    color: #38bdf8;
    padding: 5px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.74rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.admin-benchmark-btn:hover {
    background: rgba(56, 189, 248, 0.22);
    color: #7dd3fc;
    border-color: rgba(56, 189, 248, 0.6);
}

/* Banner de Recomendação de Desempenho e Hardware (Adendo Hotfix 04) */
.hardware-limitation-banner {
    position: absolute;
    top: 14px;
    left: 14px;
    right: 14px;
    max-width: 620px;
    margin: 0 auto;
    background: rgba(18, 12, 6, 0.95);
    border: 1px solid rgba(245, 158, 11, 0.5);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.8), 0 0 18px rgba(245, 158, 11, 0.25);
    backdrop-filter: blur(14px);
    border-radius: var(--radius-md);
    padding: 10px 14px;
    z-index: 40;
}

.limitation-banner-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.limitation-icon {
    font-size: 1.3rem;
    flex-shrink: 0;
}

.limitation-text {
    flex: 1;
    font-size: 0.77rem;
    color: #fef3c7;
    line-height: 1.4;
}

.limitation-title {
    color: #fbbf24;
    font-weight: 700;
    margin-right: 4px;
}

.btn-dismiss-limitation {
    background: transparent;
    border: none;
    color: #d97706;
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0 6px;
    line-height: 1;
    border-radius: var(--radius-sm);
    transition: color 0.2s ease;
}

.btn-dismiss-limitation:hover {
    color: #fbbf24;
}

/* Aviso de Modo Mobile */
.mobile-notice-banner {
    background: rgba(0, 242, 254, 0.08);
    border: 1px solid rgba(0, 242, 254, 0.2);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    font-size: 0.8rem;
    color: #e0f2fe;
    text-align: center;
    margin-top: 10px;
}
