/* =========================================================
   ZERITH-RSPS COMMUNITY
   Premium Dark / Crimson MyBB Theme
   ========================================================= */


/* =========================================================
   1. RESET / GLOBAL
   ========================================================= */

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    min-height: 100%;
}

body {
    background:
        radial-gradient(circle at 50% 0%, rgba(110, 12, 18, 0.14), transparent 500px),
        #090a0c !important;

    color: #a9adb5;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    line-height: 1.5;
}

a {
    color: #d7d9dd;
    text-decoration: none;
    transition: color .18s ease, background .18s ease, border-color .18s ease;
}

a:hover {
    color: #e13b45;
}

img {
    max-width: 100%;
}

#container {
    width: 100%;
    min-width: 0;
    background: transparent;
}

#content {
    background: transparent;
    padding: 0;
}

#content > .wrapper {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

.wrapper {
    width: 100%;
}


/* =========================================================
   2. MAIN HEADER
   ========================================================= */

.zr-header {
    position: relative;
    z-index: 20;
    width: 100%;
    min-height: 92px;

    background:
        linear-gradient(
            90deg,
            rgba(5, 6, 8, .98),
            rgba(18, 8, 10, .97) 50%,
            rgba(5, 6, 8, .98)
        );

    border-top: 2px solid #651018;
    border-bottom: 1px solid #2c1014;

    box-shadow:
        0 6px 25px rgba(0,0,0,.55),
        inset 0 -1px 0 rgba(255,255,255,.025);
}

.zr-header::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;

    background:
        radial-gradient(circle at 50% 0%, rgba(176, 25, 36, .14), transparent 46%);
}

.zr-header-inner {
    position: relative;
    width: min(1420px, calc(100% - 50px));
    min-height: 92px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: 1fr 280px 1fr;
    align-items: center;
}


/* =========================================================
   3. HEADER NAVIGATION
   ========================================================= */

.zr-main-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.zr-main-nav-left {
    justify-content: flex-start;
}

.zr-main-nav-right {
    justify-content: flex-end;
}

.zr-nav-link {
    position: relative;

    display: flex;
    align-items: center;
    gap: 7px;

    min-height: 90px;
    padding: 0 13px;

    color: #8e929a;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .6px;

    border-bottom: 2px solid transparent;
}

.zr-nav-link:hover,
.zr-nav-active {
    color: #fff;
    background: rgba(255,255,255,.018);
    border-bottom-color: #a71924;
}

.zr-nav-icon {
    color: #a71924;
    font-size: 14px;
}

.zr-discord-link .zr-nav-icon {
    color: #8994ff;
}

