/* V67 · Pantalla realmente maximizada y barra compacta de 38 px.
   La mini barra reserva una franja dentro de la ventana maximizada, nunca encima
   del contenido compartido. Los paneles originales conservan sus handlers. */
#v67MiniBar{display:contents}
#v67MiniBar .v67-mini-right{display:contents}
#v67ChatBtn,#v67NotificationsSlot{display:none}
/* El stage se porta directamente al body: ningún padre puede limitar su z-index. */
body.v67-fullscreen{overflow:hidden!important}
body.v67-fullscreen #stage.full.media-map-stage{
 position:fixed!important;inset:0!important;top:0!important;left:0!important;
 right:0!important;bottom:0!important;width:100vw!important;height:100vh!important;
 height:100dvh!important;max-height:none!important;min-height:0!important;
 padding:0!important;margin:0!important;transform:none!important;
 border:0!important;border-radius:0!important;box-shadow:none!important;
 z-index:20000!important;display:block!important;overflow:hidden!important;
 pointer-events:auto!important;background:#050a11!important;backdrop-filter:none!important;
}
body.v67-fullscreen #stage.full #v67MiniBar{
 box-sizing:border-box;display:flex!important;align-items:center;justify-content:space-between;
 position:absolute;left:0;right:0;top:0;height:38px;min-height:38px;
 padding:3px 7px;gap:7px;z-index:110;
 background:#0b2031;border-bottom:1px solid #23465b;
}
body.v67-fullscreen #stage.full .v67-mini-right{
 display:flex!important;align-items:center;gap:5px;margin-left:auto;
 min-width:0;height:100%;
}
body.v67-fullscreen #stage.full #fullscreenMediaControls{
 display:flex!important;position:static!important;inset:auto!important;
 left:auto!important;bottom:auto!important;transform:none!important;
 border:0!important;box-shadow:none!important;border-radius:0!important;
 background:none!important;padding:0!important;margin:0!important;gap:5px!important;
 align-items:center!important;height:100%!important;
}
body.v67-fullscreen #stage.full #fullscreenMediaControls button,
body.v67-fullscreen #stage.full #v67MiniBar .v67-mini-button,
body.v67-fullscreen #stage.full #v67MiniBar #fsViewMenuBtn,
body.v67-fullscreen #stage.full #v67MiniBar #maximize,
body.v67-fullscreen #stage.full #v67MiniBar #notificationBtn{
 box-sizing:border-box!important;position:relative!important;
 display:inline-flex!important;align-items:center!important;justify-content:center!important;
 width:31px!important;min-width:31px!important;max-width:31px!important;
 height:31px!important;min-height:31px!important;max-height:31px!important;
 padding:0!important;margin:0!important;border-radius:7px!important;
 border:1px solid #28485e!important;background:#153247!important;color:#e4f5ff!important;
 cursor:pointer!important;font-size:1.0625rem!important;line-height:1!important;box-shadow:none!important;
 transition:background .12s ease,border-color .12s ease;
}
body.v67-fullscreen #stage.full #v67MiniBar button:not(:disabled):hover{background:#205173!important;border-color:#4796c2!important}
body.v67-fullscreen #stage.full #fullscreenMediaControls button.active{
 color:#61ebb0!important;background:#0e413b!important;border-color:#277a64!important;
}
body.v67-fullscreen #stage.full #fullscreenMediaControls button:disabled{opacity:.42!important;cursor:not-allowed!important}
body.v67-fullscreen #stage.full #v67MiniBar svg{
 width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.9;
 stroke-linecap:round;stroke-linejoin:round;flex-shrink:0;
}
body.v67-fullscreen #stage.full #v67ChatBtn,
body.v67-fullscreen #stage.full #v67NotificationsSlot{display:flex!important;align-items:center;justify-content:center}
body.v67-fullscreen #stage.full #notificationWrap{display:block!important;position:relative!important;z-index:115}
body.v67-fullscreen #stage.full #notificationBtn .notification-label{display:none!important}
body.v67-fullscreen #stage.full #notificationBtn svg{width:16px;height:16px}
body.v67-fullscreen #stage.full #notificationBadge{
 display:flex;right:-4px;top:-4px;min-width:13px;height:13px;padding:0 3px;
 border-radius:8px;font-size:0.5625rem;line-height:13px;
}
body.v67-fullscreen #stage.full #notificationBadge[hidden]{display:none!important}
body.v67-fullscreen #stage.full #notificationPanel{
 position:absolute!important;top:36px!important;right:0!important;left:auto!important;
 width:min(355px,calc(100vw - 14px))!important;
 max-height:calc(100dvh - 48px)!important;z-index:120!important;
 overflow-y:auto!important;
}
body.v67-fullscreen #stage.full #notificationPanel[hidden]{display:none!important}
body.v67-fullscreen #stage.full #fullscreenViewPicker{
 position:relative!important;display:flex!important;inset:auto!important;
 top:auto!important;right:auto!important;bottom:auto!important;left:auto!important;
 gap:5px!important;z-index:111!important;align-items:center!important;
}
body.v67-fullscreen #stage.full #fsViewMenu{
 position:absolute!important;display:none;top:36px!important;right:36px!important;left:auto!important;
 min-width:198px!important;max-height:calc(100dvh - 47px)!important;
 overflow-y:auto!important;z-index:130!important;border-radius:10px!important;
 background:#0c2539!important;border:1px solid #3e6d8a!important;box-shadow:0 12px 28px #000a!important;
}
body.v67-fullscreen #stage.full #fsViewMenu.open{display:block!important}
body.v67-fullscreen #stage.full #fsViewMenu button{
 display:block!important;width:100%!important;min-width:0!important;max-width:none!important;
 height:auto!important;min-height:34px!important;padding:7px 10px!important;
 background:transparent!important;border:none!important;border-radius:0!important;
 text-align:left!important;font-size:0.75rem!important;color:#edf8ff!important;
}
body.v67-fullscreen #stage.full #fsViewMenu button:hover{background:#1b4865!important}
body.v67-fullscreen #stage.full #maximize{font-size:1.25rem!important}
/* La región audiovisual comienza debajo de la mini barra, sin superposición. */
body.v67-fullscreen #stage.full.screen-active:not(.auto-screens) #remoteVideo{
 height:calc(100% - 38px)!important;width:100%!important;margin-top:38px!important;
 object-fit:contain!important;
}
body.v67-fullscreen #stage.full.auto-screens .screen-gallery,
body.v67-fullscreen #stage.full.auto-screens.has-cameras .screen-gallery{
 top:42px!important;bottom:4px!important;right:4px!important;left:4px!important;
}
body.v67-fullscreen #stage.full.auto-screens.has-cameras .screen-gallery{left:134px!important}
body.v67-fullscreen #stage.full.auto-screens .room-gallery{
 top:42px!important;left:6px!important;bottom:4px!important;
}
body.v67-fullscreen #stage.full.all-participants .room-gallery{
 top:42px!important;bottom:6px!important;left:6px!important;right:6px!important;
 padding:0!important;
}
body.v67-fullscreen #stage.full.cameras-only:not(.auto-screens) .room-gallery{
 height:100%!important;padding:43px 8px 8px!important;box-sizing:border-box!important;
}
body.v67-fullscreen #stage.full #remoteNameBadge{
 top:44px!important;right:7px!important;bottom:auto!important;
}
/* Chats original, portado a body mientras está maximizado. */
body.v67-fullscreen #chatRail:not(.rail-hidden):not(.chat-minimized){
 position:fixed!important;z-index:20020!important;
 top:44px!important;right:7px!important;bottom:7px!important;
 height:calc(100dvh - 51px)!important;max-height:calc(100dvh - 51px)!important;
}
body.v67-fullscreen #chatRail.rail-maximized{
 left:7px!important;right:7px!important;top:44px!important;bottom:7px!important;
 width:calc(100vw - 14px)!important;max-width:none!important;
}
@media(max-width:620px){
 body.v67-fullscreen #stage.full #v67MiniBar{padding:3px 4px!important;gap:3px!important}
 body.v67-fullscreen #stage.full #fullscreenMediaControls,
 body.v67-fullscreen #stage.full .v67-mini-right,
 body.v67-fullscreen #stage.full #fullscreenViewPicker{gap:3px!important}
 body.v67-fullscreen #stage.full #fullscreenMediaControls button,
 body.v67-fullscreen #stage.full #v67MiniBar .v67-mini-button,
 body.v67-fullscreen #stage.full #v67MiniBar #fsViewMenuBtn,
 body.v67-fullscreen #stage.full #v67MiniBar #maximize,
 body.v67-fullscreen #stage.full #v67MiniBar #notificationBtn{
  width:29px!important;min-width:29px!important;max-width:29px!important;
  height:30px!important;min-height:30px!important;max-height:30px!important;
 }
 body.v67-fullscreen #stage.full.auto-screens.has-cameras .screen-gallery{
  left:4px!important;top:115px!important;
 }
 body.v67-fullscreen #stage.full.auto-screens.has-cameras .room-gallery{
  top:42px!important;bottom:auto!important;left:4px!important;right:4px!important;
  width:auto!important;height:70px!important;flex-direction:row!important;
 }
 body.v67-fullscreen #chatRail:not(.rail-hidden){left:7px!important;right:7px!important;width:calc(100vw - 14px)!important;max-width:none!important;min-width:0!important}
}
/* Respeta las restricciones de navegacion de los invitados. */
body.guest-session.v67-fullscreen #stage.full #v67ChatBtn,
body.guest-session.v67-fullscreen #stage.full #notificationWrap{display:none!important}

