/* ============================================================
   AncientARK — interaktif harita aracı (/blog/harita/{slug})
   Koyu lacivert + altın; Leaflet CRS.Simple ızgara tabanı.
   ============================================================ */

.harita-page {
    --h-bg: #0b0f20;
    --h-panel: #101733;
    --h-panel-2: #151d3d;
    --h-line: rgba(255, 255, 255, .09);
    --h-gold: #f0c65a;
    --h-gold-soft: rgba(240, 198, 90, .16);
    --h-teal: #46d6c0;
    --h-violet: #b98cff;
    --h-ink: #e8ecf6;
    --h-muted: #a9b4cc;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    /* Sabit site başlığının altından başla (blog.css ile aynı hiza). */
    padding: 128px 16px 48px;
    color: var(--h-ink);
}

.harita-page :focus-visible {
    outline: 2px solid var(--h-gold);
    outline-offset: 2px;
}

.harita-page .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.harita-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
    margin: 10px 0 18px;
}

.harita-head h1 {
    margin: 4px 0 6px;
    font-size: clamp(24px, 3.4vw, 40px);
    line-height: 1.15;
}

.harita-lead {
    margin: 0;
    color: var(--h-muted);
    font-size: 15px;
    max-width: 70ch;
}

.harita-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.harita-vbtn {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 10px;
    border: 1px solid var(--h-line);
    background: rgba(255, 255, 255, .03);
    color: var(--h-ink);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: .04em;
    text-decoration: none;
}

.harita-vbtn:hover {
    border-color: var(--h-gold);
    color: var(--h-gold);
}

.harita-vbtn.is-active {
    background: var(--h-gold);
    border-color: var(--h-gold);
    color: #12162a;
}

.harita-vbtn.is-disabled {
    opacity: .42;
    cursor: not-allowed;
    border-style: dashed;
}

.harita-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 38px;
    padding: 0 4px;
    color: var(--h-gold);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.harita-asa-note {
    flex: 1 0 100%;
    margin: 4px 0 0;
    color: var(--h-muted);
    font-size: 12px;
}

.harita-notice {
    margin: 0 0 14px;
    padding: 12px 14px;
    border: 1px solid rgba(240, 198, 90, .35);
    border-radius: 12px;
    background: rgba(240, 198, 90, .08);
    color: #ffe6a6;
    font-size: 14px;
}

.harita-layout {
    display: grid;
    grid-template-columns: 350px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
}

.harita-panel {
    background: linear-gradient(180deg, var(--h-panel), var(--h-panel-2));
    border: 1px solid var(--h-line);
    border-radius: 16px;
    padding: 14px;
    position: sticky;
    top: 12px;
    max-height: calc(100vh - 24px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.harita-search {
    position: relative;
    display: flex;
    gap: 8px;
}

.harita-search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--h-muted);
    display: inline-flex;
    pointer-events: none;
}

.harita-search input[type="search"] {
    flex: 1 1 auto;
    min-width: 0;
    height: 44px;
    padding: 0 12px 0 38px;
    border-radius: 10px;
    border: 1px solid var(--h-line);
    background: rgba(0, 0, 0, .28);
    color: var(--h-ink);
    font-size: 15px;
    outline: none;
}

.harita-search input[type="search"]:focus {
    border-color: var(--h-gold);
    box-shadow: 0 0 0 3px var(--h-gold-soft);
}

.harita-search-btn {
    height: 44px;
    padding: 0 14px;
    border: 0;
    border-radius: 10px;
    background: var(--h-gold);
    color: #12162a;
    font-weight: 800;
    font-size: 14px;
    cursor: pointer;
}

.harita-layers {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    margin: 12px 0 8px;
    font-size: 13px;
    color: var(--h-muted);
}

.harita-layers label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.harita-layers label.is-disabled {
    opacity: .45;
    cursor: not-allowed;
}

