/* Marca del proyecto para la web de la visita (Content/UI/web): ARBELA (2026-12-02).
   Como la interfaz del juego (brand/brand.css): oliva #2A3016, crema #EADECC, el crema del fundido #F7EFEF, taupe #A79E91 y
   Manrope. Nada negro: el fondo mientras llega el video, el fundido de los cambios de nivel (el de ImasD en Unreal tambien es
   #F7EFEF), la carga y los avisos son crema con el texto oliva; el indicador, el simbolo de ARBELA y barras / bolitas oliva
   sobre taupe. La portada: el simbolo, el rotulo ARBELA en oliva, el lema y el boton de entrar oliva.
   Todo lo que usa esta hoja esta en esta carpeta (marca/): al exportar se copia tal cual junto a index.html. */
@font-face { font-family: Manrope; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/Manrope-Medium.ttf") format("truetype"); }
@font-face { font-family: Manrope; font-weight: 500; font-style: normal; font-display: swap; src: url("fonts/Manrope-Medium.ttf") format("truetype"); }
@font-face { font-family: Manrope; font-weight: 600; font-style: normal; font-display: swap; src: url("fonts/Manrope-SemiBold.ttf") format("truetype"); }
@font-face { font-family: Manrope; font-weight: 700; font-style: normal; font-display: swap; src: url("fonts/Manrope-Bold.ttf") format("truetype"); }
@font-face { font-family: Manrope; font-weight: 800; font-style: normal; font-display: swap; src: url("fonts/Manrope-Bold.ttf") format("truetype"); }
:root { --oliva: #2A3016; --oliva-hi: #565F38; --crema: #EADECC; --fundido: #F7EFEF; --taupe: #A79E91; --pista: rgba(167,158,145,.38); --tinta: #2A3016; --tinta-2: rgba(42,48,22,.72); }

html, body { background: var(--fundido); color: var(--tinta); font-family: Manrope, system-ui, -apple-system, "Segoe UI", sans-serif; }
#escena { background: var(--fundido); }

/* ---- fundido de los cambios de nivel: crema (tambien con el tema claro) y las bolitas oliva / taupe / oliva con el simbolo ---- */
#fundido, #fundido.claro { background: var(--fundido); flex-direction: column; gap: 18px; }
#fundido::before { content: ""; width: 46px; height: 42px; background: url("simbolo.png") center / contain no-repeat; opacity: 0; transition: opacity .25s ease; animation: marcaRespira 2.6s ease-in-out infinite; }
#fundido.cargando::before { opacity: .95; }
.fundido-bolas i, .fundido-bolas i:nth-child(3) { background: var(--oliva); }
.fundido-bolas i:nth-child(2) { background: var(--taupe); }
@keyframes marcaRespira { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.06); } }

/* ---- carga (conexion, cola, arranque, primer fotograma): crema, simbolo, titulo, las cuatro fases en oliva sobre taupe ---- */
#carga { background: var(--fundido); color: var(--tinta); }
#carga::after { background: rgba(247,239,239,.72); }                  /* (si hay fotos de fondo, lavadas en crema) */
#carga-fondo > * { filter: saturate(.85); }
.carga-centro { gap: 14px; }
.carga-centro::before { content: ""; width: 54px; height: 49px; background: url("simbolo.png") center / contain no-repeat; animation: marcaRespira 2.6s ease-in-out infinite; }
#carga-logo { display: none; }
.carga-guiones { display: none; }
#carga-titulo { font-weight: 600; font-size: 12px; letter-spacing: .32em; color: var(--tinta); }
.carga-fases { gap: 6px; width: min(320px, 64vw); }
.carga-fases i { height: 3px; background: var(--pista); }
.carga-fases s { background: var(--oliva); }
#carga-texto { font-weight: 500; font-size: 13px; letter-spacing: .04em; color: var(--tinta); opacity: .85; }
#carga-tiempo { color: var(--tinta-2); opacity: .8; }

