.hpmap-container {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(236, 72, 153, 0.1);
    padding: 25px;
    border: 1px solid #fbcfe8;
}

.hpmap-image-wrapper {
    position: relative;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    background: #fdf2f8;
}

.hpmap-project-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.hpmap-hotspot {
    position: absolute;
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 8px;
    background: rgba(236, 72, 153, 0);
    transition: all 0.1s ease;
}

.hpmap-hotspot:hover {
    background: rgba(236, 72, 153, 0.08);
    border-color: rgba(236, 72, 153, 0.3);
    box-shadow: 0 2px 8px rgba(236, 72, 153, 0.15);
}

.hpmap-tooltip {
    position: fixed;
    background: #fbcfe8;
    color: white;
    padding: 18px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(219, 39, 119, 0.25);
    max-width: 320px;
    z-index: 1000;
    display: none;
    font-size: 14px;
    line-height: 1.6;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transform: scale(0.95);
    opacity: 0;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.hpmap-tooltip.active {
    transform: scale(1);
    opacity: 1;
}

.hpmap-tooltip-title {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 10px;
    color: black;
    letter-spacing: -0.01em;
}

.hpmap-tooltip-content {
    color: rgba(0, 0, 0, 0.95);
    font-weight: 400;
}

.hpmap-tooltip-arrow {
    position: absolute;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid #db2777;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
}

/* 移动端优化 */
@media (max-width: 768px) {
    .hpmap-tooltip {
        max-width: 280px;
        padding: 16px;
        font-size: 13px;
    }
    
    .hpmap-tooltip-title {
        font-size: 16px;
    }
    
    .hpmap-container {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 15px;
    }
    
    .hpmap-container {
        padding: 15px;
    }
    
    .hpmap-tooltip {
        max-width: 250px;
        padding: 14px;
    }
    
    .hpmap-image-wrapper {
        padding: 10px;
    }
}