/*
 * COM Lore Archive Template
 * Dark, archival, document-like, with a deliberate old-web sparkle.
 * Typography hierarchy, restrained blue accents, subtle borders.
 */

/* ═══════════════════════════════════════════
   RESET & BASE
   ═══════════════════════════════════════════ */

:root {
    --comlore-cross-cursor: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http://www.w3.org/2000/svg%27%20width%3D%2732%27%20height%3D%2732%27%20viewBox%3D%270%200%2032%2032%27%20shape-rendering%3D%27crispEdges%27%3E%3Cpath%20fill%3D%27%23000%27%20d%3D%27M13%201h6v16h7v6h-7v8h-6v-8H6v-6h7z%27/%3E%3Cpath%20fill%3D%27%23f2f2f2%27%20d%3D%27M15%203h2v16h7v2h-7v8h-2v-8H8v-2h7z%27/%3E%3C/svg%3E") 16 2, auto;
}

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    background-color: #000;
}

body {
    margin: 0;
    padding: 0;
    min-height: 100%;
    background-color: #000;
    color: #cfcfcf;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    letter-spacing: 0;
    cursor: var(--comlore-cross-cursor);
    overflow-x: hidden;
}

img, svg, video, canvas {
    max-width: 100%;
}

/* ═══════════════════════════════════════════
   SITE WRAPPER
   ═══════════════════════════════════════════ */

#dokuwiki__site {
    position: relative;
    z-index: 1;
    isolation: isolate;
    max-width: 80rem;
    margin: 0 auto;
    background-color: rgba(0, 0, 0, 0.88);
}

#dokuwiki__site > .site {
    position: relative;
    z-index: 1;
    padding: 0 1.5rem;
    border-left: 1px solid #151515;
    border-right: 1px solid #151515;
    min-height: 100vh;
}

/* ═══════════════════════════════════════════
   RETRO SKY
   ═══════════════════════════════════════════ */

body::before,
body::after,
#dokuwiki__site::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    image-rendering: pixelated;
    background-repeat: repeat;
}

body::before {
    opacity: 0.38;
    background-image:
        radial-gradient(circle at 12px 18px, rgba(245, 245, 240, 0.9) 0 1px, transparent 1px),
        radial-gradient(circle at 78px 42px, rgba(185, 213, 238, 0.64) 0 1px, transparent 1px),
        radial-gradient(circle at 134px 72px, rgba(255, 255, 255, 0.72) 0 1px, transparent 1px),
        radial-gradient(circle at 196px 26px, rgba(150, 178, 202, 0.5) 0 1px, transparent 1px),
        radial-gradient(circle at 236px 118px, rgba(245, 245, 240, 0.68) 0 1px, transparent 1px),
        radial-gradient(circle at 42px 138px, rgba(255, 255, 255, 0.48) 0 1px, transparent 1px);
    background-size: 280px 180px;
    animation: comlore-stars-near 7.5s steps(4, end) infinite;
}

body::after {
    opacity: 0.24;
    background-image:
        radial-gradient(circle at 34px 54px, rgba(255, 255, 255, 0.76) 0 1px, transparent 1px),
        radial-gradient(circle at 118px 22px, rgba(160, 190, 220, 0.54) 0 1px, transparent 1px),
        radial-gradient(circle at 188px 102px, rgba(255, 255, 255, 0.55) 0 1px, transparent 1px),
        radial-gradient(circle at 264px 68px, rgba(245, 245, 240, 0.68) 0 1px, transparent 1px),
        radial-gradient(circle at 318px 148px, rgba(145, 170, 195, 0.42) 0 1px, transparent 1px),
        radial-gradient(circle at 408px 94px, rgba(255, 255, 255, 0.5) 0 1px, transparent 1px);
    background-position: 23px 17px;
    background-size: 460px 230px;
    animation: comlore-stars-far 10.5s steps(5, end) infinite;
}

