/* RUINROLL · 90-order-sensitive.css — Rules that must load after the screen files because they compete with rules on other screens (same weight, same element). Edit with care.
   Generated from the consolidated stylesheet stack; rule order inside this file is cascade order. */
.bv16X {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid #ffffff55;
  background: #ffffff1a;
  color: #fff;
  font: 900 16px system-ui;
}
.bv16Picks button img {
  width: 100%;
  max-width: 120px;
  aspect-ratio: 1;
  object-fit: contain;
  filter: drop-shadow(0 6px 8px #000a);
}
.bv16Picks button b {
  font: 900 14px system-ui,sans-serif;
}
.bv16DiscoHero {
  position: absolute;
  width: clamp(86px,21vh,130px);
  inset-inline-start: -14px;
  top: -22px;
  filter: drop-shadow(0 8px 14px #000c);
  animation: bv16Bob 2.2s ease-in-out infinite;
  pointer-events: none;
  z-index: 2;
}
.bv16Card {
  position: relative;
  display: block;
  width: min(150px,26vw,30vh);
  aspect-ratio: 544/720;
  transition: transform .18s;
}
.bv16CardArt {
  position: absolute;
  z-index: 1;
  left: 14%;
  right: 14%;
  top: 17%;
  width: 72% !important;
  max-width: none !important;
  aspect-ratio: 1;
  object-fit: contain;
  filter: drop-shadow(0 6px 8px #000a);
}
.bv16CardFrame {
  position: absolute;
  inset: 0;
  width: 100% !important;
  max-width: none !important;
  height: 100%;
  aspect-ratio: auto !important;
  filter: none !important;
  pointer-events: none;
}
.bv16CeleTrack i img {
  width: 86%;
  height: 86%;
  object-fit: contain;
}
.bv16CeleTrack i b {
  position: absolute;
  bottom: -2px;
  inset-inline-end: 2px;
  font: 900 10px system-ui,sans-serif;
  color: #fff;
  text-shadow: 0 1px 2px #000;
}
.bv16Coin {
  grid-area: 1/1;
  width: 30px;
  height: 30px;
  animation: bv16Fly var(--t) .15s cubic-bezier(.1,.8,.3,1) both;
}
.bv16BurstRays {
  animation: bv16Spin2 6s linear infinite;
}
@media (prefers-reduced-motion:reduce) {
  .bv16Rays,
  .bv16BurstRays,
  .bv16DiscoHero,
  .bv16TrialBadge,
  .bv16Card::after {
    animation: none;
  }
}
.bv17Badge i {
  font-style: normal;
  color: #eafff1;
}
.bv18Box header {
  display: flex;
  align-items: center;
  gap: 12px;
}
.bv18League i {
  font-style: normal;
  font-size: clamp(38px,15vh,80px);
  filter: drop-shadow(0 6px 10px #000a);
}
.bv18Vs>i {
  font: 1000 clamp(26px,9vh,48px) system-ui;
  font-style: italic;
  color: #ff7ad9;
  text-shadow: 0 3px 0 #3a0a5a;
}
.bv19Flip {
  position: relative;
  width: clamp(96px,30vh,170px);
  aspect-ratio: 5/7;
  perspective: 900px;
  animation: bv16Pop .6s cubic-bezier(.2,1.6,.4,1) both;
}
.bv19Back,
.bv19Front {
  position: absolute;
  inset: 0;
  border-radius: 14px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.bv19Back {
  display: grid;
  place-items: center;
  font: 1000 clamp(48px,16vh,90px) system-ui;
  color: #ffe08a;
  background: repeating-linear-gradient(45deg,#3b1683 0 12px,#2a0f5e 12px 24px);
  border: 4px solid #ffd34d;
  box-shadow: 0 0 24px #ffd34d88;
  text-shadow: 0 4px 0 #6a3a00;
  animation: bv19Flip1 .7s 1s cubic-bezier(.3,1.3,.5,1) forwards;
}
.bv19Front {
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: radial-gradient(circle at 50% 35%,#3a5aa0,#0b1d3c);
  border: 4px solid #8fd0ff;
  animation: bv19Flip2 .7s 1s cubic-bezier(.3,1.3,.5,1) forwards;
}
.bv19Front img {
  width: 78%;
  aspect-ratio: 1;
  object-fit: contain;
  filter: drop-shadow(0 6px 10px #000a);
}
.bv19Front b {
  font: 1000 clamp(10px,2.8vh,13px) system-ui;
  color: #fff;
  text-shadow: 0 2px 2px #000;
}
.bv19Chip img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}
.bv19Chip b {
  font: 1000 13px system-ui;
  color: #ffe08a;
}
@media (prefers-reduced-motion:reduce) {
  .bv19Back,
  .bv19Front {
    animation-duration: .01s;
  }
}
.bv20Pick>small {
  display: block;
  font-size: 9px;
  letter-spacing: .12em;
  color: #9fb3ff;
  font-weight: 800;
  margin-bottom: 4px;
}
.bv20Card i {
  font-style: normal;
  font-size: 32px;
  filter: drop-shadow(0 3px 6px #0008);
}
.bv20Card b {
  font-size: 18px;
  letter-spacing: .06em;
}
.bv20Card small {
  font-size: 11px;
  color: #d5ddff;
  opacity: .9;
}
.bv20Card em {
  margin-top: 5px;
  font-style: normal;
  font-weight: 900;
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 999px;
  background: #0008;
  color: #ffe27a;
}
@media (max-height:420px) {
  .bv20Card i {
    font-size: 24px;
  }
  .bv20Card b {
    font-size: 15px;
  }
}
.la-art .la-p {
  position: relative;
  overflow: hidden;
  border: 4px solid #000;
  background: repeating-linear-gradient(180deg,transparent 0 18px,#00000014 18px 22px),
 linear-gradient(170deg,var(--a) 0%,var(--b) 62%,var(--c) 100%);
  box-shadow: inset 0 0 60px #0007;
}
.la-art .la-h {
  position: absolute;
  z-index: 1;
  bottom: 3%;
  left: 50%;
  height: 90%;
  max-width: none;
  transform: translateX(-50%);
  filter: drop-shadow(0 0 0 #000) drop-shadow(6px 8px 0 #0009);
  animation: laZoom 7s ease-out both;
}
.la-art .la-bgmap {
  position: absolute;
  inset: 0;
  background: center/cover no-repeat;
  opacity: .55;
  mix-blend-mode: luminosity;
  filter: contrast(1.2) saturate(1.3);
}
.la-art .la-myst {
  background: radial-gradient(circle at 50% 45%,#5b2bff 0%,#1b1b3a 55%,#05030f 100%);
}
.la-art .la-sil {
  filter: brightness(0) drop-shadow(0 0 2px #b98cff) drop-shadow(0 0 14px #7a4dff) !important;
  opacity: .95;
}
.la-art .la-q {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 44%;
  transform: translate(-50%,-50%) rotate(-6deg);
  font: 900 clamp(40px,12vh,96px)/1 'Madball Display',system-ui,sans-serif !important;
  color: #fff !important;
  text-shadow: 0 0 18px #b98cff,0 4px 0 #3a1a7a;
  animation: laPulse 1.8s ease-in-out infinite;
}
.la-l0,
.la-l1 {
  grid-template-columns: 1.35fr 1fr;
  grid-template-rows: 1fr 1fr;
}
.la-l3 {
  grid-template-columns: 1fr 1.35fr;
  grid-template-rows: 1fr 1fr;
}
.la-l2 {
  grid-template-columns: 1fr;
}
.la-art .la-logo {
  position: absolute;
  z-index: 4;
  left: 18px;
  bottom: 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: rotate(-4deg);
  pointer-events: none;
}
.la-art .la-tease {
  position: absolute;
  z-index: 4;
  left: 0;
  right: 0;
  top: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  background: linear-gradient(90deg,#000,#000d 70%,transparent);
  color: #ffde59;
  font: 800 clamp(10px,2.6vh,15px)/1.2 ui-monospace,Menlo,Consolas,monospace;
  letter-spacing: .08em;
  pointer-events: none;
}
.la-art .la-dots {
  display: none;
}
[dir=rtl] .la-art .la-tease {
  direction: rtl;
  background: linear-gradient(270deg,#000,#000d 70%,transparent);
}
@media (max-height:420px) {
  .la-art .la-logo {
    left: 12px;
    bottom: 10px;
  }
  .la-host>.la-art {
    gap: 5px;
    padding: 5px;
  }
}
@media (orientation:portrait) {
  .la-l0,
  .la-l1,
  .la-l3 {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1.4fr 1fr;
  }
}
:root {
  font-family: system-ui,-apple-system,"Segoe UI",Arial,sans-serif;
  color: #fff;
  font-synthesis: none;
}
.panel,
.sheet {
  position: absolute;
  z-index: 15;
  inset: 0;
}
.panel {
  background: #070d22ec;
}
.panel.open {
  display: block;
}
.profileInfo b {
  font-size: 14px;
  text-shadow: 0 2px 6px black;
}
.profileInfo small {
  font-size: 10px;
  color: #e4f6ff;
}
.xpbar {
  height: 8px;
  margin: 5px 0 2px;
  background: #152647;
  border: 1px solid #66b8e4;
  border-radius: 99px;
  overflow: hidden;
}
.currencies button,
#menuSound {
  background: #10254d;
  border: 1px solid #6cc9ff88;
  border-radius: 12px;
  width: 39px;
  height: 39px;
  font-size: 21px;
}
.heroText h1 em {
  display: block;
  font-style: normal;
  color: #6be5ff;
  -webkit-text-stroke: 1px #1c4d92;
  font-size: .94em;
}
.heroText p {
  font-size: clamp(9px,1.25vw,16px);
  letter-spacing: .11em;
  font-weight: 900;
  color: #fbf1cb;
}
.mainCTA>p {
  text-align: center;
  color: #ffeac5;
  font-size: clamp(10px,1vw,14px);
  font-weight: 900;
  margin: 3px;
}
.worldInfo b {
  display: block;
  font-size: clamp(12px,1.5vw,20px);
  color: #ffedb0;
}
.worldInfo small {
  font-size: 11px;
  color: #b9e5ff;
}
.arenaChoice {
  display: flex;
  gap: 5px;
  align-items: center;
  justify-content: center;
  flex: 1;
  min-width: 0;
  padding: 13px 7px;
  background: #0b224bdb;
  border: 2px solid #4a88cda9;
  border-radius: 12px;
  font-weight: 900;
  letter-spacing: .03em;
  font-size: clamp(10px,1vw,14px);
}
.arenaChoice.selected {
  background: #a25422d9;
  border-color: #ffe379;
  box-shadow: 0 0 17px #ffbe4b7a;
}
.arenaChoice.locked {
  opacity: .56;
  filter: saturate(.55);
  position: relative;
}
.sheet {
  background: linear-gradient(130deg,#0a1432fa,#162450f6);
  padding: clamp(12px,2vw,27px) max(4%,env(safe-area-inset-left));
  overflow: auto;
}
.sheetHead small {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .2em;
  color: #ffca73;
}
.sheetHead h2 {
  margin: 1px 0 4px;
  font-size: clamp(22px,3vw,38px);
}
.skinsGrid {
  display: grid;
  grid-template-columns: repeat(5,minmax(0,1fr));
  gap: 10px;
  padding-bottom: 20px;
}
.levelsGrid {
  display: grid;
  grid-template-columns: repeat(6,1fr);
  gap: 9px;
  padding: 6px 0;
}
.score {
  min-width: 120px;
  width: 21%;
  padding: 5px 9px;
}
.emblem {
  font-size: clamp(18px,3vw,34px);
}
.score small {
  display: block;
  font-size: clamp(8px,1.1vw,12px);
  font-weight: 900;
  color: #fff0c9;
}
.timePanel small {
  font-size: 9px;
  color: #ffc877;
  font-weight: 900;
}
.ability.ice {
  background: radial-gradient(circle,#6bf2ff,#1663ba);
  border-color: #7aeaff;
  box-shadow: 0 0 15px #24a8fc7d;
}
.ability.purple {
  background: radial-gradient(circle,#d48afd,#6928bb);
  border-color: #d7a1fc;
  box-shadow: 0 0 15px #8b53ff7d;
}
.ability.blue {
  background: radial-gradient(circle,#8af5ff,#116ad2);
  border-color: #9cddff;
  box-shadow: 0 0 15px #1994fd7d;
}
.ability.smash {
  border-color: #ffd671;
  background: radial-gradient(circle at 40% 31%,#ffd458,#eb6718 60%,#7b250b);
}
.ability:active {
  transform: translateY(3px) scale(.94);
}
.ability .cool {
  display: none;
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #020714ac;
  place-items: center;
  color: #fff;
  font-size: 18px;
}
.results {
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 50% 30%,#193e75f2,#060b20f9 75%);
  z-index: 16;
  overflow-y: auto;
}
.rewards {
  display: flex;
  gap: 15px;
  justify-content: center;
}
.resultBtns button,
#bonusBtn,
.pause button {
  border: 2px solid #fbd080;
  border-radius: 12px;
  background: linear-gradient(#ffa94a,#d35b1c);
  color: white;
  font-weight: 950;
  padding: 9px 15px;
  font-size: clamp(11px,1.7vw,17px);
  box-shadow: 0 3px #863515;
}
#bonusBtn {
  border-color: #94c7ff;
}
.pause {
  z-index: 18;
  display: grid;
  place-items: center;
  background: #050b21dd;
}
.pause button {
  font-size: 17px;
}
@media (max-height:420px) {
  .arenaChoice {
    padding: 8px 3px;
  }
  .profile .portrait {
    width: 40px;
    height: 40px;
    font-size: 21px;
  }
  .currencies button {
    width: 31px;
    height: 31px;
  }
  .score {
    padding: 3px 6px;
  }
  .ability.smash {
    width: 65px;
    height: 65px;
  }
}
@media (max-width:680px) and (orientation:landscape) {
  .skinsGrid {
    grid-template-columns: repeat(5,1fr);
  }
  .levelsGrid {
    grid-template-columns: repeat(6,1fr);
  }
  .sheet {
    padding: 9px 3%;
  }
  .score {
    width: 24%;
  }
}
.ability,
.ability.smash {
  width: clamp(41px,10.5vh,73px);
  height: clamp(41px,10.5vh,73px);
  min-height: 0;
  box-shadow: 0 0 9px #ff8d55bb,inset 0 2px 8px #fff7;
  border-width: 2px;
}
.ability.smash {
  width: clamp(45px,11.3vh,80px);
  height: clamp(45px,11.3vh,80px);
}
.ability small {
  font-size: clamp(8px,1.65vh,11px);
  font-weight: 900;
  color: #fff;
  line-height: 1;
}
@media (max-height:430px) {
  .ability,
  .ability.smash {
    width: clamp(35px,10.3vh,49px);
    height: clamp(35px,10.3vh,49px);
  }
  .ability small {
    font-size: 7px;
  }
}
:root {
  color-scheme: dark;
}
.score {
  background: linear-gradient(155deg,#1b4267e8,#101b40dc);
  border: 2px solid #bdefff;
  border-radius: 15px;
  box-shadow: 0 5px 17px #17456b55;
}
.score-you {
  border-color: #ffda82;
}
.score-rival {
  border-color: #71e8ff;
}
.introSpot.left {
  left: 11%;
  color: #ffbf5f;
}
.introSpot.right {
  right: 13%;
  color: #91e9ff;
  animation-delay: -.26s;
}
.audioMixer .audioHeader {
  font-size: clamp(12px,2.7vh,16px);
  font-weight: 900;
  color: #a3f2ff;
}
@media (max-height:440px) {
  .audioMixer .audioHeader {
    font-size: 12px;
  }
  .skinsGrid {
    grid-template-columns: repeat(5,minmax(0,1fr));
  }
}
.labCard b {
  font-size: clamp(10px,1.3vw,14px);
}
.labCard small {
  color: #c8eeff;
  font-size: clamp(8px,1.08vw,11px);
}
.labCard .labEmoji {
  font-size: clamp(19px,3.5vw,27px);
}
.labCard.selected {
  border: 2px solid #ffe472;
  background: linear-gradient(155deg,#446587,#2a446d);
}
@media (max-width:680px) and (orientation:landscape) {
  .arenaChoice {
    font-size: 8px;
    padding: 6px 2px;
  }
  .arenaChoices {
    grid-template-columns: repeat(5,minmax(0,1fr));
  }
}
@media (min-width:681px) {
  .arenaChoices {
    grid-template-columns: repeat(5,minmax(0,1fr));
  }
}
.loadoutScreen .sheetHead {
  position: static;
  margin-bottom: 3px;
}
.preMatchBoosts .labCard {
  padding: 8px 7px;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: #1b3358;
  border: 1px solid #4f7897;
  border-radius: 13px;
  text-align: center;
}
.preMatchBoosts .labCard.selected {
  border: 2px solid #f9d16b;
  background: #2b405d;
}
.preMatchBoosts .labEmoji {
  font-size: clamp(19px,2.8vw,30px);
}
@media (max-height:410px) {
  .preMatchBoosts .labCard {
    gap: 1px;
    padding: 3px;
  }
}
.celebrationCard {
  padding: 12px;
  border: 1px solid #7a69e8;
  background: linear-gradient(150deg,#172a51,#27204b);
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: center;
}
.celebrationCard.selected {
  border: 2px solid #ffcf67;
  box-shadow: 0 0 17px #ffc34439;
}
.celebrationCard small {
  font-size: 10px;
  color: #d6e6ff;
  flex: 1;
}
.celebrationCard b {
  font-size: 12px;
}
.celebrationCard button {
  font-size: 12px;
  border: 0;
  border-radius: 9px;
  padding: 9px 4px;
  background: #3296d0;
  color: white;
  font-weight: 900;
}
.partyPiece {
  position: absolute;
  left: var(--x);
  top: -18px;
  width: 7px;
  height: 14px;
  background: hsl(var(--h),95%,68%);
  animation: confettiFall var(--t) var(--d) linear infinite;
  transform: rotate(35deg);
}
.currencyPacks {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(145px,1fr));
  gap: 9px;
  margin: 10px 0 20px;
}
.currencyPacks article b {
  color: #ffe39a;
  font-size: 12px;
}
.currencyPacks button {
  border: 1px solid #63849d;
  border-radius: 8px;
  padding: 8px;
  font-size: 9px;
  background: #25334c;
  color: #b1c4d5;
  cursor: not-allowed;
}
.demoVideoBox b {
  color: #ffe28a;
}
.demoVideoBox p {
  font-size: 13px;
}
.demoVideoBox small {
  color: #b5cbef;
  font-size: 11px;
}
.ballIdentityStats {
  display: block;
  padding: 11px 15px;
  margin: 9px 0 14px;
  text-align: center;
  border-radius: 15px;
  border: 1px solid #5af6dd;
  background: linear-gradient(110deg,#123d60,#214177);
  font-size: 13px;
  color: #d1fff4;
  letter-spacing: .05em;
  font-weight: 900;
}
.upgradeSegments i.filled {
  background: linear-gradient(#8bf5d9,#30c4c5);
  border-color: #aaffec;
  box-shadow: 0 0 5px #74f9de;
}
.arenaChoice.journeyLocked {
  opacity: .4;
  filter: grayscale(.65);
  pointer-events: none;
}
#bonusBtn:disabled {
  animation: none !important;
  filter: grayscale(.7);
  opacity: .72;
}
.startupCard {
  width: min(440px,86vw);
  padding: 28px 24px;
  text-align: center;
  border: 1px solid #9de8ff8c;
  border-radius: 22px;
  background: #112747eF;
  box-shadow: 0 20px 70px #020713aa;
}
.startupCard h1 {
  font-size: clamp(24px,5vw,42px);
  margin: 0;
  color: #fff1b4;
}
.startupCard p {
  margin: 8px 0 18px;
  color: #bcecff;
}
.startupTrack {
  height: 18px;
  border-radius: 99px;
  background: #07182d;
  border: 1px solid #7bc8ff;
  overflow: hidden;
}
.startupTrack i {
  display: block;
  width: 8%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg,#34e1d4,#ffe274,#ff9c47);
  transition: width .2s;
}
.startupPercent {
  display: block;
  margin-top: 8px;
  color: #d9f5ff;
  font-weight: 900;
}
.startupHint {
  font-size: 12px;
  opacity: .75;
  margin-top: 14px !important;
}
.villainCard {
  position: relative;
  overflow: hidden;
  border: 2px solid var(--accent);
  background: linear-gradient(155deg,#17314a,#071124 55%,#16142c);
  box-shadow: 0 0 14px color-mix(in srgb,var(--accent) 45%,transparent),inset 0 0 24px #0007;
}
.villainCard header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--accent);
  font-weight: 900;
  letter-spacing: 1px;
}
.villainNumber {
  display: grid;
  place-items: center;
  border: 2px solid var(--accent);
  border-radius: 50%;
  background: #071329;
}
.villainArt {
  position: relative;
  display: grid;
  place-items: center;
  background: radial-gradient(ellipse,#fff 35%,#cce3f1 65%,#34486b);
}
.villainArt>span {
  position: absolute;
  bottom: 8px;
  right: 10px;
  font-size: 30px;
}
.villainRole {
  text-align: center;
  color: var(--accent);
  font-weight: 950;
  letter-spacing: 1px;
}
.villainCard section,
.villainBoss {
  border: 1px solid #577bad;
  border-radius: 10px;
  background: #061024b8;
}
.villainCard h4 small {
  opacity: .65;
}
.villainStat {
  display: flex;
  align-items: center;
  background: #0c1b35;
  border-radius: 5px;
}
.villainStat>span {
  font-weight: 850;
}
.villainStat>div {
  display: flex;
  gap: 3px;
  flex: 1;
}
.villainStat i {
  flex: 1;
  transform: skew(-12deg);
  background: #26374e;
  border: 1px solid #3e536b;
}
.villainStat i.on {
  background: var(--stat);
  box-shadow: 0 0 5px var(--stat);
  border-color: #ffffff77;
}
.villainStat>b {
  font-size: 12px;
}
.villainSkill>b {
  color: #fcdbff;
}
.villainCard p {
  color: #c8d9ef;
}
.villainBoss {
  border-color: #d6ad4f;
}
.villainBoss>b {
  color: #ffdf70;
}
.villainRank {
  color: #b4d4ed;
  text-align: center;
}
.villainCard>button {
  width: 100%;
  border: 1px solid var(--accent);
  border-radius: 8px;
  background: linear-gradient(#274f75,#102947);
  color: white;
  font-weight: 950;
  letter-spacing: 1px;
}
.villainCard>button:disabled {
  background: #5c4c20;
  color: #ffe9a4;
  border-color: #ffe07e;
  cursor: default;
}
@media (max-height:450px) and (min-width:591px) {
  .villainArt {
    height: 180px;
  }
  .villainCard {
    padding: 12px;
  }
  .villainStat {
    margin: 4px 0;
  }
}
.villainCard {
  padding: 12px;
  border-radius: 16px;
  box-shadow: 0 0 10px color-mix(in srgb,var(--accent) 30%,transparent);
}
.villainNumber {
  width: 32px;
  height: 32px;
  font-size: 17px;
}
.villainCard header small {
  font-size: 9px;
}
.villainArt {
  height: 174px;
  margin: 8px 0;
  background: radial-gradient(circle at center,color-mix(in srgb,var(--accent) 22%,transparent),transparent 67%);
  border-radius: 50%;
  overflow: visible;
}
.villainArt img {
  width: 170px;
  height: 170px;
  border-radius: 50%;
  object-fit: contain;
  filter: drop-shadow(0 7px 8px #0008);
}
.villainArt>span {
  display: none;
}
.villainRole {
  font-size: 10px;
  margin-bottom: 9px;
}
.villainCard section,
.villainBoss {
  padding: 9px;
  margin-top: 8px;
}
.villainCard h4 small {
  font-size: 7px;
}
.villainStat {
  margin: 4px 0;
  padding: 4px;
  gap: 7px;
}
.villainStat>span {
  font-size: 10px;
  width: 63px;
}
.villainStat i {
  height: 11px;
}
.villainSkill>b {
  font-size: 12px;
}
.villainCard p {
  font-size: 11px;
  line-height: 1.4;
  margin: 6px 0;
}
.villainRank {
  margin: 9px 0;
  font-size: 10px;
}
.villainCard>button {
  padding: 10px;
  font-size: 11px;
}
.villainBoss>b {
  font-size: 10px;
}
.introPortrait,
#legendPreMatch img {
  border-radius: 50%;
  background: transparent !important;
  object-fit: contain;
}
.frostSymbol i {
  position: absolute;
  font-style: normal;
  font-size: .48em;
  right: -.45em;
  bottom: -.16em;
  filter: drop-shadow(0 1px 2px #102448);
}
@media (max-width:590px) {
  .villainCard {
    padding: 8px;
  }
  .villainArt {
    height: 120px;
  }
  .villainArt img {
    width: 118px;
    height: 118px;
  }
  .villainNumber {
    width: 25px;
    height: 25px;
    font-size: 13px;
  }
  .villainCard header small {
    font-size: 7px;
    letter-spacing: 0;
  }
  .villainRole {
    font-size: 8px;
    letter-spacing: 0;
  }
  .villainStat>span {
    width: 46px;
    font-size: 8px;
  }
  .villainStat {
    gap: 4px;
    padding: 3px;
  }
  .villainStat>b {
    font-size: 9px;
  }
  .villainStat i {
    height: 9px;
  }
  .villainCard section,
  .villainBoss {
    padding: 6px;
  }
  .villainCard p {
    font-size: 10px;
  }
  .villainCard>button {
    font-size: 9px;
  }
  .villainRank {
    font-size: 8px;
  }
}
@media (max-width:350px) {
  .villainArt {
    height: 150px;
  }
  .villainArt img {
    width: 148px;
    height: 148px;
  }
}
.reactionPreview {
  font-size: 30px;
  display: block;
  animation: reactionFloat 1.4s ease-in-out infinite alternate;
}
.reactionPreview[data-reaction="disco"] {
  animation: reactionSpin 4s linear infinite;
}
.reactionPreview[data-reaction="rage"] {
  animation: reactionPulse .7s infinite alternate;
}
.reactionPreview[data-reaction="lightning"] {
  animation: reactionShake .3s infinite alternate;
}
.emojiPiece {
  width: auto !important;
  height: auto !important;
  background: none !important;
  font-style: normal;
  font-size: 22px;
}
@media (prefers-reduced-motion:reduce) {
  .reactionPreview {
    animation: none !important;
  }
}
.techCard {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 12px !important;
  border: 1px solid #7cc6e7 !important;
  border-radius: 20px !important;
  background: linear-gradient(155deg,#275575,#102b49) !important;
  min-height: 390px;
  text-align: center;
}
.techCard .labEmoji {
  font-size: 34px;
}
.techCard>b {
  font-size: 15px;
}
.techCard>small {
  color: #b6d9ed;
  line-height: 1.4;
}
.techCard>p {
  font-size: 13px;
  line-height: 1.45;
  flex: 1;
  margin: 3px 0;
  color: #c9e5f5;
}
.techCard>button {
  background: linear-gradient(120deg,#ffdc73,#f39b25) !important;
  color: #172947 !important;
  font-weight: 950;
  border: 1px solid #fff0b8 !important;
  border-radius: 12px !important;
  padding: 13px 6px !important;
  font-size: 14px;
}
.timingBuy button {
  flex: 1;
  border: 1px solid #a1e2ff;
  border-radius: 10px;
  background: #28617f;
  padding: 10px 5px;
  font-weight: 900;
}
.labIdentity {
  border: 1px solid #9bc6fa;
  border-radius: 14px;
  padding: 12px;
  background: #25446d;
}
.nativePacks {
  display: grid !important;
  grid-template-columns: repeat(auto-fit,minmax(180px,1fr)) !important;
  max-width: 1100px;
  margin: 20px auto;
}
.arenaLoadTrack i {
  height: 100%;
  display: block;
  width: 0;
  background: linear-gradient(90deg,#36d4d3,#ffd76f);
  transition: width .2s;
}
.sheet {
  overflow-y: auto;
  overscroll-behavior: contain;
}
.shopSections button {
  padding: 9px 16px;
  border: 1px solid #6dbddd;
  border-radius: 12px;
  background: #193959;
  font-weight: 800;
  font-size: 12px;
}
.loadingTip {
  color: #ffe6a0;
  font-size: 13px;
  line-height: 1.5;
  min-height: 40px;
}
.shopPage {
  max-width: 1200px;
  margin: auto;
}
.shopSections button[aria-selected=true] {
  background: #ffc45b;
  color: #132746;
}
@media (max-height:500px) {
  .techCard>b {
    font-size: 12px;
  }
}
.rosterLevel {
  text-align: center;
  font-size: 12px;
  font-weight: 950;
  color: #ffe298;
  padding: 6px 0;
}
.rosterLevel small,
.upgradeDelta small {
  display: block;
  font-size: 9px;
  color: #b8d7ed;
  font-weight: 500;
  margin: 4px 0;
}
.upgradeDelta {
  text-align: center;
  font-size: 10px;
  line-height: 1.5;
  color: #8feacb;
  background: #07162d;
  border-radius: 7px;
  padding: 6px;
}
.homeActors img {
  position: absolute;
  object-fit: contain;
  width: 60%;
  height: 120%;
  filter: drop-shadow(0 8px 14px #04102b);
  animation: homeFloat 5s ease-in-out infinite;
}
.dailyCard b {
  font-size: clamp(10px,1.35vw,22px);
}
.dailyCard small {
  display: block;
  color: #b4dafa;
  font-size: clamp(8px,.75vw,12px);
}
.homeNav .toonIcon {
  width: clamp(25px,4vw,61px);
  height: clamp(25px,4vw,61px);
  color: #9eddff;
  stroke: #8dd5ff;
  fill: #213d61;
  filter: drop-shadow(0 3px 1px #000) drop-shadow(0 0 6px #2784c8);
}
.vaultPowerTrack {
  display: grid;
  grid-template-columns: repeat(5,1fr);
  gap: 3px;
}
.vaultPowerTrack i {
  height: 8px;
  border: 1px solid #465b75;
  background: #24364d;
  transform: skew(-12deg);
}
.vaultPowerTrack i.filled {
  background: var(--power-color);
  border-color: color-mix(in srgb,var(--power-color),white 30%);
  box-shadow: 0 0 6px var(--power-color);
}
.arenaHeader small {
  color: #55dfff;
  font-weight: 900;
  letter-spacing: .15em;
}
.arenaHeader button {
  width: 50px;
  height: 48px;
  border: 1px solid #65dfff;
  border-radius: 4px;
  background: #123351;
  color: white;
  font-size: 26px;
}
.arenaBody {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 18px;
}
.arenaCard:active,
#arenaConfirm:active {
  transform: scale(.97);
}
.arenaDecoration {
  border: 1px solid #25415f;
  border-radius: 4px;
  display: grid;
  place-items: center;
  color: #326080;
  font-size: 72px;
  opacity: .5;
  pointer-events: none;
}
.arenaDetail>img {
  width: 100%;
  aspect-ratio: 1.55;
  object-fit: cover;
  border-radius: 4px;
  animation: arenaReveal .2s;
}
.arenaDetail h3 {
  font-size: clamp(19px,2.3vw,32px);
  margin: 0;
  color: white;
}
.arenaDetail small {
  color: #91b6d5;
  font-size: 10px;
  line-height: 1.5;
}
@media (max-height:520px) {
  .arenaHeader small {
    font-size: 9px;
  }
  .arenaHeader button {
    height: 35px;
    width: 38px;
  }
  .arenaBody {
    gap: 10px;
  }
  .arenaDetail h3 {
    font-size: 20px;
  }
}
.matchResults {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 20px;
  min-height: calc(100dvh - 30px);
  max-width: 1500px;
  margin: auto;
  align-items: center;
}
.resultsBrand small {
  display: block;
  text-align: center;
  color: #c6eaff;
  font-size: 11px;
  letter-spacing: .15em;
}
.playerPodium img,
.rivalPodium img {
  width: 90%;
  height: clamp(110px,32dvh,320px);
  object-fit: contain;
  filter: drop-shadow(0 0 16px #64d9ff77);
  margin-bottom: -4%;
  z-index: 2;
}
.rivalPodium img {
  height: clamp(90px,21dvh,220px);
}
.playerPodium>b,
.rivalPodium>b {
  z-index: 3;
  background: #102c4d;
  border: 1px solid #79dcff;
  padding: 8px 14px;
  max-width: 95%;
  text-align: center;
  font-size: clamp(10px,1.6vw,20px);
}
.resultsBoard header>small {
  color: #8be9ff;
  font-weight: 900;
  letter-spacing: .24em;
}
.resultsBoard .resultsScores {
  display: grid;
  grid-template-columns: 1fr 35px 1fr;
  align-items: center;
  gap: 5px;
  margin: 8px 0;
}
.resultsBoard button {
  border: 1px solid #72cfff;
  border-radius: 8px;
  background: linear-gradient(#1767a8,#173355);
  color: white;
  padding: 12px 8px;
  font-weight: 900;
  cursor: pointer;
  transition: transform .12s;
}
.resultsBoard button:disabled {
  opacity: .45;
  cursor: default;
  transform: none;
}
.resultsBoard .rewards {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 9px 0;
}
.resultsBoard .endStats {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 5px;
  font-size: 8px;
  margin: 8px 0;
  padding: 0;
}
.resultsBoard .resultBtns {
  display: grid;
  grid-template-columns: 1fr 1.2fr .8fr;
  gap: 8px;
  margin: 10px 0 3px;
}
.didWin .resultBtns #nextBtn:not(:disabled),
.didLose .resultBtns #replayBtn,
#coachUpgrade {
  color: #30200b;
  background: linear-gradient(#ffe778,#ffab2c);
  border: 2px solid #ffed9f;
  box-shadow: 0 3px #985723;
}
.resultsBoard>* {
  animation: resultsReveal .22s ease-out;
}
@media (max-height:520px) {
  .matchResults {
    gap: 12px;
    grid-template-columns: .7fr 1.3fr;
  }
  .resultsBoard .resultsScores {
    margin: 4px 0;
  }
  .resultsBoard .rewards {
    margin: 5px 0;
  }
  .resultsBoard .endStats {
    margin: 4px 0;
  }
  .resultsBoard button {
    padding: 9px 5px;
    font-size: 11px;
  }
  .resultsBoard .resultBtns {
    margin-top: 5px;
  }
}
#resultPanel .resultsBrand {
  top: 3%;
  font-size: clamp(20px,3vw,43px);
  line-height: 1.05;
  filter: drop-shadow(0 3px 2px #020915);
}
#resultPanel.didWin .playerPodium .podiumBase {
  background-image: url('../results-assets/podium-gold.svg');
}
.resultsBoard .rewardIcon {
  width: clamp(25px,4.7dvh,48px);
  height: clamp(25px,4.7dvh,48px);
  grid-row: span 2;
  align-self: center;
  filter: drop-shadow(0 2px 3px #0008);
}
@media (max-height:460px) {
  #resultPanel .resultsBrand {
    font-size: 19px;
  }
}
.cameraPreference p {
  font: 500 13px/1.45 system-ui,Arial;
  color: #d8eaff;
  margin: 7px 0;
}
.cameraPreference button,
#pauseCameraModeToggle {
  min-height: 42px;
  background: #164a6f;
  border: 2px solid #79dbff;
  color: white;
  font-weight: 900;
  border-radius: 9px;
  padding: 9px 15px;
}
.journeyShell {
  height: 100%;
  min-height: 390px;
  display: grid;
  grid-template-columns: minmax(0,2.4fr) minmax(245px,1fr);
  grid-template-rows: 10% minmax(0,1fr);
  gap: 8px 12px;
  font-family: system-ui,sans-serif;
  color: #eefaff;
}
.journeyBrand em {
  color: #ffd467;
  font-style: normal;
}
.journeyBrand small {
  display: block;
  font-size: clamp(9px,1.05vw,18px);
  text-align: center;
  letter-spacing: .13em;
  margin-top: 7px;
  color: #9feaff;
}
.journeyCampaign {
  margin-left: auto;
  width: 30%;
  min-width: 180px;
  max-width: 410px;
  padding: 7px 14px;
  border: 2px solid #4eadd1;
  border-radius: 10px;
  background: #05162d;
  clip-path: polygon(4% 0,96% 0,100% 18%,100% 82%,96% 100%,4% 100%,0 82%,0 18%);
}
.journeyCampaign div {
  display: flex;
  align-items: center;
  gap: 12px;
}
.journeyCampaign b {
  white-space: nowrap;
  font-size: clamp(16px,1.8vw,28px);
}
.journeyExit {
  min-width: 44px;
  min-height: 44px;
  width: clamp(40px,4.6vw,72px);
  height: clamp(40px,4.6vw,72px);
  font-size: clamp(25px,3vw,48px);
  padding: 0;
  background: linear-gradient(#183b60,#0c1c35);
  border: 2px solid #82c7f6;
  border-radius: 12px;
  color: white;
}
.journeyBoard {
  position: relative;
  min-height: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr 28%;
  gap: 3px 14px;
  grid-template-areas: 'city warehouse' 'harbor camp' 'final final';
}
.journeyIsland .nodeRail {
  position: absolute;
  left: 13%;
  right: 9%;
  bottom: 24%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 4px;
}
.journeyNode.current {
  border-color: #ffe47a;
  background: linear-gradient(#956312,#442800);
  box-shadow: 0 0 0 3px #bc8b30,0 0 21px #ffc833;
}
.journeyNode.locked {
  border-color: #6a8da8;
  background: linear-gradient(#18354e,#071323);
  color: #b7c9da;
  box-shadow: 0 4px #030b18;
}
.journeyNode .nodeBadge {
  position: absolute;
  bottom: -7px;
  right: -7px;
  min-width: 19px;
  height: 19px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12px;
  line-height: 1;
  background: #057cbc;
  border: 1px solid #b3f4ff;
  color: white;
}
.journeyNode.locked .nodeBadge {
  background: #112741;
  font-size: 10px;
}
.islandName b {
  font-size: clamp(13px,1.6vw,25px);
  font-weight: 950;
}
.islandName small {
  display: block;
  color: #ffe385;
  font-weight: 800;
  font-size: clamp(9px,.95vw,15px);
  margin-top: 3px;
}
.journeyArrow.down {
  right: 2%;
  top: 90%;
  transform: rotate(75deg);
}
.journeyArrow.left {
  right: 98%;
  top: 45%;
  transform: rotate(180deg);
}
.journeyFinal strong {
  font-size: clamp(20px,3.4vw,55px);
  line-height: .98;
  color: #ff938a;
  font-style: italic;
  text-shadow: 3px 3px #1b0a35,-1px -1px #fff0aa;
  letter-spacing: -.04em;
}
.journeyFinal strong span {
  display: block;
  color: #e9c4ff;
}
.finalRequirement b {
  font-size: clamp(20px,3vw,45px);
  color: #ffdd66;
  line-height: 1.05;
}
.finalRequirement small {
  display: block;
  font-size: clamp(9px,1.2vw,18px);
  color: white;
}
.finalRequirement .lock {
  font-size: clamp(20px,3.8vw,58px);
  color: #e6f1ff;
}
.journeyDetails {
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(5px,1.1vh,12px);
  border: 2px solid #55c6f8;
  border-radius: 14px;
  background: linear-gradient(#05172b,#071a32);
  padding: clamp(8px,1.25vw,19px);
  box-shadow: inset 0 0 0 4px #112f4a,0 0 14px #0008;
  text-align: center;
}
.journeyDetails h3 {
  font-size: clamp(21px,2.4vw,38px);
  line-height: 1;
  margin: 0;
  font-weight: 950;
}
.journeyStageArt img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.journeyStageArt .atmosphereBadge {
  position: absolute;
  bottom: 6px;
  left: 6px;
  color: white;
  font-size: 10px;
  background: #06172ddd;
  padding: 3px 5px;
}
.journeyPills span {
  padding: 5px 10px;
  border: 1px solid #2da8d8;
  border-radius: 6px;
  background: #0c2d4b;
  font-size: clamp(10px,1.25vw,19px);
  font-weight: 800;
}
.journeyObjective small {
  display: block;
  color: #98ccdf;
  font-size: clamp(8px,.9vw,13px);
}
.journeyObjective strong {
  font-size: clamp(13px,1.65vw,24px);
}
.journeyRewards {
  display: grid;
  grid-template-columns: 40% 1fr;
  gap: 6px;
  align-items: center;
}
.journeyRival img {
  height: clamp(45px,10vh,120px);
  max-width: 100%;
  object-fit: contain;
}
.journeyRival small {
  font-size: clamp(8px,.85vw,13px);
  font-weight: 800;
  color: #a7d1e9;
}
.journeyRewardBox img {
  width: clamp(22px,3vw,45px);
  height: clamp(22px,3vw,45px);
  vertical-align: middle;
  margin: 6px;
}
.journeyRewardBox small {
  display: block;
  font-size: clamp(8px,.75vw,12px);
  color: #a9c7db;
}
.journeyPlay:disabled {
  filter: grayscale(.5);
  opacity: .6;
  cursor: default;
}
@media (max-height:550px) and (orientation:landscape) {
  .journeyShell {
    grid-template-columns: minmax(0,2.3fr) minmax(210px,1fr);
    gap: 6px;
    min-height: 315px;
  }
  .journeyDetails {
    gap: 4px;
    padding: 8px;
  }
  .journeyRival img {
    height: 48px;
  }
  .journeyRewardBox img {
    width: 24px;
    height: 24px;
    margin: 3px;
  }
}
@media (orientation:portrait) {
  .journeyShell {
    height: auto;
    min-height: 100%;
    grid-template-columns: 1fr;
  }
  .journeyCampaign {
    min-width: 140px;
    width: 38%;
  }
  .journeyBoard {
    min-height: 480px;
  }
  .journeyRival img {
    height: 90px;
  }
  .journeyDetails h3 {
    font-size: 29px;
  }
}
.journeyStageArt.night {
  background: url('../journey-assets/night-previews.webp');
  background-size: 200% 200%;
  background-position: var(--preview-pos);
}
.journeyFinal[aria-pressed='true'] {
  border-color: #ffe084;
  box-shadow: inset 0 0 20px #000,0 0 12px #ffb52b88;
}
@media (max-width:750px) and (orientation:landscape) {
  .journeyIsland .nodeRail {
    left: 3%;
    right: 3%;
    gap: 0;
  }
}
@media (orientation:portrait) {
  .journeyShell {
    grid-template-rows: auto auto auto;
  }
  .journeyBoard {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4,230px) 160px;
    grid-template-areas: 'city' 'warehouse' 'camp' 'harbor' 'final';
    height: 1120px;
  }
  .journeyDetails {
    min-height: 600px;
  }
}
.loadoutInner {
  width: min(1220px,96vw) !important;
  display: grid;
  grid-template-columns: 25% 1fr;
  gap: 12px;
  border: 2px solid #53c9ff !important;
  background: #061b35f5 !important;
}
.ability:disabled {
  filter: saturate(.4);
  background: conic-gradient(#061326dd var(--cooldown),#245774 0) !important;
}
@media (max-height:450px) {
  .loadoutInner {
    gap: 4px;
    padding: 8px !important;
  }
}
@media (orientation:portrait) {
  .loadoutInner {
    grid-template-columns: 1fr;
  }
}
#madball-web-update strong {
  display: block;
  width: 100%;
  font-size: 15px;
}
#madball-web-update span {
  width: 100%;
  font-weight: 500;
}
#madball-web-update button {
  border: 1px solid #ffe39d;
  background: #ed9b18;
  color: #241c11;
  border-radius: 9px;
  font-weight: 900;
  padding: 7px 12px;
}
#madball-web-update button.mb-later {
  background: #234565;
  color: #eaf6ff;
  border-color: #7495b5;
}
.mbArenaInfo b {
  display: block;
  font-size: clamp(11px,1.2vw,15px);
  color: #ffe091;
  margin-bottom: 5px;
}
.mbArenaInfo span,
.mbArenaInfo small {
  display: block;
  font-size: clamp(10px,1.05vw,13px);
  color: #cae3f4;
}
.mbArenaInfo small {
  margin-top: 5px;
  color: #8fdcfd;
}
.mbMatchBrief strong {
  color: #ffe19c;
  font-size: clamp(11px,1.2vw,15px);
}
.mbMatchBrief span {
  color: #cfe9ff;
}
html.i18nRtl [data-ar] {
  letter-spacing: 0 !important;
  font-style: normal !important;
  unicode-bidi: plaintext;
}
html.i18nRtl [dir=rtl] {
  text-align: right;
}
html body .ic {
  width: 1.15em;
  height: 1.15em;
  vertical-align: -.2em;
  object-fit: contain;
}
#adventurePanel .advSub button {
  margin: 0;
  min-height: 0;
  padding: 2px 7px;
  border: 1px solid #ffffff22;
  border-radius: 6px;
  background: #0a1d3b;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
}
#koBanner span {
  font: 800 13px system-ui,sans-serif;
  color: #e8f4ff;
}
#duelSetup .dsRow button {
  flex: 1 1 0;
  min-width: 0;
  padding: 5px 3px;
  border-radius: 8px;
  border: 1.5px solid #2f5f8c;
  background: #0b2240;
  color: #cfe6ff;
  font: 900 clamp(8px,1.1vw,11px)/1.15 system-ui,sans-serif;
  letter-spacing: .02em;
  cursor: pointer;
}
.introWpn img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  filter: drop-shadow(0 0 6px var(--wc,#fff));
}
.introWpn b {
  white-space: nowrap;
}
@media (max-height:420px) {
  .introWpn img {
    width: 32px;
    height: 32px;
  }
}
#armorVideoModal .demoVideoBox {
  width: min(420px,86vw);
  padding: 18px 20px;
  border-radius: 16px;
  background: #0b1d3c;
  border: 1.5px solid #6fd2ff;
  color: #e6f6ff;
  text-align: center;
  font: 700 13px/1.45 system-ui,sans-serif;
  display: grid;
  gap: 10px;
}
#armorVideoModal button {
  justify-self: center;
  padding: 6px 16px;
  border-radius: 10px;
  border: 1px solid #6fd2ff;
  background: #123a66;
  color: #fff;
  font: 800 12px system-ui,sans-serif;
}
#missionsTabs button {
  flex: 1;
  padding: 8px 6px;
  border-radius: 10px;
  border: 1px solid #2f5f93;
  background: #0d2447;
  color: #bcd9f5;
  font: 900 12px system-ui,sans-serif;
  letter-spacing: .04em;
}
#missionsTabs button.on {
  background: linear-gradient(180deg,#ffd75a,#f3a924);
  color: #3a2300;
  border-color: #ffe08a;
}
.msRow {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 7px 10px;
  border-radius: 12px;
  background: #0c2142;
  border: 1px solid #23497a;
}
.msRow.ready {
  border-color: #ffd75a;
  box-shadow: 0 0 12px #ffd75a44;
}
.msRow.done {
  opacity: .6;
}
.msMid b {
  font: 900 12.5px/1.25 system-ui,sans-serif;
}
.msMid small {
  font: 700 10.5px system-ui,sans-serif;
  color: #a9c8e6;
}
.msBar i {
  position: absolute;
  inset: 0 auto 0 0;
  background: linear-gradient(90deg,#33b6ff,#7df0ff);
}
.msBar em {
  position: relative;
  display: block;
  text-align: center;
  font: 900 10px/14px system-ui,sans-serif;
  font-style: normal;
  color: #fff;
  text-shadow: 0 1px 2px #000;
}
.msRow.ready .msClaim {
  background: linear-gradient(180deg,#ffd75a,#f3a924);
  color: #3a2300;
  border-color: #ffe08a;
}
.coachCard {
  padding: 9px 11px;
  border-radius: 12px;
  background: #122046;
  border: 1px solid #2f4a83;
}
.coachCard.focus {
  border-color: #ffd96a;
  box-shadow: 0 0 12px #ffd96a55;
}
.coachCard h3 {
  margin: 0 0 4px;
  font: 900 13px system-ui,sans-serif;
  color: #fff;
}
.coachCard ul {
  margin: 0;
  padding-inline-start: 16px;
  display: grid;
  gap: 3px;
}
.coachCard li {
  font: 600 11.5px/1.4 system-ui,sans-serif;
  color: #d6e2f8;
}
#homePlay .homeSub button {
  border-radius: 12px;
  border: 1.5px solid #6fb6ff;
  background: linear-gradient(180deg,#1d5fae,#0d2f63);
  color: #fff;
  font: 900 clamp(12px,3vh,17px) system-ui,sans-serif;
  letter-spacing: .03em;
  box-shadow: 0 4px 0 #071b3a;
}
#homeSettingsPanel .setRow button {
  min-width: 40px;
  min-height: 36px;
  border-radius: 9px;
  border: 1px solid #4f86c2;
  background: #123562;
  color: #fff;
  font: 900 13px system-ui;
}
#homeSettingsPanel .setGrid>button {
  min-height: 40px;
  border-radius: 12px;
  border: 1.5px solid #4f86c2;
  background: #0f2e58;
  color: #eaf6ff;
  font: 900 12.5px system-ui,sans-serif;
  letter-spacing: .02em;
  padding: 6px 10px;
}
#discoGuide button {
  font: 900 clamp(11px,3.3vh,14px) system-ui,sans-serif;
  letter-spacing: .03em;
  border-radius: 12px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.settingsGuide {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 10px 0;
}
.settingsGuide button {
  padding: 8px 14px;
  border-radius: 12px;
  border: 2px solid #3fb8ff;
  background: #0f2350;
  color: #fff;
  font-weight: 900;
}
.settingsGuide #guideReplay {
  background: linear-gradient(#ffe066,#f3a622);
  border-color: #fff1a8;
  color: #3a2100;
}
html body#rr-app.rr-ui .rr-screen {
  font-family: var(--mc-text);
  color: var(--mc-paper);
  color-scheme: dark;
}
html body#rr-app.rr-ui :is(.sheet.rr-screen,#adventurePanel,#stagePanel,#shopPanel,#coachPanel,#missionsPanel,#homeSettingsPanel,#storyArchive) {
  background: linear-gradient(110deg,#071425ee,#050e1bf7),url('../comic-assets/loading/general.webp') center/cover !important;
}
html body#rr-app.rr-ui :is(#armorBtn,#bonusBtn,.bv18Armor,.bv19Video) {
  background: linear-gradient(145deg,#8a45d1,#39216c) !important;
  border: 2px solid var(--mc-gold) !important;
  color: #fff !important;
  box-shadow: 0 4px 0 #03060c !important;
}
html body#rr-app.rr-ui :is(.vpLevel,.vaultPowerProfile,.vpDetails,.labOverview,.coachStats .csChip,#arenaRules,.bv18Prog) {
  background: #0a1a2d !important;
  border: 1px solid #3b758e !important;
  border-radius: 5px !important;
}
html body#rr-app.rr-ui :is(.vaultTile b,.techHead b,.fortHead b,.coachCard h3,.advBody b,#arenaName,.islandName b) {
  font-family: var(--mc-display) !important;
  letter-spacing: 0 !important;
}
html body#rr-app.rr-ui .msRow.ready {
  border-color: var(--mc-gold) !important;
  background: linear-gradient(110deg,#493d1c,#14212b) !important;
}
html body#rr-app.rr-ui .advArt {
  border-radius: 0 !important;
  border-bottom: 3px solid #03060c;
}
html body#rr-app.rr-ui :is(.bv19Node,.bv19Offer) {
  background: #102c44 !important;
  border-color: #03060c !important;
  border-radius: 5px !important;
}
html body#rr-app.rr-ui .la-logo {
  width: min(58vw,850px) !important;
}
html body#rr-app.rr-ui .bv20Card.rec {
  border-color: var(--mc-gold) !important;
}
html body#rr-app.rr-ui .rr-language-bubble {
  background: #fff5df;
  color: #111929;
  border: 3px solid #03060c;
  border-radius: 28px;
  padding: 12px;
  text-align: center;
  font: 900 clamp(12px,2.7vh,24px)/1.3 var(--mc-text);
  margin: 0 0 12px;
}
html body#rr-app.rr-ui .rr-settings-group {
  display: flex;
  flex-direction: column;
  gap: clamp(6px,1.6vh,16px);
  padding: clamp(8px,2vh,22px);
  border: 2px solid #03060c;
  border-radius: 8px;
  background: linear-gradient(135deg,#13344a,#091727);
  box-shadow: inset 0 0 0 1px #3f8ca4;
}
.bv24Big {
  display: block;
  margin: 2px 0;
  font: 900 26px/1.1 ui-monospace,Menlo,monospace;
  letter-spacing: .18em;
  color: #7dffa8;
  direction: ltr;
  text-align: center;
}
html.lang-ar .bv24Big,
html.lang-ar #bv24In {
  letter-spacing: .18em !important;
}
.la-rr .rr-stage {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: var(--foot);
  overflow: hidden;
  background: #050814;
}
.la-rr .rr-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 40%;
  animation: rrZoom 9s ease-out both;
}
@media (max-aspect-ratio:17/10) {
  .la-rr .rr-bg {
    object-fit: contain;
    object-position: 50% 50%;
  }
}
.la-rr .rr-mark {
  display: none;
}
.la-rr .rr-word {
  position: absolute;
  z-index: 3;
  left: max(12px,env(safe-area-inset-left));
  top: max(10px,env(safe-area-inset-top));
  width: min(26vw,300px);
  height: auto;
  filter: drop-shadow(3px 4px 0 #000);
}
.la-rr .rr-foot {
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  bottom: 0;
  height: var(--foot);
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 max(16px,env(safe-area-inset-right)) 0 max(16px,env(safe-area-inset-left));
  background: linear-gradient(#0d1a32,#08101f);
  border-top: 3px solid #000;
  box-shadow: 0 2px 0 #26dbf0 inset;
  box-sizing: border-box;
}
.la-rr .rr-bar {
  flex: 1;
  height: max(1.8vh,9px);
  border-radius: 99px;
  border: 2px solid #26dbf088;
  background: #020611;
  overflow: hidden;
}
.la-rr .rr-bar i {
  display: block;
  height: 100%;
  width: 3%;
  border-radius: inherit;
  background: linear-gradient(90deg,#26dbf0,#8ff4ff);
  box-shadow: 0 0 12px #26dbf0;
  transition: width .25s;
}
html body .rr-vid-ribbon {
  position: absolute;
  top: -6px;
  inset-inline-end: -6px;
  z-index: 3;
  padding: 2px 7px;
  border-radius: 6px;
  border: 2px solid #03060c;
  background: #7dffa8;
  color: #05351b;
  font: 900 10px/1.2 system-ui,sans-serif;
  letter-spacing: 0;
  animation: rrVidRibbon 1.6s ease-in-out infinite;
  pointer-events: none;
}
.rr-vidcta.on .rr-vid-ribbon,
.rr-vidcta:disabled .rr-vid-ribbon,
.rr-vidcta.bv19Off .rr-vid-ribbon {
  display: none;
}
html body .demoVideoBox .demoCountdown {
  position: relative;
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  margin: 10px auto;
  border-radius: 50%;
  background: radial-gradient(circle,#2a1660 55%,transparent 56%),conic-gradient(#ff4fd8,#ffe27a,#26dbf0,#ff4fd8);
  font: 400 44px/1 'Madball Display',system-ui,sans-serif;
  color: #fff;
}
html body #shopPanel.vp .shopSections {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  gap: clamp(4px,1vw,10px) !important;
}
html body #shopPanel.vp .vaultTile,
html body#rr-app #shopPanel.vp .vaultTile.owned,
html body#rr-app #shopPanel.vp .vaultTile.equipped {
  position: relative;
  overflow: hidden;
  border-radius: var(--vp-r) !important;
  background: radial-gradient(90% 70% at 50% 35%,#6a2cd8 0%,#3a1689 55%,#1d0a4e 100%) !important;
  border: 2px solid #8a5cff !important;
  box-shadow: 0 5px 0 #0d0430,inset 0 0 18px #0007 !important;
  transition: transform .15s ease,box-shadow .15s;
}
html body #shopPanel.vp .vaultTile.chosen {
  border-color: #fff1a6 !important;
  box-shadow: 0 0 0 2px #ffc93a,0 0 22px #ffc93acc,0 5px 0 #7a4300 !important;
}
html body #shopPanel.vp .vaultTile.locked {
  background: radial-gradient(90% 70% at 50% 35%,#3a2a6e 0%,#221650 55%,#140b36 100%) !important;
  border-color: #5a4a9a !important;
}
html body #shopPanel.vp .vaultTile.mythic {
  border-color: #ff7ad9 !important;
  background: radial-gradient(90% 70% at 50% 35%,#9a2cd8 0%,#4a1689 55%,#1d0a4e 100%) !important;
}
html body #shopPanel.vp .vaultTile .vtReq {
  background: #0c0628d0 !important;
  border: 1px solid #a77bff !important;
  color: #e9dcff !important;
  border-radius: 8px;
}
.vpStage.mythic {
  background: radial-gradient(60% 50% at 50% 70%,#ff4fd866,transparent 70%),radial-gradient(70% 60% at 50% 30%,#4a1890,#1a0848 80%);
}
.vpBeam.a {
  left: 4%;
  transform: rotate(-18deg);
}
.vpBeam.b {
  right: 4%;
  transform: rotate(18deg);
  animation-delay: -3s;
}
.vpLockBig {
  position: absolute;
  z-index: 3;
  font-size: clamp(28px,9vh,52px);
  filter: drop-shadow(0 4px 4px #000);
}
.vpAb img {
  width: 72%;
  height: 72%;
  object-fit: contain;
  filter: drop-shadow(0 2px 2px #000a);
}
.vpAb small {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  text-align: center;
  font: 900 clamp(6px,1.5vh,9px)/1.1 system-ui,sans-serif;
  color: #fff;
  text-shadow: 0 1px 2px #000;
  white-space: nowrap;
  overflow: hidden;
}
.vpAb em {
  position: absolute;
  top: -6px;
  inset-inline-end: -6px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 9px;
  background: #33e4ff;
  color: #05253a;
  border: 2px solid #0b0b3a;
  font: 900 10px/14px system-ui,sans-serif;
  font-style: normal;
  text-align: center;
}
.vpAb.sig {
  border-color: #ff7ad9;
  background: radial-gradient(circle at 50% 35%,#ff4fd8,#5a0f63);
  box-shadow: 0 3px 0 #5a0f43,0 0 12px #ff4fd888;
}
.vpName small {
  display: inline-block;
  margin-top: 3px;
  padding: 2px 12px;
  border-radius: 999px;
  background: #3b1890;
  border: 1px solid #a77bff;
  color: #fff;
  font: 900 clamp(10px,2.4vh,14px)/1.3 system-ui,sans-serif;
}
.vpShield {
  flex: none;
  display: grid;
  place-items: center;
  width: clamp(44px,12vh,64px);
  height: clamp(44px,12vh,64px);
  clip-path: polygon(50% 0,100% 18%,100% 70%,50% 100%,0 70%,0 18%);
  background: linear-gradient(180deg,#fff3b0,#ffc93a 45%,#b8740c);
  color: #2a0f63;
  font: 400 clamp(14px,3.8vh,22px)/1 'Madball Display',system-ui,sans-serif;
  text-shadow: 0 1px 0 #fff6;
}
.vpShield.sm {
  width: 56px;
  height: 56px;
  margin: -26px auto 0;
  position: relative;
  z-index: 3;
}
.vpPL {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 2px 8px;
  padding: 6px 10px;
  border-radius: 12px;
  background: #0c0628c0;
  border: 2px solid #6a4ad8;
}
.vpPL b {
  font: 900 clamp(10px,2.4vh,14px)/1 system-ui,sans-serif;
  color: #fff;
}
.vpPL strong {
  font: 400 clamp(14px,3.6vh,22px)/1 'Madball Display',system-ui,sans-serif;
  color: #ffd34d;
}
.vpPL strong small {
  color: #fff;
  font-size: .65em;
}
.vpPLbar i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg,#ffb627,#fff1a6);
  box-shadow: 0 0 8px #ffc93a;
}
.vpProfile h4 b {
  color: #ffd34d;
}
.vpStat {
  display: grid;
  grid-template-columns: 18px minmax(54px,auto) 1fr auto;
  align-items: center;
  gap: 6px;
  margin: clamp(1px,.5vh,4px) 0;
}
.vpStat i {
  font-style: normal;
  text-align: center;
  font-size: clamp(11px,2.6vh,15px);
}
.vpStat b {
  font: 900 clamp(10px,2.4vh,14px)/1 system-ui,sans-serif;
  color: #fff;
}
.vpStat strong {
  font: 900 clamp(10px,2.4vh,14px)/1 system-ui,sans-serif;
  color: #fff;
}
.vpSeg {
  display: grid;
  grid-template-columns: repeat(5,1fr);
  gap: 3px;
}
.vpSeg em {
  height: clamp(7px,1.8vh,11px);
  border-radius: 3px;
  background: #2a2050;
}
.vp-pw i {
  color: #ff5a4a;
}
.vp-sp i {
  color: #33e4ff;
}
.vp-df i {
  color: #6cf04a;
}
.vp-ct i {
  color: #ff6ad8;
}
html body #shopPanel.vp .bv17Panel,
#vpModal .bv17Panel {
  border-radius: 14px !important;
  background: #0c0628c8 !important;
  border: 2px solid #6a4ad8 !important;
}
html body #shopPanel.vp .bv17Panel button[data-bv17-up],
#vpModal .bv17Panel button[data-bv17-up] {
  background: linear-gradient(180deg,#9dff8a,#2fbf4a 55%,#16862e) !important;
  color: #fff !important;
  border: 2px solid #d6ffcf !important;
  border-radius: 12px !important;
  font-family: 'Madball Display',system-ui,sans-serif !important;
  text-shadow: 0 2px 0 #0a4a1a;
  box-shadow: 0 4px 0 #0a4a1a,0 0 14px #3fd12a88 !important;
}
.vpLockedTxt {
  margin: 0;
  padding: 6px 10px;
  border-radius: 12px;
  background: #0c0628c8;
  border: 2px dashed #a77bff;
  color: #e9dcff;
  font: 800 clamp(10px,2.3vh,13px)/1.35 system-ui,sans-serif;
}
.vpActs {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 6px;
  margin-top: auto;
}
.vpBtn {
  min-height: clamp(36px,10vh,52px);
  border-radius: 14px;
  font: 400 clamp(12px,3.2vh,19px)/1 'Madball Display',system-ui,sans-serif;
  cursor: pointer;
  color: #fff;
  padding: 4px 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.vpEquip {
  background: linear-gradient(180deg,#fff3b0,#ffc93a 45%,#e6950f);
  border: 2px solid #fff6c4;
  color: #3a1d00;
  text-shadow: 0 1px 0 #ffe9a0;
  box-shadow: 0 4px 0 #7a4300,0 0 16px #ffc93a77;
}
.vpEquip.isEquipped {
  opacity: 1;
  cursor: default;
}
.vpEquip.isLocked {
  background: linear-gradient(180deg,#ff8ad8,#c43ab0 55%,#7a1a6a);
  border-color: #ffd0f2;
  color: #fff;
  text-shadow: 0 2px 0 #4a0a40;
  box-shadow: 0 4px 0 #4a0a40,0 0 14px #ff4fd888;
}
.vpPrev {
  background: linear-gradient(180deg,#5aa8ff,#2a5ad8 55%,#1a2f8a);
  border: 2px solid #bfe0ff;
  box-shadow: 0 4px 0 #0b1a5a,0 0 12px #3a8aff77;
}
.vpDet {
  background: linear-gradient(180deg,#9a6cff,#5b2bd0 55%,#33148a);
  border: 2px solid #d8c8ff;
  box-shadow: 0 4px 0 #12053a,0 0 12px #9a6cff77;
}
.vpBtn:active {
  transform: translateY(2px);
}
.vpCard {
  position: relative;
  width: min(900px,96vw);
  max-height: calc(100dvh - 16px);
  display: grid;
  grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr);
  gap: clamp(8px,1.6vw,18px);
  padding: clamp(10px,2.4vh,20px) clamp(42px,5vw,56px);
  border-radius: 24px;
  overflow: hidden;
  background: radial-gradient(60% 70% at 25% 40%,#7a2cff55,transparent 70%),linear-gradient(160deg,#3a1890,#22095e 55%,#14063a);
  box-shadow: 0 0 0 3px #ffc93a,0 0 0 6px #5a2a00,0 0 40px #ffc93a77,0 20px 60px #000c;
  animation: vpPop .3s cubic-bezier(.2,1.3,.4,1);
}
.vpCard.mythic {
  box-shadow: 0 0 0 3px #ff7ad9,0 0 0 6px #5a0f43,0 0 44px #ff4fd899,0 20px 60px #000c;
}
.vpCArt {
  position: relative;
  width: 100%;
  flex: 1;
  min-height: clamp(110px,40vh,300px);
  display: grid;
  place-items: center;
}
.vpCArt img {
  position: relative;
  z-index: 2;
  height: 100%;
  max-height: min(46vh,300px);
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 14px 12px #000b) drop-shadow(0 0 22px #c45bffaa);
  animation: vpFloat 3.2s ease-in-out infinite;
}
.vpStars {
  display: flex;
  gap: 3px;
  font-size: clamp(14px,3.6vh,22px);
}
.vpStars i {
  font-style: normal;
  color: #3a2a6e;
  text-shadow: 0 2px 0 #000;
}
.vpTrait {
  margin: 0;
  padding: 5px 10px;
  border-radius: 10px;
  background: #0c062890;
  border-inline-start: 4px solid #33e4ff;
  color: #e9f6ff;
  font: 800 clamp(10px,2.4vh,14px)/1.3 system-ui,sans-serif;
}
.vpX {
  position: absolute;
  top: 10px;
  inset-inline-end: 10px;
  z-index: 5;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 2px solid #9fc0ff;
  background: linear-gradient(180deg,#4a6cff,#2a2fb0);
  color: #fff;
  font: 900 20px/1 system-ui,sans-serif;
  box-shadow: 0 3px 0 #0b0b3a;
  cursor: pointer;
}
.vpNav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 36px;
  height: 56px;
  border-radius: 12px;
  border: 2px solid #a77bff;
  background: #22095ecc;
  color: #fff;
  font: 900 22px/1 system-ui,sans-serif;
  cursor: pointer;
}
.vpNav.l {
  left: 6px;
}
.vpNav.r {
  right: 6px;
}
.vpShowTabs button {
  min-height: 40px;
  padding: 4px 14px;
  border-radius: 12px;
  border: 2px solid #a77bff;
  background: #33148a;
  color: #fff;
  font: 900 13px system-ui,sans-serif;
}
.vpShowTabs button.on {
  background: linear-gradient(180deg,#fff3b0,#ffc93a 50%,#e6950f);
  color: #3a1d00;
  border-color: #fff6c4;
}
html body #shopPanel.vp [data-tune] {
  background: linear-gradient(180deg,#8ff4ff,#1ab8ff 55%,#0a6a9a) !important;
  border: 2px solid #d8fbff !important;
  color: #04263a !important;
  border-radius: 10px !important;
  box-shadow: 0 3px 0 #053a5a !important;
}
html body #shopPanel.vp [data-tech-details] {
  background: #22095e !important;
  border: 2px solid #a77bff !important;
  color: #fff !important;
  border-radius: 10px !important;
}
html body #shopPanel.vp .vaultPlatform {
  background: radial-gradient(ellipse at 50% 80%,#c45bff88,transparent 60%) !important;
}
@media (max-height:420px) {
  .vpAb small {
    display: none;
  }
  .vpStat {
    margin: 0;
  }
  .vpProfile {
    padding: 3px 8px;
  }
  .vpLvRow .vpShield {
    width: 40px;
    height: 40px;
    font-size: 14px;
  }
  .vpPL {
    padding: 3px 8px;
  }
  .vpCard {
    grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr);
  }
  .vpCArt {
    min-height: 120px;
  }
}
@media (max-width:700px) {
  .vpActs {
    grid-template-columns: 1fr 1fr;
  }
  .vpActs .vpDet {
    display: none;
  }
}
.vpHero {
  position: relative;
}
html body#rr-app #shopPanel.vp .vaultTile.locked {
  background: radial-gradient(90% 70% at 50% 35%,#3a2a6e 0%,#221650 55%,#140b36 100%) !important;
  border-color: #5a4a9a !important;
}
html body#rr-app #shopPanel.vp .vaultTile.mythic {
  border-color: #ff7ad9 !important;
}
html body#rr-app #shopPanel.vp .vaultTile.chosen {
  border-color: #fff1a6 !important;
  box-shadow: 0 0 0 2px #ffc93a,0 0 22px #ffc93acc,0 5px 0 #7a4300 !important;
}
html body#rr-app #shopPanel.vp .vpEquip.isLocked,
html body#rr-app #vpModal .vpEquip.isLocked {
  background: linear-gradient(180deg,#ff8ad8,#c43ab0 55%,#7a1a6a) !important;
  border-color: #ffd0f2 !important;
  color: #fff !important;
  text-shadow: 0 2px 0 #4a0a40 !important;
  box-shadow: 0 4px 0 #4a0a40,0 0 14px #ff4fd888 !important;
}
.rrBadge {
  position: absolute;
  z-index: 5;
  top: -7px;
  inset-inline-end: -7px;
  min-width: 24px;
  height: 24px;
  padding: 0 6px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: radial-gradient(circle at 35% 30%,#ff8a9a,#ff2d4f 55%,#c40f2e);
  border: 2px solid #fff;
  color: #fff;
  font: 400 14px/1 'Madball Display',system-ui,sans-serif;
  font-style: normal;
  box-shadow: 0 2px 0 #6a0016,0 0 10px #ff2d4faa;
  pointer-events: none;
  animation: rrBadgeBob 1.1s ease-in-out infinite;
}
.rwChip {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  white-space: nowrap;
}
.rwChip img {
  width: 22px;
  height: 22px;
  filter: drop-shadow(0 2px 0 #0008);
}
.rwChip b {
  font: 400 16px/1 'Madball Display',system-ui,sans-serif;
  color: #fff;
  text-shadow: 0 2px 0 #12053a;
}
.rwCard {
  position: relative;
  display: grid;
  place-items: center;
  width: 18px;
  height: 24px;
  border-radius: 4px;
  transform: rotate(-8deg);
  font-style: normal;
  background: linear-gradient(160deg,#ff8ae6,#8a3bff 55%,#3b1d9a);
  border: 2px solid #ffe27a;
  box-shadow: 0 2px 0 #0008,0 0 8px #ff4fd888;
}
.rwCard em {
  font: 400 13px/1 'Madball Display',system-ui,sans-serif;
  font-style: normal;
  color: #fff;
  text-shadow: 0 1px 0 #3b1d9a;
}
.ms3Pop {
  position: absolute;
  z-index: 20;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%) scale(.6);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 14px 26px 16px;
  border-radius: 20px;
  background: radial-gradient(90% 80% at 50% 30%,#6a2cd8,#2a0f63);
  border: 3px solid #ffc93a;
  box-shadow: 0 0 0 4px #5a2a00,0 0 40px #ffc93acc,0 16px 30px #000c;
  animation: ms3PopIn .35s cubic-bezier(.2,1.6,.4,1) forwards;
  pointer-events: none;
}
.ms3Pop .chest {
  width: 70px;
  height: 70px;
  object-fit: contain;
  filter: drop-shadow(0 6px 6px #000a);
}
.ms3Pop b {
  font: 400 22px/1.1 var(--mc-display);
  color: #ffd23a;
  text-shadow: 0 2px 0 #5a2a00;
}
.ms3Pop .rwChip b {
  font-size: 24px;
}
.ms3Pop .rwCard {
  width: 24px;
  height: 32px;
}
.ms3Pop.out {
  transition: opacity .4s,transform .4s;
  opacity: 0;
  transform: translate(-50%,-80%) scale(.9);
}
@media (prefers-reduced-motion:reduce) {
  .rrBadge,
  .ms3Pop,
  html body#rr-app #missionsPanel#missionsPanel .msRow.ready .msClaim,
  html body#rr-app #menu .homeNav #missionsBtn.rrReady {
    animation: none !important;
  }
}
.obPulse {
  position: relative;
}
@media (prefers-reduced-motion:reduce) {
  #rrCoach.in,
  .obPulse::after {
    animation: none;
  }
}
body.nxOn #zwGoal {
  border-color: #b04dff;
  background: #140b2ad0;
}
.vaultTile.queen {
  border-color: #ffcf4c !important;
  background: radial-gradient(90% 70% at 50% 35%,#ff5fd2 0%,#7a2bb8 50%,#1d0a4e 100%) !important;
  box-shadow: 0 0 0 1px #ffcf4c55,0 0 14px #ff5fd255;
}
.vpStage.queen {
  filter: drop-shadow(0 0 14px #ff5fd288);
}
#nxPick button {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 8px 4px;
  border-radius: 14px;
  border: 2px solid var(--qc);
  background: #1b0f36;
  color: #fff;
  cursor: pointer;
  font: inherit;
}
.journeyNexus .nxArt {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .42;
  z-index: 0;
}
.journeyNexus>* {
  position: relative;
  z-index: 1;
}
.journeyNexus strong {
  display: flex;
  flex-direction: column;
  line-height: 1;
  font-size: clamp(14px,3.4vh,24px);
  color: #ffd36b;
  text-shadow: 0 2px 0 #000a,0 0 12px #a46cff;
}
.journeyNexus strong span {
  font-size: .55em;
  color: #d9b8ff;
  letter-spacing: .14em;
}
.journeyNexus.locked {
  filter: saturate(.5);
}
.journeyNexus .finalDuration {
  border-color: #a46cff;
  color: #ffd36b;
}
.journeyNexus[aria-pressed="true"] {
  box-shadow: 0 0 0 2px #ffd36b,0 0 18px #ffd36b88;
}
html body#rr-app :is(#coachPanel .coachBox,#mapPicker .arenaWindow,#stagePanel .journeyShell,#homeSettingsPanel,#pausePanel>div,.bv20Box,#rrInboxPanel .ibBox,#langFirst .lfCard,#missionsPanel .msBox,#loadoutPanel .loadoutInner) {
  background: var(--u-panel) !important;
  border: 2px solid var(--u-line) !important;
  border-radius: 18px !important;
  box-shadow: 0 0 0 2px #ffc93a66,0 16px 40px #000b,inset 0 0 30px #0007 !important;
  color: #fff;
}
html body#rr-app :is(#coachPanel .coachBox,#mapPicker .arenaWindow,#stagePanel .journeyShell,#homeSettingsPanel,#missionsPanel .msBox,#loadoutPanel .loadoutInner)::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .28;
  border-radius: inherit;
  background: url('../ui-assets/bg-castle.webp') center/cover;
  mix-blend-mode: soft-light;
  filter: saturate(1.4) hue-rotate(20deg);
  z-index: 0;
}
html body#rr-app :is(#coachClose,#mapPickerClose,#advClose,#advBack,#homeSettingsClose,#loadoutClose,#missionsClose,#stagePanel .journeyExit,#rrInboxPanel .ibX,.closePanel) {
  background: linear-gradient(180deg,#4a6cff,#2a2fb0) !important;
  border: 2px solid #9fc0ff !important;
  color: #fff !important;
  border-radius: 12px !important;
  box-shadow: 0 3px 0 #0b0b3a,0 0 12px #4a6cff88 !important;
  text-shadow: none !important;
}
html body#rr-app :is(#arenaConfirm,
#advContinue,
#journeyLaunch,
.journeyPlay,
#launchDuel,
#resumeBtn,
#storyArchiveBtn,
#langFirst .lfGo,
#missionsPanel .msClaim.ready,
#resultPanel #nextBtn:not(:disabled),.bv20Card.rec em) {
  background: var(--u-gold) !important;
  border: 2px solid #fff6c4 !important;
  color: #3a1d00 !important;
  border-radius: 14px !important;
  font-family: var(--u-disp) !important;
  font-weight: 400 !important;
  box-shadow: 0 4px 0 var(--u-gedge),0 0 14px #ffc93a66 !important;
  text-shadow: none !important;
}
html body#rr-app :is(#duelSetup .dsRow button.on,#adventurePanel .advSub button.on,#homeSettingsPanel .setRow button.on,#homeSettingsPanel [data-lang].on,#missionsTabs button.active,#langFirst .lfGrid button.on,#loadoutPanel .boostCard.selected button,#homeSettingsPanel button[aria-pressed=true]) {
  background: var(--u-gold) !important;
  border: 2px solid #fff6c4 !important;
  color: #3a1d00 !important;
  box-shadow: 0 4px 0 var(--u-gedge),0 0 14px #ffc93a99,inset 0 2px 0 #ffffffaa !important;
  text-shadow: none !important;
}
html body#rr-app :is(#coachPanel .coachCard,
#coachPanel .coachDetail,
#coachPanel .csChip,
#mapPicker .arenaCard,
#mapPicker .arenaDetail,
#adventurePanel .advCard,
#stagePanel .journeyDetails,
#stagePanel .journeyCampaign,
#stagePanel .islandName,
#homeSettingsPanel .setSlider,
#homeSettingsPanel .setRow:not(.setLang),#homeSettingsPanel .rr-settings-sound,#homeSettingsPanel .rr-settings-controls,#homeSettingsPanel .rr-settings-tools,#pausePanel .audioMixer,.bv20Card,#rrInboxPanel .ibList article,#loadoutPanel .boostCard,#loadoutPanel .lhHero,#loadoutPanel .lhStatus,#resultPanel .resultsBoard,#resultPanel .endStats>*,#resultPanel .resultsScores>*,#resultPanel .rewards>*) {
  background: var(--u-card) !important;
  border: 2px solid var(--u-line) !important;
  border-radius: var(--u-r) !important;
  box-shadow: 0 5px 0 #0d0430,inset 0 0 16px #0006 !important;
  color: #fff;
}
html body#rr-app #mapPicker .arenaCard span {
  background: #12053acc !important;
}
html body#rr-app #mapPicker .arenaCard .arenaLockNote {
  color: #ffe08a;
  background: #0c0628d0;
}
html body#rr-app .bv20Card.c-easy {
  border-color: #7dffa8aa !important;
}
html body#rr-app .bv20Card.c-hard {
  border-color: #ff7a5caa !important;
}
html body#rr-app #coachPanel .csChip {
  min-height: 30px;
  border-radius: 999px !important;
  box-shadow: none !important;
  background: #0c0628cc !important;
  border: 2px solid #ffc93a88 !important;
}
html body#rr-app #stagePanel.journey-screen {
  background: var(--u-panel) !important;
}
html body#rr-app #stagePanel .journeyShell {
  border-radius: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
}
html body#rr-app #stagePanel .journeyShell::before {
  border-radius: 0;
}
html body#rr-app #stagePanel .bv20Pick button.on,
html body#rr-app #stagePanel .bv20Pick button[aria-pressed=true] {
  background: var(--u-gold) !important;
  color: #3a1d00 !important;
  border-color: #fff6c4 !important;
}
html body#rr-app #mapPicker .arenaCard.finalCard {
  border-color: #ff7a55 !important;
}
html body#rr-app #mapPicker .arenaCard.nxCard {
  border-color: #ff7ad9 !important;
}
html body#rr-app #langFirst .lfCard {
  box-shadow: 0 0 0 2px #ffc93a66,0 16px 40px #000b !important;
}
#madball-web-update[dir="ltr"] {
  direction: ltr;
  text-align: left;
}
.bv24Timer {
  display: block;
  margin: 2px 0 6px;
  font: 900 15px/1.2 system-ui,sans-serif;
  color: #ffd65a;
  text-align: center;
  direction: ltr;
}
.bv24Timer.low {
  color: #ff8a5c;
}
.bv24Timer.off {
  color: #ff7a7a;
  direction: inherit;
}
.bv24Big.off {
  opacity: .35;
  text-decoration: line-through;
}
