.digital-human-container {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.3s;
    width: 100%;
    height: 100%;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
}

.digital-human-container video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    background: transparent;
    border-radius: 8px;
}

.generating-indicator {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loading-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid #ffffff;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* 移动端样式 */
@media screen and (max-width: 768px) {
  .digital-human-container {
    border-radius: 6px;
  }

  .digital-human-container video {
    border-radius: 6px;
  }
}