/* V1.13.86 - Estilos aislados para la entrada del laboratorio privado. No toca Hall / Auditorio. */
#recoLab.reco-lab-screen{background:#050d24;min-height:85vh;padding:0;color:#fff}
#recoLab .reco-lab-topbar{min-height:82px;padding:14px clamp(16px,3.4vw,45px);display:flex;align-items:center;justify-content:space-between;gap:15px;background:linear-gradient(90deg,#102550,#091634);border-bottom:1px solid rgba(234,194,124,.5)}
#recoLab .reco-lab-topbar strong{display:block;color:#eacb8e;font-size:17px;letter-spacing:.05em;text-align:right}
#recoLab .reco-lab-topbar small{display:block;color:#bed0ee;font-size:12px;text-align:right;margin-top:5px}
#recoLab .reco-lab-return{border:1px solid #eac88a8c;border-radius:22px;background:rgba(8,26,59,.68);color:#f8ebd1;padding:11px 18px;font-size:13px;cursor:pointer}
#recoLab #recoLabFrame{border:0;display:block;width:100%;min-height:1300px;background:#08142c}
.expo-reco-founder-btn{background:linear-gradient(90deg,#15315b,#10264b)!important;color:#f5d397!important;border:1px solid #c6a96c!important;border-radius:22px!important;font-size:12px!important;white-space:nowrap;padding:10px 15px!important;cursor:pointer}
.expo-reco-founder-btn:hover{filter:brightness(1.25)}
@media(max-width:650px){#recoLab .reco-lab-topbar{align-items:flex-start}#recoLab .reco-lab-topbar strong{font-size:13px}#recoLab .reco-lab-topbar small{font-size:10px}#recoLab .reco-lab-return{padding:10px;font-size:11px}}

/* V1.13.87 · La consola global de Expo se superponía a la sala.
   Solo se oculta cuando el laboratorio privado está abierto. */
body.mpi-reco-active > header.topbar,
body.mpi-reco-active > #expoReturnDock,
body:has(#recoLab.active-screen) > header.topbar,
body:has(#recoLab.active-screen) > #expoReturnDock{display:none!important}
#recoLab.reco-lab-screen.active-screen{position:relative;isolation:isolate;min-height:100vh;}
#recoLab .reco-lab-topbar{position:relative;z-index:2;min-height:76px;}
#recoLab #recoLabFrame{position:relative;z-index:1;}

/* V1.13.88 · El laboratorio NO hereda la cabecera, la línea temporal
   ni el dock global de Expo. Solo se aplican con esta sala activa. */
html body.mpi-reco-active > .topbar,
html body.mpi-reco-active > #expoReturnDock,
html body:has(#recoLab.active-screen) > .topbar,
html body:has(#recoLab.active-screen) > #expoReturnDock{display:none!important;visibility:hidden!important;pointer-events:none!important}
#recoLab.reco-lab-screen.active-screen{padding:0!important;margin:0!important;min-height:100vh;}
#recoLab.reco-lab-screen .reco-lab-topbar{min-height:70px;}
#recoLab.reco-lab-screen #recoLabFrame{width:100%;max-width:100%;}

/* V1.13.89 · Retorno contextual al Atrio de Reconocimientos desde un stand.
   Los dos accesos se muestran SOLO para Mundos abiertos desde la votación.
   Ningún resultado o mención se revela en estas vistas. */
#stand #standBackRecoAtrio:not([hidden]){
  display:inline-flex!important;align-items:center;justify-content:center;gap:7px;
  border-radius:999px;padding:10px 17px!important;
  border:1px solid rgba(239,203,130,.88)!important;
  background:linear-gradient(120deg,rgba(29,50,103,.97),rgba(12,25,61,.98))!important;
  box-shadow:0 0 26px rgba(239,203,130,.18);font-weight:700;
  font-size:12px;letter-spacing:.01em;color:#f6dfa7!important;
}
#stand #standBackRecoAtrio:hover{filter:brightness(1.17)}
#stand #standRecoFloatingReturn:not([hidden]){
  position:fixed;z-index:6000;right:max(19px,env(safe-area-inset-right));
  bottom:max(22px,calc(14px + env(safe-area-inset-bottom)));min-height:49px;
  display:flex!important;align-items:center;justify-content:center;gap:10px;
  background:linear-gradient(110deg,#ffd995,#e2b66f);color:#0b1b3c!important;
  border:1px solid #fff0c6;border-radius:100px;padding:13px 20px;
  box-shadow:0 7px 35px #080f29bd,0 0 26px #ffdf9970;
  font:700 13px/1.25 Arial,sans-serif;letter-spacing:.01em;
}
#stand #standRecoFloatingReturn:hover{transform:translateY(-2px);filter:brightness(1.06)}
#stand #standBackRecoAtrio[hidden],#stand #standRecoFloatingReturn[hidden]{display:none!important}
@media(max-width:600px){
  #stand #standBackRecoAtrio:not([hidden]){padding:10px 12px!important;font-size:11px}
  #stand #standRecoFloatingReturn:not([hidden]){
    right:12px;left:12px;bottom:max(12px,calc(8px + env(safe-area-inset-bottom)));
    min-height:46px;font-size:12px;padding:12px 16px;
  }
}

#stand.reco-return-visible{padding-bottom:90px!important}
@media(max-width:600px){#stand.reco-return-visible{padding-bottom:100px!important}}

/* 1.13.90: Vista privada de Backstage dentro del laboratorio, sin solapamiento */
body:has(#recoBackstage.active-screen) > header.topbar,body:has(#recoBackstage.active-screen) > #expoReturnDock,body.mpi-reco-admin-active > header.topbar,body.mpi-reco-admin-active > #expoReturnDock{display:none!important}
#recoLab .reco-lab-topbar{flex-wrap:wrap}#recoLab .reco-lab-topbar button:last-child{white-space:nowrap}
