/* Landing v3 · «el juego habla solo» (spec clips_rudi 22/11): hero en video, frentes en loop y sistema de movimiento.
   Detras de tdp.web_flags.landing_v3. Solo transform/opacity en lo animado. */

/* ---- tokens de movimiento (spec §4) ---- */
.v3 { --t-micro: 120ms; --t-ui: 200ms; --t-panel: 450ms; --t-escena: 700ms;
  --ease-out: cubic-bezier(.2, .8, .2, 1); --ease-spring: cubic-bezier(.34, 1.56, .64, 1); }

/* ---- hero: montaje de 12 s en loop; cover + vineta; la elipse oscura detras del titulo ya la pone landing_v3.css (::after) ---- */
.v3-herovid { position: absolute; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; }
.v3-herovid video { width: 100%; height: 100%; object-fit: cover; display: block; opacity: 0; transition: opacity var(--t-escena) var(--ease-out); }
.v3-herovid video.on { opacity: 1; }
.v3-herovid::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 50%, rgba(10,10,12,0) 55%, rgba(10,10,12,.55) 100%); }   /* vineta */
/* portada: el titulo entra con un fundido y sube 8 px; el boton, 150 ms despues */
.js-rudi .v3-inicio h1, .js-rudi .v3-inicio .v3-lema, .js-rudi .v3-inicio .kit-bienv, .js-rudi .v3-inicio .v3-acciones { opacity: 0; transform: translateY(8px); }
.js-rudi .v3-inicio.ya h1, .js-rudi .v3-inicio.ya .v3-lema, .js-rudi .v3-inicio.ya .kit-bienv, .js-rudi .v3-inicio.ya .v3-acciones { opacity: 1; transform: none; transition: opacity var(--t-escena) var(--ease-out), transform var(--t-escena) var(--ease-out); }
.js-rudi .v3-inicio.ya .v3-lema { transition-delay: 80ms; }
.js-rudi .v3-inicio.ya .kit-bienv, .js-rudi .v3-inicio.ya .v3-acciones { transition-delay: 150ms; }

/* ---- frente de carta: poster (la imagen de la carta) y el loop mudo encima, que se enciende al reproducir ---- */
.vc-frente { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; filter: brightness(.9); transition: opacity var(--t-panel) var(--ease-out), filter var(--t-ui) var(--ease-out), transform .6s ease; pointer-events: none; }
.vc-frente.on { opacity: 1; }
.vc-carta:hover .vc-frente, .vc-carta:focus-visible .vc-frente, .vc-carta.act .vc-frente { filter: brightness(1); }
.vc-carta:hover .vc-frente, .vc-carta:focus-visible .vc-frente { transform: scale(1.06); }
/* el clip de 606x424 (chat) va a tamaño natural, centrado sobre su poster desenfocado */
.vc-contain .vc-img { filter: blur(16px) brightness(.55); transform: scale(1.2); }
.vc-contain .vc-frente { object-fit: contain; }

/* ---- entrada de seccion: fundido y 16 px hacia arriba, una sola vez, stagger de 60 ms entre cartas ---- */
.js-rudi .rv { opacity: 0; transform: translateY(16px); }
.js-rudi .rv.ya { opacity: 1; transform: none; transition: opacity var(--t-escena) var(--ease-out) calc(var(--i, 0) * 60ms), transform var(--t-escena) var(--ease-out) calc(var(--i, 0) * 60ms); }
/* las cartas ya tienen su propio transform/opacity de carrusel: solo se anima la entrada del carril */
.js-rudi .vc-carril.rv { transform: none; }

/* ---- inclinacion 3D de hasta 4 grados siguiendo el mouse (solo puntero fino, sin reduced-motion, sin equipo lento) ---- */
.js-rudi.rudi-tilt .vc-carta { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) scale(calc(.86 + var(--k) * .14)); transition: transform var(--t-ui) var(--ease-out), opacity .25s ease, box-shadow .3s, border-color .3s; }

/* ---- empuje de camara lento: zoom de 100 a 106 % a lo largo del loop, en CSS sobre el video (sin recodificar); se apaga en equipos lentos ---- */
@keyframes rudi-empuje { from { transform: scale(1); } to { transform: scale(1.06); } }
.v3-herovid video { animation: rudi-empuje 12s ease-in-out infinite alternate; }
.vc-frente.on { animation: rudi-empuje 6s ease-in-out infinite alternate; }
.rudi-lento .v3-herovid video, .rudi-lento .vc-frente.on { animation: none; }

