/* ==========================================================================
   PVP REWARDS — SHAIYA ADDICTED
   ========================================================================== */

body:has(.pvp-rewards-page)
.column-left
.content-bg
> .content-header {
    display: none !important;
}


.pvp-rewards-page {
    padding: 18px 0 9px;

    color: #c8ced3;
}


.pvp-rewards-page *,
.pvp-rewards-page *::before,
.pvp-rewards-page *::after {
    box-sizing: border-box;
}


/* ==========================================================================
   HERO
   ========================================================================== */

.pvp-hero {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 26px;

    min-height: 164px;
    margin-bottom: 16px;
    padding: 27px 28px;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 85% 18%,
            rgba(208, 196, 130, .075),
            transparent 31%
        ),
        linear-gradient(
            135deg,
            rgba(18, 22, 25, .985),
            rgba(10, 14, 17, .99)
        );

    border:
        1px solid rgba(210, 199, 143, .12);

    border-radius: 4px;

    box-shadow:
        0 11px 28px rgba(0, 0, 0, .13);
}


.pvp-hero::before {
    content: "";

    position: absolute;
    inset: 0 auto 0 0;

    width: 3px;

    background:
        linear-gradient(
            180deg,
            #dfd28a,
            rgba(223, 210, 138, .28)
        );
}


.pvp-hero__content {
    position: relative;
    z-index: 2;

    max-width: 600px;
}


.pvp-eyebrow,
.pvp-section-kicker {
    color: #b9ab70;

    font-size: 11px;
    line-height: 14px;
    font-weight: 700;

    letter-spacing: .8px;
    text-transform: uppercase;
}


.pvp-title {
    margin: 7px 0;

    color: #f0f2f3;

    font-size: 33px;
    line-height: 37px;
    font-weight: 700;
}


.pvp-description {
    max-width: 570px;

    margin: 0;

    color: #7f8990;

    font-size: 14px;
    line-height: 20px;
}


/* BALANCE */

.pvp-balance {
    position: relative;
    z-index: 2;

    display: grid;
    grid-template-columns:
        minmax(145px, 1fr)
        112px;

    grid-template-rows:
        auto auto;

    min-width: 285px;
    min-height: 72px;

    overflow: hidden;

    background:
        rgba(7, 10, 12, .78);

    border:
        1px solid rgba(255, 255, 255, .06);

    border-radius: 4px;
}


.pvp-balance__label {
    grid-column: 1;
    grid-row: 1;

    padding: 12px 15px 0;

    color: #667078;

    font-size: 9px;
    line-height: 11px;

    letter-spacing: .4px;
    text-transform: uppercase;
}


.pvp-balance__value {
    grid-column: 1;
    grid-row: 2;

    padding: 2px 15px 11px;

    color: #ddd083;

    font-size: 22px;
    line-height: 26px;
    font-weight: 700;
}


.pvp-balance__value small {
    font-size: 13px;
}


.pvp-rewards-page a.pvp-balance__button,
.pvp-rewards-page a.pvp-balance__button:link,
.pvp-rewards-page a.pvp-balance__button:visited {
    grid-column: 2 !important;
    grid-row: 1 / 3 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 100% !important;
    height: 100% !important;
    min-height: 72px !important;

    margin: 0 !important;
    padding: 0 12px !important;

    color: #292a1d !important;

    background:
        linear-gradient(
            180deg,
            #e2d694 0%,
            #c9bc77 100%
        ) !important;

    border: 0 !important;
    border-left:
        1px solid rgba(255, 255, 255, .12) !important;

    border-radius: 0 !important;

    font-size: 11px !important;
    line-height: 14px !important;
    font-weight: 700 !important;

    text-align: center !important;
    text-decoration: none !important;
}


/* ==========================================================================
   OVERVIEW
   ========================================================================== */

.pvp-overview {
    display: grid;
    grid-template-columns:
        150px minmax(0, 1fr) 155px;

    align-items: center;

    gap: 16px;

    margin-bottom: 12px;
    padding: 15px 17px;

    background:
        linear-gradient(
            180deg,
            rgba(12, 16, 19, .975),
            rgba(9, 13, 16, .985)
        );

    border:
        1px solid rgba(255, 255, 255, .055);

    border-radius: 4px;
}


.pvp-overview__stat strong {
    display: block;

    margin-top: 3px;

    color: #ded184;

    font-size: 23px;
    line-height: 27px;
}


.pvp-overview__stat small {
    color: #667178;

    font-size: 9px;
}


.pvp-progress__head,
.pvp-progress__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 10px;

    color: #747e85;

    font-size: 10px;
    line-height: 13px;
}


