:root {
  --paper: #faf8f3;
  --white: #fffdf9;
  --ink: #29241f;
  --muted: #6e675e;
  --line: #e2dbd1;
  --orange: #a94319;
  --green: #28624f;
  --page-width: 1360px;
  --page-gutter: clamp(22px, 4.5vw, 82px);
}
body {
  background: var(--paper);
}
.wrap {
  width: min(var(--page-width), calc(100% - var(--page-gutter) * 2));
}
.site-head {
  background: #fdfbf6;
  border-bottom: 1px solid var(--line);
}
.mast {
  height: 76px;
  gap: clamp(32px, 4.2vw, 74px);
}
.brand {
  gap: 9px;
}
.brand img {
  width: 32px;
  height: 32px;
}
.brand strong {
  font-size: 29px;
  letter-spacing: -0.072em;
}
.primary-nav {
  gap: clamp(22px, 2.3vw, 38px);
}
.primary-nav a {
  font-size: 14px;
  font-weight: 520;
  color: #71685d;
}
.primary-nav a:hover {
  color: var(--ink);
}
.primary-nav a[aria-current='page'] {
  color: var(--ink);
  font-weight: 650;
}
.primary-nav a[aria-current='page']:after {
  height: 2px;
  bottom: 16px;
  border-radius: 2px;
  background: #d6632d;
}
.header-tools {
  gap: 12px;
}
.mast .wallet,
.prompt-submit,
.btn.orange {
  background: #f78949;
  color: #301e15;
  border: 1px solid #e77b3d;
  border-radius: 9px;
  box-shadow: 0 1px 2px #5a301010;
  min-height: 42px;
  padding: 0 17px;
  font-size: 13px;
  font-weight: 640;
}
.mast .wallet:hover,
.prompt-submit:hover,
.btn.orange:hover {
  background: #ff9a5e;
  border-color: #df773b;
}
.mast .wallet:active,
.prompt-submit:active {
  background: #f4803c;
}
.mast .wallet .icon {
  width: 17px;
  height: 17px;
}
.mast :is(.settings-link, .search-launch) {
  width: 40px;
  height: 40px;
  min-height: 40px;
  padding: 0;
  display: grid;
  place-items: center;
  background: transparent;
  color: #665d52;
  border: 0;
  border-radius: 9px;
}
.mast .settings-link .icon,
.mast .search-launch .icon {
  width: 20px;
  height: 20px;
  stroke-width: 1.65;
}
.mast :is(.settings-link, .search-launch):hover,
html[data-page='settings'] .settings-link {
  background: #f0e9df;
  color: #442d20;
}
.mast .search-launch > :not(.js-icon),
html[data-page='markets'] .mast .search-launch {
  display: none;
}
.discovery-hero {
  border-bottom: 1px solid var(--line);
  background: #f9f4e9;
}
.discovery-hero:has(.market-prompt[hidden]) {
  display: none;
}
.discovery-hero .sky-window {
  background-color: #f9f4e9;
  mask-image: linear-gradient(90deg, transparent 1%, #0002 16%, #0009 36%, #000 70%);
}
.discovery-hero:has(.market-prompt:not([hidden]))::before {
  background: linear-gradient(
    90deg,
    #faf6ef9c 0%,
    #faf6ef68 18%,
    #faf6efec 37%,
    #faf6eff1 54%,
    #faf6ef19 80%,
    transparent
  );
}
.market-prompt {
  align-items: stretch;
  position: relative;
  margin-left: max(var(--page-gutter), calc(50% - 385px));
  width: min(548px, calc(100% - 2 * var(--page-gutter)));
  padding: 56px 0 48px;
  gap: 0;
}
.prompt-heading {
  align-self: flex-start;
  text-align: left;
  color: #32291f;
  font: 400 clamp(48px, 5vw, 76px)/1.02 var(--serif);
  letter-spacing: -0.061em;
  margin: 0 0 22px;
}
.prompt-shell {
  width: 100%;
  max-width: none;
}
.prompt-box {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fffdfa;
  padding: 6px 6px 6px 16px;
  border: 1px solid #d5c6b5;
  border-radius: 13px;
  box-shadow: 0 4px 18px #5532170d;
}
.prompt-box:focus-within {
  border-color: #c78963;
  box-shadow: 0 0 0 3px #d7763821;
}
.prompt-search-icon {
  color: #8b7c6d;
  flex: none;
}
.prompt-search-icon .icon {
  width: 20px;
  height: 20px;
}
.prompt-box input {
  height: 40px;
  flex: 1;
  min-width: 0;
  color: var(--ink);
  font-weight: 450;
}
.prompt-box input::placeholder {
  color: #83796e;
}
.prompt-submit {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  width: auto;
  flex: none;
}
.prompt-submit .icon {
  width: 15px;
  height: 15px;
  transform: none;
}
.prompt-queries {
  margin-top: 12px;
  padding-left: 2px;
  gap: 14px;
}
.prompt-queries button {
  padding: 4px 0;
  border: 0;
  background: transparent;
  color: #6b5e4e;
  font-size: 12px;
  border-bottom: 1px solid #b1987e70;
  border-radius: 0;
}
.prompt-queries button:hover {
  color: #94380f;
  border-color: #b45a28;
  background: transparent;
}
.prompt-popover {
  top: calc(100% + 6px);
  background: #fffdfa;
  border-color: #d7cabb;
}
.discovery-hero + main {
  padding-top: 0;
}
.discovery-hero + main:has(> tell-warp-markets) {
  padding-top: clamp(30px, 3.4vw, 52px);
}
.catalog-area {
  margin: clamp(34px, 4.3vw, 68px) 0 clamp(46px, 6vw, 90px);
  background: transparent;
}
.catalog-bar {
  gap: 18px;
  margin: 0 0 18px;
  align-items: center;
}
.catalog-bar > div:first-child {
  background: transparent;
  gap: 12px;
  min-width: 0;
}
.catalog-bar :is(h1, h2) {
  font: 400 clamp(34px, 3.05vw, 46px)/1.08 var(--serif);
  letter-spacing: -0.05em;
}
.catalog-count {
  font:
    500 12px/1.3 Inter,
    Arial,
    sans-serif;
  color: var(--muted);
  background: none;
  border: 0;
  padding: 0;
}
.catalog-tools {
  gap: 8px;
}
.tool-select,
.btn.subtle,
.btn.small {
  border: 1px solid #ded6cb;
  background: var(--white);
  border-radius: 8px;
  padding: 9px 12px;
  color: #50473f;
  font-size: 13px;
  box-shadow: none;
}
.tool-select:hover,
.btn.subtle:hover {
  background: #f3eee7;
  border-color: #cdbfb0;
}
.topic-nav {
  border: none;
  background: transparent;
  margin-bottom: 22px;
}
.topic-scroll {
  gap: 5px;
  min-height: 43px;
  padding: 2px 1px 4px;
}
.topic {
  font-size: 13px;
  font-weight: 540;
  padding: 8px 13px;
  color: #6a6158;
  border-radius: 999px;
}
.topic:hover {
  background: #efe9e0;
  color: var(--ink);
}
.topic[aria-pressed='true'] {
  background: #302b24;
  color: #fff9ef;
}
.watch-topic:after {
  display: none;
}
.watch-topic {
  margin: 0;
}
.market-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.market-card {
  border: 1px solid #e2dbd0;
  border-radius: 13px;
  background: var(--white);
  box-shadow: 0 2px 6px #382c2004;
}
.market-card:hover {
  border-color: #c4b8a8;
  box-shadow: 0 4px 16px #3b2b1d0a;
}
.mc-body {
  padding: 17px 19px 16px;
}
.mc-meta {
  gap: 8px;
}
.cat {
  font-size: 11px;
  font-weight: 540;
  color: #74695d;
}
.cat i {
  border-radius: 50%;
}
.mc-market {
  flex-direction: row;
  align-items: center;
  gap: 14px;
  margin: 12px 0 21px;
  min-height: 61px;
}
.mc-market img {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  flex: none;
  object-fit: cover;
  background: #f2ece2;
}
.mc-market h3 {
  font-size: clamp(16px, 1.2vw, 19px);
  font-weight: 590;
  line-height: 1.26;
  letter-spacing: -0.032em;
}
.legs {
  gap: 9px;
}
.leg {
  border-radius: 7px;
  padding: 10px 12px;
  font-size: 12px;
}
.legs .yes {
  background: #e8f0e9;
  color: #2a5b45;
}
.legs .no {
  background: #f6e9e3;
  color: #8d4c38;
}
.leg strong {
  font-size: 13px;
}
.mc-foot {
  padding: 11px 19px;
  font-size: 11px;
  color: #756c61;
  background: none;
  border-top: 1px solid #ede7dd;
}
.save-market {
  width: 29px;
  height: 29px;
  color: #837a70;
  border-radius: 7px;
}
.save-market:hover {
  background: #f5eadf;
}
.footer {
  padding-block: 23px 34px;
}
@media (min-width: 1650px) {
  .market-prompt {
    padding-block: 68px 62px;
  }
}
@media (max-width: 1080px) {
  .market-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .market-prompt {
    margin-left: clamp(var(--page-gutter), 18vw, 230px);
    width: min(510px, calc(100% - 2 * var(--page-gutter)));
  }
}
@media (max-width: 720px) {
  :root {
    --page-gutter: 20px;
  }
  .mast {
    min-height: 64px;
    height: 64px;
    flex-wrap: nowrap;
    gap: 20px;
    padding: 0;
  }
  .mast .primary-nav {
    order: 0;
    flex: 0 1 auto;
    align-self: stretch;
    gap: 15px;
  }
  .mast .primary-nav a {
    padding: 0;
    font-size: 13px;
  }
  .mast .primary-nav a[aria-current='page']:after {
    bottom: 9px;
  }
  .header-tools {
    gap: 5px;
  }
  .brand strong {
    font-size: 24px;
  }
  .brand img {
    width: 26px;
    height: 26px;
  }
  .mast .wallet {
    min-height: 38px;
    padding: 0 11px;
  }
  .market-prompt {
    padding: 43px 0 37px;
    margin-left: max(var(--page-gutter), calc(50% - 257px));
  }
  .prompt-heading {
    font-size: clamp(41px, 7.5vw, 56px);
    margin-bottom: 18px;
  }
  .catalog-tools {
    gap: 6px;
  }
  .catalog-bar {
    margin-bottom: 12px;
  }
  .market-grid {
    gap: 12px;
  }
  .catalog-area {
    margin-top: 35px;
  }
  .mc-body {
    padding: 14px;
  }
  .mc-foot {
    padding: 10px 14px;
  }
  .topic-nav {
    margin-bottom: 16px;
  }
}
@media (max-width: 600px) {
  .market-grid {
    grid-template-columns: 1fr;
  }
  .mc-market img {
    width: 49px;
    height: 49px;
  }
  .mc-market h3 {
    font-size: 17px;
  }
  .market-prompt {
    margin-left: var(--page-gutter);
    width: calc(100% - var(--page-gutter) * 2);
    padding: 42px 0 32px;
  }
  .prompt-heading {
    font-size: clamp(38px, 8.8vw, 47px);
  }
  .prompt-box {
    gap: 7px;
    padding-left: 11px;
  }
  .prompt-queries {
    gap: 13px;
  }
  .topic-scroll {
    gap: 3px;
    min-height: 41px;
  }
  .topic {
    padding: 7px 11px;
    font-size: 12px;
  }
  .catalog-bar {
    flex-wrap: wrap;
    row-gap: 10px;
  }
  .catalog-bar > div:first-child {
    gap: 8px;
  }
  .catalog-bar :is(h1, h2) {
    font-size: 33px;
  }
  .tool-select {
    min-height: 36px;
    padding: 7px 9px;
  }
}
@media (max-width: 500px) {
  :root {
    --page-gutter: 16px;
  }
  .mast {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0 12px;
    height: auto;
    padding-top: 10px;
  }
  .mast .primary-nav {
    grid-column: 1/-1;
    grid-row: 2;
    gap: 25px;
    min-height: 44px;
    margin-top: 2px;
  }
  .mast .primary-nav a[aria-current='page']:after {
    bottom: 0;
  }
  .header-tools {
    grid-row: 1;
    grid-column: 2;
  }
  .brand {
    width: max-content;
  }
  .prompt-submit {
    padding-inline: 12px;
  }
  .prompt-submit .js-icon {
    display: none;
  }
}
