/*
  PaperMod v7
  License: MIT https://github.com/adityatelange/hugo-PaperMod/blob/master/LICENSE
  Copyright (c) 2020 nanxiaobei and adityatelange
  Copyright (c) 2021-2024 adityatelange
*/
:root {
    --gap: 24px;
    --content-gap: 20px;
    --nav-width: 720px;
    --main-width: 720px;
    --header-height: 60px;
    --footer-height: 60px;
    --theme: rgb(255, 255, 255);
    --entry: rgb(243, 243, 243);
    --primary: rgb(0, 0, 0);
    --secondary: rgb(108, 108, 108);
    --tertiary: rgb(173, 173, 173);
    --content: rgb(0, 0, 0);
    --code-block-bg: rgb(0, 0, 0);
    --code-block-hover: rgb(33, 35, 36);
    --code-block-selection: rgb(90, 213, 131);
    --code-bg: rgb(220, 220, 220);
    --border: rgb(220, 220, 220);
    --tint: #1e69ff;
    --blockquote-border: rgb(30 105 255);
    --blockquote-background: rgba(30, 105, 255, 0.2)
}

.dark {
    --theme: rgb(0, 0, 0);
    --entry: rgb(46, 46, 51);
    --primary: rgb(218, 218, 219);
    --secondary: rgb(155, 156, 157);
    --tertiary: rgb(65, 66, 68);
    --content: rgb(218, 218, 219);
    --code-block-bg: rgb(0, 0, 0);
    --code-bg: rgb(40, 40, 40);
    --border: rgb(51, 51, 51);
    --tint: rgb(83, 179, 249);
    --blockquote-border: rgb(83, 179, 249);
    --blockquote-background: rgba(83, 180, 249, 0.2)
}

@font-face {
    font-family: Arial, sans-serif;
    font-weight: 400;
    font-style: normal;
    font-display: swap
}

@font-face {
    font-family: Arial, sans-serif;
    font-weight: 700;
    font-style: normal;
    font-display: swap
}

@font-face {
    font-family: Arial, sans-serif;
    font-weight: 400;
    font-style: italic;
    font-display: swap
}

@font-face {
    font-family: Arial, sans-serif;
    font-weight: 700;
    font-style: italic;
    font-display: swap
}

*,::after,::before {
    box-sizing: border-box
}

html {
    -webkit-tap-highlight-color: transparent;
    overflow-y: scroll;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%
}

button,body,h1,h2,h3,h4,h5,h6 {
    color: var(--primary);
    font-size: 1.5rem
}

h2 a { text-decoration: none }

body {
    font-family: Arial, sans-serif;
    font-size: 1.2rem;
    font-feature-settings: "ss03","ss04","ss05";
    line-height: 1.5rem;
    word-break: break-word;
    background: var(--theme)
}

article,aside,figcaption,figure,footer,header,hgroup,main,nav,section,table {
    display: block
}

h1,h2,h3,h4,h5,h6 {
    line-height: 1.2
}

h1,h2,h3,h4,h5,h6,p {
    margin-top: 0;
    margin-bottom: 0
}

ul {
    padding: 0
}

body,figure,ul {
    margin: 0
}

table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    overflow-x: auto;
    word-break: keep-all
}

button,input,textarea {
    padding: 0;
    font: inherit;
    background: 0 0;
    border: 0
}

input,textarea {
    outline: 0
}

button,input[type=button],input[type=submit] {
    cursor: pointer
}

input:-webkit-autofill,textarea:-webkit-autofill {
    box-shadow: 0 0 0 50px var(--theme)inset
}

img {
    display: block;
    max-width: 100%
}

.not-found {
    text-align: center;
    height: 80%;
    padding: 40% 0
}

.archive-posts {
    width: 100%;
    font-size: 16px
}

.archive-year {
    margin-top: 40px
}

.archive-year:not(:last-of-type) {
    border-bottom: 2px solid var(--border)
}

