.main-container {
    max-width: 1200px;
    margin: 8px auto 10px auto;
}
.top-wrap {
    width: 1200px;
    margin: -25px auto -7px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
/* 左侧标题 */
.top-left {
    display: flex;
    align-items: center;
}
.top-left .icon {
    font-size: 60px;
    margin-right: 15px;
    margin-top: 6px;
	background: linear-gradient(135deg, #6be89c, #23c268);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.top-left .main-title {
    font-size: 35px;
    color: #45dcc7;
    font-weight: 700;
}
.top-left .main-title span {
    font-size: 26px;
    font-weight: bold;
}
.top-left .sub-title {
    font-size: 13px;
    color: #45dcc7;
    margin-top: 6px;
}
/* tabs */
.top-tabs {
    display: flex;
    align-items: center;
    gap: 40px;
}
.top-tabs a {
    text-decoration: none;
    font-size: 18px;
    color: #444;
}
.top-tabs a.active {
    color: #23c268;
    font-weight: 500;
    position: relative;
}
.top-tabs a.active::after {
    content: "";
    height: 1px;
    background: #23c268;
    position: absolute;
    bottom: -21px;
    left: 0;
    right: 0;
    margin: auto;
}
/* ================= 排行列表 ================= */
.rank-list {
    width: 1200px;
    margin: 20px auto;
}
/* ⭐ rank-item 垂直居中：这一行是关键 */
.rank-item {
    position: relative;
    background: #fff;
    display: flex;
    align-items: center;  /* 垂直居中 ⭐ */
    padding: 20px 20px 20px 60px;
    border-radius: 6px;
    margin-bottom: 18px;
    box-shadow: 0 0 0 1px #eee;
    overflow: hidden;
}
/* 左上角角标 */
.rank-badge {
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 0;
    border-top: 60px solid #ff4d4d;
    border-right: 60px solid transparent;
    border-top-color: #eeeeee;
}
.rank-badge em {
    position: absolute;
    top: -54px;
    left: 12px;
    font-size: 21px;
    color: #999;
}
.rank-item:nth-child(1) .rank-badge {
    border-top-color: #fc4d54;
}
.rank-item:nth-child(2) .rank-badge {
    border-top-color: #ffb400;
}
.rank-item:nth-child(3) .rank-badge {
    border-top-color: #d1bda6;
}
.rank-item:nth-child(1) .rank-badge em, .rank-item:nth-child(2) .rank-badge em, .rank-item:nth-child(3) .rank-badge em {
    color: #fff;
}
/* LOGO + 链接 */
.rank-logo {
    width: 94px;
    height: 94px;
    border-radius: 8px;
    border: 1px solid #f3f3f3;
    background: #fbfbfb;
    padding: 15px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 28px;
}
.rank-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
}
.rank-logo {
    display: inline-flex;
}
.rank-logo:hover {
    opacity: 0.9;
}
/* 内容部分 */
.rank-info {
    flex: 1;
}
/* 标题 + 链接 */
.rank-title {
    font-size: 22px;
    color: #333;
}
.rank-title:hover {
    color: #23c268;
}
/* 下载量 + 评分 */
.rank-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 14px;
    margin-bottom: 10px;
    margin-top: 8px;
}
.rank-meta .downloads {
    color: #fc0;
}
/* ================= 星级评分 ================= */
.rating-stars {
    display: inline-flex;
    align-items: center;
    font-size: 16px;
}
.rating-stars-box {
    position: relative;
    display: inline-block;
    color: #e4e5e9;
}
.rating-stars-box i {
    margin-right: 2px;
}
.rating-stars-inner {
    position: absolute;
    top: 0;
    left: 0;
    white-space: nowrap;
    overflow: hidden;
width:calc(var(--rating) * 1%);
    color: #fc0;
    pointer-events: none;
}
.rating-stars-inner i {
    margin-right: 2px;
}
.score-text {
    margin-left: 6px;
    font-size: 14px;
    color: #fc0;
    font-weight: 400;
}
/* 简介 */
.rank-desc {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}
/* 标签（带链接） */
.rank-tags {
    display: flex;
    gap: 8px;
}
.rank-tags a {
    padding: 4px 10px;
    background: #f5f5f5;
    border-radius: 4px;
    font-size: 13px;
    color: #666;
    text-decoration: none;
}
.rank-tags a:hover {
    background: #eee;
}
/* 查看详情按钮：垂直居中 */
.rank-right {
    display: flex;
    align-items: center;   /* ⭐ 中心对齐 */
    justify-content: center;
    margin-left: 20px;
}
.rank-more {
    background: #20c05c;
    color: #fff;
    font-size: 15px;
    padding: 10px 26px;
    border-radius: 6px;
    text-decoration: none;
    transition: .2s;
}
.rank-more:hover {
    background: #18a74e;
    color: #fff!important;
}