.card-box, .set-box, .cardlist-box {
    overflow: hidden;
    border-radius: 1.05rem;
    /* background-color: rgb(255, 255, 255); */
    display: grid;
    grid-template-rows: 1fr auto;
    font-family: 'Rubik', sans-serif;
    position: relative;
    height: fit-content;
    transition: .15s;
    text-decoration: none;
}
.card-info {
    text-align: center;
    background-color: rgb(255, 255, 255);
    color: rgb(68, 68, 68);
    border-top: 1px solid #e1e1e1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

#dark .card-info {
    background-color: #2B2C30;
    border-color: rgba(255, 255, 255, 0.05);
}

#dark .card-info-number {
    color: #fff;
}

#dark .card-info-set {
    color: rgba(255, 255, 255, 0.6);
    font-weight: normal;
}

#dark .card-info-set.full {
    color: #4DC167;
}

#dark .card-preinfo {
    background: rgba(43, 43, 48, 0.97);
}

#dark .card-info-name {
    color: #fff;
}

.card-box.flat-borders {
    border-radius: 3px;
}

.card-box.flat-borders .card-picture {
    border-radius: 0;
}
.card-box.transparent .backdrop {
    animation: trs 5s infinite alternate-reverse cubic-bezier(0.28, 0.02, 0.64, 0.99);
}
.card-box.transparent .card-picture img {
    filter: drop-shadow(2px 14px 6px #1a1a1a8c);
}

.card-box.loading {
    /* min-height: 469px; */
    opacity: .2;
}

.card_handlers {
    position: absolute;
    top: 20px;
    left: 50%;
    /* left: 20px; */
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    /* height: 42px; */
    align-items: center;
    padding: 9px;
    gap: 6px;
    opacity: 0;
    transition: .1s;
    box-sizing: border-box;
    transform: translate(-50%, -10px);
    border-radius: 12px;
    z-index: 2;
}

.card_handlers::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(5px);
    border-radius: 9px;
    z-index: -1;
}

.cards-count {
    position: absolute;
    right: 16px;
    bottom: 16px;
    color: #000000;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(5px);
    border-radius: 9px;
    z-index: 1;
    font-size: 14px;
    padding: 10px;
    font-weight: 500;
    box-shadow: inset 0 0 0 1px #76767685;
    z-index: 4;
    pointer-events: none;
    transition: .2s;
    height: 36px;
    box-sizing: border-box;
}

#dark .cards-count {
    background-color: rgba(25, 27, 34, 0.8);
    color: #fff;
}

.card-box:hover .cards-count {
    opacity: .2;
}

.limit-number {
    position: absolute;
    left: 50%;
    bottom: 16px;
    color: #000000;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(5px);
    border-radius: 30px;
    z-index: 1;
    font-size: 14px;
    padding: 10px 20px;
    font-weight: 500;
    box-shadow: inset 0 0 0 1px #76767685;
    z-index: 4;
    pointer-events: none;
    transition: .2s;
    transform: translateX(-50%);
    height: 36px;
    box-sizing: border-box;
}

#dark .limit-number {
    background-color: rgba(25, 27, 34, 0.8);
    color: #fff;
}

#dark .limit-number.dimmed {
    background-color: rgba(25, 27, 34, 0.6);
    color: #fff;
}

#root .limit-number.dimmed {
    opacity: .8;
}

#root .card-box:hover .limit-number {
    opacity: .1;
}

.card-sub-btn {
    position: absolute;
    left: 16px;
    bottom: 16px;
    color: #000000;
    background-color: rgba(25, 27, 34, 0.4);
    backdrop-filter: blur(5px);
    border-radius: 9px;
    z-index: 1;
    font-size: 14px;
    padding: 10px;
    font-weight: 500;
    box-shadow: inset 0 0 0 1px #76767685;
    z-index: 4;
    pointer-events: none;
    transition: .2s;
    height: 36px;
    width: 36px;
    background-image: url('/ui/ring.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 16px;
    box-sizing: border-box;
}

#dark .card-sub-btn {
    background-color: rgba(25, 27, 34, 0.4);
    color: #fff;
}

