/* Compact cards retain their size, including when the feed returns fewer lots. */
.live-heading { display:flex; justify-content:space-between; align-items:end; gap:32px; margin-bottom:30px; }
.live-heading p { max-width:570px; color:var(--muted); margin-top:20px; font-size:18px; }
.live-toolbar { display:flex; flex:none; align-items:center; gap:18px; }
.live-toolbar button { display:flex; align-items:center; justify-content:center; gap:8px; min-height:44px; background:none; color:var(--blue-dark); font-size:13px; white-space:nowrap; }
.live-toolbar button svg { width:18px; height:18px; }
.live-toolbar [data-refresh-lots] { padding:8px 0; }
.lot-rail-controls { display:flex; gap:6px; }
.lot-rail-controls[hidden],.lots-status[hidden],.lot-photo-fallback[hidden] { display:none; }
.lot-rail-controls button { width:44px; border:1px solid var(--line); border-radius:50%; transition:background-color 150ms; }
.lot-rail-controls button:hover:not(:disabled) { background:#edf4fc; }
.lot-rail-controls button:disabled { opacity:.35; cursor:default; }
[data-lots-prev] svg { transform:rotate(180deg); }
.lots-status { color:var(--muted); font-size:13px; margin-bottom:18px; }
.lot-showcase { display:grid; grid-template-columns:minmax(0,1fr) 140px; gap:24px; }
.market-lots { display:grid; grid-auto-flow:column; grid-auto-columns:clamp(232px,calc((100% - 48px) / 4),280px); gap:16px; overflow-x:auto; overscroll-behavior-x:contain; scroll-snap-type:x mandatory; scrollbar-width:thin; scrollbar-color:#b5c7dd transparent; padding:4px 4px 14px; margin:-4px; min-width:0; }
.market-lots { scroll-padding-inline:4px; }
.market-lot { min-width:0; scroll-snap-align:start; }
.market-lot-link { display:flex; flex-direction:column; height:100%; border-radius:8px; cursor:pointer; transition:background-color 160ms; }
.market-lot-link:focus-visible { outline:2px solid var(--blue); outline-offset:2px; background:#f2f6fc; }
.market-lot-link:active { background:#e8f0fb; }
.lot-photo-link { display:block; position:relative; overflow:hidden; border-radius:8px; background:var(--surface); aspect-ratio:1.5; flex:none; }
.lot-photo-link img { width:100%; height:100%; object-fit:cover; transition:transform 400ms var(--ease); }
.lot-photo-fallback { display:grid; height:100%; align-content:center; padding:18px; color:var(--muted); text-align:center; font-size:13px; }
.lot-deadline { position:absolute; bottom:10px; left:10px; background:var(--paper); color:var(--ink); border-radius:4px; padding:6px 8px; font-size:11px; font-weight:500; }
.market-lot-body { display:flex; flex-direction:column; flex:1; padding-top:15px; }
.lot-location { color:var(--muted); font-size:13px; line-height:1.4; min-height:2.8em; }
.market-lot h3 { font-size:20px; line-height:1.22; min-height:2.44em; margin-top:3px; font-weight:550; }
.market-lot dl { margin:17px 0 0; display:grid; gap:12px; padding-bottom:18px; }
.market-lot dl > div { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:baseline; gap:4px 10px; }
.market-lot dt { color:var(--muted); font-size:12px; }
.market-lot dd { margin:0; font-size:18px; font-weight:550; letter-spacing:-.025em; font-variant-numeric:tabular-nums; white-space:nowrap; }
.market-lot dd[data-secondary] { color:var(--muted); }
.market-lot .text-link { font-size:13px; min-height:48px; margin-top:auto; padding-top:12px; border-top:1px solid var(--line); }
.market-lot .text-link svg { width:18px; height:18px; }
.lots-catalog { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:18px; padding:22px 8px; margin-bottom:10px; border-left:1px solid var(--line); color:var(--blue-dark); text-align:center; }
.lots-catalog > span { display:grid; place-items:center; width:58px; height:58px; border-radius:50%; background:var(--blue); color:#fff; transition:background-color 150ms,transform 150ms; }
.lots-catalog svg { width:25px; height:25px; }
.lots-catalog strong { font-size:19px; font-weight:550; }
.lots-catalog:hover > span { background:var(--blue-dark); transform:translateX(3px); }
.lots-catalog:focus-visible { outline:2px solid var(--blue); outline-offset:4px; }
@media(hover:hover) {
 .market-lot-link:hover { background:#f2f6fc; }
 .market-lot-link:hover h3 { color:var(--blue-dark); }
 .market-lot-link:hover img { transform:scale(1.025); }
}
@media(max-width:1000px) {
 .live-heading { align-items:start; flex-direction:column; gap:18px; }
 .live-toolbar { align-self:end; }
 .lot-showcase { grid-template-columns:minmax(0,1fr) 112px; gap:20px; }
}
@media(max-width:700px) {
 .lot-showcase { grid-template-columns:minmax(0,1fr); gap:20px; }
 .market-lots { grid-auto-columns:min(82%,310px); }
 .lots-catalog { flex-direction:row-reverse; justify-content:space-between; border:0; border-radius:8px; padding:16px 20px; background:#edf4fc; margin:0; }
 .lots-catalog > span { width:28px; height:28px; background:none; color:var(--blue-dark); }
 .lots-catalog:hover > span { background:none; }
 .lots-catalog strong { font-size:17px; }
 .lot-location { min-height:1.4em; }
}
@media(max-width:600px) {
 .live-heading h2 { font-size:36px; }
 .live-heading p { font-size:16px; margin-top:16px; }
 .live-heading { margin-bottom:20px; }
 .live-toolbar { align-self:stretch; justify-content:space-between; }
}
@media(prefers-reduced-motion:reduce) {
 .market-lot-link,.lot-photo-link img,.lots-catalog > span,.lot-rail-controls button { transition:none; }
 .lots-catalog:hover > span { transform:none; }
}
