.ump-host {
    position: relative;
    overflow: hidden;
}

.ump-root {
    position: relative;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 196, 84, 0.12), transparent 32%),
        linear-gradient(180deg, rgba(194, 214, 228, 0.9), rgba(117, 142, 163, 0.92));
    user-select: none;
    touch-action: none;
}

.ump-viewport {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    cursor: grab;
}

.ump-viewport.is-dragging {
    cursor: grabbing;
}

.ump-tile-layer,
.ump-overlay-layer {
    position: absolute;
    inset: 0;
}

.ump-tile {
    position: absolute;
    width: 256px;
    height: 256px;
    top: 0;
    left: 0;
    object-fit: cover;
    pointer-events: none;
    will-change: transform;
}

.ump-overlay-layer {
    pointer-events: none;
}

.ump-marker {
    position: absolute;
    top: 0;
    left: 0;
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 50% 50% 50% 0;
    background: linear-gradient(180deg, #4e94d6 0%, #2568a8 100%);
    box-shadow:
        0 10px 18px rgba(0, 0, 0, 0.32),
        0 0 0 3px rgba(255, 255, 255, 0.14);
    transform-origin: 50% 50%;
    pointer-events: auto;
    cursor: grab;
    z-index: 2;
}

.ump-marker::before {
    content: '';
    position: absolute;
    inset: 7px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
}

.ump-marker::after {
    content: '';
    position: absolute;
    bottom: -7px;
    left: 9px;
    width: 10px;
    height: 10px;
    background: inherit;
    transform: rotate(45deg);
    border-radius: 0 0 3px 0;
}

.ump-marker.is-dragging {
    cursor: grabbing;
}

.ump-controls {
    position: absolute;
    top: 12px;
    left: 12px;
    display: grid;
    gap: 8px;
    z-index: 3;
}

.ump-control-btn {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 12px;
    background: rgba(18, 23, 28, 0.82);
    color: #f6f7f8;
    font-size: 1.45rem;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.24);
    transition: transform 0.2s ease, background 0.2s ease, opacity 0.2s ease;
}

.ump-control-btn:hover:not(:disabled) {
    transform: translateY(-1px);
    background: rgba(29, 35, 43, 0.92);
}

.ump-control-btn:disabled {
    opacity: 0.45;
    cursor: default;
}

.ump-attribution {
    position: absolute;
    right: 12px;
    bottom: 10px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(12, 17, 22, 0.62);
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.72rem;
    letter-spacing: 0.01em;
    z-index: 3;
    backdrop-filter: blur(8px);
}