.pvp-progress__head {
    margin-bottom: 7px;
}


.pvp-progress__head strong,
.pvp-progress__footer b {
    color: #bdb477;
}


.pvp-progress__footer {
    margin-top: 7px;
}


.pvp-progress__track {
    height: 7px;

    overflow: hidden;

    background:
        rgba(0, 0, 0, .38);

    border:
        1px solid rgba(255, 255, 255, .035);

    border-radius: 20px;
}


.pvp-progress__fill {
    display: block;

    height: 100%;

    background:
        linear-gradient(
            90deg,
            #807544,
            #d4c676
        );

    border-radius: inherit;
}


.pvp-cooldown {
    padding: 10px 11px;

    background:
        rgba(140, 83, 59, .035);

    border:
        1px solid rgba(153, 87, 62, .07);

    border-radius: 4px;

    text-align: center;
}


.pvp-cooldown span {
    display: block;

    color: #687279;

    font-size: 8px;
    line-height: 11px;

    text-transform: uppercase;
}


.pvp-cooldown strong {
    display: block;

    margin-top: 2px;

    color: #a17d74;

    font-size: 11px;
    line-height: 14px;
}


.pvp-cooldown.is-ready {
    background:
        rgba(67, 124, 78, .035);

    border-color:
        rgba(80, 142, 91, .08);
}


.pvp-cooldown.is-ready strong {
    color: #7da285;
}


/* ==========================================================================
   INFO
   ========================================================================== */

.pvp-info {
    display: flex;
    align-items: center;

    gap: 12px;

    margin-bottom: 12px;
    padding: 11px 14px;

    background:
        rgba(255, 255, 255, .014);

    border:
        1px solid rgba(255, 255, 255, .035);

    border-radius: 4px;
}


.pvp-info__icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 34px;
    height: 34px;

    color: #aaa069;

    background:
        rgba(201, 185, 103, .035);

    border:
        1px solid rgba(201, 185, 103, .075);

    border-radius: 4px;
}


.pvp-info strong {
    display: block;

    margin-top: 2px;

    color: #aeb6ba;

    font-size: 11px;
    line-height: 15px;
}


/* ==========================================================================
   LEVELS
   ========================================================================== */

.pvp-levels-section {
    padding: 18px;

    background:
        linear-gradient(
            180deg,
            rgba(12, 16, 19, .975),
            rgba(9, 13, 16, .985)
        );

    border:
        1px solid rgba(255, 255, 255, .055);

    border-radius: 4px;
}


.pvp-levels-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    gap: 16px;

    margin-bottom: 15px;
    padding-bottom: 12px;

    border-bottom:
        1px solid rgba(255, 255, 255, .045);
}


.pvp-levels-head h2 {
    margin: 3px 0 0;

    color: #e3e7e9;

    font-size: 23px;
    line-height: 27px;
}


.pvp-levels-head p {
    margin: 3px 0 0;

    color: #69737a;

    font-size: 10px;
    line-height: 14px;
}


.pvp-level-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 31px;
    height: 29px;

    padding: 0 9px;

    color: #a39a6b;

    background:
        rgba(202, 188, 113, .035);

    border:
        1px solid rgba(202, 188, 113, .085);

    border-radius: 20px;

    font-size: 10px;
    font-weight: 700;
}


.pvp-levels {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 9px;
}


.pvp-level {
    display: flex;
    flex-direction: column;

    min-height: 220px;

    overflow: hidden;

    background:
        linear-gradient(
            180deg,
            rgba(16, 20, 23, .97),
            rgba(9, 13, 16, .985)
        );

    border:
        1px solid rgba(255, 255, 255, .05);

    border-radius: 4px;

    transition:
        transform .16s ease,
        border-color .16s ease,
        box-shadow .16s ease;
}


.pvp-level:hover {
    transform:
        translateY(-1px);
}


.pvp-level__top {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 8px;

    min-height: 37px;
    padding: 7px 9px;

    border-bottom:
        1px solid rgba(255, 255, 255, .04);
}


.pvp-level__number {
    color: #727d83;

    font-size: 9px;
    line-height: 12px;
    font-weight: 700;
}


.pvp-level__status {
    display: inline-flex;
    align-items: center;

    min-height: 21px;
    padding: 0 7px;

    border-radius: 20px;

    font-size: 7px;
    line-height: 9px;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: .3px;
}


.pvp-level__status--claimed {
    color: #79a481;

    background:
        rgba(76, 135, 86, .055);

    border:
        1px solid rgba(85, 145, 96, .10);
}