.card-box:hover .card-sub-btn {
    opacity: 0.05;
}

.show-back-btn, .enable-NSFW-btn {
    position: absolute;
    bottom: 15px;
    z-index: 5;
    left: calc(50% - 80px);
    width: 160px;
    background-color: rgba(25, 27, 34, 0.2);
    outline: none;
    border: none;
    color: rgb(255 255 255);
    border-radius: 9px;
    padding: 12px 6px;
    transform: translateY(0);
    transition: .2s;
    backdrop-filter: blur(3px);
    cursor: pointer;
    opacity: .4;
    box-shadow: inset 0 0 0 1px rgba(121, 121, 121, 0.3);
}

.enable-NSFW-btn {
    background-color: rgba(25, 27, 34, 0.3);
    bottom: 50%;
    transform: translateY(50%);
    backdrop-filter: none;
    width: 140px;
    padding: 12px;
    left: calc(50% - 70px);
    display: none;
    font-weight: 500;
}

.enable-NSFW-btn:hover {
    opacity: .8;
}

.nsfw .enable-NSFW-btn {
    display: block;
}

.nsfw.missing-pic .enable-NSFW-btn {
    display: none;
}



.card_handlers-box {
    display: flex;
    align-items: center;
    flex-direction: row;
    gap: 9px;
}

#root .card_handlers.visible {
    opacity: .7;
    
    transform: translate(-50%, 0px);
}
#root .card_handlers.visible::before {
    visibility: hidden;
}

#root .card-box:hover .card_handlers {
    opacity: 1;
    transform: translate(-50%, 0px);
}

#root .card-box:hover .card-preinfo, #root .card-box.missing-pic .card-preinfo {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: all;
}
#root .card-box:hover .show-back-btn {
    background-color: rgba(25, 27, 34, 0.4);
    transform: translateY(-66px);
    opacity: .8;
}

.show-back-btn:hover {
    opacity: .95 !important;
    background-color: rgba(25, 27, 34, 0.85) !important;
}
#root .card-box:hover .card_handlers::before {
    visibility: visible;
}


.card_handlers_btn {
    width: 28px;
    height: 28px;
    background-color: rgba(254, 254, 255, 0.93);
    box-shadow: 0px 4px 10px rgba(145, 159, 171, 0.25);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: opacity .2s;
    /* position: relative; */
    /* color: #FFF;
    font-size: 14px;
    line-height: 1; */
}

#root .card_handlers_btn.active.check-btn {
    background-color: #009B76;
}

#root .card_handlers_btn.active.sell-btn {
    background-color: #1b7bce;
}

#root .card_handlers_btn.active.like-btn {
    background-color: #F44336;
}

#root .card_handlers_btn.active.wishlist-btn {
    background-color: #e32a92;
}
#root .card_handlers_btn.active.drop-btn {
    background: linear-gradient(120deg, #4FA0FF -4.18%, #524FFF 40.2%, #B338FF 100%);
}

#root .card_handlers_btn.active.search-btn {
    background: linear-gradient(120deg, #4FA0FF 0%, #524fff00 40.2%, #B338FF 100%), #524FFF;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.9);
    width: auto;
    padding: 0 7px 0 4px;
    gap: 1px;
}

#root .card_handlers_btn.active.search-btn.pink {
    background: linear-gradient(120deg, #ff4ff6 0%, #524fff00 40.2%, rgb(255, 56, 139) 100%), #e32a92;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.9);
    width: auto;
    padding: 0 7px 0 4px;
    gap: 1px;
}

#root .card_handlers_btn.slim-button  {
    font-size: 12px;
    color: rgb(0 0 0 / 90%);
    width: auto;
    padding: 0 7px 0 4px;
    gap: 3px;
    background-color: rgb(255 255 255 / 30%);
}

#root .card_handlers_btn.search-btn {
    padding: unset;
    width: 28px;
}

