.live-market {
  position: relative;
  overflow: hidden;
  scroll-margin-top: calc(var(--header) + 14px);
  padding: clamp(72px, 8vw, 124px) clamp(18px, 4.5vw, 76px);
  border-bottom: 1px solid var(--line-dark);
  background: #080a09;
  color: var(--white);
}

.live-market-shell {
  max-width: 1480px;
  margin: 0 auto;
}

.live-market-hero {
  position: relative;
  min-height: clamp(520px, 60vw, 760px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--r-lg);
  background: #060807;
  box-shadow: 18px 20px 0 rgba(99, 240, 189, .06);
  isolation: isolate;
}

.live-market-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(6, 8, 7, .98) 0%, rgba(6, 8, 7, .9) 36%, rgba(6, 8, 7, .22) 72%, rgba(6, 8, 7, .1) 100%);
}

.live-market-hero > img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.live-market-copy {
  display: flex;
  min-height: inherit;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  max-width: 880px;
  padding: clamp(32px, 6vw, 88px);
}

.live-market-copy h2 {
  max-width: 820px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(62px, 7.5vw, 124px);
  font-weight: 830;
  line-height: .79;
  letter-spacing: -.065em;
  font-variation-settings: "wdth" 68, "wght" 830;
}

.live-market-copy h2 span {
  display: block;
  color: var(--mint);
}

.live-market-copy > p:not(.section-kicker) {
  max-width: 620px;
  margin: 24px 0 0;
  color: #cbd2cd;
  font-size: clamp(15px, 1.4vw, 19px);
}

.live-market-action {
  display: inline-flex;
  align-items: center;
  min-height: 54px;
  margin-top: 28px;
  padding: 0 20px;
  border-radius: 7px;
  background: var(--mint);
  color: var(--ink);
  font-weight: 850;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.live-market-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(99, 240, 189, .2);
}

.live-market-disclosure {
  display: block;
  max-width: 700px;
  margin-top: 14px;
  padding: 9px 12px;
  border-left: 2px solid var(--magenta);
  border-radius: 0 5px 5px 0;
  background: rgba(7, 9, 8, .66);
  color: #cbd2cd;
  font-size: 10px;
  letter-spacing: .03em;
  backdrop-filter: blur(10px);
}

.live-market-proof {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 22px;
  border: 1px solid var(--line-dark);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, .025);
}

.live-proof {
  min-height: 112px;
  padding: 22px;
  border-right: 1px solid var(--line-dark);
}

.live-proof:last-child {
  border-right: 0;
}

.live-proof strong {
  display: block;
  font-family: var(--display);
  font-size: clamp(31px, 3.2vw, 50px);
  font-weight: 760;
  line-height: .9;
  font-variation-settings: "wdth" 72, "wght" 760;
}

.live-proof span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.live-market-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 470px);
  gap: 28px;
  align-items: end;
  padding: clamp(56px, 7vw, 96px) 0 28px;
  scroll-margin-top: calc(var(--header) + 14px);
}

.live-market-toolbar h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(46px, 5.2vw, 82px);
  font-weight: 790;
  line-height: .86;
  letter-spacing: -.052em;
  font-variation-settings: "wdth" 72, "wght" 790;
}

.live-market-toolbar p {
  max-width: 680px;
  margin: 14px 0 0;
  color: var(--muted);
}

.live-search {
  display: grid;
  gap: 8px;
}

.live-search span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.live-search input {
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  border: 1px solid var(--line-dark);
  border-radius: 7px;
  background: var(--ink-2);
  color: var(--white);
}

.live-category-row {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  padding: 0 0 18px;
  scrollbar-width: none;
}

.live-category-row::-webkit-scrollbar {
  display: none;
}

.live-category {
  flex: 0 0 auto;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line-dark);
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}

.live-category.is-active {
  border-color: var(--mint);
  background: var(--mint);
  color: var(--ink);
}

.live-offer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 13px;
}

.live-offer-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-dark);
  border-radius: var(--r-md);
  background: var(--ink-2);
  transition: transform 260ms cubic-bezier(.2, .8, .2, 1), border-color 260ms ease;
}

.live-offer-card:hover {
  transform: translateY(-5px);
  border-color: rgba(99, 240, 189, .5);
}

.live-offer-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: var(--bone);
}

.live-offer-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms cubic-bezier(.2, .8, .2, 1);
}

.live-offer-card:hover .live-offer-image img {
  transform: scale(1.035);
}

