.spatial-identify-popup {
    position: absolute;
    bottom: 0;
    left: 6px;
    right: 6px;
    max-height: 28%;
    background: #fff;
    border-radius: 14px 14px 0 0;
    box-shadow: 0 -4px 24px rgba(0,0,0,0.12);
    z-index: 600;
    display: flex;
    flex-direction: column;
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                left 0.25s ease;
}
.spatial-identify-popup.open {
    transform: translateY(0);
}

/* ── 헤더 ── */
.spatial-identify-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px 8px;
    border-bottom: 1px solid #f0f0f0;
    flex-shrink: 0;
}
.spatial-identify-title-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}
.spatial-identify-layer-badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 10px;
    background: linear-gradient(135deg, #e3f2fd, #e8eaf6);
    color: #1565c0;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    flex-shrink: 0;
    max-width: 160px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    letter-spacing: -0.2px;
}
.spatial-identify-total {
    font-size: 11px;
    color: #aaa;
    flex-shrink: 0;
}
.spatial-identify-nav {
    display: flex;
    align-items: center;
    gap: 2px;
    flex-shrink: 0;
}
.spatial-identify-nav-btn {
    width: 24px;
    height: 24px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    background: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    transition: all 0.15s;
}
.spatial-identify-nav-btn:hover {
    background: #f0f4ff;
    border-color: #90caf9;
    color: #1565c0;
}
.spatial-identify-nav-info {
    font-size: 11px;
    color: #999;
    white-space: nowrap;
    min-width: 44px;
    text-align: center;
}
.spatial-identify-close {
    width: 24px;
    height: 24px;
    border: none;
    background: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #bbb;
    border-radius: 6px;
    flex-shrink: 0;
    transition: all 0.15s;
}
.spatial-identify-close:hover {
    background: #fee;
    color: #e53935;
}

/* ── 바디: 2열 그리드 ── */
.spatial-identify-body {
    flex: 1;
    overflow-y: auto;
    padding: 10px 16px 14px;
}
.spatial-identify-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 24px;
}
.spatial-identify-item {
    display: flex;
    align-items: baseline;
    gap: 8px;
    padding: 5px 0;
    border-bottom: 1px solid #f5f5f5;
    min-width: 0;
}
.spatial-identify-item:nth-last-child(-n+2) {
    border-bottom: none;
}
.spatial-identify-key {
    flex-shrink: 0;
    width: 90px;
    font-size: 11px;
    color: #999;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.spatial-identify-val {
    flex: 1;
    font-size: 12px;
    color: #333;
    word-break: break-all;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}
.spatial-identify-empty {
    text-align: center;
    color: #bbb;
    padding: 20px 0;
    font-size: 13px;
}

/* ── 스크롤바 ── */
.spatial-identify-body::-webkit-scrollbar { width: 3px; }
.spatial-identify-body::-webkit-scrollbar-track { background: transparent; }
.spatial-identify-body::-webkit-scrollbar-thumb { background: #ddd; border-radius: 2px; }
.spatial-identify-body:hover::-webkit-scrollbar-thumb { background: #bbb; }
