html, body, div, span {
    margin: 0;
    padding: 0;
    border: 0;
}

/* HTML5 display-role reset for older browsers */
 details, figure, footer, header, menu, nav, section {
    display: block;
}

body {
    line-height: 1;
}

ol, ul {
    list-style: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

 details, figure, footer, header, main, nav, section {
    display: block;
}

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

body {
    width: 100%;
    /* Background variants: bg-fast-2026-1.png | bg-fast-2026-2.png | bg-fast-2026-3.png */
    background: url(../images/bg-website.jpg) center top no-repeat, #000000;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    color: #fff;
    min-height: 100vh;
    overflow-x: hidden !important;
}

.add, .to-the-top {
    cursor: pointer;
}

a {
    transition: all 0.3s ease;
    cursor: pointer;
    color: #ff9c00;
}

/* FastMU template palette — uses darkOrange theme vars with fallbacks (no Tailwind build required) */
.fastmu-topbar {
    background: rgba(8, 5, 2, 0.88);
    border-bottom: 1px solid rgba(211, 145, 43, 0.2);
    color: var(--dashboard-text, #fbbf24);
}

.fastmu-topbar-label {
    color: var(--dashboard-text-muted, #d97706);
}

.fastmu-topbar-value {
    color: #fef3c7;
}

.fastmu-topbar-online {
    color: var(--color-success, #34d399);
    font-weight: 600;
}

.fastmu-topbar-social {
    color: var(--dashboard-text-muted, #d97706);
    transition: color 0.2s ease;
}

.fastmu-topbar-social:hover {
    color: var(--dashboard-text-accent, #fbbf24);
}

.fastmu-navbar {
    background: rgba(10, 7, 4, 0.8);
    border-bottom: 1px solid rgba(255, 156, 0, 0.32);
    color: #eac06b;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.fastmu-nav-link {
    color: #eac06b;
    text-decoration: none;
}

.fastmu-nav-link:hover {
    background: rgba(255, 156, 0, 0.09);
    color: #ffe0a0;
}

.fastmu-nav-link .nav-link-accent {
    background: #f59e0b;
}

.fastmu-btn-accent {
    background: linear-gradient(135deg, var(--gradient-primary-from, #fbbf24), var(--gradient-primary-to, #f59e0b));
    border: 1px solid var(--dashboard-border-accent, #fbbf24);
    color: #2a1803;
    cursor: pointer;
    font-weight: 600;
}

.fastmu-btn-accent:hover {
    background: linear-gradient(135deg, var(--gradient-primary-to, #f59e0b), var(--color-secondary-hover, #b45309));
    color: #1a1002;
}

.fastmu-icon-btn {
    background: transparent;
    border: none;
    color: var(--dashboard-text-muted, #d97706);
    cursor: pointer;
    transition: color 0.2s ease;
}

.fastmu-icon-btn:hover {
    color: #fef3c7;
}

.fastmu-icon-btn-danger:hover {
    color: #f87171;
}

.fastmu-mobile-menu {
    background: rgba(10, 7, 4, 0.94);
    border-top: 1px solid rgba(255, 156, 0, 0.22);
}

.fastmu-mobile-link {
    color: #eac06b;
    display: block;
    text-decoration: none;
}

.fastmu-mobile-link:hover {
    background: rgba(255, 156, 0, 0.09);
    color: #ffe0a0;
}

.fastmu-menu-divider {
    border-top: 1px solid var(--dashboard-border, #644a08);
    padding-top: 1rem;
}

.fastmu-dropdown {
    background: var(--dashboard-sidebar-bg, rgba(42, 24, 3, 0.97));
    border: 1px solid var(--dashboard-border, #644a08);
}

.fastmu-dropdown-link {
    color: var(--dashboard-text, #fbbf24);
    text-decoration: none;
}

.fastmu-dropdown-link:hover {
    background: var(--dashboard-hover-bg, rgba(251, 191, 36, 0.12));
    color: #fef3c7;
}

.fastmu-news-item {
    align-items: center;
    background: var(--dashboard-card-bg, rgba(63, 50, 19, 0.65));
    border: 1px solid var(--dashboard-border, #644a08);
    border-radius: 0.25rem;
    display: flex;
    gap: 0.75rem;
    justify-content: space-between;
    overflow: hidden;
    padding: 0.5rem 0.75rem;
}

.tab-block li.fastmu-news-item {
    overflow: visible;
    padding: 0.5rem 0.75rem;
    text-overflow: unset;
    white-space: normal;
}

.tab-block li.fastmu-news-item:hover {
    padding: 0.5rem 0.75rem;
}

.fastmu-news-title {
    align-items: center;
    display: flex;
    flex: 1 1 auto;
    gap: 0.35rem;
    margin: 0;
    min-width: 0;
    overflow: hidden;
}

.fastmu-news-title-text {
    color: #fff;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fastmu-news-meta {
    align-items: center;
    display: flex;
    flex-shrink: 0;
    gap: 0.75rem;
}

.fastmu-news-meta .date {
    color: var(--dashboard-text-muted, #d97706);
    font-size: 0.75rem;
    white-space: nowrap;
}

.fastmu-news-meta .button-more {
    white-space: nowrap;
}

@media (max-width: 640px) {
    .fastmu-news-item {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.5rem;
    }

    .fastmu-news-title {
        width: 100%;
    }

    .fastmu-news-meta {
        justify-content: space-between;
        width: 100%;
    }
}

.fastmu-carousel-btn {
    align-items: center;
    background: rgba(73, 42, 6, 0.65);
    border-radius: 9999px;
    display: inline-flex;
    height: 2.5rem;
    justify-content: center;
    transition: background 0.2s ease;
    width: 2.5rem;
}

.fastmu-carousel-btn:hover {
    background: rgba(217, 119, 6, 0.75);
}

/* Logo sizes */
.fastmu-nav-logo {
    display: block;
    height: auto;
    max-height: 2.5rem;
    max-width: 2.5rem;
    object-fit: contain;
    transition: transform 0.3s ease, filter 0.3s ease;
    width: auto;
}

.fastmu-nav-logo:hover {
    filter: brightness(1.15);
    transform: scale(1.05);
}

@media (min-width: 640px) {
    .fastmu-nav-logo {
        max-height: 2.75rem;
        max-width: 2.75rem;
    }
}

@media (min-width: 1024px) {
    .fastmu-nav-logo {
        max-height: 3rem;
        max-width: 3rem;
    }
}

.fastmu-hero-logo {
    display: block;
    height: auto;
    margin: 0 auto;
    max-width: min(400px, 72vw);
    object-fit: contain;
    width: 100%;
}

@media (max-width: 992px) {
    .fastmu-hero-logo {
        max-width: min(320px, 80vw);
    }
}

@media (max-width: 540px) {
    .fastmu-hero-logo {
        max-width: min(260px, 85vw);
    }
}

/* Navbar server selector */
.fastmu-nav-server {
    margin: 0;
    max-width: none;
    width: auto;
}

.fastmu-nav-server-wrap {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--dashboard-sidebar-bg, rgba(26, 16, 2, 0.9));
    border: 1px solid var(--dashboard-border-accent, #fbbf24);
    border-radius: 0.375rem;
    padding: 0.25rem 0.625rem;
    backdrop-filter: blur(6px);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.fastmu-nav-server-wrap:hover {
    border-color: var(--dashboard-text-accent, #fbbf24);
    box-shadow: 0 0 12px rgba(251, 191, 36, 0.15);
}

.fastmu-nav-server-icon {
    color: var(--dashboard-text-accent, #fbbf24);
    font-size: 0.75rem;
    flex-shrink: 0;
}

.fastmu-nav-server select {
    appearance: none;
    background: transparent;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23fbbf24' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right center;
    border: none !important;
    box-shadow: none !important;
    backdrop-filter: none;
    color: #fef3c7;
    cursor: pointer;
    font-size: 0.8125rem;
    font-weight: 500;
    line-height: 1.25;
    min-width: 6.5rem;
    max-width: 9.5rem;
    padding: 0.375rem 1.25rem 0.375rem 0 !important;
    transform: none;
}

.fastmu-nav-server select:focus,
.fastmu-nav-server select:hover {
    border: none !important;
    box-shadow: none !important;
    transform: none;
}

.fastmu-nav-server select option {
    background: #2a1803;
    color: #fef3c7;
}

@media (max-width: 640px) {
    .fastmu-nav-server select {
        min-width: 5.5rem;
        max-width: 7.5rem;
        font-size: 0.75rem;
    }
}

.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;
}

::-webkit-input-placeholder {
    color: #6d4a20;
    text-align: center;
}

::-moz-placeholder {
    color: #6d4a20;
}

.wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.flex {
    display: flex;
}

.flex-s {
    display: flex;
    justify-content: space-between;
}

.flex-s-c {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.flex-c-c {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo {
    position: absolute;
    top: 20px;
    left: 150px;
    transition: all 0.3s ease;
}

.logo:hover {
    filter: brightness(1.2);
    transition: all 0.3s ease;
}

.menu {
    display: flex;
}

.menu li {
    margin-right: 52px;
    padding-left: 45px;
}

.menu li:first-child a:before {
    display: none;
}

.menu a {
    color: #fff;
    font-size: 15px;
    text-transform: uppercase;
    display: block;
    position: relative;
}

.menu li:hover a {
    color: #ff9c00;
}

.menu .active a {
    color: #ff9c00;
    font-weight: 200;
}

.menu li:nth-child(2):hover {
    margin-top: -5px;
    transition: 0.2s;
}

.menu li:nth-child(3):hover {
    margin-top: -5px;
    transition: 0.2s;
}

.menu li:nth-child(4):hover {
    margin-top: -5px;
    transition: 0.2s;
}

.menu li:nth-child(5):hover {
    margin-top: -5px;
    transition: 0.2s;
}

.menu li:nth-child(6):hover {
    margin-top: -5px;
    transition: 0.2s;
}

.menu li:nth-child(7):hover {
    margin-top: -5px;
    transition: 0.2s;
}

button, .button {
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
    cursor: pointer;
    background-image: url(../images/button.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    padding: 19px 45px;
    border: none;
    color: #fff;
    text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
    text-align: center;
    text-transform: uppercase;
    font-family: Candara, Calibri, Segoe, Segoe UI, Optima, Arial, sans-serif;
    font-size: 15px;
    -webkit-box-shadow: 0px 10px 15px 0px rgba(0, 0, 0, 0.2);
    box-shadow: 0px 10px 15px 0px rgba(0, 0, 0, 0.2);
}

button:hover, .button:hover {
    -webkit-filter: brightness(120%);
    filter: brightness(120%);
    box-shadow: 0 10px 26px -6px rgb(255 156 0 / 50%);
}

.button {
    display: inline-block;
    text-decoration: none;
}

.button--compact {
    font-size: 12px;
    padding: 10px 22px;
    box-shadow: 0 6px 12px 0 rgba(0, 0, 0, 0.2);
}

.header {
    position: relative;
    flex-direction: column;
    padding: 0 50px;
}

.content {
    position: relative;
    z-index: 9;
}

/* icon login*/

/* end icon login*/
.btn-download {
    position: relative;
    width: 350px;
    background: url('../images/bg-download.jpg') 0 0 no-repeat;
    transition: 0.5s;
}

.btn-download:hover {
    filter: brightness(1.2);
}

.btn-download span {
    position: absolute;
    bottom: 38px;
    left: 120px;
    transition: 0.5s;
    color: #5c320f;
    font-family: 'Open sans';
    font-size: 13px;
    text-shadow: 1px 1px 0px rgb(255 248 188 / 35%);
    font-weight: 600;
}

.news-panel {
    height: 380px;
}

.news-panel > div {
    width: 590px;
}

.events-block {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 0;
    background-color: #130c0c;
    background-image: url('../images/events-block.jpg');
    background-repeat: repeat-x;
    background-position: top left;
    background-size: auto 100%;
    padding: 40px 0;
}

.top-event-block {
    padding: 10px 40px;
}

.news-top-title {
    position: relative;
    display: flex;
    margin-left: 50px;
    font-family: 'Candara';
}

.news-top-title::before {
    content: "";
    position: absolute;
    left: -65px;
    top: -26px;
    width: 71px;
    height: 75px;
    background: url('../images/news-icon.png') 0 0 no-repeat;
}

.news-top-title span.active {
    color: #ff9c00;
    font-weight: 700;
}

.news-top-title span {
    display: block;
    color: #7e7c7b;
    font-size: 20px;
    font-weight: bold;
    padding: 5px 10px 10px 0px;
    text-transform: uppercase;
    position: relative;
    transition: 0.3s;
}

.news-top-title span:hover {
    color: #ffe26e;
    cursor: pointer;
}

.top-event-block .add {
    border: none;
    background: #34340b;
    color: #fff;
    position: relative;
    top: -3px;
}

.tab-block {
    display: none;
}

.tab-block.active {
    display: block;
    animation: tab 0.6s linear;
}

@keyframes tab {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.tab-block li {
    position: relative;
    color: #fff;
    padding: 8px 40px;
    transition: 0.3s;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tab-block li:hover {
    background: #130c0c;
    transition: 0.3s;
    padding: 18px 45px 18px 35px;
}

.tab-block span {
    color: #ffcc00;
}

.tab-block .date {
    color: #7e7c7b;
}

.tab-block li:hover .button-more {
    display: block;
}

.tab-block li:hover .date {
    display: none;
}

.tab-block li:hover {
    color: #ffcc00;
}

.tab-block li:hover span {
    color: #fff;
}

.button-more {
    position: absolute;
    right: 40px;
    display: none;
    padding: 6px 16px 6px 16px;
    color: #fff;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
    cursor: pointer;
    background-image: url(../images/button.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    border: none;
    text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.2);
    text-align: center;
    font-family: Candara, Calibri, Segoe, Segoe UI, Optima, Arial, sans-serif;
    -webkit-box-shadow: 0px 10px 15px 0px rgba(0, 0, 0, 0.2);
    box-shadow: 0px 10px 15px 0px rgba(0, 0, 0, 0.2);
    opacity: 0.7;
}

.button-more:hover {
    opacity: 1;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.widget-panel {
    margin-top: 70px;
}

.widget-block {
    position: relative;
    background: url('../images/top-widget-block.jpg') no-repeat;
    width: 380px;
    height: 690px;
    box-shadow: 0px 0px 15px 0px rgb(47 13 13 / 80%);
}

.info-widget-block {
    position: relative;
    padding: 60px 40px 60px 150px;
    text-transform: uppercase;
    color: #ff9c00;
}

.top-players:before {
    content: "";
    position: absolute;
    width: 127px;
    height: 168px;
    top: -24px;
    left: -6px;
    background: url('../images/icon-top-players.png') no-repeat;
}

.top-guilds:before {
    content: "";
    position: absolute;
    width: 127px;
    height: 168px;
    top: -24px;
    left: -6px;
    background: url('../images/icon-top-guilds.png') no-repeat;
}

.top-event:before {
    content: "";
    position: absolute;
    width: 127px;
    height: 168px;
    top: -24px;
    left: -6px;
    background: url('../images/icon-top-event.png') no-repeat;
}

.info-widget-block h2 {
    font-family: 'Candara', 'Calibri', 'Segoe', 'Segoe UI', 'Optima', 'Arial', sans-serif;
    font-size: 20px;
    text-transform: uppercase;
}

.info-widget-block .add {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid #ff9c00;
    background: #7c4e00;
    color: #fff;
}

.info-widget-block .add:hover {
    background: #ffcc00;
}

.top-block {
    padding-bottom: 15px;
    margin: 0 40px;
}

.top-block span {
    display: block;
}

/* ----- FastMU sidebar / home rankings ----- */
.fastmu-ranking-panel {
    list-style: none;
    margin: 0 1rem 1rem;
    padding: 0;
}

.fastmu-ranking-wrap {
    width: 100%;
}

.fastmu-ranking-scroll {
    -webkit-overflow-scrolling: touch;
    border-radius: 8px;
    border: 1px solid #513516;
    overflow-x: auto;
}

.fastmu-ranking-table.mwTable {
    border: 0;
    border-collapse: collapse;
    font-size: 0.8125rem;
    table-layout: fixed;
    width: 100%;
    min-width: 300px;
    background: #160e07;
    color: #eedfca;
    box-shadow: none;
}

.fastmu-ranking-table.mwTable thead tr {
    background: #2a1909;
}

.fastmu-ranking-table.mwTable th {
    border: 0;
    border-bottom: 1px solid #61421c;
    color: #d6b779;
    background: #2a1909;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.25;
    padding: 0.55rem 0.35rem;
    text-transform: uppercase;
    vertical-align: bottom;
}

.fastmu-ranking-table.mwTable tbody tr {
    border: 0;
    background: #160e07;
    border-bottom: 1px solid #3b2914;
}

.fastmu-ranking-table.mwTable tbody tr:nth-child(even) {
    background: #1c1208;
}

.fastmu-ranking-table.mwTable tbody tr:hover {
    background: #2a1b0b;
}

.fastmu-ranking-table.mwTable td {
    border: 0;
    color: #ead9bc;
    background: transparent;
    padding: 0.5rem 0.35rem;
    vertical-align: middle;
}

.fastmu-rank-col--pos {
    width: 2.25rem;
}

.fastmu-rank-col--name {
    text-align: left;
    width: 38%;
}

.fastmu-rank-col--stat {
    width: 22%;
}

.fastmu-rank-col--score {
    width: 18%;
}

.fastmu-rank-th {
    display: block;
}

.fastmu-rank-th--sub {
    color: #b49a70;
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.06em;
}

.fastmu-ranking-table .fastmu-rank-badge {
    display: inline-grid;
    place-items: center;
    font-size: 0.68rem;
    font-weight: 800;
    height: 1.5rem;
    line-height: 1;
    vertical-align: middle;
    width: 1.5rem;
}

.fastmu-ranking-table .fastmu-rank-badge > img,
.fastmu-ranking-table .fastmu-rank-badge__number {
    grid-area: 1 / 1;
}

.fastmu-ranking-table .fastmu-rank-badge > img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.fastmu-ranking-table .fastmu-rank-badge__number {
    line-height: 1;
    text-align: center;
}

.fastmu-rank-badge--1 {
    color: #f8d887;
}

.fastmu-rank-badge--2 {
    color: #edeae3;
}

.fastmu-rank-badge--3 {
    color: #edba8f;
}

.fastmu-rank-pos {
    color: #b29b76;
    font-size: 0.8rem;
    font-weight: 700;
}

.fastmu-ranking-table .fastmu-rank-name,
.fastmu-ranking-table .fastmu-rank-master {
    color: #eedfca;
    display: block;
    font-weight: 600;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fastmu-ranking-table .fastmu-rank-name:hover,
.fastmu-ranking-table .fastmu-rank-master:hover {
    color: #e1ba71;
    text-decoration: underline;
}

.fastmu-ranking-table .fastmu-rank-master {
    color: #c1aa85;
    font-weight: 500;
}

.fastmu-rank-stat {
    align-items: center;
    display: inline-flex;
    flex-direction: column;
    gap: 0.15rem;
    line-height: 1.15;
}

.fastmu-rank-stat__main {
    color: #e1c38a;
    font-size: 0.85rem;
    font-weight: 700;
}

.fastmu-rank-stat__sub {
    color: #b79b76;
    font-size: 0.68rem;
    font-weight: 600;
}

.fastmu-rank-stat__sub--ml::before {
    color: #a68b65;
    content: 'ML ';
    font-size: 0.58rem;
    font-weight: 500;
}

.fastmu-rank-stat__sub--gr::before {
    color: #a68b65;
    content: 'GR ';
    font-size: 0.58rem;
    font-weight: 500;
}

.fastmu-rank-score {
    color: #e1c38a;
    font-size: 0.85rem;
    font-weight: 700;
}

/* ----- FastMU downloads page ----- */
.fastmu-downloads .mwPageContent {
    max-width: 100%;
}

.fastmu-downloads-section {
    background: linear-gradient(135deg, rgba(26, 14, 4, 0.95) 0%, rgba(18, 11, 2, 0.98) 100%);
    border: 1px solid rgba(255, 156, 0, 0.28);
    border-radius: 10px;
    margin-bottom: 1.5rem;
    padding: 1.25rem 1rem 1.5rem;
}

.fastmu-downloads-section__head {
    margin-bottom: 1rem;
    text-align: center;
}

.fastmu-downloads-section__title {
    color: #ffce6a;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    margin: 0 0 0.35rem;
    text-transform: uppercase;
}

.fastmu-downloads-section__lead {
    color: #c4b59a;
    font-size: 0.875rem;
    margin: 0;
}

.fastmu-downloads-meta {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    margin-bottom: 1.25rem;
}

@media (min-width: 640px) {
    .fastmu-downloads-meta {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.fastmu-downloads-meta__item {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 156, 0, 0.15);
    border-radius: 8px;
    padding: 0.75rem 0.85rem;
    text-align: center;
}

.fastmu-downloads-meta__label {
    color: #9ca3af;
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 0.35rem;
    text-transform: uppercase;
}

.fastmu-downloads-meta__value {
    color: #e8d9c0;
    display: block;
    font-size: 1rem;
    font-weight: 700;
}

.fastmu-downloads-meta__value--ok {
    color: #86efac;
}

.fastmu-downloads-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.fastmu-downloads-req {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

@media (min-width: 640px) {
    .fastmu-downloads-req {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.fastmu-downloads-req__item {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 156, 0, 0.12);
    border-radius: 8px;
    padding: 0.85rem 1rem;
}

.fastmu-downloads-req__item--wide {
    grid-column: 1 / -1;
}

.fastmu-downloads-req__label {
    color: #ffce6a;
    font-size: 0.8rem;
    font-weight: 700;
    margin: 0 0 0.35rem;
    text-transform: uppercase;
}

.fastmu-downloads-req__value {
    color: #e8d9c0;
    font-size: 0.9rem;
    line-height: 1.45;
    margin: 0;
}

.fastmu-downloads-table-wrap {
    -webkit-overflow-scrolling: touch;
    border-radius: 8px;
    overflow-x: auto;
}

.fastmu-downloads-table {
    min-width: 520px;
}

.fastmu-downloads-col--name {
    width: 28%;
}

.fastmu-downloads-col--desc {
    text-align: left;
}

.fastmu-downloads-col--action {
    text-align: center;
    vertical-align: middle;
    white-space: nowrap;
    width: 9rem;
}

.fastmu-downloads-table .button--compact {
    margin: 0 auto;
}

.fastmu-ranking-table.mwTable td.fastmu-ranking-empty {
    color: #c1aa85;
    font-size: 0.8rem;
    padding: 1rem 0.5rem !important;
    text-align: center;
}

/* Guilds: 3 columns — guild + master stacked (fits mobile width) */
.fastmu-ranking-table--guilds {
    min-width: 0;
}

.fastmu-ranking-table--guilds .fastmu-rank-col--pos {
    width: 2.35rem;
}

.fastmu-ranking-table--guilds .fastmu-rank-col--guild {
    text-align: left;
    width: auto;
}

.fastmu-ranking-table--guilds .fastmu-rank-col--score {
    text-align: center;
    width: 3.75rem;
}

.fastmu-rank-col--guild {
    text-align: left;
}

.fastmu-rank-guild-meta {
    align-items: baseline;
    display: flex;
    flex-wrap: wrap;
    gap: 0.2rem 0.35rem;
    line-height: 1.25;
    margin-top: 0.2rem;
    max-width: 100%;
}

.fastmu-rank-guild-meta__label {
    color: #b49a70;
    flex-shrink: 0;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.fastmu-rank-col--guild .fastmu-rank-master {
    display: inline;
    font-size: 0.72rem;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: baseline;
    white-space: nowrap;
}

.price {
    position: relative;
    right: 10px;
    color: #ffcc00;
    margin-top: 4px;
}

.price::after {
    content: "";
    position: absolute;
    width: 15px;
    height: 15px;
    background: url('../images/coin-icon.png') 0 0 no-repeat;
    right: -20px;
}

.line {
    height: 1px;
    margin-top: 65px;
    background: #363534;
}

.to-the-top {
    width: 60px;
    height: 60px;
    margin: 0 auto;
    border: 1px solid #363534;
    border-radius: 50%;
    background: #111110;
    margin-top: -31px;
}

.button-to-the-top {
    width: 48px;
    height: 48px;
    margin: 4.85px 5.05px;
    padding: 0;
    border: 1px solid transparent;
    border-radius: 50%;
    background: #fff url("../images/to-the-top-icon.png") center center no-repeat;
    font-weight: bold;
    font-size: 20px;
    transition: 0.5s;
    text-align: center;
    line-height: 2.2;
    cursor: pointer;
    display: block;
}

.button-to-the-top:hover {
    box-shadow: inset 0 0 10px 0 #ff9c00;
    border: 1px solid #ff9c00;
    background-color: #ff9c00;
}

.payment {
    margin: 70px auto 120px auto;
}

.payment li {
    display: inline-block;
    margin: 15px 26px;
}

.payment a {
    opacity: 0.3;
    transition: 0.5s;
}

.payment a:hover {
    opacity: 1;
}

.footer {
    min-height: 300px;
}

/* Footer — mobile-friendly link grid */
.fastmu-footer {
    color: #e8d9c0;
}

.fastmu-footer-nav-wrap {
    margin: 0 auto;
    max-width: 100%;
    width: 100%;
}

.fastmu-footer-nav {
    display: grid;
    gap: 0.5rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    list-style: none;
    margin: 0;
    padding: 0;
}

.fastmu-footer-nav li {
    margin: 0;
    min-width: 0;
}

/* Last item spans full width when odd count (5 links) */
.fastmu-footer-nav li:last-child:nth-child(odd) {
    grid-column: 1 / -1;
}

.fastmu-footer-nav a {
    align-items: center;
    background: rgba(42, 24, 3, 0.75);
    border: 1px solid rgba(255, 156, 0, 0.28);
    border-radius: 8px;
    color: #ffce6a;
    display: flex;
    font-size: 0.8125rem;
    font-weight: 600;
    justify-content: center;
    line-height: 1.25;
    min-height: 2.75rem;
    padding: 0.55rem 0.65rem;
    text-align: center;
    text-decoration: none;
    text-shadow: none;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    width: 100%;
}

.fastmu-footer-nav a:hover,
.fastmu-footer-nav a:focus-visible {
    background: rgba(255, 156, 0, 0.12);
    border-color: rgba(255, 156, 0, 0.55);
    color: #fff;
    outline: none;
}

.fastmu-footer-bottom {
    text-align: center;
}

.fastmu-footer-bottom p {
    color: rgba(232, 217, 192, 0.85);
    line-height: 1.5;
}

@media (min-width: 768px) {
    .fastmu-footer-nav {
        display: flex;
        flex-wrap: wrap;
        gap: 0.35rem 1.75rem;
        justify-content: center;
    }

    .fastmu-footer-nav li:last-child:nth-child(odd) {
        grid-column: auto;
    }

    .fastmu-footer-nav a {
        background: transparent;
        border: none;
        border-radius: 0;
        display: inline;
        font-size: 0.875rem;
        min-height: 0;
        padding: 0.25rem 0;
        width: auto;
    }

    .fastmu-footer-nav a:hover,
    .fastmu-footer-nav a:focus-visible {
        background: transparent;
        color: #fff;
        text-decoration: underline;
    }
}

@media (max-width: 767px) {
    .footer {
        min-height: 0;
        padding-bottom: calc(1.5rem + var(--fastmu-opening-inset, 3.5rem));
    }

    .fastmu-footer-nav-wrap {
        padding: 0 0.25rem;
    }
}

/** Modal **/

/***************************************checkbox********************************************/
.checkbox {
    position: absolute;
    z-index: -1;
    opacity: 0;
}

.checkbox + label {
    display: inline-flex;
    align-items: center;
    user-select: none;
    position: relative;
}

.checkbox + label::before {
    content: '';
    display: inline-block;
    width: 13px;
    height: 13px;
    margin-right: 5px;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 50% 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid #666569;
    position: relative;
    top: 3px;
}

.checkbox + label::after {
    position: absolute;
    content: "";
    width: 31px;
    height: 27px;
    left: -5px;
    top: -4px;
    opacity: 0;
    transition: 0.3s;
    background: url("../images/checked-icon.png") 0 0 no-repeat;
}

.checkbox:checked + label:after {
    opacity: 1;
}

.checkbox + label {
    transition: 0.3s;
    color: #8f7f61;
}

.checkbox:checked + label {
    color: #fff;
}

.agree {
    margin-bottom: 25px;
}

.agree a:hover {
    text-decoration: underline;
}

.modal_div {
    width: 420px;
    padding: 40px 60px;
    z-index: 1002;
    position: relative;
    display: none;
    -webkit-transition: all 0.25s ease-out;
    -moz-transition: all 0.25s ease-out;
    transition: all 0.25s ease-out;
    -webkit-transition: all 0.25s ease-out;
    -moz-transition: all 0.25s ease-out;
    transition: all 0.25s ease-out;
    margin-bottom: 20px;
}

.icon-modal-login:before {
    content: "";
    position: absolute;
    width: 127px;
    height: 168px;
    top: -25px;
    left: -8px;
    background: url("../images/modal-icon-login.png") no-repeat;
}

/* BASE CHAOS */
.modal_div {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: none;
    opacity: 0;
    z-index: 999;
}

.modal_form h3 {
    font-size: 15px;
    text-transform: uppercase;
    color: #ffcc00;
    margin-top: 70px;
    margin-bottom: 20px;
}

.modal_form {
    background: url(../images/top-modal-bg.jpg) top center no-repeat, #030408;
    padding: 40px 60px;
    z-index: 1002;
    box-shadow: 0 10px 40px 0 rgba(0, 0, 0, 0.2);
    max-width: 400px;
    width: 100%;
    min-height: 470px;
    position: relative;
    opacity: 1;
}

.modal_div .modal_close {
    background: url(../images/close-icon.png) no-repeat;
    width: 24px;
    height: 28px;
    position: absolute;
    top: 35px;
    right: 50px;
    cursor: pointer;
}

#overlay {
    z-index: 998;
    position: fixed;
    background-color: #000000;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    cursor: pointer;
    display: none;
    opacity: 0.8;
}

/* DEFAULT */
.modal_form {
    text-align: center;
    box-sizing: border-box;
}

.modal_form input, .modal_form select, .modal_form textarea {
    width: 100%;
    background: #0f0f0e;
    border: 1px solid #272322;
    box-sizing: border-box;
    height: 36px;
    color: #fff;
    text-align: center;
}

.modal_form input[type="password"] {
    width: 100%;
    background: #0f0f0e;
    border: 1px solid #272322;
    box-sizing: border-box;
    height: 36px;
    color: #fff;
    text-align: center;
}

.formGroup {
    margin-bottom: 20px;
    position: relative;
    max-width: 450px;
}

.formGroup select {
    color: #fff;
}

.formGroup-name {
    display: block;
    margin-bottom: 6px;
}

.formGroup.error .formGroup-name {
    color: #df3b5a;
}

.formGroup.error input {
    border: 1px solid #df3b5a;
    box-shadow: 0px 0px 10px 0px rgba(233, 59, 90, 0.4), inset 0px 0px 10px 0px rgba(233, 59, 90, 0.4);
}

.formGroup-button {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
}

.lost-pass {
    margin-bottom: 30px;
    color: #ffcc00;
    font-size: 12px;
}

.lost-pass:hover {
    text-decoration: underline;
}

/*page*/

.news-block {
    width: 800px;
    margin-left: 10px;
    z-index: 1;
    background: url(../images/bg-news-top.jpg) top center no-repeat, #030408;
    box-shadow: 0 0 25px 0 rgb(0 0 0 / 0.4);
    position: relative;
    overflow: hidden;
}

.news-block h3 {
    font-size: 15px;
    text-transform: uppercase;
    color: #ffcc00;
    margin-bottom: 20px;
}

.news-block h2 {
    font-family: 'Candara';
    font-size: 20px;
    color: #ff9c00;
    margin: 40px;
    text-align: center;
    text-transform: uppercase;
}

.news-block p {
    font-size: 14px;
    line-height: 20px;
}

.news-block p a {
    text-decoration: underline;
}

.news-block p a:hover {
    text-decoration: none;
    color: #ffcc00;
}

.news-block .date {
    display: block;
    text-align: right;
    padding: 15px 20px;
    font-size: 14px;
    color: #ff9c00;
}

.news-block .date b {
    font-size: 20px;
}

/*end page*/
/*download*/
.download {
    align-items: center;
    text-align: center;
}

.download h2 {
    font-family: 'Candara';
    font-size: 20px;
    color: #ffe26e;
    margin: 40px;
}

.download h3 {
    font-size: 15px;
    color: #ffe26e;
    margin: 20px;
    margin-bottom: 60px;
    text-transform: none;
    font-weight: none;
}

/*end download*/
/*slider*/
/* Slider */

/*end slider*/
/*log-in after authorization*/

/*animation*/

@-webkit-keyframes smoke {
    0% {
        background-position: left -1920px top;
    }
    100% {
        background-position: left 1920px top;
    }
}

@keyframes smoke {
    0% {
        background-position: left -1920px top;
    }
    100% {
        background-position: left 1920px top;
    }
}

.sparks {
    position: absolute;
    width: 1200px;
    left: 50%;
    bottom: -100px;
    z-index: 1;
}

.sparks > div {
    position: absolute;
}

.sparks .spark_1 {
    background: url(../images/spark_1.png) no-repeat;
    width: 764px;
    height: 313px;
    right: 0;
    bottom: -320px;
    -webkit-transform: scale(0.6);
    transform: scale(0.6);
    -webkit-animation: spark-1 4s linear infinite;
    animation: spark-1 4s linear infinite;
    -webkit-animation-delay: 1s;
    animation-delay: 1s;
}

.sparks .spark_2 {
    background: url(../images/spark_2.png) no-repeat;
    width: 179px;
    height: 335px;
    right: 230px;
    bottom: -320px;
    -webkit-transform: scale(0.6);
    transform: scale(0.6);
    -webkit-animation: spark-1 4s linear infinite;
    animation: spark-1 4s linear infinite;
    -webkit-animation-delay: 2s;
    animation-delay: 2s;
}

.sparks .spark_3 {
    background: url(../images/spark_3.png) no-repeat;
    width: 128px;
    height: 165px;
    right: 280px;
    bottom: -140px;
    -webkit-transform: scale(0.6);
    transform: scale(0.6);
    -webkit-animation: spark-3 4s linear infinite;
    animation: spark-3 4s linear infinite;
    -webkit-animation-delay: 2s;
    animation-delay: 2s;
}

.sparks .spark-big {
    background: url(../images/spark_4.png) no-repeat;
    width: 794px;
    height: 176px;
    right: 0;
    bottom: -180px;
    -webkit-transform: scale(0.6);
    transform: scale(0.6);
    -webkit-animation: spark-5 4s linear infinite;
    animation: spark-5 4s linear infinite;
}

.sparks .spark_5 {
    -webkit-animation-delay: 2s;
    animation-delay: 2s;
    right: 40px;
}

.sparks_2 .spark_1 {
    background: url(../images/spark_1.png) no-repeat;
    -webkit-animation-delay: 2s;
    animation-delay: 2s;
}

.sparks_2 .spark_2 {
    background: url(../images/spark_2.png) no-repeat;
    -webkit-animation-delay: 3s;
    animation-delay: 3s;
}

.sparks_2 .spark_3 {
    background: url(../images/spark_3.png) no-repeat;
    -webkit-animation-delay: 3s;
    animation-delay: 3s;
}

.sparks_2 .spark-big {
    background: url(../images/spark_4.png) no-repeat;
}

.sparks_2 .spark_5 {
    -webkit-animation-delay: 3s;
    animation-delay: 3s;
}

.sparks_2 {
    margin-left: -500px;
}

@-webkit-keyframes spark-1 {
    0% {
        bottom: -320px;
        -webkit-transform: scale(0.6);
        transform: scale(0.6);
        opacity: 0;
    }
    25% {
        bottom: -240px;
        -webkit-transform: scale(0.7);
        transform: scale(0.7);
        opacity: 1;
    }
    50% {
        bottom: -160px;
        -webkit-transform: scale(0.8);
        transform: scale(0.8);
        opacity: 1;
    }
    75% {
        bottom: -80px;
        -webkit-transform: scale(0.9);
        transform: scale(0.9);
        opacity: 0.5;
    }
    100% {
        bottom: 0px;
        -webkit-transform: scale(1);
        transform: scale(1);
        opacity: 0;
    }
}

@keyframes spark-1 {
    0% {
        bottom: -320px;
        -webkit-transform: scale(0.6);
        transform: scale(0.6);
        opacity: 0;
    }
    25% {
        bottom: -240px;
        -webkit-transform: scale(0.7);
        transform: scale(0.7);
        opacity: 1;
    }
    50% {
        bottom: -160px;
        -webkit-transform: scale(0.8);
        transform: scale(0.8);
        opacity: 1;
    }
    75% {
        bottom: -80px;
        -webkit-transform: scale(0.9);
        transform: scale(0.9);
        opacity: 0.5;
    }
    100% {
        bottom: 0px;
        -webkit-transform: scale(1);
        transform: scale(1);
        opacity: 0;
    }
}

@-webkit-keyframes spark-3 {
    0% {
        bottom: -140px;
        -webkit-transform: scale(0.6);
        transform: scale(0.6);
        opacity: 0;
    }
    25% {
        bottom: -80px;
        -webkit-transform: scale(0.7);
        transform: scale(0.7);
        opacity: 1;
    }
    50% {
        bottom: -20px;
        -webkit-transform: scale(0.8);
        transform: scale(0.8);
        opacity: 1;
    }
    75% {
        bottom: 40px;
        -webkit-transform: scale(0.9);
        transform: scale(0.9);
        opacity: 0.5;
    }
    100% {
        bottom: 100px;
        -webkit-transform: scale(1);
        transform: scale(1);
        opacity: 0;
    }
}

@keyframes spark-3 {
    0% {
        bottom: -140px;
        -webkit-transform: scale(0.6);
        transform: scale(0.6);
        opacity: 0;
    }
    25% {
        bottom: -80px;
        -webkit-transform: scale(0.7);
        transform: scale(0.7);
        opacity: 1;
    }
    50% {
        bottom: -20px;
        -webkit-transform: scale(0.8);
        transform: scale(0.8);
        opacity: 1;
    }
    75% {
        bottom: 40px;
        -webkit-transform: scale(0.9);
        transform: scale(0.9);
        opacity: 0.5;
    }
    100% {
        bottom: 100px;
        -webkit-transform: scale(1);
        transform: scale(1);
        opacity: 0;
    }
}

@-webkit-keyframes spark-5 {
    0% {
        bottom: -180px;
        -webkit-transform: scale(0.6);
        transform: scale(0.6);
        opacity: 0;
    }
    25% {
        bottom: -120px;
        -webkit-transform: scale(0.7);
        transform: scale(0.7);
        opacity: 1;
    }
    50% {
        bottom: -60px;
        -webkit-transform: scale(0.8);
        transform: scale(0.8);
        opacity: 1;
    }
    75% {
        bottom: 0px;
        -webkit-transform: scale(0.9);
        transform: scale(0.9);
        opacity: 0.5;
    }
    100% {
        bottom: 60px;
        -webkit-transform: scale(1);
        transform: scale(1);
        opacity: 0;
    }
}

@keyframes spark-5 {
    0% {
        bottom: -180px;
        -webkit-transform: scale(0.6);
        transform: scale(0.6);
        opacity: 0;
    }
    25% {
        bottom: -120px;
        -webkit-transform: scale(0.7);
        transform: scale(0.7);
        opacity: 1;
    }
    50% {
        bottom: -60px;
        -webkit-transform: scale(0.8);
        transform: scale(0.8);
        opacity: 1;
    }
    75% {
        bottom: 0px;
        -webkit-transform: scale(0.9);
        transform: scale(0.9);
        opacity: 0.5;
    }
    100% {
        bottom: 60px;
        -webkit-transform: scale(1);
        transform: scale(1);
        opacity: 0;
    }
}

.ray {
    background: url(../images/ray.png) no-repeat;
    width: 300px;
    height: 300px;
    position: absolute;
    margin-left: -20px;
    top: 70px;
    animation: ray 14s infinite linear;
    transform: rotate(0deg);
    opacity: 0.6;
}

@keyframes ray {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Zoom In #1 */

/* Zoom In #2 */

/* Zoom Out #1 */

/* Zoom Out #2 */

/* Slide */

/* Rotate */

/* Blur */

/* Gray Scale */

/* Sepia */

/* Blur + Gray Scale */

/* Opacity #1 */

/* Opacity #2 */

/* Flashing */

@-webkit-keyframes flash {
    0% {
        opacity: .4;
    }
    100% {
        opacity: 1;
    }
}

@keyframes flash {
    0% {
        opacity: .4;
    }
    100% {
        opacity: 1;
    }
}

/* Shine */

@-webkit-keyframes shine {
    100% {
        left: 125%;
    }
}

@keyframes shine {
    100% {
        left: 125%;
    }
}

/* Circle */

@-webkit-keyframes circle {
    0% {
        opacity: 1;
    }
    40% {
        opacity: 1;
    }
    100% {
        width: 200%;
        height: 200%;
        opacity: 0;
    }
}

@keyframes circle {
    0% {
        opacity: 1;
    }
    40% {
        opacity: 1;
    }
    100% {
        width: 200%;
        height: 200%;
        opacity: 0;
    }
}

.fastmu-main-wrap {
    box-sizing: border-box;
    margin-left: auto;
    margin-right: auto;
    max-width: 1200px;
    width: 100%;
}

.fastmu-widgets .widget-block:last-child .chat-container {
    flex: 1 1 auto;
    min-height: 400px;
}

/* --- Mobile layout: override legacy fixed widths (380px / 590px / 800px) --- */
@media (max-width: 1023px) {
    .fastmu-main-wrap,
    .content-wrapper,
    .fastmu-home-grid,
    .fastmu-home-grid > *,
    .fastmu-widgets,
    .fastmu-widgets .widget-block {
        box-sizing: border-box;
        max-width: 100%;
        min-width: 0;
        width: 100%;
    }

    .fastmu-home-grid > * {
        grid-column: span 1 / span 1;
    }

    .widget-panel {
        margin-top: 1.5rem;
    }

    .widget-block {
        height: auto;
        min-height: 260px;
    }

    .news-panel > div,
    .events-block,
    .newsBlockLeft,
    #default-carousel {
        max-width: 100%;
        width: 100%;
    }

    .news-block {
        margin-left: 0;
        max-width: 100%;
        width: 100%;
    }

    .events-block {
        background-repeat: repeat-x;
        background-size: auto 100%;
        background-position: top left;
    }

    .top-block,
    .fastmu-ranking-panel {
        margin-left: 0.75rem;
        margin-right: 0.75rem;
    }

    .fastmu-ranking-table {
        font-size: 0.78rem;
        min-width: 100%;
    }

    .fastmu-ranking-table th {
        font-size: 0.65rem;
        padding: 0.45rem 0.25rem;
    }

    .fastmu-ranking-table td {
        padding: 0.45rem 0.25rem;
    }

    .fastmu-rank-col--name {
        width: 42%;
    }

    .fastmu-rank-stat__main {
        font-size: 0.8rem;
    }

    .fastmu-rank-stat__sub {
        font-size: 0.72rem;
    }

    .fastmu-ranking-table .fastmu-rank-badge {
        height: 1.35rem;
        width: 1.35rem;
    }

    .fastmu-ranking-table--guilds .fastmu-rank-col--score {
        width: 3.25rem;
    }

    .fastmu-rank-guild-meta__label {
        font-size: 0.6rem;
    }

    .fastmu-rank-col--guild .fastmu-rank-master {
        font-size: 0.68rem;
    }

    /* Ranking widgets: hide large decorative icons on mobile */
    .fastmu-ranking-widget .info-widget-block::before {
        display: none !important;
    }

    .fastmu-ranking-widget .info-widget-block {
        min-height: 0;
        padding: 0.65rem 1rem 0.5rem;
    }

    .fastmu-chat-widget .info-widget-block::before {
        display: none !important;
    }

    .fastmu-chat-widget .info-widget-block {
        min-height: 0;
        padding: 0.65rem 1rem 0.5rem;
    }

    /* Widget titles: icon beside title (no overlap on narrow screens) */
    .info-widget-block {
        align-items: center;
        display: flex;
        gap: 0.65rem;
        justify-content: flex-start;
        min-height: 4.5rem;
        padding: 0.85rem 1rem 0.75rem;
    }

    .fastmu-ranking-widget .info-widget-block,
    .fastmu-chat-widget .info-widget-block {
        min-height: 0;
        padding: 0.65rem 1rem 0.5rem;
    }

    .info-widget-block.top-players::before,
    .info-widget-block.top-guilds::before,
    .info-widget-block.top-event::before {
        flex-shrink: 0;
        height: 72px;
        left: auto;
        position: relative;
        top: auto;
        width: 54px;
        background-position: center;
        background-size: contain;
    }

    .info-widget-block h2,
    .info-widget-block .title-widget-block {
        flex: 1 1 auto;
        font-size: 1rem;
        line-height: 1.3;
        margin: 0;
        min-width: 0;
        position: relative;
        text-wrap: balance;
        z-index: 1;
    }

    .top-event-block {
        padding: 10px 1rem;
    }

    .news-top-title {
        margin-left: 2.5rem;
    }

    .news-top-title::before {
        left: -2.5rem;
        transform: scale(0.75);
    }

    .tab-block {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
}

@media (max-width: 640px) {
    .widget-block {
        min-height: 220px;
    }

    .info-widget-block {
        gap: 0.5rem;
        min-height: 4rem;
        padding: 0.75rem 0.85rem 0.65rem;
    }

    .info-widget-block.top-event::before {
        height: 58px;
        width: 44px;
    }

    .fastmu-ranking-widget .info-widget-block.top-players::before,
    .fastmu-ranking-widget .info-widget-block.top-guilds::before,
    .fastmu-chat-widget .info-widget-block.top-event::before {
        display: none !important;
    }

    .info-widget-block h2,
    .info-widget-block .title-widget-block {
        font-size: 0.9rem;
        letter-spacing: 0.02em;
    }

    .fastmu-widgets .widget-block:last-child .info-widget-block h2 {
        font-size: 0.85rem;
    }

    .fastmu-hero-logo {
        max-width: min(280px, 78vw);
    }

    .header {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }

    body.fastmu-opening-active .fastmu-widgets {
        margin-bottom: 0.25rem;
        position: relative;
        z-index: 1;
    }

    body.fastmu-opening-active .widget-block {
        position: relative;
        z-index: 1;
    }

    /* Decorative hero layers extend past viewport — hide on small screens */
    header {
        max-width: 100%;
        overflow-x: hidden;
    }

    .sparks,
    .ray {
        display: none !important;
    }

}

/* Server opening countdown — viewport portal (sibling of main-wrap, not inside it) */
.fastmu-opening-portal {
    bottom: 0;
    box-sizing: border-box;
    left: 0;
    margin: 0;
    max-width: 100%;
    padding: 0;
    pointer-events: none;
    position: fixed;
    right: 0;
    width: 100%;
    z-index: 55;
}

.fastmu-opening-portal .fastmu-opening-widget {
    pointer-events: auto;
}

@media (max-width: 768px) {
    .fastmu-opening-portal {
        contain: layout style;
        isolation: isolate;
    }
}
