/* ================================
   포켓몬 출현 정보 툴팁
================================ */

.pokemon-location-tooltip {
    position: fixed;
    z-index: 10000;
    background: rgba(26, 26, 46, 0.98);
    border: 2px solid #FFCB05;
    border-radius: 12px;
    padding: 12px;
    min-width: 200px;
    max-width: 500px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    animation: tooltipFadeIn 0.2s ease;
    pointer-events: none;
}

/* 지역별 포켓몬 툴팁 */
.pokemon-location-tooltip.region-tooltip {
    max-width: 800px;
    pointer-events: none;
}

@keyframes tooltipFadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tooltip-header {
    font-weight: 700;
    color: #FFCB05;
    margin-bottom: 8px;
    font-size: 14px;
    border-bottom: 1px solid rgba(255, 203, 5, 0.3);
    padding-bottom: 6px;
}

.tooltip-content {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* 지역별 포켓몬 툴팁용 그리드 레이아웃 */
.tooltip-content.region-pokemon-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 4px;
}

.location-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    font-size: 13px;
}

/* 지역별 포켓몬 툴팁용 아이템 스타일 */
.tooltip-content.region-pokemon-grid .location-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4px 2px;
    font-size: 11px;
    text-align: center;
    gap: 3px;
}

.location-name {
    color: #fff;
    font-weight: 500;
}

.tooltip-content.region-pokemon-grid .location-name {
    font-size: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    line-height: 1.2;
}

.location-rate {
    color: #FFCB05;
    font-weight: 700;
    font-size: 12px;
    background: rgba(255, 203, 5, 0.1);
    padding: 2px 8px;
    border-radius: 10px;
}

.tooltip-content.region-pokemon-grid .location-rate {
    font-size: 10px;
    padding: 1px 4px;
    white-space: nowrap;
}
