:root {
    --mxr-bg: #080806;
    --mxr-bg-soft: #0f0f0c;
    --mxr-panel: #11110e;
    --mxr-panel-raised: #171611;
    --mxr-border: #3b372d;
    --mxr-border-soft: #26241e;
    --mxr-text: #e5e1d7;
    --mxr-muted: #9e9a8f;
    --mxr-dim: #6f6b62;
    --mxr-orange: #e56d08;
    --mxr-orange-bright: #ff8a19;
    --mxr-orange-deep: #8e3300;
    --mxr-purple: #9650d1;
    --mxr-green: #8ca53f;
    --mxr-green-bright: #b8d84a;
    --mxr-red: #b34436;
    --mxr-shadow: 0 20px 65px rgba(0, 0, 0, 0.45);
    --mxr-radius: 4px;
    --mxr-content: 1000px;
    --mxr-font-display: "Arial Narrow", "Roboto Condensed", "Liberation Sans Narrow", Arial, sans-serif;
    --mxr-font-body: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --mxr-font-mono: "Lucida Console", Monaco, Consolas, monospace;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--mxr-text);
    background:
        radial-gradient(circle at 50% -10%, rgba(86, 57, 112, 0.16), transparent 42rem),
        linear-gradient(180deg, #090907 0%, #050504 100%);
    font-family: var(--mxr-font-body);
    font-size: 14px;
    line-height: 1.6;
    min-width: 320px;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    opacity: 0.3;
    background-image: url("../images/noise.png");
    pointer-events: none;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    color: var(--mxr-orange-bright);
}

img {
    max-width: 100%;
    height: auto;
}

button,
input,
textarea,
select {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

::selection {
    color: #fff;
    background: rgba(229, 109, 8, 0.75);
}

.screen-reader-text {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.screen-reader-text:focus,
.mxr-skip-link:focus {
    clip: auto !important;
    width: auto;
    height: auto;
    z-index: 100000;
    top: 8px;
    left: 8px;
    padding: 10px 14px;
    color: #fff;
    background: #111;
}

.mxr-skip-link {
    position: absolute;
    left: -9999px;
}

.mxr-page-shell {
    width: min(calc(100% - 24px), var(--mxr-content));
    margin: 10px auto 24px;
    border: 1px solid #2d2a23;
    border-radius: 8px;
    background: rgba(7, 7, 6, 0.93);
    box-shadow: var(--mxr-shadow);
    overflow: hidden;
}

.admin-bar .mxr-site-header {
    top: 32px;
}

/* Header */
.mxr-site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(8, 8, 7, 0.96);
    border-bottom: 1px solid var(--mxr-border);
    backdrop-filter: blur(16px);
}

.mxr-site-header::before,
.mxr-site-footer::before,
.mxr-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(115deg, rgba(255, 255, 255, 0.018), transparent 38%, rgba(255, 255, 255, 0.01));
}

.mxr-header-inner {
    position: relative;
    min-height: 74px;
    display: grid;
    grid-template-columns: 290px 1fr 42px;
    align-items: center;
    gap: 18px;
    padding: 0 14px;
}

.mxr-brand {
    display: flex;
    align-items: center;
    min-width: 0;
}

.mxr-brand img,
.mxr-brand .custom-logo {
    display: block;
    width: 286px;
    max-height: 62px;
    object-fit: contain;
    object-position: left center;
}

.mxr-brand .custom-logo-link {
    display: inline-flex;
}

.mxr-primary-nav {
    min-width: 0;
}

.mxr-menu,
.mxr-primary-nav ul {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 1px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.mxr-menu li {
    position: relative;
}

.mxr-menu a {
    position: relative;
    display: block;
    padding: 27px 11px 24px;
    color: #bdb9af;
    font-family: var(--mxr-font-display);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.085em;
    line-height: 1;
    text-transform: uppercase;
    white-space: nowrap;
}

.mxr-menu a::after {
    content: "";
    position: absolute;
    right: 12px;
    bottom: 16px;
    left: 12px;
    height: 2px;
    background: var(--mxr-orange);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 160ms ease;
}

.mxr-menu a:hover,
.mxr-menu .current-menu-item > a,
.mxr-menu .current_page_item > a,
.home .mxr-menu li:first-child > a {
    color: var(--mxr-orange-bright);
}

.mxr-menu a:hover::after,
.mxr-menu .current-menu-item > a::after,
.mxr-menu .current_page_item > a::after,
.home .mxr-menu li:first-child > a::after {
    transform: scaleX(1);
}

.mxr-search-toggle,
.mxr-menu-toggle {
    position: relative;
    z-index: 2;
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    padding: 0;
    color: var(--mxr-orange-bright);
    border: 1px solid var(--mxr-border);
    border-radius: 2px;
    background: #0b0b09;
    cursor: pointer;
}

.mxr-search-toggle:hover,
.mxr-menu-toggle:hover {
    border-color: var(--mxr-orange);
    background: #15110c;
}

.mxr-search-toggle svg {
    width: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
}

.mxr-menu-toggle {
    display: none;
}

.mxr-menu-toggle-lines {
    width: 18px;
    display: grid;
    gap: 4px;
}

.mxr-menu-toggle-lines i {
    display: block;
    height: 2px;
    background: currentColor;
    transition: transform 180ms ease, opacity 180ms ease;
}

.mxr-menu-toggle[aria-expanded="true"] i:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.mxr-menu-toggle[aria-expanded="true"] i:nth-child(2) {
    opacity: 0;
}

.mxr-menu-toggle[aria-expanded="true"] i:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.mxr-search-drawer {
    padding: 12px 14px 14px;
    border-top: 1px solid var(--mxr-border-soft);
    background: #0b0b09;
}

.mxr-search-drawer[hidden] {
    display: none;
}

.mxr-search-form {
    display: flex;
    gap: 8px;
    width: 100%;
}

.mxr-search-field {
    width: 100%;
    min-width: 0;
    padding: 11px 12px;
    color: var(--mxr-text);
    border: 1px solid var(--mxr-border);
    border-radius: 2px;
    outline: none;
    background: #090907;
}

.mxr-search-field:focus {
    border-color: var(--mxr-orange);
    box-shadow: 0 0 0 2px rgba(229, 109, 8, 0.14);
}

.mxr-search-submit {
    min-width: 98px;
    padding: 10px 17px;
    color: #fff;
    border: 1px solid #f28a2a;
    border-radius: 2px;
    background: linear-gradient(180deg, #d85f06, #933600);
    cursor: pointer;
    font-family: var(--mxr-font-display);
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* Main layout */
.mxr-main {
    padding: 10px;
}

.mxr-panel {
    position: relative;
    border: 1px solid var(--mxr-border);
    border-radius: var(--mxr-radius);
    background: linear-gradient(145deg, rgba(18, 18, 15, 0.98), rgba(10, 10, 8, 0.98));
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.018);
    overflow: hidden;
}

.mxr-panel-header {
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 12px;
    border-bottom: 1px solid var(--mxr-border-soft);
}

.mxr-panel-header > a {
    color: #908d84;
    font-family: var(--mxr-font-display);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    white-space: nowrap;
}

.mxr-panel-header > a:hover {
    color: var(--mxr-orange-bright);
}

.mxr-panel-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: var(--mxr-orange-bright);
    font-family: var(--mxr-font-display);
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 0.02em;
    line-height: 1.1;
    text-transform: uppercase;
}

.mxr-panel-title.mxr-purple {
    color: #ad68e3;
}

.mxr-panel-icon {
    font-size: 15px;
}

/* Hero */
.mxr-hero {
    position: relative;
    min-height: 370px;
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    border: 1px solid var(--mxr-border);
    border-radius: var(--mxr-radius);
    overflow: hidden;
    background-image: var(--mxr-hero-image);
    background-position: center;
    background-size: cover;
    isolation: isolate;
}

.mxr-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        repeating-linear-gradient(0deg, rgba(255,255,255,0.024) 0, rgba(255,255,255,0.024) 1px, transparent 1px, transparent 4px),
        linear-gradient(90deg, rgba(4, 4, 4, 0.96) 0%, rgba(4, 4, 4, 0.84) 31%, rgba(4, 4, 4, 0.20) 65%, rgba(4, 4, 4, 0.06) 100%);
}

