/* RUINROLL · 20-home.css — Home / main menu, top bar, daily reward, inbox.
   Generated from the consolidated stylesheet stack; rule order inside this file is cascade order. */
.bv16Picks {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(150px,1fr));
  gap: 10px;
}
.bv16Picks button {
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 16px;
  color: #fff;
  cursor: pointer;
  min-height: 44px;
}
.bv16Picks button em {
  font: 900 13px system-ui,sans-serif;
  font-style: normal;
  color: #1a0b3d;
  background: #ffe08a;
  border-radius: 10px;
  padding: 4px 14px;
}
html body #menu .dailyCard {
  position: relative;
}
.bv16Picks button {
  background: none;
  border: 0;
  padding: 0;
  gap: 6px;
  animation: bv16Deal .5s cubic-bezier(.2,1.4,.4,1) both;
  animation-delay: var(--d);
}
.bv16Picks button:hover .bv16Card,
.bv16Picks button:focus-visible .bv16Card {
  transform: translateY(-6px) scale(1.04);
}
#menu {
  overflow: hidden;
}
.profileInfo {
  min-width: 122px;
}
.profileInfo b span {
  color: #ffe976;
}
.currencies {
  display: flex;
  gap: 8px;
  align-items: center;
}
.currencies>span {
  background: #091b39dc;
  border: 1px solid #72bdff66;
  padding: 9px 13px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 950;
}
.heroText {
  position: absolute;
  top: 17%;
  left: 5%;
  width: 48%;
  text-shadow: 0 4px 12px #000,0 0 25px #140c10;
}
.heroText h1 {
  margin: 0;
  font-size: clamp(32px,5.5vw,84px);
  line-height: .89;
  letter-spacing: -.055em;
  max-width: 630px;
  color: #ffbe3e;
  -webkit-text-stroke: 1px #ad3d19;
  filter: drop-shadow(0 5px 1px #67292a);
}
.mainCTA {
  position: absolute;
  right: 5%;
  top: 32%;
  width: min(34%,380px);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 7px;
}
.mainCTA>button {
  background: linear-gradient(#ffed75,#ffba26 55%,#f47121);
  font-weight: 1000;
  color: #4e160c;
  text-shadow: 0 1px #fff9;
  border: 3px solid #fff3a5;
  border-radius: 15px;
  font-size: clamp(22px,3.4vw,42px);
  padding: 12px 9px;
  box-shadow: 0 8px 0 #a9471a,0 0 28px #ff9a55a1;
  transform: skew(-2deg);
}
.quickActions {
  display: flex;
  gap: 6px;
  justify-content: center;
}
.quickActions button {
  padding: 8px 10px;
  flex: 1;
  font-size: clamp(9px,1.08vw,14px);
  font-weight: 900;
  white-space: nowrap;
  background: linear-gradient(#1a4580da,#11193de8);
  border: 1.5px solid #42d7ffcc;
  border-radius: 9px;
  box-shadow: 0 3px 7px #0007;
}
.quickActions button:nth-child(2) {
  border-color: #ffcc76;
}
@media (max-height:420px) {
  .mainCTA {
    top: 31%;
  }
  .heroText {
    top: 17%;
  }
  .profileInfo .xpbar {
    margin: 3px 0;
  }
  .currencies>span {
    padding: 6px;
  }
  .mainCTA>button {
    padding: 8px;
  }
}
@media (max-width:680px) and (orientation:landscape) {
  .mainCTA {
    right: 2%;
    width: 39%;
    top: 35%;
  }
  .heroText {
    left: 3%;
    width: 52%;
  }
  .mainCTA>p {
    display: none;
  }
  .profileInfo {
    min-width: 95px;
  }
  .heroText h1 {
    font-size: 30px;
  }
  .quickActions button {
    padding: 6px 3px;
    font-size: 8px;
  }
}
#menu {
  background: linear-gradient(125deg,#2e87c4,#a3e1f5 55%,#fdcb80) !important;
}
#dailyBtn {
  background: linear-gradient(125deg,#20bcae,#087b94);
  border: 2px solid #9ffbd9;
  color: #fff;
}
#menu .mainCTA>p,
#menu .heroText>p {
  display: none;
}
#menu .quickActions button {
  margin: 0;
}
#menu .mainCTA #playBtn {
  width: 100%;
  margin-bottom: 10px;
}
#menu .worldInfo {
  max-width: 38%;
}
@media (max-width:590px) {
  #menu .mainCTA {
    width: 46%;
    right: 3%;
    top: 26%;
  }
  #menu .quickActions button {
    font-size: 9px;
    min-height: 32px;
  }
  #menu .heroText {
    left: 3%;
    width: 43%;
  }
}
#menu .menuHeader {
  position: absolute;
  height: 14%;
  margin: 0;
}
#menu .heroText {
  position: absolute;
  margin: 0;
}
#menu .mainCTA {
  left: auto !important;
  margin: 0 !important;
}
#menu #playBtn {
  width: 100%;
}
#menu #matchModes button {
  min-height: 0;
}
#menu #modeDescription {
  display: none;
}
#menu .quickActions {
  display: grid !important;
  grid-template-columns: repeat(3,minmax(0,1fr));
  grid-template-rows: repeat(2,minmax(0,1fr));
  gap: 6px;
  margin: 0;
}
#menu .quickActions button {
  padding: 4px;
  min-height: 0;
  font-size: clamp(9px,1.2vw,17px);
}
#menu .worldInfo {
  overflow: hidden;
}
#menu .arenaChoices {
  display: grid !important;
  grid-template-columns: repeat(5,minmax(0,1fr)) !important;
  gap: 7px;
  min-width: 0;
}
#menu .arenaChoice {
  width: auto !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 5px !important;
  font-size: clamp(9px,1.1vw,16px);
  flex-direction: column;
}
#menu .arenaChoice span {
  white-space: normal;
  text-align: center;
}
@media (orientation:portrait) {
  #menu .heroText h1 {
    font-size: 7vw;
  }
  #menu .worldInfo {
    display: none;
  }
  #menu .mainCTA {
    bottom: 34% !important;
    width: 52% !important;
  }
}
#menu .quickActions button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 2px solid #83dbff;
  border-bottom: 4px solid #12203f;
  background: linear-gradient(150deg,#376da2,#1a325d);
  border-radius: 15px;
  color: #edfaff;
  text-shadow: 0 2px #102541;
}
#menu .quickActions button:nth-child(2n) {
  border-color: #ffc975;
  background: linear-gradient(150deg,#875d90,#3e315d);
}
#menu #playBtn {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: center;
}
#menu {
  --ice: #65c9ff;
  --gold: #ffd354;
}
#menu .menuBackdrop {
  background-image: url('../home-assets/extracted/d93046d6d038abcf.webp');
  background-position: center;
  background-size: cover;
  filter: none;
  transform: none;
}
#menu .menuShade {
  background: linear-gradient(90deg,#06112c35,transparent 45%,#05112760),linear-gradient(0deg,#051020a8,transparent 35%);
}
#menu .menuHeader {
  top: max(2.5%,env(safe-area-inset-top));
  left: max(2.6%,env(safe-area-inset-left));
  right: max(2%,env(safe-area-inset-right));
  align-items: flex-start;
  z-index: 3;
}
#menu .portrait {
  width: clamp(42px,6vw,86px);
  height: clamp(42px,6vw,86px);
  font-size: clamp(25px,4vw,55px);
  border-radius: 12px;
  border-color: #ffdc7c;
  background: #07172b;
  box-shadow: 0 0 10px #ffad5055;
}
#menu .profileInfo {
  width: 15vw;
  min-width: 120px;
}
#menu .profileInfo b {
  font-size: clamp(12px,1.6vw,25px);
}
#menu .profileInfo small {
  font-size: clamp(9px,1vw,15px);
}
#menu .xpbar {
  height: clamp(6px,.8vw,12px);
  margin: 5px 0;
}
#menu .currencies {
  gap: .7vw;
}
#menu .currencies>span {
  display: flex;
  align-items: center;
  gap: .65vw;
  padding: .55vw .65vw;
  font-size: clamp(12px,1.45vw,24px);
  border: 1px solid #82c7f0;
  background: linear-gradient(#193c5a,#07152d);
  border-radius: 10px;
  box-shadow: inset 0 0 0 3px #071226;
}
#menu .currencies i {
  font-style: normal;
  color: #77e7ff;
  font-size: 1.6em;
}
#menu .currencies>span:first-child i {
  color: #d5dfec;
}
#menu .currencies button {
  width: clamp(28px,2.8vw,45px);
  height: clamp(30px,3vw,48px);
  min-height: 30px;
  font-size: clamp(20px,2.2vw,32px);
  color: #ffe38d;
  border-radius: 5px;
}
#menu .heroText {
  left: 3%;
  top: 14%;
  z-index: 2;
}
#menu .heroText h1 {
  font-size: clamp(28px,4.6vw,76px);
  letter-spacing: -.05em;
  line-height: .96;
  -webkit-text-stroke: 1px #6a2b18;
  transform: rotate(-3deg);
  filter: drop-shadow(2px 4px 0 #3b1713);
}
#menu .heroText h1 em {
  color: #5ad9ff;
  -webkit-text-stroke: 1px #144687;
  text-shadow: 0 3px #185784,0 6px #0c2d52;
}
.homeActors {
  position: absolute;
  left: 2%;
  top: 27%;
  width: 59%;
  height: 44%;
  pointer-events: none;
}
#menu .mainCTA {
  position: absolute !important;
  right: 2.2% !important;
  top: 13.5% !important;
  width: 36.5% !important;
  height: 65%;
  padding: 1.2vw;
  gap: 1.3vh;
  background: linear-gradient(130deg,#0a233eee,#08172af5);
  border: 2px solid #529cda;
  border-radius: 16px;
  box-shadow: inset 0 0 20px #1267a433,0 0 10px #37b8ff44;
  transform: none;
}
#menu .mainCTA h2 {
  text-align: center;
  margin: 0 0 .5vh;
  font-size: clamp(13px,1.8vw,29px);
  letter-spacing: .03em;
}
#menu #matchModes {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: .8vw;
  margin: 0;
  min-height: 0;
}
#menu #matchModes button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .5vh;
  min-width: 0;
  padding: 4px 2px;
  border: 2px solid #4d92c1;
  border-radius: 12px;
  color: #e0f6ff;
  background: radial-gradient(at top,#097dc7,#061d42 70%);
  font-size: clamp(10px,1.5vw,24px);
  box-shadow: inset 0 0 15px #1a74b833;
  transition: transform .15s,border-color .15s;
}
#menu #matchModes button:first-child {
  background: radial-gradient(at top,#78491b,#24140e 75%);
  color: #ffe391;
}
#menu #matchModes button:last-child {
  background: radial-gradient(at top,#66165e,#21122f 75%);
  color: #ffbfbd;
}
#menu #matchModes button span {
  font-size: clamp(30px,5.4vw,82px);
  line-height: 1;
  color: #92e8ff;
  text-shadow: 0 0 16px #00afff;
}
#menu #matchModes button:first-child span {
  color: #ffdd56;
  text-shadow: 0 0 14px #ff9527;
}
#menu #matchModes button:last-child span {
  color: #ff7551;
  text-shadow: 0 0 12px #ff4238;
}
#menu #matchModes small {
  font-size: .9em;
  font-weight: 900;
}
#menu #matchModes button.active {
  border-color: #ffdf72;
  box-shadow: 0 0 12px #ffb743,inset 0 0 12px #ffb74355;
  transform: translateY(-2px);
}
#menu #playBtn {
  min-height: 0;
  padding: 0;
  border: 2px solid #fff19b;
  border-radius: 12px;
  background: linear-gradient(#fff780,#ffc928 50%,#fa8b13);
  color: #231207;
  box-shadow: 0 5px 0 #853908,0 0 15px #ff9c3555;
  font-size: clamp(20px,3.2vw,51px);
  transform: none;
}
.dailyCard {
  display: flex;
  align-items: center;
  gap: 1vw;
  flex: none;
  height: 25%;
  min-height: 0;
  padding: .4vw .7vw;
  background: radial-gradient(at right,#175985,#06172f 75%);
  border: 1px solid #69bdec;
  border-radius: 12px;
}
.dailyCard>div:nth-child(2) {
  flex: 1;
}
#menu #dailyBtn {
  margin: 3px 0;
  padding: 4px 14px;
  font-size: clamp(10px,1.1vw,18px);
  font-weight: 950;
  color: #edffc3;
  border: 1px solid #8fd473;
  border-radius: 7px;
  background: linear-gradient(#246642,#12382a);
  min-height: 25px;
}
#menu #dailyBtn:disabled {
  opacity: .8;
  cursor: default;
}
#menu .worldInfo {
  position: absolute;
  left: 2.6%;
  width: 32%;
  display: flex;
  align-items: center;
  gap: 1vw;
  text-align: left;
  padding: .6vw 1vw;
  z-index: 3;
  background: linear-gradient(130deg,#0c304be8,#07152df5);
  border: 2px solid #71d2fb;
  border-radius: 13px;
  color: #c9edff;
  box-shadow: 0 0 13px #2bc1f333;
}
#menu .worldInfo>div {
  flex: 1;
  min-width: 0;
}
#menu .worldInfo b {
  font-size: clamp(12px,1.6vw,26px);
  color: #ffdf77;
}
#menu .worldInfo small {
  font-size: clamp(8px,1.05vw,17px);
  white-space: nowrap;
}
#menu .worldInfo .progress {
  height: clamp(6px,1vw,14px);
  margin-top: 5px;
}
#menu .homeNav {
  position: absolute !important;
  display: grid !important;
  left: 0;
  right: 0;
  bottom: 0;
  height: 17.5%;
  gap: 0 !important;
  padding: 0 max(3%,env(safe-area-inset-right)) 0 max(3%,env(safe-area-inset-left));
  background: linear-gradient(#0b2139f5,#040d1df5);
  border-top: 2px solid #5597ca;
  box-shadow: 0 -3px 18px #030c20;
}
#menu .homeNav button {
  flex-direction: column;
  gap: .5vh;
  padding: 4px;
  min-height: 44px;
  margin: 0;
  border: 0 !important;
  border-right: 1px solid #47779d55 !important;
  border-radius: 0;
  background: transparent !important;
  font-size: clamp(11px,1.35vw,22px);
  text-shadow: 0 2px #000;
  box-shadow: none !important;
}
#menu button:active {
  filter: brightness(1.25);
  transform: scale(.97);
}
#menu button:focus-visible {
  outline: 2px solid #ffde6c;
  outline-offset: 3px;
}
@media (prefers-reduced-motion:reduce) {
  .homeActors img {
    animation: none !important;
  }
  #menu * {
    transition: none !important;
  }
}
@media (max-aspect-ratio:3/2) {
  #menu .mainCTA {
    width: 40% !important;
  }
  #menu .heroText {
    width: 35%;
  }
  .homeActors {
    width: 55%;
    top: 31%;
  }
  #menu .worldInfo {
    width: 43%;
  }
}
#menu .heroText h1 img {
  display: block;
  width: 100%;
  height: auto;
}
#menu .heroText {
  width: 32%;
}
#menu .portrait img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 10px;
}
#menu .mainCTA {
  z-index: 3;
  display: flex !important;
  flex-direction: column !important;
  bottom: auto !important;
  grid-template-rows: none !important;
}
#menu .mainCTA h2 {
  flex: 0 0 8%;
  display: grid;
  place-items: center;
}
#menu #matchModes {
  flex: 1 1 0;
}
#menu #playBtn {
  flex: 0 0 21%;
  height: auto !important;
}
#menu .dailyCard {
  flex: 0 0 25%;
  height: auto;
}
#menu .homeNav {
  grid-template-rows: 1fr !important;
}
#menu .homeActors img {
  width: 51%;
  height: 110%;
}
#menu .worldInfo {
  height: 11%;
  bottom: 19.5%;
}
#worldTourBtn {
  align-items: center !important;
}
#worldTourBtn>div {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  gap: 2px !important;
  min-width: 0;
}
#worldTourBtn b {
  line-height: 1.05 !important;
}
#worldTourBtn small {
  line-height: 1 !important;
}
#worldTourBtn .progress {
  height: 6px !important;
  margin: 2px 0 0 !important;
}
.dailyCard>div {
  display: grid !important;
  grid-template-columns: auto 1fr;
  grid-template-areas: "t t" "g g" "b r";
  align-items: center;
  column-gap: 8px;
  row-gap: 2px;
  padding-block: 0 !important;
}
.dailyCard>div>b {
  grid-area: t;
  line-height: 1 !important;
}
.dailyCard>div>small:nth-of-type(1) {
  grid-area: g;
  line-height: 1 !important;
  margin: 0 !important;
}
.dailyCard>div>button {
  grid-area: b;
  min-height: 20px !important;
  height: 20px !important;
  padding-block: 0 !important;
  line-height: 20px !important;
}
.dailyCard>div>small:nth-of-type(2) {
  grid-area: r;
  line-height: 1 !important;
  margin: 0 !important;
}
html body #menu .currencies .curIc {
  width: 1.45em;
  height: 1.45em;
  flex: none;
  filter: drop-shadow(0 1px 2px #000a);
}
html body #menu #matchModes button {
  position: relative;
  justify-content: flex-end !important;
  gap: 0 !important;
  padding: 3px 2px clamp(6px,1.6vh,12px) !important;
  background: linear-gradient(170deg,#163e6b,#081a38) !important;
  border: 2px solid #3f8fd0 !important;
  border-radius: 12px;
  overflow: visible;
  transform: none !important;
}
html body #menu #matchModes .modeArt {
  flex: 1 1 0;
  min-height: 0;
  width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 3px 6px #000a);
  pointer-events: none;
}
html body #menu #matchModes button b {
  font-size: clamp(10px,3.3vh,22px);
  font-weight: 1000;
  line-height: 1.05;
  color: #eaf6ff;
  letter-spacing: .02em;
}
html body #menu #matchModes button:first-child b {
  color: #ffd54a;
}
html body #menu #matchModes button:last-child b {
  color: #ffb3a8;
}
html body #menu #matchModes small {
  font-size: clamp(9px,2.7vh,17px);
  line-height: 1;
  color: #fff;
}
html body #menu #matchModes button.active {
  border-color: #ffd65a !important;
  box-shadow: 0 0 14px #ffb743aa,inset 0 0 14px #ffb74340 !important;
}
html body #menu #matchModes button.active::after {
  content: "✓";
  position: absolute;
  left: 50%;
  bottom: -15px;
  transform: translateX(-50%);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #0d2346;
  border: 2px solid #ffd65a;
  color: #ffd65a;
  font-size: 11px;
  font-weight: 1000;
  display: grid;
  place-items: center;
  line-height: 1;
  z-index: 2;
}
html body #menu .dailyCard {
  display: grid !important;
  grid-template-columns: auto minmax(0,1fr);
  align-items: center;
  gap: clamp(4px,1vw,10px) !important;
  padding: clamp(3px,.8vh,8px) clamp(6px,1vw,12px) !important;
}
html body #menu .dailyCard .dailyArt {
  height: clamp(34px,14vh,92px);
  width: auto;
  max-width: clamp(48px,11vw,130px);
  object-fit: contain;
  filter: drop-shadow(0 3px 6px #000b);
}
html body #menu .dailyCard .dailyInfo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
  min-width: 0;
}
html body #menu .dailyCard .dailyInfo b {
  font-size: clamp(11px,3.4vh,22px);
  color: #cfeeff;
  line-height: 1.05;
  white-space: nowrap;
}
html body #menu .dailyCard .dailyInfo small {
  font-size: clamp(8px,2.4vh,15px);
  color: #d8e6f5;
  white-space: nowrap;
}
html body #menu #dailyBtn {
  margin: clamp(1px,.6vh,5px) 0 0;
  padding: 0 clamp(8px,1.4vw,16px);
  min-height: clamp(20px,6.2vh,36px);
  border-radius: 8px;
  border: 2px solid #9dffb5;
  background: linear-gradient(#45e27a,#169a4b);
  color: #fff;
  font-weight: 1000;
  font-size: clamp(10px,3vh,18px);
  box-shadow: 0 2px 0 #0b5a2a;
  opacity: 1;
}
html body #menu .dailyCard.claimed #dailyBtn {
  background: #0b3320;
  color: #7dffa0;
  border-color: #3fc46d;
  box-shadow: none;
}
html body #menu #dailyReset {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border: 1px solid #4b8fc4;
  border-radius: 8px;
  background: #071a35d9;
  color: #fff;
  white-space: nowrap;
}
html body #menu #dailyReset i {
  font-style: normal;
  font-size: clamp(12px,3.6vh,22px);
  color: #8fd8ff;
}
html body #menu #dailyReset small {
  display: block;
  font-size: clamp(7px,2vh,12px);
  color: #b6cde6;
  font-weight: 800;
  line-height: 1;
}
html body #menu #dailyReset b {
  display: block;
  font-size: clamp(10px,3.1vh,19px);
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}
html body #menu #dailyReset.ready b {
  color: #7dffa0;
}
html body #menu .homeNav .navArt {
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 3px 6px #000b);
  pointer-events: none;
}
html body #menu .dailyCard .dailyRow {
  display: flex;
  align-items: center;
  gap: clamp(4px,.8vw,10px);
  margin-top: clamp(1px,.6vh,5px);
}
html body #menu .dailyCard .dailyRow #dailyBtn {
  margin: 0;
}
html body #menu .mainCTA {
  display: grid !important;
  gap: clamp(5px,1.6vh,12px) !important;
  padding: clamp(5px,1.4vh,12px) clamp(6px,1vw,14px) clamp(5px,1.4vh,12px) !important;
}
html body #menu .mainCTA>h2 {
  margin: 0 !important;
  font-size: clamp(12px,4vh,26px) !important;
}
html body #menu .mainCTA #matchModes {
  min-height: 0;
  height: auto;
  margin: 0 0 6px !important;
}
html body #menu .mainCTA #playBtn {
  min-height: 0;
  height: auto;
  margin: 0 !important;
  padding: 0 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .4em;
  font-size: clamp(18px,7vh,46px) !important;
}
html body #menu .mainCTA .dailyCard {
  min-height: 0;
  height: auto !important;
  margin: 0 !important;
}
html body #menu .mainCTA #matchModes {
  align-items: stretch !important;
  align-content: stretch !important;
  grid-template-rows: minmax(0,1fr) !important;
}
html body #menu .mainCTA #matchModes button {
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
}
#menu .homeNav {
  grid-template-columns: repeat(3,1fr) !important;
}
#missionsBtn {
  position: relative;
}
#missionsBtn.hasBadge::after {
  content: attr(data-badge);
  position: absolute;
  top: 8%;
  right: 22%;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  background: #ff3d5a;
  color: #fff;
  font: 900 11px/18px system-ui,sans-serif;
  box-shadow: 0 0 0 2px #0b1a36;
}
html body #menu #matchModes,
html body #menu #playBtn,
html body #menu #worldTourBtn,
html body #menu .homeNav #mapsBtn {
  display: none !important;
}
html body #menu .homeNav {
  grid-template-columns: repeat(4,1fr) !important;
}
#homePlay {
  display: grid;
  gap: clamp(5px,1.4vh,10px);
}
#continueBtn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  border-radius: 16px;
  border: 2px solid #ffe7a0;
  background: linear-gradient(180deg,#ffd75a,#f39a1c);
  color: #3a1d00;
  box-shadow: 0 6px 0 #a55d06,0 10px 22px #0008;
  cursor: pointer;
}
#continueBtn b {
  font: 1000 clamp(19px,5.4vh,34px)/1 system-ui,sans-serif;
  letter-spacing: .02em;
}
#continueBtn small {
  font: 900 clamp(10px,2.5vh,14px)/1.2 system-ui,sans-serif;
  letter-spacing: .04em;
  opacity: .85;
}
#continueBtn:active {
  transform: translateY(3px);
  box-shadow: 0 3px 0 #a55d06,0 6px 14px #0008;
}
#homePlay .homeSub {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(5px,1.4vh,10px);
}
html body #menu .mainCTA {
  grid-template-rows: auto minmax(0,2fr) minmax(0,1fr) !important;
}
#homePlay {
  margin: 0;
  grid-template-rows: minmax(0,1.5fr) minmax(0,1fr);
  min-height: 0;
}
#continueBtn {
  min-height: 0 !important;
}
#homePlay .homeSub button {
  min-height: 0 !important;
}
html body #menu .homeNav #missionsBtn {
  position: relative;
}
html body #menu .homeNav #missionsBtn:after {
  display: none;
}
html body #menu .homeNav #missionsBtn.hasBadge:after {
  content: "✓ " attr(data-badge);
  display: grid;
  place-items: center;
  position: absolute;
  top: 6%;
  left: calc(50% + 10px);
  min-width: 22px;
  height: 20px;
  padding: 0 6px;
}
html body #menu .mainCTA h2 {
  font-size: clamp(13px,3.6vh,22px);
  letter-spacing: .04em;
}
html body #menu #continueBtn {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  min-height: 0;
}
html body #menu #continueBtn b {
  font-size: clamp(14px,4.2vh,27px);
  letter-spacing: .02em;
}
html body #menu #continueBtn small {
  font-size: clamp(9px,2.3vh,13px);
  letter-spacing: .08em;
}
html body #menu #quickDuelBtn {
  font-size: clamp(12px,3.4vh,20px);
  letter-spacing: .04em;
}
html body #menu .homeNav button {
  letter-spacing: .06em;
}
html:not(.lang-ar):not(.lang-hi) #menu #continueBtn b {
  font-size: clamp(15px,4.6vh,30px);
}
html body #menu .homeNav .navArt {
  height: clamp(30px,13vh,76px) !important;
  max-width: none !important;
}
html body #menu .homeNav button {
  gap: 0 !important;
  justify-content: center;
}
html body#rr-app.rr-ui #menu {
  font-family: var(--mc-text);
  color: var(--mc-paper);
  color-scheme: dark;
}
html body#rr-app.rr-ui #menu :is(button,input,select,textarea) {
  font-family: var(--mc-text) !important;
}
html body#rr-app.rr-ui #menu :is(h1,h2,h3,.journeyBrand,.advTitle,.vpHead,.resultsBrand) {
  font-family: var(--mc-display) !important;
  font-weight: 400;
  letter-spacing: .015em;
  text-shadow: 2px 3px 0 var(--mc-ink) !important;
}
html body#rr-app.rr-ui #menu button:where(:not(.journeyNode):not(.arenaCard):not(.vaultTile):not(.celebrationCard)) {
  border: var(--mc-line) solid var(--mc-ink) !important;
  border-radius: var(--mc-radius) !important;
  background: linear-gradient(160deg,#17446a,#0b263f) !important;
  color: var(--mc-paper) !important;
  box-shadow: 0 3px 0 var(--mc-ink),inset 0 0 0 1px #56c8ed70 !important;
  text-shadow: 0 1px 1px #000 !important;
  font-weight: 900;
  transition: filter .12s,box-shadow .12s;
}
html body#rr-app.rr-ui #menu button:enabled:hover {
  filter: brightness(1.12);
}
html body#rr-app.rr-ui #menu button:enabled:active {
  filter: brightness(.9);
  box-shadow: 0 1px 0 #000 !important;
}
html body#rr-app.rr-ui #menu :is(button,[tabindex]):focus-visible {
  outline: 3px solid var(--mc-paper) !important;
  outline-offset: 2px;
}
html body#rr-app.rr-ui #menu button:disabled,
html body#rr-app.rr-ui #menu [aria-disabled=true] {
  cursor: default;
  opacity: .55;
  filter: saturate(.3);
}
html body#rr-app.rr-ui #menu :is(.isEquipped,.equipped button):disabled {
  opacity: 1;
  filter: none;
}
html body#rr-app.rr-ui #menu :is(.selected,.chosen,.equipped,.on)[aria-pressed=true],
html body#rr-app.rr-ui #menu :is(.vaultTile.equipped,.boostCard.selected,.arenaCard.selected,.advCard.selected,.celebrationCard.equipped) {
  border-color: var(--mc-gold) !important;
  box-shadow: 0 0 0 2px #000,inset 0 0 0 1px var(--mc-gold),3px 4px 0 #000 !important;
}
html body#rr-app.rr-ui #menu :is(nav button[aria-selected=true],.shopSections button.active,.dsRow button.on,.schoolTabs .selected,#missionsTabs button.on,[data-lang].on) {
  background: var(--mc-gold) !important;
  color: var(--mc-ink) !important;
  text-shadow: none !important;
}
html body#rr-app.rr-ui #menu {
  background: #03070d !important;
}
html body#rr-app.rr-ui #menu .menuBackdrop {
  background: url('../comic-assets/loading/general.webp') center/cover !important;
  filter: none !important;
  transform: none !important;
}
html body#rr-app.rr-ui #menu .menuShade {
  background: linear-gradient(90deg,#0001,transparent 44%,#03070d55 65%,#03070ddd),linear-gradient(0deg,#03070daa,transparent 30%) !important;
}
html body#rr-app.rr-ui #menu .homeActors {
  display: none !important;
}
html body#rr-app.rr-ui #menu .menuHeader {
  z-index: 4;
  top: max(8px,env(safe-area-inset-top));
  left: max(12px,env(safe-area-inset-left));
  right: max(12px,env(safe-area-inset-right));
}
html body#rr-app.rr-ui #menu .profile {
  background: #050b17db;
  border: 2px solid #000;
  padding: 4px 8px 4px 4px;
  border-radius: 4px;
}
html body#rr-app.rr-ui #menu .portrait {
  border: 2px solid #0a0b10 !important;
  border-radius: 50% !important;
  width: clamp(34px,10vh,70px);
  height: clamp(34px,10vh,70px);
}
html body#rr-app.rr-ui #menu .profileInfo {
  min-width: 100px;
  width: 14vw;
}
html body#rr-app.rr-ui #menu .profileInfo b {
  font-size: clamp(11px,2.8vh,21px);
}
html body#rr-app.rr-ui #menu .currencies>span {
  border: 2px solid #000 !important;
  border-radius: 4px !important;
  background: #050c18ed !important;
  padding: 4px 6px;
  font-size: clamp(12px,3vh,22px);
}
html body#rr-app.rr-ui #menu .currencies button {
  width: clamp(28px,8vh,44px);
  height: clamp(28px,8vh,44px);
}
html body#rr-app.rr-ui #menu .heroText {
  z-index: 2;
  pointer-events: none;
}
html body#rr-app.rr-ui #menu .heroText h1 {
  margin: 0;
  line-height: .9;
  -webkit-text-stroke: 0;
}
html body#rr-app.rr-ui #menu .heroText h1 span {
  display: block;
  font: 400 clamp(35px,9vw,140px)/.86 var(--mc-display);
  letter-spacing: -.035em;
  color: var(--mc-paper);
  -webkit-text-stroke: clamp(1px,.2vw,3px) #000;
  paint-order: stroke fill;
  text-shadow: 2px 3px 0 #000;
}
html body#rr-app.rr-ui #menu .heroText h1 span+span {
  color: var(--mc-gold);
  font-size: clamp(32px,8vw,124px);
  margin-inline-start: 3%;
}
html body#rr-app.rr-ui #menu .mainCTA {
  top: 15% !important;
  right: 1.5% !important;
  width: 32% !important;
  height: 66% !important;
  padding: clamp(7px,1vw,16px) !important;
  display: grid !important;
  grid-template-rows: auto minmax(0,1.25fr) minmax(0,.62fr) minmax(0,1fr) !important;
  gap: clamp(6px,1.5vh,14px) !important;
  border: 3px solid #000 !important;
  border-radius: 5px !important;
  background: linear-gradient(#07111eea,#040912f5) !important;
  box-shadow: 4px 6px 0 #000 !important;
}
html body#rr-app.rr-ui #menu .mainCTA h2 {
  grid-row: 1;
  font: 400 clamp(14px,3.7vh,28px)/1 var(--mc-display) !important;
  color: var(--mc-cyan);
  margin: 0 !important;
}
html body#rr-app.rr-ui #menu #homePlay {
  display: contents !important;
}
html body#rr-app.rr-ui #menu #continueBtn {
  grid-row: 2;
  gap: 4px;
  padding: 6px !important;
  min-height: 0 !important;
  margin: 0 !important;
}
html body#rr-app.rr-ui #menu #continueTitle {
  font: 400 clamp(17px,4.7vh,38px)/1 var(--mc-display) !important;
  white-space: normal;
}
html body#rr-app.rr-ui #menu #continueSub {
  font: 900 clamp(8px,2.2vh,15px)/1.2 var(--mc-text) !important;
  letter-spacing: 0 !important;
  color: #21190b !important;
}
html body#rr-app.rr-ui #menu .homeSub {
  grid-row: 3;
  display: flex !important;
  min-height: 0;
  gap: 0;
}
html body#rr-app.rr-ui #menu #quickDuelBtn {
  width: 100%;
  min-height: 0 !important;
  font: 400 clamp(16px,4.1vh,30px)/1 var(--mc-display) !important;
}
html body#rr-app.rr-ui #menu .dailyCard {
  grid-row: 4;
  height: auto !important;
  min-height: 0 !important;
  padding: 5px !important;
  margin: 0 !important;
  border: 2px solid #000 !important;
  border-radius: 4px !important;
  background: linear-gradient(140deg,#152d43,#060f1d) !important;
  box-shadow: inset 0 0 0 1px #3c6685 !important;
}
html body#rr-app.rr-ui #menu .dailyInfo {
  min-width: 0;
}
html body#rr-app.rr-ui #menu .dailyInfo>b {
  font: 400 clamp(13px,3.2vh,24px)/1 var(--mc-display) !important;
}
html body#rr-app.rr-ui #menu .dailyInfo>small {
  font-size: clamp(8px,2vh,13px) !important;
}
html body#rr-app.rr-ui #menu .dailyRow {
  gap: 4px;
  flex-wrap: wrap;
}
html body#rr-app.rr-ui #menu #dailyBtn {
  font-size: clamp(10px,2.5vh,16px) !important;
  padding: 2px 8px !important;
  margin: 0 !important;
}
html body#rr-app.rr-ui #menu #dailyBtn:disabled {
  background: #155632 !important;
  color: #c6ffd8 !important;
  border: 2px solid #071b13 !important;
  opacity: 1;
  filter: none;
}
html body#rr-app.rr-ui #menu .dailyReset {
  font-size: 9px;
  border: 0 !important;
  background: none !important;
  padding: 0 !important;
  box-shadow: none !important;
}
html body#rr-app.rr-ui #menu .dailyReset i {
  display: none;
}
html body#rr-app.rr-ui #menu .homeNav {
  height: 16% !important;
  padding: 3px max(10px,env(safe-area-inset-right)) 5px max(10px,env(safe-area-inset-left)) !important;
  gap: 7px !important;
  border-top: 4px solid #000 !important;
  background: #02050a !important;
  z-index: 5;
}
html body#rr-app.rr-ui #menu .homeNav button {
  display: flex !important;
  flex-direction: row !important;
  justify-content: center;
  align-items: center;
  gap: 7px !important;
  border: 2px solid #193c55 !important;
  border-radius: 4px !important;
  box-shadow: 3px 3px 0 #000 !important;
  background: linear-gradient(135deg,#142c40,#07101a) !important;
  font: 400 clamp(12px,3.5vh,28px)/1 var(--mc-display) !important;
}
html body#rr-app.rr-ui #menu .homeNav .navArt {
  height: clamp(28px,10vh,68px) !important;
  width: auto;
  max-width: 30%;
  object-fit: contain;
  filter: drop-shadow(2px 2px 0 #000);
}
html body#rr-app.rr-ui #menu .homeNav #missionsBtn::after {
  display: none !important;
}
html body#rr-app.rr-ui #menu .currencies button,
html body#rr-app.rr-ui #menu #homeSettings {
  min-width: 44px !important;
  min-height: 44px !important;
  padding: 0 !important;
  display: inline-grid !important;
  place-items: center;
  line-height: 1 !important;
}
html body#rr-app.rr-ui #menu #dailyBtn {
  min-height: 44px !important;
}
html body#rr-app.rr-ui #menu .dailyInfo>small {
  white-space: normal !important;
  overflow-wrap: anywhere;
  max-width: 100%;
}
html body#rr-app.rr-ui #menu #continueBtn,
html body#rr-app.rr-ui #menu #dailyBtn:not(:disabled) {
  background: linear-gradient(155deg,#ffe78b,#ffc340 70%,#ee9c28) !important;
  color: #191208 !important;
  text-shadow: none !important;
  font-family: var(--mc-display) !important;
}
html body#rr-app.rr-ui #menu .dailyCard {
  display: grid !important;
  grid-template-columns: minmax(56px,25%) minmax(0,1fr);
  align-items: center;
}
html body#rr-app.rr-ui #menu .dailyCard .dailyArt {
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: 100% !important;
  min-height: 0;
  object-fit: contain;
}
html body#rr-app.rr-ui #menu .dailyInfo {
  flex: 1 !important;
}
html body#rr-app.rr-ui #menu .heroText h1 span {
  font-family: 'Madball Display',Impact,sans-serif !important;
}
html.lang-ar body#rr-app.rr-ui #menu * {
  font-family: 'Madball Arabic',system-ui,sans-serif !important;
  letter-spacing: normal !important;
  -webkit-text-stroke: 0 !important;
}
html.lang-hi body#rr-app.rr-ui #menu * {
  font-family: 'Madball Devanagari',system-ui,sans-serif !important;
  letter-spacing: normal !important;
  -webkit-text-stroke: 0 !important;
}
html:is(.lang-ar,.lang-hi) body#rr-app.rr-ui #menu .heroText h1 span {
  font-family: 'Madball Display',Impact,sans-serif !important;
}
@media (max-height:440px) {
  html body#rr-app.rr-ui #menu .mainCTA {
    top: 16% !important;
    height: 66% !important;
    gap: 5px !important;
    padding: 6px !important;
    grid-template-rows: auto minmax(0,1fr) minmax(44px,.6fr) minmax(96px,1fr) !important;
  }
  html body#rr-app.rr-ui #menu #dailyBtn {
    min-height: 44px !important;
  }
  html body#rr-app.rr-ui #menu .dailyInfo>b {
    font-size: 11px !important;
  }
  html body#rr-app.rr-ui #menu .dailyInfo>small {
    font-size: 8px !important;
    line-height: 1.1 !important;
  }
  html body#rr-app.rr-ui #menu .heroText {
    top: 22% !important;
  }
  html body#rr-app.rr-ui #menu .dailyReset {
    display: none !important;
  }
  html body#rr-app.rr-ui #menu .bv16Vbadge {
    display: none;
  }
  html body#rr-app.rr-ui #menu .homeNav {
    gap: 4px !important;
  }
}
@media (prefers-reduced-motion:reduce) {
  html body#rr-app.rr-ui #menu * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
html body#rr-app.rr-ui #menu .heroText {
  top: 25% !important;
  width: 53% !important;
  left: 2% !important;
}
html body#rr-app.rr-ui #menu .heroText h1 {
  filter: none !important;
  transform: none !important;
}
html body#rr-app.rr-ui #menu .rr-wordmark {
  display: block;
  width: 100%;
  height: auto;
  max-height: 24vh;
  object-fit: contain;
  object-position: left center;
}
html body#rr-app.rr-ui #menu .homeNav #mapsBtn {
  display: none !important;
}
html body#rr-app.rr-ui #menu .homeNav {
  grid-template-columns: repeat(4,minmax(0,1fr)) !important;
}
html body#rr-app.rr-ui #menu #continueBtn,
html body#rr-app.rr-ui #menu #quickDuelBtn {
  border-radius: 12px !important;
}
html body .dailyCard .bv16Vbadge {
  animation: rrChip 1.6s ease-in-out infinite;
  box-shadow: 0 0 0 2px #ffe27a,0 0 14px #ff4fd8aa !important;
  background: linear-gradient(135deg,#ff4fd8,#6a2bd8) !important;
  border-radius: 999px !important;
}
html body .dailyCard .bv16Vbadge.full {
  animation: none;
  background: #1f9a58 !important;
}
html body#rr-app #menu .homeNav #missionsBtn {
  position: relative;
  overflow: visible !important;
}
html body#rr-app #menu .homeNav #missionsBtn .rrBadge {
  top: 4px;
  inset-inline-end: 8px;
  min-width: 28px;
  height: 28px;
  font-size: 16px;
}
html body#rr-app #menu .homeNav #missionsBtn.rrReady {
  box-shadow: 0 0 0 2px #ffc93a,0 0 18px #ffc93acc !important;
  animation: rrReadyGlow 1.4s ease-in-out infinite;
}
html body#rr-app #menu .homeNav #missionsBtn.rrReady .navArt {
  animation: rrWiggle 1.8s ease-in-out infinite;
}
#rrInbox {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  padding: 0;
  border: 2px solid #ffcf4c;
  background: #1b1036;
  display: grid;
  place-items: center;
  cursor: pointer;
  flex: none;
}
#menu #rrInbox img {
  width: 34px !important;
  height: 34px !important;
  max-width: none !important;
  object-fit: contain;
  transform: scale(1.15);
}
#rrInbox em {
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 9px;
  background: #ff3b5c;
  color: #fff;
  font: 900 11px/18px system-ui;
  font-style: normal;
  text-align: center;
  box-shadow: 0 0 0 2px #1b1036;
}
#rrInbox em[hidden] {
  display: none;
}
#rrInbox.has img {
  animation: ibWob 2.4s ease-in-out infinite;
}
#rrInboxPanel {
  position: fixed;
  inset: 0;
  z-index: 99940;
  background: #05031299;
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  padding: calc(env(safe-area-inset-top) + 56px) 16px 16px;
}
#rrInboxPanel .ibBox {
  width: min(420px,100%);
  max-height: calc(100vh - 90px);
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  background: linear-gradient(180deg,#24124a,#120a28);
  border: 2px solid #ffcf4c;
  color: #fff;
  overflow: hidden;
}
#rrInboxPanel header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-bottom: 1px solid #ffcf4c55;
}
#rrInboxPanel header img {
  width: 30px;
  height: 30px;
}
#rrInboxPanel header b {
  flex: 1;
  font-size: 15px;
  color: #ffcf4c;
}
#rrInboxPanel .ibX {
  background: none;
  border: 0;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  padding: 4px 8px;
}
#rrInboxPanel .ibList {
  overflow: auto;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