.zr-play-link {
    min-height: 40px;
    margin-left: 8px;
    padding: 0 17px;

    color: #fff;

    background: linear-gradient(#a91c27, #711019);
    border: 1px solid #c12a35;
    border-radius: 2px;

    box-shadow: inset 0 1px rgba(255,255,255,.08);
}

.zr-play-link:hover {
    background: linear-gradient(#c12431, #87141f);
    border-color: #e03b46;
}


/* =========================================================
   4. CENTER LOGO
   ========================================================= */

.zr-header-logo {
    position: relative;
    z-index: 30;

    display: flex;
    align-items: center;
    justify-content: center;

    height: 92px;
}

.zr-header-logo img {
    display: block;
    width: auto;
    max-width: 270px;
    max-height: 110px;

    filter: drop-shadow(0 8px 12px rgba(0,0,0,.8));
}


/* =========================================================
   5. MEMBER BAR
   ========================================================= */

.zr-memberbar {
    position: relative;
    z-index: 15;

    background: #0d0e11;
    border-bottom: 1px solid #1d1f23;
}

.zr-memberbar-inner {
    width: min(1360px, calc(100% - 50px));
    min-height: 45px;
    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.zr-member-search {
    flex: 0 1 330px;
}

.zr-member-account {
    margin-left: auto;
    color: #858991;
    font-size: 12px;
}

.zr-member-account a {
    color: #d1d3d7;
    font-weight: 600;
}


/* =========================================================
   6. SEARCH INPUTS / FORMS
   ========================================================= */

.zr-member-search input[type="text"],
.zr-toolbar input[type="text"],
input.textbox,
textarea,
select {
    color: #c5c7cb;
    background: #090a0c;
    border: 1px solid #272a30;
    border-radius: 2px;
    outline: none;
}

.zr-member-search input[type="text"] {
    width: 100%;
    min-height: 30px;
    padding: 6px 10px;
}

input.textbox:focus,
textarea:focus,
select:focus,
.zr-member-search input[type="text"]:focus {
    border-color: #6f151c;
}


/* =========================================================
   7. BREADCRUMB TOOLBAR
   ========================================================= */

.zr-toolbar {
    background: #101114;
    border-bottom: 1px solid #24262b;
}

.zr-toolbar-inner {
    width: min(1360px, calc(100% - 50px));
    min-height: 47px;
    margin: 0 auto;

    display: flex;
    align-items: center;
}

.zr-breadcrumb {
    display: flex;
    align-items: center;
    gap: 9px;

    color: #737780;
    font-size: 11px;
}

.zr-home-symbol {
    color: #a71b25;
}


/* =========================================================
   8. MAIN COMMUNITY AREA
   ========================================================= */

.zr-community-page {
    position: relative;
    padding: 30px 0 45px;

    background:
        radial-gradient(circle at 50% 0%, rgba(105, 13, 20, .07), transparent 500px);
}

.zr-community-shell {
    width: min(1360px, calc(100% - 50px));
    margin: 0 auto;
}

.zr-community-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: 22px;
    align-items: start;
}

.zr-forum-main {
    min-width: 0;
}


/* =========================================================
   9. CATEGORY
   ========================================================= */

.zr-category {
    margin: 0 0 20px;

    background: #101114;
    border: 1px solid #24262b;
    border-top-color: #661018;

    box-shadow: 0 8px 22px rgba(0,0,0,.22);
}

.zr-category-head {
    position: relative;

    min-height: 58px;

    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px 30px;
    align-items: center;

    padding: 0 15px 0 18px;

    background:
        linear-gradient(
            90deg,
            #4b0c12 0%,
            #25090d 46%,
            #151014 100%
        );

    border-bottom: 1px solid #601018;
}

.zr-category-head::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;

    width: 130px;
    height: 1px;

    background: #d12a35;
}

.zr-category-heading {
    display: flex;
    align-items: center;
    min-width: 0;
}

.zr-category-crown {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 32px;
    height: 32px;
    margin-right: 11px;

    color: #e1a943;
    font-size: 17px;

    background: rgba(0,0,0,.22);
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 2px;
}

.zr-category-title-wrap {
    min-width: 0;
}

.zr-category-title {
    display: block;

    color: #fff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .8px;
    text-transform: uppercase;
}

.zr-category-title:hover {
    color: #ef4b55;
}

.zr-category-description {
    display: block;
    margin-top: 2px;

    color: #8a6c70;
    font-size: 10px;
}

.zr-category-columns {
    display: grid;
    grid-template-columns: 70px 70px 190px;

    color: #805f63;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .5px;
    text-align: center;
}

.zr-category-collapse {
    display: flex;
    justify-content: flex-end;
}

.zr-category-collapse img {
    opacity: .45;
    cursor: pointer;
}

.zr-category-collapse img:hover {
    opacity: 1;
}


/* =========================================================
   10. FORUM ROWS
   ========================================================= */

.zr-category-content {
    background: #101114;
}

.zr-forum-row {
    min-height: 82px;

    display: grid;
    grid-template-columns: 72px minmax(0, 1fr) 70px 70px 190px;
    align-items: center;

    background: #111216;
    border-bottom: 1px solid #202227;

    transition: background .18s ease, border-color .18s ease;
}

.zr-forum-row:last-child {
    border-bottom: 0;
}

.zr-forum-row:hover {
    background: #15161a;
}

.zr-forum-icon-cell {
    display: flex;
    align-items: center;
    justify-content: center;
}

.zr-forum-icon {
    display: block;

    width: 38px;
    height: 38px;

    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;

    opacity: .88;

    filter: drop-shadow(0 3px 4px rgba(0,0,0,.6));
}

.zr-forum-row:hover .zr-forum-icon {
    opacity: 1;
}

.zr-forum-information {
    min-width: 0;
    padding: 13px 12px 13px 0;
}

.zr-forum-title-line {
    display: flex;
    align-items: center;
    gap: 7px;
}

.zr-forum-name {
    color: #d9dadd;
    font-size: 13px;
    font-weight: 700;
}

.zr-forum-name:hover {
    color: #e23c47;
}

.zr-forum-description {
    max-width: 620px;
    margin-top: 4px;

    color: #6f737b;
    font-size: 11px;
    line-height: 1.45;
}

.zr-forum-subforums {
    margin-top: 4px;
    color: #646870;
    font-size: 10px;
}

.zr-forum-number {
    color: #858991;
    font-size: 11px;
    text-align: center;
}

.zr-forum-number strong {
    color: #b4b7bd;
    font-weight: 600;
}

.zr-forum-lastpost {
    padding: 10px 13px;

    color: #70747c;
    font-size: 10px;
    line-height: 1.5;

    border-left: 1px solid #1d1f23;
}

.zr-forum-lastpost a {
    color: #b8bac0;
    font-weight: 600;
}

.zr-forum-lastpost a:hover {
    color: #df3843;
}


/* =========================================================
   11. FORUM ICONS
   Existing files: /images/forum-icons/
   ========================================================= */

/*
   Your existing icons are NOT being replaced.

   Once we confirm the exact filenames, these FID classes
   will point to your existing files:

   .zr-fid-2  = News & Announcements
   .zr-fid-4  = Knowledge Base
   .zr-fid-5  = Staff Information
   .zr-fid-6  = Ranks
   .zr-fid-7  = Update Logs
   etc.

   Do NOT invent or rename your icon files.
*/


/* =========================================================
   12. SIDEBAR
   ========================================================= */

.zr-sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.zr-side-card {
    overflow: hidden;

    background: #111216;
    border: 1px solid #25272c;
    border-top-color: #681018;

    box-shadow: 0 7px 18px rgba(0,0,0,.2);
}

.zr-side-title {
    min-height: 43px;

    display: flex;
    align-items: center;
    gap: 9px;

    padding: 0 13px;

    color: #e0e1e4;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .7px;

    background: linear-gradient(90deg, #3b0b10, #1b0e11);
    border-bottom: 1px solid #541017;
}

.zr-side-icon {
    color: #b51d28;
}

.zr-side-content {
    padding: 20px 17px;

    color: #767a82;
    font-size: 11px;
    text-align: center;
}

.zr-side-content strong {
    display: block;
    margin-bottom: 6px;

    color: #d6d8dc;
    font-size: 12px;
}

.zr-side-content p {
    margin: 0 0 16px;
}

.zr-discord-logo {
    width: 46px;
    height: 46px;
    margin: 0 auto 12px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #fff;
    font-size: 22px;

    background: #5865f2;
    border-radius: 50%;
}

.zr-discord-button,
.zr-sidebar-play {
    display: block;

    padding: 10px 13px;

    color: #fff !important;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .5px;
    text-align: center;

    border-radius: 2px;
}

.zr-discord-button {
    background: #5865f2;
    border: 1px solid #6d77f5;
}

.zr-discord-button:hover {
    background: #6874ff;
}

.zr-server-status {
    padding: 16px;
}

.zr-server-online {
    display: flex;
    align-items: center;
    gap: 11px;

    margin-bottom: 13px;
    padding: 12px;

    background: #0c0d10;
    border: 1px solid #24262b;
}

.zr-online-light {
    width: 9px;
    height: 9px;

    background: #4dcc72;
    border-radius: 50%;

    box-shadow: 0 0 8px rgba(77,204,114,.55);
}

.zr-server-online strong {
    display: block;
    color: #d5d7da;
    font-size: 11px;
}

.zr-server-online small {
    display: block;
    margin-top: 1px;
    color: #676b72;
}

.zr-sidebar-play {
    background: linear-gradient(#a51b26, #711018);
    border: 1px solid #bc2530;
}

.zr-sidebar-play:hover {
    background: linear-gradient(#bf2330, #86131e);
}

.zr-recent-links {
    padding: 8px 0;
}

.zr-recent-links a {
    display: block;

    padding: 10px 14px;

    color: #8d9198;
    font-size: 11px;

    border-bottom: 1px solid #1f2125;
}

.zr-recent-links a:last-child {
    border-bottom: 0;
}

.zr-recent-links a:hover {
    padding-left: 18px;
    color: #e3e4e6;
    background: #15161a;
}


/* =========================================================
   13. COMMUNITY / BOARD STATS
   ========================================================= */

.zr-community-bottom {
    margin-top: 7px;
}

.zr-boardstats {
    background: #101114;
    border: 1px solid #24262b;
    border-top-color: #671018;

    box-shadow: 0 8px 22px rgba(0,0,0,.22);
}

.zr-boardstats-header {
    min-height: 47px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 15px;

    background: linear-gradient(90deg, #410b10, #190e11);
    border-bottom: 1px solid #541017;
}

.zr-boardstats-heading {
    display: flex;
    align-items: center;
    gap: 9px;

    color: #e0e1e4;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .7px;
}

.zr-boardstats-icon {
    color: #d39b3e;
}

.zr-boardstats-collapse img {
    opacity: .45;
    cursor: pointer;
}

.zr-boardstats-content {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.zr-stat-card {
    min-height: 170px;

    background: #111216;
    border-right: 1px solid #222429;
}

.zr-stat-card:last-child {
    border-right: 0;
}

.zr-stat-card-header {
    min-height: 42px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 15px;

    background: #0e0f12;
    border-bottom: 1px solid #222429;
}

.zr-stat-card-title {
    display: flex;
    align-items: center;
    gap: 8px;

    color: #c9cbd0;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .6px;
}

.zr-stat-card-icon {
    color: #b51e28;
}

.zr-stat-card-link {
    color: #666a72;
    font-size: 9px;
    font-weight: 700;
}

.zr-stat-card-link:hover {
    color: #df3b46;
}

.zr-stat-card-body {
    padding: 16px;

    color: #777b83;
    font-size: 11px;
}

.zr-online-summary {
    margin-bottom: 12px;
}

.zr-online-members {
    line-height: 1.8;
}

.zr-online-members a {
    color: #c4c6ca;
}

.zr-stat-line {
    padding: 6px 0;
    border-bottom: 1px solid #1c1e22;
}

.zr-stat-line:last-child {
    border-bottom: 0;
}

.zr-boardstats-footer {
    min-height: 39px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 14px;

    color: #565a61;
    font-size: 9px;

    background: #0c0d0f;
    border-top: 1px solid #202227;
}

.zr-boardstats-footer-right a {
    margin-left: 10px;
}


/* =========================================================
   14. FORUM LEGEND
   ========================================================= */

.zr-forum-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 17px;

    margin-top: 15px;
    padding: 12px 14px;

    background: #0e0f12;
    border: 1px solid #202227;
}

.zr-legend-item {
    display: flex;
    align-items: center;
    gap: 7px;

    color: #656970;
    font-size: 10px;
}

.zr-legend-item .forum_status {
    transform: scale(.65);
}


/* =========================================================
   15. FOOTER
   ========================================================= */

.zr-footer {
    margin-top: 20px;

    background: #08090b;
    border-top: 1px solid #551017;
}

.zr-footer-top {
    padding: 34px 0 30px;

    background:
        radial-gradient(circle at 50% 100%, rgba(104,12,18,.08), transparent 400px),
        #0b0c0e;
}

.zr-footer-inner {
    width: min(1360px, calc(100% - 50px));
    margin: 0 auto;

    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 55px;
}

.zr-footer-logo {
    width: auto;
    max-width: 210px;
    max-height: 80px;
    object-fit: contain;
}

.zr-footer-description {
    max-width: 420px;
    margin: 12px 0 0;

    color: #5f636a;
    font-size: 11px;
    line-height: 1.7;
}

.zr-footer-title {
    margin-bottom: 12px;

    color: #d0d2d6;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .7px;
}

.zr-footer-links {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.zr-footer-links a {
    color: #6f737a;
    font-size: 11px;
}

.zr-footer-links a:hover {
    color: #d93a44;
}

.zr-footer-bottom {
    background: #07080a;
    border-top: 1px solid #17191c;
}

.zr-footer-bottom-inner {
    width: min(1360px, calc(100% - 50px));
    min-height: 55px;
    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    color: #4f5359;
    font-size: 9px;
}

.zr-footer-copyright {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.zr-mybb-credit a {
    color: #777b82;
}

.zr-footer-meta {
    display: flex;
    align-items: center;
    gap: 15px;
}

.zr-footer-selectors {
    display: flex;
    gap: 5px;
}


/* =========================================================
   16. DEFAULT MYBB ELEMENT CLEANUP
   ========================================================= */

.tborder {
    background: #101114;
    border: 1px solid #24262b;
}

.thead {
    color: #fff;
    background: #4b0c12;
    border-bottom: 1px solid #661018;
}

.tcat {
    color: #a7a9ae;
    background: #15161a;
}

.trow1,
.trow2 {
    color: #969aa1;
    background: #111216;
    border-color: #202227;
}

.trow1:hover,
.trow2:hover {
    background: #15161a;
}

.tfoot {
    background: #0d0e11;
    border-top: 1px solid #24262b;
}

button,
input.button {
    color: #fff;

    background: linear-gradient(#9d1923, #681018);
    border: 1px solid #b7222d;
    border-radius: 2px;

    cursor: pointer;
}

button:hover,
input.button:hover {
    background: linear-gradient(#b8212c, #7b111b);
}


/* =========================================================
   17. MOBILE / TABLET
   ========================================================= */

@media (max-width: 1150px) {

    .zr-header-inner {
        grid-template-columns: 1fr 210px 1fr;
    }

    .zr-nav-link {
        padding-left: 8px;
        padding-right: 8px;
        font-size: 10px;
    }

    .zr-community-layout {
        grid-template-columns: minmax(0, 1fr) 275px;
    }

    .zr-category-head {
        grid-template-columns: minmax(0, 1fr) 270px 25px;
    }

    .zr-category-columns {
        grid-template-columns: 55px 55px 160px;
    }

    .zr-forum-row {
        grid-template-columns: 62px minmax(0, 1fr) 55px 55px 160px;
    }

}


@media (max-width: 900px) {

    .zr-header-inner {
        width: calc(100% - 24px);
        grid-template-columns: 1fr;
        padding: 12px 0;
    }

    .zr-header-logo {
        grid-row: 1;
        height: auto;
        margin-bottom: 10px;
    }

    .zr-header-logo img {
        max-width: 220px;
        max-height: 85px;
    }

    .zr-main-nav-left,
    .zr-main-nav-right {
        justify-content: center;
        flex-wrap: wrap;
    }

    .zr-nav-link {
        min-height: 36px;
    }

    .zr-memberbar-inner,
    .zr-toolbar-inner,
    .zr-community-shell,
    .zr-footer-inner,
    .zr-footer-bottom-inner {
        width: calc(100% - 24px);
    }

    .zr-memberbar-inner {
        padding: 8px 0;
        flex-wrap: wrap;
    }

    .zr-member-search {
        flex: 1 1 100%;
    }

    .zr-community-layout {
        grid-template-columns: 1fr;
    }

    .zr-sidebar {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }

    .zr-category-columns {
        display: none;
    }

    .zr-category-head {
        grid-template-columns: minmax(0, 1fr) 25px;
    }

    .zr-forum-row {
        grid-template-columns: 60px minmax(0, 1fr) 65px 65px;
    }

    .zr-forum-lastpost {
        display: none;
    }

    .zr-boardstats-content {
        grid-template-columns: 1fr;
    }

    .zr-stat-card {
        border-right: 0;
        border-bottom: 1px solid #222429;
    }

    .zr-footer-inner {
        grid-template-columns: 1fr 1fr;
    }

    .zr-footer-left {
        grid-column: 1 / -1;
    }

}


@media (max-width: 620px) {

    .zr-community-page {
        padding-top: 15px;
    }

    .zr-main-nav {
        gap: 2px;
    }

    .zr-nav-link {
        padding: 0 7px;
        font-size: 9px;
    }

    .zr-nav-icon {
        display: none;
    }

    .zr-sidebar {
        grid-template-columns: 1fr;
    }

    .zr-category-head {
        min-height: 52px;
    }

    .zr-category-description {
        display: none;
    }

    .zr-forum-row {
        min-height: 72px;
        grid-template-columns: 52px minmax(0, 1fr);
    }

    .zr-forum-icon {
        width: 31px;
        height: 31px;
    }

    .zr-forum-number,
    .zr-forum-lastpost {
        display: none;
    }

    .zr-forum-information {
        padding-right: 10px;
    }

    .zr-boardstats-footer {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .zr-footer-inner {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .zr-footer-left {
        grid-column: auto;
    }

    .zr-footer-bottom-inner {
        align-items: flex-start;
        flex-direction: column;
        padding: 15px 0;
    }

    .zr-footer-meta {
        align-items: flex-start;
        flex-direction: column;
    }

}

/* =========================================================
   ZERITH TOP AREA FIXES - V2
   ========================================================= */

/* ---------- HEADER ---------- */

.zr-header {
    min-height: 88px !important;
}

.zr-header-inner {
    width: min(1280px, calc(100% - 40px)) !important;
    min-height: 88px !important;
    grid-template-columns: 1fr 300px 1fr !important;
}


/* ---------- CENTER LOGO ---------- */

.zr-header-logo {
    height: 88px !important;
    overflow: visible !important;
}

.zr-header-logo img {
    position: relative;
    z-index: 50;

    width: auto !important;
    max-width: 270px !important;
    max-height: 115px !important;

    object-fit: contain;

    filter:
        drop-shadow(0 5px 6px rgba(0,0,0,.85))
        drop-shadow(0 0 10px rgba(135,15,22,.25));
}


/* ---------- NAVIGATION ---------- */

.zr-main-nav {
    height: 88px;
}

.zr-nav-link {
    min-height: 88px !important;
    padding: 0 14px !important;

    color: #d5d5d7 !important;

    font-size: 11px !important;
    font-weight: 800 !important;
    letter-spacing: .4px !important;
}

.zr-nav-link:hover,
.zr-nav-active {
    color: #ffffff !important;

    background:
        linear-gradient(
            180deg,
            rgba(118,15,22,.18),
            rgba(118,15,22,.04)
        ) !important;

    border-bottom-color: #b91f2a !important;
}

.zr-nav-active {
    border-left: 1px solid #561017;
    border-right: 1px solid #561017;
}

.zr-play-link {
    min-height: 44px !important;
    height: 44px !important;

    margin-left: 14px;

    padding: 0 20px !important;

    background: linear-gradient(
        180deg,
        #b91f2a,
        #7d111a
    ) !important;

    border: 1px solid #d32d39 !important;
}


/* =========================================================
   MEMBER BAR
   ========================================================= */

.zr-memberbar {
    height: 45px !important;
    min-height: 45px !important;

    background: #0c0d10 !important;

    border-bottom: 1px solid #202227 !important;
}

.zr-memberbar-inner {
    width: min(1280px, calc(100% - 40px)) !important;

    height: 45px !important;
    min-height: 45px !important;

    padding: 0 !important;

    display: flex !important;
    align-items: center !important;
}


/* ---------- SEARCH ---------- */

.zr-member-search {
    flex: 0 0 310px !important;

    height: 32px;

    display: flex;
    align-items: center;

    overflow: hidden;
}

.zr-member-search form {
    width: 100% !important;
    height: 32px !important;

    display: flex !important;
    align-items: center !important;

    margin: 0 !important;
    padding: 0 !important;
}

.zr-member-search input[type="text"] {
    width: 230px !important;
    height: 32px !important;
    min-height: 32px !important;

    margin: 0 !important;
    padding: 0 10px !important;

    color: #aaaeb5 !important;

    background: #08090b !important;

    border: 1px solid #25272c !important;
    border-right: 0 !important;

    border-radius: 2px 0 0 2px !important;
}

.zr-member-search input[type="submit"],
.zr-member-search input.button,
.zr-member-search button {
    height: 32px !important;

    margin: 0 !important;
    padding: 0 13px !important;

    color: #fff !important;

    background: #86141d !important;

    border: 1px solid #a91c27 !important;

    border-radius: 0 2px 2px 0 !important;

    font-size: 10px !important;
    font-weight: 700 !important;

    cursor: pointer;
}


/* ---------- ACCOUNT AREA ---------- */

.zr-member-account {
    margin-left: auto !important;

    display: flex;
    align-items: center;

    color: #747880 !important;

    font-size: 11px !important;
}

.zr-member-account a {
    color: #d7d9dd !important;
}

.zr-member-account a:hover {
    color: #e23c47 !important;
}


/* =========================================================
   BREADCRUMB
   ========================================================= */

.zr-toolbar {
    height: 45px !important;
    min-height: 45px !important;

    background: #101114 !important;

    border-bottom: 1px solid #202227 !important;
}

.zr-toolbar-inner {
    width: min(1280px, calc(100% - 40px)) !important;

    height: 45px !important;
    min-height: 45px !important;

    margin: 0 auto !important;
}

.zr-breadcrumb {
    height: 45px;

    display: flex !important;
    align-items: center !important;

    color: #686c73 !important;

    font-size: 10px !important;
}


/* MyBB breadcrumb cleanup */

.zr-breadcrumb .navigation {
    margin: 0 !important;
    padding: 0 !important;
}

.zr-breadcrumb .navigation,
.zr-breadcrumb .navigation a {
    color: #6f737a !important;
    font-size: 10px !important;
}

.zr-breadcrumb .navigation a:hover {
    color: #d8323e !important;
}


/* =========================================================
   REMOVE THE LARGE EMPTY SPACE
   ========================================================= */

.zr-community-page {
    margin: 0 !important;
    padding: 28px 0 40px !important;
}

.zr-community-shell {
    width: min(1280px, calc(100% - 40px)) !important;
    margin: 0 auto !important;
}


/* Remove accidental spacing from default MyBB elements */

#content {
    margin: 0 !important;
    padding: 0 !important;
}

#content > .wrapper {
    margin: 0 !important;
    padding: 0 !important;
}

#content br.clear:first-child {
    display: none !important;
}


/* =========================================================
   FORUM WIDTH / SIDEBAR ALIGNMENT
   ========================================================= */

.zr-community-layout {
    display: grid !important;

    grid-template-columns:
        minmax(0, 1fr)
        305px !important;

    gap: 20px !important;

    align-items: start !important;
}

.zr-category {
    margin-bottom: 18px !important;
}


/* =========================================================
   FIX DEFAULT BLUE FORUM LINKS
   ========================================================= */

.zr-category-title {
    color: #f0f0f1 !important;
}

.zr-forum-name {
    color: #d7d9dd !important;

    font-size: 12px !important;
    font-weight: 700 !important;
}

.zr-forum-name:hover {
    color: #e33b46 !important;
}


/* =========================================================
   CLEANER FORUM ROWS
   ========================================================= */

.zr-forum-row {
    min-height: 76px !important;
}

.zr-forum-description {
    color: #777b82 !important;
    font-size: 10px !important;
}

.zr-forum-number {
    color: #a0a3aa !important;
}

.zr-forum-lastpost {
    color: #777b82 !important;
}


/* =========================================================
   SIDEBAR ALIGNMENT
   ========================================================= */

.zr-sidebar {
    gap: 14px !important;
}

.zr-side-card {
    margin: 0 !important;
}

.zr-side-title {
    min-height: 42px !important;
}


/* =========================================================
   SMALL SCREEN
   ========================================================= */

@media (max-width: 1050px) {

    .zr-header-inner {
        grid-template-columns: 1fr 230px 1fr !important;
    }

    .zr-nav-link {
        padding: 0 8px !important;
        font-size: 9px !important;
    }

    .zr-community-layout {
        grid-template-columns: 1fr !important;
    }

    .zr-sidebar {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr);
    }

}


@media (max-width: 750px) {

    .zr-header-inner {
        display: flex !important;
        flex-direction: column !important;

        padding: 10px 0 !important;
    }

    .zr-header-logo {
        order: -1;
    }

    .zr-main-nav {
        height: auto !important;
        justify-content: center !important;
        flex-wrap: wrap !important;
    }

    .zr-nav-link {
        min-height: 36px !important;
    }

    .zr-memberbar {
        height: auto !important;
    }

    .zr-memberbar-inner {
        height: auto !important;

        padding: 8px 0 !important;

        flex-direction: column !important;
        align-items: stretch !important;
    }

    .zr-member-search {
        flex: none !important;
        width: 100% !important;
    }

    .zr-member-search input[type="text"] {
        flex: 1 !important;
        width: auto !important;
    }

    .zr-member-account {
        margin-left: 0 !important;
        padding-top: 5px;
    }

    .zr-sidebar {
        grid-template-columns: 1fr !important;
    }

}

/* =========================================================
   LOGGED-IN MEMBER MENU
   ========================================================= */

.zr-member-account {
    margin-left: auto !important;
    height: 45px;

    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
}

.zr-user-menu {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0;

    height: 45px;

    white-space: nowrap;
}

.zr-user-welcome {
    margin-right: 13px;

    color: #747982;
    font-size: 10px;
}

.zr-user-welcome a,
.zr-user-welcome strong {
    color: #e0e1e4 !important;
    font-weight: 700;
}

.zr-user-divider {
    width: 1px;
    height: 16px;

    margin-right: 5px;

    background: #292b30;
}

.zr-user-link,
.zr-user-menu > a {
    display: inline-flex;
    align-items: center;

    height: 45px;

    padding: 0 9px;

    color: #858a92 !important;

    font-size: 9px !important;
    font-weight: 700 !important;
    letter-spacing: .35px;
    text-transform: uppercase;
}

.zr-user-link:hover,
.zr-user-menu > a:hover {
    color: #ffffff !important;
    background: rgba(146, 20, 29, .10);
}

.zr-user-messages {
    color: #aeb1b6 !important;
}

.zr-user-logout {
    margin-left: 4px;

    color: #d84a53 !important;
}

.zr-user-logout:hover {
    color: #ff626c !important;
}


/* Remove any old MyBB member-panel leftovers */

.zr-member-account .upper,
.zr-member-account .lower,
.zr-member-account .wrapper,
.zr-member-account ul.menu,
.zr-member-account ul.panel_links,
.zr-member-account ul.user_links {
    margin: 0 !important;
    padding: 0 !important;
    width: auto !important;
    height: auto !important;
    background: none !important;
    border: 0 !important;
}


/* Mobile */

@media (max-width: 900px) {

    .zr-user-menu {
        width: 100%;
        height: auto;
        flex-wrap: wrap;
        justify-content: center;
    }

    .zr-user-welcome {
        width: 100%;
        margin: 5px 0;
        text-align: center;
    }

    .zr-user-divider {
        display: none;
    }

    .zr-user-link,
    .zr-user-menu > a {
        height: 32px;
    }

}

/* =========================================================
   ZERITH FORUM ICONS
   Existing files: /images/forum-icons/
   ========================================================= */

.zr-forum-icon {
    width: 40px !important;
    height: 40px !important;

    display: block !important;

    background-position: center !important;
    background-repeat: no-repeat !important;
    background-size: contain !important;

    opacity: .95;

    transition:
        opacity .2s ease,
        transform .2s ease,
        filter .2s ease;

    filter: drop-shadow(0 3px 5px rgba(0,0,0,.65));
}

.zr-forum-row:hover .zr-forum-icon {
    opacity: 1;
    transform: scale(1.06);

    filter:
        drop-shadow(0 3px 5px rgba(0,0,0,.7))
        drop-shadow(0 0 6px rgba(175,25,35,.18));
}


/* =========================
   ZERITH - OFFICIAL
   ========================= */

/* News & Announcements - FID 2 */
.zr-fid-2 .zr-forum-icon {
    background-image: url(/images/forum-icons/announcements-fid2.png) !important;
}

/* Knowledge Base - FID 4 */
.zr-fid-4 .zr-forum-icon {
    background-image: url(/images/forum-icons/knowledge-fid4.png) !important;
}

/* Staff Information - FID 5 */
.zr-fid-5 .zr-forum-icon {
    background-image: url(/images/forum-icons/staff-fid5.png) !important;
}

/* Ranks - FID 6 */
.zr-fid-6 .zr-forum-icon {
    background-image: url(/images/forum-icons/ranks-fid6.png) !important;
}

/* Update Logs - FID 7 */
.zr-fid-7 .zr-forum-icon {
    background-image: url(/images/forum-icons/updates-fid7.png) !important;
}


/* =========================
   COMMUNITY
   ========================= */

/* General Discussion - FID 9 */
.zr-fid-9 .zr-forum-icon {
    background-image: url(/images/forum-icons/discussion-fid9.png) !important;
}

/* Introductions - FID 10 */
.zr-fid-10 .zr-forum-icon {
    background-image: url(/images/forum-icons/introductions-fid10.png) !important;
}

/* Community Media - FID 11 */
.zr-fid-11 .zr-forum-icon {
    background-image: url(/images/forum-icons/community-media-fid11.png) !important;
}

/* Goals & Achievements - FID 12 */
.zr-fid-12 .zr-forum-icon {
    background-image: url(/images/forum-icons/achievements-fid12.png) !important;
}

/* Guides - FID 13 */
.zr-fid-13 .zr-forum-icon {
    background-image: url(/images/forum-icons/guides-fid13.png) !important;
}

/* Suggestions - FID 17 */
.zr-fid-17 .zr-forum-icon {
    background-image: url(/images/forum-icons/suggestions-fid17.png) !important;
}


/* =========================
   GRAPHICS / EVENTS
   ========================= */

/* Graphics - FID 20 */
.zr-fid-20 .zr-forum-icon {
    background-image: url(/images/forum-icons/graphics-fid20.png) !important;
}

/* Player Events - FID 22 */
.zr-fid-22 .zr-forum-icon {
    background-image: url(/images/forum-icons/player-events-fid22.png) !important;
}

/* Staff Events - FID 23 */
.zr-fid-23 .zr-forum-icon {
    background-image: url(/images/forum-icons/staff-events-fid23.png) !important;
}

/* Staff Feedback - FID 26 */
.zr-fid-26 .zr-forum-icon {
    background-image: url(/images/forum-icons/staff-feedback-fid26.png) !important;
}


/* =========================
   MARKETPLACE
   ========================= */

/* Buying - FID 28 */
.zr-fid-28 .zr-forum-icon {
    background-image: url(/images/forum-icons/buying-fid28.png) !important;
}

/* Selling - FID 29 */
.zr-fid-29 .zr-forum-icon {
    background-image: url(/images/forum-icons/selling-fid29.png) !important;
}

/* Auction - FID 30 */
.zr-fid-30 .zr-forum-icon {
    background-image: url(/images/forum-icons/auction-fid30.png) !important;
}


/* =========================
   CLANS
   ========================= */

/* General Clan Discussion - FID 32 */
.zr-fid-32 .zr-forum-icon {
    background-image: url(/images/forum-icons/clan-discussion-new.png) !important;
}

/* Clan Recruitment - FID 33 */
.zr-fid-33 .zr-forum-icon {
    background-image: url(/images/forum-icons/clan-recruitment-new.png) !important;
}


/* =========================
   OFF-TOPIC / MEDIA
   ========================= */

/* IT Discussion - FID 35 */
.zr-fid-35 .zr-forum-icon {
    background-image: url(/images/forum-icons/it-discussion-new.png) !important;
}

/* Media - FID 36 */
.zr-fid-36 .zr-forum-icon {
    background-image: url(/images/forum-icons/media-new.png) !important;
}

/* Spam - FID 37 */
.zr-fid-37 .zr-forum-icon {
    background-image: url(/images/forum-icons/spam-new.png) !important;
}

/* =========================================================
   COMMUNITY INFORMATION - 3 CARDS
   ========================================================= */

.zr-boardstats-content {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    align-items: stretch;
}

.zr-stat-card {
    min-width: 0;
    min-height: 250px !important;
}

.zr-rank-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px 10px;
}

.zr-rank-row {
    min-width: 0;
    min-height: 31px;

    display: flex;
    align-items: center;
    gap: 8px;

    padding: 4px 5px;

    background: #0e0f12;
    border: 1px solid #1d1f23;
}

.zr-rank-row img {
    width: auto !important;
    height: 20px !important;
    max-width: 38px !important;

    object-fit: contain;

    filter: drop-shadow(0 2px 3px rgba(0,0,0,.7));
}

.zr-rank-row span {
    overflow: hidden;

    font-size: 10px;
    font-weight: 700;

    text-overflow: ellipsis;
    white-space: nowrap;
}


/* YOUR EXISTING RANK COLORS */

.rank-owner {
    color: #ff3030;
}

.rank-developer {
    color: #e22be2;
}

.rank-headadmin {
    color: #9a6cff;
}

.rank-admin {
    color: #b9ff63;
}

.rank-headmod {
    color: #20d63b;
}

.rank-moderator {
    color: #d45d70;
}

.rank-support {
    color: #398cff;
}

.rank-servermanager {
    color: #ff8a1f;
}

.rank-donator {
    color: #ff3838;
}

.rank-superdonator {
    color: #ff71c1;
}

.rank-legend {
    color: #39ff14;
}


/* Subtle rank glow */

.rank-owner,
.rank-developer,
.rank-headadmin,
.rank-admin,
.rank-headmod,
.rank-moderator,
.rank-support,
.rank-servermanager,
.rank-donator,
.rank-superdonator,
.rank-legend {
    text-shadow: 0 0 7px currentColor;
}


/* Tablet */

@media (max-width: 900px) {

    .zr-boardstats-content {
        grid-template-columns: 1fr !important;
    }

}


/* Phone */

@media (max-width: 500px) {

    .zr-rank-list {
        grid-template-columns: 1fr;
    }

}

/* =========================================================
   COMMUNITY INFORMATION V3
   Full-width panels / inline ranks
   ========================================================= */

.zr-community-info-content,
.zr-boardstats-content {
    display: block !important;
    padding: 14px !important;
    background: #0b0c0f;
}


/* =========================================================
   SHARED PANEL
   ========================================================= */

.zr-info-panel,
.zr-community-info-content > .zr-stat-card {
    width: 100% !important;
    min-height: 0 !important;

    margin: 0 0 14px !important;

    background: #101115 !important;
    border: 1px solid #282a30 !important;
    border-top: 1px solid #85121c !important;
}

.zr-info-panel-header,
.zr-community-info-content > .zr-stat-card > .zr-stat-card-header {
    min-height: 48px;

    display: flex;
    align-items: center;

    padding: 0 17px;

    background:
        linear-gradient(
            90deg,
            #4b0a10 0%,
            #29090d 45%,
            #160e11 100%
        ) !important;

    border-bottom: 1px solid #a41621 !important;
}

.zr-info-panel-title {
    display: flex;
    align-items: center;
    gap: 11px;

    color: #fff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .5px;
}

.zr-info-header-icon {
    color: #e0202b;
    font-size: 16px;
}

.zr-info-view-link {
    margin-left: auto;

    color: #e2e3e5 !important;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .4px;
}

.zr-info-view-link:hover {
    color: #ff3c47 !important;
}


/* =========================================================
   WHO'S ONLINE
   ========================================================= */

.zr-online-note {
    margin-left: auto;
    margin-right: 25px;

    color: #90949b;
    font-size: 10px;
    font-weight: 600;
}

.zr-whosonline-body {
    padding: 17px 19px 19px;
}

.zr-online-members {
    color: #aeb1b6;
    font-size: 11px;
    line-height: 2;
}

.zr-online-members a {
    font-weight: 700;
}


/* =========================================================
   STAFF & RANKS
   NO INDIVIDUAL BOXES
   ========================================================= */

.zr-ranks-inline {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    column-gap: 31px;
    row-gap: 18px;

    padding: 20px 22px 22px;

    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(113, 13, 20, .06),
            transparent 65%
        );
}

.zr-rank-inline {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    min-width: 0;

    /* IMPORTANT:
       no background, no border, no rank box */
    background: transparent !important;
    border: 0 !important;
}

.zr-rank-inline img {
    width: auto !important;
    height: 27px !important;
    max-width: 40px !important;

    object-fit: contain;

    filter:
        drop-shadow(0 2px 3px rgba(0,0,0,.85));
}

.zr-rank-inline span {
    font-size: 11px;
    font-weight: 800;
    white-space: nowrap;
}


/* =========================================================
   EXACT RANK COLORS + GLOW
   ========================================================= */

.zr-rank-owner {
    color: #ff202b;
    text-shadow:
        0 0 5px rgba(255,32,43,.75),
        0 0 11px rgba(255,32,43,.35);
}

.zr-rank-developer {
    color: #e22be2;
    text-shadow:
        0 0 5px rgba(226,43,226,.75),
        0 0 11px rgba(226,43,226,.35);
}

.zr-rank-servermanager {
    color: #ff8a00;
    text-shadow:
        0 0 5px rgba(255,138,0,.75),
        0 0 11px rgba(255,138,0,.35);
}

.zr-rank-headadmin {
    color: #9a6cff;
    text-shadow:
        0 0 5px rgba(154,108,255,.75),
        0 0 11px rgba(154,108,255,.35);
}

.zr-rank-admin {
    color: #aaff3d;
    text-shadow:
        0 0 5px rgba(170,255,61,.75),
        0 0 11px rgba(170,255,61,.35);
}

.zr-rank-headmod {
    color: #20dc59;
    text-shadow:
        0 0 5px rgba(32,220,89,.75),
        0 0 11px rgba(32,220,89,.35);
}

.zr-rank-moderator {
    color: #d45d70;
    text-shadow:
        0 0 5px rgba(212,93,112,.75),
        0 0 11px rgba(212,93,112,.35);
}

.zr-rank-forummod {
    color: #28a9ff;
    text-shadow:
        0 0 5px rgba(40,169,255,.75),
        0 0 11px rgba(40,169,255,.35);
}

.zr-rank-support {
    color: #2585ff;
    text-shadow:
        0 0 5px rgba(37,133,255,.8),
        0 0 11px rgba(37,133,255,.4);
}

.zr-rank-youtuber {
    color: #ff202b;
    text-shadow:
        0 0 5px rgba(255,32,43,.75),
        0 0 11px rgba(255,32,43,.35);
}

.zr-rank-donator {
    color: #ff3038;
    text-shadow:
        0 0 5px rgba(255,48,56,.75),
        0 0 11px rgba(255,48,56,.35);
}

.zr-rank-superdonator {
    color: #ff4fc3;
    text-shadow:
        0 0 5px rgba(255,79,195,.8),
        0 0 11px rgba(255,79,195,.4);
}

.zr-rank-legend {
    color: #29ed50;
    text-shadow:
        0 0 5px rgba(41,237,80,.8),
        0 0 11px rgba(41,237,80,.4);
}

.zr-rank-veteran {
    color: #e9b31d;
    text-shadow:
        0 0 5px rgba(233,179,29,.8),
        0 0 11px rgba(233,179,29,.4);
}


/* =========================================================
   BOARD STATISTICS - FULL WIDTH
   ========================================================= */

.zr-community-info-content > .zr-forumstats-card {
    display: block !important;
}

.zr-community-info-content > .zr-forumstats-card .zr-stat-card-body {
    min-height: 95px;

    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: center;

    padding: 15px !important;
}

.zr-community-info-content > .zr-forumstats-card .zr-stat-line {
    min-height: 55px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 10px 18px !important;

    color: #a9adb4;

    text-align: center;

    border-right: 1px solid #292b30 !important;
    border-bottom: 0 !important;
}

.zr-community-info-content > .zr-forumstats-card .zr-stat-line:last-child {
    border-right: 0 !important;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 900px) {

    .zr-online-note {
        display: none;
    }

    .zr-ranks-inline {
        column-gap: 22px;
    }

    .zr-community-info-content > .zr-forumstats-card .zr-stat-card-body {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (max-width: 550px) {

    .zr-ranks-inline {
        align-items: flex-start;
        flex-direction: column;
    }

    .zr-community-info-content > .zr-forumstats-card .zr-stat-card-body {
        grid-template-columns: 1fr;
    }

    .zr-community-info-content > .zr-forumstats-card .zr-stat-line {
        border-right: 0 !important;
        border-bottom: 1px solid #292b30 !important;
    }

}

/* =========================================================
   ZERITH USERNAME RANK CROWNS
   ========================================================= */

.zr-username {
    display: inline-flex !important;
    align-items: center;
    gap: 7px;

    font-weight: 800;
    vertical-align: middle;
}


/* OWNER */

.zr-username-owner {
    color: #ff202b !important;

    text-shadow:
        0 0 5px rgba(255, 32, 43, .80),
        0 0 11px rgba(255, 32, 43, .35);
}

.zr-username-owner::before {
    content: "";

    display: inline-block;

    width: 25px;
    height: 25px;

    flex: 0 0 25px;

    background-image: url(/images/groupimages/zerith/owner.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;

    filter:
        drop-shadow(0 2px 3px rgba(0,0,0,.9))
        drop-shadow(0 0 5px rgba(255,32,43,.25));
}

/* DEVELOPER */

.zr-username-developer {
    color: #e22be2 !important;
    text-shadow: 0 0 5px rgba(226,43,226,.8),
                 0 0 11px rgba(226,43,226,.35);
}

.zr-username-developer::before {
    background-image: url(/images/groupimages/zerith/developer.png);
}


/* SERVER MANAGER */

.zr-username-servermanager {
    color: #ff8a00 !important;
    text-shadow: 0 0 5px rgba(255,138,0,.8),
                 0 0 11px rgba(255,138,0,.35);
}

.zr-username-servermanager::before {
    background-image: url(/images/groupimages/zerith/server%20manager.png);
}


/* HEAD ADMINISTRATOR */

.zr-username-headadmin {
    color: #9a6cff !important;
    text-shadow: 0 0 5px rgba(154,108,255,.8),
                 0 0 11px rgba(154,108,255,.35);
}

.zr-username-headadmin::before {
    background-image: url(/images/groupimages/zerith/Head%20admin.png);
}


/* ADMINISTRATOR */

.zr-username-admin {
    color: #aaff3d !important;
    text-shadow: 0 0 5px rgba(170,255,61,.8),
                 0 0 11px rgba(170,255,61,.35);
}

.zr-username-admin::before {
    background-image: url(/images/groupimages/zerith/admin.png);
}


/* HEAD MODERATOR */

.zr-username-headmod {
    color: #20dc59 !important;
    text-shadow: 0 0 5px rgba(32,220,89,.8),
                 0 0 11px rgba(32,220,89,.35);
}

.zr-username-headmod::before {
    background-image: url(/images/groupimages/zerith/head%20mod.png);
}


/* MODERATOR */

.zr-username-moderator {
    color: #d45d70 !important;
    text-shadow: 0 0 5px rgba(212,93,112,.8),
                 0 0 11px rgba(212,93,112,.35);
}

.zr-username-moderator::before {
    background-image: url(/images/groupimages/zerith/moderator.png);
}


/* FORUM MODERATOR */

.zr-username-forummod {
    color: #28a9ff !important;
    text-shadow: 0 0 5px rgba(40,169,255,.8),
                 0 0 11px rgba(40,169,255,.35);
}

.zr-username-forummod::before {
    background-image: url(/images/groupimages/zerith/forum%20moderator.png);
}


/* SERVER SUPPORT */

.zr-username-support {
    color: #2585ff !important;
    text-shadow: 0 0 5px rgba(37,133,255,.8),
                 0 0 11px rgba(37,133,255,.35);
}

.zr-username-support::before {
    background-image: url(/images/groupimages/zerith/server%20support.png);
}


/* YOUTUBER */

.zr-username-youtuber {
    color: #ff202b !important;
    text-shadow: 0 0 5px rgba(255,32,43,.8),
                 0 0 11px rgba(255,32,43,.35);
}

.zr-username-youtuber::before {
    background-image: url(/images/groupimages/zerith/youtuber.png);
}


/* REGULAR DONATOR */

.zr-username-donator {
    color: #ff3038 !important;
    text-shadow: 0 0 5px rgba(255,48,56,.8),
                 0 0 11px rgba(255,48,56,.35);
}

.zr-username-donator::before {
    background-image: url(/images/groupimages/zerith/Regular%20Donator.png);
}


/* SUPER DONATOR */

.zr-username-superdonator {
    color: #ff4fc3 !important;
    text-shadow: 0 0 5px rgba(255,79,195,.8),
                 0 0 11px rgba(255,79,195,.35);
}

.zr-username-superdonator::before {
    background-image: url(/images/groupimages/zerith/Super%20Donator.png);
}


/* LEGEND DONATOR */

.zr-username-legend {
    color: #29ed50 !important;
    text-shadow: 0 0 5px rgba(41,237,80,.8),
                 0 0 11px rgba(41,237,80,.35);
}

.zr-username-legend::before {
    background-image: url(/images/groupimages/zerith/Legend%20donator.png);
}


/* VETERAN */

.zr-username-veteran {
    color: #e9b31d !important;
    text-shadow: 0 0 5px rgba(233,179,29,.8),
                 0 0 11px rgba(233,179,29,.35);
}

.zr-username-veteran::before {
    background-image: url(/images/groupimages/zerith/veteran.png);
}


/* COMMON CROWN FOR ALL GROUPS */

.zr-username-developer::before,
.zr-username-servermanager::before,
.zr-username-headadmin::before,
.zr-username-admin::before,
.zr-username-headmod::before,
.zr-username-moderator::before,
.zr-username-forummod::before,
.zr-username-support::before,
.zr-username-youtuber::before,
.zr-username-donator::before,
.zr-username-superdonator::before,
.zr-username-legend::before,
.zr-username-veteran::before {
    content: "";

    display: inline-block;

    width: 25px;
    height: 25px;

    flex: 0 0 25px;

    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;

    filter: drop-shadow(0 2px 3px rgba(0,0,0,.9));
}

/* =========================================
   MEMBER BAR FINAL SPACING
   ========================================= */

.zr-user-menu > a {
    margin-left: 3px !important;
}

.zr-user-menu > a + a {
    border-left: 1px solid #24262b;
}

.zr-user-menu a {
    padding-left: 10px !important;
    padding-right: 10px !important;
}

.zr-user-menu .logout,
.zr-user-logout {
    margin-left: 5px !important;
}

/* ZERITH LOGO FINAL POSITION */

.zr-header-logo {
    position: relative !important;
    z-index: 50 !important;
}

.zr-header-logo img {
    position: relative !important;
    top: -7px !important;

    max-width: 270px !important;
    max-height: 115px !important;

    filter:
        drop-shadow(0 5px 7px rgba(0,0,0,.9))
        drop-shadow(0 0 8px rgba(170,20,28,.22));
}

/* =========================================================
   ZERITH HEADER - FINAL POLISH
   ========================================================= */

/* MAIN HEADER */

.zr-header {
    position: relative;
    z-index: 20;

    height: 88px !important;

    background:
        radial-gradient(
            ellipse at 50% 0%,
            rgba(120, 8, 16, .20) 0%,
            rgba(45, 5, 9, .12) 35%,
            transparent 68%
        ),
        linear-gradient(
            90deg,
            #050607 0%,
            #100609 50%,
            #050607 100%
        ) !important;

    border-top: 1px solid #8d1720 !important;
    border-bottom: 1px solid #521018 !important;
}

.zr-header-inner {
    position: relative;

    width: calc(100% - 40px);
    max-width: 1360px;
    height: 88px;

    margin: 0 auto;

    display: flex;
    align-items: center;
}


/* =========================================================
   CENTER LOGO
   Slightly UP as requested
   ========================================================= */

.zr-header-logo {
    position: absolute !important;

    left: 50% !important;
    top: 50% !important;

    z-index: 50 !important;

    transform: translate(-50%, -58%) !important;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 290px;
    height: 105px;

    pointer-events: auto;
}

.zr-header-logo img {
    position: static !important;

    width: auto !important;
    height: auto !important;

    max-width: 275px !important;
    max-height: 105px !important;

    object-fit: contain;

    filter:
        drop-shadow(0 6px 7px rgba(0,0,0,.95))
        drop-shadow(0 0 9px rgba(178,18,28,.24));
}


/* =========================================================
   LEFT + RIGHT NAVIGATION
   ========================================================= */

.zr-main-nav {
    height: 88px;

    display: flex;
    align-items: stretch;
}

.zr-main-nav-left {
    margin-right: auto;
}

.zr-main-nav-right {
    margin-left: auto;
}

.zr-nav-link {
    position: relative;

    min-width: 74px;
    height: 88px;

    padding: 0 15px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    color: #e2e3e5 !important;

    font-size: 10px !important;
    font-weight: 800 !important;
    letter-spacing: .35px;

    text-transform: uppercase;

    border-left: 1px solid transparent;
    border-right: 1px solid transparent;

    transition:
        color .18s ease,
        background .18s ease,
        border-color .18s ease;
}

.zr-nav-link:hover {
    color: #fff !important;

    background:
        linear-gradient(
            180deg,
            rgba(121,13,21,.20),
            rgba(121,13,21,.04)
        );
}

.zr-nav-active {
    color: #fff !important;

    background:
        linear-gradient(
            180deg,
            rgba(122,13,21,.27),
            rgba(56,5,10,.15)
        ) !important;

    border-left-color: #7f121b !important;
    border-right-color: #7f121b !important;
}

.zr-nav-active::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    height: 2px;

    background: #d51d2a;

    box-shadow:
        0 0 7px rgba(213,29,42,.65);
}

.zr-nav-icon {
    color: #bf1c28;
}


/* DISCORD */

.zr-discord-link .zr-nav-icon {
    color: #6572ff;
}


/* PLAY NOW */

.zr-play-button {
    height: 44px !important;

    margin: auto 0 auto 15px !important;
    padding: 0 24px !important;

    background:
        linear-gradient(
            180deg,
            #bd1d2a,
            #8e111b
        ) !important;

    border: 1px solid #e02b38 !important;
    border-radius: 2px;

    box-shadow:
        inset 0 1px rgba(255,255,255,.06),
        0 3px 8px rgba(0,0,0,.35);
}

.zr-play-button:hover {
    background:
        linear-gradient(
            180deg,
            #d72533,
            #a71420
        ) !important;
}


/* =========================================================
   TOOLBAR
   Search + account controls
   ========================================================= */

.zr-toolbar {
    position: relative;
    z-index: 10;

    min-height: 45px !important;

    background:
        linear-gradient(
            180deg,
            #0b0d10,
            #090a0d
        ) !important;

    border-bottom: 1px solid #24262b !important;
}

.zr-toolbar-inner {
    width: calc(100% - 40px);
    max-width: 1360px;

    min-height: 45px;

    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}


/* =========================================================
   SEARCH
   ========================================================= */

.zr-toolbar-search {
    width: 430px;
    max-width: 38%;

    margin: 0 !important;
}

.zr-toolbar-search form {
    width: 100%;

    display: flex !important;
    align-items: center !important;

    margin: 0 !important;
}

.zr-toolbar-search input[type="text"],
.zr-toolbar-search input.textbox {
    box-sizing: border-box;

    width: 100% !important;
    height: 32px !important;

    margin: 0 !important;
    padding: 0 13px !important;

    color: #c9ccd1 !important;
    background: #090b0e !important;

    border: 1px solid #272a30 !important;
    border-right: 0 !important;
    border-radius: 2px 0 0 2px !important;

    outline: none !important;

    font-size: 10px !important;
}

.zr-toolbar-search input[type="text"]:focus,
.zr-toolbar-search input.textbox:focus {
    border-color: #65121a !important;

    box-shadow:
        inset 0 0 7px rgba(140,17,26,.10);
}

.zr-toolbar-search input[type="submit"],
.zr-toolbar-search button {
    height: 32px !important;

    margin: 0 !important;
    padding: 0 16px !important;

    color: #fff !important;
    background: #9e1621 !important;

    border: 1px solid #c7202c !important;
    border-radius: 0 2px 2px 0 !important;

    font-size: 9px !important;
    font-weight: 800 !important;

    cursor: pointer;
}

.zr-toolbar-search input[type="submit"]:hover,
.zr-toolbar-search button:hover {
    background: #bd1d29 !important;
}


/* =========================================================
   LOGGED-IN ACCOUNT AREA
   ========================================================= */

.zr-member-account {
    margin-left: auto !important;

    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;

    min-width: 0;
}

.zr-user-menu {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;

    height: 45px !important;

    white-space: nowrap;
}

.zr-user-welcome {
    display: inline-flex;
    align-items: center;

    margin-right: 15px !important;

    color: #777d87 !important;

    font-size: 9px !important;
}

.zr-user-welcome strong,
.zr-user-welcome a {
    color: #fff !important;
}


/* ACCOUNT LINKS */

.zr-user-menu > a {
    position: relative;

    height: 45px !important;

    display: inline-flex !important;
    align-items: center !important;

    margin: 0 !important;
    padding: 0 11px !important;

    color: #8d929b !important;
    background: transparent !important;

    border: 0 !important;
    border-left: 1px solid #24272c !important;

    font-size: 9px !important;
    font-weight: 800 !important;
    letter-spacing: .25px;

    text-transform: uppercase;
}

.zr-user-menu > a:hover {
    color: #fff !important;
    background: rgba(118,13,21,.10) !important;
}

.zr-user-menu .zr-user-logout {
    color: #c94a54 !important;
}

.zr-user-menu .zr-user-logout:hover {
    color: #ff5965 !important;
}


/* =========================================================
   BREADCRUMB
   ========================================================= */

.zr-breadcrumb {
    min-height: 44px;

    display: flex;
    align-items: center;

    color: #70757d;

    font-size: 10px;
}

.zr-breadcrumb a {
    color: #8b9098 !important;
}

.zr-breadcrumb a:hover {
    color: #fff !important;
}

.zr-home-symbol {
    margin-right: 8px;

    color: #c21b27;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1100px) {

    .zr-header-logo {
        width: 220px;
    }

    .zr-header-logo img {
        max-width: 220px !important;
    }

    .zr-nav-link {
        min-width: 0;
        padding: 0 10px;
    }

    .zr-nav-icon {
        display: none;
    }

}

@media (max-width: 850px) {

    .zr-header {
        height: auto !important;
    }

    .zr-header-inner {
        width: 94%;
        height: auto;

        flex-wrap: wrap;

        padding-top: 75px;
    }

    .zr-header-logo {
        top: 4px !important;

        transform: translateX(-50%) !important;

        height: 70px;
    }

    .zr-header-logo img {
        max-height: 70px !important;
    }

    .zr-main-nav {
        width: 100%;
        height: 48px;

        justify-content: center;
    }

    .zr-nav-link {
        height: 48px;
    }

    .zr-main-nav-right {
        margin-left: 0;
    }

    .zr-toolbar-inner {
        width: 94%;

        flex-direction: column;
        align-items: stretch;

        gap: 5px;

        padding: 8px 0;
    }

    .zr-toolbar-search {
        width: 100%;
        max-width: none;
    }

    .zr-member-account {
        justify-content: center !important;
    }

    .zr-user-menu {
        width: 100%;

        height: auto !important;

        flex-wrap: wrap;
        justify-content: center !important;
    }

}

/* =========================================
   PLAY NOW - FINAL
   ========================================= */

.zr-play-button {
    position: relative !important;

    height: 44px !important;
    min-width: 120px !important;

    margin: auto 0 auto 22px !important;
    padding: 0 24px !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px;

    color: #fff !important;

    background: linear-gradient(
        180deg,
        #bd1c29 0%,
        #98131e 100%
    ) !important;

    border: 1px solid #df2835 !important;
    border-radius: 2px !important;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.08),
        0 3px 10px rgba(0,0,0,.45),
        0 0 10px rgba(180,20,30,.10);

    font-size: 10px !important;
    font-weight: 800 !important;
    letter-spacing: .4px;

    transition: all .18s ease;
}

.zr-play-button::before {
    content: "▶";

    color: #d72a35;

    font-size: 11px;

    transition: color .18s ease;
}

.zr-play-button:hover {
    color: #fff !important;

    background: linear-gradient(
        180deg,
        #d52331 0%,
        #ad1723 100%
    ) !important;

    border-color: #f03a46 !important;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.10),
        0 4px 12px rgba(0,0,0,.50),
        0 0 13px rgba(210,25,37,.20);

    transform: translateY(-1px);
}

.zr-play-button:hover::before {
    color: #fff;
}

/* ==========================================
   PLAY NOW - FORCE FINAL STYLE
   ========================================== */

.zr-main-nav-right {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 18px !important;
}

.zr-main-nav-right .zr-play-button {
    box-sizing: border-box !important;

    width: 122px !important;
    min-width: 122px !important;
    height: 44px !important;

    margin: 0 !important;
    padding: 0 18px !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 9px !important;

    color: #fff !important;

    background: linear-gradient(
        180deg,
        #bd1d2a 0%,
        #94121c 100%
    ) !important;

    border: 1px solid #df2a37 !important;
    border-radius: 2px !important;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.08),
        0 4px 12px rgba(0,0,0,.45),
        0 0 12px rgba(190,20,30,.14) !important;

    font-size: 10px !important;
    font-weight: 800 !important;
    letter-spacing: .4px !important;

    text-decoration: none !important;

    transition: .18s ease !important;
}

.zr-main-nav-right .zr-play-button::before {
    display: none !important;
}

.zr-main-nav-right .zr-play-icon {
    color: #e72b38 !important;
    font-size: 11px !important;
}

.zr-main-nav-right .zr-play-button:hover {
    background: linear-gradient(
        180deg,
        #d62533 0%,
        #aa1722 100%
    ) !important;

    border-color: #f13b47 !important;

    transform: translateY(-1px);
}

.zr-main-nav-right .zr-play-button:hover .zr-play-icon {
    color: #fff !important;
}

/* =========================================================
   ZERITH SECOND BAR - FINAL
   Search left / account right
   ========================================================= */

.zr-toolbar {
    height: 46px !important;
    min-height: 46px !important;

    background: #090b0e !important;
    border-top: 0 !important;
    border-bottom: 1px solid #25272c !important;
}

.zr-toolbar-inner {
    box-sizing: border-box !important;

    width: calc(100% - 40px) !important;
    max-width: 1360px !important;
    height: 46px !important;
    min-height: 46px !important;

    margin: 0 auto !important;
    padding: 0 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;

    gap: 35px !important;
}


/* =========================
   SEARCH - LEFT
   ========================= */

.zr-toolbar-search {
    box-sizing: border-box !important;

    width: 300px !important;
    max-width: 300px !important;

    margin: 0 !important;
    padding: 0 !important;

    flex: 0 0 300px !important;
}

.zr-toolbar-search form {
    box-sizing: border-box !important;

    width: 100% !important;
    height: 32px !important;

    margin: 0 !important;
    padding: 0 !important;

    display: flex !important;
    align-items: center !important;
}

.zr-toolbar-search input[type="text"],
.zr-toolbar-search input.textbox {
    box-sizing: border-box !important;

    width: 235px !important;
    height: 32px !important;

    margin: 0 !important;
    padding: 0 12px !important;

    color: #b9bdc4 !important;
    background: #080a0d !important;

    border: 1px solid #292c31 !important;
    border-right: 0 !important;
    border-radius: 2px 0 0 2px !important;

    outline: none !important;

    font-size: 10px !important;
}

.zr-toolbar-search input[type="text"]:focus,
.zr-toolbar-search input.textbox:focus {
    border-color: #74131c !important;

    box-shadow:
        inset 0 0 8px rgba(160,20,30,.10) !important;
}


/* SEARCH BUTTON */

.zr-toolbar-search input[type="submit"],
.zr-toolbar-search button {
    box-sizing: border-box !important;

    width: 65px !important;
    height: 32px !important;

    margin: 0 !important;
    padding: 0 !important;

    color: #fff !important;
    background: linear-gradient(
        180deg,
        #a81824,
        #851019
    ) !important;

    border: 1px solid #c8202d !important;
    border-radius: 0 2px 2px 0 !important;

    font-size: 9px !important;
    font-weight: 800 !important;

    cursor: pointer !important;
}

.zr-toolbar-search input[type="submit"]:hover,
.zr-toolbar-search button:hover {
    background: linear-gradient(
        180deg,
        #c51e2b,
        #9b131e
    ) !important;
}


/* =========================
   ACCOUNT - RIGHT
   ========================= */

.zr-member-account {
    min-width: 0 !important;

    margin: 0 0 0 auto !important;
    padding: 0 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;

    flex: 1 1 auto !important;
}

.zr-user-menu {
    width: auto !important;
    height: 46px !important;

    margin: 0 !important;
    padding: 0 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;

    white-space: nowrap !important;
}


/* WELCOME TEXT */

.zr-user-welcome {
    height: 46px !important;

    margin: 0 8px 0 0 !important;
    padding: 0 14px 0 0 !important;

    display: inline-flex !important;
    align-items: center !important;

    color: #737984 !important;

    font-size: 9px !important;
    font-weight: 500 !important;

    border-right: 1px solid #282b30 !important;
}

.zr-user-welcome strong,
.zr-user-welcome a {
    margin: 0 3px;

    color: #fff !important;
    font-weight: 800 !important;
}


/* REMOVE OLD DIVIDER */

.zr-user-divider {
    display: none !important;
}


/* ACCOUNT LINKS */

.zr-user-menu > a {
    box-sizing: border-box !important;

    height: 46px !important;

    margin: 0 !important;
    padding: 0 13px !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    color: #9297a0 !important;
    background: transparent !important;

    border: 0 !important;
    border-right: 1px solid #25282d !important;

    font-size: 9px !important;
    font-weight: 800 !important;
    letter-spacing: .2px !important;

    text-transform: uppercase !important;
    text-decoration: none !important;

    transition:
        color .15s ease,
        background .15s ease !important;
}

.zr-user-menu > a:first-of-type {
    border-left: 0 !important;
}

.zr-user-menu > a:hover {
    color: #fff !important;

    background:
        linear-gradient(
            180deg,
            rgba(120,15,23,.12),
            rgba(120,15,23,.03)
        ) !important;
}


/* LOG OUT */

.zr-user-menu .zr-user-logout {
    padding-right: 0 !important;

    color: #d5444e !important;

    border-right: 0 !important;
}

.zr-user-menu .zr-user-logout:hover {
    color: #ff5b66 !important;
}


/* =========================================================
   BREADCRUMB ROW
   ========================================================= */

.zr-breadcrumb {
    margin-top: 0 !important;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1050px) {

    .zr-toolbar-search {
        width: 240px !important;
        max-width: 240px !important;
        flex-basis: 240px !important;
    }

    .zr-toolbar-search input[type="text"],
    .zr-toolbar-search input.textbox {
        width: 180px !important;
    }

    .zr-toolbar-search input[type="submit"],
    .zr-toolbar-search button {
        width: 60px !important;
    }

    .zr-user-menu > a {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }
}

@media (max-width: 800px) {

    .zr-toolbar {
        height: auto !important;
    }

    .zr-toolbar-inner {
        width: 94% !important;
        height: auto !important;

        flex-direction: column !important;

        gap: 6px !important;

        padding: 8px 0 !important;
    }

    .zr-toolbar-search {
        width: 100% !important;
        max-width: none !important;
        flex-basis: auto !important;
    }

    .zr-toolbar-search input[type="text"],
    .zr-toolbar-search input.textbox {
        width: calc(100% - 65px) !important;
    }

    .zr-member-account {
        width: 100% !important;
    }

    .zr-user-menu {
        width: 100% !important;
        height: auto !important;

        flex-wrap: wrap !important;
        justify-content: center !important;
    }

    .zr-user-welcome {
        width: 100% !important;
        height: 30px !important;

        justify-content: center !important;

        margin: 0 !important;
        padding: 0 !important;

        border-right: 0 !important;
    }

    .zr-user-menu > a {
        height: 34px !important;
    }
}

/* =========================================
   BREADCRUMB AREA - COMPACT
   ========================================= */

.zr-breadcrumb {
    height: 42px !important;
    min-height: 42px !important;

    margin: 0 !important;
    padding: 0 !important;

    display: flex !important;
    align-items: center !important;
}

#content {
    padding-top: 12px !important;
}

.navigation {
    margin: 0 !important;
    padding: 0 !important;
}

.navigation .active {
    color: #8e9299 !important;
}

.navigation a {
    color: #777c84 !important;
}

.navigation a:hover {
    color: #fff !important;
}

/* =========================================================
   ZERITH HEADER REBUILD
   ========================================================= */

.zrh {
    position: relative;
    z-index: 100;

    width: 100%;

    background: #07080a;
}


/* ==============================
   MAIN HEADER
   ============================== */

.zrh-main {
    position: relative;

    height: 88px;

    background:
        radial-gradient(
            ellipse at 50% -30%,
            rgba(145, 12, 22, .30) 0%,
            rgba(70, 5, 11, .13) 36%,
            transparent 67%
        ),
        linear-gradient(
            90deg,
            #050607 0%,
            #100608 50%,
            #050607 100%
        );

    border-top: 1px solid #9d1823;
    border-bottom: 1px solid #6e111a;
}

.zrh-inner {
    position: relative;

    width: calc(100% - 40px);
    max-width: 1360px;
    height: 88px;

    margin: 0 auto;

    display: flex;
    align-items: stretch;
}


/* ==============================
   NAVIGATION
   ============================== */

.zrh-nav {
    display: flex;
    align-items: stretch;

    height: 88px;
}

.zrh-nav-left {
    margin-right: auto;
}

.zrh-nav-right {
    margin-left: auto;

    align-items: center;

    gap: 17px;
}

.zrh-link {
    position: relative;

    height: 88px;

    padding: 0 15px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 7px;

    color: #e5e6e8 !important;

    font-size: 10px;
    font-weight: 800;
    letter-spacing: .35px;

    text-decoration: none !important;

    border-left: 1px solid transparent;
    border-right: 1px solid transparent;

    transition:
        background .18s ease,
        color .18s ease,
        border-color .18s ease;
}

.zrh-link:hover {
    color: #fff !important;

    background:
        linear-gradient(
            180deg,
            rgba(135, 13, 22, .18),
            rgba(135, 13, 22, .02)
        );
}


/* ACTIVE FORUM */

.zrh-active {
    color: #fff !important;

    background:
        linear-gradient(
            180deg,
            rgba(120, 10, 19, .30),
            rgba(64, 5, 11, .10)
        );

    border-left-color: #7c121b;
    border-right-color: #7c121b;
}

.zrh-active::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    height: 2px;

    background: #e21e2b;

    box-shadow:
        0 0 8px rgba(226, 30, 43, .8);
}


/* NAV ICONS */

.zrh-icon {
    color: #c41c28;

    font-size: 11px;
}


/* ==============================
   CENTER LOGO
   ============================== */

.zrh-logo {
    position: absolute;

    z-index: 20;

    left: 50%;
    top: -8px;

    width: 285px;
    height: 105px;

    transform: translateX(-50%);

    display: flex;
    align-items: center;
    justify-content: center;
}

.zrh-logo img {
    display: block;

    width: auto;
    height: auto;

    max-width: 280px;
    max-height: 105px;

    object-fit: contain;

    filter:
        drop-shadow(0 6px 7px rgba(0,0,0,.95))
        drop-shadow(0 0 8px rgba(180,20,30,.22));
}


/* ==============================
   DISCORD
   ============================== */

.zrh-discord {
    height: 44px;

    padding: 0 7px;

    border: 0;
}

.zrh-discord:hover {
    background: transparent;
}

.zrh-discord-dot {
    color: #6574ff;

    font-size: 10px;

    text-shadow:
        0 0 6px rgba(101,116,255,.55);
}


/* ==============================
   PLAY NOW
   ============================== */

.zrh-play {
    box-sizing: border-box;

    width: 124px;
    height: 44px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 9px;

    color: #fff !important;

    background:
        linear-gradient(
            180deg,
            #be1d2a 0%,
            #92121c 100%
        );

    border: 1px solid #df2b38;
    border-radius: 2px;

    box-shadow:
        inset 0 1px rgba(255,255,255,.08),
        0 4px 12px rgba(0,0,0,.45);

    font-size: 10px;
    font-weight: 800;
    letter-spacing: .4px;

    text-decoration: none !important;

    transition:
        background .18s ease,
        border-color .18s ease,
        transform .18s ease;
}

.zrh-play:hover {
    background:
        linear-gradient(
            180deg,
            #d72432,
            #aa1622
        );

    border-color: #f23a47;

    transform: translateY(-1px);
}

.zrh-play-triangle {
    color: #ed3540;

    font-size: 10px;
}

.zrh-play:hover .zrh-play-triangle {
    color: #fff;
}


/* =========================================================
   SECOND BAR
   ========================================================= */

.zrh-subbar {
    height: 46px;

    background:
        linear-gradient(
            180deg,
            #0b0d10,
            #090a0d
        );

    border-bottom: 1px solid #24272c;
}

.zrh-subbar-inner {
    width: calc(100% - 40px);
    max-width: 1360px;
    height: 46px;

    margin: 0 auto;

    display: flex;
    align-items: center;

    gap: 30px;
}


/* ==============================
   SEARCH
   ============================== */

.zrh-search {
    width: 300px;
    flex: 0 0 300px;
}

.zrh-search form {
    width: 100%;
    height: 32px;

    margin: 0 !important;
    padding: 0 !important;

    display: flex;
    align-items: center;
}

.zrh-search input[type="text"],
.zrh-search input.textbox {
    box-sizing: border-box;

    width: 235px !important;
    height: 32px !important;

    margin: 0 !important;
    padding: 0 12px !important;

    color: #c2c5ca !important;
    background: #07090c !important;

    border: 1px solid #292c31 !important;
    border-right: 0 !important;

    border-radius: 2px 0 0 2px !important;

    outline: none;

    font-size: 10px;
}

.zrh-search input[type="text"]:focus,
.zrh-search input.textbox:focus {
    border-color: #79131d !important;
}

.zrh-search input[type="submit"],
.zrh-search button {
    box-sizing: border-box;

    width: 65px !important;
    height: 32px !important;

    margin: 0 !important;
    padding: 0 !important;

    color: #fff !important;

    background:
        linear-gradient(
            180deg,
            #a91925,
            #821019
        ) !important;

    border: 1px solid #c7202c !important;
    border-radius: 0 2px 2px 0 !important;

    font-size: 9px !important;
    font-weight: 800 !important;

    cursor: pointer;
}


/* ==============================
   ACCOUNT
   ============================== */

.zrh-account {
    margin-left: auto;

    min-width: 0;

    display: flex;
    align-items: center;
    justify-content: flex-end;
}


/* Override member template */

.zrh-account .zr-user-menu {
    height: 46px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;

    margin: 0 !important;
    padding: 0 !important;

    white-space: nowrap;
}

.zrh-account .zr-user-welcome {
    height: 46px !important;

    margin: 0 !important;
    padding: 0 15px !important;

    display: inline-flex !important;
    align-items: center !important;

    color: #777d86 !important;

    border-right: 1px solid #272a2f;

    font-size: 9px !important;
}

.zrh-account .zr-user-welcome strong,
.zrh-account .zr-user-welcome a {
    color: #fff !important;
}


/* USER LINKS */

.zrh-account .zr-user-menu > a {
    box-sizing: border-box;

    height: 46px !important;

    margin: 0 !important;
    padding: 0 13px !important;

    display: inline-flex !important;
    align-items: center !important;

    color: #959aa3 !important;
    background: transparent !important;

    border: 0 !important;
    border-right: 1px solid #272a2f !important;

    font-size: 9px !important;
    font-weight: 800 !important;

    text-decoration: none !important;
}

.zrh-account .zr-user-menu > a:hover {
    color: #fff !important;

    background: rgba(130,15,23,.09) !important;
}

.zrh-account .zr-user-logout {
    color: #d84953 !important;

    border-right: 0 !important;
}


/* =========================================================
   BREADCRUMB
   ========================================================= */

.zrh-breadcrumb-bar {
    height: 56px;

    background: #101216;

    border-bottom: 1px solid #24272c;
}

.zrh-breadcrumb-inner {
    width: calc(100% - 40px);
    max-width: 1360px;
    height: 56px;

    margin: 0 auto;

    display: flex;
    align-items: center;

    color: #6f747d;

    font-size: 10px;
}

.zrh-breadcrumb-home {
    margin-right: 9px;

    color: #ce1d29;
}

.zrh-breadcrumb-inner .navigation {
    margin: 0 !important;
    padding: 0 !important;
}

.zrh-breadcrumb-inner a {
    color: #777c84 !important;

    text-decoration: none;
}

.zrh-breadcrumb-inner a:hover {
    color: #fff !important;
}


/* =========================================================
   CONTENT
   ========================================================= */

#content {
    padding-top: 18px !important;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1150px) {

    .zrh-link {
        padding-left: 10px;
        padding-right: 10px;
    }

    .zrh-logo {
        width: 225px;
    }

    .zrh-logo img {
        max-width: 225px;
    }

}

@media (max-width: 850px) {

    .zrh-main,
    .zrh-inner {
        height: auto;
    }

    .zrh-inner {
        width: 94%;

        flex-direction: column;

        padding-top: 72px;
    }

    .zrh-logo {
        top: -2px;

        width: 210px;
        height: 75px;
    }

    .zrh-logo img {
        max-width: 210px;
        max-height: 75px;
    }

    .zrh-nav {
        width: 100%;
        height: 48px;

        justify-content: center;
    }

    .zrh-nav-right {
        margin-left: 0;
    }

    .zrh-link {
        height: 48px;
    }

    .zrh-play {
        height: 38px;
    }


    /* SECOND BAR */

    .zrh-subbar {
        height: auto;
    }

    .zrh-subbar-inner {
        width: 94%;
        height: auto;

        padding: 8px 0;

        flex-direction: column;

        gap: 6px;
    }

    .zrh-search {
        width: 100%;
        flex: none;
    }

    .zrh-search input[type="text"],
    .zrh-search input.textbox {
        width: calc(100% - 65px) !important;
    }

    .zrh-account {
        width: 100%;

        justify-content: center;
    }

    .zrh-account .zr-user-menu {
        width: 100%;
        height: auto !important;

        flex-wrap: wrap;

        justify-content: center !important;
    }

    .zrh-account .zr-user-welcome {
        width: 100%;
        height: 30px !important;

        justify-content: center;

        border-right: 0;
    }


    /* BREADCRUMB */

    .zrh-breadcrumb-inner {
        width: 94%;
    }

}

/* =========================================================
   ZERITH FANTASY HEADER BACKGROUND
   ========================================================= */

.zrh-main {
    position: relative !important;
    height: 118px !important;

    background-image:
        linear-gradient(
            90deg,
            rgba(3,3,5,.38) 0%,
            rgba(8,2,4,.18) 35%,
            rgba(8,2,4,.18) 65%,
            rgba(3,3,5,.38) 100%
        ),
        linear-gradient(
            180deg,
            rgba(0,0,0,.08) 0%,
            rgba(0,0,0,.10) 55%,
            rgba(4,4,6,.80) 100%
        ),
        url(/images/zerith-new/zerith-header-bg.png) !important;

    background-size: cover !important;
    background-position: center 45% !important;
    background-repeat: no-repeat !important;

    border-top: 1px solid #b51c29 !important;
    border-bottom: 1px solid #8d141f !important;

    box-shadow:
        inset 0 -30px 45px rgba(0,0,0,.38),
        0 3px 15px rgba(0,0,0,.55) !important;
}


/* NAVIGATION HEIGHT */

.zrh-inner {
    height: 118px !important;
}

.zrh-nav {
    height: 118px !important;
}

.zrh-link {
    height: 118px !important;

    padding-left: 17px !important;
    padding-right: 17px !important;

    background: rgba(5,5,7,.52);
    border-right: 1px solid rgba(255,255,255,.045);
}

.zrh-link:hover {
    background:
        linear-gradient(
            180deg,
            rgba(110,10,18,.50),
            rgba(15,5,8,.65)
        ) !important;
}


/* ACTIVE FORUM BUTTON */

.zrh-active {
    background:
        linear-gradient(
            180deg,
            rgba(150,15,25,.58),
            rgba(45,5,10,.72)
        ) !important;

    border-left: 1px solid #9d1722 !important;
    border-right: 1px solid #9d1722 !important;

    box-shadow:
        inset 0 0 18px rgba(205,25,38,.13) !important;
}

.zrh-active::after {
    height: 3px !important;

    background: #ef2432 !important;

    box-shadow:
        0 0 12px #d51927,
        0 0 20px rgba(213,25,39,.45) !important;
}


/* =========================================================
   LOGO OVER FANTASY BACKGROUND
   ========================================================= */

.zrh-logo {
    top: -2px !important;

    width: 320px !important;
    height: 122px !important;
}

.zrh-logo img {
    max-width: 315px !important;
    max-height: 118px !important;

    filter:
        drop-shadow(0 7px 8px rgba(0,0,0,.95))
        drop-shadow(0 0 10px rgba(230,25,35,.35)) !important;
}


/* =========================================================
   DISCORD
   ========================================================= */

.zrh-discord {
    height: 118px !important;

    background: rgba(5,5,7,.42) !important;
}

.zrh-discord-dot {
    color: #6574ff !important;

    text-shadow:
        0 0 7px rgba(101,116,255,.8) !important;
}


/* =========================================================
   PLAY NOW
   ========================================================= */

.zrh-play {
    width: 135px !important;
    height: 48px !important;

    margin-left: 4px !important;

    background:
        linear-gradient(
            180deg,
            #d22130 0%,
            #9d111d 100%
        ) !important;

    border: 1px solid #f03a47 !important;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.12),
        inset 0 0 14px rgba(255,50,60,.08),
        0 0 15px rgba(198,20,31,.22),
        0 5px 15px rgba(0,0,0,.60) !important;
}


/* =========================================================
   CLEAN ACCOUNT BAR
   ========================================================= */

.zrh-subbar {
    height: 48px !important;

    background:
        linear-gradient(
            180deg,
            #090b0e 0%,
            #07080a 100%
        ) !important;

    border-top: 1px solid rgba(170,20,30,.18) !important;
    border-bottom: 1px solid #292b30 !important;
}


/* REMOVE SEARCH COMPLETELY */

.zrh-search {
    display: none !important;
}


/* ACCOUNT GOES RIGHT */

.zrh-subbar-inner {
    height: 48px !important;

    justify-content: flex-end !important;
}

.zrh-account {
    margin-left: auto !important;
}


/* =========================================================
   BREADCRUMB
   ========================================================= */

.zrh-breadcrumb-bar {
    height: 48px !important;

    background:
        linear-gradient(
            90deg,
            #0c0e11,
            #121014 50%,
            #0c0e11
        ) !important;

    border-bottom: 1px solid #4c1017 !important;
}

.zrh-breadcrumb-inner {
    height: 48px !important;
}

.zrh-breadcrumb-home {
    color: #e4212e !important;

    text-shadow:
        0 0 7px rgba(228,33,46,.45);
}

/* =========================================================
   ZERITH FANTASY HEADER - SIZE / ALIGNMENT FIX
   ========================================================= */

/* Give the artwork more room */
.zrh-main {
    height: 145px !important;

    background-size: cover !important;
    background-position: center 42% !important;
}

.zrh-inner,
.zrh-nav {
    height: 145px !important;
}


/* NAV BUTTONS */

.zrh-link {
    height: 145px !important;

    padding-left: 20px !important;
    padding-right: 20px !important;

    background: rgba(3, 3, 5, .48) !important;

    border-right: 1px solid rgba(255,255,255,.055) !important;

    text-shadow: 0 2px 3px #000;
}

.zrh-active {
    background:
        linear-gradient(
            180deg,
            rgba(130,15,23,.38) 0%,
            rgba(80,7,14,.65) 100%
        ) !important;
}


/* BIGGER CENTER LOGO */

.zrh-logo {
    top: 2px !important;

    width: 350px !important;
    height: 140px !important;
}

.zrh-logo img {
    max-width: 345px !important;
    max-height: 135px !important;
}


/* DISCORD */

.zrh-discord {
    height: 145px !important;

    background: rgba(3,3,5,.40) !important;
}


/* PLAY BUTTON */

.zrh-play {
    width: 140px !important;
    height: 48px !important;

    margin-left: 10px !important;
    margin-right: 4px !important;
}


/* =========================================================
   ACCOUNT BAR
   ========================================================= */

.zrh-subbar {
    height: 48px !important;

    background:
        linear-gradient(
            180deg,
            #090b0e 0%,
            #07080a 100%
        ) !important;

    border-top: 1px solid #3c0c12 !important;
    border-bottom: 1px solid #25282d !important;
}

.zrh-subbar-inner {
    height: 48px !important;
}


/* Keep member controls together */

.zrh-account {
    width: 100% !important;

    display: flex !important;
    justify-content: flex-end !important;
}


/* =========================================================
   BREADCRUMB
   ========================================================= */

.zrh-breadcrumb-bar {
    height: 52px !important;

    background:
        linear-gradient(
            90deg,
            #0d0f12 0%,
            #111216 50%,
            #0d0f12 100%
        ) !important;

    border-top: 0 !important;
    border-bottom: 1px solid #75121b !important;
}

.zrh-breadcrumb-inner {
    height: 52px !important;
}


/* Don't leave a huge gap before forums */

#content {
    padding-top: 16px !important;
}


/* =========================================================
   ZERITH FANTASY NAVIGATION PANELS
   ========================================================= */

.zrh-nav-left {
    gap: 3px !important;
    align-items: center !important;
}

/* NORMAL BUTTON */

.zrh-nav-left .zrh-link {
    position: relative !important;

    box-sizing: border-box !important;

    height: 54px !important;
    min-width: 100px !important;

    padding: 0 18px !important;

    background:
        linear-gradient(
            180deg,
            rgba(19,20,23,.94) 0%,
            rgba(7,8,10,.96) 100%
        ) !important;

    border: 1px solid rgba(94,96,103,.30) !important;
    border-bottom-color: #671019 !important;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.035),
        inset 0 -8px 18px rgba(0,0,0,.35),
        0 3px 8px rgba(0,0,0,.50) !important;

    color: #e7e7e9 !important;

    text-shadow:
        0 2px 3px rgba(0,0,0,.95) !important;

    overflow: hidden !important;
}

/* subtle red shine */

.zrh-nav-left .zrh-link::before {
    content: "" !important;

    position: absolute !important;

    left: 15% !important;
    right: 15% !important;
    top: 0 !important;

    height: 1px !important;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(200,30,40,.45),
            transparent
        ) !important;
}


