/* Hauler map page — wide layout (the rest of the site is a 480px frame). */
.hm-wrap { max-width: 1100px; margin: 0 auto; padding: 24px 20px 56px; }
.hm-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.hm-wrap h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); margin: 8px 0 6px; }
.hm-sub { color: var(--ink-soft); font-size: 1rem; max-width: 56ch; margin: 0 0 20px; }
.hm-join { font-size: 0.875rem; font-weight: 800; color: var(--accent-text); border: 1.5px solid var(--accent); border-radius: 999px; padding: 9px 16px; text-decoration: none; background: #fff; }
.hm-join:hover { background: rgba(var(--accent-rgb), 0.06); }

.hm-stats { display: flex; gap: 28px; margin: 0 0 18px; flex-wrap: wrap; }
.hm-stat b { display: block; font-size: 1.75rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
.hm-stat span { font-size: 0.8125rem; color: var(--ink-soft); font-weight: 600; }

/* Map: about half the viewport tall, never wider than its box */
.hm-map { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-float); padding: 12px 12px 6px; }
.hm-map svg { display: block; width: 100%; height: auto; max-height: 50vh; margin: 0 auto; }
.hm-state { fill: #ECEEF1; stroke: #fff; stroke-width: 1; transition: fill-opacity .15s; }
.hm-state.has { fill: var(--accent); cursor: pointer; }
.hm-state.l1 { fill-opacity: .42; } .hm-state.l2 { fill-opacity: .68; } .hm-state.l3 { fill-opacity: 1; }
.hm-state.has:hover, .hm-state.has:focus-visible { fill-opacity: 1; fill: var(--accent-bright); outline: none; }
.hm-state.sel { stroke: var(--ink); stroke-width: 2.2; fill-opacity: 1; }
.hm-caption { text-align: center; font-size: 0.9375rem; font-weight: 700; min-height: 1.6em; margin: 4px 0 4px; color: var(--ink); }
.hm-caption small { font-weight: 500; color: var(--ink-soft); }

/* Filters */
.hm-filters { margin: 22px 0 8px; }
.hm-chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px 0 10px; scrollbar-width: thin; }
.hm-chip { flex: 0 0 auto; font: inherit; font-size: 0.875rem; font-weight: 700; padding: 8px 14px; min-height: 40px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; }
.hm-chip[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.hm-chip:focus-visible, .hm-select:focus-visible, .hm-search:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.hm-chip span { font-weight: 500; opacity: .75; margin-left: 4px; }
.hm-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.hm-search, .hm-select { font: inherit; font-size: 0.9375rem; min-height: 44px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); }
.hm-search { flex: 1 1 220px; min-width: 0; }
.hm-toggle { display: inline-flex; align-items: center; gap: 8px; font-size: 0.9375rem; font-weight: 600; min-height: 44px; }
.hm-count { font-size: 0.875rem; color: var(--ink-soft); font-weight: 600; margin: 14px 0 12px; }

/* Cards */
.hm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.hm-card { display: flex; flex-direction: column; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); padding: 16px; text-decoration: none; color: inherit; box-shadow: 0 1px 2px rgba(20,22,26,.04); transition: box-shadow .15s, transform .15s; }
.hm-card:hover, .hm-card:focus-visible { box-shadow: var(--shadow-float); transform: translateY(-1px); outline: none; }
.hm-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.hm-card-head { display: flex; gap: 12px; align-items: center; }
.hm-av { flex: 0 0 56px; width: 56px; height: 56px; border-radius: 50%; object-fit: cover; background: var(--fill); display: flex; align-items: center; justify-content: center; font-weight: 800; color: var(--ink-soft); }
.hm-name { font-weight: 800; font-size: 1.0625rem; line-height: 1.25; letter-spacing: -0.01em; }
.hm-meta { font-size: 0.8125rem; color: var(--ink-soft); }
.hm-rating { font-size: 0.8125rem; font-weight: 700; color: var(--accent-text); }
.hm-rating i { font-style: italic; font-weight: 500; color: var(--ink-soft); }
.hm-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.hm-link { margin-top: auto; font-size: 0.875rem; font-weight: 800; color: var(--accent-text); }
.hm-empty { grid-column: 1 / -1; text-align: center; padding: 36px 16px; background: var(--fill); border-radius: var(--radius-md); }
.hm-empty h3 { margin: 0 0 6px; }
.hm-empty a { display: inline-block; margin-top: 12px; }
.hm-cta { margin-top: 36px; text-align: center; padding: 28px 18px; border-radius: var(--radius-lg); background: var(--page-bg); }
.hm-cta h2 { margin: 0 0 6px; font-size: 1.375rem; }
.hm-cta p { margin: 0 0 16px; color: var(--ink-soft); }
.hm-wrap .home-footer { margin-top: 36px; }
@media (max-width: 520px) {
  .hm-wrap { padding: 16px 16px 48px; }
  .hm-map { padding: 8px 6px 4px; }
  .hm-stats { gap: 22px; }
}
@media (prefers-reduced-motion: reduce) { .hm-card, .hm-state { transition: none; } }