#dark .card_handlers_btn.slim-button {
    color: rgba(255, 255, 255, 0.9);
    background-color: rgba(95, 95, 95, 0.3);
}

#root .card_handlers_btn.slim-button.info {
    background-color: rgba(255, 255, 255, 0);
    box-shadow: inset 0px 0 0 1px rgba(145, 159, 171, 0.25);
}

#dark .card_handlers_btn.slim-button.info {
    background-color: rgba(255, 255, 255, 0);
    box-shadow: inset 0px 0 0 1px rgba(95, 95, 95, 0.3);
}

#root .card_handlers_btn.menu-btn, #root .card_handlers_btn.plus-btn {
    padding: 0 6px;
}
.card_handlers_btn.active .btn-img {
    opacity: 1;
}

.card_handlers_btn > .btn-img {
    width: 12px;
    height: 12px;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 1;
    transition: .14s;
}

.slim-button > .btn-img {
    width: 14px;
    height: 14px;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 1;
    transition: .14s;
}

.card_handlers_btn:hover > .btn-img {
    opacity: .7;
}

.card_handlers_btn.like-btn > .btn-img {
    background-image: url('/ui/like.svg');
}

.card_handlers_btn.check-btn .btn-img {
    background-image: url('/ui/checked.svg');
}

.card_handlers_btn.create-btn > .btn-img {
    background-image: url('/ui/add.svg');
}

.card_handlers_btn > .btn-img {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    flex-grow: 0;
}

.card_handlers_btn.sell-btn > .btn-img {
    background-image: url('/ui/sell.svg');
}

.card_handlers_btn.wishlist-btn > .btn-img {
    background-image: url('/ui/wishlist.svg');
}

.card_handlers_btn.secret-btn > .btn-img {
    background-image: url('/ui/question.svg');
}

.card_handlers_btn.search-btn > .btn-img {
    background-image: url('/ui/search.svg');
}

.card_handlers_btn.edit-btn > .btn-img {
    background-image: url('/ui/pen.svg');
}

.card_handlers_btn.menu-btn > .btn-img {
    background-image: url('/ui/burger.svg');
}


.card_handlers_btn.gift-btn > .btn-img {
    background-image: url('/ui/gift-icon.svg');
    background-size: contain;
}

.card_handlers_btn.avatar-btn > .btn-img {
    background-image: url('/ui/avatar-icon.svg');
    background-size: contain;
}

.card_handlers_btn.link-btn > .btn-img {
    background-image: url('/ui/url-icon.svg');
    background-size: contain;
}

.card_handlers_btn.sub-btn > .btn-img {
    background-image: url('/ui/ring.svg');
    background-size: contain;
}

.card_handlers_btn.plus-btn > .btn-img {
    background-image: url('/ui/add.svg');
}

.card_handlers_btn.active.like-btn .btn-img {
    background-image: url('/ui/like-active.svg');
}

.card_handlers_btn.active.check-btn .btn-img {
    background-image: url('/ui/checked-active.svg');
}

.card_handlers_btn.active.create-btn .btn-img {
    background-image: url('/ui/add-active.svg');
}

.card_handlers_btn.active.search-btn .btn-img {
    background-image: url('/ui/search-active.svg');
}

.card_handlers_btn.active.sell-btn .btn-img {
    background-image: url('/ui/sell-active.svg');
}

.card_handlers_btn.active.wishlist-btn .btn-img {
    background-image: url('/ui/wishlist-active.svg');
}
.card_handlers_btn.active.drop-btn .btn-img {
    background-image: url('/ui/drop-active.svg');
}

#root .card_handlers_btn.loading {
    opacity: .7;
    pointer-events: none;
    animation: pulse-loading .6s infinite;
}

@keyframes pulse-loading {
    0% {
        opacity: .7;
    }
    50% {
        opacity: .6;
    }
    100% {
        opacity: .7;
    }
}



