.module-pvp_statistics {
    --bm-pvp-surface: rgba(18, 26, 34, 0.64);
    --bm-pvp-surface-strong: rgba(18, 26, 34, 0.84);
    --bm-pvp-border: rgba(156, 231, 225, 0.08);
    --bm-pvp-border-strong: rgba(156, 231, 225, 0.18);
    --bm-pvp-text: rgba(191, 246, 242, 0.74);
    --bm-pvp-text-soft: rgba(191, 246, 242, 0.5);
    --bm-pvp-shadow: 0 18px 56px rgba(0, 0, 0, 0.28);
}

body.module-pvp_statistics {
    min-height: 100vh;
    --bm-stack-height: 100vh;
    background:
        radial-gradient(circle at top center, rgba(196, 30, 58, 0.06), transparent 22%),
        linear-gradient(180deg, #0a0e14 0%, #080b0f 100%);
}

.module-pvp_statistics .bm-nav {
    background: rgba(8, 11, 15, 0.74);
    border-bottom: 1px solid rgba(156, 231, 225, 0.1);
    box-shadow:
        0 16px 42px rgba(0, 0, 0, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.module-pvp_statistics .bm-nav.scrolled {
    background: rgba(8, 11, 15, 0.9);
}

.module-pvp_statistics .section-content.bm-pvp-page {
    position: relative;
    margin: 0 !important;
    padding: 0;
    display: block;
    flex-grow: 0;
    background: none;
    overflow: hidden;
    isolation: isolate;
}

.module-pvp_statistics .section-content.bm-pvp-page::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('../../../themes/default/assets/images/graphics/pvp-hero-arena.webp');
    background-repeat: no-repeat;
    background-size: 100% auto;
    background-position: center top;
    filter: saturate(1) brightness(0.88);
    pointer-events: none;
    z-index: 0;
}

.module-pvp_statistics .section-content.bm-pvp-page::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 72% 28%, rgba(196, 30, 58, 0.13), transparent 18%),
        radial-gradient(circle at 20% 80%, rgba(255, 187, 62, 0.08), transparent 18%),
        linear-gradient(90deg, rgba(8, 11, 15, 0.78) 0%, rgba(8, 11, 15, 0.42) 24%, rgba(8, 11, 15, 0.09) 54%, rgba(8, 11, 15, 0.2) 72%, rgba(8, 11, 15, 0.62) 100%),
        linear-gradient(180deg, rgba(8, 11, 15, 0.58) 0%, rgba(8, 11, 15, 0.1) 18%, rgba(8, 11, 15, 0.2) 44%, rgba(8, 11, 15, 0.46) 72%, rgba(8, 11, 15, 0.78) 90%, rgba(8, 11, 15, 0.9) 100%);
    pointer-events: none;
    z-index: 0;
}

.module-pvp_statistics .bm-pvp-stage {
    position: relative;
    min-height: 47.06vw; /* высота картинки 2176x1024 во всю ширину */
    padding: 150px 0 176px;
    background: transparent;
    overflow: hidden;
}

.module-pvp_statistics .bm-pvp-stage .container,
.module-pvp_statistics .bm-pvp-content > :not(.bm-pvp-content__overlay) {
    position: relative;
    z-index: 1;
}

.module-pvp_statistics .bm-pvp-hero {
    position: relative;
    max-width: 760px;
    padding: 28px 0 18px;
    text-align: left;
}

.module-pvp_statistics .bm-pvp-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: min(74%, 520px);
    height: 1px;
    background: linear-gradient(90deg, rgba(156, 231, 225, 0.18), transparent);
}

.module-pvp_statistics .bm-pvp-hero__label {
    margin-bottom: 14px;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 4px;
    color: rgba(156, 231, 225, 0.38);
    text-transform: uppercase;
}

.module-pvp_statistics .bm-pvp-hero__title {
    margin: 0 0 16px;
    text-align: inherit;
    animation: none;
    background-size: auto;
    filter: none;
    font-family: var(--font-cormorant);
    font-size: clamp(42px, 6vw, 74px);
    font-weight: 600;
    font-style: italic;
    line-height: 0.95;
    color: #f1f8f7;
    text-shadow: 0 18px 42px rgba(0, 0, 0, 0.54);
}

.module-pvp_statistics .bm-pvp-hero__desc {
    max-width: 620px;
    margin: 0 0 22px;
    font-family: var(--font-nunito);
    font-size: 16px;
    line-height: 1.8;
    color: var(--bm-pvp-text);
}