.archive-month {
    display: flex;
    align-items: flex-start;
    padding: 10px 0
}

.archive-month-header {
    margin: 25px 0;
    width: 200px
}

.archive-month:not(:last-of-type) {
    border-bottom: 1px solid var(--border)
}

.archive-entry {
    position: relative;
    padding: 5px;
    margin: 10px 0
}

.archive-entry-title {
    margin: 5px 0;
    font-weight: 400
}

.archive-count,.archive-meta {
    color: var(--secondary);
    font-size: 14px
}

.footer {
    max-width: calc(var(--main-width) + var(--gap) * 2);
    margin: auto;
    padding: calc((var(--footer-height) - var(--gap))/2)var(--gap);
    text-align: center;
    border-top: 1px solid var(--border);
    color: var(--secondary)
}

.footer span {
    margin-inline-start:1px;margin-inline-end:1px}

.footer span:last-child {
    white-space: nowrap
}

.footer a {
    color: var(--tint)
}

.top-link {
    font-size: 12px;
    color: var(--tint);
    visibility: hidden;
    position: fixed;
    bottom: 60px;
    right: 30px;
    z-index: 99;
    background: var(--tertiary);
    width: 42px;
    height: 42px;
    padding: 12px;
    border-radius: 64px;
    transition: visibility .5s,opacity .8s linear
}

.top-link,.top-link svg {
    filter: drop-shadow(0 0 0 var(--theme))
}

.top-link:focus,#theme-toggle:focus {
    outline: 0
}

.nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: calc(var(--nav-width) + var(--gap) * 2);
    margin-inline-start:auto;margin-inline-end:auto;line-height: var(--header-height)
}

.nav a {
    display: block
}

.logo,.menu {
    display: flex;
    margin: auto var(--gap)
}

.logo {
    flex-wrap: inherit
}

.logo a {
    font-size: 24px;
    font-weight: 700
}

.logo a img,.logo a svg {
    display: inline;
    vertical-align: middle;
    pointer-events: none;
    transform: translate(0,-10%);
    margin-inline-end:8px}

button#theme-toggle {
    font-size: 26px;
    margin: 0
}

body.dark #moon {
    vertical-align: middle;
    display: none
}

body:not(.dark) #sun {
    display: none
}

#moon,#sun {
    color: var(--tint)
}

#moon:hover,#sun:hover {
    filter: brightness(75%)
}

.menu {
    list-style: none;
    word-break: keep-all;
    overflow-x: auto;
    white-space: nowrap
}

.menu li a span {
    padding: 1px 3px
}

.menu li+li {
    margin-inline-start:var(--gap)}

.menu .active {
    color: var(--theme);
    background-color: var(--tint)
}

.logo-switches {
    flex-wrap: inherit;
    display: inline-flex
}

#menu-trigger {
    display: none
}

@media screen and (max-width: 768px) {
    .menu {
        list-style:none;
        position: absolute;
        right: 0;
        z-index: 5;
        margin-bottom: var(--gap);
        padding: var(--gap);
        background: var(--theme);
        border: 1px solid var(--primary);
        line-height: 2.5;
        margin: calc(var(--header-height) - var(--gap))var(--gap);
        display: block;
        box-shadow: 5px 5px var(--secondary)
    }

    .list .menu {
        background: var(--theme)
    }

    .menu li+li {
        margin-inline-start:0}

    #menu-trigger {
        font-size: 30px;
        position: relative;
        display: block;
        float: right;
        margin: auto var(--gap);
        color: var(--tint)
    }

    .menu.hidden {
        display: none
    }
}

.main {
    position: relative;
    min-height: calc(100vh - var(--header-height) - var(--footer-height));
    max-width: calc(var(--main-width) + var(--gap) * 2);
    margin: auto;
    padding: var(--gap)
}

.pagination {
    display: flex
}