.card-dropdown {
    position: absolute;
    bottom: 10px;
    right: 10px;
    /* left: 10px; */
    max-width: calc(100% - 20px);
    box-sizing: border-box;
    padding: 12px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background-color: #ffffff;
    box-shadow: 0 5px 15px #dae1e7;
    z-index: 10;
    transform: translateY(10px);
    opacity: 0;
    visibility: hidden;
    transition: .2s;
    pointer-events: none;
}

#dark .card-dropdown {
    background-color: #2b2c30;
    box-shadow: 0 5px 15px #161718;
}

.card_handlers_btn.menu-btn:hover .card-dropdown {
    transform: translateY(0px);
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

#root .card-dropdown .card_handlers_btn {
    /* white-space: nowrap !important; */
    justify-content: start !important;
    padding: 0 12px 0 12px !important;
    gap: 12px !important;
    height: 42px !important;
}

.top-handler {
    position: absolute;
    top: 0;
    right: 10px;
    opacity: 1;
}

.card-box::after, .story-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    box-shadow: inset 0 0 0 1px #D6D6D6;
    border-radius: inherit;
    pointer-events: none;
    user-select: none;
    z-index: 3;
}

.tags-dropdown {
    position: absolute;
    bottom: 30px;
    left: 50%;
    width: 75%;
    max-height: 270px;
    overflow: auto;
    justify-content: center;
    min-width: 140px;
    max-width: calc(100% - 16px);
    box-sizing: border-box;
    padding: 12px;
    border-radius: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    background-color: #ffffff;
    box-shadow: 0 5px 15px #dae1e7;
    z-index: 10;
    transform: translate(-50%, 10px);
    opacity: 0;
    visibility: hidden;
    transition: .2s;
    pointer-events: none;
    box-sizing: border-box;
}

#dark .tags-dropdown {
    background-color: #2b2c30;
    box-shadow: 0 5px 15px #161718;
}

.card_handlers_btn.plus-btn:hover .tags-dropdown {
    transform: translate(-50%, 0);
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

#root .tags-dropdown .tag-item {
    display: block;
    padding: 8px 12px;
    border-radius: 9px;
    background-color: #c2c2c221;
    color: #3b3b3b;
    cursor: pointer;
    transition: .2s;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    flex-grow: 1;
}

#dark .tags-dropdown .tag-item {
    background-color: #9b9b9b21;
    color: white;
}

#root .card-box.indrop::after {
    box-shadow: inset 0 0 0 1px rgba(178, 45, 255, 0.445);
}

.card-box.yellow {
    box-shadow: 0 8px 12px rgba(255, 170, 0, 0.238);
}
#root .card-box.yellow::after {
    box-shadow: inset 0 0 0 2px rgba(255, 181, 70, 0.5);
}
.card-box.purple {
    box-shadow: 0 8px 12px rgba(172, 107, 255, 0.26);
}
#root .card-box.purple::after {
    box-shadow: inset 0 0 0 2px #AC6BFF;
}
.card-box.pink {
    box-shadow: 0 8px 12px rgba(255, 165, 216, 0.259);
}
#root .card-box.pink::after {
    box-shadow: inset 0 0 0 2px #FFA5D8;
}
.card-box.red {
    box-shadow: 0 8px 12px rgba(255, 105, 105, 0.23);
}
#root .card-box.red::after {
    box-shadow: inset 0 0 0 2px #FF6969;
}
.card-box.gold {
    box-shadow: 0 8px 12px rgba(255, 61, 0, 0.25);
}
#root .card-box.gold::after {
    box-shadow: inset 0 0 0 2px #FF5C00;
}
.card-box.yellow-grey {
    box-shadow: 0 8px 12px rgba(255, 255, 0, 0.238);
}
#root .card-box.yellow-grey::after {
    box-shadow: inset 0 0 0 2px rgba(125, 125, 125, 0.5)
}
.card-box.green {
    box-shadow: 0 3px 10px 0 rgba(77, 193, 103, 0.31);
}
#root .card-box.green::after {
    box-shadow: inset 0 0 0 2px #4DC167;
}
.card-box.blue {
    box-shadow: 0 3px 10px 0 rgba(0, 148, 255, 0.31);
}
#root .card-box.blue::after {
    box-shadow: inset 0 0 0 2px #60BCFF;
}
.card-box.dark-yellow {
    box-shadow: 0 3px 10px 0 rgba(255, 61, 0, 0.31);
}
#root .card-box.dark-yellow::after {
    box-shadow: inset 0 0 0 2px #FF9D2B;
}

