/* 3D StudioMarket v25.6.1 — shared adaptive card for Product/File Market, Profile and Favorites. */

html body .shared-adaptive-card-v256 {
  min-height: 0 !important;
  height: auto !important;
  align-self: start !important;
}

html body .shared-adaptive-card-v256 .ref-card-body {
  min-height: 0 !important;
  height: auto !important;
  padding: 13px 14px 14px !important;
  gap: 7px !important;
}

html body:not(.light)[data-view="market-products"] #mpGrid .market-card-v241.shared-adaptive-card-v256[data-card-kind="product"] .ref-card-body,
html body:not(.light)[data-view="market-file"] #mfGrid .market-card-v241.shared-adaptive-card-v256[data-card-kind="file"] .ref-card-body,
html body:not(.light)[data-view="favorites"] #favGrid .market-card-v241.shared-adaptive-card-v256[data-card-kind="product"] .ref-card-body,
html body:not(.light)[data-view="favorites"] #favGrid .market-card-v241.shared-adaptive-card-v256[data-card-kind="file"] .ref-card-body,
html body:not(.light)[data-view="seller-profile"] .seller-card-grid-v165 .market-card-v241.shared-adaptive-card-v256[data-card-kind="product"] .ref-card-body,
html body:not(.light)[data-view="seller-profile"] .seller-card-grid-v165 .market-card-v241.shared-adaptive-card-v256[data-card-kind="file"] .ref-card-body {
  min-height: 0 !important;
  height: auto !important;
}

