/* ============================================================================
   EL RECORRIDO (21/11/2026) — jugador.html y perfil.html.
   Tres salas en 360° (estadio, túnel, vestuario) generadas con Higgsfield en
   assets/img/vestuario/. Las dibuja app.js con WebGL (vsVisor) y encima van los
   objetos tocables, la carta y el cuerpo del jugador (HTML anclado a la esfera).
   Va DESPUÉS de styles y de rediseno.css.
   ========================================================================= */
@font-face { font-family: "PNX Display"; src: url("/assets/fonts/inter-display-700.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
body[data-page="jugador"] #profile, body[data-page="perfil"] #perfil { background: #050806; padding-bottom: 0; }
html.vs-abierto { overflow: hidden; }

.vs { --t1: #ffd966; --t2: #c98f12; position: relative; isolation: isolate; background: #050806; }
.vs-t-oro { --t1: #ffd966; } .vs-t-plata { --t1: #e3eaf6; } .vs-t-bronce { --t1: #f0b27a; } .vs-t-base { --t1: #7ea2ff; }

/* ------------------------------------------------------------------ el visor */
.vs-visor { position: relative; width: 100%; height: clamp(520px, calc(100vh - 60px), 1500px); overflow: hidden; background: #050806; cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none; outline: none; }
.vs-visor.vs-agarra { cursor: grabbing; }
.vs-visor:focus-visible { box-shadow: inset 0 0 0 3px var(--t1); }
.vs-lienzo { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.vs-anclas { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.vs-anclas > * { position: absolute; left: 0; top: 0; will-change: transform; }
.vs-velo { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(120% 120% at 50% 50%, transparent 55%, rgba(0, 0, 0, .55)); }
.vs-hud, .vs-anclas { transition: opacity .5s; }
.vs-viaja .vs-hud, .vs-viaja .vs-anclas { opacity: 0; transition: opacity .3s; }
.vs-carga { position: absolute; inset: 0; display: grid; place-items: center; background: #050806; z-index: 5; } .vs-carga[hidden] { display: none; }
.vs-carga i { width: 46px; height: 46px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, .15); border-top-color: var(--t1); animation: vsSpin 1s linear infinite; } @keyframes vsSpin { to { transform: rotate(360deg); } }

/* encabezado y ayudas, directo sobre la imagen */
.vs-hud { position: absolute; inset: 0; pointer-events: none; z-index: 3; }
.vs-hud > * { position: absolute; }
.vs-titulo { left: 0; right: 0; top: 0; padding: 18px 16px 70px; text-align: center; display: grid; gap: 8px; justify-items: center; background: linear-gradient(180deg, rgba(0, 0, 0, .7), transparent); }
.vs-titulo h1 { font: 900 clamp(26px, 3.4vw, 60px)/1 "PNX Display", "Inter", sans-serif; letter-spacing: -.04em; display: flex; align-items: center; gap: .3em; flex-wrap: wrap; justify-content: center; text-shadow: 0 4px 24px rgba(0, 0, 0, .8); overflow-wrap: anywhere; }
.vs-chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; pointer-events: auto; }
.vs-lugar { left: clamp(14px, 2.4vw, 40px); bottom: clamp(60px, 7vw, 90px); display: grid; text-shadow: 0 2px 14px #000; } .vs-lugar small { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; opacity: .75; } .vs-lugar b { font: 900 clamp(24px, 2.8vw, 46px)/1.05 "PNX Display", sans-serif; letter-spacing: -.03em; }
.vs-salas { right: clamp(14px, 2.4vw, 40px); bottom: clamp(60px, 7vw, 90px); display: flex; gap: 6px; pointer-events: auto; }
.vs-salas button { cursor: pointer; border: 0; border-radius: 999px; padding: 9px 15px; font: 700 13px "Inter", sans-serif; color: #fff; background: rgba(0, 0, 0, .55); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); transition: background .2s, color .2s; } .vs-salas button:hover { background: rgba(255, 255, 255, .2); } .vs-salas button.on { background: var(--t1); color: #07110b; }
.vs-guia { left: 0; right: 0; bottom: 18px; text-align: center; margin: 0; font-size: 13px; letter-spacing: .05em; color: rgba(255, 255, 255, .8); text-shadow: 0 2px 10px #000; animation: vsParpadeo 4s ease-in-out infinite; padding: 0 12px; } @keyframes vsParpadeo { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
.vs-intro { position: absolute; inset: 0; z-index: 4; display: grid; place-items: center; pointer-events: none; text-align: center; } .vs-intro[hidden] { display: none; }
.vs-intro b { font: 900 clamp(26px, 4vw, 64px)/1 "PNX Display", sans-serif; letter-spacing: -.03em; text-shadow: 0 6px 30px #000; animation: vsIntroT 3.4s ease both; } @keyframes vsIntroT { 0% { opacity: 0; transform: translateY(14px); } 25%, 70% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(-10px); } }
.vs-saltar { pointer-events: auto; position: absolute; right: 24px; bottom: 24px; cursor: pointer; border: 0; border-radius: 999px; padding: 10px 18px; font: 800 14px "Inter", sans-serif; background: rgba(0, 0, 0, .6); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); }

/* los puntos tocables: un latido sobre el objeto, sin cajas */
.vs-pto { padding: 0; border: 0; background: none; cursor: pointer; pointer-events: auto; color: #fff; border-radius: 50%; }
.vs-pto::before { content: ""; position: absolute; inset: 0; border-radius: 18%; opacity: 0; transition: opacity .3s; background: radial-gradient(closest-side, rgba(255, 255, 255, .22), transparent); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .55); }
.vs-pto:hover::before, .vs-pto:focus-visible::before { opacity: 1; } .vs-pto:focus-visible { outline: none; }
.vs-ping { position: absolute; left: 50%; top: 50%; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; background: var(--t1); box-shadow: 0 0 0 3px rgba(0, 0, 0, .55), 0 0 18px var(--t1); } .vs-ping::after { content: ""; position: absolute; inset: -3px; border-radius: 50%; border: 2px solid var(--t1); animation: vsOnda 2.2s ease-out infinite; } @keyframes vsOnda { from { transform: scale(.8); opacity: .9; } to { transform: scale(2.6); opacity: 0; } }
.vs-etq { position: absolute; left: 50%; top: calc(50% + 20px); white-space: nowrap; display: grid; justify-items: center; padding: 6px 13px; border-radius: 999px; background: rgba(0, 0, 0, .68); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); opacity: 0; transition: opacity .25s, transform .25s; transform: translate(-50%, 6px); pointer-events: none; }
.vs-etq b { font: 800 13px "Inter", sans-serif; } .vs-etq em { font-style: normal; font-size: 11px; font-weight: 700; color: var(--t1); }
.vs-pto:hover .vs-etq, .vs-pto:focus-visible .vs-etq { opacity: 1; transform: translate(-50%, 0); }
.vs-pto-tv .vs-ping { margin-top: 26px; }
@media (hover: none) { .vs-etq { opacity: 1; transform: translate(-50%, 0); } }

/* las flechas en el piso, como en Street View */
.vs-flecha { padding: 0; border: 0; background: none; cursor: pointer; pointer-events: auto; display: grid; justify-items: center; gap: 4px; color: #fff; }
.vs-flecha svg { width: 64px; height: 64px; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .7)); transform: perspective(200px) rotateX(52deg); transition: transform .3s; animation: vsFlechaRebota 1.8s ease-in-out infinite; }
.vs-flecha circle { fill: rgba(0, 0, 0, .5); stroke: #fff; stroke-width: 2.5; } .vs-flecha path { fill: none; stroke: #fff; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.vs-flecha:hover svg { transform: perspective(200px) rotateX(52deg) scale(1.2); } .vs-flecha:hover circle { fill: var(--t1); } .vs-flecha:hover path { stroke: #07110b; }
.vs-flecha span { font: 800 12px "Inter", sans-serif; padding: 4px 10px; border-radius: 999px; background: rgba(0, 0, 0, .65); white-space: nowrap; opacity: 0; transition: opacity .25s; } .vs-flecha:hover span, .vs-flecha:focus-visible span { opacity: 1; }
@keyframes vsFlechaRebota { 0%, 100% { translate: 0 0; } 50% { translate: 0 -5px; } } .vs-flecha:focus-visible { outline: none; }
@media (hover: none) { .vs-flecha span { opacity: 1; } }

/* el jugador, su carta y los detalles de cada sala */
.vs-bb { pointer-events: none; } .vs-cuerpo { height: 100%; width: auto; display: block; image-rendering: pixelated; filter: drop-shadow(0 10px 8px rgba(0, 0, 0, .6)); transform-origin: 50% 100%; animation: vsRespira 4.6s ease-in-out infinite; }
@keyframes vsRespira { 0%, 100% { transform: perspective(600px) rotateY(-11deg) scaleY(.99); } 50% { transform: perspective(600px) rotateY(11deg) scaleY(1.012); } }
.vs-bb-carta { pointer-events: auto; } .vs-bb-carta .pnx-tilt { --pw: 300px; }
.vs-placa { display: grid; place-items: center; align-content: center; gap: 0; background: linear-gradient(180deg, #d9b24e, #8a6a1c); color: #1a1202; border-radius: 3px; box-shadow: 0 3px 8px rgba(0, 0, 0, .6), inset 0 0 0 1px rgba(255, 255, 255, .5); text-align: center; overflow: hidden; } .vs-placa b { font: 900 clamp(8px, .8vw, 14px)/1 "PNX Display", sans-serif; letter-spacing: .08em; text-transform: uppercase; max-width: 94%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .vs-placa i { font-style: normal; font: 800 clamp(7px, .65vw, 11px) "Inter", sans-serif; opacity: .8; }
.vs-escudo-jersey { display: grid; place-items: center; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .6)); } .vs-escudo-jersey .team-crest, .vs-escudo-jersey svg { width: 100% !important; height: 100% !important; }
.vs-tv { background: linear-gradient(160deg, #06141d, #020608); display: grid; grid-template-columns: repeat(4, 1fr); align-content: center; gap: 2px 4px; padding: 3% 4%; text-align: center; box-shadow: 0 0 22px rgba(120, 200, 255, .35); border-radius: 2px; overflow: hidden; }
.vs-tv b { grid-column: 1 / -1; font: 800 clamp(7px, .75vw, 13px) "Inter", sans-serif; color: #8fd8ff; letter-spacing: .12em; text-transform: uppercase; } .vs-tv span { font: 700 clamp(6px, .55vw, 10px) "Inter", sans-serif; color: #9bb0bb; display: grid; } .vs-tv em { font-style: normal; font: 900 clamp(12px, 1.5vw, 26px) "PNX Display", sans-serif; color: #fff; }
.vs-pizarra-ficha { border-radius: 50%; overflow: hidden; background: #fff; box-shadow: 0 0 0 2px var(--t1), 0 4px 8px rgba(0, 0, 0, .5); } .vs-pizarra-ficha img { width: 100%; height: 100%; object-fit: cover; image-rendering: pixelated; }

/* la carta, inclinable y con brillo */
.pnx-tilt { --rx: 0deg; --ry: 0deg; --bx: 50%; --by: 30%; perspective: 1100px; position: relative; }
.pnx-tilt .profile-card-wrap { position: relative; display: grid; place-items: center; filter: none; border-radius: calc(var(--pw) / 13.4); overflow: hidden; transform: rotateY(var(--ry)) rotateX(var(--rx)); transform-style: preserve-3d; transition: transform .35s cubic-bezier(.2, .7, .2, 1); animation: vsCartaFlota 6s ease-in-out infinite; box-shadow: 0 30px 50px -20px rgba(0, 0, 0, .9), 0 0 0 1px color-mix(in srgb, var(--t1) 45%, transparent), 0 0 50px -6px color-mix(in srgb, var(--t1) 45%, transparent); }
.pnx-tilt.mueve .profile-card-wrap { animation: none; transition: transform .07s linear; }
@keyframes vsCartaFlota { 0%, 100% { transform: translateY(0) rotateY(-4deg); } 50% { transform: translateY(-10px) rotateY(4deg); } }
.pnx-tilt .pcard-new { --w: var(--pw); }
.pnx-tilt .carta-flip { display: grid; justify-items: center; gap: 12px; }
.pnx-tilt .profile-card-wrap::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 5; background: radial-gradient(circle at var(--bx) var(--by), rgba(255, 255, 255, .42), transparent 55%); mix-blend-mode: soft-light; opacity: 0; transition: opacity .3s; }
.pnx-tilt.mueve .profile-card-wrap::after { opacity: 1; }
.pnx-tilt .profile-card-wrap::before { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; z-index: 4; pointer-events: none; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .3), transparent); transform: skewX(-18deg) translateX(-120%); animation: vsBarrido 7s ease-in-out 1.5s infinite; }
@keyframes vsBarrido { 0%, 60% { transform: skewX(-18deg) translateX(-120%); } 100% { transform: skewX(-18deg) translateX(520%); } }

/* sin WebGL: se avisa y se puede usar igual desde las pestañas */
.vs-sin-gl .vs-visor { background: radial-gradient(circle at 50% 40%, #12241a, #050806); } .vs-sin-gl .vs-guia::after { content: " (tu navegador no puede dibujar el recorrido en 360°)"; }

/* ----------------------------------------------------------------- el panel */
.vs-panel { position: fixed; inset: 0; z-index: 99990; display: flex; flex-direction: column; background: radial-gradient(70% 55% at 50% 0%, color-mix(in srgb, var(--cc) 26%, #0c1310), #060a08 70%); opacity: 0; transition: opacity .35s; }
.vs-panel[hidden], .vs-p[hidden] { display: none; }
.vs-panel.on { opacity: 1; }
.vs-panel[data-sala] { background: linear-gradient(180deg, rgba(5, 8, 6, .86), rgba(5, 8, 6, .95)), var(--sala) center / cover no-repeat; }
.vs-panel[data-sala="vestuario"] { --sala: url("/assets/img/vestuario/vestuario.jpg"); } .vs-panel[data-sala="tunel"] { --sala: url("/assets/img/vestuario/tunel.jpg"); } .vs-panel[data-sala="estadio"] { --sala: url("/assets/img/vestuario/estadio.jpg"); }
.vs-barra { display: flex; align-items: center; gap: 14px; padding: 12px clamp(12px, 3vw, 40px); border-bottom: 1px solid rgba(255, 255, 255, .1); flex: none; }
.vs-volver { flex: none; border: 0; cursor: pointer; border-radius: 999px; padding: 10px 18px; font: 800 14px "Inter", sans-serif; color: #07110b; background: var(--t1); transition: transform .2s; } .vs-volver:hover { transform: translateX(-3px); }
.vs-tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; flex: 1; justify-content: center; } .vs-tabs::-webkit-scrollbar { display: none; }
.vs-tabs button { flex: none; border: 0; background: none; color: var(--txt-mute, #9bb0a3); cursor: pointer; padding: 9px 14px; border-radius: 999px; font: 700 13.5px "Inter", sans-serif; transition: color .2s, background .2s; }
.vs-tabs button:hover { color: #fff; } .vs-tabs button.on { color: #07110b; background: color-mix(in srgb, var(--t1) 85%, #fff); }
.vs-cuerpo-panel { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: clamp(22px, 3.4vw, 64px) 0 80px; }
.vs-p { width: min(1380px, 92vw); margin: 0 auto; animation: vsEntraP .55s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes vsEntraP { from { opacity: 0; transform: translate3d(0, 22px, 0) scale(.985); } to { opacity: 1; transform: none; } }
@media (min-width: 1900px) { .vs-p { width: min(1700px, 88vw); } .vs-cuerpo-panel { font-size: 118%; } }
@media (min-width: 2300px) { .vs-p { width: min(2000px, 84vw); } .vs-cuerpo-panel { font-size: 136%; } }

.vs-p h2 { font: 800 clamp(26px, 3vw, 52px)/1.05 "PNX Display", "Inter", sans-serif; letter-spacing: -.03em; }
.vs-h3 { display: flex; align-items: baseline; gap: 12px; margin: clamp(34px, 4vw, 70px) 0 clamp(14px, 2vw, 28px); font: 800 clamp(18px, 1.7vw, 28px)/1.1 "PNX Display", "Inter", sans-serif; letter-spacing: -.02em; }
.vs-h3::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, rgba(255, 255, 255, .3), transparent); } .vs-h3 small { font: 600 13px "Inter", sans-serif; color: var(--txt-mute, #8fa398); order: 2; }
.vs-sub { color: var(--txt-mute, #9bb0a3); max-width: 62ch; margin: 8px 0 0; line-height: 1.5; }
.vs-centrado { display: grid; justify-items: center; text-align: center; gap: 14px; padding: clamp(10px, 4vw, 70px) 0; }
.vs-dos { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(24px, 5vw, 100px); align-items: center; }
.vs-dos-attrs { grid-template-columns: minmax(260px, .9fr) 1.4fr; }

/* equipo */
.vs-equipo-cab { display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 4vw, 70px); align-items: center; }
.vs-equipo-cab small { color: var(--txt-mute, #9bb0a3); font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.vs-equipo-cab .btn { margin-top: 16px; }
.vs-grande-escudo { filter: drop-shadow(0 1.4rem 1.4rem rgba(0, 0, 0, .6)); animation: vsFlotaS 6s ease-in-out infinite; display: block; } .vs-grande-escudo .team-crest, .vs-grande-escudo svg { width: clamp(120px, 14vw, 240px) !important; height: auto; }
.vs-compas { display: grid; grid-template-columns: repeat(auto-fill, minmax(clamp(200px, 17vw, 300px), 1fr)); gap: 6px 30px; }
.vs-compa { display: grid; grid-template-columns: 46px 1fr auto auto; gap: 12px; align-items: center; padding: 10px 6px; border-bottom: 1px solid rgba(255, 255, 255, .1); text-decoration: none; color: inherit; animation: vsEntraP .5s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(var(--i) * 40ms); transition: transform .2s, background .2s; }
.vs-compa:hover { transform: translateX(5px); background: linear-gradient(90deg, rgba(255, 255, 255, .07), transparent); }
.vs-compa img { width: 46px; height: 46px; image-rendering: pixelated; border-radius: 8px; background: rgba(255, 255, 255, .06); }
.vs-compa b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .vs-compa span { font-weight: 800; font-size: 12px; color: var(--txt-mute, #9bb0a3); } .vs-compa em { font-style: normal; font: 900 22px "PNX Display", sans-serif; color: var(--gold, #f7c948); }

/* estadísticas */
.vs-cifras { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(18px, 4vw, 90px); }
.vs-cifra { display: grid; justify-items: center; }
.vs-cifra b { font: 900 clamp(44px, 6vw, 110px)/1 "PNX Display", "Inter", sans-serif; letter-spacing: -.04em; color: var(--c, #fff); }
.vs-cifra span { font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--txt-mute, #8fa398); }
.vs-vs { margin-bottom: 20px; } .vs-vs-t { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 8px; font-weight: 700; } .vs-vs-t b small { font-weight: 600; color: var(--txt-mute, #8fa398); }
.vs-vs-pista { position: relative; height: 16px; border-radius: 99px; background: rgba(255, 255, 255, .07); overflow: hidden; }
.vs-vs-pista i { position: absolute; left: 0; top: 0; height: 100%; width: var(--w); border-radius: inherit; transform-origin: 0 50%; animation: vsBarra 1.1s cubic-bezier(.2, .7, .2, 1) both; }
.vs-vs-pista .yo { background: linear-gradient(90deg, color-mix(in srgb, var(--c) 55%, #000), var(--c)); box-shadow: 0 0 14px -2px var(--c); z-index: 1; } .vs-vs-pista .lg { height: 5px; top: 5.5px; background: #fff; opacity: .7; z-index: 2; border-radius: 0 3px 3px 0; }
@keyframes vsBarra { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.vs-donas { display: grid; justify-items: center; gap: 18px; }
.vs-dona { --d: clamp(180px, 16vw, 300px); width: var(--d); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(#37c24a 0 var(--a), #45d3ff var(--a) var(--b), #f7c948 var(--b) 100%); -webkit-mask: radial-gradient(circle, transparent 56%, #000 57%); mask: radial-gradient(circle, transparent 56%, #000 57%); animation: vsGira 1.3s cubic-bezier(.2, .7, .2, 1) both; position: relative; }
.vs-dona span { position: absolute; display: grid; justify-items: center; font-size: 12px; color: #fff; letter-spacing: .1em; text-transform: uppercase; } .vs-dona span b { font: 900 clamp(32px, 3.6vw, 60px)/1 "PNX Display", sans-serif; }
@keyframes vsGira { from { transform: rotate(-120deg) scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }
.vs-leyenda { list-style: none; margin: 0; padding: 0; display: flex; gap: 18px; flex-wrap: wrap; justify-content: center; font-weight: 700; font-size: 14px; } .vs-leyenda li { display: flex; align-items: center; gap: 8px; } .vs-leyenda i { width: 12px; height: 12px; border-radius: 50%; display: block; } .vs-leyenda.col { flex-direction: column; align-items: flex-start; gap: 8px; margin-top: 18px; }
.vs-ranks { display: flex; flex-wrap: wrap; gap: clamp(20px, 4vw, 80px); justify-content: center; }
.vs-rank { display: grid; justify-items: center; } .vs-rank b { font: 900 clamp(34px, 4vw, 72px)/1 "PNX Display", sans-serif; color: #fff; } .vs-rank.top b { color: var(--gold, #f7c948); text-shadow: 0 0 24px rgba(247, 201, 72, .5); } .vs-rank span { font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--txt-mute, #8fa398); }
.vs-grafs { min-height: 80px; }

/* atributos */
.vs-hexa { display: grid; place-items: center; } .vs-hexa svg { width: min(100%, clamp(280px, 28vw, 520px)) !important; max-width: none !important; height: auto !important; }
.vs-dos-attrs .attr-bar { margin-bottom: clamp(14px, 1.6vw, 26px); } .vs-dos-attrs .attr-bar .top { font-size: clamp(14px, 1.15vw, 19px); } .vs-dos-attrs .attr-bar .track { height: clamp(12px, 1vw, 17px); border-radius: 99px; background: rgba(255, 255, 255, .08); position: relative; overflow: visible; }
.vs-dos-attrs .attr-bar .fill { border-radius: 99px; transform-origin: 0 50%; animation: vsBarra 1.1s cubic-bezier(.2, .7, .2, 1) .15s both; }
.attr-bar.n-neon { color: #45d3ff; } .attr-bar.n-bien { color: #37c24a; } .attr-bar.n-medio { color: #f7c948; } .attr-bar.n-flojo { color: #f59e0b; } .attr-bar.n-malo { color: #ef4444; } .vs-dos-attrs .attr-bar .top { color: #fff; }
.vs-prom { position: absolute; top: -4px; bottom: -4px; width: 3px; margin-left: -1.5px; background: #fff; border-radius: 2px; box-shadow: 0 0 8px rgba(255, 255, 255, .8); }

/* trayectoria */
.vs-linea { position: relative; display: grid; gap: 22px; max-width: 820px; margin: 0 auto; } .vs-linea::before { content: ""; position: absolute; left: 25px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--t1), transparent); opacity: .6; }
.vs-hito { position: relative; display: flex; align-items: center; gap: 20px; font-size: clamp(16px, 1.4vw, 24px); animation: vsEntraP .6s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(var(--i) * 90ms); }
.vs-hito > span { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: radial-gradient(circle at 30% 25%, rgba(255, 255, 255, .18), rgba(255, 255, 255, .03)); box-shadow: 0 0 0 2px rgba(255, 255, 255, .14); font-size: 22px; }
.vs-hito em { font-style: normal; font: 900 1.5em "PNX Display", sans-serif; color: var(--t1); } .vs-hito a { color: var(--gold, #f7c948); text-decoration: none; } .vs-hito.as span { box-shadow: 0 0 0 2px var(--gold, #f7c948), 0 0 24px rgba(247, 201, 72, .45); }
.vs-evals { display: grid; max-width: 820px; margin: 0 auto; }
.vs-ev { display: grid; grid-template-columns: 9em 1fr auto; gap: 16px; align-items: center; padding: 12px 6px; border-bottom: 1px solid rgba(255, 255, 255, .1); animation: vsEntraP .5s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(var(--i) * 35ms); } .vs-ev time { color: var(--txt-mute, #8fa398); font-weight: 600; } .vs-ev b { font: 800 20px "PNX Display", sans-serif; } .vs-ev em { font-style: normal; font-weight: 800; color: var(--txt-mute, #8fa398); } .vs-ev em.sube { color: #37c24a; } .vs-ev em.baja { color: #ef4444; }

/* mesa táctica */
.vs-mesa { display: grid; grid-template-columns: minmax(280px, 480px) 1fr; gap: clamp(24px, 5vw, 100px); align-items: center; }
.vs-mesa-campo { position: relative; aspect-ratio: 100 / 140; border-radius: 14px; overflow: hidden; background: linear-gradient(180deg, #1c7a38, #135c29); box-shadow: 0 30px 60px -30px #000, 0 0 0 9px #cfd8d3, 0 0 0 11px #7d8b84; touch-action: none; cursor: crosshair; }
.vs-mesa-campo > svg { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: rgba(255, 255, 255, .75); stroke-width: .7; vector-effect: non-scaling-stroke; } .vs-mesa-campo > svg * { vector-effect: non-scaling-stroke; }
.vs-calor { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(5, 1fr); grid-template-rows: repeat(7, 1fr); pointer-events: none; } .vs-calor i { background: hsl(var(--h) 78% 46% / .55); animation: vsAparece .6s ease both; animation-delay: var(--d); } @keyframes vsAparece { from { opacity: 0; } to { opacity: 1; } }
.vs-ficha { position: absolute; width: 17%; aspect-ratio: 1; margin: -8.5% 0 0 -8.5%; border-radius: 50%; display: grid; place-items: center; cursor: grab; background: radial-gradient(circle at 35% 30%, #fff, #cfe3d6); box-shadow: 0 0 0 3px var(--t1), 0 10px 18px rgba(0, 0, 0, .6); z-index: 3; transition: left .55s cubic-bezier(.2, .7, .2, 1), top .55s cubic-bezier(.2, .7, .2, 1), transform .2s; } .vs-ficha.agarrada { cursor: grabbing; transform: scale(1.18); transition: transform .2s; } .vs-ficha:not(.va):not(.agarrada) { transition: transform .2s; }
.vs-ficha img { width: 80%; height: 80%; object-fit: contain; image-rendering: pixelated; pointer-events: none; }
.vs-arco { position: absolute; left: 50%; translate: -50% 0; font: 800 10px "Inter", sans-serif; letter-spacing: .2em; color: rgba(255, 255, 255, .6); pointer-events: none; } .vs-arco.a { top: 6px; } .vs-arco.b { bottom: 6px; }
.vs-lectura { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 30px; margin: 24px 0; } .vs-lectura div { display: grid; } .vs-lectura span { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--txt-mute, #8fa398); font-weight: 700; } .vs-lectura b { font: 900 clamp(24px, 2.6vw, 44px)/1.1 "PNX Display", sans-serif; }
.vs-acciones { display: flex; flex-wrap: wrap; gap: 10px; }

/* simulador de carta */
.vs-sim { display: grid; grid-template-columns: minmax(260px, auto) 1fr; gap: clamp(24px, 5vw, 100px); align-items: start; }
.vs-sim-carta { position: sticky; top: 10px; display: grid; justify-items: center; } .vs-sim-pop { --pw: clamp(250px, 22vw, 400px); animation: vsCartaFlota 6s ease-in-out infinite; } .vs-sim-pop .pcard-new { --w: var(--pw); }
.vs-fam { margin-top: 22px; } .vs-fam h4 { margin: 0 0 10px; font: 800 13px "Inter", sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--txt-mute, #8fa398); }
.vs-opc { display: flex; flex-wrap: wrap; gap: 8px; }
.vs-op { cursor: pointer; border: 0; border-radius: 999px; padding: 9px 15px; font: 700 13.5px "Inter", sans-serif; color: #fff; background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1.5px var(--rc, rgba(255, 255, 255, .2)); transition: transform .15s, background .15s; } .vs-op:hover { transform: translateY(-2px); background: rgba(255, 255, 255, .13); } .vs-op.on { background: var(--rc, #fff); color: #07110b; }
.vs-op.r-comun { --rc: #9aa8b5; } .vs-op.r-poco, .pnx-cos.r-poco { --rc: #37c24a; } .vs-op.r-leg, .pnx-cos.r-leg { --rc: #f7c948; } .vs-op.r-raro { --rc: #45d3ff; } .vs-op.r-epico { --rc: #b06bff; } .vs-op.r-legendario { --rc: #f7c948; } .vs-op.r-mitico, .vs-op.r-celestial { --rc: #ff7ad9; }

/* chips de cosméticos */
.pnx-chipset { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.pnx-cos { display: inline-flex; flex-direction: column; gap: 1px; padding: 8px 16px; border-radius: 999px; font-weight: 800; font-size: 14px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1.5px var(--rc, rgba(255, 255, 255, .22)); transition: transform .2s; } .pnx-cos:hover { transform: translateY(-3px); }
.pnx-cos i { font-style: normal; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--rc, var(--txt-mute, #8fa398)); }
.pnx-cos.r-comun { --rc: #9aa8b5; } .pnx-cos.r-raro { --rc: #45d3ff; } .pnx-cos.r-epico { --rc: #b06bff; } .pnx-cos.r-legendario { --rc: #f7c948; } .pnx-cos.r-mitico, .pnx-cos.r-celestial { --rc: #ff7ad9; }
.pnx-vacio { color: var(--txt-mute, #8fa398); font-weight: 600; }

/* oficina: lo que ya tenía "Mi perfil", sin cajas */
.vs-p-oficina .wrap { width: 100%; }
.pnx-acc .profile-main { display: grid; gap: 22px; }
.pnx-acc .pf-acciones { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 6px 26px; margin-top: 4px; }
.pnx-acc .pf-act { background: none; border: 0; border-bottom: 1px solid rgba(255, 255, 255, .12); border-radius: 0; padding: 14px 6px; transition: transform .2s, border-color .2s, background .2s; }
.pnx-acc .pf-act:hover { transform: translateX(4px); background: linear-gradient(90deg, rgba(255, 255, 255, .06), transparent); border-color: var(--t1, var(--gold)); }
.pnx-acc .pf-act.destacada { border-bottom-color: var(--grass); background: linear-gradient(90deg, rgba(55, 194, 74, .12), transparent); }
.pnx-acc .pf-salir { justify-self: start; }


@media (max-width: 820px) {
  .vs-visor { height: min(86svh, 760px); min-height: 480px; }
  .vs-salas { left: 12px; right: 12px; bottom: 44px; justify-content: center; flex-wrap: wrap; } .vs-lugar { display: none; }
  .vs-guia { font-size: 11px; bottom: 12px; }
  .vs-bb-carta .pnx-tilt { --pw: 260px; }
  .vs-barra { flex-wrap: wrap; } .vs-tabs { order: 3; flex-basis: 100%; justify-content: flex-start; }
  .vs-dos, .vs-dos-attrs, .vs-mesa, .vs-sim, .vs-equipo-cab { grid-template-columns: 1fr; } .vs-equipo-cab { justify-items: center; text-align: center; }
  .vs-ev { grid-template-columns: 7.5em 1fr auto; }
  .vs-sim-carta { position: static; }
}
/* se apagan solo con el botón «Animaciones» del vestuario (ya no según Windows) */
.vs-quieto *, .vs-quieto .vs-panel * { animation: none !important; transition: none !important; }


/* ============================================================================
   Segunda pasada (21/11/2026): identidad Dioses League (negro, verde lima, azul),
   sin cajas, cursor de pelota, paneles con gráficos animados.
   ========================================================================= */
html.vs-activo, html.vs-activo body { overflow: hidden; }
html.vs-activo footer, html.vs-activo .site-footer, html.vs-activo #footer { display: none !important; }
:root { --lima: #8bff2e; --lima2: #5dd620; --azul: #3da9ff; }

/* el cursor de la página (la pelota) en todo el recorrido */
.vs-visor, .vs-bb-carta, .vs-panel { cursor: url("../img/cursor-pelota.png") 16 16, grab; }
.vs-pto, .vs-flecha, .vs-salas button, .vs-volver, .vs-tabs button, .vs-op, .vs-cta, .vs-jug, .vs-club, .vs-gran-escudo, .vs-saltar, .vs-mesa-campo, .vs-fam button, .vs-panel a, .vs-panel button { cursor: url("../img/cursor-pelota.png") 16 16, pointer; }
.vs-agarra, .vs-agarra * { cursor: url("../img/cursor-pelota.png") 16 16, grabbing !important; }
.vs-bb-cuerpo { pointer-events: auto; cursor: url("../img/cursor-pelota.png") 16 16, ew-resize; }
.vs-bb-cuerpo.gira { cursor: url("../img/cursor-pelota.png") 16 16, grabbing; }

/* encabezado: el nombre y, abajo, el equipo con su escudo (sin pastillas) */
.vs-titulo { padding-bottom: 90px; gap: 10px; }
.vs-ident { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 16px; pointer-events: auto; font-weight: 700; text-shadow: 0 2px 14px #000; }
.vs-club { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; transition: transform .25s; }
.vs-club:hover { transform: translateY(-2px); }
.vs-club .team-crest, .vs-club svg { width: 46px !important; height: auto !important; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .7)); }
.vs-club span { display: grid; text-align: left; line-height: 1.1; } .vs-club b { font: 800 clamp(16px, 1.5vw, 24px) "PNX Display", "Inter", sans-serif; letter-spacing: -.01em; } .vs-club small { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--lima); }
.vs-club:hover b { text-decoration: underline; text-decoration-color: var(--lima); text-underline-offset: 4px; }
.vs-sep { display: block; width: 2px; height: 28px; background: linear-gradient(transparent, var(--lima), transparent); opacity: .7; transform: skewX(-18deg); }
.vs-pos { font: 900 clamp(18px, 1.7vw, 28px) "PNX Display", sans-serif; letter-spacing: .06em; color: var(--azul); display: inline-flex; align-items: baseline; gap: 8px; } .vs-pos small { font: 700 13px "Inter", sans-serif; color: rgba(255, 255, 255, .8); letter-spacing: .06em; }
.vs-disc { font-size: 15px; color: rgba(255, 255, 255, .85); }
.vs-tag { font: 800 12px "Inter", sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--lima); display: inline-flex; align-items: center; gap: 7px; } .vs-tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 10px currentColor; } .vs-tag.pend { color: #ffd24d; } .vs-tag.ok { color: var(--lima); }
#ofertarSlot:empty { display: none; }

/* los puntos: solo el latido, sin rectángulo al pasar el mouse */
.vs-pto::before { display: none !important; }
.vs-ping { left: calc(50% + var(--dx, 0%)); top: calc(50% + var(--dy, 0%)); background: radial-gradient(circle at 35% 30%, #fff, var(--lima) 60%); box-shadow: 0 0 0 3px rgba(0, 0, 0, .5), 0 0 22px var(--lima); transition: transform .25s; }
.vs-ping::after { border-color: var(--lima); }
.vs-pto:hover .vs-ping, .vs-pto:focus-visible .vs-ping { transform: scale(1.35); }
.vs-etq { left: calc(50% + var(--dx, 0%)); top: calc(50% + var(--dy, 0%) + 20px); background: rgba(5, 8, 6, .72); box-shadow: 0 0 0 1px rgba(139, 255, 46, .5); }
.vs-etq em { color: var(--lima); }
.vs-pto-tv .vs-ping { margin-top: 0; }
.vs-flecha circle { stroke: var(--lima); } .vs-flecha:hover circle { fill: var(--lima); }

/* el jugador, firme: sin balanceo, se mueve solo si lo agarrás */
.vs-cuerpo { animation: none; transform: none; filter: drop-shadow(0 14px 12px rgba(0, 0, 0, .65)); transition: filter .2s; } .vs-bb-cuerpo:hover .vs-cuerpo { filter: drop-shadow(0 14px 12px rgba(0, 0, 0, .65)) drop-shadow(0 0 14px rgba(139, 255, 46, .55)); }
.vs-placa { display: none; }

/* pantallas dibujadas sobre las del vestuario y el túnel: texto luminoso, sin cuadro */
.vs-tv { background: none; box-shadow: none; border-radius: 0; text-shadow: 0 0 12px rgba(139, 255, 46, .8); }
.vs-tv b { color: var(--lima); }
.vs-pant { display: grid; align-content: center; justify-items: center; gap: 2px; padding: 8% 10%; overflow: hidden; }
.vs-pant svg { width: 100%; height: 52%; overflow: visible; } .vs-pant polyline { fill: none; stroke: var(--lima); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; filter: drop-shadow(0 0 5px var(--lima)); stroke-dasharray: 100; stroke-dashoffset: 100; animation: vsTrazo 4.5s ease-in-out infinite; } @keyframes vsTrazo { 0% { stroke-dashoffset: 100; } 60%, 100% { stroke-dashoffset: 0; } }
.vs-pant b { font: 800 clamp(7px, .8vw, 13px) "Inter", sans-serif; letter-spacing: .2em; color: var(--azul); } .vs-pant span { font: 900 clamp(14px, 1.9vw, 34px) "PNX Display", sans-serif; color: #fff; text-shadow: 0 0 14px rgba(139, 255, 46, .7); }
.vs-pizarra-ficha { box-shadow: 0 0 0 2px var(--lima), 0 4px 10px rgba(0, 0, 0, .5); }
.vs-carga { transition: opacity .7s; } .vs-carga.sale { opacity: 0; pointer-events: none; }
.vs-intro { display: none; }

/* HUD con la identidad nueva */
.vs-lugar b { background: linear-gradient(90deg, #fff, var(--lima)); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: none; filter: drop-shadow(0 2px 10px rgba(0, 0, 0, .8)); }
.vs-salas button.on { background: var(--lima); color: #07110b; }
.vs-volver, .vs-tabs button.on { background: var(--lima); }

/* ---------------- paneles ---------------- */
.vs-cuerpo-panel { min-height: 0; }
.vs-p { --lima: #8bff2e; }
.vs-cta { display: inline-flex; align-items: center; gap: 10px; border: 0; padding: 14px 26px; border-radius: 999px; text-decoration: none; font: 800 15px "Inter", sans-serif; color: #07110b; background: linear-gradient(90deg, var(--lima), #c8ff5a); box-shadow: 0 0 0 0 rgba(139, 255, 46, .6), 0 12px 30px -12px rgba(139, 255, 46, .8); transition: transform .2s, box-shadow .3s; clip-path: polygon(0 0, 100% 0, calc(100% - 14px) 100%, 0 100%); border-radius: 0; padding-right: 36px; }
.vs-cta i { font-style: normal; transition: transform .2s; } .vs-cta:hover { transform: translateX(4px); } .vs-cta:hover i { transform: translateX(5px); }
.vs-cta.suave { background: rgba(255, 255, 255, .09); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); }
.vs-h3-c { justify-content: center; } .vs-h3-c::before { content: ""; flex: 0 1 120px; height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .3)); } .vs-h3-c::after { flex: 0 1 120px; }

/* equipo */
.vs-equipo { display: grid; justify-items: center; text-align: center; gap: 14px; padding-top: 10px; }
.vs-equipo small { letter-spacing: .24em; text-transform: uppercase; font-weight: 800; color: var(--lima); }
.vs-equipo h2 { font-size: clamp(34px, 5vw, 86px); letter-spacing: -.04em; } .vs-equipo h2 a { color: #fff; text-decoration: none; background: linear-gradient(90deg, #fff, color-mix(in srgb, var(--tc) 60%, #fff)); -webkit-background-clip: text; background-clip: text; color: transparent; } .vs-equipo h2 a:hover { filter: brightness(1.2); }
.vs-gran-escudo { position: relative; display: grid; place-items: center; transition: transform .4s cubic-bezier(.2, .7, .2, 1); } .vs-gran-escudo:hover { transform: scale(1.06) rotate(-2deg); }
.vs-gran-escudo .team-crest, .vs-gran-escudo svg { width: clamp(150px, 16vw, 280px) !important; height: auto; position: relative; z-index: 1; filter: drop-shadow(0 24px 24px rgba(0, 0, 0, .6)); animation: vsFlotaS 6s ease-in-out infinite; }
@keyframes vsFlotaS { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.vs-halo { position: absolute; inset: -30%; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--tc) 60%, transparent), transparent 72%); animation: vsRespiraH 5s ease-in-out infinite; } @keyframes vsRespiraH { 0%, 100% { transform: scale(.9); opacity: .6; } 50% { transform: scale(1.1); opacity: 1; } }
.vs-cifras-c { margin: 8px 0 14px; }
.vs-plantel { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(18px, 2.4vw, 40px) clamp(18px, 2.6vw, 46px); }
.vs-jug { --ring: #9aa8b5; display: grid; justify-items: center; gap: 4px; width: clamp(92px, 8vw, 130px); text-decoration: none; color: #fff; animation: vsPop .6s cubic-bezier(.2, .9, .3, 1.2) both; animation-delay: calc(var(--i) * 45ms); transition: transform .25s; } .vs-jug:hover { transform: translateY(-8px); }
.vs-n-oro { --ring: #ffd24d; } .vs-n-plata { --ring: #dfe8f3; } .vs-n-bronce { --ring: #e0985a; } .vs-n-base { --ring: var(--azul); }
.vs-foto { position: relative; width: 100%; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 35% 28%, rgba(255, 255, 255, .2), rgba(255, 255, 255, .03)); box-shadow: 0 0 0 3px var(--ring), 0 0 26px -4px var(--ring); } .vs-jug.yo .vs-foto { box-shadow: 0 0 0 4px var(--lima), 0 0 34px var(--lima); }
.vs-foto img { width: 74%; height: 74%; object-fit: contain; image-rendering: pixelated; } .vs-foto em { position: absolute; right: -6px; bottom: -4px; font: 900 15px "PNX Display", sans-serif; font-style: normal; background: var(--ring); color: #0a0f0c; border-radius: 99px; padding: 2px 8px; }
.vs-jug b { font-size: 14px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .vs-jug small { color: var(--lima); font-weight: 800; letter-spacing: .1em; }
@keyframes vsPop { from { opacity: 0; transform: translateY(18px) scale(.8); } to { opacity: 1; transform: none; } }

/* medallas animadas */
.vs-medallas { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(18px, 3.4vw, 70px); }
.vs-medalla { position: relative; width: clamp(110px, 11vw, 190px); aspect-ratio: 1; display: grid; place-items: center; align-content: center; }
.vs-medalla svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); } .vs-medalla circle { fill: none; stroke-width: 7; stroke-linecap: round; } .vs-medalla .bg { stroke: rgba(255, 255, 255, .1); }
.vs-medalla .fg { stroke: var(--c); stroke-dasharray: 100; stroke-dashoffset: 100; filter: drop-shadow(0 0 7px var(--c)); animation: vsAnillo 1.6s cubic-bezier(.2, .7, .2, 1) .2s forwards; } @keyframes vsAnillo { to { stroke-dashoffset: calc(100 - var(--p)); } }
.vs-medalla b { font: 900 clamp(30px, 3.6vw, 62px)/1 "PNX Display", sans-serif; letter-spacing: -.03em; color: #fff; } .vs-medalla span { font-weight: 700; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
.vs-medalla::after { content: ""; position: absolute; inset: 8%; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--c) 18%, transparent), transparent); animation: vsRespiraH 4s ease-in-out infinite; }

/* barras contra la liga: la marca de la liga va abajo, fuera de la barra */
.vs-vs { margin-bottom: 26px; }
.vs-vs-t { display: flex; justify-content: space-between; margin-bottom: 8px; font-weight: 700; } .vs-vs-t b { font: 900 22px "PNX Display", sans-serif; color: var(--c); }
.vs-vs-pista { position: relative; height: 14px; border-radius: 99px; background: rgba(255, 255, 255, .07); }
.vs-vs-pista .yo { position: absolute; left: 0; top: 0; height: 100%; width: var(--w); border-radius: inherit; background: linear-gradient(90deg, color-mix(in srgb, var(--c) 45%, #000), var(--c)); box-shadow: 0 0 18px -2px var(--c); transform-origin: 0 50%; animation: vsBarra 1.2s cubic-bezier(.2, .7, .2, 1) calc(var(--i) * 120ms) both; }
.vs-vs-pista u { position: absolute; top: 100%; width: 0; height: 0; margin-top: 3px; border-left: 6px solid transparent; border-right: 6px solid transparent; border-bottom: 8px solid rgba(255, 255, 255, .75); transform: translateX(-6px); text-decoration: none; } .vs-vs-pista u s { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); text-decoration: none; white-space: nowrap; font-size: 11px; font-weight: 700; color: rgba(255, 255, 255, .7); }
.vs-vs-pista .lg { display: none; }
.vs-dona { background: conic-gradient(var(--lima) 0 var(--a), var(--azul) var(--a) var(--b), #ffd24d var(--b) 100%); filter: drop-shadow(0 0 16px rgba(139, 255, 46, .35)); }

/* gráficos */
.vs-grafs-fila { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 60px); }
.vs-graf { position: relative; }
.vs-graf-cab { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-bottom: 6px; } .vs-graf-cab span { font-weight: 800; letter-spacing: .14em; text-transform: uppercase; font-size: 12px; color: rgba(255, 255, 255, .7); } .vs-graf-cab b { font: 900 clamp(28px, 2.8vw, 48px)/1 "PNX Display", sans-serif; } .vs-graf-cab em { font-style: normal; font-weight: 800; } .vs-graf-cab .sube { color: var(--lima); } .vs-graf-cab .baja { color: #ff6b6b; }
.vs-graf svg { width: 100%; height: auto; aspect-ratio: 760 / 300; display: block; overflow: visible; }
.vs-rej line { stroke: rgba(255, 255, 255, .08); stroke-dasharray: 4 6; }
.vs-area { opacity: 0; animation: vsAparece 1.2s ease .9s forwards; } @keyframes vsAparece { to { opacity: 1; } }
.vs-linea-g { fill: none; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: vsDibuja 1.8s cubic-bezier(.4, 0, .2, 1) .2s forwards; vector-effect: non-scaling-stroke; } @keyframes vsDibuja { to { stroke-dashoffset: 0; } }
.vs-scan { fill: url(#vsscan); fill: rgba(139, 255, 46, .1); animation: vsBarreGraf 4.2s linear 2s infinite; transform: translateX(-80px); } @keyframes vsBarreGraf { from { transform: translateX(-80px); } to { transform: translateX(780px); } }
.vs-nodo circle { fill: #07110b; stroke: var(--lima); stroke-width: 3; opacity: 0; transform-box: fill-box; transform-origin: center; animation: vsPop .5s cubic-bezier(.2, .9, .3, 1.4) both; animation-delay: calc(.6s + var(--i) * 110ms); transition: r .15s; } .vs-nodo.ult circle:first-child { fill: var(--lima); } .vs-nodo.sel circle:first-child { fill: #fff; stroke-width: 5; }
.vs-nodo .onda { fill: none; stroke: var(--lima); animation: vsOndaG 2s ease-out 2s infinite; opacity: 0; } @keyframes vsOndaG { from { transform: scale(1); opacity: .9; } to { transform: scale(3.2); opacity: 0; } }
.vs-nodo text { fill: #fff; font: 800 15px "Inter", sans-serif; opacity: 0; animation: vsAparece .5s ease both; animation-delay: calc(.9s + var(--i) * 110ms); } .vs-nodo text.f { fill: rgba(255, 255, 255, .6); font-size: 12px; font-weight: 700; }
.vs-cruz { stroke: rgba(255, 255, 255, .35); stroke-width: 1; stroke-dasharray: 3 4; opacity: 0; transition: opacity .15s; } .vs-cruz.on { opacity: 1; }
.vs-tip { position: absolute; transform: translate(-50%, -150%); pointer-events: none; display: grid; justify-items: center; padding: 6px 12px; border-radius: 10px; background: rgba(5, 8, 6, .88); box-shadow: 0 0 0 1px rgba(139, 255, 46, .6), 0 10px 24px rgba(0, 0, 0, .6); white-space: nowrap; } .vs-tip[hidden] { display: none; } .vs-tip b { font: 900 18px "PNX Display", sans-serif; color: var(--lima); } .vs-tip span { font-size: 11px; color: rgba(255, 255, 255, .7); }
.vs-graf-pie { display: flex; justify-content: space-between; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .5); }
.vs-ruta-cab { text-align: center; margin-bottom: 14px; } .vs-ruta-cab .vs-sub { margin-inline: auto; }
.vs-ruta { max-width: min(1000px, 150vh); margin: 0 auto clamp(30px, 4vw, 70px); }
.vs-logros { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 34px; margin-top: clamp(24px, 3vw, 50px); }
.vs-logro { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; font-size: clamp(15px, 1.2vw, 20px); color: #fff; text-decoration: none; } .vs-logro i { font-style: normal; font-size: 26px; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: radial-gradient(circle at 30% 25%, rgba(255, 255, 255, .2), rgba(255, 255, 255, .03)); box-shadow: 0 0 0 2px rgba(255, 255, 255, .15); } .vs-logro.oro i { box-shadow: 0 0 0 2px #ffd24d, 0 0 26px rgba(255, 210, 77, .5); } .vs-logro.oro { color: #ffd24d; }

/* atributos: radar con barrido y medidores segmentados */
.vs-radar { position: relative; display: grid; place-items: center; }
.vs-radar svg { width: min(100%, clamp(300px, 32vw, 560px)); height: auto; position: relative; z-index: 1; overflow: visible; }
.vs-barrido { position: absolute; width: min(70%, 430px); aspect-ratio: 1; border-radius: 50%; background: conic-gradient(from 0deg, transparent 0 78%, rgba(139, 255, 46, .35) 100%); animation: vsGira 4.5s linear infinite; -webkit-mask: radial-gradient(circle, #000 0 66%, transparent 67%); mask: radial-gradient(circle, #000 0 66%, transparent 67%); } @keyframes vsGira { to { transform: rotate(360deg); } }
.vs-radar .anillo { fill: none; stroke: rgba(255, 255, 255, .14); stroke-width: 1; } .vs-radar .eje { stroke: rgba(255, 255, 255, .12); }
.vs-radar .vs-forma { stroke: var(--lima); stroke-width: 3; stroke-linejoin: round; filter: drop-shadow(0 0 14px rgba(139, 255, 46, .7)); transform-origin: 210px 210px; animation: vsForma 1.4s cubic-bezier(.2, 1.1, .3, 1) .2s both; } @keyframes vsForma { from { transform: scale(0); opacity: 0; } to { transform: none; opacity: 1; } }
.vs-radar .etq text { fill: rgba(255, 255, 255, .85); font: 800 13px "Inter", sans-serif; letter-spacing: .14em; }
.vs-vert circle { fill: #fff; stroke: var(--lima); stroke-width: 3; opacity: 0; animation: vsPop .5s ease both; animation-delay: calc(1s + var(--i) * 90ms); transform-box: fill-box; transform-origin: center; } .vs-vert text { fill: var(--lima); font: 900 16px "PNX Display", sans-serif; opacity: 0; animation: vsAparece .4s ease both; animation-delay: calc(1.1s + var(--i) * 90ms); }
.vs-gauges { display: grid; gap: clamp(14px, 1.6vw, 26px); }
.vs-gau { animation: vsEntraP .6s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(var(--r) * 90ms); }
.vs-gau-t { display: flex; align-items: baseline; gap: 12px; margin-bottom: 6px; } .vs-gau-t span { font-weight: 800; letter-spacing: .12em; text-transform: uppercase; font-size: 13px; color: rgba(255, 255, 255, .8); flex: 1; } .vs-gau-t b { font: 900 clamp(24px, 2.2vw, 38px)/1 "PNX Display", sans-serif; color: var(--cg, var(--lima)); text-shadow: 0 0 18px var(--cg, var(--lima)); } .vs-gau-t em { font-style: normal; min-width: 3em; }
.vs-gau.n-neon { --cg: #45e0ff; } .vs-gau.n-bien { --cg: #8bff2e; } .vs-gau.n-medio { --cg: #ffd24d; } .vs-gau.n-flojo { --cg: #ff9f43; } .vs-gau.n-malo { --cg: #ff5c5c; }
.vs-seg { position: relative; display: grid; grid-template-columns: repeat(20, 1fr); gap: 3px; padding-bottom: 20px; }
.vs-seg i { height: clamp(12px, 1vw, 18px); background: rgba(255, 255, 255, .08); transform: skewX(-18deg); border-radius: 2px; }
.vs-seg i.on { background: var(--cg); box-shadow: 0 0 10px -1px var(--cg); animation: vsEnciende .35s ease both; animation-delay: calc(var(--i) * 32ms + .3s); } @keyframes vsEnciende { from { opacity: 0; transform: skewX(-18deg) scaleY(.2); } to { opacity: 1; transform: skewX(-18deg); } }
.vs-seg u { position: absolute; top: calc(100% - 20px); width: 0; margin-top: 3px; border-left: 5px solid transparent; border-right: 5px solid transparent; border-bottom: 7px solid rgba(255, 255, 255, .8); transform: translateX(-5px); text-decoration: none; } .vs-seg u s { position: absolute; top: 9px; left: 50%; transform: translateX(-50%); text-decoration: none; white-space: nowrap; font-size: 10px; font-weight: 700; color: rgba(255, 255, 255, .6); }

/* cosméticos: las cartas de verdad */
.vs-cos, .vs-sim { display: grid; grid-template-columns: minmax(260px, 340px) 1fr; gap: clamp(26px, 5vw, 100px); align-items: start; }
.vs-cos-carta, .vs-sim-carta { position: sticky; top: 6px; display: grid; justify-items: center; gap: 16px; }
.vs-foco-c { position: absolute; inset: -20% -30% auto; height: 120%; background: radial-gradient(closest-side, rgba(139, 255, 46, .25), transparent 70%); pointer-events: none; animation: vsRespiraH 5s ease-in-out infinite; }
.vs-cos-carta > div, .vs-sim-pop { position: relative; animation: vsCartaFlota 6s ease-in-out infinite; filter: drop-shadow(0 30px 30px rgba(0, 0, 0, .6)); }
.vs-sim-pop { --pw: clamp(250px, 22vw, 360px); } .vs-sim-pop .pcard-new { --w: var(--pw); }
.vs-cos-items { display: flex; flex-wrap: wrap; gap: 26px 30px; margin: 22px 0 26px; }
.vs-cos-item { --rc: #9aa8b5; margin: 0; display: grid; gap: 10px; justify-items: center; animation: vsPop .6s cubic-bezier(.2, .9, .3, 1.2) both; animation-delay: calc(var(--i) * 90ms); }
.vs-cos-item.r-poco { --rc: #37c24a; } .vs-cos-item.r-raro { --rc: #45d3ff; } .vs-cos-item.r-epico { --rc: #b06bff; } .vs-cos-item.r-leg, .vs-cos-item.r-legendario { --rc: #ffd24d; } .vs-cos-item.r-celestial { --rc: #ff7ad9; }
.vs-cos-item .vs-mini { filter: drop-shadow(0 0 16px color-mix(in srgb, var(--rc) 55%, transparent)); transition: transform .3s; } .vs-cos-item:hover .vs-mini { transform: translateY(-8px) rotate(-1.5deg); }
.vs-cos-item figcaption { display: grid; text-align: center; max-width: 140px; } .vs-cos-item small { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--rc); font-weight: 800; } .vs-cos-item b { font-size: 13px; }
.vs-mini { position: relative; flex: none; overflow: hidden; border-radius: 14px; } .vs-mini .pcard-new { position: absolute; left: 0; top: 0; pointer-events: none; }
.vs-celestial { display: block; width: 90px; height: 140px; border-radius: 14px; background: conic-gradient(from 0deg, #ff7ad9, #45d3ff, #ffd24d, #ff7ad9); animation: vsGira 6s linear infinite; }

/* simulador */
.vs-fam { margin-top: 26px; } .vs-fam h4 { margin: 0 0 12px; font: 800 13px "Inter", sans-serif; letter-spacing: .16em; text-transform: uppercase; color: var(--lima); }
.vs-fila { display: flex; gap: 14px; overflow-x: auto; padding: 8px 4px 16px; scrollbar-width: thin; scroll-snap-type: x proximity; }
.vs-op { --rc: #9aa8b5; flex: none; scroll-snap-align: start; display: grid; justify-items: center; gap: 8px; width: 112px; padding: 6px 4px 10px; border: 0; background: none; color: #fff; border-radius: 14px; transition: transform .2s, background .2s; font: inherit; }
.vs-op:hover { transform: translateY(-6px); background: rgba(255, 255, 255, .06); } .vs-op.on { background: color-mix(in srgb, var(--rc) 22%, transparent); box-shadow: 0 0 0 2px var(--rc), 0 0 22px -4px var(--rc); }
.vs-op.r-poco { --rc: #37c24a; } .vs-op.r-raro { --rc: #45d3ff; } .vs-op.r-epico { --rc: #b06bff; } .vs-op.r-leg { --rc: #ffd24d; } .vs-op.r-celestial { --rc: #ff7ad9; }
.vs-op-m { display: block; width: 100px; height: 162px; border-radius: 12px; background: rgba(255, 255, 255, .05); } .vs-op b { font-size: 12px; line-height: 1.2; text-align: center; font-weight: 700; }

/* mesa táctica */
.vs-ayuda { display: flex; align-items: center; gap: 14px; margin: 10px 0 0; font-size: clamp(16px, 1.3vw, 21px); line-height: 1.4; color: rgba(255, 255, 255, .85); max-width: 40ch; } .vs-ayuda b { color: var(--lima); }
.vs-mano { flex: none; width: 46px; height: 46px; border-radius: 50%; background: rgba(139, 255, 46, .12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238bff2e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 13V5a1.5 1.5 0 0 1 3 0v6M11 10V4a1.5 1.5 0 0 1 3 0v7M14 10V6a1.5 1.5 0 0 1 3 0v8a6 6 0 0 1-6 6h-1a6 6 0 0 1-5-3l-2-3a1.5 1.5 0 0 1 2.4-1.8L8 14'/%3E%3C/svg%3E") center / 60% no-repeat; box-shadow: 0 0 0 2px rgba(139, 255, 46, .4); animation: vsMano 2.2s ease-in-out infinite; } @keyframes vsMano { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(8px, -6px); } }
.vs-escala { display: flex; align-items: center; gap: 12px; margin-top: 24px; font-size: 12px; letter-spacing: .08em; color: rgba(255, 255, 255, .7); } .vs-escala i { flex: 1; max-width: 240px; height: 8px; border-radius: 99px; background: linear-gradient(90deg, hsl(0 78% 46%), hsl(60 78% 46%), hsl(120 78% 46%)); }
.vs-leyenda.col { display: none; }

@media (max-width: 820px) {
  .vs-titulo { padding-bottom: 70px; } .vs-ident { gap: 4px 10px; } .vs-sep { height: 20px; }
  .vs-grafs-fila, .vs-cos, .vs-sim { grid-template-columns: 1fr; } .vs-cos-carta, .vs-sim-carta { position: static; }
  .vs-ruta { overflow-x: auto; } .vs-ruta .vs-graf { min-width: 560px; }
}
.vs-quieto .vs-linea-g { stroke-dashoffset: 0 !important; } .vs-quieto .vs-medalla .fg { stroke-dashoffset: calc(100 - var(--p)) !important; } .vs-quieto .vs-nodo circle, .vs-quieto .vs-nodo text, .vs-quieto .vs-area, .vs-quieto .vs-vert circle, .vs-quieto .vs-vert text { opacity: 1 !important; }

/* ------------------------------------------------------------------- Mi cuenta */
body[data-page="cuenta"] #cuenta { background: linear-gradient(180deg, rgba(8, 12, 10, .25) 0, rgba(8, 12, 10, .8) 420px, rgba(8, 12, 10, .88)); padding-bottom: 70px; }
body[data-page="cuenta"] #cuenta .market-head { text-align: center; animation: vsSube .8s cubic-bezier(.2, .7, .2, 1) both; }
body[data-page="cuenta"] #cuenta .market-head h1 { font-family: "PNX Display", "Inter", sans-serif; letter-spacing: -.04em; }
body[data-page="cuenta"] #cuenta .block > .panel { max-width: 640px; margin-inline: auto; background: rgba(12, 18, 15, .62); backdrop-filter: none; box-shadow: 0 30px 70px -34px rgba(0, 0, 0, .9); animation: vsSube .9s cubic-bezier(.2, .7, .2, 1) .15s both; }
@media (min-width: 1900px) { body[data-page="cuenta"] #cuenta .block > .panel { max-width: 760px; } }
@media (prefers-reduced-motion: reduce) { body[data-page="cuenta"] #cuenta .market-head, body[data-page="cuenta"] #cuenta .block > .panel { animation: none !important; } }

/* ===== tercera pasada: decorados de las fotos nuevas ===== */
.vs-tv { display: grid; align-content: center; gap: 6%; padding: 4% 5%; text-shadow: 0 0 14px rgba(139, 255, 46, .85); background: none; }
.vs-tv > b { font: 800 clamp(8px, .9vw, 15px) "Inter", sans-serif; letter-spacing: .22em; text-transform: uppercase; color: var(--lima); text-align: center; grid-column: auto; }
.vs-tv-f { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6%; }
.vs-tv-f span { position: relative; display: grid; justify-items: center; padding-bottom: 12%; }
.vs-tv-f em { font: 900 clamp(14px, 2.1vw, 40px)/1 "PNX Display", sans-serif; font-style: normal; color: #fff; }
.vs-tv-f u { text-decoration: none; font: 800 clamp(6px, .6vw, 11px) "Inter", sans-serif; letter-spacing: .16em; color: var(--azul); }
.vs-tv-f span::after { content: ""; position: absolute; left: 8%; bottom: 0; height: 5px; width: calc(var(--w) * .84%); min-width: 6%; border-radius: 9px; background: linear-gradient(90deg, var(--lima), var(--azul)); box-shadow: 0 0 10px var(--lima); animation: vsBarra 1.4s cubic-bezier(.2, .7, .2, 1) both; transform-origin: 0 50%; }
.vs-meta { display: grid; justify-items: center; align-content: center; pointer-events: none; animation: vsFlotaS 4.5s ease-in-out infinite; text-shadow: 0 0 22px rgba(139, 255, 46, .9), 0 6px 14px rgba(0, 0, 0, .8); }
.vs-meta em { font: 900 clamp(26px, 4.4vw, 82px)/1 "PNX Display", sans-serif; font-style: normal; background: linear-gradient(180deg, #fff, var(--lima)); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 14px rgba(139, 255, 46, .6)); }
.vs-meta u { text-decoration: none; font: 800 clamp(8px, .9vw, 15px) "Inter", sans-serif; letter-spacing: .3em; color: #fff; }
.vs-escudo-flota { display: grid; place-items: center; pointer-events: none; animation: vsFlotaS 5s ease-in-out infinite; }
.vs-escudo-flota::before { content: ""; position: absolute; inset: -45%; border-radius: 50%; background: radial-gradient(closest-side, rgba(139, 255, 46, .4), rgba(139, 255, 46, 0)); animation: vsRespiraH 4s ease-in-out infinite; }
.vs-escudo-flota .team-crest, .vs-escudo-flota svg { position: relative; width: 100% !important; height: auto !important; filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .7)); }
.vs-pant { background: none; }
.vs-pant span { text-shadow: 0 0 16px rgba(139, 255, 46, .8); }
.vs-tv { grid-template-columns: 1fr; }
.vs-tv > b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }


/* ===== cuarta pasada: cada panel entra en una pantalla, sin Matrix, con neón y mucho hover ===== */
.vs-cuerpo-panel { display: flex; flex-direction: column; padding: clamp(8px, 2vh, 26px) 0; }
.vs-p { margin: auto; width: min(1500px, 94vw); }
.vs-p h2 { font-size: clamp(24px, 2.7vw, 46px); }
.vs-h3 { margin: 0 0 clamp(8px, 1.4vh, 16px); font-size: clamp(15px, 1.3vw, 22px); }

/* equipo: escudo a la izquierda, plantel completo a la derecha */
.vs-eq { display: grid; grid-template-columns: minmax(260px, .8fr) 1.5fr; gap: clamp(20px, 4vw, 80px); align-items: center; }
.vs-eq .vs-equipo { gap: clamp(6px, 1.2vh, 14px); padding: 0; } .vs-eq .vs-equipo h2 { font-size: clamp(24px, 3vw, 52px); }
.vs-eq .vs-gran-escudo .team-crest, .vs-eq .vs-gran-escudo svg { width: clamp(110px, 24vh, 240px) !important; }
.vs-eq .vs-cifra b { font-size: clamp(26px, 3.6vh + 1vw, 54px); }
.vs-plantel { display: grid; grid-template-columns: repeat(auto-fill, minmax(clamp(78px, 10vh, 112px), 1fr)); gap: clamp(8px, 1.8vh, 20px) clamp(8px, 1.2vw, 18px); }
.vs-plantel .vs-jug { width: auto; } .vs-jug small { font-size: 10.5px; }
.vs-jug .vs-foto { transition: box-shadow .25s, transform .25s; } .vs-jug:hover .vs-foto { transform: scale(1.12); box-shadow: 0 0 0 3px var(--ring), 0 0 38px var(--ring); }

/* estadísticas */
.vs-stats { display: grid; gap: clamp(8px, 1.8vh, 24px); }
.vs-stats .vs-medallas { gap: clamp(14px, 3vw, 54px); }
.vs-medalla { width: clamp(76px, 12.5vh, 132px); transition: transform .3s cubic-bezier(.2, .9, .3, 1.3); }
.vs-medalla::after { display: none; } .vs-medalla svg { overflow: visible; filter: none; inset: -6%; width: 112%; height: 112%; }
.vs-medalla .fg { filter: drop-shadow(0 0 6px var(--c)); transition: stroke-width .25s; }
.vs-med-glow { position: absolute; inset: -16%; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--c) 30%, transparent), transparent); opacity: .55; transition: opacity .3s, transform .3s; pointer-events: none; }
.vs-medalla:hover { transform: translateY(-6px) scale(1.08); } .vs-medalla:hover .vs-med-glow { opacity: 1; transform: scale(1.15); } .vs-medalla:hover .fg { stroke-width: 10; }
.vs-medalla b { font-size: clamp(22px, 3.3vh + .6vw, 46px); }
.vs-stats-mid { display: grid; grid-template-columns: 1.3fr .8fr .8fr; gap: clamp(16px, 3vw, 60px); align-items: center; }
.vs-vs { margin-bottom: clamp(10px, 2vh, 20px); transition: transform .2s; } .vs-vs:hover { transform: translateX(6px); }
.vs-vs-pista { height: 12px; } .vs-vs-pista u { top: -3px; margin: 0; width: 3px; height: 18px; border: 0; border-radius: 2px; background: #fff; box-shadow: 0 0 10px #fff; transform: translateX(-1.5px); }
.vs-donas { display: grid; justify-items: center; gap: 10px; }
.vs-dona-w { position: relative; width: clamp(116px, 20vh, 190px); aspect-ratio: 1; display: grid; place-items: center; }
.vs-dona-glow { position: absolute; inset: -18%; border-radius: 50%; background: radial-gradient(closest-side, rgba(139, 255, 46, .28), rgba(61, 169, 255, .12) 60%, transparent); animation: vsRespiraH 5s ease-in-out infinite; pointer-events: none; }
.vs-dona { filter: none !important; width: 100%; position: absolute; inset: 0; transition: transform .4s cubic-bezier(.2, .9, .3, 1.3); } .vs-dona-w:hover .vs-dona { transform: rotate(40deg) scale(1.05); }
.vs-dona-t { position: relative; display: grid; justify-items: center; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; } .vs-dona-t b { font: 900 clamp(24px, 3vh + .6vw, 44px)/1 "PNX Display", sans-serif; letter-spacing: 0; }
.vs-puestos .vs-ranks { display: grid; grid-template-columns: repeat(2, auto); gap: clamp(8px, 1.6vh, 16px) clamp(16px, 2vw, 34px); justify-content: start; }
.vs-rank b { font-size: clamp(22px, 3vh + .5vw, 40px); } .vs-rank { transition: transform .25s; } .vs-rank:hover { transform: scale(1.12); }
.vs-grafs { margin-top: 2px; } .vs-grafs-fila { gap: clamp(16px, 3vw, 50px); }

/* gráficos: columnas finas + línea neón con orbe que la recorre (nada de barridos) */
.vs-graf svg { aspect-ratio: auto; height: auto; }
.vs-scan { display: none; }
.vs-col { opacity: 0; transform-box: fill-box; transform-origin: 50% 100%; animation: vsCrece .9s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(.15s + var(--i) * 70ms); } @keyframes vsCrece { from { opacity: 0; transform: scaleY(0); } to { opacity: 1; transform: none; } }
.vs-orbe { fill: #fff; filter: drop-shadow(0 0 6px #b6ff3c) drop-shadow(0 0 14px #3da9ff); }
.vs-nodo { cursor: crosshair; } .vs-nodo .halo { fill: rgba(139, 255, 46, 0); transition: fill .2s; } .vs-nodo:hover .halo, .vs-nodo.sel .halo { fill: rgba(139, 255, 46, .28); }
.vs-graf-pie { display: none; }

/* atributos: radar sin barrido, con brillo suave; medidores con marca de liga discreta */
.vs-radar-glow { position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(139, 255, 46, .22), rgba(61, 169, 255, .1) 60%, transparent); animation: vsRespiraH 5s ease-in-out infinite; pointer-events: none; }
.vs-radar svg { width: min(100%, clamp(260px, 56vh, 540px)); }
.vs-radar .vs-forma { animation: vsForma 1.2s cubic-bezier(.2, 1.1, .3, 1) .15s both, vsLatido 4s ease-in-out 1.6s infinite; } @keyframes vsLatido { 0%, 100% { opacity: 1; } 50% { opacity: .82; } }
.vs-vert .ha { fill: transparent; } .vs-vert circle:not(.ha) { transition: r .2s, fill .2s; } .vs-vert:hover circle:not(.ha) { r: 10; fill: #d9ff6a; } .vs-vert { cursor: pointer; }
.vs-gau { transition: transform .2s; } .vs-gau:hover { transform: translateX(6px); } .vs-gau:hover .vs-seg i.on { filter: brightness(1.35); }
.vs-seg { padding-bottom: 0; }
.vs-seg u { top: -5px; bottom: auto; margin: 0; width: 3px; height: calc(100% + 10px); border: 0; border-radius: 2px; background: #fff; box-shadow: 0 0 10px #fff; transform: translateX(-1.5px); }
.vs-seg u s { top: auto; bottom: calc(100% + 6px); background: rgba(5, 8, 6, .85); padding: 3px 8px; border-radius: 8px; opacity: 0; transition: opacity .2s; color: #fff; font-size: 11px; }
.vs-gau:hover .vs-seg u s { opacity: 1; }
.vs-gauges { gap: clamp(10px, 2.2vh, 22px); }

/* trayectoria */
.vs-tray { display: grid; gap: clamp(8px, 2vh, 22px); } .vs-tray .vs-ruta { margin: 0 auto; width: 100%; max-width: min(1000px, 150vh); }
.vs-tray-pie { display: grid; justify-items: center; gap: clamp(8px, 1.6vh, 18px); } .vs-tray .vs-logros { margin-top: 0; }
.vs-logro { transition: transform .2s; } .vs-logro:hover { transform: translateY(-3px); }

/* simulador: un sector a la vez, cartas grandes */
.vs-sim { grid-template-columns: minmax(240px, 330px) 1fr; }
.vs-sim-pop { --pw: clamp(220px, 42vh, 330px); }
.vs-fams { display: flex; flex-wrap: wrap; gap: 4px 26px; margin: 16px 0 6px; }
.vs-fam-b { position: relative; border: 0; background: none; color: rgba(255, 255, 255, .55); font: 800 14px "Inter", sans-serif; letter-spacing: .06em; padding: 8px 0; transition: color .2s; }
.vs-fam-b small { margin-left: 6px; font-size: 10px; color: var(--lima); } .vs-fam-b:hover { color: #fff; }
.vs-fam-b::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--lima), var(--azul)); box-shadow: 0 0 12px var(--lima); transform: scaleX(0); transition: transform .3s cubic-bezier(.2, .9, .3, 1.2); } .vs-fam-b.on { color: #fff; } .vs-fam-b.on::after { transform: scaleX(1); }
.vs-fam-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 18px 12px; max-height: calc(100vh - 300px); overflow-y: auto; padding: 8px 6px 20px; scrollbar-width: thin; }
.vs-op { width: auto; animation: vsPop .45s cubic-bezier(.2, .9, .3, 1.2) both; animation-delay: calc(var(--k) * 40ms); }
.vs-op-m { width: 132px; height: 214px; background: none; } .vs-op b { font-size: 12.5px; }

@media (max-width: 820px) {
  .vs-eq, .vs-stats-mid { grid-template-columns: 1fr; }
  .vs-cuerpo-panel { display: block; } .vs-p { margin: 0 auto; }
}

/* ===== quinta pasada: el panel mide la ventana, no su contenido ===== */
.vs-panel { height: 100vh; height: 100dvh; max-height: 100dvh; }
.vs-cuerpo-panel { min-height: 0; overflow-y: auto; }

/* ===== sexta pasada ===== */
html.vs-abierto .nav-gala-globo { display: none !important; }
.vs-medalla { width: clamp(70px, 11vh, 120px); }

/* ===== séptima pasada: el simulador sin recuadros ===== */
.vs-op { box-shadow: none; background: none; } .vs-op:hover { background: none; }
.vs-op:hover .vs-mini { filter: drop-shadow(0 0 16px color-mix(in srgb, var(--rc) 70%, transparent)); transform: translateY(-4px); }
.vs-op .vs-mini { transition: transform .25s, filter .25s; }
.vs-op.on { background: none; box-shadow: none; } .vs-op.on .vs-mini { filter: drop-shadow(0 0 18px var(--rc)) drop-shadow(0 0 4px var(--rc)); transform: translateY(-6px) scale(1.04); } .vs-op.on b { color: var(--rc); }

/* ===== octava pasada: el recorrido sin los rieles laterales del sitio ===== */
html.vs-activo .rd-riel { display: none !important; }

/* ===== novena pasada: separadores finos también en celular ===== */
.vs-sep { flex: 0 0 2px; width: 2px !important; min-width: 2px; }
@media (max-width: 820px) {
  .vs-ident { gap: 6px 12px; } .vs-sep { display: none; }
  .vs-club .team-crest, .vs-club svg { width: 38px !important; }
}

/* ===== décima pasada: etiquetas más chicas en celular ===== */
@media (hover: none) { .vs-etq { padding: 3px 9px; } .vs-etq b { font-size: 11px; } .vs-etq em { display: none; } }

/* ===== undécima pasada: la cancha de la mesa táctica entra entera en la ventana ===== */
.vs-mesa { grid-template-columns: auto 1fr; justify-content: center; }
.vs-mesa-campo { height: calc(100vh - 140px); height: calc(100dvh - 140px); width: auto; aspect-ratio: 100 / 140; max-width: 44vw; }
@media (max-width: 820px) { .vs-mesa { grid-template-columns: 1fr; } .vs-mesa-campo { height: auto; width: 100%; max-width: 100%; } }

/* ===== duodécima pasada ===== */
.vs-mesa-campo { height: calc(100vh - 175px); height: calc(100dvh - 175px); }

/* ===== ronda 22/11: estadio recto con hinchada, túnel con pantallas propias, espirales, camino y marco hexagonal ===== */
.vs-h1 { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; margin: 0 0 clamp(6px, 1.4vh, 16px); font: 900 clamp(26px, 3.2vw, 52px)/1 "PNX Display", "Inter", sans-serif; letter-spacing: -.035em; background: linear-gradient(90deg, #fff, var(--lima) 70%, var(--azul)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.vs-h1 small { font: 800 clamp(12px, 1vw, 16px) "Inter", sans-serif; letter-spacing: .22em; text-transform: uppercase; color: rgba(255, 255, 255, .6); -webkit-text-fill-color: rgba(255, 255, 255, .6); }

/* campo: hinchada teñida con los colores del club */
.vs-hinchada { pointer-events: none; }
.vs-hinchada img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; filter: saturate(.85) brightness(.92); }
.vs-hinchada .tinte { position: absolute; inset: 0; background: linear-gradient(180deg, var(--tc), color-mix(in srgb, var(--tc) 70%, var(--tc2))); mix-blend-mode: multiply; -webkit-mask: url("../img/vestuario/hinchada.png") center / 100% 100% no-repeat; mask: url("../img/vestuario/hinchada.png") center / 100% 100% no-repeat; }
.vs-hinchada.flip img, .vs-hinchada.flip .tinte { transform: scaleX(-1); }
.vs-hinchada::after { content: ""; position: absolute; inset: 0; animation: vsHinchaSalta 1.6s ease-in-out infinite; }
.vs-hinchada img, .vs-hinchada .tinte { animation: vsHinchaSalta 1.7s ease-in-out infinite; transform-origin: 50% 100%; }
.vs-hinchada.flip img, .vs-hinchada.flip .tinte { animation-name: vsHinchaSaltaF; animation-delay: -.8s; }
@keyframes vsHinchaSalta { 0%, 100% { transform: translateY(0) scaleY(1); } 50% { transform: translateY(-2.5%) scaleY(1.02); } }
@keyframes vsHinchaSaltaF { 0%, 100% { transform: scaleX(-1) translateY(0) scaleY(1); } 50% { transform: scaleX(-1) translateY(-2.5%) scaleY(1.02); } }
.vs-banderines { pointer-events: none; } .vs-banderines svg { width: 100%; height: 100%; overflow: visible; }
.vs-ban { transform-box: fill-box; transform-origin: 50% 0; animation: vsOndea 2.4s ease-in-out infinite; animation-delay: calc(var(--i) * -140ms); } @keyframes vsOndea { 0%, 100% { transform: rotate(-5deg); } 50% { transform: rotate(5deg); } }
.vs-banner { pointer-events: none; display: grid; justify-items: center; transform-origin: 50% 0; }
.vs-banner-t { position: absolute; inset: 0; display: grid; align-content: start; justify-items: center; gap: 6%; padding: 14% 8% 0; background: linear-gradient(180deg, var(--tc), color-mix(in srgb, var(--tc) 55%, #000)); clip-path: polygon(0 0, 100% 0, 100% 88%, 50% 100%, 0 88%); box-shadow: inset 0 0 0 3px var(--tc2); animation: vsBannerOndea 5s ease-in-out infinite; transform-origin: 50% 0; }
@keyframes vsBannerOndea { 0%, 100% { transform: skewX(-1.5deg); } 50% { transform: skewX(1.5deg); } }
.vs-banner-t .team-crest, .vs-banner-t svg { width: 78% !important; height: auto !important; filter: drop-shadow(0 3px 5px rgba(0, 0, 0, .6)); }
.vs-banner-t b { font: 900 clamp(8px, .9vw, 15px) "PNX Display", sans-serif; letter-spacing: .12em; color: var(--tc2); text-shadow: 0 1px 4px rgba(0, 0, 0, .6); }
.vs-entrena { pointer-events: none; } .vs-entrena img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: 50% 100%; animation: vsEntrena 2.2s ease-in-out infinite; animation-delay: var(--d, 0s); filter: drop-shadow(0 3px 3px rgba(0, 0, 0, .5)); transform-origin: 50% 100%; }
.vs-entrena.flip img { transform: scaleX(-1); animation-name: vsEntrenaF; }
@keyframes vsEntrena { 0%, 100% { transform: translateY(0) rotate(-1.5deg); } 50% { transform: translateY(-3%) rotate(1.5deg); } }
@keyframes vsEntrenaF { 0%, 100% { transform: scaleX(-1) translateY(0) rotate(-1.5deg); } 50% { transform: scaleX(-1) translateY(-3%) rotate(1.5deg); } }

/* cartel con los números (contenedor: el tipo de letra escala con el tamaño del cartel) */
.vs-meta, .vs-tv, .vs-pant { container-type: inline-size; }
.vs-meta em { font-size: 32cqw; } .vs-meta u { font-size: 8.5cqw; }
.vs-meta.pronto em { background: linear-gradient(180deg, #fff, var(--azul)); -webkit-background-clip: text; background-clip: text; filter: drop-shadow(0 0 12px rgba(61, 169, 255, .7)); letter-spacing: .1em; } .vs-meta.pronto u { color: var(--azul); }
.vs-pto.soon .vs-ping { background: radial-gradient(circle at 35% 30%, #fff, var(--azul) 60%); box-shadow: 0 0 0 3px rgba(0, 0, 0, .5), 0 0 20px var(--azul); } .vs-pto.soon .vs-ping::after { border-color: var(--azul); } .vs-pto.soon { cursor: url("../img/cursor-pelota.png") 16 16, not-allowed; }

/* túnel: letrero de la puerta y pantallas */
.vs-letrero { pointer-events: none; } .vs-letrero img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 0 14px rgba(139, 255, 46, .6)); animation: vsNeon 6s linear infinite; }
.vs-pant { display: grid; align-content: center; justify-items: center; gap: 3cqw; padding: 6cqw; text-align: center; overflow: hidden; background: none; }
.vs-pant small { font: 800 7.5cqw "Inter", sans-serif; letter-spacing: .24em; color: var(--azul); text-shadow: 0 0 10px rgba(61, 169, 255, .8); }
.vs-pant em { font: 900 36cqw/1 "PNX Display", sans-serif; font-style: normal; color: #fff; text-shadow: 0 0 22px rgba(139, 255, 46, .9), 0 0 4px #fff; }
.vs-pant u { text-decoration: none; font: 800 8.5cqw "Inter", sans-serif; letter-spacing: .3em; color: var(--lima); }
.vs-debut { font-style: normal; font: 700 7cqw "Inter", sans-serif; letter-spacing: .16em; color: rgba(255, 255, 255, .75); }
.vs-pant-f { display: flex; gap: 12cqw; } .vs-pant-f span { display: grid; justify-items: center; } .vs-pant-f em { font-size: 30cqw; }
.vs-estrella { font-style: normal; font: 800 7.5cqw "Inter", sans-serif; letter-spacing: .24em; color: #ffd24d; text-shadow: 0 0 10px rgba(255, 210, 77, .8); }
.vs-pant polyline, .vs-pant svg { display: none; }

/* vestuario: la tele */
.vs-tv { gap: 4cqw; padding: 3cqw 4cqw; } .vs-tv > b { font-size: 6.5cqw; }
.vs-tv-f { gap: 3cqw; } .vs-tv-f em { font-size: 15cqw; } .vs-tv-f u { font-size: 5cqw; } .vs-tv-f span { padding-bottom: 7cqw; }
.vs-tv-f span::after { height: 2.4cqw; width: calc(var(--w) * .84%); }

/* estadísticas: tres columnas y espirales */
.vs-stats-mid { grid-template-columns: 1.05fr .62fr 1.5fr; align-items: center; }
.vs-vsliga .vs-ranks { margin-top: clamp(4px, 1vh, 12px); display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 4px clamp(12px, 1.6vw, 28px); }
.vs-medallas { gap: clamp(12px, 2.4vw, 44px); } .vs-stats .vs-medalla { width: clamp(64px, 10vh, 108px); }
.vs-espirales { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(8px, 1.6vw, 28px); }
.vs-espiral { position: relative; width: 100%; aspect-ratio: 1; max-height: 30vh; justify-self: center; }
.vs-espiral svg { position: relative; width: 100%; height: 100%; overflow: visible; }
.vs-esp-glow { position: absolute; inset: 8%; border-radius: 50%; background: radial-gradient(closest-side, rgba(139, 255, 46, .2), rgba(61, 169, 255, .1) 60%, transparent); animation: vsRespiraH 5s ease-in-out infinite; pointer-events: none; }
.vs-esp-anillos circle { fill: none; stroke: rgba(255, 255, 255, .1); stroke-dasharray: 2 7; } .vs-esp-marcas line { stroke: rgba(139, 255, 46, .35); stroke-width: 1.4; }
.vs-esp-c { position: absolute; inset: 0; display: grid; align-content: center; justify-items: center; pointer-events: none; text-align: center; }
.vs-esp-c small { font: 800 clamp(8px, .8vw, 12px) "Inter", sans-serif; letter-spacing: .22em; text-transform: uppercase; color: rgba(255, 255, 255, .65); }
.vs-esp-c b { font: 900 clamp(16px, 2vw, 32px)/1.05 "PNX Display", sans-serif; color: #fff; text-shadow: 0 0 18px rgba(139, 255, 46, .7); } .vs-esp-c em { font-style: normal; font-weight: 800; font-size: clamp(10px, .9vw, 14px); } .vs-esp-c .sube { color: var(--lima); } .vs-esp-c .baja { color: #ff6b6b; }
.vs-espiral .vs-tip { transform: translate(-50%, -140%); }

/* atributos: marco hexagonal holográfico que se inclina */
.vs-dos-attrs { grid-template-columns: minmax(280px, 1fr) 1.2fr; align-items: center; }
.vs-radar { perspective: 1000px; display: grid; place-items: center; }
.vs-radar-in { --rx: 0deg; --ry: 0deg; position: relative; width: min(100%, calc((100vh - 190px) * 1.06)); aspect-ratio: 900 / 847; transform: rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .25s ease-out; transform-style: preserve-3d; animation: vsFlotaS 6s ease-in-out infinite; }
.vs-hexfr { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; pointer-events: none; filter: drop-shadow(0 0 24px rgba(61, 169, 255, .35)); transform: translateZ(10px); }
.vs-radar-in svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; transform: translateZ(40px); }
.vs-radar-glow { inset: 14%; width: auto; aspect-ratio: auto; border-radius: 50%; transform: translateZ(0); }
.vs-radar .anillo { fill: none; stroke: rgba(255, 255, 255, .12); stroke-width: 1.5; } .vs-radar .eje { stroke: rgba(255, 255, 255, .12); stroke-width: 1.5; }
.vs-radar .etq text { fill: rgba(255, 255, 255, .9); font: 800 22px "Inter", sans-serif; letter-spacing: .14em; }
.vs-radar .vs-vert text { font-size: 30px; } .vs-radar .vs-forma { stroke-width: 5; }
.vs-vert.sel circle:not(.ha) { r: 17; fill: #e2ff7a; }
.vs-radar-media { position: absolute; left: 50%; top: 50%; translate: -50% -50%; display: grid; justify-items: center; pointer-events: none; transform: translateZ(60px); opacity: .0; }
.vs-radar-media small { font: 800 clamp(9px, .8vw, 12px) "Inter", sans-serif; letter-spacing: .24em; color: rgba(255, 255, 255, .7); } .vs-radar-media b { font: 900 clamp(26px, 3.4vw, 56px)/1 "PNX Display", sans-serif; color: #fff; text-shadow: 0 0 22px rgba(139, 255, 46, .8); }
.vs-radar:hover .vs-radar-media { opacity: 1; transition: opacity .3s; }

/* trayectoria: el camino con sus estaciones */
.vs-camino { position: relative; width: 100%; max-width: 1180px; margin: clamp(6px, 2vh, 24px) auto; }
.vs-camino-in { position: relative; width: 100%; aspect-ratio: 1000 / 300; max-height: 46vh; margin: 0 auto; }
.vs-camino-in svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.vs-ruta-base { fill: none; stroke: rgba(255, 255, 255, .09); stroke-width: 14; stroke-linecap: round; }
.vs-est { position: absolute; translate: -50% -50%; display: grid; justify-items: center; animation: vsPop .6s cubic-bezier(.2, .9, .3, 1.3) both; animation-delay: calc(.4s + var(--i) * 160ms); }
.vs-est-p { width: 20px; height: 20px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, var(--lima) 60%); box-shadow: 0 0 0 4px rgba(0, 0, 0, .5), 0 0 20px var(--lima); transition: transform .25s; } .vs-est:hover .vs-est-p { transform: scale(1.5); }
.vs-est-c { position: absolute; display: grid; justify-items: center; text-align: center; width: max-content; max-width: 190px; transition: transform .25s; }
.vs-est.arriba .vs-est-c { bottom: 22px; } .vs-est.abajo .vs-est-c { top: 22px; } .vs-est:hover .vs-est-c { transform: scale(1.1); }
.vs-est-c small { font: 800 11px "Inter", sans-serif; letter-spacing: .22em; text-transform: uppercase; color: var(--azul); }
.vs-est-c b { display: inline-flex; align-items: center; gap: 8px; font: 900 clamp(26px, 3vw, 50px)/1.05 "PNX Display", sans-serif; color: #fff; text-shadow: 0 0 20px rgba(139, 255, 46, .55); }
.vs-est-esc .team-crest, .vs-est-esc svg { width: clamp(30px, 3vw, 46px) !important; height: auto !important; }
.vs-est-c > span { font-weight: 700; font-size: clamp(12px, 1vw, 15px); color: rgba(255, 255, 255, .85); } .vs-est-c em { font-style: normal; font-size: 12px; color: var(--lima); }
.vs-medallas-s .vs-medalla { width: clamp(64px, 10vh, 104px); }

/* equipo: un toque de los colores del club */
.vs-eq::before { content: ""; position: absolute; left: -4%; top: -6%; width: 46%; height: 112%; background: radial-gradient(closest-side, color-mix(in srgb, var(--tc) 22%, transparent), transparent); pointer-events: none; z-index: -1; }
.vs-eq { position: relative; isolation: isolate; }
.vs-eq .vs-cta { background: linear-gradient(90deg, var(--tc), color-mix(in srgb, var(--tc) 55%, #fff)); color: #07110b; }
.vs-eq .vs-cifra b { color: color-mix(in srgb, var(--tc) 55%, #fff); }
.vs-eq .vs-equipo small { color: color-mix(in srgb, var(--tc) 60%, #fff); }

@media (max-width: 820px) {
  .vs-stats-mid, .vs-dos-attrs { grid-template-columns: 1fr; } .vs-espirales { grid-template-columns: 1fr 1fr; }
}

/* ===== ronda 22/11 (2): la hinchada se funde con la tribuna ===== */
.vs-hinchada { -webkit-mask-image: linear-gradient(180deg, #000 0, #000 62%, transparent 96%); mask-image: linear-gradient(180deg, #000 0, #000 62%, transparent 96%); }
.vs-hinchada img { filter: saturate(.8) brightness(.88) contrast(1.05); }

/* ===== ronda 22/11 (3): los carteles usan unidades de contenedor solo en sus hijos (el propio contenedor no puede) ===== */
.vs-pant { gap: 0; padding: 0; }
.vs-pant > * { margin: 1.6cqw 0; } .vs-pant small { margin-top: 5cqw; }
.vs-tv { gap: 0; padding: 0; } .vs-tv > b { margin: 3cqw 4cqw 2cqw; } .vs-tv-f { margin: 0 4cqw; }

/* ===== ronda 22/11 (4): encabezado en una sola línea para no tapar los carteles de las fotos ===== */
@media (min-width: 1000px) {
  .vs-titulo { display: flex; flex-direction: row; align-items: center; justify-content: center; flex-wrap: nowrap; gap: clamp(14px, 2vw, 34px); padding: 8px 16px 46px; }
  .vs-titulo h1 { font-size: clamp(20px, 2.1vw, 36px); flex: none; white-space: nowrap; }
  .vs-titulo h1 img, .vs-titulo h1 svg { height: .7em; width: auto; }
  .vs-ident { flex-wrap: nowrap; gap: 10px 14px; white-space: nowrap; }
  .vs-club .team-crest, .vs-club svg { width: 34px !important; } .vs-club b { font-size: clamp(14px, 1.1vw, 19px); } .vs-pos { font-size: clamp(16px, 1.3vw, 22px); } .vs-disc { font-size: 13px; }
}

/* ===== ronda 22/11 (5): espirales más grandes y panel de estadísticas aprovecha la altura ===== */
.vs-espiral { max-height: 36vh; } .vs-esp-c b { font-size: clamp(15px, 1.7vw, 28px); }
.vs-stats { gap: clamp(10px, 2.4vh, 30px); } .vs-stats .vs-medalla { width: clamp(66px, 11vh, 116px); }

/* ===== ronda 22/11 (6): el radar dentro del marco ===== */
.vs-dos-attrs { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
.vs-radar-in { width: min(100%, 58vh); }
.vs-radar .vs-forma { transform-origin: 450px 424px; transform-box: view-box; }
.vs-gauges { min-width: 0; }

/* ===== mundo 3D de bloques (22/11): el menú flota sobre la escena y la escena ocupa toda la pantalla ===== */
body[data-page="jugador"] .nav, body[data-page="perfil"] .nav { position: fixed !important; top: 0; left: 0; right: 0; background: linear-gradient(180deg, rgba(3, 8, 6, .8), rgba(3, 8, 6, 0)) !important; border: 0 !important; box-shadow: none !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
body[data-page="jugador"] .rd-fondo, body[data-page="perfil"] .rd-fondo { display: none !important; }
.vs-visor { height: 100vh; height: 100dvh; }
.vs-lienzo { touch-action: none; }
@media (min-width: 1000px) { .vs-titulo { padding-top: 78px; } }
@media (max-width: 999px) { .vs-titulo { padding-top: 74px; } }
.vs-pto.d3 { width: 44px; height: 44px; margin: 0; }
.vs-pto.d3 .vs-ping { left: 50%; top: 50%; }
.vs-pto.d3 .vs-etq { left: 50%; top: calc(50% + 24px); }
.vs-anclas.vs-viaja > * { opacity: 0; pointer-events: none; }
.vs-anclas > * { transition: opacity .35s; }
.vs-bb-carta { pointer-events: auto; }

/* ===== mundo 3D (2): el panel respeta el menú y ya no usa las fotos viejas de fondo ===== */
.vs-panel { padding-top: 64px; }
.vs-panel[data-sala] { background: radial-gradient(70% 55% at 50% 0%, color-mix(in srgb, var(--cc) 26%, #0c1310), #04070a 78%); }

/* sonido */
.vs-sonido{width:38px;height:38px;border-radius:50%;border:1px solid rgba(141,255,42,.4);background:rgba(8,14,10,.8);color:#fff;font-size:16px;cursor:pointer;margin-left:6px}.vs-sonido:hover{background:rgba(141,255,42,.2)}

/* ===== mundo 3D: botones de interacción con forma de insignia (arte de Higgsfield) ===== */
.vs-pto.d3 { width: 58px; height: 64px; margin: 0; filter: drop-shadow(0 0 10px rgba(42, 155, 255, .7)) drop-shadow(0 0 16px rgba(55, 255, 90, .35)); transition: filter .25s; }
.vs-pto.d3 .vs-ping { display: none; }
.vs-pto.d3 .vs-ico { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: scale .25s cubic-bezier(.2, .8, .2, 1); pointer-events: none; animation: vs-flota 3s ease-in-out infinite; }
.vs-pto.d3::before { display: block !important; content: ""; position: absolute; inset: -9px; border-radius: 50%; border: 2px solid rgba(110, 255, 150, .85); opacity: 0; animation: vs-onda 2.4s ease-out infinite; pointer-events: none; background: none; box-shadow: none; }
.vs-pto.d3:hover, .vs-pto.d3:focus-visible { filter: drop-shadow(0 0 14px rgba(110, 255, 150, .95)) drop-shadow(0 0 26px rgba(42, 155, 255, .8)); }
.vs-pto.d3:hover .vs-ico, .vs-pto.d3:focus-visible .vs-ico { scale: 1.16; }
.vs-pto.d3 .vs-etq { top: calc(100% + 8px); background: linear-gradient(135deg, rgba(4, 16, 31, .92), rgba(4, 23, 12, .92)); box-shadow: inset 0 0 0 1px rgba(110, 255, 150, .5), 0 0 16px rgba(42, 155, 255, .35); }
.vs-pto.d3.soon { filter: grayscale(.6) brightness(.8); } .vs-pto.d3.soon .vs-ico { animation: none; } .vs-pto.d3.soon::before { display: none !important; }
@keyframes vs-flota { 0%, 100% { transform: translateY(-3px); } 50% { transform: translateY(3px); } }
@keyframes vs-onda { 0% { transform: scale(.7); opacity: .85; } 100% { transform: scale(1.5); opacity: 0; } }

/* ===== flechas del piso: insignia de Higgsfield, acostada sobre el suelo ===== */
.vs-flecha .vs-fl-ico { width: 78px; height: auto; display: block; transform: perspective(240px) rotateX(52deg); filter: drop-shadow(0 0 12px rgba(55, 255, 90, .75)) drop-shadow(0 0 22px rgba(42, 155, 255, .55)); transition: transform .3s, filter .25s; animation: vsFlechaRebota 1.8s ease-in-out infinite; pointer-events: none; }
.vs-flecha:hover .vs-fl-ico { transform: perspective(240px) rotateX(52deg) scale(1.18); filter: drop-shadow(0 0 16px rgba(120, 255, 160, 1)) drop-shadow(0 0 28px rgba(42, 155, 255, .8)); }

/* ===== Mi cuenta (23/11): pase, bits, seguidos, foro y chat en un solo sector ===== */
.vs-cuenta { display: grid; grid-template-rows: auto 1fr; gap: clamp(10px, 2vh, 22px); height: 100%; min-height: 0; }
.vs-cu-grid { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: minmax(0, 1fr); gap: clamp(10px, 1.6vw, 22px); min-height: 0; }
.vs-cu-t { position: relative; display: flex; flex-direction: column; min-height: 0; padding: clamp(14px, 1.6vw, 22px); border-radius: 18px; background: linear-gradient(160deg, rgba(8, 20, 44, .86), rgba(4, 22, 14, .86)); box-shadow: inset 0 0 0 1px rgba(110, 200, 255, .22), 0 10px 30px rgba(0, 0, 0, .35); overflow: hidden; }
.vs-cu-t::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: linear-gradient(90deg, #2a9bff, #37ff5a); }
.vs-cu-t header { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.vs-cu-t h3 { margin: 0; font: 900 clamp(14px, 1.15vw, 19px) "Inter", sans-serif; letter-spacing: .04em; text-transform: uppercase; color: #fff; }
.vs-cu-t header a { font: 800 12px "Inter", sans-serif; color: #7dffa0; text-decoration: none; white-space: nowrap; } .vs-cu-t header a:hover { text-decoration: underline; }
.vs-cu-c { flex: 1; min-height: 0; overflow: auto; display: grid; align-content: start; gap: 8px; scrollbar-width: thin; }
.vs-cu-pase { grid-column: span 3; } .vs-cu-bits { grid-column: span 3; } .vs-cu-seguidos { grid-column: span 2; } .vs-cu-foro { grid-column: span 2; } .vs-cu-chat { grid-column: span 2; }
.vs-cu-vacio, .vs-cu-txt, .vs-cu-sub { margin: 0; font: 600 13px/1.4 "Inter", sans-serif; color: rgba(255, 255, 255, .72); } .vs-cu-sub b { color: #fff; }
.vs-cu-nivel { display: flex; align-items: center; gap: 14px; } .vs-cu-nivel > b { font: 900 clamp(38px, 4vw, 64px)/1 "PNX Display", "Inter", sans-serif; background: linear-gradient(180deg, #fff, #7dffa0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.vs-cu-nivel > span { display: grid; font: 900 13px "Inter", sans-serif; letter-spacing: .12em; text-transform: uppercase; color: #fff; } .vs-cu-nivel > span small { font-weight: 700; color: rgba(255, 255, 255, .6); letter-spacing: .06em; }
.vs-cu-barra { flex: 1; height: 12px; border-radius: 99px; background: rgba(255, 255, 255, .1); overflow: hidden; } .vs-cu-barra i { display: block; height: 100%; width: var(--w); border-radius: inherit; background: linear-gradient(90deg, #2a9bff, #37ff5a); box-shadow: 0 0 14px rgba(55, 255, 90, .6); }
.vs-cu-prox { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); } .vs-cu-prox img { width: 56px; height: 56px; object-fit: contain; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .5)); }
.vs-cu-prox small { display: block; font: 700 11px "Inter", sans-serif; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .6); } .vs-cu-prox b { font: 900 16px "Inter", sans-serif; color: #fff; }
.vs-cu-bits { }
.vs-cu-bits .vs-cu-c > .vs-cu-bits, .vs-cu-c .vs-cu-bits { display: flex; align-items: center; gap: 12px; } .vs-cu-c .vs-cu-bits img { width: 64px; height: 64px; object-fit: contain; } .vs-cu-c .vs-cu-bits b { font: 900 clamp(34px, 3.6vw, 56px)/1 "PNX Display", "Inter", sans-serif; color: #ffd24d; text-shadow: 0 0 18px rgba(255, 210, 77, .45); } .vs-cu-c .vs-cu-bits span { font: 800 13px "Inter", sans-serif; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
.vs-cu-chips { display: flex; flex-wrap: wrap; gap: 8px; } .vs-cu-chip { padding: 6px 12px; border-radius: 99px; font: 800 12px "Inter", sans-serif; color: #fff; text-decoration: none; background: rgba(42, 155, 255, .18); box-shadow: inset 0 0 0 1px rgba(110, 200, 255, .4); transition: background .2s, transform .2s; } .vs-cu-chip:hover { background: rgba(55, 255, 90, .22); transform: translateY(-1px); }
.vs-cu-hilos { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; } .vs-cu-hilos a { display: grid; padding: 8px 10px; border-radius: 10px; text-decoration: none; background: rgba(255, 255, 255, .05); transition: background .2s; } .vs-cu-hilos a:hover { background: rgba(55, 255, 90, .14); } .vs-cu-hilos b { font: 800 13px "Inter", sans-serif; color: #fff; } .vs-cu-hilos small { font: 600 11px "Inter", sans-serif; color: rgba(255, 255, 255, .6); }
.vs-cu-btn { justify-self: start; padding: 10px 18px; border: 0; border-radius: 99px; font: 900 13px "Inter", sans-serif; color: #04140a; cursor: pointer; background: linear-gradient(90deg, #37ff5a, #8dff2a); box-shadow: 0 0 18px rgba(55, 255, 90, .45); transition: transform .2s; } .vs-cu-btn:hover { transform: translateY(-2px); }
@media (max-width: 1000px) { .vs-cu-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: auto; } .vs-cu-t, .vs-cu-pase, .vs-cu-bits, .vs-cu-seguidos, .vs-cu-foro, .vs-cu-chat { grid-column: span 2; } .vs-cuenta { height: auto; } }

/* ===== radar de atributos: los nombres no se pierden contra el marco hexagonal ===== */
.vs-radar .etq text { paint-order: stroke; stroke: #02101c; stroke-width: 7px; stroke-linejoin: round; font-weight: 900; fill: #fff; }
.vs-radar .vs-vert text { paint-order: stroke; stroke: #02101c; stroke-width: 6px; stroke-linejoin: round; }

/* ===== medallas: el rótulo entra dentro del círculo, sin cruzar el aro ===== */
.vs-medalla span { font-size: clamp(8px, .66vw, 11px); letter-spacing: .04em; max-width: 78%; text-align: center; line-height: 1.1; white-space: nowrap; text-shadow: 0 1px 6px rgba(0, 0, 0, .8); }

/* ===== celular: TICKET y AYUDA (fijos abajo a la derecha) no tapan la barra de salas ni la ayuda ===== */
@media (max-width: 820px) {
  .vs-hud .vs-salas { bottom: 84px !important; }
  .vs-hud .vs-guia { left: 12px !important; right: auto !important; width: 222px; bottom: 18px !important; padding: 0 !important; text-align: left !important; font-size: 11px; line-height: 1.3; }
}

/* ronda 4: botones del mundo mas chicos para no tapar la escena */
.vs-pto.d3 { width: 40px; height: 44px; }
.vs-flecha .vs-fl-ico { width: 52px; opacity: .92; }
.vs-pto.d3::before { inset: -6px; }

/* ronda 5: la carta y la skin 3D viven en el overlay (carta a la izquierda, skin a la derecha) */
.vs-hud > .vs-bb-carta { left: clamp(14px, 2.4vw, 40px); bottom: calc(clamp(60px, 7vw, 90px) + 70px); pointer-events: auto; }
.vs-hud .vs-bb-carta .pnx-tilt { --pw: 190px; }
.vs-hud > .vs-skin3d { right: clamp(14px, 2.4vw, 40px); bottom: calc(clamp(60px, 7vw, 90px) + 54px); width: 150px; height: 240px; pointer-events: auto; cursor: grab; touch-action: none; }
.vs-hud > .vs-skin3d:active { cursor: grabbing; }
@media (max-width: 760px) { .vs-hud > .vs-bb-carta, .vs-hud > .vs-skin3d { display: none !important; } }

/* sonido: botón centrado + barra de volumen que se despliega hacia arriba */
.vs-sonwrap{position:relative;margin-left:6px;display:inline-flex}
.vs-sonwrap .vs-sonido{margin:0;padding:0;display:flex;align-items:center;justify-content:center;line-height:0}
.vs-sonwrap .vs-sonido svg{display:block;width:18px;height:18px;flex:none}
.vs-sonbar{position:absolute;left:50%;bottom:100%;transform:translate(-50%,6px);padding:0 0 10px;opacity:0;pointer-events:none;transition:.18s}
.vs-sonwrap:hover .vs-sonbar,.vs-sonwrap:focus-within .vs-sonbar{opacity:1;pointer-events:auto;transform:translate(-50%,0)}
.vs-sonbar::before{content:"";position:absolute;inset:0 0 10px;border-radius:19px;background:rgba(8,14,10,.88);border:1px solid rgba(141,255,42,.4)}
.vs-sonrango{position:relative;-webkit-appearance:none;appearance:none;writing-mode:vertical-lr;direction:rtl;width:6px;height:110px;margin:12px 16px;background:linear-gradient(to top,#8dff2a var(--p,50%),rgba(255,255,255,.2) var(--p,50%));border-radius:4px;outline:none;cursor:pointer}
.vs-sonrango::-webkit-slider-thumb{-webkit-appearance:none;width:14px;height:14px;border-radius:50%;background:#fff;border:2px solid #8dff2a}
.vs-sonrango::-moz-range-thumb{width:12px;height:12px;border-radius:50%;background:#fff;border:2px solid #8dff2a}

/* flechas del piso del túnel: la de volver apunta hacia atrás y las dos muestran su nombre */
.vs-flecha.atras .vs-fl-ico { transform: perspective(240px) rotateX(52deg) rotate(180deg); }
.vs-flecha.atras:hover .vs-fl-ico { transform: perspective(240px) rotateX(52deg) rotate(180deg) scale(1.18); }
.vs-flecha.fija span { opacity: 1; }

/* botones del piso: aro y dibujo son UNA sola imagen pintada en el suelo (se aplastan juntos). --d = ancho del aro, lo calcula app.js */
.vs-flecha.piso, .vs-pto.d3.piso { --c: 55, 255, 90; display: block; width: var(--d, 60px); height: calc(var(--d, 60px) * .56); filter: none; border-radius: 50%; }
.vs-flecha.piso.azul, .vs-pto.d3.piso.azul { --c: 42, 155, 255; }
.vs-pto.d3.piso::before { display: none !important; }
.vs-medalla { position: absolute; left: 0; top: 50%; width: var(--d, 60px); height: var(--d, 60px); margin-top: calc(var(--d, 60px) / -2); transform: scaleY(.56); border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(var(--c), .06) 0 44%, rgba(var(--c), .3) 70%);
  box-shadow: 0 0 0 calc(var(--d, 60px) * .035) rgb(var(--c)), 0 0 0 calc(var(--d, 60px) * .13) rgba(var(--c), .17), 0 0 calc(var(--d, 60px) * .22) calc(var(--d, 60px) * .05) rgba(var(--c), .55), inset 0 0 calc(var(--d, 60px) * .12) rgba(var(--c), .8);
  transition: transform .25s cubic-bezier(.2, .8, .2, 1), filter .25s; animation: vs-aro 2.4s ease-in-out infinite; }
.vs-flecha.piso .vs-medalla .vs-fl-ico, .vs-pto.d3.piso .vs-medalla .vs-ico { position: absolute; inset: 14%; width: 72%; height: 72%; object-fit: contain; opacity: 1; animation: none; transform: none; scale: 1; filter: none; transition: none; }
.vs-flecha.piso.atras .vs-medalla .vs-fl-ico { transform: rotate(180deg); }
.vs-flecha.piso:hover .vs-medalla, .vs-flecha.piso:focus-visible .vs-medalla, .vs-pto.d3.piso:hover .vs-medalla, .vs-pto.d3.piso:focus-visible .vs-medalla { transform: scale(1.12, .627); filter: brightness(1.3); }
@keyframes vs-aro { 0%, 100% { filter: brightness(1); } 50% { filter: brightness(1.18); } }
.vs-flecha.piso span { position: absolute; left: 50%; top: calc(100% + var(--d, 60px) * .09 + 4px); translate: -50% 0; }
.vs-pto.d3.piso .vs-etq { top: calc(100% + var(--d, 60px) * .09 + 4px); }
@media (max-width: 600px) { .vs-pto.d3.piso .vs-etq { top: calc(100% + 30px); } }

/* ===== botones propios del recorrido (27/11): escudo del club, pelota, cabeza de la skin ===== */
.vs-pto.d3 .vs-ico-club, .vs-pto.d3 .vs-medalla .vs-ico-club { display: grid; place-items: center; container-type: size; }
.vs-ico-club > * { width: 100cqmin !important; height: 100cqmin !important; }
.vs-pto.d3 .vs-ico-skin { image-rendering: pixelated; border-radius: 22%; padding: 3px; background: linear-gradient(135deg, #2a9bff, #37ff5a); }
.vs-miskin { height: clamp(110px, 24vh, 240px); width: auto; align-self: flex-start; justify-self: start; object-fit: contain; filter: drop-shadow(0 12px 18px rgba(0, 0, 0, .55)); }
.vs-tabs button { display: inline-flex; align-items: center; gap: 7px; }
.vs-tab-ico { display: grid; place-items: center; width: 22px; height: 22px; flex: none; container-type: size; }
.vs-tab-ico .vs-ico { width: 22px; height: 22px; object-fit: contain; display: grid; place-items: center; }
.vs-tab-ico .vs-ico-skin { image-rendering: pixelated; border-radius: 5px; }
/* el nombre de cada botón se lee siempre (no hace falta pasar el mouse para saber qué es) y el dibujo es más grande */
.vs-pto.d3:not(.piso) { width: 74px; height: 74px; }
.vs-pto.d3 .vs-etq { opacity: 1; transform: translate(-50%, 0); }
.vs-pto.d3 .vs-etq em { display: none; }
.vs-pto.d3:hover .vs-etq em, .vs-pto.d3:focus-visible .vs-etq em { display: block; }
@media (max-width: 600px) { .vs-pto.d3:not(.piso) { width: 50px; height: 50px; } }

/* ===== botones que forman parte de la escena (27/11): lo integrado solo aparece si se navega con teclado;
   la pelota del punto penal es el botón y abajo lleva su nombre ===== */
.vs-pto.d3.vs-integrado { opacity: 0; pointer-events: none; }
.vs-pto.d3.vs-integrado:focus-visible { opacity: 1; }
.vs-pto.d3.fisico:not(.piso) { width: 96px; height: 80px; filter: none; }
.vs-pto.d3.fisico::before { display: none !important; }
.vs-pto.d3.fisico .vs-etq { top: calc(100% - 4px); }

/* los apartados nuevos usan todo el ancho y su propio fondo (assets/css/perfil-paneles.css) */
.vs-p:has(> .p3) { width: min(1500px, 95vw); margin: 0 auto; animation: none; transform: none; }
.vs-cuerpo-panel:has(> .vs-p:not([hidden]) > .p3) { display: block; }
.vs-tabs { flex-wrap: wrap; }

/* la pestaña activa se veía cortada: la fila de pestañas ya no recorta lo que sobresale (27/11) */
.vs-barra .vs-tabs { overflow: visible; padding: 7px 4px; row-gap: 8px; }
.vs-barra .vs-tabs button { position: relative; line-height: 1.25; transform: none; }
.vs-barra .vs-tabs button.on { box-shadow: 0 0 0 1px rgba(190, 255, 200, .9), 0 0 16px rgba(55, 255, 90, .45); outline: none; }
.vs-barra .vs-tabs button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

/* 28/11: seguir / amigo en la cabecera del perfil ajeno */
.vs-social { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; pointer-events: auto; }
.vs-social:empty { display: none; }

/* ===== 28/11: Tus skins con fondo propio y la coleccion con filtros ===== */
.vs-p[data-p="cos"] { position: relative; isolation: isolate; }
.vs-p[data-p="cos"]::before { content: ""; position: absolute; inset: -30px -4vw; z-index: -1; border-radius: 34px; background: radial-gradient(70% 55% at 20% 8%, rgba(75,123,255,.32), transparent 70%), radial-gradient(60% 50% at 88% 30%, rgba(55,194,74,.22), transparent 70%), linear-gradient(180deg, rgba(6,12,26,.82), rgba(4,8,18,.94)), url("/assets/img/perfil3/ruta.webp") center / cover no-repeat; box-shadow: inset 0 0 0 1px rgba(130,180,255,.2); }
.vs-coleccion { margin-top: 34px; }
.vs-col-cab { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-bottom: 14px; }
.vs-col-cab h3 { margin: 0; font: 900 30px "HankenV", "Helvetica Neue", Helvetica, Arial, sans-serif; text-transform: uppercase; color: #fff; }
.vs-col-cab > span { font: 700 14px "Inter", sans-serif; color: #a9bcdc; } .vs-col-cab > span b { font-size: 20px; color: #8cff9d; }
.vs-col-modo { display: flex; gap: 4px; margin-left: auto; padding: 4px; border-radius: 99px; background: rgba(255,255,255,.07); }
.vs-col-modo button, .vs-col-filtros button { border: 0; border-radius: 99px; cursor: pointer; font: 800 13px "Inter", sans-serif; color: #b9c9e6; background: none; }
.vs-col-modo button { padding: 8px 16px; } .vs-col-modo button.on { color: #04140a; background: linear-gradient(135deg, #8cff9d, #37c24a); }
.vs-col-filtros { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.vs-col-filtros button { display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(150,190,255,.22); transition: transform .2s, background .2s; }
.vs-col-filtros button:hover { transform: translateY(-2px); color: #fff; } .vs-col-filtros button small { font-size: 11px; color: #7f95ba; }
.vs-col-filtros button.on { color: #fff; background: linear-gradient(135deg, rgba(75,123,255,.55), rgba(40,190,220,.4)); box-shadow: inset 0 0 0 1px rgba(150,220,255,.85); } .vs-col-filtros button.on small { color: #dff6ff; }
.vs-col-grid { display: flex; flex-wrap: wrap; gap: 24px 22px; }
.vs-col-grid .vs-cos-item { animation-delay: calc(var(--i) * 35ms); } .vs-col-grid .vs-cos-item > div { min-width: 132px; min-height: 212px; }
.vs-col-grid .vs-cos-item.falta .vs-mini { filter: grayscale(.85) brightness(.55); }
.vs-col-grid .vs-cos-item.puesto figcaption b::after { content: "Puesto"; display: block; margin: 3px auto 0; width: max-content; padding: 2px 10px; border-radius: 99px; font: 800 10px "Inter", sans-serif; letter-spacing: .1em; text-transform: uppercase; color: #04140a; background: #8cff9d; }

/* 28/11: acceso a Mi equipo siempre a la vista en el perfil (presidentes y admins) */
.vs-mieq { position: absolute; left: 50%; bottom: 4px; translate: -50% 0; z-index: 3; pointer-events: auto; display: inline-flex; align-items: center; gap: 9px; padding: 7px 18px 7px 10px; border-radius: 99px; white-space: nowrap; text-decoration: none; text-shadow: none; color: #1b1300; background: linear-gradient(135deg, #ffe58a, #f7c948 60%, #eda92c); box-shadow: 0 10px 26px -10px #000, 0 0 22px -6px rgba(247,201,72,.8); transition: transform .18s, filter .18s; }
.vs-mieq:hover { transform: translateY(-2px); filter: brightness(1.07); }
.vs-mieq > img, .vs-mieq > svg, .vs-mieq > span { width: 26px; height: 26px; flex: none; }
.vs-mieq b { font: 900 14px "Inter", sans-serif; } .vs-mieq i { font-style: normal; font-weight: 900; font-size: 18px; line-height: 1; }
.vs-mieq > b:first-child { padding-left: 8px; }
/* 28/11: los accesos del perfil (Mi equipo y panel de scout) van juntos */
.vs-accesos { position: absolute; left: 50%; bottom: 4px; translate: -50% 0; z-index: 3; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; width: max-content; max-width: calc(100vw - 20px); }
.vs-accesos .vs-mieq { position: static; translate: none; }
.vs-miscout { color: #fff !important; background: linear-gradient(135deg, #3d6fe0, #6a48d8) !important; box-shadow: 0 10px 26px -10px #000, 0 0 22px -6px rgba(110,140,255,.9) !important; }
.vs-miscout em { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; font: 900 13px "Inter", sans-serif; font-style: normal; color: #1b1300; background: linear-gradient(135deg, #ffe58a, #eda92c); }