#root .card-box.liked {
    box-shadow: 0 5px 34px rgb(255 10 10 / 71%);
}

#root .card-box.onsell {
    box-shadow: 0 5px 34px rgba(10, 149, 255, 0.71);
}

#root .card-box.onsell::after {
    box-shadow: inset 0 0 0 2px rgb(45, 136, 255) !important;
}

#root .card-box.indrop {
    box-shadow: 0 8px 30px rgba(255, 10, 214, 0.35);
}

#root .card-box.liked {
    box-shadow: 0 5px 34px rgb(255 10 10 / 71%);
}

#root .card-box.liked::after {
    box-shadow: inset 0 0 0 2px rgb(255 45 45) !important;
}

.card-picture {
    position: relative;
    overflow: hidden;
    aspect-ratio: 396 / 544;
    display: flex;
    align-items: center;
    border-radius: 1rem 1rem 0 0;
    /* min-height: 330px; */
}

.card-box.loading .card-picture {
    background: none;
    /* min-height: 330px; */
    aspect-ratio: 396 / 544;
    background: linear-gradient(270deg, #ffffff00, #5e66a31f, #ffffff00);
    background-size: 400% 400%;
    animation: pic-loading 1.3s infinite;
}


.missing-pic .card-picture {
    background: none;
    /* min-height: 330px; */
}

.missing-pic img {
    box-shadow: none !important;
}

.card-picture::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 200px;
    pointer-events: none;
    user-select: none;
    background: linear-gradient(180deg, rgba(17, 25, 72, 0.2) 0%, rgba(54, 46, 79, 0) 100%);
    opacity: 0;
    visibility: hidden;
    transition: .2s;
}
.card-box:hover .card-picture::before {
    opacity: 1;
    visibility: visible;
}
.card-picture, .set-picture {
    font-size: 0;
}

.card-picture img {
    /* border-radius: 1rem 1rem 0 0; */
    /* box-shadow: inset 0 0 0 5px white; */
    /* border-radius: 26px;
    box-shadow: inset 0 0 0 5px white;
    margin-bottom: 20px;
    box-shadow: 0 8px 20px #aaaeb53b; */
    z-index: 1;
    /* box-shadow: 0 0 0 1px white; */
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 0;
}

.card-picture .backdrop, .cardlist-picture .backdrop {
    position: absolute;
    top: -30px;
    height: calc(100% + 60px);
    left: -30px;
    width: calc(100% + 60px);
    background-position: center;
    background-size: cover;
    filter: blur(35px);
    z-index: 0;
    opacity: 0.4;
}


.card-box.nsfw .card-picture img {
    filter: blur(6px);
}
.card-box.nsfw.missing-pic .card-picture img {
    filter: none;
}

.card-box.nsfw .card-picture .backdrop {
    filter: blur(10px);
}

.card-box.placeholder {
    height: 100%;
    min-height: 250px;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    font-size: 18px;
    display: flex;
    gap: 16px;
    opacity: .5;
    color: #000;
    cursor: pointer;
    padding: 16px;
    box-sizing: border-box;
}

#dark .card-box.placeholder {
    color: #fff;
}

.card-box.placeholder:hover {
    opacity: 1;
}


.card-box.emb-item {
    height: 100%;
    min-height: 250px;
    grid-template-rows: auto 1fr;
    flex-direction: column;
    text-align: center;
    font-size: 18px;
    display: grid;
    opacity: .9;
    color: #000;
    box-sizing: border-box;
}

