/* 删除文件后，它去哪了？ */

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

.delete-story * { box-sizing: border-box; }
.delete-story img { display: block; max-width: 100%; }
.delete-story p { margin: 0 0 12px; }
.delete-story strong { color: var(--article-heading-color); }
.delete-story code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

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

.delete-story .delete-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;
}

.delete-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;
}

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

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

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

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

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

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

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

/* 三种删除 */

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

.delete-cases article,
.delete-recovery article,
.delete-safe article {
    min-width: 0;
    padding: 14px 10px;
    border: 1px solid #e1ebff;
    border-radius: 14px;
    background: #f9fbff;
    text-align: center;
}

.delete-cases article > span,
.delete-recovery article > span,
.delete-safe 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;
}

.delete-story .delete-cases h3,
.delete-story .delete-recovery h3,
.delete-story .delete-safe h3 {
    margin: 0 0 4px;
    color: var(--article-heading-color);
    font-size: 13px;
}

.delete-cases p,
.delete-recovery p,
.delete-safe p {
    margin: 0;
    color: #617296;
    font-size: 10px;
}

/* 回收站 */

.delete-bin-flow {
    display: grid;
    grid-template-columns: 1fr 50px 1fr;
    gap: 10px;
    align-items: center;
    margin-top: 14px;
}

.delete-bin-flow__folder,
.delete-bin-flow__bin {
    display: flex;
    min-height: 180px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 14px;
    border-radius: 15px;
    text-align: center;
}

.delete-bin-flow__folder { background: #eef5ff; }
.delete-bin-flow__bin { background: #fff6df; }

.delete-bin-flow > div > span {
    font-size: 56px;
}

.delete-bin-flow__folder > span { color: #0752ff; }
.delete-bin-flow__bin > span { color: #d58d00; }

.delete-story .delete-bin-flow h3 {
    margin: 8px 0 4px;
    color: var(--article-heading-color);
    font-size: 14px;
}

.delete-bin-flow p {
    margin: 0;
    color: #617296;
    font-size: 10px;
}

.delete-bin-flow__arrow,
.delete-permanent__arrow,
.delete-free-space__arrow,
.delete-ssd__arrow {
    color: #4f82ff;
    font-size: 24px;
    font-weight: 900;
    text-align: center;
}

/* 永久删除 */

.delete-permanent {
    display: grid;
    grid-template-columns: 1fr 50px 1fr;
    gap: 10px;
    align-items: center;
    margin-top: 14px;
}

.delete-permanent__before,
.delete-permanent__after {
    min-height: 180px;
    padding: 14px;
    border-radius: 15px;
    background: #f7f8fc;
    text-align: center;
}

.delete-permanent__before > span,
.delete-permanent__after > span {
    display: block;
    margin-bottom: 10px;
    color: #617296;
    font-size: 10px;
}

.delete-permanent__blocks {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 7px;
}

.delete-permanent__blocks b {
    display: flex;
    aspect-ratio: 1;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: #dce9ff;
    color: #0752ff;
}

.delete-permanent__blocks b.is-free {
    border: 1px dashed #a9b4c8;
    background: #fff;
    color: #8794a8;
}

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

/* 空闲空间 */

.delete-free-space {
    display: grid;
    grid-template-columns: 1fr 50px 1fr;
    gap: 10px;
    align-items: center;
    margin-top: 14px;
}

.delete-free-space__old,
.delete-free-space__new {
    min-height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 14px;
    border-radius: 15px;
    text-align: center;
}

.delete-free-space__old { background: #fff6df; }
.delete-free-space__new { background: #eef9f0; }

.delete-free-space strong {
    font-size: 15px;
}

.delete-free-space span {
    margin-top: 6px;
    color: #617296;
    font-size: 10px;
}

.delete-overwrite {
    display: grid;
    grid-template-columns: 1fr 40px 1fr;
    gap: 8px;
    align-items: center;
    margin-top: 12px;
}

.delete-overwrite > div {
    padding: 12px;
    border-radius: 12px;
    background: #f7f8fc;
    text-align: center;
}

.delete-overwrite span {
    display: block;
    margin-bottom: 5px;
    color: #617296;
    font-size: 10px;
}

.delete-overwrite code {
    padding: 6px 8px;
    border-radius: 8px;
    background: #fff;
    color: #1d3d75;
    font-weight: 800;
}

.delete-overwrite b {
    color: #4f82ff;
    text-align: center;
}

/* SSD */

.delete-ssd {
    display: grid;
    grid-template-columns: 1fr 120px 1fr;
    gap: 10px;
    align-items: center;
    margin-top: 14px;
}

.delete-ssd__os,
.delete-ssd__drive {
    display: flex;
    min-height: 180px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 14px;
    border-radius: 15px;
    text-align: center;
}

.delete-ssd__os { background: #eef5ff; }
.delete-ssd__drive { background: #eef9f0; }

.delete-ssd > div > span {
    font-size: 56px;
}

.delete-ssd__os > span { color: #0752ff; }
.delete-ssd__drive > span { color: #2a9b55; }

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

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

.delete-ssd__arrow {
    font-size: 11px;
}

/* 总结 */

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

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

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

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

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

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

/* 翻页 */

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

.delete-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;
}

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

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

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

.delete-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;
}

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

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

@media (max-width: 900px) {
    .delete-cases,
    .delete-recovery,
    .delete-safe {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }
}

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

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

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

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

    .delete-cases,
    .delete-recovery,
    .delete-safe {
        grid-template-columns: minmax(0,1fr);
        gap: 8px;
    }

    .delete-bin-flow,
    .delete-permanent,
    .delete-free-space,
    .delete-overwrite,
    .delete-ssd {
        grid-template-columns: minmax(0,1fr);
        gap: 7px;
    }

    .delete-bin-flow__arrow,
    .delete-permanent__arrow,
    .delete-free-space__arrow,
    .delete-overwrite b,
    .delete-ssd__arrow {
        transform: rotate(90deg);
        line-height: 1;
    }

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

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

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

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

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

    .delete-pagination { gap: 9px; }

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

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

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

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