/* Login/loading presentation layered on top of the preserved River awakening asset. */
body.mbb-river-login-active .auth {
  background: transparent !important;
}

body.mbb-river-login-active .auth > .card:not(.loading-card) {
  background: rgba(15, 18, 24, 0.68);
  -webkit-backdrop-filter: blur(9px) saturate(1.06);
  backdrop-filter: blur(9px) saturate(1.06);
  border-color: rgba(167, 187, 255, 0.22);
}

body.mbb-river-login-active .loading-card.mbb-river-loading-card {
  width: min(760px, calc(100vw - 28px));
  max-width: 760px;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  padding: 18px !important;
}

body.mbb-river-login-active .loading-card.mbb-river-loading-card > h1 {
  margin: 0 0 12px;
  color: #f7f9ff;
  text-shadow: 0 2px 20px rgba(0,0,0,.78);
}

body.mbb-river-login-active .loading-card.mbb-river-loading-card > .muted {
  width: fit-content;
  max-width: 100%;
  margin: 10px 0 14px;
  padding: 9px 13px;
  border: 1px solid rgba(178, 197, 255, 0.2);
  border-radius: 999px;
  background: rgba(7, 12, 20, 0.44);
  color: rgba(238, 244, 255, 0.9);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  text-shadow: 0 1px 8px rgba(0,0,0,.7);
}

body.mbb-river-login-active .loading-release,
body.mbb-river-login-active .loading-mission.mbb-loading-bubble {
  border: 1px solid rgba(122, 238, 210, 0.34) !important;
  border-radius: 18px !important;
  background: rgba(6, 17, 20, 0.53) !important;
  box-shadow: 0 18px 44px rgba(0,0,0,.28), inset 0 1px rgba(255,255,255,.035) !important;
  -webkit-backdrop-filter: blur(10px) saturate(1.06) !important;
  backdrop-filter: blur(10px) saturate(1.06) !important;
}

body.mbb-river-login-active .loading-release {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0 0 12px;
  padding: 14px 16px;
  color: #eafbf6;
}

body.mbb-river-login-active .loading-release span {
  color: rgba(160, 240, 219, 0.9);
}

body.mbb-river-login-active .loading-mission.mbb-loading-bubble {
  margin-top: 12px;
  padding: 0 !important;
  overflow: hidden;
}

.mbb-mission-toggle {
  appearance: none;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 16px;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.mbb-mission-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 4px;
}

.mbb-mission-copy b {
  color: #8ef0d3;
  font-size: 16px;
}

.mbb-mission-copy small {
  color: rgba(230, 239, 248, 0.82);
  font-size: 13px;
  line-height: 1.42;
}

.mbb-mission-chevron {
  flex: 0 0 auto;
  color: #8ef0d3;
  font-size: 22px;
  line-height: 1;
  transition: transform .2s ease;
}

.mbb-mission-toggle[aria-expanded="true"] .mbb-mission-chevron {
  transform: rotate(180deg);
}

.mbb-mission-body {
  padding: 0 16px 15px;
  color: rgba(230, 239, 248, 0.88);
}

.mbb-mission-body[hidden] { display: none !important; }
.mbb-mission-body p:first-child { margin-top: 0; }
.mbb-mission-body p:last-child { margin-bottom: 0; }

body.mbb-river-login-active .mbb-river-progress {
  margin-top: 12px;
  padding: 11px 13px;
  border: 1px solid rgba(178, 197, 255, 0.18);
  border-radius: 14px;
  background: rgba(7, 12, 20, 0.44);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

@media (max-width: 720px) {
  body.mbb-river-login-active .auth > .card:not(.loading-card) {
    background: rgba(15, 18, 24, 0.72);
  }
  body.mbb-river-login-active .loading-card.mbb-river-loading-card {
    padding: 12px !important;
  }
  body.mbb-river-login-active .loading-card.mbb-river-loading-card > h1 {
    font-size: clamp(30px, 9vw, 44px);
  }
  .mbb-mission-copy small { font-size: 12px; }
}