#dokuwiki__site::before {
    opacity: 0.58;
    background-image: url("images/starfield-varied.svg");
    background-position: 17px 29px;
    background-size: 420px 280px;
    filter: drop-shadow(0 0 1.25px rgba(159, 211, 244, 0.52));
    animation: comlore-stars-sparkle 4.6s steps(1, end) infinite;
}

@keyframes comlore-stars-near {
    0%,
    100% {
        opacity: 0.28;
    }

    25% {
        opacity: 0.44;
    }

    52% {
        opacity: 0.22;
    }

    76% {
        opacity: 0.5;
    }
}

@keyframes comlore-stars-far {
    0%,
    100% {
        opacity: 0.2;
        background-position: 23px 17px;
    }

    38% {
        opacity: 0.32;
    }

    64% {
        opacity: 0.16;
        background-position: 24px 17px;
    }

    82% {
        opacity: 0.28;
    }
}

@keyframes comlore-stars-sparkle {
    0%,
    100% {
        opacity: 0.38;
        background-position: 17px 29px;
    }

    17% {
        opacity: 0.82;
    }

    31% {
        opacity: 0.48;
    }

    52% {
        opacity: 0.7;
        background-position: 18px 29px;
    }

    68% {
        opacity: 0.3;
    }

    84% {
        opacity: 0.76;
    }
}

@media (prefers-reduced-motion: reduce) {
    body::before,
    body::after,
    #dokuwiki__site::before {
        animation: none;
    }

    #dokuwiki__site::before {
        opacity: 0.5;
    }
}

a,
button,
input[type="button"],
input[type="reset"],
input[type="submit"],
label,
select,
summary,
[role="button"] {
    cursor: var(--comlore-cross-cursor);
}

input[type="email"],
input[type="password"],
input[type="search"],
input[type="text"],
textarea {
    cursor: text;
}

button:disabled,
input:disabled,
select:disabled,
textarea:disabled {
    cursor: not-allowed;
}

#dokuwiki__top > .wrapper {
    display: grid;
    grid-template-columns: 1fr 2.25rem;
    grid-template-areas: "content tools";
    column-gap: 1rem;
    align-items: start;
    position: relative;
}

#dokuwiki__top.showSidebar > .wrapper {
    grid-template-columns: 13rem 1fr 2.25rem;
    grid-template-areas: "aside content tools";
    column-gap: 2rem;
}

#dokuwiki__top > .wrapper::before,
#dokuwiki__top > .wrapper::after,
#dokuwiki__header > .pad::before,
#dokuwiki__header > .pad::after,
#dokuwiki__footer > .pad::before,
#dokuwiki__footer > .pad::after {
    content: none;
    display: none;
}

/* ═══════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════ */

#dokuwiki__header {
    border-bottom: 1px solid #1b1b1b;
    margin-bottom: 0;
}

#dokuwiki__header > .pad {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    gap: 0.7rem;
    padding: 2.35rem 0 1.35rem;
    text-align: center;
}

#dokuwiki__header .headings {
    float: none;
    width: 100%;
    min-width: 0;
    margin: 0;
}

#dokuwiki__header .tools {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    float: none;
    min-width: 0;
    text-align: center;
    margin: 0;
}

/* Site title */
#dokuwiki__header h1.logo {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    font-family: "Courier New", Courier, monospace;
    line-height: 1.2;
    letter-spacing: 0;
    text-transform: uppercase;
}

#dokuwiki__header h1.logo a {
    display: inline-flex;
    align-items: center;
    color: #f2f2f2;
    text-decoration: none;
    background: none;
}

#dokuwiki__header h1.logo a:hover,
#dokuwiki__header h1.logo a:focus {
    color: #7aaee0;
    background: none;
}

#dokuwiki__header h1.logo .site-logo__mark {
    display: block;
    width: 18rem;
    max-width: 58vw;
    aspect-ratio: 1;
    overflow: hidden;
}

#dokuwiki__header h1.logo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

#dokuwiki__header p.claim {
    margin: 0.1rem 0 0;
    font-size: 0.75rem;
    color: #7a7a76;
    font-family: "Courier New", Courier, monospace;
    line-height: 1.45;
    letter-spacing: 0;
}