#rrInboxPanel article {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 12px;
  background: #ffffff0d;
  border: 1px solid #ffffff1a;
}
#rrInboxPanel article.new {
  border-color: #ff5fd2;
  background: #ff5fd214;
}
#rrInboxPanel article div {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
#rrInboxPanel article b {
  font-size: 13px;
}
#rrInboxPanel article span {
  font-size: 12px;
  color: #e3d8ff;
}
#rrInboxPanel article small {
  font-size: 10px;
  color: #a99cc9;
}
#rrInboxPanel article button {
  flex: none;
  border-radius: 10px;
  border: 0;
  background: #ffcf4c;
  color: #2a1450;
  font-weight: 900;
  padding: 6px 10px;
  cursor: pointer;
}
#rrInboxPanel .ibEmpty {
  text-align: center;
  color: #c9bde8;
  padding: 18px;
}
html body#rr-app #rrInboxPanel .ibBox header {
  border-bottom: 2px solid #ffc93a55;
}
html body#rr-app #rrInboxPanel .ibList article small {
  color: #b9a8e8;
}
html body#rr-app #rrInbox {
  border-color: #ffc93a !important;
  background: #22095e !important;
}

/* bv53: MAP 06 UNLOCKED button on the home screen (shown until the first Nexus match) */
#menu #rrNexusHome {
  display: grid;
  gap: 2px;
  width: 100%;
  margin-top: 6px;
  min-height: 44px;
  padding: 5px 12px;
  border-radius: 12px;
  border: 2px solid #fff1ad;
  background: linear-gradient(110deg,#5a2fa8,#a23cc9 45%,#ffb627);
  color: #fff;
  text-align: center;
  box-shadow: 0 0 18px #ffb42799, 0 4px 0 #3a1a5e;
  animation: rrNexusPulse 1.6s ease-in-out infinite;
}
#menu #rrNexusHome b { font: 900 clamp(12px,2.6vh,16px)/1.1 var(--mc-display, system-ui), sans-serif; letter-spacing: .04em; }
#menu #rrNexusHome small { font: 800 clamp(9px,2vh,11px)/1.1 system-ui, sans-serif; color: #ffe9b0; }

