[v-cloak] {
    display: none !important;
}

.way-fmenu {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 9500;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.way-fmenu-list {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.way-fmenu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    color: #fff;
    font-size: 18px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    cursor: pointer;
    position: relative;
    transition: filter 0.2s;
}

.way-fmenu-toggle:hover {
    filter: brightness(0.85);
}

.way-fmenu-action:hover {
    filter: brightness(0.85);
}

.way-fmenu-action {
    background-color: var(--fmenu-submenu-color, #212529);
    opacity: 0;
    pointer-events: none;
}

.way-fmenu.open .way-fmenu-action {
    opacity: 1;
    pointer-events: auto;
}

.way-fmenu-toggle {
    width: 56px;
    height: 56px;
    font-size: 20px;
    background-color: var(--fmenu-color, #206bc4);
}

/* -------------------------------------------------- */
/* 모양(Shape) 옵션                                     */
/* -------------------------------------------------- */
.way-fmenu-shape-circle .way-fmenu-btn {
    border-radius: 50%;
}

.way-fmenu-shape-rounded .way-fmenu-btn {
    border-radius: 14px;
}

.way-fmenu-shape-square .way-fmenu-btn {
    border-radius: 4px;
}

.way-fmenu-label {
    position: absolute;
    right: calc(100% + 10px);
    top: 50%;
    transform: translateY(-50%);
    white-space: nowrap;
    background-color: rgba(0, 0, 0, 0.75);
    color: #fff;
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 4px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
}

.way-fmenu-action:hover .way-fmenu-label {
    opacity: 1;
}

/* -------------------------------------------------- */
/* 클릭 애니메이션 옵션 (열림/닫힘 상태에 따른 CSS 트랜지션)     */
/* -------------------------------------------------- */

/* scale (기본): 아주 작은 상태 → 오버슈트 없이 부드럽게 커지며 등장 */
.way-fmenu-anim-scale .way-fmenu-action {
    transform: scale(0.2);
    transition: opacity 0.25s, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), filter 0.2s;
}

.way-fmenu-anim-scale.open .way-fmenu-action {
    transform: scale(1);
}

/* fade: 크기/위치 변화 없이 투명도만 서서히 변함 (움직임이 전혀 없는 것이 다른 3개와의 차이점) */
.way-fmenu-anim-fade .way-fmenu-action {
    transition: opacity 0.45s ease, filter 0.2s;
}

/* slide-up: 훨씬 아래에서 → 위로 길게 슬라이드하며 등장 */
.way-fmenu-anim-slide-up .way-fmenu-action {
    transform: translateY(60px);
    transition: opacity 0.3s, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), filter 0.2s;
}

.way-fmenu-anim-slide-up.open .way-fmenu-action {
    transform: translateY(0);
}

/* bounce: 매우 작고 살짝 기울어진 상태에서 → 튕기듯 크게 오버슈트하며 등장 */
.way-fmenu-anim-bounce .way-fmenu-action {
    transform: scale(0.1) rotate(-25deg);
    transition: opacity 0.3s, transform 0.6s cubic-bezier(0.34, 1.75, 0.64, 1), filter 0.2s;
}

.way-fmenu-anim-bounce.open .way-fmenu-action {
    transform: scale(1) rotate(0deg);
}

@media (max-width: 576px) {
    .way-fmenu {
        right: 16px;
        bottom: 16px;
    }

    .way-fmenu-btn {
        width: 44px;
        height: 44px;
        font-size: 16px;
    }

    .way-fmenu-toggle {
        width: 52px;
        height: 52px;
    }
}