#dokuwiki__header .telegram-join {
    display: inline-block;
    margin: 0.15rem 0 0;
    color: #f2f2f2;
    background: none;
    border-bottom: 0;
    font-family: "Courier New", Courier, monospace;
    font-size: 0.98rem;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: 0;
    text-decoration: underline;
    text-transform: uppercase;
}

#dokuwiki__header .telegram-join:hover,
#dokuwiki__header .telegram-join:focus {
    color: #8ec7ff;
    background: none;
}

/* All header links */
#dokuwiki__header a {
    color: #7a7a76;
    background: none;
    text-decoration: none;
}

#dokuwiki__header a:hover,
#dokuwiki__header a:focus {
    color: #7aaee0;
    background: none;
    text-decoration: none;
}

/* ═══════════════════════════════════════════
   NAVIGATION / SIDEBAR
   ═══════════════════════════════════════════ */

#dokuwiki__aside {
    grid-area: aside;
    width: auto;
    float: none;
    min-width: 0;
}

#dokuwiki__aside > .pad {
    margin: 0;
    padding: 1.55rem 0 2rem;
}

#dokuwiki__aside .toggle {
    display: none;
}

#dokuwiki__aside h3 {
    font-size: 0.7rem;
    font-weight: normal;
    font-family: "Courier New", Courier, monospace;
    text-transform: uppercase;
    letter-spacing: 0;
    color: #666;
    border-bottom: 1px solid #242424;
    padding-bottom: 0.45rem;
    margin: 1.35rem 0 0.45rem;
}

#dokuwiki__aside h3:first-child {
    margin-top: 0;
}

#dokuwiki__aside h3 a {
    display: block;
    color: inherit;
    background: none;
    border-bottom: none;
    text-decoration: none;
}

#dokuwiki__aside h3 a:hover {
    color: #7aaee0;
    background: none;
}

#dokuwiki__aside p {
    margin: 1.35rem 0 0.45rem;
}

#dokuwiki__aside p:first-child {
    margin-top: 0;
}

#dokuwiki__aside p strong {
    display: block;
    font-weight: normal;
    padding-bottom: 0.45rem;
    border-bottom: 1px solid #242424;
    color: #666;
    font-family: "Courier New", Courier, monospace;
    font-size: 0.7rem;
    line-height: 1.4;
    letter-spacing: 0;
    text-transform: uppercase;
}

#dokuwiki__aside p strong a {
    display: block;
    color: inherit;
    background: none;
    border-bottom: 0;
    text-decoration: none;
}

#dokuwiki__aside p strong a:hover,
#dokuwiki__aside p strong a:focus {
    color: #7aaee0;
    background: none;
}

#dokuwiki__aside ul {
    margin: 0 0 1.25rem 0;
    padding: 0;
    list-style: none;
}

#dokuwiki__aside ul li,
#dokuwiki__aside ul li .li {
    margin: 0;
    padding: 0;
}

#dokuwiki__aside ul li a {
    display: block;
    min-height: 1.8rem;
    padding: 0.28rem 0.25rem;
    font-size: 0.86rem;
    color: #7a7a76;
    text-decoration: none;
    background: none;
    border-bottom: none;
}

#dokuwiki__aside ul li a:hover,
#dokuwiki__aside ul li a:focus {
    color: #7aaee0;
    background: #101010;
}

#dokuwiki__aside .dokuwiki {
    font-size: 0.86rem;
}

/* ═══════════════════════════════════════════
   CONTENT AREA
   ═══════════════════════════════════════════ */

.showSidebar #dokuwiki__content {
    grid-area: content;
    float: none;
    margin-left: 0;
    width: auto;
    min-width: 0;
}

.showSidebar #dokuwiki__content > .pad {
    margin-left: 0;
    padding: 1.55rem 0 2.5rem;
}

#dokuwiki__content {
    grid-area: content;
    float: none;
    min-width: 0;
    max-width: 100%;
}

