.wiki-article-page {
    min-height: calc(100vh - 64px);
    padding: 0 0 80px;
    color: #d7dcdd;
    background:
        linear-gradient(
            180deg,
            rgba(6, 12, 14, 0.82),
            rgba(6, 11, 13, 0.96)
        ),
        radial-gradient(
            circle at 50% 0,
            rgba(49, 121, 119, 0.13),
            transparent 42%
        );
}

.wiki-article-shell {
    width: min(1380px, calc(100% - 42px));
    margin: 0 auto;
}

.wiki-article-breadcrumbs {
    display: flex;
    min-height: 72px;
    align-items: center;
    gap: 9px;
    color: #6e7d82;
    font-size: 0.72rem;
}

.wiki-article-breadcrumbs a {
    color: #58dede;
    text-decoration: none;
}

.wiki-article-breadcrumbs a:hover {
    color: #9dffff;
}

.wiki-article-document {
    min-width: 0;
}

.wiki-article-masthead {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 38px;
    align-items: end;
    padding: 20px 0 27px;
}

.wiki-article-heading {
    min-width: 0;
}

.wiki-article-category {
    display: block;
    margin-bottom: 11px;
    color: #5fe5e5;
    font-size: 0.66rem;
    font-weight: 900;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.wiki-article-heading h1 {
    margin: 0;
    color: #f4f6f5;
    font-size: clamp(2.65rem, 5.4vw, 4.7rem);
    font-weight: 800;
    letter-spacing: -0.052em;
    line-height: 0.98;
}

.wiki-article-summary {
    max-width: 850px;
    margin: 19px 0 0;
    color: #a8b3b6;
    font-size: 0.94rem;
    line-height: 1.65;
}

.wiki-article-toolbar {
    position: relative;
    display: flex;
    align-items: stretch;
    border: 1px solid rgba(84, 218, 218, 0.26);
    background:
        linear-gradient(
            90deg,
            rgba(84, 218, 218, 0.05),
            transparent 30%,
            transparent 70%,
            rgba(84, 218, 218, 0.05)
        ),
        #141a1d;
    box-shadow:
        inset 0 0 0 3px #0d1214,
        inset 0 0 0 4px rgba(255, 255, 255, 0.035);
}

.wiki-toolbar-action {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 17px;
    border: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.075);
    color: #c2cbce;
    background: transparent;
    font: inherit;
    font-size: 0.72rem;
    font-weight: 750;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
}

.wiki-article-toolbar > :first-child {
    border-left: 0;
}

.wiki-toolbar-action:hover,
.wiki-toolbar-action[aria-expanded="true"] {
    color: #8cffff;
    background: rgba(84, 218, 218, 0.06);
}

.wiki-toolbar-action svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: square;
    stroke-linejoin: miter;
}

.wiki-toolbar-more {
    position: relative;
}

.wiki-toolbar-menu {
    position: absolute;
    top: calc(100% + 7px);
    right: 0;
    z-index: 40;
    width: 210px;
    padding: 7px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    background: #151c1f;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.38);
}

.wiki-toolbar-menu[hidden] {
    display: none;
}

.wiki-toolbar-menu a,
.wiki-toolbar-menu button {
    display: flex;
    width: 100%;
    min-height: 40px;
    align-items: center;
    padding: 0 11px;
    border: 0;
    color: #aeb9bc;
    background: transparent;
    font: inherit;
    font-size: 0.72rem;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
}

.wiki-toolbar-menu a:hover,
.wiki-toolbar-menu button:hover {
    color: #8cffff;
    background: rgba(84, 218, 218, 0.055);
}

.wiki-article-divider {
    height: 1px;
    margin-bottom: 34px;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.14),
        rgba(255, 255, 255, 0.055)
    );
}

.wiki-article-body-layout {
    display: grid;
    grid-template-columns: minmax(0, 880px) minmax(250px, 310px);
    gap: clamp(42px, 6vw, 88px);
    align-items: start;
}

