body {
    font-size: 1rem;
}

body *:not(svg, svg *) {
    font-size: 1rem;
}

.logo a, .logo a * {
    font-size: 1.5rem;
}

.tag-tbc, .tag-todo, .tag-rewrite {
    color: #f3722cff;
}

.first-entry.home-info {
    margin: 0;
}

.first-entry.home-info .entry-content {
    margin: 0;
    display: inline-flex;
    justify-content: space-around;
}

h1.post-title {
    font-size: 2.2rem;
}

.post-single header+blockquote {
    text-align: center;
    margin-top: -1rem;
    margin-bottom: 2rem;
}

.post-content h1+blockquote,
.post-content h2+blockquote,
.post-content h3+blockquote,
.post-content h4+blockquote,
.post-content h5+blockquote {
    margin: -10px 0 20px 0;
}

.post-content h1 {
    font-size: 2rem;
}

.post-content h2 {
    font-size: 1.8rem;
}

.post-content h3 {
    font-size: 1.5rem;
}

.post-content h4 {
    font-size: 1.4rem;
}

.post-content h5 {
    font-size: 1.3rem;
}

.post-content h6 {
    font-size: 1.2rem;
}

.post-content p+ol,
.post-content p+ul {
    margin-top: 0;
}

.post-content ul ul,
.post-content ol ol {
    margin-bottom: 0;
}

.ordered-list-space .post-content>ol>li {
    margin-bottom: 2rem;
}


span.pre-list {
    margin-left: -0.25rem;
}

.post-content p:has(.pre-list) {
    margin-bottom: 0;
}

.post-content p:has(.pre-list)+ol {
    margin-top: 0;
}

.post-content a {
    box-shadow: 0 1px #666666;
}

.post-content em a {
    color: unset;
}

.post-content svg+blockquote {
    margin-top: 0;
    border-inline-start: 10px solid gray;
}

blockquote {
    font-style: italic;
}

a.footnote-ref * {
    color: #90be6dff !important;
}

a.footnote-ref::before {
    content: '[';
}

a.footnote-ref::after {
    content: ']';
}

#top-link {
    z-index: 100;
}

#top-link * {
    z-index: inherit;
}

.littlefoot aside * {
    z-index: inherit;
}

.littlefoot aside {
    z-index: 9000;
}

.littlefoot aside .littlefoot__tooltip {
    z-index: 1;
}

.littlefoot * {
    color: #577590ff;
}

.littlefoot__button {
    background-color: #333;
}

.littlefoot__button.is-active {
    background-color: #577590ff;
}

.littlefoot__button svg circle {
    fill: #666
}

.littlefoot__content p {
    margin: 1rem;
}

.toc,
.dark .toc,
.light .toc {
    margin: 0;
    margin-bottom: 1rem;
    background: unset;
}

.toc details summary,
.toc details[open] summary {
    cursor: pointer;
    margin-inline-start: 1rem;
}

.toc details summary,
.toc details[open] summary,
.toc details .inner {
    color: #666;
}

.toc details summary *,
.toc details[open] summary *,
.toc details .inner * {
    color: #666;
}

#searchbox input {
    font-weight: unset;
}

@media print {

    body {
        font-size: small;
    }

    h1, h2 {
        page-break-before: auto;
    }

    ol, ul {
        page-break-inside: avoid;
    }

}