
/* Compact compared-cross rows only; preserve other explorer views. */
.ngs-ranked-crosses .ngs-ranked-cross{background:#151b20;border-color:#44515c;border-radius:11px;margin:8px 0}
.ngs-ranked-crosses .ngs-ranked-cross>summary{grid-template-columns:33px minmax(0,1fr) auto 19px;gap:10px;min-height:72px;padding:12px 13px}
.ngs-ranked-crosses .ngs-ranked-cross>summary:hover{background:#25303a}
.ngs-ranked-crosses .ngs-ranked-cross>summary:focus-visible{outline-offset:-4px}
.ngs-ranked-crosses .ngs-position{display:grid;place-items:center;border-radius:9px;background:#313a43;color:#e7bd79;font-weight:750;width:33px;height:33px}
.ngs-ranked-crosses .ngs-ranked-first .ngs-position{background:#e7bd79;color:#21180c}
.ngs-ranked-crosses .ngs-record-name strong{color:#fff;font-size:17px}
.ngs-ranked-crosses .ngs-record-name small{color:#9ccbf0;font-size:13px;margin-top:4px;overflow-wrap:anywhere}
.ngs-ranked-crosses .ngs-record-money strong{color:#e7bd79;font-size:19px;font-weight:750;font-variant-numeric:tabular-nums}
.ngs-ranked-crosses .ngs-record-money small{font-size:11px}
.ngs-ranked-crosses .ngs-position{grid-column:1;grid-row:1}.ngs-ranked-crosses .ngs-record-name{grid-column:2;grid-row:1}.ngs-ranked-crosses .ngs-record-money{grid-column:3;grid-row:1;justify-self:end}.ngs-ranked-crosses .ngs-record-open{grid-column:4;grid-row:1;color:#e7bd79}
.ngs-ranked-crosses .ngs-cross-overall{margin:12px 0;padding:11px 13px;border:1px solid #8e7146;border-radius:8px;background:#29251c}
.ngs-ranked-crosses .ngs-cross-overall h4{font-size:15px;margin:0 0 7px}
.ngs-ranked-crosses .ngs-cross-overall strong{color:#e7bd79;font-size:18px}
.ngs-ranked-crosses .ngs-cross-overall p{margin:5px 0;font-size:13px}
.ngs-ranked-crosses .ngs-record-detail [data-compare-stud-fees]{display:inline-flex;align-items:center;min-height:44px}
@media(max-width:700px){.ngs-ranked-crosses .ngs-ranked-cross>summary{grid-template-columns:27px minmax(0,1fr) auto 12px;gap:6px;min-height:64px;padding:10px 8px}.ngs-ranked-crosses .ngs-position{width:27px;height:27px;font-size:13px}.ngs-ranked-crosses .ngs-record-name strong{font-size:14px}.ngs-ranked-crosses .ngs-record-name small{font-size:11px}.ngs-ranked-crosses .ngs-record-money strong{font-size:14px}.ngs-ranked-crosses .ngs-record-money small{font-size:10px;max-width:10ch}.ngs-ranked-crosses .ngs-record-open{font-size:14px}}

.ngs-ranked-crosses .ngs-ranked-cross{border:0;background:#15171c;margin:3px 0;border-radius:6px}
.ngs-ranked-crosses .ngs-ranked-cross:nth-of-type(even){background:#1a1e23}
.ngs-ranked-crosses .ngs-ranked-first{background:#2b261f}
.ngs-ranked-crosses .ngs-ranked-cross>summary{min-height:58px;padding-top:8px;padding-bottom:8px}
.ngs-ranked-crosses .ngs-record-name small{color:#a4c3d7}
.ngs-ranked-crosses .ngs-record-money small{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden;white-space:nowrap}
.ngs-cross-column-labels{display:grid;grid-template-columns:33px minmax(0,1fr) auto;gap:10px;padding:5px 42px 7px 13px;color:#dfbe80;text-transform:uppercase;font-size:.72rem;font-weight:750;letter-spacing:.065em}
.ngs-cross-column-labels span:last-child{text-align:right}
.ngs-ranking-actions{display:flex;align-items:center;flex-wrap:wrap;gap:9px}
.ngs-ranking-actions .ngs-action-link,.ngs-ranking-actions .ngs-cross-start{min-height:44px;display:inline-flex;align-items:center}
.ngs-cross-start{padding:6px 12px;border:1px solid #536575;border-radius:8px;background:#20272d;color:#a9c9dd;font:inherit;font-weight:650;cursor:pointer}
.ngs-explorer .ngs-budget-route{color:#a8c9de;text-underline-offset:3px}
@media(max-width:700px){.ngs-cross-column-labels{grid-template-columns:27px minmax(0,1fr) auto;gap:6px;padding-inline:8px 26px;font-size:.68rem}.ngs-ranked-crosses .ngs-ranked-cross>summary{min-height:50px}}
.ngs-explorer .ngs-fee-comparison{background:#171b20;color:#f2f1ed;border:1px solid #3e4850;border-radius:12px;padding:clamp(15px,3vw,26px);margin:20px 0;scroll-margin-top:100px}
.ngs-explorer .ngs-fee-comparison[hidden]{display:none}
.ngs-explorer .ngs-fee-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.ngs-explorer .ngs-fee-head h2{font-size:clamp(1.35rem,4vw,1.8rem);margin:0;color:#f2f1ed;line-height:1.18}
.ngs-explorer .ngs-fee-close{background:#242d36;color:#a9c9dc;border:1px solid #485969;border-radius:7px;font:inherit;font-weight:650;padding:8px 12px;min-height:44px;cursor:pointer}
.ngs-explorer .ngs-fee-subtitle{color:#9dbfd5;margin:8px 0}
.ngs-explorer .ngs-fee-note{color:#bfc6ce;margin:4px 0 12px;line-height:1.42}
.ngs-explorer .ngs-fee-list{list-style:none;padding:0;margin:14px 0;display:grid;gap:3px}
.ngs-explorer .ngs-fee-row{display:grid;grid-template-columns:auto minmax(0,1fr) minmax(105px,1.25fr);gap:clamp(6px,2vw,14px);align-items:start;background:#1d242a;border-radius:7px;padding:10px}
.ngs-explorer .ngs-fee-row:nth-child(even){background:#202830}
.ngs-explorer .ngs-fee-rank{display:grid;place-items:center;min-width:28px;height:28px;padding:2px 4px;border-radius:5px;background:#303941;color:#e1c186;font-size:.8rem;font-weight:800}
.ngs-explorer .ngs-fee-name{overflow-wrap:anywhere;line-height:1.25;font-size:.95rem;padding-top:4px}
.ngs-explorer .ngs-fee-offers{min-width:0}
.ngs-explorer .ngs-fee-offer{display:grid;gap:2px;line-height:1.24}
.ngs-explorer .ngs-fee-offer+.ngs-fee-offer{border-top:1px solid #46545f;margin-top:7px;padding-top:7px}
.ngs-explorer .ngs-fee-price{color:#e4c389;line-height:1.2;font-size:1rem}
.ngs-explorer .ngs-fee-method,.ngs-explorer .ngs-fee-missing{color:#aac4d5;font-size:.82rem;line-height:1.3}
.ngs-explorer .ngs-fee-offer .ngs-fee-note{font-size:.73rem;margin:0;color:#c5ccd1}
.ngs-explorer .ngs-fee-source,.ngs-explorer .ngs-fee-advisor{color:#a8cde5;text-underline-offset:3px}
.ngs-explorer .ngs-fee-source{font-size:.75rem;line-height:1.35}
.ngs-explorer .ngs-fee-advisor{display:inline-flex;align-items:center;min-height:44px;margin-top:4px}

.ngs-cross-detail-links:not(:empty){display:flex;align-items:center;flex-wrap:wrap;gap:6px 16px}.ngs-explorer .ngs-stallion-page{color:#a8c9de;min-height:44px;display:inline-flex;align-items:center}

/* Keep partial named-horse evidence visible in the compact results. */
.ngs-ranked-crosses .ngs-ranked-sample .ngs-record-money small{position:static;width:auto;height:auto;clip-path:none;overflow:visible;white-space:normal;display:block;max-width:14ch;margin-left:auto}