.mxr-hero::after {
    content: "";
    position: absolute;
    inset: 8px;
    z-index: 3;
    border: 1px solid rgba(229, 109, 8, 0.33);
    clip-path: polygon(0 0, 98.5% 0, 100% 4%, 100% 100%, 1.5% 100%, 0 96%);
    pointer-events: none;
}

.mxr-hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 30%, rgba(91, 27, 137, 0.15), transparent 34rem);
    pointer-events: none;
}

.mxr-hero-content {
    position: relative;
    z-index: 2;
    width: min(470px, 58%);
    padding: 38px 28px 44px;
}

.mxr-eyebrow,
.mxr-feature-kicker {
    margin: 0 0 6px;
    color: #d7d2c6;
    font-family: var(--mxr-font-display);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.mxr-hero h1,
.mxr-page-banner h1,
.mxr-article-header h1,
.mxr-404 h1 {
    margin: 0;
    color: #eee9de;
    font-family: var(--mxr-font-display);
    font-size: clamp(48px, 7vw, 73px);
    font-stretch: condensed;
    font-weight: 900;
    letter-spacing: -0.035em;
    line-height: 0.92;
    text-transform: uppercase;
    text-shadow: 0 3px 0 rgba(0, 0, 0, 0.85);
}

.mxr-hero h1 {
    color: var(--mxr-orange-bright);
}

.mxr-hero-copy {
    max-width: 390px;
    margin: 20px 0 0;
    color: #cbc7bd;
    font-size: 15px;
    line-height: 1.65;
}

.mxr-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.mxr-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    min-height: 42px;
    padding: 10px 17px;
    border: 1px solid var(--mxr-border);
    border-radius: 2px;
    font-family: var(--mxr-font-display);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.055em;
    line-height: 1;
    text-transform: uppercase;
    transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.mxr-button:hover {
    color: #fff;
    transform: translateY(-1px);
}

.mxr-button-primary {
    color: #fff;
    border-color: #f18424;
    background: linear-gradient(180deg, #d96007, #8e3100);
    box-shadow: inset 0 1px rgba(255,255,255,0.15), 0 0 22px rgba(229, 109, 8, 0.13);
}

.mxr-button-primary:hover {
    border-color: #ffad56;
    background: linear-gradient(180deg, #ed760f, #a53d00);
}

.mxr-button-secondary {
    color: #e4e1d8;
    border-color: #6d6960;
    background: rgba(8, 8, 7, 0.78);
}

.mxr-button-secondary:hover {
    border-color: #aaa59a;
    background: rgba(24, 23, 20, 0.94);
}

.mxr-button-purple {
    color: #c790f0;
    border-color: #7640a0;
    background: rgba(20, 12, 25, 0.78);
}

.mxr-button-purple:hover {
    color: #e3c4fb;
    border-color: #aa6fd5;
    background: rgba(70, 32, 96, 0.5);
}

.mxr-terminal-line {
    margin: 19px 0 0;
    color: var(--mxr-green-bright);
    font-family: var(--mxr-font-mono);
    font-size: 10px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.mxr-terminal-line span {
    color: #617a24;
}

.mxr-hud {
    position: absolute;
    z-index: 2;
    right: 22px;
    bottom: 13px;
    left: 22px;
    display: flex;
    align-items: center;
    gap: 44px;
    color: rgba(214, 166, 69, 0.72);
    font-family: var(--mxr-font-mono);
    font-size: 20px;
    text-shadow: 0 0 8px rgba(222, 132, 30, 0.4);
    pointer-events: none;
}

.mxr-hud span:last-child {
    margin-left: auto;
}

/* Home top grid */
.mxr-home-grid {
    display: grid;
    gap: 10px;
    margin-bottom: 10px;
}

.mxr-home-grid-top {
    grid-template-columns: minmax(0, 38%) minmax(0, 62%);
}

.mxr-home-grid-content {
    grid-template-columns: minmax(0, 67%) minmax(255px, 33%);
    align-items: start;
}

.mxr-news-list {
    padding: 0 10px;
}

.mxr-news-row {
    display: grid;
    grid-template-columns: 118px minmax(0, 1fr) 18px;
    align-items: center;
    gap: 11px;
    min-height: 92px;
    padding: 10px 0;
    border-bottom: 1px solid #27251f;
}

.mxr-news-row:last-child {
    border-bottom: 0;
}

.mxr-news-image {
    height: 74px;
    display: block;
    overflow: hidden;
    border: 1px solid #343129;
    border-radius: 2px;
    background: #080806;
}

.mxr-news-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    filter: saturate(0.88) contrast(1.08);
    transition: transform 250ms ease, filter 250ms ease;
}

.mxr-news-row:hover .mxr-news-image img {
    transform: scale(1.035);
    filter: saturate(1.05) contrast(1.08);
}

.mxr-news-body {
    min-width: 0;
}

.mxr-news-body h3,
.mxr-project-body h3,
.mxr-archive-card-body h2,
.mxr-download-row h2 {
    margin: 2px 0 3px;
    color: var(--mxr-orange-bright);
    font-family: var(--mxr-font-display);
    font-size: 15px;
    font-weight: 800;
    line-height: 1.08;
    text-transform: uppercase;
}

.mxr-news-body h3 a:hover,
.mxr-project-body h3 a:hover,
.mxr-archive-card-body h2 a:hover {
    color: #ffad58;
}

.mxr-news-meta {
    margin: 0;
    color: #8d897f;
    font-family: var(--mxr-font-display);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.045em;
    text-transform: uppercase;
}

.mxr-news-body > p:last-child {
    margin: 0;
    color: var(--mxr-muted);
    font-size: 11px;
    line-height: 1.38;
}

.mxr-row-arrow {
    color: #a5a097;
    font-size: 25px;
    line-height: 1;
}

.mxr-row-arrow:hover {
    color: var(--mxr-orange-bright);
}

.mxr-featured-panel {
    min-width: 0;
}

.mxr-feature-card {
    position: relative;
    min-height: 325px;
    margin: 10px;
    display: flex;
    align-items: center;
    overflow: hidden;
    border: 1px solid #332d36;
    border-radius: 2px;
    background-image: var(--mxr-feature-image);
    background-position: center;
    background-size: cover;
    isolation: isolate;
}

.mxr-feature-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        repeating-linear-gradient(0deg, rgba(255,255,255,0.02) 0, rgba(255,255,255,0.02) 1px, transparent 1px, transparent 4px),
        linear-gradient(90deg, rgba(5,5,5,0.94) 0%, rgba(5,5,5,0.77) 40%, rgba(5,5,5,0.12) 78%);
}

.mxr-feature-shade {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: radial-gradient(circle at 78% 25%, rgba(112, 43, 145, 0.12), transparent 45%);
}

.mxr-feature-content {
    width: 56%;
    padding: 26px;
}

.mxr-feature-kicker {
    color: #ab67d8;
    font-size: 10px;
}

.mxr-feature-content h2 {
    margin: 8px 0 13px;
    color: #e8e4db;
    font-family: var(--mxr-font-display);
    font-size: clamp(31px, 4vw, 48px);
    font-weight: 900;
    letter-spacing: -0.025em;
    line-height: 0.96;
    text-transform: uppercase;
    text-shadow: 0 2px 0 #000;
}

.mxr-feature-content p:not(.mxr-feature-kicker) {
    margin: 0 0 18px;
    color: #c0bbb2;
    line-height: 1.65;
}

.mxr-slider-dots {
    display: flex;
    justify-content: center;
    gap: 15px;
    height: 28px;
}

.mxr-slider-dots i {
    width: 9px;
    height: 9px;
    display: block;
    border-radius: 50%;
    background: #504e47;
}

.mxr-slider-dots i:first-child {
    background: var(--mxr-purple);
    box-shadow: 0 0 10px rgba(150, 80, 209, 0.7);
}

/* Project cards */
.mxr-project-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 7px;
    padding: 10px;
}

.mxr-project-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    border: 1px solid #333027;
    background: #0d0d0b;
    transition: transform 160ms ease, border-color 160ms ease;
}

