/* Home filter bar: one bar at every size */
.listwrap.one{display:block}
.fbar{display:flex;flex-direction:column;gap:10px;margin:0 0 16px}
.fb-top{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.fb-searchbtn{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 16px;border:1px solid var(--border-strong);border-radius:999px;background:transparent;color:var(--text);cursor:pointer;font-size:15px}
.fb-search{display:flex;align-items:center;gap:8px;flex:1;min-width:220px;max-width:460px;color:var(--muted)}
.fb-search .inp{flex:1}
.fb-clear{font-size:14px}
.fbar .filters.fb-row{margin:0}
.fbar .filters button small,.fb-tag small{color:var(--muted);font-size:12px;margin-left:2px}
.fbar .filters button[aria-pressed=true] small{color:inherit;opacity:.8}
.fb-tag{border-style:dashed}
@media (max-width:820px){.fbar .filters.fb-row{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;margin:0 -16px;padding:0 16px}.fbar .filters.fb-row::-webkit-scrollbar{display:none}.fbar .filters.fb-row button{flex:none}}

/* One line: search, dates and categories in a single scrolling row */
.fbar.fb-one{display:flex;flex-direction:row;align-items:center;gap:8px;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;margin:0 0 16px;padding:2px 0}
.fbar.fb-one::-webkit-scrollbar{display:none}
.fbar.fb-one>*{flex:none}
.fbar.fb-one .fb-searchbtn{width:44px;padding:0;justify-content:center}
.fbar.fb-one .fb-search{min-width:240px;max-width:300px}
.fb-sep{width:1px;height:24px;background:var(--border-strong);margin:0 4px}
@media (max-width:820px){.fbar.fb-one{margin:0 -16px 16px;padding:2px 16px}}
.fbar.fb-one{gap:6px}
.fbar.fb-one>button:not(.fb-searchbtn){padding-left:12px;padding-right:12px}

/* Counts as a small badge instead of loose numbers */
.fbar.fb-one>button{display:inline-flex;align-items:center;gap:8px}
.fb-n{font-style:normal;font-size:11px;font-weight:700;min-width:20px;height:20px;padding:0 6px;border-radius:999px;display:inline-grid;place-items:center;background:rgba(255,255,255,.1);color:var(--text)}
.fbar button[aria-pressed=true] .fb-n{background:var(--brand);color:#06220f}

/* Scrollable filter row with arrows on desktop */
.fbwrap{position:relative}
.fbwrap .fbar.fb-one{margin:0 0 16px}
.fb-arrow{position:absolute;top:2px;z-index:2;width:36px;height:40px;border:1px solid var(--border-strong);border-radius:999px;background:var(--bg,#0e0e0f);color:var(--text);font-size:22px;line-height:1;cursor:pointer;display:none;align-items:center;justify-content:center;box-shadow:0 2px 10px rgba(0,0,0,.5)}
.fb-arrow.l{left:0}.fb-arrow.r{right:0}
@media (hover:hover){.fb-arrow:hover{background:var(--chip)}}
@media (min-width:821px){.fb-arrow:not([hidden]){display:flex}}
@media (max-width:820px){.fbwrap .fbar.fb-one{margin:0 -16px 16px}}

/* "Any date" stays pinned at the left while the rest of the row scrolls */
.fbar.fb-one>button[data-filter="All"]{position:sticky;left:0;z-index:2;background-color:var(--chip);background-image:linear-gradient(var(--bg),var(--bg));background-blend-mode:normal;box-shadow:10px 0 10px -2px var(--bg)}
.fbar.fb-one>button[data-filter="All"]{background-image:none;background:var(--bg-2)}
.fbar.fb-one>button[data-filter="All"][aria-pressed="true"]{background:var(--bg-2)}

.fb-arrow{z-index:3}