#dark .card-box.emb-item {
    color: #fff;
}

.card-box.emb-item:hover {
    opacity: 1;
}

#dark .card-box {
    background-color: #2B2C30;
}

#dark .card-box.blur, #root .card-box.blur {
    background-color: #0e033b66;
    backdrop-filter: blur(30px);
}

#dark .card-box.blur.last, #root .card-box.blur.last {
    background-color: #38305c94;
}

#dark .card-box.blur .card-info, #root .card-box.blur .card-info {
    background-color: transparent;
}

.card-box.blur .card-preinfo {
    padding: 12px 16px;
    background: rgb(49 49 57 / 91%);
    display: none;
}

#dark .card-box::after {
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

#dark .card_handlers::before {
    background-color: rgba(25, 27, 34, 0.74);
}

#dark .card_handlers_btn {
    background-color: rgba(95, 95, 95, 0.93);
    box-shadow: 0px 4px 10px rgba(74, 74, 74, 0.25);
}

#dark .card-box:not(:hover) .card_handlers.visible .card_handlers_btn:not(.active) {
    opacity: .2;
}


#dark .card-box:not(:hover) .card_handlers.visible .card_handlers_btn.active {
    opacity: 1;
    box-shadow: inset 0 0 0 1px #ffffff4f;
}
#dark .card_handlers.visible {
    opacity: .9;
}
#dark .card-box:hover .card_handlers {
    opacity: 1;
}

.card-preinfo {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(5.5px);
    text-align: center;
    box-sizing: border-box;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: .2s;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    pointer-events: none;
}
.card-info-name {
    font-style: normal;
    font-weight: 500;
    font-size: 20px;
    line-height: 24px;
    text-align: center;
    color: #413E38;
    text-decoration: none;
}

.to-favorites-button {
    display: inline-block;
    width: 12px;
    height: 12px;
    background-image: url('/ui/like.svg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: 12px;
    margin-left: 6px;
    opacity: .2;
    vertical-align: middle;
}

.to-favorites-button:hover {
    opacity: 1;
}

.to-favorites-button.active {
    display: inline-block;
    width: 16px;
    height: 16px;
    background-image: url('/ui/like-active-red.svg');
    opacity: 1;
}

.card-info-series {
    margin-top: 4px;
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 17px;
    /* identical to box height */

    text-align: center;

    color: #909194;
    text-decoration: none;
}

#dark .card-info-series {
    color: #909194;
}

.card-info-name:hover, .card-info-series:hover {
    text-decoration: underline;
}
.set-info-name {
    color: #000;
}
.card-subinfo, .set-subinfo {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 13px 14px;
    position: relative;
    gap: 3px;
}

.card-subinfo .card-id {
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 12px;
    font-weight: 500;
    color: #ffffff04;
    z-index: 2;
}

.set-subinfo {
    padding: 16px 16px 16px;
    justify-content: center;
}

/* .card-price {
    position: absolute;
    top: 0;
    left: 13px;
    background-color: #5da228;
    transform: translateY(-50%);
    z-index: 10;
    font-size: 14px;
    color: #fff;
    padding: 5px 8px;
    white-space: nowrap;
    border-radius: 6px;
    box-shadow: inset 0 0 0 1px #ffffff87;
    font-weight: 500;
} */

.card-price {
    background-color: #6fff0024;
    font-size: 14px;
    color: #67c61d;
    box-shadow: inset 0 0 0 1px #73c72f1a;
    padding: 5px 8px;
    white-space: nowrap;
    border-radius: 6px;
    font-weight: 500;
}
.card-price.purple {
    background: linear-gradient(120deg, #4FA0FF -4.18%, #524FFF 40.2%, #B338FF 100%);
    color: #fefefe;
    box-shadow: 0 0 0 1px rgb(255 255 255 / 14%);
    font-weight: 400;
    cursor: pointer;
}

.card-price.purple:hover {
    opacity: .8;
}
.card-price.disabled {
    background: unset;
    color: #000000;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.14);
    font-weight: 400;
    cursor: default;
    pointer-events: none;
    opacity: .5;
}
#dark .card-price.disabled {
    background: unset;
    color: #fefefe;
    box-shadow: 0 0 0 1px rgb(255 255 255 / 14%);
    font-weight: 400;
    cursor: default;
    pointer-events: none;
    opacity: .5;
}