html body[data-view="market-products"] #mpGrid .shared-adaptive-card-v256 .ref-card-title,
html body[data-view="market-file"] #mfGrid .shared-adaptive-card-v256 .ref-card-title,
html body[data-view="favorites"] #favGrid .shared-adaptive-card-v256 .ref-card-title,
html body[data-view="seller-profile"] .seller-card-grid-v165 .shared-adaptive-card-v256 .ref-card-title {
  margin: 0 !important;
  color: var(--v24-ink, #f5f7f9) !important;
  font-size: 18px !important;
  font-weight: 850 !important;
  line-height: 1.25 !important;
  letter-spacing: -0.015em;
}

html body .shared-adaptive-card-v256 .card-sales-line-v256 {
  min-width: 0;
  margin: 1px 0 0;
  color: var(--v24-muted, #929eaa);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.35;
}

html body .shared-adaptive-card-v256 .card-location-v256 {
  min-width: 0;
  margin-top: -2px;
  overflow: hidden;
  color: var(--v24-muted, #929eaa);
  font-size: 10.5px;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

html body .shared-adaptive-card-v256 .card-tag-scroller-v256 {
  width: 100%;
  min-width: 0;
  margin: 1px 0;
  padding: 1px 0 3px;
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
  touch-action: pan-x;
  -webkit-overflow-scrolling: touch;
}

html body .shared-adaptive-card-v256 .card-tag-scroller-v256::-webkit-scrollbar {
  display: none;
}

html body .shared-adaptive-card-v256 .card-tag-scroller-v256 > span {
  width: max-content;
  max-width: 82%;
  min-width: max-content;
  padding: 4px 7px;
  flex: 0 0 auto;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 175, .25);
  border-radius: 999px;
  color: var(--v24-muted, #98a4ae);
  background: rgba(255, 255, 255, .025);
  font-size: 9.5px;
  font-weight: 620;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

html body .shared-adaptive-card-v256 .card-license-line-v256 {
  min-height: 0 !important;
  padding: 2px 0 1px !important;
  align-items: start !important;
}

html body .shared-adaptive-card-v256 .card-license-line-v256 > svg {
  margin-top: 12px;
  color: var(--v24-accent, #10b981);
}

html body .shared-adaptive-card-v256 .card-license-copy-v256 {
  min-width: 0;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr);
  gap: 2px !important;
}

html body .shared-adaptive-card-v256 .card-license-copy-v256 > small {
  color: var(--v24-accent, #10b981) !important;
  font-size: 8px !important;
  font-weight: 760 !important;
  letter-spacing: .11em !important;
}

html body .shared-adaptive-card-v256 .card-license-owner-v256 {
  min-width: 0;
  overflow: visible !important;
  color: var(--v24-ink-soft, #e9edf0) !important;
  font-size: 10.8px !important;
  font-weight: 680 !important;
  line-height: 1.35 !important;
  overflow-wrap: anywhere;
  text-overflow: clip !important;
  white-space: normal !important;
}

html body .shared-adaptive-card-v256 .card-license-collection-v256 {
  min-width: 0 !important;
  display: block !important;
  overflow: visible !important;
  color: var(--v24-muted, #929eaa) !important;
  font-size: 9.8px !important;
  font-weight: 560 !important;
  line-height: 1.35 !important;
  overflow-wrap: anywhere;
  text-overflow: clip !important;
  white-space: normal !important;
}

html body .shared-adaptive-card-v256 .card-adaptive-footer-v256 {
  min-height: 28px;
  margin-top: 3px !important;
  padding-top: 9px !important;
}

html body .shared-adaptive-card-v256 .card-adaptive-footer-v256[data-footer-kind="product"] {
  justify-content: flex-start;
}

html body .shared-adaptive-card-v256 .card-token-price-v256 {
  width: max-content;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  overflow: visible !important;
}

html body .shared-adaptive-card-v256 .card-token-coin-v256 {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  border: 1px solid #ffd56f;
  border-radius: 50%;
  background:
    radial-gradient(circle at 42% 38%, #fff0a8 0 12%, #ffd85c 13% 36%, #e8a820 37% 63%, #b9790b 64% 100%);
  box-shadow: 0 0 10px rgba(244, 184, 43, .42), inset 0 0 0 2px rgba(255, 238, 158, .28);
}

html body .shared-adaptive-card-v256 .card-token-price-v256 > strong {
  color: #fff !important;
  font-size: 16px;
  font-weight: 780;
  line-height: 1;
}

html body .shared-adaptive-card-v256 .card-delivery-v256 {
  color: var(--v24-muted, #929eaa) !important;
  font-size: 10px;
  line-height: 1.3;
  text-align: right;
}

@media (min-width: 601px) {
  html body .market-grid,
  html body .behavior-market-grid,
  html body #mpGrid.behavior-market-grid,
  html body #mfGrid.behavior-market-grid,
  html body #favGrid.behavior-market-grid,
  html body .seller-card-grid-v165 {
    grid-auto-rows: 1fr !important;
    align-items: stretch !important;
  }

  html body .shared-adaptive-card-v256 {
    height: 100% !important;
    align-self: stretch !important;
  }

  html body .shared-adaptive-card-v256 .ref-card-body {
    height: 100% !important;
  }

  html body .shared-adaptive-card-v256 .card-adaptive-footer-v256 {
    margin-top: auto !important;
  }
}

@media (max-width: 600px) {
  html body .market-grid,
  html body .behavior-market-grid,
  html body #mpGrid.behavior-market-grid,
  html body #mfGrid.behavior-market-grid,
  html body #favGrid.behavior-market-grid,
  html body .seller-card-grid-v165 {
    grid-template-columns: 1fr !important;
  }

  html body .shared-adaptive-card-v256 .ref-card-body {
    padding: 13px !important;
    gap: 7px !important;
  }

  html body .shared-adaptive-card-v256 .card-adaptive-footer-v256 {
    margin-top: 3px !important;
  }

  html body .shared-adaptive-card-v256 .card-sales-line-v256 {
    font-size: 11px;
  }

  html body[data-view="market-products"] #mpGrid .shared-adaptive-card-v256 .ref-card-title,
  html body[data-view="market-file"] #mfGrid .shared-adaptive-card-v256 .ref-card-title,
  html body[data-view="favorites"] #favGrid .shared-adaptive-card-v256 .ref-card-title,
  html body[data-view="seller-profile"] .seller-card-grid-v165 .shared-adaptive-card-v256 .ref-card-title {
    font-size: 17px !important;
  }

  html body .shared-adaptive-card-v256 .card-token-price-v256 > strong {
    font-size: 17px;
  }
}
