.repeat-wiki {
    min-height: 100vh;
    padding: 48px 0 90px;
    color: #f4f7f8;
    background:
        radial-gradient(
            circle at 15% 0%,
            rgba(85, 255, 255, 0.07),
            transparent 32%
        ),
        linear-gradient(
            180deg,
            #0c1113 0%,
            #101417 100%
        );
}

.repeat-wiki-container {
    width: min(1180px, calc(100% - 36px));
    margin: 0 auto;
}

.repeat-wiki-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 170px;
    align-items: center;
    gap: 36px;
    margin-bottom: 28px;
    padding: 38px 42px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
        linear-gradient(
            135deg,
            rgba(21, 29, 32, 0.97),
            rgba(13, 18, 21, 0.97)
        );
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.26);
}

.repeat-wiki-eyebrow,
.repeat-wiki-section-header span,
.repeat-wiki-article-header > span,
.repeat-wiki-article-section > header span {
    color: #55ffff;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.repeat-wiki-hero h1 {
    margin: 8px 0 14px !important;
    color: #ffffff !important;
    font-size: clamp(2.35rem, 5vw, 4.3rem) !important;
    line-height: 1 !important;
    text-transform: none !important;
}

.repeat-wiki-hero p {
    max-width: 730px;
    margin: 0;
    color: #adb8bd;
    font-size: 1rem;
    line-height: 1.75;
}

.repeat-wiki-hero-logo {
    display: grid;
    width: 140px;
    height: 140px;
    place-items: center;
    justify-self: end;
    border: 1px solid rgba(85, 255, 255, 0.25);
    background: rgba(85, 255, 255, 0.04);
}

.repeat-wiki-hero-logo img {
    width: 105px;
    height: 105px;
    object-fit: contain;
    opacity: 0.9;
}

.repeat-wiki-toolbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: stretch;
    gap: 18px;
    margin-bottom: 38px;
}

.repeat-wiki-search {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: #171d20;
}

.repeat-wiki-search > span {
    color: #cbd3d7;
    font-size: 0.76rem;
    font-weight: 800;
    text-transform: uppercase;
}

.repeat-wiki-search input {
    width: 100%;
    height: 48px;
    padding: 0 15px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    outline: none;
    color: #ffffff;
    background: #0d1214;
    font: inherit;
}

.repeat-wiki-search input:focus {
    border-color: #55ffff;
    box-shadow: 0 0 0 3px rgba(85, 255, 255, 0.08);
}

.repeat-wiki-stats {
    display: grid;
    grid-template-columns: repeat(3, 118px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: #171d20;
}

.repeat-wiki-stats div {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 14px;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.repeat-wiki-stats div:last-child {
    border-right: 0;
}

.repeat-wiki-stats strong {
    color: #ffffff;
    font-size: 1.4rem;
}

.repeat-wiki-stats span {
    margin-top: 4px;
    color: #849096;
    font-size: 0.7rem;
    text-transform: uppercase;
}

.repeat-wiki-section-header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
}

.repeat-wiki-section-header h2 {
    margin: 4px 0 0 !important;
    color: #ffffff !important;
    font-size: 1.6rem !important;
    text-transform: none !important;
}

.repeat-wiki-section-header p {
    margin: 0;
    color: #849096;
    font-size: 0.82rem;
}

.repeat-wiki-recent {
    margin-bottom: 42px;
}

.repeat-wiki-recent-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.repeat-wiki-recent-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 17px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: inherit;
    background: #171d20;
    text-decoration: none;
}

.repeat-wiki-recent-card:hover {
    border-color: rgba(85, 255, 255, 0.5);
    background: #1b2428;
}

.repeat-wiki-recent-card > div {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 5px;
}

.repeat-wiki-recent-card strong {
    overflow: hidden;
    color: #ffffff;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.repeat-wiki-recent-card > div > span {
    color: #849096;
    font-size: 0.72rem;
}

.repeat-wiki-category {
    margin-bottom: 34px;
}

.repeat-wiki-category > header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    margin-bottom: 13px;
}

.repeat-wiki-category > header h3 {
    margin: 0 !important;
    color: #ffffff !important;
    font-size: 1.2rem !important;
    text-transform: none !important;
}

.repeat-wiki-category > header span {
    color: #849096;
    font-size: 0.74rem;
    text-transform: uppercase;
}

.repeat-wiki-page-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 15px;
}

.repeat-wiki-page-card {
    display: flex;
    min-height: 172px;
    gap: 16px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: inherit;
    background: #171d20;
    text-decoration: none;
    transition:
        transform 150ms ease,
        border-color 150ms ease,
        background 150ms ease;
}

.repeat-wiki-page-card:hover {
    transform: translateY(-2px);
    border-color: rgba(85, 255, 255, 0.5);
    background: #1b2428;
}

.repeat-wiki-page-icon {
    display: grid;
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    place-items: center;
    border: 1px solid rgba(85, 255, 255, 0.35);
    color: #55ffff;
    background: rgba(85, 255, 255, 0.06);
    font-size: 1.15rem;
}

.repeat-wiki-page-card-body {
    display: flex;
    min-width: 0;
    flex: 1;
    flex-direction: column;
}

.repeat-wiki-page-card h4 {
    margin: 0 0 8px !important;
    color: #ffffff !important;
    font-size: 1rem !important;
    text-transform: none !important;
}

.repeat-wiki-page-card p {
    margin: 0;
    color: #9ca8ae;
    font-size: 0.83rem;
    line-height: 1.55;
}

.repeat-wiki-page-card footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px;
    margin-top: auto;
    padding-top: 18px;
    color: #6f7c82;
    font-size: 0.67rem;
}

