/* RUINROLL · 22-journey.css — Journey map, stage picker, play modes (adventure), Queens Nexus, legends.
   Generated from the consolidated stylesheet stack; rule order inside this file is cascade order. */
.bv20Pick {
  margin: 6px 0 4px;
  padding: 6px 8px;
  border-radius: 12px;
  background: #0b1030cc;
  border: 1px solid #ffffff22;
}
.bv20Seg {
  display: flex;
  gap: 4px;
}
.bv20Seg button {
  flex: 1;
  padding: 6px 2px;
  border-radius: 9px;
  border: 1px solid #ffffff2a;
  background: #1a2150;
  color: #cfd8ff;
  font: 800 11px/1 inherit;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
}
.bv20Seg button.on {
  background: linear-gradient(#ffe27a,#ffb627);
  color: #3a2200;
  border-color: #fff3b0;
  box-shadow: 0 0 10px #ffd34d88;
}
.bv20Seg button[data-bv20="hard"].on {
  background: linear-gradient(#ff8a5c,#e8343e);
  color: #fff;
  border-color: #ffc0a0;
  box-shadow: 0 0 12px #ff5a4a99;
}
.bv20Seg button[data-bv20="easy"].on {
  background: linear-gradient(#9dffb5,#2fbf71);
  color: #05351b;
  border-color: #d6ffe2;
}
.bv20Style {
  margin: 5px 0 0;
  font-size: 10px;
  line-height: 1.25;
  color: #dfe6ff;
  opacity: .9;
}
.bv20Badge {
  padding: 2px 7px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 10px;
  background: #2a2f55;
  border: 1px solid #ffffff33;
}
.bv20Badge.b-hard {
  background: linear-gradient(#ffe27a,#d99a12);
  color: #3a2200;
}
.bv20Badge.b-normal {
  background: linear-gradient(#eef3ff,#a9b6d6);
  color: #1d2440;
}
.bv20Badge.b-easy {
  background: linear-gradient(#f0b27a,#a8642b);
  color: #2a1300;
}
.bv20Box {
  text-align: center;
  max-width: 720px;
  width: 100%;
}
.bv20Box h2 {
  margin: 0;
  font-size: clamp(20px,4.4vh,30px);
  color: #ffe27a;
  text-shadow: 0 3px 0 #7a3b00,0 0 18px #ffb62788;
  letter-spacing: .04em;
}
.bv20Box>p {
  margin: 4px 0 12px;
  color: #c9d3ff;
  font-size: 12px;
}
.bv20Cards {
  display: flex;
  gap: 10px;
  justify-content: center;
}
.bv20Card {
  flex: 1;
  max-width: 210px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 12px 8px 10px;
  border-radius: 18px;
  border: 2px solid #ffffff33;
  background: linear-gradient(#232a66,#141842);
  color: #fff;
  font-family: inherit;
  cursor: pointer;
  transition: transform .15s;
}
.bv20Card:active {
  transform: scale(.96);
}
.bv20Card.c-easy {
  border-color: #7dffa8aa;
}
.bv20Card.c-hard {
  border-color: #ff7a5caa;
  background: linear-gradient(#5a1a2a,#22091a);
}
.bv20Card.rec {
  border-color: #ffe27a;
  box-shadow: 0 0 0 2px #ffe27a55,0 0 22px #ffd34d66;
  transform: translateY(-4px);
}
@media (max-height:420px) {
  .bv20Card {
    padding: 8px 6px;
  }
}
.journeyStory {
  background: linear-gradient(180deg,#ffd75a,#f3a924);
  color: #3a2300;
  border: 1px solid #ffe08a;
  border-radius: 10px;
  font: 900 12px system-ui;
  padding: 0 12px;
  height: 34px;
  margin-inline-start: 8px;
  white-space: nowrap;
}
.worldInfo {
  flex: 1;
  min-width: 0;
  background: #07182de3;
  border: 1px solid #61b8ef85;
  border-radius: 14px;
  padding: 10px 13px;
  box-shadow: 0 8px 18px #000a;
}
.worldInfo .progress {
  margin-top: 8px;
}
.arenaChoices {
  display: flex;
  gap: 7px;
  flex: 1.3;
}
.arenaChoice.locked:after {
  content: "SOON";
  position: absolute;
  top: -8px;
  right: 6px;
  background: #5c2a8e;
  color: #ffd9ff;
  border: 1px solid #c78fff;
  border-radius: 999px;
  padding: 1px 6px;
  font-size: 9px;
}
.arenaChoice span {
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-height:420px) {
  .worldInfo {
    padding: 6px 10px;
  }
}
@media (max-width:680px) and (orientation:landscape) {
  .arenaChoices {
    gap: 3px;
  }
}
#levelsGrid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 13px;
}
@media (max-height:470px) {
  #levelsGrid {
    gap: 7px;
  }
}
#legendIntroCard {
  margin: 8px auto 0;
  padding: 7px 13px;
  max-width: min(380px,65vw);
  border: 1px solid #efc977;
  border-radius: 12px;
  background: #172e53d9;
  box-shadow: 0 0 17px #ffc85e55;
  color: #ffefba;
  font-size: clamp(10px,1.2vw,15px);
  font-weight: 900;
  text-align: center;
}
#legendIntroCard small {
  display: block;
  color: #d3eafb;
  font-size: 10px;
  margin-top: 2px;
  font-weight: 600;
}
#legendPreMatch {
  margin: 7px auto 10px;
  max-width: 900px;
  padding: 9px 12px;
  border: 1px solid #ead184;
  border-radius: 11px;
  background: linear-gradient(90deg,#623d35d9,#1b3051de);
  display: flex;
  gap: 12px;
  align-items: center;
}
#legendPreMatch img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px #10131c);
}
#legendPreMatch div {
  flex: 1;
  min-width: 0;
}
#legendPreMatch b {
  font-size: 12px;
  color: #ffe293;
}
#legendPreMatch small {
  display: block;
  font-size: 10px;
  color: #dde8fa;
  margin-top: 2px;
}
#legendWinNote {
  font-size: clamp(9px,1.2vw,14px);
  color: #ffe38e;
  text-align: center;
  font-weight: 900;
  margin: 3px 0;
  text-shadow: 0 1px 3px #000;
}
@media (max-height:480px) {
  #legendIntroCard {
    padding: 3px 7px;
    margin: 3px auto 0;
  }
  #legendIntroCard small {
    font-size: 8px;
  }
  #legendPreMatch {
    padding: 4px 8px;
    margin: 2px auto 5px;
  }
  #legendPreMatch img {
    width: 31px;
    height: 31px;
  }
}
.arenaChoice:not([data-map]) {
  display: none !important;
}
#mapPicker .arenaChoices {
  max-width: 1100px;
}
#mapPicker .arenaChoice {
  min-height: 130px;
  font-size: 18px;
  background: linear-gradient(145deg,#214a70,#0c1b38);
}
#mapPicker .arenaChoice.selected {
  border-color: #ffda6f;
  background: linear-gradient(145deg,#79512b,#263354);
}
@media (max-height:500px) {
  #mapPicker .arenaChoice {
    min-height: 85px;
  }
}
#mapPicker {
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: #02091bd9;
  backdrop-filter: blur(5px);
  display: grid;
  place-items: center;
  padding: max(12px,env(safe-area-inset-top)) max(16px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left));
  box-sizing: border-box;
}
#mapPicker.hidden {
  display: none !important;
}
.arenaHeader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #47759a;
  padding: 0 4px 12px;
  margin-bottom: 14px;
}
.arenaHeader h2 {
  margin: 2px 0;
  font-size: clamp(20px,3vw,42px);
  font-style: italic;
  color: white;
}
#mapPicker .arenaChoices {
  display: grid !important;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 12px;
  margin: 0;
  align-content: start;
}
#mapPicker .arenaCard {
  padding: 0;
  border: 2px solid #3288b7;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  background: #0b2442;
  color: #fff;
  min-width: 0;
  transition: transform .15s,border-color .15s,box-shadow .15s;
  display: block;
}
#mapPicker .arenaCard img {
  display: block;
  width: 100%;
  aspect-ratio: 1.55;
  object-fit: cover;
}
#mapPicker .arenaCard span {
  display: block;
  padding: 11px 2px;
  font-size: clamp(10px,1.4vw,21px);
  font-weight: 950;
  white-space: nowrap;
}
#mapPicker .arenaCard.finalCard {
  border-color: #ed543b;
}
#mapPicker .arenaCard.selected {
  border-color: #ffdf69;
}
#mapPicker .arenaCard.selected:after {
  content: '✓';
  position: absolute;
  right: 7px;
  top: 7px;
  background: #ffdf69;
  color: #32220b;
  border-radius: 50%;
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  font-weight: 900;
}
.arenaDetail {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 8px;
  border: 1px solid #4a96c2;
  border-radius: 5px;
  background: #07172c;
}
@media (max-height:520px) {
  .arenaHeader {
    margin-bottom: 8px;
    padding-bottom: 6px;
  }
  .arenaHeader h2 {
    font-size: 23px;
  }
  .arenaDetail {
    gap: 6px;
  }
  .arenaDetail>img {
    max-height: 28dvh;
  }
  #mapPicker .arenaCard span {
    padding: 7px 1px;
  }
}
@media (prefers-reduced-motion:reduce) {
  #mapPicker * {
    animation: none !important;
    transition: none !important;
  }
}
#mapPicker .arenaWindow {
  border: 3px solid #52cefc;
  background: linear-gradient(135deg,#17344d 0%,#09182e 40%,#10273d 100%);
  box-shadow: 0 0 0 4px #183e5d,inset 0 0 0 2px #091221,0 0 32px #00b9fa55;
  position: relative;
}
#mapPicker .arenaHeader h2 {
  text-shadow: 2px 3px #020915,0 0 12px #3187b0;
  font-weight: 1000;
  letter-spacing: -.04em;
}
#mapPicker .arenaCard {
  min-height: 0;
  box-shadow: inset 0 0 0 2px #16486a,0 0 8px #00aeef44;
  clip-path: polygon(4% 0,96% 0,100% 5%,100% 95%,96% 100%,4% 100%,0 95%,0 5%);
}
#mapPicker .arenaCard span {
  background: linear-gradient(#163e67,#06162f);
  border-top: 2px solid #348ec0;
  text-shadow: 1px 2px #000;
}
#mapPicker .arenaCard.selected {
  box-shadow: inset 0 0 0 3px #ffe26b,0 0 20px #ffc23f;
}
#mapPicker .arenaCard.selected span {
  border-color: #ffdd70;
  background: linear-gradient(#55412a,#181b26);
}
#mapPicker .arenaDetail>img {
  border: 2px solid #2c729e;
  object-position: center;
  aspect-ratio: 1.4;
}
#mapPicker .arenaHeader button {
  box-shadow: inset 0 0 10px #39c8fa77,0 0 0 4px #0b1a2f;
  border: 2px solid #55d6ff;
  font-weight: 900;
}
#mapPicker #arenaConfirm {
  border-radius: 4px;
  box-shadow: 0 0 0 3px #b47822,inset 0 0 0 3px #ffce49,0 0 18px #ffc43c55;
  text-shadow: 0 1px #ffe990;
}
#mapPicker .arenaDecoration {
  font-size: 100px;
  background: radial-gradient(ellipse,#17406955,transparent 70%);
}
@media (max-height:520px) {
  #mapPicker .arenaCard img {
    aspect-ratio: 1.8;
  }
  #mapPicker .arenaBody {
    grid-template-columns: 1.75fr 1fr;
  }
  #mapPicker .arenaDetail>img {
    max-height: 30dvh;
  }
  #mapPicker .arenaChoices {
    gap: 8px;
  }
  #mapPicker .arenaCard span {
    font-size: 12px;
  }
}
#stagePanel.journey-screen {
  position: fixed !important;
  inset: 0 !important;
  z-index: 130 !important;
  width: 100% !important;
  height: 100dvh !important;
  max-width: none !important;
  max-height: none !important;
  margin: 0 !important;
  padding: max(8px,env(safe-area-inset-top)) max(10px,env(safe-area-inset-right)) max(8px,env(safe-area-inset-bottom)) max(10px,env(safe-area-inset-left)) !important;
  border: 0 !important;
  border-radius: 0 !important;
  overflow: auto !important;
  background: radial-gradient(ellipse at 25% 30%,#19467b80,transparent 65%),linear-gradient(#07152dfc,#0a1f42fc) !important;
  backdrop-filter: blur(14px);
}
#stagePanel.journey-screen.hidden {
  display: none !important;
}
.journeyTop {
  grid-column: 1/-1;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 4px;
}
.journeyBrand {
  font-size: clamp(20px,3vw,47px);
  font-weight: 950;
  line-height: 1;
  letter-spacing: -.04em;
  text-shadow: 0 3px #000,0 0 15px #1d6ab5;
}
.journeyCampaign label {
  font-size: clamp(9px,1.2vw,18px);
  font-weight: 800;
}
.journeyCampaign progress {
  width: 100%;
  height: 12px;
  accent-color: #1fdcfb;
}
.journeyIsland {
  position: relative;
  min-height: 0;
  isolation: isolate;
}
.journeyIsland:before {
  content: '';
  position: absolute;
  background-image: url('../journey-assets/islands.webp');
  background-size: 200% 200%;
  background-position: var(--island-pos);
  background-repeat: no-repeat;
  z-index: -1;
  border-radius: 22px;
  mask-image: linear-gradient(transparent 0%,black 9%,black 94%,transparent 100%);
}
.journeyNode {
  position: relative;
  border: 3px solid #8cdcff;
  border-radius: 50%;
  background: linear-gradient(#164d79,#07182e);
  box-shadow: 0 4px 0 #030b18,0 0 10px #25b8ff88;
  color: #fff;
  font-weight: 950;
  font-size: clamp(19px,2.3vw,36px);
  padding: 0;
  display: grid;
  place-items: center;
  cursor: pointer;
  touch-action: manipulation;
}
.journeyNode.chosen {
  outline: 2px solid #fff4ae;
  outline-offset: 4px;
}
.journeyNode.champion:after {
  content: '♛';
  position: absolute;
  top: -24px;
  right: -8px;
  font-size: clamp(20px,2.2vw,32px);
  color: #ffd56b;
  text-shadow: 1px 2px #422700;
}
.islandName {
  position: absolute;
  bottom: 0;
  left: 20%;
  right: 16%;
  padding: 5px 8px;
  border: 2px solid #41bcf5;
  background: linear-gradient(#0c2745,#06162c);
  clip-path: polygon(8% 0,92% 0,100% 20%,100% 80%,92% 100%,8% 100%,0 80%,0 20%);
  text-align: center;
  line-height: 1.1;
  box-shadow: 0 0 10px #31b7ff;
}
.journeyArrow {
  position: absolute;
  right: -15px;
  top: 47%;
  color: #8aeeff;
  font-size: clamp(21px,3vw,45px);
  text-shadow: 0 0 12px #12c9ff;
  z-index: 3;
  pointer-events: none;
}
.journeyFinal {
  grid-area: final;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
  padding: 12px 20px;
  overflow: hidden;
  border: 3px solid #8964c3;
  border-radius: 13px;
  background: linear-gradient(90deg,#1e0d4d88,#120f2d33,#1b062aee),url('../arena-assets/final.webp') center 43%/cover;
  cursor: pointer;
  box-shadow: inset 0 0 20px #000;
}
.finalRequirement {
  display: flex;
  align-items: center;
  gap: 13px;
  text-align: center;
  align-self: stretch;
}
.journeyEyebrow {
  font-size: clamp(11px,1.5vw,23px);
  font-weight: 850;
  color: #ffe797;
  line-height: 1.1;
}
.journeyStageArt {
  position: relative;
  flex: 1;
  min-height: 65px;
  max-height: 40%;
  border: 2px solid #43a8db;
  border-radius: 8px;
  overflow: hidden;
  background: #112d4a;
}
.journeyStageArt.night img {
  filter: brightness(.58) saturate(1.08);
}
.journeyStageArt.night:after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(#08245544,#0d2b5a11);
  pointer-events: none;
}
.journeyPills {
  display: flex;
  justify-content: center;
  gap: 8px;
}
.journeyObjective {
  border: 1px solid #275574;
  border-radius: 8px;
  padding: 7px 12px;
  text-align: left;
  line-height: 1.15;
}
.journeyRival {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 0;
}
.journeyRewardBox {
  border: 1px solid #2f688e;
  border-radius: 8px;
  padding: 8px 6px;
  line-height: 1.25;
}
.journeyRewardBox label {
  display: block;
  font-size: clamp(9px,1vw,15px);
  font-weight: 800;
}
.journeyPlay {
  flex: none;
  padding: clamp(8px,1.7vh,17px);
  border: 3px solid #ffef9c;
  border-radius: 11px;
  background: linear-gradient(#ffe982,#ffd24d 40%,#f9ab27);
  box-shadow: 0 3px #a76818;
  color: #201b10;
  font-size: clamp(19px,2.5vw,38px);
  font-weight: 950;
  cursor: pointer;
  touch-action: manipulation;
}
.journeyNext {
  border: 1px solid #2d658c;
  border-radius: 7px;
  padding: 6px;
  font-size: clamp(9px,1.05vw,16px);
  color: #add7ed;
  font-weight: 750;
}
.journeyNode:focus-visible,
.journeyFinal:focus-visible,
.journeyPlay:focus-visible {
  outline: 3px solid white;
  outline-offset: 4px;
}
@media (max-height:550px) and (orientation:landscape) {
  .journeyStageArt {
    min-height: 50px;
  }
  .journeyRewards {
    min-height: 42px;
  }
  .journeyObjective {
    padding: 4px 8px;
  }
  .journeyPlay {
    padding: 7px;
    min-height: 38px;
  }
  .islandName {
    padding: 3px;
  }
  .journeyNode {
    border-width: 2px;
  }
  .journeyNode.champion:after {
    top: -19px;
  }
}
@media (orientation:portrait) {
  .journeyTop {
    flex-wrap: wrap;
    gap: 10px;
  }
  .journeyBrand {
    font-size: 26px;
  }
  .journeyExit {
    margin-left: auto;
  }
  .journeyStageArt {
    max-height: none;
    min-height: 190px;
  }
  .journeyBoard .islandName b {
    font-size: 15px;
  }
  .journeyPlay {
    font-size: 28px;
  }
}
.journeyStageArt.night img {
  visibility: hidden;
}
.journeyStageArt.night:after {
  display: none;
}
.journeyTop .journeyExit {
  position: static !important;
  flex-shrink: 0;
  margin: 0;
}
.journeyIsland {
  container-type: size;
}
.journeyIsland:before {
  inset: auto;
  left: 50%;
  top: 50%;
  width: min(100%,167cqh);
  height: auto;
  aspect-ratio: 1.67;
  transform: translate(-50%,-50%);
}
.journeyNode {
  width: clamp(44px,4.25vw,67px);
  height: clamp(44px,4.25vw,67px);
}
@media (orientation:portrait) {
  .journeyNode {
    width: 48px;
    height: 48px;
  }
}
.mbArenaInfo {
  margin-top: 12px;
  padding: 9px 11px;
  background: #0a2441d9;
  border: 1px solid #5c91b7;
  border-radius: 9px;
  color: #ebf7ff;
  text-align: left;
  line-height: 1.35;
}
@media (max-height:550px) {
  .mbArenaInfo {
    padding: 5px 8px;
    margin-top: 6px;
  }
}
.journeyRewards {
  min-height: 76px !important;
}
.journeyNext {
  min-height: 20px !important;
  padding-block: 2px !important;
}
.journeyPlay {
  min-height: 40px !important;
}
.journeyCampaign {
  max-height: 46px !important;
  padding-block: 4px !important;
  align-items: center !important;
}
html body .journeyRival .recruitTag {
  display: block;
  margin-top: 2px;
  font-size: 9px !important;
  font-weight: 900;
  letter-spacing: .06em;
  color: #ffd35c !important;
  text-shadow: 0 1px 2px #000;
}
#adventurePanel {
  position: fixed;
  inset: 0;
  z-index: 1050;
  display: flex;
  flex-direction: column;
  gap: clamp(4px,1.6vh,14px);
  padding: max(6px,env(safe-area-inset-top)) max(12px,env(safe-area-inset-right)) max(6px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left));
  background: linear-gradient(#030b1fb3,#030b1fe6),url('../home-assets/extracted/d93046d6d038abcf.webp') center/cover #050d22;
  color: #fff;
  overflow: hidden;
}
#adventurePanel.hidden {
  display: none !important;
}
#adventurePanel .advTop {
  display: grid;
  grid-template-columns: auto auto minmax(0,1fr) auto;
  align-items: center;
  gap: clamp(6px,1.4vw,16px);
}
#adventurePanel .advBack,
#adventurePanel .advClose {
  width: clamp(34px,10vh,56px);
  height: clamp(34px,10vh,56px);
  margin: 0;
  padding: 0;
  border-radius: 10px;
  border: 2px solid #4aa8e8;
  background: #0b2346;
  color: #fff;
  font-size: clamp(16px,5vh,28px);
  font-weight: 900;
  line-height: 1;
}
#adventurePanel .advLogo {
  height: clamp(30px,13vh,84px);
  width: auto;
}
#adventurePanel .advTitle {
  text-align: center;
  min-width: 0;
}
#adventurePanel .advTitle h2 {
  margin: 0;
  font-size: clamp(17px,7.4vh,48px);
  font-weight: 1000;
  font-style: italic;
  line-height: 1;
  letter-spacing: .01em;
  white-space: nowrap;
  text-shadow: 0 3px 0 #0008;
}
#adventurePanel .advTitle h2 span {
  color: #ffcf3f;
}
#adventurePanel .advTitle h2 em {
  color: #7fdcff;
}
#adventurePanel .advTag {
  display: inline-block;
  margin-top: clamp(2px,.8vh,6px);
  padding: 1px clamp(12px,3vw,30px);
  border: 1px solid #5aa9d8;
  border-radius: 7px;
  background: #0a2141cc;
  font-weight: 900;
  letter-spacing: .24em;
  font-size: clamp(8px,2.6vh,16px);
  color: #bfe6ff;
}
#adventurePanel .advTitle p {
  margin: 2px 0 0;
  font-size: clamp(9px,2.8vh,17px);
  color: #e4efff;
}
#adventurePanel .advCards {
  flex: 1 1 0;
  min-height: 0;
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: clamp(8px,1.6vw,20px);
  padding-bottom: clamp(8px,2.2vh,14px);
}
#adventurePanel .advCard {
  position: relative;
  min-height: 0;
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  border: 3px solid #2f8fe0;
  border-radius: 14px;
  background: linear-gradient(#0c2244,#06122a);
  cursor: pointer;
  text-align: left;
  color: #fff;
  -webkit-tap-highlight-color: transparent;
}
#adventurePanel .advCard.journey {
  border-color: #7d63ff;
}
#adventurePanel .advCard.selected {
  border-color: #ffd24a;
  box-shadow: 0 0 0 2px #ffb30044,0 0 22px #ffb300aa;
}
#adventurePanel .advCard:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}
#adventurePanel .advArt {
  position: relative;
  flex: 1 1 0;
  min-height: 0;
  overflow: hidden;
  border-radius: 11px 11px 0 0;
}
#adventurePanel .advArt img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}
#adventurePanel .advSoon {
  position: absolute;
  top: 6px;
  right: 6px;
  padding: 2px 8px;
  border-radius: 6px;
  background: #0a2a52e6;
  border: 1px solid #6cd0ff;
  font-size: clamp(8px,2.3vh,13px);
  font-weight: 900;
  color: #9fe6ff;
  letter-spacing: .05em;
}
#adventurePanel .advBody {
  display: flex;
  align-items: center;
  gap: clamp(4px,1vw,10px);
  padding: clamp(3px,1vh,8px) clamp(6px,1vw,12px) 0;
}
#adventurePanel .advIco {
  width: clamp(26px,10vh,60px);
  height: auto;
  flex: none;
  pointer-events: none;
}
#adventurePanel .advBody b {
  display: block;
  font-size: clamp(13px,5vh,30px);
  font-weight: 1000;
  font-style: italic;
  line-height: 1;
  color: #ffd04a;
  white-space: nowrap;
}
#adventurePanel .advCard.online .advBody b {
  color: #8fe3ff;
}
#adventurePanel .advCard.journey .advBody b {
  color: #c9a4ff;
}
#adventurePanel .advBody small {
  display: block;
  font-size: clamp(9px,2.7vh,17px);
  color: #dbe8ff;
  line-height: 1.2;
}
#adventurePanel .advSub {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: clamp(2px,.8vh,6px) 10px clamp(10px,3.2vh,22px);
  padding-top: clamp(2px,.8vh,6px);
  border-top: 1px solid #ffffff2a;
  font-weight: 900;
  font-size: clamp(8px,2.4vh,15px);
  letter-spacing: .06em;
  color: #bcd6f5;
  white-space: nowrap;
}
#adventurePanel .advSub button.on {
  border-color: #ffd24a;
  color: #ffd24a;
  background: #ffd24a1f;
}
#adventurePanel .advSub i {
  color: #ffd24a;
  font-style: normal;
}
#adventurePanel .advProg {
  width: 18%;
  height: 6px;
  border-radius: 3px;
  background: #0a1730;
  border: 1px solid #7d63ff;
  overflow: hidden;
}
#adventurePanel .advProg i {
  display: block;
  height: 100%;
  width: 0;
  background: #a98bff;
}
#adventurePanel .advSub b {
  color: #c9a4ff;
}
#adventurePanel .advRibbon {
  display: none;
  position: absolute;
  left: 50%;
  bottom: clamp(-15px,-3.2vh,-10px);
  transform: translateX(-50%);
  padding: 2px 18px;
  border-radius: 8px;
  background: linear-gradient(#ffe27a,#f2a91c);
  color: #2a1600;
  font-weight: 1000;
  font-size: clamp(9px,2.7vh,16px);
  white-space: nowrap;
  border: 2px solid #fff0b0;
  box-shadow: 0 2px 0 #9b5c00;
  pointer-events: none;
}
#adventurePanel .advCard.selected .advRibbon {
  display: block;
}
#adventurePanel .advBar {
  display: grid;
  grid-template-columns: auto minmax(0,1fr) auto;
  align-items: center;
  gap: clamp(6px,1.4vw,16px);
  padding: clamp(3px,1vh,8px) clamp(8px,1.4vw,16px);
  border: 2px solid #2f6fae;
  border-radius: 12px;
  background: #071733e6;
}
#adventurePanel #advAvatar {
  height: clamp(28px,11vh,64px);
  width: clamp(28px,11vh,64px);
  object-fit: contain;
}
#adventurePanel .advSel {
  min-width: 0;
}
#adventurePanel .advSel b {
  display: block;
  font-size: clamp(11px,3.6vh,22px);
  color: #8fd8ff;
  font-weight: 1000;
  white-space: nowrap;
}
#adventurePanel .advSel em {
  color: #ffd24a;
  font-style: normal;
}
#adventurePanel .advSel small {
  display: block;
  font-size: clamp(9px,2.7vh,16px);
  color: #dbe8ff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#adventurePanel #advContinue {
  margin: 0;
  padding: 0 clamp(14px,3vw,40px);
  min-height: clamp(32px,10vh,56px);
  border-radius: 12px;
  border: 2px solid #fff3b5;
  background: linear-gradient(#ffe066,#ffb21e);
  color: #2a1600;
  font-weight: 1000;
  font-size: clamp(14px,4.4vh,28px);
  box-shadow: 0 3px 0 #b06a00;
  white-space: nowrap;
}
#adventurePanel #advContinue.soon {
  background: #24395c;
  color: #9fb4d4;
  border-color: #4d6a96;
  box-shadow: none;
}
@media (max-width:720px) {
  #adventurePanel .advLogo {
    display: none;
  }
  #adventurePanel .advTop {
    grid-template-columns: auto minmax(0,1fr) auto;
  }
}
@media (max-height:360px) {
  #adventurePanel .advTitle p {
    display: none;
  }
}
html body #stagePanel .journeyNode .nodeBadge {
  left: 50%;
  right: auto;
  bottom: -9px;
  transform: translateX(-50%);
  z-index: 3;
  min-width: 18px;
  height: 18px;
  padding: 0;
  border-radius: 50%;
}
html body #stagePanel .journeyNode .nodeBadge.lock {
  background: #0c1d33;
  border: 1px solid #9cc4e2;
}
html body #stagePanel .journeyNode .nodeBadge.lock img {
  width: 10px;
  height: 10px;
}
html body #stagePanel .journeyNode .nodeBadge.play {
  left: auto;
  right: -9px;
  bottom: -6px;
  transform: none;
  width: 22px;
  height: 22px;
  background: #140c00;
  border: 2px solid #ffd65a;
  color: #ffd65a;
  font-size: 10px;
  padding-left: 2px;
}
html body #stagePanel .journeyNode .nodeBadge.done {
  background: #1c9a4c;
  border-color: #b7ffcf;
}
html body #stagePanel .journeyNode:not(.locked):not(.current) {
  z-index: 1;
}
html body #stagePanel .journeyFinal {
  position: relative;
  overflow: hidden;
}
html body #stagePanel .journeyFinal .finalKing {
  position: absolute;
  bottom: -8%;
  height: 118%;
  width: auto;
  z-index: 0;
  filter: drop-shadow(0 0 16px #ff3b1f88) saturate(1.1);
  pointer-events: none;
}
html body #stagePanel .journeyFinal strong,
html body #stagePanel .journeyFinal .finalRequirement {
  position: relative;
  z-index: 1;
}
html body #stagePanel .finalRequirement {
  gap: clamp(6px,1.2vw,14px) !important;
}
html body #stagePanel .finalLock {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
html body #stagePanel .finalLock .lock img {
  width: clamp(18px,5.4vh,36px);
  height: auto;
  display: block;
}
html body #stagePanel .finalLock small {
  font-size: clamp(8px,2.5vh,15px) !important;
  font-weight: 900;
  white-space: nowrap;
}
html body #stagePanel .finalLock small em {
  font-style: normal;
  color: #ffd65a;
}
html body #stagePanel .finalBar {
  width: clamp(70px,14vw,160px);
  height: 7px;
  border-radius: 4px;
  background: #14081f;
  border: 1px solid #b07cff;
  overflow: hidden;
}
html body #stagePanel .finalBar i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg,#ff7a3d,#ffd65a);
}
html body #stagePanel .finalLock b {
  font-size: clamp(11px,3.4vh,20px) !important;
  line-height: 1 !important;
}
html body #stagePanel .journeyNode .nodeBadge.lock {
  left: auto;
  right: -5px;
  top: -5px;
  bottom: auto;
  transform: none;
}
html body #stagePanel .journeyNode.champion .nodeBadge.lock {
  right: auto;
  left: -5px;
}
html body #stagePanel .journeyFinal .finalKing {
  left: 37%;
}
html body #mapPicker .arenaDetail {
  overflow-y: auto;
  overscroll-behavior: contain;
}
@media (max-width:760px) {
  html body #stagePanel .journeyFinal .finalKing {
    display: none;
  }
}
#duelSetup {
  display: flex;
  flex-direction: column;
  gap: 3px;
  text-align: left;
}
#duelSetup>small {
  font: 900 9px/1.2 system-ui,sans-serif !important;
  letter-spacing: .12em;
  color: #7fc8ff !important;
}
#duelSetup .dsRow {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}
#duelSetup .dsRow button.on {
  background: linear-gradient(#ffe066,#f3a622);
  border-color: #fff1a8;
  color: #3a2100;
  box-shadow: 0 0 10px #ffcf4a88;
}
#duelSetup .dsRow button.na {
  opacity: .55;
}
#duelSetup #dsNote {
  margin: 2px 0 0;
  color: #9fc3e3;
  font: 700 9.5px/1.3 system-ui,sans-serif;
}
html body #mapPicker .arenaWindow {
  overflow: hidden;
  max-height: 100%;
  display: flex;
  flex-direction: column;
  padding: 10px 14px;
}
html body #mapPicker .arenaBody {
  flex: 1;
  min-height: 0;
  grid-template-columns: 1.55fr 1fr;
  gap: 12px;
}
html body #mapPicker .arenaChoices {
  grid-template-rows: repeat(2,minmax(0,1fr));
  align-content: stretch;
  gap: 8px;
  min-height: 0;
}
html body #mapPicker .arenaCard {
  display: grid;
  grid-template-rows: 1fr auto;
  min-height: 0;
  overflow: hidden;
}
html body #mapPicker .arenaCard img {
  height: 100%;
  min-height: 0;
  aspect-ratio: auto;
  object-fit: cover;
}
html body #mapPicker .arenaCard span {
  padding: 4px 2px;
  font-size: clamp(9px,2.6vh,15px);
}
html body #mapPicker .arenaCard .arenaLockNote {
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  bottom: clamp(20px,6.5vh,30px);
  padding: 2px 4px;
  letter-spacing: .06em;
}
html body #mapPicker .arenaDecoration {
  display: none;
}
html body #mapPicker .arenaDetail {
  min-height: 0;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto auto auto auto 1fr;
  gap: 4px;
  padding: 8px;
}
html body #mapPicker .arenaDetail>img {
  max-height: clamp(60px,21vh,120px);
  width: 100%;
  object-fit: cover;
}
html body #mapPicker .arenaDetail h3 {
  font-size: clamp(13px,3.8vh,22px);
}
html body #mapPicker .arenaDetail .arenaSelected {
  margin: 0;
  font-size: clamp(8px,2.2vh,11px);
}
html body #mapPicker #duelSetup small {
  font-size: clamp(7.5px,2vh,10px);
  letter-spacing: .1em;
}
html body #mapPicker #duelSetup .dsRow button {
  min-height: clamp(22px,6.5vh,34px);
  padding: 2px 2px;
  font-size: clamp(7.5px,2vh,10.5px);
}
html body #mapPicker #duelSetup .dsRow button.na:after {
  content: " · N/A";
  font-size: .8em;
}
html body #mapPicker #dsNote {
  margin: 0;
  font-size: clamp(7px,1.9vh,9.5px);
}
html body #mapPicker #arenaConfirm {
  min-height: clamp(30px,8.5vh,44px);
  font-size: clamp(11px,3vh,15px);
}
html body #mapPicker #arenaConfirm+small,
html body #mapPicker #arenaRules {
  display: none;
}
html body #mapPicker .arenaHeader {
  margin-bottom: 6px;
  padding-bottom: 4px;
}
html body #mapPicker .arenaHeader h2 {
  font-size: clamp(16px,4.5vh,26px);
}
html body #mapPicker .arenaHeader small {
  font-size: clamp(7px,2vh,10px);
}
html body #mapPicker .arenaHeader button {
  width: clamp(30px,8vh,42px);
  height: clamp(28px,7.5vh,40px);
  font-size: clamp(14px,4vh,22px);
}
@media (max-height:400px) {
  html body #stagePanel .journeyShell {
    padding: 4px 8px !important;
    gap: 4px !important;
  }
  html body #stagePanel .journeyTop {
    min-height: 0 !important;
    padding: 0 !important;
  }
  html body #stagePanel .journeyBrand span {
    font-size: 16px !important;
  }
  html body #stagePanel .journeyBrand small {
    font-size: 7.5px !important;
  }
  html body #stagePanel .nodeRail {
    gap: 4px !important;
  }
  html body #stagePanel .islandName {
    padding: 1px 6px !important;
    transform: translateY(4px);
  }
  html body #stagePanel .islandName b {
    font-size: 9px !important;
  }
  html body #stagePanel .islandName small {
    font-size: 7px !important;
  }
  html body #stagePanel .journeyFinal {
    min-height: 0 !important;
    padding: 3px 10px !important;
  }
  html body #stagePanel .journeyFinal strong {
    font-size: 14px !important;
  }
  html body #stagePanel .finalKing {
    max-height: 48px !important;
  }
  html body #stagePanel .journeyDetails {
    padding: 6px 8px !important;
    gap: 3px !important;
  }
  html body #stagePanel .journeyDetails h3 {
    font-size: 14px !important;
  }
  html body #stagePanel .journeyStageArt img {
    max-height: 52px !important;
  }
  html body #stagePanel .journeyPills span {
    font-size: 8px !important;
    padding: 2px 5px !important;
  }
  html body #stagePanel .journeyObjective {
    padding: 2px 6px !important;
  }
  html body #stagePanel .journeyRewards {
    gap: 4px !important;
  }
  html body #stagePanel .journeyRival img {
    max-height: 34px !important;
  }
  html body #stagePanel .journeyRewardBox small,
  html body #stagePanel .journeyRival small {
    font-size: 7px !important;
  }
  html body #stagePanel .journeyPlay {
    min-height: 30px !important;
    font-size: 13px !important;
  }
  html body #stagePanel .journeyNext {
    font-size: 8px !important;
  }
  html body #stagePanel .journeyNode {
    width: 26px !important;
    height: 26px !important;
    font-size: 11px !important;
  }
  html body #stagePanel .journeyNode .nodeBadge {
    width: 11px !important;
    height: 11px !important;
    font-size: 7px !important;
  }
}
html body#rr-app.rr-ui .rr-screen :is(h1,h2,h3,.advTitle,.journeyBrand,.vpHead,.bv18Title,.bv16CeleTitle) {
  font-family: var(--mc-display) !important;
  letter-spacing: .015em;
  text-shadow: 2px 3px 0 #03060c !important;
  transform: none;
}
html body#rr-app.rr-ui .rr-screen button:where(:not(.journeyNode):not(.arenaCard):not(.vaultTile):not(.celebrationCard)) {
  color: var(--mc-paper) !important;
  background: linear-gradient(155deg,#194969,#0b233a) !important;
  border: 2px solid #03060c !important;
  border-radius: 6px !important;
  box-shadow: inset 0 0 0 1px #4199b9,0 3px 0 #03060c !important;
  text-shadow: 0 1px 1px #000 !important;
  font-weight: 850;
  transition: filter .12s,box-shadow .12s;
}
html body#rr-app.rr-ui .arenaDetail {
  background: #071525 !important;
  border: 1px solid #315d77 !important;
  border-radius: 6px !important;
}
html body#rr-app.rr-ui .journeyShell {
  background: none !important;
  border: 0 !important;
}
html body#rr-app.rr-ui .journeyNode {
  background: #163b52 !important;
  color: #d8e9f4 !important;
  border: 3px solid #03060c !important;
  box-shadow: 0 0 0 1px #4dbed7,2px 3px 0 #000 !important;
  font-family: var(--mc-display) !important;
}
html body#rr-app.rr-ui .journeyNode.chosen {
  background: linear-gradient(#ffe288,#d18c24) !important;
  color: #241705 !important;
  box-shadow: 0 0 0 3px var(--mc-gold),2px 3px 0 #000 !important;
}
html body#rr-app.rr-ui .journeyNode.locked {
  background: #142333 !important;
  color: #94a7b9 !important;
}
html body#rr-app.rr-ui :is(.islandName,.journeyDetails,.journeyCampaign) {
  background: #071626f5 !important;
  border: 2px solid #03060c !important;
  box-shadow: inset 0 0 0 1px #447b91 !important;
  border-radius: 5px !important;
}
html body#rr-app.rr-ui .journeyFinal {
  border: 3px solid #a166d4 !important;
  border-radius: 6px !important;
  box-shadow: 0 3px 0 #000 !important;
}
html body#rr-app.rr-ui .journeyCampaign {
  clip-path: none !important;
  overflow: visible !important;
  min-height: 54px;
}
html body#rr-app.rr-ui #stagePanel .journeyShell {
  min-height: 0 !important;
  height: 100% !important;
}
html body#rr-app.rr-ui .journeyCampaign label {
  font-size: clamp(8px,1.5vh,14px) !important;
}
html body#rr-app.rr-ui .journeyCampaign b {
  font-size: clamp(14px,2.7vh,23px) !important;
}
@media (max-height:440px) {
  html body#rr-app.rr-ui #stagePanel .journeyCampaign {
    min-height: 36px !important;
    padding: 3px 8px !important;
  }
  html body#rr-app.rr-ui #stagePanel .journeyDetails {
    display: grid !important;
    grid-template-rows: 10px 16px 32px 16px 68px 28px minmax(32px,1fr) 44px 18px !important;
    gap: 2px !important;
    min-height: 0;
    overflow: hidden !important;
    padding: 5px 7px !important;
  }
  html body#rr-app.rr-ui #stagePanel .journeyDetails .journeyEyebrow {
    font-size: 9px !important;
    line-height: 10px !important;
  }
  html body#rr-app.rr-ui #stagePanel .journeyDetails h3 {
    font-size: 14px !important;
    line-height: 16px !important;
    margin: 0 !important;
  }
  html body#rr-app.rr-ui #stagePanel .journeyStageArt {
    height: 100% !important;
    min-height: 0 !important;
  }
  html body#rr-app.rr-ui #stagePanel .journeyStageArt img {
    height: 100% !important;
    object-fit: cover;
  }
  html body#rr-app.rr-ui #stagePanel .journeyPills {
    margin: 0 !important;
    gap: 3px !important;
    min-height: 0 !important;
  }
  html body#rr-app.rr-ui #stagePanel .journeyPills span {
    font-size: 7px !important;
    padding: 1px 5px !important;
  }
  html body#rr-app.rr-ui #stagePanel .bv20Pick {
    padding: 2px 4px !important;
    margin: 0 !important;
    min-height: 0 !important;
  }
  html body#rr-app.rr-ui #stagePanel .bv20Pick>small {
    font-size: 7px !important;
    line-height: 8px !important;
  }
  html body#rr-app.rr-ui #stagePanel .bv20Seg {
    display: flex !important;
    gap: 3px !important;
    min-width: 0;
  }
  html body#rr-app.rr-ui #stagePanel .bv20Seg button {
    flex: 1;
    min-width: 0 !important;
    width: 0 !important;
    font-size: 9px !important;
    padding: 2px !important;
    min-height: 44px !important;
    white-space: normal !important;
  }
  html body#rr-app.rr-ui #stagePanel .bv20Style {
    display: block !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    font-size: 7px !important;
    line-height: 8px !important;
    padding: 0 !important;
    margin: 1px !important;
  }
  html body#rr-app.rr-ui #stagePanel .journeyObjective {
    padding: 2px 5px !important;
    min-height: 0 !important;
  }
  html body#rr-app.rr-ui #stagePanel .journeyObjective small {
    font-size: 7px !important;
  }
  html body#rr-app.rr-ui #stagePanel .journeyObjective strong {
    font-size: 12px !important;
    line-height: 13px !important;
  }
  html body#rr-app.rr-ui #stagePanel .journeyRewards {
    min-height: 0 !important;
    overflow: hidden;
    gap: 5px !important;
  }
  html body#rr-app.rr-ui #stagePanel .journeyRival img {
    height: 26px !important;
    width: 26px !important;
  }
  html body#rr-app.rr-ui #stagePanel .journeyRewardBox {
    padding: 3px !important;
  }
  html body#rr-app.rr-ui #stagePanel .journeyRewardBox img {
    height: 18px !important;
    width: 18px !important;
  }
  html body#rr-app.rr-ui #stagePanel :is(.journeyRewardBox small,.journeyRewardBox label,.journeyRival small) {
    font-size: 6.5px !important;
    line-height: 8px !important;
  }
  html body#rr-app.rr-ui #stagePanel #journeyLaunch {
    min-height: 44px !important;
    height: 44px !important;
    font-size: 14px !important;
    margin: 0 !important;
    padding: 3px !important;
  }
  html body#rr-app.rr-ui #stagePanel .journeyNext {
    font-size: 7px !important;
    line-height: 8px !important;
    padding: 1px 4px !important;
    margin: 0 !important;
    overflow: hidden;
  }
  html body#rr-app.rr-ui #mapPicker .arenaDetail {
    gap: 3px !important;
    padding: 5px !important;
  }
  html body#rr-app.rr-ui #mapPicker #arenaConfirm {
    min-height: 32px !important;
    padding: 3px !important;
    font-size: 11px !important;
  }
}
html body#rr-app #stagePanel .journeyDetails {
  grid-template-columns: minmax(0,1fr) !important;
}
html body#rr-app #stagePanel .journeyDetails>* {
  min-width: 0 !important;
  max-width: 100% !important;
}
html:is(.lang-ar,.lang-hi) body#rr-app #stagePanel .journeyFinal strong {
  line-height: 1.2 !important;
}
html:is(.lang-ar,.lang-hi) body#rr-app #stagePanel .journeyDetails :is(.journeyEyebrow,h3) {
  line-height: 1.25 !important;
}
#nxStrip {
  position: fixed;
  z-index: 9;
  left: 50%;
  transform: translateX(-50%);
  top: calc(env(safe-area-inset-top) + clamp(50px,14.5vh,70px) + 54px);
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border-radius: 12px;
  background: #140b2acc;
  border: 1px solid #b04dff;
  pointer-events: none;
}
#nxStrip.hidden {
  display: none !important;
}
#nxStrip i {
  position: relative;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid #4a3a6a;
  background: #22163d;
  overflow: hidden;
  opacity: .55;
  filter: grayscale(.7);
}
#nxStrip i img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.25);
}
#nxStrip i.act {
  opacity: 1;
  filter: none;
  border-color: var(--qc);
  box-shadow: 0 0 8px var(--qc);
  animation: nxPulse 1.2s ease-in-out infinite;
}
#nxStrip i.done {
  opacity: 1;
  filter: none;
  border-color: #ffcf4c;
}
#nxStrip i.done::after {
  content: '✓';
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: #0009;
  color: #ffcf4c;
  font: 900 14px/1 system-ui;
}
#nxStrip b {
  color: #ffcf4c;
  font: 900 12px/1 system-ui;
  margin-left: 2px;
}
@media (max-height:430px) {
  #nxStrip {
    top: calc(env(safe-area-inset-top) + 44px + 50px);
    transform: translateX(-50%) scale(.85);
  }
}
#arenaCards .nxCard {
  border-color: #ff5fd2;
}
#arenaCards .nxCard .nxNew {
  background: #b04dff;
  color: #fff;
}
#nxPick {
  position: fixed;
  inset: 0;
  z-index: 99960;
  display: grid;
  place-items: center;
  background: #07031acc;
  padding: 16px;
}
#nxPick .nxPickBox {
  max-width: 760px;
  width: 100%;
  max-height: calc(100vh - 32px);
  overflow: auto;
  border-radius: 18px;
  background: linear-gradient(180deg,#2a1450,#140a2a);
  border: 2px solid #ffcf4c;
  padding: 16px;
  color: #fff;
  text-align: center;
  font-family: inherit;
}
#nxPick h2 {
  margin: 0 0 4px;
  color: #ffcf4c;
  font-size: 22px;
}
#nxPick p {
  margin: 0 0 12px;
  color: #e9dcff;
  font-size: 14px;
}
#nxPick .nxPickRow {
  display: grid;
  grid-template-columns: repeat(5,minmax(0,1fr));
  gap: 8px;
}
#nxPick button:hover,
#nxPick button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 0 16px var(--qc);
  outline: none;
}
#nxPick button[disabled] {
  opacity: .45;
  cursor: default;
}
#nxPick img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
}
#nxPick b {
  font-size: 13px;
}
#nxPick small {
  font-size: 10px;
  color: #cfc0f0;
}
#nxPick em {
  position: absolute;
  top: 6px;
  right: 6px;
  font-style: normal;
  font-size: 10px;
  background: #000a;
  border-radius: 6px;
  padding: 1px 4px;
}
@media (max-width:560px) {
  #nxPick .nxPickRow {
    grid-template-columns: repeat(3,minmax(0,1fr));
  }
}
#duelSetup .nxFixed {
  margin: 2px 0 6px;
  padding: 6px 8px;
  border-radius: 10px;
  background: #2a1450;
  border: 1px solid #ffcf4c;
  color: #ffe9a8;
  font: 800 12px/1.3 system-ui;
  text-align: center;
}
#levelsGrid.journeyBoard {
  grid-template-columns: 1fr 1fr;
  grid-template-areas: 'city warehouse' 'harbor camp' 'final nexus' !important;
}
.journeyNexus {
  grid-area: nexus;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
  padding: 8px 12px;
  overflow: hidden;
  border: 3px solid #a46cff;
  border-radius: 13px;
  background: linear-gradient(90deg,#2a0d5a99,#140a2e66,#3a0a4c99);
  color: #fff;
  text-align: left;
  min-height: 0;
}
.journeyNexus.locked strong {
  color: #cfc2e6;
}
.journeyNexus .finalLock small {
  color: #f1e6ff;
  font-size: clamp(8px,2vh,11px);
}
#journeyDetails .nxQueens {
  display: flex;
  gap: 2px;
  justify-content: center;
}
#journeyDetails .nxQueens img {
  width: clamp(22px,6vh,36px);
  height: auto;
}
@media (orientation:portrait) {
  #levelsGrid.journeyBoard {
    grid-template-areas: 'city' 'warehouse' 'camp' 'harbor' 'final' 'nexus' !important;
    grid-template-columns: 1fr !important;
  }
}
#nxTint {
  position: fixed;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  opacity: 0;
  transition: opacity .6s;
  background: radial-gradient(ellipse at center,transparent 48%,var(--qc,#ff5fd2) 150%);
}
#nxTint.on {
  opacity: .22;
}
#nxTint.on.strong {
  opacity: .42;
}
#nxInter {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  background: radial-gradient(ellipse at center,#1b103355 0%,#1b103300 70%);
}
#nxInter.hidden {
  display: none !important;
}
#nxInter .nxIBox {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: clamp(8px,2.2vh,14px) clamp(16px,4vw,30px);
  border-radius: 18px;
  background: #1b1033e8;
  border: 2px solid var(--qc);
  box-shadow: 0 0 0 4px #1b103366,0 0 34px var(--qc);
  animation: nxInterIn .32s cubic-bezier(.2,1.4,.4,1);
  max-width: min(92vw,520px);
}
#nxInter .nxIEye {
  font: 900 clamp(9px,2.3vh,12px) system-ui;
  letter-spacing: .14em;
  color: var(--qc);
  text-transform: uppercase;
}
#nxInter .nxIRow {
  display: flex;
  align-items: center;
  gap: 10px;
}
#nxInter .nxIRow img {
  width: clamp(40px,11vh,64px);
  height: clamp(40px,11vh,64px);
  border-radius: 50%;
  border: 2px solid var(--qc);
  object-fit: cover;
  background: #22163d;
  box-shadow: 0 0 14px var(--qc);
}
#nxInter .nxIRow b {
  display: block;
  font: 900 clamp(16px,4.6vh,26px)/1 system-ui;
  color: #fff;
  letter-spacing: .03em;
}
#nxInter .nxIRow span {
  display: block;
  font: 800 clamp(10px,2.5vh,13px) system-ui;
  color: #ffe08a;
  letter-spacing: .1em;
  margin-top: 3px;
}
#nxInter .nxINum {
  font: 900 clamp(34px,11vh,64px)/1 system-ui;
  color: #fff;
  text-shadow: 0 0 18px var(--qc),0 3px 0 #000;
  margin: 2px 0;
}
#nxInter .nxINum.tick {
  animation: nxTick .45s ease-out;
}
#nxInter .nxIHint {
  font: 800 clamp(9px,2.2vh,12px) system-ui;
  color: #dbe9ff;
  letter-spacing: .08em;
}
#nxInter .nxIDots {
  display: flex;
  gap: 6px;
  margin-top: 3px;
}
#nxInter .nxIDots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #3a2a63;
  border: 1.5px solid #8f7fd0;
}
#nxInter .nxIDots i.done {
  background: #ffd86a;
  border-color: #ffd86a;
}
#nxInter .nxIDots i.act {
  background: var(--qc);
  border-color: #fff;
  box-shadow: 0 0 8px var(--qc);
}
@media (max-height:420px) {
  #nxInter .nxIBox {
    gap: 2px;
    padding: 6px 18px;
  }
  #nxInter .nxINum {
    font-size: clamp(26px,9vh,40px);
  }
  #nxInter .nxIRow img {
    width: 36px;
    height: 36px;
  }
}
html body#rr-app #adventurePanel {
  background: var(--u-panel) !important;
}
html body#rr-app :is(#stagePanel .journeyBrand em,#adventurePanel .advTitle em,#loadoutPanel .lhTitle em) {
  color: #fff !important;
  -webkit-text-fill-color: #fff;
  font-style: normal;
}
html body#rr-app :is(#mapPicker .arenaHeader small,#loadoutPanel .lhTitle small,#stagePanel .journeyBrand small,#adventurePanel .advTag) {
  color: var(--u-cy) !important;
  letter-spacing: .14em;
  font-weight: 900;
  text-shadow: 0 0 8px #33e4ff66;
}
html body#rr-app :is(#adventurePanel .advTag) {
  border: 1px solid #33e4ff88;
  background: #0c0628cc;
  border-radius: 999px;
}
html body#rr-app :is(#mapPicker .arenaCard.selected,#adventurePanel .advCard.selected,.bv20Card.rec,#loadoutPanel .boostCard.selected,#rrInboxPanel .ibList article.new) {
  border-color: #fff1a6 !important;
  box-shadow: 0 0 0 2px #ffc93a,0 0 22px #ffc93acc,0 5px 0 var(--u-gedge) !important;
}
html body#rr-app .bv20Card em {
  background: #0c0628cc;
  color: #ffe27a;
}
html body#rr-app #stagePanel .journeyCampaign label {
  color: var(--u-cy);
}
html body#rr-app #stagePanel .journeyCampaign progress {
  accent-color: #ffc93a;
}
html body#rr-app #stagePanel .journeyNode {
  background: var(--u-card) !important;
  border: 2px solid var(--u-line) !important;
  color: #fff !important;
  box-shadow: 0 3px 0 #0d0430 !important;
}
html body#rr-app #stagePanel .journeyNode[aria-pressed=true] {
  background: var(--u-gold) !important;
  color: #3a1d00 !important;
  border-color: #fff6c4 !important;
  box-shadow: 0 0 0 2px #ffc93a,0 0 18px #ffc93a99 !important;
}
html body#rr-app #stagePanel .journeyNode .nodeBadge.done {
  background: #1fd072;
  border-color: #bfffd8;
}
html body#rr-app #stagePanel .journeyArrow {
  color: var(--u-cy);
  filter: drop-shadow(0 0 6px #33e4ff);
}
html body#rr-app #stagePanel .journeyFinal {
  background: linear-gradient(90deg,#4a1a9acc,#2a0f63cc 50%,#5a0a3ccc) !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;
  min-width: 0;
  overflow: hidden;
}
html body#rr-app #stagePanel .journeyFinal strong {
  font-family: var(--u-disp) !important;
  font-weight: 400 !important;
}
html body#rr-app #stagePanel :is(.journeyFinal,.journeyNexus) .finalRequirement {
  min-width: 0;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  gap: 6px;
  justify-content: flex-end;
}
html body#rr-app #stagePanel :is(.journeyFinal,.journeyNexus) .finalLock {
  min-width: 0;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