/* ================= Panel de detalle: clip con capitulos, rotulo, sonido y modulos (spec §2.3-2.5, §4) ================= */
.vc-prin { place-items: stretch; }
.vc-prin > .vc-clipbox, .vc-prin > .vc-selbox, .vc-prin > .vc-mazo, .vc-prin > .vc-arbol { min-height: 0; }
.vc-clipbox { position: relative; display: flex; flex-direction: column; justify-content: center; align-items: center; width: 100%; height: 100%; padding-bottom: 46px; }
.vc-clipbox .vc-clip { max-width: 100%; max-height: calc(100% - 4px); width: auto; height: auto; transition: opacity 150ms linear; }
.vc-rotulo { position: absolute; left: .8rem; right: .8rem; bottom: 52px; z-index: 3; padding: .35rem .7rem; border-radius: 10px; width: fit-content; max-width: calc(100% - 1.6rem); background: rgba(10,10,12,.78); border: 1px solid var(--borde); color: var(--hueso, #efe6d5); font-size: .95rem; line-height: 1.3; }
.vc-rotulo:empty { display: none; }
.vc-barra { position: absolute; left: .8rem; right: .8rem; bottom: 14px; height: 6px; border-radius: 6px; background: rgba(240,200,119,.18); }
.vc-prog { position: absolute; inset: 0; border-radius: 6px; background: linear-gradient(90deg, var(--ac, #f0c877), #fff1c9); transform-origin: left; transform: scaleX(0); }
.vc-marca { position: absolute; top: -19px; width: 44px; height: 44px; margin-left: -22px; border: 0; background: none; cursor: pointer; padding: 0; }
.vc-marca::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: #14101c; border: 2px solid var(--ac, #f0c877); transition: transform var(--t-ui) var(--ease-spring), background var(--t-ui); }
.vc-marca.on::after, .vc-marca:hover::after { background: var(--ac, #f0c877); transform: scale(1.25); }
.vc-marca:focus-visible { outline: 2px solid var(--ac, #f0c877); outline-offset: -6px; border-radius: 50%; }
.vc-sonido { position: absolute; left: .8rem; top: .8rem; z-index: 4; min-height: 44px; padding: 0 .9rem; border-radius: 22px; border: 1px solid var(--borde); background: rgba(10,10,12,.8); color: var(--oro-claro, #f0c877); font: 600 .9rem Inter, system-ui, sans-serif; cursor: pointer; }
.vc-sonido:focus-visible { outline: 2px solid var(--ac, #f0c877); outline-offset: 2px; }

/* selector de controles / posturas: se maqueta como un control del juego (vidrio + filete) y cambia la captura con un barrido de 180 ms */
.vc-selbox { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .7rem; width: 100%; height: 100%; padding: .8rem; }
.vc-selclip { max-height: 38%; }
.vc-selimg { flex: 1; min-height: 0; display: grid; place-items: center; width: 100%; }
.vc-selimg img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; transition: opacity 90ms linear; }   /* tamaño natural o menor: nunca se estira */
.vc-selbtns { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem; padding: .3rem; border-radius: 14px; background: rgba(17,17,25,.82); border: 1px solid var(--borde); }
.vc-selbtn { min-height: 44px; min-width: 72px; padding: 0 1rem; border-radius: 10px; border: 1px solid transparent; background: none; color: var(--tenue, #b8ae9d); font: 600 .95rem Inter, system-ui, sans-serif; cursor: pointer; transition: color var(--t-ui), border-color var(--t-ui), background var(--t-ui); }
.vc-selbtn:hover { color: var(--hueso, #efe6d5); }
.vc-selbtn[aria-selected=true] { color: var(--ac, #f0c877); border-color: var(--ac, #f0c877); background: rgba(240,200,119,.08); }
.vc-selbtn:focus-visible { outline: 2px solid var(--ac, #f0c877); outline-offset: 2px; }

/* mazo de mascotas de la Elfa: naipes en abanico; el elegido sube 12 px y gira a 0 */
.vc-mazo { display: flex; flex-direction: column; width: 100%; height: 100%; }
.vc-mazo-escena { position: relative; flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; gap: .8rem; padding: .6rem; }
.vc-mazo-escena .vc-clip { max-width: 100%; max-height: 100%; width: auto; height: auto; }
.vc-mazo-escena.brillo::before { content: ""; position: absolute; inset: 12%; border-radius: 50%; background: radial-gradient(circle, rgba(240,200,119,.35), transparent 65%); animation: vc-brillo 900ms ease-out forwards; pointer-events: none; }
@keyframes vc-brillo { from { opacity: 1; transform: scale(.7); } to { opacity: 0; transform: scale(1.2); } }
.vc-tt-solo, .vc-tt-lado { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.vc-mazo-escena:has(.vc-tt-lado) .vc-clip { max-width: 62%; } .vc-tt-lado { max-width: 38%; }
.vc-mazo-nom { position: absolute; left: .8rem; top: .8rem; padding: .25rem .7rem; border-radius: 10px; background: rgba(10,10,12,.78); border: 1px solid var(--borde); color: var(--oro-claro, #f0c877); font: 700 .95rem var(--v3-tit, Cinzel, serif); }
.vc-abanico { display: flex; justify-content: center; align-items: flex-end; gap: 0; padding: .5rem .6rem 0; height: 120px; overflow: visible; }
.vc-naipe-b { flex: none; position: relative; width: 66px; height: 98px; margin-left: -10px; padding: 0; border-radius: 8px; border: 2px solid var(--borde); background: #14101c; cursor: pointer; overflow: hidden; transform: rotate(var(--g, 0deg)) translateY(8px); transform-origin: 50% 120%; transition: transform var(--t-ui) var(--ease-spring), border-color var(--t-ui); }
.vc-naipe-b img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.vc-naipe-b:hover, .vc-naipe-b:focus-visible, .vc-naipe-b[aria-selected=true] { transform: rotate(0) translateY(-12px); border-color: var(--ac, #f0c877); z-index: 2; }
.vc-naipe-b:focus-visible { outline: 2px solid var(--ac, #f0c877); outline-offset: 2px; }

/* arbol de maestria del Dark Lord: 2 ramas de 3 nodos (cada nodo, su captura a tamaño natural); las ramas se encienden en secuencia (120 ms) */
.vc-arbol { display: flex; flex-direction: column; justify-content: flex-start; gap: 1.2rem; width: 100%; height: 100%; padding: 1rem; overflow-y: auto; overflow-x: hidden; }
.vc-rama, .vc-nodo { flex: none; }
.vc-rama-n { margin-bottom: .5rem; color: var(--oro-claro, #f0c877); font: 700 .95rem var(--v3-tit, Cinzel, serif); letter-spacing: .04em; }
.vc-nodos { display: flex; align-items: center; flex-wrap: wrap; gap: .3rem; }
.vc-nodo { opacity: 0; transform: translateY(6px); animation: vc-nodo var(--t-panel) var(--ease-out) forwards; }
.vc-nodo img { display: block; max-width: 100%; height: auto; border: 1px solid var(--borde); border-radius: 6px; }
.vc-enlace { flex: none; width: 28px; height: 2px; background: linear-gradient(90deg, transparent, var(--ac, #f0c877)); transform-origin: left; animation: vc-linea var(--t-panel) var(--ease-out) both; animation-delay: inherit; }
@keyframes vc-nodo { to { opacity: 1; transform: none; } }
@keyframes vc-linea { from { transform: scaleX(0); } to { transform: scaleX(1); } }

@media (max-width: 900px) { .vc-abanico { height: 104px; } .vc-naipe-b { width: 54px; height: 80px; } .vc-clipbox { min-height: 42vh; } }
@media (prefers-reduced-motion: reduce) {
  .v3-herovid video, .vc-frente { display: none; }   /* sin autoplay: queda el poster */
  .js-rudi .rv, .js-rudi .v3-inicio h1, .js-rudi .v3-inicio .v3-lema, .js-rudi .v3-inicio .kit-bienv, .js-rudi .v3-inicio .v3-acciones { opacity: 1; transform: none; }
  .js-rudi .rv.ya, .js-rudi .v3-inicio.ya h1 { transition: opacity 150ms linear; }
  .v3-herovid video, .vc-frente.on { animation: none; }
  .vc-nodo { opacity: 1; transform: none; animation: none; } .vc-enlace { animation: none; }
}

/* titulo y lema legibles sobre los destellos del montaje */
.v3-inicio h1 { filter: drop-shadow(0 2px 14px rgba(0,0,0,.65)); }
.v3-inicio .v3-lema { text-shadow: 0 1px 12px rgba(0,0,0,.85), 0 0 2px rgba(0,0,0,.9); }

/* la galeria no debe ensanchar el panel por culpa de la tira de miniaturas (6 o mas) */
.vc-gal, .vc-texto, .vc-cuerpo > * { min-width: 0; }
.vc-minis { max-width: 100%; }

/* tiras de Funciones: 4 cuadros de 16:9 con su rotulo en HTML (no quemado en el video) */
.v3-tiras { list-style: none; margin: 0 0 2.2rem; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; max-width: none; }   /* arriba de la lista y a ancho completo */
.v3-tiras figure { margin: 0; border-radius: 14px; overflow: hidden; border: 1px solid var(--borde); background: #0a090c; }
.v3-tira { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #0a090c; }
.v3-tiras figcaption { padding: .5rem .7rem; font-size: .95rem; color: var(--oro-claro, #f0c877); }
@media (max-width: 900px) { .v3-tiras { grid-template-columns: 1fr 1fr; } }

/* subfrase del carrusel: en tactil (sin hover) no hay mouse que pasar */
.vc-sub-tactil { display: none; }
@media (hover: none), (pointer: coarse) { .vc-sub-mouse { display: none; } .vc-sub-tactil { display: inline; } }

/* ================= PARTE C (Rudi 22/11): ventana, X, maximizar, carrusel, selectores de iconos ================= */
/* 1) Cabecera de la ventana: el titulo a la izquierda y la X a la derecha, DENTRO del marco, en grilla de 8 px y centrada con el titulo, con el mismo filete dorado. */
.vc-cab { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 24px 24px 16px 32px; min-height: 96px; border-bottom: 1px solid var(--borde); }
.vc-cab-t { min-width: 0; }
.vc-x { position: static; flex: none; z-index: 8; width: 48px; height: 48px; padding: 0; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--ac); background: rgba(10,10,12,.6); color: var(--ac); font: 400 28px/1 Inter, system-ui, sans-serif; cursor: pointer; transition: background var(--t-ui), box-shadow var(--t-ui); }
.vc-x:hover { background: color-mix(in srgb, var(--ac) 18%, transparent); box-shadow: 0 0 16px color-mix(in srgb, var(--ac) 40%, transparent); }
.vc-x:focus-visible { outline: 2px solid var(--ac); outline-offset: 2px; }
@media (max-width: 900px) { .vc-x { position: fixed; top: 16px; right: 16px; z-index: 130; background: rgba(10,10,12,.88); } .vc-cab { padding-right: 80px; } }

/* 2) Maximizar: el clip grande en un overlay del 95 %, sin texto ni paneles. */
.vc-maxbtn { position: absolute; right: 16px; top: 16px; z-index: 4; min-height: 44px; padding: 0 16px; border-radius: 22px; border: 1px solid var(--borde); background: rgba(10,10,12,.8); color: var(--oro-claro, #f0c877); font: 600 .9rem Inter, system-ui, sans-serif; cursor: pointer; }
.vc-maxbtn:hover { border-color: var(--ac); }
.vc-maxbtn:focus-visible { outline: 2px solid var(--ac, #f0c877); outline-offset: 2px; }
.vc-panel.max { width: 95vw; height: 95vh; margin: -47.5vh 0 0 -47.5vw; }
.vc-panel.max .vc-cuerpo { grid-template-columns: 1fr; }
.vc-panel.max .vc-texto, .vc-panel.max .vc-minis, .vc-panel.max .vc-epi { display: none; }
.vc-panel.max .vc-gal { border-right: 0; }
.vc-panel.max .vc-clipbox .vc-clip { max-height: calc(100% - 8px); }
@media (max-width: 900px) { .vc-panel.max { width: 100vw; height: 100vh; margin: 0; } }

/* sonido a la izquierda (el maximizar va a la derecha) */
.vc-sonido { left: 16px; top: 16px; }

/* 3) Selector de la galeria: botones de TEXTO, no miniaturas */
.vc-minis { flex-wrap: wrap; gap: 8px; padding: 12px 16px; }
.vc-mini { width: auto; height: auto; min-height: 44px; padding: 0 16px; border-radius: 22px; border: 1px solid var(--borde); background: rgba(17,17,25,.7); color: var(--tenue, #b8ae9d); font: 600 .95rem Inter, system-ui, sans-serif; opacity: 1; transition: color var(--t-ui), border-color var(--t-ui), background var(--t-ui); }
.vc-mini:hover { color: var(--hueso, #efe6d5); }
.vc-mini[aria-selected=true] { color: var(--ac); border-color: var(--ac); background: color-mix(in srgb, var(--ac) 10%, transparent); }
.vc-mini:focus-visible { outline: 2px solid var(--ac); outline-offset: 2px; }

/* 4) Carrusel: flechas grandes y mas adentro; fondo = el frente de la carta activa, desenfocado y oscuro, con fundido */
.vc-flecha { width: 64px; height: 64px; font-size: 2rem; line-height: 1; border: 1px solid var(--oro-claro, #f0c877); background: rgba(10,10,12,.82); transition: background var(--t-ui), box-shadow var(--t-ui); display: grid; place-items: center; padding: 0 0 4px; }
.vc-flecha:hover { background: rgba(240,200,119,.16); box-shadow: 0 0 24px rgba(240,200,119,.3); }
.vc-flecha:focus-visible { outline: 2px solid var(--oro-claro, #f0c877); outline-offset: 3px; }
.vc-flecha.p { left: clamp(16px, calc(50% - clamp(150px, 13vw, 230px) - 112px), 50%); } .vc-flecha.s { right: clamp(16px, calc(50% - clamp(150px, 13vw, 230px) - 112px), 50%); }
.vc-bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; background: #0a0a0c; }
.vc-bg i { position: absolute; inset: -40px; background: center / cover no-repeat; filter: blur(28px) brightness(.34) saturate(1.1); opacity: 0; transition: opacity 700ms var(--ease-out); }
.vc-bg i.on { opacity: 1; }
.vc-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, #0a0a0c 0, rgba(10,10,12,0) 22%, rgba(10,10,12,0) 78%, #0a0a0c 100%); }
@media (max-width: 900px) { .vc-flecha { display: none; } }

/* 5) Selector de ICONOS reales (skills, maestrias, invocaciones) con el modelo/tooltip en escena */
.vc-sk { display: flex; flex-direction: column; align-items: center; gap: 12px; width: 100%; height: 100%; padding: 16px; min-height: 0; }
.vc-sk-clip { max-height: 30%; flex: none; }
.vc-sk-escena { position: relative; flex: 1; min-height: 0; width: 100%; display: grid; place-items: center; }
.vc-modelo { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.vc-sk-tt { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }   /* tamaño natural o menor: nunca se estira */
.vc-sk-grande { width: 120px; height: auto; } .vc-sk-grande.pix { width: 180px; }
.pix { image-rendering: pixelated; }
.vc-sk-ver { position: absolute; right: 8px; bottom: 8px; min-height: 44px; padding: 0 16px; border-radius: 22px; border: 1px solid var(--borde); background: rgba(10,10,12,.82); color: var(--oro-claro, #f0c877); font: 600 .9rem Inter, system-ui, sans-serif; cursor: pointer; }
.vc-sk-ver:hover { border-color: var(--ac); }
.vc-sk-nom { flex: none; color: var(--oro-claro, #f0c877); font: 700 1rem var(--v3-tit, Cinzel, serif); text-align: center; }
.vc-sk-botones { flex: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.vc-sk-botones:empty { display: none; }
.vc-postura { min-height: 44px; min-width: 96px; padding: 0 16px; border-radius: 10px; border: 1px solid var(--pc); background: rgba(10,10,12,.7); color: var(--pc); font: 700 .95rem Inter, system-ui, sans-serif; cursor: pointer; transition: background var(--t-ui), box-shadow var(--t-ui); }
.vc-postura:hover, .vc-postura[aria-pressed=true] { background: color-mix(in srgb, var(--pc) 20%, transparent); box-shadow: 0 0 14px color-mix(in srgb, var(--pc) 45%, transparent); }
.vc-postura:focus-visible { outline: 2px solid var(--pc); outline-offset: 2px; }
.vc-sk-barra { flex: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding: 8px; border-radius: 14px; background: rgba(17,17,25,.82); border: 1px solid var(--borde); max-width: 100%; }
.vc-sk-ico { width: 76px; min-height: 76px; height: auto; padding: 4px; display: grid; place-items: center; border-radius: 10px; border: 2px solid transparent; background: rgba(0,0,0,.35); cursor: pointer; transition: border-color var(--t-ui), transform var(--t-ui) var(--ease-spring); }
.vc-sk-ico img { display: block; width: auto; height: auto; max-width: 68px; max-height: 96px; }
.vc-sk-ico img.pix { width: 68px; height: auto; }   /* Parte G: los de 20x28 (x3 = 60x84) a ~68 px, nitidos (pixelated) */
.vc-sk-ico:hover { transform: translateY(-3px); }
.vc-sk-ico[aria-selected=true] { border-color: var(--ac); background: color-mix(in srgb, var(--ac) 12%, rgba(0,0,0,.35)); }
.vc-sk-ico:focus-visible, .vc-sk-chip:focus-visible { outline: 2px solid var(--ac); outline-offset: 2px; }
.vc-sk-chip { min-height: 44px; padding: 0 16px; border-radius: 10px; border: 1px solid var(--borde); background: rgba(0,0,0,.35); color: var(--tenue, #b8ae9d); font: 600 .9rem Inter, system-ui, sans-serif; cursor: pointer; }
.vc-sk-chip[aria-selected=true] { color: var(--ac); border-color: var(--ac); }

/* emojis del chat */
.vc-emojis { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; width: 100%; height: 100%; padding: 16px; align-content: center; overflow-y: auto; }
.vc-emoji { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 8px 4px; border-radius: 10px; background: rgba(17,17,25,.6); border: 1px solid var(--borde); }
.vc-emoji img { width: 48px; height: 48px; image-rendering: auto; }
.vc-emoji span { font-size: .8rem; color: var(--tenue, #b8ae9d); }
@media (max-width: 900px) { .vc-emojis { grid-template-columns: repeat(4, 1fr); } .vc-sk-clip { max-height: 24%; } }

/* cartel del kit de bienvenida en la landing v3: lo excellent va en VERDE excellent, como en el juego (#8cf28c) */
.v3 .kit-exc { --kit-halo: rgba(140, 242, 140, .5); }
.v3 .kit-exc .kit-txt b { color: #8cf28c; }
.v3 .kit-kundun .kit-ico img { object-fit: contain; }

/* la escena de los selectores de iconos no se desborda sobre los botones ni el nombre */
.vc-sk-escena { display: grid; grid-template-rows: minmax(0, 1fr); overflow: hidden; }
.vc-sk-escena > img, .vc-sk-escena > video { min-height: 0; }
.vc-sk-grande.pix { width: 120px; } .vc-sk-grande { width: 96px; }

/* Parte D: icono a x3 como MAXIMO, al lado del nombre, y debajo el tooltip o la captura real (Dark Lord y Rage Fighter) */
.vc-sk-escena.con-cab { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 12px; padding-top: 4px; }
.vc-sk-cab { flex: none; display: flex; align-items: center; gap: 16px; }
.vc-sk-x3 { width: 60px; height: 84px; flex: none; }
.vc-sk-cab b { color: var(--oro-claro, #f0c877); font: 700 1.15rem var(--v3-tit, Cinzel, serif); }
.vc-sk-escena.con-cab .vc-sk-tt { flex: 0 1 auto; min-height: 0; max-width: 100%; max-height: calc(100% - 96px); }

/* Parte E: icono nativo (80x112) y clip corto de la skill debajo de la cabecera */
.vc-sk-nat { width: auto; height: auto; max-height: 112px; flex: none; }
.vc-sk-escena.con-cab .vc-sk-claro { flex: 0 1 auto; min-height: 0; max-width: 100%; max-height: calc(100% - 96px); width: auto; height: auto; }

/* celular: la X de cerrar (fija arriba a la derecha) no pisa a «Maximizar»: queda solo con el ícono, a su izquierda; el texto se lee por aria-label */
@media (max-width: 900px) { .vc-maxbtn { right: 76px; width: 48px; padding: 0; display: grid; place-items: center; } .vc-maxbtn .vc-mx-t { display: none; } }

/* «Todos los mapas» (carta 14): vista grande arriba + iconos por bioma; el tooltip lleva nombre y bioma (hover y teclado) */
.vc-mapas { width: 100%; height: 100%; display: flex; flex-direction: column; gap: 12px; padding: 14px 16px; box-sizing: border-box; min-height: 0; }
.vc-mapa-vista { flex: none; display: flex; align-items: center; gap: 16px; }
.vc-mapa-grande { width: clamp(100px, 19vh, 150px); height: clamp(100px, 19vh, 150px); object-fit: cover; border-radius: 12px; border: 1px solid var(--ac, #6fd0a8); background: #0b0a0e; }
.vc-mapa-datos { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.vc-mapa-nom { font: 700 1.3rem var(--v3-tit, Cinzel, serif); color: var(--hueso, #efe6d5); line-height: 1.15; }
.vc-mapa-bio { color: var(--ac, #6fd0a8); font-size: .92rem; letter-spacing: .04em; text-transform: uppercase; }
.vc-mapa-lista { flex: 1; min-height: 0; overflow-y: auto; display: grid; grid-template-columns: 1fr 1fr; align-content: start; gap: 10px 14px; padding-right: 4px; scrollbar-width: thin; }
.vc-mapa-grupo { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-width: 0; }
.vc-mapa-bioma { flex: none; font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; color: var(--tenue, #b8ae9d); }
.vc-mapa-iconos { display: flex; flex-wrap: wrap; gap: 8px; }
.vc-mapa-ico { position: relative; width: 44px; height: 44px; padding: 0; border-radius: 10px; border: 2px solid transparent; background: #0b0a0e; cursor: pointer; overflow: visible; }
.vc-mapa-ico img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; display: block; opacity: .85; transition: opacity var(--t-ui, .2s), transform var(--t-ui, .2s); }
.vc-mapa-ico:hover img, .vc-mapa-ico:focus-visible img { opacity: 1; transform: scale(1.06); }
.vc-mapa-ico[aria-pressed=true] { border-color: var(--ac, #6fd0a8); }
.vc-mapa-ico[aria-pressed=true] img { opacity: 1; }
.vc-mapa-ico:focus-visible { outline: 2px solid var(--ac, #6fd0a8); outline-offset: 2px; }
.vc-mapa-ico::after { content: attr(data-tip); position: absolute; left: 50%; bottom: calc(100% + 6px); transform: translateX(-50%); padding: 4px 9px; border-radius: 8px; white-space: nowrap; font: 600 .78rem Inter, system-ui, sans-serif; color: var(--hueso, #efe6d5); background: rgba(10,10,12,.95); border: 1px solid var(--borde); opacity: 0; pointer-events: none; z-index: 5; transition: opacity var(--t-micro, .12s); }
.vc-mapa-ico:hover::after, .vc-mapa-ico:focus-visible::after { opacity: 1; }
@media (max-width: 900px) { .vc-mapa-vista { flex-direction: row; } .vc-mapa-lista { grid-template-columns: 1fr; } }
.vc-minis[hidden] { display: none; }
@media (prefers-reduced-motion: reduce) { .vc-mapa-ico img { transition: none; } .vc-mapa-ico:hover img { transform: none; } }

/* «¡Jugar con 3 clientes nunca fue tan fácil!» (parte F, ítem 6): una escena animada (3 ventanas que se acomodan y 3 cuentas que entran) + pasos grandes con la captura real a buen tamaño.
   La escena es decorativa (aria-hidden): el texto de los pasos dice lo mismo. Una sola vez al aparecer; «Ver de nuevo» la repite; con reduced-motion sale terminada. */
.v3-3c-sub { text-align: center; margin: .6rem auto 0; max-width: 40rem; font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: #e4dac8; text-wrap: balance; } .v3-3c-sub b { color: var(--oro-claro, #f0c877); }
.v3-3c { position: relative; width: min(920px, 100%); margin: 1.8rem auto 0; }
.v3-3c-pantalla { position: relative; aspect-ratio: 16 / 9; border-radius: 16px; border: 1px solid var(--borde); overflow: hidden; background: radial-gradient(120% 90% at 50% 0%, #1b1626 0%, #0c0a10 70%); box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.v3-3c-pantalla::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(240,200,119,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(240,200,119,.05) 1px, transparent 1px); background-size: 48px 48px; }
.v3-3c-ventana { position: absolute; width: 44%; height: 62%; border-radius: 10px; border: 1px solid rgba(240,200,119,.45); background: linear-gradient(180deg, #1a1522, #0f0c14); box-shadow: 0 18px 40px rgba(0,0,0,.55); display: flex; flex-direction: column; overflow: hidden;
  transition: left .9s var(--ease-spring, cubic-bezier(.2,.9,.2,1.04)), top .9s var(--ease-spring, cubic-bezier(.2,.9,.2,1.04)), width .9s var(--ease-spring, cubic-bezier(.2,.9,.2,1.04)), height .9s var(--ease-spring, cubic-bezier(.2,.9,.2,1.04)), transform .9s var(--ease-out, ease); }
.v3-3c-v1 { left: 6%;  top: 12%; z-index: 3; transform: rotate(-3deg); }
.v3-3c-v2 { left: 24%; top: 20%; z-index: 2; transform: rotate(2deg); }
.v3-3c-v3 { left: 42%; top: 9%;  z-index: 1; transform: rotate(-1deg); }
.v3-3c.acomodado .v3-3c-ventana { top: 8%; width: 30%; height: 84%; transform: none; }
.v3-3c.acomodado .v3-3c-v1 { left: 2.5%; } .v3-3c.acomodado .v3-3c-v2 { left: 35%; } .v3-3c.acomodado .v3-3c-v3 { left: 67.5%; }
.v3-3c-barra { flex: none; display: flex; align-items: center; gap: 5px; padding: 6px 9px; background: rgba(240,200,119,.12); border-bottom: 1px solid rgba(240,200,119,.25); font-size: .72rem; color: var(--oro-claro, #f0c877); }
.v3-3c-barra i { width: 8px; height: 8px; border-radius: 50%; background: rgba(240,200,119,.5); } .v3-3c-barra span { margin-left: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.v3-3c-cuerpo { flex: 1; display: grid; place-content: center; gap: 8px; text-align: center; padding: 8px; }
.v3-3c-cuerpo b { font: 700 clamp(.9rem, 1.8vw, 1.25rem) var(--v3-tit, Cinzel, serif); color: var(--hueso, #efe6d5); }
.v3-3c-ok { opacity: 0; transform: scale(.85); transition: opacity .4s ease, transform .5s var(--ease-spring, cubic-bezier(.2,.9,.2,1.04)); font-size: clamp(.7rem, 1.2vw, .9rem); color: #8cf28c; }
.v3-3c-cuenta { position: absolute; left: 50%; top: 22%; transform: translate(-50%, -260%); opacity: 0; padding: 3px 12px; border-radius: 999px; background: var(--oro, #c99a3f); color: #1a1208; font: 700 clamp(.68rem, 1.2vw, .85rem) Inter, system-ui, sans-serif; white-space: nowrap; transition: transform .8s var(--ease-spring, cubic-bezier(.2,.9,.2,1.04)), opacity .4s ease; }
.v3-3c.entra .v3-3c-cuenta { transform: translate(-50%, 0); opacity: 1; }
.v3-3c.entra .v3-3c-v2 .v3-3c-cuenta { transition-delay: .25s; } .v3-3c.entra .v3-3c-v3 .v3-3c-cuenta { transition-delay: .5s; }
.v3-3c.entra .v3-3c-ok { opacity: 1; transform: none; transition-delay: .9s; } .v3-3c.entra .v3-3c-v2 .v3-3c-ok { transition-delay: 1.15s; } .v3-3c.entra .v3-3c-v3 .v3-3c-ok { transition-delay: 1.4s; }
.v3-3c-repetir { display: block; margin: .8rem auto 0; min-height: 44px; padding: 0 1.2rem; border-radius: 999px; border: 1px solid var(--borde); background: rgba(10,10,12,.6); color: var(--oro-claro, #f0c877); font: 600 .92rem Inter, system-ui, sans-serif; cursor: pointer; opacity: 0; pointer-events: none; transition: opacity .3s; }
.v3-3c.entra .v3-3c-repetir { opacity: 1; pointer-events: auto; transition-delay: 2s; } .v3-3c-repetir:hover { border-color: var(--oro-claro, #f0c877); }
.v3-3c-pasos { list-style: none; margin: 2.6rem auto 0; padding: 0; max-width: 1100px; display: grid; gap: clamp(1.6rem, 4vw, 3rem); }
.v3-3c-pasos li { position: relative; display: grid; grid-template-columns: 5rem minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(1rem, 3vw, 2.2rem); align-items: center; }
.v3-3c-pasos li:nth-child(even) { grid-template-columns: 5rem minmax(0, 1.2fr) minmax(0, .8fr); }
.v3-3c-pasos li:nth-child(even) .v3-3c-txt { order: 3; } .v3-3c-pasos li:nth-child(even) img { order: 2; }
.v3-3c-pasos .v3-n { font-size: clamp(3.4rem, 7vw, 5.6rem); text-align: center; }
.v3-3c-pasos h3 { margin: 0 0 .5rem; font-family: var(--v3-tit); font-size: clamp(1.5rem, 2.6vw, 2.1rem); color: var(--oro-claro); line-height: 1.15; }
.v3-3c-pasos p { margin: 0; color: #e4dac8; line-height: 1.55; font-size: clamp(1.05rem, 1.5vw, 1.2rem); } .v3-3c-pasos b { color: var(--hueso); }
.v3-3c-pasos img { display: block; width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--borde); box-shadow: 0 24px 64px rgba(0,0,0,.55); }
.v3-3c-pasos a { display: inline-flex; align-items: center; min-height: 44px; }
.v3-3c-pasos li.v3-vis { animation: v3-3c-entra .7s var(--ease-out, ease) both; } @keyframes v3-3c-entra { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@media (max-width: 900px) {
  .v3-3c-pasos li, .v3-3c-pasos li:nth-child(even) { grid-template-columns: 3.4rem minmax(0, 1fr); } .v3-3c-pasos .v3-n { grid-row: 1 / span 2; align-self: start; }
  .v3-3c-pasos li img, .v3-3c-pasos li:nth-child(even) img { grid-column: 1 / -1; order: 5; } .v3-3c-pasos li:nth-child(even) .v3-3c-txt { order: 0; }
  .v3-3c-ventana .v3-3c-barra span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .v3-3c-ventana, .v3-3c-cuenta, .v3-3c-ok, .v3-3c-repetir { transition: none !important; } .v3-3c-pasos li.v3-vis { animation: none; }
}
.v3-3c-cuerpo { background: radial-gradient(90% 60% at 50% 100%, var(--v3-3c-h, rgba(240,200,119,.18)), transparent 70%), linear-gradient(180deg, rgba(255,255,255,.02), transparent 40%); }
.v3-3c-v1 { --v3-3c-h: rgba(111,208,168,.22); } .v3-3c-v2 { --v3-3c-h: rgba(240,200,119,.22); } .v3-3c-v3 { --v3-3c-h: rgba(150,130,240,.22); }

/* REFERIDOS (parte F, ítem 1): colores y motion que motivan; las ilustraciones (Higgsfield, de escena) aparecen solas cuando existen sus archivos */
.v3-ref { text-align: center; }
.v3-ref .v3-t { text-wrap: balance; } .v3-ref-dos { background: linear-gradient(90deg, #6fd0a8, #f0c877 55%, #b9a3ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.v3-ref-sub { max-width: 44rem; margin: .6rem auto 0; font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: #e4dac8; text-wrap: balance; } .v3-ref-sub b { color: var(--oro-claro, #f0c877); }
.v3-ref-hero { display: block; width: min(1100px, 100%); height: auto; margin: 1.6rem auto 0; border-radius: 18px; border: 1px solid var(--borde); box-shadow: 0 28px 70px rgba(0,0,0,.55); }
.v3-ref-pasos { list-style: none; margin: 2.2rem auto 0; padding: 0; max-width: 1100px; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 3vw, 2rem); text-align: left; }
.v3-ref-pasos li { position: relative; display: grid; gap: .6rem; align-content: start; padding: 1.3rem 1.2rem 1.4rem; border-radius: 16px; border: 1px solid var(--borde); background: linear-gradient(180deg, rgba(240,200,119,.07), rgba(10,10,12,.55)); }
.v3-ref-pasos li:nth-child(1) { --rc: #6fd0a8; } .v3-ref-pasos li:nth-child(2) { --rc: #f0c877; } .v3-ref-pasos li:nth-child(3) { --rc: #b9a3ff; }
.v3-ref-pasos li { border-top: 3px solid var(--rc); } .v3-ref-pasos .v3-n { color: var(--rc); font-size: 3rem; }
.v3-ref-pasos img { display: block; width: 100%; height: auto; border-radius: 12px; }
.v3-ref-pasos h3 { margin: 0; font-family: var(--v3-tit); font-size: 1.35rem; color: var(--rc); } .v3-ref-pasos p { margin: 0; color: #e4dac8; line-height: 1.5; font-size: 1.02rem; } .v3-ref-pasos b { color: var(--hueso); }
.v3-ref-pasos code { color: var(--oro-claro, #f0c877); font-size: .92em; }
.v3-ref-hitos { position: relative; max-width: 820px; margin: 2.4rem auto 0; height: 150px; }
.v3-ref-riel { position: absolute; left: 0; right: 0; top: 34px; height: 8px; border-radius: 8px; background: rgba(240,200,119,.14); overflow: hidden; }
.v3-ref-riel i { position: absolute; inset: 0; width: 0; border-radius: 8px; background: linear-gradient(90deg, #6fd0a8, #f0c877 55%, #b9a3ff); transition: width 2.4s var(--ease-out, ease); }
.v3-ref.on .v3-ref-riel i { width: 100%; }
.v3-ref-hito { position: absolute; top: 0; left: var(--x); transform: translateX(-50%) scale(.8); opacity: 0; display: grid; justify-items: center; gap: .3rem; transition: opacity .5s ease, transform .7s var(--ease-spring, cubic-bezier(.2,.9,.2,1.04)); }
.v3-ref.on .v3-ref-hito { opacity: 1; transform: translateX(-50%) scale(1); }
.v3-ref.on .v3-ref-h1 { transition-delay: .5s; } .v3-ref.on .v3-ref-h2 { transition-delay: 1.3s; } .v3-ref.on .v3-ref-h3 { transition-delay: 2.1s; }
.v3-ref-r { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; border: 2px solid var(--oro, #c99a3f); background: #130f18; color: var(--oro-claro, #f0c877); font: 700 1.2rem var(--v3-tit, Cinzel, serif); box-shadow: 0 0 22px rgba(240,200,119,.35); }
.v3-ref-t { font: 700 clamp(1.4rem, 3vw, 2rem) var(--v3-tit, Cinzel, serif); color: var(--hueso, #efe6d5); } .v3-ref-t small { font: 600 .9rem Inter, system-ui, sans-serif; color: var(--oro-claro, #f0c877); }
.v3-ref-h1 .v3-ref-r { border-color: #6fd0a8; box-shadow: 0 0 22px rgba(111,208,168,.4); } .v3-ref-h3 .v3-ref-r { border-color: #b9a3ff; box-shadow: 0 0 22px rgba(185,163,255,.4); }
.v3-ref-total, .v3-ref-donde { max-width: 44rem; margin: 1.2rem auto 0; color: #e4dac8; line-height: 1.55; font-size: 1.08rem; } .v3-ref-total b, .v3-ref-donde b { color: var(--oro-claro, #f0c877); }
.v3-ref-cta { margin: 1.8rem 0 0; }
@media (max-width: 900px) { .v3-ref-pasos { grid-template-columns: 1fr; } .v3-ref-hitos { height: 170px; } .v3-ref-r { width: 54px; height: 54px; font-size: 1.05rem; } }
@media (prefers-reduced-motion: reduce) { .v3-ref-riel i { transition: none; width: 100%; } .v3-ref-hito { transition: none; opacity: 1; transform: translateX(-50%); } }

/* «Los NPC, uno por uno» (carta 1, La Ciudadela del Trono): botones por grupo; la descripcion sale a la derecha */
.vc-npcs { width: 100%; height: 100%; box-sizing: border-box; padding: 16px; overflow-y: auto; display: flex; flex-direction: column; gap: 14px; scrollbar-width: thin; }
.vc-npc-gt { display: block; margin-bottom: 6px; font-size: .78rem; letter-spacing: .07em; text-transform: uppercase; color: var(--ac, #e0452f); }
.vc-npc-lista { display: flex; flex-wrap: wrap; gap: 8px; }
.vc-npc { min-height: 44px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--borde); background: #14101c; color: var(--hueso, #efe6d5); font: 600 .95rem Inter, system-ui, sans-serif; cursor: pointer; transition: border-color var(--t-ui, .2s), background var(--t-ui, .2s); }
.vc-npc:hover, .vc-npc:focus-visible { border-color: var(--ac, #e0452f); } .vc-npc[aria-pressed=true] { border-color: var(--ac, #e0452f); background: color-mix(in srgb, var(--ac, #e0452f) 18%, #14101c); }
.vc-npc-pos { color: var(--tenue, #b8ae9d); font-size: .95rem; } .vc-scroll code { color: var(--oro-claro, #f0c877); }
@media (prefers-reduced-motion: reduce) { .vc-npc { transition: none; } }

/* Parte G (Rudi 23/11): el cartel «Verla en el juego» de las invocaciones de la Elfa tiene que LLAMAR la atencion y verse clickeable:
   boton dorado grande, anillo que late, brillo que lo barre y una flecha que rebota. Quieto con prefers-reduced-motion. */
.vc-sk-ver { min-height: 56px; padding: 0 26px 0 22px; border: 0; border-radius: 28px; overflow: hidden; isolation: isolate; font: 800 1.02rem Inter, system-ui, sans-serif; letter-spacing: .01em;
  color: #1a1208; background: linear-gradient(135deg, #f7d98a, #e0a93a 55%, #f2c25a); box-shadow: 0 6px 22px rgba(240,200,119,.45); animation: vc-ver-late 1.9s ease-out infinite; }
.vc-sk-ver::before { content: ""; position: absolute; inset: 0; z-index: -1; width: 45%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.75), transparent); transform: translateX(-160%) skewX(-18deg); animation: vc-ver-brillo 2.6s ease-in-out infinite; }
.vc-sk-ver::after { content: "\25B6"; display: inline-block; margin-left: 10px; font-size: .9em; animation: vc-ver-flecha 1s ease-in-out infinite; }
.vc-sk-ver:hover, .vc-sk-ver:focus-visible { filter: brightness(1.08); transform: translateY(-2px); border-color: transparent; }
@keyframes vc-ver-late { 0% { box-shadow: 0 6px 22px rgba(240,200,119,.45), 0 0 0 0 rgba(240,200,119,.55); } 70% { box-shadow: 0 6px 22px rgba(240,200,119,.45), 0 0 0 16px rgba(240,200,119,0); } 100% { box-shadow: 0 6px 22px rgba(240,200,119,.45), 0 0 0 0 rgba(240,200,119,0); } }
@keyframes vc-ver-brillo { 0%, 55% { transform: translateX(-160%) skewX(-18deg); } 100% { transform: translateX(420%) skewX(-18deg); } }
@keyframes vc-ver-flecha { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(5px); } }
@media (prefers-reduced-motion: reduce) { .vc-sk-ver, .vc-sk-ver::before, .vc-sk-ver::after { animation: none; } .vc-sk-ver::before { display: none; } }

/* Parte G · catalogo de BkPino: grupos con baldosas (icono real si existe) y precio en Tronos */
.vc-cat { width: 100%; height: 100%; overflow-y: auto; padding: .4rem .6rem 1rem; display: grid; align-content: start; gap: .3rem; }
.vc-cat-h { margin: .7rem 0 .2rem; font-family: var(--v3-tit, Cinzel, serif); font-size: 1rem; letter-spacing: .04em; color: var(--oro-claro, #f0c877); font-weight: 600; }
.vc-cat-g { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.vc-cat-i { display: grid; align-content: center; justify-items: center; gap: 4px; min-height: 76px; padding: 8px 6px; text-align: center; border-radius: 10px; border: 1px solid rgba(216,162,74,.26); background: rgba(14,10,6,.65); }
.vc-cat-i img { max-height: 44px; width: auto; object-fit: contain; } .vc-cat-i.con-ico { min-height: 104px; }
.vc-cat-n { font-size: .92rem; line-height: 1.2; color: #efe6d5; }
.vc-cat-p { display: inline-flex; align-items: center; gap: 4px; font-variant-numeric: tabular-nums; color: var(--oro-claro, #f0c877); font-weight: 600; font-size: .95rem; } .vc-cat-p img { width: 18px; height: 18px; max-height: none; }

/* Parte G · «Todos los mapas»: medallones + mapa grande con spots (azul = hot spot de 4 s) */
.vc-mp2 { width: 100%; height: 100%; display: grid; grid-template-rows: minmax(0, 1fr) auto auto; gap: .5rem; padding: .5rem; }
.vc-mp2-vista { position: relative; justify-self: center; align-self: center; aspect-ratio: 1; height: 100%; max-width: 100%; max-height: 100%; min-height: 0; border-radius: 10px; overflow: hidden; border: 1px solid rgba(216,162,74,.3); background: #0b0906; }
.vc-mp2-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: fill; } .vc-mp2-capa { position: absolute; inset: 0; }
.vc-mp2-pt { position: absolute; width: 14px; height: 14px; margin: -7px 0 0 -7px; padding: 0; border-radius: 50%; border: 1px solid rgba(0,0,0,.7); background: #f0c877; cursor: pointer; opacity: .9; }
.vc-mp2-pt::before { content: ''; position: absolute; inset: -9px; } .vc-mp2-pt:hover, .vc-mp2-pt.sel { transform: scale(1.5); opacity: 1; box-shadow: 0 0 0 2px #fff; z-index: 3; }
.vc-mp2-pt.hot { width: 16px; height: 16px; margin: -8px 0 0 -8px; background: #3aa0ff; z-index: 2; box-shadow: 0 0 0 0 rgba(58,160,255,.7); animation: vc-mp2-late 1.8s ease-out infinite; }
@keyframes vc-mp2-late { 0% { box-shadow: 0 0 0 0 rgba(58,160,255,.7); } 100% { box-shadow: 0 0 0 14px rgba(58,160,255,0); } }
.vc-mp2-ley { display: flex; flex-wrap: wrap; gap: .3rem 1.2rem; justify-content: center; font-size: .85rem; color: #d8ceb9; } .vc-mp2-ley .pt { display: inline-block; width: 11px; height: 11px; border-radius: 50%; background: #f0c877; margin-right: .4rem; vertical-align: -1px; } .vc-mp2-ley .pt.hot { background: #3aa0ff; }
.vc-mp2-sel { display: flex; gap: .5rem; overflow-x: auto; padding: .2rem .2rem .5rem; scrollbar-width: thin; justify-content: safe center; }
.vc-mp2-med { flex: 0 0 auto; display: grid; justify-items: center; gap: 3px; width: 84px; padding: 4px 2px; border-radius: 12px; border: 1px solid transparent; background: transparent; color: #d8ceb9; font-size: .78rem; line-height: 1.15; cursor: pointer; }
.vc-mp2-med img { width: 60px; height: 60px; object-fit: cover; border-radius: 50%; border: 2px solid rgba(216,162,74,.45); } .vc-mp2-med img:not(.sin-med) { object-fit: contain; border-radius: 0; border: 0; }
.vc-mp2-med[aria-pressed="true"] { border-color: var(--oro-claro, #f0c877); background: rgba(216,162,74,.12); color: #fff; } .vc-mp2-med[aria-pressed="true"] img { border-color: var(--oro-claro, #f0c877); }
.vc-mp2-ficha { list-style: none; margin: .4rem 0 .6rem; padding: 0; display: grid; gap: .25rem; } .vc-mp2-hotnota { color: #8cc8ff; }
@media (prefers-reduced-motion: reduce) { .vc-mp2-pt.hot { animation: none; } }

/* Parte G · Ciudadela: plano con los NPC en su celda + render que respira */
.vc-npcs.con-plano { flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 14px; }
.vc-npc-col { display: flex; flex-direction: column; gap: 12px; min-width: 0; flex: none; }
.vc-npc-plano { position: relative; flex: none; width: var(--plano-w, 100%); aspect-ratio: 1; border-radius: 10px; overflow: hidden; border: 1px solid var(--borde); background: #0b0906; align-self: center; }
.vc-npc-plano > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: fill; }
.vc-npc-marca { position: absolute; width: 22px; height: 22px; margin: -11px 0 0 -11px; padding: 0; border-radius: 50%; border: 2px solid #f0c877; background: #3a2a10; cursor: pointer; box-shadow: 0 0 0 1px rgba(0,0,0,.7); }
.vc-npc-marca::before { content: ''; position: absolute; inset: -10px; } .vc-npc-marca.con-render { width: 28px; height: 28px; margin: -14px 0 0 -14px; overflow: hidden; background: #14100a; }
.vc-npc-marca img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; display: block; }
.vc-npc-marca:hover, .vc-npc-marca.sel { transform: scale(1.35); border-color: #fff; z-index: 3; }
.vc-npc-render { display: grid; place-items: center; height: clamp(160px, 30vh, 280px); margin: 0 0 .6rem; } .vc-npc-render img { max-height: clamp(160px, 30vh, 280px); height: auto; width: auto; max-width: 100%; object-fit: contain; animation: vc-npc-respira 7s ease-in-out infinite; transform-origin: 50% 90%; }
@keyframes vc-npc-respira { 0%, 100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-6px) scale(1.015); } }
@media (max-width: 700px) { .vc-npcs.con-plano { container-type: normal; } .vc-npc-plano { width: 100%; } }
@media (prefers-reduced-motion: reduce) { .vc-npc-render img { animation: none; } }
/* NPC sin render (BkPino): la captura de su ventana en el juego, quieta */
.vc-npc-foto { margin: 0 0 .6rem; } .vc-npc-foto img { display: block; max-height: clamp(180px, 34vh, 320px); width: auto; max-width: 100%; border-radius: 8px; box-shadow: 0 4px 16px rgba(0,0,0,.5); }
/* Parte G (23/11): iconos reales en VIP y BkPino, sello de los tickets de La Salada, icono de pestaña (Summoner), captura en el mapa grande (Sotano) */
.vc-det-icos { float: left; display: inline-flex; gap: 4px; margin: 2px 10px 4px 0; }
.vc-det-ico { height: 44px; width: auto; max-width: 56px; object-fit: contain; filter: drop-shadow(0 2px 4px rgba(0,0,0,.6)); } .vc-det-ico.pix { image-rendering: pixelated; }
.vc-scroll p:has(> .vc-det-icos) { display: flow-root; }
.vc-cat-i img { max-height: 64px; } .vc-cat-i.con-ico { min-height: 122px; }
.vc-cat-sello { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; border: 2px dashed var(--oro-claro, #f0c877); color: var(--oro-claro, #f0c877); font: 700 1.05rem var(--v3-tit, Cinzel, serif); transform: rotate(-8deg); background: radial-gradient(circle, rgba(216,162,74,.16), rgba(14,10,6,0) 70%); }
.vc-tab.con-ico { display: inline-flex; align-items: center; gap: 6px; } .vc-tab-ico { height: 30px; width: auto; object-fit: contain; filter: drop-shadow(0 1px 2px rgba(0,0,0,.7)); }
.vc-mp2-img.captura { object-fit: cover; }
@media (max-width: 700px) {   /* celu: el mapa grande ocupa todo el ancho (antes quedaba de ~145 px por la altura del cuadro) */
  .vc-mp2 { height: auto; grid-template-rows: auto auto auto; } .vc-mp2-vista { width: 100%; height: auto; }
  .vc-mp2-pt { width: 10px; height: 10px; margin: -5px 0 0 -5px; } .vc-mp2-pt.hot { width: 12px; height: 12px; margin: -6px 0 0 -6px; }
}

/* NPC de la Ciudadela (Rudi 23/11): chips compactos, en filas que se acomodan y alineados a la izquierda, agrupados con su subtítulo. */
.vc-npcs.con-plano .vc-npc-lista { justify-content: flex-start; gap: 6px; }
.vc-npcs.con-plano .vc-npc { min-height: 32px; padding: 0 10px; font-size: .84rem; border-radius: 9px; }
@media (max-width: 700px) { .vc-npcs.con-plano .vc-npc { min-height: 40px; padding: 0 12px; font-size: .9rem; } }
.vc-npcs.con-plano .vc-npc-gt { margin-bottom: 4px; }
/* la lista en un solo flujo: cada subtítulo en la misma fila que sus botones (display: contents en los envoltorios) */
.vc-npcs.con-plano .vc-npc-col { gap: 6px; }
.vc-npcs.con-plano .vc-npc-grupo { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }   /* cada grupo arranca su fila: el subtítulo nunca queda huérfano */
.vc-npcs.con-plano .vc-npc-lista { display: contents; }
.vc-npcs.con-plano .vc-npc-gt { margin: 0 2px 0 0; font-size: .7rem; }
@media (max-width: 700px) { .vc-npcs.con-plano { padding-top: 64px; } .vc-npcs.con-plano .vc-npc-gt { min-width: 0; flex-basis: 100%; } }   /* el × del panel va arriba a la derecha */

/* ---- Auras y títulos: selector de aura (24/11). Escena 420x540 (el clip de Rudi), títulos en su color, estilos debajo. ---- */
.vc-prin > .vc-au { min-height: 0; }
.vc-au { display: grid; grid-template-rows: 1fr auto auto; justify-items: center; gap: .6rem; width: 100%; height: 100%; padding: .8rem; }
.vc-au-escena { position: relative; height: 100%; max-height: 540px; aspect-ratio: 7 / 9; min-height: 220px; border-radius: 16px; overflow: hidden; background: #08070a;
  box-shadow: 0 0 0 1px rgba(216, 162, 74, .25), 0 18px 50px rgba(0, 0, 0, .55); }
.vc-au-escena .vc-au-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 1; transform: none; }
.vc-au-escena .vc-au-video.entra { opacity: 0; transform: scale(1.02); }
.vc-au-escena .vc-au-video.sale { opacity: 0; }
@media (prefers-reduced-motion: no-preference) { .vc-au-escena .vc-au-video { transition: opacity .2s ease-out, transform .2s ease-out; } }
.vc-au-escena.pronto { background: radial-gradient(60% 50% at 50% 60%, rgba(200, 204, 208, .18), transparent 70%), #08070a; }
.vc-au-escena.pronto::after { content: 'Próximamente'; position: absolute; inset: 0; display: grid; place-items: center; font: 700 1rem Inter, system-ui, sans-serif; color: #c8ccd0; letter-spacing: .08em; text-transform: uppercase; }
.vc-au-tits, .vc-au-ests { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem; padding: .3rem; border-radius: 14px; background: rgba(17, 17, 25, .82); border: 1px solid var(--borde, rgba(216, 162, 74, .24)); max-width: 100%; }
.vc-au-ests[hidden] { display: none; }
.vc-au-btn, .vc-au-est { min-height: 44px; padding: 0 .9rem; border-radius: 10px; border: 1px solid transparent; background: none; color: var(--tenue, #b8ae9d); font: 600 .92rem Inter, system-ui, sans-serif; cursor: pointer; }
.vc-au-est { min-height: 40px; font-size: .88rem; }
.vc-au-btn:hover, .vc-au-est:hover { color: var(--au, #efe6d5); }
.vc-au-btn[aria-selected="true"], .vc-au-est[aria-selected="true"] { color: #fff; border-color: var(--au); background: color-mix(in srgb, var(--au) 18%, transparent); box-shadow: 0 0 18px color-mix(in srgb, var(--au) 35%, transparent); }
.vc-au-btn:focus-visible, .vc-au-est:focus-visible { outline: 3px solid var(--foco, #f0c877); outline-offset: 2px; }
.vc-au-btn.pronto { opacity: .75; font-style: italic; }
.vc-au-btn small { margin-left: .35rem; font: 600 .68rem Inter, system-ui, sans-serif; text-transform: uppercase; letter-spacing: .06em; opacity: .8; }
.vc-au-tit { margin: 0 0 .2rem; color: var(--au); font-size: 1.3rem; text-shadow: 0 0 18px color-mix(in srgb, var(--au) 45%, transparent); }
.vc-au-nf { color: var(--tenue, #b8ae9d); font-size: .8em; text-shadow: none; }
.vc-au-tipo { margin: 0 0 .7rem; font: 700 .72rem Inter, system-ui, sans-serif; letter-spacing: .08em; text-transform: uppercase; color: var(--tenue, #b8ae9d); }
@media (max-width: 700px) { .vc-au-escena { height: auto; width: min(78vw, 340px); } .vc-au { grid-template-rows: auto auto auto; } }
@media (forced-colors: active) { .vc-au-btn[aria-selected="true"], .vc-au-est[aria-selected="true"] { border: 2px solid Highlight; } .vc-au-escena { border: 1px solid CanvasText; } }

/* Tooltips de skills copiados del juego (Rudi 24/11): rango y nivel en chico arriba, el original en inglés en chico abajo */
.vc-tt-rango { margin: -4px 0 8px; font: 700 .72rem Inter, system-ui, sans-serif; letter-spacing: .06em; text-transform: uppercase; color: var(--color-texto-tenue, #9a978f); }
.vc-tt-en { margin-top: 10px; font-size: .78rem; font-style: italic; color: var(--color-texto-tenue, #9a978f); }
