/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   AI Support 진입 버튼 (우측 하단 플로팅)

   디자인 기준: Figma "글로벌 고객센터 (디자인가이드)" 진입처
                Light 11747:56433 / Dark 11749:59081
   - ChatAvatar(type=inverse) 40x40 아이콘 단독. 텍스트/확장 없음
   - 위치: PC(769px~) 우하단 30px / Tablet~Mobile(~768px) 16px
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
:root {
    /* surface-inverse / icon-inverse – 본문과 반전된 색을 쓰는 토큰 */
    --fab-surface: #17191c;
    --fab-icon: #ffffff;
    --fab-offset: 16px;
}

[data-bs-theme=dark] {
    --fab-surface: #ffffff;
    --fab-icon: #17191c;
}

.ai-support-fab {
    position: fixed;
    right: var(--fab-offset);
    bottom: var(--fab-offset);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    padding: 0;
    border: none;
    border-radius: 30px;
    overflow: hidden;
    background: var(--fab-surface);
    /* 디자인 시스템 Defalut 이펙트 (0 0 4 #0000000F) */
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.06);
    cursor: pointer;
    transition: opacity 0.15s ease, transform 0.15s ease;
}

.ai-support-fab:hover {
    /* Figma 에 ChatAvatar hover 변형이 없어 최소한의 어포던스만 준다 */
    opacity: 0.88;
}

.ai-support-fab:active {
    transform: scale(0.96);
}

/* icon/robot 26x26 */
.ai-support-fab__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    pointer-events: none;
}

.ai-support-fab__icon svg {
    width: 100%;
    height: 100%;
    fill: var(--fab-icon);
}

/* ── PC (769px~) : 우하단 여백 30px ── */
@media (min-width: 769px) {
    :root {
        --fab-offset: 30px;
    }
}
