/* ============================================================
   SubNess — ranking (pódio) + arena de batalha
   ============================================================ */

/* ---------------- pódio ---------------- */
.podium {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
  margin-top: 20px;
}
.rank-card {
  --rc: #2f80ff;
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  background:
    radial-gradient(120% 80% at 50% 0%, color-mix(in srgb, var(--rc) 10%, transparent), transparent 58%),
    linear-gradient(180deg, #0b1424, #070d18);
  border: 1px solid color-mix(in srgb, var(--rc) 28%, rgba(126, 162, 255, .14));
  overflow: hidden;
  min-height: 410px;
  transition: transform .25s var(--ease), border-color .25s, box-shadow .25s;
}
.rank-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--rc), transparent);
  opacity: .85;
}
.rank-card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--rc) 55%, transparent); box-shadow: 0 22px 60px rgba(0, 0, 0, .4); }
.rank-card.pos-1 {
  --rc: #ffc43d;
  transform: translateY(-10px);
  border-color: rgba(255, 196, 61, .38);
  box-shadow: 0 26px 70px rgba(255, 170, 30, .10);
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(255, 196, 61, .13), transparent 60%),
    linear-gradient(180deg, #12131b, #080b14);
}
.rank-card.pos-1:hover { transform: translateY(-14px); }
.rank-card.pos-2 { --rc: #56a8ff; }
.rank-card.pos-3 { --rc: #ff7a5c; }

.rank-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 15px 16px 0; }
.rank-top { display: inline-flex; align-items: center; gap: 7px; font-size: 10.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--rc); }
.rank-top svg { width: 15px; height: 15px; }
.rank-head .ext { color: #526383; }
.rank-head .ext svg { width: 15px; height: 15px; }

.rank-emblem {
  position: relative;
  width: 108px;
  height: 108px;
  margin: 20px auto 12px;
  display: grid;
  place-items: center;
  border-radius: 17px;
  border: 1px solid color-mix(in srgb, var(--rc) 32%, transparent);
  background:
    radial-gradient(circle at 50% 50%, color-mix(in srgb, var(--rc) 24%, transparent), transparent 68%),
    rgba(255, 255, 255, .02);
  box-shadow: inset 0 0 30px color-mix(in srgb, var(--rc) 9%, transparent);
}
.rank-emblem::before,
.rank-emblem::after {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 21px;
  border: 1px dashed color-mix(in srgb, var(--rc) 22%, transparent);
  -webkit-mask: linear-gradient(#000, transparent 25%, transparent 75%, #000);
  mask: linear-gradient(#000, transparent 25%, transparent 75%, #000);
}
.rank-emblem::after { inset: -20px; border-style: solid; opacity: .35; }
.rank-emblem > svg {
  width: 40px;
  height: 40px;
  color: var(--rc);
  filter: drop-shadow(0 0 16px var(--rc));
  animation: floatY 4s ease-in-out infinite;
}
.rank-num {
  position: absolute;
  right: -9px;
  bottom: -9px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #0a1120;
  border: 1px solid var(--rc);
  color: var(--rc);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
}
.rank-card h3 { text-align: center; font-size: 21px; font-weight: 800; letter-spacing: -.02em; padding: 0 12px; }
.rank-card .rank-name { text-align: center; font-size: 11.5px; color: var(--muted-2); margin-top: 2px; }
.rank-tier { display: flex; justify-content: center; margin-top: 8px; }
.rank-tier span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 23px;
  padding: 0 10px;
  border-radius: 99px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .03em;
  color: var(--pc, #d9a264);
  border: 1px solid color-mix(in srgb, var(--pc, #d9a264) 35%, transparent);
  background: color-mix(in srgb, var(--pc, #d9a264) 9%, transparent);
}
.rank-tier svg { width: 12px; height: 12px; }

.rank-main-stat { text-align: center; padding: 14px 16px 10px; border-bottom: 1px solid rgba(126, 162, 255, .09); }
.rank-main-stat strong { display: block; font-family: var(--font-display); font-size: 30px; line-height: 1; letter-spacing: -.03em; }
.rank-main-stat span { font-size: 10.5px; color: var(--muted-2); display: block; margin-top: 5px; }
.rank-lines { padding: 10px 16px; display: grid; gap: 7px; font-size: 11px; color: var(--muted); }
.rank-line { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.rank-line .lbl { display: inline-flex; align-items: center; gap: 5px; color: #7586a6; }
.rank-line .lbl svg { width: 13px; height: 13px; }
.rank-line .val { font-weight: 600; color: #b7c6e4; font-variant-numeric: tabular-nums; }
.rank-line .val.green { color: var(--green); }
.rank-line .val.pink { color: #ff8ba0; }
.rank-line .val.gold { color: #ffd77a; }
.rank-card.pos-1 .rank-main-stat strong { color: #ffe3a1; }

.rank-footer {
  margin-top: auto;
  border-top: 1px solid rgba(126, 162, 255, .09);
  background: rgba(255, 255, 255, .015);
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.rank-footer .abl { min-width: 0; }
.rank-footer .abl b { display: block; font-size: 9px; letter-spacing: .12em; color: var(--rc); text-transform: uppercase; }
.rank-footer .abl span { font-size: 10px; color: var(--muted-2); }
.montage-tools { display: flex; align-items: center; gap: 4px; }
.eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 17px; width: 18px; margin-right: 2px; }
.eq i { width: 2.5px; height: 35%; background: var(--rc); border-radius: 2px; opacity: .7; }
.montage-tools.playing .eq i { animation: eq .55s ease-in-out infinite alternate; }
.montage-tools.playing .eq i:nth-child(2) { animation-delay: .12s; }
.montage-tools.playing .eq i:nth-child(3) { animation-delay: .24s; }
.montage-tools.playing .eq i:nth-child(4) { animation-delay: .36s; }
.montage-tools.playing .eq i:nth-child(5) { animation-delay: .48s; }
@keyframes eq { from { height: 20%; } to { height: 100%; } }
.montage-play {
  width: 31px;
  height: 31px;
  border-radius: 9px;
  border: 1px solid color-mix(in srgb, var(--rc) 30%, transparent);
  background: color-mix(in srgb, var(--rc) 9%, transparent);
  color: var(--rc);
  display: grid;
  place-items: center;
}
.montage-play:hover { background: color-mix(in srgb, var(--rc) 18%, transparent); }
.montage-play svg { width: 14px; height: 14px; }
.rank-foot-pill { font-size: 9px; color: #61708f; letter-spacing: .08em; text-transform: uppercase; }

/* ---------------- arena ---------------- */
.arena {
  position: relative;
  border-radius: 20px;
  border: 1px solid rgba(126, 162, 255, .16);
  background: #050911;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .45);
}
.arena-head {
  position: relative;
  z-index: 8;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  background: linear-gradient(180deg, rgba(12, 20, 36, .96), rgba(7, 12, 23, .9));
  border-bottom: 1px solid rgba(126, 162, 255, .12);
}
.arena-title { display: flex; align-items: center; gap: 9px; min-width: 0; }
.arena-logo {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: rgba(255, 61, 113, .1);
  border: 1px solid rgba(255, 61, 113, .3);
  color: #ff6b85;
  flex: none;
}
.arena-logo svg { width: 16px; height: 16px; }
.arena-title b { font-family: var(--font-display); font-size: 14px; letter-spacing: -.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.arena-title .live { height: 20px; font-size: 8.5px; letter-spacing: .1em; color: #ff8ba0; border-color: rgba(255, 61, 113, .3); background: rgba(255, 61, 113, .09); }
.arena-head .spacer { flex: 1; }
.arena-round-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 26px;
  padding: 0 9px;
  border-radius: 7px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .03);
  font-size: 9px;
  letter-spacing: .1em;
  color: #8292b3;
  text-transform: uppercase;
  white-space: nowrap;
}
.arena-round-chip b { color: #e6edff; font-size: 11px; }
.arena-tools { display: flex; align-items: center; gap: 5px; }
.arena-btn {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .03);
  color: #8494b4;
  display: grid;
  place-items: center;
  transition: all .16s;
}
.arena-btn:hover { color: #fff; border-color: var(--line-2); background: rgba(255, 255, 255, .07); }
.arena-btn svg { width: 15px; height: 15px; }
.arena-btn.on { color: #9bc6ff; border-color: rgba(47, 128, 255, .4); background: rgba(47, 128, 255, .12); }

.arena-scene {
  position: relative;
  height: 452px;
  overflow: hidden;
  background:
    radial-gradient(70% 60% at 50% 78%, rgba(24, 53, 105, .55), transparent 70%),
    radial-gradient(45% 45% at 22% 48%, rgba(255, 61, 113, .15), transparent 70%),
    radial-gradient(45% 45% at 78% 48%, rgba(47, 128, 255, .18), transparent 70%),
    linear-gradient(180deg, #060b16 0%, #0a1526 52%, #0b1930 100%);
}
.arena-sky {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(4, 8, 16, .55), transparent 35%),
    url("../img/fundo-2.jpg") center 22% / cover no-repeat;
  opacity: .22;
  filter: saturate(.8) contrast(1.05);
  -webkit-mask: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .55) 55%, transparent 90%);
  mask: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .55) 55%, transparent 90%);
}
.arena-sky::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 55% at 50% 78%, rgba(255, 92, 110, .18), transparent 72%);
}
.arena-city {
  position: absolute;
  left: -2%;
  right: -2%;
  bottom: 178px;
  height: 145px;
  opacity: .5;
  background:
    linear-gradient(180deg, transparent, rgba(4, 8, 16, .2)),
    repeating-linear-gradient(90deg, #0e1c33 0 18px, transparent 18px 34px, #10213d 34px 46px, transparent 46px 72px, #0b172b 72px 96px, transparent 96px 112px);
  clip-path: polygon(0 100%, 0 40%, 4% 40%, 4% 26%, 9% 26%, 9% 48%, 14% 48%, 14% 18%, 18% 18%, 18% 8%, 21% 8%, 21% 30%, 27% 30%, 27% 50%, 33% 50%, 33% 22%, 37% 22%, 37% 36%, 43% 36%, 43% 12%, 48% 12%, 48% 30%, 54% 30%, 54% 44%, 59% 44%, 59% 20%, 64% 20%, 64% 8%, 68% 8%, 68% 34%, 74% 34%, 74% 46%, 79% 46%, 79% 24%, 84% 24%, 84% 38%, 89% 38%, 89% 16%, 94% 16%, 94% 34%, 100% 34%, 100% 100%);
  filter: blur(.4px);
}
.arena-city::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(139, 196, 255, .55) 1px, transparent 1.5px), radial-gradient(rgba(255, 196, 61, .4) 1px, transparent 1.5px);
  background-size: 47px 27px, 63px 31px;
  background-position: 12px 18px, 30px 7px;
  opacity: .4;
}
.arena-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(75% 70% at 50% 55%, transparent 40%, rgba(2, 5, 12, .55) 100%);
  pointer-events: none;
  z-index: 2;
}
.arena-hud { position: absolute; top: 12px; left: 14px; right: 14px; z-index: 7; display: flex; align-items: flex-start; justify-content: space-between; pointer-events: none; }
.arena-brandline { font-family: var(--font-display); font-size: 9.5px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: rgba(255, 120, 140, .8); }
.arena-brandline span { color: rgba(130, 180, 255, .8); }
.round-box {
  position: absolute;
  left: 50%;
  top: 2px;
  transform: translateX(-50%);
  min-width: 78px;
  text-align: center;
  padding: 6px 12px;
  border-radius: 11px;
  background: rgba(5, 9, 18, .82);
  border: 1px solid rgba(255, 255, 255, .1);
  backdrop-filter: blur(10px);
}
.round-box strong { display: block; font-family: var(--font-display); font-size: 23px; line-height: 1; color: #fff; }
.round-box span { display: block; margin-top: 3px; font-size: 8px; letter-spacing: .18em; color: #7b8bab; }
.hits-box { text-align: right; color: #ffb84d; }
.hits-box strong { font-family: var(--font-display); font-size: 18px; line-height: 1; }
.hits-box span { font-size: 8px; letter-spacing: .16em; display: block; color: #a48652; }

.arena-ring {
  position: absolute;
  left: 3.5%;
  right: 3.5%;
  bottom: 38px;
  height: 242px;
  z-index: 3;
  perspective: 640px;
  pointer-events: none;
}
.ring-floor {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 158px;
  transform: rotateX(56deg);
  transform-origin: bottom center;
  border-radius: 14px;
  background:
    radial-gradient(60% 80% at 50% 20%, rgba(64, 104, 172, .4), transparent 70%),
    linear-gradient(180deg, #16294a, #0b1730 65%, #081020);
  border: 2px solid rgba(108, 150, 220, .45);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .65), inset 0 0 70px rgba(10, 18, 34, .9);
  overflow: hidden;
}
.ring-floor::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(120, 165, 240, .3);
  border-radius: 10px;
  background: radial-gradient(circle at 50% 50%, transparent 38%, rgba(47, 128, 255, .08) 39%, transparent 40%);
}
.ring-floor::after {
  content: "SUBNESS";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 54px;
  letter-spacing: .18em;
  color: rgba(143, 183, 255, .09);
  transform: translateY(-4px);
}
.rope {
  position: absolute;
  height: 3px;
  border-radius: 99px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .5);
  opacity: .9;
}
.rope.r1 { left: 3%; right: 3%; bottom: 164px; background: linear-gradient(90deg, #ff4d6d, #e9eefc 50%, #2f80ff); }
.rope.r2 { left: 1.5%; right: 1.5%; bottom: 124px; background: linear-gradient(90deg, #ff4d6d, #e9eefc 50%, #2f80ff); height: 4px; }
.rope.r3 { left: 0; right: 0; bottom: 82px; background: linear-gradient(90deg, #ff4d6d, #e9eefc 50%, #2f80ff); height: 5px; }
.post {
  position: absolute;
  bottom: 62px;
  width: 10px;
  height: 168px;
  border-radius: 5px;
  background: linear-gradient(180deg, #d7e3fb, #3b5584 55%, #16243e);
  box-shadow: 0 0 18px rgba(255, 255, 255, .12);
}
.post.right { right: 0; }
.post.left { left: 0; }
.post::before { content: ""; position: absolute; top: -8px; left: -7px; width: 24px; height: 12px; border-radius: 4px; background: linear-gradient(180deg, #ff6b83, #b32d45); }

.fight-stage { position: absolute; inset: 0; z-index: 5; pointer-events: none; }
.fighter {
  position: absolute;
  bottom: 86px;
  width: 160px;
  height: 250px;
  transition: opacity .3s;
}
.fighter.a { left: 21%; }
.fighter.b { right: 21%; }
.fighter .doll-wrap {
  position: absolute;
  inset: 0;
  transform-origin: bottom center;
  transition: transform .65s cubic-bezier(.34, 1.56, .64, 1), opacity .5s;
}
.fighter.b .doll-wrap { transform: scaleX(-1); }
.fighter .doll {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 100px;
  height: 206px;
  transform: translateX(-50%);
  animation: fighterIdle 2.6s ease-in-out infinite alternate;
}
@keyframes fighterIdle { from { transform: translateX(-50%) translateY(0) rotate(-1deg); } to { transform: translateX(-50%) translateY(-5px) rotate(1deg); } }

.fighter .head {
  position: absolute;
  left: 28px;
  top: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 32%, #f4dcc6, var(--skin, #d9ac83) 62%, #b17f58);
  box-shadow: inset -4px -5px 10px rgba(0, 0, 0, .18), 0 4px 10px rgba(0, 0, 0, .35);
  z-index: 6;
}
.fighter .head::before {
  content: "";
  position: absolute;
  left: -3px;
  right: -3px;
  top: -5px;
  height: 22px;
  border-radius: 24px 24px 4px 4px;
  background: linear-gradient(160deg, var(--kit), var(--kit2));
  border-bottom: 2px solid rgba(0, 0, 0, .2);
}
.fighter .head::after {
  content: "";
  position: absolute;
  left: 9px;
  right: 9px;
  top: 23px;
  height: 8px;
  background:
    radial-gradient(circle at 22% 50%, #141824 1.7px, transparent 2px),
    radial-gradient(circle at 78% 50%, #141824 1.7px, transparent 2px);
}
.fighter .band {
  position: absolute;
  left: -4px;
  right: -4px;
  bottom: 12px;
  height: 7px;
  background: var(--kit);
  border-radius: 3px;
  box-shadow: 0 0 8px var(--kit);
  z-index: 2;
}
.fighter .band::after {
  content: "";
  position: absolute;
  right: -8px;
  top: 2px;
  width: 12px;
  height: 5px;
  background: var(--kit);
  transform: rotate(22deg);
  border-radius: 2px;
}
.fighter .torso {
  position: absolute;
  left: 18px;
  top: 38px;
  width: 64px;
  height: 78px;
  border-radius: 20px 20px 14px 14px;
  background: linear-gradient(155deg, var(--kit), var(--kit2) 72%, #0c1424);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, .25), inset 0 -12px 18px rgba(0, 0, 0, .25), 0 8px 18px rgba(0, 0, 0, .3);
  z-index: 4;
}
.fighter .torso::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 14px;
  width: 25px;
  height: 25px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .32);
  box-shadow: 0 0 12px rgba(255, 255, 255, .15);
}
.fighter .torso::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 15px;
  height: 5px;
  border-radius: 99px;
  background: rgba(0, 0, 0, .22);
  box-shadow: 0 8px 0 rgba(255, 255, 255, .08);
}
.fighter .emblem {
  position: absolute;
  left: 50%;
  top: 19px;
  transform: translateX(-50%);
  z-index: 2;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  color: rgba(255, 255, 255, .92);
  text-shadow: 0 0 8px rgba(255, 255, 255, .5);
}
.fighter .arm {
  position: absolute;
  top: 42px;
  width: 17px;
  height: 62px;
  border-radius: 12px;
  background: linear-gradient(180deg, var(--kit), var(--kit2));
  transform-origin: 50% 8px;
  z-index: 3;
  box-shadow: inset 0 2px 4px rgba(255, 255, 255, .2);
  transition: transform .18s;
}
.fighter .arm::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -8px;
  width: 20px;
  height: 20px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #f4dcc6, var(--skin, #d9ac83) 65%, #a97750);
  border: 1px solid rgba(0, 0, 0, .12);
}
.fighter .arm-l { left: -4px; transform: rotate(15deg); z-index: 3; }
.fighter .arm-r { right: -4px; transform: rotate(-15deg); z-index: 5; }
.fighter .leg {
  position: absolute;
  top: 108px;
  width: 22px;
  height: 74px;
  border-radius: 10px;
  background: linear-gradient(180deg, #1b2a45, #0d1626);
  z-index: 3;
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, .08);
}
.fighter .leg::after {
  content: "";
  position: absolute;
  left: -4px;
  bottom: -7px;
  width: 29px;
  height: 13px;
  border-radius: 7px 7px 4px 4px;
  background: linear-gradient(180deg, var(--kit), var(--kit2));
  box-shadow: 0 2px 5px rgba(0, 0, 0, .4);
}
.fighter .leg-l { left: 21px; transform: rotate(3deg); }
.fighter .leg-r { right: 21px; transform: rotate(-3deg); }
.fighter .aura {
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 150px;
  height: 196px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--kit) 32%, transparent), transparent 68%);
  filter: blur(10px);
  z-index: 0;
  animation: auraPulse 2.2s ease-in-out infinite alternate;
}
@keyframes auraPulse { from { opacity: .5; transform: translateX(-50%) scale(.94); } to { opacity: .9; transform: translateX(-50%) scale(1.05); } }
.fighter .f-shadow {
  position: absolute;
  left: 50%;
  bottom: -4px;
  width: 128px;
  height: 24px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: rgba(0, 0, 0, .55);
  filter: blur(6px);
}

.fighter-tag {
  position: absolute;
  bottom: calc(100% + 2px);
  left: 50%;
  transform: translateX(-50%);
  width: 196px;
  padding: 7px 9px 8px;
  border-radius: 9px;
  background: linear-gradient(180deg, rgba(10, 17, 32, .97), rgba(14, 24, 43, .95));
  border: 1px solid var(--tagc, #2f80ff);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .5), 0 0 24px color-mix(in srgb, var(--tagc, #2f80ff) 22%, transparent);
  z-index: 9;
}
.fighter-tag .ft-line { display: flex; align-items: center; gap: 5px; margin-bottom: 5px; }
.fighter-tag .ft-rank { font-size: 7.5px; font-weight: 800; letter-spacing: .06em; padding: 2px 5px; border-radius: 4px; color: #09101d; background: var(--tagc, #2f80ff); flex: none; }
.fighter-tag .ft-name { font-size: 10px; font-weight: 700; color: #eef3ff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.fighter-tag .ft-name .you { font-size: 6.5px; letter-spacing: .05em; background: #ffc43d; color: #231600; padding: 1px 4px; border-radius: 3px; font-weight: 800; vertical-align: middle; }
.fighter-tag .ft-hp { margin-left: auto; font-size: 8.5px; font-weight: 700; color: #c9d6ee; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ft-bar { height: 6px; border-radius: 99px; background: rgba(255, 255, 255, .12); overflow: hidden; box-shadow: inset 0 1px 2px rgba(0, 0, 0, .4); }
.ft-bar i { display: block; height: 100%; width: 100%; border-radius: inherit; background: linear-gradient(90deg, #1fd89a, #4ff0b9); transition: width .35s var(--ease), background .3s; box-shadow: 0 0 8px rgba(46, 230, 168, .5); }
.fighter[data-low="1"] .ft-bar i { background: linear-gradient(90deg, #ff4d5e, #ff8a5c); box-shadow: 0 0 8px rgba(255, 71, 87, .5); }
.fighter[data-low="2"] .ft-bar i { background: linear-gradient(90deg, #ff3d71, #ffb347); }
.fighter.a { --tagc: #59a7ff; }
.fighter.b { --tagc: #ff7a5c; }

/* animações de luta */
.fighter.attack .doll { animation: lunge .42s var(--ease); }
.fighter.a.attack .doll { animation-name: lunge-right; }
.fighter.b.attack .doll { animation-name: lunge-left; }
@keyframes lunge-right { 0% { transform: translateX(-50%) translateY(0); } 35% { transform: translateX(-50%) translateX(38px) translateY(-2px) rotate(3deg); } 62% { transform: translateX(-50%) translateX(30px); } 100% { transform: translateX(-50%); } }
@keyframes lunge-left { 0% { transform: translateX(-50%) translateY(0); } 35% { transform: translateX(-50%) translateX(38px) translateY(-2px) rotate(3deg); } 62% { transform: translateX(-50%) translateX(30px); } 100% { transform: translateX(-50%); } }
.fighter.attack .arm-r { animation: punch .42s var(--ease); }
@keyframes punch { 0% { transform: rotate(-15deg); } 35% { transform: rotate(-95deg) translateY(2px); } 70% { transform: rotate(-80deg); } 100% { transform: rotate(-15deg); } }
.fighter.hurt .doll { animation: hurt .37s ease; }
@keyframes hurt { 0%, 100% { transform: translateX(-50%); } 20% { transform: translateX(-50%) translateX(-10px) rotate(-4deg); } 45% { transform: translateX(-50%) translateX(7px) rotate(3deg); } 70% { transform: translateX(-50%) translateX(-4px); } }
.fighter.hurt .head::before { filter: brightness(1.8) saturate(.3); }
.fighter.hurt .torso { filter: brightness(1.55) saturate(.6); }
.fighter.down .doll-wrap { transition: transform .7s cubic-bezier(.3, 1.4, .5, 1), opacity .6s; opacity: .55; }
.fighter.a.down .doll-wrap { transform: rotate(-74deg) translate(-14px, 26px); }
.fighter.b.down .doll-wrap { transform: scaleX(-1) rotate(-74deg) translate(-14px, 26px); }
.fighter.down .fighter-tag { opacity: .5; filter: grayscale(.4); }
.fighter.down .aura { opacity: 0; }
.fighter-tag, .fighter .aura { transition: opacity .4s; }

.dmg {
  position: absolute;
  z-index: 11;
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -.03em;
  color: #ffe270;
  text-shadow: 0 2px 0 #7c3a00, 0 0 24px rgba(255, 196, 61, .8);
  pointer-events: none;
  animation: dmgFloat 1s var(--ease) forwards;
  transform: translate(-50%, 0);
}
.dmg.crit { font-size: 42px; color: #ffd23d; text-shadow: 0 2px 0 #8a2300, 0 0 30px rgba(255, 90, 60, .9); }
@keyframes dmgFloat { 0% { opacity: 0; transform: translate(-50%, 10px) scale(.7); } 22% { opacity: 1; transform: translate(-50%, -6px) scale(1.12); } 100% { opacity: 0; transform: translate(-50%, -74px) scale(1); } }
.crit-label {
  position: absolute;
  left: 50%;
  top: 44%;
  transform: translate(-50%, -50%) rotate(-3deg);
  z-index: 12;
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 800;
  letter-spacing: .01em;
  color: #ffd23d;
  text-shadow: 0 3px 0 #5b1c00, 0 0 30px rgba(255, 160, 60, .65);
  animation: critPop .85s var(--ease) forwards;
  pointer-events: none;
  white-space: nowrap;
}
@keyframes critPop { 0% { opacity: 0; transform: translate(-50%, -50%) scale(.5) rotate(-8deg); } 20% { opacity: 1; transform: translate(-50%, -50%) scale(1.15) rotate(-3deg); } 70% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, -80%) scale(1.05) rotate(-2deg); } }
.spark {
  position: absolute;
  z-index: 10;
  width: 46px;
  height: 46px;
  pointer-events: none;
  background:
    conic-gradient(from 0deg, transparent 0 6%, #ffe27a 7% 9%, transparent 10% 18%, #ff9a3d 19% 21%, transparent 22% 100%);
  filter: drop-shadow(0 0 8px rgba(255, 200, 80, .9));
  animation: sparkBurst .45s ease-out forwards;
  border-radius: 50%;
}
@keyframes sparkBurst { from { opacity: 1; transform: translate(-50%, -50%) scale(.3) rotate(0); } to { opacity: 0; transform: translate(-50%, -50%) scale(1.7) rotate(70deg); } }

.arena-result {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  z-index: 14;
  width: min(420px, calc(100% - 28px));
  padding: 14px 18px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(12, 21, 39, .97), rgba(7, 12, 23, .97));
  border: 1px solid rgba(255, 196, 61, .4);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .6), 0 0 40px rgba(255, 196, 61, .1);
  backdrop-filter: blur(14px);
  text-align: center;
  animation: modalIn .4s var(--ease);
}
.arena-result .ar-kicker { font-size: 8.5px; letter-spacing: .22em; font-weight: 800; color: #ffc43d; }
.arena-result h4 { font-size: 19px; margin: 4px 0 2px; }
.arena-result h4 span { color: #ffd77a; }
.arena-result p { font-size: 11px; color: var(--muted); }
.arena-result .ar-next { display: flex; align-items: center; justify-content: center; gap: 5px; margin-top: 8px; font-size: 10px; color: #c8d4ec; }
.arena-result .ar-next b { color: #ffd77a; font-family: var(--font-display); font-size: 12px; min-width: 28px; text-align: left; }
.arena-result .ar-next svg { width: 12px; height: 12px; color: #ffc43d; }
.arena-result .ar-actions { display: flex; gap: 7px; justify-content: center; margin-top: 10px; }
.arena-result .ar-actions .btn { --btn-h: 31px; font-size: 11px; padding: 0 12px; }
.arena-result .ar-actions svg { width: 14px; height: 14px; }

/* ---------------- player das montagens ---------------- */
.montage-player {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 95;
  width: min(310px, calc(100vw - 24px));
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(12, 21, 39, .98), rgba(6, 11, 21, .98));
  border: 1px solid rgba(255, 196, 61, .35);
  box-shadow: 0 22px 60px rgba(0, 0, 0, .55), 0 0 30px rgba(255, 196, 61, .08);
  backdrop-filter: blur(16px);
  opacity: 0;
  transform: translateY(14px) scale(.98);
  transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.montage-player.show { opacity: 1; transform: none; }
.montage-player .mp-head {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 10px;
  border-bottom: 1px solid rgba(126, 162, 255, .12);
}
.montage-player .mp-eq { display: flex; align-items: flex-end; gap: 2px; height: 16px; flex: none; }
.montage-player .mp-eq i {
  width: 2px;
  height: 4px;
  border-radius: 1px;
  background: linear-gradient(180deg, #ffd77a, #ff7a3d);
  animation: mpEq .7s ease-in-out infinite alternate;
}
.montage-player .mp-eq i:nth-child(2) { animation-delay: .1s; }
.montage-player .mp-eq i:nth-child(3) { animation-delay: .22s; }
.montage-player .mp-eq i:nth-child(4) { animation-delay: .34s; }
.montage-player .mp-eq i:nth-child(5) { animation-delay: .46s; }
@keyframes mpEq { from { height: 3px; } to { height: 16px; } }
.montage-player .mp-meta { min-width: 0; flex: 1; display: flex; flex-direction: column; }
.montage-player .mp-meta b { font-size: 11px; color: #f2f6ff; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.montage-player .mp-meta span { font-size: 9px; color: #8494b3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.montage-player .mp-close {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  flex: none;
  color: #9fb0cd;
  border: 1px solid rgba(126, 162, 255, .16);
  background: rgba(255, 255, 255, .03);
  cursor: pointer;
  transition: color .15s, border-color .15s, background .15s;
}
.montage-player .mp-close:hover { color: #fff; border-color: rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .06); }
.montage-player .mp-frame { aspect-ratio: 16 / 9; background: #000; }
.montage-player .mp-frame iframe { display: block; width: 100%; height: 100%; border: 0; }
@media (max-width: 640px) {
  .montage-player { right: 12px; bottom: 12px; }
}

.arena-foot {
  position: relative;
  z-index: 8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 14px;
  background: linear-gradient(180deg, rgba(7, 12, 23, .95), rgba(9, 15, 28, .99));
  border-top: 1px solid rgba(126, 162, 255, .1);
}
.arena-legend { display: flex; align-items: center; gap: 8px; font-size: 10.5px; color: #7c8cab; min-width: 0; }
.arena-legend .dot { flex: none; }
.arena-foot .btn { --btn-h: 31px; font-size: 11px; padding: 0 12px; }
.arena-foot .pill { height: 24px; font-size: 9px; }
.arena-mute-note { font-size: 9.5px; color: #576783; }

.arena-scene.static .doll,
.arena-scene.static .aura { animation: none; }

/* ---------------- responsivo ---------------- */
@media (max-width: 1000px) {
  .podium { grid-template-columns: 1fr; gap: 14px; }
  .rank-card.pos-1 { transform: none; order: -1; }
  .rank-card { min-height: 0; }
  .rank-card:hover, .rank-card.pos-1:hover { transform: translateY(-3px); }
  .rank-card h3 { font-size: 20px; }
  .rank-emblem { width: 92px; height: 92px; margin: 16px auto 10px; }
  .arena-scene { height: 420px; }
  .fighter { transform: scale(.9); transform-origin: bottom center; }
  .fighter.a { left: 17%; }
  .fighter.b { right: 17%; }
}
@media (max-width: 700px) {
  .arena-head { padding: 9px 10px; gap: 6px; }
  .arena-title b { font-size: 12px; }
  .arena-title .live { display: none; }
  .arena-round-chip { display: none; }
  .arena-tools { gap: 3px; }
  .arena-btn { width: 29px; height: 29px; }
  .arena-scene { height: 390px; }
  .fighter { width: 130px; height: 220px; transform: scale(.82); }
  .fighter.a { left: 6%; }
  .fighter.b { right: 6%; }
  .fighter-tag { width: 152px; padding: 6px 7px; }
  .fighter-tag .ft-name { font-size: 9px; }
  .fighter-tag .ft-rank { font-size: 6.5px; }
  .fighter-tag .ft-hp { font-size: 8px; }
  .arena-ring { left: 1%; right: 1%; bottom: 30px; height: 210px; }
  .ring-floor { height: 134px; }
  .ring-floor::after { font-size: 36px; }
  .rope.r1 { bottom: 145px; }
  .rope.r2 { bottom: 110px; }
  .rope.r3 { bottom: 74px; }
  .post { height: 148px; bottom: 56px; }
  .round-box { top: 0; padding: 5px 9px; min-width: 66px; }
  .round-box strong { font-size: 19px; }
  .hits-box strong { font-size: 16px; }
  .arena-result { bottom: 12px; padding: 11px 12px; }
  .arena-result h4 { font-size: 16px; }
  .arena-foot { flex-direction: column; align-items: flex-start; }
  .arena-foot .btn { width: 100%; }
  .crit-label { font-size: 19px; }
  .dmg { font-size: 25px; }
  .dmg.crit { font-size: 34px; }
}
