.hl {
    position: relative;
    border: .0625rem solid var(--code-line);
    border-radius: .625rem;
    margin-bottom: 1.625em;
    margin-top: .5rem;
}

.hl__title {
    padding: .6rem 1.1rem;
    font-size: .8125rem;
    font-weight: 600;
    color: #aab3bd;
    border-bottom: .0625rem solid var(--code-line);
}

.hl .hl__shiki {
    margin: 0;
    border-radius: 0;
    border: none;
}

.hl pre {
    margin: 0;
    background: transparent!important;
}

.hl code {
    background-color: transparent;
    line-height: 1.6;
    display: block;
    color: #b0b8c6;
    -moz-tab-size: 4;
    -o-tab-size: 4;
    tab-size: 4;
    padding: 1rem 1.3rem;
    overflow-x: auto;
    font-size: .875rem;
    scrollbar-width: thin;
    border: none;
}

.hl .hl__numbers {
    border-right: .0625rem solid #1f252c;
}

.hl__numbers {
    width: 3.75rem;
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    line-height: 1.6;
    padding: 1rem 0;
    font-size: .875rem;
    font-family: monospace;
    color: #55646f;
    counter-reset: line;
    pointer-events: none;
}

.hl__numbers span {
    padding-left: 1.4rem;
    width: 3.75rem;
    padding-right: 1.4rem;
    text-align: right;
    display: inline-block;
    counter-increment: line;
    position: relative;
}

.hl__numbers span::before {
    font-size: .875rem;
    content: counter(line);
}

.line--highlight::after {
    content: "";
    background-color: rgba(212,236,255,.08);
    border-left: .125rem solid #40a9d3;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    width: 100vw;
}

.hl__content {
    position: relative;
}

.hl--line-numbers .hl__content {
    padding-left: 3.75rem;
}

.hl--details summary {
    display: flex;
    align-items: center;
    gap: .85rem;
    padding: .8rem 1.1rem;
    font-size: .875rem;
    font-weight: 600;
    color: #e3e7eb;
    list-style: none;
    border-bottom: none;
    cursor: pointer;
    user-select: none;
    transition: background-color .15s ease;
}

.hl--details summary::-webkit-details-marker {
    display: none;
}

.hl--details summary:hover {
    background-color: #171a1e;
}

.hl--details summary:active {
    background-color: #1d2126;
}

.hl--details[open] summary {
    border-bottom: .0625rem solid var(--code-line);
}

/* chevron */
.hl--details summary::before {
    content: "";
    flex: none;
    width: .4rem;
    height: .4rem;
    margin: -.2rem .1rem 0;
    border: solid #7d8792;
    border-width: 0 .125rem .125rem 0;
    transform: rotate(45deg);
    transition: transform .15s ease, border-color .15s ease;
}

.hl--details summary:hover::before {
    border-color: #e3e7eb;
}

.hl--details[open] > summary::before {
    margin-top: .2rem;
    transform: rotate(225deg);
}

.hl--line-focus .hl__numbers span:not(.line--focus),
.hl--line-focus .line:not(.line--focus) {
    filter: blur(0.095rem);
    opacity: .5;
    transition: filter .35s ease, opacity .35s ease;
}

.hl--line-focus .hl__content:focus .hl__numbers span:not(.line--focus),
.hl--line-focus .hl__content:hover .hl__numbers span:not(.line--focus),
.hl--line-focus .hl__content:focus .line:not(.line--focus),
.hl--line-focus .hl__content:hover .line:not(.line--focus) {
    filter: blur(0);
    opacity: 1;
}