/* ================= Container ================= */

.main-container {
    width: 100%;
    padding: 12px;
    box-sizing: border-box;
}

.main-container .amway-box {
    width: 100%;
}


/* ================= List ================= */

.main-container .amway-list {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
}

.main-container .amway-list li {
    margin-bottom: 20px;
    padding: 18px 16px;
    background: #fff;
}


/* ================= Top ================= */

.main-container .amway-list .top {
    display: flex;
    gap: 12px;
    margin-bottom: 8px;
}

.main-container .amway-list .top img {
    width: 50px;
    height: 50px;
    border: 16px;
    vertical-align: top;
    overflow: hidden;
    border-radius: 18%;
    border: 1px solid #efefef;
}

.main-container .amway-list .top-1 {

}

.main-container .amway-list .top-1-1 {
    font-size: 18px;
    height: 28px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.main-container .amway-list .beta {}

.main-container .amway-list .beta .sp-name {
    float: left;
    max-width: 240px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.main-container .amway-list .beta .sp-tags {
    float: left;
    margin: 4px 0 0 8px;
    padding: 0 5px;
    height: 22px;
    line-height: 22px;
    font-size: 12px;
    color: #999;
    background: #F0F0F0;
    border-radius: 4px;
}

/*用户评论内容星星*/
.comment-user-stars {
    font-size: 15px;
    color: #d0d0d0;
}
.comment-user-stars i {
    cursor: pointer;
}
.comment-user-stars i.star-user-active {
    color: #ffcc00;
}

.main-container .amway-list .top-1-2 {
    display: flex;
    align-items: center;
    color: #999;
}


/* ================= Middle ================= */

.main-container .amway-list .middle {
    position: relative;
    margin-top: 2px;
}

.main-container .amway-list .middle-1 {
    display: inline-block;
    padding: 0 3px;
    text-align: left;
    word-break: break-all;
}

.main-container .amway-list a:hover .middle-1 {
    color: #333;
}

.main-container .amway-list .middle-1 a {
    font-size: 14px;
    line-height: 28px;
    color: #333;
}

.main-container .amway-list .middle-1 a:hover {
    color: #333 !important;
}


/* ================= Bottom ================= */

.main-container .amway-list .bottom {
    position: relative;
    height: 30px;
    margin-top: 12px;
    font-size: 12px;
    color: #999;
}

.main-container .amway-list .bottom-1,
.main-container .amway-list .bottom-2 {
    display: inline-block;
}

.main-container .amway-list .bottom-2 {
    float: left;
    max-width: 140px;
    height: 30px;
    margin-right: 10px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.main-container .amway-list .bottom-1 em {
    margin-right: 5px;
    vertical-align: -2px;
}

.main-container .amway-list .bottom-2 img {
    width: 30px;
    height: 30px;
    margin-right: 10px;
    border-radius: 50%;
    vertical-align: -10px;
}

.main-container .amway-list .follow {
    float: right;
    width: 54px;
    height: 22px;
    margin-top: 4px;
    text-align: center;
    line-height: 22px;
    color: #23C268;
    border: 1px solid #23C268;
    border-radius: 4px;
}

.main-container .amway-list .no {
    color: #999;
    border-color: #eee;
}


/* ================= Head ================= */

.amway-head .item {
    height: 30px;
    line-height: 30px;
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    color: #23C268;
}

.amway-head .desc {
    height: 26px;
    line-height: 26px;
    position: relative;
    text-align: center;
}

.amway-head .desc span {
    z-index: 2;
    padding: 0 20px;
    height: 26px;
    font-size: 12px;
    color: #666;
    background: #f6f6f6;
    position: relative;
    display: inline-block;
}

.amway-head .desc::before,
.amway-head .desc::after {
    content: "";
    height: 1px;
    width: 50%;
    background: #ddd;
    position: absolute;
    top: 50%;
}

.amway-head .desc::before { left: 0; }
.amway-head .desc::after { right: 0; }


/* ================= Rating ================= */

.rating-stars-box {
    position: relative;
    display: inline-block;
    font-size: 14px;
    color: #e4e5e9;
}

.rating-stars-box i {
    margin-right: 2px;
}

.rating-stars-inner {
    position: absolute;
    top: 0;
    left: 0;
    width: calc(var(--rating) * 1%);
    overflow: hidden;
    white-space: nowrap;
    color: #fc0;
    pointer-events: none;
}

.rating-stars-inner i {
    margin-right: 2px;
}

.score-text {
    margin-left: 6px;
    font-size: 14px;
    font-weight: 400;
    color: #fc0;
}
