.world-map-box {
    border: 1px solid #00ff41;
    background: rgba(0, 255, 65, 0.03);
    padding: 16px 18px 14px;
    margin: 0 0 20px 0;
    box-shadow: 0 0 12px rgba(0, 255, 65, 0.05);
}

.world-map-box h3 {
    color: #00ff41;
    margin: 0 0 8px 0;
    font-size: 0.98em;
    letter-spacing: 0.5px;
    line-height: 1.35;
}

.world-map-lead {
    margin: 0 0 12px 0;
    color: #ccc;
    font-size: 0.86em;
    line-height: 1.45;
}

.world-map-canvas {
    height: 460px;
    width: 100%;
    background: #d5ddc8;
    border: 1px solid #163322;
}

.rg-pin-wrap {
    background: transparent;
    border: 0;
}

.rg-pin {
    width: 18px;
    height: 18px;
    border: 1px solid #00ff41;
    border-radius: 50%;
    background: #050505;
    box-shadow: 0 0 4px rgba(0, 255, 65, 0.45);
    position: relative;
}

.rg-pin img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.rg-pin-count {
    position: absolute;
    top: -6px;
    right: -8px;
    background: #ffcc00;
    color: #111;
    font-size: 9px;
    font-weight: bold;
    font-family: 'Courier New', Courier, monospace;
    min-width: 12px;
    height: 12px;
    line-height: 12px;
    border-radius: 6px;
    padding: 0 2px;
    text-align: center;
}

.leaflet-div-icon.rg-hq-wrap {
    background: transparent;
    border: 0;
    overflow: visible;
}

.rg-hq-btn {
    position: relative;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid #ff1a1a;
    background: #050505;
    cursor: pointer;
    overflow: visible;
}

.rg-hq-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 50%;
    position: relative;
    z-index: 1;
}

.rg-hq-ring {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 14px;
    height: 14px;
    margin: -7px 0 0 -7px;
    border: 2px solid #ff1a1a;
    border-radius: 50%;
    pointer-events: none;
    animation: rg-hq-pulse 1.6s ease-out infinite;
}

@keyframes rg-hq-pulse {
    0% {
        transform: scale(1);
        opacity: 0.95;
    }
    100% {
        transform: scale(2.4);
        opacity: 0;
    }
}

.leaflet-container {
    font-family: inherit;
}

.leaflet-control-attribution {
    font-size: 10px;
    background: rgba(255, 255, 255, 0.88);
}

.leaflet-control-attribution a {
    color: #145c28;
}

.rg-reset {
    margin-bottom: 8px;
    border: none;
}

.rg-reset-btn {
    display: block;
    min-width: 34px;
    height: 30px;
    padding: 0 8px;
    background: #fff;
    color: #111;
    border: 0;
    cursor: pointer;
    font-family: 'Courier New', Courier, monospace;
    font-size: 11px;
    font-weight: bold;
    line-height: 30px;
}

.rg-reset-btn:hover {
    background: #f4f4f4;
}

.rg-creator-tip {
    background: #050505;
    color: #f2f2f2;
    border: 1px solid #00ff41;
    border-radius: 0;
    box-shadow: none;
    font-family: 'Courier New', Courier, monospace;
    font-size: 11px;
    line-height: 1.35;
    padding: 4px 6px;
    white-space: nowrap;
    pointer-events: none;
}

.leaflet-tooltip-top.rg-creator-tip::before {
    border-top-color: #00ff41;
}

.leaflet-tooltip-bottom.rg-creator-tip::before {
    border-bottom-color: #00ff41;
}

.leaflet-tooltip-left.rg-creator-tip::before {
    border-left-color: #00ff41;
}

.leaflet-tooltip-right.rg-creator-tip::before {
    border-right-color: #00ff41;
}

.rg-creator-pop .leaflet-popup-content-wrapper {
    background: #050505;
    color: #f2f2f2;
    border: 1px solid #00ff41;
    border-radius: 0;
    box-shadow: none;
}

.rg-creator-pop .leaflet-popup-tip {
    background: #050505;
}

.rg-creator-pop .leaflet-popup-content {
    margin: 8px 10px;
}

.rg-pop {
    display: flex;
    flex-direction: column;
    gap: 3px;
    font-family: 'Courier New', Courier, monospace;
    min-width: 140px;
}

.rg-pop strong {
    color: #ffcc00;
    font-size: 13px;
}

.rg-pop span {
    color: #ddd;
    font-size: 12px;
}

.rg-pop em {
    color: #00ff41;
    font-style: normal;
    font-size: 12px;
}

.world-map-creators {
    margin-top: 8px;
    max-height: 220px;
    overflow: auto;
}

.world-map-creator {
    margin: 0 0 4px 0;
    color: #ddd;
    font-size: 0.78em;
    line-height: 1.35;
}

.world-map-updated {
    margin: 10px 0 0;
    color: #00ff41;
    font-size: 0.82em;
}

.world-map-tiers {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.world-map-tier {
    border: 1px solid #333;
    background: #0e0e12;
    color: #ddd;
    padding: 4px 8px;
    font-size: 0.78em;
    letter-spacing: 0.2px;
}

.world-map-focus {
    margin: 10px 0 0;
    color: #ffcc00;
    font-size: 0.84em;
}

.world-map-missing {
    margin: 6px 0 0;
    color: #888;
    font-size: 0.75em;
}

@media (max-width: 640px) {
    .world-map-box {
        padding: 12px;
    }

    .world-map-canvas {
        height: 320px;
    }

    .rg-pin {
        width: 16px;
        height: 16px;
    }

    .rg-hq-btn,
    .rg-hq-ring {
        width: 12px;
        height: 12px;
    }

    .rg-hq-ring {
        margin: -6px 0 0 -6px;
    }
}