.pagination a {
    color: var(--primary);
    font-size: 13px;
    line-height: 36px;
    background: var(--theme);
    border: 1px solid var(--border);
    padding: 0 16px
}

.pagination .next {
    margin-inline-start:auto}

.pagination .next,.pagination .prev {
    color: var(--tint)
}

.social-icons a {
    display: inline-flex;
    padding: 10px
}

.social-icons a svg {
    height: 26px;
    width: 26px
}

code {
    direction: ltr
}

div.highlight,pre {
    position: relative
}

.copy-code {
    display: none;
    position: absolute;
    top: 4px;
    right: 4px;
    color: rgba(255,255,255,.8);
    background: rgba(78,78,78,.8);
    padding: 5px 10px;
    font-size: 14px;
    user-select: none;
    box-shadow: 2px 2px var(--secondary)
}

div.highlight:hover .copy-code,pre:hover .copy-code {
    display: block
}

hr {
    margin: 0 0 1rem;
    height: 2px;
    background: var(--tertiary);
    border: 0
}

.first-entry {
    margin: 3rem 0;
    text-align: center
}

.first-entry h1 {
    line-height: 1.3
}

.first-entry .entry-content {
    margin: 14px 0;
    -webkit-line-clamp: 3
}

.first-entry .entry-footer {
    font-size: 14px
}

.home-info .entry-content {
    -webkit-line-clamp: unset
}

.post-entry {
    position: relative;
    margin-bottom: var(--gap)
}

.tag-entry .entry-cover {
    display: none
}

.entry-content {
    margin: 8px 0;
    color: var(--secondary);
    line-height: 1.6;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2
}

.entry-footer {
    color: var(--secondary);
    font-size: 13px;
    line-height: 1.6rem
}

.entry-link {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0
}

.entry-hint {
    color: var(--secondary)
}

.entry-cover {
    font-size: 14px;
    margin-bottom: var(--gap);
    text-align: center
}

.entry-cover img {
    pointer-events: none;
    width: 100%;
    height: auto
}

.entry-cover a {
    color: var(--secondary);
    box-shadow: 0 1px 0 var(--primary)
}

.post-header {
    margin: 24px auto var(--content-gap);
    text-transform: uppercase
}

.post-description {
    margin-top: 10px;
    margin-bottom: 5px
}

.post-meta {
    color: var(--secondary);
    font-size: 14px;
    display: inline-block;
    flex-wrap: wrap
}

.breadcrumbs {
    color: var(--secondary);
    font-size: 14px;
    display: flex;
    flex-wrap: wrap
}

.post-meta .i18n_list li {
    display: inline-flex;
    list-style: none;
    margin: auto 3px;
    box-shadow: 0 1px 0 var(--secondary)
}

.breadcrumbs a {
    font-size: 16px
}

.post-content {
    color: var(--content)
}

.post-title {
    margin-bottom: 2px
}

.post-content h1,.post-content h2,.post-content h3,.post-content h4,.post-content h5,.post-content h6 {
    text-transform: uppercase
}

.post-content h1::before {
    color: var(--secondary);
    content: '# '
}

.post-content h2::before {
    color: var(--secondary);
    content: '## '
}

.post-content h3::before {
    color: var(--secondary);
    content: '### '
}

.post-content h4::before {
    color: var(--secondary);
    content: '#### '
}

.post-content h5::before {
    color: var(--secondary);
    content: '##### '
}

.post-content h6::before {
    color: var(--secondary);
    content: '###### '
}

.post-content h1 {
    margin: 36px auto 28px
}

.post-content h2 {
    margin: 32px auto 24px
}

.post-content h3,.post-content h4,.post-content h5,.post-content h6 {
    margin: 24px 0 16px
}

.toc a:hover {
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone
}

.post-content a code {
    margin: auto 0
}

.post-content del {
    text-decoration: line-through
}

