/* Final owner-Home contrast layer. Scoped to Market only. */
@media (max-width: 600px) {
  #market-main-area.market-owner-home-active {
    padding-top: max(132px, calc(var(--mobile-app-header-height, 100px) + 14px)) !important;
    scroll-behavior: auto !important;
    overflow-anchor: none !important;
  }
}

#market-main-area.market-owner-home-active,
#market-main-area.market-owner-home-active > .mobile-market-owner-home {
  background: #ffffff !important;
}

#market-main-area.market-owner-home-active > .mobile-market-owner-home {
  color: #0a0a0a !important;
  -webkit-text-fill-color: #0a0a0a !important;
}

#market-main-area.market-owner-home-active .market-owner-home__status,
#market-main-area.market-owner-home-active .market-owner-home__status * {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

#market-main-area.market-owner-home-active .market-owner-home__status small {
  color: rgba(255, 255, 255, 0.72) !important;
  -webkit-text-fill-color: rgba(255, 255, 255, 0.72) !important;
}

#market-main-area.market-owner-home-active .market-owner-home__status > i:first-child {
  color: #0a0a0a !important;
  -webkit-text-fill-color: #0a0a0a !important;
}

#market-main-area.market-owner-home-active .market-owner-home__actions button,
#market-main-area.market-owner-home-active .market-owner-home__recent,
#market-main-area.market-owner-home-active .market-owner-home__rewards {
  background: #ffffff !important;
  border-color: rgba(10, 10, 10, 0.12) !important;
}

#market-main-area.market-owner-home-active .market-owner-home__revenue-head,
#market-main-area.market-owner-home-active .market-owner-home__revenue-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

#market-main-area.market-owner-home-active .market-owner-home__periods {
  display: flex;
  gap: 3px;
  padding: 3px;
  border: 1px solid #e2e2e2;
  border-radius: 999px;
  background: #f4f4f4;
}

#market-main-area.market-owner-home-active .market-owner-home__periods button {
  min-width: 38px;
  height: 28px;
  padding: 0 9px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #666 !important;
  -webkit-text-fill-color: #666 !important;
  font-size: 10px;
  font-weight: 900;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

#market-main-area.market-owner-home-active .market-owner-home__periods button:focus-visible {
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px #111;
}

#market-main-area.market-owner-home-active .market-owner-home__periods button.is-active {
  background: #111;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.16);
}

#market-main-area.market-owner-home-active .market-owner-home__trend {
  color: #777;
  text-align: right;
}

#market-main-area.market-owner-home-active .market-owner-home__trend.is-up {
  color: #147a3b;
}

#market-main-area.market-owner-home-active .market-owner-home__trend.is-down {
  color: #b42318;
}

#market-main-area.market-owner-home-active .market-owner-home__recent > button {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  gap: 11px;
}

#market-main-area.market-owner-home-active .market-owner-home__buyer {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #111;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
}

#market-main-area.market-owner-home-active .market-owner-home__recent > button > span {
  min-width: 0;
}