.harita-layers input {
    accent-color: var(--h-gold);
    width: 16px;
    height: 16px;
}

.harita-layers span {
    font-size: 11px;
}

.harita-count {
    margin: 4px 0 10px;
    font-size: 13px;
    color: var(--h-gold);
    font-variant-numeric: tabular-nums;
}

.harita-results {
    overflow: auto;
    min-height: 0;
    padding-right: 4px;
    scrollbar-width: thin;
    scrollbar-color: rgba(240, 198, 90, .35) transparent;
}

.harita-results h2 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 14px 0 6px;
    font-size: 13px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--h-muted);
}

.harita-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 20px;
    padding: 0 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
    color: var(--h-ink);
    font-size: 11px;
    letter-spacing: 0;
}

.harita-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 4px;
}

.harita-result {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 40px;
    padding: 7px 9px;
    border-radius: 9px;
    border: 1px solid transparent;
    color: var(--h-ink);
    text-decoration: none;
    font-size: 14px;
}

.harita-result:hover,
.harita-result:focus-visible {
    background: rgba(255, 255, 255, .05);
    border-color: var(--h-line);
    outline: none;
}

.harita-result.is-active {
    background: var(--h-gold-soft);
    border-color: rgba(240, 198, 90, .45);
}

.harita-result.is-active .hr-name {
    color: var(--h-gold);
}

.hr-swatch {
    flex: 0 0 auto;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #7aa2ff;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, .08);
}

.hr-swatch--creature {
    border-radius: 3px;
    background: rgba(240, 198, 90, .55);
    box-shadow: 0 0 0 2px rgba(240, 198, 90, .22);
}

.hr-name {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hr-count {
    flex: 0 0 auto;
    font-size: 12px;
    color: var(--h-muted);
    font-variant-numeric: tabular-nums;
}

.harita-empty {
    margin: 6px 2px 10px;
    font-size: 13px;
    color: var(--h-muted);
}

.harita-map-wrap {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--h-line);
    background: #060912;
    min-height: 520px;
}

.harita-map {
    width: 100%;
    height: min(78vh, 820px);
    min-height: 520px;
    background:
        radial-gradient(circle at 50% 40%, rgba(46, 72, 140, .28), transparent 62%),
        #060912;
    z-index: 0;
}

.harita-map .leaflet-container {
    background: transparent;
}

.harita-map .leaflet-control-zoom a {
    background: #101733;
    color: var(--h-ink);
    border-color: var(--h-line);
}

.harita-map .leaflet-control-zoom a:hover {
    background: #1b2549;
    color: var(--h-gold);
}

.harita-map .leaflet-control-attribution {
    background: rgba(7, 11, 26, .7);
    color: var(--h-muted);
    font-size: 10px;
}

.harita-map-count {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 500;
    padding: 6px 11px;
    border-radius: 999px;
    background: rgba(7, 11, 26, .82);
    border: 1px solid rgba(240, 198, 90, .38);
    color: var(--h-gold);
    font-size: 12px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    pointer-events: none;
}

.harita-noscript {
    position: absolute;
    top: 52px;
    left: 12px;
    right: 12px;
    z-index: 500;
    margin: 0;
    padding: 9px 12px;
    border-radius: 10px;
    background: rgba(7, 11, 26, .9);
    border: 1px solid var(--h-line);
    color: var(--h-muted);
    font-size: 12px;
    line-height: 1.5;
}

.harita-map-empty[hidden] {
    display: none !important;
}

.harita-map-empty {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 24px;
    text-align: center;
    color: var(--h-muted);
    background: rgba(6, 9, 18, .92);
    z-index: 500;
}

.harita-legend {
    position: absolute;
    left: 12px;
    bottom: 12px;
    z-index: 500;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    padding: 7px 10px;
    border-radius: 10px;
    background: rgba(7, 11, 26, .78);
    border: 1px solid var(--h-line);
    font-size: 11px;
    color: var(--h-muted);
    pointer-events: none;
}

