:root { --ink:#1b1f23; --muted:#5c6670; --line:#d9dee3; --paper:#ffffff; --accent:#0b5cad; --soft:#f3f5f7; --hot:#c2410c; --ok:#1d7a3a; --co:#3a444e;
  /* shared type scale (approved 2026-10-22): one ladder for app + home body text */
  --fs-h1:22px; --fs-section:19px; --fs-value:15px; --fs-primary:14.5px; --fs-body:13px; --fs-secondary:12.5px; --fs-meta:12px; --fs-micro:11px; --fs-date:11.5px; --fs-chip:10.5px; }
* { box-sizing: border-box; }
body { margin:0; font:15px/1.45 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif; color:var(--ink); background:var(--paper); }
.topbar { display:flex; align-items:center; gap:1.5rem; padding:.55rem 1.25rem; border-bottom:1px solid var(--line); background:var(--soft); }
.brand { display:inline-flex; align-items:center; gap:.5rem; font-weight:700; font-size:1.05rem; margin-right:auto; color:var(--ink); text-decoration:none; }
.brand-mark { display:inline-grid; place-items:center; width:1.7rem; height:1.7rem; border-radius:6px; background:var(--accent); color:#fff; font-size:.75rem; font-weight:700; }
.topnav a { text-decoration:none; font-weight:600; color:var(--muted); padding:.3rem .7rem; }
.btn { font:inherit; font-weight:600; padding:.5rem 1.1rem; border:1px solid var(--accent); border-radius:6px; background:var(--accent); color:#fff; }
.btn.ghost { background:#fff; color:var(--accent); }
main { max-width:1100px; margin:0 auto; padding:2.2rem 1.25rem 2.5rem; }
h1 { font-size:2.1rem; line-height:1.15; margin:0 0 .5rem; letter-spacing:-.01em; }
.lede { font-size:1.15rem; color:var(--muted); margin:0 0 2rem; max-width:44rem; }
.q { font-size:1.05rem; font-weight:700; margin:0 0 .8rem; }
.trades { display:grid; grid-template-columns:repeat(3,1fr); gap:.9rem; margin-bottom:1.8rem; }
.trade { border:1px solid var(--line); border-radius:8px; padding:1rem 1.1rem; display:grid; gap:.25rem; background:#fff; }
.trade b { font-size:1.08rem; color:var(--accent); }
.trade span { color:var(--muted); font-size:.88rem; }
.trade.sel { border:2px solid var(--accent); box-shadow:0 2px 8px rgba(11,92,173,.15); }
.trade.other b { color:var(--ink); }
.where { display:flex; gap:.8rem; align-items:center; margin-bottom:2rem; }
.where select, .where input { font:inherit; padding:.55rem .7rem; border:1px solid var(--line); border-radius:6px; min-width:16rem; background:#fff; }
.secondary { border-top:1px solid var(--line); padding-top:1rem; color:var(--muted); }
.secondary a { color:var(--accent); font-weight:600; text-decoration:none; }
.crumb { color:var(--muted); font-size:.9rem; margin-bottom:.4rem; }
.cap { font-size:.78rem; text-transform:uppercase; letter-spacing:.05em; color:var(--muted); font-weight:700; margin:0 0 .6rem; }
.stats { display:grid; grid-template-columns:repeat(3,1fr); gap:.9rem; margin-bottom:1.8rem; }
.stat { display:grid; gap:.15rem; padding:1rem 1.1rem; border:1px solid var(--line); border-radius:8px; background:var(--soft); }
.stat-value { font-size:2rem; line-height:1.1; color:var(--accent); font-weight:700; }
.stat-label { color:var(--muted); font-size:.9rem; }
.stat.hot .stat-value { color:var(--hot); }
.list { border:1px solid var(--line); border-radius:8px; overflow:hidden; margin-bottom:.6rem; }
.row { display:grid; grid-template-columns:9rem 1fr auto; gap:1rem; padding:.8rem 1.1rem; border-top:1px solid var(--line); align-items:center; }
.row:first-child { border-top:0; }
.city { font-weight:700; }
.what { color:var(--ink); }
.what small { display:block; color:var(--muted); }
.tag { font-size:.78rem; font-weight:700; padding:.2rem .55rem; border-radius:999px; background:#fdecdf; color:var(--hot); white-space:nowrap; }
.tag.new { background:#e6f0fa; color:var(--accent); }
.locked { color:var(--muted); font-size:.88rem; margin:0 0 1.8rem; }
.find { border:2px solid var(--accent); border-radius:10px; padding:1.2rem 1.3rem; background:linear-gradient(180deg,#f5f9fd,#fff); }
.find h2 { margin:0 0 .3rem; font-size:1.25rem; }
.find p { margin:0 0 .9rem; color:var(--muted); }
.find .where { margin:0; }
.note { text-align:center; color:var(--muted); font-size:.78rem; margin-top:1.4rem; }
@media (max-width:600px) {
  main { padding:1.3rem 1rem 2rem; }
  h1 { font-size:1.6rem; }
  .trades, .stats { grid-template-columns:1fr 1fr; }
  .row { grid-template-columns:1fr; gap:.2rem; } .tag { justify-self:start; }
  .where { flex-direction:column; align-items:stretch; }
  .where select, .where input { min-width:0; }
  .topnav { display:none; }
}