.module-pvp_statistics .bm-pvp-hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.module-pvp_statistics .bm-pvp-hero__meta span {
    display: inline-flex;
    align-items: center;
    padding: 9px 14px;
    border-radius: 999px;
    border: 1px solid rgba(156, 231, 225, 0.12);
    background: rgba(8, 11, 15, 0.34);
    color: rgba(191, 246, 242, 0.68);
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
}

.module-pvp_statistics .bm-pvp-content {
    position: relative;
    margin-top: -58px;
    padding: 88px 0 96px;
    background: none;
    z-index: 2;
}

.module-pvp_statistics .bm-pvp-content__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8, 11, 15, 0.04) 0%, rgba(8, 11, 15, 0.18) 34%, rgba(8, 11, 15, 0.46) 72%, rgba(8, 11, 15, 0.78) 100%);
    pointer-events: none;
    z-index: 0;
}

.module-pvp_statistics .bm-pvp-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 12%;
    right: 12%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(156, 231, 225, 0.12), transparent);
    pointer-events: none;
    z-index: 2;
}

.module-pvp_statistics .bm-pvp-content::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 10px;
    height: 10px;
    background: rgba(156, 231, 225, 0.22);
    border: 1px solid rgba(156, 231, 225, 0.34);
    box-shadow: 0 0 12px rgba(156, 231, 225, 0.18);
    transform: translate(-50%, -50%) rotate(45deg);
    pointer-events: none;
    z-index: 2;
}

.module-pvp_statistics .section-pageheader {
    display: none !important;
}

.module-pvp_statistics #page-page.pagebody {
    margin-top: 0;
    padding: 0;
    background: none;
    box-shadow: none;
}

.module-pvp_statistics #page-page > .container,
.module-pvp_statistics #page-page > .container > .row,
.module-pvp_statistics [data-mainbar] {
    max-width: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
}

.module-pvp_statistics #page-page > .container > .row {
    position: relative;
    border-radius: 18px;
    border: 1px solid var(--bm-pvp-border);
    background: var(--bm-pvp-surface);
    box-shadow: var(--bm-pvp-shadow);
    overflow: hidden;
    padding: 28px 30px 32px;
}

.module-pvp_statistics #page-page > .container > .row::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top right, rgba(196, 30, 58, 0.08), transparent 24%),
        radial-gradient(circle at bottom left, rgba(156, 231, 225, 0.06), transparent 26%);
    pointer-events: none;
}

.module-pvp_statistics #page-page > .container > .row > * {
    position: relative;
    z-index: 1;
}

.module-pvp_statistics #page-page > .container > .row::after {
    content: '';
    display: block;
    width: 100%;
}

.module-pvp_statistics .nav-pills {
    gap: 12px;
    margin: 0 0 26px !important;
    align-items: center;
}

.module-pvp_statistics .nav-pills .nav-item {
    margin: 0 !important;
}

.module-pvp_statistics .nav-pills .nav-link {
    padding: 10px 16px;
    border-radius: 999px;
    border: 1px solid rgba(156, 231, 225, 0.12);
    background: rgba(8, 11, 15, 0.34);
    color: rgba(191, 246, 242, 0.66);
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.module-pvp_statistics .nav-pills .nav-link.active,
.module-pvp_statistics .nav-pills .nav-link:hover {
    background: rgba(196, 30, 58, 0.16);
    border-color: rgba(196, 30, 58, 0.34);
    color: #ffe7e7;
    box-shadow: 0 0 18px rgba(196, 30, 58, 0.12);
}

.module-pvp_statistics .nav-pills > li:last-child {
    margin-left: auto !important;
}

.module-pvp_statistics #realm-changer {
    min-width: 220px;
    min-height: 44px;
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px solid rgba(156, 231, 225, 0.12);
    background: rgba(8, 11, 15, 0.5);
    color: #d6f9f6;
    font-family: var(--font-nunito);
    font-size: 14px;
}

.module-pvp_statistics .tab-content {
    display: block;
}

.module-pvp_statistics .tab-pane {
    color: var(--bm-pvp-text);
    font-family: var(--font-nunito);
    font-size: 15px;
}

.module-pvp_statistics .nice_table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    overflow: hidden;
    border-radius: 14px;
    border: 1px solid rgba(156, 231, 225, 0.08);
    background: rgba(8, 11, 15, 0.42);
}

