/* =====================================================================
   INFINITHO 360 · Visor del recorrido (móvil primero) + marcadores
   ===================================================================== */

/* ---------- Marcadores (también en el editor) ---------- */
.vx-hs-wrap { display: flex; flex-direction: column; align-items: center; gap: 8px; cursor: pointer; transition: opacity .35s ease; }
.vx-hs {
  position: relative; width: 62px; height: 62px; padding: 0; border: 0; background: none; cursor: pointer;
  display: grid; place-items: center; -webkit-tap-highlight-color: transparent;
}
.vx-hs__btn {
  position: relative; z-index: 1;
  width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center;
  color: var(--gold-300);
  background: radial-gradient(circle at 50% 35%, rgba(24, 46, 94, 0.92), rgba(5, 12, 29, 0.88));
  border: 1.5px solid var(--gold-500);
  box-shadow: 0 0 0 4px rgba(201, 165, 90, 0.14), 0 10px 26px -6px rgba(0, 0, 0, 0.7);
  transition: transform .25s ease, background .25s ease, color .25s;
}
.vx-hs__btn svg { margin-top: -3px; }
.vx-hs__ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 1.5px solid rgba(225, 194, 124, 0.7);
  animation: vx-pulse 2.4s ease-out infinite;
}
@keyframes vx-pulse { 0% { transform: scale(.82); opacity: .9; } 100% { transform: scale(1.45); opacity: 0; } }
.vx-hs-wrap:hover .vx-hs__btn, .vx-hs:focus-visible .vx-hs__btn { transform: translateY(-3px) scale(1.06); background: var(--gold-grad); color: #1b1404; }
.vx-hs__label {
  max-width: 180px; padding: 5px 12px; border-radius: 999px;
  font: 600 12.5px/1.2 var(--font-ui); letter-spacing: 0.02em; color: var(--ivory);
  background: var(--glass-strong); border: 1px solid var(--line);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  box-shadow: 0 6px 18px -8px rgba(0, 0, 0, .8);
}
.vx-faded .vx-hs__ring { animation: none; }

.vx-poly { cursor: pointer; transition: opacity .35s ease, fill-opacity .2s; }
.psv-marker--poly.vx-poly:hover { filter: brightness(1.25) drop-shadow(0 0 8px rgba(225, 194, 124, .5)); }

.psv-tooltip { background: var(--glass-strong) !important; border: 1px solid var(--line); border-radius: 10px !important; font: 600 13px var(--font-ui) !important; color: var(--ivory) !important; }
.psv-tooltip-arrow { display: none !important; }
.psv-loader { color: var(--gold-500) !important; }
.psv-loader-container { background: transparent; }

/* ---------- Página del visor ---------- */
.vx-body { overflow: hidden; overscroll-behavior: none; background: #000; }
.vx {
  position: fixed; inset: 0; overflow: hidden;
  height: 100vh; height: 100dvh;
  background: #000; color: var(--text);
  --pad: max(14px, env(safe-area-inset-left));
}
.vx-viewer { position: absolute; inset: 0; z-index: 0; }   /* los marcadores quedan bajo la interfaz */
.vx-viewer .psv-container { background: #000; }

/* Velo de carga inicial */
.vx-veil {
  position: absolute; inset: 0; z-index: 50; pointer-events: none;
  background: radial-gradient(ellipse at center, var(--navy-800), var(--navy-950) 70%);
  transition: opacity .9s ease .1s;
}
.vx-veil::after {
  content: ''; position: absolute; left: 50%; top: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px;
  border-radius: 50%; border: 2px solid rgba(201, 165, 90, .2); border-top-color: var(--gold-400);
  animation: vx-spin 1s linear infinite;
}
@keyframes vx-spin { to { transform: rotate(360deg); } }
.vx.is-ready .vx-veil { opacity: 0; }

/* Cabecera */
.vx-top {
  position: absolute; top: 0; left: 0; right: 0; z-index: 20;
  padding: max(14px, env(safe-area-inset-top)) var(--pad) 40px;
  display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
  background: linear-gradient(180deg, rgba(5, 12, 29, .82) 0%, rgba(5, 12, 29, .4) 60%, transparent);
  pointer-events: none; transition: opacity .35s, transform .35s;
}
.vx-top > * { pointer-events: auto; }

/* Izquierda: logo de la plataforma (enlace a la portada) */
.vx-home { flex: none; gap: 9px; padding: 2px 0; }
.vx-home .logo__mark { width: 34px; height: 34px; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .55)); }
.vx-home .logo__name { font-size: 17px; text-shadow: 0 2px 12px rgba(0, 0, 0, .6); }
.vx-home .logo__sub { font-size: 8.5px; text-shadow: 0 1px 6px rgba(0, 0, 0, .6); }

/* Derecha: empresa · álbum · imagen actual */
.vx-titles { min-width: 0; flex: 0 1 auto; display: flex; flex-direction: column; align-items: flex-end; text-align: right; }
.vx-titles > * { max-width: 100%; }
.vx-company { font: 600 10px/1.3 var(--font-ui); letter-spacing: .18em; text-transform: uppercase; color: var(--text-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vx-company-logo { max-height: 22px; width: auto; object-fit: contain; margin-bottom: 2px; }
.vx-album { display: block; margin-top: 3px; font: 600 10.5px/1.25 var(--font-ui); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-400); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vx-scene-title { font-size: 23px; color: var(--ivory); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 1px; text-shadow: 0 2px 14px rgba(0, 0, 0, .55); }
.vx-badge { margin-top: 6px; font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 999px; color: #1b1404; background: var(--gold-400); }
/* Botones de acción (columna derecha) */
.vx-actions {
  position: absolute; z-index: 21; right: var(--pad); top: calc(max(14px, env(safe-area-inset-top)) + 96px);
  display: flex; flex-direction: column; gap: 10px;
  transition: opacity .35s, transform .35s;
}
.vx-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  width: 46px; height: 46px; padding: 0; border-radius: 50%;
  background: var(--glass); color: var(--gold-300);
  border: 1px solid var(--line);
  backdrop-filter: blur(12px) saturate(1.2); -webkit-backdrop-filter: blur(12px) saturate(1.2);
  box-shadow: 0 8px 22px -10px rgba(0, 0, 0, .8);
  cursor: pointer; -webkit-tap-highlight-color: transparent;
  transition: background .2s, color .2s, border-color .2s, transform .1s;
}
.vx-btn span { display: none; }
.vx-btn:hover { border-color: rgba(201, 165, 90, .55); color: var(--ivory); }
.vx-btn:active { transform: scale(.94); }
.vx-btn.is-on { background: var(--gold-grad); color: #1b1404; border-color: transparent; }

/* Tarjeta inferior: escena actual + tira de escenas */
.vx-card {
  position: absolute; z-index: 20; left: 0; right: 0; bottom: 0;
  padding: 30px var(--pad) max(14px, env(safe-area-inset-bottom));
  background: linear-gradient(0deg, rgba(5, 12, 29, .9) 0%, rgba(5, 12, 29, .6) 65%, transparent);
  transition: opacity .35s, transform .35s;
}
.vx-card__head {
  width: 100%; display: flex; align-items: center; gap: 12px; text-align: left;
  padding: 10px 14px; border-radius: var(--radius);
  background: var(--glass); border: 1px solid var(--line);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  cursor: pointer;
}
.vx-card__eyebrow { flex: none; font: 700 11px var(--font-ui); letter-spacing: .12em; color: var(--gold-500); padding-right: 12px; border-right: 1px solid var(--line); }
.vx-card__title { flex: 1; min-width: 0; font: 600 19px/1.2 var(--font-display); color: var(--ivory); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vx-card__chev { flex: none; color: var(--gold-400); transition: transform .3s; display: none; }
.vx-card.has-desc .vx-card__chev { display: block; }
.vx-card:not(.is-open) .vx-card__chev { transform: rotate(180deg); }
.vx-card__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s ease; }
.vx-card.is-open.has-desc .vx-card__body { grid-template-rows: 1fr; }
.vx-card__desc {
  overflow: hidden; margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--text-soft);
  padding: 0 4px;
}
.vx-card.is-open .vx-card__desc { padding: 12px 4px 2px; max-height: 32vh; overflow-y: auto; }

.vx-strip {
  display: flex; gap: 10px; margin-top: 12px; padding: 2px 2px 4px;
  overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.vx-strip::-webkit-scrollbar { display: none; }
.vx-thumb {
  flex: none; width: 112px; padding: 0; border: 0; background: none; cursor: pointer; text-align: left;
  scroll-snap-align: center; -webkit-tap-highlight-color: transparent;
}
.vx-thumb img {
  width: 112px; height: 64px; object-fit: cover; border-radius: 10px;
  border: 1.5px solid rgba(233, 228, 216, .14); opacity: .78; transition: border-color .2s, opacity .2s;
}
.vx-thumb span { display: block; margin-top: 5px; font-size: 11.5px; font-weight: 600; color: var(--text-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vx-thumb.is-active img { border-color: var(--gold-400); opacity: 1; box-shadow: 0 0 0 3px rgba(201, 165, 90, .18); }
.vx-thumb.is-active span { color: var(--gold-300); }

/* Ayuda inicial */
.vx-hint {
  position: absolute; z-index: 22; left: 50%; top: 46%;
  transform: translate(-50%, -50%) scale(.96);
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  padding: 18px 22px; border-radius: var(--radius);
  background: var(--glass-strong); border: 1px solid var(--line);
  font-size: 13.5px; font-weight: 600; color: var(--ivory); text-align: center;
  opacity: 0; pointer-events: none; transition: opacity .4s, transform .4s;
}
.vx-hint.is-on { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.vx-hint__hand { width: 44px; height: 4px; border-radius: 2px; background: var(--gold-grad); position: relative; animation: vx-swipe 1.8s ease-in-out infinite; }
@keyframes vx-swipe { 0%, 100% { transform: translateX(-16px); } 50% { transform: translateX(16px); } }

/* Toast */
.vx-toast {
  position: absolute; z-index: 80; left: 50%; bottom: calc(150px + env(safe-area-inset-bottom));
  transform: translate(-50%, 12px); opacity: 0; pointer-events: none;
  padding: 10px 18px; border-radius: 999px; font-size: 13.5px; font-weight: 600;
  background: var(--ivory); color: var(--navy-900); box-shadow: var(--shadow);
  transition: opacity .25s, transform .25s; white-space: nowrap;
}
.vx-toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Hojas inferiores ---------- */
.vx-sheet {
  position: absolute; inset: 0; z-index: 60;
  background: rgba(3, 8, 20, .45);
  opacity: 0; pointer-events: none; transition: opacity .3s;
}
.vx-sheet.is-open { opacity: 1; pointer-events: auto; }
.vx-sheet__panel {
  position: absolute; left: 0; right: 0; bottom: 0;
  max-height: 78dvh; overflow-y: auto;
  padding: 14px 22px max(22px, env(safe-area-inset-bottom));
  background: linear-gradient(180deg, var(--navy-800), var(--navy-900));
  border-top: 1px solid rgba(201, 165, 90, .35);
  border-radius: 22px 22px 0 0;
  box-shadow: 0 -20px 60px -20px rgba(0, 0, 0, .8);
  transform: translateY(102%); transition: transform .38s cubic-bezier(.2, .8, .2, 1);
}
.vx-sheet.is-open .vx-sheet__panel { transform: translateY(0); }
.vx-sheet__grab { display: block; width: 42px; height: 4px; border-radius: 2px; margin: 0 auto 14px; background: rgba(233, 228, 216, .22); }
.vx-sheet__close {
  position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(255, 255, 255, .04); border: 1px solid var(--line-soft); cursor: pointer; color: var(--text-soft);
}
.vx-sheet__eyebrow { display: block; font: 700 11px var(--font-ui); letter-spacing: .24em; text-transform: uppercase; color: var(--gold-500); }
.vx-sheet__title { font-size: 28px; color: var(--ivory); margin: 6px 44px 14px 0; }
.vx-sheet__text { font-size: 15px; line-height: 1.7; color: var(--text-soft); }
.vx-sheet__note { font-size: 13px; color: var(--muted); margin: 12px 0 0; }

.vx-field { display: flex; gap: 8px; }
.vx-field input {
  flex: 1; min-width: 0; height: 48px; padding: 0 14px; border-radius: 12px;
  background: rgba(5, 12, 29, .6); border: 1px solid var(--line-soft); color: var(--text);
  font: 500 14px var(--font-ui);
}
.vx-copy {
  flex: none; display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 16px;
  border-radius: 12px; border: 0; cursor: pointer;
  background: var(--gold-grad); color: #1b1404; font-weight: 700; font-size: 14px;
}
.vx-copy.is-done { background: var(--ok); }
.vx-copy--wide { width: 100%; justify-content: center; margin-top: 10px; }
.vx-check { display: flex; align-items: center; gap: 10px; margin: 14px 2px 18px; font-size: 14px; color: var(--text-soft); cursor: pointer; }
.vx-check input { width: 18px; height: 18px; accent-color: var(--gold-500); }
.vx-share-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); gap: 10px; }
.vx-share-opt {
  display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px 8px;
  border-radius: 14px; border: 1px solid var(--line-soft); background: rgba(255, 255, 255, .03);
  color: var(--gold-300); font-size: 12.5px; font-weight: 600; cursor: pointer;
}
.vx-share-opt span { color: var(--text-soft); }
.vx-share-opt:hover { border-color: var(--line); color: var(--gold-300); }
.vx-seg { display: flex; padding: 4px; gap: 4px; border-radius: 12px; background: rgba(5, 12, 29, .6); border: 1px solid var(--line-soft); margin-bottom: 12px; }
.vx-seg button { flex: 1; height: 38px; border: 0; border-radius: 9px; background: none; color: var(--text-soft); font-size: 13px; font-weight: 600; cursor: pointer; }
.vx-seg button.is-on { background: var(--navy-700); color: var(--gold-300); box-shadow: inset 0 0 0 1px var(--line); }
.vx-code {
  width: 100%; resize: none; padding: 12px 14px; border-radius: 12px;
  background: rgba(5, 12, 29, .75); border: 1px solid var(--line-soft); color: var(--gold-300);
  font: 500 12.5px/1.55 ui-monospace, 'Cascadia Code', Consolas, monospace;
}

/* ---------- Modo inmersivo (pantalla completa + giroscopio) ---------- */
.vx-immersive-bar {
  position: absolute; z-index: 30; top: max(14px, env(safe-area-inset-top)); right: var(--pad);
  display: flex; gap: 10px; opacity: 0; pointer-events: none; transition: opacity .35s;
}
.vx.is-immersive .vx-immersive-bar { opacity: 1; pointer-events: auto; }
.vx.is-immersive .vx-top { opacity: 0; transform: translateY(-20px); pointer-events: none; }
.vx.is-immersive .vx-top > * { pointer-events: none; }
.vx.is-immersive .vx-actions { opacity: 0; transform: translateX(20px); pointer-events: none; }
.vx.is-immersive .vx-card { opacity: 0; transform: translateY(30px); pointer-events: none; }
.vx.has-sheet .vx-actions, .vx.has-sheet .vx-card { opacity: 0; pointer-events: none; }

/* ---------- Incrustado (iframe) ---------- */
.vx--embed .vx-top { padding-top: 12px; padding-bottom: 26px; }
.vx--embed .vx-scene-title { font-size: 19px; }
.vx--embed .vx-actions { top: 88px; }
.vx--embed .vx-home .logo__name { font-size: 15px; }
.vx--embed .vx-home .logo__mark { width: 30px; height: 30px; }
.vx--embed .vx-card { padding-top: 18px; }
.vx-powered {
  position: absolute; z-index: 21; right: 10px; bottom: 8px;
  font: 600 10px var(--font-ui); letter-spacing: .16em; text-transform: uppercase; color: rgba(233, 228, 216, .5);
}
.vx--embed .vx-powered { display: none; }
@media (min-height: 420px) { .vx--embed .vx-powered { display: block; } .vx--embed .vx-card { padding-bottom: 26px; } }
@media (max-height: 360px) { .vx--embed .vx-strip { display: none; } }

/* ---------- Pantallas amplias ---------- */
@media (min-width: 760px) {
  .vx { --pad: 26px; }
  .vx-scene-title { font-size: 30px; }
  .vx-album { font-size: 11.5px; }
  .vx-company { font-size: 11px; }
  .vx-company-logo { max-height: 30px; }
  .vx-home .logo__name { font-size: 21px; }
  .vx-home .logo__sub { font-size: 9.5px; }
  .vx-home .logo__mark { width: 40px; height: 40px; }
  .vx-titles { max-width: 60%; }
  .vx-actions { top: auto; bottom: 28px; flex-direction: row; right: 26px; }
  .vx-btn { width: auto; height: 44px; padding: 0 16px; border-radius: 999px; }
  .vx-btn span { display: inline; font-size: 13px; font-weight: 600; }
  .vx-btn--round { width: 46px; padding: 0; border-radius: 50%; }
  .vx-btn--round span { display: none; }
  .vx-card { right: auto; width: min(520px, 52vw); padding: 0 0 26px 26px; background: none; }
  .vx-card::before { content: ''; position: fixed; left: 0; right: 0; bottom: 0; height: 220px; z-index: -1; pointer-events: none; background: linear-gradient(0deg, rgba(5, 12, 29, .7), transparent); }
  .vx-sheet__panel { left: 50%; right: auto; bottom: 50%; width: 480px; border-radius: 22px; border: 1px solid rgba(201, 165, 90, .35); transform: translate(-50%, 60%); opacity: 0; transition: transform .35s cubic-bezier(.2, .8, .2, 1), opacity .3s; }
  .vx-sheet.is-open .vx-sheet__panel { transform: translate(-50%, 50%); opacity: 1; }
  .vx-sheet__grab { display: none; }
  .vx-toast { bottom: 100px; }
  .vx--embed .vx-actions { bottom: 18px; right: 16px; }
  .vx--embed .vx-btn span { display: none; }
  .vx--embed .vx-btn { width: 42px; height: 42px; padding: 0; border-radius: 50%; }
  .vx--embed .vx-card { padding: 0 0 18px 16px; }
}
@media (min-width: 1100px) {
  .vx-card { width: 560px; }
}

/* ---------- Dirección de la flecha del botón de enlace (^ > v <) ---------- */
.vx-dir-right .vx-hs__btn svg { margin: 0 0 0 3px; transform: rotate(90deg); }
.vx-dir-down  .vx-hs__btn svg { margin: 3px 0 0;   transform: rotate(180deg); }
.vx-dir-left  .vx-hs__btn svg { margin: 0 3px 0 0; transform: rotate(-90deg); }

/* ---------- Marca de agua (logo translúcido en el centro) ---------- */
.vx-watermark {
  position: absolute; inset: 0; z-index: 5; pointer-events: none;
  display: grid; place-items: center; padding: 0 12%;
  opacity: var(--wm-opacity, .25);
  transition: opacity .6s ease;
}
.vx:not(.is-ready) .vx-watermark { opacity: 0; }
.vx-watermark img {
  max-width: min(58vw, 420px); max-height: 32vh; width: auto; object-fit: contain;
  filter: drop-shadow(0 4px 24px rgba(0, 0, 0, .35));
}
.vx-watermark > span:not(.logo) {   /* nombre de la empresa */
  font: 600 clamp(30px, 7vw, 64px)/1.05 var(--font-display); letter-spacing: .04em; text-align: center;
  color: var(--ivory); text-shadow: 0 2px 30px rgba(0, 0, 0, .45);
}

/* Modo diagnóstico (?debug=1) */
.vx-debug {
  position: absolute; z-index: 90; left: 10px; right: 10px; top: 50%; transform: translateY(-50%); margin: 0;
  padding: 12px 14px; border-radius: 12px; background: rgba(0, 0, 0, .78); color: #9effc4;
  font: 600 12px/1.55 ui-monospace, Consolas, monospace; white-space: pre-wrap; pointer-events: none;
}
/* Marca de agua de la plataforma (planes sin marca propia) */
.vx-watermark .vx-watermark__brand { gap: clamp(14px, 3vw, 22px); }
.vx-watermark .vx-watermark__brand .logo__mark { width: clamp(64px, 16vw, 110px); height: clamp(64px, 16vw, 110px); }
.vx-watermark .vx-watermark__brand .logo__name { font-size: clamp(30px, 8vw, 56px); text-shadow: 0 2px 30px rgba(0, 0, 0, .45); }
.vx-watermark .vx-watermark__brand .logo__sub { font-size: clamp(12px, 2.6vw, 18px); margin-top: 8px; }

/* Mientras el visitante arrastra la vista: botones y polígonos ocultos (vuelven con fundido) */
.vx.is-moving .psv-marker { opacity: 0 !important; pointer-events: none !important; transition: opacity .12s ease !important; }
.vx.is-moving .psv-tooltip { opacity: 0 !important; }

/* =====================================================================
   Construcción: fases, spray, textos y elementos
   ===================================================================== */
/* Fases de la obra (barra de la tarjeta inferior) */
.vx-phases { display: flex; gap: 8px; margin-bottom: 10px; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.vx-phases::-webkit-scrollbar { display: none; }
.vx-phase {
  flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 999px; cursor: pointer;
  background: var(--glass); border: 1px solid var(--line); color: var(--text-soft);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); font: 600 12.5px/1.15 var(--font-ui); text-align: left;
}
.vx-phase b { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; color: var(--gold-300); border: 1px solid var(--line); }
.vx-phase small { display: block; font-size: 10.5px; font-weight: 500; color: var(--muted); }
.vx-phase.is-on { color: #1b1404; background: var(--gold-grad); border-color: transparent; }
.vx-phase.is-on b { color: #1b1404; border-color: rgba(27, 20, 4, .4); }
.vx-phase.is-on small { color: rgba(27, 20, 4, .7); }
.vx-phase-note { margin: -2px 0 10px; padding: 6px 12px; border-radius: 10px; font-size: 12px; font-weight: 600; color: var(--gold-300); background: rgba(5, 12, 29, .75); border: 1px dashed var(--line); }

/* Spray: el trazo se ilumina al pasar el puntero */
.vx-spray { cursor: pointer; transition: opacity .35s ease; }
.psv-marker--poly.vx-spray:hover { filter: brightness(1.2); }

/* Texto escrito sobre la pared */
.vx-txt-wrap { pointer-events: none; }
.vx-txt {
  display: inline-block; white-space: nowrap; line-height: 1.05; transform-origin: center;
  font-family: 'Permanent Marker', 'Comic Sans MS', cursive;
  text-shadow: 0 0 2px rgba(0, 0, 0, .35), 0 0 10px rgba(0, 0, 0, .25);
}

/* Elementos de obra (instalaciones) */
.vx-el-wrap { display: flex; flex-direction: column; align-items: center; gap: 6px; cursor: pointer; transition: opacity .35s ease; }
.vx-el {
  width: 42px; height: 42px; padding: 0; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  color: #0a1630; background: var(--el, #E7B85A); border: 2.5px solid #f5efe2;
  box-shadow: 0 0 0 4px rgba(0, 0, 0, .18), 0 8px 18px -6px rgba(0, 0, 0, .7);
  transition: transform .2s ease;
}
.vx-el-wrap:hover .vx-el { transform: scale(1.1); }
.vx-el__label {
  max-width: 170px; padding: 4px 10px; border-radius: 999px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  font: 600 11.5px/1.2 var(--font-ui); color: var(--ivory); background: var(--glass-strong); border: 1px solid var(--line);
}

/* ---------- Filas desplazables (tira de escenas, fases): flechas para ratón ---------- */
.vx-scroller { position: relative; }
.vx-scroller--phases { margin-bottom: 10px; }
.vx-scroller--phases .vx-phases { margin-bottom: 0; }
.vx-scroller__nav {
  position: absolute; z-index: 3; top: 50%; transform: translateY(-50%);
  width: 34px; height: 34px; padding: 0; border-radius: 50%; display: none; place-items: center; cursor: pointer;
  color: var(--gold-300); background: var(--glass-strong); border: 1px solid var(--line);
  box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .7); transition: opacity .2s, color .2s, border-color .2s;
}
.vx-scroller__nav:hover { color: var(--ivory); border-color: var(--gold-500); }
.vx-scroller__nav--prev { left: -6px; }
.vx-scroller__nav--next { right: -6px; }
.vx-scroller.is-scrollable .vx-scroller__nav { display: grid; }
.vx-scroller__nav.is-off { opacity: 0; pointer-events: none; }
.vx-scroller--strip .vx-scroller__nav { top: 46px; }      /* a la altura de las miniaturas */
.vx-strip.is-dragging, .vx-phases.is-dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.vx-strip.is-dragging .vx-thumb, .vx-phases.is-dragging .vx-phase { pointer-events: none; }
@media (hover: none) { .vx-scroller__nav { display: none !important; } }   /* en táctil se desliza con el dedo */
