/*我要卖*/
.p-game .bg-panel,
.p-buy-product .bg-panel,
.p-sell .bg-panel, .p-choose-cs .bg-panel {
    background: var(--background-white);
    border-radius: 16px;
}

.p-game .panel-header,
.p-sell .panel-header,
.p-choose-cs .panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 54px;
    border-bottom: 1px solid #F5F5F5;
    padding: 0 30px;
}

.p-sell .step-item {
    display: flex;
    align-items: center;
    color: var(--color-secondary);
}

.p-sell .step-item:not(:last-child):after {
    content: '';
    width: 60px;
    height: 1px;
    background: #EDEDED;
    margin: 0 10px;
}

.p-sell .step-item .num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: var(--background-primary);
    border-radius: 50%;
    margin-right: 6px;
}

.p-sell .step-item.on {
    color: var(--color-highlight);
}

.p-sell .step-item.on .num {
    background: var(--color-highlight);
    color: var(--color-white);
}

.p-sell .step-item.finished {
    color: var(--color-primary);
}

.p-sell .step-item.finished .num {
    background: var(--background-primary2);
    color: var(--color-white);
}

.p-game .panel-body {
    padding: 30px;
}

.p-game .game-type {
    display: flex;
    align-items: flex-end;
    gap: 30px;
}

.p-game .game-type-item {
    color: var(--color-primary-muted);
    cursor: pointer;
}

.p-game .game-type-item.on {
    font-weight: 700;
    font-size: 18px;
    color: var(--color-primary);
    cursor: default;
}

.p-game .letter-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 34px;
    background: #FCF7F7;
    border-radius: 17px;
    gap: 20px;
    padding: 0 30px;
    margin-top: 30px;
}

.p-game .letter-item {
    color: #BF999F;
    cursor: pointer;
}

.p-game .letter-item.on {
    color: var(--color-highlight);
    cursor: default;
}

.p-game .game-wrapper {
    display: flex;
    gap: 30px 50px;
    flex-wrap: wrap;
    padding: 30px 24px 0 24px;
}

.p-game .game-item {
    width: 88px;
    position: relative;
    cursor: pointer;
}

.p-game .game-item.mobile-game:after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    width: 41px;
    height: 22px;
    background-image: url("https://static.9891.com/9891/img/01/icon-mobile-game.png");
    background-size: 41px 22px;
    z-index: 1;
}

.p-game .game-logo {
    display: block;
    width: 88px;
    height: 88px;
    border-radius: 12px;
    overflow: hidden;
    object-fit: cover;
}

.p-game .game-name {
    display: inline-block;
    text-align: center;
    color: var(--color-primary-muted);
    padding: 0 8px;
    height: 60px;
    margin-top: 16px;
    white-space: normal;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.p-sell-info .panel-body, .p-retrieve-merchant .panel-body, .p-choose-cs .panel-body {
    padding: 0 30px 30px 30px;
}

.p-sell-info .game-wrapper,
.p-retrieve-merchant .game-wrapper,
.p-choose-cs .game-wrapper {
    height: 80px;
    border-bottom: 1px dashed var(--color-border2);
}

.p-sell-info .game-logo,
.p-retrieve-merchant .game-logo,
.p-choose-cs .game-logo {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    overflow: hidden;
    object-fit: cover;
}

.p-sell-info .game-name,
.p-retrieve-merchant .game-name,
.p-choose-cs .game-name {
    font-size: 18px;
    font-weight: 700;
    margin-left: 18px;
}

.p-sell-info .game-wrapper .btn-choose, .p-retrieve-merchant .btn-choose, .p-choose-cs .btn-choose {
    display: inline-flex;
    align-items: center;
    height: 24px;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 0 10px;
    font-size: 12px;
    color: var(--color-highlight);
    margin-left: 30px;
}

.p-sell-info .form-item-title {
    display: inline-flex;
    align-items: center;
    width: 120px;
    min-height: 34px;
    margin-right: 10px;
    color: var(--color-primary6);
    flex-shrink: 0;
}

.p-sell-info .form-item-title:before, .p-sell-info .assign-input-title:before {
    content: '*';
    color: var(--color-highlight);
}

.p-sell-info .select-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    flex: 1;
}

