.discovery-hero {
  position: relative;
  isolation: isolate;
  z-index: 2;
}
.market-prompt[hidden],
.prompt-popover[hidden],
.prompt-all[hidden] {
  display: none;
}
.discovery-hero:has(.market-prompt:not([hidden])) .sky-window {
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
  z-index: -2;
}
.discovery-hero:has(.market-prompt:not([hidden]))::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.market-prompt {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 11px;
  padding: 24px 16px 26px;
  color: var(--ink);
}
.prompt-heading {
  font: 400 clamp(32px, 3.1vw, 49px)/1 var(--serif);
  letter-spacing: -0.05em;
  text-align: center;
}
.prompt-shell {
  position: relative;
  width: min(500px, 100%);
}
.prompt-box {
  position: relative;
  padding: 10px 12px 8px;
  background: #fffdf9;
  border: 1px solid #debea1;
  border-radius: 16px;
  box-shadow:
    0 3px 0 #fae3ce,
    0 7px 18px #622c121a,
    inset 0 1px #fff;
  color: #38261b;
}
.prompt-box:focus-within {
  border-color: #b16438;
  box-shadow:
    0 0 0 2px #e27e463b,
    0 5px 18px #622c121a;
}
.prompt-box input {
  appearance: none;
  display: block;
  width: 100%;
  min-width: 0;
  height: 30px;
  padding: 0 3px 1px;
  border: 0;
  background: transparent;
  color: #352218;
  font:
    500 15px/1.4 Inter,
    Arial,
    sans-serif;
}
.prompt-box input::placeholder {
  color: #746253;
  opacity: 1;
}
.prompt-box input:focus-visible {
  outline: 0;
}
.prompt-queries {
  display: flex;
  align-items: center;
  min-width: 0;
  overflow: hidden;
}
.prompt-queries button {
  white-space: nowrap;
  font:
    500 12px/1.3 Inter,
    Arial,
    sans-serif;
}
.prompt-popover {
  position: absolute;
  z-index: 4;
  top: calc(100% + 6px);
  inset-inline: 0;
  color: #39271e;
  background: #fffaf1;
  border: 1px solid #c89c73;
  border-radius: 12px;
  box-shadow: 0 10px 30px #32221633;
  padding: 5px;
}
.prompt-popover ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.prompt-popover li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 8px;
  border-radius: 6px;
  cursor: pointer;
}
.prompt-popover li:is(:hover, [aria-selected='true']) {
  background: #ffead2;
}
.prompt-popover li img {
  border-radius: 5px;
}
.prompt-popover li > span {
  min-width: 0;
  flex: 1;
  display: grid;
  gap: 3px;
}
.prompt-popover strong {
  font-size: 13px;
  line-height: 1.3;
}
.prompt-popover small {
  font-size: 10px;
  color: #715e4e;
}
.prompt-popover li .icon {
  width: 13px;
  height: 13px;
  color: #9e532c;
}
.prompt-all,
.prompt-notice:not(:empty) {
  font-size: 12px;
  padding: 10px;
  display: block;
}
.prompt-all {
  width: 100%;
  text-align: left;
  border-top: 1px solid #e9d6bd;
  color: #813d1d;
}
.prompt-all .icon {
  width: 14px;
  height: 14px;
  margin-left: 4px;
}
@media (max-width: 660px) {
  .prompt-box input {
    font-size: 16px;
  }
}
