/* =====================================================================
   ARENA (V2) — skills: frontend-design (tokens + un único momento memorable) · game-ui-design · game-ui-ux
   Tokens: azul #3f8cff · rojo #ff4b4b · dinero #7dffa8 · tinta var(--v2-ink)
   El único elemento "ruidoso" es el marcador gigante de fin de ronda; el resto es sobrio y no tapa el centro.
   ===================================================================== */
:root { --ar-blue: #3f8cff; --ar-red: #ff4b4b; --ar-cash: #7dffa8; }
.ar-root { position: absolute; inset: 0; pointer-events: none; }
/* pips de vivos bajo el marcador: rombos (forma, no sólo color) */
.ar-pips { position: absolute; top: 52px; left: 50%; transform: translateX(-50%); display: flex; gap: 120px; scale: var(--ui); transform-origin: center top; }
.ar-team { display: flex; gap: 5px; }
.ar-team.blue { flex-direction: row-reverse; }
.ar-team i { width: 11px; height: 11px; transform: rotate(45deg); background: var(--ar-blue); box-shadow: 0 0 0 1.5px rgba(0, 0, 0, .55); transition: opacity .25s, transform .25s; }
.ar-team.red i { background: var(--ar-red); }
.ar-team i.dead { background: transparent; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .45); transform: rotate(45deg) scale(.8); }
.ar-team i.me { outline: 2px solid #fff; outline-offset: 1px; }
.ar-hist { position: absolute; top: 70px; left: 50%; transform: translateX(-50%); display: flex; gap: 2px; scale: var(--ui); transform-origin: center top; }
.ar-hist i { width: 14px; height: 3px; background: rgba(255, 255, 255, .18); }
.ar-hist i.blue { background: var(--ar-blue); } .ar-hist i.red { background: var(--ar-red); }
.ts-time.ar-buying b { color: var(--ar-cash); }

/* fase de compra */
.ar-buy { position: absolute; top: 88px; left: 50%; transform: translate(-50%, -8px); display: flex; align-items: center; gap: 14px; padding: 6px 16px; opacity: 0;
  background: var(--v2-ink); clip-path: polygon(10px 0, calc(100% - 10px) 0, 100% 100%, 0 100%); transition: opacity .25s, transform .25s; white-space: nowrap; }
.ar-buy.on { opacity: 1; transform: translate(-50%, 0); }
.ar-buy b { font-size: 17px; font-weight: 800; letter-spacing: 2px; color: var(--ar-cash); }
.ar-buy .ar-t { font-size: 22px; font-weight: 800; min-width: 1.4em; text-align: center; font-variant-numeric: tabular-nums; }
.ar-buy span { font-size: 14px; font-weight: 700; letter-spacing: 1px; color: #d6dcea; display: inline-flex; align-items: center; gap: 5px; }
.ar-buy kbd, .ar-wallet kbd, .ar-spec kbd, .sh-cats kbd, .sh-foot kbd { font: 700 11px var(--body); padding: 1px 5px; border-radius: 3px; background: #fff; color: #111; }

/* cartera: dinero + blindaje + venda (sobre la vida) */
.ar-wallet { position: absolute; left: max(22px, env(safe-area-inset-left)); bottom: 78px; display: flex; align-items: center; gap: 12px; scale: var(--ui); transform-origin: left bottom; }
.ar-wallet > b { font-size: 26px; font-weight: 800; color: #fff; text-shadow: 0 2px 4px rgba(0, 0, 0, .8); font-variant-numeric: tabular-nums; display: inline-block; }
.ar-armor, .ar-band { display: none; align-items: center; gap: 4px; font-weight: 800; font-size: 18px; color: #9fd3ff; text-shadow: 0 1px 3px #000; }
.ar-armor.on, .ar-band.on { display: inline-flex; }
.ar-armor svg { width: 18px; height: 18px; } .ar-armor i { font-style: normal; font-variant-numeric: tabular-nums; }
.ar-band svg { width: 22px; height: 22px; color: #f1e6d0; } .ar-band.healing svg { animation: v2beat .6s infinite; }
.ar-pops { position: absolute; left: max(22px, env(safe-area-inset-left)); bottom: 112px; display: flex; flex-direction: column-reverse; gap: 2px; scale: var(--ui); transform-origin: left bottom; }
.ar-pop { display: flex; align-items: baseline; gap: 8px; animation: arPop 1.9s cubic-bezier(.2, 1.4, .4, 1) forwards; }
.ar-pop b { color: var(--ar-cash); font-size: 19px; font-weight: 800; text-shadow: 0 1px 3px #000; font-variant-numeric: tabular-nums; }
.ar-pop small { font-size: 12px; font-weight: 700; letter-spacing: 1px; color: #cfd6e2; text-shadow: 0 1px 2px #000; }
@keyframes arPop { 0% { opacity: 0; transform: translateX(-14px); } 12% { opacity: 1; transform: none; } 75% { opacity: 1; } 100% { opacity: 0; transform: translateY(-10px); } }

/* cartel de ronda */
.ar-round { position: absolute; left: 50%; top: 24%; transform: translateX(-50%); text-align: center; animation: arRound 2.6s cubic-bezier(.2, 1, .3, 1) forwards; }
.ar-round small { display: block; font-size: 13px; font-weight: 700; letter-spacing: 3px; color: #cfd6e2; }
.ar-round b { display: block; font-size: 64px; font-weight: 900; font-style: italic; line-height: .95; letter-spacing: 1px; color: #fff; text-shadow: 0 4px 0 rgba(0, 0, 0, .45); }
.ar-round span { display: inline-block; margin-top: 4px; font-size: 15px; font-weight: 800; letter-spacing: 3px; padding: 2px 12px; background: var(--v2-ink); color: var(--v2-gold); }
@keyframes arRound { 0% { opacity: 0; transform: translateX(-50%) scale(1.5); filter: blur(6px); } 12% { opacity: 1; transform: translateX(-50%) scale(1); filter: none; } 82% { opacity: 1; } 100% { opacity: 0; transform: translateX(-50%) translateY(-14px); } }

/* MARCADOR GIGANTE de fin de ronda (el momento memorable) */
.ar-result { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -58%); text-align: center; pointer-events: none; }
.ar-result::before { content: ''; position: absolute; left: 50%; top: 50%; width: 140vw; height: 190px; transform: translate(-50%, -50%) skewY(-4deg); background: linear-gradient(90deg, transparent, rgba(4, 8, 14, .78) 25%, rgba(4, 8, 14, .78) 75%, transparent); z-index: -1; animation: arBand .45s cubic-bezier(.2, 1, .3, 1) both; }
.ar-result.win::before { box-shadow: inset 0 3px 0 var(--ar-cash), inset 0 -3px 0 var(--ar-cash); }
.ar-result.lose::before { box-shadow: inset 0 3px 0 var(--ar-red), inset 0 -3px 0 var(--ar-red); }
.ar-res-k { font-size: 22px; font-weight: 900; letter-spacing: 8px; animation: arUp .4s .05s both; }
.ar-result.win .ar-res-k { color: var(--ar-cash); } .ar-result.lose .ar-res-k { color: var(--ar-red); }
.ar-res-s { display: flex; align-items: center; justify-content: center; gap: 22px; margin: 2px 0; }
.ar-res-s b { font-size: 112px; font-weight: 900; font-style: italic; line-height: .9; font-variant-numeric: tabular-nums; text-shadow: 0 6px 0 rgba(0, 0, 0, .4); animation: arSlam .55s cubic-bezier(.2, 1.6, .4, 1) .12s both; }
.ar-res-s b.blue { color: var(--ar-blue); } .ar-res-s b.red { color: var(--ar-red); }
.ar-res-s b.up { animation: arSlam .55s cubic-bezier(.2, 1.6, .4, 1) .12s both, arTick .5s .55s ease-out both; }
.ar-res-s i { width: 34px; height: 8px; background: #fff; transform: skewX(-20deg); animation: arUp .4s .2s both; }
.ar-res-w { font-size: 16px; font-weight: 800; letter-spacing: 4px; color: #e6ebf3; animation: arUp .4s .35s both; }
@keyframes arBand { from { transform: translate(-50%, -50%) skewY(-4deg) scaleY(0); } to { transform: translate(-50%, -50%) skewY(-4deg) scaleY(1); } }
@keyframes arSlam { from { opacity: 0; transform: scale(2.4); } to { opacity: 1; transform: scale(1); } }
@keyframes arTick { 0% { filter: brightness(2.2); } 100% { filter: none; } }
@keyframes arUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* espectador */
.ar-spec { position: absolute; left: 50%; bottom: 120px; transform: translateX(-50%); display: none; flex-direction: column; align-items: center; gap: 2px; text-shadow: 0 2px 4px #000; }
.ar-spec.on { display: flex; }
.ar-spec small { font-size: 12px; font-weight: 800; letter-spacing: 3px; color: #cfd6e2; }
.ar-spec b { font-size: 26px; font-weight: 800; color: var(--ar-blue); }
.ar-spec span { font-size: 13px; font-weight: 700; color: #d6dcea; display: inline-flex; gap: 6px; align-items: center; }
body.ar-spectating #hud .health, body.ar-spectating #hud .ammo, body.ar-spectating #hud .slots, body.ar-spectating #hud .ar-wallet { opacity: .35; }

/* ---------- ARMERÍA (tienda) ---------- */
#ar-shop { position: fixed; inset: 0; z-index: 30; display: flex; align-items: center; justify-content: center; background: radial-gradient(ellipse at center, rgba(4, 8, 14, .78), rgba(4, 8, 14, .94)); backdrop-filter: blur(3px); animation: arFade .2s both; font-family: var(--cond); color: #fff; }
@keyframes arFade { from { opacity: 0; } to { opacity: 1; } }
.sh-in { width: min(940px, calc(100vw - 32px)); max-height: calc(100vh - 32px); display: flex; flex-direction: column; gap: 10px; }
.sh-top { display: flex; align-items: flex-end; gap: 28px; border-bottom: 2px solid rgba(255, 255, 255, .12); padding-bottom: 8px; }
.sh-top small { display: block; font-size: 12px; font-weight: 700; letter-spacing: 3px; color: #8b95a8; }
.sh-title { flex: 1; } .sh-title b { font-size: 44px; font-weight: 900; font-style: italic; line-height: .9; }
.sh-money b { font-size: 34px; font-weight: 800; color: var(--ar-cash); font-variant-numeric: tabular-nums; }
.sh-time b { font-size: 34px; font-weight: 800; font-variant-numeric: tabular-nums; }
.sh-body { display: grid; grid-template-columns: 190px 1fr; gap: 12px; min-height: 0; }
.sh-cats { display: flex; flex-direction: column; gap: 4px; }
.sh-cats button { display: flex; align-items: center; gap: 10px; padding: 10px 12px; font-size: 18px; font-weight: 800; letter-spacing: 1px; text-align: left; color: #aeb7c7; background: rgba(255, 255, 255, .04); border-left: 3px solid transparent; }
.sh-cats button:hover, .sh-cats button:focus-visible { color: #fff; background: rgba(255, 255, 255, .08); outline: none; }
.sh-cats button.on { color: #fff; border-left-color: var(--ar-cash); background: rgba(125, 255, 168, .08); }
.sh-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(178px, 1fr)); gap: 8px; align-content: start; overflow: auto; }
.sh-item { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 10px 12px 12px; text-align: left; background: linear-gradient(160deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02)); border: 1px solid rgba(255, 255, 255, .1); transition: border-color .12s, transform .12s, background .12s; }
.sh-item:hover, .sh-item:focus-visible { border-color: rgba(255, 255, 255, .45); transform: translateY(-2px); outline: none; }
.sh-item:active { transform: translateY(0) scale(.98); }
.sh-item img { height: 54px; object-fit: contain; align-self: center; filter: drop-shadow(0 3px 3px rgba(0, 0, 0, .6)); }
.sh-gear { height: 54px; display: flex; align-items: center; justify-content: center; color: #cfe6ff; } .sh-gear svg { height: 46px; }
.sh-name { font-size: 19px; font-weight: 800; line-height: 1; } .sh-name small { display: block; font-size: 11px; letter-spacing: 2px; color: #8b95a8; margin-top: 2px; }
.sh-item p { font: 500 12px/1.35 var(--body); color: #aeb7c7; margin: 0; }
.sh-stats { display: grid; gap: 3px; }
.sh-stats div { display: grid; grid-template-columns: 62px 1fr; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; letter-spacing: 1px; color: #8b95a8; }
.sh-stats i { height: 4px; background: rgba(255, 255, 255, .1); } .sh-stats i b { display: block; height: 100%; background: #e6ebf3; }
.sh-price { margin-top: auto; font-size: 20px; font-weight: 800; color: var(--ar-cash); font-variant-numeric: tabular-nums; }
.sh-tag { min-height: 14px; font-size: 11px; font-weight: 800; letter-spacing: 1.5px; color: #8b95a8; }
.sh-item.poor { opacity: .55; } .sh-item.poor .sh-price { color: var(--ar-red); } .sh-item.poor .sh-tag { color: var(--ar-red); }
.sh-item.owned { border-color: rgba(63, 224, 255, .7); background: linear-gradient(160deg, rgba(63, 224, 255, .14), rgba(63, 224, 255, .03)); } .sh-item.owned .sh-tag { color: var(--v2-cyan); }
.sh-item.bought .sh-tag { color: var(--v2-gold); } .sh-item.bought:hover .sh-tag::after { content: ' ↺'; }
.sh-team { display: flex; gap: 6px; flex-wrap: wrap; }
.sh-team div { display: flex; align-items: center; gap: 8px; padding: 4px 10px; background: rgba(255, 255, 255, .05); font-size: 14px; font-weight: 700; }
.sh-team div.me { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35); }
.sh-team span { color: #aeb7c7; max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .sh-team b { color: var(--ar-cash); font-variant-numeric: tabular-nums; }
.sh-team img { height: 16px; } .sh-team em { font-style: normal; font-size: 11px; color: #8b95a8; letter-spacing: 1px; } .sh-team .sh-a svg { width: 14px; height: 14px; color: #9fd3ff; }
.sh-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; font: 500 13px var(--body); color: #8b95a8; }
.sh-foot .btn { font-size: 20px; padding: 8px 30px; display: inline-flex; gap: 10px; align-items: center; }
@media (max-width: 700px) { .sh-body { grid-template-columns: 1fr; } .sh-cats { flex-direction: row; overflow-x: auto; } .sh-cats button { white-space: nowrap; } .ar-res-s b { font-size: 80px; } }
@media (prefers-reduced-motion: reduce) { .ar-result *, .ar-result::before, .ar-round { animation-duration: .01s !important; } }

/* con la armería abierta el HUD se aparta (sólo queda el marcador) */
body.ar-shop-open #hud > *:not(.top-score) { opacity: 0; transition: opacity .15s; }

/* ---------- Insignias de rango ---------- */
.rank-badge { display: inline-block; vertical-align: middle; filter: drop-shadow(0 3px 6px rgba(0, 0, 0, .55)); overflow: visible; }
.rank-badge.anim .rb-shine { animation: rbShine 2.6s ease-in-out infinite; }
@keyframes rbShine { 0% { transform: skewX(-20deg) translateX(0); } 60%, 100% { transform: skewX(-20deg) translateX(200px); } }
.rank-badge.r-titanium { filter: drop-shadow(0 0 10px rgba(159, 232, 255, .7)) drop-shadow(0 3px 6px rgba(0, 0, 0, .55)); }

/* ---------- Mesa táctica: listas de modos ---------- */
.wt-list-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 10px 0 4px; padding: 0 2px 3px; border-bottom: 1px solid rgba(63, 224, 255, .25); font-family: var(--cond); }
.wt-list-h:first-child { margin-top: 0; }
.wt-list-h b { font-size: 13px; font-weight: 800; letter-spacing: 3px; color: #9ff4ff; }
.wt-list-h.ranked b { color: var(--v2-gold); } .wt-list-h.rotating b { color: #c9b6ff; }
.wt-list-h span { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; letter-spacing: 1px; color: #aeb7c7; }
.wt-card.l-ranked .wt-idx { color: var(--v2-gold); }
.wt-rankrow { display: flex; align-items: center; gap: 12px; margin: 4px 0 10px; }
.wt-rankrow b { display: block; font-size: 22px; font-weight: 800; } .wt-rankrow small { font-size: 12px; font-weight: 700; color: #aeb7c7; letter-spacing: .5px; }

/* ---------- Informe: rango ---------- */
.aarx { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 12px; margin-top: 12px; animation: arUp .5s 1.6s both; }
.aarx-rank { position: relative; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 14px; padding: 12px 16px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); overflow: hidden; }
.aarx-rank.promo { border-color: var(--v2-gold); }
.ax-badge.pop { animation: axPop .6s cubic-bezier(.2, 1.6, .4, 1); }
@keyframes axPop { from { transform: scale(1.6) rotate(-8deg); filter: brightness(2.5); } to { transform: none; filter: none; } }
.ax-mid small { font-size: 11px; font-weight: 800; letter-spacing: 3px; color: #8b95a8; }
.ax-mid > b { display: block; font-size: 28px; font-weight: 900; font-style: italic; line-height: 1; margin: 2px 0 6px; }
.ax-bar { position: relative; height: 8px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.ax-bar i { position: absolute; left: 0; top: 0; bottom: 0; background: linear-gradient(90deg, #7dffa8, #3fe0ff); transition: width .05s linear; }
.aarx-rank.down .ax-bar i { background: linear-gradient(90deg, #ff8a5a, #ff4b4b); }
.ax-rp { margin-top: 5px; font-size: 14px; font-weight: 700; color: #cfd6e2; font-variant-numeric: tabular-nums; display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.ax-rp em { font-style: normal; font-weight: 800; } .ax-rp em.g { color: var(--ar-cash); } .ax-rp em.r { color: var(--ar-red); }
.ax-perf { margin-left: auto; font-size: 11px; letter-spacing: 1.5px; color: #8b95a8; }
.ax-note { grid-column: 1 / -1; display: none; font-size: 18px; font-weight: 900; letter-spacing: 4px; text-align: center; padding: 4px; color: var(--v2-gold); background: rgba(255, 210, 58, .1); }
.ax-note.on { display: block; animation: arSlam .5s cubic-bezier(.2, 1.6, .4, 1) both; }
.aarx-rank.down .ax-note { color: var(--ar-red); background: rgba(255, 75, 75, .1); }

/* ---------- Informe: votación de mapa ---------- */
.aarx-vote { padding: 10px 12px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); }
.av-h { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.av-h b { font-size: 13px; font-weight: 800; letter-spacing: 3px; color: #9ff4ff; } .av-h span { font-size: 13px; font-weight: 800; letter-spacing: 1.5px; color: #cfd6e2; }
.av-h i { font-style: normal; color: var(--v2-gold); font-variant-numeric: tabular-nums; }
.av-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.av-card { position: relative; height: 74px; background-size: cover; background-position: center; border: 2px solid transparent; text-align: left; overflow: hidden; transition: border-color .15s, transform .15s, filter .2s; }
.av-card::before { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 30%, rgba(0, 0, 0, .75)); }
.av-card:hover, .av-card:focus-visible { border-color: rgba(255, 255, 255, .6); transform: translateY(-2px); outline: none; }
.av-card span { position: absolute; left: 7px; bottom: 16px; font-size: 16px; font-weight: 800; text-shadow: 0 1px 3px #000; }
.av-card em { position: absolute; left: 0; right: 0; bottom: 0; height: 12px; display: flex; align-items: center; font-style: normal; }
.av-card em i { position: absolute; left: 0; top: 4px; bottom: 0; background: var(--v2-cyan); transition: width .3s; }
.av-card em b { position: absolute; right: 6px; bottom: 14px; font-size: 14px; font-weight: 800; color: #fff; text-shadow: 0 1px 2px #000; }
.av-card.mine { border-color: var(--v2-cyan); }
.av-card.won { border-color: var(--v2-gold); animation: axPop .5s both; }
.aarx-vote:has(.won) .av-card:not(.won) { filter: grayscale(1) brightness(.55); }

/* El informe post-partida ahora tiene más filas (rango + votación): se desplaza si la pantalla es baja y se compacta */
#aar { overflow-y: auto; align-items: safe center; padding: 16px 0; }
@media (max-height: 800px) {
  #aar .aar-in { zoom: .86; }
}
@media (max-height: 600px) {
  #aar .aar-in { zoom: .74; }
}

/* la lista de operaciones creció (12 modos en 3 listas): se desplaza si no cabe */
#wt .wt-list { max-height: calc(100vh - 150px); overflow-y: auto; padding-right: 4px; scrollbar-width: thin; scrollbar-color: rgba(63, 224, 255, .4) transparent; }

/* ---------- Informe: evento + exclusivos ---------- */
.aarx-event { padding: 10px 14px 34px; background: linear-gradient(120deg, rgba(138, 125, 255, .12), rgba(255, 255, 255, .03)); border: 1px solid rgba(138, 125, 255, .35); }
.ae-h { display: flex; align-items: baseline; gap: 10px; margin-bottom: 10px; }
.ae-h small { font-size: 11px; font-weight: 800; letter-spacing: 3px; color: #c9b6ff; } .ae-h b { font-size: 22px; font-weight: 900; font-style: italic; flex: 1; }
.ae-h span { font-size: 13px; font-weight: 800; color: #cfd6e2; font-variant-numeric: tabular-nums; }
.ae-track { position: relative; height: 8px; background: rgba(255, 255, 255, .1); margin: 0 8px; }
.ae-track > i { position: absolute; left: 0; top: 0; bottom: 0; }
.ae-was { background: rgba(201, 182, 255, .45); } .ae-now { background: linear-gradient(90deg, #8a7dff, #c9b6ff); animation: aeGrow 1.2s 2s cubic-bezier(.2, .8, .3, 1) both; transform-origin: left; }
@keyframes aeGrow { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
.ae-track em { position: absolute; top: 50%; transform: translate(-50%, -50%); width: 18px; height: 18px; display: flex; align-items: center; justify-content: center; font-style: normal; background: #1a1d2b; border: 2px solid rgba(255, 255, 255, .3); rotate: 45deg; }
.ae-track em b { rotate: -45deg; font-size: 10px; font-weight: 800; }
.ae-track em span { position: absolute; top: 20px; left: 50%; rotate: -45deg; translate: -50% 0; transform-origin: center; white-space: nowrap; font-size: 10px; font-weight: 800; letter-spacing: .5px; color: #aeb7c7; display: none; }
.ae-track em.got { background: #8a7dff; border-color: #fff; }
.ae-track em:last-of-type span, .ae-track em.got span { display: block; }
.aarx-unlock { grid-column: 1 / -1; display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.aarx-unlock div { padding: 6px 16px; background: rgba(255, 210, 58, .1); border: 1px solid var(--v2-gold); text-align: center; animation: arSlam .5s cubic-bezier(.2, 1.6, .4, 1) both; }
.aarx-unlock small { display: block; font-size: 10px; font-weight: 800; letter-spacing: 3px; color: var(--v2-gold); } .aarx-unlock b { font-size: 17px; font-weight: 800; }

.sh-item img.sh-prop { height: 64px; margin: -5px 0; }

/* ---------- Lobby: tarjeta de rango + evento ---------- */
.rank-card, .event-card { position: absolute; left: 22px; width: 168px; text-align: left; color: #fff; font-family: var(--cond); transition: transform .15s, box-shadow .15s; }
.rank-card:hover, .event-card:hover, .rank-card:focus-visible, .event-card:focus-visible { transform: translateX(4px); outline: none; }
.rank-card { top: 100px; display: flex; align-items: center; gap: 8px; padding: 6px 8px; background: rgba(8, 12, 20, .72); border-left: 3px solid var(--v2-gold); }
.rank-card span { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.rank-card small { font-size: 11px; font-weight: 700; letter-spacing: 2px; color: #aeb7c7; }
.rank-card b { font-size: 21px; font-weight: 800; line-height: 1.05; }
.rank-card i, .event-card i { display: block; height: 4px; margin: 3px 0 2px; background: rgba(255, 255, 255, .15); }
.rank-card em, .event-card em { display: block; height: 100%; background: linear-gradient(90deg, #7dffa8, #3fe0ff); }
.event-card { top: 178px; display: flex; flex-direction: column; padding: 8px 12px; background: rgba(8, 12, 20, .6); border-left: 3px solid #5a5f70; }
.event-card small { font-size: 11px; font-weight: 700; letter-spacing: 2px; color: #aeb7c7; }
.event-card b { font-size: 21px; font-weight: 900; font-style: italic; line-height: 1.05; }
.event-card span { font-size: 12px; font-weight: 700; color: #cfd6e2; letter-spacing: .5px; }
.event-card.on { background: linear-gradient(135deg, rgba(90, 60, 200, .82), rgba(20, 16, 50, .85)); border-left-color: #c9b6ff; box-shadow: 0 6px 22px rgba(90, 60, 200, .35); }
.event-card.on small:first-child { color: #c9b6ff; } .event-card.on small:first-child::before { content: '● '; color: #ff5a8a; }
.event-card.on em { background: linear-gradient(90deg, #8a7dff, #e0d4ff); }
.event-card.sel { box-shadow: 0 0 0 2px #c9b6ff, 0 6px 22px rgba(90, 60, 200, .45); }
@media (max-height: 620px) { .rank-card { top: 92px; } .event-card { top: 162px; } .rank-card b, .event-card b { font-size: 18px; } }
