/* POINTS SHOP ITEM
----------------------------------------------- */
.shop__item, .shop__item__sold {cursor: pointer; border: 1px solid var(--bdc); --bdc: rgba(0,0,0,0.15); 
    box-shadow: var(--bsh-2); position: relative;
    transition: all .2s; border-radius: 8px; overflow: hidden; background-color: var(--bg);}
.shop__item-img {background-color: rgba(0,0,0,0.03);}
.shop__item-img img {width: 100%; border-radius: 5px; display: block; height: 100px; object-fit: contain;}
.shop__item-content {padding: 13px;}
.shop__item-name {font-size: 16px; font-weight: 500;}
.shop__item-type {color: var(--tt-2); font-size: 13px; margin: 2px 0;}
.shop__item-type + div {font-size: 13px;}
.shop__item-btm {background-color: var(--bg-2); border-top: 1px solid var(--bdc); padding: 10px 13px; 
    font-size: 14px; font-weight: 500; box-shadow: inset 0 8px 8px -8px rgba(0,0,0,0.15);}
.shop__item-bought-icon, .shop__item-buy-once {color: #fff; font-size: 18px; width: 50px; height: 50px; 
    position: absolute; top: 0; z-index: 3; isolation: isolate; padding: 2px 5px;}
.shop__item-bought-icon::after, .shop__item-buy-once::after {content: ''; position: absolute; inset: -40px; 
    z-index: -1; background-color: #31c231; rotate: -45deg; transform-origin: left bottom;}
.shop__item-buy-once::after {background-color: var(--accent-gold); rotate: 45deg; transform-origin: right bottom;}
.shop__item-bought-icon {left: 0; padding: 5px;}
.shop__item-buy-once {right: 0;}
.shop__item:hover {border-color: var(--accent);}
.shop__item:hover, .shop__item__sold:hover {transform: scale(1.05);}
.shop__item__sold:not(:hover) {opacity: 0.5;}
.shop__item.is-active {border-color: #f60;}
.dt-is-active .shop__item, .dt-is-active .shop__item__sold {--bdc: rgba(255,255,255,0.1);}
.dt-is-active .shop__item-img {background-color: var(--bg-dark);}
.dt-is-active .shop__item-btm {box-shadow: inset 0 8px 8px -8px rgba(255,255,255,0.05);}
.ncard-shop__text .fa-crown {background-color: var(--accent-gold); color: #fff; font-size: 12px;
    display: inline-grid; place-items: center; width: 22px; height: 20px; border-radius: 4px;}

    
/* POINTS SHOP MODAL
----------------------------------------------- */
.ui-dialog:has(#modal-buy-item) .ui-dialog-titlebar {background-color: var(--bg-dark); color: #fff; --tt: #fff;}
.dle-popup-quickedit #modal-buy-item.ui-dialog-content {max-width: 550px; width: auto;}
#modal-buy-item .modal-content {padding: 0 20px;}
.modal-buy-item__title {font-weight: 500; font-size: 12px; text-transform: uppercase;}
.modal-buy-item__title span {font-size: 24px; font-weight: 700; display: block; text-transform: none;}
.modal-buy-item__subdesc {font-size: 12px; color: var(--tt-2); border: 1px solid var(--bdc); 
    border-radius: 6px; padding: 6px 10px; display: inline-block; text-transform: uppercase; letter-spacing: 1px;}
.modal-buy-item__desc {font-size: 14px; margin: 10px 0 20px 0;}
.modal-buy-item__desc::before, .modal-buy-item__desc::after {content: ''; flex-grow: 1; background-color: var(--bdc); height: 1px;}
.modal-buy-item__desc span {display: inline-block; font-size: 12px; border-radius: 6px; padding: 5px 15px; text-align: center; 
    max-width: calc(100% - 60px); border: 1px solid var(--bdc); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;}
.modal-buy-item__example .anime-cards__wrapper, .example-bg-wrapper
    {background-color: rgba(0,0,0,0.015); border: 1px solid var(--bdc); box-shadow: 0 0 0 5px rgba(0,0,0,0.03); padding: 15px; border-radius: 10px;}
.dt-is-active .modal-buy-item__example .anime-cards__wrapper, .dt-is-active .example-bg-wrapper 
    {box-shadow: 0 0 0 5px rgba(255,255,255,0.02); background-color: rgba(0,0,0,0.15);}
.example-avatar__img {position: relative;}
.example-avatar__img img {width: 80px; height: 80px; border-radius: 8px; display: block;}
.example-avatar__name {font-weight: 700; font-size: 15px;}
.example-avatar__date {color: var(--tt-2); font-size: 13px; margin-top: 5px;}
.example-avatar__text {padding-top: 12px; margin-top: 15px; border-top: 1px solid var(--bdc);}
.modal-buy-item__btns > * {height: 40px; padding: 0 20px;}
.btn-buy-item {background-color: var(--accent-darker); flex-grow: 1;}
.btn-buy-close {background-color: var(--accent-gray);}
.btn-sell-item {background-color: var(--accent); flex-grow: 1;}
.profile-frame, .example-avatar__frame {position: absolute; top: 0; left: 0; transform: scale(1.2); display: none;}
@media screen and (max-width: 470px) {
    #modal-buy-item .modal-content {padding: 0;}
}
.example-header {border-radius: 8px; overflow: hidden; margin: -10px; margin-bottom: 0;}
#videobg {width: 100%; pointer-events: none; cursor: default; max-height: 420px; display: block;}
.new-profile__user {display: flex; align-items: flex-end; margin-top: 10px; gap: 15px;}
.new-profile__avatar {width: 100px; height: 100px; position: relative; border-radius: 8px; overflow: hidden; margin-top: -50px;}
.new-profile__avatar img {width: 100%; height: 100%; display: block; object-fit: cover;}
.new-profile__name {font-size: 15px; font-weight: 700;}
.new-profile__status {font-size: 13px; color: var(--tt-2); margin-top: 5px;}
.item-owner {font-size: 12px; font-weight: 700; color: var(--accent); padding: 2px;}


/* Referral page
----------------------------------------------- */
.referral__top-desc {
    display: flex;
    padding: 10px 20px 0 20px;
    margin-bottom: 20px;
    margin-top: 20px;
    border: 1px solid #cccccc52;
    border-radius: 3px;
    font-size: 1.04em;
}
.referral__top-desc img {
    margin-right: 30px;
}
.referral__stats {
    margin-right: 20px;
}
.referral__stats-item {
    display: flex;
    align-items: center;
    width: 250px;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid #cccccc52;
    border-radius: 3px;
}
.referral__stats-item:last-of-type {
    margin-bottom: 0;
}
.referral__stats-icon {
    flex-basis: 55px;
    height: 55px;
    flex-shrink: 0;
    background-color: #808b90;
    margin-right: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
}
.referral__stats-item:first-of-type .referral__stats-icon {
    background-color: #76c27b;
}
.referral__content {
    border: 1px solid #cccccc52;
    padding: 20px;
    width: 100%;
    border-radius: 3px;
}
.referral__text {
    font-size: 1.2em;
    margin: 30px 0 30px 0;
    text-align: center;
}
.referral__text p {
    margin: 0;
}
.referral__stats-icon i {
    color: white;
    font-size: 1.4em;
}
.referral__stats-value {
    font-weight: 900;
    font-size: 2.0em;
    color: #1f1f1f;
    line-height: 28px;
}
.referral__stats-title {
    color: rgba(31,31,31,.5);
    font-size: 0.9em;
}
.referral__title {
    position: relative;
}
.referral__title::before {
    font-family: "Font Awesome 5 Pro";
    content: "\f0c1";
    background-color: #5d80ed;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 55px;
    height: 55px;
    color: white;
    border-radius: 50%;
    padding-right: 5px;
    vertical-align: middle;
    font-weight: 900;
    position: absolute;
    top: 0;
    left: 0;
    font-size: 1.5em;
    padding-left: 3px;
}
.referral__title h1 {
    color: #1f1f1f;
    font-size: 2em;
    margin: 0 0 5px 0;
    font-weight: 900;
    padding-left: 75px;
}
.referral__title::after {
    content: '';
    width: 100%;
    height: 1px;
    background-color: #e6e6e6;
    display: block;
}
.referral__subtitle {
    font-size: 0.9em;
    color: rgba(31,31,31,.5);
    padding-bottom: 20px;
    padding-left: 75px;
}
.referral__body {
    display: flex;
}
.referral__input {
    position: relative;
    padding-bottom: 25px;
    margin-bottom: 25px;
    border-bottom: 1px solid #cccccc7a;
}
.referral__input::after {
    content: "\438\43b\438\020\43f\43e\434\435\43b\438\442\435\441\44c\020\432\020\441\43e\446\020\441\435\442\44f\445";
    position: absolute;
    display: inline-block;
    bottom: -9px;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    background: #f9f9f9;
    padding: 0 15px;
    color: rgba(31,31,31,.5);
    font-size: 13px;
}
.referral .referral__content-inner .referral__input input {
    border: 1px solid #eaeaea;
    padding: 20px 15px;
    width: 100%;
}
.referral__input i {
    position: absolute;
    top: 15px;
    right: 15px;
    cursor: pointer;
    font-size: 1.35em;
}
.referral__content-inner {
    margin: 0 auto;
}
.referral__line {
    font-size: 0.95em;
    text-align: center;
    margin: 15px 0 10px 0;
}
.ya-share2 {
    text-align: center;
}
.referral__friends-table {
    margin-top: 30px;
}
.referral__friends-table i {
    color: rgba(31,31,31,.5);
    margin-left: 5px;
    font-size: 0.8em;
}
.referral__friends-table table {
    width: 100%;
    display: table;
    border-collapse: collapse;
    border-spacing: 0;
}
.referral__friends-table th {
    padding: 15px 5px;
    display: table-cell;
    text-align: left;
    vertical-align: middle;
    border-radius: 2px;
}
.referral__friends-table tr {
    border-bottom: 1px solid #cccccc52;
}
.referral__friends-table tr:last-of-type  {
    border-bottom: none;
}
.referral__friends-table th {
    text-align: center;
    color: rgba(31,31,31,.5);
    font-weight: 400;
}
.referral__friends-table td {
    text-align: center;
}
@media only screen and (max-width:1100px){
    .referral__content-inner {
        width: 90%;
    }
}
@media only screen and (max-width:900px){
    .referral__content-inner {
        width: 96%;
    }
}
@media only screen and (max-width:720px){
    .referral__top-desc img {
        display: none;
    }
    .referral__body {
        flex-direction: column;
    }
    .referral__content-inner {
        width: 100%;
    }
    .referral__stats {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        margin-right: 0;
        margin-bottom: 20px;
    }
    .referral__stats-item {
        width: 49%;
    }
    .ya-share2__container_mobile.ya-share2__container_size_l .ya-share2__icon {
        width: 45px !important;
        height: 45px !important;
        background-size: 40px 40px !important;
    }
    .referral__input::after {
        font-size: 11px;
    }
    .referral__stats-item:last-of-type {
        margin-bottom: 20px;
    }
}
@media only screen and (max-width:400px){
    .referral__stats-item {
        width: 100%;
    }
    .ya-share2__container_mobile.ya-share2__container_size_l .ya-share2__icon {
        width: 36px !important;
        height: 36px !important;
        background-size: 28px 28px !important;
    }
    .referral__input::after {
        content: '\438\43b\438';
    }
}


/* Profile page
----------------------------------------------- */
.new-profile__bg {
    height: 330px;
    background-size: cover;
    background-position: top;
}
#profilebg {
    width: 100%;
    pointer-events: none;
    cursor: default;
    max-height: 420px;
    object-fit: cover;
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    z-index: 1;
    height: 100%;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
}
.media__list {
    flex-basis: 100%;
    flex-grow: 0;
    min-width: 0;
}
.input__name {
    margin-bottom: 5px;
}
.profile-images-wrapper {
    margin-bottom: 20px;
}
.profile-images-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 0 -6px 0;
}
.image__item {
    margin: 6px;
    cursor: pointer;
    border: 1px solid transparent;
    border-radius: 3px;
    position: relative;
}
.profile-images-list img {
    display: block;
    width: 71px;
    height: 71px;
    border-radius: 3px;
}
.profile-images-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 0 -6px 0;
}
.profile-background-list img {
    width: 270px!important;
    object-fit: cover;
}
.profile-images-list img {
    display: block;
    width: 71px;
    height: 71px;
    border-radius: 3px;
}

