/* 布局 */
.main-flex { display: flex; gap: 20px; align-items: flex-start; }
.left-main { flex: 1; min-width: 0; }
.right-side { width: 300px; flex-shrink: 0; }
.card { background: #fff; border-radius: 8px; padding: 20px; margin-bottom: 20px; box-shadow: 0 2px 8px rgba(0,0,0,0.06); border: 1px solid #eef0f2; }

/* 标题与信息 */
h1 { text-align: center; font-size: 24px; color: #222; margin: 10px 0 20px; }
.meta-info { display: flex; flex-wrap: wrap; gap: 15px; color: #666; justify-content: center; margin-bottom: 20px; padding-bottom: 15px; border-bottom: 1px solid #eee; }

/* Tab切换 */
.tab-nav { display: flex; justify-content: space-between; align-items: center; border-bottom: 2px solid #f0f0f0; margin-bottom: 20px; }
.tab-items { display: flex; gap: 30px; }
.tab-btn { padding: 12px 0; cursor: pointer; color: #888; font-weight: bold; position: relative; bottom: -2px; border-bottom: 3px solid transparent; }
.tab-btn.active { color: #004094; border-bottom-color: #004094; }
.err-report-btn { color: #ff4d4f; font-weight: bold; font-size: 13px; border: 1px solid #ffccc7; background: #fff2f0; padding: 5px 15px; border-radius: 4px; }
.err-report-btn:hover { background: #ff4d4f; color: #fff; }

/* 下载区域 */
.speed-tip { background: #e6f7ff; border: 1px solid #91d5ff; padding: 12px 15px; border-radius: 8px; margin-bottom: 20px; font-size: 13px; color: #0050b3; }
.dl-section { margin-bottom: 30px; }
.dl-card { background: #fff; padding: 15px; border-radius: 6px; margin-bottom: 15px; border: 1px solid #eee; }
.dl-info h5 { font-size: 15px; margin: 0 0 8px 0; font-weight: 600; }
.dl-row { margin-bottom: 12px; display: flex; gap: 10px; align-items: center; }
.dl-row:last-child { margin-bottom: 0; }
.dl-wrap-row { display: flex; gap: 20px; align-items: flex-start; margin-top: 10px; }
.dl-left-col { flex: 0 0 62%; }
.dl-right-col { flex: 1; min-height: 220px; background: #fafafa; border: 1px dashed #ccc; border-radius: 8px; padding: 10px; }

/* 下载按钮 */
.dl-btn {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: normal;
    text-align: center;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid transparent;
    cursor: pointer;
    min-width: 88px;
}
.dl-btn.primary {
    background-color: #E3F2FD;
    color: #004094 !important;
    border-color: #BBDEFB;
}
.dl-btn.primary:hover {
    background-color: #004094;
    color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(0,64,148,0.2);
}
.dl-btn.thunder {
    background: #FCE4EC;
    color: #C2185B !important;
    border: 1px solid #F8BBD0;
}
.dl-btn.thunder:hover {
    background: #F8BBD0;
    color: #C2185B !important;
}

/* 右侧排行 */
.rank-list { list-style: none; padding: 0; margin: 0; }
.rank-list li { padding: 10px 0; border-bottom: 1px solid #f5f5f5; display: flex; align-items: center; overflow: hidden; }
.rank-list li em { flex-shrink: 0; width: 22px; height: 20px; line-height: 20px; background: #e1e4e8; color: #666; text-align: center; font-size: 12px; margin-right: 12px; font-style: normal; border-radius: 3px; font-weight: bold; }
.rank-list li:nth-child(1) em { background: #ff4400; color: #fff; }
.rank-list li:nth-child(2) em { background: #ff9800; color: #fff; }
.rank-list li:nth-child(3) em { background: #ffc107; color: #fff; }
.rank-list li a { flex: 1; color: #333; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.rank-list li a:hover { color: #004094; }
.side-card-title { font-size: 18px; font-weight: bold; border-bottom: 1px solid #eee; padding-bottom: 15px; margin: 0; margin-bottom: 15px; }
.card-title-sm { font-size:18px; border-left: 4px solid #fc7b54; }

/* 清零软件专用样式 */
.reset-badge {
    background: #004094;
    color: #fff;
    padding: 3px 10px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: normal;
    display: inline-block;
    margin-bottom: 8px;
}
.warning-box {
    background-color: #fff5f5;
    border-left: 5px solid #e53e3e;
    padding: 16px 20px;
    border-radius: 4px;
    margin: 15px 0 25px 0;
    line-height: 1.6;
    color: #c53030;
    font-size: 14px;
    box-shadow: 0 2px 4px rgba(229,62,62,0.1);
}
.warning-box b {
    color: #b91c1c;
    font-weight: bold;
    text-decoration: underline;
}
.course-content {
    line-height: 1.8;
    color: #444;
    font-size: 15px;
}

/* 响应式 */
@media (max-width:768px){
    .main-flex { flex-direction: column; }
    .right-side { width: 100%; }
    .dl-wrap-row { flex-direction: column; }
    .dl-left-col, .dl-right-col { width: 100%; flex: none; }
    .dl-right-col { min-height: 160px; }
}