.wiki-article-content {
    min-width: 0;
    color: #d7dcdd;
    font-size: 0.94rem;
    line-height: 1.78;
}

.wiki-article-content > :first-child {
    margin-top: 0;
}

.wiki-article-content p {
    margin: 0 0 20px;
}

.wiki-article-content a {
    color: #58dede;
    text-decoration-color: rgba(88, 222, 222, 0.35);
    text-underline-offset: 3px;
}

.wiki-article-content a:hover {
    color: #9dffff;
}

.wiki-article-content h2 {
    margin: 49px 0 19px;
    padding-bottom: 11px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    color: #f2f4f3;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.72rem;
    letter-spacing: -0.025em;
    line-height: 1.2;
    text-transform: none;
}

.wiki-article-content h3 {
    margin: 34px 0 13px;
    color: #eef2f1;
    font-size: 1.14rem;
    letter-spacing: -0.015em;
    text-transform: none;
}

.wiki-article-content h4 {
    margin: 27px 0 11px;
    color: #79e8e8;
    font-size: 0.82rem;
    letter-spacing: 0.035em;
    text-transform: uppercase;
}

.wiki-article-content hr {
    height: 1px;
    margin: 36px 0;
    border: 0;
    background: rgba(255, 255, 255, 0.12);
}

.wiki-article-content ul,
.wiki-article-content ol {
    margin: 0 0 22px;
    padding-left: 24px;
}

.wiki-article-content li {
    margin: 7px 0;
}

.wiki-article-rail {
    position: sticky;
    top: 84px;
    display: grid;
    gap: 18px;
}

.wiki-article-rail-card,
.wiki-relocated-toc {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.115);
    background: rgba(21, 27, 30, 0.93);
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.22);
}

.wiki-article-rail-card > header,
.wiki-relocated-toc > header,
.wiki-relocated-toc .wiki-toc-title,
.wiki-relocated-toc .toc-title {
    display: flex;
    min-height: 49px;
    align-items: center;
    gap: 10px;
    padding: 0 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.085);
    color: #eff3f3;
    background: rgba(255, 255, 255, 0.018);
    font-size: 0.74rem;
    font-weight: 800;
}

.wiki-article-rail-card header svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: #60e2e2;
    stroke-width: 1.7;
    stroke-linecap: square;
}

.wiki-toc-placeholder {
    margin: 0;
    padding: 16px;
    color: #758388;
    font-size: 0.7rem;
    line-height: 1.55;
}

.wiki-relocated-toc {
    float: none !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
}

.wiki-relocated-toc ol,
.wiki-relocated-toc ul {
    margin: 0;
    padding: 11px 15px 14px 31px;
}

.wiki-relocated-toc li {
    margin: 0;
    color: #708086;
    font-size: 0.69rem;
    line-height: 1.42;
}

.wiki-relocated-toc a {
    display: inline-block;
    padding: 5px 0;
    color: #59dddd;
    text-decoration: none;
}

.wiki-relocated-toc a:hover {
    color: #a0ffff;
}

.wiki-page-details dl {
    margin: 0;
}

.wiki-page-details dl > div {
    display: grid;
    grid-template-columns: 42% 58%;
    gap: 8px;
    padding: 10px 13px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    font-size: 0.68rem;
}

.wiki-page-details dl > div:last-child {
    border-bottom: 0;
}

.wiki-page-details dt {
    color: #7d8b90;
}

.wiki-page-details dd {
    margin: 0;
    color: #cbd3d5;
    text-align: right;
}

.wiki-notice,
.repeat-wiki-notice,
.wiki-article-content .notice {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 15px;
    margin: 0 0 26px;
    padding: 17px 19px;
    border: 1px solid rgba(80, 219, 219, 0.36);
    background:
        linear-gradient(
            90deg,
            rgba(80, 219, 219, 0.1),
            rgba(80, 219, 219, 0.025)
        ),
        #162124;
    box-shadow: inset 3px 0 #55dddd;
}