.post-content dl,.post-content ol,.post-content p,.post-content figure,.post-content ul {
    margin-bottom: var(--content-gap)
}

.post-content ol,.post-content ul {
    padding-inline-start:20px}

.post-content li {
    margin-top: 5px
}

.post-content li p {
    margin-bottom: 0
}

.post-content dl {
    display: flex;
    flex-wrap: wrap;
    margin: 0
}

.post-content dt {
    width: 25%;
    font-weight: 700
}

.post-content dd {
    width: 75%;
    margin-inline-start:0;padding-inline-start:10px}

.post-content dd~dd,.post-content dt~dt {
    margin-top: 10px
}

.post-content table {
    margin-bottom: var(--content-gap)
}

.post-content table th,.post-content table:not(.highlighttable,.highlight table,.gist .highlight) td {
    min-width: 80px;
    padding: 8px 5px;
    line-height: 1.5;
    border-bottom: 1px solid var(--border)
}

.post-content table th {
    text-align: start
}

.post-content table:not(.highlighttable) td code:only-child {
    margin: auto 0
}

.post-content .highlight:not(table) {
    margin: 10px auto;
    background: var(--code-block-bg)!important;
    direction: ltr
}

.post-content li>.highlight {
    margin-inline-end:0}

.post-content ul pre {
    margin-inline-start:calc(var(--gap) * -2)}

.post-content .highlight pre {
    margin: 0
}

.post-content .highlighttable {
    table-layout: fixed
}

.post-content .highlighttable td:first-child {
    width: 40px
}

.post-content .highlighttable td .linenodiv {
    padding-inline-end:0!important}

.post-content .highlighttable td .highlight,.post-content .highlighttable td .linenodiv pre {
    margin-bottom: 0
}

.post-content code {
    padding: 3px 6px;
    font-family: Arial, sans-serif;
    line-height: 1.5;
    background: var(--code-bg)
}

.post-content pre code {
    display: grid;
    margin: auto 0;
    padding-top: 1rem;
    padding-bottom: 1rem;
    padding-left: 1rem;
    color: #d5d5d6;
    background: var(--code-block-bg)!important;
    border: 1px solid var(--border);
    overflow-x: auto;
    word-break: break-all
}

.post-content blockquote {
    margin: 20px 0;
    padding: 16px;
    border-inline-start:5px solid var(--blockquote-border);background: var(--blockquote-background)
}

.post-content iframe {
    max-width: 100%
}

.post-content img {
    margin: 1rem 0;
    border: 1px solid var(--border)
}

.post-content img[src*="#center"] {
    margin: 1rem auto
}

.post-content figure.align-center {
    text-align: center
}

.post-content figure>figcaption {
    color: var(--primary);
    font-size: 16px;
    font-weight: 700;
    margin: 8px 0 16px
}

.post-content figure>figcaption>p {
    color: var(--secondary);
    font-size: 14px;
    font-weight: 400
}

.toc {
    margin: 0 2px 40px;
    border: 1px solid var(--primary);
    background: var(--theme);
    padding: .4em;
    box-shadow: 5px 5px var(--secondary)
}

.dark .toc {
    background: var(--theme)
}

.toc details summary {
    cursor: zoom-in;
    margin-inline-start:20px}

.toc details[open] summary {
    cursor: zoom-out
}

.toc .details {
    display: inline;
    font-weight: 500
}

.toc .inner {
    margin: 0 20px;
    padding: 10px 20px
}

.toc li ul {
    margin-inline-start:var(--gap)}

.toc summary: focus {
    outline:0
}

.post-footer {
    margin-top: 56px
}

.post-footer>* {
    margin-bottom: 10px
}

.post-tags {
    display: inline-block;
    flex-wrap: wrap;
    gap: 10px
}

.post-tags li {
    display: inline-block
}

.share-buttons,.paginav {
    border: 1px solid var(--border)
}