.mxr-project-card:hover {
    border-color: #5a4c38;
    transform: translateY(-2px);
}

.mxr-project-image {
    position: relative;
    aspect-ratio: 1.45 / 1;
    display: block;
    overflow: hidden;
    border-bottom: 1px solid #373229;
}

.mxr-project-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,0.35));
}

.mxr-project-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    filter: saturate(0.88) contrast(1.08);
    transition: transform 220ms ease;
}

.mxr-project-card:hover .mxr-project-image img {
    transform: scale(1.04);
}

.mxr-project-body {
    min-height: 174px;
    display: flex;
    flex-direction: column;
    padding: 11px 10px 10px;
}

.mxr-project-body h3 {
    font-size: 14px;
}

.mxr-project-body p {
    margin: 6px 0 12px;
    color: var(--mxr-muted);
    font-size: 10.5px;
    line-height: 1.5;
}

.mxr-text-link {
    margin-top: auto;
    color: var(--mxr-orange-bright);
    font-family: var(--mxr-font-display);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.mxr-text-link:hover {
    color: #ffc07c;
}

/* Homepage rail */
.mxr-home-rail {
    display: grid;
    gap: 10px;
}

.mxr-server-panel .mxr-panel-header,
.mxr-activity-panel .mxr-panel-header,
.mxr-quick-panel .mxr-panel-header {
    min-height: 38px;
}

.mxr-server-fallback {
    padding: 8px 10px 10px;
}

.mxr-server-row {
    display: grid;
    grid-template-columns: 10px minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 5px 0;
    border-bottom: 1px solid #29271f;
}

.mxr-server-row:last-child {
    border-bottom: 0;
}

.mxr-status-dot {
    width: 8px;
    height: 8px;
    display: inline-block;
    flex: 0 0 auto;
    border-radius: 50%;
    background: #65b43a;
    box-shadow: 0 0 8px rgba(101, 180, 58, 0.64);
}

.mxr-server-name {
    min-width: 0;
    display: block;
    color: #d5d2ca;
    font-size: 10px;
    line-height: 1.15;
}

.mxr-server-name strong,
.mxr-server-name small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mxr-server-name strong {
    font-weight: 650;
}

.mxr-server-name small {
    margin-top: 3px;
    color: #77746c;
    font-family: var(--mxr-font-mono);
    font-size: 8px;
}

.mxr-server-players {
    color: var(--mxr-green-bright);
    font-family: var(--mxr-font-mono);
    font-size: 10px;
}

/* GoldSrc plugin restyling */
.mxr-server-panel .gssw-list,
.mxr-sidebar-section .gssw-list {
    display: grid;
    gap: 0;
    padding: 6px 10px 9px;
}

.mxr-server-panel .gssw-card,
.mxr-sidebar-section .gssw-card {
    position: relative;
    min-height: 42px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    padding: 7px 0 7px 18px;
    border-bottom: 1px solid #29271f;
    background: transparent;
}

.mxr-server-panel .gssw-card:last-child,
.mxr-sidebar-section .gssw-card:last-child {
    border-bottom: 0;
}

.mxr-server-panel .gssw-card::before,
.mxr-sidebar-section .gssw-card::before {
    content: "";
    position: absolute;
    left: 1px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #777;
    box-shadow: 0 0 6px rgba(255,255,255,0.2);
}

.mxr-server-panel .gssw-card.gssw-online::before,
.mxr-sidebar-section .gssw-card.gssw-online::before {
    background: #65b43a;
    box-shadow: 0 0 8px rgba(101, 180, 58, 0.64);
}

.mxr-server-panel .gssw-card.gssw-offline::before,
.mxr-sidebar-section .gssw-card.gssw-offline::before {
    background: #a83c34;
}

.mxr-server-panel .gssw-top,
.mxr-sidebar-section .gssw-top {
    display: block;
    min-width: 0;
    padding: 0;
    border: 0;
    background: transparent;
}

.mxr-server-panel .gssw-label,
.mxr-sidebar-section .gssw-label {
    padding: 0;
    overflow: hidden;
    color: #d5d2ca;
    background: transparent;
    font-family: var(--mxr-font-body);
    font-size: 10px;
    font-weight: 650;
    text-align: left;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mxr-server-panel .gssw-status,
.mxr-sidebar-section .gssw-status {
    display: block;
    margin-top: 3px;
    color: #75726a;
    font-family: var(--mxr-font-mono);
    font-size: 8px;
}

.mxr-server-panel .gssw-body,
.mxr-sidebar-section .gssw-body {
    padding: 0;
}

.mxr-server-panel .gssw-mapBox,
.mxr-sidebar-section .gssw-mapBox {
    min-width: 72px;
}

.mxr-server-panel .gssw-mapLabel,
.mxr-sidebar-section .gssw-mapLabel {
    justify-content: flex-end;
    padding: 0;
    color: var(--mxr-green-bright);
    font-family: var(--mxr-font-mono);
}

.mxr-server-panel .gssw-mapLabel .gssw-k,
.mxr-sidebar-section .gssw-mapLabel .gssw-k {
    display: none;
}

.mxr-server-panel .gssw-mapLabel .gssw-v,
.mxr-sidebar-section .gssw-mapLabel .gssw-v {
    color: var(--mxr-green-bright);
    font-size: 8px;
    text-align: right;
}

.mxr-server-panel .gssw-mapMedia,
.mxr-sidebar-section .gssw-mapMedia {
    display: none;
}

.mxr-activity-list,
.mxr-quick-links,
.mxr-sidebar-list {
    margin: 0;
    padding: 7px 10px 10px;
    list-style: none;
}

.mxr-activity-list li {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 7px;
    align-items: start;
    min-height: 42px;
    padding: 5px 0;
    color: #8f8b81;
    border-bottom: 1px solid #26241e;
    font-size: 9px;
    line-height: 1.25;
}

.mxr-activity-list li:last-child {
    border-bottom: 0;
}

.mxr-activity-icon {
    width: 21px;
    height: 21px;
    display: grid;
    place-items: center;
    color: var(--mxr-orange-bright);
    border: 1px solid #7f3205;
    border-radius: 50%;
    font-family: Georgia, serif;
    font-size: 12px;
}

.mxr-activity-list strong,
.mxr-activity-list small {
    display: block;
}

.mxr-activity-list strong {
    color: #d3cfc6;
    font-weight: 600;
}

.mxr-activity-list small {
    margin-top: 2px;
    color: #65625b;
    font-size: 8px;
}

.mxr-quick-links li {
    border-bottom: 1px solid #29271f;
}

.mxr-quick-links li:last-child {
    border-bottom: 0;
}

.mxr-quick-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 27px;
    color: #a7a39a;
    font-family: var(--mxr-font-display);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.mxr-quick-links a:hover {
    color: var(--mxr-orange-bright);
}

.mxr-stay-connected {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 7px 10px 10px;
    color: var(--mxr-green);
    font-family: var(--mxr-font-mono);
    font-size: 8px;
    text-transform: uppercase;
}

.mxr-socials {
    display: flex;
    align-items: center;
    gap: 7px;
}

.mxr-socials a {
    width: 22px;
    height: 22px;
    display: grid;
    place-items: center;
    color: #b7b3aa;
    border: 1px solid #3b3931;
    border-radius: 50%;
    background: #0a0a08;
    font-family: var(--mxr-font-display);
    font-size: 9px;
    font-weight: 800;
}

.mxr-socials a:hover {
    color: #fff;
    border-color: var(--mxr-orange);
    background: #652603;
}

/* Community stats */
.mxr-community-panel {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(260px, 0.85fr);
    align-items: stretch;
    margin-bottom: 10px;
}

.mxr-community-copy {
    padding: 17px 18px 18px;
}

.mxr-community-copy h2 {
    margin: 0;
    color: var(--mxr-orange-bright);
    font-family: var(--mxr-font-display);
    font-size: 17px;
    line-height: 1;
    text-transform: uppercase;
}

.mxr-community-copy > p {
    max-width: 630px;
    margin: 10px 0 17px;
    color: var(--mxr-muted);
    font-size: 11px;
}

.mxr-stats {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    border-top: 1px solid #29261f;
    border-bottom: 1px solid #29261f;
}

.mxr-stats > div {
    min-height: 68px;
    display: grid;
    place-content: center;
    padding: 8px 7px;
    border-right: 1px solid #29261f;
    text-align: center;
}

.mxr-stats > div:last-child {
    border-right: 0;
}

.mxr-stats strong {
    color: var(--mxr-orange-bright);
    font-family: var(--mxr-font-display);
    font-size: 23px;
    line-height: 1;
}

.mxr-stats span {
    margin-top: 5px;
    color: #858178;
    font-family: var(--mxr-font-display);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.mxr-community-image {
    position: relative;
    min-height: 180px;
    overflow: hidden;
    border-left: 1px solid var(--mxr-border-soft);
}

.mxr-community-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #11110e 0, transparent 45%);
}

.mxr-community-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    filter: saturate(0.72) brightness(0.66) contrast(1.15);
}

/* Footer */
.mxr-site-footer {
    position: relative;
    border-top: 1px solid var(--mxr-border);
    background: #0a0a08;
}

.mxr-footer-grid {
    display: grid;
    grid-template-columns: 1.55fr 0.75fr 0.75fr 1fr;
    gap: 22px;
    padding: 22px 22px 18px;
}

.mxr-footer-brand img {
    width: 230px;
    display: block;
}

.mxr-footer-brand p {
    max-width: 280px;
    margin: 10px 0 0;
    color: #7f7b72;
    font-size: 9px;
    line-height: 1.5;
}

.mxr-footer-column h2 {
    margin: 0 0 7px;
    color: #aaa69d;
    font-family: var(--mxr-font-display);
    font-size: 10px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.mxr-footer-column ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.mxr-footer-column li,
.mxr-footer-column p {
    margin: 0;
    color: #77736b;
    font-size: 9px;
    line-height: 1.65;
}

.mxr-footer-system p {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--mxr-green);
    font-family: var(--mxr-font-mono);
    text-transform: uppercase;
}

.mxr-footer-system .mxr-socials {
    margin-top: 12px;
}

.mxr-footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 9px 22px 12px;
    color: #5e5b55;
    border-top: 1px solid #22201b;
    font-size: 8px;
}

