/* ---------- 容器 ---------- */
.l-ac-wrap {
    width: 100%;
    margin: 0;
}

/* ---------- 卡片主体 ---------- */
.l-ac-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 32px 24px;
    border-radius: 16px;
    background: #2a2a2a;
    border: 1px solid #333;
    box-sizing: border-box;
    overflow: hidden;
}

/* ---------- 头像 ---------- */
.l-ac-avatar {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 16px;
    border: 3px solid #444;
}

.l-ac-avatar img,
.l-ac-avatar video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ---------- 昵称 ---------- */
.l-ac-name {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 8px;
    line-height: 1.2;
}

/* ---------- 签名 ---------- */
.l-ac-bio {
    font-size: 14px;
    font-weight: 400;
    color: #999;
    margin: 0 0 20px;
    line-height: 1.5;
}

/* ---------- 社交图标 ---------- */
.l-ac-social {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    justify-items: center;
    width: 100%;
    max-width: 280px;
}

.l-ac-social-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    transition: transform 0.25s ease;
}

.l-ac-social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #333;
    overflow: hidden;
}

.l-ac-social-icon img {
    width: 22px;
    height: 22px;
    object-fit: contain;
    display: block;
}

.l-ac-social-text {
    font-size: 12px;
    color: #999;
    line-height: 1.2;
}

a.l-ac-social-item:hover {
    transform: translateY(-2px);
}

a.l-ac-social-item:hover .l-ac-social-icon {
    background: #444;
}

/* ---------- 浅色模式 ---------- */
html:not([data-theme="dark"]) .l-ac-card {
    background: #fff;
    border-color: #e5e7eb;
}

html:not([data-theme="dark"]) .l-ac-name {
    color: #222;
}

html:not([data-theme="dark"]) .l-ac-bio {
    color: #666;
}

html:not([data-theme="dark"]) .l-ac-avatar {
    border-color: #e5e7eb;
}

html:not([data-theme="dark"]) .l-ac-social-icon {
    background: #f5f5f5;
}

html:not([data-theme="dark"]) a.l-ac-social-item:hover .l-ac-social-icon {
    background: #eee;
}

html:not([data-theme="dark"]) .l-ac-social-text {
    color: #666;
}

/* ---------- 响应式 ---------- */
@media (max-width: 480px) {
    .l-ac-card {
        padding: 24px 20px;
    }

    .l-ac-avatar {
        width: 80px;
        height: 80px;
        margin-bottom: 14px;
    }

    .l-ac-name {
        font-size: 20px;
    }

    .l-ac-bio {
        font-size: 13px;
        margin-bottom: 16px;
    }

    .l-ac-social {
        gap: 8px;
        max-width: 100%;
    }

    .l-ac-social-icon {
        width: 36px;
        height: 36px;
    }

    .l-ac-social-icon img {
        width: 20px;
        height: 20px;
    }
}
