.tool-content {
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border-color);
    padding: 1.2em;
    border-radius: .6em;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1.2em;
}

.tool-content .tips a{
    color: #4a4aff;
    padding: 0 1px;
}

.tool-content .tips a:hover{
    text-decoration: underline;
}

.tab-group {
    display: flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    background-color: var(--main-bg);
    border-radius: 7px;
    padding: 4px;
    gap: 2px;
    margin: 0 auto;
}

.tab-group span.active {
    background-color: rgb(93 79 248 / 85%);
    color: #fff;
    box-shadow: 0 4px 12px rgba(93, 79, 248, 0.2);
}

.tab-group span {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    text-align: center;
    padding: 6px 16px;
    cursor: pointer;
    border-radius: 7px;
    transition: all 0.2s;
    user-select: none;
}

.tool-content .chat-box {
    display: flex;
    align-items: center;
    justify-content: start;
    flex-wrap: wrap;
    gap: 0.9em;
}

.tool-content .chat-box li {
    width: calc(33.33% - 0.6em);
    background: linear-gradient(to bottom, rgb(93 79 248 / 10%) 0px, rgb(93 79 248 / 4%) 40px, rgb(93 79 248 / 4%) 100%);
    border-radius: 7px;
    display: flex;
    flex-direction: column;
    margin-bottom: 0;
    border: solid 1px #eee;
    overflow: hidden;
}

.tool-content .chat-box li:hover{
    background-color: rgb(93 79 248 / 10%);
}

.tool-content .chat-box li .chat-tit {
    font-weight: bold;
    color: #333;
    font-size: 15px;
    line-height: 46px;
    text-align: center;
    border-bottom: solid 1px #e7e5ff;
}

.tool-content .chat-box li:hover .chat-tit{
    border-bottom-color: #d1cff5;
}

.tool-content .chat-box li textarea {
    width: 100%;
    height: 300px;
    padding: 10px 12px;
    resize: none;
    font-size: 14px;
    outline: none;
    overflow: hidden;
}

.tool-content .chat-box li:hover textarea {
    overflow-y: auto;
}

.tool-content .chat-box li .copy-btn {
    border-top: solid 1px #eee;
    padding: 9px 16px;
    border-radius: 0 0 6px 6px;
    cursor: pointer;
    font-size: 14px;
}

.tool-content .chat-box li:hover .copy-btn{
    border-top-color: #d1cff5;
}

@media (max-width: 768px) {
    .tool-content {
        padding: .8em !important;
        box-shadow: unset;
    }

    .operate-buttons .btn {
        line-height: 32px !important;
        height: 32px !important;
        padding: 0 8px !important;
    }

    .btn {
        height: 32px;
    }

    .input-textarea {
        min-height: 180px;
    }

    .tool-content .chat-box{
        flex-direction: column;
    }

    .tool-content .chat-box li{
        width: 100%;
    }
}