.post-tags a {
    display: inline-block;
    flex-wrap: wrap;
    color: var(--secondary);
    font-size: 12px;
    line-height: 24px
}

.post-tags a::before {
    content: "[";
    color: var(--tertiary)
}

.post-tags a::after {
    content: "]";
    color: var(--tertiary)
}

.share-buttons {
    padding: 10px;
    display: flex;
    justify-content: center;
    overflow-x: auto;
    gap: 10px
}

.share-buttons li,.share-buttons a {
    display: inline-flex
}

.share-buttons a:not(:last-of-type) {
    margin-inline-end:12px}

.paginav {
    display: flex;
    line-height: 30px
}

.paginav a {
    padding-inline-start:14px;padding-inline-end:14px}

.paginav .title {
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: small;
    color: var(--secondary)
}

.paginav .prev,.paginav .next {
    width: 50%
}

.paginav span:hover:not(.title) {
    box-shadow: 0 1px
}

.paginav .next {
    margin-inline-start:auto;text-align: right
}

[dir=rtl] .paginav .next {
    text-align: left
}

h1>a>svg {
    display: inline
}

.page-header h1 a svg {
    width: 1.1em;
    height: 1.1em;
    vertical-align: middle
}

img.in-text {
    display: inline;
    margin: auto
}

.buttons,.main .profile {
    display: flex;
    justify-content: center
}

.main .profile {
    align-items: center;
    min-height: calc(100vh - var(--header-height) - var(--footer-height) - (var(--gap) * 2));
    text-align: center
}

.profile .profile_inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px
}

.buttons {
    flex-wrap: wrap;
    max-width: 400px
}

.button {
    background: var(--tertiary);
    margin: 8px;
    padding: 6px
}

.button-inner {
    padding: 0 8px
}

#searchbox input {
    padding: 4px 10px;
    width: 100%;
    color: var(--primary);
    border: 1px solid var(--tertiary)
}

#searchbox input:focus {
    border-color: var(--secondary)
}

#searchResults li {
    list-style: none;
    padding: 6px;
    margin: 6px 0;
    position: relative;
    color: var(--tint)
}

#searchResults {
    margin: 10px 0;
    width: 100%
}

#searchResults a {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    outline: none
}

#searchResults li:hover {
    filter: brightness(75%)
}

#searchResults .focus {
    transform: scale(.98);
    border: 2px solid var(--tertiary)
}

.terms-tags li {
    display: inline-block;
    padding: 8px
}

.terms-tags a {
    display: block;
    padding: 3px 6px
}

.terms-tags a::before {
    content: "[";
    color: var(--tertiary)
}

.terms-tags a::after {
    content: "]";
    color: var(--tertiary)
}

.bg {
    color: #abb2bf;
    background-color: #282c34
}

.chroma {
    color: #abb2bf;
    background-color: #282c34
}

.chroma .lnlinks {
    outline: none;
    text-decoration: none;
    color: inherit
}

.chroma .lntd {
    vertical-align: top;
    padding: 0;
    margin: 0;
    border: 0
}

.chroma .lntable {
    border-spacing: 0;
    padding: 0;
    margin: 0;
    border: 0
}

.chroma .hl {
    background-color: #3d4148
}

.chroma .lnt {
    white-space: pre;
    -webkit-user-select: none;
    user-select: none;
    margin-right: .4em;
    padding: 0 .4em;
    color: #94969e
}

.chroma .ln {
    white-space: pre;
    -webkit-user-select: none;
    user-select: none;
    margin-right: .4em;
    padding: 0 .4em;
    color: #55595f
}

.chroma .line {
    display: flex
}

.chroma .line:hover {
    background-color: var(--code-block-hover)
}

.chroma .k {
    color: #d371e3
}

.chroma .kc {
    color: #d371e3
}

.chroma .kd {
    color: #d371e3
}

.chroma .kn {
    color: #d371e3
}