#dokuwiki__content > .pad {
    margin: 0;
    padding: 1.55rem 0 2.5rem;
    min-width: 0;
}

#dokuwiki__content .page {
    max-width: 62rem;
    min-width: 0;
    overflow-wrap: break-word;
}

.comhidden-admin {
    max-width: 62rem;
    margin: 0 0 1rem;
    padding: 0.78rem 0.9rem;
    border: 1px solid #35302a;
    background: #090806;
    color: #cfc3b2;
    font-family: "Courier New", Courier, monospace;
    font-size: 0.78rem;
    line-height: 1.45;
}

.comhidden-admin p {
    margin: 0 0 0.6rem;
}

.comhidden-admin form {
    margin: 0;
}

.comhidden-admin__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.dokuwiki .comhidden-admin button {
    border-color: #51483c;
    color: #f2d5a0;
    background: #15100a;
    text-transform: uppercase;
}

.comindex-alpha {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem 2rem;
    margin: 1rem 0 1.6rem;
}

.comindex-alpha__column {
    display: grid;
    align-content: start;
    gap: 1rem;
    min-width: 0;
}

.comindex-alpha__letter {
    min-width: 0;
}

.comindex-alpha__heading {
    margin: 0 0 0.35rem;
    color: #666;
    font-family: "Courier New", Courier, monospace;
    font-size: 0.72rem;
    font-weight: normal;
    line-height: 1.4;
    letter-spacing: 0;
    text-transform: uppercase;
}

