/* /lists/ hub and /lists/<slug>/ ranking pages (otr_biz/sections/lists.py). Shared tokens from biz.css. */

/* ---------- hub ---------- */
.lst-top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 32px; margin-bottom: 40px; }
.lst-jump { display: flex; flex-wrap: wrap; gap: 8px; max-width: 900px; }
.lst-jump a { display: inline-block; border: 1px solid var(--ink, #000); padding: 6px 10px; font-size: 14px; font-weight: 600;
  color: var(--ink, #000); text-decoration: none; border-radius: 0; }
.lst-jump a span { color: var(--quiet, #6B6B6B); font-weight: 400; margin-left: 2px; }
.lst-jump a:hover { background: var(--ink, #000); color: var(--paper, #fff); }
.lst-jump a:hover span { color: #A8A8A8; }
.lst-find { flex-direction: column; align-items: flex-start; gap: 4px; }
.lst-find .fld { min-width: 300px; border: 1px solid var(--ink, #000); border-radius: 0; }

.lst-grid { display: block; }
.lst-cat { border-top: 5px solid var(--ink, #000); padding-top: 16px; margin-bottom: 56px; scroll-margin-top: 72px; }
.lst-cat h2 { font-size: 32px; line-height: 1.1; letter-spacing: -0.03em; font-weight: 800; margin: 0 0 18px; }
.lst { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink, #000);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 56px; }
.lst li { padding: 12px 0 13px; border-bottom: 1px solid var(--rail, var(--rule, #E9E9E6)); }
.lst .t { font-size: 18px; line-height: 1.25; font-weight: 800; letter-spacing: -0.01em; color: var(--ink, #000); text-decoration: none; }
.lst .t:hover { text-decoration: underline; }
.lst .new { display: inline-block; font-size: 12px; font-weight: 800; line-height: 1; padding: 3px 5px; margin-left: 6px;
  border: 1px solid var(--ink, #000); vertical-align: 3px; }
.lst .w { display: block; font-size: 14px; color: var(--quiet, #6B6B6B); margin-top: 3px; }
.lst .one { display: block; font-size: 15px; margin-top: 5px; font-variant-numeric: tabular-nums; }
.lst .one .k { font-size: 13px; font-weight: 800; color: var(--quiet, #6B6B6B); margin-right: 2px; }
.lst .one a, .lst .one b { font-weight: 600; color: var(--ink, #000); text-decoration: none; }
.lst .one a:hover { text-decoration: underline; }
.lst .one .v { font-weight: 800; margin-left: 6px; }
.lst .one .lg { width: 18px; height: 18px; vertical-align: -3px; margin-right: 6px; }

/* ---------- ranking pages ---------- */
.lst-ctrl { align-items: flex-end; }
.lst-ctrl .pick { flex-direction: column; align-items: flex-start; gap: 4px; }
.lst-ctrl .fld, .lst-ctrl select { border: 1px solid var(--ink, #000); border-radius: 0; }
.lst-ctrl .lst-n { margin: 0 0 8px; }
.lst-tbl td b { font-weight: 800; }
.lst-more { margin: 14px 0 0; }
.lst-more a { font-weight: 800; color: var(--ink, #000); }

@media (max-width: 960px) {
  .lst { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .lst-top { margin-bottom: 28px; }
  .lst-find, .lst-find .fld { width: 100%; min-width: 0; }
  .lst-cat h2 { font-size: 26px; }
  .lst .t { font-size: 17px; }
  .lst-ctrl .pick, .lst-ctrl .fld { width: 100%; min-width: 0; }
  .lst-tbl .sec { display: none; }
  .lst-tbl { font-size: 14px; }
}