/* V70 · las ventanas de chat deben superar el visor de z-index 20000,
   sin reducir ni cubrir permanentemente la pantalla compartida. */
body.v67-fullscreen #messengerChatDock{
  position:fixed!important;z-index:20040!important;
  right:14px!important;bottom:12px!important;
  max-width:calc(100vw - 365px)!important;
}
body.v67-fullscreen #messengerBubbleStack{
  position:fixed!important;z-index:20050!important;right:12px!important;bottom:85px!important;
}
body.v67-fullscreen #messengerChatDock .messenger-chat-window{
  max-height:calc(100dvh - 56px)!important;
}
/* V70 · aviso de voz aun si el receptor silencio el altavoz. */
.media-tile.speaking .tile-badge{background:#17613ce8!important;color:white!important}
.media-tile.speaking .tile-badge::before{content:"";display:inline-block;width:6px;height:6px;margin-right:4px;border-radius:50%;background:#5cf5a2;box-shadow:0 0 0 0 #5cf5a280;animation:v70-voice-pulse 1.25s ease-out infinite}
@keyframes v70-voice-pulse{0%{box-shadow:0 0 0 0 #5cf5a278}70%{box-shadow:0 0 0 6px #5cf5a200}100%{box-shadow:0 0 0 0 #5cf5a200}}
.media-tile.audio-muted-locally .audio-chip{background:#93323bee!important;border-color:#ff8d92!important;color:#fff!important}
@media(max-width:800px){
  body.v67-fullscreen #messengerChatDock{left:7px!important;right:7px!important;bottom:7px!important;max-width:calc(100vw - 14px)!important;justify-content:flex-end}
  body.v67-fullscreen #messengerChatDock .messenger-chat-window{max-width:calc(100vw - 18px)!important}
}
@media(prefers-reduced-motion:reduce){.media-tile.speaking .tile-badge::before{animation:none}}

/* V71 · focalizar cualquier participante, incluida la cámara propia.
   El contenido siempre queda debajo de la barra de 38px; no reengancha LiveKit. */
#roomGallery .media-tile{cursor:zoom-in}
#roomGallery .media-tile.v71-featured{cursor:zoom-out}
#roomGallery .media-tile .audio-chip{cursor:pointer}
#roomGallery .media-tile .v71-focus-button{
 position:absolute;right:6px;bottom:6px;z-index:12;
 display:grid;place-items:center;width:26px;height:26px;padding:0;
 background:#10283edb;border:1px solid #8cb4ce8c;border-radius:7px;
 color:#e5f8ff;font-size:1.125rem;line-height:1;cursor:pointer;
}
#roomGallery .media-tile .v71-focus-button:hover,
#roomGallery .media-tile .v71-focus-button:focus-visible{
 background:#245a78;outline:2px solid #66bee9;outline-offset:1px;
}
body.v67-fullscreen #stage.full.v71-participant-focus.cameras-only .room-gallery{
 position:absolute!important;left:7px!important;right:7px!important;
 top:43px!important;bottom:7px!important;width:auto!important;
 height:auto!important;min-height:0!important;
 padding:0!important;margin:0!important;
 display:flex!important;flex-direction:column!important;align-items:flex-start!important;
 justify-content:flex-start!important;flex-wrap:nowrap!important;
 gap:7px!important;overflow-y:auto!important;overflow-x:hidden!important;
 background:#050a11!important;
}
body.v67-fullscreen #stage.full.v71-participant-focus.cameras-only .room-gallery .media-tile.v71-thumbnail{
 position:relative!important;left:auto!important;top:auto!important;
 flex:0 0 90px!important;width:118px!important;height:90px!important;
 min-width:0!important;min-height:0!important;max-width:118px!important;
 margin:0!important;z-index:3;
}
body.v67-fullscreen #stage.full.v71-participant-focus.cameras-only .room-gallery .media-tile.v71-featured{
 position:absolute!important;left:130px!important;top:0!important;right:0!important;bottom:0!important;
 flex:none!important;max-width:none!important;width:auto!important;height:auto!important;
 min-width:0!important;min-height:0!important;margin:0!important;
 z-index:2;border-color:#66b9e5!important;background:#080d15!important;
}
body.v67-fullscreen #stage.full.v71-participant-focus.cameras-only .room-gallery .media-tile.v71-featured video{
 display:block!important;width:100%!important;height:100%!important;min-height:0!important;
 object-fit:contain!important;background:#050a11!important;
}
body.v67-fullscreen #stage.full.v71-participant-focus.cameras-only .room-gallery .media-tile.v71-thumbnail video{
 height:100%!important;min-height:0!important;width:100%!important;object-fit:cover!important;
}
body.v67-fullscreen #stage.full.v71-participant-focus.cameras-only .room-gallery .media-tile.v71-featured .gallery-avatar{
 width:min(26vw,220px)!important;height:min(26vw,220px)!important;
}
body.v67-fullscreen #stage.full.v71-participant-focus.cameras-only .room-gallery .media-tile.v71-featured .gallery-avatar img,
body.v67-fullscreen #stage.full.v71-participant-focus.cameras-only .room-gallery .media-tile.v71-featured .gallery-avatar .avatar-art{
 width:90%!important;height:90%!important;
}
body.v67-fullscreen #stage.full.v71-focus-solo.cameras-only .room-gallery .media-tile.v71-featured{left:0!important}
@media(max-width:650px){
 body.v67-fullscreen #stage.full.v71-participant-focus.cameras-only .room-gallery{
   flex-direction:row!important;align-items:flex-end!important;justify-content:flex-start!important;
   overflow-x:auto!important;overflow-y:hidden!important;
 }
 body.v67-fullscreen #stage.full.v71-participant-focus.cameras-only .room-gallery .media-tile.v71-thumbnail{
   flex:0 0 94px!important;width:94px!important;height:77px!important;max-width:94px!important;
 }
 body.v67-fullscreen #stage.full.v71-participant-focus.cameras-only .room-gallery .media-tile.v71-featured{
   left:0!important;right:0!important;top:0!important;bottom:89px!important;
 }
}
@media(prefers-reduced-motion:reduce){#roomGallery .media-tile{scroll-behavior:auto}}

/* V72 · Zoom individual también para pantallas compartidas (sin submenú).
   Misma altura de mini barra V67 (38px); el zoom NO modifica otras vistas.
   El ↙ de la tarjeta destacada minimiza SOLO ese zoom. */
#roomGallery .media-tile .v71-focus-button{display:none!important}
#roomGallery .media-tile .v72-focus-button,
#screenGallery .screen-tile .v72-focus-button{
 position:absolute;right:7px;bottom:7px;z-index:12;
 width:27px;height:27px;padding:0;display:grid;place-items:center;
 background:#10283eea;border:1px solid #8cb4ce9c;border-radius:7px;
 color:#e5f8ff;font-size:1.1875rem;line-height:1;cursor:pointer;
}
#roomGallery .media-tile.v71-featured .v72-focus-button,
#screenGallery .screen-tile.v72-featured .v72-focus-button{
 top:7px;bottom:auto;background:#124865ef;border-color:#85d9fc;
 width:30px;height:30px;font-size:1.375rem;
}
#roomGallery .media-tile .v72-focus-button:hover,
#screenGallery .screen-tile .v72-focus-button:hover{
 background:#245a78;outline:2px solid #66bee9;outline-offset:1px;
}
#screenGallery .screen-tile{cursor:zoom-in}
#screenGallery .screen-tile.v72-featured{cursor:zoom-out}
body.v67-fullscreen #stage.full.v72-screen-focus.auto-screens .screen-gallery{
 position:absolute!important;left:7px!important;top:43px!important;
 right:7px!important;bottom:7px!important;
 display:flex!important;flex-direction:column!important;flex-wrap:nowrap!important;
 justify-content:flex-start!important;align-items:flex-start!important;
 overflow-y:auto!important;overflow-x:hidden!important;
 padding:0!important;margin:0!important;gap:7px!important;
 grid-template-columns:none!important;background:#050a11!important;
}
body.v67-fullscreen #stage.full.v72-screen-focus.auto-screens .screen-gallery .screen-tile.v72-thumbnail{
 position:relative!important;left:auto!important;top:auto!important;
 flex:0 0 90px!important;width:118px!important;height:90px!important;
 min-width:0!important;min-height:0!important;max-width:118px!important;
 margin:0!important;z-index:3;
}
body.v67-fullscreen #stage.full.v72-screen-focus.auto-screens .screen-gallery .screen-tile.v72-featured{
 position:absolute!important;left:130px!important;right:0!important;top:0!important;bottom:0!important;
 flex:none!important;width:auto!important;height:auto!important;
 min-height:0!important;min-width:0!important;max-width:none!important;
 margin:0!important;z-index:2;border-color:#66b9e5!important;
}
body.v67-fullscreen #stage.full.v72-screen-focus.auto-screens .screen-gallery .screen-tile video{
 width:100%!important;height:100%!important;min-height:0!important;object-fit:contain!important;
}
body.v67-fullscreen #stage.full.v72-screen-focus-solo.auto-screens .screen-gallery .screen-tile.v72-featured{left:0!important}
/* Durante el zoom de pantalla no queda un rail de cámaras superpuesto. */
body.v67-fullscreen #stage.full.v72-screen-focus.auto-screens .room-gallery{display:none!important}
@media(max-width:650px){
 body.v67-fullscreen #stage.full.v72-screen-focus.auto-screens .screen-gallery{
  flex-direction:row!important;align-items:flex-end!important;overflow-x:auto!important;overflow-y:hidden!important;
 }
 body.v67-fullscreen #stage.full.v72-screen-focus.auto-screens .screen-gallery .screen-tile.v72-thumbnail{
  flex:0 0 94px!important;width:94px!important;height:77px!important;max-width:94px!important;
 }
 body.v67-fullscreen #stage.full.v72-screen-focus.auto-screens .screen-gallery .screen-tile.v72-featured{
  left:0!important;right:0!important;top:0!important;bottom:89px!important;
 }
}