.live-offer-state {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 7px 9px;
  border-radius: 999px;
  background: rgba(7, 9, 8, .86);
  color: var(--mint);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.live-offer-meta {
  display: flex;
  min-height: 182px;
  flex-direction: column;
  padding: 16px;
}

.live-offer-meta h4 {
  margin: 0;
  font-size: 15px;
  line-height: 1.3;
}

.live-offer-id {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.live-offer-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line-dark);
}

.live-offer-bottom strong {
  font-family: var(--display);
  font-size: 25px;
  font-variation-settings: "wdth" 72, "wght" 760;
}

.live-offer-bottom a,
.offer-register-row a {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  padding: 0 6px;
  color: var(--mint);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
}

.live-expand {
  width: 100%;
  min-height: 52px;
  margin-top: 14px;
  border: 1px solid rgba(99, 240, 189, .5);
  border-radius: 7px;
  background: rgba(99, 240, 189, .055);
  color: var(--mint);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: pointer;
}

.live-expand:hover {
  background: var(--mint);
  color: var(--ink);
}

.offer-register {
  margin-top: 18px;
  overflow: hidden;
  border: 1px solid var(--line-dark);
  border-radius: var(--r-md);
}

.offer-register-head,
.offer-register-row {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr) 120px 90px;
  gap: 14px;
  align-items: center;
  min-height: 60px;
  padding: 10px 16px;
}

.offer-register-head {
  min-height: 46px;
  background: rgba(255, 255, 255, .045);
  color: var(--muted);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.offer-register-row {
  border-top: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, .015);
}

.offer-register-row span {
  color: var(--muted);
  font-size: 10px;
}

.offer-register-row strong {
  font-size: 12px;
}

.offer-register-row b {
  font-size: 13px;
}

.live-market-footnote {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 10px;
}

.live-market-empty {
  grid-column: 1 / -1;
  padding: 40px;
  border: 1px dashed var(--line-dark);
  border-radius: var(--r-md);
  color: var(--muted);
  text-align: center;
}

@media (max-width: 980px) {
  .live-offer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .live-market {
    padding-inline: 18px;
  }

  .live-market-hero {
    min-height: 680px;
  }

  .live-market-hero::after {
    background: linear-gradient(0deg, rgba(6, 8, 7, .98) 0%, rgba(6, 8, 7, .82) 52%, rgba(6, 8, 7, .12) 100%);
  }

  .live-market-hero > img {
    object-position: 68% center;
  }

  .live-market-copy {
    justify-content: flex-end;
    padding: 28px;
  }

  .live-market-copy h2 {
    font-size: clamp(55px, 13vw, 82px);
  }

  .live-market-proof {
    grid-template-columns: repeat(2, 1fr);
  }

  .live-proof:nth-child(2) {
    border-right: 0;
  }

  .live-proof:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line-dark);
  }

  .live-market-toolbar {
    grid-template-columns: 1fr;
  }

  .live-offer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .offer-register-head,
  .offer-register-row {
    grid-template-columns: minmax(0, 1fr) 90px 70px;
  }

  .offer-register-head span:first-child,
  .offer-register-row span:first-child {
    display: none;
  }
}

@media (max-width: 470px) {
  .live-market {
    padding-inline: 12px;
  }

  .live-market-hero {
    min-height: 610px;
    border-radius: 10px;
  }

  .live-market-copy {
    padding: 22px 18px;
  }

  .live-market-copy h2 {
    font-size: clamp(50px, 16vw, 68px);
  }

  .live-market-copy > p:not(.section-kicker) {
    font-size: 14px;
  }

  .live-market-proof {
    border-radius: 8px;
  }

  .live-proof {
    min-height: 92px;
    padding: 16px;
  }

  .live-proof strong {
    font-size: 32px;
  }

  .live-offer-grid {
    grid-template-columns: 1fr;
  }

  .live-offer-card {
    display: grid;
    grid-template-columns: 43% 57%;
  }

  .live-offer-image {
    height: 100%;
    aspect-ratio: auto;
  }

  .live-offer-meta {
    min-height: 168px;
    padding: 14px;
  }

  .live-offer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .offer-register-head,
  .offer-register-row {
    grid-template-columns: minmax(0, 1fr) 76px;
    gap: 8px;
  }

  .offer-register-head span:nth-child(3),
  .offer-register-row b {
    display: none;
  }

  .live-market-footnote {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .live-offer-card,
  .live-offer-image img,
  .live-market-action {
    transition: none;
  }
}
