.gwangju_content.scroll-area {
    overflow: hidden;
}

.gwangju_content footer {
    display: none;
}

.roadmap-wrap {
    height: calc(100vh - 108px);
    height: calc(100dvh - 108px);
    display: flex;
    flex-direction: column;
    padding: 0;
}

.category-bar {
    display: flex;
    gap: 4px;
    padding: 4px;
    position: absolute;
    left: 12px;
    top: 12px;
    z-index: 3;
    /* background: rgb(255, 255, 255); */
    backdrop-filter: blur(6px);
    border: 1px solid rgba(229, 231, 235, 0.9);
    border-radius: 8px;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.18);
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    width: max-content;
    max-width: calc(100% - 24px);
}

.category-bar::-webkit-scrollbar {
    height: 6px;
}

.category-bar::-webkit-scrollbar-thumb {
    background: #d7d7d7;
    border-radius: 999px;
}

.category-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 4px;
    border-radius: 6px !important;
    /* background: #fff; */
    cursor: pointer;
    white-space: normal;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
    width: 80px;
    flex-direction: column;
    justify-content: center;
    height: auto !important;
}

.category-btn:hover {
    transform: translateY(-1px);
}

.category-btn.active {
    background: var(--main-color);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.28);
}

.category-btn.active .category-name {
    color: #fff;
}

.category-btn.active .category-icon {
    filter: brightness(1.05);
}

.category-icon {
    width: 28px;
    height: 28px;
    aspect-ratio: 1 / 1;
    flex: 0 0 auto;
    border-radius: 50%;
    display: inline-flex;
    justify-content: center;
    background: #fff;
}

.category-icon img {
    display: block;
}

.category-name {
    font-size: 13px;
    font-weight: 600;
    color: #111827;
    text-align: center;
    line-height: 1.2;
    white-space: normal;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.map-roadview {
    display: flex;
    gap: 0;
    margin-top: 0;
    flex: 1;
    min-height: 0;
}

.roadmap-hint {
    position: fixed;
    left: 50%;
    bottom: 20px;
    z-index: 5;
    padding: 16px 20px;
    border-radius: 12px;
    background: rgba(15, 15, 18, 0.86);
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    width: max-content;
    max-width: calc(100% - 32px);
    transform: translateX(-50%);
}

.map-box,
.roadview-box {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    background: #f8fafc;
    position: relative;
}

#roadmapMap,
#roadmapRoadview {
    width: 100%;
    height: 100%;
    touch-action: none;
}

.store-marker {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.15);
    cursor: pointer;
    white-space: nowrap;
}

.store-marker.active {
    padding-right: 10px;
    border-color: #111827;
}

.store-marker .marker-icon {
    width: 26px;
    height: 26px;
    display: block;
}

.store-marker .marker-label {
    font-size: 12px;
    font-weight: 600;
    color: #111827;
    display: none;
}

.store-marker:hover .marker-label,
.store-marker.active .marker-label {
    padding-right: 10px;
    display: inline-block;
}

.gwangju_content .tab_menu ul li.depth1 .depth2_box {
    z-index: 2;
}

@media (max-width: 767px) {
    .map-roadview {
        flex-direction: column;
    }

    .roadmap-wrap {
        height: calc(100vh - 108px);
        height: calc(100dvh - 108px);
    }

    .category-bar {
        left: 10px;
        right: 10px;
        top: 10px;
        padding: 6px;
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 6px;
        overflow: visible;
    }

    .category-btn {
        padding: 3px 4px;
        gap: 4px;
        width: 100%;
        justify-content: center;
        flex-direction: column;
    }

    .category-icon {
        width: 26px;
        height: 26px;
        aspect-ratio: 1 / 1;
        flex: 0 0 auto;
    }

    .category-name {
        font-size: 10px;
        letter-spacing: -0.2px;
    }

    .mo-detail {
        z-index: 10;
    }

    .roadmap-hint {
        font-size: 14px;
        padding: 12px 16px;
    }
}
