/* Standalone display; intentionally does not load site-wide or admin CSS. */
* { box-sizing: border-box; }
html, body { width: 100%; height: 100%; margin: 0; overflow: hidden; }
[hidden] { display: none !important; }
.showcase {
    background: #0d1117; color: #e6edf3; font: 15px/1.25 "Segoe UI", system-ui, sans-serif;
    display: flex; flex-direction: column; gap: 8px; padding: 8px; height: 100vh; height: 100dvh;
}
.showcase-header {
    flex: 0 0 auto; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
    gap: 8px 18px; padding: 10px 14px; border: 1px solid #2a3a52; border-radius: 8px;
    background: linear-gradient(90deg,#1a2332,#16213e);
}
.showcase-header h1 { font-size: clamp(16px,1.25vw,34px); color: #f0b429; margin: 0; letter-spacing: .06em; white-space: nowrap; }
.showcase-header h1 span { font-size: .65em; }
.showcase-stats, .showcase-controls { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 18px; }
.showcase-stats { font-size: clamp(12px,.9vw,25px); color: #a3b2c6; font-variant-numeric: tabular-nums; }
.showcase-stats strong { color: #4ade80; }
.connection { color: #a3b2c6; font-size: clamp(12px,.8vw,21px); }
.connection.online { color: #4ade80; }
.connection.offline { color: #fbbf24; }
#fullscreen { background: #24344b; color: #e6edf3; border: 1px solid #52647d; border-radius: 5px; padding: 5px 9px; font: inherit; font-size: clamp(11px,.75vw,20px); cursor: pointer; }
#fullscreen:focus-visible { outline: 2px solid #f0b429; }
.showcase-notice { flex: 0 0 auto; background: #372b15; border: 1px solid #8e6c2d; color: #f9d58a; border-radius: 6px; padding: 6px 10px; font-size: clamp(12px,.85vw,22px); }
.showcase-stage { position: relative; flex: 1 1 auto; min-height: 0; min-width: 0; overflow: hidden; }
.showcase-grid { height: 100%; width: 100%; display: grid; grid-template-columns: repeat(var(--cols, 1), minmax(0,1fr)); grid-template-rows: repeat(var(--rows, 1), minmax(0,1fr)); gap: 6px; }
.auction-card {
    position: relative; min-width: 0; min-height: 0; overflow: hidden; container-type: inline-size;
    display: flex; flex-direction: column; justify-content: space-between; gap: 2px;
    border: 1px solid #2a3a52; border-radius: 8px; padding: clamp(6px,.65vw,18px);
    background: linear-gradient(160deg,#1c2733,#141b24);
}
.auction-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 2px; background: linear-gradient(90deg,#f0b429,#e67e22); }
.card-lot, .card-bottom { display: flex; justify-content: space-between; gap: 4px; align-items: center; color: #a3b2c6; font-size: clamp(10px,.75vw,22px); }
.lot, .vehicle-name, .vehicle-meta, .price, .ends { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.live { color: #4ade80; font-weight: 700; white-space: nowrap; }
.live span { animation: live-pulse 1.6s infinite; }
.vehicle-name { font-weight: 700; font-size: clamp(13px,1.05vw,29px); color: #e6edf3; }
.vehicle-meta, .ends { font-size: clamp(11px,.8vw,23px); color: #a3b2c6; }
.price-label { font-size: clamp(10px,.68vw,19px); color: #a3b2c6; }
.price { font-size: clamp(16px,1.32vw,38px); font-weight: 750; color: #4ade80; font-variant-numeric: tabular-nums; letter-spacing: -.025em; }
.price-block { min-width: 0; }
.trend { color: #fbbf24; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.auction-card.bid-flash { animation: bid-flash .85s ease-out; }
.auction-card.bid-flash .price { animation: price-flash .85s ease-out; }
.showcase-grid.page-change { animation: page-in .25s ease-out; }
.showcase-empty { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 12px; color: #a3b2c6; font-size: clamp(16px,2vw,36px); }
@keyframes live-pulse { 50% { opacity: .45; } }
@keyframes bid-flash { 30% { border-color: #f0b429; background: #26372e; } }
@keyframes price-flash { 30% { color: #fbbf24; } }
@keyframes page-in { from { opacity: .55; } to { opacity: 1; } }
@media (min-width: 2400px) { .showcase { padding: 16px; gap: 14px; } .showcase-grid { gap: 12px; } }
@media (max-width: 600px) {
    .showcase { padding: 4px; gap: 4px; }
    .showcase-header { padding: 5px 7px; gap: 4px; }
    .showcase-stats, .showcase-controls { gap: 4px 9px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before { animation: none !important; } }
