/* Magic 1Xtra Marketplace: mobile two-column cards and honest image fallbacks.
   Does not affect desktop nav, existing content/API, or the global media player. */
.market-v2-image .mx-listing-placeholder,
.mx-card-img .mx-listing-placeholder {
  position:absolute; inset:0; display:none; align-items:center; justify-content:center;
  flex-direction:column; gap:8px; color:#9cc4e6;
  background:radial-gradient(circle at 50% 30%,#1a3450,#0e1928 70%);
  text-align:center; pointer-events:none;
}
.market-v2-image .mx-listing-placeholder .mx-placeholder-symbol,
.mx-card-img .mx-listing-placeholder .mx-placeholder-symbol {
  display:grid;place-items:center; width:60px;height:60px;border-radius:18px;
  background:#18334a; border:1px solid #34526b; font-size:30px;
}
.market-v2-image .mx-listing-placeholder small,
.mx-card-img .mx-listing-placeholder small {font-size:12px;font-weight:750;color:#a8b7c7}
.market-v2-image.mx-no-listing-image .mx-listing-placeholder,
.mx-card-img.mx-no-listing-image .mx-listing-placeholder{display:flex}
@media(max-width:700px){
  html body.market-route .market-v2 .market-v2-rail,
  html body.market-route .market-v2 .market-v2-recommended{
    display:grid!important;
    grid-auto-flow:row!important;
    grid-auto-columns:auto!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:10px!important;
    overflow:visible!important;
    width:100%!important;
    min-width:0!important;
    padding:2px 0 12px!important;
    scroll-snap-type:none!important;
    -webkit-mask-image:none!important;mask-image:none!important;
  }
  html body.market-route .market-v2 .market-v2-rail > .market-v2-card,
  html body.market-route .market-v2 .market-v2-recommended > .market-v2-card{
    box-sizing:border-box!important;flex:initial!important;width:100%!important;
    min-width:0!important;max-width:100%!important;
    margin:0!important;overflow:hidden!important;
  }
  html body.market-route .market-v2 .market-v2-card-link{display:block;min-width:0}
  html body.market-route .market-v2 .market-v2-image{aspect-ratio:1/1!important;height:auto!important;min-height:0!important}
  html body.market-route .market-v2 .market-v2-card-body{padding:9px 8px 11px!important;min-width:0}
  html body.market-route .market-v2 .market-v2-card-body h3{
    font-size:12px!important;line-height:1.3!important;min-height:32px!important;
    overflow-wrap:anywhere;
  }
  html body.market-route .market-v2 .market-v2-location{font-size:10px!important;overflow-wrap:anywhere}
  html body.market-route .market-v2 .market-v2-card-body strong{font-size:12px!important;overflow-wrap:anywhere}
  html body.market-route .market-v2 .market-v2-heart{width:29px!important;height:29px!important;font-size:19px!important}
  html body.market-route .market-v2 .market-v2-heading{min-width:0}
  html body.market-route .market-v2 .market-v2-heading h2{font-size:clamp(16px,4.4vw,21px)!important}
  html body.market-route .market-v2 .market-v2-section{min-width:0;max-width:100%}
}
