/* Round 12: big-world list tools (search + filter chips) */
.lf { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; margin: 4px 0 8px; }
.lf .lf-q { flex: 1 1 220px; min-width: 0; }
.lf .seg button.on { background: var(--accent); color: #000; }
.lf .lf-count { margin-left: auto; white-space: nowrap; }
.diplist .lf { margin: 6px 0; }
.diplist .lf .seg button { padding: 4px 8px; }
@media (max-width: 700px) {
  .lf .lf-chips { display: flex; flex-wrap: nowrap; overflow-x: auto; max-width: 100%; -webkit-overflow-scrolling: touch; }
  .lf .lf-chips button { flex: 0 0 auto; }
  .lf .lf-count { margin-left: 0; }
}
/* Phones: keep search + chips fixed, scroll only the channel list (100 nations) */
@media (max-width: 700px) {
  .dip.comms aside.card.diplist { max-height: none; overflow: visible; }
  .dip.comms aside.card.diplist .diplist-items { max-height: 40dvh; overflow-y: auto; overscroll-behavior: contain; border-top: 1px solid var(--line2); }
  .diplist .lf { flex-wrap: wrap; }
}
