
/* 튜토리얼 */
/* 전체 오버레이 */
.fly-tutorial-overlay {
    position: fixed;
    inset: 0;
    z-index: 5000000;
    display: block; /* flex 아니어도 됨, block으로 깔끔하게 */
    font-family: inherit;
}

/* 반투명 배경 */
.fly-tutorial-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 5000000;
}

/* 하이라이트 박스 */
.fly-tutorial-spotlight {
    position: fixed;
    pointer-events: none;
    border-radius: 8px;
    box-shadow: #57bbeb5a 0px 0px 1px 2px, rgb(var(--color-color) / .5) 0px 0px 0px 5000px;
    opacity: 0;
    transition: all 0.25s ease;
    z-index: 5000001; /* 백드롭 위, 카드 아래 */
}

/* 카드 */
.fly-tutorial-card {
    position: fixed; /* ✅ 중요: fixed */
    z-index: 5000002; /* spotlight보다 위 */
    width: 320px;
    max-width: 90vw;
    background: rgb(var(--color-color0));
    border-radius: 1rem;
    box-shadow: 0 0 0.5rem 0px rgb(var(--color-color) / .5);
    padding: 1.5rem 1rem;
    transition: all 0.25s ease;
}

/* 이하 기존 그대로 */
.fly-tutorial-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}
.fly-tutorial-title {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
}
.fly-tutorial-skip {
    min-width: fit-content;
    border: none;
    background: transparent;
    font-size: 12px;
    cursor: pointer;
    opacity: 0.7;
}
.fly-tutorial-body {
    font-size: .8rem;
    line-height: 1.5;
    margin-bottom: 2rem;
}
.fly-tutorial-footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}
.fly-tutorial-progress {
    font-size: .7rem;
    opacity: 0.7;
}
.fly-tutorial-buttons {
    display: flex;
    gap: 6px;
}
.fly-tutorial-buttons button {
    min-width: 64px;
    height: 28px;
    padding: 0 .5rem;
    border-radius: 6px;
    border: 1px solid rgb(var(--color-border));
    background: rgb(var(--color-color0));
    font-size: .8rem;
    cursor: pointer;
}
.fly-tutorial-buttons .fly-tutorial-btn-next {
    background-color: #57bbeb;
    color: rgb(var(--color-white));
    border-color: #57bbeb;
}
.fly-tutorial-btn-back[disabled] {
    opacity: 0.4;
    cursor: default;
}
/* 튜토리얼 */