#content #main .deleted-topic.box {
    box-sizing: border-box;
    min-height: 0;
    height: auto;
    margin: 0 0 .85rem;
    padding: 0;
    overflow: hidden;
    border: 1px solid #d8e1e6;
    border-radius: .78rem;
    color: #43545e;
    background: #fff;
    box-shadow: 0 .22rem .75rem rgb(32 72 94 / 6%);
}

#content #main .deleted-topic.box > .heading {
    min-height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
}

#content #main .deleted-topic-card {
    display: grid;
    grid-template-areas: "icon body action";
    grid-template-columns: 2.25rem minmax(0, 1fr) auto;
    align-items: center;
    gap: .85rem;
    padding: .72rem .9rem;
    background: linear-gradient(90deg, #f8fafb 0, #fff 4.9rem);
}

#content #main .deleted-topic-card__icon {
    display: flex;
    grid-area: icon;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border: 1px solid #dfe6e9;
    border-radius: .68rem;
    color: #71838d;
    background: #eef3f5;
}

#content #main .deleted-topic-card__icon svg {
    width: 1.05rem;
    height: 1.05rem;
    fill: currentColor;
}

#content #main .deleted-topic-card__body {
    display: grid;
    grid-area: body;
    gap: .28rem;
    min-width: 0;
}

#content #main .deleted-topic-card__title {
    display: block;
    box-sizing: border-box;
    min-width: 0;
    padding-left: 0;
    color: #334852;
    font-size: .93rem;
    font-weight: 600;
    line-height: 1.32;
}

#content #main .deleted-topic-card__title a,
#content #main .deleted-topic-card__title strong {
    min-width: 0;
    overflow-wrap: anywhere;
    color: #1683c7;
    font-weight: 700;
    text-decoration: none;
}

#content #main .deleted-topic-card__title span + a,
#content #main .deleted-topic-card__title span + strong,
#content #main .deleted-topic-card__title a + span,
#content #main .deleted-topic-card__title strong + span {
    margin-left: .18rem;
}

#content #main .deleted-topic-card__title a:hover,
#content #main .deleted-topic-card__title a:focus-visible {
    color: #0a6fa8;
    text-decoration: underline;
}

#content #main .deleted-topic-card__restore {
    display: inline-flex;
    grid-area: action;
    align-items: center;
    justify-content: center;
    justify-self: end;
    min-height: 2rem;
    padding: .3rem .72rem;
    border: 1px solid #087fba;
    border-radius: .5rem;
    color: #fff;
    background: #078acb;
    box-shadow: 0 .14rem .32rem rgb(7 138 203 / 16%);
    font-size: .7rem;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
}

#content #main .deleted-topic-card__restore::before {
    content: "↻";
    margin-right: .3rem;
    font-size: .88rem;
    font-weight: 400;
    line-height: 1;
}

#content #main .deleted-topic-card__restore:hover,
#content #main .deleted-topic-card__restore:focus-visible {
    border-color: #066e9f;
    color: #fff;
    background: #067ab4;
    text-decoration: none;
}

#content #main .deleted-topic-card p {
    margin: 0;
    padding: 0;
}

#content #main .deleted-topic-card__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .22rem;
    margin: 0 !important;
    color: #788790;
    font-size: .7rem !important;
    line-height: 1.35;
}

#content #main .deleted-topic-card__meta a.standart {
    padding-left: 18px;
    color: #506570;
    font-size: inherit;
    font-weight: 700;
}

#content #main .deleted-topic-card__meta a.standart::before {
    display: block;
    width: 16px;
    height: 16px;
}

#content #main .deleted-topic-card__separator {
    color: #b0bbc0;
}

#content #main .deleted-topic-card__meta time {
    white-space: nowrap;
}

#content #main .deleted-topic-card__details {
    display: grid;
    gap: .3rem;
    margin-top: .5rem;
    padding-top: .5rem;
    border-top: 1px solid #e9eef1;
}

#content #main .deleted-topic-card__reason,
#content #main .deleted-topic-card__message,
#content #main .deleted-topic-card__rules {
    color: #63747e;
    font-size: .72rem !important;
    line-height: 1.4;
}

#content #main .deleted-topic-card__reason,
#content #main .deleted-topic-card__message {
    display: grid;
    grid-template-columns: 8.5rem minmax(0, 1fr);
    align-items: start;
    gap: .5rem;
}

#content #main .deleted-topic-card__reason span,
#content #main .deleted-topic-card__message span {
    color: #82919a;
    font-weight: 600;
}

#content #main .deleted-topic-card__message .deleted-topic-card__value {
    color: #63747e;
    font-weight: 400;
}

#content #main .deleted-topic-card__reason strong {
    color: #475a65;
}

#content #main .deleted-topic-card__rules {
    padding: .45rem .55rem;
    border-radius: .42rem;
    background: #f7f4ec;
}

#content #main .deleted-topic-card--detailed {
    align-items: start;
}

#content #main .deleted-topic-card--detailed .deleted-topic-card__icon,
#content #main .deleted-topic-card--detailed .deleted-topic-card__restore {
    margin-top: .12rem;
}

@media (max-width: 600px) {
    #content #main .deleted-topic-card {
        grid-template-areas:
            "icon body"
            ". action";
        grid-template-columns: 2.1rem minmax(0, 1fr);
        align-items: start;
        gap: .45rem .68rem;
        padding: .75rem;
        background: linear-gradient(90deg, #f8fafb 0, #fff 4.35rem);
    }

    #content #main .deleted-topic-card__icon {
        width: 2.1rem;
        height: 2.1rem;
        border-radius: .58rem;
    }

    #content #main .deleted-topic-card__restore {
        justify-self: start;
        margin: .15rem 0 0;
    }

    #content #main .deleted-topic-card__reason,
    #content #main .deleted-topic-card__message {
        grid-template-columns: 1fr;
        gap: .1rem;
    }
}

@media (max-width: 420px) {
    #content #main .deleted-topic-card__title {
        font-size: .9rem;
    }

    #content #main .deleted-topic-card__meta {
        gap: .16rem .22rem;
    }
}