/* bv55 (playtest): one big PLAY, difficulty under it, late-revealed nav items */
html body#rr-app.rr-ui #menu #continueBtn {
  min-height: clamp(44px, 11vh, 66px) !important;
  box-shadow: 0 0 26px #ffb42788, 0 5px 0 #3a1a5e !important;
  animation: rrPlayPulse 1.8s ease-in-out infinite;
}
html body#rr-app.rr-ui #menu #continueBtn b { font-size: clamp(16px, 4.2vh, 26px) !important; letter-spacing: .06em; }
@keyframes rrPlayPulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.025); } }
html body#rr-app.rr-ui #menu #rrDiffHome {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  margin-top: 4px;
}
html body#rr-app.rr-ui #menu #rrDiffHome button {
  min-height: clamp(22px, 5.5vh, 32px);
  padding: 0 4px;
  border-radius: 9px;
  border: 1.5px solid #6a56b8;
  background: #221648dd;
  color: #cfc3f7;
  font: 900 clamp(9px, 2.2vh, 12px)/1 system-ui, sans-serif;
  letter-spacing: .03em;
}
html body#rr-app.rr-ui #menu #rrDiffHome button[aria-pressed="true"] { background: linear-gradient(180deg,#ffe27a,#ffb627); color: #2a1a00; border-color: #fff1ad; }
html body#rr-app.rr-ui #menu .homeNav button.rrLocked { opacity: .38; filter: grayscale(.6); pointer-events: none; }
html body#rr-app.rr-ui #menu .homeNav button.rrLocked::after { content: '🔒'; margin-inline-start: 4px; font-size: .8em; }
html body#rr-app.rr-ui #menu .mainCTA h2 { display: none; }
@media (max-height: 350px) { html body#rr-app.rr-ui #menu #continueBtn { min-height: 36px !important; } html body#rr-app.rr-ui #menu #rrDiffHome button { min-height: 20px; } }