.card-price_val {
    display: inline-block;
}

.card-price_currency {
    display: inline-block;
}

.card-tags{
    padding: 6px 6px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px 6px;
    justify-content: center;
    margin-bottom: -1px;
}

.card-tags .tag {
    background-color: #9b9b9b21;
    padding: 5px 9px;
    color: white;
    border-radius: 9px;
    font-size: 14px;
    cursor: help;
    position: relative;
}

.card-tags .tag button {
    background-color: #9b9b9b21;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    padding: 3px 6px;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 12px;
    cursor: pointer;
    position: absolute;
    margin: 0;
    backdrop-filter: blur(6px);
    opacity: 0;
    transition: .2s;
}

.card-tags .tag:hover button {
    opacity: 1;
}

.profile-tags {
    justify-content: start;
    padding: 0;
    margin-top: 24px;
    gap: 9px;
    align-items: center;
}

.card-tags .spacer {
    flex-grow: 999999;
}

#root .card-tags .tag.blue, #root .tag-item.active.blue {
    background-color: #4e8cff21;
    box-shadow: 0 0 0 1px #4e8cff50;
    color: #6199ff;
}

#root .card-tags .tag.light-blue, #root .tag-item.active.blue {
    background-color: #4ed0ff21;
    box-shadow: 0 0 0 1px #4ec6ff50;
    color: #61cbff;
}

#root .card-tags .tag.green, #root .tag-item.active.green {
    background-color: #52e70d21;
    box-shadow: 0 0 0 1px #52e70d50;
    color: #72d30c;
}

#root .card-tags .tag.red, #root .tag-item.active.red {
    background-color: #ff4e4e21;
    box-shadow: 0 0 0 1px #ff4e4e50;
    color: #ff6161;
}

#root .card-tags .tag.gold, #root .tag-item.active.gold {
    background-color: #ffc14e21;
    box-shadow: 0 0 0 1px #ffc14e50;
    color: #ffb561;
}

#root .card-tags .tag.purple, #root .tag-item.active.purple {
    background-color: #ff4eaf21;
    box-shadow: 0 0 0 1px #ff4eaf50;
    color: #ff61c2;
}

#root .card-tags .tag.yellow, #root .tag-item.active.yellow {
    background-color: #ff763921;
    box-shadow: 0 0 0 1px #e7860d30;
    color: #d39748;
}

#root .card-tags .tag.grey, #root .tag-item.active.grey {
    background-color: #afafaf0f;
    box-shadow: 0 0 0 1px #a9a9a929;
    color: #838383;
}

.comment, .card-username_box {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    align-items: center;
    word-break: break-word;
    padding: 0px 12px 9px;
    font-size: 14px;
    color: rgb(163, 163, 163);
    flex-wrap: wrap;
}

.comment-input {
    width: 100%;
    border: none;
    outline: none;
    resize: none;
    background-color: transparent;
    font-weight: 400;
    color: #1f1f1f;
    font-weight: 500;
    font-size: 14px;
    height: 28px;
}

#dark .comment-input {
    color: #fff;
}

.comment-btn, .close-btn {
    width: 28px;
    height: 28px;
    background-color: rgba(255, 255, 255, 0.43);
    box-shadow: inset 0 0 0 1px #e7e7e7;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    outline: none;
    box-sizing: border-box; 
}

#dark .comment-btn, #dark .close-btn {
    background-color: rgba(89, 89, 89, 0.43);
    box-shadow: none;
}

.comment-btn .btn-img {
    background-image: url('/ui/save.svg');
    width: 12px;
    height: 12px;
}

.card-username_box {
    display: flex;
    justify-content: space-between;
    align-items: start;
    padding: 3px 12px 12px;
}

