/*
 * Legends of Omega — visual refresh for the ORIGINAL template.
 * Load this stylesheet LAST, after the template's existing CSS and inline styles.
 * Presentation only: no markup, routes, copy, counters, forms or module logic.
 * The existing logo/video, navigation, desktop columns and widget order remain.
 */
:root {
    --omega-accent-primary: #ff806b;
    --omega-accent-text: #ffb09b;
    --omega-accent-strong: #bf3426;
    --omega-accent-rgb: 255, 99, 72;
    --omega-on-primary: #fff5ee;
    --omega-focus: #ffc1ad;
    --omega-button-face: linear-gradient(180deg, #bf3426 0%, #a52220 48%, #851a1d 100%);
    --omega-button-hover: linear-gradient(180deg, #c53729 0%, #b32b24 48%, #962024 100%);
    --omega-button-pressed: linear-gradient(180deg, #851a1d, #982125);
    --accent-purple: var(--omega-accent-primary);
    --accent-yellow: var(--omega-accent-text);

    --bg-main: #0b0b0f;
    --bg-card: #14151b;
    --text-primary: #eeeef3;
    --text-secondary: #b3b3c0;
    --accent-orange: var(--omega-accent-primary);
    --accent-blue: var(--omega-accent-primary);
    --border-color: rgba(220, 222, 245, .12);
    --shadow-soft: 0 12px 32px rgba(0, 0, 0, .28);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --transition: color .18s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
body {
    color: var(--text-primary);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
a, button, input, select, textarea { -webkit-tap-highlight-color: rgba(255, 99, 72, .18); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible,
textarea:focus-visible, summary:focus-visible, .menu-toggle:focus-visible {
    outline: 2px solid #eda8a0;
    outline-offset: 4px;
}
button, input, select, textarea { font: inherit; }
img, video, iframe { max-width: 100%; }

/* Same floating navigation, same links and language menu. */
nav {
    top: 22px;
    padding: 8px 18px;
    gap: 20px;
    border-color: rgba(255, 196, 177, .16);
    background: rgba(14, 14, 20, .93);
    box-shadow: 0 12px 35px rgba(0, 0, 0, .34), inset 0 1px rgba(255, 255, 255, .04);
}
nav > #nav-menu { align-items: center; gap: 5px; padding: 0; margin: 0; }
nav > #nav-menu > li > a {
    min-height: 40px;
    padding: 10px 14px;
    border: 1px solid transparent;
    color: #cac9d1;
    font-size: .82rem;
    white-space: nowrap;
}
nav > #nav-menu > li > a:hover { background: rgba(255, 99, 72, .09); transform: none; color: #f6eceb; }
nav .language-selector .dropdown-toggle { min-height: 40px; padding: 9px 12px; }
nav .language-dropdown { border-color: rgba(255, 99, 72, .2) !important; }
nav .menu-toggle { cursor: pointer; padding: 10px 13px; color: #e9938a; }
@media (min-width: 981px) { nav .menu-toggle { display: none; } }

/* The original centered logo and video are retained at their original position. */
body > header { padding-top: 112px; padding-bottom: 42px; }
body > header .header-video-overlay {
    background: linear-gradient(180deg, rgba(7, 8, 13, .22), rgba(9, 10, 16, .42) 58%, #0b0b0f 100%);
}
body > header .header-content { width: 100%; }
body > header .logo-wrapper { margin-bottom: 24px !important; }
body > header .hero-stats-container { gap: 14px !important; }
body > header .simple-rank-card {
    background: linear-gradient(145deg, rgba(22, 23, 30, .9), rgba(12, 13, 19, .9));
    border: 1px solid rgba(255, 196, 177, .14);
    padding: 15px 18px;
    border-radius: 13px;
    box-shadow: 0 9px 24px rgba(0, 0, 0, .34), inset 0 1px rgba(255, 255, 255, .04) !important;
}
body > header .simple-rank-card:hover { transform: translateY(-2px); border-color: rgba(255, 99, 72, .32); }
body > header .simple-rank-card .card-label { letter-spacing: 1.25px; }
body > header .simple-rank-card .player-name { color: #dfdfe8; font-size: .83rem; }
body > header .simple-rank-card .card-stat { font-variant-numeric: tabular-nums; }

/* Fluid measurements preserve all three columns instead of clipping them. */
body > .container {
    box-sizing: border-box;
    width: 100%;
    max-width: 1460px;
    grid-template-columns: minmax(228px, 260px) minmax(0, 680px) minmax(228px, 260px);
    gap: 24px;
    padding: 32px 26px 46px;
    align-items: start;
}
body > .container.no-sidebar-right { grid-template-columns: minmax(228px, 260px) minmax(0, 1fr); }
.container > main, .container > aside { min-width: 0; }
.container > aside { gap: 24px; }
.container > .sidebar-right { display: flex; }

/* Existing account, ranking, server-information and castle panels. */
.container .sidebar-module,
.container main .rank-card--livekills,
.container main .news-item {
    border-color: rgba(218, 220, 240, .11);
    background: linear-gradient(145deg, rgba(24, 25, 32, .96), rgba(17, 18, 24, .97));
    box-shadow: 0 10px 30px rgba(0, 0, 0, .24), inset 0 1px rgba(255, 255, 255, .025);
}
.container .sidebar-module { padding: 23px 21px; }
.container .sidebar-module:hover,
.container main .rank-card--livekills:hover,
.container main .news-item:hover {
    transform: none;
    border-color: rgba(255, 99, 72, .26);
    box-shadow: 0 13px 32px rgba(0, 0, 0, .29);
}
.container .sidebar-module h3 {
    font-size: .8rem;
    letter-spacing: 1.1px;
    line-height: 1.45;
    margin-bottom: 21px;
    padding-bottom: 15px;
    gap: 10px;
}
.container .sidebar-module h3::after { width: 52%; opacity: .7; box-shadow: none; }
.container .sidebar-module h3 i { width: 30px; height: 30px; font-size: .8rem; border-color: rgba(255, 99, 72, .24); box-shadow: none; }
.container .ranking-item { gap: 9px; padding: 12px 0; border-bottom: 1px solid rgba(225, 226, 245, .07); }
.container .ranking-item:last-child { border-bottom: 0; }
.container .rank-name, .container .player-name { overflow-wrap: anywhere; }
.container .rank-name a, .container .player-name a { text-decoration-thickness: 1px; text-underline-offset: 4px; }
.container .rank-name a:hover, .container .player-name a:hover { color: #e9948b; text-decoration: underline; }
.container .rank-value, .container .topmoney-balance { font-variant-numeric: tabular-nums; }
.container .rank-avatar { object-fit: cover; border-color: rgba(255, 255, 255, .15); }
.container .view-all-link, .container .view-all { line-height: 1.5; color: #e9948b; }
.container .form-links a { line-height: 1.6; }

/* Existing inputs and submit controls keep their native behaviour. */
.login-form .input-group input,
.auth-form .input-group input,
.auth-body-content .form-control,
.container main input[type="text"],
.container main input[type="password"],
.container main input[type="email"],
.container main select, .container main textarea {
    background: rgba(8, 10, 16, .75);
    color: #eeeef4;
    border-color: rgba(213, 218, 238, .18);
    border-radius: 9px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, .12);
}
.login-form input::placeholder, .auth-form input::placeholder { color: #9194a5; opacity: 1; }
.login-form .input-group input:focus, .auth-form .input-group input:focus,
.auth-body-content .form-control:focus {
    border-color: rgba(255, 99, 72, .74);
    box-shadow: 0 0 0 3px rgba(255, 99, 72, .1);
}
.login-form { gap: 15px; }
.login-form .input-group input { min-height: 44px; }
.btn-more, .cs-details-btn, .omega-download-btn {
    border-radius: 9px;
    background: linear-gradient(180deg, #e6857a, #d84130);
    color: #fff5ee;
    box-shadow: 0 4px 11px rgba(255, 99, 72, .13), inset 0 1px rgba(255, 241, 232, .25);
    text-shadow: none;
}
.btn-more:hover, .cs-details-btn:hover, .omega-download-btn:hover {
    background: linear-gradient(180deg, #ea9b92, #e0685b);
    color: #fff5ee;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(255, 99, 72, .18);
}
.btn-more:active, .cs-details-btn:active { transform: none; }

/* Original live PvP/PvM records and original news structure. */
.container main .live-records-grid { gap: 24px; margin-bottom: 28px; }
.container main .rank-card--livekills { padding: 23px; }
.container main .rank-card__header { gap: 12px; margin-bottom: 18px; }
.container main .rank-card__badge { border-radius: 9px; border-color: rgba(255, 255, 255, .12); box-shadow: none; }
.container main .rank-card__title { font-size: .94rem; line-height: 1.45; letter-spacing: .5px; }
.container main .rank-card__subtitle { font-size: .74rem; color: #a1a5b6; line-height: 1.5; }
.container main .rank-card__divider { opacity: .35; }
.container main .kill-line { background: rgba(255, 255, 255, .025); padding: 10px 12px; border-radius: 8px; }
.container main .kill-line:hover { background: rgba(255, 99, 72, .045); border-color: rgba(255, 99, 72, .15); }
.container main .ki-time { opacity: .85; color: #a4a7b8; }
.container main .news-item { margin-bottom: 26px; }
.container main .news-item-header { padding: 24px 26px 20px; background: rgba(255, 255, 255, .015); border-color: rgba(225, 226, 245, .08); }
.container main .news-item-title { font-size: 1.21rem; line-height: 1.5; letter-spacing: -.2px; margin-bottom: 12px; }
.container main .news-item-title a { color: #f6edec; }
.container main .news-item-title a:hover { color: #eca199; text-shadow: none; }
.container main .news-item-meta { color: #a5a8b9; font-size: .75rem; font-family: inherit; gap: 14px; }
.container main .news-item-content { padding: 23px 26px 26px; color: #c0c0ce; line-height: 1.85; font-size: .91rem; overflow-wrap: anywhere; }
.container main .news-item-content h1 { font-size: 1.3rem; line-height: 1.55; }
.container main .news-item-content h2 { font-size: 1.16rem; line-height: 1.6; }
.container main .news-item-content h3 { font-size: 1rem; line-height: 1.65; }
.container main .news-item-content img { max-width: 100% !important; height: auto !important; border-radius: 10px; }
.container main .news-item-content iframe { max-width: 100%; border-radius: 10px; }
.container main .news-readmore { color: #e9978e; text-underline-offset: 4px; }

/* Detailed right column retains every original statistic and castle field. */
.sidebar-right .sidebar-module.premium-server-info { background: linear-gradient(145deg, #191a21f5, #11121af5); }
.sidebar-right .premium-server-info .info-card { padding: 12px 13px; border-color: rgba(225, 226, 245, .07); background: rgba(255, 255, 255, .018); }
.sidebar-right .premium-server-info .info-card:hover { transform: none; border-color: rgba(255, 99, 72, .2); }
.sidebar-right .premium-server-info .info-left { min-width: 0; }
.sidebar-right .premium-server-info .info-right { overflow-wrap: anywhere; }
.sidebar-right .premium-server-info .info-right strong { color: #f4eae9; }
.sidebar-right .cs-owner-header { padding: 12px; gap: 12px; background: rgba(255, 255, 255, .018); }
.sidebar-right .cs-owner-info { min-width: 0; }
.sidebar-right .cs-value { overflow-wrap: anywhere; }
.sidebar-right .cs-countdown { background: rgba(8, 9, 14, .55); border-color: rgba(255, 255, 255, .07); }
.sidebar-right .cs-details-btn { line-height: 1.5; letter-spacing: .5px; }

/* Tables, rankings and original authentication page. */
.container main .rankings-table, .container main .table, .container main .custom-table { width: 100%; }
.container main .rankings-table td, .container main .rankings-table th,
.container main .table td, .container main .table th { border-color: rgba(225, 226, 245, .09); }
.container main .rankings-table tr:hover td { background: rgba(255, 99, 72, .035); }
.container main .rankings-menu, .container main .rankings_menu { gap: 8px; }
.container main .rankings-menu a, .container main .rankings_menu a { border-radius: 9px; line-height: 1.5; }
.auth-wrapper .auth-card { background: linear-gradient(145deg, rgba(25, 26, 34, .97), rgba(13, 14, 21, .98)); border-color: rgba(255, 99, 72, .18); box-shadow: 0 25px 65px rgba(0, 0, 0, .38); }
.auth-wrapper .auth-header p { color: #b3b3c2; line-height: 1.7; }
.auth-wrapper .auth-form { gap: 16px; }
.auth-wrapper .auth-form input { min-height: 46px; }

/* Existing footer branding, columns, links and credits remain in place. */
.omega-footer .omega-footer-container { gap: 35px; padding-top: 54px; padding-bottom: 45px; }
.omega-footer .omega-footer-description { color: #92929f; line-height: 1.85; }
.omega-footer .omega-footer-column a { color: #a2a2ae; line-height: 1.65; }
.omega-footer .omega-footer-column a:hover { color: #f1bcb6; transform: translateX(2px); }
.omega-footer .omega-footer-column h4 { letter-spacing: 1.3px; }
.omega-footer .omega-footer-column h4::after { box-shadow: none; opacity: .8; }
.omega-footer .omega-footer-server { box-shadow: inset 0 1px rgba(255, 255, 255, .025); border-color: rgba(221, 222, 245, .1); }
.omega-footer .omega-server-info small, .omega-footer .omega-server-title small,
.omega-footer .omega-server-online small { color: #9696a3; }
.omega-footer .omega-footer-bottom { border-top-color: rgba(221, 222, 245, .08); }

/* Tablet: original three-column layout remains, with fluid center width. */
@media (min-width: 981px) and (max-width: 1230px) {
    body > .container { grid-template-columns: 226px minmax(0, 1fr) 226px; gap: 18px; padding-right: 20px; padding-left: 20px; }
    .container .sidebar-module { padding: 20px 16px; }
    .container .ranking-item { gap: 6px; }
    nav { padding-right: 12px; padding-left: 12px; }
    nav > #nav-menu > li > a { padding-right: 11px; padding-left: 11px; }
}

/* Narrow screens use the original DOM sequence; no reordering or widget removal. */
@media (max-width: 980px) {
    body > .container, body > .container.no-sidebar-right { display: flex; flex-direction: column; width: 100%; max-width: 740px; padding: 24px 18px 38px; gap: 24px; }
    .container > main, .container > aside { width: 100%; }
    .container > .sidebar-right { display: flex; }
    .container > aside { gap: 20px; }
    nav { top: 14px; width: calc(100% - 28px); max-width: 640px; flex-direction: column; align-items: stretch; gap: 0; padding: 4px 10px; border-radius: 16px; }
    nav .menu-toggle { display: flex; align-items: center; justify-content: center; min-height: 44px; align-self: center; }
    nav > #nav-menu { display: none; flex-direction: column; align-items: stretch; gap: 4px; padding: 3px 4px 10px; }
    nav > #nav-menu.show { display: flex; }
    nav > #nav-menu > li > a { min-height: 44px; border-radius: 9px; }
    nav .language-selector { width: 100%; }
    nav .language-selector .dropdown-toggle { justify-content: center; }
    nav .language-dropdown { position: static; margin-top: 5px !important; }
    body > header { padding: 98px 20px 28px; min-height: 390px; }
    body > header .hero-stats-container { width: 100%; max-width: 640px; }
    body > header .simple-rank-card { min-width: 0 !important; flex: 1 1 160px; padding: 13px 14px; gap: 10px; }
    body > header .simple-rank-card .card-image { width: 40px; height: 40px; }
    body > header .simple-rank-card .card-stat { font-size: .92rem !important; }
    .container main .news-item-content img { width: auto; }
    .omega-footer .omega-footer-container { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; width: calc(100% - 40px); }
    .omega-footer .omega-footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
    body > .container { padding-left: 12px; padding-right: 12px; gap: 20px; }
    body > header { padding-left: 14px; padding-right: 14px; }
    body > header .logo-wrapper img { max-width: min(340px, 88vw) !important; }
    body > header .hero-stats-container { gap: 9px !important; }
    body > header .simple-rank-card { flex-basis: 100%; min-height: 68px; }
    .container .sidebar-module { padding: 21px 18px; }
    .container main .rank-card--livekills { padding: 20px 16px; }
    .container main .rank-card__title { font-size: .86rem; }
    .container main .rank-card__subtitle { font-size: .69rem; }
    .container main .kill-line { white-space: normal; flex-wrap: wrap; padding: 10px; gap: 6px; }
    .container main .kill-line > div:first-child { min-width: 0; overflow-wrap: anywhere; }
    .container main .ki-time { margin-left: auto; }
    .container main .news-item-header { padding: 21px 19px 17px; }
    .container main .news-item-content { padding: 20px 19px 23px; font-size: .88rem; }
    .container main .news-item-title { font-size: 1.12rem; }
    .container main .rankings-table, .container main .table, .container main .custom-table { display: block; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .auth-wrapper { padding: 24px 12px; }
    .auth-wrapper .auth-card { padding: 25px 20px; }
    .omega-footer .omega-footer-container { width: calc(100% - 32px); gap: 25px 18px; }
    .omega-footer .omega-footer-server { grid-column: 1 / -1; }
    .omega-footer .omega-footer-bottom-container { width: calc(100% - 32px); gap: 9px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    nav, .header-content, .header-content p, .header-top-ranks, .status-dot,
    .omega-status-dot, .omega-server-dot { animation: none !important; }
    .header-content { opacity: 1; transform: none; }
    .livekills-marquee { overflow-y: auto; mask-image: none; -webkit-mask-image: none; }
    .livekills-marquee .marquee-inner { animation: none !important; transform: none; }
    a, button, .sidebar-module, .simple-rank-card, .news-item, .rank-card--livekills { transition: none; }
}

/* The original animated gold/silver spans remain; their text is rendered solid. */
nav > #nav-menu > li > a [data-gold],
.container .sidebar-module h3 [data-silver],
.container main .page-title [data-silver],
.container main .news-item-title [data-silver],
.container main .rank-card__title [data-silver],
.auth-wrapper .auth-header [data-silver],
.container main .rankings-menu [data-gold],
.container main .rankings_menu [data-gold] {
    background-image: none !important;
    color: inherit !important;
    -webkit-text-fill-color: currentColor !important;
    animation: none !important;
    -webkit-animation: none !important;
    text-shadow: none;
    filter: none;
    font-weight: 600;
    letter-spacing: .04em;
}
nav > #nav-menu > li > a [data-gold]::before,
nav > #nav-menu > li > a [data-gold]::after,
.container .sidebar-module h3 [data-silver]::before,
.container .sidebar-module h3 [data-silver]::after,
.container main .page-title [data-silver]::before,
.container main .page-title [data-silver]::after,
.container main .news-item-title [data-silver]::before,
.container main .news-item-title [data-silver]::after,
.container main .rank-card__title [data-silver]::before,
.container main .rank-card__title [data-silver]::after,
.auth-wrapper .auth-header [data-silver]::before,
.auth-wrapper .auth-header [data-silver]::after,
.container main .rankings-menu [data-gold]::before,
.container main .rankings-menu [data-gold]::after,
.container main .rankings_menu [data-gold]::before,
.container main .rankings_menu [data-gold]::after {
    opacity: 0;
    text-shadow: none;
}
.container .sidebar-module,
.container main .rank-card--livekills,
.container main .news-item {
    border-radius: 14px;
}
.container .sidebar-module h3 {
    color: #eeeaf0;
    font-size: .85rem;
    letter-spacing: .7px;
}
.container main .news-item-title {
    color: #eeeaf0;
    font-size: 1.24rem;
    letter-spacing: -.25px;
    line-height: 1.5;
}
.container main .news-item-content {
    color: #cbcbd5;
    font-size: .96rem;
    line-height: 1.85;
}
.container main .news-item-content p + p { margin-top: 1em; }
.container main .news-item-meta,
.container main .rank-card__subtitle {
    color: #b0b2c0;
    line-height: 1.6;
}
.container .rank-name, .container .player-name { line-height: 1.5; }
.container .view-all-link, .container .view-all,
.container .form-links a { font-size: .8rem; }
.container .form-links { gap: 8px 12px; }
.login-form .btn-more, .auth-wrapper .btn-more,
.container .cs-details-btn, .omega-download-btn {
    min-height: 44px;
    line-height: 1.5;
    font-weight: 600;
    letter-spacing: .02em;
}
.login-form .input-group input,
.auth-wrapper .auth-form .input-group input {
    font-size: .94rem;
    line-height: 1.5;
}
.login-form .input-group input::placeholder,
.auth-wrapper .auth-form .input-group input::placeholder { color: #a8a9b8; }
.auth-wrapper .auth-header p { font-size: .94rem; }
.omega-footer .omega-footer-column a { font-size: .85rem; }

/* DataTables keeps its existing search, pagination and all ranking columns. */
.container main .rankings-table { font-size: .84rem; }
.container main .rankings-table th,
.container main .rankings-table td { padding: 13px 10px; line-height: 1.5; }
.container main .rankings-table th { color: #ead5d3; }
.container main .dataTables_wrapper { max-width: 100%; }
.container main .dataTables_filter input,
.container main .dataTables_length select {
    min-height: 40px;
    border-radius: 9px;
    border-color: rgba(220, 222, 245, .2);
    color: #eaeaf1;
}
.container main .dataTables_wrapper .dataTables_paginate .paginate_button.current,
.container main .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
    color: #fff5ee !important;
    box-shadow: none;
}
@media (max-width: 980px) {
    .container main .rankings-table,
    .container main .table,
    .container main .custom-table {
        display: block;
        max-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .container main .dataTables_filter,
    .container main .dataTables_length,
    .container main .dataTables_info {
        float: none;
        width: 100%;
        text-align: left;
        font-size: .84rem;
    }
    .container main .dataTables_filter label,
    .container main .dataTables_length label {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 8px;
        margin-bottom: 0;
    }
    .container main .dataTables_filter input {
        flex: 1 1 150px;
        min-width: 0;
        width: auto;
        margin-left: 0;
        min-height: 44px;
    }
    .container main .dataTables_length select { min-height: 44px; }
    .container main .dataTables_wrapper .dataTables_paginate {
        float: none !important;
        text-align: left !important;
        margin-top: 12px;
        line-height: 2.9;
        white-space: normal;
    }
    .container main .dataTables_wrapper .dataTables_paginate .paginate_button {
        min-width: 44px;
        min-height: 44px;
        padding: 8px 11px;
        line-height: 1.5;
    }
}
@media (max-width: 520px) {
    .container main .news-item-content { font-size: .94rem; line-height: 1.8; }
    .container main .news-item-title { font-size: 1.14rem; }
    .container .sidebar-module h3 { font-size: .87rem; }
    .container .form-links {
        display: flex;
        align-items: flex-start;
        flex-wrap: wrap;
    }
    .container .form-links a { min-height: 44px; padding: 10px 0; }
}

/* Pixel-preserving WebP versions of the two ORIGINAL backgrounds.
 * Copy the included img/ files alongside the stylesheet. Legacy browsers retain
 * the original template backgrounds; the original PNG/JPEG files remain in place.
 */
@supports (background-image: image-set(url("../img/fondobaires-lossless.webp") type("image/webp") 1x)) {
    body > header {
        background-image: linear-gradient(to bottom, rgba(11, 11, 15, .4) 0%, rgba(11, 11, 15, .9) 100%),
            image-set(url("../img/fondobaires-lossless.webp") type("image/webp") 1x,
                      url("../img/fondobaires.png") type("image/png") 1x);
    }
    body .auth-wrapper {
        background-image: linear-gradient(rgba(0, 0, 0, .6), rgba(0, 0, 0, .8)),
            image-set(url("../img/background-lossless.webp") type("image/webp") 1x,
                      url("../img/background.jpg") type("image/jpeg") 1x);
    }
}

/* BEGIN OMEGA NAVIGATION STUDIO
 * Shared lava-red button, following the user's visual reference.
 * CSS only: original destinations, labels, ordering and behaviour are retained.
 */
nav {
    --omega-nav-face: var(--omega-button-face);
    --omega-nav-face-hover: var(--omega-button-hover);
    --omega-nav-face-pressed: var(--omega-button-pressed);
    --omega-nav-depth: inset 0 1px rgba(255, 241, 232, .65), 0 2px 5px rgba(0, 0, 0, .18);
    --omega-nav-depth-hover: inset 0 1px rgba(255, 241, 232, .8), 0 4px 12px rgba(255, 99, 72, .18);
    box-sizing: border-box;
    top: 18px;
    width: fit-content;
    max-width: calc(100vw - 36px);
    min-height: 74px;
    padding: 12px;
    gap: 0;
    border: 1px solid rgba(255, 99, 72, .2);
    border-radius: 14px;
    background: linear-gradient(170deg, rgba(29, 27, 32, .98), rgba(13, 15, 21, .97));
    box-shadow: inset 0 1px rgba(255, 241, 232, .06), 0 15px 40px rgba(0, 0, 0, .4);
    -webkit-backdrop-filter: blur(24px);
    backdrop-filter: blur(24px);
    overflow: visible;
}
nav::before { content: none; }
nav > #nav-menu { align-items: center; gap: 6px; }
nav > #nav-menu > li { flex: 0 0 auto; }
nav > #nav-menu > li > a[href],
nav .language-selector > .dropdown-toggle {
    box-sizing: border-box;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 132px;
    min-height: 48px;
    padding: 12px 6px;
    border: 1px solid #df6658 !important;
    border-radius: 5px;
    background: var(--omega-nav-face) !important;
    color: #fff5ee !important;
    box-shadow: var(--omega-nav-depth) !important;
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: .01em;
    text-transform: uppercase;
    text-shadow: none;
    white-space: nowrap;
    transform: none;
    isolation: isolate;
    overflow: hidden;
    transition: color .18s ease, box-shadow .2s ease, transform .2s ease;
}
nav > #nav-menu > li > a[href] [data-gold] {
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    letter-spacing: inherit;
    color: inherit !important;
    -webkit-text-fill-color: currentColor !important;
}
/* Existing module icons share one aligned box beside each label. */
nav > #nav-menu > li > a[href] > i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 14px;
    width: 14px;
    height: 14px;
    margin: 0;
    color: #fff5ee;
    font-size: 14px;
    line-height: 1;
    text-shadow: none;
    opacity: 1;
}
nav > #nav-menu > li > a[href]::before,
nav .language-selector > .dropdown-toggle::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .05) 49%, transparent 68%);
    opacity: 0;
    transform: translate3d(-125%, 0, 0);
    pointer-events: none;
}
nav > #nav-menu > li > a[href]::after {
    content: "";
    position: absolute;
    bottom: 4px;
    left: calc(50% - 10px);
    width: 20px;
    height: 2px;
    border-radius: 1px;
    background: #fff5ee;
    opacity: 0;
    pointer-events: none;
}
nav > #nav-menu > li > a[href].active::after { opacity: .85; }
nav > #nav-menu > li > a[href]:focus-visible,
nav .language-selector > .dropdown-toggle:focus-visible,
nav .language-selector.open > .dropdown-toggle,
nav .language-selector.show > .dropdown-toggle,
nav .language-selector > .dropdown-toggle[aria-expanded="true"] {
    background: var(--omega-nav-face-hover) !important;
    color: #fff5ee !important;
    box-shadow: var(--omega-nav-depth-hover) !important;
}
nav > #nav-menu > li:last-child {
    margin-left: 6px;
    padding-left: 8px;
    border-left: 1px solid rgba(255, 196, 177, .16);
}
nav .language-selector { vertical-align: middle; }
nav .language-selector > .dropdown-toggle { width: 66px; gap: 9px; }
nav .language-selector > .dropdown-toggle > .lang-flag-icon {
    width: 20px;
    height: 14px;
    margin: 0;
    object-fit: cover;
    border-radius: 2px;
    box-shadow: 0 0 0 1px rgba(82, 23, 20, .15);
}
nav .language-selector > .dropdown-toggle > .fa-chevron-down {
    margin: 0 !important;
    color: #fff5ee;
    font-size: 10px !important;
    opacity: 1 !important;
    transition: transform .2s ease;
}
nav .language-selector.open > .dropdown-toggle > .fa-chevron-down,
nav .language-selector.show > .dropdown-toggle > .fa-chevron-down,
nav .language-selector > .dropdown-toggle[aria-expanded="true"] > .fa-chevron-down { transform: rotate(180deg); }
nav .language-dropdown {
    top: 100%;
    right: 0;
    left: auto;
    min-width: 150px !important;
    padding: 7px !important;
    margin-top: 17px !important;
    border: 1px solid rgba(255, 99, 72, .4) !important;
    border-radius: 9px !important;
    background: #1f2028 !important;
    box-shadow: 0 14px 32px rgba(0, 0, 0, .4) !important;
}
nav .language-dropdown li a {
    min-height: 44px;
    padding: 11px 13px !important;
    border-radius: 5px;
    color: #ead5d2 !important;
    line-height: 1.4;
    transform: none;
}
nav .language-dropdown li a:hover,
nav .language-dropdown li.active a {
    color: #eeada6 !important;
    background: rgba(255, 99, 72, .10) !important;
}
nav > #nav-menu a:focus-visible { outline: 2px solid #f3e7e6; outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) {
    nav > #nav-menu > li > a[href]:hover,
    nav .language-selector > .dropdown-toggle:hover {
        background: var(--omega-nav-face-hover) !important;
        color: #fff5ee !important;
        box-shadow: var(--omega-nav-depth-hover) !important;
        transform: translateY(-1px);
    }
}
nav > #nav-menu > li > a[href]:active,
nav .language-selector > .dropdown-toggle:active {
    background: var(--omega-nav-face-pressed) !important;
    box-shadow: inset 0 2px 4px rgba(82, 23, 20, .18) !important;
    transform: translateY(0);
    transition-duration: .08s;
}
@keyframes omegaNavSheen {
    0% { transform: translate3d(-125%, 0, 0); opacity: 0; }
    20%, 75% { opacity: .75; }
    100% { transform: translate3d(125%, 0, 0); opacity: 0; }
}
@media (prefers-reduced-motion: no-preference) {
    nav > #nav-menu > li > a[href]:focus-visible::before,
    nav .language-selector > .dropdown-toggle:focus-visible::before { animation: omegaNavSheen .65s ease-out both; }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
    nav > #nav-menu > li > a[href]:hover::before,
    nav .language-selector > .dropdown-toggle:hover::before { animation: omegaNavSheen .65s ease-out both; }
}
@media (min-width: 1200px) {
    nav > #nav-menu > li > a[href] { width: 156px; padding: 12px 10px; font-size: 13.5px; }
}
@media (max-width: 980px) {
    nav {
        top: 12px;
        width: calc(100% - 24px);
        max-width: 640px;
        min-height: 62px;
        padding: 6px 9px;
        align-items: stretch;
        border-radius: 12px;
    }
    nav .menu-toggle {
        min-width: 48px;
        min-height: 48px;
        padding: 12px;
        border: 1px solid #df6658;
        border-radius: 5px;
        color: #fff5ee;
        background: var(--omega-nav-face);
        box-shadow: var(--omega-nav-depth);
    }
    nav > #nav-menu {
        align-items: stretch;
        gap: 7px;
        padding: 7px 3px;
        max-height: calc(100vh - 100px);
        max-height: calc(100dvh - 100px);
        overflow-y: auto;
        overscroll-behavior: contain;
    }
    nav > #nav-menu > li > a[href] { width: 100%; min-height: 48px; padding: 12px 16px; font-size: 13.5px; }
    nav > #nav-menu > li:last-child {
        margin: 3px 0 0;
        padding: 9px 0 0;
        border-left: 0;
        border-top: 1px solid rgba(255, 196, 177, .15);
    }
    nav .language-selector > .dropdown-toggle { width: 100%; }
    nav .language-dropdown { position: static; margin-top: 8px !important; min-width: 0 !important; width: 100%; box-shadow: none !important; }
    nav > #nav-menu a:focus-visible { outline-offset: -3px; outline-color: #fff5ee; }
}
@media (prefers-reduced-motion: reduce) {
    nav > #nav-menu > li > a[href],
    nav .language-selector > .dropdown-toggle,
    nav .language-selector > .dropdown-toggle > i,
    nav .language-dropdown,
    nav .language-dropdown li a { transition: none !important; animation: none !important; transform: none !important; }
    nav > #nav-menu > li > a[href]::before,
    nav .language-selector > .dropdown-toggle::before { animation: none !important; opacity: 0 !important; transform: none !important; }
}
/* END OMEGA NAVIGATION STUDIO */

/* BEGIN OMEGA SERVER INFORMATION STUDIO
 * Scoped presentation of the original seven server settings.
 * Original values and the balance bar's inline width remain authoritative.
 */
.container .sidebar-right .sidebar-module.premium-server-info {
    box-sizing: border-box;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
    padding: 18px 16px 16px;
    border: 1px solid rgba(255, 99, 72, .19);
    border-radius: 18px;
    background: radial-gradient(ellipse at 0 0, rgba(255, 99, 72, .075), transparent 45%), linear-gradient(155deg, #1b1d26, #11141c 80%);
    box-shadow: inset 0 1px rgba(255, 241, 232, .045), 0 14px 34px rgba(0, 0, 0, .28);
    scroll-margin-top: 116px;
    transform: none;
}
.container .sidebar-right .premium-server-info::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 22px;
    right: 22px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 99, 72, .65), transparent);
    pointer-events: none;
}
.container .sidebar-right .premium-server-info:hover {
    border-color: rgba(255, 99, 72, .19);
    box-shadow: inset 0 1px rgba(255, 241, 232, .045), 0 14px 34px rgba(0, 0, 0, .28);
    transform: none;
}
.container .sidebar-right .premium-server-info .module-header {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    min-width: 0;
    margin: 0 0 4px;
    padding: 0 0 14px;
    border-bottom: 1px solid rgba(223, 226, 242, .09);
}
.container .sidebar-right .premium-server-info .module-header > div { min-width: 0; }
.container .sidebar-right .premium-server-info .module-icon {
    box-sizing: border-box;
    width: 36px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 99, 72, .26);
    border-radius: 11px;
    background: linear-gradient(145deg, rgba(255, 99, 72, .16), rgba(255, 99, 72, .035));
    box-shadow: inset 0 1px rgba(255, 196, 177, .07);
    color: #e68479;
}
.container .sidebar-right .premium-server-info .module-icon > i { margin: 0; font-size: 16px; line-height: 1; }
.container .sidebar-right .premium-server-info .module-header h3 {
    display: block;
    margin: 0;
    padding: 0;
    border: 0;
    color: #f2e5e3;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: .035em;
    text-shadow: none;
}
.container .sidebar-right .premium-server-info .module-header h3::before,
.container .sidebar-right .premium-server-info .module-header h3::after { content: none; }
.container .sidebar-right .premium-server-info .module-header h3 [data-silver] {
    font-size: inherit;
    font-weight: inherit;
    letter-spacing: inherit;
    color: inherit !important;
    -webkit-text-fill-color: currentColor !important;
}
.container .sidebar-right .premium-server-info .module-header small {
    display: block;
    margin-top: 4px;
    color: #9ea5b4;
    font-size: 10.5px;
    line-height: 1.5;
    letter-spacing: 0;
    overflow-wrap: anywhere;
}
.container .sidebar-right .premium-server-info .info-card {
    box-sizing: border-box;
    position: relative;
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-content: center;
    align-items: center;
    gap: 2px 10px;
    width: 100%;
    min-width: 0;
    min-height: 68px;
    margin: 0;
    padding: 10px 12px;
    border: 1px solid rgba(219, 225, 244, .09);
    border-radius: 11px;
    background: linear-gradient(135deg, rgba(34, 36, 46, .95), rgba(24, 27, 36, .95));
    box-shadow: inset 0 1px rgba(255, 255, 255, .025);
    text-align: left;
    transform: none;
    transition: border-color .2s ease, background-color .2s ease;
}
.container .sidebar-right .premium-server-info .info-card::before {
    content: "";
    position: absolute;
    left: -1px;
    top: 17px;
    bottom: 17px;
    width: 2px;
    border-radius: 0 2px 2px 0;
    background: linear-gradient(180deg, rgba(255, 99, 72, .65), rgba(255, 99, 72, .12));
    pointer-events: none;
}
.container .sidebar-right .premium-server-info .info-card:hover {
    border-color: rgba(255, 99, 72, .27);
    background: linear-gradient(135deg, rgba(40, 38, 44, .98), rgba(25, 27, 35, .98));
    box-shadow: inset 0 1px rgba(255, 255, 255, .025);
    transform: none;
}
.container .sidebar-right .premium-server-info .info-left { display: contents; }
.container .sidebar-right .premium-server-info .info-left > i {
    box-sizing: border-box;
    grid-column: 1;
    grid-row: 1 / span 2;
    align-self: center;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    margin: 0;
    border: 1px solid rgba(255, 99, 72, .18);
    border-radius: 10px;
    background: linear-gradient(145deg, rgba(255, 99, 72, .13), rgba(255, 99, 72, .025));
    box-shadow: inset 0 1px rgba(255, 241, 232, .04);
    color: #e27266;
    font-size: 16px;
    line-height: 1;
    text-align: center;
    text-shadow: none;
    opacity: 1;
}
.container .sidebar-right .premium-server-info .info-left > span {
    grid-column: 2;
    grid-row: 1;
    display: block;
    min-width: 0;
    color: #aeb4c2;
    font-size: 10.5px;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: .04em;
    text-transform: uppercase;
    text-align: left;
    overflow-wrap: anywhere;
}
.container .sidebar-right .premium-server-info .info-right {
    grid-column: 2;
    grid-row: 2;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: flex-start;
    gap: 4px 7px;
    min-width: 0;
    text-align: left;
    overflow-wrap: anywhere;
    font-variant-numeric: tabular-nums;
}
.container .sidebar-right .premium-server-info .info-right > strong {
    display: block;
    min-width: 0;
    color: #f4e9e8;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -.015em;
    text-shadow: none;
}
.container .sidebar-right .premium-server-info .info-right > small {
    padding: 2px 5px;
    border: 1px solid rgba(255, 99, 72, .16);
    border-radius: 4px;
    background: rgba(255, 99, 72, .07);
    color: #eb9d94;
    font-size: 10px;
    font-weight: 500;
    line-height: 1.3;
}
.container .sidebar-right .premium-server-info .info-right > .badge.gold {
    padding: 4px 8px;
    border: 1px solid rgba(255, 99, 72, .4);
    border-radius: 6px;
    background: linear-gradient(180deg, #e68479, #de5e50);
    box-shadow: inset 0 1px rgba(255, 241, 232, .3);
    color: #fff5ee;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: .01em;
    white-space: normal;
}
.container .sidebar-right .premium-server-info .server-status {
    box-sizing: border-box;
    margin-top: 4px;
    padding: 12px;
    border: 1px solid rgba(255, 99, 72, .16);
    border-radius: 11px;
    background: linear-gradient(135deg, rgba(255, 99, 72, .055), rgba(255, 255, 255, .015));
}
.container .sidebar-right .premium-server-info .status-title {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 5px 8px;
    margin-bottom: 9px;
    color: #b1b7c4;
    font-size: 10.5px;
    line-height: 1.5;
}
.container .sidebar-right .premium-server-info .status-title > strong {
    padding: 2px 6px;
    border: 1px solid rgba(255, 99, 72, .14);
    border-radius: 4px;
    background: rgba(255, 99, 72, .07);
    color: #eb9e96;
    font-size: 10.5px;
    font-weight: 600;
    line-height: 1.3;
}
.container .sidebar-right .premium-server-info .status-bar {
    height: 6px;
    border-radius: 8px;
    background: #0d1017;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, .4);
    overflow: hidden;
}
.container .sidebar-right .premium-server-info .status-fill {
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #de5e50, #e68479);
    box-shadow: 0 0 8px rgba(255, 99, 72, .13);
}
@media (prefers-reduced-motion: reduce) {
    .container .sidebar-right .premium-server-info .info-card { transition: none; }
}
/* END OMEGA SERVER INFORMATION STUDIO */

/* BEGIN OMEGA CASTLE SIEGE STUDIO
 * Presentation only: preserve the guild mark, profiles, stage, timer and CTA.
 */
.container .sidebar-right .sidebar-module.castle-owner-widget {
    box-sizing: border-box;
    position: relative;
    min-width: 0;
    padding: 18px 16px 16px;
    border: 1px solid rgba(255, 99, 72, .19) !important;
    border-radius: 18px;
    background: radial-gradient(ellipse at 100% 0, rgba(255, 99, 72, .075), transparent 45%), linear-gradient(155deg, #1b1d26, #11141c 80%);
    box-shadow: inset 0 1px rgba(255, 241, 232, .045), 0 14px 34px rgba(0, 0, 0, .28);
    overflow: visible;
    scroll-margin-top: 116px;
    transform: none;
}
.container .sidebar-right .castle-owner-widget::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 22px;
    right: 22px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 99, 72, .65), transparent);
    pointer-events: none;
}
.container .sidebar-right .castle-owner-widget:hover {
    box-shadow: inset 0 1px rgba(255, 241, 232, .045), 0 14px 34px rgba(0, 0, 0, .28);
    transform: none;
}
.container .sidebar-right .castle-owner-widget > h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 14px;
    padding: 0 0 14px;
    border: 0;
    border-bottom: 1px solid rgba(223, 226, 242, .09);
    color: #f2e5e3;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: .035em;
    text-shadow: none;
}
.container .sidebar-right .castle-owner-widget > h3::before,
.container .sidebar-right .castle-owner-widget > h3::after { content: none; }
.container .sidebar-right .castle-owner-widget > h3 > i {
    box-sizing: border-box;
    flex: 0 0 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 40px;
    margin: 0;
    border: 1px solid rgba(255, 99, 72, .26);
    border-radius: 11px;
    background: linear-gradient(145deg, rgba(255, 99, 72, .16), rgba(255, 99, 72, .035));
    box-shadow: inset 0 1px rgba(255, 196, 177, .07);
    color: #e68479;
    font-size: 16px;
    line-height: 1;
    filter: none;
    text-shadow: none;
}
.container .sidebar-right .castle-owner-widget > h3 [data-silver] {
    min-width: 0;
    font-size: inherit;
    font-weight: inherit;
    letter-spacing: inherit;
    color: inherit !important;
    -webkit-text-fill-color: currentColor !important;
    overflow-wrap: anywhere;
}
.container .sidebar-right .castle-owner-widget .cs-widget-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
}
.container .sidebar-right .castle-owner-widget .cs-owner-header {
    box-sizing: border-box;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    min-width: 0;
    padding: 12px;
    border: 1px solid rgba(219, 225, 244, .09);
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(34, 36, 46, .95), rgba(24, 27, 36, .95));
    box-shadow: inset 0 1px rgba(255, 255, 255, .025);
}
.container .sidebar-right .castle-owner-widget .cs-guild-logo {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 5px;
    border: 1px solid rgba(255, 99, 72, .3);
    border-radius: 11px;
    background: #0f131b;
    box-shadow: inset 0 1px rgba(255, 241, 232, .06), 0 4px 10px rgba(0, 0, 0, .2);
}
.container .sidebar-right .castle-owner-widget .cs-guild-logo img {
    display: block;
    width: 36px;
    height: 36px;
    max-width: 100%;
    object-fit: contain;
    image-rendering: pixelated;
    border-radius: 3px;
}
.container .sidebar-right .castle-owner-widget .cs-owner-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
}
.container .sidebar-right .castle-owner-widget .cs-info-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.container .sidebar-right .castle-owner-widget .cs-label {
    display: block;
    min-width: 0;
    margin: 0;
    color: #a5adbd;
    font-size: 9.5px;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: .035em;
    text-transform: uppercase;
    overflow-wrap: anywhere;
}
.container .sidebar-right .castle-owner-widget .cs-value {
    display: block;
    min-width: 0;
    margin: 0;
    color: #f0e2e1;
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0;
    text-shadow: none;
    overflow-wrap: anywhere;
}
.container .sidebar-right .castle-owner-widget .cs-value a,
.container .sidebar-right .castle-owner-widget .cs-value a:visited {
    display: inline-block;
    max-width: 100%;
    min-height: 22px;
    padding: 1px 0;
    color: #eca59d;
    font-size: inherit;
    line-height: 1.5;
    text-decoration: none;
    text-shadow: none;
    overflow-wrap: anywhere;
    transition: color .18s ease;
}
.container .sidebar-right .castle-owner-widget .cs-value a:hover {
    color: #ecd9d7;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
}
.container .sidebar-right .castle-owner-widget .cs-status-divider { display: none; }
.container .sidebar-right .castle-owner-widget .cs-battle-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
    text-align: left;
}
.container .sidebar-right .castle-owner-widget .cs-status-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}
.container .sidebar-right .castle-owner-widget .cs-status-item .highlight {
    box-sizing: border-box;
    width: 100%;
    padding: 8px 10px;
    border: 1px solid rgba(255, 99, 72, .18);
    border-radius: 9px;
    background: rgba(255, 99, 72, .07);
    color: #eca59d;
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1.5;
    text-shadow: none;
    white-space: normal;
}
.container .sidebar-right .castle-owner-widget .cs-countdown {
    box-sizing: border-box;
    min-width: 0;
    padding: 12px;
    border: 1px solid rgba(255, 99, 72, .18);
    border-radius: 11px;
    background: radial-gradient(ellipse at 100% 0, rgba(255, 99, 72, .065), transparent 70%), #151922;
    box-shadow: inset 0 1px rgba(255, 255, 255, .025);
    text-align: left;
}
.container .sidebar-right .castle-owner-widget .cs-timer {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 5px 7px;
    min-width: 0;
    margin-top: 7px;
    color: #f4e9e8;
    font-size: 15px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    line-height: 1.5;
    letter-spacing: -.015em;
    white-space: normal;
    overflow-wrap: anywhere;
}
.container .sidebar-right .castle-owner-widget .cs-timer > i {
    flex: 0 0 14px;
    width: 14px;
    margin: 0;
    color: #e27266;
    font-size: 14px;
    line-height: 1;
    text-align: center;
}
.container .sidebar-right .castle-owner-widget .cs-details-btn {
    box-sizing: border-box;
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 52px;
    padding: 12px 10px;
    border: 1px solid #df6658;
    border-radius: 8px;
    background: linear-gradient(180deg, #e68479, #e27266 48%, #de5e50);
    box-shadow: inset 0 1px rgba(255, 241, 232, .65), 0 3px 8px rgba(0, 0, 0, .2);
    color: #fff5ee;
    font-size: 11.5px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: .02em;
    text-transform: uppercase;
    text-align: center;
    text-decoration: none;
    text-shadow: none;
    white-space: normal;
    overflow-wrap: anywhere;
    overflow: hidden;
    transform: none;
    filter: none;
    transition: box-shadow .2s ease, transform .2s ease;
}
.container .sidebar-right .castle-owner-widget .cs-details-btn > i {
    flex: 0 0 13px;
    width: 13px;
    color: #fff5ee;
    font-size: 12px;
    line-height: 1;
}
.container .sidebar-right .castle-owner-widget .cs-details-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .05) 49%, transparent 68%);
    opacity: 0;
    transform: translate3d(-125%, 0, 0);
    pointer-events: none;
}
.container .sidebar-right .castle-owner-widget a:focus-visible { outline: 2px solid #f1b9b3; outline-offset: 3px; }
.container .sidebar-right .castle-owner-widget .cs-details-btn:hover,
.container .sidebar-right .castle-owner-widget .cs-details-btn:focus-visible {
    background: linear-gradient(180deg, #ea9990, #e6877c 48%, #e37569);
    box-shadow: inset 0 1px rgba(255, 241, 232, .8), 0 4px 12px rgba(255, 99, 72, .18);
    color: #fff5ee;
    filter: none;
    transform: none;
}
@media (hover: hover) and (pointer: fine) {
    .container .sidebar-right .castle-owner-widget .cs-details-btn:hover { transform: translateY(-1px); }
}
.container .sidebar-right .castle-owner-widget .cs-details-btn:active {
    background: linear-gradient(180deg, #db5142, #e27367);
    box-shadow: inset 0 2px 4px rgba(82, 23, 20, .18);
    transform: none;
}
@media (prefers-reduced-motion: no-preference) {
    .container .sidebar-right .castle-owner-widget .cs-details-btn:focus-visible::before { animation: omegaNavSheen .65s ease-out both; }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
    .container .sidebar-right .castle-owner-widget .cs-details-btn:hover::before { animation: omegaNavSheen .65s ease-out both; }
}
@media (prefers-reduced-motion: reduce) {
    .container .sidebar-right .castle-owner-widget .cs-value a,
    .container .sidebar-right .castle-owner-widget .cs-details-btn { transition: none !important; transform: none !important; }
    .container .sidebar-right .castle-owner-widget .cs-details-btn::before { animation: none !important; opacity: 0 !important; transform: none !important; }
}
/* END OMEGA CASTLE SIEGE STUDIO */

/* BEGIN OMEGA LEADERBOARDS STUDIO
 * Exact original Top Guerreros / Top Clanes modules; progressive CSS enhancement.
 * Scores, names, order, profile links, marks and tooltip content remain original.
 */
@supports selector(.sidebar-module:has(> h3 > .fa-medal)) {
.container .sidebar-module:has(> h3 > :is(.fa-medal,.fa-shield-alt)) {
    box-sizing: border-box;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
    padding: 18px 16px 16px;
    border: 1px solid rgba(255, 99, 72, .19);
    border-radius: 18px;
    background: radial-gradient(ellipse at 0 0, rgba(255, 99, 72, .075), transparent 45%), linear-gradient(155deg, #1b1d26, #11141c 80%);
    box-shadow: inset 0 1px rgba(255, 241, 232, .045), 0 14px 34px rgba(0, 0, 0, .28);
    overflow: visible;
    scroll-margin-top: 116px;
    transform: none;
}
.container .sidebar-module:has(> h3 > :is(.fa-medal,.fa-shield-alt))::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 22px;
    right: 22px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 99, 72, .65), transparent);
    pointer-events: none;
}
.container .sidebar-module:has(> h3 > :is(.fa-medal,.fa-shield-alt)):hover {
    border-color: rgba(255, 99, 72, .19);
    box-shadow: inset 0 1px rgba(255, 241, 232, .045), 0 14px 34px rgba(0, 0, 0, .28);
    transform: none;
}
.container .sidebar-module:has(> h3 > :is(.fa-medal,.fa-shield-alt)) > h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 4px;
    padding: 0 0 14px;
    border: 0;
    border-bottom: 1px solid rgba(223, 226, 242, .09);
    color: #f2e5e3;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: .025em;
    text-shadow: none;
}
.container .sidebar-module:has(> h3 > :is(.fa-medal,.fa-shield-alt)) > h3::before,
.container .sidebar-module:has(> h3 > :is(.fa-medal,.fa-shield-alt)) > h3::after { content: none; }
.container .sidebar-module:has(> h3 > :is(.fa-medal,.fa-shield-alt)) > h3 > i {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 36px;
    width: 36px;
    height: 40px;
    margin: 0;
    border: 1px solid rgba(255, 99, 72, .26);
    border-radius: 11px;
    background: linear-gradient(145deg, rgba(255, 99, 72, .16), rgba(255, 99, 72, .035));
    box-shadow: inset 0 1px rgba(255, 196, 177, .07);
    color: #e68479;
    font-size: 16px;
    line-height: 1;
    text-shadow: none;
    filter: none;
}
.container .sidebar-module:has(> h3 > :is(.fa-medal,.fa-shield-alt)) > h3 [data-silver] {
    min-width: 0;
    font-size: inherit;
    font-weight: inherit;
    letter-spacing: inherit;
    color: inherit !important;
    -webkit-text-fill-color: currentColor !important;
    overflow-wrap: anywhere;
}
.container .sidebar-module:has(> h3 > :is(.fa-medal,.fa-shield-alt)) > .ranking-item {
    --omega-place-rgb: 151, 166, 190;
    --omega-place-ink: #e0e7f0;
    --omega-place-face: linear-gradient(160deg, #394152, #252d3b);
    box-sizing: border-box;
    position: relative;
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-items: center;
    align-content: center;
    gap: 1px 10px;
    min-width: 0;
    min-height: 64px;
    padding: 10px;
    border: 1px solid rgba(219, 225, 244, .08);
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(34, 36, 46, .95), rgba(24, 27, 36, .95));
    box-shadow: inset 0 1px rgba(255, 255, 255, .025);
    overflow: visible;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.container .sidebar-module:has(> h3 > :is(.fa-medal,.fa-shield-alt)) > .ranking-item > div { display: contents !important; }
.container .sidebar-module:has(> h3 > :is(.fa-medal,.fa-shield-alt)) .character-avatar-wrapper {
    box-sizing: border-box;
    position: relative;
    grid-column: 1;
    grid-row: 1 / span 2;
    display: block;
    width: 44px;
    height: 44px;
    margin: 0;
    border: 2px solid rgba(var(--omega-place-rgb), .45);
    border-radius: 12px;
    background: #10151e;
    box-shadow: 0 3px 8px rgba(0, 0, 0, .24);
    overflow: visible;
}
.container .sidebar-module:has(> h3 > :is(.fa-medal,.fa-shield-alt)) .avatar-tooltip-container { display: block; width: 100%; height: 100%; }
.container .sidebar-module:has(> h3 > :is(.fa-medal,.fa-shield-alt)) .rank-avatar { width: 100%; height: 100%; margin: 0; border-radius: 9px; object-fit: cover; }
.container .sidebar-module:has(> h3 > .fa-shield-alt) .rank-avatar { image-rendering: pixelated; }
.container .sidebar-module:has(> h3 > :is(.fa-medal,.fa-shield-alt)) .rank-index {
    box-sizing: border-box;
    top: -7px;
    left: -7px;
    width: 22px;
    height: 22px;
    border: 2px solid #1a1d26;
    border-radius: 7px;
    background: var(--omega-place-face);
    box-shadow: 0 3px 7px rgba(0, 0, 0, .35);
    color: var(--omega-place-ink);
    font-size: 10.5px;
    font-weight: 800;
    line-height: 1;
    text-shadow: none;
}
.container .sidebar-module:has(> h3 > :is(.fa-medal,.fa-shield-alt)) .rank-name {
    grid-column: 2;
    grid-row: 1;
    display: block;
    min-width: 0;
    margin: 0;
    color: #edf0f7;
    font-size: 12.5px;
    font-weight: 700;
    line-height: 1.5;
    white-space: normal;
    word-break: normal;
    overflow-wrap: break-word;
}
.container .sidebar-module:has(> h3 > :is(.fa-medal,.fa-shield-alt)) .rank-name a {
    box-sizing: border-box;
    display: block;
    min-width: 0;
    min-height: 24px;
    color: inherit;
    font-size: inherit;
    line-height: 1.5;
    text-decoration: none;
    text-shadow: none;
    white-space: normal;
    overflow-wrap: break-word;
}
.container .sidebar-module:has(> h3 > :is(.fa-medal,.fa-shield-alt)) .rank-name a:hover { color: #f1bab4; text-decoration: underline; text-underline-offset: 3px; text-shadow: none; }
.container .sidebar-module:has(> h3 > :is(.fa-medal,.fa-shield-alt)) .rank-value {
    grid-column: 2;
    grid-row: 2;
    display: block;
    min-width: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    color: #aeb8ca;
    font-size: 11.5px;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
    line-height: 1.5;
    white-space: normal;
    word-break: normal;
    overflow-wrap: anywhere;
}
.container .sidebar-module:has(> h3 > :is(.fa-medal,.fa-shield-alt)) .rank-value sup { position: static; top: auto; margin-left: 3px; font-size: 10px; font-weight: 400; line-height: inherit; vertical-align: baseline; color: #9faabf; }
.container .sidebar-module:has(> h3 > :is(.fa-medal,.fa-shield-alt)) > .ranking-item:nth-of-type(1) {
    --omega-place-rgb: 255, 128, 115;
    --omega-place-ink: #fff5ee;
    --omega-place-face: linear-gradient(160deg, #b52c36, #78202b);
    grid-template-columns: 48px minmax(0, 1fr);
    min-height: 80px;
    padding: 12px;
    border-color: rgba(255, 99, 72, .39);
    background: radial-gradient(ellipse at 100% 0, rgba(255, 99, 72, .15), transparent 75%), linear-gradient(135deg, #29252a, #1c1e27);
    box-shadow: inset 0 1px rgba(255, 196, 177, .08), 0 4px 12px rgba(0, 0, 0, .14);
}
.container .sidebar-module:has(> h3 > :is(.fa-medal,.fa-shield-alt)) > .ranking-item:nth-of-type(1) .character-avatar-wrapper { width: 48px; height: 48px; box-shadow: 0 0 12px rgba(255, 99, 72, .12); }
.container .sidebar-module:has(> h3 > :is(.fa-medal,.fa-shield-alt)) > .ranking-item:nth-of-type(1) .rank-index { width: 24px; height: 24px; font-size: 11px; }
.container .sidebar-module:has(> h3 > :is(.fa-medal,.fa-shield-alt)) > .ranking-item:nth-of-type(1) .rank-name { font-size: 13px; color: #f4e9e8; }
.container .sidebar-module:has(> h3 > :is(.fa-medal,.fa-shield-alt)) > .ranking-item:nth-of-type(1) .rank-value { color: #eda69e; font-size: 12px; font-weight: 600; }
.container .sidebar-module:has(> h3 > :is(.fa-medal,.fa-shield-alt)) > .ranking-item:nth-of-type(2) {
    --omega-place-rgb: 218, 141, 125;
    --omega-place-ink: #fff5ee;
    --omega-place-face: linear-gradient(160deg, #9f3e35, #642623);
}
.container .sidebar-module:has(> h3 > :is(.fa-medal,.fa-shield-alt)) > .ranking-item:nth-of-type(3) {
    --omega-place-rgb: 199, 119, 135;
    --omega-place-ink: #fff5ee;
    --omega-place-face: linear-gradient(160deg, #8e3046, #5e2033);
}
.container .sidebar-module:has(> h3 > :is(.fa-medal,.fa-shield-alt)) > .ranking-item:focus-within { border-color: rgba(255, 99, 72, .5); }
.container .sidebar-module:has(> h3 > :is(.fa-medal,.fa-shield-alt)) a:focus-visible { outline: 2px solid #f1b9b3; outline-offset: 3px; }
.container .sidebar-module:has(> h3 > :is(.fa-medal,.fa-shield-alt)) > .view-all-link {
    box-sizing: border-box;
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 44px;
    margin: 4px 0 0;
    padding: 10px 8px;
    border: 1px solid rgba(255, 99, 72, .23);
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(255, 99, 72, .085), rgba(255, 99, 72, .025));
    color: #eca59d;
    font-size: 10.5px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: .025em;
    text-align: center;
    text-decoration: none;
    overflow: hidden;
    transform: none;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.container .sidebar-module:has(> h3 > :is(.fa-medal,.fa-shield-alt)) > .view-all-link > i { flex: 0 0 11px; font-size: 11px; line-height: 1; }
.container .sidebar-module:has(> h3 > :is(.fa-medal,.fa-shield-alt)) > .view-all-link::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .1) 49%, transparent 68%); opacity: 0; transform: translate3d(-125%, 0, 0); pointer-events: none; }
.container .sidebar-module:has(> h3 > :is(.fa-medal,.fa-shield-alt)) > .view-all-link:hover,
.container .sidebar-module:has(> h3 > :is(.fa-medal,.fa-shield-alt)) > .view-all-link:focus-visible { border-color: rgba(255, 99, 72, .5); background: rgba(255, 99, 72, .1); color: #e9d4d2; transform: none; box-shadow: 0 3px 10px rgba(0, 0, 0, .14); }
@media (hover: hover) and (pointer: fine) {
    .container .sidebar-module:has(> h3 > :is(.fa-medal,.fa-shield-alt)) > .ranking-item:hover { border-color: rgba(var(--omega-place-rgb), .4); }
    .container .sidebar-module:has(> h3 > :is(.fa-medal,.fa-shield-alt)) > .view-all-link:hover { transform: translateY(-1px); }
}
.container .sidebar-module:has(> h3 > :is(.fa-medal,.fa-shield-alt)) > .view-all-link:active { transform: none; background: rgba(255, 99, 72, .14); }
@media (prefers-reduced-motion: no-preference) {
    .container .sidebar-module:has(> h3 > :is(.fa-medal,.fa-shield-alt)) > .view-all-link:focus-visible::before { animation: omegaNavSheen .65s ease-out both; }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
    .container .sidebar-module:has(> h3 > :is(.fa-medal,.fa-shield-alt)) > .view-all-link:hover::before { animation: omegaNavSheen .65s ease-out both; }
}
@media (prefers-reduced-motion: reduce) {
    .container .sidebar-module:has(> h3 > :is(.fa-medal,.fa-shield-alt)) > .ranking-item,
    .container .sidebar-module:has(> h3 > :is(.fa-medal,.fa-shield-alt)) > .view-all-link { transition: none !important; transform: none !important; }
    .container .sidebar-module:has(> h3 > :is(.fa-medal,.fa-shield-alt)) > .view-all-link::before { animation: none !important; opacity: 0 !important; transform: none !important; }
}
}
/* END OMEGA LEADERBOARDS STUDIO */


/* BEGIN OMEGA COMMUNITY STUDIO
 * Four original networks presented as exclusive horizontal cards; no new routes.
 */
.container .social-widgets-module {
    box-sizing: border-box;
    position: relative;
    min-width: 0;
    padding: 18px 16px 16px;
    border: 1px solid rgba(255, 99, 72, .24);
    border-radius: 18px;
    background: radial-gradient(ellipse at 100% 0, rgba(255, 99, 72, .06), transparent 42%), linear-gradient(155deg, #1b1d26, #11141c 80%);
    box-shadow: inset 0 1px rgba(255, 241, 232, .045), 0 14px 34px rgba(0, 0, 0, .28);
    scroll-margin-top: 116px;
    overflow: visible;
    transform: none;
}
.container .social-widgets-module::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 22px;
    right: 22px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 99, 72, .65), transparent);
    pointer-events: none;
}
.container .social-widgets-module:hover {
    border-color: rgba(255, 99, 72, .19);
    box-shadow: inset 0 1px rgba(255, 241, 232, .045), 0 14px 34px rgba(0, 0, 0, .28);
    transform: none;
}
.container .social-widgets-module > h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 14px;
    padding: 0 0 14px;
    border: 0;
    border-bottom: 1px solid rgba(223, 226, 242, .09);
    color: #f2e5e3;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: .035em;
    text-shadow: none;
}
.container .social-widgets-module > h3::before,
.container .social-widgets-module > h3::after { content: none; }
.container .social-widgets-module > h3 > i {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 36px;
    width: 36px;
    height: 40px;
    margin: 0;
    border: 1px solid rgba(255, 99, 72, .26);
    border-radius: 11px;
    background: linear-gradient(145deg, rgba(255, 99, 72, .16), rgba(255, 99, 72, .035));
    box-shadow: inset 0 1px rgba(255, 196, 177, .07);
    color: #e68479;
    font-size: 16px;
    line-height: 1;
    text-shadow: none;
    filter: none;
}
.container .social-widgets-module > h3 [data-silver] {
    min-width: 0;
    font-size: inherit;
    font-weight: inherit;
    letter-spacing: inherit;
    color: inherit !important;
    -webkit-text-fill-color: currentColor !important;
    overflow-wrap: anywhere;
}
.container .social-widgets-module .social-widgets-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: stretch;
    gap: 10px;
    min-width: 0;
}
.container .social-widgets-module .social-widget {
    --omega-social-rgb: 152, 160, 255;
    box-sizing: border-box;
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) 8px;
    align-items: center;
    column-gap: 10px;
    width: 100%;
    min-width: 0;
    min-height: 76px;
    padding: 12px;
    border: 1px solid transparent;
    border-radius: 12px;
    background: radial-gradient(ellipse at 0 50%, rgba(var(--omega-social-rgb), .09), transparent 75%) padding-box, linear-gradient(115deg, #232632, #141923) padding-box, linear-gradient(125deg, rgba(255, 255, 255, .18), rgba(var(--omega-social-rgb), .34) 45%, rgba(255, 255, 255, .045) 85%) border-box;
    box-shadow: inset 0 1px rgba(255, 255, 255, .055), 0 4px 11px rgba(0, 0, 0, .18);
    color: #eef0f6;
    text-decoration: none;
    text-align: left;
    overflow: hidden;
    transform: none;
    transition: box-shadow .25s ease, transform .25s cubic-bezier(.2, .8, .2, 1);
}
.container .social-widgets-module .social-widget.discord { --omega-social-rgb: 152, 160, 255; }
.container .social-widgets-module .social-widget.facebook { --omega-social-rgb: 101, 165, 255; }
.container .social-widgets-module .social-widget.whatsapp { --omega-social-rgb: 65, 220, 131; }
.container .social-widgets-module .social-widget.youtube { --omega-social-rgb: 255, 102, 102; }
.container .social-widgets-module .social-widget::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    width: auto;
    height: auto;
    border-radius: inherit;
    background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .2) 49%, transparent 68%);
    opacity: 0;
    transform: translate3d(-125%, 0, 0);
    transition: none;
    pointer-events: none;
}
.container .social-widgets-module .social-widget::after {
    content: "";
    box-sizing: border-box;
    grid-column: 3;
    grid-row: 1;
    align-self: center;
    justify-self: center;
    position: relative;
    display: block;
    inset: auto;
    z-index: 0;
    width: 6px;
    height: 6px;
    border: 0;
    border-top: 1.5px solid #93a0b5;
    border-right: 1.5px solid #93a0b5;
    border-radius: 0;
    background: none;
    box-shadow: none;
    transform: rotate(45deg);
    transition: border-color .2s ease, transform .25s ease;
    pointer-events: none;
}
.container .social-widgets-module .social-widget > i {
    box-sizing: border-box;
    grid-column: 1;
    grid-row: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    margin: 0;
    border: 1px solid transparent;
    border-radius: 50%;
    background: linear-gradient(145deg, rgba(var(--omega-social-rgb), .17), rgba(var(--omega-social-rgb), .035)) padding-box, linear-gradient(140deg, rgba(var(--omega-social-rgb), .6), rgba(255, 255, 255, .08) 80%) border-box;
    box-shadow: inset 0 1px rgba(255, 255, 255, .13), inset 0 0 0 3px rgba(10, 14, 23, .2), 0 3px 8px rgba(0, 0, 0, .2);
    color: rgb(var(--omega-social-rgb));
    font-size: 25px;
    line-height: 1;
    text-shadow: none;
    transform: none;
    transition: transform .25s ease, box-shadow .25s ease;
}
.container .social-widgets-module .social-widget > span {
    grid-column: 2;
    grid-row: 1;
    display: block;
    min-width: 0;
    max-width: 100%;
    color: #eef0f6;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: .025em;
    text-transform: uppercase;
    text-shadow: none;
    white-space: normal;
    overflow-wrap: break-word;
}
.container .social-widgets-module .social-widget:hover,
.container .social-widgets-module .social-widget:focus-visible {
    border-color: transparent;
    background: radial-gradient(ellipse at 0 50%, rgba(var(--omega-social-rgb), .17), transparent 80%) padding-box, linear-gradient(115deg, #292d3b, #191e2a) padding-box, linear-gradient(125deg, rgba(255, 255, 255, .26), rgba(var(--omega-social-rgb), .72) 45%, rgba(var(--omega-social-rgb), .12) 85%) border-box;
    box-shadow: inset 0 1px rgba(255, 255, 255, .08), 0 9px 22px rgba(0, 0, 0, .25), 0 0 18px rgba(var(--omega-social-rgb), .09);
    color: #fff;
    transform: none;
    text-decoration: none;
}
.container .social-widgets-module .social-widget:hover > i,
.container .social-widgets-module .social-widget:focus-visible > i {
    color: rgb(var(--omega-social-rgb));
    box-shadow: inset 0 1px rgba(255, 255, 255, .18), inset 0 0 0 3px rgba(10, 14, 23, .12), 0 0 12px rgba(var(--omega-social-rgb), .16);
}
.container .social-widgets-module .social-widget:hover > span,
.container .social-widgets-module .social-widget:focus-visible > span { color: #fff; }
.container .social-widgets-module .social-widget:hover::after,
.container .social-widgets-module .social-widget:focus-visible::after { border-color: rgb(var(--omega-social-rgb)); }
.container .social-widgets-module .social-widget:focus-visible { outline: 2px solid rgb(var(--omega-social-rgb)); outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) {
    .container .social-widgets-module .social-widget:hover { transform: translateY(-2px); }
    .container .social-widgets-module .social-widget:hover > i { transform: translateY(-1px) scale(1.035); }
    .container .social-widgets-module .social-widget:hover::after { transform: translateX(2px) rotate(45deg); }
}
.container .social-widgets-module .social-widget:active { transform: translateY(0) scale(.992); box-shadow: inset 0 2px 6px rgba(0, 0, 0, .3); transition-duration: .08s; }
@media (prefers-reduced-motion: no-preference) {
    .container .social-widgets-module .social-widget:focus-visible::before { animation: omegaNavSheen .8s ease-out both; }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
    .container .social-widgets-module .social-widget:hover::before { animation: omegaNavSheen .8s ease-out both; }
}
@media (prefers-reduced-motion: reduce) {
    .container .social-widgets-module .social-widget,
    .container .social-widgets-module .social-widget > i { transition: none !important; transform: none !important; }
    .container .social-widgets-module .social-widget::before { animation: none !important; opacity: 0 !important; transform: none !important; }
    .container .social-widgets-module .social-widget::after { transition: none !important; transform: rotate(45deg) !important; }
}
/* END OMEGA COMMUNITY STUDIO */

/* BEGIN OMEGA LAVA LEGACY PAINT */
body .vs-btn.gradient-btn { border-color: rgba(255, 99, 72, 0.3); }
body .vs-btn.gradient-btn::before { background: linear-gradient(90deg, transparent, rgba(255, 99, 72, 0.2), transparent); }
body .vs-btn.gradient-btn:hover { border-color: #d44737; box-shadow: 0 8px 32px rgba(0, 0, 0, 0.7), 0 0 20px rgba(255, 99, 72, 0.4); }
body .deidadcredits { border-color: rgba(255, 99, 72, 0.3); }
body .deidadcredits i { color: #d44737; }
body .deidadcredits span { color: #d44737; text-shadow: 0 2px 8px rgba(255, 99, 72, 0.5); }
body .shopfilter a:hover { border-color: rgba(255, 99, 72, 0.5); box-shadow: 0 8px 24px rgba(255, 99, 72, 0.3); }
body .shopfilter a:hover img { filter: brightness(1.3) drop-shadow(0 0 12px rgba(255, 99, 72, 0.6)); }
body .vs-btn-filter.gradient-btn { border-color: rgba(255, 99, 72, 0.3); }
body .vs-btn-filter.gradient-btn::before { background: linear-gradient(90deg, transparent, rgba(255, 99, 72, 0.2), transparent); }
body .vs-btn-filter.gradient-btn:hover { border-color: #d44737; box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6), 0 0 20px rgba(255, 99, 72, 0.4); }
body .vs-btn-filter.gradient-btn:hover img { filter: brightness(1.3) drop-shadow(0 0 8px rgba(255, 99, 72, 0.6)); }
body .setshop .panel:hover { border-color: rgba(255, 99, 72, 0.4); box-shadow: 0 8px 32px rgba(0, 0, 0, 0.7), 0 0 20px rgba(255, 99, 72, 0.3); }
body .setshop .panel-heading { border-bottom-color: rgba(255, 99, 72, 0.3); color: #d44737; text-shadow: 0 2px 8px rgba(255, 99, 72, 0.3); }
body .setshop .panel-body video { box-shadow: 0 0 20px rgba(255, 99, 72, 0.4); }
body .setshop .panel:hover .panel-body video { box-shadow: 0 0 30px rgba(255, 99, 72, 0.6); }
body .setshop .exc { color: #d44737; text-shadow: 0 2px 4px rgba(255, 99, 72, 0.4); }
body .price i { color: #d44737; }
body .price span { color: #d44737; text-shadow: 0 2px 8px rgba(255, 99, 72, 0.5); }
body .setshop button.vs-btn { border-color: rgba(255, 99, 72, 0.3); }
body .setshop button.vs-btn::before { background: linear-gradient(90deg, transparent, rgba(255, 99, 72, 0.2), transparent); }
body .setshop button.vs-btn:hover { background: linear-gradient(135deg, #d44737 0%, #df6254 100%); border-color: #d44737; box-shadow: 0 8px 32px rgba(0, 0, 0, 0.7), 0 0 20px rgba(255, 99, 72, 0.6); }
body ::selection { background: #d44737; }
body ::-moz-selection { background: #d44737; }
body .sell-char-table thead th { color: #d44737 !important; border-bottom-color: rgba(255, 99, 72, 0.3) !important; }
body .sell-char-table tbody tr:hover { background: rgba(255, 99, 72, 0.05) !important; }
body .imgfixcharacters img { border-color: #d44737 !important; box-shadow: 0 0 10px rgba(255, 99, 72, 0.3) !important; }
body .sell-char-table tr:hover .imgfixcharacters img { box-shadow: 0 0 15px rgba(255, 99, 72, 0.5) !important; }
body .shop-input { color: #d44737 !important; }
body .shop-input:focus { border-color: #d44737 !important; box-shadow: 0 0 10px rgba(255, 99, 72, 0.2) !important; }
body .vs-btn.gradient-btn-small { border-color: rgba(255, 99, 72, 0.3) !important; }
body .vs-btn.gradient-btn-small:hover { background: linear-gradient(135deg, #d44737 0%, #df6254 100%) !important; border-color: #d44737 !important; box-shadow: 0 4px 12px rgba(255, 99, 72, 0.4) !important; }
body .nft-card:hover { border-color: rgba(255, 99, 72, 0.5); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8), 0 0 25px rgba(255, 99, 72, 0.3); }
body .nft-background-glow { background: radial-gradient(circle, rgba(255, 99, 72, 0.05) 0%, transparent 70%); }
body .nft-header h2 { color: #d63a29; text-shadow: 0 2px 10px rgba(255, 99, 72, 0.4); }
body .nft-stats-table td:last-child { color: #d44737; }
body .price-tag i { color: #d44737; }
body .price-tag span { text-shadow: 0 0 10px rgba(255, 99, 72, 0.5); }
body .price-tag .currency-label { color: #d44737; }
body .sell-char-notes strong { color: #d44737; border-bottom-color: rgba(255, 99, 72, 0.3); }
body .rankings-class-filter-selection:hover { color: #d44737; }
body .rankings-class-filter-selection:hover .char-rankings-class-filter-image { border-color: #d44737; box-shadow: 0 0 15px rgba(255, 99, 72, 0.4); }
body .form-control-sm:focus { box-shadow: 0 0 8px rgba(255, 99, 72, 0.25) !important; }
body .topmoney-module h3 i { box-shadow: inset 0 0 5px rgba(255, 99, 72, 0.15); }
body .topmoney-module:hover h3 i { background: rgba(255, 99, 72, 0.18); box-shadow: 0 0 8px rgba(255, 99, 72, 0.3), inset 0 0 5px rgba(255, 99, 72, 0.2); }
body .topmoney-page-header { border-color: rgba(255, 99, 72, 0.12); }
body main table.table.topmoney-table a:hover { text-shadow: 0 0 5px rgba(255, 99, 72, 0.4); }
body main table.table.topmoney-table tr.topmoney-podium-3 .topmoney-col-pos { color: #e47b6f !important; }
body .topmoney-privacy { border-color: rgba(255, 99, 72, 0.12); }
body .topmoney-privacy-option:hover { border-color: rgba(255, 99, 72, 0.45); }
body .item-serial { color: #f0e2e0 !important; }
body .item-info { color: #f0e2e0 !important; }
body .item-class-req { color: #f0e2e0 !important; }
body .item-opt-harmony { color: #d63a29 !important; }
body .item-opt-socket { color: #100403 !important; }
body nav > ul > li > a:hover { background: rgba(255, 99, 72, 0.2); }
body nav > ul > li > a.active { box-shadow: 0 0 15px rgba(255, 99, 72, 0.45) !important; }
body .language-selector .dropdown-toggle:hover { background: rgba(255, 99, 72, 0.2); }
body .info-card.yellow .value,
body .info-card.yellow h4 { color: #721f16; }
body .sidebar-module { border-color: rgba(255, 99, 72, 0.12); }
body .sidebar-module:hover { box-shadow: 0 20px 45px rgba(0, 0, 0, 0.7), 0 0 15px rgba(255, 99, 72, 0.1), inset 0 1px 1px rgba(255, 255, 255, 0.1); border-color: rgba(255, 99, 72, 0.35); }
body .sidebar-module h3 { border-bottom-color: rgba(255, 99, 72, 0.15); }
body .sidebar-module h3::after { background: linear-gradient(to right, var(--accent-orange) 0%, rgba(255, 99, 72, 0.3) 50%, transparent 100%); box-shadow: 0 0 8px rgba(255, 99, 72, 0.4); }
body .sidebar-module h3 i { background: rgba(255, 99, 72, 0.08); border-color: rgba(255, 99, 72, 0.35); box-shadow: inset 0 0 5px rgba(255, 99, 72, 0.1); }
body .sidebar-module:hover h3 i { background: rgba(255, 99, 72, 0.15); box-shadow: 0 0 8px rgba(255, 99, 72, 0.25), inset 0 0 5px rgba(255, 99, 72, 0.15); }
body .input-group input:focus { box-shadow: 0 0 0 4px rgba(255, 99, 72, 0.1); }
body .rank-name a:hover { text-shadow: 0 0 8px rgba(255, 99, 72, 0.4); }
body .rankings-table a:hover { text-shadow: 0 0 5px rgba(255, 99, 72, 0.4); }
body .player-name a:hover { text-shadow: 0 0 10px rgba(255, 99, 72, 0.5); }
body .cs-module { border-color: rgba(255, 99, 72, 0.2); box-shadow: 0 0 20px rgba(255, 99, 72, 0.05); }
body .cs-label { color: #d63a29; }
body .social-widget.discord i { color: #5865f2; }
body .social-widget.discord:hover { background: #5865f2; }
body .social-widget.facebook i { color: #1877f2; }
body .social-widget.facebook:hover { background: #1877f2; }
body .social-widget.whatsapp i { color: #25d366; }
body .social-widget.whatsapp:hover { background: #25d366; }
body .social-widget.youtube i { color: #ff0000; }
body .social-widget.youtube:hover { background: #ff0000; }
body .stat-capsule:hover { box-shadow: 0 0 15px rgba(255, 99, 72, 0.2); }
body .loader-circle { border-top-color: #d94838; box-shadow: 0 0 15px rgba(255, 99, 72, 0.2); }
body .loader-circle::before { border-left-color: #d94838; }
body .btn-orange { background: #d63a29; box-shadow: 0 5px 20px rgba(255, 99, 72, 0.3); }
body .btn-orange:hover { box-shadow: 0 10px 30px rgba(255, 99, 72, 0.5); background: #d63a29; }
body .article-thumb { background: linear-gradient(90deg, rgba(255, 99, 72, 0.8) 0%, rgba(21, 21, 26, 0.9) 100%); }
body .btn-more { background: linear-gradient(135deg, rgba(255, 99, 72, 0.8) 0%, rgba(255, 99, 72, 0.8) 100%); border-color: rgba(255, 99, 72, 0.3); }
body .btn-more:hover { box-shadow: 0 8px 25px rgba(255, 99, 72, 0.25); background: linear-gradient(135deg, rgba(255, 99, 72, 1) 0%, rgba(255, 99, 72, 1) 100%); }
body .rankings-menu a:hover,
body .rankings_menu a:hover { background: rgba(255, 99, 72, 0.15); border-color: rgba(255, 99, 72, 0.3); }
body .rankings-menu a.active,
body .rankings_menu a.active { box-shadow: 0 0 15px rgba(255, 99, 72, 0.45) !important; }
body .rankings-table tr:not(:first-child):hover td,
body .dataTable tbody tr:hover td,
body .general-rank tbody tr:hover td,
body main table.table tbody tr:hover td { border-color: rgba(255, 99, 72, 0.15) !important; }
body .rankings-class-filter-selection:hover { background: rgba(255, 99, 72, 0.1); }
body .btn-download:hover { box-shadow: 0 0 15px rgba(255, 99, 72, 0.4); }
body .rankings-class-filter-selection:hover .rankings-class-filter-image { box-shadow: 0 0 15px rgba(255, 99, 72, 0.3); }
body .page-title::after { box-shadow: 0 0 10px rgba(255, 99, 72, 0.5); }
body main { border-top-color: rgba(255, 99, 72, 0.55); }
body .dataTables_wrapper .dataTables_paginate .paginate_button:hover { background: rgba(255, 99, 72, 0.2) !important; }
body .dataTables_wrapper .dataTables_paginate .paginate_button.current,
body .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover { box-shadow: 0 0 10px rgba(255, 99, 72, 0.3); }
body .news-item-title a:hover { text-shadow: 0 0 10px rgba(255, 99, 72, 0.3); }
body .news-readmore { background: rgba(255, 99, 72, 0.1); }
body .news-readmore:hover { box-shadow: 0 0 15px rgba(255, 99, 72, 0.4); }
body .usercp-table tr:first-child td { background: rgba(255, 99, 72, 0.1); }
body .btn-action:hover { box-shadow: 0 0 15px rgba(255, 99, 72, 0.4); }
body .usercp-character-card:hover .usercp-character-img { box-shadow: 0 0 10px rgba(255, 99, 72, 0.3); }
body .usercp-input:focus { box-shadow: 0 0 0 2px rgba(255, 99, 72, 0.1) !important; }
body .addstats-avatar img { box-shadow: 0 0 20px rgba(255, 99, 72, 0.3); }
body .social-widget-long.discord::before { background: #5865f2; }
body .social-widget-long.discord .sw-icon { color: #5865f2; }
body .social-widget-long.discord:hover .sw-icon { background: #5865f2; }
body .social-widget-long.discord:hover .sw-title,
body .social-widget-long.discord:hover .sw-arrow { color: #5865f2; }
body .social-widget-long.facebook::before { background: #1877f2; }
body .social-widget-long.facebook .sw-icon { color: #1877f2; }
body .social-widget-long.facebook:hover .sw-icon { background: #1877f2; }
body .social-widget-long.facebook:hover .sw-title,
body .social-widget-long.facebook:hover .sw-arrow { color: #1877f2; }
body .social-widget-long.whatsapp::before { background: #25d366; }
body .social-widget-long.whatsapp .sw-icon { color: #25d366; }
body .social-widget-long.whatsapp:hover .sw-icon { background: #25d366; }
body .social-widget-long.whatsapp:hover .sw-title,
body .social-widget-long.whatsapp:hover .sw-arrow { color: #25d366; }
body .social-widget-long.youtube::before { background: #ff0000; }
body .social-widget-long.youtube .sw-icon { color: #ff0000; }
body .social-widget-long.youtube:hover .sw-icon { background: #ff0000; }
body .social-widget-long.youtube:hover .sw-title,
body .social-widget-long.youtube:hover .sw-arrow { color: #ff0000; }
body .ki-killer a:hover { text-shadow: 0 0 10px rgba(255, 99, 72, 0.5); }
body .castle-owner-widget { border-color: rgba(255, 99, 72, 0.1) !important; }
body .castle-owner-widget h3 i { color: #d63a29; filter: drop-shadow(0 0 5px rgba(255, 99, 72, 0.3)); }
body .cs-guild-name { text-shadow: 0 0 10px rgba(255, 99, 72, 0.3); }
body .cs-status-divider { background: linear-gradient(to right, transparent, rgba(255, 99, 72, 0.2), transparent); }
body .highlight { text-shadow: 0 0 10px rgba(255, 99, 72, 0.3); }
body .cs-details-btn { background: linear-gradient(135deg, var(--accent-orange) 0%, #d84130 100%); box-shadow: 0 4px 15px rgba(255, 99, 72, 0.3); }
body .cs-details-btn:hover { box-shadow: 0 6px 20px rgba(255, 99, 72, 0.5); }
body .tab-btn:hover { background-color: rgba(255, 99, 72, 0.1); border-color: rgba(255, 99, 72, 0.3); }
body .tab-btn.active { background: linear-gradient(135deg, rgba(255, 99, 72, 0.2) 0%, rgba(255, 99, 72, 0.1) 100%); box-shadow: 0 4px 15px rgba(255, 99, 72, 0.2); }
body .tab-btn.active img.ranking-tab-icon { filter: drop-shadow(0 0 5px rgba(255, 99, 72, 0.5)) brightness(1); }
body .tab-btn.active i { filter: drop-shadow(0 0 5px rgba(255, 99, 72, 0.3)); }
body .ontime { color: #d7402f; text-shadow: 0 0 10px rgba(255, 99, 72, 0.3); }
body .events-widget-content::-webkit-scrollbar-thumb { background: rgba(255, 99, 72, 0.3); }
body .countdown-item { border-color: rgba(255, 99, 72, 0.3); }
body .countdown-item:hover { box-shadow: 0 0 15px rgba(255, 99, 72, 0.2); }
body .countdown-item span { text-shadow: 0 0 10px rgba(255, 99, 72, 0.5); }
body [data-gold] { color: #ae463a; }
@supports (background-clip:text) or (-webkit-background-clip:text) {
body [data-gold] { background-image: -webkit-linear-gradient(left, transparent 0%, transparent 45%, white 50%, transparent 55%, transparent 100%), -webkit-linear-gradient(left, #c75548, #cf5547 9.4%, #cf5648 9.4%, #b4483c 33.6%, #af463a 35.7%, #af463a 46.9%, #b2473b 51.7%, #b2473c 52.1%, #c4584c 64.6%, #c95c50 68.5%, #ce6054 73.2%, #ea9b92) !important; background-image: linear-gradient(to right, transparent 0%, transparent 45%, white 50%, transparent 55%, transparent 100%), linear-gradient(90deg, #c75548, #cf5547 9.4%, #cf5648 9.4%, #b4483c 33.6%, #af463a 35.7%, #af463a 46.9%, #b2473b 51.7%, #b2473c 52.1%, #c4584c 64.6%, #c95c50 68.5%, #ce6054 73.2%, #ea9b92) !important; }
}
body [data-gold]:before { color: #efb1aa; }
body .rankings-class-image:hover { border-color: rgba(255, 99, 72, 0.5) !important; box-shadow: 0 0 10px rgba(255, 99, 72, 0.3) !important; }
body .module-icon { background: rgba(255, 99, 72,.08); border-color: rgba(255, 99, 72,.35); color: #d63a29; }
body .info-card:hover { border-color: #d63a29; }
body .info-left i { color: #d63a29; }
body .info-right small { color: #d63a29; }
body .badge.gold { background: linear-gradient(135deg,#d63a29,#d63a29); }
body .status-fill { background: linear-gradient(90deg,#d63a29,#d63a29); }
body .omega-footer { background: radial-gradient(
            circle at 50% 0%,
            rgba(255, 99, 72, 0.09),
            transparent 45%
        ),
        linear-gradient(
            180deg,
            #0b0b0f 0%,
            #07070a 100%
        ); border-top-color: rgba(255, 99, 72, 0.12); }
body .omega-footer-glow { background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 99, 72, 0.95),
        transparent
    ); box-shadow: 0 0 15px rgba(255, 99, 72, 0.7),
        0 0 35px rgba(255, 99, 72, 0.3); }
body .omega-footer::before { background: radial-gradient(
        circle,
        rgba(255, 99, 72, 0.06),
        transparent 70%
    ); }
body .omega-footer-logo img { filter: drop-shadow(0 3px 3px rgba(0,0,0,1))
        drop-shadow(0 8px 20px rgba(0,0,0,.95))
        drop-shadow(0 0 18px rgba(255, 99, 72,.18)); }
body .omega-footer-logo img:hover { filter: drop-shadow(0 3px 3px rgba(0,0,0,1))
        drop-shadow(0 10px 25px rgba(0,0,0,1))
        drop-shadow(0 0 28px rgba(255, 99, 72,.35)); }
body .omega-footer-column h4::after { background: #d63a29; box-shadow: 0 0 8px rgba(255, 99, 72,.5); }
body .omega-footer-column a span { color: #d63a29; }
body .omega-footer-column a:hover span { text-shadow: 0 0 8px rgba(255, 99, 72,.7); }
body .omega-footer-server:hover { border-color: rgba(255, 99, 72,.2); box-shadow: inset 0 1px rgba(255,255,255,.05),
        0 15px 40px rgba(0,0,0,.4),
        0 0 25px rgba(255, 99, 72,.04); }
body .omega-server-icon { background: linear-gradient(
            145deg,
            #db5344,
            #9b2a1d
        ); box-shadow: 0 5px 15px rgba(255, 99, 72,.2); }
body .omega-footer-credit a:hover { color: #d63a29; }
body #info-module-container h3.page-info { border-bottom-color: rgba(255, 99, 72, 0.15) !important; }
body #info-module-container .table tr td.bg-dark { background: linear-gradient(90deg, rgba(255, 99, 72, 0.25) 0%, rgba(21, 21, 26, 0.8) 100%) !important; }
body #info-module-container .progress-bar.bg-dark { background: linear-gradient(90deg, #a52d20, #d94838) !important; }
body #info-module-container .progress-bar.bg-warning { background: linear-gradient(90deg, #d7402f, #e7887e) !important; }
body #info-module-container .text-success { text-shadow: 0 0 5px rgba(255, 99, 72, 0.2); }
body #info-module-container .text-warning { color: #d7402f !important; }
body .omega-download-hero { background: radial-gradient(
            circle at 0% 50%,
            rgba(255, 99, 72, .12),
            transparent 38%
        ),
        linear-gradient(
            135deg,
            #17171c 0%,
            #101014 55%,
            #0c0c10 100%
        ); }
body .omega-download-hero:before { background: #d63a29; box-shadow: 0 0 10px rgba(255, 99, 72, .8),
        0 0 24px rgba(255, 99, 72, .35); }
body .omega-download-hero:after { background: rgba(255, 99, 72, .07); }
body .omega-download-hero-icon { background: linear-gradient(
            145deg,
            rgba(255, 99, 72, .14),
            rgba(255, 99, 72, .04)
        ); border-color: rgba(255, 99, 72, .35); color: #d63a29; box-shadow: inset 0 1px rgba(255, 255, 255, .05),
        0 0 20px rgba(255, 99, 72, .08); }
body .omega-eyebrow { color: #d63a29; }
body .omega-client-card { background: radial-gradient(
            circle at 0% 50%,
            rgba(255, 99, 72, .035),
            transparent 35%
        ),
        linear-gradient(
            135deg,
            #17171c 0%,
            #121217 52%,
            #0f0f13 100%
        ); }
body .omega-client-card:hover { border-color: rgba(255, 99, 72, .35); box-shadow: 0 13px 35px rgba(0, 0, 0, .30),
        0 0 24px rgba(255, 99, 72, .04); }
body .omega-client-card:before { background: linear-gradient(
            90deg,
            transparent,
            rgba(255, 99, 72, .55),
            transparent
        ); }
body .omega-card-glow { background: rgba(255, 99, 72, .06); }
body .omega-client-card.remastered { border-color: rgba(255, 99, 72, .27); background: radial-gradient(
            circle at 30% 0%,
            rgba(255, 99, 72, .12),
            transparent 45%
        ),
        linear-gradient(
            135deg,
            #1a1819 0%,
            #131216 50%,
            #0e0e12 100%
        ); box-shadow: inset 0 0 30px rgba(255, 99, 72, .025); }
body .omega-client-card.remastered:before { background: linear-gradient(
            90deg,
            transparent,
            #d63a29,
            transparent
        ); box-shadow: 0 0 12px rgba(255, 99, 72, .40); }
body .omega-platform-icon { background: linear-gradient(
            145deg,
            rgba(255, 99, 72, .13),
            rgba(255, 99, 72, .04)
        ); border-color: rgba(255, 99, 72, .27); color: #d63a29; }
body .omega-client-card.remastered .omega-platform-icon { border-color: rgba(255, 99, 72, .48); box-shadow: 0 0 18px rgba(255, 99, 72, .08),
        inset 0 1px rgba(255, 255, 255, .06); }
body .omega-card-badge { background: rgba(255, 99, 72, .09); border-color: rgba(255, 99, 72, .20); color: #db5344; }
body .omega-client-card.remastered .omega-card-badge { background: linear-gradient(
            135deg,
            rgba(255, 99, 72, .20),
            rgba(255, 99, 72, .10)
        ); border-color: rgba(255, 99, 72, .35); color: #df6355; box-shadow: 0 0 12px rgba(255, 99, 72, .07); }
body .omega-features i { color: #d63a29; }
body .omega-download-btn { background: linear-gradient(
            135deg,
            #d84231 0%,
            #bf3324 48%,
            #a82e20 100%
        ); box-shadow: 0 5px 16px rgba(255, 99, 72, .17),
        inset 0 1px rgba(255, 255, 255, .20); }
body .omega-download-btn:hover { box-shadow: 0 7px 22px rgba(255, 99, 72, .28),
        inset 0 1px rgba(255, 255, 255, .22); }
body .omega-help-icon { background: rgba(255, 99, 72, .075); border-color: rgba(255, 99, 72, .12); color: #d63a29; }
body .omega-section-title > i { background: rgba(255, 99, 72, .07); border-color: rgba(255, 99, 72, .15); color: #d63a29; }
body .omega-secondary-card:hover { border-color: rgba(255, 99, 72, .20); }
body .omega-secondary-action a { background: rgba(255, 99, 72, .07); border-color: rgba(255, 99, 72, .15); color: #d63a29 !important; }
body .omega-secondary-action a:hover { background: rgba(255, 99, 72, .13); border-color: rgba(255, 99, 72, .30); }
/* END OMEGA LAVA LEGACY PAINT */

/* BEGIN OMEGA LAVA COMPATIBILITY
 * Paint-only fallbacks for the original template and late-loaded module CSS.
 * Geometry, original assets, social brands, error and online states are retained.
 */
html:root {
    --topmoney-gold: var(--omega-accent-text);
    --topmoney-gold-soft: rgba(var(--omega-accent-rgb), .10);
    --topmoney-gold-border: rgba(var(--omega-accent-rgb), .45);
    --gradient-primary: var(--omega-button-face);
    --gradient-gold-button: var(--omega-button-face);
    --gold-color: var(--omega-accent-text);
    --shadow-gold-button: 0 4px 14px rgba(var(--omega-accent-rgb), .20);
}

/* Original animated gold text otherwise retains copper gradients and copies. */
body [data-gold] {
    background-image: none !important;
    color: inherit !important;
    -webkit-text-fill-color: currentColor !important;
    text-shadow: none;
    animation: none !important;
    -webkit-animation: none !important;
}
body [data-gold]::before,
body [data-gold]::after { opacity: 0 !important; text-shadow: none !important; }

body .btn-orange,
body .btn-download,
body .btn-more,
body .omega-download-btn {
    background: var(--omega-button-face);
    border-color: var(--omega-accent-strong);
    color: var(--omega-on-primary);
    box-shadow: inset 0 1px rgba(255, 255, 255, .12), 0 4px 14px rgba(var(--omega-accent-rgb), .18);
    text-shadow: none;
}
body .btn-orange:hover,
body .btn-download:hover,
body .btn-more:hover,
body .omega-download-btn:hover {
    background: var(--omega-button-hover);
    border-color: var(--omega-accent-primary);
    color: var(--omega-on-primary);
    box-shadow: inset 0 1px rgba(255, 255, 255, .14), 0 5px 16px rgba(var(--omega-accent-rgb), .22);
}
body .auth-card,
body .auth-wrapper .auth-card { border-color: rgba(var(--omega-accent-rgb), .18); }
body .auth-wrapper .input-group input:focus {
    border-color: var(--omega-accent-primary);
    box-shadow: 0 0 0 3px rgba(var(--omega-accent-rgb), .12);
}
body .auth-wrapper input[type="checkbox"] { accent-color: var(--omega-accent-strong); }

body .rankings-menu a:hover,
body .rankings_menu a:hover,
body .tab-btn:hover {
    background: rgba(var(--omega-accent-rgb), .12);
    border-color: rgba(var(--omega-accent-rgb), .38);
    color: var(--omega-accent-text);
}
body .rankings-menu a.active,
body .rankings_menu a.active,
body .tab-btn.active {
    background: var(--omega-button-face) !important;
    border-color: var(--omega-accent-strong) !important;
    color: var(--omega-on-primary) !important;
    box-shadow: 0 0 15px rgba(var(--omega-accent-rgb), .18) !important;
}
body .tab-btn.active > i { color: var(--omega-on-primary); filter: none; }
.container main .dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    background: rgba(var(--omega-accent-rgb), .16) !important;
    border-color: var(--omega-accent-primary) !important;
    color: var(--omega-on-primary) !important;
}
.container main .dataTables_wrapper .dataTables_paginate .paginate_button.current,
.container main .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
    background: var(--omega-button-face) !important;
    border-color: var(--omega-accent-strong) !important;
    color: var(--omega-on-primary) !important;
    box-shadow: 0 0 10px rgba(var(--omega-accent-rgb), .18);
}
body .page-title::after,
body .sidebar-module h3::after { background: linear-gradient(90deg, var(--omega-accent-primary), rgba(var(--omega-accent-rgb), .25), transparent); box-shadow: none; }
body .rank-name a:hover,
body .rankings-table a:hover { text-shadow: 0 0 6px rgba(var(--omega-accent-rgb), .22); }
body .loader-circle { box-shadow: 0 0 15px rgba(var(--omega-accent-rgb), .20); }

/* Top Money's stylesheet is also loaded from inside the original document. */
.container .topmoney-module h3 i {
    color: var(--omega-accent-text);
    background: rgba(var(--omega-accent-rgb), .10);
    border-color: rgba(var(--omega-accent-rgb), .35);
    box-shadow: inset 0 0 5px rgba(var(--omega-accent-rgb), .12);
}
.container .topmoney-module:hover h3 i {
    background: rgba(var(--omega-accent-rgb), .18);
    border-color: var(--omega-accent-primary);
    box-shadow: 0 0 8px rgba(var(--omega-accent-rgb), .22);
}
body .topmoney-page-header,
body .topmoney-privacy { border-color: rgba(var(--omega-accent-rgb), .18); }
body main table.table.topmoney-table a:hover { color: var(--omega-accent-text); text-shadow: 0 0 5px rgba(var(--omega-accent-rgb), .22); }
body main table.table.topmoney-table tr.topmoney-podium-1 .topmoney-col-pos { color: var(--omega-accent-text) !important; }
body main table.table.topmoney-table tr.topmoney-podium-3 .topmoney-col-pos { color: #d68d85 !important; }
body .topmoney-privacy-option:hover { border-color: rgba(var(--omega-accent-rgb), .45); }
body .topmoney-privacy-option input { accent-color: var(--omega-accent-strong); }
.container .events-module .ontime,
body .events-table .ontime { color: var(--omega-accent-text); text-shadow: 0 0 8px rgba(var(--omega-accent-rgb), .20); }

/* These footer declarations are repeated in a later inline <style> block. */
body .omega-footer {
    background: radial-gradient(circle at 50% 0, rgba(var(--omega-accent-rgb), .09), transparent 45%), linear-gradient(180deg, #0b0b0f, #07070a);
    border-top-color: rgba(var(--omega-accent-rgb), .16);
}
body .omega-footer-glow {
    background: linear-gradient(90deg, transparent, rgba(var(--omega-accent-rgb), .85), transparent);
    box-shadow: 0 0 15px rgba(var(--omega-accent-rgb), .45), 0 0 35px rgba(var(--omega-accent-rgb), .18);
}
body .omega-footer::before { background: radial-gradient(circle, rgba(var(--omega-accent-rgb), .06), transparent 70%); }
body .omega-footer-column h4::after { background: var(--omega-accent-primary); box-shadow: 0 0 8px rgba(var(--omega-accent-rgb), .35); }
body .omega-footer-column a span { color: var(--omega-accent-text); }
body .omega-footer-column a:hover span { text-shadow: 0 0 8px rgba(var(--omega-accent-rgb), .45); }
body .omega-footer-server:hover {
    border-color: rgba(var(--omega-accent-rgb), .28);
    background: rgba(var(--omega-accent-rgb), .04);
    box-shadow: 0 0 22px rgba(var(--omega-accent-rgb), .12);
}
body .omega-server-icon {
    background: linear-gradient(135deg, var(--omega-accent-strong), #8a2b21);
    color: var(--omega-on-primary);
    box-shadow: 0 0 15px rgba(var(--omega-accent-rgb), .18);
}
body .omega-footer-credit a:hover { color: var(--omega-accent-text); }

/* Gold literals in shop.css use important and do not inherit accent aliases. */
body .container :is(.vs-btn.gradient-btn,.vs-btn-filter.gradient-btn,.setshop button.vs-btn,.vs-btn.gradient-btn-small):not(.danger,.btn-danger) {
    background: var(--omega-button-face) !important;
    border-color: rgba(var(--omega-accent-rgb), .45) !important;
    color: var(--omega-on-primary) !important;
    box-shadow: 0 4px 14px rgba(var(--omega-accent-rgb), .15) !important;
}
body .container :is(.vs-btn.gradient-btn,.vs-btn-filter.gradient-btn,.setshop button.vs-btn,.vs-btn.gradient-btn-small):not(.danger,.btn-danger):hover {
    background: var(--omega-button-hover) !important;
    border-color: var(--omega-accent-primary) !important;
    color: var(--omega-on-primary) !important;
    box-shadow: 0 5px 16px rgba(var(--omega-accent-rgb), .22) !important;
}
body .container :is(.vs-btn.gradient-btn,.vs-btn-filter.gradient-btn,.setshop button.vs-btn,.vs-btn.gradient-btn-small):not(.danger,.btn-danger)::before {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .035), transparent);
}
body .sell-char-table thead th { color: var(--omega-accent-text) !important; border-bottom-color: rgba(var(--omega-accent-rgb), .30) !important; }
body .sell-char-table tbody tr:hover { background: rgba(var(--omega-accent-rgb), .05) !important; }
body .shop-input { color: var(--omega-accent-text) !important; }
body .shop-input:focus { border-color: var(--omega-accent-primary) !important; box-shadow: 0 0 10px rgba(var(--omega-accent-rgb), .20) !important; }
body .shopfilter a { border-color: rgba(var(--omega-accent-rgb), .30); }
body .shopfilter a:hover { border-color: rgba(var(--omega-accent-rgb), .50); box-shadow: 0 8px 24px rgba(var(--omega-accent-rgb), .22); }
body .setshop .panel:hover { border-color: rgba(var(--omega-accent-rgb), .4); box-shadow: 0 8px 24px rgba(var(--omega-accent-rgb), .12); }
body .price > i,
body .price > span,
body .price-tag > i,
body .categoria_shop > i { color: var(--omega-accent-text); text-shadow: none; }
body .categoria_shop:hover { border-color: rgba(var(--omega-accent-rgb), .35); box-shadow: 0 3px 12px rgba(var(--omega-accent-rgb), .12); }
body .categoria_shop.active { background: var(--omega-button-face); color: var(--omega-on-primary) !important; box-shadow: 0 4px 14px rgba(var(--omega-accent-rgb), .18); }
body .categoria_shop.active > i { color: var(--omega-on-primary); }
/* END OMEGA LAVA COMPATIBILITY */


/* BEGIN OMEGA LAVA CONTRAST
 * Filled lava-red surfaces use ice text; links and borders use lighter ember tones.
 */
nav > #nav-menu > li > a[href],
nav .language-selector > .dropdown-toggle {
    color: var(--omega-on-primary) !important;
    border-color: #eb725f !important;
}
nav > #nav-menu > li > a[href] > i,
nav .language-selector > .dropdown-toggle > .fa-chevron-down { color: var(--omega-on-primary); }
nav .menu-toggle { background: var(--omega-button-face); color: var(--omega-on-primary); border-color: #eb725f; }
.btn-more, .cs-details-btn, .omega-download-btn {
    background: var(--omega-button-face);
    color: var(--omega-on-primary);
}
.btn-more:hover, .cs-details-btn:hover, .omega-download-btn:hover { background: var(--omega-button-hover); color: var(--omega-on-primary); }
.container .sidebar-right .premium-server-info .info-right > .badge.gold,
.container .sidebar-right .castle-owner-widget .cs-details-btn {
    background: var(--omega-button-face);
    color: var(--omega-on-primary);
    border-color: #eb725f;
}
.container .sidebar-right .castle-owner-widget .cs-details-btn > i { color: var(--omega-on-primary); }
.container .sidebar-right .castle-owner-widget .cs-details-btn:hover,
.container .sidebar-right .castle-owner-widget .cs-details-btn:focus-visible {
    background: var(--omega-button-hover);
    color: var(--omega-on-primary);
}
.container .sidebar-right .castle-owner-widget .cs-details-btn:active { background: var(--omega-button-pressed); }
body :is(.rank-index,.rank-badge,.rank-card__badge) { background: var(--omega-button-face); color: var(--omega-on-primary); }
body :is(.info-card.blue,.info-card.yellow) { background: var(--omega-button-face); color: var(--omega-on-primary); }
body :is(.info-card.blue,.info-card.yellow) :is(h4,.value) { color: var(--omega-on-primary); }
body .form-links a:hover,
body .auth-wrapper .auth-form a:hover { color: var(--omega-accent-text); }
body > header .logo-wrapper img {
    filter: drop-shadow(0 0 2px rgba(0,0,0,1)) drop-shadow(0 0 5px rgba(0,0,0,1)) drop-shadow(0 3px 4px rgba(0,0,0,1)) drop-shadow(0 8px 12px rgba(0,0,0,.95)) drop-shadow(0 15px 25px rgba(0,0,0,.8)) drop-shadow(0 25px 40px rgba(0,0,0,.55)) drop-shadow(0 0 12px rgba(var(--omega-accent-rgb),.18)) !important;
}
/* END OMEGA LAVA CONTRAST */

/* Readable ember option labels on original dark item tooltips. */
body .item-opt-harmony, body .item-opt-socket { color: var(--omega-accent-text) !important; }

/* BEGIN OMEGA LAVA IMPACT 16
 * Paint-only refinement of revision 14. Original geometry, media, content and
 * component order stay intact. No generated imagery or new controls.
 */
html:root {
    --omega-accent-primary: #ff6d5b;
    --omega-accent-text: #ffb6aa;
    --omega-accent-strong: #c1322b;
    --omega-accent-rgb: 255, 76, 60;
    --omega-on-primary: #fff5ee;
    --omega-focus: #ffd3c8;
    --omega-button-face: linear-gradient(180deg, #c1322b 0%, #a91f27 48%, #791620 100%);
    --omega-button-hover: linear-gradient(180deg, #c43730 0%, #b5292b 48%, #8f1b25 100%);
    --omega-button-pressed: linear-gradient(180deg, #74151f, #9c2229);
    --bg-main: #08090e;
    --bg-card: #15151d;
    --text-primary: #f3eef2;
    --text-secondary: #b9b8c6;
    --border-color: rgba(236, 184, 181, .15);
}

/* The same six red buttons, with a more defined lacquer and edge light. */
body > nav {
    --omega-nav-depth: inset 0 1px rgba(255, 227, 215, .28), inset 0 -2px rgba(53, 3, 11, .5), 0 3px 8px rgba(0, 0, 0, .35);
    --omega-nav-depth-hover: inset 0 1px rgba(255, 234, 220, .32), inset 0 -2px rgba(72, 7, 13, .42), 0 4px 14px rgba(255, 64, 44, .25);
    border-color: rgba(255, 111, 89, .42);
    background: radial-gradient(ellipse at 50% 0, rgba(126, 28, 33, .23), transparent 72%), linear-gradient(170deg, rgba(28, 18, 25, .98), rgba(10, 12, 19, .98));
    box-shadow: inset 0 1px rgba(255, 212, 197, .13), 0 15px 40px rgba(0, 0, 0, .52), 0 0 25px rgba(237, 54, 38, .075);
}
body > nav > #nav-menu > li > a[href],
body > nav .language-selector > .dropdown-toggle {
    border-color: #f07560 !important;
    text-shadow: 0 1px 1px rgba(55, 5, 12, .38);
}
body > nav > #nav-menu > li > a[href].active {
    box-shadow: var(--omega-nav-depth), 0 0 0 1px rgba(255, 188, 158, .22), 0 0 17px rgba(255, 61, 41, .2) !important;
}
body > nav > #nav-menu > li > a[href].active::after {
    background: #ffddca;
    box-shadow: 0 0 6px rgba(255, 170, 130, .75);
}
body > nav .language-dropdown {
    border-color: rgba(255, 109, 91, .48) !important;
    background: #19151e !important;
}

/* Existing video, logo and stat cards remain in the same places. */
body > header .header-video-overlay {
    background: radial-gradient(ellipse at 50% 30%, rgba(18, 3, 10, .02), rgba(5, 6, 12, .35) 78%), linear-gradient(180deg, rgba(9, 7, 13, .18), rgba(11, 8, 16, .35) 58%, #0b0b0f 100%);
}
body > header .logo-wrapper img {
    filter: drop-shadow(0 2px 3px #000) drop-shadow(0 8px 14px rgba(0,0,0,.95)) drop-shadow(0 20px 30px rgba(0,0,0,.75)) drop-shadow(0 0 20px rgba(255,64,44,.28)) !important;
}
body > header .simple-rank-card {
    border-color: rgba(255, 120, 97, .32);
    background: radial-gradient(ellipse at 0 0, rgba(185, 39, 44, .15), transparent 70%), linear-gradient(145deg, rgba(29, 24, 32, .96), rgba(11, 13, 22, .96));
    box-shadow: inset 0 1px rgba(255, 210, 191, .11), 0 10px 25px rgba(0,0,0,.4), 0 0 14px rgba(255,55,38,.055) !important;
}
body > header .simple-rank-card .card-label { color: #c8bbc0; }

/* Deeper surfaces make original art, profiles and headings stand out. */
body .container .sidebar-module,
body .container main .rank-card--livekills,
body .container main .news-item,
body .container .social-widgets-module,
body .container .sidebar-right .sidebar-module.premium-server-info,
body .container .sidebar-right .sidebar-module.castle-owner-widget {
    border-color: rgba(224, 108, 97, .28);
    background: radial-gradient(ellipse at 0 0, rgba(166, 36, 46, .115), transparent 58%), linear-gradient(155deg, #1c1821, #10131c 85%);
    box-shadow: inset 0 1px rgba(255, 206, 190, .105), 0 16px 36px rgba(0,0,0,.36);
}
body .container .sidebar-right .sidebar-module.castle-owner-widget {
    border-color: rgba(224,108,97,.28) !important;
}
body .container > main { border-top-color: rgba(255, 93, 70, .75); }
body .container .sidebar-module > h3,
body .container .sidebar-right .premium-server-info .module-header {
    border-bottom-color: rgba(255, 134, 111, .18);
}
body .container .sidebar-module > h3 > i,
body .container .sidebar-right .premium-server-info .module-icon {
    border-color: rgba(255, 112, 91, .4);
    background: linear-gradient(145deg, rgba(224, 59, 47, .24), rgba(143, 29, 40, .075));
    color: #ffab92;
    box-shadow: inset 0 1px rgba(255, 216, 199, .1), 0 0 12px rgba(255, 64, 44, .07);
}
body .container .social-widgets-module::before,
body .container .sidebar-right .premium-server-info::before,
body .container .sidebar-right .castle-owner-widget::before {
    background: linear-gradient(90deg, transparent, #ff7a60, transparent);
    box-shadow: 0 0 9px rgba(255, 76, 50, .22);
}
body .container main .news-item-header {
    background: linear-gradient(90deg, rgba(162,36,43,.1), rgba(255,255,255,.018));
    border-bottom-color: rgba(255,132,113,.16);
}
body .container main .news-item-content img {
    box-shadow: 0 8px 22px rgba(0,0,0,.3), 0 0 0 1px rgba(255,180,160,.12);
}

/* Keep seven full settings rows, guild details and the original balance width. */
body .container .sidebar-right .premium-server-info .info-card {
    border-color: rgba(208,137,132,.16);
    background: linear-gradient(135deg, rgba(49,32,40,.7), rgba(19,23,32,.82));
    box-shadow: inset 0 1px rgba(255,217,203,.04);
}
body .container .sidebar-right .premium-server-info .info-left > i {
    color: #ffb09b;
    border-color: rgba(255,108,86,.33);
    background: linear-gradient(145deg, rgba(211,54,45,.19), rgba(105,26,38,.08));
}
body .container .sidebar-right .premium-server-info .status-fill {
    background: linear-gradient(90deg,#b33335,#f25949);
    box-shadow: 0 0 9px rgba(255,76,60,.25);
}
body .container .sidebar-right .castle-owner-widget .cs-countdown {
    border-color: rgba(255,111,89,.3);
    background: radial-gradient(ellipse at 100% 0, rgba(191,43,44,.13), transparent 75%), #14151f;
}

/* Same calls to action; highlights sit on the edge rather than over the copy. */
body :is(.btn-more,.btn-orange,.btn-download,.omega-download-btn),
body .container .sidebar-right .castle-owner-widget .cs-details-btn {
    border-color: #ed755f;
    background: var(--omega-button-face);
    color: var(--omega-on-primary);
    box-shadow: inset 0 1px rgba(255,222,205,.26), inset 0 -2px rgba(62,6,15,.34), 0 5px 15px rgba(255,55,38,.16);
}
body :is(.btn-more,.btn-orange,.btn-download,.omega-download-btn):focus-visible,
body .container .sidebar-right .castle-owner-widget .cs-details-btn:focus-visible {
    background: var(--omega-button-hover);
    color: var(--omega-on-primary);
    box-shadow: inset 0 1px rgba(255,226,211,.28), 0 0 0 3px rgba(255,109,91,.13);
}
body a:focus-visible, body button:focus-visible,
body input:focus-visible, body select:focus-visible, body textarea:focus-visible {
    outline-color: #ffd3c8;
}

@supports selector(.sidebar-module:has(> h3 > .fa-medal)) {
    body .container .sidebar-module:has(> h3 > :is(.fa-medal,.fa-shield-alt)) {
        border-color: rgba(224,108,97,.28);
        background: radial-gradient(ellipse at 0 0, rgba(166,36,46,.115), transparent 58%), linear-gradient(155deg,#1c1821,#10131c 85%);
        box-shadow: inset 0 1px rgba(255,206,190,.105), 0 16px 36px rgba(0,0,0,.36);
    }
    body .container .sidebar-module:has(> h3 > :is(.fa-medal,.fa-shield-alt))::before {
        background: linear-gradient(90deg, transparent, #ff7a60, transparent);
        box-shadow: 0 0 9px rgba(255,76,50,.22);
    }
    body .container .sidebar-module:has(> h3 > :is(.fa-medal,.fa-shield-alt)) > .ranking-item:nth-of-type(1) {
        border-color: rgba(255,112,88,.58);
        background: radial-gradient(ellipse at 0 0, rgba(220,52,46,.2), transparent 82%), linear-gradient(135deg,#322029,#1a1c27);
        box-shadow: inset 2px 0 #ec6954, inset 0 1px rgba(255,201,180,.14), 0 4px 14px rgba(0,0,0,.22);
    }
    body .container .sidebar-module:has(> h3 > :is(.fa-medal,.fa-shield-alt)) > .ranking-item:nth-of-type(1) .character-avatar-wrapper {
        border-color: #ee8b72;
        box-shadow: 0 0 13px rgba(255,84,60,.18);
    }
    body .container .sidebar-module:has(> h3 > :is(.fa-medal,.fa-shield-alt)) > .ranking-item:nth-of-type(1) .rank-value { color: #ffc0aa; }
}

/* Retain each network's brand color and the exclusive full-width cards. */
body .container .social-widgets-module .social-widget {
    box-shadow: inset 0 1px rgba(255,255,255,.09), 0 7px 18px rgba(0,0,0,.27);
}
body .omega-footer {
    background: radial-gradient(ellipse at 50% 0,rgba(196,37,41,.14),transparent 58%),linear-gradient(180deg,#0c0b11,#06070b);
    border-top-color: rgba(255,112,89,.28);
}

@media (hover:hover) and (pointer:fine) {
    body .container .sidebar-module:hover,
    body .container main .rank-card--livekills:hover,
    body .container main .news-item:hover {
        border-color: rgba(255,123,99,.45);
        box-shadow: inset 0 1px rgba(255,211,190,.13), 0 18px 38px rgba(0,0,0,.4), 0 0 16px rgba(255,61,42,.055);
    }
    body .container .sidebar-right .sidebar-module.castle-owner-widget:hover { border-color: rgba(255,123,99,.45) !important; }
    body :is(.btn-more,.btn-orange,.btn-download,.omega-download-btn):hover,
    body .container .sidebar-right .castle-owner-widget .cs-details-btn:hover {
        background: var(--omega-button-hover);
        color: var(--omega-on-primary);
        box-shadow: inset 0 1px rgba(255,227,210,.3), inset 0 -2px rgba(63,6,15,.32), 0 7px 20px rgba(255,55,38,.24);
    }
    body .container .sidebar-right .premium-server-info .info-card:hover {
        border-color: rgba(255,127,102,.46);
        background: linear-gradient(135deg,rgba(80,35,44,.65),rgba(23,24,34,.9));
    }
}
@media (prefers-reduced-motion:reduce) {
    body > nav, body > header .simple-rank-card,
    body .container .sidebar-module, body .container main .news-item,
    body .container main .rank-card--livekills,
    body :is(.btn-more,.btn-orange,.btn-download,.omega-download-btn) {
        animation: none !important;
        transition: none !important;
        transform: none !important;
    }
}
/* END OMEGA LAVA IMPACT 16 */

/* BEGIN OMEGA DARK GLASS METAL 17
 * Additive material and light treatment. Existing content, media and geometry stay.
 */
html:root {
    --omega-metal-light: #f4dfb4;
    --omega-metal-mid: #d0aa6d;
    --omega-metal-edge: rgba(210,174,116,.35);
    --omega-glass-fallback: linear-gradient(155deg,#1b1d28,#0d1019 85%);
    --omega-glass-depth: inset 0 1px rgba(255,232,193,.14), inset 1px 0 rgba(255,243,219,.035), inset 0 -1px rgba(0,0,0,.7), 0 18px 42px rgba(0,0,0,.43);
}
body {
    background-color: #080a11;
    background-image: radial-gradient(ellipse 52vw 640px at -10% 650px,rgba(162,32,35,.14),transparent 72%), radial-gradient(ellipse 48vw 740px at 112% 1050px,rgba(174,116,47,.085),transparent 72%);
    background-repeat: no-repeat;
}
/* Static, diffused shafts over the original hero video; no new image or motion. */
body > header::before {
    content: "";
    display: block;
    position: absolute;
    inset: -25% -15% -5%;
    z-index: 2;
    pointer-events: none;
    background: conic-gradient(from 158deg at 18% 0%,transparent 0deg,rgba(255,198,120,.10) 15deg,transparent 31deg,transparent 360deg), conic-gradient(from 166deg at 82% -4%,transparent 0deg,rgba(241,65,49,.15) 17deg,transparent 35deg,transparent 360deg), radial-gradient(ellipse at 50% 38%,rgba(230,178,101,.055),transparent 55%);
    filter: blur(24px);
}
body > header .header-video-overlay {
    background: radial-gradient(ellipse at 50% 28%,rgba(8,10,18,.06),rgba(8,10,18,.35) 80%),linear-gradient(180deg,rgba(8,9,16,.22),rgba(10,10,17,.4) 63%,#080a11);
}
body > header .simple-rank-card,
body .container > main,
body .container .sidebar-module,
body .container main .rank-card--livekills,
body .container main .news-item,
body .container .social-widgets-module,
body .container .sidebar-right .sidebar-module.premium-server-info,
body .container .sidebar-right .sidebar-module.castle-owner-widget,
body .container .sidebar-module:has(> h3 > :is(.fa-medal,.fa-shield-alt)),
body .auth-wrapper .auth-card {
    border-color: var(--omega-metal-edge);
    background: var(--omega-glass-fallback);
    box-shadow: var(--omega-glass-depth) !important;
}
body .container .sidebar-right .sidebar-module.castle-owner-widget { border-color: var(--omega-metal-edge) !important; }
@supports ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))) {
    body > header .simple-rank-card,
    body .container > main,
    body .container .sidebar-module,
    body .container main .rank-card--livekills,
    body .container main .news-item,
    body .container .social-widgets-module,
    body .container .sidebar-right .sidebar-module.premium-server-info,
    body .container .sidebar-right .sidebar-module.castle-owner-widget,
    body .container .sidebar-module:has(> h3 > :is(.fa-medal,.fa-shield-alt)),
    body .auth-wrapper .auth-card {
        background: radial-gradient(ellipse at 0 0,rgba(224,187,121,.055),transparent 56%),linear-gradient(155deg,rgba(29,31,42,.8),rgba(10,13,22,.9) 85%);
        -webkit-backdrop-filter: blur(14px) saturate(115%);
        backdrop-filter: blur(14px) saturate(115%);
    }
}
body .container .sidebar-module > h3,
body .container .sidebar-right .premium-server-info .module-header,
body .container .sidebar-module:has(> h3 > :is(.fa-medal,.fa-shield-alt)) > h3 {
    border-bottom-color: rgba(206,171,113,.18);
}
body .container .sidebar-module > h3 > i,
body .container .sidebar-right .premium-server-info .module-icon,
body .container .sidebar-module:has(> h3 > :is(.fa-medal,.fa-shield-alt)) > h3 > i {
    color: #e8c88a;
    border-color: rgba(213,175,109,.42);
    background: linear-gradient(145deg,rgba(190,146,80,.18),rgba(57,47,39,.24));
    box-shadow: inset 0 1px rgba(255,230,185,.14),inset 0 -1px rgba(0,0,0,.45),0 0 12px rgba(228,169,78,.055);
}
@supports ((background-clip:text) or (-webkit-background-clip:text)) {
    body .container .sidebar-module > h3 > i::before,
    body .container .sidebar-right .premium-server-info .module-icon > i::before {
        background: linear-gradient(170deg,#fff4d6 8%,#e3c48b 38%,#a98650 53%,#f4d9a2 77%,#c2a579);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
        color: transparent;
        text-shadow: none;
    }
}
body .container .social-widgets-module::before,
body .container .sidebar-right .premium-server-info::before,
body .container .sidebar-right .castle-owner-widget::before,
body .container .sidebar-module:has(> h3 > :is(.fa-medal,.fa-shield-alt))::before {
    background: linear-gradient(90deg,transparent,rgba(213,168,93,.8) 25%,#f6dfad 48%,#ee6a50 70%,transparent);
    box-shadow: 0 0 10px rgba(235,172,84,.16),0 0 22px rgba(234,62,42,.08);
}
body .container main .news-item-header {
    background: linear-gradient(110deg,rgba(178,139,76,.075),rgba(143,34,40,.07) 55%,transparent);
    border-bottom-color: rgba(213,175,112,.18);
}
body .container .sidebar-right .premium-server-info .info-card,
body .container .sidebar-right .castle-owner-widget .cs-owner-header,
body .container .sidebar-right .castle-owner-widget .cs-countdown {
    border-color: rgba(197,167,123,.2);
    background: linear-gradient(135deg,rgba(37,37,48,.76),rgba(13,17,27,.88));
    box-shadow: inset 0 1px rgba(247,225,187,.055),inset 0 -1px rgba(0,0,0,.35);
}
body .container .sidebar-module:has(> h3 > :is(.fa-medal,.fa-shield-alt)) > .ranking-item:nth-of-type(1) {
    border-color: rgba(221,177,111,.58);
    background: radial-gradient(ellipse at 0 0,rgba(200,143,66,.12),transparent 65%),linear-gradient(135deg,rgba(67,30,38,.86),rgba(25,27,39,.92));
    box-shadow: inset 2px 0 #d6ae70,inset 0 1px rgba(255,222,166,.14),0 5px 18px rgba(0,0,0,.24);
}
body .container .sidebar-module:has(> h3 > :is(.fa-medal,.fa-shield-alt)) > .ranking-item:nth-of-type(1) .character-avatar-wrapper {
    border-color: #d9b576;
    box-shadow: 0 0 12px rgba(220,162,74,.16),0 3px 8px rgba(0,0,0,.4);
}
body :is(.btn-more,.btn-orange,.btn-download,.omega-download-btn),
body .container .sidebar-right .castle-owner-widget .cs-details-btn {
    border-color: #d7ad70;
    box-shadow: inset 0 1px rgba(255,226,188,.28),inset 0 -2px rgba(60,5,14,.35),0 5px 18px rgba(233,57,39,.18);
}
body .login-form .input-group input,
body .auth-form .input-group input {
    border-color: rgba(201,174,133,.24);
    background: rgba(7,10,18,.76);
    box-shadow: inset 0 1px 4px rgba(0,0,0,.3);
}
body .login-form .input-group input:focus,
body .auth-form .input-group input:focus {
    border-color: #d9b677;
    box-shadow: 0 0 0 3px rgba(214,174,105,.1),0 0 16px rgba(232,63,42,.06);
}
body .omega-footer {
    border-top-color: rgba(209,168,103,.32);
    background: radial-gradient(ellipse at 50% 0,rgba(184,45,40,.1),transparent 58%),linear-gradient(180deg,rgba(13,14,22,.98),#070910);
}
body .omega-footer-glow {
    background: linear-gradient(90deg,transparent,#b58240 22%,#ebc787 48%,#db4c36 76%,transparent);
    box-shadow: 0 0 16px rgba(210,158,81,.2),0 0 30px rgba(216,50,34,.12);
}
@media (hover:hover) and (pointer:fine) {
    body .container .sidebar-module:hover,
    body .container main .rank-card--livekills:hover,
    body .container main .news-item:hover,
    body .container .sidebar-right .sidebar-module.premium-server-info:hover,
    body .container .sidebar-module:has(> h3 > :is(.fa-medal,.fa-shield-alt)):hover {
        border-color: rgba(228,186,119,.55);
        box-shadow: inset 0 1px rgba(255,231,187,.18),inset 0 -1px rgba(0,0,0,.65),0 18px 42px rgba(0,0,0,.45),0 0 18px rgba(231,57,39,.08) !important;
    }
    body .container .sidebar-right .sidebar-module.castle-owner-widget:hover { border-color: rgba(228,186,119,.55) !important; }
    body :is(.btn-more,.btn-orange,.btn-download,.omega-download-btn):hover,
    body .container .sidebar-right .castle-owner-widget .cs-details-btn:hover {
        border-color: #f3d497;
        box-shadow: inset 0 1px rgba(255,233,197,.32),inset 0 -2px rgba(60,5,14,.35),0 7px 22px rgba(233,57,39,.22),0 0 13px rgba(222,165,78,.09);
    }
}
@media (max-width:980px) {
    body > header::before { filter: blur(18px); opacity: .72; }
}
@media (prefers-reduced-transparency:reduce) {
    body > header .simple-rank-card,
    body .container > main,
    body .container .sidebar-module,
    body .container main .rank-card--livekills,
    body .container main .news-item,
    body .container .social-widgets-module,
    body .container .sidebar-right .sidebar-module.premium-server-info,
    body .container .sidebar-right .sidebar-module.castle-owner-widget,
    body .container .sidebar-module:has(> h3 > :is(.fa-medal,.fa-shield-alt)),
    body .auth-wrapper .auth-card {
        background: var(--omega-glass-fallback);
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
    }
}
/* END OMEGA DARK GLASS METAL 17 */
/* Retain glyphs when the system replaces gradients with high-contrast colors. */
@media (forced-colors:active) {
    body .container .sidebar-module > h3 > i::before,
    body .container .sidebar-right .premium-server-info .module-icon > i::before,
    body > nav > #nav-menu > li > a[href] > i::before,
    body > nav .language-selector > .dropdown-toggle > .fa-chevron-down::before,
    body > nav .menu-toggle > i::before {
        background: none !important;
        color: ButtonText !important;
        -webkit-text-fill-color: ButtonText !important;
    }
}

/* BEGIN OMEGA OBSIDIAN NAVIGATION 17
 * The existing floating dock, six equal links and language menu keep their
 * geometry and native behaviour. Black glass, gold alloy and ruby edge light.
 */
body > nav {
    --omega-nav-face: linear-gradient(160deg, rgba(45, 42, 44, .88) 0%, rgba(19, 20, 27, .94) 44%, rgba(11, 13, 20, .96) 100%);
    --omega-nav-face-hover: linear-gradient(150deg, #42252a 0%, #251a23 46%, #15151e 100%);
    --omega-nav-face-pressed: linear-gradient(180deg, #17131b, #302027);
    --omega-nav-depth: inset 0 1px rgba(255, 235, 196, .14), inset 0 -1px rgba(0, 0, 0, .65), 0 3px 9px rgba(0, 0, 0, .32);
    --omega-nav-depth-hover: inset 0 1px rgba(255, 229, 177, .2), inset 0 -1px rgba(255, 75, 48, .36), 0 0 0 1px rgba(239, 188, 106, .1), 0 0 13px rgba(255, 59, 41, .2), 0 3px 15px rgba(231, 181, 93, .09);
    border-color: rgba(218, 178, 112, .62);
    background: radial-gradient(ellipse at 20% 0, rgba(183, 130, 57, .11), transparent 62%), radial-gradient(ellipse at 86% 100%, rgba(184, 37, 43, .12), transparent 62%), linear-gradient(160deg, rgba(24, 24, 31, .89), rgba(8, 11, 19, .95));
    box-shadow: inset 0 1px rgba(255, 234, 190, .19), inset 0 -1px rgba(149, 97, 44, .17), 0 18px 44px rgba(0, 0, 0, .58), 0 0 0 1px rgba(2, 3, 8, .58), 0 0 24px rgba(196, 129, 53, .065);
    -webkit-backdrop-filter: blur(24px) saturate(125%);
    backdrop-filter: blur(24px) saturate(125%);
}
body > nav > #nav-menu > li > a[href],
body > nav .language-selector > .dropdown-toggle {
    border-color: rgba(214, 175, 111, .54) !important;
    background: var(--omega-nav-face) !important;
    color: #f8f0e3 !important;
    box-shadow: var(--omega-nav-depth) !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .65);
}
body > nav > #nav-menu > li > a[href] > i,
body > nav .language-selector > .dropdown-toggle > .fa-chevron-down,
body > nav .menu-toggle > i {
    color: #e6c591;
    filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .65));
    text-shadow: none;
}
@supports ((background-clip: text) or (-webkit-background-clip: text)) {
    body > nav > #nav-menu > li > a[href] > i::before,
    body > nav .language-selector > .dropdown-toggle > .fa-chevron-down::before,
    body > nav .menu-toggle > i::before {
        display: inline-block;
        background-image: linear-gradient(180deg, #fff4d9 0%, #e9d0a4 34%, #b99156 51%, #f4dfbb 70%, #d2ad70 100%);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
        -webkit-text-fill-color: transparent;
    }
}
body > nav > #nav-menu > li > a[href]::before,
body > nav .language-selector > .dropdown-toggle::before {
    background: linear-gradient(110deg, transparent 28%, rgba(229, 182, 104, .13) 46%, rgba(255, 232, 188, .16) 50%, rgba(255, 76, 53, .075) 56%, transparent 72%);
}
body > nav > #nav-menu > li > a[href]::after {
    background: linear-gradient(90deg, #d94c3c, #ffe0a3 50%, #d94c3c);
    box-shadow: 0 0 5px rgba(255, 163, 91, .7), 0 0 10px rgba(255, 65, 43, .48);
}
body > nav > #nav-menu > li > a[href].active {
    border-color: #cda665 !important;
    background: linear-gradient(150deg, #3a2528, #211820 62%, #14151e) !important;
    color: #fff4dd !important;
    box-shadow: inset 0 1px rgba(255, 231, 183, .2), inset 0 -1px rgba(243, 86, 52, .35), 0 0 12px rgba(255, 67, 42, .13) !important;
}
body > nav > #nav-menu > li > a[href].active::after { opacity: 1; }
body > nav > #nav-menu > li:last-child { border-left-color: rgba(209, 170, 107, .28); }
body > nav .language-selector > .dropdown-toggle > .lang-flag-icon {
    box-shadow: 0 0 0 1px rgba(230, 194, 127, .43), 0 2px 5px rgba(0, 0, 0, .4);
}
body > nav .language-dropdown {
    border-color: rgba(211, 172, 107, .65) !important;
    background: linear-gradient(150deg, rgba(29, 27, 33, .98), rgba(11, 14, 23, .98)) !important;
    box-shadow: inset 0 1px rgba(255, 233, 193, .13), 0 18px 36px rgba(0, 0, 0, .55), 0 0 16px rgba(160, 99, 43, .09) !important;
}
body > nav .language-dropdown li a { color: #e9e0d5 !important; }
body > nav .language-dropdown li.active a,
body > nav .language-dropdown li a:focus-visible {
    background: linear-gradient(110deg, rgba(140, 46, 37, .24), rgba(168, 122, 57, .12)) !important;
    color: #ffe3ae !important;
}
body > nav .language-dropdown li.active a > i { color: #e8c58c; }
body > nav .menu-toggle {
    border-color: rgba(214, 175, 111, .62);
    background: var(--omega-nav-face);
    color: #f8f0e3;
    box-shadow: var(--omega-nav-depth);
}
body > nav > #nav-menu > li > a[href]:focus-visible,
body > nav .language-selector > .dropdown-toggle:focus-visible,
body > nav .language-selector.open > .dropdown-toggle,
body > nav .language-selector.show > .dropdown-toggle,
body > nav .language-selector > .dropdown-toggle[aria-expanded="true"] {
    border-color: #f1cb8b !important;
    background: var(--omega-nav-face-hover) !important;
    color: #fff4dd !important;
    box-shadow: var(--omega-nav-depth-hover) !important;
}
body > nav #nav-menu a:focus-visible,
body > nav .menu-toggle:focus-visible {
    outline-color: #f6d8a2;
}
@media (hover:hover) and (pointer:fine) {
    body > nav > #nav-menu > li > a[href]:hover,
    body > nav .language-selector > .dropdown-toggle:hover {
        border-color: #e8bd79 !important;
        background: var(--omega-nav-face-hover) !important;
        color: #fff4dd !important;
        box-shadow: var(--omega-nav-depth-hover) !important;
    }
    body > nav > #nav-menu > li > a[href]:hover > i {
        filter: drop-shadow(0 0 4px rgba(242, 175, 81, .3));
    }
    body > nav > #nav-menu > li > a[href]:hover::after { opacity: .8; }
    body > nav .language-dropdown li a:hover {
        background: linear-gradient(110deg, rgba(140, 46, 37, .24), rgba(168, 122, 57, .12)) !important;
        color: #ffe3ae !important;
    }
}
body > nav > #nav-menu > li > a[href]:active,
body > nav .language-selector > .dropdown-toggle:active {
    background: var(--omega-nav-face-pressed) !important;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, .4), inset 0 1px rgba(224, 181, 111, .1) !important;
}
@media (max-width:980px) {
    body > nav > #nav-menu > li:last-child { border-top-color: rgba(209, 170, 107, .28); }
    body > nav .language-dropdown { box-shadow: inset 0 1px rgba(255, 233, 193, .08) !important; }
}
@media (prefers-reduced-motion:reduce) {
    body > nav > #nav-menu > li > a[href],
    body > nav .language-selector > .dropdown-toggle,
    body > nav .language-selector > .dropdown-toggle > i,
    body > nav .menu-toggle > i,
    body > nav > #nav-menu > li > a[href] > i {
        transition: none !important;
        animation: none !important;
        transform: none !important;
    }
}
/* END OMEGA OBSIDIAN NAVIGATION 17 */
/* Glass creates a stacking context: lift an active ranking panel with its tooltip. */
body .container .sidebar-module:focus-within { z-index: 5; }
@media (hover:hover) and (pointer:fine) {
    body .container .sidebar-module:hover { z-index: 5; }
}
@media (prefers-reduced-transparency:reduce) {
    body > nav {
        background: linear-gradient(160deg,#18181f,#080b13);
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
    }
    body > nav .language-dropdown {
        background: linear-gradient(150deg,#1d1b21,#0b0e17) !important;
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
    }
}

/* BEGIN OMEGA SOLID SURFACES 18
 * Remove backdrop glass across the existing template; keep media and layout.
 */
body, body *, body *::before, body *::after {
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
}
body > header .simple-rank-card,
body .container > main,
body .container .sidebar-module,
body .container main .rank-card--livekills,
body .container main .news-item,
body .container .social-widgets-module,
body .container .sidebar-right .sidebar-module.premium-server-info,
body .container .sidebar-right .sidebar-module.castle-owner-widget,
body .container .sidebar-module:has(> h3 > :is(.fa-medal,.fa-shield-alt)),
body .auth-wrapper .auth-card {
    background: linear-gradient(155deg,#1b1d28,#0d1019 85%);
}
body .container .sidebar-right .premium-server-info .info-card,
body .container .sidebar-right .castle-owner-widget .cs-owner-header,
body .container .sidebar-right .castle-owner-widget .cs-countdown {
    background: linear-gradient(135deg,#252530,#0d111b);
}
body .container .sidebar-module:has(> h3 > :is(.fa-medal,.fa-shield-alt)) > .ranking-item {
    background: linear-gradient(135deg,#22242e,#181b24);
}
body .container .sidebar-module:has(> h3 > :is(.fa-medal,.fa-shield-alt)) > .ranking-item:nth-of-type(1) {
    background: linear-gradient(135deg,#3b2229,#191c27);
}
body .container main .news-item-header { background: linear-gradient(110deg,#251c25,#181922); }
body .login-form .input-group input,
body .auth-form .input-group input { background: #090c15; }
body .login-form .input-group input:focus,
body .auth-form .input-group input:focus {
    border-color: #f16b70;
    box-shadow: 0 0 0 3px rgba(230,51,69,.12),0 0 16px rgba(232,43,52,.08);
}
body .omega-footer { background: linear-gradient(180deg,#100e17,#070910); }
@media (hover:hover) and (pointer:fine) {
    body .container .sidebar-module:hover,
    body .container main .rank-card--livekills:hover,
    body .container main .news-item:hover,
    body .container .sidebar-right .sidebar-module.premium-server-info:hover,
    body .container .sidebar-module:has(> h3 > :is(.fa-medal,.fa-shield-alt)):hover {
        border-color: #b9474e;
        box-shadow: inset 0 1px rgba(255,153,151,.17),inset 0 -1px rgba(0,0,0,.65),0 18px 42px rgba(0,0,0,.45),0 0 20px rgba(239,38,57,.14) !important;
    }
    body .container .sidebar-right .sidebar-module.castle-owner-widget:hover { border-color: #b9474e !important; }
    body .container .sidebar-right .premium-server-info .info-card:hover {
        background: linear-gradient(135deg,#30232e,#171822);
        border-color: #bd4e56;
    }
    body :is(.btn-more,.btn-orange,.btn-download,.omega-download-btn):hover,
    body .container .sidebar-right .castle-owner-widget .cs-details-btn:hover {
        border-color: #f16b70;
        box-shadow: inset 0 1px rgba(255,169,166,.28),inset 0 -2px rgba(60,5,14,.35),0 7px 22px rgba(233,35,52,.27),0 0 14px rgba(222,36,63,.14);
    }
}
/* END OMEGA SOLID SURFACES 18 */
/* The original shop stylesheet marks its blur important and loads inside the page. */
body .sell-char-table {
    background: #0d0d0d !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
}

/* BEGIN OMEGA CRIMSON NAVIGATION 18
 * Opaque crimson paint, red-only interaction light. Existing layout, icons,
 * destinations, language options and mobile geometry remain authoritative.
 */
body > nav {
    --omega-nav-face: linear-gradient(180deg,#ba243f 0%,#a41c36 48%,#81162d 100%);
    --omega-nav-face-hover: linear-gradient(180deg,#c42a46 0%,#b1223c 48%,#91182f 100%);
    --omega-nav-face-pressed: linear-gradient(180deg,#7b142b,#a31d36);
    --omega-nav-depth: inset 0 1px rgba(255,216,223,.22),inset 0 -2px rgba(53,3,15,.5),0 3px 9px rgba(0,0,0,.3);
    --omega-nav-depth-hover: inset 0 1px rgba(255,221,228,.26),inset 0 -1px rgba(255,101,123,.48),0 0 0 1px rgba(255,97,125,.18),0 0 16px rgba(255,35,78,.32),0 5px 18px rgba(196,16,54,.18);
    border-color: #d59d6c;
    background: linear-gradient(160deg,#a8213c,#87182f 65%,#73152a);
    box-shadow: inset 0 1px rgba(255,215,222,.2),inset 0 -1px rgba(58,2,17,.55),0 18px 44px rgba(0,0,0,.5),0 0 22px rgba(207,24,60,.12);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}
body > nav > #nav-menu > li > a[href],
body > nav .language-selector > .dropdown-toggle {
    border-color: #d6a36e !important;
    background: var(--omega-nav-face) !important;
    color: #fff5ee !important;
    box-shadow: var(--omega-nav-depth) !important;
    text-shadow: 0 1px 2px rgba(67,4,21,.5);
}
body > nav > #nav-menu > li > a[href] > i,
body > nav .language-selector > .dropdown-toggle > .fa-chevron-down,
body > nav .menu-toggle > i {
    color: #f0d3a8;
    filter: drop-shadow(0 1px 1px rgba(50,2,16,.6));
}
@supports ((background-clip:text) or (-webkit-background-clip:text)) {
    body > nav > #nav-menu > li > a[href] > i::before,
    body > nav .language-selector > .dropdown-toggle > .fa-chevron-down::before,
    body > nav .menu-toggle > i::before {
        background-image: linear-gradient(180deg,#fff3df 0%,#f0dfc0 36%,#d8b484 51%,#fff0ce 74%,#e6c89e 100%);
    }
}
body > nav > #nav-menu > li > a[href]::before,
body > nav .language-selector > .dropdown-toggle::before {
    background: linear-gradient(110deg,transparent 28%,rgba(255,130,148,.04) 50%,transparent 72%);
}
body > nav > #nav-menu > li > a[href]::after,
body > nav > #nav-menu > li > a[href].active::after {
    background: linear-gradient(90deg,#ec3158,#ffb2bf 50%,#ec3158);
    box-shadow: 0 0 6px rgba(255,71,113,.7),0 0 12px rgba(244,24,70,.45);
}
body > nav > #nav-menu > li > a[href].active {
    border-color: #f17a8e !important;
    background: linear-gradient(180deg,#b91e3c,#971832 62%,#77132b) !important;
    color: #fff5ee !important;
    box-shadow: var(--omega-nav-depth),0 0 13px rgba(255,31,79,.2) !important;
}
body > nav .language-dropdown {
    border-color: #c06071 !important;
    background: linear-gradient(150deg,#431626,#28121e) !important;
    box-shadow: inset 0 1px rgba(255,198,211,.12),0 18px 36px rgba(0,0,0,.5),0 0 16px rgba(201,23,63,.12) !important;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}
body > nav .language-dropdown li a { color: #fff0ed !important; }
body > nav .language-dropdown li.active a,
body > nav .language-dropdown li a:focus-visible {
    background: linear-gradient(110deg,#7e1b33,#5d172d) !important;
    color: #fff5ee !important;
}
body > nav .language-dropdown li.active a > i { color: #ffb0c0; }
body > nav .menu-toggle {
    border-color: #d6a36e;
    background: var(--omega-nav-face);
    color: #fff5ee;
    box-shadow: var(--omega-nav-depth);
}
body > nav > #nav-menu > li > a[href]:focus-visible,
body > nav .language-selector > .dropdown-toggle:focus-visible,
body > nav .language-selector.open > .dropdown-toggle,
body > nav .language-selector.show > .dropdown-toggle,
body > nav .language-selector > .dropdown-toggle[aria-expanded="true"] {
    border-color: #ff91a4 !important;
    background: var(--omega-nav-face-hover) !important;
    color: #fff5ee !important;
    box-shadow: var(--omega-nav-depth-hover) !important;
}
body > nav #nav-menu a:focus-visible,
body > nav .menu-toggle:focus-visible { outline-color: #ffd5df; }
@media (hover:hover) and (pointer:fine) {
    body > nav > #nav-menu > li > a[href]:hover,
    body > nav .language-selector > .dropdown-toggle:hover {
        border-color: #ff829a !important;
        background: var(--omega-nav-face-hover) !important;
        color: #fff5ee !important;
        box-shadow: var(--omega-nav-depth-hover) !important;
    }
    body > nav > #nav-menu > li > a[href]:hover > i {
        filter: drop-shadow(0 0 4px rgba(255,54,101,.45));
    }
    body > nav .language-dropdown li a:hover {
        background: linear-gradient(110deg,#7e1b33,#5d172d) !important;
        color: #fff5ee !important;
        box-shadow: inset 2px 0 #ed456b;
    }
}
body > nav > #nav-menu > li > a[href]:active,
body > nav .language-selector > .dropdown-toggle:active {
    background: var(--omega-nav-face-pressed) !important;
    box-shadow: inset 0 2px 5px rgba(54,2,18,.45),inset 0 1px rgba(255,172,195,.1) !important;
}
@media (max-width:980px) {
    body > nav .language-dropdown { box-shadow: inset 0 1px rgba(255,198,211,.08) !important; }
}
/* END OMEGA CRIMSON NAVIGATION 18 */

/* BEGIN OMEGA FOOTER CLEANUP 19 */
body .omega-footer .omega-footer-server { display: none !important; }
@media (min-width:1101px) {
    body .omega-footer .omega-footer-container {
        grid-template-columns: minmax(0,1.6fr) repeat(3,minmax(0,1fr));
    }
}
/* END OMEGA FOOTER CLEANUP 19 */

/* BEGIN OMEGA CRIMSON ATELIER 20
 * A restrained solid crimson dock with bevelled controls and red-only light.
 * Existing widths, heights, routes, icons, labels and mobile logic remain.
 */
body > nav {
    --omega-nav-face: linear-gradient(180deg,#981b34 0%,#81172e 47%,#651225 100%);
    --omega-nav-face-hover: linear-gradient(180deg,#ab2440 0%,#972039 47%,#77172e 100%);
    --omega-nav-face-pressed: linear-gradient(180deg,#601123,#80182e);
    --omega-nav-depth: inset 0 1px rgba(255,201,199,.14),inset 0 -2px rgba(45,1,13,.5),0 2px 5px rgba(15,0,6,.3);
    --omega-nav-depth-hover: inset 0 1px rgba(255,205,204,.2),inset 0 -1px rgba(255,115,133,.25),0 0 0 1px rgba(231,61,91,.1),0 4px 12px rgba(190,20,53,.24);
    border-color: #96675f;
    border-radius: 18px;
    background: linear-gradient(180deg,#6b1529 0%,#4e1020 55%,#3a0c18 100%);
    box-shadow: inset 0 1px rgba(255,219,192,.18),inset 0 -1px rgba(19,0,7,.7),0 0 0 1px rgba(38,3,13,.8),0 15px 35px rgba(0,0,0,.46),0 4px 15px rgba(148,15,44,.13);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}
body > nav > #nav-menu > li > a[href],
body > nav .language-selector > .dropdown-toggle {
    border-color: #984653 !important;
    border-radius: 8px;
    background: var(--omega-nav-face) !important;
    color: #fff5ee !important;
    box-shadow: var(--omega-nav-depth) !important;
    text-shadow: 0 1px 2px rgba(44,1,14,.56);
}
body > nav > #nav-menu > li > a[href] > i,
body > nav .language-selector > .dropdown-toggle > .fa-chevron-down,
body > nav .menu-toggle > i {
    color: #eed9b9;
    filter: drop-shadow(0 1px 1px rgba(35,0,10,.68));
}
@supports ((background-clip:text) or (-webkit-background-clip:text)) {
    body > nav > #nav-menu > li > a[href] > i::before,
    body > nav .language-selector > .dropdown-toggle > .fa-chevron-down::before,
    body > nav .menu-toggle > i::before {
        background-image: linear-gradient(180deg,#fff4e5 0%,#f3e1c7 38%,#c9a477 53%,#f9e8cd 77%,#ddbd96 100%);
    }
}
body > nav > #nav-menu > li > a[href]::before,
body > nav .language-selector > .dropdown-toggle::before {
    background: linear-gradient(110deg,transparent 28%,rgba(255,178,184,.05) 50%,transparent 72%);
}
body > nav > #nav-menu > li > a[href]::after,
body > nav > #nav-menu > li > a[href].active::after {
    background: linear-gradient(90deg,#f44769,#ffb5bb 50%,#f44769);
    box-shadow: 0 0 5px rgba(255,78,109,.56),0 0 9px rgba(214,29,67,.28);
}
body > nav > #nav-menu > li > a[href].active {
    border-color: #dd6d7c !important;
    background: linear-gradient(180deg,#b3243e 0%,#982039 50%,#7c172e 100%) !important;
    color: #fff8ef !important;
    box-shadow: inset 0 1px rgba(255,222,207,.23),inset 0 -2px rgba(66,0,21,.5),0 0 12px rgba(221,31,67,.14) !important;
}
body > nav > #nav-menu > li:last-child { border-left-color: #7b3944; }
body > nav .language-selector > .dropdown-toggle > .lang-flag-icon {
    box-shadow: 0 0 0 1px rgba(235,195,156,.35),0 2px 4px rgba(31,0,10,.4);
}
body > nav .language-dropdown {
    border-color: #9c4b59 !important;
    background: linear-gradient(160deg,#451524,#28101c) !important;
    box-shadow: inset 0 1px rgba(246,200,176,.12),0 14px 30px rgba(0,0,0,.46) !important;
}
body > nav .language-dropdown li a { color: #f8e9e3 !important; }
body > nav .language-dropdown li.active a,
body > nav .language-dropdown li a:focus-visible {
    background: linear-gradient(110deg,#7c2036,#5b182b) !important;
    color: #fff5ee !important;
}
body > nav .menu-toggle {
    border-color: #a54d5b;
    border-radius: 8px;
    background: var(--omega-nav-face);
    box-shadow: var(--omega-nav-depth);
    color: #fff5ee;
}
body > nav > #nav-menu > li > a[href]:focus-visible,
body > nav .language-selector > .dropdown-toggle:focus-visible,
body > nav .language-selector.open > .dropdown-toggle,
body > nav .language-selector.show > .dropdown-toggle,
body > nav .language-selector > .dropdown-toggle[aria-expanded="true"] {
    border-color: #f08b99 !important;
    background: var(--omega-nav-face-hover) !important;
    color: #fff5ee !important;
    box-shadow: var(--omega-nav-depth-hover) !important;
}
body > nav #nav-menu a:focus-visible,
body > nav .menu-toggle:focus-visible { outline-color: #ffccd0; }
@media (hover:hover) and (pointer:fine) {
    body > nav > #nav-menu > li > a[href]:hover,
    body > nav .language-selector > .dropdown-toggle:hover {
        border-color: #c75d70 !important;
        background: var(--omega-nav-face-hover) !important;
        color: #fff5ee !important;
        box-shadow: var(--omega-nav-depth-hover) !important;
    }
    body > nav > #nav-menu > li > a[href]:hover > i { filter: drop-shadow(0 0 3px rgba(255,98,121,.3)); }
    body > nav > #nav-menu > li > a[href]:hover::after { opacity: .65; }
    body > nav > #nav-menu > li > a[href].active:hover::after { opacity: 1; }
    body > nav .language-dropdown li a:hover {
        background: linear-gradient(110deg,#7c2036,#5b182b) !important;
        color: #fff5ee !important;
        box-shadow: inset 2px 0 #dd4c68;
    }
}
body > nav > #nav-menu > li > a[href]:active,
body > nav .language-selector > .dropdown-toggle:active {
    background: var(--omega-nav-face-pressed) !important;
    box-shadow: inset 0 2px 5px rgba(34,0,12,.45),inset 0 1px rgba(255,176,190,.08) !important;
}
@media (max-width:980px) {
    body > nav { border-radius: 13px; }
    body > nav > #nav-menu > li:last-child { border-top-color: #7b3944; }
    body > nav .language-dropdown { box-shadow: inset 0 1px rgba(246,200,176,.1) !important; }
}
@media (prefers-reduced-motion:reduce) {
    body > nav > #nav-menu > li > a[href],
    body > nav .language-selector > .dropdown-toggle,
    body > nav > #nav-menu > li > a[href] > i {
        transition: none !important;
        animation: none !important;
        transform: none !important;
    }
}
/* END OMEGA CRIMSON ATELIER 20 */

/* BEGIN OMEGA CLASSIC COMPOSITION 21
 * Let the original MU artwork and real captured content carry the identity.
 */
html:root {
    --omega-classic-surface: #15171d;
    --omega-classic-border: #30323b;
    --omega-classic-muted: #a5a6b0;
}
body { background-color: #0c0e13; background-image: none; }
body > header::before { display: none; }
body > header .header-video-overlay { background: linear-gradient(180deg,rgba(8,10,16,.24),rgba(10,12,18,.4) 60%,#0c0e13); }
body > header .logo-wrapper img { filter: drop-shadow(0 3px 4px #000) drop-shadow(0 10px 18px rgba(0,0,0,.7)) !important; }
body > header .simple-rank-card,
body .container > main,
body .container .sidebar-module,
body .container main .rank-card--livekills,
body .container main .news-item,
body .container .social-widgets-module,
body .container .sidebar-right .sidebar-module.premium-server-info,
body .container .sidebar-right .sidebar-module.castle-owner-widget,
body .container .sidebar-module:has(> h3 > :is(.fa-medal,.fa-shield-alt)),
body .auth-wrapper .auth-card {
    background: var(--omega-classic-surface);
    border-color: var(--omega-classic-border);
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,.18) !important;
}
body .container .sidebar-right .sidebar-module.castle-owner-widget { border-color: var(--omega-classic-border) !important; }
body .container > aside { gap: 20px; }
body .container .sidebar-module,
body .container .social-widgets-module,
body .container .sidebar-right .sidebar-module.premium-server-info,
body .container .sidebar-right .sidebar-module.castle-owner-widget,
body .container .sidebar-module:has(> h3 > :is(.fa-medal,.fa-shield-alt)) { padding: 20px 18px; }
body .container .social-widgets-module::before,
body .container .sidebar-right .premium-server-info::before,
body .container .sidebar-right .castle-owner-widget::before,
body .container .sidebar-module:has(> h3 > :is(.fa-medal,.fa-shield-alt))::before { display: none; }
body .container .sidebar-module > h3,
body .container .sidebar-right .premium-server-info .module-header,
body .container .sidebar-module:has(> h3 > :is(.fa-medal,.fa-shield-alt)) > h3 {
    border-bottom-color: #30323b;
    letter-spacing: .025em;
    color: #eee9e6;
}
body .container .sidebar-module > h3 > i,
body .container .sidebar-right .premium-server-info .module-icon,
body .container .sidebar-module:has(> h3 > :is(.fa-medal,.fa-shield-alt)) > h3 > i {
    background: none;
    border-color: transparent;
    color: #c9bca6;
    box-shadow: none;
    filter: none;
    text-shadow: none;
}
body .container .sidebar-module > h3 > i::before,
body .container .sidebar-right .premium-server-info .module-icon > i::before {
    background: none;
    color: inherit;
    -webkit-text-fill-color: currentColor;
    text-shadow: none;
}
body .container .sidebar-right .premium-server-info .module-header small { color: var(--omega-classic-muted); }
body .container .sidebar-right .premium-server-info .info-card,
body .container .sidebar-right .castle-owner-widget .cs-owner-header,
body .container .sidebar-right .castle-owner-widget .cs-countdown {
    background: #111319;
    border-color: #2c2e37;
    border-radius: 8px;
    box-shadow: none;
}
body .container .sidebar-right .premium-server-info .info-left > i {
    background: none;
    border-color: transparent;
    color: #c4b5a0;
    box-shadow: none;
}
body .container .sidebar-right .premium-server-info .info-right > strong { color: #f0ede9; }
body .container .sidebar-right .premium-server-info .info-right > .badge.gold {
    background: #29241e;
    border-color: #4b4032;
    color: #e0c79f;
    box-shadow: none;
}
body .container .sidebar-right .premium-server-info .status-fill { background: #ae3e4c; box-shadow: none; }
body .container .sidebar-right .castle-owner-widget .cs-guild-logo {
    border-color: #47413a;
    border-radius: 8px;
    background: #111319;
    box-shadow: none;
}
body .container .sidebar-right .castle-owner-widget .cs-status-item .highlight {
    background: #1a191d;
    border-color: #37323a;
    color: #dfcbb8;
}
body .container .sidebar-module:has(> h3 > :is(.fa-medal,.fa-shield-alt)) > .ranking-item,
body .container .sidebar-module:has(> h3 > :is(.fa-medal,.fa-shield-alt)) > .ranking-item:nth-of-type(1) {
    padding: 10px 0;
    border: 0;
    border-bottom: 1px solid #292c35;
    border-radius: 0;
    background: none;
    box-shadow: none;
}
body .container .sidebar-module:has(> h3 > :is(.fa-medal,.fa-shield-alt)) > .ranking-item:last-of-type { border-bottom-color: transparent; }
body .container .sidebar-module:has(> h3 > :is(.fa-medal,.fa-shield-alt)) .character-avatar-wrapper {
    border-color: #3a3e49;
    border-radius: 8px;
    box-shadow: none;
}
body .container .sidebar-module:has(> h3 > :is(.fa-medal,.fa-shield-alt)) .rank-avatar { border-radius: 6px; }
body .container .sidebar-module:has(> h3 > :is(.fa-medal,.fa-shield-alt)) > .ranking-item:nth-of-type(1) .character-avatar-wrapper {
    border-color: #9e835c;
    box-shadow: none;
}
body .container .sidebar-module:has(> h3 > :is(.fa-medal,.fa-shield-alt)) > .ranking-item:nth-of-type(1) .rank-value { color: #dec7a3; }
body .container main .news-item-header {
    background: #191b22;
    border-bottom-color: #30323b;
    padding: 24px;
}
body .container main .news-item-title { font-size: 1.25rem; line-height: 1.45; letter-spacing: 0; }
body .container main .news-item-meta { color: var(--omega-classic-muted); gap: 16px; line-height: 1.6; }
body .container main .news-item-content { color: #c9cad2; font-size: 1rem; line-height: 1.75; padding: 24px; }
body .container main .news-item-content h1 { font-size: 1.25rem; line-height: 1.5; }
body .container main .news-item-content h2 { font-size: 1.1rem; line-height: 1.5; }
body .container main .news-item-content h3 { font-size: 1rem; line-height: 1.5; }
body .container main .news-item-content img { border-radius: 6px; box-shadow: none; }
body .container main .news-readmore { color: #e2a2a8; }
body .container .view-all-link { background: none; border-color: #30323b; color: #dcb0af; box-shadow: none; }
body .container .social-widgets-module .social-widget {
    background: #14171e;
    border: 1px solid #30343e;
    border-radius: 8px;
    box-shadow: none !important;
}
body .container .social-widgets-module .social-widget::before { opacity: 0 !important; animation: none !important; }
body .container .social-widgets-module .social-widget > i {
    background: #20252f;
    border: 1px solid #343b48;
    box-shadow: none !important;
    color: rgb(var(--omega-social-rgb));
}
body .container .social-widgets-module .social-widget > span { letter-spacing: .01em; }
body .container .social-widgets-module .social-widget:focus-visible,
body .container .social-widgets-module .social-widget:hover {
    background: #1a1e26;
    border-color: #505764;
    box-shadow: none !important;
    transform: none !important;
}
body .container .social-widgets-module .social-widget:focus-visible > i,
body .container .social-widgets-module .social-widget:hover > i {
    box-shadow: none !important;
    transform: none !important;
}
body .omega-footer { background: #0b0d12; border-top-color: #30323b; }
body .omega-footer-glow { display: none; }
body .omega-footer-logo img { filter: drop-shadow(0 4px 8px rgba(0,0,0,.55)); }
body .omega-footer-column h4::after { background: #41434c; box-shadow: none; }
@media (hover:hover) and (pointer:fine) {
    body .container .sidebar-module:hover,
    body .container main .rank-card--livekills:hover,
    body .container main .news-item:hover,
    body .container .sidebar-right .sidebar-module.premium-server-info:hover,
    body .container .sidebar-module:has(> h3 > :is(.fa-medal,.fa-shield-alt)):hover {
        border-color: #424550;
        box-shadow: 0 8px 24px rgba(0,0,0,.18) !important;
    }
    body .container .sidebar-right .sidebar-module.castle-owner-widget:hover { border-color: #424550 !important; }
    body .container .sidebar-right .premium-server-info .info-card:hover { background: #171a21; border-color: #3b3f49; }
}
@media (max-width:520px) {
    body .container main .news-item-header { padding: 20px 18px; }
    body .container main .news-item-content { padding: 20px 18px; }
    body .container main .news-item-title { font-size: 1.125rem; }
}
/* END OMEGA CLASSIC COMPOSITION 21 */
body .omega-footer-logo img:hover { filter: drop-shadow(0 4px 8px rgba(0,0,0,.55)); }
body .container .sidebar-module:has(> h3 > :is(.fa-medal,.fa-shield-alt)) > .view-all-link,
body .container .sidebar-module:has(> h3 > :is(.fa-medal,.fa-shield-alt)) > .view-all-link:hover,
body .container .sidebar-module:has(> h3 > :is(.fa-medal,.fa-shield-alt)) > .view-all-link:focus-visible {
    background: none;
    border: 0;
    border-top: 1px solid #30323b;
    border-radius: 0;
    color: #dcb0af;
    box-shadow: none;
    transform: none !important;
}
body .container .sidebar-module:has(> h3 > :is(.fa-medal,.fa-shield-alt)) > .view-all-link::before { display: none !important; }
body .container .topmoney-module:hover h3 i {
    background: none;
    border-color: transparent;
    color: #c9bca6;
    box-shadow: none;
}
body > header .simple-rank-card:hover { transform: none; border-color: var(--omega-classic-border); }

/* BEGIN OMEGA CLASSIC NAVIGATION 21
 * Quiet solid navigation. Downloads is the primary action; the current
 * section uses a simple crimson line. Existing dimensions and routes stay.
 */
body > nav {
    --omega-nav-face: #21171c;
    --omega-nav-face-hover: #2c1d24;
    --omega-nav-face-pressed: #25171f;
    --omega-nav-depth: none;
    --omega-nav-depth-hover: none;
    background: #21171c;
    border-color: #443138;
    border-radius: 11px;
    box-shadow: 0 8px 24px rgba(0,0,0,.3);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}
body > nav > #nav-menu > li > a[href],
body > nav .language-selector > .dropdown-toggle {
    background: transparent !important;
    border-color: transparent !important;
    border-radius: 6px;
    color: #d5d2d6 !important;
    box-shadow: none !important;
    text-shadow: none;
    transform: none !important;
}
body > nav > #nav-menu > li > a[href] > i,
body > nav .language-selector > .dropdown-toggle > .fa-chevron-down,
body > nav .menu-toggle > i {
    color: #bdb7bc;
    filter: none !important;
    text-shadow: none;
}
body > nav > #nav-menu > li > a[href] > i::before,
body > nav .language-selector > .dropdown-toggle > .fa-chevron-down::before,
body > nav .menu-toggle > i::before {
    background: none !important;
    color: inherit !important;
    -webkit-text-fill-color: currentColor !important;
}
body > nav > #nav-menu > li > a[href]::before,
body > nav .language-selector > .dropdown-toggle::before {
    display: none !important;
    animation: none !important;
}
body > nav > #nav-menu > li > a[href]::after,
body > nav > #nav-menu > li > a[href].active::after {
    background: #c04c60;
    box-shadow: none;
    opacity: 0;
}
body > nav > #nav-menu > li > a[href].active {
    background: #281b22 !important;
    border-color: transparent !important;
    color: #f7eff1 !important;
    box-shadow: none !important;
}
body > nav > #nav-menu > li > a[href].active::after { opacity: 1; }
body > nav > #nav-menu > li:last-child { border-left-color: #3b3036; }
body > nav .language-selector > .dropdown-toggle {
    border-color: #3d343b !important;
    background: #211c22 !important;
}
body > nav .language-selector > .dropdown-toggle > .lang-flag-icon { box-shadow: none; }
body > nav .language-dropdown {
    border-color: #40343e !important;
    background: #1d1b22 !important;
    box-shadow: 0 12px 28px rgba(0,0,0,.32) !important;
}
body > nav .language-dropdown li a { color: #d8d2d9 !important; }
body > nav .language-dropdown li.active a,
body > nav .language-dropdown li a:focus-visible {
    background: #3c2430 !important;
    color: #fff1f3 !important;
}
body > nav .language-dropdown li.active a > i { color: #db9ca9; }
body > nav .menu-toggle {
    border-color: #49343e;
    border-radius: 6px;
    background: #21171c;
    color: #e0d8dd;
    box-shadow: none;
}
body > nav > #nav-menu > li > a[href]:focus-visible,
body > nav .language-selector > .dropdown-toggle:focus-visible,
body > nav .language-selector.open > .dropdown-toggle,
body > nav .language-selector.show > .dropdown-toggle,
body > nav .language-selector > .dropdown-toggle[aria-expanded="true"] {
    border-color: transparent !important;
    background: #30202a !important;
    color: #fff1f3 !important;
    box-shadow: none !important;
}
body > nav #nav-menu a:focus-visible,
body > nav .menu-toggle:focus-visible { outline-color: #e2a0ad; }
@media (hover:hover) and (pointer:fine) {
    body > nav > #nav-menu > li > a[href]:hover,
    body > nav .language-selector > .dropdown-toggle:hover {
        background: #2c1d24 !important;
        border-color: transparent !important;
        color: #fff1f3 !important;
        box-shadow: none !important;
        transform: none !important;
    }
    body > nav > #nav-menu > li > a[href]:hover::after { opacity: 0; }
    body > nav > #nav-menu > li > a[href].active:hover::after { opacity: 1; }
    body > nav > #nav-menu > li > a[href]:hover > i { filter: none !important; }
    body > nav .language-dropdown li a:hover {
        background: #32202b !important;
        color: #fff1f3 !important;
        box-shadow: none;
    }
}
body > nav > #nav-menu > li > a[href]:active,
body > nav .language-selector > .dropdown-toggle:active {
    background: #25171f !important;
    border-color: transparent !important;
    box-shadow: none !important;
}
/* Both the original root route and the preview route share these suffixes. */
body > nav > #nav-menu > li > a[href]:is([href$="/downloads/"],[href$="/downloads"]) {
    background: linear-gradient(180deg,#a3293f,#8a2035) !important;
    border-color: #b74c5d !important;
    color: #fff8f2 !important;
    box-shadow: inset 0 1px rgba(255,227,225,.08) !important;
}
body > nav > #nav-menu > li > a[href]:is([href$="/downloads/"],[href$="/downloads"]) > i { color: #f8e8e7; }
body > nav > #nav-menu > li > a[href]:is([href$="/downloads/"],[href$="/downloads"]):focus-visible {
    background: linear-gradient(180deg,#b32c45,#97243a) !important;
    border-color: #d0808d !important;
    box-shadow: 0 0 0 2px rgba(215,102,123,.12) !important;
}
body > nav > #nav-menu > li > a[href]:is([href$="/downloads/"],[href$="/downloads"]).active {
    background: linear-gradient(180deg,#96233a,#811c30) !important;
    border-color: #d17484 !important;
    box-shadow: none !important;
}
body > nav > #nav-menu > li > a[href]:is([href$="/downloads/"],[href$="/downloads"]).active::after {
    background: #f3c5cc;
    opacity: 1;
}
@media (hover:hover) and (pointer:fine) {
    body > nav > #nav-menu > li > a[href]:is([href$="/downloads/"],[href$="/downloads"]):hover {
        background: linear-gradient(180deg,#b32c45,#97243a) !important;
        border-color: #cc6c7d !important;
        box-shadow: 0 0 10px rgba(190,39,67,.16) !important;
    }
}
body > nav > #nav-menu > li > a[href]:is([href$="/downloads/"],[href$="/downloads"]):active {
    background: #7a1b2d !important;
    border-color: #934554 !important;
    box-shadow: inset 0 1px 3px rgba(0,0,0,.2) !important;
}
@media (max-width:980px) {
    body > nav { border-radius: 9px; }
    body > nav > #nav-menu > li:last-child { border-top-color: #3b3036; }
    body > nav .language-dropdown { box-shadow: none !important; }
}
@media (prefers-reduced-motion:reduce) {
    body > nav > #nav-menu > li > a[href],
    body > nav .language-selector > .dropdown-toggle {
        transition: none !important;
        animation: none !important;
        transform: none !important;
    }
}
@media (forced-colors:active) {
    body > nav > #nav-menu > li > a[href] > i::before,
    body > nav .language-selector > .dropdown-toggle > .fa-chevron-down::before,
    body > nav .menu-toggle > i::before {
        color: ButtonText !important;
        -webkit-text-fill-color: ButtonText !important;
    }
}
/* END OMEGA CLASSIC NAVIGATION 21 */

/* BEGIN OMEGA COMPACT SIDEBARS AND PODIUM 22
 * Original fields, order, emblems, routes, scores and inline balance width stay.
 */
body .container > aside { gap: 16px; }
body .container .sidebar-module,
body .container .social-widgets-module,
body .container .sidebar-right .sidebar-module.premium-server-info,
body .container .sidebar-right .sidebar-module.castle-owner-widget,
body .container .sidebar-module:has(> h3 > :is(.fa-medal,.fa-shield-alt)) { padding: 16px 14px; }
body .container .sidebar-module > h3,
body .container .sidebar-right .castle-owner-widget > h3,
body .container .sidebar-module:has(> h3 > :is(.fa-medal,.fa-shield-alt)) > h3 {
    gap: 8px;
    margin-bottom: 8px;
    padding-bottom: 10px;
    line-height: 1.4;
}
body .container .sidebar-module > h3 > i,
body .container .sidebar-right .castle-owner-widget > h3 > i,
body .container .sidebar-module:has(> h3 > :is(.fa-medal,.fa-shield-alt)) > h3 > i {
    flex-basis: 28px;
    width: 28px;
    height: 30px;
    font-size: 15px;
}
body .container .sidebar-right .premium-server-info { gap: 6px; }
body .container .sidebar-right .premium-server-info .module-header {
    grid-template-columns: 28px minmax(0,1fr);
    gap: 8px;
    margin-bottom: 2px;
    padding-bottom: 10px;
}
body .container .sidebar-right .premium-server-info .module-icon { width: 28px; height: 30px; }
body .container .sidebar-right .premium-server-info .module-header small { margin-top: 3px; font-size: 11px; }
body .container .sidebar-right .premium-server-info .info-card {
    grid-template-columns: 28px minmax(0,1fr) minmax(0,max-content);
    grid-template-rows: auto;
    min-height: 56px;
    gap: 8px;
    padding: 8px;
}
body .container .sidebar-right .premium-server-info .info-card::before { display: none; }
body .container .sidebar-right .premium-server-info .info-left > i {
    grid-column: 1;
    grid-row: 1;
    flex-basis: 28px;
    width: 28px;
    height: 28px;
    font-size: 15px;
}
body .container .sidebar-right .premium-server-info .info-left > span {
    grid-column: 2;
    grid-row: 1;
    font-size: 11px;
    letter-spacing: .015em;
    line-height: 1.4;
    text-transform: none;
}
body .container .sidebar-right .premium-server-info .info-right {
    grid-column: 3;
    grid-row: 1;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    max-width: 104px;
    gap: 1px;
    text-align: right;
}
body .container .sidebar-right .premium-server-info .info-right > strong { font-size: 14px; line-height: 1.35; }
body .container .sidebar-right .premium-server-info .info-right > small {
    padding: 0;
    border: 0;
    background: none;
    color: #b4a6a7;
    font-size: 11px;
    line-height: 1.35;
}
body .container .sidebar-right .premium-server-info .info-right > .badge.gold { padding: 3px 6px; font-size: 13px; line-height: 1.3; }
body .container .sidebar-right .premium-server-info .server-status { margin-top: 2px; padding: 10px; }
body .container .sidebar-right .premium-server-info .status-title { margin-bottom: 7px; font-size: 11px; }
body .container .sidebar-right .premium-server-info .status-title > strong { font-size: 11px; }
body .container .sidebar-right .castle-owner-widget .cs-widget-content,
body .container .sidebar-right .castle-owner-widget .cs-battle-info { gap: 8px; }
body .container .sidebar-right .castle-owner-widget .cs-owner-header { grid-template-columns: 40px minmax(0,1fr); padding: 10px; gap: 10px; }
body .container .sidebar-right .castle-owner-widget .cs-guild-logo { width: 40px; height: 40px; padding: 4px; }
body .container .sidebar-right .castle-owner-widget .cs-guild-logo img { width: 30px; height: 30px; }
body .container .sidebar-right .castle-owner-widget .cs-owner-info { gap: 7px; }
body .container .sidebar-right .castle-owner-widget .cs-label { font-size: 11px; line-height: 1.4; }
body .container .sidebar-right .castle-owner-widget .cs-status-item { gap: 4px; }
body .container .sidebar-right .castle-owner-widget .cs-status-item .highlight { padding: 7px 9px; font-size: 13px; line-height: 1.4; }
body .container .sidebar-right .castle-owner-widget .cs-countdown { padding: 10px; }
body .container .sidebar-right .castle-owner-widget .cs-timer { margin-top: 4px; font-size: 14px; }
body .container .sidebar-right .castle-owner-widget .cs-details-btn { min-height: 44px; padding: 10px 9px; font-size: 11px; }
body .container .sidebar-left .login-form { gap: 10px; }
body .container aside .login-form .input-group input { min-height: 44px; padding-top: 10px; padding-bottom: 10px; }
body .container aside .login-form .btn-more { min-height: 44px; }
body .container .social-widgets-module .social-widgets-grid { gap: 8px; }
body .container .social-widgets-module .social-widget { grid-template-columns: 32px minmax(0,1fr) 8px; min-height: 58px; padding: 10px; gap: 10px; }
body .container .social-widgets-module .social-widget > i { width: 32px; height: 32px; font-size: 21px; }
body .container .sidebar-module:has(> h3 > :is(.fa-medal,.fa-shield-alt)) { gap: 4px; }
body .container .sidebar-module:has(> h3 > :is(.fa-medal,.fa-shield-alt)) > .ranking-item,
body .container .sidebar-module:has(> h3 > :is(.fa-medal,.fa-shield-alt)) > .ranking-item:nth-of-type(1) {
    grid-template-columns: 40px minmax(0,1fr);
    min-height: 60px;
    padding: 8px 0;
    gap: 1px 8px;
}
body .container .sidebar-module:has(> h3 > :is(.fa-medal,.fa-shield-alt)) > .ranking-item {
    --omega-place-rgb: 114,125,144;
    --omega-place-ink: #e1e5ec;
    --omega-place-face: #333a47;
    --omega-place-label: #b8bfcb;
}
body .container .sidebar-module:has(> h3 > :is(.fa-medal,.fa-shield-alt)) > .ranking-item:nth-of-type(1) {
    --omega-place-rgb: 206,169,107;
    --omega-place-ink: #201a11;
    --omega-place-face: linear-gradient(160deg,#d9bb7e,#ae8950);
    --omega-place-label: #dec79e;
}
body .container .sidebar-module:has(> h3 > :is(.fa-medal,.fa-shield-alt)) > .ranking-item:nth-of-type(2) {
    --omega-place-rgb: 185,195,211;
    --omega-place-ink: #1c232e;
    --omega-place-face: linear-gradient(160deg,#d8dee7,#a6b0c0);
    --omega-place-label: #c7d0dd;
}
body .container .sidebar-module:has(> h3 > :is(.fa-medal,.fa-shield-alt)) > .ranking-item:nth-of-type(3) {
    --omega-place-rgb: 190,144,108;
    --omega-place-ink: #26190f;
    --omega-place-face: linear-gradient(160deg,#cfa281,#ad7f5f);
    --omega-place-label: #d6aa8a;
}
body .container .sidebar-module:has(> h3 > :is(.fa-medal,.fa-shield-alt)) > .ranking-item .character-avatar-wrapper,
body .container .sidebar-module:has(> h3 > :is(.fa-medal,.fa-shield-alt)) > .ranking-item:nth-of-type(1) .character-avatar-wrapper {
    width: 40px;
    height: 40px;
    border-color: rgba(var(--omega-place-rgb),.68);
    box-shadow: none;
}
body .container .sidebar-module:has(> h3 > :is(.fa-medal,.fa-shield-alt)) > .ranking-item .rank-index,
body .container .sidebar-module:has(> h3 > :is(.fa-medal,.fa-shield-alt)) > .ranking-item:nth-of-type(1) .rank-index {
    top: -5px;
    left: -5px;
    width: 20px;
    height: 20px;
    border-width: 1px;
    border-radius: 6px;
    background: var(--omega-place-face);
    color: var(--omega-place-ink);
    box-shadow: none;
    font-size: 11px;
}
body .container .sidebar-module:has(> h3 > :is(.fa-medal,.fa-shield-alt)) > .ranking-item .rank-name,
body .container .sidebar-module:has(> h3 > :is(.fa-medal,.fa-shield-alt)) > .ranking-item:nth-of-type(1) .rank-name { font-size: 13px; }
body .container .sidebar-module:has(> h3 > :is(.fa-medal,.fa-shield-alt)) > .ranking-item .rank-value,
body .container .sidebar-module:has(> h3 > :is(.fa-medal,.fa-shield-alt)) > .ranking-item:nth-of-type(1) .rank-value {
    color: var(--omega-place-label);
    font-size: 12px;
    line-height: 1.4;
}
body .container .sidebar-module:has(> h3 > :is(.fa-medal,.fa-shield-alt)) .rank-value sup { font-size: 11px; }
body .container .sidebar-module:has(> h3 > :is(.fa-medal,.fa-shield-alt)) > .view-all-link { min-height: 44px; padding: 8px 4px; }
@media (max-width:520px) {
    body .container .sidebar-right .premium-server-info .info-right { max-width: 128px; }
}
/* END OMEGA COMPACT SIDEBARS AND PODIUM 22 */

/* BEGIN OMEGA BANNER AND FOOTER REFINEMENT 22
 * Full artwork remains visible in a consistent frame; original files stay intact.
 */
body .container main .news-item-content > p > img:only-child {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: none !important;
    aspect-ratio: 2 / 1;
    object-fit: contain;
    object-position: center;
    padding: 8px;
    border: 1px solid #30323b;
    border-radius: 8px;
    background: #101217;
    image-rendering: auto;
    box-shadow: none;
}
body .omega-footer { margin-top: 16px; padding: 0; }
body .omega-footer .omega-footer-container {
    width: min(1400px,calc(100% - 52px));
    padding: 28px 0 24px;
    gap: 24px;
    align-items: start;
}
body .omega-footer .omega-footer-brand {
    display: grid;
    grid-template-columns: 144px minmax(0,1fr);
    align-items: start;
    gap: 6px 14px;
    min-width: 0;
}
body .omega-footer .omega-footer-logo {
    grid-column: 1;
    grid-row: 1 / span 2;
    min-height: 0;
    align-self: center;
}
body .omega-footer .omega-footer-logo img {
    display: block;
    width: 144px;
    height: auto;
    max-width: 100%;
    transform: none !important;
}
body .omega-footer .omega-footer-description {
    grid-column: 2;
    margin: 0;
    max-width: 330px;
    color: #a3a6b0;
    font-size: 12px;
    line-height: 1.6;
}
body .omega-footer .omega-footer-description strong { font-size: 11px; letter-spacing: .06em; }
body .omega-footer .omega-footer-status {
    grid-column: 2;
    margin: 0;
    padding: 0;
    gap: 7px;
    font-size: 9px;
    letter-spacing: .06em;
    line-height: 1.6;
}
body .omega-footer .omega-status-dot { animation: none; box-shadow: none; }
body .omega-footer .omega-footer-column { min-width: 0; }
body .omega-footer .omega-footer-column h4 {
    margin: 0 0 10px;
    font-size: 12px;
    letter-spacing: .07em;
    line-height: 1.5;
}
body .omega-footer .omega-footer-column h4::after { height: 1px; margin-top: 7px; }
body .omega-footer .omega-footer-column a {
    min-height: 32px;
    margin: 0;
    padding: 5px 0;
    gap: 8px;
    font-size: 12px;
    line-height: 1.5;
    color: #b1b3bd;
    overflow-wrap: anywhere;
}
body .omega-footer .omega-footer-column a > span { flex: 0 0 16px; width: 16px; }
body .omega-footer .omega-footer-bottom { margin-top: 0; }
body .omega-footer .omega-footer-bottom-container {
    width: min(1400px,calc(100% - 52px));
    min-height: 48px;
    padding: 12px 0;
    gap: 8px 16px;
    flex-wrap: wrap;
    color: #969aa6;
    font-size: 11px;
    line-height: 1.6;
}
body .omega-footer .omega-footer-bottom strong { color: #bfc1ca; }
body .omega-footer .omega-footer-credit { margin-top: 3px; color: #969aa6; }
body .omega-footer .omega-footer-credit a { color: #bfc1ca; }
body .omega-footer .omega-footer-version { color: #969aa6; font-size: 10px; letter-spacing: .08em; }
@media (min-width:1101px) {
    body .omega-footer .omega-footer-container { grid-template-columns: minmax(280px,1.4fr) repeat(3,minmax(0,1fr)); }
}
@media (max-width:1100px) {
    body .omega-footer .omega-footer-container { grid-template-columns: repeat(3,minmax(0,1fr)); }
    body .omega-footer .omega-footer-brand { grid-column: 1 / -1; max-width: 600px; }
    body .omega-footer .omega-footer-column a { min-height: 44px; padding-top: 10px; padding-bottom: 10px; }
}
@media (max-width:600px) {
    body .container main .news-item-content > p > img:only-child { padding: 5px; border-radius: 6px; }
    body .omega-footer .omega-footer-container {
        width: calc(100% - 32px);
        grid-template-columns: repeat(2,minmax(0,1fr));
        padding: 24px 0 20px;
        gap: 20px 16px;
    }
    body .omega-footer .omega-footer-brand { grid-template-columns: 128px minmax(0,1fr); max-width: none; gap: 6px 12px; }
    body .omega-footer .omega-footer-logo img { width: 128px; }
    body .omega-footer .omega-footer-bottom-container {
        width: calc(100% - 32px);
        align-items: flex-start;
        text-align: left;
        gap: 8px;
        padding: 12px 0;
    }
}
/* END OMEGA BANNER AND FOOTER REFINEMENT 22 */

/* BEGIN OMEGA CHARCOAL CRIMSON PALETTE 23 */
html:root {
    --bg-main: #0e1117;
    --bg-card: #171b24;
    --text-primary: #e7e9ee;
    --text-secondary: #a6acb9;
    --border-color: #303744;
    --omega-classic-surface: #171b24;
    --omega-classic-border: #303744;
    --omega-classic-muted: #a6acb9;
    --omega-accent-strong: #a52b40;
    --omega-accent-primary: #d88996;
    --omega-accent-text: #e1a4af;
    --omega-accent-rgb: 165,43,64;
    --omega-on-primary: #fff7f4;
    --omega-focus: #e6b9c2;
    --omega-button-face: linear-gradient(180deg,#a52b40,#8f2538);
    --omega-button-hover: linear-gradient(180deg,#b4344a,#9c2a40);
    --omega-button-pressed: #872236;
    --omega-metal-mid: #c7aa73;
    --omega-metal-light: #dbc99e;
}
body { background-color: #0e1117; color: #e7e9ee; }
body > header .header-video-overlay { background: linear-gradient(180deg,rgba(8,10,16,.24),rgba(10,12,18,.4) 60%,#0e1117); }
body > nav { background: #171b24; border-color: #363e4b; }
body > nav > #nav-menu > li > a[href],
body > nav .language-selector > .dropdown-toggle { color: #cdd1d9 !important; }
body > nav > #nav-menu > li > a[href] > i { color: #a6acb9; }
body > nav > #nav-menu > li > a[href].active {
    background: #212631 !important;
    color: #e7e9ee !important;
}
body > nav > #nav-menu > li > a[href].active::after { background: #a52b40; }
body > nav .language-selector > .dropdown-toggle { background: #1c212b !important; border-color: #363e4b !important; }
body > nav .language-dropdown { background: #171b24 !important; border-color: #363e4b !important; }
body > nav > #nav-menu > li > a[href]:focus-visible,
body > nav .language-selector > .dropdown-toggle:focus-visible,
body > nav .language-selector.open > .dropdown-toggle,
body > nav .language-selector.show > .dropdown-toggle,
body > nav .language-selector > .dropdown-toggle[aria-expanded="true"] { background: #292332 !important; color: #e7e9ee !important; }
@media (hover:hover) and (pointer:fine) {
    body > nav > #nav-menu > li > a[href]:hover,
    body > nav .language-selector > .dropdown-toggle:hover { background: #262532 !important; color: #e7e9ee !important; }
}
body > nav > #nav-menu > li > a[href]:is([href$="/downloads/"],[href$="/downloads"]) {
    background: var(--omega-button-face) !important;
    border-color: #ba596b !important;
    color: #fff7f4 !important;
}
body > nav > #nav-menu > li > a[href]:is([href$="/downloads/"],[href$="/downloads"]):focus-visible {
    background: var(--omega-button-hover) !important;
    color: #fff7f4 !important;
}
body > nav > #nav-menu > li > a[href]:is([href$="/downloads/"],[href$="/downloads"]).active {
    background: #98273d !important;
    color: #fff7f4 !important;
}
@media (hover:hover) and (pointer:fine) {
    body > nav > #nav-menu > li > a[href]:is([href$="/downloads/"],[href$="/downloads"]):hover { background: var(--omega-button-hover) !important; color: #fff7f4 !important; }
}
body > nav > #nav-menu > li > a[href]:is([href$="/downloads/"],[href$="/downloads"]):active { background: var(--omega-button-pressed) !important; }
body :is(.btn-more,.btn-orange,.btn-download,.omega-download-btn),
body .container .sidebar-right .castle-owner-widget .cs-details-btn {
    background: var(--omega-button-face);
    border-color: #ba596b;
    color: #fff7f4;
}
body :is(.btn-more,.btn-orange,.btn-download,.omega-download-btn):focus-visible,
body .container .sidebar-right .castle-owner-widget .cs-details-btn:focus-visible { background: var(--omega-button-hover); color: #fff7f4; }
@media (hover:hover) and (pointer:fine) {
    body :is(.btn-more,.btn-orange,.btn-download,.omega-download-btn):hover,
    body .container .sidebar-right .castle-owner-widget .cs-details-btn:hover { background: var(--omega-button-hover); color: #fff7f4; }
}
body .container .sidebar-module > h3,
body .container .sidebar-right .premium-server-info .module-header h3,
body .container .sidebar-module:has(> h3 > :is(.fa-medal,.fa-shield-alt)) > h3 { color: #e7e9ee; }
body .container .sidebar-module > h3 > i,
body .container .sidebar-right .premium-server-info .module-icon,
body .container .sidebar-module:has(> h3 > :is(.fa-medal,.fa-shield-alt)) > h3 > i { color: #c7aa73; }
body .container .sidebar-right .premium-server-info .info-right > .badge.gold { background: #2b261f; border-color: #4e4433; color: #c7aa73; }
body .container .sidebar-module:has(> h3 > :is(.fa-medal,.fa-shield-alt)) > .ranking-item:nth-of-type(1) { --omega-place-label: #c7aa73; }
body .container .sidebar-right .premium-server-info .info-right > strong { color: #e7e9ee; }
body .container .sidebar-right .premium-server-info .module-header small,
body .container .sidebar-right .premium-server-info .info-left > span { color: #a6acb9; }
/* Headlines, publication date and author have separate visual levels. */
body .container main .news-item-header { background: #1c212b; border-bottom-color: #303744; padding: 22px 24px 18px; }
body .container main .news-item-title { margin-bottom: 12px; font-size: 1.375rem; line-height: 1.4; letter-spacing: 0; }
body .container main .news-item-title a { color: #e7e9ee; text-decoration-thickness: 1px; text-underline-offset: 4px; }
body .container main .news-item-title a:hover { color: #e1a4af; }
body .container main .news-item-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    color: #a6acb9;
    font-size: 12px;
    line-height: 1.6;
}
body .container main .news-item-meta > span { display: inline-flex; align-items: center; gap: 6px; min-height: 20px; }
body .container main .news-item-meta > span:last-child { color: #cdd1d9; font-weight: 500; }
body .container main .news-item-meta i { color: #929baa; font-size: 12px; }
body .container main .news-item-content { color: #d0d4dd; }
body .container main .news-item-content :is(h1,h2,h3) { color: #e7e9ee; }
/* Preserve every real number and online hook; only change typography and spacing. */
body > header .simple-rank-card {
    display: grid;
    grid-template-columns: 40px minmax(0,1fr) auto;
    align-items: center;
    gap: 10px;
    min-height: 82px;
    padding: 14px 16px;
    background: #171b24;
    border-color: #303744;
}
body > header .simple-rank-card .card-image { width: 40px; height: 40px; margin: 0; }
body > header .simple-rank-card .card-image > div { background: #11151d !important; border-color: #303744 !important; border-radius: 8px !important; }
body > header .simple-rank-card .card-image > div > i { color: #c7aa73 !important; }
body > header .simple-rank-card:has(#ajax-online-players) .card-image > div > i { color: #77c79d !important; }
body > header .simple-rank-card .rank-badge { display: none; }
body > header .simple-rank-card .card-info { min-width: 0; }
body > header .simple-rank-card .card-label { margin: 0 0 3px; color: #a6acb9 !important; font-size: 10px; line-height: 1.3; letter-spacing: .08em; }
body > header .simple-rank-card .player-name { color: #e7e9ee; font-size: 13px; line-height: 1.4; font-weight: 600; }
body > header .simple-rank-card .card-stat { color: #e7e9ee !important; font-size: 1.625rem !important; font-weight: 700; line-height: 1.2; font-variant-numeric: tabular-nums; letter-spacing: -.025em; white-space: nowrap; }
body > header .simple-rank-card #ajax-online-players { color: #77c79d !important; }
body .omega-footer { background: #0e1117; border-top-color: #303744; }
body .omega-footer .omega-footer-description,
body .omega-footer .omega-footer-bottom-container,
body .omega-footer .omega-footer-credit,
body .omega-footer .omega-footer-version { color: #a6acb9; }
body .omega-footer .omega-footer-column a { color: #cdd1d9; }
@media (max-width:980px) {
    body > header .simple-rank-card { grid-template-columns: 32px minmax(0,1fr) auto; flex: 1 1 200px; gap: 8px; padding: 12px; }
    body > header .simple-rank-card .card-image { width: 32px; height: 32px; }
    body > header .simple-rank-card .card-stat { font-size: 1.25rem !important; }
}
@media (max-width:520px) {
    body .container main .news-item-header { padding: 20px 18px 16px; }
    body .container main .news-item-title { font-size: 1.1875rem; }
    body .container main .news-item-meta { gap: 6px 14px; }
    body > header .simple-rank-card { flex-basis: 100%; }
    body > header .simple-rank-card .card-stat { font-size: 1.5rem !important; }
}
/* END OMEGA CHARCOAL CRIMSON PALETTE 23 */

/* BEGIN OMEGA AUTH UNITY 23
 * Existing fields, names, placeholders and native validation stay unchanged.
 */
body .auth-wrapper .auth-card {
    padding: 32px;
    border: 1px solid #343a46;
    border-radius: 12px;
    background: #171b24;
    color: #e7e9ee;
    box-shadow: 0 16px 40px rgba(0,0,0,.24) !important;
    animation: none;
}
body .auth-wrapper .auth-header { margin-bottom: 24px; }
body .auth-wrapper .auth-header > i {
    margin-bottom: 12px;
    color: #c7aa73;
    font-size: 30px;
    filter: none;
    text-shadow: none;
}
body .auth-wrapper .auth-header h2 { margin-bottom: 8px; color: #e7e9ee; font-size: 1.7rem; line-height: 1.3; letter-spacing: 0; }
body .auth-wrapper .auth-header p { margin: 0; color: #a6acb9; font-size: 14px; line-height: 1.65; }
body .auth-wrapper .auth-form { gap: 16px; }
body .auth-wrapper .auth-form .input-group,
body .container aside .login-form .input-group { min-width: 0; }
body .auth-wrapper .auth-form .input-group > i,
body .container aside .login-form .input-group > i {
    left: 15px;
    color: #a6acb9;
    font-size: 14px;
    pointer-events: none;
}
body .auth-wrapper .auth-form .input-group input,
body .container aside .login-form .input-group input {
    border: 1px solid #3b424f;
    border-radius: 8px;
    background: #10151d;
    color: #e7e9ee;
    padding: 12px 14px 12px 42px;
    font-size: 14px;
    line-height: 1.5;
    box-shadow: none;
    caret-color: #e7e9ee;
}
body .auth-wrapper .auth-form .input-group input { min-height: 48px; }
body .container aside .login-form .input-group input { min-height: 44px; padding-top: 10px; padding-bottom: 10px; }
body .auth-wrapper .auth-form .input-group input::placeholder,
body .container aside .login-form .input-group input::placeholder { color: #a6acb9; opacity: 1; }
body .auth-wrapper .auth-form .input-group input:focus,
body .container aside .login-form .input-group input:focus {
    background: #121822;
    border-color: #cb7183;
    outline: 2px solid #cb7183;
    outline-offset: 2px;
    box-shadow: none;
}
body .auth-wrapper .auth-form input[type="checkbox"] {
    width: 18px;
    height: 18px;
    min-height: 18px;
    flex: 0 0 18px;
    padding: 0;
    accent-color: #a52b40;
}
body .auth-wrapper .auth-form label { color: #a6acb9; font-size: 13px; line-height: 1.6; }
body .auth-wrapper .auth-form label[for] { cursor: pointer; }
body .auth-wrapper .auth-form .btn-more,
body .container aside .login-form .btn-more {
    min-height: 48px;
    padding: 12px 18px;
    border: 1px solid #bb4b5e;
    border-radius: 8px;
    background: #a52b40;
    color: #e7e9ee;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: .02em;
    text-transform: none;
    text-shadow: none;
    box-shadow: none;
    transform: none;
    filter: none;
}
body .container aside .login-form .btn-more { min-height: 44px; padding-top: 10px; padding-bottom: 10px; }
body .auth-wrapper .auth-form .btn-more::before,
body .container aside .login-form .btn-more::before { display: none !important; animation: none !important; }
body .auth-wrapper .auth-form .btn-more:focus-visible,
body .container aside .login-form .btn-more:focus-visible {
    background: #b33348;
    border-color: #cf7b89;
    outline: 2px solid #e0abb5;
    outline-offset: 3px;
    color: #e7e9ee;
    box-shadow: none;
    transform: none;
    filter: none;
}
body .auth-wrapper .auth-form a,
body .auth-wrapper .auth-footer-links a { color: #d4b987 !important; text-underline-offset: 3px; }
body .auth-wrapper .auth-form a:hover,
body .auth-wrapper .auth-footer-links a:hover { color: #e6ce9f !important; text-decoration: underline; }
body .auth-wrapper .auth-footer-links { color: #a6acb9 !important; line-height: 1.6; }
body .auth-wrapper .auth-body-content .alert {
    margin-bottom: 16px;
    padding: 12px 14px;
    border: 1px solid #454959;
    border-left-width: 3px;
    border-radius: 8px;
    background: #1c202a;
    color: #e7e9ee;
    font-size: 14px;
    line-height: 1.6;
    box-shadow: none;
}
body .auth-wrapper .auth-body-content .alert-danger { background: #281c24; border-color: #7d3e4c; color: #f3b3bf; }
body .auth-wrapper .auth-body-content .alert-success { background: #172923; border-color: #376d55; color: #a8d9be; }
body .auth-wrapper .auth-body-content .alert-warning { background: #2a251d; border-color: #746144; color: #d7bc8d; }
body .auth-wrapper .auth-body-content .alert-info { background: #1d2531; border-color: #4c617f; color: #b7cde8; }
body .auth-wrapper .auth-body-content .alert a { color: inherit !important; text-decoration: underline; }
@media (hover:hover) and (pointer:fine) {
    body .auth-wrapper .auth-form .btn-more:hover,
    body .container aside .login-form .btn-more:hover {
        background: #b33348;
        border-color: #c96577;
        color: #e7e9ee;
        box-shadow: 0 0 10px rgba(165,43,64,.13);
        transform: none;
        filter: none;
    }
}
body .auth-wrapper .auth-form .btn-more:active,
body .container aside .login-form .btn-more:active { background: #8b2135; color: #e7e9ee; box-shadow: none; transform: none; filter: none; }
@media (max-width:520px) {
    body .auth-wrapper .auth-card { padding: 24px 18px; }
    body .auth-wrapper .auth-header h2 { font-size: 1.5rem; }
    body .auth-wrapper .auth-form .input-group input { min-height: 44px; padding-top: 10px; padding-bottom: 10px; font-size: 13.5px; }
    body .auth-wrapper .auth-form .btn-more { min-height: 44px; padding-top: 10px; padding-bottom: 10px; }
}
@media (prefers-reduced-motion:reduce) {
    body .auth-wrapper .auth-form .btn-more,
    body .container aside .login-form .btn-more,
    body .auth-wrapper .auth-form input,
    body .container aside .login-form input { transition: none !important; transform: none !important; }
}
/* END OMEGA AUTH UNITY 23 */

/* BEGIN OMEGA FULL TABLE PODIUM 24
 * Podium follows the original numeric rank, independent of visual row order.
 */
body .container main table:is(.rankings-table,.topmoney-table) tr[data-omega-rank-row] > td {
    padding: 12px 10px !important;
    background: #171b24 !important;
    border-top: 1px solid #2d3340 !important;
    border-bottom: 1px solid #2d3340 !important;
    color: #e7e9ee !important;
    font-size: .875rem !important;
    font-weight: 400 !important;
    line-height: 1.5;
    letter-spacing: normal !important;
    text-transform: none !important;
}
body .container main table:is(.rankings-table,.topmoney-table) tr[data-omega-rank-row] > td[data-omega-rank-cell] {
    text-align: center !important;
    font-weight: 700 !important;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}
body .container main table:is(.rankings-table,.topmoney-table) tr[data-omega-podium="gold"] {
    --omega-table-medal: #c7aa73;
    --omega-table-face: #222019;
    --omega-table-line: #615239;
    --omega-table-hover: #2b271e;
}
body .container main table:is(.rankings-table,.topmoney-table) tr[data-omega-podium="silver"] {
    --omega-table-medal: #c6cfdd;
    --omega-table-face: #1e242e;
    --omega-table-line: #4e5c70;
    --omega-table-hover: #252d39;
}
body .container main table:is(.rankings-table,.topmoney-table) tr[data-omega-podium="bronze"] {
    --omega-table-medal: #d2a17d;
    --omega-table-face: #251e1a;
    --omega-table-line: #684c39;
    --omega-table-hover: #30251e;
}
body .container main table:is(.rankings-table,.topmoney-table) tr[data-omega-podium] > td {
    background: var(--omega-table-face) !important;
    border-top-color: var(--omega-table-line) !important;
    border-bottom-color: var(--omega-table-line) !important;
}
body .container main table:is(.rankings-table,.topmoney-table) tr[data-omega-podium] > td[data-omega-rank-cell] {
    color: var(--omega-table-medal) !important;
    border-left: 3px solid var(--omega-table-medal) !important;
    text-shadow: none;
}
body .container main table:is(.rankings-table,.topmoney-table) tr[data-omega-podium] .rankings-class-image {
    border: 1px solid var(--omega-table-line);
    border-radius: 6px;
}
body .container main table:is(.rankings-table,.topmoney-table) tr[data-omega-rank-row]:hover {
    transform: none !important;
    box-shadow: none !important;
}
body .container main table:is(.rankings-table,.topmoney-table) tr[data-omega-rank-row]:hover > td { background: #202633 !important; }
body .container main table:is(.rankings-table,.topmoney-table) tr[data-omega-podium]:hover > td {
    background: var(--omega-table-hover) !important;
    border-color: var(--omega-table-line) !important;
}
body .container main table:is(.rankings-table,.topmoney-table) tr[data-omega-podium]:hover > td[data-omega-rank-cell] { border-left-color: var(--omega-table-medal) !important; }
/* END OMEGA FULL TABLE PODIUM 24 */

/* BEGIN OMEGA EVENT HIERARCHY 24
 * Visual hierarchy for the native event name, supplied date and countdown state.
 */
body .container .events-module .events-widget-content { padding-right: 3px; }
body .container .events-module .events-table { width: 100%; border-collapse: collapse; }
body .container .events-module .events-table tr { border-bottom: 1px solid #303744; }
body .container .events-module .events-table tr:last-child { border-bottom: 0; }
body .container .events-module .events-table td { padding: 12px 4px; vertical-align: top; }
body .container .events-module .events-table .ename {
    color: #e7e9ee;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.45;
    margin: 0;
    overflow-wrap: break-word;
}
body .container .events-module .events-table .other {
    color: #a6acb9;
    font-size: 11px;
    line-height: 1.5;
    opacity: 1;
    overflow-wrap: anywhere;
}
body .container .events-module .events-table .timepro {
    float: none;
    padding: 5px 7px;
    border: 1px solid #3f4755;
    border-radius: 6px;
    background: #212733;
    color: #d6dbe4;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
    font-variant-numeric: tabular-nums;
    text-shadow: none;
    white-space: normal;
    overflow-wrap: anywhere;
}
body .container .events-module .events-table .timepro.ontime { color: #dec494; border-color: #6e5c39; background: #2b251d; text-shadow: none; }
body .container .events-module .events-table .timepro.outtime { color: #d6dbe4; border-color: #3f4755; background: #212733; text-shadow: none; }
body .container .events-module .events-table td[data-omega-event-layout="structured"] {
    display: grid;
    grid-template-columns: minmax(0,1fr) auto;
    align-items: start;
    gap: 5px 8px;
}
body .container .events-module .events-table td[data-omega-event-layout] > .ename { grid-column: 1; grid-row: 1; align-self: center; }
body .container .events-module .events-table td[data-omega-event-layout] > .other { grid-column: 1 / -1; grid-row: 2; float: none !important; }
body .container .events-module .events-table td[data-omega-event-layout] > .timepro { grid-column: 2; grid-row: 1; max-width: 104px; text-align: right; }
body .container .events-module .events-table td[data-omega-event-layout] > br,
body .container .events-module .events-table [data-omega-event-caption] { display: none; }
body .container .events-module .events-table [data-omega-event-status]::before {
    content: attr(data-omega-event-status);
    display: block;
    margin-bottom: 2px;
    font-size: 10px;
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: .015em;
}
/* The following reference presentation is populated only in the static preview. */
body .container .events-module .omega-event-source-note {
    margin: 0 0 8px;
    padding: 8px;
    border-left: 2px solid #6d6150;
    background: #141820;
    color: #a6acb9;
    font-size: 11px;
    line-height: 1.5;
}
body .container .events-module .events-table .omega-event-reference { color: #bfc4ce; background: #232630; border-color: #424650; font-size: 10px; }
body .container .events-module .omega-event-times { grid-column: 1 / -1; grid-row: 3; min-width: 0; }
body .container .events-module .omega-event-times summary { min-height: 32px; padding: 7px 0; color: #c7aa73; font-size: 11px; line-height: 1.5; cursor: pointer; }
body .container .events-module .omega-event-times p { margin: 4px 0; color: #a6acb9; font-size: 11px; line-height: 1.7; overflow-wrap: anywhere; }
body .container .events-module .omega-event-times summary:focus-visible { outline: 2px solid #d4a5ae; outline-offset: 2px; }
/* Existing configured Events page, when present in the WebEngine installation. */
body section:has(#omega-events-title) .news-item-title { color: #e7e9ee; }
body section:has(#omega-events-title) .news-item-content time { display: inline-block; color: #c7aa73; font-size: 13px; font-variant-numeric: tabular-nums; }
body section:has(#omega-events-title) [data-omega-countdown] { color: #e7e9ee; font-size: 15px; font-variant-numeric: tabular-nums; }
/* END OMEGA EVENT HIERARCHY 24 */

/* BEGIN OMEGA FOOTER STATUS REMOVAL 25 */
body .omega-footer .omega-footer-status { display: none !important; }
body .omega-footer .omega-footer-logo { grid-row: 1; }
body .omega-footer .omega-footer-description { align-self: center; }
/* END OMEGA FOOTER STATUS REMOVAL 25 */

/* BEGIN OMEGA INTERNAL HEADINGS AND DOWNLOADS 26
 * Existing titles, download descriptions, files, destinations and sizes stay.
 */
body .container main .omega-downloads {
    container-name: omega-downloads;
    container-type: inline-size;
    min-width: 0;
    margin-top: 0;
}
body .container main .omega-downloads .omega-download-hero {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 20px;
    padding: 18px;
    border: 1px solid #303744;
    border-radius: 10px;
    background: #171b24;
    box-shadow: none;
}
body .container main .omega-downloads .omega-download-hero::before,
body .container main .omega-downloads .omega-download-hero::after,
body .container main .omega-downloads .omega-client-card::before,
body .container main .omega-downloads .omega-card-glow { display: none; }
body .container main .omega-downloads .omega-download-hero > div { min-width: 0; }
body .container main .omega-downloads .omega-download-hero-icon {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    border: 1px solid #494132;
    border-radius: 8px;
    background: #26231e;
    color: #c7aa73;
    font-size: 18px;
    box-shadow: none;
}
body .container main .omega-downloads .omega-eyebrow { color: #a6acb9; font-size: 10px; line-height: 1.5; letter-spacing: .08em; }
body .container main .omega-downloads .omega-download-hero h2 { margin: 4px 0 8px; color: #e7e9ee; font-size: 21px; line-height: 1.35; letter-spacing: 0; }
body .container main .omega-downloads .omega-download-hero p { margin: 0; color: #a6acb9; font-size: 13px; line-height: 1.65; }
body .container main .omega-downloads .omega-client-grid { display: grid; grid-template-columns: minmax(0,1fr); gap: 16px; }
body .container main .omega-downloads .omega-client-card,
body .container main .omega-downloads .omega-client-card.remastered {
    display: grid;
    grid-template-columns: minmax(0,1fr);
    grid-template-rows: auto 1fr auto;
    min-width: 0;
    padding: 0;
    border: 1px solid #303744;
    border-radius: 10px;
    background: #171b24;
    box-shadow: none;
    overflow: hidden;
    transform: none;
}
body .container main .omega-downloads .omega-client-top {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    padding: 18px 18px 12px;
}
body .container main .omega-downloads .omega-platform-icon,
body .container main .omega-downloads .omega-client-card.remastered .omega-platform-icon {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    border: 1px solid #424653;
    border-radius: 8px;
    background: #20252f;
    color: #d5d9e1;
    box-shadow: none;
    font-size: 21px;
}
body .container main .omega-downloads .omega-client-card.android .omega-platform-icon { color: #9dc7a8; }
body .container main .omega-downloads .omega-platform-data { min-width: 0; }
body .container main .omega-downloads .omega-platform { color: #a6acb9; font-size: 11px; line-height: 1.5; letter-spacing: .025em; white-space: normal; overflow-wrap: anywhere; }
body .container main .omega-downloads .omega-card-badge,
body .container main .omega-downloads .omega-client-card.remastered .omega-card-badge {
    display: inline-block;
    margin-top: 6px;
    padding: 3px 6px;
    border: 1px solid #494132;
    border-radius: 4px;
    background: #26231e;
    color: #d4bd94;
    font-size: 10px;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: .025em;
    white-space: normal;
    box-shadow: none;
}
body .container main .omega-downloads .omega-client-body { min-width: 0; padding: 6px 18px 18px; border: 0; }
body .container main .omega-downloads .omega-client-body h3 { margin: 0 0 6px; color: #e7e9ee; font-size: 19px; font-weight: 700; line-height: 1.4; letter-spacing: 0; }
body .container main .omega-downloads .omega-client-subtitle { margin: 0 0 12px; color: #c7cbd5; font-size: 13px; line-height: 1.6; }
body .container main .omega-downloads .omega-original-description { margin: 0 0 14px; color: #a6acb9; font-size: 12px; line-height: 1.7; overflow-wrap: anywhere; }
body .container main .omega-downloads .omega-client-card.remastered .omega-original-description { padding: 8px 10px; border-left: 2px solid #9d8050; background: #25221c; color: #dec79e; }
body .container main .omega-downloads .omega-features { display: grid; grid-template-columns: minmax(0,1fr); gap: 7px; margin: 0; }
body .container main .omega-downloads .omega-features > span { display: flex; align-items: flex-start; gap: 8px; color: #cdd2dc; font-size: 12px; line-height: 1.5; }
body .container main .omega-downloads .omega-features i { flex: 0 0 12px; margin-top: 3px; color: #b6a583; font-size: 10px; }
body .container main .omega-downloads .omega-client-footer {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    grid-column: 1 / -1;
    gap: 12px;
    min-width: 0;
    padding: 14px 18px;
    border: 0;
    border-top: 1px solid #303744;
    background: #141820;
}
body .container main .omega-downloads .omega-file-size { min-width: 65px; text-align: left; }
body .container main .omega-downloads .omega-file-size small { display: block; color: #a6acb9; font-size: 10px; line-height: 1.5; letter-spacing: .06em; }
body .container main .omega-downloads .omega-file-size strong { display: block; color: #e7e9ee; font-size: 17px; font-weight: 600; line-height: 1.4; }
body .container main .omega-downloads .omega-download-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-width: 138px;
    min-height: 44px;
    max-width: 100%;
    padding: 10px 14px;
    border: 1px solid #bb4b5e;
    border-radius: 7px;
    background: #a52b40;
    color: #e7e9ee;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
    text-decoration: none;
    text-shadow: none;
    box-shadow: none;
    transform: none;
}
body .container main .omega-downloads .omega-download-btn > span > small { margin-bottom: 1px; color: inherit; font-size: 9px; line-height: 1.4; letter-spacing: .06em; }
body .container main .omega-downloads .omega-download-btn:focus-visible { outline: 2px solid #e0abb5; outline-offset: 3px; }
body .container main .omega-downloads .omega-download-help { display: flex; align-items: flex-start; gap: 12px; margin-top: 20px; padding: 16px; border: 1px solid #303744; border-radius: 8px; background: #11151d; }
body .container main .omega-downloads .omega-help-icon { flex: 0 0 30px; width: 30px; height: 30px; border: 1px solid #494132; border-radius: 7px; background: #26231e; color: #c7aa73; font-size: 13px; }
body .container main .omega-downloads .omega-download-help strong { display: block; margin-bottom: 5px; color: #e7e9ee; font-size: 14px; line-height: 1.5; }
body .container main .omega-downloads .omega-download-help p { margin: 0; color: #a6acb9; font-size: 13px; line-height: 1.7; }
@container omega-downloads (min-width:560px) {
    body .container main .omega-downloads .omega-client-card,
    body .container main .omega-downloads .omega-client-card.remastered { grid-template-columns: 150px minmax(0,1fr); grid-template-rows: 1fr auto; }
    body .container main .omega-downloads .omega-client-top { grid-column: 1; grid-row: 1; flex-direction: column; align-items: flex-start; gap: 10px; padding: 18px; }
    body .container main .omega-downloads .omega-client-body { grid-column: 2; grid-row: 1; padding: 18px; border-left: 1px solid #303744; }
    body .container main .omega-downloads .omega-client-footer { grid-row: 2; }
}
@media (hover:hover) and (pointer:fine) {
    body .container main .omega-downloads .omega-client-card:hover { border-color: #484e5b; box-shadow: none; transform: none; }
    body .container main .omega-downloads .omega-download-btn:hover { background: #b33348; border-color: #c96577; color: #e7e9ee; box-shadow: 0 0 10px rgba(165,43,64,.13); transform: none; }
}
body .container main .omega-downloads .omega-download-btn:active { background: #8b2135; color: #e7e9ee; box-shadow: none; transform: none; }
@media (max-width:600px) {
    body .container main .omega-downloads .omega-download-hero { padding: 16px; gap: 12px; }
    body .container main .omega-downloads .omega-download-hero h2 { font-size: 19px; }
}
@media (prefers-reduced-motion:reduce) {
    body .container main .omega-downloads .omega-client-card,
    body .container main .omega-downloads .omega-download-btn { transition: none !important; transform: none !important; }
}
/* END OMEGA INTERNAL HEADINGS AND DOWNLOADS 26 */

/* BEGIN OMEGA CLEAR DATA STATES 26
 * Show loading only from native signals; no simulated query or progress value.
 */
body .container .omega-content-state {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 68px;
    margin: 12px 0;
    padding: 16px;
    border: 1px solid #394252;
    border-radius: 8px;
    background: #141923;
    color: #a6acb9;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.6;
    overflow-wrap: anywhere;
}
body .container .omega-content-state::before {
    content: "";
    display: inline-block;
    box-sizing: border-box;
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    border: 1px solid #737e91;
    border-radius: 4px;
    background: #222a38;
}
body .container .omega-content-state[data-omega-ui-state="error"] { background: #271c25; border-color: #7d3e4c; color: #efbbc5; }
body .container .omega-content-state[data-omega-ui-state="error"]::before { border-color: #c88795; background: #4d2634; }
body .container .events-module table[data-omega-native-placeholder="true"] { display: none !important; }
body .container main table:is(.rankings-table,.topmoney-table) td[data-omega-ui-state],
body .container main .dataTables_wrapper td.dataTables_empty {
    padding: 24px 16px !important;
    border: 1px dashed #465163 !important;
    border-radius: 6px;
    background: #141923 !important;
    color: #a6acb9 !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.6;
    text-align: center !important;
    text-transform: none !important;
    text-shadow: none !important;
    letter-spacing: normal !important;
}
body .container main table:is(.rankings-table,.topmoney-table) td[data-omega-ui-state="error"] { color: #efbbc5 !important; border-color: #7d3e4c !important; background: #271c25 !important; }
body .container main .dataTables_wrapper .dataTables_processing {
    box-sizing: border-box;
    z-index: 20;
    min-height: 48px;
    height: auto;
    padding: 16px 20px;
    border: 1px solid #5b4650;
    border-radius: 8px;
    background: #171b24 !important;
    color: #e7e9ee !important;
    font-size: 14px;
    line-height: 1.6;
    box-shadow: 0 8px 24px rgba(0,0,0,.25);
    text-shadow: none;
}
body .container .omega-content-state[data-omega-ui-state="loading"]::before,
body .container main .dataTables_wrapper .dataTables_processing::before,
body .container main table:is(.rankings-table,.topmoney-table) td[data-omega-ui-state="loading"]::before {
    content: "";
    display: inline-block;
    box-sizing: border-box;
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    margin-right: 4px;
    border: 2px solid #465163;
    border-top-color: #c7aa73;
    border-radius: 50%;
    background: none;
    vertical-align: -3px;
    animation: omegaDataLoading26 .85s linear infinite;
}
@keyframes omegaDataLoading26 { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion:reduce) {
    body .container .omega-content-state[data-omega-ui-state="loading"]::before,
    body .container main .dataTables_wrapper .dataTables_processing::before,
    body .container main table:is(.rankings-table,.topmoney-table) td[data-omega-ui-state="loading"]::before { animation: none; border-style: dashed; }
}
@media (forced-colors:active) {
    body .container .omega-content-state,
    body .container main table:is(.rankings-table,.topmoney-table) td[data-omega-ui-state] { border-color: CanvasText !important; }
}
/* END OMEGA CLEAR DATA STATES 26 */

body .container td[data-omega-native-state-suspended="true"] { visibility: hidden; }

/* Revision 28 — native character profile: existing name, class and stat rows.
 * Original 100px class portraits are reused without generating character art.
 * All class codes follow WebEngine's existing class families; an unknown class
 * keeps the original neutral avatar. No backend or character values are changed.
 */
body .container main .profiles_player_card {
    --omega-profile-portrait: url('../img/character-avatars/avatar.jpg');
    box-sizing: border-box;
    display: grid;
    grid-template-columns: 100px minmax(0, 1fr);
    gap: 20px;
    width: 100%;
    max-width: 880px;
    margin: 0 auto 24px;
    padding: 24px;
    overflow: visible;
    border: 1px solid #353a46;
    border-top: 3px solid #a52b40;
    border-radius: 12px;
    background: #171b24;
    color: #e7e9ee;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .17);
    text-shadow: none;
}
body .container main .profiles_player_card:is(.DW,.SM,.GM,.SW,.DSW) { --omega-profile-portrait: url('../img/character-avatars/dw.jpg'); }
body .container main .profiles_player_card:is(.DK,.BK,.BM,.DGK,.IGK) { --omega-profile-portrait: url('../img/character-avatars/dk.jpg'); }
body .container main .profiles_player_card:is(.ELF,.ME,.HE,.NE,.RYE) { --omega-profile-portrait: url('../img/character-avatars/elf.jpg'); }
body .container main .profiles_player_card:is(.MG,.DM,.MK,.DPK) { --omega-profile-portrait: url('../img/character-avatars/mg.jpg'); }
body .container main .profiles_player_card:is(.DL,.LE,.EL,.FCE) { --omega-profile-portrait: url('../img/character-avatars/dl.jpg'); }
body .container main .profiles_player_card:is(.SUM,.BS,.DSM,.DS,.ESUM) { --omega-profile-portrait: url('../img/character-avatars/sum.jpg'); }
body .container main .profiles_player_card:is(.RF,.FM,.FB,.BF) { --omega-profile-portrait: url('../img/character-avatars/rf.jpg'); }
body .container main .profiles_player_card:is(.GL,.ML,.SL,.AL) { --omega-profile-portrait: url('../img/character-avatars/gl.jpg'); }
body .container main .profiles_player_card:is(.RW,.RSM,.GRM,.MRW,.IRW) { --omega-profile-portrait: url('../img/character-avatars/rw.jpg'); }
body .container main .profiles_player_card::before {
    content: "";
    box-sizing: border-box;
    display: block;
    grid-column: 1;
    grid-row: 1;
    width: 100px;
    height: 100px;
    border: 1px solid #8e7a55;
    border-radius: 10px;
    background-color: #10131b;
    background-image: var(--omega-profile-portrait);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    box-shadow: 0 0 0 4px #20232b;
}
body .container main .profiles_player_content {
    display: contents;
    float: none;
    width: auto;
    color: inherit;
}
body .container main .profiles_player_card .profiles_player_table {
    box-sizing: border-box;
    display: table;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    margin: 0;
    border: 0;
    border-collapse: separate;
    border-spacing: 0;
    table-layout: fixed;
    overflow: visible;
    background: transparent;
    color: inherit;
    font-size: 13px;
}
body .container main .profiles_player_content > .profiles_player_table:first-child {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
}
body .container main .profiles_player_card .profiles_player_table .cname {
    padding: 0 0 6px;
    color: #e7e9ee;
    text-align: left;
    font-family: inherit;
    font-size: clamp(24px, 2.2vw, 30px);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -.025em;
    overflow-wrap: anywhere;
    text-shadow: none;
}
body .container main .profiles_player_card .profiles_player_table .cclass {
    padding: 0;
    color: #c7aa73;
    text-align: left;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.6;
    overflow-wrap: anywhere;
    text-shadow: none;
}
body .container main .profiles_player_content > .profiles_player_table_info {
    grid-column: 1 / -1;
    border: 1px solid #303643;
    border-radius: 8px;
    overflow: hidden;
}
body .container main .profiles_player_card .profiles_player_table_info tr { background: #141822; }
body .container main .profiles_player_card .profiles_player_table_info tr:nth-child(even) { background: #1a1f29; }
body .container main .profiles_player_card .profiles_player_table_info td {
    box-sizing: border-box;
    padding: 10px 16px;
    border: 0;
    border-bottom: 1px solid #2b313d;
    background: transparent;
    line-height: 1.45;
    vertical-align: middle;
    white-space: normal;
    overflow-wrap: anywhere;
}
body .container main .profiles_player_card .profiles_player_table_info tr:last-child td { border-bottom: 0; }
body .container main .profiles_player_card .profiles_player_table_info td:first-child {
    width: 55%;
    color: #a6acb9;
    text-align: left;
    font-weight: 400;
}
body .container main .profiles_player_card .profiles_player_table_info td:last-child {
    color: #e7e9ee;
    text-align: right;
    font-size: 14px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}
body .container main .profiles_player_card .profiles_player_table_info td.isonline { color: #74cda8; }
body .container main .profiles_player_card .profiles_player_table_info td.isoffline { color: #c6adb4; }
body .container main .profiles_player_card .profiles_player_table_info a {
    color: #c7aa73;
    text-decoration: underline;
    text-decoration-color: #6d6048;
    text-underline-offset: 3px;
    overflow-wrap: anywhere;
}
body .container main .profiles_player_card .profiles_player_table_info a:hover { color: #e5cd9e; text-decoration-color: currentColor; }
@media (max-width: 600px) {
    body .container main .profiles_player_card { grid-template-columns: 80px minmax(0, 1fr); gap: 16px; padding: 18px; }
    body .container main .profiles_player_card::before { width: 80px; height: 80px; border-radius: 8px; }
    body .container main .profiles_player_card .profiles_player_table .cname { font-size: 23px; }
    body .container main .profiles_player_card .profiles_player_table .cclass { font-size: 12px; }
    body .container main .profiles_player_card .profiles_player_table_info td { padding: 9px 12px; font-size: 12px; }
    body .container main .profiles_player_card .profiles_player_table_info td:last-child { font-size: 13px; }
}
@media (forced-colors: active) {
    body .container main .profiles_player_card,
    body .container main .profiles_player_card::before,
    body .container main .profiles_player_content > .profiles_player_table_info,
    body .container main .profiles_player_card .profiles_player_table_info td { border-color: CanvasText; }
}

/* Profile spacing retained independently of the restored home layout. */
body .container > main:has(> .profiles_player_card) { padding: 24px; }
@media (max-width:600px) {
    body .container > main:has(> .profiles_player_card) { padding: 12px; }
}

/* BEGIN OMEGA FORUM BANNER FIT 29
 * The native 280px banner must fit inside the available sidebar width.
 * Preserve the full original artwork and its natural image ratio.
 */
body .container > .sidebar-left .sidebar-community-banner {
    box-sizing: border-box;
    width: 100%;
    max-width: 280px;
    min-width: 0;
    height: auto;
}
body .container > .sidebar-left .sidebar-community-banner > a {
    width: 100%;
    height: auto;
}
body .container > .sidebar-left .sidebar-community-banner > a > img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    transform: none;
}
/* END OMEGA FORUM BANNER FIT 29 */

/* BEGIN OMEGA READING AND TYPOGRAPHY POLISH 31
 * Reuse the installed Inter/Montserrat faces. No article gets a special scale.
 * Page headings, column geometry, artwork and the original copy stay intact.
 */
body {
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-kerning: normal;
}
body .container > aside .sidebar-module > h3,
body .container .premium-server-info .module-header h3 {
    font-weight: 600;
    line-height: 1.45;
    letter-spacing: .025em;
}
body .container main .news-item-meta {
    font-size: 12px;
    line-height: 1.65;
    font-weight: 400;
    font-variant-numeric: tabular-nums;
}
body .container main .rank-card__subtitle {
    font-size: 12px;
    line-height: 1.5;
    font-weight: 400;
}
body .container .premium-server-info .module-header small {
    font-size: 11px;
    line-height: 1.5;
    font-weight: 400;
}
body .container main .news-item-content {
    color: #cbd1dc;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.8;
    letter-spacing: 0;
    overflow-wrap: anywhere;
}
body .container main .news-item-content p {
    margin: 0 0 1.1em;
    line-height: inherit;
}
body .container main .news-item-content p + p { margin-top: 0; }
body .container main .news-item-content :is(h1,h2,h3) {
    margin: 1.55em 0 .65em;
    color: #e7e9ee;
    font-family: 'Montserrat', 'Inter', sans-serif;
    font-weight: 600;
    line-height: 1.45;
    letter-spacing: -.012em;
    overflow-wrap: anywhere;
}
body .container main .news-item-content h1 { font-size: 21px; }
body .container main .news-item-content h2 {
    padding-bottom: .55em;
    border-bottom: 1px solid #303744;
    font-size: 18px;
}
body .container main .news-item-content h3 { font-size: 16px; }
body .container main .news-item-content > :is(h1,h2,h3):first-child { margin-top: 0; }
body .container main .news-item-content > p:has(> img:only-child) + :is(h1,h2,h3) { margin-top: 1em; }
body .container main .news-item-content strong {
    color: #e7e9ee;
    font-weight: 600;
}
body .container main .news-item-content :is(ul,ol) {
    margin: .8em 0 1.2em;
    padding-inline-start: 1.4em;
}
body .container main .news-item-content ul { list-style: disc outside; }
body .container main .news-item-content ol { list-style: decimal outside; }
body .container main .news-item-content li { padding-inline-start: .25em; }
body .container main .news-item-content li + li { margin-top: .55em; }
body .container main .news-item-content li::marker { color: #b7a17b; }
body .container main .news-item-content li > p:last-child { margin-bottom: 0; }
body .container main .news-item-content a:not(.news-readmore) {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    text-decoration-color: #80715b;
    overflow-wrap: anywhere;
}
body .container main .news-item-content hr {
    height: 0;
    margin: 1.6em 0;
    border: 0;
    border-top: 1px solid #303744;
}
body .container main .news-item-content blockquote {
    margin: 1.3em 0;
    padding: 12px 16px;
    border-left: 2px solid #9e8964;
    background: #1b202a;
    color: #d6dbe4;
}
body .container main .news-item-content blockquote > p:last-child { margin-bottom: 0; }
body .container main .news-item-content iframe {
    display: block;
    width: 100%;
    max-width: 527px;
    height: auto;
    aspect-ratio: 527 / 315;
}
@media (max-width:600px) {
    body .container main .news-item-content {
        padding-right: 14px;
        padding-left: 14px;
        font-size: 14px;
        line-height: 1.75;
    }
    body .container main .news-item-content h1 { font-size: 18px; }
    body .container main .news-item-content h2 { font-size: 16px; }
    body .container main .news-item-content h3 { font-size: 15px; }
    body .container main .news-item-content :is(ul,ol) { padding-inline-start: 1.3em; }
    body .container main .news-item-content blockquote { padding: 10px 12px; }
}
/* END OMEGA READING AND TYPOGRAPHY POLISH 31 */

/* BEGIN OMEGA CONTROL AND INTERACTION FINISHES 31
 * Existing module controls keep their meaning, colors and destinations.
 * Top navigation, article hierarchy and all grid proportions are untouched.
 */
body .auth-wrapper .auth-form .btn-more,
body .container aside .login-form .btn-more,
body .container main :is(.btn-more,.btn-orange,.btn-download),
body .container main .omega-downloads .omega-download-btn,
body .container .sidebar-right .castle-owner-widget .cs-details-btn {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 0;
    min-height: 44px;
    max-width: 100%;
    padding: 10px 12px;
    border-radius: 8px;
    font-family: inherit;
    font-weight: 600;
    line-height: 1.45;
    text-align: center;
    white-space: normal;
    overflow-wrap: anywhere;
    text-decoration: none;
    text-shadow: none;
    transform: none;
    transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}
body .auth-wrapper .auth-form .btn-more { min-height: 48px; font-size: 14px; }
body .container aside .login-form .btn-more { font-size: 13px; }
body .container .sidebar-right .castle-owner-widget .cs-details-btn { font-size: 12px; }
body .container main .omega-downloads .omega-download-btn > span { min-width: 0; }

/* Arrow links use the same rhythm while retaining their quieter treatment. */
body .container .sidebar-module > .view-all-link,
body .container .sidebar-module:has(> h3 > :is(.fa-medal,.fa-shield-alt)) > .view-all-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    max-width: 100%;
    padding: 8px 4px;
    line-height: 1.45;
    white-space: normal;
    overflow-wrap: anywhere;
    text-align: center;
    transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

/* Normalize icon slots, never Font Awesome's family or glyph weight. */
body .container .sidebar-module > h3 > i,
body .container .sidebar-right .castle-owner-widget > h3 > i,
body .container .sidebar-module:has(> h3 > :is(.fa-medal,.fa-shield-alt)) > h3 > i,
body .container .sidebar-right .premium-server-info .module-icon {
    box-sizing: border-box;
    display: inline-flex;
    flex: 0 0 28px;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    font-size: 13px;
    line-height: 1;
}
body .container .sidebar-right .premium-server-info .module-icon > i { font-size: 13px; line-height: 1; }
body .container .rank-card__badge > i { font-size: 14px; line-height: 1; }
body .container :is(.btn-more,.btn-orange,.btn-download,.omega-download-btn,.cs-details-btn,.view-all-link) > i,
body .container .sidebar-right .castle-owner-widget .cs-details-btn > i,
body .container .sidebar-module:has(> h3 > :is(.fa-medal,.fa-shield-alt)) > .view-all-link > i,
body .auth-wrapper .auth-form .btn-more > i {
    display: inline-flex;
    flex: 0 0 1em;
    align-items: center;
    justify-content: center;
    width: 1em;
    min-width: 1em;
    font-size: 14px;
    line-height: 1;
}
body .container .social-widgets-module .social-widget {
    transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}
body .container .social-widgets-module .social-widget > i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* Quiet row feedback follows the links a visitor can actually use. */
body .container .sidebar-module > .ranking-item {
    transition: background-color 160ms ease, border-color 160ms ease;
}
body .container .sidebar-module > .ranking-item :is(.rank-name,.player-name) a,
body .container main .news-readmore,
body .container main .rankings-table a {
    transition: color 160ms ease, text-decoration-color 160ms ease;
}
body .container main table:is(.rankings-table,.topmoney-table) tr[data-omega-rank-row] > td {
    transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}
body .container .sidebar-module > .ranking-item:focus-within { background-color: #1b202a; }
body .container main table:is(.rankings-table,.topmoney-table) tr[data-omega-rank-row]:focus-within > td { background: #202633 !important; }
body .container main table:is(.rankings-table,.topmoney-table) tr[data-omega-podium]:focus-within > td {
    background: var(--omega-table-hover) !important;
    border-color: var(--omega-table-line) !important;
}
body .container main table:is(.rankings-table,.topmoney-table) tr[data-omega-podium]:focus-within > td[data-omega-rank-cell] { border-left-color: var(--omega-table-medal) !important; }

body .auth-wrapper .auth-form .btn-more:focus-visible,
body .container aside .login-form .btn-more:focus-visible,
body .container main .omega-downloads .omega-download-btn:focus-visible,
body .container .sidebar-right .castle-owner-widget .cs-details-btn:focus-visible,
body .container .sidebar-module:has(> h3 > :is(.fa-medal,.fa-shield-alt)) > .view-all-link:focus-visible,
body .container .social-widgets-module .social-widget:focus-visible,
body .container :is(.btn-more,.btn-orange,.btn-download,.omega-download-btn,.cs-details-btn,.view-all-link,.social-widget):focus-visible {
    outline: 2px solid #d7bd8d;
    outline-offset: 3px;
}
@media (hover:hover) and (pointer:fine) {
    body .container .sidebar-module > .ranking-item:hover { background-color: #1b202a; }
    body .auth-wrapper .auth-form .btn-more:not(:disabled):not([aria-disabled="true"]):not(.disabled):hover,
    body .container aside .login-form .btn-more:not(:disabled):not([aria-disabled="true"]):not(.disabled):hover,
    body .container main :is(.btn-more,.btn-orange,.btn-download):not(:disabled):not([aria-disabled="true"]):not(.disabled):hover,
    body .container main .omega-downloads .omega-download-btn:not([aria-disabled="true"]):not(.disabled):hover,
    body .container .sidebar-right .castle-owner-widget .cs-details-btn:not([aria-disabled="true"]):not(.disabled):hover {
        border-color: #cf7b89;
        background: #b33348;
        color: #fff7f4;
        box-shadow: none;
        transform: none;
    }
}
/* Style only actual disabled states supplied by the original module. */
body .auth-wrapper .auth-form .btn-more:is(:disabled,[aria-disabled="true"],.disabled),
body .container aside .login-form .btn-more:is(:disabled,[aria-disabled="true"],.disabled),
body .container main .omega-downloads .omega-download-btn:is(:disabled,[aria-disabled="true"],.disabled),
body .container .sidebar-right .castle-owner-widget .cs-details-btn:is(:disabled,[aria-disabled="true"],.disabled),
body .container :is(.btn-more,.btn-orange,.btn-download,.omega-download-btn,.cs-details-btn):is(:disabled,[aria-disabled="true"],.disabled) {
    border-color: #424855;
    background: #2a2e38;
    color: #a6acb9;
    cursor: not-allowed;
    opacity: .7;
    box-shadow: none;
    transform: none;
}
@media (max-width:600px) {
    body .auth-wrapper .auth-form .btn-more { min-height: 44px; }
    body .container .sidebar-right .castle-owner-widget .cs-details-btn { padding-right: 10px; padding-left: 10px; }
    body .container .social-widgets-module .social-widget > span { min-width: 0; overflow-wrap: anywhere; }
}
@media (prefers-reduced-motion:reduce) {
    body .auth-wrapper .auth-form .btn-more,
    body .container :is(.btn-more,.btn-orange,.btn-download,.omega-download-btn,.cs-details-btn,.view-all-link,.social-widget,.ranking-item,.news-readmore),
    body .container main table:is(.rankings-table,.topmoney-table) tr[data-omega-rank-row] > td,
    body .container .sidebar-module > .ranking-item :is(.rank-name,.player-name) a,
    body .container main .rankings-table a { transition: none !important; }
}
/* END OMEGA CONTROL AND INTERACTION FINISHES 31 */

/* BEGIN OMEGA CLASS PORTRAIT FINISH 31
 * Decorative family symbols supplement the native visible class name.
 * Portraits retain their original 100px / 80px size and source files.
 */
body .container main .profiles_player_card {
    --omega-class-emblem: "\f132";
}
body .container main .profiles_player_card:is(.DW,.SM,.GM,.SW,.DSW) { --omega-class-emblem: "\f72b"; }
body .container main .profiles_player_card:is(.DK,.BK,.BM,.DGK,.IGK) { --omega-class-emblem: "\f3ed"; }
body .container main .profiles_player_card:is(.ELF,.ME,.HE,.NE,.RYE) { --omega-class-emblem: "\f140"; }
body .container main .profiles_player_card:is(.MG,.DM,.MK,.DPK) { --omega-class-emblem: "\f66d"; }
body .container main .profiles_player_card:is(.DL,.LE,.EL,.FCE) { --omega-class-emblem: "\f521"; }
body .container main .profiles_player_card:is(.SUM,.BS,.DSM,.DS,.ESUM) { --omega-class-emblem: "\f186"; }
body .container main .profiles_player_card:is(.RF,.FM,.FB,.BF) { --omega-class-emblem: "\f6de"; }
body .container main .profiles_player_card:is(.GL,.ML,.SL,.AL) { --omega-class-emblem: "\f441"; }
body .container main .profiles_player_card:is(.RW,.RSM,.GRM,.MRW,.IRW) { --omega-class-emblem: "\f6e8"; }
body .container main .profiles_player_card::before {
    border-color: #b49a68;
    box-shadow: 0 0 0 3px #242831, 0 0 0 4px #514a3d, 0 5px 12px rgba(0,0,0,.20);
    transition: border-color 160ms ease;
}
body .container main .profiles_player_card::after {
    content: var(--omega-class-emblem) / "";
    box-sizing: border-box;
    display: grid;
    place-items: center;
    grid-column: 1;
    grid-row: 1;
    align-self: end;
    justify-self: end;
    z-index: 1;
    width: 30px;
    height: 30px;
    margin: 0 -5px -5px 0;
    border: 1px solid #8f7b55;
    border-radius: 8px;
    background: #171b24;
    color: #c7aa73;
    box-shadow: 0 0 0 3px #171b24;
    font-family: "Font Awesome 6 Free";
    font-size: 13px;
    font-style: normal;
    font-weight: 900;
    font-variant: normal;
    font-synthesis: none;
    line-height: 1;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    pointer-events: none;
    transition: border-color 160ms ease, color 160ms ease;
}
body .container main .profiles_player_card:focus-within::before { border-color: #dcc38f; }
@media (hover:hover) and (pointer:fine) {
    body .container main .profiles_player_card:hover::before { border-color: #dcc38f; }
    body .container main .profiles_player_card:hover::after { border-color: #c7aa73; color: #e5cd9e; }
}
@media (max-width:600px) {
    body .container main .profiles_player_card::after {
        width: 26px;
        height: 26px;
        margin-right: -4px;
        margin-bottom: -4px;
        border-radius: 7px;
        font-size: 11px;
    }
}
@media (prefers-reduced-motion:reduce) {
    body .container main .profiles_player_card::before,
    body .container main .profiles_player_card::after { transition: none !important; }
}
@media (forced-colors:active) {
    body .container main .profiles_player_card::before,
    body .container main .profiles_player_card::after { border-color: CanvasText; box-shadow: none; }
    body .container main .profiles_player_card::after { background: Canvas; color: CanvasText; }
}
/* END OMEGA CLASS PORTRAIT FINISH 31 */

/* BEGIN OMEGA VIVID CARMINE AND GOLD PALETTE 33
 * Opaque midnight surfaces, warmer gold and clearer text; original geometry stays.
 * Action colors and podium medals are handled independently.
 */
html:root {
    --omega-vivid-base: #0e1421;
    --omega-vivid-panel: #1c2433;
    --omega-vivid-inset: #151d2b;
    --omega-vivid-raised: #242f43;
    --omega-vivid-border: #3e506a;
    --omega-vivid-text: #f5f4f0;
    --omega-vivid-muted: #b8c3d6;
    --omega-vivid-gold: #f8c35c;
    --omega-vivid-gold-light: #ffe1a0;
    --omega-vivid-rose: #ffb0b8;
    --omega-vivid-red: #cd3446;
    --omega-vivid-positive: #65e3b4;
    --bg-main: var(--omega-vivid-base);
    --bg-card: var(--omega-vivid-panel);
    --text-primary: var(--omega-vivid-text);
    --text-secondary: var(--omega-vivid-muted);
    --border-color: var(--omega-vivid-border);
    --omega-classic-surface: var(--omega-vivid-panel);
    --omega-classic-border: var(--omega-vivid-border);
    --omega-classic-muted: var(--omega-vivid-muted);
    --omega-accent-strong: var(--omega-vivid-red);
    --omega-accent-primary: #ff8d9f;
    --omega-accent-text: var(--omega-vivid-rose);
    --omega-accent-rgb: 205,52,70;
    --omega-on-primary: #fff7f4;
    --omega-focus: var(--omega-vivid-gold);
    --omega-metal-mid: var(--omega-vivid-gold);
    --omega-metal-light: var(--omega-vivid-gold-light);
}
body { background-color: var(--omega-vivid-base); color: var(--omega-vivid-text); }
body > header .header-video-overlay { background: linear-gradient(180deg,rgba(8,12,22,.12),rgba(10,15,26,.28) 60%,#0e1421); }

/* Keep a quiet dark dock around the existing primary Downloads action. */
body > nav { background: #241a25; border-color: #67434f; }
body > nav > #nav-menu > li > a[href],
body > nav .language-selector > .dropdown-toggle { color: #e0e5ef !important; }
body > nav > #nav-menu > li > a[href] > i { color: #efd09c; }
body > nav > #nav-menu > li > a[href].active { background: #332536 !important; color: #fff1d7 !important; }
body > nav > #nav-menu > li > a[href].active::after { background: var(--omega-vivid-gold); }
body > nav .language-selector > .dropdown-toggle { background: #2d2331 !important; border-color: #67434f !important; }
body > nav .language-dropdown { background: #241d2b !important; border-color: #67434f !important; }
body > nav .language-dropdown li a { color: #e0e5ef !important; }
body > nav .language-dropdown li.active a,
body > nav .language-dropdown li a:focus-visible { background: #463044 !important; color: #ffe1a0 !important; }
body > nav .language-dropdown li.active a > i { color: var(--omega-vivid-gold); }
body > nav .menu-toggle { background: #2d2331; border-color: #85604f; color: var(--omega-vivid-gold-light); }
body > nav > #nav-menu > li > a[href]:focus-visible,
body > nav .language-selector > .dropdown-toggle:focus-visible,
body > nav .language-selector.open > .dropdown-toggle,
body > nav .language-selector.show > .dropdown-toggle,
body > nav .language-selector > .dropdown-toggle[aria-expanded="true"] { background: #3b2736 !important; color: #fff1d7 !important; }
@media (hover:hover) and (pointer:fine) {
    body > nav > #nav-menu > li > a[href]:hover,
    body > nav .language-selector > .dropdown-toggle:hover { background: #3b2736 !important; color: #fff1d7 !important; }
    body > nav .language-dropdown li a:hover { background: #463044 !important; color: #ffe1a0 !important; }
}

body > header .simple-rank-card,
body .container > main,
body .container .sidebar-module,
body .container main .rank-card--livekills,
body .container main .news-item,
body .container .social-widgets-module,
body .auth-wrapper .auth-card { background: var(--omega-vivid-panel); border-color: var(--omega-vivid-border); }
body .container > main { border-top-color: var(--omega-vivid-red); }
body .container .sidebar-module > h3,
body .container .sidebar-right .premium-server-info .module-header,
body .container .sidebar-module:has(> h3 > :is(.fa-medal,.fa-shield-alt)) > h3 { color: var(--omega-vivid-text); border-bottom-color: #48536a; }
body .container .sidebar-module > h3 > i,
body .container .sidebar-right .castle-owner-widget > h3 > i,
body .container .sidebar-right .premium-server-info .module-icon,
body .container .sidebar-module:has(> h3 > :is(.fa-medal,.fa-shield-alt)) > h3 > i { color: var(--omega-vivid-gold); }
body .container main .rank-card__badge { background: #823747; color: #fff3d9; border-color: #b66460; }
body .container main .rank-card__title { color: var(--omega-vivid-text); }
body .container main .rank-card__subtitle { color: var(--omega-vivid-muted); }
body .container main .kill-line { background: #182030; border-color: #35445b; }
body .container main .ki-time { color: #bac7dc; }
body .container main .ki-killer { color: #ffd98b; }
body .container main .ki-victim { color: #ffb0b8; }

/* All articles share the same colors, including the first one. */
body .container main .news-item-header { background: var(--omega-vivid-raised); border-bottom-color: #465875; }
body .container main .news-item-title a { color: var(--omega-vivid-text); }
body .container main .news-item-meta,
body .container main .news-item-meta > span:last-child { color: var(--omega-vivid-muted); }
body .container main .news-item-meta i { color: #e6ba73; }
body .container main .news-item-content { color: #d7dfee; }
body .container main .news-item-content :is(h1,strong) { color: var(--omega-vivid-text); }
body .container main .news-item-content :is(h2,h3) { color: var(--omega-vivid-gold-light); border-bottom-color: #58607a; }
body .container main .news-item-content li::marker { color: var(--omega-vivid-gold); }
body .container main .news-item-content hr { border-top-color: #485974; }
body .container main .news-item-content blockquote { background: #252b3b; border-left-color: var(--omega-vivid-gold); color: #e2e8f4; }

body > header .simple-rank-card .card-image > div { background: #242c3d !important; border-color: #53617a !important; }
body > header .simple-rank-card .card-image > div > i { color: var(--omega-vivid-gold) !important; }
body > header .simple-rank-card:has(#ajax-online-players) .card-image > div > i,
body > header .simple-rank-card #ajax-online-players { color: var(--omega-vivid-positive) !important; }
body > header .simple-rank-card .card-label { color: var(--omega-vivid-muted) !important; }
body > header .simple-rank-card .player-name { color: var(--omega-vivid-text); }
body > header .simple-rank-card .card-stat { color: #ffdc96 !important; }

body .container .sidebar-right .premium-server-info .info-card,
body .container .sidebar-right .castle-owner-widget .cs-owner-header,
body .container .sidebar-right .castle-owner-widget .cs-countdown { background: var(--omega-vivid-inset); border-color: #3b4b63; }
body .container .sidebar-right .premium-server-info .info-left > i { color: var(--omega-vivid-gold); }
body .container .sidebar-right .premium-server-info .module-header small,
body .container .sidebar-right .premium-server-info .info-left > span,
body .container .sidebar-right .castle-owner-widget .cs-label { color: var(--omega-vivid-muted); }
body .container .sidebar-right .premium-server-info .info-right > strong,
body .container .sidebar-right .castle-owner-widget .cs-value,
body .container .sidebar-right .castle-owner-widget .cs-timer { color: var(--omega-vivid-text); }
body .container .sidebar-right .premium-server-info .info-right > small { color: #f5cd88; }
body .container .sidebar-right .premium-server-info .info-right > .badge.gold { background: #3b2e1d; border-color: #a27c3b; color: #ffdc96; }
body .container .sidebar-right .premium-server-info .status-fill { background: linear-gradient(90deg,#d53b4f,#ff8461); }
body .container .sidebar-right .castle-owner-widget .cs-guild-logo { background: #151d2b; border-color: #ab8548; }
body .container .sidebar-right .castle-owner-widget .cs-status-item .highlight { background: #392838; border-color: #86505c; color: var(--omega-vivid-gold-light); }

body .container .events-module .events-table td[data-omega-event-layout] { background: #182232; border-color: #3b4c65; }
body .container .events-module .events-table .ename { color: var(--omega-vivid-text); }
body .container .events-module .events-table .timepro { color: var(--omega-vivid-gold-light); }
body .container .events-module .events-table .ontime { color: var(--omega-vivid-positive); }
body .container .events-module .events-table .outtime { color: var(--omega-vivid-gold); }
body .container .events-module .omega-event-source-note { background: #162030; border-left-color: #ae8c52; color: var(--omega-vivid-muted); }
body .container .events-module .events-table .omega-event-reference { color: #ffe1a0; background: #383126; border-color: #776444; }
body .container .events-module .omega-event-times summary { color: var(--omega-vivid-gold); }
body .container .events-module .omega-event-times p { color: var(--omega-vivid-muted); }

body .auth-wrapper .auth-header > i { color: var(--omega-vivid-gold); }
body .auth-wrapper .auth-header h2 { color: var(--omega-vivid-text); }
body .auth-wrapper .auth-header p,
body .auth-wrapper .auth-form label { color: var(--omega-vivid-muted); }
body .auth-wrapper .auth-form .input-group > i,
body .container aside .login-form .input-group > i { color: #d8bb87; }
body .auth-wrapper .auth-form .input-group input,
body .container aside .login-form .input-group input { background: #141d2b; color: var(--omega-vivid-text); border-color: #4d607a; caret-color: var(--omega-vivid-gold-light); }
body .auth-wrapper .auth-form .input-group input::placeholder,
body .container aside .login-form .input-group input::placeholder { color: var(--omega-vivid-muted); }
body .auth-wrapper .auth-form .input-group input:focus,
body .container aside .login-form .input-group input:focus { background: #1a2435; border-color: var(--omega-vivid-gold); outline-color: var(--omega-vivid-gold); }
body .auth-wrapper .auth-form input[type="checkbox"] { accent-color: var(--omega-vivid-red); }
body .auth-wrapper .auth-body-content .alert { background: #232d3e; border-color: #586681; color: var(--omega-vivid-text); }
body .auth-wrapper .auth-body-content .alert-danger { background: #3b2030; border-color: #b65d73; color: #ffc1cc; }
body .auth-wrapper .auth-body-content .alert-success { background: #14312b; border-color: #399779; color: #84edc8; }
body .auth-wrapper .auth-body-content .alert-warning { background: #3c2f1b; border-color: #aa8747; color: #ffe1a0; }
body .auth-wrapper .auth-body-content .alert-info { background: #1d3045; border-color: #5e8cbe; color: #add2ff; }

body .container main .omega-downloads,
body .container main .omega-downloads .omega-client-card,
body .container main .omega-downloads .omega-client-card.remastered { background: var(--omega-vivid-panel); border-color: var(--omega-vivid-border); }
body .container main .omega-downloads .omega-download-hero-icon,
body .container main .omega-downloads .omega-help-icon { background: #3b2e1d; border-color: #9b7639; color: var(--omega-vivid-gold); }
body .container main .omega-downloads .omega-platform-icon,
body .container main .omega-downloads .omega-client-card.remastered .omega-platform-icon { background: #242f43; border-color: #536581; color: #edf2fb; }
body .container main .omega-downloads .omega-client-card.android .omega-platform-icon { background: #1b302d; border-color: #3e7653; color: #79e6a1; }
body .container main .omega-downloads .omega-card-badge,
body .container main .omega-downloads .omega-client-card.remastered .omega-card-badge { background: #3b2e1d; border-color: #9b7639; color: #ffe1a0; }
body .container main .omega-downloads .omega-download-hero h2,
body .container main .omega-downloads .omega-client-body h3,
body .container main .omega-downloads .omega-file-size strong,
body .container main .omega-downloads .omega-download-help strong { color: var(--omega-vivid-text); }
body .container main .omega-downloads :is(.omega-eyebrow,.omega-platform,.omega-original-description),
body .container main .omega-downloads .omega-download-hero p,
body .container main .omega-downloads .omega-file-size small,
body .container main .omega-downloads .omega-download-help p { color: var(--omega-vivid-muted); }
body .container main .omega-downloads .omega-client-subtitle,
body .container main .omega-downloads .omega-features > span { color: #d7dfee; }
body .container main .omega-downloads .omega-features i { color: var(--omega-vivid-gold); }
body .container main .omega-downloads .omega-client-card.remastered .omega-original-description { background: #3c2f1b; border-left-color: var(--omega-vivid-gold); color: #ffe1a0; }
body .container main .omega-downloads .omega-client-footer { background: #151d2b; border-top-color: #3e506a; }
body .container main .omega-downloads .omega-download-help { background: #151d2b; border-color: #3e506a; }

body .container main .profiles_player_card { background: var(--omega-vivid-panel); border-color: var(--omega-vivid-border); border-top-color: var(--omega-vivid-red); color: var(--omega-vivid-text); }
body .container main .profiles_player_card::before { background-color: #151d2b; border-color: var(--omega-vivid-gold); box-shadow: 0 0 0 3px #252d3a,0 0 0 4px #a78342,0 5px 12px rgba(0,0,0,.2); }
body .container main .profiles_player_card::after { background: #242d40; border-color: #cca45d; color: var(--omega-vivid-gold); box-shadow: 0 0 0 3px #1c2433; }
body .container main .profiles_player_card .profiles_player_table .cname { color: var(--omega-vivid-text); }
body .container main .profiles_player_card .profiles_player_table .cclass { color: var(--omega-vivid-gold); }
body .container main .profiles_player_content > .profiles_player_table_info { border-color: #44536c; }
body .container main .profiles_player_card .profiles_player_table_info tr { background: #172030; }
body .container main .profiles_player_card .profiles_player_table_info tr:nth-child(even) { background: #202a3b; }
body .container main .profiles_player_card .profiles_player_table_info td { border-bottom-color: #34425a; }
body .container main .profiles_player_card .profiles_player_table_info td:first-child { color: var(--omega-vivid-muted); }
body .container main .profiles_player_card .profiles_player_table_info td:last-child { color: var(--omega-vivid-text); }
body .container main .profiles_player_card .profiles_player_table_info td.isonline { color: var(--omega-vivid-positive); }
body .container main .profiles_player_card .profiles_player_table_info td.isoffline { color: #edb7c3; }
body .container main .profiles_player_card .profiles_player_table_info a { color: var(--omega-vivid-gold); text-decoration-color: #ad8b4e; }
body .container main .profiles_player_card:focus-within::before { border-color: var(--omega-vivid-gold-light); }

body .omega-footer { background: #0c1220; border-top-color: #77523f; }
body .omega-footer .omega-footer-description,
body .omega-footer .omega-footer-bottom-container,
body .omega-footer .omega-footer-credit,
body .omega-footer .omega-footer-version { color: var(--omega-vivid-muted); }
body .omega-footer .omega-footer-column h4 { color: #f5dfb4; }
body .omega-footer .omega-footer-column h4::after { background: #c99c4d; }
body .omega-footer .omega-footer-bottom { border-top-color: #34445e; }

@media (hover:hover) and (pointer:fine) {
    body .container .sidebar-module:hover,
    body .container main .rank-card--livekills:hover,
    body .container main .news-item:hover,
    body .container .sidebar-right .sidebar-module.premium-server-info:hover,
    body .container .sidebar-module:has(> h3 > :is(.fa-medal,.fa-shield-alt)):hover { border-color: #84664c; }
    body .container .sidebar-right .sidebar-module.castle-owner-widget:hover { border-color: #84664c !important; }
    body .container .sidebar-right .premium-server-info .info-card:hover { background: #202b3d; border-color: #756448; }
    body .container main .profiles_player_card:hover::before,
    body .container main .profiles_player_card:hover::after { border-color: var(--omega-vivid-gold-light); }
    body .container main .profiles_player_card:hover::after { color: var(--omega-vivid-gold-light); }
    body .container main .profiles_player_card .profiles_player_table_info a:hover { color: var(--omega-vivid-gold-light); }
}
/* END OMEGA VIVID CARMINE AND GOLD PALETTE 33 */

/* BEGIN OMEGA VIVID ACTION COLORS 33
 * Paint-only colors; existing sizes, type, motion and native states stay intact.
 */
html:root {
    --omega-button-face: linear-gradient(180deg,#cd3446,#a82137);
    --omega-button-hover: linear-gradient(180deg,#cc3046,#b42a40);
    --omega-button-pressed: #962036;
    --omega-on-primary: #fff7f4;
}
body .auth-wrapper .auth-form .btn-more,
body .container aside .login-form .btn-more,
body .container main :is(.btn-more,.btn-orange,.btn-download),
body .container main .omega-downloads .omega-download-btn,
body .container .sidebar-right .castle-owner-widget .cs-details-btn {
    background: var(--omega-button-face);
    border-color: #ed7180;
    color: #fff7f4;
}
body > nav > #nav-menu > li > a[href]:is([href$="/downloads/"],[href$="/downloads"]),
body > nav > #nav-menu > li > a[href]:is([href$="/downloads/"],[href$="/downloads"]).active {
    background: var(--omega-button-face) !important;
    border-color: #ed7180 !important;
    color: #fff7f4 !important;
}

/* CTA glyphs follow their label color, including muted disabled controls. */
body .container :is(.btn-more,.btn-orange,.btn-download,.omega-download-btn,.cs-details-btn,.view-all-link) > i,
body .container .sidebar-right .castle-owner-widget .cs-details-btn > i,
body .container .sidebar-module:has(> h3 > :is(.fa-medal,.fa-shield-alt)) > .view-all-link > i,
body .auth-wrapper .auth-form .btn-more > i { color: inherit; }

body .container .sidebar-module > .view-all-link,
body .container .sidebar-module:has(> h3 > :is(.fa-medal,.fa-shield-alt)) > .view-all-link,
body .container main .news-readmore {
    color: var(--omega-vivid-gold,#f8c35c);
    border-color: #4d5264;
}
body .container main .news-item-content a:not(:is(.btn-more,.btn-orange,.btn-download,.omega-download-btn,.news-readmore)) {
    color: var(--omega-vivid-gold,#f8c35c);
    text-decoration-color: #b48c44;
}
body .auth-wrapper .auth-footer-links a,
body .container aside .form-links a { color: var(--omega-vivid-rose,#ffb0b8); }

body .auth-wrapper .auth-form .btn-more:focus-visible,
body .container aside .login-form .btn-more:focus-visible,
body .container main .omega-downloads .omega-download-btn:focus-visible,
body .container .sidebar-right .castle-owner-widget .cs-details-btn:focus-visible,
body .container .sidebar-module:has(> h3 > :is(.fa-medal,.fa-shield-alt)) > .view-all-link:focus-visible,
body .container .social-widgets-module .social-widget:focus-visible,
body .container :is(.btn-more,.btn-orange,.btn-download,.omega-download-btn,.cs-details-btn,.view-all-link,.social-widget):focus-visible,
body > nav #nav-menu a:focus-visible,
body > nav .menu-toggle:focus-visible { outline-color: var(--omega-vivid-gold,#f8c35c); }
body .auth-wrapper .auth-form .input-group input:focus,
body .container aside .login-form .input-group input:focus {
    border-color: var(--omega-vivid-gold,#f8c35c);
    outline-color: var(--omega-vivid-gold,#f8c35c);
}

@media (hover:hover) and (pointer:fine) {
    body .auth-wrapper .auth-form .btn-more:not(:disabled):not([aria-disabled="true"]):not(.disabled):hover,
    body .container aside .login-form .btn-more:not(:disabled):not([aria-disabled="true"]):not(.disabled):hover,
    body .container main :is(.btn-more,.btn-orange,.btn-download):not(:disabled):not([aria-disabled="true"]):not(.disabled):hover,
    body .container main .omega-downloads .omega-download-btn:not([aria-disabled="true"]):not(.disabled):hover,
    body .container .sidebar-right .castle-owner-widget .cs-details-btn:not([aria-disabled="true"]):not(.disabled):hover {
        background: var(--omega-button-hover);
        border-color: #ff9ba7;
        color: #fff7f4;
    }
    body > nav > #nav-menu > li > a[href]:is([href$="/downloads/"],[href$="/downloads"]):not([aria-disabled="true"]):not(.disabled):hover {
        background: var(--omega-button-hover) !important;
        border-color: #ff9ba7 !important;
        color: #fff7f4 !important;
    }
    body .container .sidebar-module > .view-all-link:hover,
    body .container .sidebar-module:has(> h3 > :is(.fa-medal,.fa-shield-alt)) > .view-all-link:hover,
    body .container main .news-readmore:hover,
    body .container main .news-item-content a:not(:is(.btn-more,.btn-orange,.btn-download,.omega-download-btn,.news-readmore)):hover,
    body .auth-wrapper .auth-footer-links a:hover,
    body .container aside .form-links a:hover,
    body .container .sidebar-module .rank-name a:hover,
    body .container .sidebar-module .player-name a:hover,
    body .container main .rankings-table a:hover {
        color: #ffe1a0;
        text-decoration-color: currentColor;
    }
}
body .auth-wrapper .auth-form .btn-more:not(:disabled):not([aria-disabled="true"]):not(.disabled):active,
body .container aside .login-form .btn-more:not(:disabled):not([aria-disabled="true"]):not(.disabled):active,
body .container main :is(.btn-more,.btn-orange,.btn-download):not(:disabled):not([aria-disabled="true"]):not(.disabled):active,
body .container main .omega-downloads .omega-download-btn:not([aria-disabled="true"]):not(.disabled):active,
body .container .sidebar-right .castle-owner-widget .cs-details-btn:not([aria-disabled="true"]):not(.disabled):active {
    background: var(--omega-button-pressed);
    border-color: #e36c7c;
    color: #fff7f4;
}
body > nav > #nav-menu > li > a[href]:is([href$="/downloads/"],[href$="/downloads"]):not([aria-disabled="true"]):not(.disabled):active {
    background: var(--omega-button-pressed) !important;
    color: #fff7f4 !important;
}

/* Last and equally specific: a disabled module keeps the existing muted state. */
body .auth-wrapper .auth-form .btn-more:is(:disabled,[aria-disabled="true"],.disabled),
body .container aside .login-form .btn-more:is(:disabled,[aria-disabled="true"],.disabled),
body .container main .omega-downloads .omega-download-btn:is(:disabled,[aria-disabled="true"],.disabled),
body .container .sidebar-right .castle-owner-widget .cs-details-btn:is(:disabled,[aria-disabled="true"],.disabled),
body .container :is(.btn-more,.btn-orange,.btn-download,.omega-download-btn,.cs-details-btn):is(:disabled,[aria-disabled="true"],.disabled) {
    background: #2a2e38;
    border-color: #424855;
    color: #a6acb9;
}
body > nav > #nav-menu > li > a[href]:is([href$="/downloads/"],[href$="/downloads"]):is([aria-disabled="true"],.disabled) {
    background: #2a2e38 !important;
    border-color: #424855 !important;
    color: #a6acb9 !important;
}
/* END OMEGA VIVID ACTION COLORS 33 */

/* Compiled Tailwind UI layer. */
*, ::before, ::after {
    --tw-border-spacing-x: 0;
    --tw-border-spacing-y: 0;
    --tw-translate-x: 0;
    --tw-translate-y: 0;
    --tw-rotate: 0;
    --tw-skew-x: 0;
    --tw-skew-y: 0;
    --tw-scale-x: 1;
    --tw-scale-y: 1;
    --tw-pan-x:  ;
    --tw-pan-y:  ;
    --tw-pinch-zoom:  ;
    --tw-scroll-snap-strictness: proximity;
    --tw-gradient-from-position:  ;
    --tw-gradient-via-position:  ;
    --tw-gradient-to-position:  ;
    --tw-ordinal:  ;
    --tw-slashed-zero:  ;
    --tw-numeric-figure:  ;
    --tw-numeric-spacing:  ;
    --tw-numeric-fraction:  ;
    --tw-ring-inset:  ;
    --tw-ring-offset-width: 0px;
    --tw-ring-offset-color: #fff;
    --tw-ring-color: rgb(59 130 246 / 0.5);
    --tw-ring-offset-shadow: 0 0 #0000;
    --tw-ring-shadow: 0 0 #0000;
    --tw-shadow: 0 0 #0000;
    --tw-shadow-colored: 0 0 #0000;
    --tw-blur:  ;
    --tw-brightness:  ;
    --tw-contrast:  ;
    --tw-grayscale:  ;
    --tw-hue-rotate:  ;
    --tw-invert:  ;
    --tw-saturate:  ;
    --tw-sepia:  ;
    --tw-drop-shadow:  ;
    --tw-backdrop-blur:  ;
    --tw-backdrop-brightness:  ;
    --tw-backdrop-contrast:  ;
    --tw-backdrop-grayscale:  ;
    --tw-backdrop-hue-rotate:  ;
    --tw-backdrop-invert:  ;
    --tw-backdrop-opacity:  ;
    --tw-backdrop-saturate:  ;
    --tw-backdrop-sepia:  ;
    --tw-contain-size:  ;
    --tw-contain-layout:  ;
    --tw-contain-paint:  ;
    --tw-contain-style:  ;
}
::backdrop {
    --tw-border-spacing-x: 0;
    --tw-border-spacing-y: 0;
    --tw-translate-x: 0;
    --tw-translate-y: 0;
    --tw-rotate: 0;
    --tw-skew-x: 0;
    --tw-skew-y: 0;
    --tw-scale-x: 1;
    --tw-scale-y: 1;
    --tw-pan-x:  ;
    --tw-pan-y:  ;
    --tw-pinch-zoom:  ;
    --tw-scroll-snap-strictness: proximity;
    --tw-gradient-from-position:  ;
    --tw-gradient-via-position:  ;
    --tw-gradient-to-position:  ;
    --tw-ordinal:  ;
    --tw-slashed-zero:  ;
    --tw-numeric-figure:  ;
    --tw-numeric-spacing:  ;
    --tw-numeric-fraction:  ;
    --tw-ring-inset:  ;
    --tw-ring-offset-width: 0px;
    --tw-ring-offset-color: #fff;
    --tw-ring-color: rgb(59 130 246 / 0.5);
    --tw-ring-offset-shadow: 0 0 #0000;
    --tw-ring-shadow: 0 0 #0000;
    --tw-shadow: 0 0 #0000;
    --tw-shadow-colored: 0 0 #0000;
    --tw-blur:  ;
    --tw-brightness:  ;
    --tw-contrast:  ;
    --tw-grayscale:  ;
    --tw-hue-rotate:  ;
    --tw-invert:  ;
    --tw-saturate:  ;
    --tw-sepia:  ;
    --tw-drop-shadow:  ;
    --tw-backdrop-blur:  ;
    --tw-backdrop-brightness:  ;
    --tw-backdrop-contrast:  ;
    --tw-backdrop-grayscale:  ;
    --tw-backdrop-hue-rotate:  ;
    --tw-backdrop-invert:  ;
    --tw-backdrop-opacity:  ;
    --tw-backdrop-saturate:  ;
    --tw-backdrop-sepia:  ;
    --tw-contain-size:  ;
    --tw-contain-layout:  ;
    --tw-contain-paint:  ;
    --tw-contain-style:  ;
}
.om-pointer-events-none {
    pointer-events: none;
}
.om-absolute {
    position: absolute;
}
.om-relative {
    position: relative;
}
.om-bottom-full {
    bottom: 100%;
}
.om-right-0 {
    right: 0px;
}
.om-mb-2 {
    margin-bottom: 0.5rem;
}
.om-inline-flex {
    display: inline-flex;
}
.om-h-11 {
    height: 2.75rem;
}
.om-h-full {
    height: 100%;
}
.om-min-h-11 {
    min-height: 2.75rem;
}
.om-w-11 {
    width: 2.75rem;
}
.om-w-full {
    width: 100%;
}
.om-items-center {
    align-items: center;
}
.om-justify-center {
    justify-content: center;
}
.om-gap-2 {
    gap: 0.5rem;
}
.om-whitespace-nowrap {
    white-space: nowrap;
}
.om-rounded-lg {
    border-radius: 0.5rem;
}
.om-rounded-md {
    border-radius: 0.375rem;
}
.om-border {
    border-width: 1px;
}
.om-border-0 {
    border-width: 0px;
}
.om-border-solid {
    border-style: solid;
}
.om-border-\[\#303644\] {
    --tw-border-opacity: 1;
    border-color: rgb(48 54 68 / var(--tw-border-opacity, 1));
}
.om-border-transparent {
    border-color: transparent;
}
.om-bg-\[\#181c25\] {
    --tw-bg-opacity: 1;
    background-color: rgb(24 28 37 / var(--tw-bg-opacity, 1));
}
.om-bg-\[\#c83f52\] {
    --tw-bg-opacity: 1;
    background-color: rgb(200 63 82 / var(--tw-bg-opacity, 1));
}
.om-bg-transparent {
    background-color: transparent;
}
.om-p-0 {
    padding: 0px;
}
.om-px-2 {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}
.om-px-2\.5 {
    padding-left: 0.625rem;
    padding-right: 0.625rem;
}
.om-px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}
.om-py-1\.5 {
    padding-top: 0.375rem;
    padding-bottom: 0.375rem;
}
.om-py-2 {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}
.om-text-sm {
    font-size: 0.875rem;
    line-height: 1.25rem;
}
.om-text-xs {
    font-size: 0.75rem;
    line-height: 1rem;
}
.om-font-medium {
    font-weight: 500;
}
.om-leading-none {
    line-height: 1;
}
.om-text-white {
    --tw-text-opacity: 1;
    color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}
.om-text-zinc-100 {
    --tw-text-opacity: 1;
    color: rgb(244 244 245 / var(--tw-text-opacity, 1));
}
.om-text-zinc-400 {
    --tw-text-opacity: 1;
    color: rgb(161 161 170 / var(--tw-text-opacity, 1));
}
.om-shadow-lg {
    --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.om-transition-colors {
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}
/* Modern native-template bridge. Compile with Tailwind 3, prefix om-, no preflight.
 * The runtime marker scopes every change; Original removes the marker.
 * Native grid tracks, page headings, editorial artwork and data are preserved.
 */
body[data-omega-ui="modern"] {
    --om-base: #0b0d12;
    --om-panel: #12151c;
    --om-raised: #181c25;
    --om-line: #282e3a;
    --om-text: #f4f4f5;
    --om-muted: #a1a1aa;
    --om-accent: #c83f52;
    --om-gold: #e3bb76;
    --bg-main: var(--om-base);
    --bg-card: var(--om-panel);
    --text-primary: var(--om-text);
    --text-secondary: var(--om-muted);
    --border-color: var(--om-line);
    --omega-classic-surface: var(--om-panel);
    --omega-classic-border: var(--om-line);
    --omega-classic-muted: var(--om-muted);
    --omega-vivid-base: var(--om-base);
    --omega-vivid-panel: var(--om-panel);
    --omega-vivid-inset: #10141c;
    --omega-vivid-raised: var(--om-raised);
    --omega-vivid-border: var(--om-line);
    --omega-vivid-text: var(--om-text);
    --omega-vivid-muted: var(--om-muted);
    --omega-vivid-gold: var(--om-gold);
    --omega-vivid-gold-light: #f3d59f;
    --omega-vivid-rose: #e9a4af;
    --omega-vivid-red: var(--om-accent);
    --omega-accent-strong: var(--om-accent);
    --omega-accent-primary: #d3909b;
    --omega-accent-text: #e9a4af;
    --omega-accent-rgb: 200,63,82;
    --omega-metal-mid: var(--om-gold);
    --omega-metal-light: #f3d59f;
    --omega-button-face: var(--om-accent);
    --omega-button-hover: #b9374a;
    --omega-button-pressed: #a62f41;
    --omega-focus: #e3bb76;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: var(--om-base);
    background-image: none !important;
    color: var(--om-text);
}

/* Quiet navigation: one primary action, familiar routes and language menu. */
body[data-omega-ui="modern"] > nav {
    border-radius: 0.75rem;
    --tw-shadow: 0 0 #0000;
    --tw-shadow-colored: 0 0 #0000;
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
    background: #11141b;
    border-color: #303542;
}
body[data-omega-ui="modern"] > nav > #nav-menu > li > a[href],
body[data-omega-ui="modern"] > nav .language-selector > .dropdown-toggle {
    background: transparent !important;
    color: #b8bdc8 !important;
    border-color: transparent !important;
    text-shadow: none !important;
    font-weight: 500;
}
body[data-omega-ui="modern"] > nav > #nav-menu > li > a[href] > i { color: #aeb6c4; }
body[data-omega-ui="modern"] > nav > #nav-menu > li > a[href].active {
    background: #1d222c !important;
    color: #f4f4f5 !important;
}
body[data-omega-ui="modern"] > nav > #nav-menu > li > a[href].active::after { background: #d2959e; box-shadow: none; }
body[data-omega-ui="modern"] > nav .language-dropdown {
    background: #151922 !important;
    border-color: #303542 !important;
    box-shadow: 0 10px 28px #0004 !important;
}
body[data-omega-ui="modern"] > nav .language-dropdown li a { color: #c3c7d0 !important; }
body[data-omega-ui="modern"] > nav .language-dropdown li.active a,
body[data-omega-ui="modern"] > nav .language-dropdown li a:focus-visible { background: #242a36 !important; color: #f4f4f5 !important; }
body[data-omega-ui="modern"] > nav .menu-toggle { background: #191e28; color: #e4e7ec; border-color: #303542; }
body[data-omega-ui="modern"] > header .header-video-overlay { background: linear-gradient(180deg,#0b0d1229,#0b0d1266 60%,#0b0d12); }
body[data-omega-ui="modern"] > header .logo-wrapper img { filter: drop-shadow(0 4px 12px #0008) !important; }

/* Native cards receive one restrained surface instead of stacked decorative frames. */
body[data-omega-ui="modern"] > header .simple-rank-card,
body[data-omega-ui="modern"] .container .sidebar-module,
body[data-omega-ui="modern"] .container .social-widgets-module,
body[data-omega-ui="modern"] .container main .rank-card--livekills,
body[data-omega-ui="modern"] .container main .news-item,
body[data-omega-ui="modern"] .container main .profiles_player_card,
body[data-omega-ui="modern"] .auth-wrapper .auth-card {
    border-radius: 0.75rem;
    background: var(--om-panel);
    border-color: var(--om-line) !important;
    box-shadow: 0 1px 2px #0002 !important;
}
body[data-omega-ui="modern"] .container > main { background: transparent; border-color: transparent; box-shadow: none !important; }
body[data-omega-ui="modern"] .container .sidebar-module > h3,
body[data-omega-ui="modern"] .container .premium-server-info .module-header,
body[data-omega-ui="modern"] .container .sidebar-module:has(> h3 > :is(.fa-medal,.fa-shield-alt)) > h3 {
    color: #dfe3ea;
    border-bottom-color: #252b36;
    letter-spacing: -.015em;
    font-weight: 600;
}
body[data-omega-ui="modern"] .container .sidebar-module > h3 > i,
body[data-omega-ui="modern"] .container .sidebar-right .castle-owner-widget > h3 > i,
body[data-omega-ui="modern"] .container .premium-server-info .module-icon,
body[data-omega-ui="modern"] .container .sidebar-module:has(> h3 > :is(.fa-medal,.fa-shield-alt)) > h3 > i { color: #aeb6c4; }
body[data-omega-ui="modern"] > header .simple-rank-card .card-image > div { background: #1a202b !important; border-color: #303846 !important; }
body[data-omega-ui="modern"] > header .simple-rank-card .card-image > div > i { color: #c3cad5 !important; }
body[data-omega-ui="modern"] > header .simple-rank-card .card-stat { color: #f4f4f5 !important; }
body[data-omega-ui="modern"] > header .simple-rank-card #ajax-online-players { color: #8ad9bb !important; }

/* Buttons and fields follow the compact, clear hierarchy of a Shadcn-style UI. */
body[data-omega-ui="modern"] .auth-wrapper .auth-form .btn-more,
body[data-omega-ui="modern"] .container aside .login-form .btn-more,
body[data-omega-ui="modern"] .container main :is(.btn-more,.btn-orange,.btn-download),
body[data-omega-ui="modern"] .container main .omega-downloads .omega-download-btn,
body[data-omega-ui="modern"] .container .sidebar-right .castle-owner-widget .cs-details-btn,
body[data-omega-ui="modern"] > nav > #nav-menu > li > a[href]:is([href$="/downloads/"],[href$="/downloads"]),
body[data-omega-ui="modern"] > nav > #nav-menu > li > a[href]:is([href$="/downloads/"],[href$="/downloads"]).active {
    border-radius: 0.5rem;
    background: #c83f52 !important;
    border-color: #da6574 !important;
    color: #fff7f4 !important;
    font-weight: 600;
    box-shadow: inset 0 1px 0 #ffffff0d !important;
    text-shadow: none !important;
}
body[data-omega-ui="modern"] .container .sidebar-right .castle-owner-widget .cs-details-btn::before { background: none; }
body[data-omega-ui="modern"] .auth-wrapper .auth-form .input-group input,
body[data-omega-ui="modern"] .container aside .login-form .input-group input {
    border-radius: 0.5rem;
    background: #0f1219;
    border-color: #303744;
    color: #eef0f4;
    box-shadow: none;
    caret-color: #e3bb76;
}
body[data-omega-ui="modern"] .auth-wrapper .auth-form .input-group input::placeholder,
body[data-omega-ui="modern"] .container aside .login-form .input-group input::placeholder { color: #939aa8; }
body[data-omega-ui="modern"] .auth-wrapper .auth-form .input-group input:focus,
body[data-omega-ui="modern"] .container aside .login-form .input-group input:focus { background: #141922; border-color: #ad7e87; outline-color: #ad7e87; }
body[data-omega-ui="modern"] .container .view-all-link,
body[data-omega-ui="modern"] .container .sidebar-module:has(> h3 > :is(.fa-medal,.fa-shield-alt)) > .view-all-link,
body[data-omega-ui="modern"] .container main .news-readmore,
body[data-omega-ui="modern"] .auth-wrapper .auth-footer-links a { color: #c4cad5; }
body[data-omega-ui="modern"] .container .sidebar-module > .ranking-item { border-bottom-color: #252b36; }
body[data-omega-ui="modern"] .container .rank-name,
body[data-omega-ui="modern"] .container .player-name { color: #e2e6ed; }

/* A single article scale and clean reading rhythm; no featured-first override. */
body[data-omega-ui="modern"] .container main .news-item-header { background: #161a22; border-bottom-color: #282e3a; }
body[data-omega-ui="modern"] .container main .news-item-title { font-size: 21px; line-height: 1.4; font-weight: 600; letter-spacing: -.025em; }
body[data-omega-ui="modern"] .container main .news-item-title a { color: #f4f4f5; }
body[data-omega-ui="modern"] .container main .news-item-meta,
body[data-omega-ui="modern"] .container main .news-item-meta > span:last-child { color: #969fae; }
body[data-omega-ui="modern"] .container main .news-item-meta i { color: #8791a2; }
body[data-omega-ui="modern"] .container main .news-item-content { color: #c8ced9; font-size: 14px; line-height: 1.8; }
body[data-omega-ui="modern"] .container main .news-item-content :is(h1,h2,h3,strong) { color: #e6e9ef; }
body[data-omega-ui="modern"] .container main .news-item-content :is(h2,hr) { border-color: #303745; }
body[data-omega-ui="modern"] .container main .news-item-content li::marker { color: #a68b63; }
body[data-omega-ui="modern"] .container main .news-item-content a:not(:is(.btn-more,.btn-orange,.btn-download,.omega-download-btn,.news-readmore)) { color: #d8be95; text-decoration-color: #78684f; }
body[data-omega-ui="modern"] .container main .news-item-content blockquote { background: #191e28; color: #cbd2df; border-left-color: #746851; }
body[data-omega-ui="modern"] .container main .rank-card__badge { background: #24202a; border-color: #4d3540; color: #d5a4ad; }
body[data-omega-ui="modern"] .container main .kill-line { background: #161b24; border-color: #252e3b; }
body[data-omega-ui="modern"] .container main .ki-killer { color: #d4c5ab; }
body[data-omega-ui="modern"] .container main .ki-victim { color: #dcb1b9; }

/* Structured values stay prominent; decoration becomes secondary. */
body[data-omega-ui="modern"] .container .sidebar-right .premium-server-info .info-card,
body[data-omega-ui="modern"] .container .sidebar-right .castle-owner-widget .cs-owner-header,
body[data-omega-ui="modern"] .container .sidebar-right .castle-owner-widget .cs-countdown { background: #0f131b; border-color: #262e3b; }
body[data-omega-ui="modern"] .container .sidebar-right .premium-server-info .info-left > i { color: #b7a88e; }
body[data-omega-ui="modern"] .container .sidebar-right .premium-server-info .info-right > .badge.gold { background: #29241d; color: #d9c194; border-color: #514633; }
body[data-omega-ui="modern"] .container .sidebar-right .premium-server-info .info-right > small { color: #b1a18a; }
body[data-omega-ui="modern"] .container .sidebar-right .premium-server-info .status-fill { background: #b45260; }
body[data-omega-ui="modern"] .container .sidebar-right .castle-owner-widget .cs-status-item .highlight { background: #242029; border-color: #503a45; color: #d6b5be; }
body[data-omega-ui="modern"] .container .social-widgets-module .social-widget { background: #141922; border-color: #2b3443; box-shadow: none; }
body[data-omega-ui="modern"] .container .social-widgets-module .social-widget > span { color: #d3d8e2; }
body[data-omega-ui="modern"] .container main .omega-downloads,
body[data-omega-ui="modern"] .container main .omega-downloads .omega-client-card,
body[data-omega-ui="modern"] .container main .omega-downloads .omega-client-card.remastered { background: #12151c; border-color: #282e3a; box-shadow: none; }
body[data-omega-ui="modern"] .container main .omega-downloads :is(.omega-client-footer,.omega-download-help) { background: #0f131b; border-color: #282e3a; }
body[data-omega-ui="modern"] .container main .omega-downloads :is(.omega-platform-icon,.omega-download-hero-icon,.omega-help-icon) { background: #1b222e; border-color: #343f51; color: #b6c1d3; }
body[data-omega-ui="modern"] .container main .omega-downloads .omega-card-badge { background: #28241e; border-color: #524936; color: #d9c194; }
body[data-omega-ui="modern"] .container main .omega-downloads .omega-client-card.remastered .omega-original-description { background: #27231b; color: #d9c194; border-left-color: #887146; }
body[data-omega-ui="modern"] .container .events-module .events-table td[data-omega-event-layout] { background: #121720; border-color: #2b3441; }
body[data-omega-ui="modern"] .container .events-module .events-table .timepro { color: #d3bd97; }
body[data-omega-ui="modern"] .container .events-module .omega-event-source-note { background: #10151e; color: #9aa4b5; border-left-color: #675943; }
body[data-omega-ui="modern"] .container .events-module .events-table .omega-event-reference { background: #25221c; color: #c6b99f; border-color: #4d4537; }

body[data-omega-ui="modern"] .container main .rankings_menu a {
    border-radius: 0.375rem; background: transparent !important; border-color: #303744; color: #aeb6c3 !important; box-shadow: none !important;
}
body[data-omega-ui="modern"] .container main .rankings_menu a.active { background: #242a36 !important; border-color: #434c5c; color: #f1f3f6 !important; }
body[data-omega-ui="modern"] .container main table.rankings-table { border-color: #303744; }
body[data-omega-ui="modern"] .container main table.rankings-table tr:first-child:not([data-omega-rank-row]):not([data-class-id]):not(:has(.rankings-table-place)) > td { background: #181d27 !important; color: #aab4c4; font-size: 12px; font-weight: 500 !important; }
body[data-omega-ui="modern"] .container main table.rankings-table tr[data-omega-rank-row]:not([data-omega-podium]) > td { background: #11161e !important; border-color: #252d3a !important; color: #dce1ea !important; }
body[data-omega-ui="modern"] .container main table.rankings-table a { color: #dce1ea; }

body[data-omega-ui="modern"] .container main .profiles_player_card::before { border-color: #60543f; box-shadow: 0 0 0 3px #202530; }
body[data-omega-ui="modern"] .container main .profiles_player_card::after { background: #202530; border-color: #60543f; color: #d9bf92; box-shadow: 0 0 0 3px #12151c; }
body[data-omega-ui="modern"] .container main .profiles_player_card .profiles_player_table .cname { color: #f0f2f6; font-weight: 600; }
body[data-omega-ui="modern"] .container main .profiles_player_card .profiles_player_table .cclass { color: #c3b18f; }
body[data-omega-ui="modern"] .container main .profiles_player_content > .profiles_player_table_info { border-color: #2d3543; }
body[data-omega-ui="modern"] .container main .profiles_player_card .profiles_player_table_info tr { background: #10151d; }
body[data-omega-ui="modern"] .container main .profiles_player_card .profiles_player_table_info tr:nth-child(even) { background: #171d27; }
body[data-omega-ui="modern"] .container main .profiles_player_card .profiles_player_table_info td { border-bottom-color: #28303d; }
body[data-omega-ui="modern"] .container main .profiles_player_card .profiles_player_table_info td:first-child { color: #a3adbd; }
body[data-omega-ui="modern"] .container main .profiles_player_card .profiles_player_table_info a { color: #d9bf92; text-decoration-color: #74664e; }
body[data-omega-ui="modern"] .container .omega-content-state { background: #151b25; color: #a8b4c7; border-color: #303b4c; }
body[data-omega-ui="modern"] .omega-footer { background: #0b0e14; border-top-color: #282e3a; }
body[data-omega-ui="modern"] .omega-footer .omega-footer-column h4 { color: #cbd1db; }
body[data-omega-ui="modern"] .omega-footer .omega-footer-column h4::after { background: #5d584e; }
body[data-omega-ui="modern"] .omega-footer .omega-footer-bottom { border-top-color: #252c37; }

/* Icons appear only after a Lucide portal has actually committed. */
body[data-omega-ui="modern"] .omega-lucide-host:has(> .omega-lucide-slot svg) { font-size: 0 !important; }
body[data-omega-ui="modern"] .omega-lucide-host:has(> .omega-lucide-slot svg)::before,
body[data-omega-ui="modern"] .omega-lucide-host:has(> .omega-lucide-slot svg)::after { content: none !important; }
body[data-omega-ui="modern"] .omega-lucide-slot { pointer-events: none; display: inline-flex; flex-shrink: 0; align-items: center; justify-content: center; width: 16px; height: 16px; vertical-align: middle; }
body[data-omega-ui="modern"] .omega-lucide-slot > svg { width: 100%; height: 100%; stroke-width: 1.65; }
body[data-omega-ui="modern"] .omega-class-badge-slot { pointer-events: none; display: inline-flex; align-items: center; justify-content: center; border-radius: 0.375rem; grid-column: 1; grid-row: 1; align-self: end; justify-self: end; z-index: 1; width: 26px; height: 26px; margin: 0 -4px -4px 0; border: 1px solid #60543f; background: #202530; color: #d9bf92; box-shadow: 0 0 0 3px #12151c; }
body[data-omega-ui="modern"] .omega-class-badge-slot svg { width: 13px; height: 13px; }
body[data-omega-ui="modern"] .omega-profile-enhanced:has(> .omega-class-badge-slot svg)::after { content: none !important; display: none !important; }
body[data-omega-ui="modern"] .omega-back-to-top {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem; position: fixed; z-index: 5000; right: max(20px,env(safe-area-inset-right)); bottom: max(20px,env(safe-area-inset-bottom)); width: 44px; height: 44px; border: 1px solid #3b4556; background: #1b2330; color: #e1e6ed; box-shadow: 0 4px 16px #0004; cursor: pointer;
}
body[data-omega-ui="modern"]:has(#omega-preview-controls) .omega-back-to-top { bottom: calc(134px + env(safe-area-inset-bottom)); }

body[data-omega-ui="modern"] :is(a,button,input,select,textarea,summary):focus-visible { outline-color: #c6a777; }
@media (hover:hover) and (pointer:fine) {
    body[data-omega-ui="modern"] > nav > #nav-menu > li > a[href]:hover,
    body[data-omega-ui="modern"] > nav .language-selector > .dropdown-toggle:hover { background: #242a35 !important; color: #f1f3f6 !important; }
    body[data-omega-ui="modern"] .auth-wrapper .auth-form .btn-more:not(:disabled):not([aria-disabled="true"]):not(.disabled):hover,
    body[data-omega-ui="modern"] .container aside .login-form .btn-more:not(:disabled):not([aria-disabled="true"]):not(.disabled):hover,
    body[data-omega-ui="modern"] .container main :is(.btn-more,.btn-orange,.btn-download):not(:disabled):not([aria-disabled="true"]):not(.disabled):hover,
    body[data-omega-ui="modern"] .container main .omega-downloads .omega-download-btn:not([aria-disabled="true"]):not(.disabled):hover,
    body[data-omega-ui="modern"] .container .sidebar-right .castle-owner-widget .cs-details-btn:not([aria-disabled="true"]):not(.disabled):hover,
    body[data-omega-ui="modern"] > nav > #nav-menu > li > a[href]:is([href$="/downloads/"],[href$="/downloads"]):hover { background: #b9374a !important; border-color: #d15a6d !important; color: #fff7f4 !important; }
    body[data-omega-ui="modern"] .container .sidebar-module:hover,
    body[data-omega-ui="modern"] .container main .news-item:hover,
    body[data-omega-ui="modern"] .container main .rank-card--livekills:hover { border-color: #3a4353 !important; }
    body[data-omega-ui="modern"] .container .sidebar-module > .ranking-item:hover,
    body[data-omega-ui="modern"] .container .sidebar-module > .ranking-item:focus-within { background: #1b212c; }
    body[data-omega-ui="modern"] .container main table.rankings-table tr[data-omega-rank-row]:not([data-omega-podium]):hover > td { background: #1a2330 !important; }
    body[data-omega-ui="modern"] .omega-back-to-top:hover { background: #293346; border-color: #626f84; }
}
body[data-omega-ui="modern"] .auth-wrapper .auth-form .btn-more:is(:disabled,[aria-disabled="true"],.disabled),
body[data-omega-ui="modern"] .container aside .login-form .btn-more:is(:disabled,[aria-disabled="true"],.disabled),
body[data-omega-ui="modern"] .container main .omega-downloads .omega-download-btn:is(:disabled,[aria-disabled="true"],.disabled),
body[data-omega-ui="modern"] .container .sidebar-right .castle-owner-widget .cs-details-btn:is(:disabled,[aria-disabled="true"],.disabled) { background: #242a35 !important; border-color: #3b4556 !important; color: #929eaf !important; box-shadow: none !important; }
@media (max-width:600px) {
    body[data-omega-ui="modern"] .container main .news-item-title { font-size: 18px; }
    body[data-omega-ui="modern"] .omega-class-badge-slot { width: 24px; height: 24px; }
    body[data-omega-ui="modern"]:has(#omega-preview-controls) .omega-back-to-top { bottom: calc(180px + env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion:reduce) {
    html:has(body[data-omega-ui="modern"]) { scroll-behavior: auto; }
    body[data-omega-ui="modern"] .omega-lucide-slot,
    body[data-omega-ui="modern"] .omega-back-to-top { transition: none !important; animation: none !important; }
}

/* Product helpers remain inside the modern interface. Native module layout stays intact. */
body[data-omega-ui="modern"] :is(.omega-start-callout,.omega-product-card,.omega-product-panel,.omega-agenda-card,.omega-rank-tools){box-sizing:border-box;border:1px solid #282e3a;border-radius:10px;background:#12151c;color:#dce1ea}
body[data-omega-ui="modern"] :is(.omega-product-page,.omega-product-panel){min-width:0}
body[data-omega-ui="modern"] .omega-start-callout{padding:16px}
body[data-omega-ui="modern"] .omega-start-callout-heading{display:flex;align-items:flex-start;gap:12px}
body[data-omega-ui="modern"] .omega-start-callout-heading>svg{flex:0 0 18px;color:#d2b17b;margin-top:2px}
body[data-omega-ui="modern"] .omega-start-callout strong{font-size:14px;font-weight:600}
body[data-omega-ui="modern"] .omega-start-callout p{margin:5px 0 12px;color:#9da7b8;font-size:12px;line-height:1.6}
body[data-omega-ui="modern"] .omega-product-links{display:flex;align-items:center;flex-wrap:wrap;gap:8px 18px}
body[data-omega-ui="modern"] .omega-product-links a{display:inline-flex;align-items:center;gap:6px;min-height:36px;font-size:12px;color:#d8c298;text-decoration:none}
body[data-omega-ui="modern"] .omega-product-heading{margin:0 0 24px}
body[data-omega-ui="modern"] .omega-product-eyebrow{display:block;margin-bottom:10px;color:#a7adba;font-size:10px;font-weight:600;letter-spacing:.1em}
body[data-omega-ui="modern"] .omega-product-heading h1{margin:0 0 10px;color:#f4f4f5;font-size:clamp(23px,3vw,30px);line-height:1.25;font-weight:600;letter-spacing:-.035em}
body[data-omega-ui="modern"] .omega-product-heading p{margin:0;color:#a1aabb;font-size:14px;line-height:1.7}
body[data-omega-ui="modern"] .omega-start-steps{list-style:none;margin:0 0 24px;padding:0;display:grid;gap:14px}
body[data-omega-ui="modern"] .omega-start-steps>li{display:grid;grid-template-columns:32px minmax(0,1fr);gap:14px;padding:20px 16px;border:1px solid #282e3a;border-radius:10px;background:#12151c}
body[data-omega-ui="modern"] .omega-step-number{display:grid;place-items:center;width:30px;height:30px;border:1px solid #473743;border-radius:8px;background:#251b24;color:#e7b4be;font-size:11px;font-weight:600}
body[data-omega-ui="modern"] :is(.omega-start-steps,.omega-product-panel) h2{margin:0 0 10px;font-size:17px;line-height:1.4;font-weight:600;color:#e8ecf3}
body[data-omega-ui="modern"] :is(.omega-start-steps,.omega-product-panel) p{font-size:13px;line-height:1.75;color:#a5afbf}
body[data-omega-ui="modern"] :is(.omega-start-steps,.omega-product-panel) a{color:#d8c298;text-underline-offset:3px}
body[data-omega-ui="modern"] .omega-product-panel{padding:20px}
body[data-omega-ui="modern"] .omega-product-panel>section{margin-top:26px}
body[data-omega-ui="modern"] .omega-product-panel li{margin-bottom:8px;font-size:13px;line-height:1.7;color:#a5afbf}
body[data-omega-ui="modern"] .omega-product-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr));gap:12px}
body[data-omega-ui="modern"] .omega-product-card{display:flex;flex-direction:column;gap:8px;padding:16px;text-decoration:none;min-width:0}
body[data-omega-ui="modern"] .omega-product-card>span{color:#a6b0c0;font-size:12px;line-height:1.5}
body[data-omega-ui="modern"] .omega-product-metrics strong{font-size:26px;font-weight:600;font-variant-numeric:tabular-nums;color:#eef0f4}
body[data-omega-ui="modern"] .omega-product-card small{color:#8995a8;font-size:11px;line-height:1.5}
body[data-omega-ui="modern"] .omega-product-character img{border-radius:8px;border:1px solid #454136;object-fit:contain}
body[data-omega-ui="modern"] .omega-product-empty{padding:16px;border:1px dashed #343e50;border-radius:8px;background:#10151e;color:#aab4c4;font-size:13px;line-height:1.7}

/* Registration labels, actual field errors and reveal controls. */
body[data-omega-ui="modern"] .omega-field{display:flex;flex-direction:column;gap:6px;text-align:left;min-width:0}
body[data-omega-ui="modern"] .omega-field>.input-group{margin:0}
body[data-omega-ui="modern"] :is(.omega-field>label,.omega-form-field-heading label){margin:0;font-size:12px;font-weight:500;line-height:1.5;color:#c3cbd8}
body[data-omega-ui="modern"] .omega-form-help{margin:0;color:#95a2b6;font-size:11px;line-height:1.65;text-align:left}
body[data-omega-ui="modern"] .omega-field-error{display:block;margin:0;color:#f4acba;font-size:11.5px;line-height:1.6;text-align:left}
body[data-omega-ui="modern"] .omega-field-error[hidden],body[data-omega-ui="modern"] .omega-field-error:empty{display:none!important}
body[data-omega-ui="modern"] .auth-form>.omega-form-field-heading,body[data-omega-ui="modern"] .auth-form>.omega-form-help,body[data-omega-ui="modern"] .auth-form>.omega-field-error{margin-block:0}
body[data-omega-ui="modern"] .omega-password-group{display:flex;align-items:center;min-width:0}
body[data-omega-ui="modern"] .omega-password-group>input{flex:1 1 auto;min-width:0;width:calc(100% - 84px)!important;padding-right:10px!important}
body[data-omega-ui="modern"] .omega-password-slot{display:inline-flex;align-items:center;justify-content:center;flex:0 0 84px;width:84px}
body[data-omega-ui="modern"] .omega-password-toggle{width:100%;gap:6px!important;min-height:44px;padding-inline:6px;font-size:11px;border:0!important;color:#adb7c8!important;background:transparent!important;box-shadow:none!important}
body[data-omega-ui="modern"] .omega-password-toggle:focus-visible{outline:2px solid #e3bb76;outline-offset:-3px}
body[data-omega-ui="modern"] aside .omega-password-slot{flex-basis:44px;width:44px}
body[data-omega-ui="modern"] aside .omega-password-group>input{width:calc(100% - 44px)!important}
body[data-omega-ui="modern"] aside .omega-password-toggle>span{display:none}
body[data-omega-ui="modern"] .omega-feedback{position:relative;padding-left:44px!important}
body[data-omega-ui="modern"] .omega-feedback-icon{position:absolute;left:14px;top:15px;display:inline-flex;width:18px;height:18px}

/* Rankings operate on existing rows and keep their original places. */
body[data-omega-ui="modern"] .omega-rank-tools{margin-bottom:18px;padding:16px}
body[data-omega-ui="modern"] .omega-rank-tools-main{display:flex;align-items:flex-end;justify-content:space-between;flex-wrap:wrap;gap:10px}
body[data-omega-ui="modern"] .omega-rank-search{flex:1 1 180px;min-width:0}
body[data-omega-ui="modern"] .omega-rank-search label{display:block;margin-bottom:7px;color:#c3cbd8;font-size:12px;font-weight:500}
body[data-omega-ui="modern"] .omega-rank-search>div{display:flex;align-items:center;gap:9px;min-height:44px;padding:0 12px;background:#0f131b;border:1px solid #303a4a;border-radius:8px;color:#91a0b6}
body[data-omega-ui="modern"] .omega-rank-search input{box-sizing:border-box;width:100%;min-width:0;min-height:42px;padding:8px 0;border:0;background:transparent;color:#e5eaf3;font:inherit;font-size:13px;outline-offset:2px}
body[data-omega-ui="modern"] .omega-rank-class-filters{display:flex;flex-wrap:wrap;gap:6px;margin-top:12px}
body[data-omega-ui="modern"] .omega-filter-chip{font-size:11px;min-height:36px;border:1px solid #303a4a!important;background:#171e2a!important;color:#aeb9cb!important}
body[data-omega-ui="modern"] .omega-filter-chip[aria-pressed=true],body[data-omega-ui="modern"] [data-omega-filter-active=true]{border-color:#9f6a73!important;box-shadow:0 0 0 1px #9f6a73;background:#2d1e2a!important;color:#f3d3dc!important}
body[data-omega-ui="modern"] .omega-rank-count{margin:12px 0 0;color:#9da9bb;font-size:11px;line-height:1.5}
body[data-omega-ui="modern"] .omega-rank-empty{margin-top:12px;padding:14px;border:1px dashed #364259;border-radius:8px;font-size:12px;color:#bdc8da}
body[data-omega-ui="modern"] .omega-rank-empty p{margin:5px 0 0;color:#92a1b8;font-size:12px;line-height:1.6}
body[data-omega-ui="modern"] .dataTables_filter[hidden]{display:none!important}

/* Agenda is fed by native published dates or explicitly archived references. */
body[data-omega-ui="modern"] [data-omega-agenda-source][hidden]{display:none!important}
body[data-omega-ui="modern"] .omega-agenda-toolbar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin-bottom:14px}
body[data-omega-ui="modern"] .omega-agenda-tabs{display:flex;flex-wrap:wrap;gap:6px}
body[data-omega-ui="modern"] .omega-agenda-tabs button{font-size:12px;padding-inline:12px}
body[data-omega-ui="modern"] .omega-agenda-zone{display:flex;align-items:center;gap:7px;color:#9aa8bd;font-size:11px;line-height:1.5}
body[data-omega-ui="modern"] .omega-agenda-notice{display:flex;align-items:flex-start;gap:9px;padding:14px;border:1px solid #524735;border-radius:8px;background:#211e18;color:#d0c09f;font-size:12px;line-height:1.7}
body[data-omega-ui="modern"] .omega-agenda-notice>svg{flex:0 0 16px;margin-top:2px}
body[data-omega-ui="modern"] .omega-agenda-caption{font-size:11px;line-height:1.65;color:#94a3b9}
body[data-omega-ui="modern"] .omega-agenda-count{font-size:12px;color:#b6c1d3;line-height:1.6}
body[data-omega-ui="modern"] .omega-agenda-list{display:grid;gap:10px;margin:14px 0}
body[data-omega-ui="modern"] .omega-agenda-card{display:grid;grid-template-columns:28px minmax(0,1fr) max-content;align-items:start;gap:12px;padding:16px}
body[data-omega-ui="modern"] .omega-agenda-icon{color:#cbb589;padding-top:3px}
body[data-omega-ui="modern"] .omega-agenda-detail h3{margin:0 0 6px;color:#e7ebf4;font-size:14px;line-height:1.45;font-weight:600;overflow-wrap:anywhere}
body[data-omega-ui="modern"] .omega-agenda-detail p{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin:5px 0;color:#9eacc2;font-size:12px;line-height:1.65}
body[data-omega-ui="modern"] .omega-agenda-detail summary{cursor:pointer;font-size:12px;color:#c7b691;min-height:32px;padding-block:6px}
body[data-omega-ui="modern"] .omega-agenda-state{padding:5px 7px;border:1px solid #564935;background:#241f17;color:#d3c09b;font-size:10px}
body[data-omega-ui="modern"] .omega-agenda-empty{padding:24px 16px;border:1px dashed #354157;border-radius:10px;color:#98a7bd;text-align:center}
body[data-omega-ui="modern"] .omega-agenda-empty p{font-size:12px;line-height:1.7}
body[data-omega-ui="modern"] .omega-agenda-empty>svg{color:#a5afbd}
@media(max-width:600px){
 body[data-omega-ui="modern"] .omega-product-panel{padding:15px}
 body[data-omega-ui="modern"] .omega-start-steps>li{grid-template-columns:28px minmax(0,1fr);padding:16px 12px;gap:10px}
 body[data-omega-ui="modern"] .omega-rank-class-filters{flex-wrap:nowrap;overflow-x:auto;padding:2px 1px 9px}
 body[data-omega-ui="modern"] .omega-filter-chip{flex:0 0 auto}
 body[data-omega-ui="modern"] .omega-agenda-card{grid-template-columns:22px minmax(0,1fr);gap:10px;padding:14px}
 body[data-omega-ui="modern"] .omega-agenda-state{grid-column:2;justify-self:start}
}
@media(max-width:520px){
 body[data-omega-ui="modern"] .omega-password-slot{flex-basis:44px;width:44px}
 body[data-omega-ui="modern"] .omega-password-group>input{width:calc(100% - 44px)!important}
 body[data-omega-ui="modern"] .omega-password-toggle>span{display:none}
}

/* Lively ruby, solar gold and royal blue. Paint only; native geometry is preserved. */
body[data-omega-ui="modern"] {
 --alive-base:#11254a;--alive-panel:#1b3557;--alive-raised:#26466d;--alive-inset:#142d50;--alive-line:#426995;--alive-gold:#ffd166;--alive-light:#ffe7a5;--alive-ruby:#d52c46;--alive-rose:#ffb4c7;
 --om-base:var(--alive-base);--om-panel:var(--alive-panel);--om-raised:var(--alive-raised);--om-line:var(--alive-line);--om-text:#f5f9ff;--om-muted:#bed2ef;--om-accent:var(--alive-ruby);--om-gold:var(--alive-gold);
 --omega-vivid-inset:var(--alive-inset);--omega-vivid-gold-light:var(--alive-light);--omega-vivid-rose:var(--alive-rose);--omega-accent-primary:#ff829c;--omega-accent-text:var(--alive-rose);--omega-accent-rgb:213,44,70;--omega-metal-light:var(--alive-light);--omega-button-face:var(--alive-ruby);--omega-button-hover:#ce2946;--omega-button-pressed:#b51f3b;--omega-focus:var(--alive-gold);
 background-color:var(--alive-base);background-image:radial-gradient(ellipse at 7% 8%,#ffb83d16,transparent 45%),radial-gradient(ellipse at 96% 27%,#f12d6726,transparent 48%),linear-gradient(150deg,#11254a,#153b60 65%,#172d53)!important;color:#f5f9ff;
}
body[data-omega-ui="modern"]>header .header-video-overlay{background:linear-gradient(180deg,#11254a05,#11254a24 60%,#11254a)}
body[data-omega-ui="modern"]>nav{background:#1e2949;border-color:#776683}
body[data-omega-ui="modern"]>nav>#nav-menu>li>a[href],body[data-omega-ui="modern"]>nav .language-selector>.dropdown-toggle{color:#e0ecff!important}
body[data-omega-ui="modern"]>nav>#nav-menu>li>a[href]>i{color:var(--alive-gold)}
body[data-omega-ui="modern"]>nav>#nav-menu>li>a[href].active{background:#36456a!important;color:#fff0c8!important}
body[data-omega-ui="modern"]>nav>#nav-menu>li>a[href].active::after{background:var(--alive-gold)}
body[data-omega-ui="modern"]>nav .language-dropdown{background:#223859!important;border-color:#6485ad!important}
body[data-omega-ui="modern"]>nav .language-dropdown li a{color:#e0ecff!important}
body[data-omega-ui="modern"]>nav .language-dropdown li.active a,body[data-omega-ui="modern"]>nav .language-dropdown li a:focus-visible{background:#365d88!important;color:var(--alive-light)!important}
body[data-omega-ui="modern"]>nav .menu-toggle{background:#29466d;border-color:#6b89ad;color:var(--alive-gold)}
body[data-omega-ui="modern"]>header .simple-rank-card,body[data-omega-ui="modern"] .container :is(.sidebar-module,.social-widgets-module),body[data-omega-ui="modern"] .container main :is(.rank-card--livekills,.news-item,.profiles_player_card),body[data-omega-ui="modern"] .auth-wrapper .auth-card{background:var(--alive-panel);border-color:var(--alive-line)!important}
body[data-omega-ui="modern"] .container .sidebar-module>h3,body[data-omega-ui="modern"] .container .premium-server-info .module-header,body[data-omega-ui="modern"] .container .sidebar-module:has(>h3>:is(.fa-medal,.fa-shield-alt))>h3{color:#f5f9ff;border-bottom-color:#45658e}
body[data-omega-ui="modern"] .container .sidebar-module>h3>i,body[data-omega-ui="modern"] .container .sidebar-right .castle-owner-widget>h3>i,body[data-omega-ui="modern"] .container .premium-server-info .module-icon,body[data-omega-ui="modern"] .container .sidebar-module:has(>h3>:is(.fa-medal,.fa-shield-alt))>h3>i{color:var(--alive-gold)}
body[data-omega-ui="modern"]>header .simple-rank-card .card-image>div{background:#2b4f79!important;border-color:#7296c2!important}
body[data-omega-ui="modern"]>header .simple-rank-card .card-image>div>i{color:var(--alive-gold)!important}
body[data-omega-ui="modern"]>header .simple-rank-card .card-stat{color:#ffe398!important}
body[data-omega-ui="modern"]>header .simple-rank-card #ajax-online-players{color:#64f1c2!important}
/* Primary module actions retain a clear, readable ruby face. */
body[data-omega-ui="modern"] .auth-wrapper .auth-form .btn-more,body[data-omega-ui="modern"] .container aside .login-form .btn-more,body[data-omega-ui="modern"] .container main :is(.btn-more,.btn-orange,.btn-download),body[data-omega-ui="modern"] .container main .omega-downloads .omega-download-btn,body[data-omega-ui="modern"] .container .sidebar-right .castle-owner-widget .cs-details-btn,body[data-omega-ui="modern"] .omega-ui-button[class~="om-bg-[#c83f52]"]{background:#d52c46!important;border-color:#ff849b!important;color:#fff7f4!important}
body[data-omega-ui="modern"]>nav>#nav-menu>li>a[href]:is([href$="/downloads/"],[href$="/downloads"]),body[data-omega-ui="modern"]>nav>#nav-menu>li>a[href]:is([href$="/downloads/"],[href$="/downloads"]).active{background:#ffbe45!important;border-color:#ffe29c!important;color:#251700!important}
body[data-omega-ui="modern"]>nav>#nav-menu>li>a[href]:is([href$="/downloads/"],[href$="/downloads"])>i{color:inherit!important}
body[data-omega-ui="modern"] .auth-wrapper .auth-form .input-group input,body[data-omega-ui="modern"] .container aside .login-form .input-group input,body[data-omega-ui="modern"] .omega-rank-search>div{background:#152e4f;border-color:#6489b6;color:#f5f9ff;caret-color:var(--alive-gold)}
body[data-omega-ui="modern"] .auth-wrapper .auth-form .input-group input::placeholder,body[data-omega-ui="modern"] .container aside .login-form .input-group input::placeholder{color:#b8cce8}
body[data-omega-ui="modern"] .auth-wrapper .auth-form .input-group input:focus,body[data-omega-ui="modern"] .container aside .login-form .input-group input:focus{background:#1b3a60;border-color:var(--alive-gold);outline-color:var(--alive-gold)}
body[data-omega-ui="modern"] .container .view-all-link,body[data-omega-ui="modern"] .container .sidebar-module:has(>h3>:is(.fa-medal,.fa-shield-alt))>.view-all-link,body[data-omega-ui="modern"] .container main .news-readmore,body[data-omega-ui="modern"] .auth-wrapper .auth-footer-links a{color:var(--alive-gold)}
body[data-omega-ui="modern"] .container main .news-item-header{background:var(--alive-raised);border-bottom-color:#527ba9}
body[data-omega-ui="modern"] .container main .news-item-title a,body[data-omega-ui="modern"] .container main .news-item-content :is(h1,h2,h3,strong){color:#f5f9ff}
body[data-omega-ui="modern"] .container main .news-item-meta,body[data-omega-ui="modern"] .container main .news-item-meta>span:last-child{color:#bed2ef}
body[data-omega-ui="modern"] .container main .news-item-meta i{color:#ffce6e}
body[data-omega-ui="modern"] .container main .news-item-content{color:#dfebff}
body[data-omega-ui="modern"] .container main .news-item-content li::marker{color:var(--alive-gold)}
body[data-omega-ui="modern"] .container main .news-item-content a:not(:is(.btn-more,.btn-orange,.btn-download,.omega-download-btn,.news-readmore)){color:var(--alive-gold);text-decoration-color:#c4933d}
body[data-omega-ui="modern"] .container main .news-item-content blockquote{background:#263b5e;color:#e5eeff;border-left-color:var(--alive-gold)}
body[data-omega-ui="modern"] .container main .rank-card__badge{background:#8d2948;border-color:#eb7187;color:#fff0c8}
body[data-omega-ui="modern"] .container main .kill-line{background:#183b60;border-color:#3e6a99}
body[data-omega-ui="modern"] .container main .ki-killer{color:#ffdc87}
body[data-omega-ui="modern"] .container main .ki-victim{color:#ffb4c7}
body[data-omega-ui="modern"] .container .sidebar-right .premium-server-info .info-card,body[data-omega-ui="modern"] .container .sidebar-right .castle-owner-widget :is(.cs-owner-header,.cs-countdown){background:#152f51;border-color:#446f9c}
body[data-omega-ui="modern"] .container .sidebar-right .premium-server-info .info-left>i{color:var(--alive-gold)}
body[data-omega-ui="modern"] .container .sidebar-right .premium-server-info .info-right>.badge.gold{background:#654518;color:#ffe7a5;border-color:#c6953f}
body[data-omega-ui="modern"] .container .sidebar-right .premium-server-info .info-right>small{color:#ffdc87}
body[data-omega-ui="modern"] .container .sidebar-right .premium-server-info .status-fill{background:linear-gradient(90deg,#ee3557,#ffbd4c)}
body[data-omega-ui="modern"] .container .sidebar-right .castle-owner-widget .cs-status-item .highlight{background:#583044;border-color:#ae6480;color:#ffe7a5}
body[data-omega-ui="modern"] .container .social-widgets-module .social-widget{background:#203b60;border-color:#557aa8}
body[data-omega-ui="modern"] .container .social-widgets-module .social-widget>span{color:#f1f7ff}
body[data-omega-ui="modern"] .container main .omega-downloads,body[data-omega-ui="modern"] .container main .omega-downloads .omega-client-card,body[data-omega-ui="modern"] .container main .omega-downloads .omega-client-card.remastered{background:var(--alive-panel);border-color:var(--alive-line)}
body[data-omega-ui="modern"] .container main .omega-downloads :is(.omega-client-footer,.omega-download-help){background:#152e50;border-color:#426995}
body[data-omega-ui="modern"] .container main .omega-downloads :is(.omega-platform-icon,.omega-download-hero-icon,.omega-help-icon){background:#294f79;border-color:#7296c2;color:var(--alive-gold)}
body[data-omega-ui="modern"] .container main .omega-downloads .omega-card-badge{background:#654518;border-color:#bd8e3d;color:#ffe7a5}
body[data-omega-ui="modern"] .container main .omega-downloads .omega-client-card.remastered .omega-original-description{background:#473d24;color:#ffe7a5;border-left-color:var(--alive-gold)}
body[data-omega-ui="modern"] .container .events-module .events-table td[data-omega-event-layout]{background:#183655;border-color:#426995}
body[data-omega-ui="modern"] .container .events-module .events-table .timepro{color:#ffe7a5}
body[data-omega-ui="modern"] .container .events-module .omega-event-source-note{background:#1c3555;color:#bed2ef;border-left-color:#d1a04b}
body[data-omega-ui="modern"] .container .events-module .events-table .omega-event-reference{background:#58451f;color:#ffe7a5;border-color:#b78b3d}
body[data-omega-ui="modern"] .container main .rankings_menu a{background:#1a3557!important;border-color:#527ba9;color:#cee1ff!important}
body[data-omega-ui="modern"] .container main .rankings_menu a.active{background:#3d4365!important;border-color:#a79068;color:#fff0c8!important}
body[data-omega-ui="modern"] .container main table.rankings-table tr:first-child:not([data-omega-rank-row]):not([data-class-id]):not(:has(.rankings-table-place))>td{background:#26466d!important;color:#d8e7ff}
body[data-omega-ui="modern"] .container main table.rankings-table tr[data-omega-rank-row]:not([data-omega-podium])>td{background:#1a3659!important;border-color:#345b87!important;color:#e8f1ff!important}
body[data-omega-ui="modern"] .container main table.rankings-table a{color:#e8f1ff}
body[data-omega-ui="modern"] .container main .profiles_player_card::before{background-color:#152e50;border-color:var(--alive-gold);box-shadow:0 0 0 3px #29466a}
body[data-omega-ui="modern"] .omega-class-badge-slot{background:#5b3c22;border-color:#d2a34b;color:var(--alive-gold);box-shadow:0 0 0 3px #1b3557}
body[data-omega-ui="modern"] .container main .profiles_player_card .profiles_player_table .cname{color:#f5f9ff}
body[data-omega-ui="modern"] .container main .profiles_player_card .profiles_player_table .cclass{color:var(--alive-gold)}
body[data-omega-ui="modern"] .container main .profiles_player_card .profiles_player_table_info tr{background:#142e50}
body[data-omega-ui="modern"] .container main .profiles_player_card .profiles_player_table_info tr:nth-child(even){background:#224469}
body[data-omega-ui="modern"] .container main .profiles_player_card .profiles_player_table_info td:first-child{color:#bed2ef}
body[data-omega-ui="modern"] .container main .profiles_player_card .profiles_player_table_info a{color:var(--alive-gold);text-decoration-color:#c4933d}
body[data-omega-ui="modern"] .container .omega-content-state{background:#193655;color:#c7ddfb;border-color:#527ba9}
/* Product surfaces and accessible helpers receive the same brighter palette. */
body[data-omega-ui="modern"] :is(.omega-start-callout,.omega-product-card,.omega-product-panel,.omega-agenda-card,.omega-rank-tools),body[data-omega-ui="modern"] .omega-start-steps>li{background:var(--alive-panel);border-color:var(--alive-line);color:#e4efff}
body[data-omega-ui="modern"] :is(.omega-start-callout-heading>svg,.omega-product-links a,.omega-product-panel a,.omega-start-steps a,.omega-agenda-icon,.omega-agenda-detail summary){color:var(--alive-gold)}
body[data-omega-ui="modern"] :is(.omega-start-callout strong,.omega-product-heading h1,.omega-start-steps h2,.omega-product-panel h2,.omega-agenda-detail h3,.omega-product-metrics strong){color:#f5f9ff}
body[data-omega-ui="modern"] :is(.omega-start-callout p,.omega-product-heading p,.omega-product-eyebrow,.omega-product-card>span,.omega-product-card small,.omega-product-panel p,.omega-product-panel li,.omega-form-help,.omega-agenda-zone,.omega-agenda-caption,.omega-agenda-detail p,.omega-rank-count){color:#bed2ef}
body[data-omega-ui="modern"] .omega-step-number{background:#76374d;border-color:#e27c91;color:#ffe7a5}
body[data-omega-ui="modern"] :is(.omega-field>label,.omega-form-field-heading label,.omega-rank-search label){color:#dae8fc}
body[data-omega-ui="modern"] .omega-field-error{color:#ffb4c7}
body[data-omega-ui="modern"] .omega-password-toggle{color:#c6ddfb!important}
body[data-omega-ui="modern"] :is(.omega-product-empty,.omega-rank-empty,.omega-agenda-empty){background:#142f51;border-color:#6288b4;color:#c1d8f8}
body[data-omega-ui="modern"] :is(.omega-rank-empty p,.omega-agenda-count){color:#c1d8f8}
body[data-omega-ui="modern"] .omega-rank-search input{color:#f5f9ff}
body[data-omega-ui="modern"] .omega-filter-chip{background:#23466f!important;border-color:#688fb8!important;color:#dbeaff!important}
body[data-omega-ui="modern"] .omega-filter-chip[aria-pressed=true],body[data-omega-ui="modern"] [data-omega-filter-active=true]{background:#79442e!important;border-color:var(--alive-gold)!important;color:#fff0c8!important;box-shadow:0 0 0 1px #ffd166}
body[data-omega-ui="modern"] .omega-agenda-notice{background:#534320;border-color:#bc954d;color:#ffdf9d}
body[data-omega-ui="modern"] .omega-agenda-state{background:#65491d;border-color:#c69b45;color:#ffe7a5}
body[data-omega-ui="modern"] .omega-ui-button[class~="om-bg-[#181c25]"]{background:#26466d;border-color:#6c90b8;color:#f1f7ff}
body[data-omega-ui="modern"] .omega-back-to-top{background:#2c527e;border-color:#8daacb;color:var(--alive-gold)}
body[data-omega-ui="modern"] .omega-footer{background:#142949;border-top-color:#9b7441}
body[data-omega-ui="modern"] .omega-footer .omega-footer-column h4{color:#ffdf97}
body[data-omega-ui="modern"] .omega-footer .omega-footer-column h4::after{background:#e4ab48}
body[data-omega-ui="modern"] .omega-footer .omega-footer-bottom{border-top-color:#426995}
body[data-omega-ui="modern"] :is(a,button,input,select,textarea,summary):focus-visible{outline-color:var(--alive-gold);--tw-ring-color:var(--alive-gold);--tw-ring-offset-color:#11254a}
@media(hover:hover) and (pointer:fine){
 body[data-omega-ui="modern"]>nav>#nav-menu>li>a[href]:hover,body[data-omega-ui="modern"]>nav .language-selector>.dropdown-toggle:hover{background:#3c507a!important;color:#fff0c8!important}
 body[data-omega-ui="modern"] .auth-wrapper .auth-form .btn-more:not(:disabled):not([aria-disabled=true]):not(.disabled):hover,body[data-omega-ui="modern"] .container aside .login-form .btn-more:not(:disabled):not([aria-disabled=true]):not(.disabled):hover,body[data-omega-ui="modern"] .container main :is(.btn-more,.btn-orange,.btn-download):not(:disabled):not([aria-disabled=true]):not(.disabled):hover,body[data-omega-ui="modern"] .container main .omega-downloads .omega-download-btn:not([aria-disabled=true]):not(.disabled):hover,body[data-omega-ui="modern"] .container .sidebar-right .castle-owner-widget .cs-details-btn:not([aria-disabled=true]):not(.disabled):hover,body[data-omega-ui="modern"] .omega-ui-button[class~="om-bg-[#c83f52]"]:not(:disabled):not([aria-disabled=true]):not(.disabled):hover{background:#ce2946!important;border-color:#ffb4c7!important;color:#fff7f4!important}
 body[data-omega-ui="modern"]>nav>#nav-menu>li>a[href]:is([href$="/downloads/"],[href$="/downloads"]):hover{background:#ffd166!important;border-color:#ffe7a5!important;color:#251700!important}
 body[data-omega-ui="modern"] .container .sidebar-module:hover,body[data-omega-ui="modern"] .container main :is(.news-item,.rank-card--livekills):hover{border-color:#d7b26b!important}
 body[data-omega-ui="modern"] .container .sidebar-module>.ranking-item:hover,body[data-omega-ui="modern"] .container .sidebar-module>.ranking-item:focus-within{background:#294c76}
 body[data-omega-ui="modern"] .container main table.rankings-table tr[data-omega-rank-row]:not([data-omega-podium]):hover>td{background:#315780!important}
 body[data-omega-ui="modern"] .omega-ui-button[class~="om-bg-[#181c25]"]:not(:disabled):not([aria-disabled=true]):not(.disabled):hover{background:#365f8b;border-color:#a2bfdf;color:#fff}
}
body[data-omega-ui="modern"] .auth-wrapper .auth-form .btn-more:is(:disabled,[aria-disabled=true],.disabled),body[data-omega-ui="modern"] .container aside .login-form .btn-more:is(:disabled,[aria-disabled=true],.disabled),body[data-omega-ui="modern"] .container main :is(.btn-more,.btn-orange,.btn-download):is(:disabled,[aria-disabled=true],.disabled),body[data-omega-ui="modern"] .container main .omega-downloads .omega-download-btn:is(:disabled,[aria-disabled=true],.disabled),body[data-omega-ui="modern"] .container .sidebar-right .castle-owner-widget .cs-details-btn:is(:disabled,[aria-disabled=true],.disabled),body[data-omega-ui="modern"] .omega-ui-button:is(:disabled,[aria-disabled=true],.disabled){background:#2b3e58!important;border-color:#57718e!important;color:#a4b7d0!important}

/* MU character wallpaper. Scoped to the enhanced template so Original remains available.
 * Separate WebP sizes keep mobile downloads light; all content cards remain opaque.
 */
body[data-omega-ui="modern"] {
    isolation: isolate;
    background-color: var(--alive-base);
    background-image:
        linear-gradient(180deg, transparent 560px, #11254a8c 740px, #11254a 890px),
        url("../img/mu-characters-desktop.webp") !important;
    background-position: center top, center top;
    background-size: 100% 900px, max(100vw, 1600px) auto;
    background-repeat: no-repeat;
    background-attachment: fixed;
}
/* Only the left character is replaced. The approved elf remains in the
 * unchanged original wallpaper underneath; this layer is invisible on her side.
 */
body[data-omega-ui="modern"]::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image:
        linear-gradient(180deg, transparent 560px, #11254a8c 740px, #11254a 890px),
        url("../img/mu-warrior-refined.webp?v=38");
    background-position: center top, center top;
    background-size: 100% 900px, max(100vw, 1600px) auto;
    background-repeat: no-repeat;
    -webkit-mask-image: linear-gradient(90deg, #000 40%, transparent 50%);
    mask-image: linear-gradient(90deg, #000 40%, transparent 50%);
}
body[data-omega-ui="modern"] > header,
body[data-omega-ui="modern"] .auth-wrapper {
    background: transparent !important;
}
body[data-omega-ui="modern"] > header .header-bg-video {
    display: none;
}
body[data-omega-ui="modern"] > header .header-video-overlay {
    display: none;
    background: none;
    pointer-events: none;
}
@media (max-width: 900px) {
    body[data-omega-ui="modern"] {
        background-image:
            linear-gradient(180deg, transparent 360px, #11254a8c 580px, #11254a 700px),
            url("../img/mu-characters-mobile.webp") !important;
        background-position: center top, 90% top;
        background-size: 100% 720px, auto 720px;
        background-attachment: scroll;
    }
    body[data-omega-ui="modern"]::before { display: none; }
}
@media (prefers-reduced-data: reduce) {
    body[data-omega-ui="modern"] {
        background-image:
            linear-gradient(180deg, transparent 360px, #11254a8c 580px, #11254a 700px),
            url("../img/mu-characters-mobile.webp") !important;
        background-attachment: scroll;
    }
    body[data-omega-ui="modern"]::before { display: none; }
}

/* Final surface and navigation finish. Opaque blues keep the artwork readable;
 * the runtime marker also makes Original remove these refinements completely.
 */
body[data-omega-ui="modern"] > header .simple-rank-card,
body[data-omega-ui="modern"] .container .sidebar-module,
body[data-omega-ui="modern"] .container .social-widgets-module,
body[data-omega-ui="modern"] .container main .rank-card--livekills,
body[data-omega-ui="modern"] .container main .news-item,
body[data-omega-ui="modern"] .container main .profiles_player_card,
body[data-omega-ui="modern"] .auth-wrapper .auth-card {
    background: #1b3557;
    border-color: #3f6289 !important;
    box-shadow: inset 0 1px 0 #9fc5ef14, 0 8px 18px #07152a26 !important;
}
body[data-omega-ui="modern"] :is(.omega-start-callout,.omega-product-card,.omega-product-panel,.omega-agenda-card,.omega-rank-tools),
body[data-omega-ui="modern"] .omega-start-steps > li {
    background: #1b3557;
    border-color: #3f6289;
    box-shadow: inset 0 1px 0 #9fc5ef14, 0 8px 18px #07152a26;
}
body[data-omega-ui="modern"] .container main .news-item-header,
body[data-omega-ui="modern"] .container .sidebar-right .premium-server-info .info-card,
body[data-omega-ui="modern"] .container .sidebar-right .castle-owner-widget :is(.cs-owner-header,.cs-countdown),
body[data-omega-ui="modern"] .container main .omega-downloads :is(.omega-client-footer,.omega-download-help),
body[data-omega-ui="modern"] .container main .profiles_player_card .profiles_player_table_info tr {
    background: #142d50;
    border-color: #365a83;
}
body[data-omega-ui="modern"] .container main .profiles_player_card .profiles_player_table_info tr:nth-child(even) {
    background: #1b3557;
}
body[data-omega-ui="modern"] .container .sidebar-module > h3 > i,
body[data-omega-ui="modern"] .container .sidebar-right .castle-owner-widget > h3 > i,
body[data-omega-ui="modern"] .container .premium-server-info .module-icon,
body[data-omega-ui="modern"] .container .sidebar-module:has(> h3 > :is(.fa-medal,.fa-shield-alt)) > h3 > i,
body[data-omega-ui="modern"] .container .sidebar-right .premium-server-info .info-left > i,
body[data-omega-ui="modern"] .container main .news-item-meta i {
    color: #b6cae6;
}

/* Steel icons at rest; crimson interaction and one unmistakable gold action. */
body[data-omega-ui="modern"] > nav {
    background: #1b2d4c;
    border-color: #49658a;
}
body[data-omega-ui="modern"] > nav > #nav-menu > li > a[href] > i,
body[data-omega-ui="modern"] > nav .language-selector > .dropdown-toggle > i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    line-height: 1;
    vertical-align: middle;
    color: #b6cae6;
}
body[data-omega-ui="modern"] > nav > #nav-menu > li > a[href].active {
    background: #382c47 !important;
    color: #fff0e8 !important;
}
body[data-omega-ui="modern"] > nav > #nav-menu > li > a[href].active > i {
    color: #ffd166;
}
body[data-omega-ui="modern"] > nav > #nav-menu > li > a[href]:focus-visible,
body[data-omega-ui="modern"] > nav .language-selector > .dropdown-toggle:focus-visible {
    background: #5b263c !important;
    color: #fff0e8 !important;
    outline-color: #ffb4c7;
}
body[data-omega-ui="modern"] > nav > #nav-menu > li > a[href]:focus-visible > i,
body[data-omega-ui="modern"] > nav .language-selector > .dropdown-toggle:focus-visible > i {
    color: #ffb4c7;
}
body[data-omega-ui="modern"] > nav .language-selector.open > .dropdown-toggle,
body[data-omega-ui="modern"] > nav .language-selector.show > .dropdown-toggle,
body[data-omega-ui="modern"] > nav .language-selector > .dropdown-toggle[aria-expanded="true"] {
    background: #5b263c !important;
    color: #fff0e8 !important;
}
body[data-omega-ui="modern"] > nav .language-selector.open > .dropdown-toggle > i,
body[data-omega-ui="modern"] > nav .language-selector.show > .dropdown-toggle > i,
body[data-omega-ui="modern"] > nav .language-selector > .dropdown-toggle[aria-expanded="true"] > i {
    color: #ffb4c7;
}
body[data-omega-ui="modern"] > nav .language-dropdown li a:focus-visible {
    background: #5b263c !important;
    color: #fff0e8 !important;
}
body[data-omega-ui="modern"] > nav > #nav-menu > li > a[href]:active,
body[data-omega-ui="modern"] > nav .language-selector > .dropdown-toggle:active {
    background: #4a2136 !important;
    color: #fff0e8 !important;
    box-shadow: inset 0 1px 3px #08152440 !important;
}
@media (hover: hover) and (pointer: fine) {
    body[data-omega-ui="modern"] > nav > #nav-menu > li > a[href]:hover,
    body[data-omega-ui="modern"] > nav .language-selector > .dropdown-toggle:hover {
        background: #5b263c !important;
        color: #fff0e8 !important;
    }
    body[data-omega-ui="modern"] > nav > #nav-menu > li > a[href]:hover > i,
    body[data-omega-ui="modern"] > nav .language-selector > .dropdown-toggle:hover > i {
        color: #ffb4c7;
    }
    body[data-omega-ui="modern"] > nav .language-dropdown li a:hover {
        background: #5b263c !important;
        color: #fff0e8 !important;
    }
    body[data-omega-ui="modern"] .container .sidebar-module:hover,
    body[data-omega-ui="modern"] .container main :is(.news-item,.rank-card--livekills):hover {
        border-color: #6689ad !important;
    }
}
/* Keep these after every general link state. Specificity also covers an active
 * Downloads page, keyboard focus and the pressed state without a crimson flash.
 */
body[data-omega-ui="modern"] > nav > #nav-menu > li > a[href]:is([href$="/downloads/"],[href$="/downloads"]),
body[data-omega-ui="modern"] > nav > #nav-menu > li > a[href]:is([href$="/downloads/"],[href$="/downloads"]).active {
    background: #ffbe45 !important;
    border-color: #ffe29c !important;
    color: #251700 !important;
}
body[data-omega-ui="modern"] > nav > #nav-menu > li > a[href]:is([href$="/downloads/"],[href$="/downloads"]) > i {
    color: inherit !important;
}
body[data-omega-ui="modern"] > nav > #nav-menu > li > a[href]:is([href$="/downloads/"],[href$="/downloads"]):not([aria-disabled="true"]):not(.disabled):focus-visible,
body[data-omega-ui="modern"] > nav > #nav-menu > li > a[href]:is([href$="/downloads/"],[href$="/downloads"]):not([aria-disabled="true"]):not(.disabled):active,
body[data-omega-ui="modern"] > nav > #nav-menu > li > a[href]:is([href$="/downloads/"],[href$="/downloads"]).active:not([aria-disabled="true"]):not(.disabled):focus-visible,
body[data-omega-ui="modern"] > nav > #nav-menu > li > a[href]:is([href$="/downloads/"],[href$="/downloads"]).active:not([aria-disabled="true"]):not(.disabled):active {
    background: #ffd166 !important;
    border-color: #ffe7a5 !important;
    color: #251700 !important;
    outline-color: #ffd166;
}
@media (hover: hover) and (pointer: fine) {
    body[data-omega-ui="modern"] > nav > #nav-menu > li > a[href]:is([href$="/downloads/"],[href$="/downloads"]):not([aria-disabled="true"]):not(.disabled):hover,
    body[data-omega-ui="modern"] > nav > #nav-menu > li > a[href]:is([href$="/downloads/"],[href$="/downloads"]).active:not([aria-disabled="true"]):not(.disabled):hover {
        background: #ffd166 !important;
        border-color: #ffe7a5 !important;
        color: #251700 !important;
    }
}

/* Brand composition: shared desktop proportions and a dedicated mobile scene. */
body[data-omega-ui="modern"] > header:has(.logo-wrapper) {
    padding: 104px 24px 24px;
}
body[data-omega-ui="modern"] > header .logo-wrapper {
    width: 100%;
    margin-bottom: 18px !important;
}
body[data-omega-ui="modern"] > header .logo-wrapper img {
    display: block;
    width: min(100%, 372px);
    max-width: 372px !important;
    height: auto;
    margin-inline: auto;
    filter: drop-shadow(0 3px 10px #030a1e99) !important;
}
body[data-omega-ui="modern"] > header .hero-stats-container {
    max-width: 900px;
    width: 100%;
    margin-inline: auto;
    gap: 12px !important;
    padding-top: 0;
    margin-bottom: 0;
}
/* Replacements are presentation only. Original mode still shows the archived JPGs. */
body[data-omega-ui="modern"] .container main .news-item-content img:is([src$="/notasdelparche.jpg"],[src*="/notasdelparche.jpg?"]) {
    content: url("../img/mu-neverland-patch.webp?v=39");
}
body[data-omega-ui="modern"] .container main .news-item-content img:is([src$="/newchargrow.jpg"],[src*="/newchargrow.jpg?"]) {
    content: url("../img/mu-neverland-lancer.webp?v=39");
}
body[data-omega-ui="modern"] .container main .news-item-content img:is([src$="/halloweenevent.jpg"],[src*="/halloweenevent.jpg?"]) {
    content: url("../img/mu-neverland-halloween.webp?v=39");
}
@media (max-width: 980px) {
    body[data-omega-ui="modern"] {
        background-image:
            linear-gradient(180deg, #11254a 70px, #11254a00 180px, #11254a00 400px, #11254a calc(min(150vw, 630px) + 60px)),
            url("../img/mu-characters-portrait.webp?v=39") !important;
        background-position: center top, center 70px;
        background-size: 100% calc(min(150vw, 630px) + 70px), min(100vw, 420px) auto;
        background-repeat: no-repeat;
        background-attachment: scroll;
    }
    body[data-omega-ui="modern"]::before { display: none; }
    body[data-omega-ui="modern"] > header:has(.logo-wrapper) {
        padding: 90px 20px 24px;
    }
    body[data-omega-ui="modern"] > header .logo-wrapper {
        margin-bottom: clamp(140px, 40vw, 180px) !important;
    }
    body[data-omega-ui="modern"] > header .logo-wrapper img {
        width: min(300px, 80vw);
        max-width: min(300px, 80vw) !important;
    }
    body[data-omega-ui="modern"] > header .simple-rank-card {
        min-height: 60px;
        padding: 10px 14px;
        gap: 10px;
    }
    body[data-omega-ui="modern"] > header .simple-rank-card .card-image {
        width: 40px;
        height: 40px;
        flex-shrink: 0;
    }
    body[data-omega-ui="modern"] > header .simple-rank-card .card-label {
        font-size: 12px;
        line-height: 1.25;
    }
    body[data-omega-ui="modern"] > header .simple-rank-card .player-name {
        font-size: 14px;
        line-height: 1.4;
    }
    body[data-omega-ui="modern"] > header .simple-rank-card .card-stat {
        font-size: 16px !important;
    }
    body[data-omega-ui="modern"] > header .hero-stats-container {
        gap: 8px !important;
    }
}

/* Two native destinations immediately below the logo; no changes to the CMS grid. */
body[data-omega-ui="modern"][data-omega-prepared="40"] > header:has(.hero-stats-container) .logo-wrapper:not(:has(.omega-hero-actions-slot)):not(:has(+ .omega-hero-actions-slot))::after {
    content: "";
    display: block;
    height: 60px;
}
body[data-omega-ui="modern"] > header .omega-hero-actions-slot {
    width: min(100%, 560px);
    margin: 12px auto 0;
}
body[data-omega-ui="modern"] > header .omega-hero-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}
body[data-omega-ui="modern"] > header .omega-hero-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-width: 0;
    min-height: 48px;
    padding: 12px 16px;
    border: 1px solid;
    border-radius: 9px;
    font-size: 16px;
    font-weight: 650;
    line-height: 20px;
    text-decoration: none;
    box-sizing: border-box;
    transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}
body[data-omega-ui="modern"] > header .omega-hero-action > svg {
    flex: 0 0 18px;
    stroke-width: 1.8;
}
body[data-omega-ui="modern"] > header .omega-hero-action--download {
    background: #ffbe45;
    border-color: #ffe2a3;
    color: #251700;
}
body[data-omega-ui="modern"] > header .omega-hero-action--register {
    background: #b92943;
    border-color: #ed8194;
    color: #fff7f4;
}
body[data-omega-ui="modern"] > header .omega-hero-action:focus-visible {
    outline: 2px solid #ffe7a5;
    outline-offset: 3px;
}
body[data-omega-ui="modern"] > header .omega-hero-action--download:active {
    background: #f3ad32;
}
body[data-omega-ui="modern"] > header .omega-hero-action--register:active {
    background: #9e203a;
}
body[data-omega-ui="modern"] > header .omega-hero-actions-slot--sibling {
    margin-top: -6px;
    margin-bottom: 18px;
}
@media (hover: hover) and (pointer: fine) {
    body[data-omega-ui="modern"] > header .omega-hero-action--download:hover {
        background: #ffd166;
        border-color: #ffe7a5;
        color: #251700;
    }
    body[data-omega-ui="modern"] > header .omega-hero-action--register:hover {
        background: #a8243e;
        border-color: #ffb4c7;
        color: #fff7f4;
    }
}
@media (max-width: 980px) {
    body[data-omega-ui="modern"][data-omega-prepared="40"] > header:has(.hero-stats-container) .logo-wrapper:not(:has(.omega-hero-actions-slot)):not(:has(+ .omega-hero-actions-slot))::after { height: 56px; }
    body[data-omega-ui="modern"]:has(> header .hero-stats-container) {
        background-image:
            linear-gradient(180deg, #11254a 126px, #11254a00 236px, #11254a00 456px, #11254a calc(min(150vw, 630px) + 116px)),
            url("../img/mu-characters-portrait.webp?v=39") !important;
        background-position: center top, center 126px;
        background-size: 100% calc(min(150vw, 630px) + 126px), min(100vw, 420px) auto;
    }
    body[data-omega-ui="modern"] > header .omega-hero-actions-slot {
        width: min(100%, 420px);
        margin-top: 8px;
    }
    body[data-omega-ui="modern"] > header .omega-hero-actions { gap: 8px; }
    body[data-omega-ui="modern"] > header .omega-hero-action {
        padding: 11px 8px;
        gap: 6px;
        font-size: 14px;
    }
    body[data-omega-ui="modern"] > header .omega-hero-actions-slot--sibling {
        margin-top: calc(8px - clamp(140px, 40vw, 180px));
        margin-bottom: clamp(140px, 40vw, 180px);
    }
}
@media (max-width: 360px) {
    body[data-omega-ui="modern"] > header .omega-hero-action-detail { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    body[data-omega-ui="modern"] > header .omega-hero-action { transition: none; }
}

/* The native navigation becomes a modal drawer only at the mobile breakpoint. */
.omega-drawer-heading-slot,.omega-drawer-backdrop-slot { display: none; }
@media (max-width: 980px) {
    body[data-omega-ui="modern"] > nav[data-omega-drawer-mobile="true"] {
        position: fixed;
        inset: 0 !important;
        z-index: 9990;
        width: 100% !important;
        max-width: none !important;
        height: 100%;
        margin: 0;
        padding: 0 !important;
        transform: none !important;
        border: 0 !important;
        border-radius: 0;
        background: transparent !important;
        box-shadow: none !important;
        pointer-events: none;
    }
    body[data-omega-ui="modern"] > nav[data-omega-drawer-mobile="true"] .menu-toggle {
        position: absolute;
        top: max(12px,env(safe-area-inset-top));
        left: 50%;
        transform: translateX(-50%);
        min-width: 64px;
        min-height: 48px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin: 0;
        border-radius: 12px;
        border: 1px solid #6282a7;
        background: #1b3557;
        color: #ecf4ff;
        cursor: pointer;
        pointer-events: auto;
    }
    body[data-omega-ui="modern"] > nav[data-omega-drawer-mobile="true"] #nav-menu {
        display: none !important;
    }
    body[data-omega-ui="modern"] > nav[data-omega-drawer-mobile="true"][data-omega-drawer-open="true"] #nav-menu {
        position: absolute;
        inset: 0 0 0 auto;
        display: flex !important;
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        gap: 8px;
        width: min(360px,calc(100% - 28px));
        max-width: none;
        height: 100%;
        max-height: none;
        margin: 0;
        padding: calc(96px + env(safe-area-inset-top)) 20px max(24px,env(safe-area-inset-bottom));
        overflow-y: auto;
        overscroll-behavior: contain;
        transform: none;
        border: 0;
        border-left: 1px solid #547397;
        border-radius: 0;
        background: #142d50;
        box-shadow: -12px 0 36px #030b1c55;
        pointer-events: auto;
    }
    body[data-omega-ui="modern"] > nav[data-omega-drawer-mobile="true"] #nav-menu > li {
        flex: 0 0 auto;
        width: 100%;
        margin: 0;
        padding: 0;
        border: 0;
    }
    body[data-omega-ui="modern"] > nav[data-omega-drawer-mobile="true"] #nav-menu > li > a[href],
    body[data-omega-ui="modern"] > nav[data-omega-drawer-mobile="true"] .language-selector > .dropdown-toggle {
        width: 100%;
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 12px;
        padding: 12px 14px;
        font-size: 14px;
        line-height: 1.5;
        text-align: left;
    }
    body[data-omega-ui="modern"] > nav[data-omega-drawer-mobile="true"] #nav-menu > li > a[aria-current="page"] {
        box-shadow: inset 3px 0 #ffd166;
    }
    body[data-omega-ui="modern"] > nav[data-omega-drawer-mobile="true"] .language-selector {
        display: block;
        width: 100%;
        margin-top: 12px;
        padding-top: 12px;
        border-top: 1px solid #3f6289;
    }
    body[data-omega-ui="modern"] > nav[data-omega-drawer-mobile="true"] .language-dropdown {
        position: static !important;
        inset: auto !important;
        float: none;
        display: none !important;
        width: 100%;
        min-width: 0;
        margin: 8px 0 0;
        padding: 6px;
        transform: none !important;
        box-shadow: none;
    }
    body[data-omega-ui="modern"] > nav[data-omega-drawer-mobile="true"][data-omega-drawer-language-open="true"] .language-dropdown {
        display: block !important;
    }
    body[data-omega-ui="modern"] > nav[data-omega-drawer-mobile="true"] .language-dropdown li a {
        min-height: 44px;
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 10px 12px;
        font-size: 14px;
    }
    body[data-omega-ui="modern"] > nav[data-omega-drawer-mobile="true"][data-omega-drawer-open="true"] .menu-toggle {
        display: none;
    }
    body[data-omega-ui="modern"] > nav[data-omega-drawer-mobile="true"][data-omega-drawer-open="true"] .omega-drawer-heading-slot {
        position: absolute;
        inset: 0 0 auto auto;
        display: block;
        z-index: 2;
        width: min(360px,calc(100% - 28px));
        pointer-events: auto;
    }
    .omega-drawer-heading {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: calc(20px + env(safe-area-inset-top)) 20px 16px;
        border-bottom: 1px solid #3f6289;
        background: #142d50;
    }
    .omega-drawer-heading span { color: #bed2ef; font-size: 12px; letter-spacing: .09em; }
    .omega-drawer-heading h2 { margin: 3px 0 0; color: #f5f9ff; font-size: 18px; line-height: 1.35; font-weight: 600; }
    .omega-drawer-heading button {
        flex: 0 0 44px;
        width: 44px;
        height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        border: 1px solid #6282a7;
        border-radius: 9px;
        background: #1b3557;
        color: #f5f9ff;
        cursor: pointer;
    }
    body[data-omega-ui="modern"] .omega-drawer-backdrop-slot[data-open="true"] {
        position: fixed;
        inset: 0;
        display: block;
        z-index: 9980;
    }
    .omega-drawer-backdrop {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        margin: 0;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: #030b1cb8;
        cursor: pointer;
    }
    body[data-omega-ui="modern"] .omega-drawer-heading button:focus-visible,
    body[data-omega-ui="modern"] > nav[data-omega-drawer-mobile="true"] .menu-toggle:focus-visible {
        outline: 2px solid #ffd166;
        outline-offset: 3px;
    }
}

/* One coherent indigo backdrop; all image fades share the same endpoint. */
body[data-omega-ui="modern"] {
    --wing-base: #1b3865;
    --alive-base: #1b3865;
    background-color: #1b3865;
    background-image:
        linear-gradient(180deg, transparent 560px, #1b38658c 740px, #1b3865 890px),
        url("../img/mu-characters-desktop.webp") !important;
}
body[data-omega-ui="modern"]::before {
    background-image:
        linear-gradient(180deg, transparent 560px, #1b38658c 740px, #1b3865 890px),
        url("../img/mu-warrior-refined.webp?v=38");
}
@media (prefers-reduced-data: reduce) and (min-width: 981px) {
    body[data-omega-ui="modern"] {
        background-image:
            linear-gradient(180deg, transparent 360px, #1b38658c 580px, #1b3865 700px),
            url("../img/mu-characters-mobile.webp") !important;
    }
}
@media (max-width: 980px) {
    body[data-omega-ui="modern"] {
        background-image:
            linear-gradient(180deg, #1b3865 70px, #1b386500 180px, #1b386500 400px, #1b3865 calc(min(150vw, 630px) + 60px)),
            url("../img/mu-characters-portrait.webp?v=39") !important;
    }
    body[data-omega-ui="modern"]:has(> header .hero-stats-container) {
        background-image:
            linear-gradient(180deg, #1b3865 126px, #1b386500 236px, #1b386500 456px, #1b3865 calc(min(150vw, 630px) + 116px)),
            url("../img/mu-characters-portrait.webp?v=39") !important;
    }
}

/* Active indigo, cyan and gold color system. */
/* A single indigo family, ice-cyan actions and one warm-gold primary action. */
body[data-omega-ui="modern"] {
    --atelier-panel: linear-gradient(145deg, #28496f, #293d64);
    --atelier-inset: linear-gradient(145deg, #243f63, #233956);
    --atelier-header: linear-gradient(110deg, #315781, #2a466d);
    --atelier-action: linear-gradient(180deg, #75d8e9, #58bbd8);
    --atelier-action-hover: linear-gradient(180deg, #91e5f1, #70cce2);
    --atelier-gold: linear-gradient(180deg, #f6d58d, #edb957);
    --atelier-gold-hover: linear-gradient(180deg, #ffe5aa, #f6ce7a);
    --alive-panel: #28496f;
    --alive-raised: #315781;
    --alive-inset: #243f63;
    --alive-line: #6087b1;
    --alive-gold: #f6d58d;
    --alive-light: #ffe5aa;
    --alive-ruby: #cf2e4f;
    --alive-rose: #cbeef9;
    --om-text: #f4f9ff;
    --om-muted: #c9ddf3;
    --omega-accent-primary: #b9e5f3;
    --omega-accent-text: #cbeef9;
    --omega-focus: #9edaf2;
    --om-accent: #75d8e9;
    color: #f4f9ff;
}

/* Opaque indigo surfaces keep the content distinct from the character artwork. */
body[data-omega-ui="modern"] > header .simple-rank-card,
body[data-omega-ui="modern"] .container .sidebar-module,
body[data-omega-ui="modern"] .container .social-widgets-module,
body[data-omega-ui="modern"] .container main .rank-card--livekills,
body[data-omega-ui="modern"] .container main .news-item,
body[data-omega-ui="modern"] .container main .profiles_player_card,
body[data-omega-ui="modern"] .auth-wrapper .auth-card {
    background: var(--atelier-panel);
    border-color: #6087b1 !important;
    box-shadow: inset 0 1px #c3e2ff24, 0 9px 22px #07162f3b !important;
}
body[data-omega-ui="modern"] :is(.omega-start-callout,.omega-product-card,.omega-product-panel,.omega-agenda-card,.omega-rank-tools),
body[data-omega-ui="modern"] .omega-start-steps > li,
body[data-omega-ui="modern"] .container main .omega-downloads,
body[data-omega-ui="modern"] .container main .omega-downloads .omega-client-card,
body[data-omega-ui="modern"] .container main .omega-downloads .omega-client-card.remastered {
    background: var(--atelier-panel);
    border-color: #6087b1;
    box-shadow: inset 0 1px #c3e2ff24, 0 9px 22px #07162f2b;
}
body[data-omega-ui="modern"] .container main .news-item-header {
    background: var(--atelier-header);
    border-bottom-color: #769cbe;
}
body[data-omega-ui="modern"] .container .sidebar-module > h3,
body[data-omega-ui="modern"] .container .premium-server-info .module-header,
body[data-omega-ui="modern"] .container .sidebar-module:has(> h3 > :is(.fa-medal,.fa-shield-alt)) > h3 {
    color: #f4f9ff;
    border-bottom-color: #6087b1;
}
body[data-omega-ui="modern"] .container .sidebar-module > h3 > i,
body[data-omega-ui="modern"] .container .sidebar-right .castle-owner-widget > h3 > i,
body[data-omega-ui="modern"] .container .premium-server-info .module-icon,
body[data-omega-ui="modern"] .container .sidebar-module:has(> h3 > :is(.fa-medal,.fa-shield-alt)) > h3 > i,
body[data-omega-ui="modern"] .container .sidebar-right .premium-server-info .info-left > i,
body[data-omega-ui="modern"] .container main .news-item-meta i {
    color: #b8dff2;
}
body[data-omega-ui="modern"] .container .sidebar-right .premium-server-info .info-card,
body[data-omega-ui="modern"] .container .sidebar-right .castle-owner-widget :is(.cs-owner-header,.cs-countdown),
body[data-omega-ui="modern"] .container main .omega-downloads :is(.omega-client-footer,.omega-download-help),
body[data-omega-ui="modern"] .container .events-module .events-table td[data-omega-event-layout],
body[data-omega-ui="modern"] .container main .profiles_player_card .profiles_player_table_info tr {
    background: var(--atelier-inset);
    border-color: #547a9f;
}
body[data-omega-ui="modern"] .container main .profiles_player_card .profiles_player_table_info tr:nth-child(even) {
    background: #2c486e;
}
body[data-omega-ui="modern"] .container .social-widgets-module .social-widget {
    background: linear-gradient(145deg, #2b4b70, #263d60);
    border-color: #698eaf;
}
body[data-omega-ui="modern"] .container main .news-item-title a,
body[data-omega-ui="modern"] .container main .news-item-content :is(h1,h2,h3,strong) { color: #f4f9ff; }
body[data-omega-ui="modern"] .container main .news-item-content { color: #e3eefb; }
body[data-omega-ui="modern"] .container main .news-item-meta,
body[data-omega-ui="modern"] .container main .news-item-meta > span:last-child,
body[data-omega-ui="modern"] .container main .profiles_player_card .profiles_player_table_info td:first-child,
body[data-omega-ui="modern"] :is(.omega-start-callout p,.omega-product-heading p,.omega-product-card > span,.omega-product-card small,.omega-product-panel p,.omega-product-panel li,.omega-form-help,.omega-agenda-zone,.omega-agenda-caption,.omega-agenda-detail p,.omega-rank-count) {
    color: #c9ddf3;
}
body[data-omega-ui="modern"] .auth-wrapper .auth-form .input-group input,
body[data-omega-ui="modern"] .container aside .login-form .input-group input,
body[data-omega-ui="modern"] .omega-rank-search > div {
    background: #203b5d;
    border-color: #7098b9;
    color: #f4f9ff;
}
body[data-omega-ui="modern"] .auth-wrapper .auth-form .input-group input::placeholder,
body[data-omega-ui="modern"] .container aside .login-form .input-group input::placeholder { color: #bfd3e9; }
body[data-omega-ui="modern"] .auth-wrapper .auth-form .input-group input:focus,
body[data-omega-ui="modern"] .container aside .login-form .input-group input:focus {
    background: #294b70;
    border-color: #f6d58d;
    outline-color: #f6d58d;
}
body[data-omega-ui="modern"] :is(.omega-product-empty,.omega-rank-empty,.omega-agenda-empty),
body[data-omega-ui="modern"] .container .omega-content-state {
    background: #263f62;
    border-color: #698eaf;
    color: #c9ddf3;
}
body[data-omega-ui="modern"] .omega-filter-chip {
    background: #2d5077 !important;
    border-color: #759ab9 !important;
    color: #e9f4ff !important;
}
body[data-omega-ui="modern"] .omega-filter-chip[aria-pressed="true"],
body[data-omega-ui="modern"] [data-omega-filter-active="true"] {
    background: #355b80 !important;
    border-color: #f6d58d !important;
    color: #e5f5ff !important;
    box-shadow: 0 0 0 1px #f6d58d;
}
body[data-omega-ui="modern"] .container main .rankings_menu a {
    background: #28466b !important;
    border-color: #769cbe;
    color: #e0efff !important;
}
body[data-omega-ui="modern"] .container main .rankings_menu a.active {
    background: #355b80 !important;
    border-color: #9edaf2;
    color: #e5f5ff !important;
}
body[data-omega-ui="modern"] .container main table.rankings-table tr:first-child:not([data-omega-rank-row]):not([data-class-id]):not(:has(.rankings-table-place)) > td {
    background: #315781 !important;
    color: #c9ddf3;
}
body[data-omega-ui="modern"] .container main table.rankings-table tr[data-omega-rank-row]:not([data-omega-podium]) > td {
    background: #263f62 !important;
    border-color: #547a9f !important;
    color: #edf5ff !important;
}

/* Supporting actions use ice cyan with dark ink; gold is reserved for Downloads. */
body[data-omega-ui="modern"] .auth-wrapper .auth-form .btn-more,
body[data-omega-ui="modern"] .container aside .login-form .btn-more,
body[data-omega-ui="modern"] .container main :is(.btn-more,.btn-orange,.btn-download),
body[data-omega-ui="modern"] .container main .omega-downloads .omega-download-btn,
body[data-omega-ui="modern"] .container .sidebar-right .castle-owner-widget .cs-details-btn,
body[data-omega-ui="modern"] .omega-ui-button[class~="om-bg-[#c83f52]"],
body[data-omega-ui="modern"] > header .omega-hero-action--register {
    background: var(--atelier-action) !important;
    border-color: #a7e4ef !important;
    color: #102f43 !important;
    box-shadow: inset 0 1px #dcfaff80, 0 4px 12px #123a4f26;
}
body[data-omega-ui="modern"] .omega-ui-button[class~="om-bg-[#181c25]"] {
    background: linear-gradient(145deg, #315781, #263f65);
    border-color: #759ab9;
    color: #f4f9ff;
}
body[data-omega-ui="modern"] > header .omega-hero-action--download {
    background: var(--atelier-gold);
    border-color: #f8dfaa;
    color: #302207;
    box-shadow: inset 0 1px #fff3d5b3, 0 4px 12px #59421e24;
}
body[data-omega-ui="modern"] .omega-back-to-top {
    background: linear-gradient(145deg, #315781, #263f65);
    border-color: #9edaf2;
    color: #c6eafa;
}

/* One cool navigation family. The mobile nav canvas remains transparent. */
body[data-omega-ui="modern"] > nav {
    background: linear-gradient(110deg, #243c60, #1c2f4e);
    border-color: #6087b1;
    box-shadow: inset 0 1px #c6eafa24, 0 8px 20px #07142938;
}
body[data-omega-ui="modern"] > nav > #nav-menu > li > a[href],
body[data-omega-ui="modern"] > nav .language-selector > .dropdown-toggle { color: #e7f2ff !important; }
body[data-omega-ui="modern"] > nav > #nav-menu > li > a[href] > i,
body[data-omega-ui="modern"] > nav .language-selector > .dropdown-toggle > i { color: #bed8ee; }
body[data-omega-ui="modern"] > nav > #nav-menu > li > a[href].active {
    background: #355b80 !important;
    color: #f4f9ff !important;
    box-shadow: inset 0 1px #c6eafa24;
}
body[data-omega-ui="modern"] > nav > #nav-menu > li > a[href].active > i { color: #d7f1fc; }
body[data-omega-ui="modern"] > nav > #nav-menu > li > a[href].active::after { background: #9edaf2; }
body[data-omega-ui="modern"] > nav > #nav-menu > li > a[href]:focus-visible,
body[data-omega-ui="modern"] > nav .language-selector > .dropdown-toggle:focus-visible,
body[data-omega-ui="modern"] > nav .language-selector.open > .dropdown-toggle,
body[data-omega-ui="modern"] > nav .language-selector.show > .dropdown-toggle,
body[data-omega-ui="modern"] > nav .language-selector > .dropdown-toggle[aria-expanded="true"] {
    background: #3d678c !important;
    color: #f4f9ff !important;
    outline-color: #f6d58d;
}
body[data-omega-ui="modern"] > nav > #nav-menu > li > a[href]:focus-visible > i,
body[data-omega-ui="modern"] > nav .language-selector > .dropdown-toggle:focus-visible > i { color: #dff5ff; }
body[data-omega-ui="modern"] > nav > #nav-menu > li > a[href]:active,
body[data-omega-ui="modern"] > nav .language-selector > .dropdown-toggle:active {
    background: #2d5074 !important;
    color: #f4f9ff !important;
}
body[data-omega-ui="modern"] > nav .language-dropdown {
    background: #28476d !important;
    border-color: #6d93b5 !important;
}
body[data-omega-ui="modern"] > nav .language-dropdown li a { color: #e5f2ff !important; }
body[data-omega-ui="modern"] > nav .language-dropdown li.active a,
body[data-omega-ui="modern"] > nav .language-dropdown li a:focus-visible {
    background: #3d678c !important;
    color: #e4f5ff !important;
}

@media (hover: hover) and (pointer: fine) {
    body[data-omega-ui="modern"] > nav > #nav-menu > li > a[href]:hover,
    body[data-omega-ui="modern"] > nav .language-selector > .dropdown-toggle:hover {
        background: #3d678c !important;
        color: #f4f9ff !important;
    }
    body[data-omega-ui="modern"] > nav > #nav-menu > li > a[href]:hover > i,
    body[data-omega-ui="modern"] > nav .language-selector > .dropdown-toggle:hover > i { color: #dff5ff; }
    body[data-omega-ui="modern"] > nav .language-dropdown li a:hover {
        background: #3d678c !important;
        color: #e4f5ff !important;
    }
    body[data-omega-ui="modern"] .auth-wrapper .auth-form .btn-more:not(:disabled):not([aria-disabled="true"]):not(.disabled):hover,
    body[data-omega-ui="modern"] .container aside .login-form .btn-more:not(:disabled):not([aria-disabled="true"]):not(.disabled):hover,
    body[data-omega-ui="modern"] .container main :is(.btn-more,.btn-orange,.btn-download):not(:disabled):not([aria-disabled="true"]):not(.disabled):hover,
    body[data-omega-ui="modern"] .container main .omega-downloads .omega-download-btn:not(:disabled):not([aria-disabled="true"]):not(.disabled):hover,
    body[data-omega-ui="modern"] .container .sidebar-right .castle-owner-widget .cs-details-btn:not(:disabled):not([aria-disabled="true"]):not(.disabled):hover,
    body[data-omega-ui="modern"] .omega-ui-button[class~="om-bg-[#c83f52]"]:not(:disabled):not([aria-disabled="true"]):not(.disabled):hover,
    body[data-omega-ui="modern"] > header .omega-hero-action--register:not(:disabled):not([aria-disabled="true"]):not(.disabled):hover {
        background: var(--atelier-action-hover) !important;
        border-color: #d2f4fa !important;
        color: #102f43 !important;
    }
    body[data-omega-ui="modern"] > header .omega-hero-action--download:not([aria-disabled="true"]):not(.disabled):hover {
        background: var(--atelier-gold-hover);
        border-color: #ffecc5;
        color: #302207;
    }
    body[data-omega-ui="modern"] .container .sidebar-module:hover,
    body[data-omega-ui="modern"] .container main :is(.news-item,.rank-card--livekills):hover { border-color: #9edaf2 !important; }
    body[data-omega-ui="modern"] .container .sidebar-module > .ranking-item:hover,
    body[data-omega-ui="modern"] .container .sidebar-module > .ranking-item:focus-within { background: #355b80; }
    body[data-omega-ui="modern"] .container main table.rankings-table tr[data-omega-rank-row]:not([data-omega-podium]):hover > td { background: #34587e !important; }
}

/* Match all native Downloads states, including the more specific legacy guards. */
body[data-omega-ui="modern"] > nav > #nav-menu > li > a[href]:is([href$="/downloads/"],[href$="/downloads"]),
body[data-omega-ui="modern"] > nav > #nav-menu > li > a[href]:is([href$="/downloads/"],[href$="/downloads"]).active {
    background: var(--atelier-gold) !important;
    border-color: #f8dfaa !important;
    color: #302207 !important;
    box-shadow: inset 0 1px #fff3d5b3;
}
body[data-omega-ui="modern"] > nav > #nav-menu > li > a[href]:is([href$="/downloads/"],[href$="/downloads"]) > i { color: inherit !important; }
body[data-omega-ui="modern"] > nav > #nav-menu > li > a[href]:is([href$="/downloads/"],[href$="/downloads"]):not([aria-disabled="true"]):not(.disabled):focus-visible,
body[data-omega-ui="modern"] > nav > #nav-menu > li > a[href]:is([href$="/downloads/"],[href$="/downloads"]):not([aria-disabled="true"]):not(.disabled):active,
body[data-omega-ui="modern"] > nav > #nav-menu > li > a[href]:is([href$="/downloads/"],[href$="/downloads"]).active:not([aria-disabled="true"]):not(.disabled):focus-visible,
body[data-omega-ui="modern"] > nav > #nav-menu > li > a[href]:is([href$="/downloads/"],[href$="/downloads"]).active:not([aria-disabled="true"]):not(.disabled):active {
    background: var(--atelier-gold-hover) !important;
    border-color: #ffecc5 !important;
    color: #302207 !important;
    outline-color: #f6d58d;
}
@media (hover: hover) and (pointer: fine) {
    body[data-omega-ui="modern"] > nav > #nav-menu > li > a[href]:is([href$="/downloads/"],[href$="/downloads"]):not([aria-disabled="true"]):not(.disabled):hover,
    body[data-omega-ui="modern"] > nav > #nav-menu > li > a[href]:is([href$="/downloads/"],[href$="/downloads"]).active:not([aria-disabled="true"]):not(.disabled):hover {
        background: var(--atelier-gold-hover) !important;
        border-color: #ffecc5 !important;
        color: #302207 !important;
    }
}
body[data-omega-ui="modern"] .auth-wrapper .auth-form .btn-more:is(:disabled,[aria-disabled="true"],.disabled),
body[data-omega-ui="modern"] .container aside .login-form .btn-more:is(:disabled,[aria-disabled="true"],.disabled),
body[data-omega-ui="modern"] .container main :is(.btn-more,.btn-orange,.btn-download):is(:disabled,[aria-disabled="true"],.disabled),
body[data-omega-ui="modern"] .container main .omega-downloads .omega-download-btn:is(:disabled,[aria-disabled="true"],.disabled),
body[data-omega-ui="modern"] .container .sidebar-right .castle-owner-widget .cs-details-btn:is(:disabled,[aria-disabled="true"],.disabled),
body[data-omega-ui="modern"] .omega-ui-button:is(:disabled,[aria-disabled="true"],.disabled),
body[data-omega-ui="modern"] > header .omega-hero-action:is([aria-disabled="true"],.disabled) {
    background: #2b3e58 !important;
    border-color: #57718e !important;
    color: #a4b7d0 !important;
}

@media (max-width: 980px) {
    body[data-omega-ui="modern"] > nav[data-omega-drawer-mobile="true"] .menu-toggle {
        background: linear-gradient(145deg, #315781, #243c60);
        border-color: #86b3ce;
        color: #e7f2ff;
    }
    body[data-omega-ui="modern"] > nav[data-omega-drawer-mobile="true"][data-omega-drawer-open="true"] #nav-menu,
    body[data-omega-ui="modern"] .omega-drawer-heading {
        background: linear-gradient(145deg, #28496f, #293d64);
        border-color: #698eaf;
    }
    body[data-omega-ui="modern"] .omega-drawer-heading h2 { color: #f4f9ff; }
    body[data-omega-ui="modern"] .omega-drawer-heading span { color: #c9ddf3; }
    body[data-omega-ui="modern"] .omega-drawer-heading button {
        background: #315781;
        border-color: #93bdd8;
        color: #f4f9ff;
    }
}
body[data-omega-ui="modern"] .omega-footer {
    background: linear-gradient(110deg, #203957, #1d314d);
    border-top-color: #6087b1;
}
body[data-omega-ui="modern"] .omega-footer .omega-footer-column h4 { color: #d7f1fc; }
body[data-omega-ui="modern"] .omega-footer .omega-footer-bottom { border-top-color: #547a9f; }

/* Quiet secondary information; explicit green/alert/social/podium roles are retained. */
body[data-omega-ui="modern"] > header .simple-rank-card .card-image > div { background: #315781 !important; border-color: #7fa4c4 !important; }
body[data-omega-ui="modern"] > header .simple-rank-card .card-image > div > i { color: #bddff1 !important; }
body[data-omega-ui="modern"] > header .simple-rank-card .card-stat { color: #f4f9ff !important; }
body[data-omega-ui="modern"] .container .view-all-link,
body[data-omega-ui="modern"] .container .sidebar-module:has(> h3 > :is(.fa-medal,.fa-shield-alt)) > .view-all-link,
body[data-omega-ui="modern"] .container main .news-readmore,
body[data-omega-ui="modern"] .container main .news-item-content a:not(:is(.btn-more,.btn-orange,.btn-download,.omega-download-btn,.news-readmore)),
body[data-omega-ui="modern"] .container main .profiles_player_card .profiles_player_table .cclass,
body[data-omega-ui="modern"] :is(.omega-product-links a,.omega-product-panel a,.omega-start-steps a,.omega-agenda-detail summary) { color: #c4edf9; }
body[data-omega-ui="modern"] .container main .news-item-content blockquote { background: var(--atelier-inset); color: #c9ddf3; border-left-color: #9edaf2; }
body[data-omega-ui="modern"] .container main .omega-downloads :is(.omega-platform-icon,.omega-download-hero-icon,.omega-help-icon) { background: #315781; border-color: #82aac8; color: #c4edf9; }
body[data-omega-ui="modern"] .omega-class-badge-slot { background: #294b70; border-color: #82aac8; color: #c4edf9; box-shadow: 0 0 0 3px #28496f; }
body[data-omega-ui="modern"] .container .sidebar-right .premium-server-info .info-right > .badge.gold { background: #315781; color: #e3f5ff; border-color: #82aac8; }
body[data-omega-ui="modern"] .omega-footer :is(.omega-footer-description,.omega-footer-column a,.omega-footer-credit,.omega-footer-credit span,.omega-footer-version,.omega-footer-bottom,.omega-footer-bottom a) { color: #c9ddf3; }
@media (hover: hover) and (pointer: fine) { body[data-omega-ui="modern"] .omega-footer a:hover { color: #ecfaff; } }
body[data-omega-ui="modern"] .container .sidebar-right .castle-owner-widget .cs-details-btn > i { color: inherit; }
body[data-omega-ui="modern"] .container main :is(.btn-more,.btn-orange,.btn-download,.omega-download-btn) > i,
body[data-omega-ui="modern"] .auth-wrapper .auth-form .btn-more > i,
body[data-omega-ui="modern"] .container aside .login-form .btn-more > i { color: inherit; }

/* Uniform native news banners and reversible, readable article summaries. */
body[data-omega-ui="modern"] .container main .news-item-header {
  border-bottom-color: #9bbbd647;
}
body[data-omega-ui="modern"] .container main .news-item-meta {
  align-items: center;
  gap: 6px 10px;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
}
body[data-omega-ui="modern"] .container main .news-item-meta > span {
  min-height: 18px;
  gap: 6px;
}
body[data-omega-ui="modern"] .container main .news-item-meta > span:first-child {
  color: #c9ddf3;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
body[data-omega-ui="modern"] .container main .news-item-meta > span + span {
  padding-inline-start: 10px;
  border-inline-start: 1px solid #9bbbd647;
}
body[data-omega-ui="modern"] .container main .news-item-meta > span:last-child {
  color: #bdd1e7;
  font-weight: 400;
}
body[data-omega-ui="modern"] .container main .omega-news-banner {
  width: 100%;
  margin: 0 0 20px;
}
body[data-omega-ui="modern"] .container main .omega-news-banner > :last-child { margin-bottom: 0; }
body[data-omega-ui="modern"] .container main .omega-news-banner img {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: none !important;
  aspect-ratio: 2 / 1;
  object-fit: contain;
  object-position: center;
  padding: 8px;
  border: 1px solid #526787;
  background: #101b31;
  image-rendering: auto;
  box-shadow: none;
  margin: 0;
  border-radius: 10px;
}
body[data-omega-ui="modern"] .container main .omega-news-summary {
  margin: 0 0 20px;
  color: #e4edf9;
  font-size: 16px;
  line-height: 1.8;
  text-wrap: pretty;
}
body[data-omega-ui="modern"] .container main .omega-news-full {
  color: #e4edf9;
  font-size: 16px;
  line-height: 1.85;
  overflow-wrap: anywhere;
}
body[data-omega-ui="modern"] .container main .omega-news-full :is(p,ul,ol,blockquote) {
  margin-bottom: 1.15em;
}
body[data-omega-ui="modern"] .container main .omega-news-full :is(h1,h2,h3,h4) {
  margin-top: 1.5em;
  line-height: 1.5;
}
body[data-omega-ui="modern"] .container main .omega-news-full > :first-child { margin-top: 0; }
body[data-omega-ui="modern"] .container main :is(.omega-news-full,.omega-news-summary)[hidden] {
  display: none !important;
}
body[data-omega-ui="modern"] .container main .omega-news-actions {
  display: flex;
  justify-content: flex-start;
  margin-top: 20px;
}
body[data-omega-ui="modern"] .container main .omega-news-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 44px;
  padding: 10px 17px;
  border: 1px solid #749bbf;
  border-radius: 9px;
  background: #31547a;
  color: #f4f9ff;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  cursor: pointer;
  box-shadow: inset 0 1px 0 #a5c7ec12;
}
body[data-omega-ui="modern"] .container main .omega-news-toggle::after {
  content: "";
  width: 7px;
  height: 7px;
  margin-top: -4px;
  border-right: 2px solid #b8e9ff;
  border-bottom: 2px solid #b8e9ff;
  transform: rotate(45deg);
}
body[data-omega-ui="modern"] .container main .omega-news-toggle[aria-expanded="true"]::after {
  margin-top: 4px;
  transform: rotate(225deg);
}
body[data-omega-ui="modern"] .container main .omega-news-toggle:focus-visible {
  outline: 2px solid #9edaf2;
  outline-offset: 4px;
}
@media (hover: hover) and (pointer: fine) {
  body[data-omega-ui="modern"] .container main .omega-news-toggle:hover {
    border-color: #a5d9f7;
    background: #3d678c;
    color: #fff;
  }
}
@media (max-width: 640px) {
  body[data-omega-ui="modern"] .container main .omega-news-banner img { padding: 5px; border-radius: 6px; }
}

/* Class explorer only. Native details preserve the guide without JavaScript. */
body[data-omega-ui="modern"] .omega-class-guide{min-width:0;color:#f4f9ff;container-type:inline-size}
body[data-omega-ui="modern"] .omega-class-heading{margin:0 0 22px}
body[data-omega-ui="modern"] .omega-class-eyebrow{display:block;margin-bottom:10px;font-size:12px;font-weight:600;letter-spacing:.12em;color:#b9e5f3}
body[data-omega-ui="modern"] .omega-class-heading h1{margin:0 0 10px;color:#f4f9ff;font-size:clamp(24px,3vw,30px);font-weight:600;line-height:1.25;letter-spacing:-.035em}
body[data-omega-ui="modern"] .omega-class-heading p{margin:0;color:#c9ddf3;font-size:16px;line-height:1.75}
body[data-omega-ui="modern"] .omega-class-reference{margin:0 0 18px;padding:14px 16px;border:1px solid #6a5734;border-radius:10px;background:#272316;color:#d9c99e}
body[data-omega-ui="modern"] .omega-class-reference strong{font-size:14px;font-weight:600;color:#f6d58d}
body[data-omega-ui="modern"] .omega-class-reference p{margin:5px 0 0;font-size:16px;line-height:1.7;color:#e0d3b2}
body[data-omega-ui="modern"] .omega-class-caption{margin:0 0 18px;color:#c9ddf3;font-size:16px;line-height:1.75}
body[data-omega-ui="modern"] .omega-class-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
body[data-omega-ui="modern"] .omega-class-card{--omega-class-accent:#9de4f3;position:relative;box-sizing:border-box;min-width:0;padding:20px 18px 0;border:1px solid #6087ab;border-radius:12px;background:var(--atelier-panel,linear-gradient(145deg,#28496f,#293d64));box-shadow:inset 0 1px #c3e2ff26,0 5px 18px #030b1e25}
/* Family color is confined to an emblem, portrait frame and short engraved line. */
body[data-omega-ui="modern"] .omega-class-card[data-class-group="16"]{--omega-class-accent:#ffb5a6}
body[data-omega-ui="modern"] .omega-class-card[data-class-group="32"]{--omega-class-accent:#94e4c4}
body[data-omega-ui="modern"] .omega-class-card[data-class-group="48"]{--omega-class-accent:#a9c9ff}
body[data-omega-ui="modern"] .omega-class-card[data-class-group="64"]{--omega-class-accent:#f6d58d}
body[data-omega-ui="modern"] .omega-class-card[data-class-group="80"]{--omega-class-accent:#d5bbff}
body[data-omega-ui="modern"] .omega-class-card[data-class-group="96"]{--omega-class-accent:#ffc393}
body[data-omega-ui="modern"] .omega-class-card[data-class-group="112"]{--omega-class-accent:#b2d8ee}
body[data-omega-ui="modern"] .omega-class-card[data-class-group="128"]{--omega-class-accent:#bcbfff}
body[data-omega-ui="modern"] .omega-class-card::before{content:"";position:absolute;top:0;left:18px;width:48px;height:2px;border-radius:0 0 2px 2px;background:var(--omega-class-accent);pointer-events:none}
body[data-omega-ui="modern"] .omega-class-card-heading{display:flex;align-items:center;gap:14px;min-width:0}
body[data-omega-ui="modern"] .omega-class-card-heading>div{min-width:0}
body[data-omega-ui="modern"] .omega-class-portrait{display:block;box-sizing:border-box;flex:0 0 80px;width:80px!important;height:80px!important;max-width:80px!important;max-height:80px!important;margin:0!important;border:1px solid var(--omega-class-accent);border-radius:10px;object-fit:cover;box-shadow:0 0 0 3px #203c61}
body[data-omega-ui="modern"] .omega-class-identity{display:flex;align-items:center;gap:7px;min-height:22px;margin:0 0 7px;color:var(--omega-class-accent)}
body[data-omega-ui="modern"] .omega-class-emblem{display:inline-flex;align-items:center;justify-content:center;flex:0 0 18px;width:18px;height:18px;pointer-events:none}
body[data-omega-ui="modern"] .omega-class-emblem svg{display:block;flex:none;width:18px;height:18px;overflow:visible}
body[data-omega-ui="modern"] .omega-class-code{display:block;margin:0;color:inherit;font-size:12px;font-weight:600;line-height:1.3;letter-spacing:.09em}
body[data-omega-ui="modern"] .omega-class-card h2{margin:0 0 7px;color:#f6d58d;font-size:18px;font-weight:600;line-height:1.3;letter-spacing:-.02em;overflow-wrap:anywhere}
body[data-omega-ui="modern"] .omega-class-role{display:inline-block;color:#b9e5f3;font-size:14px;line-height:1.5}
body[data-omega-ui="modern"] .omega-class-description{margin:17px 0 18px;color:#c9ddf3;font-size:16px;line-height:1.8}
body[data-omega-ui="modern"] .omega-class-details{margin:0;border-top:1px solid #52779e}
body[data-omega-ui="modern"] .omega-class-details summary{box-sizing:border-box;min-height:46px;padding:13px 0;cursor:pointer;color:#f6d58d;font-size:14px;font-weight:500;line-height:1.6}
body[data-omega-ui="modern"] .omega-class-details summary::marker{color:#b9e5f3}
body[data-omega-ui="modern"] .omega-class-details summary:focus-visible{outline:2px solid #e3bb76;outline-offset:3px;border-radius:4px}
body[data-omega-ui="modern"] .omega-class-details p{margin:0 0 18px;padding-top:1px;color:#c9ddf3;font-size:16px;line-height:1.8}
body[data-omega-ui="modern"] .omega-class-empty{padding:24px 20px;border:1px dashed #688bb0;border-radius:12px;background:var(--atelier-inset,#243f63);color:#c9ddf3}
body[data-omega-ui="modern"] .omega-class-empty p{margin:0;font-size:16px;line-height:1.8}
body[data-omega-ui="modern"] .omega-class-next{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:22px 0 0;padding:17px 18px;border:1px solid #52779e;border-radius:10px;background:var(--atelier-inset,#243f63)}
body[data-omega-ui="modern"] .omega-class-next p{margin:0;color:#c9ddf3;font-size:16px;line-height:1.6}
body[data-omega-ui="modern"] .omega-class-next a{display:inline-flex;align-items:center;gap:8px;min-height:36px;color:#f6d58d;font-size:14px;text-decoration:none}
body[data-omega-ui="modern"] .omega-class-next a:hover{text-decoration:underline;text-underline-offset:4px}
body[data-omega-ui="modern"] .omega-class-next a:focus-visible{outline:2px solid #e3bb76;outline-offset:4px;border-radius:3px}
@media(max-width:600px){
 body[data-omega-ui="modern"] .omega-class-grid{grid-template-columns:minmax(0,1fr);gap:12px}
 body[data-omega-ui="modern"] .omega-class-card{padding:18px 16px 0}
 body[data-omega-ui="modern"] .omega-class-card-heading{gap:13px}
 body[data-omega-ui="modern"] .omega-class-card h2{font-size:18px}
}
@container(max-width:520px){body[data-omega-ui="modern"] .omega-class-grid{grid-template-columns:minmax(0,1fr)}}

/* Component-level corrections from the responsive source audit. */
@media (max-width: 980px) {
    body[data-omega-ui="modern"] > header .simple-rank-card {
        grid-template-columns: 40px minmax(0, 1fr) auto;
    }
}
/* Fallback when the class guide's container query is unavailable. */
@supports not (container-type: inline-size) {
    @media (min-width: 981px) and (max-width: 1048px) {
        body[data-omega-ui="modern"] .omega-class-grid {
            grid-template-columns: minmax(0, 1fr);
        }
    }
}

/* Local logo light and opaque steel-blue panels. The wallpaper ends at #1b3865. */
body[data-omega-ui="modern"] > header::before {
    content: none;
    display: none;
}
body[data-omega-ui="modern"] > header .logo-wrapper {
    position: relative;
    isolation: isolate;
}
/* ::after belongs to the pre-hydration CTA reservation in hero-actions.css. */
body[data-omega-ui="modern"] > header .logo-wrapper::before {
    content: "";
    position: absolute;
    top: 2px;
    left: 50%;
    width: min(100%, 432px);
    height: 232px;
    transform: translateX(-50%);
    z-index: -1;
    border-radius: 50%;
    background: radial-gradient(ellipse at 50% 44%, #f6d58d21 0%, #edc67512 28%, #edb95706 48%, #edb95700 72%);
    pointer-events: none;
}
body[data-omega-ui="modern"] > header .logo-wrapper > img,
body[data-omega-ui="modern"] > header .omega-hero-actions-slot {
    position: relative;
    z-index: 1;
}
@media (min-width: 981px) {
    body[data-omega-ui="modern"] > header:has(.logo-wrapper) {
        padding-top: 112px;
        padding-bottom: 28px;
    }
    body[data-omega-ui="modern"] > header .logo-wrapper {
        margin-bottom: 22px !important;
    }
}
@media (max-width: 980px) {
    body[data-omega-ui="modern"] > header .logo-wrapper::before {
        top: 0;
        width: min(80vw, 300px);
        height: min(188px, 53.333333vw);
        background: radial-gradient(ellipse at 50% 44%, #f6d58d16 0%, #edc6750c 28%, #edb95703 48%, #edb95700 72%);
    }
}

/* A 1px upper gleam and a short shadow add depth without new frames or layers.
 * Only paints change: native card borders, dimensions and inner spacing remain.
 * Class-guide cards retain their own per-class accents in classes.css.
 */
body[data-omega-ui="modern"] > header .simple-rank-card,
body[data-omega-ui="modern"] .container .sidebar-module,
body[data-omega-ui="modern"] .container .sidebar-right .sidebar-module:is(.premium-server-info,.castle-owner-widget),
body[data-omega-ui="modern"] .container .social-widgets-module,
body[data-omega-ui="modern"] .container main .rank-card--livekills,
body[data-omega-ui="modern"] .container main .news-item,
body[data-omega-ui="modern"] .container main .profiles_player_card,
body[data-omega-ui="modern"] .auth-wrapper .auth-card,
body[data-omega-ui="modern"] :is(.omega-start-callout,.omega-product-card,.omega-product-panel,.omega-agenda-card,.omega-rank-tools),
body[data-omega-ui="modern"] .omega-start-steps > li,
body[data-omega-ui="modern"] .container main .omega-downloads,
body[data-omega-ui="modern"] .container main .omega-downloads .omega-client-card,
body[data-omega-ui="modern"] .container main .omega-downloads .omega-client-card.remastered {
    background: linear-gradient(180deg, #34567c 0, #2b496f 30px, #284367 100%);
    border-color: #6688a8 !important;
    border-top-color: #91aec6 !important;
    box-shadow: inset 0 1px 0 #e0f2ff26, inset 0 -1px 0 #10274b33, 0 6px 18px #0b20402e !important;
}
@media (hover: hover) and (pointer: fine) {
    body[data-omega-ui="modern"] .container .sidebar-module:hover,
    body[data-omega-ui="modern"] .container .sidebar-right .sidebar-module:is(.premium-server-info,.castle-owner-widget):hover,
    body[data-omega-ui="modern"] .container main :is(.news-item,.rank-card--livekills):hover {
        border-color: #83adc7 !important;
        border-top-color: #b9d7e8 !important;
    }
}
@media (forced-colors: active) {
    body[data-omega-ui="modern"] > header .logo-wrapper::before {
        display: none;
    }
}

/* Native login and registration fields. Keep icon and password-slot spacing. */
body[data-omega-ui="modern"] .auth-wrapper .auth-form .input-group > input:is([type="text"],[type="email"],[type="password"]),
body[data-omega-ui="modern"] .container aside .login-form .input-group > input:is([type="text"],[type="email"],[type="password"]) {
  box-sizing: border-box;
  font-size: 16px;
  line-height: 1.5;
  caret-color: #b8f0ff;
}
body[data-omega-ui="modern"] .auth-wrapper .auth-form .input-group > input:is([type="text"],[type="email"],[type="password"]) {
  min-height: 48px;
  padding-block: 10px;
}
body[data-omega-ui="modern"] .container aside .login-form .input-group > input:is([type="text"],[type="email"],[type="password"]) {
  min-height: 44px;
  padding-block: 8px;
}
body[data-omega-ui="modern"] .auth-wrapper .auth-form > .btn-more {
  min-height: 48px;
}
body[data-omega-ui="modern"] .container aside .login-form > .btn-more {
  min-height: 44px;
}
body[data-omega-ui="modern"] .auth-wrapper .auth-form .omega-field:not([data-omega-field="terms"]) > label,
body[data-omega-ui="modern"] .auth-wrapper .auth-form .omega-form-field-heading label {
  color: #f4f9ff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.6;
}
body[data-omega-ui="modern"] .auth-wrapper .auth-form .omega-field:not([data-omega-field="terms"]) {
  gap: 8px;
}
body[data-omega-ui="modern"] .auth-wrapper .auth-form .omega-form-help {
  color: #c9ddf3;
  font-size: 14px;
  line-height: 1.65;
}
/* :focus also covers typing after a pointer click, beyond keyboard focus-visible. */
body[data-omega-ui="modern"] .auth-wrapper .auth-form .input-group > input:is([type="text"],[type="email"],[type="password"]):focus,
body[data-omega-ui="modern"] .container aside .login-form .input-group > input:is([type="text"],[type="email"],[type="password"]):focus {
  background: #294b70;
  border-color: #9edaf2;
  outline: 2px solid #9edaf2;
  outline-offset: 2px;
  box-shadow: none;
}
body[data-omega-ui="modern"] .auth-wrapper .auth-form .omega-password-toggle:focus-visible,
body[data-omega-ui="modern"] .container aside .login-form .omega-password-toggle:focus-visible {
  outline: 2px solid #9edaf2;
  outline-offset: -3px;
}

/* Class artwork is decorative. Names, portraits and every stat stay native. */
body[data-omega-ui="modern"] .container main .profiles_player_card {
  --omega-profile-scene: none;
  --omega-profile-scene-height: 0px;
  --omega-profile-scene-width: 285.6px;
  --omega-profile-accent: #b8dff2;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 22px 20px;
  padding: calc(var(--omega-profile-scene-height) + 24px) 24px 24px;
  background-color: #294568;
  background-image:
    linear-gradient(180deg, #29456800 68%, #294568 100%),
    linear-gradient(90deg, #29456800 0px, #29456800 130px, #294568 min(100%, var(--omega-profile-scene-width))),
    var(--omega-profile-scene),
    linear-gradient(145deg, #294568, #253e61);
  background-position: left top;
  background-size:
    100% var(--omega-profile-scene-height),
    100% var(--omega-profile-scene-height),
    min(100%, var(--omega-profile-scene-width)) auto,
    100% 100%;
  background-repeat: no-repeat;
}
body[data-omega-ui="modern"] .container main .profiles_player_card:is(.DW,.SM,.GM,.SW,.DSW) {
  --omega-profile-scene: url('../img/identity/profile-dw.jpg');
  --omega-profile-accent: #9de4f3;
  --omega-profile-scene-height: 168px;
}
body[data-omega-ui="modern"] .container main .profiles_player_card:is(.DK,.BK,.BM,.DGK,.IGK) {
  --omega-profile-scene: url('../img/identity/profile-dk.jpg');
  --omega-profile-accent: #ffb5a6;
  --omega-profile-scene-height: 168px;
}
body[data-omega-ui="modern"] .container main .profiles_player_card:is(.ELF,.ME,.HE,.NE,.RYE) {
  --omega-profile-scene: url('../img/identity/profile-elf.jpg');
  --omega-profile-accent: #94e4c4;
  --omega-profile-scene-height: 168px;
}
body[data-omega-ui="modern"] .container main .profiles_player_card:is(.MG,.DM,.MK,.DPK) {
  --omega-profile-scene: url('../img/identity/profile-mg.jpg');
  --omega-profile-accent: #a9c9ff;
  --omega-profile-scene-height: 168px;
}
body[data-omega-ui="modern"] .container main .profiles_player_card:is(.DL,.LE,.EL,.FCE) {
  --omega-profile-scene: url('../img/identity/profile-dl.jpg');
  --omega-profile-accent: #f6d58d;
  --omega-profile-scene-height: 168px;
}
body[data-omega-ui="modern"] .container main .profiles_player_card:is(.SUM,.BS,.DSM,.DS,.ESUM) {
  --omega-profile-scene: url('../img/identity/profile-sum.jpg');
  --omega-profile-accent: #d5bbff;
  --omega-profile-scene-height: 168px;
}
body[data-omega-ui="modern"] .container main .profiles_player_card:is(.RF,.FM,.FB,.BF) {
  --omega-profile-scene: url('../img/identity/profile-rf.jpg');
  --omega-profile-accent: #ffc393;
  --omega-profile-scene-height: 168px;
}
body[data-omega-ui="modern"] .container main .profiles_player_card:is(.GL,.ML,.SL,.AL) {
  --omega-profile-scene: url('../img/identity/profile-gl.jpg');
  --omega-profile-accent: #b2d8ee;
  --omega-profile-scene-height: 168px;
}
body[data-omega-ui="modern"] .container main .profiles_player_card:is(.RW,.RSM,.GRM,.MRW,.IRW) {
  --omega-profile-scene: url('../img/identity/profile-rw.jpg');
  --omega-profile-accent: #bcbfff;
  --omega-profile-scene-height: 168px;
}

/* The original100px avatar remains a separate88px portrait below the artwork. */
body[data-omega-ui="modern"] .container main .profiles_player_card::before {
  width: 88px;
  height: 88px;
  align-self: center;
  border-color: var(--omega-profile-accent);
  background-color: #203957;
  box-shadow: 0 0 0 3px #203957, 0 0 0 4px #7094b5, 0 5px 12px #07182d33;
}
body[data-omega-ui="modern"] .container main .profiles_player_card::after,
body[data-omega-ui="modern"] .container main .profiles_player_card > .omega-class-badge-slot {
  align-self: center;
  transform: translateY(38px);
  margin: 0 -4px 0 0;
  border-color: var(--omega-profile-accent);
  background: #294568;
  color: var(--omega-profile-accent);
  box-shadow: 0 0 0 3px #294568;
}
body[data-omega-ui="modern"] .container main .profiles_player_content > .profiles_player_table:first-child {
  min-width: 0;
  align-self: center;
}
body[data-omega-ui="modern"] .container main .profiles_player_card .profiles_player_table .cname {
  padding-bottom: 8px;
  font-size: clamp(26px, 2.5vw, 34px);
  font-weight: 650;
  line-height: 1.25;
  letter-spacing: -.025em;
  overflow-wrap: anywhere;
}
body[data-omega-ui="modern"] .container main .profiles_player_card .profiles_player_table .cclass {
  font-size: 14px;
  line-height: 1.65;
  color: var(--omega-profile-accent);
  overflow-wrap: anywhere;
}
body[data-omega-ui="modern"] .container main .profiles_player_content > .profiles_player_table_info {
  border-color: #6083a6;
}
body[data-omega-ui="modern"] .container main .profiles_player_card .profiles_player_table_info td {
  padding: 11px 16px;
  font-size: 14px;
  line-height: 1.55;
}
body[data-omega-ui="modern"] .container main .profiles_player_card .profiles_player_table_info td:last-child {
  font-size: 16px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
@media (max-width: 600px) {
  body[data-omega-ui="modern"] .container main .profiles_player_card {
    --omega-profile-scene-width: 244.8px;
    grid-template-columns: 80px minmax(0, 1fr);
    gap: 20px 14px;
    padding: calc(var(--omega-profile-scene-height) + 18px) 18px 18px;
  }
  body[data-omega-ui="modern"] .container main .profiles_player_card:is(.DW,.SM,.GM,.SW,.DSW,.DK,.BK,.BM,.DGK,.IGK,.ELF,.ME,.HE,.NE,.RYE,.MG,.DM,.MK,.DPK,.DL,.LE,.EL,.FCE,.SUM,.BS,.DSM,.DS,.ESUM,.RF,.FM,.FB,.BF,.GL,.ML,.SL,.AL,.RW,.RSM,.GRM,.MRW,.IRW) {
    --omega-profile-scene-height: 144px;
  }
  body[data-omega-ui="modern"] .container main .profiles_player_card::before {
    width: 80px;
    height: 80px;
  }
  body[data-omega-ui="modern"] .container main .profiles_player_card::after,
  body[data-omega-ui="modern"] .container main .profiles_player_card > .omega-class-badge-slot {
    transform: translateY(34px);
  }
  body[data-omega-ui="modern"] .container main .profiles_player_card .profiles_player_table_info td {
    padding: 10px 12px;
  }
}
@media (forced-colors: active) {
  body[data-omega-ui="modern"] .container main .profiles_player_card {
    --omega-profile-scene-height: 0px !important;
    background: Canvas;
    color: CanvasText;
  }
  body[data-omega-ui="modern"] .container main .profiles_player_card::before,
  body[data-omega-ui="modern"] .container main .profiles_player_card::after,
  body[data-omega-ui="modern"] .container main .profiles_player_card > .omega-class-badge-slot,
  body[data-omega-ui="modern"] .container main .profiles_player_content > .profiles_player_table_info {
    border-color: CanvasText;
    box-shadow: none;
  }
  body[data-omega-ui="modern"] .container main .profiles_player_card .profiles_player_table .cclass {
    color: CanvasText;
  }
}

/* Castle artwork is a reserved decorative strip. All native ownership and battle
 * information remains below it on opaque surfaces, with no generated labels. */
body[data-omega-ui="modern"] .container .sidebar-right .castle-owner-widget .cs-widget-content {
  gap: 12px;
  min-width: 0;
}
body[data-omega-ui="modern"] .container .sidebar-right .castle-owner-widget .cs-widget-content::before {
  content: "";
  display: block;
  flex: none;
  box-sizing: border-box;
  width: 100%;
  min-height: 88px;
  max-height: 156px;
  aspect-ratio: 12 / 5;
  border: 1px solid #6688a8;
  border-radius: 9px;
  background-color: #203b5a;
  background-image: linear-gradient(110deg, #5ca7d326, #edbe6b1a), url("../img/identity/castle-siege.jpg");
  background-repeat: no-repeat;
  background-position: center, center 62%;
  background-size: cover;
  box-shadow: inset 0 1px #d2e9f92b;
  pointer-events: none;
}
body[data-omega-ui="modern"] .container .sidebar-right .castle-owner-widget .cs-owner-header {
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 12px;
  padding: 11px;
  background: #243f63;
  border-color: #6484a4;
  border-radius: 9px;
  box-shadow: none;
}
body[data-omega-ui="modern"] .container .sidebar-right .castle-owner-widget .cs-guild-logo {
  width: 64px;
  height: 64px;
  padding: 7px;
  border: 1px solid #edca83;
  border-radius: 11px;
  background: #172f4b;
  box-shadow: 0 0 0 3px #335171, inset 0 1px #fff1cc24;
}
body[data-omega-ui="modern"] .container .sidebar-right .castle-owner-widget .cs-guild-logo img {
  width: 48px;
  height: 48px;
  max-width: 100%;
  object-fit: contain;
  image-rendering: pixelated;
}
body[data-omega-ui="modern"] .container .sidebar-right .castle-owner-widget .cs-owner-info {
  gap: 10px;
}
body[data-omega-ui="modern"] .container .sidebar-right .castle-owner-widget .cs-label {
  color: #c9ddf3;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: 0;
  text-transform: none;
}
body[data-omega-ui="modern"] .container .sidebar-right .castle-owner-widget .cs-guild-name {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
}
body[data-omega-ui="modern"] .container .sidebar-right .castle-owner-widget .cs-master-name {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
}
body[data-omega-ui="modern"] .container .sidebar-right .castle-owner-widget .cs-value a,
body[data-omega-ui="modern"] .container .sidebar-right .castle-owner-widget .cs-value a:visited {
  color: #f6d58d;
}
body[data-omega-ui="modern"] .container .sidebar-right .castle-owner-widget .cs-value a:hover {
  color: #ffe5aa;
}
body[data-omega-ui="modern"] .container .sidebar-right .castle-owner-widget .cs-value a:focus-visible {
  outline: 2px solid #9edaf2;
  outline-offset: 3px;
}
body[data-omega-ui="modern"] .container .sidebar-right .castle-owner-widget .cs-battle-info {
  gap: 12px;
}
body[data-omega-ui="modern"] .container .sidebar-right .castle-owner-widget .cs-status-item {
  gap: 6px;
}
body[data-omega-ui="modern"] .container .sidebar-right .castle-owner-widget .cs-status-item .highlight {
  padding: 9px 11px;
  border: 1px solid #718497;
  border-inline-start: 3px solid #edca83;
  border-radius: 8px;
  background: #2d4564;
  color: #f6d58d;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}
body[data-omega-ui="modern"] .container .sidebar-right .castle-owner-widget .cs-countdown {
  padding: 11px;
  border-color: #6e9ab5;
  border-radius: 9px;
  background: #1e3958;
  box-shadow: none;
}
body[data-omega-ui="modern"] .container .sidebar-right .castle-owner-widget .cs-timer {
  gap: 6px 8px;
  margin-top: 7px;
  color: #f4f9ff;
  font-size: 20px;
  font-weight: 650;
  line-height: 1.45;
}
body[data-omega-ui="modern"] .container .sidebar-right .castle-owner-widget .cs-timer > i {
  color: #9edaf2;
}
body[data-omega-ui="modern"] .container .sidebar-right .castle-owner-widget .cs-details-btn {
  min-height: 46px;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 0;
}
@media (forced-colors: active) {
  body[data-omega-ui="modern"] .container .sidebar-right .castle-owner-widget .cs-widget-content::before {
    display: none;
  }
}

/* Decorative device art supplements the native platform names and download links. */
body[data-omega-ui="modern"] .container main .omega-downloads .omega-client-card:is(.android,.remastered,.lowspec) .omega-platform-icon {
  width: 104px;
  height: 82px;
  max-width: 100%;
  flex: 0 0 auto;
  border: 0;
  border-radius: 0;
  background: url("../img/identity/device-pc.svg") center / contain no-repeat;
  box-shadow: none;
}
body[data-omega-ui="modern"] .container main .omega-downloads .omega-client-card.android .omega-platform-icon {
  background-image: url("../img/identity/device-mobile.svg");
}
body[data-omega-ui="modern"] .container main .omega-downloads .omega-client-card:is(.android,.remastered,.lowspec) .omega-platform-icon > i {
  visibility: hidden;
}
body[data-omega-ui="modern"] .container main .omega-downloads .omega-platform-data {
  min-width: 0;
}
body[data-omega-ui="modern"] .container main .omega-downloads .omega-platform {
  white-space: normal;
  overflow-wrap: anywhere;
}
@media (max-width: 720px) {
  body[data-omega-ui="modern"] .container main .omega-downloads .omega-client-top {
    gap: 14px;
    align-items: center;
  }
  body[data-omega-ui="modern"] .container main .omega-downloads .omega-client-card:is(.android,.remastered,.lowspec) .omega-platform-icon {
    width: 84px;
    height: 72px;
  }
}
@media (forced-colors: active) {
  body[data-omega-ui="modern"] .container main .omega-downloads .omega-client-card:is(.android,.remastered,.lowspec) .omega-platform-icon {
    width: 44px;
    height: 44px;
    background: none;
  }
  body[data-omega-ui="modern"] .container main .omega-downloads .omega-client-card:is(.android,.remastered,.lowspec) .omega-platform-icon > i {
    visibility: visible;
    color: CanvasText;
  }
}

/* Reference palette: navy canvas, saturated blue surfaces, cyan labels and yellow accents.
 * This final paint layer preserves the native layout, content, media and interactions.
 * Status messages keep their native text and meaning within the reference palette.
 */
body[data-omega-ui="modern"] {
  --ref-base: #00213d;
  --ref-panel: #003466;
  --ref-inset: #002b54;
  --ref-raised: #084579;
  --ref-cyan: #61cdf5;
  --ref-yellow: #ffcc00;
  --ref-text: #f1f7ff;
  --ref-muted: #b4def2;
  --ref-positive: #65c779;
  --ref-line: #2b5c7d;
  --wing-base: var(--ref-base);
  --alive-base: var(--ref-base);
  --alive-panel: var(--ref-panel);
  --alive-raised: var(--ref-raised);
  --alive-inset: var(--ref-inset);
  --alive-line: var(--ref-line);
  --alive-gold: var(--ref-yellow);
  --alive-light: #ffe16a;
  --alive-ruby: var(--ref-yellow);
  --alive-rose: var(--ref-cyan);
  --om-base: var(--ref-base);
  --om-panel: var(--ref-panel);
  --om-raised: var(--ref-raised);
  --om-line: var(--ref-line);
  --om-text: var(--ref-text);
  --om-muted: var(--ref-muted);
  --om-accent: var(--ref-cyan);
  --om-gold: var(--ref-yellow);
  --atelier-panel: var(--ref-panel);
  --atelier-inset: var(--ref-inset);
  --atelier-header: var(--ref-panel);
  --atelier-action: var(--ref-cyan);
  --atelier-action-hover: #8cddfa;
  --atelier-gold: var(--ref-yellow);
  --atelier-gold-hover: #ffe16a;
  --omega-vivid-inset: var(--ref-inset);
  --omega-vivid-gold-light: #ffe16a;
  --omega-vivid-positive: var(--ref-positive);
  --omega-vivid-rose: var(--ref-cyan);
  --omega-metal-mid: var(--ref-yellow);
  --omega-metal-light: #ffe16a;
  --omega-accent-primary: var(--ref-cyan);
  --omega-accent-strong: var(--ref-yellow);
  --omega-accent-text: var(--ref-cyan);
  --omega-accent-rgb: 97, 205, 245;
  --omega-button-face: var(--ref-cyan);
  --omega-button-hover: #8cddfa;
  --omega-button-pressed: #42b9e6;
  --omega-focus: var(--ref-cyan);
  --omega-on-primary: var(--ref-base);
  --accent-orange: var(--ref-yellow);
  --accent-pink: var(--ref-cyan);
  --accent-blue: var(--ref-cyan);
  color: var(--ref-text);
  background-color: var(--ref-base);
  background-image:
    linear-gradient(180deg, transparent 560px, #00213d8c 740px, #00213d 890px),
    url("../img/mu-characters-desktop.webp") !important;
}
body[data-omega-ui="modern"]::before {
  background-image:
    linear-gradient(180deg, transparent 560px, #00213d8c 740px, #00213d 890px),
    url("../img/mu-warrior-refined.webp?v=38");
}
body[data-omega-ui="modern"]::selection { background: var(--ref-cyan); color: var(--ref-base); }
@media (prefers-reduced-data: reduce) and (min-width: 981px) {
  body[data-omega-ui="modern"] {
    background-image:
      linear-gradient(180deg, transparent 360px, #00213d8c 580px, #00213d 700px),
      url("../img/mu-characters-mobile.webp") !important;
  }
}
@media (max-width: 980px) {
  body[data-omega-ui="modern"] {
    background-image:
      linear-gradient(180deg, #00213d 70px, #00213d00 180px, #00213d00 400px, #00213d calc(min(150vw, 630px) + 60px)),
      url("../img/mu-characters-portrait.webp?v=39") !important;
  }
  body[data-omega-ui="modern"]:has(> header .hero-stats-container) {
    background-image:
      linear-gradient(180deg, #00213d 126px, #00213d00 236px, #00213d00 456px, #00213d calc(min(150vw, 630px) + 116px)),
      url("../img/mu-characters-portrait.webp?v=39") !important;
  }
}

/* Solid surfaces match the reference card; illustrated surfaces have dedicated rules below. */
body[data-omega-ui="modern"] > header .simple-rank-card,
body[data-omega-ui="modern"] .container .sidebar-module,
body[data-omega-ui="modern"] .container .sidebar-right .sidebar-module:is(.premium-server-info,.castle-owner-widget),
body[data-omega-ui="modern"] .container .social-widgets-module,
body[data-omega-ui="modern"] .container main :is(.rank-card--livekills,.news-item),
body[data-omega-ui="modern"] .auth-wrapper .auth-card,
body[data-omega-ui="modern"] :is(.omega-start-callout,.omega-product-card,.omega-product-panel,.omega-agenda-card,.omega-rank-tools),
body[data-omega-ui="modern"] .omega-start-steps > li,
body[data-omega-ui="modern"] .container main .omega-downloads,
body[data-omega-ui="modern"] .container main .omega-downloads .omega-client-card,
body[data-omega-ui="modern"] .container main .omega-downloads .omega-client-card.remastered {
  background: var(--ref-panel);
  color: var(--ref-text);
  border-color: var(--ref-line) !important;
  border-top-color: var(--ref-line) !important;
  box-shadow: inset 0 1px #61cdf514, 0 6px 18px #00172b33 !important;
}
body[data-omega-ui="modern"] > header .logo-wrapper::before {
  background: radial-gradient(ellipse at 50% 44%, #ffcc0021 0%, #ffcc0012 28%, #ffcc0006 48%, #ffcc0000 72%);
}
@media (max-width: 980px) {
  body[data-omega-ui="modern"] > header .logo-wrapper::before {
    background: radial-gradient(ellipse at 50% 44%, #ffcc0016 0%, #ffcc000c 28%, #ffcc0003 48%, #ffcc0000 72%);
  }
}
body[data-omega-ui="modern"] > header .simple-rank-card .card-image > div {
  background: var(--ref-inset) !important; border-color: var(--ref-line) !important;
}
body[data-omega-ui="modern"] > header .simple-rank-card .card-image > div > i { color: var(--ref-cyan) !important; }
body[data-omega-ui="modern"] > header .simple-rank-card :is(.card-label,.player-name) { color: var(--ref-cyan) !important; }
body[data-omega-ui="modern"] > header .simple-rank-card .card-stat { color: var(--ref-text) !important; }
body[data-omega-ui="modern"] > header .simple-rank-card #ajax-online-players { color: var(--ref-positive) !important; }

/* Titles, data labels and body copy have the three levels shown in the reference. */
body[data-omega-ui="modern"] .container .sidebar-module > h3,
body[data-omega-ui="modern"] .container .sidebar-module:has(> h3 > :is(.fa-medal,.fa-shield-alt)) > h3,
body[data-omega-ui="modern"] .container .sidebar-right .castle-owner-widget > h3,
body[data-omega-ui="modern"] .container .premium-server-info .module-header h3,
body[data-omega-ui="modern"] .container main :is(.page-title,.page-title > span,.page-info),
body[data-omega-ui="modern"] .container main .news-item-title a,
body[data-omega-ui="modern"] .auth-wrapper .auth-header h2,
body[data-omega-ui="modern"] :is(.omega-product-heading h1,.omega-product-panel h2,.omega-start-steps h2,.omega-class-heading h1) {
  color: var(--ref-yellow);
}
body[data-omega-ui="modern"] .container .sidebar-module > h3,
body[data-omega-ui="modern"] .container .premium-server-info .module-header { border-bottom-color: var(--ref-line); }
body[data-omega-ui="modern"] .container .sidebar-module > h3 > i,
body[data-omega-ui="modern"] .container .sidebar-module:has(> h3 > :is(.fa-medal,.fa-shield-alt)) > h3 > i,
body[data-omega-ui="modern"] .container .sidebar-right .castle-owner-widget > h3 > i,
body[data-omega-ui="modern"] .container .premium-server-info .module-icon,
body[data-omega-ui="modern"] .container .sidebar-right .premium-server-info .info-left > i,
body[data-omega-ui="modern"] .auth-wrapper .auth-header > i { color: var(--ref-cyan); }
body[data-omega-ui="modern"] :is(.golden,.silver) { background: none; color: inherit; -webkit-text-fill-color: currentColor; text-shadow: none; }
body[data-omega-ui="modern"] .container main .news-item-header { background: var(--ref-panel); border-bottom-color: var(--ref-line); }
body[data-omega-ui="modern"] .container main :is(.news-item-content,.omega-news-full,.omega-news-summary),
body[data-omega-ui="modern"] .container main .news-item-content :is(h1,h2,h3,h4,strong),
body[data-omega-ui="modern"] :is(.omega-product-panel p,.omega-product-panel li,.omega-start-steps p,.omega-class-description,.omega-class-details p,.omega-class-heading p,.omega-class-next p) { color: var(--ref-text); }
body[data-omega-ui="modern"] .container main .news-item-meta,
body[data-omega-ui="modern"] .container main .news-item-meta > span:first-child,
body[data-omega-ui="modern"] .container main .news-item-meta > span:last-child,
body[data-omega-ui="modern"] .container main .news-item-meta i,
body[data-omega-ui="modern"] :is(.omega-product-eyebrow,.omega-product-card > span,.omega-product-card small,.omega-form-help,.omega-rank-count,.omega-rank-search label,.omega-agenda-zone,.omega-agenda-caption,.omega-agenda-count,.omega-class-caption,.omega-class-eyebrow,.omega-class-role) { color: var(--ref-cyan); }
body[data-omega-ui="modern"] .container main .news-item-meta > span + span { border-inline-start-color: var(--ref-line); }
body[data-omega-ui="modern"] .container main .omega-news-banner img { border-color: var(--ref-line); background-color: var(--ref-inset); }
body[data-omega-ui="modern"] .container main .news-item-content blockquote { background: var(--ref-inset); border-left-color: var(--ref-cyan); color: var(--ref-text); }
body[data-omega-ui="modern"] .container main .omega-news-toggle { background: var(--ref-inset); color: var(--ref-cyan); border-color: var(--ref-cyan); box-shadow: inset 0 1px #61cdf514; }
body[data-omega-ui="modern"] .container main .omega-news-toggle::after { border-color: var(--ref-cyan); }
body[data-omega-ui="modern"] :is(.omega-product-links a,.omega-start-steps a,.omega-product-panel a,.omega-class-next a),
body[data-omega-ui="modern"] .container .view-all-link,
body[data-omega-ui="modern"] .container .sidebar-module:has(> h3 > :is(.fa-medal,.fa-shield-alt)) > .view-all-link,
body[data-omega-ui="modern"] .container main .news-readmore,
body[data-omega-ui="modern"] .container main .news-item-content a:not(:is(.btn-more,.btn-orange,.btn-download,.omega-download-btn,.news-readmore)) { color: var(--ref-cyan); }
body[data-omega-ui="modern"] .omega-product-metrics strong { color: var(--ref-yellow); }
body[data-omega-ui="modern"] .omega-product-character img { border-color: var(--ref-line); }

/* Navigation keeps its native geometry, including a transparent mobile drawer canvas. */
body[data-omega-ui="modern"] > nav { background: var(--ref-inset); border-color: var(--ref-line); box-shadow: inset 0 1px #61cdf514, 0 8px 20px #00172b38; }
body[data-omega-ui="modern"] > nav > #nav-menu > li > a[href],
body[data-omega-ui="modern"] > nav .language-selector > .dropdown-toggle { color: var(--ref-text) !important; }
body[data-omega-ui="modern"] > nav > #nav-menu > li > a[href] > i,
body[data-omega-ui="modern"] > nav .language-selector > .dropdown-toggle > i { color: var(--ref-cyan); }
body[data-omega-ui="modern"] > nav > #nav-menu > li > a[href].active { background: var(--ref-panel) !important; color: var(--ref-yellow) !important; box-shadow: inset 0 1px #61cdf514; }
body[data-omega-ui="modern"] > nav > #nav-menu > li > a[href].active > i { color: var(--ref-yellow); }
body[data-omega-ui="modern"] > nav > #nav-menu > li > a[href].active::after { background: var(--ref-yellow); }
body[data-omega-ui="modern"] > nav .language-dropdown { background: var(--ref-panel) !important; border-color: var(--ref-line) !important; }
body[data-omega-ui="modern"] > nav .language-dropdown li a { color: var(--ref-text) !important; }
body[data-omega-ui="modern"] > nav .language-dropdown li.active a,
body[data-omega-ui="modern"] > nav .language-dropdown li a:focus-visible { background: var(--ref-raised) !important; color: var(--ref-yellow) !important; }
body[data-omega-ui="modern"] > nav > #nav-menu > li > a[href]:focus-visible,
body[data-omega-ui="modern"] > nav .language-selector > .dropdown-toggle:focus-visible,
body[data-omega-ui="modern"] > nav .language-selector.open > .dropdown-toggle,
body[data-omega-ui="modern"] > nav .language-selector.show > .dropdown-toggle,
body[data-omega-ui="modern"] > nav .language-selector > .dropdown-toggle[aria-expanded="true"] { background: var(--ref-raised) !important; color: var(--ref-text) !important; outline-color: var(--ref-cyan); }
body[data-omega-ui="modern"] > nav > #nav-menu > li > a[href]:active,
body[data-omega-ui="modern"] > nav .language-selector > .dropdown-toggle:active { background: var(--ref-panel) !important; color: var(--ref-text) !important; }
body[data-omega-ui="modern"] > nav > #nav-menu > li > a[href]:is([href$="/downloads/"],[href$="/downloads"]),
body[data-omega-ui="modern"] > nav > #nav-menu > li > a[href]:is([href$="/downloads/"],[href$="/downloads"]).active { background: var(--ref-yellow) !important; border-color: var(--ref-yellow) !important; color: var(--ref-base) !important; box-shadow: inset 0 1px #fff2a84d; }
body[data-omega-ui="modern"] > nav > #nav-menu > li > a[href]:is([href$="/downloads/"],[href$="/downloads"]):not([aria-disabled="true"]):not(.disabled):focus-visible,
body[data-omega-ui="modern"] > nav > #nav-menu > li > a[href]:is([href$="/downloads/"],[href$="/downloads"]):not([aria-disabled="true"]):not(.disabled):active,
body[data-omega-ui="modern"] > nav > #nav-menu > li > a[href]:is([href$="/downloads/"],[href$="/downloads"]).active:not([aria-disabled="true"]):not(.disabled):focus-visible,
body[data-omega-ui="modern"] > nav > #nav-menu > li > a[href]:is([href$="/downloads/"],[href$="/downloads"]).active:not([aria-disabled="true"]):not(.disabled):active { background: #ffe16a !important; border-color: #ffe16a !important; color: var(--ref-base) !important; outline-color: var(--ref-cyan); }
body[data-omega-ui="modern"] > nav > #nav-menu > li > a[href]:is([href$="/downloads/"],[href$="/downloads"]) > i { color: inherit !important; }

/* Supporting actions are cyan; the principal Downloads action uses the reference yellow. */
body[data-omega-ui="modern"] .auth-wrapper .auth-form .btn-more,
body[data-omega-ui="modern"] .container aside .login-form .btn-more,
body[data-omega-ui="modern"] .container main :is(.btn-more,.btn-orange,.btn-download),
body[data-omega-ui="modern"] .container main .omega-downloads .omega-download-btn,
body[data-omega-ui="modern"] .container .sidebar-right .castle-owner-widget .cs-details-btn,
body[data-omega-ui="modern"] .omega-ui-button[class~="om-bg-[#c83f52]"],
body[data-omega-ui="modern"] > header .omega-hero-action--register { background: var(--ref-cyan) !important; border-color: var(--ref-cyan) !important; color: var(--ref-base) !important; box-shadow: inset 0 1px #f1f7ff40, 0 4px 12px #00172b26; }
body[data-omega-ui="modern"] > header .omega-hero-action--download { background: var(--ref-yellow); border-color: var(--ref-yellow); color: var(--ref-base); box-shadow: inset 0 1px #fff2a84d, 0 4px 12px #00172b26; }
body[data-omega-ui="modern"] .omega-ui-button[class~="om-bg-[#181c25]"],
body[data-omega-ui="modern"] .omega-back-to-top { background: var(--ref-inset); border-color: var(--ref-cyan); color: var(--ref-cyan); }
body[data-omega-ui="modern"] .omega-ui-tooltip { background-color: var(--ref-inset); border-color: var(--ref-cyan); color: var(--ref-text); }
body[data-omega-ui="modern"] .omega-ui-button:focus-visible { --tw-ring-color: var(--ref-cyan); --tw-ring-offset-color: var(--ref-base); }
body[data-omega-ui="modern"] :is(.omega-back-to-top,.omega-hero-action,.omega-news-toggle,.omega-class-details summary,.omega-class-next a,.omega-filter-chip):focus-visible { outline-color: var(--ref-cyan); }
body[data-omega-ui="modern"] .tab-btn { background: var(--ref-inset); border-color: var(--ref-line); color: var(--ref-text); box-shadow: none; }
body[data-omega-ui="modern"] .tab-btn.active { background: var(--ref-panel); border-color: var(--ref-yellow); color: var(--ref-yellow); box-shadow: inset 0 1px #ffcc0026; }
body[data-omega-ui="modern"] .tab-btn.active > i { color: inherit; filter: none; }

/* Native form states and dimensions are retained, including yellow warning and error feedback. */
body[data-omega-ui="modern"] .auth-wrapper .auth-form .input-group > input:is([type="text"],[type="email"],[type="password"]),
body[data-omega-ui="modern"] .container aside .login-form .input-group > input:is([type="text"],[type="email"],[type="password"]),
body[data-omega-ui="modern"] .omega-rank-search > div { background: var(--ref-inset); border-color: var(--ref-line); color: var(--ref-text); caret-color: var(--ref-cyan); }
body[data-omega-ui="modern"] .auth-wrapper .auth-form .input-group input::placeholder,
body[data-omega-ui="modern"] .container aside .login-form .input-group input::placeholder { color: var(--ref-muted); }
body[data-omega-ui="modern"] .auth-wrapper .auth-form .input-group > input:is([type="text"],[type="email"],[type="password"]):focus,
body[data-omega-ui="modern"] .container aside .login-form .input-group > input:is([type="text"],[type="email"],[type="password"]):focus { background: var(--ref-panel); border-color: var(--ref-cyan); outline-color: var(--ref-cyan); }
body[data-omega-ui="modern"] .auth-wrapper .auth-form :is(.omega-field > label,.omega-form-field-heading label),
body[data-omega-ui="modern"] .auth-wrapper .auth-form .omega-field:not([data-omega-field="terms"]) > label { color: var(--ref-cyan); }
body[data-omega-ui="modern"] .auth-wrapper .auth-form .omega-form-help { color: var(--ref-muted); }
body[data-omega-ui="modern"] .auth-wrapper .auth-form .omega-password-toggle,
body[data-omega-ui="modern"] .container aside .login-form .omega-password-toggle { color: var(--ref-cyan) !important; }
body[data-omega-ui="modern"] .auth-wrapper .auth-form .omega-password-toggle:focus-visible,
body[data-omega-ui="modern"] .container aside .login-form .omega-password-toggle:focus-visible { outline-color: var(--ref-cyan); }
body[data-omega-ui="modern"] .auth-wrapper .auth-form input[type="checkbox"] { accent-color: var(--ref-cyan); }
body[data-omega-ui="modern"] .omega-rank-search input { color: var(--ref-text); outline-color: var(--ref-cyan); }
body[data-omega-ui="modern"] :is(.omega-product-empty,.omega-rank-empty,.omega-agenda-empty,.omega-class-empty,.omega-class-next),
body[data-omega-ui="modern"] .container .omega-content-state { background: var(--ref-inset); border-color: var(--ref-line); color: var(--ref-text); }
body[data-omega-ui="modern"] :is(.omega-product-empty,.omega-rank-empty,.omega-agenda-empty) p { color: var(--ref-muted); }
body[data-omega-ui="modern"] :is(.omega-class-reference,.omega-agenda-notice) { background: var(--ref-inset); border-color: var(--ref-yellow); color: var(--ref-text); }
body[data-omega-ui="modern"] .omega-class-reference :is(strong,p) { color: var(--ref-text); }
body[data-omega-ui="modern"] .omega-class-reference strong { color: var(--ref-yellow); }
body[data-omega-ui="modern"] .omega-step-number { background: var(--ref-inset); border-color: var(--ref-line); color: var(--ref-cyan); }

/* Ranking filters and podiums use yellow for first place and cyan for other places. */
body[data-omega-ui="modern"] .omega-filter-chip { background: var(--ref-inset) !important; border-color: var(--ref-line) !important; color: var(--ref-text) !important; }
body[data-omega-ui="modern"] .omega-filter-chip[aria-pressed="true"],
body[data-omega-ui="modern"] [data-omega-filter-active="true"] { background: var(--ref-panel) !important; border-color: var(--ref-yellow) !important; color: var(--ref-yellow) !important; box-shadow: 0 0 0 1px var(--ref-yellow); }
body[data-omega-ui="modern"] .container main .rankings_menu a { background: var(--ref-inset) !important; border-color: var(--ref-line); color: var(--ref-text) !important; }
body[data-omega-ui="modern"] .container main .rankings_menu a.active { background: var(--ref-panel) !important; border-color: var(--ref-cyan); color: var(--ref-yellow) !important; }
body[data-omega-ui="modern"] .container main table:is(.rankings-table,.topmoney-table) { border-color: var(--ref-line); }
body[data-omega-ui="modern"] .container main table.rankings-table tr:first-child:not([data-omega-rank-row]):not([data-class-id]):not(:has(.rankings-table-place)) > td { background: var(--ref-panel) !important; color: var(--ref-cyan); }
body[data-omega-ui="modern"] .container main table.rankings-table tr[data-omega-rank-row]:not([data-omega-podium]) > td { background: var(--ref-inset) !important; border-color: var(--ref-line) !important; color: var(--ref-text) !important; }
body[data-omega-ui="modern"] .container main table:is(.rankings-table,.topmoney-table) tr[data-omega-podium] { --omega-table-face: var(--ref-inset); --omega-table-line: var(--ref-line); --omega-table-hover: var(--ref-raised); --omega-table-medal: var(--ref-cyan); }
body[data-omega-ui="modern"] .container main table:is(.rankings-table,.topmoney-table) tr[data-omega-podium="gold"] { --omega-table-medal: var(--ref-yellow); }
body[data-omega-ui="modern"] .container main table:is(.rankings-table,.topmoney-table) tr[data-omega-podium] > td { color: var(--ref-text); }
body[data-omega-ui="modern"] .container .sidebar-module:has(> h3 > :is(.fa-medal,.fa-shield-alt)) > .ranking-item { --omega-place-rgb: 97,205,245; --omega-place-ink: var(--ref-base); --omega-place-face: var(--ref-cyan); --omega-place-label: var(--ref-cyan); border-bottom-color: var(--ref-line); }
body[data-omega-ui="modern"] .container .sidebar-module:has(> h3 > :is(.fa-medal,.fa-shield-alt)) > .ranking-item:nth-of-type(1) { --omega-place-rgb: 255,204,0; --omega-place-face: var(--ref-yellow); --omega-place-label: var(--ref-yellow); }
body[data-omega-ui="modern"] .container .sidebar-module:has(> h3 > :is(.fa-medal,.fa-shield-alt)) > .ranking-item:nth-of-type(2),
body[data-omega-ui="modern"] .container .sidebar-module:has(> h3 > :is(.fa-medal,.fa-shield-alt)) > .ranking-item:nth-of-type(3) { --omega-place-rgb: 97,205,245; --omega-place-ink: var(--ref-base); --omega-place-face: var(--ref-cyan); --omega-place-label: var(--ref-cyan); }
body[data-omega-ui="modern"] .container :is(.rank-name,.player-name) { color: var(--ref-text); }
body[data-omega-ui="modern"] .container main table.rankings-table a { color: var(--ref-text); }

/* Each family keeps its own art and emblem; accents stay inside the reference palette. */
body[data-omega-ui="modern"] .omega-class-card,
body[data-omega-ui="modern"] .omega-class-card[data-class-group] { --omega-class-accent: var(--ref-cyan); background: var(--ref-panel); border-color: var(--ref-line); box-shadow: inset 0 1px #61cdf51a, 0 5px 18px #00172b25; }
body[data-omega-ui="modern"] .omega-class-card:is([data-class-group="16"],[data-class-group="64"],[data-class-group="96"]) { --omega-class-accent: var(--ref-yellow); }
body[data-omega-ui="modern"] .omega-class-card[data-class-group="32"] { --omega-class-accent: var(--ref-positive); }
body[data-omega-ui="modern"] .omega-class-card h2 { color: var(--ref-yellow); }
body[data-omega-ui="modern"] .omega-class-portrait { box-shadow: 0 0 0 3px var(--ref-inset); }
body[data-omega-ui="modern"] .omega-class-details { border-top-color: var(--ref-line); }
body[data-omega-ui="modern"] .omega-class-details summary { color: var(--ref-cyan); }
body[data-omega-ui="modern"] .omega-class-details summary::marker { color: var(--ref-cyan); }
body[data-omega-ui="modern"] .container main .profiles_player_card {
  --omega-profile-accent: var(--ref-cyan);
  background-color: var(--ref-panel);
  background-image:
    linear-gradient(180deg, #00346600 68%, #003466 100%),
    linear-gradient(90deg, #00346600 0px, #00346600 130px, #003466 min(100%, var(--omega-profile-scene-width))),
    var(--omega-profile-scene),
    linear-gradient(145deg, #003466, #003466);
  border-color: var(--ref-line) !important;
  border-top-color: var(--ref-line) !important;
  box-shadow: inset 0 1px #61cdf514, 0 6px 18px #00172b33 !important;
}
body[data-omega-ui="modern"] .container main .profiles_player_card:is(.DW,.SM,.GM,.SW,.DSW,.MG,.DM,.MK,.DPK,.SUM,.BS,.DSM,.DS,.ESUM,.GL,.ML,.SL,.AL,.RW,.RSM,.GRM,.MRW,.IRW) { --omega-profile-accent: var(--ref-cyan); }
body[data-omega-ui="modern"] .container main .profiles_player_card:is(.DK,.BK,.BM,.DGK,.IGK,.DL,.LE,.EL,.FCE,.RF,.FM,.FB,.BF) { --omega-profile-accent: var(--ref-yellow); }
body[data-omega-ui="modern"] .container main .profiles_player_card:is(.ELF,.ME,.HE,.NE,.RYE) { --omega-profile-accent: var(--ref-positive); }
body[data-omega-ui="modern"] .container main .profiles_player_card::before { background-color: var(--ref-inset); box-shadow: 0 0 0 3px var(--ref-inset), 0 0 0 4px var(--ref-line), 0 5px 12px #00172b33; }
body[data-omega-ui="modern"] .container main .profiles_player_card::after,
body[data-omega-ui="modern"] .container main .profiles_player_card > .omega-class-badge-slot { background: var(--ref-panel); box-shadow: 0 0 0 3px var(--ref-panel); }
body[data-omega-ui="modern"] .container main .profiles_player_card .profiles_player_table .cname { color: var(--ref-yellow); }
body[data-omega-ui="modern"] .container main .profiles_player_content > .profiles_player_table_info { border-color: var(--ref-line); }
body[data-omega-ui="modern"] .container main .profiles_player_card .profiles_player_table_info tr { background: var(--ref-inset); }
body[data-omega-ui="modern"] .container main .profiles_player_card .profiles_player_table_info tr:nth-child(even) { background: var(--ref-panel); }
body[data-omega-ui="modern"] .container main .profiles_player_card .profiles_player_table_info td { border-bottom-color: var(--ref-line); }
body[data-omega-ui="modern"] .container main .profiles_player_card .profiles_player_table_info td:first-child { color: var(--ref-cyan); }
body[data-omega-ui="modern"] .container main .profiles_player_card .profiles_player_table_info td:last-child:not(.isonline):not(.isoffline) { color: var(--ref-text); }
body[data-omega-ui="modern"] .container main .profiles_player_card .profiles_player_table_info a { color: var(--ref-cyan); text-decoration-color: var(--ref-line); }
body[data-omega-ui="modern"] .container main .profiles_player_card .profiles_player_table_info td.isonline { color: var(--ref-positive); }

/* Server facts, Castle Siege, published schedules and neutral empty states. */
body[data-omega-ui="modern"] .container .sidebar-right .premium-server-info .info-card,
body[data-omega-ui="modern"] .container .sidebar-right .castle-owner-widget :is(.cs-owner-header,.cs-countdown) { background: var(--ref-inset); border-color: var(--ref-line); }
body[data-omega-ui="modern"] .container .sidebar-right .premium-server-info :is(.info-left > span,.module-header small,.status-title),
body[data-omega-ui="modern"] .container .sidebar-right .castle-owner-widget .cs-label { color: var(--ref-cyan); }
body[data-omega-ui="modern"] .container .sidebar-right .premium-server-info .info-right > strong,
body[data-omega-ui="modern"] .container .sidebar-right .castle-owner-widget .cs-timer { color: var(--ref-text); }
body[data-omega-ui="modern"] .container .sidebar-right .premium-server-info .info-right > small { color: var(--ref-cyan); }
body[data-omega-ui="modern"] .container .sidebar-right .premium-server-info .info-right > .badge.gold { background: var(--ref-inset); border-color: var(--ref-yellow); color: var(--ref-yellow); }
body[data-omega-ui="modern"] .container .sidebar-right .premium-server-info .status-fill { background: var(--ref-cyan); }
body[data-omega-ui="modern"] .container .sidebar-right .castle-owner-widget .cs-widget-content::before {
  background-color: var(--ref-inset);
  background-image: linear-gradient(110deg, #61cdf526, #ffcc001a), url("../img/identity/castle-siege.jpg");
  border-color: var(--ref-line);
  box-shadow: inset 0 1px #61cdf52b;
}
body[data-omega-ui="modern"] .container .sidebar-right .castle-owner-widget .cs-guild-logo { background: var(--ref-inset); border-color: var(--ref-yellow); box-shadow: 0 0 0 3px var(--ref-panel), inset 0 1px #ffcc0024; }
body[data-omega-ui="modern"] .container .sidebar-right .castle-owner-widget .cs-value a,
body[data-omega-ui="modern"] .container .sidebar-right .castle-owner-widget .cs-value a:visited { color: var(--ref-yellow); }
body[data-omega-ui="modern"] .container .sidebar-right .castle-owner-widget .cs-status-item .highlight { background: var(--ref-panel); border-color: var(--ref-line); border-inline-start-color: var(--ref-yellow); color: var(--ref-yellow); }
body[data-omega-ui="modern"] .container .sidebar-right .castle-owner-widget .cs-timer > i { color: var(--ref-cyan); }
body[data-omega-ui="modern"] .container .events-module .events-table td[data-omega-event-layout] { background: var(--ref-inset); border-color: var(--ref-line); }
body[data-omega-ui="modern"] .container .events-module .events-table :is(.ename,.timepro) { color: var(--ref-cyan); }
body[data-omega-ui="modern"] .container .events-module .events-table .other { color: var(--ref-muted); }
body[data-omega-ui="modern"] .container .events-module .events-table .timepro.ontime { background: var(--ref-inset); color: var(--ref-positive); border-color: var(--ref-positive); }
body[data-omega-ui="modern"] .container .events-module .events-table .timepro.outtime { background: var(--ref-inset); color: var(--ref-cyan); border-color: var(--ref-line); }
body[data-omega-ui="modern"] .container .events-module :is(.omega-event-source-note,.omega-event-reference) { background: var(--ref-inset); border-color: var(--ref-line); color: var(--ref-muted); }
body[data-omega-ui="modern"] .container .events-module .omega-event-times :is(summary,p),
body[data-omega-ui="modern"] :is(.omega-agenda-icon,.omega-agenda-detail summary) { color: var(--ref-cyan); }
body[data-omega-ui="modern"] .omega-agenda-detail h3 { color: var(--ref-yellow); }
body[data-omega-ui="modern"] .omega-agenda-detail p { color: var(--ref-text); }
body[data-omega-ui="modern"] .omega-agenda-state { background: var(--ref-inset); border-color: var(--ref-cyan); color: var(--ref-cyan); }

/* Decorative device illustrations are not repainted or replaced by panel backgrounds. */
body[data-omega-ui="modern"] .container main .omega-downloads :is(.omega-client-footer,.omega-download-help) { background: var(--ref-inset); border-color: var(--ref-line); color: var(--ref-text); }
body[data-omega-ui="modern"] .container main .omega-downloads :is(.omega-download-hero-icon,.omega-help-icon) { background: var(--ref-inset); border-color: var(--ref-line); color: var(--ref-cyan); }
body[data-omega-ui="modern"] .container main .omega-downloads :is(.omega-client-body h3,.omega-download-hero h2) { color: var(--ref-yellow); }
body[data-omega-ui="modern"] .container main .omega-downloads :is(.omega-eyebrow,.omega-platform,.omega-client-subtitle,.omega-file-size small,.omega-features span) { color: var(--ref-cyan); }
body[data-omega-ui="modern"] .container main .omega-downloads .omega-card-badge,
body[data-omega-ui="modern"] .container main .omega-downloads .omega-client-card.remastered .omega-card-badge { background: var(--ref-inset); border-color: var(--ref-cyan); color: var(--ref-cyan); }
body[data-omega-ui="modern"] .container main .omega-downloads .omega-original-description,
body[data-omega-ui="modern"] .container main .omega-downloads .omega-client-card.remastered .omega-original-description { background-color: var(--ref-inset); border-left-color: var(--ref-yellow); color: var(--ref-text); }
body[data-omega-ui="modern"] .container main .omega-downloads .omega-download-help a { color: var(--ref-cyan); }

/* Social identity remains in each icon and label; the enclosing colors are coherent. */
body[data-omega-ui="modern"] .container .social-widgets-module .social-widget { --omega-social-rgb: 97,205,245; background: var(--ref-inset); border-color: var(--ref-line); box-shadow: inset 0 1px #61cdf514, 0 3px 8px #00172b33; }
body[data-omega-ui="modern"] .container .social-widgets-module .social-widget > i { color: var(--ref-cyan); background: var(--ref-panel); border-color: var(--ref-line); box-shadow: inset 0 1px #61cdf51a; }
body[data-omega-ui="modern"] .container .social-widgets-module .social-widget > span { color: var(--ref-text); }
body[data-omega-ui="modern"] .container .social-widgets-module .social-widget::after { border-color: var(--ref-cyan); }

body[data-omega-ui="modern"] .omega-footer { background: var(--ref-inset); border-top-color: var(--ref-line); }
body[data-omega-ui="modern"] .omega-footer .omega-footer-column h4 { color: var(--ref-yellow); }
body[data-omega-ui="modern"] .omega-footer .omega-footer-column h4::after { background: var(--ref-line); }
body[data-omega-ui="modern"] .omega-footer .omega-footer-bottom { border-top-color: var(--ref-line); }
body[data-omega-ui="modern"] .omega-footer :is(.omega-footer-description,.omega-footer-column a,.omega-footer-credit,.omega-footer-credit span,.omega-footer-version,.omega-footer-bottom,.omega-footer-bottom a),
body[data-omega-ui="modern"] .auth-wrapper .auth-header p,
body[data-omega-ui="modern"] .auth-wrapper .auth-footer-links { color: var(--ref-muted); }
body[data-omega-ui="modern"] .auth-wrapper :is(.auth-footer-links a,.form-links a,.omega-back-home) { color: var(--ref-cyan); }
body[data-omega-ui="modern"] #omega-preview-controls { background: var(--ref-inset); border-color: var(--ref-line); color: var(--ref-text); }
body[data-omega-ui="modern"] #omega-preview-controls button { background: var(--ref-panel); border-color: var(--ref-line); color: var(--ref-text); }
body[data-omega-ui="modern"] #omega-preview-controls button.active { background: var(--ref-raised); border-color: var(--ref-cyan); color: var(--ref-yellow); }

@media (max-width: 980px) {
  body[data-omega-ui="modern"] > nav[data-omega-drawer-mobile="true"] .menu-toggle,
  body[data-omega-ui="modern"] .omega-drawer-heading,
  body[data-omega-ui="modern"] > nav[data-omega-drawer-mobile="true"][data-omega-drawer-open="true"] #nav-menu { background: var(--ref-panel); border-color: var(--ref-line); color: var(--ref-text); }
  body[data-omega-ui="modern"] .omega-drawer-heading h2 { color: var(--ref-yellow); }
  body[data-omega-ui="modern"] .omega-drawer-heading span { color: var(--ref-cyan); }
  body[data-omega-ui="modern"] .omega-drawer-heading button { background: var(--ref-inset); border-color: var(--ref-cyan); color: var(--ref-cyan); }
  body[data-omega-ui="modern"] > nav[data-omega-drawer-mobile="true"] .language-selector { border-top-color: var(--ref-line); }
  body[data-omega-ui="modern"] > nav[data-omega-drawer-mobile="true"] #nav-menu > li > a[aria-current="page"] { box-shadow: inset 3px 0 var(--ref-yellow); }
}
@media (hover: hover) and (pointer: fine) {
  body[data-omega-ui="modern"] > nav > #nav-menu > li > a[href]:hover,
  body[data-omega-ui="modern"] > nav .language-selector > .dropdown-toggle:hover,
  body[data-omega-ui="modern"] > nav .language-dropdown li a:hover { background: var(--ref-raised) !important; color: var(--ref-text) !important; }
  body[data-omega-ui="modern"] > nav > #nav-menu > li > a[href]:hover > i,
  body[data-omega-ui="modern"] > nav .language-selector > .dropdown-toggle:hover > i { color: var(--ref-cyan); }
  body[data-omega-ui="modern"] > nav > #nav-menu > li > a[href]:is([href$="/downloads/"],[href$="/downloads"]):not([aria-disabled="true"]):not(.disabled):hover,
  body[data-omega-ui="modern"] > nav > #nav-menu > li > a[href]:is([href$="/downloads/"],[href$="/downloads"]).active:not([aria-disabled="true"]):not(.disabled):hover { background: #ffe16a !important; border-color: #ffe16a !important; color: var(--ref-base) !important; }
  body[data-omega-ui="modern"] .auth-wrapper .auth-form .btn-more:not(:disabled):not([aria-disabled="true"]):not(.disabled):hover,
  body[data-omega-ui="modern"] .container aside .login-form .btn-more:not(:disabled):not([aria-disabled="true"]):not(.disabled):hover,
  body[data-omega-ui="modern"] .container main :is(.btn-more,.btn-orange,.btn-download):not(:disabled):not([aria-disabled="true"]):not(.disabled):hover,
  body[data-omega-ui="modern"] .container main .omega-downloads .omega-download-btn:not(:disabled):not([aria-disabled="true"]):not(.disabled):hover,
  body[data-omega-ui="modern"] .container .sidebar-right .castle-owner-widget .cs-details-btn:not(:disabled):not([aria-disabled="true"]):not(.disabled):hover,
  body[data-omega-ui="modern"] .omega-ui-button[class~="om-bg-[#c83f52]"]:not(:disabled):not([aria-disabled="true"]):not(.disabled):hover,
  body[data-omega-ui="modern"] > header .omega-hero-action--register:not(:disabled):not([aria-disabled="true"]):not(.disabled):hover { background: #8cddfa !important; border-color: #8cddfa !important; color: var(--ref-base) !important; }
  body[data-omega-ui="modern"] > header .omega-hero-action--download:not([aria-disabled="true"]):not(.disabled):hover { background: #ffe16a; border-color: #ffe16a; color: var(--ref-base); }
  body[data-omega-ui="modern"] .container .sidebar-module:hover,
  body[data-omega-ui="modern"] .container .sidebar-right .sidebar-module:is(.premium-server-info,.castle-owner-widget):hover,
  body[data-omega-ui="modern"] .container main :is(.news-item,.rank-card--livekills):hover { border-color: var(--ref-cyan) !important; border-top-color: var(--ref-cyan) !important; }
  body[data-omega-ui="modern"] .container .sidebar-module > .ranking-item:hover,
  body[data-omega-ui="modern"] .container .sidebar-module > .ranking-item:focus-within,
  body[data-omega-ui="modern"] .container main .omega-news-toggle:hover,
  body[data-omega-ui="modern"] .container .social-widgets-module .social-widget:hover { background: var(--ref-raised); border-color: var(--ref-cyan); color: var(--ref-text); }
  body[data-omega-ui="modern"] .container .social-widgets-module .social-widget:hover > i { background: var(--ref-panel); color: var(--ref-cyan); box-shadow: inset 0 1px #61cdf51a; }
  body[data-omega-ui="modern"] .container main table.rankings-table tr[data-omega-rank-row]:not([data-omega-podium]):hover > td { background: var(--ref-raised) !important; }
  body[data-omega-ui="modern"] .container .sidebar-right .castle-owner-widget .cs-value a:hover,
  body[data-omega-ui="modern"] .omega-footer a:hover { color: var(--ref-cyan); }
}

/* Disabled actions keep a clear blue-grey state and never gain the active yellow face. */
body[data-omega-ui="modern"] .auth-wrapper .auth-form .btn-more:is(:disabled,[aria-disabled="true"],.disabled),
body[data-omega-ui="modern"] .container aside .login-form .btn-more:is(:disabled,[aria-disabled="true"],.disabled),
body[data-omega-ui="modern"] .container main :is(.btn-more,.btn-orange,.btn-download):is(:disabled,[aria-disabled="true"],.disabled),
body[data-omega-ui="modern"] .container main .omega-downloads .omega-download-btn:is(:disabled,[aria-disabled="true"],.disabled),
body[data-omega-ui="modern"] .container .sidebar-right .castle-owner-widget .cs-details-btn:is(:disabled,[aria-disabled="true"],.disabled),
body[data-omega-ui="modern"] .omega-ui-button:is(:disabled,[aria-disabled="true"],.disabled),
body[data-omega-ui="modern"] > header .omega-hero-action:is([aria-disabled="true"],.disabled) { background: var(--ref-inset) !important; border-color: var(--ref-line) !important; color: var(--ref-muted) !important; }

/* Final state paints also cover native CMS and dynamically generated controls. */
body[data-omega-ui="modern"] .container main .tab-btn.active,
body[data-omega-ui="modern"] .container main .content-tabs .tab-btn.active {
  background: var(--ref-cyan) !important;
  border-color: var(--ref-cyan) !important;
  color: var(--ref-base) !important;
}
body[data-omega-ui="modern"] .container main .tab-btn.active :is(i,svg,[data-gold],[data-silver]) { color: inherit !important; }
body[data-omega-ui="modern"] .omega-field-error,
body[data-omega-ui="modern"] .auth-wrapper .auth-form .omega-field-error { color: var(--ref-yellow); }
body[data-omega-ui="modern"] :is(.auth-form,.login-form) input[aria-invalid="true"] { border-color: var(--ref-yellow) !important; }
body[data-omega-ui="modern"] :is(.auth-form,.login-form) input[aria-invalid="true"]:focus { outline-color: var(--ref-cyan); }
body[data-omega-ui="modern"] .container .alert,
body[data-omega-ui="modern"] .auth-wrapper .auth-body-content .alert {
  background: var(--ref-inset);
  border-color: var(--ref-cyan);
  color: var(--ref-text);
}
body[data-omega-ui="modern"] .container :is(.alert-danger,.alert-warning),
body[data-omega-ui="modern"] .auth-wrapper .auth-body-content :is(.alert-danger,.alert-warning) {
  background: var(--ref-inset);
  border-color: var(--ref-yellow);
  color: var(--ref-yellow);
}
body[data-omega-ui="modern"] .container .alert-success,
body[data-omega-ui="modern"] .auth-wrapper .auth-body-content .alert-success { background: var(--ref-inset); border-color: var(--ref-positive); color: var(--ref-positive); }
body[data-omega-ui="modern"] .container .alert-info,
body[data-omega-ui="modern"] .auth-wrapper .auth-body-content .alert-info { background: var(--ref-inset); border-color: var(--ref-cyan); color: var(--ref-cyan); }
body[data-omega-ui="modern"] .omega-feedback-icon { color: inherit; }
body[data-omega-ui="modern"] .container main .profiles_player_card .profiles_player_table_info td.isonline { color: var(--ref-positive); }
body[data-omega-ui="modern"] .container main .profiles_player_card .profiles_player_table_info td.isoffline { color: var(--ref-muted); }
body[data-omega-ui="modern"] .container .premium-server-info .info-left > i { color: var(--ref-cyan) !important; }
body[data-omega-ui="modern"] #info-module-container .table { border-color: var(--ref-line) !important; background: var(--ref-panel) !important; }
body[data-omega-ui="modern"] #info-module-container .table tr td { background: var(--ref-panel) !important; border-color: var(--ref-line) !important; color: var(--ref-text) !important; }
body[data-omega-ui="modern"] #info-module-container .table tr td.bg-dark { background: var(--ref-inset) !important; color: var(--ref-cyan) !important; border-color: var(--ref-line) !important; }
body[data-omega-ui="modern"] #info-module-container h3.page-info,
body[data-omega-ui="modern"] #info-module-container h2.page-info { border-color: var(--ref-line) !important; color: var(--ref-yellow); }
body[data-omega-ui="modern"] .dataTables_wrapper :is(.dataTables_length,.dataTables_filter,.dataTables_info,.dataTables_processing) { color: var(--ref-cyan); }
body[data-omega-ui="modern"] .dataTables_wrapper .dataTables_length select,
body[data-omega-ui="modern"] .dataTables_wrapper .dataTables_filter input {
  background-color: var(--ref-inset);
  border-color: var(--ref-cyan);
  color: var(--ref-text);
  outline-color: var(--ref-cyan);
}
body[data-omega-ui="modern"] .dataTables_wrapper .dataTables_length select option { background: var(--ref-inset); color: var(--ref-text); }
body[data-omega-ui="modern"] .dataTables_wrapper .dataTables_paginate .paginate_button {
  background: var(--ref-inset) !important;
  border-color: var(--ref-line) !important;
  color: var(--ref-text) !important;
  box-shadow: none;
}
body[data-omega-ui="modern"] .dataTables_wrapper .dataTables_paginate .paginate_button.current,
body[data-omega-ui="modern"] .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
  background: var(--ref-cyan) !important;
  border-color: var(--ref-cyan) !important;
  color: var(--ref-base) !important;
}
body[data-omega-ui="modern"] .dataTables_wrapper .dataTables_paginate .paginate_button.disabled,
body[data-omega-ui="modern"] .dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover { background: var(--ref-inset) !important; border-color: var(--ref-line) !important; color: var(--ref-muted) !important; }
body[data-omega-ui="modern"] .container main :is(.btn-primary,.btn-info),
body[data-omega-ui="modern"] .auth-wrapper .auth-body-content :is(.btn-primary,.btn-info) { background: var(--ref-cyan); border-color: var(--ref-cyan); color: var(--ref-base); }
body[data-omega-ui="modern"] .container main :is(.btn-danger,.btn-warning),
body[data-omega-ui="modern"] .auth-wrapper .auth-body-content :is(.btn-danger,.btn-warning) { background: var(--ref-inset); border-color: var(--ref-yellow); color: var(--ref-yellow); }
body[data-omega-ui="modern"] .container main .btn-success,
body[data-omega-ui="modern"] .auth-wrapper .auth-body-content .btn-success { background: var(--ref-positive); border-color: var(--ref-positive); color: var(--ref-base); }
body[data-omega-ui="modern"] .container main .btn-default,
body[data-omega-ui="modern"] .auth-wrapper .auth-body-content .btn-default { background: var(--ref-inset); border-color: var(--ref-line); color: var(--ref-text); }
@media (hover: hover) and (pointer: fine) {
  body[data-omega-ui="modern"] .dataTables_wrapper .dataTables_paginate .paginate_button:not(.current):not(.disabled):hover { background: var(--ref-raised) !important; border-color: var(--ref-cyan) !important; color: var(--ref-text) !important; }
  body[data-omega-ui="modern"] .container main :is(.btn-danger,.btn-warning):not(:disabled):not([aria-disabled="true"]):not(.disabled):hover,
  body[data-omega-ui="modern"] .auth-wrapper .auth-body-content :is(.btn-danger,.btn-warning):not(:disabled):not([aria-disabled="true"]):not(.disabled):hover { background: var(--ref-yellow); color: var(--ref-base); border-color: var(--ref-yellow); }
}

body[data-omega-ui="modern"] [data-gold],
body[data-omega-ui="modern"] [data-silver] { background-image: none !important; color: inherit !important; -webkit-text-fill-color: currentColor !important; text-shadow: none !important; }
body[data-omega-ui="modern"] [data-gold]::before,
body[data-omega-ui="modern"] [data-gold]::after,
body[data-omega-ui="modern"] [data-silver]::before,
body[data-omega-ui="modern"] [data-silver]::after { background-image: none !important; color: inherit !important; -webkit-text-fill-color: currentColor !important; text-shadow: none !important; }
body[data-omega-ui="modern"] .container main table thead :is(th,td) { background: var(--ref-panel) !important; border-color: var(--ref-line) !important; color: var(--ref-cyan) !important; }
body[data-omega-ui="modern"] .container main table:is(.rankings-table,.topmoney-table) td[data-omega-ui-state],
body[data-omega-ui="modern"] .container main .dataTables_wrapper td.dataTables_empty { background: var(--ref-inset) !important; border-color: var(--ref-line) !important; color: var(--ref-muted) !important; }
body[data-omega-ui="modern"] .container main table:is(.rankings-table,.topmoney-table) td[data-omega-ui-state="error"] { background: var(--ref-inset) !important; border-color: var(--ref-yellow) !important; color: var(--ref-yellow) !important; }
body[data-omega-ui="modern"] .container main .dataTables_wrapper .dataTables_processing { background: var(--ref-panel) !important; color: var(--ref-cyan) !important; border-color: var(--ref-cyan); }
body[data-omega-ui="modern"] .container .omega-content-state::before { background: var(--ref-inset); border-color: var(--ref-cyan); }
body[data-omega-ui="modern"] .container .omega-content-state[data-omega-ui-state="error"] { background: var(--ref-inset); border-color: var(--ref-yellow); color: var(--ref-yellow); }
body[data-omega-ui="modern"] .container .omega-content-state[data-omega-ui-state="error"]::before { background: var(--ref-yellow); border-color: var(--ref-yellow); }
body[data-omega-ui="modern"] .container .omega-content-state[data-omega-ui-state="loading"]::before,
body[data-omega-ui="modern"] .container main .dataTables_wrapper .dataTables_processing::before,
body[data-omega-ui="modern"] .container main table:is(.rankings-table,.topmoney-table) td[data-omega-ui-state="loading"]::before { background-color: var(--ref-inset) !important; border-color: var(--ref-line) !important; border-top-color: var(--ref-cyan) !important; }
body[data-omega-ui="modern"] .container main .form-control,
body[data-omega-ui="modern"] .auth-wrapper .auth-body-content .form-control { background-color: var(--ref-inset); border-color: var(--ref-cyan); color: var(--ref-text); }
body[data-omega-ui="modern"] .container main .form-control:focus,
body[data-omega-ui="modern"] .auth-wrapper .auth-body-content .form-control:focus { border-color: var(--ref-cyan); outline: 2px solid var(--ref-cyan); outline-offset: 2px; box-shadow: none; }
body[data-omega-ui="modern"] .container main .form-control:is(:disabled,[readonly]),
body[data-omega-ui="modern"] .auth-wrapper .auth-body-content .form-control:is(:disabled,[readonly]) { background-color: var(--ref-inset); border-color: var(--ref-line); color: var(--ref-muted); }
body[data-omega-ui="modern"] .container main .has-error :is(.form-control,.help-block,.control-label),
body[data-omega-ui="modern"] .auth-wrapper .auth-body-content .has-error :is(.form-control,.help-block,.control-label) { border-color: var(--ref-yellow); color: var(--ref-yellow); box-shadow: none; }
body[data-omega-ui="modern"] .container main :is(.panel,.well) { background: var(--ref-inset); border-color: var(--ref-line); color: var(--ref-text); }
body[data-omega-ui="modern"] .container main .panel > .panel-heading { background: var(--ref-panel); border-color: var(--ref-line); color: var(--ref-yellow); }

@media (forced-colors: active) {
  body[data-omega-ui="modern"] { background-color: Canvas; background-image: none !important; color: CanvasText; }
  body[data-omega-ui="modern"] .container main .profiles_player_card { background: Canvas; color: CanvasText; }
  body[data-omega-ui="modern"] :is(.sidebar-module,.auth-card,.omega-product-card,.omega-product-panel,.omega-class-card,.omega-class-reference) { background-color: Canvas; color: CanvasText; border-color: CanvasText !important; box-shadow: none !important; }
  body[data-omega-ui="modern"] :is(a,button,input,summary):focus-visible { outline-color: Highlight; --tw-ring-color: Highlight; }
}

/* Sidebar tabs keep the original event table and its schedule producer in place. */
body[data-omega-ui="modern"] .container .events-module[data-omega-events-tabs] {
  min-width: 0;
  container-type: inline-size;
}
body[data-omega-ui="modern"] .container .events-module[data-omega-events-tabs] > [data-omega-native-event-heading][hidden],
body[data-omega-ui="modern"] .container .events-module[data-omega-events-tabs] > [role="tabpanel"][hidden] {
  display: none !important;
}
body[data-omega-ui="modern"] .container .events-module .omega-event-tabs-slot { margin: 0 0 14px; }
body[data-omega-ui="modern"] .container .events-module .omega-event-tabs {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2px;
  padding: 3px;
  border: 1px solid #61cdf566;
  border-radius: 7px;
  background: #00213d;
}
body[data-omega-ui="modern"] .container .events-module .omega-event-tabs > button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-width: 0;
  min-height: 44px;
  margin: 0;
  padding: 7px 3px;
  border: 1px solid transparent;
  border-radius: 4px;
  background: transparent;
  color: #61cdf5;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: none;
  letter-spacing: 0;
  white-space: nowrap;
  cursor: pointer;
}
body[data-omega-ui="modern"] .container .events-module .omega-event-tabs > button > svg { flex: 0 0 auto; }
body[data-omega-ui="modern"] .container .events-module .omega-event-tabs > button[aria-selected="true"] {
  border-color: #61cdf5;
  background: #003466;
  color: #ffcc00;
  box-shadow: inset 0 -2px #ffcc00;
}
body[data-omega-ui="modern"] .container .events-module .omega-event-tabs > button:hover { background: #003466; color: #f1f7ff; }
body[data-omega-ui="modern"] .container .events-module .omega-event-tabs > button:focus-visible,
body[data-omega-ui="modern"] .container .events-module[data-omega-events-tabs] > [role="tabpanel"]:focus-visible,
body[data-omega-ui="modern"] .container .events-module .omega-invasions-state button:focus-visible,
body[data-omega-ui="modern"] .container .events-module .omega-event-agenda-link:focus-visible {
  outline: 2px solid #61cdf5;
  outline-offset: 3px;
}
body[data-omega-ui="modern"] .container .events-module .omega-invasions-panel {
  min-width: 0;
  max-height: 400px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #61cdf580 #002b54;
}
body[data-omega-ui="modern"] .container .events-module :is(.omega-invasions-notice,.omega-invasions-zone,.omega-invasions-state) {
  margin: 0 0 10px;
  padding: 9px;
  border: 1px solid #61cdf54d;
  border-radius: 5px;
  background: #002b54;
  color: #f1f7ff;
  font-size: 12px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}
body[data-omega-ui="modern"] .container .events-module .omega-invasions-notice { border-inline-start: 3px solid #ffcc00; }
body[data-omega-ui="modern"] .container .events-module .omega-invasions-zone { color: #61cdf5; }
body[data-omega-ui="modern"] .container .events-module .omega-invasions-error p { margin: 0 0 8px; }
body[data-omega-ui="modern"] .container .events-module .omega-invasions-state button {
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid #61cdf5;
  border-radius: 4px;
  background: #003466;
  color: #f1f7ff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
body[data-omega-ui="modern"] .container .events-module .omega-invasions-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0 7px;
  margin: -7px 0 0;
  color: #f1f7ff;
}
body[data-omega-ui="modern"] .container .events-module .omega-invasions-table td {
  padding: 10px;
  border: 1px solid #61cdf54d;
  border-radius: 5px;
  background: #002b54;
  vertical-align: top;
  text-align: left;
  overflow-wrap: anywhere;
}
body[data-omega-ui="modern"] .container .events-module .omega-invasion-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 5px 7px;
}
body[data-omega-ui="modern"] .container .events-module .omega-invasion-name {
  display: block;
  color: #61cdf5;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
}
body[data-omega-ui="modern"] .container .events-module .omega-invasion-countdown {
  display: block;
  justify-self: end;
  min-width: 8ch;
  max-width: 9ch;
  margin: 0;
  color: #ffcc00;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
  font-variant-numeric: tabular-nums;
  text-align: right;
  overflow-wrap: normal;
}
body[data-omega-ui="modern"] .container .events-module .omega-invasion-pending {
  grid-column: 1 / -1;
  justify-self: stretch;
  min-width: 0;
  max-width: none;
  color: #ffcc00;
  font-size: 11px;
  text-align: left;
}
body[data-omega-ui="modern"] .container .events-module .omega-invasion-next { display: block; grid-column: 1 / -1; margin-top: 0; color: #f1f7ff; font-size: 11px; line-height: 1.5; }
body[data-omega-ui="modern"] .container .events-module .omega-event-agenda-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: 10px;
  color: #61cdf5;
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.omega-invasion-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@container (max-width: 229px) {
  body[data-omega-ui="modern"] .container .events-module .omega-event-tabs > button > svg { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  body[data-omega-ui="modern"] .container .events-module .omega-event-tabs > button { transition: none; }
}

/* HERO 51: one centered brand composition; the native logo and live statistics
 * keep their nodes, attributes, data and bindings. All layout changes end here.
 */
/* Prepared pages can paint before React loads. Reserve the introduction in the
 * native logo wrapper; the portal replaces this space without duplicate copy.
 */
body[data-omega-ui="modern"][data-omega-prepared="40"] > header:has(.hero-stats-container):not([data-omega-hero]) .logo-wrapper:not(:has(.omega-hero-actions-slot)):not(:has(+ .omega-hero-actions-slot))::after {
    content: "";
    display: block;
    height: 180px;
}
body[data-omega-ui="modern"] > header[data-omega-hero="51"] {
    box-sizing: border-box;
    min-height: 0;
    padding: 86px 24px 34px;
    overflow: visible;
}
body[data-omega-ui="modern"] > header[data-omega-hero="51"] .header-content {
    width: 100%;
    opacity: 1;
    transform: none;
    animation: none;
}
body[data-omega-ui="modern"] > header[data-omega-hero="51"] .compact-header-wrapper {
    width: 100%;
    min-width: 0;
}
body[data-omega-ui="modern"] > header[data-omega-hero="51"] .logo-wrapper {
    display: block;
    width: 100%;
    max-width: 560px;
    margin: 0 auto 30px !important;
    text-align: center;
}
body[data-omega-ui="modern"] > header[data-omega-hero="51"] .logo-wrapper::before {
    top: 0;
    width: min(100%, 470px);
    height: 284px;
    background: radial-gradient(ellipse at 50% 42%, #ffcc0017, #ffcc0008 40%, transparent 72%);
}
body[data-omega-ui="modern"] > header[data-omega-hero="51"] .logo-wrapper::after {
    content: none;
    display: none;
}
body[data-omega-ui="modern"] > header[data-omega-hero="51"] .logo-wrapper img {
    display: block;
    width: min(100%, 414px);
    max-width: 414px !important;
    height: auto;
    margin: 0 auto;
    filter: drop-shadow(0 4px 9px #00132699) !important;
}
body[data-omega-ui="modern"] > header[data-omega-hero="51"] .omega-hero-actions-slot {
    width: 100%;
    max-width: 560px;
    margin: -8px auto 0;
}
/* An anchor logo needs its own sibling slot to keep the two actions valid. */
body[data-omega-ui="modern"] > header[data-omega-hero="51"] .logo-wrapper:has(+ .omega-hero-actions-slot--sibling),
body[data-omega-ui="modern"] > header[data-omega-hero="51"] a:has(+ .omega-hero-actions-slot--sibling) .logo-wrapper {
    margin-bottom: 0 !important;
}
body[data-omega-ui="modern"] > header[data-omega-hero="51"] .omega-hero-actions-slot--sibling {
    margin: -8px auto 30px;
}
body[data-omega-ui="modern"] > header[data-omega-hero="51"] .omega-hero-intro {
    position: relative;
    text-align: center;
    text-shadow: 0 2px 7px #00172bcc;
}
body[data-omega-ui="modern"] > header[data-omega-hero="51"] .omega-hero-eyebrow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 0 0 9px;
    color: #a4e4ff;
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    letter-spacing: .12em;
    text-transform: uppercase;
    animation: none;
}
body[data-omega-ui="modern"] > header[data-omega-hero="51"] .omega-hero-eyebrow > span { color: #ffcc00; }
body[data-omega-ui="modern"] > header[data-omega-hero="51"] .omega-hero-title {
    margin: 0 auto;
    max-width: 540px;
    color: #f1f7ff;
    font-family: inherit;
    font-size: clamp(24px, 2.2vw, 30px);
    font-weight: 650;
    line-height: 1.28;
    letter-spacing: -.025em;
    text-wrap: balance;
}
body[data-omega-ui="modern"] > header[data-omega-hero="51"] .omega-hero-copy {
    margin: 10px 0 0;
    color: #cee8f8;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    animation: none;
}
body[data-omega-ui="modern"] > header[data-omega-hero="51"] .omega-hero-actions {
    display: grid;
    grid-template-columns: 1.08fr 1fr;
    gap: 12px;
    width: min(100%, 440px);
    margin: 24px auto 0;
}
body[data-omega-ui="modern"] > header[data-omega-hero="51"] .omega-hero-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 0;
    min-height: 54px;
    padding: 13px 16px;
    border: 1px solid;
    border-radius: 8px;
    box-sizing: border-box;
    font-size: 16px;
    font-weight: 700;
    line-height: 22px;
    letter-spacing: 0;
    text-decoration: none;
    text-shadow: none;
    transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
body[data-omega-ui="modern"] > header[data-omega-hero="51"] .omega-hero-action > svg {
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    stroke-width: 1.8;
}
body[data-omega-ui="modern"] > header[data-omega-hero="51"] .omega-hero-action--download {
    background: #ffcc00 !important;
    border-color: #ffe16a !important;
    color: #00213d !important;
    box-shadow: inset 0 1px #fff3ac80, 0 6px 18px #00172b40 !important;
}
body[data-omega-ui="modern"] > header[data-omega-hero="51"] .omega-hero-action--register {
    background: #002b54 !important;
    border-color: #61cdf5 !important;
    color: #dff5ff !important;
    box-shadow: inset 0 1px #61cdf519, 0 6px 18px #00172b40 !important;
}
body[data-omega-ui="modern"] > header[data-omega-hero="51"] .omega-hero-action:focus-visible {
    outline: 3px solid #a4e4ff;
    outline-offset: 4px;
}
body[data-omega-ui="modern"] > header[data-omega-hero="51"] .omega-hero-action:active { transform: translateY(1px); }
/* A single compact strip replaces the three floating frames, using their exact
 * native content, including #ajax-online-players and its asynchronous updates.
 */
body[data-omega-ui="modern"] > header[data-omega-hero="51"] .hero-stats-container {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0 !important;
    width: min(100%, 880px);
    max-width: 880px;
    margin: 0 auto;
    padding: 0;
    overflow: hidden;
    border: 1px solid #2b5c7d;
    border-radius: 12px;
    background: #002b54;
    box-shadow: inset 0 1px #61cdf514, 0 8px 22px #00172b26;
}
body[data-omega-ui="modern"] > header[data-omega-hero="51"] .simple-rank-card {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    min-width: 0 !important;
    min-height: 80px;
    margin: 0;
    padding: 16px 20px;
    border: 0 !important;
    border-radius: 0;
    background: transparent;
    box-shadow: none !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    transform: none;
}
body[data-omega-ui="modern"] > header[data-omega-hero="51"] .simple-rank-card + .simple-rank-card { border-left: 1px solid #2b5c7d !important; }
body[data-omega-ui="modern"] > header[data-omega-hero="51"] .simple-rank-card .card-image {
    width: 32px;
    height: 32px;
    margin: 0;
}
body[data-omega-ui="modern"] > header[data-omega-hero="51"] .simple-rank-card .card-image > div {
    border: 0 !important;
    background: transparent !important;
}
body[data-omega-ui="modern"] > header[data-omega-hero="51"] .simple-rank-card .card-image > div > i { color: #61cdf5 !important; }
body[data-omega-ui="modern"] > header[data-omega-hero="51"] .simple-rank-card .card-info { min-width: 0; }
body[data-omega-ui="modern"] > header[data-omega-hero="51"] .simple-rank-card .card-label {
    margin: 0 0 2px;
    color: #a4d3ec !important;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    letter-spacing: .04em;
}
body[data-omega-ui="modern"] > header[data-omega-hero="51"] .simple-rank-card .player-name {
    display: block;
    color: #e4f3ff !important;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    overflow-wrap: anywhere;
}
body[data-omega-ui="modern"] > header[data-omega-hero="51"] .simple-rank-card .card-stat {
    min-width: 0;
    color: #f1f7ff !important;
    font-size: 24px !important;
    font-weight: 700;
    line-height: 1.25;
    font-variant-numeric: tabular-nums;
    letter-spacing: -.025em;
    white-space: normal;
    overflow-wrap: anywhere;
}
body[data-omega-ui="modern"] > header[data-omega-hero="51"] .simple-rank-card #ajax-online-players { color: #65c779 !important; }
@media (hover: hover) and (pointer: fine) {
    body[data-omega-ui="modern"] > header[data-omega-hero="51"] .omega-hero-action--download:hover {
        background: #ffe16a !important;
        border-color: #fff0a3 !important;
        box-shadow: inset 0 1px #fff6c4, 0 8px 22px #00172b50 !important;
        transform: translateY(-2px);
    }
    body[data-omega-ui="modern"] > header[data-omega-hero="51"] .omega-hero-action--register:hover {
        background: #003466 !important;
        border-color: #a4e4ff !important;
        transform: translateY(-2px);
    }
}
@media (max-width: 1100px) and (min-width: 981px) {
    body[data-omega-ui="modern"] > header[data-omega-hero="51"] .logo-wrapper img { width: 384px; max-width: 384px !important; }
    body[data-omega-ui="modern"] > header[data-omega-hero="51"] .hero-stats-container { max-width: 840px; }
    body[data-omega-ui="modern"] > header[data-omega-hero="51"] .simple-rank-card { padding-inline: 16px; gap: 10px; }
}
@media (max-width: 980px) {
    body[data-omega-ui="modern"][data-omega-prepared="40"] > header:has(.hero-stats-container):not([data-omega-hero]) .logo-wrapper {
        margin-bottom: 26px !important;
    }
    body[data-omega-ui="modern"][data-omega-prepared="40"] > header:has(.hero-stats-container):not([data-omega-hero]) .logo-wrapper:not(:has(.omega-hero-actions-slot)):not(:has(+ .omega-hero-actions-slot))::after { height: 200px; }
    /* Keep the existing portrait asset and palette. Move its two background
     * layers separately so the faces flank the crown instead of the buttons.
     */
    body[data-omega-ui="modern"]:has(> header[data-omega-hero="51"]) {
        background-position: center -180px, center -96px;
    }
    body[data-omega-ui="modern"] > header[data-omega-hero="51"] { padding: 82px 20px 28px; }
    body[data-omega-ui="modern"] > header[data-omega-hero="51"] .logo-wrapper { margin-bottom: 26px !important; }
    body[data-omega-ui="modern"] > header[data-omega-hero="51"] .logo-wrapper img {
        width: min(100%, 340px);
        max-width: min(100%, 340px) !important;
    }
    body[data-omega-ui="modern"] > header[data-omega-hero="51"] .logo-wrapper::before {
        width: min(100%, 340px);
        height: 220px;
    }
    body[data-omega-ui="modern"] > header[data-omega-hero="51"] .omega-hero-actions-slot { margin-top: -4px; }
    body[data-omega-ui="modern"] > header[data-omega-hero="51"] .omega-hero-actions-slot--sibling { margin: -4px auto 26px; }
    body[data-omega-ui="modern"] > header[data-omega-hero="51"] .simple-rank-card {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 10px;
        min-height: 78px;
        padding: 14px 18px;
    }
    body[data-omega-ui="modern"] > header[data-omega-hero="51"] .simple-rank-card .card-image { display: none; }
    body[data-omega-ui="modern"] > header[data-omega-hero="51"] .simple-rank-card .card-stat { font-size: 22px !important; }
}
@media (max-width: 560px) {
    body[data-omega-ui="modern"] > header[data-omega-hero="51"] { padding: 80px 16px 26px; }
    body[data-omega-ui="modern"] > header[data-omega-hero="51"] .logo-wrapper img {
        width: min(100%, 310px);
        max-width: min(100%, 310px) !important;
    }
    body[data-omega-ui="modern"] > header[data-omega-hero="51"] .omega-hero-title { max-width: 360px; font-size: 25px; }
    body[data-omega-ui="modern"] > header[data-omega-hero="51"] .omega-hero-eyebrow { font-size: 14px; letter-spacing: .08em; }
    body[data-omega-ui="modern"] > header[data-omega-hero="51"] .omega-hero-actions { grid-template-columns: 1.08fr 1fr; gap: 10px; margin-top: 22px; }
    body[data-omega-ui="modern"] > header[data-omega-hero="51"] .omega-hero-action { min-height: 56px; padding: 12px 10px; gap: 8px; font-size: 14px; line-height: 20px; }
    body[data-omega-ui="modern"] > header[data-omega-hero="51"] .simple-rank-card {
        grid-template-columns: minmax(0, 1fr);
        align-content: start;
        justify-items: center;
        gap: 8px;
        min-height: 112px;
        padding: 14px 8px;
        text-align: center;
    }
    body[data-omega-ui="modern"] > header[data-omega-hero="51"] .simple-rank-card .card-info { min-height: 60px; }
    body[data-omega-ui="modern"] > header[data-omega-hero="51"] .simple-rank-card .card-label { margin-bottom: 0; }
    body[data-omega-ui="modern"] > header[data-omega-hero="51"] .simple-rank-card .card-stat { max-width: 100%; font-size: 20px !important; }
}
@media (max-width: 380px) {
    body[data-omega-ui="modern"] > header[data-omega-hero="51"] .omega-hero-action-detail { display: block; }
}
@media (prefers-reduced-motion: reduce) {
    body[data-omega-ui="modern"] > header[data-omega-hero="51"] .omega-hero-action { transition: none; transform: none !important; }
}
@media (forced-colors: active) {
    body[data-omega-ui="modern"] > header[data-omega-hero="51"] .hero-stats-container { background: Canvas; color: CanvasText; border-color: CanvasText; box-shadow: none; }
    body[data-omega-ui="modern"] > header[data-omega-hero="51"] .omega-hero-action { background: ButtonFace !important; border-color: ButtonText !important; color: ButtonText !important; box-shadow: none !important; }
    body[data-omega-ui="modern"] > header[data-omega-hero="51"] .omega-hero-action:focus-visible { outline-color: Highlight; }
}

/* HERO 52 finish: paint and compact spacing on the existing HERO 51 schema.
 * Native artwork, copy, links, statistics and React lifecycle stay unchanged.
 * Every selector leaves with the modern-mode and mounted-hero markers.
 */
body[data-omega-ui="modern"] > header[data-omega-hero="51"] {
    padding-bottom: 32px;
}
body[data-omega-ui="modern"] > header[data-omega-hero="51"] .logo-wrapper {
    margin-bottom: 26px !important;
}
/* Light stays local to the crown; the two character faces remain unobscured. */
body[data-omega-ui="modern"] > header[data-omega-hero="51"] .logo-wrapper::before {
    top: -18px;
    width: min(100%, 476px);
    height: 276px;
    background:
        radial-gradient(ellipse at 50% 35%, #ffdc6629 0%, #ffcc0014 32%, #ffcc0000 66%),
        radial-gradient(ellipse at 50% 64%, #61cdf51c 0%, #61cdf50a 35%, #61cdf500 70%);
}
body[data-omega-ui="modern"] > header[data-omega-hero="51"] .logo-wrapper img {
    filter: drop-shadow(0 2px 2px #00132666) drop-shadow(0 8px 15px #00132680) !important;
}
body[data-omega-ui="modern"] > header[data-omega-hero="51"] .omega-hero-eyebrow {
    gap: 8px;
    margin-bottom: 8px;
    color: #b4e7fa;
    font-size: 13px;
    font-weight: 650;
    letter-spacing: .16em;
}
body[data-omega-ui="modern"] > header[data-omega-hero="51"] .omega-hero-eyebrow::before,
body[data-omega-ui="modern"] > header[data-omega-hero="51"] .omega-hero-eyebrow::after {
    content: "";
    flex: 0 1 36px;
    width: 36px;
    min-width: 12px;
    height: 1px;
    background: linear-gradient(90deg, #61cdf500, #61cdf58c);
}
body[data-omega-ui="modern"] > header[data-omega-hero="51"] .omega-hero-eyebrow::after {
    background: linear-gradient(90deg, #61cdf58c, #61cdf500);
}
body[data-omega-ui="modern"] > header[data-omega-hero="51"] .omega-hero-eyebrow > span {
    color: #ffda51;
    text-shadow: 0 0 8px #ffcc002e;
}
body[data-omega-ui="modern"] > header[data-omega-hero="51"] .omega-hero-title {
    color: #f6faff;
    font-weight: 700;
    letter-spacing: -.028em;
    text-shadow: 0 2px 8px #00172bb3;
}
body[data-omega-ui="modern"] > header[data-omega-hero="51"] .omega-hero-copy {
    margin-top: 9px;
    color: #cee8f8;
}
body[data-omega-ui="modern"] > header[data-omega-hero="51"] .omega-hero-actions {
    margin-top: 22px;
}
body[data-omega-ui="modern"] > header[data-omega-hero="51"] .omega-hero-action {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border-radius: 8px;
    font-weight: 700;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
body[data-omega-ui="modern"] > header[data-omega-hero="51"] .omega-hero-action > svg,
body[data-omega-ui="modern"] > header[data-omega-hero="51"] .omega-hero-action > span {
    position: relative;
    z-index: 1;
}
body[data-omega-ui="modern"] > header[data-omega-hero="51"] .omega-hero-action--download {
    background: linear-gradient(180deg, #ffdf66 0%, #ffcc00 48%, #f2b900 100%) !important;
    border-color: #ffe58a !important;
    color: #00213d !important;
    box-shadow: inset 0 1px #fff5c5, inset 0 -2px #b781004d, 0 6px 16px #00172b47 !important;
}
/* A single glint crosses only during a deliberate pointer hover. */
body[data-omega-ui="modern"] > header[data-omega-hero="51"] .omega-hero-action--download::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(110deg, #ffffff00 24%, #ffffff00 38%, #ffffff66 50%, #ffffff00 62%, #ffffff00 76%);
    transform: translateX(-130%);
    transition: transform .55s ease;
    pointer-events: none;
}
body[data-omega-ui="modern"] > header[data-omega-hero="51"] .omega-hero-action--register {
    background: #00213d !important;
    border-color: #61cdf5 !important;
    color: #e5f7ff !important;
    box-shadow: inset 0 1px #61cdf52e, inset 0 -1px #00172b80, 0 6px 16px #00172b38 !important;
}
body[data-omega-ui="modern"] > header[data-omega-hero="51"] .omega-hero-action:focus-visible {
    outline: 3px solid #a4e4ff;
    outline-offset: 4px;
}
/* One solid blue strip: cells share its surface, with fine inset icon frames. */
body[data-omega-ui="modern"] > header[data-omega-hero="51"] .hero-stats-container {
    position: relative;
    border-color: #467994;
    border-top-color: #8baaa9;
    border-radius: 10px;
    background: #003466 !important;
    box-shadow: inset 0 1px #d7f1ff12, inset 0 -1px #00172b4d, 0 8px 20px #00172b2e;
}
body[data-omega-ui="modern"] > header[data-omega-hero="51"] .hero-stats-container::before {
    content: "";
    position: absolute;
    inset: 0 12% auto;
    height: 1px;
    background: linear-gradient(90deg, #61cdf500, #9bdcf55c 24%, #ffe09b80 50%, #9bdcf55c 76%, #61cdf500);
    pointer-events: none;
}
body[data-omega-ui="modern"] > header[data-omega-hero="51"] .simple-rank-card {
    gap: 10px;
    background: transparent !important;
    box-shadow: none !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    transition: none;
    transform: none;
}
body[data-omega-ui="modern"] > header[data-omega-hero="51"] .simple-rank-card + .simple-rank-card {
    border-left-color: #467994 !important;
}
body[data-omega-ui="modern"] > header[data-omega-hero="51"] .simple-rank-card .card-image > div {
    box-sizing: border-box;
    border: 1px solid #3d7599 !important;
    border-radius: 7px !important;
    background: #002b54 !important;
    box-shadow: inset 0 1px #61cdf51a;
}
body[data-omega-ui="modern"] > header[data-omega-hero="51"] .simple-rank-card .card-image > div > i {
    font-size: 14px !important;
}
body[data-omega-ui="modern"] > header[data-omega-hero="51"] .simple-rank-card .card-label {
    color: #9fd3ed !important;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .08em;
}
body[data-omega-ui="modern"] > header[data-omega-hero="51"] .simple-rank-card .player-name {
    color: #e5f2fa !important;
    font-weight: 500;
}
body[data-omega-ui="modern"] > header[data-omega-hero="51"] .simple-rank-card .card-stat {
    color: #fff0c3 !important;
    font-size: 26px !important;
    font-weight: 750;
    font-variant-numeric: lining-nums tabular-nums;
    letter-spacing: -.03em;
}
body[data-omega-ui="modern"] > header[data-omega-hero="51"] .simple-rank-card #ajax-online-players {
    color: #65c779 !important;
}
@media (hover: hover) and (pointer: fine) {
    body[data-omega-ui="modern"] > header[data-omega-hero="51"] .omega-hero-action--download:not(:disabled):not([aria-disabled="true"]):not(.disabled):hover {
        background: linear-gradient(180deg, #ffea94 0%, #ffd52e 48%, #ffcc00 100%) !important;
        border-color: #fff0b3 !important;
        color: #00213d !important;
        box-shadow: inset 0 1px #fff9de, inset 0 -2px #b7810033, 0 8px 20px #00172b52 !important;
        transform: translateY(-2px);
    }
    body[data-omega-ui="modern"] > header[data-omega-hero="51"] .omega-hero-action--download:not(:disabled):not([aria-disabled="true"]):not(.disabled):hover::after {
        transform: translateX(130%);
    }
    body[data-omega-ui="modern"] > header[data-omega-hero="51"] .omega-hero-action--register:not(:disabled):not([aria-disabled="true"]):not(.disabled):hover {
        background: #003466 !important;
        border-color: #a4e4ff !important;
        color: #f1fbff !important;
        box-shadow: inset 0 1px #a4e4ff38, 0 8px 20px #00172b47 !important;
        transform: translateY(-2px);
    }
}
body[data-omega-ui="modern"] > header[data-omega-hero="51"] .omega-hero-action:is(:disabled,[aria-disabled="true"],.disabled) {
    background: #002b54 !important;
    border-color: #467994 !important;
    color: #b4def2 !important;
    box-shadow: none !important;
    transform: none;
}
body[data-omega-ui="modern"] > header[data-omega-hero="51"] .omega-hero-action:is(:disabled,[aria-disabled="true"],.disabled)::after {
    display: none;
}
@media (max-width: 980px) {
    body[data-omega-ui="modern"] > header[data-omega-hero="51"] { padding-bottom: 26px; }
    body[data-omega-ui="modern"] > header[data-omega-hero="51"] .logo-wrapper { margin-bottom: 24px !important; }
    body[data-omega-ui="modern"] > header[data-omega-hero="51"] .logo-wrapper::before {
        top: -12px;
        width: min(100%, 354px);
        height: 220px;
    }
    body[data-omega-ui="modern"] > header[data-omega-hero="51"] .omega-hero-actions-slot--sibling { margin-bottom: 24px; }
    body[data-omega-ui="modern"] > header[data-omega-hero="51"] .simple-rank-card .card-stat { font-size: 22px !important; }
}
@media (max-width: 560px) {
    body[data-omega-ui="modern"] > header[data-omega-hero="51"] { padding-bottom: 24px; }
    body[data-omega-ui="modern"] > header[data-omega-hero="51"] .logo-wrapper::before {
        top: -8px;
        width: min(100%, 316px);
        height: 196px;
    }
    body[data-omega-ui="modern"] > header[data-omega-hero="51"] .omega-hero-eyebrow {
        font-size: 12px;
        letter-spacing: .12em;
    }
    body[data-omega-ui="modern"] > header[data-omega-hero="51"] .omega-hero-eyebrow::before,
    body[data-omega-ui="modern"] > header[data-omega-hero="51"] .omega-hero-eyebrow::after {
        flex-basis: 28px;
        width: 28px;
    }
    body[data-omega-ui="modern"] > header[data-omega-hero="51"] .omega-hero-actions { margin-top: 20px; }
    body[data-omega-ui="modern"] > header[data-omega-hero="51"] .simple-rank-card { gap: 8px; }
    body[data-omega-ui="modern"] > header[data-omega-hero="51"] .simple-rank-card .card-info { min-height: 60px; }
    body[data-omega-ui="modern"] > header[data-omega-hero="51"] .simple-rank-card .card-label { font-size: 12px; }
    body[data-omega-ui="modern"] > header[data-omega-hero="51"] .simple-rank-card .card-stat { font-size: 20px !important; }
}
@media (prefers-reduced-motion: reduce) {
    body[data-omega-ui="modern"] > header[data-omega-hero="51"] .omega-hero-action {
        transition: none;
        transform: none !important;
    }
    body[data-omega-ui="modern"] > header[data-omega-hero="51"] .omega-hero-action--download::after {
        display: none;
        transition: none;
    }
}
@media (forced-colors: active) {
    body[data-omega-ui="modern"] > header[data-omega-hero="51"] .logo-wrapper::before,
    body[data-omega-ui="modern"] > header[data-omega-hero="51"] .omega-hero-eyebrow::before,
    body[data-omega-ui="modern"] > header[data-omega-hero="51"] .omega-hero-eyebrow::after,
    body[data-omega-ui="modern"] > header[data-omega-hero="51"] .omega-hero-action--download::after,
    body[data-omega-ui="modern"] > header[data-omega-hero="51"] .hero-stats-container::before { display: none; }
    body[data-omega-ui="modern"] > header[data-omega-hero="51"] .logo-wrapper img { filter: none !important; }
    body[data-omega-ui="modern"] > header[data-omega-hero="51"] .omega-hero-intro,
    body[data-omega-ui="modern"] > header[data-omega-hero="51"] .omega-hero-title,
    body[data-omega-ui="modern"] > header[data-omega-hero="51"] .omega-hero-copy,
    body[data-omega-ui="modern"] > header[data-omega-hero="51"] .omega-hero-eyebrow,
    body[data-omega-ui="modern"] > header[data-omega-hero="51"] .omega-hero-eyebrow > span {
        color: CanvasText;
        text-shadow: none;
    }
    body[data-omega-ui="modern"] > header[data-omega-hero="51"] .hero-stats-container {
        background: Canvas !important;
        border-color: CanvasText;
        box-shadow: none;
    }
    body[data-omega-ui="modern"] > header[data-omega-hero="51"] .simple-rank-card + .simple-rank-card { border-left-color: CanvasText !important; }
    body[data-omega-ui="modern"] > header[data-omega-hero="51"] .simple-rank-card .card-image > div {
        background: Canvas !important;
        border-color: CanvasText !important;
        box-shadow: none;
    }
    body[data-omega-ui="modern"] > header[data-omega-hero="51"] .simple-rank-card .card-image > div > i,
    body[data-omega-ui="modern"] > header[data-omega-hero="51"] .simple-rank-card:has(#ajax-online-players) .card-image > div > i,
    body[data-omega-ui="modern"] > header[data-omega-hero="51"] .simple-rank-card .card-label,
    body[data-omega-ui="modern"] > header[data-omega-hero="51"] .simple-rank-card .player-name,
    body[data-omega-ui="modern"] > header[data-omega-hero="51"] .simple-rank-card .card-stat,
    body[data-omega-ui="modern"] > header[data-omega-hero="51"] .simple-rank-card #ajax-online-players { color: CanvasText !important; }
    body[data-omega-ui="modern"] > header[data-omega-hero="51"] .omega-hero-action--download,
    body[data-omega-ui="modern"] > header[data-omega-hero="51"] .omega-hero-action--register,
    body[data-omega-ui="modern"] > header[data-omega-hero="51"] .omega-hero-action:is(:disabled,[aria-disabled="true"],.disabled),
    body[data-omega-ui="modern"] > header[data-omega-hero="51"] .omega-hero-action--download:not(:disabled):not([aria-disabled="true"]):not(.disabled):hover,
    body[data-omega-ui="modern"] > header[data-omega-hero="51"] .omega-hero-action--register:not(:disabled):not([aria-disabled="true"]):not(.disabled):hover {
        background: ButtonFace !important;
        border-color: ButtonText !important;
        color: ButtonText !important;
        box-shadow: none !important;
    }
    body[data-omega-ui="modern"] > header[data-omega-hero="51"] .omega-hero-action:focus-visible { outline-color: Highlight; }
}

/* Compact illustrated banners stay local to the community module. */
body[data-omega-ui="modern"] .container .social-widgets-module .social-widgets-grid.omega-community-banners {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    min-width: 0;
}

body[data-omega-ui="modern"] .container .social-widgets-module .omega-community-banners > .social-widget.omega-community-banner {
    --omega-community-rgb: 162, 150, 255;
    --omega-community-accent: #c5bcff;
    --omega-community-art-position: 25% center;
    --omega-community-art-light: 1.28;
    box-sizing: border-box;
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: 60px minmax(0, 1fr) 30px;
    align-items: center;
    gap: 6px;
    width: 100%;
    min-width: 0;
    min-height: 84px;
    padding: 6px 8px 6px 0;
    overflow: hidden;
    border: 1px solid rgba(var(--omega-community-rgb), .42);
    border-radius: 7px;
    background: radial-gradient(ellipse at 100% 50%, rgba(var(--omega-community-rgb), .12), transparent 65%), #0b101c;
    box-shadow: none !important;
    color: #fff;
    text-align: left;
    text-decoration: none;
    transform: none !important;
    transition: border-color .18s ease, transform .18s ease;
}

body[data-omega-ui="modern"] .container .social-widgets-module .omega-community-banners > .omega-community-banner.discord {
    --omega-community-rgb: 158, 139, 255;
    --omega-community-accent: #c3b7ff;
}

body[data-omega-ui="modern"] .container .social-widgets-module .omega-community-banners > .omega-community-banner.facebook {
    --omega-community-rgb: 72, 154, 255;
    --omega-community-accent: #9acaff;
    --omega-community-art-light: 1.5;
}

body[data-omega-ui="modern"] .container .social-widgets-module .omega-community-banners > .omega-community-banner.whatsapp {
    --omega-community-rgb: 68, 217, 133;
    --omega-community-accent: #93edb8;
    --omega-community-art-position: 16% center;
    --omega-community-art-light: 1.18;
}

body[data-omega-ui="modern"] .container .social-widgets-module .omega-community-banners > .omega-community-banner.tiktok {
    --omega-community-rgb: 66, 222, 226;
    --omega-community-accent: #9beff0;
    --omega-community-art-light: 1.32;
    border-color: #53848e;
    background: radial-gradient(ellipse at 100% 0, #f2416b14, transparent 60%), radial-gradient(ellipse at 100% 100%, #25f4ee12, transparent 65%), #0b101c;
}

/* Remove legacy icon-row arrows and animated sheen. The image supplies the fade. */
body[data-omega-ui="modern"] .container .social-widgets-module .omega-community-banners > .omega-community-banner::before,
body[data-omega-ui="modern"] .container .social-widgets-module .omega-community-banners > .omega-community-banner::after {
    content: none;
    display: none;
    animation: none !important;
}

body[data-omega-ui="modern"] .container .social-widgets-module .omega-community-banner > .omega-community-art {
    position: absolute;
    inset: 0 auto 0 0;
    z-index: -1;
    display: block;
    width: 110px;
    max-width: none;
    height: 100%;
    margin: 0;
    padding: 0;
    object-fit: cover;
    object-position: var(--omega-community-art-position);
    border: 0;
    border-radius: 0;
    box-shadow: none;
    filter: brightness(var(--omega-community-art-light)) saturate(1.08);
    -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 44%, #000b 62%, transparent 100%);
    mask-image: linear-gradient(90deg, #000 0%, #000 44%, #000b 62%, transparent 100%);
    pointer-events: none;
}

body[data-omega-ui="modern"] .container .social-widgets-module .omega-community-banner > .omega-community-copy {
    grid-column: 2;
    grid-row: 1;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
    max-width: 100%;
    margin: 0;
    color: #fff;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 0;
    text-transform: none;
    text-shadow: none;
    white-space: normal;
    overflow-wrap: normal;
}

body[data-omega-ui="modern"] .container .social-widgets-module .omega-community-banner .omega-community-title {
    display: block;
    margin: 0;
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.14;
    letter-spacing: .01em;
    text-transform: uppercase;
    -webkit-text-fill-color: currentColor;
}

body[data-omega-ui="modern"] .container .social-widgets-module .omega-community-banner .omega-community-title > span,
body[data-omega-ui="modern"] .container .social-widgets-module .omega-community-banner .omega-community-title > strong {
    display: block;
    color: inherit;
    font: inherit;
    white-space: nowrap;
}

body[data-omega-ui="modern"] .container .social-widgets-module .omega-community-banner .omega-community-title > strong {
    margin-top: 1px;
    font-size: 16px;
}

body[data-omega-ui="modern"] .container .social-widgets-module .omega-community-banner .omega-community-subtitle {
    display: block;
    color: var(--omega-community-accent);
    font-family: inherit;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: 0;
    text-transform: none;
    overflow-wrap: normal;
}

body[data-omega-ui="modern"] .container .social-widgets-module .omega-community-banner > .omega-community-badge {
    box-sizing: border-box;
    grid-column: 3;
    grid-row: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    min-width: 30px;
    margin: 0;
    border: 1px solid rgba(var(--omega-community-rgb), .7);
    border-radius: 50%;
    background: #0b111f;
    color: var(--omega-community-accent);
    font: inherit;
    line-height: 1;
    text-shadow: none;
}

body[data-omega-ui="modern"] .container .social-widgets-module .omega-community-banner .omega-community-brand {
    display: block;
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    overflow: visible;
    fill: currentColor;
}

body[data-omega-ui="modern"] .container .social-widgets-module .omega-community-banner.tiktok .omega-community-brand {
    color: #fff;
    filter: drop-shadow(-1px 0 #25f4ee) drop-shadow(1px 1px #fe2c55);
}

body[data-omega-ui="modern"] .container .social-widgets-module .omega-community-banners > a.omega-community-banner:focus-visible {
    border-color: var(--omega-community-accent);
    outline: 2px solid var(--omega-community-accent);
    outline-offset: 3px;
    background-color: #101725;
}

body[data-omega-ui="modern"] .container .social-widgets-module .omega-community-banners > .omega-community-banner.is-unavailable {
    opacity: 1;
    cursor: default;
}

@media (hover: hover) and (pointer: fine) {
    body[data-omega-ui="modern"] .container .social-widgets-module .omega-community-banners > a.omega-community-banner:hover {
        border-color: var(--omega-community-accent);
        background-color: #101725;
        color: #fff;
        transform: translateY(-1px) !important;
        text-decoration: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    body[data-omega-ui="modern"] .container .social-widgets-module .omega-community-banners > .omega-community-banner,
    body[data-omega-ui="modern"] .container .social-widgets-module .omega-community-banners > a.omega-community-banner:hover {
        transition: none;
        transform: none !important;
    }
}

.hover\:om-bg-\[\#222733\]:hover {
    --tw-bg-opacity: 1;
    background-color: rgb(34 39 51 / var(--tw-bg-opacity, 1));
}

.hover\:om-bg-\[\#b93346\]:hover {
    --tw-bg-opacity: 1;
    background-color: rgb(185 51 70 / var(--tw-bg-opacity, 1));
}

.hover\:om-bg-white\/5:hover {
    background-color: rgb(255 255 255 / 0.05);
}

.hover\:om-text-zinc-100:hover {
    --tw-text-opacity: 1;
    color: rgb(244 244 245 / var(--tw-text-opacity, 1));
}

.focus-visible\:om-outline-none:focus-visible {
    outline: 2px solid transparent;
    outline-offset: 2px;
}

.focus-visible\:om-ring-2:focus-visible {
    --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
    --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
    box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}

.focus-visible\:om-ring-\[\#e3bb76\]:focus-visible {
    --tw-ring-opacity: 1;
    --tw-ring-color: rgb(227 187 118 / var(--tw-ring-opacity, 1));
}

.focus-visible\:om-ring-offset-2:focus-visible {
    --tw-ring-offset-width: 2px;
}

.focus-visible\:om-ring-offset-\[\#0b0d12\]:focus-visible {
    --tw-ring-offset-color: #0b0d12;
}

.disabled\:om-pointer-events-none:disabled {
    pointer-events: none;
}

.disabled\:om-opacity-50:disabled {
    opacity: 0.5;
}


/* ===== v104 castle widget hard-fix ===== */
body[data-omega-ui="modern"] .container .sidebar-right .castle-owner-widget .cs-widget-content::before {
  content: none !important;
  display: none !important;
}
body[data-omega-ui="modern"] .container .sidebar-right .castle-owner-widget .cs-artwork {
  display: block;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(111, 201, 255, .28);
  background: linear-gradient(180deg, rgba(15,55,90,.95), rgba(8,29,53,.95));
  box-shadow: inset 0 1px rgba(255,255,255,.10), 0 10px 24px rgba(0,0,0,.18);
}
body[data-omega-ui="modern"] .container .sidebar-right .castle-owner-widget .cs-artwork img {
  display: block;
  width: 100%;
  height: 106px;
  object-fit: cover;
  object-position: center center;
  opacity: .96;
  filter: saturate(1.04) contrast(1.02);
}
body[data-omega-ui="modern"] .container .sidebar-right .castle-owner-widget .cs-widget-content {
  gap: 14px;
}
body[data-omega-ui="modern"] .container .sidebar-right .castle-owner-widget .cs-owner-header,
body[data-omega-ui="modern"] .container .sidebar-right .castle-owner-widget .cs-countdown,
body[data-omega-ui="modern"] .container .sidebar-right .castle-owner-widget .cs-status-item {
  border-radius: 14px;
}
body[data-omega-ui="modern"] .container .sidebar-right .castle-owner-widget .cs-details-btn {
  border-radius: 14px;
}


/* ===== v105 premium ranking cards ===== */
@supports selector(.sidebar-module:has(> h3 > .fa-medal)) {
body[data-omega-ui="modern"] .container > aside .sidebar-module:has(> h3 > :is(.fa-medal,.fa-shield-alt)) {
  padding: 18px 16px !important;
  border-radius: 22px !important;
  background:
    radial-gradient(circle at top right, rgba(95,183,255,.12), transparent 36%),
    linear-gradient(180deg, rgba(10,39,74,.96), rgba(4,22,46,.97)) !important;
  border: 1px solid rgba(115,201,255,.20) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.05),
    0 18px 32px rgba(0,0,0,.18),
    0 0 26px rgba(89,167,255,.06) !important;
  overflow: hidden;
}
body[data-omega-ui="modern"] .container > aside .sidebar-module:has(> h3 > :is(.fa-medal,.fa-shield-alt)) > h3 {
  display:flex !important; align-items:center; gap:10px; margin:0 0 14px !important; padding:0 0 12px !important;
  border-bottom:1px solid rgba(124,195,255,.14) !important;
  color:#ffe3a4 !important; font-size:17px !important; font-weight:800 !important; letter-spacing:.04em !important;
  text-transform:uppercase;
}
body[data-omega-ui="modern"] .container > aside .sidebar-module:has(> h3 > :is(.fa-medal,.fa-shield-alt)) > h3 > i {
  width:34px !important; height:34px !important; display:grid !important; place-items:center !important;
  border-radius:12px !important; color:#ffd772 !important;
  background:linear-gradient(180deg, rgba(255,217,120,.12), rgba(255,217,120,.04)) !important;
  border:1px solid rgba(255,217,120,.25) !important;
  box-shadow:0 0 16px rgba(255,217,120,.08), inset 0 1px 0 rgba(255,255,255,.05) !important;
}
body[data-omega-ui="modern"] .container > aside .sidebar-module:has(> h3 > :is(.fa-medal,.fa-shield-alt)) > .ranking-item,
body[data-omega-ui="modern"] .container > aside .sidebar-module:has(> h3 > :is(.fa-medal,.fa-shield-alt)) > .ranking-item:nth-of-type(1) {
  display:grid !important; grid-template-columns:minmax(0,1fr) auto !important; align-items:center !important;
  gap:12px !important; min-height:78px; margin:0 0 10px !important; padding:12px 12px !important;
  border-radius:16px !important; border:1px solid rgba(108,191,255,.15) !important;
  background:linear-gradient(90deg, rgba(255,255,255,.035), rgba(255,255,255,.015) 42%, rgba(71,165,255,.035)) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.04), 0 10px 18px rgba(0,0,0,.12) !important;
}
body[data-omega-ui="modern"] .container > aside .sidebar-module:has(> h3 > :is(.fa-medal,.fa-shield-alt)) > .ranking-item:last-of-type { margin-bottom: 12px !important; }
body[data-omega-ui="modern"] .container > aside .sidebar-module:has(> h3 > :is(.fa-medal,.fa-shield-alt)) > .ranking-item > div {
  display:flex !important; align-items:center !important; gap:12px !important; min-width:0 !important;
}
body[data-omega-ui="modern"] .container > aside .sidebar-module:has(> h3 > :is(.fa-medal,.fa-shield-alt)) .character-avatar-wrapper,
body[data-omega-ui="modern"] .container > aside .sidebar-module:has(> h3 > :is(.fa-medal,.fa-shield-alt)) > .ranking-item:nth-of-type(1) .character-avatar-wrapper {
  position:relative; width:48px !important; height:48px !important; min-width:48px !important; overflow:visible !important;
  border-radius:14px !important; background:linear-gradient(180deg, rgba(17,60,104,.9), rgba(8,31,60,.96)) !important;
  border:1px solid rgba(114,198,255,.18) !important; box-shadow:0 0 0 4px rgba(87,172,255,.05), 0 10px 18px rgba(0,0,0,.18) !important;
}
body[data-omega-ui="modern"] .container > aside .sidebar-module:has(> h3 > :is(.fa-medal,.fa-shield-alt)) .rank-avatar { width:100% !important; height:100% !important; border-radius:12px !important; object-fit:cover !important; }
body[data-omega-ui="modern"] .container > aside .sidebar-module:has(> h3 > :is(.fa-medal,.fa-shield-alt)) .rank-index,
body[data-omega-ui="modern"] .container > aside .sidebar-module:has(> h3 > :is(.fa-medal,.fa-shield-alt)) > .ranking-item:nth-of-type(1) .rank-index {
  position:absolute; top:-8px; left:-8px; width:24px !important; height:24px !important; display:grid; place-items:center;
  border-radius:999px; background:linear-gradient(180deg, #ffe7a2 0%, #dca93d 100%) !important; color:#402400 !important;
  border:1px solid rgba(255,245,196,.9) !important; font-size:11px !important; font-weight:900 !important;
  box-shadow:0 6px 14px rgba(188,132,25,.28), 0 0 18px rgba(255,208,92,.18);
}
body[data-omega-ui="modern"] .container > aside .sidebar-module:has(> h3 > :is(.fa-medal,.fa-shield-alt)) .rank-name,
body[data-omega-ui="modern"] .container > aside .sidebar-module:has(> h3 > :is(.fa-medal,.fa-shield-alt)) > .ranking-item:nth-of-type(1) .rank-name {
  display:block !important; min-width:0 !important; color:#f7fbff !important; font-size:18px !important; font-weight:800 !important; line-height:1.15 !important;
  overflow:hidden; text-overflow:ellipsis; white-space:nowrap;
}
body[data-omega-ui="modern"] .container > aside .sidebar-module:has(> h3 > .fa-shield-alt) .rank-name { font-size:17px !important; }
body[data-omega-ui="modern"] .container > aside .sidebar-module:has(> h3 > :is(.fa-medal,.fa-shield-alt)) .rank-name a { color:inherit !important; text-decoration:none !important; }
body[data-omega-ui="modern"] .container > aside .sidebar-module:has(> h3 > :is(.fa-medal,.fa-shield-alt)) .rank-value,
body[data-omega-ui="modern"] .container > aside .sidebar-module:has(> h3 > :is(.fa-medal,.fa-shield-alt)) > .ranking-item:nth-of-type(1) .rank-value {
  display:grid !important; justify-items:end; gap:2px; min-width:52px; color:#7fe4ff !important; font-size:26px !important; font-weight:900 !important; line-height:1 !important;
  text-shadow:0 0 16px rgba(127,228,255,.14);
}
body[data-omega-ui="modern"] .container > aside .sidebar-module:has(> h3 > .fa-medal) .rank-value { color:#ffdb78 !important; text-shadow:0 0 16px rgba(255,219,120,.14); }
body[data-omega-ui="modern"] .container > aside .sidebar-module:has(> h3 > :is(.fa-medal,.fa-shield-alt)) .rank-value sup {
  display:block; margin:0 !important; font-size:11px !important; font-weight:700 !important; letter-spacing:.05em; text-transform:uppercase; color:#c8dcf0 !important;
}
body[data-omega-ui="modern"] .container > aside .sidebar-module:has(> h3 > :is(.fa-medal,.fa-shield-alt)) > .view-all-link {
  display:flex !important; align-items:center; justify-content:center; min-height:46px; margin-top:6px;
  border-radius:14px !important; border:1px solid rgba(111,197,255,.20) !important;
  background:linear-gradient(180deg, rgba(14,54,95,.9), rgba(8,35,65,.96)) !important;
  color:#e8f5ff !important; font-size:13px !important; font-weight:800 !important; letter-spacing:.04em; text-transform:uppercase;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04), 0 8px 18px rgba(0,0,0,.12) !important;
}
body[data-omega-ui="modern"] .container > aside .sidebar-module:has(> h3 > :is(.fa-medal,.fa-shield-alt)) > .view-all-link:hover {
  filter:brightness(1.05); border-color:rgba(144,219,255,.34) !important; box-shadow:0 0 0 1px rgba(144,219,255,.08), 0 10px 20px rgba(0,0,0,.14), 0 0 18px rgba(82,178,255,.10) !important;
}
}
@media (max-width: 768px) {
  @supports selector(.sidebar-module:has(> h3 > .fa-medal)) {
    body[data-omega-ui="modern"] .container > aside .sidebar-module:has(> h3 > :is(.fa-medal,.fa-shield-alt)) { padding: 16px 14px !important; }
    body[data-omega-ui="modern"] .container > aside .sidebar-module:has(> h3 > :is(.fa-medal,.fa-shield-alt)) > .ranking-item,
    body[data-omega-ui="modern"] .container > aside .sidebar-module:has(> h3 > :is(.fa-medal,.fa-shield-alt)) > .ranking-item:nth-of-type(1) { min-height:72px; padding:10px 10px !important; }
    body[data-omega-ui="modern"] .container > aside .sidebar-module:has(> h3 > :is(.fa-medal,.fa-shield-alt)) .rank-name { font-size:16px !important; }
    body[data-omega-ui="modern"] .container > aside .sidebar-module:has(> h3 > :is(.fa-medal,.fa-shield-alt)) .rank-value { font-size:22px !important; min-width:46px; }
  }
}
