/* lists.css
   Small parts every list page shares: search field, list heading and count, empty message, Show more button.
   Used by the video list, news and predictions pages. Needs theme.css. */

.field { width: 100%; height: 42px; padding: 0 12px; border: 1px solid var(--line); border-radius: 8px; outline: none; color: var(--ink); background: rgba(255, 255, 255, .07); font: inherit; }
.field:focus { border-color: rgba(132, 200, 237, .75); box-shadow: 0 0 0 3px rgba(132, 200, 237, .12); }
.field::placeholder { color: #929bad; }
.listhead { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 0 2px 7px; border-bottom: 1px solid var(--line); }
.listhead h2 { margin: 0; font-size: 13px; font-weight: 700; }
.count { color: var(--muted); font-size: 11px; }
.empty { padding: 28px 8px; text-align: center; color: var(--muted); font-size: 13px; }
.more { display: grid; justify-items: center; gap: 6px; padding: 18px 0 4px; color: var(--muted); font-size: 12px; }
.more[hidden] { display: none; }
.more-button { padding: 9px 22px; border: 1px solid rgba(145, 203, 238, .4); border-radius: 999px; color: #c7e5f7; background: rgba(145, 203, 238, .09); font: inherit; font-size: 13px; cursor: pointer; }
.more-button:hover { border-color: rgba(145, 203, 238, .8); color: #fff; }
.more-button:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

@media (max-width: 560px) {
  .field { height: 36px; padding: 0 10px; font-size: 12px; }
}

@media (max-width: 380px) {
  .field { height: 34px; }
}
