/* ============================================================================
   统一栏目页面样式 - 竞拍、赛事、鸽子、培育等
   ============================================================================= */

/* 栏目容器 */
.section-content {
    padding: 2rem;
}

.content-container {
    background: white;
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    margin-bottom: 2rem;
}

/* 栏目头部 */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
    padding: 2rem 2.5rem;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.08) 0%, rgba(118, 75, 162, 0.08) 100%);
    border-radius: 12px;
    border-left: 5px solid #667eea;
}

.section-header h2 {
    margin: 0;
    font-size: 2rem;
    color: #2c3e50;
}

/* 过滤和排序工具栏 */
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
    align-items: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f9f7f4 0%, #f5ede7 100%);
    border-radius: 10px;
    border-left: 4px solid #8b6f47;
}

.filter-bar select,
.filter-bar input {
    padding: 0.6rem 1rem;
    border: 1px solid #d4c5b5;
    border-radius: 6px;
    background: white;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.filter-bar select:focus,
.filter-bar input:focus {
    border-color: #667eea;
    outline: none;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* 筛选按钮样式 */
.filter-btn {
    padding: 0.7rem 1.5rem;
    border: 2px solid #e0e0e0;
    background: white;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #666;
    white-space: nowrap;
}

.filter-btn:hover {
    border-color: #667eea;
    color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
}

.filter-btn.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: #667eea;
    color: white;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.filter-btn.active:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(102, 126, 234, 0.4);
}

/* 卡片网格 */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
    align-items: stretch;
}

@media (max-width: 768px) {
    .cards-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* 通用卡片样式 */
.card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    border-color: #667eea;
}

.card-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 1.5rem;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.card-header h3 {
    margin: 0;
    font-size: 1.3rem;
    color: white;
    flex: 1;
}

.card-status {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.3);
    color: white;
    white-space: nowrap;
}

