.sales-main {
  --sale-pink: #ff8bd7;
  --sale-aqua: #8ff4eb;
  --sale-border: #41354e;
  padding: 0 clamp(16px, 5.8vw, 92px) clamp(48px, 7vw, 100px);
  background: radial-gradient(ellipse at 70% 40%, #251630, transparent 62%);
}

.sale-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: clamp(390px, 42vw, 565px);
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  overflow: hidden;
  padding: clamp(25px, 5vw, 76px);
  border: 1px solid var(--sale-border);
  border-bottom: 3px solid var(--sale-pink);
  background: #191325;
}

.sale-hero-art, .sale-hero::before {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.sale-hero-art {
  z-index: -2;
  object-fit: cover;
  object-position: 65% 56%;
}

.sale-hero::before {
  content: "";
  z-index: -1;
  background: linear-gradient(90deg, #100c1af5, #170d23b8 43%, transparent 86%),
              linear-gradient(0deg, #24112eed, transparent 60%);
}

.sale-hero-copy { align-self: center; }
.sale-kicker, .sale-district, .sale-slip-label {
  color: var(--sale-aqua);
  text-transform: uppercase;
  letter-spacing: .12em;
  font: 0.875rem var(--mono);
}

.sale-hero h1 {
  margin: 14px 0;
  color: #fff1fa;
  font: 400 clamp(3.1rem, 6.9vw, 6.6rem)/.94 var(--display);
  letter-spacing: -.035em;
}

.sale-hero h1 em {
  color: var(--sale-pink);
  font: 700 1.18em/.8 "Dancing Script", cursive;
  text-shadow: 0 0 25px #ff56c87d;
}

.sale-hero-copy > p:not(.sale-kicker) {
  max-width: 30ch;
  color: #f3deee;
  font-size: 1.05rem;
  line-height: 1.55;
}

.sale-button, .sale-guide {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 14px;
  text-decoration: none;
  font-weight: 800;
  font-size: .875rem;
}

.sale-button { background: var(--sale-aqua); color: #131220; }
.sale-button:hover { background: #c1fff9; }

.sale-slip {
  flex: 0 0 auto;
  display: grid;
  gap: 5px;
  padding: 16px 20px;
  background: #191324f0;
  color: #efe3f1;
  border: 1px solid #a75c91;
  border-top: 4px solid var(--sale-pink);
  transform: rotate(-3deg);
  box-shadow: 0 10px 30px #0c0619b3;
}

.sale-slip b { color: var(--sale-aqua); font: 2rem var(--mono); }
.sale-slip-label { font-size: .75rem; color: var(--sale-pink); }
.sale-slip-label:last-child { border-top: 1px dashed #a75c91; padding-top: 8px; }

.sale-board { margin-top: clamp(34px, 5vw, 72px); scroll-margin-top: 18px; }
.sale-board-heading { margin-bottom: 22px; }
.sale-board h2 { margin: 0 0 12px; font: 400 clamp(2rem, 4vw, 3.25rem)/1.08 var(--display); }
.sale-demo {
  width: fit-content;
  margin: 0;
  padding: 12px 14px;
  border-left: 3px solid var(--sale-pink);
  background: #2c1934;
  color: #f6d8ed;
  line-height: 1.5;
}

.sale-controls {
  display: grid;
  grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.sale-controls label {
  display: grid;
  gap: 6px;
  min-width: 0;
  font-weight: 750;
  font-size: .875rem;
  color: #ede4f3;
}

.sale-controls input, .sale-controls select {
  min-width: 0;
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid #675270;
  border-radius: 3px;
  background-color: #21182c;
  color: #fff1fa;
  font: 1rem var(--sans);
  color-scheme: dark;
}

.sale-controls select {
  appearance: none;
  padding-right: 32px;
  background-image: linear-gradient(45deg, transparent 50%, #8ff4eb 50%),
                    linear-gradient(135deg, #8ff4eb 50%, transparent 50%);
  background-position: right 17px center, right 12px center;
  background-size: 5px 5px;
  background-repeat: no-repeat;
}

.sales-main :focus-visible, .topbar .sell-nav-link:focus-visible {
  outline: 2px solid #8ff4eb;
  outline-offset: 3px;
}

.sale-results { color: #e4c5e3; font-size: .875rem; margin: 14px 0; }
.sale-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.sale-card { min-width: 0; border: 1px solid var(--sale-border); background: #191525; }
.sale-card > img { display: block; width: 100%; height: auto; aspect-ratio: 2.35; object-fit: cover; }
figure.sale-card { margin: 0; }
figure.sale-card img { display: block; max-width: 100%; height: auto; }
.sale-card-body { padding: clamp(13px, 2vw, 24px); }
.sale-district { margin: 0 0 5px; font-size: .8125rem; }
.sale-card h3 { margin: 0; color: #fff1fa; font: 400 clamp(1.5rem, 3vw, 2.15rem)/1.1 var(--display); }

.sale-prices {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 15px 0 12px;
  border: 1px solid var(--sale-border);
  background: #21182c;
}

.sale-prices div { min-width: 0; padding: 10px 8px; }
.sale-prices div + div { border-left: 1px solid var(--sale-border); }
.sale-prices dt { min-height: 2.5em; color: #e9d9e9; font-size: .875rem; }
.sale-prices dd { margin: 0; color: #f8ebf4; font: clamp(.875rem, 2vw, 1.25rem)/1.25 var(--mono); }
.sale-prices dd small { display: block; margin-top: 5px; color: #e2b8db; font: .75rem var(--sans); }
.sale-prices .is-best { background: #25403f; }
.sale-prices .is-best dd { color: var(--sale-aqua); }
.sale-guide { border: 1px solid #a75c91; color: #ffd2ef; }
.sale-guide:hover { background: #3b2341; }

@media (max-width: 680px) {
  .sale-grid { grid-template-columns: minmax(0, 1fr); }
  .sale-controls { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sale-controls label:first-child { grid-column: 1 / -1; }
  .sale-hero { align-items: start; flex-direction: column; justify-content: end; }
  .sale-hero-copy { align-self: auto; }
  .sale-hero::before {
    background: linear-gradient(90deg, #150d20df, #150d2066),
                linear-gradient(0deg, #191325, transparent 70%);
  }
  .sale-slip { align-self: end; }
}

.sale-community {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  padding: 12px 14px;
  color: #f6d8ed;
  background: #2c1934;
  border-left: 3px solid var(--sale-pink);
}
.sale-report-link { margin-left: 4px; }
#submit-offer { scroll-margin-top: 16px; }
#sale-report .sale-button { border: 0; cursor: pointer; }