.wiki-notice p:last-child,
.repeat-wiki-notice p:last-child,
.wiki-article-content .notice p:last-child {
    margin-bottom: 0;
}

.wiki-infobox,
.repeat-wiki-infobox,
.wiki-article-content .infobox {
    width: 100%;
    max-width: 340px;
    float: right;
    margin: 0 0 27px 28px;
    border: 1px solid rgba(82, 147, 250, 0.46);
    background: #171b1e;
    box-shadow:
        inset 0 0 0 3px #101518,
        inset 0 0 0 4px rgba(221, 164, 72, 0.52);
}

.wiki-article-content table {
    width: 100%;
    margin: 24px 0 31px;
    border-collapse: collapse;
    border: 1px solid rgba(255, 255, 255, 0.13);
    background: rgba(17, 22, 24, 0.8);
    font-size: 0.77rem;
}

.wiki-article-content th,
.wiki-article-content td {
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, 0.085);
    text-align: left;
    vertical-align: top;
}

.wiki-article-content th {
    color: #f0f3f3;
    background: rgba(255, 255, 255, 0.055);
}

.wiki-article-content code,
.wiki-command,
.repeat-wiki-command {
    padding: 3px 7px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 3px;
    color: #e8eeee;
    background: #0c1113;
    font-family: Consolas, monospace;
    font-size: 0.83em;
}

.wiki-article-content blockquote {
    margin: 25px 0;
    padding: 14px 18px;
    border-left: 3px solid #55dddd;
    color: #aeb8bb;
    background: rgba(84, 218, 218, 0.04);
}

.wiki-article-content details,
.wiki-collapse,
.repeat-wiki-collapse {
    margin: 21px 0;
    border: 1px solid rgba(255, 255, 255, 0.11);
    background: rgba(15, 20, 22, 0.78);
}

.wiki-article-content summary,
.wiki-collapse summary,
.repeat-wiki-collapse summary {
    min-height: 48px;
    padding: 14px 17px;
    color: #edf2f2;
    background: rgba(255, 255, 255, 0.025);
    font-weight: 800;
    cursor: pointer;
}

.wiki-article-panel {
    margin: 0 0 28px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: #141b1e;
    box-shadow: 0 17px 42px rgba(0, 0, 0, 0.23);
}

.wiki-article-panel[hidden] {
    display: none;
}

.wiki-article-panel > header {
    display: flex;
    min-height: 68px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 12px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.085);
}

.wiki-article-panel > header span {
    color: #5bdddd;
    font-size: 0.59rem;
    font-weight: 900;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.wiki-article-panel > header h2 {
    margin: 4px 0 0;
    color: #f1f4f3;
    font-size: 1rem;
}

.wiki-article-panel > header button {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, 0.11);
    color: #aeb9bc;
    background: transparent;
    font-size: 1.2rem;
    cursor: pointer;
}

.wiki-article-panel > header button:hover {
    color: #8fffff;
    border-color: rgba(83, 222, 222, 0.42);
}

.wiki-article-panel pre {
    max-height: 480px;
    overflow: auto;
    margin: 0;
    padding: 20px;
    color: #cdd5d7;
    background: #0b1012;
    font-size: 0.72rem;
    line-height: 1.65;
    white-space: pre-wrap;
}

.wiki-history-list {
    display: grid;
    padding: 5px 20px 17px;
}

.wiki-history-list article {
    display: grid;
    grid-template-columns: 14px minmax(0, 1fr);
    gap: 13px;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.075);
}

.wiki-history-list article:last-child {
    border-bottom: 0;
}

.wiki-history-marker {
    width: 9px;
    height: 9px;
    margin-top: 5px;
    border: 2px solid #5ddddf;
    transform: rotate(45deg);
}

.wiki-history-list strong {
    color: #eef3f2;
    font-size: 0.78rem;
}