/* V73: el acceso al mapa solo se muestra al maximizar; no reaparece el duplicado Todos. */
#fsViewMenu #fsMapViewBtn[hidden]{display:none!important}


/* V75 · Selector de vistas centrado, texto prioritario, SOLO maximizado.
   No aumenta los 38px de la barra: nunca ocupa espacio de presentación. */
#v75ViewTabs{display:none}
body.v67-fullscreen #stage.full #v75ViewTabs{
 display:flex!important;align-items:center;justify-content:center;gap:4px;
 position:absolute;left:50%;top:3px;transform:translateX(-50%);
 height:31px;min-height:31px;max-width:calc(100% - 390px);
 z-index:112;white-space:nowrap;box-sizing:border-box;
}
body.v67-fullscreen #stage.full #v75ViewTabs button{
 box-sizing:border-box!important;display:inline-flex!important;align-items:center!important;
 justify-content:center!important;gap:5px!important;flex:0 0 auto!important;
 height:29px!important;min-height:29px!important;max-height:29px!important;
 width:auto!important;min-width:0!important;max-width:none!important;
 padding:0 10px!important;margin:0!important;
 font:700 0.8125rem/1.1 system-ui,-apple-system,'Segoe UI',sans-serif!important;
 white-space:nowrap!important;letter-spacing:0!important;
 color:#edf7ff!important;background:#153247!important;
 border:1px solid #31546a!important;border-radius:7px!important;
 box-shadow:none!important;cursor:pointer!important;
 transition:background .12s ease,border-color .12s ease!important;
}
body.v67-fullscreen #stage.full #v75ViewTabs .v75-mode-symbol{
 display:inline-block;font-size:0.75rem;line-height:1;opacity:.8;
}
body.v67-fullscreen #stage.full #v75ViewTabs button:hover{
 background:#21506a!important;border-color:#83b9d2!important;
}
body.v67-fullscreen #stage.full #v75ViewTabs button.active,
body.v67-fullscreen #stage.full #v75ViewTabs button[aria-pressed="true"]{
 background:#14503a!important;border-color:#4ee09b!important;
 color:#f1fff8!important;box-shadow:inset 0 0 0 1px #48c48a25!important;
}
body.v67-fullscreen #stage.full #v75ViewTabs button.active .v75-mode-symbol{opacity:1}
body.v67-fullscreen #stage.full #v75ViewTabs button:focus-visible{
 outline:2px solid #a5eacb!important;outline-offset:1px!important;
}
/* El desplegable permanece para vista normal, NO en maximizado. */
body.v67-fullscreen #stage.full #v67MiniBar #fsViewMenuBtn,
body.v67-fullscreen #stage.full #v67MiniBar #fsViewMenu,
body.v67-fullscreen #stage.full #v67MiniBar #fsViewMenu.open{display:none!important}
/* Pantallas medianas: texto siempre visible, iconos opcionales. */
@media(max-width:1280px){
 body.v67-fullscreen #stage.full #v75ViewTabs .v75-mode-symbol{display:none!important}
 body.v67-fullscreen #stage.full #v75ViewTabs button{padding:0 8px!important;font-size:0.78125rem!important}
}
/* Pantallas pequeñas: conserva el tamaño legible; desplazamiento horizontal
   SOLO de las pestañas, sin mover mic, chat ni notificaciones. */
