.bscWalletConnected {
  background: linear-gradient(135deg, #facc15, #f59e0b) !important;
  color: #07111f !important;
  box-shadow: 0 0 22px rgba(250, 204, 21, 0.35) !important;
}

/* Static mirror fix: the original site reveals these blocks with JS.
   Our static build keeps the page readable by showing them immediately. */
.reveal,
.reveal.is-in,
.reveal.in,
.reveal.show,
.reveal.visible {
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
  filter: none !important;
}

.cards3,
.lpBoxGrid,
.roadGrid,
.grid6,
.lpStepCard,
.lpBoxWheelCol,
.lpBoxPanel,
.lpMktEmbed,
.lpSkinsPanel {
  opacity: 1 !important;
  visibility: visible !important;
}

.lbCanvas:empty::before {
  content: "▣";
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: #4ee6e6;
  background: rgba(78, 230, 230, 0.08);
  border: 2px solid rgba(78, 230, 230, 0.25);
  border-radius: 10px;
  text-shadow: 0 0 12px rgba(78, 230, 230, 0.65);
}

/* Remove the top navigation ranking button. */
.navLinks > button.nlink {
  display: none !important;
}

/* Remove the top-right music button. */
.navMusic,
.musicWrap,
.musicBtnNav {
  display: none !important;
}

/* Fill the static market terminal's right side. */
.bfMarketComplete {
  align-items: stretch;
}

.bfMarketDetailPane {
  background:
    radial-gradient(circle at 70% 0%, rgba(111, 227, 245, 0.12), transparent 38%),
    linear-gradient(180deg, rgba(18, 20, 32, 0.94), rgba(10, 12, 20, 0.94));
  border: 2px solid rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.14) rgba(0, 0, 0, 0.45) rgba(0, 0, 0, 0.45) rgba(255, 255, 255, 0.14);
  padding: 14px;
  box-sizing: border-box;
}

.bfMktPreview {
  width: 84px;
  height: 84px;
  display: grid;
  place-items: center;
  flex: none;
  border: 2px solid rgba(111, 227, 245, 0.32);
  background: radial-gradient(circle, rgba(111, 227, 245, 0.18), rgba(255, 255, 255, 0.04));
  box-shadow: inset 0 0 24px rgba(111, 227, 245, 0.12), 0 0 18px rgba(111, 227, 245, 0.12);
}

.bfMktPreview img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  image-rendering: pixelated;
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.55));
}

.bfMktSub {
  color: #8b96bd;
  font-size: 10px;
  line-height: 1.45;
}

.bfMarketChart {
  position: relative;
  min-height: 170px;
  border: 2px solid rgba(255, 255, 255, 0.12);
  border-color: rgba(0, 0, 0, 0.45) rgba(255, 255, 255, 0.12) rgba(255, 255, 255, 0.12) rgba(0, 0, 0, 0.45);
  background: radial-gradient(circle at 50% 20%, #111c31 0%, #0b0f1c 78%);
  overflow: hidden;
}

.bfMarketChart svg {
  display: block;
  width: 100%;
  height: 150px;
}

.bfChartMeta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 0 10px 10px;
  color: #8b96bd;
  font-size: 9px;
}

.bfMarketDetailPane .mktDetList {
  gap: 7px;
}

.bfMarketDetailPane .mktDetRow {
  min-height: 42px;
}

@media (max-width: 820px) {
  .bfMktPreview {
    width: 64px;
    height: 64px;
  }

  .bfMktPreview img {
    width: 42px;
    height: 42px;
  }

  .bfChartMeta {
    flex-direction: column;
    gap: 3px;
  }
}
