/* 排行榜页面基础样式 */
.rankingSec {
    padding: 20px 0;
}

/* 标题区域 */
.label {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e5e5e5;
}

.label-t {
    font-size: 24px;
    color: #333;
    font-weight: bold;
    position: relative;
    padding-right: 100px;
}

.label-t span {
    font-size: 14px;
    color: #999;
    font-weight: normal;
    margin-left: 10px;
}

.sql {
    color: #666;
    margin-top: 5px;
    font-size: 12px;
}

.sql a {
    color: #666;
    text-decoration: none;
}

.sql a:hover {
    color: #e60012;
    text-decoration: underline;
}

/* 标签页导航 */
.ranking-tabs {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    overflow: hidden;
}

.tab-nav {
    display: flex;
    background: #f5f5f5;
    border-bottom: 1px solid #e5e5e5;
    margin: 0;
    padding: 0;
}

.tab-nav li {
    list-style: none;
}

.tab-nav li a {
    display: block;
    padding: 12px 20px;
    color: #333;
    text-decoration: none;
    border-right: 1px solid #e5e5e5;
}

.tab-nav li.active a {
    background: #fff;
    color: #e60012;
    font-weight: bold;
}

.tab-nav li a:hover {
    background: #f0f0f0;
}

/* 标签内容区域 */
.tab-content {
    padding: 20px;
}

.tab-content.hidden {
    display: none;
}

/* 筛选区域 */
.ranking-filters {
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ranking-filters select {
    padding: 6px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
}

.search-box {
    display: flex;
}

.search-box input {
    padding: 6px 10px;
    border: 1px solid #ddd;
    border-right: none;
    border-radius: 4px 0 0 4px;
    width: 200px;
}

.search-btn {
    padding: 6px 15px;
    background: #e60012;
    color: #fff;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
}

.search-btn:hover {
    background: #c80010;
}

/* 排行榜表格 */
.ranking-table {
    width: 100%;
    overflow: hidden;
    border-radius: 4px;
}

.ranking-table table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #e5e5e5;
}

.ranking-table th {
    background: #f5f5f5;
    padding: 12px 10px;
    text-align: left;
    border-bottom: 1px solid #e5e5e5;
    font-weight: bold;
    color: #333;
}

.ranking-table td {
    padding: 12px 10px;
    border-bottom: 1px solid #e5e5e5;
    color: #666;
}

.ranking-table tr:hover td {
    background: #f9f9f9;
}

.ranking-table .no-data td {
    text-align: center;
    padding: 50px 0;
    color: #999;
}

/* 分页控件 */
.pagination {
    margin-top: 20px;
    text-align: center;
}

.pagination a {
    display: inline-block;
    padding: 5px 12px;
    margin: 0 3px;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    color: #666;
    text-decoration: none;
}

.pagination a.current {
    background: #e60012;
    color: #fff;
    border-color: #e60012;
}

.pagination a:hover:not(.current):not(.disabled) {
    border-color: #e60012;
    color: #e60012;
}

.pagination a.disabled {
    color: #ccc;
    cursor: not-allowed;
    background: #f5f5f5;
}

/* 占位区域 */
.ranking-placeholder {
    padding: 100px 0;
    text-align: center;
    color: #999;
}

/* KV区域 */
.kv.ranking-kv {
    width: 100%;
    margin-bottom: 20px;
}

#kv {
    width: 100%;
    height: auto;
    display: block;
}
    