/* Xmarts LAB · Controles de comunicación maximizada con estilo de píldoras.
   Solo presentación: no modifica LiveKit, vistas ni handlers existentes. */
#v105FullscreenMapClose{display:none!important}

body.v67-fullscreen #stage.full #v67MiniBar{
  background:#1b1f20!important;
  border-bottom:1px solid #34393a!important;
  gap:7px!important;
}

/* Acciones de comunicación: botones circulares y compartir tipo píldora. */
body.v67-fullscreen #stage.full #fullscreenMediaControls :is(#fsMic,#fsCam,#fsSettings),
body.v67-fullscreen #stage.full #v67MiniBar :is(#v67ChatBtn,#notificationBtn,#v102PeopleBtn,#v102BrowserFullscreen),
body.v67-fullscreen #stage.full #nexusSocialFull button{
  box-sizing:border-box!important;
  border-radius:999px!important;
  background:#292e30!important;
  border:1px solid #353c3e!important;
  color:#e7ebeb!important;
  box-shadow:none!important;
}
body.v67-fullscreen #stage.full #fullscreenMediaControls #fsScreen.v76-share-button{
  width:auto!important;min-width:109px!important;max-width:none!important;
  padding:0 13px!important;gap:7px!important;
  border-radius:999px!important;
  background:#292e30!important;
  border:1px solid #353c3e!important;
  color:#e7ebeb!important;
}
body.v67-fullscreen #stage.full #fullscreenMediaControls #fsScreen.v76-share-button.active{
  background:#334333!important;border-color:#7ea464!important;color:#aee18c!important;
}
body.v67-fullscreen #stage.full #fullscreenMediaControls #fsMic.active{
  background:#a3ce78!important;
  border-color:#b4dc91!important;
  color:#172719!important;
}
body.v67-fullscreen #stage.full #fullscreenMediaControls #fsMic:not(.active){
  background:#292e30!important;color:#cfd5d5!important;
}
body.v67-fullscreen #stage.full #fullscreenMediaControls #fsCam:not(.active){
  color:#e66e6b!important;background:#322729!important;border-color:#854140!important;
}
body.v67-fullscreen #stage.full #fullscreenMediaControls #fsCam.active{
  background:#a3ce78!important;color:#172719!important;border-color:#b4dc91!important;
}
body.v67-fullscreen #stage.full #v67MiniBar :is(#fsSettings,#v67ChatBtn,#notificationBtn,#v102PeopleBtn,#v102BrowserFullscreen):not(:disabled):hover,
body.v67-fullscreen #stage.full #nexusSocialFull button:not(:disabled):hover{
  background:#39423d!important;border-color:#718a6b!important;
}

/* Selector de vistas: una cápsula oscura con opciones redondeadas. */
body.v67-fullscreen #stage.full #v75ViewTabs{
  border-radius:999px!important;background:#292e30!important;
  border:1px solid #343a3c!important;
  padding:3px 4px!important;
  gap:2px!important;
}
body.v67-fullscreen #stage.full #v75ViewTabs button{
  border-radius:999px!important;
  background:transparent!important;border:1px solid transparent!important;
  color:#aab3b2!important;
}
body.v67-fullscreen #stage.full #v75ViewTabs button:hover{
  background:#39413d!important;color:#f3f7f2!important;
}
body.v67-fullscreen #stage.full #v75ViewTabs button:is(.active,[aria-pressed="true"]){
  background:#374735!important;border:1px solid #607d4c!important;
  color:#9bd477!important;
}

/* X roja: última acción a la derecha. Ejecuta la MISMA función de Vista de mapa. */
body.v67-fullscreen #stage.full #v67MiniBar .v67-mini-right > #v105FullscreenMapClose{
  display:inline-flex!important;
  position:relative!important;order:99;
  align-items:center!important;justify-content:center!important;
  flex:0 0 38px!important;
  width:38px!important;min-width:38px!important;max-width:38px!important;
  height:38px!important;min-height:38px!important;max-height:38px!important;
  margin:0 0 0 6px!important;padding:0!important;
  border-radius:999px!important;
  border:1px solid #f58a84!important;
  background:#ec6962!important;color:#fff!important;
  box-shadow:none!important;cursor:pointer!important;
  transition:background .13s ease,transform .13s ease!important;
  z-index:113!important;touch-action:manipulation;
}
body.v67-fullscreen #stage.full #v67MiniBar .v67-mini-right > #v105FullscreenMapClose:hover{
  background:#d7524e!important;border-color:#ffb8b3!important;
}
body.v67-fullscreen #stage.full #v67MiniBar .v67-mini-right > #v105FullscreenMapClose:focus-visible{
  outline:2px solid #fff!important;outline-offset:3px!important;
}
body.v67-fullscreen #stage.full #v67MiniBar #v105FullscreenMapClose svg{
  width:19px!important;height:19px!important;display:block!important;
  stroke:currentColor!important;stroke-width:2.5!important;
  fill:none!important;pointer-events:none!important;
}
/* El acceso de salir del maximizado permanece visible al reducir el ancho. */
@media(max-width:900px){
  body.v67-fullscreen #stage.full #v75ViewTabs{
    border-radius:999px!important;
    min-width:0!important;flex:1 1 auto!important;
  }
  body.v67-fullscreen #stage.full #v67MiniBar .v67-mini-right > #v105FullscreenMapClose{
    flex:0 0 34px!important;width:34px!important;min-width:34px!important;max-width:34px!important;
    height:34px!important;min-height:34px!important;max-height:34px!important;
    margin-left:2px!important;
  }
}
@media(max-width:620px){
  body.v67-fullscreen #stage.full #fullscreenMediaControls #fsScreen.v76-share-button{
    min-width:29px!important;max-width:29px!important;padding:0!important;
  }
  body.v67-fullscreen #stage.full #v67MiniBar{gap:3px!important}
}
@media(prefers-reduced-motion:reduce){
  body.v67-fullscreen #stage.full #v105FullscreenMapClose{transition:none!important}
}
