.bjd-comparison {
    margin-top: 28px;
}

.bjd-comparison-title {
    margin: 0 0 8px;
    color: #4A607A;
    font-family: 'DouyinSansBold', sans-serif;
    font-size: 1.3rem;
    line-height: 1.25;
}

.bjd-comparison-scroll {
    width: 100%;
}

.bjd-comparison-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.bjd-comparison-table tr {
    border-top: 1px solid rgba(119, 152, 187, 0.4);
}

.bjd-comparison-table tbody tr:last-child {
    border-bottom: 1px solid rgba(119, 152, 187, 0.4);
}

.bjd-comparison-table td {
    padding: 13px 8px;
    color: #4A607A;
    font-size: 0.8rem;
    line-height: 1.42;
    vertical-align: top;
}

.bjd-comparison-table td:first-child {
    width: 27%;
    padding-left: 0;
    padding-right: 14px;
}

.bjd-comparison-table td:last-child {
    padding-right: 0;
}

.bjd-comparison-name,
.bjd-comparison-size,
.bjd-comparison-point {
    display: block;
}

.bjd-comparison-name {
    font-family: 'DouyinSansBold', sans-serif;
    font-size: 0.88rem;
    font-weight: bold;
    letter-spacing: 0.35px;
    line-height: 1.25;
}

.bjd-comparison-table tr.is-current .bjd-comparison-name {
    color: #356A9F;
}

.bjd-comparison-table tr.is-current td {
    background: rgba(136, 168, 210, 0.10);
}

.bjd-comparison-table tr.is-current td:first-child {
    box-shadow: -22px 0 0 rgba(136, 168, 210, 0.10);
}

.bjd-comparison-table tr.is-current td:last-child {
    box-shadow: 22px 0 0 rgba(136, 168, 210, 0.10);
}

.bjd-comparison-size {
    margin-top: 4px;
    color: #7798BB;
    font-size: 0.74rem;
    font-weight: bold;
    letter-spacing: 0.5px;
}

@media (min-width: 1024px) and (hover: hover) and (pointer: fine) {
    .bjd-comparison-table tr.is-current td:first-child {
        box-shadow: -42px 0 0 rgba(136, 168, 210, 0.10);
    }

    .bjd-comparison-table tr.is-current td:last-child {
        box-shadow: 42px 0 0 rgba(136, 168, 210, 0.10);
    }
}

.bjd-comparison-point + .bjd-comparison-point {
    margin-top: 4px;
}

.bjd-comparison-emphasis {
    font-family: 'DouyinSansBold', sans-serif;
    font-weight: bold;
}

@media (max-width: 768px) {
    .bjd-comparison {
        margin-top: 36px;
    }

    .bjd-comparison-title {
        margin-bottom: 16px;
        font-size: 1.12rem;
    }

    .bjd-comparison-scroll {
        width: calc(100% + 44px);
        margin-left: -22px;
        padding-bottom: 7px;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        scrollbar-color: rgba(119, 152, 187, 0.5) transparent;
    }

    .bjd-comparison-table {
        width: max-content;
        min-width: 100%;
        table-layout: auto;
    }

    .bjd-comparison-table td {
        padding: 14px 12px;
        font-size: 0.82rem;
        line-height: 1.45;
    }

    .bjd-comparison-table td:first-child {
        width: 160px;
        padding-left: 22px;
        padding-right: 14px;
    }

    .bjd-comparison-table td:last-child {
        padding-right: 22px;
    }

    .bjd-comparison-table tr.is-current td:first-child,
    .bjd-comparison-table tr.is-current td:last-child {
        box-shadow: none;
    }

    .bjd-comparison-name {
        font-size: 0.8rem;
        letter-spacing: 0.2px;
    }

    .bjd-comparison-size {
        margin-top: 4px;
        font-size: 0.72rem;
        letter-spacing: 0.35px;
    }

    .bjd-comparison-point + .bjd-comparison-point {
        margin-top: 5px;
        margin-left: 0;
    }

    .bjd-comparison-point {
        display: block;
        white-space: nowrap;
    }
}
