.ponds-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.market-hero {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-card);
  padding: 18px 20px;
  margin: 10px 0 12px;
  background:
    linear-gradient(135deg, rgba(3,6,5,0.88), rgba(33,24,13,0.82)),
    radial-gradient(circle at 10% 0%, rgba(244,178,74,0.18), transparent 34%),
    radial-gradient(circle at 90% 0%, rgba(255,159,46,0.12), transparent 36%);
  border: 1px solid rgba(244,178,74,0.12);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.market-hero h2 {
  margin: 0 0 6px;
  font-size: clamp(24px, 4vw, 36px);
  line-height: 1.05;
  letter-spacing: -0.8px;
}

.market-hero p {
  max-width: 640px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.market-shell {
  margin: 12px 0 44px;
}

#marketRoot {
  min-height: 180px;
}

#mapSection {
  --map-surface-min-height: 410px;
  --map-surface-height: 65vh;
}

.map-screen {
  width: 100%;
  padding: 12px 0 calc(24px + var(--klevby-bottom-chrome-total));
  background-color: #060706;
  background-image:
    linear-gradient(
      180deg,
      rgba(2, 4, 3, 0.9) 0%,
      rgba(5, 7, 6, 0.84) 38%,
      rgba(6, 8, 7, 0.92) 100%
    ),
    radial-gradient(circle at 14% 0%, rgba(244, 122, 43, 0.1), transparent 42%),
    radial-gradient(circle at 86% 12%, rgba(244, 178, 74, 0.06), transparent 46%),
    linear-gradient(180deg, rgba(4, 6, 5, 0.76) 0%, rgba(2, 3, 3, 0.88) 100%),
    url("../../img/map-screen-bg-dark-river.png");
  background-position: center center, center top, center top, center center, center center;
  background-size: cover, cover, cover, cover, cover;
  background-repeat: no-repeat;
}

.map-stage {
  width: 100%;
  min-width: 0;
  padding: 10px;
  border: 1px solid rgba(244, 178, 74, 0.14);
  border-radius: var(--radius-card);
  background: #121313;
  box-shadow: var(--shadow);
}

.map-status-host:empty,
.map-filters-host:empty {
  display: none;
}

.map-status-host,
.map-filters-host {
  width: 100%;
  min-width: 0;
}

#map {
  width: 100%;
  max-width: 100%;
  height: var(--map-surface-height);
  min-height: var(--map-surface-min-height);
  overflow: hidden;
  border-radius: 16px;
  background: #0d0f0f;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.28);
}

.map-filters-host:not(:empty) {
  padding-top: 8px;
}

#map .maplibregl-ctrl-top-right {
  top: 10px;
  right: 10px;
}

#map .maplibregl-ctrl-group {
  overflow: hidden;
  border: 1px solid rgba(244, 122, 43, 0.58);
  border-radius: 14px;
  background: rgba(21, 22, 21, 0.94);
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(255, 248, 234, 0.04),
    0 0 18px rgba(244, 122, 43, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

#map .maplibregl-ctrl-group button {
  width: 44px;
  height: 44px;
  background-color: transparent;
}

#map .maplibregl-ctrl-group button + button {
  border-top: 1px solid rgba(244, 122, 43, 0.32);
}

#map .maplibregl-ctrl-group button:hover,
#map .maplibregl-ctrl-group button:focus-visible {
  background-color: rgba(244, 122, 43, 0.17);
}

#map .maplibregl-ctrl-group button:focus-visible {
  outline: 2px solid #f47a2b;
  outline-offset: -3px;
}

#map .maplibregl-ctrl-icon {
  filter: invert(92%) sepia(14%) saturate(449%) hue-rotate(334deg) brightness(108%) contrast(102%);
  opacity: 0.94;
}

#map .maplibregl-ctrl-bottom-left {
  left: 6px;
  bottom: 5px;
  z-index: 3;
}

#map .maplibregl-ctrl-bottom-right {
  right: 6px;
  bottom: 5px;
  z-index: 3;
  max-width: calc(100% - 88px);
}

#map .maplibregl-ctrl-attrib {
  margin: 0;
  padding: 2px 5px;
  border: 1px solid rgba(255, 248, 234, 0.08);
  border-radius: 6px;
  background: rgba(13, 15, 15, 0.76);
  color: rgba(255, 248, 234, 0.64);
  font: 500 9px/1.25 Montserrat, sans-serif;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

#map .maplibregl-ctrl-attrib a {
  color: rgba(255, 248, 234, 0.78);
  text-decoration-color: rgba(244, 122, 43, 0.48);
  text-underline-offset: 2px;
}

#map .maplibregl-ctrl-attrib a:hover,
#map .maplibregl-ctrl-attrib a:focus-visible {
  color: #fff8ea;
  text-decoration-color: #f47a2b;
}

#map .klevby-maptiler-logo {
  display: block;
  height: 20px;
  margin: 0;
  padding: 3px 5px;
  border: 1px solid rgba(255, 248, 234, 0.08);
  border-radius: 6px;
  background: rgba(13, 15, 15, 0.76);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.24);
  opacity: 0.78;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

#map .klevby-maptiler-logo:hover,
#map .klevby-maptiler-logo:focus-visible {
  opacity: 1;
}

#map .klevby-maptiler-logo:focus-visible {
  outline: 2px solid #f47a2b;
  outline-offset: 2px;
}

#map .klevby-maptiler-logo img {
  display: block;
  width: auto;
  height: 12px;
  filter: brightness(0) invert(95%) sepia(10%) saturate(485%) hue-rotate(334deg) brightness(107%);
}
/* Market hero premium image */
#marketSection .market-hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(10, 10, 10, 0.96) 0%, rgba(10, 10, 10, 0.82) 46%, rgba(10, 10, 10, 0.38) 100%),
    url("../../img/market-hero-tackle-golden.png") center right / cover no-repeat;
  border: 1px solid rgba(244, 122, 43, 0.28);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.42), inset 0 0 0 1px rgba(255, 208, 138, 0.05);
}

#marketSection .market-hero h2,
#marketSection .market-hero p {
  position: relative;
  z-index: 1;
  max-width: 68%;
}
