#ui .btn.no {
  filter: grayscale(0.85) brightness(0.75);
}

#rot,
#rot2 {
  display: none !important;
}

/* ===== select panel (4 blocks) ===== */
.sxg {
  grid-auto-rows: 11.8em;
}

.fc .fi img {
  height: min(8em, calc(400px / var(--dpr, 1)));
}

.sxp {
  height: 24.6em;
  padding: 0.7em 0.9em;
  gap: 0.4em;
}

.sxp .pn b {
  font-size: 1.7em;
}

.sxp .sr {
  margin-top: 0;
}

.sxp .sr span {
  font-size: 0.7em;
}

.sxp .mvs {
  gap: 0.3em;
  margin-top: 0.1em;
}

.sxp .mv {
  padding: 0.3em 0.6em;
}

.sxp .mv .mh b {
  font-size: 0.82em;
}

.sxp .mv p {
  font-size: 0.7em;
  margin-top: 0.15em;
  line-height: 1.2;
}

.sxp .mv.pv {
  border-color: #7dd3ff55;
  background: #7dd3ff14;
}

.sxp .mv.pv .mh b {
  color: #8fdcff;
}

.sxp .mv.uv {
  border-color: #ffd54a66;
  background: #ffd54a14;
}

.sxp .mv.uv .mh b {
  color: #ffd54a;
}

/* ===== levels page ===== */
.lvx .sxt {
  text-shadow:
    0 0.07em 0 #0b1745,
    0 0 0.6em var(--chc);
}

.chb {
  width: 3.2em;
}