.pvp-level__status--available {
    color: #d3c676;

    background:
        rgba(185, 158, 57, .07);

    border:
        1px solid rgba(208, 190, 100, .13);
}


.pvp-level__status--cooldown,
.pvp-level__status--sequence,
.pvp-level__status--locked {
    color: #7c7372;

    background:
        rgba(126, 71, 66, .04);

    border:
        1px solid rgba(145, 79, 73, .07);
}


.pvp-level__main {
    display: grid;
    grid-template-columns:
        62px minmax(0, 1fr);

    align-items: center;

    gap: 10px;

    padding: 13px 12px;
}


.pvp-level__rank {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 58px;
    height: 58px;

    background:
        rgba(255, 255, 255, .015);

    border:
        1px solid rgba(255, 255, 255, .035);

    border-radius: 4px;
}


.pvp-level__rank > div {
    transform:
        scale(.9);
}


.pvp-level__threshold span,
.pvp-level__meta span {
    display: block;

    color: #606b71;

    font-size: 8px;
    line-height: 11px;

    text-transform: uppercase;
}


.pvp-level__threshold strong {
    display: block;

    margin-top: 1px;

    color: #ddd083;

    font-size: 19px;
    line-height: 23px;
}


.pvp-level__threshold small {
    color: #788188;

    font-size: 9px;
}


.pvp-level__meta {
    display: grid;
    grid-template-columns:
        72px minmax(0, 1fr);

    gap: 8px;

    margin: 0 10px;
    padding: 9px;

    background:
        rgba(255, 255, 255, .014);

    border:
        1px solid rgba(255, 255, 255, .032);

    border-radius: 4px;
}


.pvp-level__meta strong {
    display: block;

    overflow: hidden;

    margin-top: 2px;

    color: #aeb6ba;

    font-size: 10px;
    line-height: 14px;

    text-overflow: ellipsis;
    white-space: nowrap;
}


.pvp-level__meta > div:first-child strong {
    color: #c8bc75;
}


.pvp-level__footer {
    display: flex;
    align-items: center;
    justify-content: center;

    flex: 1;

    min-height: 49px;
    margin-top: 9px;
    padding: 8px 10px;

    border-top:
        1px solid rgba(255, 255, 255, .035);
}


.pvp-level__claim,
.pvp-level__claimed,
.pvp-level__locked {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 6px;

    min-height: 30px;
    padding: 0 9px;

    border-radius: 4px;

    font-size: 8px;
    line-height: 10px;
    font-weight: 700;

    text-align: center;
}


.pvp-level__claim {
    color: #d9cd82;

    background:
        rgba(204, 188, 105, .055);

    border:
        1px solid rgba(204, 188, 105, .13);

    font-family: inherit;

    cursor: pointer;
}


.pvp-level__claimed {
    color: #78a27f;

    background:
        rgba(72, 131, 82, .045);

    border:
        1px solid rgba(85, 145, 96, .08);
}


.pvp-level__locked {
    color: #727c81;

    background:
        rgba(255, 255, 255, .015);

    border:
        1px solid rgba(255, 255, 255, .03);
}


/* STATES */

.pvp-level--claimed {
    border-color:
        rgba(87, 145, 98, .09);
}


.pvp-level--available {
    border-color:
        rgba(208, 194, 116, .20);

    box-shadow:
        inset 2px 0 0 rgba(213, 198, 117, .56),
        0 0 15px rgba(198, 178, 82, .045);
}


.pvp-level--cooldown,
.pvp-level--sequence,
.pvp-level--locked {
    opacity: .72;
}


/* ==========================================================================
   POPUP
   ========================================================================== */

body.pvp-popup-open {
    overflow: hidden;
}


.pvp-popup {
    position: fixed;
    z-index: 999990;

    inset: 0;

    display: none;
    align-items: center;
    justify-content: center;

    padding: 25px;
}


.pvp-popup.is-open {
    display: flex;
}


.pvp-popup__backdrop {
    position: absolute;

    inset: 0;

    background:
        rgba(2, 5, 7, .78);

    backdrop-filter:
        blur(3px);
}


.pvp-popup__dialog {
    position: relative;
    z-index: 2;

    width: min(700px, 96vw);
    max-height: 82vh;

    overflow: hidden;

    background:
        linear-gradient(
            180deg,
            #13181c,
            #0b0f12
        );

    border:
        1px solid rgba(215, 199, 115, .16);

    border-radius: 5px;

    box-shadow:
        0 26px 70px rgba(0, 0, 0, .58);
}