.harita-legend span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    display: inline-block;
}

.dot--gold {
    background: var(--h-gold);
}

.dot--dim {
    background: rgba(255, 255, 255, .18);
}

.dot--zone {
    background: rgba(240, 198, 90, .35);
    border: 1px solid var(--h-gold);
    border-radius: 2px;
}

/* Harita işaretleri (divIcon etiketleri) */
.harita-grid-label {
    color: rgba(255, 255, 255, .28);
    font-size: 10px;
    font-weight: 600;
    text-shadow: 0 1px 2px #000;
    white-space: nowrap;
    pointer-events: none;
    background: none;
    border: 0;
}

/* ------------------------------------------------ F2: panel bileşenleri */

.harita-sheet-handle {
    display: none;
}

.harita-hud {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin: 2px 0 6px;
}

.harita-hud .harita-count {
    margin: 0;
}

.harita-clear {
    flex: 0 0 auto;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 9px;
    border: 1px solid rgba(240, 198, 90, .45);
    background: rgba(240, 198, 90, .1);
    color: var(--h-gold);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.harita-clear:hover {
    background: rgba(240, 198, 90, .2);
}

.harita-crossmap {
    margin: 0 0 8px;
    padding: 8px 10px;
    border: 1px solid var(--h-line);
    border-radius: 10px;
    background: rgba(255, 255, 255, .03);
    color: var(--h-muted);
    font-size: 12px;
    line-height: 1.9;
}

.harita-crossmap-label {
    color: var(--h-ink);
    font-weight: 600;
}

.harita-crossmap a {
    color: var(--h-gold);
    text-decoration: none;
    white-space: nowrap;
}

.harita-crossmap a:hover {
    text-decoration: underline;
}

.harita-crossmap-all {
    color: var(--h-muted) !important;
}

.harita-quick {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 4px 0 10px;
}

.harita-chip {
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid var(--h-line);
    background: rgba(255, 255, 255, .04);
    color: var(--h-ink);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

.harita-chip:hover,
.harita-chip:focus-visible {
    border-color: var(--h-gold);
    color: var(--h-gold);
}

.harita-chip--sug {
    border-color: rgba(240, 198, 90, .4);
    color: var(--h-gold);
}

.harita-linkbtn {
    padding: 0;
    border: 0;
    background: none;
    color: var(--h-gold);
    font-size: 13px;
    font-weight: 600;
    text-decoration: underline;
    cursor: pointer;
}

.harita-noresult {
    padding: 10px 2px;
    color: var(--h-muted);
    font-size: 13px;
    line-height: 1.7;
}

.harita-noresult p {
    margin: 0 0 6px;
}

.harita-result.is-kbd {
    background: rgba(240, 198, 90, .1);
    border-color: rgba(240, 198, 90, .55);
    box-shadow: inset 3px 0 0 var(--h-gold);
}

.harita-layers .lg-shape {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin-right: 2px;
}

.lg-shape {
    display: inline-block;
    flex: 0 0 auto;
    width: 10px;
    height: 10px;
}

.lg-shape--dot {
    border-radius: 50%;
    background: var(--h-gold);
}

.lg-shape--rect {
    border-radius: 2px;
    background: var(--h-teal);
}

.lg-shape--diamond {
    background: var(--h-violet);
    transform: rotate(45deg) scale(.86);
}

.lg-shape--dim {
    border-radius: 50%;
    background: rgba(255, 255, 255, .2);
}

.harita-noscript-top {
    margin: 0 0 14px;
    padding: 10px 14px;
    border: 1px solid var(--h-line);
    border-radius: 10px;
    background: rgba(255, 255, 255, .04);
    color: var(--h-muted);
    font-size: 13px;
}

.harita-notice--muted {
    border-color: var(--h-line);
    background: rgba(255, 255, 255, .04);
    color: var(--h-muted);
}

/* 8x8 hücre rozetleri (z < 2) */
.harita-cell-badge {
    background: none;
    border: 0;
}

.harita-cell-badge span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 26px;
    padding: 0 6px;
    border-radius: 999px;
    border: 1px solid rgba(240, 198, 90, .38);
    background: rgba(7, 11, 26, .78);
    color: var(--h-gold);
    font-size: 11px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.harita-cell-badge.is-selected span {
    background: var(--h-gold);
    color: #12162a;
    border-color: var(--h-gold);
}

/* ASA küme balonları (z >= 2) */
.harita-asa-marker {
    background: none;
    border: 0;
}

.harita-asa-marker span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(240, 198, 90, .8);
    background: rgba(240, 198, 90, .28);
    color: #fff4d6;
    font-size: 10px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .5);
}

