/* Çevremde ne var — tam ekran keşif (site menüsü yok) */
body.is-near-explore {
  background: #f4f6f8;
}
body.is-near-explore .page-head,
body.is-near-explore .crumbs,
body.is-near-explore .seo-foot,
body.is-near-explore .wa-top,
body.is-near-explore .wa-nav,
body.is-near-explore .wa-nav-desktop,
body.is-near-explore .m-top,
body.is-near-explore .verify-banner,
body.is-near-explore .flashes {
  display: none !important;
}
body.is-near-explore .wa-wrap {
  max-width: none;
  padding: 0;
  margin: 0;
}
@media (max-width: 720px) {
  body.is-near-explore {
    height: 100%;
    overflow: hidden;
  }
  body.is-near-explore .wa-wrap {
    display: flex;
    flex-direction: column;
    height: 100dvh;
    height: 100svh;
    min-height: 0;
    padding: 0;
    padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px));
    box-sizing: border-box;
    overflow: hidden;
  }
}

.nx-shell {
  --nx-blue: #2563eb;
  --nx-blue-soft: #dbeafe;
  --nx-ink: #0f172a;
  --nx-muted: #64748b;
  --nx-line: #e2e8f0;
  --nx-card: #fff;
  --nx-dark: #111827;
  --nx-radius: 22px;
  --nx-head: 112px;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  color: var(--nx-ink);
}
@media (max-width: 820px) {
  .nx-shell {
    --nx-head: 128px;
    flex: 1;
    min-height: 0;
    height: auto;
    overflow: hidden;
  }
}

.nx-top {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 10px;
  padding: calc(10px + env(safe-area-inset-top, 0px)) 14px 8px;
  background: #f4f6f8;
  position: sticky;
  top: 0;
  z-index: 700;
}
.nx-back {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: var(--nx-card);
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.06);
  display: grid;
  place-items: center;
  text-decoration: none;
  color: var(--nx-ink);
  font-size: 18px;
  font-weight: 800;
}
.nx-brand {
  display: none;
}
.nx-icon-btn {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 14px;
  background: var(--nx-card);
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.06);
  display: grid;
  place-items: center;
  font-size: 17px;
  cursor: pointer;
  flex: 0 0 auto;
  color: var(--nx-ink);
}
.nx-icon-btn.on {
  background: var(--nx-dark);
  color: #fff;
}
.nx-search {
  flex: 1 1 220px;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--nx-card);
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.06);
}
.nx-search input {
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 14px;
  font-weight: 600;
  min-width: 0;
}
.nx-loc-banner {
  margin: 0 14px 6px;
  padding: 8px 12px;
  border-radius: 12px;
  background: var(--nx-blue-soft);
  color: #1e40af;
  font-size: 12px;
  font-weight: 600;
}

.nx-filters {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding: 0 14px 10px;
  scrollbar-width: none;
}
.nx-filters::-webkit-scrollbar {
  display: none;
}
.nx-pill {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--nx-card);
  border: 1px solid var(--nx-line);
  color: var(--nx-muted);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: 0.15s;
}
.nx-pill:hover {
  color: var(--nx-ink);
}
.nx-pill.on {
  background: var(--nx-dark);
  border-color: var(--nx-dark);
  color: #fff;
}
.nx-pill-geo {
  border: 0;
  cursor: pointer;
  font: inherit;
  background: var(--nx-blue-soft);
  color: #1d4ed8;
}