.ram-prof-inf {
    background: rgb(0 0 0 / 45%);
    border-radius: 6px;
    padding: 10px;
    max-width: 360px;
}

.dark .new-tr-header, .dark .transactions__balance, .dark .premium__functions, .dark .modal-buy-item__example {
    background-color: #141414;
}
.dark .transactions__get i, .dark .transactions__get .shop__get-coins li::before,  .dark .referral__stats-value, .dark .example-avatar__date {
    color: #ddd;
}
.dark .anime__info-type, .dark .referral__stats-title, .dark .referral__subtitle {
    color: #868e96;
}
.dark .referral .referral__content-inner .referral__input input, .dark .referral__input::after {
    background-color: #1f1f1f;
    border-color: #2d3236;
    color: #ddd;
}
.dark .referral__friends-table th, .dark .shop__item-type, .dark .shop__item-price i.coins-icon {
	color: #868e96;
}
.dark .premium__functions-item-title {
    color: #ddd;
}
.dark .shop__item-content {
    color: #ddd;
    background-color: #1a1a1a;
}
.dark .shop__item-img {
        background-color: unset;
}

a.btn-buy-disabled {
    pointer-events: none;
  	cursor: default;
}


/* POINTS PREMIUM PAGE
----------------------------------------------- */
.ncard-premium__left {background-color: var(--bdc); position: relative; text-align: center; 
    padding: 25px 15px; margin: 10px -30px -40px -30px;}
