/* Чипы-фильтры: ряд над списком («Все / Близкие / …»), как папки в мессенджерах. * Выбранный чип выглядит так же, как выбранная вкладка (.tab-btn[aria-checked]). */ .chip-row { display: flex; gap: var(--space-2); overflow-x: auto; padding: var(--space-1) 0; scrollbar-width: none; -webkit-overflow-scrolling: touch; } .chip-row::-webkit-scrollbar { display: none; } .chip, .fg-filter-chip { flex-shrink: 0; min-height: 36px; padding: 0 14px; display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--border-subtle); border-radius: var(--radius-pill); color: var(--text-secondary); background: var(--surface); font: inherit; font-size: var(--text-sm); font-weight: var(--weight-medium); line-height: 1; white-space: nowrap; cursor: pointer; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; transition: background-color var(--duration-fast) ease, color var(--duration-fast) ease, border-color var(--duration-fast) ease; } .chip:hover, .fg-filter-chip:hover { color: var(--text-primary); } .chip[aria-pressed='true'], .chip.is-active, .fg-filter-chip.is-active { color: var(--text-primary); background: var(--surface-selected); border-color: color-mix(in srgb, var(--accent) 55%, var(--border-control)); font-weight: var(--weight-bold); box-shadow: none; } .chip:focus-visible, .fg-filter-chip:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; } .chip-row--bleed { margin-inline: calc(-1 * var(--page-gutter)); padding-inline: var(--page-gutter); scroll-padding-inline: var(--page-gutter); -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 28px), transparent); }