.pvp-popup__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    gap: 15px;

    padding: 16px 17px;

    border-bottom:
        1px solid rgba(255, 255, 255, .055);
}


.pvp-popup__head h3 {
    margin: 3px 0 0;

    color: #e4e8ea;

    font-size: 18px;
    line-height: 22px;
}


.pvp-popup__head p {
    margin: 3px 0 0;

    color: #6f797f;

    font-size: 9px;
    line-height: 13px;
}


.pvp-popup__close {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 32px;
    height: 32px;

    color: #8b959b;
    background: transparent;

    border:
        1px solid rgba(255, 255, 255, .06);

    border-radius: 4px;

    cursor: pointer;
}


.pvp-popup__items {
    display: grid;

    gap: 7px;

    max-height: calc(82vh - 92px);
    padding: 11px;

    overflow-y: auto;
}


.pvp-popup-item {
    display: grid;
    grid-template-columns:
        52px minmax(0, 1fr) auto;

    align-items: center;

    gap: 10px;

    min-height: 67px;
    padding: 9px;

    background:
        rgba(255, 255, 255, .016);

    border:
        1px solid rgba(255, 255, 255, .04);

    border-radius: 4px;
}


.pvp-popup-item__icon {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 46px;
    height: 46px;

    color: #727c82;

    background:
        rgba(255, 255, 255, .018);

    border:
        1px solid rgba(255, 255, 255, .045);

    border-radius: 4px;
}


.pvp-popup-item__icon img {
    width: 40px;
    height: 40px;

    object-fit: contain;

    cursor: help;
}


.pvp-popup-item__icon > span {
    position: absolute;

    right: -4px;
    bottom: -4px;

    min-width: 18px;
    height: 16px;

    padding: 0 4px;

    color: #d8ce85;
    background: #0a0e11;

    border:
        1px solid rgba(205, 188, 105, .13);

    border-radius: 8px;

    font-size: 7px;
    line-height: 14px;
    font-weight: 700;

    text-align: center;
}


.pvp-popup-item__content strong {
    display: block;

    color: #cfd5d8;

    font-size: 11px;
    line-height: 15px;
}


.pvp-popup-item__content p {
    margin: 3px 0 0;

    color: #687279;

    font-size: 9px;
    line-height: 13px;
}


.pvp-popup-item__claim {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 31px;
    padding: 0 10px;

    color: #d9cd82 !important;

    background:
        rgba(204, 188, 105, .055);

    border:
        1px solid rgba(204, 188, 105, .13);

    border-radius: 4px;

    font-size: 9px;
    font-weight: 700;

    text-decoration: none !important;
}


/* ==========================================================================
   EMPTY + TOOLTIP
   ========================================================================== */

.pvp-empty {
    padding: 35px 20px;

    color: #69737a;

    background:
        rgba(255, 255, 255, .012);

    border:
        1px dashed rgba(255, 255, 255, .05);

    border-radius: 4px;

    text-align: center;
}


#droplist-tooltip {
    position: fixed;
    z-index: 9999999;

    pointer-events: none;
}


/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 1000px) {

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


    .pvp-overview {
        grid-template-columns:
            140px minmax(0, 1fr);
    }


    .pvp-cooldown {
        grid-column:
            1 / -1;
    }

}


@media (max-width: 760px) {

    .pvp-hero {
        align-items: stretch;
        flex-direction: column;
    }


    .pvp-balance {
        width: 100%;
        min-width: 0;
    }


    .pvp-overview,
    .pvp-levels {
        grid-template-columns: 1fr;
    }


    .pvp-popup-item {
        grid-template-columns:
            48px minmax(0, 1fr);
    }


    .pvp-popup-item__claim {
        grid-column:
            1 / -1;
    }

}

/* ==========================================================================
   PVP V2 — НАЗВАНИЕ ПРЕДМЕТА В КАРТОЧКЕ ЭТАПА
   ========================================================================== */

.pvp-level__meta {
    grid-template-columns:
        70px minmax(0, 1fr);
}


.pvp-level__meta .pvp-level__reward-item {
    display: -webkit-box;

    overflow: hidden;

    margin-top: 2px;

    color: #c5ccd0;

    font-size: 10px;
    line-height: 13px;
    font-weight: 700;

    white-space: normal;

    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;

    text-overflow: ellipsis;
}


.pvp-level--available
.pvp-level__meta
.pvp-level__reward-item {
    color: #d3d8da;
}

/* ==========================================================================
   PVP V3 — ИКОНКА ПРЕДМЕТА В КАРТОЧКЕ ЭТАПА
   ========================================================================== */

