/* 标签页专用样式 (与 public.css 无冲突、无重复) */

/* 主体布局 */
.main-flex { display: flex; justify-content: space-between; }
.left-main { width: 73%; }
.right-side { width: 25%; }

/* 卡片通用 */
.card {
    background: #ffffff;
    border-radius: 6px;
    padding: 25px;
    border: 1px solid #e9ecef;
    box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}
.card h1 {
    font-size: 20px;
    color: #212529;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #39a7e4;
}
.card h1 span { color: #004094; font-weight: bold; }

/* 字母快搜 */
.abc-box {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    background: #f1f5f9;
    padding: 12px;
    border-radius: 4px;
    margin-bottom: 25px;
}
.abc-title { font-weight: bold; color: #475569; display: flex; align-items: center; padding-right: 10px; font-size: 13px;}
.abc-link {
    display: block; width: 26px; height: 26px; line-height: 26px; text-align: center;
    background: #fff; border: 1px solid #cbd5e1; border-radius: 3px; font-size: 13px; font-weight: 500;
}
.abc-link:hover { background: #004094; color: #fff; border-color: #004094; }

.tag-cloud { display: flex; flex-wrap: wrap; gap: 12px 10px; padding: 15px 0; }
.tag-item-box { display: inline-block; padding: 6px 14px; background: #f8fafc; border: 1px solid #e2e8f0; color: #475569; border-radius: 20px; font-size: 13px; }
.tag-item-box:hover { background-color: #004094; color: #fff !important; border-color: #004094; }
.tag-box-title { font-size: 16px; font-weight: bold; margin: 20px 0 10px 0; color: #333; padding-left: 8px; border-left: 4px solid #004094; }

/* 驱动列表 */
.driver-list { display: flex; flex-direction: column; gap: 15px; }
.driver-item {
    padding: 15px 0;
    border-bottom: 1px dashed #e2e8f0;
    position: relative;
}
.driver-item:last-child { border-bottom: none; }
.item-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.item-title a:hover { color: #004094; text-decoration: underline; }
.tag-badge { color: #ff4d4f; font-size: 12px; font-weight: normal; margin-left: 5px; }
.item-meta { font-size: 13px; color: #666; display: flex; flex-wrap: wrap; gap: 20px; }
.item-meta span b { font-weight: normal; color: #333; }

/* 分页 */
.dyj-pages { margin-top: 30px; text-align: center; padding-top: 15px; border-top: 1px solid #eee; }
.dyj-pages ul { list-style: none; display: inline-flex; gap: 5px; }
.dyj-pages ul li { display: inline; }
.dyj-pages ul li a, .dyj-pages ul li span {
    display: block; padding: 6px 12px; border: 1px solid #dee2e6;
    color: #495057; background: #fff; border-radius: 4px; font-size: 13px;
}
.dyj-pages ul li.thisclass span {
    background-color: #39a7e4; color: #fff; border-color: #39a7e4; font-weight: bold;
}
.dyj-pages ul li a:hover { background-color: #f1f3f5; color: #004094; }

/* 右侧栏 */
.side-card-title { font-size: 16px; color: #212529; margin-bottom: 15px; padding-bottom: 8px; border-bottom: 1px solid #dee2e6; }
.rank-list { list-style: none; }
.rank-list li {
    margin-bottom: 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 15px;
}
.rank-list li em {
    font-style: normal; display: inline-block; width: 18px; height: 18px; line-height: 18px;
    text-align: center; background: #ced4da; color: #fff; font-size: 11px; border-radius: 2px; margin-right: 8px;
}
.rank-list li:nth-child(1) em { background: #ff4d4f; }
.rank-list li:nth-child(2) em { background: #ff7a45; }
.rank-list li:nth-child(3) em { background: #ffa940; }
.rank-list li a { color: #495057; }
.rank-list li a:hover { color: #39a7e4; }