/* ---- portada (Arcware: hasta pulsar no se conecta): crema con el simbolo, el rotulo ARBELA en oliva, el lema y el boton ---- */
#portada { gap: 22px; color: var(--tinta); background: radial-gradient(120% 100% at 50% 42%, #FBF7F1 0%, #F4ECE1 55%, #EADECC 100%); }
#portada::before { content: ""; position: relative; width: 58px; height: 53px; background: url("simbolo.png") center / contain no-repeat; pointer-events: none; }
#portada-fotos > div { opacity: .16; filter: saturate(.7); }
#portada-boton { gap: 22px; }
#portada-titulo { order: -1; width: min(420px, 62vw); aspect-ratio: 900 / 209; font-size: 0; color: transparent; background: url("arbela.png") center / contain no-repeat; }
#portada-lema { order: -1; position: relative; margin: -8px 0 6px; font-weight: 600; font-size: 12px; letter-spacing: .38em; text-transform: uppercase; color: var(--tinta-2); pointer-events: none; }
.portada-play { width: 68px; height: 68px; background: var(--oliva); color: var(--crema); box-shadow: 0 10px 26px rgba(42,48,22,.25); transition: transform .25s ease, background .2s ease; }
.portada-play svg { width: 26px; height: 26px; }
#portada:hover .portada-play { background: var(--oliva-hi); }
#portada-boton:focus-visible .portada-play { outline-color: var(--oliva); }
.portada-nota { font-weight: 500; font-size: 12px; letter-spacing: .04em; color: var(--tinta-2); opacity: 1; }

/* ---- avisos: reconectar e inactividad, en crema con el boton oliva ---- */
#aviso { background: rgba(247,239,239,.97); color: var(--tinta); }
#aviso p { font-weight: 500; }
#inactivo { background: rgba(42,48,22,.22); }
.inactivo-caja { background: rgba(247,239,239,.98); color: var(--tinta); box-shadow: 0 20px 60px rgba(20,22,10,.25); }
.inactivo-caja b { font-weight: 600; }
#aviso button, #inactivo button { background: var(--oliva); color: var(--crema); font-weight: 600; }
#aviso button:hover, #inactivo button:hover { background: var(--oliva-hi); }
/* video (Documentos > Video promocional): velo oscuro de la marca para verlo, sin tapar la barra de abajo de la pagina; el
   video centrado con radio; el titulo en Manrope arriba a la izquierda y el cerrar como el del visor de la galeria (redondo
   crema con la X en oliva). Esc, clic fuera o el cerrar lo paran (web.js). */
#video { inset: 0 0 clamp(36px, min(3.111vw, 5.53vh), 73px) 0; padding: 88px 72px 28px; background: rgba(44,40,41,.94); color: var(--crema); }
#video video { max-width: 100%; max-height: 100%; border-radius: 18px; box-shadow: 0 24px 60px rgba(0,0,0,.35); }
#video-titulo { position: absolute; top: 34px; left: 48px; margin: 0; font-weight: 600; font-size: 19px; letter-spacing: .01em; color: var(--crema); opacity: 1; }
#video-cerrar { top: 24px; right: 30px; width: 46px; height: 46px; display: flex; align-items: center; justify-content: center; padding: 0; border-radius: 50%; font-size: 0; line-height: 0;
  background: rgba(247,239,239,.95); color: var(--oliva); box-shadow: 0 6px 18px rgba(0,0,0,.25); }
#video-cerrar::before { content: ""; width: 18px; height: 18px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath d='M205.66 194.34a8 8 0 0 1-11.32 11.32L128 139.31l-66.34 66.35a8 8 0 0 1-11.32-11.32L116.69 128 50.34 61.66a8 8 0 0 1 11.32-11.32L128 116.69l66.34-66.35a8 8 0 0 1 11.32 11.32L139.31 128Z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath d='M205.66 194.34a8 8 0 0 1-11.32 11.32L128 139.31l-66.34 66.35a8 8 0 0 1-11.32-11.32L116.69 128 50.34 61.66a8 8 0 0 1 11.32-11.32L128 116.69l66.34-66.35a8 8 0 0 1 11.32 11.32L139.31 128Z'/%3E%3C/svg%3E") center / contain no-repeat; }
#video-cerrar:hover { background: var(--oliva); color: var(--crema); }
/* pantalla completa (modo bloque) */
#completa { background: rgba(234,222,204,.9); color: var(--oliva); }
/* modo bloque: cabecera y pie sobre el crema */
.bloque #lema { color: var(--tinta-2); opacity: 1; font-weight: 600; }
.bloque #escena { box-shadow: 0 30px 80px rgba(42,48,22,.22); }
.bloque #pie { color: var(--tinta-2); }