@media(max-width:900px){
 body.v67-fullscreen #stage.full #v75ViewTabs{
  position:relative!important;left:auto!important;top:auto!important;
  transform:none!important;flex:1 1 auto!important;justify-content:flex-start!important;
  min-width:0!important;max-width:none!important;height:31px!important;
  overflow-x:auto!important;overflow-y:hidden!important;
  scrollbar-width:none;overscroll-behavior-x:contain;
 }
 body.v67-fullscreen #stage.full #v75ViewTabs::-webkit-scrollbar{display:none}
 body.v67-fullscreen #stage.full .v67-mini-right{margin-left:0!important;flex:0 0 auto!important}
}

/* V76: aclarar compartir y separar claramente el selector de vistas. No
   aumentar los 38px reservados ni ocupar espacio de la presentacion. */
body.v67-fullscreen #stage.full #fullscreenMediaControls #fsScreen.v76-share-button{
 width:auto!important;min-width:103px!important;max-width:none!important;
 padding:0 10px!important;gap:7px!important;
 font:700 0.75rem/1 system-ui,-apple-system,'Segoe UI',sans-serif!important;
 white-space:nowrap!important;
}
body.v67-fullscreen #stage.full #fullscreenMediaControls #fsScreen .v76-share-text{
 display:inline!important;white-space:nowrap!important;line-height:1!important;
}
body.v67-fullscreen #stage.full #v75ViewTabs .v76-view-label{
 display:inline-block!important;flex:0 0 auto!important;
 margin-right:8px!important;color:#d6e4ee!important;
 font:700 0.8125rem/1 system-ui,-apple-system,'Segoe UI',sans-serif!important;
 white-space:nowrap!important;
}
/* En pantallas medianas priorizar que el texto del selector siga legible. */
@media(max-width:1280px){
 body.v67-fullscreen #stage.full #v75ViewTabs .v76-view-label{margin-right:4px!important;font-size:0.75rem!important}
}
/* En moviles estrechos no sacrificar cuatro nombres del selector para
   mantener el texto Compartir: compartir sigue reconocible por su icono. */
@media(max-width:620px){
 body.v67-fullscreen #stage.full #fullscreenMediaControls #fsScreen.v76-share-button{
  width:29px!important;min-width:29px!important;max-width:29px!important;
  padding:0!important;gap:0!important;
 }
 body.v67-fullscreen #stage.full #fullscreenMediaControls #fsScreen .v76-share-text{display:none!important}
}

/* V98.25 · Ampliación visual de cámara, reutilizando el track existente. */
#pip .v98-camera-expand{
 position:absolute;right:5px;bottom:5px;z-index:6;
 width:27px;height:27px;padding:0;display:grid;place-items:center;
 border:1px solid #82c7e0;border-radius:7px;
 background:#09263bdd;color:#eaffff;font-size:1.3125rem;cursor:pointer;
}
#pip .v98-camera-expand:hover,#pip .v98-camera-expand:focus-visible{
 background:#195577;outline:2px solid #82c7e0;outline-offset:1px;
}
body.v67-fullscreen #stage.full.v71-participant-focus .media-tile.v71-featured video{
 object-fit:contain!important;min-height:0!important;
}

/* V98 visual-hybrid · cámara propia ampliada: se mueve el PIP EXISTENTE,
   no se crea otra pista/elemento de vídeo. Máximo ancho sin recortar fondo. */
body.v67-fullscreen #stage.full.v98-self-focus #pip{
  position:absolute!important;left:137px!important;right:7px!important;
  top:44px!important;bottom:7px!important;width:auto!important;height:auto!important;
  max-width:none!important;max-height:none!important;min-width:0!important;min-height:0!important;
  flex:none!important;margin:0!important;padding:0!important;
  display:flex!important;align-items:center!important;justify-content:center!important;
  z-index:50!important;border-radius:10px!important;overflow:hidden!important;
  background:#050a11!important;box-shadow:none!important;transform:none!important;
}
body.v67-fullscreen #stage.full.v98-self-focus #pip video{
  display:block!important;width:100%!important;height:100%!important;
  max-width:none!important;max-height:none!important;min-width:0!important;min-height:0!important;
  object-fit:contain!important;background:#050a11!important;
}
/* Visual fix: nunca mostrar el placeholder por encima de una cámara activa.
   updateLocalPreview() controla .has-camera y [hidden]; no tocar streams ni tracks. */
body.v67-fullscreen #stage.full.v98-self-focus #pip:not(.has-camera) .local-preview-empty:not([hidden]){
  display:flex;align-items:center;justify-content:center;
}
body.v67-fullscreen #stage.full #pip.has-camera .local-preview-empty,
body.v67-fullscreen #stage.full #pip .local-preview-empty[hidden]{
  display:none!important;
}
body.v67-fullscreen #stage.full.cameras-only #pip:not(.has-camera) video{
  display:none!important;
}
body.v67-fullscreen #stage.full.v98-self-focus #roomGallery{
  position:absolute!important;top:44px!important;bottom:7px!important;left:7px!important;
  right:auto!important;width:118px!important;height:auto!important;box-sizing:border-box!important;
  display:flex!important;flex-direction:column!important;flex-wrap:nowrap!important;
  align-items:flex-start!important;justify-content:flex-start!important;
  overflow-y:auto!important;overflow-x:hidden!important;gap:7px!important;padding:0!important;
  background:transparent!important;
}
body.v67-fullscreen #stage.full.v98-self-focus #roomGallery .media-tile{
  position:relative!important;flex:0 0 90px!important;width:118px!important;
  height:90px!important;min-height:0!important;max-width:118px!important;
}
body.v67-fullscreen #stage.full.v98-self-focus #roomGallery .media-tile video{
  width:100%!important;height:100%!important;min-height:0!important;object-fit:cover!important;
}
@media(max-width:620px){
 body.v67-fullscreen #stage.full.v98-self-focus #pip{
  left:7px!important;right:7px!important;top:142px!important;bottom:7px!important;
 }
 body.v67-fullscreen #stage.full.v98-self-focus #roomGallery{
  right:7px!important;width:auto!important;bottom:auto!important;
  height:90px!important;flex-direction:row!important;overflow-x:auto!important;overflow-y:hidden!important;
 }
}