.harita-asa-marker.is-selected span {
    background: var(--h-gold);
    color: #12162a;
    border-color: #fff0c0;
}

.harita-asa-marker.is-dim {
    opacity: .15;
}

/* ------------------------------------------------ makale gömme */

.harita-embed {
    position: relative;
    margin: 26px 0;
    border: 1px solid var(--h-line, rgba(255, 255, 255, .09));
    border-radius: 16px;
    overflow: hidden;
    background: var(--h-bg, #0b0f20);
}

.harita-embed [data-map] {
    width: 100%;
    height: 420px;
    background: #060912;
    z-index: 0;
}

.harita-embed .leaflet-container {
    background: #060912;
}

.harita-embed-full {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 500;
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 12px;
    border-radius: 9px;
    border: 1px solid rgba(240, 198, 90, .45);
    background: rgba(7, 11, 26, .88);
    color: #f0c65a;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.harita-embed-full:hover {
    background: #f0c65a;
    color: #12162a;
}

.harita-embed-loading {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: #a9b4cc;
    font-size: 13px;
    background: rgba(6, 9, 18, .9);
    z-index: 400;
}

.harita-embed-loading[hidden] {
    display: none;
}

.harita-embed-note {
    margin: 0;
    padding: 8px 12px;
    border-top: 1px solid rgba(255, 255, 255, .08);
    color: #a9b4cc;
    font-size: 11px;
}

/* ---------------------------------------------------------- tablolar */

.harita-tables {
    margin-top: 22px;
    display: grid;
    gap: 10px;
}

.harita-tables details {
    border: 1px solid var(--h-line);
    border-radius: 12px;
    background: rgba(16, 23, 51, .65);
    overflow: hidden;
}

.harita-tables summary {
    cursor: pointer;
    padding: 12px 14px;
    font-weight: 700;
    font-size: 14px;
    color: var(--h-ink);
    list-style: none;
}

.harita-tables summary::-webkit-details-marker {
    display: none;
}

.harita-tables summary::after {
    content: "+";
    float: right;
    color: var(--h-gold);
    font-weight: 800;
}

.harita-tables details[open] summary::after {
    content: "−";
}

.harita-table-scroll {
    max-height: 360px;
    overflow: auto;
    border-top: 1px solid var(--h-line);
}

.harita-table-scroll--tall {
    max-height: 480px;
}

.harita-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.harita-table th,
.harita-table td {
    padding: 7px 10px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
    vertical-align: top;
}

.harita-table thead th {
    position: sticky;
    top: 0;
    background: #121a38;
    color: var(--h-muted);
    font-size: 11px;
    letter-spacing: .06em;
    text-transform: uppercase;
    z-index: 1;
}

.harita-table code {
    font-size: 11px;
    color: var(--h-muted);
}

.harita-table a {
    color: var(--h-gold);
    text-decoration: none;
    font-weight: 600;
}

.harita-table a:hover {
    text-decoration: underline;
}

.harita-source {
    margin: 6px 2px 0;
    font-size: 12px;
    color: var(--h-muted);
    line-height: 1.6;
}

.harita-source a {
    color: var(--h-gold);
}

/* ---------------------------------------------------------- mobil */

@media (max-width: 900px) {
    .harita-page {
        padding-top: 116px;
    }

    .harita-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .harita-panel {
        position: static;
        max-height: none;
        order: 2;
        min-width: 0;
    }

    .harita-map-wrap {
        order: 1;
        min-height: 0;
        min-width: 0;
    }

    .harita-map {
        height: 60vh;
        min-height: 340px;
    }

    .harita-results {
        max-height: 40vh;
    }

    .harita-legend {
        font-size: 10px;
        gap: 9px;
    }
}

/* ------------------------------------------------ mobil: 55vh harita + alt sheet */
@media (max-width: 768px) {
    .harita-page {
        padding: 96px 10px 104px;
        overflow-x: clip;
    }

    /* Mobilde başlık kompakt: harita ekranın üstünde kalsın. */
    .harita-page .blog-breadcrumb {
        display: none;
    }

    .harita-head {
        margin: 0 0 10px;
        gap: 8px;
    }

    .harita-head .blog-kicker,
    .harita-lead {
        display: none;
    }

    .harita-head h1 {
        margin: 0;
        font-size: 26px;
    }

    .harita-layout {
        display: block;
        min-width: 0;
    }

    .harita-map-wrap {
        height: 55vh;
        min-height: 280px;
        border-radius: 14px;
    }

    .harita-map {
        height: 55vh;
        min-height: 280px;
    }

    .harita-panel {
        position: fixed;
        left: 0;
        right: 0;
        top: auto;
        bottom: 0;
        z-index: 1200;
        width: auto;
        height: 85vh;
        max-height: none;
        padding: 6px 12px 16px;
        border-radius: 18px 18px 0 0;
        border-left: 0;
        border-right: 0;
        border-bottom: 0;
        background: #101733;
        box-shadow: 0 -12px 40px rgba(0, 0, 0, .55);
        transition: transform .25s ease;
        will-change: transform;
        overflow: hidden;
    }

    .harita-panel.sheet-peek {
        transform: translateY(calc(100% - 84px));
    }

    .harita-panel.sheet-half {
        transform: translateY(calc(100% - 45vh));
    }

    .harita-panel.sheet-full {
        transform: translateY(0);
    }

    .harita-sheet-handle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 22px;
        min-height: 22px;
        margin: 0 0 4px;
        padding: 0;
        border: 0;
        background: none;
        touch-action: none;
        cursor: grab;
    }

    .harita-sheet-handle span {
        width: 52px;
        height: 4px;
        border-radius: 999px;
        background: rgba(255, 255, 255, .3);
    }

    .harita-search input[type="search"],
    .harita-search-btn {
        height: 46px;
    }

    .harita-search-btn {
        min-width: 48px;
    }

    .harita-layers {
        margin: 8px 0 4px;
    }

    .harita-layers label {
        min-height: 44px;
    }

    .harita-results {
        flex: 1 1 auto;
        max-height: none;
        padding-bottom: 8px;
    }

    .harita-result {
        min-height: 52px;
    }

    .harita-legend {
        left: 10px;
        right: 10px;
        bottom: 8px;
        justify-content: center;
        font-size: 10px;
    }

    .harita-map-count {
        top: 10px;
        right: 10px;
        font-size: 11px;
    }

    .harita-embed [data-map] {
        height: 300px;
    }

    .harita-table-scroll {
        max-height: 300px;
    }
}

