.yaruga-map-shell {
    position: relative;
    width: 100%;
    min-height: 360px;
    border: 1px solid #d6d3d1;
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(135deg, #ecfdf5, #f5f5f4);
}

.yaruga-map-placeholder {
    min-height: 360px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 28px;
    text-align: center;
    color: #57534e;
}

.yaruga-map-placeholder i {
    font-size: 2.4rem;
    color: #16a34a;
}

.yaruga-map-placeholder p {
    max-width: 620px;
    margin: 0;
    line-height: 1.55;
}

.yaruga-map-load {
    border: 0;
    border-radius: 999px;
    padding: 12px 20px;
    background: #166534;
    color: #fff;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

.yaruga-map-viewport {
    position: relative;
    width: 100%;
    min-height: 420px;
    overflow: hidden;
    touch-action: none;
    cursor: grab;
    background: #e7e5e4;
    user-select: none;
}

.yaruga-map-viewport.dragging { cursor: grabbing; }
.yaruga-map-viewport[hidden], .yaruga-map-placeholder[hidden] { display: none; }

.yaruga-map-tiles,
.yaruga-map-marker-layer {
    position: absolute;
    inset: 0;
}

.yaruga-map-tile {
    position: absolute;
    width: 256px;
    height: 256px;
    max-width: none;
    border: 0;
    pointer-events: none;
}

.yaruga-map-marker {
    position: absolute;
    width: 42px;
    height: 42px;
    margin-left: -21px;
    margin-top: -42px;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    background: #ea580c;
    border: 4px solid #fff;
    box-shadow: 0 8px 22px rgba(28, 25, 23, .35);
    pointer-events: none;
}

.yaruga-map-marker::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    top: 12px;
    left: 12px;
    border-radius: 50%;
    background: #fff;
}

.yaruga-map-controls {
    position: absolute;
    z-index: 4;
    top: 14px;
    right: 14px;
    display: grid;
    gap: 7px;
}

.yaruga-map-control {
    width: 42px;
    height: 42px;
    border: 1px solid rgba(28, 25, 23, .18);
    border-radius: 12px;
    background: rgba(255, 255, 255, .96);
    color: #1c1917;
    font-size: 1.2rem;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 5px 16px rgba(28, 25, 23, .16);
}

.yaruga-map-readout {
    position: absolute;
    z-index: 4;
    left: 14px;
    bottom: 34px;
    max-width: calc(100% - 28px);
    padding: 8px 12px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .94);
    color: #292524;
    font-size: .78rem;
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(28, 25, 23, .14);
}

.yaruga-map-attribution {
    position: absolute;
    z-index: 4;
    right: 8px;
    bottom: 5px;
    padding: 3px 6px;
    border-radius: 5px;
    background: rgba(255, 255, 255, .88);
    color: #57534e;
    font-size: .67rem;
}

.yaruga-map-attribution a { color: #1d4ed8; }

@media (max-width: 640px) {
    .yaruga-map-shell,
    .yaruga-map-placeholder { min-height: 320px; }
    .yaruga-map-viewport { min-height: 390px; }
    .yaruga-map-readout { bottom: 38px; }
}

.yaruga-map-shell:fullscreen {
    width: 100vw;
    height: 100vh;
    border: 0;
    border-radius: 0;
}

.yaruga-map-shell:fullscreen .yaruga-map-viewport {
    width: 100vw;
    height: 100vh;
    min-height: 100vh;
}