.comindex-alpha__list {
    display: grid;
    gap: 0.12rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.comindex-alpha__item {
    margin: 0;
    padding: 0.12rem 0;
    overflow-wrap: anywhere;
}

.comindex-alpha__item a {
    display: inline;
    padding: 0;
    color: #c8c8c4;
    background: none;
    border-bottom: 0;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.comindex-alpha__item a:hover,
.comindex-alpha__item a:focus {
    color: #7aaee0;
    background: none;
}

.comindex-hidden-suffix {
    display: inline-block;
    position: relative;
    margin-left: 0.38rem;
    color: #b8b8b8;
    background: linear-gradient(90deg, #626262 0%, #dadada 28%, #858585 52%, #f0f0f0 70%, #6e6e6e 100%);
    background-size: 260% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    font-family: "Courier New", Courier, monospace;
    font-size: 0.74em;
    font-weight: 700;
    line-height: 1.35;
    text-transform: none;
    white-space: nowrap;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 0.18rem rgba(205, 205, 205, 0.34));
    text-shadow:
        0 0 0.16rem rgba(235, 235, 235, 0.38),
        0 0 0.55rem rgba(150, 150, 150, 0.26);
    animation:
        comindex-hidden-shine 4.8s ease-in-out infinite,
        comindex-hidden-ghost 3.2s ease-in-out infinite;
    isolation: isolate;
}

.comindex-hidden-suffix::after {
    content: attr(data-label);
    position: absolute;
    inset: 0;
    color: rgba(190, 190, 190, 0.34);
    -webkit-text-fill-color: rgba(190, 190, 190, 0.28);
    filter: blur(0.12rem);
    opacity: 0.52;
    pointer-events: none;
    transform: translate(0.05rem, -0.03rem);
    animation: comindex-hidden-smoke 3.9s ease-in-out infinite;
    z-index: -1;
}

@keyframes comindex-hidden-shine {
    0%,
    100% {
        background-position: 140% 50%;
    }

    50% {
        background-position: 0% 50%;
    }
}

@keyframes comindex-hidden-ghost {
    0%,
    100% {
        opacity: 0.78;
        filter: drop-shadow(0 0 0.16rem rgba(205, 205, 205, 0.25));
    }

    45% {
        opacity: 1;
        filter: drop-shadow(0 0 0.34rem rgba(235, 235, 235, 0.5));
    }

    72% {
        opacity: 0.68;
        filter: drop-shadow(0 0 0.24rem rgba(150, 150, 150, 0.36));
    }
}

@keyframes comindex-hidden-smoke {
    0%,
    100% {
        opacity: 0.28;
        transform: translate(0.02rem, 0) scale(1);
    }

    45% {
        opacity: 0.58;
        transform: translate(0.11rem, -0.08rem) scale(1.04);
    }

    76% {
        opacity: 0.36;
        transform: translate(-0.04rem, -0.04rem) scale(1.02);
    }
}

.comindex-withheld-suffix {
    display: inline-block;
    position: relative;
    margin-left: 0.38rem;
    color: #8f1f1f;
    background: linear-gradient(92deg, #4b0505 0%, #a92626 26%, #2a0000 48%, #d24b4b 62%, #5b0707 100%);
    background-size: 340% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    font-family: "Courier New", Courier, monospace;
    font-size: 0.74em;
    font-weight: 700;
    line-height: 1.35;
    text-transform: none;
    white-space: nowrap;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 0.18rem rgba(128, 10, 10, 0.5));
    text-shadow:
        0.04rem 0 0 rgba(255, 70, 70, 0.4),
        -0.04rem 0 0 rgba(58, 0, 0, 0.72),
        0 0 0.5rem rgba(115, 0, 0, 0.35);
    animation:
        comindex-withheld-sheer 2.8s linear infinite,
        comindex-withheld-glitch 1.6s steps(2, end) infinite;
    isolation: isolate;
}

.comindex-withheld-suffix::before,
.comindex-withheld-suffix::after {
    content: attr(data-label);
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.68;
    z-index: -1;
}

.comindex-withheld-suffix::before {
    color: rgba(245, 68, 68, 0.72);
    -webkit-text-fill-color: rgba(245, 68, 68, 0.52);
    clip-path: inset(0 0 54% 0);
    transform: translate(0.07rem, -0.02rem) skewX(-8deg);
    animation: comindex-withheld-slice-a 1.3s steps(2, end) infinite;
}

.comindex-withheld-suffix::after {
    color: rgba(65, 0, 0, 0.78);
    -webkit-text-fill-color: rgba(65, 0, 0, 0.6);
    clip-path: inset(46% 0 0 0);
    transform: translate(-0.06rem, 0.03rem) skewX(10deg);
    animation: comindex-withheld-slice-b 1.1s steps(2, end) infinite;
}

@keyframes comindex-withheld-sheer {
    0% {
        background-position: 160% 50%;
    }

    100% {
        background-position: -120% 50%;
    }
}

@keyframes comindex-withheld-glitch {
    0%,
    78%,
    100% {
        opacity: 0.94;
        transform: translate(0, 0) skewX(0deg);
    }

    80% {
        opacity: 0.72;
        transform: translate(-0.04rem, 0.01rem) skewX(-5deg);
    }

    84% {
        opacity: 1;
        transform: translate(0.05rem, -0.01rem) skewX(6deg);
    }
}

@keyframes comindex-withheld-slice-a {
    0%,
    76%,
    100% {
        transform: translate(0.05rem, -0.02rem) skewX(-6deg);
    }

    80% {
        transform: translate(0.18rem, -0.05rem) skewX(-14deg);
    }

    84% {
        transform: translate(-0.06rem, 0) skewX(8deg);
    }
}

@keyframes comindex-withheld-slice-b {
    0%,
    72%,
    100% {
        transform: translate(-0.05rem, 0.03rem) skewX(8deg);
    }

    78% {
        transform: translate(-0.16rem, 0.07rem) skewX(15deg);
    }

    83% {
        transform: translate(0.08rem, -0.02rem) skewX(-7deg);
    }
}

.comindex-latest {
    margin: 0.85rem 0 1.65rem;
    border: 1px solid #2a2a2a;
    background: #000;
    overflow-x: auto;
}

.dokuwiki .page .comindex-latest__table {
    min-width: 36rem;
    width: 100%;
    margin: 0;
    border-collapse: collapse;
    font-family: "Courier New", Courier, monospace;
    font-size: 0.86rem;
    line-height: 1.45;
}

.dokuwiki .page .comindex-latest__table th {
    padding: 0.62rem 0.75rem;
    color: #9a9a9a;
    background: #111;
    border: 0;
    border-bottom: 1px solid #2a2a2a;
    font-size: 0.74rem;
    font-weight: 400;
    letter-spacing: 0;
    text-align: left;
    text-transform: uppercase;
    white-space: nowrap;
}

.dokuwiki .page .comindex-latest__table td {
    padding: 0.54rem 0.75rem;
    color: #cfcfcf;
    background: #000;
    border: 0;
    border-top: 1px solid #1b1b1b;
    vertical-align: middle;
}

.dokuwiki .page .comindex-latest__table tbody tr:first-child td {
    border-top: 0;
}

.dokuwiki .page .comindex-latest__table tr:hover td {
    background: #101010;
}

.dokuwiki .page .comindex-latest__article a {
    color: #f0f0f0;
    border-bottom: 0;
    text-decoration: none;
}

.dokuwiki .page .comindex-latest__article a:hover,
.dokuwiki .page .comindex-latest__article a:focus {
    color: #8ec7ff;
    border-bottom: 0;
}

.comindex-latest__date,
.comindex-latest__author {
    color: #9a9a9a;
    white-space: nowrap;
}

/* Page ID indicator — minimal */
#dokuwiki__content .pageId {
    font-size: 0.7rem;
    font-family: "Courier New", Courier, monospace;
    color: #383836;
    text-align: right;
    margin: 0 0 0.45rem;
    text-transform: lowercase;
    letter-spacing: 0;
    line-height: 1.4;
}

/* Document info at bottom */
#dokuwiki__content .docInfo {
    max-width: 62rem;
    margin-top: 1.6rem;
    padding-top: 0.85rem;
    border-top: 1px solid #1e1e1e;
    font-size: 0.75rem;
    font-family: "Courier New", Courier, monospace;
    color: #444440;
    line-height: 1.5;
}