.p-sell-info .bg-block-link .select-list {
    width: 1100px;
    flex: unset;
}

.p-sell-info .select-item {
    display: inline-flex;
    align-items: center;
    height: 34px;
    border-radius: 17px;
    background: var(--background-primary);
    color: var(--color-primary-muted);
    padding: 0 16px;
    border: 1px solid var(--background-primary);
    cursor: pointer;
}

.p-sell-info .select-item.on {
    border-color: var(--color-border);
    background: var(--background-primary3);
    color: var(--color-highlight);
}

.p-sell-info .bg-block {
    display: flex;
    align-items: flex-start;
    margin-top: 20px;
}

.p-sell-info .bg-block-link {
    display: flex;
    flex-wrap: wrap;
    margin-top: 20px;
}

.p-sell-info .input-wrapper {
    display: inline-flex;
    align-items: center;
    width: 100%;
    background: var(--background-white);
    border-radius: 8px;
    border: 1px solid var(--color-border3);
    padding: 0 10px;
    position: relative;
}

.p-sell-info .input {
    width: 100%;
    height: 34px;
}

.p-sell-info .textarea {
    width: 100%;
    height: 72px;
    border: none;
    padding: 10px 0;
}

.p-sell-info .input-wrapper.md {
    width: 300px;
}

.p-sell-info .input::placeholder, .p-buy-product .search-wrapper .input::placeholder, .p-sell-info .textarea::placeholder {
    color: var(--color-primary4);
}

.p-sell-info .tips {
    margin-bottom: 10px;
}

.p-sell-info .tips a {
    color: var(--color-highlight-link);
}

.p-sell-info .assign-input-wrapper {
    display: flex;
    align-items: center;
    margin-top: 10px;
}

.p-sell-info .assign-input-title {
    margin-right: 10px;
}

.p-sell-info .btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 140px;
    height: 44px;
    font-size: 16px;
    font-weight: 700;
    color: var(--color-white);
    border-radius: 12px;
    background: var(--background-highlight);
}

.p-sell-info .btn-submit.disabled {
    background: #F092A2;
}

.p-sell-info .panel-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 4px;
}

.p-sell-info .btn-upload {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: var(--background-primary);
    border-radius: 12px;
    border: 1px dashed var(--color-border3);
    cursor: pointer;
}

.p-sell-info .btn-upload img {
    width: 20px;
    height: 20px;
}

.p-sell-info .game-screenshot-tips, .p-sell-info .price-detail-tips, .p-sell-info .assign-tips {
    color: var(--color-secondary);
    font-size: 12px;
    margin-top: 10px;
}

.p-sell-info .assign-tips span {
    color: var(--color-primary);
}

.p-sell-info .game-screenshot-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.p-sell-info .screenshot-item {
    position: relative;
    width: 80px;
    height: 80px;
}

.p-sell-info .screenshot-item img {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    overflow: hidden;
    object-fit: cover;
}