.pvp-level__reward-preview {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    align-items: center;
    gap: 8px;
}

.pvp-level__reward-icon {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 38px;
    height: 38px;

    background: rgba(0, 0, 0, .28);
    border: 1px solid rgba(255, 255, 255, .06);
    border-radius: 4px;
    overflow: hidden;
}

.pvp-level__reward-icon img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    cursor: pointer;
}

.pvp-level__reward-icon i {
    color: #8a949b;
    font-size: 14px;
}

.pvp-level__reward-count {
    position: absolute;
    right: 2px;
    bottom: 1px;

    padding: 0 3px;

    color: #f4e7a2;
    background: rgba(0, 0, 0, .78);

    border-radius: 3px;

    font-size: 8px;
    line-height: 12px;
    font-weight: 700;
}

.pvp-level__reward-text {
    min-width: 0;
}

.pvp-level__reward-text > span {
    margin: 0;
}

/* ==========================================================================
   PVP V4 — УВЕЛИЧЕННАЯ ТИПОГРАФИКА КАРТОЧЕК
   ========================================================================== */

/* Верхняя строка карточки */
.pvp-level__number {
    font-size: 10px;
    line-height: 13px;
}

.pvp-level__status {
    min-height: 23px;
    padding: 0 8px;

    font-size: 8px;
    line-height: 10px;
}


/* Блок "Требуется" */
.pvp-level__threshold span,
.pvp-level__meta span {
    font-size: 9px;
    line-height: 12px;
}

.pvp-level__threshold strong {
    font-size: 21px;
    line-height: 25px;
}

.pvp-level__threshold small {
    font-size: 10px;
    line-height: 13px;
}


/* ZZ */
.pvp-level__meta > div:first-child strong {
    font-size: 11px;
    line-height: 15px;
}


/* Название предмета */
.pvp-level__meta .pvp-level__reward-item {
    font-size: 11px;
    line-height: 14px;
}


/* Кнопки / статусы снизу */
.pvp-level__claim,
.pvp-level__claimed,
.pvp-level__locked {
    min-height: 32px;
    padding: 0 10px;

    font-size: 9px;
    line-height: 12px;
}


/* Чуть больше внутренние отступы, чтобы текст не выглядел зажатым */
.pvp-level__top {
    min-height: 40px;
    padding: 8px 10px;
}

.pvp-level__main {
    padding: 14px 12px;
}

.pvp-level__meta {
    padding: 10px;
}

.pvp-level__footer {
    min-height: 52px;
}

/* ==========================================================================
   PVP V5 — ЯВНОЕ КОЛИЧЕСТВО ПРЕДМЕТА
   ========================================================================== */

.pvp-level__reward-qty {
    display: block;

    margin-top: 3px;

    color: #707b82;

    font-size: 9px;
    line-height: 12px;
    font-weight: 500;
}

.pvp-level__reward-qty b {
    color: #d3c678;

    font-size: 10px;
    font-weight: 700;
}

.pvp-level--available
.pvp-level__reward-qty b {
    color: #e0d384;
}

/* ==========================================================================
   PVP BUNDLE — НЕСКОЛЬКО НАГРАД ЗА ОДИН РАНГ
   ========================================================================== */

.pvp-level__meta {
    grid-template-columns: 58px minmax(0, 1fr);
}

.pvp-level__reward-bundle {
    min-width: 0;
}

.pvp-level__reward-bundle-label {
    display: block;
    margin-bottom: 5px;

    color: #606b71;
    font-size: 9px;
    line-height: 12px;
    text-transform: uppercase;
}

.pvp-level__reward-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.pvp-level__bundle-item {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 38px;
    height: 38px;

    background: rgba(0,0,0,.28);
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 4px;
}

.pvp-level__bundle-item img {
    width: 34px;
    height: 34px;
    object-fit: contain;
    cursor: help;
}

.pvp-level__bundle-item > i {
    color: #78838a;
    font-size: 13px;
}

.pvp-level__bundle-item > span {
    position: absolute;
    right: -3px;
    bottom: -3px;

    min-width: 18px;
    height: 15px;
    padding: 0 3px;

    color: #f0df91;
    background: #090d0f;

    border: 1px solid rgba(205,188,105,.15);
    border-radius: 8px;

    font-size: 7px;
    line-height: 13px;
    font-weight: 700;
    text-align: center;
}

.pvp-level__bundle-empty {
    color: #737d83;
    font-size: 9px;
    line-height: 12px;
}

.pvp-level__claim-form {
    margin: 0;
}

.pvp-level__claim-form .pvp-level__claim {
    font-family: inherit;
}