@media (max-width: 520px) {
    .harita-page {
        padding-left: 8px;
        padding-right: 8px;
    }

    .harita-head {
        align-items: flex-start;
    }

    .harita-actions {
        width: 100%;
    }

    .harita-search-btn {
        padding: 0 12px;
    }

    .harita-vbtn {
        min-height: 44px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .harita-page * {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}

/* ------------------------------------------------ atıf satırı */
.harita-credit {
    margin: 8px 2px 0;
    font-size: 11px;
    line-height: 1.5;
    color: #7C87A6;
}
.harita-credit a { color: #A9B4CC; text-decoration: underline; }
.harita-credit a:hover { color: #f0c65a; }

/* çapraz harita: "tümü" tek başına alt satıra düşmesin */
.harita-crossmap { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.harita-crossmap a, .harita-crossmap span { white-space: nowrap; }

/* ------------------------------------------------ F4: mağara katmanı */
.harita-hint {
    margin: 0 0 8px;
    font-size: 11.5px;
    line-height: 1.4;
    color: var(--h-muted);
}

.hr-swatch--cave {
    border-radius: 2px;
    background: var(--h-violet);
    box-shadow: 0 0 0 2px rgba(185, 140, 255, .25);
    transform: rotate(45deg) scale(.86);
}

.harita-result--cave .hr-count {
    max-width: 46%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cave-marker {
    background: none;
    border: 0;
}

.cave-marker .cave-diamond {
    display: block;
    width: 13px;
    height: 13px;
    margin: 2px auto;
    background: var(--h-violet, #b98cff);
    border: 1px solid rgba(255, 255, 255, .78);
    transform: rotate(45deg);
    box-shadow: 0 0 0 3px rgba(185, 140, 255, .22), 0 2px 6px rgba(0, 0, 0, .6);
    transition: transform .15s ease, box-shadow .15s ease;
}

.cave-marker:hover .cave-diamond,
.cave-marker:focus .cave-diamond {
    transform: rotate(45deg) scale(1.22);
    box-shadow: 0 0 0 5px rgba(185, 140, 255, .32), 0 2px 8px rgba(0, 0, 0, .7);
}

.harita-page .leaflet-popup-content-wrapper,
.harita-page .leaflet-popup-tip,
.harita-embed .leaflet-popup-content-wrapper,
.harita-embed .leaflet-popup-tip {
    background: #151d3d;
    color: #e8ecf6;
}

.harita-page .leaflet-popup-content-wrapper,
.harita-embed .leaflet-popup-content-wrapper {
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .5);
}

.harita-page .leaflet-popup-content,
.harita-embed .leaflet-popup-content {
    margin: 10px 12px;
}

.cave-popup {
    min-width: 170px;
    color: #e8ecf6;
}

.cave-popup strong {
    display: block;
    color: #f0c65a;
    font-size: 14px;
    line-height: 1.3;
}

.cave-popup p {
    margin: 6px 0 0;
    font-size: 13px;
    line-height: 1.45;
    color: #c9d2e8;
}

.cave-popup-holds span {
    color: #b98cff;
    font-weight: 700;
}

.cave-popup-img {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 8px;
    color: #46d6c0;
    font-size: 12px;
    font-weight: 700;
}

.harita-page .leaflet-popup-close-button {
    color: #a9b4cc;
}

.harita-page .leaflet-popup-close-button:hover {
    color: #fff;
}

/* F4: mobilde ipucu satırı görünür kalsın (peek yüksekliği biraz artırıldı). */
@media (max-width: 768px) {
    .harita-panel.sheet-peek {
        transform: translateY(calc(100% - 112px));
    }

    .harita-hint {
        display: block;
        margin: 0 0 6px;
        font-size: 11px;
    }
}

/* F4: makale gömme — "Tam ekran" + "Tüm haritalar" */
.harita-embed-actions {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 500;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
    max-width: calc(100% - 20px);
}

.harita-embed-actions .harita-embed-full {
    position: static;
    top: auto;
    right: auto;
    z-index: auto;
}

.harita-embed-all {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 12px;
    border-radius: 9px;
    border: 1px solid rgba(255, 255, 255, .22);
    background: rgba(7, 11, 26, .88);
    color: #e8ecf6;
    font-size: 12px;
    font-weight: 700;
}

.harita-embed-all:hover {
    border-color: rgba(240, 198, 90, .6);
    color: #f0c65a;
}
