/* Dugout Top 50 screen (League → Top 50, js/views/top.js): styles only that view uses.
   Classes here belong to this screen; tests/css-lint.mjs fails if another screen's file defines the same class. */
.tp-lede { margin: -8px 0 16px; max-width: 70ch; }
.tp-prog { height: 10px; margin: 8px 0 10px; }
.tp-prog i { transition: width .3s ease; }
/* their XI: photos in formation order, wrapping */
.tp-xi { display: flex; flex-wrap: wrap; gap: 14px 10px; justify-content: center; margin: 6px 0 12px; }
.tp-p { width: 92px; display: flex; flex-direction: column; align-items: center; gap: 6px; background: none; border: 0; padding: 4px 0; color: var(--ink); cursor: pointer; border-radius: var(--r-sm); }
.tp-p:hover { background: color-mix(in srgb, var(--hi) 45%, transparent); }
.tp-p b { font-size: 12.5px; line-height: 1.15; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tp-p small { font: 700 11px var(--num); color: var(--muted); margin-top: -4px; }
.tp-p.mine b { background: var(--hi); color: var(--hi-ink); border-radius: 4px; padding: 0 5px; }   /* one you have */
.tp-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tp-you { display: block; margin-top: 2px; font: 600 11.5px var(--num); color: var(--muted); }
.tp-ten { margin: 0; padding: 0; list-style: none; counter-reset: tp; }
.tp-ten li { counter-increment: tp; display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; grid-template-rows: auto auto; column-gap: 8px; padding: 7px 0; border-bottom: 1px solid var(--line); }
.tp-ten li:last-child { border: 0; }
.tp-ten li::before { content: counter(tp); grid-row: 1 / 3; font: 800 14px/1.6 var(--num); color: var(--muted); }
.tp-ten b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tp-ten small { grid-column: 2; color: var(--muted); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tp-ten span { grid-column: 3; grid-row: 1 / 3; align-self: center; font: 800 15px var(--num); font-variant-numeric: tabular-nums; }
@media (min-width: 760px) { .plist.tp-caps li { grid-template-columns: minmax(0, 1fr) 48px 42px; gap: 8px; } }   /* room for the names */
@media (max-width: 759px) {
  .tp-p { width: 64px; }
  .tp-p .kit { width: 40px; height: 40px; font-size: 9.5px; }
}
