/* RUINROLL · 40-results.css — Results / end of match, share card.
   Generated from the consolidated stylesheet stack; rule order inside this file is cascade order. */
#resultComedy {
  white-space: normal !important;
  overflow-wrap: break-word;
  max-width: 100%;
}
#resultPanel.hidden #bv22Share {
  display: none;
}
#mbShareModal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  background: #000d;
  padding: 10px;
  animation: laIn .25s ease-out;
}
#mbShareModal .mbsBox {
  display: flex;
  align-items: center;
  gap: 14px;
  max-height: 100%;
}
#mbShareModal img {
  max-height: calc(100vh - 24px);
  max-width: 62vw;
  border-radius: 14px;
  border: 3px solid #000;
  box-shadow: 0 0 0 2px #ffde59,0 18px 50px #000;
  animation: mbsPop .45s cubic-bezier(.2,1.4,.4,1);
}
#mbShareModal .mbsBtns {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
#mbShareModal .mbsBtns>* {
  padding: 12px 18px;
  border-radius: 14px;
  border: 2px solid #000;
  font: 900 15px/1 system-ui,sans-serif;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
}
#mbShareModal .mbsGo {
  background: linear-gradient(#ffe27a,#ffb627);
  color: #3a2200;
  box-shadow: 0 4px 0 #000;
}
#mbShareModal .mbsSave {
  background: #1d2450;
  color: #fff;
}
#mbShareModal .mbsX {
  background: #000;
  color: #fff;
  border-color: #fff4;
}
@media (orientation:portrait) {
  #mbShareModal .mbsBox {
    flex-direction: column;
  }
  #mbShareModal img {
    max-width: 92vw;
    max-height: 72vh;
  }
  #mbShareModal .mbsBtns {
    flex-direction: row;
  }
}
#resultPanel.live-results>#resultStory.on:not(#liveResultsMount):not(#demoVideoModal) {
  display: block !important;
}
#resultStory {
  position: absolute;
  z-index: 6;
  left: 3.5%;
  top: 15%;
  width: min(30%,300px);
  font-size: clamp(12px,2.9vh,16px);
  padding: 10px 14px 12px;
}
#resultStory:after {
  content: "";
  position: absolute;
  bottom: -16px;
  left: 40%;
  border: 8px solid transparent;
  border-top: 10px solid #0b1430;
}
html.i18nRtl #resultStory {
  left: auto;
  right: 3.5%;
}
html body #resultStory {
  left: 3% !important;
  right: auto !important;
  width: min(26%,250px) !important;
  font-size: clamp(10px,2.6vh,13px) !important;
  padding: 7px 10px 8px !important;
  border-radius: 16px 16px 16px 4px !important;
  background: #fffdf3f2 !important;
  box-shadow: 0 6px 18px #0007 !important;
  cursor: pointer;
  transform-origin: 20% 100%;
  animation: bvBubIn .45s cubic-bezier(.2,1.5,.4,1) both;
  transition: opacity .5s,transform .5s;
}
html body #resultStory b {
  font-size: clamp(8px,2vh,10px) !important;
  margin-bottom: 2px !important;
}
html body #resultStory:after {
  left: 18px !important;
  bottom: -14px !important;
}
html body #resultStory.bye {
  opacity: 0;
  transform: scale(.85) translateY(-6px);
  pointer-events: none;
}
html.i18nRtl body #resultStory {
  direction: rtl;
  text-align: right;
}
@media (prefers-reduced-motion:reduce) {
  html body #resultStory {
    animation: none;
  }
}
.results h2 {
  margin: 3px 0;
  color: #ffdc69;
  font-size: clamp(25px,6vw,65px);
  text-shadow: 0 3px #a14f25;
}
.resultsScores {
  display: flex;
  gap: 15px;
  justify-content: center;
  align-items: center;
  font-size: clamp(11px,2vw,20px);
  font-weight: 900;
}
.resultsScores>div {
  min-width: 28%;
  padding: 10px;
  background: #182e53;
  border-radius: 13px;
  border: 1px solid #89aee5;
}
.resultsScores strong {
  display: block;
  color: #ffcb5f;
  font-size: clamp(21px,4vw,42px);
}
.resultsScores>div:last-child strong {
  color: #66dfff;
}
.results p {
  margin: 5px 0;
}
.resultBtns {
  display: flex;
  justify-content: center;
  gap: 9px;
  margin: 10px 0;
}
#resultPanel[data-celebration="snow"] {
  background: radial-gradient(ellipse,#246b94ec,#0d2142f5);
}
#resultPanel[data-celebration="rainbow"] {
  background: radial-gradient(ellipse,#543b83ec,#111b45f4);
}
#resultComedy {
  font-size: clamp(9px,1.7vw,16px);
}
#resultPanel[data-celebration="snow"] .partyPiece {
  border-radius: 50%;
  background: #f1fbff;
}
#resultPanel[data-celebration="fireworks"] .partyPiece {
  box-shadow: 0 0 14px currentColor;
  background: #ffe786;
}
#resultPanel .endStats {
  font-size: clamp(8px,1vw,11px);
  opacity: .8;
}
#resultPanel #resultGems {
  display: none;
}
#resultPanel .rewards span:has(#resultGems) {
  display: none;
}
#resultPanel #bonusBtn {
  border: 3px solid #fff1ad !important;
  background: linear-gradient(115deg,#b55d15,#ff9a2a,#db5a14) !important;
  color: white !important;
  font-weight: 1000 !important;
  box-shadow: 0 0 26px #ffba4288,0 5px #793718 !important;
}
#resultPanel #bonusBtn:disabled {
  animation: none;
  opacity: .58;
  filter: saturate(.4);
}
@media (max-height:470px) {
  #resultPanel #bonusBtn {
    min-height: 31px !important;
  }
}
@media (max-height:510px) and (orientation:landscape) {
  #resultPanel {
    overflow-y: auto !important;
  }
  #resultPanel h2 {
    font-size: clamp(23px,4vw,35px) !important;
    line-height: 1.05 !important;
    margin: 1px 0 !important;
  }
  #resultPanel .resultsScores {
    gap: 5px !important;
    font-size: 11px !important;
  }
  #resultPanel .resultsScores>div {
    padding: 3px 8px !important;
    min-width: 90px !important;
  }
  #resultPanel .resultsScores strong {
    font-size: 20px !important;
  }
  #resultPanel #stars {
    font-size: 15px !important;
    line-height: 1.2 !important;
  }
  #resultPanel #resultDesc {
    font-size: 10px !important;
    margin: 1px !important;
  }
  #resultPanel .endStats {
    font-size: 9px !important;
    gap: 3px !important;
    margin: 1px !important;
  }
  #resultPanel #bonusBtn {
    min-height: 34px !important;
    padding: 4px 9px !important;
    margin: 3px auto 4px !important;
    font-size: 13px !important;
  }
}
#resultPanel #bonusBtn {
  position: relative !important;
  inset: auto !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: min(295px,70vw) !important;
  height: 50px !important;
  min-height: 50px !important;
  padding: 8px 10px 8px 54px !important;
  margin: 3px auto 6px !important;
  font-size: clamp(10px,1.24vw,14px) !important;
  text-align: center !important;
  border-radius: 13px !important;
  z-index: 1 !important;
  animation: rewardPulseV19 2.3s ease-in-out infinite !important;
}
#resultPanel #bonusBtn:before {
  left: 9px !important;
  top: 7px !important;
  height: 32px !important;
  width: 40px !important;
}
#resultPanel .resultBtns {
  position: relative;
  z-index: 2;
  flex-wrap: wrap;
}
@media (max-height:460px) {
  #resultPanel #bonusBtn {
    height: 38px !important;
    min-height: 38px !important;
    width: min(265px,62vw) !important;
    font-size: 10px !important;
    padding: 5px 6px 5px 44px !important;
    margin: 2px auto !important;
  }
  #resultPanel #bonusBtn:before {
    width: 30px !important;
    height: 25px !important;
    top: 5px !important;
    left: 8px !important;
  }
}
#weatherStamp {
  position: absolute;
  z-index: 10;
  bottom: 4px;
  left: 51%;
  transform: translateX(-50%);
  padding: 3px 9px;
  color: #e8fcff;
  border-radius: 9px;
  background: #142c4bc9;
  border: 1px solid #9ee2ff66;
  font-weight: 900;
  letter-spacing: .4px;
  font-size: clamp(9px,.9vw,12px);
  pointer-events: none;
}
#weatherStamp.hidden {
  display: none !important;
}
#resultPanel {
  position: fixed;
  inset: 0;
  z-index: 70;
  padding: max(12px,env(safe-area-inset-top)) max(18px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom)) max(18px,env(safe-area-inset-left));
  overflow: auto;
  background: linear-gradient(100deg,#06142b88,#06142be8),var(--result-arena) center/cover no-repeat;
  color: white;
}
.resultsCast {
  position: relative;
  height: 80dvh;
  min-height: 300px;
  isolation: isolate;
}
.resultsBrand {
  position: absolute;
  top: 0;
  left: 2%;
  font-size: clamp(20px,3vw,38px);
  font-weight: 1000;
  font-style: italic;
  text-shadow: 0 3px 3px #000;
  color: #ffe49b;
}
.resultsBrand span {
  color: #68dfff;
}
.playerPodium {
  left: 0;
  bottom: 4%;
  width: 78%;
  z-index: 2;
}
#resultPanel.didWin .playerPodium .podiumBase {
  border-color: #ffdf72;
  box-shadow: 0 -8px 25px #ffc44499,inset 0 9px #ffe29b55,0 12px #241c18;
}
#resultPanel.didWin .playerPodium>b {
  color: #ffe68e;
}
#resultPanel.didLose .rivalPodium>b {
  color: #ffacac;
  border-color: #ef6565;
}
.resultsBoard {
  padding: 18px;
  border: 2px solid #47c9fc;
  background: linear-gradient(135deg,#122b49f5,#07162bf5);
  border-radius: 12px;
  box-shadow: inset 0 0 0 4px #1b3a56,0 0 18px #26a9ee44;
  text-align: center;
  min-width: 0;
}
.resultsBoard #resultTitle {
  margin: 2px 0;
  font-size: clamp(32px,5.8vw,80px);
  font-weight: 1000;
  font-style: italic;
  line-height: 1.1;
  color: #dce9f6;
  text-shadow: 0 3px #152439,0 0 16px #91a5ff66;
}
.resultsBoard #resultComedy {
  margin: 2px 0 10px;
  font-size: 12px;
  color: #e0e8fa;
  letter-spacing: .08em;
}
.resultsBoard .resultsScores>div {
  background: linear-gradient(#153e64,#0a213c);
  border: 1px solid #65bdff;
  border-radius: 8px;
  padding: 8px;
  min-width: 0;
}
.resultsBoard .resultsScores small {
  font-size: 12px;
  letter-spacing: .12em;
}
.resultsBoard .resultsScores strong {
  display: block;
  font-size: clamp(22px,3.2vw,45px);
  line-height: 1.1;
  overflow-wrap: anywhere;
  color: #ffe076;
  font-variant-numeric: tabular-nums;
}
.resultsBoard .resultsScores>div:last-child strong {
  color: #6fe6ff;
}
.resultsBoard #stars {
  font-size: clamp(22px,3vw,35px);
  color: #ffd765;
  letter-spacing: .18em;
  line-height: 1.1;
  margin: 5px;
}
.resultsBoard #resultDesc {
  font-size: 12px;
  margin: 7px 0;
  color: #cce0f5;
}
.resultsBoard #resultsJourney {
  color: #ffe095;
  font-size: 12px;
  text-align: left;
  margin: 8px 0;
}
.resultsBoard progress {
  display: block;
  width: 100%;
  height: 12px;
  margin-top: 5px;
  accent-color: #ffce54;
}
.resultsBoard #coachResult {
  display: flex;
  gap: 10px;
  align-items: center;
  text-align: left;
  border: 1px solid #5cd4ff;
  padding: 9px;
  border-radius: 8px;
  margin: 8px 0;
}
.resultsBoard #coachResult>div {
  flex: 1;
  min-width: 0;
}
.resultsBoard #coachText {
  font-size: 11px;
  margin: 4px 0;
  color: #cce0f5;
}
.resultsBoard #coachResult b {
  font-size: 11px;
}
.resultsBoard button:active {
  transform: scale(.97);
}
.resultsBoard .rewards>span {
  display: grid;
  grid-template-columns: auto auto;
  gap: 2px 8px;
  padding: 7px 16px;
  border: 1px solid #3f719a;
  border-radius: 8px;
  color: #c6d1df;
  font-size: 20px;
  background: #102b49;
}
.resultsBoard .rewards b {
  font-size: clamp(16px,2.3vw,30px);
  color: white;
}
.resultsBoard .rewards small {
  grid-column: 2;
  font-size: 9px;
  letter-spacing: .13em;
}
.resultsBoard .endStats span {
  border: 1px solid #345c83;
  border-radius: 6px;
  padding: 7px 3px;
  color: #9bc8e9;
  min-width: 0;
}
.resultsBoard .endStats b {
  display: block;
  color: #fff;
  font-size: 14px;
  overflow-wrap: anywhere;
}
.resultsBoard #levelUpText,
.resultsBoard #legendWinNote {
  font-size: 10px;
  color: #ffe494;
  margin: 5px;
}
.resultsBoard #resultsNextReason {
  font-size: 9px;
  color: #a7c7df;
  display: block;
  min-height: 12px;
}
.resultsBoard #bonusBtn {
  display: block;
  width: 100%;
  padding: 8px;
  background: #10243f;
  border-color: #50799a;
  color: #bcd3e8;
  font-size: 11px;
  margin-top: 9px;
}
.resultsBoard #resultsBonusNote {
  display: block;
  color: #8fb0cb;
  font-size: 9px;
  margin-top: 4px;
}
#resultPanel #confettiLayer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  opacity: .55;
}
#resultPanel.didLose #confettiLayer {
  display: none;
}
#resultPanel .demoVideoBox {
  max-width: 360px;
  padding: 25px;
  background: #0e2846;
  border: 2px solid #5bd8ff;
  border-radius: 12px;
  text-align: center;
}
#resultPanel #demoVideoModal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  background: #020919dd;
}
#resultPanel #demoVideoModal.hidden {
  display: none;
}
@media (max-height:520px) {
  .resultsBoard {
    padding: 10px;
  }
  .resultsCast {
    height: 86dvh;
    min-height: 240px;
  }
  .resultsBoard #resultTitle {
    font-size: 36px;
  }
  .resultsBoard #resultComedy {
    margin: 0 0 4px;
    font-size: 9px;
  }
  .resultsBoard .resultsScores>div {
    padding: 4px;
  }
  .resultsBoard .resultsScores strong {
    font-size: 26px;
  }
  .resultsBoard #stars {
    font-size: 22px;
    margin: 2px;
  }
  .resultsBoard #resultDesc {
    font-size: 10px;
    margin: 4px 0;
  }
  .resultsBoard .rewards>span {
    padding: 4px 10px;
  }
  .resultsBoard .rewards b {
    font-size: 20px;
  }
  .resultsBoard .endStats span {
    padding: 4px 2px;
  }
  .resultsBoard #coachResult {
    padding: 5px;
    margin: 4px 0;
  }
  .resultsBoard #bonusBtn {
    margin-top: 3px;
    padding: 5px;
  }
  .resultsBoard #resultsJourney {
    margin: 4px 0;
  }
}
@media (prefers-reduced-motion:reduce) {
  #resultPanel * {
    animation: none !important;
    transition: none !important;
  }
}
#resultPanel .matchResults {
  width: 100%;
}
#resultPanel .resultsBoard {
  width: 100%;
}
#resultPanel .playerPodium>b,
#resultPanel .rivalPodium>b {
  overflow-wrap: anywhere;
  line-height: 1.2;
}
#resultPanel .resultsBoard #bonusBtn {
  position: static !important;
  inset: auto !important;
  display: block !important;
  width: 100% !important;
  height: auto !important;
  margin: 9px 0 0 !important;
  border: 1px solid #50799a !important;
  border-radius: 7px !important;
  color: #bcd3e8 !important;
  box-shadow: none !important;
  animation: none !important;
}
#resultPanel #bonusBtn:before {
  content: none !important;
  display: none !important;
}
#resultPanel .resultBtns button {
  box-shadow: none;
}
#resultPanel .resultsScores>div {
  min-width: 0 !important;
}
#resultPanel .resultsBoard .rewards>span {
  font-variant-numeric: tabular-nums;
}
@media (max-height:520px) {
  #resultPanel .resultsBoard #bonusBtn {
    margin-top: 4px !important;
    min-height: 24px !important;
    padding: 4px !important;
  }
}
#resultPanel .matchResults {
  height: calc(100dvh - 28px);
  min-height: 0;
  grid-template-columns: 38% 62%;
  gap: 0;
}
#resultPanel .resultsCast {
  height: 100%;
  min-height: 0;
  margin-right: 18px;
}
#resultPanel .resultsBrand small {
  margin-top: 9px;
}
#resultPanel .playerPodium {
  width: 88%;
  bottom: 4%;
  left: 0;
}
#resultPanel .rivalPodium {
  width: 50%;
  bottom: 49%;
  right: 0;
}
#resultPanel .playerPodium img {
  height: clamp(105px,35dvh,360px);
  margin-bottom: -8%;
  filter: drop-shadow(0 12px 6px #0008) drop-shadow(0 0 12px #45caff55);
}
#resultPanel .rivalPodium img {
  height: clamp(70px,20dvh,200px);
  margin-bottom: -8%;
  filter: drop-shadow(0 8px 5px #0007);
}
#resultPanel .podiumBase {
  height: auto;
  aspect-ratio: 440/170;
  background: url('../results-assets/podium.svg') center/contain no-repeat;
  border: 0;
  border-radius: 0;
  box-shadow: none !important;
}
#resultPanel .playerPodium>b,
#resultPanel .rivalPodium>b {
  margin-top: -5%;
  background: linear-gradient(#1e405e,#0b1e34);
  border: 2px solid #6ed7ff;
  border-radius: 5px;
  box-shadow: 0 3px #071422,0 0 0 3px #17334a;
  font-size: clamp(9px,1.35vw,19px);
  padding: 7px 10px;
  max-width: 91%;
}
#resultPanel.didWin .playerPodium>b {
  background: linear-gradient(#5a4521,#241f19);
  border-color: #ffde77;
}
#resultPanel .resultsBoard {
  max-height: 100%;
  overflow-y: auto;
  border-radius: 9px;
  border: 2px solid #68d9ff;
  background: linear-gradient(135deg,#193551f5,#08172df9 60%);
  box-shadow: 0 0 0 4px #15364d,inset 0 0 0 3px #24465f,0 0 22px #12aaff33;
  padding: 14px;
  scrollbar-width: thin;
  scrollbar-color: #528cac #0a1c31;
}
#resultPanel .resultsBoard header {
  border-bottom: 1px solid #477b9a66;
  padding-bottom: 5px;
}
#resultPanel .resultsBoard #resultTitle {
  font-weight: 1000;
  letter-spacing: -.03em;
  text-shadow: 0 2px #75889b,0 5px #08172c,0 0 20px #647b9655;
}
.didWin .resultsBoard #resultTitle {
  color: #ffe381 !important;
  text-shadow: 0 2px #bb7922,0 5px #53300d,0 0 24px #ffc44b55 !important;
}
#resultPanel .resultsBoard .resultsScores>div {
  border-radius: 6px;
  box-shadow: inset 0 0 0 2px #234d6e,0 3px #07172c;
}
#resultPanel .resultsBoard .resultBtns button {
  border-radius: 5px;
  box-shadow: inset 0 0 0 2px #45a5d933,0 3px #071527;
}
#resultPanel .resultsBoard #bonusBtn {
  margin-top: 4px !important;
  min-height: 25px !important;
  padding: 5px 8px !important;
  border-color: #355571 !important;
  font-size: 10px !important;
  background: #0d2138 !important;
}
#resultPanel .resultsBoard #resultsBonusNote {
  font-size: 9px;
  line-height: 1.15;
  margin-top: 3px;
}
#resultPanel .resultsBoard #resultsJourney {
  font-size: 11px;
  letter-spacing: .04em;
}
#resultPanel .resultsBoard progress {
  height: 10px;
}
#resultPanel .resultsBoard .endStats b {
  font-variant-numeric: tabular-nums;
}
#resultPanel .resultsBoard #coachResult {
  background: linear-gradient(100deg,#163e59,#10253d);
  border-radius: 6px;
}
#resultPanel .resultsBoard #coachText {
  line-height: 1.3;
}
.resultsBoard .rewards span {
  align-items: center;
}
@media (max-height:760px) {
  #resultPanel .resultsBoard {
    padding: 10px 12px;
  }
  #resultPanel .resultsBoard #resultTitle {
    font-size: clamp(32px,7.5dvh,60px);
  }
  #resultPanel .resultsBoard header>small {
    font-size: 11px;
  }
  #resultPanel .resultsBoard #resultComedy {
    font-size: 10px;
    margin: 2px 0 3px;
  }
  #resultPanel .resultsBoard .resultsScores {
    margin: 6px 0;
  }
  #resultPanel .resultsBoard .resultsScores>div {
    padding: 5px 8px !important;
  }
  #resultPanel .resultsBoard .resultsScores strong {
    font-size: clamp(24px,4.8dvh,38px);
  }
  #resultPanel .resultsBoard #stars {
    font-size: 25px;
    margin: 3px;
  }
  #resultPanel .resultsBoard #resultDesc {
    margin: 4px 0;
    font-size: 11px;
  }
  #resultPanel .resultsBoard #resultsJourney {
    margin: 5px 0;
  }
  #resultPanel .resultsBoard .rewards {
    margin: 6px 0;
  }
  #resultPanel .resultsBoard .rewards>span {
    padding: 5px 11px;
  }
  #resultPanel .resultsBoard .rewards b {
    font-size: 25px;
  }
  #resultPanel .resultsBoard .endStats {
    margin: 5px 0;
  }
  #resultPanel .resultsBoard .endStats span {
    padding: 5px 3px;
  }
  #resultPanel .resultsBoard .resultBtns {
    margin: 7px 0 3px;
  }
  #resultPanel .resultsBoard .resultBtns button {
    padding: 10px 5px;
    font-size: 12px;
  }
  #resultPanel .resultsBoard #coachResult {
    padding: 7px;
    margin: 5px 0;
  }
  #resultPanel .resultsBoard #resultsNextReason {
    min-height: 10px;
  }
}
@media (max-height:460px) {
  #resultPanel {
    padding: 7px 12px;
  }
  #resultPanel .matchResults {
    height: calc(100dvh - 14px);
  }
  #resultPanel .resultsCast {
    margin-right: 12px;
  }
  #resultPanel .resultsBoard {
    padding: 7px 9px;
  }
  #resultPanel .resultsBoard header {
    padding-bottom: 2px;
  }
  #resultPanel .resultsBoard header>small {
    font-size: 8px;
    letter-spacing: .18em;
  }
  #resultPanel .resultsBoard #resultTitle {
    font-size: 29px;
  }
  #resultPanel .resultsBoard #resultComedy {
    font-size: 8px;
    margin: 0;
  }
  #resultPanel .resultsBoard .resultsScores {
    margin: 3px 0;
    grid-template-columns: 1fr 24px 1fr;
  }
  #resultPanel .resultsBoard .resultsScores>div {
    padding: 3px !important;
  }
  #resultPanel .resultsBoard .resultsScores strong {
    font-size: 23px;
  }
  #resultPanel .resultsBoard .resultsScores small {
    font-size: 9px;
  }
  #resultPanel .resultsBoard #stars {
    font-size: 18px;
    margin: 1px;
  }
  #resultPanel .resultsBoard #resultDesc {
    display: none;
  }
  #resultPanel .resultsBoard #coachResult {
    padding: 4px;
    margin: 3px 0;
    gap: 5px;
  }
  #resultPanel .resultsBoard #coachText {
    font-size: 9px;
    margin: 2px 0;
  }
  #resultPanel .resultsBoard #coachResult b {
    font-size: 9px;
  }
  #resultPanel .resultsBoard #coachUpgrade {
    font-size: 10px;
    padding: 7px;
  }
  #resultPanel .resultsBoard .rewards {
    margin: 3px 0;
    gap: 6px;
  }
  #resultPanel .resultsBoard .rewards>span {
    padding: 3px 10px;
    gap: 0 5px;
  }
  #resultPanel .resultsBoard .rewards b {
    font-size: 18px;
  }
  #resultPanel .resultsBoard .rewards small {
    font-size: 7px;
  }
  #resultPanel .resultsBoard .rewardIcon {
    width: 24px;
    height: 24px;
  }
  #resultPanel .resultsBoard .endStats {
    margin: 3px 0;
    gap: 3px;
    font-size: 7px;
  }
  #resultPanel .resultsBoard .endStats span {
    padding: 3px 2px;
  }
  #resultPanel .resultsBoard .endStats b {
    font-size: 11px;
  }
  #resultPanel .resultsBoard .resultBtns {
    gap: 5px;
    margin: 4px 0 2px;
  }
  #resultPanel .resultsBoard .resultBtns button {
    padding: 7px 3px;
    font-size: 10px;
  }
  #resultPanel .resultsBoard #resultsNextReason {
    font-size: 8px;
    min-height: 9px;
  }
  #resultPanel .resultsBoard #bonusBtn {
    min-height: 20px !important;
    padding: 3px !important;
    margin-top: 2px !important;
    font-size: 9px !important;
  }
  #resultPanel .resultsBoard #resultsBonusNote {
    font-size: 8px;
    margin: 2px 0;
  }
  #resultPanel .resultsBoard #resultsJourney {
    font-size: 9px;
    margin: 3px 0;
  }
  #resultPanel .resultsBoard progress {
    height: 8px;
    margin-top: 3px;
  }
  #resultPanel .resultsBrand small {
    font-size: 8px;
    margin-top: 4px;
  }
  #resultPanel .playerPodium>b,
  #resultPanel .rivalPodium>b {
    font-size: 9px;
    padding: 4px 6px;
  }
}
html.lang-ar #resultComedy {
  overflow-wrap: break-word !important;
}
#resultPanel.live-results {
  padding: 0 !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100dvh !important;
  max-width: none !important;
  overflow: hidden !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #041023 !important;
  display: grid;
  place-items: center;
}
#resultPanel.live-results>:not(#liveResultsMount):not(#demoVideoModal):not(#rrNexusGo):not(#rrWhy) {
  display: none !important;
}
#liveResultsMount {
  width: min(100%,177.7778dvh);
  aspect-ratio: 16/9;
  max-height: 100dvh;
}
#liveResultsMount>svg {
  width: 100%;
  height: 100%;
  display: block;
}
#liveResultsMount [role=button] {
  touch-action: manipulation;
}
#liveResultsMount text {
  font-family: system-ui,sans-serif;
}
#resultPanel.live-results.hidden {
  display: none !important;
}
html body#rr-app.rr-ui #liveResultsMount text {
  font-family: var(--mc-text) !important;
}
html body#rr-app.rr-ui #liveResultsMount :is(#resultTitle,#title,#headline) {
  font-family: var(--mc-display) !important;
}
html body#rr-app.rr-ui #liveResultsMount [role=button] {
  filter: drop-shadow(0 3px 0 #03060c);
}
html body#rr-app.rr-ui #liveResultsMount [aria-disabled=true] {
  opacity: .5;
}
html body#rr-app.rr-ui #liveResultsMount #adSubLabel {
  fill: #ffe490 !important;
  font-size: 18px !important;
  letter-spacing: .3px !important;
}
html body#rr-app.rr-ui #liveResultsMount #adLabel {
  fill: #fff5df !important;
  font-size: 34px !important;
}
html body#rr-app.rr-ui #liveResultsMount .control rect {
  stroke: #03060c !important;
  stroke-width: 3 !important;
  rx: 8px;
}
html body#rr-app.rr-ui #liveResultsMount #adButton>rect {
  fill: #482678 !important;
  stroke: #ffcf4c !important;
}
html body#rr-app.rr-ui #liveResultsMount rect[fill="url(#panel)"] {
  stroke: #03060c !important;
  stroke-width: 4 !important;
  rx: 10px;
}
html body#rr-app.rr-ui #liveResultsMount :is([data-action=again],[data-action=menu]) .frame {
  fill: #153a54 !important;
}
html body#rr-app.rr-ui #liveResultsMount #adButton>path:nth-of-type(1) {
  stroke: #03060c !important;
}
html body#rr-app.rr-ui #liveResultsMount #adButton>path:nth-of-type(2) {
  fill: #43266e !important;
  stroke: #ffcf4c !important;
}
html body#rr-app.rr-ui #liveResultsMount #adButton>path:nth-of-type(3) {
  stroke: #bc8eea !important;
}
#resultPanel #adButton:not(.bv19Off) {
  transform-box: fill-box;
  transform-origin: 50% 50%;
  animation: rrSvgVid 1.4s ease-in-out infinite !important;
}
.rwChip.coin b {
  color: #ffe27a;
}
.rwChip.gem b {
  color: #8fe9ff;
}
.rwChip.card b {
  color: #ffb3f0;
}
html body#rr-app #resultPanel .resultsBoard {
  background: var(--u-panel) !important;
  border: 2px solid var(--u-line) !important;
  box-shadow: 0 0 0 2px #ffc93a66,0 16px 40px #000b,inset 0 0 30px #0007 !important;
}
html body#rr-app #resultPanel .resultsScores>*,
html body#rr-app #resultPanel .endStats>*,
html body#rr-app #resultPanel .rewards>* {
  background: #0c0628cc !important;
  border: 1px solid #a77bff88 !important;
  box-shadow: none !important;
  border-radius: 10px !important;
}
html body#rr-app #resultPanel :is(.resultsScores small,.endStats small,.rewards small) {
  color: var(--u-txt) !important;
}
html body#rr-app #resultPanel :is(.resultsScores b,.endStats b,.rewards b) {
  color: #fff !important;
}
html body#rr-app #resultPanel #resultTitle {
  font-family: var(--u-disp) !important;
}
html body#rr-app #resultPanel #resultComedy {
  color: #ffe08a !important;
}
html body#rr-app #resultPanel .podiumBase {
  filter: hue-rotate(-10deg) saturate(1.1);
}
html body #resultStory {
  top: max(58px,15%) !important;
}
@media (max-height:360px) {
  html body #resultStory {
    top: max(50px,14%) !important;
    width: min(24%,230px) !important;
  }
}

