/* Aikuto Travel Frontend Map · v2.6.0 */
.atk-travel-public {
    --atk-front-text: #1f2937;
    --atk-front-muted: #64748b;
    --atk-front-primary: #c75a08;
    --atk-front-primary-dark: #9a4305;
    --atk-front-cluster-color: #c75a08;
    --atk-front-cluster-light: #fb923c;
    --atk-front-cluster-text: #ffffff;
    --atk-front-card: #fff;
    --atk-front-line: #e2e8f0;
    --atk-front-shadow: 0 18px 46px rgba(15, 23, 42, .12);
    width: min(100%, 1480px);
    margin: 0 auto 36px;
    color: var(--atk-front-text);
}
.atk-travel-public * { box-sizing: border-box; }
.atk-travel-titlebar {
    display: flex;
    justify-content: center;
    text-align: center;
    padding: 10px 12px 22px;
}
.atk-travel-titlebar h1 {
    margin: 0;
    font-size: clamp(28px, 3.2vw, 44px);
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: .02em;
}
.atk-travel-titlebar p {
    margin: 0;
    color: var(--atk-front-muted);
    font-size: 15px;
    line-height: 1.7;
}
.atk-travel-map-shell {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--atk-front-line);
    border-radius: 18px;
    background: #dbe5e7;
    box-shadow: var(--atk-front-shadow);
}
.atk-travel-map {
    width: 100%;
    min-height: 420px;
    background: #dbe5e7;
}
.atk-travel-filter {
    position: absolute;
    z-index: 500;
    left: 50%;
    top: 18px;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    padding: 8px;
    border-radius: 18px;
    background: rgba(255,255,255,.94);
    box-shadow: 0 12px 30px rgba(15, 23, 42, .18);
    backdrop-filter: blur(8px);
}
.atk-travel-filter button {
    appearance: none;
    border: 0;
    border-radius: 13px;
    padding: 9px 18px;
    background: transparent;
    color: var(--atk-front-text);
    font-weight: 800;
    font-size: 15px;
    cursor: pointer;
}
.atk-travel-filter button.is-active {
    background: var(--atk-front-primary);
    color: #fff;
    box-shadow: 0 8px 18px rgba(199, 90, 8, .28);
}
.atk-travel-counter {
    position: absolute;
    z-index: 500;
    right: 20px;
    bottom: 20px;
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    padding: 13px 16px;
    border-radius: 14px;
    background: rgba(17,24,39,.78);
    color: rgba(255,255,255,.78);
    font-size: 15px;
    backdrop-filter: blur(8px);
}
.atk-travel-counter strong { color: #fff; font-size: 18px; }
.atk-travel-counter span:last-child strong { color: #38bdf8; }
.atk-travel-empty {
    position: absolute;
    z-index: 501;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    max-width: 460px;
    padding: 18px 20px;
    border-radius: 18px;
    background: rgba(255,255,255,.94);
    color: var(--atk-front-muted);
    text-align: center;
    box-shadow: var(--atk-front-shadow);
}
.atk-front-marker { background: transparent; border: 0; }
.atk-front-marker-bubble {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    overflow: hidden;
    border: 3px solid #fff;
    border-radius: 999px;
    color: #fff;
    font-weight: 900;
    font-size: 14px;
    box-shadow: 0 10px 22px rgba(15, 23, 42, .25);
}
.atk-front-marker-bubble img { width: 100%; height: 100%; object-fit: cover; }
.atk-front-marker-bubble.visited { background: var(--atk-front-primary); }
.atk-front-marker-bubble.wishlist { background: #7c3aed; }
.atk-front-marker-bubble.planned { background: #d97706; }
.atk-front-popup .leaflet-popup-content-wrapper {
    overflow: hidden;
    border-radius: 18px;
    padding: 0;
    box-shadow: var(--atk-front-shadow);
}
.atk-front-popup .leaflet-popup-content {
    margin: 0;
    width: 360px !important;
    max-width: calc(100vw - 70px);
}
.atk-front-popup-cover {
    height: 150px;
    background: linear-gradient(135deg, #e2e8f0, #f8fafc);
}
.atk-front-popup-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.atk-front-popup-body { padding: 16px 18px 18px; }
.atk-front-popup-body h3 {
    margin: 0 0 8px;
    font-size: 21px;
    font-weight: 900;
    line-height: 1.25;
}
.atk-front-popup-meta { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 10px; }
.atk-front-badge {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 4px 9px;
    background: #f1f5f9;
    color: #475569;
    font-size: 12px;
    font-weight: 800;
}
.atk-front-badge.visited { background: #dcfce7; color: #166534; }
.atk-front-badge.wishlist { background: #ede9fe; color: #5b21b6; }
.atk-front-badge.planned { background: #fef3c7; color: #92400e; }
.atk-front-popup-notes {
    margin: 0;
    color: var(--atk-front-muted);
    font-size: 14px;
    line-height: 1.75;
}
.atk-front-tag-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.atk-front-tag {
    display: inline-flex;
    padding: 4px 8px;
    border-radius: 999px;
    background: #e0f2fe;
    color: #075985;
    font-size: 12px;
    font-weight: 800;
}
.atk-travel-public .leaflet-control-zoom a { font-weight: 900; }
@media (max-width: 760px) {
    .atk-travel-public {
        width: 100%;
        margin: 0 auto 22px;
        padding: 0 10px;
    }
    .atk-travel-titlebar { padding: 6px 6px 14px; }
    .atk-travel-titlebar h1 { font-size: 25px; }
    .atk-travel-map-shell { border-radius: 15px; }
    .atk-travel-map {
        height: min(72vh, 620px) !important;
        min-height: 520px;
    }
    .atk-travel-filter {
        left: 10px;
        right: 10px;
        top: 10px;
        width: auto;
        transform: none;
        justify-content: space-between;
        gap: 5px;
        padding: 6px;
        border-radius: 15px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .atk-travel-filter button {
        flex: 1 0 auto;
        min-width: 58px;
        padding: 8px 10px;
        font-size: 13px;
        border-radius: 11px;
        white-space: nowrap;
    }
    .atk-travel-counter {
        left: 10px;
        right: 10px;
        bottom: 10px;
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 6px;
        padding: 9px 10px;
        font-size: 12px;
        text-align: center;
    }
    .atk-travel-counter span { min-width: 0; }
    .atk-travel-counter strong { display: block; font-size: 16px; margin-top: 2px; }
    .atk-front-popup .leaflet-popup-content { width: min(310px, calc(100vw - 56px)) !important; }
    .atk-front-popup-cover { height: 120px; }
    .atk-front-popup-body { padding: 13px 14px 15px; }
    .atk-front-popup-body h3 { font-size: 18px; }
    .atk-travel-public .leaflet-control-zoom { margin-top: 58px; }
}
@media (max-width: 420px) {
    .atk-travel-map { min-height: 500px; }
    .atk-travel-counter { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* v2.6: zoom-aware configurable marker clustering */
.atk-front-cluster-icon {
    background: transparent;
    border: 0;
}
.atk-front-cluster-bubble {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    border: 3px solid rgba(255,255,255,.96);
    border-radius: 999px;
    background: radial-gradient(circle at 35% 30%, var(--atk-front-cluster-light, #fb923c), var(--atk-front-cluster-color, #c75a08) 62%, var(--atk-front-cluster-color, #c75a08));
    color: var(--atk-front-cluster-text, #fff);
    box-shadow: 0 16px 34px rgba(15, 23, 42, .30), 0 0 0 8px rgba(15, 23, 42, .10);
    cursor: pointer;
}
.atk-front-cluster-bubble::after {
    content: '';
    position: absolute;
    inset: -9px;
    border-radius: inherit;
    border: 1px solid rgba(15, 23, 42, .18);
}
.atk-front-cluster-bubble strong {
    position: relative;
    z-index: 1;
    font-size: 17px;
    line-height: 1;
    font-weight: 950;
    letter-spacing: -.02em;
}
.atk-front-cluster-bubble.md strong { font-size: 18px; }
.atk-front-cluster-bubble.lg strong { font-size: 20px; }
.atk-front-cluster-bubble.xl strong { font-size: 21px; }
.atk-travel-public .marker-cluster-small,
.atk-travel-public .marker-cluster-medium,
.atk-travel-public .marker-cluster-large {
    background: transparent;
}
.atk-travel-public .marker-cluster div {
    background: transparent;
}