.mxr-footer-bottom p {
    margin: 0;
}

/* Interior pages */
.mxr-page-banner {
    position: relative;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-bottom: 10px;
    padding: 28px 32px;
    border: 1px solid var(--mxr-border);
    border-radius: var(--mxr-radius);
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(10,10,8,0.98), rgba(10,10,8,0.72)),
        url("../images/card-xen.webp") center / cover;
}

.mxr-page-banner::after {
    content: "";
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(0deg, rgba(255,255,255,0.018) 0, rgba(255,255,255,0.018) 1px, transparent 1px, transparent 4px);
    pointer-events: none;
}

.mxr-page-banner > * {
    position: relative;
    z-index: 1;
}

.mxr-page-banner h1 {
    color: var(--mxr-orange-bright);
    font-size: clamp(42px, 6vw, 65px);
}

.mxr-page-banner > p:not(.mxr-eyebrow),
.mxr-page-banner .mxr-archive-description,
.mxr-banner-copy {
    max-width: 570px;
    margin: 13px 0 0;
    color: #aaa69c;
}

.mxr-projects-banner {
    min-height: 255px;
    background:
        linear-gradient(90deg, rgba(8,8,7,0.97), rgba(8,8,7,0.58) 65%, rgba(8,8,7,0.2)),
        var(--mxr-banner-image) center / cover;
}

.mxr-projects-intro {
    margin-bottom: 10px;
    padding: 18px;
}

.mxr-project-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 3px;
    margin-bottom: 10px;
    padding: 5px;
    border: 1px solid var(--mxr-border);
    background: #0e0e0c;
}

