body{display:flex;flex-direction:column;height:100dvh;overflow:hidden}
.site-header{position:relative;z-index:100;flex:none;box-shadow:0 4px 16px rgba(0,25,17,.18)}
.horse-profile{width:100%;min-height:0;flex:1;margin:0;padding:28px max(24px,calc((100% - 1100px)/2)) 60px;overflow-y:auto;scrollbar-gutter:stable}
footer{flex:none}
.horse-back{display:inline-block;margin-bottom:22px;color:#086143;font-size:14px;font-weight:700}
.horse-back:hover{text-decoration:underline}
.horse-intro{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:28px 32px;background:#063d2b;color:#fff;border-top:4px solid #efc760;border-radius:6px}
.horse-kicker{margin:0 0 7px;color:#efc760;font-size:12px;font-weight:800;text-transform:uppercase}
.horse-intro h1{margin:0;font-size:32px;line-height:1.2}
.horse-identity{margin:11px 0 0;color:#dcece2;font-size:14px}
.horse-performance,.horse-lineage,.horse-actors{margin-top:30px}
.horse-section-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding-bottom:10px;border-bottom:2px solid #ddc273}
.horse-section-heading h2{margin:0;color:#113c2b;font-size:21px}
.horse-section-heading span{color:#607069;font-size:12px}
.horse-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;margin-top:16px;background:#dce7df;border:1px solid #dce7df;border-radius:6px;overflow:hidden}
.horse-metrics>div{display:flex;flex-direction:column;gap:8px;padding:20px;background:#fff}
.horse-metrics span{color:#5b6c61;font-size:13px}
.horse-metrics strong{color:#0a4c36;font-size:25px}
.horse-rates,.horse-lineage dl,.horse-actors dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:40px;margin:16px 0 0}
.horse-rates div,.horse-lineage dl div,.horse-actors dl div{display:flex;justify-content:space-between;gap:12px;padding:14px 0;border-bottom:1px solid #dfe8e1}
.horse-rates dt,.horse-lineage dt,.horse-actors dt{color:#506157}
.horse-rates dd,.horse-lineage dd,.horse-actors dd{margin:0;color:#123c2b;font-weight:700;text-align:right}
.horse-lineage a,.horse-actors a{color:#086143;text-decoration:underline;text-underline-offset:3px}
.horse-no-data{margin:18px 0;color:#5b6c61}
.horse-history{margin-top:30px}
.horse-history h2{scroll-margin-top:18px}
.horse-history-wrap{overflow-x:auto;margin-top:16px;border:1px solid #dce7df;border-radius:6px;background:#fff}
.horse-history table{width:100%;border-collapse:collapse;font-size:13px;text-align:left}
.horse-history th{padding:12px;background:#eaf2ec;color:#19402e;white-space:nowrap}
.horse-history td{padding:11px 12px;border-top:1px solid #e8eee9;vertical-align:top}
.horse-history tbody tr:hover{background:#f5faf6}
.horse-history td small{display:block;margin-top:3px;color:#66786b}
.horse-history-pages{display:flex;justify-content:center;align-items:center;gap:16px;margin-top:18px;font-size:13px}
.horse-history-pages a{padding:8px 10px;border:1px solid #b9d4c0;border-radius:4px;background:#fff;color:#086143;font-weight:700}
.horse-history-pages a:hover{background:#e7f3e9}
.horse-history-pages span{color:#5b6c61}
@media(max-width:700px){.horse-profile{padding:20px 14px 60px}.horse-intro{padding:20px}.horse-intro h1{font-size:25px}.horse-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.horse-metrics strong{font-size:20px}.horse-rates,.horse-lineage dl,.horse-actors dl{grid-template-columns:1fr}.horse-section-heading{align-items:start;flex-direction:column}}