/* HOVER */

.zrh-nav-left .zrh-link:hover {
    background:
        linear-gradient(
            180deg,
            rgba(67,9,15,.95) 0%,
            rgba(17,7,10,.97) 100%
        ) !important;

    border-color: #78121c !important;

    color: #fff !important;

    box-shadow:
        inset 0 0 20px rgba(190,22,34,.12),
        0 0 10px rgba(185,20,31,.12),
        0 4px 9px rgba(0,0,0,.55) !important;
}


/* =========================================================
   ACTIVE FORUMS
   ========================================================= */

.zrh-nav-left .zrh-active {
    height: 58px !important;

    background:
        linear-gradient(
            180deg,
            rgba(151,18,29,.92) 0%,
            rgba(76,8,15,.96) 52%,
            rgba(25,6,9,.98) 100%
        ) !important;

    border: 1px solid #ba1c29 !important;

    color: #fff !important;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.09),
        inset 0 0 22px rgba(230,31,45,.14),
        0 0 10px rgba(219,26,39,.28),
        0 5px 12px rgba(0,0,0,.55) !important;
}


/* ACTIVE RED GLOW LINE */

.zrh-nav-left .zrh-active::after {
    content: "" !important;

    position: absolute !important;

    left: 8px !important;
    right: 8px !important;
    bottom: 0 !important;

    height: 3px !important;

    background: #f12635 !important;

    box-shadow:
        0 0 7px #f12635,
        0 0 15px rgba(241,38,53,.70) !important;
}


/* ICONS */

.zrh-nav-left .zrh-icon {
    color: #dc2230 !important;

    font-size: 12px !important;

    text-shadow:
        0 0 6px rgba(220,34,48,.35) !important;
}

.zrh-nav-left .zrh-active .zrh-icon {
    color: #ff3947 !important;

    text-shadow:
        0 0 8px rgba(255,57,71,.70) !important;
}


/* =========================================================
   RIGHT SIDE
   ========================================================= */

.zrh-nav-right {
    gap: 12px !important;
}

.zrh-discord {
    height: 54px !important;

    padding: 0 18px !important;

    background:
        linear-gradient(
            180deg,
            rgba(18,19,22,.88),
            rgba(7,8,10,.94)
        ) !important;

    border: 1px solid rgba(90,92,100,.25) !important;
    border-bottom-color: #541019 !important;
}


/* PLAY NOW */

.zrh-play {
    width: 145px !important;
    height: 54px !important;

    background:
        linear-gradient(
            180deg,
            #dc2635 0%,
            #a81421 52%,
            #7e0d17 100%
        ) !important;

    border: 1px solid #f13a48 !important;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.15),
        inset 0 -8px 16px rgba(60,0,5,.25),
        0 0 13px rgba(210,24,37,.25),
        0 5px 12px rgba(0,0,0,.55) !important;
}

.zrh-play:hover {
    background:
        linear-gradient(
            180deg,
            #f02d3d 0%,
            #c31a28 52%,
            #94111c 100%
        ) !important;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.18),
        0 0 18px rgba(230,30,44,.38),
        0 5px 14px rgba(0,0,0,.60) !important;
}


/* =========================================================
   ZERITH FANTASY NAVIGATION PANELS
   ========================================================= */

.zrh-nav-left {
    gap: 3px !important;
    align-items: center !important;
}

/* NORMAL BUTTON */

.zrh-nav-left .zrh-link {
    position: relative !important;

    box-sizing: border-box !important;

    height: 54px !important;
    min-width: 100px !important;

    padding: 0 18px !important;

    background:
        linear-gradient(
            180deg,
            rgba(19,20,23,.94) 0%,
            rgba(7,8,10,.96) 100%
        ) !important;

    border: 1px solid rgba(94,96,103,.30) !important;
    border-bottom-color: #671019 !important;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.035),
        inset 0 -8px 18px rgba(0,0,0,.35),
        0 3px 8px rgba(0,0,0,.50) !important;

    color: #e7e7e9 !important;

    text-shadow:
        0 2px 3px rgba(0,0,0,.95) !important;

    overflow: hidden !important;
}

/* subtle red shine */

.zrh-nav-left .zrh-link::before {
    content: "" !important;

    position: absolute !important;

    left: 15% !important;
    right: 15% !important;
    top: 0 !important;

    height: 1px !important;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(200,30,40,.45),
            transparent
        ) !important;
}


/* HOVER */

.zrh-nav-left .zrh-link:hover {
    background:
        linear-gradient(
            180deg,
            rgba(67,9,15,.95) 0%,
            rgba(17,7,10,.97) 100%
        ) !important;

    border-color: #78121c !important;

    color: #fff !important;

    box-shadow:
        inset 0 0 20px rgba(190,22,34,.12),
        0 0 10px rgba(185,20,31,.12),
        0 4px 9px rgba(0,0,0,.55) !important;
}


/* =========================================================
   ACTIVE FORUMS
   ========================================================= */

.zrh-nav-left .zrh-active {
    height: 58px !important;

    background:
        linear-gradient(
            180deg,
            rgba(151,18,29,.92) 0%,
            rgba(76,8,15,.96) 52%,
            rgba(25,6,9,.98) 100%
        ) !important;

    border: 1px solid #ba1c29 !important;

    color: #fff !important;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.09),
        inset 0 0 22px rgba(230,31,45,.14),
        0 0 10px rgba(219,26,39,.28),
        0 5px 12px rgba(0,0,0,.55) !important;
}


/* ACTIVE RED GLOW LINE */

.zrh-nav-left .zrh-active::after {
    content: "" !important;

    position: absolute !important;

    left: 8px !important;
    right: 8px !important;
    bottom: 0 !important;

    height: 3px !important;

    background: #f12635 !important;

    box-shadow:
        0 0 7px #f12635,
        0 0 15px rgba(241,38,53,.70) !important;
}


/* ICONS */

.zrh-nav-left .zrh-icon {
    color: #dc2230 !important;

    font-size: 12px !important;

    text-shadow:
        0 0 6px rgba(220,34,48,.35) !important;
}

.zrh-nav-left .zrh-active .zrh-icon {
    color: #ff3947 !important;

    text-shadow:
        0 0 8px rgba(255,57,71,.70) !important;
}


/* =========================================================
   RIGHT SIDE
   ========================================================= */

.zrh-nav-right {
    gap: 12px !important;
}

.zrh-discord {
    height: 54px !important;

    padding: 0 18px !important;

    background:
        linear-gradient(
            180deg,
            rgba(18,19,22,.88),
            rgba(7,8,10,.94)
        ) !important;

    border: 1px solid rgba(90,92,100,.25) !important;
    border-bottom-color: #541019 !important;
}


/* PLAY NOW */

.zrh-play {
    width: 145px !important;
    height: 54px !important;

    background:
        linear-gradient(
            180deg,
            #dc2635 0%,
            #a81421 52%,
            #7e0d17 100%
        ) !important;

    border: 1px solid #f13a48 !important;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.15),
        inset 0 -8px 16px rgba(60,0,5,.25),
        0 0 13px rgba(210,24,37,.25),
        0 5px 12px rgba(0,0,0,.55) !important;
}

.zrh-play:hover {
    background:
        linear-gradient(
            180deg,
            #f02d3d 0%,
            #c31a28 52%,
            #94111c 100%
        ) !important;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.18),
        0 0 18px rgba(230,30,44,.38),
        0 5px 14px rgba(0,0,0,.60) !important;
}

/* ==========================================
   FINAL HEADER ALIGNMENT
   ========================================== */

.zrh-inner {
    max-width: 1360px !important;
    padding: 0 18px !important;
    box-sizing: border-box !important;
}

/* LEFT NAV */
.zrh-nav-left {
    margin-right: auto !important;
}

/* Give the logo breathing room */
.zrh-nav-left .zrh-link {
    min-width: 96px !important;
}

/* Slightly smaller logo so it doesn't touch Hiscores */
.zrh-logo {
    width: 310px !important;
}

.zrh-logo img {
    max-width: 305px !important;
}

/* RIGHT SIDE */
.zrh-nav-right {
    margin-left: auto !important;
}

/* Keep Discord + Play Now nicely separated */
.zrh-discord {
    min-width: 100px !important;
    justify-content: center !important;
}

.zrh-play {
    margin-left: 8px !important;
}

/* Make all navigation labels consistent */
.zrh-nav-left .zrh-link,
.zrh-discord,
.zrh-play {
    font-size: 10px !important;
    font-weight: 800 !important;
    letter-spacing: .25px !important;
}

/* =========================================================
   COMPACT LOWER HEADER
   ========================================================= */

/* ACCOUNT BAR */
.zrh-subbar {
    height: 38px !important;
    min-height: 38px !important;

    background: #080a0c !important;

    border-top: 1px solid rgba(126, 15, 23, .35) !important;
    border-bottom: 1px solid #24272b !important;
}

.zrh-subbar-inner {
    height: 38px !important;
    min-height: 38px !important;
}

.zrh-account {
    height: 38px !important;
}


/* MEMBER MENU */
.zrh-account .zr-user-menu {
    height: 38px !important;
}

.zrh-account .zr-user-welcome {
    height: 38px !important;

    padding: 0 14px !important;
}

.zrh-account .zr-user-menu > a {
    height: 38px !important;

    padding: 0 12px !important;
}


/* =========================================================
   ZERITH COMMUNITY BREADCRUMB
   ========================================================= */

.zrh-breadcrumb-bar {
    height: 42px !important;
    min-height: 42px !important;

    background:
        linear-gradient(
            180deg,
            #101216 0%,
            #0c0e11 100%
        ) !important;

    border-top: 0 !important;
    border-bottom: 1px solid #77121b !important;
}

.zrh-breadcrumb-inner {
    height: 42px !important;
    min-height: 42px !important;

    font-size: 10px !important;
}

.zrh-breadcrumb-home {
    margin-right: 8px !important;

    color: #e4202e !important;

    font-size: 10px !important;

    text-shadow:
        0 0 6px rgba(228,32,46,.45) !important;
}


/* navigation text */
.zrh-breadcrumb-inner .navigation {
    margin: 0 !important;
    padding: 0 !important;

    line-height: 42px !important;
}

.zrh-breadcrumb-inner .navigation a,
.zrh-breadcrumb-inner .navigation .active {
    font-size: 10px !important;
}


/* =========================================================
   BRING FORUM CONTENT UP
   ========================================================= */

#content {
    padding-top: 12px !important;
}


/* =========================================================
   ZERITH COMMUNITY FORUMS - FINAL HEADER
   ========================================================= */

.zrc-header {
    position: relative;
    z-index: 100;
    width: 100%;
    background: #07080a;
}


/* =========================================================
   HERO / FANTASY BANNER
   ========================================================= */

.zrc-hero {
    position: relative;
    height: 320px;
    overflow: hidden;

    background-image:
        url(/images/zerith-new/zerith-community-banner.png);

    background-size: cover;
    background-position: center 44%;
    background-repeat: no-repeat;

    border-top: 1px solid #a91521;
    border-bottom: 1px solid #7d1019;

    box-shadow:
        inset 0 -60px 75px rgba(0,0,0,.65),
        inset 0 25px 50px rgba(0,0,0,.18);
}


/* dark cinematic overlay */

.zrc-hero-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;

    background:
        linear-gradient(
            90deg,
            rgba(0,0,0,.18) 0%,
            rgba(0,0,0,.03) 30%,
            rgba(0,0,0,.02) 70%,
            rgba(0,0,0,.18) 100%
        ),
        linear-gradient(
            180deg,
            rgba(0,0,0,.08) 0%,
            rgba(0,0,0,.03) 50%,
            rgba(0,0,0,.70) 100%
        );
}


/* =========================================================
   BRAND / LOGO
   ========================================================= */

.zrc-brand {
    position: absolute;
    z-index: 5;

    left: 50%;
    top: 46%;

    transform: translate(-50%, -50%);

    width: 620px;
    max-width: 90%;

    text-align: center;
}


.zrc-logo {
    display: block;

    width: 570px;
    max-width: 100%;

    margin: 0 auto;

    text-decoration: none;
}


.zrc-logo img {
    display: block;

    width: 100%;
    height: auto;

    margin: 0 auto;

    filter:
        drop-shadow(0 8px 10px rgba(0,0,0,.95))
        drop-shadow(0 0 13px rgba(220,22,34,.32));
}


/* =========================================================
   COMMUNITY FORUMS TITLE
   ========================================================= */

.zrc-community-title {
    width: 100%;

    margin-top: -5px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 18px;
}


.zrc-community-title strong {
    white-space: nowrap;

    color: #f0eeee;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 22px;
    font-weight: 500;
    letter-spacing: 7px;

    text-shadow:
        0 2px 3px #000,
        0 0 9px rgba(220,30,40,.32);
}


.zrc-community-title span {
    width: 90px;
    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            #a91823
        );

    box-shadow:
        0 0 5px rgba(210,24,35,.40);
}


.zrc-community-title span:last-child {
    background:
        linear-gradient(
            90deg,
            #a91823,
            transparent
        );
}


/* =========================================================
   MAIN NAVIGATION
   ========================================================= */

.zrc-nav {
    position: relative;
    z-index: 20;

    height: 72px;

    margin-top: -1px;

    background:
        linear-gradient(
            180deg,
            #15171b 0%,
            #090a0d 60%,
            #060709 100%
        );

    border-top: 1px solid #7d111a;
    border-bottom: 1px solid #6f1018;

    box-shadow:
        inset 0 1px rgba(255,255,255,.025),
        0 5px 15px rgba(0,0,0,.55);
}


.zrc-nav-inner {
    position: relative;

    width: calc(100% - 50px);
    max-width: 1450px;
    height: 72px;

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        1fr
        1fr
        1fr
        110px
        1fr
        1fr
        1fr;

    align-items: stretch;
}


/* =========================================================
   NAV BUTTONS
   ========================================================= */

.zrc-nav-item {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 10px;

    color: #e5e5e7 !important;

    background:
        linear-gradient(
            180deg,
            rgba(20,21,24,.95),
            rgba(8,9,11,.98)
        );

    border-left: 1px solid rgba(255,255,255,.035);
    border-right: 1px solid rgba(0,0,0,.75);

    font-size: 11px;
    font-weight: 800;
    letter-spacing: .4px;

    text-decoration: none !important;

    text-shadow:
        0 2px 3px rgba(0,0,0,.95);

    transition:
        background .18s ease,
        color .18s ease,
        box-shadow .18s ease;
}


.zrc-nav-item::before {
    content: "";

    position: absolute;

    left: 18px;
    right: 18px;
    top: 0;

    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(194,27,39,.30),
            transparent
        );
}


.zrc-nav-item:hover {
    color: #fff !important;

    background:
        linear-gradient(
            180deg,
            #381016 0%,
            #17080b 60%,
            #09090b 100%
        );

    box-shadow:
        inset 0 0 20px rgba(190,25,36,.08);
}


/* NAV ICON */

.zrc-nav-icon {
    color: #e12533;

    font-size: 16px;

    text-shadow:
        0 0 8px rgba(225,37,51,.40);
}


/* DISCORD DOT */

.zrc-discord-icon {
    color: #6676ff;

    font-size: 12px;

    text-shadow:
        0 0 8px rgba(102,118,255,.75);
}


/* =========================================================
   ACTIVE FORUMS
   ========================================================= */

.zrc-nav-active {
    color: #fff !important;

    background:
        linear-gradient(
            180deg,
            #77121c 0%,
            #3d0a10 58%,
            #13080a 100%
        );

    box-shadow:
        inset 0 0 25px rgba(220,30,42,.13),
        0 0 14px rgba(190,20,31,.10);
}


.zrc-nav-active::after {
    content: "";

    position: absolute;

    left: 15px;
    right: 15px;
    bottom: 0;

    height: 3px;

    background: #f02332;

    box-shadow:
        0 0 7px #e31d2b,
        0 0 14px rgba(227,29,43,.60);
}


/* =========================================================
   CENTER GEM
   ========================================================= */

.zrc-nav-center {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    background:
        radial-gradient(
            circle,
            #31080e 0%,
            #0b0b0e 70%
        );
}


.zrc-nav-center::before,
.zrc-nav-center::after {
    content: "";

    position: absolute;

    top: 50%;

    width: 40px;
    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            #86131c
        );
}


.zrc-nav-center::before {
    right: 65%;
}


.zrc-nav-center::after {
    left: 65%;

    transform: rotate(180deg);
}


.zrc-nav-gem {
    position: relative;
    z-index: 2;

    color: #f12a38;

    font-size: 31px;

    text-shadow:
        0 0 7px #d91828,
        0 0 16px rgba(217,24,40,.60);

    transform: rotate(0deg);
}


/* =========================================================
   MEMBER BAR
   ========================================================= */

.zrc-memberbar {
    height: 52px;

    background:
        linear-gradient(
            180deg,
            #090a0d 0%,
            #07080a 100%
        );

    border-bottom: 1px solid #27292e;
}


.zrc-memberbar-inner {
    width: calc(100% - 50px);
    max-width: 1450px;
    height: 52px;

    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: flex-end;
}


.zrc-account {
    margin-left: auto;

    display: flex;
    align-items: center;
    justify-content: flex-end;
}


/* =========================================================
   EXISTING MEMBER TEMPLATE SUPPORT
   ========================================================= */

.zrc-account .zr-user-menu {
    height: 52px !important;

    margin: 0 !important;
    padding: 0 !important;

    display: flex !important;
    align-items: center !important;

    white-space: nowrap !important;
}


.zrc-account .zr-user-welcome {
    height: 52px !important;

    margin: 0 !important;
    padding: 0 22px !important;

    display: flex !important;
    align-items: center !important;

    color: #7f838c !important;

    border-right: 1px solid #282b30 !important;

    font-size: 9px !important;
}


.zrc-account .zr-user-welcome strong,
.zrc-account .zr-user-welcome a {
    color: #fff !important;
}


.zrc-account .zr-user-menu > a {
    box-sizing: border-box;

    height: 52px !important;

    margin: 0 !important;
    padding: 0 17px !important;

    display: flex !important;
    align-items: center !important;

    color: #a1a4ab !important;
    background: transparent !important;

    border: 0 !important;
    border-right: 1px solid #282b30 !important;

    font-size: 9px !important;
    font-weight: 800 !important;

    text-decoration: none !important;
}


.zrc-account .zr-user-menu > a:hover {
    color: #fff !important;

    background:
        linear-gradient(
            180deg,
            rgba(120,14,22,.16),
            transparent
        ) !important;
}


.zrc-account .zr-user-logout {
    color: #e14954 !important;

    border-right: 0 !important;
}


/* =========================================================
   BREADCRUMB
   ========================================================= */

.zrc-breadcrumb {
    height: 60px;

    background:
        linear-gradient(
            180deg,
            #101216,
            #0c0e11
        );

    border-bottom: 1px solid #7d111a;

    box-shadow:
        inset 0 -1px rgba(255,255,255,.015);
}


.zrc-breadcrumb-inner {
    box-sizing: border-box;

    width: calc(100% - 50px);
    max-width: 1450px;
    height: 60px;

    margin: 0 auto;

    padding: 0 22px;

    display: flex;
    align-items: center;

    background:
        linear-gradient(
            90deg,
            rgba(70,8,13,.15),
            rgba(15,16,19,.35) 15%,
            transparent 70%
        );

    border-left: 1px solid #561018;
}


.zrc-breadcrumb-icon {
    margin-right: 11px;

    color: #e72533;

    font-size: 12px;

    text-shadow:
        0 0 7px rgba(231,37,51,.50);
}


.zrc-breadcrumb-inner .navigation {
    margin: 0 !important;
    padding: 0 !important;

    color: #a4a7ad !important;

    font-size: 10px !important;
}


.zrc-breadcrumb-inner .navigation a {
    color: #b5b7bc !important;

    text-decoration: none !important;
}


.zrc-breadcrumb-inner .navigation a:hover {
    color: #fff !important;
}


/* =========================================================
   CONTENT SPACING
   ========================================================= */

#content {
    padding-top: 20px !important;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1050px) {

    .zrc-hero {
        height: 260px;
    }

    .zrc-brand {
        width: 500px;
    }

    .zrc-logo {
        width: 470px;
    }

    .zrc-nav-inner {
        grid-template-columns:
            1fr
            1fr
            1fr
            70px
            1fr
            1fr
            1fr;
    }

    .zrc-nav-item {
        gap: 6px;

        font-size: 9px;
    }

}


@media (max-width: 760px) {

    .zrc-hero {
        height: 210px;

        background-position: center center;
    }

    .zrc-brand {
        width: 88%;
    }

    .zrc-logo {
        width: 390px;
        max-width: 100%;
    }

    .zrc-community-title strong {
        font-size: 14px;
        letter-spacing: 4px;
    }

    .zrc-community-title span {
        width: 35px;
    }


    /* navigation wraps on mobile */

    .zrc-nav {
        height: auto;
    }

    .zrc-nav-inner {
        width: 100%;
        height: auto;

        grid-template-columns:
            repeat(3, 1fr);
    }

    .zrc-nav-center {
        display: none;
    }

    .zrc-nav-item {
        height: 48px;

        font-size: 9px;
    }


    /* member bar */

    .zrc-memberbar {
        height: auto;
    }

    .zrc-memberbar-inner {
        width: 96%;
        height: auto;

        padding: 5px 0;
    }

    .zrc-account {
        width: 100%;
    }

    .zrc-account .zr-user-menu {
        width: 100%;
        height: auto !important;

        flex-wrap: wrap;

        justify-content: center;
    }

    .zrc-account .zr-user-welcome {
        width: 100%;
        height: 30px !important;

        justify-content: center;

        border-right: 0 !important;
    }

    .zrc-account .zr-user-menu > a {
        height: 34px !important;

        padding: 0 8px !important;
    }


    /* breadcrumb */

    .zrc-breadcrumb,
    .zrc-breadcrumb-inner {
        height: 46px;
    }

    .zrc-breadcrumb-inner {
        width: 96%;

        padding: 0 12px;
    }

}


/* =========================================================
   ZERITH HEADER - NAV WIDTH / FINAL ALIGNMENT FIX
   ========================================================= */

/* NAV BACKGROUND */
.zrc-nav {
    height: 72px !important;
    background: #08090b !important;
    border-top: 1px solid #85121c !important;
    border-bottom: 1px solid #85121c !important;
}

/* Keep navigation centered instead of stretched */
.zrc-nav-inner {
    width: 1450px !important;
    max-width: calc(100% - 80px) !important;
    height: 72px !important;

    margin: 0 auto !important;

    grid-template-columns:
        1fr
        1fr
        1fr
        90px
        1fr
        1fr
        1fr !important;

    border-left: 1px solid #202227;
    border-right: 1px solid #202227;
}


/* NAV BUTTONS */
.zrc-nav-item {
    height: 72px !important;
    box-sizing: border-box !important;

    background:
        linear-gradient(
            180deg,
            #111317 0%,
            #090a0d 100%
        ) !important;
}


/* ACTIVE FORUM BUTTON */
.zrc-nav-active {
    background:
        linear-gradient(
            180deg,
            #72131d 0%,
            #350a10 60%,
            #10080a 100%
        ) !important;
}


/* CENTER RED GEM */
.zrc-nav-center {
    height: 72px !important;

    background:
        radial-gradient(
            circle,
            rgba(120,12,22,.35) 0%,
            #090a0d 70%
        ) !important;
}


/* =========================================================
   ACCOUNT BAR
   ========================================================= */

.zrc-memberbar {
    height: 42px !important;
}

.zrc-memberbar-inner {
    width: 1450px !important;
    max-width: calc(100% - 80px) !important;
    height: 42px !important;
}

.zrc-account .zr-user-menu {
    height: 42px !important;
}

.zrc-account .zr-user-welcome,
.zrc-account .zr-user-menu > a {
    height: 42px !important;
}


/* =========================================================
   HERO SMALL POLISH
   ========================================================= */

.zrc-hero {
    height: 320px !important;
}

/* Keep logo centered exactly */
.zrc-brand {
    top: 48% !important;
}

/* slightly stronger title */
.zrc-community-title strong {
    color: #ffffff !important;
    letter-spacing: 8px !important;

    text-shadow:
        0 2px 4px #000,
        0 0 10px rgba(190,20,30,.45) !important;
}

/* =========================================
   FINAL MEMBER BAR POLISH
   ========================================= */

.zrc-memberbar {
    height: 46px !important;
    min-height: 46px !important;

    background: #08090b !important;

    border-top: 1px solid rgba(255,255,255,.025) !important;
    border-bottom: 1px solid #24262a !important;
}

.zrc-memberbar-inner {
    height: 46px !important;
    min-height: 46px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
}

.zrc-account {
    height: 46px !important;

    display: flex !important;
    align-items: center !important;
}

.zrc-account .zr-user-menu {
    height: 46px !important;

    display: flex !important;
    align-items: center !important;
}

.zrc-account .zr-user-welcome,
.zrc-account .zr-user-menu > a {
    height: 46px !important;

    display: flex !important;
    align-items: center !important;

    box-sizing: border-box !important;
}


/* =========================================================
   ZERITH RSPS COMMUNITY FORUM
   COMPLETE HEADER CSS
   ========================================================= */


/* =========================================================
   MAIN HEADER
   ========================================================= */

.zrf-header {
    position: relative;
    z-index: 100;
    width: 100%;
    background: #050607;
}


/* =========================================================
   HERO
   ========================================================= */

.zrf-hero {
    position: relative;
    width: 100%;
    height: clamp(400px, 25vw, 500px);
    overflow: hidden;

    background-image:
        linear-gradient(
            180deg,
            rgba(0,0,0,.01) 0%,
            rgba(0,0,0,0) 60%,
            rgba(0,0,0,.10) 82%,
            rgba(0,0,0,.40) 100%
        ),
        url(/images/zerith-new/zerith-community-banner.png);

    background-size: 100% auto;
    background-position: center top;
    background-repeat: no-repeat;

    background-color: #07080a;

    border: 0;
    border-bottom: 1px solid #9f1520;
}

.zrf-hero::after {
    content: "";

    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;

    height: 3px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(135,12,21,.45),
            #df2030,
            rgba(135,12,21,.45),
            transparent
        );

    box-shadow:
        0 0 10px rgba(220,25,40,.30);

    pointer-events: none;
}


/* =========================================================
   ZERITH LOGO
   ========================================================= */

.zrf-brand {
    position: absolute;

    left: 50%;
    top: 47%;

    transform: translate(-50%, -50%);

    width: min(610px, 34vw);

    text-align: center;

    z-index: 5;
}

.zrf-brand > a {
    display: block;
}

.zrf-brand img {
    display: block;

    width: 100%;
    height: auto;

    margin: 0 auto;

    filter:
        drop-shadow(0 7px 7px rgba(0,0,0,.95))
        drop-shadow(0 0 7px rgba(180,15,27,.22));
}


/* =========================================================
   COMMUNITY FORUMS
   ========================================================= */

.zrf-title {
    position: relative;

    width: 126%;

    margin-left: -13%;
    margin-top: -8px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 15px;
}

.zrf-title strong {
    color: #ded5cf;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: clamp(15px, 1.02vw, 20px);

    font-weight: 400;

    letter-spacing: .34em;

    white-space: nowrap;

    text-shadow:
        0 1px 0 rgba(255,255,255,.10),
        0 2px 2px #000,
        0 4px 6px rgba(0,0,0,.95),
        0 0 5px rgba(155,12,24,.38),
        0 0 12px rgba(110,5,15,.20);
}


/* TITLE SIDE LINES */

.zrf-title > span {
    position: relative;

    display: block;

    width: 120px;
    height: 1px;

    flex: 0 1 120px;

    opacity: .85;

    background:
        linear-gradient(
            90deg,
            transparent 0%,
            rgba(95,7,15,.35) 15%,
            rgba(155,15,26,.70) 65%,
            #c91b2b 100%
        );

    box-shadow:
        0 0 4px rgba(190,20,33,.25);
}

.zrf-title > span:last-child {
    background:
        linear-gradient(
            90deg,
            #c91b2b 0%,
            rgba(155,15,26,.70) 35%,
            rgba(95,7,15,.35) 85%,
            transparent 100%
        );
}


/* TITLE ORNAMENT TIPS */

.zrf-title > span:first-child::after {
    content: "";

    position: absolute;

    right: -3px;
    top: 50%;

    width: 7px;
    height: 7px;

    border-top: 1px solid #d31d2d;
    border-right: 1px solid #d31d2d;

    transform:
        translateY(-50%)
        rotate(45deg);
}

.zrf-title > span:last-child::before {
    content: "";

    position: absolute;

    left: -3px;
    top: 50%;

    width: 7px;
    height: 7px;

    border-left: 1px solid #d31d2d;
    border-bottom: 1px solid #d31d2d;

    transform:
        translateY(-50%)
        rotate(45deg);
}


/* =========================================================
   NAVIGATION FRAME
   ========================================================= */

.zrf-nav-shell {
    position: relative;

    height: 92px;

    background:
        linear-gradient(
            180deg,
            #111316 0%,
            #08090b 60%,
            #050607 100%
        );

    border-top: 2px solid #8c111b;
    border-bottom: 2px solid #601018;

    box-shadow:
        0 -6px 20px rgba(0,0,0,.85),
        0 8px 20px rgba(0,0,0,.65);

    z-index: 20;
}

.zrf-nav-shell::before {
    content: "";

    position: absolute;

    left: 4%;
    right: 4%;
    top: -3px;

    height: 3px;

    background:
        linear-gradient(
            90deg,
            transparent,
            #7c1019 12%,
            #e92637 48%,
            #e92637 52%,
            #7c1019 88%,
            transparent
        );

    box-shadow:
        0 0 10px rgba(225,25,40,.35);
}

.zrf-nav-shell::after {
    content: "";

    position: absolute;

    left: 3%;
    right: 3%;
    bottom: -4px;

    height: 4px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(128,13,22,.35),
            rgba(230,30,45,.65),
            rgba(128,13,22,.35),
            transparent
        );

    opacity: .7;
}


/* =========================================================
   NAV GRID
   ========================================================= */

.zrf-nav {
    position: relative;

    width: 90%;
    max-width: 1700px;
    height: 92px;

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        1fr
        1fr
        1fr
        150px
        1fr
        1fr
        1fr;

    align-items: stretch;
}


/* =========================================================
   NAV BUTTONS
   ========================================================= */

.zrf-nav-button {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 14px;

    box-sizing: border-box;

    padding: 0 25px;

    color: #e8e5e2 !important;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 15px;
    font-weight: 700;

    text-decoration: none !important;

    background:
        linear-gradient(
            180deg,
            #151619 0%,
            #0a0b0d 58%,
            #07080a 100%
        );

    border-left: 1px solid rgba(255,255,255,.035);
    border-right: 1px solid #020304;

    transition: .18s ease;
}


/* ANGLED INNER PANEL */

.zrf-nav-button::before {
    content: "";

    position: absolute;

    top: 6px;
    bottom: 6px;
    left: 7px;
    right: 7px;

    border-top: 1px solid rgba(255,255,255,.04);
    border-bottom: 1px solid rgba(145,15,25,.38);

    transform: skewX(-11deg);

    pointer-events: none;
}


/* SMALL RED LOWER DETAIL */

.zrf-nav-button::after {
    content: "";

    position: absolute;

    left: 20%;
    right: 20%;

    bottom: 4px;

    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(198,22,34,.70),
            transparent
        );
}