.p-sell-info .screenshot-item .btn-delete {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 20px;
    height: 20px;
    background: rgba(0, 0, 0, .4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.p-sell-info .screenshot-item .btn-delete:after {
    content: '';
    width: 10px;
    height: 10px;
    background: url("https://static.9891.com/9891/img/01/icon-close-white.png") no-repeat;
    background-size: 100%;
}

.p-sell-info .price-unit {
    position: absolute;
    line-height: 32px;
    top: 0;
    right: 10px;
}

.p-sell-info .price-input-wrapper {
    padding-right: 34px;
}

.p-sell-info .price-detail {
    margin-top: 10px;
}

.p-sell-info .price-detail > p:not(:last-child) {
    margin-right: 10px;
}

.p-sell-info .price-detail > p:not(:last-child):after {
    content: '|';
    margin-left: 10px;
}

.p-sell-result .panel-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 160px;
    padding-bottom: 30px;
}

.p-sell-result .res-text {
    font-size: 20px;
    font-weight: 700;
    margin-top: 10px;
}

.p-sell-result .res-desc {
    width: 320px;
    text-align: center;
    color: var(--color-secondary);
    line-height: 24px;
    margin-top: 24px;
}

.p-sell-result .btn-wrapper {
    gap: 16px;
    margin-top: 30px;
}

.p-sell-result .btn-primary {
    width: 140px;
    height: 44px;
    color: var(--color-highlight);
    font-size: 16px;
    border-radius: 12px;
    border: 1px solid var(--color-border);
    cursor: pointer;
}

.p-sell-result .btn-active, .dialog-footer .btn-active {
    width: 140px;
    height: 44px;
    color: var(--color-white);
    font-size: 16px;
    background: var(--background-highlight);
    border-radius: 12px;
    cursor: pointer;
}

/*我要买*/
.p-buy-product .panel-header {
    padding: 20px 26px 30px;
    border-bottom: 1px solid var(--color-border2);
}

.p-buy-product .chosen-game {
    display: flex;
    align-items: center;
    height: 80px;
    border-bottom: 1px dashed var(--color-border2);
    margin-bottom: 20px;
}

.p-buy-product .cur-game-logo {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 10px;
    overflow: hidden;
}

.p-buy-product .cur-game-name {
    font-size: 18px;
    font-weight: 700;
    margin-left: 18px;
}

.p-buy-product .btn-exchange {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 24px;
    padding: 0 10px;
    color: var(--color-highlight);
    font-size: 12px;
    border-radius: 12px;
    border: 1px solid var(--color-border);
    cursor: pointer;
    margin-left: 30px;
}

.p-buy-product .filter-title {
    display: inline-flex;
    align-items: center;
    width: 84px;
    min-height: 34px;
    flex-shrink: 0;
}

.p-buy-product .type-list-wrapper {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    height: 34px;
    overflow: hidden;
}

.p-buy-product .type-list-wrapper.on {
    height: auto;
}

.p-buy-product .type-item {
    display: inline-flex;
    align-items: center;
    height: 34px;
    color: var(--color-primary-muted);
    padding: 0 16px;
    background: var(--background-primary);
    border: 1px solid var(--background-primary);
    border-radius: 17px;
    cursor: pointer;
    flex-shrink: 0;
}

.p-buy-product .type-item.on {
    color: var(--color-highlight);
    background: var(--background-primary3);
    border: 1px solid var(--color-border);
}

.p-buy-product .btn-expand {
    display: inline-flex;
    align-items: center;
    height: 34px;
    color: var(--color-primary-muted);
    margin-left: auto;
    cursor: pointer;
    flex-shrink: 0;
}

.p-buy-product .btn-expand:after {
    content: '';
    width: 10px;
    height: 10px;
    background: url("https://static.9891.com/9891/img/01/icon-arrow-down.png") no-repeat right center;
    background-size: 100%;
    margin-left: 10px;
    transition: all 150ms ease-in-out;
}

.p-buy-product .btn-expand.on:after {
    transform: rotate(180deg);
    transform-origin: 50% 50%;
}

.p-buy-product .search-wrapper {
    display: flex;
    align-items: center;
    width: 300px;
    height: 34px;
    border: 1px solid var(--color-border3);
    border-radius: 8px;
    padding: 0 10px;
}

.p-buy-product .search-wrapper .input {
    width: 80%;
}

.p-buy-product .search-wrapper .btn-search {
    color: var(--color-highlight);
    cursor: pointer;
    margin-left: auto;
}

.p-buy-product .filter-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 24px;
}

.p-buy-product .sort-wrapper {
    display: flex;
    gap: 30px;
}

.p-buy-product .sort-item {
    display: flex;
    align-items: center;
    color: var(--color-primary-muted);
    cursor: pointer;
}

.p-buy-product .sort-item.on, .p-buy-product .price-filter span.on {
    color: var(--color-highlight);
}