.chroma .kp {
    color: #d371e3
}

.chroma .kr {
    color: #d371e3
}

.chroma .kt {
    color: #d371e3
}

.chroma .n {
    color: #a9b2c0
}

.chroma .na {
    color: #41b0f5
}

.chroma .nb {
    color: #19b9c4
}

.chroma .bp {
    color: #ecbf6f
}

.chroma .nc {
    color: #ecbf6f
}

.chroma .no {
    color: #41b0f5
}

.chroma .nd {
    color: #ecbf6f
}

.chroma .ni {
    color: #41b0f5
}

.chroma .ne {
    color: #41b0f5
}

.chroma .nf {
    color: #41b0f5;
    font-weight: 700
}

.chroma .fm {
    color: #19b9c4;
    font-weight: 700
}

.chroma .nl {
    color: #41b0f5
}

.chroma .nn {
    color: #41b0f5
}

.chroma .nx {
    color: #a9a9b3
}

.chroma .py {
    color: #41b0f5
}

.chroma .nt {
    color: #41b0f5
}

.chroma .nv {
    color: #41b0f5
}

.chroma .vc {
    color: #41b0f5
}

.chroma .vg {
    color: #41b0f5
}

.chroma .vi {
    color: #41b0f5
}

.chroma .vm {
    color: #41b0f5
}

.chroma .l {
    color: #2aa198
}

.chroma .ld {
    color: #2aa198
}

.chroma .s {
    color: #8cc570
}

.chroma .sa {
    color: #8cc570
}

.chroma .sb {
    color: #8cc570
}

.chroma .sc {
    color: #8cc570
}

.chroma .dl {
    color: #8cc570
}

.chroma .sd {
    color: #8cc570
}

.chroma .s2 {
    color: #8cc570
}

.chroma .se {
    color: #8cc570
}

.chroma .sh {
    color: #8cc570
}

.chroma .si {
    color: #8cc570
}

.chroma .sx {
    color: #8cc570
}

.chroma .sr {
    color: #8cc570
}

.chroma .s1 {
    color: #8cc570
}

.chroma .ss {
    color: #8cc570
}

.chroma .m {
    color: #db985c
}

.chroma .mb {
    color: #db985c
}

.chroma .mf {
    color: #db985c
}

.chroma .mh {
    color: #db985c
}

.chroma .mi {
    color: #db985c
}

.chroma .il {
    color: #db985c
}

.chroma .mo {
    color: #db985c
}

.chroma .o {
    color: #ecbf6f
}

.chroma .ow {
    color: #d371e3
}

.chroma .p {
    color: #a9a9b3
}

.chroma .c {
    color: #666;
    font-style: italic
}

.chroma .ch {
    color: #666;
    font-style: italic
}

.chroma .cm {
    color: #666;
    font-style: italic
}

.chroma .c1 {
    color: #666;
    font-style: italic
}

.chroma .cs {
    color: #666;
    font-style: italic
}

.chroma .cp {
    color: #ff8000;
    font-style: italic
}

.chroma .cpf {
    color: #666;
    font-style: italic
}

.chroma .g {
    color: #f16372
}

.chroma .gd {
    color: #f16372
}

.chroma .ge {
    color: #f16372
}

.chroma .gr {
    color: #f16372
}

.chroma .gh {
    color: #f16372
}

.chroma .gi {
    color: #98c379;
    font-weight: 700
}

.chroma .go {
    color: #f16372
}

.chroma .gp {
    color: #f16372
}

.chroma .gs {
    color: #f16372
}

.chroma .gu {
    color: #f16372
}

.chroma .gt {
    color: #f16372
}

.chroma .gl {
    color: #f16372
}

.chroma .w {
    color: #bbb
}

.chroma {
    background-color: unset!important
}

.chroma .hl {
    display: flex
}

.chroma .lnt {
    padding: 0 0 0 12px
}