.zrf-nav-button:hover {
    color: #fff !important;

    background:
        linear-gradient(
            180deg,
            #321016,
            #15090c 65%,
            #08090b
        );

    box-shadow:
        inset 0 0 28px rgba(220,25,40,.14);
}


/* =========================================================
   NAV ICONS
   ========================================================= */

.zrf-nav-symbol {
    position: relative;

    z-index: 3;

    color: #ed293b;

    font-size: 22px;
    line-height: 1;

    text-shadow:
        0 0 8px rgba(237,41,59,.65);
}

.zrf-nav-button > span:last-child {
    position: relative;
    z-index: 3;
}


/* =========================================================
   ACTIVE NAV
   ========================================================= */

.zrf-active {
    background:
        linear-gradient(
            180deg,
            #8f1825 0%,
            #5b0e18 43%,
            #270a10 72%,
            #0c080a 100%
        ) !important;

    box-shadow:
        inset 0 0 30px rgba(255,42,58,.16),
        inset 0 1px rgba(255,75,85,.18) !important;
}

.zrf-active::after {
    left: 10%;
    right: 10%;

    bottom: 5px;

    height: 3px;

    background: #ff2639;

    box-shadow:
        0 0 6px #ff2639,
        0 0 14px rgba(255,38,57,.85);
}


/* =========================================================
   DISCORD
   ========================================================= */

.zrf-discord-symbol {
    position: relative;

    z-index: 3;

    color: #6e78ff;

    font-size: 18px;

    text-shadow:
        0 0 9px rgba(110,120,255,.9);
}


/* =========================================================
   CENTER CRYSTAL
   ========================================================= */

.zrf-crystal {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: visible;

    background:
        radial-gradient(
            ellipse at center,
            rgba(175,14,28,.40) 0%,
            rgba(75,8,14,.22) 38%,
            #08090b 74%
        );
}

.zrf-crystal::before,
.zrf-crystal::after {
    content: "";

    position: absolute;

    top: 50%;

    width: 80px;
    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(120,12,21,.75),
            #ba1726
        );
}

.zrf-crystal::before {
    right: 65%;
}

.zrf-crystal::after {
    left: 65%;

    transform: rotate(180deg);
}

.zrf-crystal span {
    position: relative;

    z-index: 5;

    color: #ff293b;

    font-size: 58px;
    line-height: 1;

    transform: scaleX(.67);

    text-shadow:
        0 0 4px #ff293b,
        0 0 10px #e11b2d,
        0 0 22px rgba(225,27,45,.85),
        0 0 38px rgba(190,16,31,.55);
}

.zrf-crystal span::before {
    content: "";

    position: absolute;

    width: 44px;
    height: 44px;

    left: 50%;
    top: 50%;

    transform:
        translate(-50%, -50%)
        rotate(45deg);

    border: 1px solid rgba(179,19,32,.4);

    box-shadow:
        0 0 13px rgba(195,20,34,.2);

    z-index: -1;
}


/* =========================================================
   ACCOUNT BAR
   ========================================================= */

.zrf-accountbar {
    position: relative;

    height: 68px;

    background:
        linear-gradient(
            180deg,
            #08090b 0%,
            #050607 100%
        );

    border-bottom: 1px solid rgba(116,14,23,.75);

    box-shadow:
        inset 0 -8px 18px rgba(0,0,0,.22);
}

.zrf-accountbar::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(230,28,42,.75) 14%,
            rgba(110,13,22,.25) 45%,
            rgba(110,13,22,.25) 55%,
            rgba(230,28,42,.75) 86%,
            transparent
        );
}

.zrf-account-inner {
    width: 90%;
    max-width: 1700px;
    height: 68px;

    margin: 0 auto;

    display: flex;
    align-items: center;
}


/* =========================================================
   MEMBER MENU
   ========================================================= */

.zrf-account-inner .zr-user-menu {
    width: 100% !important;
    height: 68px !important;

    margin: 0 !important;
    padding: 0 !important;

    display: flex !important;
    align-items: center !important;

    white-space: nowrap;
}

.zrf-account-inner .zr-user-welcome {
    height: 68px !important;

    margin-right: auto !important;
    padding: 0 18px !important;

    display: flex !important;
    align-items: center !important;

    color: #aaaeb4 !important;

    font-size: 11px !important;
}

.zrf-account-inner .zr-user-welcome strong,
.zrf-account-inner .zr-user-welcome a {
    color: #ed2b3b !important;

    text-shadow:
        0 0 7px rgba(237,43,59,.3);
}

.zrf-account-inner .zr-user-menu > a {
    height: 68px !important;

    padding: 0 20px !important;

    display: flex !important;
    align-items: center !important;

    color: #bfc1c5 !important;

    border-left: 1px solid rgba(255,255,255,.055) !important;

    font-size: 10px !important;
    font-weight: 700 !important;

    text-decoration: none !important;

    transition: .15s ease;
}

.zrf-account-inner .zr-user-menu > a:hover {
    color: #fff !important;

    background:
        linear-gradient(
            180deg,
            rgba(150,14,24,.13),
            transparent
        ) !important;
}

.zrf-account-inner .zr-user-logout {
    color: #e74a55 !important;
}


/* =========================================================
   BREADCRUMB AREA
   ========================================================= */

.zrf-breadcrumb-shell {
    position: relative;

    box-sizing: border-box;

    padding: 20px 4% 23px;

    background:
        linear-gradient(
            180deg,
            #08090b,
            #060708
        );
}


/* =========================================================
   BREADCRUMB FRAME
   ========================================================= */

.zrf-breadcrumb {
    position: relative;

    box-sizing: border-box;

    width: 100%;
    max-width: 1750px;
    height: 62px;

    margin: 0 auto;

    padding: 0 42px;

    display: flex;
    align-items: center;

    color: #c6c7ca;

    background:
        linear-gradient(
            90deg,
            #171013 0%,
            #101113 18%,
            #0d0f11 52%,
            #101113 82%,
            #171013 100%
        );

    border-top: 1px solid rgba(136,16,25,.8);
    border-bottom: 1px solid rgba(136,16,25,.8);

    clip-path:
        polygon(
            23px 0,
            calc(100% - 23px) 0,
            100% 50%,
            calc(100% - 23px) 100%,
            23px 100%,
            0 50%
        );

    box-shadow:
        inset 0 0 30px rgba(130,14,23,.08),
        0 6px 18px rgba(0,0,0,.38);
}

.zrf-breadcrumb::before {
    content: "";

    position: absolute;

    left: 22px;
    right: 22px;
    top: 4px;
    bottom: 4px;

    border-top: 1px solid rgba(255,255,255,.025);
    border-bottom: 1px solid rgba(95,11,18,.55);

    pointer-events: none;
}

.zrf-breadcrumb::after {
    content: "";

    position: absolute;

    left: 0;
    top: 0;
    bottom: 0;

    width: 240px;

    background:
        linear-gradient(
            90deg,
            rgba(104,10,18,.30),
            rgba(35,10,14,.25),
            transparent
        );

    border-right: 1px solid rgba(120,15,24,.28);

    clip-path:
        polygon(
            23px 0,
            calc(100% - 22px) 0,
            100% 50%,
            calc(100% - 22px) 100%,
            23px 100%,
            0 50%
        );

    pointer-events: none;
}

.zrf-breadcrumb-icon {
    position: relative;

    z-index: 3;

    margin-right: 17px;

    color: #e92838;

    font-size: 17px;

    text-shadow:
        0 0 8px rgba(233,40,56,.65);
}

.zrf-breadcrumb .navigation {
    position: relative;

    z-index: 3;

    margin: 0 !important;
    padding: 0 !important;

    color: #c0c2c6 !important;

    font-size: 12px !important;
    font-weight: 700 !important;
}

.zrf-breadcrumb .navigation a {
    color: #c7c9cc !important;

    text-decoration: none !important;
}


/* =========================================================
   DO NOT MOVE THE EXISTING FORUM BODY
   ========================================================= */

#content {
    padding-top: 0 !important;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1000px) {

    .zrf-hero {
        height: 300px;

        background-size: auto 100%;
        background-position: center top;
    }

    .zrf-brand {
        width: min(490px, 60vw);
    }

    .zrf-title {
        width: 115%;
        margin-left: -7.5%;

        gap: 9px;
    }

    .zrf-title strong {
        font-size: 13px;

        letter-spacing: .25em;
    }

    .zrf-title > span {
        width: 45px;
        flex-basis: 45px;
    }


    .zrf-nav-shell {
        height: auto;
    }

    .zrf-nav {
        width: 100%;
        height: auto;

        grid-template-columns:
            repeat(3, 1fr);
    }

    .zrf-nav-button {
        min-height: 62px;

        padding: 0 10px;

        font-size: 11px;
    }

    .zrf-nav-symbol {
        font-size: 17px;
    }

    .zrf-crystal {
        display: none;
    }


    .zrf-accountbar,
    .zrf-account-inner {
        height: auto;

        min-height: 60px;
    }

    .zrf-account-inner {
        width: 96%;
    }


    .zrf-breadcrumb-shell {
        padding-left: 12px;
        padding-right: 12px;
    }

    .zrf-breadcrumb {
        height: 56px;

        padding-left: 30px;
    }
}


/* =========================================================
   ZERITH RSPS COMMUNITY HEADER
   FULL REPLACEMENT
   ========================================================= */


/* ---------------------------------------------------------
   HEADER
   --------------------------------------------------------- */

.zrf-header {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
    background: #070707;
    overflow: visible;
    z-index: 20;
}


/* ---------------------------------------------------------
   HERO
   --------------------------------------------------------- */

.zrf-hero {
    position: relative;
    width: 100%;
    height: clamp(400px, 25vw, 500px);

    background-image:
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.02) 0%,
            rgba(0, 0, 0, 0.00) 62%,
            rgba(0, 0, 0, 0.12) 82%,
            rgba(0, 0, 0, 0.78) 100%
        ),
        url(/images/zerith-new/zerith-community-banner.png);

    background-position: center top;
    background-repeat: no-repeat;
    background-size: 100% auto;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    border-bottom: 1px solid #7b0909;

    box-shadow:
        inset 0 -40px 70px rgba(0, 0, 0, 0.65),
        0 5px 22px rgba(0, 0, 0, 0.85);
}


/* subtle bottom red glow */

.zrf-hero::after {
    content: "";
    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    height: 2px;

    background: linear-gradient(
        90deg,
        transparent,
        rgba(130, 0, 0, 0.45),
        rgba(255, 28, 28, 0.9),
        rgba(130, 0, 0, 0.45),
        transparent
    );

    box-shadow:
        0 0 8px rgba(255, 0, 0, 0.5),
        0 0 18px rgba(120, 0, 0, 0.45);

    pointer-events: none;
}


/* ---------------------------------------------------------
   NEW COMBINED BRAND IMAGE
   --------------------------------------------------------- */

.zrf-brand {
    position: absolute;

    left: 50%;
    top: 48%;

    transform: translate(-50%, -50%);

    width: min(560px, 34vw);

    z-index: 5;

    text-align: center;
}

.zrf-brand a {
    display: block;
    width: 100%;

    text-decoration: none;

    transition:
        transform 0.25s ease,
        filter 0.25s ease;
}

.zrf-brand img {
    display: block;

    width: 100%;
    height: auto;

    margin: 0 auto;

    object-fit: contain;

    filter:
        drop-shadow(0 7px 8px rgba(0, 0, 0, 0.9))
        drop-shadow(0 0 9px rgba(105, 0, 0, 0.35));
}

.zrf-brand a:hover {
    transform: scale(1.015);
}

.zrf-brand a:hover img {
    filter:
        drop-shadow(0 8px 9px rgba(0, 0, 0, 0.95))
        drop-shadow(0 0 13px rgba(170, 0, 0, 0.48));
}


/* Old CSS title is no longer used */

.zrf-title {
    display: none !important;
}


/* =========================================================
   FANTASY NAVIGATION
   ========================================================= */

.zrf-nav-shell {
    position: relative;

    width: 100%;

    height: 92px;

    margin: 0;
    padding: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background:
        linear-gradient(
            to bottom,
            #090909 0%,
            #050505 45%,
            #020202 100%
        );

    border-top: 1px solid rgba(125, 11, 11, 0.75);
    border-bottom: 1px solid rgba(105, 7, 7, 0.72);

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.025),
        inset 0 -20px 40px rgba(0, 0, 0, 0.75),
        0 9px 28px rgba(0, 0, 0, 0.8);

    z-index: 30;
}


/* long red ornamental line */

.zrf-nav-shell::before {
    content: "";

    position: absolute;

    left: 4%;
    right: 4%;
    top: 50%;

    height: 1px;

    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(100, 0, 0, 0.25) 6%,
        rgba(185, 14, 14, 0.55) 20%,
        rgba(90, 0, 0, 0.15) 42%,
        transparent 50%,
        rgba(90, 0, 0, 0.15) 58%,
        rgba(185, 14, 14, 0.55) 80%,
        rgba(100, 0, 0, 0.25) 94%,
        transparent 100%
    );

    pointer-events: none;
}


/* ---------------------------------------------------------
   NAV CONTAINER
   --------------------------------------------------------- */

.zrf-nav {
    position: relative;

    width: min(1380px, 94%);

    height: 70px;

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        minmax(130px, 1fr)
        minmax(130px, 1fr)
        minmax(130px, 1fr)
        150px
        minmax(130px, 1fr)
        minmax(150px, 1fr)
        minmax(150px, 1fr);

    align-items: center;

    gap: 4px;

    z-index: 2;
}


/* =========================================================
   NAV BUTTON
   ========================================================= */

.zrf-nav-button {
    position: relative;

    height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 9px;

    padding: 0 22px;

    color: #b7b7b7;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 13px;
    font-weight: 700;

    letter-spacing: 2px;

    text-decoration: none !important;

    text-shadow:
        0 2px 2px #000,
        0 0 5px rgba(0, 0, 0, 0.9);

    background:
        linear-gradient(
            180deg,
            rgba(29, 29, 29, 0.97) 0%,
            rgba(13, 13, 13, 0.98) 50%,
            rgba(4, 4, 4, 1) 100%
        );

    border-top: 1px solid #3b3b3b;
    border-bottom: 1px solid #210303;

    clip-path: polygon(
        8% 0,
        92% 0,
        100% 50%,
        92% 100%,
        8% 100%,
        0 50%
    );

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.04),
        inset 0 -10px 20px rgba(0, 0, 0, 0.75);

    transition:
        color 0.2s ease,
        filter 0.2s ease,
        transform 0.2s ease;

    overflow: hidden;
}


/* inner metallic highlight */

.zrf-nav-button::before {
    content: "";

    position: absolute;

    left: 10px;
    right: 10px;
    top: 4px;
    bottom: 4px;

    clip-path: polygon(
        6% 0,
        94% 0,
        100% 50%,
        94% 100%,
        6% 100%,
        0 50%
    );

    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(135, 8, 8, 0.25);

    pointer-events: none;
}


/* dark/red bottom plate */

.zrf-nav-button::after {
    content: "";

    position: absolute;

    left: 20%;
    right: 20%;
    bottom: 0;

    height: 2px;

    background: #520707;

    box-shadow:
        0 0 5px rgba(145, 0, 0, 0.35);

    opacity: 0.55;

    transition:
        opacity 0.2s ease,
        box-shadow 0.2s ease;
}


/* ---------------------------------------------------------
   NAV ICONS
   --------------------------------------------------------- */

.zrf-nav-symbol,
.zrf-discord-symbol {
    position: relative;

    z-index: 2;

    min-width: 18px;

    color: #686868;

    font-family: Arial, sans-serif;

    font-size: 16px;

    line-height: 1;

    text-align: center;

    transition:
        color 0.2s ease,
        text-shadow 0.2s ease;
}

.zrf-nav-text {
    position: relative;
    z-index: 2;
}


/* ---------------------------------------------------------
   NAV HOVER
   --------------------------------------------------------- */

.zrf-nav-button:hover {
    color: #f1e7dc;

    transform: translateY(-1px);

    filter: brightness(1.2);

    background:
        linear-gradient(
            180deg,
            rgba(52, 15, 15, 0.98) 0%,
            rgba(25, 7, 7, 0.98) 48%,
            rgba(7, 3, 3, 1) 100%
        );
}

.zrf-nav-button:hover::after {
    opacity: 1;

    background: #b01818;

    box-shadow:
        0 0 8px rgba(255, 25, 25, 0.75),
        0 0 15px rgba(150, 0, 0, 0.6);
}

.zrf-nav-button:hover .zrf-nav-symbol,
.zrf-nav-button:hover .zrf-discord-symbol {
    color: #d74444;

    text-shadow:
        0 0 7px rgba(220, 25, 25, 0.7);
}


/* ---------------------------------------------------------
   ACTIVE NAV BUTTON
   --------------------------------------------------------- */

.zrf-nav-button.zrf-active {
    color: #fff0e7;

    background:
        linear-gradient(
            180deg,
            #771313 0%,
            #4a0b0b 38%,
            #250505 72%,
            #0c0202 100%
        );

    border-top-color: #b42a2a;

    text-shadow:
        0 2px 2px #000,
        0 0 7px rgba(255, 45, 45, 0.45);

    filter:
        drop-shadow(0 0 5px rgba(120, 0, 0, 0.35));
}

.zrf-nav-button.zrf-active::before {
    border-top-color: rgba(255, 112, 112, 0.25);
    border-bottom-color: rgba(150, 0, 0, 0.55);
}

.zrf-nav-button.zrf-active::after {
    opacity: 1;

    height: 2px;

    background: #e32727;

    box-shadow:
        0 0 8px rgba(255, 30, 30, 0.9),
        0 0 16px rgba(175, 0, 0, 0.75);
}

.zrf-nav-button.zrf-active .zrf-nav-symbol {
    color: #f05b5b;

    text-shadow:
        0 0 8px rgba(255, 20, 20, 0.8);
}


/* =========================================================
   CENTER CRYSTAL / DEMON ORNAMENT
   ========================================================= */

.zrf-crystal {
    position: relative;

    width: 138px;
    height: 90px;

    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: center;

    z-index: 10;

    filter:
        drop-shadow(0 7px 7px rgba(0, 0, 0, 0.95));
}


/* outer dark diamond */

.zrf-crystal::before {
    content: "";

    position: absolute;

    width: 76px;
    height: 76px;

    left: 50%;
    top: 50%;

    transform:
        translate(-50%, -50%)
        rotate(45deg);

    background:
        linear-gradient(
            135deg,
            #3b3b3b 0%,
            #111 20%,
            #050505 50%,
            #280606 78%,
            #650909 100%
        );

    border: 2px solid #3d3d3d;

    box-shadow:
        inset 0 0 0 3px #080808,
        inset 0 0 16px rgba(0, 0, 0, 1),
        0 0 0 2px #160202,
        0 0 12px rgba(100, 0, 0, 0.5);
}


/* side spikes */

.zrf-crystal::after {
    content: "";

    position: absolute;

    width: 138px;
    height: 42px;

    left: 50%;
    top: 50%;

    transform: translate(-50%, -50%);

    background:
        linear-gradient(
            90deg,
            transparent 0%,
            #350606 13%,
            #151515 24%,
            transparent 36%,
            transparent 64%,
            #151515 76%,
            #350606 87%,
            transparent 100%
        );

    clip-path: polygon(
        0 50%,
        25% 0,
        36% 36%,
        50% 50%,
        64% 36%,
        75% 0,
        100% 50%,
        75% 100%,
        64% 64%,
        50% 50%,
        36% 64%,
        25% 100%
    );

    z-index: -1;

    opacity: 0.95;
}


/* glowing center */

.zrf-crystal span {
    position: relative;

    z-index: 4;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 43px;
    height: 43px;

    color: #ff9c9c;

    font-size: 31px;

    line-height: 1;

    transform: rotate(45deg);

    background:
        radial-gradient(
            circle at 38% 32%,
            #ff8585 0%,
            #ed2424 15%,
            #8b0909 40%,
            #370303 68%,
            #090101 100%
        );

    border: 1px solid #c52a2a;

    box-shadow:
        inset 0 0 10px rgba(255, 65, 65, 0.8),
        0 0 8px rgba(255, 0, 0, 0.8),
        0 0 20px rgba(130, 0, 0, 0.8);

    text-shadow:
        0 0 6px #fff,
        0 0 12px #ff0000;
}

.zrf-crystal span::first-letter {
    transform: rotate(-45deg);
}


/* =========================================================
   ACCOUNT BAR
   ========================================================= */

.zrf-accountbar {
    position: relative;

    width: 100%;

    min-height: 42px;

    margin: 0;
    padding: 0;

    background:
        linear-gradient(
            180deg,
            #0d0d0d 0%,
            #080808 45%,
            #030303 100%
        );

    border-top: 1px solid #242424;
    border-bottom: 1px solid #260404;

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.02),
        inset 0 -8px 18px rgba(0, 0, 0, 0.55);

    z-index: 25;
}

.zrf-account-inner {
    width: min(1380px, 94%);

    min-height: 42px;

    margin: 0 auto;

    display: flex;
    align-items: center;

    color: #858585;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;

    line-height: 1.4;
}


/* account links */

.zrf-account-inner a {
    color: #a6a6a6;

    text-decoration: none;

    transition:
        color 0.2s ease,
        text-shadow 0.2s ease;
}

.zrf-account-inner a:hover {
    color: #e4e4e4;

    text-shadow:
        0 0 6px rgba(150, 0, 0, 0.5);
}


/* MyBB welcome blocks */

.zrf-account-inner .welcome {
    width: 100%;
}

.zrf-account-inner .welcome_member,
.zrf-account-inner .welcome_guest {
    width: 100%;
}


/* =========================================================
   BREADCRUMB
   ========================================================= */

.zrf-breadcrumb-shell {
    position: relative;

    width: 100%;

    margin: 0;

    padding: 14px 0 12px;

    background:
        linear-gradient(
            180deg,
            #070707 0%,
            #050505 100%
        );

    border-bottom: 1px solid #151515;
}

.zrf-breadcrumb {
    position: relative;

    width: min(1380px, 94%);

    min-height: 46px;

    margin: 0 auto;

    padding: 0 30px 0 58px;

    box-sizing: border-box;

    display: flex;
    align-items: center;

    color: #8c8c8c;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 12px;

    letter-spacing: 0.3px;

    background:
        linear-gradient(
            180deg,
            #161616 0%,
            #0d0d0d 48%,
            #070707 100%
        );

    border-top: 1px solid #323232;
    border-bottom: 1px solid #2a0505;

    clip-path: polygon(
        14px 0,
        calc(100% - 14px) 0,
        100% 50%,
        calc(100% - 14px) 100%,
        14px 100%,
        0 50%
    );

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.035),
        inset 0 -10px 20px rgba(0, 0, 0, 0.45);
}


/* red lower detail */

.zrf-breadcrumb::after {
    content: "";

    position: absolute;

    left: 48px;
    right: 30px;
    bottom: 0;

    height: 1px;

    background: linear-gradient(
        90deg,
        #750909,
        rgba(95, 0, 0, 0.2),
        transparent
    );
}


/* breadcrumb home icon */

.zrf-breadcrumb-icon {
    position: absolute;

    left: 22px;
    top: 50%;

    transform: translateY(-50%);

    width: 25px;
    height: 25px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #9e2424;

    font-family: Arial, sans-serif;
    font-size: 14px;

    background:
        linear-gradient(
            180deg,
            #1d1d1d,
            #090909
        );

    border: 1px solid #343434;

    transform-origin: center;

    text-shadow:
        0 0 7px rgba(180, 0, 0, 0.6);
}


/* MyBB breadcrumb links */

.zrf-breadcrumb a {
    color: #969696;

    text-decoration: none;

    transition: color 0.2s ease;
}

.zrf-breadcrumb a:hover {
    color: #d5d5d5;
}

.zrf-breadcrumb .active {
    color: #b82b2b;
}


/* =========================================================
   IMPORTANT:
   DO NOT CHANGE FORUM BODY WIDTH / POSITION
   ========================================================= */

/*
   There are intentionally NO rules here for:

   #content > .wrapper
   .forums
   .forum
   .sidebar
   .sidebox

   Your existing forum/category/sidebar layout stays untouched.
*/


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media screen and (max-width: 1250px) {

    .zrf-hero {
        height: clamp(350px, 27vw, 430px);
    }

    .zrf-brand {
        width: min(520px, 38vw);
    }

    .zrf-nav {
        width: 97%;

        grid-template-columns:
            1fr
            1fr
            1fr
            120px
            1fr
            1fr
            1fr;

        gap: 2px;
    }

    .zrf-nav-button {
        padding-left: 12px;
        padding-right: 12px;

        font-size: 11px;
        letter-spacing: 1.3px;
    }

    .zrf-crystal {
        width: 112px;
    }

    .zrf-account-inner,
    .zrf-breadcrumb {
        width: 96%;
    }
}


/* ---------------------------------------------------------
   TABLET
   --------------------------------------------------------- */

@media screen and (max-width: 900px) {

    .zrf-hero {
        height: 320px;

        background-size: cover;
        background-position: center top;
    }

    .zrf-brand {
        width: min(470px, 58vw);
        top: 48%;
    }

    .zrf-nav-shell {
        height: auto;
        padding: 10px 0;
    }

    .zrf-nav {
        height: auto;

        grid-template-columns:
            repeat(3, 1fr);

        gap: 5px;
    }

    .zrf-crystal {
        display: none;
    }

    .zrf-nav-button {
        height: 46px;
    }

    .zrf-account-inner {
        min-height: 40px;
    }
}


/* ---------------------------------------------------------
   MOBILE
   --------------------------------------------------------- */

@media screen and (max-width: 600px) {

    .zrf-hero {
        height: 245px;

        background-size: cover;
        background-position: center top;
    }

    .zrf-brand {
        width: 78%;
        max-width: 410px;
        top: 49%;
    }

    .zrf-nav {
        width: 94%;

        grid-template-columns:
            repeat(2, 1fr);
    }

    .zrf-nav-button {
        height: 43px;

        padding: 0 8px;

        font-size: 10px;
        letter-spacing: 1px;

        gap: 6px;
    }

    .zrf-nav-symbol,
    .zrf-discord-symbol {
        font-size: 13px;
    }

    .zrf-account-inner {
        width: 92%;

        font-size: 10px;
    }

    .zrf-breadcrumb-shell {
        padding: 9px 0;
    }

    .zrf-breadcrumb {
        width: 94%;

        min-height: 40px;

        padding-left: 48px;
        padding-right: 20px;

        font-size: 10px;
    }

    .zrf-breadcrumb-icon {
        left: 17px;

        width: 22px;
        height: 22px;

        font-size: 12px;
    }
}


/* =========================================================
   ZERITH NEW FANTASY NAV
   PASTE THIS AT THE VERY BOTTOM OF global.css
   ========================================================= */


/* =========================
   HERO / NEW BRAND
   ========================= */

.zrf-brand {
    position: absolute !important;
    left: 50% !important;
    top: 48% !important;

    transform: translate(-50%, -50%) !important;

    width: min(560px, 34vw) !important;

    z-index: 10 !important;
    text-align: center !important;
}

.zrf-brand a {
    display: block !important;
    width: 100% !important;
}

.zrf-brand img {
    display: block !important;

    width: 100% !important;
    height: auto !important;

    margin: 0 auto !important;

    filter:
        drop-shadow(0 7px 8px rgba(0,0,0,.90))
        drop-shadow(0 0 9px rgba(120,0,0,.35)) !important;
}

.zrf-title {
    display: none !important;
}


/* =========================
   NAVIGATION AREA
   ========================= */

.zrf-nav-shell {
    position: relative !important;

    width: 100% !important;
    height: 170px !important;

    margin: 0 !important;
    padding: 0 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    background-color: #030303 !important;

    background-image:
        url(/images/zerith-new/zerith-nav-frame.png) !important;

    background-repeat: no-repeat !important;

    background-position:
        center center !important;

    background-size:
        min(1500px, 96%) auto !important;

    border-top:
        1px solid #650707 !important;

    border-bottom:
        1px solid #4c0404 !important;

    box-shadow:
        inset 0 20px 35px rgba(0,0,0,.35),
        inset 0 -20px 35px rgba(0,0,0,.55),
        0 8px 25px rgba(0,0,0,.90) !important;

    overflow: visible !important;

    z-index: 30 !important;
}


/* REMOVE OLD DECORATION */

.zrf-nav-shell::before,
.zrf-nav-shell::after {
    display: none !important;
    content: none !important;
}


/* =========================
   NAV LINK GRID
   ========================= */

.zrf-nav {
    position: relative !important;

    width: min(1320px, 84%) !important;
    height: 170px !important;

    margin: 0 auto !important;

    display: grid !important;

    grid-template-columns:
        minmax(120px, 1fr)
        minmax(120px, 1fr)
        minmax(120px, 1fr)
        190px
        minmax(120px, 1fr)
        minmax(135px, 1fr)
        minmax(135px, 1fr) !important;

    align-items: center !important;

    gap: 0 !important;

    z-index: 5 !important;
}


/* =========================
   BUTTONS
   ========================= */

.zrf-nav-button {
    position: relative !important;

    height: 64px !important;

    margin: 0 4px !important;
    padding: 0 8px !important;

    display: flex !important;

    align-items: center !important;
    justify-content: center !important;

    gap: 9px !important;

    background:
        transparent !important;

    border:
        none !important;

    box-shadow:
        none !important;

    clip-path:
        none !important;

    color:
        #d8d1c9 !important;

    font-family:
        Georgia,
        "Times New Roman",
        serif !important;

    font-size:
        13px !important;

    font-weight:
        700 !important;

    letter-spacing:
        2px !important;

    text-decoration:
        none !important;

    text-transform:
        uppercase !important;

    text-shadow:
        0 2px 2px #000,
        0 0 6px #000 !important;

    overflow:
        visible !important;

    transition:
        color .2s ease,
        text-shadow .2s ease,
        transform .2s ease !important;
}


/* REMOVE OLD BUTTON SHAPES */

.zrf-nav-button::before,
.zrf-nav-button::after {
    display: none !important;
    content: none !important;
}


/* =========================
   NAV TEXT
   ========================= */

.zrf-nav-text {
    position: relative !important;

    z-index: 5 !important;
}


/* =========================
   ICONS
   ========================= */

.zrf-nav-symbol,
.zrf-discord-symbol {
    position: relative !important;

    z-index: 5 !important;

    min-width: 18px !important;

    color:
        #a84545 !important;

    font-family:
        Arial,
        Helvetica,
        sans-serif !important;

    font-size:
        15px !important;

    text-align:
        center !important;

    text-shadow:
        0 0 6px rgba(190,0,0,.65) !important;
}


/* =========================
   HOVER
   ========================= */

.zrf-nav-button:hover {
    color:
        #ffffff !important;

    transform:
        translateY(-1px) !important;

    text-shadow:
        0 2px 2px #000,
        0 0 7px #000,
        0 0 10px rgba(255,35,35,.65) !important;
}

.zrf-nav-button:hover .zrf-nav-symbol,
.zrf-nav-button:hover .zrf-discord-symbol {
    color:
        #ff5555 !important;

    text-shadow:
        0 0 6px rgba(255,20,20,.90),
        0 0 12px rgba(180,0,0,.70) !important;
}


/* =========================
   ACTIVE BUTTON
   ========================= */

.zrf-nav-button.zrf-active {
    color:
        #fff4ed !important;

    background:
        transparent !important;

    border:
        none !important;

    box-shadow:
        none !important;

    filter:
        none !important;

    text-shadow:
        0 2px 2px #000,
        0 0 6px #000,
        0 0 9px rgba(255,30,30,.75) !important;
}


/* ACTIVE UNDERLINE */

.zrf-nav-button.zrf-active .zrf-nav-text::after {
    content: "" !important;

    position: absolute !important;

    left: 8% !important;
    right: 8% !important;

    bottom: -13px !important;

    height: 2px !important;

    background:
        linear-gradient(
            90deg,
            transparent,
            #bd1010,
            #ff4b4b,
            #bd1010,
            transparent
        ) !important;

    box-shadow:
        0 0 7px rgba(255,25,25,.80) !important;
}


/* =========================
   REMOVE OLD CSS CRYSTAL
   ========================= */

/*
   The big crystal is now inside
   zerith-nav-frame.png.
*/

.zrf-crystal {
    position: relative !important;

    width: 190px !important;
    height: 170px !important;

    margin: 0 !important;

    background:
        transparent !important;

    border:
        none !important;

    box-shadow:
        none !important;

    filter:
        none !important;

    pointer-events:
        none !important;
}

.zrf-crystal::before,
.zrf-crystal::after,
.zrf-crystal span {
    display:
        none !important;

    content:
        none !important;
}


/* =========================
   ACCOUNT BAR
   ========================= */

.zrf-accountbar {
    position: relative !important;

    width: 100% !important;

    min-height: 42px !important;

    margin: 0 !important;

    background:
        linear-gradient(
            180deg,
            #0b0b0b 0%,
            #070707 50%,
            #030303 100%
        ) !important;

    border-top:
        1px solid #1d1d1d !important;

    border-bottom:
        1px solid #300303 !important;

    z-index:
        25 !important;
}

.zrf-account-inner {
    width:
        min(1380px, 94%) !important;

    min-height:
        42px !important;

    margin:
        0 auto !important;

    display:
        flex !important;

    align-items:
        center !important;
}


/* =========================================================
   TABLET
   ========================================================= */