.ncard-premium__left .fal {width: 40px; height: 40px; border-radius: 50%; background-color: var(--bg); 
    font-size: 24px; color: var(--accent-gold); position: absolute; left: 50%; bottom: 100%; translate: -50% 50%;}
.ncard-premium__functions {gap: 50px 40px; padding-top: 20px;}
.ncard-premium__function {border: 1px solid var(--bdc); padding: 20px; border-radius: 10px; 
    position: relative; text-align: center; padding-top: 50px; flex: 1 0 280px; min-width: 280px;}
.ncard-premium__function-title {font-weight: 700; font-size: 18px; margin-bottom: 15px;}
.ncard-premium__function .fal {width: 60px; height: 60px; border-radius: 50%; background-color: var(--bg); 
    border: 1px solid var(--bdc); font-size: 34px; color: var(--accent); position: absolute; left: 50%; bottom: 100%; translate: -50% 50%;}
.ncard-premium__btn button {height: 60px; width: 368px; font-weight: 700; font-size: 18px; text-transform: none;}
.ncard-premium__btn button .diamond {margin: 0; width: 18px; height: 18px; margin-left: 10px;}
@media screen and (max-width: 470px) {
    .ncard-premium__left b {display: block;}
    .ncard-premium__btn button, .ncard-premium__btn {width: 100%;}
}


