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

.harita-page-body .main-content {
    height: 100vh;
    overflow: hidden;
    padding: 0;
}

.harita-layout {
    display: flex;
    flex-direction: column;
    gap: 0;
    height: 100vh;
    min-height: 0;
}

.harita-header {
    display: none;
    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: 0;
    background: #0d1110;
    border: 0;
    border-radius: 0;
    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(16, 12, 9, 0.62);
    border: 1px solid rgba(200, 180, 140, 0.22);
    border-radius: 8px;
    backdrop-filter: blur(13px) saturate(1.15);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

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

.harita-tool:hover {
    background: rgba(156, 100, 49, 0.35);
    border-color: rgba(215, 173, 85, 0.65);
    transform: translateY(-1px);
}

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

.harita-jump {
    display: flex;
    align-items: center;
    gap: 6px;
}

.harita-jump input {
    width: 70px;
    min-width: 0;
    height: 38px;
    padding: 0 8px;
    color: #ffffff;
    font-size: 13px;
    background: rgba(0, 0, 0, 0.32);
    border: 1px solid rgba(200, 180, 140, 0.24);
    border-radius: 6px;
    outline: 0;
}

.harita-jump input:focus {
    border-color: rgba(215, 173, 85, 0.7);
}

.harita-jump button {
    height: 38px;
    padding: 0 12px;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    background: linear-gradient(180deg, #9c6431, #3e2611);
    border: 1px solid rgba(200, 180, 140, 0.28);
    border-radius: 6px;
    cursor: pointer;
}

.harita-jump button:hover {
    filter: brightness(1.12);
}

.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.04) contrast(1.02);
}

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

.nightuo-map-viewer .leaflet-tile.is-empty-map-tile {
    opacity: 0 !important;
}

.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.is-iso-map .leaflet-tile,
.nightuo-map-viewer .iso-tiles {
    image-rendering: pixelated;
    image-rendering: crisp-edges;
}

.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: 0;
    }

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

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

    .harita-jump {
        order: 2;
        width: 100%;
    }

    .harita-jump input {
        flex: 1;
        width: auto;
    }
}