/* PIP existente en la vista ampliada de participantes, sin nueva cámara.
   Cuando se elige "ampliar mi cámara", las reglas v98-self-focus lo expanden. */
body.v67-fullscreen #stage.full.cameras-only:not(.v98-self-focus) #pip{
  position:absolute!important;z-index:90!important;top:47px!important;right:10px!important;
  left:auto!important;bottom:auto!important;
  width:154px!important;height:92px!important;max-width:154px!important;
  min-width:0!important;min-height:0!important;margin:0!important;padding:0!important;
  display:flex!important;overflow:hidden!important;border-radius:9px!important;
  border:1px solid #ffffffaa!important;background:#111!important;
  transform:none!important;
}
body.v67-fullscreen #stage.full.cameras-only:not(.v98-self-focus) #pip video{
  display:block!important;width:100%!important;height:100%!important;min-height:0!important;
  object-fit:cover!important;
}
@media(max-width:620px){
 body.v67-fullscreen #stage.full.cameras-only:not(.v98-self-focus) #pip{
  top:44px!important;right:8px!important;width:105px!important;height:74px!important;
 }
}


/* V102 · Reunión a pantalla completa: Automatico principal + rail,
   Participantes en cuadrícula y opción de pantalla completa del navegador.
   Solo disposición visual. La captura y publicación RTC permanecen intactas. */
#v102MeetingMeta,
#v102PeopleBtn,
#v102BrowserFullscreen,
#roomGallery .v102-pin-button{display:none}
#stage.media-map-stage:not(.full) #roomGallery .media-tile[data-peer="__local_participant__"]{display:none!important}
body.v67-fullscreen #stage.full #v67MiniBar{
 height:54px!important;min-height:54px!important;
 padding:5px 11px!important;gap:6px!important;
 background:#1b1e20!important;border-bottom:1px solid #363b3d!important;
}
body.v67-fullscreen #stage.full #v67MiniBar .v67-mini-right{
 display:flex!important;align-items:center!important;gap:5px!important;
 margin-left:auto!important;min-width:max-content!important;
}
body.v67-fullscreen #stage.full #fullscreenMediaControls,
body.v67-fullscreen #stage.full #v67MiniBar .v67-mini-right{height:100%!important}
body.v67-fullscreen #stage.full #fullscreenMediaControls button,
body.v67-fullscreen #stage.full #v67MiniBar .v67-mini-button,
body.v67-fullscreen #stage.full #v67MiniBar #notificationBtn{
 width:36px!important;min-width:36px!important;max-width:36px!important;
 height:36px!important;min-height:36px!important;max-height:36px!important;
 border-radius:9px!important;background:#272b2d!important;border-color:#363c3e!important;
}
body.v67-fullscreen #stage.full #fullscreenMediaControls #fsScreen.v76-share-button{
 height:36px!important;min-height:36px!important;max-height:36px!important;
 background:#272b2d!important;border-color:#363c3e!important;
}
body.v67-fullscreen #stage.full #v75ViewTabs{
 top:8px!important;height:38px!important;min-height:38px!important;
 max-width:calc(100% - 650px)!important;gap:5px!important;
 padding:3px 5px!important;border-radius:12px!important;
 background:#25292b!important;
}
body.v67-fullscreen #stage.full #v75ViewTabs button{
 height:32px!important;min-height:32px!important;max-height:32px!important;
 border:1px solid transparent!important;background:transparent!important;
 color:#aeb6b9!important;font-size:0.75rem!important;
}
body.v67-fullscreen #stage.full #v75ViewTabs button.active,
body.v67-fullscreen #stage.full #v75ViewTabs button[aria-pressed="true"]{
 background:rgba(117,160,73,.16)!important;color:#9fd073!important;
 border-color:rgba(139,188,92,.38)!important;box-shadow:none!important;
}
body.v67-fullscreen #stage.full #v75ViewTabs .v76-view-label{display:none!important}
body.v67-fullscreen #stage.full #v102MeetingMeta{
 display:flex!important;align-items:center;gap:8px;position:absolute;
 left:230px;top:0;height:53px;width:360px;min-width:0;overflow:hidden;
 white-space:nowrap;pointer-events:none;color:#e1e6e5;font-size:0.6875rem;
}
body.v67-fullscreen #stage.full #v102MeetingMeta strong{
 font:700 0.75rem/1.2 system-ui,-apple-system,"Segoe UI",sans-serif;
 white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