@media screen and (max-width: 900px) {

    .zrf-brand {
        width:
            min(470px, 58vw) !important;
    }

    .zrf-nav-shell {
        height:
            auto !important;

        min-height:
            150px !important;

        padding:
            14px 0 !important;

        background-size:
            1100px auto !important;
    }

    .zrf-nav {
        width:
            92% !important;

        height:
            auto !important;

        grid-template-columns:
            repeat(3, 1fr) !important;

        gap:
            5px !important;
    }

    .zrf-crystal {
        display:
            none !important;
    }

    .zrf-nav-button {
        height:
            46px !important;

        background:
            rgba(5,5,5,.80) !important;

        border:
            1px solid rgba(110,15,15,.40) !important;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media screen and (max-width: 600px) {

    .zrf-brand {
        width:
            78% !important;
    }

    .zrf-nav-shell {
        min-height:
            185px !important;

        background-size:
            900px auto !important;
    }

    .zrf-nav {
        width:
            92% !important;

        grid-template-columns:
            repeat(2, 1fr) !important;
    }

    .zrf-nav-button {
        height:
            43px !important;

        font-size:
            10px !important;

        letter-spacing:
            1px !important;
    }
}


/* =========================================================
   ZERITH NAV FINAL SIZE / POSITION OVERRIDE
   PASTE AT VERY BOTTOM OF global.css
   ========================================================= */

.zrf-nav-shell {
    height: 135px !important;

    background-size:
        1450px auto !important;

    background-position:
        center 50% !important;

    overflow: hidden !important;
}


.zrf-nav {
    width: min(1270px, 82%) !important;
    height: 135px !important;

    grid-template-columns:
        minmax(120px, 1fr)
        minmax(120px, 1fr)
        minmax(120px, 1fr)
        175px
        minmax(120px, 1fr)
        minmax(135px, 1fr)
        minmax(135px, 1fr) !important;
}


.zrf-crystal {
    width: 175px !important;
    height: 135px !important;
}


.zrf-nav-button {
    height: 56px !important;

    margin-top: 0 !important;

    font-size: 13px !important;

    letter-spacing: 1.8px !important;
}


/* account bar directly underneath artwork */

.zrf-accountbar {
    margin-top: 0 !important;
}


/* keep breadcrumb compact */

.zrf-breadcrumb-shell {
    padding-top: 12px !important;
    padding-bottom: 10px !important;
}


/* =========================================================
   ZERITH HEADER SIZE FIX
   MATCH REFERENCE PROPORTIONS
   PASTE AT VERY BOTTOM
   ========================================================= */


/* SHORTER HERO */

.zrf-hero {
    height: 390px !important;

    background-size: cover !important;
    background-position: center 42% !important;
}


/* SMALLER CENTER LOGO */

.zrf-brand {
    width: 500px !important;

    max-width: 30vw !important;

    top: 49% !important;

    left: 50% !important;

    transform:
        translate(-50%, -50%) !important;
}


.zrf-brand img {
    width: 100% !important;
    height: auto !important;
}


/* NAVIGATION DIRECTLY UNDER HERO */

.zrf-nav-shell {
    height: 125px !important;

    margin-top: 0 !important;

    background-size:
        1380px auto !important;

    background-position:
        center center !important;

    overflow:
        hidden !important;
}


.zrf-nav {
    width: 1210px !important;
    max-width: 82% !important;

    height: 125px !important;

    grid-template-columns:
        1fr
        1fr
        1fr
        165px
        1fr
        1fr
        1fr !important;
}


.zrf-crystal {
    width: 165px !important;
    height: 125px !important;
}


.zrf-nav-button {
    height: 52px !important;

    font-size: 12px !important;

    letter-spacing: 1.6px !important;
}


/* THINNER ACCOUNT STRIP */

.zrf-accountbar {
    min-height: 52px !important;
}


.zrf-account-inner {
    min-height: 52px !important;
}


/* BREADCRUMB CLOSER TO ACCOUNT BAR */

.zrf-breadcrumb-shell {
    padding-top: 12px !important;
    padding-bottom: 10px !important;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media screen and (max-width: 1400px) {

    .zrf-hero {
        height: 350px !important;
    }

    .zrf-brand {
        width: 460px !important;
        max-width: 38vw !important;
    }

    .zrf-nav-shell {
        background-size:
            1250px auto !important;
    }
}


@media screen and (max-width: 900px) {

    .zrf-hero {
        height: 300px !important;
    }

    .zrf-brand {
        width: 440px !important;
        max-width: 58vw !important;
    }
}


@media screen and (max-width: 600px) {

    .zrf-hero {
        height: 235px !important;
    }

    .zrf-brand {
        width: 76% !important;
        max-width: 390px !important;
    }
}


/* =========================================================
   FINAL HERO SCALE FIX
   FULL BOSS + FULL DRAGON
   ========================================================= */

.zrf-hero {
    height: 390px !important;

    background-image:
        url(/images/zerith-new/zerith-community-banner.png) !important;

    /*
       Scale the WHOLE banner down.
       This is what brings the boss + dragon back into frame.
    */
    background-size: 92% auto !important;

    background-position: center center !important;
    background-repeat: no-repeat !important;

    background-color: #030303 !important;

    overflow: hidden !important;
}


/* dark fade at bottom without affecting background sizing */

.zrf-hero::before {
    content: "" !important;

    position: absolute !important;

    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;

    height: 100px !important;

    background:
        linear-gradient(
            to bottom,
            transparent 0%,
            rgba(0,0,0,.15) 50%,
            rgba(0,0,0,.65) 100%
        ) !important;

    pointer-events: none !important;

    z-index: 2 !important;
}


/* thin red line */

.zrf-hero::after {
    content: "" !important;

    position: absolute !important;

    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;

    height: 1px !important;

    background: #8c0b0b !important;

    box-shadow:
        0 0 7px rgba(255,0,0,.35) !important;

    z-index: 3 !important;
}


/* LOGO */

.zrf-brand {
    position: absolute !important;

    left: 50% !important;
    top: 50% !important;

    width: 500px !important;
    max-width: 29vw !important;

    transform: translate(-50%, -50%) !important;

    z-index: 5 !important;
}


.zrf-brand img {
    width: 100% !important;
    height: auto !important;
}


/* =========================================================
   VERY WIDE DESKTOP
   ========================================================= */

@media screen and (min-width: 1600px) {

    .zrf-hero {
        height: 390px !important;
        background-size: 92% auto !important;
        background-position: center center !important;
    }

}


/* =========================================================
   NORMAL DESKTOP
   ========================================================= */

@media screen and (max-width: 1599px) {

    .zrf-hero {
        height: 360px !important;
        background-size: 96% auto !important;
        background-position: center center !important;
    }

    .zrf-brand {
        width: 470px !important;
        max-width: 34vw !important;
    }

}


/* =========================================================
   TABLET
   ========================================================= */

@media screen and (max-width: 900px) {

    .zrf-hero {
        height: 290px !important;
        background-size: auto 100% !important;
        background-position: center center !important;
    }

    .zrf-brand {
        width: 430px !important;
        max-width: 58vw !important;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media screen and (max-width: 600px) {

    .zrf-hero {
        height: 230px !important;
        background-size: auto 100% !important;
    }

    .zrf-brand {
        width: 75% !important;
        max-width: 380px !important;
    }

}


/* =========================================================
   ZERITH HERO RESTORE
   FULL WIDTH - NO BLACK SIDES - NO ZOOM/COVER
   ========================================================= */

.zrf-hero {
    position: relative !important;

    width: 100% !important;
    height: clamp(400px, 25vw, 500px) !important;

    background-image:
        linear-gradient(
            to bottom,
            rgba(0,0,0,0.02) 0%,
            rgba(0,0,0,0.00) 62%,
            rgba(0,0,0,0.12) 82%,
            rgba(0,0,0,0.78) 100%
        ),
        url(/images/zerith-new/zerith-community-banner.png) !important;

    background-size:
        100% auto,
        100% auto !important;

    background-position:
        center top,
        center top !important;

    background-repeat:
        no-repeat,
        no-repeat !important;

    background-color: #030303 !important;

    overflow: hidden !important;

    border-bottom: 1px solid #7b0909 !important;
}


/* REMOVE THE EXTRA OVERLAY FROM LAST TEST */

.zrf-hero::before {
    display: none !important;
    content: none !important;
}


/* THIN RED DIVIDER */

.zrf-hero::after {
    content: "" !important;

    position: absolute !important;

    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;

    height: 2px !important;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(130,0,0,.45),
            rgba(255,28,28,.9),
            rgba(130,0,0,.45),
            transparent
        ) !important;

    box-shadow:
        0 0 8px rgba(255,0,0,.5) !important;

    z-index: 3 !important;
}


/* CENTER BRAND */

.zrf-brand {
    position: absolute !important;

    left: 50% !important;
    top: 48% !important;

    width: min(560px, 34vw) !important;
    max-width: none !important;

    transform:
        translate(-50%, -50%) !important;

    z-index: 5 !important;
}


.zrf-brand img {
    display: block !important;

    width: 100% !important;
    height: auto !important;

    margin: 0 auto !important;
}


/* =========================================================
   DESKTOP
   ========================================================= */

@media screen and (min-width: 1401px) {

    .zrf-hero {
        height: clamp(400px, 25vw, 500px) !important;

        background-size:
            100% auto,
            100% auto !important;

        background-position:
            center top,
            center top !important;
    }

}


/* =========================================================
   SMALLER DESKTOP
   ========================================================= */

@media screen and (max-width: 1400px) {

    .zrf-hero {
        height: 350px !important;

        background-size:
            100% auto,
            100% auto !important;
    }

    .zrf-brand {
        width: min(520px, 38vw) !important;
    }

}


/* =========================================================
   ZERITH LOWER HEADER REFINEMENT
   PASTE AT VERY BOTTOM OF global.css

   HERO IS NOT TOUCHED.
   ========================================================= */


/* =========================================================
   1. NAVIGATION - THINNER / CLEANER
   ========================================================= */

.zrf-nav-shell {
    height: 118px !important;
    min-height: 118px !important;

    padding: 0 !important;
    margin: 0 !important;

    background-image:
        url(/images/zerith-new/zerith-nav-frame.png) !important;

    background-repeat:
        no-repeat !important;

    background-position:
        center 50% !important;

    background-size:
        1360px auto !important;

    background-color:
        #030303 !important;

    border-top:
        1px solid #710808 !important;

    border-bottom:
        1px solid #6b0707 !important;

    box-shadow:
        inset 0 12px 22px rgba(0,0,0,.28),
        inset 0 -12px 22px rgba(0,0,0,.38),
        0 5px 15px rgba(0,0,0,.80) !important;

    overflow:
        hidden !important;
}


/* Remove old extra CSS decoration */

.zrf-nav-shell::before,
.zrf-nav-shell::after {
    display: none !important;
    content: none !important;
}


/* =========================================================
   NAV LINK GRID
   ========================================================= */

.zrf-nav {
    position: relative !important;

    width: 1190px !important;
    max-width: 80% !important;

    height: 118px !important;

    margin:
        0 auto !important;

    display:
        grid !important;

    grid-template-columns:
        1fr
        1fr
        1fr
        160px
        1fr
        1fr
        1fr !important;

    align-items:
        center !important;

    gap:
        0 !important;

    z-index:
        5 !important;
}


/* =========================================================
   NAV BUTTONS
   ========================================================= */

.zrf-nav-button {
    position: relative !important;

    height: 50px !important;

    margin:
        0 2px !important;

    padding:
        0 8px !important;

    display:
        flex !important;

    align-items:
        center !important;

    justify-content:
        center !important;

    gap:
        9px !important;

    background:
        transparent !important;

    border:
        0 !important;

    box-shadow:
        none !important;

    clip-path:
        none !important;

    color:
        #e0d8d0 !important;

    font-family:
        Georgia,
        "Times New Roman",
        serif !important;

    font-size:
        12px !important;

    font-weight:
        700 !important;

    letter-spacing:
        1.7px !important;

    text-decoration:
        none !important;

    text-transform:
        uppercase !important;

    text-shadow:
        0 2px 2px #000,
        0 0 5px #000 !important;

    transition:
        color .18s ease,
        text-shadow .18s ease,
        transform .18s ease !important;

    overflow:
        visible !important;
}


/* Kill old CSS button plates */

.zrf-nav-button::before,
.zrf-nav-button::after {
    display:
        none !important;

    content:
        none !important;
}


/* =========================================================
   NAV ICONS
   ========================================================= */

.zrf-nav-symbol,
.zrf-discord-symbol {
    color:
        #b23939 !important;

    font-size:
        14px !important;

    min-width:
        17px !important;

    text-shadow:
        0 0 5px rgba(190,0,0,.65) !important;
}


.zrf-nav-text {
    position:
        relative !important;

    z-index:
        5 !important;
}


/* =========================================================
   NAV HOVER
   ========================================================= */

.zrf-nav-button:hover {
    color:
        #ffffff !important;

    transform:
        translateY(-1px) !important;

    text-shadow:
        0 2px 2px #000,
        0 0 6px #000,
        0 0 9px rgba(255,35,35,.60) !important;
}


.zrf-nav-button:hover .zrf-nav-symbol,
.zrf-nav-button:hover .zrf-discord-symbol {
    color:
        #ff5151 !important;

    text-shadow:
        0 0 7px rgba(255,30,30,.85) !important;
}


/* =========================================================
   ACTIVE NAV
   ========================================================= */

.zrf-nav-button.zrf-active {
    color:
        #ffffff !important;

    background:
        transparent !important;

    border:
        0 !important;

    box-shadow:
        none !important;

    filter:
        none !important;

    text-shadow:
        0 2px 2px #000,
        0 0 7px rgba(255,35,35,.70) !important;
}


/* Active underline */

.zrf-nav-button.zrf-active .zrf-nav-text::after {
    content:
        "" !important;

    position:
        absolute !important;

    left:
        5% !important;

    right:
        5% !important;

    bottom:
        -11px !important;

    height:
        2px !important;

    background:
        linear-gradient(
            90deg,
            transparent,
            #b70c0c,
            #ff3434,
            #b70c0c,
            transparent
        ) !important;

    box-shadow:
        0 0 7px rgba(255,20,20,.80) !important;
}


/* =========================================================
   CENTER CRYSTAL PLACEHOLDER
   Actual crystal is inside PNG.
   ========================================================= */

.zrf-crystal {
    width:
        160px !important;

    height:
        118px !important;

    background:
        transparent !important;

    border:
        0 !important;

    box-shadow:
        none !important;

    filter:
        none !important;

    pointer-events:
        none !important;
}


.zrf-crystal::before,
.zrf-crystal::after,
.zrf-crystal span {
    display:
        none !important;

    content:
        none !important;
}


/* =========================================================
   2. ACCOUNT BAR
   ========================================================= */

.zrf-accountbar {
    position:
        relative !important;

    width:
        100% !important;

    min-height:
        56px !important;

    height:
        56px !important;

    margin:
        0 !important;

    padding:
        0 !important;

    background:
        linear-gradient(
            180deg,
            #0c0c0c 0%,
            #080808 48%,
            #050505 100%
        ) !important;

    border-top:
        1px solid #1d1d1d !important;

    border-bottom:
        1px solid #510606 !important;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.02),
        inset 0 -12px 22px rgba(0,0,0,.35) !important;
}


.zrf-account-inner {
    width:
        min(1360px, 94%) !important;

    min-height:
        56px !important;

    height:
        56px !important;

    margin:
        0 auto !important;

    display:
        flex !important;

    align-items:
        center !important;

    color:
        #a0a0a0 !important;

    font-family:
        Arial,
        Helvetica,
        sans-serif !important;

    font-size:
        11px !important;
}


/* Welcome block */

.zrf-account-inner .welcome,
.zrf-account-inner .welcome_member,
.zrf-account-inner .welcome_guest {
    width:
        100% !important;
}


/* Account links */

.zrf-account-inner a {
    color:
        #b8b8b8 !important;

    text-decoration:
        none !important;

    transition:
        color .18s ease,
        text-shadow .18s ease !important;
}


.zrf-account-inner a:hover {
    color:
        #ffffff !important;

    text-shadow:
        0 0 7px rgba(190,0,0,.50) !important;
}


/* Logged-in username */

.zrf-account-inner strong,
.zrf-account-inner b {
    color:
        #e62d3e !important;

    font-weight:
        700 !important;
}


/* =========================================================
   3. BREADCRUMB AREA
   ========================================================= */

.zrf-breadcrumb-shell {
    position:
        relative !important;

    width:
        100% !important;

    margin:
        0 !important;

    padding:
        14px 0 13px !important;

    background:
        linear-gradient(
            180deg,
            #070707 0%,
            #040404 100%
        ) !important;

    border-bottom:
        1px solid #111 !important;
}


/* Main breadcrumb fantasy panel */

.zrf-breadcrumb {
    position:
        relative !important;

    width:
        min(1360px, 94%) !important;

    min-height:
        52px !important;

    margin:
        0 auto !important;

    padding:
        0 32px 0 60px !important;

    box-sizing:
        border-box !important;

    display:
        flex !important;

    align-items:
        center !important;

    color:
        #aaa !important;

    font-family:
        Georgia,
        "Times New Roman",
        serif !important;

    font-size:
        12px !important;

    background:
        linear-gradient(
            180deg,
            #171717 0%,
            #101010 48%,
            #090909 100%
        ) !important;

    border-top:
        1px solid #303030 !important;

    border-bottom:
        1px solid #6c0707 !important;

    clip-path:
        polygon(
            18px 0,
            calc(100% - 18px) 0,
            100% 50%,
            calc(100% - 18px) 100%,
            18px 100%,
            0 50%
        ) !important;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.035),
        inset 0 -15px 24px rgba(0,0,0,.35),
        0 5px 15px rgba(0,0,0,.45) !important;
}


/* Thin red detail inside breadcrumb */

.zrf-breadcrumb::after {
    content:
        "" !important;

    position:
        absolute !important;

    left:
        48px !important;

    right:
        30px !important;

    bottom:
        4px !important;

    height:
        1px !important;

    background:
        linear-gradient(
            90deg,
            rgba(200,10,10,.75),
            rgba(110,0,0,.30),
            transparent 70%
        ) !important;

    box-shadow:
        0 0 5px rgba(130,0,0,.30) !important;
}


/* Breadcrumb home icon box */

.zrf-breadcrumb-icon {
    position:
        absolute !important;

    left:
        22px !important;

    top:
        50% !important;

    transform:
        translateY(-50%) !important;

    width:
        27px !important;

    height:
        27px !important;

    display:
        flex !important;

    align-items:
        center !important;

    justify-content:
        center !important;

    color:
        #d12c3c !important;

    font-family:
        Arial,
        Helvetica,
        sans-serif !important;

    font-size:
        14px !important;

    background:
        linear-gradient(
            180deg,
            #1b1b1b,
            #090909
        ) !important;

    border:
        1px solid #383838 !important;

    box-shadow:
        inset 0 0 8px rgba(0,0,0,.70),
        0 0 6px rgba(100,0,0,.20) !important;

    text-shadow:
        0 0 7px rgba(220,0,0,.65) !important;
}


/* Breadcrumb links */

.zrf-breadcrumb a {
    color:
        #b7b7b7 !important;

    text-decoration:
        none !important;
}


.zrf-breadcrumb a:hover {
    color:
        #ffffff !important;
}


.zrf-breadcrumb .active {
    color:
        #d33a48 !important;
}


/* =========================================================
   IMPORTANT
   HERO + FORUM BODY ARE NOT CHANGED
   ========================================================= */

/*
   No rules here modify:

   .zrf-hero
   .zrf-brand

   #content
   #content > .wrapper

   forum categories
   sidebar
   Discord
   Server Status
   Recent Posts
   Staff & Ranks
   Board Statistics
*/


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media screen and (max-width: 1250px) {

    .zrf-nav-shell {
        background-size:
            1220px auto !important;
    }

    .zrf-nav {
        width:
            90% !important;

        max-width:
            90% !important;

        grid-template-columns:
            1fr
            1fr
            1fr
            145px
            1fr
            1fr
            1fr !important;
    }

    .zrf-crystal {
        width:
            145px !important;
    }

    .zrf-nav-button {
        font-size:
            11px !important;

        letter-spacing:
            1.1px !important;
    }

}


@media screen and (max-width: 900px) {

    .zrf-nav-shell {
        height:
            auto !important;

        min-height:
            150px !important;

        padding:
            12px 0 !important;

        background-size:
            1100px auto !important;
    }

    .zrf-nav {
        width:
            92% !important;

        max-width:
            92% !important;

        height:
            auto !important;

        grid-template-columns:
            repeat(3, 1fr) !important;

        gap:
            5px !important;
    }

    .zrf-crystal {
        display:
            none !important;
    }

    .zrf-nav-button {
        height:
            44px !important;

        background:
            rgba(6,6,6,.78) !important;

        border:
            1px solid rgba(110,15,15,.38) !important;
    }

}


@media screen and (max-width: 600px) {

    .zrf-nav {
        grid-template-columns:
            repeat(2, 1fr) !important;
    }

    .zrf-nav-button {
        font-size:
            10px !important;

        letter-spacing:
            .8px !important;
    }

    .zrf-account-inner {
        width:
            92% !important;

        font-size:
            10px !important;
    }

    .zrf-breadcrumb {
        width:
            94% !important;

        min-height:
            44px !important;

        padding-left:
            50px !important;
    }

}


/* =========================================================
   ZERITH LOWER SECTION - MOVE UP
   HERO IS NOT TOUCHED
   ========================================================= */


/* MOVE NAV ARTWORK UP INSIDE ITS AREA */

.zrf-nav-shell {
    height: 105px !important;
    min-height: 105px !important;

    background-position:
        center 43% !important;

    background-size:
        1360px auto !important;

    overflow:
        hidden !important;
}


/* MOVE CLICKABLE NAV WITH IT */

.zrf-nav {
    height: 105px !important;

    transform:
        translateY(-6px) !important;
}


/* CENTER SPACE */

.zrf-crystal {
    height: 105px !important;
}


/* MOVE BUTTON LABELS UP */

.zrf-nav-button {
    transform:
        translateY(-6px) !important;
}


/* KEEP HOVER FROM JUMPING DOWN */

.zrf-nav-button:hover {
    transform:
        translateY(-7px) !important;
}


/* =========================================================
   ACCOUNT BAR CLOSER TO NAV
   ========================================================= */

.zrf-accountbar {
    height: 50px !important;
    min-height: 50px !important;

    margin:
        0 !important;
}


.zrf-account-inner {
    height: 50px !important;
    min-height: 50px !important;
}


/* =========================================================
   BREADCRUMB CLOSER TO ACCOUNT BAR
   ========================================================= */

.zrf-breadcrumb-shell {
    padding:
        10px 0 8px !important;
}


.zrf-breadcrumb {
    min-height:
        48px !important;
}



/* =========================================================
   ZERITH NAV V2
   NEW THIN NAV WITH BUILT-IN ICONS
   PASTE AT VERY BOTTOM OF global.css
   ========================================================= */


/* =========================================================
   NAV SHELL
   ========================================================= */

.zrf-nav-shell {
    position: relative !important;

    width: 100% !important;
    height: 105px !important;
    min-height: 105px !important;

    margin: 0 !important;
    padding: 0 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    background-color: #030303 !important;

    background-image:
        url(/images/zerith-new/zerith-nav-frame-v2.png) !important;

    background-repeat: no-repeat !important;

    background-position:
        center center !important;

    background-size:
        1540px auto !important;

    border-top:
        1px solid #730606 !important;

    border-bottom:
        1px solid #670606 !important;

    box-shadow:
        inset 0 10px 25px rgba(0,0,0,.25),
        inset 0 -10px 25px rgba(0,0,0,.35),
        0 5px 18px rgba(0,0,0,.85) !important;

    overflow: hidden !important;

    z-index: 30 !important;
}


/* REMOVE ALL OLD NAV DECORATIONS */

.zrf-nav-shell::before,
.zrf-nav-shell::after {
    display: none !important;
    content: none !important;
}


/* =========================================================
   CLICKABLE NAV GRID
   ========================================================= */

.zrf-nav {
    position: relative !important;

    width: 1370px !important;
    max-width: 88% !important;

    height: 105px !important;

    margin: 0 auto !important;

    display: grid !important;

    grid-template-columns:
        1fr
        1fr
        1fr
        180px
        1fr
        1fr
        1fr !important;

    align-items: center !important;

    gap: 0 !important;

    transform: none !important;

    z-index: 10 !important;
}


/* =========================================================
   REAL HTML BUTTONS
   ========================================================= */

.zrf-nav-button {
    position: relative !important;

    height: 70px !important;

    margin: 0 !important;
    padding: 0 !important;

    display: flex !important;

    align-items: center !important;

    /*
       Move text to the right because the icon
       is already inside the PNG.
    */
    justify-content: center !important;

    background: transparent !important;

    border: 0 !important;

    box-shadow: none !important;

    clip-path: none !important;

    filter: none !important;

    color: #eeeeee !important;

    font-family:
        Georgia,
        "Times New Roman",
        serif !important;

    font-size: 14px !important;

    font-weight: 700 !important;

    letter-spacing: 1.3px !important;

    text-transform: uppercase !important;

    text-decoration: none !important;

    text-shadow:
        0 2px 2px #000,
        0 0 5px #000 !important;

    transform: none !important;

    transition:
        color .18s ease,
        text-shadow .18s ease !important;

    overflow: visible !important;

    z-index: 10 !important;
}


/* REMOVE OLD BUTTON ARTWORK */

.zrf-nav-button::before,
.zrf-nav-button::after {
    display: none !important;
    content: none !important;
}


/* =========================================================
   HIDE OLD HTML ICONS
   NEW ICONS ARE BUILT INTO PNG
   ========================================================= */

.zrf-nav-symbol,
.zrf-discord-symbol {
    display: none !important;
}


/* =========================================================
   TEXT POSITION
   ========================================================= */

.zrf-nav-button .zrf-nav-text,
.zrf-nav-button > span:last-child {
    position: relative !important;

    /*
       Gives room for PNG icon on left.
    */
    margin-left: 35px !important;

    z-index: 11 !important;
}


/* HOME */

.zrf-nav-button:nth-child(1) .zrf-nav-text,
.zrf-nav-button:nth-child(1) > span:last-child {
    margin-left: 42px !important;
}


/* FORUMS */

.zrf-nav-button:nth-child(2) .zrf-nav-text,
.zrf-nav-button:nth-child(2) > span:last-child {
    margin-left: 42px !important;
}


/* STORE */

.zrf-nav-button:nth-child(3) .zrf-nav-text,
.zrf-nav-button:nth-child(3) > span:last-child {
    margin-left: 40px !important;
}


/* VOTE */

.zrf-nav-button:nth-child(5) .zrf-nav-text,
.zrf-nav-button:nth-child(5) > span:last-child {
    margin-left: 40px !important;
}


/* HISCORES */

.zrf-nav-button:nth-child(6) .zrf-nav-text,
.zrf-nav-button:nth-child(6) > span:last-child {
    margin-left: 44px !important;
}


/* DISCORD */

.zrf-nav-button:nth-child(7) .zrf-nav-text,
.zrf-nav-button:nth-child(7) > span:last-child {
    margin-left: 44px !important;
}


/* =========================================================
   CENTER CRYSTAL
   CRYSTAL IS ALREADY IN PNG
   ========================================================= */

.zrf-crystal {
    display: block !important;

    width: 180px !important;
    height: 105px !important;

    margin: 0 !important;
    padding: 0 !important;

    background: transparent !important;

    border: 0 !important;

    box-shadow: none !important;

    filter: none !important;

    pointer-events: none !important;

    transform: none !important;
}


.zrf-crystal::before,
.zrf-crystal::after,
.zrf-crystal span {
    display: none !important;
    content: none !important;
}


/* =========================================================
   HOVER
   ========================================================= */

.zrf-nav-button:hover {
    color: #ffffff !important;

    background: transparent !important;

    transform: none !important;

    text-shadow:
        0 2px 2px #000,
        0 0 7px #000,
        0 0 10px rgba(255,30,30,.55) !important;
}


/* =========================================================
   REMOVE OLD ACTIVE UNDERLINE
   HOME RED PANEL IS ALREADY BUILT INTO IMAGE
   ========================================================= */

.zrf-nav-button.zrf-active {
    background: transparent !important;

    border: 0 !important;

    box-shadow: none !important;

    filter: none !important;

    color: #ffffff !important;
}


.zrf-nav-button.zrf-active .zrf-nav-text::after,
.zrf-nav-button.zrf-active > span:last-child::after {
    display: none !important;
    content: none !important;
}


/* =========================================================
   ACCOUNT BAR - THIN LIKE REFERENCE
   ========================================================= */

.zrf-accountbar {
    position: relative !important;

    width: 100% !important;

    height: 62px !important;
    min-height: 62px !important;

    margin: 0 !important;
    padding: 0 !important;

    background:
        linear-gradient(
            180deg,
            #090909 0%,
            #050505 100%
        ) !important;

    border-top:
        1px solid #1b1b1b !important;

    border-bottom:
        1px solid #5c0606 !important;

    box-shadow:
        inset 0 -15px 25px rgba(0,0,0,.25) !important;
}


.zrf-account-inner {
    width: min(1660px, 90%) !important;

    height: 62px !important;
    min-height: 62px !important;

    margin: 0 auto !important;

    display: flex !important;
    align-items: center !important;

    font-size: 12px !important;
}


/* =========================================================
   BREADCRUMB
   ========================================================= */

.zrf-breadcrumb-shell {
    padding:
        17px 0 14px !important;

    background:
        #050505 !important;
}


.zrf-breadcrumb {
    width:
        min(1780px, 94%) !important;

    min-height:
        58px !important;

    padding:
        0 35px 0 65px !important;

    background:
        linear-gradient(
            180deg,
            #151515,
            #0b0b0b
        ) !important;

    border-top:
        1px solid #2c2c2c !important;

    border-bottom:
        1px solid #8d0909 !important;

    clip-path:
        polygon(
            22px 0,
            calc(100% - 22px) 0,
            100% 50%,
            calc(100% - 22px) 100%,
            22px 100%,
            0 50%
        ) !important;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.025),
        inset 0 -14px 25px rgba(0,0,0,.32) !important;
}



/* =========================================================
   ZERITH NAVIGATION V3
   V3 IMAGE = ARTWORK ONLY
   ICONS + TEXT = REAL HTML
   HERO IS NOT TOUCHED
   ========================================================= */


/* =========================================================
   NAVIGATION SHELL
   ========================================================= */

.zrf-nav-shell {
    position: relative !important;

    width: 100% !important;

    height: 108px !important;
    min-height: 108px !important;

    margin: 0 !important;
    padding: 0 !important;

    display: flex !important;

    align-items: center !important;
    justify-content: center !important;

    background-color: #030303 !important;

    background-image:
        url(/images/zerith-new/zerith-nav-frame-v3.png) !important;

    background-repeat:
        no-repeat !important;

    background-position:
        center center !important;

    background-size:
        1540px auto !important;

    border-top:
        1px solid #710707 !important;

    border-bottom:
        1px solid #670606 !important;

    overflow:
        hidden !important;

    z-index:
        30 !important;
}


/* REMOVE OLD DECORATIONS */

.zrf-nav-shell::before,
.zrf-nav-shell::after {
    display: none !important;
    content: none !important;
}


/* =========================================================
   NAV GRID
   ========================================================= */

.zrf-nav {
    position: relative !important;

    width: 1370px !important;
    max-width: 88% !important;

    height: 108px !important;

    margin: 0 auto !important;

    display: grid !important;

    grid-template-columns:
        1fr
        1fr
        1fr
        180px
        1fr
        1fr
        1fr !important;

    align-items: center !important;

    gap: 0 !important;

    transform: none !important;

    z-index: 10 !important;
}


/* =========================================================
   BUTTONS
   ========================================================= */

.zrf-nav-button {
    position: relative !important;

    height: 72px !important;

    margin: 0 !important;
    padding: 0 !important;

    display: flex !important;

    align-items: center !important;
    justify-content: center !important;

    gap: 13px !important;

    background: transparent !important;

    border: 0 !important;

    box-shadow: none !important;

    clip-path: none !important;

    filter: none !important;

    color: #dedede !important;

    text-decoration: none !important;

    text-transform: uppercase !important;

    font-family:
        Arial,
        Helvetica,
        sans-serif !important;

    font-size: 15px !important;

    font-weight: 700 !important;

    letter-spacing: .6px !important;

    text-shadow:
        0 2px 3px #000 !important;

    transform: none !important;

    overflow: visible !important;

    transition:
        color .18s ease,
        text-shadow .18s ease !important;
}


/* REMOVE OLD CSS BUTTON SHAPES */

.zrf-nav-button::before,
.zrf-nav-button::after {
    display: none !important;
    content: none !important;
}


/* =========================================================
   REAL ICONS
   ========================================================= */

.zrf-icon {
    position: relative !important;

    display: inline-flex !important;

    align-items: center !important;
    justify-content: center !important;

    width: 25px !important;
    height: 25px !important;

    margin: 0 !important;

    color: #e52e45 !important;

    font-family:
        Arial,
        Helvetica,
        sans-serif !important;

    font-size: 21px !important;

    font-weight: 700 !important;

    line-height: 1 !important;

    text-align: center !important;

    text-shadow:
        0 0 5px rgba(255,0,30,.55),
        0 2px 2px #000 !important;

    transition:
        color .18s ease,
        text-shadow .18s ease,
        transform .18s ease !important;
}


/* HOME */

.zrf-icon-home {
    font-size: 23px !important;
}


/* FORUMS */

.zrf-icon-forums {
    font-size: 19px !important;
}


/* STORE */

.zrf-icon-store {
    font-size: 19px !important;
}


/* VOTE */

.zrf-icon-vote {
    font-size: 23px !important;
}


/* HISCORES */

.zrf-icon-hiscores {
    font-size: 21px !important;
}


/* DISCORD */

.zrf-icon-discord {
    font-size: 19px !important;
}


/* =========================================================
   TEXT
   ========================================================= */

.zrf-nav-text {
    position: relative !important;

    margin: 0 !important;

    color: inherit !important;

    z-index: 3 !important;
}


/* =========================================================
   CENTER CRYSTAL
   THE CRYSTAL IS PART OF V3 PNG
   ========================================================= */

.zrf-crystal {
    display: block !important;

    width: 180px !important;
    height: 108px !important;

    margin: 0 !important;
    padding: 0 !important;

    background: transparent !important;

    border: 0 !important;

    box-shadow: none !important;

    filter: none !important;

    transform: none !important;

    pointer-events: none !important;
}


.zrf-crystal::before,
.zrf-crystal::after,
.zrf-crystal span {
    display: none !important;
    content: none !important;
}


/* =========================================================
   HOVER
   ========================================================= */

.zrf-nav-button:hover {
    color: #ffffff !important;

    background:
        radial-gradient(
            ellipse at center,
            rgba(160,0,10,.16) 0%,
            transparent 68%
        ) !important;

    text-shadow:
        0 2px 3px #000,
        0 0 8px rgba(255,255,255,.18) !important;
}


.zrf-nav-button:hover .zrf-icon {
    color: #ff3d55 !important;

    transform:
        translateY(-1px) !important;

    text-shadow:
        0 0 7px rgba(255,20,45,.90),
        0 0 14px rgba(180,0,0,.60) !important;
}


/* =========================================================
   ACTIVE BUTTON
   FORUMS IS ACTIVE ON FORUM
   ========================================================= */

.zrf-nav-button.zrf-active {
    color: #ffffff !important;

    background:
        linear-gradient(
            180deg,
            rgba(155,0,18,.12) 0%,
            rgba(210,0,25,.22) 50%,
            rgba(105,0,12,.13) 100%
        ) !important;

    box-shadow:
        inset 0 -2px 0 rgba(255,35,55,.85),
        inset 0 0 28px rgba(175,0,15,.12) !important;
}


.zrf-nav-button.zrf-active .zrf-icon {
    color: #ff354d !important;

    text-shadow:
        0 0 8px rgba(255,25,45,.90) !important;
}


/* ACTIVE RED BOTTOM LINE */

.zrf-nav-button.zrf-active::after {
    display: block !important;

    content: "" !important;

    position: absolute !important;

    left: 20% !important;
    right: 20% !important;

    bottom: 6px !important;

    height: 2px !important;

    background:
        linear-gradient(
            90deg,
            transparent,
            #b70918,
            #ff3048,
            #b70918,
            transparent
        ) !important;

    box-shadow:
        0 0 8px rgba(255,20,40,.75) !important;
}


/* REMOVE OLD ACTIVE TEXT UNDERLINE */

.zrf-nav-button.zrf-active .zrf-nav-text::after {
    display: none !important;
    content: none !important;
}


/* =========================================================
   ACCOUNT BAR
   KEEP COMPACT
   ========================================================= */

.zrf-accountbar {
    height: 60px !important;
    min-height: 60px !important;

    margin: 0 !important;

    background:
        linear-gradient(
            180deg,
            #0a0a0a,
            #050505
        ) !important;

    border-top:
        1px solid #1b1b1b !important;

    border-bottom:
        1px solid #5d0505 !important;
}


.zrf-account-inner {
    width:
        min(1660px, 90%) !important;

    height:
        60px !important;

    min-height:
        60px !important;

    margin:
        0 auto !important;

    display:
        flex !important;

    align-items:
        center !important;
}


/* =========================================================
   BREADCRUMB
   ========================================================= */

.zrf-breadcrumb-shell {
    padding:
        16px 0 13px !important;
}


.zrf-breadcrumb {
    width:
        min(1780px, 94%) !important;

    min-height:
        56px !important;
}


/* =========================================================
   IMPORTANT
   NO HERO CSS IN THIS BLOCK.
   ========================================================= */


/* =========================================================
   ZERITH 2026 - EDGEVILLE HEADER
   FINAL HEADER OVERRIDE
   ========================================================= */


/* =========================================================
   HEADER
   ========================================================= */

.zrf-header {
    position: relative !important;
    z-index: 100 !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;

    background: #090a0c !important;
    border: 0 !important;
}


/* =========================================================
   EDGEVILLE HERO
   ========================================================= */

.zrf-hero {
    position: relative !important;

    width: 100% !important;
    height: 335px !important;

    margin: 0 !important;
    padding: 0 !important;

    overflow: hidden !important;

    background-image:
        url(/images/zerith-new/zerith-edgeville-bg.png) !important;

    background-size: cover !important;
    background-position: center 48% !important;
    background-repeat: no-repeat !important;

    border: 0 !important;
    border-bottom: 1px solid #761018 !important;

    box-shadow:
        inset 0 -45px 55px rgba(0,0,0,.78),
        0 4px 20px rgba(0,0,0,.55) !important;
}


/* remove old hero effects */

.zrf-hero::before,
.zrf-hero::after {
    display: none !important;
    content: none !important;
}


/* =========================================================
   HERO DARK OVERLAY
   ========================================================= */

.zrf-hero-overlay {
    position: absolute !important;
    z-index: 1 !important;

    inset: 0 !important;

    pointer-events: none !important;

    background:
        radial-gradient(
            circle at 50% 46%,
            rgba(115, 8, 17, .08) 0%,
            rgba(0,0,0,.08) 35%,
            rgba(0,0,0,.32) 100%
        ),
        linear-gradient(
            180deg,
            rgba(0,0,0,.10) 0%,
            rgba(0,0,0,.04) 48%,
            rgba(5,5,7,.76) 100%
        ) !important;
}


/* =========================================================
   Z LOGO AREA
   ========================================================= */

.zrf-z-wrap {
    position: absolute !important;
    z-index: 10 !important;

    left: 50% !important;
    top: 50% !important;

    width: 290px !important;
    height: 290px !important;

    transform: translate(-50%, -50%) !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    pointer-events: none !important;
}


/* =========================================================
   RED ENERGY / FIRE AURA
   ========================================================= */

.zrf-z-energy {
    position: absolute !important;
    z-index: 1 !important;

    left: 50% !important;
    top: 53% !important;

    width: 235px !important;
    height: 235px !important;

    transform: translate(-50%, -50%) scale(.92);

    border-radius: 50% !important;

    background:
        radial-gradient(
            circle,
            rgba(255, 35, 45, .30) 0%,
            rgba(194, 12, 25, .20) 28%,
            rgba(119, 5, 14, .11) 50%,
            transparent 72%
        ) !important;

    filter: blur(12px) !important;

    opacity: .70;

    animation:
        zerithEnergyPulse 2.7s ease-in-out infinite !important;

    pointer-events: none !important;
}


.zrf-z-energy::before {
    content: "" !important;

    position: absolute !important;

    left: 50% !important;
    bottom: 22px !important;

    width: 175px !important;
    height: 135px !important;

    transform: translateX(-50%) !important;

    border-radius:
        48% 52% 42% 58% /
        65% 55% 45% 35% !important;

    background:
        radial-gradient(
            ellipse at 50% 100%,
            rgba(255, 55, 35, .48),
            rgba(203, 15, 24, .24) 37%,
            rgba(115, 4, 12, .12) 58%,
            transparent 73%
        ) !important;

    filter: blur(9px) !important;

    animation:
        zerithFirePulse 1.45s ease-in-out infinite alternate !important;
}


.zrf-z-energy::after {
    content: "" !important;

    position: absolute !important;

    left: 50% !important;
    top: 50% !important;

    width: 205px !important;
    height: 205px !important;

    transform: translate(-50%, -50%) !important;

    border-radius: 50% !important;

    border:
        1px solid rgba(210, 28, 38, .20) !important;

    box-shadow:
        0 0 18px rgba(198, 18, 29, .24),
        inset 0 0 24px rgba(175, 11, 21, .15) !important;

    animation:
        zerithEnergyRing 3.2s ease-in-out infinite !important;
}


/* =========================================================
   LOGO LINK
   ========================================================= */

.zrf-z-link {
    position: relative !important;
    z-index: 5 !important;

    display: block !important;

    width: 255px !important;

    pointer-events: auto !important;

    text-decoration: none !important;
}


/* =========================================================
   ACTUAL Z LOGO
   ========================================================= */

.zrf-z-logo {
    position: relative !important;
    z-index: 5 !important;

    display: block !important;

    width: 100% !important;
    height: auto !important;

    margin: 0 auto !important;

    object-fit: contain !important;

    filter:
        drop-shadow(0 9px 9px rgba(0,0,0,.88))
        drop-shadow(0 0 7px rgba(255,30,42,.48))
        drop-shadow(0 0 20px rgba(164,8,20,.30)) !important;

    transform-origin: center center !important;

    animation:
        zerithLogoPulse 3.1s ease-in-out infinite !important;

    transition:
        filter .25s ease,
        transform .25s ease !important;
}


.zrf-z-link:hover .zrf-z-logo {
    filter:
        drop-shadow(0 10px 10px rgba(0,0,0,.90))
        drop-shadow(0 0 9px rgba(255,55,62,.72))
        drop-shadow(0 0 28px rgba(210,15,30,.46)) !important;
}


/* =========================================================
   METALLIC SHINE ACROSS Z
   ========================================================= */

.zrf-z-shine {
    position: absolute !important;
    z-index: 7 !important;

    inset: 0 !important;

    pointer-events: none !important;

    background:
        linear-gradient(
            110deg,
            transparent 30%,
            rgba(255,255,255,0) 40%,
            rgba(255,245,235,.48) 48%,
            rgba(255,255,255,.72) 50%,
            rgba(255,245,235,.30) 53%,
            transparent 62%
        ) !important;

    -webkit-mask:
        url(/images/zerith-new/zerith-z-logo.png)
        center / contain no-repeat !important;

    mask:
        url(/images/zerith-new/zerith-z-logo.png)
        center / contain no-repeat !important;

    transform: translateX(-145%) !important;

    opacity: 0;

    animation:
        zerithMetalShine 5.5s ease-in-out infinite !important;
}


/* =========================================================
   CROWN GLOW
   ========================================================= */

.zrf-crown-glow {
    position: absolute !important;
    z-index: 4 !important;

    left: 50% !important;
    top: 8% !important;

    width: 80px !important;
    height: 46px !important;

    transform: translateX(-50%) !important;

    border-radius: 50% !important;

    background:
        radial-gradient(
            ellipse,
            rgba(255,65,72,.48),
            rgba(185,12,24,.18) 42%,
            transparent 72%
        ) !important;

    filter: blur(9px) !important;

    opacity: .55;

    pointer-events: none !important;

    animation:
        zerithCrownGlow 2s ease-in-out infinite !important;
}


/* =========================================================
   EMBERS
   ========================================================= */

.zrf-ember {
    position: absolute !important;
    z-index: 8 !important;

    width: 4px !important;
    height: 4px !important;

    border-radius: 50% !important;

    background: #ff493d !important;

    box-shadow:
        0 0 5px #ff302e,
        0 0 10px rgba(255,30,30,.8) !important;

    opacity: 0;

    pointer-events: none !important;

    animation:
        zerithEmber 3.6s linear infinite !important;
}


.zrf-ember-1 {
    left: 29% !important;
    bottom: 19% !important;
    animation-delay: 0s !important;
}

.zrf-ember-2 {
    left: 38% !important;
    bottom: 12% !important;
    animation-delay: .7s !important;
}

.zrf-ember-3 {
    left: 47% !important;
    bottom: 17% !important;
    animation-delay: 1.3s !important;
}

.zrf-ember-4 {
    left: 57% !important;
    bottom: 13% !important;
    animation-delay: .35s !important;
}

.zrf-ember-5 {
    left: 67% !important;
    bottom: 20% !important;
    animation-delay: 1.8s !important;
}

.zrf-ember-6 {
    left: 74% !important;
    bottom: 15% !important;
    animation-delay: 2.35s !important;
}


/* =========================================================
   SIMPLE NAVIGATION
   ========================================================= */

.zrf-nav-shell {
    position: relative !important;
    z-index: 20 !important;

    width: 100% !important;
    height: 72px !important;
    min-height: 72px !important;

    margin: 0 !important;
    padding: 0 !important;

    background:
        linear-gradient(
            180deg,
            #111216 0%,
            #0b0c0f 55%,
            #08090b 100%
        ) !important;

    border: 0 !important;
    border-top: 1px solid #391015 !important;
    border-bottom: 1px solid #2b0c11 !important;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.025),
        0 6px 18px rgba(0,0,0,.40) !important;
}


/* kill ALL old fantasy nav decorations */

.zrf-nav-shell::before,
.zrf-nav-shell::after {
    display: none !important;
    content: none !important;
}


/* =========================================================
   NAV CONTAINER
   ========================================================= */

.zrf-nav {
    position: relative !important;

    width: min(1050px, calc(100% - 40px)) !important;
    height: 72px !important;

    margin: 0 auto !important;
    padding: 0 !important;

    display: grid !important;
    grid-template-columns: repeat(6, 1fr) !important;
    align-items: stretch !important;

    background: transparent !important;
    border: 0 !important;

    clip-path: none !important;
}


/* =========================================================
   NAV BUTTON
   ========================================================= */

.zrf-nav-button {
    position: relative !important;

    min-width: 0 !important;
    width: auto !important;
    height: 72px !important;

    margin: 0 !important;
    padding: 0 18px !important;

    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 9px !important;

    color: #c8c3bd !important;

    background: transparent !important;

    border: 0 !important;
    border-left: 1px solid rgba(255,255,255,.025) !important;

    font-family:
        Georgia,
        "Times New Roman",
        serif !important;

    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;

    text-decoration: none !important;

    clip-path: none !important;

    transition:
        color .2s ease,
        background .2s ease,
        box-shadow .2s ease !important;
}


.zrf-nav-button:last-child {
    border-right:
        1px solid rgba(255,255,255,.025) !important;
}


/* remove old angled panels */

.zrf-nav-button::before {
    content: "" !important;

    position: absolute !important;

    left: 22% !important;
    right: 22% !important;
    bottom: 0 !important;

    height: 2px !important;

    background: #b51b27 !important;

    box-shadow:
        0 0 7px rgba(206,27,40,.55) !important;

    transform: scaleX(0) !important;

    transition: transform .22s ease !important;

    clip-path: none !important;
}


.zrf-nav-button::after {
    display: none !important;
    content: none !important;
}


/* =========================================================
   NAV ICON
   ========================================================= */

.zrf-nav-icon {
    width: 18px !important;
    height: 18px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    color: #b51b27 !important;

    filter:
        drop-shadow(0 0 4px rgba(181,27,39,.30)) !important;
}


.zrf-nav-icon svg {
    display: block !important;

    width: 17px !important;
    height: 17px !important;

    fill: currentColor !important;
}


/* =========================================================
   NAV TEXT
   ========================================================= */

.zrf-nav-text {
    position: relative !important;
    z-index: 2 !important;

    color: inherit !important;

    font: inherit !important;

    text-shadow:
        0 1px 2px rgba(0,0,0,.9) !important;
}


/* =========================================================
   NAV HOVER / ACTIVE
   ========================================================= */

.zrf-nav-button:hover {
    color: #ffffff !important;

    background:
        linear-gradient(
            180deg,
            rgba(117,13,22,.12),
            rgba(70,8,14,.07)
        ) !important;

    box-shadow:
        inset 0 0 22px rgba(116,10,20,.08) !important;
}


.zrf-nav-button:hover::before,
.zrf-nav-button.zrf-active::before {
    transform: scaleX(1) !important;
}


.zrf-nav-button:hover .zrf-nav-icon,
.zrf-nav-button.zrf-active .zrf-nav-icon {
    color: #e12c39 !important;

    filter:
        drop-shadow(0 0 6px rgba(224,37,52,.48)) !important;
}


.zrf-nav-button.zrf-active {
    color: #ffffff !important;

    background:
        linear-gradient(
            180deg,
            rgba(111,12,20,.16),
            rgba(54,7,12,.08)
        ) !important;
}


/* =========================================================
   REMOVE OLD CENTER CRYSTAL
   ========================================================= */

.zrf-crystal {
    display: none !important;
}


/* =========================================================
   ACCOUNT BAR
   ========================================================= */

.zrf-accountbar {
    position: relative !important;
    z-index: 18 !important;

    width: 100% !important;
    min-height: 54px !important;

    margin: 0 !important;
    padding: 0 !important;

    background:
        linear-gradient(
            180deg,
            #0c0d10,
            #090a0c
        ) !important;

    border: 0 !important;
    border-bottom: 1px solid #222429 !important;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.018) !important;
}


.zrf-account-inner {
    width: min(1280px, calc(100% - 40px)) !important;
    min-height: 54px !important;

    margin: 0 auto !important;
    padding: 0 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;

    color: #7d8188 !important;

    font-size: 11px !important;
}


.zrf-account-inner a {
    color: #c9cbd0 !important;
}


.zrf-account-inner a:hover {
    color: #e13b45 !important;
}


/* =========================================================
   BREADCRUMB
   ========================================================= */

.zrf-breadcrumb-shell {
    position: relative !important;

    width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    background:
        linear-gradient(
            180deg,
            #111216,
            #0e0f12
        ) !important;

    border-bottom: 1px solid #24262b !important;
}


.zrf-breadcrumb {
    width: min(1280px, calc(100% - 40px)) !important;
    min-height: 50px !important;

    margin: 0 auto !important;
    padding: 0 !important;

    display: flex !important;
    align-items: center !important;
    gap: 11px !important;

    color: #6f737a !important;

    font-size: 10px !important;
}


/* little Z badge */

.zrf-community-mark {
    flex: 0 0 27px !important;

    width: 27px !important;
    height: 27px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    color: #eee6df !important;

    background:
        linear-gradient(
            145deg,
            #671019,
            #25090d
        ) !important;

    border: 1px solid #8b1721 !important;
    border-radius: 2px !important;

    box-shadow:
        0 0 8px rgba(140,16,27,.18) !important;

    font-family:
        Georgia,
        "Times New Roman",
        serif !important;

    font-size: 14px !important;
    font-weight: 800 !important;
}


/* MyBB breadcrumb */

.zrf-breadcrumb-content {
    min-width: 0 !important;

    display: flex !important;
    align-items: center !important;
}


.zrf-breadcrumb .navigation {
    margin: 0 !important;
    padding: 0 !important;

    background: transparent !important;
}


.zrf-breadcrumb .navigation,
.zrf-breadcrumb .navigation a {
    color: #777b82 !important;
    font-size: 10px !important;
}


.zrf-breadcrumb .navigation a:hover {
    color: #dc3541 !important;
}


/* =========================================================
   ANIMATIONS
   ========================================================= */

@keyframes zerithLogoPulse {

    0%,
    100% {
        transform:
            translateY(0)
            scale(1);

        filter:
            drop-shadow(0 9px 9px rgba(0,0,0,.88))
            drop-shadow(0 0 7px rgba(255,30,42,.42))
            drop-shadow(0 0 19px rgba(164,8,20,.25));
    }

    50% {
        transform:
            translateY(-3px)
            scale(1.018);

        filter:
            drop-shadow(0 11px 10px rgba(0,0,0,.90))
            drop-shadow(0 0 11px rgba(255,45,55,.67))
            drop-shadow(0 0 28px rgba(191,9,24,.40));
    }
}


@keyframes zerithEnergyPulse {

    0%,
    100% {
        opacity: .48;
        transform:
            translate(-50%, -50%)
            scale(.90);
    }

    50% {
        opacity: .90;
        transform:
            translate(-50%, -50%)
            scale(1.08);
    }
}


@keyframes zerithFirePulse {

    0% {
        opacity: .42;

        transform:
            translateX(-50%)
            scale(.90, .86);
    }

    100% {
        opacity: .90;

        transform:
            translateX(-50%)
            scale(1.08, 1.13);
    }
}


@keyframes zerithEnergyRing {

    0%,
    100% {
        opacity: .25;
        transform:
            translate(-50%, -50%)
            scale(.88);
    }

    50% {
        opacity: .65;
        transform:
            translate(-50%, -50%)
            scale(1.07);
    }
}


@keyframes zerithCrownGlow {

    0%,
    100% {
        opacity: .32;
        transform:
            translateX(-50%)
            scale(.90);
    }

    50% {
        opacity: .82;
        transform:
            translateX(-50%)
            scale(1.12);
    }
}


@keyframes zerithMetalShine {

    0%,
    68% {
        opacity: 0;
        transform: translateX(-145%);
    }

    72% {
        opacity: .15;
    }

    80% {
        opacity: .80;
    }

    88% {
        opacity: .12;
    }

    92%,
    100% {
        opacity: 0;
        transform: translateX(145%);
    }
}


@keyframes zerithEmber {

    0% {
        opacity: 0;

        transform:
            translate(0, 10px)
            scale(.55);
    }

    15% {
        opacity: .95;
    }

    55% {
        opacity: .65;

        transform:
            translate(8px, -65px)
            scale(1);
    }

    100% {
        opacity: 0;

        transform:
            translate(-6px, -130px)
            scale(.35);
    }
}


/* =========================================================
   TABLET
   ========================================================= */

@media screen and (max-width: 1000px) {

    .zrf-hero {
        height: 300px !important;
        background-position: center center !important;
    }

    .zrf-z-wrap {
        width: 250px !important;
        height: 250px !important;
    }

    .zrf-z-link {
        width: 220px !important;
    }

    .zrf-nav {
        width: 100% !important;
    }

    .zrf-nav-button {
        padding: 0 10px !important;
        gap: 6px !important;

        font-size: 10px !important;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media screen and (max-width: 700px) {

    .zrf-hero {
        height: 245px !important;

        background-position: center center !important;
    }

    .zrf-z-wrap {
        width: 205px !important;
        height: 205px !important;
    }

    .zrf-z-link {
        width: 180px !important;
    }

    .zrf-z-energy {
        width: 180px !important;
        height: 180px !important;
    }

    .zrf-nav-shell {
        height: auto !important;
        min-height: 0 !important;
    }

    .zrf-nav {
        width: 100% !important;
        height: auto !important;

        grid-template-columns:
            repeat(3, 1fr) !important;
    }

    .zrf-nav-button {
        height: 56px !important;

        padding: 0 5px !important;

        border-bottom:
            1px solid rgba(255,255,255,.025) !important;

        font-size: 9px !important;
        letter-spacing: .5px !important;
    }

    .zrf-nav-icon {
        width: 15px !important;
        height: 15px !important;
    }

    .zrf-nav-icon svg {
        width: 14px !important;
        height: 14px !important;
    }

    .zrf-account-inner,
    .zrf-breadcrumb {
        width: calc(100% - 22px) !important;
    }

}


/* =========================================================
   SMALL PHONE
   ========================================================= */

@media screen and (max-width: 430px) {

    .zrf-hero {
        height: 215px !important;
    }

    .zrf-z-wrap {
        width: 175px !important;
        height: 175px !important;
    }

    .zrf-z-link {
        width: 155px !important;
    }

    .zrf-nav-button {
        flex-direction: column !important;
        gap: 3px !important;
    }

}


/* =========================================================
   ACCESSIBILITY
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .zrf-z-logo,
    .zrf-z-energy,
    .zrf-z-energy::before,
    .zrf-z-energy::after,
    .zrf-z-shine,
    .zrf-crown-glow,
    .zrf-ember {
        animation: none !important;
    }

}



/* TEST - remove white glow/smoke effect */
.zrf-z-shine,
.zrf-crown-glow {
    display: none !important;
}

.zrf-z-energy,
.zrf-z-energy::before,
.zrf-z-energy::after {
    filter: none !important;
}



/* =========================================================
   ZERITH HERO FINAL SIZE / POSITION TUNING
   ========================================================= */

/* DESKTOP HERO */
.zrf-hero {
    height: 390px !important;

    background-image:
        url(/images/zerith-new/zerith-edgeville-bg.png) !important;

    background-size: cover !important;
    background-position: center 46% !important;
    background-repeat: no-repeat !important;
}


/* =========================================================
   BIGGER / STRONGER CENTER Z
   ========================================================= */

.zrf-z-wrap {
    left: 50% !important;
    top: 50% !important;

    width: 330px !important;
    height: 330px !important;

    transform: translate(-50%, -50%) !important;
}

.zrf-z-link {
    width: 285px !important;
}

.zrf-z-logo {
    width: 100% !important;
    height: auto !important;

    filter:
        drop-shadow(0 10px 10px rgba(0,0,0,.90))
        drop-shadow(0 0 5px rgba(255,25,35,.65))
        drop-shadow(0 0 13px rgba(190,10,25,.42)) !important;

    animation:
        zerithCleanLogoPulse 3s ease-in-out infinite !important;
}


/* =========================================================
   RED-ONLY ENERGY
   NO WHITE / GRAY BLUR
   ========================================================= */

.zrf-z-energy {
    display: block !important;

    left: 50% !important;
    top: 52% !important;

    width: 255px !important;
    height: 255px !important;

    transform: translate(-50%, -50%) !important;

    background:
        radial-gradient(
            circle,
            rgba(255, 25, 35, .28) 0%,
            rgba(190, 8, 20, .20) 28%,
            rgba(105, 0, 10, .10) 48%,
            transparent 70%
        ) !important;

    filter: none !important;

    animation:
        zerithCleanEnergy 2.4s ease-in-out infinite !important;
}


/* REMOVE THE EFFECT THAT CREATED THE WHITE PATCH */

.zrf-z-energy::before,
.zrf-z-energy::after {
    display: none !important;
    content: none !important;
}

.zrf-z-shine {
    display: none !important;
}

.zrf-crown-glow {
    display: none !important;
}


/* =========================================================
   KEEP RED EMBERS
   ========================================================= */

.zrf-ember {
    display: block !important;

    background: #ff302f !important;

    box-shadow:
        0 0 4px rgba(255,40,40,.95),
        0 0 9px rgba(210,10,25,.75) !important;

    animation:
        zerithCleanEmber 3.5s linear infinite !important;
}


/* =========================================================
   CLEAN Z PULSE
   ========================================================= */

@keyframes zerithCleanLogoPulse {

    0%,
    100% {
        transform: scale(1);

        filter:
            drop-shadow(0 10px 10px rgba(0,0,0,.90))
            drop-shadow(0 0 5px rgba(255,25,35,.52))
            drop-shadow(0 0 12px rgba(180,8,22,.35));
    }

    50% {
        transform: scale(1.025);

        filter:
            drop-shadow(0 11px 11px rgba(0,0,0,.92))
            drop-shadow(0 0 8px rgba(255,30,42,.82))
            drop-shadow(0 0 19px rgba(205,10,27,.55));
    }
}


/* =========================================================
   CLEAN RED ENERGY PULSE
   ========================================================= */

@keyframes zerithCleanEnergy {

    0%,
    100% {
        opacity: .45;

        transform:
            translate(-50%, -50%)
            scale(.92);
    }

    50% {
        opacity: .85;

        transform:
            translate(-50%, -50%)
            scale(1.08);
    }
}


/* =========================================================
   CLEAN EMBERS
   ========================================================= */

@keyframes zerithCleanEmber {

    0% {
        opacity: 0;

        transform:
            translateY(12px)
            scale(.5);
    }

    15% {
        opacity: 1;
    }

    65% {
        opacity: .65;

        transform:
            translateY(-70px)
            scale(.9);
    }

    100% {
        opacity: 0;

        transform:
            translateY(-125px)
            scale(.3);
    }
}


/* =========================================================
   LARGE DESKTOP
   Show more of Edgeville instead of making it too short
   ========================================================= */

@media screen and (min-width: 1500px) {

    .zrf-hero {
        height: 400px !important;
        background-position: center 47% !important;
    }

}


/* =========================================================
   TABLET
   ========================================================= */

@media screen and (max-width: 1000px) {

    .zrf-hero {
        height: 310px !important;
        background-position: center center !important;
    }

    .zrf-z-wrap {
        width: 270px !important;
        height: 270px !important;
    }

    .zrf-z-link {
        width: 235px !important;
    }

    .zrf-z-energy {
        width: 215px !important;
        height: 215px !important;
    }

}


/* =========================================================
   MOBILE
   Keep the mobile version that was already looking good
   ========================================================= */

@media screen and (max-width: 700px) {

    .zrf-hero {
        height: 245px !important;

        background-size: cover !important;
        background-position: center center !important;
    }

    .zrf-z-wrap {
        width: 205px !important;
        height: 205px !important;
    }

    .zrf-z-link {
        width: 180px !important;
    }

    .zrf-z-energy {
        width: 165px !important;
        height: 165px !important;
    }

}


/* SMALL PHONE */

@media screen and (max-width: 430px) {

    .zrf-hero {
        height: 215px !important;
    }

    .zrf-z-wrap {
        width: 180px !important;
        height: 180px !important;
    }

    .zrf-z-link {
        width: 155px !important;
    }

}



/* =========================================================
   ZERITH HEADER - MATCH REFERENCE PROPORTIONS
   ========================================================= */


/* =========================
   HERO
   ========================= */

.zrf-hero {
    position: relative !important;

    height: 440px !important;

    overflow: visible !important;

    background-image:
        url(/images/zerith-new/zerith-edgeville-bg.png) !important;

    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;

    border-bottom: 1px solid #6f0d16 !important;
}


/* =========================
   LARGE CENTER Z
   ========================= */

.zrf-z-wrap {
    position: absolute !important;
    z-index: 50 !important;

    left: 50% !important;
    top: 49% !important;

    width: 520px !important;
    height: 420px !important;

    transform:
        translate(-50%, -50%) !important;

    overflow: visible !important;
}


.zrf-z-link {
    position: relative !important;

    width: 460px !important;

    display: block !important;

    pointer-events: auto !important;
}


.zrf-z-logo {
    width: 100% !important;
    height: auto !important;

    display: block !important;

    transform-origin: center center !important;

    filter:
        drop-shadow(0 12px 12px rgba(0,0,0,.95))
        drop-shadow(0 0 6px rgba(255,25,35,.70))
        drop-shadow(0 0 18px rgba(200,8,24,.50)) !important;

    animation:
        zerithBigLogoPulse 3s ease-in-out infinite !important;
}


/* =========================
   RED ENERGY ONLY
   ========================= */

.zrf-z-energy {
    display: block !important;

    position: absolute !important;

    left: 50% !important;
    top: 54% !important;

    width: 430px !important;
    height: 330px !important;

    transform:
        translate(-50%, -50%) !important;

    border-radius: 50% !important;

    background:
        radial-gradient(
            ellipse,
            rgba(255,25,35,.34) 0%,
            rgba(195,8,23,.24) 25%,
            rgba(115,3,14,.14) 45%,
            transparent 70%
        ) !important;

    filter: none !important;

    animation:
        zerithBigEnergy 2.6s ease-in-out infinite !important;
}


/* KEEP BAD WHITE EFFECTS OFF */

.zrf-z-energy::before,
.zrf-z-energy::after,
.zrf-z-shine,
.zrf-crown-glow {
    display: none !important;
    content: none !important;
}


/* =========================
   LOGO ANIMATION
   ========================= */

@keyframes zerithBigLogoPulse {

    0%,
    100% {
        transform: scale(1);

        filter:
            drop-shadow(0 12px 12px rgba(0,0,0,.95))
            drop-shadow(0 0 6px rgba(255,25,35,.60))
            drop-shadow(0 0 17px rgba(190,8,22,.42));
    }

    50% {
        transform: scale(1.018);

        filter:
            drop-shadow(0 14px 13px rgba(0,0,0,.95))
            drop-shadow(0 0 10px rgba(255,35,45,.85))
            drop-shadow(0 0 25px rgba(215,10,27,.58));
    }
}


@keyframes zerithBigEnergy {

    0%,
    100% {
        opacity: .48;

        transform:
            translate(-50%, -50%)
            scale(.94);
    }

    50% {
        opacity: .90;

        transform:
            translate(-50%, -50%)
            scale(1.06);
    }
}


/* =========================
   NAVIGATION SHELL

   Pull it upward over the hero,
   like your target image.
   ========================= */

.zrf-nav-shell {
    position: relative !important;
    z-index: 60 !important;

    width: 100% !important;

    height: 86px !important;
    min-height: 86px !important;

    margin-top: -18px !important;

    background: transparent !important;

    border: 0 !important;

    box-shadow: none !important;
}


/* =========================
   ACTUAL NAV PANEL
   ========================= */

.zrf-nav {
    position: relative !important;

    width: min(1460px, 82%) !important;
    height: 86px !important;

    margin: 0 auto !important;

    display: grid !important;

    grid-template-columns:
        repeat(6, 1fr) !important;

    align-items: stretch !important;

    background:
        linear-gradient(
            180deg,
            rgba(18,17,18,.98),
            rgba(8,9,11,.99)
        ) !important;

    border-top:
        2px solid #3c2929 !important;

    border-bottom:
        2px solid #281113 !important;

    box-shadow:
        0 -2px 14px rgba(255,25,35,.08),
        0 12px 25px rgba(0,0,0,.65),
        inset 0 1px 0 rgba(255,255,255,.035) !important;
}


/* angled panel like reference */

.zrf-nav::before {
    content: "" !important;

    position: absolute !important;

    inset: -4px -25px !important;

    z-index: -1 !important;

    background:
        linear-gradient(
            180deg,
            #211c1d,
            #09090b
        ) !important;

    border:
        1px solid #382628 !important;

    clip-path:
        polygon(
            2% 0,
            98% 0,
            100% 50%,
            98% 100%,
            2% 100%,
            0 50%
        ) !important;

    box-shadow:
        0 8px 25px rgba(0,0,0,.8) !important;
}


/* red bottom accent */

.zrf-nav::after {
    content: "" !important;

    position: absolute !important;

    left: 8% !important;
    right: 8% !important;
    bottom: -2px !important;

    height: 1px !important;

    background:
        linear-gradient(
            90deg,
            transparent,
            #6e1018,
            #d41e2d,
            #6e1018,
            transparent
        ) !important;

    box-shadow:
        0 0 7px rgba(220,25,40,.35) !important;
}


/* =========================
   NAV BUTTONS
   ========================= */

.zrf-nav-button {
    height: 86px !important;

    padding: 0 20px !important;

    gap: 15px !important;

    background: transparent !important;

    border-left:
        1px solid rgba(110,30,35,.20) !important;

    color: #ddd7d0 !important;

    font-family:
        Georgia,
        "Times New Roman",
        serif !important;

    font-size: 15px !important;

    letter-spacing: .5px !important;
}


.zrf-nav-button:last-child {
    border-right:
        1px solid rgba(110,30,35,.20) !important;
}


/* bigger red icons */

.zrf-nav-icon {
    width: 30px !important;
    height: 30px !important;

    color: #e51f30 !important;
}


.zrf-nav-icon svg {
    width: 27px !important;
    height: 27px !important;
}


/* ACTIVE */

.zrf-nav-button.zrf-active,
.zrf-nav-button:hover {
    color: #ffffff !important;

    background:
        radial-gradient(
            ellipse at bottom,
            rgba(150,10,22,.18),
            transparent 70%
        ) !important;
}


.zrf-nav-button::before {
    left: 25% !important;
    right: 25% !important;

    height: 2px !important;

    background: #e11e2e !important;

    box-shadow:
        0 0 10px rgba(255,20,35,.85) !important;
}


/* =========================
   ACCOUNT BAR
   ========================= */

.zrf-accountbar {
    position: relative !important;

    margin-top: 14px !important;

    min-height: 68px !important;

    background: transparent !important;

    border: 0 !important;
}


.zrf-account-inner {
    width: min(1600px, 92%) !important;

    min-height: 64px !important;

    padding: 0 32px !important;

    box-sizing: border-box !important;

    background:
        linear-gradient(
            180deg,
            #111113,
            #09090b
        ) !important;

    border:
        1px solid #302326 !important;

    box-shadow:
        0 8px 20px rgba(0,0,0,.50),
        inset 0 1px 0 rgba(255,255,255,.025) !important;
}


/* =========================================================
   TABLET
   ========================================================= */

@media screen and (max-width: 1000px) {

    .zrf-hero {
        height: 330px !important;
    }

    .zrf-z-wrap {
        width: 350px !important;
        height: 300px !important;
    }

    .zrf-z-link {
        width: 310px !important;
    }

    .zrf-z-energy {
        width: 290px !important;
        height: 240px !important;
    }

    .zrf-nav {
        width: 94% !important;
    }

    .zrf-nav-button {
        gap: 7px !important;
        padding: 0 8px !important;
        font-size: 11px !important;
    }

}


/* =========================================================
   MOBILE

   Keep mobile compact because you said
   the mobile version already works well.
   ========================================================= */

@media screen and (max-width: 700px) {

    .zrf-hero {
        height: 245px !important;

        overflow: hidden !important;
    }

    .zrf-z-wrap {
        width: 205px !important;
        height: 205px !important;
    }

    .zrf-z-link {
        width: 180px !important;
    }

    .zrf-z-energy {
        width: 165px !important;
        height: 165px !important;
    }

    .zrf-nav-shell {
        margin-top: 0 !important;

        height: auto !important;
        min-height: 0 !important;
    }

    .zrf-nav {
        width: 100% !important;
        height: auto !important;

        grid-template-columns:
            repeat(3, 1fr) !important;
    }

    .zrf-nav::before,
    .zrf-nav::after {
        display: none !important;
    }

    .zrf-nav-button {
        height: 56px !important;

        font-size: 9px !important;
    }

    .zrf-nav-icon {
        width: 16px !important;
        height: 16px !important;
    }

    .zrf-nav-icon svg {
        width: 15px !important;
        height: 15px !important;
    }

    .zrf-accountbar {
        margin-top: 0 !important;
    }

    .zrf-account-inner {
        width: 100% !important;
        min-height: 54px !important;
        padding: 0 12px !important;
    }

}



/* =========================================================
   ZERITH - FINAL LOWER HEADER PROPORTIONS
   Keep current hero + Z exactly as they are
   ========================================================= */


/* =========================================================
   NAV POSITION
   Give the Z some breathing room
   ========================================================= */

.zrf-nav-shell {
    position: relative !important;
    z-index: 60 !important;

    width: 100% !important;

    height: 92px !important;
    min-height: 92px !important;

    /* less overlap with the Z */
    margin-top: -4px !important;

    padding: 0 !important;

    background: #090a0c !important;

    border-top: 1px solid #541019 !important;
    border-bottom: 0 !important;

    box-shadow: none !important;
}


/* =========================================================
   LARGE CENTERED NAV FRAME
   ========================================================= */

.zrf-nav {
    position: relative !important;

    width: min(1500px, 82%) !important;
    height: 84px !important;

    margin: 0 auto !important;

    display: grid !important;

    grid-template-columns:
        repeat(6, 1fr) !important;

    align-items: stretch !important;

    background:
        linear-gradient(
            180deg,
            #181516 0%,
            #100e10 48%,
            #09090b 100%
        ) !important;

    border-top:
        1px solid #392629 !important;

    border-bottom:
        1px solid #451018 !important;

    box-shadow:
        0 8px 25px rgba(0,0,0,.65),
        inset 0 1px 0 rgba(255,255,255,.035) !important;
}


/* angled outer frame */

.zrf-nav::before {
    content: "" !important;

    display: block !important;

    position: absolute !important;

    z-index: -1 !important;

    top: 0 !important;
    bottom: 0 !important;

    left: -27px !important;
    right: -27px !important;

    background:
        linear-gradient(
            180deg,
            #201c1d,
            #0b0a0c
        ) !important;

    border:
        1px solid #382326 !important;

    clip-path:
        polygon(
            2% 0,
            98% 0,
            100% 50%,
            98% 100%,
            2% 100%,
            0 50%
        ) !important;
}


/* red glowing bottom line */

.zrf-nav::after {
    content: "" !important;

    display: block !important;

    position: absolute !important;

    left: 7% !important;
    right: 7% !important;
    bottom: 0 !important;

    height: 1px !important;

    background:
        linear-gradient(
            90deg,
            transparent,
            #751019 20%,
            #e01c2c 50%,
            #751019 80%,
            transparent
        ) !important;

    box-shadow:
        0 0 8px rgba(225,25,42,.50) !important;
}


/* =========================================================
   NAV ITEMS
   ========================================================= */

.zrf-nav-button {
    height: 84px !important;

    padding: 0 25px !important;

    display: flex !important;

    flex-direction: row !important;

    align-items: center !important;
    justify-content: center !important;

    gap: 18px !important;

    color: #ddd7d1 !important;

    background: transparent !important;

    border: 0 !important;

    border-left:
        1px solid rgba(100,35,40,.22) !important;

    font-family:
        Georgia,
        "Times New Roman",
        serif !important;

    font-size: 16px !important;

    font-weight: 700 !important;

    letter-spacing: .25px !important;

    text-decoration: none !important;
}


.zrf-nav-button:last-child {
    border-right:
        1px solid rgba(100,35,40,.22) !important;
}


/* bigger reference-style icons */

.zrf-nav-icon {
    width: 31px !important;
    height: 31px !important;

    color: #e32031 !important;

    filter:
        drop-shadow(
            0 0 5px rgba(220,25,42,.32)
        ) !important;
}


.zrf-nav-icon svg {
    width: 28px !important;
    height: 28px !important;
}


/* active item */

.zrf-nav-button.zrf-active {
    color: #ffffff !important;

    background:
        radial-gradient(
            ellipse at bottom,
            rgba(150,10,25,.20),
            transparent 72%
        ) !important;
}


.zrf-nav-button:hover {
    color: #ffffff !important;

    background:
        radial-gradient(
            ellipse at bottom,
            rgba(125,10,22,.16),
            transparent 72%
        ) !important;
}


/* active red underline */

.zrf-nav-button::before {
    content: "" !important;

    display: block !important;

    position: absolute !important;

    left: 24% !important;
    right: 24% !important;

    bottom: 0 !important;

    height: 2px !important;

    background: #e21e30 !important;

    box-shadow:
        0 0 10px rgba(240,25,45,.80) !important;

    transform: scaleX(0) !important;
}


.zrf-nav-button:hover::before,
.zrf-nav-button.zrf-active::before {
    transform: scaleX(1) !important;
}


/* =========================================================
   ACCOUNT AREA
   Make it much closer to reference width
   ========================================================= */

.zrf-accountbar {
    position: relative !important;
    z-index: 40 !important;

    width: 100% !important;

    min-height: 86px !important;

    margin: 0 !important;
    padding: 15px 0 8px !important;

    box-sizing: border-box !important;

    background:
        #090a0c !important;

    border: 0 !important;
}


.zrf-account-inner {
    width: min(1740px, 92%) !important;

    min-height: 64px !important;

    margin: 0 auto !important;

    padding:
        0 32px !important;

    box-sizing: border-box !important;

    display: flex !important;
    align-items: center !important;

    background:
        linear-gradient(
            180deg,
            #121113,
            #09090b
        ) !important;

    border:
        1px solid #352327 !important;

    box-shadow:
        0 8px 22px rgba(0,0,0,.52),
        inset 0 1px 0 rgba(255,255,255,.025) !important;
}


/* =========================================================
   ZERITH COMMUNITY BAR
   ========================================================= */

.zrf-breadcrumb-shell {
    width: 100% !important;

    padding:
        8px 0 16px !important;

    box-sizing: border-box !important;

    background:
        #0d0e11 !important;

    border: 0 !important;
}


.zrf-breadcrumb {
    position: relative !important;

    width: min(1740px, 92%) !important;

    min-height: 78px !important;

    margin: 0 auto !important;

    padding:
        0 30px !important;

    box-sizing: border-box !important;

    display: flex !important;
    align-items: center !important;

    gap: 18px !important;

    background:
        linear-gradient(
            90deg,
            rgba(18,14,16,.98),
            rgba(11,11,13,.98)
        ) !important;

    border:
        1px solid #3a2428 !important;

    border-bottom:
        1px solid #78101b !important;

    box-shadow:
        0 8px 22px rgba(0,0,0,.45),
        inset 0 1px 0 rgba(255,255,255,.025) !important;
}


/* larger Z badge */

.zrf-community-mark {
    width: 38px !important;
    height: 38px !important;

    flex:
        0 0 38px !important;

    color: #eee4de !important;

    background:
        linear-gradient(
            145deg,
            #80131e,
            #26090d
        ) !important;

    border:
        1px solid #a01b27 !important;

    font-size: 18px !important;

    box-shadow:
        0 0 10px rgba(170,15,28,.30) !important;
}


/* make breadcrumb text stronger */

.zrf-breadcrumb .navigation,
.zrf-breadcrumb .navigation a {
    font-family:
        Georgia,
        "Times New Roman",
        serif !important;

    font-size: 15px !important;

    color: #d5cfca !important;
}


/* =========================================================
   MOBILE - KEEP CURRENT MOBILE BEHAVIOR
   ========================================================= */

@media screen and (max-width: 700px) {

    .zrf-nav-shell {
        height: auto !important;
        min-height: 0 !important;

        margin-top: 0 !important;
    }

    .zrf-nav {
        width: 100% !important;
        height: auto !important;

        grid-template-columns:
            repeat(3, 1fr) !important;
    }

    .zrf-nav::before,
    .zrf-nav::after {
        display: none !important;
    }

    .zrf-nav-button {
        height: 56px !important;

        padding: 0 5px !important;

        gap: 5px !important;

        font-size: 9px !important;
    }

    .zrf-nav-icon {
        width: 16px !important;
        height: 16px !important;
    }

    .zrf-nav-icon svg {
        width: 15px !important;
        height: 15px !important;
    }

    .zrf-accountbar {
        min-height: 54px !important;

        padding: 0 !important;
    }

    .zrf-account-inner {
        width: 100% !important;

        min-height: 54px !important;

        padding: 0 12px !important;
    }

    .zrf-breadcrumb-shell {
        padding: 6px 0 !important;
    }

    .zrf-breadcrumb {
        width: calc(100% - 12px) !important;

        min-height: 52px !important;

        padding: 0 12px !important;
    }

    .zrf-community-mark {
        width: 29px !important;
        height: 29px !important;

        flex-basis: 29px !important;

        font-size: 14px !important;
    }

}



/* =========================================================
   ZERITH TOP UTILITY BAR
   ========================================================= */

.zrf-topbar {
    position: relative !important;
    z-index: 200 !important;

    width: 100% !important;
    height: 50px !important;

    background:
        linear-gradient(
            180deg,
            #111113 0%,
            #09090b 100%
        ) !important;

    border-bottom:
        1px solid #65101a !important;

    box-shadow:
        0 3px 15px rgba(0,0,0,.60),
        inset 0 -1px 0 rgba(220,25,40,.10) !important;
}


.zrf-topbar-inner {
    width: min(1800px, 94%) !important;
    height: 50px !important;

    margin: 0 auto !important;

    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}


/* =========================
   LEFT
   ========================= */

.zrf-topbar-left {
    height: 100% !important;

    display: flex !important;
    align-items: center !important;
}


.zrf-topbar-status {
    position: relative !important;

    display: flex !important;
    align-items: center !important;

    height: 100% !important;

    color: #8e8e93 !important;

    font-family: Arial, sans-serif !important;

    font-size: 11px !important;
    font-weight: 700 !important;

    letter-spacing: 1.5px !important;

    text-transform: uppercase !important;
}


.zrf-topbar-status::before {
    content: "" !important;

    width: 7px !important;
    height: 7px !important;

    margin-right: 10px !important;

    border-radius: 50% !important;

    background: #d91d2e !important;

    box-shadow:
        0 0 7px rgba(220,25,43,.75) !important;
}


/* =========================
   RIGHT
   ========================= */

.zrf-topbar-right {
    height: 100% !important;

    display: flex !important;
    align-items: stretch !important;
}


/* =========================
   LINKS
   ========================= */

.zrf-top-link {
    position: relative !important;

    height: 50px !important;

    padding: 0 25px !important;

    display: flex !important;
    align-items: center !important;

    gap: 10px !important;

    color: #c9c5c2 !important;

    border-left:
        1px solid rgba(110,30,37,.24) !important;

    font-family:
        Arial,
        sans-serif !important;

    font-size: 11px !important;
    font-weight: 600 !important;

    letter-spacing: .35px !important;

    text-decoration: none !important;

    transition:
        color .2s ease,
        background .2s ease !important;
}


.zrf-top-link:last-child {
    border-right:
        1px solid rgba(110,30,37,.24) !important;
}


.zrf-top-link:hover {
    color: #ffffff !important;

    background:
        linear-gradient(
            180deg,
            rgba(130,12,24,.10),
            rgba(90,8,17,.06)
        ) !important;
}


/* little red hover line */

.zrf-top-link::after {
    content: "" !important;

    position: absolute !important;

    left: 20% !important;
    right: 20% !important;
    bottom: 0 !important;

    height: 1px !important;

    background: #e21e30 !important;

    box-shadow:
        0 0 7px rgba(230,25,45,.65) !important;

    transform: scaleX(0) !important;

    transition:
        transform .2s ease !important;
}


.zrf-top-link:hover::after {
    transform: scaleX(1) !important;
}


/* =========================
   ICONS
   ========================= */

.zrf-top-icon {
    width: 20px !important;
    height: 20px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    color: #e21e30 !important;

    filter:
        drop-shadow(
            0 0 4px rgba(225,25,43,.30)
        ) !important;
}


.zrf-top-icon svg {
    width: 19px !important;
    height: 19px !important;

    display: block !important;

    fill: currentColor !important;
}


/* =========================================================
   TABLET
   ========================================================= */

@media screen and (max-width: 1000px) {

    .zrf-topbar-inner {
        width: 96% !important;
    }

    .zrf-top-link {
        padding: 0 14px !important;

        font-size: 9px !important;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media screen and (max-width: 700px) {

    .zrf-topbar {
        height: 42px !important;
    }

    .zrf-topbar-inner {
        width: 100% !important;
        height: 42px !important;

        justify-content: center !important;
    }

    .zrf-topbar-left {
        display: none !important;
    }

    .zrf-topbar-right {
        width: 100% !important;
        height: 42px !important;

        justify-content: center !important;
    }

    .zrf-top-link {
        flex: 1 !important;

        height: 42px !important;

        padding: 0 4px !important;

        justify-content: center !important;

        font-size: 8px !important;

        gap: 5px !important;
    }

    .zrf-top-icon {
        width: 15px !important;
        height: 15px !important;
    }

    .zrf-top-icon svg {
        width: 14px !important;
        height: 14px !important;
    }

}


/* =========================================================
   VERY SMALL PHONE
   ========================================================= */

@media screen and (max-width: 430px) {

    .zrf-top-link span:last-child {
        font-size: 7px !important;
        letter-spacing: 0 !important;
    }

}



/* =========================================================
   ZERITH - PREMIUM METAL PANEL FINISH
   NAV + ACCOUNT + COMMUNITY ONLY
   ========================================================= */


/* =========================================================
   1. NAVIGATION FRAME
   ========================================================= */

.zrf-nav {
    background:
        radial-gradient(
            ellipse at 50% 0%,
            rgba(110, 20, 28, .10) 0%,
            transparent 48%
        ),
        linear-gradient(
            180deg,
            #1b1819 0%,
            #121012 42%,
            #0b0b0d 100%
        ) !important;

    border-top:
        1px solid rgba(116, 70, 72, .55) !important;

    border-bottom:
        1px solid #74111b !important;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.045),
        inset 0 -10px 24px rgba(0,0,0,.34),
        0 8px 25px rgba(0,0,0,.68),
        0 1px 8px rgba(130,10,23,.13) !important;
}


/* Outer angled metal */

.zrf-nav::before {
    background:
        linear-gradient(
            180deg,
            #292426 0%,
            #181416 16%,
            #0d0c0e 82%,
            #08080a 100%
        ) !important;

    border:
        1px solid #3f3032 !important;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.045),
        inset 0 -1px 0 rgba(122,13,24,.30),
        0 8px 22px rgba(0,0,0,.72) !important;
}


/* Bottom crimson energy line */

.zrf-nav::after {
    height: 2px !important;

    left: 5% !important;
    right: 5% !important;

    background:
        linear-gradient(
            90deg,
            transparent 0%,
            rgba(120,10,22,.30) 10%,
            #79121c 28%,
            #e51d30 50%,
            #79121c 72%,
            rgba(120,10,22,.30) 90%,
            transparent 100%
        ) !important;

    box-shadow:
        0 0 4px rgba(226,25,43,.40),
        0 0 11px rgba(180,10,26,.22) !important;
}


/* =========================================================
   NAV ITEMS
   ========================================================= */

.zrf-nav-button {
    position: relative !important;

    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,.008),
            rgba(0,0,0,.08)
        ) !important;

    border-left:
        1px solid rgba(107,55,59,.22) !important;

    color: #d8d2cc !important;

    text-shadow:
        0 1px 2px #000 !important;

    transition:
        color .20s ease,
        background .20s ease,
        box-shadow .20s ease !important;
}


.zrf-nav-button:last-child {
    border-right:
        1px solid rgba(107,55,59,.22) !important;
}


/* Active / hover depth */

.zrf-nav-button:hover,
.zrf-nav-button.zrf-active {
    color: #fff !important;

    background:
        radial-gradient(
            ellipse at 50% 100%,
            rgba(173,14,30,.21) 0%,
            rgba(97,8,18,.10) 38%,
            transparent 73%
        ),
        linear-gradient(
            180deg,
            rgba(115,18,27,.07),
            rgba(20,8,11,.10)
        ) !important;

    box-shadow:
        inset 0 0 25px rgba(124,9,21,.08) !important;
}


/* Active glowing underline */

.zrf-nav-button::before {
    height: 2px !important;

    bottom: 0 !important;

    background:
        linear-gradient(
            90deg,
            transparent,
            #e72031,
            transparent
        ) !important;

    box-shadow:
        0 0 5px #d8192a,
        0 0 12px rgba(220,20,39,.48) !important;
}


/* Red icons */

.zrf-nav-icon {
    color: #e51e31 !important;

    filter:
        drop-shadow(0 0 3px rgba(229,30,49,.35)) !important;
}


.zrf-nav-button:hover .zrf-nav-icon,
.zrf-nav-button.zrf-active .zrf-nav-icon {
    color: #ff3041 !important;

    filter:
        drop-shadow(0 0 6px rgba(238,28,47,.58)) !important;
}


/* =========================================================
   2. ACCOUNT BAR
   ========================================================= */

.zrf-accountbar {
    background:
        linear-gradient(
            180deg,
            #090a0c,
            #0b0c0f
        ) !important;
}


.zrf-account-inner {
    position: relative !important;

    overflow: hidden !important;

    background:
        radial-gradient(
            ellipse at 20% 50%,
            rgba(100,10,20,.055),
            transparent 38%
        ),
        linear-gradient(
            180deg,
            #151315 0%,
            #0c0c0e 52%,
            #09090b 100%
        ) !important;

    border:
        1px solid #3b2b2e !important;

    border-bottom-color:
        #651019 !important;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.035),
        inset 0 -8px 18px rgba(0,0,0,.22),
        0 7px 18px rgba(0,0,0,.52) !important;
}


/* faint red upper highlight */

.zrf-account-inner::before {
    content: "" !important;

    position: absolute !important;

    left: 4% !important;
    right: 4% !important;
    top: 0 !important;

    height: 1px !important;

    pointer-events: none !important;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(135,21,31,.34),
            rgba(215,25,40,.28),
            rgba(135,21,31,.34),
            transparent
        ) !important;
}


/* account links */

.zrf-account-inner a {
    color: #d0ccc8 !important;

    text-decoration: none !important;

    transition:
        color .18s ease,
        text-shadow .18s ease !important;
}


.zrf-account-inner a:hover {
    color: #f02a3c !important;

    text-shadow:
        0 0 6px rgba(220,20,38,.35) !important;
}


/* Keep username red */

.zrf-account-inner strong,
.zrf-account-inner b {
    color: #ed2436 !important;
}


/* =========================================================
   3. ZERITH COMMUNITY FRAME
   ========================================================= */

.zrf-breadcrumb-shell {
    background:
        linear-gradient(
            180deg,
            #0e0f12,
            #0b0c0e
        ) !important;
}


.zrf-breadcrumb {
    position: relative !important;

    overflow: hidden !important;

    background:
        radial-gradient(
            ellipse at 25% 50%,
            rgba(104,9,19,.08),
            transparent 43%
        ),
        linear-gradient(
            180deg,
            #181517 0%,
            #100e10 52%,
            #0a0a0c 100%
        ) !important;

    border:
        1px solid #3d2a2e !important;

    border-bottom:
        1px solid #85121e !important;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.035),
        inset 0 -10px 20px rgba(0,0,0,.25),
        0 8px 22px rgba(0,0,0,.48) !important;
}


/* subtle red line across bottom */

.zrf-breadcrumb::after {
    content: "" !important;

    position: absolute !important;

    left: 2% !important;
    right: 2% !important;
    bottom: 0 !important;

    height: 1px !important;

    background:
        linear-gradient(
            90deg,
            transparent,
            #75101a 18%,
            #d71b2c 50%,
            #75101a 82%,
            transparent
        ) !important;

    box-shadow:
        0 0 6px rgba(206,20,37,.30) !important;

    pointer-events: none !important;
}


/* =========================================================
   COMMUNITY Z BADGE
   ========================================================= */

.zrf-community-mark {
    position: relative !important;

    color: #f1e8e2 !important;

    background:
        radial-gradient(
            circle at 35% 25%,
            #a91b28,
            #641019 42%,
            #25080c 100%
        ) !important;

    border:
        1px solid #ad1a28 !important;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.12),
        inset 0 -5px 10px rgba(0,0,0,.28),
        0 0 9px rgba(173,15,30,.24) !important;

    text-shadow:
        0 1px 2px #000,
        0 0 4px rgba(255,50,60,.28) !important;
}


/* =========================================================
   COMMUNITY TEXT
   ========================================================= */

.zrf-breadcrumb .navigation,
.zrf-breadcrumb .navigation a {
    color: #d9d2cc !important;

    text-shadow:
        0 1px 2px rgba(0,0,0,.95) !important;
}


.zrf-breadcrumb .navigation a:hover {
    color: #ef293b !important;
}


/* =========================================================
   SMALL DETAIL:
   panel separators in account/welcome block
   ========================================================= */

.zrf-account-inner ul.menu.panel_links > li,
.zrf-account-inner .menu.panel_links > li {
    border-left-color:
        rgba(115,48,54,.27) !important;
}


/* =========================================================
   MOBILE
   Keep it clean, don't overdo the metal effects
   ========================================================= */

@media screen and (max-width: 700px) {

    .zrf-nav {
        border-top-color:
            #35272a !important;
    }

    .zrf-nav-button {
        border-left-color:
            rgba(90,40,45,.20) !important;
    }

    .zrf-account-inner {
        border-left: 0 !important;
        border-right: 0 !important;
    }

    .zrf-breadcrumb {
        box-shadow:
            inset 0 1px 0 rgba(255,255,255,.025),
            0 5px 14px rgba(0,0,0,.40) !important;
    }

}



/* =========================================================
   ZERITH FORUM DISPLAY
   CLEAN DARK / CRIMSON DESIGN
   ========================================================= */

.zfd-page {
    width: 100%;
    margin: 20px 0 30px;
}


/* =========================================================
   TOP ACTIONS
   ========================================================= */

.zfd-top-actions {
    min-height: 10px;
    margin-bottom: 8px;

    display: flex;
    justify-content: space-between;
    align-items: center;
}


/* =========================================================
   FORUM HEADER
   ========================================================= */

.zfd-forum-header {
    position: relative;

    min-height: 82px;

    padding: 14px 18px;

    box-sizing: border-box;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    background:
        radial-gradient(
            ellipse at 10% 50%,
            rgba(120, 12, 23, .12),
            transparent 38%
        ),
        linear-gradient(
            180deg,
            #191617,
            #0d0d0f
        );

    border: 1px solid #3c292c;
    border-bottom: 1px solid #8d1420;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.035),
        0 8px 20px rgba(0,0,0,.45);

    overflow: hidden;
}


/* subtle bottom glow */

.zfd-forum-header::after {
    content: "";

    position: absolute;

    left: 2%;
    right: 2%;
    bottom: 0;

    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            #72101a,
            #dc1d2d,
            #72101a,
            transparent
        );

    box-shadow:
        0 0 7px rgba(215,25,42,.32);

    pointer-events: none;
}


/* =========================================================
   HEADING
   ========================================================= */

.zfd-forum-heading {
    min-width: 0;

    display: flex;
    align-items: center;

    gap: 14px;
}


.zfd-forum-icon {
    flex: 0 0 44px;

    width: 44px;
    height: 44px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #ef293a;

    background:
        linear-gradient(
            145deg,
            #651019,
            #22080c
        );

    border: 1px solid #8e1621;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.06),
        0 0 10px rgba(175,15,28,.18);
}


.zfd-forum-icon svg {
    width: 22px;
    height: 22px;

    fill: currentColor;

    filter:
        drop-shadow(0 0 4px rgba(235,30,48,.35));
}


.zfd-forum-title-wrap {
    min-width: 0;
}


.zfd-forum-title {
    color: #f0ebe6;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 19px;
    font-weight: 700;

    line-height: 1.2;

    text-shadow:
        0 1px 2px #000;
}


.zfd-forum-subtitle {
    margin-top: 5px;

    color: #77757a;

    font-size: 11px;

    letter-spacing: .15px;
}


/* =========================================================
   HEADER ACTIONS
   ========================================================= */

.zfd-header-actions {
    display: flex;
    align-items: center;

    gap: 18px;
}


.zfd-header-links {
    color: #68686d;

    font-size: 10px;
}


.zfd-header-links a {
    color: #9a9798;

    text-decoration: none;
}


.zfd-header-links a:hover {
    color: #e7293a;
}


/* =========================================================
   NEW THREAD BUTTON
   ========================================================= */

.zfd-newthread a {
    min-height: 36px;

    padding: 0 17px;

    box-sizing: border-box;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    color: #f6efeb !important;

    background:
        linear-gradient(
            180deg,
            #9d1724,
            #5e0d16
        ) !important;

    border: 1px solid #bd2130 !important;
    border-radius: 3px;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.10),
        0 0 9px rgba(170,12,27,.17);

    font-size: 11px;
    font-weight: 700;

    text-decoration: none !important;

    text-shadow:
        0 1px 2px rgba(0,0,0,.9);

    transition:
        background .18s ease,
        border-color .18s ease,
        box-shadow .18s ease;
}


.zfd-newthread a:hover {
    background:
        linear-gradient(
            180deg,
            #bd2030,
            #74101b
        ) !important;

    border-color: #e02a3b !important;

    box-shadow:
        0 0 12px rgba(205,20,38,.30);
}


/* =========================================================
   THREAD PANEL
   ========================================================= */

.zfd-thread-panel {
    margin-top: 8px;

    border: 1px solid #29292e;

    box-shadow:
        0 7px 20px rgba(0,0,0,.35);

    overflow: hidden;
}


.zfd-thread-table {
    width: 100% !important;

    margin: 0 !important;

    background: #0b0c0e !important;

    border: 0 !important;
    border-collapse: collapse !important;
}


/* =========================================================
   COLUMN HEADER
   ========================================================= */

.zfd-thread-table .tcat {
    height: 39px !important;

    padding: 0 13px !important;

    background:
        linear-gradient(
            180deg,
            #161619,
            #101013
        ) !important;

    border: 0 !important;
    border-bottom: 1px solid #39383d !important;

    color: #8c898b !important;

    font-size: 9px !important;

    text-transform: uppercase;

    letter-spacing: .55px;
}


.zfd-thread-table .tcat + .tcat {
    border-left:
        1px solid #252529 !important;
}


.zfd-thread-table .tcat a {
    color: #a7a3a3 !important;

    text-decoration: none !important;
}


.zfd-thread-table .tcat a:hover {
    color: #e52638 !important;
}


.zfd-column-separator {
    margin: 0 4px;

    color: #4e4d51;
}


/* =========================================================
   ACTUAL THREAD ROWS

   MyBB supplies {$threads}, so style the existing cells.
   ========================================================= */

.zfd-thread-table .trow1,
.zfd-thread-table .trow2 {
    padding: 12px 10px !important;

    background:
        linear-gradient(
            180deg,
            #101115,
            #0c0d10
        ) !important;

    border-bottom:
        1px solid #292a2f !important;

    color: #929096 !important;

    transition:
        background .18s ease,
        border-color .18s ease;
}


.zfd-thread-table tr:hover > .trow1,
.zfd-thread-table tr:hover > .trow2 {
    background:
        linear-gradient(
            180deg,
            #151317,
            #100e12
        ) !important;

    border-bottom-color:
        #55101a !important;
}


/* thread title */

.zfd-thread-table .subject_new,
.zfd-thread-table .subject_old,
.zfd-thread-table .subject_new a,
.zfd-thread-table .subject_old a {
    color: #ddd8d4 !important;

    font-weight: 700 !important;

    text-decoration: none !important;
}


.zfd-thread-table .subject_new a:hover,
.zfd-thread-table .subject_old a:hover {
    color: #ed2639 !important;
}


/* General links inside rows */

.zfd-thread-table .trow1 a,
.zfd-thread-table .trow2 a {
    text-decoration: none;
}


.zfd-thread-table .trow1 a:hover,
.zfd-thread-table .trow2 a:hover {
    color: #e62638;
}


/* =========================================================
   FORUM SORT ROW
   ========================================================= */

.zfd-thread-table select,
.zfd-thread-table input[type="text"],
.zfd-thread-table input[type="search"] {
    min-height: 30px;

    box-sizing: border-box;

    color: #d0ccca !important;

    background: #090a0c !important;

    border: 1px solid #33343a !important;
    border-radius: 3px;

    outline: none;
}


.zfd-thread-table select:focus,
.zfd-thread-table input[type="text"]:focus,
.zfd-thread-table input[type="search"]:focus {
    border-color: #861521 !important;

    box-shadow:
        0 0 0 1px rgba(160,18,32,.12);
}


/* =========================================================
   BOTTOM ACTIONS
   ========================================================= */

.zfd-bottom-actions {
    margin-top: 10px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* =========================================================
   LOWER TOOLS
   ========================================================= */

.zfd-tools-panel {
    margin-top: 12px;

    padding: 14px 16px;

    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    gap: 30px;

    background:
        linear-gradient(
            180deg,
            #111114,
            #0b0c0e
        );

    border: 1px solid #292a2f;

    border-bottom-color:
        #4d0d15;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.02);
}


/* =========================================================
   LEGENDS
   ========================================================= */

.zfd-legends {
    display: flex;

    gap: 28px;
}


.zfd-legends .thread_legend {
    margin: 0;

    color: #69696f;
}


.zfd-legends .thread_legend dd {
    min-height: 22px;

    margin: 0;

    display: flex;
    align-items: center;

    gap: 7px;
}


/* =========================================================
   RIGHT TOOLS
   ========================================================= */

.zfd-tools {
    min-width: 320px;

    display: flex;
    flex-direction: column;
    align-items: flex-end;

    gap: 7px;
}


.zfd-tool-row {
    width: 100%;

    text-align: right;

    color: #6f6e73;
}


.zfd-tools select,
.zfd-tools input[type="text"],
.zfd-tools input[type="search"] {
    min-height: 30px;

    box-sizing: border-box;

    color: #d0ccca !important;

    background: #090a0c !important;

    border: 1px solid #33343a !important;
    border-radius: 3px;

    outline: none;
}


.zfd-tools select:focus,
.zfd-tools input[type="text"]:focus,
.zfd-tools input[type="search"]:focus {
    border-color: #8d1521 !important;
}


/* =========================================================
   STANDARD MYBB BUTTONS IN THIS AREA
   ========================================================= */

.zfd-page input.button,
.zfd-page input[type="submit"],
.zfd-page button {
    min-height: 30px;

    padding: 0 11px;

    color: #f4eeee !important;

    background:
        linear-gradient(
            180deg,
            #921522,
            #5b0d15
        ) !important;

    border: 1px solid #ad1d2a !important;
    border-radius: 3px;

    cursor: pointer;

    font-weight: 700;

    text-shadow:
        0 1px 2px #000;
}


.zfd-page input.button:hover,
.zfd-page input[type="submit"]:hover,
.zfd-page button:hover {
    background:
        linear-gradient(
            180deg,
            #b31d2c,
            #711019
        ) !important;

    border-color: #d52839 !important;
}


/* =========================================================
   PAGINATION
   ========================================================= */

.zfd-page .pagination a,
.zfd-page .pagination_current {
    border-radius: 2px !important;
}


.zfd-page .pagination a {
    color: #aaa5a5 !important;

    background: #0c0d0f !important;

    border-color: #303136 !important;
}


.zfd-page .pagination a:hover {
    color: #fff !important;

    border-color: #841520 !important;
}


.zfd-page .pagination_current {
    color: #fff !important;

    background: #79121c !important;

    border-color: #aa1c29 !important;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media screen and (max-width: 800px) {

    .zfd-page {
        margin-top: 12px;
    }


    .zfd-forum-header {
        min-height: 0;

        padding: 13px;

        flex-direction: column;
        align-items: stretch;
    }


    .zfd-header-actions {
        width: 100%;

        justify-content: space-between;
    }


    .zfd-header-links {
        display: none;
    }


    .zfd-newthread {
        margin-left: auto;
    }


    .zfd-forum-title {
        font-size: 16px;
    }


    .zfd-forum-icon {
        width: 38px;
        height: 38px;

        flex-basis: 38px;
    }


    .zfd-thread-table .tcat {
        font-size: 8px !important;

        padding-left: 7px !important;
        padding-right: 7px !important;
    }


    .zfd-thread-table .trow1,
    .zfd-thread-table .trow2 {
        padding: 9px 6px !important;
    }


    .zfd-tools-panel {
        flex-direction: column;

        gap: 18px;
    }


    .zfd-tools {
        width: 100%;
        min-width: 0;

        align-items: stretch;
    }


    .zfd-tool-row {
        text-align: left;
    }

}



/* =========================================================
   ZERITH FORUM DISPLAY - LAYOUT CLEANUP
   ========================================================= */

.zfd-forum-content {
    width: 100%;
    margin: 0;
    padding: 0;
}


/* =========================================================
   MODERATOR INFORMATION
   ========================================================= */

.zfd-forum-meta:empty {
    display: none;
}

.zfd-forum-meta {
    margin: 0;
}


/* =========================================================
   USERS BROWSING

   Put this AFTER the threads instead of leaving a large
   empty section between breadcrumb and thread list.
   ========================================================= */

.zfd-users-browsing {
    margin-top: 12px;
    padding: 11px 14px;

    color: #65656a;

    background:
        linear-gradient(
            180deg,
            #101012,
            #0b0c0e
        );

    border: 1px solid #292a2e;
    border-left: 2px solid #75111b;

    font-size: 10px;
}


.zfd-users-browsing:empty {
    display: none;
}


.zfd-users-browsing a {
    color: #aaa5a5;

    text-decoration: none;
}


.zfd-users-browsing a:hover {
    color: #ed2639;
}


/* username/rank styling inside browsing section stays intact */

.zfd-users-browsing strong,
.zfd-users-browsing b {
    color: #e62335;
}


/* =========================================================
   REMOVE UNNECESSARY TOP SPACE
   ========================================================= */

.zfd-page {
    margin-top: 10px !important;
}


/* =========================================================
   CLEAN BOTTOM SPACING
   ========================================================= */

.zfd-bottom-actions {
    margin-top: 8px !important;
}


.zfd-tools-panel {
    margin-top: 10px !important;
    margin-bottom: 12px !important;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media screen and (max-width: 800px) {

    .zfd-users-browsing {
        margin-top: 8px;

        padding: 9px 10px;
    }

}




/* =========================================================
   ZERITH SHOW THREAD
   ========================================================= */

.zst-page {
    width: 100%;
    margin: 14px 0 30px;
}


/* =========================================================
   TOP / BOTTOM ACTIONS
   ========================================================= */

.zst-top-actions,
.zst-bottom-actions {
    min-height: 38px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;
}

.zst-top-actions {
    margin-bottom: 8px;
}

.zst-bottom-actions {
    margin-top: 10px;
}


/* =========================================================
   NEW REPLY BUTTON
   ========================================================= */

.zst-newreply a {
    min-height: 36px;

    padding: 0 18px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    box-sizing: border-box;

    color: #f7efeb !important;

    background:
        linear-gradient(
            180deg,
            #a01826,
            #620e17
        ) !important;

    border: 1px solid #bf2130 !important;
    border-radius: 3px;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.09),
        0 0 9px rgba(170,15,29,.18);

    font-size: 11px;
    font-weight: 700;

    text-decoration: none !important;

    text-shadow:
        0 1px 2px #000;

    transition: .18s ease;
}

.zst-newreply a:hover {
    background:
        linear-gradient(
            180deg,
            #c32132,
            #79111c
        ) !important;

    border-color: #e22a3b !important;

    box-shadow:
        0 0 12px rgba(215,25,43,.28);
}


/* =========================================================
   THREAD HEADER
   ========================================================= */

.zst-thread-header {
    position: relative;

    min-height: 82px;

    padding: 14px 18px;

    box-sizing: border-box;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 25px;

    overflow: hidden;

    background:
        radial-gradient(
            ellipse at 12% 50%,
            rgba(120,12,24,.12),
            transparent 40%
        ),
        linear-gradient(
            180deg,
            #191617,
            #0d0d0f
        );

    border: 1px solid #3c292d;
    border-bottom-color: #8b1420;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.035),
        0 8px 20px rgba(0,0,0,.42);
}


/* red lower line */

.zst-thread-header::after {
    content: "";

    position: absolute;

    left: 2%;
    right: 2%;
    bottom: 0;

    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            #71101a,
            #dd1d2e,
            #71101a,
            transparent
        );

    box-shadow:
        0 0 7px rgba(215,25,42,.30);

    pointer-events: none;
}


/* =========================================================
   THREAD TITLE
   ========================================================= */

.zst-thread-heading {
    min-width: 0;

    display: flex;
    align-items: center;

    gap: 14px;
}


.zst-thread-icon {
    width: 44px;
    height: 44px;

    flex: 0 0 44px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #ef293a;

    background:
        linear-gradient(
            145deg,
            #68101a,
            #23080c
        );

    border: 1px solid #911622;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.06),
        0 0 10px rgba(180,15,30,.18);
}


.zst-thread-icon svg {
    width: 22px;
    height: 22px;

    fill: currentColor;

    filter:
        drop-shadow(0 0 4px rgba(235,30,48,.32));
}


.zst-thread-title-wrap {
    min-width: 0;
}


.zst-thread-label {
    margin-bottom: 5px;

    color: #77757a;

    font-size: 9px;
    font-weight: 700;

    letter-spacing: 1.1px;
}


.zst-thread-title {
    color: #f0ebe6;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 20px;
    font-weight: 700;

    line-height: 1.2;

    text-shadow:
        0 1px 2px #000;
}


/* =========================================================
   HEADER RIGHT
   ========================================================= */

.zst-thread-header-right {
    display: flex;
    align-items: center;

    gap: 18px;
}


.zst-thread-links {
    color: #77757a;

    font-size: 10px;
}


.zst-thread-links a {
    color: #aaa6a6;

    text-decoration: none;
}


.zst-thread-links a:hover {
    color: #ec283a;
}


/* =========================================================
   POSTS CONTAINER
   ========================================================= */

.zst-posts-panel {
    margin-top: 8px;

    background: #090a0c;

    border: 1px solid #292a2f;

    box-shadow:
        0 8px 22px rgba(0,0,0,.38);

    overflow: hidden;
}


.zst-posts-panel #posts_container {
    padding: 0;

    background: transparent;
}


