/* 电脑为什么有时候会变卡？ */

.slow-story {
    color: var(--article-text-color);
    font-size: 14px;
    line-height: 1.6;
}

.slow-story * { box-sizing: border-box; }
.slow-story img { display: block; max-width: 100%; }
.slow-story p { margin: 0 0 12px; }
.slow-story strong { color: var(--article-heading-color); }

.slow-section {
    margin-top: 22px;
    scroll-margin-top: 110px;
}

.slow-story .slow-section > h2 {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0 0 8px;
    color: var(--article-heading-color);
    font-size: 20px;
    line-height: 1.35;
    font-weight: 900;
}

.slow-number {
    display: inline-flex;
    flex: 0 0 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #0752ff;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
}

.slow-key,
.slow-note,
.slow-warning {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-top: 14px;
    padding: 14px 16px;
    border-radius: 14px;
}

.slow-key { background: #eaf5ff; }
.slow-note { background: #fff8e5; }
.slow-warning {
    border: 1px solid #ffd0dc;
    background: #fff2f6;
}

.slow-key img,
.slow-warning img {
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
    object-fit: contain;
}

.slow-note__icon {
    display: inline-flex;
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    align-items: center;
    justify-content: center;
    font-size: 30px;
}

.slow-story .slow-key h3,
.slow-story .slow-note h3,
.slow-story .slow-warning h3 {
    margin: 0 0 4px;
    font-size: 15px;
}

.slow-story .slow-key h3 { color: #0752ff; }
.slow-story .slow-note h3 { color: #9a6800; }
.slow-story .slow-warning h3 { color: #d83265; }

.slow-key p,
.slow-note p,
.slow-warning p { margin: 0; }

/* 卡顿现象 */

.slow-symptoms {
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: 10px;
    margin-top: 14px;
}

.slow-symptoms article,
.slow-storage article,
.slow-limits article {
    min-width: 0;
    padding: 14px 9px;
    border: 1px solid #e1ebff;
    border-radius: 14px;
    background: #f9fbff;
    text-align: center;
}

.slow-symptoms article > span,
.slow-storage article > span,
.slow-limits article > span {
    display: inline-flex;
    width: 64px;
    height: 64px;
    align-items: center;
    justify-content: center;
    margin-bottom: 6px;
    border-radius: 19px;
    background: #eaf3ff;
    color: #0752ff;
    font-size: 27px;
}

.slow-story .slow-symptoms h3,
.slow-story .slow-storage h3,
.slow-story .slow-limits h3 {
    margin: 0 0 4px;
    color: var(--article-heading-color);
    font-size: 13px;
}

.slow-symptoms p,
.slow-storage p,
.slow-limits p {
    margin: 0;
    color: #617296;
    font-size: 10px;
}

/* CPU */

.slow-cpu {
    display: grid;
    grid-template-columns: 1.6fr 45px 1fr;
    gap: 10px;
    align-items: center;
    margin-top: 14px;
}

.slow-cpu__tasks {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 7px;
}

.slow-cpu__tasks span {
    display: flex;
    min-height: 58px;
    align-items: center;
    justify-content: center;
    padding: 7px;
    border-radius: 10px;
    background: #f7f8fc;
    color: #315176;
    font-size: 10px;
    font-weight: 800;
    text-align: center;
}

.slow-cpu__processor {
    display: flex;
    min-height: 180px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 14px;
    border-radius: 15px;
    background: #eef5ff;
    text-align: center;
}

.slow-cpu__processor img {
    width: 78px;
    height: 78px;
    object-fit: contain;
}

.slow-story .slow-cpu__processor h3 {
    margin: 7px 0 4px;
    color: var(--article-heading-color);
    font-size: 15px;
}

.slow-cpu__processor p {
    margin: 0;
    color: #617296;
    font-size: 10px;
}

.slow-cpu__arrow,
.slow-paging__arrow,
.slow-frame__arrow,
.slow-heat__arrow,
.slow-diagnose__arrow {
    color: #4f82ff;
    font-size: 24px;
    font-weight: 900;
    text-align: center;
}

.slow-response,
.slow-balance,
.slow-tools {
    display: flex;
    gap: 11px;
    align-items: center;
    margin-top: 12px;
    padding: 13px 15px;
    border-radius: 14px;
}

.slow-response { background: #eef9f0; }
.slow-response > span { color: #2a9b55; }

.slow-response > span,
.slow-balance > span,
.slow-tools > span {
    font-size: 28px;
}

.slow-response p,
.slow-balance p,
.slow-tools p { margin: 0; }

/* 内存 */

.slow-memory {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 12px;
    margin-top: 14px;
}

.slow-memory > div {
    min-width: 0;
    padding: 16px;
    border-radius: 15px;
}

.slow-memory__normal { background: #eef9f0; }
.slow-memory__tight { background: #fff2f5; }

.slow-story .slow-memory h3 {
    margin: 0 0 9px;
    color: var(--article-heading-color);
    font-size: 15px;
}

.slow-memory__bar {
    height: 18px;
    overflow: hidden;
    border-radius: 999px;
    background: #fff;
}

.slow-memory__bar .used {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #78b4ff, #7558da);
}

.slow-memory p {
    margin: 8px 0 0;
    color: #617296;
    font-size: 11px;
}

.slow-paging {
    display: grid;
    grid-template-columns: 1fr 45px 1fr;
    gap: 10px;
    align-items: center;
    margin-top: 12px;
}

.slow-paging__ram,
.slow-paging__storage {
    display: flex;
    min-height: 150px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 13px;
    border-radius: 15px;
    text-align: center;
}

.slow-paging__ram { background: #f3efff; }
.slow-paging__storage { background: #eef5ff; }

.slow-paging__ram > span {
    color: #7654d6;
    font-size: 58px;
}

.slow-paging__storage img {
    width: 72px;
    height: 72px;
    object-fit: contain;
}

.slow-story .slow-paging h3 {
    margin: 7px 0 0;
    color: var(--article-heading-color);
    font-size: 14px;
}

/* 存储 */

.slow-storage {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 10px;
    margin-top: 14px;
}

/* GPU */

.slow-frame {
    display: grid;
    grid-template-columns: 1fr 35px 1fr 40px 1fr;
    gap: 8px;
    align-items: center;
    margin-top: 14px;
}

.slow-frame__cpu,
.slow-frame__gpu,
.slow-frame__screen {
    display: flex;
    min-height: 175px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 13px;
    border-radius: 15px;
    text-align: center;
}

.slow-frame__cpu { background: #eef5ff; }
.slow-frame__gpu { background: #f3efff; }
.slow-frame__screen { background: #eef9f0; }

.slow-frame__cpu img,
.slow-frame__screen img {
    width: 72px;
    height: 72px;
    object-fit: contain;
}

.slow-frame__gpu > span {
    color: #7654d6;
    font-size: 58px;
}

.slow-frame__plus {
    color: #7485a3;
    font-size: 27px;
    font-weight: 900;
    text-align: center;
}

.slow-story .slow-frame h3 {
    margin: 7px 0 4px;
    color: var(--article-heading-color);
    font-size: 14px;
}

.slow-frame p {
    margin: 0;
    color: #617296;
    font-size: 10px;
}

.slow-frame-time {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-top: 12px;
    padding: 12px 14px;
    border-radius: 13px;
    background: #f7f8fc;
}

.slow-frame-time strong {
    color: #0752ff;
    font-size: 20px;
}

.slow-frame-time span {
    color: #617296;
    font-size: 11px;
}

/* 温度 */

.slow-heat {
    display: grid;
    grid-template-columns: 1fr 32px 1fr 32px 1fr;
    gap: 7px;
    align-items: center;
    margin-top: 14px;
}

.slow-heat article {
    min-width: 0;
    padding: 15px 10px;
    border: 1px solid #e1ebff;
    border-radius: 14px;
    background: #f9fbff;
    text-align: center;
}

.slow-heat article > span {
    display: inline-flex;
    width: 66px;
    height: 66px;
    align-items: center;
    justify-content: center;
    margin-bottom: 6px;
    border-radius: 20px;
    background: #fff2f5;
    color: #df4d74;
    font-size: 28px;
}

.slow-story .slow-heat h3 {
    margin: 0 0 4px;
    color: var(--article-heading-color);
    font-size: 14px;
}

.slow-heat p {
    margin: 0;
    color: #617296;
    font-size: 10px;
}

.slow-key--heat { background: #eaf5ff; }

/* 网络 */

.slow-network {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 10px;
    margin-top: 14px;
}

.slow-network > div {
    display: flex;
    min-height: 165px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 13px;
    border-radius: 15px;
    text-align: center;
}

.slow-network__computer { background: #eef5ff; }
.slow-network__link { background: #f3efff; }
.slow-network__server { background: #eef9f0; }

.slow-network > div > span {
    font-size: 56px;
}

.slow-network__computer > span { color: #0752ff; }
.slow-network__link > span { color: #7654d6; }
.slow-network__server > span { color: #2a9b55; }

.slow-story .slow-network h3 {
    margin: 7px 0 4px;
    color: var(--article-heading-color);
    font-size: 14px;
}

.slow-network p {
    margin: 0;
    color: #617296;
    font-size: 10px;
}

.slow-network-compare {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 10px;
    margin-top: 12px;
}

.slow-network-compare > div {
    padding: 13px 15px;
    border-radius: 13px;
    background: #f7f8fc;
}

.slow-network-compare strong {
    display: block;
    margin-bottom: 4px;
    color: #0752ff;
    font-size: 14px;
}

.slow-network-compare p {
    margin: 0;
    color: #617296;
    font-size: 11px;
}

.slow-note--network { background: #eef9f0; }

/* 判断瓶颈 */

.slow-diagnose {
    display: grid;
    grid-template-columns: 1fr 22px 1fr 22px 1fr 22px 1fr;
    gap: 5px;
    align-items: center;
    margin-top: 14px;
}

.slow-diagnose article {
    position: relative;
    min-width: 0;
    min-height: 170px;
    padding: 14px 8px;
    border: 1px solid #e1ebff;
    border-radius: 14px;
    background: #f9fbff;
    text-align: center;
}

.slow-diagnose__badge {
    position: absolute;
    top: 9px;
    left: 9px;
    display: inline-flex;
    width: 26px;
    height: 26px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #0752ff;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
}

.slow-story .slow-diagnose h3 {
    margin: 32px 0 4px;
    color: var(--article-heading-color);
    font-size: 13px;
}

.slow-diagnose p {
    margin: 0;
    color: #607296;
    font-size: 10px;
}

.slow-tools {
    background: #eef5ff;
}

.slow-tools > span { color: #0752ff; }

.slow-balance {
    background: #eef9f0;
}

.slow-balance > span { color: #2a9b55; }

/* 总结 */

.slow-summary {
    display: flex;
    gap: 12px;
    margin-top: 22px;
    padding: 18px;
    border-radius: 16px;
    background: #e9f3ff;
    scroll-margin-top: 110px;
}

.slow-summary__icon {
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
    object-fit: contain;
}

.slow-story .slow-summary h2 {
    margin: 0 0 7px;
    color: #0752ff;
    font-size: 19px;
}

.slow-summary ul {
    margin: 0;
    padding-left: 20px;
    line-height: 1.75;
}

.slow-summary__next {
    margin: 10px 0 0 !important;
    padding-top: 10px;
    border-top: 1px dashed #b8d3f6;
}

.slow-summary__next em {
    color: #0752ff;
    font-style: normal;
    font-weight: 800;
}

/* 翻页 */

.slow-pagination {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    margin-top: 14px;
}

.slow-pagination a {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 49%;
    padding: 10px 13px;
    border: 1px solid #d9e7ff;
    border-radius: 12px;
    background: #ffffffb3;
    text-decoration: none;
    box-shadow: 0 3px 10px #c5dbff30;
}

.slow-pagination a:last-child { text-align: right; }

.slow-pagination strong {
    display: block;
    color: #0752ff;
    font-size: 16px;
}

.slow-pagination small {
    display: block;
    color: #576b9f;
    font-size: 12px;
}

.slow-pagination__arrow {
    display: inline-flex;
    width: 31px;
    height: 31px;
    flex: 0 0 31px;
    align-items: center;
    justify-content: center;
    border: 1px solid #d9e7ff;
    border-radius: 7px;
    color: #0752ff;
    font-size: 22px;
}

.slow-pagination a:hover { background: #edf4ff; }

.slow-pagination a:focus-visible {
    outline: 3px solid #0752ff;
    outline-offset: 3px;
}

@media (max-width: 900px) {
    .slow-diagnose {
        grid-template-columns: repeat(2,minmax(0,1fr));
        gap: 9px;
    }

    .slow-diagnose > .slow-diagnose__arrow { display: none; }
}

@media (max-width: 640px) {
    .slow-story {
        font-size: 12px;
        line-height: 1.6;
    }

    .slow-section { margin-top: 18px; }

    .slow-story .slow-section > h2 {
        gap: 9px;
        margin-bottom: 6px;
        font-size: 16px;
    }

    .slow-number {
        flex-basis: 31px;
        height: 31px;
        font-size: 14px;
    }

    .slow-symptoms,
    .slow-storage {
        grid-template-columns: repeat(2,minmax(0,1fr));
        gap: 8px;
    }

    .slow-cpu,
    .slow-paging,
    .slow-frame,
    .slow-heat,
    .slow-diagnose {
        grid-template-columns: minmax(0,1fr);
        gap: 7px;
    }

    .slow-cpu__arrow,
    .slow-paging__arrow,
    .slow-frame__arrow,
    .slow-heat__arrow,
    .slow-diagnose > .slow-diagnose__arrow {
        display: block;
        transform: rotate(90deg);
        line-height: 1;
    }

    .slow-frame__plus {
        line-height: 1;
    }

    .slow-memory,
    .slow-network,
    .slow-network-compare {
        grid-template-columns: minmax(0,1fr);
        gap: 8px;
    }

    .slow-key,
    .slow-note,
    .slow-warning {
        gap: 9px;
        padding: 11px 12px;
    }

    .slow-key img,
    .slow-warning img,
    .slow-note__icon {
        width: 44px;
        height: 44px;
        flex-basis: 44px;
    }

    .slow-diagnose article {
        min-height: auto;
        padding: 12px 9px;
    }

    .slow-summary {
        gap: 8px;
        padding: 14px;
    }

    .slow-summary__icon {
        width: 44px;
        height: 44px;
        flex-basis: 44px;
    }

    .slow-story .slow-summary h2 { font-size: 17px; }

    .slow-pagination { gap: 9px; }

    .slow-pagination a {
        flex: 1;
        min-width: 0;
        gap: 5px;
        padding: 8px 6px;
    }

    .slow-pagination strong { font-size: 13px; }

    .slow-pagination small {
        font-size: 10px;
        line-height: 1.35;
    }

    .slow-pagination__arrow {
        width: 26px;
        height: 27px;
        flex-basis: 26px;
        font-size: 18px;
    }
}