html body#rr-app #stagePanel :is(.journeyFinal,.journeyNexus) .finalLock small {
  display: block;
  white-space: normal;
  text-align: center;
  line-height: 1.15;
  font-size: clamp(7.5px,1.9vh,10.5px);
  max-width: 100%;
}
html body#rr-app #stagePanel :is(.journeyFinal,.journeyNexus) .finalLock .finalBar {
  width: 100%;
  max-width: 120px;
}
html body#rr-app #stagePanel :is(.journeyFinal,.journeyNexus) .finalDuration {
  flex: 0 0 auto;
  border: 2px solid #ffc93a88 !important;
  background: #0c0628cc !important;
  color: #ffd34d !important;
  border-radius: 10px;
  font-family: var(--u-disp);
}
html body#rr-app #stagePanel .journeyFinal .finalKing {
  max-height: 100%;
  flex: 0 0 auto;
}
html body#rr-app #stagePanel .journeyNexus {
  border-color: #ff7ad9 !important;
  background: linear-gradient(90deg,#4a1a9acc,#2a0f63cc 50%,#5a0a3ccc) !important;
}
html body#rr-app #stagePanel .journeyNexus strong {
  color: #ffd34d !important;
}
html body#rr-app #stagePanel .journeyDetails .journeyEyebrow {
  color: var(--u-cy);
}
html body#rr-app #stagePanel .journeyPills span,
html body#rr-app #stagePanel .journeyObjective,
html body#rr-app #stagePanel .journeyRival,
html body#rr-app #stagePanel .journeyRewardBox,
html body#rr-app #stagePanel .journeyNext {
  background: #0c0628cc !important;
  border: 1px solid #a77bff88 !important;
  border-radius: 10px !important;
  color: #eee4ff !important;
}
html body#rr-app #stagePanel .journeyObjective strong {
  color: #ffd34d;
}
html body#rr-app #stagePanel .bv20Pick button {
  background: var(--u-blue) !important;
  border: 2px solid #a77bff !important;
  color: #fff !important;
  border-radius: 10px !important;
}
@media (max-height:470px) {
  html body#rr-app #stagePanel :is(.journeyFinal,.journeyNexus) {
    padding: 3px 8px !important;
    gap: 6px !important;
  }
  html body#rr-app #stagePanel .journeyFinal strong {
    font-size: 13px !important;
  }
  html body#rr-app #stagePanel .journeyNexus strong {
    font-size: 12px !important;
  }
  html body#rr-app #stagePanel :is(.journeyFinal,.journeyNexus) .finalLock .lock img {
    width: 14px;
  }
  html body#rr-app #stagePanel .journeyFinal .finalKing {
    max-height: 44px !important;
  }
  html body#rr-app #stagePanel .journeyNexus .finalDuration,
  html body#rr-app #stagePanel .journeyFinal .finalDuration {
    padding: 2px 6px;
    font-size: 11px;
    line-height: 1.05;
  }
}
html body#rr-app #mapPicker .arenaHeader {
  border-bottom: 2px solid #ffc93a55 !important;
}
html body#rr-app #mapPicker #duelSetup small {
  color: var(--u-cy) !important;
}
html body#rr-app #mapPicker #dsNote,
html body#rr-app #mapPicker .arenaSelected {
  color: var(--u-txt) !important;
}
html body#rr-app #mapPicker .arenaSelected {
  color: #ffe08a !important;
}
html body#rr-app #adventurePanel .advBar {
  background: #0c0628e0 !important;
  border: 2px solid #ffc93a88 !important;
  border-radius: var(--u-r) !important;
}
html body#rr-app #adventurePanel .advSel b {
  color: #ffd34d;
  font-family: var(--u-disp);
  font-weight: 400;
}
html body#rr-app #adventurePanel .advSel em {
  color: #fff;
}
html body#rr-app #adventurePanel .advSel small {
  color: var(--u-txt);
}
html body#rr-app #adventurePanel .advRibbon {
  background: var(--u-gold);
  color: #3a1d00;
  border: 1px solid #fff6c4;
}
html body#rr-app #adventurePanel .advSoon {
  background: #0c0628d0;
  color: #ffe08a;
  border: 1px solid #ffc93a88;
}
@media (max-height:400px) {
  html body#rr-app #mapPicker .arenaDetail {
    grid-template-rows: auto auto auto minmax(0,1fr) auto !important;
    gap: 2px !important;
    padding: 4px !important;
  }
  html body#rr-app #mapPicker .arenaDetail>img {
    max-height: 54px !important;
  }
  html body#rr-app #mapPicker .arenaDetail h3 {
    font-size: 12px !important;
    line-height: 1.1 !important;
  }
  html body#rr-app #mapPicker #duelSetup {
    gap: 2px !important;
    min-height: 0;
    overflow: hidden;
  }
  html body#rr-app #mapPicker #duelSetup .dsRow {
    gap: 2px !important;
    margin: 0 !important;
  }
  html body#rr-app #mapPicker #duelSetup small {
    font-size: 7.5px !important;
    line-height: 1.1 !important;
  }
  html body#rr-app #mapPicker #duelSetup .dsRow button {
    min-height: 19px !important;
    padding: 1px 2px !important;
    font-size: 8px !important;
    line-height: 1.05 !important;
  }
  html body#rr-app #mapPicker #dsNote {
    font-size: 7.5px !important;
    line-height: 1.1 !important;
  }
  html body#rr-app #mapPicker #arenaConfirm {
    min-height: 28px !important;
    font-size: 11px !important;
    padding: 2px !important;
  }
}
html body #mapPicker #duelSetup .dsRow button {
  white-space: nowrap !important;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.15 !important;
}
@media (max-height:440px) {
  html body #mapPicker .arenaDetail {
    display: flex !important;
    flex-direction: column !important;
    min-height: 0 !important;
    overflow: hidden !important;
    gap: 3px !important;
  }
  html body #mapPicker .arenaDetail>#arenaPreview {
    display: none !important;
  }
  html body #mapPicker .arenaDetail>small {
    display: none !important;
  }
  html body #mapPicker #duelSetup {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y !important;
    overscroll-behavior: contain;
  }
  html body #mapPicker #duelSetup .dsRow {
    gap: 3px !important;
    margin: 1px 0 3px !important;
  }
  html body #mapPicker #duelSetup .dsRow button {
    font-size: clamp(9px,3.1vh,12px) !important;
    padding: 4px 5px !important;
    min-height: 24px !important;
  }
  html body #mapPicker #duelSetup>small {
    font-size: 9px !important;
    margin: 2px 0 0 !important;
  }
  html body #mapPicker #dsNote {
    display: none !important;
  }
  html body #mapPicker #arenaConfirm {
    flex: 0 0 auto !important;
    min-height: 30px !important;
    padding: 5px 8px !important;
  }
  html body #mapPicker #duelSetup #dsAI button {
    padding: 4px 3px !important;
    font-size: clamp(8px,2.8vh,11px) !important;
    letter-spacing: 0 !important;
  }
}
html body #stagePanel .journeyNode {
  position: relative;
}
html body #stagePanel .journeyNode::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: max(100%,44px);
  height: max(100%,44px);
  transform: translate(-50%,-50%);
  border-radius: 50%;
  background: transparent;
}