body.v67-fullscreen #stage.full #v102MeetingCount{font-size:0.625rem;color:#a1aaa9;flex:0 0 auto}
body.v67-fullscreen #stage.full .v102-meeting-dot{
 width:7px;height:7px;flex:0 0 7px;border-radius:50%;background:#d7736f;
}
body.v67-fullscreen #stage.full #v67MiniBar .v102-top-button{
 box-sizing:border-box!important;display:inline-flex!important;align-items:center!important;
 justify-content:center!important;flex:0 0 36px!important;
 width:36px!important;height:36px!important;min-width:36px!important;
 padding:0!important;margin:0!important;cursor:pointer!important;
 border:1px solid #363c3e!important;border-radius:9px!important;
 color:#e4e7e6!important;background:#282c2e!important;
}
body.v67-fullscreen #stage.full #v67MiniBar .v102-top-button:hover,
body.v67-fullscreen #stage.full #v67MiniBar .v102-top-button.active{
 background:#38433b!important;border-color:#809c71!important;
}
body.v67-fullscreen #stage.full .v102-top-button svg{
 width:17px!important;height:17px!important;stroke:currentColor!important;
 fill:none!important;stroke-width:1.8!important;stroke-linecap:round!important;stroke-linejoin:round!important;
}
/* La barra de 54px reserva su espacio también al compartir pantalla. */
body.v67-fullscreen #stage.full.screen-active:not(.auto-screens) #remoteVideo{
 height:calc(100% - 54px)!important;margin-top:54px!important;
}
body.v67-fullscreen #stage.full.auto-screens .screen-gallery,
body.v67-fullscreen #stage.full.auto-screens.has-cameras .screen-gallery{top:60px!important}
body.v67-fullscreen #stage.full.auto-screens .room-gallery{top:60px!important}
body.v67-fullscreen #stage.full.all-participants .room-gallery{top:60px!important}
body.v67-fullscreen #stage.full.cameras-only:not(.auto-screens):not(.v102-auto):not(.v102-grid):not(.v71-participant-focus):not(.v98-self-focus) .room-gallery{
 padding-top:60px!important;
}
body.v67-fullscreen #stage.full.v71-participant-focus.cameras-only .room-gallery{top:60px!important}
body.v67-fullscreen #stage.full.v72-screen-focus.auto-screens .screen-gallery{top:60px!important}
body.v67-fullscreen #stage.full.v98-self-focus #pip{top:61px!important}
body.v67-fullscreen #stage.full.v98-self-focus #roomGallery{top:61px!important}
body.v67-fullscreen #stage.full.v98-self-focus #roomGallery .media-tile[data-peer="__local_participant__"]{display:none!important}
body.v67-fullscreen #stage.full #remoteNameBadge{top:62px!important}
body.v67-fullscreen #stage.full #notificationPanel{top:54px!important;max-height:calc(100dvh - 62px)!important}
body.v67-fullscreen #chatRail:not(.rail-hidden):not(.chat-minimized){
 top:61px!important;height:calc(100dvh - 68px)!important;max-height:calc(100dvh - 68px)!important;
}
/* Ambas vistas usan el tile local real; no mostrar su PIP flotante duplicado. */
body.v67-fullscreen #stage.full:is(.v102-auto,.v102-grid):not(.v98-self-focus) #pip{display:none!important}
/* Al desmaximizar, queda solo la tira de participantes remotos original. */
body.v67-fullscreen #stage.full:is(.v102-auto,.v102-grid):not(.v71-participant-focus):not(.v98-self-focus) #roomGallery{
 position:absolute!important;box-sizing:border-box!important;
 left:3px!important;right:3px!important;top:60px!important;bottom:8px!important;
 width:auto!important;height:auto!important;min-height:0!important;
 margin:0!important;padding:0!important;gap:8px!important;
 border:0!important;background:transparent!important;
}
body.v67-fullscreen #stage.full:is(.v102-auto,.v102-grid) #roomGallery .media-tile{
 box-sizing:border-box!important;min-height:0!important;min-width:0!important;
 max-width:none!important;max-height:none!important;
 border:1px solid #363d39!important;border-radius:13px!important;
 box-shadow:none!important;overflow:hidden!important;
 background:radial-gradient(circle at 48% 40%,#343c32 0%,#242b24 80%)!important;
}
body.v67-fullscreen #stage.full:is(.v102-auto,.v102-grid) #roomGallery .media-tile:nth-child(3n+1){
 background:radial-gradient(circle at 45% 39%,#303c38,#1b2422 85%)!important;
}
body.v67-fullscreen #stage.full:is(.v102-auto,.v102-grid) #roomGallery .media-tile:nth-child(3n+2){
 background:radial-gradient(circle at 45% 39%,#454032,#2a2920 85%)!important;
}
body.v67-fullscreen #stage.full:is(.v102-auto,.v102-grid) #roomGallery .media-tile.speaking{
 border:2px solid #9ac972!important;
}
body.v67-fullscreen #stage.full:is(.v102-auto,.v102-grid) #roomGallery .media-tile video{
 width:100%!important;height:100%!important;min-height:0!important;
 object-fit:contain!important;background:transparent!important;
}
body.v67-fullscreen #stage.full:is(.v102-auto,.v102-grid) #roomGallery .media-tile .gallery-avatar{
 width:132px!important;height:176px!important;max-width:55%!important;
 border:0!important;border-radius:0!important;box-shadow:none!important;
 background:transparent!important;overflow:visible!important;
}
body.v67-fullscreen #stage.full:is(.v102-auto,.v102-grid) #roomGallery .gallery-avatar :is(img,.avatar-art){
 width:100%!important;height:100%!important;object-fit:contain!important;
 image-rendering:pixelated!important;
}
body.v67-fullscreen #stage.full:is(.v102-auto,.v102-grid) #roomGallery .tile-label{
 position:absolute!important;z-index:7;left:10px!important;bottom:9px!important;
 right:auto!important;top:auto!important;
 padding:6px 10px!important;border-radius:18px!important;
 background:#0a0d0ccc!important;color:white!important;
 font:700 0.75rem/1.1 system-ui,-apple-system,"Segoe UI",sans-serif!important;
 max-width:calc(100% - 20px);overflow:hidden;text-overflow:ellipsis;
}
body.v67-fullscreen #stage.full:is(.v102-auto,.v102-grid) #roomGallery .tile-badge{display:none!important}
body.v67-fullscreen #stage.full:is(.v102-auto,.v102-grid) #roomGallery .audio-chip{
 opacity:0!important;transition:opacity .14s ease;
}
body.v67-fullscreen #stage.full:is(.v102-auto,.v102-grid) #roomGallery .media-tile:is(:hover,:focus-within) .audio-chip{
 opacity:1!important;
}
body.v67-fullscreen #stage.full:is(.v102-auto,.v102-grid) #roomGallery .v102-pin-button{
 position:absolute!important;right:10px!important;top:10px!important;bottom:auto!important;
 display:inline-flex!important;align-items:center!important;justify-content:center!important;
 z-index:14!important;min-width:50px!important;width:auto!important;height:27px!important;
 padding:0 10px!important;border:0!important;border-radius:16px!important;
 background:#0b0e0de6!important;color:#fff!important;cursor:pointer!important;
 font:700 0.6875rem/1 system-ui,-apple-system,"Segoe UI",sans-serif!important;
 opacity:0;transition:opacity .14s ease;
}
body.v67-fullscreen #stage.full:is(.v102-auto,.v102-grid) #roomGallery .media-tile:is(:hover,:focus-within,.speaking) .v102-pin-button,
body.v67-fullscreen #stage.full:is(.v102-auto,.v102-grid) #roomGallery .v102-pin-button.pinned{opacity:1!important}
body.v67-fullscreen #stage.full:is(.v102-auto,.v102-grid) #roomGallery .v102-pin-button.pinned{
 background:#405334!important;color:#fff!important;
}
/* Automático: participante principal con thumbnails a la derecha. */
body.v67-fullscreen #stage.full.v102-auto:not(.v71-participant-focus) #roomGallery{
 display:flex!important;flex-direction:column!important;flex-wrap:nowrap!important;
 align-items:flex-end!important;justify-content:flex-start!important;
 overflow-y:auto!important;overflow-x:hidden!important;
 --v102-side-width:clamp(160px,12vw,212px);
}
body.v67-fullscreen #stage.full.v102-auto:not(.v71-participant-focus) #roomGallery .media-tile:not(.v102-featured){
 position:relative!important;flex:0 0 134px!important;
 width:var(--v102-side-width)!important;height:134px!important;
 min-height:134px!important;max-width:var(--v102-side-width)!important;z-index:2!important;
}
body.v67-fullscreen #stage.full.v102-auto:not(.v71-participant-focus) #roomGallery .media-tile.v102-featured{
 position:absolute!important;top:0!important;bottom:0!important;left:0!important;
 right:calc(var(--v102-side-width) + 9px)!important;
 flex:none!important;width:auto!important;height:auto!important;z-index:1!important;
 border-color:#9ac972!important;border-width:2px!important;
}
body.v67-fullscreen #stage.full.v102-auto:not(.v71-participant-focus) #roomGallery .media-tile:not(.v102-featured) .gallery-avatar{
 width:70px!important;height:88px!important;
}
/* Participantes: 2 columnas, 3 usuarios => tercer cuadro abajo a la izquierda. */
body.v67-fullscreen #stage.full.v102-grid:not(.v71-participant-focus):not(.v98-self-focus) #roomGallery{
 display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
 grid-template-rows:repeat(2,minmax(0,1fr))!important;
 grid-auto-rows:minmax(190px,calc((100% - 8px)/2))!important;
 align-items:stretch!important;justify-items:stretch!important;
 align-content:start!important;justify-content:stretch!important;
 overflow-y:auto!important;overflow-x:hidden!important;
}
body.v67-fullscreen #stage.full.v102-grid:not(.v71-participant-focus):not(.v98-self-focus) #roomGallery .media-tile{
 position:relative!important;flex:none!important;width:100%!important;height:100%!important;
 margin:0!important;
}
body.v67-fullscreen #stage.full.v102-grid:not(.v71-participant-focus):not(.v98-self-focus) #roomGallery[data-v102-count="1"]{
 grid-template-columns:1fr!important;grid-template-rows:1fr!important;
}
body.v67-fullscreen #stage.full.v102-grid:not(.v71-participant-focus):not(.v98-self-focus) #roomGallery[data-v102-count="2"]{
 grid-template-rows:1fr!important;
}
@media(max-width:1360px){
 body.v67-fullscreen #stage.full #v102MeetingMeta{left:172px!important;width:260px!important}
 body.v67-fullscreen #stage.full #v75ViewTabs{max-width:calc(100% - 510px)!important}
}
@media(max-width:1050px){
 body.v67-fullscreen #stage.full #v102MeetingMeta{display:none!important}
 body.v67-fullscreen #stage.full #v75ViewTabs{
   position:relative!important;left:auto!important;top:auto!important;transform:none!important;
   flex:1 1 auto!important;max-width:none!important;min-width:0!important;
   overflow-x:auto!important;justify-content:flex-start!important;
 }
}
@media(max-width:620px){
 body.v67-fullscreen #stage.full #v67MiniBar{padding:5px 4px!important;gap:3px!important}
   body.v67-fullscreen #stage.full #v67MiniBar .v102-top-button{flex-basis:30px!important;width:30px!important;min-width:30px!important}
 body.v67-fullscreen #stage.full.v102-auto #roomGallery{--v102-side-width:98px}
 body.v67-fullscreen #stage.full.v102-auto #roomGallery .media-tile:not(.v102-featured){
  height:86px!important;min-height:86px!important;flex-basis:86px!important;
 }
 body.v67-fullscreen #stage.full.v102-auto #roomGallery .media-tile:not(.v102-featured) .gallery-avatar{
  width:45px!important;height:54px!important;
 }
 body.v67-fullscreen #stage.full.v102-grid:not(.v71-participant-focus) #roomGallery{
  grid-template-columns:1fr!important;grid-auto-rows:minmax(185px,45%)!important;
  grid-template-rows:none!important;
 }
 body.v67-fullscreen #stage.full:is(.v102-grid,.v102-auto) #roomGallery .gallery-avatar{
  max-width:65%!important;
 }
}