.p-buy-product .arrow, .p-com-product .arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    background: var(--background-primary);
    border: 1px solid var(--color-border3);
    border-radius: 4px;
    margin-left: 10px;
}

.p-buy-product .arrow:after, .p-com-product .arrow:after {
    content: '';
    width: 8px;
    height: 6px;
    background: url("https://static.9891.com/9891/img/01/icon-arrow-up.png") no-repeat;
    background-size: 100%;
    transform: rotate(180deg);
    transform-origin: 50% 50%;
    transition: all 150ms ease-in-out;
}

.p-buy-product .arrow.up:after, .p-com-product .arrow.up:after, .p-footer-wrapper .icon-price-detail:hover .arrow:after {
    transform: rotate(0deg);
}

.p-buy-product .price-filter {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--color-primary-muted);
}

.p-buy-product .price-filter > span {
    cursor: pointer;
}

.p-buy-product .custom-price {
    display: flex;
    align-items: center;
    width: 110px;
    height: 34px;
    background: var(--background-primary);
    border: 1px solid var(--color-border3);
    border-radius: 8px;
    color: var(--color-primary4);
    margin-left: 20px;
}

.p-buy-product .custom-price input {
    width: 50px;
    border: none;
    background: var(--background-primary);
    padding: 0 6px;
    text-align: center;
}

.p-buy-product .game-banner {
    display: flex;
    width: 100%;
    height: auto;
    border-radius: 12px;
    overflow: hidden;
    margin-top: 40px;
}

.p-buy-product .game-banner img {
    width: 100%;
    height: 100%;
}

.p-buy-product .panel-body {
    padding: 20px 22px;
}

.p-buy-product .goods-item-wrapper {
    display: grid;
    grid-template-columns:repeat(5, 240px);
    gap: 14px 16px;
}

.p-buy-product .buy-goods-item, .p-buy-product .buy-ctc-img-item {
    padding: 10px;
    line-height: 1;
    transition: all 150ms ease-in-out;
}

.p-buy-product .buy-goods-item:hover, .p-buy-product .buy-ctc-img-item:hover {
    background: var(--background-primary);
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
}

.buy-goods-item .img-wrapper, .buy-ctc-img-item .img-wrapper {
    display: block;
    width: 220px;
    height: 136px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 14px;
    position: relative;
}

.buy-goods-item .img-wrapper img, .buy-ctc-img-item .img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.buy-goods-item .goods-name {
    line-height: 24px;
    height: 48px;
}

.buy-goods-item .info-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 102px;
}

.buy-goods-item .desc {
    color: var(--color-secondary);
    font-size: 12px;
    line-height: 1;
}

.buy-goods-item .time, .buy-ctc-img-item .stock {
    color: var(--color-secondary);
    font-size: 12px;
}

.buy-goods-item .price, .buy-ctc-item .price, .buy-ctc-img-item .price {
    font-weight: 700;
    color: var(--color-highlight);
}

.buy-goods-item .tags-wrapper {
    display: flex;
    align-items: center;
    height: 18px;
    flex-wrap: wrap;
    gap: 4px;
    overflow: hidden;
}

.buy-goods-item .tag {
    display: inline-flex;
    align-items: center;
    height: 18px;
    padding: 0 4px;
    font-size: 12px;
    background: #dbbb39;
    flex-shrink: 0;
}

.buy-goods-item .tag-new {
    color: var(--color-white);
    background: var(--background-highlight);
}

.p-buy-product .btn-more {
    display: inline-flex;
    align-items: center;
    height: 44px;
    padding: 0 20px;
    color: var(--color-primary7);
    background: var(--background-primary);
    border-radius: 8px;
    border: 1px solid var(--color-border3);
    margin: 20px 0;
}

