
.profile{padding:22px 0 65px}
.profile-head{padding:19px 22px;margin-bottom:0}
.profile-head .crumbs{margin-bottom:13px}
.profile-identity{display:flex;align-items:flex-start;gap:16px}
.profile-identity .silk{width:58px;height:58px;filter:drop-shadow(0 2px 6px rgba(0,0,0,.15))}
.profile-identity h1{font-size:clamp(25px,3.4vw,42px);line-height:1.1;margin:0 0 8px;text-transform:uppercase;font-style:italic}
.profile-kind{font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.12em;color:var(--muted);margin:0 0 4px}
.profile-facts{display:flex;flex-wrap:wrap;column-gap:15px;row-gap:3px;font-size:13px;color:var(--ink2)}
.profile-facts strong{color:var(--muted);font-weight:600}
.profile-facts a,.profile-next a{font-weight:700;text-underline-offset:3px}
.profile-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:8px;margin:15px 0 0}
.profile-summary div{padding:9px 12px;background:var(--soft);border-radius:8px}
.profile-summary dt{font-size:10px;text-transform:uppercase;letter-spacing:.06em;color:var(--muted);font-weight:700}
.profile-summary dd{font-weight:800;font-size:19px;line-height:1.2;margin:3px 0 0;font-variant-numeric:tabular-nums}
.profile-next{margin:14px 0 0;font-size:13px;color:var(--ink2)}
.profile-banner{margin:12px 0 0;padding:10px 12px;border-left:4px solid var(--lime);background:var(--soft);font-size:13px}
.profile-headline{margin:14px 0 3px;font-size:16px;font-weight:700;line-height:1.4}
.profile-best{margin:0;font-size:13px;color:var(--ink2)}
.family-tree{margin:0;padding:0;list-style:none}
.family-tree li{margin:5px 0;padding-left:calc((var(--generation) - 1) * 22px);font-weight:700}
.profile-badges{display:flex;gap:6px;flex-wrap:wrap;margin:5px 0 8px}
.profile-badge{display:inline-block;padding:3px 8px;border-radius:6px;background:var(--lime2);font-size:11px;font-weight:800;text-transform:uppercase}
.profile-actions{display:flex;align-items:center;gap:15px;flex-wrap:wrap;margin-top:14px}
.profile-actions .search-wrap{margin:0;flex:1;min-width:220px;max-width:430px}
.profile-actions>a{font-size:13px;font-weight:700}
.profile-tabs{position:sticky;top:64px;z-index:20;display:flex;overflow-x:auto;gap:2px;padding:7px 0;background:#fff;border-bottom:1px solid var(--line);scrollbar-width:thin}
.profile-tabs a{display:inline-block;white-space:nowrap;padding:9px 15px;text-decoration:none;color:var(--muted);font-size:13px;font-weight:800;border-radius:6px}
.profile-tabs a:hover,.profile-tabs a[aria-selected=true]{background:var(--ink);color:#fff}
.profile-pane{padding-top:14px}.profile-pane[hidden]{display:none}
.profile-pane h2{margin:4px 0 12px;font-size:19px;text-transform:uppercase;font-style:italic}
.profile-section{margin:0 0 12px;padding:14px 16px;box-shadow:none}
.profile-section h3,.profile-stat-card summary{margin:0 0 8px;font-size:15px;font-weight:800;font-style:italic;text-transform:uppercase}
.profile-stat-card summary{cursor:pointer;margin:0;list-style:none}
.profile-stat-card summary::-webkit-details-marker{display:none}
.profile-stat-card summary:after{content:'+';float:right;font-style:normal}
.profile-stat-card[open] summary{margin-bottom:8px}
.profile-stat-card[open] summary:after{content:'−'}
.profile-stat-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,380px),1fr));gap:10px;align-items:start}
.profile-stat-grid .profile-section{margin:0}
.profile-section .tblwrap{max-height:none;border-radius:7px}
.profile-section table.d{font-size:12px}
.profile-section table.d th{font-size:10px;padding:8px 10px}
.profile-section table.d td{padding:7px 10px;max-width:350px;overflow:hidden;text-overflow:ellipsis}
.profile-section table.d tbody tr:nth-child(even) td{background:#f7f7f8}
.profile-section table.d tbody tr:nth-child(even) td:first-child{background:#f7f7f8}
.profile-section table.d tbody tr:hover td,.profile-section table.d tbody tr:hover td:first-child{background:#f0f2e6}
.profile-mobile-priority{min-width:680px}
.profile-mobile-priority td,.profile-mobile-priority th{white-space:nowrap}
.profile-section table.d th:first-child,.profile-section table.d td:first-child{position:sticky;left:0;z-index:2}
.profile-section table.d th:first-child{z-index:3}
.profile-section .tblwrap{overflow:auto}
.profile-js .profile-section .collapsed tbody tr:nth-child(n+21){display:none}
.profile-more{display:none;margin-top:9px;border:1px solid var(--line);border-radius:6px;background:#fff;padding:6px 12px;cursor:pointer;font-weight:700;font-size:12px}
.profile-js .profile-more{display:inline-block}
.profile-empty{font-size:13px;color:var(--muted);margin:0}
.date-short{display:none}
@media(max-width:700px){
 .profile-section .tblwrap{overflow-x:auto;-webkit-overflow-scrolling:touch}
 .profile-mobile-priority{min-width:0;width:100%}
 .profile-mobile-priority th,.profile-mobile-priority td{padding:7px 8px}
 .profile-mobile-priority.form-table th[data-col="type"],.profile-mobile-priority.form-table td[data-col="type"],
 .profile-mobile-priority.form-table th[data-col="class"],.profile-mobile-priority.form-table td[data-col="class"],
 .profile-mobile-priority.form-table th[data-col="prize"],.profile-mobile-priority.form-table td[data-col="prize"],
 .profile-mobile-priority.form-table th[data-col="wgt"],.profile-mobile-priority.form-table td[data-col="wgt"],
 .profile-mobile-priority.form-table th[data-col="days"],.profile-mobile-priority.form-table td[data-col="days"],
 .profile-mobile-priority.form-table th[data-col="ff"],.profile-mobile-priority.form-table td[data-col="ff"]{display:none}
 .profile-mobile-priority.progeny-table th[data-col="sex"],.profile-mobile-priority.progeny-table td[data-col="sex"],
 .profile-mobile-priority.progeny-table th[data-col="second"],.profile-mobile-priority.progeny-table td[data-col="second"],
 .profile-mobile-priority.progeny-table th[data-col="third"],.profile-mobile-priority.progeny-table td[data-col="third"],
 .profile-mobile-priority.progeny-table th[data-col="win_pct"],.profile-mobile-priority.progeny-table td[data-col="win_pct"],
 .profile-mobile-priority.progeny-table th[data-col="prize"],.profile-mobile-priority.progeny-table td[data-col="prize"]{display:none}
 .profile-mobile-priority.progeny-table th[data-col="horse"],.profile-mobile-priority.progeny-table td[data-col="horse"]{min-width:145px}
 .profile-mobile-priority.progeny-table th[data-col="foaled"],.profile-mobile-priority.progeny-table td[data-col="foaled"]{display:table-cell}
 .profile-mobile-priority.progeny-table th[data-col="wins"],.profile-mobile-priority.progeny-table td[data-col="wins"],
 .profile-mobile-priority.progeny-table th[data-col="black_type"],.profile-mobile-priority.progeny-table td[data-col="black_type"]{display:table-cell}
 .profile-headline{font-size:15px}
 .date-long{display:none}.date-short{display:inline}
 .profile-section table.d th[data-col="ae"],.profile-section table.d td[data-col="ae"],
 .profile-section table.d th[data-col="pl_sp"],.profile-section table.d td[data-col="pl_sp"],
 .profile-section table.d th[data-col="place_pct"],.profile-section table.d td[data-col="place_pct"],
 .profile-section table.d th[data-col="seconds"],.profile-section table.d td[data-col="seconds"],
 .profile-section table.d th[data-col="thirds"],.profile-section table.d td[data-col="thirds"]{display:none}
}
.profile-break td{border-top:2px solid var(--ink) !important}
.profile-cta{margin-top:24px}
.profile-asof{font-size:11px;color:var(--muted)}
.quick-answers{margin:14px 0;padding:17px 21px;background:#fff;border:1px solid var(--line);border-radius:8px}
.quick-answers h2{font-size:19px;margin:0 0 12px}
.quick-answers dl{margin:0;display:grid;gap:11px}
.quick-answers dt{font-weight:800}
.quick-answers dd{margin:2px 0 0;color:var(--ink2)}
@media(max-width:700px){.profile-tabs{top:105px}.profile-head{padding:15px}.profile-identity .silk{width:44px;height:44px}.profile-section{padding:11px}.profile-facts{font-size:12px}.profile-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.profile-summary dd{font-size:17px}}
