.fight-page {
  height: 100svh;
  overflow: hidden;
  background: #050505;
  touch-action: none;
  user-select: none;
}
.fight-page .nav {
  mix-blend-mode: normal;
}
.fight-page .brand,
.fight-page .nav-links > a {
  mix-blend-mode: normal;
}
.fight-nav {
  background: rgba(5, 5, 5, .55);
  backdrop-filter: blur(10px);
}

.stage {
  position: relative;
  height: 100svh;
  display: grid;
  place-items: center;
  background: #050505;
}
#view {
  width: min(100vw, calc(100svh * 16 / 9));
  height: min(100svh, calc(100vw * 9 / 16));
  display: block;
  background: #0a0a0a;
}

.hud {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
}
.bars {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 18px;
  align-items: start;
  padding: 76px clamp(16px, 3vw, 48px) 0;
  max-width: 1600px;
  margin: 0 auto;
}
.who {
  font-size: 11px;
  letter-spacing: .18em;
  font-weight: 800;
  margin-bottom: 8px;
}
.bar-col-r { text-align: right; }
.bar-col-r .hp,
.bar-col-r .meter { transform: scaleX(-1); }
.hp, .meter {
  height: 14px;
  background: #1a1a1a;
  border: 1px solid #2b2b2b;
  position: relative;
  overflow: hidden;
}
.meter { height: 6px; margin-top: 6px; border-color: #3a1515; }
.hp i, .hp b, .meter b {
  position: absolute;
  inset: 0 auto 0 0;
  width: 100%;
  transform-origin: left center;
}
.hp i { background: #7a1a16; transition: transform .45s linear; }
.hp b { background: linear-gradient(90deg, #ee2b23, #ff5a4a); }
.meter b { background: #f2efe8; }
.clock {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 900;
  letter-spacing: -.06em;
  min-width: 70px;
  text-align: center;
  line-height: 1;
  padding-top: 6px;
}
.combo {
  position: absolute;
  right: 6vw;
  top: 38%;
  font-size: clamp(42px, 7vw, 88px);
  font-weight: 900;
  letter-spacing: -.06em;
  color: #fff;
  text-shadow: 4px 0 0 #ee2b23, -3px 0 0 #fff;
  line-height: .85;
}
.combo small {
  display: block;
  font-size: .28em;
  letter-spacing: .2em;
  color: #ee2b23;
}

.overlay {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 clamp(22px, 5vw, 80px) clamp(40px, 8vh, 90px);
  background:
    linear-gradient(90deg, rgba(5,5,5,.78) 0%, rgba(5,5,5,.2) 55%, transparent),
    linear-gradient(0deg, rgba(5,5,5,.88), transparent 48%);
  pointer-events: none;
}
.overlay .button { pointer-events: auto; width: max-content; }
.overlay .button-primary:hover { background: #fff; color: #111; }
.overlay h1 {
  font-size: clamp(48px, 9vw, 120px);
  line-height: .86;
  letter-spacing: -.055em;
  font-weight: 900;
  margin: 0 0 16px;
  max-width: 12ch;
}
.overlay .lede {
  font-size: clamp(15px, 1.6vw, 22px);
  color: #cfcbc2;
  margin: 0 0 28px;
}
.overlay .keys {
  margin: 22px 0 0;
  font-size: 11px;
  letter-spacing: .1em;
  color: #9b9a95;
  max-width: 720px;
}
.overlay .keys-sub { margin-top: 8px; opacity: .7; }
.overlay.is-dim {
  background: rgba(5,5,5,.72);
  justify-content: center;
  align-items: flex-start;
}
.overlay.is-dim .keys { display: none; }
.overlay.is-dim h1 { max-width: 16ch; }
.overlay[hidden] { display: none; }

.rotate-gate {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: #0a0a0a;
  color: #f2efe8;
  display: none;
  place-items: center;
  text-align: center;
  font-size: clamp(32px, 8vw, 56px);
  font-weight: 900;
  letter-spacing: -.04em;
  pointer-events: none;
}
.rotate-gate:not([hidden]) {
  display: grid;
  pointer-events: auto;
}
.rotate-gate span {
  display: block;
  margin-top: 12px;
  font-size: 12px;
  letter-spacing: .22em;
  color: #ee2b23;
}

.touch {
  position: absolute;
  inset: auto 0 12px;
  z-index: 5;
  display: none;
  justify-content: space-between;
  align-items: flex-end;
  padding: 0 18px calc(10px + env(safe-area-inset-bottom));
  pointer-events: none;
}
.touch:not([hidden]) {
  display: flex;
}
.stick {
  width: 132px;
  height: 132px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 50%;
  position: relative;
  pointer-events: auto;
  background: rgba(0,0,0,.28);
}
.stick i {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #f2efe8;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.btns {
  display: grid;
  grid-template-columns: repeat(3, 64px);
  gap: 10px;
  pointer-events: auto;
}
.btns button {
  height: 64px;
  border: 1px solid rgba(255,255,255,.35);
  background: rgba(10,10,10,.55);
  color: #fff;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 11px;
}
.btns button.super,
.btns button[data-act="special"] { border-color: #ee2b23; color: #ee2b23; }
.btns button:active { background: #ee2b23; color: #fff; }

@media (pointer: fine) and (min-width: 1100px) {
  .touch { display: none !important; }
}
@media (max-height: 500px) {
  .bars { padding-top: 58px; gap: 10px; }
  .btns button { height: 52px; }
  .stick { width: 110px; height: 110px; }
}