/*ctc金币列表*/
.ctc-sort-wrapper .custom-input-wrapper {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.ctc-sort-wrapper .custom-radio, .ctc-sort-wrapper .custom-checkbox {
    accent-color: var(--color-highlight);
    margin-right: 6px;
}

.buy-ctc-item {
    display: flex;
    align-items: center;
    height: 96px;
    padding: 0 20px;
    border-bottom: 1px dashed var(--color-border2);
}

.p-buy-product .ctc-list-th {
    display: flex;
    align-items: center;
    height: 30px;
    padding: 0 20px;
    background: var(--background-primary);
}

.p-buy-product .ctc-cell-1 {
    width: 400px;
}

.p-buy-product .ctc-cell-4 {
    width: 200px;
}

.p-buy-product .ctc-cell-2, .p-buy-product .ctc-cell-3, .p-buy-product .ctc-cell-5 {
    width: 150px;
}

.buy-ctc-item > div {
    flex-shrink: 0;
}

.buy-ctc-item .tags-wrapper {
    display: flex;
    flex-direction: column;
    width: fit-content;
    gap: 6px;
}

.buy-ctc-item .tag-service, .buy-ctc-img-item .tag-service {
    display: inline-flex;
    align-items: center;
    height: 16px;
    color: var(--color-white);
    font-size: 12px;
    padding: 0 4px;
    background: #2EB976;
    border-radius: 4px;
}

.buy-ctc-img-item .tag-service {
    margin-right: 10px;
    flex-shrink: 0;
    position: absolute;
    left: 0;
    top: 4px;
}

.p-buy-product .tag-service.yjpf {
    background: #f09153;
}


.buy-ctc-item .goods-name {
    margin-left: 10px;
}

.buy-ctc-item .desc {
    font-size: 12px;
    color: var(--color-secondary);
}

.buy-ctc-item .right-btns {
    margin-left: auto;
}

.buy-ctc-item .btn-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 92px;
    height: 32px;
    color: var(--color-highlight);
    font-size: 14px;
    border-radius: 16px;
    border: 1px solid var(--color-border);
    padding: 0 10px;
    cursor: pointer;
}

.buy-ctc-item .btn-primary:hover {
    color: var(--color-white);
    background: var(--background-highlight);
}

.buy-ctc-img-item .goods-name-wrapper {
    position: relative;
    margin-bottom: 10px;
}

.buy-ctc-img-item .goods-name {
    height: 48px;
    line-height: 24px;
    text-indent: 42px;
}

.buy-ctc-img-item .img-wrapper .icon-yajin {
    position: absolute;
    left: 4px;
    top: 4px;
    width: auto;
    height: 22px;
}

.p-buy-detail {
    margin-bottom: 106px;
}

.p-com-product .bg-block {
    padding: 30px;
    border-radius: 16px;
    background: var(--background-white);
    margin-bottom: 16px;
}

.p-com-product .img-wrapper-large {
    width: 540px;
    height: 334px;
    border-radius: 16px;
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.p-com-product .img-wrapper-large img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
}

.p-com-product .right-info {
    width: 680px;
    position: relative;
}

.p-com-product .goods-name-wrapper {
    max-height: 156px;
    overflow: hidden;
    position: relative;
}

.p-com-product .goods-name-wrapper.expanded {
    max-height: none;
}

.p-com-product .goods-name-content, .p-com-product .complete-goods-name-content {
    line-height: 26px;
    font-size: 16px;
    text-align: justify;
}

.p-com-product .goods-name-wrapper .btn-expand {
    position: absolute;
    right: 0;
    bottom: 0;
    line-height: 26px;
    color: var(--color-primary-muted);
    background: var(--background-white);
    z-index: 1;
    font-size: 16px;
    cursor: pointer;
}

.p-com-product .complete-goods-name {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    background: var(--background-white);
    z-index: 1;
    padding: 0 10px;
    overflow: scroll;
}

.p-com-product .btn-collapse {
    color: var(--color-primary-muted);
    text-align: right;
    cursor: pointer;
}

.p-com-product .desc {
    font-size: 12px;
    color: var(--color-secondary);
    margin-top: 10px;
}

.p-com-product .price-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
    padding: 0 20px;
    background: var(--background-primary);
    margin-top: 30px;
}

.p-com-product .price {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-highlight);
}

