.harita-page-body {
    background: #121212;
}

.harita-layout {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-height: calc(100vh - 40px);
}

.harita-header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 20px;
    background: #202020;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
}

.harita-kicker {
    display: block;
    margin-bottom: 4px;
    color: #d7ad55;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

.harita-header h1 {
    margin: 0;
    color: #ffffff;
    font-size: 28px;
    line-height: 1.15;
}

.harita-header p {
    margin: 8px 0 0;
    color: #bdbdbd;
}

.harita-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
    min-width: 240px;
}

.harita-meta span {
    padding: 7px 10px;
    color: #ececec;
    font-size: 13px;
    background: #151515;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
}

.harita-shell {
    position: relative;
    flex: 1;
    min-height: 620px;
    background: #0d1110;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    box-shadow: inset 0 0 0 1px rgba(215, 173, 85, 0.05), 0 18px 45px rgba(0, 0, 0, 0.28);
    overflow: hidden;
}

.harita-toolbar {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 800;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px;
    background: rgba(17, 18, 18, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    backdrop-filter: blur(8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.34);
}

.harita-tool {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    color: #f2f2f2;
    background: #262626;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.harita-tool:hover {
    background: #353535;
    border-color: rgba(215, 173, 85, 0.55);
    transform: translateY(-1px);
}

.harita-readout {
    min-width: 170px;
    color: #dcdcdc;
    font-size: 13px;
    white-space: nowrap;
}

.nightuo-map-viewer {
    position: absolute;
    inset: 0;
    overflow: hidden;
    background: #0c0f0e;
    cursor: grab;
    touch-action: none;
    user-select: none;
}

.nightuo-map-viewer.leaflet-container {
    color: #eeeeee;
    font-family: inherit;
}

.nightuo-map-viewer .leaflet-tile-pane {
    filter: saturate(1.08) contrast(1.04);
}

.nightuo-map-viewer .leaflet-tile {
    max-width: none;
    user-select: none;
    image-rendering: auto;
    transition: opacity 0.12s ease;
}

.nightuo-map-viewer.is-native-zoom .leaflet-tile {
    image-rendering: crisp-edges;
}

.nightuo-map-viewer.is-overzoom .leaflet-tile {
    image-rendering: pixelated;
}

.nightuo-map-viewer.leaflet-dragging {
    cursor: grabbing;
}

.nightuo-map-status {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 900;
    transform: translate(-50%, -50%);
    padding: 12px 16px;
    color: #eeeeee;
    background: rgba(0, 0, 0, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
}

.harita-empty {
    padding: 24px;
    color: #eeeeee;
    background: #202020;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
}

.harita-empty h2 {
    margin: 0 0 10px;
    font-size: 22px;
}

.harita-empty p {
    margin: 0 0 12px;
    color: #c8c8c8;
}

.harita-empty code {
    display: block;
    overflow-x: auto;
    padding: 12px;
    color: #f5e4b0;
    background: #111111;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
}

.harita-link-btn {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 7px 12px;
    color: #111111;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    background: #d7ad55;
    border-radius: 6px;
}

.iso-preview-shell {
    min-height: 620px;
    overflow: auto;
    background: #101010;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
}

.iso-preview-shell img {
    display: block;
    max-width: none;
    min-width: 100%;
    height: auto;
}

@media (max-width: 900px) {
    .harita-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .harita-meta {
        justify-content: flex-start;
        min-width: 0;
    }

    .harita-shell {
        min-height: 70vh;
    }

    .harita-toolbar {
        right: 10px;
        left: 10px;
        top: 10px;
    }

    .harita-readout {
        min-width: 0;
        flex: 1;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}