/* POINTS SHOP PAGE
----------------------------------------------- */
.ncard-shop__text-main {padding-bottom: 20px; border-bottom: 1px solid var(--bdc);}
.ncard-shop__btn {gap: 10px; text-decoration: none !important; background-color: var(--accent); color: #fff !important;}
.ncard-shop__btn-history {background: none; color: var(--tt) !important; border: 1px solid var(--accent);}
.ncard-shop__btn:hover {background-color: var(--accent-darker); color: #fff !important;}
.ncard-shop__text-caption {font-size: 18px; font-weight: 700; padding-bottom: 10px; margin-bottom: 5px;}
.ncard-shop__text-caption .diamond {width: 18px; height: 18px; margin: 0; margin-left: 10px;}
.ncard__shop-content {padding-top: 20px;}
.ncard__shop-content-header {margin-bottom: 20px;}
.ncard__shop-content-list + .ncard__shop-content-header {margin-top: 40px;}
.ncard__shop-content-title {font-size: 18px; font-weight: 700;}
.ncard__shop-content-title span {display: block; font-size: 14px; color: var(--tt-2); font-weight: 400; margin-top: 5px;}
/* .tabs__item--active {background-color: var(--accent-2);} */
.ncard__shop-content-list {display: grid; gap: 20px; grid-template-columns: repeat(auto-fill,minmax(200px,1fr));}
.ncard__shop-content-list > * {width: 100% !important; margin: 0 !important;}
@media screen and (max-width: 470px) {
   .ncard__shop-content-list {gap: 20px 10px; grid-template-columns: repeat(2,minmax(0,1fr));}
   .ncard__shop-content-title span {font-size: 12px;}
   .shop__item-name {font-size: 14px;}
   .shop__item-btm, .shop__item-type, .shop__item-type + div {font-size: 12px;}
   .shop__item-btm {padding: 10px;}
}


/* POINTS HISTORY PAGE
----------------------------------------------- */
.ncard-transactions__table table {width: 100%; display: table; border: 1px solid var(--bdc);}
.ncard-transactions__table tr td, .ncard-transactions__table thead th 
{border: 1px solid var(--bdc); padding: 11px 20px; text-align: center;}
.ncard-transactions__table td:nth-child(1), .ncard-transactions__table th:nth-child(1) {text-align: left;}
.ncard-transactions__table tr:nth-child(2n) {background-color: rgba(0,0,0,0.03);}
.ncard-transactions__table thead {background-color: var(--bg-dark); color: #fff; --bdc: var(--bg-darkest)}
.dt-is-active .ncard-transactions__table tr:nth-child(2n) {background-color: rgba(255,255,255,0.03);}
.transactions__green {color: green;}
.transactions__red {color: red;}
@media screen and (max-width: 470px) {
   .ncard-transactions__table tr td, .ncard-transactions__table thead th {padding: 10px;}
}