.module-pvp_statistics .nice_table tr:first-child td {
    padding: 14px 16px;
    border-bottom: 1px solid rgba(156, 231, 225, 0.08);
    background: rgba(8, 11, 15, 0.62);
    color: rgba(191, 246, 242, 0.56);
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.module-pvp_statistics .nice_table tr:not(:first-child) td {
    padding: 15px 16px;
    border-bottom: 1px solid rgba(156, 231, 225, 0.05);
    color: var(--bm-pvp-text);
    font-family: var(--font-nunito);
    font-size: 14px;
    line-height: 1.5;
    vertical-align: middle;
}

.module-pvp_statistics .nice_table tr:not(:first-child):hover td {
    background: rgba(156, 231, 225, 0.04);
}

.module-pvp_statistics .nice_table tr:last-child td {
    border-bottom: none;
}

.module-pvp_statistics .nice_table a {
    color: #bff6f2 !important;
    text-decoration: none !important;
    font-weight: 700;
}

.module-pvp_statistics .nice_table a:hover {
    color: #9ce7e1 !important;
}

.module-pvp_statistics .nice_table img {
    display: inline-block;
    vertical-align: middle;
}

.module-pvp_statistics .bm-pvp-cell-icon {
    width: 92px;
    min-width: 92px;
    text-align: center;
}

.module-pvp_statistics .bm-pvp-iconframe {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    padding: 0;
    border: none;
    border-radius: 0;
    background: none;
    box-shadow: none;
    overflow: visible;
}

.module-pvp_statistics .bm-pvp-iconframe--race {
    width: 78px;
    height: 78px;
}

.module-pvp_statistics .bm-pvp-iconframe--member {
    width: 44px;
    height: 44px;
}

.module-pvp_statistics .bm-pvp-icon {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    image-rendering: auto;
    filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.36));
}

.module-pvp_statistics .bm-pvp-icon--class {
    width: 64px;
    height: 64px;
}

.module-pvp_statistics .bm-pvp-icon--race {
    width: 78px;
    height: 78px;
}

.module-pvp_statistics .bm-pvp-icon--member {
    width: 44px;
    height: 44px;
}

.module-pvp_statistics #pvp-kills .nice_table tr:not(:first-child) td {
    padding-top: 18px;
    padding-bottom: 18px;
}

.module-pvp_statistics #pvp-kills td:nth-child(5),
.module-pvp_statistics #pvp-kills td:nth-child(6) {
    text-align: center;
}

.module-pvp_statistics .tab-pane:not(#pvp-kills) #team-member {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 4px 4px 0;
}

.module-pvp_statistics #pvp-kills td:first-child,
.module-pvp_statistics #pvp-kills td:nth-child(4) {
    font-family: var(--font-mono);
    font-weight: 700;
    color: #9ce7e1;
}

.module-pvp_statistics .tab-pane:not(.active) {
    display: none;
}

.module-pvp_statistics .tab-pane.active {
    display: block;
}

.module-pvp_statistics .tab-pane.fade:not(.show) {
    opacity: 1;
}

.module-pvp_statistics .tab-pane:not(#pvp-kills) {
    padding: 24px;
    border-radius: 14px;
    border: 1px dashed rgba(156, 231, 225, 0.12);
    background: rgba(8, 11, 15, 0.32);
    color: rgba(191, 246, 242, 0.54);
    text-align: center;
}

.module-pvp_statistics .footer {
    position: relative;
    margin-top: -34px !important;
    padding-top: 64px;
    background: linear-gradient(180deg, rgba(8, 11, 15, 0) 0%, rgba(8, 11, 15, 0.52) 22%, rgba(8, 11, 15, 0.84) 60%, rgba(8, 11, 15, 0.96) 100%);
    overflow: hidden;
}

.module-pvp_statistics .footer::before {
    content: none;
}

.module-pvp_statistics .footer .container-fluid {
    position: relative;
    z-index: 1;
    padding: 0;
}

.module-pvp_statistics .footer .container-fluid::before {
    content: '';
    position: absolute;
    top: -26px;
    left: 12%;
    right: 12%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(156, 231, 225, 0.26), transparent);
}

.module-pvp_statistics .footer .container-fluid::after {
    content: '';
    position: absolute;
    top: -31px;
    left: 50%;
    width: 10px;
    height: 10px;
    border: 1px solid rgba(156, 231, 225, 0.34);
    background: rgba(156, 231, 225, 0.18);
    box-shadow: 0 0 14px rgba(156, 231, 225, 0.18);
    transform: translateX(-50%) rotate(45deg);
}

.module-pvp_statistics .footer .row-1,
.module-pvp_statistics .footer [data-line] {
    display: none !important;
}

.module-pvp_statistics .footer .row {
    margin: 0;
}

.module-pvp_statistics .footer .col-sm-12 {
    padding: 0;
}