.card-user {
    display: flex;
    gap: 12px;
    align-items: center;
    text-align: left;
    word-break: break-word;
    font-size: 16px;
    color: rgb(0, 0, 0);
    font-weight: 500;
    text-decoration: none;
}

#dark .card-user {
    color: rgb(255, 255, 255);
}

.card-user_avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-image: url('/ui/default-avatar.png');
}

.card-info-set {
    font-size: 14px;
    font-weight: 400;
    text-decoration: none;
    color: rgba(68, 68, 68, 0.6);
    cursor: pointer;
    z-index: 1;
    padding-left: 5px;
    text-align: left;
}


.card-info-set.full {
    color: #4DC167;
}

.card-info-set:hover {
    text-decoration: underline;
}



.card-info-number {
    text-align: center;
    color: #5B5B5B;
    position: absolute;
    left: 0;
    width: 100%;
    font-size: 16px;
    font-weight: 500;
    z-index: 0;
    cursor: pointer;
}

.card-info-number:hover {
    text-decoration: underline;
}

.card-info-rarity {
    display: inline-flex;
    position: relative;
    padding: 0 12px;
    height: 34px;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    white-space: nowrap;
}

.card-info-rarity > span {
    position: relative;
    z-index: 1;
    color: #ADAEB0;
    /* filter: drop-shadow(0 1px 2px rgb(172, 109, 8)); */
}
.card-info-rarity::after {
    position: absolute;
    content: '';
    left: 0;
    top: 1px;
    right: 0;
    height: 100%;
    background: rgba(163, 163, 163, 0.08);
    z-index: 0;
    border-radius: 9px;
}

.card-info-rarity.r::after {
    background: rgba(163, 163, 163, 0.08);
    box-shadow: inset 0 0 0 1px rgb(163 163 163 / 12%);
}

.card-info-rarity.yellow::after {
    background-color: rgba(247, 169, 1, 0.144);
}
.card-info-rarity.yellow>span {
    color: rgb(247 171 1);
}
.card-info-rarity.purple::after {
    background: rgba(174, 112, 255, 0.19);
}
.card-info-rarity.purple>span {
    color: #AC6BFF;
}
.card-info-rarity.pink::after {
    background: hsla(326, 100%, 82%, 0.09);
}
.card-info-rarity.pink>span {
    color: #FFA5D8;
}
.card-info-rarity.red::after {
    background: rgba(255, 105, 105, 0.08);
}
.card-info-rarity.red>span  {
    color: #FF6969;
}
.card-info-rarity.gold::after {
    background: linear-gradient(118.65deg, #FFB800 0%, #ED6125 100%);
}
.card-info-rarity.gold>span {
    color: rgb(255, 255, 255);
}
.card-info-rarity.grey-yellow::after {
    background-color: rgb(75, 75, 75);
}
.card-info-rarity.yellow-grey>span {
    color: rgb(255, 223, 154);
}
.card-info-rarity.grey::after {
    background-color: rgba(193, 199, 204, 0.4);
}
.card-info-rarity.grey>span {
    color: #AEB6BC;
}
.card-info-rarity.green::after {
    background: rgba(77, 193, 103, 0.12);
}
.card-info-rarity.green>span {
    color: #4dc167;
}
.card-info-rarity.blue::after {
    background: rgba(96, 188, 255, 0.15);
}
.card-info-rarity.blue>span {
    color: #60bcff;
}
.card-info-rarity.dark-yellow::after {
    background: rgba(255, 134, 96, 0.1);
}
.card-info-rarity.dark-yellow>span {
    color: #ff9060;
}

.card-username_box .user-online,
.card-username_box .user-offline{
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background-color: #009B76;
    margin-left: 4px;
    display: inline-block;
    /* vertical-align: middle; */
}

.card-username_box .user-offline {
    background-color: #4c4c4c;
}





@media screen and (max-width: 767px) {
    .card-box {
        border-radius: 12px;
    }
}