/* /near (Près de moi) görünümü */
.near-wrap { padding-bottom: 24px; }

/* izin kartı */
.near-ask { display: flex; gap: 18px; align-items: flex-start; padding: 22px 24px; margin: 4px 0 18px; border: 1px solid var(--border); border-radius: var(--radius); background: linear-gradient(180deg, var(--primary-soft) 0%, var(--surface) 55%); }
.near-ask-icon { flex: 0 0 auto; width: 52px; height: 52px; border-radius: 50%; background: var(--surface); border: 1px solid var(--border); display: grid; place-items: center; font-size: 1.6rem; }
.near-ask-body { flex: 1 1 auto; min-width: 0; }
.near-ask h2 { margin: 0 0 6px; font-size: 1.25rem; }
.near-ask-list { margin: 0 0 14px; padding-inline-start: 1.1em; color: var(--muted); }
.near-ask-list li { margin: 2px 0; }
.near-ask-alt { margin: 10px 0 0; }
.near-or { display: flex; align-items: center; gap: 10px; margin: 16px 0 10px; color: var(--muted); font-size: .85rem; text-transform: uppercase; letter-spacing: .04em; }
.near-or::before, .near-or::after { content: ''; flex: 1; height: 1px; background: var(--border); }

/* durum iletisi */
.near-msg { margin: 8px 0 0; padding: 8px 12px; border-radius: var(--radius-sm); background: var(--surface-2); font-size: .9rem; }
.near-msg-denied, .near-msg-blocked, .near-msg-unavail, .near-msg-unsupported { background: var(--accent-soft); color: #6b4a0c; border: 1px solid #f0d89a; }

/* yer seçimi */
.near-place-lbl { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 4px; }
.near-place-row { display: flex; gap: 8px; flex-wrap: wrap; }
.near-place-row select { flex: 1 1 220px; min-width: 0; padding: 9px 10px; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); background: var(--surface); color: var(--text); font: inherit; }

/* konum çubuğu */
.near-where { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 14px; padding: 10px 14px; margin: 4px 0 12px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.near-where-txt { margin: 0; }
.near-where-act { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.near-where .near-msg { flex-basis: 100%; }
.near-change { position: relative; }
.near-change summary { list-style: none; cursor: pointer; }
.near-change summary::-webkit-details-marker { display: none; }
.near-change-pop { position: absolute; inset-inline-end: 0; top: calc(100% + 6px); z-index: 20; width: min(360px, calc(100vw - 32px)); padding: 12px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); box-shadow: 0 8px 24px rgba(0,0,0,.12); }

/* süzgeçler */
.near-filters { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; margin: 0 0 4px; }
.near-seg { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.near-seg-lbl { font-size: .85rem; color: var(--muted); font-weight: 600; margin-inline-end: 2px; }
.near-filters .chip, .near-chips .chip { border-color: var(--border); background: var(--surface); }
.near-filters .chip.active, .near-chips .chip.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.near-open .near-dot { width: 8px; height: 8px; border-radius: 50%; background: #2e9d5b; display: inline-block; }
.near-open.active .near-dot { background: #fff; }

.near-note { margin: 8px 0 0; }
.near-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin: 12px 0 10px; }
.near-bar p { margin: 0; }
.near-map { height: 420px; border-radius: var(--radius); border: 1px solid var(--border); margin: 0 0 16px; overflow: hidden; }
.near-empty-act { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.near-privacy { margin-top: 18px; }

@media (max-width: 600px) {
  .near-ask { flex-direction: column; padding: 18px 16px; gap: 10px; }
  .near-ask-icon { width: 44px; height: 44px; font-size: 1.3rem; }
  .near-chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
  .near-chips .chip { flex: 0 0 auto; white-space: nowrap; }
  .near-change-pop { position: fixed; inset-inline: 16px; top: auto; bottom: 16px; width: auto; }
  .near-map { height: 320px; }
}
