.sagjd-baidu-checker {
    margin: 20px 0;
    padding: 22px 24px;
    border: 1px solid #edf0f5;
    background: #fff;
}

.sagjd-baidu-checker--between-modules {
    margin: 16px 0;
}

.sagjd-baidu-checker__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.sagjd-baidu-checker__header > div {
    min-width: 0;
}

.sagjd-baidu-checker__header strong {
    display: block;
    color: #252a34;
    font-size: 16px;
}

.sagjd-baidu-checker__header span {
    display: block;
    margin-top: 5px;
    color: #8a919f;
    font-size: 13px;
    line-height: 1.5;
}

.sagjd-baidu-checker__button {
    flex: 0 0 auto;
    min-width: 132px;
}

.sagjd-baidu-checker__button.is-loading::before {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin-right: 7px;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    content: "";
    vertical-align: -2px;
    animation: sagjd-baidu-checker-spin .7s linear infinite;
}

.sagjd-baidu-checker__message {
    min-height: 18px;
    margin-top: 10px;
    color: #8a919f;
    font-size: 12px;
}

.sagjd-baidu-checker__message.is-error {
    color: #e05252;
}

.sagjd-baidu-checker .sagjd-baidu-checker__results {
    display: grid;
    gap: 8px;
    margin: 10px 0 0;
    padding: 0;
    list-style: none;
}

.sagjd-baidu-checker__results:empty {
    display: none;
}

.sagjd-baidu-checker .sagjd-baidu-checker__results > li {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 5px 16px;
    margin: 0;
    padding: 14px 16px;
    border: 1px solid #eef1f5;
    border-radius: 8px;
    background: #f7f8fa;
    list-style: none;
}

.sagjd-baidu-checker__label {
    overflow: hidden;
    color: #3b4048;
    font-size: 13px;
    line-height: 1.6;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sagjd-baidu-checker__state {
    padding: 4px 11px;
    border-radius: 999px;
    font-size: 14px;
    line-height: 1.5;
    white-space: nowrap;
}

.sagjd-baidu-checker__results .is-valid .sagjd-baidu-checker__state {
    color: #24a148;
    background: #eaf8ef;
}

.sagjd-baidu-checker__results .is-invalid .sagjd-baidu-checker__state {
    color: #e05252;
    background: #fff0f0;
}

.sagjd-baidu-checker__results .is-unknown .sagjd-baidu-checker__state {
    color: #d88700;
    background: #fff7e6;
}

@keyframes sagjd-baidu-checker-spin {
    to { transform: rotate(360deg); }
}

@media (max-width: 560px) {
    .sagjd-baidu-checker,
    .sagjd-baidu-checker--between-modules {
        margin: 12px;
        padding: 18px 16px;
    }

    .sagjd-baidu-checker__header {
        align-items: stretch;
        flex-direction: column;
    }

    .sagjd-baidu-checker__button {
        width: 100%;
    }

    .sagjd-baidu-checker .sagjd-baidu-checker__results > li {
        gap: 5px 10px;
        padding: 12px 13px;
    }
}
