:root { --bg: #140b28; --panel: #21133d; --ink: #fff4ea; --muted: #cbbdd4; --gold: #ffb347; --line: rgba(255,255,255,.14); }
* { box-sizing: border-box; }
html, body { height: 100%; overflow-x: clip; }
body { margin: 0; color: var(--ink); background: var(--bg); font: 15px/1.45 system-ui, -apple-system, "Segoe UI", sans-serif; }
.app { display: grid; grid-template-columns: 380px 1fr; height: 100%; }
.side { display: flex; flex-direction: column; min-height: 0; padding: 20px; border-right: 1px solid var(--line); }
#map { min-width: 0; height: 100%; }
.back { color: var(--gold); font-size: 14px; font-weight: 700; text-decoration: none; }
h1 { margin: 10px 0 2px; font-size: 26px; line-height: 1.15; }
.note, .count { margin: 0; color: var(--muted); font-size: 13px; }
.filters { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 10px; }
.filters button { min-height: 36px; padding: 5px 11px; color: var(--ink); font: inherit; font-size: 14px; background: #2d1b50; border: 1px solid var(--line); border-radius: 7px; cursor: pointer; }
.filters button[aria-pressed="true"] { color: #24102f; font-weight: 700; background: var(--gold); }
.list { display: grid; align-content: start; gap: 8px; min-height: 0; margin-top: 10px; overflow-y: auto; }
.item img { grid-row: 1 / 3; width: 84px; height: 62px; object-fit: cover; border-radius: 6px; }
.item { display: grid; grid-template-columns: 84px 1fr auto; align-items: start; gap: 2px 10px; width: 100%; padding: 10px; color: var(--ink); font: inherit; text-align: left; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; cursor: pointer; }
.item:hover, .item.is-active { border-color: var(--gold); }
.item strong { font-size: 15px; }
.item b { color: var(--gold); }
.item span { grid-column: 2 / -1; color: var(--muted); font-size: 13px; }
@media (max-width: 760px) {
  .app { display: flex; flex-direction: column; height: auto; min-height: 100%; }
  #map { order: -1; flex: none; height: 52vh; min-height: 320px; }
  .side { padding: 16px; border-right: 0; }
  .list { overflow: visible; }
}
