.life-box {
    display: flex;
    align-items: start;
    justify-content: space-evenly;
    gap: 2em;
}

.life-todo,
.life-done {
    width: 100%;
}

    .life-todo h2,
    .life-done h2,
    .life-clock-box h2 {
        margin: 0 auto;
        text-align: center;
        color: white;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 10px;
        text-shadow: rgba(255, 255, 255, .1) -1px -1px 1px, rgba(0, 0, 0, .5) 1px 1px 1px;
    }

/* 标题 */
.life-clock-box h2 {
    font-size: 2em;
}


.life-todo ol,
.life-done ol {
    max-height: 30em;
    margin-left: 2em;
    overflow-y: auto;
}

.life-todo li::marker,
.life-done li::marker {
    color: rgba(0, 0, 0, 0.25);
}

/* 表盘 */
.life-clock {
    width: 90vw;
    height: 90vw;
    max-width: 400px;
    max-height: 400px;
    min-width: 330px;
    min-height: 330px;
    margin: 2vh auto;
    border: 1px solid rgba(0, 0, 0, 0.25);
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.02);
    box-shadow: 10px 20px 10px rgba(0, 0, 0, 0.1);
}

/* 文字 */
#clock-texts {
    width: 75%;
    height: 75%;
    top: 12.5%;
    left: 12.5%;
    position: relative;
}

.clock-text {
    position: absolute;
    top: -0.25%;
    left: 48.25%;
    transform-origin: center bottom;
    width: 3%;
    height: 50%;
    border: 1px solid rgba(0, 0, 255, 0);
}

    .clock-text span {
        display: block;
        transform: rotate(270deg);
        font-size: small;
        font-weight: 100;
    }

/* 刻度 */
#clock-items {
    width: 100%;
    height: 100%;
    top: -75.7%;
    left: -1.65%;
    position: relative;
}

.clock-item {
    position: absolute;
    top: 0;
    left: 50%;
    transform-origin: center bottom;
    width: 3%;
    height: 50%;
    border: 1px solid rgba(255, 0, 0, 0);
    border-radius: 10px;
}

.year-current {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}

.year-past {
    background: rgba(0, 0, 0, 0.05);
}

.year-old {
    background: rgba(255, 255, 0, 0.1);
}

.clock-item:hover {
    background: rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

/* 秒针 */
#clock-second {
    width: 1px;
    height: 50%;
    top: -175%;
    left: 50%;
    position: relative;
    background-color: rgba(0, 0, 0, 0.5);
    transform-origin: bottom;
}

/* 表面 */
#clock-counter {
    width: 38%;
    height: 30%;
    position: relative;
    text-align: center;
    top: -195%;
    left: 30%;
}

#past-rate {
    color: rgba(0, 0, 0, 1);
    -webkit-text-stroke: 1px white;
}

.past-rate-number {
    font-size: 3rem;
}

.past-rate-unit {
    font-size: 1.5rem;
}

#last-rate {
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 1em;
    width: 8em;
    height: 4em;
    margin: 2em auto 0 auto;
    text-align: center;
    font-size: small;
    font-weight: 100;
    box-shadow: inset 5px 5px 10px #ddd, inset -5px -5px 10px #ddd;
}

/* 自适应 */
@media (max-width: 992px) {
    .life-box {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2em;
    }

    .life-todo ol,
    .life-done ul {
        max-height: 15em;
        overflow-y: auto;
    }

    .life-clock {
        order: 1;
    }

    .life-todo {
        order: 2;
    }

    .life-done {
        order: 3;
    }

    .clock-text {
        font-size: 0.6em;
    }

    #clock-counter {
        top: -198%;
    }
}