.p-com-product .price span {
    font-size: 16px;
}

.p-com-product .origin-price {
    text-decoration: line-through;
    color: var(--color-secondary);
    margin-left: 10px;
}

.p-com-product .time {
    color: var(--color-secondary);
    font-size: 12px;
}

.p-com-product .btn-wrapper {
    display: flex;
    justify-content: flex-end;
    gap: 16px;
}

.p-com-product .btn-active {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 140px;
    height: 44px;
    background: var(--background-highlight);
    border-radius: 12px;
    color: var(--color-white);
    font-weight: 700;
    font-size: 16px;
}

.p-com-product .btn-active.md {
    width: 180px;
}

.dialog-bargain-buyer .btn-active.lg {
    width: 100%;
}

.p-com-product .btn-active.disabled {
    background: var(--background-primary4);
    cursor: default;
}

.p-com-product .btn-active.hasTime {
    flex-direction: column;
}

.p-com-product .btn-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 140px;
    height: 44px;
    color: var(--color-highlight);
    font-size: 16px;
    border-radius: 12px;
    border: 1px solid var(--color-border);
    padding: 0 10px;
    cursor: pointer;
}

.p-com-product .btn-primary.disabled {
    color: #F092A2;
    border: 1px solid #FFE3E3;
}

.p-buy-detail .time-count {
    font-size: 12px;
    color: var(--color-primary8);
    font-weight: normal;
}

.p-buy-detail .product-intro-type {
    display: flex;
    align-items: flex-end;
    gap: 30px;
    margin-bottom: 30px;
}

.p-buy-detail .product-intro-item {
    color: var(--color-primary7);
    cursor: pointer;
}

.p-buy-detail .product-intro-item.on {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-primary);
    cursor: default;
}

.p-buy-detail .screenshot-wrapper img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

.p-buy-detail .desc-table {
    border: 1px solid var(--color-border3);
    border-radius: 16px;
    overflow: hidden;
}

.p-buy-detail .desc-tr {
    display: flex;
    align-items: stretch;
}

.p-buy-detail .desc-tr:not(:last-child) {
    border-bottom: 1px solid var(--color-border5);
}

.p-buy-detail .desc-tr .th {
    display: flex;
    align-items: center;
    width: 240px;
    min-height: 12px;
    color: var(--color-primary-muted);
    background: var(--background-primary);
    border-right: 1px solid var(--color-border5);
    padding: 16px 20px;
    flex-shrink: 0;
}

.p-buy-detail .desc-tr .td {
    display: flex;
    align-items: center;
    padding: 0 20px;
    flex-grow: 1;
}

.p-buy-detail .trade-step-wrapper {
    margin-left: 128px;
    font-size: 16px;
}

.p-buy-detail .trade-step img {
    width: 48px;
    margin-right: 10px;
}

.p-buy-detail .trade-step-item {
    display: flex;
    align-items: center;
}

.p-buy-detail .trade-step-item:not(:last-child):after {
    content: '';
    width: 60px;
    height: 1px;
    background: #EDEDED;
    margin: 0 20px;
}

.dialog-bargain-buyer, .dialog-face {
    width: 400px;
    padding: 20px 30px 30px;
    border-radius: 16px;
    overflow: hidden;
}

.dialog-bargain-buyer .input-price-wrapper {
    background: var(--background-primary);
    padding: 10px 20px;
}

.dialog-bargain-buyer .bargain-input {
    width: 100%;
    height: 34px;
    background: var(--background-white);
    border-radius: 8px;
    padding: 0 10px;
    border: 1px solid var(--color-border3);
}

.dialog-bargain-buyer .tips {
    font-size: 12px;
    color: var(--color-secondary);
    margin-top: 10px;
}

.dialog-bargain-buyer .price-c1 {
    color: var(--color-primary);
}

.dialog-bargain-buyer .price-c2 {
    font-size: 12px;
    font-weight: 700;
    color: #0D0F11;
}