.module-pvp_statistics .footer .footer-text,
.module-pvp_statistics .footer .footer-copyright {
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.module-pvp_statistics .footer .footer-text {
    padding: 4px 24px 10px !important;
    color: rgba(191, 246, 242, 0.44);
    font-size: 15px !important;
    line-height: 1.72 !important;
}

.module-pvp_statistics .footer .footer-copyright {
    padding: 0 24px 16px !important;
    color: rgba(217, 248, 243, 0.7);
    font-size: 15px !important;
}

@media (max-width: 1100px) {
    .module-pvp_statistics .section-content.bm-pvp-page::before {
        background-position: 60% 16%;
    }

    .module-pvp_statistics .bm-pvp-stage {
        padding: 142px 0 164px;
    }

    .module-pvp_statistics .bm-pvp-content {
        margin-top: -50px;
        padding: 80px 0 88px;
    }

    .module-pvp_statistics .nav-pills {
        flex-wrap: wrap;
    }

    .module-pvp_statistics .nav-pills > li:last-child {
        width: 100%;
        margin-left: 0 !important;
    }
}

@media (max-width: 992px) {
    .module-pvp_statistics .bm-pvp-hero {
        max-width: 680px;
        margin: 0 auto;
        text-align: center;
    }

    .module-pvp_statistics .bm-pvp-hero::before {
        left: 15%;
        width: auto;
        right: 15%;
        background: linear-gradient(90deg, transparent, rgba(156, 231, 225, 0.18), transparent);
    }

    .module-pvp_statistics .bm-pvp-hero__desc {
        margin-left: auto;
        margin-right: auto;
    }

    .module-pvp_statistics .bm-pvp-hero__meta {
        justify-content: center;
    }

    .module-pvp_statistics .bm-pvp-cell-icon {
        width: 84px;
        min-width: 84px;
    }

    .module-pvp_statistics .bm-pvp-iconframe {
        width: 56px;
        height: 56px;
    }

    .module-pvp_statistics .bm-pvp-iconframe--race {
        width: 68px;
        height: 68px;
    }

    .module-pvp_statistics .bm-pvp-iconframe--member {
        width: 40px;
        height: 40px;
    }

    .module-pvp_statistics .bm-pvp-icon--class {
        width: 56px;
        height: 56px;
    }

    .module-pvp_statistics .bm-pvp-icon--race {
        width: 68px;
        height: 68px;
    }

    .module-pvp_statistics .bm-pvp-icon--member {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 576px) {
    .module-pvp_statistics .section-content.bm-pvp-page::before {
        background-image: url('../../../themes/default/assets/images/graphics/pvp-hero-arena-mobile.webp');
        background-position: center top;
        filter: saturate(0.96) brightness(0.84);
    }

    .module-pvp_statistics .section-content.bm-pvp-page::after {
        background:
            radial-gradient(circle at 50% 22%, rgba(196, 30, 58, 0.12), transparent 24%),
            linear-gradient(180deg, rgba(8, 11, 15, 0.68) 0%, rgba(8, 11, 15, 0.14) 22%, rgba(8, 11, 15, 0.2) 42%, rgba(8, 11, 15, 0.52) 72%, rgba(8, 11, 15, 0.84) 100%);
    }

    .module-pvp_statistics .bm-pvp-stage {
        padding: 128px 0 150px;
    }

    .module-pvp_statistics .bm-pvp-hero__title {
        font-size: clamp(34px, 10vw, 54px);
    }

    .module-pvp_statistics .bm-pvp-hero__desc {
        font-size: 15px;
        line-height: 1.7;
    }

    .module-pvp_statistics .bm-pvp-hero__meta span {
        padding: 8px 12px;
        font-size: 9px;
        letter-spacing: 1.3px;
    }

    .module-pvp_statistics .bm-pvp-content {
        margin-top: -42px;
        padding: 66px 0 76px;
    }

    .module-pvp_statistics #page-page > .container > .row {
        padding: 22px 18px 26px;
        border-radius: 16px;
    }

    .module-pvp_statistics .nav-pills {
        gap: 8px;
    }

    .module-pvp_statistics .nav-pills .nav-link {
        padding: 9px 12px;
        font-size: 10px;
        letter-spacing: 1.2px;
    }

    .module-pvp_statistics #realm-changer {
        width: 100% !important;
        min-width: 0;
    }

    .module-pvp_statistics .nice_table {
        display: block;
        overflow-x: auto;
    }

    .module-pvp_statistics .nice_table tr:first-child td,
    .module-pvp_statistics .nice_table tr:not(:first-child) td {
        white-space: nowrap;
        padding-left: 12px;
        padding-right: 12px;
    }

    .module-pvp_statistics .bm-pvp-cell-icon {
        width: 74px;
        min-width: 74px;
    }

    .module-pvp_statistics .bm-pvp-iconframe {
        width: 48px;
        height: 48px;
    }

    .module-pvp_statistics .bm-pvp-iconframe--race {
        width: 58px;
        height: 58px;
    }

    .module-pvp_statistics .bm-pvp-iconframe--member {
        width: 34px;
        height: 34px;
    }

    .module-pvp_statistics .bm-pvp-icon--class {
        width: 48px;
        height: 48px;
    }

    .module-pvp_statistics .bm-pvp-icon--race {
        width: 58px;
        height: 58px;
    }

    .module-pvp_statistics .bm-pvp-icon--member {
        width: 34px;
        height: 34px;
    }

    .module-pvp_statistics .tab-pane:not(#pvp-kills) {
        padding: 20px 16px;
    }

    .module-pvp_statistics .footer {
        margin-top: -22px !important;
        padding-top: 48px;
    }
}

