/* .map-cell is now an <a> (was a <div>) so the whole row links to the
   match detail page - strip default link styling so it still looks like
   plain row content. */
a.map-cell { color: inherit; text-decoration: none; }

.map-thumb.map-thumb-lg {
  width: 64px;
  height: 40px;
  object-fit: cover;
  object-position: center;
  border-radius: 4px;
  flex-shrink: 0;
  display: block;
  background: #1c1f27;
}


.mutator-chip-row { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.mutator-chip {
  display: inline-flex; align-items: center;
  padding: 2px 7px; border-radius: 999px;
  background: rgba(232,103,58,.1); border: 1px solid rgba(232,103,58,.25);
  color: var(--accent, #e8673a);
  font-family: var(--mono); font-size: .6rem; letter-spacing: .01em;
  cursor: default;
}

/* Pull the separator + mode/map block left, closer to the server name.
   Desktop only - mobile switches .lmc to a stacked column (see
   styles.css's max-width:640px block) where this offset would just
   shove the mode/map text out from under the server name. */
.lmc-vsep, .lmc-info { margin-left: -50px; }
@media (max-width: 640px) {
  .lmc-vsep, .lmc-info { margin-left: 0; }
}

/* Search bar now lives inside the card as its header row instead of
   floating above it as a separate pill - flatten it into the card's own
   background/border and let a hairline do the seam, so it reads as one
   continuous panel instead of two stacked boxes. */
.mh-card { padding: 0; overflow: hidden; }
.mh-card .mh-search-form { margin: 0; padding: 14px 18px; }
.mh-card .mh-search-wrap {
  height: 42px; margin-bottom: 0; border-radius: 0; border: none;
  border-bottom: 1px solid var(--border); box-shadow: none; background: transparent;
}
.mh-card .mh-search-wrap:focus-within { box-shadow: none; }

/* Autocomplete dropdown for the map/mode search inputs. Positioned via JS
   (position: fixed + inline top/left from the input's real bounding box)
   rather than nested inside the input, so it can't interfere with the
   site's own .search-wrap/.search-input layout rules. */
.ac-list {
  position: fixed; min-width: 220px;
  background: var(--card, #171a21); border: 1px solid var(--border, #2a2e38);
  border-radius: 8px; box-shadow: 0 8px 24px rgba(0,0,0,.35);
  z-index: 999; max-height: 260px; overflow-y: auto; padding: 4px; display: none;
}
.ac-list.open { display: block; }
.ac-item {
  padding: 7px 10px; border-radius: 6px; font-size: .82rem; cursor: pointer;
  color: var(--text, #e6e8ec); white-space: nowrap; display: flex; align-items: baseline; gap: 6px;
}
.ac-item mark { background: rgba(232,103,58,.35); color: inherit; border-radius: 2px; }
.ac-item:hover, .ac-item.ac-active { background: rgba(232,103,58,.14); }

/* ── Graffiti decal ──────────────────────────────────────────────────────
   Absolutely positioned against body (see body's position:relative in
   styles.css) rather than .page, and appended to body - so left/right
   offsets still measure from the full page width (keeping it out in the
   margin beside the content, not overlapping it), while top sits just
   below the sticky topbar (50px) so it stays near the top of the page
   instead of trailing down to the footer. */
.graff-decal {
  position: absolute;
  top: 260px;
  z-index: 4;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
}
.graff-decal--skull2 { right: 65px; width: 200px; transform: rotate(-8deg); }
.graff-decal--good-robot { left: -30px; top: 400px; width: 420px; }
@media (max-width: 899px) {
  .graff-decal--skull2 { display: none; }
  .graff-decal--good-robot { display: none; }
}