/* V102.1 · Corrección visual del caso "1 persona":
   el escenario muestra el avatar del usuario, no el PIP vacío. */
body.v67-fullscreen #stage.full #v67MiniBar #maximize,
body.v67-fullscreen #stage.full #v67MiniBar #maximize:not([hidden]){
 display:none!important;
}
body.v67-fullscreen #stage.full.v102-auto #roomGallery[data-v102-count="1"] .media-tile.v102-featured{
 right:0!important;
}
body.v67-fullscreen #stage.full.v102-auto #roomGallery[data-v102-count="1"]{
 overflow:hidden!important;
}
body.v67-fullscreen #stage.full.v102-auto #roomGallery[data-v102-count="1"] .media-tile.v102-featured,
body.v67-fullscreen #stage.full.v102-grid #roomGallery[data-v102-count="1"] .media-tile{
 height:100%!important;min-height:0!important;
}
body.v67-fullscreen #stage.full:is(.v102-auto,.v102-grid) #roomGallery .media-tile.avatar-tile{
 display:flex!important;align-items:center!important;justify-content:center!important;
}
body.v67-fullscreen #stage.full:is(.v102-auto,.v102-grid) #roomGallery .media-tile.avatar-tile.v102-featured .gallery-avatar,
body.v67-fullscreen #stage.full.v102-grid #roomGallery .media-tile.avatar-tile .gallery-avatar{
 width:clamp(145px,14vw,230px)!important;
 height:clamp(165px,19vw,250px)!important;
 max-width:60%!important;
}
body.v67-fullscreen #stage.full:is(.v102-auto,.v102-grid) #roomGallery .media-tile.avatar-tile .gallery-avatar canvas.avatar-art{
 display:block!important;image-rendering:pixelated!important;
 width:100%!important;height:100%!important;
}
body.v67-fullscreen #stage.full:is(.v102-auto,.v102-grid) #roomGallery .media-tile.avatar-tile .tile-label{
 bottom:10px!important;
}
@media(max-width:620px){
 body.v67-fullscreen #stage.full:is(.v102-auto,.v102-grid) #roomGallery .media-tile.avatar-tile .gallery-avatar{
  max-width:70%!important;
 }
}


/* V103 · Iconografía OFICIAL Xmarts en barra maximizada. Antes el CSS
   del pack quedaba fuera de alcance al portar #stage desde #app a body.
   Solo máscaras SVG y disposición: preserva handlers, estados y RTC. */
