/* =============================================
   デジタルMAP：いいね・保存・シェア
   ============================================= */

/* ---- ボタン行 ---- */
.spot-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 12px 0 16px;
}

.spot-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 38px;
    padding: 0 16px;
    border: 0;
    border-radius: 999px;
    background: #f1f1f1;
    color: #3b2a25;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition: background-color .15s, color .15s, transform .1s;
    -webkit-tap-highlight-color: transparent;
}

.spot-btn:hover { background: #e6e6e6; }
.spot-btn:active { transform: scale(.96); }

.spot-btn svg {
    flex-shrink: 0;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linejoin: round;
}

/* いいね（押すと赤＋件数） */
.spot-like { padding: 0 14px; }
.spot-like-count:empty { display: none; }
.spot-like.is-active { color: #3b2a25; }
.spot-like.is-active svg { fill: #e5384a; stroke: #e5384a; }

/* 保存（押すと黒く「保存済み」） */
.spot-save.is-active { background: #333; color: #fff; }
.spot-save.is-active:hover { background: #222; }
.spot-save.is-active svg { fill: #fff; stroke: #fff; }

/* シェア */
.spot-share svg { fill: none; }

/* ---- シェアパネル ---- */
.spot-share-sheet {
    position: fixed;
    z-index: 10000;
    box-sizing: border-box;
    max-height: 80vh;
    overflow-y: auto;
    padding: 14px 18px 12px;
    background: #fff;
    border-radius: 16px 16px 0 0;
    box-shadow: 0 -4px 24px rgba(0, 0, 0, .18);
    color: #333;
    animation: spot-sheet-up .2s ease-out;
}

@keyframes spot-sheet-up {
    from { transform: translateY(30px); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
}

.spot-share-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 14px;
    font-weight: 700;
    color: #555;
}

.spot-share-close {
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 50%;
    background: #777;
    color: #fff;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    text-align: center;
}

.spot-share-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.spot-share-list a,
.spot-share-list button {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 9px 2px;
    border: 0;
    background: none;
    color: #444;
    font-size: 13px;
    font-weight: 600;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
}

.spot-share-list img {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    border-radius: 50%;
}

.spot-share-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #a8a8a8;
    color: #fff;
}

/* ---- 保存済み一覧 ---- */
.spot-saved { padding: 56px 20px 24px; }

.spot-saved h2 {
    margin: 0 0 16px;
    font-size: 18px;
    color: #3b2a25;
}

.spot-saved-empty {
    margin: 0;
    font-size: 13px;
    color: #777;
}

.spot-saved-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.spot-saved-item {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 8px 0;
    border: 0;
    border-bottom: 1px solid #eee;
    background: none;
    text-align: left;
    cursor: pointer;
}

.spot-saved-item img {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    border-radius: 8px;
    object-fit: cover;
}

.spot-saved-item span {
    font-size: 14px;
    font-weight: 700;
    color: #3b2a25;
}

/* メニューの「保存済み」アイコン位置合わせ用（既存メニューと同じ見た目） */
.category-menu .menu-saved a { text-decoration: none; }