#dokuwiki__content .docInfo a {
    color: #4a4a48;
    background: none;
}

#dokuwiki__content .docInfo a:hover,
#dokuwiki__content .docInfo a:focus {
    color: #7aaee0;
    background: none;
}

/* ═══════════════════════════════════════════
   PAGE TOOLS (right-side icons)
   ═══════════════════════════════════════════ */

#dokuwiki__pagetools {
    grid-area: tools;
    position: sticky;
    top: 1rem;
    width: auto;
    padding-top: 1.55rem;
    align-self: start;
}

#dokuwiki__pagetools ul {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

#dokuwiki__pagetools li a {
    position: relative;
    display: grid;
    place-items: center;
    width: 2rem;
    height: 2rem;
    margin: 0;
    color: #4a4a48;
    background: none;
    border: 1px solid transparent;
    text-decoration: none;
    opacity: 1;
    transition: color 0.15s, background-color 0.15s, border-color 0.15s;
}

#dokuwiki__pagetools li a:hover,
#dokuwiki__pagetools li a:focus {
    color: #7aaee0;
    background: #101010;
    border-color: #242424;
}

#dokuwiki__pagetools li a span {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

#dokuwiki__pagetools li a svg {
    width: 1.15rem;
    height: 1.15rem;
    fill: currentColor;
}

/* ═══════════════════════════════════════════
   SITE TOOLS (top nav)
   ═══════════════════════════════════════════ */

#dokuwiki__sitetools,
#dokuwiki__usertools {
    font-size: 0.78rem;
    font-family: "Courier New", Courier, monospace;
}

#dokuwiki__sitetools {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.55rem 0.9rem;
}

#dokuwiki__sitetools ul,
#dokuwiki__usertools ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.4rem 0.9rem;
}

#dokuwiki__sitetools ul li,
#dokuwiki__usertools ul li {
    display: block;
    margin: 0;
}