.wiki-history-list p {
    margin: 4px 0 0;
    color: #879499;
    font-size: 0.72rem;
}

.wiki-page-information {
    margin: 0;
}

.wiki-page-information > div {
    display: grid;
    grid-template-columns: 210px minmax(0, 1fr);
    gap: 18px;
    padding: 13px 19px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.075);
    font-size: 0.73rem;
}

.wiki-page-information > div:last-child {
    border-bottom: 0;
}

.wiki-page-information dt {
    color: #7e8d92;
}

.wiki-page-information dd {
    margin: 0;
    color: #d5dcdd;
}

.wiki-related-section {
    margin-top: 67px;
    padding-top: 31px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.wiki-related-section > header span {
    color: #5ddddf;
    font-size: 0.61rem;
    font-weight: 900;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.wiki-related-section > header h2 {
    margin: 6px 0 20px;
    color: #f1f4f3;
    font-size: 1.45rem;
}

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

.wiki-related-grid a {
    display: flex;
    min-height: 112px;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 17px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: inherit;
    background: rgba(21, 27, 30, 0.82);
    text-decoration: none;
}

.wiki-related-grid a:hover {
    border-color: rgba(83, 222, 222, 0.38);
    background: rgba(26, 35, 38, 0.9);
}

.wiki-related-grid strong {
    color: #f0f3f2;
    font-size: 0.8rem;
}

.wiki-related-grid p {
    margin: 6px 0 0;
    color: #849196;
    font-size: 0.7rem;
    line-height: 1.5;
}

.wiki-related-grid > a > span {
    color: #5ddddf;
    font-size: 1.25rem;
}

.wiki-article-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 48px;
    padding: 22px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.09);
    color: #748287;
    font-size: 0.68rem;
}

.wiki-article-footer p {
    margin: 0;
}

.wiki-article-footer a {
    color: #58dede;
    text-decoration: none;
}

@media (max-width: 1080px) {
    .wiki-article-masthead {
        grid-template-columns: 1fr;
    }

    .wiki-article-toolbar {
        width: max-content;
        max-width: 100%;
    }

    .wiki-article-body-layout {
        grid-template-columns: minmax(0, 1fr) 260px;
        gap: 38px;
    }
}

@media (max-width: 820px) {
    .wiki-article-shell {
        width: calc(100% - 24px);
    }

    .wiki-article-body-layout {
        display: flex;
        flex-direction: column;
    }

    .wiki-article-rail {
        position: static;
        width: 100%;
        order: -1;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

@media (max-width: 610px) {
    .wiki-article-heading h1 {
        font-size: 2.55rem;
    }

    .wiki-article-toolbar {
        display: grid;
        width: 100%;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .wiki-toolbar-action {
        min-width: 0;
        padding: 0 9px;
        border-top: 1px solid rgba(255, 255, 255, 0.075);
    }

    .wiki-toolbar-more {
        position: static;
    }

    .wiki-toolbar-menu {
        right: 0;
        left: 0;
        width: auto;
    }

    .wiki-article-rail {
        display: grid;
        grid-template-columns: 1fr;
    }

    .wiki-infobox,
    .repeat-wiki-infobox,
    .wiki-article-content .infobox {
        float: none;
        max-width: none;
        margin: 0 0 26px;
    }

    .wiki-page-information > div {
        grid-template-columns: 1fr;
        gap: 5px;
    }

    .wiki-article-footer {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media print {
    .site-header,
    .wiki-article-breadcrumbs,
    .wiki-article-toolbar,
    .wiki-article-rail,
    .wiki-related-section,
    .wiki-article-footer,
    .wiki-article-panel {
        display: none !important;
    }

    .wiki-article-page {
        color: #000;
        background: #fff;
    }

    .wiki-article-shell {
        width: 100%;
    }

    .wiki-article-body-layout {
        display: block;
    }

    .wiki-article-content {
        color: #000;
    }
}