.card-body {
    padding: 1.5rem 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-body-section {
    margin-bottom: 1.2rem;
    padding-bottom: 1.2rem;
    border-bottom: 1px solid #f0f0f0;
}

.card-body-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.card-label {
    font-size: 0.8rem;
    color: #999;
    font-weight: 600;
    margin-bottom: 0.3rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-value {
    font-size: 1.1rem;
    color: #2c3e50;
    font-weight: 600;
}

.card-price {
    font-size: 1.8rem;
    color: #667eea;
    font-weight: 700;
}

.card-secondary-info {
    font-size: 0.9rem;
    color: #666;
    margin-top: 0.3rem;
}

.card-footer {
    padding: 1.5rem;
    background: #f9f7f4;
    border-top: 1px solid #f0f0f0;
    display: flex;
    gap: 0.8rem;
    margin-top: auto;
}

.card-footer button {
    flex: 1;
    min-width: 80px;
}

/* 竞拍卡片特定样式 */
.auction-card .card-header {
    padding: 1.2rem 1.5rem;
}

.auction-price-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin: 1rem 0;
}

.auction-price-item {
    background: linear-gradient(135deg, #f9f7f4 0%, #f5ede7 100%);
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
}

.auction-bid-count {
    display: inline-block;
    background: linear-gradient(135deg, #f39c12 0%, #f1933a 100%);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    margin-top: 0.5rem;
    font-weight: 600;
}

/* 赛事卡片特定样式 */
.race-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin: 1rem 0;
}

.race-info-item {
    background: linear-gradient(135deg, #f9f7f4 0%, #f5ede7 100%);
    padding: 0.8rem;
    border-radius: 8px;
    font-size: 0.9rem;
}

.race-info-label {
    color: #888;
    font-size: 0.8rem;
    margin-bottom: 0.2rem;
}

.race-info-value {
    color: #2c3e50;
    font-weight: 600;
}

.race-status-badge {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.race-status-upcoming {
    background: #e3f2fd;
    color: #1976d2;
}

.race-status-ongoing {
    background: #fff3e0;
    color: #f57c00;
}

.race-status-completed {
    background: #e8f5e9;
    color: #388e3c;
}

/* 鸽子卡片特定样式 */
.pigeon-card {
    overflow: visible;
}

.card-image-container {
    width: 100%;
    height: 220px;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
    background: linear-gradient(135deg, #f9f7f4 0%, #f5ede7 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 培育卡片 */
.breeding-card {
    display: flex;
    flex-direction: column;
}

.breeding-header {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.breeding-title h3 {
    margin: 0 0 0.4rem 0;
    font-size: 1.2rem;
}

.breeding-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem 1rem;
    color: #666;
    font-size: 0.9rem;
}

.breeding-photo {
    width: 78px;
    height: 78px;
    border-radius: 14px;
    overflow: hidden;
    background: linear-gradient(135deg, #f9f7f4 0%, #f5ede7 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid #f0e7de;
}

.breeding-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.breeding-avatar {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: #8b6f47;
}

.breeding-parents {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
    margin-bottom: 0.8rem;
}

.parent-card {
    background: linear-gradient(135deg, #f9f7f4 0%, #f5ede7 100%);
    border-radius: 8px;
    padding: 0.8rem 1rem;
    border: 1px solid #f0e7de;
}

.parent-card .label {
    display: block;
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 0.2rem;
}

.parent-card .value {
    color: #2c3e50;
    font-weight: 600;
}

.breeding-origin {
    background: #f9f7f4;
    border: 1px dashed #e6d8c7;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    margin-bottom: 0.6rem;
    color: #5c4b33;
}

.breeding-actions {
    gap: 0.6rem;
}

.breeding-actions .btn {
    flex: 1;
    justify-content: center;
}

.pigeon-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pigeon-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    background: linear-gradient(135deg, #f9f7f4 0%, #f5ede7 100%);
}

.pigeon-card-header-modern {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e8e8e8;
    gap: 0.8rem;
}

.pigeon-card-title {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 700;
    color: #2c3e50;
    flex: 1;
    min-width: 0;
}

.pigeon-attributes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin: 0;
}

.pigeon-attribute {
    background: linear-gradient(135deg, #f9f7f4 0%, #f5ede7 100%);
    padding: 1rem 0.8rem;
    border-radius: 8px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.4rem;
    border: 1px solid #f0e7de;
    min-height: 70px;
    word-break: break-word;
    overflow: hidden;
}

.attr-label,
.pigeon-attribute-label {
    color: #999;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    font-weight: 500;
}

.attr-value,
.pigeon-attribute-value {
    color: #2c3e50;
    font-weight: 700;
    font-size: 1rem;
    word-wrap: break-word;
}

/* 列表视图 */
.list-view {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.list-item {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    gap: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border: 1px solid #f0f0f0;
    transition: all 0.35s ease;
}

.list-item:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    transform: translateX(4px);
}

.list-item-image {
    width: 180px;
    height: 180px;
    border-radius: 8px;
    object-fit: cover;
    background: linear-gradient(135deg, #f9f7f4 0%, #f5ede7 100%);
    flex-shrink: 0;
}

.list-item-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.list-item-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.8rem;
}

.list-item-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.list-item-field {
    display: flex;
    flex-direction: column;
}

.list-item-label {
    font-size: 0.8rem;
    color: #999;
    text-transform: uppercase;
    margin-bottom: 0.2rem;
}

.list-item-value {
    font-size: 1rem;
    color: #2c3e50;
    font-weight: 600;
}

.list-item-actions {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.list-item-actions button {
    min-width: 100px;
}

/* 空状态 */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: #999;
}

.empty-state-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.empty-state-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

/* 鸽子详情页现代化样式 */
.pigeon-detail-modern {
    max-width: 100%;
}

.pigeon-header-modern {
    position: relative;
    margin: -1.5rem -1.5rem 2rem -1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px 12px 0 0;
    overflow: hidden;
}

.pigeon-header-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120"><path d="M0,64L48,69.3C96,75,192,85,288,80C384,75,480,53,576,48C672,43,768,53,864,64C960,75,1056,85,1152,85.3L1200,85.3L1200,0L1152,0C1056,0,960,0,864,0C768,0,672,0,576,0C480,0,384,0,288,0C192,0,96,0,48,0L0,0Z" fill="rgba(255,255,255,0.1)"/></svg>') no-repeat center / cover;
    opacity: 0.3;
}

.pigeon-hero-modern {
    position: relative;
    padding: 2.5rem 2rem;
    display: flex;
    gap: 2rem;
    align-items: center;
}

.pigeon-photo-modern {
    width: 140px;
    height: 140px;
    border-radius: 20px;
    overflow: hidden;
    background: white;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    flex-shrink: 0;
    border: 4px solid rgba(255,255,255,0.3);
}

.pigeon-photo-modern img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photo-placeholder-modern {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    background: linear-gradient(135deg, #f9f7f4 0%, #f5ede7 100%);
}

.pigeon-info-modern {
    flex: 1;
    color: white;
}

.pigeon-name-modern {
    margin: 0 0 0.8rem 0;
    font-size: 2rem;
    font-weight: 700;
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.pigeon-badges {
    display: flex;
    gap: 0.6rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.badge-modern {
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.badge-status {
    background: rgba(255,255,255,0.25);
    color: white;
    backdrop-filter: blur(10px);
}

.badge-public {
    background: rgba(76, 175, 80, 0.9);
    color: white;
}

.badge-private {
    background: rgba(255, 152, 0, 0.9);
    color: white;
}

.pigeon-quick-info {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    color: rgba(255,255,255,0.95);
}

.quick-info-item {
    background: rgba(255,255,255,0.15);
    padding: 0.4rem 0.9rem;
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.quick-info-item strong {
    opacity: 0.8;
    margin-right: 0.3rem;
}

.pigeon-owner-info {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.85);
}

.pigeon-sections-modern {
    display: grid;
    gap: 1.5rem;
}

.section-card-modern {
    background: white;
    border-radius: 12px;
    border: 1px solid #f0f0f0;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: box-shadow 0.3s ease;
}

.section-card-modern:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.section-card-header {
    background: linear-gradient(135deg, #f9f7f4 0%, #f5ede7 100%);
    padding: 1.2rem 1.5rem;
    border-bottom: 2px solid #e6d8c7;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.section-icon {
    font-size: 1.5rem;
}

.section-card-header h3 {
    margin: 0;
    font-size: 1.2rem;
    color: #5c4b33;
    font-weight: 700;
}

.section-card-body {
    padding: 1.5rem;
}

.info-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.info-box-modern {
    background: linear-gradient(135deg, #fafafa 0%, #f5f5f5 100%);
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    padding: 1rem 1.2rem;
    transition: all 0.3s ease;
}

.info-box-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border-color: #d0d0d0;
}

.info-label-modern {
    font-size: 0.8rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.4rem;
    font-weight: 600;
}

.info-value-modern {
    font-size: 1.05rem;
    color: #2c3e50;
    font-weight: 600;
}

.parents-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.2rem;
    margin-bottom: 1.5rem;
}

.parent-box-modern {
    background: linear-gradient(135deg, #f9f7f4 0%, #f5ede7 100%);
    border: 2px solid #e6d8c7;
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.parent-box-modern:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(139, 111, 71, 0.15);
    border-color: #8b6f47;
}

.parent-icon {
    font-size: 2rem;
    text-align: center;
}

.parent-label {
    font-size: 0.8rem;
    color: #8b6f47;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    text-align: center;
}

.parent-value {
    font-size: 1.05rem;
    color: #2c3e50;
    font-weight: 700;
    line-height: 1.5;
    word-break: break-word;
    text-align: left;
    padding: 0.8rem;
    background: white;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.pedigree-info-modern {
    background: linear-gradient(135deg, #fff8e1 0%, #ffecb3 100%);
    border: 2px solid #ffd54f;
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 1.5rem;
}

.pedigree-item-modern {
    padding: 0.8rem;
    color: #5c4b33;
    line-height: 1.7;
    background: white;
    border-radius: 8px;
    margin-bottom: 0.8rem;
    border-left: 4px solid #ffb300;
}

.pedigree-item-modern:last-child {
    margin-bottom: 0;
}

.pedigree-item-modern strong {
    color: #8b6f47;
}

/* 血统树模态框现代样式 */
.lineage-modal-modern {
    padding: 0;
}

.lineage-modal-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 2rem;
    margin: -1.5rem -1.5rem 2rem -1.5rem;
    border-radius: 16px 16px 0 0;
    text-align: center;
}

.lineage-modal-header h2 {
    color: white;
    margin: 0 0 0.5rem 0;
    font-size: 1.8rem;
}

.lineage-subtitle {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-size: 0.95rem;
}

.lineage-tree-modern {
    padding: 1.5rem;
    background: #fafafa;
    border-radius: 12px;
}

.lineage-node-modern {
    margin-bottom: 1.5rem;
}

.lineage-card-modern {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.lineage-card-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.15);
    border-color: #667eea;
}

.lineage-card-modern.restricted {
    opacity: 0.6;
    background: #f5f5f5;
}

.lineage-card-header {
    background: linear-gradient(135deg, #f9f7f4 0%, #f5ede7 100%);
    padding: 0.8rem 1.2rem;
    border-bottom: 2px solid #e6d8c7;
}

.lineage-label {
    font-weight: 700;
    color: #5c4b33;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.lineage-card-body {
    padding: 1.2rem;
}

.lineage-name-modern {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.8rem;
}

.lineage-info-row {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 0.6rem;
    flex-wrap: wrap;
}

.lineage-ring,
.lineage-gender {
    font-size: 0.85rem;
    color: #666;
}

.lineage-breeder,
.lineage-owner-modern {
    font-size: 0.85rem;
    color: #667eea;
    margin-top: 0.4rem;
}

.lineage-pedigree-modern {
    margin-top: 0.8rem;
    padding-top: 0.8rem;
    border-top: 1px solid #f0f0f0;
    font-size: 0.85rem;
    color: #666;
    font-style: italic;
}

.lineage-children {
    margin-left: 2rem;
    margin-top: 1rem;
    padding-left: 1.5rem;
    border-left: 3px solid #e0e0e0;
}

.no-data-modern {
    text-align: center;
    color: #999;
    padding: 2rem;
    font-style: italic;
}

/* 响应式优化 */
@media (max-width: 768px) {
    .pigeon-hero-modern {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1.5rem;
    }
    
    .pigeon-photo-modern {
        width: 120px;
        height: 120px;
    }
    
    .pigeon-name-modern {
        font-size: 1.6rem;
    }
    
    .pigeon-quick-info {
        justify-content: center;
    }
    
    .info-grid-modern {
        grid-template-columns: 1fr;
    }
    
    .parents-grid-modern,
    .lineage-grid-modern {
        grid-template-columns: 1fr;
    }
}

/* 赛事详情现代化样式 */
.race-detail-modern {
    max-width: 100%;
}

.race-header-modern {
    position: relative;
    margin: -1.5rem -1.5rem 2rem -1.5rem;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    border-radius: 12px 12px 0 0;
    overflow: hidden;
}

.race-header-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120"><path d="M0,64L48,69.3C96,75,192,85,288,80C384,75,480,53,576,48C672,43,768,53,864,64C960,75,1056,85,1152,85.3L1200,85.3L1200,0L1152,0C1056,0,960,0,864,0C768,0,672,0,576,0C480,0,384,0,288,0C192,0,96,0,48,0L0,0Z" fill="rgba(255,255,255,0.1)"/></svg>') no-repeat center / cover;
    opacity: 0.3;
}

.race-hero-modern {
    position: relative;
    padding: 2.5rem 2rem;
    display: flex;
    gap: 2rem;
    align-items: center;
}

.race-icon-modern {
    width: 120px;
    height: 120px;
    border-radius: 20px;
    background: white;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    flex-shrink: 0;
    border: 4px solid rgba(255,255,255,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
}

.race-info-header {
    flex: 1;
    color: white;
}

.race-name-modern {
    margin: 0 0 0.8rem 0;
    font-size: 2rem;
    font-weight: 700;
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.race-sections-modern {
    display: grid;
    gap: 1.5rem;
}

.records-table-modern {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

.records-table-modern thead {
    background: linear-gradient(135deg, #f9f7f4 0%, #f5ede7 100%);
}

.records-table-modern th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    color: #5c4b33;
    border-bottom: 2px solid #e6d8c7;
    white-space: nowrap;
}

.records-table-modern th:nth-child(1) { width: 80px; text-align: center; }
.records-table-modern th:nth-child(2) { width: 140px; }
.records-table-modern th:nth-child(3) { width: 150px; }
.records-table-modern th:nth-child(4) { width: 120px; text-align: right; }
.records-table-modern th:nth-child(5) { width: auto; }

.records-table-modern td {
    padding: 1rem;
    border-bottom: 1px solid #f0f0f0;
    vertical-align: middle;
}

.records-table-modern td:nth-child(1) { text-align: center; }
.records-table-modern td:nth-child(4) { text-align: right; }

.records-table-modern tbody tr {
    transition: background-color 0.2s;
}

.records-table-modern tbody tr:hover {
    background: linear-gradient(135deg, #fafafa 0%, #f5f5f5 100%);
}

.rank-badge-modern {
    display: inline-block;
    padding: 0.4rem 0.9rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
}

.rank-badge-modern.rank-1 {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #8B4513;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.4);
}

.rank-badge-modern.rank-2 {
    background: linear-gradient(135deg, #C0C0C0 0%, #A8A8A8 100%);
    color: #4a4a4a;
    box-shadow: 0 2px 8px rgba(192, 192, 192, 0.4);
}

.rank-badge-modern.rank-3 {
    background: linear-gradient(135deg, #CD7F32 0%, #B8860B 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(205, 127, 50, 0.4);
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.empty-state-message {
    margin-bottom: 2rem;
}

/* 分页 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.pagination button {
    padding: 0.6rem 1rem;
    border: 1px solid #d4c5b5;
    background: white;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.pagination button:hover {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

.pagination button.active {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

/* 选项卡 */
.tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid #d4c5b5;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 0.8rem 1.5rem;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    color: #999;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    margin-bottom: -2px;
}

.tab-btn:hover {
    color: #667eea;
}

.tab-btn.active {
    color: #667eea;
    border-bottom-color: #667eea;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
    }
    
    .filter-bar {
        flex-direction: column;
    }
    
    .filter-bar select,
    .filter-bar input {
        width: 100%;
    }
    
    .list-item {
        flex-direction: column;
    }
    
    .list-item-image {
        width: 100%;
        height: 200px;
    }
}