.zst-posts-panel #posts {
    margin: 0;
    padding: 0;
}


/*
   IMPORTANT:
   We are NOT aggressively styling .postbit here yet.

   {$posts} is generated by the separate postbit template.
   We'll customize that next after seeing your current code.
*/


/* =========================================================
   THREAD FOOTER
   ========================================================= */

.zst-thread-footer {
    min-height: 54px;

    padding: 10px 14px;

    box-sizing: border-box;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    background:
        linear-gradient(
            180deg,
            #121114,
            #0a0b0d
        );

    border: 1px solid #292a2f;
    border-top: 0;
}


.zst-thread-navigation {
    color: #55555a;

    font-size: 10px;
}


.zst-thread-navigation a {
    color: #aaa6a6;

    text-decoration: none;
}


.zst-thread-navigation a:hover {
    color: #e92739;
}


.zst-nav-divider {
    margin: 0 7px;

    color: #4b4b50;
}


/* =========================================================
   INPUTS
   ========================================================= */

.zst-page select,
.zst-page input[type="text"],
.zst-page input[type="search"] {
    min-height: 30px;

    box-sizing: border-box;

    color: #d0ccca !important;

    background: #090a0c !important;

    border: 1px solid #33343a !important;
    border-radius: 3px;

    outline: none;
}


