/* ==========================================================================
   agent - AI Agent 对话场景（face/agent.html）
   供所有包含 face/agent.html 的页面复用（indexV2 / about-usV2 等）
   ========================================================================== */

/* ---------- 场景底座 ---------- */
.point-bottom {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 53rem;
}

.chat, .agent {
    position: absolute;
}

/* ---------- 对话气泡 ---------- */
.chat {
    display: inline-block;
    padding: 1.13rem 3.44rem;
    border-radius: 2rem;
    background: /* 内部填充色 #151627 */ linear-gradient(#151627, #151627) padding-box, /* 边框渐变 135deg */ linear-gradient(180deg, rgba(199, 201, 230, 0.34), rgba(40, 49, 184, 0.34)) border-box;
    border: 0.13rem solid transparent;
    color: #ffffff;
    font-size: 1.75rem;
    line-height: 1.5;
}

.chat span.highlight {
    color: #FFC25D;
    white-space: nowrap;
}

/* 尾巴外圈：渐变三角 */
.chat::before {
    content: '';
    position: absolute;
    left: 28px;
    bottom: -12px;
    width: 24px;
    height: 12px;
    background: rgba(40, 49, 184, 0.34);
    clip-path: polygon(0 0, 100% 0, 50% 100%);
}

/* 尾巴内芯：深色三角，略小一圈 */
.chat::after {
    content: '';
    position: absolute;
    left: 31px; /* 内缩 3px，对应边框宽度 */
    bottom: -8px; /* 上移 3px，对应边框宽度 */
    width: 18px;
    height: 9px;
    background: #151627;
    clip-path: polygon(0 0, 100% 0, 50% 100%);
}

.chat.chat1 {
    width: 22.25rem;
    top: 0;
}

.chat.chat1::before {
    content: '';
    position: absolute;
    left: 16rem;
    bottom: -2.5rem;
    width: 8rem;
    height: 2.4rem;
    background: rgba(40, 49, 184, 0.34);
    clip-path: polygon(0 0, 104% 0, 52% 83%);
}

.chat.chat1::after {
    content: '';
    position: absolute;
    left: 15.8rem;
    bottom: -1.9rem;
    width: 8.6rem;
    height: 2rem;
    background: #151627;
    clip-path: polygon(0 0, 100% 0, 50% 100%);
}

.chat.chat2 {
    bottom: 12rem;
    left: 7rem;
    width: 11.88rem;
    border-radius: 4rem 2rem 4rem 4rem;
}

.chat.chat2::before {
    content: '';
    position: absolute;
    left: 11rem;
    bottom: 7.62rem;
    width: 8rem;
    height: 5rem;
    background: rgba(199, 201, 230, 0.34);
    clip-path: polygon(100% 0%, 70% 100%, 0% 100%);
    transform: rotateZ(0);
}

.chat.chat2::after {
    content: '';
    position: absolute;
    left: 10.3rem;
    bottom: 7.1rem;
    width: 8.4rem;
    height: 5.2rem;
    background: #151627;
    clip-path: polygon(100% 0%, 70% 100%, 0% 100%);
}

.chat.chat3 {
    width: 13.88rem;
    right: 7rem;
    bottom: 27rem;
    border-radius: 4rem 4rem 4rem 1rem;
}

.chat.chat3::before {
    content: '';
    position: absolute;
    left: 1rem;
    bottom: -3.12rem;
    width: 7rem;
    height: 3rem;
    background: rgba(40, 49, 184, 0.34);
    clip-path: polygon(20% 0, 100% 0, 0 100%);
}

.chat.chat3::after {
    content: '';
    position: absolute;
    left: 1.3rem;
    bottom: -2.8rem;
    width: 6.6rem;
    height: 2.8rem;
    background: #151627;
    clip-path: polygon(20% 0, 100% 0, 0 100%);
}

/* ---------- Agent 徽章 ---------- */
.agent {
    background: #FFFFFF;
    border-radius: 5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: #222222;
    padding: 0.5rem 1.81rem;
    gap: 0.26rem;
}

img.agent-icon {
    width: 4.75rem;
    height: 4.75rem;
}

.agent.agent-deepseek {
    top: 17rem;
    left: -1rem;
}

.agent.agent-workbuddy {
    left: 17rem;
    bottom: 3rem;
}

.agent.agent-coze {
    bottom: 3rem;
    right: 22rem;
}

.agent.agent-more {
    right: 0;
    bottom: 14rem;
    width: 17.13rem;
}

.agent.agent-more img {
    width: 100%;
}

.agent.agent-kimi {
    top: 10rem;
    right: 26rem;
}

.agent.agent-doubao {
    top: 10rem;
    left: 23rem;
}

/* ---------- 中心图 ---------- */
.point-image-bg {
    position: absolute;
    z-index: 1;
    width: 51.9rem;
    top: 4rem;
}

.point-image {
    width: 11.94rem;
    height: 11.94rem;
    position: relative;
    z-index: 5;
}