/* bv53: golden call to MAP 06 on the results screen after winning the Final (part 2); floats over the live results art */
html body #resultPanel #rrNexusGo {
  position: absolute;
  z-index: 40;
  left: 16%;
  bottom: max(10px, env(safe-area-inset-bottom));
  width: clamp(200px, 30%, 320px);
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 10px;
  align-items: center;
  text-align: start;
  min-height: 46px;
  padding: 6px 14px;
  border-radius: 12px;
  border: 2px solid #fff1ad;
  background: linear-gradient(110deg,#5a2fa8,#a23cc9 45%,#ffb627) !important;
  color: #fff !important;
  border-color: #fff1ad !important;
  box-shadow: 0 0 22px #ffb42799, 0 4px 0 #3a1a5e !important;
  animation: rrNexusPulse 1.6s ease-in-out infinite;
  cursor: pointer;
}
#resultPanel #rrNexusGo i { grid-row: 1 / span 2; font-style: normal; font-size: 24px; color: #ffe27a; filter: drop-shadow(0 0 6px #ffd04c); }
#resultPanel #rrNexusGo b { font: 900 14px/1.1 var(--mc-display, system-ui), sans-serif; letter-spacing: .04em; }
#resultPanel #rrNexusGo small { font: 800 10px/1.1 system-ui, sans-serif; color: #ffe9b0; }
html.i18nRtl #resultPanel #rrNexusGo { direction: rtl; }
@keyframes rrNexusPulse { 0%,100% { box-shadow: 0 0 14px #ffb42766, 0 4px 0 #3a1a5e; } 50% { box-shadow: 0 0 30px #ffd04ccc, 0 4px 0 #3a1a5e; } }
@media (max-height:400px) { #resultPanel #rrNexusGo { min-height: 36px; padding: 3px 10px; } #resultPanel #rrNexusGo i { font-size: 18px; } #resultPanel #rrNexusGo b { font-size: 12px; } }

/* bv55 (playtest): WHY-YOU-LOST card on the results screen after a campaign loss */
html body #resultPanel #rrWhy {
  position: absolute; z-index: 41; left: 10px; top: 14%; width: clamp(200px, 30%, 300px);
  background: #140c2eee; border: 2px solid #ffd86a; border-radius: 12px; padding: 8px 10px; color: #fff;
  font: 700 11px/1.3 system-ui, sans-serif; box-shadow: 0 8px 24px #000a;
}
html body #resultPanel #rrWhy b { display: block; font-size: 12px; color: #ffe27a; margin-bottom: 3px; }
html body #resultPanel #rrWhy p { margin: 0 0 4px; }
html body #resultPanel #rrWhy p.tip { color: #cfe9ff; font-weight: 600; }
html body #resultPanel #rrWhy button { width: 100%; min-height: 30px; border: 0; border-radius: 8px; background: linear-gradient(180deg,#ffe27a,#ffb627); color: #2a1a00; font: 900 11px system-ui, sans-serif; }
#resultPanel.live-results>:not(#liveResultsMount):not(#demoVideoModal):not(#rrNexusGo):not(#rrWhy) { display: none !important; }
html.i18nRtl #resultPanel #rrWhy { left: auto; right: 10px; direction: rtl; }
@media (max-height: 350px) { html body #resultPanel #rrWhy { top: 10%; font-size: 10px; padding: 6px 8px; } html body #resultPanel #rrWhy button { min-height: 24px; } }