.zst-page select:focus,
.zst-page input[type="text"]:focus,
.zst-page input[type="search"]:focus {
    border-color: #8d1521 !important;

    box-shadow:
        0 0 0 1px rgba(160,18,32,.12);
}


/* =========================================================
   QUICK REPLY
   ========================================================= */

.zst-quickreply {
    margin-top: 12px;
}


/* Existing MyBB quick reply panel */

.zst-quickreply .tborder {
    border: 1px solid #302d31 !important;

    background: #0c0d0f !important;

    box-shadow:
        0 7px 20px rgba(0,0,0,.32);
}


.zst-quickreply .thead {
    background:
        linear-gradient(
            180deg,
            #1b1719,
            #100e10
        ) !important;

    border-bottom:
        1px solid #74121c !important;

    color: #eee7e3 !important;
}


.zst-quickreply .trow1,
.zst-quickreply .trow2 {
    background: #0d0e11 !important;

    color: #aaa6a8 !important;
}


/* =========================================================
   EXTRAS / SIMILAR THREADS
   ========================================================= */

.zst-thread-extra {
    margin-top: 12px;
}


.zst-thread-extra .tborder {
    border: 1px solid #2e2e33 !important;

    background: #0b0c0e !important;
}


.zst-thread-extra .thead {
    background:
        linear-gradient(
            180deg,
            #191618,
            #100e10
        ) !important;

    border-bottom:
        1px solid #681019 !important;
}


/* =========================================================
   TOOLS
   ========================================================= */

.zst-tools-panel {
    margin-top: 12px;

    padding: 13px 15px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 25px;

    background:
        linear-gradient(
            180deg,
            #111114,
            #0b0c0e
        );

    border: 1px solid #292a2f;
    border-bottom-color: #4d0d15;
}


.zst-tools-left .thread_tools {
    margin: 0;
    padding: 0;
}


.zst-tools-right {
    display: flex;
    align-items: center;

    gap: 12px;
}


/* =========================================================
   USERS BROWSING
   ========================================================= */

.zst-users-browsing {
    margin-top: 10px;

    padding: 10px 13px;

    color: #66666b;

    background:
        linear-gradient(
            180deg,
            #101012,
            #0b0c0e
        );

    border: 1px solid #292a2e;
    border-left: 2px solid #75111b;

    font-size: 10px;
}


.zst-users-browsing:empty {
    display: none;
}


.zst-users-browsing a {
    color: #aaa5a5;

    text-decoration: none;
}


.zst-users-browsing a:hover {
    color: #ed2639;
}


/* =========================================================
   PAGINATION
   ========================================================= */

.zst-page .pagination a {
    color: #aaa6a6 !important;

    background: #0c0d0f !important;

    border-color: #303136 !important;
}


.zst-page .pagination a:hover {
    color: #fff !important;

    border-color: #861520 !important;
}


.zst-page .pagination_current {
    color: #fff !important;

    background: #79121c !important;

    border-color: #aa1c29 !important;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media screen and (max-width: 800px) {

    .zst-page {
        margin-top: 10px;
    }


    .zst-thread-header {
        min-height: 0;

        padding: 13px;

        flex-direction: column;
        align-items: stretch;
    }


    .zst-thread-header-right {
        justify-content: space-between;
    }


    .zst-thread-title {
        font-size: 16px;
    }


    .zst-thread-icon {
        width: 38px;
        height: 38px;

        flex-basis: 38px;
    }


    .zst-thread-footer {
        flex-direction: column;
        align-items: stretch;
    }


    .zst-tools-panel {
        flex-direction: column;
        align-items: stretch;
    }


    .zst-tools-right {
        flex-direction: column;
        align-items: stretch;
    }

}




/* =========================================================
   ZERITH POSTBIT
   Reference-style profile left / content right
   ========================================================= */

.zerith-post {
    position: relative;

    width: 100%;

    margin: 0 0 14px;

    overflow: hidden;

    box-sizing: border-box;

    color: #bcb8b8;

    background: #0b0c0e;

    border: 1px solid #34292c;
    border-top-color: #68111a;

    box-shadow:
        0 8px 22px rgba(0,0,0,.38),
        inset 0 1px 0 rgba(255,255,255,.02);
}


/* =========================================================
   TOP BAR
   ========================================================= */

.zerith-post-topbar {
    min-height: 42px;

    display: grid;

    grid-template-columns: 220px minmax(0, 1fr);

    background:
        linear-gradient(
            180deg,
            #191517,
            #100e10
        );

    border-bottom: 1px solid #38292c;
}


.zerith-post-user-top {
    min-width: 0;

    padding: 0 16px;

    display: flex;
    align-items: center;

    gap: 6px;

    box-sizing: border-box;

    border-right: 1px solid #35272a;

    color: #e5dfdb;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 13px;
    font-weight: 700;
}


.zerith-post-user-top a {
    color: #ee2638 !important;

    text-decoration: none !important;
}


.zerith-post-info-top {
    min-width: 0;

    padding: 0 15px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;

    box-sizing: border-box;

    color: #8c898d;

    font-size: 10px;
}


.zerith-post-number a {
    color: #8d898c !important;

    text-decoration: none !important;
}


.zerith-post-number a:hover {
    color: #ee283a !important;
}


/* =========================================================
   MAIN POST LAYOUT
   ========================================================= */

.zerith-post-main {
    display: grid;

    grid-template-columns: 220px minmax(0, 1fr);

    min-height: 270px;
}


/* =========================================================
   LEFT PROFILE
   ========================================================= */

.zerith-post-author {
    width: auto !important;

    padding: 22px 14px 18px !important;

    box-sizing: border-box;

    text-align: center;

    background:
        radial-gradient(
            ellipse at 50% 10%,
            rgba(115,12,23,.10),
            transparent 45%
        ),
        linear-gradient(
            180deg,
            #131215,
            #0d0e10
        ) !important;

    border: 0 !important;
    border-right: 1px solid #302a2d !important;

    float: none !important;
}


/* =========================================================
   AVATAR
   ========================================================= */

.zerith-avatar {
    width: 112px;
    height: 112px;

    margin: 0 auto 12px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    background:
        radial-gradient(
            circle,
            #191619,
            #090a0c
        );

    border: 1px solid #4a3034;

    box-shadow:
        inset 0 0 18px rgba(0,0,0,.45),
        0 0 12px rgba(125,10,23,.10);
}


.zerith-avatar img {
    max-width: 108px !important;
    max-height: 108px !important;

    width: auto !important;
    height: auto !important;

    object-fit: contain;
}


/* =========================================================
   MEMBER INFO
   ========================================================= */

.zerith-author-information {
    padding: 0 !important;

    text-align: center !important;
}


.zerith-username {
    display: block;

    margin-bottom: 5px;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 15px;
}


.zerith-username a {
    color: #ee2739 !important;

    text-decoration: none !important;

    text-shadow:
        0 0 7px rgba(220,25,42,.18);
}


.zerith-user-title {
    color: #aaa5a5;

    font-size: 10px;

    margin-bottom: 6px;
}


.zerith-user-stars {
    margin: 4px 0;
}


.zerith-group-image {
    margin: 7px auto 4px;

    min-height: 1px;
}


.zerith-group-image img {
    max-width: 185px;
    height: auto;

    display: inline-block;
}


/* =========================================================
   MEMBER STATISTICS
   ========================================================= */

.zerith-author-statistics {
    margin-top: 13px !important;

    padding: 11px 7px !important;

    color: #77767b !important;

    background:
        rgba(0,0,0,.13);

    border-top: 1px solid #29282c;
    border-bottom: 1px solid #29282c;

    font-size: 10px !important;

    line-height: 1.7 !important;

    text-align: left !important;
}


.zerith-author-statistics a {
    color: #b1acad !important;

    text-decoration: none;
}


.zerith-author-statistics a:hover {
    color: #e92839 !important;
}


/* =========================================================
   RIGHT CONTENT
   ========================================================= */

.zerith-post-content {
    width: auto !important;

    min-width: 0;

    padding: 0 !important;

    box-sizing: border-box;

    float: none !important;

    background:
        linear-gradient(
            180deg,
            #101114,
            #0d0e10
        ) !important;
}


/* =========================================================
   SUBJECT STRIP
   ========================================================= */

.zerith-post-head {
    min-height: 38px;

    padding: 0 18px !important;

    display: flex;
    align-items: center;

    gap: 8px;

    box-sizing: border-box;

    color: #a8a4a4;

    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,.012),
            rgba(0,0,0,.06)
        );

    border-bottom: 1px solid #292a2f;
}


.zerith-post-subject {
    color: #c9c4c1;

    font-size: 11px;
    font-weight: 700;
}


/* =========================================================
   MESSAGE BODY
   ========================================================= */

.zerith-post-body {
    min-height: 180px;

    padding: 24px 25px !important;

    box-sizing: border-box;

    color: #d0ccca !important;

    font-size: 13px !important;

    line-height: 1.65 !important;

    word-wrap: break-word;
}


.zerith-post-body a {
    color: #df2637 !important;
}


.zerith-post-body img {
    max-width: 100%;
    height: auto;
}


/* =========================================================
   ATTACHMENTS
   ========================================================= */

.zerith-attachments:empty {
    display: none;
}


.zerith-attachments {
    margin: 0 25px 15px;

    padding: 10px;

    background: #0a0b0d;

    border: 1px solid #292a2f;
}


/* =========================================================
   SIGNATURE
   ========================================================= */

.zerith-signature:empty {
    display: none;
}


.zerith-signature {
    margin: 0 25px;

    padding: 15px 0;

    color: #77767a;

    border-top: 1px solid #292a2e;
}


/* MyBB may output its own signature wrapper */

.zerith-signature .signature {
    border-top: 0 !important;

    margin: 0 !important;
    padding: 0 !important;
}


/* =========================================================
   META
   ========================================================= */

.zerith-post-meta {
    min-height: 32px;

    padding: 0 18px !important;

    display: flex;
    align-items: center;
    justify-content: space-between;

    box-sizing: border-box;

    color: #55555a;

    border-top: 1px solid #25262a;
}


.zerith-post-status {
    margin-left: auto;
}


/* =========================================================
   CONTROLS
   ========================================================= */

.zerith-post-controls {
    min-height: 47px;

    padding: 7px 10px !important;

    display: flex;
    align-items: center;
    justify-content: space-between;

    box-sizing: border-box;

    background:
        linear-gradient(
            180deg,
            #121114,
            #0a0b0d
        ) !important;

    border-top: 1px solid #34272a !important;
}


.zerith-author-buttons,
.zerith-management-buttons {
    float: none !important;

    display: flex;

    align-items: center;

    gap: 5px;
}


/* =========================================================
   MYBB POST BUTTONS
   ========================================================= */

.zerith-post-controls .postbit_buttons > a {
    margin: 0 !important;

    color: #aaa5a5 !important;

    background:
        linear-gradient(
            180deg,
            #1a191c,
            #101013
        ) !important;

    border: 1px solid #343439 !important;
    border-radius: 2px !important;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.025);

    text-decoration: none !important;

    transition:
        color .16s ease,
        border-color .16s ease,
        background .16s ease;
}


.zerith-post-controls .postbit_buttons > a:hover {
    color: #fff !important;

    background:
        linear-gradient(
            180deg,
            #381117,
            #190c10
        ) !important;

    border-color: #7e1420 !important;
}


/* =========================================================
   QUOTES / CODE
   ========================================================= */

.zerith-post-body blockquote {
    margin: 14px 0;

    padding: 13px 15px;

    color: #aaa6a6;

    background: #090a0c;

    border: 1px solid #292a2f;
    border-left: 3px solid #821520;
}


.zerith-post-body code,
.zerith-post-body pre {
    color: #ccc7c5;

    background: #08090b;

    border: 1px solid #292a2f;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media screen and (max-width: 800px) {

    .zerith-post-topbar {
        grid-template-columns: 1fr;
    }


    .zerith-post-user-top {
        display: none;
    }


    .zerith-post-info-top {
        min-height: 38px;
    }


    .zerith-post-main {
        grid-template-columns: 1fr;
    }


    .zerith-post-author {
        padding: 13px !important;

        display: grid;

        grid-template-columns: 72px minmax(0,1fr);

        gap: 12px;

        text-align: left;

        border-right: 0 !important;
        border-bottom: 1px solid #34282b !important;
    }


    .zerith-avatar {
        width: 70px;
        height: 70px;

        margin: 0;

        grid-row: span 2;
    }


    .zerith-avatar img {
        max-width: 68px !important;
        max-height: 68px !important;
    }


    .zerith-author-information {
        text-align: left !important;
    }


    .zerith-author-statistics {
        margin: 0 !important;

        padding: 6px 0 !important;

        border: 0;

        grid-column: 2;
    }


    .zerith-group-image img {
        max-width: 150px;
    }


    .zerith-post-body {
        min-height: 130px;

        padding: 17px 14px !important;

        font-size: 12px !important;
    }


    .zerith-post-controls {
        align-items: stretch;

        flex-direction: column;

        gap: 7px;
    }


    .zerith-author-buttons,
    .zerith-management-buttons {
        flex-wrap: wrap;
    }

}




