/* ============================================
   小雅AI读取专区 - 气泡对话框样式
   ============================================ */

/* 小雅头像容器 */
.xiaoya-wrap {
    position: relative;
}

.xiaoya-wrap .xiaoya-avatar {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.xiaoya-wrap:hover .xiaoya-avatar {
    transform: scale(1.08);
}

/* 气泡对话框 */
.xiaoya-bubble {
    display: none;
    position: absolute;
    right: 100%;
    top: 50%;
    transform: translateY(-50%);
    margin-right: 15px;
    width: 300px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
    padding: 18px 20px;
    z-index: 999;
    line-height: 1.8;
}

/* 三角箭头 - 指向右侧头像 */
.xiaoya-bubble-arrow {
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 8px solid #fff;
    filter: drop-shadow(2px 0 2px rgba(0, 0, 0, 0.06));
}

/* 气泡标题 */
.xiaoya-bubble-title {
    font-size: 13px;
    font-weight: bold;
    color: #F18D00;
    margin: 0 0 8px 0;
    padding-bottom: 8px;
    border-bottom: 1px solid #f0f0f0;
}

/* 气泡文案 */
.xiaoya-bubble-text {
    font-size: 13px;
    color: #999999;
    margin: 0;
    text-align: justify;
    line-height: 22px;
}

/* 响应式适配 */
@media (max-width: 1440px) {
    .xiaoya-bubble {
        width: 260px;
        padding: 14px 16px;
    }
}

@media (max-width: 768px) {
    .xiaoya-bubble {
        display: none !important;
    }
}