.mxr-project-filter a {
    padding: 9px 14px;
    color: #98948b;
    border-bottom: 2px solid transparent;
    font-family: var(--mxr-font-display);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.mxr-project-filter a:hover,
.mxr-project-filter a.is-active {
    color: var(--mxr-orange-bright);
    border-bottom-color: var(--mxr-orange);
    background: #16130e;
}

.mxr-project-directory {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.mxr-project-directory .mxr-archive-card {
    display: flex;
    flex-direction: column;
}

.mxr-project-directory .mxr-archive-card-image {
    aspect-ratio: 1.5 / 1;
    width: 100%;
}

.mxr-content-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 265px;
    align-items: start;
    gap: 10px;
}

.mxr-content-layout-single {
    padding-top: 0;
}

.mxr-archive-list {
    min-width: 0;
    display: grid;
    gap: 10px;
}

.mxr-archive-card {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    min-height: 175px;
    overflow: hidden;
    border: 1px solid var(--mxr-border);
    border-radius: var(--mxr-radius);
    background: linear-gradient(145deg, #12120f, #0b0b09);
    transition: border-color 160ms ease, transform 160ms ease;
}

.mxr-archive-card:hover {
    border-color: #5a4a37;
    transform: translateY(-1px);
}

.mxr-archive-card-image {
    display: block;
    min-height: 170px;
    overflow: hidden;
    border-right: 1px solid var(--mxr-border-soft);
}

.mxr-archive-card-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    filter: saturate(0.82) contrast(1.1);
    transition: transform 220ms ease;
}

.mxr-archive-card:hover .mxr-archive-card-image img {
    transform: scale(1.035);
}

.mxr-archive-card-body {
    display: flex;
    flex-direction: column;
    padding: 18px;
}

.mxr-archive-card-body h2 {
    font-size: 22px;
}

.mxr-archive-card-body p:not(.mxr-news-meta) {
    margin: 8px 0 14px;
    color: var(--mxr-muted);
}

.mxr-article-sidebar {
    display: grid;
    gap: 10px;
}

.mxr-sidebar-search,
.mxr-sidebar-section,
.mxr-widget {
    padding: 13px;
}

.mxr-sidebar-search .mxr-panel-title,
.mxr-sidebar-section .mxr-panel-title,
.mxr-widget .mxr-panel-title,
.mxr-widget > h2,
.mxr-widget > h3,
.mxr-widget > h4 {
    margin-bottom: 12px;
}

.mxr-sidebar-search .mxr-search-form {
    display: grid;
}

.mxr-sidebar-search .mxr-search-submit {
    width: 100%;
}

.mxr-sidebar-list {
    padding: 0;
}

.mxr-sidebar-list li {
    padding: 7px 0;
    color: #aaa69d;
    border-bottom: 1px solid #27251f;
    font-size: 11px;
}

.mxr-sidebar-list li:last-child {
    border-bottom: 0;
}

.mxr-sidebar-list .count {
    float: right;
    color: var(--mxr-green);
}

.mxr-article {
    border: 1px solid var(--mxr-border);
    border-radius: var(--mxr-radius);
    background: linear-gradient(145deg, #12120f, #0a0a08);
    overflow: hidden;
}

.mxr-article-header {
    padding: 25px 27px;
    border-bottom: 1px solid var(--mxr-border-soft);
    background: linear-gradient(90deg, #15130f, #0d0d0b);
}

.mxr-article-header h1 {
    color: var(--mxr-orange-bright);
    font-size: clamp(37px, 5vw, 58px);
    line-height: 0.98;
}

.mxr-article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin-top: 14px;
    color: #7d7971;
    font-family: var(--mxr-font-display);
    font-size: 10px;
    text-transform: uppercase;
}

.mxr-article-hero {
    margin: 0;
    max-height: 520px;
    overflow: hidden;
    border-bottom: 1px solid var(--mxr-border-soft);
}

.mxr-article-hero img {
    width: 100%;
    max-height: 520px;
    display: block;
    object-fit: cover;
}

.mxr-entry-content {
    padding: 25px 27px 32px;
    color: #cbc7bd;
    font-size: 14px;
    line-height: 1.75;
}

.mxr-entry-content > :first-child {
    margin-top: 0;
}

.mxr-entry-content > :last-child {
    margin-bottom: 0;
}

.mxr-entry-content h2,
.mxr-entry-content h3,
.mxr-entry-content h4 {
    color: var(--mxr-orange-bright);
    font-family: var(--mxr-font-display);
    line-height: 1.15;
    text-transform: uppercase;
}

.mxr-entry-content h2 {
    margin: 1.55em 0 0.7em;
    padding: 10px 12px;
    border-left: 3px solid var(--mxr-orange);
    background: #0a0a08;
    font-size: 24px;
}

.mxr-entry-content h3 {
    margin-top: 1.4em;
    font-size: 19px;
}

.mxr-entry-content a {
    color: var(--mxr-orange-bright);
    text-decoration: underline;
    text-decoration-color: rgba(229,109,8,0.45);
    text-underline-offset: 3px;
}

.mxr-entry-content code,
.mxr-entry-content pre,
.mxr-entry-content kbd {
    font-family: var(--mxr-font-mono);
}

.mxr-entry-content code {
    padding: 2px 5px;
    color: #e2b65d;
    background: #090907;
}

.mxr-entry-content pre {
    padding: 15px;
    overflow: auto;
    color: #d1b66d;
    border: 1px solid #302d26;
    border-left: 3px solid var(--mxr-orange);
    background: #080806;
}

.mxr-entry-content blockquote {
    margin: 1.5em 0;
    padding: 10px 18px;
    color: #a9b772;
    border-left: 3px solid var(--mxr-green);
    background: rgba(91, 108, 38, 0.09);
}

.mxr-entry-content table {
    width: 100%;
    border-collapse: collapse;
}

.mxr-entry-content th,
.mxr-entry-content td {
    padding: 9px;
    border: 1px solid var(--mxr-border);
    text-align: left;
}

.mxr-entry-content th {
    color: var(--mxr-orange-bright);
    background: #0a0a08;
}

.mxr-entry-content .wp-block-image img,
.mxr-entry-content .gallery img {
    border: 1px solid #403b31;
}

.mxr-article-tags {
    padding: 12px 27px 20px;
    border-top: 1px solid var(--mxr-border-soft);
}

.mxr-article-tags a {
    display: inline-block;
    margin: 3px;
    padding: 4px 8px;
    color: #aaa69c;
    border: 1px solid var(--mxr-border);
    font-size: 10px;
}

.mxr-post-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 10px;
}

.mxr-post-navigation > div {
    min-height: 48px;
    display: flex;
    align-items: center;
    padding: 10px 13px;
    border: 1px solid var(--mxr-border);
    background: #0e0e0b;
    font-family: var(--mxr-font-display);
    font-size: 11px;
    text-transform: uppercase;
}

.mxr-post-navigation > div:last-child {
    justify-content: flex-end;
    text-align: right;
}

.navigation.pagination {
    grid-column: 1 / -1;
    margin: 7px 0 0;
}

.nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.page-numbers {
    min-width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    padding: 0 9px;
    color: #aaa69d;
    border: 1px solid var(--mxr-border);
    background: #0d0d0b;
    font-family: var(--mxr-font-display);
    font-size: 11px;
}

.page-numbers.current,
.page-numbers:hover {
    color: #fff;
    border-color: var(--mxr-orange);
    background: #6d2802;
}

.mxr-download-results {
    padding-bottom: 8px;
}

.mxr-download-row {
    display: grid;
    grid-template-columns: 115px minmax(0, 1fr) auto;
    align-items: center;
    gap: 13px;
    margin: 8px 10px;
    padding: 8px;
    border: 1px solid #2d2a23;
    background: #0b0b09;
}

.mxr-download-row img {
    width: 115px;
    height: 72px;
    object-fit: cover;
}

.mxr-download-row p {
    margin: 2px 0 0;
    color: #77736b;
    font-family: var(--mxr-font-mono);
    font-size: 9px;
}

.mxr-empty {
    padding: 25px;
    color: var(--mxr-muted);
}

.mxr-404 {
    min-height: 520px;
    display: grid;
    grid-template-columns: 1.4fr 0.7fr;
    align-items: center;
    gap: 20px;
    padding: 45px;
}

.mxr-404 h1 {
    color: var(--mxr-orange-bright);
    font-size: clamp(45px, 7vw, 75px);
}

.mxr-404 p:not(.mxr-eyebrow) {
    max-width: 520px;
    color: var(--mxr-muted);
    font-size: 15px;
}

.mxr-404 .mxr-search-form {
    margin: 22px 0 12px;
}

.mxr-comments {
    margin-top: 10px;
    padding: 20px;
}

.mxr-comment-list {
    margin: 18px 0;
    padding: 0;
    list-style: none;
}

.mxr-comment-list li {
    margin: 10px 0;
    padding: 12px;
    border: 1px solid #2d2a23;
    background: #0b0b09;
}

.mxr-comment-list .children {
    list-style: none;
}

.comment-form input:not([type="submit"]),
.comment-form textarea {
    width: 100%;
    padding: 10px;
    color: var(--mxr-text);
    border: 1px solid var(--mxr-border);
    background: #090907;
}

.form-submit .submit {
    padding: 10px 16px;
    color: #fff;
    border: 1px solid #f18424;
    background: #a84103;
    cursor: pointer;
}

.mxr-shortcode-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.mxr-shortcode-card {
    position: relative;
    aspect-ratio: 1.45 / 1;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    border: 1px solid var(--mxr-border);
    background: #090907;
}

.mxr-shortcode-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mxr-shortcode-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 35%, rgba(0,0,0,0.9));
}

.mxr-shortcode-card span {
    position: relative;
    z-index: 1;
    padding: 12px;
    color: var(--mxr-orange-bright);
    font-family: var(--mxr-font-display);
    font-weight: 800;
    text-transform: uppercase;
}

/* WordPress alignment helpers */
.alignleft {
    float: left;
    margin: 0 1.5em 1em 0;
}

.alignright {
    float: right;
    margin: 0 0 1em 1.5em;
}

.aligncenter {
    display: block;
    margin-right: auto;
    margin-left: auto;
}

.wp-caption,
.gallery-caption {
    color: var(--mxr-muted);
    font-size: 11px;
}

.bypostauthor {
    outline: 1px solid rgba(229,109,8,0.3);
}