.nx-stage {
  display: grid;
  grid-template-columns: minmax(240px, 280px) minmax(0, 1fr) minmax(300px, 340px) 56px;
  gap: 12px;
  padding: 0 14px 14px;
  flex: 1;
  min-height: 0;
  height: calc(100dvh - var(--nx-head));
}
@media (min-width: 821px) {
  #nx-toggle-list {
    display: none;
  }
}
@media (max-width: 1100px) {
  .nx-stage {
    grid-template-columns: minmax(220px, 260px) minmax(0, 1fr) minmax(280px, 320px);
  }
  .nx-rail-right {
    display: none;
  }
}
@media (max-width: 820px) {
  .nx-stage,
  .nx-stage.is-map-focus {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    height: auto;
    padding: 0 14px 10px;
    gap: 0;
  }
  .nx-stage.is-map-focus .nx-rail-left {
    display: none !important;
  }
  .nx-stage:not(.is-map-focus) .nx-rail-left {
    order: 2;
    flex: 1;
    min-height: 0;
    overflow: hidden;
  }
  .nx-canvas {
    order: 1;
    flex: 1 1 auto;
    min-height: 180px;
    position: relative;
    width: 100%;
    height: auto !important;
  }
  .nx-stage:not(.is-map-focus) .nx-canvas {
    flex: 0 0 min(42vh, 320px);
    min-height: 220px;
  }
  .nx-map,
  .nx-canvas .leaflet-container {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
  }
  .nx-rail-detail {
    order: 2;
    position: fixed;
    left: 0;
    right: 0;
    width: auto;
    height: auto;
    bottom: calc(64px + env(safe-area-inset-bottom, 0px));
    max-height: none;
    z-index: 650;
    box-shadow: 0 -8px 40px rgba(15, 23, 42, 0.18);
    border-radius: 20px 20px 0 0;
    padding-top: 8px;
  }
  .nx-rail-detail:not(.is-empty)::before {
    content: "";
    display: block;
    width: 36px;
    height: 4px;
    border-radius: 999px;
    background: #cbd5e1;
    margin: 0 auto 8px;
  }
  .nx-rail-detail.is-empty {
    display: none;
  }
  .nx-rail-detail:not(.is-empty) .nx-detail-panel {
    flex-direction: row;
    align-items: stretch;
    max-height: 132px;
  }
  .nx-rail-detail:not(.is-empty) .nx-detail-media {
    flex: 0 0 92px;
    width: 92px;
  }
  .nx-rail-detail:not(.is-empty) .nx-detail-hero {
    aspect-ratio: 1;
    max-height: none;
    height: 100%;
    min-height: 92px;
    border-radius: 14px 0 0 14px;
  }
  .nx-rail-detail:not(.is-empty) .nx-detail-thumbs {
    display: none !important;
  }
  .nx-rail-detail:not(.is-empty) .nx-detail-scroll {
    flex: 1;
    overflow: hidden;
    padding: 8px 12px 10px 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
  }
  .nx-rail-detail:not(.is-empty) .nx-detail-head {
    margin-bottom: 2px;
  }
  .nx-rail-detail:not(.is-empty) .nx-detail-kicker {
    font-size: 9px;
  }
  .nx-rail-detail:not(.is-empty) h3 {
    margin: 0 0 2px;
    font-size: 15px;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .nx-rail-detail:not(.is-empty) .nx-detail-meta {
    margin: 0 0 8px;
    font-size: 11px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .nx-rail-detail:not(.is-empty) .nx-detail-blurb,
  .nx-rail-detail:not(.is-empty) .nx-detail-facts {
    display: none !important;
  }
  .nx-rail-detail:not(.is-empty) .nx-detail-go {
    min-height: 36px;
    font-size: 12px;
    border-radius: 12px;
    margin-top: auto;
  }
  .nx-mobile-dist {
    display: flex !important;
    flex-shrink: 0;
  }
  .nx-filters,
  .nx-loc-banner {
    flex-shrink: 0;
  }
  .nx-top {
    flex-shrink: 0;
  }
}

.nx-rail-left {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 0;
}
.nx-spot-card {
  border-radius: var(--nx-radius);
  padding: 18px 18px 16px;
  background: var(--nx-card);
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
  position: relative;
}
.nx-spot-card.dark {
  background: linear-gradient(145deg, #111827 0%, #1f2937 100%);
  color: #fff;
}
.nx-spot-tag {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 10px;
}
.nx-spot-card h2 {
  margin: 0;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.nx-spot-card p {
  margin: 6px 0 0;
  font-size: 13px;
  opacity: 0.78;
}
.nx-spot-add {
  position: absolute;
  right: 14px;
  top: 14px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 22px;
  cursor: pointer;
}

.nx-list {
  flex: 1;
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-right: 4px;
  min-height: 0;
}
.nx-place {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--nx-line);
  border-radius: 16px;
  background: var(--nx-card);
  text-align: left;
  cursor: pointer;
  transition: 0.15s;
  font: inherit;
  color: inherit;
}
.nx-place:hover,
.nx-place.on {
  border-color: var(--nx-blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}
.nx-place-av {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  overflow: hidden;
  background: var(--nx-blue-soft);
  display: grid;
  place-items: center;
  font-size: 18px;
}
.nx-place-av img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.nx-place b {
  display: block;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
}
.nx-place small {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  color: var(--nx-muted);
  font-weight: 600;
}
.nx-badge {
  font-size: 11px;
  font-weight: 800;
  color: var(--nx-blue);
  white-space: nowrap;
}

.nx-canvas {
  position: relative;
  border-radius: var(--nx-radius);
  overflow: hidden;
  background: #eef2f7;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
  min-height: 100%;
  height: 100%;
}
.nx-map {
  width: 100%;
  height: 100%;
  min-height: inherit;
}
.nx-canvas .leaflet-container {
  background: #eef2f7;
  font-family: inherit;
}
.nx-canvas .nx-map-pin {
  cursor: pointer;
  pointer-events: none !important;
}
.nx-canvas .nx-map-hit {
  cursor: pointer;
}
.nx-canvas .leaflet-nxNoHit-pane,
.nx-canvas .nx-radius-ring {
  pointer-events: none !important;
}

/* Sağ sabit detay paneli */
.nx-rail-detail {
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100%;
  border-radius: var(--nx-radius);
  background: var(--nx-card);
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.08);
  overflow: hidden;
}
.nx-detail-empty {
  flex: 1;
  display: grid;
  place-content: center;
  gap: 10px;
  padding: 24px;
  text-align: center;
  color: var(--nx-muted);
  font-size: 13px;
  font-weight: 600;
}
.nx-detail-empty-ico {
  font-size: 32px;
  opacity: 0.5;
}
.nx-detail-empty[hidden],
.nx-detail-panel[hidden] {
  display: none !important;
}
.nx-detail-panel {
  display: flex;
  flex-direction: column;
  min-height: 0;
  flex: 1;
}
.nx-detail-media {
  flex: 0 0 auto;
  background: #eef2f7;
}
.nx-detail-hero {
  position: relative;
  aspect-ratio: 16 / 10;
  max-height: 200px;
  overflow: hidden;
  background: linear-gradient(145deg, #dbeafe 0%, #eff6ff 100%);
}
.nx-detail-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.nx-detail-hero img[hidden] {
  display: none !important;
}
.nx-detail-hero-ph {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 48px;
  opacity: 0.35;
}
.nx-detail-hero-ph[hidden] {
  display: none !important;
}
.nx-detail-thumbs {
  display: flex;
  gap: 6px;
  padding: 8px 10px;
  overflow-x: auto;
  scrollbar-width: none;
  border-bottom: 1px solid var(--nx-line);
}
.nx-detail-thumbs::-webkit-scrollbar {
  display: none;
}
.nx-detail-thumbs[hidden] {
  display: none !important;
}
.nx-detail-thumb {
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  background: #eef2f7;
}
.nx-detail-thumb.on {
  border-color: var(--nx-blue);
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.15);
}
.nx-detail-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.nx-detail-scroll {
  flex: 1;
  overflow: auto;
  padding: 14px 16px 18px;
  min-height: 0;
}
.nx-detail-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
}
.nx-detail-kicker {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--nx-blue);
}
.nx-detail-close {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 10px;
  background: var(--nx-line);
  color: var(--nx-muted);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  flex: 0 0 auto;
}
.nx-detail-close:hover {
  background: #cbd5e1;
  color: var(--nx-ink);
}
.nx-rail-detail h3 {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.nx-detail-meta {
  margin: 0 0 10px;
  font-size: 13px;
  color: var(--nx-muted);
  font-weight: 600;
}
.nx-detail-blurb {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--nx-ink);
}
.nx-detail-blurb[hidden] {
  display: none !important;
}
.nx-detail-facts {
  margin: 0 0 14px;
  padding: 0;
}
.nx-fact {
  margin-bottom: 10px;
}
.nx-fact[hidden] {
  display: none !important;
}
.nx-fact dt {
  margin: 0 0 2px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--nx-muted);
}
.nx-fact dd {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 600;
}
.nx-fact a {
  color: var(--nx-blue);
  text-decoration: none;
  word-break: break-all;
}
.nx-fact a:hover {
  text-decoration: underline;
}
.nx-detail-go {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.25);
}
.nx-detail-go:hover {
  filter: brightness(1.05);
}