#dokuwiki__sitetools ul li a,
#dokuwiki__usertools ul li a {
    color: #7a7a76;
    text-decoration: none;
    background: none;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    white-space: nowrap;
}

#dokuwiki__sitetools ul li a:hover,
#dokuwiki__sitetools ul li a:focus,
#dokuwiki__usertools ul li a:hover,
#dokuwiki__usertools ul li a:focus {
    color: #7aaee0;
    background: none;
}

#dokuwiki__sitetools ul li a svg,
#dokuwiki__usertools ul li a svg {
    fill: currentColor;
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
    display: block;
}

#dokuwiki__primarysearch {
    width: 32rem;
    max-width: 100%;
}

/* Search form */
#dokuwiki__primarysearch form.search,
#dokuwiki__sitetools form.search {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    margin: 0;
    vertical-align: baseline;
}

#dokuwiki__primarysearch form.search > div.no,
#dokuwiki__sitetools form.search > div.no {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    width: 100%;
}

#dokuwiki__primarysearch form.search input.edit,
#dokuwiki__sitetools form.search input.edit {
    background: #000;
    border: 1px solid #343434;
    color: #eee;
    padding: 0.46rem 0.62rem;
    font-size: 0.95rem;
    font-family: "Courier New", Courier, monospace;
    width: 22rem;
    max-width: 100%;
    outline: none;
}

#dokuwiki__primarysearch form.search input.edit:focus,
#dokuwiki__sitetools form.search input.edit:focus {
    border-color: #777;
    background: #050505;
}

#dokuwiki__primarysearch form.search button,
#dokuwiki__sitetools form.search button {
    background: #111;
    border: 1px solid #343434;
    color: #cfcfcf;
    padding: 0.46rem 0.72rem;
    cursor: pointer;
    font-size: 0.9rem;
    font-family: "Courier New", Courier, monospace;
}

#dokuwiki__primarysearch form.search button:hover,
#dokuwiki__sitetools form.search button:hover {
    color: #8ec7ff;
    border-color: #777;
    background: #161616;
}

/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */

#dokuwiki__footer {
    clear: both;
    border-top: 1px solid #1e1e1e;
    padding: 0;
    margin-top: 1em;
    font-size: 0.72rem;
    font-family: "Courier New", Courier, monospace;
    color: #383836;
}

#dokuwiki__footer > .pad {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem 1.25rem;
    padding: 1rem 0 1.5rem;
}

#dokuwiki__footer ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 0.9rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

#dokuwiki__footer li {
    margin: 0;
    padding: 0;
}

#dokuwiki__footer a {
    color: #4a4a48;
    background: none;
    text-decoration: none;
}

#dokuwiki__footer a:hover,
#dokuwiki__footer a:focus {
    color: #7aaee0;
    background: none;
}

#dokuwiki__footer .icons,
#dokuwiki__footer .buttons {
    display: none;
}

/* ═══════════════════════════════════════════
   MESSAGE AREA
   ═══════════════════════════════════════════ */

.dokuwiki div.info,
.dokuwiki div.error,
.dokuwiki div.success,
.dokuwiki div.notify {
    padding: 0.65rem 0.85rem;
    margin: 0.8rem 0;
    font-size: 0.85rem;
    font-family: "Courier New", Courier, monospace;
    line-height: 1.5;
    border: 0;
    border-left: 3px solid;
    border-radius: 0;
    background: none;
}

.dokuwiki div.info {
    color: #7a9ab0;
    border-color: #3a5a80;
    background: #111820;
}

.dokuwiki div.error {
    color: #b07a7a;
    border-color: #803a3a;
    background: #1a1010;
}

.dokuwiki div.success {
    color: #7a9a7a;
    border-color: #3a6a3a;
    background: #101a10;
}

.dokuwiki div.notify {
    color: #9a9a7a;
    border-color: #5a5a30;
    background: #161610;
}

/* ═══════════════════════════════════════════
   FORMS (edit, search, etc.)
   ═══════════════════════════════════════════ */