/* =========================================================
   ZERITH CLASSIC PROFILE - FINAL CLEANUP
   ========================================================= */

/* Wider profile column */
.zerith-post-topbar,
.zerith-post-main {
    grid-template-columns: 250px minmax(0, 1fr) !important;
}


/* Profile area */
.zerith-post-author {
    width: 250px !important;
    min-width: 250px !important;

    padding: 20px 18px !important;

    text-align: center !important;

    box-sizing: border-box !important;
}


/* =========================================================
   AVATAR
   ========================================================= */

.zerith-avatar {
    width: 120px !important;
    height: 120px !important;

    margin: 0 auto 14px !important;

    padding: 4px;

    box-sizing: border-box;

    background: #09090b;

    border: 1px solid #5c3439 !important;

    box-shadow:
        0 0 0 3px #181619,
        0 0 12px rgba(190, 20, 38, .12) !important;
}


.zerith-avatar img {
    width: 100% !important;
    height: 100% !important;

    max-width: 100% !important;
    max-height: 100% !important;

    object-fit: cover !important;
}


/* =========================================================
   REMOVE DUPLICATE USERNAME INSIDE PROFILE

   Username already appears in the top post bar.
   ========================================================= */

.zerith-author-information .zerith-username {
    display: none !important;
}


/* =========================================================
   USER TITLE
   ========================================================= */

.zerith-user-title {
    margin: 3px 0 8px !important;

    color: #d7d1cd !important;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 11px !important;

    text-align: center !important;
}


/* =========================================================
   STARS
   ========================================================= */

.zerith-user-stars {
    margin: 6px 0 8px !important;

    text-align: center !important;
}


.zerith-user-stars img {
    margin: 0 1px;
}


/* =========================================================
   RANK / CROWN
   ========================================================= */

.zerith-group-image {
    margin: 6px auto 12px !important;

    text-align: center !important;
}


.zerith-group-image img {
    display: inline-block !important;

    max-width: 190px !important;

    width: auto !important;
    height: auto !important;

    margin: 0 auto !important;

    filter:
        drop-shadow(0 0 4px rgba(220, 20, 38, .25));
}


/* =========================================================
   USER STATISTICS
   ========================================================= */

.zerith-author-statistics {
    width: 100% !important;

    margin: 12px 0 0 !important;

    padding: 11px 0 !important;

    box-sizing: border-box !important;

    color: #8e898c !important;

    background: transparent !important;

    border-top: 1px solid #29272a !important;
    border-bottom: 1px solid #29272a !important;

    font-size: 10px !important;

    line-height: 1.8 !important;

    text-align: center !important;
}


/* MyBB user_details often contains its own spacing */
.zerith-author-statistics .smalltext {
    display: block !important;

    width: 100% !important;

    margin: 0 !important;

    padding: 0 !important;

    text-align: center !important;
}


/* Keep links readable */
.zerith-author-statistics a {
    color: #aaa5a6 !important;

    text-decoration: none !important;
}


.zerith-author-statistics a:hover {
    color: #ee2639 !important;
}


/* =========================================================
   TOP USERNAME
   ========================================================= */

.zerith-post-user-top {
    padding: 0 18px !important;

    font-size: 14px !important;
}


.zerith-post-user-top a {
    color: #f02a3c !important;

    text-shadow:
        0 0 8px rgba(230, 25, 43, .25);
}


/* online icon */
.zerith-post-user-top img {
    vertical-align: middle;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media screen and (max-width: 800px) {

    .zerith-post-topbar,
    .zerith-post-main {
        grid-template-columns: 1fr !important;
    }


    .zerith-post-author {
        width: 100% !important;
        min-width: 0 !important;
    }


    .zerith-avatar {
        width: 76px !important;
        height: 76px !important;
    }

}




/* =========================================================
   ZERITH OWNER TITLE
   Crown + Large Red Glow
   ========================================================= */

.zerith-user-title {
    position: relative;

    width: fit-content;

    margin: 10px auto 12px !important;

    padding-left: 28px;

    color: #ff263c !important;

    font-family: Georgia, "Times New Roman", serif !important;

    font-size: 18px !important;
    font-weight: 700 !important;

    line-height: 26px;

    text-align: center;

    letter-spacing: .3px;

    text-shadow:
        0 0 3px rgba(255, 20, 45, .95),
        0 0 8px rgba(230, 15, 38, .75),
        0 0 16px rgba(190, 0, 25, .45);
}


/* OWNER CROWN BEFORE TITLE */

.zerith-user-title::before {
    content: "";

    position: absolute;

    left: 0;
    top: 50%;

    width: 23px;
    height: 23px;

    transform: translateY(-50%);

    background-image:
        url(/images/groupimages/zerith/owner.png);

    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;

    filter:
        drop-shadow(0 0 3px #ff1c35)
        drop-shadow(0 0 6px rgba(220, 10, 35, .65));
}


/* EXTRA SOFT GLOW BEHIND OWNER */

.zerith-user-title::after {
    content: "";

    position: absolute;

    left: 20px;
    right: -8px;
    bottom: -5px;

    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255, 25, 45, .8),
            transparent
        );

    box-shadow:
        0 0 8px rgba(255, 20, 40, .65);

    pointer-events: none;
}


/* =========================================================
   KEEP STARS CLOSE TO TITLE
   ========================================================= */

.zerith-user-stars {
    margin-top: 10px !important;
    margin-bottom: 8px !important;
}


/* =========================================================
   EXISTING GROUP IMAGE
   ========================================================= */

.zerith-group-image {
    margin-top: 6px !important;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media screen and (max-width: 800px) {

    .zerith-user-title {
        margin-left: 0 !important;
        margin-right: 0 !important;

        font-size: 16px !important;
    }

}




/* =========================================================
   ZERITH PROFILE CARD - LARGE REFERENCE STYLE
   ========================================================= */

.zerith-post-topbar,
.zerith-post-main {
    grid-template-columns: 280px minmax(0, 1fr) !important;
}

.zerith-post-author {
    width: 280px !important;
    min-width: 280px !important;

    padding: 30px 22px 25px !important;

    box-sizing: border-box !important;

    text-align: center !important;

    background:
        radial-gradient(
            circle at 50% 22%,
            rgba(155, 8, 28, .10),
            transparent 38%
        ),
        linear-gradient(
            180deg,
            #131215 0%,
            #0c0c0f 100%
        ) !important;
}


/* =========================================================
   BIGGER AVATAR + RED FRAME GLOW
   ========================================================= */

.zerith-avatar {
    position: relative;

    width: 145px !important;
    height: 145px !important;

    margin: 5px auto 28px !important;

    padding: 7px !important;

    box-sizing: border-box !important;

    background: #09090b !important;

    border: 1px solid #8c1724 !important;

    box-shadow:
        0 0 0 4px #211d20,
        0 0 0 5px rgba(190, 22, 40, .55),
        0 0 15px rgba(255, 22, 45, .38),
        0 0 32px rgba(180, 0, 25, .18) !important;
}

.zerith-avatar::before {
    content: "";

    position: absolute;

    left: 18%;
    right: 18%;
    top: -2px;

    height: 2px;

    background:
        linear-gradient(
            90deg,
            transparent,
            #ff253d,
            #ffffff,
            #ff253d,
            transparent
        );

    box-shadow:
        0 0 8px #ff1f39,
        0 0 15px rgba(255, 20, 45, .65);

    pointer-events: none;
}

.zerith-avatar img {
    width: 100% !important;
    height: 100% !important;

    max-width: none !important;
    max-height: none !important;

    object-fit: cover !important;
}


/* =========================================================
   HIDE SECOND USERNAME
   ========================================================= */

.zerith-author-information .zerith-username {
    display: none !important;
}


/* =========================================================
   OWNER - LARGE CROWN + RED GLOW
   ========================================================= */

.zerith-user-title {
    position: relative;

    display: inline-flex !important;
    align-items: center;
    justify-content: center;

    width: auto !important;

    margin: 0 auto 20px !important;

    padding: 4px 8px 7px 48px !important;

    color: #ff3048 !important;

    font-family:
        Georgia,
        "Times New Roman",
        serif !important;

    font-size: 26px !important;
    font-weight: 700 !important;

    line-height: 32px !important;

    letter-spacing: .3px;

    text-align: center !important;

    text-shadow:
        0 0 2px #ff5365,
        0 0 5px #ff1e39,
        0 0 11px rgba(255, 15, 42, .95),
        0 0 22px rgba(190, 0, 30, .65) !important;
}


/* OWNER CROWN */

.zerith-user-title::before {
    content: "";

    position: absolute;

    left: 3px;
    top: 50%;

    width: 38px;
    height: 38px;

    transform: translateY(-52%);

    background:
        url(/images/groupimages/zerith/owner.png)
        center / contain
        no-repeat;

    filter:
        drop-shadow(0 0 3px #ff263f)
        drop-shadow(0 0 8px rgba(255, 20, 45, .85))
        drop-shadow(0 0 14px rgba(190, 0, 25, .55));
}


/* GLOWING LINE UNDER OWNER */

.zerith-user-title::after {
    content: "";

    position: absolute;

    left: 10%;
    right: 0;
    bottom: -3px;

    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            #bd1729,
            #ff3048,
            #bd1729,
            transparent
        );

    box-shadow:
        0 0 6px #ff203b,
        0 0 13px rgba(255, 20, 45, .55);
}


/* =========================================================
   GOLD STARS
   ========================================================= */

.zerith-user-stars {
    margin: 0 auto 13px !important;

    text-align: center !important;

    transform: scale(1.15);

    transform-origin: center;
}

.zerith-user-stars img {
    margin: 0 1px !important;

    filter:
        drop-shadow(0 0 3px rgba(255, 195, 0, .35));
}


/* =========================================================
   GROUP / OWNER BADGE UNDER STARS
   ========================================================= */

.zerith-group-image {
    margin: 12px auto 25px !important;

    text-align: center !important;
}

.zerith-group-image img {
    display: inline-block !important;

    width: auto !important;
    height: auto !important;

    max-width: 200px !important;

    filter:
        drop-shadow(0 0 3px #d6162e)
        drop-shadow(0 0 7px rgba(220, 15, 40, .45));
}


/* =========================================================
   STATS SEPARATOR
   ========================================================= */

.zerith-author-statistics {
    position: relative;

    width: 100% !important;

    margin: 0 !important;

    padding: 22px 8px 20px !important;

    box-sizing: border-box !important;

    color: #aaa6a8 !important;

    background: transparent !important;

    border-top: 1px solid #3b292d !important;
    border-bottom: 1px solid #3b292d !important;

    font-size: 11px !important;

    line-height: 1.9 !important;

    text-align: center !important;
}

.zerith-author-statistics::before {
    content: "";

    position: absolute;

    top: -1px;
    left: 25%;
    right: 25%;

    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            #e91e35,
            transparent
        );

    box-shadow:
        0 0 8px rgba(235, 20, 45, .55);
}


/* =========================================================
   USER DETAILS
   ========================================================= */

.zerith-author-statistics .smalltext {
    display: block !important;

    width: 100% !important;

    margin: 0 !important;

    padding: 0 !important;

    text-align: center !important;
}

.zerith-author-statistics a {
    color: #ff3048 !important;

    text-decoration: none !important;
}


/* =========================================================
   TOP GOLDBERG BAR
   ========================================================= */

.zerith-post-user-top {
    min-height: 48px !important;

    padding: 0 20px !important;

    font-size: 16px !important;
}

.zerith-post-user-top a {
    color: #ff3048 !important;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-weight: 700;

    text-shadow:
        0 0 4px #e91c35,
        0 0 10px rgba(220, 15, 40, .55);
}


/* =========================================================
   MOBILE
   ========================================================= */

@media screen and (max-width: 800px) {

    .zerith-post-topbar,
    .zerith-post-main {
        grid-template-columns: 1fr !important;
    }

    .zerith-post-author {
        width: 100% !important;
        min-width: 0 !important;
    }

    .zerith-avatar {
        width: 105px !important;
        height: 105px !important;
    }

    .zerith-user-title {
        font-size: 20px !important;

        padding-left: 40px !important;
    }

    .zerith-user-title::before {
        width: 31px;
        height: 31px;
    }
}




/* =========================================================
   ZERITH OWNER TITLE - CLEAN / SMALL
   ========================================================= */

.zerith-user-title {
    position: relative !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: auto !important;

    margin: 4px auto 12px !important;

    /* room for crown */
    padding: 0 4px 2px 29px !important;

    color: #e92a3c !important;

    font-family: Georgia, "Times New Roman", serif !important;

    font-size: 17px !important;
    font-weight: 700 !important;

    line-height: 24px !important;

    letter-spacing: 0 !important;

    text-shadow:
        0 0 3px rgba(225, 28, 48, .40),
        0 0 6px rgba(180, 10, 30, .20) !important;
}


/* SMALL CROWN BEFORE OWNER */

.zerith-user-title::before {
    content: "" !important;

    position: absolute !important;

    left: 2px !important;
    top: 50% !important;

    width: 23px !important;
    height: 23px !important;

    transform: translateY(-50%) !important;

    background:
        url(/images/groupimages/zerith/owner.png)
        center / contain
        no-repeat !important;

    filter:
        drop-shadow(0 0 2px rgba(220, 25, 42, .35)) !important;
}


/* REMOVE BIG GLOW LINE UNDER OWNER */

.zerith-user-title::after {
    display: none !important;
}


/* NORMAL AVATAR SIZE */

.zerith-avatar {
    width: 120px !important;
    height: 120px !important;

    margin: 5px auto 20px !important;

    padding: 5px !important;

    border: 1px solid #6f1822 !important;

    box-shadow:
        0 0 0 3px #1c191c,
        0 0 7px rgba(180, 15, 30, .15) !important;
}


/* REMOVE STRONG AVATAR LIGHT */

.zerith-avatar::before {
    display: none !important;
}


/* NORMAL STARS */

.zerith-user-stars {
    margin: 4px auto 8px !important;

    transform: none !important;
}


/* SMALL RANK IMAGE UNDER STARS */

.zerith-group-image {
    margin: 7px auto 17px !important;
}

.zerith-group-image img {
    max-width: 180px !important;

    filter:
        drop-shadow(0 0 2px rgba(210, 20, 38, .20)) !important;
}


/* PROFILE WIDTH BACK TO NORMAL */

.zerith-post-topbar,
.zerith-post-main {
    grid-template-columns: 250px minmax(0, 1fr) !important;
}

.zerith-post-author {
    width: 250px !important;
    min-width: 250px !important;

    padding: 22px 18px !important;
}


/* MOBILE */

@media screen and (max-width: 800px) {

    .zerith-post-topbar,
    .zerith-post-main {
        grid-template-columns: 1fr !important;
    }

    .zerith-post-author {
        width: 100% !important;
        min-width: 0 !important;
    }

}




/* =========================================================
   ZERITH PROFILE - REFERENCE ARRANGEMENT
   ========================================================= */

.zerith-post-topbar,
.zerith-post-main {
    grid-template-columns: 235px minmax(0, 1fr) !important;
}


/* PROFILE COLUMN */

.zerith-post-author {
    width: 235px !important;
    min-width: 235px !important;

    padding: 24px 18px 20px !important;

    box-sizing: border-box !important;

    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;

    float: none !important;

    text-align: center !important;

    background:
        linear-gradient(
            180deg,
            #131215,
            #0c0d0f
        ) !important;

    border: 0 !important;
    border-right: 1px solid #30292c !important;
}


/* =========================================================
   AVATAR
   ========================================================= */

.zerith-avatar {
    position: relative !important;

    width: 112px !important;
    height: 112px !important;

    margin: 0 auto 18px !important;
    padding: 5px !important;

    box-sizing: border-box !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    background: #090a0c !important;

    border: 1px solid #5f1a23 !important;

    box-shadow:
        0 0 0 3px #1c1a1c,
        0 0 7px rgba(190,20,38,.12) !important;
}


.zerith-avatar::before,
.zerith-avatar::after {
    display: none !important;
}


.zerith-avatar img {
    width: 100% !important;
    height: 100% !important;

    max-width: 100% !important;
    max-height: 100% !important;

    object-fit: cover !important;
}


/* =========================================================
   OWNER ROW
   crown + Owner beside each other
   ========================================================= */

.zerith-profile-rank {
    min-height: 28px;

    margin: 0 auto 8px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    gap: 6px;
}


/* crown */

.zerith-rank-crown {
    width: 25px !important;
    height: 25px !important;

    object-fit: contain;

    flex: 0 0 25px;

    filter:
        drop-shadow(0 0 2px rgba(225,30,45,.30)) !important;
}


/* Owner */

.zerith-rank-name {
    color: #e52a3c !important;

    font-family:
        Georgia,
        "Times New Roman",
        serif !important;

    font-size: 18px !important;
    font-weight: 700 !important;

    line-height: 24px !important;

    text-shadow:
        0 0 3px rgba(220,25,43,.30) !important;
}


/* Kill previous pseudo crowns/glow */

.zerith-user-title::before,
.zerith-user-title::after {
    display: none !important;
}


/* =========================================================
   STARS
   ========================================================= */

.zerith-profile-stars {
    width: 100%;

    margin: 2px auto 8px !important;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center !important;
}


.zerith-profile-stars img {
    margin: 0 1px !important;

    filter:
        drop-shadow(0 0 2px rgba(255,195,0,.18));
}


/* =========================================================
   SMALL GROUP BADGE
   ========================================================= */

.zerith-profile-badge {
    width: 100%;

    min-height: 25px;

    margin: 2px auto 13px !important;

    display: flex;
    align-items: center;
    justify-content: center;
}


.zerith-profile-badge img {
    display: block !important;

    width: auto !important;
    height: auto !important;

    max-width: 175px !important;

    margin: 0 auto !important;

    filter:
        drop-shadow(0 0 2px rgba(215,20,38,.18)) !important;
}


/* =========================================================
   DIVIDER
   ========================================================= */

.zerith-profile-divider {
    width: 88%;
    height: 1px;

    margin: 3px auto 13px;

    background:
        linear-gradient(
            90deg,
            transparent,
            #4a292e,
            #76202b,
            #4a292e,
            transparent
        );
}


/* =========================================================
   STATS
   ========================================================= */

.zerith-profile-stats {
    width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    box-sizing: border-box !important;

    color: #a5a1a3 !important;

    background: transparent !important;

    border: 0 !important;

    font-size: 10px !important;
    line-height: 1.85 !important;

    text-align: center !important;
}


.zerith-profile-stats .smalltext {
    display: block !important;

    width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    text-align: center !important;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media screen and (max-width: 800px) {

    .zerith-post-topbar,
    .zerith-post-main {
        grid-template-columns: 1fr !important;
    }

    .zerith-post-author {
        width: 100% !important;
        min-width: 0 !important;
    }

}




/* OWNER ROW */

.zerith-profile-rank {
    width: 100% !important;

    margin: 2px auto 10px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    gap: 7px !important;
}


/* OWNER CROWN */

.zerith-rank-crown {
    display: block !important;

    width: 24px !important;
    height: 24px !important;

    flex: 0 0 24px !important;

    margin: 0 !important;

    object-fit: contain !important;

    filter:
        drop-shadow(0 0 2px rgba(225, 25, 45, .35)) !important;
}


/* OWNER TEXT */

.zerith-rank-name {
    display: block !important;

    margin: 0 !important;

    color: #ed293e !important;

    font-family: Georgia, "Times New Roman", serif !important;

    font-size: 17px !important;
    font-weight: 700 !important;

    line-height: 24px !important;

    text-shadow:
        0 0 3px rgba(225, 25, 45, .30) !important;
}


/* STARS */

.zerith-profile-stars {
    width: 100% !important;

    margin: 0 auto 16px !important;

    display: flex !important;
    justify-content: center !important;
    align-items: center !important;

    text-align: center !important;
}


/* DIVIDER */

.zerith-profile-divider {
    width: 88% !important;

    height: 1px !important;

    margin: 0 auto 18px !important;

    background:
        linear-gradient(
            90deg,
            transparent,
            #54272e,
            #8a1b29,
            #54272e,
            transparent
        ) !important;
}




/* =========================================================
   ZERITH FORUMDISPLAY
   CENTER CATEGORY / TOPIC CONTENT
   ========================================================= */

.zfd-page-shell {
    width: 100% !important;

    padding: 35px 24px 45px !important;

    margin: 0 auto !important;

    box-sizing: border-box !important;
}


/* MAIN CENTERED CONTENT */

.zfd-page-shell .zfd-forum-content {
    width: 100% !important;

    max-width: 1280px !important;

    margin-left: auto !important;
    margin-right: auto !important;

    padding: 0 !important;

    box-sizing: border-box !important;
}


/* Make MyBB tables respect centered container */

.zfd-page-shell .tborder {
    width: 100% !important;

    margin-left: 0 !important;
    margin-right: 0 !important;

    box-sizing: border-box !important;
}


/* FLOAT BUTTONS / PAGINATION STAY INSIDE */

.zfd-page-shell .float_left,
.zfd-page-shell .float_right {
    box-sizing: border-box;
}


/* MODERATOR AREA */

.zfd-forum-meta {
    width: 100%;

    margin: 0 0 10px;

    box-sizing: border-box;
}


/* USERS BROWSING */

.zfd-users-browsing {
    width: 100%;

    margin-top: 16px;

    box-sizing: border-box;
}


/* =========================================================
   DESKTOP
   ========================================================= */

@media screen and (min-width: 1500px) {

    .zfd-page-shell .zfd-forum-content {
        max-width: 1280px !important;
    }

}


/* =========================================================
   LAPTOP
   ========================================================= */

@media screen and (max-width: 1400px) {

    .zfd-page-shell {
        padding-left: 30px !important;
        padding-right: 30px !important;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media screen and (max-width: 800px) {

    .zfd-page-shell {
        padding:
            18px 10px
            30px !important;
    }

    .zfd-page-shell .zfd-forum-content {
        width: 100% !important;
        max-width: 100% !important;
    }

}




/* =========================================================
   ZERITH FORUMDISPLAY - REMOVE LARGE TOP GAP
   ========================================================= */

.zfd-page-shell {
    padding-top: 18px !important;
}

.zfd-forum-content {
    margin-top: 0 !important;
}

.zfd-forum-meta {
    margin-top: 0 !important;
}

/* prevent empty moderator block from taking space */
.zfd-forum-meta:empty {
    display: none !important;
}




/* =========================================================
   ZERITH FORUMDISPLAY - COMPACT BOTTOM AREA
   ========================================================= */

/* Thread legend / moderation bottom section */
.zfd-page-shell .thread_legend {
    margin: 0 !important;
    padding: 0 !important;
}

.zfd-page-shell .thread_legend dd {
    margin-bottom: 5px !important;
}


/* Reduce excessive vertical spacing around bottom controls */
.zfd-page-shell .float_right[style*="text-align"] {
    margin: 0 !important;
    padding: 12px 14px !important;
}


/* Bottom controls container/table area */
.zfd-page-shell form {
    margin-bottom: 0 !important;
}


/* Keep controls compact */
.zfd-page-shell select,
.zfd-page-shell input.textbox {
    min-height: 29px !important;
    box-sizing: border-box !important;
}


/* Users browsing box */
.zfd-users-browsing {
    margin-top: 20px !important;
    padding: 14px !important;

    min-height: 48px !important;

    display: flex !important;
    align-items: center !important;

    background: #0d0e10 !important;

    border: 1px solid #29292d !important;
    border-left: 2px solid #b51427 !important;

    box-sizing: border-box !important;
}


/* Remove unnecessary spacing after forum */
.zfd-page-shell {
    padding-bottom: 25px !important;
}





/* =========================================================
   ZERITH SHOWTHREAD
   SAME CENTERED WIDTH AS FORUMDISPLAY
   ========================================================= */

.zst-page-shell {
    width: 100% !important;

    margin: 0 auto !important;

    padding: 24px 24px 45px !important;

    box-sizing: border-box !important;
}


.zst-thread-content {
    width: 100% !important;

    max-width: 1280px !important;

    margin: 0 auto !important;

    padding: 0 !important;

    box-sizing: border-box !important;
}


/* =========================================================
   THREAD HEADER
   ========================================================= */

.zst-thread-header {
    width: 100% !important;

    min-height: 80px;

    margin: 0 0 10px !important;
    padding: 16px 18px !important;

    box-sizing: border-box !important;

    display: flex !important;
    align-items: center !important;

    background:
        linear-gradient(
            180deg,
            #171316 0%,
            #0d0e10 100%
        ) !important;

    border: 1px solid #33272b !important;
    border-bottom: 1px solid #b51229 !important;
}


/* ICON */

.zst-thread-icon {
    width: 44px;
    height: 44px;

    margin-right: 14px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 44px;

    color: #ff263e;

    background:
        linear-gradient(
            180deg,
            #5b0b18,
            #26070d
        );

    border: 1px solid #a91a2c;

    font-size: 19px;
}


/* HEADING */

.zst-thread-heading {
    min-width: 0;
    flex: 1;
}


.zst-thread-label {
    display: block;

    margin-bottom: 5px;

    color: #81767a;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 1.2px;
}


.zst-thread-heading h1 {
    margin: 0 !important;

    color: #f2ece7 !important;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 21px !important;
    font-weight: 700;

    line-height: 1.2;
}


/* THREAD ACTION */

.zst-thread-actions {
    margin-left: 20px;

    color: #777;

    font-size: 10px;
}


.zst-thread-actions a {
    color: #aaa !important;
}


/* =========================================================
   POSTS CONTAINER
   ========================================================= */

.zst-posts-container {
    width: 100% !important;

    margin: 0 !important;

    box-sizing: border-box !important;
}


.zst-posts-container #posts {
    width: 100% !important;
}


/* CRITICAL:
   Posts cannot escape 1280 container */

.zst-posts-container .post,
.zst-posts-container .zerith-post {
    width: 100% !important;
    max-width: 100% !important;

    margin-left: 0 !important;
    margin-right: 0 !important;

    box-sizing: border-box !important;
}


/* =========================================================
   TOP CONTROLS
   ========================================================= */

.zst-top-controls,
.zst-bottom-controls {
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;

    box-sizing: border-box;
}


.zst-top-controls {
    margin-bottom: 10px;
}


.zst-bottom-controls {
    margin-top: 12px;
    margin-bottom: 16px;
}


/* =========================================================
   THREAD NAVIGATION
   ========================================================= */

.zst-thread-navigation {
    width: 100%;

    margin-top: 10px;
    padding: 12px 15px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    box-sizing: border-box;

    background: #0d0e10;

    border: 1px solid #29282b;
}


.zst-prev-next {
    color: #999;

    font-size: 11px;
}


.zst-prev-next span {
    margin: 0 7px;
}


/* =========================================================
   QUICK REPLY
   ========================================================= */

.zst-quick-reply {
    width: 100%;

    margin-top: 16px;

    box-sizing: border-box;
}


.zst-quick-reply .tborder {
    width: 100% !important;

    box-sizing: border-box !important;
}


/* =========================================================
   THREAD TOOLS
   ========================================================= */

.zst-tools-row {
    width: 100%;

    margin-top: 18px;

    display: flex;
    justify-content: space-between;
    align-items: flex-start;

    gap: 20px;

    box-sizing: border-box;
}


.zst-thread-tools,
.zst-moderation {
    box-sizing: border-box;
}


.zst-moderation {
    text-align: right;
}


/* =========================================================
   USERS BROWSING
   ========================================================= */

.zst-users-browsing {
    width: 100%;

    min-height: 48px;

    margin-top: 20px;
    padding: 13px 15px;

    display: flex;
    align-items: center;

    box-sizing: border-box;

    background: #0d0e10;

    border: 1px solid #29292d;
    border-left: 2px solid #b51427;
}


/* =========================================================
   DON'T LET OLD MYBB TABLE WIDTHS BREAK CONTAINER
   ========================================================= */

.zst-thread-content .tborder {
    width: 100% !important;
    max-width: 100% !important;

    box-sizing: border-box !important;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media screen and (max-width: 800px) {

    .zst-page-shell {
        padding:
            15px 10px
            30px !important;
    }


    .zst-thread-content {
        max-width: 100% !important;
    }


    .zst-thread-header {
        padding: 12px !important;
    }


    .zst-thread-heading h1 {
        font-size: 18px !important;
    }


    .zst-thread-actions {
        display: none;
    }


    .zst-tools-row,
    .zst-thread-navigation {
        flex-direction: column;
        align-items: stretch;
    }


    .zst-moderation {
        text-align: left;
    }

}





/* =========================================================
   ZERITH SHOWTHREAD - FINAL POSITION CLEANUP
   ========================================================= */

/* Bring entire thread section closer to breadcrumb */
.zst-page-shell {
    padding-top: 18px !important;
}


/* Remove excessive space above thread */
.zst-top-controls {
    min-height: 0 !important;
    margin: 0 0 10px !important;
    padding: 0 !important;
}


/* New Reply stays neatly on right */
.zst-top-controls .zst-new-reply {
    margin-left: auto !important;
}


/* Pagination left side */
.zst-top-controls .zst-pagination {
    margin-right: auto !important;
}


/* Rating should not create a giant row */
.zst-rating {
    width: 100% !important;

    margin: 0 0 6px !important;
    padding: 0 !important;

    min-height: 0 !important;

    text-align: right !important;
}


/* Thread title immediately follows controls */
.zst-thread-header {
    margin-top: 0 !important;
    margin-bottom: 10px !important;
}


/* Keep posts tight against title */
.zst-posts-container {
    margin-top: 0 !important;
/* =========================================================
   ZERITH SHOWTHREAD - FINAL CENTERED LAYOUT
   ========================================================= */


/* =========================================================
   PAGE / WIDTH
   ========================================================= */

.zst-page-shell {
    width: 100% !important;

    margin: 0 auto !important;

    padding: 20px 24px 40px !important;

    box-sizing: border-box !important;
}


.zst-thread-content {
    width: 100% !important;
    max-width: 1280px !important;

    margin: 0 auto !important;
    padding: 0 !important;

    box-sizing: border-box !important;
}


/* =========================================================
   TOP PAGINATION
   ========================================================= */

.zst-top-pagination {
    width: 100% !important;

    margin: 0 0 8px !important;
    padding: 0 !important;

    min-height: 0 !important;

    box-sizing: border-box !important;
}


.zst-top-pagination:empty {
    display: none !important;
}


/* =========================================================
   THREAD HEADER
   ========================================================= */

.zst-thread-header {
    width: 100% !important;
    min-height: 78px !important;

    margin: 0 0 10px !important;

    padding: 14px 18px !important;

    display: flex !important;
    align-items: center !important;

    box-sizing: border-box !important;

    background:
        linear-gradient(
            180deg,
            #171316 0%,
            #0d0e10 100%
        ) !important;

    border: 1px solid #33272b !important;

    border-bottom:
        1px solid #c0162e !important;
}


/* =========================================================
   THREAD ICON
   ========================================================= */

.zst-thread-icon {
    width: 44px !important;
    height: 44px !important;

    flex: 0 0 44px !important;

    margin: 0 15px 0 0 !important;

    display: flex !important;

    align-items: center !important;
    justify-content: center !important;

    color: #ff263e !important;

    background:
        linear-gradient(
            180deg,
            #5a0b18,
            #25070d
        ) !important;

    border: 1px solid #a91a2c !important;

    box-shadow:
        inset 0 0 10px rgba(255, 20, 45, .08) !important;

    font-size: 18px !important;

    box-sizing: border-box !important;
}


/* =========================================================
   THREAD TITLE
   ========================================================= */

.zst-thread-heading {
    flex: 1 1 auto !important;

    min-width: 0 !important;

    margin: 0 !important;
}


.zst-thread-label {
    display: block !important;

    margin: 0 0 5px !important;

    color: #81777a !important;

    font-size: 10px !important;
    font-weight: 700 !important;

    line-height: 1 !important;

    letter-spacing: 1.2px !important;

    text-transform: uppercase !important;
}


.zst-thread-heading h1 {
    margin: 0 !important;
    padding: 0 !important;

    color: #f3ede8 !important;

    font-family:
        Georgia,
        "Times New Roman",
        serif !important;

    font-size: 21px !important;
    font-weight: 700 !important;

    line-height: 1.15 !important;
}


/* =========================================================
   HEADER RIGHT SIDE
   ========================================================= */

.zst-thread-header-right {
    margin-left: auto !important;

    padding-left: 20px !important;

    display: flex !important;

    align-items: center !important;
    justify-content: flex-end !important;

    gap: 18px !important;

    white-space: nowrap !important;

    box-sizing: border-box !important;
}


/* =========================================================
   THREAD RATING
   ========================================================= */

.zst-header-rating {
    margin: 0 !important;
    padding: 0 !important;

    display: flex !important;

    align-items: center !important;
    justify-content: center !important;

    color: #817a7d !important;

    font-size: 11px !important;
}


.zst-header-rating .inline_rating {
    margin: 0 !important;
    padding: 0 !important;
}


/* =========================================================
   NEW REPLY
   ========================================================= */

.zst-header-reply {
    margin: 0 !important;
    padding: 0 !important;

    display: flex !important;

    align-items: center !important;
    justify-content: center !important;
}


.zst-header-reply .button,
.zst-header-reply a {
    margin: 0 !important;
}


/* =========================================================
   THREADED MODE
   ========================================================= */

.zst-thread-mode {
    margin: 0 !important;

    padding-left: 17px !important;

    border-left:
        1px solid #35292d !important;

    color: #888 !important;

    font-size: 10px !important;
}


.zst-thread-mode a {
    color: #aaa !important;

    text-decoration: none !important;
}


.zst-thread-mode a:hover {
    color: #ed293e !important;
}


/* =========================================================
   POSTS
   ========================================================= */

.zst-posts-container {
    width: 100% !important;
    max-width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    box-sizing: border-box !important;
}


.zst-posts-container #posts {
    width: 100% !important;
    max-width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    box-sizing: border-box !important;
}


.zst-posts-container .post,
.zst-posts-container .zerith-post {
    width: 100% !important;
    max-width: 100% !important;

    margin-left: 0 !important;
    margin-right: 0 !important;

    box-sizing: border-box !important;
}


/* =========================================================
   POST CONTENT SAFETY
   ========================================================= */

.zst-posts-container .post_content,
.zst-posts-container .zerith-post-content {
    min-width: 0 !important;

    box-sizing: border-box !important;
}


.zst-posts-container .post_body,
.zst-posts-container .zerith-post-body {
    max-width: 100% !important;

    overflow-wrap: anywhere !important;

    box-sizing: border-box !important;
}


/* =========================================================
   THREAD NAVIGATION
   ========================================================= */

.zst-thread-navigation {
    width: 100% !important;

    margin: 12px 0 0 !important;

    padding: 11px 14px !important;

    display: flex !important;

    align-items: center !important;
    justify-content: space-between !important;

    gap: 15px !important;

    background: #0d0e10 !important;

    border: 1px solid #29282b !important;

    box-sizing: border-box !important;
}


.zst-thread-search {
    min-width: 0 !important;
}


.zst-prev-next {
    color: #999 !important;

    font-size: 11px !important;

    white-space: nowrap !important;
}


.zst-prev-next a {
    color: #c7c1c3 !important;

    text-decoration: none !important;
}


.zst-prev-next a:hover {
    color: #ed293e !important;
}


.zst-nav-divider {
    margin: 0 7px !important;

    color: #5e5558 !important;
}


/* =========================================================
   BOTTOM PAGINATION / REPLY
   ========================================================= */

.zst-bottom-controls {
    width: 100% !important;

    margin: 12px 0 16px !important;

    display: flex !important;

    align-items: center !important;
    justify-content: space-between !important;

    gap: 15px !important;

    box-sizing: border-box !important;
}


.zst-bottom-reply {
    margin-left: auto !important;
}


/* =========================================================
   QUICK REPLY
   ========================================================= */

.zst-quick-reply {
    width: 100% !important;

    margin: 15px 0 0 !important;

    box-sizing: border-box !important;
}


.zst-quick-reply .tborder {
    width: 100% !important;
    max-width: 100% !important;

    box-sizing: border-box !important;
}


/* =========================================================
   THREAD EXTRA / SIMILAR THREADS
   ========================================================= */

.zst-thread-extra,
.zst-similar-threads {
    width: 100% !important;

    margin-top: 15px !important;

    box-sizing: border-box !important;
}


.zst-thread-extra:empty,
.zst-similar-threads:empty {
    display: none !important;
}


/* =========================================================
   THREAD TOOLS
   ========================================================= */

.zst-tools-row {
    width: 100% !important;

    margin: 18px 0 0 !important;

    display: flex !important;

    align-items: flex-start !important;
    justify-content: space-between !important;

    gap: 20px !important;

    box-sizing: border-box !important;
}


.zst-thread-tools,
.zst-moderation {
    box-sizing: border-box !important;
}


.zst-thread-tools .thread_tools {
    margin: 0 !important;
}


.zst-moderation {
    text-align: right !important;
}


/* =========================================================
   USERS BROWSING
   ========================================================= */

.zst-users-browsing {
    width: 100% !important;

    min-height: 48px !important;

    margin: 20px 0 0 !important;

    padding: 13px 15px !important;

    display: flex !important;

    align-items: center !important;

    background: #0d0e10 !important;

    border: 1px solid #29292d !important;

    border-left:
        2px solid #b51427 !important;

    box-sizing: border-box !important;
}


/* =========================================================
   MYBB TABLE SAFETY
   ========================================================= */

.zst-thread-content .tborder {
    width: 100% !important;
    max-width: 100% !important;

    box-sizing: border-box !important;
}


/* =========================================================
   REMOVE OLD SHOWTHREAD FLOATING LAYOUT
   ========================================================= */

.zst-rating {
    display: none !important;
}


.zst-top-controls {
    display: none !important;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media screen and (max-width: 800px) {

    .zst-page-shell {
        padding:
            14px 10px
            30px !important;
    }


    .zst-thread-content {
        width: 100% !important;
        max-width: 100% !important;
    }


    .zst-thread-header {
        padding: 12px !important;

        flex-wrap: wrap !important;
    }


    .zst-thread-icon {
        width: 38px !important;
        height: 38px !important;

        flex-basis: 38px !important;

        margin-right: 10px !important;
    }


    .zst-thread-heading h1 {
        font-size: 18px !important;
    }


    .zst-thread-header-right {
        width: 100% !important;

        margin: 12px 0 0 !important;

        padding:
            10px 0
            0 !important;

        justify-content: flex-start !important;

        gap: 12px !important;

        border-top:
            1px solid #292629 !important;

        white-space: normal !important;
    }


    .zst-thread-mode {
        display: none !important;
    }


    .zst-thread-navigation,
    .zst-tools-row {
        flex-direction: column !important;

        align-items: stretch !important;
    }


    .zst-prev-next,
    .zst-moderation {
        text-align: left !important;
    }


    .zst-bottom-controls {
        flex-wrap: wrap !important;
    }

}}


/* Remove strange inherited spacing */
.zst-thread-content > br,
.zst-thread-content > br.clear {
    display: none !important;
}