/* Responsive */
@media (max-width: 920px) {
    .mxr-header-inner {
        grid-template-columns: 250px 1fr 38px;
        gap: 8px;
    }

    .mxr-brand img,
    .mxr-brand .custom-logo {
        width: 245px;
    }

    .mxr-menu a {
        padding-right: 8px;
        padding-left: 8px;
        font-size: 10px;
    }

    .mxr-home-grid-top {
        grid-template-columns: 1fr 1.35fr;
    }

    .mxr-project-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mxr-project-body {
        min-height: 150px;
    }

    .mxr-project-directory {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 780px) {
    .admin-bar .mxr-site-header {
        top: 46px;
    }

    .mxr-page-shell {
        width: min(calc(100% - 12px), var(--mxr-content));
        margin-top: 6px;
    }

    .mxr-header-inner {
        grid-template-columns: minmax(0, 1fr) 40px 40px;
        min-height: 66px;
    }

    .mxr-brand img,
    .mxr-brand .custom-logo {
        width: 235px;
        max-height: 54px;
    }

    .mxr-menu-toggle {
        display: grid;
    }

    .mxr-primary-nav {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        display: none;
        padding: 5px 12px 12px;
        border-top: 1px solid var(--mxr-border-soft);
        border-bottom: 1px solid var(--mxr-border);
        background: rgba(8,8,7,0.99);
    }

    .mxr-primary-nav.is-open {
        display: block;
    }

    .mxr-menu,
    .mxr-primary-nav ul {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 3px;
    }

    .mxr-menu a {
        padding: 12px;
        border: 1px solid #29261f;
        background: #0d0d0b;
    }

    .mxr-menu a::after {
        right: 10px;
        bottom: 5px;
        left: 10px;
    }

    .mxr-hero {
        min-height: 420px;
        background-position: 63% center;
    }

    .mxr-hero::before {
        background:
            repeating-linear-gradient(0deg, rgba(255,255,255,0.024) 0, rgba(255,255,255,0.024) 1px, transparent 1px, transparent 4px),
            linear-gradient(90deg, rgba(4,4,4,0.95), rgba(4,4,4,0.63) 75%, rgba(4,4,4,0.3));
    }

    .mxr-hero-content {
        width: 78%;
    }

    .mxr-home-grid-top,
    .mxr-home-grid-content,
    .mxr-content-layout,
    .mxr-community-panel,
    .mxr-footer-grid,
    .mxr-404 {
        grid-template-columns: 1fr;
    }

    .mxr-community-image {
        min-height: 190px;
        border-top: 1px solid var(--mxr-border-soft);
        border-left: 0;
    }

    .mxr-community-image::after {
        background: linear-gradient(180deg, #11110e 0, transparent 45%);
    }

    .mxr-footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mxr-content-layout .mxr-article-sidebar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mxr-404 {
        min-height: auto;
        padding: 30px;
    }

    .mxr-404 img {
        max-width: 320px;
        justify-self: center;
    }
}

@media (max-width: 580px) {
    .mxr-classic-topbar {
        height: 18px;
        min-height: 18px;
    }

    .mxr-main {
        padding: 6px;
    }

    .mxr-header-inner {
        padding: 0 8px;
    }

    .mxr-brand img,
    .mxr-brand .custom-logo {
        width: 195px;
    }

    .mxr-search-toggle,
    .mxr-menu-toggle {
        width: 36px;
        height: 36px;
    }

    .mxr-hero {
        min-height: 470px;
        background-position: 69% center;
    }

    .mxr-hero-content {
        width: 100%;
        align-self: flex-end;
        padding: 32px 20px 48px;
        background: linear-gradient(180deg, transparent, rgba(3,3,3,0.92) 38%);
    }

    .mxr-hero h1 {
        font-size: 53px;
    }

    .mxr-hero-actions {
        display: grid;
    }

    .mxr-button {
        width: 100%;
    }

    .mxr-hud {
        font-size: 14px;
    }

    .mxr-news-row {
        grid-template-columns: 92px minmax(0, 1fr) 14px;
        gap: 8px;
    }

    .mxr-news-image {
        height: 66px;
    }

    .mxr-news-body > p:last-child {
        display: none;
    }

    .mxr-feature-card {
        min-height: 390px;
        align-items: flex-end;
        background-position: 63% center;
    }

    .mxr-feature-card::after {
        background:
            repeating-linear-gradient(0deg, rgba(255,255,255,0.02) 0, rgba(255,255,255,0.02) 1px, transparent 1px, transparent 4px),
            linear-gradient(180deg, rgba(5,5,5,0.1), rgba(5,5,5,0.92) 66%);
    }

    .mxr-feature-content {
        width: 100%;
        padding: 23px;
    }

    .mxr-project-grid,
    .mxr-project-directory,
    .mxr-shortcode-grid,
    .mxr-content-layout .mxr-article-sidebar,
    .mxr-footer-grid {
        grid-template-columns: 1fr;
    }

    .mxr-project-card {
        display: grid;
        grid-template-columns: 42% 1fr;
    }

    .mxr-project-image {
        height: 100%;
        aspect-ratio: auto;
        border-right: 1px solid #373229;
        border-bottom: 0;
    }

    .mxr-project-body {
        min-height: 156px;
    }

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

    .mxr-stats > div {
        border-bottom: 1px solid #29261f;
    }

    .mxr-stats > div:nth-child(even) {
        border-right: 0;
    }

    .mxr-stats > div:last-child {
        grid-column: 1 / -1;
    }

    .mxr-footer-bottom {
        display: grid;
    }

    .mxr-page-banner {
        min-height: 210px;
        padding: 24px 20px;
    }

    .mxr-page-banner h1 {
        font-size: 45px;
    }

    .mxr-archive-card,
    .mxr-download-row {
        grid-template-columns: 1fr;
    }

    .mxr-archive-card-image {
        min-height: 190px;
        border-right: 0;
        border-bottom: 1px solid var(--mxr-border-soft);
    }

    .mxr-download-row img {
        width: 100%;
        height: 150px;
    }

    .mxr-article-header,
    .mxr-entry-content {
        padding-right: 18px;
        padding-left: 18px;
    }

    .mxr-article-header h1 {
        font-size: 39px;
    }

    .mxr-post-navigation {
        grid-template-columns: 1fr;
    }

    .mxr-post-navigation > div:last-child {
        justify-content: flex-start;
        text-align: left;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}

/* Keep the left homepage column compact beside the stacked information rail. */
.mxr-home-main-column {
    min-width: 0;
    display: grid;
    align-content: start;
    gap: 10px;
}

.mxr-home-main-column .mxr-community-panel {
    margin-bottom: 0;
}

@media (min-width: 781px) {
    .mxr-home-main-column {
        grid-template-rows: auto 1fr;
        align-self: stretch;
    }

    .mxr-home-main-column .mxr-community-panel {
        height: 100%;
    }
}

/* ========================================================================== */
/* MightyXen Rebirth V2 — classic masthead / modern homepage                  */
/* ========================================================================== */

:root {
    --mxr-bg: #070706;
    --mxr-bg-soft: #0d0c0a;
    --mxr-panel: #11100d;
    --mxr-panel-raised: #171510;
    --mxr-border: #4a4034;
    --mxr-border-soft: #2b2721;
    --mxr-orange: #d96808;
    --mxr-orange-bright: #ff8a19;
    --mxr-purple: #9c53d9;
    --mxr-green: #78952f;
    --mxr-green-bright: #a8c94d;
    --mxr-radius: 3px;
    --mxr-content: 1000px;
}

body {
    background:
        radial-gradient(circle at 50% -180px, rgba(74, 58, 42, 0.14), transparent 470px),
        #050504;
}

.mxr-page-shell {
    width: min(calc(100% - 24px), 1000px);
    margin: 14px auto 26px;
    border-color: #352f27;
    border-radius: 5px;
    background: rgba(7, 7, 6, 0.985);
    box-shadow: 0 22px 80px rgba(0,0,0,.52);
}

/* The original MightyXen identity now forms a dedicated masthead. */
.mxr-classic-topbar {
    position: relative;
    z-index: 5;
    width: 100%;
    height: 22px;
    min-height: 22px;
    border-bottom: 1px solid #211e19;
    background: #030303;
}

.mxr-site-header {
    position: relative;
    top: auto;
    z-index: 1000;
    border-bottom: 0;
    background: #050504;
    backdrop-filter: none;
}

.admin-bar .mxr-site-header {
    top: auto;
}

.mxr-classic-masthead {
    position: relative;
    height: 156px;
    overflow: hidden;
    border-bottom: 1px solid #514638;
    background:
        linear-gradient(90deg, rgba(0,0,0,.12), rgba(0,0,0,.02) 45%, rgba(0,0,0,.2)),
        url("../images/classic-nebula.png") center 46% / cover no-repeat,
        #0a0907;
}

.mxr-classic-masthead::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.15)),
        repeating-linear-gradient(0deg, rgba(255,255,255,.012) 0, rgba(255,255,255,.012) 1px, transparent 1px, transparent 4px);
}

