.tool-content {
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border-color);
    padding: 0.8em 1.2em 1.2em;
    border-radius: .6em;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1em;
}

.tool-content label{
    margin-bottom: -6px;
    margin-left: 2px;
    font-size: 14px;
}

.input-text {
    border: solid 1px #ddd;
    background-color: var(--main-bg);
    min-width: 150px;
    height: 40px;
    line-height: 40px;
    padding: 0 12px;
    border-radius: 7px;
    outline: none;
    font-size: 14px;
}

.input-text:focus {
    border-color: #5a4df8;
    background-color: #f8f7fd;
    box-shadow: inset 0 1px 4px rgba(90, 77, 248, 0.2), 0 0 0 2px rgba(90, 77, 248, 0.1);
}

.btn {
    outline: none;
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 40px;
    color: #fff;
    background-color: rgb(93 79 248 / 90%);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);
    letter-spacing: 1px;
}

.btn .ripple {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    opacity: 0;
    z-index: 1;
    animation: ripple-effect 0.6s ease-out forwards;
}

.qq-avatar-preview{
    width: 110px;
    height: 110px;
    border-radius: 50%;
    border: solid 1px #ddd;
    margin: auto;
}

.qq-avatar-preview img{
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: block;
    margin: 4px auto;
}

.btn-download{
    background-color: #FF9800;
    border-radius: 5px;
    width: fit-content;
    padding: 0 16px;
    height: 35px;
    font-size: 14px;
    margin: auto;
}

/* 关键动画：扩散 + 淡出 */
@keyframes ripple-effect {
    0% {
        width: 0;
        height: 0;
        opacity: 0.4;
    }
    100% {
        width: 300px;
        height: 300px;
        opacity: 0;
    }
}

@media (max-width: 768px) {
    .tool-content {
        padding: .8em !important;
    }
}