/* Raised controls scoped to the existing Marketplace discovery panel. */
.app-main .marketplace-page .mp-discovery .mp-purpose {
  gap: 7px;
  padding: 6px 6px 11px;
  background: linear-gradient(180deg, #171020, #21162f);
  border-color: #514066;
  box-shadow: inset 0 2px 5px #08040d80, 0 1px 0 #ffffff08;
}

.app-main .marketplace-page .mp-discovery .mp-purpose button {
  position: relative;
  color: #d9cbea;
  background: linear-gradient(180deg, #49345f 0%, #342343 52%, #291b38 100%);
  border: 1px solid #77568f;
  border-top-color: #a580be;
  border-radius: 8px;
  box-shadow: inset 0 1px 0 #ffffff2b, inset 0 -1px 0 #140d2399,
    0 5px 0 #170f24, 0 6px 0 #72508c70, 0 8px 10px #00000045;
  text-shadow: 0 1px 1px #130a23;
  transition: transform 140ms ease, box-shadow 140ms ease, filter 140ms ease;
}

.app-main .marketplace-page .mp-discovery .mp-purpose button[aria-pressed="true"] {
  color: #fff;
  background: linear-gradient(180deg, #ae70d7 0%, #8548b7 46%, #64338f 100%);
  border-color: #ad7bd1;
  border-top-color: #e1b6fa;
  box-shadow: inset 0 1px 0 #ffffff55, inset 0 -1px 0 #3a165a80,
    0 5px 0 #412058, 0 6px 0 #a46bc285, 0 8px 13px #09041066;
}

@media (hover: hover) {
  .app-main .marketplace-page .mp-discovery .mp-purpose button:hover {
    filter: brightness(1.12);
    transform: translateY(-1px);
  }
}

.app-main .marketplace-page .mp-discovery .mp-purpose button:active {
  transform: translateY(4px);
  box-shadow: inset 0 1px 3px #140b2860, 0 1px 0 #170f24, 0 2px 3px #0005;
}

.app-main .marketplace-page .mp-discovery .mp-purpose button:focus-visible,
.app-main .marketplace-page .mp-discovery select[aria-labelledby="mp-filter-city"]:focus-visible {
  outline: 2px solid #e0b1ff;
  outline-offset: 4px;
}

.app-main .marketplace-page .mp-discovery .mp-discovery-stats > div {
  position: relative;
  background: linear-gradient(155deg, #49335e 0%, #30223f 48%, #231a32 100%);
  border-color: #75528e;
  border-top-color: #ad82c7;
  box-shadow: inset 0 1px 0 #ffffff2e, inset 1px 0 0 #ffffff0b,
    inset 0 -1px 0 #130d2080, 0 5px 0 #191124, 0 6px 0 #67457d80,
    0 10px 18px #08040e5c;
  text-shadow: 0 2px 2px #10091e80;
}

.app-main .marketplace-page .mp-discovery .mp-discovery-stats strong {
  color: #fff;
}

.app-main .marketplace-page .mp-discovery .mp-discovery-stats small {
  color: #dccce9;
}

.app-main .marketplace-page .mp-discovery .mp-discovery-stats svg {
  color: #d19bff;
  filter: drop-shadow(0 2px 1px #10091e80);
}

.app-main .marketplace-page .mp-discovery select[aria-labelledby="mp-filter-city"] {
  background: linear-gradient(180deg, #413151, #30233f 55%, #291e36) !important;
  border-color: #72548a !important;
  border-top-color: #a27abc !important;
  box-shadow: inset 0 1px 0 #ffffff24, 0 4px 0 #191124,
    0 5px 0 #68467d70, 0 7px 10px #08040e45;
}

@media (prefers-reduced-motion: reduce) {
  .app-main .marketplace-page .mp-discovery .mp-purpose button {
    transition: none;
  }
}