.mxr-classic-masthead::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    height: 20px;
    background: #43382d;
}

.mxr-classic-brand,
.mxr-classic-characters {
    position: absolute;
    z-index: 3;
    bottom: 0;
    display: block;
}

.mxr-classic-brand {
    left: 20px;
    width: 300px;
    height: 133px;
}

.mxr-classic-brand img {
    width: 300px;
    height: 133px;
    display: block;
}

.mxr-classic-characters {
    right: 0;
    width: 342px;
    height: 156px;
    object-fit: contain;
    object-position: right bottom;
}

/* Navigation is intentionally separate from the art, matching the old site. */
.mxr-nav-bar {
    position: relative;
    min-height: 48px;
    display: grid;
    grid-template-columns: 1fr 42px;
    align-items: stretch;
    border-bottom: 1px solid #3b342b;
    background: linear-gradient(180deg, #0c0c0b, #070706);
}

.mxr-primary-nav {
    min-width: 0;
}

.mxr-menu,
.mxr-primary-nav ul {
    height: 100%;
    justify-content: flex-start;
    gap: 0;
}

.mxr-menu a {
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 18px;
    color: #c7c2b8;
    font-size: 11px;
    letter-spacing: .08em;
}

.mxr-menu a::after {
    right: 16px;
    bottom: 7px;
    left: 16px;
}

.mxr-search-toggle {
    width: 42px;
    height: 100%;
    min-height: 47px;
    border: 0;
    border-left: 1px solid #332e27;
    border-radius: 0;
    background: transparent;
}

.mxr-menu-toggle {
    display: none;
}

.mxr-search-drawer {
    border-top: 0;
    border-bottom: 1px solid #3b342b;
}

.mxr-main {
    padding: 9px;
}

/* Newest content item replaces the old welcome hero. */
.mxr-top-story {
    position: relative;
    min-height: 315px;
    display: flex;
    align-items: center;
    margin-bottom: 9px;
    overflow: hidden;
    border: 1px solid var(--mxr-border);
    border-radius: var(--mxr-radius);
    background-image: var(--mxr-top-story-image);
    background-position: center;
    background-size: cover;
    isolation: isolate;
}

.mxr-top-story::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        repeating-linear-gradient(0deg, rgba(255,255,255,.018) 0, rgba(255,255,255,.018) 1px, transparent 1px, transparent 4px),
        linear-gradient(90deg, rgba(5,5,4,.96) 0%, rgba(5,5,4,.88) 31%, rgba(5,5,4,.48) 54%, rgba(5,5,4,.06) 83%);
}

.mxr-top-story::after {
    content: "";
    position: absolute;
    inset: 7px;
    border: 1px solid rgba(229,109,8,.28);
    pointer-events: none;
}

.mxr-top-story-content {
    width: min(470px, 52%);
    padding: 31px 31px 34px;
}

