/* map-core.css
 * furariMap 共通マップスタイル。app / PWA / embed の全 surface で利用する。
 * surface 固有のスタイル（バッジ、レイヤーパネル、ユーザーマーカー等）は各 shell が持つ。
 */

/* POI マーカー（基本形、カテゴリで色変え） */
.poi-marker {
    width: 24px;
    height: 32px;
    background: #e74c3c;
    border: 2px solid #fff;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: transform 0.15s ease;
}
.poi-marker::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
}
.poi-marker:hover {
    transform: rotate(-45deg) scale(1.15);
}

/* カテゴリ別カラー */
.poi-marker[data-category="cafe"]       { background: #8b4513; }
.poi-marker[data-category="restaurant"] { background: #e67e22; }
.poi-marker[data-category="shop"]       { background: #3498db; }
.poi-marker[data-category="station"]    { background: #2ecc71; }
.poi-marker[data-category="landmark"]   { background: #9b59b6; }

/* POI ポップアップ */
.poi-popup {
    padding: 4px;
    max-width: 200px;
}
.poi-popup-title {
    font-weight: 600;
    font-size: 14px;
    color: #333;
    margin-bottom: 4px;
}
.poi-popup-category {
    font-size: 11px;
    color: #666;
    background: #f0f0f0;
    padding: 2px 6px;
    border-radius: 3px;
    display: inline-block;
    margin-bottom: 6px;
}
.poi-popup-desc {
    font-size: 12px;
    color: #555;
    line-height: 1.4;
    margin-bottom: 4px;
}
.poi-popup-address {
    font-size: 11px;
    color: #888;
}