.chb.on {
  background: linear-gradient(#fff, var(--chc));
  color: #1a1a2e;
  border-color: #fff;
}

.chb.off {
  opacity: 0.62;
}

.chb svg {
  width: 1em;
  height: 1em;
  fill: #9aa4d8;
  vertical-align: middle;
}

.lcb {
  flex: none;
  display: flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.35em 1.1em;
  border-radius: 99em;
  background: #000a;
  border: 0.12em solid #ffd54a;
  font:
    400 0.78em Bungee,
    Impact,
    sans-serif;
  letter-spacing: 0.08em;
  color: #ffe9a0;
}

.lcb svg {
  width: 1.1em;
  height: 1.1em;
  fill: #ffd54a;
}

.lgw {
  position: relative;
  flex: none;
  width: 45.4em;
  height: 19em;
  margin-top: auto;
}

.lgw .lg {
  position: absolute;
  inset: 0;
  margin: 0;
  z-index: 1;
}

.lpath polyline {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.lpath .p0 {
  stroke: #2a3566;
  stroke-width: 0.9em;
  stroke-width: 12px;
  opacity: 0.9;
}

.lpath .p1 {
  stroke: var(--chc);
  stroke-width: 8px;
  filter: drop-shadow(0 0 6px var(--chc));
}

.ln {
  flex-direction: row !important;
  gap: 0.45em;
  padding: 0 0.5em;
  border-color: var(--tc);
  background: linear-gradient(#1c2766, #0a0f33);
}

.ln[style*="#5b6bb5"] {
  border-color: var(--chc);
}

.ln .av {
  flex: none;
  width: 2.6em;
  height: 2.6em;
  border-radius: 50%;
  border: 0.14em solid var(--tc);
  background-size: auto 340%;
  background-position: 50% 2%;
  background-color: #10163f;
  box-shadow: inset 0 0 0.4em #000;
}

.ln .li {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 3.4em;
}

.ln .li b {
  font-size: 1.4em;
}

.ln.lock .av {
  filter: brightness(0) contrast(2);
}

.ln.lock {
  opacity: 1 !important;
  filter: none !important;
  background: linear-gradient(#141a47, #080b24) !important;
}

.ln.lock b {
  opacity: 0.45;
}

.ln.lock u {
  opacity: 0.7;
}

.ln .ob {
  position: absolute;
  left: 0.35em;
  top: 0.3em;
  width: 0.6em;
  height: 0.6em;
  border-radius: 50%;
  background: #ffd54a;
  box-shadow: 0 0 0.4em #ffd54a;
}

.ln u {
  top: 0.25em;
  right: 0.35em;
}

.cfoot {
  flex: none;
  width: 100%;
  max-width: 45.4em;
  display: flex;
  align-items: center;
  gap: 1em;
  margin-bottom: auto;
  font:
    400 0.72em Russo,
    Impact,
    sans-serif;
  letter-spacing: 0.1em;
  color: #cfd8ff;
}

.cfoot .cbar {
  position: relative;
  flex: 1;
  height: 1.7em;
  border-radius: 99em;
  background: #05071c;
  border: 0.14em solid #36427a;
  overflow: hidden;
}

.cfoot .cbar i {
  display: block;
  height: 100%;
  background: linear-gradient(#fff3a8, #ffb300 55%, #ff7a00);
}

.cfoot .cbar span {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-shadow: 0 0.08em 0.1em #000;
  font-size: 0.9em;
}

.cfoot em {
  font-style: normal;
  color: #ffe9a0;
  white-space: nowrap;
}

.cfoot .tot {
  white-space: nowrap;
  opacity: 0.8;
}

.cfoot .btn {
  margin: 0;
  flex: none;
}

.cfoot .ci {
  height: 1.5em;
  vertical-align: middle;
}

.cfoot .cbar {
  min-width: 11em;
  flex: 1 1 11em;
}

.cfoot .cbar span {
  white-space: nowrap;
}

.cfoot em {
  display: flex;
  align-items: center;
  gap: 0.4em;
}

/* level modal */
.lvn {
  font:
    400 1.5em/1 Bungee,
    Impact,
    sans-serif;
  color: #ffd54a;
  text-align: center;
  text-shadow: 0 0.07em 0 #5a2a00;
  margin-bottom: 0.25em;
}

.lvq {
  text-align: center;
  font:
    800 0.85em Nunito,
    sans-serif;
  color: #cfd8ff;
  font-style: italic;
  margin-bottom: 0.4em;
}

.chipr {
  display: flex;
  justify-content: center;
  gap: 0.5em;
  margin: 0 0 0.3em;
}

.chipr span {
  padding: 0.25em 0.9em;
  border-radius: 99em;
  border: 0.12em solid var(--tc);
  color: var(--tc);
  font:
    400 0.78em Bungee,
    Impact,
    sans-serif;
  letter-spacing: 0.08em;
}

.lvo {
  margin: 0 auto 0.45em;
  max-width: 26em;
  text-align: center;
  padding: 0.4em 0.8em;
  border-radius: 0.6em;
  background: #ffd54a1a;
  border: 0.1em solid #ffd54a77;
  font:
    800 0.82em Nunito,
    sans-serif;
  color: #ffe9a0;
}

.lvo b {
  color: #ffd54a;
  font-family: Bungee, Impact, sans-serif;
  font-weight: 400;
}

.lvo.dn {
  opacity: 0.55;
  text-decoration: line-through;
}

/* VS stat bars */
.vb {
  display: flex;
  align-items: center;
  gap: 0.5em;
  width: 12em;
  margin-top: 0.25em;
}

.vb span {
  flex: 0 0 3.6em;
  font:
    400 0.6em Russo,
    Impact,
    sans-serif;
  letter-spacing: 0.1em;
  color: #cfd8ff;
}

.vb s {
  flex: 1;
  height: 0.6em;
  border-radius: 0.2em;
  background: #04061a;
  border: 0.08em solid #2a3566;
  overflow: hidden;
  display: block;
}

.vb s i {
  display: block;
  height: 100%;
  background: linear-gradient(#fff3a8, #ffb300 55%, #ff7a00);
}

.vzg {
  text-transform: none;
  font-size: 1.05em;
  letter-spacing: 0.06em;
}

/* ult: HUD + touch */
#hud .mt.ult {
  box-shadow:
    0 0 1em #ffd54a,
    0 0 0.3em #fff;
  animation: ultp 0.45s ease-in-out infinite alternate;
}

#hud .mt.ult i {
  background: linear-gradient(#fff, #ffd54a 50%, #ff8a00) !important;
}

@keyframes ultp {
  from {
    filter: brightness(1);
  }
  to {
    filter: brightness(1.5);
  }
}

#tp b.ult {
  position: absolute;
  right: 2.2%;
  bottom: 13.4em;
  width: 4.6em;
  height: 4.6em;
  min-width: 0;
  margin: 0;
  border-radius: 50% !important;
  font-size: inherit !important;
  background:
    radial-gradient(circle at 35% 28%, #fffb, #fff0 40%), #4a4f6e !important;
  border: 0.2em solid #fffd !important;
  box-shadow: 0 0.3em 0 #0008 !important;
  opacity: 0.6;
  display: flex;
  align-items: center;
  justify-content: center;
}

#tp b.ult::after {
  content: "ULT";
  font:
    400 1.5em Bungee,
    Impact,
    sans-serif;
  color: #fff;
  text-shadow: 0 0.1em 0.15em #000;
}

#tp b.ult.rdy {
  background:
    radial-gradient(circle at 35% 28%, #fff, #fff0 40%), #ffb300 !important;
  opacity: 1;
  animation: ultp 0.45s ease-in-out infinite alternate;
  box-shadow:
    0 0 1.4em #ffd54a,
    0 0.3em 0 #0008 !important;
}

#tp b.ult.rdy::after {
  color: #3a1a00;
  text-shadow: 0 0.08em 0 #ffeaa0;
}
