.trades-page-box {
    overflow: hidden;
}

.trade-list {
    padding: 15px;
}

.trade-card {
    background: rgba(0, 0, 0, .18);
    border-bottom: 1px dashed rgba(255, 255, 255, .08);
    padding: 0 0 15px;
    margin-bottom: 15px;
}

.trade-card:last-child {
    border-bottom: 0;
    margin-bottom: 0;
    padding-bottom: 0;
}

.trade-card-head {
    background: rgba(0, 0, 0, .18);
    border-bottom: 1px dashed rgba(255, 255, 255, .08);
    padding: 10px 15px;
    margin-bottom: 15px;
}

.trade-card-title {
    color: #fff;
    font: 400 18px 'Roboto Condensed', sans-serif;
    text-transform: uppercase;
}

.trade-card-date {
    color: rgba(255, 255, 255, .52);
    font: 300 12px 'Roboto', sans-serif;
    margin-top: 3px;
}

.trade-arrow {
    color: rgba(255, 255, 255, .65);
    display: inline-block;
    margin: 0 8px;
}

.tradeo-container {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 58px minmax(0, 1fr);
    gap: 12px;
    align-items: stretch;
    padding: 0 15px;
}

.trade-user-panel {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    grid-template-rows: auto auto 1fr;
    column-gap: 12px;
    min-height: 158px;
    padding: 10px;
    background: rgba(0, 0, 0, .16);
    border: 1px solid rgba(255, 255, 255, .06);
    border-radius: 2px;
    box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .12);
}

.trade-user-panel.is-profile-user {
    border-color: rgba(0, 255, 255, .18);
    box-shadow: 0 0 3px rgba(0, 255, 255, .18), inset 0 -2px 0 rgba(0, 0, 0, .12);
}

.trade-user-avatar {
    grid-row: 1 / 4;
    width: 92px;
    height: 140px;
    display: block;
    background-position: center top;
    background-repeat: no-repeat;
    background-color: rgba(255, 255, 255, .04);
    border-radius: 2px;
}

.trade-user-name {
    color: #fff;
    font: 400 16px 'Roboto Condensed', sans-serif;
    text-transform: uppercase;
    text-decoration: none;
}

.trade-user-name:hover {
    color: #fff;
    text-decoration: underline;
}

.trade-user-count {
    color: rgba(255, 255, 255, .52);
    font: 300 12px 'Roboto', sans-serif;
    margin-top: 2px;
}

.trade-items-list {
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    gap: 3px;
    list-style: none;
    margin: 10px 0 0;
    padding: 0;
}

.trade-item {
    width: 43px;
    height: 43px;
    padding: 0;
    background-position: center;
    background-repeat: no-repeat;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 10%;
    position: relative;
    transition: box-shadow .2s ease;
}

.trade-item-missing {
    background: rgba(255, 255, 255, .035);
}

.trade-item-missing::before {
    content: "?";
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, .35);
    font: 700 16px 'Roboto Condensed', sans-serif;
}

.trade-item:hover {
    box-shadow: 0 0 3px rgba(0, 255, 255, 1), 0 0 3px rgba(0, 255, 255, 1);
}

.trade-item .item-count {
    position: absolute;
    bottom: 2px;
    right: 2px;
    color: #fff;
    font-size: 10px;
    line-height: 1;
    background: rgba(0, 0, 0, .5);
    border-radius: 2px;
    padding: 1px 3px;
}

.trade-items-empty {
    color: rgba(255, 255, 255, .48);
    font: 300 12px 'Roboto', sans-serif;
    margin-top: 12px;
    padding: 10px;
    background: rgba(0, 0, 0, .12);
    border: 1px dashed rgba(255, 255, 255, .06);
    text-align: center;
}

.tradeo-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.tradeo-image i {
    color: rgba(255, 255, 255, .72);
    font-size: 22px;
    text-shadow: 0 0 3px rgba(0, 255, 255, .35);
}

.trades-page-box.is-trades-loading {
    opacity: .78;
    pointer-events: none;
}

.trade-card-skeleton .trade-skeleton-line,
.trade-card-skeleton .trade-skeleton-avatar,
.trade-card-skeleton .trade-item {
    background: linear-gradient(90deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .095), rgba(255, 255, 255, .045));
    background-size: 220% 100%;
    animation: tradeSkeletonPulse 1.35s ease-in-out infinite;
}

.trade-card-skeleton .trade-skeleton-line {
    border-radius: 2px;
    display: inline-block;
    height: 10px;
}

.trade-card-skeleton .trade-skeleton-line.is-title {
    height: 17px;
    width: 185px;
}

.trade-card-skeleton .trade-skeleton-line.is-date {
    width: 102px;
}

.trade-card-skeleton .trade-skeleton-line.is-name {
    height: 15px;
    margin-top: 3px;
    width: 82px;
}

.trade-card-skeleton .trade-skeleton-line.is-count {
    margin-top: 4px;
    width: 96px;
}

.trade-card-skeleton .trade-skeleton-avatar {
    grid-row: 1 / 4;
    width: 92px;
    height: 140px;
    border-radius: 2px;
}

.trade-card-skeleton .trade-item {
    border-color: rgba(255, 255, 255, .06);
}

.kx-page-stepper {
    align-items: center;
    display: flex;
    gap: 10px;
    justify-content: center;
    padding: 0 15px 15px;
}

.kx-page-stepper__btn {
    align-items: center;
    background: rgba(0, 0, 0, .22);
    border: 1px solid rgba(255, 255, 255, .12);
    color: rgba(255, 255, 255, .78);
    cursor: pointer;
    display: inline-flex;
    gap: 6px;
    height: 32px;
    justify-content: center;
    min-width: 104px;
    padding: 0 12px;
    text-transform: uppercase;
    font: 700 11px 'Roboto Condensed', sans-serif;
}

.kx-page-stepper__btn:hover:not(:disabled) {
    border-color: rgba(255, 159, 28, .52);
    color: #fff;
}

.kx-page-stepper__btn:disabled {
    cursor: default;
    opacity: .45;
}

.kx-page-stepper__info {
    color: rgba(255, 255, 255, .62);
    font: 700 12px 'Roboto', sans-serif;
    min-width: 54px;
    text-align: center;
}

@keyframes tradeSkeletonPulse {
    0% {
        background-position: 100% 0;
    }
    100% {
        background-position: -120% 0;
    }
}

