/* Show Board — calm, high-contrast, no motion, no clutter.
   Built for a table screen / second monitor / large TV at reading distance. */
:root { color-scheme: dark; }
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: #000; color: #fff;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  min-height: 100vh; display: flex; flex-direction: column;
}
.hidden { display: none !important; }
.topbar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 22px; border-bottom: 2px solid #222;
}
.brand { font-size: 22px; font-weight: 800; letter-spacing: 3px; }
.controls button, .import-label {
  background: #111; color: #fff; border: 2px solid #555; border-radius: 10px;
  padding: 10px 16px; font-size: 17px; cursor: pointer; margin-left: 8px;
}
.file-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.import-msg { padding: 0 22px; font-size: 17px; min-height: 1.2em; }
.import-msg.err { color: #ff8080; }
.import-msg.ok { color: #8dff9a; }
main { flex: 1; display: flex; flex-direction: column; padding: 10px 26px 20px; }
.empty { margin: auto; text-align: center; max-width: 720px; }
.empty h1 { font-size: 52px; margin: 0 0 12px; }
.empty p { font-size: 22px; color: #ccc; line-height: 1.5; }
.lot { flex: 1; display: flex; gap: 40px; align-items: center; }
.lot-main { flex: 1; min-width: 0; }
.lot-photo { max-width: 46vw; max-height: 52vh; border-radius: 12px; margin-bottom: 14px; }
.lot-no { font-size: 24px; color: #aaa; letter-spacing: 2px; margin: 0 0 8px; text-transform: uppercase; }
.lot-name { font-size: clamp(40px, 5.2vw, 84px); line-height: 1.08; margin: 0 0 14px; font-weight: 800; }
.lot-detail { font-size: clamp(22px, 2.4vw, 38px); color: #ddd; margin: 0 0 10px; }
.lot-price { font-size: clamp(56px, 7vw, 120px); font-weight: 900; margin: 6px 0 4px; }
.lot-price-note { font-size: 18px; color: #999; margin: 0; max-width: 60ch; }
.sold-badge {
  display: inline-block; margin-top: 18px; padding: 8px 26px;
  border: 4px solid #ffdf4d; color: #ffdf4d; font-size: 40px; font-weight: 900; letter-spacing: 4px;
}
.qr-side { text-align: center; flex: 0 0 auto; }
.qr-label { font-size: 22px; color: #ccc; margin: 0 0 12px; }
.qr-box { background: #fff; padding: 0; display: inline-block; line-height: 0; }
.qr-grid { border-collapse: collapse; }
.qr-grid td { width: 9px; height: 9px; padding: 0; }
.qr-grid td.on { background: #000; }
.qr-grid td.off { background: #fff; }
.qr-fallback { color: #000; background: #fff; font-size: 18px; padding: 16px; max-width: 340px; line-height: 1.4; }
.qr-caption { font-size: 15px; color: #888; margin-top: 12px; max-width: 380px; overflow-wrap: anywhere; }
.navrow { display: flex; align-items: center; gap: 14px; padding: 16px 0 6px; }
.navrow button {
  background: #fff; color: #000; border: 0; border-radius: 12px;
  font-size: 26px; font-weight: 800; padding: 16px 30px; cursor: pointer;
}
#btnSold { background: #ffdf4d; }
#btnSold:disabled { background: #555; color: #bbb; cursor: default; }
.on-deck { font-size: 21px; color: #bbb; margin-left: 10px; }
.sold-strip {
  border-top: 2px solid #222; margin-top: 12px; padding: 12px 2px 2px;
  display: flex; gap: 14px; align-items: baseline; flex-wrap: wrap;
}
.ticker-head { font-size: 18px; font-weight: 800; letter-spacing: 2px; color: #ffdf4d; text-transform: uppercase; }
.ticker { display: flex; gap: 12px; flex-wrap: wrap; }
.ticker-item { background: #1a1a1a; border: 1px solid #444; border-radius: 999px; padding: 6px 16px; font-size: 19px; }
.ticker-empty { color: #777; font-size: 19px; }
.sold-count { color: #aaa; font-size: 18px; margin-left: auto; }
.footer {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 10px 22px; border-top: 1px solid #1c1c1c; color: #666; font-size: 14px;
}
/* --- v0.1.1 (plan 16 — measurement, not taste; no motion added, calm kept) ---
   Distance-legibility fixture, in numbers (plan 16 #1): at the CSS reference
   size these minimums are the 2 m reading floor set for this build —
   name ≥48px, detail/grade ≥26px, price ≥64px. The owner's second-person
   2 m read at tomorrow's dogfood is the confirming act; if it fails, these
   numbers change once, in numbers. */
.lot-name{font-size:clamp(48px,5.2vw,88px)}
.lot-detail{font-size:clamp(26px,2.4vw,40px)}
.lot-price{font-size:clamp(64px,7vw,128px)}
/* QR reliability (plan 16 #2): 11px modules (was 9px) + a 16px white quiet
   zone around the code on top of the 4-module quiet zone rendered in the
   grid itself. Contrast unchanged: black on white. */
.qr-box{padding:16px}
.qr-grid td{width:11px;height:11px}
.qr-fallback{font-size:20px;font-weight:600}
/* Sold ticker hierarchy (plan 16 #3): most-recent largest, older compress.
   Static sizes only — nothing scrolls or moves. */
.ticker-item.recent{font-size:24px;font-weight:800;border-color:#ffdf4d}
.ticker-item.older{font-size:16px;color:#bbb}
/* Operator status strip (plan 16 #5): small, top, operator-facing only. */
.op-strip{padding:4px 22px 0;font-size:15px;color:#999;margin:0}