.repeat-wiki-page-card footer strong {
    color: #55ffff;
}

.repeat-wiki-empty {
    padding: 56px 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: #171d20;
    text-align: center;
}

.repeat-wiki-empty > span {
    display: block;
    margin-bottom: 14px;
    color: #55ffff;
    font-size: 2rem;
}

.repeat-wiki-empty h3 {
    margin: 0 0 8px !important;
    color: #ffffff !important;
    font-size: 1.2rem !important;
    text-transform: none !important;
}

.repeat-wiki-empty p {
    margin: 0;
    color: #849096;
}

.repeat-wiki-empty-published {
    margin-top: 10px;
}

.repeat-wiki-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 18px;
    color: #7f8b91;
    font-size: 0.78rem;
}

.repeat-wiki-breadcrumbs a {
    color: #55ffff;
    text-decoration: none;
}

.repeat-wiki-article-layout {
    display: grid;
    grid-template-columns: 235px minmax(0, 1fr);
    gap: 22px;
}

.repeat-wiki-sidebar,
.repeat-wiki-article {
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: #171d20;
}

.repeat-wiki-sidebar {
    position: sticky;
    top: 90px;
    height: fit-content;
}

.repeat-wiki-sidebar-title {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.repeat-wiki-sidebar-title > div {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.repeat-wiki-sidebar-title small {
    color: #7f8b91;
    font-size: 0.66rem;
    text-transform: uppercase;
}

.repeat-wiki-sidebar-title strong {
    overflow: hidden;
    margin-top: 3px;
    color: #ffffff;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.repeat-wiki-sidebar nav {
    display: grid;
    padding: 9px;
}

.repeat-wiki-sidebar nav a {
    padding: 11px 12px;
    border-left: 2px solid transparent;
    color: #9ca8ae;
    font-size: 0.82rem;
    text-decoration: none;
}

.repeat-wiki-sidebar nav a:hover {
    border-left-color: #55ffff;
    color: #55ffff;
    background: rgba(85, 255, 255, 0.05);
}

.repeat-wiki-article {
    min-width: 0;
    padding: clamp(24px, 5vw, 48px);
}

.repeat-wiki-article-header {
    margin-bottom: 30px;
    padding-bottom: 26px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.repeat-wiki-article-header h1 {
    margin: 7px 0 10px !important;
    color: #ffffff !important;
    font-size: clamp(2rem, 5vw, 3.4rem) !important;
    line-height: 1.05 !important;
    text-transform: none !important;
}

.repeat-wiki-article-header p {
    max-width: 780px;
    margin: 0;
    color: #9ca8ae;
    line-height: 1.65;
}

.repeat-wiki-article-content {
    overflow-wrap: anywhere;
    color: #dce2e5;
    line-height: 1.8;
}

.repeat-wiki-article-content h1,
.repeat-wiki-article-content h2,
.repeat-wiki-article-content h3,
.repeat-wiki-article-content h4 {
    color: #ffffff !important;
    text-transform: none !important;
}

.repeat-wiki-article-content h2 {
    margin-top: 1.8em !important;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.repeat-wiki-article-content a {
    color: #55ffff;
}

.repeat-wiki-article-content blockquote {
    margin: 24px 0;
    padding: 14px 18px;
    border-left: 3px solid #55ffff;
    background: rgba(85, 255, 255, 0.05);
}

.repeat-wiki-article-content pre {
    overflow-x: auto;
    padding: 17px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: #0c1113;
}

.repeat-wiki-article-content code {
    padding: 2px 5px;
    color: #9fffff;
    background: #0c1113;
}

.repeat-wiki-article-section {
    margin-top: 42px;
    padding-top: 26px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.repeat-wiki-article-section > header {
    margin-bottom: 14px;
}

.repeat-wiki-article-section h2 {
    margin: 4px 0 0 !important;
    color: #ffffff !important;
    font-size: 1.35rem !important;
    text-transform: none !important;
}

.repeat-wiki-link-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px;
}

.repeat-wiki-link-grid a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 14px 15px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #dce2e5;
    background: #111719;
    text-decoration: none;
}

.repeat-wiki-link-grid a:hover {
    border-color: rgba(85, 255, 255, 0.5);
}

.repeat-wiki-link-grid a strong {
    color: #55ffff;
    font-size: 0.72rem;
    text-transform: uppercase;
}

.repeat-wiki-article-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 16px;
    margin-top: 42px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: #718087;
    font-size: 0.74rem;
}

.repeat-wiki-article-footer a {
    color: #55ffff;
    text-decoration: none;
}

@media (max-width: 900px) {
    .repeat-wiki-toolbar,
    .repeat-wiki-article-layout {
        grid-template-columns: 1fr;
    }

    .repeat-wiki-stats {
        grid-template-columns: repeat(3, 1fr);
    }

    .repeat-wiki-sidebar {
        position: static;
    }

    .repeat-wiki-page-grid,
    .repeat-wiki-recent-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .repeat-wiki {
        padding-top: 26px;
    }

    .repeat-wiki-container {
        width: min(100% - 22px, 1180px);
    }

    .repeat-wiki-hero {
        grid-template-columns: 1fr;
        padding: 26px;
    }

    .repeat-wiki-hero-logo {
        display: none;
    }

    .repeat-wiki-stats,
    .repeat-wiki-page-grid,
    .repeat-wiki-recent-grid,
    .repeat-wiki-link-grid {
        grid-template-columns: 1fr;
    }

    .repeat-wiki-stats div {
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .repeat-wiki-stats div:last-child {
        border-bottom: 0;
    }

    .repeat-wiki-article {
        padding: 22px;
    }
}

/* =========================================================
   Repeat SMP Wiki homepage sidebar and introduction
   ========================================================= */

.repeat-wiki-intro {
    display: grid;
    grid-template-columns: 210px minmax(0, 1fr) 300px;
    gap: 18px;
    margin-bottom: 28px;
}

.repeat-wiki-home-sidebar,
.repeat-wiki-welcome,
.repeat-wiki-search-panel,
.repeat-wiki-recent-panel {
    border: 1px solid rgba(255, 255, 255, 0.09);
    background: #171d20;
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.22);
}

.repeat-wiki-home-sidebar {
    overflow: hidden;
}

.repeat-wiki-sidebar-logo {
    display: grid;
    height: 145px;
    place-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background:
        radial-gradient(
            circle,
            rgba(85, 255, 255, 0.08),
            transparent 65%
        );
}

.repeat-wiki-sidebar-logo img {
    width: 96px;
    height: 96px;
    object-fit: contain;
}

.repeat-wiki-home-sidebar > strong {
    display: block;
    padding: 18px;
    color: #55ffff;
    font-size: 1.1rem;
    text-align: center;
}

.repeat-wiki-home-sidebar nav {
    display: grid;
    padding: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.repeat-wiki-home-sidebar nav a {
    padding: 11px 12px;
    border-left: 2px solid transparent;
    color: #a4afb4;
    font-size: 0.8rem;
    text-decoration: none;
}

.repeat-wiki-home-sidebar nav a:hover,
.repeat-wiki-home-sidebar nav a.is-active {
    border-left-color: #55ffff;
    color: #55ffff;
    background: rgba(85, 255, 255, 0.05);
}

.repeat-wiki-intro-main {
    display: grid;
    gap: 18px;
}

.repeat-wiki-welcome {
    padding: 27px 30px;
    color: #dce2e5;
    line-height: 1.75;
}

.repeat-wiki-welcome p {
    margin: 0 0 18px;
}

.repeat-wiki-welcome p:last-child {
    margin-bottom: 0;
}

.repeat-wiki-welcome strong,
.repeat-wiki-welcome a {
    color: #55ffff;
}

.repeat-wiki-search-panel {
    padding: 18px;
}

.repeat-wiki-search-panel > label {
    display: block;
    margin-bottom: 9px;
    color: #cbd3d7;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.repeat-wiki-search-box {
    display: flex;
    height: 48px;
    align-items: center;
    gap: 10px;
    padding: 0 13px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    background: #0d1214;
}

.repeat-wiki-search-box:focus-within {
    border-color: #55ffff;
    box-shadow: 0 0 0 3px rgba(85, 255, 255, 0.08);
}

.repeat-wiki-search-box > span {
    color: #55ffff;
    font-size: 1.15rem;
}

.repeat-wiki-search-box input {
    min-width: 0;
    flex: 1;
    border: 0;
    outline: 0;
    color: #ffffff;
    background: transparent;
    font: inherit;
}

.repeat-wiki-search-box button {
    border: 0;
    color: #55ffff;
    background: transparent;
    font: inherit;
    font-size: 0.75rem;
    font-weight: 800;
    cursor: pointer;
}

.repeat-wiki-recent-panel {
    overflow: hidden;
}

.repeat-wiki-recent-panel > header {
    padding: 17px;
    border-bottom: 1px solid rgba(85, 255, 255, 0.28);
    text-align: center;
}

.repeat-wiki-recent-panel h2 {
    margin: 0 !important;
    color: #ffffff !important;
    font-size: 1rem !important;
    text-transform: none !important;
}

.repeat-wiki-recent-panel > div {
    display: grid;
    padding: 7px 17px;
}

.repeat-wiki-recent-panel a {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 13px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    text-decoration: none;
}

.repeat-wiki-recent-panel a:last-child {
    border-bottom: 0;
}

.repeat-wiki-recent-panel a strong {
    color: #55ffff;
    font-size: 0.82rem;
}

.repeat-wiki-recent-panel a span,
.repeat-wiki-recent-panel p {
    color: #8c989e;
    font-size: 0.72rem;
}

.repeat-wiki-stats-section {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-bottom: 38px;
    border-top: 1px solid rgba(255, 255, 255, 0.09);
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.repeat-wiki-stats-section article {
    display: flex;
    min-height: 105px;
    align-items: center;
    justify-content: center;
    gap: 17px;
    border-right: 1px solid rgba(255, 255, 255, 0.09);
}

.repeat-wiki-stats-section article:last-child {
    border-right: 0;
}

.repeat-wiki-stat-symbol {
    color: #55ffff;
    font-size: 1.8rem;
}

.repeat-wiki-stats-section strong {
    display: block;
    color: #ffffff;
    font-size: 1.35rem;
}

.repeat-wiki-stats-section article div span {
    color: #859197;
    font-size: 0.75rem;
}

/* =========================================================
   Wiki admin
   ========================================================= */

.wiki-admin-page {
    min-height: 100vh;
    padding: 44px 0 90px;
    color: #f5f7f8;
    background:
        radial-gradient(
            circle at 75% 0%,
            rgba(85, 255, 255, 0.06),
            transparent 34%
        ),
        #0c1113;
}

.wiki-admin-container {
    width: min(1180px, calc(100% - 36px));
    margin: 0 auto;
}

.wiki-admin-hero {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 25px;
    padding: 32px 35px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    background: #171d20;
}

.wiki-admin-hero > div > span {
    color: #55ffff;
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.wiki-admin-hero h1 {
    margin: 7px 0 10px !important;
    color: #ffffff !important;
    font-size: clamp(2rem, 5vw, 3.6rem) !important;
    line-height: 1 !important;
    text-transform: none !important;
}

.wiki-admin-hero p {
    max-width: 700px;
    margin: 0;
    color: #9aa6ac;
    line-height: 1.6;
}

.wiki-admin-primary-button,
.wiki-admin-filters button,
.wiki-admin-page-actions a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0 17px;
    border: 1px solid #55ffff;
    color: #071214;
    background: #55ffff;
    font: inherit;
    font-size: 0.75rem;
    font-weight: 900;
    text-decoration: none;
    text-transform: uppercase;
    cursor: pointer;
}

.wiki-admin-alert {
    margin-bottom: 20px;
    padding: 15px 17px;
    border: 1px solid;
}

.wiki-admin-alert.is-success {
    border-color: rgba(85, 255, 170, 0.4);
    color: #9dffc9;
    background: rgba(85, 255, 170, 0.08);
}

.wiki-admin-overview {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    background: #171d20;
}

.wiki-admin-overview article {
    padding: 20px;
    border-right: 1px solid rgba(255, 255, 255, 0.09);
    text-align: center;
}

.wiki-admin-overview article:last-child {
    border-right: 0;
}

.wiki-admin-overview strong {
    display: block;
    color: #ffffff;
    font-size: 1.55rem;
}

.wiki-admin-overview span {
    color: #849096;
    font-size: 0.7rem;
    text-transform: uppercase;
}

.wiki-admin-filters {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px auto auto;
    align-items: end;
    gap: 13px;
    margin-bottom: 20px;
    padding: 19px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    background: #171d20;
}

.wiki-admin-filters label {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.wiki-admin-filters label > span {
    color: #b9c2c6;
    font-size: 0.72rem;
    font-weight: 850;
    text-transform: uppercase;
}

.wiki-admin-filters input,
.wiki-admin-filters select {
    width: 100%;
    height: 45px;
    padding: 0 13px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    outline: 0;
    color: #ffffff;
    background: #0d1214;
    font: inherit;
}

.wiki-admin-filters > a {
    display: inline-flex;
    height: 45px;
    align-items: center;
    padding: 0 15px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #b9c2c6;
    text-decoration: none;
}

.wiki-admin-list {
    display: grid;
    gap: 13px;
}

.wiki-admin-page-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    background: #171d20;
}

.wiki-admin-page-main {
    display: flex;
    min-width: 0;
    align-items: flex-start;
    gap: 15px;
}

.wiki-admin-page-title {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.wiki-admin-page-title h2 {
    margin: 0 !important;
    color: #ffffff !important;
    font-size: 1.1rem !important;
    text-transform: none !important;
}

.wiki-admin-page-main p {
    margin: 7px 0;
    color: #879399;
    font-size: 0.78rem;
}

.wiki-admin-page-main p a,
.wiki-admin-aliases a {
    color: #55ffff;
}

.wiki-admin-page-main small {
    color: #6f7c82;
}

.wiki-admin-status {
    padding: 4px 8px;
    font-size: 0.62rem;
    font-weight: 900;
    text-transform: uppercase;
}

.wiki-admin-status.is-published {
    color: #8dffc0;
    background: rgba(70, 210, 128, 0.12);
}

.wiki-admin-status.is-draft {
    color: #ffd478;
    background: rgba(255, 180, 50, 0.12);
}

.wiki-admin-aliases {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.wiki-admin-page-actions {
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    align-items: flex-end;
    gap: 9px;
}

.wiki-admin-page-actions > span {
    color: #748087;
    font-size: 0.7rem;
}

.wiki-admin-page-actions a {
    min-height: 38px;
    color: #55ffff;
    background: transparent;
}

.wiki-admin-empty {
    padding: 55px 24px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    background: #171d20;
    text-align: center;
}

.wiki-admin-empty > span {
    color: #55ffff;
    font-size: 2rem;
}

.wiki-admin-empty h2 {
    margin: 12px 0 8px !important;
    color: #ffffff !important;
    font-size: 1.3rem !important;
    text-transform: none !important;
}

.wiki-admin-empty p {
    margin: 0 0 20px;
    color: #879399;
}

.wiki-admin-pagination {
    margin-top: 22px;
}

@media (max-width: 980px) {
    .repeat-wiki-intro {
        grid-template-columns: 190px minmax(0, 1fr);
    }

    .repeat-wiki-recent-panel {
        grid-column: 1 / -1;
    }

    .wiki-admin-filters {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 700px) {
    .repeat-wiki-intro {
        grid-template-columns: 1fr;
    }

    .repeat-wiki-stats-section,
    .wiki-admin-overview {
        grid-template-columns: 1fr;
    }

    .repeat-wiki-stats-section article,
    .wiki-admin-overview article {
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.09);
    }

    .repeat-wiki-stats-section article:last-child,
    .wiki-admin-overview article:last-child {
        border-bottom: 0;
    }

    .wiki-admin-hero,
    .wiki-admin-page-row {
        align-items: stretch;
        flex-direction: column;
    }

    .wiki-admin-page-actions {
        align-items: stretch;
    }

    .wiki-admin-filters {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   Wiki admin editor form
   ========================================================= */

.wiki-admin-editor-page {
    padding-top: 38px;
}

.wiki-editor-hero {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 22px;
    padding: 30px 34px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    background: #171d20;
}

.wiki-editor-back {
    display: inline-block;
    margin-bottom: 18px;
    color: #8d999f;
    font-size: 0.78rem;
    text-decoration: none;
}

.wiki-editor-back:hover {
    color: #55ffff;
}

.wiki-editor-hero > div > span,
.wiki-editor-card-header span,
.wiki-editor-danger > div > span {
    color: #55ffff;
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.wiki-editor-hero h1 {
    margin: 6px 0 10px !important;
    color: #ffffff !important;
    font-size: clamp(2rem, 5vw, 3.4rem) !important;
    line-height: 1 !important;
    text-transform: none !important;
}

.wiki-editor-hero p {
    max-width: 690px;
    margin: 0;
    color: #96a2a8;
    line-height: 1.6;
}

.wiki-editor-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: 20px;
    align-items: start;
}

.wiki-editor-main,
.wiki-editor-sidebar {
    display: grid;
    gap: 20px;
}

.wiki-editor-card {
    border: 1px solid rgba(255, 255, 255, 0.09);
    background: #171d20;
}

.wiki-editor-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.wiki-editor-card-header h2 {
    margin: 4px 0 0 !important;
    color: #ffffff !important;
    font-size: 1.1rem !important;
    text-transform: none !important;
}

.wiki-editor-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 17px;
    padding: 20px;
}

.wiki-editor-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.wiki-editor-field-wide {
    grid-column: 1 / -1;
}

.wiki-editor-field > span {
    color: #bec7cb;
    font-size: 0.72rem;
    font-weight: 850;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.wiki-editor-field input,
.wiki-editor-field textarea,
.wiki-editor-field select {
    width: 100%;
    min-height: 45px;
    padding: 11px 13px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    outline: 0;
    color: #ffffff;
    background: #0d1214;
    font: inherit;
}

.wiki-editor-field input:focus,
.wiki-editor-field textarea:focus,
.wiki-editor-field select:focus {
    border-color: #55ffff;
    box-shadow: 0 0 0 3px rgba(85, 255, 255, 0.07);
}

.wiki-editor-field textarea {
    resize: vertical;
}

.wiki-editor-field small {
    color: #748087;
    font-size: 0.7rem;
    line-height: 1.5;
}

.wiki-editor-field small strong {
    color: #55ffff;
}

.wiki-editor-prefix-input {
    display: flex;
    align-items: stretch;
}

.wiki-editor-prefix-input strong {
    display: flex;
    align-items: center;
    padding: 0 12px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-right: 0;
    color: #8f9ba1;
    background: #111719;
    font-size: 0.82rem;
}

.wiki-editor-prefix-input input {
    min-width: 0;
}

.wiki-editor-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.wiki-editor-toolbar button {
    min-width: 34px;
    height: 32px;
    padding: 0 9px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    color: #c7d0d4;
    background: #0d1214;
    font: inherit;
    font-size: 0.7rem;
    font-weight: 800;
    cursor: pointer;
}

.wiki-editor-toolbar button:hover {
    border-color: #55ffff;
    color: #55ffff;
}

.wiki-editor-content-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    min-height: 610px;
}

.wiki-editor-content-field {
    padding: 20px;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.wiki-editor-content-field textarea {
    min-height: 530px;
    flex: 1;
    font-family:
        ui-monospace,
        SFMono-Regular,
        Menlo,
        Monaco,
        Consolas,
        monospace;
    line-height: 1.55;
}

.wiki-editor-preview {
    min-width: 0;
    background: #111719;
}

.wiki-editor-preview > header {
    padding: 16px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.wiki-editor-preview > header span {
    color: #8e9aa0;
    font-size: 0.7rem;
    font-weight: 850;
    text-transform: uppercase;
}

.wiki-editor-preview > div {
    min-height: 530px;
    max-height: 610px;
    overflow: auto;
    padding: 22px;
}

.wiki-editor-publish-toggle {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 20px;
}

.wiki-editor-publish-toggle input {
    width: 20px;
    height: 20px;
    margin-top: 2px;
}

.wiki-editor-publish-toggle > span {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.wiki-editor-publish-toggle strong {
    color: #ffffff;
}

.wiki-editor-publish-toggle small {
    color: #7e8a90;
    line-height: 1.45;
}

.wiki-editor-sidebar .wiki-editor-field {
    padding: 20px;
}

.wiki-editor-meta dl {
    margin: 0;
    padding: 8px 20px 18px;
}

.wiki-editor-meta dl > div {
    display: grid;
    grid-template-columns: 105px minmax(0, 1fr);
    gap: 12px;
    padding: 11px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.wiki-editor-meta dl > div:last-child {
    border-bottom: 0;
}

.wiki-editor-meta dt {
    color: #77848a;
    font-size: 0.72rem;
    text-transform: uppercase;
}

.wiki-editor-meta dd {
    margin: 0;
    overflow-wrap: anywhere;
    color: #d8dfe2;
    font-size: 0.78rem;
}

.wiki-editor-sticky-actions {
    position: sticky;
    top: 88px;
    display: grid;
    gap: 10px;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    background: #171d20;
}

.wiki-admin-secondary-button {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #c7d0d4;
    background: transparent;
    font-size: 0.75rem;
    font-weight: 850;
    text-decoration: none;
    text-transform: uppercase;
}

.wiki-admin-secondary-button:hover {
    border-color: #55ffff;
    color: #55ffff;
}

.wiki-editor-danger {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 420px;
    gap: 30px;
    margin-top: 28px;
    padding: 24px;
    border: 1px solid rgba(255, 73, 73, 0.35);
    background: rgba(90, 14, 14, 0.15);
}

.wiki-editor-danger h2 {
    margin: 5px 0 8px !important;
    color: #ff8e8e !important;
    font-size: 1.3rem !important;
    text-transform: none !important;
}

.wiki-editor-danger p {
    margin: 0;
    color: #ad8585;
    line-height: 1.5;
}

.wiki-editor-danger form {
    display: grid;
    gap: 12px;
}

.wiki-editor-delete-button {
    min-height: 44px;
    border: 1px solid #ff5353;
    color: #ffffff;
    background: #a52121;
    font: inherit;
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
    cursor: pointer;
}

.wiki-admin-alert.is-error {
    border-color: rgba(255, 83, 83, 0.45);
    color: #ffb3b3;
    background: rgba(255, 83, 83, 0.08);
}

.wiki-admin-alert.is-error ul {
    margin-bottom: 0;
}

@media (max-width: 980px) {
    .wiki-editor-layout,
    .wiki-editor-danger {
        grid-template-columns: 1fr;
    }

    .wiki-editor-sticky-actions {
        position: static;
    }
}

@media (max-width: 760px) {
    .wiki-editor-hero {
        align-items: stretch;
        flex-direction: column;
    }

    .wiki-editor-fields,
    .wiki-editor-content-layout {
        grid-template-columns: 1fr;
    }

    .wiki-editor-field-wide {
        grid-column: auto;
    }

    .wiki-editor-content-field {
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .wiki-editor-toolbar {
        display: none;
    }
}

/* =========================================================
   Wiki admin editor form
   ========================================================= */

.wiki-admin-editor-page {
    padding-top: 38px;
}

.wiki-editor-hero {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 22px;
    padding: 30px 34px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    background: #171d20;
}

.wiki-editor-back {
    display: inline-block;
    margin-bottom: 18px;
    color: #8d999f;
    font-size: 0.78rem;
    text-decoration: none;
}

.wiki-editor-back:hover {
    color: #55ffff;
}

.wiki-editor-hero > div > span,
.wiki-editor-card-header span,
.wiki-editor-danger > div > span {
    color: #55ffff;
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.wiki-editor-hero h1 {
    margin: 6px 0 10px !important;
    color: #ffffff !important;
    font-size: clamp(2rem, 5vw, 3.4rem) !important;
    line-height: 1 !important;
    text-transform: none !important;
}

.wiki-editor-hero p {
    max-width: 690px;
    margin: 0;
    color: #96a2a8;
    line-height: 1.6;
}

.wiki-editor-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: 20px;
    align-items: start;
}

.wiki-editor-main,
.wiki-editor-sidebar {
    display: grid;
    gap: 20px;
}

.wiki-editor-card {
    border: 1px solid rgba(255, 255, 255, 0.09);
    background: #171d20;
}

.wiki-editor-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.wiki-editor-card-header h2 {
    margin: 4px 0 0 !important;
    color: #ffffff !important;
    font-size: 1.1rem !important;
    text-transform: none !important;
}

.wiki-editor-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 17px;
    padding: 20px;
}

.wiki-editor-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.wiki-editor-field-wide {
    grid-column: 1 / -1;
}

.wiki-editor-field > span {
    color: #bec7cb;
    font-size: 0.72rem;
    font-weight: 850;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.wiki-editor-field input,
.wiki-editor-field textarea,
.wiki-editor-field select {
    width: 100%;
    min-height: 45px;
    padding: 11px 13px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    outline: 0;
    color: #ffffff;
    background: #0d1214;
    font: inherit;
}

.wiki-editor-field input:focus,
.wiki-editor-field textarea:focus,
.wiki-editor-field select:focus {
    border-color: #55ffff;
    box-shadow: 0 0 0 3px rgba(85, 255, 255, 0.07);
}

.wiki-editor-field textarea {
    resize: vertical;
}

.wiki-editor-field small {
    color: #748087;
    font-size: 0.7rem;
    line-height: 1.5;
}

.wiki-editor-field small strong {
    color: #55ffff;
}

.wiki-editor-prefix-input {
    display: flex;
    align-items: stretch;
}

.wiki-editor-prefix-input strong {
    display: flex;
    align-items: center;
    padding: 0 12px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-right: 0;
    color: #8f9ba1;
    background: #111719;
    font-size: 0.82rem;
}

.wiki-editor-prefix-input input {
    min-width: 0;
}

.wiki-editor-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.wiki-editor-toolbar button {
    min-width: 34px;
    height: 32px;
    padding: 0 9px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    color: #c7d0d4;
    background: #0d1214;
    font: inherit;
    font-size: 0.7rem;
    font-weight: 800;
    cursor: pointer;
}

.wiki-editor-toolbar button:hover {
    border-color: #55ffff;
    color: #55ffff;
}

.wiki-editor-content-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    min-height: 610px;
}

.wiki-editor-content-field {
    padding: 20px;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.wiki-editor-content-field textarea {
    min-height: 530px;
    flex: 1;
    font-family:
        ui-monospace,
        SFMono-Regular,
        Menlo,
        Monaco,
        Consolas,
        monospace;
    line-height: 1.55;
}

.wiki-editor-preview {
    min-width: 0;
    background: #111719;
}

.wiki-editor-preview > header {
    padding: 16px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.wiki-editor-preview > header span {
    color: #8e9aa0;
    font-size: 0.7rem;
    font-weight: 850;
    text-transform: uppercase;
}

.wiki-editor-preview > div {
    min-height: 530px;
    max-height: 610px;
    overflow: auto;
    padding: 22px;
}

.wiki-editor-publish-toggle {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 20px;
}

.wiki-editor-publish-toggle input {
    width: 20px;
    height: 20px;
    margin-top: 2px;
}

.wiki-editor-publish-toggle > span {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.wiki-editor-publish-toggle strong {
    color: #ffffff;
}

.wiki-editor-publish-toggle small {
    color: #7e8a90;
    line-height: 1.45;
}

.wiki-editor-sidebar .wiki-editor-field {
    padding: 20px;
}

.wiki-editor-meta dl {
    margin: 0;
    padding: 8px 20px 18px;
}

.wiki-editor-meta dl > div {
    display: grid;
    grid-template-columns: 105px minmax(0, 1fr);
    gap: 12px;
    padding: 11px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.wiki-editor-meta dl > div:last-child {
    border-bottom: 0;
}

.wiki-editor-meta dt {
    color: #77848a;
    font-size: 0.72rem;
    text-transform: uppercase;
}

.wiki-editor-meta dd {
    margin: 0;
    overflow-wrap: anywhere;
    color: #d8dfe2;
    font-size: 0.78rem;
}

.wiki-editor-sticky-actions {
    position: sticky;
    top: 88px;
    display: grid;
    gap: 10px;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    background: #171d20;
}

.wiki-admin-secondary-button {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #c7d0d4;
    background: transparent;
    font-size: 0.75rem;
    font-weight: 850;
    text-decoration: none;
    text-transform: uppercase;
}

.wiki-admin-secondary-button:hover {
    border-color: #55ffff;
    color: #55ffff;
}

.wiki-editor-danger {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 420px;
    gap: 30px;
    margin-top: 28px;
    padding: 24px;
    border: 1px solid rgba(255, 73, 73, 0.35);
    background: rgba(90, 14, 14, 0.15);
}

.wiki-editor-danger h2 {
    margin: 5px 0 8px !important;
    color: #ff8e8e !important;
    font-size: 1.3rem !important;
    text-transform: none !important;
}

.wiki-editor-danger p {
    margin: 0;
    color: #ad8585;
    line-height: 1.5;
}

.wiki-editor-danger form {
    display: grid;
    gap: 12px;
}

.wiki-editor-delete-button {
    min-height: 44px;
    border: 1px solid #ff5353;
    color: #ffffff;
    background: #a52121;
    font: inherit;
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
    cursor: pointer;
}

.wiki-admin-alert.is-error {
    border-color: rgba(255, 83, 83, 0.45);
    color: #ffb3b3;
    background: rgba(255, 83, 83, 0.08);
}

.wiki-admin-alert.is-error ul {
    margin-bottom: 0;
}

@media (max-width: 980px) {
    .wiki-editor-layout,
    .wiki-editor-danger {
        grid-template-columns: 1fr;
    }

    .wiki-editor-sticky-actions {
        position: static;
    }
}

@media (max-width: 760px) {
    .wiki-editor-hero {
        align-items: stretch;
        flex-direction: column;
    }

    .wiki-editor-fields,
    .wiki-editor-content-layout {
        grid-template-columns: 1fr;
    }

    .wiki-editor-field-wide {
        grid-column: auto;
    }

    .wiki-editor-content-field {
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .wiki-editor-toolbar {
        display: none;
    }
}

/* =========================================================
   Repeat Wiki rich formatting
   ========================================================= */

.repeat-wiki-article-content::after {
    display: block;
    clear: both;
    content: "";
}

.wiki-toc {
    width: min(340px, 100%);
    margin: 0 0 30px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.11);
    background: #111719;
}

.wiki-toc > header {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 13px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.wiki-toc > header span,
.wiki-toc a {
    color: #55ffff;
}

.wiki-toc > header strong {
    color: #ffffff;
    font-size: 0.82rem;
}

.wiki-toc ol {
    margin: 0;
    padding: 10px 12px 13px 37px;
}

.wiki-toc li {
    padding: 4px 0;
    color: #728087;
    font-size: 0.78rem;
}

.wiki-toc-h3 {
    margin-left: 16px;
}

.wiki-toc a {
    text-decoration: none;
}

.wiki-heading-anchor {
    margin-left: 9px;
    color: transparent !important;
    font-size: 0.65em;
    text-decoration: none;
}

h2:hover > .wiki-heading-anchor,
h3:hover > .wiki-heading-anchor {
    color: #55ffff !important;
}

.wiki-infobox {
    float: right;
    width: min(300px, 42%);
    margin: 0 0 25px 25px;
    overflow: hidden;
    border: 1px solid rgba(85, 255, 255, 0.32);
    background: #151b1e;
    box-shadow: 0 15px 32px rgba(0, 0, 0, 0.28);
}

.wiki-infobox > header {
    padding: 16px;
    border-bottom: 1px solid rgba(85, 255, 255, 0.28);
    color: #ffffff;
    font-size: 1rem;
    font-weight: 850;
    text-align: center;
}

.wiki-infobox-image {
    display: grid;
    min-height: 170px;
    place-items: center;
    padding: 20px;
    background:
        radial-gradient(
            circle,
            rgba(85, 255, 255, 0.08),
            transparent 67%
        );
}

.wiki-infobox-image img {
    width: auto;
    max-width: 100%;
    max-height: 190px;
    object-fit: contain;
}

.wiki-infobox-caption {
    margin: 0 !important;
    padding: 0 16px 15px;
    color: #879399;
    font-size: 0.72rem;
    text-align: center;
}

.wiki-infobox dl {
    margin: 0;
}

.wiki-infobox-row {
    display: grid;
    grid-template-columns: 44% minmax(0, 1fr);
    gap: 10px;
    padding: 11px 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.wiki-infobox-row dt {
    color: #9ca8ae;
    font-size: 0.72rem;
    font-weight: 750;
}

.wiki-infobox-row dd {
    margin: 0;
    color: #ffffff;
    font-size: 0.72rem;
    text-align: right;
}

.wiki-infobox-row dd p {
    margin: 0;
}

.wiki-notice {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 13px;
    margin: 24px 0;
    padding: 16px;
    border: 1px solid;
}

.wiki-notice-icon {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border: 1px solid currentColor;
    border-radius: 50%;
    font-weight: 950;
}

.wiki-notice strong {
    display: block;
    margin-bottom: 5px;
}

.wiki-notice-content p {
    margin: 0;
}

.wiki-notice-info {
    border-color: rgba(85, 255, 255, 0.4);
    color: #9fffff;
    background: rgba(85, 255, 255, 0.06);
}

.wiki-notice-warning {
    border-color: rgba(255, 190, 70, 0.45);
    color: #ffd27a;
    background: rgba(255, 173, 45, 0.07);
}

.wiki-notice-success {
    border-color: rgba(85, 255, 150, 0.42);
    color: #98ffc2;
    background: rgba(85, 255, 150, 0.06);
}

.wiki-notice-danger {
    border-color: rgba(255, 78, 78, 0.46);
    color: #ff9c9c;
    background: rgba(255, 78, 78, 0.07);
}

.wiki-collapse {
    margin: 22px 0;
    border: 1px solid rgba(255, 255, 255, 0.11);
    background: #111719;
}

.wiki-collapse > summary {
    padding: 14px 16px;
    color: #ffffff;
    font-weight: 800;
    cursor: pointer;
}

.wiki-collapse[open] > summary {
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
    color: #55ffff;
}

.wiki-collapse-content {
    padding: 17px;
}

.wiki-gallery {
    display: grid;
    grid-template-columns:
        repeat(auto-fit, minmax(160px, 1fr));
    gap: 13px;
    margin: 25px 0;
}

.wiki-gallery figure {
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: #111719;
}

.wiki-gallery img {
    display: block;
    width: 100%;
    height: 165px;
    object-fit: cover;
}

.wiki-gallery figcaption {
    padding: 10px 12px;
    color: #99a5aa;
    font-size: 0.72rem;
    text-align: center;
}

.wiki-inline-cards {
    display: grid;
    grid-template-columns:
        repeat(auto-fit, minmax(210px, 1fr));
    gap: 12px;
    margin: 24px 0;
}

.wiki-inline-card {
    display: flex;
    flex-direction: column;
    gap: 7px;
    padding: 17px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: inherit;
    background: #111719;
    text-decoration: none;
}

.wiki-inline-card:hover {
    border-color: rgba(85, 255, 255, 0.5);
}

.wiki-inline-card strong,
.wiki-command {
    color: #55ffff;
}

.wiki-command {
    padding: 3px 7px !important;
    border: 1px solid rgba(85, 255, 255, 0.24);
    border-radius: 3px;
    background: #091012 !important;
    white-space: nowrap;
}

.repeat-wiki-article-content kbd {
    display: inline-flex;
    min-width: 25px;
    min-height: 25px;
    align-items: center;
    justify-content: center;
    padding: 2px 7px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-bottom-width: 3px;
    border-radius: 4px;
    color: #ffffff;
    background: #252c30;
    font-size: 0.75em;
    font-weight: 800;
}

.wiki-badge {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 2px 8px;
    border: 1px solid currentColor;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
}

.wiki-answer {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.76rem;
    font-weight: 850;
}

.wiki-answer-yes {
    color: #62ff9c;
}

.wiki-answer-no {
    color: #ff6868;
}

.wiki-answer-unknown {
    color: #ffc85d;
}

.wiki-color-aqua,
.wiki-badge-aqua {
    color: #55ffff;
}

.wiki-color-blue,
.wiki-badge-blue {
    color: #6ba8ff;
}

.wiki-color-green,
.wiki-badge-green {
    color: #67ff93;
}

.wiki-color-grey,
.wiki-color-gray,
.wiki-badge-grey,
.wiki-badge-gray {
    color: #aeb7bc;
}

.wiki-color-orange,
.wiki-badge-orange {
    color: #ffad52;
}

.wiki-color-pink,
.wiki-badge-pink {
    color: #ff69e3;
}

.wiki-color-purple,
.wiki-badge-purple {
    color: #bb72ff;
}

.wiki-color-red,
.wiki-badge-red {
    color: #ff6767;
}

.wiki-color-yellow,
.wiki-badge-yellow {
    color: #ffe56a;
}

.wiki-inline-image {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

.repeat-wiki-article-content table {
    width: 100%;
    margin: 22px 0;
    border-collapse: collapse;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: #151b1e;
}

.repeat-wiki-article-content thead {
    background: #242b2f;
}

.repeat-wiki-article-content th,
.repeat-wiki-article-content td {
    padding: 12px 13px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    vertical-align: top;
}

.repeat-wiki-article-content tbody tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.025);
}

.repeat-wiki-article-content tbody tr:hover {
    background: rgba(85, 255, 255, 0.035);
}

.wiki-syntax-guide-content {
    display: grid;
    gap: 4px;
    padding: 16px 20px 19px;
}

.wiki-syntax-guide-content code {
    margin-top: 8px;
    padding: 6px 8px;
    overflow-wrap: anywhere;
    color: #aaffff;
    background: #0d1214;
    font-size: 0.69rem;
}

.wiki-syntax-guide-content span {
    color: #77848a;
    font-size: 0.67rem;
}

@media (max-width: 760px) {
    .wiki-infobox {
        float: none;
        width: 100%;
        margin: 0 0 25px;
    }

    .repeat-wiki-article-content table {
        display: block;
        overflow-x: auto;
    }
}
