html:has(.log-content-wrap),
body:has(.log-content-wrap) {
    height: 100%;
}

body:has(.log-content-wrap) {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
}

body:has(.log-content-wrap) > section {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
}

.log-content-wrap {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    background-color: #f7f8fa;
    padding: 88px 0 80px;
    width: 100%;
    box-sizing: border-box;
}

.log-content-wrap.flex-center {
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.log-content,
.log-content.max-width-1200 {
    display: grid;
    grid-template-columns: 168px minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr);
    gap: 16px;
    align-items: stretch;
    flex: 1 1 auto;
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
}

.log-left-list {
    position: sticky;
    top: 80px;
    align-self: start;
    width: auto;
    height: auto;
    min-height: 0;
    margin: 0;
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: #fff;
    border: 1px solid #eeeef1;
    border-radius: 16px;
    box-sizing: border-box;
    font-size: 14px;
}

.log-nav-divider {
    width: 100%;
    height: 1px;
    margin: 6px 0;
    background: #eeeef1;
}

.log-left-list .item {
    width: auto;
    height: auto;
    padding: 10px 12px;
    line-height: 1.4;
    text-align: left;
    color: #595a5c;
    border-radius: 10px;
    box-sizing: border-box;
}

.log-left-list .item:hover {
    color: #100d24;
    background: #f7f8fa;
}

.log-left-list .actived {
    color: #100d24;
    background: #f7f8fa;
    font-weight: 600;
}

.log-left-list .actived::before {
    display: none;
}

.log-right-list-item-content {
    width: 100%;
    min-width: 0;
    min-height: 0;
    margin-left: 0;
    background: #fff;
    border: 1px solid #eeeef1;
    border-radius: 16px;
    box-sizing: border-box;
}

.log-right-list-item-content .title {
    height: 70px;
    font-weight: 500;
    font-size: 16px;
    color: #100d24;
    line-height: 70px;
    padding-left: 32px;
    border-bottom: 1px solid #eeeef1;
}

.log-right-list-item-content .content {
    margin: 24px 32px;
    border-bottom: 1px solid #eeeef1;
    padding-bottom: 24px;
    overflow-wrap: break-word;
    word-break: break-word;
}

.log-right-list-item-content .version-time {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #100d24;
    font-size: 16px;
}

.log-right-list-item-content .version-time div:nth-of-type(2) {
    font-size: 14px;
}

.log-right-list-item-content .content h5 {
    font-weight: 500;
    font-size: 12px;
    color: #8b8c8f;
    padding: 16px 0 0;
}

.log-right-list-item-content .content h2 {
    font-weight: 600;
    font-size: 16px;
    color: #100d24;
    margin: 24px 0 0;
}

.log-right-list-item-content .content h3 {
    margin: 28px 0 0;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    color: #100d24;
}

.log-right-list-item-content .content h4 {
    margin: 24px 0 0;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.5;
    color: #100d24;
}

.log-right-list-item-content .content h3:first-child,
.log-right-list-item-content .content p:first-child {
    margin-top: 0;
}

.log-right-list-item-content .content p {
    font-size: 14px;
    line-height: 1.85;
    color: #100d24;
    margin-top: 16px;
}

.log-right-list-item-content .title2 {
    margin: 24px 0 0;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.5;
    color: #100d24;
}

.log-right-list-item-content .content a {
    color: #fd2b54;
}

.version-text {
    display: flex;
    align-items: center;
}

.version-text > div {
    height: 21px;
    padding: 0 6px;
    background: #000;
    border-radius: 4px;
    font-weight: 500;
    font-size: 10px;
    color: #fff;
    margin-right: 8px;
}

.version-text > span {
    font-weight: 500;
    font-size: 16px;
    color: #100d24;
}

@media (max-width: 960px) {
    .log-content-wrap {
        padding: 80px 0 48px;
    }

    .log-content,
    .log-content.max-width-1200 {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 12px;
        padding: 0 12px;
    }

    .log-left-list {
        position: static;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px;
        padding: 12px;
    }

    .log-nav-divider {
        flex-basis: 100%;
        width: auto;
        margin: 2px 0;
    }

    .log-left-list .item {
        padding: 8px 12px;
    }

    .log-right-list-item-content .title {
        padding-left: 20px;
    }

    .log-right-list-item-content .content {
        margin: 20px;
    }
}