.custom-input-range {
    -webkit-appearance: none;
    appearance: none;
    background: var(--color-border3);
    cursor: pointer;
    width: 100%;
    border-radius: 4px;
    --progress: 0%;
    margin-top: 20px;
    margin-bottom: 10px;
}

/*轨道*/
.custom-input-range::-webkit-slider-runnable-track {
    background: linear-gradient(to right,
    var(--background-highlight) 0%,
    var(--background-highlight) var(--progress, 50%),
    var(--color-border3) var(--progress, 50%),
    var(--color-border3) 100%);
    height: 8px;
    border-radius: 4px;
}

/*滑块*/
.custom-input-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    background-color: var(--background-white);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 3px solid var(--background-highlight);
    box-shadow: 0 5px 5px 0 rgba(140, 31, 19, 0.3);
    margin-top: -6px;
}

.dialog-bargain-buyer .message-wrapper {
    display: flex;
    align-items: center;
    width: 100%;
    height: 34px;
    border-radius: 8px;
    border: 1px solid var(--color-border3);
    padding: 0 10px;
    margin-top: 10px;
}

.dialog-bargain-buyer .btn-refresh {
    width: 18px;
    height: 18px;
    background: url("https://static.9891.com/9891/img/01/icon-refresh.png") no-repeat;
    background-size: 100%;
    margin-left: auto;
}

.dialog-bargain-buyer .dialog-header {
    font-weight: 700;
    font-size: 16px;
    text-align: center;
}

.dialog-bargain-buyer .dialog-body {
    margin-top: 20px;
    margin-bottom: 30px;
}

.dialog-bargain-buyer .dialog-footer {
    display: flex;
    justify-content: center;
    gap: 16px;
}

/*确认订单*/
.p-account-submit .compensation-service {
    border-radius: 16px;
    background: var(--background-white);
}

.p-account-submit .compensation-service-header {
    display: flex;
    align-items: center;
    height: 77px;
    background: url("https://static.9891.com/9891/img/01/bg-compensation-service.png") no-repeat;
    padding: 0 30px;
    color: var(--color-primary5);
}

.p-account-submit .compensation-service-header .text1 {
    font-size: 18px;
    font-weight: 700;
}

.p-account-submit .compensation-service-list {
    display: flex;
    gap: 20px;
    padding: 0 30px 30px;
}

.p-account-submit .compensation-service-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 400px;
    height: 85px;
    padding: 16px 20px;
    border: 1px solid var(--color-border3);
    border-radius: 12px;
}

.p-account-submit .compensation-service-item.on {
    background: var(--background-primary3);
    border-color: var(--color-border);
}

.p-account-submit .compensation-service-item .type {
    font-size: 16px;
    font-weight: 700;
    height: 24px;
}

.p-account-submit .compensation-service-item .compensation-type {
    position: relative;
}

.p-account-submit .compensation-service-item .content {
    color: var(--color-secondary);
}

.p-account-submit .compensation-service-item .price {
    font-size: 20px;
}

.p-account-submit .compensation-service-item .type-wrapper {
    height: 100%;
}

.p-account-submit .transfer-price-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 78px;
    border-radius: 16px;
    padding: 0 30px;
    background: var(--background-white);
    margin-top: 10px;
}

.p-account-submit .service-title-wrapper {
    display: flex;
    align-items: flex-end;
    color: var(--color-primary5);
}

.p-account-submit .service-title {
    font-size: 18px;
    font-weight: 700;
}

.p-account-submit .right-price {
    font-size: 16px;
    font-weight: 700;
}

.p-account-submit .icon-detail {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    color: var(--color-white);
    font-size: 12px;
    font-weight: 700;
    background: var(--background-highlight);
    border-radius: 2px;
    margin-left: 10px;
    cursor: pointer;
}

.p-account-submit .compensation-desc {
    display: none;
    position: absolute;
    top: 24px;
    width: 380px;
    color: var(--color-white);
    background: rgba(0, 0, 0, .8);
    border-radius: 10px;
    padding: 20px;
    line-height: 24px;
    text-align: justify;
}