.mxr-top-story-kicker {
    margin: 0 0 8px;
    color: var(--mxr-orange-bright);
    font-family: var(--mxr-font-display);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.mxr-top-story-meta {
    display: flex;
    gap: 7px;
    margin: 0 0 10px;
    color: #858078;
    font-family: var(--mxr-font-display);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.mxr-top-story h1 {
    max-width: 500px;
    margin: 0;
    color: #eeeae1;
    font-family: var(--mxr-font-display);
    font-size: clamp(34px, 5vw, 51px);
    font-weight: 900;
    letter-spacing: -.028em;
    line-height: .98;
    text-transform: uppercase;
    text-shadow: 0 2px 0 #000, 0 6px 22px rgba(0,0,0,.6);
}

.mxr-top-story-copy {
    max-width: 410px;
    margin: 15px 0 20px;
    color: #c2bdb4;
    font-size: 13px;
    line-height: 1.55;
}

.mxr-updates-feature-grid {
    grid-template-columns: minmax(0, 49%) minmax(0, 51%);
}

.mxr-featured-mod-panel .mxr-feature-card {
    min-height: 326px;
}

.mxr-featured-mod-panel .mxr-feature-content h2 {
    font-size: clamp(30px, 4vw, 44px);
}

.mxr-project-server-grid {
    grid-template-columns: minmax(0, 68%) minmax(255px, 32%);
    align-items: start;
}

.mxr-project-type {
    margin: -2px 0 2px !important;
    color: #a67847 !important;
    font-family: var(--mxr-font-display);
    font-size: 8px !important;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.mxr-server-browser-cta {
    padding: 8px 11px 11px;
    border-top: 1px solid #29261f;
    text-align: right;
}

.mxr-community-newsletter-grid {
    display: grid;
    grid-template-columns: minmax(0, 54%) minmax(0, 46%);
    gap: 9px;
    margin-bottom: 9px;
}

.mxr-community-panel-compact {
    display: block;
    margin-bottom: 0;
}

.mxr-community-panel-compact .mxr-community-copy {
    padding: 18px;
}

.mxr-community-panel-compact .mxr-community-copy > p {
    max-width: none;
    margin-bottom: 14px;
}

.mxr-stats-four {
    grid-template-columns: repeat(4, 1fr);
}

.mxr-stats-four > div:nth-child(4) {
    border-right: 0;
}

.mxr-newsletter-panel {
    display: flex;
    align-items: stretch;
}

.mxr-newsletter-copy {
    width: 100%;
    padding: 18px;
    background:
        radial-gradient(circle at 92% 82%, rgba(229,109,8,.08), transparent 160px),
        linear-gradient(145deg, rgba(18,18,15,.98), rgba(10,10,8,.98));
}

.mxr-newsletter-copy h2 {
    margin: 0;
    color: var(--mxr-orange-bright);
    font-family: var(--mxr-font-display);
    font-size: 17px;
    line-height: 1;
    text-transform: uppercase;
}

.mxr-newsletter-copy p {
    max-width: 430px;
    margin: 11px 0 18px;
    color: var(--mxr-muted);
    font-size: 11px;
}

.mxr-newsletter-form form {
    display: flex;
    gap: 7px;
}

.mxr-newsletter-form input[type="email"],
.mxr-newsletter-form input[type="text"] {
    min-width: 0;
    flex: 1;
    padding: 10px 11px;
    color: var(--mxr-text);
    border: 1px solid #423a30;
    background: #080806;
}

.mxr-newsletter-form input[type="submit"],
.mxr-newsletter-form button {
    padding: 10px 16px;
    color: #fff;
    border: 1px solid #f18424;
    background: linear-gradient(180deg, #d96007, #8e3100);
    font-family: var(--mxr-font-display);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
    cursor: pointer;
}

.mxr-quick-panel-wide {
    margin-bottom: 9px;
}

.mxr-quick-cards {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
    padding: 10px;
}

.mxr-quick-cards li,
.mxr-quick-cards li:last-child {
    border: 1px solid #38332b;
    background: #10100e;
}

.mxr-quick-cards a {
    min-height: 62px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 2px;
    padding: 10px 12px;
    background: linear-gradient(145deg, #151410, #0c0c0a);
}

.mxr-quick-cards a:hover {
    color: #fff;
    border-color: var(--mxr-orange);
    background: linear-gradient(145deg, #1a1712, #110d09);
}

.mxr-quick-cards strong {
    color: #e0dcd2;
    font-size: 11px;
    line-height: 1.1;
}

.mxr-quick-cards span {
    color: #77736b;
    font-family: var(--mxr-font-body);
    font-size: 9px;
    font-weight: 400;
    letter-spacing: 0;
    line-height: 1.25;
    text-transform: none;
}

@media (max-width: 920px) {
    .mxr-classic-brand {
        left: 10px;
    }

    .mxr-updates-feature-grid {
        grid-template-columns: minmax(0, 46%) minmax(0, 54%);
    }

    .mxr-project-server-grid {
        grid-template-columns: minmax(0, 64%) minmax(250px, 36%);
    }

    .mxr-quick-cards {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 780px) {
    .mxr-page-shell {
        width: min(calc(100% - 10px), 1000px);
        margin-top: 5px;
    }

    .mxr-classic-masthead {
        height: 132px;
    }

    .mxr-classic-brand {
        width: 255px;
        height: auto;
        left: 8px;
    }

    .mxr-classic-brand img {
        width: 255px;
        height: auto;
    }

    .mxr-classic-characters {
        width: 292px;
        height: auto;
        right: -18px;
    }

    .mxr-nav-bar {
        grid-template-columns: 42px 1fr 42px;
    }

    .mxr-menu-toggle {
        display: grid;
        grid-column: 1;
        width: 42px;
        height: 47px;
        border: 0;
        border-right: 1px solid #332e27;
        border-radius: 0;
    }

    .mxr-primary-nav {
        position: static;
        grid-column: 2;
        display: none;
        padding: 0;
        border: 0;
        background: transparent;
    }

    .mxr-primary-nav.is-open {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        z-index: 50;
        display: block;
        padding: 7px;
        border-top: 1px solid #332e27;
        border-bottom: 1px solid #4a4034;
        background: rgba(7,7,6,.99);
    }

    .mxr-menu,
    .mxr-primary-nav ul {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        height: auto;
        gap: 4px;
    }

    .mxr-menu a {
        min-height: 42px;
        padding: 10px 12px;
        border: 1px solid #2d2922;
        background: #0e0e0c;
    }

    .mxr-search-toggle {
        grid-column: 3;
    }

    .mxr-top-story {
        min-height: 350px;
        background-position: 60% center;
    }

    .mxr-top-story::before {
        background:
            repeating-linear-gradient(0deg, rgba(255,255,255,.018) 0, rgba(255,255,255,.018) 1px, transparent 1px, transparent 4px),
            linear-gradient(90deg, rgba(5,5,4,.96), rgba(5,5,4,.73) 67%, rgba(5,5,4,.3));
    }

    .mxr-top-story-content {
        width: 68%;
    }

    .mxr-updates-feature-grid,
    .mxr-project-server-grid,
    .mxr-community-newsletter-grid {
        grid-template-columns: 1fr;
    }

    .mxr-quick-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 580px) {
    .mxr-main {
        padding: 5px;
    }

    .mxr-classic-masthead {
        height: 112px;
        background-position: 48% 48%;
    }

    .mxr-classic-masthead::after {
        height: 15px;
    }

    .mxr-classic-brand {
        left: 2px;
        width: 216px;
    }

    .mxr-classic-brand img {
        width: 216px;
    }

    .mxr-classic-characters {
        width: 235px;
        right: -38px;
    }

    .mxr-top-story {
        min-height: 430px;
        align-items: flex-end;
        background-position: 68% center;
    }

    .mxr-top-story::before {
        background:
            repeating-linear-gradient(0deg, rgba(255,255,255,.018) 0, rgba(255,255,255,.018) 1px, transparent 1px, transparent 4px),
            linear-gradient(180deg, rgba(5,5,4,.08) 10%, rgba(5,5,4,.42) 43%, rgba(5,5,4,.96) 76%);
    }

    .mxr-top-story-content {
        width: 100%;
        padding: 28px 20px 28px;
    }

    .mxr-top-story h1 {
        font-size: 37px;
    }

    .mxr-top-story-copy {
        font-size: 12px;
    }

    .mxr-featured-mod-panel .mxr-feature-card {
        min-height: 360px;
    }

    .mxr-stats-four {
        grid-template-columns: repeat(2, 1fr);
    }

    .mxr-stats-four > div:nth-child(2),
    .mxr-stats-four > div:nth-child(4) {
        border-right: 0;
    }

    .mxr-quick-cards {
        grid-template-columns: 1fr;
    }
}

/* Legacy structured Map Review / Mod / Server Update content. */
.mxr-article-kicker {
    margin: 0 0 8px;
    color: var(--mxr-orange-bright);
    font-family: var(--mxr-font-display);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.mxr-classic-section {
    margin: 26px 0 0;
    padding-top: 5px;
    border-top: 1px solid #302b24;
}

.mxr-classic-section h2,
.mxr-classic-facts h2 {
    display: inline-block;
    margin: -1px 0 14px;
    padding: 8px 12px 8px 10px;
    color: var(--mxr-orange-bright);
    border-left: 3px solid var(--mxr-orange);
    background: #11100e;
    font-family: var(--mxr-font-display);
    font-size: 17px;
    line-height: 1;
    text-transform: uppercase;
}

.mxr-classic-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
}

.mxr-classic-gallery img {
    width: 100%;
    height: 100%;
    max-height: 340px;
    object-fit: cover;
    border: 1px solid #3c372e;
    background: #060605;
}

.mxr-review-score {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 8px 18px;
    margin: 27px 0 0;
    padding: 17px 19px;
    border: 1px solid #66502f;
    background: linear-gradient(145deg, #19150e, #0e0d0a);
}

.mxr-review-score > span {
    color: #b7b1a6;
    font-family: var(--mxr-font-display);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.mxr-review-score strong {
    color: var(--mxr-orange-bright);
    font-family: var(--mxr-font-display);
    font-size: 38px;
    line-height: 1;
}

.mxr-review-score strong small {
    color: #8f887e;
    font-size: 16px;
}

.mxr-review-score p {
    grid-column: 1 / -1;
    margin: 0;
    color: var(--mxr-green-bright);
    font-family: var(--mxr-font-display);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.mxr-classic-facts {
    margin-top: 27px;
    padding: 14px;
    border: 1px solid #353027;
    background: #0e0e0c;
}

.mxr-classic-facts dl,
.mxr-classic-facts dd {
    margin: 0;
}

.mxr-classic-facts dl > div {
    display: grid;
    grid-template-columns: 145px 1fr;
    gap: 14px;
    padding: 8px 0;
    border-bottom: 1px solid #29261f;
}

.mxr-classic-facts dl > div:last-child {
    border-bottom: 0;
}

.mxr-classic-facts dt {
    color: #9e988e;
    font-family: var(--mxr-font-display);
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
}

.mxr-classic-facts dd {
    color: #d0cbc1;
}

.mxr-video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.mxr-video-wrapper iframe,
.mxr-video-wrapper video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

@media (max-width: 580px) {
    .mxr-classic-gallery {
        grid-template-columns: 1fr;
    }
    .mxr-classic-facts dl > div {
        grid-template-columns: 1fr;
        gap: 3px;
    }
}