.dokuwiki input,
.dokuwiki textarea,
.dokuwiki select {
    max-width: 100%;
    background: #0f0f0f;
    border: 1px solid #2a2a2a;
    border-radius: 0;
    color: #c8c8c4;
    font-family: "Courier New", "Courier", monospace;
    font-size: 0.9rem;
    padding: 0.32rem 0.5rem;
    outline: none;
}

.dokuwiki input:focus,
.dokuwiki textarea:focus {
    border-color: #555;
    background: #111;
}

.dokuwiki button,
.dokuwiki input[type="submit"],
.dokuwiki input[type="button"] {
    background: #181818;
    border: 1px solid #2a2a2a;
    border-radius: 0;
    color: #7a7a76;
    cursor: pointer;
    padding: 0.32rem 0.75rem;
    font-family: "Courier New", Courier, monospace;
    font-size: 0.85rem;
    letter-spacing: 0;
}

.dokuwiki button:hover,
.dokuwiki button:focus,
.dokuwiki input[type="submit"]:hover,
.dokuwiki input[type="submit"]:focus,
.dokuwiki input[type="button"]:hover,
.dokuwiki input[type="button"]:focus {
    border-color: #555;
    color: #7aaee0;
    background: #101010;
}

/* ═══════════════════════════════════════════
   CLEARFIX
   ═══════════════════════════════════════════ */

.group::after {
    content: "";
    display: table;
    clear: both;
}

/* ═══════════════════════════════════════════
   A11Y / SKIP LINKS
   ═══════════════════════════════════════════ */

.a11y {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

ul.a11y {
    margin: 0;
    padding: 0;
}

ul.a11y li {
    list-style: none;
}

hr.a11y {
    display: none;
}

body > div.no {
    display: none;
}

/* ═══════════════════════════════════════════
   RESPONSIVE LAYOUT
   ═══════════════════════════════════════════ */

@media (max-width: 920px) {
    #dokuwiki__site {
        width: 100%;
    }

    #dokuwiki__site > .site {
        border-left: 0;
        border-right: 0;
        padding: 0 1rem;
    }

    #dokuwiki__header > .pad {
        justify-items: center;
        gap: 0.85rem;
        padding-top: 1.2rem;
    }

    #dokuwiki__header .tools {
        align-items: center;
        text-align: center;
    }

    #dokuwiki__sitetools,
    #dokuwiki__sitetools ul,
    #dokuwiki__usertools ul {
        justify-content: center;
    }

    #dokuwiki__top > .wrapper {
        grid-template-columns: 1fr;
        grid-template-areas:
            "content"
            "tools";
        column-gap: 0;
    }

    #dokuwiki__top.showSidebar > .wrapper {
        grid-template-columns: 1fr;
        grid-template-areas:
            "aside"
            "content"
            "tools";
        column-gap: 0;
    }

    #dokuwiki__aside {
        border-bottom: 1px solid #1e1e1e;
    }

    #dokuwiki__aside > .pad {
        padding: 1rem 0;
    }

    #dokuwiki__aside ul {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        column-gap: 0.75rem;
    }

    #dokuwiki__content > .pad {
        padding-top: 1.25rem;
    }

    .comindex-alpha {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    #dokuwiki__pagetools {
        position: static;
        padding: 0 0 1.25rem;
    }

    #dokuwiki__pagetools ul {
        flex-direction: row;
        flex-wrap: wrap;
    }
}

@media (max-width: 560px) {
    #dokuwiki__header h1.logo .site-logo__mark {
        width: 10rem;
        max-width: 70vw;
    }

    #dokuwiki__primarysearch,
    #dokuwiki__sitetools,
    #dokuwiki__sitetools form.search {
        width: 100%;
    }

    #dokuwiki__primarysearch form.search input.edit,
    #dokuwiki__sitetools form.search input.edit {
        flex: 1 1 auto;
        width: auto;
        min-width: 0;
    }

    #dokuwiki__aside ul {
        grid-template-columns: 1fr;
    }

    #dokuwiki__content .pageId {
        text-align: left;
    }
}