body.v67-fullscreen #stage.full #fullscreenMediaControls :is(#fsMic,#fsCam,#fsScreen)>svg{
 visibility:hidden!important;
}
body.v67-fullscreen #stage.full #fullscreenMediaControls :is(#fsMic,#fsCam,#fsScreen)::before{
 content:"";display:block;flex:0 0 18px;width:18px;height:18px;
 pointer-events:none;background:currentColor;position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);
 -webkit-mask-position:center;-webkit-mask-size:contain;-webkit-mask-repeat:no-repeat;
 mask-position:center;mask-size:contain;mask-repeat:no-repeat;
}
body.v67-fullscreen #stage.full #fullscreenMediaControls #fsMic::before{
 -webkit-mask-image:url("/assets/xmarts-ui-icons/microfono.svg");
 mask-image:url("/assets/xmarts-ui-icons/microfono.svg");
}
body.v67-fullscreen #stage.full #fullscreenMediaControls #fsMic:not(.active)::before{
 -webkit-mask-image:url("/assets/xmarts-ui-icons/microfono-apagado.svg");
 mask-image:url("/assets/xmarts-ui-icons/microfono-apagado.svg");
}
body.v67-fullscreen #stage.full #fullscreenMediaControls #fsCam::before{
 -webkit-mask-image:url("/assets/xmarts-ui-icons/camara.svg");
 mask-image:url("/assets/xmarts-ui-icons/camara.svg");
}
body.v67-fullscreen #stage.full #fullscreenMediaControls #fsCam:not(.active)::before{
 -webkit-mask-image:url("/assets/xmarts-ui-icons/camara-apagada.svg");
 mask-image:url("/assets/xmarts-ui-icons/camara-apagada.svg");
}
body.v67-fullscreen #stage.full #fullscreenMediaControls #fsScreen{
 position:relative!important;
}
body.v67-fullscreen #stage.full #fullscreenMediaControls #fsScreen::before{
 position:relative;left:auto;top:auto;transform:none;
 -webkit-mask-image:url("/assets/xmarts-ui-icons/compartir-pantalla.svg");
 mask-image:url("/assets/xmarts-ui-icons/compartir-pantalla.svg");
}
body.v67-fullscreen #stage.full #fullscreenMediaControls :is(#fsMic,#fsCam){
 position:relative!important;
}
/* Vista automática, participantes y pantalla: misma colección de pictogramas. */
body.v67-fullscreen #stage.full #v75ViewTabs .v75-mode-symbol{
 box-sizing:border-box!important;display:inline-block!important;
 position:relative!important;width:16px!important;height:16px!important;
 flex:0 0 16px!important;font-size:0!important;line-height:0!important;
 opacity:1!important;background:currentColor;
 -webkit-mask-position:center;-webkit-mask-size:contain;-webkit-mask-repeat:no-repeat;
 mask-position:center;mask-size:contain;mask-repeat:no-repeat;
}
body.v67-fullscreen #stage.full #v75ViewTabs [data-v75-view="auto"] .v75-mode-symbol{
 -webkit-mask-image:url("/assets/xmarts-ui-icons/efectos.svg");
 mask-image:url("/assets/xmarts-ui-icons/efectos.svg");
}
body.v67-fullscreen #stage.full #v75ViewTabs [data-v75-view="camera"] .v75-mode-symbol{
 -webkit-mask-image:url("/assets/xmarts-ui-icons/personas.svg");
 mask-image:url("/assets/xmarts-ui-icons/personas.svg");
}
body.v67-fullscreen #stage.full #v75ViewTabs [data-v75-view="screen"] .v75-mode-symbol{
 -webkit-mask-image:url("/assets/xmarts-ui-icons/compartir-pantalla.svg");
 mask-image:url("/assets/xmarts-ui-icons/compartir-pantalla.svg");
}
body.v67-fullscreen #stage.full #v75ViewTabs #v75MapViewBtn .v75-map-symbol{
 background:transparent!important;-webkit-mask-image:none!important;mask-image:none!important;
 line-height:1!important;
}
body.v67-fullscreen #stage.full #v75ViewTabs #v75MapViewBtn .v75-map-symbol>svg{
 display:block!important;visibility:visible!important;
 width:16px!important;height:16px!important;
}
/* Botones de Personas y F11: iconos oficiales en vez de trazos provisionales. */
body.v67-fullscreen #stage.full #v67MiniBar :is(#v102PeopleBtn,#v102BrowserFullscreen){
 position:relative!important;
}
body.v67-fullscreen #stage.full #v67MiniBar :is(#v102PeopleBtn,#v102BrowserFullscreen)>svg{
 visibility:hidden!important;
}
body.v67-fullscreen #stage.full #v67MiniBar :is(#v102PeopleBtn,#v102BrowserFullscreen)::after{
 content:"";position:absolute;left:50%;top:50%;width:19px;height:19px;
 transform:translate(-50%,-50%);background:currentColor;pointer-events:none;
 -webkit-mask-position:center;-webkit-mask-size:contain;-webkit-mask-repeat:no-repeat;
 mask-position:center;mask-size:contain;mask-repeat:no-repeat;
}
body.v67-fullscreen #stage.full #v67MiniBar #v102PeopleBtn::after{
 -webkit-mask-image:url("/assets/xmarts-ui-icons/personas.svg");
 mask-image:url("/assets/xmarts-ui-icons/personas.svg");
}
body.v67-fullscreen #stage.full #v67MiniBar #v102BrowserFullscreen::after{
 -webkit-mask-image:url("/assets/xmarts-ui-icons/ampliar-vista.svg");
 mask-image:url("/assets/xmarts-ui-icons/ampliar-vista.svg");
}
/* Campana portales: el pack original solo apuntaba a .app-header. */
body.v67-fullscreen #stage.full #v67MiniBar #notificationBtn>.action-ico{
 display:none!important;
}
body.v67-fullscreen #stage.full #v67MiniBar #notificationBtn::before{
 content:"";display:block;width:18px;height:18px;flex:0 0 18px;
 background:currentColor;pointer-events:none;
 -webkit-mask:url("/assets/xmarts-ui-icons/notificaciones.svg") center / contain no-repeat;
 mask:url("/assets/xmarts-ui-icons/notificaciones.svg") center / contain no-repeat;
}
/* El acceso Personas abre el panel real; elevarlo por encima del #stage portado.
   Sin tocar los controles o elementos internos de ese panel. */
body.v67-fullscreen #peopleRail:not(.rail-hidden){
 display:flex!important;position:fixed!important;z-index:20035!important;
 top:61px!important;bottom:8px!important;left:9px!important;right:auto!important;
 height:calc(100dvh - 69px)!important;
 max-height:calc(100dvh - 69px)!important;
 max-width:calc(100vw - 18px)!important;
 overflow:hidden!important;transform:none!important;pointer-events:auto!important;
}
body.v67-fullscreen #stage.full #v102PeopleBtn.active{
 border-color:var(--accent,#8ebc71)!important;
 background:var(--accent-soft,#354337)!important;
}
@media(max-width:620px){
 body.v67-fullscreen #peopleRail:not(.rail-hidden){
  left:6px!important;right:6px!important;width:calc(100vw - 12px)!important;
  max-width:none!important;
 }
 body.v67-fullscreen #stage.full #v75ViewTabs .v75-mode-symbol{
  width:15px!important;height:15px!important;flex-basis:15px!important;
 }
}


/* V104 · Botón Configuración al lado de mic/cámara/compartir.
   Reutiliza el modal real #xmMktSettingsModal; no clona inputs ni dispositivos. */
body.v67-fullscreen #stage.full #fullscreenMediaControls #fsSettings.v104-fs-settings{
 display:inline-flex!important;position:relative!important;align-items:center!important;
 justify-content:center!important;flex:0 0 36px!important;
 width:36px!important;min-width:36px!important;max-width:36px!important;
 height:36px!important;min-height:36px!important;max-height:36px!important;
 padding:0!important;margin:0!important;
 border-radius:9px!important;border:1px solid #363c3e!important;
 background:#272b2d!important;color:#e4e7e6!important;
 cursor:pointer!important;
}
body.v67-fullscreen #stage.full #fullscreenMediaControls #fsSettings.v104-fs-settings:hover{
 background:#38433b!important;border-color:#809c71!important;
}
body.v67-fullscreen #stage.full #fullscreenMediaControls #fsSettings.v104-fs-settings>svg{
 visibility:hidden!important;
}
body.v67-fullscreen #stage.full #fullscreenMediaControls #fsSettings.v104-fs-settings::before{
 content:"";display:block;position:absolute;left:50%;top:50%;
 width:19px;height:19px;transform:translate(-50%,-50%);
 background:currentColor;pointer-events:none;
 -webkit-mask:url("/assets/xmarts-ui-icons/ajustes.svg") center / contain no-repeat;
 mask:url("/assets/xmarts-ui-icons/ajustes.svg") center / contain no-repeat;
}
/* El modal de Ajustes se monta en body, por debajo de #stage (z=20000).
   Subirlo solo cuando la reunión está maximizada permite usarlo realmente. */
body.v67-fullscreen #xmMktSettingsModal.xm-mkt-modal.is-open{
 z-index:20100!important;
}
/* Igual de compacto que sus tres compañeros en móvil. */
@media(max-width:620px){
 body.v67-fullscreen #stage.full #fullscreenMediaControls #fsSettings.v104-fs-settings{
  flex-basis:29px!important;width:29px!important;min-width:29px!important;max-width:29px!important;
  height:30px!important;min-height:30px!important;max-height:30px!important;
 }
}