.nx-rail-right {
  position: relative;
}
.nx-time-rail {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 8px;
}
.nx-dist {
  display: grid;
  grid-template-columns: 12px 1fr;
  gap: 10px;
  align-items: center;
  text-decoration: none;
  color: var(--nx-muted);
  font-size: 11px;
  font-weight: 700;
  padding: 8px 0;
  position: relative;
}
.nx-dist::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--nx-line);
  z-index: 0;
}
.nx-dist:first-child::before {
  top: 50%;
}
.nx-dist:last-child::before {
  bottom: 50%;
}
.nx-dist-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--nx-line);
  position: relative;
  z-index: 1;
}
.nx-dist.on {
  color: var(--nx-blue);
}
.nx-dist.on .nx-dist-dot {
  background: var(--nx-blue);
  border-color: var(--nx-blue);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
}

.nx-mobile-dist {
  display: none;
  gap: 8px;
  overflow-x: auto;
  padding: 0 0 12px;
  scrollbar-width: none;
}
.nx-mobile-dist::-webkit-scrollbar {
  display: none;
}

.nx-fab {
  position: fixed;
  right: 14px;
  bottom: calc(78px + env(safe-area-inset-bottom, 0px));
  display: none;
  flex-direction: column;
  gap: 10px;
  z-index: 600;
}
@media (min-width: 821px) {
  .nx-fab {
    display: none;
  }
}

.nx-empty {
  padding: 24px;
  text-align: center;
  color: var(--nx-muted);
  font-weight: 600;
}
