/* «Топ-10»: top.html (все списки) и toplist.html (один список). Миниатюры, крошки и заголовок —
   из catalog.css (cat-thumb, crumbs, obj-hero); цвета — переменные тем. */

.top-placeline { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 14px 0 0; }
.top-placeline b { color: var(--fg); }
.top-secnote { margin: -6px 0 12px; }

/* ── карточки списков ── */
.top-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.card.top-card { display: flex; flex-direction: column; gap: 10px; padding: 16px 18px; box-shadow: none; }
.top-card h3 { margin: 0; font: 800 19.5px/1.25 var(--display); letter-spacing: -0.01em; color: var(--fg); }
.top-pics { display: flex; gap: 8px; }
.top-pics .cat-thumb { width: 52px; height: 52px; border-radius: 11px; }
.top-podium { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 3px; font-size: 15px; color: var(--muted); }
.top-podium li { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.top-podium b { display: inline-block; min-width: 1.2em; color: var(--accent); font-weight: 800; }
.top-open { margin-top: auto; font-weight: 700; font-size: 15px; color: var(--accent); }
.top-sec + .top-sec { margin-top: 30px; }

/* ── один список ── */
.top-hero { padding-bottom: 8px; }
.top-lead { font-size: clamp(17px, 2.1vw, 20px); color: var(--muted); max-width: 66ch; margin: 12px 0 0; line-height: 1.55; }
.top-list { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.card.top-item {
  display: grid; grid-template-columns: 40px 56px minmax(0, 1fr); gap: 4px 14px; align-items: start;
  padding: 14px 18px 14px 12px; box-shadow: none;
}
.top-rank { font: 900 26px/56px var(--display); color: var(--muted); text-align: center; font-variant-numeric: tabular-nums; }
.top-item.first .top-rank { color: var(--accent); }
.top-pic { width: 56px; height: 56px; }
.top-body { min-width: 0; }
.top-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 6px 14px; }
.top-names { min-width: 0; }
.top-body h2 { margin: 2px 0 0; font: 800 20.5px/1.2 var(--display); letter-spacing: -0.01em; overflow-wrap: anywhere; }
.top-sub { color: var(--muted); font-size: 14.5px; margin-top: 3px; }
.top-extra { margin: 6px 0 0; font-size: 15.5px; }
.top-when { margin: 6px 0 0; font-size: 14.5px; line-height: 1.6; }
.top-when .badge { margin-right: 4px; }
.top-links { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 6px; font-weight: 700; font-size: 15px; }
.top-links a { text-decoration: none; }
.top-links a:hover { text-decoration: underline; }
.top-val { flex: none; text-align: right; padding-top: 2px; white-space: nowrap; }
.top-val b { display: block; font: 900 24px/1 var(--display); font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.top-val small { display: block; margin-top: 4px; color: var(--muted); font-size: 13px; }
.top-skel .skeleton { display: block; height: 92px; }
.top-empty p { margin: 0; }
.top-how { margin-top: 34px; }
.top-how h2 { margin-top: 0; }

.top-more, .top-next { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); }
.top-more a.card, .top-next a.card { padding: 14px 18px; box-shadow: none; }
.top-more a.card small { display: block; color: var(--muted); font: 700 12px/1.2 var(--body); text-transform: uppercase; letter-spacing: .06em; }
.top-more a.card b, .top-next a.card b { display: block; margin-top: 4px; font: 800 17px/1.3 var(--display); color: var(--fg); }
.top-next a.card span { display: block; color: var(--muted); font-size: 15px; margin-top: 4px; line-height: 1.45; }

@media (max-width: 560px) {
  .card.top-item { grid-template-columns: 24px 48px minmax(0, 1fr); gap: 4px 10px; padding: 12px 14px 12px 8px; }
  .top-rank { font-size: 20px; line-height: 48px; }
  .top-pic, .top-pic .cat-thumb { width: 48px; height: 48px; }
  .top-val b { font-size: 20px; }
  .top-val small { font-size: 12px; }
  .top-body h2 { font-size: 18.5px; }
}
