/* theme-newspaper.css — 赛事报道：报纸黑白风 */
.theme-race_report { background: #FFFFF0; font-family: 'Noto Serif', 'Times New Roman', serif; color: #1a1a1a; }
.theme-race_report h1 { font-size: 28px; font-weight: 900; border-bottom: 3px double #000; padding-bottom: 8px; margin-bottom: 16px; }
.theme-race_report h2 { font-size: 18px; font-weight: 700; color: #333; margin: 16px 0 8px; }
.theme-race_report p { font-size: 14px; line-height: 1.8; margin-bottom: 12px; }
.theme-race_report hr { border: none; border-top: 1px solid #999; margin: 20px 0; }
.theme-race_report table { width: 100%; border-collapse: collapse; font-size: 13px; margin: 12px 0; }
.theme-race_report th { background: #333; color: #fff; padding: 6px 8px; text-align: left; }
.theme-race_report td { padding: 5px 8px; border-bottom: 1px solid #ddd; }
.theme-race_report tr:nth-child(odd) td { background: #f9f9f0; }
.theme-race_report img { border: 1px solid #ccc; }
.theme-race_report blockquote { background: #f5f5f5; border: none; border-radius: 8px; padding: 20px 28px; font-style: italic; text-align: center; color: #444; margin: 16px 0; }
.theme-race_report blockquote p { margin: 0 0 4px; }

/* theme-magazine.css — 马匹传记：杂志彩色风 */
.theme-horse_bio { background: #ffffff; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; color: #222; }
.theme-horse_bio h1 { font-size: 32px; font-weight: 800; color: #1a237e; margin-bottom: 16px; }
.theme-horse_bio h2 { font-size: 20px; font-weight: 700; color: #283593; margin: 20px 0 8px; border-left: 4px solid #3f51b5; padding-left: 12px; }
.theme-horse_bio p { font-size: 15px; line-height: 1.7; margin-bottom: 12px; }
.theme-horse_bio hr { border: none; border-top: 2px solid #e8eaf6; margin: 24px 0; }
.theme-horse_bio table { width: 100%; border-collapse: collapse; font-size: 13px; margin: 12px 0; }
.theme-horse_bio th { background: #e8eaf6; color: #1a237e; padding: 8px; text-align: left; }
.theme-horse_bio td { padding: 6px 8px; border-bottom: 1px solid #e0e0e0; }
.theme-horse_bio .info-card { background: #e3f2fd; border-radius: 8px; padding: 16px; margin: 12px 0; }
.theme-horse_bio .info-card h3 { margin: 0 0 4px; color: #1a237e; }
.theme-horse_bio img { border-radius: 6px; }
.theme-horse_bio blockquote { background: #f5f5f5; border: none; border-radius: 8px; padding: 20px 28px; font-style: italic; text-align: center; color: #444; margin: 16px 0; }
.theme-horse_bio blockquote p { margin: 0 0 4px; }

/* 通用数据块样式 */
.data-placeholder { background: #f5f5f5; border: 1px dashed #ccc; padding: 16px; text-align: center; color: #999; border-radius: 4px; margin: 12px 0; }

/* quote 主题 */
.theme-quote { background: #fff; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; padding: 60px 40px; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 400px; }
.theme-quote blockquote { background: #f5f5f5; border: none; border-radius: 12px; padding: 32px 40px; font-style: italic; font-size: 20px; line-height: 1.8; text-align: center; color: #333; max-width: 680px; margin: 0 auto; }
.theme-quote blockquote p { margin: 0 0 8px; }
.theme-quote hr { border: none; margin: 24px 0; }
.theme-quote p { text-align: center; font-size: 15px; color: #555; }
.data-loading { color: #999; font-size: 12px; padding: 12px; text-align: center; }
.stats-block { background: none; padding: 12px 0; font-size: 16px; font-weight: 600; margin: 12px 0; }
.record-table, .result-table { font-size: 12px; }

/* 血统表 - Grid 布局 */
.ped-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; margin: 12px 0; border: 1px solid #ddd; background: #fff; }
.ped-grid .ped-col1, .ped-grid .ped-col2, .ped-grid .ped-col3 { display: flex; flex-direction: column; }
.ped-grid .ped-col1 { border-right: 1px solid #ddd; }
.ped-grid .ped-col2 { border-right: 1px solid #ddd; }
.ped-cell { flex: 1; display: flex; align-items: center; padding: 6px 8px; font-size: 13px; border-bottom: 1px solid #ddd; background: #fff; }
.ped-cell:last-child { border-bottom: none; }
.ped-cell.ped-m { background: #f0f7ff; }
.ped-cell.ped-f { background: #fff0f5; }

/* 出马表 runners table */
.runners-meta { font-size: 12px; color: #666; margin: 2px 0 8px; }
.runners-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.runners-table th { background: #1a3a5c; color: #fff; padding: 6px 8px; text-align: center; font-weight: 500; }
.runners-table td { padding: 5px 8px; border-bottom: 1px solid #e2e8f0; text-align: center; }
.runners-table td:nth-child(2) { text-align: left; }
.runners-table td:nth-child(3),
.runners-table td:nth-child(4) { font-size: 11px; color: #555; text-align: left; }
.runners-table tr.pos-1 { background: #fef9e7; }
.runners-table tr.pos-2 { background: #f0f4ff; }
.runners-table tr.pos-3 { background: #fdf2f0; }
.runners-table tr:hover { background: #f5f5f5; }
