/* 成绩查询主容器 - 参考权威专业风格 */
.score-wrapper { background: #fff; border-radius: 8px; box-shadow: 0 4px 16px rgba(0,0,0,0.05); min-height: 600px; margin: 30px auto; padding: 30px 40px; }
.score-header { text-align: center; border-bottom: 2px solid #f0f0f0; padding-bottom: 20px; margin-bottom: 30px; }
.score-header h1 { font-size: 28px; color: #333; letter-spacing: 2px; }
.auth-badge { text-align: center; color: #e74c3c; font-weight: bold; margin-bottom: 20px; font-size: 16px; letter-spacing: 1px; }

/* 搜索选项卡 */
.score-tabs { display: flex; justify-content: center; gap: 40px; margin-bottom: 30px; }
.score-tab { font-size: 18px; color: #666; cursor: pointer; padding: 10px 20px; border-bottom: 3px solid transparent; transition: all 0.3s; }
.score-tab:hover { color: #e74c3c; }
.score-tab.active { color: #e74c3c; border-bottom: 3px solid #e74c3c; font-weight: bold; }

/* 搜索框 */
.score-search-box { display: flex; justify-content: center; align-items: center; margin-bottom: 20px; }
.score-search-box input { width: 450px; padding: 15px 20px; font-size: 16px; border: 2px solid #e0e0e0; border-right: none; border-radius: 30px 0 0 30px; outline: none; transition: border-color 0.3s; }
.score-search-box input:focus { border-color: #e74c3c; }
.score-search-box button { padding: 15px 40px; font-size: 16px; background: linear-gradient(90deg, #ff6b6b, #e74c3c); color: #fff; border: none; border-radius: 0 30px 30px 0; cursor: pointer; font-weight: bold; box-shadow: 0 4px 10px rgba(231,76,60,0.3); }
.search-tips { text-align: center; font-size: 14px; color: #999; margin-bottom: 40px; transition: all 0.3s; }
.search-tips.active { background: #fdf2f1; border: 1px solid #fbd6d2; padding: 15px 20px; font-size: 16px; color: #333; margin-bottom: 35px; border-radius: 8px; text-align: center; box-shadow: 0 4px 10px rgba(231,76,60,0.08); }
.search-tips .highlight { color: #e74c3c; font-size: 24px; font-weight: bold; margin: 0 5px; font-family: Impact, Arial, sans-serif; }

/* 荣誉卡片式结果展示 */
.race-group { margin-bottom: 35px; }
.race-title { font-size: 20px; font-weight: bold; color: #333; margin-bottom: 20px; display: flex; align-items: center; padding-bottom: 10px; border-bottom: 2px solid #f9f9f9; }
.race-title::before { content: ''; display: inline-block; width: 5px; height: 20px; background: #e74c3c; margin-right: 12px; border-radius: 2px; }

.card-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.score-card { background: #fff; border-radius: 10px; box-shadow: 0 4px 15px rgba(0,0,0,0.06); border: 1px solid #f0f0f0; transition: transform 0.2s; overflow: hidden; position: relative; }
.score-card:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(231,76,60,0.15); border-color: #fbd6d2; }

/* 卡片权威角标 */
.score-card::after { content: '官方认证'; position: absolute; top: 15px; right: -25px; background: #f39c12; color: #fff; font-size: 12px; padding: 3px 25px; transform: rotate(45deg); font-weight: bold; box-shadow: 0 2px 4px rgba(0,0,0,0.2); }

.card-header { background: linear-gradient(180deg, #fffaf9 0%, #fff 100%); padding: 15px 20px 15px 20px; padding-right: 65px; border-bottom: 1px solid #f5ebe9; display: flex; justify-content: space-between; align-items: center; }
.card-rank { font-size: 24px; font-weight: bold; color: #e74c3c; display: flex; align-items: center; font-family: Impact, 'Microsoft Yahei', Arial, sans-serif; }
.card-rank.rank-gold { color: #d4af37; }
.card-rank.rank-silver { color: #7f8c8d; }
.card-rank.rank-bronze { color: #b87333; }
.card-ring { font-size: 18px; color: #555; font-weight: bold; }

.card-body { padding: 20px; display: flex; flex-wrap: wrap; }
.card-item { width: 50%; padding: 8px 0; font-size: 15px; }
.card-item .label { color: #888; display: inline-block; width: 75px; }
.card-item .val { color: #222; font-weight: 500; }
.card-item.full-width { width: 100%; border-top: 1px dashed #eee; margin-top: 10px; padding-top: 15px; }

/* 状态提示 */
.loading, .no-data { text-align: center; padding: 60px 0; color: #999; font-size: 16px; }
.spinner { width: 50px; height: 50px; border: 3px solid rgba(231,76,60,0.1); border-top-color: #e74c3c; border-radius: 50%; animation: spin 1s linear infinite; margin: 0 auto 20px; }
@keyframes spin { to { transform: rotate(360deg); } }
.no-data .icon { font-size: 60px; margin-bottom: 15px; opacity: 0.6; }

@media (max-width: 768px) {
    .score-wrapper { padding: 20px 15px; margin: 15px auto; }
    .score-search-box input { width: 220px; }
    .card-list { grid-template-columns: 1fr; }
    .card-item { width: 100%; padding: 5px 0;}
    .card-item .label { width: 85px; }
}