/* hall-pvp-fix (2026-10-01): картинка целиком, низ в размытую копию, текст слева от героинь, телефон — картинка сверху */
@media (min-width: 577px) {
    .module-pvp_statistics .section-content.bm-pvp-page::before {
        bottom: auto;
        height: 47.06vw;
        -webkit-mask-image: linear-gradient(180deg, #000 0, #000 78%, transparent 100%);
        mask-image: linear-gradient(180deg, #000 0, #000 78%, transparent 100%);
    }

    .module-pvp_statistics .section-content.bm-pvp-page::after {
        inset: -80px -10%;
        background: url('../../../themes/default/assets/images/graphics/pvp-hero-arena.webp') no-repeat 50% 40% / 120% auto;
        filter: blur(44px) saturate(0.85) brightness(0.3);
        opacity: 0.85;
        -webkit-mask-image: linear-gradient(180deg, transparent calc(47.06vw - 140px), #000 calc(47.06vw + 40px), #000 100%);
        mask-image: linear-gradient(180deg, transparent calc(47.06vw - 140px), #000 calc(47.06vw + 40px), #000 100%);
    }

    .module-pvp_statistics .bm-pvp-hero {
        max-width: max(360px, 38vw); /* до левого края героинь */
    }
}

@media (min-width: 1500px) {
    .module-pvp_statistics .bm-pvp-hero__title {
        font-size: 3.4vw;
    }

    .module-pvp_statistics .bm-pvp-hero__desc {
        font-size: clamp(15px, 0.95vw, 22px);
    }
}

@media (max-width: 576px) {
    .module-pvp_statistics .section-content.bm-pvp-page::before {
        bottom: auto;
        height: 93vw;
        background-size: 100% auto;
        -webkit-mask-image: linear-gradient(180deg, #000 0, #000 80%, transparent 100%);
        mask-image: linear-gradient(180deg, #000 0, #000 80%, transparent 100%);
    }

    .module-pvp_statistics .section-content.bm-pvp-page::after {
        background: linear-gradient(180deg, rgba(8, 11, 15, 0) calc(93vw - 40px), rgba(8, 11, 15, 0.94) calc(93vw + 10px), rgba(8, 11, 15, 0.94) 100%);
    }

    .module-pvp_statistics .bm-pvp-stage {
        min-height: 0;
        padding: calc(93vw - 40px) 0 40px;
    }

    .module-pvp_statistics .bm-pvp-hero {
        text-align: left;
        margin: 0;
    }
}

/* пол зала под футером (2026-10-03): прежний футер модуля — прозрачный градиент с линией и ромбом — заменён;
   сверху растворяется в фоне страницы, к низу притемнён под мелкий текст */
.module-pvp_statistics .footer {
	margin-top: 0 !important;
	padding-top: 72px;
	overflow: visible;
	background:
		linear-gradient(180deg, #080b0f 0%, rgba(8, 11, 15, 0.74) 16%, rgba(8, 7, 8, 0.38) 38%, rgba(8, 7, 8, 0.58) 66%, rgba(6, 5, 6, 0.93) 100%),
		url('../../../themes/default/assets/images/graphics/hall-floor.webp') center top / cover no-repeat;
}

.module-pvp_statistics .footer::before,
.module-pvp_statistics .footer .container-fluid::before,
.module-pvp_statistics .footer .container-fluid::after {
	content: none;
	display: none;
}

.module-pvp_statistics .footer .footer-text {
	color: rgba(255, 233, 214, 0.58);
}

.module-pvp_statistics .footer .footer-copyright {
	color: rgba(255, 240, 226, 0.78);
}