.highlight pre.chroma code {
    padding: 8px 0
}

.highlight pre.chroma .line .cl,.chroma .ln {
    padding: 0 10px
}

.chroma .lntd:last-of-type {
    width: 100%
}

::-webkit-scrollbar-track {
    background: 0 0
}

.list:not(.dark)::-webkit-scrollbar-track {
    background: var(--code-bg)
}

::-webkit-scrollbar-thumb {
    background: var(--tertiary);
    border: 5px solid var(--theme)
}

.list:not(.dark)::-webkit-scrollbar-thumb {
    border: 5px solid var(--code-bg)
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary)
}

::-webkit-scrollbar:not(.highlighttable,.highlight table,.gist .highlight) {
    background: var(--theme)
}

.post-content .highlighttable td .highlight pre code::-webkit-scrollbar {
    display: none
}

.post-content :not(table) ::-webkit-scrollbar-thumb {
    border: 2px solid var(--code-block-bg);
    background: #717175
}

.post-content :not(table) ::-webkit-scrollbar-thumb:hover {
    background: #a3a3a5
}

.gist table::-webkit-scrollbar-thumb {
    border: 2px solid #fff;
    background: #adadad
}

.gist table::-webkit-scrollbar-thumb:hover {
    background: #707070
}

.post-content table::-webkit-scrollbar-thumb {
    border-width: 2px
}

@media screen and (min-width: 768px) {
    ::-webkit-scrollbar {
        width:19px;
        height: 11px
    }
}

@media screen and (max-width: 768px) {
    :root {
        --gap:14px
    }

    .profile img {
        transform: scale(.85)
    }

    .first-entry {
        min-height: 260px
    }

    .archive-month {
        flex-direction: column
    }

    .archive-year {
        margin-top: 20px
    }

    .footer {
        padding: calc((var(--footer-height) - var(--gap) - 10px)/2)var(--gap)
    }
}

@media screen and (max-width: 900px) {
    .list .top-link {
        transform:translateY(-5rem)
    }
}

@media screen and (max-width: 340px) {
    .share-buttons {
        justify-content:unset
    }
}

pre.ascii-art {
    line-height: 1.2;
    white-space: pre-wrap;
    max-width: 100%;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none
}

pre.ascii-art #ascii-subtitle {
    color: var(--secondary)
}

.shining-star::after {
    content: "*";
    animation: shine 2s infinite alternate
}

@keyframes shine {
    0%,50% {
        content: "*"
    }

    51%,100% {
        content: "·"
    }
}

.shining-star-2::after {
    content: "+";
    animation: shine-2 2s infinite alternate
}

@keyframes shine-2 {
    0%,50% {
        content: "+"
    }

    51%,100% {
        content: "×"
    }
}

::selection {
    color: var(--theme);
    background-color: var(--primary)
}

pre ::selection {
    color: #000;
    background-color: var(--code-block-selection)
}

a {
    color: var(--tint);
}

a:hover {
    filter: brightness(75%)
}

.random-post-button {
    color: var(--tint);
    text-decoration: none;
    margin-bottom: 2rem
}

.random-post-button:hover {
    filter: brightness(75%)
}

.random-post-button::before {
    content: "[";
    color: var(--tertiary)
}

.random-post-button::after {
    content: "]";
    color: var(--tertiary)
}

.post-content p {
    text-wrap: pretty
}

.highlight {
    border: 1px solid var(--border);
    padding-top: .5rem;
    padding-bottom: .5rem;
    padding-left: .5rem
}

.chroma td pre code {
    border: 0
}

.post-link {
    margin: 0;
    padding: 0
}

.post-link:before {
    content: "[";
    color: var(--tertiary)
}

.post-link:after {
    content: "]";
    color: var(--tertiary)
}

.page-header {
    margin: 24px auto var(--content-gap);
    text-transform: uppercase
}

.page-header::after {
    content: "---"
}
