*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-weight: 100;
}
::selection {
    background: #211316;
    color: #bda2a2;
}
a::selection {
    color: #ffffff;
}
.row {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
.sticky {
    position: sticky;
    top: 10px;
}
html {
    min-height: 100vh;
    background-color: #000000;
}
body {
    min-height: 100vh;
    padding: 10px 10px 10px 50px;
    color: #9a9595;
    font-family: "IM Fell DW Pica", serif;
    font-size: 1rem;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.24), #000000),
        url(https://cobie.nekoweb.org/graphics/bg/BR-plaid.gif);
    display: flex;
    justify-content: flex-end;
}
h1 {
    font-family: "UnifrakturMaguntia", serif;
    font-size: 2.8rem;
    letter-spacing: 1px;
}
h2 {
    font-family: serif;
    font-size: 1.6rem;
    color: #a64242;
    letter-spacing: 1px;
    font-weight: 100;
    font-style: italic;
    margin-bottom: 8px;
    border-bottom: 1px dashed;
    padding: 3px;
}
h3 {
    padding: 10px 10px 0 10px;
    border-bottom: 1px dotted;
    font-style: italic;
}
a {
    color: #ff4d6d;
    text-decoration: underline dotted 1px;
    transition: color 0.2s ease;
}
p {
    padding: 5px;
}
a:hover {
    color: #ff758f;
}
.container {
    width: 100%;
    max-width: 800px;
    border: 1px dotted #59252c;
    padding: 4px;
}
.pageheader {
    margin-left: -20px;
    transition: margin-left 0.3s steps(15);
    background: linear-gradient(to right, rgba(53, 0, 8, 0), rgba(0, 0, 0, 0));
    border-radius: 4px;
    padding-left: 4px;
}
.pageheader:hover {
    margin-left: -30px;
}
.pageheader:hover h1 {
    filter: brightness(1.4);
}
.pageheader h1 {
    padding: 6px;
    background: linear-gradient(to right, #000000, transparent 50%);
    color: #cfb6b6;
    text-shadow:
        0 0 8px #ff002b,
        0 0 20px #6b0012,
        0 0 3px #000000;
    transition: filter 0.4s ease;
}
.locational {
    padding: 4px;
    font-size: 0.8rem;
    color: #b99b9e;
}
.locational span {
    color: #ff758f;
}
.content {
    margin-top: 6px;
    padding: 10px;
    border-radius: 3px;
    background: rgba(0, 0, 0, 0.46);
    flex: 1;
}
mark.highlight {
    color: #ffcfcf;
    padding: 0 3px;
    background: none;
}
ol {
    list-style: none;
    counter-reset: grimoire-counter;
    padding-left: 0;
    margin: 1rem 0;
}
ol li {
    counter-increment: grimoire-counter;
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.5rem;
    line-height: 1.5;
}
ol li::before {
    content: counter(grimoire-counter) ".";
    position: absolute;
    left: 0;
    top: 0;
    color: #ff2a4b;
    font-weight: bold;
    font-family: "UnifrakturMaguntia", serif;
    text-shadow: 0 0 5px #6b0012;
}

.directory {
    padding: 10px;
    text-align: end;
    width: 100%;
    flex: 1;
    max-width: 150px;
    display: flex;
    flex-direction: column;
}
.directory a {
    color: #b60022;
    text-decoration: none;
}
.directory a:hover {
    text-decoration: underline dotted 1px #bdbdbd;
}
strong {
    color: #b60022;
    font-size: 20px;
    border: 2px dashed;
    border-radius: 50px;
    padding: 0 8px;
    border-top: none;
    border-bottom: none;
}
.entryp strong {
    font-family: "UnifrakturMaguntia", serif;
}

@media (max-width: 600px) {
    .row {
        display: block;
    }
    .directory {
        width: 100%;
        text-align: left;
        position: static;
    }
}

hr {
    border: none;
    border-bottom: 1px dashed
}

.sticky {
    position: sticky;
    top: 20px;
}

.directory {
    padding: 10px;
    text-align: right;
    width: 150px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