.p-account-submit .compensation-type:hover .compensation-desc {
    display: block;
}

.p-account-submit .p-footer-wrapper {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 84px;
    background: var(--background-white);
    box-shadow: 0 -5px 5px 0 rgba(0, 0, 0, 0.05);
    z-index: 99;
}

.p-footer-wrapper-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 1300px;
    height: 100%;
    margin: 0 auto;
}

.p-footer-wrapper .custom-checkbox {
    -webkit-appearance: none;
    margin-right: 10px;
}

.p-footer-wrapper .custom-checkbox:after {
    content: '';
    display: inline-flex;
    width: 16px;
    height: 16px;
    background: url("https://static.9891.com/9891/img/01/icon-unchecked.png") no-repeat;
    background-size: 100%;
}

.p-footer-wrapper .custom-checkbox:checked:after {
    background: url("https://static.9891.com/9891/img/01/icon-checked.png") no-repeat;
    background-size: 100%;
}

.p-footer-wrapper a {
    color: var(--color-highlight-link);
}

.p-footer-wrapper .icon-price-detail {
    display: inline-flex;
    align-items: center;
    height: 44px;
    margin-right: 30px;
    position: relative;
    cursor: pointer;
}

.p-footer-wrapper .icon-price-detail:hover .price-detail-popup {
    display: block;
}

.price-detail-popup {
    display: none;
    position: absolute;
    bottom: 40px;
    right: 0;
    width: 220px;
    background: #FFFFFF;
    padding: 20px;
    box-shadow: 0 5px 5px 0 rgba(0, 0, 0, 0.05);
    border-radius: 10px;
}

.price-detail-popup .popup-header {
    padding-bottom: 10px;
    border-bottom: 1px solid var(--color-border4);
    margin-bottom: 10px;
}

.price-detail-popup .price-detail-item {
    line-height: 24px;
}

.price-detail-item .text1 {
    color: var(--color-primary-muted);
}

/*选择号商*/
.p-retrieve-merchant .merchant-list,
.p-choose-cs .customer-list {
    display: grid;
    grid-template-columns:repeat(3, 400px);
    gap: 20px;
    margin-top: 30px;
}

.p-retrieve-merchant .merchant-item,
.p-choose-cs .customer-item {
    display: flex;
    align-items: center;
    height: 88px;
    padding: 0 20px;
    background: var(--background-primary);
    border-radius: 12px;
    transition: all 150ms ease-in-out;
    cursor: pointer;
}

.p-retrieve-merchant .merchant-item .img-wrapper,
.p-choose-cs .customer-item .img-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--color-border);
    overflow: hidden;
    margin-right: 16px;
}

.p-retrieve-merchant .avatar,
.p-choose-cs .avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.p-retrieve-merchant .merchant-item .name, .p-choose-cs .name {
    color: var(--color-primary6);
    max-width: 186px;
}

.p-retrieve-merchant .merchant-item .btn, .p-choose-cs .btn {
    width: 88px;
    height: 34px;
    border-radius: 17px;
    color: var(--color-highlight);
    border: 1px solid var(--color-border);
    margin-left: auto;
}

.p-retrieve-merchant .merchant-item:hover .btn, .p-choose-cs .customer-item:hover .btn {
    color: var(--color-white);
    background: var(--color-highlight);
}

/*实人认证*/
.dialog-face .dialog-header {
    font-weight: 700;
    font-size: 16px;
    text-align: center;
    margin-bottom: 40px;
}

.dialog-face .dialog-body {
    margin: 0 auto;
    text-align: center;
}

.dialog-face .code-wrapper {
    width: 160px;
    height: 160px;
    margin: 0 auto;
}

.dialog-face .code-wrapper img {
    width: 100%;
    height: 100%;
}

.dialog-face .tips1 {
    color: var(--color-secondary);
    margin: 20px 0;
}

.dialog-face .tips2 {
    font-size: 12px;
    line-height: 22px;
}

.dialog-face .tips2 a {
    color: var(--color-highlight-link);
}

.dialog-face .dialog-footer {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}