.market-head{margin-bottom:24px}.market-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:20px 0}.market-filters label{display:grid;gap:5px}.market-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.market-card{border:1px solid #cbd9df;border-radius:16px;padding:14px;min-width:0}.market-card img,.market-placeholder{width:100%;height:180px;object-fit:cover;border-radius:10px}.market-placeholder{display:grid;place-items:center;background:#e5edf0;color:#324c59}.market-card h2{font-size:19px;overflow-wrap:anywhere}.market-detail{padding:20px;border:1px solid #cbd9df;border-radius:16px}.market-price{font-size:28px;font-weight:700}.market-facts{display:grid;grid-template-columns:1fr 2fr;gap:10px}.market-facts dt{font-weight:bold}.market-facts dd{margin:0;overflow-wrap:anywhere}.market-description{overflow-wrap:anywhere}.market-detail input{max-width:100%}#listing-errors{border:2px solid #c74747;border-radius:12px;padding:14px;margin:16px 0}[data-housing][hidden]{display:none}@media(max-width:550px){.market-grid,.market-filters{grid-template-columns:1fr}.market-detail{padding:12px}.market-card img{height:220px}}

/* Stable photo area, including before the first download finishes. */
.market-detail > .album .album-track{aspect-ratio:4/3;max-height:650px}
.market-detail > .album .album-slide{height:100%}
.market-detail > .album .message-photo{height:100%;display:flex;align-items:center;justify-content:center}
.market-detail > .album img{height:100%;max-height:100%;object-fit:contain}
.market-detail > .album .album-controls{height:52px;box-sizing:border-box}
.market-detail > .album .album-controls[hidden]{display:flex;visibility:hidden}
