/* Loot Finder features: Found it checklist, site-wide search, New finds feed (lf-features.js). */
.lf-gs { position: relative; z-index: 1200; margin: 8px 0 6px; max-width: 520px; margin-left: auto; }
.lf-gs-box { display: flex; align-items: center; gap: 6px; background: var(--card, #1a1030); border: 1px solid var(--line, rgba(255,120,200,.2)); border-radius: 12px; padding: 0 10px; }
.lf-gs-box:focus-within { border-color: var(--mint, #22e3d3); box-shadow: 0 0 0 2px rgba(34,227,211,.25); }
.lf-gs-ico { font-size: .95rem; opacity: .8; }
.lf-gs-q { flex: 1; min-width: 0; background: transparent; border: 0; outline: 0; color: var(--text, #fff4fb); font: inherit; font-size: 16px; padding: 9px 0; }
.lf-gs-res { position: absolute; left: 0; right: 0; top: calc(100% + 4px); max-height: min(65vh, 520px); overflow: auto; background: var(--bg-2, #140c24); border: 1px solid var(--line, rgba(255,120,200,.2)); border-radius: 12px; box-shadow: var(--shadow, 0 14px 40px rgba(0,0,0,.5)); padding: 4px; -webkit-overflow-scrolling: touch; }
.lf-gs-hit { display: flex; align-items: flex-start; gap: 8px; padding: 8px; border-radius: 8px; color: var(--text, #fff4fb); text-decoration: none; }
.lf-gs-hit:hover, .lf-gs-hit.is-cur, .lf-gs-hit:focus-visible { background: var(--card-2, #25173f); }
.lf-gs-t { display: flex; flex-direction: column; min-width: 0; }
.lf-gs-t b { font-weight: 600; overflow-wrap: anywhere; }
.lf-gs-t small, .lf-fi small { color: var(--muted, #d4c4e4); font-size: .78rem; }
.lf-gs-msg { margin: 6px 8px; color: var(--muted, #d4c4e4); font-size: .85rem; }
.lf-gs-sec { flex: none; font-size: .68rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 2px 6px; border-radius: 6px; background: rgba(255,255,255,.08); color: var(--gold, #ffb347); white-space: nowrap; }
.lf-gs-sec.s-cars { color: var(--mint, #22e3d3); } .lf-gs-sec.s-loot { color: var(--gold, #ffb347); } .lf-gs-sec.s-eggs { color: #b9a3ff; }
.lf-gs-sec.s-street { color: #7fb4ff; }
.lf-gs-sec.s-modshop { color: #ffb347; }
.lf-gs-sec.s-dates { color: var(--coral, #ff3d9a); } .lf-gs-sec.s-glitches { color: #ffd84d; }
.lf-gs .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
/* Found it */
.lf-ft { display: inline-flex; align-items: center; gap: 3px; font-size: .74rem; font-weight: 600; line-height: 1; padding: 6px 9px; min-height: 28px; border-radius: 999px; border: 1px solid var(--line, rgba(255,120,200,.3)); color: var(--muted, #d4c4e4); background: rgba(255,255,255,.04); cursor: pointer; user-select: none; -webkit-tap-highlight-color: transparent; }
.lf-ft:hover { border-color: var(--mint, #22e3d3); color: var(--text, #fff4fb); }
.lf-ft.is-on { background: var(--mint-dim, #13968c); border-color: var(--mint, #22e3d3); color: #fff; }
.lf-ft:focus-visible { outline: 2px solid var(--mint, #22e3d3); outline-offset: 2px; }
.lf-ft-card { margin: 4px 0 6px; font-family: inherit; }
.car.lf-is-found > img, .car.lf-is-found .thumb, .car.lf-is-found h2 { opacity: .55; }
.car.lf-is-found h2::after { content: " ✓"; color: var(--mint, #22e3d3); }
.leaflet-marker-icon.pin.is-found { opacity: .38; filter: grayscale(.85); }
.leaflet-marker-icon.pin.is-found.is-on { opacity: 1; filter: none; }
.lf-prog { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 6px 0 2px; font-size: .86rem; }
.lf-prog-n { font-weight: 700; color: var(--mint, #22e3d3); }
.lf-prog-hide { display: inline-flex; align-items: center; gap: 5px; cursor: pointer; }
.lf-prog-reset { font: inherit; font-size: .78rem; padding: 3px 9px; border-radius: 8px; border: 1px solid var(--line, rgba(255,120,200,.3)); background: transparent; color: var(--muted, #d4c4e4); cursor: pointer; }
.lf-prog-note { color: var(--muted, #d4c4e4); font-size: .74rem; opacity: .8; }
/* New finds feed */
.lf-feed { margin: 10px 0 12px; padding: 10px 12px 8px; border: 1px solid var(--line, rgba(255,120,200,.2)); border-radius: 14px; background: var(--card, #1a1030); }
.lf-feed-head h2 { margin: 0 0 2px; font-size: 1.05rem; letter-spacing: .02em; }
.lf-feed-sum, .lf-feed-prog { margin: 0 0 6px; font-size: .82rem; color: var(--muted, #d4c4e4); }
.lf-feed-prog { color: var(--mint, #22e3d3); }
.lf-feed-row { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; }
.lf-fi { flex: 0 0 196px; scroll-snap-align: start; display: flex; flex-direction: column; gap: 3px; padding: 8px 10px; border-radius: 10px; background: var(--card-2, #25173f); color: var(--text, #fff4fb); text-decoration: none; border: 1px solid transparent; }
.lf-fi:hover, .lf-fi:focus-visible { border-color: var(--mint, #22e3d3); }
.lf-fi .lf-gs-sec { align-self: flex-start; }
.lf-fi b { font-size: .88rem; font-weight: 600; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lf-fi .unverified-flag, .lf-gs-t .unverified-flag { color: var(--gold, #ffb347); }
@media (max-width: 859px) {
  .lf-gs { max-width: none; margin: 6px 0; }
  .lf-gs-res { max-height: 60vh; }
  .lf-fi { flex-basis: 168px; }
  .lf-feed { padding: 8px 10px 6px; }
  .lf-prog-note { display: none; }
}
.lf-feed { position: relative; }
.lf-feed-x { position: absolute; top: 6px; right: 6px; width: 30px; height: 30px; border-radius: 50%; border: 0; background: transparent; color: var(--muted, #d4c4e4); font-size: .9rem; cursor: pointer; }
.lf-feed-x:hover { background: rgba(255,255,255,.08); }
.lf-gs-x, .lf-gs-fab { display: none; }
/* phone map pages (mobile.js body.lf-m): search opens full width from the 🔎 All button in the top bar */
body.lf-m .controls .search { margin-right: 62px; }
body.lf-m .lf-gs-fab { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; position: absolute; top: 8px; right: 10px; width: 54px; height: 46px; border-radius: 12px; border: 1px solid var(--line, rgba(255,120,200,.3)); background: var(--card, #1a1030); color: var(--text, #fff4fb); font: inherit; font-size: 1rem; line-height: 1; cursor: pointer; }
body.lf-m .lf-gs-fab span { font-size: .62rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; margin-top: 2px; }
body.lf-m .lf-gs { display: none; }
body.lf-m.lf-gs-open > .lf-gs { display: flex; flex-wrap: wrap; gap: 8px; position: fixed; z-index: 6000; left: 0; right: 0; top: 0; margin: 0; max-width: none; padding: calc(10px + env(safe-area-inset-top)) 10px 10px; background: var(--bg, #0b0716); box-shadow: 0 8px 30px rgba(0,0,0,.6); }
body.lf-m.lf-gs-open > .lf-gs .lf-gs-box { flex: 1; }
body.lf-m.lf-gs-open > .lf-gs .lf-gs-x { display: block; font: inherit; font-size: .85rem; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line, rgba(255,120,200,.3)); background: transparent; color: var(--text, #fff4fb); }
body.lf-m.lf-gs-open > .lf-gs .lf-gs-res { position: absolute; left: 8px; right: 8px; top: calc(100% + 2px); max-height: calc(100vh - 90px); max-height: calc(100dvh - 90px); }

/* Trending cars (Dec 3, 2026): always 4, desktop / classic home. Phone map view uses the sheet strip in preview.css. */
.lf-trending { margin: 10px 0 12px; padding: 12px 12px 14px; border: 1px solid var(--line, rgba(255,120,200,.2)); border-radius: 14px; background: var(--card, #1a1030); }
.lf-trending[hidden] { display: none; }
.lf-trending h2 { margin: 0 0 10px; font-family: "Anton", Impact, sans-serif; font-weight: 400; letter-spacing: .05em; text-transform: uppercase; font-size: 1.15rem; color: #ffd27a; }
.lf-trending-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.lf-trending-card { display: block; width: 100%; min-width: 0; border: 0; background: none; padding: 0; text-align: left; color: inherit; cursor: pointer; font: inherit; }
.lf-trending-card .frame { position: relative; height: 110px; border-radius: 12px; overflow: hidden; background: #120a22; box-shadow: 0 0 0 1px rgba(255,120,200,.22); }
.lf-trending-card .frame img { position: absolute; left: 50%; top: 54%; width: 170%; height: 170%; transform: translate(-50%, -50%); object-fit: cover; }
.lf-trending-card .name { margin-top: 6px; font-size: 13px; font-weight: 700; line-height: 1.25; color: #fff4fb; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 700px) {
  .lf-trending-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lf-trending-card .frame { height: 88px; }
}
