.chapter-body {
    position: relative;
    left: -100px;
    grid-template-columns: 180px 210px minmax(0, 760px);
    gap: 45px;
}

.note-chapters {
    position: sticky;
    top: 30px;
    align-self: start;
    padding-top: 18px;
    border-top: 2px solid #1f2e49;
}

.note-chapters p {
    color: #9aa4b3;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
}

.note-chapters a {
    position: relative;
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr);
    align-items: start;
    padding: 9px 0;
    color: #7a8598;
    text-decoration: none;
    transition: color .2s ease, text-shadow .2s ease, transform .2s ease;
}

.note-chapters a:hover {
    color: #3266dd;
}

.note-chapters a span {
    color: #9aa6b8;
    font-size: 11px;
    font-weight: 800;
}

.note-chapters a strong {
    font-size: 12px;
    font-weight: 600;
    line-height: 1.55;
}

.note-chapters a.is-current,
.note-chapters a.is-current span {
    color: #38bdf8;
    text-shadow: 0 0 12px rgba(56, 189, 248, .48);
}

.note-chapters a.is-current {
    transform: translateX(5px);
}

.note-chapters a.is-current strong {
    font-weight: 800;
}

.note-chapters a.is-current::before {
    content: "";
    position: absolute;
    left: -13px;
    top: 50%;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #38bdf8;
    box-shadow: 0 0 10px rgba(56, 189, 248, .9);
    transform: translateY(-50%);
}

.toc a {
    position: relative;
    transition: color .2s ease, text-shadow .2s ease, transform .2s ease;
}

.toc a.is-current {
    color: #38bdf8;
    font-weight: 800;
    text-shadow: 0 0 12px rgba(56, 189, 248, .48);
    transform: translateX(5px);
}

.toc a.is-current::before {
    content: "";
    position: absolute;
    left: -13px;
    top: 50%;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #38bdf8;
    box-shadow: 0 0 10px rgba(56, 189, 248, .9);
    transform: translateY(-50%);
}

@media (max-width: 1350px) {
    .chapter-body {
        left: 0;
        grid-template-columns: 210px minmax(0, 760px);
        gap: 70px;
    }

    .note-chapters {
        display: none;
    }
}

@media (max-width: 1000px) {
    .chapter-body {
        grid-template-columns: minmax(0, 760px);
    }
}
